:root {
  --paper: #faf9f5;
  --panel: #f0eee6;
  --panel-strong: #e8e6dc;
  --white: #fffefa;
  --ink: #262624;
  --muted: #73726c;
  --line: #dedcd1;
  --accent: #c56b4e;
  --accent-soft: #f5e4dc;
  --green: #53755e;
  --green-soft: #e8eee6;
  --red: #a34737;
  --red-soft: #f6e7e0;
  --serif: "Iowan Old Style", "Palatino Linotype", "Noto Serif SC", "Source Han Serif SC", "Songti SC", STSong, Georgia, serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans SC", "Microsoft YaHei", sans-serif;
  --mono: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--paper);
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
}

* { box-sizing: border-box; }
body { margin: 0; font-size: 15px; line-height: 1.55; }
button, input, select { font: inherit; }
button, a, input, select { -webkit-tap-highlight-color: transparent; }
button, a { touch-action: manipulation; }
button { cursor: pointer; }
button:disabled { cursor: wait; opacity: .58; }
button, input, select, a { outline-offset: 4px; }
:focus-visible { outline: 2px solid var(--accent); }
a { color: inherit; text-decoration: none; }
p, h1, h2, h3 { margin: 0; }
button svg, a svg { flex-shrink: 0; }
svg { display: block; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }
.skip-link { position: fixed; top: -100px; left: 20px; background: var(--ink); color: white; padding: 10px 18px; z-index: 100; }
.skip-link:focus { top: 10px; }
.boot { min-height: 100dvh; display: flex; align-items: center; justify-content: center; gap: 14px; color: var(--muted); }
.loader { display: inline-block; width: 18px; height: 18px; border: 2px solid var(--line); border-top-color: var(--accent); border-radius: 50%; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes appear { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }

.shell { display: grid; grid-template-columns: 242px minmax(0,1fr); min-height: 100dvh; }
.sidebar { position: sticky; top: 0; height: 100dvh; padding: 32px 21px 22px; background: var(--panel); border-right: 1px solid var(--line); display: flex; flex-direction: column; z-index: 30; }
.brand { display: flex; align-items: center; gap: 11px; }
.brand img { width: 35px; height: 35px; }
.brand-name { font: 27px/1.1 var(--serif); letter-spacing: -.8px; }
.brand-sub { margin: 8px 0 42px 47px; font-size: 13px; letter-spacing: 1px; color: var(--muted); }
.nav { display: flex; flex-direction: column; gap: 5px; }
.nav-item { display: flex; align-items: center; gap: 13px; min-height: 46px; padding: 11px 15px; border-radius: 8px; color: #5e5d59; transition: background .15s, color .15s; }
.nav-item:hover { background: #e8e6dc; color: var(--ink); }
.nav-item.active { background: #faf9f5; color: var(--ink); box-shadow: 0 1px 3px #26262408; font-weight: 600; }
.nav-item.active svg { color: var(--accent); }
.nav-divider { border: 0; border-top: 1px solid var(--line); margin: 25px 11px; }
.sidebar-foot { margin-top: auto; padding-top: 30px; }
.sidebar-status { display: flex; align-items: center; gap: 8px; padding: 0 12px 19px; font-size: 13px; color: var(--muted); }
.status-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--muted); flex-shrink: 0; }
.status-dot.online { background: var(--green); box-shadow: 0 0 0 4px #53755e0b; }
.status-dot.offline { background: var(--red); }
.account { display: flex; align-items: center; gap: 10px; padding: 14px 8px 0; border-top: 1px solid var(--line); }
.account-info { min-width: 0; flex: 1; }
.account-name { font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.account-role { font-size: 13px; color: var(--muted); }
.avatar { width: 39px; height: 39px; flex-shrink: 0; display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; background: var(--panel-strong); color: #5b5a50; font-weight: 600; overflow: hidden; }
.avatar img { width: 100%; height: 100%; object-fit: cover; }
.avatar.large { width: 64px; height: 64px; font-size: 24px; background: var(--accent-soft); color: var(--accent); }
.icon-button { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; padding: 0; border: 0; border-radius: 7px; background: transparent; color: var(--muted); }
.icon-button:hover { background: var(--panel-strong); color: var(--ink); }
.topbar { height: 82px; margin: 0 48px; border-bottom: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.breadcrumb { font-size: 14px; color: var(--muted); display: flex; align-items: center; gap: 10px; }
.breadcrumb strong { font-weight: 500; color: var(--ink); }
.topbar-right { display: flex; align-items: center; gap: 17px; }
.today { color: var(--muted); font-size: 13px; }
.main { padding: 42px 48px 64px; max-width: 1600px; margin-inline: auto; }
.page { animation: appear .22s ease both; }
.page-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 32px; }
.eyebrow { font-family: var(--mono); font-size: 12px; letter-spacing: 1.8px; color: var(--accent); text-transform: uppercase; margin-bottom: 10px; }
h1 { font-family: var(--serif); font-size: clamp(30px,3.15vw,44px); font-weight: 500; line-height: 1.28; letter-spacing: -.8px; }
.page-subtitle { color: var(--muted); margin-top: 11px; font-size: 14px; }
.heading-actions { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 43px; border: 1px solid var(--ink); background: var(--ink); color: var(--paper); border-radius: 7px; padding: 10px 17px; font-weight: 500; white-space: nowrap; transition: background .15s, transform .15s; }
.button:hover:not(:disabled) { background: #40403b; }
.button:active:not(:disabled) { transform: translateY(1px); }
.button.secondary { background: transparent; color: var(--ink); border-color: var(--line); }
.button.secondary:hover:not(:disabled) { background: var(--panel); }
.button.accent { background: var(--accent); border-color: var(--accent); }
.button.accent:hover:not(:disabled) { background: #ae5b40; }
.button.danger { background: var(--red); border-color: var(--red); }
.button.small { min-height: 34px; padding: 6px 11px; font-size: 13px; }
.button.full { width: 100%; }
.text-button { padding: 5px 0; border: 0; background: none; color: var(--accent); display: inline-flex; align-items: center; gap: 5px; font-size: 14px; }
.text-button:hover { text-decoration: underline; }
.text-button.danger { color: var(--red); }
.link { text-decoration: underline; text-underline-offset: 4px; }
.card { background: var(--white); border: 1px solid var(--line); border-radius: 11px; }
.card-head { padding: 24px 26px 20px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.card-head h2 { font-size: 17px; font-weight: 600; }
.card-body { padding: 0 26px 26px; }
.metric-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 17px; margin-bottom: 30px; }
.metric { min-height: 156px; padding: 24px 23px 23px; position: relative; overflow: hidden; }
.metric-label { display: flex; justify-content: space-between; gap: 10px; color: var(--muted); font-size: 14px; }
.metric-label svg { color: #969486; }
.metric-value { font-family: var(--serif); font-size: clamp(33px,3.2vw,48px); letter-spacing: -1.6px; line-height: 1.15; margin-top: 23px; font-variant-numeric: tabular-nums; }
.metric.accented { background: var(--accent); border-color: var(--accent); color: white; }
.metric.accented .metric-label, .metric.accented .metric-label svg { color: #fffaf0d6; }
.overview-grid { display: grid; grid-template-columns: minmax(0,1.55fr) minmax(290px,1fr); gap: 24px; }
.stack { display: flex; flex-direction: column; gap: 24px; }
.activity-list { padding: 0 26px; }
.activity-item { display: flex; gap: 14px; padding: 18px 0; border-top: 1px solid #dedcd199; }
.activity-icon { width: 34px; height: 34px; border-radius: 50%; background: var(--panel); display: flex; align-items: center; justify-content: center; flex-shrink: 0; color: var(--muted); }
.activity-copy { flex: 1; min-width: 0; }
.activity-title { font-weight: 500; font-size: 14px; }
.activity-target { color: var(--muted); font-size: 13px; overflow-wrap: anywhere; margin-top: 3px; }
.activity-time { color: var(--muted); font-size: 12px; white-space: nowrap; padding-top: 2px; }
.content-stat { display: flex; justify-content: space-between; padding: 13px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.content-stat:last-child { border-bottom: 0; }
.content-stat span { color: var(--muted); }
.content-stat strong { font-weight: 600; font-variant-numeric: tabular-nums; }
.feature-card { background: var(--panel); border-color: transparent; padding: 28px 26px; display: flex; flex-direction: column; gap: 22px; }
.feature-card h2 { font-family: var(--serif); font-weight: 500; font-size: 29px; line-height: 1.45; letter-spacing: -.5px; max-width: 270px; }
.feature-card .feature-mark { width: 36px; height: 36px; color: var(--accent); }
.feature-card .button { align-self: flex-start; }
.toolbar { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 19px; }
.search { display: flex; align-items: center; gap: 10px; border: 1px solid var(--line); background: var(--white); border-radius: 7px; padding: 0 13px; min-height: 44px; width: 320px; color: var(--muted); }
.search:focus-within { border-color: var(--accent); }
.search input { width: 100%; min-width: 0; background: transparent; color: var(--ink); border: 0; outline: 0; padding: 10px 0; }
.search input::placeholder { color: #949286; }
.toolbar-meta { font-size: 14px; color: var(--muted); white-space: nowrap; }
.segmented { display: inline-flex; gap: 4px; padding: 4px; background: var(--panel); border-radius: 8px; }
.segment { padding: 8px 16px; border: 0; border-radius: 5px; background: transparent; color: var(--muted); font-size: 14px; white-space: nowrap; }
.segment.active { background: var(--white); color: var(--ink); box-shadow: 0 1px 3px #2626240b; }
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; text-align: left; }
th { background: #f7f6f0; font-size: 12px; letter-spacing: .5px; font-weight: 500; color: var(--muted); padding: 15px 24px; border-bottom: 1px solid var(--line); white-space: nowrap; }
td { padding: 19px 24px; font-size: 14px; border-bottom: 1px solid #dedcd185; vertical-align: middle; }
tr:last-child td { border-bottom: 0; }
tr.clickable { cursor: pointer; transition: background .15s; }
tr.clickable:hover { background: #f5f4ed; }
.table-wrap th:first-child { border-top-left-radius: 11px; }
.table-wrap th:last-child { border-top-right-radius: 11px; }
.cell-person { display: flex; align-items: center; gap: 12px; min-width: 170px; }
.cell-title { font-weight: 600; }
.cell-secondary { color: var(--muted); font-size: 12px; margin-top: 3px; }
.cell-actions { display: flex; align-items: center; justify-content: flex-end; gap: 13px; }
.numeric { font-variant-numeric: tabular-nums; }
.badge { display: inline-flex; align-items: center; gap: 6px; background: var(--panel); color: #666456; font-size: 12px; font-weight: 500; padding: 4px 9px; border-radius: 5px; white-space: nowrap; }
.badge.green { background: var(--green-soft); color: var(--green); }
.badge.rust { background: var(--accent-soft); color: #ac573d; }
.badge.red { background: var(--red-soft); color: var(--red); }
.pagination { display: flex; justify-content: space-between; gap: 16px; align-items: center; padding: 16px 24px; border-top: 1px solid var(--line); color: var(--muted); font-size: 13px; }
.pagination-actions { display: flex; gap: 8px; }
.empty { min-height: 220px; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 30px; text-align: center; gap: 15px; color: var(--muted); }
.empty .empty-icon { color: #a7a394; width: 45px; height: 45px; display: flex; justify-content: center; align-items: center; background: var(--panel); border-radius: 50%; }
.empty h3 { font-size: 16px; font-weight: 500; color: #626157; }
.empty p { max-width: 440px; font-size: 14px; }
.inline-error { color: var(--red); background: var(--red-soft); border-radius: 7px; padding: 11px 14px; font-size: 14px; }
.error-page { padding: 42px; }
.skeleton { background: linear-gradient(90deg,#eeece3,#f4f2eb,#eeece3); background-size: 200% 100%; animation: shimmer 1.4s infinite; border-radius: 7px; }
.skeleton.heading { height: 47px; width: 42%; margin-bottom: 31px; }
.skeleton.metric { min-height: 156px; }
.skeleton.block { height: 310px; }
@keyframes shimmer { to { background-position: -200% 0; } }
.form { display: flex; flex-direction: column; gap: 20px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field label { font-weight: 500; font-size: 14px; }
.field input, .field select { min-height: 46px; padding: 11px 13px; border-radius: 7px; border: 1px solid var(--line); color: var(--ink); background: var(--white); width: 100%; }
.field input:focus, .field select:focus { border-color: var(--accent); outline: 0; box-shadow: 0 0 0 3px #c56b4e15; }
.field input[readonly] { background: var(--panel); }
.field input::placeholder { color: #99968a; }
.field-help { color: var(--muted); font-size: 13px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 17px; }
.form-error { min-height: 0; }
.form-error:empty { display: none; }
.login { min-height: 100dvh; display: grid; grid-template-columns: minmax(350px,1fr) minmax(450px,1fr); }
.login-story { position: relative; padding: 42px 60px; background: var(--panel); display: flex; flex-direction: column; justify-content: space-between; overflow: hidden; }
.login-story:after { content: ""; position: absolute; width: 570px; height: 570px; border: 1px solid #d7d3c4; border-radius: 50%; right: -110px; bottom: -240px; box-shadow: 0 0 0 42px #f0eee6,0 0 0 43px #dedacf,0 0 0 84px #f0eee6,0 0 0 85px #dedacf; pointer-events: none; }
.login-hero { margin-block: 70px 120px; position: relative; z-index: 1; }
.login-hero h1 { font-size: clamp(40px,4.3vw,66px); letter-spacing: -1.4px; line-height: 1.32; margin-top: 26px; }
.login-hero p { margin-top: 28px; font-size: 16px; color: var(--muted); }
.login-art { width: 108px; height: 108px; color: var(--accent); transform: rotate(-8deg); }
.login-story-footer { position: relative; z-index: 1; font: 13px var(--mono); color: var(--muted); letter-spacing: 1px; }
.login-main { display: flex; align-items: center; justify-content: center; padding: 52px; }
.login-panel { width: 100%; max-width: 370px; }
.login-panel h2 { font-family: var(--serif); font-size: 32px; line-height: 1.3; font-weight: 500; margin-bottom: 8px; }
.login-panel > p { color: var(--muted); margin-bottom: 31px; }
.login-switch { display: flex; justify-content: center; gap: 7px; margin-top: 25px; font-size: 14px; color: var(--muted); align-items: center; }
.login-mobile-brand { display: none; }
.modal-backdrop { position: fixed; inset: 0; background: #26262465; backdrop-filter: blur(4px); z-index: 80; display: flex; align-items: center; justify-content: center; padding: 25px; animation: appear .15s ease both; }
.modal { width: 100%; max-width: 490px; max-height: calc(100dvh - 50px); overflow-y: auto; background: var(--paper); border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 22px 90px #14141322; }
.modal.wide { max-width: 970px; }
.modal-head { display: flex; align-items: center; justify-content: space-between; padding: 25px 28px 21px; }
.modal-head h2 { font-size: 24px; font-family: var(--serif); font-weight: 500; }
.modal-body { padding: 0 28px 28px; }
.modal-actions { display: flex; justify-content: flex-end; gap: 10px; padding-top: 8px; }
.modal-note { color: var(--muted); font-size: 14px; margin-bottom: 22px; }
.invite-value { display: block; font: 15px/1.6 var(--mono); overflow-wrap: anywhere; background: var(--panel); padding: 19px; border: 1px dashed #c8c1ad; border-radius: 7px; margin: 15px 0 20px; user-select: all; }
.invite-recipient { font-weight: 600; font-size: 16px; }
.invite-status { color: var(--green); display: flex; align-items: center; gap: 8px; margin-bottom: 20px; }
.detail-header { display: flex; gap: 17px; align-items: center; padding: 6px 0 27px; }
.detail-header h3 { font-family: var(--serif); font-weight: 500; font-size: 29px; }
.detail-header p { color: var(--muted); font-size: 14px; margin-top: 4px; overflow-wrap: anywhere; }
.detail-header .badge { margin-left: auto; }
.detail-metrics { display: grid; grid-template-columns: repeat(4,1fr); gap: 13px; margin-bottom: 28px; }
.detail-metric { background: var(--panel); border-radius: 8px; padding: 16px; }
.detail-metric span { color: var(--muted); font-size: 12px; }
.detail-metric strong { display: block; font: 25px/1.3 var(--serif); margin-top: 8px; }
.section-title { display: flex; align-items: center; justify-content: space-between; margin-bottom: 17px; margin-top: 28px; }
.section-title h3 { font-size: 16px; font-weight: 600; }
.student-grid { display: grid; grid-template-columns: repeat(auto-fill,minmax(125px,1fr)); gap: 14px; max-height: 380px; overflow-y: auto; padding: 2px; }
.student-card { border: 1px solid var(--line); border-radius: 9px; overflow: hidden; background: var(--white); }
.student-image { aspect-ratio: 1.35; background: var(--panel); display: flex; align-items: center; justify-content: center; font-family: var(--serif); color: #aaa593; font-size: 32px; overflow: hidden; }
.student-image img { width: 100%; height: 100%; object-fit: cover; }
.student-copy { padding: 11px 12px 13px; }
.student-name { font-size: 13px; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.student-progress { font-size: 12px; margin-top: 6px; color: var(--muted); display: flex; justify-content: space-between; gap: 4px; }
.stars { color: var(--accent); letter-spacing: 1px; font-size: 11px; }
.detail-footer { display: flex; justify-content: space-between; gap: 12px; align-items: center; margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--line); }
.detail-footer .muted { font-size: 13px; }
.muted { color: var(--muted); }
.release-card { display: flex; align-items: center; gap: 18px; padding: 25px 27px; background: var(--panel); border-radius: 9px; }
.release-card .release-icon { padding: 14px; border-radius: 10px; background: var(--paper); color: var(--accent); }
.release-copy { flex: 1; min-width: 0; }
.release-copy h3 { font-size: 17px; font-weight: 600; }
.release-copy p { color: var(--muted); font-size: 13px; margin-top: 4px; }
.key-values { display: grid; grid-template-columns: 150px minmax(0,1fr); margin: 0; font-size: 14px; }
.key-values dt, .key-values dd { padding: 17px 0; border-bottom: 1px solid var(--line); }
.key-values dt { color: var(--muted); }
.key-values dd { margin: 0; overflow-wrap: anywhere; }
.key-values dt:last-of-type, .key-values dd:last-of-type { border-bottom: 0; }
.key-values .hash { font: 12px/1.7 var(--mono); }
.banner-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 20px; }
.banner-card { padding: 25px; }
.banner-card-header { display: flex; justify-content: space-between; gap: 15px; align-items: center; margin-bottom: 21px; }
.banner-card h3 { font-family: var(--serif); font-size: 24px; font-weight: 500; }
.banner-figures { display: flex; gap: 30px; padding: 19px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.banner-figure strong { font: 28px/1.2 var(--serif); display: block; }
.banner-figure span { font-size: 12px; color: var(--muted); }
.banner-pickups { margin-top: 19px; display: flex; gap: 7px; flex-wrap: wrap; }
.coverage-bar { height: 8px; background: var(--panel-strong); border-radius: 4px; overflow: hidden; margin-top: 13px; }
.coverage-bar > span { display: block; height: 100%; background: var(--accent); border-radius: 4px; }
.coverage-label { display: flex; justify-content: space-between; gap: 12px; font-size: 14px; }
.coverage { padding: 5px 0 20px; }
.coverage:last-child { padding-bottom: 0; }
.coverage-details { margin-top: 23px; padding-top: 18px; border-top: 1px solid var(--line); }
.coverage-details summary { cursor: pointer; font-size: 14px; color: var(--muted); }
.missing-list { display: flex; flex-wrap: wrap; gap: 7px; padding-top: 15px; max-height: 190px; overflow-y: auto; }
.rank-number { font-family: var(--serif); font-size: 23px; color: var(--muted); font-variant-numeric: tabular-nums; }
.rank-number.top { color: var(--accent); }
.leader-value { font-family: var(--serif); font-size: 23px; color: var(--ink); letter-spacing: -.3px; }
.leader-hero { display: flex; align-items: center; gap: 18px; padding: 28px; margin-bottom: 25px; background: var(--panel); border-radius: 9px; }
.leader-hero h2 { font-family: var(--serif); font-size: 26px; font-weight: 500; }
.leader-hero p { color: var(--muted); font-size: 14px; margin-top: 6px; }
.leader-hero svg { color: var(--accent); width: 35px; height: 35px; }
.notifications { position: fixed; bottom: 26px; left: 50%; transform: translateX(-50%); z-index: 110; display: flex; flex-direction: column; gap: 9px; width: max-content; max-width: min(520px,calc(100vw - 32px)); pointer-events: none; }
.notification { background: var(--ink); color: var(--paper); padding: 12px 18px; border-radius: 8px; box-shadow: 0 4px 24px #26262424; display: flex; align-items: center; gap: 10px; font-size: 14px; animation: appear .2s ease both; }
.notification.error { background: #833e2e; }
.mobile-menu { display: none; }
.mobile-overlay { display: none; }
.nowrap { white-space: nowrap; }
.spaced { margin-top: 27px; }
.audit-detail { max-width: 340px; overflow-wrap: anywhere; color: var(--muted); font-size: 12px; }

@media (min-width: 1550px) {
  .main { padding-top: 52px; }
  .metric { min-height: 174px; padding: 27px; }
  .metric-value { margin-top: 28px; }
}
@media (max-width: 1190px) {
  .shell { grid-template-columns: 215px minmax(0,1fr); }
  .sidebar { padding-inline: 15px; }
  .main { padding: 34px 30px 52px; }
  .topbar { margin-inline: 30px; }
  .metric-grid { gap: 12px; }
  .metric { padding: 20px 18px; }
  .overview-grid { grid-template-columns: minmax(0,1.25fr) minmax(260px,1fr); gap: 19px; }
  th, td { padding-inline: 18px; }
}
@media (max-width: 980px) {
  .metric-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .overview-grid { grid-template-columns: 1fr; }
  .stack { display: grid; grid-template-columns: 1fr 1fr; }
  .banner-grid { grid-template-columns: 1fr; }
  .login-story { padding: 38px; }
  .login-main { padding: 35px; }
  .login { grid-template-columns: minmax(280px,.9fr) minmax(370px,1fr); }
  .page-heading { align-items: flex-start; }
  .heading-actions { flex-direction: column; align-items: stretch; }
  .today { display: none; }
}
@media (max-width: 760px) {
  .shell { display: block; }
  .sidebar { position: fixed; top: 0; left: -265px; width: 250px; transition: left .2s ease; }
  .sidebar.open { left: 0; }
  .mobile-overlay.open { display: block; position: fixed; inset: 0; background: #26262455; z-index: 25; }
  .mobile-menu { display: inline-flex; }
  .topbar { height: 67px; margin-inline: 22px; }
  .topbar .breadcrumb { flex: 1; }
  .main { padding: 29px 22px 45px; }
  h1 { font-size: 33px; }
  .page-heading { margin-bottom: 26px; gap: 15px; }
  .heading-actions .button { font-size: 13px; padding: 9px 12px; min-height: 38px; }
  .eyebrow { font-size: 11px; }
  .metric-grid { margin-bottom: 23px; }
  .metric-value { font-size: 40px; }
  .toolbar { flex-wrap: wrap; }
  .search { width: min(100%,340px); }
  .toolbar-meta { margin-left: auto; }
  .table-wrap { margin-inline: -1px; }
  th, td { padding: 15px 17px; }
  .stack { display: flex; }
  .login { display: block; }
  .login-story { display: none; }
  .login-main { min-height: 100dvh; padding: 35px 28px; }
  .login-mobile-brand { display: block; margin-bottom: 60px; }
  .login-panel { max-width: 400px; }
  .login-panel h2 { font-size: 34px; }
  .modal-backdrop { padding: 14px; }
  .modal { max-height: calc(100dvh - 28px); }
  .modal-head { padding: 22px 22px 18px; }
  .modal-body { padding: 0 22px 24px; }
  .detail-metrics { grid-template-columns: repeat(2,1fr); }
  .detail-header { gap: 13px; flex-wrap: wrap; }
  .detail-header h3 { font-size: 24px; }
  .detail-header .badge { margin-left: 0; }
  .detail-header p { font-size: 13px; }
  .detail-footer { flex-wrap: wrap; }
  .release-card { padding: 22px; flex-wrap: wrap; }
  .release-card > .button { width: 100%; }
  .key-values { grid-template-columns: 100px minmax(0,1fr); font-size: 13px; }
  .segment { padding-inline: 13px; }
}
@media (max-width: 420px) {
  .main { padding-inline: 17px; }
  .topbar { margin-inline: 17px; }
  .metric { padding: 19px 16px; min-height: 146px; }
  .metric-value { font-size: 35px; }
  .metric-label { font-size: 13px; }
  .metric-label svg { width: 16px; }
  h1 { font-size: 29px; }
  .card-head, .card-body { padding-inline: 20px; }
  .activity-list { padding-inline: 20px; }
  .activity-time { font-size: 11px; }
  .form-grid { grid-template-columns: 1fr; }
  .page-subtitle { font-size: 13px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *:before, *:after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
