:root {
    --navy-950: #071d2e;
    --navy-900: #0d2a42;
    --navy-800: #123c5e;
    --navy-700: #1b5179;
    --paper: #f3f5f4;
    --surface: #ffffff;
    --ink: #132333;
    --muted: #6d7d8b;
    --line: #dce3e6;
    --green: #0b966f;
    --green-soft: #e5f7f0;
    --amber: #c88716;
    --amber-soft: #fff3d9;
    --blue: #256ca4;
    --blue-soft: #e9f3fb;
    --red: #d64b57;
    --shadow: 0 18px 50px rgba(9, 34, 52, .1);
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { min-width: 320px; overflow-x: hidden; background: var(--paper); }
body { min-height: 100vh; margin: 0; overflow-x: hidden; color: var(--ink); background: radial-gradient(circle at 84% 10%, rgba(41, 129, 143, .11), transparent 28%), linear-gradient(135deg, #edf1f0, #f8f8f5 45%, #edf3f4); font-family: "Aptos", "Trebuchet MS", sans-serif; }
button, input, select { font: inherit; }
button, select { cursor: pointer; }
svg { fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.ambient-grid { position: fixed; inset: 0; z-index: -1; opacity: .35; background-image: linear-gradient(rgba(18, 60, 94, .045) 1px, transparent 1px), linear-gradient(90deg, rgba(18, 60, 94, .045) 1px, transparent 1px); background-size: 30px 30px; mask-image: linear-gradient(to bottom, #000, transparent 88%); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }

.login-view { min-height: 100vh; display: grid; place-items: center; padding: 28px; }
.login-shell { width: min(980px, 100%); min-height: 610px; display: grid; grid-template-columns: 1.08fr .92fr; overflow: hidden; border: 1px solid rgba(255,255,255,.7); border-radius: 24px; background: var(--surface); box-shadow: 0 34px 100px rgba(6, 28, 44, .18); }
.login-brand-panel { position: relative; display: flex; flex-direction: column; justify-content: space-between; overflow: hidden; padding: 42px 46px; color: #202d39; background: linear-gradient(145deg, #fffaf3, #f5eee5 64%, #eef2ed); }
.login-brand-panel::before { content: ""; position: absolute; width: 350px; height: 350px; right: -180px; top: 90px; border: 1px solid rgba(202,74,58,.13); border-radius: 50%; box-shadow: 0 0 0 65px rgba(222,136,67,.04), 0 0 0 130px rgba(15,139,111,.025); }
.login-brand-panel::after { content: ""; position: absolute; inset: auto 0 0; height: 4px; background: linear-gradient(90deg, #e1a72e, #e15346, #cc2c62); }
.prototype-logo { position: relative; z-index: 1; display: block; width: 250px; height: 84px; overflow: hidden; border-radius: 12px; background: rgba(255,255,255,.78); box-shadow: 0 8px 28px rgba(92,55,36,.08); }
.prototype-logo img { display: block; width: 274px; height: 137px; max-width: none; object-fit: cover; transform: translate(-12px, -25px); }
.brand-message { position: relative; z-index: 1; max-width: 405px; margin: auto 0; }
.brand-kicker { display: inline-flex; padding: 7px 10px; border: 1px solid rgba(193,67,54,.2); border-radius: 99px; color: #a53831; background: rgba(216,88,62,.07); font-size: 9px; font-weight: 900; letter-spacing: .16em; }
.brand-message h1 { max-width: 390px; margin: 20px 0 17px; font: 800 clamp(32px, 4vw, 47px)/1.02 "Bahnschrift SemiCondensed", "Aptos Display", sans-serif; letter-spacing: -.045em; }
.brand-message p { max-width: 370px; margin: 0; color: #66747b; font-size: 14px; line-height: 1.65; }
.security-note { position: relative; z-index: 1; display: flex; align-items: center; gap: 12px; padding-top: 24px; border-top: 1px solid rgba(51,63,70,.12); }
.security-note > svg { width: 27px; color: #0b966f; }
.security-note span { display: grid; gap: 3px; }
.security-note strong { font-size: 11px; }
.security-note small { color: #718087; font-size: 9px; }
.login-form-panel { display: flex; flex-direction: column; justify-content: center; padding: 58px 54px; background: linear-gradient(160deg, #fff, #fbfcfb); }
.login-heading { display: flex; align-items: center; gap: 13px; }
.institution-mark { display: grid; place-items: center; width: 39px; height: 39px; border-radius: 11px; color: #fff; background: var(--navy-900); font: 850 11px/1 "Bahnschrift", sans-serif; box-shadow: 0 7px 18px rgba(13,42,66,.2); }
.login-heading div { display: grid; gap: 3px; }
.login-heading small { color: var(--green); font-size: 8px; font-weight: 900; letter-spacing: .15em; }
.login-heading strong { font: 800 24px/1.1 "Bahnschrift SemiCondensed", sans-serif; }
.login-form-panel > p { margin: 20px 0 24px; color: var(--muted); font-size: 12px; line-height: 1.55; }
#loginForm { display: grid; gap: 15px; }
#loginForm > label { display: grid; gap: 7px; color: #3d5060; font-size: 10px; font-weight: 850; }
.input-control { position: relative; }
.input-control > svg { position: absolute; left: 14px; top: 50%; width: 18px; color: #7990a0; transform: translateY(-50%); }
.input-control input { width: 100%; height: 50px; padding: 0 44px; border: 1px solid #cbd6dc; border-radius: 11px; color: var(--ink); background: #fff; outline: none; font-size: 12px; font-weight: 700; transition: border-color .16s, box-shadow .16s; }
.input-control input:focus { border-color: #4d87ad; box-shadow: 0 0 0 4px rgba(45, 112, 156, .1); }
.password-toggle { position: absolute; right: 8px; top: 7px; display: grid; place-items: center; width: 36px; height: 36px; border: 0; border-radius: 8px; color: #78909e; background: transparent; }
.password-toggle:hover { color: var(--navy-800); background: #eef4f6; }
.password-toggle svg { width: 18px; }
.login-options { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.login-options button { border: 0; color: var(--navy-700); background: transparent; font-size: 9px; font-weight: 850; }
.remember { display: flex !important; grid-template-columns: auto auto; align-items: center; gap: 7px !important; color: var(--muted) !important; font-size: 9px !important; font-weight: 750 !important; }
.remember input { position: absolute; opacity: 0; }
.remember span { width: 15px; height: 15px; border: 1px solid #b8c5ce; border-radius: 4px; background: #fff; }
.remember input:checked + span { border-color: var(--green); background: var(--green); box-shadow: inset 0 0 0 3px #fff; }
.login-button { min-height: 52px; display: flex; align-items: center; justify-content: space-between; margin-top: 4px; padding: 0 18px; border: 0; border-radius: 11px; color: #fff; background: linear-gradient(135deg, var(--navy-800), var(--navy-950)); box-shadow: 0 13px 28px rgba(10, 43, 67, .22); font-size: 11px; font-weight: 850; transition: transform .16s, box-shadow .16s; }
.login-button:hover { transform: translateY(-1px); box-shadow: 0 16px 32px rgba(10, 43, 67, .26); }
.login-button b { font-size: 18px; font-weight: 500; }
.login-message { min-height: 14px; margin: -3px 0 0; color: var(--red); font-size: 9px; font-weight: 750; }
.demo-notice { display: flex; gap: 10px; margin-top: 21px; padding: 12px; border: 1px solid #d8e3e6; border-radius: 10px; color: var(--muted); background: #f6f9f8; }
.demo-notice > span { display: grid; place-items: center; flex: 0 0 auto; width: 20px; height: 20px; border-radius: 50%; color: #fff; background: var(--green); font: 800 10px/1 Georgia, serif; }
.demo-notice p { display: grid; gap: 2px; margin: 0; font-size: 9px; line-height: 1.4; }
.demo-notice strong { color: #405362; }
.password-dialog { width: min(470px, calc(100% - 28px)); padding: 0; border: 0; border-radius: 20px; background: transparent; box-shadow: 0 30px 90px rgba(7,29,46,.3); }
.password-dialog::backdrop { background: rgba(7,29,46,.62); backdrop-filter: blur(5px); }
.password-card { display: grid; gap: 16px; padding: 34px; border-top: 4px solid #d74a42; border-radius: 18px; background: #fff; }
.password-heading span { color: #b43e38; font-size: 9px; font-weight: 900; letter-spacing: .15em; }
.password-heading h2 { margin: 8px 0 7px; font: 800 28px/1.05 "Bahnschrift SemiCondensed", sans-serif; }
.password-heading p, .password-rule { margin: 0; color: var(--muted); font-size: 11px; line-height: 1.5; }
.password-card > label { display: grid; gap: 7px; color: #3d5060; font-size: 10px; font-weight: 850; }
.password-rule { padding: 10px 12px; border-radius: 9px; background: #f5f7f6; }

.dashboard-view { min-height: 100vh; }
.topbar { border-bottom: 1px solid #d8e1e4; background: rgba(255,255,255,.92); backdrop-filter: blur(14px); }
.topbar-inner { width: min(1480px, calc(100% - 40px)); min-height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 24px; margin: auto; }
.compact-brand { display: flex; align-items: center; gap: 14px; }
.compact-logo { display: block; width: 132px; height: 43px; overflow: hidden; border-radius: 8px; background: #fff; }
.compact-logo img { display: block; width: 145px; height: 72px; max-width: none; object-fit: cover; transform: translate(-6px, -15px); }
.compact-brand > span { display: grid; gap: 2px; padding-left: 14px; border-left: 1px solid #d7e0e3; }
.compact-brand strong { font: 800 14px/1 "Bahnschrift SemiCondensed", sans-serif; }
.compact-brand small { color: var(--muted); font-size: 8px; }
.account-area { display: flex; align-items: center; gap: 13px; }
.realtime { display: flex; align-items: center; gap: 7px; padding: 7px 10px; border: 1px solid #bfe3d7; border-radius: 99px; color: #167357; background: #eff9f5; font-size: 8px; font-weight: 850; }
.realtime i { width: 7px; height: 7px; border-radius: 50%; background: #14a879; box-shadow: 0 0 0 4px rgba(20,168,121,.12); animation: live-pulse 1.8s ease infinite; }
@keyframes live-pulse { 50% { box-shadow: 0 0 0 7px rgba(20,168,121,0); } }
.account-copy { display: grid; gap: 2px; padding-left: 13px; border-left: 1px solid #d8e1e4; text-align: right; }
.account-copy span { font-size: 8px; font-weight: 900; }
.account-copy small { color: var(--muted); font-size: 8px; }
.account-area > button { display: grid; place-items: center; width: 35px; height: 35px; border: 1px solid #d5dfe4; border-radius: 9px; color: #587080; background: #fff; }
.account-area > button:hover { color: var(--red); border-color: #efc2c7; background: #fff6f7; }
.account-area > button svg { width: 17px; }
.workspace { width: min(1480px, calc(100% - 40px)); margin: auto; padding: 34px 0 48px; }
.workspace-heading { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 21px; }
.page-kicker { color: var(--green); font-size: 8px; font-weight: 900; letter-spacing: .15em; }
.workspace-heading h1 { margin: 7px 0 5px; font: 800 clamp(28px, 3vw, 38px)/1 "Bahnschrift SemiCondensed", sans-serif; letter-spacing: -.035em; }
.workspace-heading p { margin: 0; color: var(--muted); font-size: 11px; }
.last-update { display: flex; align-items: center; gap: 9px; color: var(--muted); font-size: 8px; font-weight: 750; }
.last-update svg { width: 20px; color: var(--green); }
.last-update span { display: grid; gap: 2px; }
.last-update small { color: var(--ink); font-size: 9px; font-weight: 900; }
.metric-strip { display: grid; grid-template-columns: repeat(4, 1fr); overflow: hidden; margin-bottom: 15px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); box-shadow: 0 9px 30px rgba(11, 39, 56, .05); }
.metric-strip article { display: flex; align-items: center; gap: 12px; min-width: 0; padding: 15px 18px; border-right: 1px solid var(--line); }
.metric-strip article:last-child { border-right: 0; }
.metric-icon { display: grid; place-items: center; flex: 0 0 auto; width: 37px; height: 37px; border-radius: 10px; }
.metric-icon svg { width: 20px; }
.metric-icon.blue { color: var(--blue); background: var(--blue-soft); }
.metric-icon.green, .metric-icon.teal { color: var(--green); background: var(--green-soft); }
.metric-icon.amber { color: var(--amber); background: var(--amber-soft); }
.metric-strip article > div { min-width: 0; display: grid; grid-template-columns: auto 1fr; align-items: end; column-gap: 8px; }
.metric-strip small { grid-column: 1 / 3; color: var(--muted); font-size: 7px; font-weight: 900; letter-spacing: .05em; }
.metric-strip strong { font: 800 24px/1 "Bahnschrift SemiCondensed", sans-serif; }
.metric-strip p { overflow: hidden; margin: 0 0 2px; color: #84929c; font-size: 8px; text-overflow: ellipsis; white-space: nowrap; }
.data-panel { min-width: 0; overflow: hidden; border: 1px solid #d7e0e3; border-radius: 15px; background: var(--surface); box-shadow: var(--shadow); }
.filter-bar { display: flex; align-items: end; justify-content: space-between; gap: 24px; padding: 15px 17px; border-bottom: 1px solid var(--line); background: linear-gradient(180deg, #fff, #fbfcfc); }
.period-control { display: flex; align-items: end; gap: 8px; }
.filter-label { align-self: center; margin-right: 7px; color: var(--muted); font-size: 7px; font-weight: 900; letter-spacing: .09em; }
.period-control label { display: grid; gap: 4px; color: #6d7d89; font-size: 7px; font-weight: 900; text-transform: uppercase; }
.period-control select { min-width: 78px; height: 36px; padding: 0 29px 0 10px; border: 1px solid #cad6dc; border-radius: 8px; color: var(--ink); background: #fff; outline: none; font-size: 10px; font-weight: 850; }
.period-control select:focus { border-color: #4b85aa; box-shadow: 0 0 0 3px rgba(37,108,164,.09); }
.search-control { position: relative; width: min(410px, 42%); }
.filter-actions { display: flex; align-items: center; justify-content: flex-end; gap: 9px; flex: 1; }
.filter-actions .search-control { width: min(410px, 100%); flex: 1; }
.report-button, .detail-report-button { display: inline-flex; align-items: center; justify-content: center; gap: 7px; min-height: 40px; padding: 0 14px; border: 1px solid #b7d9ce; border-radius: 9px; color: #087456; background: #eff9f5; font-size: 8px; font-weight: 900; white-space: nowrap; }
.report-button:hover, .detail-report-button:hover { border-color: #65b49b; background: #e5f6ef; }
.report-button svg, .detail-report-button svg { width: 15px; }
.search-control svg { position: absolute; left: 12px; top: 50%; width: 17px; color: #768c9b; transform: translateY(-50%); }
.search-control input { width: 100%; height: 40px; padding: 0 66px 0 38px; border: 1px solid #cbd6dc; border-radius: 9px; outline: none; font-size: 10px; font-weight: 700; }
.search-control input:focus { border-color: #4b85aa; box-shadow: 0 0 0 3px rgba(37,108,164,.09); }
.search-control kbd { position: absolute; right: 8px; top: 50%; padding: 4px 6px; border: 1px solid #d2dce1; border-radius: 5px; color: #81909a; background: #f5f7f7; font: 700 7px/1 "Aptos", sans-serif; transform: translateY(-50%); }
.table-caption { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 13px 17px; border-bottom: 1px solid var(--line); }
.table-caption > div:first-child { display: grid; gap: 3px; }
.table-caption strong { font-size: 11px; }
.table-caption > div:first-child span { color: var(--muted); font-size: 8px; }
.legend { display: flex; align-items: center; gap: 13px; color: var(--muted); font-size: 7px; font-weight: 750; }
.legend span { display: flex; align-items: center; gap: 5px; }
.signal { display: inline-block; width: 7px; height: 7px; border-radius: 50%; }
.signal.sent { background: #2a76b1; }
.signal.opened { background: #d39a27; }
.signal.confirmed { background: #0aa278; }
.signal.downloaded { background: #7656c8; }
.table-wrap { width: 100%; max-width: 100%; overflow-x: auto; overscroll-behavior-inline: contain; }
table { width: 100%; min-width: 1120px; border-collapse: collapse; }
th { height: 39px; padding: 0 13px; color: #687a88; background: #f3f6f7; font-size: 7px; font-weight: 900; text-align: left; text-transform: uppercase; letter-spacing: .035em; white-space: nowrap; }
td { height: 62px; padding: 8px 13px; border-top: 1px solid #e2e8ea; color: #243747; font-size: 9px; font-weight: 750; vertical-align: middle; }
tbody tr { cursor: pointer; transition: background .13s; }
tbody tr:hover { background: #f7faf9; }
.mono { color: var(--navy-800); font-family: "Cascadia Mono", Consolas, monospace; font-size: 8px; font-weight: 800; }
.recipient strong { display: block; max-width: 230px; overflow: hidden; color: var(--ink); font-size: 9px; text-overflow: ellipsis; white-space: nowrap; }
.recipient small { display: block; margin-top: 4px; color: #8a98a1; font-size: 7px; }
.channel-cell { display: grid; gap: 5px; }
.channel-value { display: flex; align-items: center; gap: 5px; color: #304756; white-space: nowrap; }
.channel-value svg { width: 13px; color: var(--green); }
.event-icons { display: flex; gap: 4px; }
.event-icon { display: grid; place-items: center; width: 18px; height: 18px; border: 1px solid; border-radius: 6px; }
.event-icon svg { width: 10px; }
.event-icon.sent { color: #256ca4; border-color: #b7d4e8; background: var(--blue-soft); }
.event-icon.opened { color: #a8700e; border-color: #ead394; background: var(--amber-soft); }
.event-icon.confirmed { color: #087456; border-color: #a9dfcc; background: var(--green-soft); }
.event-icon.downloaded { color: #6448ad; border-color: #cfc2ed; background: #f1edfb; }
.event-icon.off { color: #a5b0b7; border-color: #dce2e5; background: #f5f7f7; opacity: .58; }
.status-pill { display: inline-flex; align-items: center; gap: 6px; min-height: 24px; padding: 0 9px; border: 1px solid; border-radius: 99px; font-size: 7px; font-weight: 900; white-space: nowrap; }
.status-pill::before { content: ""; width: 5px; height: 5px; border-radius: 50%; }
.status-pill.intimado { color: #087456; border-color: #a9dfcc; background: var(--green-soft); }
.status-pill.intimado::before { background: var(--green); }
.status-pill.ciclo { color: #1f6294; border-color: #bad5e7; background: var(--blue-soft); }
.status-pill.ciclo::before { background: var(--blue); }
.status-pill.pendente { color: #9a6811; border-color: #ead394; background: var(--amber-soft); }
.status-pill.pendente::before { background: var(--amber); }
.row-action { display: grid; place-items: center; width: 28px; height: 28px; border: 1px solid #d3dee3; border-radius: 8px; color: var(--navy-700); background: #fff; }
.row-action svg { width: 13px; }
.empty-state { display: grid; justify-items: center; gap: 6px; padding: 50px; color: var(--muted); text-align: center; }
.empty-state > span { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; color: var(--green); background: var(--green-soft); font-size: 20px; }
.empty-state strong { color: var(--ink); font-size: 11px; }
.empty-state p { margin: 0; font-size: 8px; }
.table-footer { min-height: 47px; display: flex; align-items: center; justify-content: space-between; padding: 0 17px; border-top: 1px solid var(--line); color: var(--muted); font-size: 8px; }
.table-footer > div { display: flex; align-items: center; gap: 9px; }
.table-footer button { width: 28px; height: 28px; border: 1px solid #d7e0e3; border-radius: 7px; color: #81909a; background: #f9fafa; }
.table-footer strong { color: #405564; font-size: 8px; }

.detail-dialog { width: min(650px, calc(100% - 24px)); max-height: calc(100dvh - 24px); padding: 0; overflow: hidden; border: 0; border-radius: 18px; color: var(--ink); background: transparent; box-shadow: 0 30px 100px rgba(5,26,42,.35); }
.detail-dialog::backdrop { background: rgba(5, 24, 38, .6); backdrop-filter: blur(5px); }
.detail-card { position: relative; max-height: calc(100dvh - 24px); overflow-y: auto; background: #fff; }
.detail-heading { padding: 28px 31px 22px; color: #fff; background: linear-gradient(135deg, var(--navy-950), var(--navy-800)); }
.detail-heading > span { color: #8fe0ce; font-size: 8px; font-weight: 900; letter-spacing: .12em; }
.detail-heading h2 { margin: 8px 0 5px; font: 800 25px/1 "Bahnschrift SemiCondensed", sans-serif; }
.detail-heading p { margin: 0; color: #bfd0dc; font-size: 10px; }
.detail-close { position: absolute; z-index: 2; top: 17px; right: 18px; display: grid; place-items: center; width: 32px; height: 32px; border: 1px solid rgba(255,255,255,.2); border-radius: 9px; color: #fff; background: rgba(255,255,255,.08); font-size: 20px; }
.detail-summary { display: grid; grid-template-columns: repeat(3,1fr); border-bottom: 1px solid var(--line); background: #f8faf9; }
.detail-summary span { display: grid; gap: 4px; padding: 14px 18px; border-right: 1px solid var(--line); }
.detail-summary span:last-child { border-right: 0; }
.detail-summary small { color: var(--muted); font-size: 7px; font-weight: 900; }
.detail-summary strong { font-size: 9px; }
.timeline { display: grid; padding: 22px 31px 8px; }
.timeline-item { position: relative; display: grid; grid-template-columns: 28px 1fr auto; gap: 11px; min-height: 60px; }
.timeline-item:not(:last-child)::before { content: ""; position: absolute; left: 13px; top: 29px; bottom: 0; width: 1px; background: #d8e3e5; }
.timeline-icon { z-index: 1; display: grid; place-items: center; width: 28px; height: 28px; border: 1px solid #b7dece; border-radius: 9px; color: var(--green); background: var(--green-soft); }
.timeline-icon svg { width: 14px; }
.timeline-copy { display: grid; align-content: start; gap: 3px; padding-top: 2px; }
.timeline-copy strong { font-size: 9px; }
.timeline-copy span { color: var(--muted); font-size: 8px; }
.timeline-item time { padding-top: 4px; color: #788894; font-size: 8px; font-weight: 800; }
.detail-note { display: flex; align-items: center; gap: 10px; margin: 10px 31px 28px; padding: 12px; border: 1px solid #d7e4e2; border-radius: 10px; color: var(--muted); background: #f4f9f7; }
.detail-report-button { width: calc(100% - 62px); margin: 4px 31px 8px; }
.empty-timeline { padding: 18px 0 28px; color: var(--muted); font-size: 9px; text-align: center; }
.detail-note svg { width: 23px; color: var(--green); }
.detail-note span { display: grid; gap: 3px; font-size: 8px; }
.detail-note strong { color: #345448; font-size: 9px; }

@media (max-width: 900px) {
    .login-shell { grid-template-columns: 1fr; }
    .login-brand-panel { min-height: 290px; padding: 30px; }
    .brand-message { margin: 35px 0; }
    .brand-message h1 { font-size: 35px; }
    .login-form-panel { padding: 40px 30px; }
    .metric-strip { grid-template-columns: repeat(2,1fr); }
    .metric-strip article:nth-child(2) { border-right: 0; }
    .metric-strip article:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
    .filter-bar { align-items: stretch; flex-direction: column; }
    .search-control { width: 100%; }
    .filter-actions { width: 100%; }
    .table-caption { align-items: flex-start; flex-direction: column; }
    .legend { flex-wrap: wrap; }
    .realtime { display: none; }
}

@media (max-width: 620px) {
    .login-view { padding: 10px; }
    .login-shell { border-radius: 17px; }
    .login-brand-panel { min-height: 250px; padding: 25px 22px; }
    .prototype-logo { width: 170px; height: 51px; }
    .prototype-logo img { width: 184px; height: 92px; transform: translate(-7px, -20px); }
    .brand-message { margin: 28px 0; }
    .brand-message h1 { margin: 13px 0 10px; font-size: 28px; }
    .brand-message p { font-size: 11px; }
    .security-note { display: none; }
    .login-form-panel { padding: 32px 22px; }
    .topbar-inner, .workspace { width: calc(100% - 22px); }
    .topbar-inner { min-height: 64px; }
    .compact-logo { width: 105px; height: 35px; }
    .compact-logo img { width: 115px; height: 58px; transform: translate(-5px, -12px); }
    .compact-brand > span:last-child, .account-copy { display: none; }
    .workspace { padding-top: 25px; }
    .workspace-heading { align-items: flex-start; flex-direction: column; }
    .metric-strip { grid-template-columns: 1fr 1fr; }
    .metric-strip article { padding: 12px; }
    .metric-strip p { display: none; }
    .filter-bar { padding: 13px; }
    .period-control { display: grid; grid-template-columns: repeat(3, 1fr); width: 100%; }
    .filter-label { grid-column: 1 / 4; margin: 0 0 2px; }
    .period-control select { width: 100%; min-width: 0; }
    .table-caption { padding: 13px; }
    .table-footer { padding: 0 13px; }
    .detail-summary { grid-template-columns: 1fr; }
    .detail-summary span { border-right: 0; border-bottom: 1px solid var(--line); }
    .detail-summary span:last-child { border-bottom: 0; }
    .timeline { padding: 20px 19px 7px; }
    .timeline-item { grid-template-columns: 28px 1fr; }
    .timeline-item time { grid-column: 2; margin-top: -26px; padding-top: 0; }
    .detail-note { margin: 10px 19px 22px; }
    .filter-actions { align-items: stretch; flex-direction: column; }
    .report-button { width: 100%; }
    .detail-report-button { width: calc(100% - 38px); margin-right: 19px; margin-left: 19px; }
}
