/* Viewport workspace. Every answer remains visible; no answer pagination. */
body.wd-flow {height:var(--wd-viewport,100dvh);min-height:0;overflow:hidden;}
.wd-flow .flow-header {flex-shrink:0;}
.wd-briefing {display:flex;flex-direction:column;}
.wd-briefing .app {flex:1;min-height:0;display:flex;flex-direction:column;margin:14px auto;width:min(1120px,calc(100% - 32px));}
.wd-flow .flow-intro {flex-shrink:0;margin-bottom:14px;}
.wd-flow .flow-intro h1 {font-size:1.5rem;margin:.3rem 0;}
.wd-briefing .flow-brief-grid {flex:1;min-height:0;position:relative;grid-template-rows:minmax(0,1fr);}
.wd-briefing .flow-brief-rail {min-height:0;overflow:auto;}
.wd-briefing .question-card {min-height:0;display:flex;flex-direction:column;padding:20px 24px 14px;}
.wd-briefing #questionView:not([style*="none"]) {display:flex!important;}
.wd-briefing .question-stage {flex:1;min-height:0;overflow:auto;overscroll-behavior:contain;padding:2px 3px;}
.wd-flow .question-head h2 {font-size:clamp(1.2rem,2vw,1.65rem);margin:.5rem 0;}
.wd-flow .question-help {margin-bottom:14px;}
.wd-flow .options {gap:10px;margin-bottom:12px;}
.wd-flow .option,.wd-flow .option:last-child:nth-child(odd) {min-height:76px;padding:11px 13px;}
.wd-flow .actions {flex-shrink:0;flex-wrap:nowrap;gap:8px;margin-top:12px;padding-top:12px;}
.wd-flow .actions-left {display:flex;width:auto;flex-wrap:nowrap;gap:6px;}
.wd-flow .actions-right {width:auto;flex:0 0 auto;}
.wd-flow .actions .btn {font-size:.8rem;min-height:44px;padding:8px 12px;white-space:normal;width:auto;line-height:1.3;}
.wd-flow .extra-box {padding:10px;margin-bottom:8px;}
.wd-flow .extra-box textarea {min-height:70px;}
.wd-flow .wd-flow-tabs button[aria-selected=true] {border-color:var(--flow-accent);background:rgba(157,53,220,.15);}
.wd-flow [data-flow-hidden] {display:none!important;}
.wd-flow .wd-flow-tabs {flex-shrink:0;flex-wrap:wrap;}
.wd-flow .wd-flow-tabs {display:flex;align-items:center;gap:8px;margin:10px 0;}
.wd-flow .wd-flow-tabs button {font:inherit;font-size:.85rem;min-height:44px;padding:8px 12px;border:1px solid var(--flow-line);border-radius:12px;background:var(--flow-soft);color:var(--flow-text);cursor:pointer;}
.wd-flow .finish[style*="block"] {display:flex!important;flex-direction:column;min-height:0;padding:20px 24px 14px;}
.wd-flow .finish>h2 {font-size:1.25rem;flex-shrink:0;}
.wd-flow .finish>p {font-size:.8rem;margin:5px 0;}
.wd-flow .wd-finish-workspace {flex:1;min-height:0;overflow:auto;overscroll-behavior:contain;}
.wd-flow .finish .contact-grid {margin-top:8px;gap:12px;}
.wd-flow .finish .summary-list {margin-top:8px;}
.wd-flow .finish-actions {flex-shrink:0;padding-top:12px;margin-top:12px;gap:8px;}
.wd-flow .finish-actions .btn {font-size:.8rem;min-height:44px;padding:8px 12px;}
.wd-flow .finish>.section-label {display:none;}
.wd-flow .flow-finish-help {position:relative;font-size:.8rem;color:var(--flow-muted);flex-shrink:0;}
.wd-flow .flow-finish-help>summary {min-height:36px;cursor:pointer;display:flex;align-items:center;}
.wd-flow .flow-finish-help[open]>p {position:absolute;z-index:6;top:36px;left:0;right:0;padding:16px;background:var(--flow-panel);border:1px solid var(--flow-line);border-radius:12px;box-shadow:0 12px 35px #0004;max-height:200px;overflow:auto;}
.wd-flow .finish .muted-note {margin-top:8px;font-size:.75rem;}
.wd-request .request-page {height:100%;min-height:0;padding:calc(var(--wd-header-size,76px) + 12px) 0 12px;}
.wd-request .request-page__stage {height:100%;min-height:0;}
.wd-request .request-shell {height:100%;width:min(1120px,calc(100% - 32px));}
.wd-request .request-app {height:100%;min-height:0;position:relative;grid-template-rows:auto auto minmax(0,1fr) auto;}
.wd-request .request-app__top {margin-bottom:12px;}
.wd-request .request-headline h1 {font-size:1.6rem;margin:.3rem 0;}
.wd-request .request-headline p {font-size:.8rem;}
.wd-request .flow-request-steps {margin-bottom:12px;padding:10px 16px;}
.wd-request .request-app__body {min-height:0;overflow:auto;overscroll-behavior:contain;padding:18px 20px 0;}
.wd-request .request-screen__head {margin-bottom:12px;}
.wd-request .request-screen__head h2 {font-size:1.35rem;}
.wd-request .request-card,.wd-request .request-focus-card {min-height:90px;padding:13px 15px;gap:5px;}
.wd-request .request-app__bottom {padding:10px 20px 14px;}
.wd-request .request-note {margin-bottom:8px;font-size:.8rem;}
.wd-request .request-note:not(.is-error):not(.is-success) {position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;}
.wd-request .request-actions {padding-top:10px;flex-wrap:nowrap;}
.wd-request .request-actions .btn {min-height:44px;min-width:0;font-size:.85rem;}
.wd-request .request-summary {min-height:0;overflow:auto;}
.wd-request .request-input,.wd-request .request-select,.wd-request .request-textarea,.wd-briefing .input {font-size:16px;padding:9px 12px;}
.wd-request .request-form-grid {gap:12px;}
.wd-request .request-textarea {min-height:100px;}
@media(max-width:800px) {
 .wd-flow .flow-header {min-height:60px;padding:8px 12px;}
 .wd-flow .flow-header .focus-btn {width:44px;min-width:44px;padding:0;font-size:0;gap:0;}
 .wd-flow .flow-header .focus-btn::before {margin:0;flex-shrink:0;}
 .wd-briefing .app {margin:10px auto;width:calc(100% - 20px);}
 .wd-flow .flow-intro {margin-bottom:10px;}
 .wd-flow .flow-intro h1 {font-size:1.15rem;}
 .wd-flow .flow-intro p,.wd-flow .flow-saved {display:none;}
 .wd-briefing .flow-brief-grid {grid-template-rows:44px minmax(0,1fr);}
 .wd-briefing .flow-brief-rail {overflow:visible;}
 .wd-briefing .flow-brief-rail>summary {height:44px;padding:8px 14px;}
 .wd-briefing .flow-brief-rail[open] .flow-rail-inner {position:absolute;z-index:5;inset:44px 0 0;height:auto;overflow:auto;background:var(--flow-panel);border-radius:0 0 20px 20px;}
 .wd-briefing .question-card,.wd-flow .finish[style*="block"] {grid-row:2;padding:12px 14px;}
 .wd-flow .question-head {display:block;}
 .wd-flow .badge {display:none;}
 .wd-flow .question-help {font-size:.82rem;margin-bottom:12px;line-height:1.45;}
 .wd-flow .option,.wd-flow .option:last-child:nth-child(odd) {min-height:70px;padding:10px 12px;}
 .wd-flow .option>span:not(.option-mark) {font-size:.8rem;line-height:1.4;}
 .wd-flow .actions-left #btnClear {font-size:.72rem;}
 .wd-flow .actions .btn {padding:8px 9px;font-size:.78rem;}
 .wd-flow .actions-right .btn {width:auto;}
 .wd-flow .finish .contact-grid {grid-template-columns:1fr 1fr;}
 .wd-flow .finish .contact-grid .full {grid-column:1/-1;}
 .wd-flow .finish .contact-grid label.section-label {font-size:14px;line-height:1.35;letter-spacing:0;}
 .wd-flow .finish-actions {display:grid;grid-template-columns:1fr 1fr;gap:6px;}
 .wd-flow .finish-actions .btn {font-size:.72rem;padding:7px;min-width:0;width:100%;gap:5px;}
 .wd-flow .finish-actions .btn::before {flex-shrink:0;}
 .wd-flow .flow-finish-help #btnResetAll {display:flex;margin-top:12px;font-size:.8rem;min-height:44px;}
 .wd-flow .finish-actions #btnResetAll {grid-column:1/-1;justify-self:center;}
 .wd-request .request-page {padding-top:calc(var(--wd-header-size,74px) + 8px);padding-bottom:8px;}
 .wd-request .request-shell {width:calc(100% - 20px);}
 .wd-request .request-app {grid-template-rows:auto auto minmax(0,1fr) auto;}
 .wd-request .request-app__top {display:flex;gap:10px;margin-bottom:10px;}
 .wd-request .request-headline h1 {font-size:1.25rem;}
 .wd-request .request-headline p,.wd-request .request-context-chip {display:none;}
 .wd-request .request-status {margin:0;min-width:95px;max-width:120px;font-size:.72rem;}
 .wd-request .request-status__row {gap:4px;flex-direction:column;}
 .wd-request .flow-request-steps {margin-bottom:10px;padding:8px;}
 .wd-request .flow-request-step {gap:4px;font-size:.7rem;}
 .wd-request .request-summary {position:absolute;right:0;top:0;z-index:5;grid-row:auto;margin:0;border-radius:14px;background:var(--flow-panel);max-height:100%;width:min(320px,100%);box-shadow:0 18px 45px #0003;}
 .wd-request .request-summary:not([open]) {position:static;grid-row:3;grid-column:1;justify-self:end;align-self:start;transform:translateY(-1px);z-index:2;width:auto;max-width:80%;}
 .wd-request .request-summary:not([open])>summary {padding:5px 10px;font-size:.68rem;min-height:28px;}
 .wd-request .request-summary[open]>summary {min-height:44px;}
 .wd-request .request-app__body {grid-row:3;padding:36px 14px 0;border-radius:18px 18px 0 0;}
 .wd-request .request-app__bottom {grid-row:4;padding:10px 14px;border-radius:0 0 18px 18px;}
 .wd-request .request-cards,.wd-request .request-focus-list {gap:9px;}
 .wd-request .request-card,.wd-request .request-focus-card {min-height:78px;padding:10px 12px;}
 .wd-request .request-card>span,.wd-request .request-focus-card>span {font-size:.8rem;line-height:1.4;}
 .wd-request .request-actions #nextBtn {min-width:0;order:0;}
 .wd-request .request-actions #backBtn {order:0;}
 .wd-request .request-form-grid {grid-template-columns:1fr;}
 .wd-request .request-textarea {min-height:90px;}
 .wd-flow .wd-flow-tabs {gap:6px;margin:8px 0;}
 .wd-flow .wd-flow-tabs button {font-size:.78rem;padding:8px 10px;}
}
@media(max-height:650px) {
 .wd-flow .flow-intro,.wd-request .request-eyebrow,.wd-request .request-screen__head p {display:none;}
 .wd-flow .question-head h2 {font-size:1.1rem;}
 .wd-flow .question-help {margin-bottom:8px;}
 .wd-request .request-app__top {margin-bottom:6px;}
 .wd-request .request-headline h1 {font-size:1.1rem;}
}
/* r80: clear question layout, all five answers, two plain navigation buttons. */
.wd-briefing .question-head {display:flex;align-items:start;gap:10px;}
.wd-briefing .question-head>div:first-child {flex:1;min-width:0;}
.wd-flow #btnClear::before,.wd-flow #btnClear::after {content:none!important;display:none!important;}
.wd-flow .actions {display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.5fr);gap:12px;padding-top:14px;margin-top:12px;}
.wd-flow .actions-left,.wd-flow .actions-right {display:contents;}
.wd-flow .actions .btn {width:100%;min-width:0;}
.wd-flow #btnClear {flex:0 0 40px;width:40px;height:40px;min-height:40px;min-width:0;padding:0;border:1px solid var(--flow-line);border-radius:11px;background:var(--flow-soft);color:var(--flow-muted);font:24px/1 sans-serif;box-shadow:none;}
.wd-briefing .option-mark {width:20px;height:20px;border-radius:50%;font-size:12px;}
.wd-briefing .option {grid-template-columns:20px minmax(0,1fr);gap:3px 10px;}
.wd-briefing .option.active .option-mark {background:#9435cf;border-color:#c78bec;color:#fff;}
@media(max-width:800px) {
 .wd-briefing .flow-intro {display:none;}
 .wd-briefing .flow-header {height:56px;min-height:56px;padding-block:6px;}
 .wd-briefing .app {margin:8px auto;width:calc(100% - 20px);}
 .wd-briefing .flow-brief-grid {grid-template-rows:36px minmax(0,1fr);border-radius:20px;}
 .wd-briefing .flow-brief-rail>summary {height:36px;min-height:36px;padding:6px 14px;font-size:12px;}
 .wd-briefing .flow-brief-rail[open] .flow-rail-inner {top:36px;}
 .wd-briefing .question-card {padding:12px;}
 .wd-briefing .question-head h2 {font-size:20px;line-height:1.2;margin:6px 0 8px;}
 .wd-briefing .question-head>div {width:auto;}
 .wd-briefing #sectionLabel {font-size:11px;line-height:1.4;}
 .wd-briefing .question-help {font-size:14px;line-height:1.4;margin:0 0 12px;}
 .wd-briefing .options {grid-template-columns:minmax(0,1fr);gap:8px;margin:0;}
 .wd-briefing .option,.wd-briefing .option:last-child:nth-child(odd) {min-height:58px;padding:9px 12px;}
 .wd-briefing .option>strong {font-size:15px;line-height:1.25;}
 .wd-briefing .option>span:not(.option-mark) {font-size:14px;line-height:1.3;}
 .wd-briefing .actions {margin-top:10px;padding-top:12px;}
 .wd-flow .actions .btn {font-size:15px;padding:10px 14px;min-height:48px;}
 .wd-briefing .extra-box {margin:10px 0 0;}
}
@media(max-width:800px) and (max-height:700px) {
 .wd-briefing .options {grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;}
 .wd-briefing .option,.wd-briefing .option:last-child:nth-child(odd) {grid-template-columns:minmax(0,1fr);gap:4px;min-height:0;padding:9px 10px;}
 .wd-briefing .option>strong,.wd-briefing .option>span:not(.option-mark) {grid-column:1;}
 .wd-briefing .option-mark {display:none;}
 .wd-briefing .option.active {box-shadow:inset 3px 0 0 var(--flow-accent);}
 .wd-briefing .option>strong {font-size:14px;line-height:1.25;}
 .wd-briefing .option>span:not(.option-mark) {font-size:13px;line-height:1.3;}
 .wd-briefing .question-head h2 {font-size:18px;}
 .wd-briefing .question-help {font-size:13px;margin-bottom:9px;}
 .wd-briefing #sectionLabel {display:none;}
}
.wd-briefing .question-info {display:none;}
.wd-briefing .flow-header #btnClear {flex:0 0 40px;width:40px;height:40px;min-height:40px;font-size:23px;}
@media(max-width:800px) and (max-height:700px) {
 .wd-briefing .question-info {display:grid;place-items:center;flex:0 0 36px;width:36px;height:36px;padding:0;border:1px solid var(--flow-line);border-radius:50%;font:italic 18px Georgia,serif;color:var(--flow-muted);background:var(--flow-soft);}
 .wd-briefing .question-help {display:none;}
 .wd-briefing .question-card {position:relative;}
 .wd-briefing .question-help.is-open {display:block;position:absolute;z-index:6;top:68px;left:12px;right:12px;padding:14px;background:var(--flow-panel);border:1px solid var(--flow-line);border-radius:12px;box-shadow:0 12px 32px #0004;}
 .wd-briefing .question-head h2 {margin-bottom:12px;}
}
.wd-briefing .flow-intro {display:none;}
.wd-briefing .briefing-progress {width:min(1120px,calc(100% - 32px));margin:12px auto 0;flex-shrink:0;}
.wd-briefing .briefing-progress__row {display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:8px;font-size:13px;color:var(--flow-muted);}
.wd-briefing .briefing-progress__row>span:first-child {font-family:Nasalization,sans-serif;font-size:11px;letter-spacing:.025em;color:var(--flow-accent);}
.wd-briefing .briefing-progress .progress-meta {display:block;font-size:13px;}
.wd-briefing .briefing-progress .progress-track {height:5px;background:var(--flow-line);border-radius:999px;overflow:hidden;}
.wd-briefing .briefing-progress .progress-fill {height:100%;display:block;background:linear-gradient(90deg,#8200cd,#d19af4);transition:width .3s;}
.wd-briefing .flow-header {height:64px;min-height:64px;padding-inline:max(16px,calc((100% - 1120px)/2));}
.wd-briefing .flow-header-actions {gap:8px;flex-wrap:nowrap;align-items:center;}
.wd-briefing .flow-header :is(.flow-home,.flow-theme,#btnClear,#btnFocusMode) {display:grid;place-items:center;width:40px;height:40px;min-height:40px;flex:0 0 40px;padding:0;border:1px solid var(--flow-line);border-radius:50%;background:var(--flow-soft);color:var(--flow-text);box-shadow:none;line-height:1;}
.wd-briefing .flow-header .flow-home>span {display:none;}
.wd-briefing .flow-header #btnFocusMode {font-size:0;}
.wd-briefing .flow-header #btnFocusMode::before {width:24px;height:24px;flex-basis:24px;background-size:16px 16px;}
.wd-briefing .flow-header #btnFocusMode::after {display:none;}
.wd-briefing .flow-header #btnClear[hidden] {display:none!important;}
.wd-flow :is(.actions,.request-actions,.finish-actions) .btn {border-radius:999px;background:var(--wd-public-btn-surface);border:1px solid color-mix(in srgb,var(--wd-public-btn-turquoise) 28%,var(--wd-public-btn-border));color:var(--wd-public-btn-text);justify-content:center;gap:10px;padding:7px 14px 7px 8px;font-size:15px;min-width:0;min-height:48px;line-height:1.2;}
.wd-flow :is(.actions,.request-actions,.finish-actions) .btn::before {content:''!important;display:block!important;flex:0 0 28px;width:28px;height:28px;border-radius:50%;background-color:var(--wd-public-btn-icon-bg);background-image:var(--wd-public-btn-logo);background-size:18px 18px;background-position:center;background-repeat:no-repeat;}
.wd-flow :is(.actions,.request-actions,.finish-actions) .btn.btn--primary {background:linear-gradient(135deg,var(--wd-public-btn-accent),var(--wd-public-btn-accent-2));border-color:rgba(255,255,255,.22);color:#fff;}
.wd-flow :is(.actions,.request-actions,.finish-actions) .btn.btn--primary::before {background-color:#fff;--wd-public-btn-logo:url('/assets/content/img/WD-main-black.svg');}
.wd-flow .actions {grid-template-columns:minmax(0,1fr) minmax(0,1fr);}
.wd-flow .actions #btnPrev {background:var(--wd-public-btn-surface);color:var(--wd-public-btn-text);}
@media(max-width:800px) {
 .wd-briefing .flow-header {height:56px;min-height:56px;padding:6px 12px;}
 .wd-briefing .flow-brand img {width:44px;height:28px;}
 .wd-briefing .briefing-progress {width:calc(100% - 28px);margin-top:8px;}
 .wd-briefing .briefing-progress__row {margin-bottom:6px;font-size:12px;line-height:1.25;}
 .wd-briefing .briefing-progress .progress-meta {font-size:12px;}
 .wd-briefing .flow-brief-rail {display:none;}
 .wd-briefing .flow-brief-grid {grid-template-rows:minmax(0,1fr);}
 .wd-briefing .question-card,.wd-briefing .finish {grid-row:1;}
 .wd-briefing .flow-header .flow-brand span {display:none;}
 .wd-briefing .actions .btn {padding:7px 10px 7px 7px;font-size:14px;gap:8px;}
}
.wd-briefing .flow-header #btnFocusMode {display:flex;align-items:center;justify-content:center;gap:0;}
.wd-briefing .flow-header :is(.flow-home,.flow-theme,#btnClear) {display:flex;align-items:center;justify-content:center;gap:0;line-height:0;} .wd-briefing .flow-header :is(.flow-home,.flow-theme,#btnClear)>svg {display:block;flex:0 0 18px;width:18px;height:18px;margin:0;}
