/* THINKORA V23.13 — chained pop-up workflow and structured question review. */
.wf24-intro{max-width:820px;margin:clamp(14px,3vw,40px) auto;padding:clamp(20px,4vw,42px)!important}
.wf24-intro h2{font-size:clamp(24px,4vw,38px);line-height:1.18;margin:12px 0}
.wf24-intro p{max-width:650px;line-height:1.65}
.wf24-intro-actions{display:flex;flex-wrap:wrap;gap:12px;margin:26px 0 16px}
.wf24-intro-actions>.btn{flex:1 1 240px}
.modal-shade:has(.wf24-modal){z-index:5000;overscroll-behavior:contain;align-items:center;padding:clamp(8px,2.5vw,20px);padding-bottom:max(12px,env(safe-area-inset-bottom,0px))}
.modal:has(.wf24-modal){box-sizing:border-box;width:min(100%,680px);max-width:680px;max-height:min(92dvh,900px);overflow:auto;overscroll-behavior:contain;border-radius:clamp(18px,4vw,28px);padding:clamp(15px,3vw,30px)!important;box-shadow:0 20px 85px #092a3155}
.wf24-modal{display:flex;flex-direction:column;gap:14px;min-width:0}
.wf24-modal .wf24-top{display:flex;align-items:center;justify-content:space-between;gap:12px}
.wf24-modal .wf24-top .btn{min-width:44px;min-height:44px;flex:none}
.wf24-progress{font-size:12px;font-weight:800;color:#50726c;display:grid;gap:8px}
.wf24-meter{width:100%;height:7px;background:#dce9e4;border-radius:30px;overflow:hidden}
.wf24-meter i{display:block;height:100%;border-radius:30px;background:linear-gradient(90deg,#168476,#d4b16a);transition:width .18s ease}
.wf24-modal h2{font-size:clamp(22px,4vw,30px);line-height:1.24;letter-spacing:-.4px;margin:5px 0 6px;color:#123d34;overflow-wrap:anywhere}
.wf24-content{min-width:0;max-height:min(56dvh,530px);overflow:auto;overscroll-behavior:contain;padding:3px 1px 8px;scrollbar-width:thin}
.wf24-input-label,.wf24-search-label{display:block;font-weight:750;font-size:14px;margin-bottom:10px;color:#254d45}
.wf24-content input,.wf24-content textarea{display:block;width:100%;max-width:100%;min-width:0;box-sizing:border-box;font:inherit;font-size:16px;min-height:52px;border:1.5px solid #bfd3cc;border-radius:15px;padding:12px 16px;background:#fff;color:#143c35}
.wf24-content textarea{resize:vertical;min-height:130px}
.wf24-content input:focus,.wf24-content textarea:focus{outline:3px solid #bedfd5;border-color:#147c69}
.wf24-choices{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;min-width:0}
.wf24-choice{position:relative;min-width:0;min-height:62px;display:flex;flex-direction:column;align-items:flex-start;justify-content:center;text-align:left;gap:6px;padding:12px 15px;border:1.5px solid #d6e4dd;background:linear-gradient(145deg,#fff,#f8fcf9);border-radius:15px;font:inherit;color:#164339;cursor:pointer;transition:transform .12s ease,border-color .12s ease,background .12s ease;overflow-wrap:anywhere}
.wf24-choice:not(:disabled):active{transform:scale(.975)}
.wf24-choice:hover,.wf24-choice:focus-visible,.wf24-choice.is-picked{border-color:#0c806e;background:#ecf8f3}
.wf24-choice .wf24-choice-label{font-weight:800;font-size:14px;line-height:1.35}
.wf24-choice small{font-size:12px;font-weight:450;line-height:1.4;color:#657a74}
.wf24-choice b{position:absolute;top:7px;right:9px;color:#0b8768;font-size:16px}
.wf24-choice[hidden]{display:none!important}
.wf24-note{font-size:13px;color:#637a72;line-height:1.55;margin:10px 0 0}
.wf24-empty{padding:16px;border:1px dashed #d6b98b;background:#fcf6eb;border-radius:14px;margin:10px 0}
.wf24-actions{display:flex;align-items:center;justify-content:space-between;gap:10px;border-top:1px solid #e6eee9;padding-top:15px;flex-wrap:wrap}
.wf24-actions .btn{flex:0 1 auto;min-height:48px}
.wf24-actions .btn.primary{flex:1 1 175px}
.wf24-summary{display:grid;gap:10px}
.wf24-summary>div{padding:12px 15px;background:#f3f9f6;border-radius:13px;display:grid;gap:4px}
.wf24-summary small{color:#658277;font-size:12px}
.wf24-summary b{font-size:14px;overflow-wrap:anywhere}
.aiq24-review{max-height:min(55vh,520px);overflow:auto;overscroll-behavior:contain;display:grid;gap:12px;padding:4px}
.aiq24-item{border:1px solid #d5e4dc;background:#fbfffc;padding:14px;border-radius:13px;break-inside:avoid}
.aiq24-item strong,.aiq24-item p,.aiq24-item li{overflow-wrap:anywhere}
.aiq24-item ol{margin:10px 0;padding-left:28px}
.aiq24-item li{margin:5px 0}
@media(max-width:540px){
 .modal-shade:has(.wf24-modal){padding:8px;align-items:center}
 .modal:has(.wf24-modal){max-height:calc(100dvh - 22px);border-radius:22px;padding:16px!important}
 .wf24-choices{grid-template-columns:1fr}
 .wf24-content{max-height:50dvh}
 .wf24-modal h2{font-size:23px}
 .wf24-choice{min-height:54px}
 .wf24-actions .btn{font-size:13px;min-height:48px}
}
@media(prefers-reduced-motion:reduce){.wf24-choice,.wf24-meter i{transition:none}}

.modal .bank-item{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.modal .bank-item>span{flex:1 1 190px;min-width:0;overflow-wrap:anywhere}
.modal .bank-item .btn{min-height:42px}
