/* ==== saved-views.css ==== */
.saved-views{display:flex;align-items:center;gap:8px 16px;flex-wrap:wrap;margin:8px 0 12px;padding:8px 14px;background:var(--surface,#fff);border:1px solid var(--line,#deded9);border-radius:12px}
.saved-views .saved-view-row{border-top:0;padding:0}.saved-views .saved-view-label small{display:none}
.saved-views-link{font-weight:600;background:none;border:0;padding:6px 0;cursor:pointer;color:inherit}
.saved-page h1{margin:8px 0 6px}
.saved-view-row{display:flex;align-items:center;gap:12px;flex-wrap:wrap;padding:12px 0;border-top:1px solid #e7e7e2}.saved-view-label{flex:1;min-width:160px;overflow-wrap:anywhere}.saved-view-label small{display:block;color:#666;margin-top:4px}.saved-view-unavailable{flex-basis:100%;color:#666}
.saved-view-star{margin-left:auto;white-space:nowrap}
.saved-view-form{display:flex;align-items:end;gap:10px;flex-wrap:wrap;margin:8px 0 12px;padding:12px 14px;background:var(--surface,#fff);border:1px solid var(--line,#deded9);border-radius:12px;box-shadow:0 6px 18px rgba(0,0,0,.08)}
.saved-view-form>div{flex:1;min-width:160px;max-width:320px}.saved-view-form input,.saved-view-form select{width:100%;box-sizing:border-box}.saved-view-form label{display:block}.saved-view-form p{flex-basis:100%;margin:0}
.saved-view-status:empty{display:none}.saved-view-status{margin:8px 0;font-size:14px}
.saved-view-note,.saved-view-empty{font-size:14px;color:#626660;line-height:1.5}
/* ==== home-welcome.css ==== */
/* Home welcome (P22): greeting and attention list. No inline styles (CSP). */
.home-welcome{margin:0 0 20px;padding:20px 22px;border-radius:16px;background:#fff;border:1px solid #1c3a2d26;color:#1C3A2D}
.home-welcome[hidden],.home-welcome[data-off-home]{display:none}
.home-loading>.home-welcome{display:none!important}
.welcome-top{display:flex;align-items:flex-start;justify-content:space-between;gap:8px}
.welcome-greeting{margin:0 0 4px;font-size:26px;line-height:1.2;min-width:0;overflow-wrap:anywhere}
.welcome-collapse{flex:none;display:grid;place-items:center;width:44px;height:44px;margin:-10px -12px 0 0;padding:0;border:0;border-radius:50%;background:transparent;color:#1C3A2D;font:inherit;font-size:22px;line-height:1;cursor:pointer}
.welcome-collapse:hover{background:#f6f3ea}.welcome-collapse:focus-visible{outline:2px solid #1C3A2D;outline-offset:2px}
.welcome-body[hidden]{display:none}
.welcome-line{margin:0 0 14px;font-size:15px;line-height:1.4}
.welcome-heading{margin:0 0 10px;font-size:16px;font-weight:700;cursor:pointer;min-height:44px;display:flex;align-items:center}
.welcome-box:not([open])>.welcome-heading{margin:0}
.welcome-list{list-style:none;margin:0 0 12px;padding:0;display:grid;gap:8px}
.welcome-item{display:flex;gap:12px;align-items:flex-start;width:100%;min-height:44px;padding:10px 12px;text-align:left;background:#f6f3ea;border:1px solid #1c3a2d26;border-radius:12px;color:inherit;font:inherit;cursor:pointer}
.welcome-item:hover,.welcome-item:focus-visible{border-color:#1C3A2D}
.welcome-item:focus-visible,.welcome-close:focus-visible{outline:2px solid #1C3A2D;outline-offset:2px}
.welcome-rank{flex:none;display:grid;place-items:center;width:26px;height:26px;border-radius:50%;background:#1C3A2D;color:#fff;font-weight:700;font-size:13px}
.welcome-text{display:grid;gap:2px}.welcome-text span{font-size:13px;opacity:.85}
.welcome-close{min-height:40px;padding:8px 14px;border:1px solid #1C3A2D55;border-radius:999px;background:#fff;color:#1C3A2D;font:inherit;font-weight:600;cursor:pointer}
.welcome-clear{margin:0;font-size:15px}
@media(max-width:640px){.home-welcome{padding:12px 16px;margin-bottom:12px}.welcome-greeting{font-size:20px}.welcome-line{margin:0 0 4px;font-size:14px}.welcome-heading{margin-bottom:0}}

/* "vs comparable stores" sublabel under a big number. The tooltip shows on hover and on keyboard focus of the number. */
.comp-line{display:inline-block;margin-top:2px;font-size:12px;font-weight:600;opacity:.85}
.comp-line[hidden]{display:none}
.comp-line:focus-visible{outline:2px solid #1C3A2D;outline-offset:3px;border-radius:3px}
.studio-metric[tabindex="0"]:focus-visible{outline:2px solid #1C3A2D;outline-offset:3px;border-radius:3px}
/* ==== studio.css ==== */
/* Approved Earthbar Studio direction, layered over the existing application. */
:root{--ground:#f7f7f4;--ink:#17201a;--studio-green:#19241e;--studio-lime:#dbed9b;--studio-berry:#633461}
body{background:var(--ground);font-size:16px}.top{background:var(--ground);border-bottom:1px solid #dedfd7}.wordmark{display:flex;align-items:center;gap:14px}.wordmark img{width:172px;height:auto}.wordmark span{font-size:12px;letter-spacing:.16em}
main{max-width:1200px}.page-heading h1{font-size:clamp(30px,4vw,44px);letter-spacing:-.045em}.page-heading{position:relative}.app-nav{background:transparent}.app-nav .nav-tab.active{background:#19241e;color:white;border-color:#19241e;border-radius:9px}.studio-heading-photo{width:104px;height:88px;object-fit:cover;border-radius:17px;margin-left:auto;margin-right:24px}
#home-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:0;background:#fff;border:1px solid #dedfd7;border-radius:20px;margin:16px 0 28px;overflow:hidden}
.studio-metric{background:transparent;border:0;border-radius:0;text-align:left;color:inherit;min-width:0;padding:18px;display:flex;flex-direction:column;align-items:flex-start;gap:8px;width:100%;cursor:pointer}.studio-metric .metric-label{color:inherit;font-size:12px;font-weight:700;letter-spacing:.05em}.studio-metric .metric-value{color:inherit;font-size:clamp(26px,3vw,36px);line-height:1.1;letter-spacing:-.04em}.studio-metric p{color:inherit;font-size:13px;line-height:1.5;margin:0;opacity:.85}.studio-metric:hover{background:#00000008}.studio-metric:focus-visible,.studio-open:focus-visible,.studio-inline:focus-visible{outline:3px solid #377499;outline-offset:-4px}
#home-summary>.studio-metric+.studio-metric{border-left:1px solid #e0e2da}.studio-intro{margin:26px 0 20px}.studio-intro h2{font-size:clamp(28px,3.5vw,38px);letter-spacing:-.04em;margin:4px 0 7px}.studio-intro>p:last-child{color:#586052;margin:0;font-size:16px}
.studio-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;margin-bottom:36px}.studio-card{min-width:0;padding:26px;border:1px solid #dedfd7;border-radius:22px;background:#fff;overflow:hidden;display:flex;flex-direction:column;align-items:stretch}.studio-kicker{font-size:12px;letter-spacing:.07em;text-transform:uppercase;font-weight:700;margin:0 0 16px}.studio-card h2{font-size:30px;line-height:1.08;letter-spacing:-.035em;margin:0 0 12px;color:inherit}.studio-description{font-size:16px;line-height:1.5;margin:0 0 18px}.studio-note,.studio-card .history-note{font-size:13px;line-height:1.5;color:inherit;opacity:.88}.studio-open{display:block;background:transparent;border:1px solid currentColor;border-radius:12px;color:inherit;padding:13px 16px;font-size:14px;line-height:1.3;text-decoration:none;font-weight:700;text-align:left;margin-top:auto;cursor:pointer}.studio-open:hover{background:#ffffff18}.studio-labor{background:var(--studio-green);border-color:var(--studio-green);color:#fff}.studio-labor .studio-kicker{color:#dbed9b}.studio-labor .labor-summary{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:0 0 8px}.studio-labor .metric-cell{background:#ffffff0a;border:1px solid #ffffff25;border-radius:12px;padding:12px;min-width:0;color:#fff;box-shadow:none}.studio-labor .metric-cell:first-child{grid-column:1/-1;background:#dbed9b;color:#19241e;padding:18px}.studio-labor .metric-label,.studio-labor .metric-value,.studio-labor .muted{color:inherit}.studio-labor .metric-value{font-size:25px}.studio-labor .metric-cell:first-child .metric-value{font-size:36px}.studio-labor .muted{font-size:12px;line-height:1.45}.studio-labor .metric-label{font-size:12px}.studio-labor .history-note{margin:6px 0 20px}
.studio-food{padding:0}.studio-card-photo{width:100%;height:155px;object-fit:cover;object-position:50% 48%;display:block}.studio-card-body{padding:24px;display:flex;flex-direction:column;flex:1}.studio-inline{display:flex;justify-content:space-between;gap:16px;align-items:center;padding:14px 0;border:0;border-bottom:1px solid #dedfd7;border-radius:0;background:none;text-align:left;font-size:16px;color:inherit;cursor:pointer}.studio-inline strong{font-size:28px}.studio-food .studio-open{margin-top:12px}.studio-sales{background:var(--studio-berry);border-color:var(--studio-berry);color:#fff}.studio-sales .studio-kicker,.studio-sales .studio-description{color:#f4e7f4}.studio-loyalty{background:var(--studio-lime);border-color:#cfdf8e;color:#19241e}.studio-metrics{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0}.studio-metrics .studio-metric{padding:16px 12px 16px 0;border-top:1px solid #ffffff40}.studio-loyalty .studio-metric{border-color:#19241e30}.studio-people{grid-column:auto;flex-direction:row;gap:24px;align-items:center;background:#f7efe2;border-color:#e6d9c7}.studio-people .studio-description{margin-bottom:0}.studio-people .studio-open{margin:0 0 0 auto;flex-shrink:0}.studio-people h2{font-size:25px}
.food-validation{border-top:1px solid #dedfd7;margin-top:24px;padding-top:20px}.food-validation h3{font-size:21px;margin:22px 0 10px}.food-validation p{font-size:16px;line-height:1.6}.login{border-radius:24px}.login h1{letter-spacing:-.05em}.portal-links a{font-size:14px}.priority-list{border-radius:18px;overflow:hidden}.feed-section{margin-top:32px}
@media(max-width:740px){.studio-grid{grid-template-columns:1fr;gap:16px}.studio-people{grid-column:auto;align-items:flex-start;flex-direction:column}.studio-people .studio-open{margin:0;width:100%}.studio-heading-photo{width:78px;height:80px;margin-right:12px}#home-summary>.studio-metric{padding:16px 12px}.studio-metric .metric-value{font-size:27px}.studio-card{padding:22px}.studio-food{padding:0}.studio-card-body{padding:22px}}
@media(max-width:480px){#home-summary{grid-template-columns:1fr}#home-summary>.studio-metric+.studio-metric{border-left:0;border-top:1px solid #e0e2da}#home-summary>.studio-metric{display:grid;grid-template-columns:1fr auto;gap:8px 12px;padding:16px 18px}#home-summary .metric-label{align-self:center}#home-summary p{grid-column:1/-1}.page-heading{display:grid;grid-template-columns:minmax(0,1fr) 72px;gap:14px}.page-heading .studio-heading-photo{display:block;width:72px;height:88px;margin:0}.page-heading #refresh{grid-column:1/-1;justify-self:start}.wordmark img{width:139px}.studio-card h2{font-size:28px}.studio-labor .labor-summary{grid-template-columns:1fr}.studio-labor .metric-cell:first-child{grid-column:auto}.studio-labor .metric-cell:not(:first-child){display:grid;grid-template-columns:1fr auto;gap:6px}.studio-labor .metric-cell .muted{grid-column:1/-1}.studio-metrics{gap:0 12px}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important}}
.history-view{margin:16px 0;display:flex;gap:6px}.matrix-controls{margin:16px 0;max-width:100%}.matrix-controls label{font-size:14px;letter-spacing:0;text-transform:none}.matrix-controls select{max-width:520px}.store-matrix{max-height:65vh;overflow:auto}.store-matrix table{border-collapse:separate;border-spacing:0}.store-matrix caption{text-align:left;padding:12px 0;font-weight:700}.store-matrix thead th{position:sticky;top:0;background:var(--surface);z-index:2;min-width:105px}.store-matrix tbody th{position:sticky;left:0;background:var(--surface);z-index:1;min-width:165px;max-width:240px;white-space:normal}.store-matrix thead th:first-child{left:0;z-index:3}.coverage-mark{color:#8b4c00}.history-view button[aria-pressed="true"]{background:var(--ink);color:var(--surface)}.food-preview-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:18px 0}.food-preview-grid article{padding:16px;background:var(--surface);border:1px solid var(--line);border-radius:12px}.food-preview-grid strong{display:block;font-size:24px;margin:8px 0}.food-preview-grid p{margin:0;font-size:14px}.food-preview-block{margin:24px 0}.food-preview-block h3{margin-bottom:8px}.food-preview-block label{font-size:14px;text-transform:none;letter-spacing:0}.food-preview-banner{padding:12px 16px;background:#fff6df;border-left:3px solid #946200;color:#674000;margin:16px 0}.food-preview-block .status{font-size:13px}.food-preview-grid .status{font-size:13px}@media(max-width:600px){.food-preview-grid{grid-template-columns:1fr}.store-matrix tbody th{min-width:130px;max-width:155px}.matrix-controls select{width:100%}}

/* Compact controls and concise context across Home and detail views. */
.admin-menu{position:relative}.admin-menu>summary{list-style:none;cursor:pointer;border:1px solid #d9ddd2;border-radius:9px;padding:10px 14px;font-size:14px;font-weight:650;max-width:240px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.admin-menu>summary::after{content:' ⌄'}.admin-menu-panel{position:absolute;right:0;top:calc(100% + 8px);width:min(340px,85vw);background:#fff;border:1px solid #d9ddd2;border-radius:12px;padding:12px;box-shadow:0 12px 32px #17201a22;z-index:20}.admin-menu-panel input{width:100%}#leader-options{max-height:340px;overflow:auto;margin-top:8px}#leader-options button{display:flex;justify-content:space-between;gap:12px;width:100%;text-align:left;background:none;border:0;min-height:44px;padding:10px}#leader-options button[aria-current=true]{background:#edf2e1}#leader-options small{font-size:11px;color:#687063}.filter-disclosure{margin:8px 0 14px}.filter-disclosure>summary,.filter-icon{display:inline-flex;align-items:center;gap:7px;list-style:none;width:auto;min-height:40px;padding:8px 11px;background:transparent;border:1px solid #d9ddd2;border-radius:9px;cursor:pointer;font-size:13px}.filter-disclosure>summary::-webkit-details-marker,.admin-menu>summary::-webkit-details-marker{display:none}.filter-disclosure[open]>.filter-content,.filter-disclosure[open]>.scope-controls{margin-top:12px}.filter-content{border:1px solid #dedfd7;border-radius:12px;padding:16px}.filter-content>label{font-size:13px}.filter-content>select{display:block;margin-top:6px}.filter-disclosure .scope-controls{margin:10px 0}.history-note,.small-note,.studio-note,.studio-metric p,.chart-caption{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.pmix-group{margin:22px 0}.pmix-group h3{margin-bottom:12px}.pmix-table th[scope=row]{min-width:200px}.pmix-controls{display:flex;gap:12px;flex-wrap:wrap;align-items:end}.pmix-controls label{display:block;font-size:13px;margin-bottom:6px}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.view-banner{font-size:13px;padding:8px 12px}.history-view{margin-top:12px}
@media(max-width:560px){.admin-menu>summary{max-width:145px}.header-actions{gap:8px}.pmix-table th[scope=row]{min-width:155px}.page-heading .studio-heading-photo{display:none}}

.detail-link{display:flex;align-items:center;justify-content:space-between;gap:16px;text-align:left;flex-wrap:wrap}.detail-link span{font-size:14px;font-weight:400;color:var(--muted)}

.summary-action{border:0;background:none;padding:0;text-align:left}.summary-action strong{text-decoration:underline;text-underline-offset:5px}

/* Recruiting uses the same scoped working surface as the other operating areas. */
.studio-people{display:block}.studio-people .studio-open{margin-top:18px}.recruiting-counts{display:grid;grid-template-columns:1fr 1fr;gap:20px;margin-top:16px}.recruiting-counts .studio-metric{text-align:left}.recruiting-freshness{font-size:14px;color:var(--muted);margin:12px 0}.recruiting-section{margin:28px 0}.recruiting-section>summary{font-size:21px;font-weight:650;cursor:pointer;padding:12px 0}.recruiting-table th{vertical-align:top}.recruiting-table th:first-child{min-width:240px}.recruiting-table summary{cursor:pointer;line-height:1.5}.recruiting-req{display:block;font-size:12px;color:var(--muted);font-weight:400}.recruiting-detail{display:grid;grid-template-columns:repeat(2,minmax(100px,1fr));gap:12px;margin:16px 0;min-width:260px;font-size:14px;font-weight:400}.recruiting-detail dt{color:var(--muted)}.recruiting-detail dd{margin:3px 0 0}.recruiting-age-label{display:block;font-size:12px;white-space:normal}.recruiting-critical{background:#fff1ef}.recruiting-warning{background:#fff9e9}.recruiting-indeed{display:inline-block;margin:8px 0}.priority-critical{border-color:#a33326}.priority-reason{font-weight:700;color:#a1261c;background:#fff1ef;border-radius:8px;padding:9px 12px;font-size:14px}.priority-rules{margin:12px 0 22px;max-width:760px}.priority-rules>summary{cursor:pointer;font-size:14px}.priority-rules p{font-size:14px;line-height:1.6}.priority-rules input{display:block;max-width:200px;margin-top:8px;font-size:16px}.priority-rules label{font-size:14px;text-transform:none;letter-spacing:0}.recruiting-table{max-width:100%;overflow:auto}.recruiting-table td{vertical-align:top}@media(max-width:560px){.recruiting-counts{gap:12px}.recruiting-detail{grid-template-columns:1fr}.recruiting-table th:first-child{min-width:190px}}
.studio-metric .metric-value.negative,.studio-labor .metric-value.negative{color:#a1261c}

.studio-sales .negative{color:#ffdad5}

.cost-table{margin-top:18px}.cost-table tfoot{font-weight:700}.cost-bars{display:grid;gap:18px;margin-top:22px}.cost-bar{display:grid;grid-template-columns:1fr auto;gap:8px 18px;text-align:left;border:0;background:transparent;padding:8px 0;cursor:pointer}.cost-bar-track{grid-column:1/-1;background:#eef0e8;height:12px;border-radius:6px;overflow:hidden}.cost-bar-fill{display:block;height:100%;background:#596d37;border-radius:6px}.cost-credit{background:#7e6993}.studio-food button.studio-metric{width:100%;text-align:left}
/* Photo tile bands and the featured creative slot (approved 2026-09-16 mockups). */
.studio-card{padding:0}
.studio-schedule{align-self:start;background:#f0f5f6;border-color:#c9d5d8}
.studio-schedule .studio-metric{border-color:#19241e30}
.studio-card-photo{width:100%;height:180px;object-fit:cover;object-position:50% 48%;display:block;flex:none}
.studio-card-body{padding:26px 28px 28px;display:flex;flex-direction:column;flex:1;min-width:0}
.studio-sales .studio-card-photo{object-position:50% 45%}
.studio-labor .studio-card-photo{object-position:50% 40%}
.studio-food .studio-card-photo{object-position:50% 55%}
.studio-loyalty .studio-card-photo{object-position:50% 30%}
.studio-people .studio-card-photo{object-position:50% 35%}
.studio-featured{background-color:var(--studio-green);background-image:linear-gradient(180deg,rgba(23,32,26,.28),rgba(23,32,26,.66)),url("assets/protocol-lime-citrus.jpg");background-size:cover;background-position:50% 48%;border-color:var(--studio-green);color:#fff;min-height:428px;justify-content:flex-start}
.studio-featured .studio-kicker{color:rgba(255,255,255,.9)}
.studio-featured .studio-description{color:rgba(255,255,255,.92);max-width:380px;margin-bottom:0}
.studio-featured h2,.studio-featured .studio-kicker,.studio-featured .studio-description{text-shadow:0 1px 3px rgba(23,32,26,.55)}
@media(max-width:740px){.studio-card{padding:0}.studio-card-photo{height:140px}.studio-featured{min-height:320px}}
@media(max-width:480px){.studio-card-photo{height:110px}.studio-featured{min-height:240px}}

/* Full-page fleet views: sales, labor, loyalty (breadcrumb, hero band, in-page detail). */
.page-breadcrumb{display:flex;align-items:center;gap:10px;margin:18px 0 4px}
.crumb-back{border:0;background:transparent;min-height:44px;padding:6px 12px 6px 0;color:var(--muted);font-size:14px;font-weight:650;cursor:pointer}
.crumb-back:hover{color:var(--ink);text-decoration:underline;text-underline-offset:4px}
.crumb-sep{color:rgba(17,17,17,.25)}
.crumb-current{min-height:40px;display:inline-flex;align-items:center;padding:0 18px;border-radius:999px;background:#111;color:#fff;font-size:14px;font-weight:650}
.page-hero{display:grid;grid-template-columns:minmax(0,1fr) minmax(260px,470px);border-radius:24px;overflow:hidden;margin:14px 0 26px;box-shadow:var(--shadow)}
.page-hero:empty,.page-extras:empty,.page-detail:empty{display:none}
.page-hero .hero-copy{padding:38px 42px;display:flex;flex-direction:column;gap:13px;min-width:0}
.page-hero h1{margin:0;font-size:clamp(30px,4vw,44px);line-height:1.05;letter-spacing:-.045em}
.page-hero .studio-kicker{margin:0}
.hero-lede{margin:0;font-size:15px}
.hero-chips{display:flex;flex-wrap:wrap;gap:10px;margin:2px 0 0;padding:0;list-style:none}
.hero-chips li{border-radius:999px;padding:8px 14px;font-size:13px;font-weight:650}
.hero-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin-top:auto;padding-top:22px}
.hero-stats-4{grid-template-columns:repeat(4,minmax(0,1fr))}
.hero-stat{display:flex;flex-direction:column;gap:4px;min-width:0}
.hero-stat-label{font-size:12px;font-weight:700}
.hero-stat-value{font:750 clamp(22px,2.6vw,30px)/1.15 var(--mono);letter-spacing:-.04em}
.hero-stat-value small{font-size:15px;font-weight:600;letter-spacing:0}
.hero-stat-note{font-size:12px;margin:0}
.hero-photo{width:100%;height:100%;min-height:340px;object-fit:cover;display:block}
.page-hero.studio-sales .hero-lede,.page-hero.studio-labor .hero-lede{color:rgba(255,255,255,.78)}
.page-hero.studio-sales .hero-chips li,.page-hero.studio-labor .hero-chips li{background:rgba(255,255,255,.16)}
.page-hero.studio-sales .hero-stat-label,.page-hero.studio-sales .hero-stat-note,.page-hero.studio-labor .hero-stat-label,.page-hero.studio-labor .hero-stat-note{color:rgba(255,255,255,.74)}
.hero-negative{color:#ffd9d6}
.page-hero.studio-loyalty .hero-lede{color:rgba(23,32,26,.72)}
.page-hero.studio-loyalty .hero-chips li{background:rgba(255,255,255,.55)}
.page-hero.studio-loyalty .hero-stat{background:rgba(255,255,255,.72);border-radius:14px;padding:14px 16px}
.page-hero.studio-loyalty .hero-stat-label,.page-hero.studio-loyalty .hero-stat-note{color:rgba(23,32,26,.72)}
.page-hero.studio-labor [data-hero-labor]{margin-top:auto;padding-top:22px}
.page-hero.studio-labor .labor-summary{grid-template-columns:1.35fr 1fr 1fr 1fr;gap:12px;margin:0}
.page-hero.studio-labor .labor-summary .metric-cell:first-child{grid-column:auto}
.page-scope-note{margin:0 0 14px}
.page-hero:empty+.page-scope-note{display:none}
.page-detail{background:var(--surface);border:1px solid #dedfd7;border-radius:16px;padding:24px 26px;margin:0 0 24px}
.page-extras{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;margin:0 0 36px}
.page-card{background:var(--surface);border:1px solid #dedfd7;border-radius:16px;padding:26px 28px;min-width:0}
.page-card-value{display:block;font:750 clamp(28px,4vw,40px)/1.1 var(--mono);letter-spacing:-.04em;margin:4px 0 8px}
.pmix-card{display:flex;align-items:center;gap:20px;justify-content:space-between}
.pmix-copy{display:flex;flex-direction:column;gap:8px;min-width:0}
.pmix-copy h3{margin:0;font-size:20px;letter-spacing:-.02em}
.page-cta{align-self:flex-start;display:inline-flex;align-items:center;min-height:44px;padding:0 22px;border:1.5px solid rgba(23,32,26,.35);border-radius:999px;background:transparent;font-size:14px;font-weight:650;cursor:pointer;margin-top:6px}
.page-cta:hover{background:var(--surface-2)}
.pmix-cutout{height:170px;width:auto;max-width:40%;object-fit:contain;flex:none}
.campaign-band{display:grid;grid-template-columns:minmax(220px,420px) minmax(0,1fr);padding:0;overflow:hidden;margin:0 0 36px}
.campaign-photo{width:100%;height:100%;min-height:210px;object-fit:cover;display:block}
.campaign-copy{padding:26px 30px;display:flex;flex-direction:column;gap:8px}
.campaign-copy h3{margin:0;font-size:20px;letter-spacing:-.02em}
.campaign-copy p{margin:0}
@media(max-width:900px){.page-hero{grid-template-columns:1fr}.hero-photo{min-height:0;height:190px;order:-1}.hero-stats,.hero-stats-4{grid-template-columns:repeat(2,minmax(0,1fr))}.page-hero.studio-labor .labor-summary{grid-template-columns:repeat(2,minmax(0,1fr))}.page-hero.studio-labor .labor-summary .metric-cell:first-child{grid-column:1/-1}.page-extras{grid-template-columns:1fr}.campaign-band{grid-template-columns:1fr}.campaign-photo{height:170px;min-height:0}}
@media(max-width:560px){.page-hero .hero-copy{padding:24px 20px}.hero-stats,.hero-stats-4{grid-template-columns:1fr}.page-hero.studio-labor .labor-summary{grid-template-columns:1fr}.page-detail{padding:16px}.page-card{padding:20px}.pmix-card{flex-direction:column;align-items:flex-start}.pmix-cutout{max-width:60%;height:130px}}

.app-nav .transfer-nav[hidden]{display:none}.app-nav .transfer-nav{display:inline-flex;align-items:center;gap:6px}.transfer-nav span{font-size:10px;text-transform:uppercase;letter-spacing:.04em;color:#6c7564}

/* Phone navigation keeps every destination visible, wrapping into a second row when needed. */
@media(max-width:480px){.grove-toolbar{height:auto}}
/* Phone width: the header now holds Admin, Replay tour and Sign out, so the Admin panel anchors to the header, not to its button. */
@media(max-width:640px){.admin-menu{position:static}.admin-menu>summary{min-height:44px}.admin-menu-panel{left:16px;right:16px;width:auto}}
/* ==== report-pages.css ==== */
.studio-heading-crop{flex-shrink:0;width:104px;height:88px;overflow:hidden;border-radius:17px;margin-left:auto;margin-right:24px}
.studio-heading-crop .studio-heading-photo{display:block;width:100%;height:100%;object-fit:cover;object-position:center 40%;transform:scale(1.22);margin:0;border-radius:0}
.report-navigation{display:flex;align-items:center;gap:14px;margin:16px 0 20px;flex-wrap:wrap}
.report-navigation[hidden]{display:none}
.report-navigation label{font-size:14px;text-transform:none;letter-spacing:0;margin:0}
.report-navigation select{width:auto;flex:1;min-height:44px;min-width:220px;font-size:16px}
.report-heading{margin:20px 0 16px}.report-heading h1{font-size:32px;letter-spacing:-.035em;margin:0 0 8px}
.report-definition{font-size:14px;line-height:1.6;max-width:1000px;margin:10px 0 18px;color:var(--muted)}
.report-definition strong{color:var(--ink)}
.page-detail{padding:20px 24px}.page-detail>h2{font-size:22px;margin-top:4px}
.page-card h2{font-size:22px;margin:5px 0}.page-cta{font-size:16px}
.page-view .history-note,.page-view .small-note{font-size:14px;line-height:1.5}
.page-view .history-view{margin-bottom:16px}
.page-view .detail-table{max-width:100%;overflow:auto}
.report-metric-tabs{display:flex;gap:10px;flex-wrap:wrap;margin:16px 0}
.report-metric-tabs button{min-height:48px;text-align:left;padding:12px 18px;border:1px solid #dedfd7;border-radius:12px;background:#fff;font-size:16px}
.report-metric-tabs button[aria-pressed="true"]{border-color:#17201a;background:#e2edac}
.chart-legend{flex-wrap:wrap}
/* Metric tiles across the top of every report (P13): same look as the Labor strip they generalize. */
.report-metric-strip{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:10px;margin:14px 0 6px}
.report-metric-strip[hidden]{display:none}
.report-metric-strip .metric-cell{display:flex;flex-direction:column;align-items:flex-start;gap:4px;min-width:0;min-height:44px;border:1px solid var(--line);border-radius:10px;padding:12px 14px;text-align:left;background:#fff;cursor:pointer}
.report-metric-strip .metric-cell[aria-pressed="true"]{background:#e2edac;border-color:#647838}
.report-metric-strip .metric-label{font-size:12px;font-weight:700;letter-spacing:.04em;line-height:1.25}
.report-metric-strip .metric-value{font-size:22px;line-height:1.15;overflow-wrap:anywhere}
.report-metric-strip .muted{font-size:11.5px;line-height:1.3}
@media(max-width:600px){#dashboard:has(.page-view:not([hidden]))>.page-heading{display:none}.report-metric-strip{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.report-metric-strip .metric-value{font-size:clamp(16px,5vw,19px);white-space:nowrap;overflow-wrap:normal}.report-heading{margin:12px 0 10px}.report-navigation{margin:10px 0 14px}}
.learning-summary .learning-figure.is-active strong{text-decoration:underline;text-decoration-thickness:3px;text-underline-offset:6px}
.learning-table td.is-active{font-weight:700}
[data-report-summary] .labor-summary{display:grid;grid-template-columns:repeat(auto-fit,minmax(170px,1fr));gap:10px;margin:18px 0}
[data-report-summary] .metric-cell{border:1px solid var(--line);border-radius:10px;padding:16px;text-align:left}
[data-report-summary] .metric-cell[aria-pressed="true"]{background:#e2edac;border-color:#647838}
.recruiting-store-toggle{display:flex;align-items:center;gap:8px;flex-wrap:wrap;text-align:left;border:0;background:none}
.recruiting-store-count{font-weight:400;font-size:13px;color:var(--muted)}
.recruiting-opportunity{padding:14px 0;border-bottom:1px solid var(--line)}
.recruiting-opportunity summary{display:flex;flex-wrap:wrap;gap:12px;align-items:center}
.recruiting-opportunity-title{flex:1;min-width:200px;font-weight:650}
.recruiting-opportunity-metric{font-size:14px}
@media(max-width:740px){.studio-heading-crop{width:78px;height:80px;margin-right:12px}}
@media(max-width:600px){.report-navigation{display:grid;grid-template-columns:auto minmax(0,1fr);gap:8px 10px;align-items:center}.report-navigation[hidden]{display:none}.report-navigation .crumb-back{grid-column:1/-1;justify-self:start}.report-navigation select{width:100%;flex:none;min-width:0;max-width:100%}.report-heading h1{font-size:28px}.page-detail{padding:16px}}
@media(max-width:560px){.studio-heading-crop{display:none}}

/* September feedback: compact operating cards, preserving the approved photo treatment. */
.studio-card-photo{height:120px}
.studio-card-body{padding:18px 22px 20px}
.studio-card h2{font-size:26px;margin-bottom:8px}
.studio-card .studio-kicker{margin-bottom:9px}
.studio-description{font-size:14px;line-height:1.4;margin-bottom:12px}
.studio-metrics .studio-metric{padding:11px 10px 11px 0;gap:5px}
.studio-metric .metric-value{font-size:28px}
.studio-labor .metric-cell:first-child{padding:12px}
.studio-labor .metric-cell:first-child .metric-value{font-size:28px}
.studio-labor .metric-cell{padding:10px}
.studio-open{padding:10px 14px;min-height:44px}
.page-extras>.page-card{display:flex;flex-direction:column}
.page-extras>.pmix-card{flex-direction:row;align-items:stretch}
.page-extras .pmix-copy{display:flex;flex-direction:column;flex:1}
.page-extras .page-cta{margin-top:auto}
/* Keep routine definitions compact; show the Boost denominator and exclusions. */
.report-definition{display:none}
#boost-view>.report-definition{display:block}
.history-chart-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}
.history-chart-grid>.primary-chart{grid-column:1/-1}
.history-chart-grid .primary-chart svg{min-height:300px;max-height:440px}
.history-chart-grid>section:not(.primary-chart) svg{min-height:160px;max-height:230px}
.history-chart-grid .chart-wrap .line-chart{width:100%;min-width:0;height:auto}
.report-expansion{max-width:100%;overflow-x:auto}
.report-hierarchy{display:grid;gap:0;margin:8px 0;min-width:max-content}
.hierarchy-node{border:0;border-radius:0;padding:0;background:var(--surface)}
.hierarchy-node>.report-hierarchy{margin:0}
.hierarchy-row,.hierarchy-leaf>button.hierarchy-row{display:grid;grid-template-columns:minmax(14rem,1fr) max-content;gap:18px;align-items:center;width:100%;padding:12px;min-height:44px;text-align:left;border:0;border-bottom:1px solid var(--line);border-radius:0;background:none}
.hierarchy-node>summary{cursor:pointer;list-style:none}
.hierarchy-node>summary::-webkit-details-marker{display:none}
.hierarchy-label{white-space:normal;overflow-wrap:anywhere;min-width:0;font-size:14px}
.hierarchy-label>.small-note{display:block;margin-top:4px;line-height:1.3}
.hierarchy-node .hierarchy-node .hierarchy-label{padding-left:18px}
.hierarchy-node .hierarchy-node .hierarchy-node .hierarchy-label{padding-left:36px}
.hierarchy-chevron{display:inline-block;width:16px;transform-origin:6px center}
.hierarchy-node[open]>summary .hierarchy-chevron{transform:rotate(90deg)}
.hierarchy-values{display:grid;grid-auto-flow:column;grid-auto-columns:8.5rem;gap:18px;margin:0}
.hierarchy-value{display:flex;flex-direction:column;gap:3px;text-align:right;min-width:0;font-variant-numeric:tabular-nums lining-nums}
.hierarchy-value small{color:var(--muted);font-size:12px;white-space:normal}.hierarchy-value strong{font-size:15px;white-space:nowrap}
.hierarchy-row:focus-visible{outline:2px solid #2f637b;outline-offset:-2px}
.comparison-picker{border:1px solid var(--line);border-radius:12px;padding:14px;margin:12px 0;max-width:600px}
.comparison-picker>label{display:block;font-size:14px;letter-spacing:normal;text-transform:none}
.comparison-picker input[type=search]{width:100%;margin:6px 0 10px}
.comparison-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.comparison-options{max-height:260px;overflow:auto;margin-top:10px}
.comparison-options label{display:flex;gap:10px;align-items:center;min-height:44px;font-size:14px;letter-spacing:normal;text-transform:none}
.comparison-options input{width:20px;min-height:20px;flex:0 0 20px}
.comparison-options small{margin-left:auto;color:var(--muted)}
.cost-pie-layout{display:grid;grid-template-columns:minmax(220px,1fr) 2fr;gap:24px;align-items:center}
.cost-pie{display:block;width:100%;max-width:300px;margin:16px auto}
.chart-swatch{display:inline-block;width:12px;height:12px;margin-right:6px;vertical-align:middle;flex:0 0 12px}
.chart-legend .chart-swatch{min-height:0;max-height:12px;height:12px;width:12px}
@media(max-width:740px){.cost-pie-layout{grid-template-columns:1fr}.hierarchy-row,.hierarchy-leaf>button.hierarchy-row{grid-template-columns:minmax(11rem,1fr) max-content;gap:10px}.hierarchy-values{grid-auto-columns:8rem;gap:10px}}
.page-view .history-table th,.page-view .history-table td,.page-view .store-matrix th,.page-view .store-matrix td{padding:9px 8px}
@media(max-width:740px){.studio-card-photo{height:105px}.studio-card-body{padding:16px 18px}.studio-card h2{font-size:24px}.history-chart-grid{grid-template-columns:1fr}.history-chart-grid .primary-chart svg{min-height:220px}.page-extras>.pmix-card{flex-direction:row}}

/* Cost provenance and missing-store caveats must remain fully visible on phones. */
.cost-note,#labor-cost-note,#food-cost-note{display:block;-webkit-line-clamp:unset;overflow:visible}

/* Compact comparison rows; expanded ancestors recede without fading children. */
.hierarchy-row,.hierarchy-leaf>button.hierarchy-row{padding:5px 10px;min-height:30px;gap:12px}
.hierarchy-row.row-dim,.hierarchy-row.row-dim .hierarchy-values{background:#e9ebe5;color:#8b9187}
.detail-table .cell-action,.snapshot-table button,.report-grid button.cell-action{min-height:26px;padding-top:2px;padding-bottom:2px}
.snapshot-table th,.snapshot-table td,.detail-table th,.detail-table td{padding-top:5px;padding-bottom:5px}
/* Greying is now by focus: everything except the open row and its branch (row-focus.js). */
tr.row-dim>th,tr.row-dim>td,tr.row-dim button{background:#e9ebe5!important;color:#8b9187!important}
.hierarchy-value{flex-direction:row;align-items:baseline;justify-content:flex-end;gap:6px;line-height:1.3}.hierarchy-value small{white-space:nowrap}.hierarchy-values{grid-auto-columns:9.5rem;gap:12px}
/* P7 (2026-10-07): every report line chart gets axis titles and a bottom legend in plain words (chart-frame.js),
   light-grey gridlines and a label on the latest point of each line. */
.chart-frame{margin:0;min-width:0}
.chart-frame .chart-axis-y{margin:0 0 4px;font-size:12px;font-weight:650;line-height:1.3;color:var(--muted)}
.chart-frame .chart-axis-x{margin:2px 0 0;font-size:12px;font-weight:650;line-height:1.3;color:var(--muted);text-align:center}
.chart-frame .chart-key{display:flex;flex-wrap:wrap;gap:6px 18px;list-style:none;margin:10px 0 0;padding:0;font-size:13px;line-height:1.35;color:var(--ink)}
.chart-frame .chart-key li{display:inline-flex;align-items:center;gap:7px;min-width:0;overflow-wrap:anywhere}
.chart-frame .chart-key .chart-key-swatch{display:block;width:24px;height:12px;min-width:24px;min-height:0;max-height:12px;flex:0 0 24px}
.chart-key-swatch .actual-series{stroke:var(--ink);stroke-width:3}
.chart-key-swatch .budget-series{stroke:#737373;stroke-width:3;stroke-dasharray:5 3}
.chart .chart-grid{stroke:#e4e4e1;stroke-width:1}
.chart .chart-zero{stroke:#5b6168;stroke-width:1.75}.chart text.chart-zero-label{font-weight:700;fill:#3d434a}
.chart text.chart-latest{font-size:13px;font-weight:700;fill:var(--ink);paint-order:stroke;stroke:var(--surface);stroke-width:4;stroke-linejoin:round}
.chart-frame svg.chart-compact{display:none}
@media(max-width:640px){.chart-frame .chart-wrap svg.chart-wide{display:none}.chart-frame .chart-wrap svg.chart-compact{display:block;width:100%!important;min-width:0!important;height:auto!important;min-height:0!important;max-height:none!important}.chart-frame .chart-compact text{font-size:12px}.chart-frame .chart-compact text.chart-latest{font-size:12px}}
.chart-frame-fit{width:fit-content;max-width:100%}
/* Same-store report: the number tapped on Home is underlined in the big-number strip. */
.same-store-summary .same-store-figure.is-active strong{text-decoration:underline;text-decoration-thickness:3px;text-underline-offset:6px}
.same-store-window{margin:0 0 6px;font-size:14px;font-weight:600}
.same-store-table td.numeric,.same-store-table thead th:not(:first-child),.learning-table td.numeric,.learning-table thead th:not(:first-child){text-align:right}
.same-store-table abbr{text-decoration:none}
.same-store-table tr.same-store-total>*,.learning-table tr.learning-total>*{font-weight:700}
.learning-table td.learning-person-note{color:var(--muted);font-size:13px}
.report-filters{margin:10px 0 0}.report-filters:empty{display:none}.period-filter{display:flex;flex-wrap:wrap;gap:12px;align-items:end}.period-filter label{display:block;font-size:13px;margin-bottom:6px}.period-filter select,.period-filter input{min-height:44px;max-width:100%}.period-filter .period-custom{display:flex;flex-wrap:wrap;gap:12px;align-items:end}.period-filter [hidden]{display:none}.period-filter p{flex-basis:100%;margin:0}.report-filters .scope-controls{margin:0}
.capture-avg{font-weight:700;border-left:1px solid var(--line,#dedfd7)}
.recruiting-flat th,.recruiting-flat td{white-space:nowrap}.recruiting-flat .recruiting-subtotal th,.recruiting-flat .recruiting-subtotal td,.recruiting-flat tfoot th,.recruiting-flat tfoot td{font-weight:700;background:var(--surface,#f6f6f2)}.recruiting-controls{display:flex;flex-wrap:wrap;gap:12px;align-items:end;margin:8px 0}.recruiting-controls label{display:block;font-size:13px;margin-bottom:6px}.recruiting-controls select{min-height:44px}.recruiting-controls button{min-height:44px}
/* P31: one Same-store sales card. A period the chosen measure cannot use is greyed out, not hidden. */
.period-toggle-options button:disabled{opacity:.45;cursor:not-allowed}
.same-store-metrics{margin:0 0 10px}
.same-store-by-store{margin-top:1rem}
.same-store-period-note{margin:0 0 10px;font-size:13px;color:var(--muted,#5a5a5a)}
