:root {
  --bg: #141518; --bg-deep: #0F1013; --bg-hi: #1A1B1F; --line: #26272C; --line-strong: #3A3B40;
  --text: #F3F0E8; --soft: #C9C8C2; --muted: #9C9DA3; --dim: #5B5C62;
  --lime: #D4F53C; --red: #FF6B5B; --amber: #FFC44D; --blue: #7CC4FF;
  --pad: clamp(16px, 3.5vw, 44px);
  --sans: 'Bricolage Grotesque', system-ui, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, Consolas, monospace;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html, body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--sans); -webkit-font-smoothing: antialiased; }
a { color: var(--lime); }
a:hover { color: var(--text); }
::selection { background: var(--lime); color: var(--bg); }
:focus-visible { outline: 2px solid var(--lime); outline-offset: 2px; }
[hidden] { display: none !important; }
@keyframes blink { 0%, 49% { opacity: 1; } 50%, 100% { opacity: 0; } }
img { max-width: 100%; }

.mono { font-family: var(--mono); }
.dim { color: var(--dim); }
.muted { color: var(--muted); margin: 0; line-height: 1.5; }
.small { font-size: 13px; }
.error { color: var(--red); margin: 0; }
.lime { color: var(--lime); }
.red { color: var(--red); }
.amber { color: var(--amber); }
.right { text-align: right; }
a.plain { color: inherit; text-decoration: none; }
a.plain:hover, a.plain:hover strong { color: var(--lime); }
.empty { color: var(--dim); font-family: var(--mono); font-size: 14px; margin: 4px 0; padding: 18px 0; }

/* Marca */
.logo { font-weight: 800; font-size: 28px; letter-spacing: -.04em; display: inline-flex; align-items: baseline; line-height: 1; color: var(--text); text-decoration: none; }
.logo:hover { color: var(--text); }
.logo-cur, .cur { display: inline-block; background: var(--lime); animation: blink 1.06s steps(1) infinite; }
.logo-cur { width: .14em; height: .65em; margin-left: .035em; }
.cur { width: .09em; height: .76em; margin-left: .05em; vertical-align: -.04em; }
.ic { width: 18px; height: 18px; flex: none; display: inline-block; vertical-align: -3px; }
.ic svg { width: 100%; height: 100%; display: block; }

/* Bloqueio */
.lock { min-height: 100vh; display: grid; place-items: center; padding: 16px; }
.login-card { width: 100%; max-width: 420px; border: 1px solid var(--line); border-radius: 12px; background: var(--bg-deep); overflow: hidden; }
.term-bar { display: flex; align-items: center; justify-content: space-between; padding: 12px 16px; border-bottom: 1px solid var(--line); font-family: var(--mono); font-size: 11px; color: var(--dim); }
.dots { display: flex; gap: 6px; }
.dots i { width: 10px; height: 10px; border-radius: 50%; background: var(--line); }
.login-body { padding: 28px 24px; display: flex; flex-direction: column; gap: 16px; }

/* Estrutura */
.app { display: grid; grid-template-columns: 232px minmax(0, 1fr); min-height: 100vh; }
.side { position: sticky; top: 0; height: 100vh; border-right: 1px solid var(--line); background: var(--bg-deep); padding: 26px 16px 18px; display: flex; flex-direction: column; gap: 6px; }
.side > .logo { padding: 0 10px; }
.side-tag { font: 500 11px var(--mono); letter-spacing: .24em; color: var(--dim); text-transform: uppercase; padding: 0 10px 22px; }
.nav { display: flex; flex-direction: column; gap: 2px; }
.nav a { display: flex; align-items: center; gap: 12px; padding: 10px 10px; border-radius: 8px; color: var(--muted); text-decoration: none; font-weight: 600; font-size: 15px; border-left: 2px solid transparent; }
.nav a:hover { color: var(--text); background: var(--bg-hi); }
.nav a.on { color: var(--text); background: var(--bg-hi); border-left-color: var(--lime); }
.nav a .ic { opacity: .55; }
.nav a.on .ic, .nav a:hover .ic { opacity: 1; }
.nav .count { margin-left: auto; font: 500 11px var(--mono); color: var(--bg); background: var(--red); border-radius: 999px; padding: 1px 7px; }
.side-foot { margin-top: auto; display: flex; flex-direction: column; gap: 10px; padding: 0 10px; align-items: flex-start; }
main { padding: 36px var(--pad) 96px; min-width: 0; outline: none; }
.wrap { max-width: 1240px; margin: 0 auto; }

