:root {
  color-scheme: dark;
  --bg: #111116;
  --panel: #1b1b22;
  --panel-soft: rgba(28, 28, 36, .78);
  --line: rgba(255, 255, 255, .07);
  --line-strong: rgba(255, 255, 255, .12);
  --text: #eef1f6;
  --muted: rgba(238, 241, 246, .62);
  --subtle: rgba(238, 241, 246, .38);
  --blue: #8abaff;
  --blue-soft: rgba(90, 160, 255, .12);
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background: var(--bg);
  font-size: 13px;
  line-height: 1.5;
  font-synthesis: none;
}
* { box-sizing: border-box; }
body { margin: 0; background: radial-gradient(ellipse at 75% 0, rgba(83, 105, 147, .07), transparent 44%), var(--bg); }
button, input, select { font: inherit; }
button { cursor: pointer; border: 1px solid var(--line-strong); border-radius: 6px; background: rgba(255, 255, 255, .025); color: var(--text); padding: 8px 12px; font-size: 12px; font-weight: 600; transition: background .15s, border-color .15s; }
button:hover { background: rgba(255, 255, 255, .065); border-color: rgba(255, 255, 255, .2); }
button:disabled { opacity: .38; cursor: default; }
button:focus-visible, a:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }
button.primary { background: var(--blue-soft); border-color: rgba(116, 174, 255, .28); color: #b3d2ff; }
button.primary:hover { background: rgba(90, 160, 255, .21); border-color: rgba(116, 174, 255, .5); }
button.danger { color: #eea0a9; }
a { color: var(--blue); }
.shell { display: flex; min-height: 100vh; }
aside { width: 216px; flex-shrink: 0; position: sticky; top: 0; height: 100vh; padding: 24px 14px 18px; display: flex; flex-direction: column; background: rgba(22, 22, 28, .9); border-right: 1px solid var(--line); backdrop-filter: blur(18px); }
.brand { color: var(--text); text-decoration: none; display: flex; align-items: center; gap: 10px; padding: 0 8px; }
.brand-mark { width: 31px; height: 31px; color: #a7caff; display: grid; place-items: center; border: 1px solid rgba(133, 181, 255, .22); border-radius: 8px; background: linear-gradient(145deg, rgba(90, 160, 255, .13), rgba(90, 160, 255, .02)); }
.brand-mark svg { width: 20px; height: 20px; }
.brand-name { font-size: 12px; letter-spacing: 1.4px; font-weight: 800; }
.brand small { display: block; font-size: 10px; letter-spacing: .1px; font-weight: 400; color: var(--muted); margin-top: 1px; }
.workspace { display: flex; align-items: center; gap: 8px; margin: 28px 6px 24px; padding: 10px 9px; border: 1px solid var(--line); border-radius: 6px; color: var(--muted); font-size: 11px; }
.workspace-dot { height: 6px; width: 6px; background: #8caddd; border-radius: 50%; }
.workspace strong { margin-left: auto; font-size: 9px; font-weight: 600; letter-spacing: 1px; color: var(--subtle); }
nav { display: flex; flex-direction: column; gap: 4px; }
.nav-label { color: var(--subtle); text-transform: uppercase; letter-spacing: 1.4px; font-size: 9px; font-weight: 700; margin: 0 11px 10px; }
nav button { position: relative; display: flex; align-items: center; gap: 10px; min-height: 39px; text-align: left; border: 1px solid transparent; background: transparent; color: var(--muted); padding: 9px 10px; font-weight: 500; }
nav button svg { width: 16px; height: 16px; flex-shrink: 0; opacity: .85; }
nav button.selected { background: var(--blue-soft); border-color: rgba(112, 172, 255, .08); color: #afceff; }
nav button.selected::before { content: ""; position: absolute; left: -1px; top: 9px; bottom: 9px; width: 2px; border-radius: 2px; background: #86b6ff; }
nav button:hover { color: var(--text); }
.aside-bottom { margin-top: auto; padding: 22px 8px 0; display: grid; gap: 12px; }
.aside-note { border-top: 1px solid var(--line); padding-top: 14px; color: var(--subtle); font-size: 10px; line-height: 1.65; }
#identity { font-size: 12px; overflow-wrap: anywhere; }
#identity:empty { display: none; }
#identity small { display: block; color: var(--subtle); font-size: 10px; margin-top: 2px; }
.aside-bottom button { width: 100%; text-align: left; font-weight: 500; color: var(--muted); }
main { min-width: 0; width: 100%; padding: 24px 28px; }
.topbar { display: flex; align-items: center; justify-content: space-between; gap: 18px; min-height: 84px; margin: -24px -28px 26px; padding: 18px 28px; border-bottom: 1px solid var(--line); background: rgba(20, 20, 26, .42); }
.eyebrow { font-size: 9px; font-weight: 600; letter-spacing: 1.5px; color: var(--subtle); margin: 0 0 5px; }
h1 { font-size: 19px; font-weight: 800; letter-spacing: -.35px; margin: 0; }
h2 { font-size: 14px; font-weight: 800; margin: 0 0 7px; }
h3 { font-size: 13px; font-weight: 700; margin: 0 0 10px; }
p { margin-top: 0; }
.muted { color: var(--muted); font-size: 12px; line-height: 1.65; }
.pill { display: inline-flex; align-items: center; gap: 6px; border-radius: 5px; padding: 4px 7px; background: rgba(255, 255, 255, .035); border: 1px solid var(--line); color: var(--muted); font-size: 10px; line-height: 1.3; font-weight: 500; white-space: nowrap; }
.pill::before { content: ""; width: 4px; height: 4px; border-radius: 50%; background: currentColor; opacity: .8; }
.pill.live { background: rgba(85, 188, 151, .07); color: #92c9b3; border-color: rgba(113, 186, 158, .15); }
.pill.pending { background: rgba(210, 168, 95, .08); color: #d5b67e; border-color: rgba(210, 168, 95, .15); }
.pill.off { color: var(--muted); }
#connection { font-size: 10px; padding: 6px 9px; }
.card { background: var(--panel-soft); border: 1px solid var(--line); border-radius: 8px; padding: 20px; margin-bottom: 18px; }
.login { max-width: 420px; margin: clamp(40px, 9vh, 110px) auto 60px; padding: 30px; position: relative; background: linear-gradient(150deg, rgba(33, 35, 45, .94), rgba(26, 26, 33, .95)); box-shadow: 0 16px 70px rgba(0, 0, 0, .18); }
.login::before { content: ""; height: 1px; position: absolute; top: -1px; left: 28px; right: 28px; background: linear-gradient(90deg, transparent, rgba(146, 184, 247, .36), transparent); }
.login-symbol { display: grid; place-items: center; width: 42px; height: 42px; border: 1px solid rgba(133, 181, 255, .2); border-radius: 10px; background: rgba(90, 160, 255, .08); color: #a8caff; margin-bottom: 22px; }
.login-symbol svg { width: 23px; height: 23px; }
.login .eyebrow { margin-bottom: 8px; color: #8eabd6; }
.login h2 { font-size: 21px; line-height: 1.3; letter-spacing: -.5px; margin-bottom: 10px; }
.login > .muted { margin-bottom: 24px; max-width: 290px; }
.login form button { width: 100%; min-height: 39px; margin-top: 4px; }
.login-footnote { display: flex; gap: 7px; align-items: center; border-top: 1px solid var(--line); padding-top: 18px; margin: 22px 0 0; font-size: 10px; color: var(--subtle); }
.login-footnote svg { width: 12px; height: 12px; flex-shrink: 0; }
.is-login .workspace { margin-bottom: 0; }
.is-login footer { text-align: center; max-width: 560px; margin: 0 auto; }
.summary { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 28px; }
.summary > div { position: relative; display: flex; flex-direction: column; padding: 17px 19px; border: 1px solid var(--line); border-radius: 8px; background: var(--panel-soft); }
.summary .metric-label { order: -1; display: flex; justify-content: space-between; align-items: center; gap: 8px; color: var(--muted); font-size: 10px; letter-spacing: .7px; text-transform: uppercase; font-weight: 600; margin-bottom: 10px; }
.metric-label svg { width: 15px; height: 15px; color: var(--subtle); }
.summary strong { font-size: 27px; line-height: 1.1; font-weight: 600; letter-spacing: -.8px; font-variant-numeric: tabular-nums; }
.summary .metric-note { font-size: 10px; color: var(--subtle); margin-top: 7px; }
.section-title { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 15px; }
.section-title .muted { margin-bottom: 0; font-size: 11px; }
.section-title button { flex-shrink: 0; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 12px; }
.device { padding: 16px; margin: 0; display: flex; flex-direction: column; gap: 15px; transition: border-color .15s; }
.device:hover { border-color: rgba(255, 255, 255, .14); }
.device-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; }
.device-top > div { min-width: 0; }
.device h3 { margin: 0 0 3px; font-size: 13px; overflow-wrap: anywhere; }
.device .platform { font-size: 10px; color: var(--subtle); overflow-wrap: anywhere; }
.activity { background: rgba(12, 12, 17, .3); border: 1px solid rgba(255, 255, 255, .035); border-radius: 6px; padding: 12px; min-height: 74px; }
.activity-label { display: block; font-size: 8px; font-weight: 600; letter-spacing: 1px; text-transform: uppercase; color: var(--subtle); margin-bottom: 5px; }
.activity strong { display: block; font-size: 12px; font-weight: 600; overflow-wrap: anywhere; }
.activity small { color: var(--muted); display: block; font-size: 10px; margin-top: 3px; overflow-wrap: anywhere; }
.device-actions { display: flex; gap: 7px; margin-top: auto; }
.device-actions button { font-size: 11px; padding: 6px 10px; }
.empty { color: var(--muted); padding: 48px 24px; text-align: center; border: 1px dashed var(--line-strong); border-radius: 8px; grid-column: 1 / -1; background: rgba(27, 27, 34, .36); }
.empty-mark { color: #8caddb; font-size: 25px; font-weight: 300; margin-bottom: 10px; }
.empty strong { display: block; font-size: 13px; color: var(--text); margin-bottom: 6px; }
.empty p { font-size: 11px; margin: 0 auto; max-width: 340px; }
.pagination { display: flex; justify-content: flex-end; gap: 7px; margin: 16px 0 25px; }
.pagination button { font-size: 10px; padding: 6px 10px; }
label { display: flex; flex-direction: column; gap: 7px; font-size: 11px; font-weight: 500; color: var(--muted); margin-bottom: 17px; }
input, select { width: 100%; background: rgba(13, 13, 18, .5); border: 1px solid var(--line-strong); padding: 9px 11px; border-radius: 6px; color: var(--text); min-width: 0; font-size: 12px; transition: border-color .15s; }
input::placeholder { color: var(--subtle); }
input:focus, select:focus { outline: 2px solid rgba(119, 172, 247, .18); border-color: rgba(133, 182, 249, .55); outline-offset: 1px; }
input[type="checkbox"] { accent-color: #86b6ff; }
input:-webkit-autofill { -webkit-text-fill-color: var(--text); -webkit-box-shadow: 0 0 0 40px #1a1d25 inset; caret-color: var(--text); }
select option { background: var(--panel); color: var(--text); }
.inline { display: flex; align-items: flex-end; gap: 12px; margin-top: 22px; padding-top: 20px; border-top: 1px solid var(--line); }
.inline label { margin: 0; flex: 1; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; }
.wide { grid-column: 1 / -1; }
.list-head { display: flex; justify-content: space-between; gap: 16px; color: var(--subtle); font-size: 9px; font-weight: 600; letter-spacing: 1px; text-transform: uppercase; padding: 11px 0; border-bottom: 1px solid var(--line-strong); }
.row { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); align-items: center; font-size: 12px; overflow-wrap: anywhere; }
.row:last-child { border-bottom: 0; }
.row strong { font-size: 12px; font-weight: 600; }
.row small { display: block; color: var(--muted); font-size: 10px; }
.row .pill { margin-left: 8px; }
#discoveries h3 { font-size: 12px; }
#discoveries > .muted { font-size: 11px; }
#discoveries .row { font-size: 11px; }
#message { padding: 11px 14px; border: 1px solid rgba(210, 168, 95, .2); background: rgba(161, 119, 58, .09); color: #ddc291; border-radius: 6px; margin-bottom: 20px; font-size: 12px; overflow-wrap: anywhere; }
dialog { color: var(--text); background: #1b1b22; border: 1px solid var(--line-strong); border-radius: 10px; max-width: 850px; width: 90vw; max-height: 85vh; padding: 24px; box-shadow: 0 30px 100px #0008; }
dialog::backdrop { background: rgba(5, 5, 10, .72); backdrop-filter: blur(5px); }
.dialog-header { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin: -4px 0 20px; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.dialog-header h2 { margin: 0; }
.dialog-header button { padding: 4px 9px; color: var(--muted); }
.timeline { max-height: 420px; overflow: auto; font-size: 11px; scrollbar-color: #3a3b48 transparent; }
.timeline .row { align-items: flex-start; }
.timeline time { min-width: 75px; color: var(--subtle); font-size: 10px; font-variant-numeric: tabular-nums; }
.timeline .row > div { flex: 1; min-width: 0; overflow-wrap: anywhere; }
.process-list { display: flex; flex-wrap: wrap; gap: 6px; margin: 12px 0 24px; }
.process-list span { padding: 4px 7px; border-radius: 4px; background: rgba(255, 255, 255, .035); border: 1px solid var(--line); font-size: 10px; color: var(--muted); overflow-wrap: anywhere; }
.detail-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line); }
.detail-actions button { font-size: 11px; }
.form-error { color: #eea0a9; font-size: 12px; white-space: pre-wrap; }
.data-warning { background: rgba(161, 119, 58, .09); border: 1px solid rgba(210, 168, 95, .2); padding: 10px 13px; border-radius: 6px; color: #ddc291; font-size: 11px; }
.timeline + .form-error { margin-top: 8px; }
#exception-open { margin-top: 15px; }
.checkbox-label { flex-direction: row; align-items: flex-start; gap: 10px; font-size: 12px; }
.checkbox-label input { width: auto; margin-top: 3px; flex-shrink: 0; }
.screenshot-section { margin-top: 26px; padding-top: 20px; border-top: 1px solid var(--line); }
.screenshot-gallery { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; }
.screenshot-card { margin: 0; padding: 10px; border: 1px solid var(--line); border-radius: 6px; background: rgba(12, 12, 17, .3); }
.screenshot-card.expanded { grid-column: 1 / -1; }
.screenshot-image { display: block; max-width: 100%; height: auto; border-radius: 4px; }
.screenshot-card figcaption { font-size: 10px; color: var(--muted); margin: 10px 0; overflow-wrap: anywhere; }
.screenshot-card button { font-size: 11px; padding: 6px 10px; }
.screenshot-section > button { margin-top: 12px; }
footer { font-size: 10px; color: var(--subtle); margin-top: 32px; padding-bottom: 8px; line-height: 1.7; }
[hidden] { display: none !important; }
@media (min-width: 1600px) { main > section, main > footer, #message { max-width: 1500px; } }
@media (max-width: 1050px) { main { padding: 22px; } .topbar { margin: -22px -22px 24px; padding: 18px 22px; } .grid { grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); } }
@media (max-width: 850px) { aside { width: 192px; padding: 22px 10px 16px; } .brand { gap: 8px; padding: 0 6px; } .brand-name { font-size: 11px; } main { padding: 20px; } .topbar { margin: -20px -20px 22px; padding: 16px 20px; } .summary { gap: 8px; } .summary > div { padding: 14px; } .summary .metric-label { font-size: 8px; letter-spacing: .4px; } .metric-label svg { display: none; } .inline { flex-direction: column; align-items: stretch; } .login { padding: 24px; } }
@media (max-width: 640px) { .shell { display: block; } aside { position: static; width: 100%; height: auto; padding: 16px 18px 12px; border-right: 0; border-bottom: 1px solid var(--line); } .brand small { display: none; } .brand { padding: 0; } .brand-name { font-size: 12px; } .brand-mark { width: 27px; height: 27px; } .workspace, .nav-label, .aside-note { display: none; } nav { flex-direction: row; flex-wrap: wrap; margin-top: 16px; gap: 4px; } nav button { font-size: 11px; min-height: 34px; padding: 7px 9px; gap: 6px; } nav button svg { width: 13px; height: 13px; } .aside-bottom { padding: 10px 0 0; margin: 0; display: flex; justify-content: space-between; align-items: center; gap: 12px; } .aside-bottom:has(#identity:empty) { display: none; } #identity { font-size: 11px; } #identity small { display: inline; margin-left: 8px; font-size: 9px; } .aside-bottom button { width: auto; font-size: 10px; padding: 4px 9px; } main { padding: 20px 16px; } .topbar { min-height: 70px; margin: -20px -16px 20px; padding: 14px 16px; gap: 8px; } h1 { font-size: 17px; } .eyebrow { font-size: 8px; letter-spacing: 1px; } #connection { font-size: 8px; padding: 5px 6px; } .summary { gap: 6px; margin-bottom: 24px; } .summary > div { padding: 12px 10px; } .summary strong { font-size: 24px; } .summary .metric-label { min-height: 25px; font-size: 8px; line-height: 1.4; margin-bottom: 6px; } .summary .metric-note { font-size: 8px; } .grid { grid-template-columns: 1fr; } .card { padding: 17px; } .login { margin: 28px auto 36px; padding: 26px 22px; max-width: 420px; } .login h2 { font-size: 21px; } .form-grid { grid-template-columns: 1fr; } .wide { grid-column: auto; } .section-title { align-items: flex-start; gap: 10px; } .section-title .muted { font-size: 10px; } .section-title button { font-size: 10px; padding: 6px 9px; } .row { gap: 12px; } dialog { padding: 18px; width: calc(100vw - 24px); max-height: 90vh; } .screenshot-gallery { grid-template-columns: 1fr; } .is-login .topbar { display: none; } .is-login main { padding-top: 10px; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; } }
