@font-face {
  font-family:"Fredoka";
  src:url("/assets/Fredoka.ttf") format("truetype");
  font-weight:400 700;
  font-display:swap;
}

@font-face {
  font-family:"Nunito";
  src:url("/assets/Nunito.ttf") format("truetype");
  font-weight:400 800;
  font-display:swap;
}

@font-face {
  font-family:"DM Sans";
  src:url("/assets/DMSans.ttf") format("truetype");
  font-weight:100 1000;
  font-display:swap;
}

:root {
  color-scheme:light;
  --paper:#fff6ec;
  --card:#fffdf9;
  --ink:#3e2723;
  --muted:#6d5147;
  --pine:#2d6a4f;
  --red:#d94b43;
  --gold:#f4b942;
  --line:#eddac4;
  --cream:#fff5db;
  --display:"Fredoka",ui-rounded,"SF Pro Rounded","Nunito",sans-serif;
  --sans:"Nunito",ui-rounded,"DM Sans",Arial,sans-serif;
  --mono:"Space Mono",ui-monospace,Menlo,monospace;
}

* {
  box-sizing:border-box;
}

html {
  scroll-behavior:smooth;
}

body {
  margin:0;
  color:var(--ink);
  background:
    radial-gradient(circle at 18px 18px,rgba(255,255,255,.72) 2px,transparent 2.6px) 0 0/36px 36px,
    radial-gradient(ellipse at 18% 12%,#fffbf5,transparent 58%),
    radial-gradient(ellipse at 86% 14%,#ffe9df 0,transparent 48%),
    var(--paper);
  font-family:var(--sans);
  line-height:1.55;
}

button,input,textarea {
  font:inherit;
}

button,a {
  touch-action:manipulation;
}

button {
  cursor:pointer;
}

button:disabled {
  opacity:.6;
  cursor:wait;
}

a {
  color:inherit;
}

button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible,summary:focus-visible {
  outline:3px solid #e07a32;
  outline-offset:3px;
}

[hidden] {
  display:none!important;
}

.skip {
  position:absolute;
  left:-9999px;
}

.skip:focus {
  left:12px;
  top:12px;
  background:var(--card);
  border-radius:999px;
  z-index:9;
  padding:.6rem 1rem;
}

.mast,main,footer {
  width:min(1220px,calc(100% - 88px));
  margin:auto;
}

.mast {
  min-height:80px;
  padding:12px 0;
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:16px;
  border-bottom:2px dashed #e6cfb5;
}

.brand {
  display:inline-flex;
  align-items:center;
  gap:10px;
  font:600 23px/1.1 var(--display);
  letter-spacing:-.015em;
  color:var(--ink);
  text-decoration:none;
}

.brandmark {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:36px;
  height:28px;
  flex:none;
  transform:rotate(-5deg);
  transition:transform .2s ease;
}

.brand:hover .brandmark {
  transform:rotate(3deg) scale(1.06);
}

.brandmark-svg {
  display:block;
  width:100%;
  height:100%;
}

nav {
  display:flex;
  align-items:center;
  gap:14px;
  font-size:14px;
  font-weight:700;
}

.lang-switch {
  display:inline-flex;
  align-items:center;
  gap:3px;
  background:var(--card);
  border:1.5px solid #e8d3ba;
  border-radius:999px;
  padding:3px;
}

.lang-switch a {
  padding:4px 9px;
  font:700 11px/1.2 var(--sans);
  letter-spacing:.03em;
  text-decoration:none;
  border-radius:999px;
  color:var(--muted);
  transition:background .15s,color .15s;
}

.lang-switch a:hover {
  color:var(--ink);
  text-decoration:none;
}

.lang-switch a[aria-current=page] {
  background:var(--pine);
  color:#fffdf9;
}

.mast nav a {
  text-decoration:none;
}

.mast nav>#navHow:hover,footer a:hover {
  color:var(--red);
  text-decoration:underline;
  text-underline-offset:4px;
}

.nav-action,.outlined {
  border:1.5px solid #dfc5a8;
  color:var(--ink);
  background:var(--card);
  border-radius:999px;
  padding:8px 16px;
  font-size:14px;
  font-weight:700;
  box-shadow:0 2px 0 #ead5bd;
  transition:transform .12s ease,background .15s ease;
}

.nav-action:hover,.outlined:hover {
  background:#fff8ee;
  transform:translateY(-1px);
}

.spread {
  display:grid;
  grid-template-columns:0.88fr 1.12fr;
  align-items:center;
  gap:clamp(24px,4.5vw,76px);
  padding:38px 0 44px;
}

.studio {
  max-width:500px;
}

.kicker {
  display:inline-flex;
  align-items:center;
  gap:7px;
  background:#ffe7e4;
  color:#bd3931;
  padding:5px 12px;
  border-radius:999px;
  font:800 12px/1.2 var(--sans);
  margin:0 0 14px;
}

.kicker i {
  width:7px;
  height:7px;
  border-radius:50%;
  background:var(--red);
  flex:none;
}

.board-eyebrow,.machine-label,.boardfoot,.postseal,.fine,.letter-date,caption {
  font:700 10.5px/1.4 var(--sans);
  letter-spacing:.08em;
  text-transform:uppercase;
}

h1,h2,h3,p {
  overflow-wrap:break-word;
}

h1,h2,h3 {
  font-family:var(--display);
}

h1 {
  font-size:clamp(40px,4.8vw,64px);
  line-height:1.05;
  font-weight:600;
  letter-spacing:-.02em;
  margin:0 0 16px;
  color:var(--ink);
}

h1 em {
  font-style:normal;
  font-weight:600;
  color:var(--red);
}

.intro {
  color:var(--muted);
  font-size:clamp(16px,1.25vw,18px);
  font-weight:600;
  max-width:44ch;
  margin:0 0 20px;
}

.studio form {
  max-width:435px;
  background:var(--card);
  border:2px solid #eed9c0;
  border-radius:24px;
  padding:20px 22px;
  box-shadow:0 12px 28px rgba(110,68,35,.07);
}

form>label,legend,.dialoglabel {
  display:block;
  font-size:14px;
  font-weight:800;
  color:var(--ink);
}

.sub-field-label {
  margin-top:14px;
}

.opt-tag {
  font-weight:600;
  color:var(--muted);
  font-size:12px;
}

.textinput {
  display:flex;
  align-items:center;
  gap:10px;
  background:#fff8f0;
  border:1.5px solid #e6cdb2;
  border-radius:14px;
  padding:4px 12px;
  margin-top:6px;
  transition:border-color .15s,background .15s;
}

.textinput:focus-within {
  border-color:var(--pine);
  background:#fffdf9;
}

.textinput span {
  font:700 13px/1 var(--sans);
  color:#8f695c;
  background:#fcead6;
  padding:5px 8px;
  border-radius:8px;
  flex:none;
}

.textinput input {
  padding:7px 0;
  width:100%;
  font:700 18px/1.3 var(--sans);
  background:transparent;
  border:0;
  color:var(--ink);
}

.passcode-input input {
  font:600 15px/1.4 var(--sans);
  padding:8px 0;
}

.ink {
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:8px;
  border:0;
  padding:0;
  margin:15px 0 18px;
}

.ink legend {
  margin-bottom:7px;
  padding:0;
}

.ink label {
  display:inline-flex;
  align-items:center;
  gap:7px;
  font-size:13px;
  font-weight:700;
  cursor:pointer;
  min-height:32px;
  padding:4px 12px 4px 8px;
  border-radius:999px;
  background:#fff8f0;
  border:1.5px solid #ead4bc;
  transition:border-color .15s,background .15s;
}

.ink label:has(input:checked) {
  border-color:var(--pine);
  background:#eef7f1;
}

.ink input {
  position:absolute;
  opacity:0;
  width:1px;
}

.ink i {
  width:15px;
  height:15px;
  border-radius:50%;
  box-shadow:inset 0 0 0 1px rgba(0,0,0,.15);
}

.ink input:checked+i {
  outline:2px solid var(--ink);
  outline-offset:2px;
}

.ink input:focus-visible+i {
  outline:3px solid #e07a32;
  outline-offset:2px;
}

.pine {
  background:#2d6a4f;
}

.berry {
  background:#a63a50;
}

.blue {
  background:#3d5a80;
}

.actions,#activeTools {
  display:flex;
  gap:10px 14px;
  align-items:center;
  flex-wrap:wrap;
}

