:root {
  --brand-ink: #13221d;
  --brand-green: #2f6f5e;
  --brand-green-deep: #1f4d43;
  --brand-mist: #eef3ef;
  --brand-proof-blue: #315f7c;
  --brand-signal-amber: #9b6b2f;
  --brand-marker-line: #f0c98e;
  --ink: var(--brand-ink);
  --text: #2b3e38;
  --muted: #66736f;
  --paper: #f6f8f4;
  --surface: #ffffff;
  --soft: var(--brand-mist);
  --line: #dbe4dd;
  --green: var(--brand-green);
  --green-deep: var(--brand-green-deep);
  --blue: var(--brand-proof-blue);
  --amber: var(--brand-signal-amber);
  --danger: #8b3f32;
  --shadow: 0 18px 48px rgba(19, 34, 29, 0.12);
  --radius: 8px;
  --content: 1120px;
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  color: var(--text);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  line-height: 1.5;
  scroll-behavior: smooth;
}

body {
  background: var(--paper);
  margin: 0;
}

body.nav-open {
  overflow: hidden;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

a:hover {
  color: var(--green-deep);
}

p {
  margin: 0;
}

.site-header {
  background: rgba(246, 248, 244, 0.92);
  border-bottom: 1px solid rgba(219, 228, 221, 0.9);
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(16px);
}

.nav-shell {
  align-items: center;
  display: flex;
  gap: 24px;
  justify-content: space-between;
  margin: 0 auto;
  max-width: var(--content);
  min-height: 76px;
  padding: 0 24px;
}

.brand {
  align-items: center;
  display: inline-flex;
  gap: 10px;
  min-width: max-content;
}

.brand-mark {
  aspect-ratio: 338 / 214;
  border-radius: 0;
  box-shadow: none;
  display: block;
  flex: 0 0 auto;
  height: 34px;
  mix-blend-mode: multiply;
  object-fit: contain;
  width: auto;
}

.brand-text {
  color: var(--ink);
  font-size: 19px;
  font-weight: 800;
  letter-spacing: 0;
}

.nav-toggle {
  align-items: center;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--ink);
  display: none;
  font: inherit;
  font-weight: 700;
  min-height: 42px;
  padding: 0 14px;
}

.main-nav {
  align-items: center;
  display: flex;
  flex: 1;
  gap: 6px;
  justify-content: flex-end;
}

.nav-link {
  border-radius: 6px;
  color: var(--text);
  font-size: 15px;
  font-weight: 650;
  padding: 10px 12px;
}

.nav-link[aria-current="page"] {
  background: var(--soft);
  color: var(--green-deep);
}

.button {
  align-items: center;
  border: 1px solid transparent;
  border-radius: 7px;
  display: inline-flex;
  font-size: 15px;
  font-weight: 750;
  justify-content: center;
  line-height: 1.1;
  min-height: 44px;
  padding: 0 18px;
  transition:
    background 0.2s ease,
    border-color 0.2s ease,
    color 0.2s ease,
    transform 0.2s ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button.primary {
  background: var(--green);
  color: #ffffff;
}

.button.primary:hover {
  background: var(--green-deep);
  color: #ffffff;
}

.button.secondary {
  background: rgba(255, 255, 255, 0.84);
  border-color: rgba(255, 255, 255, 0.7);
  color: var(--ink);
}

.button.secondary:hover {
  background: #ffffff;
}

.button.outline {
  background: transparent;
  border-color: var(--line);
  color: var(--ink);
}

.button.outline:hover {
  border-color: var(--green);
  color: var(--green-deep);
}

.button.text {
  background: transparent;
  color: var(--green-deep);
  padding-left: 0;
  padding-right: 0;
}

.donate-page {
  padding-bottom: 86px;
}

.nav-donation-link {
  box-shadow: 0 10px 26px rgba(31, 77, 67, 0.18);
}

.nav-support-link {
  background: rgba(255, 255, 255, 0.62);
}

.donate-floating-cta {
  bottom: 18px;
  box-shadow: 0 18px 42px rgba(19, 34, 29, 0.24);
  min-width: 150px;
  position: fixed;
  right: clamp(18px, 4vw, 36px);
  z-index: 40;
}

.donation-checkout-hero {
  background:
    linear-gradient(90deg, rgba(14, 31, 26, 0.86), rgba(14, 31, 26, 0.52)),
    url("/assets/last27-hero-field-guide.svg");
  background-position: center;
  background-size: cover;
  color: #ffffff;
  min-height: clamp(640px, calc(100vh - 118px), 780px);
  padding: clamp(46px, 6vw, 74px) 24px;
  scroll-margin-top: 112px;
}

.donation-checkout-layout {
  align-items: center;
  display: grid;
  gap: clamp(28px, 5vw, 56px);
  grid-template-columns: minmax(0, 0.9fr) minmax(420px, 0.84fr);
  margin: 0 auto;
  max-width: var(--content);
}

.donation-checkout-copy {
  max-width: 660px;
}

.donation-checkout-copy h1 {
  color: #ffffff;
  font-size: clamp(42px, 5.6vw, 74px);
  line-height: 1.02;
  margin-top: 14px;
}

.donation-checkout-copy p:not(.hero-kicker) {
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.56;
  margin-top: 22px;
}

.donation-checkout-copy .button {
  margin-top: 28px;
}

.donation-trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 24px;
}

.donation-trust-row span {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.92);
  font-size: 13px;
  font-weight: 750;
  padding: 8px 12px;
}

.donation-checkout-panel {
  background: var(--surface);
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: var(--radius);
  box-shadow: 0 28px 70px rgba(7, 20, 16, 0.28);
  color: var(--text);
  padding: clamp(22px, 3vw, 30px);
}

.donation-checkout-panel-head {
  align-items: end;
  display: flex;
  gap: 18px;
  justify-content: space-between;
  margin-bottom: 18px;
}

