:root {
  color-scheme: light;
  --ink: #192720;
  --muted: #4e6156;
  --green: #214d3a;
  --pale: #e8f3e8;
  --paper: #f6f7f2;
  --line: #d3ded4;
  font-family: system-ui, sans-serif;
  line-height: 1.55;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--paper); color: var(--ink); }
a { color: var(--green); text-underline-offset: .18em; }
h1, h2, h3, p { margin: 0 0 .65rem; }
h1 { font-size: clamp(2rem, 5vw, 3.5rem); line-height: 1.08; letter-spacing: -.04em; }
h2 { font-size: 1.45rem; line-height: 1.25; }
h3 { font-size: 1.22rem; line-height: 1.3; }
input, button { font: inherit; }
label { font-weight: 650; display: block; }
input:not([type=hidden]) { border: 1px solid #8caa97; padding: .58rem .72rem; border-radius: .45rem; color: var(--ink); background: white; min-width: 0; width: 100%; }
button, .button { display: inline-block; padding: .6rem .9rem; border: 1px solid var(--green); border-radius: .45rem; background: var(--green); color: white; text-decoration: none; cursor: pointer; font-weight: 650; }
:focus-visible { outline: 3px solid #87612b; outline-offset: 3px; }
.outline { color: var(--green); background: white; }
.quiet { background: transparent; color: var(--green); border: 0; padding: 0; text-decoration: underline; font-weight: 400; }
.wrap { width: min(1100px, calc(100% - 2rem)); margin-inline: auto; }
.top { background: white; border-bottom: 1px solid var(--line); }
.top-inner, .section-head, .foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .8rem 1rem; }
.top-inner { min-height: 4rem; padding-block: .65rem; }
.brand { text-decoration: none; font-weight: 750; }
.brand span { background: var(--green); color: white; border-radius: .35rem; padding: .2rem .4rem; }
nav, .inline { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem 1rem; }
.inline input { flex: 1 1 11rem; }
.hero { background: var(--green); color: white; margin: 1.8rem 0; border-radius: 1rem; padding: clamp(1.4rem, 5vw, 3.5rem); }
.hero p:last-child { color: #dbe9df; max-width: 36rem; }
.tag { font-size: .76rem; letter-spacing: .1em; font-weight: 750; }
.section, .page-head { margin-block: 1.7rem; }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: 1rem; }
.card, .empty { border: 1px solid var(--line); border-radius: .8rem; background: white; padding: 1.25rem; }
.card p, .empty p, .hint { color: var(--muted); }
.plan { margin-top: 1rem; padding-top: .8rem; border-top: 1px solid var(--line); }
.badge { display: inline-block; padding: .14rem .55rem; border-radius: 1rem; background: var(--pale); color: var(--green); font-size: .87rem; }
.badge.expired, .badge.suspended { background: #faedda; color: #65420d; }
.narrow { max-width: 33rem; margin: 2rem auto; }
.narrow h1 { font-size: 2rem; }
.flow { display: grid; gap: .55rem; justify-items: start; }
.flow p, .flow .inline { width: 100%; }
.key { font-family: ui-monospace, monospace; margin-block: .5rem; }
.hint, .helptext { font-size: .88rem; }
.notices p { padding: .65rem .8rem; border-radius: .35rem; margin-top: .8rem; background: var(--pale); }
.notices .error, .errorlist { color: #7e2517; }
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; background: white; }
th, td { border-bottom: 1px solid var(--line); text-align: left; padding: .65rem; }
.foot { border-top: 1px solid var(--line); padding: 1rem 0; margin-top: 2rem; color: var(--muted); }