.primary {
  border:2px solid #b83730;
  background:var(--red);
  color:#fffdf9;
  font-weight:800;
  font-size:15px;
  padding:11px 22px;
  border-radius:999px;
  min-height:44px;
  box-shadow:0 4px 0 #9e2a24;
  transition:transform .12s ease,box-shadow .12s ease,background .15s ease;
}

.primary:hover {
  background:#c93f37;
  transform:translateY(-1px);
  box-shadow:0 5px 0 #9e2a24;
}

.primary:active {
  transform:translateY(2px);
  box-shadow:0 2px 0 #9e2a24;
}

.quiet,.textbtn {
  border:0;
  background:transparent;
  padding:6px 4px;
  text-decoration:underline;
  text-underline-offset:4px;
  color:var(--muted);
  font-weight:700;
  font-size:14px;
}

.quiet:hover,.textbtn:hover {
  color:var(--red);
}

.fine {
  font-size:12px;
  font-weight:700;
  color:var(--muted);
  letter-spacing:.01em;
  text-transform:none;
  margin:12px 0 0;
}

#activeTools {
  margin-top:14px;
  max-width:440px;
}

#shareStatus {
  font-size:13px;
  font-weight:700;
  color:var(--pine);
}

.owner-access {
  max-width:440px;
  margin-top:16px;
  border-top:1px solid var(--line);
}

