@font-face { font-family: "Space Mono"; src: url("/static/fonts/SpaceMono-Regular.ttf") format("truetype"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Space Mono"; src: url("/static/fonts/SpaceMono-Bold.ttf") format("truetype"); font-weight: 700; font-style: normal; font-display: swap; }
:root { color-scheme: light; --ink-font:"Space Mono", monospace; --page:#fff; --paper:#fff; --fill:#fff; --fill-soft:#f5f5f5; --fill-active:#f3f3f3; --ink:#111; --ink-muted:#444; --ink-soft:#555; --ink-softer:#666; --ink-contrast:#000; --link:#0000c4; --danger:#8b1717; --line:#bbb; --line-soft:#ddd; --line-mid:#999; --shadow:rgba(0,0,0,.07); font-family: var(--ink-font); background: var(--page); color: var(--ink); }
/* Panel-only dark theme (Rust accounts panel). Public pages stay light by design:
   tokens are only overridden under body.panel-page. data-theme (on <html>) forces a mode;
   without a cookie the OS preference applies. */
@media (prefers-color-scheme: dark) { body.panel-page { color-scheme:dark;--page:#17181b;--paper:#1e1f24;--fill:#2b2d33;--fill-soft:#2b2d33;--fill-active:#2b2d33;--ink:#e8e6e1;--ink-muted:#b3b0a8;--ink-soft:#a9a6a0;--ink-softer:#8f8d88;--ink-contrast:#e8e6e1;--link:#8ab4ff;--danger:#ff9d9d;--line:#45474d;--line-soft:#3a3c42;--line-mid:#5a5c63;--shadow:rgba(0,0,0,.4); } }
:root[data-theme="dark"] body.panel-page { color-scheme:dark;--page:#17181b;--paper:#1e1f24;--fill:#2b2d33;--fill-soft:#2b2d33;--fill-active:#2b2d33;--ink:#e8e6e1;--ink-muted:#b3b0a8;--ink-soft:#a9a6a0;--ink-softer:#8f8d88;--ink-contrast:#e8e6e1;--link:#8ab4ff;--danger:#ff9d9d;--line:#45474d;--line-soft:#3a3c42;--line-mid:#5a5c63;--shadow:rgba(0,0,0,.4); }
:root[data-theme="light"] body.panel-page { color-scheme: light; --page:#fff; --paper:#fff; --fill:#fff; --fill-soft:#f5f5f5; --fill-active:#f3f3f3; --ink:#111; --ink-muted:#444; --ink-soft:#555; --ink-softer:#666; --ink-contrast:#000; --link:#0000c4; --danger:#8b1717; --line:#bbb; --line-soft:#ddd; --line-mid:#999; --shadow:rgba(0,0,0,.07); }
/* Theme tokens resolve on body; text color must follow them or inherited root #111 stays black on dark */
body.panel-page { color: var(--ink); display: flex; flex-direction: column; min-height: 100vh; }
main.page { flex: 1 0 auto; }
.site-foot { margin-top: auto; }
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font-size: 13px; line-height: 1.55; }
button, input, select, textarea, code, pre, .mono { font-family: inherit; }
button, input, select, textarea { font-size: inherit; }
h1, h2, h3 { line-height: 1.4; margin: 1.2em 0 .5em; }
h1 { font-size: 19px; margin-top: 0; } h2 { font-size: 16px; } h3 { font-size: 14px; }
p { margin: .6em 0; } a { color: var(--link); text-underline-offset: .2em; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 2px solid var(--link); outline-offset: 3px; }
.wrap { max-width: 960px; margin: auto; padding: 0 16px; }
.narrow { max-width: 560px; } .center { text-align: center; }
.muted, .help { color: var(--ink-muted); } small, .small, .help { font-size: 12px; }
.lede { max-width: 640px; font-size: inherit; } .kicker { font-size: 12px; font-weight: bold; }
img { max-width: 100%; height: auto; }
.site-head { padding: 12px 0 0; }
.head-row { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; border-bottom: 1px solid var(--line); padding-bottom: 10px; }
.logo { margin-right: auto; line-height: 0; } .logoimg { display: block; height: 42px; width: auto; }
.topnav, .account-nav { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.topnav a, .account-nav a { color: var(--link); } [aria-current="page"], a.here { font-weight: bold; }
.beta, .who { font-size: 12px; }
main.page { padding: 20px 16px 28px; } .site-foot { padding-bottom: 24px; font-size: 12px; }
.site-foot .wrap { border-top: 1px solid var(--line); padding-top: 12px; }
.card { border: 1px solid var(--line); padding: 14px; margin: 0 0 14px; background: var(--paper); }
.card > :first-child { margin-top: 0; } .card > :last-child { margin-bottom: 0; }
.cols2, .why-grid, .svc-list, .svc-grid { display: block; }
.svc-img { display: block; width: 72px; margin: 0 auto 8px; }
.svc-item { padding: 8px 0; } .svc-item b { display: block; }
.layout { display: grid; grid-template-columns: 190px minmax(0, 1fr); gap: 16px; }
.side a { display: block; padding: 8px; } .side a.here { font-weight: bold; }
.rowline { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; padding: 6px 0; border-bottom: 1px solid var(--line-soft); }
.rowline:last-child { border: 0; }
.btn { display: inline-block; border: 1px solid var(--line-mid); background: var(--paper); color: var(--link); padding: 7px 12px; cursor: pointer; text-decoration: underline; text-align: center; }
.btn:hover { border-color: var(--link); } .btn-primary, .btn-primary:visited { color: var(--link); font-weight: bold; }
.btn-danger, .btn-danger:visited { color: var(--danger); border-color: var(--danger); }
.btn-block { display: block; width: 100%; } .btn-sm { padding: 6px 10px; } .btn-lg { padding: 8px 14px; }
button:disabled { opacity: .6; cursor: not-allowed; }
.logout-form { margin: 0; } .logout-button { border: 0; background: none; color: var(--link); padding: 8px 0; cursor: pointer; text-decoration: underline; text-underline-offset: .2em; }
.field { margin-bottom: 16px; } .label { display: block; margin-bottom: 5px; font-weight: bold; }
.input, .textarea, .select { display: block; width: 100%; border: 1px solid var(--line-mid); background: var(--paper); padding: 8px; color: inherit; }
.textarea { resize: vertical; } input, textarea, select { max-width: 100%; } .help { margin-top: 5px; }
.tablewrap, pre { max-width: 100%; overflow-x: auto; }
.table { width: 100%; border-collapse: collapse; font-size: 13px; }
.table th, .table td { padding: 8px; text-align: left; border-bottom: 1px solid var(--line-soft); vertical-align: top; }
.badge { display: inline-block; border: 1px solid var(--line); padding: 1px 6px; font-size: 12px; }
.badge-active, .badge-approved, .badge-registered { font-weight: bold; } .badge-planned { border-style: dashed; }
.note, .flash { padding: 12px; margin-bottom: 14px; border: 1px solid var(--line); }
.note.err { border-color: var(--danger); color: var(--danger); } .record-warning { color: var(--danger); font-weight: bold; }
.token { display: inline-block; user-select: all; padding: 6px 8px; border: 1px dashed var(--line-mid); }
.card, .note, .flash, .help, .lede, .who, .mono, .btn, .table td { overflow-wrap: anywhere; }
.head-row > *, .layout > *, .svc-grid > *, .cols2 > * { min-width: 0; }
details summary { cursor: pointer; } details.card summary { font-weight: bold; }
.hero { padding: 16px 0 8px; text-align: center; }
.heroimg { display: block; max-width: 380px; width: 100%; height: auto; margin: 4px auto 12px; }
.hero .cta-row { margin-top: 12px; }
.form-stage { position: relative; margin-bottom: 70px; }
.form-card { position: relative; z-index: 1; }
.form-mascot { position: absolute; right: -70px; bottom: -40px; z-index: 0; pointer-events: none; width: clamp(140px, 30vw, 220px); height: auto; }
.login-stage { position: relative; margin-bottom: 110px; }
.login-card { position: relative; z-index: 1; }
.peek-big { position: absolute; right: -80px; bottom: -46px; z-index: 0; pointer-events: none; width: clamp(180px, 34vw, 300px); height: auto; }
.login-mascot { display: block; width: clamp(90px, 18vw, 130px); margin: 0 auto 10px; }
.contact-coming-soon, .recovery-form-card { margin-left: auto; margin-right: auto; }
.contact-coming-soon { margin-bottom: 90px; } .support-contact-card { padding-bottom: 110px; } .support-mascot { bottom: -50px; }
.recovery-code-card { border: 1px solid var(--danger); padding: 18px; text-align: center; margin: 12px 0 20px; }
.recovery-code-label { font-weight: bold; } .recovery-code-display { font-size: clamp(1.2rem, 4vw, 2rem); color: var(--danger); overflow-wrap: anywhere; user-select: all; }
.navwrap { display: none; }
@media (max-width: 700px) {
  .wrap { padding: 0 12px; } main.page { padding: 16px 12px 24px; }
  .cols2, .cols3, .cols5, .svc-grid, .why-grid, .svc-list, .layout { display: block; }
  .input, .textarea, .select { font-size: 16px; } .head-row { gap: 8px; }
  .account-nav { width: 100%; gap: 8px 16px; } .account-nav a { padding: 8px 0; }
  .cta-row .btn { display: block; width: 100%; margin: 8px 0; }
  .btn-sm { min-height: 44px; padding: 10px; } .rowline { flex-direction: column; gap: 2px; }
  .topnav { display: none; } .navwrap { display: block; margin-left: auto; }
  .navburger { min-height: 44px; display: flex; align-items: center; padding: 8px; list-style: none; }
  .navburger::-webkit-details-marker { display: none; }
  .moplinks { padding: 10px 0; } .moplinks a { display: block; padding: 10px 0; }
  .form-card { margin-bottom: 40px; } .form-mascot { right: 8px; bottom: -14px; max-width: 45%; }
  .login-stage { margin-bottom: 70px; } .peek-big { right: 8px; bottom: -14px; }
  .support-contact-card { padding-bottom: 90px; } .support-mascot { width: 160px; right: 0; bottom: -45px; }
}
@media (max-width: 420px) { .logoimg { height: 32px; } .heroimg { max-width: 260px; } }
@media (min-width: 701px) and (max-width: 850px) { .form-mascot { right: 0; } }
