.shift-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:10px;margin:16px 0}.shift-metric{background:#f2f6e9;border:1px solid #dfe8d0;border-radius:10px;padding:12px;display:flex;flex-direction:column;gap:6px}.shift-metric strong{font-size:18px}.shift-form{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:14px}.shift-form label{display:flex;flex-direction:column;gap:6px}.shift-form label.checkline{flex-direction:row;align-items:center}.shift-form textarea{min-height:72px}.shift-dialog{width:min(700px,95vw);max-height:90vh;overflow:auto;border:1px solid #dfe5db;border-radius:14px;padding:28px}.shift-dialog::backdrop{background:#16231ba3}.shift-actions{grid-column:1/-1;text-align:center}.shift-dialog .close{float:right}.card details{margin:12px 0}.card summary{cursor:pointer}
.shift-cash-preview{grid-column:1/-1;background:#f2f6e9;border-radius:8px;padding:12px;font-weight:600}
[data-shift-handover]>.card{margin:18px 0;padding:24px;border:1px solid #e1e7dc;border-radius:14px;background:#fff}
[data-shift-handover] .shift-summary-head{margin:20px 0 8px;border-radius:12px;background:#eef5dd;padding:16px 20px}
[data-shift-handover] .shift-summary-head>div{display:flex;align-items:baseline;flex-wrap:wrap;gap:8px 20px}
[data-shift-handover] .shift-summary-head span{font-weight:700;color:#40502b}
[data-shift-handover] .shift-summary-head strong{font-size:26px;color:#243321}
[data-shift-handover] .shift-summary-head small{color:#66745f}
[data-shift-handover] .shift-section-title{margin:20px 0 4px;font-size:16px}
[data-shift-handover] .shift-metric{background:#f8faf5;border-color:#e6ebe1;min-height:75px}
[data-shift-handover] .shift-actions{margin-top:22px;display:flex;justify-content:center;gap:10px}
[data-shift-handover] .shift-actions button{min-width:130px}
[data-shift-handover] [data-shift-start]{max-width:600px;margin:20px auto 0;grid-template-columns:repeat(2,minmax(0,1fr))}
[data-shift-handover] [data-shift-search]{grid-template-columns:repeat(3,minmax(150px,1fr)) auto;align-items:end}
[data-shift-handover] .shift-search-action{display:flex;align-items:end}
[data-shift-handover] .shift-search-action button{width:auto;min-width:96px;min-height:42px}
.shift-dialog .shift-close-form{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 18px}
.shift-dialog .shift-wide,.shift-dialog .shift-actions{grid-column:1/-1}
.shift-dialog .shift-actions{display:flex;justify-content:center;margin-top:8px}
.shift-dialog .shift-actions button{min-width:160px;min-height:44px}
.shift-dialog .shift-cash-preview{color:#344b27;line-height:1.7}
.shift-dialog .shift-close-form small{color:#6e7b6e;line-height:1.4}
.shift-dialog .shift-close-form [aria-invalid="true"]{border-color:#b83b32;outline:2px solid #f7d6d2}
.shift-dialog .shift-error{grid-column:1/-1;background:#fff1ee;border:1px solid #e9bcb5;border-radius:8px;color:#9a2e25;padding:12px 14px;line-height:1.6}
.shift-dialog .shift-error[hidden]{display:none}
@media(max-width:800px){[data-shift-handover] [data-shift-search]{grid-template-columns:repeat(2,minmax(0,1fr))}[data-shift-handover] .shift-search-action{justify-content:center;grid-column:1/-1}.shift-dialog .shift-close-form{grid-template-columns:1fr}}
@media(max-width:480px){[data-shift-handover] [data-shift-start]{grid-template-columns:1fr}}

[data-shift-handover] .shift-current{display:flex;flex-wrap:wrap;gap:18px 40px;align-items:center;background:#f1f7e5;border:1px solid #d5e7bd;border-radius:12px;padding:18px 22px;margin:14px 0 20px}
[data-shift-handover] .shift-current>div{display:flex;flex-direction:column;gap:6px}
[data-shift-handover] .shift-current span{color:#5d6e55;font-size:14px}
[data-shift-handover] .shift-current strong{color:#254f2d;font-size:24px;line-height:1.2}
[data-shift-handover] .shift-current b{color:#303d31;font-size:16px}
.shift-success-dialog{width:min(460px,92vw);text-align:center;padding:30px 28px;color:#243321}
.shift-success-dialog h2{margin:12px 0}.shift-success-dialog p{line-height:1.65;margin:12px 0;color:#596b59}
.shift-success-icon{margin:0 auto;width:46px;height:46px;border-radius:50%;background:#e5f4d3;color:#397335;display:grid;place-items:center;font-size:25px;font-weight:700}
.shift-success-name{display:block;color:#254f2d;font-size:28px;overflow-wrap:anywhere}.shift-success-dialog .shift-success-note{font-size:14px}.shift-success-dialog .shift-refresh-warning{color:#a64528}.shift-success-dialog .shift-refresh-warning[hidden]{display:none}
.shift-success-dialog .shift-actions{display:flex;justify-content:center;margin-top:20px}.shift-success-dialog .shift-actions button{min-width:150px;min-height:44px}

[data-shift-handover] .shift-current .shift-correct-button{margin-left:auto;min-height:42px;min-width:130px}
.shift-correction-dialog{width:min(520px,94vw)}.shift-correction-dialog .shift-form{grid-template-columns:1fr}.shift-correction-dialog .shift-form textarea{min-height:80px}.shift-correction-dialog .shift-actions{display:flex;justify-content:center;margin-top:14px}.shift-correction-dialog .shift-actions button{min-width:150px;min-height:44px}.shift-correction-dialog .shift-refresh-warning{color:#a64528}.shift-correction-dialog .shift-refresh-warning[hidden]{display:none}.shift-corrections{padding:10px 14px;background:#f7f9f3;border:1px solid #e0e9d8;border-radius:8px}.shift-corrections p{line-height:1.6;overflow-wrap:anywhere}