.owner-access input {
  max-width:100%;
}

.desk {
  --cab:#2d6a4f;
  --section:#1e4d38;
  --brass:#ffd166;
  background:
    repeating-linear-gradient(90deg,transparent 0 18px,rgba(255,255,255,.03) 18px 20px),
    radial-gradient(circle at 50% 0,rgba(255,232,163,.16),transparent 58%),
    var(--cab);
  padding:12px clamp(15px,2.5vw,30px) 20px;
  color:var(--cream);
  position:relative;
  border:4px solid var(--section);
  border-radius:28px;
  box-shadow:0 16px 36px rgba(45,30,20,.14),0 6px 0 #e6cfb5;
}

.desk[data-ink=berry] {
  --cab:#a63a50;
  --section:#7d2638;
}

.desk[data-ink=blue] {
  --cab:#3d5a80;
  --section:#293f5c;
}

.fairy-garland {
  margin:-4px -6px 8px;
  line-height:0;
  pointer-events:none;
}

.fairy-garland svg {
  display:block;
  width:100%;
  height:24px;
  filter:drop-shadow(0 2px 5px rgba(255,224,130,.45));
}

.guide-only > .fairy-garland {
  max-width:560px;
  margin:0 0 16px;
  padding:2px 10px;
  border-radius:16px;
  background:var(--pine);
}

.machine-label,.boardfoot {
  display:flex;
  justify-content:space-between;
  align-items:center;
  color:#ffe9b8;
  font-size:10px;
  letter-spacing:.09em;
}

.machine-label {
  padding-bottom:8px;
  border-bottom:1.5px dashed rgba(255,233,184,.35);
}

.board-heading {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  margin:12px 0 16px;
}

.board-eyebrow {
  font-size:10px;
  color:#ffdf9e;
  letter-spacing:.11em;
}

.board-heading h2 {
  margin:2px 0 0;
  color:#fff9ec;
  font-size:clamp(26px,2.9vw,40px);
  font-weight:600;
  line-height:1.12;
  letter-spacing:-.01em;
  overflow-wrap:anywhere;
}

.postseal {
  width:62px;
  height:62px;
  border:2px dashed var(--brass);
  background:rgba(255,243,209,.12);
  border-radius:50%;
  display:grid;
  align-content:center;
  justify-items:center;
  line-height:1.08;
  font-size:6.5px;
  font-weight:800;
  color:#ffe599;
  transform:rotate(9deg);
  letter-spacing:.04em;
  padding:3px;
  text-align:center;
  flex:none;
}

.postseal b {
  font-size:15px;
  font-weight:700;
  color:#ffd166;
}

.doorgrid {
  display:grid;
  grid-template-columns:repeat(6,minmax(0,1fr));
  gap:10px 9px;
}

