.handover-main { padding-bottom: clamp(40px,6vw,90px); }
.handover-main [hidden] { display:none !important; }
.handover-heading { display:flex; align-items:center; justify-content:space-between; gap:24px; margin:2rem 0; }
.handover-heading h1 { font-size:clamp(2.25rem,5vw,4.5rem); line-height:1.04; letter-spacing:-.065em; font-weight:690; }
.handover-heading p { max-width:65ch; margin:.8rem 0 0; color:var(--muted); font-size:1.08rem; line-height:1.55; }
.handover-heading .button { flex-shrink:0; }
.handover-layout { display:grid; grid-template-columns:minmax(0,1fr) minmax(255px,.38fr); gap:clamp(1rem,3vw,3rem); align-items:start; }
.handover-fields,.handover-item,.handover-summary { min-width:0; }
.handover-main h2 { font-size:clamp(1.26rem,2.2vw,1.65rem); line-height:1.2; letter-spacing:-.04em; }
.handover-section,.handover-item { padding:clamp(15px,2.5vw,28px); border:1px solid #d8dce5; border-radius:.8rem; background:#fff; }
.handover-section h2 { margin:0 0 1rem; }
.handover-items-section { margin-top:1.75rem; }
.handover-items-section>h2 { margin:0 0 .9rem; }
.handover-item { margin:0 0 .8rem; }
.handover-item legend { font-size:.9rem; font-weight:690; color:var(--blue); padding:0 .35rem; }
.handover-top-fields,.handover-photo-grid { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,.8fr); gap:15px; }
.handover-main label { display:block; font-size:.92rem; line-height:1.45; font-weight:600; }
.handover-item>label { margin-top:.95rem; }
.handover-main label span,.handover-main summary span { color:var(--muted); font-weight:400; }
.handover-main label input,.handover-main label select,.handover-main label textarea { display:block; width:100%; color:var(--ink); background:#fff; min-height:44px; border:1px solid #a6afc1; border-radius:.42rem; padding:9px 10px; margin-top:5px; line-height:1.35; font-family:inherit; font-size:1rem; font-weight:400; }
.handover-main label textarea { resize:vertical; min-height:68px; }
.handover-main select:focus-visible,.handover-main textarea:focus-visible,.handover-main summary:focus-visible { outline:3px solid #5577ff; outline-offset:2px; }
.handover-main summary { color:#244491; font-size:.925rem; font-weight:620; cursor:pointer; padding:.65rem 0; min-height:44px; }
.handover-people,.handover-photos { margin-top:.5rem; }
.handover-summary { position:sticky; top:1rem; padding:clamp(18px,2.4vw,28px); background:#f2f5ff; border:1px solid #d8def3; border-radius:.8rem; }
.handover-summary h2 { margin-bottom:.6rem; }
#handover-summary-title { font-size:1.08rem; overflow-wrap:anywhere; }
.handover-summary dl { margin:1rem 0; }
.handover-summary dl div { display:flex; align-items:baseline; justify-content:space-between; border-top:1px solid #d3daeb; padding:.55rem 0; }
.handover-summary dd { margin:0; font-variant-numeric:tabular-nums; font-weight:650; }
.handover-summary button,.handover-summary>a { width:100%; justify-content:center; }
.handover-link,.handover-related a { display:inline-flex; align-items:center; min-height:44px; color:var(--blue); text-decoration:underline; text-underline-offset:.18rem; font-size:.92rem; font-weight:600; }
.handover-reset { color:#545d6e; font-size:.9rem; text-decoration:underline; text-underline-offset:.16rem; min-height:44px; padding:4px 0; }
.handover-help,.handover-photo-hint,.handover-image-message { color:var(--muted); font-size:.85rem; line-height:1.48; }
.handover-help { margin:.75rem 0 0; }
.handover-photo-hint { margin:0 0 .6rem; }
.handover-confirm,.handover-note { background:#f6f1e6; color:#463b26; padding:1rem; margin:0 0 1rem; border-radius:.5rem; line-height:1.5; }
.handover-actions { display:flex; gap:8px; flex-wrap:wrap; margin-top:.75rem; }
.handover-photo-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
.handover-photo { padding:.8rem; background:#f6f7fa; border-radius:.5rem; min-width:0; }
.handover-photo img { display:block; width:100%; max-height:180px; object-fit:contain; margin-top:8px; }
.handover-photo label input { font-size:.84rem; padding:8px; }
.handover-photo input::file-selector-button { margin-right:6px; padding:5px 8px; background:#fff; border:1px solid #9aa4b6; border-radius:.25rem; }
.handover-image-message:not(:empty) { margin-top:.35rem; }
.handover-status:not(:empty) { margin:1rem 0 0; font-weight:550; color:#243986; }
.handover-related { border-top:1px solid var(--line); margin-top:2rem; padding-top:.8rem; font-size:.93rem; color:var(--muted); }
.handover-main button:disabled { opacity:.55; cursor:default; }
@media(max-width:780px) {
 .handover-layout { grid-template-columns:minmax(0,1fr); }
 .handover-summary { position:static; }
 .handover-heading { align-items:flex-start; flex-direction:column; gap:.85rem; }
}
@media(max-width:510px) {
 .handover-top-fields,.handover-photo-grid { grid-template-columns:minmax(0,1fr); gap:.75rem; }
 .handover-heading { margin:1.25rem 0; }
}
@media print {
 @page { margin:14mm; }
 .handover-page { color:#111; background:white; }
 .handover-page>*:not(main),.handover-main>*:not(#handover-printout) { display:none !important; }
 .handover-main,#handover-printout { display:block !important; width:100%; margin:0; padding:0; }
 #handover-printout h1 { font-size:21pt; margin:0 0 4mm; }
 #handover-printout h2 { font-size:15pt; margin:0 0 3mm; }
 #handover-printout p { font-size:10pt; line-height:1.45; margin:1.7mm 0; white-space:pre-wrap; overflow-wrap:anywhere; }
 #handover-printout article { margin:6mm 0; padding-top:3mm; border-top:1pt solid #777; break-inside:avoid; }
 #handover-printout .handover-print-photos { display:flex; gap:4mm; }
 #handover-printout figure { flex:1; min-width:0; margin:2mm 0; }
 #handover-printout img { width:100%; max-height:65mm; object-fit:contain; }
 #handover-printout figcaption { font-size:9pt; }
}