.donation-checkout-panel h2 {
  font-size: clamp(28px, 3vw, 38px);
  margin-top: 4px;
}

.donation-amount-grid {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.donation-amount-button {
  background: #f7faf7;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  cursor: pointer;
  display: grid;
  gap: 5px;
  min-height: 86px;
  padding: 14px 10px;
  text-align: left;
}

.donation-amount-button span {
  font-size: 25px;
  font-weight: 850;
  line-height: 1;
}

.donation-amount-button small {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.25;
}

.donation-amount-button:hover,
.donation-amount-button.is-selected {
  background: rgba(47, 111, 94, 0.1);
  border-color: var(--green);
  color: var(--green-deep);
}

.donation-amount-button.is-selected small {
  color: var(--green-deep);
}

.donation-custom-label {
  color: var(--ink);
  display: grid;
  font-size: 14px;
  font-weight: 750;
  gap: 8px;
  margin-top: 16px;
}

.donation-custom-input {
  align-items: center;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 8px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  min-height: 52px;
  padding: 0 14px;
}

.donation-custom-input span {
  color: var(--muted);
  font-weight: 800;
}

.donation-custom-input input {
  border: 0;
  font: inherit;
  font-weight: 750;
  min-width: 0;
  outline: 0;
  padding: 14px 0 14px 8px;
  width: 100%;
}

.donation-embed-status {
  margin-top: 16px;
}

.stripe-checkout-shell {
  margin-top: 18px;
}

.stripe-checkout-shell:not(:empty) {
  border-top: 1px solid var(--line);
  min-height: 520px;
  padding-top: 18px;
}

.donation-fallback-link {
  justify-content: center;
  margin-top: 14px;
  width: 100%;
}

.donation-thanks-band {
  min-height: 62vh;
}

.donation-thanks-shell {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  max-width: 760px;
  padding: clamp(30px, 5vw, 54px);
}

.donation-thanks-shell h1 {
  font-size: clamp(34px, 5vw, 58px);
  margin-top: 10px;
}

.donation-thanks-shell p:not(.section-kicker) {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.7;
  margin-top: 16px;
}

.hero,
.page-hero {
  background:
    linear-gradient(90deg, rgba(14, 31, 26, 0.82), rgba(14, 31, 26, 0.42)),
    var(--hero-image);
  background-position: center;
  background-size: cover;
  color: #ffffff;
  display: flex;
}

.hero-image-home {
  --hero-image: url("/assets/last27-hero-field-guide.svg");
}

.hero-image-workers {
  --hero-image: url("/assets/last27-hero-field-guide.svg");
}

.hero-image-programs {
  --hero-image: url("/assets/last27-hero-field-guide.svg");
}

.hero-image-nonprofits {
  --hero-image: url("/assets/last27-hero-field-guide.svg");
}

.hero-image-sponsor {
  --hero-image: url("/assets/last27-hero-field-guide.svg");
}

.hero-image-donate {
  --hero-image: url("/assets/last27-hero-field-guide.svg");
}

.hero-image-updates {
  --hero-image: url("/assets/last27-hero-field-guide.svg");
}

.hero-image-learn {
  --hero-image: url("/assets/last27-hero-field-guide.svg");
}

.hero-image-about {
  --hero-image: url("/assets/last27-hero-field-guide.svg");
}

.hero-image-impact {
  --hero-image: url("/assets/last27-hero-field-guide.svg");
}

.hero-image-consulting {
  --hero-image: url("/assets/last27-hero-field-guide.svg");
}

.hero {
  min-height: clamp(560px, 80vh, 720px);
}

.page-hero {
  min-height: clamp(380px, 56vh, 540px);
}

.hero-content,
.page-hero-content {
  align-self: flex-end;
  margin: 0 auto;
  max-width: var(--content);
  padding: 96px 24px 72px;
  width: 100%;
}

.hero-kicker,
.section-kicker {
  color: var(--amber);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero .hero-kicker,
.page-hero .hero-kicker {
  color: #f0c98e;
}

h1,
h2,
h3 {
  color: var(--ink);
  letter-spacing: 0;
  line-height: 1.08;
  margin: 0;
}

.hero h1,
.page-hero h1 {
  color: #ffffff;
  font-size: clamp(44px, 6vw, 82px);
  max-width: 860px;
  padding-top: 16px;
}

.page-hero h1 {
  font-size: clamp(40px, 5vw, 68px);
}

.hero-lede,
.page-hero-lede {
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(18px, 2vw, 22px);
  max-width: 720px;
  padding-top: 22px;
}

.hero-actions,
.section-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  padding-top: 32px;
}

.band {
  padding: 76px 24px;
}

.band.white {
  background: var(--surface);
}

.band.soft {
  background: var(--soft);
}

.band.ink {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.84);
}

.band.ink h2,
.band.ink h3 {
  color: #ffffff;
}

.band.ink .card h3 {
  color: var(--ink);
}

.container {
  margin: 0 auto;
  max-width: var(--content);
}

.section-head {
  display: grid;
  gap: 18px;
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 0.55fr);
  margin-bottom: 36px;
}

.section-head h2,
.narrow h2 {
  font-size: clamp(30px, 4vw, 52px);
}

.section-head p,
.narrow p {
  color: var(--muted);
  font-size: 18px;
}

.band.ink .section-head p,
.band.ink .narrow p {
  color: rgba(255, 255, 255, 0.74);
}

.grid {
  display: grid;
  gap: 18px;
}

.grid.two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.grid.three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid.four {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
}

.card h3 {
  font-size: 22px;
  margin-bottom: 12px;
}

.card p {
  color: var(--muted);
}

.card .meta {
  color: var(--green-deep);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.06em;
  margin-bottom: 14px;
  text-transform: uppercase;
}

.card.blue {
  border-top: 4px solid var(--blue);
}

