:root { --ink: #102a2b; --ink-soft: #496563; --paper: #f3f1eb; --white: #fffefa; --line: #dbe0d8; --coral: #e8614d; --mint: #b9d6ca; --green: #3a9978; --muted: #82918d; }
* { box-sizing: border-box; }
body { margin: 0; min-width: 1100px; color: var(--ink); background: var(--paper); font-family: Manrope, sans-serif; }
.preview-ribbon { position: fixed; top: 0; right: 0; z-index: 4; padding: 8px 16px; color: #fff; background: var(--coral); font: 500 9px 'DM Mono', monospace; letter-spacing: .1em; }
.workspace { display: flex; min-height: 100vh; padding-top: 26px; }
.sidebar { display: flex; position: fixed; top: 26px; bottom: 0; width: 252px; flex-direction: column; padding: 34px 20px 28px; color: #dbe6df; background: var(--ink); }
.side-brand { display: flex; align-items: center; gap: 13px; margin: 0 16px 68px; color: #fff; font-size: 16px; font-weight: 800; letter-spacing: .14em; }
.brand-mark { display: flex; align-items: flex-end; gap: 3px; height: 21px; }
.brand-mark i { display: block; width: 5px; background: var(--coral); }
.brand-mark i:nth-child(1) { height: 12px; }.brand-mark i:nth-child(2) { height: 21px; }.brand-mark i:nth-child(3) { height: 16px; }
.side-caption, .section-label, th, .kpi-top, .breadcrumb { color: #78918b; font: 500 9px 'DM Mono', monospace; letter-spacing: .13em; }
.side-caption { margin: 0 16px 17px; color: #64837c; font-size: 8px; }
nav { display: grid; gap: 5px; }
nav a { display: flex; align-items: center; gap: 14px; padding: 13px 16px; color: #9db1aa; text-decoration: none; font-size: 12px; font-weight: 600; }
nav a span { width: 16px; color: #8daaa0; font-size: 16px; text-align: center; } nav a.active { color: #fff; background: #254848; } nav a.active span { color: var(--coral); }
.side-bottom { display: flex; margin-top: auto; flex-direction: column; gap: 14px; color: #66847d; font: 8px 'DM Mono', monospace; letter-spacing: .08em; }
.online { color: #a6cfc0; }.online i { display: inline-block; width: 6px; height: 6px; margin-right: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px rgba(58,153,120,.14); }
.dashboard { width: calc(100% - 252px); min-width: 0; margin-left: 252px; padding: 46px clamp(30px, 5vw, 76px) 60px; }
.dashboard-header { display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; margin-bottom: 42px; }.breadcrumb { margin-bottom: 23px; }.breadcrumb span { padding: 0 7px; color: #c1c9c2; }
.dashboard-header h1 { margin: 0; font-size: clamp(30px, 3.5vw, 48px); line-height: 1; letter-spacing: -.07em; }.dashboard-header h1 em { color: var(--coral); font-family: Newsreader, serif; font-weight: 500; }.dashboard-header p { margin: 15px 0 0; color: var(--muted); font-size: 12px; }
.header-actions { display: flex; align-items: flex-end; gap: 11px; }.area-filter { display: flex; flex-direction: column; gap: 5px; color: var(--muted); font: 8px 'DM Mono', monospace; letter-spacing: .08em; }.area-filter select { border: 1px solid var(--line); padding: 10px 28px 10px 11px; color: var(--ink-soft); background: transparent; font: 10px Manrope, sans-serif; }.date-chip { border: 1px solid var(--line); padding: 11px 13px; color: var(--ink-soft); font: 9px 'DM Mono', monospace; letter-spacing: .08em; }.date-chip span { margin-left: 12px; color: var(--coral); }.avatar { width: 38px; height: 38px; border: 0; border-radius: 50%; color: #fff; background: var(--ink); font-size: 10px; font-weight: 800; }
.dashboard-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: 18px; }.kpi, .panel { border: 1px solid var(--line); background: rgba(255,254,250,.7); }.kpi { min-height: 146px; padding: 18px; }.lead-kpi { color: #fff; background: var(--ink); }.kpi-top { display: flex; justify-content: space-between; font-size: 8px; }.kpi-top b { color: var(--coral); font: 500 8px 'DM Mono', monospace; }.lead-kpi .kpi-top { color: #91aba3; }.lead-kpi .kpi-top b { color: var(--mint); }.kpi strong { display: block; margin: 23px 0 10px; font-size: 34px; letter-spacing: -.08em; }.kpi-foot { display: flex; gap: 7px; color: var(--muted); font-size: 10px; }.lead-kpi .kpi-foot { color: #91aba3; }.up, .green-text { color: var(--green); }.coral-text { color: var(--coral); }
.content-grid { display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(240px, .85fr); gap: 18px; margin-bottom: 18px; }.content-grid > * { min-width: 0; }.panel { min-width: 0; padding: 25px; }.panel-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }.panel h2 { margin: 10px 0 0; font-size: 20px; letter-spacing: -.045em; }.ghost-button { border: 1px solid var(--line); padding: 9px 11px; color: var(--ink-soft); background: transparent; font-size: 10px; }.chart { display: flex; height: 216px; margin-top: 25px; }.y-axis { display: flex; width: 34px; flex-direction: column; justify-content: space-between; padding-bottom: 23px; color: #a2ada7; font: 8px 'DM Mono', monospace; }.bars { position: relative; display: flex; min-width: 0; flex: 1; align-items: flex-end; justify-content: space-around; border-bottom: 1px solid var(--line); }.gridline { position: absolute; right: 0; left: 0; height: 1px; background: var(--line); }.gridline:nth-child(1) { top: 0; }.gridline:nth-child(2) { top: 25%; }.gridline:nth-child(3) { top: 50%; }.gridline:nth-child(4) { top: 75%; }.bar-group { position: relative; z-index: 1; display: flex; width: 65px; height: 100%; flex-direction: column; align-items: center; justify-content: flex-end; }.bar-wrap { display: flex; align-items: flex-end; gap: 5px; height: calc(100% - 23px); }.bar { display: block; width: 14px; }.bar.pale { background: var(--mint); }.bar.coral { background: var(--coral); }.bar-group small { margin-top: 9px; color: #9eaaa5; font: 8px 'DM Mono', monospace; }.legend { display: flex; align-items: center; gap: 20px; margin-top: 20px; color: var(--muted); font-size: 10px; }.legend i { display: inline-block; width: 8px; height: 8px; margin-right: 6px; }.legend-pale { background: var(--mint); }.legend-coral { background: var(--coral); }.legend b { margin-left: auto; color: var(--green); font-size: 10px; }
.presence-panel { display: flex; flex-direction: column; }.pulse { color: var(--green); font: 9px 'DM Mono', monospace; }.donut { display: grid; place-items: center; width: 144px; height: 144px; margin: 22px auto 18px; border: 15px solid var(--mint); border-right-color: var(--coral); border-radius: 50%; transform: rotate(-35deg); }.donut div { display: flex; align-items: center; flex-direction: column; transform: rotate(35deg); }.donut strong { font-size: 28px; letter-spacing: -.08em; }.donut span { color: var(--muted); font: 9px 'DM Mono', monospace; }.status-list { border-top: 1px solid var(--line); }.status-list div { display: flex; justify-content: space-between; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 10px; }.status-list i { display: inline-block; width: 7px; height: 7px; margin-right: 6px; border-radius: 50%; }.green-dot { background: var(--green); }.mint-dot { background: #8dbdad; }.coral-dot { background: var(--coral); }.status-list b { font: 500 10px 'DM Mono', monospace; }
.activity-panel { padding-bottom: 12px; }.activity-panel table { width: 100%; margin-top: 25px; border-collapse: collapse; text-align: left; }.activity-panel th { padding: 0 10px 12px; font-size: 8px; font-weight: 500; }.activity-panel td { padding: 15px 10px; border-top: 1px solid var(--line); color: var(--ink-soft); font-size: 11px; }.person { display: flex; align-items: center; gap: 10px; color: var(--ink); font-weight: 700; }.person i { display: grid; width: 28px; height: 28px; place-items: center; border-radius: 50%; color: var(--ink); background: var(--mint); font-size: 9px; font-style: normal; }.status { padding: 5px 7px; font: 8px 'DM Mono', monospace; letter-spacing: .06em; }.status.ok { color: var(--green); background: #e3f1eb; }.status.late { color: var(--coral-dark); background: #f9e6e1; }
.lower-grid { display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(260px, .85fr); gap: 18px; margin-bottom: 18px; }.lower-grid > * { min-width: 0; }.activity-panel { padding-bottom: 12px; }.activity-panel table { width: 100%; margin-top: 25px; border-collapse: collapse; text-align: left; }.activity-panel th { padding: 0 10px 12px; font-size: 8px; font-weight: 500; }.activity-panel td { padding: 15px 10px; border-top: 1px solid var(--line); color: var(--ink-soft); font-size: 11px; }.person { display: flex; align-items: center; gap: 10px; color: var(--ink); font-weight: 700; }.person i { display: grid; width: 28px; height: 28px; place-items: center; border-radius: 50%; color: var(--ink); background: var(--mint); font-size: 9px; font-style: normal; }.status { padding: 5px 7px; font: 8px 'DM Mono', monospace; letter-spacing: .06em; }.status.ok { color: var(--green); background: #e3f1eb; }.status.late { color: var(--coral-dark); background: #f9e6e1; }
.alerts-panel { padding-bottom: 14px; }.alert-count { display: grid; width: 29px; height: 29px; place-items: center; border-radius: 50%; color: var(--coral-dark); background: #f9e6e1; font: 9px 'DM Mono', monospace; }.alert-list { margin-top: 22px; }.alert-list > div { display: flex; align-items: center; gap: 10px; padding: 13px 0; border-top: 1px solid var(--line); }.alert-icon { display: grid; width: 27px; height: 27px; flex: 0 0 27px; place-items: center; border-radius: 50%; font-weight: 800; font-style: normal; }.coral-bg { color: var(--coral-dark); background: #f9e6e1; }.amber-bg { color: #a17227; background: #f8efd8; }.mint-bg { color: var(--green); background: #e3f1eb; }.alert-list span { display: flex; min-width: 0; flex: 1; flex-direction: column; gap: 4px; }.alert-list b { overflow: hidden; color: var(--ink); font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }.alert-list small { color: var(--muted); font-size: 9px; }.alert-list button { border: 0; color: var(--coral); background: transparent; font-size: 16px; }.insight-strip { display: flex; align-items: center; gap: 24px; padding: 18px 20px; border: 1px solid #bfd5cd; color: var(--ink); background: #eaf3ee; }.insight-strip .section-label { display: block; margin-bottom: 7px; color: var(--green); }.insight-strip strong { font-size: 13px; }.insight-strip em { color: var(--green); font-family: Newsreader, serif; font-size: 19px; font-weight: 500; }.insight-meter { width: 150px; height: 4px; background: #c7dcd3; }.insight-meter span { display: block; height: 100%; background: var(--green); }.sync-state { margin-left: auto; color: var(--muted); font: 8px 'DM Mono', monospace; letter-spacing: .05em; }.sync-state:first-letter { color: var(--green); }.sync-state b { color: var(--ink-soft); }
@media (max-width: 1100px) { .dashboard { padding-inline: 28px; }.dashboard-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 900px) { .lower-grid { grid-template-columns: 1fr; } .insight-strip { align-items: flex-start; flex-direction: column; gap: 10px; }.insight-meter { width: 100%; }.sync-state { margin-left: 0; } }
*** End Patch