/* Ormly. Lifted from the prototype (ormly-prototype.html), with the embedded fonts replaced by files in /fonts. */
@font-face{font-family:"Newsreader";src:url(/fonts/Newsreader-Variable.woff2) format("woff2");font-weight:200 800;font-style:normal;font-display:swap}
@font-face{font-family:"Instrument Sans";src:url(/fonts/InstrumentSans-Variable.woff2) format("woff2");font-weight:400 700;font-style:normal;font-display:swap}
@font-face{font-family:"Caveat";src:url(/fonts/Caveat-Variable.woff2) format("woff2");font-weight:400 700;font-style:normal;font-display:swap}
@font-face{font-family:"Kalam";src:url(/fonts/Kalam-Regular.woff2) format("woff2");font-weight:400;font-style:normal;font-display:swap}
@font-face{font-family:"Architects Daughter";src:url(/fonts/ArchitectsDaughter-Regular.woff2) format("woff2");font-weight:400;font-style:normal;font-display:swap}
@font-face{font-family:"Reenie Beanie";src:url(/fonts/ReenieBeanie-Regular.woff2) format("woff2");font-weight:400;font-style:normal;font-display:swap}
:root{accent-color:#26468C;--warn:#8A4B2A;--r-slip:8px;--r-photo:4px;--r-control:12px;--r-card:16px;
  box-sizing:border-box;
  padding-top:env(safe-area-inset-top,0px);
  padding-bottom:env(safe-area-inset-bottom,0px);

  /* the page you stand on */
  --surface:#E7F0F0;
  --surface-2:#DAE6E6;
  --on-surface:#15211F;
  --on-surface-soft:#384744;
  --on-surface-faint:#465451;
  --hairline:rgba(21,33,31,.14);

  /* the paper you write on, light in every theme */
  --paper:#FFFFFF;
  --paper-warm:#FDFCF9;
  --on-paper:#1C1A17;
  --paper-edge:rgba(28,26,23,.10);

  /* the one colour, set per occasion */
  --accent:#0F5C63;
  --on-accent:#FFFFFF;

  --pen-blue:#26468C;
  --pen-black:#2A2A2A;
  --pen-green:#1F5C3D;
  --pen-red:#A32E2E;
  --mark-ink:#26468C;

  --lift:0 1px 2px rgba(20,28,26,.07), 0 10px 28px rgba(20,28,26,.12);
  --lift-sm:0 1px 2px rgba(20,28,26,.06), 0 5px 14px rgba(20,28,26,.09);
  --measure:34rem;
}
:root:not([data-theme="light"]){
  @media (prefers-color-scheme: dark){
    --surface:#14100C;
    --surface-2:#1D1813;
    --on-surface:#F4F0E9;
    --on-surface-soft:#CBC2B4;
    --on-surface-faint:#B4AA9C;
    --mark-ink:#A9BDE6;
    --warn:#F2B48C;
    --hairline:rgba(244,240,233,.16);
    --lift:0 2px 4px rgba(0,0,0,.5), 0 14px 34px rgba(0,0,0,.45);
    --lift-sm:0 1px 3px rgba(0,0,0,.45), 0 7px 18px rgba(0,0,0,.35);
  }
}
:root[data-theme="dark"]{
  --warn:#F2B48C;
  --surface:#14100C;
  --surface-2:#1D1813;
  --on-surface:#F4F0E9;
  --on-surface-soft:#CBC2B4;
  --on-surface-faint:#B4AA9C;
  --mark-ink:#A9BDE6;
  --hairline:rgba(244,240,233,.16);
  --lift:0 2px 4px rgba(0,0,0,.5), 0 14px 34px rgba(0,0,0,.45);
  --lift-sm:0 1px 3px rgba(0,0,0,.45), 0 7px 18px rgba(0,0,0,.35);
}