/* Cabeçalhos */
.label { font-family: var(--mono); font-size: 12px; letter-spacing: .2em; color: var(--dim); text-transform: uppercase; }
.h1 { font-weight: 800; font-size: clamp(32px, 4.4vw, 52px); letter-spacing: -.045em; line-height: .98; margin: 8px 0 0; overflow-wrap: anywhere; }
.page-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; margin-bottom: 28px; }
.page-head .muted { margin-top: 10px; }
.crumb { font: 13px var(--mono); color: var(--muted); text-decoration: none; }
.crumb:hover { color: var(--lime); }

/* Layout */
.stack { display: flex; flex-direction: column; gap: 16px; }
.stack-lg { display: flex; flex-direction: column; gap: 28px; }
.row { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.between { justify-content: space-between; }
.grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); gap: 16px; }
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 16px; }
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 190px), 1fr)); gap: 12px; }
.card { border: 1px solid var(--line); border-radius: 12px; background: var(--bg-deep); padding: clamp(18px, 2.4vw, 24px); display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.card h2 { margin: 0; font-size: 20px; letter-spacing: -.02em; }
.card-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.stat { gap: 6px; }
.stat strong { font-size: clamp(24px, 2.6vw, 32px); font-weight: 800; letter-spacing: -.03em; line-height: 1.1; font-variant-numeric: tabular-nums; }
.stat .muted { font-size: 13px; }
.stat.hl { border-color: rgba(212, 245, 60, .35); box-shadow: inset 0 2px 0 var(--lime); }
.stat.hl strong { color: var(--lime); }
.stat.danger strong { color: var(--red); }

/* Botões */
.btn { background: var(--lime); color: var(--bg); border: 0; border-radius: 8px; padding: 11px 18px; font: 700 15px var(--sans); cursor: pointer; text-decoration: none; display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; }
.btn:hover { background: var(--text); color: var(--bg); }
.btn:disabled { opacity: .5; cursor: wait; }
.btn-ghost { background: transparent; color: var(--text); border: 1px solid var(--line-strong); border-radius: 8px; padding: 10px 16px; font: 600 15px var(--sans); cursor: pointer; text-decoration: none; display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; }
.btn-ghost:hover { border-color: var(--lime); color: var(--lime); }
.btn-sm { background: transparent; color: var(--muted); border: 1px solid var(--line-strong); border-radius: 6px; padding: 6px 10px; font: 500 12px var(--mono); cursor: pointer; white-space: nowrap; text-decoration: none; display: inline-flex; align-items: center; gap: 6px; }
.btn-sm:hover { color: var(--text); border-color: var(--text); }
.btn-sm.primary { color: var(--bg); background: var(--lime); border-color: var(--lime); }
.btn-sm.primary:hover { background: var(--text); border-color: var(--text); }
.btn-sm.danger:hover { color: var(--red); border-color: var(--red); }
.btn-sm.wa:hover { color: var(--lime); border-color: var(--lime); }
.btn-sm .ic { width: 14px; height: 14px; vertical-align: -2px; }

/* Formulários */
.field { display: flex; flex-direction: column; gap: 6px; font-size: 14px; color: var(--muted); min-width: 0; }
.field small { color: var(--dim); font-size: 12px; }
.input { background: var(--bg); border: 1px solid var(--line-strong); border-radius: 8px; color: var(--text); font: 15px var(--sans); padding: 10px 12px; width: 100%; min-width: 0; }
.input:focus { outline: none; border-color: var(--lime); }
select.input { cursor: pointer; }
textarea.input { resize: vertical; min-height: 84px; line-height: 1.5; }
.form-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); gap: 14px; }
.form-grid > .full, .form-grid > .field:has(textarea) { grid-column: 1 / -1; }
.form-sec { grid-column: 1 / -1; font: 500 11px var(--mono); letter-spacing: .2em; color: var(--lime); text-transform: uppercase; padding-top: 10px; border-top: 1px solid var(--line); margin-top: 6px; }
.form-sec:first-child { border-top: 0; margin-top: 0; padding-top: 0; }
.check { display: flex; gap: 10px; align-items: center; color: var(--soft); font-size: 15px; cursor: pointer; }
.check input { width: 18px; height: 18px; accent-color: var(--lime); }
.toolbar { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; margin-bottom: 18px; }
.toolbar .input { width: auto; flex: 0 1 auto; padding: 8px 10px; font-size: 14px; }
.toolbar .search { flex: 1 1 220px; }
.form-actions { display: flex; gap: 10px; flex-wrap: wrap; justify-content: flex-end; margin-top: 8px; grid-column: 1 / -1; }

