:root {
  color-scheme: light;
  --paper: #f6f5f0;
  --panel: #fffefa;
  --ink: #192925;
  --muted: #56635e;
  --line: #d9ddd3;
  --dim: #edf0e7;
  --accent: #d2ee71;
  --accent-ink: #263711;
  --green: #326c4b;
  --bad: #a0392c;
  --nav: #172b26;
  --nav-ink: #eff4eb;
  --nav-muted: #b0c3b8;
  --nav-active: #30463a;
  --font: Inter, 'Segoe UI', Arial, sans-serif;
  --mono: 'IBM Plex Mono', Consolas, 'Courier New', monospace;
}
:root[data-theme='dark'] {
  color-scheme: dark;
  --paper: #13221e;
  --panel: #1d302a;
  --ink: #eff1e8;
  --muted: #b7c4b9;
  --line: #3c5147;
  --dim: #293e33;
  --accent: #c4e866;
  --accent-ink: #1c300d;
  --green: #a1d39e;
  --bad: #ffad9b;
  --nav: #101e1b;
  --nav-active: #2b4336;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  font-family: var(--font);
  font-size: 15px;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.52;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
input,
textarea,
select {
  font: inherit;
}
button,
.button {
  cursor: pointer;
}
button,
.button,
a,
input,
select,
textarea {
  touch-action: manipulation;
}
button {
  color: inherit;
}
button:disabled {
  opacity: 0.55;
  cursor: wait;
}
:focus-visible {
  outline: 3px solid #5996e3;
  outline-offset: 3px;
}
main:focus {
  outline: none;
}
.skip {
  position: fixed;
  z-index: 40;
  top: 0;
  left: 12px;
  padding: 10px 16px;
  background: var(--ink);
  color: var(--paper);
  transform: translateY(-120%);
}
.skip:focus {
  transform: translateY(0);
}
.boot {
  max-width: 48rem;
  margin: 12vh auto;
  padding: 32px;
}
.boot strong {
  font-size: 28px;
}
h1,
h2,
h3,
p {
  margin: 0;
}
h1,
h2,
h3 {
  line-height: 1.14;
  letter-spacing: -0.035em;
  text-wrap: balance;
}
h1 {
  font-size: clamp(34px, 4.1vw, 59px);
  font-weight: 650;
  letter-spacing: -0.055em;
}
h2 {
  font-size: clamp(22px, 2vw, 29px);
  font-weight: 650;
}
h3 {
  font-size: 18px;
  font-weight: 650;
  line-height: 1.3;
  letter-spacing: -0.018em;
}
p + p {
  margin-top: 0.55em;
}
svg.ico {
  width: 19px;
  height: 19px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.65;
  stroke-linecap: round;
  stroke-linejoin: round;
  vertical-align: middle;
  flex: none;
}
.mono,
.overline,
.small-label,
.pill,
.block-letter,
.time,
.metric b {
  font-family: var(--mono);
}
.overline,
.small-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.085em;
  text-transform: uppercase;
}
.small-label {
  color: var(--muted);
}
.overline {
  color: var(--green);
  margin-bottom: 12px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 650;
  line-height: 1.1;
  letter-spacing: -0.055em;
  font-size: 23px;
  white-space: nowrap;
}
.brandmark {
  position: relative;
  display: inline-grid;
  width: 35px;
  height: 35px;
  background: var(--accent);
  color: #1c3122;
  border-radius: 8px;
  place-items: center;
  flex-shrink: 0;
}
.brandmark:before,
.brandmark:after {
  content: '';
  position: absolute;
  width: 10px;
  height: 16px;
  transform: skew(-19deg);
  border: solid currentColor;
  border-width: 3px 0 0 3px;
}
.brandmark:before {
  left: 8px;
  top: 8px;
}
.brandmark:after {
  left: 17px;
  top: 12px;
}
.icon-btn {
  display: inline-grid;
  place-items: center;
  flex-shrink: 0;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 8px;
  min-width: 38px;
  min-height: 38px;
}
.icon-btn:hover,
.btn:hover,
.button:hover {
  filter: brightness(0.95);
}
.btn,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 41px;
  padding: 8px 15px;
  border: 1px solid var(--line);
  background: var(--panel);
  color: var(--ink);
  border-radius: 7px;
  font-weight: 600;
  font-size: 14px;
  text-align: center;
  line-height: 1.35;
}
.btn.primary,
.button.primary {
  background: var(--accent);
  color: var(--accent-ink);
  border-color: var(--accent);
}
.btn.solid,
.button.solid {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
}
.btn.ghost,
.button.ghost {
  background: transparent;
}
.btn.small,
.button.small {
  min-height: 32px;
  padding: 5px 10px;
  font-size: 13px;
}
.btn.danger {
  color: var(--bad);
}
.link {
  background: none;
  border: 0;
  padding: 2px 0;
  font: inherit;
  color: var(--green);
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}
.actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.dim,
.help {
  color: var(--muted);
}
.help {
  font-size: 13px;
}
.rule {
  height: 1px;
  background: var(--line);
  margin: 20px 0;
}
.stack {
  display: grid;
  gap: 18px;
  align-content: start;
}
.tight {
  gap: 10px;
}
.kicker-row,
.section-head,
.row-between {
  display: flex;
  gap: 14px;
  align-items: center;
  justify-content: space-between;
}
.section-head {
  margin-bottom: 18px;
}
.surface {
  padding: clamp(18px, 2.2vw, 30px);
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 13px;
  min-width: 0;
}
.surface h2 + .help,
.surface h3 + .help,
.surface h2 + p {
  margin-top: 8px;
}
form.fields {
  display: grid;
  gap: 16px;
}
.field {
  display: grid;
  gap: 6px;
  min-width: 0;
}
.field > span:first-child,
.field > label:first-child,
.field-label {
  font-size: 13px;
  font-weight: 650;
}
input:not([type='checkbox']):not([type='radio']),
select,
textarea {
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--panel);
  color: var(--ink);
  width: 100%;
  padding: 11px 12px;
  line-height: 1.4;
}
input[type='checkbox'],
input[type='radio'] {
  accent-color: #497a35;
  width: 17px;
  height: 17px;
  vertical-align: middle;
  flex: none;
}
input[type='file'] {
  font-size: 13px;
}
input[type='file']::file-selector-button {
  padding: 4px 8px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--dim);
  color: var(--ink);
  margin-right: 9px;
}
textarea {
  resize: vertical;
  min-height: 95px;
}
.error-text {
  color: var(--bad);
  font-weight: 550;
  font-size: 14px;
}
#notice {
  position: fixed;
  left: 50%;
  bottom: 20px;
  transform: translateX(-50%);
  z-index: 50;
  max-width: min(600px, 92vw);
  pointer-events: none;
}
#notice:not(:empty) {
  background: #203a31;
  border: 1px solid #5a7666;
  color: white;
  border-radius: 10px;
  padding: 12px 18px;
  box-shadow: 0 8px 28px #0002;
}
[data-msg]:empty {
  display: none;
}
.auth {
  max-width: 1520px;
  margin: auto;
  padding: 0 clamp(20px, 4.8vw, 78px);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
.auth-top {
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 87px;
  border-bottom: 1px solid var(--line);
}
.auth-top .brand {
  margin-right: auto;
}
.auth-code {
  font: 12px var(--mono);
  letter-spacing: 0.04em;
  color: var(--muted);
}
.auth-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(300px, 0.85fr);
  align-items: center;
  gap: clamp(35px, 6vw, 100px);
  margin: auto 0;
  padding: 45px 0;
}
.auth-intro {
  min-width: 0;
}
.auth-intro h1 {
  font-size: clamp(46px, 5.3vw, 84px);
  max-width: 790px;
  font-weight: 630;
  line-height: 1.01;
}
.auth-intro p {
  margin: 17px 0 24px;
  max-width: 590px;
  color: var(--muted);
  font-size: clamp(16px, 1.4vw, 19px);
  line-height: 1.48;
}
.auth-panel {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: clamp(24px, 3vw, 44px);
  box-shadow: 0 6px 20px #18301606;
  min-width: 0;
}
.auth-panel h2 {
  font-size: 30px;
}
.auth-panel .fields > .btn {
  width: 100%;
  margin-top: 4px;
}
.auth-foot {
  padding: 17px 0 22px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  gap: 16px;
  font: 12px var(--mono);
  color: var(--muted);
}
.segmented {
  display: inline-flex;
  align-items: stretch;
  gap: 2px;
  padding: 3px;
  border-radius: 7px;
  border: 1px solid var(--line);
  background: var(--dim);
  max-width: 100%;
}
.segmented button,
.segmented a {
  background: transparent;
  color: var(--muted);
  border: 0;
  padding: 7px 12px;
  border-radius: 5px;
  font-size: 13px;
  font-weight: 600;
  text-align: center;
}
.segmented .sel {
  color: var(--ink);
  background: var(--panel);
  box-shadow: 0 1px 4px #0001;
}
.blueprint {
  background-color: #1f3831;
  background-image:
    linear-gradient(90deg, #d7edca0b 1px, transparent 1px),
    linear-gradient(#d7edca0b 1px, transparent 1px);
  background-size: 20px 20px;
  border: 1px solid #365044;
  border-radius: 12px;
  color: #e4efd8;
  position: relative;
  overflow: hidden;
}
.bp-label {
  font: 10px var(--mono);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #c0d1bc;
}
.bp-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 17px 20px 0;
}
.cross {
  width: 11px;
  height: 11px;
  position: relative;
  display: inline-block;
}
.cross:before,
.cross:after {
  position: absolute;
  content: '';
  background: #9bb79b;
  left: 5px;
  top: 0;
  width: 1px;
  height: 11px;
}
.cross:after {
  transform: rotate(90deg);
}
.bp-flow {
  display: grid;
  grid-template-columns: 1fr minmax(18px, 0.37fr) 1.08fr minmax(18px, 0.37fr) 1fr;
  align-items: center;
  padding: 23px 9% 27px;
}
.bp-node {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  font: 11px var(--mono);
  color: #ceddc5;
}
.bp-sheet,
.bp-db,
.bp-window {
  width: 58px;
  height: 45px;
  display: block;
  position: relative;
  color: #c9eb84;
}
.bp-sheet {
  border: 1.5px solid currentColor;
  border-radius: 2px;
  background:
    repeating-linear-gradient(0deg, transparent, transparent 9px, #b1ce8b88 9px, #b1ce8b88 10px),
    repeating-linear-gradient(90deg, transparent, transparent 17px, #b1ce8b88 17px, #b1ce8b88 18px);
  background-color: #243e32;
  transform: skewY(-6deg);
  box-shadow:
    4px 4px #294936,
    5px 5px #86a375;
}
.bp-sheet:before,
.bp-window:before {
  content: '';
  display: block;
  height: 7px;
  background: #a8c67e;
}
.bp-db {
  width: 56px;
  height: 44px;
  border: 1.5px solid currentColor;
  border-radius: 50% / 16%;
  background: #294436;
}
.bp-db:before,
.bp-db:after {
  content: '';
  position: absolute;
  left: -1px;
  right: -1px;
  height: 11px;
  border: 1.5px solid currentColor;
  border-radius: 50%;
  top: -1px;
}
.bp-db:after {
  border-width: 0 0 1.5px;
  top: 14px;
}
.bp-window {
  border: 1.5px solid currentColor;
  border-radius: 3px;
  transform: skewY(5deg);
  background: #254032;
  box-shadow:
    4px 4px #294936,
    5px 5px #86a375;
}
.bp-window:after {
  content: '>_';
  position: absolute;
  left: 8px;
  top: 10px;
  font: bold 18px var(--mono);
}
.bp-edge {
  border-top: 1px dashed #96ae81;
  position: relative;
  transform: translateY(-11px);
}
.bp-edge:after {
  content: '';
  position: absolute;
  width: 5px;
  height: 5px;
  border: solid #96ae81;
  border-width: 1px 1px 0 0;
  transform: rotate(45deg);
  right: 0;
  top: -3px;
}
.frame {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 230px minmax(0, 1fr);
}
.sidebar {
  position: sticky;
  top: 0;
  height: 100dvh;
  overflow-y: auto;
  background: var(--nav);
  color: var(--nav-ink);
  padding: 27px 17px 17px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.sidebar .brand {
  padding: 1px 9px 13px;
}
.nav-block {
  display: grid;
  gap: 4px;
}
.nav-title {
  color: var(--nav-muted);
  font: 10px var(--mono);
  letter-spacing: 0.13em;
  text-transform: uppercase;
  padding: 0 12px 7px;
}
.nav-item {
  color: var(--nav-muted);
  font-weight: 530;
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 13px;
  border-radius: 7px;
  padding: 10px 12px;
}
.nav-item:hover,
.nav-item.active {
  color: var(--nav-ink);
  background: var(--nav-active);
}
.nav-item.active svg {
  color: var(--accent);
}
.nav-item.active:after {
  content: '';
  height: 6px;
  width: 6px;
  border-radius: 50%;
  background: var(--accent);
  margin-left: auto;
}
.sidebar-foot {
  margin-top: auto;
  display: grid;
  gap: 10px;
  border-top: 1px solid #71867457;
  padding-top: 16px;
}
.account {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 4px;
  border-radius: 6px;
  min-width: 0;
}
.account strong,
.account small {
  display: block;
  overflow-wrap: anywhere;
}
.account strong {
  font-size: 13px;
  font-weight: 600;
}
.account small {
  font-size: 11px;
  color: var(--nav-muted);
}
.avatar {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  display: inline-grid;
  place-items: center;
  flex-shrink: 0;
  background: #d9e4c9;
  color: #294330;
  font: 600 15px var(--mono);
}
.content {
  min-width: 0;
}
.topbar {
  height: 70px;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 clamp(22px, 3.8vw, 66px);
  background: var(--panel);
}
.crumbs {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  font-size: 13px;
  color: var(--muted);
}
.crumbs > span:last-child {
  color: var(--ink);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.crumbs svg {
  width: 13px;
  height: 13px;
}
.toolbar-end {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-left: auto;
}
.mobile-nav {
  display: none;
}
.main {
  padding: clamp(24px, 3.2vw, 50px) clamp(22px, 3.8vw, 66px) 64px;
  max-width: 1480px;
  margin: auto;
}
.page-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 27px;
}
.page-head p {
  margin-top: 9px;
  color: var(--muted);
  max-width: 69ch;
}
.page-head .overline {
  margin: 0 0 11px;
  color: var(--green);
}
.grid-main {
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(255px, 0.85fr);
  gap: 20px;
  align-items: start;
}
.grid-equal {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  align-items: start;
}
.full {
  grid-column: 1/-1;
}
.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(210px, 0.95fr);
  color: #f4f7ed;
  background-color: #20382e;
  border-color: #334c3d;
  position: relative;
  overflow: hidden;
  padding: 0;
  margin-bottom: 22px;
}
.hero-content {
  padding: clamp(24px, 3vw, 42px);
  display: grid;
  justify-items: start;
  align-content: center;
  gap: 14px;
}
.hero .overline {
  margin: 0;
  color: #cee79b;
}
.hero h2 {
  font-size: clamp(27px, 3vw, 45px);
  letter-spacing: -0.05em;
}
.hero p {
  color: #d2ddd0;
  max-width: 56ch;
  font-size: 14px;
}
.hero .blueprint {
  border: 0;
  border-radius: 0;
  background-color: #20382e;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-self: stretch;
  min-height: 180px;
}
.hero .bp-top {
  padding: 0 15%;
}
.hero .bp-flow {
  padding: 25px 12% 15px;
}
.hero .bp-node > span:last-child {
  font-size: 9px;
}
.hero .bp-sheet,
.hero .bp-window {
  width: 40px;
  height: 33px;
}
.hero .bp-db {
  width: 37px;
  height: 31px;
}
.hero .bp-window:after {
  font-size: 12px;
  top: 8px;
}
.hero .bp-db:after {
  top: 7px;
}
.hero .bp-edge {
  transform: translateY(-10px);
}
.metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--line);
  background: var(--panel);
  border-radius: 10px;
  margin-bottom: 25px;
}
.metric {
  padding: 17px 20px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}
.metric + .metric {
  border-left: 1px solid var(--line);
}
.metric b {
  font-size: 27px;
  letter-spacing: -0.08em;
  line-height: 1.13;
}
.metric span {
  color: var(--muted);
  font-size: 13px;
}
.list {
  display: grid;
}
.list > div + div,
.list > a + a,
.list > article + article {
  border-top: 1px solid var(--line);
}
.list-row {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 13px 0;
  min-width: 0;
}
a.list-row:hover .row-title {
  color: var(--green);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.list-row p {
  margin: 3px 0 0;
  font-size: 13px;
  color: var(--muted);
}
.row-content {
  min-width: 0;
  flex: 1;
}
.row-title {
  font-size: 15px;
  font-weight: 600;
  line-height: 1.35;
}
.row-meta {
  font: 11px var(--mono);
  color: var(--muted);
  white-space: nowrap;
}
.block-letter,
.step-num {
  width: 34px;
  height: 36px;
  display: inline-grid;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  background: var(--dim);
  color: var(--green);
  flex: none;
  font-weight: 600;
}
.block-letter {
  border: 1px solid var(--line);
}
.block-summary {
  display: flex;
  gap: 12px;
  align-items: center;
}
.block-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}
.block-head .block-letter {
  width: 40px;
  height: 42px;
}
.block-head .progress-meta {
  margin-left: auto;
}
.pill {
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--dim);
  color: var(--muted);
  padding: 3px 8px;
  font-size: 10px;
  line-height: 1.4;
  display: inline-block;
}
.pill.ok {
  color: var(--green);
}
.pill.warn {
  color: var(--bad);
}
.progressbar {
  width: 100%;
  height: 6px;
  border-radius: 8px;
  overflow: hidden;
  background: var(--dim);
  margin: 7px 0 0;
}
.progressbar progress {
  display: block;
  width: 100%;
  height: 6px;
  border: none;
  background: var(--dim);
  accent-color: var(--green);
  appearance: none;
}
progress::-webkit-progress-bar {
  background: var(--dim);
}
progress::-webkit-progress-value {
  background: var(--green);
  border-radius: 8px;
}
progress::-moz-progress-bar {
  background: var(--green);
}
.progress-meta {
  color: var(--muted);
  font: 12px var(--mono);
}
.route-tools {
  display: flex;
  gap: 10px;
  align-items: center;
  margin: 0 0 18px;
}
.route-tools select {
  width: auto;
}
.empty {
  padding: 17px 0;
  color: var(--muted);
  font-size: 14px;
}
.checkline {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
}
.steps,
.plain-list {
  padding-left: 22px;
  margin: 8px 0 0;
}
.steps li,
.plain-list li {
  margin: 5px 0;
}
.prose {
  line-height: 1.68;
}
.prose p,
.preserve {
  white-space: pre-line;
  overflow-wrap: anywhere;
}
pre.code-sample {
  background: var(--dim);
  border: 1px solid var(--line);
  border-radius: 7px;
  padding: 13px;
  font: 13px/1.55 var(--mono);
  overflow: auto;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.editor {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  background: #182c26;
  color: #e6eedf;
  border: 1px solid #344c42;
  border-radius: 9px;
  overflow: hidden;
}
.editor-bar {
  grid-column: 1/-1;
  background: #233b31;
  border-bottom: 1px solid #385245;
  padding: 7px 13px;
  font: 12px var(--mono);
  color: #c9d9c7;
  display: flex;
  align-items: center;
  gap: 9px;
}
.editor-bar:before {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #c3e780;
}
.gutter {
  background: #192e27;
  color: #97ac9d;
  text-align: right;
  padding: 12px 8px;
  font: 14px/22px var(--mono);
  overflow: hidden;
  user-select: none;
  max-height: 240px;
}
.editor-area {
  position: relative;
  min-width: 0;
  height: 240px;
}
.editor-area pre,
.editor-area textarea {
  position: absolute;
  inset: 0;
  margin: 0;
  padding: 12px 10px;
  border: 0;
  border-radius: 0;
  font: 14px/22px var(--mono);
  white-space: pre;
  tab-size: 4;
  letter-spacing: 0;
  overflow: auto;
  word-wrap: normal;
  overflow-wrap: normal;
  font-variant-ligatures: none;
}
.editor-area pre {
  color: #eff2e6;
  pointer-events: none;
  scrollbar-width: none;
}
.editor-area pre::-webkit-scrollbar {
  display: none;
}
.editor-area textarea {
  background: transparent;
  color: transparent;
  -webkit-text-fill-color: transparent;
  caret-color: white;
  resize: none;
}
.editor-area textarea::selection {
  background: #60898588;
}
.editor-area textarea:focus-visible {
  outline-offset: -2px;
}
.hl-key {
  color: #cef18a;
}
.hl-str {
  color: #f7c594;
}
.hl-num {
  color: #b4dafa;
}
.hl-comment {
  color: #a6b7a8;
  font-style: italic;
}
details {
  border-top: 1px solid var(--line);
  padding-top: 11px;
}
summary {
  cursor: pointer;
  color: var(--green);
  font-weight: 600;
}
details > p,
details > ul,
details > form {
  margin-top: 10px;
}
fieldset {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 15px;
  margin: 0;
  min-width: 0;
}
legend {
  font-weight: 600;
  padding: 0 5px;
}
.radio-choice {
  display: flex;
  gap: 9px;
  align-items: flex-start;
  margin: 7px 0;
}
.check-result {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 11px 0;
}
.check-result + .check-result {
  border-top: 1px solid var(--line);
}
.check-result svg {
  margin-top: 2px;
}
.ok-text {
  color: var(--green);
}
.bad-text {
  color: var(--bad);
}
.inline-note {
  background: var(--dim);
  border-left: 3px solid var(--green);
  border-radius: 4px;
  padding: 12px 14px;
  font-size: 14px;
}
.group-code,
.timer {
  font: 600 23px var(--mono);
  letter-spacing: 0.04em;
}
.timer {
  font-size: 16px;
  color: var(--green);
}
.exam-clock {
  display: flex;
  align-items: center;
  gap: 8px;
  font: 13px var(--mono);
}
.member-grid {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.member {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 4px 8px;
  background: var(--dim);
  border-radius: 5px;
  font-size: 13px;
}
.date-tag {
  font: 12px var(--mono);
  color: var(--muted);
}
.menu-close {
  display: none;
}
@media (max-width: 1120px) {
  .frame {
    grid-template-columns: 207px minmax(0, 1fr);
  }
  .sidebar {
    padding: 22px 12px 15px;
  }
  .hero {
    grid-template-columns: minmax(0, 1.45fr) minmax(190px, 0.75fr);
  }
  .main {
    padding-left: 24px;
    padding-right: 24px;
  }
  .topbar {
    padding-left: 24px;
    padding-right: 24px;
  }
}
@media (max-width: 920px) {
  .grid-main {
    grid-template-columns: minmax(0, 1fr);
  }
  .auth-layout {
    gap: 28px;
    grid-template-columns: minmax(0, 1.08fr) minmax(290px, 0.92fr);
  }
  .hero {
    grid-template-columns: minmax(0, 1fr);
  }
  .hero .blueprint {
    display: none;
  }
  .frame {
    grid-template-columns: 185px minmax(0, 1fr);
  }
  .sidebar .brand {
    font-size: 20px;
  }
  .nav-item {
    gap: 9px;
  }
  .metric {
    padding: 14px;
  }
  .grid-equal {
    gap: 12px;
  }
}
@media (max-width: 720px) {
  .auth {
    padding: 0 18px;
  }
  .auth-top {
    min-height: 66px;
  }
  .auth-code {
    display: none;
  }
  .auth-layout {
    grid-template-columns: 1fr;
    padding: 26px 0;
    gap: 22px;
  }
  .auth-intro h1 {
    font-size: clamp(39px, 9vw, 60px);
  }
  .auth-intro p {
    font-size: 15px;
    margin: 10px 0 16px;
  }
  .auth-intro .blueprint {
    display: none;
  }
  .auth-panel {
    padding: 22px;
  }
  .auth-foot {
    font-size: 10px;
    flex-wrap: wrap;
  }
  .frame {
    display: block;
  }
  .sidebar {
    position: fixed;
    z-index: 23;
    left: 0;
    top: 0;
    width: 240px;
    transform: translateX(-105%);
    visibility: hidden;
    transition: transform 0.18s ease;
  }
  body.menu-open .sidebar {
    visibility: visible;
    transform: translateX(0);
  }
  body.menu-open .scrim {
    position: fixed;
    background: #101c1699;
    inset: 0;
    z-index: 22;
  }
  .mobile-nav,
  .menu-close {
    display: inline-grid;
  }
  .menu-close {
    position: absolute;
    top: 24px;
    right: 8px;
    color: var(--nav-ink);
    border: 0;
    min-width: 30px;
    min-height: 30px;
  }
  .sidebar .brand {
    padding-right: 24px;
  }
  .topbar {
    height: 58px;
    padding: 0 16px;
  }
  .main {
    padding: 22px 16px 45px;
  }
  .grid-equal {
    grid-template-columns: 1fr;
  }
  .page-head {
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 18px;
  }
  .hero {
    margin-bottom: 14px;
  }
  .hero-content {
    padding: 22px;
  }
  .metrics {
    margin-bottom: 18px;
  }
  .metric {
    padding: 12px 9px;
  }
  .metric b {
    font-size: 22px;
  }
  .metric span {
    font-size: 11px;
  }
  .section-head {
    flex-wrap: wrap;
  }
  .row-meta {
    white-space: normal;
  }
  .list-row {
    gap: 9px;
  }
  .route-tools {
    flex-wrap: wrap;
  }
  .auth-top .brand {
    font-size: 22px;
  }
}
@media (max-width: 410px) {
  .auth-foot span:last-child {
    display: none;
  }
  .row-meta.optional {
    display: none;
  }
  .toolbar-end .exam-clock {
    font-size: 0;
    gap: 0;
  }
  .editor {
    grid-template-columns: 28px minmax(0, 1fr);
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *:before,
  *:after {
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
@media (forced-colors: active) {
  .editor-area pre {
    display: none;
  }
  .editor-area textarea {
    color: CanvasText;
    -webkit-text-fill-color: CanvasText;
    background: Canvas;
    caret-color: CanvasText;
  }
}
.scrim {
  display: none;
}
@media (max-width: 720px) {
  body.menu-open .scrim {
    display: block;
  }
}
[data-auth-fallback]:empty {
  display: none;
}
[data-auth-fallback]:not(:empty),
#device-link-result:not(:empty) {
  display: grid;
  gap: 10px;
  justify-items: start;
}
#device-link-result .field {
  width: 100%;
}
#transfer-url {
  font-family: var(--mono);
  font-size: 12px;
}
.auth-panel > .link {
  justify-self: start;
}
