/* poster.css — /birth-announcement-poster/. Built on /assets/polyatic.css tokens: the poster hangs framed on a warm
   wall in the stage (a picture, so it keeps its own colours in dark mode); the controls use the shared .field / .modes /
   .btn. The two lettering faces are the star map's Apache-2.0 fonts, loaded by path from /baby-milestone-cards/fonts/
   (licence alongside them there). */
@font-face{font-family:"BAP Serif";font-style:normal;font-weight:400;font-display:swap;src:url(/baby-milestone-cards/fonts/classic.woff2) format("woff2")}
@font-face{font-family:"BAP Script";font-style:normal;font-weight:400;font-display:swap;src:url(/baby-milestone-cards/fonts/handwritten.woff2) format("woff2")}

.bp-noscript{margin:0;padding:.75rem 1rem;background:var(--surface-2);border-bottom:1px solid var(--line)}
.bp-head .sub{margin-bottom:.35rem}
.bp-head .you-get{margin:0 0 .75rem;font-weight:600;color:var(--ink-2)}

.bp-stage{display:flex;flex-direction:column;gap:.6rem}
.bp-stage-h{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.bp-view{border-radius:var(--r);overflow:hidden;box-shadow:var(--shadow);background:#ece4d8}
.bp-view canvas{display:block;width:100%;height:auto}
.bp-dl{display:flex;gap:.5rem;flex-wrap:wrap}
.bp-dl .btn{flex:1 1 9rem}
.bp-dl #pdfBtn{flex:2 1 14rem}
.bp-summary{margin:0;font-size:.88rem;color:var(--ink-2)}
.bp-sizes{display:flex;flex-direction:column;gap:.5rem}
.bp-group{display:flex;flex-wrap:wrap;gap:.35rem;align-items:center}
.bp-group-k{flex:1 1 100%;font-size:.82rem;font-weight:600;color:var(--muted)}
.bp-group .btn{flex:1 1 6.2rem;font-size:.85rem;padding-left:.45rem;padding-right:.45rem}
.bp-group .btn.low{border-style:dashed}
.bp-stage .btn:disabled{opacity:.5;cursor:not-allowed}
.bp-msg{margin:0;min-height:1.2em;font-size:.85rem;color:var(--muted)}
.bp-warn{margin:0;padding:.5rem .65rem;border:1px solid var(--line-2);border-left:.25rem solid var(--accent);border-radius:.5rem;font-size:.85rem;color:var(--ink)}

.bp-form input[type="text"],.bp-form input[type="date"],.bp-form input[type="time"],.bp-form input[type="number"],.bp-form select{width:100%;box-sizing:border-box;min-width:0}
.bp-row{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.5rem}
.bp-row3{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr) auto;gap:.4rem;align-items:end}
.bp-designs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.4rem;margin-bottom:1rem}
.bp-designs button,.bp-pics button{display:flex;align-items:center;gap:.4rem;padding:.35rem .45rem;border:1px solid var(--line);border-radius:.55rem;background:var(--surface);color:var(--ink);font:inherit;font-size:.8rem;font-weight:600;line-height:1.15;cursor:pointer;text-align:left;min-width:0}
.bp-designs button[aria-pressed="true"],.bp-pics button[aria-pressed="true"]{border-color:var(--accent);box-shadow:0 0 0 2px var(--accent) inset;background:var(--accent-soft)}
.bp-chip{flex:none;width:1.5rem;height:1.5rem;border-radius:.35rem;box-shadow:0 0 0 1px var(--line-2);background:linear-gradient(135deg,var(--a) 0 50%,var(--b) 50% 100%)}
.bp-designs [data-v="typographic"] .bp-chip{--a:#b0604a;--b:#f6f1e8}
.bp-designs [data-v="botanical"] .bp-chip{--a:#6c8c66;--b:#f3f0e8}
.bp-designs [data-v="stars"] .bp-chip{--a:#1f2a46;--b:#e6c376}
.bp-designs [data-v="watercolour"] .bp-chip{--a:#f2c3bb;--b:#cfe1e2}
.bp-designs [data-v="bw"] .bp-chip{--a:#141414;--b:#ffffff}
.bp-designs [data-v="playful"] .bp-chip{--a:#e9774f;--b:#5bb0a0}
.bp-pics{display:flex;flex-wrap:wrap;gap:.4rem}
.bp-pics button{flex:1 1 5.5rem;justify-content:center}
.bp-hint{margin:.35rem 0 1rem;font-size:.82rem;color:var(--muted)}
.bp-twin{margin:.25rem 0 1rem;padding:.65rem .75rem;border:1px dashed var(--line-2);border-radius:.6rem}
.bp-twin legend{font-size:.85rem;font-weight:700;padding:0 .25rem}
.bp-check{display:flex;gap:.45rem;align-items:center;font-weight:600;margin:.25rem 0 .75rem}
.bp-file{display:block;margin-top:.5rem;font-size:.85rem}
