/* 提案工作桌：内容优先，蓝色标记动作，风险单独着色。 */
.vc-workspace{display:grid;gap:16px}.vc-pair{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:20px}.vc-pair figure{margin:0;display:flex;flex-direction:column;gap:10px;min-width:0}.vc-pair figcaption{font-size:15px;font-weight:650}.vc-pair select{width:100%;min-width:0}.vc-pair p{margin:0;font-size:13px;line-height:1.6}.vc-source-note{color:var(--ink2)}.vc-picture{display:grid;place-items:center;background:#F3F5F8;border:1px solid var(--line);border-radius:10px;height:min(54vh,520px);min-height:240px;overflow:hidden;margin-top:auto}.vc-zoom{border:0;background:transparent;padding:0;display:block;width:100%;height:100%;cursor:zoom-in}.vc-zoom img{display:block;width:100%;height:100%;object-fit:contain}.vc-zoom:focus-visible{outline:3px solid var(--zhu);outline-offset:-3px}.vc-empty{padding:24px;color:var(--ink2);text-align:center;max-width:32ch}.vc-warning{color:#765319;background:#FFF8E8;padding:10px 12px;font-size:13px;border-radius:8px}.vc-previous summary{cursor:pointer;font-size:13px;padding:8px 0}.vc-previous>.vc-zoom{height:340px;background:#F3F5F8}.ui-settings{display:grid;gap:18px}.ui-settings>p{margin:0}.ui-settings label{display:grid;gap:8px}.ui-settings select{width:100%}.ui-settings-advanced{border-top:1px solid var(--line);padding-top:14px}.ui-settings-advanced summary{cursor:pointer;min-height:28px;font-weight:600}.ui-settings-advanced[open] summary{margin-bottom:12px}.ui-settings-advanced p{font-size:13px;line-height:1.7;overflow-wrap:anywhere}.ui-settings-actions{display:flex;gap:10px;justify-content:flex-end}.ui-settings-actions button{min-height:42px}.ui-settings .err:empty{display:none}.ui-settings summary:focus-visible{outline:3px solid var(--zhu);outline-offset:3px}@media(max-width:620px){.vc-pair{grid-template-columns:1fr}.vc-picture{height:48vh}.vc-pair{gap:24px}.vc-pair figure+figure{border-top:1px solid var(--line);padding-top:18px}}
/* Series design uses the existing type/color scale and keeps progress next to the actual pages. */
.vs-entry{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:20px;margin-bottom:20px;border:1px solid #D9E3F5;background:#F2F6FE;border-radius:12px}.vs-entry p{margin:6px 0 0}.vs-entry button{flex-shrink:0;min-height:44px}
.vs-dialog{width:min(1120px,calc(100vw - 32px));max-width:1120px}.vs-workspace{display:grid;gap:20px;min-width:0}.vs-setup{padding:16px;border:1px solid #DDE3ED;border-radius:10px}.vs-setup>summary{font-weight:650;cursor:pointer;min-height:28px}.vs-setup[open]>summary{margin-bottom:16px}.vs-page-settings{display:grid;gap:12px;margin:16px 0}.vs-page-settings label{display:flex;align-items:flex-start;gap:12px}.vs-page-settings small{display:block;color:var(--ink2);margin-top:4px}.vs-workspace input[type=checkbox]{width:18px;height:18px;flex:0 0 18px;accent-color:var(--zhu)}.vs-controls{display:flex;align-items:center;flex-wrap:wrap;gap:10px}.vs-controls select{min-height:44px;max-width:100%}.vs-controls [hidden]{display:none}.vs-plan{background:#F7F8FA;border-radius:10px;padding:16px;line-height:1.8}.vs-plan:empty{display:none}.vs-plan>div{display:flex;align-items:center;justify-content:space-between;gap:12px}.vs-palette{display:flex;gap:6px}.vs-palette span{width:24px;height:24px;border-radius:50%;border:1px solid #0002}.vs-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}.vs-card{display:flex;flex-direction:column;gap:12px;min-width:0;border:1px solid #E0E5ED;border-radius:10px;overflow:hidden;padding:12px}.vs-card>b{font-size:14px;line-height:1.6}.vs-card label{display:flex;gap:8px;align-items:center;font-size:13px;line-height:1.5}.vs-card-image{display:grid;place-items:center;aspect-ratio:3/4;background:#F2F4F8;color:var(--ink2);font-size:13px;text-align:center;overflow:hidden}.vs-card-image button{display:block;border:0;padding:0;width:100%;height:100%;background:none;cursor:zoom-in}.vs-card-image img{display:block;width:100%;height:100%;object-fit:contain}.vs-check{color:var(--ink2)}.vs-adopt{position:sticky;bottom:0;background:#FFF;display:flex;gap:20px;align-items:center;justify-content:space-between;padding:16px 0;border-top:1px solid #DDE3ED}.vs-adopt p{max-width:660px;margin:0;line-height:1.7}.vs-adopt button{min-height:44px;flex-shrink:0}.vs-workspace button:focus-visible,.vs-workspace summary:focus-visible{outline:3px solid #345ECD;outline-offset:3px}
@media(max-width:860px){.vs-cards{grid-template-columns:repeat(2,minmax(0,1fr))}.vs-entry{align-items:flex-start;flex-direction:column}}@media(max-width:520px){.vs-cards{grid-template-columns:1fr}.vs-adopt{position:static;flex-direction:column;align-items:stretch}.vs-controls{align-items:stretch;flex-direction:column}.vs-setup{padding:12px}.vs-dialog{width:calc(100vw - 24px)}.vs-entry{padding:16px}}
:root{
  --paper:#F6F8FB;--surface:#fff;--surface2:#F0F4FA;
  --ink:#19253A;--ink2:#58677E;--ink3:#64748B;--line:#E3E9F1;--line2:#CCD6E4;
  --zhu:#2454D6;--zhu-deep:#173C9D;--zhu-wash:#EDF2FF;
  --side-bg:#17243B;--side-ink:#DCE5F4;--side-dim:#A7B6CD;
  --bamboo:#23765C;--bamboo-wash:#E9F5EF;--bad:#B13E33;--warn:#855B18;
  --f-serif:var(--f-body);--sidew:208px;--shadow:0 2px 8px #19253a06;
}
::selection{background:#DCE7FF}.brand b{letter-spacing:0}.seal{transform:none;border:0;background:#345ECD;color:white;font-family:var(--f-body)}
button.primary{background:var(--zhu);border-color:var(--zhu);color:white}button.primary:hover{background:var(--zhu-deep)}
button:disabled{opacity:.55;cursor:not-allowed}.wf-heading{position:static;z-index:auto;padding:0;background:none;border:none;backdrop-filter:none;display:flex;align-items:flex-start;justify-content:space-between;gap:24px;margin:12px 0 24px}
.wf-heading h1{font:700 28px/1.4 var(--f-body);margin:0 0 8px;letter-spacing:-.025em}.wf-heading p{margin:0;max-width:76ch}.wf-heading>a{flex:none;font-size:13px;padding-top:8px}.wf-eyebrow{font-size:13px;color:var(--ink2);margin-bottom:8px}
.wf-section-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:24px 0 18px}.wf-section-heading h2,.wf-section-heading p{margin:0}.wf-section-heading h2{font-size:20px}.wf-section-heading button{flex:none}
.wf-setup,.wf-understanding{background:var(--surface);border:1px solid var(--line);border-radius:12px;margin:20px 0;padding:0 24px}.wf-setup>summary,.wf-understanding>summary{cursor:pointer;padding:19px 0;font-size:15px}.wf-setup>summary>span{margin-left:20px;font-size:13px}.wf-understanding{padding-bottom:0}.wf-understanding[open]{padding-bottom:22px}
.wf-setup-grid{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,1fr);gap:32px;padding:8px 0 24px}.wf-setup-grid h2{font-size:16px;margin:0 0 6px}.wf-intake{display:grid;align-content:start;gap:10px}.wf-intake p{margin:0}
.wf-drop{display:flex;align-items:center;justify-content:center;flex-direction:column;gap:7px;padding:24px;min-height:146px;border:1.5px dashed #B3C3DA;border-radius:10px;background:#F7F9FE;cursor:pointer}.wf-drop:hover,.wf-drop.drag{border-color:var(--zhu);background:#EDF2FF}.wf-drop strong{font-size:17px}.wf-drop span{font-size:12px;color:var(--ink2)}.wf-file{position:absolute;width:1px;height:1px;opacity:0}.wf-docs{display:grid;gap:4px;max-height:220px;overflow:auto}.wf-doc{display:flex;align-items:center;gap:8px;border-bottom:1px solid var(--line);padding:8px 0}.wf-doc .grow{min-width:0}.wf-doc small{display:block;padding-left:0}.wf-doc .grow>button{border:none;background:none;text-align:left;padding:0;font-weight:600;max-width:100%;overflow-wrap:anywhere;color:var(--ink)}.wf-doc select{width:104px;flex:none;font-size:12px}
.wf-status{font-size:13px;color:var(--ink2);padding:8px 0 14px;min-height:34px}.wf-account-picker>summary{cursor:pointer;color:var(--zhu);padding:8px 0}.wf-account-picker input[type=search]{width:100%;margin:8px 0;border:1px solid var(--line2);border-radius:7px;padding:9px 12px;font:inherit}.wf-selected-names{font-size:17px;line-height:1.8;margin:14px 0;font-weight:600}.wf-roster{display:grid;grid-template-columns:repeat(auto-fill,minmax(170px,1fr));gap:7px;max-height:255px;overflow:auto;padding:4px 2px}.wf-account{display:flex;align-items:center;gap:9px;border:1px solid var(--line);border-radius:7px;padding:9px;cursor:pointer;background:var(--surface);font-size:13px}.wf-account:has(input:checked){background:#EDF2FF;border-color:#88A7EE}.wf-account[hidden]{display:none}.wf-account input{width:auto;accent-color:var(--zhu)}.wf-account small{display:block;font-size:11px;color:var(--ink2)}
.wf-actionbar{display:flex;align-items:center;gap:14px;border-top:1px solid var(--line);padding:20px 0}.wf-actionbar>div{flex:1}.wf-actionbar p{margin:3px 0 0;font-size:12px}.wf-actionbar>button{min-height:44px;white-space:nowrap}.wf-actionbar>select{max-width:210px;font-size:13px}
.wf-facts{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:20px}.wf-facts small{color:var(--ink2);font-weight:700}.wf-facts p{margin:3px 0}.wf-facts button{font-size:12px;padding:3px 8px}.wf-attention{background:#FFF5E3;color:#7B5417;padding:10px 14px;border-radius:7px;font-size:13px;overflow-wrap:anywhere}.wf-attention p{margin:4px 0}.wf-attention>summary{cursor:pointer}
.wf-proposals{display:grid;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:22px;margin-bottom:30px}.wf-proposal-card{color:var(--ink);border:1px solid var(--line);border-radius:12px;overflow:hidden;background:var(--surface);transition:border-color .15s}.wf-proposal-card:hover{border-color:#88A7EE;color:var(--ink)}.wf-thumb{height:295px;background:#E8EDF5;display:flex;align-items:center;justify-content:center;color:var(--ink2);font-size:13px;padding:18px}.wf-thumb img{height:100%;max-width:100%;object-fit:contain;box-shadow:0 3px 12px #27384a18}.wf-proposal-copy{padding:17px}.wf-proposal-copy small{color:var(--ink2);font-size:12px}.wf-proposal-copy h3{font-size:17px;line-height:1.5;margin:12px 0}.wf-proposal-copy p{font-size:12px;color:var(--ink2);margin-bottom:0}.wf-card-meta{display:flex;align-items:center;justify-content:space-between;gap:8px}.wf-badge{display:inline-block;border-radius:4px;background:#EDF2FF;color:#2851AD;padding:2px 7px;font-size:11px;white-space:nowrap}.wf-badge.needs{color:#805619;background:#FFF1D8}.wf-empty{grid-column:1/-1;padding:36px;text-align:center;border:1px dashed var(--line2);border-radius:12px;color:var(--ink2)}
.wf-review-layout{display:grid;grid-template-columns:minmax(0,1fr) 340px;gap:26px;align-items:start}.wf-pages{display:grid;grid-template-columns:repeat(auto-fit,minmax(235px,1fr));gap:22px}.wf-page{background:var(--surface);border:1px solid var(--line);border-radius:10px;overflow:hidden;min-width:0}.wf-preview{display:block;width:100%;padding:0!important;border:0!important;border-radius:0!important;background:#E8EDF5;cursor:zoom-in}.wf-preview img{width:100%;display:block;aspect-ratio:3/4;object-fit:contain}.wf-page-caption{padding:13px}.wf-page-caption b{display:block;font-size:13px;margin-bottom:7px}.wf-page-caption select{min-width:0;max-width:44%;font-size:12px;padding:6px}.wf-page-caption button{font-size:12px;padding:5px 9px}.wf-page-caption .row{gap:6px;margin-top:12px}.wf-source-note{font-size:12px;margin-top:8px;color:var(--ink2)}.wf-source-note summary{cursor:pointer}.wf-source-note p{line-height:1.7;overflow-wrap:anywhere}
.wf-review{display:flex;flex-direction:column;gap:18px;position:static}.wf-delivery,.wf-feedback,.wf-copy-panel{background:white;border:1px solid var(--line);border-radius:10px;padding:20px}.wf-review h2{font-size:17px;margin:0 0 12px}.wf-review h3{font-size:13px;margin:20px 0 8px;color:var(--ink2)}.wf-review textarea{width:100%;margin-bottom:10px}.wf-review button{font-size:13px}.wf-delivery>.primary,.wf-feedback>.primary{width:100%;min-height:42px}.wf-copy-panel summary{cursor:pointer;font-weight:600}.wf-copy{font-size:13px;line-height:1.8;max-height:none!important;overflow:visible!important}.wf-copy h2{margin-top:20px}.wf-toolbar{display:flex;gap:16px;align-items:center;flex-wrap:wrap;margin-bottom:16px}.wf-toolbar a{margin-left:auto;font-size:13px}.wf-toolbar>.hint{font-size:12px}.wf-segment{display:flex;background:#E7EDF7;padding:4px;border-radius:8px}.wf-segment button{border:0;background:transparent;min-width:76px;margin:0;padding:7px 14px;border-radius:5px}.wf-segment button[aria-pressed=true]{background:white;color:var(--zhu);font-weight:700;box-shadow:0 1px 3px #19253a12}.wf-exportbar{display:flex;flex-wrap:wrap;gap:7px}.wf-exportbar button{font-size:12px;margin:0}.wf-success{color:#236A52;background:#EAF5EF;padding:10px 12px;border-radius:6px;font-size:13px}.wf-check-actions{display:flex;gap:8px;flex-wrap:wrap}.wf-check-actions button{font-size:12px}
.wf-modal{border:1px solid var(--line);border-radius:14px;width:min(960px,94vw);max-height:94vh;padding:22px;background:white;color:var(--ink);box-shadow:0 16px 64px #19253a33}.wf-modal::backdrop{background:#14213799}.wf-modal-head{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:18px}.wf-modal-head h2{font-size:18px;margin:0}.wf-full-image{display:block;max-width:100%;max-height:75vh;margin:auto;object-fit:contain}.wf-asset-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(190px,1fr));gap:16px}.wf-asset-choice{text-align:left;padding:10px;border:1px solid var(--line);background:white;overflow:hidden}.wf-asset-choice:hover{border-color:var(--zhu);background:#F3F6FE}.wf-asset-choice img{width:100%;height:180px;object-fit:contain;background:#F4F6FA}.wf-asset-choice b{display:block;overflow-wrap:anywhere;font-size:12px;margin-top:8px}.wf-asset-choice p{font-size:12px;color:var(--ink2);line-height:1.6;font-weight:400}
.wf-project-table{overflow:auto;background:white;border:1px solid var(--line);border-radius:10px}.wf-project-table table{min-width:650px}.wf-create-project{background:white;border:1px solid var(--line);border-radius:10px;padding:18px 22px;margin-bottom:22px}.wf-create-project summary{cursor:pointer;font-weight:600}.wf-create-project .row{margin-top:16px}.wf-project-search{width:min(320px,100%);padding:10px 12px;border:1px solid var(--line2);border-radius:8px;background:white;font:inherit}
#view>.err:not(:empty){position:sticky;top:52px;z-index:25;background:#FFF0EC;border:1px solid #EFBCB4;border-radius:8px;padding:12px 16px;box-shadow:0 2px 8px #19253a12}
:is(button,a,input,select,textarea,label[tabindex],summary):focus-visible{outline:3px solid #527CDB;outline-offset:3px}
@media(max-width:1150px){.wf-review-layout{grid-template-columns:minmax(0,1fr) 310px}.wf-actionbar{flex-wrap:wrap}.wf-actionbar>div{flex-basis:100%}.wf-setup-grid{gap:24px}}
@media(max-width:850px){.wf-review-layout{grid-template-columns:1fr}.wf-review{grid-row:1;display:grid;grid-template-columns:1fr 1fr;align-items:start}.wf-copy-panel{grid-column:1/-1}.wf-setup-grid{grid-template-columns:1fr}.wf-heading h1{font-size:24px}.wf-proposals{grid-template-columns:repeat(auto-fit,minmax(240px,1fr))}.wf-toolbar a{margin-left:0}.wf-pages{grid-template-columns:repeat(auto-fit,minmax(220px,1fr))}}
@media(max-width:560px){.wf-heading{flex-direction:column;align-items:flex-start;gap:8px}.wf-heading>a{white-space:nowrap}.wf-setup,.wf-understanding{padding-left:16px;padding-right:16px}.wf-setup>summary>span{display:block;margin:4px 0 0}.wf-actionbar>select{max-width:100%;flex:1}.wf-actionbar>button{width:100%}.wf-review{display:flex}.wf-section-heading{align-items:flex-start}.wf-section-heading button{font-size:12px}.wf-project-search{width:100%}}
@media(prefers-reduced-motion:reduce){.wf-proposal-card,body{transition:none}*{scroll-behavior:auto!important}}

/* Visual direction studio: content-led options and large before/after previews. */
.vu-workspace{display:grid;gap:16px}.vu-workspace p{margin:0}.vu-directions{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.vu-directions button{display:grid;gap:6px;text-align:left;white-space:normal;background:#F8FAFD;padding:16px;border:1px solid var(--line2);min-height:98px}.vu-directions b{font-size:15px}.vu-directions span{font-size:12px;line-height:1.6;color:var(--ink2);font-weight:400}.vu-directions button[aria-pressed=true],.vu-refs button[aria-pressed=true],.vu-history button[aria-pressed=true]{border-color:var(--zhu);box-shadow:0 0 0 2px var(--zhu);background:var(--zhu-wash)}.vu-ref-label{display:flex;gap:12px;align-items:baseline}.vu-refs{display:flex;gap:10px;overflow:auto;padding:3px;max-height:165px}.vu-refs button{flex:0 0 112px;padding:5px;background:white}.vu-refs img{display:block;width:100%;height:98px;object-fit:contain}.vu-refs span{font-size:11px;color:var(--ink2)}.vu-workspace label{font-size:13px}.vu-workspace textarea{display:block;width:100%;margin-top:8px;box-sizing:border-box}.vu-workspace>button{justify-self:start;min-height:44px}.vu-comparison{display:grid;grid-template-columns:1fr 1fr;gap:20px}.vu-comparison figure{margin:0;min-width:0}.vu-comparison figcaption{font-size:12px;color:var(--ink2);margin-bottom:8px}.vu-comparison img{display:block;width:100%;aspect-ratio:3/4;object-fit:contain;background:#F2F4F8;cursor:zoom-in}.vu-comparison button{padding:0;border:0;background:none;width:100%}.vu-history{display:flex;gap:10px;overflow:auto;padding:3px}.vu-history:empty{display:none}.vu-history button{flex:0 0 90px;padding:5px;background:white}.vu-history img{width:100%;height:105px;object-fit:contain;display:block}.vu-history span{font-size:11px}.vu-adopt{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:16px;background:#F3F6FC;border-radius:10px}.vu-adopt input{width:auto}.vu-adopt label{display:flex;align-items:center;gap:8px}.vu-page-actions{margin:12px 0}.vu-page-actions button{min-height:38px}.vu-page-actions button:not(.primary){font-size:12px}@media(max-width:620px){.vu-directions{grid-template-columns:1fr}.vu-directions button{min-height:0;padding:12px}.vu-adopt{align-items:stretch;flex-direction:column}.vu-comparison{gap:10px}.vu-ref-label{align-items:flex-start;flex-direction:column;gap:3px}}@media(prefers-reduced-motion:reduce){.vu-workspace *{scroll-behavior:auto!important}}

/* Keep saved candidates in the first screen; details stay available on demand. */
.vs-dialog .vs-workspace{gap:12px}.vs-workspace>p{margin:0}.vs-toolbar{display:flex;flex-wrap:wrap;gap:10px;align-items:center;justify-content:space-between}.vs-toolbar .vs-controls{flex:1}.vs-toolbar select{flex:1;min-width:0}.vs-context{font-size:13px;max-width:100%}.vs-context[open]{flex-basis:100%;padding:12px;background:#F6F8FC;border-radius:8px}.vs-workspace .vs-setup{padding:10px 14px}.vs-workspace .vs-setup>summary{min-height:24px}.vs-workspace .vs-plan{padding:10px 14px}.vs-plan summary{display:flex;align-items:center;gap:12px;cursor:pointer;font-size:13px}.vs-palette{display:inline-flex}.vs-workspace>.err:empty{display:none}.vs-workspace .vs-adopt{padding:12px 0}.vs-adopt p{font-size:13px}
.vr-review{font-size:13px;line-height:1.6;border:1px solid #DDE3ED;background:#F7F9FC;border-radius:8px;padding:10px}.vr-review.has-issues{background:#FFF8E8;border-color:#E9CE8F;color:#654715}.vr-review p{margin:6px 0;font-size:13px;line-height:1.6}.vr-review ul{padding-left:18px;margin:10px 0}.vr-review li+li{margin-top:12px}.vr-review summary{cursor:pointer;font-weight:650;min-height:24px}.vr-review button{font-size:13px;min-height:36px;margin:6px 6px 0 0}.vr-review .err:empty{display:none}.vr-review .hint{color:#5F6470}.vr-review summary:focus-visible{outline:3px solid #345ECD;outline-offset:3px}
.wf-material-notice{margin:16px 0;padding:14px 18px;border:1px solid #e9d4a1;border-radius:12px;background:#fffaf0;color:#674c20;font-size:14px;line-height:1.65}.wf-material-notice summary{font-weight:650;cursor:pointer}.wf-material-notice p{margin:10px 0}.wf-material-notice li{margin:6px 0}.wf-material-notice .row{margin-top:12px}.wf-material-notice summary:focus-visible{outline:2px solid #3455db;outline-offset:4px}

/* First-draft choice uses native radios and the existing workbench scale. */
.wf-initial-design{border-top:1px solid var(--line);margin-top:20px;padding:20px 0}.wf-initial-design h2{font-size:17px;margin:0 0 14px}.wf-image-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.wf-image-options label{display:flex;gap:12px;align-items:flex-start;border:1px solid var(--line2);border-radius:10px;padding:16px;cursor:pointer}.wf-image-options label:has(input:checked){border-color:var(--zhu);background:var(--zhu-wash)}.wf-image-options label:has(input:disabled){opacity:.6;cursor:not-allowed}.wf-image-options input{width:18px;height:18px;flex:0 0 18px;margin:2px 0 0;accent-color:var(--zhu)}.wf-image-options b,.wf-image-options small{display:block}.wf-image-options small{margin-top:6px;color:var(--ink2);line-height:1.6;font-size:13px}.wf-initial-design>p{font-size:13px;margin:12px 0}.wf-initial-reference summary{cursor:pointer;font-size:13px;padding:8px 0}.wf-initial-reference>div{display:flex;gap:16px;padding-top:12px;align-items:flex-start}.wf-initial-reference img{width:72px;height:92px;object-fit:contain;background:var(--surface2);border-radius:8px}.wf-initial-reference label{display:grid;gap:8px;flex:1;min-width:0;font-size:13px}.wf-initial-reference select{width:100%;min-width:0}.wf-initial-reference small{color:var(--ink2);line-height:1.6}.wf-initial-design [hidden]{display:none}.wf-initial-design :focus-visible{outline:3px solid var(--zhu);outline-offset:3px}@media(max-width:640px){.wf-image-options{grid-template-columns:1fr}.wf-initial-reference>div{flex-direction:column}.wf-initial-reference label{width:100%}}

.wf-pending-image{aspect-ratio:4/3;display:grid;place-items:center;background:linear-gradient(135deg,#EEF2F8,#F7F9FC);color:var(--ink2);font-size:14px;overflow:hidden}.wf-pending-image img{width:100%;height:100%;object-fit:contain}.wf-pending-page p{font-size:13px;line-height:1.6;margin:8px 0 0}
/* Exact-copy editing: one focused form beside the actual rendered page. */
.pc-dialog{width:min(1040px,94vw);padding:24px}.pc-dialog .wf-modal-head{align-items:flex-start}.pc-dialog .wf-modal-head .hint{margin:8px 0 0;max-width:580px}.pc-body{display:grid;grid-template-columns:minmax(250px,1fr) minmax(260px,.9fr);gap:28px;align-items:start}.pc-editor{min-width:0}.pc-fields{display:grid;gap:18px}.pc-field{display:grid;gap:7px}.pc-field label{font-size:14px;font-weight:650}.pc-field input,.pc-field textarea{width:100%;box-sizing:border-box;font:inherit;line-height:1.7;padding:11px 12px;border:1px solid var(--line);border-radius:8px;background:white;color:var(--ink)}.pc-field textarea{resize:vertical;min-height:90px}.pc-field input:focus-visible,.pc-field textarea:focus-visible{outline:2px solid var(--zhu);outline-offset:2px}.pc-count{justify-self:end;font-size:12px;color:var(--ink2)}.pc-preview{position:sticky;top:0;margin:0;padding:14px;background:#F3F5F8;border:1px solid var(--line);border-radius:12px;text-align:center;min-height:180px}.pc-preview img{display:block;width:100%;max-height:66vh;object-fit:contain;margin:12px auto 0}.pc-preview img[hidden],.pc-discard[hidden]{display:none}.pc-preview-label{font-size:12px;font-weight:600;color:var(--ink2)}.pc-status{font-size:13px;color:var(--ink2);line-height:1.7;min-height:2em}.pc-actions{display:flex;gap:10px;justify-content:flex-end;padding-top:14px;border-top:1px solid var(--line)}.pc-discard{padding:12px;background:#FFF6E9;border:1px solid #DFBB85;border-radius:8px;margin:12px 0}.pc-discard p{margin:0 0 10px}.pc-discard button+button{margin-left:8px}.pc-dialog button{min-height:40px}.pc-dialog .err:empty{display:none}@media(max-width:700px){.pc-dialog{padding:16px}.pc-body{grid-template-columns:1fr;gap:20px}.pc-preview{position:static;grid-row:1}.pc-preview img{max-height:34vh}.pc-dialog .wf-modal-head h2{font-size:17px}.pc-dialog .wf-modal-head .hint{font-size:12px}.pc-actions{position:sticky;bottom:-16px;padding:12px 0;background:white}}
/* Materials arrive first; understanding remains next to the generation decision. */
.pb-card{margin:20px 0;padding:22px;border:1px solid var(--line);border-radius:12px;background:#F8FAFF}.pb-card[hidden],.mp-panel[hidden]{display:none}.pb-heading,.mp-heading{display:flex;justify-content:space-between;align-items:flex-start;gap:16px}.pb-heading h2{margin:0;font-size:18px}.pb-heading p{margin:6px 0 0}.pb-summary{font-size:16px;line-height:1.8;margin:18px 0;color:var(--ink);max-width:80ch}.pb-facts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:14px 0}.pb-fact{background:white;border:1px solid var(--line);border-radius:9px;padding:14px;min-width:0}.pb-fact p{margin:8px 0;font-size:14px;line-height:1.7;overflow-wrap:anywhere}.pb-fact-label{display:flex;align-items:center;gap:8px;flex-wrap:wrap;font-size:12px;color:var(--ink2)}.pb-source-tag{padding:1px 6px;border-radius:4px;background:#EEF1F6;font-size:11px}.pb-source{padding:3px 0;min-height:32px;border:0;background:transparent;color:var(--zhu);font-size:12px}.pb-stale{border-left:3px solid #B67E2D;padding:8px 12px;background:#FFF5E7;color:#72501B}.pb-questions{padding:12px 14px;background:white;border:1px solid var(--line);border-radius:8px;margin:14px 0}.pb-questions summary{font-weight:600}.pb-actions{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin-top:16px}.pb-card .err:empty,.mp-panel .err:empty{display:none}.mp-panel{margin:12px 0;padding:14px;background:#F3F6FC;border:1px solid #D8E0EE;border-radius:9px}.mp-heading b{font-size:13px;overflow-wrap:anywhere}.mp-heading .hint{white-space:nowrap;font-size:12px}.mp-panel progress{width:100%;height:7px;margin:10px 0 0;accent-color:var(--zhu)}.mp-panel .hint{margin:6px 0;line-height:1.7}.mp-errors{font-size:12px;line-height:1.7;margin:10px 0;overflow-wrap:anywhere}.mp-errors ul{padding-left:20px;max-height:180px;overflow:auto}.mp-errors li{margin:7px 0}.pb-card details>summary:focus-visible,.mp-panel summary:focus-visible{outline:2px solid var(--zhu);outline-offset:3px}@media(max-width:1000px){.pb-facts{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:650px){.pb-card{padding:16px}.pb-facts{grid-template-columns:1fr}.pb-heading,.mp-heading{flex-direction:column;gap:8px}.pb-summary{font-size:15px}.pb-actions{align-items:flex-start;flex-direction:column}}
.wf-drop.has-materials{min-height:76px;padding:12px;gap:4px}.wf-drop.has-materials strong{font-size:14px}.wf-drop.has-materials .ui-icon{width:20px;height:20px}.wf-drop[aria-disabled=true]{cursor:default;background:#F7F8FB;color:var(--ink2);border-style:solid}
.vs-page-settings .vs-template-choice{display:grid;gap:6px;margin-top:12px}.vs-template-choice select{min-width:0;width:100%}
/* 需求理解的确认与修改：状态行、人工修改/人工补充角标、就地编辑表单，沿用 pb 卡片的配色与间距。 */
.pb-confirmed{margin:14px 0 0;padding:8px 12px;border-left:3px solid var(--bamboo);background:var(--bamboo-wash);color:#1D5C47;font-size:13px}.pb-unconfirmed{margin:14px 0 0;padding:8px 12px;border-left:3px solid var(--zhu);background:var(--zhu-wash);color:var(--ink);font-size:13px;line-height:1.7}
.pb-edit-tag{padding:1px 6px;border-radius:4px;background:#FFF1D8;color:#805619;font-size:11px;white-space:nowrap}.pb-edit-tag.manual{background:#EDF2FF;color:#2851AD}.pb-edit-mark:empty{display:none}
.pb-edit{display:grid;gap:10px;margin-top:18px}.pb-edit>label{font-weight:600;font-size:14px;margin-top:6px}.pb-edit textarea,.pb-edit input[type=text]{width:100%;box-sizing:border-box;font:inherit;line-height:1.7;padding:9px 12px;border:1px solid var(--line2);border-radius:8px;background:white;color:var(--ink)}.pb-edit textarea{resize:vertical}
.pb-edit-heading{display:flex;flex-wrap:wrap;align-items:baseline;gap:4px 12px;margin-top:8px}.pb-edit-heading b{font-size:14px}.pb-edit-heading .hint{font-size:12px;line-height:1.6}
.pb-edit-facts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.pb-edit-fact{display:grid;gap:8px;align-content:start;background:white;border:1px solid var(--line);border-radius:9px;padding:12px;min-width:0}.pb-edit-fact-head{display:flex;align-items:center;gap:8px}.pb-edit-fact-head input[type=text]{flex:1;min-width:0;font-weight:600}.pb-remove{flex:none;font-size:12px;padding:5px 9px}
.pb-edit-source{margin:0;font-size:12px;line-height:1.6;color:var(--ink2);overflow-wrap:anywhere}.pb-edit-source .pb-source{margin-left:8px;min-height:0}.pb-edit-gaps{padding:12px 14px;background:white;border:1px solid var(--line);border-radius:8px;font-size:13px}.pb-edit-gaps .hint{margin-left:10px;font-size:12px}.pb-edit-gaps ul{margin:8px 0 0;padding-left:20px;line-height:1.7}
@media(max-width:800px){.pb-edit-facts{grid-template-columns:1fr}}@media(max-width:650px){.pb-edit-gaps .hint{display:block;margin:4px 0 0}.pb-edit .pb-actions button{width:100%}}
