/* 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 a.transfer-nav{display:inline-flex;align-items:center;gap:6px;text-decoration:none;color:inherit;padding:10px 14px;border-radius:9px;min-height:42px}.transfer-nav span{font-size:10px;text-transform:uppercase;letter-spacing:.04em;color:#6c7564}
@media(max-width:620px){.app-nav .nav-tab{padding:8px 9px;font-size:11px;letter-spacing:.03em}.app-nav a.transfer-nav{padding:8px 9px}.transfer-nav span{font-size:9px}}
