@font-face {
  font-family: "DM Sans";
  src: url("/media/dm-sans.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 1000;
  font-display: swap;
}
@font-face {
  font-family: Newsreader;
  src: url("/media/newsreader.woff2") format("woff2");
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
}
:root {
  --page: #f9f4e9;
  --paper: #fffdf7;
  --ink: #18352e;
  --paragraph: #31473d;
  --muted: #4e5b50;
  --rule: #c9c8b3;
  --soft: #e5e7d9;
  --light-ink: #e8ecdd;
  --rust: #8b3926;
  --forest: #19413a;
  --heading: Newsreader, "Iowan Old Style", Georgia, serif;
  font-family: "DM Sans", system-ui, sans-serif;
  line-height: 1.58;
  color: var(--ink);
  background: var(--page);
  color-scheme: light;
}
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; }
h1, h2, h3, p, figure, dl, dd { margin: 0; }
h1, h2, h3 { font-family: var(--heading); font-weight: 550; letter-spacing: -.039em; }
h1 { font-size: clamp(3.15rem, 7.1vw, 6.9rem); line-height: .92; }
h2 { font-size: clamp(2rem, 4vw, 3.3rem); line-height: 1.01; }
h3 { font-size: 1.75rem; line-height: 1.08; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .25em; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid #a14728; outline-offset: 4px; }
button, input, select, textarea { font: inherit; }
button, select, summary { cursor: pointer; }
.frame { width: min(100% - clamp(2rem, 9.5vw, 10rem), 1230px); margin: 0 auto; }
.skip { position: fixed; z-index: 2; left: .65rem; top: .65rem; transform: translateY(-170%); padding: .7rem 1rem; background: var(--paper); }
.skip:focus { transform: none; }
.site-head { border-bottom: 1px solid var(--rule); }
.top, .foot { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.top { min-height: 78px; padding-block: .65rem; }
.brand { display: flex; align-items: center; gap: .55rem; text-decoration: none; font-weight: 750; font-size: 1.12rem; letter-spacing: -.04em; white-space: nowrap; }
.brand img { flex: 0 0 auto; }
nav { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem 1.15rem; font-size: .93rem; }
nav a:not(.button) { font-weight: 620; }
nav a[aria-current="page"]:not(.button) { text-decoration-thickness: 2px; }
.button {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: .68rem 1.05rem;
  border: 1px solid var(--forest);
  border-radius: .28rem;
  background: var(--forest);
  color: white;
  font-size: .98rem;
  font-weight: 665;
  line-height: 1.25;
  text-decoration: none;
  transition: background-color 140ms, border-color 140ms;
}
.button.small { min-height: 41px; padding: .6rem .83rem; font-size: .88rem; }
.button:hover { background: #0b2a25; border-color: #0b2a25; }
.button.outline { background: transparent; color: var(--ink); border-color: #6b7a67; }
.button.outline:hover { background: var(--soft); border-color: var(--ink); }
.button:disabled { opacity: .48; cursor: default; }
.button:disabled:hover { background: transparent; border-color: #6b7a67; }
.actions { display: flex; flex-wrap: wrap; gap: .75rem 1.15rem; align-items: center; }
.text-link, .text-button { font-weight: 690; }
.text-button { padding: .36rem 0; color: var(--ink); background: none; border: none; text-decoration: underline; text-underline-offset: .24em; }
.text-button:hover { color: var(--rust); }
.kicker { color: var(--rust); font-weight: 740; font-size: .79rem; letter-spacing: .1em; text-transform: uppercase; }
.lede { max-width: 38rem; color: var(--paragraph); font-size: clamp(1.06rem, 1.9vw, 1.29rem); line-height: 1.5; }
.hero { min-height: 570px; padding-block: clamp(2.45rem, 7vw, 6rem); display: grid; grid-template-columns: 1.06fr .94fr; align-items: center; gap: clamp(1.75rem, 5.35vw, 5rem); }
.hero h1 { margin-block: 1.1rem 1.18rem; }
.hero .lede { max-width: 29rem; }
.hero .actions { margin-top: 1.7rem; }
.hero-visual { position: relative; padding: .5rem .5rem 0 0; align-self: center; isolation: isolate; }
.hero-visual::before { content: ""; position: absolute; inset: 0; z-index: -1; border-top: 1px solid #a2744d; border-right: 1px solid #a2744d; }
.hero-visual img { width: 100%; max-height: 520px; object-fit: cover; aspect-ratio: 1 / 1.025; object-position: 49% center; border-radius: .16rem; }
.format-strip { background: #1e3d34; color: #fcf6e8; }
.format-inner { padding-block: clamp(1.9rem, 5vw, 3.6rem); display: grid; grid-template-columns: minmax(14rem, .85fr) 1.85fr; gap: 1.5rem 3.2rem; align-items: start; }
.format-inner h2 { font-size: clamp(1.85rem, 3.15vw, 3.05rem); }
.format-inner dl { display: grid; grid-template-columns: repeat(3, 1fr); gap: .95rem 1.5rem; }
.format-inner dl > div { border-top: 1px solid #789085; padding-top: .66rem; }
.format-inner dt { font-weight: 730; margin-bottom: .3rem; }
.format-inner dd { color: var(--light-ink); font-size: .98rem; }
.schedule { display: grid; grid-template-columns: 1.05fr 1fr; align-items: start; gap: clamp(2rem, 7vw, 7rem); padding-block: clamp(2.8rem, 7vw, 6rem); }
.schedule h2 { max-width: 27rem; }
.schedule > div p { color: var(--paragraph); margin: .85rem 0 1rem; max-width: 29rem; }
.status-example { background: var(--paper); border-top: 3px double #aa6743; border-bottom: 1px solid var(--rule); padding: 1.4rem clamp(1rem, 3vw, 2.2rem); }
.status-example h3 { margin: .42rem 0 .85rem; }
.status-example dl { display: grid; gap: .55rem; margin-bottom: .75rem; }
.status-example dl div { display: grid; grid-template-columns: minmax(6.3rem, .6fr) 1.55fr; gap: .55rem; }
.status-example dt { font-weight: 700; }
.status-example dd, .status-example > p:last-child { color: var(--paragraph); }
.site-foot { border-top: 1px solid var(--rule); }
.foot { min-height: 77px; padding-block: .9rem; font-size: .92rem; }
.foot > p, .foot > a:first-child { font-weight: 690; }
.work-head { padding-block: clamp(2.1rem, 6vw, 4.1rem) clamp(1.6rem, 4vw, 2.8rem); }
.work-head h1 { font-size: clamp(2.75rem, 6.1vw, 5.6rem); max-width: 58rem; }
.work-head .lede { margin-top: .95rem; }
.work-head .kicker { margin-bottom: .55rem; }
.guide article { max-width: 46rem; padding: .75rem 0 4.5rem; }
.guide article h2 { font-size: clamp(1.9rem, 3.65vw, 2.8rem); margin-top: 2rem; margin-bottom: .55rem; }
.guide article h2:first-child { margin-top: 0; }
.guide article p { color: var(--paragraph); margin-bottom: .95rem; }
.references { margin: 1.6rem 0; padding-left: 1.2rem; }
.references li { margin-bottom: .42rem; }
.workbench { padding-bottom: clamp(3rem, 7vw, 6rem); }
.draft-bar { display: flex; align-items: end; justify-content: space-between; gap: .85rem 1.4rem; flex-wrap: wrap; padding-block: .9rem; border-block: 1px solid var(--rule); margin-bottom: 1.45rem; }
.draft-open { flex: 1 1 25rem; max-width: 34rem; }
.draft-open > div { display: flex; align-items: stretch; gap: .55rem; }
.draft-open select { margin: 0; min-width: 6rem; }
.draft-open button { flex: 0 0 auto; }
.draft-open > label { margin-bottom: .3rem; }
.desk-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .92fr); gap: clamp(1.25rem, 4vw, 3.25rem); align-items: start; }
fieldset { margin: 0 0 1.18rem; min-width: 0; padding: 1rem clamp(.8rem, 2.15vw, 1.4rem) 1.2rem; border: 1px solid var(--rule); background: #fcf9f0; border-radius: .23rem; }
legend { padding-inline: .35rem; font-family: var(--heading); font-size: 1.55rem; font-weight: 630; line-height: 1.12; }
label { display: block; min-width: 0; font-weight: 665; font-size: .91rem; }
fieldset label + label, fieldset label + .field-row, fieldset .field-row + .field-row, #agenda-fields + label { margin-top: .82rem; }
.field-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .65rem; }
.field-row label + label { margin: 0; }
input, select, textarea {
  border: 1px solid #9ca393;
  border-radius: .24rem;
  background-color: var(--paper);
  color: var(--ink);
  font-size: 1rem;
  font-weight: 450;
  min-height: 42px;
  padding: .49rem .56rem;
  margin-top: .25rem;
  width: 100%;
  min-width: 0;
  display: block;
}
input::placeholder, textarea::placeholder { color: #657268; opacity: 1; }
select { appearance: auto; padding-inline-end: .35rem; text-overflow: ellipsis; }
input[type="date"], input[type="time"] { min-inline-size: 0; appearance: none; }
textarea { resize: vertical; }
[aria-invalid="true"] { border-color: var(--rust); box-shadow: inset 0 0 0 1px var(--rust); }
.hint { color: var(--muted); font-size: .87rem; font-weight: 480; line-height: 1.48; }
p.hint { margin-top: .35rem; }
fieldset .hint + label, fieldset .hint + .field-row { margin-top: .7rem; }
label .hint { margin-left: .21rem; }
.message { padding: .85rem 1rem; border-inline-start: 3px solid var(--rust); border-radius: .15rem; margin-bottom: .9rem; }
.message.caution { color: #652819; background: #f7e5db; }
.message .actions { margin-top: .55rem; }
.message h2 { font-size: 1.6rem; }
.message ul { padding-left: 1.25rem; margin-bottom: 0; }
.output { min-width: 0; }
.preview-top { display: flex; align-items: start; justify-content: space-between; gap: .75rem; padding: .9rem 1.05rem .75rem; background: var(--forest); color: #fff7e9; border-radius: .24rem .24rem 0 0; }
.preview-top h2 { font-size: clamp(1.4rem, 2.8vw, 1.85rem); font-weight: 520; }
.status { font-size: .79rem; letter-spacing: .012em; font-weight: 730; border: 1px solid #b0c2b3; padding: .16rem .49rem; border-radius: .22rem; text-wrap: nowrap; }
.status[data-state="canceled"], .status[data-state="rescheduled"] { color: #3c1b11; background: #ffc59c; border-color: #ffc59c; }
.paper { background: var(--paper); border: 1px solid var(--rule); border-top: none; padding: clamp(1rem, 2.8vw, 2rem); min-height: 13rem; overflow-wrap: anywhere; }
.paper h2 { font-size: clamp(1.9rem, 3.85vw, 3.15rem); margin: .3rem 0 .6rem; }
.paper h3 { font-size: 1.52rem; margin: .85rem 0 .25rem; }
.paper > h3:first-child { margin-top: 0; }
.paper h2 + p strong { background: #e0e9de; border-radius: .16rem; padding: .16rem .44rem; font-size: .84rem; }
.paper p { margin-top: .28rem; }
.paper dl { padding: .7rem 0; margin-block: .7rem; border-block: 1px solid var(--rule); }
.paper dt { font-weight: 720; }
.paper dd + dt { margin-top: .41rem; }
.paper ol { padding-left: 1.2rem; margin: .26rem 0 .45rem; }
.paper a { color: var(--forest); }
.packet, .history { margin-top: .95rem; border-top: 1px solid var(--rule); padding-block: .9rem .4rem; }
.packet h2, .history h2 { font-size: 1.74rem; }
.exports { margin-block: .75rem; gap: .48rem; }
.formats { border-block: 1px solid var(--rule); padding-block: .57rem; }
.formats label { margin-top: .6rem; }
#output-content { font: .84rem/1.48 ui-monospace, monospace; }
#copy-status:empty, #editor-status:empty { display: none; }
.history ol { margin: .62rem 0 0; padding: 0; list-style: none; }
.history li { padding: .65rem 0; border-top: 1px solid var(--rule); }
.history strong { font-size: .93rem; }
.history p { font-size: .94rem; }
#packet:focus, #errors:focus { outline: 2px solid #a14728; outline-offset: .28rem; }
@media (min-width: 1140px) { .hero-visual img { max-height: 475px; } }
@media (max-width: 900px) {
  .hero { min-height: 470px; gap: 1.65rem; }
  .format-inner { gap: 1.5rem; }
  .draft-open { max-width: none; }
}
@media (max-width: 710px) {
  .hero, .schedule, .format-inner, .desk-grid { grid-template-columns: 1fr; }
  .hero { min-height: auto; gap: 1.72rem; }
  .hero-visual img { max-height: none; aspect-ratio: 4 / 3; }
  .format-inner h2 br { display: none; }
  .desk-grid { gap: 1.6rem; }
}
@media (max-width: 460px) {
  .top { align-items: start; min-height: 0; padding-block: .65rem; }
  .top nav { justify-content: end; gap: .43rem .7rem; }
  .top nav a { font-size: .86rem; }
  .top .brand { align-self: center; max-width: 100%; }
  .brand img { width: 31px; }
  .format-inner dl { grid-template-columns: 1fr; }
  .draft-bar { padding-block: .75rem; }
  .draft-open > div { flex-wrap: wrap; }
  .draft-open button { flex: 1 1 auto; }
  .field-row { gap: .5rem; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition-duration: 0s !important; } }
