:root {
  color-scheme: light;
  --paper: #f2f0e9;
  --ink: #1b2826;
  --muted: #64716c;
  --line: #c8cec5;
  --green: #24574e;
  --lime: #d3ec82;
  --coral: #e6684d;
  --white: #fffefa;
  font-family: "Avenir Next", Avenir, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

* { box-sizing: border-box; }
body { margin: 0; min-width: 320px; min-height: 100vh; display: flex; flex-direction: column; background: radial-gradient(ellipse at 87% 14%, rgba(211, 236, 130, .25), transparent 28rem), var(--paper); }
a { color: inherit; }
button, input, select, textarea { font: inherit; }
button, a, input, select, textarea { -webkit-tap-highlight-color: transparent; }
.topbar { height: 76px; padding: 0 clamp(22px, 6vw, 88px); border-bottom: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; }
.wordmark { text-decoration: none; font-size: 27px; font-weight: 850; letter-spacing: 0; }
.wordmark span, .page-heading h1 span { color: var(--coral); }
.account-nav { display: flex; align-items: center; gap: 25px; color: var(--muted); font-size: 13px; }
.account-nav a { text-decoration: none; }
.account-nav form { margin: 0; }
.account-name { color: var(--ink); font-weight: 650; }
.text-button { padding: 4px 0; background: none; color: inherit; border: 0; cursor: pointer; font-size: 13px; text-decoration: underline; text-underline-offset: 3px; }
.page-shell { width: min(1120px, calc(100% - 44px)); margin: 0 auto; flex: 1; }
.site-footer { min-height: 60px; padding: 15px clamp(22px, 6vw, 88px); border-top: 1px solid var(--line); color: var(--muted); display: flex; justify-content: space-between; font-size: 11px; text-transform: uppercase; letter-spacing: .08em; }
.login-layout { min-height: min(710px, calc(100vh - 137px)); display: grid; grid-template-columns: 1.2fr .8fr; align-items: center; gap: clamp(35px, 9vw, 140px); padding: 50px 5%; }
.intro-copy { max-width: 570px; animation: rise-in .55s ease-out both; }
.eyebrow, .section-index { margin: 0 0 22px; color: var(--green); font-size: 11px; font-weight: 750; letter-spacing: .13em; text-transform: uppercase; }
.intro-copy h1, .page-heading h1 { margin: 0; font-family: Georgia, "Times New Roman", serif; font-size: clamp(53px, 6vw, 79px); line-height: .98; font-weight: 500; letter-spacing: 0; }
.intro-copy h1 em { color: var(--green); font-weight: 400; }
.lede { max-width: 410px; margin: 24px 0 0; color: var(--muted); line-height: 1.7; font-size: 15px; }
.accent-rule { display: flex; gap: 7px; margin-top: 44px; }
.accent-rule span { width: 38px; height: 5px; background: var(--green); }
.accent-rule span:nth-child(2) { background: var(--lime); }
.accent-rule span:nth-child(3) { background: var(--coral); }
.form-panel { padding: 35px; border: 1px solid var(--line); background: rgba(255, 254, 250, .72); animation: rise-in .55s .1s ease-out both; }
.form-panel h2, .section-title h2 { margin: 0 0 24px; font-family: Georgia, "Times New Roman", serif; font-weight: 500; font-size: 29px; }
.section-index { margin-bottom: 13px; }
.stack-form { display: grid; gap: 10px; }
.stack-form label, .field-block > label, .create-user-form > label { margin-top: 9px; font-size: 12px; font-weight: 700; }
.stack-form input, .field-block input, .field-block textarea, .create-user-form input, .create-user-form select, .inline-update select, .password-reset { width: 100%; min-height: 44px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 2px; background: var(--white); color: var(--ink); outline: none; }
input:focus, textarea:focus, select:focus { border-color: var(--green); box-shadow: 0 0 0 2px rgba(36, 87, 78, .13); }
.button { min-height: 48px; display: inline-flex; gap: 30px; align-items: center; justify-content: space-between; padding: 0 16px; border: 1px solid transparent; text-decoration: none; font-size: 13px; font-weight: 700; cursor: pointer; }
.stack-form .button { margin-top: 14px; }
.button span { font-size: 17px; }
.button-dark { background: var(--ink); color: var(--white); }
.button-dark:hover { background: var(--green); }
.button-outline { width: 100%; border-color: var(--line); background: transparent; }
.divider { height: 35px; display: flex; align-items: center; gap: 12px; color: var(--muted); font-size: 11px; }
.divider::before, .divider::after { height: 1px; flex: 1; content: ""; background: var(--line); }
.notices { padding-top: 18px; }
.notice { margin: 0 0 8px; padding: 11px 14px; border-left: 3px solid var(--green); background: var(--white); font-size: 13px; }
.notice-error { border-color: var(--coral); }
.request-page, .admin-page { padding: 64px 4% 76px; }
.page-heading { padding-bottom: 34px; border-bottom: 1px solid var(--line); }
.page-heading .eyebrow { margin-bottom: 15px; }
.page-heading h1 { font-size: clamp(43px, 5vw, 65px); }
.page-heading .lede { margin-top: 13px; }
.request-form { max-width: 850px; padding-top: 18px; }
.form-row { padding: 24px 0; border-bottom: 1px solid var(--line); }
.type-field { margin: 0; padding: 0; border: 0; }
.type-field legend, .field-block > label { display: block; margin-bottom: 14px; font-size: 12px; font-weight: 700; }
.type-options { display: flex; flex-wrap: wrap; gap: 8px; }
.type-option input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.type-option span { min-height: 42px; display: inline-flex; align-items: center; padding: 0 16px; border: 1px solid var(--line); background: var(--white); cursor: pointer; font-size: 13px; }
.type-option input:checked + span { border-color: var(--green); background: var(--green); color: white; }
.type-option input:focus-visible + span { outline: 2px solid var(--coral); outline-offset: 2px; }
.title-year-row { display: grid; grid-template-columns: 1fr 130px; gap: 20px; }
.field-block > label span { color: var(--muted); font-weight: 450; }
.field-block input { min-height: 50px; }
.suggestion-box { margin-top: 17px; border-left: 3px solid var(--lime); background: var(--white); }
.suggestion-heading { padding: 11px 14px; display: flex; justify-content: space-between; border-bottom: 1px solid var(--line); color: var(--green); font-size: 10px; font-weight: 800; letter-spacing: .1em; }
.suggestion-item { width: 100%; padding: 11px 14px; display: grid; gap: 4px; text-align: left; border: 0; border-bottom: 1px solid #e8e9e2; background: transparent; cursor: pointer; }
.suggestion-item:last-child { border-bottom: 0; }
.suggestion-item:hover { background: #f6f7f0; }
.suggestion-item strong { font-size: 13px; }
.suggestion-item span { color: var(--muted); font-size: 11px; line-height: 1.45; }
.details-field { padding-top: 25px; }
.field-block textarea { min-height: 92px; resize: vertical; }
.submit-row { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-top: 25px; }
.submit-row p { margin: 0; color: var(--muted); font-size: 12px; }
.compact-heading { padding-bottom: 27px; }
.compact-heading h1 { font-size: 52px; }
.admin-section { padding: 28px 0; border-bottom: 1px solid var(--line); }
.section-title { display: flex; align-items: baseline; justify-content: space-between; }
.section-title h2 { margin-bottom: 19px; font-size: 25px; }
.section-title > span { color: var(--muted); font-size: 11px; }
.user-table-wrap { overflow-x: auto; }
.user-table { width: 100%; border-collapse: collapse; text-align: left; font-size: 12px; }
.user-table th { padding: 10px; color: var(--muted); font-size: 10px; text-transform: uppercase; letter-spacing: .08em; }
.user-table td { min-width: 90px; padding: 12px 10px; border-top: 1px solid var(--line); vertical-align: middle; }
.user-table td:first-child { min-width: 110px; }
.inline-update { display: flex; align-items: center; gap: 6px; }
.inline-update select { min-height: 34px; padding: 5px; }
.password-reset { width: 145px; min-height: 34px; padding: 5px 8px; font-size: 11px; }
.small-button { min-height: 34px; padding: 0 9px; border: 1px solid var(--line); background: var(--white); cursor: pointer; font-size: 11px; }
.inline-toggle { margin-top: 5px; }
.status-pill { display: inline-block; padding: 5px 8px; background: #e6eddb; color: var(--green); font-size: 10px; }
.status-off { background: #f5e1dc; color: #983b2d; }
.create-user-form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; align-items: end; }
.create-user-form > label { display: grid; gap: 7px; }
.create-user-form .button { grid-column: 2; justify-self: end; }
@keyframes rise-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
@media (max-width: 760px) {
  .login-layout { grid-template-columns: 1fr; gap: 35px; padding: 52px 0; }
  .intro-copy h1 { font-size: 57px; }
  .accent-rule { margin-top: 25px; }
  .form-panel { padding: 25px; }
  .request-page, .admin-page { padding: 45px 0 55px; }
  .user-table { min-width: 790px; }
}
@media (max-width: 480px) {
  .topbar { height: 64px; padding: 0 18px; }
  .page-shell { width: calc(100% - 36px); }
  .account-nav { gap: 12px; font-size: 11px; }
  .title-year-row { grid-template-columns: 1fr 88px; gap: 12px; }
  .submit-row { align-items: stretch; flex-direction: column; }
  .submit-row .button { justify-content: center; }
  .create-user-form { grid-template-columns: 1fr; }
  .create-user-form .button { grid-column: auto; justify-self: stretch; }
  .site-footer { padding-inline: 18px; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; } }