@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@400;500;600;700;800&display=swap');

:root {
  --bg: #f6f8fb;
  --surface: #ffffff;
  --surface-soft: #f8fafc;
  --sidebar: #111c2d;
  --sidebar-muted: #91a0b5;
  --sidebar-text: #e8eef7;
  --text: #172338;
  --muted: #758196;
  --muted-2: #98a3b4;
  --border: #e8edf3;
  --border-strong: #dce4ed;
  --blue: #3478e5;
  --blue-dark: #2464ce;
  --blue-soft: #edf4ff;
  --green: #19a777;
  --red: #df5b67;
  --amber: #d9942b;
  --violet: #8067db;
  --shadow: 0 8px 28px rgba(28, 48, 78, .045);
  --radius: 14px;
  font-family: "DM Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { min-width: 320px; background: var(--bg); }
body { margin: 0; color: var(--text); background: var(--bg); font-size: 14px; -webkit-font-smoothing: antialiased; }
button, input, textarea { font: inherit; }
button { cursor: pointer; }
a { color: inherit; text-decoration: none; }
svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }

.app-shell { min-height: 100vh; }
.sidebar { width: 252px; position: fixed; inset: 0 auto 0 0; z-index: 30; display: flex; flex-direction: column; background: var(--sidebar); color: var(--sidebar-text); padding: 23px 15px 16px; transition: transform .25s ease; }
.brand { display: flex; align-items: center; gap: 11px; padding: 0 8px 25px; }
.brand-mark { width: 39px; height: 39px; display: grid; place-items: center; border: 1px solid rgba(109, 177, 255, .3); border-radius: 12px; color: #8ac6ff; background: linear-gradient(145deg, rgba(64, 139, 230, .2), rgba(45, 75, 120, .08)); }
.brand-mark svg { width: 34px; height: 34px; }
.brand-copy { display: flex; flex-direction: column; gap: 3px; }
.brand-name { font-family: Manrope, sans-serif; font-weight: 800; letter-spacing: 1.45px; font-size: 13px; color: #f6f9ff; }
.brand-subtitle { color: #8191a8; font-size: 8px; font-weight: 700; letter-spacing: 1.65px; }
.sidebar-close { display: none !important; margin-left: auto; color: #aebbd0 !important; }
.workspace-switcher { display: flex; align-items: center; gap: 10px; padding: 11px 10px; margin: 0 2px 25px; border: 1px solid rgba(202, 218, 240, .12); border-radius: 11px; background: rgba(255,255,255,.045); }
.workspace-avatar { width: 31px; height: 31px; border-radius: 9px; display: grid; place-items: center; color: #dcecff; background: linear-gradient(145deg, #397dc4, #5a67b7); font-size: 10px; font-weight: 700; }
.workspace-copy { display: flex; flex: 1; min-width: 0; flex-direction: column; gap: 3px; }
.workspace-label { font-size: 8px; letter-spacing: 1.2px; color: #7f90a9; font-weight: 700; }
.workspace-copy strong { font-size: 11px; font-weight: 600; color: #e9f0fa; }
.chevron { width: 15px; height: 15px; color: #8393a9; }
.main-nav { display: flex; flex-direction: column; gap: 4px; }
.nav-section-label { padding: 0 11px 8px; font-size: 9px; font-weight: 700; letter-spacing: 1.35px; color: #73839a; }
.nav-section-spaced { margin-top: 25px; }
.nav-link { position: relative; display: flex; align-items: center; gap: 12px; min-height: 43px; padding: 0 11px; color: #a7b4c7; border-radius: 9px; font-size: 12px; font-weight: 500; transition: background .18s, color .18s; }
.nav-link svg { width: 17px; height: 17px; flex: 0 0 auto; color: #8e9db2; }
.nav-link:hover { background: rgba(255,255,255,.055); color: #f5f8ff; }
.nav-link.active { color: #fff; background: linear-gradient(90deg, rgba(58, 125, 224, .25), rgba(58, 125, 224, .11)); box-shadow: inset 2px 0 #5aa1ff; }
.nav-link.active svg { color: #7bb8ff; }
.nav-count { margin-left: auto; min-width: 22px; padding: 3px 6px; text-align: center; color: #9bbde9; background: rgba(85, 143, 218, .16); border-radius: 6px; font-size: 10px; }
.nav-alert { margin-left: auto; display: grid; place-items: center; width: 18px; height: 18px; border-radius: 50%; color: #ffd9a2; background: rgba(219, 145, 47, .2); font-size: 10px; }
.sidebar-bottom { margin-top: auto; }
.help-card { display: flex; align-items: center; gap: 9px; padding: 12px 10px; margin: 0 2px 15px; border: 1px solid rgba(202,218,240,.1); border-radius: 10px; background: rgba(255,255,255,.035); }
.help-icon { width: 29px; height: 29px; display: grid; place-items: center; color: #9bc7f8; border-radius: 8px; background: rgba(77,139,210,.15); }
.help-icon svg { width: 16px; height: 16px; }
.help-card div:nth-child(2) { display: flex; flex-direction: column; gap: 3px; flex: 1; }
.help-card strong { color: #e2eaf5; font-size: 10px; font-weight: 600; }
.help-card span { color: #8292a9; font-size: 9px; }
.help-arrow { width: 14px; height: 14px; color: #75869d; }
.profile-button { display: flex; align-items: center; gap: 10px; width: 100%; padding: 13px 7px 3px; border: 0; border-top: 1px solid rgba(202,218,240,.12); color: inherit; background: transparent; text-align: left; }
.profile-avatar { width: 32px; height: 32px; display: grid; place-items: center; flex: 0 0 auto; border-radius: 50%; color: #fff; background: linear-gradient(145deg, #4c83c5, #7568b8); font-size: 10px; font-weight: 700; }
.profile-copy { display: flex; flex-direction: column; gap: 3px; flex: 1; }
.profile-copy strong { font-size: 11px; font-weight: 600; color: #eaf0f8; }
.profile-copy span { font-size: 9px; color: #8292a9; }
.more-icon { width: 17px; height: 17px; color: #8595aa; }
.sidebar-backdrop { display: none; }

.main-area { min-height: 100vh; margin-left: 252px; }
.topbar { height: 69px; display: flex; align-items: center; justify-content: space-between; padding: 0 37px; border-bottom: 1px solid var(--border); background: rgba(255,255,255,.88); }
.topbar-left, .topbar-actions { display: flex; align-items: center; gap: 18px; }
.breadcrumb { display: flex; align-items: center; gap: 10px; color: #9aa5b5; font-size: 11px; }
.breadcrumb svg { width: 13px; height: 13px; color: #b3bdca; }
.breadcrumb strong { color: #344157; font-weight: 600; }
.icon-button { width: 34px; height: 34px; display: inline-grid; place-items: center; border: 1px solid transparent; border-radius: 9px; color: #728096; background: transparent; }
.icon-button svg { width: 18px; height: 18px; }
.icon-button:hover { color: var(--blue); border-color: var(--border); background: #f8faff; }
.menu-toggle { display: none; }
.system-status { display: flex; align-items: center; gap: 7px; color: #748196; font-size: 10px; }
.status-dot, .footer-status-dot { width: 7px; height: 7px; display: inline-block; border-radius: 50%; background: #25b486; box-shadow: 0 0 0 3px rgba(37,180,134,.1); }
.notification-button { position: relative; }
.notification-button i { position: absolute; top: 6px; right: 6px; width: 6px; height: 6px; border: 1px solid white; border-radius: 50%; background: #ed6b73; }
.topbar-divider { height: 25px; width: 1px; background: var(--border); }
.topbar-user { display: flex; align-items: center; gap: 9px; border: 0; background: transparent; color: #46536a; font-size: 11px; font-weight: 600; }
.profile-avatar.small { width: 29px; height: 29px; font-size: 9px; }
.page-content { max-width: 1600px; margin: 0 auto; padding: 34px 37px 22px; }
.page-heading { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; margin-bottom: 25px; }
.eyebrow { display: flex; align-items: center; gap: 7px; color: #7f8ba0; font-size: 9px; font-weight: 700; letter-spacing: 1.5px; margin-bottom: 10px; }
.eyebrow-line { width: 16px; height: 2px; border-radius: 2px; background: #4a8ce7; }
h1, h2, p { margin-top: 0; }
h1 { margin-bottom: 7px; font-family: Manrope, sans-serif; font-size: clamp(23px, 2.1vw, 29px); line-height: 1.25; letter-spacing: -.8px; color: #17243a; font-weight: 750; }
.wave { color: #e7a842; font-size: 21px; vertical-align: 2px; }
.page-description { margin-bottom: 0; color: #8792a3; font-size: 12px; }
.heading-actions { display: flex; align-items: center; gap: 9px; }
.button { min-height: 38px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 0 13px; border: 1px solid var(--border-strong); border-radius: 8px; background: #fff; color: #536178; font-size: 11px; font-weight: 600; white-space: nowrap; transition: .18s ease; }
.button svg { width: 15px; height: 15px; }
.button:hover { transform: translateY(-1px); box-shadow: 0 4px 12px rgba(33,67,112,.08); }
.button-primary { color: #fff; border-color: var(--blue); background: var(--blue); box-shadow: 0 3px 8px rgba(52,120,229,.16); }
.button-primary:hover { border-color: var(--blue-dark); background: var(--blue-dark); }
.button-secondary:hover { border-color: #cbd8e9; background: #fbfcff; }
.button-chevron { width: 13px !important; height: 13px !important; color: #94a0b1; }
.metrics-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 15px; margin-bottom: 17px; }
.metric-card, .panel { border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow); }
.metric-card { position: relative; min-height: 151px; overflow: hidden; padding: 17px 18px 14px; }
.metric-top { display: flex; align-items: center; justify-content: space-between; }
.metric-label { color: #7b8799; font-size: 11px; font-weight: 500; }
.metric-icon { width: 32px; height: 32px; display: grid; place-items: center; border-radius: 9px; }
.metric-icon svg { width: 17px; height: 17px; }
.metric-icon-blue { color: #4a8be6; background: #edf4ff; }
.metric-icon-green { color: #21a67b; background: #eaf8f2; }
.metric-icon-violet { color: #8268db; background: #f1edff; }
.metric-icon-amber { color: #d69a39; background: #fff6e8; }
.metric-value-row { display: flex; align-items: center; gap: 10px; margin: 10px 0 3px; }
.metric-value-row > strong { color: #1c2940; font-family: Manrope, sans-serif; font-size: 27px; letter-spacing: -.8px; font-weight: 750; }
.metric-change { display: inline-flex; align-items: center; gap: 2px; padding: 3px 5px; border-radius: 5px; font-size: 9px; font-weight: 700; }
.metric-change svg { width: 11px; height: 11px; }
.metric-change.positive { color: #15966c; background: #eaf8f2; }
.metric-change.negative { color: #c58a2b; background: #fff6e7; }
.metric-footnote { color: #9aa4b2; font-size: 9px; }
.metric-spark { position: absolute; right: 16px; bottom: 0; height: 29px; width: 76px; display: flex; align-items: flex-end; gap: 4px; opacity: .78; }
.metric-spark span { flex: 1; border-radius: 3px 3px 0 0; background: currentColor; opacity: .15; }
.metric-spark span:nth-child(1) { height: 25%; }.metric-spark span:nth-child(2) { height: 42%; }.metric-spark span:nth-child(3) { height: 32%; }.metric-spark span:nth-child(4) { height: 58%; }.metric-spark span:nth-child(5) { height: 45%; }.metric-spark span:nth-child(6) { height: 68%; }.metric-spark span:nth-child(7) { height: 52%; }.metric-spark span:nth-child(8) { height: 74%; }.metric-spark span:nth-child(9) { height: 62%; }.metric-spark span:nth-child(10) { height: 85%; }.metric-spark span:nth-child(11) { height: 73%; }.metric-spark span:nth-child(12) { height: 100%; }
.spark-blue { color: #4a8be6; }.spark-green { color: #21a67b; }.spark-violet { color: #8268db; }.spark-amber { color: #d69a39; }

.dashboard-grid { display: grid; grid-template-columns: minmax(0, 1.8fr) minmax(280px, .9fr); gap: 15px; margin-bottom: 17px; }
.panel { min-width: 0; padding: 19px 19px 17px; }
.panel-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.panel-header h2 { margin-bottom: 5px; color: #243149; font-family: Manrope, sans-serif; font-size: 13px; font-weight: 750; letter-spacing: -.15px; }
.panel-header p { margin-bottom: 0; color: #96a0ae; font-size: 10px; }
.select-button { display: inline-flex; align-items: center; gap: 8px; padding: 7px 9px; border: 1px solid var(--border); border-radius: 7px; color: #6d7a8e; background: #fff; font-size: 9px; }
.select-button svg { width: 12px; height: 12px; }
.subtle-icon { color: #9aa5b4; }
.chart-legend { display: flex; align-items: center; gap: 18px; margin: 22px 0 5px; color: #8c97a7; font-size: 9px; }
.chart-legend span { display: flex; align-items: center; gap: 6px; }
.legend-dot { width: 7px; height: 7px; border-radius: 50%; }
.legend-blue { background: #4285f4; }.legend-gray { background: #b7c1ce; }
.chart-wrap { position: relative; padding: 8px 0 0 37px; }
.chart-y-labels { position: absolute; top: 8px; bottom: 24px; left: 0; display: flex; flex-direction: column; justify-content: space-between; color: #a5afbd; font-size: 8px; }
.activity-chart { width: 100%; height: 190px; overflow: visible; }
.chart-grid-lines path { stroke: #edf1f5; stroke-width: 1; stroke-dasharray: 3 4; }
.chart-area-gray { fill: url(#grayFill); }.chart-line-gray { fill: none; stroke: #bac4d1; stroke-width: 2; stroke-dasharray: 4 4; }
.chart-area-blue { fill: url(#blueFill); }.chart-line-blue { fill: none; stroke: #4387ef; stroke-width: 2.5; }
.chart-point { fill: #4387ef; stroke: #fff; stroke-width: 2; }.chart-point-ring { fill: none; stroke: #4387ef; stroke-width: 1; opacity: .2; }
.chart-x-labels { display: flex; justify-content: space-between; padding-top: 5px; color: #a5afbd; font-size: 8px; }
.donut-area { display: grid; place-items: center; padding: 21px 0 17px; }
.donut-chart { width: 151px; height: 151px; display: grid; place-items: center; border-radius: 50%; background: conic-gradient(#3d82e7 0 68.4%, #a7b5c8 68.4% 86.6%, #e6b45d 86.6% 97.3%, #dc6d78 97.3% 100%); position: relative; }
.donut-chart::before { content: ""; position: absolute; width: 111px; height: 111px; border-radius: 50%; background: #fff; }
.donut-center { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; gap: 3px; }
.donut-center strong { font-family: Manrope, sans-serif; font-size: 20px; letter-spacing: -.5px; color: #1f2b41; }
.donut-center span { color: #98a3b1; font-size: 9px; }
.outcome-list { display: flex; flex-direction: column; gap: 11px; }
.outcome-list > div { display: flex; justify-content: space-between; align-items: center; color: #758196; font-size: 10px; }
.outcome-list strong { color: #435067; font-size: 10px; }
.outcome-name { display: flex; align-items: center; gap: 8px; }
.outcome-dot { width: 7px; height: 7px; border-radius: 50%; }
.dot-complete { background: #3d82e7; }.dot-screenout { background: #a7b5c8; }.dot-quota { background: #e6b45d; }.dot-security { background: #dc6d78; }

.lower-grid { display: grid; grid-template-columns: minmax(0, 1.8fr) minmax(280px, .9fr); gap: 15px; }
.panel-header-wrap { margin-bottom: 17px; }
.text-link { display: inline-flex; align-items: center; gap: 6px; color: #397cdb; font-size: 9px; font-weight: 600; white-space: nowrap; }
.text-link svg, .activity-footer svg { width: 13px; height: 13px; }
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; text-align: left; white-space: nowrap; }
thead th { padding: 0 11px 11px; border-bottom: 1px solid #edf0f4; color: #9aa4b2; font-size: 8px; font-weight: 600; letter-spacing: .2px; }
thead th:first-child, tbody td:first-child { padding-left: 0; }
tbody td { padding: 12px 11px; border-bottom: 1px solid #f0f2f6; color: #667389; font-size: 9px; }
tbody tr:last-child td { border-bottom: 0; }
.survey-cell { display: flex; align-items: center; gap: 9px; min-width: 185px; }
.survey-cell > span:last-child { display: flex; flex-direction: column; gap: 4px; }
.survey-cell strong { color: #354259; font-size: 9px; font-weight: 600; }
.survey-cell small { color: #a0a9b6; font-size: 8px; }
.survey-type-icon { width: 29px; height: 29px; display: grid; place-items: center; border-radius: 8px; }
.survey-type-icon svg { width: 15px; height: 15px; }
.type-blue { color: #4c8ce8; background: #edf4ff; }.type-violet { color: #8268db; background: #f1edff; }.type-amber { color: #d69a39; background: #fff6e8; }.type-green { color: #21a67b; background: #eaf8f2; }
.status-pill { display: inline-flex; align-items: center; gap: 5px; padding: 4px 7px; border-radius: 5px; font-size: 8px; font-weight: 600; }
.status-pill i { width: 5px; height: 5px; border-radius: 50%; background: currentColor; }
.status-active { color: #15966c; background: #eaf8f2; }.status-paused { color: #b88737; background: #fff6e7; }.status-completed { color: #6e7d92; background: #f0f3f7; }
.numeric-cell { color: #435067; font-weight: 600; font-variant-numeric: tabular-nums; }
.quota-cell { width: 105px; display: flex; flex-direction: column; gap: 5px; color: #8591a2; font-size: 8px; }
.mini-progress { height: 4px; overflow: hidden; border-radius: 5px; background: #edf1f6; }
.mini-progress i { display: block; height: 100%; border-radius: inherit; background: #5795ed; }
.mini-progress.complete i { background: #22a67b; }
.date-cell { color: #8e99a9; font-size: 8px; }
.row-more { width: 22px; height: 22px; border: 0; border-radius: 5px; color: #9aa5b4; background: transparent; font-size: 17px; line-height: 1; }
.row-more:hover { background: #f3f6fa; color: #4c5c73; }
.activity-list { display: flex; flex-direction: column; }
.activity-item { display: flex; gap: 10px; padding: 12px 0; border-bottom: 1px solid #f0f2f6; }
.activity-item:first-child { padding-top: 2px; }
.activity-icon { width: 27px; height: 27px; display: grid; place-items: center; flex: 0 0 auto; border-radius: 8px; }
.activity-icon svg { width: 14px; height: 14px; }
.activity-success { color: #1ba579; background: #eaf8f2; }.activity-info { color: #4a8be6; background: #edf4ff; }.activity-warning { color: #d69a39; background: #fff6e8; }.activity-purple { color: #8268db; background: #f1edff; }
.activity-item > div { display: flex; flex: 1; min-width: 0; justify-content: space-between; gap: 8px; }
.activity-item p { display: flex; flex-direction: column; gap: 4px; margin-bottom: 0; min-width: 0; }
.activity-item p strong { color: #435067; font-size: 9px; font-weight: 600; }
.activity-item p span { max-width: 190px; color: #96a0af; font-size: 8px; line-height: 1.5; }
.activity-item time { flex: 0 0 auto; color: #a4adba; font-size: 8px; padding-top: 1px; }
.activity-footer { display: flex; align-items: center; justify-content: center; gap: 7px; padding-top: 14px; color: #397cdb; font-size: 9px; font-weight: 600; }
.page-footer { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 21px 2px 0; color: #a0aab7; font-size: 8px; }
.page-footer > span:nth-child(2) { display: flex; align-items: center; gap: 7px; }
.footer-status-dot { width: 6px; height: 6px; box-shadow: none; }

.toast-container { position: fixed; right: 22px; bottom: 22px; z-index: 100; display: flex; flex-direction: column; gap: 9px; }
.toast { display: flex; align-items: center; gap: 9px; max-width: 340px; padding: 12px 15px; border: 1px solid #dfe8f3; border-radius: 10px; color: #40516a; background: #fff; box-shadow: 0 12px 35px rgba(24,42,70,.13); font-size: 11px; animation: toast-in .2s ease; }
.toast svg { width: 16px; height: 16px; color: #1ba579; }
@keyframes toast-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
.modal-backdrop { position: fixed; inset: 0; z-index: 90; display: none; place-items: center; padding: 20px; background: rgba(13,24,42,.42); backdrop-filter: blur(4px); }
.modal-backdrop.open { display: grid; }
.modal { width: min(100%, 480px); padding: 25px; border: 1px solid rgba(255,255,255,.7); border-radius: 16px; background: #fff; box-shadow: 0 25px 80px rgba(10,24,45,.24); animation: modal-in .18s ease; }
@keyframes modal-in { from { opacity: 0; transform: translateY(8px) scale(.99); } to { opacity: 1; transform: translateY(0) scale(1); } }
.modal-header { display: flex; justify-content: space-between; gap: 12px; margin-bottom: 23px; }
.modal-kicker { color: #4a86dd; font-size: 8px; font-weight: 700; letter-spacing: 1.4px; }
.modal-header h2 { margin: 7px 0 5px; color: #1d2b42; font-family: Manrope, sans-serif; font-size: 21px; }
.modal-header p { margin: 0; color: #8b96a6; font-size: 10px; }
.form-label { display: block; margin: 15px 0 7px; color: #536178; font-size: 10px; font-weight: 600; }
.form-input { width: 100%; padding: 11px 12px; outline: 0; border: 1px solid #e1e7ef; border-radius: 8px; color: #34435a; background: #fff; font-size: 11px; transition: border .18s, box-shadow .18s; }
.form-input:focus { border-color: #7eacec; box-shadow: 0 0 0 3px rgba(67,135,239,.1); }
.form-input::placeholder { color: #b0b9c5; }
.form-textarea { resize: vertical; min-height: 84px; }
.modal-note { display: flex; align-items: flex-start; gap: 8px; margin-top: 17px; padding: 10px; border-radius: 8px; color: #7e8ba0; background: #f5f8fc; font-size: 9px; line-height: 1.5; }
.modal-note svg { width: 14px; height: 14px; flex: 0 0 auto; color: #6b9add; }
.modal-actions { display: flex; justify-content: flex-end; gap: 8px; margin-top: 22px; }

@media (max-width: 1200px) {
  .sidebar { width: 230px; }
  .main-area { margin-left: 230px; }
  .topbar { padding: 0 26px; }
  .page-content { padding: 29px 26px 20px; }
  .metrics-grid { gap: 11px; }
  .metric-card { padding-left: 14px; padding-right: 14px; }
  .dashboard-grid, .lower-grid { grid-template-columns: minmax(0, 1.5fr) minmax(260px, .85fr); gap: 11px; }
  .panel { padding: 16px; }
}
@media (max-width: 980px) {
  .metrics-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .dashboard-grid, .lower-grid { grid-template-columns: 1fr; }
  .status-panel { display: grid; grid-template-columns: 1fr 1fr; column-gap: 20px; }
  .status-panel .panel-header { grid-column: 1 / -1; }
  .status-panel .donut-area { padding: 15px 0 0; }
  .status-panel .outcome-list { align-self: center; }
}
@media (max-width: 700px) {
  .sidebar { transform: translateX(-100%); width: 265px; box-shadow: 15px 0 40px rgba(8,20,38,.2); }
  .sidebar.open { transform: translateX(0); }
  .sidebar-close { display: inline-grid !important; }
  .sidebar-backdrop.open { display: block; position: fixed; inset: 0; z-index: 25; background: rgba(9,20,35,.38); }
  .main-area { margin-left: 0; }
  .topbar { height: 60px; padding: 0 16px; }
  .menu-toggle { display: inline-grid; }
  .topbar-left { gap: 9px; }
  .topbar-actions { gap: 8px; }
  .system-status, .topbar-user > span, .topbar-user .chevron, .topbar-divider { display: none; }
  .page-content { padding: 24px 16px 18px; }
  .page-heading { align-items: flex-start; flex-direction: column; gap: 16px; margin-bottom: 19px; }
  .heading-actions { width: 100%; }
  .heading-actions .button { flex: 1; }
  .metrics-grid { gap: 10px; }
  .metric-card { min-height: 140px; padding: 13px; }
  .metric-value-row > strong { font-size: 24px; }
  .metric-label { font-size: 10px; }
  .metric-footnote { font-size: 8px; }
  .metric-icon { width: 29px; height: 29px; }
  .panel { padding: 15px 13px; }
  .chart-legend { gap: 11px; font-size: 8px; }
  .activity-chart { height: 165px; }
  .status-panel { grid-template-columns: 1fr; }
  .status-panel .panel-header { grid-column: auto; }
  .status-panel .donut-area { padding: 19px 0 14px; }
  .status-panel .outcome-list { width: 100%; }
  .page-footer { flex-wrap: wrap; justify-content: center; text-align: center; }
}
@media (max-width: 420px) {
  .breadcrumb { font-size: 10px; gap: 6px; }
  .metrics-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .metric-card { min-height: 137px; }
  .metric-value-row { gap: 5px; }
  .metric-change { font-size: 8px; }
  .metric-spark { right: 11px; width: 58px; }
  .heading-actions { gap: 7px; }
  .heading-actions .button { padding: 0 8px; font-size: 10px; }
  .chart-wrap { padding-left: 31px; }
  .chart-x-labels span:nth-child(even) { display: none; }
  .modal { padding: 20px; }
}
