@font-face {
  font-family: 'DM Sans';
  src: url('./dm-sans.woff2') format('woff2');
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: 'Instrument Serif';
  src: url('./instrument-serif-italic.woff2') format('woff2');
  font-style: italic;
  font-weight: 400;
  font-display: swap;
}

:root {
  color-scheme: light;
  --grid-width: 76rem;
  --ink: #142e24;
  --muted: #53645a;
  --paper: #f7f7ef;
  --green: #153f31;
  --line: #cbd2c4;
  --accent: #d6fa76;
  font-family: "DM Sans", "Helvetica Neue", sans-serif;
  font-size: 100%;
  line-height: 1.5;
  background: var(--paper);
  color: var(--ink);
}
* { box-sizing: border-box; }
.status-media { display:grid; gap:.75rem; margin-top:1rem; }
.status-media img, .status-media video { display:block; width:100%; max-height:58vh; object-fit:contain; background:var(--ink); border-radius:.55rem; }
body { margin: 0; min-height: 100vh; display: flex; flex-direction: column; }
header, footer { border-color: var(--line); border-style: solid; border-width: 0; }
header { border-bottom-width: 1px; background: var(--paper); }
nav, footer, main { width: min(calc(100% - 4rem), var(--grid-width)); margin: 0 auto; }
nav, footer, nav div, footer div, .actions { display: flex; align-items: center; gap: 1.2rem; }
nav, footer { justify-content: space-between; }
nav { min-height: 4.6rem; }
header nav, header nav > div { flex-wrap: wrap; row-gap: .35rem; }
header nav { padding-block: .35rem; }
header nav > div { max-width: 100%; }
nav div { gap: 1.5rem; font-size: .9rem; font-weight: 650; }
a { color: var(--green); text-underline-offset: .2em; }
nav a, .brand, footer a { text-decoration: none; }
nav a:hover, footer a:hover { text-decoration: underline; }
.brand { display: flex; align-items: center; gap: .6rem; font-size: 1.45rem; font-weight: 750; letter-spacing: -.065em; }
.nav-work, button, .button { border: 1px solid var(--green); border-radius: .57rem; padding: .55rem 1rem; color: var(--ink); background: transparent; font: inherit; font-weight: 600; }
.nav-work { display: inline-flex; align-items: center; gap: 1.2rem; background: var(--accent); border-color: #a9c85d; }
button, .button { cursor: pointer; }
button, .button, nav a { transition: background-color .15s, color .15s, border-color .15s; }
.button { display: inline-flex; gap: 1rem; align-items: center; text-decoration: none; }
button:hover, .button:hover { background: #dce7d4; }
.nav-work:hover { background: #c9ef60; text-decoration: none; }
.primary { background: var(--green); color: #fff; }
.primary:hover { background: #27584b; }
button:disabled { opacity: .48; cursor: default; }
:focus-visible { outline: 3px solid #51855a; outline-offset: 3px; }
main { flex: 1; padding: clamp(2.4rem, 5.2vw, 4.7rem) 0; }
h1, h2, h3, p, dl { margin-top: 0; }
h1 { font-size: clamp(2.35rem, 5vw, 4.5rem); font-weight: 550; line-height: 1.03; letter-spacing: -.07em; margin-bottom: 1.3rem; }
h2 { font-size: clamp(1.35rem, 2.4vw, 1.8rem); font-weight: 580; line-height: 1.12; letter-spacing: -.052em; margin-bottom: .85rem; }
h3 { font-size: 1.1rem; }
p { margin-bottom: 1rem; }
.lede { max-width: 35rem; font-size: clamp(1.1rem, 2.4vw, 1.35rem); color: var(--muted); }
footer { border-top-width: 1px; padding: 1.6rem 0; color: var(--muted); font-size: .875rem; }
footer > span { color: var(--ink); font-weight: 750; letter-spacing: -.045em; font-size: 1.12rem; }
footer > div { flex-wrap: wrap; }
#auth-title { overflow-wrap: anywhere; }
.narrow, .prose { max-width: 43rem; margin: 0 auto; }
.prose h2 { margin-top: 2.15rem; }
.prose .lede { line-height: 1.45; }
.prose a[href^="mailto:"] { overflow-wrap: anywhere; }
.prose li { margin: .6rem 0; }
code, pre { font-family: "IBM Plex Mono", ui-monospace, monospace; font-size: .9em; }
pre { white-space: pre-wrap; overflow-wrap: anywhere; background: #e9ede3; border-radius: .3rem; padding: 1rem; }
.panel, details { margin: 0 auto 1.25rem; max-width: 52rem; }
.panel, details, .narrow { padding: clamp(1.25rem, 4vw, 2rem); border: 1px solid var(--line); border-radius: .8rem; background: #fffef9; }
details summary { cursor: pointer; font-weight: 600; }
details[open] summary { margin-bottom: 1rem; }
.danger, .error { color: #872d25; }
.error { max-width: 52rem; margin: 1rem auto; white-space: pre-line; }
.hint { font-size: .92rem; color: var(--muted); }
label, fieldset { display: block; margin-bottom: 1rem; }
input:not([type=checkbox]), select, textarea { display: block; width: 100%; background: #fff; padding: .65rem .75rem; border: 1px solid #9aa89d; border-radius: .25rem; font: inherit; color: var(--ink); margin-top: .3rem; }
textarea { resize: vertical; }
input[type=checkbox] { width: 1.15rem; height: 1.15rem; accent-color: var(--green); flex: none; }
fieldset { border: 1px solid var(--line); padding: .9rem; border-radius: .3rem; }
fieldset p:last-child { margin-bottom: 0; }
.check { display: flex; gap: .55rem; align-items: baseline; margin-bottom: .5rem; }
.check:has(:disabled) { color: #748279; }
.actions, .rows li { flex-wrap: wrap; }
.pair, .review-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.review-grid { gap: clamp(1.5rem, 5vw, 4rem); }
.previews { display: flex; flex-wrap: wrap; gap: .6rem; margin: 1rem 0; }
.previews img, .previews video { display: block; width: min(100%, 9rem); max-height: 15rem; object-fit: contain; border-radius: .25rem; background: #e1e5da; }
.large img, .large video { width: 100%; max-height: 65vh; }
.rows { list-style: none; padding: 0; }
.rows li { display: flex; align-items: center; justify-content: space-between; gap: .75rem; padding: .7rem 0; border-bottom: 1px solid var(--line); overflow-wrap: anywhere; }
.quiet { border-color: transparent; text-decoration: underline; text-underline-offset: .2rem; }
.back { display: inline-block; margin-bottom: 1rem; }
[hidden] { display: none !important; }
@media (max-width: 700px) {
  nav, main, footer { width: min(calc(100% - 2rem), 38rem); }
  nav { min-height: 3.8rem; }
  nav div { gap: .8rem; font-size: .83rem; }
  .brand { font-size: 1.25rem; gap: .43rem; }
  .brand img { width: 29px; height: 29px; }
  .nav-work { gap: .6rem; padding: .5rem .7rem; }
  footer div { gap: .7rem; }
  .review-grid, .pair { grid-template-columns: 1fr; }
  .pair { gap: 0; }
}
a[aria-disabled=true] { opacity: .55; cursor: default; }
#provider-note { margin: .75rem 0 0; }

@media (max-width: 360px) {
  nav div { gap: .5rem; }
  footer { align-items: flex-start; }
  footer div { justify-content: flex-end; gap: .35rem .65rem; }
}
@media (prefers-reduced-motion: reduce) {
  button, .button, nav a { transition: none; }
}

.delivery-history { padding-left:1.3rem; margin-top:.8rem; }
.delivery-history li { padding:.35rem 0 .5rem .2rem; }
.delivery-history strong, .delivery-history time { display:block; }
.delivery-history time { font-size:.82rem; color:var(--muted); }
#who-requested { overflow-wrap:anywhere; }
.delivery-history p { margin:.25rem 0 0; overflow-wrap:anywhere; }

.connection-identities {display:grid;gap:.15rem;padding:1rem;border:1px solid var(--line);border-radius:.65rem;}
.connection-identities dt {font-size:.85rem;color:var(--muted);}
.connection-identities dd {margin:0;font-size:1.2rem;font-weight:600;overflow-wrap:anywhere;}
.connection-identities dd + dt {margin-top:.65rem;}
#profile-attest {overflow-wrap:anywhere;}

#receipt-destination,#review-destination,#ig-destination {overflow-wrap:anywhere;}

.history-options {min-width:0; margin:1.25rem 0 .5rem; padding:0; border:0;}
.history-options legend {font-weight:700;}
.history-option {padding:.7rem 0; border-bottom:1px solid var(--line); overflow-wrap:anywhere;}
.history-option .check {display:flex; align-items:baseline; gap:.65rem; margin:0; cursor:pointer;}
.history-option .check input {width:auto; flex:none;}
.history-option small {display:block; margin:.25rem 0 0 1.6rem;}