*,*::before,*::after{box-sizing:inherit}
html{scroll-padding-top:env(safe-area-inset-top,0px);-webkit-text-size-adjust:100%}
body{
  margin:0;
  background:var(--surface);
  color:var(--on-surface);
  font-family:"Instrument Sans","Helvetica Neue",Helvetica,Arial,sans-serif;
  font-size:16px;line-height:1.5;min-height:100%;
  transition:background-color .45s ease;
}
body::before{
  content:"";position:fixed;inset:0;pointer-events:none;z-index:0;
  background:radial-gradient(95% 55% at 50% -12%, color-mix(in srgb, var(--accent) 20%, transparent), transparent 70%);
  transition:background .45s ease;
}
body>*{position:relative;z-index:1}
img{max-width:100%;display:block}
figure{margin:0}
button{font:inherit;color:inherit;cursor:pointer}
a{color:inherit}
:focus-visible{outline:2px solid var(--accent);outline-offset:3px}
[tabindex="-1"]:focus,[tabindex="-1"]:focus-visible{outline:none}



.wrap{max-width:var(--measure);margin:0 auto;padding:1.8rem 1.15rem 4rem}
.wide{max-width:47rem}

h1,h2,h3{font-family:Newsreader,Georgia,"Times New Roman",serif;font-weight:500;margin:0;color:var(--on-surface)}
h1,h2,.lede{text-wrap:balance}
p{text-wrap:pretty}
input[type=date],input[type=time],select{color-scheme:light}
h1{font-size:clamp(2.1rem,7.5vw,3.1rem);line-height:1.04;letter-spacing:-.018em}
h2{font-size:1.45rem;line-height:1.2}
p{margin:0 0 1rem}
.lede{color:var(--on-surface-soft);font-size:1.04rem;max-width:31rem}
.meta{color:var(--on-surface-faint);font-size:.83rem;margin:0}
.rule{height:1px;background:var(--hairline);border:0;margin:2rem 0}
.stack>*+*{margin-top:1.1rem}
.row{display:flex;gap:.6rem;flex-wrap:wrap}

/* the card object */
.card{background:var(--paper);border-radius:var(--r-card);box-shadow:var(--lift);overflow:hidden}
.card-front{
  background:var(--accent);color:var(--on-accent);
  padding:2rem 1.4rem 1.9rem;text-align:center;
  transition:background-color .45s ease;
}
.card-front .occ{font-size:.8rem;letter-spacing:.02em;margin:0 0 .5rem}
.card-front .who{
  font-family:Newsreader,Georgia,serif;font-optical-sizing:auto;font-weight:400;
  font-size:clamp(1.8rem,6.5vw,2.4rem);line-height:1.06;margin:0;
}
.card-front .sig{font-family:Caveat,"Segoe Script",cursive;font-size:1.25rem;margin:.55rem 0 0}
.card-body{padding:1.2rem;background:var(--paper)}

/* slips */
.slips{display:flex;flex-direction:column;gap:.9rem}
@media (min-width:44rem){
  .slips{display:block;column-count:2;column-gap:1.2rem}
  .slips .slip{break-inside:avoid;display:block;margin:0 0 1.2rem}
}
.slip{
  background:var(--paper-warm);
  border:1px solid var(--paper-edge);
  border-radius:var(--r-slip);padding:1.05rem 1.1rem .9rem;
  box-shadow:var(--lift-sm);color:var(--on-paper);
}
.slip:nth-child(4n+1){transform:rotate(-.8deg)}
.slip:nth-child(4n+2){transform:rotate(.6deg)}
.slip:nth-child(4n+3){transform:rotate(1deg)}
.slip:nth-child(4n+4){transform:rotate(-.45deg)}
.slip .msg{margin:0 0 .65rem;font-size:1.18rem;line-height:1.42}
.slip .from{margin:0;font-size:1.05rem;text-align:right;font-family:Caveat,"Segoe Script",cursive;opacity:.85}
.slip .photo{
  width:100%;aspect-ratio:4/3;object-fit:cover;
  border:5px solid #fff;box-shadow:0 2px 8px rgba(20,18,14,.25);
  margin:0 0 .75rem;border-radius:var(--r-photo);
}
.h-caveat .msg{font-family:Caveat,"Segoe Script",cursive;font-size:1.36rem;line-height:1.28}
.h-kalam  .msg{font-family:Kalam,"Comic Sans MS",cursive;font-size:1.04rem}
.h-arch   .msg{font-family:"Architects Daughter","Comic Sans MS",cursive;font-size:1.02rem}
.h-reenie .msg{font-family:"Reenie Beanie","Segoe Script",cursive;font-size:1.55rem;line-height:1.14}
.pen-blue{color:var(--pen-blue)}
.pen-black{color:var(--pen-black)}
.pen-green{color:var(--pen-green)}
.pen-red{color:var(--pen-red)}

