/* Readable, isolated handover workspace. */
#dialog:has(#handover-panel){width:min(1140px,calc(100vw - 30px))}
.handover-top{display:flex;justify-content:space-between;align-items:flex-start;gap:20px;border-bottom:1px solid var(--line);padding-bottom:19px;margin-bottom:22px}.handover-kicker{display:block;font-size:11px;text-transform:uppercase;letter-spacing:.08em;color:var(--blue);font-weight:650;margin-bottom:6px}.handover-top h3{font-size:24px;line-height:1.25;margin-bottom:6px}.handover-top p{color:var(--muted);font-size:13px}.handover-progress{font-size:12px;white-space:nowrap;background:#edf6ff;border:1px solid #d4e5f3;border-radius:20px;padding:7px 12px;color:var(--blue);font-weight:600}.handover-layout{display:grid;grid-template-columns:202px minmax(0,1fr);gap:26px;align-items:start}.handover-sidebar{position:sticky;top:16px;min-width:0}.handover-search-label{font-size:12px;font-weight:600;display:block;margin-bottom:6px}.handover-search{position:relative;margin-bottom:18px}.handover-search>.icon{position:absolute;left:10px;top:11px;width:16px;height:16px;color:var(--muted)}.handover-search input{width:100%;padding:10px 8px 10px 33px;border:1px solid var(--line);border-radius:7px;font-size:12px;background:#fff}.handover-search input::placeholder,.handover-reception textarea::placeholder{color:#93a2af;opacity:.85}#handover-nav{display:grid;gap:4px}#handover-nav button{display:flex;align-items:center;justify-content:space-between;gap:9px;border:0;background:transparent;text-align:left;padding:11px 12px;border-radius:7px;color:#49657b;font-size:13px;font-weight:550;cursor:pointer}#handover-nav button:hover{background:#f3f7fa}#handover-nav button.active{color:var(--blue);background:#eaf3fb;font-weight:700}.handover-check{color:#24865d;display:inline-flex}.handover-check .icon{width:16px;height:16px}.handover-sidebar-hint{font-size:11px;line-height:1.7;color:#74899a;margin:20px 10px 14px}.handover-delete{font-size:12px;color:#b54741!important;padding:8px 10px!important}#handover-content{min-width:0}.handover-section-heading{margin-bottom:19px}.handover-section-heading h3{font-size:20px;margin-bottom:5px}.handover-section-heading p{font-size:13px;color:var(--muted);line-height:1.6}.handover-origin{font-size:12px;color:#637a8c;line-height:1.6;margin-bottom:16px}.handover-confirm{border:1px solid #edce90;background:#fffbf0;border-left:4px solid #c98b13;border-radius:8px;padding:16px 18px;margin-bottom:18px}.handover-confirm h4{display:flex;align-items:center;gap:8px;color:#876018;font-size:15px}.handover-confirm .icon{width:18px;height:18px;flex-shrink:0}.handover-confirm ul{list-style:none;padding:0;margin:10px 0 0}.handover-confirm li{padding:10px 0;border-top:1px solid #eee0c5}.handover-confirm li:first-child{border-top:0;padding-top:0}.handover-confirm .text-button{display:flex;align-items:center;justify-content:space-between;gap:10px;width:100%;font-size:14px;font-weight:700;text-align:left;color:#78531b;white-space:normal}.handover-confirm p{font-size:13px;line-height:1.65;color:#796343;margin-top:4px}.handover-essentials{display:grid;grid-template-columns:1fr;gap:0;border:1px solid var(--line);border-radius:8px;margin-bottom:23px;background:#fbfdff}.handover-essential{padding:14px 17px;border-top:1px solid var(--line)}.handover-essential:first-child{border-top:0}.handover-essential>strong{font-size:14px;display:block;color:var(--blue)}.handover-essential.critical>strong{color:#b4443d}.handover-essential p{margin:4px 0;font-size:13px;line-height:1.6}.handover-essential .text-button{font-size:12px}.handover-block{margin:0 0 23px;line-height:1.75}.handover-block h4{font-size:15px;margin:0 0 9px;color:#244c6c}.handover-block p{white-space:pre-line;font-size:14px;overflow-wrap:anywhere;margin:7px 0}.handover-block.warning,.handover-block.critical,.handover-block.important,.handover-block.info{padding:15px 18px;border-radius:8px;border-left:4px solid #e8b34a;background:#fffbf1}.handover-block.critical{background:#fff5f3;border-color:#d56359}.handover-block.critical h4{color:#ad433b}.handover-block.important,.handover-block.info{background:#eff7fe;border-color:#639dc7}.handover-label{display:block;width:fit-content;font-size:10px;text-transform:uppercase;letter-spacing:.055em;font-weight:700;color:#986b1d;margin-bottom:5px}.critical .handover-label{color:#b2453c}.handover-block-note{padding-top:10px;border-top:1px solid #e9d6ad;font-size:13px!important;color:#886124}.handover-basis{display:inline-block;font-size:10px;padding:2px 6px;background:#f1f4f7;border-radius:4px;color:#6d7c88;margin-bottom:6px}.handover-list{padding-left:20px;margin:8px 0}.handover-list li{padding:3px 0;font-size:14px}.handover-chips{list-style:none;display:flex;flex-wrap:wrap;gap:7px;padding:0;margin:9px 0 0}.handover-chips li{border:1px solid #ecc9c4;background:#fff;border-radius:5px;padding:5px 8px;font-size:12px;font-weight:700;color:#ab493d}.handover-steps{counter-reset:handover-step;list-style:none;padding:0;margin:12px 0}.handover-steps li{position:relative;padding:0 0 17px 38px;counter-increment:handover-step}.handover-steps li:last-child{padding-bottom:0}.handover-steps li:before{content:counter(handover-step);position:absolute;left:0;top:1px;width:25px;height:25px;display:flex;align-items:center;justify-content:center;border-radius:50%;background:#eaf3fb;color:var(--blue);font-size:12px;font-weight:700}.handover-steps li>strong{font-size:14px}.handover-steps li p{font-size:13px;color:#576f82;margin:3px 0 0}.handover-table th{font-size:12px;background:#edf4fa;color:#46647c}.handover-table td{font-size:13px;line-height:1.7;vertical-align:top;min-width:150px}.handover-table td:nth-child(2){color:var(--blue);min-width:170px}.handover-table td:nth-child(2) strong{font-size:14px}.handover-table tbody tr:nth-child(even){background:#f8fbfd}.handover-products{padding:0;list-style:none;margin:12px 0}.handover-products li{display:grid;grid-template-columns:22px minmax(0,1fr) auto;align-items:center;gap:8px;padding:9px 0;border-bottom:1px solid #edf1f5;font-size:13px}.handover-products li>span{font-size:11px;color:var(--muted)}.handover-products li>div{display:flex;gap:8px;flex-wrap:wrap;justify-content:flex-end}.handover-products .text-button{font-size:11px;font-weight:500;text-align:right}.handover-links{margin-top:10px}.handover-path{font-size:14px!important;color:#1965a2;font-weight:650;background:#f0f6fb;border:1px solid #d7e5f0;padding:12px;border-radius:6px}.handover-expand{border:1px solid var(--line);padding:13px 16px;border-radius:8px}.handover-expand summary{cursor:pointer;font-size:14px;font-weight:650;color:#375c79}.handover-expand .handover-basis{margin:0 0 0 8px;font-weight:400}.handover-source{padding:11px 0;border-top:1px solid var(--line);font-size:12px;color:var(--muted)}.handover-source summary{cursor:pointer;font-weight:550}.handover-source p{padding-top:8px;overflow-wrap:anywhere}.handover-source pre{font-family:inherit;font-size:12px;line-height:1.7;white-space:pre-wrap;overflow-wrap:anywhere;margin-top:12px;padding:12px;background:#f6f8fa;color:#526c7e;max-height:360px;overflow:auto;border-radius:6px}.handover-reception{margin:25px 0 18px;padding:17px;border:1px solid #cddfeb;border-radius:8px;background:#f6faff}.handover-reception h4{font-size:14px;margin-bottom:12px;color:#315979}.handover-reception>label{display:block;font-size:12px;margin-bottom:7px;font-weight:600}.handover-reception .handover-received{display:flex;align-items:center;gap:8px;font-size:13px;margin-bottom:16px}.handover-received input{width:17px;height:17px;margin:0;accent-color:var(--blue);flex-shrink:0}.handover-reception textarea{display:block;width:100%;resize:vertical;min-height:85px;font-size:13px;border:1px solid #c8dbe9;padding:10px;border-radius:6px;background:#fff}.handover-reception .hint{font-size:11px;line-height:1.7;margin:8px 0}.handover-reception .actions{align-items:center;flex-wrap:wrap;margin-top:12px}.handover-reception .form-error{font-size:12px;color:#ae423d;margin-top:9px}.handover-admin-note{white-space:pre-wrap;font-size:13px;line-height:1.7;overflow-wrap:anywhere}#handover-save-status{font-size:11px;color:#50768f;margin-left:3px}.handover-search-results{display:grid;gap:9px}.handover-search-results button{display:block;text-align:left;border:1px solid var(--line);padding:15px;background:#fff;border-radius:8px;cursor:pointer}.handover-search-results button:hover{background:#f5faff;border-color:#9dbed6}.handover-search-results strong{display:block;font-size:14px;color:var(--blue);margin-bottom:5px}.handover-search-results span{display:block;font-size:13px;line-height:1.6;color:var(--muted)}
@media(max-width:800px){.handover-layout{grid-template-columns:1fr;gap:18px}.handover-sidebar{position:static}.handover-sidebar-hint{display:none}#handover-nav{display:flex;overflow:auto;gap:5px;padding-bottom:4px}#handover-nav button{white-space:nowrap;flex-shrink:0;padding:8px 10px;border:1px solid var(--line);font-size:12px}.handover-delete{margin-top:10px}.handover-search{margin-bottom:12px}.handover-top{flex-wrap:wrap;gap:12px;margin-bottom:17px;padding-bottom:15px}.handover-top h3{font-size:21px}.handover-progress{font-size:11px}.handover-table table{min-width:650px}.handover-products li{grid-template-columns:20px minmax(0,1fr)}.handover-products li>div{grid-column:2;justify-content:flex-start}.handover-products .text-button{text-align:left}.handover-block.warning,.handover-block.critical,.handover-confirm{padding:13px}.handover-expand .handover-basis{display:block;margin:5px 0 0;width:fit-content}}
/* Shared free-form notes have their own tab, outside the reception checklist. */
.handover-free-notes{padding:18px;border:1px solid #d5e3ee;border-radius:9px;background:#f8fbfe}.handover-free-notes>label{display:block;font-size:13px;font-weight:600;color:#375c79;margin-bottom:9px}.handover-free-notes textarea{display:block;width:100%;min-height:310px;max-height:70vh;resize:vertical;box-sizing:border-box;border:1px solid #c8dbe9;border-radius:7px;padding:14px;font:inherit;font-size:14px;line-height:1.8;color:#294e6a;background:#fff;scrollbar-width:thin}.handover-free-notes textarea:focus{outline:2px solid #e2f0fb;border-color:#7ca9cb}.handover-free-notes textarea::placeholder{color:#94a6b5}.handover-notes-meta{display:flex;justify-content:space-between;flex-wrap:wrap;gap:7px;margin:9px 0 14px;font-size:11px;color:#7a91a3}.handover-free-notes .actions{display:flex;align-items:center;flex-wrap:wrap;gap:8px}.handover-free-notes .form-error{color:#ae423d;font-size:12px;line-height:1.6;margin:8px 0}.handover-notes-view{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.85;font-size:14px;min-height:210px}.handover-notes-view.is-empty{color:#8398aa}.handover-notes-updated{font-size:11px;color:#7890a3;margin:14px 0 0}
@media(max-width:600px){.handover-free-notes{padding:12px}.handover-free-notes textarea{min-height:260px;padding:11px}.handover-notes-view{min-height:150px}}
