:root {
    --navy: #102a43;
    --navy-deep: #0b2034;
    --ink: #17324d;
    --muted: #718096;
    --line: #e3ebf2;
    --canvas: #f5f8fa;
    --white: #ffffff;
    --teal: #07998e;
    --teal-soft: #e2f5f2;
    --blue: #4a7ce0;
    --blue-soft: #e9effd;
    --amber: #db921e;
    --amber-soft: #fff3dc;
    --coral: #d96d5d;
    --coral-soft: #fcedea;
    font-family: "DM Sans", sans-serif;
}

* { box-sizing: border-box; }
body { margin: 0; color: var(--ink); background: var(--canvas); }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
svg { width: 18px; height: 18px; stroke-width: 1.8; }

.app-shell { display: flex; min-height: 100vh; }
.sidebar { width: 250px; background: var(--navy); color: #d7e5f0; padding: 28px 16px 20px; display: flex; flex-direction: column; flex-shrink: 0; }
.brand { display: flex; align-items: center; gap: 12px; padding: 0 12px 38px; color: white; }
.brand-mark { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; background: #1bb4a7; color: white; }
.brand-mark svg { width: 21px; }
.brand strong { display: block; font: 700 18px/1 "Space Grotesk", sans-serif; letter-spacing: .02em; }
.brand small { display: block; color: #94aec2; font-size: 10px; margin-top: 4px; letter-spacing: .07em; text-transform: uppercase; }
.main-nav { display: grid; gap: 5px; }
.nav-item { display: flex; gap: 13px; align-items: center; border-radius: 8px; color: #a9c0d0; padding: 12px 14px; font-size: 13px; transition: background .2s, color .2s; }
.nav-item svg { width: 17px; color: #7895a9; }
.nav-item:hover { background: rgba(255,255,255,.07); color: white; }
.nav-item.active { background: #1c4965; color: white; font-weight: 600; }
.nav-item.active svg { color: #4ed1c2; }
.sidebar-footer { margin-top: auto; }
.support-card { border: 1px solid #2b4b63; border-radius: 9px; display: flex; align-items: center; gap: 10px; padding: 13px 11px; margin: 0 2px 24px; color: #89a6ba; }
.support-card > svg { width: 17px; flex-shrink: 0; }
.support-card div { flex: 1; }
.support-card strong, .support-card span { display: block; }
.support-card strong { color: #e2edf5; font-size: 11px; }
.support-card span { font-size: 10px; margin-top: 3px; }
.support-card .support-arrow { width: 13px; }
.version { color: #66869d; font-size: 9px; letter-spacing: .1em; padding: 0 14px; }
.version b { color: #9db5c6; font-weight: 500; }

.main-content { flex: 1; min-width: 0; }
.topbar { height: 73px; border-bottom: 1px solid var(--line); background: var(--white); display: flex; align-items: center; justify-content: space-between; padding: 0 clamp(24px, 4vw, 60px); }
.breadcrumb { display: flex; align-items: center; gap: 9px; color: #9aa8b6; font-size: 12px; }
.breadcrumb svg { width: 13px; }
.breadcrumb strong { color: var(--ink); font-weight: 600; }
.topbar-actions { display: flex; align-items: center; gap: 25px; }
.icon-button, .mobile-menu { border: 0; background: transparent; color: #6f8496; padding: 7px; position: relative; cursor: pointer; }
.notification-dot { position: absolute; right: 5px; top: 4px; width: 6px; height: 6px; border-radius: 50%; background: #e36b5b; border: 1px solid white; }
.user-profile { display: flex; align-items: center; gap: 9px; color: #7b8d9e; font-size: 12px; }
.user-profile > svg { width: 14px; }
.avatar { display: grid; place-items: center; width: 31px; height: 31px; border-radius: 50%; color: #126d69; background: #d9f0ed; font-size: 10px; font-weight: 700; }
.mobile-menu { display: none; }
.page-content { max-width: 1420px; padding: 43px clamp(24px, 4vw, 60px) 55px; margin: auto; }
.welcome-section { display: flex; justify-content: space-between; align-items: end; margin-bottom: 35px; }
.eyebrow { color: #8598a9; font-size: 10px; font-weight: 700; letter-spacing: .11em; text-transform: uppercase; margin: 0 0 9px; }
h1, h2 { font-family: "Space Grotesk", sans-serif; margin: 0; color: var(--ink); }
h1 { font-size: clamp(28px, 3vw, 38px); letter-spacing: -.02em; }
h2 { font-size: 20px; letter-spacing: -.02em; }
.welcome-copy { color: var(--muted); font-size: 13px; margin: 10px 0 0; }
.live-dot { display: inline-block; width: 6px; height: 6px; background: var(--teal); border-radius: 50%; margin: 0 4px 1px 8px; box-shadow: 0 0 0 3px var(--teal-soft); }
.primary-button { display: flex; align-items: center; gap: 8px; background: var(--teal); color: white; border: 0; border-radius: 6px; padding: 11px 16px; font-size: 12px; font-weight: 600; cursor: pointer; box-shadow: 0 5px 12px rgba(7,153,142,.16); }
.primary-button svg { width: 16px; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-bottom: 43px; }
.stat-card { background: var(--white); border: 1px solid var(--line); border-radius: 8px; min-height: 160px; padding: 18px 19px; position: relative; }
.stat-icon, .quick-link-icon, .activity-icon { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 8px; }
.stat-icon { margin-bottom: 14px; }
.stat-icon svg { width: 17px; }
.stat-icon.teal, .quick-link-icon.teal, .activity-icon.teal { color: var(--teal); background: var(--teal-soft); }
.stat-icon.blue, .quick-link-icon.blue, .activity-icon.blue { color: var(--blue); background: var(--blue-soft); }
.stat-icon.amber, .quick-link-icon.amber, .activity-icon.amber { color: var(--amber); background: var(--amber-soft); }
.stat-icon.coral, .activity-icon.coral { color: var(--coral); background: var(--coral-soft); }
.stat-card p { color: var(--muted); font-size: 12px; margin: 0 0 6px; }
.stat-value { font: 600 28px/1 "Space Grotesk", sans-serif; }
.trend { font-size: 11px; font-weight: 700; margin-right: 5px; }
.trend.teal { color: var(--teal); }.trend.blue { color: var(--blue); }.trend.amber { color: var(--amber); }.trend.coral { color: var(--coral); }
.trend-detail { color: #9aa8b6; font-size: 10px; }
.section-heading, .panel-heading { display: flex; align-items: end; justify-content: space-between; margin-bottom: 17px; }
.text-link, .panel-link { color: var(--teal); font-size: 11px; font-weight: 700; display: flex; align-items: center; gap: 4px; }
.text-link svg, .panel-link svg { width: 14px; }
.quick-links-section { margin-bottom: 42px; }
.quick-links-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.quick-link-card { display: flex; align-items: center; gap: 13px; background: white; border: 1px solid var(--line); border-radius: 8px; padding: 17px 16px; transition: border-color .2s, transform .2s; }
.quick-link-card:hover { border-color: #9adad4; transform: translateY(-2px); }
.quick-link-icon { width: 38px; height: 38px; flex-shrink: 0; }.quick-link-icon svg { width: 19px; }
.quick-link-card span:nth-child(2) { flex: 1; }.quick-link-card strong, .quick-link-card small { display: block; }.quick-link-card strong { font: 600 13px "Space Grotesk", sans-serif; }.quick-link-card small { color: var(--muted); font-size: 10px; margin-top: 4px; }.card-arrow { width: 15px; color: #9eb0bd; }
.dashboard-columns { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.panel { background: white; border: 1px solid var(--line); border-radius: 8px; padding: 24px 23px 19px; min-width: 0; }.panel-heading { align-items: start; }.status-summary { color: var(--teal); font-size: 10px; font-weight: 700; }.status-summary .live-dot { margin-left: 0; }
.status-list, .activity-list { border-top: 1px solid var(--line); }.status-row, .activity-row { display: flex; align-items: center; border-bottom: 1px solid var(--line); }.status-row { min-height: 65px; gap: 12px; }.service-icon { color: #7890a1; display: grid; place-items: center; width: 31px; height: 31px; background: #f2f6f8; border-radius: 7px; }.service-icon svg { width: 16px; }.service-name, .activity-copy { flex: 1; min-width: 0; }.service-name strong, .service-name small, .activity-copy strong, .activity-copy small { display: block; }.service-name strong, .activity-copy strong { font-size: 12px; font-weight: 600; }.service-name small, .activity-copy small { color: var(--muted); font-size: 10px; margin-top: 4px; }.service-status { font-size: 10px; font-weight: 700; }.service-status span { display: inline-block; width: 6px; height: 6px; background: var(--teal); border-radius: 50%; margin-right: 5px; }.service-status.success { color: var(--teal); }.panel-link { padding-top: 17px; }.activity-row { min-height: 67px; gap: 11px; }.activity-icon { width: 30px; height: 30px; flex-shrink: 0; }.activity-icon svg { width: 15px; }.activity-row time { color: #9aa8b6; font-size: 10px; white-space: nowrap; }
.button-row { display: flex; gap: 9px; }.secondary-button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 1px solid #cbd9e3; border-radius: 6px; background: white; color: var(--ink); padding: 10px 14px; font-size: 12px; font-weight: 600; cursor: pointer; }.secondary-button svg, .primary-button svg { width: 15px; }button:disabled { cursor: not-allowed; opacity: .52; box-shadow: none; }.full-width { width: 100%; }
.content-grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(280px, .65fr); gap: 14px; }.reports-grid { grid-template-columns: minmax(0, 1.6fr) minmax(300px, .7fr); }.data-list { border-top: 1px solid var(--line); }.data-row { display: flex; align-items: center; gap: 12px; min-height: 70px; border-bottom: 1px solid var(--line); }.data-row:hover .row-copy strong { color: var(--teal); }.row-icon { display: grid; place-items: center; width: 34px; height: 34px; flex-shrink: 0; border-radius: 8px; }.row-icon svg { width: 17px; }.row-icon.teal, .row-icon.success { color: var(--teal); background: var(--teal-soft); }.row-icon.blue { color: var(--blue); background: var(--blue-soft); }.row-icon.amber, .row-icon.warning { color: var(--amber); background: var(--amber-soft); }.row-icon.danger { color: var(--coral); background: var(--coral-soft); }.row-icon.neutral { color: #718096; background: #f0f4f6; }.row-copy { flex: 1; min-width: 0; }.row-copy strong, .row-copy small { display: block; }.row-copy strong { font-size: 12px; font-weight: 600; }.row-copy small { color: var(--muted); font-size: 10px; margin-top: 4px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }.row-chevron { color: #9eb0bd; width: 15px; }.status-badge { display: inline-flex; align-items: center; white-space: nowrap; border-radius: 100px; padding: 5px 8px; font-size: 9px; font-weight: 700; }.status-badge.success { color: var(--teal); background: var(--teal-soft); }.status-badge.warning { color: #ae7011; background: var(--amber-soft); }.status-badge.danger { color: #b95143; background: var(--coral-soft); }.status-badge.neutral { color: #718096; background: #f0f4f6; }.muted-label { color: #9aa8b6; font-size: 10px; }
.detail-panel { align-self: start; }.detail-panel h2 { margin: 9px 0 8px; }.detail-copy { color: var(--muted); font-size: 12px; line-height: 1.6; margin: 0 0 22px; }.detail-title { display: flex; align-items: center; gap: 10px; margin: 12px 0 21px; }.detail-title h2 { margin: 0 0 7px; font-size: 17px; }.detail-metrics { display: grid; grid-template-columns: repeat(3, 1fr); border-block: 1px solid var(--line); padding: 16px 0; margin-bottom: 20px; }.detail-metrics div { border-right: 1px solid var(--line); padding-left: 12px; }.detail-metrics div:first-child { padding-left: 0; }.detail-metrics div:last-child { border: 0; }.detail-metrics span, .detail-metrics strong { display: block; }.detail-metrics span, .detail-list dt { color: var(--muted); font-size: 10px; }.detail-metrics strong { font: 600 17px "Space Grotesk", sans-serif; margin-top: 5px; }.detail-list { margin: 0 0 22px; }.detail-list div { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); }.detail-list dd { margin: 0; font-size: 11px; font-weight: 600; text-align: right; }
.form-panel { padding: 27px; }.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 14px; }.form-grid label { color: var(--muted); display: grid; gap: 7px; font-size: 11px; font-weight: 600; }.form-grid input, .form-grid select, .form-grid textarea { width: 100%; border: 1px solid #d7e2e9; border-radius: 5px; background: #fbfcfd; color: var(--ink); padding: 11px 12px; font: 12px "DM Sans", sans-serif; outline: none; }.form-grid textarea { resize: vertical; }.form-grid input:focus, .form-grid select:focus, .form-grid textarea:focus { border-color: #80cec5; box-shadow: 0 0 0 3px var(--teal-soft); }.form-grid input:disabled { color: #9aa8b6; }.span-2 { grid-column: span 2; }.form-actions { display: flex; justify-content: flex-end; gap: 9px; border-top: 1px solid var(--line); padding-top: 20px; margin-top: 23px; }.demo-note { display: inline-flex; align-items: center; gap: 5px; color: var(--amber); font-size: 10px; font-weight: 700; }.demo-note svg { width: 14px; }
.filter-bar { display: flex; align-items: center; gap: 7px; margin: -6px 0 22px; }.filter-label { color: var(--muted); font-size: 11px; margin-right: 4px; }.filter-chip { border: 1px solid var(--line); border-radius: 100px; background: white; color: var(--muted); padding: 7px 11px; font-size: 10px; cursor: pointer; }.filter-chip b { margin-left: 4px; font-size: 9px; }.filter-chip.active { border-color: #7acbc2; color: var(--teal); background: var(--teal-soft); }.filter-chip.danger { color: #b95143; }.filter-chip.warning { color: #ae7011; }.route-row { display: flex; align-items: center; gap: 10px; min-height: 71px; border-bottom: 1px solid var(--line); }.route-row .status-badge { margin-left: auto; }
.map-placeholder { min-height: 390px; border-radius: 7px; background: #e8f0ee; position: relative; overflow: hidden; border: 1px solid #d0e0dc; }.map-grid-lines { position: absolute; inset: -20%; opacity: .5; background: repeating-linear-gradient(34deg, transparent 0 38px, #c9ded9 39px 40px), repeating-linear-gradient(126deg, transparent 0 55px, #c9ded9 56px 57px); transform: rotate(-4deg); }.map-route { position: absolute; height: 4px; border-radius: 10px; background: var(--teal); box-shadow: 0 0 0 3px rgba(7,153,142,.12); transform: rotate(-21deg); }.route-one { width: 56%; left: 11%; top: 40%; }.route-two { width: 42%; right: 8%; top: 59%; background: var(--blue); transform: rotate(24deg); }.route-three { width: 30%; left: 38%; top: 70%; background: var(--amber); transform: rotate(-5deg); }.map-pin { position: absolute; color: var(--coral); fill: #fcedea; width: 24px; height: 24px; }.pin-one { left: 24%; top: 31%; }.pin-two { right: 21%; top: 53%; color: var(--blue); fill: var(--blue-soft); }.pin-three { left: 54%; top: 67%; color: var(--teal); fill: var(--teal-soft); }.map-label { position: absolute; left: 50%; top: 47%; transform: translate(-50%, -50%); display: grid; place-items: center; color: var(--navy); text-align: center; background: rgba(255,255,255,.86); border-radius: 7px; padding: 12px 18px; box-shadow: 0 8px 18px rgba(16,42,67,.08); }.map-label svg { color: var(--teal); margin-bottom: 6px; }.map-label span { font: 600 12px "Space Grotesk", sans-serif; }.map-label small { color: var(--muted); font-size: 10px; margin-top: 4px; white-space: nowrap; }
.settings-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }.notification-panel { grid-column: span 2; }.setting-list { border-top: 1px solid var(--line); }.toggle-row { display: flex; align-items: center; justify-content: space-between; gap: 15px; min-height: 66px; border-bottom: 1px solid var(--line); cursor: pointer; }.toggle-row span { flex: 1; }.toggle-row strong, .toggle-row small { display: block; }.toggle-row strong { font-size: 12px; }.toggle-row small { color: var(--muted); font-size: 10px; margin-top: 4px; }.toggle-row input { display: none; }.toggle { width: 35px; height: 20px; flex-shrink: 0; border-radius: 20px; background: #d8e2e8; position: relative; }.toggle::after { content: ""; position: absolute; width: 14px; height: 14px; top: 3px; left: 3px; border-radius: 50%; background: white; box-shadow: 0 1px 3px rgba(16,42,67,.2); }.toggle-row input:checked + .toggle { background: var(--teal); }.toggle-row input:checked + .toggle::after { transform: translateX(15px); }
@media (max-width: 640px) { .button-row { width: 100%; }.button-row > * { flex: 1; }.content-grid, .reports-grid, .settings-grid { grid-template-columns: 1fr; }.notification-panel { grid-column: auto; }.form-panel { padding: 19px 15px 16px; }.form-grid { grid-template-columns: 1fr; }.span-2 { grid-column: auto; }.form-actions { justify-content: stretch; }.form-actions > * { flex: 1; }.data-row { gap: 8px; }.data-row .status-badge { font-size: 8px; }.map-placeholder { min-height: 290px; }.map-label { width: calc(100% - 40px); }.map-label small { white-space: normal; }.filter-bar { flex-wrap: wrap; }.filter-label { width: 100%; }.signal-stats { grid-template-columns: repeat(2, 1fr); }.monitor-note { display: none; } }
@media (max-width: 980px) { .sidebar { width: 218px; }.stats-grid { grid-template-columns: repeat(2, 1fr); }.quick-links-grid, .dashboard-columns { grid-template-columns: 1fr; } }
@media (max-width: 640px) { .sidebar { display: none; }.topbar { padding: 0 20px; }.mobile-menu { display: block; margin-right: 8px; }.breadcrumb { flex: 1; }.user-name, .user-profile > svg { display: none; }.topbar-actions { gap: 6px; }.page-content { padding: 30px 18px 40px; }.welcome-section { align-items: start; flex-direction: column; gap: 22px; }.primary-button { width: 100%; justify-content: center; }.stats-grid { gap: 9px; margin-bottom: 34px; }.stat-card { min-height: 145px; padding: 14px; }.stat-value { font-size: 24px; }.trend-detail { display: block; margin-top: 4px; }.section-heading { align-items: start; }.quick-links-section { margin-bottom: 34px; }.quick-links-grid { gap: 9px; }.panel { padding: 19px 15px 16px; }.panel-heading { gap: 10px; }.activity-row time { display: none; } }