:root {
  color-scheme: dark;
  --bg: #0f1115;
  --surface: #181b20;
  --graphite: #2a2e35;
  --accent: #ff8a1f;
  --accent-light: #ffb347;
  --ink: #f5f7fa;
  --muted: #a4adba;
  --border: #343b46;
  --green: #93e5ae;
  --rose: #ff9b9b;
  font-family: "Inter", "Segoe UI", system-ui, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; color: var(--ink); background: radial-gradient(ellipse at 78% 4%, #26201b 0, transparent 34rem), var(--bg); line-height: 1.55; }
h1, h2, h3 { line-height: 1.16; margin: 0 0 .65rem; letter-spacing: -.025em; }
h1 { font-size: clamp(2.1rem, 6vw, 4.3rem); font-weight: 760; letter-spacing: -.07em; }
h2 { font-size: clamp(1.25rem, 3vw, 1.6rem); }
h3 { font-size: 1.13rem; }
p { margin: 0 0 .8rem; }
a { color: var(--accent-light); }
a:hover { text-decoration-thickness: .13em; }
button, select, input { font: inherit; }
button, select { cursor: pointer; }
button[disabled], select[disabled] { cursor: default; }
:focus-visible { outline: 3px solid var(--accent-light); outline-offset: 4px; }
[hidden] { display: none !important; }
.wrap { width: min(calc(100% - 2rem), 1280px); margin-inline: auto; }
.page-header { border-bottom: 1px solid var(--border); background: #0f1115ea; }
.header-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; column-gap: 1rem; min-height: 66px; }
.brand { display: inline-flex; gap: .7rem; align-items: center; text-decoration: none; font-weight: 740; white-space: nowrap; color: var(--ink); }
.brand b { color: var(--accent-light); }
.brand-mark { display: grid; grid-template-columns: repeat(2,6px); grid-auto-rows: 6px; gap: 3px; place-content: center; width: 33px; height: 33px; border-radius: .65rem; background: #2d2014; border: 1px solid #654420; }
.brand-mark i { background: #ff8a1f; border-radius: 1.5px; }
.brand-mark i:first-child { opacity: .45; }
.brand-mark i:last-child { background: #ffb347; }
.header-inner nav { display: flex; align-items: center; gap: .12rem; flex-wrap: wrap; padding-block: .35rem; }
.nav-link { display: inline-flex; align-items: center; min-height: 44px; color: var(--muted); padding: .35rem .7rem; font-size: .89rem; text-decoration: none; border-radius: .52rem; }
.nav-link:hover, .nav-link[aria-current="page"] { color: var(--ink); background: var(--graphite); }
.wrap > section, main.wrap { padding-block: clamp(1.65rem, 4vw, 3.1rem); }
main.wrap > section { padding-block: 0; margin-block: 1.2rem; }
.eyebrow { color: var(--accent-light); font-weight: 700; font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; }
.lead { color: var(--muted); max-width: 64ch; font-size: clamp(.98rem, 2vw, 1.15rem); }
.panel { background: var(--surface); border: 1px solid var(--border); border-radius: 1rem; padding: clamp(.95rem, 3vw, 1.4rem); }
.table-scroll { overflow: auto; max-width: 100%; }
.actions { display: flex; align-items: center; gap: .65rem; flex-wrap: wrap; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: .35rem; min-height: 44px; padding: .5rem .8rem; border: 1px solid var(--border); border-radius: .6rem; text-decoration: none; color: var(--ink); font-weight: 650; background: var(--graphite); }
.button:hover { filter: brightness(1.16); text-decoration: none; }
.button-primary { background: var(--accent); color: var(--bg); border-color: var(--accent); }
.button[disabled] { opacity: .58; }
.control { display: grid; gap: .35rem; margin: 0 0 .85rem; font-weight: 640; font-size: .9rem; }
.control select { width: 100%; min-height: 44px; color: var(--ink); background: var(--bg); border: 1px solid var(--border); border-radius: .55rem; padding: .35rem .65rem; }
.notice { color: var(--muted); font-size: .88rem; }
footer { border-top: 1px solid var(--border); }
footer .wrap { padding: 1rem 0; color: var(--muted); font-size: .88rem; }
@media (max-width: 500px) {
  .header-inner { padding-top: .6rem; }
  .header-inner > nav { width: 100%; }
  .nav-link { padding-inline: .57rem; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