.door {
  position:relative;
  display:grid;
  place-content:center;
  padding:0;
  width:100%;
  aspect-ratio:1.16;
  background-color:var(--env,#fff1ce);
  color:var(--type,#52362a);
  border:2px solid rgba(255,255,255,.72);
  border-radius:14px;
  box-shadow:0 4px 0 rgba(20,35,28,.24);
  isolation:isolate;
  transition:transform .16s cubic-bezier(.34,1.56,.64,1),filter .15s;
}

.door:hover,.door:focus-visible {
  transform:translateY(-3px) rotate(-1.5deg);
  filter:brightness(1.03);
}

.door:before {
  content:"";
  z-index:-1;
  position:absolute;
  inset:0;
  border-radius:12px;
  background:
    linear-gradient(28deg,transparent 48.2%,rgba(125,84,56,.14) 48.8%,rgba(125,84,56,.14) 50.5%,transparent 51.2%) left top/50% 56% no-repeat,
    linear-gradient(-28deg,transparent 48.2%,rgba(125,84,56,.14) 48.8%,rgba(125,84,56,.14) 50.5%,transparent 51.2%) right top/50% 56% no-repeat;
}

.door:nth-child(4n+2) {
  --env:#ffe0e3;
  --type:#7c333f;
}

.door:nth-child(5n+3) {
  --env:#dff5e5;
  --type:#265a41;
}

.door:nth-child(7n) {
  --env:#ffe4c9;
  --type:#7d4924;
}

.door:nth-child(8n+5) {
  --env:#e0eeff;
  --type:#2c4d73;
}

.door>span {
  font:600 clamp(20px,2vw,30px)/1 var(--display);
  margin-top:4px;
  letter-spacing:-.02em;
}

.door small {
  line-height:1;
  font-size:9px;
  position:absolute;
  right:4px;
  top:4px;
  color:var(--type);
}

.door small:not(:empty) {
  display:grid;
  place-items:center;
  min-width:15px;
  height:15px;
  border:1px dashed currentColor;
  background:rgba(255,253,248,.85);
  border-radius:6px;
  font-size:10px;
  right:4px;
  top:4px;
  transform:rotate(6deg);
}

.door.has-letter:after {
  content:"♥";
  position:absolute;
  bottom:3px;
  left:50%;
  transform:translateX(-50%);
  font-size:9px;
  line-height:1;
  color:#d94b43;
}

.door.ready-letter:after {
  content:"✓";
  color:var(--pine);
  font-weight:800;
}

.ready-legend {
  margin:8px 0 0;
  font-size:12px;
}

.boardfoot {
  border-top:1.5px dashed rgba(255,233,184,.35);
  margin-top:16px;
  padding-top:10px;
  letter-spacing:.06em;
  font-size:10px;
}

.postal-progress {
  display:grid;
  grid-template-columns:repeat(24,minmax(0,1fr));
  gap:4px;
  margin-top:9px;
}

.postal-progress span {
  height:8px;
  border:1px solid rgba(255,233,184,.5);
  border-radius:999px;
}

.postal-progress .filled {
  background:#ffd166;
  border-color:#ffd166;
}

.fieldguide,.paperwork {
  border-top:2px dashed #e6cfb5;
  padding:38px 0;
}

.sectiontop h2,.paperwork h2 {
  font-size:clamp(28px,2.8vw,40px);
  font-weight:600;
  letter-spacing:-.015em;
  line-height:1.1;
  margin:0 0 22px;
}

.sectiontop .kicker,.paperwork .kicker {
  margin-bottom:10px;
}

.guidecols {
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:20px;
}

.guidecols>div {
  background:var(--card);
  border:1.5px solid #eed9c0;
  border-radius:22px;
  padding:22px;
  box-shadow:0 8px 20px rgba(110,68,35,.05);
}

.guidecols h3 {
  font-weight:600;
  font-size:21px;
  letter-spacing:-.01em;
  margin:0 0 8px;
  color:var(--pine);
}

.guidecols p,.paperwork p {
  margin:0;
  color:var(--muted);
  font-size:15px;
  font-weight:600;
}

.paperwork {
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:7%;
}

table {
  width:100%;
  border-collapse:collapse;
  text-align:left;
  font-size:14.5px;
}

caption {
  text-align:left;
  color:var(--muted);
  padding:6px 0 10px;
}

td,th {
  padding:11px 8px;
  border-bottom:1.5px solid #eddac4;
}

tbody th {
  font-weight:800;
  color:var(--ink);
}

details {
  border-bottom:1.5px solid #eddac4;
  padding:12px 2px;
}

summary {
  cursor:pointer;
  font-size:15.5px;
  font-weight:800;
  color:var(--ink);
}

details p {
  padding:8px 0 2px;
}

footer {
  padding:26px 0 34px;
  border-top:2px dashed #e6cfb5;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;
}

.small {
  font-size:19px;
}

.small .brandmark {
  width:28px;
  height:22px;
}

footer nav {
  flex-wrap:wrap;
  gap:10px 20px;
  font-size:13.5px;
}

dialog {
  width:min(470px,calc(100% - 24px));
  max-height:90dvh;
  overflow:auto;
  color:var(--ink);
  padding:24px 26px 26px;
  border:2px solid #e6cdb2;
  background:var(--card);
  box-shadow:0 20px 48px rgba(45,25,15,.22);
  border-radius:24px;
}

dialog::backdrop {
  background:rgba(42,27,20,.55);
  backdrop-filter:blur(3px);
}

.modalhead {
  display:flex;
  align-items:center;
  justify-content:space-between;
  border-bottom:1.5px dashed #eddac4;
  margin-bottom:14px;
  padding-bottom:8px;
}

.modalhead .kicker {
  margin:0;
}

.close {
  background:#fff4ea;
  border:1.5px solid #ead4bc;
  border-radius:50%;
  font:700 22px/1 var(--sans);
  width:38px;
  height:38px;
  color:var(--ink);
}

.modalhead+h2,dialog h2 {
  font:600 30px/1.15 var(--display);
  letter-spacing:-.015em;
  margin:10px 0;
}

dialog p {
  font-size:15px;
  font-weight:600;
  margin:9px 0 14px;
}

dialog input,dialog textarea {
  width:100%;
  border:1.5px solid #dfc5a8;
  background:#fffaf3;
  color:var(--ink);
  border-radius:12px;
  padding:9px 12px;
  margin:4px 0 10px;
}

dialog textarea {
  min-height:92px;
  resize:vertical;
}

.letter {
  font:600 18px/1.55 var(--sans);
  white-space:pre-wrap;
  overflow-wrap:anywhere;
  background:#fff8ee;
  border:1.5px dashed #e6c6a4;
  border-radius:16px;
  padding:16px 18px;
  margin:14px 0;
}

.letter-date {
  color:var(--red);
}

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

.stamps {
  display:flex;
  flex-wrap:wrap;
  gap:7px;
  margin:6px 0 12px;
}

.stamps button {
  display:grid;
  place-items:center;
  border:1.5px dashed #d6b899;
  background:#fff7ea;
  min-width:44px;
  min-height:40px;
  border-radius:12px;
  transition:transform .12s,background .12s;
}

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

.stamps button[aria-pressed=true] {
  border:2px solid var(--red);
  background:#ffe8e5;
}

.err {
  color:#bd3931;
  font-size:14px;
  font-weight:700;
}

.guide-only {
  max-width:780px;
  margin:44px auto;
}

.guide-only h1 {
  font-size:clamp(38px,5.5vw,56px);
}

#adSupport {
  border-top:2px dashed #e6cfb5;
  padding:16px 0;
  color:var(--muted);
  text-align:center;
}

.return-option {
  display:flex;
  align-items:flex-start;
  gap:8px;
  font-size:14px;
  font-weight:700;
  margin-top:12px;
}

.return-option input {
  width:18px;
  height:18px;
  flex:none;
  margin:2px 0;
}

.modal-actions a {
  font-size:14px;
  font-weight:700;
  text-underline-offset:4px;
}

.guide-ad {
  margin:30px auto 48px;
  padding-top:12px;
  border-top:2px dashed #e6cfb5;
  text-align:center;
  color:var(--muted);
}

.guide-ad small {
  font:11px var(--sans);
}

.share-shortcuts {
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:6px 14px;
  margin:8px 0;
  font-size:14px;
  font-weight:700;
}

.share-shortcuts a {
  text-underline-offset:3px;
}

.share-shortcuts button,.share-shortcuts a {
  padding:6px 2px;
}

.machine-label span:first-child {
  text-transform:uppercase;
}

.stamp-art {
  width:20px;
  height:20px;
  fill:none;
  stroke:currentColor;
  stroke-width:1.8;
  stroke-linecap:round;
  stroke-linejoin:round;
}

.door .stamp-art {
  width:10px;
  height:10px;
}

.postbox-list {
  list-style:none;
  margin:12px 0 20px;
  padding:0;
}

.postbox-list li {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  border-top:1.5px solid #eddac4;
}

.postbox-list a {
  flex:1;
  min-width:0;
  overflow-wrap:anywhere;
  padding:10px 0;
  font-weight:700;
  text-decoration:none;
}

.postbox-list a:hover,.postbox-list a:focus-visible {
  text-decoration:underline;
}

.postbox-code,.postbox-role {
  font-size:11px;
  font-weight:800;
  letter-spacing:.05em;
}

.postbox-code {
  display:block;
  margin-top:2px;
  color:var(--muted);
}

.postbox-role {
  border:1.5px dashed #d9b898;
  background:#fff8ee;
  border-radius:999px;
  padding:4px 10px;
}

.home-screen-tip {
  display:none;
  margin-top:10px;
  font-size:13px;
  font-weight:700;
}

.code-page form {
  max-width:420px;
  margin:22px 0;
  background:var(--card);
  border:2px solid #eed9c0;
  border-radius:24px;
  padding:20px 22px;
}

.code-page .actions {
  margin-top:16px;
}

.dialog-divider {
  border:0;
  border-top:1.5px dashed #eddac4;
  margin:16px 0;
}

dialog .ink {
  margin:10px 0 14px;
}

dialog .ink i {
  box-shadow:inset 0 0 0 1px rgba(0,0,0,.15);
}

@media(max-width:850px) {
  .mast,main,footer {
    width:calc(100% - 46px);
  }
  .spread {
    gap:26px;
  }
  .doorgrid {
    gap:8px 6px;
  }
  .desk {
    padding:12px 15px 18px;
  }
  .paperwork {
    gap:5%;
  }
}

@media(max-width:650px) {
  .mast,main,footer {
    width:calc(100% - 34px);
  }
  .mast {
    height:auto;
    min-height:58px;
    flex-wrap:wrap;
    padding:10px 0;
    gap:8px 10px;
  }
  .brand {
    order:1;
    font-size:18.5px;
    gap:7px;
  }
  .brandmark {
    width:26px;
    height:20px;
  }
  .mast nav {
    display:contents;
  }
  .mast nav>#navHow {
    display:none;
  }
  .lang-switch {
    order:2;
    width:auto;
    margin-left:auto;
    justify-content:flex-start;
    gap:2px;
    padding:2px;
  }
  .lang-switch a {
    padding:5px 5.5px;
    font-size:10px;
  }
  .mast .nav-action {
    order:3;
    flex:1 1 calc(50% - 5px);
    max-width:none;
    min-height:44px;
    padding:7px 8px;
    font-size:12.5px;
    text-align:center;
    white-space:normal;
    line-height:1.15;
  }
  .spread {
    display:flex;
    flex-direction:column;
    align-items:stretch;
    gap:22px;
    padding:22px 0 28px;
  }
  .studio {
    max-width:none;
  }
  .studio h1 {
    font-size:clamp(34px,9.6vw,46px);
    margin-bottom:10px;
  }
  .studio h1 br {
    display:none;
  }
  .studio h1 em:before {
    content:" ";
  }
  .intro {
    font-size:15px;
    line-height:1.5;
    margin:0 0 14px;
  }
  .studio form {
    padding:16px;
    border-radius:20px;
  }
  .studio .kicker {
    font-size:11px;
    margin-bottom:10px;
  }
  .ink {
    margin:12px 0;
  }
  .desk {
    padding:10px 14px 16px;
    border-radius:22px;
  }
  .board-heading {
    margin:10px 0 14px;
  }
  .postseal {
    width:52px;
    height:52px;
    font-size:5.5px;
    letter-spacing:.02em;
    padding:2px;
    text-align:center;
  }
  .postseal b {
    font-size:13px;
  }
  .doorgrid {
    grid-template-columns:repeat(4,minmax(0,1fr));
    gap:9px 8px;
  }
  .door {
    min-height:56px;
    border-radius:14px;
  }
  .door>span {
    font-size:24px;
    margin-top:2px;
  }
  .boardfoot {
    margin-top:12px;
  }
  .guidecols,.paperwork {
    grid-template-columns:1fr;
    gap:16px;
  }
  .fieldguide,.paperwork {
    padding:26px 0;
  }
  footer {
    align-items:flex-start;
    flex-direction:column;
  }
  .paperwork {
    gap:28px;
  }
  dialog {
    padding:18px 18px 20px;
    border-radius:20px;
  }
  .guide-only {
    margin:28px auto;
  }
  .home-screen-tip:not([hidden]) {
    display:block;
  }
  .nav-action,.quiet,.textbtn,.outlined,.close,.stamps button {
    min-height:44px;
  }
  .code-page .quiet {
    display:inline-flex;
    align-items:center;
  }
  .close,.stamps button {
    min-width:44px;
  }
  .return-option {
    min-height:44px;
  }
}