.card.green {
  border-top: 4px solid var(--green);
}

.card.amber {
  border-top: 4px solid var(--amber);
}

.card.warning {
  border-top: 4px solid var(--danger);
}

.image-row {
  display: grid;
  gap: 28px;
  grid-template-columns: minmax(300px, 0.9fr) minmax(0, 1.1fr);
}

.image-panel {
  aspect-ratio: 4 / 3;
  background: var(--image) center / cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  min-height: 0;
}

.image-support-work {
  --image: url("/assets/last27-hero-field-guide.svg");
}

.image-worker-learning {
  --image: url("/assets/last27-hero-field-guide.svg");
}

.check-list {
  display: grid;
  gap: 14px;
  list-style: none;
  margin: 22px 0 0;
  padding: 0;
}

.check-list li {
  background: rgba(47, 111, 94, 0.08);
  border-left: 4px solid var(--green);
  border-radius: 4px;
  padding: 12px 14px;
}

.number-list {
  counter-reset: steps;
  display: grid;
  gap: 16px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.number-list li {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  counter-increment: steps;
  padding: 22px 22px 22px 64px;
  position: relative;
}

.number-list li::before {
  align-items: center;
  background: var(--green);
  border-radius: 6px;
  color: #ffffff;
  content: counter(steps);
  display: flex;
  font-weight: 800;
  height: 34px;
  justify-content: center;
  left: 18px;
  position: absolute;
  top: 20px;
  width: 34px;
}

.route-list {
  display: grid;
  gap: 12px;
}

.route-link {
  align-items: center;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  display: flex;
  gap: 18px;
  justify-content: space-between;
  padding: 18px;
}

.route-link strong {
  color: var(--ink);
  display: block;
}

.route-link span {
  color: var(--muted);
  display: block;
  font-size: 14px;
  margin-top: 4px;
}

.form-shell {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 28px;
}

.field-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.field {
  display: grid;
  gap: 7px;
}

.field.full {
  grid-column: 1 / -1;
}

label {
  color: var(--ink);
  font-size: 14px;
  font-weight: 750;
}

input,
select,
textarea {
  background: #ffffff;
  border: 1px solid #cdd9d1;
  border-radius: 6px;
  color: var(--ink);
  font: inherit;
  min-height: 46px;
  padding: 11px 12px;
  width: 100%;
}

textarea {
  min-height: 128px;
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(47, 111, 94, 0.15);
  outline: none;
}

.form-note {
  color: var(--muted);
  font-size: 14px;
  margin-bottom: 18px;
}

.form-actions {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 20px;
}

.button:disabled {
  cursor: not-allowed;
  opacity: 0.62;
  transform: none;
}

.form-status {
  background: rgba(47, 111, 94, 0.1);
  border: 1px solid rgba(47, 111, 94, 0.25);
  border-radius: 6px;
  color: var(--green-deep);
  font-weight: 650;
  margin-top: 18px;
  padding: 14px;
}

.form-status a {
  color: var(--green-deep);
}

.screen-reader-only {
  clip: rect(0 0 0 0);
  border: 0;
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  white-space: nowrap;
  width: 1px;
}

.page-hero .donation-status {
  background: rgba(255, 255, 255, 0.92);
  border-color: rgba(255, 255, 255, 0.65);
  color: var(--ink);
  max-width: 640px;
}

.turnstile-shell:not(:empty) {
  margin-top: 18px;
}

.split {
  display: grid;
  gap: 34px;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.7fr);
}

.callout {
  background: var(--ink);
  border-radius: var(--radius);
  color: rgba(255, 255, 255, 0.82);
  padding: 28px;
}

.callout h3 {
  color: #ffffff;
  margin-bottom: 12px;
}

.callout .button {
  margin-top: 22px;
}

.subscribe-panel {
  align-items: center;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 12px 34px rgba(19, 34, 29, 0.08);
  display: grid;
  gap: 22px;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.8fr);
  padding: 28px;
}

.subscribe-panel h2 {
  font-size: clamp(28px, 4vw, 44px);
  margin-top: 8px;
}

.subscribe-panel p {
  color: var(--muted);
  margin-top: 12px;
}

.donor-choice {
  align-items: stretch;
  display: grid;
  gap: 24px;
  grid-template-columns: minmax(0, 0.86fr) minmax(360px, 0.9fr);
}

#donor-updates {
  scroll-margin-top: 150px;
}

.donor-choice-primary {
  align-content: center;
  background: var(--ink);
  border-radius: var(--radius);
  color: rgba(255, 255, 255, 0.82);
  display: grid;
  min-height: 100%;
  padding: 34px;
}

.donor-choice-primary .section-kicker {
  color: var(--gold);
}

.donor-choice-primary h2 {
  color: #ffffff;
  font-size: clamp(32px, 4.5vw, 52px);
  margin-top: 10px;
}

.donor-choice-primary p:not(.section-kicker) {
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.7;
  margin-top: 14px;
  max-width: 560px;
}

.donor-choice-primary .button.outline {
  border-color: rgba(255, 255, 255, 0.28);
  color: #ffffff;
}

.donor-choice-primary .button.outline:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.48);
  color: #ffffff;
}

.donor-choice .subscribe-panel {
  grid-template-columns: 1fr;
}

.donor-choice .subscribe-panel h2 {
  font-size: clamp(26px, 3vw, 38px);
}

.subscribe-form {
  display: grid;
  gap: 14px;
}

.subscribe-form .inline-fields {
  display: grid;
  gap: 10px;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1fr);
}

.subscribe-form.compact .inline-fields {
  grid-template-columns: 1fr;
}

.footer-subscribe {
  display: grid;
  gap: 10px;
  margin-top: 20px;
  max-width: 360px;
}

.footer-subscribe label {
  color: #ffffff;
  display: grid;
  gap: 8px;
}

