@font-face { font-family: 'Urbanist'; font-style: normal; font-weight: 400; font-display: swap; src: url('fonts/urbanist-latin-400-normal.woff2') format('woff2'); }
@font-face { font-family: 'Urbanist'; font-style: normal; font-weight: 500; font-display: swap; src: url('fonts/urbanist-latin-500-normal.woff2') format('woff2'); }
@font-face { font-family: 'Urbanist'; font-style: normal; font-weight: 600; font-display: swap; src: url('fonts/urbanist-latin-600-normal.woff2') format('woff2'); }
@font-face { font-family: 'Urbanist'; font-style: normal; font-weight: 700; font-display: swap; src: url('fonts/urbanist-latin-700-normal.woff2') format('woff2'); }
/* Design Maré: app de vidro sobre um "mar" fixo (4 camadas de onda + brilho de sol).
   Navegar = maré: os blocos afundam (viram pílula + blur) e os da página nova emergem.
   Tokens dark-first, iguais aos do Kanban Maré. Layout: barra de vidro no topo, páginas em blocos de vidro. */
:root {
  color-scheme: dark;
  --font: 'Urbanist', 'Outfit', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
  --bg: #030d13;
  --bg-2: #04131a;
  --sun: rgba(255, 153, 51, .17);
  --sea-1: #00262b; --sea-2: #001e27; --sea-3: #041924; --sea-4: #00111d;
  --crest: rgba(110, 220, 210, .22);
  --glass: rgba(13, 24, 30, .62);
  --glass-strong: rgba(11, 20, 25, .82);
  --glass-line: rgba(255, 255, 255, .06);
  --fill: rgba(255, 255, 255, .045);
  --fill-2: rgba(255, 255, 255, .085);
  --line: rgba(255, 255, 255, .07);
  --text-1: #e6f1f7; --text-2: #a5b4ba; --text-3: #6f7e84; --text-4: #4c595e;
  --accent: #6ad2d2; --accent-ink: #08484b; --accent-glow: rgba(106, 210, 210, .38);
  --col: rgba(16, 31, 37, .62);
  --card: rgba(27, 40, 47, .90);
  --avatar: #d7e3d4; --avatar-ink: #3a4d3b;
  --c-blue: #76acec; --c-amber: #f5a855; --c-green: #6fc092; --c-coral: #ec8f78; --c-lime: #a6be7a; --c-pink: #ce7f9a;
  --warn: #f2a541; --danger: #ef6b70; --ok: #4cc38a; --star: #f4a340;
  --boat-bg: #eaf3f7; --boat-ink: #16262b;
  --st-todo: #0e181c; --st-todo-ring: #3a4448; --route-todo: #44535a;
  --kpi-1: rgba(34, 150, 150, .30); --kpi-2: rgba(150, 140, 70, .24); --kpi-3: rgba(60, 120, 180, .30); --kpi-4: rgba(190, 100, 50, .30);
  --shadow: 0 18px 40px -24px rgba(0, 0, 0, .7);
  --scrim: rgba(2, 9, 13, .62);
  --sheet: #0c171c;

  --m: 1;
  --ease-out: cubic-bezier(.25, 1, .5, 1);
  --ease-expo: cubic-bezier(.16, 1, .3, 1);
  --ease-in: cubic-bezier(.55, 0, 1, .45);
  --ease-io: cubic-bezier(.45, 0, .55, 1);
}
@media (prefers-color-scheme: light) {
  :root:not([data-theme="dark"]) {
    color-scheme: light;
    --bg: #e5f7fa; --bg-2: #c4ecee; --sun: rgba(255, 214, 110, .55);
    --sea-1: #b9e6e6; --sea-2: #a0dde1; --sea-3: #8dcfde; --sea-4: #81c0db; --crest: rgba(255, 255, 255, .7);
    --glass: rgba(255, 255, 255, .58); --glass-strong: rgba(255, 255, 255, .82); --glass-line: rgba(255, 255, 255, .8);
    --fill: rgba(8, 60, 70, .05); --fill-2: rgba(8, 60, 70, .09); --line: rgba(8, 50, 60, .09);
    --text-1: #08191d; --text-2: #3e5559; --text-3: #6f878b; --text-4: #9bb0b3;
    --accent: #007e8a; --accent-ink: #effafa; --accent-glow: rgba(0, 126, 138, .30);
    --col: rgba(255, 255, 255, .36); --card: rgba(255, 255, 255, .80);
    --c-blue: #3d7fd0; --c-amber: #d98a2b; --c-green: #2f9e6a; --c-coral: #d8664a; --c-lime: #7a9a3c; --c-pink: #c2517a;
    --warn: #b86e12; --danger: #d6454b; --ok: #1f8f63; --star: #e4964d;
    --boat-bg: #0b1417; --boat-ink: #ffffff;
    --st-todo: #ffffff; --st-todo-ring: #c6d4d7; --route-todo: #b2c3c6;
    --kpi-1: rgba(20, 150, 150, .16); --kpi-2: rgba(190, 160, 40, .16); --kpi-3: rgba(60, 120, 200, .16); --kpi-4: rgba(220, 110, 50, .16);
    --shadow: 0 1px 2px rgba(10, 60, 70, .06), 0 14px 34px -20px rgba(10, 60, 70, .30);
    --scrim: rgba(20, 70, 80, .34);
    --sheet: #f4fbfc;
  }
}
:root[data-theme="light"] {
  color-scheme: light;
  --bg: #e5f7fa; --bg-2: #c4ecee; --sun: rgba(255, 214, 110, .55);
  --sea-1: #b9e6e6; --sea-2: #a0dde1; --sea-3: #8dcfde; --sea-4: #81c0db; --crest: rgba(255, 255, 255, .7);
  --glass: rgba(255, 255, 255, .58); --glass-strong: rgba(255, 255, 255, .82); --glass-line: rgba(255, 255, 255, .8);
  --fill: rgba(8, 60, 70, .05); --fill-2: rgba(8, 60, 70, .09); --line: rgba(8, 50, 60, .09);
  --text-1: #08191d; --text-2: #3e5559; --text-3: #6f878b; --text-4: #9bb0b3;
  --accent: #007e8a; --accent-ink: #effafa; --accent-glow: rgba(0, 126, 138, .30);
  --col: rgba(255, 255, 255, .36); --card: rgba(255, 255, 255, .80);
  --c-blue: #3d7fd0; --c-amber: #d98a2b; --c-green: #2f9e6a; --c-coral: #d8664a; --c-lime: #7a9a3c; --c-pink: #c2517a;
  --warn: #b86e12; --danger: #d6454b; --ok: #1f8f63; --star: #e4964d;
  --boat-bg: #0b1417; --boat-ink: #ffffff;
  --st-todo: #ffffff; --st-todo-ring: #c6d4d7; --route-todo: #b2c3c6;
  --kpi-1: rgba(20, 150, 150, .16); --kpi-2: rgba(190, 160, 40, .16); --kpi-3: rgba(60, 120, 200, .16); --kpi-4: rgba(220, 110, 50, .16);
  --shadow: 0 1px 2px rgba(10, 60, 70, .06), 0 14px 34px -20px rgba(10, 60, 70, .30);
  --scrim: rgba(20, 70, 80, .34);
  --sheet: #f4fbfc;
}

