@font-face { font-family: Inter; src: url('../fonts/InterVariable.woff2') format('woff2'); font-style: normal; font-weight: 100 900; font-display: swap; }

:root {
    --ink: #18181b;
    --ink-soft: #52525b;
    --muted: #8a8f98;
    --line: #e7e7e9;
    --line-soft: #f0f0f2;
    --surface: #ffffff;
    --canvas: #fafafa;
    --accent: #a87b2d;
    --accent-soft: #f6f1e7;
    --success: #15803d;
    --danger: #b3261e;
    --warning: #a16207;
    --shadow: none;
    font-family: Inter, Arial, sans-serif;
    color: var(--ink);
    background: var(--canvas);
    -webkit-font-smoothing: antialiased;
}

* { box-sizing: border-box; }
html { min-height: 100%; }
body { margin: 0; min-height: 100vh; background: var(--canvas); font-size: 14px; line-height: 1.5; }
button, input, select, textarea { font: inherit; }
a { color: inherit; text-decoration: none; }

/* Layout */
.app-shell { min-height: 100vh; display: grid; grid-template-columns: 248px minmax(0, 1fr); }
.sidebar { position: sticky; top: 0; height: 100vh; display: flex; flex-direction: column; padding: 20px 14px; border-right: 1px solid var(--line); background: var(--surface); overflow-y: auto; z-index: 20; }
.brand { display: flex; align-items: center; gap: 10px; padding: 4px 8px 22px; }
.brand-logo { width: 30px; height: 38px; object-fit: contain; }
.brand strong, .brand small { display: block; }
.brand strong { font-size: 12px; font-weight: 700; letter-spacing: 1.1px; }
.brand small { margin-top: 2px; color: var(--muted); font-size: 9px; letter-spacing: 1.1px; }
.primary-nav { display: grid; gap: 1px; }
.nav-section { margin: 20px 10px 6px; color: var(--muted); font-size: 10px; font-weight: 600; letter-spacing: .8px; text-transform: uppercase; }
.nav-item { position: relative; min-height: 36px; display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 6px; color: var(--ink-soft); font-size: 13px; transition: background .12s ease, color .12s ease; }
a.nav-item:hover { color: var(--ink); background: var(--line-soft); }
.nav-item.active { color: var(--ink); background: var(--line-soft); font-weight: 600; }
.nav-item.active::before { content: ''; position: absolute; left: 0; top: 9px; bottom: 9px; width: 2px; border-radius: 2px; background: var(--accent); }
.nav-icon { min-width: 20px; height: 20px; display: grid; place-items: center; border-radius: 5px; color: var(--muted); background: var(--line-soft); font-size: 9px; font-weight: 600; }
.nav-item.active .nav-icon { color: var(--accent); background: var(--accent-soft); }
.nav-disabled { opacity: .5; cursor: not-allowed; }
.nav-disabled small { margin-left: auto; color: var(--muted); font-size: 9px; }
.nav-group summary { cursor: pointer; list-style: none; }
.nav-group summary::-webkit-details-marker { display: none; }
.nav-submenu { display: grid; gap: 1px; margin: 2px 0 6px 30px; padding-left: 10px; border-left: 1px solid var(--line); }
.nav-submenu a { padding: 6px 8px; border-radius: 5px; color: var(--muted); font-size: 12px; }
.nav-submenu a:hover { color: var(--ink); background: var(--line-soft); }
.nav-submenu a.active { color: var(--ink); font-weight: 600; }
.sidebar-footer { margin-top: auto; padding: 24px 10px 4px; }
.sidebar-footer strong, .sidebar-footer span { display: block; }
.sidebar-footer strong { color: var(--ink-soft); font-size: 11px; font-weight: 600; }
.sidebar-footer span { margin-top: 2px; color: var(--muted); font-size: 10px; }
.leather-outline { display: none; }

