.operations-dashboard.sale-prep-enabled.active{grid-template-rows:auto minmax(0,1fr)}
.sp-staffing-summary{display:flex;flex-wrap:wrap;align-items:center;gap:5px 14px;border-top:1px solid #69818e;margin-top:8px;padding-top:8px;font-size:clamp(14px,1vw,18px);color:#d3e8e4}
.sp-staffing-summary.consolidated{display:grid;grid-template-columns:auto minmax(0,1fr);align-items:start;gap:4px 14px}.sp-staffing-summary.consolidated strong{grid-row:1/3;color:#f1d58e}.sp-staffing-summary.consolidated span{line-height:1.35}
.sp-staffing-summary small{font-size:12px}.sp-staffing-summary progress{height:12px;width:100px;accent-color:#92e7ce}.labor-status{display:inline-block;font:700 12px/1.4 sans-serif;padding:3px 6px;border:1px solid currentColor;white-space:normal}.labor-status.PROPOSED{color:#f1d58e;border-style:dashed}.labor-status.PENDING{color:#ebbb91}.labor-status.CONFIRMED{color:#92e7ce}.labor-status.COMPLETED{color:#b4dcfb}.labor-status.CANCELLED{color:#bcb8b8}
#sp-staffing-details{overflow-wrap:anywhere;border-bottom:2px solid #d8b65f;padding-bottom:20px;margin-bottom:20px}#sp-staffing-details select,#sp-staffing-details input,#sp-staffing-details textarea{max-width:100%;min-width:0}#sp-labor-form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}#sp-labor-form label{display:grid;gap:5px}#sp-labor-form button,#sp-labor-form p{grid-column:1/-1}.sp-labor-day,.sp-labor-records article,.sp-labor-issue{padding:10px 0;border-bottom:1px solid #69818e}.sp-interpersonal{border-left:3px solid #92e7ce;padding:10px}.sp-labor-issue strong{color:#edc28e}
@media(max-width:760px){#sp-labor-form{grid-template-columns:1fr}body.sale-prep-active{height:auto;overflow:auto}body.sale-prep-active .shell{height:auto;min-height:100dvh}body.sale-prep-active .operations-dashboard{overflow:visible}body.sale-prep-active .ops-panel{overflow:visible}.sp-staffing-summary{font-size:14px}}
.lee-appointments{display:grid;grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr);gap:14px;margin-bottom:16px;color:var(--ink)}
.lee-panel{min-width:0;background:var(--panel-alt);border:1px solid var(--line);border-left:5px solid #86d4c4;padding:12px 16px}
.lee-panel.future{border-left-color:#dfbb65}
.lee-panel header{display:flex;align-items:start;justify-content:space-between;gap:12px;border-bottom:1px solid var(--line);padding-bottom:10px;margin-bottom:10px}
.lee-panel h3{font:800 clamp(14px,.9vw,17px)/1.3 sans-serif;letter-spacing:.04em;margin:0}
.lee-panel header span{font:700 10px/1.4 monospace;letter-spacing:.04em;color:#9ad9ca}
.lee-panel.future header span{color:#e9bd88}
.lee-zone,.lee-appointment,.lee-correction{font:clamp(12px,.74vw,14px)/1.35 'DejaVu Sans Mono',monospace}
.lee-zone{color:#aed6d2;margin:0 0 12px}
.lee-appointment{break-inside:avoid;padding:0 0 16px}
.lee-appointment h4{font:inherit;font-weight:700;color:#c9e6e5;margin:0 0 4px}
.lee-appointment p,.lee-correction p{margin:4px 0;color:var(--muted)}
.lee-appointment small{display:block;font:inherit;font-size:.85em;color:#a7d6c5}.lee-appointment .tentative{color:#edc28e}
.lee-future-columns{columns:2;column-gap:24px;column-rule:1px solid var(--line)}
.lee-correction{break-inside:avoid;border-top:1px dashed #c99279;padding-top:10px}.lee-correction h4{font:700 11px/1.4 monospace;background:#d3a285;color:#201b19;padding:5px;margin:0}
@media(min-width:1101px){body.sale-prep-active .sp-top{grid-template-columns:minmax(0,1.8fr) minmax(300px,1fr)}body.sale-prep-active .sale-prep-card{padding:14px 28px}body.sale-prep-active .sp-timeline svg{max-height:128px}body.sale-prep-active .sale-prep-card h2{font-size:clamp(34px,3.15vw,58px)}body.sale-prep-active .sp-objective{font-size:clamp(20px,1.55vw,28px)}body.sale-prep-active .sp-stat time{font-size:clamp(15px,1.1vw,20px)}body.sale-prep-active .sp-stat small{font-size:clamp(14px,1vw,18px)}}
@media(max-width:1100px){.lee-appointments{grid-template-columns:1fr}.lee-future-columns{columns:1}.lee-zone,.lee-appointment,.lee-correction{font-size:14px}}
.sale-prep-card{background:linear-gradient(115deg,#102330,#0d1d29);color:#f6fafc;border:2px solid #d8b65f;border-radius:10px;padding:16px 22px;position:relative;isolation:isolate;box-shadow:0 4px 16px #0003;line-height:1.25}
.sale-prep-card *{box-sizing:border-box}.sale-prep-card h2,.sale-prep-card p{margin:0}
.sp-top{display:grid;grid-template-columns:minmax(0,1.65fr) minmax(280px,1fr);gap:20px;align-items:start}
.sp-eyebrow{font-size:15px;font-weight:800;letter-spacing:.08em;color:#d6e4ee}
.sale-prep-card h2{font-size:clamp(30px,3.5vw,64px);line-height:1.03;color:#ffe18b;margin:5px 0 8px}
.sp-objective{font-size:clamp(20px,1.7vw,30px);font-weight:900;max-width:950px}
.sp-phase{color:#92e7ce;font-size:clamp(17px,1.45vw,26px);font-weight:800;margin-top:8px!important}
.sp-stats{display:grid;grid-template-columns:1fr 1fr;gap:12px}.sp-stat{border-left:3px solid #f4d478;padding-left:12px}
.sp-stat.outer{border-color:#be938a}.sp-number{font-size:clamp(38px,4vw,72px);font-weight:900;line-height:1;font-variant-numeric:tabular-nums}
.sp-countdown{display:flex;align-items:baseline;gap:clamp(8px,1vw,18px);flex-wrap:wrap}.sp-hours-number{font-size:clamp(26px,2.3vw,42px);font-weight:900;line-height:1;color:#bcefe3}.sp-countdown small{margin:2px 0!important}.sp-hours small{color:#bcefe3}
.sp-stat small{display:block;font-size:clamp(14px,1.15vw,20px);margin:4px 0}.sp-stat time{font-weight:700;font-size:clamp(15px,1.25vw,22px)}
.sp-timeline{margin-top:12px}.sp-timeline svg{width:100%;height:auto;max-height:140px;display:block;overflow:visible}.sp-timeline text{font-family:inherit;font-weight:800;fill:#f6fafc}
.sp-mobile-timeline{display:none}
.sp-appointment-node{cursor:pointer}.sp-appointment-node:focus-visible circle{stroke:#fff;stroke-width:5}.sp-appointment-days{display:flex;flex-wrap:wrap;align-items:start;gap:6px 10px;margin:2px 0 10px}.sp-appointment-key{width:100%;font-size:12px;color:#c0d2df}.sp-appointment-key span{color:#92e7ce}.sp-appointment-key b{color:#ffd478;font-weight:inherit}.sp-appointment-days details{min-width:0;max-width:100%}.sp-appointment-days summary{cursor:pointer;min-height:44px;padding:11px 12px;border:1px solid #ffd478;border-radius:6px;color:#ffd478;font-size:14px;font-weight:700}.sp-appointment-days summary.completed{border-color:#92e7ce;color:#92e7ce}.sp-appointment-days summary:focus-visible{outline:3px solid #fff;outline-offset:2px}.sp-appointment-days details[open]{flex-basis:100%}.sp-appointment-days details div{padding:8px 12px;font-size:14px;overflow-wrap:anywhere}.sp-appointment-days details p+p{margin-top:8px}.sp-mobile-elapsed{position:relative;overflow:visible!important}.sp-mobile-appointment{position:absolute;top:50%;transform:translate(-50%,-50%);width:8px;height:14px;border:1px solid #102330;border-radius:4px;padding:0!important}
.sp-mobile-elapsed{grid-column:1/-1;height:9px;background:linear-gradient(to right,#385e79 0 43.333%,#e9bd58 43.333% 60%,#76564d 60%);border-radius:3px;overflow:hidden}.sp-mobile-elapsed i{display:block;height:100%;background:#65717a}.sp-tick-flash{animation:sp-minute-tick .8s ease-out}@keyframes sp-minute-tick{from{opacity:.85}to{opacity:0}}
body.sale-prep-active .shell{height:100dvh;display:flex;flex-direction:column;padding-bottom:8px}
body.sale-prep-active{height:100dvh;overflow:hidden}
body.sale-prep-active .operations-dashboard{flex:1;min-height:0}
body.sale-prep-active .topbar{flex:0 0 auto}
body.sale-prep-active .ops-nav{padding-top:0;min-height:48px;height:48px;align-items:center}
.sp-bottom{display:grid;grid-template-columns:minmax(0,1fr) 240px;gap:16px;align-items:center}.sp-priority{font-size:clamp(18px,1.7vw,30px);font-weight:800}.sp-priority small{display:block;font-size:14px;color:#c0d2df;margin-bottom:3px}
.sp-progress label{display:block;font-weight:800;font-size:17px}.sp-progress progress{width:100%;height:18px;accent-color:#74dcc0}.sp-progress small{display:block;color:#c0d2df;font-size:12px;margin-top:2px}
.sp-actions{display:flex;gap:8px;align-items:center;flex-wrap:wrap;margin-top:8px}.sp-actions button{background:#253b49;color:#edf5f6;border:1px solid #69818e;border-radius:4px;min-height:44px;padding:7px 12px;font:inherit;font-weight:700}.sp-actions button:hover{background:#324e5d}.sp-actions button:focus-visible{outline:3px solid #9fe4d3;outline-offset:3px}.sp-audio-status{font-size:14px;color:#c0d1db}
.sale-prep-card[data-phase="ERROR_BUDGET"],.sale-prep-card[data-phase="OCT_12_ABSOLUTE_BOUND"]{border-color:#ff987f}.sale-prep-card[data-phase="ERROR_BUDGET"] .sp-phase,.sale-prep-card[data-phase="OCT_12_ABSOLUTE_BOUND"] .sp-phase{color:#ffb39f}
.sale-prep-card[data-phase="SALE_READY"]{border-color:#74dcc0}
.sale-prep-attention-popup{position:fixed;right:24px;bottom:24px;z-index:35;background:#152d3f;color:#fff4c3;border:2px solid #e9bd58;border-radius:12px;padding:18px 24px;max-width:min(420px,90vw);box-shadow:0 10px 30px #0006;opacity:0;pointer-events:none;transition:opacity var(--attention-fade-duration,30s) ease}
.sale-prep-attention-popup.present{opacity:1;transition-duration:1s}.sale-prep-attention-popup span,.sale-prep-attention-popup b{display:block;margin-top:6px}.sale-prep-attention-popup b{font-size:30px}
@media(prefers-reduced-motion:reduce){.sale-prep-attention-popup{transition:none}}
@media(max-width:760px){.sp-timeline svg{display:none}.sp-mobile-timeline{display:grid;grid-template-columns:1fr 1fr;font-size:14px;gap:3px 8px;padding:6px 0}.sp-mobile-timeline span{padding:3px 5px}.sp-mobile-timeline .target{color:#102332;background:#e9bd58;font-weight:900;border-left:4px solid #fff0bb}.sp-mobile-timeline .error{background:repeating-linear-gradient(135deg,#49313a 0 8px,#76564d 8px 11px);border:1px dashed #dda28e}.sp-actions button{font-size:14px;padding:5px 9px}.sp-actions{gap:5px}.sp-audio-status{width:100%}.sale-prep-card h2{font-size:27px}.sp-top{gap:6px}.sp-phase{margin-top:5px!important}.sp-stat time{font-size:14px}}
#sale-prep-details{padding:20px;background:var(--panel);color:var(--ink)}#sale-prep-details:empty{display:none}.sp-details-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}
.sp-check{display:flex;align-items:flex-start;gap:12px;padding:12px 0;border-bottom:1px solid #8885;font-size:17px}.sp-check input{width:24px;min-width:24px;height:24px;margin:3px 0}.sp-check small{display:block;margin-top:5px;line-height:1.5}.sp-feed-item{border-left:4px solid #c5a35d;padding:10px 14px;margin:12px 0}.sp-feed-item p{white-space:pre-wrap}.sp-critical{max-height:150px;overflow:auto;border-top:2px solid #e9bd58;margin-top:10px}.sp-critical ul{margin:8px 0;padding-left:22px}.sp-critical summary{font-weight:800}
@media(min-width:1600px){.sale-prep-card{padding:18px 32px}.sp-timeline svg{max-height:140px}.sp-eyebrow,.sp-actions button,.sp-progress label{font-size:21px}.sp-priority small,.sp-audio-status{font-size:18px}.sp-timeline{margin-top:8px}}
/* Subtle household-only surface refresh; light theme retains its own palette. */
/* Allow phone document scrolling when the readable staffing summary exceeds one screen. */
@media(max-width:760px){body.sale-prep-active{height:auto;overflow:auto}body.sale-prep-active .shell{height:auto;min-height:100dvh}body.sale-prep-active .operations-dashboard{overflow:visible}body.sale-prep-active .ops-scroll{overflow:visible}}
body.sale-prep-active:not([data-theme="light"]) .operations-dashboard{background:linear-gradient(90deg,#c45f3505 1px,transparent 1px),linear-gradient(#c45f3505 1px,transparent 1px),#1d1a1a;background-size:38px 38px;border-color:#4b4240;border-radius:18px}
body.sale-prep-active:not([data-theme="light"]) .ops-nav{background:#1b1818;border-bottom-width:2px}
body.sale-prep-active:not([data-theme="light"]) .ops-nav button{border-color:#ffffff16;background:#ffffff03;color:#c8c5c2}
body.sale-prep-active:not([data-theme="light"]) .ops-nav button.active{background:#292423;color:#fff3d8;box-shadow:inset 0 -2px #d8b65f}
body.sale-prep-active:not([data-theme="light"]) #hh-live-brief .ops-card{background:#252120;border-top-color:#514742;border-right-color:#514742;border-bottom-color:#514742;box-shadow:0 2px 8px #0002}
body.sale-prep-active:not([data-theme="light"]) #hh-live-brief .ops-hero{background:linear-gradient(110deg,#282220,#211d1c);border-color:#514742}
@media(max-width:760px){.sale-prep-card{padding:12px}.sp-top{grid-template-columns:1fr;gap:10px}.sale-prep-card h2{font-size:29px}.sp-objective{font-size:19px}.sp-eyebrow{font-size:13px}.sp-number{font-size:42px}.sp-stat small{font-size:13px}.sp-stat time{font-size:15px}.sp-bottom{grid-template-columns:1fr;gap:8px}.sp-priority{font-size:19px}.sp-progress{display:grid;grid-template-columns:auto minmax(90px,1fr);gap:2px 10px;align-items:center}.sp-progress progress{width:100%;height:15px}.sp-progress label{font-size:14px}.sp-progress small{grid-column:1/-1}.sp-staffing-summary.consolidated{grid-template-columns:1fr}.sp-staffing-summary.consolidated strong{grid-row:auto}.sp-timeline{margin:6px 0}.sp-actions{margin-top:6px}.sp-audio-status{font-size:12px}.sp-details-grid{grid-template-columns:1fr}.sp-critical{max-height:110px}}
/* October presentation follows the Chicago calendar without changing evidence. */
.sale-prep-card.sp-halloween{background:linear-gradient(120deg,#2f203e,#182432);border-color:#ef9e4b}
.sale-prep-card.sp-halloween h2{color:#ffd094;text-shadow:0 2px 15px #ec8b3133}
.sale-prep-card.sp-halloween .sp-phase{color:#e0b7fa}
.sp-halloween-end{background:linear-gradient(90deg,#723d1e,#513064);color:#fff0db;border:1px solid #ef9e4b;border-radius:5px;font-weight:800}
.sp-progress small{display:block;font-size:12px;line-height:1.4;margin-top:6px}
.sp-timeline-context{margin:12px 0 4px;padding:8px 12px;border-left:3px solid #e9bd58;background:#ffffff08;color:#eef4f8;font-size:15px;line-height:1.45;overflow-wrap:anywhere}
#sale-prep-details{min-width:0;max-width:100%;overflow-wrap:anywhere}
#sale-prep-details section,.sp-details-grid>*,.sp-check span{min-width:0}
#sp-total-progress{display:grid;gap:10px;min-width:0;margin-bottom:18px}
#sp-total-progress label{display:grid;gap:5px;min-width:0}
#sp-total-progress input{box-sizing:border-box;width:100%;min-width:0;min-height:44px}
#sp-total-progress button{min-height:44px;white-space:normal}
#sp-total-progress{padding:16px;border:1px solid #879dad55;border-radius:10px;background:#879dad08}
.sp-progress-heading{display:flex;align-items:baseline;justify-content:space-between;gap:12px;flex-wrap:wrap}
.sp-progress-heading h3,.sp-progress-policy{margin:0}
.sp-progress-heading h3{font-family:inherit;font-size:17px;font-weight:650}
#sp-total-progress .sp-total-status:empty{display:none}
.sp-progress-heading span{font-variant-numeric:tabular-nums;font-weight:600}
.sp-progress-policy,#sp-total-progress small{font-size:13px;line-height:1.5;opacity:.8}
.sp-progress-fields{display:grid;grid-template-columns:minmax(100px,1fr) minmax(0,3fr);gap:14px}
#sp-progress-preview{margin:0;padding:10px 12px;border-left:2px solid #c5a35d;font-size:14px;line-height:1.5}
.sp-progress-buttons{display:flex;gap:8px;flex-wrap:wrap}
@media(max-width:600px){.sp-progress-fields{grid-template-columns:1fr}.sp-progress-buttons button{flex:1 1 140px}}
