/* Family Command 3.1 — compact dashboard polish */
:root{--dash-gap:7px;--dash-radius:16px}
.shell{width:min(1560px,calc(100% - 18px));padding:10px 0 24px}.topbar{margin-bottom:5px;gap:10px}.topbar h1{font-size:clamp(1.55rem,3vw,2.55rem);margin:.08rem 0}.topbar p{font-size:.78rem}.eyebrow,.kicker{font-size:.61rem}.header-actions,.status-row{gap:4px}.chip,.status-pill,.badge,.count,.tiny,.sync-pill{padding:4px 7px}.status-row{margin-bottom:5px}.status-pill{font-size:.68rem}.main-grid{gap:var(--dash-gap);grid-auto-flow:dense}.card{border-radius:var(--dash-radius);padding:11px;box-shadow:0 6px 20px rgba(42,61,38,.075)}.card:hover{transform:translateY(-1px)}.card h2{font-size:1.02rem;margin:.1rem 0 .32rem}.card h3{font-size:.92rem}.card p{margin:.25rem 0;font-size:.76rem;line-height:1.25}.card-head{gap:6px}.stack{gap:4px}.compact-stack{max-height:150px}.empty,.adventure-result{padding:7px 9px;font-size:.73rem}.calendar-event,.upcoming-event{grid-template-columns:58px 1fr;gap:6px;padding:6px 8px}.calendar-event strong,.upcoming-event strong{font-size:.79rem}.event-time{font-size:.58rem}.event-location{font-size:.63rem}.metric-grid{gap:4px}.metric{padding:6px 8px}.metric small{font-size:.54rem}.metric strong{font-size:.9rem}.inline-form,.meal-form,.memory-form{gap:4px;margin-bottom:5px}.inline-form input,.meal-form input,.meal-form select,.memory-form input,.memory-form textarea{padding:6px 8px;font-size:.73rem}.inline-form button,.meal-form button,.memory-form button,.primary{padding:6px 9px;font-size:.72rem}.checklist{gap:3px;max-height:170px}.check-item{padding:5px 7px;font-size:.73rem}.meal-week{gap:3px;margin-bottom:5px}.meal-day{min-height:58px;padding:6px}.meal-day strong{margin-top:3px;font-size:.7rem}.meal-day span{font-size:.57rem}.memory-spotlight{grid-template-columns:86px 1fr;gap:8px;margin-bottom:5px}.memory-frame{height:76px}.memory-form textarea{min-height:38px}.pulse-grid{gap:4px}.pulse-grid div{padding:6px}.pulse-grid strong{font-size:1rem}.pulse-grid span{font-size:.58rem}
/* Briefing becomes a glanceable command strip instead of a tall hero. */
.daily-briefing{padding:10px}.brief-head{align-items:center}.brief-title{font-size:1.25rem!important;margin:.05rem 0!important}.brief-subtitle{font-size:.72rem}.brief-phase{padding:.35rem .55rem;font-size:.68rem}.brief-grid{grid-template-columns:repeat(8,minmax(0,1fr))!important;gap:4px!important;margin-top:.55rem!important}.brief-tile{border-radius:12px!important;padding:.5rem!important;min-height:68px!important}.brief-tile-icon{font-size:1rem!important}.brief-tile strong{font-size:.7rem!important;margin:.12rem 0 .08rem!important}.brief-tile span{font-size:.61rem!important;line-height:1.18!important;display:-webkit-box!important;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.brief-footer{margin-top:.4rem!important;gap:.3rem!important}.brief-chip{font-size:.62rem!important;padding:.28rem .42rem!important}
/* Pet check stays tap-friendly but stops consuming a huge block. */
.pet-grid{grid-template-columns:repeat(5,minmax(0,1fr))!important;gap:.4rem!important;margin-top:.55rem!important}.pet-row{border-radius:13px!important;padding:.55rem!important}.pet-name{gap:.35rem!important;margin-bottom:.4rem!important}.pet-name span{font-size:1.1rem!important}.pet-name strong{font-size:.78rem}.pet-name small{font-size:.61rem}.pet-checks{gap:.25rem!important}.pet-check{min-width:0!important}.pet-check label{min-height:34px!important;border-radius:9px!important;font-size:.65rem!important;padding:3px!important}.pet-check label::before{font-size:.75rem!important}.pet-done-note{margin-top:.45rem!important;padding:.45rem .55rem!important;font-size:.7rem!important}.pet-reset-note{margin-top:.35rem!important;font-size:.62rem!important}
/* Household task rows */
.chore-list{gap:.35rem!important;margin-top:.5rem!important}.chore-item{grid-template-columns:36px minmax(0,1fr) auto!important;gap:.45rem!important;border-radius:12px!important;padding:.45rem!important}.chore-toggle{width:32px!important;height:32px!important;border-radius:9px!important}.chore-name{font-size:.76rem}.chore-meta{font-size:.6rem!important}.chore-icon{font-size:1rem!important}
/* Grocery + meal builder compactness without shrinking touch controls too far. */
.grocery-pro-card .card-head{margin-bottom:.35rem}.grocery-pro-card .grocery-summary{margin:.3rem 0}.meal-builder{margin-top:.45rem!important;padding:.65rem!important}.meal-ingredients-input{min-height:70px!important}
@media(max-width:1180px){.brief-grid{grid-template-columns:repeat(4,minmax(0,1fr))!important}.pet-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important}}
@media(max-width:900px){.shell{width:min(100% - 12px,1560px)}.brief-grid{grid-template-columns:repeat(4,minmax(0,1fr))!important}.pet-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
@media(max-width:700px){.shell{width:min(100% - 8px,1560px);padding-top:6px}.topbar{gap:5px;margin-bottom:4px}.topbar h1{font-size:1.65rem}.header-actions{gap:3px}.chip,.sync-pill{font-size:.62rem;padding:4px 6px}.main-grid{gap:5px}.card{padding:9px;border-radius:14px}.brief-head{flex-direction:row!important}.brief-title{font-size:1.08rem!important}.brief-subtitle{display:none}.brief-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}.brief-tile{min-height:62px!important}.pet-grid{grid-template-columns:1fr 1fr!important}.pet-row{padding:.48rem!important}.pet-checks{flex-direction:column}.pet-check label{min-height:36px!important}.meal-week{grid-template-columns:repeat(4,1fr)!important}.meal-day{min-height:54px}.status-row{margin-bottom:4px}.memory-spotlight{grid-template-columns:70px 1fr}.memory-frame{height:65px}}
@media(max-width:420px){.brief-grid{grid-template-columns:1fr 1fr!important}.pet-grid{grid-template-columns:1fr!important}.meal-week{grid-template-columns:repeat(2,1fr)!important}}
