:root {
  color-scheme: light;
  --bg: #f6f4fa;
  --surface: #ffffff;
  --surface-soft: #f8f6fb;
  --text: #221b37;
  --muted: #665e75;
  --line: #e5ddee;
  --accent: #742685;
  --accent-hover: #54175f;
  --accent-soft: #f0e6f6;
  --on-accent: #ffffff;
  --inverse: #34204f;
  --inverse-deep: #241434;
  --on-inverse: #ffffff;
  --lime: #a7ddf4;
  --warn-bg: #f9efda;
  --warn: #694a05;
  --error-bg: #fbe9e7;
  --error: #852e27;
  --shadow: 0 1px 2px #32144d10, 0 8px 24px #32144d09;
  --radius: 18px;
  --sidebar: 232px;
  font-family: "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 100%;
}
[data-theme="escuro"] {
  color-scheme: dark;
  --bg: #171121;
  --surface: #261d33;
  --surface-soft: #1f182b;
  --text: #f7f2fb;
  --muted: #d0c5db;
  --line: #4b3b5b;
  --accent: #e4a8ed;
  --accent-hover: #f2ccf7;
  --on-accent: #35133e;
  --accent-soft: #493050;
  --inverse: #251334;
  --inverse-deep: #1a1028;
  --warn-bg: #463b23;
  --warn: #fbe5a7;
  --error-bg: #4c302a;
  --error: #ffd3ca;
  --shadow: 0 4px 28px #0002;
}
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--text); line-height: 1.5; }
[hidden] { display: none !important; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { line-height: 1.16; }
h1 { font-size: clamp(2.3rem, 4.2vw, 3.8rem); letter-spacing: -.065em; font-weight: 780; }
h2 { font-size: 1.27rem; letter-spacing: -.035em; font-weight: 740; }
h3 { font-size: 1.06rem; letter-spacing: -.015em; font-weight: 730; }
a { color: var(--accent); text-underline-offset: .2em; overflow-wrap: anywhere; }
button, input, textarea, select { font: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.skip { position: fixed; z-index: 20; top: -80px; left: 20px; padding: 10px 16px; background: var(--surface); }
.skip:focus { top: 15px; }
.skip:not(:focus) { clip-path: inset(50%); pointer-events: none; }
.initial { min-height: 75svh; display: grid; place-content: center; color: var(--muted); }
.muted { color: var(--muted); }
.subtle, small { font-size: .875rem; color: var(--muted); }
.eyebrow { font-size: .8125rem; font-weight: 760; letter-spacing: .105em; text-transform: uppercase; color: var(--accent); }
.full { grid-column: 1 / -1; }
.wrap { overflow-wrap: anywhere; }
.stack { display: grid; gap: 16px; }
.dense { gap: 10px; }
.row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.spread { justify-content: space-between; }
.plain-list { padding: 0; margin: 0; list-style: none; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 42px; padding: .58rem .95rem; border: 1px solid transparent; border-radius: 10px; gap: 8px; font-weight: 690; font-size: .9375rem; text-decoration: none; white-space: normal; line-height: 1.25; transition: background .16s, border-color .16s, opacity .16s; }
.button.primary { background: var(--accent); color: var(--on-accent); }
.button.primary:hover { background: var(--accent-hover); }
.button.secondary { background: var(--surface); color: var(--text); border-color: var(--line); }
.button.secondary:hover, .button.ghost:hover { background: var(--accent-soft); }
.button.ghost { color: var(--accent); background: transparent; }
.button.danger { color: var(--error); background: var(--error-bg); }
.button.inverse { background: #ffffff; color: #592066; }
.button.inverse:hover { background: #f3e6f9; }
.button:disabled { opacity: .58; cursor: wait; }
.button.square { padding: 0; width: 42px; }
.button.slim { min-height: 35px; padding: .36rem .68rem; font-size: .875rem; }
.brand { display: inline-flex; align-items: center; color: inherit; text-decoration: none; }
.brand-logo { display: block; width: 145px; height: auto; }
.brand-white, .sidebar .brand-color, .login-brand .brand-color, .public-bar .brand-color, [data-theme="escuro"] .brand-color { display: none; }
.sidebar .brand-white, .login-brand .brand-white, .public-bar .brand-white, [data-theme="escuro"] .brand-white { display: block; }
.brand-caption { padding-left: 0; display: block; font-size: .68rem; font-weight: 670; color: inherit; opacity: .72; letter-spacing: .12em; text-transform: uppercase; }
.workspace { min-height: 100svh; display: grid; grid-template-columns: var(--sidebar) minmax(0, 1fr); }
.sidebar { position: sticky; top: 0; height: 100svh; background: var(--inverse-deep); color: var(--on-inverse); display: flex; flex-direction: column; padding: 28px 16px 20px; z-index: 5; }
.sidebar .brand { margin: 0 12px 3px; }
.sidebar .brand-caption { margin: 0 12px; }
.side-label { margin: 50px 12px 9px; color: #d6c2e1; font-size: .75rem; font-weight: 710; letter-spacing: .105em; text-transform: uppercase; }
.side-nav { display: grid; gap: 4px; }
.nav-link { display: flex; align-items: center; gap: 11px; min-height: 46px; padding: 10px 12px; border-radius: 9px; color: #f0e5f4; text-decoration: none; font-size: .9375rem; font-weight: 645; }
.nav-link:hover { background: #ffffff12; }
.nav-mobile { display: none; }
.nav-link[aria-current="page"] { color: #ffffff; background: #d0a5ef38; }
.nav-link[aria-current="page"] .icon { color: var(--lime); }
.sidebar :focus-visible { outline-color: var(--lime); }
.side-end { margin-top: auto; border-top: 1px solid #e2f2e222; padding: 12px 8px 0; }
.side-end .button { color: #f0e5f4; width: 100%; justify-content: start; }
.side-end .button:hover { background: #ffffff12; }
.workspace-body { min-width: 0; }
.topbar { min-height: 67px; background: var(--surface); border-bottom: 1px solid var(--line); padding: 10px clamp(20px, 3vw, 44px); }
.topbar .section-name { font-size: .92rem; font-weight: 710; }
.topbar .brand { display: none; }
.top-profile { display: flex; align-items: center; gap: 9px; padding: 0; border: 0; background: transparent; color: var(--text); text-align: left; }
.avatar { display: inline-grid; place-items: center; width: 36px; height: 36px; flex: none; border-radius: 50%; background: var(--accent-soft); color: var(--accent); font-size: .85rem; font-weight: 780; }
.top-profile small { display: block; font-size: .77rem; }
.content { width: min(100%, 1460px); margin-inline: auto; padding: 26px clamp(20px, 3vw, 44px) 52px; min-width: 0; }
.page-head { display: flex; justify-content: space-between; align-items: end; flex-wrap: wrap; gap: 12px 23px; margin-bottom: 23px; }
.page-head .eyebrow { margin-bottom: 5px; }
.page-head p:not(.eyebrow) { margin-top: 9px; color: var(--muted); }
.page-head h1 { font-size: clamp(2.05rem, 4vw, 3.2rem); }
.hero { isolation: isolate; position: relative; overflow: hidden; min-height: 225px; display: grid; align-content: center; justify-items: start; gap: 12px; padding: 28px clamp(24px, 4vw, 48px); color: var(--on-inverse); background: linear-gradient(100deg, #29153d 0%, #4f1d6bed 47%, #354f80a8 100%), url('/assets/fiber-neighborhood.png') center 55% / cover, linear-gradient(106deg, #29153d, #634087); border-radius: 21px; }
.hero h1 { max-width: 20ch; }
.hero .eyebrow { color: var(--lime); }
.hero p:not(.eyebrow) { color: #f0e8f5; }
.hero .button { margin-top: 6px; }
.dashboard { display: grid; gap: 19px; }
.metrics { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin: 0; }
.metric { border: 1px solid var(--line); background: var(--surface); box-shadow: var(--shadow); padding: 17px 17px 15px; border-radius: 15px; position: relative; min-width: 0; }
.metric dt { color: var(--muted); font-weight: 650; font-size: .9rem; }
.metric dd { margin: 8px 0 0; font-size: 2.16rem; font-weight: 780; letter-spacing: -.06em; line-height: 1; font-variant-numeric: tabular-nums; }
.metric :where(.icon-box) { position: absolute; bottom: 13px; right: 13px; }
.icon-box { display: inline-grid; place-items: center; height: 34px; width: 34px; border-radius: 9px; background: var(--accent-soft); color: var(--accent); flex: none; }
.card { min-width: 0; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); border-radius: var(--radius); padding: 20px; }
.card-head { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 9px 14px; margin-bottom: 15px; }
.card-head p { margin-top: 4px; }
.dashboard-cols { display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(0, 1fr); gap: 17px; }
.settings-columns { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; }
.settings-list .list-row { flex-wrap: nowrap; gap: 10px; }
.pipeline { display: grid; gap: 11px; }
.pipeline li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 10px; align-items: center; font-size: .91rem; }
.pipeline progress { appearance: none; grid-column: 1 / -1; width: 100%; height: 7px; border: 0; border-radius: 9px; overflow: hidden; background: var(--accent-soft); accent-color: var(--accent); }
.pipeline progress::-webkit-progress-bar { background: var(--accent-soft); }
.pipeline progress::-webkit-progress-value { background: var(--accent); border-radius: 9px; }
.pipeline progress::-moz-progress-bar { background: var(--accent); }
.table-card { padding: 0; }
.table-card .card-head { padding: 18px 20px 10px; margin: 0; }
.table-scroll { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; text-align: left; font-size: .92rem; }
th { padding: 10px 15px; color: var(--muted); background: var(--surface-soft); font-size: .8125rem; font-weight: 730; }
td { border-top: 1px solid var(--line); padding: 11px 15px; vertical-align: middle; }
td:first-child, th:first-child { padding-left: 20px; }
td:last-child, th:last-child { padding-right: 20px; }
th[scope="row"] { background: transparent; border-top: 1px solid var(--line); font-size: .92rem; }
td a { color: var(--text); font-weight: 720; text-decoration: none; }
td a:hover { text-decoration: underline; }
.badge { display: inline-block; border-radius: 99px; padding: .26rem .58rem; background: var(--accent-soft); color: var(--accent); font-size: .8125rem; line-height: 1.25; font-weight: 720; white-space: nowrap; }
.badge.warning { background: var(--warn-bg); color: var(--warn); }
.badge.error { background: var(--error-bg); color: var(--error); }
.badge.neutral { background: var(--surface-soft); color: var(--muted); border: 1px solid var(--line); }
.empty { display: grid; justify-items: center; text-align: center; padding: 32px 20px; gap: 8px; color: var(--muted); }
.empty p { max-width: 45ch; }
.empty h3 { color: var(--text); }
.empty .button { margin-top: 5px; }
.tabs { display: flex; overflow: auto; gap: 8px; padding: 0 1px 6px; }
.tabs a { min-width: max-content; }
.tabs a[aria-current="page"] { background: var(--accent-soft); color: var(--accent); }
.pill-nav { gap: 2px; border-bottom: 1px solid var(--line); margin-bottom: 16px; }
.pill-nav a { border-radius: 7px 7px 0 0; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; gap: 12px 15px; }
.field { min-width: 0; display: grid; gap: 4px; font-size: .91rem; font-weight: 680; }
.field input:not([type="checkbox"]), .field select, .field textarea { appearance: none; color: var(--text); background: var(--surface); border: 1px solid var(--line); width: 100%; padding: .6rem .75rem; min-height: 43px; border-radius: 9px; font-weight: 450; }
.field input[type="file"] { max-width: 100%; }
.field select { padding-inline-end: 2rem; background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%); background-position: calc(100% - 16px) 50%, calc(100% - 11px) 50%; background-size: 5px 5px; background-repeat: no-repeat; }
.field textarea { min-height: 94px; resize: vertical; }
.field .check { display: flex; align-items: center; gap: 8px; min-height: 38px; }
input[type="checkbox"] { accent-color: var(--accent); width: 17px; height: 17px; }
fieldset { min-width: 0; margin: 0; padding: 0; border: 0; }
legend { font-weight: 740; padding: 0; margin-bottom: 10px; }
.field-group { border-top: 1px solid var(--line); padding-top: 15px; }
.contact-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 9px; align-items: end; }
.lookup-result { display: grid; gap: 5px; }
.lookup-result:empty { display: none; }
.lookup-notes { margin: 0; padding-inline-start: 18px; }
.journey, .journey-registration { display: grid; gap: 16px; }
.journey-banner { display: flex; align-items: center; gap: 12px; justify-content: space-between; padding: 10px 14px; border-radius: 11px; background: var(--accent-soft); font-size: .94rem; }
.journey-section { padding: clamp(17px, 3vw, 27px); }
.journey-fields { gap: 15px; }
.journey-fields .field { align-content: start; }
.journey-map { isolation: isolate; min-height: 340px; width: 100%; border: 1px solid var(--line); border-radius: 12px; background: var(--surface-soft); overflow: hidden; margin-top: 8px; }
.journey-map > p { padding: 16px; }
.journey-map-actions { justify-content: space-between; padding-top: 9px; }
.journey-manual { margin-top: 8px; }
.journey-manual .form-grid { margin-top: 8px; }
.journey-coverage-card summary, .sample-tools summary { cursor: pointer; font-weight: 680; color: var(--accent); }
.sample-tools .row { align-items: end; margin-top: 8px; }
.capture-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 182px), 1fr)); gap: 11px; }
.capture-card { display: grid; grid-template-rows: minmax(31px, auto) 1fr auto; align-content: start; min-width: 0; border: 1px solid var(--line); border-radius: 13px; padding: 11px; gap: 8px; }
.capture-card > header { align-content: flex-start; min-height: 58px; gap: 5px 8px; }
.capture-card h3 { font-size: .99rem; }
.capture-card .badge { max-width: 100%; }
.capture-area { position: relative; display: grid; place-content: center; justify-items: center; gap: 6px; min-height: 134px; padding: 12px; text-align: center; overflow-wrap: anywhere; background: var(--surface-soft); border: 1px dashed var(--line); border-radius: 10px; cursor: pointer; }
.capture-area > .icon { color: var(--accent); }
.capture-area > strong { font-size: .875rem; }
.capture-area > small { font-size: .8125rem; }
.capture-area:hover, .capture-area:focus-within, .photo-picker:focus-within { background: var(--accent-soft); outline: 2px solid var(--accent); outline-offset: 1px; }
.file-input { position: absolute; width: 1px; height: 1px; overflow: hidden; opacity: 0; padding: 0; }
.photo-picker { position: relative; cursor: pointer; }
.capture-actions { align-content: start; gap: 5px; }
.capture-actions .button { min-height: 38px; }
.capture-saved { display: grid; gap: 4px; min-width: 0; }
.capture-caption { font-size: .86rem; color: var(--muted); overflow-wrap: anywhere; }
.capture-caption:empty { display: none; }
.capture-caption.error-text, .error-text { color: var(--error); }
.journey-submit { margin-top: 3px; }
.plan-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 152px), 1fr)); gap: 9px; }
.plan-card { display: flex; align-items: flex-start; gap: 9px; min-width: 0; min-height: 84px; padding: 11px; border: 1px solid var(--line); border-radius: 10px; cursor: pointer; }
.plan-card :where(input[type="radio"]) { margin: 3px 0 0; flex: none; accent-color: var(--accent); }
.plan-card:has(input:checked) { background: var(--accent-soft); border-color: var(--accent); }
.plan-card:focus-within { outline: 2px solid var(--accent); outline-offset: 2px; }
.plan-card-content { min-width: 0; display: grid; gap: 3px; line-height: 1.3; overflow-wrap: anywhere; }
.icon.camera::before { inset: 4px 1px 1px; border: 1.5px solid currentColor; border-radius: 3px; }
.icon.camera::after { width: 6px; height: 6px; border: 1.5px solid currentColor; border-radius: 50%; left: 5.5px; top: 7px; }
.icon.file::before { inset: 1px 3px 1px 3px; border: 1.5px solid currentColor; border-radius: 2px; }
.icon.file::after { left: 6px; top: 6px; width: 5px; height: 1.5px; background: currentColor; box-shadow: 0 4px currentColor; }
.sections { display: grid; gap: 16px; }
.split { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: 15px; align-items: start; }
.divider { border: 0; border-top: 1px solid var(--line); width: 100%; margin: 0; }
.keyvals { margin: 0; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 6px 12px; font-size: .91rem; }
.keyvals dt { color: var(--muted); }
.keyvals dd { margin: 0; overflow-wrap: anywhere; }
.list-row { display: flex; align-items: center; flex-wrap: wrap; gap: 9px 15px; justify-content: space-between; padding: 12px 0; border-top: 1px solid var(--line); }
.list-row p { overflow-wrap: anywhere; }
.chart-canvas { width: 100%; display: block; height: 155px; }
.period-caption { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.period-caption strong { font-size: 1.45rem; letter-spacing: -.055em; }
.form-message:empty { display: none; }
.message { background: var(--accent-soft); padding: 11px 13px; border-radius: 9px; color: var(--text); font-size: .94rem; overflow-wrap: anywhere; }
.message.error { background: var(--error-bg); color: var(--error); }
.message.warning { background: var(--warn-bg); color: var(--warn); }
.toast { position: fixed; z-index: 12; bottom: 22px; right: 22px; max-width: min(420px, calc(100% - 44px)); background: var(--inverse); color: var(--on-inverse); padding: 12px 17px; border-radius: 11px; box-shadow: 0 12px 30px #0c201d33; overflow-wrap: anywhere; }
dialog { border: 1px solid var(--line); background: var(--surface); color: var(--text); border-radius: 17px; width: min(94%, 560px); max-height: min(88svh, 920px); box-shadow: 0 22px 80px #10221850; padding: 20px; }
dialog::backdrop { background: #07130cb0; }
body:has(dialog[open]) { overflow: hidden; }
.login { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr); min-height: 100svh; }
.login-brand { isolation: isolate; position: relative; display: grid; grid-template-rows: auto 1fr auto; justify-items: start; gap: 28px; background: linear-gradient(105deg, #21112def 0%, #371947e8 55%, #2f255eb8 100%), url('/assets/fiber-hero.png') center / cover, linear-gradient(120deg, #241434, #552469); color: var(--on-inverse); padding: clamp(28px, 5.6vw, 88px); min-width: 0; }
.login-brand .brand-logo { width: clamp(150px, 14vw, 200px); }
.login-identity { align-self: center; display: grid; gap: 16px; }
.login-identity h1 { font-size: clamp(3.25rem, 7.2vw, 7.35rem); max-width: 10ch; line-height: .93; color: var(--on-inverse); }
.login-identity p { color: #f0e8f5; max-width: 35ch; font-size: clamp(1rem, 1.6vw, 1.2rem); }
.login-identity .login-kicker { color: #a7ddf4; font-size: .8rem; letter-spacing: .14em; font-weight: 750; text-transform: uppercase; }
.login-tag { color: #f0e8f5; font-size: .82rem; }
.login-content { min-width: 0; display: grid; align-items: center; justify-items: center; padding: 30px clamp(24px, 5vw, 80px); }
.login-card { width: min(100%, 390px); display: grid; gap: 15px; }
.login-card h2 { font-size: clamp(2rem, 4vw, 3.4rem); letter-spacing: -.062em; }
.login-card form { margin-top: 8px; }
.login-card .button.primary { min-height: 48px; }
.public-body { min-height: 100svh; }
.public-bar { padding: 16px clamp(19px, 5vw, 72px); background: var(--inverse-deep); color: var(--on-inverse); }
.public-content { width: min(100%, 800px); margin: 0 auto; padding: clamp(22px, 5vw, 52px) clamp(15px, 4vw, 35px); }
.public-content h1 { font-size: clamp(2.05rem, 4.5vw, 3.38rem); }
.public-content .card { padding: clamp(16px, 3vw, 24px); }
.contract-text { white-space: pre-wrap; max-height: min(48svh, 500px); overflow: auto; padding: 15px; margin: 0; border: 1px solid var(--line); border-radius: 10px; background: var(--surface-soft); font-family: inherit; line-height: 1.55; overflow-wrap: anywhere; }
.signature-pad { display: block; width: 100%; height: 140px; background: #fff; border: 1px solid var(--line); border-radius: 8px; touch-action: none; }
.slot-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.slot-list button { justify-content: flex-start; text-align: left; }
.icon { width: 17px; height: 17px; display: inline-block; position: relative; flex: none; line-height: 1; }
.icon::before, .icon::after { position: absolute; content: ""; }
.icon.grid::before { left: 1px; top: 1px; width: 6px; height: 6px; border: 1.5px solid currentColor; border-radius: 1px; box-shadow: 8px 0 0 -1.5px var(--icon-bg, transparent); }
.icon.grid::after { right: 1px; bottom: 1px; width: 6px; height: 6px; border: 1.5px solid currentColor; border-radius: 1px; }
.icon.list::before { inset: 2px 1px; border: 1.5px solid currentColor; border-radius: 2px; }
.icon.list::after { top: 6px; left: 5px; width: 7px; height: 1.5px; background: currentColor; box-shadow: 0 4px currentColor; }
.icon.calendar::before { inset: 3px 1px 1px; border: 1.5px solid currentColor; border-radius: 2px; }
.icon.calendar::after { left: 2px; right: 2px; top: 7px; height: 1.5px; background: currentColor; box-shadow: 3px -6px 0 -0.3px currentColor; }
.icon.sliders::before { inset: 4px 1px; border-block: 1.5px solid currentColor; }
.icon.sliders::after { width: 4px; height: 4px; background: currentColor; border-radius: 50%; left: 4px; top: 2.5px; box-shadow: 5px 8px currentColor; }
.icon.chart::before { inset: 2px 1px 1px; border: 1.5px solid currentColor; border-width: 0 0 1.5px 1.5px; border-radius: 1px; }
.icon.chart::after { bottom: 4px; left: 5px; height: 5px; width: 2px; background: currentColor; box-shadow: 4px -2px currentColor, 8px -5px currentColor; }
.icon.plus::before, .icon.plus::after, .icon.close::before, .icon.close::after { background: currentColor; border-radius: 2px; }
.icon.plus::before, .icon.close::before { width: 13px; height: 1.7px; left: 2px; top: 7.5px; }
.icon.plus::after, .icon.close::after { width: 1.7px; height: 13px; left: 7.5px; top: 2px; }
.icon.close { transform: rotate(45deg); }
.icon.sun::before { inset: 4px; border: 1.5px solid currentColor; border-radius: 50%; }
.icon.sun::after { inset: 1px; border: 1.3px dashed currentColor; border-radius: 50%; }
.icon.exit::before { inset: 2px 8px 2px 1px; border: 1.5px solid currentColor; border-right: 0; border-radius: 2px; }
.icon.exit::after { inset: 7px 1px auto 7px; height: 3px; border-right: 3px solid currentColor; border-bottom: 1.5px solid currentColor; }
.icon.check::before { left: 4px; top: 3px; width: 7px; height: 10px; transform: rotate(40deg); border: solid currentColor; border-width: 0 1.7px 1.7px 0; }
.icon.alert::before { inset: 1px; border: 1.5px solid currentColor; border-radius: 50%; }
.icon.alert::after { top: 4px; bottom: 4px; left: 7.8px; width: 1.5px; border-top: 4px solid currentColor; border-bottom: 1.5px solid currentColor; }
.view-enter { animation: settle .24s ease-out both; }
@keyframes settle { from { opacity: .72; transform: translateY(3px); } to { opacity: 1; transform: translateY(0); } }
@media (max-width: 1080px) {
  :root { --sidebar: 191px; }
  .sidebar { padding-inline: 11px; }
  .dashboard-cols { grid-template-columns: 1fr; }
}
@media (max-width: 790px) {
  .workspace { display: block; }
  .sidebar { position: fixed; inset: auto 0 0; width: 100%; height: auto; padding: 5px 8px max(5px, env(safe-area-inset-bottom)); box-shadow: 0 -4px 18px #102d252b; }
  .sidebar :is(.brand, .brand-caption, .side-label, .side-end) { display: none; }
  .sidebar .desktop-only { display: none; }
  .side-nav { grid-auto-columns: minmax(0, 1fr); grid-auto-flow: column; gap: 2px; }
  .nav-link { flex-direction: column; justify-content: center; gap: 3px; padding: 5px 2px; font-size: .75rem; text-align: center; min-height: 51px; line-height: 1.12; }
  .nav-desktop { display: none; }
  .nav-mobile { display: inline; }
  .topbar { min-height: 58px; padding-inline: 15px; }
  .topbar .brand { display: inline-flex; }
  .topbar .section-name { display: none; }
  .top-profile .profile-text { display: none; }
  .content { padding: 14px 14px calc(77px + env(safe-area-inset-bottom)); }
  .toast { inset: auto 13px calc(77px + env(safe-area-inset-bottom)) auto; }
  .hero { min-height: 198px; border-radius: 16px; padding-inline: 19px; }
  .hero::after { opacity: .45; }
  .metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; }
  .metric { padding: 12px; }
  .metric dt { min-height: 2.1em; }
  .card { border-radius: 14px; padding: 15px; }
  .table-card { padding: 0; }
  .table-card tr { min-width: 0; }
  .table-card td, .table-card th { padding-inline: 9px; }
  .table-card :is(td, th):first-child { padding-left: 13px; }
  .table-card :is(td, th):last-child { padding-right: 13px; }
  .table-card .responsive-hide { display: none; }
  .table-card .badge { white-space: normal; }
  .split { grid-template-columns: 1fr; }
}
@media (max-width: 610px) {
  .login { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto 1fr; }
  .login-brand { padding: 19px 22px 22px; gap: 15px; }
  .login-identity { gap: 8px; }
  .login-identity h1 { max-width: none; font-size: clamp(2.62rem, 9vw, 4rem); }
  .login-tag { display: none; }
  .login-content { align-items: start; }
  .form-grid, .slot-list { grid-template-columns: 1fr; }
  .page-head { margin-bottom: 14px; }
  .journey, .journey-registration { gap: 12px; }
  .journey-banner { align-items: flex-start; flex-direction: column; }
  .journey-map { min-height: 292px; }
  .capture-grid { grid-template-columns: repeat(auto-fit, minmax(min(100%, 142px), 1fr)); gap: 8px; }
  .capture-card { padding: 9px; }
  .capture-actions .button { min-height: 42px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}
.homologation-banner { padding: .65rem 1rem; background: #fff1c2; color: #553900; text-align: center; font-size: .875rem; line-height: 1.4; }
.signature-area { display: grid; gap: .5rem; }
.signature-area > label { font-weight: 650; }
.signature-pad { display: block; width: 100%; height: auto; aspect-ratio: 10 / 3; background: #fff; border: 1px solid #aa9ab9; border-radius: 10px; cursor: crosshair; touch-action: none; }