* { box-sizing: border-box; }
html, body { height: 100%; }
html { scroll-padding-top: env(safe-area-inset-top, 0px); }
body { margin: 0; background: var(--bg); color: var(--text-1); font-family: var(--font); font-size: 14px; line-height: 1.35; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
button, input, select, textarea { font: inherit; color: inherit; }
a { color: var(--accent); }
img { max-width: 100%; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
svg { display: block; }
p { margin: 0; }

/* ---------- Fundo fixo: gradiente + sol + mar ---------- */
.bg { position: fixed; inset: 0; z-index: 0; background: linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 46%, var(--bg) 100%); overflow: hidden; pointer-events: none; }
.sun { position: absolute; left: 73%; top: 30%; width: 820px; height: 820px; transform: translate(-50%, -50%); background: radial-gradient(closest-side, var(--sun), transparent 72%); }
.sea { position: absolute; inset: 0; width: 100%; height: 100%; }
.sea .w1 { fill: var(--sea-1); } .sea .w2 { fill: var(--sea-2); } .sea .w3 { fill: var(--sea-3); } .sea .w4 { fill: var(--sea-4); }
.sea .crest { fill: none; stroke: var(--crest); stroke-width: 1; vector-effect: non-scaling-stroke; }

/* ---------- Casca ---------- */
.app { position: relative; z-index: 1; min-height: 100%; display: flex; flex-direction: column; padding-top: calc(12px + env(safe-area-inset-top, 0px)); padding-bottom: env(safe-area-inset-bottom, 0px);
  padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
@media (min-width: 900px) { .app { padding-left: max(32px, env(safe-area-inset-left, 0px)); padding-right: max(32px, env(safe-area-inset-right, 0px)); } }

.topbar { flex: none; border-radius: 20px; background: var(--glass-strong); border: 1px solid var(--glass-line); backdrop-filter: blur(18px) saturate(1.2); -webkit-backdrop-filter: blur(18px) saturate(1.2); box-shadow: var(--shadow); position: relative; z-index: 5; }
.row1 { display: flex; align-items: center; gap: 12px; padding: 12px 16px 4px 20px; min-width: 0; }
.brand { display: flex; align-items: center; gap: 12px; font-weight: 700; font-size: 24px; letter-spacing: -.01em; flex: none; border: 0; background: none; padding: 0; cursor: pointer; }
.logo { width: 40px; height: 40px; border-radius: 10px; background: var(--accent); color: var(--accent-ink); display: grid; place-items: center; flex: none; }
.nav { position: relative; display: flex; padding: 3px; border-radius: 16px; background: var(--fill); border: 1px solid var(--line); margin-left: 12px; min-width: 0; overflow-x: auto; scrollbar-width: none; }
.nav::-webkit-scrollbar { display: none; }
.nav button { position: relative; z-index: 1; height: 42px; padding: 0 16px; border: 0; border-radius: 12px; background: none; font-weight: 500; font-size: 14px; color: var(--text-3); display: flex; align-items: center; gap: 8px; cursor: pointer; white-space: nowrap; transition: color calc(160ms * var(--m)); }
.nav button:hover { color: var(--text-2); }
.nav button.is-active { color: var(--accent-ink); }
.nav-ind { position: absolute; top: 3px; bottom: 3px; left: 3px; right: auto; border-radius: 12px; background: var(--accent); box-shadow: 0 8px 22px -10px var(--accent-glow); pointer-events: none; }
.nav-ind.is-off { opacity: 0; }
.badge { min-width: 22px; height: 22px; padding: 0 6px; border-radius: 999px; display: inline-grid; place-items: center; font-weight: 600; font-size: 12px; background: var(--fill-2); color: var(--text-3); font-variant-numeric: tabular-nums; }
.is-active .badge { background: color-mix(in srgb, var(--accent-ink) 22%, transparent); color: var(--accent-ink); }
.actions { margin-left: auto; display: flex; align-items: center; gap: 12px; flex: none; }
.icon-btn { position: relative; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line); background: var(--fill); color: var(--text-2); display: grid; place-items: center; cursor: pointer; transition: background .2s; flex: none; text-decoration: none; }
.icon-btn:hover { background: var(--fill-2); }
.icon-btn.is-on { color: var(--accent); border-color: color-mix(in srgb, var(--accent) 40%, transparent); }
.icon-btn .dot { position: absolute; right: 9px; top: 9px; width: 9px; height: 9px; border-radius: 50%; background: var(--danger); border: 2px solid var(--glass-strong); box-sizing: content-box; }
.icon-btn.sm { width: 36px; height: 36px; border-radius: 10px; }
.btn-primary { height: 44px; padding: 0 18px; border: 0; border-radius: 12px; background: var(--accent); color: var(--accent-ink); font-weight: 600; font-size: 15px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; cursor: pointer; white-space: nowrap; box-shadow: 0 10px 26px -10px var(--accent-glow), inset 0 1px 0 rgba(255, 255, 255, .25); text-decoration: none; }
.btn-ghost { height: 44px; padding: 0 16px; border-radius: 12px; border: 1px solid var(--line); background: var(--fill); color: var(--text-2); font-weight: 500; font-size: 15px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; cursor: pointer; white-space: nowrap; text-decoration: none; transition: background .2s; }
.btn-ghost:hover { background: var(--fill-2); }
.btn-primary[disabled], .btn-ghost[disabled] { opacity: .45; cursor: default; }
.btn-sm { height: 36px; padding: 0 12px; font-size: 14px; border-radius: 10px; }
.btn-danger { color: var(--danger); }
.avatar { position: relative; width: 40px; height: 40px; border-radius: 50%; background: var(--avatar); color: var(--avatar-ink); display: grid; place-items: center; font-weight: 700; font-size: 12px; flex: none; border: 0; cursor: pointer; }
.avatar::after { content: ''; position: absolute; right: -1px; bottom: -1px; width: 11px; height: 11px; border-radius: 50%; background: var(--ok); border: 2px solid var(--glass-strong); }
.theme-btn svg { transition: none; }
.theme-btn .icon-in { animation: icon-in calc(300ms * var(--m)) var(--ease-out) both; }
@keyframes icon-in { from { transform: rotate(-90deg) scale(.5); opacity: 0; } to { transform: none; opacity: 1; } }

.row2 { position: relative; display: flex; align-items: center; gap: 20px; height: 48px; padding: 0 20px; min-width: 0; }
.row2 > .sub { display: flex; align-items: center; gap: 20px; min-width: 0; height: 100%; transition: opacity calc(120ms * var(--m)); overflow-x: auto; scrollbar-width: none; }
.row2 > .sub::-webkit-scrollbar { display: none; }
.row2 > .sub.is-swapping { opacity: 0; }
.crumbs { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--text-3); white-space: nowrap; }
.crumbs b { font-weight: 500; color: var(--text-2); }
.vsep { width: 1px; height: 18px; background: var(--line); flex: none; }
.tabs { position: relative; display: flex; gap: 28px; height: 100%; }
.tabs button { height: 100%; border: 0; background: none; padding: 0 2px; font-size: 15px; font-weight: 500; color: var(--text-3); cursor: pointer; display: flex; align-items: center; gap: 8px; white-space: nowrap; }
.tabs button.is-active { color: var(--text-1); }
.tab-ind { position: absolute; bottom: 0; height: 3px; left: 0; right: auto; border-radius: 3px 3px 0 0; background: var(--accent); pointer-events: none; }
.status { margin-left: auto; display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--text-3); white-space: nowrap; flex: none; }
.status i { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); }
.status .demo { height: 24px; padding: 0 10px; border-radius: 999px; border: 1px dashed color-mix(in srgb, var(--warn) 55%, transparent); background: none; color: var(--warn); font-size: 12px; font-weight: 600; cursor: pointer; margin-left: 6px; }

/* ---------- Páginas ---------- */
#view { position: relative; flex: 1; display: flex; }
.page { flex: 1; min-width: 0; display: flex; flex-direction: column; padding-top: 28px; padding-bottom: 72px; }
.page[data-name="carteira"] { padding-bottom: 0; }
.page-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.page-head > div { min-width: 0; }
.title { margin: 0; font-size: 36px; font-weight: 500; letter-spacing: -.015em; line-height: 1.12; text-wrap: balance; }
.title .mask { display: inline-block; overflow: hidden; padding-bottom: .16em; margin-bottom: -.16em; vertical-align: top; }
.title .ch { display: inline-block; white-space: pre; }
.subtitle { margin: 6px 0 0; font-size: 16px; color: var(--text-3); max-width: 86ch; }
.subtitle b { color: var(--text-2); font-weight: 600; }
.head-actions { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }

/* Quadro */
.toolbar { display: flex; align-items: center; gap: 8px; margin-top: 22px; flex-wrap: wrap; }
.search { width: 360px; max-width: 100%; height: 48px; border-radius: 12px; background: var(--fill); border: 1px solid var(--line); display: flex; align-items: center; gap: 10px; padding: 0 16px; color: var(--text-3); }
.search input { flex: 1; min-width: 0; border: 0; outline: 0; background: none; color: var(--text-1); font: inherit; font-size: 15px; }
.search input::placeholder { color: var(--text-4); }
.search:focus-within { border-color: color-mix(in srgb, var(--accent) 50%, transparent); }
.chip { height: 36px; padding: 0 14px; border-radius: 10px; background: var(--fill); border: 1px solid var(--line); display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 500; color: var(--text-2); cursor: pointer; white-space: nowrap; }
.chip i { width: 8px; height: 8px; border-radius: 50%; background: var(--c); }
.chip[aria-pressed="true"] { background: color-mix(in srgb, var(--c) 18%, transparent); border-color: color-mix(in srgb, var(--c) 40%, transparent); color: var(--text-1); }
.chip b { font-weight: 600; font-variant-numeric: tabular-nums; color: var(--text-3); }
.switch { margin-left: auto; display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 500; color: var(--text-2); border: 0; background: none; cursor: pointer; padding: 0; text-align: left; }
.switch .track { width: 46px; height: 26px; border-radius: 13px; background: var(--fill-2); border: 1px solid var(--line); position: relative; transition: background .2s; flex: none; }
.switch .track::after { content: ''; position: absolute; left: 2px; top: 2px; width: 20px; height: 20px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, .3); transition: transform calc(220ms * var(--m)) var(--ease-out); }
.switch[aria-checked="true"] .track { background: var(--accent); }
.switch[aria-checked="true"] .track::after { transform: translateX(20px); }
.switch.inline { margin-left: 0; }