@media(prefers-reduced-motion:reduce) {
  * {
    scroll-behavior:auto!important;
    transition:none!important;
  }
}

/* The guides use the same paper, type and ink as the calendar counter. */
.editorial { max-width: 820px; }
.editorial > .fairy-garland { max-width: none; }
.editorial article > header { padding: 16px 0 22px; }
.editorial h1 { max-width: 19ch; margin: 10px 0 14px; }
.editorial .intro { max-width: 64ch; }
.editorial article > section { padding: 22px 0; border-top: 2px dashed var(--line); }
.editorial h2 { font: 560 clamp(25px, 3vw, 35px)/1.15 var(--display); margin: 0 0 12px; }
.editorial h3 { margin: 0; font: 550 21px/1.25 var(--display); }
.editorial p { max-width: 68ch; }
.editorial th, .editorial td { vertical-align: top; }
.editorial td { line-height: 1.5; }
.editorial blockquote { margin: 16px 0; border-left: 4px solid var(--red); padding: 6px 20px; color: var(--pine); font-size: 19px; }
.editorial .primary { display: inline-flex; text-decoration: none; align-items: center; }
.guide-back, .tool-links a { color: var(--pine); font-weight: 800; text-underline-offset: 3px; }
.guide-back { display: inline-flex; align-items: center; min-height: 44px; }
.tool-links { margin: 0; padding: 18px 0 28px; }
.guide-entries a { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 19px 0; text-decoration: none; }
.guide-entries a + a { border-top: 1px solid var(--line); }
.guide-entries a h2 { color: var(--pine); margin-bottom: 5px; }
.guide-entries a:hover h2 { text-decoration: underline; text-underline-offset: 4px; }
.guide-entries a p { margin: 0; }
.guide-entries a > span { color: var(--red); font-size: 30px; }
.article-steps { padding-left: 26px; }
.article-steps p { margin: 6px 0 20px; }
.note-list { padding-left: 2.25em; }
.note-list li { padding: 11px 0; border-bottom: 1px solid var(--line); }
.note-list li::marker, .article-steps li::marker { color: var(--pine); font-weight: 800; }
.copy-note { display: inline-block; margin-left: .5em; min-height: 44px; padding: 0 .6em; border: 0; background: transparent; color: var(--pine); font-weight: 800; text-decoration: underline; text-underline-offset: 3px; }
footer > .brand { flex-shrink: 0; }
footer nav a { display: inline-flex; align-items: center; min-height: 44px; }
footer nav { column-gap: 16px; row-gap: 0; }
@media (max-width: 650px) {
  .editorial th, .editorial td { padding: 9px 5px; overflow-wrap: break-word; }
  .editorial article > header { padding-top: 5px; }
}


