.workday-card{border:1px solid #b7e1ee;background:linear-gradient(135deg,#f3fcff,#fff);margin-bottom:20px}.day-heading{display:flex;align-items:center;justify-content:space-between;gap:16px}.day-heading h2{margin:6px 0}.day-dot{width:14px;height:14px;border-radius:50%;background:#a5b5bc;flex-shrink:0}.day-dot.active{background:#14825d;box-shadow:0 0 0 6px #e0f5ec}.day-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:18px 0}.day-metrics>div{background:#fff;border:1px solid #dce9ee;border-radius:14px;padding:14px;min-width:0}.day-metrics span{display:block;font-size:12px;color:#596e79}.day-metrics strong{display:block;font-size:19px;margin-top:7px;overflow-wrap:anywhere}.day-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:14px}.day-actions .btn{justify-content:center;min-height:48px;flex:1 1 140px}.day-stock-fields label{display:flex;justify-content:space-between;align-items:center;gap:12px;border-bottom:1px solid #e1e8ec;padding:12px 0}.day-stock-fields small{display:block;color:#596e79;margin-top:5px}.day-stock-fields input{width:90px;min-height:48px;flex-shrink:0;text-align:center}.day-report-filters{display:grid;grid-template-columns:minmax(140px,1fr) minmax(160px,1fr);gap:14px}.day-report-filters .day-actions{grid-column:1/-1}.day-timeline p{display:flex;justify-content:space-between;gap:12px}.day-timeline strong{text-align:right}.day-delivery-location{padding:14px;background:#f3f8fa;border-radius:14px;margin:12px 0}@media(max-width:600px){.day-metrics{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.day-metrics>div{padding:12px}.day-metrics strong{font-size:18px}.day-report-filters{grid-template-columns:minmax(0,1fr)}.day-report-filters select{max-width:100%}.day-timeline p{display:block}.day-timeline strong{display:block;text-align:left;margin-top:4px}}
.workday-card,.day-report-picker,.day-return-queue{padding:20px}.day-report-picker{margin-bottom:20px}.day-report-picker h2,.day-return-queue h2{margin-top:0}.day-report-filters .day-actions{margin-top:2px}@media(max-width:600px){.workday-card,.day-report-picker,.day-return-queue{padding:16px}}
/* Daily work is a status strip; detailed accounting remains one disclosure away. */
.workday-compact .day-heading{align-items:center;gap:12px}.workday-compact .day-heading>div{min-width:0}.workday-compact .day-heading h2{font-size:18px;line-height:1.3;margin:7px 0 3px}.workday-compact .day-heading>.btn{flex:0 0 auto;min-height:44px;padding:10px 13px;font-size:12px}.workday-compact .day-heading .help{margin:0}.day-state{display:inline-flex;align-items:center;gap:6px;font-size:10px;font-weight:750;letter-spacing:.06em;text-transform:uppercase;color:#627482}.day-state::before{content:'';width:6px;height:6px;background:#8c9eaa;border-radius:50%}.day-state.active{color:#176b53}.day-state.active::before{background:#198568}.day-state.complete::before{background:#176f9d}.day-compact-totals{display:flex;gap:14px;flex-wrap:wrap;border-top:1px solid #e1eaf0;margin-top:16px;padding-top:12px;font-size:12px;color:#627482}.day-compact-totals strong{font-size:15px;color:#152f40;margin-right:3px}.day-detail-link{margin-top:12px;border-top:1px solid #e1eaf0;padding-top:10px}.day-detail-link>summary{cursor:pointer;font-size:12px;font-weight:650;color:#476678;min-height:32px;display:flex;align-items:center;justify-content:space-between;gap:8px}.day-detail-link>summary::after{content:'+';font-size:19px;font-weight:400}.day-detail-link[open]>summary::after{content:'−'}.day-return-status{padding:11px 13px;border-radius:10px;background:#fff7e7;border:1px solid #f1dfb9;color:#79501f;margin:12px 0 0;font-size:12px}.day-return-status strong,.day-return-status span{display:block}.day-return-status span{margin-top:4px;line-height:1.45}.day-return-status.rejected{background:#fff1ed;border-color:#efcec2;color:#8b422c}.day-return-status.approved{background:#edf8f1;border-color:#c9e6d4;color:#236344}.day-pending p{margin:6px 0 10px;font-size:12px;line-height:1.5}.day-section-heading{display:flex;justify-content:space-between;align-items:flex-start;gap:12px}.day-section-heading h2{margin-top:0}.day-report-format{color:#718391;font-size:11px;font-weight:600;white-space:nowrap}.day-stock-summary>div{display:flex;justify-content:space-between;gap:12px;padding:11px 0;border-bottom:1px solid #e1eaf0}.day-stock-summary small{display:block;color:#718391;margin-top:4px;font-size:11px}.day-stock-summary>div>span:last-child{text-align:right;font-size:12px}.day-delivery-register>.day-section-heading{margin:24px 0 12px;align-items:center}.day-delivery-register h2{font-size:16px;margin:0}.day-report-result .day-section-heading{margin-bottom:8px}.day-report-result .day-section-heading h2{font-size:18px;margin-top:6px}.day-report-picker .day-section-heading .help{margin-top:6px}@media(max-width:600px){.day-report-picker .day-section-heading,.day-report-result .day-section-heading{display:block}.day-report-format{display:inline-block;margin-bottom:8px}.day-report-picker .day-actions .btn{font-size:12px;min-height:48px}.workday-compact .day-heading>.btn{max-width:150px}.workday-compact .day-compact-totals{column-gap:10px;font-size:11px}.workday-compact .day-compact-totals strong{font-size:14px}}
.day-replacements{border:1px solid #c8dfe9;border-radius:13px;background:#f8fcfe;margin:18px 0;padding:14px}.day-replacements>summary{display:flex;align-items:center;justify-content:space-between;gap:12px;cursor:pointer;min-height:48px;font-weight:700;list-style:none}.day-replacements>summary::-webkit-details-marker{display:none}.day-replacements>summary span{display:block}.day-replacements>summary small{display:block;font-size:11px;color:#627482;font-weight:400;margin-top:4px}.day-replacements>summary b{font-size:12px;color:#076fa4;white-space:nowrap}.day-replacements>summary::after{content:'+';font-size:19px;font-weight:400}.day-replacements[open]>summary::after{content:'−'}.replacement-line{padding:14px;margin:12px 0;background:#fff;border:1px solid #dce4eb;border-radius:11px}.replacement-line-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:10px}.replacement-line-heading .btn{font-size:11px!important;padding:7px 10px!important;min-height:38px!important}.replacement-product-grid{display:grid;grid-template-columns:minmax(0,1fr) 100px;gap:12px}.replacement-register{padding:18px;margin:18px 0}.replacement-register h2{margin:0;font-size:18px}.replacement-register>.day-section-heading>strong{font-size:13px;color:#346e8c}.replacement-register article{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;padding:14px 0;border-top:1px solid #dce4eb}.replacement-register article p{font-size:13px;margin:5px 0}.replacement-register small{font-size:12px;color:#687f90}.replacement-free-badge{font-size:11px;background:#eaf4fa;color:#20678e;border-radius:6px;padding:4px 7px}@media(max-width:600px){.day-replacements{padding:12px}.replacement-product-grid{grid-template-columns:minmax(0,1fr)}.replacement-register{padding:16px}.replacement-register>.day-section-heading{display:block}.replacement-register>.day-section-heading>strong{display:block;margin:8px 0 12px}}
/* Clear, thumb-sized replacement entry controls on small field devices. */
.day-detail-link>summary{min-height:44px}
.replacement-line-heading .btn{min-height:44px!important;font-size:12px!important}
.replacement-product-grid{grid-template-columns:minmax(0,1fr)}
.replacement-stepper{display:grid;grid-template-columns:48px minmax(70px,1fr) 48px;max-width:280px;align-items:stretch;border:1px solid #b8ccd8;border-radius:12px;overflow:hidden;background:#fff}
.replacement-stepper button{border:0;border-radius:0;min-width:48px;min-height:48px;background:#edf6fb;color:#075c85;font-size:24px;cursor:pointer;touch-action:manipulation}
.replacement-stepper button:disabled{opacity:.45;cursor:default}
.replacement-stepper input{width:100%;min-width:0;min-height:48px;border:0!important;border-radius:0!important;text-align:center;font-size:18px;font-weight:700;padding:8px!important;appearance:textfield;-moz-appearance:textfield}
.replacement-stepper input::-webkit-inner-spin-button,.replacement-stepper input::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}
.replacement-stepper:focus-within{outline:2px solid #0786ba;outline-offset:2px}
.replacement-quantity-field small{display:block;margin-top:8px;color:#526b7c;font-size:12px;line-height:1.5}
.replacement-error{color:#a53522;background:#fff1ed;border-radius:8px;padding:10px 12px;font-size:12px;line-height:1.5;margin:4px 0 12px}
.replacement-error[hidden]{display:none}
.day-replacements>.btn{min-height:48px}
@media(max-width:600px){.replacement-stepper{max-width:none}.replacement-line{padding:12px}.day-replacements>summary{gap:8px}.day-replacements>summary b{white-space:normal;text-align:right}}
/* Replacement count is a primary End Day task, never a hidden add-row flow. */
.day-primary-actions{display:flex;gap:8px;flex-wrap:wrap;justify-content:flex-end}
.day-primary-actions .btn{min-height:46px;padding:10px 12px;font-size:12px;justify-content:center}
.replacement-section-heading{display:flex;justify-content:space-between;align-items:center;gap:12px}
.replacement-section-heading h3{margin:5px 0 0;font-size:21px;color:#15384d}
.replacement-section-heading>strong{border-radius:20px;background:#e1f1f8;color:#09618d;padding:8px 12px;font-size:13px;white-space:nowrap}
.replacement-pack-heading{display:flex;align-items:center;gap:10px;margin-bottom:14px}
.replacement-pack-heading>div{min-width:0;flex:1}.replacement-pack-heading strong{display:block;font-size:14px}.replacement-pack-heading small{display:block;font-size:12px;color:#587182;margin-top:4px}
.replacement-pack-icon{width:36px;height:36px;border-radius:10px;background:#eaf4f9;color:#17678d;display:grid;place-items:center}.replacement-pack-icon svg{width:20px;height:20px}
.replacement-quantity-field>label{font-size:13px;line-height:1.5;color:#344f60;margin-bottom:10px}
.replacement-optional{margin-top:14px;border-top:1px solid #e2ebf0;padding-top:4px}.replacement-optional summary{min-height:44px;display:flex;align-items:center;cursor:pointer;font-size:12px;color:#537084}.replacement-optional summary::after{content:'+';margin-left:auto;font-size:18px}.replacement-optional[open] summary::after{content:'−'}
.replacement-line .replacement-stepper{max-width:none}
@media(max-width:600px){.workday-compact .day-heading{align-items:flex-start;flex-wrap:wrap}.day-primary-actions{width:100%;justify-content:stretch}.day-primary-actions .btn{flex:1}.replacement-free-badge{font-size:9px;padding:5px}.day-replacements{margin-top:8px}.replacement-section-heading .eyebrow{font-size:9px}}
/* Returning stock uses the same mobile count pattern as free replacements. */
.day-returns{border:1px solid #c8dfe9;border-radius:13px;background:#f8fcfe;margin:18px 0;padding:14px}
.day-returns>.replacement-section-heading{align-items:flex-start;flex-wrap:wrap;gap:10px}
.day-returns>.replacement-section-heading>div{min-width:0;flex:1 1 170px}
.day-returns .replacement-section-heading h3{font-size:20px;line-height:1.3;overflow-wrap:anywhere}
.day-returns .replacement-section-heading>strong{background:#e5f3ef;color:#206b56}
.return-line{padding:14px;margin:12px 0;background:#fff;border:1px solid #dce4eb;border-radius:11px}
.return-line:last-child{margin-bottom:0}
.return-line .replacement-pack-heading{flex-wrap:wrap;align-items:flex-start}
.return-line .replacement-pack-heading>div{flex:1 1 120px}
.return-line .replacement-pack-heading strong{line-height:1.5;overflow-wrap:anywhere}
.return-factory-badge{font-size:10px;line-height:1.4;background:#eaf5ef;color:#24684f;border-radius:6px;padding:4px 7px;white-space:nowrap}
.return-quantity-field>label{display:block;font-size:13px;line-height:1.5;color:#344f60;margin-bottom:10px}
.return-stepper{max-width:none;grid-template-columns:52px minmax(0,1fr) 52px}
.return-stepper button,.return-stepper input{min-height:52px}
.return-quantity-field small{display:block;margin-top:8px;color:#526b7c;font-size:12px;line-height:1.5}
.return-quantity-field [data-return-kept]{margin-top:3px;color:#24684f}
.return-stepper input[aria-invalid=true]{color:#a53522;background:#fff8f5}
.return-line .replacement-error{margin:10px 0 0}
@media(max-width:600px){.day-returns{padding:12px}.return-line{padding:12px}.day-returns .eyebrow{font-size:9px}.day-returns .replacement-section-heading>strong{font-size:12px;padding:7px 10px}.return-factory-badge{font-size:9px}}
