:root {
  --ink: #17222e;
  --muted: #687786;
  --soft: #f1f4f5;
  --paper: #ffffff;
  --line: #dfe5e8;
  --blue: #0d526e;
  --blue-dark: #083d53;
  --blue-soft: #e9f3f7;
  --green: #1b8e6f;
  --green-soft: #e7f5f0;
  --orange: #db6a3d;
  --orange-soft: #fbeee8;
  --shadow: 0 18px 45px rgba(30, 55, 67, .08);
  --sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --mono: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 125px; }
body { margin: 0; color: var(--ink); background: #f4f6f7; font: 14px/1.5 var(--sans); }
button, input, textarea, select { font: inherit; }
button { cursor: pointer; }
a { color: inherit; text-decoration: none; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }
.skip-link { position: fixed; z-index: 100; top: -50px; left: 18px; padding: 9px 13px; color: white; background: var(--blue-dark); border-radius: 0 0 8px 8px; }
.skip-link:focus { top: 0; }
button:focus-visible, a:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible { outline: 2px solid #1b7da3; outline-offset: 3px; }
.demo-bar { position: fixed; z-index: 50; inset: 0 0 auto; min-height: 37px; padding: 6px 20px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 15px; color: #d5e2e7; background: #10232c; font: 600 10px/1 var(--mono); letter-spacing: .04em; }
.demo-bar > a { justify-self: start; }
.demo-bar > a:hover { color: white; }
.demo-bar > span:nth-child(2) { color: #89a3af; }
.demo-bar strong { color: white; }
.safe-badge { justify-self: end; display: inline-flex; align-items: center; gap: 7px; color: #9dd2be; }
.safe-badge i, .connection-pill i, .status-dot { width: 7px; height: 7px; border-radius: 50%; background: #55d6a7; box-shadow: 0 0 10px rgba(85, 214, 167, .65); }
.topbar { position: sticky; z-index: 40; top: 37px; height: 78px; padding: 0 26px; display: flex; justify-content: space-between; align-items: center; color: #1a2b36; background: rgba(255,255,255,.95); border-bottom: 1px solid var(--line); backdrop-filter: blur(16px); }
.brand { display: flex; align-items: center; gap: 12px; }
.brand-mark { width: 40px; height: 40px; display: grid; place-items: center; color: white; background: linear-gradient(145deg, #0e617f, #082f43); border-radius: 10px; box-shadow: 0 8px 18px rgba(13, 82, 110, .2); font: 800 13px var(--mono); }
.brand > span:last-child { display: grid; line-height: 1.13; }
.brand strong { font-size: 14px; }
.brand small { margin-top: 4px; color: #7c8a92; font-size: 9px; }
.topbar-actions { display: flex; align-items: center; gap: 11px; }
.connection-pill { display: inline-flex; align-items: center; gap: 8px; padding: 8px 11px; color: #397461; background: var(--green-soft); border-radius: 99px; font: 650 9px var(--mono); }
.ghost-button, .secondary-button { min-height: 36px; padding: 0 13px; color: var(--blue); background: white; border: 1px solid var(--line); border-radius: 8px; font-size: 11px; font-weight: 700; }
.ghost-button:hover, .secondary-button:hover { border-color: #aac4cf; background: #f7fbfc; }
.menu-button { display: none; width: 38px; height: 38px; color: var(--blue); background: #eef3f5; border: 0; border-radius: 8px; }
.shell { display: grid; grid-template-columns: 220px minmax(0, 1fr); }
.sidebar { position: sticky; z-index: 30; top: 115px; height: calc(100vh - 115px); padding: 22px 14px 16px; display: flex; flex-direction: column; background: #f9fafb; border-right: 1px solid var(--line); }
.sidebar nav { display: grid; gap: 4px; }
.sidebar nav a { min-height: 42px; padding: 0 12px; display: flex; align-items: center; gap: 12px; color: #677783; border-radius: 8px; font-size: 12px; font-weight: 650; }
.sidebar nav a span { width: 18px; color: #8296a1; font-size: 15px; text-align: center; }
.sidebar nav a:hover, .sidebar nav a.active { color: var(--blue); background: var(--blue-soft); }
.sidebar nav a.active span { color: #1686aa; }
.demo-card { margin-top: auto; padding: 15px; color: #72808a; background: #eef2f3; border: 1px solid #e0e6e8; border-radius: 11px; }
.demo-card span { color: #7f919a; font: 700 8px var(--mono); letter-spacing: .12em; }
.demo-card strong { display: block; margin: 7px 0 4px; color: #38505c; font-size: 11px; }
.demo-card p { margin: 0; font-size: 9px; }
main { min-width: 0; padding: 35px clamp(20px, 3.5vw, 52px) 70px; }
.eyebrow { margin: 0 0 6px; color: #64818f; font: 700 9px/1.2 var(--mono); letter-spacing: .13em; text-transform: uppercase; }
.hero { padding: 9px 0 29px; display: flex; justify-content: space-between; align-items: flex-end; gap: 30px; }
.hero h1 { margin: 0; font-size: clamp(32px, 4vw, 51px); line-height: 1.05; letter-spacing: -.05em; font-weight: 610; }
.hero > div:first-child > p:last-child { max-width: 630px; margin: 13px 0 0; color: var(--muted); font-size: 15px; }
.hero-actions { display: flex; align-items: center; gap: 15px; }
.hero-actions > span { display: grid; gap: 2px; color: #84919a; font-size: 9px; text-align: right; }
.hero-actions b { color: #455b66; font: 650 10px var(--mono); }
.primary-button { min-height: 41px; padding: 0 15px; color: white; background: var(--blue); border: 0; border-radius: 8px; font-size: 11px; font-weight: 750; box-shadow: 0 8px 18px rgba(13, 82, 110, .17); }
.primary-button:hover { background: var(--blue-dark); transform: translateY(-1px); }
.metric-grid { margin-bottom: 15px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.metric-grid article { position: relative; min-height: 142px; padding: 19px; overflow: hidden; background: var(--paper); border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow); }
.metric-grid article > span { color: var(--muted); font-size: 11px; }
.metric-grid article > strong { display: block; margin: 11px 0 1px; font-size: 31px; letter-spacing: -.04em; }
.metric-grid article > small { color: #89969e; font-size: 9px; }
.up { color: var(--green); font-style: normal; }
.spark-bars { position: absolute; right: 17px; bottom: 17px; width: 74px; height: 32px; display: flex; align-items: flex-end; gap: 4px; }
.spark-bars i { flex: 1; height: 45%; background: #b6d3de; border-radius: 2px 2px 0 0; }
.spark-bars i:nth-child(2) { height: 62%; }.spark-bars i:nth-child(3) { height: 48%; }.spark-bars i:nth-child(4) { height: 70%; }.spark-bars i:nth-child(5) { height: 76%; background: #56a7c2; }.spark-bars i:nth-child(6) { height: 94%; background: #1683a8; }
.metric-grid article.attention { border-top: 3px solid var(--orange); }
.ring { position: absolute; right: 17px; bottom: 16px; width: 49px; height: 49px; display: grid; place-items: center; border: 5px solid #f1d7cc; border-top-color: var(--orange); border-radius: 50%; }
.ring b { color: var(--orange); font: 700 8px var(--mono); }
.mini-dates { position: absolute; right: 16px; bottom: 17px; display: flex; gap: 4px; }
.mini-dates b { width: 25px; height: 30px; display: grid; place-items: center; color: var(--blue); background: var(--blue-soft); border-radius: 5px; font: 700 9px var(--mono); }
.progress { position: absolute; right: 17px; bottom: 25px; width: 76px; height: 6px; overflow: hidden; background: #e4ebed; border-radius: 99px; }
.progress i { display: block; width: 94%; height: 100%; background: var(--green); border-radius: inherit; }
.content-grid { display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(280px, .7fr); gap: 15px; align-items: start; }
.panel { background: var(--paper); border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow); }
.panel-header { min-height: 78px; padding: 17px 19px; display: flex; justify-content: space-between; align-items: center; gap: 18px; }
.panel-header h2 { margin: 0; font-size: 18px; letter-spacing: -.03em; }
.panel-header > span { color: #8a989f; font: 600 8px var(--mono); text-transform: uppercase; }
.filters { display: flex; align-items: center; gap: 9px; }
.filters input { min-width: 190px; min-height: 36px; padding: 0 11px; background: #f7f9fa; border: 1px solid var(--line); border-radius: 7px; font-size: 10px; }
.status-filter { padding: 3px; display: flex; background: #eef2f3; border-radius: 7px; }
.status-filter button { min-height: 28px; padding: 0 9px; color: #72818a; background: transparent; border: 0; border-radius: 5px; font-size: 9px; }
.status-filter button.active { color: var(--blue); background: white; box-shadow: 0 2px 8px rgba(37,63,73,.09); }
.table-wrap { overflow-x: auto; border-top: 1px solid var(--line); }
table { width: 100%; border-collapse: collapse; text-align: left; }
th { padding: 10px 14px; color: #84929a; background: #f7f9fa; font: 700 8px var(--mono); text-transform: uppercase; letter-spacing: .06em; }
td { padding: 13px 14px; color: #5b6972; border-top: 1px solid #edf0f1; font-size: 10px; }
td strong, td small { display: block; }
td strong { color: #22323c; font-size: 11px; }
td small { margin-top: 2px; color: #85929a; font-size: 8px; }
.job-status { display: inline-flex; padding: 5px 7px; color: #397461; background: var(--green-soft); border-radius: 5px; font: 700 8px var(--mono); text-transform: uppercase; }
.job-status.attention { color: #b9532d; background: var(--orange-soft); }
.job-status.production { color: #236a85; background: var(--blue-soft); }
.review-button { padding: 5px 0; color: var(--blue); background: transparent; border: 0; font-size: 9px; font-weight: 750; }
.empty-state { margin: 0; padding: 35px; color: #7d8a92; border-top: 1px solid var(--line); text-align: center; }
.side-column { display: grid; gap: 15px; }
.install-list { border-top: 1px solid var(--line); }
.install-list button { width: 100%; padding: 13px 16px; display: grid; grid-template-columns: 42px 1fr auto; align-items: center; gap: 12px; color: inherit; background: transparent; border: 0; border-top: 1px solid #edf0f1; text-align: left; }
.install-list button:first-child { border-top: 0; }
.install-list button:hover { background: #f8fafb; }
.install-list time { width: 42px; height: 42px; display: grid; place-items: center; align-content: center; color: var(--blue); background: var(--blue-soft); border-radius: 7px; line-height: 1; }
.install-list time b { font-size: 14px; }.install-list time span { margin-top: 3px; font: 700 7px var(--mono); }
.install-list button > span { display: grid; }
.install-list strong { color: #2b3a43; font-size: 10px; }
.install-list small { margin-top: 3px; color: #85929a; font-size: 8px; }
.install-list em { color: #94a2a9; font-style: normal; }
.health-panel { padding-bottom: 18px; }
.health-panel dl { margin: 0 18px 17px; border-top: 1px solid var(--line); }
.health-panel dl div { padding: 10px 0; display: flex; justify-content: space-between; border-bottom: 1px solid #edf0f1; }
.health-panel dt { color: #7a888f; font-size: 9px; }.health-panel dd { margin: 0; color: #324853; font: 650 9px var(--mono); }
.health-panel .secondary-button { width: calc(100% - 36px); margin: 0 18px; }
.activity-panel { margin-top: 15px; }
.activity-list { border-top: 1px solid var(--line); }
.activity-list article { padding: 13px 19px; display: flex; align-items: center; gap: 13px; border-top: 1px solid #edf0f1; }
.activity-list article:first-child { border-top: 0; }
.activity-list i { width: 8px; height: 8px; flex: none; border-radius: 50%; background: #8aa0aa; }
.activity-list i.success { background: var(--green); box-shadow: 0 0 9px rgba(27,142,111,.35); }
.activity-list div { display: grid; }
.activity-list strong { font-size: 10px; }.activity-list small { margin-top: 2px; color: #87949b; font-size: 8px; }
.activity-list article > span { margin-left: auto; color: #769187; font: 700 7px var(--mono); }
dialog { width: min(520px, calc(100% - 28px)); padding: 0; color: var(--ink); background: white; border: 0; border-radius: 14px; box-shadow: 0 30px 100px rgba(12,34,44,.35); }
dialog::backdrop { background: rgba(11,28,36,.55); backdrop-filter: blur(5px); }
.dialog-heading { padding: 20px 22px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); }
.dialog-heading h2 { margin: 0; font-size: 21px; }
.dialog-heading button { width: 34px; height: 34px; color: #667780; background: #f1f4f5; border: 0; border-radius: 50%; font-size: 18px; }
.dialog-content { padding: 21px 22px 24px; display: grid; gap: 15px; }
.job-summary { padding: 15px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; background: #f5f8f9; border-radius: 9px; }
.job-summary span { display: grid; gap: 3px; color: #7f8d95; font-size: 8px; }.job-summary b { color: #293a44; font-size: 10px; }
.dialog-content label { display: grid; gap: 6px; color: #5e6c74; font-size: 9px; font-weight: 700; text-transform: uppercase; }
.dialog-content select, .dialog-content textarea { width: 100%; padding: 10px; color: var(--ink); background: white; border: 1px solid var(--line); border-radius: 7px; text-transform: none; }
.dialog-content textarea { resize: vertical; }
.dialog-content > p { margin: 0; color: #829097; font-size: 9px; }
.toast { position: fixed; z-index: 90; right: 22px; bottom: 22px; max-width: 340px; padding: 12px 15px; color: white; background: #17333f; border-radius: 9px; box-shadow: 0 14px 35px rgba(10,31,40,.27); opacity: 0; transform: translateY(12px); pointer-events: none; transition: .25s; }
.toast.visible { opacity: 1; transform: translateY(0); }

@media (max-width: 1050px) {
  .metric-grid { grid-template-columns: repeat(2, 1fr); }
  .content-grid { grid-template-columns: 1fr; }
  .side-column { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 780px) {
  html { scroll-padding-top: 119px; }
  .demo-bar { grid-template-columns: 1fr 1fr; }
  .demo-bar > span:nth-child(2) { display: none; }
  .topbar { height: 72px; padding: 0 15px; }
  .connection-pill, .ghost-button { display: none; }
  .menu-button { display: grid; place-items: center; }
  .shell { display: block; }
  .sidebar { position: fixed; z-index: 38; top: 109px; bottom: 0; left: 0; width: min(280px, 86vw); height: auto; transform: translateX(-105%); box-shadow: 15px 0 40px rgba(20,42,51,.14); transition: transform .25s; }
  .sidebar.open { transform: translateX(0); }
  main { padding: 27px 17px 55px; }
  .hero { align-items: flex-start; flex-direction: column; }
  .hero-actions { width: 100%; justify-content: space-between; }
  .filters { align-items: stretch; flex-direction: column; }
  .filters input { width: 100%; }
  .side-column { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
  .safe-badge { font-size: 0; }.safe-badge::after { content: "Demo"; font-size: 9px; }
  .brand small { display: none; }
  .metric-grid { grid-template-columns: 1fr; }
  .panel-header { align-items: flex-start; flex-direction: column; }
  .jobs-panel .panel-header { min-height: auto; }
  .status-filter { width: 100%; }.status-filter button { flex: 1; }
  .job-summary { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; } }