.footer-subscribe label span {
  color: rgba(255, 255, 255, 0.66);
  font-size: 13px;
  font-weight: 500;
}

.footer-subscribe input {
  background: rgba(255, 255, 255, 0.94);
}

.footer-subscribe .button {
  min-height: 40px;
  width: fit-content;
}

.footer-status {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.18);
  color: rgba(255, 255, 255, 0.88);
  font-size: 13px;
  margin-top: 2px;
}

.updates-list {
  display: grid;
  gap: 18px;
}

.learning-path {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.module-card {
  display: grid;
  gap: 14px;
}

.module-card .button {
  align-self: end;
  margin-top: 8px;
  width: fit-content;
}

.faq-list {
  display: grid;
  gap: 16px;
}

.faq-item {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
}

.faq-item h2,
.faq-item h3 {
  font-size: 24px;
  margin-bottom: 10px;
}

.skill-box {
  background: rgba(47, 111, 94, 0.08);
  border: 1px solid rgba(47, 111, 94, 0.18);
  border-radius: var(--radius);
  margin: 28px 0;
  padding: 22px;
}

.skill-box h3 {
  font-size: 22px;
  margin-bottom: 10px;
}

.prompt-box {
  background: #ffffff;
  border: 1px solid var(--line);
  border-left: 4px solid var(--blue);
  border-radius: var(--radius);
  color: var(--ink);
  font-size: 16px;
  margin: 20px 0 28px;
  padding: 18px;
  white-space: normal;
}

.update-card {
  align-items: start;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  display: grid;
  gap: 18px;
  grid-template-columns: minmax(0, 1fr) auto;
  padding: 26px;
}

.update-card h3 {
  font-size: clamp(24px, 3vw, 36px);
  margin-bottom: 10px;
}

.update-card p {
  color: var(--muted);
}

.article-shell {
  display: grid;
  gap: 40px;
  grid-template-columns: minmax(0, 0.76fr) minmax(280px, 0.32fr);
}

.article-body {
  color: var(--text);
  font-size: 18px;
}

.article-body h2 {
  font-size: clamp(28px, 4vw, 44px);
  margin: 42px 0 16px;
}

.article-body h3 {
  font-size: 24px;
  margin: 28px 0 10px;
}

.article-body p,
.article-body ul,
.article-body ol {
  margin: 0 0 18px;
}

.article-body ul,
.article-body ol {
  padding-left: 24px;
}

.article-body li + li {
  margin-top: 8px;
}

.article-aside {
  align-self: start;
  display: grid;
  gap: 16px;
  position: sticky;
  top: 100px;
}

.suggested-gift,
.sponsor-level {
  display: grid;
  gap: 12px;
}

.amount {
  color: var(--green-deep);
  font-size: 34px;
  font-weight: 850;
  letter-spacing: 0;
}

.sponsor-level .amount {
  color: var(--ink);
}

.sponsor-level .button {
  margin-top: 6px;
  width: fit-content;
}

.site-footer {
  background: #111c18;
  color: rgba(255, 255, 255, 0.76);
  padding: 54px 24px 30px;
}

.footer-grid {
  display: grid;
  gap: 28px;
  grid-template-columns: minmax(280px, 1fr) repeat(3, minmax(160px, 0.45fr));
  margin: 0 auto;
  max-width: var(--content);
}

.site-footer h2,
.site-footer h3 {
  color: #ffffff;
}

.site-footer h2 {
  font-size: 28px;
  margin-bottom: 10px;
}

.site-footer h3 {
  font-size: 15px;
  margin-bottom: 12px;
}

.footer-links {
  display: grid;
  gap: 9px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.76);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.6);
  margin: 36px auto 0;
  max-width: var(--content);
  padding-top: 18px;
}

.narrow {
  max-width: 760px;
}

.small {
  color: var(--muted);
  font-size: 14px;
}

.stacked-copy {
  padding-top: 18px;
}

.contact-copy {
  padding-top: 14px;
}

.legal-copy {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(26px, 5vw, 46px);
}

.legal-copy h2 {
  font-size: clamp(24px, 3vw, 34px);
  margin-top: 34px;
}

.legal-copy h2:first-child {
  margin-top: 0;
}

.legal-copy p {
  color: var(--text);
  font-size: 17px;
  line-height: 1.72;
  margin-top: 12px;
}