.reveal .slip{animation:settle .55s cubic-bezier(.2,.7,.3,1) both}
.reveal .slip:nth-child(1){animation-delay:.10s}
.reveal .slip:nth-child(2){animation-delay:.18s}
.reveal .slip:nth-child(3){animation-delay:.26s}
.reveal .slip:nth-child(4){animation-delay:.34s}
.reveal .slip:nth-child(5){animation-delay:.42s}
.reveal .slip:nth-child(6){animation-delay:.50s}
.reveal .slip:nth-child(n+7){animation-delay:.58s}
@keyframes settle{from{opacity:0;transform:translateY(18px) rotate(0deg) scale(.98)}}
@media (prefers-reduced-motion: reduce){.reveal .slip{animation:none}}

/* hero */
.hero2{position:relative;aspect-ratio:1/1.1;max-width:30rem;margin:.2rem 0 .6rem}
.hero2>*{position:absolute;margin:0}
:root{--hero-shadow:0 1px 2px rgba(0,0,0,.2),0 12px 26px rgba(0,0,0,.28)}
.h-front{left:1%;top:4%;width:55%;aspect-ratio:5/7;transform:rotate(-5deg);z-index:1;border-radius:14px;overflow:hidden;background:#0F5C63;color:#fff;box-shadow:var(--hero-shadow)}
.h-front::after{content:"";position:absolute;inset:0;background-image:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 .32 0 0 0 0 .27 0 0 0 0 .2 0 0 0 .07 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");opacity:.9}
.h-front-in{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:1rem;z-index:1}
.h-front .occ{font-size:.72rem;letter-spacing:.04em;margin:0 0 .45rem}
.h-front .who{font-family:Newsreader,Georgia,serif;font-weight:400;font-size:clamp(1.5rem,7.4vw,2.3rem);line-height:1.04;margin:0}
.h-front .sig{font-family:Caveat,cursive;font-size:clamp(1.05rem,4.8vw,1.4rem);margin:.5rem 0 0}
.h-pol{right:0;top:0;width:47%;padding:6% 6% 5%;background:#FDFCF9 url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 .32 0 0 0 0 .27 0 0 0 0 .2 0 0 0 .07 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");border-radius:6px;transform:rotate(5deg);z-index:2;box-shadow:var(--hero-shadow)}
.h-pol img{display:block;width:100%;aspect-ratio:1;object-fit:cover;border-radius:3px}
.h-pol figcaption{font-size:clamp(.9rem,4vw,1.1rem);line-height:1.22;margin:.6rem .1rem 0}
.h-pol .from,.h-note .from{display:block;text-align:right;margin:.25rem 0 0;font-size:1rem}
.tape{position:absolute;top:-.6rem;left:50%;width:44%;height:1.4rem;transform:translateX(-50%) rotate(-4deg);z-index:3;
  background:repeating-linear-gradient(45deg,rgba(255,255,255,.28) 0 5px,transparent 5px 10px),rgba(232,214,168,.78);
  clip-path:polygon(0 8%,4% 0,8% 10%,12% 0,100% 0,96% 12%,100% 25%,96% 40%,100% 55%,96% 70%,100% 85%,96% 100%,0 100%,4% 85%,0 70%,4% 55%,0 40%,4% 25%)}
.h-note{background:#FDFCF9 url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 .32 0 0 0 0 .27 0 0 0 0 .2 0 0 0 .07 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");border-radius:var(--r-slip);box-shadow:var(--hero-shadow);padding:.85rem 1rem .7rem}
.h-note .msg{margin:0}
.h-note.lined{left:2%;top:56%;width:63%;transform:rotate(-2.5deg);z-index:3;
  background:repeating-linear-gradient(to bottom,transparent 0 1.6rem,rgba(74,111,165,.2) 1.6rem calc(1.6rem + 1px)) 0 .72rem/100% auto no-repeat,#FDFCF9 url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 .32 0 0 0 0 .27 0 0 0 0 .2 0 0 0 .07 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>")}
.h-note.lined .msg{font-size:clamp(1.15rem,5.3vw,1.42rem);line-height:1.6rem}
.h-note.small{right:1%;top:67%;width:37%;transform:rotate(4deg);z-index:4}
.h-note.small .msg{font-size:clamp(1.35rem,6.2vw,1.7rem);line-height:1.1}
.doodle{width:1.05em;height:1.05em;vertical-align:-.12em;margin-left:.1em}
.hero-count{margin:0 0 1.8rem}
.pricestrip{display:flex;align-items:center;gap:1rem;margin:1.3rem 0 .2rem}
.pricestrip .amount{font-family:Newsreader,Georgia,serif;font-weight:400;font-size:2.6rem;line-height:1;margin:0;flex:none}
.hero2 .h-note,.hero2 .h-pol{color:#1C1A17}
.hero2 .from{font-family:Caveat,"Segoe Script",cursive;font-size:1.15rem;opacity:.82;color:#1C1A17}
.h-pol .cap{display:block;font-family:Kalam,"Comic Sans MS",cursive}

/* forms */
label{display:block;font-size:.87rem;color:var(--on-surface-soft);margin:0 0 .4rem}
input[type=text],input[type=date],textarea{
  width:100%;font:inherit;color:var(--on-paper);
  background:var(--paper);
  border:1px solid var(--paper-edge);border-radius:var(--r-control);
  padding:.75rem .8rem;box-shadow:var(--lift-sm);
}
textarea{resize:vertical}
.writing{field-sizing:content;
  min-height:9.5rem;
  background:repeating-linear-gradient(to bottom,transparent 0 31px,rgba(28,26,23,.11) 31px 32px),var(--paper-warm);
  line-height:32px;padding-top:6px;
  font-family:Caveat,"Segoe Script",cursive;font-size:1.5rem;color:var(--pen-blue);
}
.field{margin:0 0 1.2rem}

.chips{display:flex;gap:.4rem;flex-wrap:wrap}
.chip{
  border:1px solid var(--hairline);background:transparent;
  border-radius:99px;padding:.42rem .9rem;font-size:.9rem;color:var(--on-surface-soft);
}
.chip[aria-pressed="true"]{background:var(--accent);color:var(--on-accent);border-color:var(--accent)}
.chip:not([aria-pressed="true"]),.daychip,.btn.quiet{
  background:color-mix(in srgb, var(--accent) 20%, transparent);
  border-color:color-mix(in srgb, var(--accent) 52%, transparent);
  color:var(--on-surface);
  -webkit-backdrop-filter:saturate(1.3) blur(7px);backdrop-filter:saturate(1.3) blur(7px)}
.chip:not([aria-pressed="true"]):hover,.daychip:hover,.btn.quiet:hover{
  background:color-mix(in srgb, var(--accent) 34%, transparent);
  border-color:color-mix(in srgb, var(--accent) 70%, transparent)}
.panel .chip:not([aria-pressed="true"]),.panel .btn.quiet{-webkit-backdrop-filter:none;backdrop-filter:none}
#occ{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.5rem}
#occ .chip{display:flex;align-items:center;justify-content:center;text-align:center;min-height:3rem;padding:.45rem .3rem;border-radius:var(--r-control);line-height:1.15;font-size:.92rem}
@media (max-width:340px){#occ{grid-template-columns:repeat(2,minmax(0,1fr))}}

.btn{
  display:inline-flex;align-items:center;justify-content:center;gap:.5rem;width:100%;
  background:var(--accent);color:var(--on-accent);
  border:1px solid var(--accent);border-radius:var(--r-control);
  padding:.9rem 1.1rem;font-size:1rem;font-weight:500;
  box-shadow:var(--lift-sm);
}
.btn.quiet{background:transparent;color:var(--on-surface);border-color:var(--hairline);box-shadow:none}
.btn.small{width:auto;padding:.5rem .9rem;font-size:.88rem;box-shadow:none}

.panel{background:var(--paper);border-radius:var(--r-card);padding:1.2rem;box-shadow:var(--lift);color:var(--on-paper)}
.panel h2,.panel .count{color:var(--on-paper)}
.panel .lede{color:#5E5A55}
.panel .meta{color:#716D67}
.panel .btn.quiet{color:var(--on-paper);border-color:var(--paper-edge)}

.linkbox{
  display:flex;gap:.5rem;align-items:center;
  background:var(--paper);border:1px dashed var(--paper-edge);
  border-radius:var(--r-control);padding:.65rem .7rem;box-shadow:var(--lift-sm);
}
.linkbox code{
  flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;
  font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:.8rem;color:#5E5A55;
}
.linkbox .btn{color:var(--on-accent)}
.count{font-family:Newsreader,Georgia,serif;font-size:1.7rem;line-height:1.1}
.pens{display:flex;gap:.5rem}
.pen{width:2rem;height:2rem;border-radius:99px;border:1px solid var(--hairline);padding:0}
.pen[aria-pressed="true"]{box-shadow:0 0 0 2px var(--surface),0 0 0 4px var(--on-surface)}
.pricerow{display:flex;justify-content:space-between;align-items:baseline;gap:1rem}

/* faded photographic backdrop, optional */
body::after{
  content:"";position:fixed;inset:0;pointer-events:none;z-index:0;
  background-image:var(--bg,none);
  background-size:cover;background-position:center;
  opacity:var(--bg-op,0);
  filter:grayscale(1) contrast(1.06);
  mix-blend-mode:multiply;
  transition:opacity .35s ease;
}
:root:not([data-theme="light"]){
  @media (prefers-color-scheme: dark){
    body::after{filter:grayscale(1) contrast(1.15) brightness(1.1);mix-blend-mode:screen}
  }
}
:root[data-theme="dark"] body::after{filter:grayscale(1) contrast(1.15) brightness(1.1);mix-blend-mode:screen}

/* brand */
.mast{max-width:var(--measure);margin:0 auto;padding:1.5rem 1.15rem 0;display:flex;align-items:center}
.wide-mast{max-width:47rem}
.mark{color:var(--on-surface);text-decoration:none;line-height:1;display:inline-flex;align-items:flex-start}
.mark .m-a,.mark .m-b,.mark .m-c{display:none}
:root[data-mark="a"] .mark .m-a{display:inline}
:root[data-mark="b"] .mark .m-b{display:inline}
:root[data-mark="c"] .mark .m-c{display:inline-flex}
.m-a{font-family:Newsreader,Georgia,serif;font-weight:500;letter-spacing:-.025em;font-size:1.8rem}
.m-a .dot{color:var(--accent);transition:color .45s ease}
.m-b{font-family:Corinthia,"Segoe Script",cursive;font-weight:700;font-size:2.6rem;line-height:.78}
.m-c{flex-direction:column;align-items:flex-start}
.m-c .w{font-family:Newsreader,Georgia,serif;font-weight:500;letter-spacing:-.025em;font-size:1.7rem;line-height:1}
.m-c .s{font-family:Birthstone,"Segoe Script",cursive;font-size:1.1rem;color:var(--mark-ink);margin-top:-.12em;padding-left:.08em}

.card-foot{
  display:flex;flex-direction:column;align-items:center;gap:.35rem;
  padding:1.3rem 1rem 1.4rem;border-top:1px solid var(--paper-edge);
  background:var(--paper);color:#716D67;font-size:.82rem;text-align:center;
}
.card-foot .mark{color:var(--on-paper)}
.card-foot .m-a{font-size:1.25rem}
.card-foot .m-b{font-size:1.8rem}
.card-foot .m-c{align-items:center}
.card-foot .m-c .w{font-size:1.2rem}
.card-foot .m-c .s{font-size:.85rem;color:var(--pen-blue)}
.card-foot a{color:#5E5A55}

.site-foot{
  max-width:var(--measure);margin:0 auto;padding:0 1.15rem 3rem;
  display:flex;justify-content:space-between;gap:1rem;flex-wrap:wrap;
  font-size:.78rem;color:var(--on-surface-faint);
}
.lk svg{height:52px;width:auto;display:block}
.lk-dark{display:none}
:root:not([data-theme="light"]){ @media (prefers-color-scheme: dark){ .lk-light{display:none} .lk-dark{display:block} } }
:root[data-theme="dark"] .lk-light{display:none} :root[data-theme="dark"] .lk-dark{display:block}
.lk-foot svg{height:38px;width:auto;display:block}
.btn.wallet{background:#000;border-color:#000;color:#fff}
.gpay{display:flex;align-items:center;justify-content:center;min-height:3.1rem}
.gpay img{height:1.2rem;width:auto;display:block}
.apay{display:none}
@supports (-webkit-appearance:-apple-pay-button){
  .apay{display:block;width:100%;height:3.1rem;border:0;padding:0;-webkit-appearance:-apple-pay-button;-apple-pay-button-type:buy;-apple-pay-button-style:black;--apple-pay-button-border-radius:12px}
  .gpay{display:none}
}
.or{display:flex;align-items:center;gap:.75rem;color:#716D67;font-size:.8rem}
.or::before,.or::after{content:"";flex:1;height:1px;background:var(--paper-edge)}
#prompts .chip{font-size:.85rem;padding:.35rem .8rem}
.hidden{display:none}
[hidden]{display:none !important}
.front-photo{display:block;width:calc(100% + 2.8rem);max-width:none;margin:-2rem -1.4rem 1.5rem;aspect-ratio:16/10;object-fit:cover}
.frontctl{display:flex;align-items:center;justify-content:space-between;gap:.75rem;flex-wrap:wrap;margin:-.7rem 0 1.7rem}
.swatches{display:flex;gap:.5rem}
.report{margin-top:2.2rem;text-align:center}
.report a{color:inherit}
.daychips{display:flex;gap:.45rem;flex-wrap:wrap;margin-top:.6rem}
.daychip{font:inherit;font-size:.85rem;padding:.4rem .85rem;min-height:44px;border-radius:999px;cursor:pointer;border:1px solid}
@media (prefers-reduced-motion:no-preference){
  ::view-transition-old(root),::view-transition-new(root){animation-duration:.2s}
}
.coverctl{display:flex;align-items:center;gap:.9rem;margin-left:auto}
.fl-label{display:block;margin:0 0 .4rem;font-size:.9rem;color:var(--on-surface-faint)}
#front-line{display:block;width:100%;font:inherit;font-size:1rem;padding:.75rem .9rem;margin:0 0 1.7rem;
  border:1px solid var(--paper-edge);border-radius:var(--r-control);background:var(--paper);color:#1C1A17}
.note{margin:.45rem 0 0;font-size:.85rem;line-height:1.35;color:var(--warn)}
.note.ok{color:var(--on-surface-faint)}
.panel .note{color:#8A4B2A}
.panel .note.ok{color:#5E5A55}
.note button{background:none;border:0;padding:0;font:inherit;color:#26468C;text-decoration:underline;cursor:pointer}
.spin{width:2.6rem;height:2.6rem;border-radius:99px;border:3px solid var(--hairline);border-top-color:var(--accent);animation:sp 1s linear infinite;margin:0 auto}
@keyframes sp{to{transform:rotate(360deg)}}
@media (prefers-reduced-motion:reduce){.spin{animation-duration:3.5s}}
.rrow{display:flex;justify-content:space-between;align-items:center;gap:.6rem;padding:.6rem 0;border-bottom:1px solid var(--paper-edge)}
.rrow:last-of-type{border-bottom:0}
.rrow .addr{font-size:.95rem;word-break:break-all}
.status{flex:none;font-size:.78rem;padding:.2rem .55rem;border-radius:99px;background:#ECEAE4;color:#4A4741}
.status.good{background:#E2EDE5;color:#2C5A38}
.status.bad{background:#F6E2D9;color:#8A3B1E}
.whenrow{display:flex;gap:.6rem}
.whenrow #when{flex:1 1 60%;min-width:0}
.whenrow #when-time,.whenrow .timepick{flex:0 1 44%;min-width:0}
.recip-extra{margin-top:.9rem}
.recip-extra .rx-head{display:flex;justify-content:space-between;align-items:baseline;gap:.6rem}
.linkish{background:none;border:0;padding:0;font:inherit;font-size:.85rem;color:#26468C;text-decoration:underline;cursor:pointer}
.frontctl .linkish{color:var(--on-surface)}
.ogprev{border-radius:10px;overflow:hidden;background:#fff;border:1px solid var(--hairline);max-width:22rem}
.og-img{aspect-ratio:1200/630;background:var(--accent);color:var(--on-accent);display:grid;place-items:center;text-align:center;transition:background-color .45s ease}
.og-img.has-photo{grid-template-columns:1fr 1fr;place-items:stretch}
.og-photo{width:100%;height:100%;object-fit:cover;display:block}
.og-words{display:flex;flex-direction:column;justify-content:center;align-items:center;padding:.6rem}
.og-words .occ{font-size:.62rem;margin:0 0 .25rem}
.og-words .who{font-family:Newsreader,Georgia,serif;font-size:1.35rem;line-height:1.05;margin:0}
.og-words .sig{font-family:Caveat,"Segoe Script",cursive;font-size:.85rem;margin:.3rem 0 0}
.og-text{padding:.55rem .75rem .65rem;background:#F4F4F2}
.og-title{font-weight:600;font-size:.88rem;margin:0;color:#1C1A17}
.og-desc{font-size:.8rem;margin:.15rem 0 0;color:#5E5A55}
.og-site{font-size:.72rem;margin:.3rem 0 0;color:#6B6761}

/* production: the prototype's default backdrop, and real messages keep their line breaks */
:root{--bg:url("/img/backdrop-letter.webp");--bg-op:.18}
.slip .msg{white-space:pre-line;overflow-wrap:anywhere}
.lk img{height:52px;width:auto;display:block}
a.btn{text-decoration:none}

/* production: the writing box takes the signer's hand, as their slip will */
.h-caveat .writing{font-family:Caveat,"Segoe Script",cursive}
.h-kalam .writing{font-family:Kalam,"Comic Sans MS",cursive;font-size:1.04rem}
.h-arch .writing{font-family:"Architects Daughter","Comic Sans MS",cursive;font-size:1.02rem}
.h-reenie .writing{font-family:"Reenie Beanie","Segoe Script",cursive;font-size:1.55rem}
.photo-thumb{display:block;width:9rem;aspect-ratio:4/3;object-fit:cover;border:5px solid #fff;border-radius:var(--r-photo);box-shadow:0 2px 8px rgba(20,18,14,.25);margin:0 0 .7rem}
.form-error{color:#A32E2E;font-size:.9rem}
.btn[disabled]{opacity:.6}
@media (prefers-color-scheme: dark){ :root:not([data-theme="light"]) .form-error{color:#F2A7A7} }
.photo-row{display:flex;gap:.5rem;flex-wrap:wrap}
.slip .photo{height:auto;object-position:50% 30%}   /* width/height attributes set the ratio for layout; the slip keeps 4:3, faces sit high in portrait shots */
/* production: the prototype never styled email fields; they match the text fields */
input[type=email]{width:100%;font:inherit;color:var(--on-paper);background:var(--paper);border:1px solid var(--paper-edge);border-radius:var(--r-control);padding:.75rem .8rem;box-shadow:var(--lift-sm)}
/* production: the organiser's controls, alongside the prototype's .rrow, .addr and .status */
.rblock{border-bottom:1px solid var(--paper-edge)}
.rblock:last-child{border-bottom:0}
.rblock .rrow{border-bottom:0}
.ractions{display:flex;gap:.9rem;flex:none}
.rfix{padding:0 0 .8rem}
.rfix .meta{margin:.2rem 0 .5rem}
.slip-wrap{break-inside:avoid;margin:0 0 1.2rem}
.slip-wrap .slip{margin:0}
.slip-wrap .linkish{margin-top:.45rem;font-size:.85rem;color:var(--on-surface-soft)}
.whenrow #when-date{flex:1 1 60%;min-width:0}
/* production: time fields match the date fields (the prototype never styled them either) */
input[type=time]{width:100%;font:inherit;color:var(--on-paper);background:var(--paper);border:1px solid var(--paper-edge);border-radius:var(--r-control);padding:.75rem .8rem;box-shadow:var(--lift-sm)}
/* production: the button an email link pointed at, and quieter links under a panel */
.btn.nudge{outline:3px solid var(--accent);outline-offset:3px}
.linkish.quiet-link{color:var(--ink-soft,#6B6761);font-size:.9rem}
/* production: the site's own confirm box, in place of the browser's */
dialog.ask{border:0;padding:0;margin:auto;background:transparent;width:min(92vw,25rem);max-width:none;overflow:visible}
dialog.ask::backdrop{background:rgba(20,18,14,.5)}
.ask-box{margin:0;padding:1.4rem 1.3rem 1.25rem;box-shadow:0 18px 50px rgba(20,18,14,.3)}
.ask-title{font-size:1.3rem;color:var(--on-paper)}
.ask-body{margin:0;color:#5E5A55;font-size:.98rem;line-height:1.45}
.ask-row{display:flex;gap:.6rem;flex-wrap:wrap;margin-top:.4rem}
.ask-row .btn[hidden]{display:none}
/* production: Stripe's fields on the pay screen */
#pay-element{margin:.4rem 0 .9rem}
#express{min-height:48px}
.or-line{text-align:center;margin:.7rem 0 .2rem}
/* production: the footer on every page */
.foot{max-width:var(--measure);margin:0 auto;padding:0 1.15rem 2.4rem;color:var(--on-surface-faint);font-size:.8rem;line-height:1.55}
.foot p{margin:0 0 .35rem}
.foot a{color:inherit}
/* production: the policy pages */
.doc h1{margin-bottom:.6rem}
.doc h2{font-size:1.2rem;margin:2rem 0 .5rem}
.doc p,.doc li{color:var(--on-surface-soft);line-height:1.6}
.doc p{margin:0 0 .9rem}
.doc .meta{margin-bottom:1.4rem}
.doc ul{margin:0 0 .9rem;padding-left:1.2rem}
.doc li{margin:.25rem 0}
.doc a{color:var(--on-surface)}
.doc strong{color:var(--on-surface);font-weight:600}
.table-wrap{overflow-x:auto;margin:0 0 1rem}
.doc table{border-collapse:collapse;width:100%;font-size:.92rem}
.doc th,.doc td{text-align:left;padding:.5rem .6rem .5rem 0;border-bottom:1px solid var(--hairline);color:var(--on-surface-soft);vertical-align:top}
.doc th{color:var(--on-surface);font-weight:600}
/* production: the report form sits on paper in both themes */
.ask-box label{color:#5E5A55}
.ask-box .form-error{color:#A32E2E}
.ask-box textarea{min-height:6.5rem}
/* production: the recipient's address, in brand green so it can't be mistaken for the organiser's own */
.recips{background:#0F5C63;color:#fff;border-radius:var(--r-card);padding:1.1rem 1rem 1.2rem;box-shadow:var(--lift-sm)}
.recips h3{color:#fff;font-size:1.25rem;line-height:1.2;margin:0 0 .85rem}
.recips label{color:rgba(255,255,255,.88)}
.recips input{border-color:transparent}
.recips .note{color:#FFD9C2}
.recips .note.ok{color:rgba(255,255,255,.85)}
.recips .note button{color:#fff}
.recips :focus-visible{outline-color:#fff}
.recips .meta{color:rgba(255,255,255,.8)}
.recips .linkish{color:#fff}
/* production: the time as two plain lists, and a warning about it that can't be missed */
.timepick{display:flex;align-items:center;gap:.3rem;flex:0 1 44%;min-width:0}
.timepick select{flex:1 1 0;min-width:0;font:inherit;font-size:1rem;color:#1C1A17;background:var(--paper);border:1px solid var(--paper-edge);border-radius:var(--r-control);padding:.75rem .5rem;box-shadow:var(--lift-sm)}
.timepick-colon{font-weight:600;color:var(--on-surface)}
.panel .timepick-colon{color:var(--on-paper)}
#when-warn{margin-top:.7rem;padding:.65rem .8rem;border-radius:var(--r-control);font-size:.92rem;background:color-mix(in srgb, var(--warn) 13%, transparent);border:1px solid color-mix(in srgb, var(--warn) 45%, transparent)}
/* production: the example cards, on their own page and inside the home page's pop-up */
.ex-tabs{display:flex;gap:.5rem;overflow-x:auto;padding:.2rem .1rem 1rem;scrollbar-width:none;-webkit-overflow-scrolling:touch}
.ex-tabs::-webkit-scrollbar{display:none}
.ex-tabs .chip{flex:0 0 auto;white-space:nowrap;padding:.55rem 1rem;border-radius:999px;font-size:.92rem}
.ex-intro{margin-bottom:1rem}
.ex-after{margin-top:1.5rem}
html.embedded .mast,html.embedded .foot,html.embedded .ex-intro{display:none}
html.embedded main{padding-top:.9rem}
/* production: a code on the pay screen */
.code-wrap{margin:0 0 1.1rem}
.code-wrap .meta{margin:0}
.code-row{display:flex;gap:.6rem;align-items:stretch}
.code-row input{flex:1;min-width:0;text-transform:uppercase;letter-spacing:.04em}
.code-row .btn{flex:0 0 auto;margin:0}
#code-on a,#code-ask a{color:inherit}
