:root {
  color-scheme: light;
  --ink: #152a24;
  --muted: #52635c;
  --line: #dfe6dd;
  --canvas: #f6f7f2;
  --surface: #fff;
  --forest: #132a24;
  --forest-deep: #10221e;
  --lime: #d8f65b;
  --lime-hover: #c9e947;
  --soft-green: #edf3e9;
  --danger: #9c3426;
  --danger-bg: #fbeee9;
  --focus: #39765d;
  --radius: 18px;
  --shadow: 0 12px 34px -24px rgb(21 42 36 / .35);
  font-family: 'Inter', ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 100%;
  font-synthesis: none;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding: 5.75rem 0 1.5rem; }
body { margin: 0; background: var(--canvas); color: var(--ink); line-height: 1.55; }
button, input, select, textarea { font: inherit; }
button { color: inherit; }
button:disabled { cursor: wait; opacity: .6; }
a { color: inherit; }
img { display: block; max-width: 100%; }
svg { display: inline-block; width: 1.2em; height: 1.2em; flex: none; vertical-align: -.22em; }
.icon { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.icon-library { position: absolute; width: 0; height: 0; overflow: hidden; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { font-weight: 760; line-height: 1.1; letter-spacing: -.045em; }
p { color: var(--muted); }
[hidden], .hidden { display: none !important; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 4px; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.muted { color: var(--muted); }
.full-width { width: 100%; }
.mobile-only { display: none; }
.skip-link {
  position: fixed;
  z-index: 5;
  top: .75rem;
  left: .75rem;
  padding: .5rem .8rem;
  transform: translateY(-200%);
  border-radius: .5rem;
  background: var(--forest);
  color: #fff;
}
.skip-link:focus { transform: none; }

.shell, .topbar-inner, .footer-inner {
  width: min(100% - 3.5rem, 73rem);
  margin-inline: auto;
}

.topbar {
  position: sticky;
  z-index: 4;
  top: 0;
  border-bottom: 1px solid #e3e9df;
  background: var(--canvas);
}

.topbar-inner { display: flex; align-items: center; gap: 2rem; min-height: 4.5rem; }
.brand {
  display: inline-flex;
  flex: none;
  align-items: center;
  gap: .65rem;
  text-decoration: none;
  color: var(--ink);
  font-size: 1.26rem;
  font-weight: 800;
  letter-spacing: -.06em;
  line-height: 1;
}

.brand-mark {
  display: inline-grid;
  width: 2.25rem;
  height: 2.25rem;
  flex: none;
  place-items: center;
  border-radius: .72rem;
  background: var(--forest);
  color: var(--lime);
}

.brand-mark svg { width: 1.42rem; height: 1.42rem; }
.nav-links { display: flex; align-items: center; gap: clamp(1rem, 2.55vw, 2rem); margin-inline: auto; }
.nav-links a, .nav-links button {
  padding: .5rem 0;
  border: 0;
  background: transparent;
  color: #485952;
  font-size: .92rem;
  font-weight: 620;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
}

.nav-links a:hover, .nav-links button:hover, .nav-links [aria-current] { color: var(--ink); text-decoration: underline; text-underline-offset: .28rem; }
.topbar-actions { display: flex; flex: none; align-items: center; gap: .55rem; margin-left: auto; }
.topbar-actions .button { min-height: 2.5rem; padding: .45rem .88rem; font-size: .875rem; white-space: nowrap; }

.button, .icon-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  min-height: 2.8rem;
  padding: .58rem 1rem;
  border: 1px solid transparent;
  border-radius: .72rem;
  background: var(--surface);
  color: var(--ink);
  text-align: center;
  text-decoration: none;
  font-size: .9375rem;
  font-weight: 730;
  line-height: 1.28;
  cursor: pointer;
  transition: background-color .15s, border-color .15s, box-shadow .15s, color .15s;
}

.button svg, .icon-button svg { width: 1.1rem; height: 1.1rem; }
.button-primary { background: var(--lime); color: var(--forest-deep); }
.button-primary:hover { background: var(--lime-hover); }
.button-secondary { border-color: var(--line); background: var(--surface); }
.button-secondary:hover, .icon-button:hover { border-color: #b7c5b9; background: var(--soft-green); }
.button-ghost { border-color: transparent; background: transparent; }
.button-ghost:hover { background: var(--soft-green); }
.button-dark { background: var(--forest); color: #fff; }
.button-dark:hover { background: #24483c; }
.button-small { min-height: 2.35rem; padding: .4rem .75rem; font-size: .87rem; }
.icon-button { position: relative; width: 2.7rem; flex: none; padding: 0; }
.icon-button > .count, .icon-button > .notification-count {
  position: absolute;
  top: -.19rem;
  right: -.19rem;
  min-width: 1.05rem;
  padding: .08rem .2rem;
  border: 2px solid var(--canvas);
  border-radius: 999px;
  background: var(--forest);
  color: #fff;
  font-size: .67rem;
  line-height: 1;
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
  min-height: 27.5rem;
  overflow: hidden;
  isolation: isolate;
  margin: 1.8rem 0 2.35rem;
  border-radius: 1.65rem;
  background: var(--forest);
  color: #fff;
  box-shadow: var(--shadow);
}

.hero-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  align-self: center;
  gap: 1.1rem;
  padding: clamp(2.15rem, 5vw, 4.05rem);
  padding-right: 0;
}

.hero h1 {
  max-width: 10ch;
  color: #fff;
  font-size: clamp(3.1rem, 5.8vw, 5.25rem);
  font-weight: 785;
  letter-spacing: -.078em;
  line-height: .96;
  text-wrap: balance;
}

.hero h1 em, .hero h1 .accent { color: var(--lime); font-style: normal; }
.hero p { max-width: 31ch; color: #d6e2d9; font-size: clamp(1rem, 1.4vw, 1.15rem); line-height: 1.55; }
.hero .eyebrow { color: #e3f5b1; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .65rem; margin-top: .35rem; }
.hero-actions .button { min-height: 3rem; padding-inline: 1rem; }
.hero .button-secondary, .hero .button-ghost { border-color: #ffffff51; background: #ffffff0b; color: #fff; }
.hero .button-secondary:hover, .hero .button-ghost:hover { border-color: #ffffffa3; background: #ffffff1b; }
.hero :focus-visible { outline-color: var(--lime); }

.hero-media {
  position: relative;
  min-width: 0;
  min-height: 100%;
  background: radial-gradient(ellipse at 73% 32%, #78875d, #385847 53%, #132a24 90%);
}

.hero-media::after {
  position: absolute;
  z-index: 0;
  inset: 0;
  background: linear-gradient(90deg, var(--forest) 0%, rgb(19 42 36 / .45) 15%, transparent 40%);
  pointer-events: none;
  content: '';
}

.hero-media > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: right center; }
.hero-media .media-caption {
  position: absolute;
  z-index: 1;
  right: 1.45rem;
  bottom: 1.25rem;
  display: inline-flex;
  align-items: center;
  gap: .42rem;
  padding: .37rem .65rem;
  border: 1px solid #ffffff43;
  border-radius: 999px;
  background: #132a24c7;
  color: #eff4ed;
  font-size: .82rem;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-size: .9rem;
  font-weight: 710;
  letter-spacing: .035em;
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.15rem;
}

.section-head h2, .lookup-panel h2 { font-size: clamp(1.65rem, 3vw, 2.22rem); }
.section-head p, .lookup-panel h2 + p { margin-top: .4rem; }
.section-head > .button { flex: none; }
.lookup-panel, .section-panel { padding: clamp(1.3rem, 3.5vw, 2.1rem); border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow); }
.lookup-panel { margin-bottom: 1.25rem; }
.lookup-panel > .section-head { margin-bottom: 1rem; }
.lookup-heading { display: flex; align-items: start; gap: .85rem; margin-bottom: 1.15rem; }
.lookup-heading .lookup-icon { margin-top: .09rem; }
.lookup-form { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: .65rem; }
.lookup-form .button { min-height: 3rem; }

.field { display: grid; align-content: start; gap: .36rem; min-width: 0; color: var(--ink); font-size: .9rem; font-weight: 650; }
.field > small, .field-hint, .help-text { color: var(--muted); font-size: .84rem; font-weight: 450; line-height: 1.45; }
.field input:not([type='checkbox'], [type='radio']), .field select, .field textarea,
.lookup-form > input:not([type='checkbox'], [type='radio']) {
  display: block;
  width: 100%;
  min-width: 0;
  min-height: 3rem;
  padding: .68rem .8rem;
  border: 1px solid #d5dfd5;
  border-radius: .7rem;
  background-color: #fbfcf9;
  color: var(--ink);
  font-size: 1rem;
  font-weight: 460;
}

.field select {
  appearance: none;
  padding-right: 2.15rem;
  background-image: linear-gradient(45deg, transparent 50%, #567065 50%), linear-gradient(135deg, #567065 50%, transparent 50%);
  background-position: calc(100% - 1rem) 52%, calc(100% - .7rem) 52%;
  background-size: .3rem .3rem;
  background-repeat: no-repeat;
}

.field textarea { min-height: 5.5rem; resize: vertical; }
.field input::placeholder, .field textarea::placeholder, .lookup-form > input::placeholder { color: #66766f; }
.field :is(input, select, textarea):focus-visible, .lookup-form > input:focus-visible { outline-offset: 1px; }
.field input[type='file'] { font-size: .9rem; }
.field input[type='file']::file-selector-button {
  margin-right: .75rem;
  padding: .4rem .65rem;
  border: 0;
  border-radius: .4rem;
  background: var(--soft-green);
  color: var(--ink);
  font-weight: 650;
  cursor: pointer;
}

.lookup-result { margin-top: .85rem; }
.lookup-result:empty { display: none; }
.lookup-result > :is(article, div), .result-card {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
  padding: .9rem 1rem;
  border: 1px solid var(--line);
  border-radius: .8rem;
  background: var(--soft-green);
}

.lookup-result > * + * { margin-top: .55rem; }
.lookup-result :is(.is-stolen, .result-danger) { border-color: #ead1c8; background: var(--danger-bg); }
.lookup-result > div:not(.lookup-match):has(> svg) { display: grid; grid-template-columns: auto minmax(0, 1fr); justify-content: initial; gap: .22rem .52rem; }
.lookup-result > div:not(.lookup-match):has(> svg) p { grid-column: 2; }
.lookup-result > .lookup-match { min-height: 4.3rem; }
.lookup-result > .lookup-match > div { display: flex; flex-wrap: wrap; align-items: center; gap: .37rem .55rem; }
.lookup-match p { flex-basis: 100%; }
.lookup-stolen > .lookup-match:has(.pill-stolen) { border-color: #ead1c8; background: var(--danger-bg); }
.lookup-result h3 { font-size: 1.05rem; letter-spacing: -.02em; }
.lookup-result p { font-size: .92rem; }
.lookup-result img { width: 3.3rem; height: 3.3rem; object-fit: cover; border-radius: .5rem; }

.quick-section { margin-top: 2.1rem; }
.action-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; margin: 0 0 2.85rem; }
.action-card {
  display: flex;
  flex-direction: column;
  align-items: start;
  gap: .7rem;
  min-width: 0;
  padding: 1.35rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.action-icon {
  display: inline-grid;
  width: 2.6rem;
  height: 2.6rem;
  flex: none;
  place-items: center;
  border-radius: .72rem;
  background: #edf5da;
  color: var(--forest);
}

.action-icon svg { width: 1.3rem; height: 1.3rem; }
.action-card:nth-child(2) .action-icon { background: #f6eee1; }
.action-card:nth-child(3) .action-icon { background: #e8f1ec; }
.action-card h3 { font-size: 1.22rem; letter-spacing: -.035em; }
.action-card p { margin-top: -.23rem; font-size: .95rem; }
.action-link {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  min-height: 2rem;
  margin: auto 0 -.3rem;
  padding: .2rem 0;
  border: 0;
  background: transparent;
  color: #274e3f;
  font-size: .92rem;
  font-weight: 760;
  text-align: left;
  text-decoration: underline;
  text-underline-offset: .22em;
  cursor: pointer;
}

.action-link:hover { color: #111f18; }
.workspace { display: grid; grid-template-columns: minmax(0, 1fr); gap: .75rem; margin: 0 0 3rem; }
.workspace-heading { align-items: center; margin-bottom: .1rem; }
.workspace-tabs { display: flex; flex-wrap: wrap; gap: .25rem; padding: .2rem 0; }
.workspace-tabs button { min-height: 2.5rem; padding: .4rem .75rem; border: 1px solid transparent; border-radius: .65rem; background: transparent; color: var(--muted); font-size: .9rem; font-weight: 680; cursor: pointer; }
.workspace-tabs button:hover { background: var(--soft-green); color: var(--ink); }
.workspace-tabs button[aria-pressed='true'] { border-color: #dfe8d4; background: #e8efdf; color: var(--ink); }
.section-panel { min-width: 0; }
.section-panel .section-head:last-child { margin-bottom: 0; }
.record-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(13.5rem, 100%), 1fr)); gap: .8rem; }
.record-card { min-width: 0; overflow: hidden; border: 1px solid var(--line); border-radius: .9rem; background: #fbfcfa; }
.record-card :is(.record-photo, .record-placeholder) { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; background: var(--soft-green); }
.record-card .record-placeholder { display: grid; place-items: center; color: #3c6353; }
.record-card .record-placeholder svg { width: 2.4rem; height: 2.4rem; }
.record-card > .record-body, .record-card > .record-content { display: grid; gap: .45rem; padding: .9rem; }
.record-card .record-head { display: flex; flex-wrap: wrap; align-items: start; justify-content: space-between; gap: .4rem; }
.record-card h3 { font-size: 1.1rem; letter-spacing: -.025em; overflow-wrap: anywhere; }
.record-card p { font-size: .88rem; overflow-wrap: anywhere; }
.record-card p svg { margin-right: .3rem; }
.record-frame { font-variant-numeric: tabular-nums; }
.record-card .record-actions { display: flex; flex-wrap: wrap; gap: .35rem; margin-top: .38rem; }
.record-card .record-actions .button { min-height: 2.3rem; padding: .35rem .62rem; font-size: .85rem; }
.record-card .record-actions .action-link { margin: 0 .4rem 0 0; }
.empty-state { display: grid; grid-column: 1 / -1; justify-items: start; gap: .45rem; padding: 1.15rem; border: 1px dashed #cbd8cb; border-radius: .85rem; background: #fbfcf8; }
.empty-state h3 { font-size: 1.05rem; letter-spacing: -.025em; }
.empty-state p { max-width: 66ch; font-size: .94rem; }
.empty-state .action-icon { margin-bottom: .2rem; }
.empty-state .button { margin-top: .2rem; }
.notification-list { display: grid; gap: .7rem; margin: 0; padding: 0; list-style: none; }
.notification-list li { display: flex; align-items: start; gap: .85rem; padding: .9rem; border: 1px solid var(--line); border-radius: .75rem; background: #fbfcfa; }
.notification-list li > div { min-width: 0; overflow-wrap: anywhere; }
.notification-list p, .notification-list time { color: var(--muted); font-size: .88rem; }

.pill {
  display: inline-flex;
  align-items: center;
  gap: .25rem;
  max-width: 100%;
  padding: .2rem .52rem;
  border-radius: 999px;
  background: var(--soft-green);
  color: #345748;
  font-size: .85rem;
  font-weight: 670;
  line-height: 1.4;
}

.pill:is(.stolen, .pill-stolen, .danger, [data-status='stolen']) { background: var(--danger-bg); color: var(--danger); }
.pill:is(.recovered, .pill-recovered, [data-status='recovered']) { background: #e6f3d7; color: #3d5c26; }
.pill:is(.found, .pill-found, [data-status='found']) { background: #e5eff3; color: #335967; }

.dialog {
  width: min(37rem, 100% - 2rem);
  max-height: calc(100% - 2rem);
  margin: auto;
  padding: clamp(1.2rem, 4vw, 1.8rem);
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: 1.2rem;
  background: var(--surface);
  color: var(--ink);
  box-shadow: 0 25px 95px #0c211d4a;
  overscroll-behavior: contain;
}

.dialog::backdrop { background: #0c211da8; }
.dialog-head { display: flex; align-items: start; justify-content: space-between; gap: .75rem; margin-bottom: 1.15rem; }
.dialog-head h2 { font-size: clamp(1.55rem, 5vw, 2rem); }
.dialog-head p { margin-top: .38rem; }
.dialog-head .icon-button { width: 2.4rem; min-height: 2.4rem; border-color: var(--line); }
.dialog form, .form-grid { display: grid; gap: .85rem; }
.form-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.form-grid > .full-width, .form-grid > .wide, .form-grid > .field-wide { grid-column: 1 / -1; }
.dialog-actions { display: flex; flex-wrap: wrap; justify-content: end; gap: .5rem; margin-top: .4rem; }
.dialog .form-error, .form-error { color: var(--danger); font-size: .9rem; }
.dialog .form-error:empty, .form-error:empty { display: none; }
.form-photo-preview { max-height: 11rem; overflow: hidden; border-radius: .75rem; background: #edf3e9; object-fit: contain; }
.photo-field { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: .55rem .7rem; padding: .85rem; border: 1px dashed #b9cbb9; border-radius: .8rem; background: #f7faf4; cursor: pointer; }
.photo-field > svg { width: 1.5rem; height: 1.5rem; color: #375e4d; }
.photo-field > span { display: grid; gap: .08rem; }
.photo-field small, .choice-button small { color: var(--muted); font-size: .85rem; }
.photo-field input[type='file'] { grid-column: 1 / -1; width: 100%; min-width: 0; color: var(--muted); font-size: .9rem; cursor: pointer; }
.photo-field input[type='file']::file-selector-button { margin-right: .6rem; padding: .42rem .65rem; border: 1px solid #cbd9cb; border-radius: .42rem; background: var(--surface); color: var(--ink); font-weight: 650; cursor: pointer; }
.location-field { display: grid; justify-items: start; gap: .24rem; }
.location-field .field { width: 100%; }
.location-field .action-link { margin: 0; }
.location-status { color: var(--muted); font-size: .85rem; }
.location-status:empty { display: none; }
.form-current, .account-note { display: flex; align-items: start; gap: .65rem; padding: .8rem; border-radius: .76rem; background: var(--soft-green); }
.form-current { flex-wrap: wrap; justify-content: space-between; margin-bottom: .8rem; }
.form-current span, .account-note p { overflow-wrap: anywhere; color: var(--muted); font-size: .94rem; }
.account-note > svg { margin-top: .13rem; }
.account-note + .dialog-actions, .choice-list + .dialog-actions { margin-top: 1rem; }
.choice-list { display: grid; gap: .52rem; }
.choice-button, .match-row { display: flex; align-items: center; gap: .7rem; width: 100%; padding: .72rem; border: 1px solid var(--line); border-radius: .7rem; background: #fbfcf9; text-align: left; }
.choice-button { cursor: pointer; }
.choice-button:hover { border-color: #b7c5b9; background: var(--soft-green); }
.choice-button > span { display: grid; gap: .15rem; overflow-wrap: anywhere; }
.match-row { justify-content: space-between; }
.match-row p { overflow-wrap: anywhere; font-size: .9rem; }
.match-row .pill { flex: none; }

.flyer { display: grid; gap: .9rem; justify-items: start; padding: 1.1rem; overflow: hidden; border: 1px solid var(--line); border-radius: .8rem; background: #f8faf5; }
.flyer h3 { margin: .2rem 0; font-size: clamp(1.8rem, 6vw, 2.65rem); overflow-wrap: anywhere; }
.flyer img { width: 100%; max-height: 13rem; border-radius: .55rem; object-fit: contain; }
.flyer-contact { margin: .85rem 0; }
.flyer-printed-contact { display: none; }

.toast {
  position: fixed;
  z-index: 6;
  right: 1.5rem;
  bottom: 1.25rem;
  width: max-content;
  max-width: min(28rem, 100% - 3rem);
  padding: .78rem 1rem;
  border-radius: .75rem;
  background: var(--forest);
  color: #fff;
  box-shadow: 0 8px 30px #132a2444;
  font-size: .92rem;
  font-weight: 620;
}

.toast:empty { display: none; }
.footer { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: .68rem; padding: 1.25rem 0; border-top: 1px solid var(--line); color: var(--muted); font-size: .9rem; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: .68rem; }
.footer .brand { font-size: 1rem; }
.footer .brand-mark { width: 1.65rem; height: 1.65rem; border-radius: .5rem; }
.footer .brand-mark svg { width: 1rem; height: 1rem; }
.footer a:hover { text-decoration: underline; text-underline-offset: .2rem; }
.noscript { padding: 1rem; text-align: center; }

@media (max-width: 62rem) {
  .topbar-inner { gap: 1.25rem; }
  .hero { grid-template-columns: 1.04fr 1fr; min-height: 24.5rem; }
  .hero-content { gap: 1rem; }
  .nav-links { gap: 1rem; }
}

@media (max-width: 49rem) {
  html { scroll-padding-top: 5rem; }
  .shell, .topbar-inner, .footer-inner { width: min(100% - 2rem, 73rem); }
  .topbar-inner { min-height: 4rem; gap: .8rem; }
  .nav-links { display: none; }
  .hero { grid-template-columns: 1fr 1fr; min-height: 23.5rem; margin-top: 1rem; border-radius: 1.2rem; }
  .hero h1 { font-size: clamp(2.8rem, 7vw, 3.85rem); }
  .hero-content { padding-left: 1.65rem; }
  .hero-actions .button { min-height: 2.65rem; padding-inline: .75rem; }
  .action-grid { gap: .65rem; }
  .action-card { padding: .95rem; }
}

@media (max-width: 35rem) {
  .mobile-only { display: initial; }
  .desktop-only { display: none !important; }
  .shell, .topbar-inner, .footer-inner { width: calc(100% - 1.65rem); }
  .topbar-inner { min-height: 3.8rem; }
  .topbar-actions { gap: .35rem; }
  .topbar-actions .button { min-height: 2.35rem; padding-inline: .63rem; }
  .topbar-actions .icon-button { width: 2.35rem; min-height: 2.35rem; }
  .brand { gap: .46rem; font-size: 1.13rem; }
  .brand-mark { width: 2rem; height: 2rem; }
  .brand-mark svg { width: 1.23rem; height: 1.23rem; }
  .hero { grid-template-columns: 1fr; grid-template-rows: auto clamp(9.25rem, 40vw, 13.5rem); margin-bottom: 1.25rem; }
  .hero-content { gap: .7rem; padding: 1.5rem 1.35rem 1.15rem; }
  .hero h1 { max-width: 12ch; font-size: clamp(2.5rem, 10vw, 3.6rem); }
  .hero p { font-size: 1rem; }
  .hero-media::after { background: linear-gradient(180deg, var(--forest) 0%, rgb(19 42 36 / .25) 24%, transparent 55%); }
  .hero-media > img { object-position: center 52%; }
  .hero-media .media-caption { right: .8rem; bottom: .65rem; }
  .section-head { align-items: start; }
  .section-head > .button { min-height: 2.45rem; padding: .45rem .62rem; font-size: .85rem; }
  .lookup-form { grid-template-columns: minmax(0, 1fr); }
  .lookup-form .button { width: 100%; }
  .action-grid { grid-template-columns: minmax(0, 1fr); margin-bottom: 1.8rem; }
  .action-card { display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: .8rem; row-gap: .35rem; }
  .action-card > .action-icon { grid-row: 1 / span 3; }
  .action-card > :not(.action-icon) { grid-column: 2; }
  .action-card p { margin: 0; }
  .action-card .action-link { justify-self: start; }
  .workspace { gap: .85rem; margin-bottom: 2rem; }
  .workspace-tabs button { padding-inline: .58rem; }
  .form-grid { grid-template-columns: minmax(0, 1fr); }
  .toast { right: .85rem; bottom: .85rem; max-width: calc(100% - 1.7rem); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; }
}

@media print {
  body:has(#modal[open] #flyer) > :not(#modal),
  #modal:has(#flyer) .dialog-head,
  #modal-body:has(#flyer) > :not(.flyer, .flyer-printed-contact) { display: none !important; }
  #modal:has(#flyer) { position: static; width: 100%; max-height: none; padding: 0; overflow: visible; border: 0; border-radius: 0; box-shadow: none; }
  #modal:has(#flyer)::backdrop { display: none; }
  .flyer { padding: 1.2rem 0; border: 0; border-bottom: 1px solid #333; border-radius: 0; background: #fff; break-inside: avoid; }
  .flyer img { max-height: 120mm; object-position: left; }
  .flyer-printed-contact:not(:empty) { display: block; margin-top: .7rem; color: #111; font-weight: 650; }
}
