:root {
  color-scheme: dark;
  --bg: #181b25;
  --panel: #262c3e;
  --panel-light: #30374b;
  --border: #3b4258;
  --text: #e8ebf2;
  --muted: #9299ac;
  --cyan: #59bce1;
  --teal: #65a9a7;
  --lime: #c4ce5b;
  --violet: #9d88c5;
  --rose: #bd7499;
  font: 16px/1.45 "Segoe UI", Arial, sans-serif;
}
* { box-sizing: border-box; }
.session-check { min-height: 100svh; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px; padding: 24px; text-align: center; }
.session-check p { max-width: 480px; color: var(--muted); }
html, body { margin: 0; min-width: 320px; background: var(--bg); color: var(--text); }
button, input, select { font: inherit; }
button, a, input, select { touch-action: manipulation; }
button, a { color: inherit; }
button { cursor: pointer; border: 0; }
button:disabled, input:disabled { cursor: default; opacity: .5; }
a { text-decoration: none; }
h1, h2, p { margin: 0; }
h1, h2 { font-weight: 500; letter-spacing: 0; }
h1 { font-size: 24px; }
h2 { font-size: 17px; }
label { color: #c5cada; font-size: 15px; }
input, select {
  width: 100%; min-height: 33px; padding: 7px 10px;
  border: 1px solid #424a61; border-radius: 4px;
  background: #1c2231; color: var(--text); outline: none;
}
input::placeholder { color: #7c859b; }
input:focus, select:focus { border-color: var(--cyan); box-shadow: 0 0 0 2px #59bce115; }
input[type=checkbox] { width: 14px; height: 14px; min-height: 14px; padding: 0; accent-color: #71b3c9; }
button:focus-visible, a:focus-visible { outline: 1px solid var(--cyan); outline-offset: 3px; }
.icon { width: 16px; height: 16px; flex-shrink: 0; }
.eyebrow { font-size: 13px; letter-spacing: 1px; color: var(--muted); font-weight: 400; }
.brand { display: inline-flex; align-items: center; gap: 9px; }
.brand-mark { display: block; width: 28px; height: 28px; flex-shrink: 0; }
.brand-name { font-size: 20px; font-weight: 600; letter-spacing: .4px; line-height: 1; }
.brand-name > span { display: block; margin-top: 4px; color: #b6bed0; font-size: 12px; font-weight: 400; letter-spacing: 1.2px; }
.status-dot { display: inline-block; width: 5px; height: 5px; border-radius: 50%; background: #74b9ae; flex-shrink: 0; }
.primary-button, .secondary-button {
  min-height: 33px; padding: 7px 12px; display: flex; align-items: center; justify-content: space-between;
  gap: 14px; border: 1px solid #50617c; border-radius: 5px;
  background: linear-gradient(#344159, #283449); color: #edf1f7; font-size: 15px;
  box-shadow: 0 3px 5px #07091060; transition: border-color .16s, background .16s, transform .16s;
}
.primary-button { width: 100%; border-color: #4789a7; }
.primary-button:hover:not(:disabled), .secondary-button:hover:not(:disabled) { border-color: #66cbef; background: #354b65; transform: translateY(-1px); }
.primary-button.compact { width: auto; min-height: 30px; padding: 6px 10px; font-size: 14px; }
.text-button { display: inline-flex; align-items: center; gap: 6px; padding: 3px 0; background: none; color: #b7c6dc; font-size: 14px; }
.text-button:hover { color: #80d1eb; }
.text-button .icon { width: 13px; height: 13px; }
.icon-button { display: grid; place-items: center; width: 28px; height: 28px; padding: 0; border-radius: 4px; background: none; color: #b5bfd1; }
.icon-button:hover { background: #ffffff09; color: var(--cyan); }
.panel-note { font-size: 14px; line-height: 1.6; color: var(--muted); }
.subtle-tag { white-space: nowrap; font-size: 12px; letter-spacing: .5px; color: #aeb6c9; }
.count-badge { padding: 1px 5px; margin-left: 5px; background: #343d54; border-radius: 3px; color: #b9d7e1; font-size: 13px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.boot { padding: 20px; color: var(--muted); }
#notifications { position: fixed; bottom: 18px; left: 50%; transform: translate(-50%,10px); max-width: min(520px,90vw); padding: 10px 16px; border: 1px solid #52627d; border-radius: 5px; background: #2b354a; box-shadow: 0 5px 18px #0006; opacity: 0; pointer-events: none; transition: .16s; z-index: 100; }
#notifications.visible { opacity: 1; transform: translate(-50%,0); }
@media (prefers-reduced-motion: reduce) { *, *:before, *:after { animation: none!important; transition: none!important; } }