/* Tabelas */
.table-wrap { overflow-x: auto; margin: 0 -4px; }
table { width: 100%; border-collapse: collapse; font-size: 14.5px; }
th { text-align: left; font: 500 11px var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--dim); padding: 10px 12px; border-bottom: 1px solid var(--line); white-space: nowrap; }
td { padding: 12px 12px; border-bottom: 1px solid var(--line); vertical-align: middle; color: var(--soft); }
tr:last-child td { border-bottom: 0; }
tr.clickable { cursor: pointer; }
tr.clickable:hover td { background: var(--bg-hi); color: var(--text); }
td strong { color: var(--text); }
td.num, th.num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
td .sub { display: block; font: 12px var(--mono); color: var(--dim); margin-top: 2px; }
/* Conversa de um chamado da Área do Cliente */
.thread { display: flex; flex-direction: column; gap: 10px; max-height: 46vh; overflow-y: auto; padding-right: 4px; }
.msg { background: var(--bg); border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; max-width: 88%; align-self: flex-start; }
.msg.me { align-self: flex-end; border-color: rgba(212, 245, 60, .35); background: rgba(212, 245, 60, .06); }
.msg p { margin: 4px 0 0; white-space: pre-wrap; overflow-wrap: anywhere; }
.actions { display: flex; gap: 6px; justify-content: flex-end; flex-wrap: nowrap; }
tfoot td { color: var(--text); font-weight: 700; border-top: 1px solid var(--line-strong); }

/* Etiquetas */
.badge { display: inline-block; font: 500 11px var(--mono); letter-spacing: .06em; text-transform: uppercase; padding: 3px 8px; border-radius: 999px; border: 1px solid var(--line-strong); color: var(--muted); white-space: nowrap; }
.b-ok { color: var(--lime); border-color: rgba(212, 245, 60, .35); background: rgba(212, 245, 60, .08); }
.b-bad { color: var(--red); border-color: rgba(255, 107, 91, .4); background: rgba(255, 107, 91, .08); }
.b-warn { color: var(--amber); border-color: rgba(255, 196, 77, .4); background: rgba(255, 196, 77, .08); }
.b-info { color: var(--blue); border-color: rgba(124, 196, 255, .35); background: rgba(124, 196, 255, .07); }

/* Abas */
.tabs { display: flex; gap: 2px; border-bottom: 1px solid var(--line); margin-bottom: 24px; overflow-x: auto; }
.tabs button { background: none; border: 0; border-bottom: 2px solid transparent; color: var(--muted); font: 700 15px var(--sans); padding: 12px 14px; cursor: pointer; white-space: nowrap; }
.tabs button:hover { color: var(--text); }
.tabs button[aria-selected="true"] { color: var(--text); border-bottom-color: var(--lime); }
.tabs button .n { font: 500 11px var(--mono); color: var(--dim); margin-left: 4px; }