.legal-copy a,
.narrow a {
  color: var(--green-deep);
  font-weight: 750;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Civic editorial redesign for the core Last27 funnel. */
:root {
  --editorial-paper: #f8f5ee;
  --editorial-paper-deep: #efe8dc;
  --editorial-line: #ded2c2;
  --editorial-gold: #b7894f;
  --editorial-gold-deep: #8f6330;
  --editorial-serif: Georgia, Cambria, "Times New Roman", serif;
  --editorial-shadow: 0 28px 70px rgba(22, 32, 27, 0.12);
}

.site-header {
  background: rgba(248, 245, 238, 0.92);
  border-bottom-color: rgba(222, 210, 194, 0.86);
}

.nav-shell {
  max-width: 1280px;
}

.brand-text {
  font-family: var(--editorial-serif);
  font-size: 22px;
  font-weight: 600;
}

.editorial-hero {
  background:
    radial-gradient(circle at 78% 14%, rgba(197, 154, 97, 0.2), transparent 28%),
    linear-gradient(115deg, #fffdf8 0%, var(--editorial-paper) 54%, #ebe3d7 100%);
  border-bottom: 1px solid var(--editorial-line);
  color: var(--ink);
  overflow: hidden;
  padding: 78px 24px 64px;
  position: relative;
}

.editorial-hero::before,
.editorial-band::before,
.final-cta::before {
  background:
    repeating-radial-gradient(ellipse at 78% 42%, rgba(183, 137, 79, 0.24) 0 1px, transparent 1px 22px);
  content: "";
  height: 620px;
  opacity: 0.46;
  pointer-events: none;
  position: absolute;
  right: -170px;
  top: -130px;
  transform: rotate(-9deg);
  width: 660px;
}

.editorial-hero-grid,
.editorial-container {
  margin: 0 auto;
  max-width: 1280px;
}

.editorial-hero-grid {
  align-items: center;
  display: grid;
  gap: 58px;
  grid-template-columns: minmax(0, 0.92fr) minmax(440px, 0.82fr);
  min-height: 610px;
  position: relative;
  z-index: 1;
}

.editorial-hero.compact .editorial-hero-grid {
  min-height: 420px;
}

.editorial-eyebrow,
.editorial-kicker,
.path-label {
  color: var(--editorial-gold-deep);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.editorial-hero h1,
.editorial-section h2,
.editorial-band h2,
.final-cta h2 {
  color: var(--ink);
  font-family: var(--editorial-serif);
  font-weight: 500;
  letter-spacing: 0;
  line-height: 1.02;
}

.editorial-hero h1 {
  font-size: 76px;
  margin: 18px 0 0;
  max-width: 790px;
}

.editorial-hero.compact h1 {
  font-size: 58px;
}

.editorial-lede {
  color: #40534b;
  font-size: 20px;
  line-height: 1.65;
  margin-top: 26px;
  max-width: 650px;
}

.editorial-hero .hero-actions {
  padding-top: 34px;
}

.button.editorial-secondary,
.button.editorial-link {
  background: rgba(255, 253, 248, 0.62);
  border-color: var(--editorial-line);
  color: var(--ink);
}

.button.editorial-secondary:hover,
.button.editorial-link:hover {
  background: #fffdf8;
  border-color: var(--editorial-gold);
  color: var(--ink);
}

.editorial-link::after,
.route-row > span:last-child::after {
  content: " ->";
}

.hero-proof {
  border-top: 1px solid rgba(222, 210, 194, 0.9);
  color: var(--muted);
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 42px;
  max-width: 730px;
  padding-top: 18px;
}

.hero-proof span {
  align-items: center;
  display: inline-flex;
  gap: 9px;
}

.hero-proof span::before {
  background: var(--editorial-gold);
  border-radius: 50%;
  content: "";
  height: 7px;
  width: 7px;
}

.artifact-frame {
  background: rgba(255, 253, 248, 0.7);
  border: 1px solid rgba(222, 210, 194, 0.9);
  border-radius: 8px;
  box-shadow: var(--editorial-shadow);
  padding: 16px;
}

.artifact-frame img,
.artifact-image {
  border-radius: 6px;
  display: block;
  width: 100%;
}

.artifact-caption {
  border-top: 1px solid var(--editorial-line);
  color: var(--muted);
  display: flex;
  font-size: 14px;
  justify-content: space-between;
  margin-top: 14px;
  padding-top: 12px;
}

.editorial-section,
.editorial-band,
.final-cta {
  padding: 86px 24px;
  position: relative;
}

.editorial-section.white {
  background: #fffdf8;
}

.editorial-section.paper,
.editorial-band,
.final-cta {
  background: var(--editorial-paper);
}

.editorial-section h2,
.editorial-band h2,
.final-cta h2 {
  font-size: 50px;
  margin-top: 10px;
}

.editorial-section p,
.editorial-band p,
.final-cta p {
  color: var(--muted);
}

.editorial-section-head {
  display: grid;
  gap: 24px;
  grid-template-columns: minmax(0, 0.92fr) minmax(320px, 0.58fr);
  margin-bottom: 42px;
}

.editorial-section-head > p {
  font-size: 18px;
  line-height: 1.7;
  padding-top: 28px;
}

.editorial-thesis {
  align-items: center;
  border-bottom: 1px solid var(--editorial-line);
  border-top: 1px solid var(--editorial-line);
  display: grid;
  gap: 34px;
  grid-template-columns: minmax(0, 0.86fr) minmax(0, 0.9fr) minmax(260px, 0.58fr);
  padding: 34px 0;
}

.editorial-thesis h2 {
  font-size: 42px;
  margin: 0;
}

.editorial-quote {
  border-left: 1px solid var(--editorial-line);
  color: var(--ink);
  font-family: var(--editorial-serif);
  font-size: 26px;
  line-height: 1.25;
  padding-left: 28px;
}

.editorial-grid {
  display: grid;
  gap: 0;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.editorial-card {
  border-left: 1px solid var(--editorial-line);
  padding: 28px 30px;
}

.editorial-card:first-child {
  border-left: 0;
}

.editorial-card h3 {
  font-family: var(--editorial-serif);
  font-size: 26px;
  font-weight: 500;
  margin: 18px 0 10px;
}

.editorial-icon {
  align-items: center;
  border: 1px solid var(--editorial-gold);
  border-radius: 50%;
  color: var(--editorial-gold-deep);
  display: inline-flex;
  font-size: 16px;
  font-weight: 800;
  height: 44px;
  justify-content: center;
  width: 44px;
}

.artifact-split {
  align-items: center;
  display: grid;
  gap: 54px;
  grid-template-columns: minmax(380px, 0.84fr) minmax(0, 1fr);
}

.artifact-split.reverse {
  grid-template-columns: minmax(0, 1fr) minmax(380px, 0.84fr);
}

.artifact-split.reverse .artifact-frame {
  order: 2;
}

.micro-steps,
.editorial-list,
.support-list {
  display: grid;
  gap: 14px;
  list-style: none;
  margin: 26px 0 0;
  padding: 0;
}

.micro-steps li,
.editorial-list li,
.support-list li {
  border-top: 1px solid var(--editorial-line);
  color: #40534b;
  display: grid;
  gap: 6px;
  padding: 16px 0 0;
}

.micro-steps strong,
.editorial-list strong,
.support-list strong {
  color: var(--ink);
}

.route-table {
  background: #fffdf8;
  border: 1px solid var(--editorial-line);
  border-radius: 8px;
  overflow: hidden;
}

.route-row {
  align-items: center;
  border-top: 1px solid var(--editorial-line);
  display: grid;
  gap: 24px;
  grid-template-columns: 220px minmax(0, 1fr) 190px;
  padding: 22px 26px;
}

.route-row:first-child {
  border-top: 0;
}

.route-row strong {
  color: var(--ink);
  display: block;
  font-family: var(--editorial-serif);
  font-size: 24px;
  font-weight: 500;
}

.route-row p {
  line-height: 1.6;
}

.route-row > span {
  color: var(--editorial-gold-deep);
  font-size: 14px;
  font-weight: 800;
  justify-self: end;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.route-row .path-label,
.editorial-section .path-label {
  color: var(--editorial-gold-deep);
}

.route-row .path-label {
  justify-self: start;
}

.proof-strip {
  border-bottom: 1px solid var(--editorial-line);
  border-top: 1px solid var(--editorial-line);
  display: grid;
  gap: 0;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 36px;
}

.artifact-split .proof-strip {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.proof-item {
  border-left: 1px solid var(--editorial-line);
  padding: 24px 26px;
}

.proof-item:first-child {
  border-left: 0;
}

.artifact-split .proof-item:nth-child(odd) {
  border-left: 0;
}

.artifact-split .proof-item:nth-child(n + 3) {
  border-top: 1px solid var(--editorial-line);
}

.proof-item strong {
  color: var(--ink);
  display: block;
  font-family: var(--editorial-serif);
  font-size: 25px;
  font-weight: 500;
  margin-bottom: 8px;
}

.module-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.module-tile {
  background: #fffdf8;
  border: 1px solid var(--editorial-line);
  border-radius: 8px;
  display: grid;
  gap: 16px;
  padding: 28px;
}

.module-tile h3 {
  font-family: var(--editorial-serif);
  font-size: 28px;
  font-weight: 500;
}

.module-tile .button {
  align-self: end;
  width: fit-content;
}

.editorial-section .amount {
  color: var(--editorial-gold-deep);
  font-family: var(--editorial-serif);
  font-weight: 500;
}

.editorial-subscribe {
  background: #fffdf8;
  border: 1px solid var(--editorial-line);
  border-radius: 8px;
  box-shadow: 0 18px 42px rgba(22, 32, 27, 0.08);
}

.editorial-form {
  background: #fffdf8;
  border-color: var(--editorial-line);
  box-shadow: var(--editorial-shadow);
}

.intake-note {
  background: var(--editorial-paper);
  border: 1px solid var(--editorial-line);
  border-radius: 8px;
  color: var(--muted);
  padding: 20px;
}

.final-cta {
  overflow: hidden;
  text-align: center;
}

.final-cta .editorial-container {
  position: relative;
  z-index: 1;
}

.final-cta h2 {
  margin: 0 auto;
  max-width: 780px;
}

.final-cta p {
  font-size: 18px;
  line-height: 1.7;
  margin: 18px auto 0;
  max-width: 620px;
}

@media (max-width: 980px) {
  .site-header {
    backdrop-filter: none;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .main-nav {
    align-items: stretch;
    background: var(--editorial-paper);
    border-top: 1px solid var(--editorial-line);
    bottom: 0;
    box-shadow: 0 24px 60px rgba(19, 34, 29, 0.16);
    display: none;
    flex-direction: column;
    gap: 4px;
    justify-content: flex-start;
    left: 0;
    overflow-y: auto;
    padding: 18px 24px 32px;
    position: fixed;
    right: 0;
    top: 76px;
    z-index: 60;
  }

  body.nav-open .main-nav {
    display: flex;
  }

  .nav-link,
  .main-nav .button {
    justify-content: flex-start;
    width: 100%;
  }

  .section-head,
  .image-row,
  .split,
  .donation-checkout-layout,
  .donor-choice,
  .subscribe-panel,
  .article-shell,
  .footer-grid,
  .editorial-hero-grid,
  .editorial-section-head,
  .editorial-thesis,
  .artifact-split,
  .artifact-split.reverse {
    grid-template-columns: 1fr;
  }

  .editorial-hero-grid {
    min-height: 0;
  }

  .donation-checkout-hero {
    min-height: auto;
  }

  .donation-checkout-copy {
    max-width: 760px;
  }

  .artifact-split.reverse .artifact-frame {
    order: 0;
  }

  .grid.three,
  .grid.four,
  .learning-path,
  .editorial-grid,
  .proof-strip,
  .module-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .editorial-card:nth-child(odd),
  .proof-item:nth-child(odd) {
    border-left: 0;
  }

  .route-row {
    grid-template-columns: 1fr;
  }

  .route-row > span {
    justify-self: start;
  }
}

@media (max-width: 680px) {
  .nav-shell {
    min-height: 68px;
    padding: 0 16px;
  }

  .main-nav {
    top: 68px;
  }

  .brand-text {
    font-size: 17px;
  }

  .hero,
  .page-hero {
    min-height: 620px;
  }

  .donation-checkout-hero {
    min-height: auto;
    padding: 42px 16px 58px;
    scroll-margin-top: 132px;
  }

  .donation-checkout-layout {
    gap: 24px;
  }

  .donation-checkout-copy h1 {
    font-size: 40px;
  }

  .donation-checkout-copy p:not(.hero-kicker) {
    font-size: 17px;
  }

  .donation-checkout-panel {
    padding: 18px;
  }

  .donation-checkout-panel-head {
    align-items: start;
    display: grid;
    gap: 8px;
  }

  .donation-amount-grid {
    gap: 8px;
  }

  .donation-amount-button {
    min-height: 74px;
    padding: 12px 8px;
  }

  .donation-amount-button span {
    font-size: 22px;
  }

  .donation-amount-button small {
    font-size: 11px;
  }

  .stripe-checkout-shell:not(:empty) {
    min-height: 560px;
  }

  .page-hero {
    min-height: 460px;
  }

  .hero-content,
  .page-hero-content {
    padding: 78px 18px 52px;
  }

  .editorial-hero {
    padding: 46px 16px 44px;
  }

  .editorial-hero::before,
  .editorial-band::before,
  .final-cta::before {
    opacity: 0.22;
    right: -360px;
  }

  .editorial-hero h1,
  .editorial-hero.compact h1 {
    font-size: 42px;
  }

  .editorial-lede {
    font-size: 17px;
  }

  .artifact-caption {
    display: grid;
    gap: 5px;
  }

  .band {
    padding: 58px 18px;
  }

  .editorial-section,
  .editorial-band,
  .final-cta {
    padding: 58px 16px;
  }

  .editorial-section h2,
  .editorial-band h2,
  .final-cta h2,
  .editorial-thesis h2 {
    font-size: 34px;
  }

  .grid.two,
  .grid.three,
  .grid.four,
  .field-grid,
  .editorial-grid,
  .proof-strip,
  .module-grid {
    grid-template-columns: 1fr;
  }

  .editorial-card,
  .editorial-card:first-child,
  .proof-item,
  .proof-item:first-child {
    border-left: 0;
    border-top: 1px solid var(--editorial-line);
    padding-left: 0;
    padding-right: 0;
  }

  .editorial-card:first-child,
  .proof-item:first-child {
    border-top: 0;
  }

  .button {
    width: 100%;
  }

  .donate-page {
    padding-bottom: 0;
  }

  .donate-floating-cta {
    bottom: auto;
    left: auto;
    margin: 10px 16px;
    position: sticky;
    right: auto;
    top: 78px;
    width: calc(100% - 32px);
    z-index: 19;
  }

  .hero-actions,
  .section-actions,
  .form-actions {
    width: 100%;
  }

  .route-link {
    align-items: flex-start;
    flex-direction: column;
  }

  .subscribe-form .inline-fields,
  .update-card,
  .learning-path {
    grid-template-columns: 1fr;
  }

  .footer-subscribe .button,
  .sponsor-level .button,
  .module-card .button {
    width: 100%;
  }

  .article-aside {
    position: static;
  }
}

.admin-body {
  background:
    linear-gradient(180deg, rgba(238, 243, 239, 0.84), rgba(246, 248, 244, 1)),
    var(--paper);
  min-height: 100vh;
}

.admin-header {
  align-items: center;
  background: rgba(246, 248, 244, 0.94);
  border-bottom: 1px solid var(--line);
  display: flex;
  gap: 18px;
  justify-content: space-between;
  min-height: 72px;
  padding: 0 28px;
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(16px);
}

.admin-header-meta {
  align-items: center;
  color: var(--muted);
  display: flex;
  font-size: 14px;
  font-weight: 650;
  gap: 14px;
}

.admin-main {
  margin: 0 auto;
  max-width: 1440px;
  padding: 28px;
}

.admin-auth {
  display: grid;
  min-height: calc(100vh - 128px);
  place-items: center;
}

.admin-auth-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  max-width: 520px;
  padding: 32px;
  width: 100%;
}

.admin-auth-card h1 {
  font-size: clamp(32px, 5vw, 48px);
  margin: 10px 0 14px;
}

.admin-auth-card p {
  color: var(--muted);
  margin-bottom: 22px;
}

.admin-auth-card form {
  display: grid;
  gap: 12px;
}

.admin-dashboard {
  display: grid;
  gap: 18px;
}

.admin-page-head {
  align-items: end;
  display: flex;
  gap: 20px;
  justify-content: space-between;
}

.admin-page-head h1 {
  font-size: clamp(34px, 5vw, 58px);
  margin: 8px 0 10px;
}

.admin-page-head p {
  color: var(--muted);
}

.admin-action-row,
.admin-toolbar {
  align-items: end;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.admin-toolbar {
  background: rgba(255, 255, 255, 0.68);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px;
}

.admin-toolbar label {
  display: grid;
  gap: 6px;
  min-width: 190px;
}

.admin-toolbar select,
.admin-status-form select,
.admin-auth-card input,
.admin-note-form input,
.admin-note-form textarea {
  min-height: 40px;
}

.admin-grid-shell {
  align-items: start;
  display: grid;
  gap: 18px;
  grid-template-columns: minmax(0, 1.04fr) minmax(380px, 0.86fr);
}

.admin-panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 12px 34px rgba(19, 34, 29, 0.08);
  min-width: 0;
}

.admin-list-panel {
  overflow: hidden;
}

.admin-table-wrap {
  overflow-x: auto;
}

.admin-table {
  border-collapse: collapse;
  font-size: 14px;
  min-width: 760px;
  width: 100%;
}

.admin-table th {
  background: var(--soft);
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.06em;
  padding: 12px 14px;
  text-align: left;
  text-transform: uppercase;
}

.admin-table td {
  border-top: 1px solid var(--line);
  padding: 13px 14px;
  vertical-align: top;
}

.admin-table tr[data-selected="true"] td {
  background: rgba(47, 111, 94, 0.08);
}

.admin-table td strong,
.admin-table td span {
  display: block;
}

.admin-table td span {
  color: var(--muted);
  font-size: 12px;
  margin-top: 3px;
}

.admin-row-button {
  background: transparent;
  border: 0;
  color: var(--green-deep);
  cursor: pointer;
  font: inherit;
  font-weight: 800;
  padding: 0;
  text-align: left;
}

.admin-detail-panel {
  display: grid;
  gap: 18px;
  min-width: 0;
  padding: 22px;
}

.admin-detail-head {
  align-items: start;
  display: flex;
  gap: 12px;
  justify-content: space-between;
}

.admin-detail-head h2 {
  font-size: clamp(24px, 3vw, 34px);
  overflow-wrap: anywhere;
}

.admin-detail-meta {
  color: var(--muted);
  display: flex;
  flex-wrap: wrap;
  font-size: 14px;
  gap: 8px;
}

.admin-detail-meta span {
  background: var(--soft);
  border-radius: 999px;
  padding: 5px 10px;
}

.admin-status {
  border-radius: 999px;
  display: inline-flex;
  font-size: 12px;
  font-weight: 800;
  line-height: 1;
  padding: 7px 10px;
  white-space: nowrap;
}

.admin-status-new {
  background: rgba(47, 111, 94, 0.14);
  color: var(--green-deep);
}

.admin-status-reviewing {
  background: rgba(49, 95, 124, 0.14);
  color: var(--blue);
}

.admin-status-replied,
.admin-status-referred,
.admin-status-closed {
  background: rgba(102, 115, 111, 0.14);
  color: var(--text);
}

.admin-status-spam {
  background: rgba(139, 63, 50, 0.14);
  color: var(--danger);
}

.admin-status-form {
  align-items: end;
  background: var(--soft);
  border-radius: var(--radius);
  display: grid;
  gap: 10px;
  grid-template-columns: minmax(0, 1fr) auto;
  padding: 14px;
}

.admin-status-form label {
  grid-column: 1 / -1;
}

.admin-section {
  border-top: 1px solid var(--line);
  display: grid;
  gap: 12px;
  min-width: 0;
  padding-top: 18px;
}

.admin-section h3 {
  font-size: 18px;
}

.admin-field-list {
  display: grid;
  gap: 10px;
  margin: 0;
}

.admin-field-list div {
  border: 1px solid var(--line);
  border-radius: 6px;
  display: grid;
  gap: 8px;
  grid-template-columns: 140px minmax(0, 1fr);
  padding: 10px 12px;
}

.admin-field-list dt {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.admin-field-list dd {
  margin: 0;
  overflow-wrap: anywhere;
}

.admin-field-list a {
  color: var(--green-deep);
  font-weight: 700;
}

.admin-note-list {
  display: grid;
  gap: 10px;
}

.admin-note {
  background: var(--soft);
  border-radius: 6px;
  padding: 12px;
}

.admin-note div {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: space-between;
  margin-bottom: 8px;
}

.admin-note span {
  color: var(--muted);
  font-size: 12px;
}

.admin-note-form {
  display: grid;
  gap: 12px;
}

.admin-note-form textarea {
  min-height: 90px;
}

.admin-event-list {
  display: grid;
  gap: 10px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.admin-event-list li {
  border-left: 3px solid var(--green);
  display: grid;
  gap: 5px;
  min-width: 0;
  padding-left: 10px;
}

.admin-event-list span {
  color: var(--muted);
  font-size: 12px;
}

.admin-event-list code,
.admin-raw pre {
  background: #0f1a16;
  border-radius: 6px;
  color: #dbe4dd;
  display: block;
  font-size: 12px;
  line-height: 1.45;
  max-width: 100%;
  overflow-x: auto;
  padding: 10px;
}

.admin-raw {
  border-top: 1px solid var(--line);
  padding-top: 16px;
}

.admin-raw summary {
  color: var(--green-deep);
  cursor: pointer;
  font-weight: 800;
}

.admin-empty,
.admin-loading {
  color: var(--muted);
  padding: 24px;
  text-align: center;
}

.admin-muted {
  color: var(--muted);
  font-size: 14px;
}

.admin-alert {
  background: rgba(139, 63, 50, 0.1);
  border: 1px solid rgba(139, 63, 50, 0.28);
  border-radius: 6px;
  color: var(--danger);
  font-weight: 700;
  padding: 12px;
}

.admin-compact-button {
  min-height: 40px;
  padding-left: 14px;
  padding-right: 14px;
}

@media (max-width: 1120px) {
  .admin-grid-shell {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .admin-header,
  .admin-page-head,
  .admin-header-meta {
    align-items: flex-start;
    flex-direction: column;
  }

  .admin-main,
  .admin-header {
    padding-left: 16px;
    padding-right: 16px;
  }

  .admin-action-row,
  .admin-toolbar,
  .admin-toolbar label,
  .admin-status-form,
  .admin-compact-button {
    width: 100%;
  }

  .admin-status-form {
    grid-template-columns: 1fr;
  }

  .admin-table {
    min-width: 0;
  }

  .admin-table,
  .admin-table tbody,
  .admin-table tr,
  .admin-table td {
    display: block;
    width: 100%;
  }

  .admin-table thead {
    display: none;
  }

  .admin-table tr {
    border-top: 1px solid var(--line);
    padding: 12px 14px;
  }

  .admin-table td {
    border-top: 0;
    display: grid;
    gap: 4px;
    grid-template-columns: minmax(92px, 0.35fr) minmax(0, 1fr);
    padding: 6px 0;
  }

  .admin-table td::before {
    color: var(--muted);
    content: "";
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.05em;
    text-transform: uppercase;
  }

  .admin-table td:nth-child(1)::before {
    content: "Reference";
  }

  .admin-table td:nth-child(2)::before {
    content: "Requester";
  }

  .admin-table td:nth-child(3)::before {
    content: "Intent";
  }

  .admin-table td:nth-child(4)::before {
    content: "Status";
  }

  .admin-table td:nth-child(5)::before {
    content: "Updated";
  }

  .admin-row-button {
    max-width: 100%;
    overflow-wrap: anywhere;
  }

  .admin-event-list code,
  .admin-raw pre {
    white-space: pre-wrap;
    word-break: break-word;
  }

  .admin-field-list div {
    grid-template-columns: 1fr;
  }

  .admin-detail-panel {
    padding: 16px;
  }
}