.main-column { min-width: 0; }
.topbar { position: sticky; top: 0; z-index: 15; min-height: 58px; display: flex; align-items: center; gap: 12px; padding: 0 24px; border-bottom: 1px solid var(--line); background: var(--surface); }
.icon-button { width: 34px; height: 34px; display: none; place-items: center; border: 1px solid var(--line); border-radius: 6px; color: var(--ink); background: var(--surface); cursor: pointer; }
.global-search { width: min(420px, 40vw); display: flex; align-items: center; gap: 8px; padding: 0 12px; border: 1px solid var(--line); border-radius: 6px; background: var(--canvas); color: var(--muted); }
.global-search input { width: 100%; height: 32px; border: 0; outline: 0; background: transparent; color: var(--ink-soft); font-size: 13px; }
.topbar-spacer { flex: 1; }
.environment-pill { padding: 3px 9px; border: 1px solid var(--line); border-radius: 99px; color: var(--muted); background: var(--surface); font-size: 10px; font-weight: 600; letter-spacing: .4px; text-transform: uppercase; }
.user-menu { position: relative; }
.user-menu summary { display: flex; align-items: center; gap: 9px; cursor: pointer; list-style: none; }
.user-menu summary::-webkit-details-marker { display: none; }
.user-menu strong, .user-menu small { display: block; max-width: 150px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.user-menu strong { font-size: 13px; font-weight: 600; }
.user-menu small { color: var(--muted); font-size: 11px; }
.avatar { width: 30px; height: 30px; display: grid; place-items: center; border-radius: 50%; color: var(--ink); background: var(--line-soft); font-size: 12px; font-weight: 600; }
.user-menu-panel { position: absolute; top: 44px; right: 0; width: 240px; display: grid; gap: 8px; padding: 14px; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); box-shadow: 0 8px 24px rgba(24,24,27,.08); }
.user-menu-panel p { margin: 0 0 4px; color: var(--muted); font-size: 12px; overflow-wrap: anywhere; }

.content { padding: 28px 24px 40px; }
.page-heading { display: flex; justify-content: space-between; align-items: flex-start; gap: 20px; margin-bottom: 20px; }
.page-heading h1 { margin: 0 0 4px; font-size: 22px; font-weight: 600; letter-spacing: -.2px; }
.page-heading p:not(.eyebrow) { margin: 0; color: var(--ink-soft); font-size: 13px; }
.eyebrow { margin: 0 0 6px; color: var(--muted); font-size: 10px; font-weight: 600; letter-spacing: .9px; text-transform: uppercase; }
.eyebrow.gold { color: var(--accent); }
.date-card { min-width: 140px; padding: 8px 12px; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); }
.date-card span, .date-card strong { display: block; }
.date-card span { color: var(--muted); font-size: 10px; letter-spacing: .4px; text-transform: uppercase; }
.date-card strong { margin-top: 2px; font-size: 13px; font-weight: 600; }

/* Metrics */
.metric-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-bottom: 12px; }
.metric-card { display: flex; align-items: flex-start; gap: 12px; padding: 18px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); }
.metric-icon { min-width: 30px; height: 30px; display: grid; place-items: center; border-radius: 7px; color: var(--muted); background: var(--line-soft); font-size: 10px; font-weight: 600; }
.metric-card p, .metric-card strong, .metric-card small { display: block; }
.metric-card p { margin: 0; color: var(--muted); font-size: 12px; }
.metric-card strong { margin: 6px 0 2px; font-size: 26px; font-weight: 600; letter-spacing: -.5px; }
.metric-card small { color: var(--muted); font-size: 11px; }