@font-face {
  font-family:"Instrument Serif";
  src:url("/assets/InstrumentSerif-Regular.ttf") format("truetype");
  font-display:swap;
}
@font-face {
  font-family:"Instrument Serif";
  src:url("/assets/InstrumentSerif-Italic.ttf") format("truetype");
  font-style:italic;
  font-display:swap;
}
.occasion-page {
  --display:"Instrument Serif",Georgia,serif;
  --sans:"DM Sans",Arial,sans-serif;
}
.occasion-page .brand { font-family:"Fredoka",sans-serif; }
.occasion-page h1, .occasion-page h2, .occasion-page h3 { font-weight:400; }
.occasion-page h1 { font-size:clamp(48px,5.5vw,78px); line-height:.98; }
.occasion-page h1 em { font-weight:400; font-style:italic; color:#9b3641; }
.occasion-page .intro { font-weight:400; }
.occasion-page .studio form { border:0; border-top:1px solid #d8bfa5; border-radius:0; background:transparent; padding:15px 0 0; box-shadow:none; }
.occasion-page #occasionLabel { color:var(--pine); background:transparent; border:0; border-radius:0; padding:0; text-transform:uppercase; letter-spacing:.12em; }
.occasion-page .fold { margin:8px 0; }
.occasion-page .fold summary { display:list-item; color:var(--muted); font-size:14px; font-weight:600; padding:12px 0; }
.occasion-page .schedule-field { margin-top:10px; }
.schedule-field label { display:block; font-size:14px; font-weight:700; }
.schedule-field input { min-height:44px; max-width:100%; padding:5px 12px; border:1.5px solid #dfc5a8; border-radius:10px; background:#fff8f0; color:var(--ink); }
.schedule-field small { display:inline-block; margin:3px 0 3px 10px; color:var(--muted); }
.occasion-page .doorgrid.week { grid-template-columns:repeat(4,minmax(0,1fr)); }
.occasion-page .week .door { aspect-ratio:1.12; }
.occasion-page :is(a,button,input:not([type=radio]),summary,.ink label) { min-width:44px; min-height:44px; }
.occasion-page :is(.mast a,footer a,.tool-links a) { display:inline-flex; align-items:center; justify-content:center; }
.occasion-page .ink label { position:relative; }
.occasion-page .ink input { inset:0; width:100%; height:100%; min-height:44px; margin:0; cursor:pointer; }
.occasion-links { display:flex; justify-content:flex-start; flex-wrap:wrap; gap:4px 24px; border-top:1px solid var(--line); padding:10px 0; }
.occasion-links a { display:inline-flex; align-items:center; min-height:44px; color:var(--pine); text-underline-offset:.18em; }
.keepsake { display:none; }
@media (max-width:650px) {
  .occasion-page .mast .brand { flex:1 1 auto; }
  .occasion-page .mast { display:grid; grid-template-columns:1fr 1fr; gap:4px 8px; }
  .occasion-page .mast .brand { justify-content:flex-start; grid-column:1/-1; }
  .occasion-page .mast .lang-switch { grid-column:1/-1; margin:0; justify-self:start; }
  .occasion-page .mast nav>#navHow { display:none; }
  .occasion-page .mast .nav-action { padding:4px; }
  .occasion-page .studio h1 { font-size:clamp(42px,11.4vw,57px); }
  .occasion-page .studio { min-width:0; }
  .occasion-page .spread { padding-top:24px; }
}
@media print {
  body:has(> .keepsake) { background:#fff; color:#241e1a; }
  body:has(> .keepsake) > :not(.keepsake) { display:none !important; }
  body:has(> .keepsake) dialog::backdrop { display:none; }
  .keepsake { display:block; margin:0; font:11pt/1.45 Georgia,serif; }
  .keepsake h1 { font:32pt/1.1 "Instrument Serif",Georgia,serif; margin:0 0 8mm; }
  .keepsake .imprint { margin:0 0 3mm; font:9pt/1.3 "DM Sans",sans-serif; color:#4d413a; }
  .keepsake-grid { columns:2; column-gap:8mm; }
  .keepsake article { break-inside:avoid; border-top:1pt solid #76675a; padding:4mm 0 6mm; }
  .keepsake time,.keepsake footer { display:block; font:9pt/1.4 "DM Sans",sans-serif; color:#51473e; }
  .keepsake article p { white-space:pre-wrap; overflow-wrap:anywhere; }
  .keepsake footer { width:auto; min-height:0; border:0; margin:0; padding:0; overflow-wrap:anywhere; }
}
