/* growth.css — /printable-growth-chart/. Built on /assets/polyatic.css tokens: the chart hangs on a warm wall in the
   stage (a picture, so it keeps its own light colours in dark mode); the controls use the shared .field / .modes / .btn. */
.gc-noscript{margin:0;padding:.75rem 1rem;background:var(--surface-2);border-bottom:1px solid var(--line)}
.gc-head .sub{margin-bottom:.35rem}
.gc-head .you-get{margin:0 0 .75rem;font-weight:600;color:var(--ink-2)}

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

.gc-form input[type="text"]{width:100%;box-sizing:border-box}
.gc-designs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.4rem;margin-bottom:1rem}
.gc-designs 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}
.gc-designs button[aria-pressed="true"]{border-color:var(--accent);box-shadow:0 0 0 2px var(--accent) inset;background:var(--accent-soft)}
.gc-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%)}
.gc-designs [data-v="giraffe"] .gc-chip{--a:#f2c14e;--b:#fff5dc}
.gc-designs [data-v="ruler"] .gc-chip{--a:#c99358;--b:#e2b57c}
.gc-designs [data-v="rocket"] .gc-chip{--a:#e2574c;--b:#1e2a4f}
.gc-designs [data-v="rainbow"] .gc-chip{--a:#ef7b74;--b:#7fb2e3}
.gc-designs [data-v="botanical"] .gc-chip{--a:#6f9463;--b:#f3eee2}
.gc-designs [data-v="colour"] .gc-chip{--a:#222222;--b:#ffffff}
.gc-hint{margin:.35rem 0 1rem;font-size:.82rem;color:var(--muted)}
.gc-warn{margin:.25rem 0 1rem;font-size:.85rem;font-weight:600;color:var(--ink-2)}

.gc-marks{list-style:none;margin:0 0 .5rem;padding:0;display:flex;flex-direction:column;gap:.35rem}
.gc-marks li{display:grid;grid-template-columns:minmax(0,1fr) 5.5rem 2.4rem;gap:.35rem}
.gc-marks input{width:100%;box-sizing:border-box;min-width:0}
.gc-rm{border:1px solid var(--line-2);border-radius:.45rem;background:var(--surface);color:var(--ink);font:inherit;font-size:1.1rem;line-height:1;cursor:pointer}
.gc-add{margin-bottom:.1rem}
@media (min-width:900px){.gc-designs{grid-template-columns:repeat(2,minmax(0,1fr))}}
