/* Higher-contrast space palette: readable surfaces, labels and account data. */
:root {
  color-scheme: dark;
  font-family: "Segoe UI", "Microsoft YaHei", system-ui, sans-serif;
  background: #172637;
  color: #f4f8fe;
  font-size: 14px;
  --surface: #23364d;
  --line: #4a627e;
  --muted: #c3d1e2;
  --accent: #97ebee;
  --admin-style-version: 3;
}
* { box-sizing: border-box; }
body { margin: 0; min-height: 100vh; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
button { cursor: pointer; }
button:disabled { cursor: default; opacity: .5; }
[hidden] { display: none !important; }
.workspace { min-height: 100vh; background: radial-gradient(ellipse at 75% 0%, #3f678755, transparent 60%); }
header { height: 86px; margin: 0 5vw; border-bottom: 1px solid var(--line); display: flex; gap: 24px; align-items: center; }
.header-brand { letter-spacing: .16em; font-size: 13px; font-weight: 700; }
.mini-mark { color: var(--accent); font-size: 24px; vertical-align: middle; margin-right: 12px; }
.header-label { margin-left: auto; color: var(--muted); font-size: 13px; }
.status-dot { display: inline-block; width: 6px; height: 6px; background: var(--accent); border-radius: 50%; margin-right: 8px; box-shadow: 0 0 10px #78dbe235; vertical-align: middle; }
main { max-width: 1600px; margin: auto; padding: 24px 5vw 0; }
h1, h2, h3, p { margin-top: 0; }
h1 { font-size: 32px; letter-spacing: -.04em; margin-bottom: 12px; }
h2 { font-size: 20px; font-weight: 600; letter-spacing: -.025em; margin-bottom: 10px; }
h3 { font-size: 15px; font-weight: 600; margin-bottom: 10px; }
p { line-height: 1.8; }
.muted, .hint { color: var(--muted); }
.eyebrow { display: flex; align-items: center; gap: 12px; font-size: 13px; font-weight: 600; letter-spacing: .2em; color: var(--accent); margin-bottom: 20px; }
.eyebrow-line { width: 28px; height: 1px; background: var(--accent); }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; }
.login-layout { max-width: 1120px; min-height: calc(100vh - 184px); margin: auto; display: grid; grid-template-columns: 1fr 420px; align-items: center; gap: 8%; padding: 38px 0; }
.login-intro { position: relative; padding-top: 20px; }
.login-intro h1 { font-size: clamp(36px, 4.1vw, 58px); font-weight: 600; line-height: 1.45; letter-spacing: -.055em; margin-bottom: 22px; }
.login-intro h1 span { color: var(--accent); }
.intro-copy { color: #c6d6e8; font-size: 15px; line-height: 1.9; }
.intro-features { display: flex; flex-wrap: wrap; gap: 30px; color: #d0ddeb; font-size: 13px; margin-top: 22px; }
.intro-features i { color: var(--accent); font-style: normal; margin-right: 8px; }
.orbit-art { position: relative; height: 200px; width: 360px; max-width: 100%; margin-top: -6px; overflow: hidden; }
.orbit-ring { position: absolute; width: 265px; height: 125px; left: 32px; top: 34px; border: 1px solid #3e7c8e50; border-radius: 50%; transform: rotate(-25deg); }
.orbit-ring.inner { width: 210px; height: 95px; left: 60px; top: 49px; transform: rotate(25deg); border-color: #78dbe238; }
.orbit-axis { position: absolute; left: 163px; top: 15px; height: 163px; width: 1px; background: linear-gradient(transparent, #78dbe260, transparent); transform: rotate(25deg); }
.ship-symbol { position: absolute; left: 116px; top: 18px; font-size: 105px; line-height: 1.4; color: #8bdce3; text-shadow: 0 0 45px #78dbe22a; transform: rotate(12deg); }
.orbit-star { position: absolute; width: 5px; height: 5px; border-radius: 50%; background: #7bcad7; box-shadow: 0 0 12px #78dbe260; }
.star-one { left: 40px; top: 119px; }.star-two { left: 275px; top: 43px; }.star-three { left: 225px; top: 150px; width: 3px; height: 3px; }
.orbit-label, .orbit-coordinate { position: absolute; font-size: 13px; letter-spacing: .15em; color: #b1ccdf; }.orbit-label { bottom: 4px; left: 75px; }.orbit-coordinate { right: 0; top: 80px; writing-mode: vertical-rl; }
.login { position: relative; padding: 34px; background: linear-gradient(150deg, #2c455f, #23364d 72%); box-shadow: 0 24px 70px #00000030; }
.login::before { content: ""; position: absolute; top: -1px; left: 30px; right: 30px; height: 1px; background: linear-gradient(90deg, transparent, #78dbe280, transparent); }
.access-icon { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 12px; border: 1px solid #305264; background: #18354270; color: var(--accent); font-size: 25px; margin-bottom: 28px; }
.login .eyebrow { font-size: 13px; margin-bottom: 12px; color: #b6cfe4; }
.login > .muted { font-size: 13px; margin-bottom: 28px; }
.login form { display: grid; gap: 20px; }
label, .field { display: grid; gap: 10px; color: #dee9f5; font-size: 13px; }
input { width: 100%; min-width: 0; padding: 13px 14px; background: #172c43; color: #f4f8fe; border: 1px solid #66809b; border-radius: 7px; font-size: 13px; outline: none; transition: border-color .15s, box-shadow .15s; }
input::placeholder { color: #b1c4d8; }
input:focus { border-color: #65becb; box-shadow: 0 0 0 3px #78dbe210; }
button { border: 1px solid #63809c; border-radius: 7px; padding: 10px 15px; color: #e3edf8; background: #344f6c; white-space: nowrap; transition: background .15s, border-color .15s; }
button:hover:not(:disabled) { background: #416280; border-color: #7b9ab6; }
button:focus-visible, a:focus-visible, summary:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
.primary { background: #86d9df; color: #10222b; border-color: #86d9df; font-weight: 600; }
.primary:hover:not(:disabled) { background: #a3ebed; border-color: #a3ebed; }
.login .primary { display: flex; align-items: center; justify-content: space-between; padding: 14px 17px; margin-top: 2px; }
.login-caption { font-size: 13px; color: #c2d4e7; margin-top: -4px; }
.login-caption .status-dot { width: 5px; height: 5px; }
.password-wrap { position: relative; display: block; }
.password-wrap input { padding-right: 58px; }
.password-toggle { border: 0; background: transparent; color: #c3deed; position: absolute; right: 4px; top: 4px; bottom: 4px; padding: 0 10px; font-size: 13px; }
.password-toggle:hover:not(:disabled) { background: #344f6c; }
.hint { font-size: 13px; line-height: 1.9; margin: 22px 0; }
.login-card-footer { border-top: 1px solid var(--line); padding-top: 18px; color: #b6cadd; font-size: 13px; text-align: center; }
.login-card-footer span { color: #72afbf; margin-right: 5px; }
.page-footer { border-top: 1px solid #415772; padding: 21px 0; display: flex; justify-content: space-between; gap: 20px; color: #afc2d7; font-size: 13px; letter-spacing: .03em; }
#message, #detail-message { border: 1px solid #284c46; background: #122b28; border-radius: 8px; color: #a2e3ce; padding: 12px 16px; font-size: 13px; }
#message:empty, #detail-message:empty { display: none; }
#message.error, #detail-message.error { color: #f0b7b1; border-color: #634047; background: #2e1e26; }
.asset-error { color: #f0b7b1; background: #2e1e26; border: 1px solid #634047; padding: 12px 16px; border-radius: 8px; font-size: 13px; }
.sidebar { display: none; }
body.authenticated .sidebar { display: flex; flex-direction: column; width: 224px; height: 100vh; position: fixed; top: 0; left: 0; border-right: 1px solid #4a627e; padding: 30px 20px 20px; background: #172c43; }
body.authenticated .workspace { margin-left: 224px; }
body.authenticated header { height: 74px; margin: 0 32px; }
body.authenticated .header-brand { display: none; }
body.authenticated .header-label { margin-left: 0; }
body.authenticated #logout { margin-left: auto; }
body.authenticated main { padding: 32px 32px 0; }
.brand { display: flex; align-items: center; gap: 12px; font-size: 17px; font-weight: 700; letter-spacing: .12em; }
.brand-mark { display: grid; place-items: center; width: 38px; height: 42px; background: #14303d; border: 1px solid #345868; border-radius: 9px; color: #9ae5e6; font-size: 14px; font-style: italic; letter-spacing: 0; }
.brand small { display: block; margin-top: 4px; font-size: 13px; font-weight: 400; color: #bfd0e4; letter-spacing: .17em; }
.nav-caption { margin: 50px 12px 14px; color: #b9cde3; font-size: 13px; letter-spacing: .1em; }
.nav-item { display: flex; align-items: center; gap: 12px; border: 1px solid #244454; background: #14303d80; border-radius: 8px; color: #a2e4e5; font-size: 13px; padding: 13px; }
.nav-item > span:first-child { font-size: 19px; }.nav-indicator { margin-left: auto; width: 4px; height: 4px; border-radius: 50%; background: var(--accent); }
.sidebar-note { margin-top: auto; padding: 18px 10px; display: flex; align-items: flex-start; gap: 2px; color: #d1e0ef; font-size: 13px; }
.sidebar-note .status-dot { margin-top: 4px; width: 5px; height: 5px; flex-shrink: 0; }.sidebar-note small, .sidebar-footer small { display: block; color: #b6cbe1; font-size: 13px; line-height: 1.8; margin-top: 7px; }
.sidebar-footer { border-top: 1px solid var(--line); padding: 20px 10px 0; color: #b9cce1; font-size: 13px; letter-spacing: .13em; }
.page-heading { display: flex; justify-content: space-between; gap: 20px; align-items: center; margin-bottom: 30px; }.page-heading .eyebrow { font-size: 13px; color: #bbd3e7; margin-bottom: 12px; }.page-heading h1 { font-size: 30px; font-weight: 600; margin-bottom: 8px; }.heading-dot { color: var(--accent); }.page-heading .muted { margin: 0; font-size: 13px; }
.workspace-tag { color: #d0deed; border: 1px solid #617b96; border-radius: 20px; padding: 8px 12px; font-size: 13px; }
.metrics { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-bottom: 30px; }.metric { padding: 21px 22px; }.metric-heading { display: flex; justify-content: space-between; align-items: center; gap: 10px; color: #cad9e9; font-size: 13px; }.metric-icon { width: 30px; height: 30px; border: 1px solid #244e5c; background: #13303b; border-radius: 8px; color: #8bd9e3; display: grid; place-items: center; font-size: 17px; font-style: normal; }.metric-icon.amber { color: #e0b979; background: #332c21; border-color: #4f432f; }.metric-icon.violet { color: #b5a7ed; background: #29263f; border-color: #403956; }.metric-icon.green { color: #8bd8b9; background: #16352f; border-color: #2c4d43; }.metrics strong { display: block; font-size: 34px; font-weight: 600; letter-spacing: -.04em; margin: 10px 0; font-variant-numeric: tabular-nums; }.metric small { color: #bed0e4; font-size: 13px; }
.accounts-card { overflow: hidden; margin-bottom: 38px; }.toolbar { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-bottom: 22px; }.accounts-card > .toolbar { padding: 24px; margin: 0; }.toolbar h2 { font-size: 16px; }.toolbar p { margin: 0; font-size: 13px; }.search { display: flex; gap: 8px; align-items: center; }.search input { min-width: 150px; width: 240px; }.search button { font-size: 13px; padding: 12px 15px; }.quiet { background: transparent; color: #d0deec; border-color: #617b96; font-size: 13px; }
.table-wrap { overflow-x: auto; }table { border-collapse: collapse; width: 100%; text-align: left; white-space: nowrap; }th { font-size: 13px; font-weight: 500; color: #d0deee; background: #1b2d43; letter-spacing: .02em; }td, th { border-bottom: 1px solid #4a627e; padding: 18px 22px; }td { font-size: 13px; color: #d8e5f3; }td:first-child { color: #f4f8fe; font-weight: 500; }td small { display: block; font-size: 13px; color: #bfd2e7; margin-top: 6px; font-weight: 400; }tbody tr:hover { background: #2e4661; }td button { background: #294b61; border-color: #668a9f; color: #b4eff7; font-size: 13px; padding: 8px 11px; }.badge { display: inline-flex; align-items: center; gap: 6px; color: #b4f6d7; background: #244e41; border: 1px solid #568a74; padding: 4px 8px; border-radius: 5px; font-size: 13px; }.badge::before { content: ""; width: 4px; height: 4px; border-radius: 50%; background: currentColor; }.badge.banned { color: #ffe0b6; border-color: #947047; background: #564027; }
.pager { padding: 18px 24px; display: flex; align-items: center; justify-content: space-between; gap: 20px; font-size: 13px; color: #c0d2e5; }.pager button { margin-left: 8px; font-size: 13px; padding: 8px 12px; background: transparent; }.empty-state { padding: 54px 20px; text-align: center; border-bottom: 1px solid var(--line); color: #c7d9eb; }.empty-state h3 { font-size: 14px; color: #e1edf9; margin-bottom: 6px; }.empty-state p { font-size: 13px; margin: 0; }.empty-symbol { display: inline-block; font-size: 38px; color: #91afc9; margin-bottom: 18px; }
dialog { width: min(740px, 94vw); max-height: 90vh; padding: 28px; background: #23364d; color: inherit; border: 1px solid #607f9a; border-radius: 14px; box-shadow: 0 30px 100px #0008; }dialog::backdrop { background: #030912d9; backdrop-filter: blur(5px); }dialog .toolbar { align-items: flex-start; }dialog .eyebrow { font-size: 13px; margin-bottom: 12px; }dialog h2 { font-size: 22px; }.action-box { border-top: 1px solid var(--line); padding: 22px 0; }.action-box p { font-size: 13px; }.danger { color: #eab0ab; border-color: #71444b; background: #3a252e; }dl { display: grid; grid-template-columns: 130px 1fr; gap: 14px; font-size: 13px; margin: 24px 0; }dt { color: #c4d7ea; }dd { margin: 0; overflow-wrap: anywhere; }dialog .search { flex-wrap: wrap; }dialog .search input { flex: 1; }details { border-top: 1px solid var(--line); padding-top: 20px; }summary { color: #b4eff7; font-size: 13px; cursor: pointer; }pre { background: #1b2d43; padding: 18px; border-radius: 8px; white-space: pre-wrap; overflow-wrap: anywhere; max-height: 360px; overflow: auto; font-size: 13px; line-height: 1.8; }
@media (max-width: 1180px) { .metrics { gap: 12px; }.metric { padding: 18px; }.accounts-card > .toolbar { align-items: stretch; flex-direction: column; }.search input { flex: 1; }.login-layout { gap: 5%; grid-template-columns: 1fr 390px; }body.authenticated .sidebar { width: 196px; }body.authenticated .workspace { margin-left: 196px; }body.authenticated main { padding-left: 24px; padding-right: 24px; } }
@media (max-width: 850px) { .login-layout { grid-template-columns: 1fr; max-width: 440px; min-height: calc(100vh - 184px); padding: 38px 0; }.login-intro { display: none; }body.authenticated .sidebar { display: none; }body.authenticated .workspace { margin-left: 0; }.workspace-tag { display: none; }.header-label { display: none; }body.authenticated .header-brand { display: block; }.metrics { grid-template-columns: repeat(2, 1fr); }header, body.authenticated header { height: 72px; margin: 0 20px; }main, body.authenticated main { padding: 24px 20px 0; }.page-heading { margin-bottom: 22px; }.accounts-card { margin-bottom: 28px; }.page-footer { flex-wrap: wrap; gap: 8px; } }
@media (max-width: 480px) { .login { padding: 26px; }.login h2 { font-size: 19px; }.login-layout { padding: 20px 0 30px; }.header-brand { font-size: 13px; }.mini-mark { margin-right: 7px; }.metrics { gap: 10px; margin-bottom: 20px; }.metric { padding: 15px; }.metrics strong { font-size: 29px; }.metric small { font-size: 13px; }.metric-icon { width: 25px; height: 25px; }.accounts-card > .toolbar { padding: 20px; }.search { flex-wrap: wrap; }.search input { width: 100%; flex-basis: 100%; }.pager { padding: 16px; flex-wrap: wrap; gap: 14px; }dialog { padding: 20px; }dl { grid-template-columns: 102px 1fr; gap: 12px; }.page-footer { font-size: 13px; }.page-heading h1 { font-size: 27px; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; } }