.board { margin-top: 16px; flex: none; height: max(380px, calc(100dvh - 334px)); display: flex; gap: 14px; overflow-x: auto; overflow-y: hidden; scrollbar-width: thin; }
.col { flex: 1 0 238px; max-width: 340px; display: flex; flex-direction: column; min-height: 0; border-radius: 16px 16px 0 0; background: var(--col); border: 1px solid var(--glass-line); border-bottom: 0; backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.col-head { display: flex; align-items: center; gap: 12px; padding: 12px 14px; }
.col-num { width: 28px; height: 28px; border-radius: 8px; display: grid; place-items: center; font-weight: 600; font-size: 13px; background: var(--fill); border: 1px solid var(--line); color: var(--text-2); flex: none; }
.col-title { font-size: 16px; font-weight: 500; color: var(--text-1); }
.col-meta { margin-top: 2px; font-size: 12px; color: var(--text-3); font-variant-numeric: tabular-nums; }
.col-body { flex: 1; min-height: 0; overflow-y: auto; padding: 0 12px 16px; display: flex; flex-direction: column; gap: 12px; scrollbar-width: none; }
.col-body::-webkit-scrollbar { display: none; }
.col-empty { font-size: 13px; color: var(--text-4); padding: 8px 4px; }
.card { display: block; width: 100%; text-align: left; border-radius: 14px; background: var(--card); border: 1px solid var(--line); padding: 14px 16px; cursor: pointer; box-shadow: 0 12px 24px -20px rgba(0, 0, 0, .7); transition: opacity calc(200ms * var(--m)), border-color .2s; }
.card:hover { border-color: var(--fill-2); }
.card.is-dim { opacity: .22; }
.card-top { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--text-2); }
.card-top .dot { width: 10px; height: 10px; border-radius: 3px; background: var(--c); flex: none; }
.card-top .star { color: var(--star); }
.card-top .ver { margin-left: auto; font-size: 12px; color: var(--text-3); white-space: nowrap; }
.card-name { margin-top: 10px; font-size: 15px; font-weight: 500; color: var(--text-1); overflow-wrap: anywhere; }
.card-price { margin-top: 6px; display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.card-price b { font-size: 18px; font-weight: 600; letter-spacing: -.01em; font-variant-numeric: tabular-nums; }
.card-price span { font-size: 12px; color: var(--text-3); }
.card-foot { margin-top: 14px; display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--text-3); }
.av-sm { width: 28px; height: 28px; border-radius: 50%; background: var(--avatar); color: var(--avatar-ink); display: grid; place-items: center; font-weight: 700; font-size: 10px; flex: none; }
.tags { margin-left: auto; display: flex; gap: 6px; flex-wrap: wrap; justify-content: flex-end; }
.tag { height: 22px; padding: 0 7px; border-radius: 7px; display: inline-flex; align-items: center; gap: 4px; font-size: 11px; font-weight: 600; white-space: nowrap; }
.tag.warn { background: color-mix(in srgb, var(--warn) 16%, transparent); color: var(--warn); }
.tag.danger { background: color-mix(in srgb, var(--danger) 15%, transparent); color: var(--danger); }
.tag.ok { background: color-mix(in srgb, var(--ok) 14%, transparent); color: var(--ok); }
.tag.info { background: color-mix(in srgb, var(--c-blue) 16%, transparent); color: var(--c-blue); }
.tag.mute { background: var(--fill-2); color: var(--text-3); }
.tag .pt { width: 6px; height: 6px; border-radius: 50%; background: currentColor; }

