:root {
  font-family:
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    "PingFang SC",
    "Hiragino Sans GB",
    "Microsoft YaHei",
    sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-synthesis: none;
  --ink: #16352c;
  --muted: #4f6058;
  --lime: #d5ef8b;
  --line: #d7dfd2;
  --forest: #102f26;
  --forest-2: #1a3d32;
  --paper: #f7f8f4;
  --card: #ffffff;
  --danger: #9b3228;
  --ok: #2f5c28;
  --ring: #6f8f3a;
  --shadow: 0 1px 2px rgba(16, 47, 38, 0.05);
}
* {
  box-sizing: border-box;
}
html {
  scroll-padding-top: 72px;
}
body {
  margin: 0;
  -webkit-font-smoothing: antialiased;
}
::selection {
  background: var(--lime);
  color: var(--forest);
}
a {
  color: inherit;
  text-decoration: none;
}
button,
input,
textarea {
  font: inherit;
}
button,
a,
input,
textarea {
  -webkit-tap-highlight-color: transparent;
}
button {
  cursor: pointer;
}
button:disabled {
  opacity: 0.6;
  cursor: wait;
}
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--ring);
  outline-offset: 2px;
}
h1,
h2,
h3,
p,
dl,
ul,
ol {
  margin-top: 0;
}
h1,
h2,
h3 {
  letter-spacing: -0.02em;
  font-weight: 560;
  color: var(--ink);
  text-wrap: balance;
}
p {
  color: var(--muted);
  line-height: 1.55;
}
h2 {
  font-size: 22px;
  line-height: 1.25;
}
h3 {
  font-size: 15px;
}
code,
pre {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 12.5px;
}
code {
  overflow-wrap: anywhere;
}
label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
}
input,
textarea {
  border: 1px solid #c9d3c6;
  border-radius: 6px;
  background: var(--card);
  padding: 10px 12px;
  color: var(--ink);
  width: 100%;
  min-width: 0;
  transition:
    border-color 0.12s,
    box-shadow 0.12s;
}
input:hover,
textarea:hover {
  border-color: #9eaf9f;
}
input:focus,
textarea:focus {
  border-color: #4e6f56;
  box-shadow: 0 0 0 2px var(--ring);
  outline: none;
}
input:focus-visible,
textarea:focus-visible {
  outline: none;
}
input::placeholder {
  color: #7f8b82;
  font-weight: 400;
}
textarea {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 12px;
  line-height: 1.65;
  resize: vertical;
}
input[readonly] {
  background: #f3f5ef;
  color: #526158;
}
form label + label {
  margin-top: 16px;
}
.brand {
  display: flex;
  align-items: center;
  font-weight: 650;
  font-size: 20px;
  letter-spacing: -0.03em;
  gap: 8px;
  white-space: nowrap;
  color: var(--ink);
}
.brand-icon {
  background: var(--forest);
  color: var(--lime);
  border-radius: 6px;
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-family: Georgia, "Times New Roman", serif;
  letter-spacing: -0.06em;
  flex-shrink: 0;
  padding-right: 2px;
  line-height: 1;
}
.brand-icon span {
  color: #fff;
}
.brand-caption {
  font-size: 11px;
  letter-spacing: 0.01em;
  font-weight: 500;
  margin-left: 8px;
  color: var(--muted);
  max-width: 120px;
  white-space: normal;
  line-height: 1.3;
}
.button,
button.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 14px;
  border: 1px solid var(--forest);
  border-radius: 6px;
  background: var(--forest);
  color: #fff;
  font-size: 13px;
  font-weight: 550;
  line-height: 1.3;
  white-space: nowrap;
  min-height: 40px;
  box-shadow: none;
  transition:
    background 0.12s,
    border-color 0.12s,
    color 0.12s;
}
.button:hover {
  background: var(--forest-2);
  border-color: var(--forest-2);
}
.button:active {
  background: #0c241d;
}
.small {
  padding: 7px 12px;
  font-size: 12px;
  min-height: 34px;
}
.secondary {
  border: 1px solid #c5cebe;
  border-radius: 6px;
  background: var(--card);
  color: var(--ink);
  font-weight: 500;
  min-height: 34px;
  padding: 7px 12px;
  font-size: 12px;
}
.secondary:hover {
  background: #eef2e8;
}
.text-link {
  font-size: 13px;
  font-weight: 550;
  color: var(--ink);
  border-bottom: 1px solid #b7c4b3;
  padding: 2px 0;
}
.text-link:hover,
.back-link:hover {
  color: var(--forest);
  border-color: var(--forest);
}
.actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.fine {
  font-size: 12px;
  line-height: 1.5;
  color: var(--muted);
}
.kicker {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 12px;
}
.live-dot {
  height: 6px;
  width: 6px;
  background: #6a9240;
  border-radius: 50%;
  display: inline-block;
  flex-shrink: 0;
}
.landing {
  max-width: 1120px;
  margin: auto;
}
.topbar {
  height: 64px;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
  background: var(--paper);
  position: sticky;
  top: 0;
  z-index: 5;
}
.topbar nav {
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 13px;
}
.topbar .nav-text {
  color: var(--muted);
}
.topbar .nav-text:hover {
  color: var(--ink);
}
.hero {
  padding: 56px 24px 48px;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.95fr);
  gap: 40px;
  align-items: start;
}
.hero h1 {
  font-size: clamp(28px, 3.6vw, 40px);
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin: 0 0 14px;
  font-weight: 560;
}
.hero-copy {
  font-size: 15px;
  max-width: 460px;
  margin-bottom: 22px;
  line-height: 1.55;
}
.hero .fine {
  margin: 16px 0 0;
}
.hero-copy code,
.feature-grid code,
.start-section code,
.auth-lede code {
  background: #e8eee2;
  border: 1px solid #d5ddd0;
  border-radius: 4px;
  padding: 1px 5px;
  font-size: 12px;
  color: var(--ink);
}
.hero-panel {
  background: var(--forest);
  color: #e7eee4;
  border: 1px solid #2a4a3d;
  border-radius: 8px;
  overflow: hidden;
  min-width: 0;
}
.panel-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 14px;
  border-bottom: 1px solid #2a4a3d;
  font-size: 12px;
  color: #b7c8ba;
}
.panel-code {
  margin: 0;
  padding: 16px 14px;
  font-size: 12.5px;
  line-height: 1.65;
  color: var(--lime);
  background: #0c241d;
  overflow-x: auto;
  white-space: pre;
}
.panel-facts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  margin: 0;
  border-top: 1px solid #2a4a3d;
}
.panel-facts > div {
  padding: 12px 14px;
  border-right: 1px solid #2a4a3d;
  border-bottom: 1px solid #2a4a3d;
  min-width: 0;
}
.panel-facts > div:nth-child(2n) {
  border-right: 0;
}
.panel-facts dt {
  font-size: 11px;
  color: #9bb0a0;
  margin-bottom: 4px;
}
.panel-facts dd {
  margin: 0;
  font-size: 12.5px;
  color: #eef4ea;
}
.panel-facts code {
  color: var(--lime);
  font-size: 12px;
}
.spec-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.spec-strip > div {
  padding: 18px 20px;
  border-right: 1px solid var(--line);
  min-width: 0;
}
.spec-strip > div:last-child {
  border-right: 0;
}
.spec-strip code {
  display: block;
  font-size: 12.5px;
  color: var(--ink);
  margin-bottom: 6px;
}
.spec-strip span {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.45;
}
.feature-section {
  padding: 48px 24px;
}
.section-heading {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: end;
  margin-bottom: 20px;
}
.section-heading h2 {
  margin: 0;
  font-size: 22px;
}
.section-heading p {
  margin: 0;
  max-width: 360px;
  font-size: 13px;
  text-align: right;
}
.feature-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.feature-grid article {
  padding: 20px 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--card);
}
.feature-grid h3 {
  margin-bottom: 8px;
  font-size: 15px;
}
.feature-grid p {
  font-size: 13px;
  margin-bottom: 0;
  line-height: 1.5;
}
.feature-grid a {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.start-section {
  margin: 0 24px 32px;
  padding: 28px;
  background: #eef2e6;
  border: 1px solid #dbe3d1;
  border-radius: 8px;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 32px;
}
.start-section h2 {
  font-size: 22px;
  margin-bottom: 8px;
}
.start-section > div > p {
  font-size: 13px;
  margin-bottom: 18px;
}
.start-section ol {
  padding: 0;
  margin: 0;
  list-style: decimal;
  padding-left: 1.2em;
}
.start-section li {
  padding: 10px 0;
  border-bottom: 1px solid #d5decb;
}
.start-section li:last-child {
  border: 0;
  padding-bottom: 0;
}
.start-section h3 {
  font-size: 14px;
  margin-bottom: 4px;
}
.start-section p {
  font-size: 13px;
  margin: 0;
}
.start-section a:not(.button) {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.preview-note {
  font-size: 12px;
  line-height: 1.5;
  color: var(--muted);
  padding: 0 24px 28px;
  margin: 0;
}
footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  border-top: 1px solid var(--line);
  gap: 20px;
}
footer .brand {
  font-size: 16px;
}
footer .brand-icon {
  height: 24px;
  width: 24px;
  font-size: 16px;
  border-radius: 5px;
}
footer .brand-caption {
  display: none;
}
footer > span,
footer > a,
footer .footer-links a {
  font-size: 12px;
  color: var(--muted);
}
footer .footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
}
footer .footer-links a:hover {
  color: var(--ink);
}
.auth-layout {
  display: grid;
  grid-template-columns: minmax(240px, 32%) minmax(0, 1fr);
  min-height: 100vh;
  background: var(--paper);
}
.auth-aside {
  background: var(--forest);
  color: #e7eee4;
  padding: 28px 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.auth-aside .brand {
  color: #f4f7ef;
}
.auth-aside .brand-icon {
  background: #1c4236;
  border: 1px solid #2d5648;
}
.auth-aside .brand-caption {
  color: #b7c8ba;
}
.auth-lede {
  font-size: 14px;
  color: #c5d3c6;
  line-height: 1.5;
  margin: 8px 0 0;
  max-width: 280px;
}
.auth-lede code {
  background: #1c4236;
  border-color: #2d5648;
  color: var(--lime);
}
.auth-facts {
  list-style: none;
  padding: 0;
  margin: auto 0 0;
  font-size: 13px;
  color: #c5d3c6;
  border-top: 1px solid #2a4a3d;
}
.auth-facts li {
  padding: 10px 0;
  border-bottom: 1px solid #2a4a3d;
}
.auth-host {
  margin: 0;
  font-size: 12px;
  color: #9bb0a0;
}
.auth-main {
  padding: 28px 8% 32px;
  display: flex;
  flex-direction: column;
}
.back-link {
  font-size: 13px;
  color: var(--muted);
  width: fit-content;
}
.auth-card {
  margin: auto;
  padding: 24px 0;
  max-width: 400px;
  width: 100%;
}
.auth-card h1 {
  font-size: 24px;
  margin: 10px 0 8px;
  letter-spacing: -0.025em;
}
.auth-card > p {
  font-size: 13px;
  margin-bottom: 0;
}
.auth-card form {
  margin-top: 24px;
}
.full {
  width: 100%;
}
.error {
  font-size: 13px;
  color: var(--danger);
  min-height: 0;
  margin: 12px 0;
  white-space: pre-line;
}
.error:empty {
  display: none;
}
.error:not(:empty) {
  border: 1px solid #e8cfc8;
  background: #fff5f0;
  padding: 10px 12px;
  border-radius: 6px;
  line-height: 1.5;
}
.auth-card .button {
  margin-top: 8px;
}
.auth-switch {
  margin-top: 20px;
  font-size: 13px;
}
.auth-switch a {
  text-decoration: underline;
  text-underline-offset: 2px;
  color: var(--ink);
  font-weight: 600;
}
.console-layout {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  min-height: 100vh;
}
.sidebar {
  padding: 20px 14px 16px;
  background: var(--forest);
  color: #eef4e8;
  display: flex;
  flex-direction: column;
  position: sticky;
  top: 0;
  height: 100vh;
  border-right: 1px solid var(--forest);
}
.sidebar .brand {
  color: #f4f7ef;
  padding-left: 8px;
  font-size: 18px;
}
.sidebar .brand-icon {
  background: #1c4236;
  border: 1px solid #2d5648;
  width: 26px;
  height: 26px;
  font-size: 16px;
}
.sidebar .brand-caption {
  display: none;
}
.account-label {
  font-size: 11px;
  color: #9bb0a0;
  margin: 28px 10px 8px;
}
.side-nav {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.side-nav a {
  padding: 8px 10px;
  border-radius: 6px;
  font-size: 13px;
  color: #b7c9bc;
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid transparent;
}
.side-nav a > span {
  display: flex;
  align-items: center;
  width: 18px;
}
.side-nav a:hover {
  background: #ffffff0c;
  color: #fff;
}
.side-nav a.active {
  background: #1c4236;
  color: #f4f7ef;
  box-shadow: inset 3px 0 0 var(--lime);
  border-radius: 6px;
  font-weight: 550;
}
.ui-icon {
  width: 16px;
  height: 16px;
  display: inline-block;
  flex-shrink: 0;
  vertical-align: middle;
}
.sidebar-bottom {
  margin-top: auto;
  padding: 16px 8px 0;
}
.starter-note {
  border: 1px solid #2a4a3d;
  border-radius: 6px;
  padding: 12px;
  margin-bottom: 14px;
  background: #16362c;
}
.starter-note strong {
  font-size: 12px;
  color: #f4f7ef;
}
.starter-note p {
  font-size: 11px;
  margin: 6px 0 0;
  color: #aec2b1;
}
.sidebar-bottom > a {
  font-size: 12px;
  color: #aec2b1;
}
.sidebar-bottom > a:hover {
  color: #f4f7ef;
}
.account-chip {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid #2a4a3d;
}
.avatar {
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  background: #ffffff10;
  border: 1px solid #ffffff20;
  color: var(--lime);
  width: 28px;
  height: 28px;
  font-size: 12px;
  flex-shrink: 0;
}
.account-chip > div {
  min-width: 0;
}
.account-chip strong {
  font-size: 11px;
  font-weight: 600;
  display: block;
  color: #f4f7ef;
}
.account-chip small {
  white-space: nowrap;
  display: block;
  font-size: 11px;
  color: #aec2b1;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-top: 2px;
}
.logout {
  border: 0;
  background: none;
  color: #aec2b1;
  font-size: 12px;
  padding: 12px 0 0;
  min-height: 40px;
}
.logout:hover {
  color: #f4f7ef;
}
.console-main {
  min-width: 0;
  display: flex;
  flex-direction: column;
  background: var(--paper);
}
.console-header {
  height: 52px;
  border-bottom: 1px solid var(--line);
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  color: var(--muted);
  background: var(--paper);
}
.tag {
  display: inline-flex;
  gap: 6px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: #f3f6ee;
  padding: 2px 7px;
  font-size: 11px;
  color: #4e6148;
  white-space: nowrap;
}
.console-header .tag {
  font-size: 11px;
  letter-spacing: 0;
  text-transform: none;
}
.console-main main {
  padding: 24px 24px 48px;
  max-width: 1080px;
  width: 100%;
  margin: 0 auto;
  flex: 1;
}
.page-intro {
  margin-bottom: 20px;
}
.page-intro h1 {
  font-size: 22px;
  margin-bottom: 6px;
  line-height: 1.25;
  letter-spacing: -0.025em;
}
.page-intro p {
  font-size: 13px;
  margin-bottom: 0;
}
.page-intro code {
  background: #e8eee2;
  border: 1px solid #d5ddd0;
  border-radius: 4px;
  padding: 1px 5px;
  font-size: 12px;
}
.stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 16px;
}
.stat {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 14px 16px;
  background: var(--card);
  min-width: 0;
}
.stat > span {
  font-size: 12px;
  color: var(--muted);
}
.stat strong {
  display: block;
  font-weight: 560;
  font-size: 24px;
  letter-spacing: -0.03em;
  margin: 6px 0 4px;
  font-variant-numeric: tabular-nums;
  color: var(--ink);
}
.stat small {
  font-size: 11px;
  color: var(--muted);
}
.balance-stat {
  background: var(--forest);
  border-color: #2a4a3d;
  color: #f1f6e7;
}
.balance-stat > span,
.balance-stat small {
  color: #c2d3b6;
}
.balance-stat strong {
  color: var(--lime);
}
.onboarding {
  border: 1px solid var(--line);
  background: var(--card);
  border-radius: 8px;
  padding: 14px 16px;
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
}
.onboarding h2 {
  font-size: 14px;
  margin-bottom: 2px;
}
.onboarding p {
  font-size: 12px;
  margin: 0;
}
.onboarding .button {
  margin-left: auto;
}
.card {
  padding: 18px 18px 16px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 8px;
  margin-bottom: 16px;
  box-shadow: var(--shadow);
}
.card h2 {
  font-size: 15px;
  margin-bottom: 6px;
  letter-spacing: -0.015em;
}
.card p {
  font-size: 13px;
}
.card-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}
.card-heading h2 {
  margin-bottom: 4px;
}
.card-heading p {
  margin-bottom: 0;
}
.setup textarea {
  margin-top: 6px;
  background: #f7f9f3;
  border-color: #d7dfd0;
  color: #3d4f42;
}
.setup .actions {
  margin-top: 12px;
  gap: 8px;
}
.setup pre {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  background: var(--forest);
  color: #d9e5cb;
  border: 1px solid #2a4a3d;
  border-radius: 6px;
  padding: 14px;
  margin: 14px 0 10px;
  font-size: 12px;
  line-height: 1.6;
}
.setup > .fine {
  margin-bottom: 0;
}
.setup .fine a {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.empty {
  text-align: left;
  padding: 16px 4px;
}
.empty > span {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  margin: 0 0 10px;
  background: #eef2e6;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: #4e6148;
}
.empty h3 {
  font-size: 14px;
  margin-bottom: 4px;
}
.empty p {
  font-size: 13px;
  margin: 0;
}
.table-wrap {
  position: relative;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
  font-variant-numeric: tabular-nums;
}
th {
  text-align: left;
  font-size: 11px;
  font-weight: 550;
  color: var(--muted);
  padding: 8px 10px;
  border-bottom: 1px solid var(--line);
  background: #f4f7f0;
  white-space: nowrap;
}
td {
  padding: 9px 10px;
  border-bottom: 1px solid #edf0e7;
  color: #4f6058;
  vertical-align: middle;
}
td:first-child {
  color: var(--ink);
}
td strong {
  font-size: 13px;
  font-weight: 550;
}
tr:last-child td {
  border-bottom: 0;
}
tbody tr:hover {
  background: #f7faf3;
}
.key-prefix {
  display: block;
  margin-top: 3px;
  font-size: 12px;
  color: var(--muted);
}
.revoke {
  border: 1px solid #e4d0c8;
  border-radius: 5px;
  background: #fff;
  color: var(--danger);
  font-size: 12px;
  padding: 5px 10px;
  min-height: 32px;
}
.revoke:hover {
  background: #fff2ed;
  border-color: #cd998a;
}
.active-tag {
  background: #eef5e4;
  color: var(--ok);
  border-color: #dbe8ca;
}
.key-form {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  align-items: end;
  border-bottom: 1px solid var(--line);
  padding-bottom: 16px;
  margin-bottom: 8px;
}
.key-form label {
  max-width: 360px;
}
.key-form .error {
  grid-column: 1 / -1;
  margin: 0;
}
.key-result {
  padding: 16px;
  border: 1px solid #c5d6a0;
  border-left: 3px solid #6a8c3c;
  border-radius: 6px;
  background: #f4f8ea;
  margin: 14px 0;
}
.key-result .kicker {
  margin-bottom: 4px;
  color: #4e6148;
}
.key-result h3 {
  font-size: 16px;
  margin: 0 0 6px;
}
.key-result p {
  font-size: 13px;
}
.key-result code {
  display: block;
  background: #fff;
  border: 1px solid #d7e3c6;
  border-radius: 5px;
  padding: 12px;
  overflow-wrap: anywhere;
  font-size: 13px;
  margin: 10px 0;
  user-select: all;
  color: #24422e;
  line-height: 1.5;
}
.key-result .actions {
  gap: 8px;
}
.key-result:focus {
  outline: 2px solid #6a8c3c;
  outline-offset: 3px;
}
.settings-card {
  max-width: 640px;
}
.settings-card > label {
  margin: 16px 0;
}
.settings-card form {
  margin-top: 16px;
  max-width: 420px;
}
.settings-card button[type="submit"] {
  margin-top: 16px;
}
.detail-row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  font-size: 13px;
  padding: 12px 0;
  border-top: 1px solid var(--line);
}
.detail-row span {
  color: var(--muted);
  flex-shrink: 0;
}
.detail-row code {
  font-size: 12px;
  text-align: right;
}
.settings-card .fine {
  font-size: 12px;
}
.info-note {
  border: 1px solid var(--line);
  border-left: 3px solid #6a8c3c;
  background: #f3f6ee;
  border-radius: 6px;
  padding: 12px 14px;
  font-size: 13px;
  line-height: 1.5;
  color: #3f5344;
  margin-bottom: 16px;
}
.console-footer {
  padding: 14px 24px;
  border-top: 1px solid var(--line);
}
.console-footer span {
  font-size: 12px;
  color: var(--muted);
}
.loading {
  text-align: left;
  margin: 24px 0;
  font-size: 13px;
  color: var(--muted);
}
#root > .loading,
#admin-root > .loading {
  text-align: center;
  margin: 48px 20px;
}
#notice:not(:empty) {
  position: fixed;
  bottom: max(20px, env(safe-area-inset-bottom));
  left: 50%;
  transform: translateX(-50%);
  max-width: calc(100% - 32px);
  width: max-content;
  background: var(--forest);
  color: #eff6e5;
  border: 1px solid #4d6b3e;
  padding: 10px 14px;
  border-radius: 6px;
  box-shadow: 0 8px 24px rgba(16, 47, 38, 0.2);
  font-size: 13px;
  z-index: 10;
  line-height: 1.45;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}
