/* Phase color always accompanies a label; status is never conveyed by color alone. */
:root{--floor-entry:#1d4ed8;--floor-wash:#087fa5;--floor-dry:#b95709;--floor-fold:#7c3aed;--floor-out:#15803d}
.phase-entry{--phase:var(--floor-entry);--phase-pale:#eff5ff}.phase-wash{--phase:var(--floor-wash);--phase-pale:#eaf9ff}.phase-dry{--phase:var(--floor-dry);--phase-pale:#fff4e8}.phase-fold{--phase:var(--floor-fold);--phase-pale:#f5efff}.phase-out{--phase:var(--floor-out);--phase-pale:#edf9f1}
body.floor-mode{background:#f2f4f8}body.floor-mode>aside,body.floor-mode header:not(.lot-work-title),body.floor-mode #mobileTopbar,body.floor-mode #mobileBottomNav,body.floor-mode #cloudState{display:none!important}body.floor-mode main{margin:0!important;padding:0!important;width:100%;max-width:none}body.floor-mode #app{padding:24px 32px 40px!important;max-width:1360px;margin:auto}body.floor-mode #app>header{display:none}body.floor-mode button,body.floor-mode a.btn{min-height:56px;font-size:16px;font-weight:700}body.floor-mode button:focus-visible,body.floor-mode input:focus-visible{outline:4px solid #1d4ed8;outline-offset:4px}body.floor-mode [hidden]{display:none!important}
.floor-top{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:24px}.floor-brand{border:0;background:none;color:#243c77;font-size:22px!important;letter-spacing:2px;text-align:left;cursor:pointer}.floor-brand span{display:block;letter-spacing:3px;font-size:10px;color:#657187;margin-top:5px}.floor-person{text-align:right;display:grid;gap:6px}.floor-person b{font-size:20px}.floor-person span{font-size:15px;color:#56647a}.floor-title{border-left:6px solid var(--phase);padding:14px 0 14px 20px;display:flex;align-items:center;gap:20px;margin-bottom:24px}.floor-title h1{margin:6px 0;font-size:clamp(28px,3.5vw,42px);line-height:1.13;color:#172c49}.floor-title>.problem{margin-left:auto}.floor-eyebrow{font-size:12px;letter-spacing:1.2px;font-weight:700;color:#627188}.floor-button{border:1px solid #cbd5e1;background:#fff;border-radius:12px;padding:15px 20px;min-height:56px;font-size:16px;font-weight:700;color:#233b57;cursor:pointer;white-space:normal}.floor-button:hover{background:#edf2f7}.floor-button.problem{color:#a52d25;background:#fff5f3;border-color:#e3aaa4}.floor-home-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:20px}.floor-home-card{text-align:left;padding:28px;background:var(--phase-pale);border:1px solid color-mix(in srgb,var(--phase),transparent 75%);border-top:7px solid var(--phase);border-radius:20px;color:#1e304a;position:relative;cursor:pointer;min-height:235px}.floor-home-card h2{font-size:26px;margin:18px 0}.floor-home-card>strong{display:inline-block;font-size:52px;line-height:1;margin-right:12px;color:var(--phase)}.floor-home-card>span:not(.floor-step){font-size:16px}.floor-step{background:var(--phase);color:white;display:grid;place-items:center;width:32px;height:32px;border-radius:50%;font-weight:800}.floor-card-link{position:absolute;right:28px;bottom:27px;color:var(--phase)}.floor-footer{display:flex;flex-wrap:wrap;gap:10px;margin-top:30px;padding-top:20px;border-top:1px solid #d9e1ea}.floor-lead{font-size:20px;margin:18px 0 24px;line-height:1.5}.floor-updated{color:#53627b;display:flex;justify-content:space-between;align-items:center;gap:15px}.floor-warning{background:#fff1d3;padding:20px;border-radius:12px;font-size:18px;margin-top:20px}.floor-lots{display:grid;grid-template-columns:repeat(2,1fr);gap:16px}.floor-lot-choice{display:grid;text-align:left;gap:12px;background:white;border:1px solid #d5dfed;border-left:6px solid var(--phase);border-radius:14px;padding:24px;cursor:pointer}.floor-lot-choice strong{font-size:24px}.floor-lot-choice span{color:#53627b}.floor-lot-choice b{color:var(--phase)}.floor-empty{padding:32px;border:1px dashed #b6c3d5;border-radius:16px;background:white;font-size:20px}.floor-explain{color:#53627b;font-size:14px;line-height:1.5}.floor-counter{background:#eaf1ff;border-radius:18px;border:1px solid #b8cdf9;padding:24px;display:grid;gap:12px;margin-bottom:20px}.floor-counter>span:first-child{font-size:13px;letter-spacing:1.3px;font-weight:800;color:#31538e}.floor-counter strong{font-size:64px;color:#1d4ed8;line-height:1.2}.floor-counter small{font-size:36px;font-weight:500}.floor-counter progress{width:100%;height:12px;accent-color:#1d4ed8}.floor-feedback{border-radius:18px;padding:28px;margin:16px 0 24px;border:2px solid #cbd5e1;background:white;color:#24364f}.floor-feedback>strong,.floor-feedback>h2{font-size:38px;letter-spacing:.3px;display:block;color:inherit!important;margin:0 0 12px}.floor-feedback p{font-size:20px;line-height:1.5;margin:8px 0 14px}.floor-feedback>b{font-size:18px}.floor-feedback.done{background:#e9f9ed;border-color:#16803d;color:#125f31}.floor-feedback.aside{background:#fff4c7;border-color:#c38d08;color:#684300}.floor-feedback.stop{background:#fff0ee;border-color:#b42318;color:#9e2118}.floor-feedback.ready{border-color:#bba6ed;background:#f5efff;color:#6031aa}.floor-bin{font-size:24px;font-weight:900;letter-spacing:.5px;padding:18px;background:#fff8e4;border:2px solid currentColor;border-radius:12px;margin-top:20px}.floor-feedback .floor-button{width:100%;margin-top:20px;color:white;background:#a52d25;border:0;font-size:24px;min-height:72px}.floor-feedback.aside .floor-button{background:#765000}.floor-lot-tools{display:flex;gap:12px;margin-top:20px}.floor-scan-row{padding:20px!important;border-radius:16px;background:white!important;display:flex;gap:12px}.floor-scan-row #scan{font-size:24px!important;min-height:70px!important;border:3px solid #7289b1!important;border-radius:12px;padding:14px;min-width:0!important}.floor-scan-row #scan:focus{border-color:#1d4ed8!important;box-shadow:0 0 0 5px #d8e6ff}.floor-exit-numbers{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}.floor-exit-numbers>div{padding:24px 15px;display:grid;gap:10px;background:white;border:1px solid #d3e4d9;border-top:6px solid #15803d;border-radius:16px;text-align:center}.floor-exit-numbers strong{font-size:54px;color:#14743a}.floor-exit-numbers span{font-size:13px;font-weight:800;letter-spacing:1px}.floor-missing{background:white;border-radius:16px;border:1px solid #dbe1eb;padding:20px;margin:16px 0}.floor-missing summary{font-size:20px;font-weight:800;cursor:pointer;padding:10px}.floor-missing>div{display:grid;grid-template-columns:1fr 1fr;gap:8px;padding:16px 10px;border-top:1px solid #e2e8f0}.floor-missing b{font-size:19px}.floor-missing small{grid-column:1/-1;font-size:14px;color:#66758b}.floor-machines{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin-bottom:32px}.floor-machine{border:1px solid #d9e2ef;border-top:6px solid var(--phase);border-radius:16px;padding:24px;background:white}.floor-machine h2{font-size:23px;margin:12px 0 24px}.floor-machine-phase{font-size:12px;font-weight:800;color:var(--phase);letter-spacing:1px}.floor-machine strong{font-size:28px;display:flex;gap:12px;align-items:center}.floor-machine strong i{display:inline-block;width:18px;height:18px;border-radius:50%;background:currentColor;flex:none}.floor-machine.free strong{color:#15803d}.floor-machine.running strong{color:#a76500}.floor-machine.fault strong{color:#b42318}.floor-machine.off strong{color:#64748b}.floor-machine p{color:#53627b;line-height:1.5}.floor-carts{border-left:6px solid var(--phase);padding:20px;background:var(--phase-pale);border-radius:16px;margin-bottom:20px}.floor-carts>h2{font-size:25px;color:var(--phase)}.floor-carts .wash-cart{display:inline-flex;vertical-align:top;flex-direction:column;margin:10px 10px 10px 0;max-width:440px;width:calc(50% - 15px);background:white;padding:24px}.floor-example-label{font-size:12px;letter-spacing:1px;color:#596a82;font-weight:800}.floor-example-nav{display:flex;gap:12px}.floor-proposal{background:#e9f8ee;padding:14px;border-radius:10px;font-size:17px;color:#176138}
/* Keep the existing scanner nodes and event handlers; hide office-only density. */
.floor-lot>.heading,.floor-lot>.cards,.floor-lot>.lot-overview,.floor-lot>.notice,.floor-lot>.production-return-bar,.floor-lot>.panel:not(.lot-workspace),.floor-lot .lot-products-section,.floor-lot .lot-bulk-options,.floor-lot .steps,.floor-lot .lot-work-title,.floor-lot .lot-help,.floor-lot #scanFeedback,.floor-lot .lot-camera-options,.floor-lot .hint{display:none!important}.floor-lot .lot-workspace{border:0;background:transparent;box-shadow:none}.floor-lot .lot-work-section{padding:10px 0;border:0}.floor-lot #entryProcessing{min-height:60px;font-size:18px}.floor-lot[data-floor-phase=fold] #washCarts,.floor-lot[data-floor-phase=fold] #dryCarts,.floor-lot[data-floor-phase=out] #washCarts,.floor-lot[data-floor-phase=out] #dryCarts{display:none!important}.floor-lot .lot-treatment>.link{display:none}.floor-lot .wash-cart .link{display:none}.floor-lot .wash-cart button[hidden]{display:none!important}
@media(max-width:760px){body.floor-mode #app{padding:16px 16px 32px!important}.floor-top{gap:12px;margin-bottom:20px}.floor-brand{font-size:17px!important}.floor-person b{font-size:16px}.floor-person span{font-size:12px;max-width:160px}.floor-title{flex-wrap:wrap;padding-left:14px;gap:12px}.floor-title>div{flex:1;min-width:170px}.floor-title>.problem{width:100%;margin:0}.floor-home-grid{gap:12px}.floor-home-card{padding:18px 14px;min-height:225px;border-radius:14px}.floor-home-card h2{font-size:20px;line-height:1.3;margin:15px 0}.floor-home-card>strong{font-size:42px;display:block;margin-bottom:8px}.floor-home-card>span:not(.floor-step){font-size:13px}.floor-card-link{display:none}.floor-lots{grid-template-columns:1fr}.floor-counter strong{font-size:54px}.floor-counter small{font-size:30px}.floor-machines{grid-template-columns:1fr}.floor-carts .wash-cart{width:100%;max-width:none;margin:8px 0}.floor-feedback{padding:22px}.floor-feedback>strong,.floor-feedback>h2{font-size:31px}.floor-feedback p{font-size:18px}.floor-exit-numbers{gap:8px}.floor-exit-numbers>div{padding:18px 6px}.floor-exit-numbers strong{font-size:35px}.floor-exit-numbers span{font-size:10px;letter-spacing:0}.floor-missing>div{grid-template-columns:1fr}.floor-footer .floor-button{flex:1 1 140px}.floor-scan-row{padding:14px!important;flex-wrap:wrap}.floor-scan-row #scan{width:100%;font-size:20px!important;flex:1 1 100%!important}.floor-scan-row button{flex:1}.floor-example-nav{flex-direction:column}.floor-lot-tools{flex-wrap:wrap}.floor-updated{align-items:start;flex-direction:column}}
/* Higher specificity than the office phase palette. */
.floor-mode .phase-entry{--phase:#1d4ed8}.floor-mode .phase-wash{--phase:#087fa5}.floor-mode .phase-dry{--phase:#b95709}.floor-mode .phase-fold{--phase:#7c3aed}.floor-mode .phase-out{--phase:#15803d}
.floor-lot #pageTools,.floor-lot[data-floor-phase=entry] #dryCarts,.floor-lot #washCarts>p.muted{display:none!important}.floor-lot .wash-cart{background:white!important;border-left-color:#087fa5!important;border-radius:14px!important;padding:22px!important}.floor-lot .wash-cart .btn:not(.secondary){background:#087fa5!important}.floor-lot[data-floor-phase=fold] .floor-scan-row #scan{border-color:#7c3aed!important}.floor-lot[data-floor-phase=out] .floor-scan-row #scan{border-color:#15803d!important}.floor-home-card.phase-wash:after{content:'';position:absolute;top:-7px;right:0;width:40%;height:7px;border-radius:0 20px 0 0;background:#b95709}.floor-lot input.searchable-select{min-height:56px;font-size:18px;padding:14px}.floor-feedback p{color:inherit!important}.floor-lot .floor-missing{margin-top:24px}.floor-carts.phase-wash .btn:not(.secondary){background:#087fa5}.floor-carts.phase-dry .btn:not(.secondary){background:#b95709}

.floor-work{display:grid;gap:20px}.floor-work-card{padding:24px;background:white;border:1px solid #d5dfed;border-radius:16px}.floor-work-card h2{font-size:24px}.floor-work-card .prod-actions{margin-top:18px;display:flex;flex-wrap:wrap;gap:12px}.floor-mode #manualUpload,.floor-mode #manualUploadForm{display:none!important}#dryStartStatus{padding:16px;background:#fff4dc;border-radius:12px;font-size:18px;font-weight:600}

.floor-work .readable-person,.floor-work .readable-schedule,.floor-work .readable-facts,.floor-work .readable-details{display:none}.floor-work .readable-task{padding:24px}.floor-work .readable-task h3{font-size:24px}.floor-repairs>.cards,.floor-repairs>.panel>.tools{display:none!important}

.floor-work .dry-task-carts p{font-size:20px;line-height:1.6;color:#874007}.floor-work .phase-dry .phase-label{background:#fff0dd}.floor-work .phase-dry .btn:not(.secondary){background:#b95709}

.floor-mode .phase-repair{--phase:#a15c13;--phase-pale:#fff5e8}.floor-products{margin:20px 0;padding:22px;background:white;border:1px solid #ccd8e7;border-radius:16px}.floor-products>summary,.floor-repair-history>summary{font-size:23px;font-weight:750;cursor:pointer;padding:12px 0}.floor-products>label{display:grid;gap:8px;font-size:18px;margin:16px 0}.floor-products input{font-size:20px;min-height:56px;padding:12px;width:100%;box-sizing:border-box}.floor-product-cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,290px),1fr));gap:16px}.floor-product-card{background:white;border:1px solid #d6dfeb;padding:22px;border-radius:14px;overflow-wrap:anywhere;min-width:0}.floor-product-card>strong{font-size:23px}.floor-product-card p{font-size:18px;line-height:1.5;margin:10px 0}.floor-product-card button{margin:14px 8px 0 0}.floor-flag{display:inline-block;margin:4px 6px 4px 0;padding:8px 12px;background:#fff0ce;color:#704400;border-radius:8px;font-size:15px;font-weight:700}.floor-flag-options{display:grid;gap:12px;margin:20px 0}.floor-flag-options label{display:flex;align-items:center;gap:14px;border:1px solid #d3deed;border-radius:12px;padding:16px;font-size:19px}.floor-flag-options input{width:26px;height:26px;flex:none}.floor-repair-actions{display:flex;flex-wrap:wrap;gap:8px}.floor-repair-history{margin-top:24px}#floorFlagStatus{font-size:18px;color:#176138}

.floor-tabs{display:flex;gap:12px;margin:0 0 22px}.floor-tabs .selected{background:#233c74;color:white;border-color:#233c74}.floor-tabs .floor-button{min-width:150px}@media(max-width:760px){.floor-tabs .floor-button{flex:1;min-width:0}.floor-products{padding:16px}.floor-product-card{padding:18px}}

#modal .floor-flag-options label{display:flex;flex-direction:row;align-items:center;text-align:left;gap:14px;min-height:60px}#modal .floor-flag-options input{margin:0;width:26px;height:26px}

/* Display the supplied original logo, framing only its central symbol. */
.floor-top .floor-brand{padding:0;flex:none;text-align:center}.floor-brand .floor-logo-crop{display:block;position:relative;overflow:hidden;width:72px;height:72px;border-radius:50%;margin:0;background:white}.floor-brand .floor-logo-crop img{position:absolute;width:335.065%;max-width:none;height:auto;left:-127.273%;top:-33.766%}.floor-brand>span:last-child{margin-top:7px}@media(max-width:760px){.floor-brand .floor-logo-crop{width:60px;height:60px}}

.floor-new-lot{margin:0 0 22px}.floor-mode .floor-button.primary{background:#1d4ed8;color:white;border-color:#1d4ed8}.floor-mode .floor-button:disabled{opacity:.5;cursor:not-allowed}.floor-new-lot p{margin-top:12px;color:#53627b}

.floor-lot .floor-route{padding:22px!important;background:#eaf1ff;border:1px solid #b8cdf9;border-radius:16px;margin-bottom:18px}.floor-route-title,.floor-scan-step{font-size:23px!important;color:#1d4ed8;margin:0 0 16px}.floor-route-help{font-size:18px;line-height:1.5;color:#435676}.floor-lot #scan:disabled{background:#e9edf3;color:#637189;cursor:not-allowed}.floor-lot .floor-route .tools{flex-wrap:wrap}.floor-lot .floor-route label{flex-basis:100%!important}

.floor-pagination{display:flex;align-items:center;flex-wrap:wrap;gap:12px;margin:18px 0}.floor-pagination label{display:grid;gap:8px;font-size:16px;font-weight:700}.floor-pagination select{min-width:100px;min-height:56px;font-size:18px;padding:10px;background:white;border:1px solid #b8c7dc;border-radius:10px}.floor-pagination>span{font-size:17px}@media(max-width:760px){.floor-pagination{display:grid;grid-template-columns:1fr 1fr}.floor-pagination>label{grid-column:1/-1}.floor-pagination>span{grid-column:1/-1;grid-row:2}.floor-pagination .floor-button{padding:12px;font-size:15px}}

.floor-lot-legend{display:flex;flex-wrap:wrap;gap:18px;margin:16px 0 24px;font-size:17px}.floor-mode .floor-lot-choice.floor-lot-open{--phase:#b42318;background:#fff1f0;border-color:#e8aaa5;border-left-color:#b42318}.floor-mode .floor-lot-choice.floor-lot-working{--phase:#896000;background:#fff8d6;border-color:#e4cb6e;border-left-color:#c38d08}.floor-mode .floor-lot-choice.floor-lot-finished{--phase:#15803d;background:#eaf8ee;border-color:#9dcead;border-left-color:#15803d}.floor-lot-choice .floor-lot-state{color:var(--phase);font-size:18px;font-weight:800}

.floor-lot-legend span{display:inline-flex;align-items:center;gap:7px}.floor-lot-legend span:before{content:'';width:13px;height:13px;border-radius:50%;flex:none;background:#b42318}.floor-lot-legend .legend-working:before{background:#d6a000}.floor-lot-legend .legend-finished:before{background:#15803d}

/* Compact lot product list; keep other repair cards unchanged. */
#floorProductCards.floor-product-list{display:block;min-width:0}
#floorProducts .floor-products-table{width:100%;border-collapse:collapse;table-layout:fixed}
#floorProducts .floor-list-caption{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip-path:inset(50%)}
#floorProducts .floor-products-table th{background:#f3f5fa;color:#52627d;text-align:left;font-size:13px;padding:12px 10px;white-space:normal}
#floorProducts .floor-products-table td{padding:12px 10px;border-bottom:1px solid #e2e7ef;font-size:16px;vertical-align:middle;white-space:normal;overflow-wrap:anywhere}
#floorProducts .floor-products-table th:nth-child(1){width:13%}
#floorProducts .floor-products-table th:nth-child(2){width:17%}
#floorProducts .floor-products-table th:nth-child(3){width:15%}
#floorProducts .floor-products-table th:nth-child(4){width:13%}
#floorProducts .floor-products-table th:nth-child(5){width:25%}
#floorProducts .floor-products-table th:nth-child(6){width:17%}
#floorProducts .floor-products-table small{display:block;color:#66748b;margin-top:4px;font-size:14px}
#floorProducts .floor-products-table .floor-button{padding:10px 12px;min-height:44px;font-size:14px;white-space:normal;max-width:100%;margin:0}
#floorProducts .floor-list-note{margin:5px 0 0;font-size:14px;color:#5b6680}
#floorProducts .floor-products-table .floor-flag{font-size:12px;padding:4px 7px;margin:4px 4px 0 0}
@media(max-width:760px){
 #floorProducts .floor-products-table,#floorProducts .floor-products-table tbody{display:block;width:100%}
 #floorProducts .floor-products-table thead{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
 #floorProducts .floor-products-table tr{display:grid;grid-template-columns:1fr 1fr;gap:9px 14px;border-bottom:1px solid #d8e0ec;padding:14px 0}
 #floorProducts .floor-products-table td{display:block;border:0;padding:0;font-size:15px;min-width:0}
 #floorProducts .floor-products-table td:before{content:attr(data-label);display:block;font-size:11px;font-weight:700;color:#73809a;margin-bottom:4px}
 #floorProducts .floor-products-table td:nth-child(5),#floorProducts .floor-products-table .floor-list-actions{grid-column:1/-1}
 #floorProducts .floor-products-table .floor-list-actions:before{display:none}
 #floorProducts .floor-products-table .floor-list-actions .floor-button{width:100%}
}
