:root {
  color-scheme: light;
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  color: #152018;
  background: #f3f5ef;
}

* { box-sizing: border-box; }
body { margin: 0; min-height: 100vh; }
.shell { width: min(1040px, calc(100% - 32px)); margin: 0 auto; padding: 32px 0 64px; }
.compact { padding-top: 12vh; }
header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 32px; }
.brand { color: #152018; font-size: 1.35rem; font-weight: 800; text-decoration: none; }
.card { background: #fff; border: 1px solid #dfe5da; border-radius: 18px; padding: clamp(24px, 5vw, 44px); box-shadow: 0 12px 40px rgb(32 53 37 / 8%); margin-bottom: 20px; }
.eyebrow { color: #55705a; font-size: .78rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
h1 { font-size: clamp(2rem, 7vw, 3.4rem); line-height: 1; margin: .35em 0; }
h2 { margin-top: 0; }
label { display: block; font-weight: 700; margin: 24px 0 8px; }
input, textarea { width: 100%; border: 1px solid #9eaa9c; border-radius: 10px; padding: 13px 14px; font: inherit; }
textarea { resize: vertical; }
button { border: 0; border-radius: 999px; background: #173d22; color: #fff; cursor: pointer; font: inherit; font-weight: 750; padding: 12px 20px; margin-top: 18px; }
.link-button { color: #173d22; background: transparent; margin: 0; padding: 8px; }
.secondary { color: #173d22; background: #e7eee5; }
.danger { background: #752f2f; }
.actions { display: flex; flex-wrap: wrap; gap: 10px; }
.actions button { margin-top: 12px; }
#portal-nav { display: flex; align-items: center; gap: 8px; }
#turnstile { margin-top: 18px; min-height: 65px; }
.status { min-height: 1.5em; }
.site { border-top: 1px solid #e6eae2; padding: 18px 0; }
.site h3, .site p { margin: 0 0 6px; }
.revision { border-top: 1px solid #e6eae2; padding: 18px 0; }
.revision h3, .revision p { margin: 0 0 7px; }
.status-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(140px,1fr)); gap: 12px; margin: 24px 0; }
.status-grid div { border: 1px solid #dfe5da; border-radius: 12px; padding: 14px; }
.status-grid span, .status-grid strong { display: block; }
.status-grid span { color: #55705a; font-size: .78rem; font-weight: 750; text-transform: uppercase; }
fieldset { border: 1px solid #dfe5da; border-radius: 14px; margin: 28px 0; padding: 18px; }
legend { font-weight: 800; padding: 0 8px; }
.back-button { margin-bottom: 12px; }
.support-card { padding-block: 24px; }
.support-card h2, .support-card p { margin: 0 0 8px; }
[hidden] { display: none !important; }