/* Panels */
.dashboard-grid { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(300px, .75fr); gap: 12px; margin-bottom: 12px; }
.dashboard-grid.lower-grid { grid-template-columns: minmax(0, 1.25fr) minmax(320px, .75fr); }
.panel { border: 1px solid var(--line); border-radius: 10px; background: var(--surface); }
.panel-heading { min-height: 52px; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 18px; border-bottom: 1px solid var(--line); }
.panel-heading h2 { margin: 0; font-size: 14px; font-weight: 600; }
.status { display: inline-flex; align-items: center; justify-content: center; padding: 3px 8px; border-radius: 99px; font-size: 10px; font-weight: 600; white-space: nowrap; }
.status-active { color: var(--success); background: #eef7f1; }
.status-muted { color: var(--muted); background: var(--line-soft); }
.status-warning { color: var(--warning); background: #fdf6e7; }

.phase-track { padding: 6px 18px 16px; }
.phase-step { position: relative; display: flex; gap: 12px; padding: 9px 0; }
.phase-step:not(:last-child)::after { content: ''; position: absolute; left: 13px; top: 36px; bottom: -6px; width: 1px; background: var(--line); }
.phase-step > span { z-index: 1; width: 27px; height: 27px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; color: var(--muted); background: var(--surface); font-size: 10px; font-weight: 600; }
.phase-step.current > span { color: #fff; border-color: var(--accent); background: var(--accent); }
.phase-step strong, .phase-step small { display: block; }
.phase-step strong { font-size: 12px; font-weight: 600; }
.phase-step small { margin-top: 2px; color: var(--muted); font-size: 11px; }

.readiness-panel { padding-bottom: 16px; }
.readiness-score { display: flex; align-items: baseline; gap: 8px; padding: 18px 18px 4px; }
.readiness-score strong { font-size: 30px; font-weight: 600; letter-spacing: -.5px; }
.readiness-score span { color: var(--muted); font-size: 12px; }
.check-list { display: grid; gap: 8px; margin: 12px 18px 16px; padding: 0; list-style: none; }
.check-list li { position: relative; padding-left: 24px; color: var(--muted); font-size: 12px; }
.check-list li::before { content: ''; position: absolute; left: 0; top: 2px; width: 14px; height: 14px; border: 1px solid var(--line); border-radius: 50%; }
.check-list li.done { color: var(--ink-soft); }
.check-list li.done::before { content: '\2713'; display: grid; place-items: center; color: #fff; border-color: var(--success); background: var(--success); font-size: 9px; }
.policy-note { display: flex; align-items: center; gap: 10px; margin: 0 18px; padding: 12px; border: 1px solid var(--line); border-radius: 8px; }
.policy-note strong { color: var(--ink); font-size: 18px; font-weight: 600; }
.policy-note span { color: var(--muted); font-size: 11px; }

.quick-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; padding: 16px; }
.quick-link { display: flex; align-items: center; gap: 10px; padding: 11px; border: 1px solid var(--line); border-radius: 8px; transition: background .12s ease; }
.quick-link:hover { background: var(--line-soft); }
.quick-link > span { width: 28px; height: 28px; display: grid; place-items: center; border-radius: 7px; color: var(--muted); background: var(--line-soft); font-size: 9px; font-weight: 600; }
.quick-link div { min-width: 0; flex: 1; }
.quick-link strong, .quick-link small { display: block; }
.quick-link strong { font-size: 12px; font-weight: 600; }
.quick-link small { margin-top: 2px; color: var(--muted); font-size: 11px; }
.quick-link b { color: var(--muted); font-weight: 400; }

.activity-list { padding: 4px 18px 14px; }
.activity-item { display: grid; grid-template-columns: 8px minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--line-soft); }
.activity-item:last-child { border-bottom: 0; }
.activity-dot { width: 5px; height: 5px; border-radius: 50%; background: var(--muted); }
.activity-item strong, .activity-item small { display: block; }
.activity-item strong { font-size: 12px; font-weight: 600; }
.activity-item small, .activity-item time { color: var(--muted); font-size: 11px; }

/* Forms */
.master-grid { display: grid; grid-template-columns: minmax(280px, 340px) minmax(0, 1fr); gap: 12px; align-items: start; }
.form-panel { position: sticky; top: 74px; }
.stack-form { display: grid; gap: 14px; padding: 18px; }
.stack-form label:not(.check-row) { display: grid; gap: 6px; color: var(--ink-soft); font-size: 12px; font-weight: 500; }
.stack-form input:not([type="checkbox"]), .stack-form select, .stack-form textarea,
.settings-form input, .settings-form select, .settings-form textarea,
.filter-bar input, .filter-bar select {
    width: 100%; min-height: 38px; padding: 9px 11px; border: 1px solid var(--line); border-radius: 6px;
    color: var(--ink); background: var(--surface); font-size: 13px; outline: none;
    transition: border-color .12s ease, box-shadow .12s ease;
}
.stack-form input:focus, .stack-form select:focus, .stack-form textarea:focus,
.settings-form input:focus, .settings-form select:focus, .settings-form textarea:focus,
.filter-bar input:focus, .filter-bar select:focus { border-color: var(--ink); box-shadow: 0 0 0 3px rgba(24,24,27,.06); }
.stack-form input::placeholder, .settings-form input::placeholder { color: #b4b8bd; }
.check-row { display: flex; align-items: center; gap: 8px; color: var(--ink-soft); font-size: 12px; }
.check-row input { width: 15px; height: 15px; accent-color: var(--ink); }
.field-error { color: var(--danger); font-size: 11px; }

.table-panel { min-width: 0; }
.table-wrap { overflow-x: auto; }
.data-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.data-table th, .data-table td { padding: 11px 16px; border-bottom: 1px solid var(--line-soft); text-align: left; vertical-align: middle; }
.data-table tr:last-child td { border-bottom: 0; }
.data-table th { color: var(--muted); background: transparent; border-bottom-color: var(--line); font-size: 11px; font-weight: 500; letter-spacing: .3px; text-transform: uppercase; white-space: nowrap; }
.actions-cell { position: relative; }
.row-editor summary { list-style: none; cursor: pointer; }
.row-editor summary::-webkit-details-marker { display: none; }
.row-editor-panel { position: absolute; z-index: 10; top: 40px; right: 12px; width: 300px; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); box-shadow: 0 12px 32px rgba(24,24,27,.12); }
.row-editor-panel > form:last-child { padding: 0 18px 18px; }
.pagination-row { display: flex; align-items: center; justify-content: center; gap: 14px; padding: 14px; color: var(--muted); font-size: 12px; }

.password-panel { max-width: 820px; }
.password-layout { display: grid; grid-template-columns: minmax(0, 1fr) 280px; align-items: start; }
.password-rules { margin: 18px 18px 18px 0; padding: 16px; border: 1px solid var(--line); border-radius: 8px; }
.password-rules > strong { font-size: 13px; font-weight: 600; }
.password-rules .check-list { margin: 14px 0 0; }

.choice-fieldset, .permission-group { display: grid; gap: 8px; margin: 0; padding: 12px; border: 1px solid var(--line); border-radius: 8px; }
.choice-fieldset legend, .permission-group legend { padding: 0 5px; color: var(--muted); font-size: 10px; font-weight: 600; letter-spacing: .4px; text-transform: uppercase; }
.role-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.role-card { min-width: 0; }
.permission-form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; padding: 16px; }
.permission-form > .button { grid-column: 1 / -1; }
.locked-role { display: grid; gap: 4px; padding: 24px 18px; color: var(--ink-soft); font-size: 13px; }
.locked-role span { color: var(--muted); font-size: 12px; }

.settings-panel { max-width: 880px; }
.settings-form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; padding: 18px; }
.settings-form label { display: grid; gap: 6px; color: var(--ink-soft); font-size: 12px; font-weight: 500; }
.full-field { grid-column: 1 / -1; }

