/* polish47d: The Table in the Our Bunch brand (the same kit as polish46b's Our day): self-hosted Fraunces for display and
   Shantell Sans stays in assets/fonts for the Our day pages (SIL OFL 1.1); the Table's body and status lines use the normal UI font, drawn line icons (assets/table-art.js) instead of emoji.
   The @font-face rules repeat 46b's on purpose (same family names and files), so either file alone is enough. */
@font-face{font-family:"OB Fraunces";src:url(/assets/fonts/fraunces.woff2) format("woff2");font-weight:100 900;font-display:swap}
:root{--tb-display:"OB Fraunces",Georgia,"Times New Roman",serif;
 --tb-ink:#684c28;--tb-gold:#f2cf7e;--tb-gold-ink:#a87a1f;--tb-fill:#fffaf0;--tb-night:#1e140f;--tb-hi:#faeccc;--tb-trees:#4f3b30}
@media(prefers-color-scheme:dark){:root[data-app=parent]{--tb-ink:#e3cfa8;--tb-fill:#2a2419;--tb-trees:#EEC363}:root[data-app=child]{--tb-ink:#e3cfa8;--tb-fill:#2a2419;--tb-trees:#EEC363}}
/* type scale (46b): page titles, section titles, tile titles, hand notes */
#room h1,.feature h1{font-family:var(--tb-display);font-weight:600;font-size:clamp(2.1rem,9vw,3.1rem);line-height:1.02;letter-spacing:-.03em;font-variation-settings:"SOFT" 100,"WONK" 1;text-wrap:balance;overflow-wrap:anywhere}
#room h2,.feature h2,.tp-finalize h2{font-family:var(--tb-display);font-weight:560;font-size:1.4rem;line-height:1.15;letter-spacing:-.012em;font-variation-settings:"SOFT" 100}
#room h3{font-family:var(--tb-display);font-weight:560;font-size:1.18rem;letter-spacing:-.008em}
.tile b,.tp-option b,.hello,.memo-dish span{font-family:var(--tb-display);font-weight:540;letter-spacing:-.01em;font-variation-settings:"SOFT" 100}
.tile b{font-size:1.14rem}
.hello{font-size:1.4rem}
/* icons */
svg.ta{display:inline-block;vertical-align:middle;overflow:visible;fill:none;stroke-linecap:round;stroke-linejoin:round}
.ta .ta-ink{stroke:var(--tb-ink);stroke-width:1.8;fill:none}
.ta .ta-fill{fill:var(--tb-fill);stroke:none}
.ta .ta-ink.ta-fill{fill:var(--tb-fill)}
.ta .ta-gold{fill:var(--tb-gold);stroke:var(--tb-gold-ink);stroke-width:1}
.ta .ta-night{fill:var(--tb-night)}
.ta .ta-moon{fill:var(--tb-hi)}
.ta .ta-trees{fill:var(--tb-trees)}
.ta .ta-sun{fill:var(--tb-gold);stroke:var(--tb-gold-ink);stroke-width:1.2}
.ta .ta-ray{stroke:var(--tb-gold-ink);stroke-width:1.8}
.ta .ta-cloud{fill:var(--tb-fill);stroke:var(--tb-ink);stroke-width:1.8}
.ta .ta-rain{stroke:#4f7d93;stroke-width:1.8}
.ta-option{width:34px;height:34px;flex:none}
.tp-option span.tp-option-art{font-size:inherit;display:inline-flex}
.tp-option-big .ta-option{width:84px;height:84px}
.tp-option-big{font-size:inherit!important;line-height:1}
.ta-rate{width:26px;height:26px;margin:-4px 6px -4px -4px}
.rate button{display:inline-flex;align-items:center}
.ta-vote{width:16px;height:16px;margin-right:3px}
.tp-vote-mark{display:inline-flex;align-items:center;margin-right:.7rem;white-space:nowrap}
.tp-vote-marks{display:flex;flex-wrap:wrap}
.ta-badge{width:18px;height:18px;margin:-3px 5px 0 0}
.ta-clock{width:22px;height:22px;margin:-3px 8px 0 0}
.ta-room{width:26px;height:26px}
.room-glyph{display:inline-flex}
.ta-talk{width:28px;height:28px;margin:-4px 8px 0 0}
.ta-step{width:22px;height:22px}
.guardian-icon .ta-step{width:34px;height:34px}
.dish-art>span{display:contents}
.dish-art .ta-dish{width:46px;height:46px}
.dish-art--big .ta-dish{width:120px;height:120px}
.dinner-choices--ideas .dish-art .ta-dish{width:40px;height:40px}
.ta-dish .ta-ink{stroke:#684c28}.ta-dish .ta-fill{fill:#fffaf0}
.tp-option b{font-size:1.04rem;line-height:1.2}
@media(max-width:360px){.tp-option{gap:8px;padding-left:10px;padding-right:10px}.tp-option .ta-option{width:30px;height:30px}.tp-option b{font-size:.98rem}}
@media(prefers-color-scheme:dark){:root[data-app=parent] .ta .ta-night{stroke:#5a4a30;stroke-width:1.2}}
/* polish47d: one "Kids can help" block, grouped by age */
.kband{border:1px solid var(--rule);border-radius:14px;margin:.6rem 0;padding:.2rem .9rem;background:var(--card,#fffdf8);max-width:720px}
.kband>summary{display:flex;align-items:baseline;gap:.6rem;min-height:44px;padding:.55rem 0;cursor:pointer;font-family:var(--tb-display);font-size:1.12rem}
.kband>summary b{font-weight:560}
.kband>summary small{font-size:.9rem;color:var(--muted)}
.kband .kjob-list{margin-top:0}
.kband-more{margin:.5rem 0 .1rem;font-size:.9rem;color:var(--muted)}
.kband-ideas{margin:0 0 .7rem;padding-left:1.2rem}
.kband-ideas li{margin:.25rem 0}
/* polish47e "Lock the week": a light, compact card; the rope-house mark (traced from the logo) draws in and ties */
.tp-lock-row{display:flex;flex-wrap:wrap;align-items:center;gap:.5rem .9rem;margin:.7rem 0 .1rem}
.tp-lock-row .sub{font-size:.92rem;margin:0}
.tp-lock{min-height:48px}
.tp-locked{display:flex;align-items:center;gap:12px;padding:.6rem .9rem;margin:.8rem 0 1rem;max-width:620px;background:var(--card,#fffdf8);border:1px solid #d6b87e;border-radius:14px;box-shadow:none}
.tp-locked-mark{flex:none;width:44px;display:grid;place-items:center}
.tp-locked .ta-locked{width:44px;height:48px;overflow:visible}
#room .tp-locked h2{margin:0;font-size:1.25rem;line-height:1.15}
.tp-locked h2:focus{outline:none}.tp-locked h2:focus-visible{outline:3px solid currentColor;outline-offset:3px}
.tp-locked-line{margin:.15rem 0 0;font-size:.92rem;line-height:1.3;color:var(--ink)}
.tp-locked-sub{margin:.15rem 0 0;font-size:.82rem;line-height:1.35;color:var(--muted)}
.ta-locked path{fill:none;stroke-linecap:butt;stroke-linejoin:round}
.ta-locked .ta-r-edge{stroke:#684c28}.ta-locked .ta-r-core{stroke:#d6b87e}.ta-locked .ta-r-hi{stroke:#faeccc}
.ta-tick{width:.9em;height:.9em;margin:-.12em 0 0 .35em;vertical-align:middle}
.ta-tick .ta-tickp{stroke-width:2.4;stroke:currentColor}
@media(prefers-color-scheme:dark){:root[data-app=parent] .tp-locked{background:var(--surface,#261E19);border-color:#8a6a35}}
@media(prefers-reduced-motion:no-preference){
 .tp-locked.is-new .ta-draw{stroke-dasharray:1;animation:tb-draw .56s cubic-bezier(.4,0,.2,1) both}
 .tp-locked.is-new .ta-tie{stroke-dasharray:1;animation:tb-draw .26s ease-out .56s both}
}
@keyframes tb-draw{from{stroke-dashoffset:1}to{stroke-dashoffset:0}}

/* polish52 "This week is set": the one stitched moment on the Week screen. Rope house, display headline, the week as a strip. */
.tp-locked.tp-set{display:block;position:relative;padding:1rem 1rem .9rem;background:var(--ob-card);border:1px solid var(--ob-line-strong);border-radius:var(--ob-r-lg);box-shadow:var(--ob-card-shadow)}
.tp-locked.tp-set::before{content:"";position:absolute;inset:6px;border:1.5px dashed var(--ob-champ);border-radius:var(--ob-r-md);pointer-events:none}
.tp-set-head{display:flex;align-items:center;gap:14px}
.tp-set .tp-locked-mark{width:58px}.tp-set .ta-locked{width:58px;height:62px}
.tp-set-eyebrow{margin:0;font-size:.82rem;font-weight:650;color:var(--ob-rose-deep)}
#room .tp-set h2{font-family:var(--ob-display);font-size:1.55rem;font-weight:600;margin:.05rem 0 .1rem}
.tp-set .tp-locked-line{font-size:.95rem}
.tp-week-strip{list-style:none;margin:.85rem 0 .35rem;padding:0;display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:5px}
.tp-week-strip li{display:flex;flex-direction:column;align-items:center;gap:3px;min-width:0}
.tp-ws-pic{display:block;width:100%;aspect-ratio:1;border-radius:var(--ob-r-sm);overflow:hidden;background:var(--ob-linen);border:1px solid var(--ob-line)}
.tp-ws-pic img{width:100%;height:100%;object-fit:cover;display:block}
.tp-ws-day{font-size:.75rem;font-weight:700;color:var(--ob-ink)}
.tp-ws-name{font-size:.68rem;line-height:1.15;color:var(--ob-stone);text-align:center;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;width:100%}
@media(max-width:359px){.tp-ws-name{display:none}.tp-week-strip{gap:4px}}
@media(prefers-color-scheme:dark){:root[data-app=parent] .tp-locked.tp-set{background:var(--surface);border-color:#8a6a35}:root[data-app=parent] .tp-set::before{border-color:#8a6a35}
 :root[data-app=parent] .tp-ws-day{color:var(--ob-ink)}:root[data-app=parent] .tp-ws-name{color:var(--muted)}:root[data-app=parent] .tp-set-eyebrow{color:var(--ob-gold)}}
@media(prefers-reduced-motion:no-preference){.tp-set.is-new .tp-week-strip li{animation:tp-ws-in .32s cubic-bezier(.2,.8,.2,1) both;animation-delay:calc(.5s + var(--i)*60ms)}}
@keyframes tp-ws-in{from{opacity:0;transform:translateY(6px) scale(.96)}to{opacity:1;transform:none}}

/* polish52: dinner page hero picture, design-system card corners and hairline */
.dinner-hero{margin:.2rem 0 .9rem;max-width:620px;aspect-ratio:4/3;border-radius:var(--ob-r-lg);overflow:hidden;background:var(--ob-linen);border:1px solid var(--ob-line);box-shadow:var(--ob-card-shadow)}
.dinner-hero img{display:block;width:100%;height:100%;object-fit:cover}
@media(prefers-color-scheme:dark){:root[data-app=parent] .dinner-hero{border-color:#8a6a35}}
/* hotfix56: one-time hello when the home-screen app first opens on a phone. Brand tokens only. */
dialog.ob-hello{max-width:min(420px,calc(100vw - 32px));text-align:center;border-radius:var(--ob-r-lg);box-shadow:var(--ob-card-shadow)}
.ob-hello .ob-dialog-in{padding:28px 24px 18px}
.ob-hello-mark{display:block;margin:0 auto 10px;width:64px;height:64px}
.ob-hello-eyebrow{margin:0 0 .3rem;font-weight:700;color:var(--tb-gold-ink)}
.ob-hello h2{font-family:var(--tb-display);font-size:1.75rem;line-height:1.15;margin:0 0 .6rem}
.ob-hello p{margin:0 0 .9rem}
.ob-hello-who{padding:.6rem .8rem;border:1px solid var(--ob-line);border-radius:var(--ob-r-md);background:var(--ob-linen)}
.ob-hello-who small{color:var(--ob-stone)}
.ob-hello .primary{width:100%;min-height:50px}
.ob-hello-switch{margin:.5rem 0 0}
.ob-hello .quiet-btn{min-height:44px;background:transparent;border:0;color:var(--terra);font-weight:600;cursor:pointer}
.invite-entry{margin:.9rem 0 0;font-size:.95rem;color:var(--muted)}
.invite-entry a{color:var(--terra);font-weight:650;text-underline-offset:3px}