/* Início */
.kpis { margin-top: 24px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.kpi { border-radius: 16px; padding: 16px 18px 14px; border: 1px solid var(--glass-line); background: linear-gradient(160deg, var(--tint), transparent 85%), var(--glass); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); min-width: 0; text-align: left; cursor: pointer; display: block; width: 100%; }
.kpi:nth-child(1) { --tint: var(--kpi-1); } .kpi:nth-child(2) { --tint: var(--kpi-2); } .kpi:nth-child(3) { --tint: var(--kpi-3); } .kpi:nth-child(4) { --tint: var(--kpi-4); }
.kpi small { display: block; font-size: 13px; color: var(--text-3); }
.kpi strong { display: block; margin-top: 8px; font-size: 26px; font-weight: 600; letter-spacing: -.01em; font-variant-numeric: tabular-nums; }
.kpi .kpi-foot { margin-top: 10px; display: flex; align-items: flex-end; justify-content: space-between; gap: 8px; font-size: 12px; color: var(--text-3); min-height: 30px; }
.kpi svg path { fill: none; stroke: var(--text-2); stroke-width: 1.5; opacity: .8; }
.kpi svg circle { fill: var(--accent); }
.stagebar { display: flex; gap: 3px; width: 96px; height: 8px; }
.stagebar i { height: 100%; border-radius: 2px; background: var(--text-2); opacity: .75; min-width: 3px; }
.panel { border-radius: 18px; border: 1px solid var(--glass-line); background: var(--glass); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); padding: 18px 20px; min-width: 0; }
.panel h2 { margin: 0; font-size: 16px; font-weight: 500; }
.panel h3 { margin: 18px 0 0; font-size: 13px; font-weight: 600; color: var(--text-2); }
.panel .sub { margin: 4px 0 0; font-size: 13px; color: var(--text-3); }
.panel-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.home-chart { margin-top: 16px; }
.chart svg { width: 100%; height: 190px; overflow: visible; }
.chart .area { fill: url(#chartFill); }
.chart .line { fill: none; stroke: var(--accent); stroke-width: 2; vector-effect: non-scaling-stroke; }
.chart .grid { stroke: var(--line); stroke-dasharray: 2 6; vector-effect: non-scaling-stroke; }
.bars { margin-top: 14px; display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 10px; align-items: end; height: 170px; border-bottom: 1px dashed var(--line); padding-bottom: 0; }
.bars .bar { display: flex; flex-direction: column; justify-content: flex-end; align-items: center; height: 100%; gap: 6px; min-width: 0; }
.bars .bar i { display: block; width: min(100%, 56px); border-radius: 8px 8px 0 0; background: linear-gradient(180deg, var(--accent), color-mix(in srgb, var(--accent) 35%, transparent)); min-height: 2px; }
.bars .bar.is-late i { background: linear-gradient(180deg, var(--danger), color-mix(in srgb, var(--danger) 35%, transparent)); }
.bars .bar.is-zero i { background: var(--fill-2); }
.bars .bar b { font-size: 13px; font-weight: 600; font-variant-numeric: tabular-nums; color: var(--text-2); }
.bars-x { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 10px; margin-top: 8px; font-size: 12px; color: var(--text-3); text-align: center; }
.bars-x span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bars-x i { font-style: normal; }
.bars-x .sm { display: none; }
@media (min-width: 900px) { .panel.sticky { position: sticky; top: 16px; } }

.grid-2 { margin-top: 16px; display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); gap: 16px; align-items: start; }
.grid-2.even { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { margin-top: 16px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; align-items: start; }
.stack { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
/* Prazos › Google Agenda: conexão e produção à esquerda, fila à direita; no celular a fila vem logo depois da conexão */
.gc-grid { margin-top: 16px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: auto 1fr; gap: 16px; align-items: start; }
.gc-grid > .gc-fila { grid-column: 2; grid-row: 1 / span 2; }
.gc-grid > .gc-prod { grid-column: 1; grid-row: 2; }
.mt { margin-top: 16px; }
.todo-list { margin-top: 12px; }
.todo { display: flex; align-items: center; gap: 14px; width: 100%; text-align: left; padding: 12px 0; border: 0; border-top: 1px solid var(--line); background: none; cursor: pointer; min-width: 0; }
.todo:hover .what b { color: var(--accent); }
.when { width: 56px; flex: none; text-align: center; border-radius: 12px; padding: 7px 0 6px; background: color-mix(in srgb, var(--t, var(--text-3)) 14%, transparent); color: var(--t, var(--text-2)); }
.when b { display: block; font-size: 19px; font-weight: 600; line-height: 1; font-variant-numeric: tabular-nums; }
.when small { display: block; margin-top: 3px; font-size: 11px; font-weight: 600; }
.when svg { margin: 0 auto; }
.what { flex: 1; min-width: 0; }
.what b { display: block; font-size: 15px; font-weight: 500; color: var(--text-1); transition: color .15s; }
.what small { display: block; margin-top: 2px; font-size: 13px; color: var(--text-3); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.todo .right { flex: none; display: flex; align-items: center; gap: 8px; color: var(--text-4); }
.rows { margin-top: 10px; }
.rows > div { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-top: 1px solid var(--line); font-size: 14px; color: var(--text-3); }
.rows b { color: var(--text-1); font-weight: 600; font-variant-numeric: tabular-nums; text-align: right; }
.rows .good { color: var(--ok); }
.rows .lbl { display: inline-flex; align-items: center; gap: 8px; }
.rows .lbl i { width: 8px; height: 8px; border-radius: 50%; background: var(--t, var(--text-3)); }
.note { margin-top: 12px; font-size: 13px; color: var(--text-3); line-height: 1.45; }
.note b { color: var(--text-2); font-weight: 600; }
.btn-row { margin-top: 16px; display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.link-btn { margin-left: auto; border: 0; background: none; color: var(--accent); font-weight: 600; font-size: 14px; cursor: pointer; padding: 6px 0; text-decoration: none; white-space: nowrap; }
.link-btn.left { margin-left: 0; }
.link-btn[disabled] { color: var(--text-4); cursor: default; }

/* Pílulas e tons */
.t-ok { --t: var(--ok); } .t-warn { --t: var(--warn); } .t-danger { --t: var(--danger); } .t-info { --t: var(--c-blue); } .t-mute { --t: var(--text-3); } .t-accent { --t: var(--accent); }
.pill { height: 24px; padding: 0 10px; border-radius: 999px; display: inline-flex; align-items: center; gap: 6px; background: color-mix(in srgb, var(--t) 16%, transparent); color: var(--t); font-size: 12px; font-weight: 600; white-space: nowrap; }
.pill i { width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.cod { height: 22px; padding: 0 7px; border-radius: 7px; display: inline-flex; align-items: center; font-size: 11px; font-weight: 600; letter-spacing: .02em; background: var(--fill-2); color: var(--text-2); font-variant-numeric: tabular-nums; white-space: nowrap; }

/* Detalhe */
.detail-head { display: flex; align-items: flex-start; gap: 16px; }
.detail-head .grow { flex: 1; min-width: 0; }
.meta { margin-top: 8px; display: flex; align-items: center; flex-wrap: wrap; gap: 6px 14px; font-size: 14px; color: var(--text-3); }
.meta b { color: var(--text-2); font-weight: 600; display: inline-flex; align-items: center; gap: 8px; }
.meta b i { width: 9px; height: 9px; border-radius: 3px; background: var(--c, var(--c-blue)); }
.tracker { margin-top: 22px; border-radius: 18px; border: 1px solid var(--glass-line); background: var(--glass); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); padding: 26px 0 16px; }
.route { position: relative; height: 150px; margin: 0 24px; }
.route svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.route .todo-path { fill: none; stroke: var(--route-todo); stroke-width: 2; stroke-linecap: round; stroke-dasharray: .1 8; }
.route .done { fill: none; stroke: var(--accent); stroke-width: 3.5; stroke-linecap: round; }
.station { position: absolute; width: 0; height: 0; }
.st-dot { position: absolute; left: -15px; top: -15px; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; }
.station.is-done .st-dot { background: var(--accent); color: var(--accent-ink); }
.station.is-current .st-dot { background: var(--st-todo); box-shadow: inset 0 0 0 2px var(--accent); }
.station.is-current .st-dot::after { content: ''; width: 9px; height: 9px; border-radius: 50%; background: var(--accent); }
.station.is-todo .st-dot { left: -13px; top: -13px; width: 26px; height: 26px; background: var(--st-todo); box-shadow: inset 0 0 0 2px var(--st-todo-ring); }
.station.is-todo .st-dot::after { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--st-todo-ring); }
.st-label { position: absolute; top: 22px; left: 0; transform: translateX(-50%); text-align: center; white-space: nowrap; }
.st-label b { display: block; font-size: 15px; font-weight: 500; color: var(--text-1); }
.st-label small { display: block; margin-top: 3px; font-size: 12px; color: var(--text-3); min-height: 15px; }
.station.is-current .st-label b { color: var(--accent); }
.station.is-current .st-label small { color: var(--text-2); }
.station.is-todo .st-label b { color: var(--text-3); }
.boat { position: absolute; left: 0; top: 0; width: 0; height: 0; will-change: transform; pointer-events: none; }
.boat-pin { position: absolute; left: -20px; top: -66px; width: 40px; height: 40px; border-radius: 11px; background: var(--boat-bg); color: var(--boat-ink); display: grid; place-items: center; box-shadow: 0 10px 22px -10px rgba(0, 0, 0, .55); }
.boat-pin::after { content: ''; position: absolute; left: 50%; bottom: -5px; width: 12px; height: 12px; margin-left: -6px; background: var(--boat-bg); transform: rotate(45deg); border-radius: 2px; }
.boat-pin svg { position: relative; z-index: 1; }
.tracker-foot { margin: 14px 24px 0; padding-top: 14px; border-top: 1px dashed var(--line); display: flex; align-items: center; gap: 10px; flex-wrap: wrap; font-size: 14px; color: var(--text-3); }
.tracker-foot > i { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); flex: none; }
.tracker-foot b { color: var(--text-2); font-weight: 600; }
.tracker-foot > span { flex: 1 1 240px; min-width: 0; }
.detail-grid { margin-top: 18px; display: grid; grid-template-columns: minmax(0, 2.6fr) minmax(0, 1fr); gap: 16px; align-items: start; }
.kv { margin-top: 18px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 16px; }
.kv div { padding: 12px 0; border-top: 1px solid var(--line); min-width: 0; }
.kv small { display: block; font-size: 12px; color: var(--text-3); }
.kv span { display: block; margin-top: 4px; font-size: 15px; font-weight: 500; color: var(--text-1); overflow-wrap: anywhere; }
.big { margin-top: 14px; font-size: 36px; font-weight: 500; letter-spacing: -.015em; font-variant-numeric: tabular-nums; }
.big small { font-size: 16px; color: var(--text-3); font-weight: 500; letter-spacing: 0; }
.big.t-danger, .big.t-warn, .big.t-ok { color: var(--t); }
.same { height: 26px; padding: 0 10px; border-radius: 8px; background: var(--fill-2); color: var(--text-3); font-size: 12px; font-weight: 600; display: inline-flex; align-items: center; margin-top: 14px; }
.prose { margin-top: 14px; font-size: 14px; color: var(--text-2); line-height: 1.5; max-width: 72ch; }
.quote { margin-top: 8px; padding: 10px 14px; border-radius: 12px; background: var(--fill); border-left: 3px solid var(--t, var(--text-4)); font-size: 14px; color: var(--text-2); line-height: 1.45; }

/* Linha do tempo de despachos */
.tl { list-style: none; margin: 18px 0 0; padding: 0; }
.tl li { position: relative; padding: 0 0 20px 26px; margin-left: 7px; border-left: 2px solid var(--line); }
.tl li:last-child { border-left-color: transparent; padding-bottom: 0; }
.tl li::before { content: ''; position: absolute; left: -7px; top: 3px; width: 12px; height: 12px; border-radius: 50%; background: var(--t, var(--text-3)); }
.tl .tl-top { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; font-size: 13px; color: var(--text-3); }
.tl .tl-top b { font-size: 15px; font-weight: 500; color: var(--text-1); }
.tl p { margin-top: 6px; font-size: 14px; color: var(--text-2); line-height: 1.45; max-width: 72ch; }

/* Vida do registro */
.life { position: relative; height: 10px; border-radius: 5px; background: var(--fill-2); margin: 34px 8px 34px; }
.life .fill { position: absolute; left: 0; top: 0; bottom: 0; border-radius: 5px; background: var(--accent); max-width: 100%; }
.life .zone { position: absolute; top: 0; bottom: 0; background: color-mix(in srgb, var(--warn) 55%, transparent); border-radius: 0 5px 5px 0; }
.life .mark { position: absolute; top: -5px; width: 2px; height: 20px; background: var(--text-3); border-radius: 1px; }
.life .mark span { position: absolute; left: 50%; transform: translateX(-50%); font-size: 11px; color: var(--text-3); white-space: nowrap; }
.life .mark.up span { bottom: 24px; } .life .mark.down span { top: 24px; }
.life .mark.now { background: var(--text-1); height: 26px; top: -8px; }
.life .mark.now span { color: var(--text-1); font-weight: 600; }
.life .mark.first span { left: 0; transform: none; } .life .mark.last span { left: auto; right: 0; transform: none; }

/* Tabela */
.tbl-wrap { margin-top: 16px; overflow-x: auto; border-radius: 18px; border: 1px solid var(--glass-line); background: var(--glass); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); scrollbar-width: thin; }
.panel .tbl-wrap { margin: 14px -20px -18px; border: 0; border-top: 1px solid var(--line); border-radius: 0 0 18px 18px; background: none; backdrop-filter: none; -webkit-backdrop-filter: none; }
.tbl { width: 100%; border-collapse: collapse; font-size: 14px; }
.tbl th { text-align: left; font-weight: 500; font-size: 12px; color: var(--text-3); padding: 14px 16px 10px; white-space: nowrap; }
.tbl th button { border: 0; background: none; padding: 0; font-weight: 500; font-size: 12px; color: var(--text-3); cursor: pointer; display: inline-flex; align-items: center; gap: 4px; }
.tbl th button.is-sorted { color: var(--text-1); }
.tbl td { padding: 12px 16px; border-top: 1px solid var(--line); vertical-align: middle; color: var(--text-2); }
.tbl tbody tr[data-open], .tbl tbody tr[data-row] { cursor: pointer; transition: background .15s; }
.tbl tbody tr[data-open]:hover, .tbl tbody tr[data-row]:hover { background: var(--fill); }
.tbl .num { font-variant-numeric: tabular-nums; white-space: nowrap; }
.tbl .mk b { font-weight: 600; display: block; color: var(--text-1); }
.tbl .mk small { color: var(--text-3); font-size: 12px; }
.tbl .nowrap { white-space: nowrap; }
.tbl .c { text-align: center; }
.tbl .r { text-align: right; }
.tbl td small { display: block; font-size: 12px; color: var(--text-3); margin-top: 2px; }
.tbl input[type="checkbox"], .check { width: 18px; height: 18px; accent-color: var(--accent); cursor: pointer; }
.bulk { margin-top: 14px; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; font-size: 14px; color: var(--text-3); }
.bulk b { color: var(--text-1); font-weight: 600; }
.bulk .sp { flex: 1; }

/* Campos */
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field > span { font-size: 12px; color: var(--text-3); font-weight: 500; }
.field.wide { grid-column: 1 / -1; }
.input, .select, .textarea { height: 44px; width: 100%; border-radius: 12px; background: var(--fill); border: 1px solid var(--line); color: var(--text-1); font: inherit; font-size: 15px; padding: 0 14px; outline: 0; min-width: 0; }
.input::placeholder, .textarea::placeholder { color: var(--text-4); }
.input:focus-visible, .select:focus-visible, .textarea:focus-visible { outline: 2px solid var(--accent); outline-offset: 1px; }
.select { appearance: none; -webkit-appearance: none; padding-right: 36px; cursor: pointer; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%237f9197' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 13px center; }
.select.chipsel { height: 36px; width: auto; border-radius: 10px; font-size: 14px; font-weight: 500; color: var(--text-2); padding: 0 32px 0 12px; max-width: 220px; }
.textarea { height: auto; min-height: 96px; padding: 12px 14px; resize: vertical; line-height: 1.45; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-top: 18px; }
.seg { display: inline-flex; padding: 3px; border-radius: 12px; background: var(--fill); border: 1px solid var(--line); gap: 2px; max-width: 100%; overflow-x: auto; scrollbar-width: none; }
.seg button { height: 30px; padding: 0 12px; border-radius: 9px; border: 0; background: none; color: var(--text-2); font-weight: 600; font-size: 13px; cursor: pointer; white-space: nowrap; }
.seg button[aria-pressed="true"] { background: var(--fill-2); color: var(--text-1); }

/* Revista: despachos */
.desp-list { margin-top: 16px; display: flex; flex-direction: column; gap: 12px; }
.desp { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px 18px; padding: 16px 18px; border-radius: 16px; background: var(--card); border: 1px solid var(--line); text-align: left; width: 100%; cursor: pointer; transition: border-color .2s; }
.desp:hover { border-color: var(--fill-2); }
.desp-top { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.desp-name { margin-top: 8px; font-size: 17px; font-weight: 500; color: var(--text-1); }
.desp-meta { margin-top: 2px; font-size: 13px; color: var(--text-3); }
.desp-side { text-align: right; display: flex; flex-direction: column; align-items: flex-end; gap: 6px; min-width: 150px; }
.desp-side b { font-size: 15px; font-weight: 600; color: var(--text-1); font-variant-numeric: tabular-nums; }
.desp-side small { font-size: 12px; color: var(--text-3); }
.desp .leigo { grid-column: 1 / -1; font-size: 14px; color: var(--text-2); line-height: 1.45; max-width: 90ch; }
.drop { display: block; margin-top: 16px; border: 1.5px dashed var(--route-todo); border-radius: 18px; padding: 30px 20px; text-align: center; background: var(--fill); cursor: pointer; transition: border-color .2s, background .2s; }
.drop:hover, .drop.is-over { border-color: var(--accent); background: color-mix(in srgb, var(--accent) 9%, transparent); }
.drop svg { margin: 0 auto 10px; color: var(--accent); }
.drop b { display: block; font-size: 16px; font-weight: 500; }
.drop small { display: block; margin-top: 4px; font-size: 13px; color: var(--text-3); }
.progress { margin-top: 14px; height: 8px; border-radius: 4px; background: var(--fill-2); overflow: hidden; }
.progress i { display: block; height: 100%; width: 0; border-radius: 4px; background: var(--accent); transition: width .2s; }
.steps { margin: 14px 0 0; padding: 0; list-style: none; counter-reset: s; }
.steps li { counter-increment: s; position: relative; padding: 10px 0 10px 40px; border-top: 1px solid var(--line); font-size: 14px; color: var(--text-2); line-height: 1.45; }
.steps li::before { content: counter(s); position: absolute; left: 0; top: 9px; width: 28px; height: 28px; border-radius: 8px; display: grid; place-items: center; font-weight: 600; font-size: 13px; background: var(--fill); border: 1px solid var(--line); color: var(--text-2); }
.steps b { color: var(--text-1); font-weight: 600; }

/* Radar */
.hit-list { margin-top: 16px; display: flex; flex-direction: column; gap: 12px; }
.hit { display: grid; grid-template-columns: 64px minmax(0, 1fr) minmax(180px, auto); gap: 18px; align-items: center; padding: 16px 18px; border-radius: 16px; background: var(--card); border: 1px solid var(--line); }
.ring { position: relative; width: 64px; height: 64px; flex: none; }
.ring svg { width: 64px; height: 64px; transform: rotate(-90deg); }
.ring circle { fill: none; stroke-width: 6; }
.ring .bgc { stroke: var(--fill-2); }
.ring .fgc { stroke: var(--t); stroke-linecap: round; }
.ring b { position: absolute; inset: 0; display: grid; place-items: center; font-size: 19px; font-weight: 600; font-variant-numeric: tabular-nums; color: var(--t); }
.hit-name { font-size: 19px; font-weight: 500; color: var(--text-1); letter-spacing: -.005em; overflow-wrap: anywhere; }
.hit-vs { margin-top: 2px; font-size: 14px; color: var(--text-3); }
.hit-vs b { color: var(--text-2); font-weight: 600; }
.hit-meta { margin-top: 8px; display: flex; flex-wrap: wrap; gap: 4px 14px; font-size: 13px; color: var(--text-3); }
.meters { margin-top: 10px; display: flex; flex-wrap: wrap; gap: 8px 18px; }
.meter { display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--text-3); }
.meter span { width: 72px; height: 6px; border-radius: 3px; background: var(--fill-2); overflow: hidden; display: block; }
.meter span i { display: block; height: 100%; border-radius: 3px; background: var(--accent); }
.meter b { color: var(--text-2); font-weight: 600; font-variant-numeric: tabular-nums; }
.hit-side { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; text-align: right; }
.hit-side .acts { display: flex; gap: 8px; flex-wrap: wrap; justify-content: flex-end; }
.hit-side small { font-size: 12px; color: var(--text-3); max-width: 250px; line-height: 1.4; }
.watch-row { margin-top: 12px; display: flex; flex-wrap: wrap; gap: 8px; }
.wchip { height: 32px; padding: 0 6px 0 12px; border-radius: 10px; background: var(--fill); border: 1px solid var(--line); display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: var(--text-2); font-weight: 500; }
.wchip button { width: 22px; height: 22px; border-radius: 6px; border: 0; background: none; color: var(--text-3); cursor: pointer; display: grid; place-items: center; }
.wchip button:hover { background: var(--fill-2); color: var(--text-1); }
.wchip.fixed { padding-right: 12px; }

/* Agenda */
.cal-head { display: flex; align-items: center; gap: 10px; }
.cal-head h2 { flex: 1; font-size: 20px; }
.cal { margin-top: 14px; display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; }
.cal .dow { font-size: 12px; color: var(--text-3); text-align: center; padding: 2px 0 4px; }
.cal .day { min-height: 92px; border-radius: 12px; border: 1px solid var(--line); background: var(--fill); padding: 8px; text-align: left; cursor: pointer; display: flex; flex-direction: column; gap: 4px; min-width: 0; transition: border-color .15s, background .15s; }
.cal .day:hover { border-color: var(--fill-2); }
.cal .day.out { opacity: .38; }
.cal .day.off { background: transparent; border-style: dashed; }
.cal .day.today { box-shadow: inset 0 0 0 2px var(--accent); }
.cal .day.sel { background: color-mix(in srgb, var(--accent) 13%, transparent); border-color: color-mix(in srgb, var(--accent) 45%, transparent); }
.cal .dnum { display: flex; align-items: center; justify-content: space-between; gap: 4px; font-size: 13px; font-weight: 600; color: var(--text-1); }
.cal .dnum small { font-size: 10px; font-weight: 600; color: var(--text-4); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cal .ev { height: 20px; line-height: 20px; border-radius: 6px; padding: 0 6px; font-size: 11px; font-weight: 600; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; background: color-mix(in srgb, var(--t) 18%, transparent); color: var(--t); }
.cal .ev.is-done { text-decoration: line-through; opacity: .7; }
.cal .more { font-size: 11px; color: var(--text-3); }
.dl { display: flex; align-items: center; gap: 14px; padding: 12px 0; border-top: 1px solid var(--line); min-width: 0; }
.dl .what { cursor: pointer; }
.dl .side { flex: none; display: flex; align-items: center; gap: 8px; }
.group-title { margin: 22px 0 0; font-size: 13px; font-weight: 600; color: var(--text-2); display: flex; align-items: center; gap: 8px; }
.group-title .badge { background: var(--fill-2); }
.calc-out { margin-top: 16px; border-radius: 14px; background: var(--fill); border: 1px solid var(--line); padding: 16px 18px; }
.calc-out .big { margin-top: 4px; }

/* Clientes */
.cli-list { display: flex; flex-direction: column; gap: 10px; margin-top: 14px; }
.cli { display: flex; align-items: center; gap: 12px; width: 100%; text-align: left; padding: 12px 14px; border-radius: 14px; background: var(--card); border: 1px solid var(--line); cursor: pointer; min-width: 0; transition: border-color .2s; }
.cli:hover { border-color: var(--fill-2); }
.cli.is-sel { border-color: color-mix(in srgb, var(--accent) 55%, transparent); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--accent) 55%, transparent); }
.cli .mono { width: 40px; height: 40px; border-radius: 11px; background: color-mix(in srgb, var(--c, var(--accent)) 22%, transparent); color: var(--c, var(--accent)); display: grid; place-items: center; font-weight: 700; font-size: 13px; flex: none; }

/* Motor */
.pipe { margin-top: 16px; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 10px; }
.pstep { border-radius: 14px; background: var(--fill); border: 1px solid var(--line); padding: 12px 14px; min-width: 0; }
.pstep .n { width: 28px; height: 28px; border-radius: 8px; display: grid; place-items: center; font-weight: 600; font-size: 13px; background: var(--accent); color: var(--accent-ink); }
.pstep b { display: block; margin-top: 10px; font-size: 15px; font-weight: 500; }
.pstep small { display: block; margin-top: 4px; font-size: 12px; color: var(--text-3); line-height: 1.4; }
.pstep .tm { margin-top: 10px; font-size: 12px; color: var(--text-2); font-weight: 600; font-variant-numeric: tabular-nums; }
.arch { margin-top: 16px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.abox { border-radius: 16px; background: var(--fill); border: 1px solid var(--line); padding: 14px 16px; min-width: 0; }
.abox .eyebrow { font-size: 12px; font-weight: 600; color: var(--accent); }
.abox b { display: block; margin-top: 4px; font-size: 16px; font-weight: 500; }
.abox ul { margin: 10px 0 0; padding: 0; list-style: none; }
.abox li { padding: 7px 0; border-top: 1px solid var(--line); font-size: 13px; color: var(--text-2); line-height: 1.4; }
.abox li small { display: block; color: var(--text-3); font-size: 12px; }
.chips-flow { margin-top: 12px; display: flex; flex-wrap: wrap; gap: 8px; }
.mono-chip { height: 28px; padding: 0 10px; border-radius: 8px; background: var(--fill); border: 1px solid var(--line); display: inline-flex; align-items: center; font-family: ui-monospace, 'SF Mono', Menlo, Consolas, monospace; font-size: 12px; color: var(--text-2); }
.bullets { margin: 12px 0 0; padding: 0; list-style: none; }
.bullets li { position: relative; padding: 8px 0 8px 18px; border-top: 1px solid var(--line); font-size: 14px; color: var(--text-2); line-height: 1.45; }
.bullets li::before { content: ''; position: absolute; left: 2px; top: 16px; width: 6px; height: 6px; border-radius: 50%; background: var(--t, var(--accent)); }
.bullets b { color: var(--text-1); font-weight: 600; }

/* Alertas */
.alert { display: flex; gap: 12px; width: 100%; text-align: left; padding: 14px 0; border: 0; border-top: 1px solid var(--line); background: none; cursor: pointer; min-width: 0; }
.alert .ic { width: 36px; height: 36px; border-radius: 10px; flex: none; display: grid; place-items: center; background: color-mix(in srgb, var(--t) 16%, transparent); color: var(--t); }
.alert .body { flex: 1; min-width: 0; }
.alert .body b { display: block; font-size: 15px; font-weight: 500; color: var(--text-1); }
.alert .body p { margin-top: 2px; font-size: 13px; color: var(--text-3); line-height: 1.4; }
.alert time { flex: none; font-size: 12px; color: var(--text-3); white-space: nowrap; display: flex; align-items: center; gap: 6px; }
.alert.is-unread .body b { font-weight: 600; }
.alert.is-unread time::after { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
.phone { width: 268px; max-width: 100%; border-radius: 40px; padding: 10px; background: #04090c; border: 1px solid rgba(255, 255, 255, .14); box-shadow: var(--shadow); margin: 16px auto 0; }
.phone-screen { position: relative; border-radius: 31px; overflow: hidden; min-height: 500px; padding: 16px 12px 18px; color: #eaf4f7; background: radial-gradient(260px 220px at 78% 26%, rgba(255, 153, 51, .22), transparent 70%), linear-gradient(180deg, #04202a 0%, #06323a 46%, #031119 100%); }
.phone-date { text-align: center; font-size: 13px; opacity: .85; margin-top: 16px; }
.phone-time { text-align: center; font-size: 56px; font-weight: 500; letter-spacing: -.03em; line-height: 1.05; font-variant-numeric: tabular-nums; }
.notif { margin-top: 10px; border-radius: 18px; background: rgba(255, 255, 255, .15); border: 1px solid rgba(255, 255, 255, .1); padding: 10px 12px; display: grid; grid-template-columns: 30px minmax(0, 1fr); gap: 10px; text-align: left; }
.notif .ic { width: 30px; height: 30px; border-radius: 8px; background: #6ad2d2; color: #08484b; display: grid; place-items: center; }
.notif b { display: flex; justify-content: space-between; gap: 8px; font-size: 13px; font-weight: 600; }
.notif b small { font-weight: 500; opacity: .7; font-size: 11px; white-space: nowrap; }
.notif p { margin-top: 2px; font-size: 12px; opacity: .88; line-height: 1.3; }
.rule { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-top: 1px solid var(--line); flex-wrap: wrap; }
.rule .what { flex: 1 1 180px; }
.tog { height: 30px; padding: 0 10px; border-radius: 9px; border: 1px solid var(--line); background: var(--fill); color: var(--text-3); font-size: 12px; font-weight: 600; cursor: pointer; }
.tog[aria-pressed="true"] { background: color-mix(in srgb, var(--accent) 16%, transparent); border-color: color-mix(in srgb, var(--accent) 45%, transparent); color: var(--accent); }

/* Relatório (papel) */
.paper { background: #fff; color: #12202a; border-radius: 10px; padding: 26px 28px; box-shadow: 0 20px 50px -22px rgba(0, 0, 0, .6); font-size: 12px; line-height: 1.45; margin-top: 16px; overflow-x: auto; }
.paper-head { display: flex; align-items: center; gap: 12px; padding-bottom: 12px; border-bottom: 2px solid #0d7f8a; }
.paper .plogo { height: 44px; max-width: 150px; object-fit: contain; }
.paper .plogo-ph { width: 44px; height: 44px; border-radius: 10px; background: #0d7f8a; color: #effafa; display: grid; place-items: center; flex: none; }
.paper-head b { font-size: 15px; display: block; }
.paper-head small { color: #5b6b73; }
.paper-head .right { margin-left: auto; text-align: right; color: #5b6b73; }
.paper h3 { font-size: 18px; margin: 16px 0 2px; font-weight: 600; }
.paper table { width: 100%; border-collapse: collapse; margin-top: 12px; min-width: 520px; }
.paper th { text-align: left; font-size: 10px; font-weight: 600; color: #5b6b73; border-bottom: 1px solid #c9d5da; padding: 6px; white-space: nowrap; }
.paper td { padding: 7px 6px; border-bottom: 1px solid #e6edf0; vertical-align: top; }
.paper td b { font-weight: 600; }
.paper .foot { margin-top: 14px; color: #5b6b73; font-size: 10.5px; }
.det { margin-top: 14px; }
.det summary { cursor: pointer; font-size: 13px; font-weight: 600; color: var(--text-2); list-style: none; display: inline-flex; align-items: center; gap: 6px; }
.det summary::-webkit-details-marker { display: none; }
.det summary::before { content: ''; width: 6px; height: 6px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(-45deg); transition: transform .15s; }
.det[open] summary::before { transform: rotate(45deg); }
.det summary:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
a.tag { text-decoration: none; }
a.tag:hover { filter: brightness(1.15); }
.msg { margin-top: 12px; border-radius: 14px; background: var(--fill); border: 1px solid var(--line); padding: 14px 16px; font-size: 14px; color: var(--text-2); line-height: 1.5; white-space: pre-wrap; overflow-wrap: anywhere; max-height: 320px; overflow-y: auto; }

/* Modal e aviso */
.modal-root { position: fixed; inset: 0; z-index: 50; display: grid; place-items: center; padding: 16px; background: var(--scrim); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); animation: fade-in calc(160ms * var(--m)) ease-out both; }
.modal { width: min(640px, 100%); max-height: min(88dvh, 860px); overflow-y: auto; border-radius: 20px; background: var(--sheet); border: 1px solid var(--glass-line); box-shadow: var(--shadow); padding: 22px 24px; animation: emerge calc(300ms * var(--m)) var(--ease-out) both; }
.modal.wide { width: min(940px, 100%); }
.modal-top { display: flex; align-items: flex-start; gap: 12px; }
.modal-top h2 { flex: 1; margin: 0; font-size: 22px; font-weight: 500; letter-spacing: -.01em; }
.modal .sub { margin-top: 4px; font-size: 14px; color: var(--text-3); }
.modal-foot { display: flex; justify-content: flex-end; gap: 10px; margin-top: 22px; flex-wrap: wrap; }
.err { margin-top: 10px; font-size: 13px; color: var(--danger); min-height: 18px; }
.toast { position: fixed; left: 50%; bottom: calc(22px + env(safe-area-inset-bottom, 0px)); transform: translateX(-50%); z-index: 60; max-width: min(520px, calc(100% - 32px)); padding: 12px 18px; border-radius: 14px; background: var(--sheet); border: 1px solid var(--glass-line); box-shadow: var(--shadow); font-size: 14px; font-weight: 500; color: var(--text-1); display: flex; align-items: center; gap: 10px; animation: toast-in calc(260ms * var(--m)) var(--ease-out) both; }
.toast button { border: 0; background: none; color: var(--accent); font-weight: 600; cursor: pointer; padding: 0 0 0 6px; }
@keyframes toast-in { from { opacity: 0; transform: translate(-50%, 12px); } to { opacity: 1; transform: translate(-50%, 0); } }
.empty { padding: 34px 16px; text-align: center; color: var(--text-3); font-size: 14px; line-height: 1.5; }
.empty b { display: block; font-size: 16px; font-weight: 500; color: var(--text-2); margin-bottom: 4px; }
.logo-prev { height: 56px; max-width: 180px; object-fit: contain; border-radius: 10px; background: #fff; padding: 6px; }

/* ---------- MOVIMENTO (igual ao Maré) ---------- */
@keyframes page-in { from { transform: translateX(28px); } to { transform: none; } }
@keyframes char-rise { from { transform: translateY(115%); } to { transform: none; } }
@keyframes fade-up { from { opacity: 0; transform: translateY(var(--fy, 8px)); } to { opacity: 1; transform: none; } }
@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes column-rise {
  0%   { clip-path: inset(calc(100% - 72px) 34% 0 34% round 999px); opacity: .35; filter: blur(3px); }
  30%  { clip-path: inset(calc((100% - 72px) * .62) 15% 0 15% round 48px); }
  57%  { clip-path: inset(calc((100% - 72px) * .22) 0 0 0 round 22px); opacity: .9; filter: blur(1px); }
  100% { clip-path: inset(0 0 0 0 round 16px); opacity: 1; filter: blur(0); }
}
@keyframes emerge {
  from { clip-path: inset(42% 36% 42% 36% round 999px); filter: blur(12px); opacity: .3; transform: translateY(10px); }
  to   { clip-path: inset(0 0 0 0 round 18px); filter: blur(0); opacity: 1; transform: none; }
}
@keyframes sink {
  from { clip-path: inset(0 0 0 0 round 18px); }
  to   { clip-path: inset(38% 30% 38% 30% round 999px); filter: blur(10px); opacity: 0; transform: translateY(12px); }
}
@keyframes pop { 0% { transform: scale(.3); opacity: 0; } 20% { opacity: 1; } 45% { transform: scale(1.25); } 72% { transform: scale(1.05); } 100% { transform: scale(1); } }
@keyframes fade-up-x { from { opacity: 0; transform: translate(-50%, 6px); } to { opacity: 1; transform: translateX(-50%); } }

.is-entering { animation: page-in calc(400ms * var(--m)) var(--ease-expo) both; }
.is-entering .ch { animation: char-rise calc(180ms * var(--m)) var(--ease-out) calc((15ms + var(--i) * 38ms) * var(--m)) both; }
.is-entering .toolbar { animation: fade-up calc(250ms * var(--m)) var(--ease-out) calc(50ms * var(--m)) both; }
.is-entering .col { animation: column-rise calc(350ms * var(--m)) linear calc((75ms + var(--i) * 70ms) * var(--m)) both; }
.is-entering .card { --fy: 14px; animation: fade-up calc(270ms * var(--m)) var(--ease-out) calc((480ms + var(--k) * 22ms) * var(--m)) both; }
.is-entering [data-surface] { animation: emerge calc(380ms * var(--m)) var(--ease-out) calc(min(var(--i, 0), 9) * 70ms * var(--m)) both; }
.is-entering [data-surface] > * { animation: fade-in calc(200ms * var(--m)) ease-out calc((min(var(--i, 0), 9) * 70ms + 190ms) * var(--m)) both; }
.is-entering .meta { animation: fade-in calc(250ms * var(--m)) ease-out calc(200ms * var(--m)) both; }
.is-entering .st-dot { animation: pop calc(500ms * var(--m)) ease-in-out calc((330ms + var(--i) * 80ms) * var(--m)) both; }
.is-entering .st-label { --fy: 6px; animation: fade-up-x calc(200ms * var(--m)) var(--ease-out) calc((520ms + var(--i) * 65ms) * var(--m)) both; }

.is-leaving [data-surface], .is-leaving .col { animation: sink calc(160ms * var(--m)) var(--ease-in) calc(min(var(--i, 0), 5) * 18ms * var(--m)) both; }
.is-leaving .page-head, .is-leaving .toolbar, .is-leaving .detail-head { transition: opacity calc(120ms * var(--m)) ease; opacity: 0; }

.panel.is-sinking, .tab-body.is-sinking [data-surface], .tab-body.is-sinking .col { animation: sink calc(200ms * var(--m)) var(--ease-in) both; }
.panel.is-emerging { animation: emerge calc(300ms * var(--m)) var(--ease-out) both; }
.panel.is-emerging > * { animation: fade-in calc(160ms * var(--m)) ease-out calc(150ms * var(--m)) both; }
.tab-body.is-emerging [data-surface] { animation: emerge calc(300ms * var(--m)) var(--ease-out) calc(min(var(--i, 0), 8) * 55ms * var(--m)) both; }
.tab-body.is-emerging [data-surface] > * { animation: fade-in calc(160ms * var(--m)) ease-out calc((min(var(--i, 0), 8) * 55ms + 150ms) * var(--m)) both; }
.tab-body.is-emerging .col { animation: column-rise calc(350ms * var(--m)) linear calc((30ms + var(--i) * 60ms) * var(--m)) both; }
.tab-body.is-emerging .card { --fy: 14px; animation: fade-up calc(270ms * var(--m)) var(--ease-out) calc((360ms + var(--k) * 18ms) * var(--m)) both; }
.tab-body.is-emerging .toolbar, .tab-body.is-emerging .bulk { animation: fade-up calc(250ms * var(--m)) var(--ease-out) both; }
.tab-body.is-sinking .toolbar, .tab-body.is-sinking .bulk, .tab-body.is-sinking .group-title { opacity: 0; transition: opacity calc(120ms * var(--m)); }
.st-dot.is-pop { animation: pop calc(500ms * var(--m)) ease-in-out both; }

::view-transition-old(root), ::view-transition-new(root) { animation: none; mix-blend-mode: normal; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 1ms !important; animation-delay: 0ms !important; transition-duration: 1ms !important; }
}

/* ---------- Marca na barra: logo do app (protótipo) ou da empresa (versão com login) ---------- */
.logo { font-size: 15px; font-weight: 700; letter-spacing: 0; overflow: hidden; }
.logo.is-app { background: none; }
.logo.is-app img { width: 100%; height: 100%; display: block; }
.logo.has-img { width: auto; min-width: 40px; max-width: 132px; padding: 4px 6px; background: #fff; }
.logo.has-img img { height: 32px; width: auto; max-width: 120px; object-fit: contain; display: block; }
#brandName { max-width: 240px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.kpi.is-static { cursor: default; }
.rows.duas { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 28px; }

/* ---------- Entrada (versão com login) ---------- */
body.is-auth .topbar { display: none; }
.page.auth { align-items: center; justify-content: center; padding-top: 24px; padding-bottom: 56px; }
.auth-card { width: min(440px, 100%); border-radius: 24px; background: var(--glass-strong); border: 1px solid var(--glass-line); backdrop-filter: blur(18px) saturate(1.2); -webkit-backdrop-filter: blur(18px) saturate(1.2); box-shadow: var(--shadow); padding: 28px 28px 24px; }
.auth-brand { display: flex; align-items: center; gap: 16px; }
.auth-logo { width: 72px; height: 72px; flex: none; border-radius: 18px; object-fit: contain; box-shadow: 0 16px 30px -16px rgba(0, 0, 0, .65); }
.auth-nome { font-size: 34px; font-weight: 700; letter-spacing: -.02em; line-height: 1; }
.auth-lema { margin-top: 7px; font-size: 14px; color: var(--text-3); line-height: 1.35; }
.auth-titulo { margin: 26px 0 0; font-size: 20px; font-weight: 500; letter-spacing: -.01em; }
#fAuth .field, #fSenha .field { margin-top: 14px; }
#fAuth > .note { margin-top: 12px; }
.auth-go { width: 100%; height: 48px; margin-top: 20px; }
.auth-links { margin-top: 14px; display: flex; justify-content: space-between; gap: 6px 16px; flex-wrap: wrap; }
.auth-foot { margin-top: 18px; font-size: 13px; color: var(--text-3); text-align: center; }
.auth-foot + .auth-foot { margin-top: 8px; }
.auth-quem { line-height: 1.6; }
.auth-quem a { font-weight: 600; text-decoration: none; }
.auth-quem a:hover { text-decoration: underline; }

/* ---------- Páginas de texto (termos de uso e privacidade) ---------- */
.legal { width: min(820px, 100%); margin: 28px auto 72px; }
.legal-top { display: flex; align-items: center; gap: 14px; text-decoration: none; color: var(--text-1); font-weight: 700; font-size: 24px; letter-spacing: -.01em; }
.legal-top img { width: 44px; height: 44px; border-radius: 11px; }
.legal .panel { margin-top: 20px; padding: 26px 28px 30px; }
.legal h1 { margin: 0; font-size: 30px; font-weight: 500; letter-spacing: -.015em; }
.legal .versao { margin-top: 6px; font-size: 13px; color: var(--text-3); }
.legal h2 { margin: 28px 0 0; font-size: 17px; font-weight: 600; color: var(--text-1); }
.legal p, .legal li { font-size: 15px; line-height: 1.6; color: var(--text-2); }
.legal p { margin-top: 10px; }
.legal ul { margin: 8px 0 0; padding-left: 20px; }
.legal li { margin-top: 4px; }
.legal b { color: var(--text-1); font-weight: 600; }
.legal .quem { margin-top: 18px; border-radius: 14px; background: var(--fill); border: 1px solid var(--line); padding: 14px 16px; }
.legal .quem p:first-child { margin-top: 0; }
.linkish { border: 0; background: none; padding: 6px 0; color: var(--accent); font-weight: 600; font-size: 14px; cursor: pointer; text-align: left; }
.linkish:hover { text-decoration: underline; }
.pw { position: relative; display: block; }
.pw .input { padding-right: 48px; }
.pw .icon-btn { position: absolute; right: 4px; top: 4px; border: 0; background: none; color: var(--text-3); }
.pw .icon-btn[aria-pressed="true"] { color: var(--accent); }
.aceite { margin-top: 16px; display: flex; gap: 10px; align-items: flex-start; font-size: 13px; color: var(--text-2); line-height: 1.45; cursor: pointer; }
.aceite .check { flex: none; margin: 1px 0 0; }
.form-msg { margin-top: 12px; font-size: 14px; line-height: 1.4; color: var(--text-2); }
.form-msg.is-err { color: var(--danger); }
.input[disabled] { opacity: .6; cursor: default; }

/* ---------- Faixa de aviso da conta (teste, atraso, só leitura, modo suporte) ---------- */
.faixa { --t: var(--c-blue); flex: none; margin-top: 12px; border-radius: 14px; padding: 9px 10px 9px 16px; min-height: 54px; display: flex; align-items: center; justify-content: space-between; gap: 8px 14px; flex-wrap: wrap; font-size: 14px; line-height: 1.4; color: var(--text-1); border: 1px solid color-mix(in srgb, var(--t) 42%, transparent); background: color-mix(in srgb, var(--t) 13%, var(--glass-strong)); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.faixa b { font-weight: 600; }
body.is-auth .faixa { display: none; }

/* ---------- Telas médias e estreitas ---------- */
@media (max-width: 1099px) {
  .row1 { flex-wrap: wrap; }
  .nav { order: 3; flex: 1 0 100%; margin: 8px 0 2px; }
}
@media (max-width: 1180px) {
  .pipe { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .arch { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid-3 { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 899px) {
  .brand span:last-child, .status > span, .status > i, .crumbs, .row2 .vsep, .btn-primary .lbl, .hide-sm { display: none; }
  .btn-primary.keep-lbl .lbl { display: inline; }
  .btn-primary { padding: 0 13px; }
  .row1 { padding-left: 12px; padding-right: 12px; gap: 8px; }
  .nav button { padding: 0 13px; height: 40px; }
  .actions { gap: 8px; }
  .icon-btn.search-btn { display: none; }
  .row2 { padding: 0 14px; gap: 10px; }
  .tabs { gap: 20px; }
  .title { font-size: 30px; }
  .kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .grid-2, .grid-2.even, .detail-grid { grid-template-columns: minmax(0, 1fr); }
  .gc-grid { grid-template-columns: minmax(0, 1fr); grid-template-rows: none; }
  .gc-grid > .gc-fila, .gc-grid > .gc-prod { grid-column: auto; grid-row: auto; }
  .kv { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .switch { margin-left: 0; }
  .st-label small { display: none; }
  .st-label b { font-size: 12px; }
  .station:not(.is-current) .st-label { display: none; }
  .route { margin: 0 12px; }
  .hit { grid-template-columns: 56px minmax(0, 1fr); gap: 14px; }
  .hit-side { grid-column: 1 / -1; align-items: flex-start; text-align: left; }
  .hit-side .acts { justify-content: flex-start; }
  .desp { grid-template-columns: minmax(0, 1fr); }
  .desp-side { align-items: flex-start; text-align: left; flex-direction: row; flex-wrap: wrap; min-width: 0; }
  .cal { gap: 3px; }
  .cal .day { min-height: 54px; padding: 5px; border-radius: 9px; }
  .cal .day .ev { height: 6px; padding: 0; font-size: 0; border-radius: 3px; background: var(--t); }
  .cal .day .more, .cal .dnum small { display: none; }
  .form-grid { grid-template-columns: minmax(0, 1fr); }
  .tbl { min-width: 780px; }
  .modal { padding: 18px 16px; }
  .search { width: 100%; }
}
@media (max-width: 560px) {
  .pipe { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .arch { grid-template-columns: minmax(0, 1fr); }
  .kpi strong { font-size: 22px; }
  .title { font-size: 27px; }
  .subtitle { font-size: 15px; }
  .todo .right .tag, .dl .side .tag { display: none; }
  .bars, .bars-x { gap: 5px; }
  .bars-x { font-size: 11px; }
  .bars-x .lg { display: none; }
  .bars-x .sm { display: inline; }
  .page-head .head-actions { width: 100%; }
  .life .mark.mid span { display: none; }
  .avatar { width: 36px; height: 36px; }
  .logo { width: 36px; height: 36px; }
}
@media (max-width: 560px) {
  .auth-card { padding: 22px 18px 20px; border-radius: 20px; }
  .auth-logo { width: 60px; height: 60px; border-radius: 15px; }
  .auth-nome { font-size: 29px; }
  #fAuth .input { font-size: 16px; }                       /* abaixo de 16px o iPhone aproxima a tela ao tocar no campo */
  .logo.has-img { max-width: 104px; }
  .logo.has-img img { height: 28px; max-width: 92px; }
}
@media (max-width: 560px) { .rows.duas { grid-template-columns: minmax(0, 1fr); } }
