:root {
  --canvas: #f5f7f4;
  --paper: #fff;
  --ink: #22352f;
  --muted: #62756d;
  --line: #dfe7df;
  --accent: #17645b;
  --accent-hover: #104f48;
  --soft: #e9f2ed;
  --blue: #356b87;
  --blue-soft: #edf4f8;
  --warning: #805f1c;
  --warning-soft: #fcf5e4;
  --danger: #a43935;
  --danger-soft: #fff0ee;
  --radius: 18px;
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  color: var(--ink);
  background: var(--canvas);
  font-synthesis: none;
  line-height: 1.5;
  font-size: 14px;
}
* { box-sizing: border-box; }
body { margin: 0; }
button, input, select, textarea { font: inherit; }
button, a, input, select, textarea { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; color: inherit; }
button:disabled { cursor: default; opacity: .55; }
a { color: var(--accent); }
a, button, input, select, textarea { outline-offset: 3px; }
:focus-visible { outline: 3px solid #5288a4; }
svg { vertical-align: middle; flex-shrink: 0; }
h1, h2, h3, p { margin: 0; }
h1 { font-size: clamp(26px, 2.1vw, 34px); letter-spacing: -1.1px; line-height: 1.2; font-weight: 700; }
h2 { font-size: 17px; letter-spacing: -.35px; line-height: 1.4; }
h3 { font-size: 15px; }
strong { font-weight: 650; }
small { font-size: 12px; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.muted { color: var(--muted); }
.num { font-variant-numeric: tabular-nums; }
.break { overflow-wrap: anywhere; }
.eyebrow { font-size: 10px; font-weight: 750; text-transform: uppercase; letter-spacing: 1.7px; color: var(--accent); }
.skip-link { position: fixed; top: -100px; left: 16px; background: white; border: 2px solid var(--accent); padding: 12px 20px; border-radius: 9px; z-index: 100; }
.skip-link:focus { top: 14px; }
.startup { min-height: 100vh; display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 20px; color: var(--muted); }
.loading-mark { display: grid; place-items: center; background: var(--accent); color: white; font-size: 35px; width: 50px; height: 58px; border-radius: 18px 18px 18px 5px; }
.no-script { position: fixed; inset: 0; display: grid; place-items: center; background: var(--canvas); padding: 32px; }
.brand { display: inline-flex; gap: 11px; align-items: center; text-decoration: none; color: var(--ink); }
.brand-mark { width: 37px; height: 45px; display: grid; place-items: center; background: var(--accent); color: white; border-radius: 13px 13px 13px 4px; flex-shrink: 0; }
.brand-name { font-size: 17px; line-height: 1.12; display: block; font-weight: 700; letter-spacing: -.55px; }
.brand-name span { display: block; font-weight: 400; }
.brand-sub { font-size: 8px; display: block; letter-spacing: 1.3px; margin-top: 7px; font-weight: 700; color: var(--muted); }
.shell { display: grid; grid-template-columns: 240px minmax(0, 1fr); min-height: 100vh; border-top: 4px solid var(--accent); }
.sidebar { position: sticky; top: 0; height: calc(100vh - 4px); background: #fafbf8; border-right: 1px solid var(--line); display: flex; flex-direction: column; gap: 27px; padding: 28px 18px 18px; overflow-y: auto; }
.sidebar .brand { margin: 0 6px; }
.workspace { display: flex; gap: 11px; padding: 15px 13px; background: var(--soft); border: 1px solid #d9e7de; border-radius: 13px; align-items: center; }
.workspace-icon { color: var(--accent); background: #fff9; border-radius: 10px; width: 37px; height: 39px; display: grid; place-items: center; flex-shrink: 0; }
.workspace strong, .workspace small { display: block; }
.workspace strong { font-size: 12px; margin: 4px 0 3px; }
.workspace small { font-size: 10px; color: var(--muted); }
.workspace .eyebrow { font-size: 8px; letter-spacing: 1.1px; }
.nav-group + .nav-group { margin-top: 22px; }
.nav-label { font-size: 9px; letter-spacing: 1.3px; text-transform: uppercase; color: var(--muted); margin: 0 12px 10px; font-weight: 700; }
.navigation { display: flex; flex-direction: column; gap: 3px; }
.nav-link { display: flex; gap: 12px; align-items: center; border-radius: 10px; padding: 11px 12px; color: #5a6c63; font-size: 12px; text-decoration: none; }
.nav-link:hover { background: #eef3ec; color: var(--ink); }
.nav-link.active { background: #e4eee7; color: #205a48; font-weight: 650; }
.sidebar-bottom { margin-top: auto; padding-top: 6px; }
.privacy-note { padding: 13px; background: #fff; border: 1px solid var(--line); border-radius: 12px; font-size: 11px; color: var(--muted); }
.privacy-note strong { display: block; color: var(--accent); margin-bottom: 6px; font-size: 12px; }
.account { display: flex; gap: 10px; align-items: center; margin-top: 20px; }
.avatar { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: #e7ece3; color: #586c56; font-size: 11px; font-weight: 700; flex-shrink: 0; }
.account-info { flex: 1; min-width: 0; }
.account-info strong, .account-info small { display: block; white-space: nowrap; text-overflow: ellipsis; overflow: hidden; }
.account-info strong { font-size: 11px; }
.account-info small { font-size: 9px; color: var(--muted); margin-top: 3px; }
.main { min-width: 0; }
.topbar { min-height: 84px; padding: 18px 34px; display: flex; align-items: center; justify-content: space-between; gap: 18px; border-bottom: 1px solid var(--line); background: #fff; }
.topbar-title { font-size: 20px; letter-spacing: -.6px; font-weight: 700; }
.topbar-sub { margin-top: 3px; font-size: 11px; color: var(--muted); }
.top-actions { display: flex; align-items: center; gap: 12px; }
.space-badge { background: var(--soft); color: var(--accent); border: 1px solid #dae8df; border-radius: 7px; padding: 7px 10px; font-size: 9px; text-transform: uppercase; font-weight: 700; letter-spacing: .55px; white-space: nowrap; }
.content { max-width: 1490px; padding: 36px 34px 24px; margin: 0 auto; }
.page-heading { display: flex; gap: 20px; align-items: flex-end; justify-content: space-between; margin-bottom: 29px; }
.page-heading .eyebrow { margin-bottom: 10px; }
.page-heading p { color: var(--muted); font-size: 13px; max-width: 650px; margin-top: 11px; line-height: 1.7; }
.heading-actions { flex-shrink: 0; display: flex; align-items: center; gap: 10px; }
.heading-actions label { font-size: 10px; color: var(--muted); display: block; margin-bottom: 5px; }
.btn { display: inline-flex; gap: 8px; align-items: center; justify-content: center; min-height: 41px; padding: 10px 14px; border-radius: 9px; border: 1px solid var(--line); color: var(--ink); background: white; font-size: 12px; font-weight: 600; text-decoration: none; line-height: 1.4; }
.btn:hover { background: #eef3ec; }
.btn.primary { background: var(--accent); border-color: var(--accent); color: white; }
.btn.primary:hover { background: var(--accent-hover); }
.btn.soft { background: var(--soft); color: var(--accent); border-color: #dce8de; }
.btn.danger { background: var(--danger-soft); color: var(--danger); border-color: #ecd4d0; }
.btn.small { min-height: 33px; padding: 7px 10px; font-size: 11px; }
.btn.wide { width: 100%; }
.text-link { display: inline-flex; align-items: center; gap: 7px; color: var(--accent); font-size: 12px; font-weight: 600; text-decoration: none; background: transparent; border: 0; padding: 0; }
.text-link:hover { text-decoration: underline; }
.icon-btn { display: inline-grid; place-items: center; width: 35px; height: 35px; border: 1px solid var(--line); border-radius: 9px; background: white; flex-shrink: 0; }
.icon-btn:hover { background: var(--soft); }
.mobile-menu { display: none; }
.metrics { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 15px; margin-bottom: 24px; }
.metric { padding: 22px; background: white; border: 1px solid var(--line); border-radius: 17px; }
.metric.featured { background: var(--accent); color: white; border-color: var(--accent); }
.metric-head { display: flex; justify-content: space-between; gap: 10px; align-items: center; font-size: 11px; color: var(--muted); }
.metric-icon { display: grid; place-items: center; width: 31px; height: 32px; border-radius: 9px; background: #f0f5ec; color: var(--accent); }
.metric.featured .metric-head, .metric.featured .metric-note { color: #deeee6; }
.metric.featured .metric-icon { background: #ffffff1c; color: #fff; }
.metric-value { margin: 14px 0 8px; font-size: 32px; letter-spacing: -1.2px; font-weight: 650; line-height: 1.2; font-variant-numeric: tabular-nums; }
.metric-value small { font-size: 13px; font-weight: 400; letter-spacing: 0; margin-left: 4px; }
.metric-note { font-size: 10px; color: var(--muted); line-height: 1.7; }
.grid-main { display: grid; grid-template-columns: minmax(0,1.9fr) minmax(260px,.85fr); gap: 21px; align-items: start; }
.panel { border: 1px solid var(--line); border-radius: var(--radius); background: white; overflow: hidden; margin-bottom: 22px; box-shadow: 0 7px 28px #24362d03; }
.panel-head { display: flex; justify-content: space-between; align-items: center; gap: 15px; padding: 22px 24px 19px; border-bottom: 1px solid #eaf0e8; }
.panel-head h2 { font-size: 16px; }
.panel-head p { font-size: 11px; margin-top: 6px; color: var(--muted); line-height: 1.7; }
.panel-body { padding: 23px 24px; }
.panel-footer { padding: 14px 24px; border-top: 1px solid var(--line); font-size: 11px; color: var(--muted); line-height: 1.7; }
.info-card { padding: 25px; border: 1px solid #dae5d3; background: #edf3e8; border-radius: var(--radius); margin-bottom: 22px; }
.info-card .eyebrow { font-size: 9px; color: #58724d; }
.info-card h2 { margin-top: 15px; font-size: 21px; line-height: 1.4; letter-spacing: -.6px; }
.info-card p { margin-top: 12px; font-size: 12px; line-height: 1.8; color: #5b7056; }
.info-card .text-link { margin-top: 21px; }
.steps { list-style: none; padding: 18px 24px 23px; margin: 0; }
.steps li { display: flex; align-items: flex-start; gap: 12px; padding: 10px 0; }
.step-num { display: grid; place-items: center; flex-shrink: 0; background: var(--soft); color: var(--accent); width: 24px; height: 24px; border-radius: 50%; font-size: 11px; }
.steps strong { font-size: 12px; }
.steps p { font-size: 11px; margin-top: 5px; color: var(--muted); line-height: 1.7; }
.notice { display: flex; gap: 10px; padding: 14px 17px; border: 1px solid #dce8e0; border-radius: 11px; color: #496252; background: #f0f5ec; font-size: 12px; line-height: 1.75; margin-bottom: 22px; align-items: flex-start; }
.notice svg { margin-top: 3px; flex-shrink: 0; }
.notice strong { color: var(--ink); }
.notice.warning { color: var(--warning); background: var(--warning-soft); border-color: #eddfb8; }
.notice.info { color: var(--blue); background: var(--blue-soft); border-color: #dbe7ee; }
.table-wrap { overflow-x: auto; }
table { border-collapse: collapse; width: 100%; min-width: 620px; text-align: left; }
th { background: #fbfcf9; color: var(--muted); text-transform: uppercase; letter-spacing: .6px; font-size: 9px; font-weight: 650; padding: 14px 22px; border-bottom: 1px solid var(--line); white-space: nowrap; }
td { padding: 18px 22px; border-bottom: 1px solid #edf1eb; font-size: 12px; vertical-align: middle; }
tr:last-child td { border-bottom: 0; }
tbody tr:hover { background: #fbfcfa; }
td strong, td .sub { display: block; }
td .sub { font-size: 10px; color: var(--muted); margin-top: 5px; line-height: 1.65; }
td .sub.warning { color: var(--warning); }
td.money { font-weight: 650; white-space: nowrap; }
td.actions { white-space: nowrap; }
.actions-row { display: flex; align-items: center; gap: 7px; flex-wrap: wrap; }
.actions-row .btn { flex-shrink: 0; }
.chip { display: inline-flex; align-items: center; gap: 6px; border-radius: 6px; padding: 4px 7px; font-size: 10px; font-weight: 600; line-height: 1.4; white-space: nowrap; background: var(--soft); color: var(--accent); }
.chip:before { content: ""; width: 4px; height: 4px; border-radius: 50%; background: currentColor; }
.chip.warning { color: var(--warning); background: var(--warning-soft); }
.chip.neutral { background: #eef0ed; color: #68736b; }
.chip.blue { background: var(--blue-soft); color: var(--blue); }
.toolbar { padding: 18px 22px; border-bottom: 1px solid var(--line); display: flex; align-items: flex-end; gap: 13px; flex-wrap: wrap; }
.toolbar .field { margin: 0; min-width: 160px; }
.toolbar .search-field { min-width: 220px; flex: 1; max-width: 360px; }
.toolbar .btn { margin-left: auto; }
.search-control { position: relative; }
.search-control svg { position: absolute; top: 13px; left: 12px; color: var(--muted); pointer-events: none; }
.search-control .control { padding-left: 38px; }
.control { width: 100%; min-height: 43px; padding: 10px 12px; border-radius: 9px; background: white; color: var(--ink); border: 1px solid #d5dfd5; font-size: 12px; }
.control:hover { border-color: #b9cbbb; }
.control:focus { border-color: #568e82; }
.control::placeholder { color: #89998e; }
.control:disabled { background: #f1f4ef; color: var(--muted); }
select.control { padding-right: 30px; }
.field { display: block; margin-bottom: 19px; min-width: 0; }
.field > label, .field > .field-label { display: block; font-size: 12px; font-weight: 600; margin-bottom: 8px; }
.field .help { color: var(--muted); font-size: 11px; line-height: 1.7; margin-top: 7px; display: block; }
.field .optional { color: var(--muted); font-weight: 400; font-size: 10px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; column-gap: 18px; }
.form-grid .span-two { grid-column: 1 / -1; }
.form-error { background: var(--danger-soft); border: 1px solid #edd4d0; color: var(--danger); padding: 12px 14px; border-radius: 9px; font-size: 12px; margin-bottom: 19px; line-height: 1.7; }
.form-actions { display: flex; align-items: center; justify-content: flex-end; gap: 10px; padding-top: 4px; }
.empty { text-align: center; padding: 44px 24px 47px; }
.empty-icon { display: inline-grid; place-items: center; width: 55px; height: 56px; border-radius: 16px; background: #f0f5ec; color: #7c9674; margin-bottom: 18px; }
.empty h3 { font-size: 14px; }
.empty p { max-width: 460px; margin: 9px auto 0; font-size: 12px; line-height: 1.8; color: var(--muted); }
.empty .btn { margin-top: 22px; }
.pagination { border-top: 1px solid var(--line); padding: 15px 22px; display: flex; align-items: center; justify-content: space-between; gap: 15px; font-size: 11px; color: var(--muted); }
.pagination-buttons { display: flex; gap: 8px; }
.loading-content { min-height: 260px; display: flex; gap: 13px; align-items: center; justify-content: center; font-size: 13px; color: var(--muted); }
.spinner { display: inline-block; width: 20px; height: 20px; border: 2px solid #dce7de; border-top-color: var(--accent); border-radius: 50%; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.page-footer { border-top: 1px solid var(--line); padding: 21px 0 0; margin-top: 10px; color: var(--muted); display: flex; gap: 12px; justify-content: space-between; font-size: 10px; line-height: 1.7; }
.toast { position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%); max-width: min(600px,calc(100vw - 32px)); padding: 14px 21px; background: #233b32; border: 1px solid #375348; color: white; border-radius: 12px; font-size: 13px; z-index: 90; box-shadow: 0 8px 30px #172f3026; }
.toast.error { background: #8e3631; border-color: #8e3631; }
dialog { width: min(600px,calc(100vw - 32px)); max-height: calc(100dvh - 50px); padding: 0; border: 1px solid var(--line); border-radius: 20px; color: var(--ink); background: white; box-shadow: 0 25px 120px #17372826; }
dialog::backdrop { background: #19352c55; backdrop-filter: blur(3px); }
.dialog-head { display: flex; justify-content: space-between; align-items: center; gap: 15px; padding: 23px 25px 20px; border-bottom: 1px solid var(--line); }
.dialog-head h2 { font-size: 20px; }
.dialog-body { padding: 24px 25px; }
.dialog-intro { font-size: 12px; color: var(--muted); line-height: 1.8; margin-bottom: 22px; }
.dialog-body .notice { font-size: 11px; }
.success-mark { width: 48px; height: 48px; display: grid; place-items: center; background: var(--soft); border-radius: 50%; color: var(--accent); margin-bottom: 18px; }
.secret-box { border: 1px solid var(--line); background: #f7f9f5; border-radius: 10px; padding: 15px; margin: 18px 0; }
.secret-box code { display: block; font-size: 12px; overflow-wrap: anywhere; line-height: 1.8; margin-bottom: 14px; }
.auth-shell { min-height: 100vh; display: grid; grid-template-columns: minmax(0,1.05fr) minmax(0,1fr); background: #fbfcf8; }
.auth-story { background: #eaf1e7; padding: 42px clamp(28px,5vw,88px); display: flex; flex-direction: column; position: relative; overflow: hidden; border-right: 1px solid #dce6d7; }
.auth-story-content { margin: auto 0; padding: 65px 0; position: relative; z-index: 1; }
.auth-story .eyebrow { margin-bottom: 20px; }
.auth-story h2 { font-size: clamp(34px,3.3vw,52px); line-height: 1.15; letter-spacing: -1.8px; max-width: 520px; font-weight: 650; }
.auth-story h2 span { display: block; color: var(--accent); }
.auth-story-content > p { margin-top: 25px; max-width: 400px; color: #61735b; font-size: 14px; line-height: 1.9; }
.auth-points { display: flex; gap: 12px; flex-direction: column; padding-top: 28px; font-size: 12px; color: #526a50; }
.auth-points div { display: flex; align-items: center; gap: 10px; }
.auth-art { display: flex; align-items: center; gap: 18px; margin-top: 40px; }
.home-illustration { width: 86px; height: 90px; border: 1px solid #c9d9c4; background: #f7faf2; border-radius: 23px; display: grid; place-items: center; color: #6c8e60; }
.art-line { width: 50px; border-top: 2px dotted #8ba981; }
.art-badge { width: 51px; height: 65px; border: 1px solid #bcd3c6; background: white; border-radius: 11px; display: grid; place-items: center; color: var(--accent); transform: rotate(7deg); }
.auth-story-footer { font-size: 11px; color: #63755b; position: relative; z-index: 1; }
.auth-main { display: flex; align-items: center; justify-content: center; padding: 48px 28px; }
.auth-card { width: 100%; max-width: 395px; }
.auth-card .brand { display: none; margin-bottom: 35px; }
.auth-card h1 { margin-bottom: 12px; font-size: 31px; }
.auth-intro { color: var(--muted); font-size: 13px; line-height: 1.8; margin-bottom: 30px; }
.auth-card .control { min-height: 47px; font-size: 14px; }
.auth-card .btn.primary { min-height: 46px; margin-top: 8px; font-size: 13px; }
.auth-foot { border-top: 1px solid var(--line); padding-top: 23px; margin-top: 29px; color: var(--muted); font-size: 11px; line-height: 1.9; }
.password-control { position: relative; }
.password-control input { padding-right: 49px; }
.password-toggle { position: absolute; top: 6px; right: 6px; width: 35px; height: 35px; display: grid; place-items: center; border: 0; border-radius: 6px; background: transparent; color: var(--muted); }
.password-toggle:hover { background: var(--soft); }
.auth-title { margin-top: 12px; }
.secret-note { margin-top: 20px; }
.picker-wrap { position: relative; }
.picker-results { position: absolute; top: calc(100% + 5px); left: 0; right: 0; max-height: 230px; overflow-y: auto; border: 1px solid #cfddd3; border-radius: 10px; box-shadow: 0 8px 30px #24362d18; background: white; z-index: 3; }
.picker-option { display: block; border: 0; border-bottom: 1px solid #edf1eb; width: 100%; text-align: left; font-size: 12px; line-height: 1.6; padding: 11px 13px; background: white; }
.picker-option:hover, .picker-option[aria-selected="true"] { background: var(--soft); color: var(--accent); }
.picker-option:last-child { border-bottom: 0; }
.picker-note { padding: 12px 13px; font-size: 11px; color: var(--muted); }
.notice-actions { margin-top: 11px; }
.mail-state { display: flex; align-items: flex-start; gap: 11px; padding: 15px 22px; border-bottom: 1px solid var(--line); }
.mail-state:last-child { border-bottom: 0; }
.mail-state > div { flex: 1; min-width: 0; }
.mail-state strong { display: block; font-size: 12px; }
.mail-state p { margin-top: 5px; font-size: 11px; color: var(--muted); }
.mail-state .chip { flex-shrink: 0; }
.employee-cell { display: flex; align-items: center; gap: 12px; }
.employee-cell .avatar { background: var(--soft); color: var(--accent); width: 34px; height: 34px; }
.assignment-card { display: flex; gap: 14px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.assignment-card:first-child { padding-top: 0; }
.assignment-card:last-child { padding-bottom: 0; border-bottom: 0; }
.assignment-symbol { display: grid; place-items: center; width: 42px; height: 44px; border: 1px solid #dce7d7; background: #f3f7ef; color: #69895d; border-radius: 12px; flex-shrink: 0; }
.assignment-card strong { font-size: 13px; }
.assignment-card p { font-size: 11px; color: var(--muted); margin-top: 5px; line-height: 1.7; }
.assignment-card .chip { margin-top: 9px; }
.summary-list { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 18px; }
.summary-list dt { color: var(--muted); font-size: 11px; margin-bottom: 5px; }
.summary-list dd { margin: 0; font-size: 13px; }
.search-results-note { color: var(--muted); font-size: 11px; padding: 11px 22px; background: #fbfcf9; border-bottom: 1px solid var(--line); }
.employer .workspace, .employer .space-badge { background: var(--blue-soft); border-color: #dce8ed; }
.employer .workspace-icon, .employer .workspace .eyebrow, .employer .space-badge { color: var(--blue); }
.employer .nav-link.active { background: #e6eff3; color: #365d73; }
@media (min-width:1600px) { .content { padding-top: 44px; } .metrics { gap: 19px; } .metric { padding: 25px; } }
@media (max-width:1190px) {
  .shell { grid-template-columns: 218px minmax(0,1fr); }
  .sidebar { padding-left: 13px; padding-right: 13px; }
  .content { padding: 30px 25px 22px; }
  .topbar { padding-left: 25px; padding-right: 25px; }
  .grid-main { grid-template-columns: 1fr; }
  .side-panels { display: grid; grid-template-columns: 1fr 1fr; gap: 21px; }
  .metric { padding: 18px; }
  .metric-value { font-size: 28px; }
  .metric-head { font-size: 10px; }
  .metric-icon { width: 27px; height: 28px; }
}
@media (max-width:900px) {
  .metrics { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .page-heading { align-items: flex-start; }
  .space-badge { display: none; }
  .topbar-title { font-size: 18px; }
  .heading-actions { flex-direction: column; align-items: stretch; }
  .auth-story { padding: 35px; }
  .auth-story h2 { font-size: 35px; }
}
@media (max-width:740px) {
  .shell { display: block; }
  .sidebar { display: none; position: fixed; top: 4px; bottom: 0; left: 0; width: 264px; height: calc(100dvh - 4px); z-index: 50; box-shadow: 16px 0 60px #24362d25; }
  .sidebar.open { display: flex; }
  .mobile-menu { display: inline-grid; }
  .mobile-shade { position: fixed; inset: 0; background: #19352c55; z-index: 49; border: 0; width: 100%; height: 100%; }
  .topbar { min-height: 74px; padding: 14px 17px; gap: 12px; }
  .topbar-heading { flex: 1; }
  .topbar-title { font-size: 16px; letter-spacing: -.4px; }
  .topbar-sub { font-size: 10px; }
  .top-actions { gap: 0; }
  .top-actions .btn { padding: 9px; min-height: 35px; }
  .top-actions .btn span { display: none; }
  .content { padding: 27px 17px 22px; }
  .page-heading { flex-direction: column; gap: 18px; margin-bottom: 23px; }
  .page-heading h1 { font-size: 27px; }
  .page-heading p { font-size: 12px; }
  .heading-actions { flex-direction: row; width: 100%; align-items: flex-end; flex-wrap: wrap; }
  .heading-actions .month-field { flex: 1; max-width: 240px; }
  .metrics { gap: 11px; margin-bottom: 19px; }
  .metric { padding: 17px 15px; border-radius: 14px; }
  .metric-value { font-size: 29px; margin-top: 17px; }
  .metric-head { align-items: flex-start; min-height: 30px; }
  .metric-note { font-size: 10px; }
  .side-panels { display: block; }
  .panel { border-radius: 15px; margin-bottom: 19px; }
  .panel-head { padding: 20px 18px 17px; }
  .panel-body { padding: 20px 18px; }
  .panel-head h2 { font-size: 15px; }
  .panel-head .text-link { font-size: 11px; }
  .panel-footer { padding: 14px 18px; }
  .info-card { padding: 23px; margin-bottom: 19px; }
  .notice { padding: 13px 14px; font-size: 11px; }
  .toolbar { padding: 16px 18px; gap: 10px; }
  .toolbar .field { min-width: 120px; flex: 1; }
  .toolbar .search-field { min-width: 100%; max-width: none; }
  .toolbar .btn { margin-left: 0; }
  .control { font-size: 16px; }
  .heading-actions .control { font-size: 14px; }
  .pagination { padding: 14px 17px; }
  .page-footer { flex-direction: column; gap: 6px; }
  td, th { padding-left: 18px; padding-right: 18px; }
  dialog { max-height: calc(100dvh - 28px); width: calc(100vw - 24px); border-radius: 16px; }
  .dialog-head { padding: 21px 20px 17px; }
  .dialog-body { padding: 21px 20px; }
  .form-grid { display: block; }
  .auth-shell { display: block; background: var(--canvas); }
  .auth-story { display: none; }
  .auth-main { min-height: 100dvh; padding: 37px 24px; }
  .auth-card { max-width: 415px; }
  .auth-card .brand { display: inline-flex; margin-bottom: 47px; }
  .auth-card h1 { font-size: 29px; }
  .auth-card .control { font-size: 16px; }
  .summary-list { gap: 17px 13px; }
}
@media (max-width:380px) { .metric-head { font-size: 9px; gap: 5px; } .metric-icon { width: 23px; height: 25px; } .metric-icon svg { width: 15px; } .metric-value { font-size: 26px; } .metric-value small { font-size: 11px; } }
@media (prefers-reduced-motion:reduce) { .spinner { animation: none; } }
@media print { .sidebar,.topbar,.heading-actions,.toolbar,.actions,.pagination,.toast,.skip-link { display: none !important; } .shell { display: block; border: 0; } .content { max-width: none; padding: 0; } .panel,.metric { break-inside: avoid; box-shadow: none; } body { background: white; } }