[hidden] {
  display: none !important;
}
.skip-link {
  position: fixed;
  top: -80px;
  left: 12px;
  z-index: 20;
  background: var(--lime);
  color: var(--forest);
  padding: 8px 12px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 600;
}
.skip-link:focus {
  top: 12px;
}

@media (max-width: 1100px) {
  .brand-caption {
    display: none;
  }
  .hero {
    gap: 28px;
  }
  .section-heading {
    flex-direction: column;
    align-items: start;
  }
  .section-heading p {
    text-align: left;
  }
  .console-layout {
    grid-template-columns: 200px minmax(0, 1fr);
  }
}
@media (max-width: 860px) {
  .hero {
    grid-template-columns: 1fr;
    padding: 36px 20px 28px;
  }
  .spec-strip {
    grid-template-columns: 1fr 1fr;
  }
  .spec-strip > div:nth-child(2n) {
    border-right: 0;
  }
  .spec-strip > div:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }
  .feature-grid {
    grid-template-columns: 1fr;
  }
  .start-section {
    grid-template-columns: 1fr;
    margin: 0 20px 24px;
    padding: 20px;
  }
  .auth-layout {
    grid-template-columns: 1fr;
  }
  .auth-aside {
    padding: 18px 20px;
    gap: 0;
  }
  .auth-lede,
  .auth-facts,
  .auth-host {
    display: none;
  }
  .auth-main {
    min-height: calc(100vh - 72px);
    padding: 20px 20px 32px;
  }
}
@media (max-width: 760px) {
  .topbar {
    height: 56px;
    padding: 0 16px;
  }
  .topbar nav {
    gap: 12px;
  }
  .topbar .nav-text:first-child {
    display: none;
  }
  .hero h1 {
    font-size: 28px;
  }
  .feature-section,
  .preview-note {
    padding-left: 16px;
    padding-right: 16px;
  }
  .start-section {
    margin-left: 16px;
    margin-right: 16px;
  }
  footer {
    flex-wrap: wrap;
    padding: 16px;
  }
  footer > span {
    display: none;
  }
  .console-layout {
    display: flex;
    flex-direction: column;
  }
  .sidebar {
    position: static;
    height: auto;
    border-right: 0;
    border-bottom: 1px solid #294738;
    padding: 14px 16px 10px;
  }
  .sidebar .brand {
    padding: 0;
  }
  .account-label,
  .starter-note,
  .account-chip,
  .sidebar-bottom > a {
    display: none;
  }
  .side-nav {
    flex-direction: row;
    margin-top: 12px;
    gap: 4px;
    justify-content: space-between;
  }
  .side-nav a {
    padding: 8px 6px;
    font-size: 11px;
    gap: 5px;
    min-height: 44px;
    flex: 1;
    justify-content: center;
  }
  .side-nav a.active {
    box-shadow: inset 0 -3px 0 var(--lime);
  }
  .sidebar-bottom {
    padding: 0;
    position: absolute;
    right: 16px;
    top: 12px;
  }
  .logout {
    padding: 8px 0;
    min-height: 44px;
  }
  .console-header {
    height: 48px;
    padding: 0 16px;
  }
  .console-main main {
    padding: 18px 16px 36px;
  }
  .stats {
    grid-template-columns: 1fr 1fr;
  }
  .stat:first-child {
    grid-column: 1 / -1;
  }
  .onboarding {
    flex-wrap: wrap;
  }
  .onboarding .button {
    margin-left: 0;
  }
  .key-form {
    grid-template-columns: 1fr;
  }
  .key-form label {
    max-width: none;
  }
  .key-form button {
    justify-self: start;
  }
  .console-footer span:last-child {
    display: none;
  }
  .table-wrap table {
    white-space: normal;
  }
  .table-wrap thead {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
  }
  .table-wrap tr {
    display: block;
    padding: 10px 0;
    border-bottom: 1px solid var(--line);
  }
  .table-wrap td {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 16px;
    padding: 5px 0;
    border: 0;
    white-space: normal;
  }
  .table-wrap td::before {
    content: attr(data-label);
    color: var(--muted);
    font-size: 11px;
    flex-shrink: 0;
  }
  .table-wrap td:first-child {
    display: block;
  }
  .table-wrap td:first-child::before {
    display: none;
  }
  input,
  .auth-card input {
    font-size: 16px;
  }
  .key-result .actions {
    align-items: stretch;
    flex-direction: column;
  }
  .key-result .actions button,
  .setup .actions button {
    min-height: 44px;
  }
}
@media (max-width: 520px) {
  .spec-strip {
    grid-template-columns: 1fr;
  }
  .spec-strip > div {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
  .spec-strip > div:last-child {
    border-bottom: 0;
  }
  .panel-facts {
    grid-template-columns: 1fr;
  }
  .panel-facts > div {
    border-right: 0;
  }
}
@media (max-width: 380px) {
  .topbar nav {
    gap: 8px;
  }
  .topbar .brand {
    font-size: 17px;
  }
  .side-nav a {
    font-size: 10px;
    padding: 8px 4px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    transition: none !important;
    animation: none !important;
  }
}
@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}
