:root {
  --ink: #18312b; --ink-soft: #53635f; --forest: #173d34; --forest-deep: #102c26;
  --mint: #c9f07a; --mint-soft: #eff9dc; --paper: #fffefa; --canvas: #f3f2ec;
  --line: #d9ddd6; --shadow: 0 18px 48px rgba(26,48,42,.1);
}
body.theme-light-green { --ink:#263b2b;--ink-soft:#59705e;--forest:#4f7942;--forest-deep:#365a31;--mint:#d9f5a4;--mint-soft:#f3fbe8;--paper:#fffef9;--canvas:#f4f8ef;--line:#d9e2d3; }
body.theme-blue { --ink:#22374a;--ink-soft:#5a6d7e;--forest:#2f5e87;--forest-deep:#203f60;--mint:#a9d9f4;--mint-soft:#eaf6fc;--paper:#fff;--canvas:#eef5f9;--line:#d4e0e7; }
body.theme-maroon { --ink:#3d2930;--ink-soft:#725763;--forest:#7a2c3a;--forest-deep:#531d28;--mint:#f3b6bf;--mint-soft:#fff0f2;--paper:#fffdfb;--canvas:#f8eff1;--line:#e6d5d9; }
body.theme-orange { --ink:#46362a;--ink-soft:#786553;--forest:#a45f26;--forest-deep:#724018;--mint:#ffd08e;--mint-soft:#fff5e6;--paper:#fffefa;--canvas:#f8f1e7;--line:#e7dac8; }
body.theme-purple { --ink:#352e43;--ink-soft:#675f77;--forest:#604682;--forest-deep:#41305a;--mint:#d6b7f2;--mint-soft:#f6effc;--paper:#fff;--canvas:#f4f0f7;--line:#ded6e5; }
body.theme-rainbow { --ink:#302735;--ink-soft:#6b5b70;--forest:#73517f;--forest-deep:#4b3155;--mint:#ffd65c;--mint-soft:#fff7d7;--paper:#fffdfb;--canvas:#f7eff5;--line:#e4d6e2; }
body.theme-black { --ink:#252a2e;--ink-soft:#626a71;--forest:#353a40;--forest-deep:#202429;--mint:#c5cbd0;--mint-soft:#eff1f2;--paper:#fff;--canvas:#f0f2f3;--line:#d7dbde; }
* { box-sizing: border-box; }
html { font-size: 16px; min-height: 100%; }
body { margin: 0; min-height: 100vh; color: var(--ink); background: var(--canvas); font-family: Inter, Aptos, "Segoe UI", sans-serif; }
a { color: inherit; }
h1,h2,p { margin-top: 0; }
h1,h2 { letter-spacing: -.035em; }
h1 { font-size: clamp(2rem,4vw,3.5rem); font-weight: 750; }
h2 { font-size: 1.35rem; font-weight: 720; }
button,input,select { font: inherit; }

.site-header { position: fixed; inset: 0 0 auto; z-index: 50; height: 64px; display: flex; align-items: center; justify-content: space-between; padding: 0 24px; color: #fff; background: var(--forest-deep); border-bottom: 1px solid rgba(255,255,255,.1); }
.brand { display: inline-flex; align-items: center; gap: 16px; color: #fff; text-decoration: none; }
.brand-mark { display: grid; place-items: center; width: 68px; height: 48px; color: var(--forest-deep); background: var(--mint); border-radius: 13px 13px 13px 4px; font-size: 1.18rem; font-weight: 900; letter-spacing: .06em; }
.brand-copy { display: flex; align-items: baseline; gap: 12px; line-height: 1.05; }
.brand-copy strong { font-size: 1.5rem; letter-spacing: normal; word-spacing: .08em; }
.brand-copy small { color: #d1ddda; font-size: 1.12rem; font-weight: 600; }
.account-actions,.account-name { display: flex; align-items: center; gap: 12px; }
.account-name { color: #eaf1ef; font-size: .82rem; text-decoration: none; }
.nav-toggle { display: none; color: #fff; border: 0; background: transparent; font-size: 1.5rem; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 42px; padding: 0 18px; border: 1px solid transparent; border-radius: 10px; font-weight: 700; font-size: .88rem; text-decoration: none; cursor: pointer; transition: transform .15s,box-shadow .15s; }
.button:hover { transform: translateY(-1px); }
.button-primary { color: var(--forest-deep); background: var(--mint); box-shadow: 0 7px 20px rgba(201,240,122,.16); }
.button-outline { color: var(--forest); background: #fff; border-color: #cbd3cd; }
.button-quiet { color: #d4dfdc; background: rgba(255,255,255,.07); border-color: rgba(255,255,255,.12); }
.button-large { min-height: 52px; padding: 0 25px; font-size: .95rem; }

.public-main { min-height: 100vh; padding: 150px max(6vw,28px) 70px; color: #fff; background: radial-gradient(circle at 82% 18%,rgba(93,142,125,.28),transparent 30%),var(--forest-deep); }
.landing-shell { display: grid; grid-template-columns: 1.15fr minmax(350px,.75fr); align-items: center; gap: clamp(45px,8vw,120px); max-width: 1180px; min-height: calc(100vh - 220px); margin: 0 auto; }
.landing-shell-signed-in { grid-template-columns: 1fr; }
.landing-shell-signed-in .landing-hero h1 span { color: var(--forest); }
.landing-shell-signed-in .landing-hero p { color: var(--ink-soft); }
.landing-hero { max-width: 760px; padding: 4vh 0; }
.eyebrow { margin-bottom: 12px; color: #5f796f; font-size: .72rem; font-weight: 850; letter-spacing: .16em; text-transform: uppercase; }
.public-main .eyebrow { color: var(--mint); }
.landing-hero h1 { margin-bottom: 24px; font-size: clamp(3rem,4.5vw,4rem); line-height: 1.08; }
.landing-hero h1 span { display: block; color: var(--mint); }
.landing-hero p { max-width: 680px; color: #c4d0cd; font-size: clamp(1.05rem,2vw,1.25rem); line-height: 1.6; }
.hero-actions { display: flex; align-items: center; gap: 22px; margin-top: 32px; }
.login-shell { display: grid; grid-template-columns: 1.15fr minmax(350px,.75fr); align-items: center; gap: clamp(45px,9vw,130px); max-width: 1180px; min-height: calc(100vh - 220px); margin: 0 auto; }
.login-intro h1 { margin: 0 0 24px; font-size: clamp(3rem,6vw,5.5rem); line-height: .98; }
.login-intro h1 span { color: var(--mint); }
.login-intro > p { max-width: 580px; margin-bottom: 30px; color: #b9c8c4; font-size: 1.05rem; line-height: 1.65; }
.login-proof { display: inline-flex; align-items: center; gap: 8px; margin: 8px 20px 8px 0; color: #c8d4d1; font-size: .8rem; }
.login-proof b { color: var(--mint); }
.login-card { padding: 38px; color: var(--ink); background: var(--paper); border-radius: 18px; box-shadow: 0 28px 70px rgba(0,0,0,.25); }
.login-card h2 { margin-bottom: 8px; font-size: 1.8rem; }
.login-card > p { margin-bottom: 26px; color: #73817d; font-size: .86rem; }
.login-field { display: grid; gap: 7px; margin: 16px 0; }
.login-field label { color: #53635f; font-size: .72rem; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; }
.login-field input { width: 100%; height: 48px; padding: 0 13px; border: 1px solid #c9d1cb; border-radius: 9px; }
.login-field span { color: #a33f34; font-size: .72rem; }
.remember { display: flex; gap: 8px; margin: 18px 0 24px; color: #63736e; font-size: .8rem; }
.login-card .button { width: 100%; }
.login-help { display: block; margin-top: 18px; color: #82908c; text-align: center; }
.login-provider-logo { display: block; width: 190px; max-width: 58%; height: auto; margin: 18px auto 0; mix-blend-mode: multiply; }

.app-nav { position: fixed; top: 64px; bottom: 0; left: 0; z-index: 46; display: flex; flex-direction: column; width: 210px; padding: 14px 12px; overflow-y: auto; color: #dbe5e2; background: var(--forest); }
.app-nav nav { display: grid; gap: 6px; }
.app-nav a { display: flex; align-items: center; gap: 12px; min-height: 45px; padding: 0 14px; color: #dbe5e2; border-radius: 9px; text-decoration: none; font-size: .88rem; }
.app-nav a:hover,.nav-exit-form button:hover { color: #fff; background: rgba(255,255,255,.07); }
.app-nav a span,.nav-exit-form button span { width: 20px; color: var(--mint); font-size: 1rem; }
.app-nav a small { margin-left: auto; color: #93a9a2; font-size: .64rem; text-transform: uppercase; }
.app-nav a.disabled { opacity: .62; cursor: default; }
.app-nav a.nav-disabled { opacity: .42; pointer-events: none; cursor: not-allowed; }
.nav-exit-form button { display: flex; align-items: center; gap: 12px; width: 100%; min-height: 45px; padding: 0 14px; color: #dbe5e2; background: transparent; border: 0; border-radius: 9px; font-size: .88rem; text-align: left; cursor: pointer; }
.nav-label { margin: 16px 14px 4px; color: #8ea39d; font-size: .62rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.nav-environment { margin-top: auto; padding: 14px; color: #9db0ab; border-top: 1px solid rgba(255,255,255,.1); font-size: .72rem; }
.nav-environment span,.status-dot { display: inline-block; width: 8px; height: 8px; margin-right: 8px; background: var(--mint); border-radius: 50%; }
.nav-week-state { display: grid; gap: 6px; margin-top: auto; padding: 16px 12px; border-top: 1px solid rgba(255,255,255,.1); }
.nav-week-state > span { color: #dbe5e2; font-size: .68rem; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; }
.nav-week-state strong { color: #fff; font-size: .82rem; }
.nav-week-state small { color: #93a9a2; font-size: .63rem; }
.app-nav .nav-week-state > a { justify-content: center; min-height: 34px; margin-top: 3px; padding: 0 10px; color: var(--forest-deep); background: var(--mint); border-radius: 7px; font-size: .72rem; font-weight: 800; }
.app-nav .nav-week-state > a:hover { color: var(--forest-deep); background: #dcf7a8; }
.nav-week-state + .nav-environment { margin-top: 0; }
.app-main { min-height: 100vh; margin-left: 210px; padding: 205px clamp(22px,3vw,52px) 70px; }
.persistent-toolbar { position: fixed; top: 64px; right: 0; left: 210px; z-index: 44; display: flex; height: 116px; overflow-x: auto; overflow-y: hidden; color: var(--ink); background: #f8faf8; border-bottom: 1px solid #bfc8c2; box-shadow: 0 5px 18px rgba(29,51,44,.08); scrollbar-width: thin; }
.persistent-toolbar-empty { display: flex; align-items: center; padding: 0 24px; color: var(--ink-soft); }
.persistent-toolbar-store { flex: 0 0 245px; display: grid; grid-template-columns: 1fr 76px; grid-template-rows: 1fr 1fr; align-items: center; gap: 2px 8px; padding: 10px 12px; border-right: 1px solid #cbd1cd; }
.persistent-toolbar-store > span { display: grid; min-width: 0; }
.persistent-toolbar-store > span:first-child { align-self: end; }
.persistent-toolbar-store small,.persistent-toolbar-group > small { color: #66736f; font-size: .58rem; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; }
.persistent-toolbar-store strong { overflow: hidden; font-size: .7rem; text-overflow: ellipsis; white-space: nowrap; }
.persistent-toolbar-store > a { grid-column: 2; grid-row: 1 / 3; display: grid; place-items: center; align-content: center; gap: 5px; min-height: 76px; color: var(--ink); border: 1px solid transparent; border-radius: 6px; font-size: .62rem; font-weight: 700; text-align: center; text-decoration: none; }
.persistent-toolbar-store > a:hover { background: var(--mint-soft); border-color: #bdc9c1; }
.persistent-toolbar-store > a b { display: grid; place-items: center; width: 31px; height: 31px; color: var(--forest); background: #e8eee9; border: 1px solid #c7d0ca; border-radius: 6px; font-size: 1rem; }
.persistent-toolbar-group { flex: 0 0 auto; display: flex; flex-direction: column; min-width: 86px; padding: 6px 4px 0; border-right: 1px solid #cbd1cd; }
.persistent-toolbar-group > div { display: flex; flex: 1; align-items: stretch; }
.persistent-toolbar-group > small { display: block; margin: 0 -4px; padding: 3px 8px; border-top: 1px solid #d8ddda; text-align: center; white-space: nowrap; }
.persistent-toolbar-group a { display: flex; flex: 0 0 67px; flex-direction: column; align-items: center; justify-content: flex-start; gap: 5px; min-width: 0; padding: 5px 3px; color: #293a35; border: 1px solid transparent; border-radius: 5px; text-align: center; text-decoration: none; }
.persistent-toolbar-group a:hover { background: var(--mint-soft); border-color: #bdc9c1; }
.persistent-toolbar-group a b { display: grid; place-items: center; width: 31px; height: 31px; color: var(--forest); background: #e8eee9; border: 1px solid #c7d0ca; border-radius: 6px; font-size: 1rem; }
.persistent-toolbar a b.toolbar-image { width: 32px; height: 32px; background: transparent; border: 0; border-radius: 0; }
.persistent-toolbar a b.toolbar-image img { display: block; width: 32px; height: 32px; object-fit: contain; }
.persistent-toolbar-group a span { display: -webkit-box; max-width: 64px; overflow: hidden; font-size: .59rem; font-weight: 700; line-height: 1.12; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.persistent-toolbar a.nav-disabled { opacity: .38; pointer-events: none; }
.page-heading,.report-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; margin-bottom: 34px; }
.page-heading h1,.report-heading h1 { margin-bottom: 8px; }
.page-heading p,.report-heading p { margin: 0; color: var(--ink-soft); }
.page-heading > .inline-actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 8px 12px; border: 0; }
.report-context { display: flex; flex-wrap: wrap; align-items: center; gap: 7px 24px; }
.store-chip { display: flex; align-items: center; min-width: 270px; padding: 14px 18px; background: var(--paper); border: 1px solid var(--line); border-radius: 12px; }
.store-chip div { display: grid; }
.store-chip small,.store-row small,.report-meta small { color: #74837f; font-size: .68rem; text-transform: uppercase; letter-spacing: .07em; }
.store-chip strong { margin-top: 3px; font-size: .85rem; }

.start-store-info { margin-bottom: 22px; overflow: hidden; background: var(--paper); border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 7px 24px rgba(29,51,44,.04); }
.start-store-info > header { padding: 14px 18px 10px; color: #fff; background: var(--forest); }
.start-store-info > header .eyebrow { color: #b8c9c4; }
.start-store-info > header h2 { margin: 2px 0 0; font-size: 1rem; }
.start-store-info-fields { display: grid; grid-template-columns: minmax(180px,1.3fr) minmax(110px,.55fr) minmax(170px,.75fr) minmax(330px,1.4fr); align-items: end; gap: 16px; padding: 17px 18px; }
.start-store-info-fields > div { display: grid; gap: 4px; }
.start-store-info-fields small,.start-week-form label { color: var(--ink-soft); font-size: .67rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.start-store-info-fields strong { font-size: .88rem; }
.start-week-form { display: grid; grid-template-columns: minmax(145px,1fr) auto auto; align-items: end; gap: 7px 10px; }
.start-week-form label { grid-column: 1/-1; }
.start-week-form input { min-height: 38px; padding: 0 9px; border: 1px solid #cbd3cd; border-radius: 7px; }
.start-week-form .button { min-height: 38px; }
.week-ending-dialog { max-width: 620px; margin: 0 auto; padding: 24px; background: var(--paper); border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow); }
.week-ending-form { display: grid; gap: 14px; }
.week-ending-form > label { color: var(--ink); font-weight: 800; }
.week-calendar { width: min(100%, 390px); margin: 0 auto; padding: 12px; border: 1px solid #b8c3bd; border-radius: 10px; background: #f8faf8; }
.week-calendar-heading { display: grid; grid-template-columns: 42px 1fr 42px; align-items: center; gap: 8px; margin-bottom: 8px; text-align: center; }
.week-calendar-heading strong { font-size: 1.05rem; }
.week-calendar-nav { min-height: 38px; border: 1px solid #aab7b0; border-radius: 7px; background: #fff; color: var(--ink); font-size: 1.6rem; line-height: 1; }
.week-calendar-nav:disabled { opacity: .35; cursor: default; }
.week-calendar-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; }
.week-calendar-weekday { padding: 5px 0; color: var(--muted); font-size: .76rem; font-weight: 800; text-align: center; text-transform: uppercase; }
.week-calendar-day { position: relative; min-height: 42px; border: 1px solid transparent; border-radius: 7px; background: transparent; color: #8b948f; font-weight: 700; }
.week-calendar-day[data-selectable="true"] { border-color: #9eb8aa; background: #e5f0e8; color: var(--ink); cursor: pointer; }
.week-calendar-day[data-selectable="true"]:hover,
.week-calendar-day[data-selectable="true"]:focus-visible { border-color: var(--brand); outline: 2px solid rgba(33, 117, 87, .22); }
.week-calendar-day.is-selected { border-color: #a22b25; background: #fff4d6; color: #7a211d; }
.week-calendar-star { display: block; color: #d59a00; font-size: 1.2rem; line-height: .8; }
.week-calendar-selection { margin: 12px 0 0; text-align: center; }
.start-week-required { margin: 0; padding: 10px 18px; color: #775a17; background: #fff8df; border-top: 1px solid #eddca4; font-size: .78rem; font-weight: 750; }
.dashboard-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; }
.workflow-card { position: relative; min-height: 270px; padding: 28px; overflow: hidden; color: var(--ink); background: var(--paper); border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 8px 30px rgba(29,51,44,.04); text-decoration: none; }
.workflow-card.featured { color: #fff; background: var(--forest); border-color: var(--forest); box-shadow: var(--shadow); }
.workflow-card.featured::after { content: ""; position: absolute; right: -40px; bottom: -60px; width: 190px; height: 190px; background: var(--mint); border-radius: 50%; opacity: .08; }
.workflow-card.workflow-disabled { opacity: .52; filter: grayscale(.4); pointer-events: none; cursor: not-allowed; }
.workflow-icon { display: grid; place-items: center; width: 48px; height: 48px; margin-bottom: 36px; color: var(--forest); background: var(--mint); border-radius: 13px; font-size: 1.25rem; }
.workflow-state { position: absolute; top: 30px; right: 28px; color: #82918d; font-size: .68rem; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }
.featured .workflow-state { color: #b5c9c3; }
.workflow-card h2 { margin-bottom: 10px; }
.workflow-card p { max-width: 310px; color: #71807c; line-height: 1.5; font-size: .88rem; }
.featured p { color: #b8c9c4; }
.workflow-link { position: absolute; bottom: 26px; color: var(--mint); font-size: .82rem; font-weight: 750; }
.workflow-link b { margin-left: 8px; }
.start-page-heading { margin-bottom: 18px; }
.start-page-heading h1 { font-size: clamp(1.8rem,3vw,2.7rem); }
.start-spanish-option { color: #b32727!important; font-size: 1rem; font-weight: 800; }
.start-ribbon { display: none; overflow: hidden; background: #f8faf8; border: 1px solid #b8c0bb; border-radius: 7px; box-shadow: 0 7px 24px rgba(29,51,44,.06); }
.start-ribbon-tab { width: max-content; min-width: 120px; padding: 9px 20px 8px; color: #fff; background: var(--forest); border-radius: 0 0 5px 0; font-size: .78rem; font-weight: 800; }
.start-ribbon-panels { display: flex; align-items: stretch; min-height: 178px; padding: 7px 3px 3px; overflow-x: auto; scrollbar-color: #aeb8b2 transparent; }
.start-ribbon-panel { flex: 0 0 auto; display: flex; flex-direction: column; min-width: 110px; min-height: 164px; padding: 6px 7px 0; border-right: 1px solid #cbd1cd; }
.start-ribbon-panel:last-child { border-right: 0; }
.start-ribbon-panel > h2 { margin: auto -7px 0; padding: 6px 8px 5px; color: #5f6864; border-top: 1px solid #d8ddda; font-size: .7rem; font-weight: 650; letter-spacing: 0; text-align: center; white-space: nowrap; }
.start-command-row { display: flex; align-items: stretch; gap: 2px; }
.start-command { display: flex; flex: 0 0 auto; flex-direction: column; align-items: center; justify-content: flex-start; width: 88px; min-height: 118px; padding: 10px 5px 7px; color: #293a35; background: transparent; border: 1px solid transparent; border-radius: 5px; text-align: center; text-decoration: none; cursor: pointer; }
.start-command:hover,.start-command:focus-visible { color: var(--ink); background: var(--mint-soft); border-color: #b8c9bf; outline: 0; }
.start-command strong { display: block; max-width: 82px; font-size: .72rem; font-weight: 650; line-height: 1.22; }
.start-command-icon { display: grid; place-items: center; width: 46px; height: 46px; margin: 3px 0 11px; color: var(--forest); background: #e8eee9; border: 1px solid #c7d0ca; border-radius: 7px; font-size: 1.35rem; font-style: normal; font-weight: 850; }
.start-command-secondary .start-command-icon { width: 35px; height: 35px; margin-top: 8px; margin-bottom: 17px; border-radius: 50%; font-size: 1rem; }
.start-command-disabled { opacity: .38; filter: grayscale(.7); pointer-events: none; cursor: not-allowed; }
.start-store-panel { display: grid; grid-template-columns: 216px 88px; grid-template-rows: 1fr auto; width: 326px; }
.start-store-panel > h2 { grid-column: 1/-1; }
.start-store-values { display: grid; align-content: start; gap: 7px; padding: 7px 10px 5px 4px; }
.start-store-values > div { display: grid; grid-template-columns: 76px 1fr; align-items: baseline; gap: 5px; }
.start-store-values span { color: #65716d; font-size: .65rem; font-weight: 750; }
.start-store-values strong { overflow: hidden; font-size: .76rem; text-overflow: ellipsis; white-space: nowrap; }
.start-select-week { grid-column: 2; grid-row: 1; }
.start-exit-form { margin: 0; }
.start-exit-form .start-command { font: inherit; }
.start-welcome-panel { display: grid; place-items: center; gap: 6px; max-width: 960px; min-height: 300px; margin: 42px auto 0; padding: 40px; color: var(--ink-soft); background: linear-gradient(145deg,var(--paper),var(--canvas)); border: 1px solid var(--line); border-radius: 12px; text-align: center; }
.start-welcome-mark { display: grid; place-items: center; width: 104px; height: 104px; color: var(--forest-deep); background: var(--mint); border-radius: 28px 28px 28px 8px; font-size: 2.5rem; font-weight: 900; letter-spacing: .08em; }
.start-welcome-panel > strong { margin-top: 12px; color: var(--ink); font-size: clamp(1.3rem,2.3vw,2rem); }
.start-welcome-panel > span:not(.start-welcome-mark) { font-size: .9rem; }
.start-welcome-panel .start-welcome-tagline { margin-top: 18px; color: var(--ink); font-size: 1rem; font-weight: 700; }
.start-welcome-panel small { color: var(--ink-soft); font-size: .72rem; font-weight: 700; }
.start-welcome-panel em { margin-top: 15px; color: #b32727; font-size: 1rem; font-style: normal; font-weight: 800; }
.store-panel { margin-top: 28px; padding: 26px; background: var(--paper); border: 1px solid var(--line); border-radius: 16px; }
.panel-heading { display: flex; justify-content: space-between; align-items: center; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.panel-heading h2 { margin: 0; }
.panel-heading > span { color: #71807c; font-size: .8rem; }
.store-row { display: grid; grid-template-columns: 2fr 1fr 1fr auto; align-items: center; gap: 20px; padding: 17px 0; border-bottom: 1px solid #e9ebe7; }
.store-row:last-child { border: 0; padding-bottom: 0; }
.store-row > div { display: grid; gap: 3px; }
.store-region-folder { border: 1px solid var(--line); border-radius: 10px; margin: 12px 0; overflow: hidden; }
.store-region-folder > summary { padding: 18px; cursor: pointer; font-weight: 700; color: var(--forest); }
.store-region-folder > summary small { font-weight: 400; color: var(--ink-soft); }
.store-region-folder > summary:focus-visible { outline: 3px solid var(--forest); outline-offset: -3px; }
.store-region-folder[open] > summary { border-bottom: 1px solid var(--line); }
.store-region-folder > .store-list { padding: 0 18px 18px; }
.store-selection .store-row { grid-template-columns: minmax(0, 1fr) auto; }
.store-row span { font-size: .84rem; }

.filter-panel { display: grid; grid-template-columns: minmax(230px,1.5fr) repeat(4,minmax(105px,.7fr)) auto; align-items: end; gap: 14px; margin-bottom: 22px; padding: 20px; background: var(--paper); border: 1px solid var(--line); border-radius: 14px; }
.field { display: grid; gap: 7px; }
.field label { color: #60706b; font-size: .7rem; font-weight: 780; text-transform: uppercase; letter-spacing: .06em; }
.field input,.field select,.filter-options input { width: 100%; height: 42px; padding: 0 11px; color: var(--ink); background: #fff; border: 1px solid #cbd3cd; border-radius: 8px; }
.field input:focus,.field select:focus,.table-input:focus { outline: 2px solid rgba(70,126,106,.25); border-color: #568b78; }
.filter-options { grid-column: 1/-2; display: flex; align-items: center; gap: 20px; color: #53635f; font-size: .78rem; }
.filter-options label { display: flex; align-items: center; gap: 7px; }
.filter-options input[type=checkbox] { width: 16px; height: 16px; }
.filter-options input[type=number] { width: 95px; height: 34px; }
.report-sheet { padding: 28px; background: var(--paper); border: 1px solid var(--line); border-radius: 15px; box-shadow: 0 10px 35px rgba(29,51,44,.05); }
.print-report-header { display: flex; justify-content: space-between; gap: 30px; margin-bottom: 25px; padding-bottom: 22px; border-bottom: 2px solid var(--forest); }
.report-brand { display: flex; align-items: center; gap: 11px; }
.report-brand span { display: grid; place-items: center; width: 39px; height: 39px; color: var(--forest); background: var(--mint); border-radius: 10px 10px 10px 3px; font-weight: 900; }
.report-meta { display: grid; grid-template-columns: repeat(4,auto); gap: 28px; }
.report-meta > div { display: grid; gap: 3px; }
.report-meta strong { font-size: .78rem; }
.desktop-worksheet-header { display: grid; gap: 7px; margin-bottom: 14px; padding: 13px 18px; border: 1px solid #8c918e; text-align: center; }
.desktop-worksheet-store { font-size: .82rem; font-weight: 800; }
.desktop-worksheet-header h2 { display: grid; gap: 0; margin: 0; color: #111; font-size: 1.8rem; line-height: 1.02; }
.desktop-worksheet-subtitle { color: #9c231b; font-size: .78rem; font-weight: 800; }
.desktop-worksheet-warning { margin: -4px 0 13px; color: #b32b20; font-size: .75rem; font-weight: 800; text-align: center; }
.desktop-worksheet-section { margin-bottom: 0; padding: 7px 11px; color: #fff; background: #111; font-size: .8rem; font-weight: 800; }
.table-scroll { overflow-x: auto; }
.order-table { width: 100%; border-collapse: collapse; font-size: .82rem; }
.order-table th,.order-table td { padding: 12px 11px; border-bottom: 1px solid #e1e4df; vertical-align: middle; }
.order-table thead th { color: #677772; background: #f3f5f0; font-size: .68rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.order-table td:first-child { min-width: 210px; }
.order-table td strong,.order-table td small { display: block; }
.order-table td small { margin-top: 3px; color: #88958f; font-size: .67rem; }
.order-table .numeric { text-align: right; }
.category-row th { padding-top: 20px; color: var(--forest); background: #f7f9f4; font-size: .72rem; letter-spacing: .08em; text-align: left; text-transform: uppercase; }
.table-input { width: 84px; height: 35px; padding: 0 8px; text-align: right; border: 1px solid #cbd3cd; border-radius: 7px; }
.table-input[readonly] { color: var(--forest); background: var(--mint-soft); border-color: #d1e8ad; font-weight: 800; }
.report-footer { padding-top: 18px; color: #84918d; font-size: .67rem; text-align: center; }
.desktop-completion-footer { display: flex; justify-content: space-between; gap: 24px; color: #111; font-size: .72rem; text-align: left; }
.inventory-ordering-header { display: grid; gap: 5px; margin-bottom: 12px; text-align: center; }
.inventory-ordering-header h2 { margin: 0; font-size: 1.8rem; }
.inventory-ordering-header span { margin-top: 3px; font-size: .76rem; }
.inventory-ordering-table thead tr:first-child th { border-bottom: 0; }
.inventory-ordering-table thead tr:last-child th { padding-top: 2px; }
.inventory-ordering-table .ordering-operator { width: 28px; min-width: 28px; padding-right: 4px; padding-left: 4px; text-align: center; font-size: 1rem; }
.inventory-ordering-footer { display: flex; justify-content: space-between; text-align: left; }
.notice { margin: 14px 0; padding: 13px 16px; border: 1px solid; border-radius: 9px; font-size: .82rem; }
.notice:empty { display: none; }
.validation-summary-valid { display: none; }
.notice-info { color: #325f50; background: #eef7f2; border-color: #cbe1d7; }
.notice-warning { color: #775a17; background: #fff8df; border-color: #eddca4; }
.notice-error { color: #8b332a; background: #fff0ed; border-color: #f0c4bc; }
.tracking-detail-link { color: var(--forest); font-weight: 800; text-decoration: underline; text-underline-offset: 2px; }
.tracked-detail-sheet { width: min(850px,100%); }
.tracked-detail-header { width: 194px; min-height: 34px; margin: 0 0 4px; padding: 8px 10px; border: 2px ridge #e4e4e4; font-weight: 800; text-align: center; }
.detail-rounding-note { margin: 0 0 12px; font-weight: 800; }
.tracked-detail-table td:not(:first-child), .tracked-detail-table th:not(:first-child) { text-align: right; }
.tracked-detail-table tbody tr:nth-child(odd) td:nth-child(n+3) { background: #ffffc0; }
.tracked-detail-table tfoot th { border-top: 2px solid var(--ink); }
.missing-data-heading { color: #fff; background: #c4312c !important; text-align: center !important; }
.processing-overlay { position: fixed; inset: 0; z-index: 2000; display: grid; place-items: center; padding: 20px; background: rgba(15, 29, 24, .58); backdrop-filter: blur(2px); }
.processing-overlay[hidden] { display: none; }
[data-cloud-setup-url][hidden], [data-cloud-setup-url] [hidden] { display: none !important; }
[data-cloud-setup-url] p { margin: 0 0 .65rem; }
[data-cloud-setup-url] form { display: flex; gap: .65rem; flex-wrap: wrap; }
.processing-dialog { display: grid; gap: 14px; width: min(440px, 100%); padding: 26px; border: 1px solid var(--line); border-radius: 14px; background: var(--paper); box-shadow: 0 24px 80px rgba(0, 0, 0, .28); }
.processing-dialog strong { color: var(--forest); font-size: 1.12rem; }
.processing-dialog progress { width: 100%; height: 14px; accent-color: var(--forest); }
.processing-dialog span { color: var(--ink-soft); }
.processing-dialog .button { justify-self: start; }
body.processing { cursor: progress; }
.setup-apply-form { display: grid; gap: 18px; margin-top: 24px; padding-top: 22px; border-top: 1px solid var(--line); }
.setup-apply-form fieldset { min-width: 0; }
.setup-apply-form legend { margin-bottom: 12px; font-size: 1rem; font-weight: 850; }
.calendar-transfer-choice { border: 1px solid var(--line); border-radius: 10px; padding: 14px; }
.inline-form { display: inline; }
.transfer-history-panel { margin-top: 24px; }

.manual-shell { min-height: 72vh; overflow: hidden; background: var(--paper); border: 1px solid var(--line); border-radius: 16px; }
.manual-shell object { display: block; width: 100%; height: 72vh; border: 0; }
.manual-fallback { display: grid; justify-items: center; gap: 12px; padding: 70px 24px; text-align: center; }
.manual-fallback h2,.manual-fallback p { margin: 0; }

.about-shell { max-width: 660px; margin: 0 auto; padding: 28px; background: var(--paper); border: 1px solid var(--line); border-radius: 18px; box-shadow: 0 18px 55px rgba(25,55,47,.09); }
.about-hero { display: flex; align-items: center; gap: 26px; margin: -28px -28px 24px; padding: 34px 38px; color: #fff; background: linear-gradient(145deg,#f8fbf9 0,#28664f 78%); border-radius: 18px 18px 0 0; }
.about-mark { display: grid; flex: 0 0 92px; height: 92px; place-items: center; color: var(--forest-deep); background: var(--mint); border-radius: 50%; font-size: 3rem; font-weight: 900; box-shadow: 0 8px 22px rgba(0,0,0,.18); }
.about-hero .eyebrow { color: #d9ebe5; }
.about-hero h1 { margin: 6px 0 0; font-size: 2rem; line-height: 1.08; }
.about-hero h1 span { font-size: .78em; }
.about-support { display: block; margin: 0 auto 24px; color: var(--forest); text-align: center; font-size: .82rem; font-weight: 800; }
.about-details { margin: 0; border: 1px solid var(--line); border-radius: 12px; }
.about-details > div { display: grid; grid-template-columns: 150px 1fr; gap: 18px; padding: 13px 18px; border-bottom: 1px solid var(--line); }
.about-details > div:last-child { border-bottom: 0; }
.about-details dt { color: var(--ink-soft); font-size: .76rem; font-weight: 800; text-transform: uppercase; letter-spacing: .04em; }
.about-details dd { margin: 0; font-weight: 750; }
.status-pill { display: inline-flex; min-height: 24px; align-items: center; padding: 0 10px; border: 1px solid; border-radius: 999px; font-size: .76rem; }
.status-pill-local { color: #775a17; background: #fff8df; border-color: #eddca4; }
.status-pill-active { color: #14532d; background: #ecfdf3; border-color: #a7f3d0; }
.status-pill-warning { color: #775a17; background: #fff8df; border-color: #eddca4; }
.status-pill-danger { color: #842029; background: #fff1f2; border-color: #fecdd3; }
.about-context { margin: 18px 0 0; color: var(--ink-soft); text-align: center; font-size: .82rem; }

.days-receive-dialog { width: min(580px,100%); margin: 7vh auto 0; overflow: hidden; background: #eef2f6; border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 20px 65px rgba(25,55,47,.13); }
.days-receive-dialog > header { padding: 20px 24px 16px; background: var(--paper); border-bottom: 1px solid var(--line); }
.days-receive-dialog > header h1 { margin: 4px 0 0; font-size: 1.35rem; }
.days-receive-explanation { margin: 18px 24px 0; padding: 15px 18px; color: #fff; background: #a62727; border-radius: 7px; font-size: .8rem; font-weight: 750; line-height: 1.45; text-align: center; }
.days-receive-form { display: grid; justify-items: center; gap: 13px; padding: 20px 24px 24px; }
.days-receive-form > label { color: #273443; font-size: .92rem; font-weight: 850; text-align: center; }
.days-receive-form select { width: 76px; height: 40px; padding: 0 9px; background: #fff; border: 1px solid #b8c2cb; border-radius: 7px; font-size: 1rem; }
.expected-delivery { display: grid; place-items: center; width: min(340px,100%); min-height: 34px; padding: 5px 10px; color: #1d5b92; background: #fff; border: 1px solid #aeb8c1; font-size: .9rem; font-weight: 850; }

.admin-summary-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 14px; margin-bottom: 22px; }
.admin-summary-grid > div { display: grid; padding: 18px 22px; background: var(--paper); border: 1px solid var(--line); border-radius: 13px; }
.admin-summary-grid strong { color: var(--forest); font-size: 1.8rem; }
.admin-summary-grid span { color: var(--ink-soft); font-size: .76rem; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; }
.admin-grid { display: grid; grid-template-columns: 1fr 1.25fr; gap: 22px; }
.setup-panel > header { padding: 20px 22px 16px; border-bottom: 1px solid var(--line); }
.setup-panel > header h2 { margin: 4px 0 0; }
.admin-form { display: grid; gap: 15px; padding: 22px; }
.admin-form label { display: grid; gap: 6px; color: var(--ink-soft); font-size: .76rem; font-weight: 800; text-transform: uppercase; letter-spacing: .04em; }
.admin-form input,.admin-form select { min-height: 42px; padding: 0 11px; color: var(--ink); background: #fff; border: 1px solid #cbd3cd; border-radius: 8px; text-transform: none; letter-spacing: normal; }
.admin-form-split { display: grid; grid-template-columns: 1fr 1fr; gap: 13px; }
.field-help { margin: 0; color: var(--ink-soft); font-size: .8rem; line-height: 1.5; }
.admin-options { display: grid; gap: 9px; padding: 13px 15px; border: 1px solid var(--line); border-radius: 9px; }
.admin-options legend { float: none; width: auto; margin: 0; padding: 0 5px; color: var(--ink-soft); font-size: .72rem; font-weight: 800; text-transform: uppercase; }
.admin-options label { display: flex; align-items: center; gap: 9px; text-transform: none; }
.admin-options input { min-height: auto; }
.company-directory { display: grid; gap: 16px; padding-top: 18px; }
.company-directory > article { overflow: hidden; border: 1px solid var(--line); border-radius: 11px; }
.company-directory > article > header { display: flex; justify-content: space-between; gap: 15px; padding: 14px 17px; background: #f4f7f5; }
.company-directory header div { display: grid; }
.company-directory header span,.company-directory article > p { color: var(--ink-soft); font-size: .78rem; }
.company-directory article > p { margin: 0; padding: 15px 17px; }
.company-subscription-form { grid-template-columns: minmax(180px,1fr) auto minmax(150px,auto) auto; align-items: end; gap: 12px; padding: 12px 17px; border-top: 1px solid var(--line); }
.company-subscription-form > div { display: grid; gap: 5px; font-size: .78rem; }
.company-subscription-form > label { display: flex; align-items: center; gap: 7px; }
.company-subscription-form > label input[type="checkbox"] { min-height: auto; }
.company-store-list { display: grid; }
.company-store-list > div { display: grid; grid-template-columns: 1.4fr 1fr 1fr auto; align-items: center; gap: 14px; padding: 13px 17px; border-top: 1px solid var(--line); }
.company-store-list span { color: var(--ink-soft); font-size: .78rem; }
.company-store-list a { color: var(--forest); font-size: .8rem; font-weight: 800; }
.user-admin-grid { grid-template-columns: 1fr 1fr; }
.user-directory { display: grid; gap: 15px; padding-top: 18px; }
.user-directory > article { overflow: hidden; border: 1px solid var(--line); border-radius: 11px; }
.user-directory > article > header { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 13px 16px; background: #f4f7f5; }
.user-directory header > div { display: grid; }
.user-directory header span,.user-directory article > p { color: var(--ink-soft); font-size: .76rem; }
.user-directory article > p { margin: 0; padding: 14px 16px; }
.inline-role-form { display: flex; gap: 7px; }
.inline-role-form select,.inline-role-form button { min-height: 34px; padding: 0 10px; border: 1px solid #cbd3cd; border-radius: 7px; }
.inline-role-form button { color: #fff; background: var(--forest); font-weight: 800; cursor: pointer; }
.user-access-list { display: grid; }
.user-access-list > div { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 12px 16px; border-top: 1px solid var(--line); }
.user-access-list span { display: grid; }
.user-access-list small { color: var(--ink-soft); }
.link-danger { padding: 0; color: #a53a32; background: none; border: 0; font-size: .78rem; font-weight: 800; cursor: pointer; }
.company-context-picker { display: flex; justify-content: flex-end; margin: -12px 0 18px; }
.company-context-picker label { display: grid; gap: 5px; min-width: 310px; color: var(--ink-soft); font-size: .7rem; font-weight: 800; text-transform: uppercase; }
.company-context-picker select { min-height: 40px; padding: 0 10px; background: #fff; border: 1px solid #cbd3cd; border-radius: 8px; }
.setup-panel { overflow: hidden; background: var(--paper); border: 1px solid var(--line); border-radius: 14px; }
.setup-panel > header { display: flex; align-items: center; justify-content: space-between; }
.setup-panel > header > span { color: var(--ink-soft); font-size: .75rem; }
.empty-panel-copy { padding: 22px; color: var(--ink-soft); }
.compact-user-list { display: grid; max-height: 340px; overflow-y: auto; }
.compact-user-list > a,.compact-user-list > div { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 12px 16px; color: var(--ink); border-top: 1px solid var(--line); text-decoration: none; }
.compact-user-list > a:first-child,.compact-user-list > div:first-child { border-top: 0; }
.compact-user-list > a:hover,.compact-user-list > a.selected { background: var(--mint-soft); }
.compact-user-list span { display: grid; }
.compact-user-list small,.compact-user-list > a > span:last-child { color: var(--ink-soft); font-size: .72rem; }
.company-role-editor { align-items: end; justify-content: flex-end; padding: 15px 0; }
.company-role-editor label { display: grid; gap: 4px; color: var(--ink-soft); font-size: .7rem; font-weight: 800; text-transform: uppercase; }
.scope-assignment-form { display: grid; gap: 18px; margin-top: 18px; }
.scope-section { overflow: hidden; border: 1px solid var(--line); border-radius: 12px; }
.scope-section > header { display: flex; align-items: end; justify-content: space-between; gap: 18px; padding: 16px 18px; background: #f4f7f5; border-bottom: 1px solid var(--line); }
.scope-section > header h3 { margin: 3px 0 0; font-size: 1.05rem; }
.scope-section > header p { margin: 0; color: var(--ink-soft); font-size: .76rem; }
.region-assignment-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(220px,1fr)); gap: 1px; background: var(--line); }
.region-assignment-grid label { display: flex; align-items: center; gap: 10px; padding: 14px 16px; background: var(--paper); cursor: pointer; }
.region-assignment-grid label:has(input:checked) { background: var(--mint-soft); }
.region-assignment-grid input,.store-assignment-list input { width: 17px; height: 17px; accent-color: var(--forest); }
.region-assignment-grid span,.store-assignment-list span { display: grid; }
.region-assignment-grid small,.store-assignment-list small { color: var(--ink-soft); font-size: .7rem; }
.store-assignment-filters { display: grid; grid-template-columns: minmax(180px,.7fr) minmax(230px,1fr) auto; align-items: end; gap: 12px; padding: 14px 16px; }
.store-assignment-filters label { display: grid; gap: 5px; color: var(--ink-soft); font-size: .7rem; font-weight: 800; text-transform: uppercase; }
.store-assignment-filters select,.store-assignment-filters input { min-height: 40px; padding: 0 10px; background: #fff; border: 1px solid #cbd3cd; border-radius: 8px; }
.store-assignment-list { display: grid; grid-template-columns: repeat(auto-fit,minmax(310px,1fr)); max-height: 440px; overflow-y: auto; border-top: 1px solid var(--line); }
.store-assignment-list label { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 10px; padding: 11px 14px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); cursor: pointer; }
.store-assignment-list label:has(input:checked) { background: #f1f8e7; }
.store-assignment-list em { color: var(--ink-soft); font-size: .65rem; font-style: normal; }
.platform-admin-panel { border-color: #b9a8ce; }
.platform-admin-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 18px; padding-top: 12px; }
.region-summary-list { display: flex; flex-wrap: wrap; gap: 8px; padding: 12px 17px; border-top: 1px solid var(--line); }
.region-summary-list > span { display: grid; min-width: 150px; padding: 9px 11px; background: #f4f7f5; border-radius: 8px; }
.region-summary-list small { color: var(--ink-soft); font-size: .68rem; }
.move-impact-panel > p { margin: 18px 0; font-size: 1.05rem; }
.impact-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 12px; margin-bottom: 18px; }
.impact-grid > div { display: grid; gap: 5px; padding: 16px; background: #f4f7f5; border-radius: 10px; }
.impact-grid > div > strong { color: var(--forest); font-size: 1.6rem; }
.impact-grid span { font-weight: 800; }
.impact-grid small { color: var(--ink-soft); }
.platform-only-setup { margin-top: 22px; }
.audit-list { display: grid; }
.audit-list > div { display: grid; grid-template-columns: 150px 1fr auto; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.audit-list > div:last-child { border-bottom: 0; }
.audit-list small { color: var(--ink-soft); }
.settings-help-bar { margin: -20px 0 22px; }
.context-help-link { color: var(--forest); font-size: .8rem; font-weight: 850; text-decoration: underline; text-underline-offset: 3px; }
.help-index { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; padding: 14px; background: var(--paper); border: 1px solid var(--line); border-radius: 12px; }
.help-index a { padding: 8px 12px; color: var(--forest); background: #f1f6f3; border-radius: 8px; font-size: .78rem; font-weight: 800; }
.help-topic-list { display: grid; gap: 20px; }
.help-topic { scroll-margin-top: 85px; padding: 25px 28px; background: var(--paper); border: 1px solid var(--line); border-radius: 14px; }
.help-topic h2 { margin: 5px 0 16px; }
.help-topic h3 { margin: 20px 0 8px; font-size: 1rem; }
.help-topic p,.help-topic li { color: #43524e; line-height: 1.58; }
.help-topic li + li { margin-top: 7px; }
.help-dialog { max-width: 720px; margin: 0 auto; }
.help-dialog .page-heading { margin-bottom: 18px; }
.help-dialog .help-topic { border-color: #aab5b1; border-radius: 3px; }
.help-dialog .help-or { font-weight: 900; text-align: center; }
.form-actions-centered { justify-content: center; }
.appearance-form { overflow: hidden; background: var(--paper); border: 1px solid var(--line); border-radius: 15px; }
.theme-choice-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 15px; padding: 24px; }
.theme-choice { display: grid; gap: 8px; padding: 14px; cursor: pointer; border: 2px solid var(--line); border-radius: 12px; }
.theme-choice:has(input:checked) { border-color: var(--forest); box-shadow: 0 0 0 2px var(--mint-soft); }
.theme-choice input { position: absolute; opacity: 0; pointer-events: none; }
.theme-choice strong { font-size: .88rem; }
.theme-choice small { min-height: 32px; color: var(--ink-soft); line-height: 1.35; }
.theme-swatch { display: grid; grid-template-columns: 34% 1fr; grid-template-rows: 26px 22px; overflow: hidden; border: 1px solid rgba(0,0,0,.12); border-radius: 8px; }
.theme-swatch i { grid-row: 1/3; background: #173d34; }.theme-swatch b { background: #fffefa; }.theme-swatch em { background: #c9f07a; }
.theme-preview-light-green .theme-swatch i{background:#4f7942}.theme-preview-light-green .theme-swatch em{background:#d9f5a4}
.theme-preview-blue .theme-swatch i{background:#2f5e87}.theme-preview-blue .theme-swatch em{background:#a9d9f4}
.theme-preview-maroon .theme-swatch i{background:#7a2c3a}.theme-preview-maroon .theme-swatch em{background:#f3b6bf}
.theme-preview-orange .theme-swatch i{background:#a45f26}.theme-preview-orange .theme-swatch em{background:#ffd08e}
.theme-preview-purple .theme-swatch i{background:#604682}.theme-preview-purple .theme-swatch em{background:#d6b7f2}
.theme-preview-rainbow .theme-swatch i{background:#73517f}.theme-preview-rainbow .theme-swatch em{background:linear-gradient(90deg,#ffd65c,#ef7f8c,#9ed7f1)}
.theme-preview-black .theme-swatch i{background:#353a40}.theme-preview-black .theme-swatch em{background:#c5cbd0}
.empty-state { max-width: 540px; margin: 12vh auto; padding: 50px; text-align: center; background: var(--paper); border: 1px solid var(--line); border-radius: 18px; }
.empty-state > span { display: grid; place-items: center; width: 55px; height: 55px; margin: 0 auto 18px; color: #7d5c12; background: #fff1bd; border-radius: 50%; font-weight: 900; }
.heading-actions { display: flex; gap: 10px; }
.report-filter { grid-template-columns: minmax(220px,1.4fr) repeat(5,minmax(110px,.7fr)) auto; }
.report-criteria-group { display: grid; grid-template-columns: repeat(2,minmax(110px,1fr)); gap: 10px; grid-column: span 2; min-width: 0; margin: 0; padding: 8px 10px 10px; border: 1px solid var(--line); border-radius: 9px; }
.report-criteria-group legend { width: auto; margin: 0; padding: 0 5px; color: var(--ink-soft); font-size: .72rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.ordering-report-controls { grid-template-columns: 185px; align-items: start; width: fit-content; }
.ordering-report-controls .ordering-report-criteria { grid-template-columns: 1fr; grid-column: auto; width: 185px; padding: 13px 16px 12px; }
.inventory-count-controls { grid-template-columns: 176px; align-items: start; width: fit-content; }
.inventory-count-controls .inventory-count-criteria { grid-template-columns: 1fr; grid-column: auto; width: 176px; padding: 13px 16px 12px; }
.operational-criteria-controls { grid-template-columns: 205px; align-items: start; width: fit-content; }
.operational-criteria-controls .operational-report-criteria { grid-template-columns: 1fr; grid-column: auto; width: 205px; padding: 13px 16px 12px; }
.operational-lookback { padding: 2px 0 10px; border-bottom: 1px solid var(--line); }
.operational-lookback select { height: 36px; font-size: .75rem; }
.ordering-average-options,.inventory-frequency-options,.operational-average-options { display: grid; gap: 8px; padding: 2px 0 10px; border-bottom: 1px solid var(--line); }
.ordering-language-options,.inventory-language-options,.operational-language-options { display: flex; justify-content: space-between; gap: 12px; padding-top: 2px; }
.criteria-choice { display: flex; align-items: center; gap: 7px; color: var(--ink); font-size: .79rem; font-weight: 650; cursor: pointer; }
.criteria-choice input { width: 16px; height: 16px; margin: 0; accent-color: var(--forest); }
.criteria-choice:has(input:disabled) { color: #8b9692; cursor: not-allowed; }
.report-catalog { display: grid; gap: 22px; }
.catalog-section { display: grid; grid-template-columns: 280px 1fr; overflow: hidden; background: var(--paper); border: 1px solid var(--line); border-radius: 16px; }
.catalog-section > header { display: flex; gap: 18px; padding: 28px; color: #fff; background: var(--forest); }
.catalog-section > header > span { color: var(--mint); font-size: .73rem; font-weight: 850; }
.catalog-section h2 { margin-bottom: 7px; }
.catalog-section header p { margin: 0; color: #b8c9c4; font-size: .8rem; line-height: 1.45; }
.catalog-links { display: grid; grid-template-columns: repeat(2,1fr); }
.catalog-links a { position: relative; display: grid; gap: 4px; min-height: 92px; padding: 21px 52px 21px 24px; border-bottom: 1px solid #e7e9e5; border-right: 1px solid #e7e9e5; text-decoration: none; }
.catalog-links a:hover { background: #f7faef; }
.catalog-links strong { font-size: .9rem; }
.catalog-links small { color: #778681; font-size: .73rem; }
.catalog-links b { position: absolute; top: 34px; right: 22px; color: #6a7c75; }
.print-center { overflow: hidden; background: var(--paper); border: 1px solid var(--line); border-radius: 16px; }
.print-toolbar { display: flex; align-items: end; justify-content: space-between; gap: 20px; padding: 22px; background: #eef3e9; border-bottom: 1px solid var(--line); }
.segmented { display: flex; }
.segmented button { height: 35px; padding: 0 13px; color: var(--forest); background: #fff; border: 1px solid #cbd3cd; }
.segmented button:first-child { border-radius: 7px 0 0 7px; }.segmented button:last-child { border-radius: 0 7px 7px 0; }
.check-card { display: flex; align-items: center; gap: 8px; font-size: .82rem; font-weight: 700; }
.print-list { padding: 0 22px; }
.print-row { display: grid; grid-template-columns: auto minmax(250px,1fr) minmax(65px,110px) minmax(65px,110px) auto; align-items: center; gap: 18px; min-height: 70px; border-bottom: 1px solid #e7e9e5; }
.print-row > label:nth-child(2) { display: grid; gap: 3px; }.print-row small { color: #7b8985; font-size: .71rem; }
.print-row select { height: 36px; padding: 0 8px; border: 1px solid #cad2cc; border-radius: 7px; }
.print-row.is-selected { background: #f7faef; }
.inline-check { display: flex; align-items: center; gap: 6px; color: #53635f; font-size: .74rem; white-space: nowrap; }
.print-orientation-help { display: grid; gap: 8px; padding: 16px 22px 19px; color: #53635f; background: #f8faf7; border-top: 1px solid var(--line); font-size: .76rem; }
.print-orientation-help > div { display: flex; gap: 28px; }
.print-orientation-help p { max-width: 760px; margin: 0; }
.current-on-screen { display: grid; grid-template-columns: minmax(280px,1fr) auto auto; align-items: end; gap: 24px; margin-top: 22px; padding: 18px 22px 20px; background: var(--paper); border: 1px solid var(--line); border-radius: 14px; }
.current-on-screen legend { float: none; width: auto; margin: 0; padding: 0 8px; color: var(--forest-deep); font-size: .9rem; font-weight: 800; }
.current-on-screen-main { display: grid; grid-template-columns: minmax(250px,1fr) auto; align-items: center; gap: 10px 18px; }
.current-on-screen-main small { grid-column: 1/-1; color: #6f7e79; }
.current-on-screen-confirm { font-size: .82rem; font-weight: 700; }
.current-print-mode { display: grid; grid-template-columns: auto auto; align-items: center; gap: 4px 13px; color: #53635f; font-size: .78rem; }
.current-print-mode > span { grid-column: 1/-1; font-weight: 800; text-align: center; }
.current-print-mode label { display: flex; align-items: center; gap: 4px; }
.current-report-print-frame { position: fixed; left: -10000px; top: 0; width: 1200px; height: 900px; border: 0; opacity: 0; pointer-events: none; }
.batch-status { margin-bottom: 22px; padding: 20px; background: var(--paper); border: 1px solid var(--line); border-radius: 14px; }
.batch-status > strong { display: block; margin-bottom: 10px; }
.batch-status progress { width: 100%; height: 12px; accent-color: var(--forest); }
.batch-manifest { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 7px 24px; max-height: 300px; margin: 18px 0 0; overflow: auto; padding-left: 25px; }
.batch-manifest li { color: #6c7b76; font-size: .74rem; }
.batch-manifest li span { margin-right: 7px; }
.batch-manifest li small { color: #87948f; }
.batch-manifest li.is-ready small { color: #357257; font-weight: 800; }
.batch-manifest li.is-error small { color: #a23d32; font-weight: 800; }
.print-batch { display: grid; gap: 20px; }
.print-batch-page { background: #fff; }
.print-batch-page .report-sheet { min-height: 7in; }
.settings-page-lift { margin-top: -18px; }
.settings-store-select { max-width: 440px; margin-bottom: 18px; }
.settings-shell { display: block; width: min(100%,1440px); min-height: 670px; margin-right: auto; margin-left: 0; overflow: hidden; background: var(--paper); border: 1px solid var(--line); border-radius: 10px; box-shadow: 0 10px 35px rgba(29,51,44,.05); }
.settings-tabs { display: flex; align-items: stretch; gap: 2px; padding: 7px 10px 0; overflow-x: auto; background: #e8eef5; border-bottom: 1px solid var(--line); }
.settings-tabs button { flex: 0 0 auto; min-height: 38px; padding: 0 20px; color: #53635f; background: #f5f7f9; border: 1px solid #c8d0d7; border-bottom: 0; border-radius: 7px 7px 0 0; text-align: center; font-size: .8rem; font-weight: 700; }
.settings-tabs button:hover,.settings-tabs button.active { color: #fff; background: var(--forest); }
.settings-content { display: flex; flex-direction: column; min-width: 0; }
.settings-content > section { flex: 1; padding: 30px; }
.settings-editor-heading { margin-bottom: 16px; }
.settings-editor-heading h1 { font-size: clamp(1.55rem,2.4vw,2.15rem); }
.settings-workspace-nav { margin: 0 0 18px; overflow: hidden; background: var(--paper); border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 5px 18px rgba(29,51,44,.04); }
.settings-workspace-tabs,.settings-workspace-subtabs { display: flex; align-items: stretch; overflow-x: auto; }
.settings-workspace-tabs { background: #eef1eb; }
.settings-workspace-tabs a,.settings-workspace-subtabs a { flex: 0 0 auto; padding: 11px 18px; color: #53635f; border-right: 1px solid var(--line); font-size: .78rem; font-weight: 800; text-decoration: none; white-space: nowrap; }
.settings-workspace-tabs a:hover,.settings-workspace-tabs a.active { color: #fff; background: var(--forest); }
.settings-workspace-subtabs { padding: 7px 10px; gap: 5px; background: #fff; border-top: 1px solid var(--line); }
.settings-workspace-subtabs a { padding: 7px 12px; border: 0; border-radius: 7px; }
.settings-workspace-subtabs a:hover,.settings-workspace-subtabs a.active { color: var(--brand-dark); background: var(--mint-soft); }
.section-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; margin-bottom: 26px; padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.section-heading h2 { margin-bottom: 5px; font-size: 1.65rem; }.section-heading p { margin: 0; color: #71807c; font-size: .82rem; }
.settings-badge { padding: 6px 9px; color: #496d60; background: var(--mint-soft); border-radius: 6px; font-size: .66rem; font-weight: 800; text-transform: uppercase; }
.settings-group { margin-top: 20px; padding: 22px; background: #fff; border: 1px solid var(--line); border-radius: 12px; }
.settings-group h3 { margin: 0 0 18px; color: var(--forest); font-size: 1rem; }
.settings-group-help { margin: -8px 0 18px; color: #71807c; font-size: .78rem; }
.override-time-window-help { margin: 14px 0 0; padding: 11px 14px; color: #46534f; background: #f2f5f1; border-left: 4px solid var(--forest); border-radius: 4px; font-size: .84rem; line-height: 1.5; }
.settings-group .routing-details { margin-top: 18px; }
.settings-group .settings-checks { margin: 0; }
.settings-general-grid { display: grid; grid-template-columns: minmax(240px,.9fr) minmax(300px,1fr) minmax(340px,1.15fr); grid-template-areas: "options location hours" "autoload colors hours"; grid-template-rows:min-content 1fr; align-items: start; gap: 14px; }
.settings-general-grid .settings-group { margin-top: 0; padding: 18px; border-radius: 6px; border-left: 5px solid #2a6f97; }
.settings-general-location { grid-area: location; }
.settings-general-options { grid-area: options; }
.settings-general-autoload { grid-area: autoload; }
.settings-general-hours { grid-area: hours; }
.settings-general-colors { grid-area: colors; }
.settings-general-grid .settings-grid { grid-template-columns: 1fr; gap: 12px; }
.settings-general-grid .settings-checks { padding: 13px; }
.settings-general-grid .routing-details { grid-template-columns: 1fr; }
.settings-general-hours .hours-row { grid-template-columns: minmax(78px,1fr) minmax(105px,1fr) minmax(105px,1fr); gap: 9px; padding: 7px 0; }
.settings-general-hours .hours-row .field label { font-size: .66rem; }
.settings-breakfast-grid { display: grid; grid-template-columns: repeat(12,minmax(0,1fr)); align-items: start; gap: 14px; }
.settings-breakfast-grid > .settings-group { margin-top: 0; padding: 16px; border-radius: 6px; }
.settings-breakfast-grid > .settings-group h3 { margin-bottom: 12px; }
.settings-breakfast-grid .field input,.settings-breakfast-grid .field select { height: 36px; }
.breakfast-start-time { grid-column: span 3; }
.breakfast-level-count { grid-column: span 6; }
.breakfast-levels-today { grid-column: span 3; }
.breakfast-biscuit-options { grid-column: span 4; }
.breakfast-extended-hours { grid-column: span 3; }
.breakfast-override-window { grid-column: span 5; }
.breakfast-tracking-options,.breakfast-report-groups { grid-column: span 6; }
.breakfast-configuration-cards { grid-column: 1 / -1; margin: 0; }
.breakfast-start-time .compact-field { max-width: 180px; }
.breakfast-level-count .settings-grid { grid-template-columns: repeat(3,minmax(90px,150px)); }
.breakfast-biscuit-options .settings-grid { grid-template-columns: minmax(130px,220px); margin-bottom: 10px; }
.breakfast-override-window .settings-grid { grid-template-columns: repeat(2,minmax(130px,220px)); }
.breakfast-override-window .override-time-window-help { max-width: 470px; }
.breakfast-report-groups .profile-editor-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; margin: 0; }
.breakfast-report-groups .profile-editor { padding: 13px; border-radius: 7px; }
.settings-lunch-grid { display: grid; grid-template-columns: repeat(12,minmax(0,1fr)); align-items: start; gap: 14px; }
.settings-lunch-grid > .settings-group { margin-top: 0; padding: 16px; border-radius: 6px; }
.settings-lunch-grid > .settings-group h3 { margin-bottom: 12px; }
.settings-lunch-grid .field input,.settings-lunch-grid .field select { height: 36px; }
.lunch-override-ranges { grid-column: 1 / -1; }
.lunch-override-ranges .settings-grid { grid-template-columns: repeat(4,minmax(130px,200px)); }
.lunch-tracking-options { grid-column: span 4; }
.lunch-tracking-options .tracking-report-options-grid { grid-template-columns: 1fr; gap: 10px; }
.lunch-report-groups { grid-column: span 8; }
.lunch-report-groups .profile-editor-grid { grid-template-columns: repeat(3,minmax(0,1fr)); gap: 10px; margin: 0; }
.lunch-report-groups .profile-editor { padding: 12px; border-radius: 7px; }
.lunch-configuration-cards { grid-column: 1 / -1; margin: 0; }
.settings-grid { display: grid; grid-template-columns: repeat(3,minmax(150px,1fr)); gap: 18px; }
.settings-checks { display: grid; grid-template-columns: 1fr 1fr; gap: 13px 24px; margin: 25px 0; padding: 20px; background: #f6f7f3; border-radius: 10px; }
.settings-checks label { display: flex; align-items: center; gap: 9px; font-size: .8rem; }
.settings-help-grid { display: grid; grid-template-columns: repeat(2,minmax(220px,1fr)); gap: 10px; margin-top: 16px; }
.settings-help-grid details { padding: 11px 13px; border: 1px solid var(--line); border-radius: 9px; background: #f8faf7; }
.settings-help-grid summary { cursor: pointer; color: var(--brand-dark); font-size: .8rem; font-weight: 700; }
.settings-help-grid p { margin: 9px 0 0; color: var(--ink-soft); font-size: .78rem; line-height: 1.5; }
.compact-field { max-width: 250px; }
.hours-table { display: grid; }
.hours-row { display: grid; grid-template-columns: 100px 150px 150px 120px 100px; align-items: center; gap: 16px; padding: 11px 0; border-bottom: 1px solid #e7e9e5; }
.hours-row > label { display: flex; align-items: center; gap: 7px; font-size: .75rem; }
.configuration-cards { display: grid; grid-template-columns: repeat(3,1fr); gap: 13px; margin: 24px 0; }
.prep-temper-cards { grid-template-columns: repeat(2,minmax(0,1fr)); }
.configuration-cards article { display: grid; gap: 6px; padding: 18px; background: #f7f8f4; border: 1px solid #e0e4dd; border-radius: 10px; }
.configuration-cards small { color: #70807a; font-size: .65rem; text-transform: uppercase; }.configuration-cards span { color: #71807c; font-size: .72rem; line-height: 1.45; }
.configuration-cards .prep-temper-card { grid-template-columns: 58px minmax(0,1fr); align-items: center; gap: 14px; }
.prep-temper-card > img { width: 52px; height: 52px; object-fit: contain; }
.prep-temper-card > div { display: grid; gap: 5px; min-width: 0; }
.configuration-cards .prep-temper-card small { color: var(--forest); font-size: 1rem; font-weight: 850; letter-spacing: .035em; }
.prep-temper-card strong { font-size: .9rem; }
.profile-editor-grid { display: grid; gap: 1rem; margin: 1rem 0; }
.profile-editor { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 1rem; }
.profile-fields { grid-template-columns: repeat(auto-fit,minmax(165px,1fr)); }
.profile-check { display: block; margin-top: .75rem; }
.tracking-report-options-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.settings-choice-group { border: 1px solid var(--line); border-radius: 12px; padding: 1rem; min-width: 0; }
.settings-choice-group legend { padding: 0 .35rem; font-weight: 800; }
.settings-choice-group > strong { display: block; margin: .85rem 0 .45rem; }
.settings-choice-group .settings-checks { grid-template-columns: 1fr; padding: .75rem; }
.settings-choice-group .horizontal-choices { grid-template-columns: repeat(2, minmax(0, max-content)); }
.toolbar-symbol-picker { display: grid; grid-template-columns: minmax(0, 1fr) 44px; align-items: center; gap: .75rem; }
.toolbar-symbol-preview { display: grid; place-items: center; width: 42px; height: 42px; background: #f2f4ee; border: 1px solid var(--line); border-radius: 8px; }
.toolbar-symbol-preview img { width: 32px; height: 32px; object-fit: contain; image-rendering: auto; }
.start-command-icon img { width: 32px; height: 32px; object-fit: contain; }
.nav-report-symbol img { width: 20px; height: 20px; object-fit: contain; }
.tracked-items-form { width: min(100%,1320px); margin: 1rem 0 0; }
.app-main:has(.single-list-form) { padding-bottom: 0; }
.single-list-form { --tracked-panel-top: 180px; --tracked-header-height: 185px; }
.tracked-items-sticky-header { position: sticky; top: var(--tracked-panel-top); z-index: 30; }
.tracked-workflow-banner { display: flex; align-items: center; gap: 14px; margin: 12px 0 0; padding: 12px 18px; color: #fff; background: var(--forest); border-radius: 9px 9px 0 0; }
.tracked-workflow-banner.temper { background: #385d70; }
.tracked-workflow-banner img { width: 48px; height: 48px; object-fit: contain; }
.tracked-workflow-banner > div { display: grid; gap: 1px; }
.tracked-workflow-banner small { font-size: .68rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.tracked-workflow-banner strong { font-size: 1.55rem; line-height: 1.05; }
.tracked-workflow-note { margin-left: auto; padding: 9px 13px; color: #fff; background: rgba(0,0,0,.2); border: 1px solid rgba(255,255,255,.4); border-radius: 6px; font-size: .86rem; font-weight: 900; }
.settings-actions.tracked-items-top-actions { margin: 0; padding: 10px 18px; border: 1px solid var(--line); border-top: 0; }
.tracked-items-column-header { overflow: hidden; background: #f3f5f0; border: 1px solid var(--line); border-top: 0; }
.tracked-items-column-header .tracked-items-table { margin: 0; }
.tracked-items-column-header th { height: 40px; }
.fixed-item-scroll { position: sticky; top: calc(var(--tracked-panel-top) + var(--tracked-header-height)); height: calc(100vh - var(--tracked-panel-top) - var(--tracked-header-height) - 12px); min-height: 320px; overflow: auto; border: 1px solid var(--line); border-top: 0; }
.single-list-form .fixed-item-scroll .tracked-items-table thead { display: none; }
.tracked-item-group-tabs { width: fit-content; max-width:100%; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 18px 0 12px; padding: 12px 14px; background: #f3f5f0; border: 1px solid var(--line); border-radius: 10px; }
.tracked-item-group-tabs strong { margin-right: 4px; color: var(--forest); }
.tracked-item-group-tabs .is-active { color: #fff; background: var(--forest); border-color: var(--forest); }
.tracked-item-group-heading th { display: table-cell; padding: 8px 14px; color: #fff; background: var(--forest); font-size: .82rem; letter-spacing: .04em; text-align: left; text-transform: none; }
.tracked-item-group-heading th > span { display: inline-block; margin: 4px 18px 4px 0; }
.tracked-item-group-heading .button-link { float: right; color: #fff; }
.tracked-item-position { display: inline-flex; width: 34px; height: 34px; align-items: center; justify-content: center; color: var(--forest); background: var(--mint-soft); border: 1px solid #d1e8ad; border-radius: 7px; font-weight: 800; }
.tracked-items-table { min-width: 1040px; }
.tracked-item-panel-headings th { padding: 9px 12px; color: #fff; font-size: .8rem; letter-spacing: .02em; text-align: left; text-transform: none; }
.tracked-item-panel-headings .tracked-inventory-panel-heading { background: var(--forest); border-right: 1px solid var(--line); }
.tracked-item-panel-headings .tracked-override-panel-heading { color: #fff; background: #526b78; border: 1px solid #405965; border-right: 1px solid var(--line); text-align: center; }
.tracked-item-panel-headings .tracked-actions-heading { background: #e7ebe4; text-align: center; vertical-align: middle; }
.tracked-item-panel-headings .tracked-actions-heading .button-link { color: var(--danger); }
.tracked-items-table.tracking-layout tbody .tracked-inventory-cell { background: #fff; }
.tracked-items-table.tracking-layout tbody .tracked-override-cell { background: #edf2f4; }
.tracked-items-table.tracking-layout tbody .tracked-override-start { border-left: 1px solid var(--line); }
.tracked-items-table.tracking-layout tbody .tracked-actions-cell { background: #f7f8f5; border-left: 1px solid var(--line); }
.tracked-items-table th,.tracked-items-table td { padding: 8px 9px; }
.tracked-items-table th:first-child,.tracked-items-table td:first-child { width: 64px; min-width: 64px; }
.tracked-items-table th:nth-child(2),.tracked-items-table td:nth-child(2) { width: 31%; min-width: 280px; }
.tracked-items-table th:last-child,.tracked-items-table td:last-child { width: 120px; min-width: 120px; }
.tracked-items-table input,.tracked-items-table select { width: 100%; min-width: 82px; min-height: 34px; padding: 0 8px; background: #fff; border: 1px solid #cbd3cd; border-radius: 7px; }
.tracked-items-table td:nth-child(2) select { min-width: 260px; }
.tracked-items-table input[type="checkbox"] { width: 16px; min-width: 16px; min-height: 16px; padding: 0; }
.tracked-items-table td:nth-last-child(2) label { display: block; white-space: nowrap; }
.tracked-items-table td:nth-child(5) input + input,.tracked-items-table td:nth-child(6) input + input { margin-top: .4rem; }
.tracked-items-table .row-action-buttons { min-width: 105px; }
.order-guide-filter { width: min(100%,1500px); margin-right: auto; margin-left: 0; grid-template-columns: minmax(260px,1fr) auto; }
.order-guide-source-panel,.order-guide-editor { width: min(100%,1500px); margin-right: auto; margin-left: 0; }
.order-guide-editor { display: grid; gap: 20px; }
.setup-panel { overflow: hidden; background: var(--paper); border: 1px solid var(--line); border-radius: 14px; }
.compact-heading { margin: 0; padding: 22px; }
.order-guide-category-table { min-width: 680px; }
.order-guide-category-table td:first-child { min-width: 90px; }
.order-guide-category-table td:nth-child(2) { width: 120px; }
.order-guide-category-table input[type="text"],.order-guide-category-table input[type="number"] { width: 100%; height: 38px; padding: 0 9px; border: 1px solid #cbd3cd; border-radius: 7px; }
.order-guide-items-table { min-width: 1500px; }
.order-guide-items-table td { vertical-align: top; }
.order-guide-items-table td:first-child { min-width: 115px; }
.order-guide-items-table td:nth-child(2) { min-width: 170px; }
.order-guide-items-table td:nth-child(3),.order-guide-items-table td:nth-child(4) { min-width: 205px; }
.order-guide-items-table td:nth-child(5) { min-width: 245px; }
.order-guide-items-table td:nth-child(6) { min-width: 130px; }
.order-guide-items-table input[type="text"],.order-guide-items-table input[type="number"],.order-guide-items-table select { width: 100%; min-height: 36px; padding: 0 8px; border: 1px solid #cbd3cd; border-radius: 7px; }
.order-guide-items-table input + input,.order-guide-items-table select + input,.order-guide-items-table label + label { margin-top: .4rem; }
.order-guide-items-table td > label:not(.mini-check) { display: grid; gap: 3px; color: #687772; font-size: .63rem; font-weight: 700; text-transform: uppercase; }
.inventory-master-filter { width: min(100%,1400px); margin-right: auto; margin-left: auto; grid-template-columns: minmax(260px,1fr) auto; }
.inventory-master-editor { display: grid; width: min(100%,1400px); margin-right: auto; margin-left: auto; gap: 20px; }
.inventory-master-table { min-width: 1320px; }
.inventory-master-table td { vertical-align: top; }
.inventory-master-table td:first-child { min-width: 70px; }
.inventory-master-table td:nth-child(2) { min-width: 180px; }
.inventory-master-table td:nth-child(3),.inventory-master-table td:nth-child(4) { min-width: 230px; }
.inventory-master-table td:nth-child(5) { min-width: 120px; }
.inventory-master-table td:nth-child(6) { min-width: 260px; }
.inventory-master-table input[type="text"],.inventory-master-table input[type="number"] { width: 100%; min-height: 36px; padding: 0 8px; border: 1px solid #cbd3cd; border-radius: 7px; }
.inventory-master-table input + input { margin-top: .4rem; }
.workflow-checks { display: grid; grid-template-columns: 1fr 1fr; gap: 7px 12px; }
.workflow-checks label { display: flex; align-items: center; gap: 6px; font-size: .7rem; white-space: nowrap; }
.mini-check { display: flex; align-items: center; gap: 6px; min-height: 30px; color: #53635f; font-size: .72rem; white-space: nowrap; }
.mini-check input { width: 16px!important; min-height: auto!important; }
.menu-family-filter { grid-template-columns: minmax(260px,1.5fr) minmax(180px,.7fr) auto; }
.menu-category-filter-card { width: min(100%,1220px); margin: 20px 0; overflow: hidden; background: var(--paper); border: 1px solid var(--line); border-radius: 14px; }
.menu-category-filter-card > header { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; padding: 22px; border-bottom: 1px solid var(--line); }
.menu-category-filter-card > header h2 { margin: 0 0 5px; }
.menu-category-filter-card > header p { margin: 0; color: #71807c; font-size: .8rem; }
.menu-category-filter-card > .notice { margin: 18px 22px 0; }
.menu-category-filter-form { padding: 20px 22px 22px; }
.category-sort-note { margin: 0 0 7px; color: #9b2d30; font-size: .72rem; font-weight: 800; }
.menu-category-table-wrap { max-height: 290px; overflow: auto; border: 1px solid #dce2dc; border-radius: 8px; }
.menu-category-table { width: 100%; border-collapse: collapse; background: var(--paper); font-size: .76rem; }
.menu-category-table th { position: sticky; top: 0; z-index: 1; padding: 7px 10px; color: #fff; background: #394b46; border-right: 1px solid rgba(255,255,255,.2); text-align: left; }
.menu-category-table th:first-child,.menu-category-table td:first-child { width: 42px; text-align: center; }
.menu-category-table th:nth-child(2),.menu-category-table td:nth-child(2) { width: 105px; }
.menu-category-table th button { width: 100%; padding: 0; color: inherit; background: transparent; border: 0; font: inherit; font-weight: 800; text-align: left; cursor: pointer; }
.menu-category-table th[aria-sort="ascending"] button::after { content: " ▲"; }
.menu-category-table th[aria-sort="descending"] button::after { content: " ▼"; }
.menu-category-table td { padding: 8px 10px; border-top: 1px solid #e4e8e2; }
.menu-category-table tbody tr:nth-child(even) { background: #f7f8f4; }
.menu-category-table tbody tr:hover { background: #eef4eb; }
.menu-category-add-grid { display: grid; grid-template-columns: 180px minmax(260px,1fr); gap: 14px; margin-top: 16px; }
.menu-category-filter-form .inline-actions { display: flex; align-items: center; gap: 12px; margin-top: 16px; padding: 0; border: 0; }
.menu-category-filter-form .inline-actions span { color: #74827e; font-size: .72rem; }
.empty-state-inline { padding: 16px; color: #71807c; background: #f7f8f4; border: 1px dashed #cbd3cd; border-radius: 8px; }
.menu-family-editor { display: grid; width: min(100%,1220px); margin-right: auto; margin-left: 0; gap: 7px; }
.menu-family-grid-head,.menu-family-row { display: grid; grid-template-columns: 52px minmax(280px,1.7fr) 100px minmax(210px,1fr) 115px; align-items: center; gap: 9px; }
.menu-family-grid-head { padding: 9px 13px; color: #fff; background: var(--forest); border: 1px solid var(--forest); border-radius: 0; font-size: .8rem; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; }
.menu-family-card { overflow: hidden; background: var(--paper); border: 1px solid var(--line); border-radius: 14px; }
.menu-family-card > header { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; padding: 22px; border-bottom: 1px solid var(--line); }
.menu-family-card > header h2 { margin: 0; }
.menu-family-main-grid { display: grid; grid-template-columns: 90px 100px 160px minmax(220px,1fr) 130px; align-items: end; gap: 14px; padding: 20px 22px; background: #f8f9f5; }
.menu-family-row { min-width: 850px; padding: 9px 12px; border-radius: 9px; }
.menu-family-row .field { min-width: 0; }
.menu-family-row .field select,.menu-family-row .field input { width: 100%; min-height: 36px; padding: 0 9px; background: #fff; border: 1px solid #cbd3cd; border-radius: 7px; }
.menu-family-position { display: grid; justify-items: center; color: var(--forest); }
.menu-family-position span { color: #788680; font-size: .58rem; font-weight: 800; text-transform: uppercase; }
.menu-family-position strong { font-size: 1rem; }
.menu-family-hold input { text-align: center; }
.menu-family-hold input:disabled { color: transparent; background: #f3f4f1; }
.menu-family-not-applicable { color: #9aa39f; text-align: center; }
.additional-menu-items-editor { display: flex; align-items: center; flex-wrap: wrap; gap: 5px 10px; min-width: 0; padding: 0; border: 0; }
.additional-items-button { width: 100%; min-width: 210px; min-height: 36px; justify-content: center; }
.additional-items-count { color: #64736f; font-size: .74rem; }
.menu-family-actions { flex-direction: row; flex-wrap: wrap; gap: 5px 9px; min-width: 0; }
.menu-family-available { justify-self: end; }
.additional-items-dialog { width: min(820px,calc(100vw - 32px)); max-height: min(760px,calc(100vh - 32px)); padding: 0; overflow: hidden; color: var(--ink); background: var(--paper); border: 1px solid #aab5b1; border-radius: 14px; box-shadow: 0 24px 90px rgba(16,35,29,.3); }
.additional-items-dialog::backdrop { background: rgba(14,32,26,.58); backdrop-filter: blur(2px); }
.additional-items-dialog-shell { display: grid; grid-template-rows: auto auto minmax(220px,1fr) auto auto; max-height: min(760px,calc(100vh - 32px)); }
.additional-items-dialog-shell > header { display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; padding: 20px 22px 16px; border-bottom: 1px solid var(--line); }
.additional-items-dialog-shell > header h2 { margin: 3px 0 0; font-size: 1.3rem; }
.additional-items-toolbar { display: grid; grid-template-columns: minmax(220px,1fr) auto; align-items: end; gap: 5px 16px; padding: 15px 22px; background: #f6f8f4; border-bottom: 1px solid var(--line); }
.additional-items-toolbar label { grid-column: 1; }
.additional-items-toolbar input { grid-column: 1; width: 100%; min-height: 38px; padding: 0 10px; border: 1px solid #bfc9c4; border-radius: 7px; }
.additional-items-toolbar span { grid-column: 2; grid-row: 1/3; align-self: center; color: #64736f; font-size: .76rem; white-space: nowrap; }
.additional-items-table-wrap { min-height: 220px; overflow: auto; }
.additional-items-table { width: 100%; border-collapse: collapse; font-size: .8rem; }
.additional-items-table thead { position: sticky; top: 0; z-index: 1; background: #e9eee8; }
.additional-items-table th,.additional-items-table td { padding: 9px 12px; border-bottom: 1px solid #dce2dc; text-align: left; }
.additional-items-table th:first-child,.additional-items-table td:first-child { width: 92px; text-align: center; }
.additional-items-table th:nth-child(2),.additional-items-table td:nth-child(2) { width: 150px; font-weight: 800; }
.additional-items-table th button { width: 100%; padding: 0; color: inherit; background: transparent; border: 0; font: inherit; font-weight: 800; text-align: left; cursor: pointer; }
.additional-items-table th:first-child button { text-align: center; }
.additional-items-table th[aria-sort="ascending"] button::after { content: " ▲"; }
.additional-items-table th[aria-sort="descending"] button::after { content: " ▼"; }
.additional-items-table tbody tr:has(input:checked) { background: #eef7e2; }
.additional-items-table input { width: 17px; height: 17px; accent-color: var(--forest); }
.additional-items-table-wrap > .empty-state-inline { margin: 16px 22px; }
.additional-items-limit,.additional-items-dialog-shell > .notice { margin: 12px 22px 0; }
.additional-items-dialog-actions { display: flex; justify-content: flex-end; gap: 10px; padding: 16px 22px 20px; }
.visually-hidden { position: absolute!important; width: 1px!important; height: 1px!important; padding: 0!important; margin: -1px!important; overflow: hidden!important; clip: rect(0,0,0,0)!important; white-space: nowrap!important; border: 0!important; }
.new-family-card { border-style: dashed; }
.new-item-row { background: #f3f8f4; }
.new-item-row td:last-child { color: var(--green); }
.danger-link { color: #a23d32; }
.button-link { display: inline-flex; min-height: 30px; align-items: center; justify-content: center; padding: 0 9px; color: var(--forest); background: #fff; border: 1px solid #bdc8c2; border-radius: 6px; font-size: .7rem; font-weight: 800; line-height: 1; text-decoration: none; cursor: pointer; }
.button-link:hover { background: #f0f4ee; border-color: #91a49b; }
.button-link.danger-link { color: #a23d32; }
.inline-actions { border: 1px solid var(--line); border-top: 0; }
.summary-stat-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 15px; margin-bottom: 25px; }
.summary-stat-grid article { display: grid; gap: 5px; padding: 24px; background: #f4f6f1; border-radius: 11px; }.summary-stat-grid strong { font-size: 1.7rem; }.summary-stat-grid span { color: #71807c; font-size: .76rem; }
.routing-details { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; overflow: hidden; background: var(--line); border: 1px solid var(--line); border-radius: 10px; }
.routing-details div { padding: 18px; background: #fff; }.routing-details dt { color: #71807c; font-size: .66rem; text-transform: uppercase; }.routing-details dd { margin: 5px 0 0; font-size: .86rem; font-weight: 700; }
.row-action-buttons { display: flex; flex-direction: column; align-items: flex-start; gap: 5px; min-width: 82px; }
.settings-actions { display: flex; align-items: center; gap: 18px; padding: 20px 30px; background: #f2f4ee; border-top: 1px solid var(--line); }.settings-actions span { color: #74827e; font-size: .72rem; }
.recipe-master-filter,.recipe-master-editor { width: min(100%,1220px); margin-right: auto; margin-left: auto; }
.mapping-editor-filter,.mapping-editor-grid { width: min(100%,1320px); margin-right: auto; margin-left: auto; }

@media(max-width:1100px) { .start-store-info-fields{grid-template-columns:1fr 1fr}.dashboard-grid{grid-template-columns:1fr 1fr}.filter-panel{grid-template-columns:repeat(3,1fr)}.filter-options{grid-column:1/-1}.report-meta{grid-template-columns:1fr 1fr}.settings-breakfast-grid,.settings-lunch-grid{grid-template-columns:repeat(6,minmax(0,1fr))}.breakfast-start-time,.breakfast-levels-today,.breakfast-biscuit-options,.breakfast-extended-hours{grid-column:span 3}.breakfast-level-count,.breakfast-override-window,.breakfast-tracking-options,.breakfast-report-groups,.breakfast-configuration-cards,.lunch-override-ranges,.lunch-tracking-options,.lunch-report-groups,.lunch-configuration-cards{grid-column:1/-1} }
@media(max-width:760px) {
  .site-header{height:68px;padding:0 17px}.brand-copy small,.account-name{display:none}.nav-toggle{display:block;margin-left:auto;margin-right:10px}
  .app-nav{top:68px;width:260px;transform:translateX(-105%);transition:transform .2s;box-shadow:10px 0 30px rgba(0,0,0,.15)}.app-nav.open{transform:translateX(0)}
  .persistent-toolbar{top:68px;left:0;height:106px}.persistent-toolbar-store{flex-basis:220px}.persistent-toolbar-group a{flex-basis:62px}.persistent-toolbar-group a b{width:28px;height:28px}.app-main{margin-left:0;padding:196px 17px 45px}.single-list-form{--tracked-panel-top:174px}.tracked-workflow-banner{align-items:flex-start;flex-wrap:wrap}.tracked-workflow-note{width:100%;margin-left:0}.single-list-form .tracked-items-sticky-header,.single-list-form .fixed-item-scroll{position:static}.start-store-info-fields,.dashboard-grid{grid-template-columns:1fr}.start-week-form{grid-template-columns:1fr}.start-week-form .button{width:100%}
  .login-shell,.landing-shell{grid-template-columns:1fr;gap:38px}.login-intro{display:none}.login-card{padding:28px 22px}
  .hero-actions,.page-heading,.report-heading,.print-report-header{align-items:flex-start;flex-direction:column}.settings-page-lift{margin-top:0}.store-chip{width:100%}.store-row{grid-template-columns:1fr 1fr}.store-row>div:first-child{grid-column:1/-1}
  .filter-panel{grid-template-columns:1fr 1fr}.field-wide,.filter-options,.report-criteria-group{grid-column:1/-1}.filter-options{flex-wrap:wrap}.filter-panel>.button{grid-column:1/-1}.report-sheet{padding:15px}.report-meta{width:100%;gap:14px}
  .catalog-section{grid-template-columns:1fr}.catalog-links{grid-template-columns:1fr}.print-toolbar{align-items:stretch;flex-direction:column}.print-row{grid-template-columns:auto 1fr}.print-row select,.print-row>label{grid-column:2}.current-on-screen{grid-template-columns:1fr;align-items:start}.current-on-screen-main{grid-template-columns:1fr}.current-on-screen-main small{grid-column:1}.batch-manifest{grid-template-columns:1fr}.settings-tabs{overflow-x:auto}.settings-tabs button{flex:0 0 auto}.settings-general-grid,.settings-breakfast-grid,.settings-lunch-grid,.settings-grid,.settings-checks,.settings-help-grid,.configuration-cards,.summary-stat-grid,.routing-details,.menu-family-main-grid,.menu-category-add-grid,.admin-summary-grid,.admin-grid,.theme-choice-grid,.platform-admin-grid,.impact-grid{grid-template-columns:1fr}.settings-general-grid{grid-template-areas:"options" "location" "autoload" "colors" "hours"}.settings-breakfast-grid>*,.settings-lunch-grid>*{grid-column:1/-1}.menu-category-filter-card>header,.menu-category-filter-form .inline-actions,.scope-section>header{align-items:flex-start;flex-direction:column}.hours-row{grid-template-columns:1fr 1fr}.hours-row>strong{grid-column:1/-1}.settings-content>section{padding:22px 16px}.settings-actions{align-items:flex-start;flex-direction:column;padding:18px 16px}.company-store-list>div,.audit-list>div{grid-template-columns:1fr}.store-assignment-filters{grid-template-columns:1fr}.about-hero{align-items:flex-start;flex-direction:column}
  .tracking-report-options-grid,.breakfast-level-count .settings-grid,.breakfast-biscuit-options .settings-grid,.breakfast-override-window .settings-grid,.breakfast-report-groups .profile-editor-grid,.lunch-override-ranges .settings-grid,.lunch-report-groups .profile-editor-grid{grid-template-columns:1fr}
  .additional-menu-items-editor{align-items:stretch;flex-direction:column}.additional-items-button{width:100%}.additional-items-dialog{width:calc(100vw - 18px);max-height:calc(100vh - 18px)}.additional-items-dialog-shell{max-height:calc(100vh - 18px)}.additional-items-dialog-shell>header{padding:16px}.additional-items-toolbar{grid-template-columns:1fr;padding:13px 16px}.additional-items-toolbar span{grid-column:1;grid-row:auto}.additional-items-table th,.additional-items-table td{padding:8px}.additional-items-table th:nth-child(2),.additional-items-table td:nth-child(2){width:105px}.additional-items-dialog-shell>.notice{margin-left:16px;margin-right:16px}.additional-items-dialog-actions{padding:14px 16px 17px}
}
@media print {
  @page{size:11in 9in;margin:.35in}
  @page ppp-wide-landscape{size:11in 9in;margin:.35in}
  @page ppp-wide-portrait{size:9in 11in;margin:.35in}
  @page ppp-letter-landscape{size:Letter landscape;margin:.35in}
  @page ppp-letter-portrait{size:Letter portrait;margin:.35in}
  body{color:#000;background:#fff}.site-header,.app-nav,.no-print{display:none!important}.app-main{margin:0;padding:0}.report-sheet{padding:0;border:0;box-shadow:none}
  .report-sheet.print-profile-wide-landscape{page:ppp-wide-landscape}.report-sheet.print-profile-wide-portrait{page:ppp-wide-portrait}.report-sheet.print-profile-letter-landscape{page:ppp-letter-landscape}.report-sheet.print-profile-letter-portrait{page:ppp-letter-portrait}
  .print-batch{display:block}.print-batch-page{break-after:page}.print-batch-page:last-child{break-after:auto}.print-batch-page.wide-landscape{page:ppp-wide-landscape}.print-batch-page.wide-portrait{page:ppp-wide-portrait}.print-batch-page.letter-landscape{page:ppp-letter-landscape}.print-batch-page.letter-portrait{page:ppp-letter-portrait}
  .print-report-header{margin-bottom:12px;padding-bottom:10px}.desktop-worksheet-header{margin-bottom:8px;padding:8px 12px}.desktop-worksheet-header h2{font-size:18pt}.desktop-worksheet-store,.desktop-worksheet-subtitle,.desktop-worksheet-section,.desktop-worksheet-warning{font-size:8pt}.table-scroll{overflow:visible}.order-table{font-size:9pt}.order-table thead{display:table-header-group}.order-table tfoot{display:table-footer-group}.order-table th,.order-table td{padding:6px 7px}.order-table tr{break-inside:avoid}.table-input{width:62px;height:25px;border-color:#777}.report-footer{font-size:7pt}
}
.company-context-panel {
    align-items: end;
    background: var(--surface, #fff);
    border: 1px solid var(--line, #d7ddd9);
    border-radius: 12px;
    display: flex;
    gap: 2rem;
    justify-content: space-between;
    margin-bottom: 1rem;
    padding: 0.85rem 1rem;
}

.company-context-panel > div {
    display: grid;
    gap: 0.2rem;
}

.company-context-panel strong {
    font-size: 1.2rem;
}

.dashboard-context { flex-wrap: wrap; align-items: center; }
.dashboard-context > div { flex: 1 1 16rem; }
.dashboard-context > .company-select-form { flex-basis: 100%; justify-content: end; }
@media (max-width: 760px) {
    .dashboard-context > div { flex-basis: auto; }
    .dashboard-context > .company-select-form { flex-basis: auto; }
}

.company-select-form {
    align-items: end;
    display: grid;
    gap: 0.35rem 0.65rem;
    grid-template-columns: minmax(15rem, 24rem) auto;
}

.company-select-form label {
    font-size: 0.78rem;
    font-weight: 700;
    grid-column: 1 / -1;
    text-transform: uppercase;
}

.company-select-form select {
    min-height: 2.5rem;
}

@media (max-width: 760px) {
    .company-context-panel {
        align-items: stretch;
        flex-direction: column;
        gap: 0.75rem;
    }

    .company-select-form {
        grid-template-columns: 1fr;
    }
}

.setup-import-dialog { position: fixed; inset: 0; margin: auto; width: min(40rem, calc(100vw - 2rem)); max-height: calc(100vh - 3rem); overflow: auto; border: 1px solid #d7dfd8; border-radius: 14px; padding: 1.75rem; color: #183b32; background: #fffef9; }
.setup-import-dialog::backdrop { background: rgb(0 0 0 / 55%); }
.setup-import-dialog-actions { display: flex; justify-content: flex-end; gap: 1rem; position: sticky; bottom: -1.75rem; background: #fffef9; padding: 1rem 0; }

/* Report selection: named sections and options kept beside each report. */
.print-return { display:flex; align-items:center; justify-content:space-between; gap:20px; padding:18px 22px; margin-bottom:20px; border:1px solid var(--line); border-radius:14px; background:var(--paper); }
.print-return p { margin:4px 0 0; }
.print-center .print-toolbar { flex-wrap:wrap; align-items:center; }
.print-center .print-toolbar .segmented { flex-wrap:wrap; }
.print-report-section { margin:18px 0; border:1px solid var(--line); border-radius:10px; overflow:hidden; }
.print-report-section h2 { margin:0; padding:12px 16px; font-size:1rem; background:#eef3e9; }
.print-center .print-row { grid-template-columns:22px minmax(220px,1fr) minmax(340px,1.3fr); gap:12px; padding:14px 16px; }
.print-center .print-row:last-child { border-bottom:0; }
.print-row-options { display:flex; flex-wrap:wrap; align-items:center; gap:12px 18px; }
.print-row-options .print-option { display:grid; gap:4px; min-width:150px; margin:0; }
.print-option span { font-size:.75rem; color:#52675e; }
.print-center .print-row select { width:100%; height:40px; }
.print-selection-footer { display:flex; justify-content:space-between; align-items:center; gap:16px; padding:18px 22px; border-top:1px solid var(--line); }
@media(max-width:1100px) {
 .print-center .print-row { grid-template-columns:22px 1fr; }
 .print-row-options { grid-column:2; }
 .print-center .print-row select,.print-center .print-row>label { grid-column:auto; }
 .print-return { align-items:flex-start; flex-direction:column; }
}

.print-center [data-set-period][aria-pressed="true"] { background:var(--forest-deep); color:white; }

/* Desktop worksheet presentation shared by single reports and print groups. */
.report-sheet { color:#000; font-family:Arial, Helvetica, sans-serif; }
.report-sheet .order-table { border-collapse:collapse; width:100%; color:#000; font-variant-numeric:tabular-nums; }
.report-sheet .order-table th,.report-sheet .order-table td { border:1px solid #000; text-align:center; vertical-align:middle; }
.report-sheet .order-table th { background:#c0c0c0; color:#000; text-transform:none; letter-spacing:0; font-weight:700; }
.report-sheet .order-table td:first-child { text-align:left; font-weight:700; }
.desktop-worksheet-header { grid-template-columns:150px minmax(180px,1fr) minmax(220px,1.3fr); align-items:center; border:1px solid #000; min-height:90px; }
.worksheet-brand { width:145px; height:75px; object-fit:contain; }
.desktop-worksheet-header h2 { text-align:right; font-family:Arial Black,Arial,sans-serif; font-weight:900; }
.desktop-worksheet-store { text-align:left; }
.desktop-worksheet-subtitle { grid-column:1/-1; }
.worksheet-day { color:#c00000; margin-top:7px; font-size:1rem; }
.biscuit-summary { display:grid; gap:12px; margin:18px 0; }
.biscuit-summary>div { display:flex; justify-content:space-between; gap:12px; border:1px solid #000; padding:3px 6px; }
.worksheet-biscuits .order-table { font-size:1.35rem; }
.worksheet-biscuits .order-table th:first-child { width:24%; }
.worksheet-biscuits .order-table th:nth-child(2) { width:18%; }
.worksheet-biscuits .order-table td { padding:3px 7px; }
.worksheet-biscuits .order-table td:nth-child(2) { text-align:right; }
.worksheet-instructions { font-size:.95rem; font-weight:700; margin:12px 0; }
.worksheet-prep .order-table th,.worksheet-tempering .order-table th,.inventory-ordering-sheet .order-table th { background:#000; color:#fff; }
.worksheet-prep .order-table td,.worksheet-tempering .order-table td { font-weight:700; }
.worksheet-prep .worksheet-row-group tr:first-child td,.worksheet-tempering .worksheet-row-group tr:first-child td { border-top-width:2px; }
.report-sheet .category-row th { background:#ddd; color:#000; text-align:left; }
.report-sheet .tracking-detail-link { color:inherit; text-decoration:none; }
@media print {
 @page { size:letter landscape; margin:.4in; }
 @page ppp-wide-landscape { size:letter landscape; margin:.4in; }
 @page ppp-wide-portrait { size:letter portrait; margin:.4in; }
 .report-sheet { border-radius:0; background:#fff; print-color-adjust:exact; -webkit-print-color-adjust:exact; }
 .report-sheet .desktop-worksheet-header { padding:5pt 7pt; min-height:62pt; grid-template-columns:100pt minmax(100pt,1fr) minmax(170pt,1.4fr); gap:7pt; break-inside:avoid; break-after:avoid; }
 .worksheet-brand { width:100pt; height:58pt; }
 .desktop-worksheet-header h2 { font-size:23pt; }
 .desktop-worksheet-store { font-size:8pt; }
 .worksheet-day { font-size:11pt; }
 .desktop-worksheet-subtitle { font-size:10pt; }
 .report-sheet .order-table { font-size:11pt; table-layout:fixed; }
 .report-sheet .order-table th,.report-sheet .order-table td { padding:4pt 3pt; border:.7pt solid #000; overflow-wrap:break-word; }
 .report-sheet .order-table thead { display:table-header-group; }
 .report-sheet .order-table tr { break-inside:avoid; }
 .report-sheet .order-table tfoot { display:table-row-group; }
 .worksheet-biscuits .order-table { font-size:17pt; table-layout:auto; }
 .worksheet-biscuits .order-table th { font-size:13pt; white-space:nowrap; padding:7pt 4pt; }
 .worksheet-biscuits .order-table td { padding:2pt 5pt; }
 .biscuit-summary { gap:12pt; margin:12pt 0; font-size:11pt; break-inside:avoid; }
 .worksheet-instructions { font-size:10pt; break-before:avoid; }
 .worksheet-breakfast-levels .order-table,.worksheet-breakfast-tracking .order-table,.worksheet-ld-tracking .order-table,.worksheet-late-night .order-table { font-size:10pt; }
 .worksheet-wide .order-table { font-size:9pt; }
 .worksheet-dense .order-table { font-size:7pt; }
 .worksheet-wide .order-table td,.worksheet-dense .order-table td { padding:3pt 2pt; }
 .worksheet-wide .order-table th:first-child,.worksheet-dense .order-table th:first-child { width:18%; }
 .worksheet-prep .desktop-worksheet-header,.worksheet-tempering .desktop-worksheet-header { grid-template-columns:75pt 1fr; }
 .worksheet-prep .desktop-worksheet-header h2,.worksheet-tempering .desktop-worksheet-header h2 { grid-column:1/-1; text-align:center; font-size:23pt; }
 .worksheet-prep .worksheet-brand,.worksheet-tempering .worksheet-brand { width:75pt; height:40pt; }
 .worksheet-prep .order-table,.worksheet-tempering .order-table { font-size:11pt; }
 .worksheet-prep .order-table th:first-child,.worksheet-tempering .order-table th:first-child { width:28%; }
 .report-sheet .report-footer { color:#000; font-size:9pt; margin-top:8pt; break-inside:avoid; }
 .inventory-ordering-sheet .order-table { font-size:10pt; }
 .inventory-ordering-sheet .order-table th:first-child { width:28%; }
 .inventory-ordering-sheet .order-table th.ordering-operator { width:3%; }
 .inventory-ordering-sheet .table-input { border:0; background:transparent; width:100%; color:#000; font-size:12pt; }
 .report-sheet a { color:#000; text-decoration:none; }
}

@media print {
 .report-sheet.print-profile-wide-portrait,.report-sheet.print-profile-letter-portrait,.print-batch-page.wide-portrait .report-sheet,.print-batch-page.letter-portrait .report-sheet { width:7.7in; max-width:100%; }
 .report-sheet.print-profile-wide-landscape,.report-sheet.print-profile-letter-landscape { width:10.2in; max-width:100%; }
 .report-sheet .order-table th,.report-sheet .order-table td { min-width:0; }
 .report-sheet .worksheet-row-group { break-inside:avoid; }
 .worksheet-sales .desktop-worksheet-header,.worksheet-inventory .desktop-worksheet-header { grid-template-columns:75pt minmax(0,1fr); }
 .worksheet-sales .desktop-worksheet-header h2,.worksheet-inventory .desktop-worksheet-header h2 { grid-column:1/-1; text-align:center; }
 .worksheet-sales .worksheet-brand,.worksheet-inventory .worksheet-brand { width:75pt; height:40pt; }
 .worksheet-inventory .order-table th:first-child { width:55%; }
 .report-sheet .order-table th { font-size:inherit; }
 .worksheet-prep .order-table th,.worksheet-tempering .order-table th { font-size:9pt; }
}

/* Screen and paper use the same readable worksheet hierarchy. */
.report-sheet .order-table thead th { font-size:1rem; line-height:1.25; font-weight:700; }
.report-sheet .order-table { font-size:1rem; }
.report-sheet .worksheet-heading-line { display:block; }
.report-sheet .tracking-detail-link { font-weight:inherit; }
.worksheet-biscuits .order-table { font-size:1.35rem; }
.worksheet-biscuits .order-table thead th { font-size:1.35rem; }
.worksheet-breakfast-levels .order-table { table-layout:fixed; }
.worksheet-breakfast-levels .order-table th:first-child { width:24%; }
.worksheet-breakfast-levels .order-table th:nth-child(2) { width:16%; }
.report-sheet .order-table td.worksheet-instruction-label { text-align:right; }
.sales-worksheet-table { table-layout:fixed; }
.sales-worksheet-table .sales-time-column { width:10%; }
.sales-worksheet-table .sales-week-column { width:7%; }
.report-sheet .sales-total td { background:#d9d9d9; font-weight:700; }
.report-sheet .sales-hour-total { background:#edf3f7; }
.sales-interval-15 .sales-worksheet-table,.sales-interval-30 .sales-worksheet-table { min-width:1400px; }
.report-sheet .sales-worksheet-table th,.report-sheet .sales-worksheet-table td { padding:6px 3px; }
@media print {
 .report-sheet .order-table thead th { font-size:11pt; }
 .worksheet-biscuits .order-table thead th { font-size:17pt; }
 .worksheet-breakfast-levels .order-table { font-size:11pt; }
 .report-sheet .sales-worksheet-table { min-width:0; font-size:8pt; }
 .report-sheet .sales-worksheet-table thead th { font-size:9pt; }
 .sales-interval-60 .sales-worksheet-table,.sales-interval-60 .sales-worksheet-table thead th { font-size:11pt; }
 .report-sheet .sales-worksheet-table th,.report-sheet .sales-worksheet-table td { padding:3pt 1pt; }
 .sales-interval-15 .sales-time-column,.sales-interval-30 .sales-time-column { width:7%; }
 .sales-interval-15 .sales-week-column,.sales-interval-30 .sales-week-column { width:6%; }
}

@media print {
 .report-sheet .order-table { font-size:11pt; }
 .worksheet-biscuits .order-table { font-size:17pt; }
 .worksheet-wide .order-table { font-size:9pt; }
 .worksheet-dense .order-table { font-size:8pt; }
 .report-sheet .sales-worksheet-table { font-size:8pt; }
 .sales-interval-60 .sales-worksheet-table { font-size:11pt; }
}

.report-sheet .sales-worksheet-table th:first-child { width:auto; }
.report-sheet .sales-detail tr:nth-child(2) td:first-child { font-weight:400; text-align:center; }
.report-sheet .sales-worksheet-table td:not(:first-child) { white-space:nowrap; }
@media print {
 .sales-interval-15 .sales-worksheet-table { font-size:7pt; }
 .sales-interval-15 .sales-worksheet-table thead th { font-size:8pt; }
 .sales-interval-15 .sales-worksheet-table th,.sales-interval-15 .sales-worksheet-table td { padding:2pt .5pt; }
}

.report-sheet .sales-detail td { white-space:nowrap; }
@media print {
 .sales-interval-15 .sales-worksheet-table thead th:first-child { font-size:7pt; }
}

.report-sheet .breakfast-table { table-layout:fixed; }
.report-sheet .breakfast-table th:first-child { width:auto; }
.report-sheet .breakfast-data-row td { font-weight:700; }
.report-sheet .breakfast-data-row:nth-child(odd) td { background:#d9d9d9; }
.report-sheet .breakfast-data-row td:nth-child(2) { background:#ffffcc; }
.report-sheet .breakfast-section-heading th { background:black; color:white; font-size:.9rem; padding:2px; }
.report-sheet .breakfast-section-heading th:nth-child(2) { background:white; color:black; }
.report-sheet .breakfast-table .tracking-hour { background:#92d050; }
.report-sheet .breakfast-table .level-sales { background:#cceeff; }
.report-sheet .breakfast-table .breakfast-sales,.report-sheet .breakfast-table .breakfast-legend { background:white; color:black; }
.report-sheet .breakfast-today { width:68%; margin-left:auto; table-layout:fixed; font-size:.85rem; }
.report-sheet .breakfast-today thead th { background:black; color:white; }
@media print {
 .worksheet-breakfast-tracking .desktop-worksheet-header { min-height:0; padding:2pt; }
 .worksheet-breakfast-tracking .worksheet-brand { height:35pt; }
 .worksheet-breakfast-tracking .desktop-worksheet-header h2 { font-size:21pt; }
 .report-sheet .breakfast-table { font-size:14pt; }
 .report-sheet .breakfast-table td { padding:2pt 3pt; line-height:1.05; }
 .report-sheet .breakfast-table thead th { font-size:10pt; padding:2pt; }
 .report-sheet .breakfast-section-heading th { font-size:8pt; padding:1pt; }
 .report-sheet .breakfast-today { font-size:7pt; }
 .report-sheet .breakfast-today th,.report-sheet .breakfast-today td { padding:1pt; font-size:7pt; }
 .breakfast-section-heading { break-after:avoid; }
 .worksheet-breakfast-levels .desktop-worksheet-header { min-height:0; padding:2pt; }
 .worksheet-breakfast-levels .desktop-worksheet-header h2 { font-size:20pt; }
}

.worksheet-breakfast-levels .breakfast-today { width:61%; }
.report-sheet .breakfast-table th:nth-child(2) { width:auto; }
@media print {
 .worksheet-breakfast-levels .breakfast-table { font-size:18pt; }
 .worksheet-breakfast-tracking .breakfast-table { font-size:16pt; }
}

.worksheet-breakfast-levels .breakfast-today th:first-child,.worksheet-breakfast-levels .breakfast-today th:nth-child(2) { width:auto; }
.worksheet-breakfast-levels .desktop-worksheet-header { grid-template-columns:40% 60%; border:0; }
.worksheet-breakfast-levels .worksheet-brand { grid-column:1; grid-row:1; justify-self:center; }
.worksheet-breakfast-levels .desktop-worksheet-store { grid-column:1; grid-row:2; text-align:center; }
.worksheet-breakfast-levels .desktop-worksheet-header h2 { grid-column:2; grid-row:1/3; text-align:center; }
@media print {
 .report-sheet.worksheet-breakfast-levels .desktop-worksheet-header { grid-template-columns:40% 60%; gap:2pt; }
 .worksheet-breakfast-levels .worksheet-brand { height:40pt; }
 .worksheet-breakfast-levels .desktop-worksheet-store { font-size:10pt; }
 .worksheet-breakfast-levels .worksheet-day { display:none; }
 .report-sheet .breakfast-section-heading th { font-size:9pt; }
}

.breakfast-report-heading { display:grid; grid-template-columns:39% 61%; align-items:center; gap:0; margin-bottom:4px; }
.breakfast-report-identity { display:flex; flex-direction:column; align-items:center; gap:4px; text-align:center; }
.breakfast-report-heading h2 { font-family:Arial,Helvetica,sans-serif; font-size:2.1rem; text-align:center; margin:0; }
.breakfast-report-heading h2 span { display:block; line-height:1.4; }
.worksheet-breakfast-tracking .breakfast-report-heading { grid-template-columns:32% 68%; }
.report-sheet .breakfast-table .breakfast-comparison { background:white; color:black; }
.report-sheet .breakfast-table .breakfast-week { background:black; color:white; }
.report-sheet .breakfast-table .breakfast-legend-row th { border:0; background:white; color:black; font-size:.65rem; padding:0; }
.report-sheet .breakfast-table .breakfast-sales { border-left:0; border-top:0; }
@media print {
 .breakfast-report-heading { break-inside:avoid; break-after:avoid; }
 .breakfast-report-heading h2 { font-size:23pt; }
 .breakfast-report-identity { font-size:10pt; gap:3pt; }
 .breakfast-report-identity .worksheet-brand { height:45pt; width:110pt; }
 .worksheet-breakfast-tracking .breakfast-report-identity { font-size:8pt; gap:1pt; }
 .worksheet-breakfast-tracking .breakfast-report-identity .worksheet-brand { height:32pt; }
 .report-sheet .breakfast-table .breakfast-legend-row th { font-size:6pt; }
 .report-sheet .breakfast-table .breakfast-week { font-size:8pt; }
}

/* Final breakfast heading refinements, shared by screen and paper. */
.report-sheet .breakfast-table .level-label,
.report-sheet .breakfast-table .level-number,
.report-sheet .breakfast-table .tracking-average-heading { background:#fff; color:#000; }
.report-sheet .breakfast-table .level-number { font-size:1.4rem; }
.worksheet-breakfast-tracking .breakfast-report-heading h2 { transform:translateY(1em); }
.report-sheet .breakfast-table .breakfast-week { font-size:calc(1rem + 1pt); }
@media print {
 .report-sheet.worksheet-breakfast-levels { margin-left:auto; margin-right:auto; }
 .report-sheet .breakfast-table .level-number { font-size:16pt; }
 .report-sheet .breakfast-table .breakfast-week { font-size:9pt; }
}

/* Lunch and dinner are two readable worksheets, never one all-day grid. */
.report-sheet .ld-panel { margin:0 0 2rem; color:#000; font-family:Arial,sans-serif; }
.report-sheet .ld-heading { display:grid; grid-template-columns:30% 70%; align-items:end; min-height:80px; margin-bottom:4px; }
.report-sheet .ld-store { text-align:center; }
.report-sheet .ld-store img { width:120px; height:50px; object-fit:contain; display:block; margin:0 auto 5px; }
.report-sheet .ld-store strong { display:block; font-size:11px; }
.report-sheet .ld-heading h2 { margin:0 0 5px; font-size:26px; text-align:center; color:#000; }
.report-sheet .ld-table { border-collapse:collapse; table-layout:fixed; width:100%; font-size:20px; line-height:1.1; }
.report-sheet .ld-table th,.report-sheet .ld-table td { border:1px solid #000; text-align:center; padding:8px 3px; font-weight:700; color:#000; }
.report-sheet .ld-table thead th { padding:4px 2px; font-size:14px; background:white; }
.report-sheet .ld-table .ld-week { background:#000; color:white; font-size:10px; }
.report-sheet .ld-table .ld-legend { font-size:9px; border-top:0; line-height:1.2; }
.report-sheet .ld-table .ld-time { background:#ccecff; }
.report-sheet .ld-dinner .ld-table .ld-time { background:#f8cbad; }
.report-sheet .ld-section th { background:#000; color:#fff; font-size:12px; padding:3px 1px; }
.report-sheet .ld-section .ld-quantity-title { color:#000; background:#fff; font-size:10px; }
.report-sheet .ld-shaded { background:#d9d9d9; }
.report-sheet .ld-table .ld-quantity { background:#ffffcc; }
.report-sheet .ld-table .ld-override { color:red; }
.report-sheet .ld-raw .ld-table { font-size:15px; }
.report-sheet .ld-raw .ld-table .ld-hour-total { background:#eee; }
@media print {
 .report-sheet.worksheet-ld-tracking { margin:0 auto; padding:0; min-height:0; }
 .report-sheet .ld-print-page { break-after:page; }
 .report-sheet .ld-print-page:last-child { break-after:auto; }
 .report-sheet .ld-panel { margin:0; break-inside:avoid; }
 .report-sheet.ld-separate .ld-panel + .ld-panel { break-before:page; }
 .report-sheet.ld-combined .ld-panel + .ld-panel { margin-top:18pt; }
 .report-sheet .ld-heading { min-height:48pt; margin-bottom:2pt; }
 .report-sheet .ld-store img { width:70pt; height:28pt; margin-bottom:3pt; }
 .report-sheet .ld-store strong { font-size:5.5pt; }
 .report-sheet .ld-heading h2 { font-size:17pt; margin-bottom:5pt; }
 .report-sheet .ld-table { font-size:13pt; }
 .report-sheet .ld-table th,.report-sheet .ld-table td { padding:7pt 2pt; }
 .report-sheet .ld-table thead th { font-size:8pt; padding:4pt 1pt; }
 .report-sheet .ld-table .ld-week { font-size:5.5pt; }
 .report-sheet .ld-table .ld-legend { font-size:5pt; padding:1pt; }
 .report-sheet .ld-section th { font-size:8pt; padding:2pt 0; }
 .report-sheet .ld-section .ld-quantity-title { font-size:6pt; }
 .report-sheet .ld-product { break-inside:avoid; }
 .report-sheet .ld-section { break-after:avoid; }
 .report-sheet.ld-combined.ld-landscape .ld-table { font-size:11pt; }
 .report-sheet.ld-combined.ld-landscape .ld-table td,.report-sheet.ld-combined.ld-landscape .ld-product th { padding:3pt 2pt; }
 .report-sheet.ld-combined.ld-landscape .ld-heading { min-height:32pt; }
 .report-sheet.ld-combined.ld-landscape .ld-heading h2 { font-size:16pt; }
 .report-sheet.ld-combined.ld-landscape .ld-store img { height:23pt; }
 .report-sheet.ld-combined.ld-portrait .ld-dinner .ld-store { visibility:hidden; }
 .report-sheet.ld-combined.ld-portrait .ld-dinner .ld-heading { min-height:22pt; }
 .report-sheet.ld-combined.ld-portrait .ld-dinner .ld-store img { display:none; }
 .report-sheet .ld-raw .ld-table { font-size:8pt; }
 .report-sheet .ld-raw .ld-table td,.report-sheet .ld-raw .ld-product th { padding:3pt 1pt; }
 .report-sheet .ld-raw .ld-table thead th { font-size:6pt; }
}

/* Food prep follows the desktop's three-line item blocks and two-line dates. */
.report-sheet .prep-heading { display:grid; grid-template-columns:40.7% 59.3%; align-items:center; margin-bottom:6px; }
.report-sheet .prep-store { text-align:center; }
.report-sheet .prep-store img { width:130px; height:65px; object-fit:contain; display:block; margin:0 auto 6px; }
.report-sheet .prep-store strong { display:block; font-size:12px; }
.report-sheet .prep-heading h2 { font-size:32px; text-align:center; color:black; }
.report-sheet .prep-table { width:100%; border-collapse:collapse; table-layout:fixed; font-family:Arial,sans-serif; color:#000; }
.report-sheet .prep-table th,.report-sheet .prep-table td { border:1px solid black; text-align:center; padding:5px 3px; font-weight:700; font-size:18px; }
.report-sheet .prep-table th { background:black; color:white; font-size:14px; }
.report-sheet .prep-table .prep-projection { background:white; color:black; text-align:right; font-size:12px; border:0; }
.report-sheet .prep-item td { padding:12px 4px; }
.report-sheet .prep-item td:first-child { text-align:left; }
.report-sheet .prep-table .prep-instruction { text-align:right; font-size:15px; }
.report-sheet .prep-shaded { background:#ffe0dd; }
.report-sheet .prep-footer { display:flex; justify-content:space-between; font-size:12px; margin-top:12px; color:black; }
@media print {
 .report-sheet .prep-heading { margin-bottom:4pt; }
 .report-sheet .prep-store img { width:80pt; height:44pt; }
 .report-sheet .prep-store strong { font-size:7pt; }
 .report-sheet .prep-heading h2 { font-size:23pt; }
 .report-sheet .prep-table th { font-size:8pt; padding:3pt 1pt; }
 .report-sheet .prep-table td { font-size:12pt; padding:4pt 2pt; }
 .report-sheet .prep-item td { padding:10pt 2pt; }
 .report-sheet .prep-table .prep-instruction { font-size:9pt; }
 .report-sheet .prep-table .prep-projection { font-size:7pt; }
 .report-sheet .prep-product { break-inside:avoid; }
 .report-sheet .prep-footer { font-size:8pt; margin-top:8pt; }
}
@media print {
 .report-sheet .ld-table .ld-comparison { font-size:6.5pt; }
 .report-sheet .ld-table .ld-legend { font-size:4.5pt; white-space:nowrap; }
 .report-sheet.ld-combined.ld-portrait .ld-table { font-size:11pt; }
 .report-sheet.ld-combined.ld-portrait .ld-product th,.report-sheet.ld-combined.ld-portrait .ld-product td { padding:4pt 2pt; }
 .report-sheet.ld-combined .ld-raw .ld-table { font-size:8pt; }
 .report-sheet.ld-combined .ld-raw .ld-product th,.report-sheet.ld-combined .ld-raw .ld-product td { padding:2pt 1pt; }
 .report-sheet .ld-table { width:calc(100% - 1px); }
}
@media screen { .report-sheet .ld-dense .ld-table { font-size:16px; } }
@media print {
 .report-sheet .ld-dense:not(.ld-raw) .ld-table { font-size:10pt; }
 .report-sheet .ld-dense .ld-table .ld-time { font-size:6.5pt; }
}
.ld-print-dialog { width:min(460px,calc(100vw - 32px)); border:1px solid var(--line); border-radius:12px; padding:24px; }
.ld-print-dialog::backdrop { background:rgb(0 0 0 / .35); }
.ld-print-dialog form { display:grid; gap:20px; }
.ld-print-dialog h2 { margin:0; }

/* Desktop preparation and tempering sheets: compact, writable item blocks. */
.report-sheet .prep-temper-page { color:#000; font-family:Arial,sans-serif; margin-bottom:2rem; }
.report-sheet .prep-temper-table { width:100%; border-collapse:collapse; table-layout:fixed; }
.report-sheet .prep-temper-table th,.report-sheet .prep-temper-table td { border:1px solid black; text-align:center; padding:3px; font-weight:700; }
.report-sheet .prep-temper-table thead th { background:black; color:white; font-size:13px; }
.report-sheet .prep-temper-identity th { background:white; color:black; padding:0 0 8px; border:0; }
.report-sheet .prep-temper-heading { display:grid; grid-template-columns:40.7% 59.3%; align-items:center; }
.report-sheet .temper-page .prep-temper-heading { grid-template-columns:45.5% 54.5%; }
.report-sheet .prep-temper-store img { width:120px; height:58px; object-fit:contain; display:block; margin:0 auto 6px; }
.report-sheet .prep-temper-store strong { display:block; font-size:11px; }
.report-sheet .prep-temper-heading h2 { color:black; font-size:29px; margin:0; }
.report-sheet .prep-temper-table .prep-temper-projection { text-align:right; font-size:11px; background:white; color:black; border:0; }
.report-sheet .prep-temper-item td { height:34px; font-size:20px; overflow-wrap:anywhere; }
.report-sheet .prep-temper-item td:not(:first-child):nth-child(-n+3) { font-size:16px; }
.report-sheet .prep-temper-deduction td { height:25px; }
.report-sheet .prep-temper-instruction { font-size:12px; text-align:right; background:white; }
.report-sheet .prep-temper-table .prep-temper-instruction { text-align:right; }
.report-sheet .prep-temper-shaded td { background:#ffe0dd; }
.report-sheet .temper-page .prep-temper-shaded td { background:#ccecff; }
.report-sheet .prep-temper-shaded .prep-temper-instruction { background:white; }
.report-sheet .prep-temper-completion td { background:white; height:24px; font-size:10px; font-weight:400; }
.report-sheet .prep-temper-completion td:first-child { border:0; }
.report-sheet .prep-temper-completion div { display:flex; justify-content:space-between; gap:8px; align-items:center; }
@media print {
 .report-sheet.worksheet-prep,.report-sheet.worksheet-tempering { width:7in; max-width:100%; margin:0 auto; padding:0; }
 .report-sheet .prep-temper-page { margin:0; break-after:page; }
 .report-sheet .prep-temper-page:last-child { break-after:auto; }
 .report-sheet .prep-temper-table thead { display:table-header-group; }
 .report-sheet .prep-temper-table thead th { font-size:6pt; padding:1pt; }
 .report-sheet .prep-temper-table .prep-temper-identity th { padding:0 0 4pt; }
 .report-sheet .prep-temper-heading { min-height:48pt; }
 .report-sheet .prep-temper-heading h2 { font-size:20pt; }
 .report-sheet .prep-temper-store img { width:78pt; height:32pt; margin-bottom:5pt; }
 .report-sheet .prep-temper-store strong { font-size:6pt; }
 .report-sheet .prep-temper-table .prep-temper-projection { font-size:5pt; }
 .report-sheet .prep-temper-table td { padding:1pt; line-height:1.05; }
 .report-sheet .prep-temper-item td { height:16pt; font-size:11pt; }
 .report-sheet .prep-temper-item td:not(:first-child):nth-child(-n+3) { font-size:8pt; }
 .report-sheet .prep-page .prep-temper-item td:nth-child(3) { font-size:11pt; }
 .report-sheet .prep-temper-deduction td { height:14pt; }
 .report-sheet .prep-temper-table .prep-temper-instruction { font-size:6pt; }
 .report-sheet .prep-temper-product { break-inside:avoid; }
 .report-sheet .prep-temper-completion td { height:14pt; font-size:5pt; }
}
@media print {
 .report-sheet .breakfast-print-page + .breakfast-print-page { break-before:page; }
 .worksheet-breakfast-tracking .breakfast-halfhour .breakfast-table { font-size:12pt; }
 .worksheet-breakfast-tracking .breakfast-halfhour .breakfast-table .tracking-hour { font-size:8pt; }
}
.report-sheet .prep-temper-table thead .prep-temper-identity th { background:white; color:black; border:0; }
.report-sheet .prep-temper-table .prep-temper-shaded .prep-temper-instruction { background:white; }
.report-sheet .prep-temper-table .prep-temper-completion td { background:white; }

/* Fit the physical Letter sheet, including both panels of a combined L/D report. */
@media print {
 .report-sheet.worksheet-ld-tracking.ld-landscape { page:ppp-letter-landscape; width:10.2in; }
 .report-sheet.worksheet-ld-tracking.ld-portrait { page:ppp-letter-portrait; width:7.7in; }
 .report-sheet.ld-combined.ld-landscape .ld-panel + .ld-panel { margin-top:9pt; break-before:auto; }
 .report-sheet.ld-combined.ld-landscape .ld-heading { min-height:27pt; }
 .report-sheet.ld-combined.ld-landscape .ld-heading h2 { font-size:14pt; }
 .report-sheet.ld-combined.ld-landscape .ld-table { font-size:10pt; line-height:1.05; }
 .report-sheet.ld-combined.ld-landscape .ld-table td,
 .report-sheet.ld-combined.ld-landscape .ld-product th { padding:2pt 1pt; }
 .report-sheet.ld-combined.ld-landscape .ld-table thead th { padding:2pt 1pt; }
 .report-sheet.worksheet-sales { page:ppp-letter-portrait; width:7.7in; }
 .report-sheet.worksheet-sales.sales-interval-15,
 .report-sheet.worksheet-sales.sales-interval-30 { page:ppp-letter-landscape; width:10.2in; }
 .report-sheet.worksheet-sales .desktop-worksheet-header { min-height:0; padding:4pt; margin-bottom:5pt; grid-template-columns:65pt 1fr auto; }
 .report-sheet.worksheet-sales .desktop-worksheet-header h2 { grid-column:auto; font-size:18pt; }
 .report-sheet.worksheet-sales .worksheet-brand { width:65pt; height:28pt; }
 .report-sheet.worksheet-sales .sales-worksheet-table { font-size:9pt; line-height:1.05; }
 .report-sheet.worksheet-sales .sales-worksheet-table thead th { font-size:9pt; }
 .report-sheet.worksheet-sales .sales-worksheet-table th,
 .report-sheet.worksheet-sales .sales-worksheet-table td { padding:2pt 1pt; overflow-wrap:normal; }
 .report-sheet.worksheet-sales .sales-time-column { width:16%; }
 .report-sheet.worksheet-sales .sales-week-column { width:12%; }
 .report-sheet.worksheet-sales.sales-interval-30 .sales-worksheet-table,
 .report-sheet.worksheet-sales.sales-interval-15 .sales-worksheet-table { font-size:6.5pt; }
 .report-sheet.worksheet-sales.sales-interval-30 .sales-worksheet-table thead th,
 .report-sheet.worksheet-sales.sales-interval-15 .sales-worksheet-table thead th { font-size:7pt; }
 .report-sheet.worksheet-sales.sales-interval-30 .sales-time-column,
 .report-sheet.worksheet-sales.sales-interval-15 .sales-time-column { width:10%; }
 .report-sheet.worksheet-sales.sales-interval-30 .sales-week-column,
 .report-sheet.worksheet-sales.sales-interval-15 .sales-week-column { width:8%; }
 .report-sheet.worksheet-sales.sales-interval-15 .sales-worksheet-table th,
 .report-sheet.worksheet-sales.sales-interval-15 .sales-worksheet-table td { padding:1pt .4pt; }
}

@media print { .report-sheet[data-print-blocked="true"] { display:none !important; } }

@media print {
 .report-sheet.worksheet-sales.sales-interval-15 .sales-worksheet-table { font-size:6pt; line-height:1; }
 .report-sheet.worksheet-sales.sales-interval-15 .sales-worksheet-table th,
 .report-sheet.worksheet-sales.sales-interval-15 .sales-worksheet-table td { padding:0 .4pt; }
}

@media print {
 .report-sheet.ld-combined.ld-portrait .ld-table { font-size:12pt; line-height:1.1; }
 .report-sheet.ld-combined.ld-portrait .ld-table td,
 .report-sheet.ld-combined.ld-portrait .ld-product th { padding:4pt 1pt; }
 .report-sheet.worksheet-sales.sales-interval-15 .sales-worksheet-table { font-size:6.5pt; }
}

.settings-general-location input:disabled { color:#777; background:#eef0ed; border-color:#d6dbd6; opacity:1; cursor:not-allowed; }
.override-window-editor { max-width:1100px; margin:0 0 18px; }
.override-window-grid { display:grid; grid-template-columns:repeat(4,minmax(130px,1fr)); gap:16px; }
.settings-content > section > .settings-workspace-subtabs { margin:-12px 0 22px; border-bottom:1px solid var(--line); padding:0 0 12px; }
@media(max-width:800px) { .override-window-grid { grid-template-columns:repeat(2,minmax(0,1fr)); } }

.tracked-items-table thead .tracked-inventory-panel-heading,
.tracked-items-table thead .tracked-override-panel-heading { color:#fff; }
.tracked-items-table thead .tracking-note-row td { background:transparent; border:0; padding:0 5px 8px; }
.tracked-items-table thead .tracking-note-row .tracking-optional-note { color:var(--ink); font-size:.75rem; font-weight:400; text-align:left; text-transform:none; white-space:normal; }

.tracked-items-table.tracking-layout thead th[colspan],
.tracked-items-table.tracking-layout thead td[colspan] { width:auto; min-width:0; }
.tracked-items-table thead .tracking-inventory-note { color:var(--ink); font-size:.75rem; font-weight:400; text-align:left; text-transform:none; white-space:normal; }
.tracking-inventory-note span { display:block; max-width:580px; padding-right:16px; }

.menu-family-limit-notice { width:min(100%,1220px); }
.menu-family-lunch .menu-family-grid-head,.menu-family-lunch .menu-family-row { grid-template-columns:52px minmax(280px,1.7fr) minmax(210px,1fr) 115px; }

.menu-family-grid-head .hold-time-heading,.tracked-items-table th.hold-time-heading { text-align:center; }

/* Checkboxes must not inherit text-field sizing in administration forms. */
.admin-form input[type="checkbox"] { width:16px; height:16px; min-height:16px; padding:0; flex:0 0 16px; }
.admin-form label:has(> input[type="checkbox"]) { display:flex; align-items:center; gap:8px; text-transform:none; letter-spacing:normal; }

.settings-content:has([data-settings-panel="routing"]:not([hidden])) > .settings-actions button[type="submit"],
.settings-content:has([data-settings-panel="routing"]:not([hidden])) > .settings-actions .settings-save-note { display:none; }
[data-guide-upload] [hidden] { display: none !important; }
/* Order Guide: compact desktop-style defaults, store list, then supplier catalog. */
.order-guide-defaults { display:flex; flex-wrap:wrap; align-items:flex-start; gap:20px 36px; padding:16px 22px; }
.order-guide-defaults .field { display:flex; flex-direction:column; gap:7px; }
.order-guide-defaults input[type=number],.order-guide-defaults select { width:100px; height:38px; min-height:38px; padding:0 10px; border:1px solid var(--line); border-radius:7px; background:var(--paper); }
.order-guide-yield { display:flex; align-items:center; gap:12px; }
.order-guide-yield .mini-check { margin:0; text-transform:none; font-size:.85rem; }
.order-guide-help { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:12px; padding:0 22px 18px; }
.order-guide-help > div { border:1px solid var(--line); background:var(--canvas); padding:12px; border-radius:8px; font-size:.8rem; }
.order-guide-help p { margin:6px 0 0; }
.order-guide-toolbar { display:flex; flex-wrap:wrap; gap:8px; align-items:center; }
.order-guide-setup-category-filter { width:260px; padding:0 16px 12px; }
.order-guide-items-scroll { max-height:480px; overflow:auto; }
.order-guide-catalog-scroll { max-height:360px; overflow:auto; }
.order-guide-items-table { min-width:1280px; table-layout:fixed; }
.order-guide-items-table th,.order-guide-items-table td { padding:8px; }
.order-guide-items-table thead,.mclane-preview-table thead { position:sticky; top:0; z-index:2; }
.order-guide-items-table thead th,.mclane-preview-table thead th { background:var(--forest); color:#fff; }
.order-guide-items-table td:nth-child(n) { min-width:0; vertical-align:middle; }
.order-guide-items-table th:nth-child(1) { width:48px; }
.order-guide-items-table th:nth-child(2) { width:65px; }
.order-guide-items-table th:nth-child(3) { width:170px; }
.order-guide-items-table th:nth-child(4) { width:190px; }
.order-guide-items-table th:nth-child(5) { width:95px; }
.order-guide-items-table th:nth-child(6) { width:240px; }
.order-guide-items-table th:nth-child(7) { width:80px; }
.order-guide-items-table th:nth-child(8) { width:80px; }
.order-guide-items-table th:nth-child(9) { width:90px; }
.order-guide-items-table td:nth-child(1) { text-align:center; }
.order-guide-items-table input[type=checkbox],.order-guide-category-table input[type=checkbox],.order-guide-defaults input[type=checkbox] { width:15px; min-width:15px; height:15px; min-height:15px; margin:0; }
.order-guide-items-table td:nth-child(7) > label { display:grid; gap:2px; font-size:.65rem; }
.order-guide-items-table .row-action-buttons { display:grid; gap:3px; }
.order-guide-items-table small { font-size:.66rem; }
.order-guide-items-table tr[hidden],.mclane-preview-table tr[hidden] { display:none; }
.order-guide-source-panel { margin-top:20px; scroll-margin-top:270px; }
.order-guide-source-form { padding:16px 22px; }
.order-guide-source-form .settings-grid { display:grid; grid-template-columns:minmax(220px,380px) minmax(180px,260px); }
.order-guide-source-form > button { width:auto; justify-self:start; }
.order-guide-category-dialog { width:min(900px,94vw); max-height:85vh; padding:0 0 16px; border:1px solid var(--line); border-radius:12px; background:var(--paper); color:var(--ink); }
.order-guide-category-dialog::backdrop { background:#0008; }
.order-guide-category-dialog input[readonly] { border-color:transparent; background:transparent; }
.order-guide-category-dialog .field-help { padding:0 22px; }
.order-guide-category-dialog .row-action-buttons { display:flex; flex-wrap:wrap; gap:5px; }
@media(max-width:1000px) { .order-guide-help { grid-template-columns:repeat(2,minmax(0,1fr)); } }

.order-guide-category-dialog .order-guide-category-table { table-layout:fixed; min-width:650px; }
.order-guide-category-dialog th:nth-child(1) { width:70px; }
.order-guide-category-dialog th:nth-child(2) { width:85px; }
.order-guide-category-dialog th:nth-child(4) { width:280px; }
.order-guide-category-dialog td { padding:8px; }
.order-guide-category-dialog .row-action-buttons { display:grid; grid-template-columns:repeat(3,1fr); gap:4px; }
.order-guide-items-table .row-action-buttons { display:grid; grid-template-columns:1fr 1fr; }
.order-guide-items-table .row-action-buttons button:last-child { grid-column:1 / -1; }
.order-guide-items-table .row-action-buttons button { padding:4px; font-size:.64rem; }
.order-guide-items-table td:nth-child(7) input { min-height:30px; }
.order-guide-items-table td:nth-child(7) > label + label { margin-top:3px; }

/* Ordering review: clear actions, sections and progress. */
.ordering-edit-card { display:flex; align-items:center; gap:18px; padding:22px; background:var(--forest); color:white; border-radius:10px; text-decoration:none; }
.ordering-edit-card img { width:48px; height:48px; object-fit:contain; }
.ordering-edit-card strong { display:block; font-size:1.35rem; color:white; }
.ordering-edit-card small { display:block; margin-top:5px; color:white; }
.ordering-edit-card b { margin-left:auto; font-size:1.8rem; }
.inventory-ordering-table .category-row th { font-size:1.1rem; font-weight:800; padding:12px; letter-spacing:.03em; }
@media screen { .inventory-ordering-table .category-row th { background:var(--forest); color:white; } }
.inventory-ordering-table .on-hand { appearance:textfield; -moz-appearance:textfield; }
.inventory-ordering-table .on-hand::-webkit-inner-spin-button,.inventory-ordering-table .on-hand::-webkit-outer-spin-button { -webkit-appearance:none; margin:0; }
.order-guide-filter-status { display:block; font-weight:700; color:var(--forest); margin-bottom:8px; }
.new-item-heading th { padding:14px!important; background:var(--forest)!important; color:white!important; text-align:left; }
.new-item-heading small { color:white; display:block; font-weight:400; margin-top:4px; }
[data-cloud-setup-url][aria-busy="true"] { position:fixed; z-index:2500; top:270px; left:50%; transform:translateX(-50%); width:min(600px,90vw); padding:28px; border:3px solid var(--forest); background:white; box-shadow:0 10px 60px #0005; font-size:1.15rem; font-weight:700; }
[data-cloud-setup-url][aria-busy="true"]::before { content:""; display:inline-block; width:24px; height:24px; margin-right:12px; border:4px solid #ddd; border-top-color:var(--forest); border-radius:50%; animation:cloud-check-spin 1s linear infinite; }
@keyframes cloud-check-spin { to { transform:rotate(360deg); } }

.order-guide-category-dialog .order-guide-category-table { width:100%; min-width:760px; }
.order-guide-category-dialog th:nth-child(3) { width:auto; text-align:center; }
.order-guide-category-dialog td:nth-child(3) { min-width:260px; }
.order-guide-category-dialog td:nth-child(3) input { width:100%; min-width:0; box-sizing:border-box; }
.order-guide-filter-status.is-updating { position:fixed; top:35%; left:50%; transform:translate(-50%,-50%); z-index:2500; width:min(500px,90vw); padding:28px; border:3px solid var(--forest); border-radius:8px; background:white; box-shadow:0 10px 60px #0005; font-size:1.15rem; }
.order-guide-filter-status.is-updating::before { content:""; display:inline-block; width:22px; height:22px; margin-right:14px; border:4px solid #ddd; border-top-color:var(--forest); border-radius:50%; animation:cloud-check-spin 1s linear infinite; }
