.how-it-works{width:min(1120px,calc(100% - 40px));height:min(860px,calc(100dvh - 40px));max-height:calc(100dvh - 40px);padding:30px 36px 0;overflow:hidden;scrollbar-gutter:stable;display:none;flex-direction:column;border-radius:22px;background:#fff;isolation:isolate}
.how-it-works[open]{display:flex;animation:hiw-enter .32s cubic-bezier(.2,.8,.2,1)}
.how-it-works::backdrop{background:#102c3b99;backdrop-filter:blur(6px)}
.hiw-top{flex-shrink:0;align-items:flex-start}.hiw-top .eyebrow{font-size:.64rem;margin-bottom:7px}.hiw-top h2{font-size:1.85rem;margin:0;letter-spacing:-.045em}.hiw-top>button{padding:4px 0 4px 16px}
#hiw-description{font-size:.8rem;color:var(--muted);margin:8px 0 24px}
.hiw-stages{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));flex-shrink:0;border-bottom:1px solid var(--line);padding-bottom:21px;margin-bottom:24px;gap:8px;overflow-x:auto}
.hiw-stages button{position:relative;border:0;background:none;padding:0;min-height:69px;display:flex;flex-direction:column;align-items:flex-start;justify-content:flex-start;gap:9px;color:#637985;border-radius:0;text-align:left}
.hiw-stages button:after{content:'';position:absolute;left:37px;right:0;top:15px;height:1px;background:#dce5e8}.hiw-stages button:last-child:after{display:none}.hiw-stages button>span{display:grid;place-items:center;border:1px solid #d8e1e6;border-radius:50%;height:30px;width:30px;background:#fff;font-size:.7rem;transition:background .25s,color .25s,box-shadow .25s}.hiw-stages strong{font-size:.72rem;font-weight:550;line-height:1.4;max-width:128px}.hiw-stages [aria-current=step]>span{color:#fff;background:var(--ink);border-color:var(--ink);box-shadow:0 0 0 4px #e7eff0}.hiw-stages [aria-current=step] strong{color:var(--ink);font-weight:750}.hiw-stages .hiw-passed>span{background:#e7f1ef;border-color:#c5dcd7;color:#39746b}
.hiw-body{flex:1;min-width:0;min-height:0;overflow-y:auto;padding-right:4px;scrollbar-width:thin}.hiw-stage-heading{min-height:76px}.hiw-stage-heading .eyebrow{font-size:.64rem;margin-bottom:7px;color:#71838b}.hiw-stage-heading h3{font-size:clamp(1.3rem,2.3vw,1.7rem);letter-spacing:-.035em;font-weight:650;line-height:1.3;margin:0 0 8px}.hiw-stage-heading h3:focus{outline:none}.hiw-policy{font-size:.73rem;color:var(--muted);margin:0 0 18px}
.hiw-unfold{display:grid;grid-template-columns:minmax(0,.94fr) minmax(0,1.06fr);gap:30px;align-items:start;flex:1;min-width:0}.hiw-procedures{display:grid;gap:7px}.hiw-procedure{border:1px solid transparent;border-bottom-color:#edf1f3;border-radius:11px;transition:background .25s,border-color .25s}.hiw-procedure.is-active{background:#f8fafb;border-color:#dce5e8}.hiw-procedure>button{display:flex;width:100%;justify-content:flex-start;text-align:left;gap:12px;border:0;background:transparent;border-radius:10px;font-size:.87rem;line-height:1.35;padding:13px 14px;min-height:48px;font-weight:650}.hiw-procedure>button:hover{background:#edf3f4}.hiw-step-number{font-size:.67rem;font-variant-numeric:tabular-nums;color:#7c8d95;flex:0 0 22px}.hiw-expand{margin-left:auto;color:#7c8d95;font-weight:400}.hiw-procedure-detail{padding:0 16px 16px 48px;animation:hiw-unfold .32s ease-out}.hiw-role{display:inline-block;color:#974a16;background:#fff0e2;border:1px solid #f1d7bf;border-radius:5px;font-size:.67rem;line-height:1.4;font-weight:650;padding:4px 7px}.hiw-procedure-detail p{font-size:.8rem;line-height:1.65;color:#526c78;margin:10px 0 0}
.hiw-scene{background:linear-gradient(140deg,#edf4f3,#f3f6f8);border:1px solid #e1e9eb;border-radius:16px;padding:20px;min-height:300px;display:flex;align-items:center;justify-content:center;overflow:hidden}.hiw-scene-window{width:100%;background:#fff;border:1px solid #d8e3e7;border-radius:11px;box-shadow:0 12px 32px #173e4e0b;overflow:hidden;animation:hiw-unfold .4s ease-out}.hiw-window-top{display:flex;align-items:center;gap:8px;padding:11px 14px;border-bottom:1px solid #e7edef;font-size:.61rem;color:#637b85}.hiw-window-mark{background:#173e4e;color:white;border-radius:4px;width:22px;height:22px;display:grid;place-items:center;font-size:.5rem;font-weight:700}.hiw-window-status{margin-left:auto;font-size:.58rem}.hiw-scene-content{padding:19px 17px 17px;min-height:237px}.hiw-package{display:flex;align-items:center;gap:18px;padding-bottom:17px}.hiw-plan{flex:0 0 99px;height:90px;background:linear-gradient(135deg,#f1f6f7,#fafcfc);border:1px solid #d6e2e7;border-radius:4px;display:flex;flex-direction:column;align-items:center;justify-content:center;color:#4a7383;transform:rotate(-3deg);box-shadow:4px 4px 0 #e8eff1}.hiw-plan svg{width:43px;height:43px}.hiw-plan>span{font-size:.48rem;margin:6px 0}.hiw-plan-lines{display:grid;gap:3px;width:55px}.hiw-plan-lines i{height:2px;background:#d5e1e7}.hiw-package-fields{display:grid;gap:5px;min-width:0}.hiw-package-fields>span{font-size:.58rem;color:#7d8d94}.hiw-package-fields>strong{font-size:.67rem;font-weight:550}.hiw-field-line{height:1px;background:#e5edef;margin:5px 0;width:100%}.hiw-evidence{display:grid;gap:8px}.hiw-evidence-row{display:flex;align-items:center;gap:9px;padding:8px 10px;border:1px solid #edf1f3;border-radius:7px;font-size:.66rem;color:#7e8e96;animation:hiw-unfold .35s ease-out backwards}.hiw-evidence-row:nth-child(2){animation-delay:.055s}.hiw-evidence-row:nth-child(3){animation-delay:.11s}.hiw-evidence-row.is-ready{background:#f6faf9;color:#284f59;border-color:#dfece7}.hiw-evidence-icon{color:#769c94;flex:0 0 17px;display:flex}.hiw-evidence-icon svg{width:17px;height:17px}.hiw-row-state{margin-left:auto;white-space:nowrap;font-size:.56rem}.hiw-scene-outcome{display:flex;gap:8px;align-items:center;padding-top:15px;font-size:.65rem;line-height:1.5;color:#54717b}.hiw-scene-outcome svg{flex:0 0 16px;width:16px;height:16px}.hiw-result-head{display:flex;gap:12px;align-items:center;margin-bottom:20px}.hiw-large-icon{display:grid;place-items:center;width:41px;height:41px;border-radius:10px;background:#eaf3f0;color:#3d796e;flex-shrink:0}.hiw-large-icon svg{width:24px;height:24px}.hiw-scene-kicker{font-size:.6rem;color:#718791}.hiw-result-head h4{font-size:.82rem;font-weight:650;margin:3px 0 0}.hiw-loop{display:flex;align-items:center;gap:6px;margin:25px 0 26px}.hiw-loop-node{flex:1;min-width:0;text-align:center}.hiw-loop-node>span{display:grid;place-items:center;background:#e8f1ee;border:1px solid #d3e4df;border-radius:50%;width:28px;height:28px;margin:0 auto 9px;font-size:.6rem}.hiw-loop-node strong{display:block;font-size:.65rem;line-height:1.5}.hiw-loop-node small{display:block;margin-top:5px;font-size:.55rem;color:#974a16}.hiw-loop-arrow{color:#8ba29f;font-size:.8rem}.hiw-response{display:flex;align-items:center;gap:10px;border:1px solid #dfe8ec;border-radius:7px;padding:12px}.hiw-document-icon svg{width:25px;height:25px;color:#74968f}.hiw-response strong{font-size:.68rem}.hiw-response p{font-size:.62rem;margin:4px 0 0;color:#71858d}
.hiw-handoff{display:flex;align-items:center;gap:12px;border-top:1px solid #e5ebee;margin-top:12px;padding:16px 0 0}.hiw-handoff>span{display:grid;place-items:center;width:31px;height:31px;border-radius:50%;background:#edf4f2;flex-shrink:0;color:#48786f}.hiw-handoff svg{width:17px;height:17px}.hiw-handoff small{display:block;font-size:.6rem;text-transform:uppercase;letter-spacing:.09em;color:#758891}.hiw-handoff p{font-size:.77rem;margin:4px 0 0;color:#365561;font-weight:550}.hiw-footer{background:#fff;z-index:2;align-items:center;flex-shrink:0;margin-top:16px;padding:16px 0 22px}.hiw-footer>button{min-width:112px;font-size:.82rem}.hiw-position{font-size:.67rem;color:#6c828c;text-align:center}.hiw-footer button:disabled{cursor:default}
@keyframes hiw-enter{from{opacity:0;transform:translateY(12px) scale(.985)}to{opacity:1;transform:none}}@keyframes hiw-unfold{from{opacity:.25;transform:translateY(7px)}to{opacity:1;transform:none}}
@media(max-width:760px){.how-it-works{width:calc(100% - 20px);height:calc(100dvh - 20px);max-height:calc(100dvh - 20px);padding:22px 18px 0;border-radius:16px}.hiw-top h2{font-size:1.55rem}#hiw-description{font-size:.73rem;margin:8px 0 20px;max-width:270px}.hiw-stages{grid-template-columns:repeat(6,108px);gap:4px;padding:4px 3px 17px;margin-bottom:20px;scrollbar-width:thin;scroll-snap-type:x proximity}.hiw-stages button{scroll-snap-align:start;min-height:64px}.hiw-stages strong{font-size:.67rem}.hiw-stage-heading{min-height:82px}.hiw-stage-heading h3{font-size:1.35rem}.hiw-unfold{grid-template-columns:1fr;gap:18px}.hiw-procedure>button{font-size:.81rem}.hiw-procedure-detail p{font-size:.77rem}.hiw-scene{min-height:280px;padding:20px 14px}.hiw-scene-content{min-height:220px}.hiw-handoff{margin-top:20px;padding-top:17px}.hiw-handoff p{font-size:.72rem}.hiw-policy{font-size:.7rem}.hiw-footer{padding:14px 0 16px;gap:9px}.hiw-footer>button{min-width:84px;padding:10px;font-size:.76rem}.hiw-position{font-size:.59rem;max-width:110px}.hiw-window-top{padding:10px}.hiw-window-status{font-size:.54rem}.hiw-loop{gap:4px}.hiw-scene-window{max-width:450px}}
@media(prefers-reduced-motion:reduce){.how-it-works,.how-it-works *{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