/* Cliente: cabeçalho */
.client-hero { display: grid; grid-template-columns: 200px 1fr; gap: 24px; align-items: center; margin-bottom: 26px; }
.cover { aspect-ratio: 16 / 10; border-radius: 10px; border: 1px solid var(--line); background: var(--bg-deep) center / cover no-repeat; display: grid; place-items: center; overflow: hidden; }
.cover .initials { font-weight: 800; font-size: 44px; letter-spacing: -.04em; color: var(--dim); }
.meta-line { display: flex; gap: 8px 16px; flex-wrap: wrap; margin-top: 12px; font: 13px var(--mono); color: var(--muted); align-items: center; }
.meta-line a { text-decoration: none; }
.dl { display: grid; grid-template-columns: max-content 1fr; gap: 10px 20px; margin: 0; }
.dl dt { color: var(--dim); font: 12.5px var(--mono); padding-top: 2px; }
.dl dd { margin: 0; color: var(--soft); overflow-wrap: anywhere; }
.dates { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.dates li { position: relative; padding: 0 0 14px 22px; display: grid; grid-template-columns: 1fr auto; gap: 2px 12px; color: var(--dim); }
.dates li::before { content: ''; position: absolute; left: 3px; top: 6px; width: 9px; height: 9px; border-radius: 50%; border: 2px solid var(--line-strong); background: var(--bg-deep); }
.dates li::after { content: ''; position: absolute; left: 8px; top: 18px; bottom: 0; width: 1px; background: var(--line); }
.dates li:last-child { padding-bottom: 0; }
.dates li:last-child::after { display: none; }
.dates li.on { color: var(--soft); }
.dates li.on::before { border-color: var(--lime); background: var(--lime); }
.dates .d-v { font: 13px var(--mono); text-align: right; }
.dates .d-x { grid-column: 1 / -1; font: 12px var(--mono); color: var(--muted); }
.note { margin: 0; padding: 12px 14px; border-left: 2px solid var(--lime); background: var(--bg); color: var(--soft); white-space: pre-wrap; border-radius: 0 8px 8px 0; line-height: 1.55; }

/* Etapas */
.stepper { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; }
.stepper li { border-top: 3px solid var(--line-strong); padding-top: 10px; display: flex; flex-direction: column; gap: 3px; color: var(--dim); font-weight: 700; font-size: 14px; cursor: pointer; }
.stepper li span { font: 400 11px var(--mono); }
.stepper li.done { border-color: rgba(212, 245, 60, .45); color: var(--soft); }
.stepper li.current { border-color: var(--lime); color: var(--text); }
.stepper li.current span { color: var(--lime); }
.stepper li:hover { color: var(--text); }

/* Visualização do site */
.preview { border: 1px solid var(--line); border-radius: 12px; overflow: hidden; background: var(--bg-deep); }
.browser-bar { display: flex; align-items: center; gap: 12px; padding: 10px 14px; border-bottom: 1px solid var(--line); font: 12px var(--mono); color: var(--muted); }
.browser-bar .url { flex: 1; background: var(--bg); border: 1px solid var(--line); border-radius: 6px; padding: 5px 10px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
.frame-stage { display: flex; justify-content: center; background: #0B0C0E; padding: 0; transition: padding .2s; }
.frame-stage iframe { width: 100%; height: 620px; border: 0; background: #fff; display: block; transition: width .2s; }
.frame-stage.mobile { padding: 20px 0; }
.frame-stage.mobile iframe { width: 390px; max-width: 100%; height: 700px; border-radius: 22px; border: 8px solid #26272C; }
.seg { display: inline-flex; border: 1px solid var(--line-strong); border-radius: 6px; overflow: hidden; }
.seg button { background: none; border: 0; color: var(--muted); font: 500 12px var(--mono); padding: 5px 10px; cursor: pointer; }
.seg button.on { background: var(--lime); color: var(--bg); }
.seg button .ic { width: 14px; height: 14px; vertical-align: -2px; }
.seg button.on .ic svg { stroke: var(--bg); }

/* Upload / materiais */
.drop { border: 1.5px dashed var(--line-strong); border-radius: 12px; padding: 28px 20px; text-align: center; color: var(--muted); cursor: pointer; transition: border-color .15s, background .15s; display: flex; flex-direction: column; align-items: center; gap: 8px; }
.drop:hover, .drop.over { border-color: var(--lime); background: rgba(212, 245, 60, .04); color: var(--text); }
.drop .ic { width: 30px; height: 30px; }
.files { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 180px), 1fr)); gap: 12px; }
.file { border: 1px solid var(--line); border-radius: 10px; overflow: hidden; background: var(--bg-deep); display: flex; flex-direction: column; min-width: 0; }
.file .thumb { aspect-ratio: 4 / 3; background: var(--bg) center / cover no-repeat; display: grid; place-items: center; cursor: zoom-in; font: 700 18px var(--mono); color: var(--dim); position: relative; }
.file .thumb .star { position: absolute; top: 8px; left: 8px; }
.file .info { padding: 10px 12px; display: flex; flex-direction: column; gap: 4px; }
.file .name { font-size: 13.5px; color: var(--text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.file .fmeta { font: 11px var(--mono); color: var(--dim); }
.file .fact { display: flex; gap: 6px; padding: 0 12px 12px; flex-wrap: wrap; }
.viewer { display: flex; justify-content: center; }
.viewer img, .viewer video { max-width: 100%; max-height: 72vh; border-radius: 8px; }
.viewer iframe { width: 100%; height: 72vh; border: 0; border-radius: 8px; background: #fff; }
.viewer pre { width: 100%; max-height: 72vh; overflow: auto; background: var(--bg-deep); border: 1px solid var(--line); border-radius: 8px; padding: 16px; white-space: pre-wrap; font: 13px/1.6 var(--mono); color: var(--soft); margin: 0; }

/* Kanban */
.kanban { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(220px, 1fr); gap: 12px; overflow-x: auto; padding-bottom: 8px; }
.col { background: var(--bg-deep); border: 1px solid var(--line); border-radius: 12px; padding: 12px; display: flex; flex-direction: column; gap: 10px; min-height: 240px; }
.col.over { border-color: var(--lime); }
.col-head { display: flex; justify-content: space-between; align-items: center; font-weight: 700; padding: 2px 4px 6px; border-bottom: 1px solid var(--line); }
.col-head span { font: 500 12px var(--mono); color: var(--dim); }
.kcard { background: var(--bg); border: 1px solid var(--line-strong); border-radius: 10px; padding: 12px; cursor: grab; display: flex; flex-direction: column; gap: 6px; }
.kcard:hover { border-color: var(--lime); }
.kcard.dragging { opacity: .4; }
.kcard strong { font-size: 15px; }
.kcard .k-meta { font: 11.5px var(--mono); color: var(--muted); display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }

/* Gráfico */
.bars { display: grid; grid-template-columns: repeat(var(--n, 6), 1fr); gap: 10px; align-items: end; height: 190px; padding-top: 18px; }
.bar { display: flex; flex-direction: column; align-items: center; gap: 8px; height: 100%; justify-content: flex-end; min-width: 0; }
.bar .cols { display: flex; gap: 3px; align-items: flex-end; height: 100%; width: 100%; justify-content: center; }
.bar .b { width: 42%; max-width: 26px; border-radius: 4px 4px 0 0; background: var(--line-strong); min-height: 2px; position: relative; }
.bar .b.got { background: var(--lime); }
.bar .b.spent { background: var(--red); opacity: .85; }
.bar .b { width: 30%; }
.bar .b:hover::after { content: attr(data-v); position: absolute; bottom: calc(100% + 4px); left: 50%; transform: translateX(-50%); background: var(--text); color: var(--bg); font: 500 11px var(--mono); padding: 3px 6px; border-radius: 4px; white-space: nowrap; z-index: 2; }
.bar small { font: 11px var(--mono); color: var(--dim); text-transform: uppercase; }
.legend { display: flex; gap: 16px; font: 12px var(--mono); color: var(--muted); }
.legend i { display: inline-block; width: 10px; height: 10px; border-radius: 2px; margin-right: 6px; vertical-align: -1px; }

/* Lista simples */
.list { display: flex; flex-direction: column; }
.li { display: flex; justify-content: space-between; align-items: center; gap: 8px 12px; padding: 11px 0; border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.li:last-child { border-bottom: 0; }
.li .l { min-width: 0; flex: 1 1 200px; }
.li .l strong { display: block; font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.li .l span { font: 12px var(--mono); color: var(--dim); }
a.li { text-decoration: none; color: inherit; }
a.li:hover strong { color: var(--lime); }

/* Linha do tempo */
.bill-box { border: 1px solid rgba(255, 196, 77, .35); background: rgba(255, 196, 77, .04); border-radius: 10px; padding: 14px 16px 6px; display: flex; flex-direction: column; gap: 4px; }
.meter { height: 6px; background: var(--line); border-radius: 3px; margin-top: 8px; max-width: 420px; }
.meter > div { height: 100%; border-radius: 3px; }
.timeline { display: flex; flex-direction: column; gap: 14px; }
.tl { border-left: 2px solid var(--line-strong); padding: 2px 0 2px 14px; }
.tl .when { font: 11.5px var(--mono); color: var(--dim); display: flex; gap: 10px; align-items: center; }
.tl p { margin: 4px 0 0; white-space: pre-wrap; color: var(--soft); line-height: 1.55; overflow-wrap: anywhere; }

/* Acessos */
.acc-card { box-shadow: inset 0 2px 0 var(--lime); }
.acc-card.empty-acc { box-shadow: none; border-style: dashed; }
.acc-card .dl dd { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.secret { font-family: var(--mono); font-size: 13px; filter: blur(5px); cursor: pointer; transition: filter .15s; user-select: none; }
.secret.show { filter: none; user-select: text; }

/* Janela */
dialog { width: min(760px, calc(100vw - 24px)); max-height: calc(100vh - 24px); padding: 0; border: 1px solid var(--line); border-radius: 14px; background: var(--bg); color: var(--text); box-shadow: inset 0 2px 0 var(--lime); overflow: auto; }
dialog.wide { width: min(1100px, calc(100vw - 24px)); }
dialog::backdrop { background: rgba(10, 10, 12, .75); }
.dlg-bar { position: sticky; top: 0; z-index: 1; background: var(--bg); display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 20px; border-bottom: 1px solid var(--line); font-weight: 700; font-size: 17px; }
.dlg-bar span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dlg-close { background: transparent; border: 0; color: var(--muted); font: 12px var(--mono); cursor: pointer; padding: 4px; white-space: nowrap; }
.dlg-close:hover { color: var(--lime); }
.dlg-body { padding: 20px; }

#toast { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); background: var(--text); color: var(--bg); padding: 12px 18px; border-radius: 10px; font-weight: 600; z-index: 100; max-width: calc(100vw - 32px); box-shadow: 0 10px 30px rgba(0, 0, 0, .4); }
#toast.err { background: var(--red); color: #fff; }

@media (max-width: 900px) {
  .app { grid-template-columns: minmax(0, 1fr); }
  .side { position: sticky; top: 0; z-index: 20; height: auto; flex-direction: row; align-items: center; padding: 10px 16px; gap: 14px; border-right: 0; border-bottom: 1px solid var(--line); overflow-x: auto; }
  .side > .logo { font-size: 22px; padding: 0; }
  .side-tag, .side-foot { display: none; }
  .nav { flex-direction: row; gap: 2px; }
  .nav a { padding: 8px 10px; font-size: 14px; border-left: 0; border-bottom: 2px solid transparent; border-radius: 6px; white-space: nowrap; }
  .nav a.on { border-bottom-color: var(--lime); }
  .nav a .ic { display: none; }
  main { padding-top: 24px; }
  .client-hero { grid-template-columns: 1fr; }
  .client-hero .cover { max-width: 260px; }
  .stepper { grid-template-columns: repeat(3, 1fr); row-gap: 14px; }
}
@media (prefers-reduced-motion: reduce) { .logo-cur, .cur { animation: none; } }

/* Recibo (impressão) */
@media print {
  .side, .no-print { display: none !important; }
}