.filter-bar { display: flex; align-items: end; gap: 10px; padding: 14px 18px; border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.filter-bar label { display: grid; gap: 5px; min-width: 170px; color: var(--ink-soft); font-size: 12px; font-weight: 500; }
.audit-details summary { color: var(--ink-soft); cursor: pointer; font-size: 12px; }
.audit-details pre { max-width: 360px; max-height: 220px; overflow: auto; margin: 8px 0 0; padding: 10px; border: 1px solid var(--line); border-radius: 6px; color: var(--ink-soft); background: var(--canvas); font-size: 11px; }

/* Controls */
.button { display: inline-flex; min-height: 36px; align-items: center; justify-content: center; gap: 7px; padding: 8px 14px; border: 1px solid transparent; border-radius: 6px; cursor: pointer; font-size: 13px; font-weight: 500; transition: background .12s ease, border-color .12s ease, color .12s ease; }
.button-primary { color: #fff; background: var(--ink); }
.button-primary:hover { background: #2b2b30; }
.button-secondary { color: var(--ink); border-color: var(--line); background: var(--surface); }
.button-secondary:hover { background: var(--line-soft); }
.button-danger { color: var(--danger); border-color: var(--line); background: var(--surface); }
.button-danger:hover { border-color: #f0cfcd; background: #fdf3f2; }
.button-small { min-height: 30px; padding: 5px 10px; font-size: 12px; }
.button-large { min-height: 42px; }
.button-block { width: 100%; }
.button-disabled { color: var(--muted); border-color: var(--line); background: var(--line-soft); cursor: not-allowed; }

.alert { margin-bottom: 16px; padding: 11px 14px; border: 1px solid var(--line); border-radius: 8px; font-size: 13px; }
.alert ul { margin: 6px 0 0 18px; padding: 0; }
.alert-success { color: var(--success); border-color: #cfe7d8; background: #f4faf6; }
.alert-error { color: var(--danger); border-color: #f0cfcd; background: #fdf4f3; }
.empty-state { display: grid; place-items: center; min-height: 100px; padding: 24px; color: var(--muted); text-align: center; }
.empty-state strong, .empty-state span { display: block; }
.empty-state strong { color: var(--ink-soft); font-size: 13px; font-weight: 600; }
.empty-state span { margin-top: 4px; font-size: 12px; }

/* Login */
.login-body { background: #f8faff; }
.login-page { width: min(1440px, 100%); min-height: 100vh; display: grid; grid-template-columns: minmax(0, 1fr) minmax(460px, .93fr); gap: clamp(28px, 4vw, 72px); align-items: center; margin: auto; padding: 34px clamp(24px, 4.5vw, 72px); }
.login-story { min-height: min(800px, calc(100vh - 68px)); display: flex; flex-direction: column; padding: 6px 0; }
.login-brand { display: flex; align-items: center; gap: 11px; }
.login-brand img { width: 38px; height: 49px; object-fit: contain; }
.login-brand strong, .login-brand small { display: block; }
.login-brand strong { color: #26364c; font-size: 15px; font-weight: 650; letter-spacing: -.4px; }
.login-brand small { margin-top: 2px; color: #64748d; font-size: 10px; font-weight: 600; letter-spacing: 1.1px; text-transform: uppercase; }
.login-story-copy { margin-top: auto; }
.login-eyebrow { color: #3569cb; font-size: 11px; font-weight: 650; letter-spacing: 1.2px; text-transform: uppercase; }
.login-story-copy h1 { margin: 18px 0 17px; color: #202d42; font-size: clamp(31px, 3.2vw, 46px); font-weight: 670; line-height: 1.25; letter-spacing: -1.4px; }
.login-story-copy p { max-width: 485px; margin: 0; color: #67768f; font-size: 16px; line-height: 1.7; }
.login-illustration { width: min(560px, 100%); height: auto; margin: auto 0; filter: drop-shadow(0 18px 25px rgba(65,109,207,.08)); }
.login-story-footer { margin: 0; color: #8a97ac; font-size: 11px; }
.login-card { min-height: min(740px, calc(100vh - 68px)); display: grid; place-items: center; padding: 48px clamp(38px, 4.7vw, 76px); border: 1px solid #edf1f8; border-radius: 22px; background: #fff; box-shadow: 0 20px 70px rgba(55,83,142,.09); }
.login-card-content { width: min(460px, 100%); }
.login-card-logo { display: block; width: 62px; height: 82px; margin: 0 auto 20px; object-fit: contain; }
.login-card h2 { margin: 0; color: #253248; font-size: 27px; font-weight: 650; line-height: 1.2; letter-spacing: -.7px; text-align: center; }
.login-card-subtitle { margin: 10px 0 34px; color: #718098; font-size: 14px; text-align: center; }
.login-form { display: grid; gap: 0; }
.login-form > label:not(.login-remember) { margin: 0 0 9px; color: #3c4a61; font-size: 13px; font-weight: 600; }
.login-input-wrap { min-height: 52px; display: flex; align-items: center; gap: 12px; margin-bottom: 22px; padding: 0 14px; border: 1px solid #dce4f2; border-radius: 9px; color: #9aaac5; background: #fff; transition: border-color .15s ease, box-shadow .15s ease; }
.login-input-wrap:focus-within { border-color: #4d7deb; box-shadow: 0 0 0 3px rgba(77,125,235,.1); }
.login-input-wrap > svg { width: 19px; height: 19px; flex: 0 0 19px; }
.login-input-wrap input { width: 100%; min-width: 0; height: 49px; border: 0; outline: 0; color: #26364c; background: transparent; font-size: 13px; }
.login-input-wrap input::placeholder { color: #9ba9bd; }
.login-password-toggle { width: 30px; height: 32px; flex: 0 0 30px; display: grid; place-items: center; padding: 0; border: 0; color: #8191aa; background: transparent; cursor: pointer; }
.login-password-toggle svg { width: 20px; height: 20px; }
.login-password-toggle:hover, .login-password-toggle:focus-visible { color: #3569cb; }
.login-remember { display: flex; align-items: center; gap: 9px; margin: 0 0 24px; color: #66758d; font-size: 13px; font-weight: 450; }
.login-remember input { width: 16px; height: 16px; margin: 0; accent-color: #3d74e8; }
.login-submit { width: 100%; min-height: 51px; border: 0; border-radius: 9px; color: #fff; background: linear-gradient(95deg, #3268dc, #4c82ed); box-shadow: 0 9px 19px rgba(61,109,221,.19); cursor: pointer; font: 600 14px Inter, Arial, sans-serif; transition: transform .15s ease, box-shadow .15s ease; }
.login-submit:hover { transform: translateY(-1px); box-shadow: 0 12px 22px rgba(61,109,221,.24); }
.login-help { margin: 29px 0 0; color: #7b89a0; font-size: 12px; text-align: center; }

/* Responsive */
@media (max-width: 1100px) {
    .login-page { gap: 28px; padding-inline: 32px; }
    .login-card { padding-inline: 35px; }
    .login-story-copy h1 { font-size: 34px; }
    .metric-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .dashboard-grid, .dashboard-grid.lower-grid { grid-template-columns: 1fr; }
    .master-grid { grid-template-columns: 1fr; }
    .form-panel { position: static; }
    .role-grid { grid-template-columns: 1fr; }
}

@media (max-width: 960px) {
    .login-page { grid-template-columns: 1fr; max-width: 620px; gap: 30px; padding: 24px; }
    .login-card { order: -1; min-height: 0; padding: 44px 36px; }
    .login-story { min-height: 0; align-items: center; text-align: center; }
    .login-story-copy { margin-top: 34px; }
    .login-story-copy h1 { font-size: 34px; }
    .login-illustration { max-width: 430px; margin: 20px 0; }
}

@media (max-width: 820px) {
    .app-shell { grid-template-columns: 1fr; }
    .sidebar { position: fixed; left: -260px; width: 248px; transition: left .2s ease; box-shadow: 0 0 40px rgba(24,24,27,.12); }
    .sidebar.open { left: 0; }
    .content { padding: 20px 16px 32px; }
    .topbar { padding: 0 16px; }
    .icon-button { display: grid; }
    .environment-pill { display: none; }
    .global-search { width: auto; flex: 1; }
    .user-menu summary > span:not(.avatar) { display: none; }
    .password-layout { grid-template-columns: 1fr; }
    .password-rules { margin: 0 18px 18px; }
    .permission-form, .settings-form { grid-template-columns: 1fr; }
    .full-field { grid-column: auto; }
}

@media (max-width: 560px) {
    .metric-grid, .quick-grid { grid-template-columns: 1fr; }
    .page-heading { display: grid; }
    .date-card { width: 100%; }
    .login-page { gap: 26px; padding: 12px; }
    .login-card { padding: 32px 24px; border-radius: 16px; }
    .login-card-logo { width: 52px; height: 69px; margin-bottom: 14px; }
    .login-card h2 { font-size: 24px; }
    .login-card-subtitle { margin-bottom: 28px; font-size: 13px; }
    .login-story-copy h1 { font-size: 28px; }
    .login-story-copy p { font-size: 14px; }
    .login-story-footer { font-size: 10px; }
}

@media print {
    .sidebar, .topbar, .button, .row-editor { display: none !important; }
    .app-shell { display: block; }
    .content { padding: 0; }
    .panel, .metric-card { break-inside: avoid; }
}
