/* Suonos Desk — hoja de estilos única, sin dependencias. */
:root {
  --brand: #4f46e5;
  --brand-ink: #ffffff;
  --brand-soft: color-mix(in srgb, var(--brand) 10%, white);
  --ink: #0f172a;
  --ink-2: #334155;
  --muted: #64748b;
  --line: #e2e8f0;
  --line-2: #eef2f7;
  --bg: #f6f7fb;
  --card: #ffffff;
  --side: #0f172a;
  --side-ink: #cbd5e1;
  --ok: #15803d;
  --ok-soft: #dcfce7;
  --warn: #b45309;
  --warn-soft: #fef3c7;
  --bad: #b91c1c;
  --bad-soft: #fee2e2;
  --info: #1d4ed8;
  --info-soft: #dbeafe;
  --radius: 10px;
  --shadow: 0 1px 2px rgba(15, 23, 42, .06), 0 1px 3px rgba(15, 23, 42, .04);
  --font: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body { font-family: var(--font); font-size: 14px; line-height: 1.5; color: var(--ink); background: var(--bg); -webkit-font-smoothing: antialiased; }
a { color: var(--brand); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 { margin: 0; line-height: 1.25; letter-spacing: -.01em; }
h1 { font-size: 22px; font-weight: 650; }
h2 { font-size: 16px; font-weight: 650; }
h3 { font-size: 14px; font-weight: 650; }
p { margin: 0 0 .75em; }
small, .muted { color: var(--muted); }
.mono { font-family: var(--mono); font-size: 12.5px; }
hr { border: 0; border-top: 1px solid var(--line); margin: 16px 0; }
svg.i { width: 18px; height: 18px; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }

/* ---------- layout */
.app { display: grid; grid-template-columns: 236px 1fr; min-height: 100vh; background: linear-gradient(to right, var(--side) 236px, transparent 236px); }
.side { background: var(--side); color: var(--side-ink); padding: 18px 12px; display: flex; flex-direction: column; gap: 4px; position: sticky; top: 0; height: 100vh; }
.brand { display: flex; align-items: center; gap: 10px; padding: 4px 10px 18px; color: #fff; font-weight: 650; font-size: 15px; }
.brand-mark { width: 30px; height: 30px; border-radius: 8px; background: var(--brand); display: grid; place-items: center; color: #fff; font-weight: 700; font-size: 14px; }
.side-label { font-size: 11px; text-transform: uppercase; letter-spacing: .06em; color: #64748b; padding: 14px 10px 6px; }
.nav a { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 8px; color: var(--side-ink); font-weight: 500; }
.nav a:hover { background: rgba(255,255,255,.06); text-decoration: none; color: #fff; }
.nav a.on { background: rgba(255,255,255,.10); color: #fff; }
.nav a .count { margin-left: auto; background: var(--brand); color: #fff; border-radius: 99px; font-size: 11px; padding: 0 7px; line-height: 18px; }
.side-foot { margin-top: auto; border-top: 1px solid rgba(255,255,255,.08); padding-top: 12px; }
.me { display: flex; align-items: center; gap: 10px; padding: 6px 10px; }
.avatar { width: 30px; height: 30px; border-radius: 50%; background: #334155; color: #fff; display: grid; place-items: center; font-size: 12px; font-weight: 600; flex: none; }
.avatar.sm { width: 24px; height: 24px; font-size: 10px; }
.me-name { color: #fff; font-weight: 500; font-size: 13px; line-height: 1.2; }
.me-role { font-size: 11.5px; color: #94a3b8; }
.side form button { all: unset; cursor: pointer; display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 8px; color: var(--side-ink); width: calc(100% - 20px); }
.side form button:hover { background: rgba(255,255,255,.06); color: #fff; }

.main { min-width: 0; }
.top { display: flex; align-items: center; gap: 16px; padding: 18px 32px; border-bottom: 1px solid var(--line); background: var(--card); position: sticky; top: 0; z-index: 5; }
.top .crumbs { color: var(--muted); font-size: 13px; }
.top .grow { flex: 1; }
.bell { position: relative; display: inline-flex; padding: 7px; border-radius: 8px; color: var(--ink-2); }
.bell:hover { background: var(--line-2); text-decoration: none; }
.bell .dot { position: absolute; top: 2px; right: 2px; background: var(--bad); color: #fff; font-size: 10px; border-radius: 99px; padding: 0 5px; line-height: 16px; }
.content { padding: 28px 32px 64px; max-width: 1320px; }
.content.narrow { max-width: 880px; }
.page-head { display: flex; align-items: flex-end; gap: 16px; margin-bottom: 20px; flex-wrap: wrap; }
.page-head .grow { flex: 1; }
.page-head p { margin: 4px 0 0; color: var(--muted); }

/* ---------- cards & grids */
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.card-pad { padding: 20px; }
.card-head { display: flex; align-items: center; gap: 12px; padding: 14px 20px; border-bottom: 1px solid var(--line); }
.card-head .grow { flex: 1; }
.card + .card { margin-top: 16px; }
.grid > .card + .card, .grid > .card { margin-top: 0; }
.grid { display: grid; gap: 16px; }
.g2 { grid-template-columns: repeat(2, minmax(0,1fr)); }
.g3 { grid-template-columns: repeat(3, minmax(0,1fr)); }
.g4 { grid-template-columns: repeat(4, minmax(0,1fr)); }
.split { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 20px; align-items: start; }
.stack > * + * { margin-top: 16px; }

.kpi { padding: 16px 18px; }
.kpi .label { color: var(--muted); font-size: 12.5px; font-weight: 500; }
.kpi .value { font-size: 26px; font-weight: 650; letter-spacing: -.02em; margin-top: 4px; }
.kpi .value.bad { color: var(--bad); }
.kpi .sub { font-size: 12px; color: var(--muted); }
a.kpi { color: inherit; display: block; }
a.kpi:hover { text-decoration: none; border-color: color-mix(in srgb, var(--brand) 40%, var(--line)); }

/* ---------- portal hero & request cards */
.hero { background: linear-gradient(135deg, var(--brand), color-mix(in srgb, var(--brand) 70%, #0f172a)); color: #fff; border-radius: 14px; padding: 32px 36px; margin-bottom: 24px; }
.hero h1 { font-size: 26px; color: #fff; }
.hero p { color: rgba(255,255,255,.85); margin: 6px 0 0; font-size: 15px; }
.hero .hero-stats { display: flex; gap: 24px; margin-top: 20px; }
.hero .hero-stats a { color: #fff; background: rgba(255,255,255,.14); padding: 8px 14px; border-radius: 8px; font-weight: 500; }
.hero .hero-stats a:hover { background: rgba(255,255,255,.22); text-decoration: none; }
.types { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 14px; }
.type-card { display: flex; flex-direction: column; gap: 10px; padding: 18px; background: var(--card); border: 1px solid var(--line); border-radius: 12px; color: var(--ink); box-shadow: var(--shadow); transition: border-color .15s, transform .15s; }
.type-card:hover { text-decoration: none; border-color: var(--brand); transform: translateY(-1px); }
.type-card .ico { width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; background: var(--brand-soft); color: var(--brand); }
.type-card .ico svg { width: 20px; height: 20px; }
.type-card strong { font-size: 15px; }
.type-card span { color: var(--muted); font-size: 13px; }

/* ---------- tables */
table { width: 100%; border-collapse: collapse; }
th { text-align: left; font-size: 12px; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: .03em; padding: 10px 14px; border-bottom: 1px solid var(--line); background: #fafbfd; white-space: nowrap; }
td { padding: 11px 14px; border-bottom: 1px solid var(--line-2); vertical-align: middle; }
tr:last-child td { border-bottom: 0; }
tr.clickable { cursor: pointer; }
tr.clickable:hover td { background: #fafbff; }
td.wide { min-width: 260px; }
td.num, th.num { text-align: right; font-variant-numeric: tabular-nums; }
.t-title { font-weight: 550; color: var(--ink); }
.t-title:hover { color: var(--brand); }
.t-meta { font-size: 12.5px; color: var(--muted); }
.table-wrap { overflow-x: auto; }
.empty { padding: 40px 20px; text-align: center; color: var(--muted); }

/* ---------- badges */
.badge { display: inline-flex; align-items: center; gap: 5px; padding: 2px 9px; border-radius: 99px; font-size: 12px; font-weight: 550; white-space: nowrap; background: var(--line-2); color: var(--ink-2); }
.s-new { background: var(--info-soft); color: var(--info); }
.s-in_progress { background: var(--brand-soft); color: var(--brand); }
.s-waiting_customer { background: var(--warn-soft); color: var(--warn); }
.s-resolved { background: var(--ok-soft); color: var(--ok); }
.s-closed, .s-cancelled { background: #f1f5f9; color: var(--muted); }
.prio { display: inline-block; font-size: 11.5px; font-weight: 700; padding: 1px 7px; border-radius: 5px; font-family: var(--mono); }
.p-p1 { background: var(--bad); color: #fff; }
.p-p2 { background: #fed7aa; color: #9a3412; }
.p-p3 { background: #e0e7ff; color: #3730a3; }
.p-p4 { background: #f1f5f9; color: var(--muted); }
.tag { display: inline-block; padding: 1px 8px; border-radius: 6px; background: var(--line-2); color: var(--ink-2); font-size: 12px; }
.key { font-family: var(--mono); font-size: 12.5px; color: var(--muted); }

.sla { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 550; white-space: nowrap; }
.sla .d { width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.sla.ok { color: var(--ok); } .sla.warn { color: var(--warn); } .sla.bad { color: var(--bad); } .sla.idle { color: var(--muted); }
.sla-box { padding: 12px 14px; border: 1px solid var(--line); border-radius: 8px; }
.sla-box + .sla-box { margin-top: 10px; }
.sla-box .row { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.sla-box .lbl { font-size: 12.5px; color: var(--muted); }

.bar { height: 8px; border-radius: 99px; background: var(--line-2); overflow: hidden; }
.bar > span { display: block; height: 100%; background: var(--ok); border-radius: 99px; }
.bar.warn > span { background: #f59e0b; } .bar.bad > span { background: var(--bad); } .bar.brand > span { background: var(--brand); }
.bar.lg { height: 12px; }

/* ---------- buttons & forms */
.btn { display: inline-flex; align-items: center; gap: 7px; padding: 8px 14px; border-radius: 8px; border: 1px solid var(--line); background: var(--card); color: var(--ink); font: inherit; font-weight: 550; cursor: pointer; white-space: nowrap; }
.btn:hover { text-decoration: none; background: #f8fafc; }
.btn.primary { background: var(--brand); border-color: var(--brand); color: var(--brand-ink); }
.btn.primary:hover { filter: brightness(1.07); }
.btn.danger { color: var(--bad); }
.btn.ghost { border-color: transparent; background: transparent; }
.btn.sm { padding: 5px 10px; font-size: 13px; }
.btn svg.i { width: 16px; height: 16px; }
.btn-row { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
label { display: block; font-weight: 550; font-size: 13px; margin-bottom: 6px; color: var(--ink-2); }
input[type=text], input[type=email], input[type=password], input[type=number], input[type=date], input[type=search], select, textarea {
  width: 100%; font: inherit; color: var(--ink); background: #fff; border: 1px solid #cbd5e1; border-radius: 8px; padding: 8px 11px; outline: none; transition: border-color .15s, box-shadow .15s; }
textarea { resize: vertical; min-height: 80px; }
input:focus, select:focus, textarea:focus { border-color: var(--brand); box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand) 18%, transparent); }
.field { margin-bottom: 16px; }
.field .help { font-size: 12.5px; color: var(--muted); margin-top: 5px; }
.field .err, .errorlist { color: var(--bad); font-size: 12.5px; margin: 5px 0 0; padding: 0; list-style: none; }
.req::after { content: " *"; color: var(--bad); }
.check { display: flex; align-items: center; gap: 8px; font-weight: 500; }
.check input { width: 16px; height: 16px; accent-color: var(--brand); margin: 0; }
.radio-list { display: grid; gap: 8px; }
.radio-list label { display: flex; gap: 10px; align-items: flex-start; padding: 10px 12px; border: 1px solid var(--line); border-radius: 8px; font-weight: 500; cursor: pointer; margin: 0; }
.radio-list label:has(input:checked) { border-color: var(--brand); background: var(--brand-soft); }
.radio-list input { margin-top: 3px; accent-color: var(--brand); }
.radio-list ul, .radio-list li { list-style: none; margin: 0; padding: 0; }
.radio-list ul, .radio-list > div { display: grid; gap: 8px; }
.filters { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.filters select, .filters input { width: auto; min-width: 150px; padding: 6px 10px; }
.tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--line); margin-bottom: 16px; flex-wrap: wrap; }
.tabs a { padding: 9px 14px; color: var(--muted); font-weight: 550; border-bottom: 2px solid transparent; margin-bottom: -1px; }
.tabs a:hover { color: var(--ink); text-decoration: none; }
.tabs a.on { color: var(--brand); border-color: var(--brand); }
.pill-nav { display: flex; gap: 6px; flex-wrap: wrap; }
.pill-nav a { padding: 6px 12px; border-radius: 99px; border: 1px solid var(--line); background: var(--card); color: var(--ink-2); font-weight: 550; font-size: 13px; }
.pill-nav a.on { background: var(--ink); color: #fff; border-color: var(--ink); }
.pill-nav a:hover { text-decoration: none; border-color: var(--ink-2); }

/* ---------- messages */
.msgs { margin-bottom: 18px; display: grid; gap: 8px; }
.msg { padding: 11px 14px; border-radius: 8px; border: 1px solid; font-weight: 500; }
.msg.success { background: var(--ok-soft); border-color: #bbf7d0; color: #14532d; }
.msg.error { background: var(--bad-soft); border-color: #fecaca; color: #7f1d1d; }
.msg.info, .msg.warning { background: var(--info-soft); border-color: #bfdbfe; color: #1e3a8a; }
.note { padding: 12px 14px; border-radius: 8px; background: var(--warn-soft); color: #78350f; border: 1px solid #fde68a; }
.note.info { background: var(--info-soft); color: #1e3a8a; border-color: #bfdbfe; }

/* ---------- conversation */
.thread { display: grid; gap: 14px; }
.msg-item { display: grid; grid-template-columns: 32px 1fr; gap: 12px; }
.bubble { border: 1px solid var(--line); border-radius: 10px; background: var(--card); padding: 12px 16px; }
.bubble.team { border-color: color-mix(in srgb, var(--brand) 25%, var(--line)); }
.bubble.internal { background: #fffbeb; border-color: #fde68a; }
.bubble-head { display: flex; gap: 8px; align-items: baseline; margin-bottom: 6px; flex-wrap: wrap; }
.bubble-head strong { font-size: 13.5px; }
.bubble-body { white-space: pre-wrap; word-wrap: break-word; }
.sys { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: 12.5px; padding-left: 44px; }
.files { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.file { display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; border: 1px solid var(--line); border-radius: 7px; font-size: 12.5px; color: var(--ink-2); background: #fafbfd; }
.file:hover { text-decoration: none; border-color: var(--brand); color: var(--brand); }
.composer { border: 1px solid var(--line); border-radius: 10px; background: var(--card); }
.composer textarea { border: 0; border-radius: 10px 10px 0 0; box-shadow: none !important; min-height: 110px; padding: 14px 16px; }
.composer .bar-actions { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-top: 1px solid var(--line-2); flex-wrap: wrap; }
.composer.internal { background: #fffbeb; border-color: #fde68a; }
.composer.internal textarea { background: #fffbeb; }

dl.props { display: grid; grid-template-columns: 120px 1fr; gap: 8px 12px; margin: 0; font-size: 13.5px; }
dl.props dt { color: var(--muted); }
dl.props dd { margin: 0; min-width: 0; overflow-wrap: anywhere; }

.desc { white-space: pre-wrap; word-wrap: break-word; font-size: 14.5px; }
.detail-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 12px; margin-top: 14px; }
.detail-grid div { background: #fafbfd; border: 1px solid var(--line-2); border-radius: 8px; padding: 8px 12px; }
.detail-grid span { display: block; font-size: 12px; color: var(--muted); }

.stars { display: flex; gap: 6px; flex-direction: row-reverse; justify-content: flex-end; }
.stars input { display: none; }
.stars label { font-size: 26px; color: #cbd5e1; cursor: pointer; margin: 0; line-height: 1; }
.stars input:checked ~ label, .stars label:hover, .stars label:hover ~ label { color: #f59e0b; }

/* ---------- auth */
.auth { min-height: 100vh; display: grid; place-items: center; padding: 24px; background: radial-gradient(circle at 20% 20%, color-mix(in srgb, var(--brand) 18%, transparent), transparent 40%), var(--bg); }
.auth .card { width: 100%; max-width: 400px; padding: 32px; }
.auth h1 { margin: 16px 0 4px; }

/* ---------- statement print */
.statement { max-width: 860px; margin: 0 auto; background: #fff; padding: 48px 56px; border: 1px solid var(--line); border-radius: 12px; }
.statement h1 { font-size: 24px; }
.statement .head { display: flex; justify-content: space-between; gap: 20px; border-bottom: 2px solid var(--ink); padding-bottom: 18px; margin-bottom: 22px; }
.statement table td, .statement table th { padding: 8px 10px; }
.statement .total-row td { font-weight: 700; font-size: 16px; border-top: 2px solid var(--ink); }
.print-actions { max-width: 860px; margin: 20px auto; display: flex; gap: 8px; justify-content: flex-end; }

@media print {
  body { background: #fff; }
  .print-actions, .side, .top { display: none !important; }
  .statement { border: 0; padding: 0; }
}

@media (max-width: 1100px) {
  .split { grid-template-columns: 1fr; }
  .g4 { grid-template-columns: repeat(2, minmax(0,1fr)); }
}
@media (max-width: 780px) {
  .app { grid-template-columns: 1fr; background: none; }
  .side { position: static; height: auto; flex-direction: row; flex-wrap: wrap; align-items: center; padding: 10px; }
  .side .side-label, .side-foot .me { display: none; }
  .side-foot { margin: 0; border: 0; padding: 0; }
  .nav { display: flex; flex-wrap: wrap; gap: 2px; }
  .brand { padding: 4px 10px; }
  .top, .content { padding-left: 16px; padding-right: 16px; }
  .g2, .g3, .g4 { grid-template-columns: 1fr; }
  .statement { padding: 24px; }
}

/* ---------- pantalla de acceso con triage */
.access { place-items: start center; padding-top: 6vh; }
.access-grid { width: 100%; max-width: 1040px; display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 20px; align-items: start; }
.auth .access-grid .card { max-width: none; }
.access-brand { display: flex; align-items: center; gap: 10px; font-size: 15px; }
.access-brand .brand-mark { width: 34px; height: 34px; font-size: 16px; }
.access-main h1 { font-size: 24px; margin: 22px 0 6px; }
.access-login h2 { font-size: 18px; margin: 0 0 4px; }
.access-login hr { border: 0; border-top: 1px solid var(--line); margin: 20px 0 14px; }
.fine { font-size: 12.5px; margin: 12px 0 0; }
.intake .drop { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border: 1.5px dashed var(--line); border-radius: 10px; cursor: pointer; color: var(--muted); font-weight: 400; margin: 0; }
.intake .drop:hover { border-color: var(--brand); color: var(--ink); }
.intake .drop strong { color: var(--ink); font-weight: 600; }
.intake .drop svg { width: 20px; height: 20px; flex: none; }
.thumbs { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.thumbs img { width: 72px; height: 72px; object-fit: cover; border-radius: 8px; border: 1px solid var(--line); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.intake-submit { width: 100%; justify-content: center; padding: 11px; font-size: 15px; }
.intake-submit .when-busy { display: none; align-items: center; gap: 8px; }
.intake.busy .when-idle { display: none; }
.intake.busy .when-busy { display: inline-flex; }
.spinner { width: 14px; height: 14px; border: 2px solid rgba(255,255,255,.4); border-top-color: #fff; border-radius: 50%; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.done-card { max-width: 560px !important; text-align: center; }
.done-card .props { text-align: left; }
.done-check { width: 52px; height: 52px; margin: 0 auto; border-radius: 50%; display: grid; place-items: center; background: var(--ok-soft); color: #15803d; }
.done-check svg { width: 26px; height: 26px; }
.intake-card { padding: 22px 24px; margin-bottom: 24px; }
.ai-panel { border-left: 3px solid var(--brand); }
.ai-panel .ai-meta { font-size: 12.5px; color: var(--muted); }
.ai-panel pre { white-space: pre-wrap; font: inherit; margin: 6px 0 0; }
@media (max-width: 860px) { .access-grid { grid-template-columns: 1fr; } }
.more-types summary { cursor: pointer; color: var(--muted); font-weight: 500; }
.more-types summary:hover { color: var(--ink); }
.sys-block { margin: 6px 0 14px 44px; padding: 12px 14px; border-radius: 10px; background: var(--brand-soft); border: 1px solid color-mix(in srgb, var(--brand) 18%, white); font-size: 13px; line-height: 1.55; }
.sys-block.internal { background: var(--warn-soft); border-color: #fde68a; }
.sys-block .sys-head { display: flex; align-items: center; gap: 6px; margin-bottom: 6px; }
.sys-block .sys-head svg { width: 15px; height: 15px; }
.tenant-logo { height: 36px; max-width: 160px; object-fit: contain; }
.access-brand small { font-weight: 400; }

/* ---------- manuales */
.search-card { margin-bottom: 18px; }
.search-row { display: flex; gap: 10px; flex-wrap: wrap; }
.search-row input[type=search] { flex: 1 1 320px; }
.search-row select { flex: 0 1 260px; }
.hit { display: block; padding: 14px 20px; border-top: 1px solid var(--line); color: var(--ink); }
.hit:hover { background: var(--bg); text-decoration: none; }
.hit-head { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; margin-bottom: 4px; font-size: 13.5px; }
.hit-text { font-size: 13px; color: #334155; line-height: 1.55; white-space: pre-line; }
mark { background: #fef08a; color: inherit; padding: 0 1px; border-radius: 2px; }
.badge { display: inline-block; padding: 2px 8px; border-radius: 99px; font-size: 12px; font-weight: 600; background: var(--bg); color: var(--muted); border: 1px solid var(--line); }
.ok-badge { background: var(--ok-soft); color: #166534; border-color: #bbf7d0; }
.bad-badge { background: var(--bad-soft); color: #991b1b; border-color: #fecaca; }
.manual-text .desc { white-space: pre-line; font-size: 13.5px; line-height: 1.6; }
.page-mark { margin: 18px 0 6px; font-size: 11.5px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--muted); border-top: 1px dashed var(--line); padding-top: 10px; }
.page-mark:first-of-type { margin-top: 0; border-top: 0; padding-top: 0; }

/* ---------- página principal */
body.landing { background: #fff; }
.l-wrap { max-width: 1120px; margin: 0 auto; padding: 0 24px; }
.l-top { border-bottom: 1px solid var(--line); background: #fff; position: sticky; top: 0; z-index: 5; }
.l-top-in { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.l-brand { display: flex; align-items: center; gap: 10px; color: var(--ink); font-size: 16px; }
.l-brand:hover { text-decoration: none; }
.l-brand img { height: 34px; max-width: 180px; object-fit: contain; }
.l-brand .brand-mark { width: 32px; height: 32px; }
.l-top nav { display: flex; align-items: center; gap: 22px; font-size: 14px; }
.l-top nav a:not(.btn) { color: var(--muted); }
.l-hero { background: linear-gradient(135deg, var(--accent, #0f172a), color-mix(in srgb, var(--brand) 75%, var(--accent, #0f172a))); color: #fff; padding: 72px 0; }
.l-hero-in { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 48px; align-items: center; }
.l-kicker { text-transform: uppercase; letter-spacing: .12em; font-size: 12.5px; font-weight: 700; opacity: .8; margin: 0 0 12px; }
.l-hero h1 { color: #fff; font-size: 40px; line-height: 1.15; margin: 0; }
.l-lead { font-size: 17px; line-height: 1.6; opacity: .88; margin: 18px 0 0; max-width: 560px; }
.l-find { padding: 28px; color: var(--ink); }
.l-find h2 { margin: 0 0 4px; font-size: 20px; }
.l-section { padding: 64px 0; }
.l-alt { background: var(--bg); }
.l-h2 { font-size: 26px; margin: 0 0 24px; }
.l-sub { margin: -14px 0 24px; }
.l-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.l-step h3, .l-card h3 { font-size: 16.5px; margin: 12px 0 6px; }
.l-step p, .l-card p { color: var(--muted); margin: 0; line-height: 1.6; font-size: 14.5px; }
.l-num { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: var(--brand-soft); color: var(--brand); font-weight: 700; }
.l-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.l-card { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 18px 20px; }
.l-card h3 { margin-top: 0; }
.l-sla { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.l-sla-item { display: flex; gap: 12px; align-items: flex-start; border: 1px solid var(--line); border-radius: 12px; padding: 16px; }
.l-sla-item div { display: flex; flex-direction: column; gap: 4px; font-size: 14px; }
.l-foot { border-top: 1px solid var(--line); padding: 26px 0; font-size: 13.5px; color: var(--muted); }
.l-foot-in { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
@media (max-width: 900px) {
  .l-hero-in, .l-steps, .l-grid { grid-template-columns: 1fr; }
  .l-sla { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .l-hero h1 { font-size: 30px; }
  .l-top nav a:not(.btn) { display: none; }
}
.access-grid.access-solo { max-width: 420px; grid-template-columns: 1fr; }
.row-actions { display: flex; flex-wrap: wrap; gap: 4px; justify-content: flex-end; }
