.handoff-page{--ink:#203e35;--line:#c7d3c8;--paper:#fffdf7;--muted:#5d7066;background:#f6f4ed;color:var(--ink)}.handoff-wrap{max-width:1160px;margin:auto;padding:42px 28px 72px}.handoff-hero{max-width:850px;margin-bottom:32px}.handoff-hero h1{font-family:Georgia,"Songti SC",serif;font-weight:500;font-size:clamp(2rem,4.5vw,3.45rem);line-height:1.16;letter-spacing:-.035em;margin:16px 0}.handoff-hero .intro{font-size:1.13rem;line-height:1.85}.handoff-privacy{border-left:3px solid #947437;background:#ecebdc;padding:16px 20px;line-height:1.75;max-width:100%}.handoff-page a{color:inherit;text-underline-offset:4px}.handoff-page button,.handoff-page textarea,.handoff-page select{font:inherit}.handoff-page button{cursor:pointer;min-height:44px;border:1px solid #789385;border-radius:6px;padding:10px 16px;background:var(--paper);color:var(--ink)}.handoff-page button.primary{background:var(--ink);color:white}.handoff-page button:disabled{opacity:.55;cursor:not-allowed}.handoff-page :is(button,a,textarea,select):focus-visible{outline:3px solid #947437;outline-offset:3px}.handoff-cover,.handoff-editor{background:var(--paper);border:1px solid var(--line);padding:24px;border-radius:8px}.handoff-cover h2,.handoff-editor h2{font-family:Georgia,"Songti SC",serif;font-weight:500;font-size:1.6rem;margin:0 0 10px}.handoff-cover p,.handoff-editor>p{line-height:1.7;color:var(--muted);margin:0 0 20px}.handoff-cover-fields,.handoff-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.handoff-field{display:flex;flex-direction:column;gap:8px;min-width:0;font-size:.9rem}.handoff-field span{font-weight:600}.handoff-field textarea,.handoff-field select{border:1px solid #adbdb1;border-radius:4px;background:white;padding:10px;color:#203e35;width:100%;box-sizing:border-box;min-height:48px}.handoff-field textarea{resize:vertical;line-height:1.5}.handoff-layout{display:grid;grid-template-columns:230px minmax(0,1fr);gap:24px;margin-top:28px}.handoff-sidebar h2{font-size:.8rem;text-transform:uppercase;letter-spacing:.1em;margin:0 0 14px}.handoff-scenarios{display:grid;gap:10px}.handoff-page .handoff-scenario{display:grid;grid-template-columns:30px 1fr;gap:3px 8px;text-align:left;padding:16px 14px}.handoff-scenario .handoff-number{grid-row:span 2;font-family:Georgia,serif;color:#947437}.handoff-scenario strong{font-size:1rem}.handoff-scenario>span:last-child{font-size:.78rem;line-height:1.5}.handoff-scenario[aria-pressed=true]{background:#e2eadf;border-color:#254c40;border-left-width:4px}.handoff-sidebar-note{font-size:.85rem;line-height:1.75;color:var(--muted);margin-top:22px}.handoff-row{margin:18px 0;padding:18px;border:1px solid var(--line);min-width:0;border-radius:5px}.handoff-row legend{font-family:Georgia,"Songti SC",serif;padding:0 8px}.handoff-page .handoff-remove{border:0;padding:6px 0;text-decoration:underline;font-size:.8rem;background:none;min-height:36px;margin-top:10px}.handoff-toolbar{display:flex;flex-wrap:wrap;gap:10px;margin:24px 0 14px}.handoff-status{min-height:1.8em;font-size:.9rem;line-height:1.7;color:var(--ink)}.handoff-export-help{font-size:.85rem;line-height:1.8;color:var(--muted)}.handoff-confirm{padding:20px;background:#fbefda;border:2px solid #947437;border-radius:6px;margin:16px 0}.handoff-confirm h2{font-size:1.2rem;margin-top:0}.handoff-confirm p{line-height:1.6}.handoff-confirm-actions{display:flex;gap:12px;flex-wrap:wrap}.handoff-example-note{border:1px dashed #947437;padding:12px 16px;line-height:1.6}.handoff-static{margin-top:52px;border-top:1px solid var(--line);padding-top:25px}.handoff-static>h2{font-family:Georgia,"Songti SC",serif;font-weight:500;font-size:1.8rem}.handoff-static p{line-height:1.8;max-width:850px}.handoff-template{padding:22px 0;border-bottom:1px solid var(--line)}.handoff-template h3{font-size:1.2rem;margin:0 0 10px}.handoff-table-wrap{overflow-x:auto;margin:18px 0}.handoff-template table{border-collapse:collapse;min-width:680px;width:100%;font-size:.85rem}.handoff-template th,.handoff-template td{border:1px solid var(--line);padding:10px;text-align:left;vertical-align:top}.handoff-template th{background:#e9eee8}.handoff-template td{height:32px}.handoff-template a{display:inline-block;min-height:44px;line-height:44px}.handoff-related{line-height:1.9}.handoff-print-area{display:none}.handoff-page [hidden]{display:none!important}.handoff-counter{display:flex;align-items:baseline;gap:10px;padding:20px 0 0;border-top:1px solid var(--line);margin-top:24px}.handoff-counter strong{font-family:Georgia,serif;font-size:2rem}.handoff-counter span{font-size:.85rem}.handoff-hub-link{display:block;margin:22px 0;padding:22px;background:#eef3eb;border-left:3px solid #254c40;line-height:1.8}
@media(max-width:720px){.handoff-wrap{padding:28px 18px 48px}.handoff-layout{grid-template-columns:1fr;gap:20px}.handoff-cover,.handoff-editor{padding:18px}.handoff-scenarios{grid-template-columns:1fr}.handoff-cover-fields,.handoff-fields{grid-template-columns:1fr}.handoff-hero h1{font-size:2.15rem}.handoff-row{padding:14px}.handoff-toolbar{display:grid;grid-template-columns:1fr}.handoff-toolbar button{width:100%;text-align:left}.handoff-sidebar-note{margin-top:12px}.handoff-confirm-actions{flex-direction:column}.handoff-template{overflow:hidden}.handoff-table-wrap{max-width:100%}}
@media print{@page{size:A4 landscape;margin:12mm}.handoff-page{background:white;color:black;font-size:10pt}.handoff-page>header,.handoff-page>footer,.handoff-wrap>:not(#handoff-print-area){display:none!important}.handoff-wrap{padding:0;max-width:none}.handoff-print-area{display:block}.handoff-print-area h1{font-size:20pt;margin:0 0 12pt}.handoff-print-cover{display:grid;grid-template-columns:max-content 1fr max-content 1fr;gap:6pt 12pt}.handoff-print-cover dt{font-weight:bold}.handoff-print-cover dd{margin:0;white-space:pre-wrap;overflow-wrap:anywhere}.handoff-print-area table{width:100%;table-layout:fixed;border-collapse:collapse;font-size:9pt;margin:16pt 0}.handoff-print-area caption{text-align:left;font-size:13pt;font-weight:bold;padding-bottom:8pt}.handoff-print-area th,.handoff-print-area td{padding:6pt;border:1px solid #999;vertical-align:top;overflow-wrap:anywhere;white-space:pre-wrap}.handoff-print-area thead{display:table-header-group}.handoff-print-area tr{break-inside:avoid}.handoff-print-area p{font-size:8pt;line-height:1.5}}

.handoff-cover summary{cursor:pointer;font-family:Georgia,"Songti SC",serif;font-size:1.35rem;min-height:32px;line-height:1.5}.handoff-cover[open] summary{margin-bottom:16px}
.handoff-save-bar{display:flex;align-items:center;gap:20px;justify-content:space-between;padding:16px 20px;border:1px solid var(--line);border-radius:6px;margin-bottom:18px;background:#e9eee6}.handoff-save-bar p{margin:0;line-height:1.7;font-size:.88rem;max-width:760px}.handoff-save-bar button{flex-shrink:0}.handoff-save-bar p[data-changed=true]{font-weight:600}.handoff-review{border:1px solid var(--line);padding:18px 20px;margin-top:24px;background:var(--paper);border-radius:6px}.handoff-review summary{cursor:pointer;min-height:44px;line-height:1.7;font-size:1.1rem}.handoff-review summary>span:last-child{display:inline-block;font-size:.8rem;padding:0 8px;border:1px solid var(--line);border-radius:20px;margin-left:6px}.handoff-review p{font-size:.9rem;line-height:1.75}.handoff-review ul{list-style:none;padding:0;display:grid;gap:8px}.handoff-review li button{width:100%;text-align:left;font-size:.88rem;line-height:1.6;overflow-wrap:anywhere}
@media(max-width:720px){.handoff-save-bar{align-items:stretch;flex-direction:column;gap:12px;padding:16px}.handoff-save-bar button{width:100%;text-align:left}.handoff-review{padding:16px}}

.handoff-task-start{border-top:1px solid var(--line);padding-top:22px;margin-top:24px}.handoff-task-start h3{font-family:Georgia,"Songti SC",serif;font-size:1.25rem;font-weight:500;margin:0 0 10px}.handoff-task-start p{font-size:.9rem;line-height:1.8;color:var(--muted);max-width:62em}.handoff-task-preview{padding-left:24px;max-height:360px;overflow:auto;overscroll-behavior:contain}.handoff-task-preview:empty{display:none}.handoff-task-preview li{padding:12px 0;border-top:1px solid #d7c6a5;overflow-wrap:anywhere;white-space:pre-wrap}.handoff-task-preview p{margin:5px 0;font-size:.9rem}.handoff-task-preview strong{font-weight:600}

#handoff-task-status:empty{display:none}.handoff-task-start #handoff-task-status{border-left:3px solid #947437;padding-left:12px;color:var(--ink)}.handoff-task-preview:focus-visible{outline:3px solid #947437;outline-offset:3px}@media(max-width:720px){.handoff-task-preview{max-height:240px}}
