/* Workfloosh role-play demos. Isolated to .iv-* inside the existing .sw-widget area. */
.iv-shell{background:white;border:1px solid #cfdfd5;border-radius:18px;overflow:hidden;box-shadow:0 17px 44px rgba(14,54,43,.09)}
.iv-banner{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:7px;padding:14px 22px;background:#fff2d9;border-bottom:1px solid #e7d4ab;color:#6b4c1c}
.iv-banner strong{font-size:12px;letter-spacing:.09em;font-weight:900}
.iv-banner span{font-size:11px;color:#785d32;line-height:1.5}
.iv-top{display:flex;align-items:center;justify-content:space-between;gap:14px;background:#10323a;color:#e6faee;padding:17px 23px}
.iv-top strong{font-size:14px;line-height:1.5}
.iv-top span{font-size:10px;letter-spacing:.06em;white-space:nowrap;color:#c4e5d5;border:1px solid #70968b;border-radius:25px;padding:7px 10px;font-weight:850}
.iv-role{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:5px 12px;padding:15px 23px;background:#edf7f0;border-bottom:1px solid #d9e8de}
.iv-role strong{color:#25583b;font-size:12px;font-weight:850}
.iv-role span{font-size:12px;color:#688575}
.iv-body,.iv-report{padding:28px clamp(17px,5%,45px) 28px}
.iv-body[hidden],.iv-report[hidden]{display:none!important}
.iv-progress{display:flex;justify-content:space-between;gap:13px;align-items:center;color:#336b4a;margin-bottom:10px;font-size:12px}
.iv-progress strong{font-weight:850}
.iv-progress span{color:#6d8578;text-align:right}
.iv-track{display:grid;grid-template-columns:repeat(5,1fr);gap:7px;margin-bottom:28px}
.iv-track span{height:6px;background:#e2eee6;border-radius:10px}
.iv-track span.active{background:#4ba877}
.iv-chat{display:flex;flex-direction:column;gap:16px}
.iv-message{display:flex;gap:10px;align-items:flex-start;max-width:93%}
.iv-message.iv-human{align-self:flex-end;flex-direction:row-reverse}
.iv-avatar{width:34px;height:34px;border-radius:50%;flex:none;display:grid;place-items:center;background:#d5ebdc;color:#225c3b;font-size:17px;font-weight:900}
.iv-human .iv-avatar{background:#dce9f3;color:#36607a}
.iv-bubble{background:#f1f8f3;border:1px solid #d8e8df;border-radius:5px 13px 13px 13px;padding:16px 17px;min-width:0}
.iv-human .iv-bubble{background:#eaf2f7;border-color:#d2e2ec;border-radius:13px 5px 13px 13px}
.iv-bubble small{display:block;font-weight:850;color:#377655;letter-spacing:.06em;font-size:10px;margin-bottom:7px;line-height:1.5}
.iv-human .iv-bubble small{color:#456d87}
.iv-bubble p{font-size:16px;color:#193d2c;line-height:1.58;font-weight:650;margin:0;overflow-wrap:anywhere}
.iv-human .iv-bubble p{font-size:14px;color:#2a4c5d}
.iv-history{border:1px solid #e0e9e2;border-radius:10px;padding:11px 14px;background:#fbfdfa;margin-bottom:2px}
.iv-history summary{font-size:12px;color:#4c785a;font-weight:800;cursor:pointer}
.iv-history-body{margin-top:14px;padding-top:14px;border-top:1px solid #e2ece5;display:flex;flex-direction:column;gap:12px}
.iv-history-body .iv-message{max-width:100%}
.iv-history-body .iv-bubble p{font-size:13px}
.iv-followup{font-size:10px;color:#805b21;letter-spacing:.05em;font-weight:850;align-self:flex-start;background:#fff5dc;border:1px solid #ead49c;border-radius:30px;padding:8px 12px;margin-left:44px;max-width:calc(100% - 44px)}
.iv-hint{font-size:13px;color:#698476;line-height:1.65;margin:18px 0 14px}
.iv-choices{display:grid;gap:10px}
.iv-choice{background:#fff!important;border:1px solid #d7e5db;border-radius:11px;color:#183e2e!important;display:flex;gap:13px;align-items:center;text-align:left;width:100%;padding:14px 16px;min-height:56px;font-size:14px;font-weight:650;line-height:1.5;cursor:pointer}
.iv-choice:hover{border-color:#6cac82;background:#f4faf5!important}
.iv-choice[aria-pressed="true"]{border:2px solid #298757;padding:13px 15px;background:#eaf8ee!important}
.iv-radio{width:19px;height:19px;border:2px solid #bbd1c3;border-radius:50%;flex:none;display:grid;place-items:center}
.iv-choice[aria-pressed="true"] .iv-radio{border-color:#287b50}
.iv-choice[aria-pressed="true"] .iv-radio:after{content:"";width:9px;height:9px;background:#287b50;border-radius:50%}
.iv-controls{display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap;align-items:center;margin-top:24px}
.iv-back,.iv-next{display:inline-flex;align-items:center;justify-content:center;padding:13px 19px;border-radius:9px;text-decoration:none;font-size:13px;font-weight:800;line-height:1.45;cursor:pointer}
.iv-back{background:#fff;color:#38634e;border:1px solid #cadbd0}
.iv-back:disabled{opacity:.4;cursor:default}
.iv-next{background:#216b47;color:#fff;border:1px solid #216b47;margin-left:auto}
.iv-next:hover:not(:disabled){background:#155437}
.iv-next:disabled{background:#eaf1eb;color:#91a99a;border-color:#eaf1eb;cursor:default}
.iv-choice:focus-visible,.iv-back:focus-visible,.iv-next:focus-visible{outline:3px solid #5bc486;outline-offset:2px}
.iv-disclaimer{color:#6a8475;font-size:11px;line-height:1.65;margin:20px 0 0}
.iv-result-head{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap;margin-bottom:16px}
.iv-result-head strong{font-size:11px;letter-spacing:.07em;color:#327a52}
.iv-result-head span{font-size:10px;letter-spacing:.03em;color:#825a13;background:#fff3d9;border:1px solid #ebd3a5;border-radius:20px;padding:7px 10px;font-weight:850}
.iv-result-title{font-size:clamp(25px,3.2vw,35px);color:#193f31;letter-spacing:-.035em;line-height:1.17;margin:0 0 11px}
.iv-result-desc{color:#597669;line-height:1.75;font-size:14px;margin:0 0 21px}
.iv-status{display:grid;gap:5px;border-left:4px solid #4aa876;background:#edf7ee;padding:16px 18px;border-radius:0 10px 10px 0;margin-bottom:24px}
.iv-status small{font-weight:900;font-size:10px;letter-spacing:.1em;color:#397e56}
.iv-status strong{font-size:16px;color:#265c40}
.iv-compare{background:#fff9ed;border:1px solid #ebd6ae;border-radius:12px;padding:19px;margin:22px 0}
.iv-compare h4,.iv-map h4{font-size:16px;color:#254b3a;margin:0 0 8px}
.iv-compare>p{color:#836e48;font-size:12px;line-height:1.6;margin:0 0 15px}
.iv-compare-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.iv-compare-card{background:#fff;border:1px solid #cfe4d5;border-radius:10px;padding:16px;min-width:0}
.iv-compare-card.iv-fake{border-color:#e9d1a3}
.iv-compare-card small{display:block;color:#3f805b;font-size:10px;font-weight:900;line-height:1.55;margin-bottom:8px}
.iv-compare-card.iv-fake small{color:#876d3d}
.iv-compare-card p{font-size:15px;color:#244636;line-height:1.55;font-weight:700;margin:0}
.iv-verdict{margin-top:13px;padding:12px 14px;font-size:13px;font-weight:800;line-height:1.6;border-radius:9px;background:#fff0d7;color:#815625}
.iv-map{margin:23px 0}
.iv-nodes{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin-top:14px}
.iv-node{background:#f0f8f3;border:1px solid #cfe3d5;border-radius:10px;padding:15px 12px;display:grid;align-content:start;gap:8px;min-width:0}
.iv-node.iv-focus{background:#fff5e9;border-color:#e9cba2}
.iv-node small{color:#4a9367;font-weight:850;font-size:10px}
.iv-node strong{color:#24543a;font-size:14px;line-height:1.35}
.iv-node p{color:#5e7566;font-size:12px;line-height:1.5;overflow-wrap:anywhere}
.iv-result-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin:21px 0}
.iv-panel{background:#fbfdfb;border:1px solid #dce8df;border-radius:12px;padding:20px;min-width:0}
.iv-panel.iv-panel-next{background:#edf7f0;border-color:#cce1d2}
.iv-panel h4{color:#275d41;font-size:15px;line-height:1.4;margin:0 0 13px}
.iv-panel ul,.iv-panel ol{padding-left:20px;margin:0}
.iv-panel li{color:#4c6c58;font-size:13px;line-height:1.75;margin-bottom:9px}
.iv-lesson{font-size:14px;color:#665326;line-height:1.7;background:#fff9e9;border-left:4px solid #e2bf68;padding:16px 18px;border-radius:0 9px 9px 0}
.iv-recap{border:1px solid #dae8de;padding:13px 17px;border-radius:10px;margin-top:18px}
.iv-recap summary{font-size:13px;font-weight:800;color:#286447;cursor:pointer}
.iv-recap-list{margin-top:13px}
.iv-recap-row{display:flex;gap:15px;border-top:1px solid #e2ece5;padding:10px 0}
.iv-recap-row strong,.iv-recap-row span{flex:1;font-size:12px;line-height:1.5}
.iv-recap-row strong{color:#577267}
.iv-recap-row span{color:#1b4935;font-weight:750}
.iv-end{justify-content:flex-start}
.iv-end .iv-next{margin-left:0}
@media(max-width:750px){.iv-result-grid{grid-template-columns:1fr}.iv-nodes{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:520px){
 .iv-banner,.iv-top,.iv-role{padding:13px 14px}
 .iv-banner strong{font-size:11px}
 .iv-banner span{font-size:10px}
 .iv-top strong{font-size:12px}
 .iv-top span{font-size:9px}
 .iv-body,.iv-report{padding:19px 15px}
 .iv-message{max-width:100%;gap:8px}
 .iv-avatar{width:28px;height:28px;font-size:14px}
 .iv-bubble{padding:12px}
 .iv-bubble p{font-size:14px}
 .iv-followup{margin-left:36px;max-width:calc(100% - 36px)}
 .iv-compare-grid,.iv-nodes{grid-template-columns:1fr}
 .iv-node{gap:5px}
 .iv-back,.iv-next{padding:11px 12px;font-size:12px}
 .iv-recap-row{flex-direction:column;gap:5px}
}