/* V44-K 咨询交接页样式（公开候选；390/1440 自适应，A4 打印版式，键盘焦点可见）。
   只服务 extensions/consultation-handoff/page.mjs 渲染的两个新路径；不改任何既有样式。
   原完整咨询草稿以可读字号逐字呈现：长草稿自然分页，不截断、不用省略号、
   不靠缩小字体硬凑页数；打印只隐藏导航、二维码图与操作按钮，草稿全文走专用 <pre> 块。 */

.v44-option-meta,.v44-section-note,.v44-note{color:#555;font-size:.92rem;line-height:1.6}
.v44-note{margin:10px 0;overflow-wrap:anywhere}

.v44-state{border-left:4px solid #b26a00;background:#fdf6ea;padding:10px 14px;border-radius:0 10px 10px 0;margin:12px 0;overflow-wrap:anywhere}

.v44-summary{margin:18px 0}
.v44-visually-consistent{font-size:1.05rem;margin:0 0 6px}
.v44-chips{display:flex;flex-wrap:wrap;gap:8px;margin:8px 0;padding:0}
.v44-chip{display:inline-block;border:1px solid #d8d2c4;border-radius:999px;padding:4px 12px;background:#faf8f4;font-size:.95rem;overflow-wrap:anywhere}
.v44-chip.muted{color:#666}

.v44-section{margin:24px 0}
.v44-section h2{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.v44-tag{display:inline-block;font-size:.72rem;font-weight:600;letter-spacing:.04em;border:1px solid #c9c2b2;border-radius:999px;padding:2px 10px;color:#6a6252;background:#f6f3ec;vertical-align:middle}

.v44-list{list-style:none;margin:0;padding:0;display:grid;gap:12px}
.v44-item{border:1px solid #e3ddd2;border-radius:12px;padding:12px 14px;overflow-wrap:anywhere}
.v44-item h3{margin:4px 0}
.v44-item-dates{margin:0;color:#444}
.v44-item-code{color:#666;font-size:.92rem;margin:2px 0 0}
.v44-timing{font-weight:600}
.v44-item-facts{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:8px;margin:8px 0 0}
.v44-item-facts dt{font-size:.82rem;color:#6a6252}
.v44-item-facts dd{margin:2px 0 0}
.v44-note-inline{color:#6a6252}

/* 原完整草稿：每份独立成块、标明归属；屏幕用 readonly 文本框，打印用全文 <pre> */
.v44-draft{border:1px solid #e3ddd2;border-radius:12px;padding:14px;margin:14px 0;overflow-wrap:anywhere;background:#fff}
.v44-draft[data-state="unavailable"]{border-color:#e4c9a8;background:#fbf9f4}
.v44-draft>h3{display:flex;align-items:center;gap:10px;margin:0 0 8px;flex-wrap:wrap;font-size:1.1rem}
.v44-draft-fields label{display:block;font-weight:600;margin:12px 0 4px}
.v44-copy-row{display:flex;gap:10px;align-items:center;flex-wrap:wrap}
.v44-copy-row input{flex:1;min-width:200px;padding:8px;border:1px solid #b9b2a6;border-radius:8px;font-size:1rem}
.v44-draft textarea{width:100%;box-sizing:border-box;padding:10px;border:1px solid #b9b2a6;border-radius:8px;font-size:.95rem;line-height:1.7;font-family:inherit;overflow-wrap:anywhere;white-space:pre-wrap}
.v44-copy.v44-copied{border-color:#2f5d46;color:#2f5d46}
.v44-copy-status{color:#2f5d46;font-size:.9rem;margin-left:8px}
.v44-original-links{margin:10px 0 0;padding-left:1.3em}
.v44-original-links li{margin:6px 0;overflow-wrap:anywhere}
/* 打印专用草稿全文块：屏幕隐藏，打印时随页面分页完整输出 */
.v44-draft-print{display:none}

.v44-sources,.v44-pending,.v44-fees,.v44-notes{border:1px solid #e3ddd2;border-radius:12px;padding:12px 14px;margin:12px 0;overflow-wrap:anywhere}
.v44-sources h3,.v44-pending h3,.v44-fees h3,.v44-notes h3{margin-top:0;font-size:1.05rem}
.v44-sources ul,.v44-notes-list{margin:8px 0;padding-left:1.4em}
.v44-questions{margin:8px 0;padding-left:1.4em}
.v44-questions li,.v44-notes-list li{margin:6px 0}

/* 既有批准二维码：沿用原渠道呈现，不改 CTA 目的联系人 */
.v44-wechat-panel{border:1px solid #e3ddd2;border-radius:12px;padding:16px;margin:12px 0;background:#fbf9f4;overflow-wrap:anywhere}
.v44-wechat-panel h3{margin:4px 0 10px}
.v44-qr-image{display:block;max-width:min(280px,100%);height:auto;border:1px solid #d8d2c4;border-radius:10px;background:#fff}
.v44-wechat-actions{display:flex;flex-wrap:wrap;gap:14px;margin-top:10px}
.v44-steps{margin:12px 0;padding-left:1.5em;display:grid;gap:8px}
.v44-steps p{margin:2px 0;color:#444}

.v44-return-links{margin:8px 0;padding-left:1.3em}
.v44-return-links li{margin:6px 0;overflow-wrap:anywhere}

.v44-actions{margin:20px 0;display:flex;flex-wrap:wrap;gap:12px;align-items:center}
.v44-print-only{display:none}

/* 键盘焦点清晰可见 */
.v44-item a:focus-visible,.v44-return-links a:focus-visible,.v44-original-links a:focus-visible,.v44-wechat-actions a:focus-visible,
.v44-copy:focus-visible,.v44-print:focus-visible,.v44-draft input:focus-visible,.v44-draft textarea:focus-visible{outline:3px solid #2f5d46;outline-offset:2px;border-radius:6px}

/* 390px 窄屏：单列、不横向溢出 */
@media (max-width:520px){
 .v44-item-facts{grid-template-columns:1fr}
 .v44-copy-row{flex-direction:column;align-items:stretch}
 .v44-copy-row input{min-width:0;width:100%}
 .v44-section h2{font-size:1.25rem}
 .v44-wechat-actions{flex-direction:column;gap:8px}
}

/* A4 打印：保留选择、原草稿全文、来源与全部待核事项；只隐藏站点导航、操作区、
   屏幕端复制控件与二维码图（渠道说明文字保留）。打印正文为可读字号
   （13.3px = 10pt，辅助说明不低于 13px）；版式压缩只去纵向冗余，不缩小正文凑页数。
   草稿全文逐字保留；内容长时自然分页，不折叠、不省略、不用链接替代、不规定页数。 */
@media print{
 .v44-actions,.v44-copy-row,.v44-draft-fields .actions,.site-header,footer,.breadcrumb,.skip,
 .v44-print-hint,.v44-wechat-panel .v44-qr-image,.v44-wechat-actions{display:none!important}
 /* 屏幕用 textarea 固定行高会截断长草稿；打印改用全文块自然分页 */
 .v44-draft textarea,.v44-draft-fields label{display:none!important}
 .v44-draft-print{display:block!important}
 .v44-draft-print-owner{font-weight:700;margin:0 0 2px;overflow-wrap:anywhere}
 .v44-draft-print-subject{font-weight:700;margin:0 0 6px;overflow-wrap:anywhere}
 .v44-draft-print pre{white-space:pre-wrap;word-break:break-word;overflow-wrap:anywhere;font-family:inherit;font-size:13.3px;line-height:1.6;margin:0}
 .v44-print-only{display:block;font-size:13px;color:#444;border-bottom:1px solid #999;padding-bottom:4px;margin-bottom:8px;overflow-wrap:anywhere}
 main .wrap{max-width:none;padding-left:0;padding-right:0;font-size:13.3px;line-height:1.4}
 main .wrap p{margin:3px 0}
 .page-title{padding:0 0 6px}
 .page-title .eyebrow{margin-bottom:4px}
 .page-title h1{font-size:19px;margin:4px 0;line-height:1.3}
 .page-title .intro{font-size:13.5px;margin:4px 0;line-height:1.45}
 .v44-section{margin:8px 0}
 .v44-section h2{font-size:15.5px;margin:4px 0}
 .v44-section h3{font-size:14px;margin:4px 0}
 .v44-summary{margin:6px 0}
 .v44-chips{gap:5px;margin:4px 0}
 .v44-chip{padding:1px 9px;font-size:13px}
 .v44-state{margin:5px 0;padding:6px 10px;font-size:13px;line-height:1.45}
 /* grid/flex 容器在打印中不能跨页分片；打印改块流自然分页 */
 .v44-list{display:block}
 .v44-item{margin-bottom:6px;padding:6px 9px}
 .v44-item-dates{display:inline;margin:0}
 .v44-item h3{display:inline;font-size:13.5px;margin:0 0 0 8px;font-weight:600}
 .v44-item-code{display:inline;margin:0 0 0 8px}
 .v44-item-facts{display:block;margin:2px 0 0;line-height:1.4}
 .v44-item-facts>div{display:inline;margin-right:12px}
 .v44-item-facts dt{display:inline;font-size:13px}
 .v44-item-facts dt::after{content:'：'}
 .v44-item-facts dd{display:inline;margin:0}
 /* 小块避免跨页断裂；长草稿全文块允许自然分页（内容不折叠、不省略） */
 .v44-item,.v44-state,.v44-sources,.v44-pending,.v44-fees,.v44-notes,.v44-wechat-panel{break-inside:avoid;border-color:#bbb}
 .v44-draft{padding:6px 9px;margin:6px 0;border-color:#bbb}
 .v44-questions,.v44-notes-list{margin:4px 0}
 .v44-questions li,.v44-notes-list li{margin:2px 0}
 .v44-questions{columns:2;column-gap:16px;font-size:13px}
 .v44-questions li{break-inside:avoid}
 .v44-original-links,.v44-return-links{margin:4px 0}
 .v44-original-links li,.v44-return-links li{margin:2px 0;line-height:1.4}
 .v44-steps{margin:4px 0}
 .v44-option-meta,.v44-section-note,.v44-note{font-size:13px;line-height:1.45}
 .section-note{font-size:13px;line-height:1.45}
 body{background:#fff}
 @page{size:A4;margin:12mm}
}
