:root {
  color-scheme: dark;
  --canvas: #07141d;
  --panel: #0e2430;
  --ink: #ecf7fb;
  --muted: #a9bfca;
  --line: #35505f;
  --aqua: #8ddde4;
  --coral: #ff927e;
  --mono: "IBM Plex Mono", ui-monospace, Menlo, monospace;
  font: 16px/1.5 "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink); background: var(--canvas); -webkit-text-size-adjust: 100%;
}
* { box-sizing: border-box; }
body, h1, h2, h3, p { margin: 0; }
button, input { font: inherit; }
button, summary { cursor: pointer; }
a { color: inherit; text-decoration: none; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--aqua); outline-offset: 3px; }
.icon { width: 18px; height: 18px; flex: none; }
.skip { position: fixed; top: -6rem; left: 12px; background: var(--panel); color: white; padding: 8px 14px; z-index: 9; }
.skip:focus { top: 10px; }
.entry-page, .workspace {
  position: relative; isolation: isolate; min-height: 100vh; min-height: 100svh;
  background: #071722;
}
.entry-page::before, .workspace::before {
  content: ""; position: fixed; z-index: -1; inset: 0; pointer-events: none;
  background: linear-gradient(180deg,#03111c28,#06141f05 55%,#04101a42), url("/assets/observatory.webp") center center / cover no-repeat;
}
.frame-bar,.bar-inner { display: flex; align-items: center; justify-content: space-between; min-height: 52px; padding: 0 clamp(16px, 2.7vw, 48px); }
.brand { display: inline-flex; align-items: center; gap: 10px; font-size: 12px; font-weight: 750; letter-spacing: .19em; text-transform: uppercase; }
.brand img { width: 25px; height: 25px; }
.private-label,.eyebrow,.cover-kicker { font-size: 10px; font-weight: 700; letter-spacing: .19em; text-transform: uppercase; }
.private-label { display: flex; align-items: center; gap: 9px; color: #c2e8ef; }
.private-label i { width: 6px; height: 6px; border-radius: 50%; background: #a7ceda; }
.entry-page { display: flex; flex-direction: column; }
.entry-main { flex: 1; display: grid; place-items: center; padding: 10px 16px 30px; }
.entry-content { width: min(100%, 462px); padding: 25px 30px 15px; border: 1px solid #496775; border-radius: 18px; background: linear-gradient(156deg,#142c39f8,#0a1c27f8); box-shadow: 0 22px 70px #0009, inset 0 1px #d8fdff12; }
.card-intro { text-align: center; }
.signal-mark { width: 60px; height: 53px; margin: 0 auto 12px; position: relative; display: grid; place-items: center; }
.signal-mark::before,.signal-mark i { content: ""; position: absolute; width: 51px; height: 51px; transform: rotate(-30deg); border: 3px solid var(--coral); border-right-color: transparent; border-bottom-width: 1px; border-radius: 50%; }
.signal-mark i { width: 56px; height: 44px; border-width: 1px; border-color: #70deef transparent #70deef #70deef; transform: rotate(-44deg); }
.signal-mark b { font: 36px/1 Georgia,serif; color: #ddf8fc; }
.eyebrow,.cover-kicker { color: var(--aqua); }
h1,h2,h3 { line-height: 1.14; }
.card-intro h1 { margin-top: 7px; font-weight: 650; font-size: clamp(28px,3vw,38px); letter-spacing: -.055em; }
.card-intro h1 strong { color: var(--coral); font-weight: 760; white-space: nowrap; }
.intro,.app-info p,#welcome-text { color: var(--muted); font-size: 14px; }
.intro { margin-top: 7px; }
.health-panel { --status: #a6c1d0; padding: 15px 16px 12px; margin: 20px 0; background: linear-gradient(115deg,#123037bb,#0c202b); border: 1px solid var(--status); border-radius: 12px; }
.health-panel[data-state="ok"] { --status: #49dfad; }
.health-panel[data-state="warning"] { --status: #ffd388; }
.health-panel[data-state="error"] { --status: #ff9987; }
.health-top { display: flex; align-items: center; gap: 11px; }
.health-emblem { position: relative; flex: none; width: 41px; height: 41px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--status); color: var(--status); }
.health-emblem svg { width: 23px; height: 23px; }
.health-emblem i { position: absolute; right: 1px; top: 1px; width: 7px; height: 7px; background: var(--status); border-radius: 50%; box-shadow: 0 0 8px var(--status); }
.health-heading { flex: 1; min-width: 0; }
.health-heading h2 { font-size: 20px; letter-spacing: -.035em; }
.health-heading p { margin-top: 3px; font-size: 12px; color: #b9cdd5; line-height: 1.35; }
.health-badge { align-self: flex-start; margin-top: 4px; padding: 3px 8px; color: var(--status); font: 650 9px/1.5 var(--mono); letter-spacing: .08em; border: 1px solid var(--status); border-radius: 15px; text-transform: uppercase; }
.health-checks { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 8px; padding-top: 11px; margin-top: 12px; border-top: 1px solid #35545f; }
.health-checks > div { display: flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 650; }
.health-checks small { display: block; font-size: 10px; font-weight: 400; color: #aec6d0; }
.check-icon { flex: none; display: grid; place-items: center; width: 18px; height: 18px; border: 1px solid currentColor; border-radius: 50%; color: #afc6d3; font-size: 12px; }
[data-state="ok"] > .check-icon { color: #49dfad; }
[data-state="error"] > .check-icon { color: #ff9987; }
[data-state="warning"] > .check-icon { color: #ffd388; }
.health-updated { margin-top: 11px; font-size: 10px; color: #a0bcc7; }
.field + .field { margin-top: 12px; }
.field label { display: block; margin-bottom: 5px; font-size: 12px; font-weight: 650; letter-spacing: .012em; }
.field input { width: 100%; min-width: 0; height: 44px; padding: 0 12px; color: var(--ink); background: #091b26; border: 1px solid #506c7b; border-radius: 7px; font-size: 16px; }
.field input::placeholder { color: #90a9b7; font-size: 14px; }
.input-wrap { position: relative; }
.input-wrap > .icon { position: absolute; left: 12px; top: 13px; color: #91acb9; pointer-events: none; }
.input-wrap input { padding-left: 39px; }
.input-wrap:has(.reveal) input { padding-right: 46px; }
.reveal { position: absolute; top: 0; bottom: 0; right: 0; width: 44px; display: grid; place-items: center; background: transparent; color: var(--muted); border: 0; border-radius: 6px; }
.reveal:hover { color: white; }
.eye-slash { display: none; }
.reveal[aria-pressed="true"] .eye-slash { display: block; }
.primary { width: 100%; min-height: 45px; margin-top: 16px; border: 1px solid #ffa792; border-radius: 7px; background: linear-gradient(100deg,#f58171,#ff9d85); color: #221b1b; display: flex; align-items: center; justify-content: center; gap: 12px; font-weight: 750; font-size: 14px; }
.primary:hover { background: #ffad96; }
.primary:disabled { opacity: .64; cursor: wait; }
.error:not(:empty) { margin-top: 9px; padding: 8px 10px; border-radius: 5px; color: #ffd3c9; background: #4f292e; font-size: 13px; }
.help { border-top: 1px solid var(--line); margin-top: 17px; }
summary { list-style: none; }
summary::-webkit-details-marker { display: none; }
.help summary { display: flex; align-items: center; justify-content: center; gap: 7px; min-height: 39px; font-size: 12px; color: #b4cbd5; }
.help .icon { width: 14px; height: 14px; }
.help[open] summary .icon:last-child { transform: rotate(180deg); }
.help p,noscript { font-size: 12px; color: var(--muted); }
.password-page .entry-content { padding: 26px 30px; }
.password-page h1 { font-size: 29px; letter-spacing: -.045em; }
.password-page form { margin-top: 20px; }
.back { display: inline-flex; align-items: center; gap: 8px; color: var(--aqua); font-size: 13px; min-height: 44px; margin-bottom: 10px; }
.back .icon { transform: rotate(180deg); }
.workspace::before { background-image: linear-gradient(180deg,#06141c88,#06141cec 83%),url("/assets/observatory.webp"); }
.topbar { background: #081923e8; border-bottom: 1px solid #314853; }
.bar-inner { max-width: 1190px; margin: auto; min-height: 62px; gap: 32px; }
.bar-inner nav { display: flex; align-self: stretch; }
.bar-inner nav a { display: flex; align-items: center; gap: 7px; font-size: 13px; color: var(--aqua); border-bottom: 2px solid var(--aqua); }
.account { position: relative; margin-left: auto; }
.account summary { display: flex; align-items: center; gap: 8px; min-height: 44px; font-size: 14px; }
#display-name { max-width: 14ch; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
#initial { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: #213e49; color: #bce9ed; }
.account-list { position: absolute; right: 0; top: 100%; width: 180px; z-index: 4; padding: 5px; border: 1px solid var(--line); border-radius: 10px; background: #122a36; box-shadow: 0 10px 25px #020a10aa; }
.account-list > * { display: flex; align-items: center; min-height: 44px; width: 100%; padding: 6px 10px; font-size: 14px; color: var(--ink); border: 0; border-radius: 5px; background: none; }
.account-list > *:hover { background: #264451; }
.workspace-main { width: min(1070px,calc(100% - 64px)); margin: auto; padding: 46px 0; display: grid; grid-template-columns: 1fr minmax(350px,.88fr); gap: 26px; align-items: center; }
.welcome h1 { margin: 9px 0; font-weight: 680; font-size: clamp(37px,4.7vw,65px); letter-spacing: -.06em; }
.welcome h1 em { color: var(--coral); font-style: normal; }
.workspace .health-panel { margin: 0; background: #0c252ff5; }
#apps { grid-column: 1/-1; margin-top: 18px; }
.section-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 15px; }
.section-head h2 { font-size: 25px; letter-spacing: -.035em; }
#app-count,#feedback { color: var(--muted); font-size: 13px; }
.catalog { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 15px; }
.app-card { display: grid; position: relative; grid-template-columns: 46px 1fr; gap: 12px 16px; align-content: start; padding: 22px; border: 1px solid #385461; border-radius: 13px; background: #102631f5; }
.app-identity { display: grid; place-items: center; height: 45px; width: 45px; border-radius: 11px; background: #163a43; color: var(--aqua); }
[data-art="bill"] .app-identity { background: #433136; color: #ffb19e; }
.app-identity .icon { display: none; width: 25px; height: 25px; }
[data-art="box"] .box-icon,[data-art="bill"] .bill-icon { display: block; }
.app-monogram:empty { display: none; }
.app-info { overflow-wrap: anywhere; }
.app-info h3 { font-size: 20px; margin: 0 0 5px; }
.app-open,.restricted { grid-column: 2; justify-self: start; display: flex; align-items: center; gap: 7px; min-height: 44px; font-size: 13px; font-weight: 650; color: var(--aqua); }
.app-open::after { content: ""; position: absolute; inset: 0; border-radius: 13px; }
.app-card:has(.app-open:hover),.app-card:focus-within { border-color: var(--aqua); background: #15323e; }
.restricted { color: var(--muted); }
@media(max-width:760px) {
 .workspace-main { width: calc(100% - 32px); grid-template-columns: minmax(0,1fr); gap: 19px; padding: 25px 0; }
 .workspace-main .health-panel { max-width: 520px; width: 100%; }
 .catalog { grid-template-columns: 1fr; }
 .bar-inner { gap: 18px; }
 #apps { margin-top: 3px; }
}
@media(max-width:500px) {
 .entry-main { padding: 5px 12px 17px; }
 .frame-bar { min-height: 45px; }
 .frame-bar .brand,.private-label { font-size: 9px; }
 .entry-content,.password-page .entry-content { padding: 20px 17px 10px; border-radius: 13px; }
 .signal-mark { margin-bottom: 10px; }
 .card-intro h1 { font-size: 30px; }
 .health-panel { padding: 13px 11px 11px; margin: 16px 0; }
 .health-checks { gap: 4px; }
 .health-checks > div { gap: 4px; font-size: 11px; }
 .health-checks small { font-size: 9.5px; }
 .health-top { gap: 8px; }
 .health-heading h2 { font-size: 18px; }
 .health-badge { padding: 2px 6px; }
 #display-name { display: none; }
 .bar-inner .icon { width: 15px; }
}
@media(max-width:350px) {
 .health-emblem { display: none; }
 .health-checks > div { flex-direction: column; align-items: flex-start; }
 .brand { letter-spacing: .09em; }
}
