:root{--ink:#203c39;--muted:#657871;--line:#d9e2db;--brand:#176b57;--a:#376fbe;--b:#855bba;--success:#246d4d;--amber:#94631e;background:#f3f5ef;font-family:'Apple SD Gothic Neo','Noto Sans KR',sans-serif;color:var(--ink);font-synthesis:none}
*{box-sizing:border-box}body{margin:0}h1,h2,h3,p{margin:0}button{font:inherit;cursor:pointer}button:disabled{cursor:default;opacity:.55}button:focus-visible{outline:3px solid #248e76;outline-offset:3px}[hidden]{display:none!important}.demo{max-width:1240px;margin:auto;padding:24px}.intro{margin-bottom:20px}.intro>p{font-size:12px;color:var(--brand)}.intro h1{font-size:25px;line-height:1.5;margin-top:6px;word-break:keep-all}.embedded .intro{display:none}
.steps{display:grid;grid-template-columns:repeat(4,1fr);gap:8px}.steps button{min-height:43px;display:flex;align-items:center;justify-content:center;gap:9px;padding:8px 6px;border:1px solid #d4ded4;background:#e9eee5;color:#6c8073;border-radius:9px;font-size:13px}.steps b{width:22px;height:22px;display:grid;place-items:center;font-size:11px;border:1px solid #c5d2c3;border-radius:50%}.steps button[aria-current="step"]{background:#1d6653;border-color:#1d6653;color:#fff;font-weight:650}.steps button[aria-current="step"] b{border-color:#9bbeb0}.scene-heading{margin:18px 0 20px;min-height:66px}.scene-heading h2{font-size:21px;line-height:1.5;letter-spacing:-.025em;word-break:keep-all}.scene-heading p{font-size:13px;line-height:1.8;color:var(--muted);margin-top:6px;word-break:keep-all;overflow-wrap:break-word}
.workspace{display:grid;grid-template-columns:minmax(0,1.02fr) 110px minmax(0,1fr);gap:14px;align-items:start}.apps-region,.server-region{min-width:0}.region-heading{display:flex;justify-content:space-between;align-items:end;gap:8px;margin-bottom:12px;min-height:45px}.overline{font-size:11px;color:var(--muted)}.region-heading h2{font-size:17px;line-height:1.6;margin-top:2px;letter-spacing:-.02em}.region-tag{font-size:10px;padding:5px 8px;border-radius:5px;background:#e4ebe1;color:#5e7865;white-space:nowrap}.phones{display:grid;grid-template-columns:1fr 1fr;gap:12px}.phone{min-width:0;padding:5px;border:1px solid #c7d7e8;border-radius:20px;background:#e9f0f8;box-shadow:0 5px 14px #2543550c}.phone-top{height:30px;display:flex;align-items:center;justify-content:space-between;padding:0 9px;font-size:10px;color:var(--a);gap:8px}.phone-top>span{font-size:9px;color:#7e93a6}.actor-b{border-color:#dacde8;background:#f0eaf7}.actor-b .phone-top{color:var(--b)}.phone-body{padding:15px 12px 12px;border:1px solid #dce4eb;border-radius:15px;background:white;min-height:302px;display:flex;flex-direction:column}.screen-label{font-size:10px;color:#7d8d9a}.phone h3{font-size:20px;line-height:1.35;letter-spacing:-.03em;margin-top:10px;word-break:keep-all}.schedule{font-size:10px;color:#73818d;margin-top:7px;white-space:nowrap}.seat{display:flex;justify-content:space-between;align-items:center;gap:7px;padding:12px 0;border-block:1px solid #e4e9ed;margin-top:13px}.seat>span{font-size:9px;line-height:1.6;color:#788994;max-width:66px;word-break:keep-all}.seat>strong{font-size:11px;white-space:nowrap;color:#425968}.seat b{font-size:24px;line-height:1.2;margin-right:3px;font-weight:650;color:#294559}.phone-result{padding-top:12px;flex:1;min-height:65px}.phone-result>strong{display:block;font-size:12px;line-height:1.5;word-break:keep-all}.phone-result>p{font-size:9px;line-height:1.6;color:#81909b;margin-top:4px;overflow-wrap:anywhere}.phone-result.success>strong{color:var(--success)}.phone-result.full>strong{color:var(--amber)}.phone-result.pending>strong{color:var(--a)}.apply{margin-top:12px;min-height:35px;width:100%;border:0;border-radius:7px;font-size:12px;font-weight:650;color:#fff;background:var(--a)}.actor-b .apply{background:var(--b)}.apply:disabled{opacity:1;background:#e9eef1;color:#8798a3}.region-note{font-size:10px;line-height:1.7;color:#738579;margin:9px 4px 0;word-break:keep-all}
.connection{align-self:stretch;display:flex;flex-direction:column;justify-content:center;gap:38px;padding-top:8px}.route{text-align:center;min-width:0;opacity:.6;transition:opacity .2s}.route.active{opacity:1}.route-name{font-size:12px;font-weight:650;color:#376f84}.inbound .route-name{color:#427c59}.actor-tokens{display:flex;justify-content:center;gap:6px;margin-top:9px}.token-a,.token-b{display:inline-grid;place-items:center;font-size:10px;line-height:1;width:21px;height:21px;border-radius:5px;background:#e7effa;color:var(--a);flex:0 0 auto}.token-b{background:#efe8f8;color:var(--b)}.route .arrow{display:block;position:relative;height:2px;background:#7295aa;margin:13px 5px 8px}.outbound .arrow::after{content:'';position:absolute;right:0;top:-4px;border-left:7px solid #7295aa;border-block:5px solid transparent}.inbound .arrow{background:#6b9a79;margin-top:12px}.inbound .arrow::after{content:'';position:absolute;left:0;top:-4px;border-right:7px solid #6b9a79;border-block:5px solid transparent}.route>p{font-size:10px;line-height:1.6;color:#7c8d87;word-break:keep-all}.return-tokens{display:flex;flex-wrap:wrap;justify-content:center;gap:4px;margin:10px 0 6px;font-size:9px;color:#5f7f69}.return-tokens span{background:#e4eee4;border-radius:4px;padding:4px 6px}.return-tokens .full{background:#f8edda;color:var(--amber)}
.server-region .region-heading h2{color:#45697a}.decision{border:1px solid #c6d8e3;background:#eaf2f7;border-radius:12px;padding:15px}.decision>header,.storage>header{display:flex;align-items:center;justify-content:space-between;gap:8px}.decision>header>b,.storage>header>b{font-size:13px;line-height:1.5}.decision>header>span{font-size:9px;line-height:1.5;color:#7c96a5;max-width:130px;text-align:right;word-break:keep-all}.decision-rule{font-size:12px;line-height:1.8;color:#6e8a9a;margin-top:12px;word-break:keep-all}.decision-rule strong{font-weight:650;color:#416a7f}.decision-rows{display:grid;gap:7px;margin-top:13px}.decision-row{display:flex;gap:8px;align-items:center;background:#f6f9fb;border:1px solid #d8e4eb;border-radius:7px;padding:8px 9px;min-height:37px}.decision-row>span{font-size:11px;line-height:1.6;color:#7d909d;word-break:keep-all}.decision-row.success{border-color:#bdd4c3;background:#f0f7f0}.decision-row.success>span{color:var(--success)}.decision-row.full{border-color:#e0d0b4;background:#fbf4e6}.decision-row.full>span{color:var(--amber)}.storage{margin-top:11px;padding:14px 15px;border:1px solid #d4dfcf;border-radius:12px;background:#fff}.storage>header{padding-bottom:9px;border-bottom:1px solid #e6ece2}.storage>header>span{font-size:9px;color:#8d9b87}.saved-row{display:flex;justify-content:space-between;align-items:center;gap:8px;padding-top:10px;font-size:11px;line-height:1.7}.saved-row>span{display:flex;align-items:center;gap:7px;color:#6c7e71;white-space:nowrap}.saved-row>strong{font-size:11px;font-weight:500;color:#8b9985;text-align:right;word-break:keep-all}.saved-row>strong.success{color:var(--success)}.storage-summary{display:flex;justify-content:space-between;gap:10px;flex-wrap:wrap;padding-top:11px;margin-top:11px;border-top:1px solid #e6ece2;font-size:10px;color:#82907e;line-height:1.6}.storage-summary b{font-size:16px;color:#426349;margin:0 2px}.storage.awaiting{background:#f8faf5}.storage.awaiting .storage-summary b{color:#9ca996}
.control-bar{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:18px;padding-top:15px;border-top:1px solid #d5e0d1}.actions{display:flex;gap:9px}.primary,.secondary{min-height:41px;padding:10px 15px;border:1px solid #b8cec1;border-radius:8px;font-size:12px;line-height:1.6;word-break:keep-all}.primary{background:var(--brand);color:#fff;border-color:var(--brand);font-weight:650}.secondary{background:white;color:#527465}.reset{border:0;background:none;font-size:11px;color:#7f927d;text-decoration:underline;text-underline-offset:3px;padding:8px 0;white-space:nowrap}.notice{border-left:3px solid #9bb99d;padding:8px 12px;margin-top:12px;font-size:12px;line-height:1.7;color:#5c7a60;background:#eaf0e3;word-break:keep-all;overflow-wrap:break-word}.notice.error{border-color:#cda864;background:#fbf0db;color:#8f682c}.detail-tools{display:flex;align-items:center;flex-wrap:wrap;gap:9px 18px;margin-top:13px}.detail-tools>span{font-size:10px;color:#91a18c}.detail-tools button{font-size:11px;line-height:1.7;border:0;background:none;padding:2px 0;color:#64806b;text-decoration:underline;text-underline-offset:3px}.detail-tools b{font-size:10px;font-weight:500}
dialog{width:min(850px,calc(100% - 28px));max-height:calc(100vh - 36px);padding:0;border:1px solid #c7d7c5;border-radius:14px;background:#f7f9f3;color:var(--ink);box-shadow:0 20px 70px #0d382e35}dialog::backdrop{background:#092b2466}.dialog-heading{padding:16px 20px;display:flex;justify-content:space-between;align-items:center;gap:15px;border-bottom:1px solid var(--line);background:#e9f0e5}.dialog-heading h2{font-size:19px;line-height:1.5}.dialog-heading button{border:0;background:none;color:#67806c;min-height:36px;white-space:nowrap}.dialog-tabs{display:flex;gap:24px;padding:0 20px;border-bottom:1px solid var(--line)}.dialog-tabs button{border:0;background:none;border-bottom:2px solid transparent;padding:12px 0;font-size:12px;color:#879681}.dialog-tabs button[aria-selected="true"]{border-color:var(--brand);color:var(--brand)}.dialog-body{padding:20px;overflow:auto;max-height:calc(100vh - 177px);overscroll-behavior:contain}.dialog-body p{font-size:13px;line-height:1.85;color:var(--muted);margin-bottom:14px;word-break:keep-all;overflow-wrap:break-word}.dialog-body h3{font-size:16px;line-height:1.6;margin-bottom:12px}.code-card{border:1px solid #d1dfe5;background:#edf4f8;border-radius:8px;margin:12px 0 18px;overflow:hidden}.code-card header{font-size:12px;line-height:1.7;padding:10px 13px;border-bottom:1px solid #d1dfe5;color:#527c90}.code-card pre{font:11px/1.8 ui-monospace,SFMono-Regular,Consolas,monospace;color:#50778a;padding:13px;margin:0;white-space:pre-wrap;overflow-wrap:anywhere}.trace-group{padding:15px;margin-top:16px;border:1px solid #d4dfd0;border-radius:10px;background:white}.trace-group>h3{font-size:14px}.trace-group ol{margin:0;padding-left:20px}.trace-group li{padding-block:7px;border-top:1px solid #edf1e8;font-size:12px;line-height:1.8;color:#6f8875;overflow-wrap:anywhere}.trace-group li>span{display:block;font-size:10px;color:#98a58f}.network-item{margin-top:18px}.network-item>h3{font-size:13px;overflow-wrap:anywhere}.network-item .code-card{margin-top:8px}.connection-summary{display:grid;gap:10px}.connection-summary article{padding:14px;background:white;border:1px solid var(--line);border-radius:8px}.connection-summary h3{font-size:14px;margin-bottom:6px}.connection-summary p{margin:0}
@media(max-width:1020px) and (min-width:761px){.workspace{grid-template-columns:minmax(0,1fr) 84px minmax(0,1fr);gap:10px}.phone-body{padding:12px 9px;min-height:293px}.phone h3{font-size:18px}.phone-top{padding-inline:5px}.schedule{font-size:9px}.decision,.storage{padding:12px}.decision>header>span{display:none}.phone-result>strong{font-size:11px}.seat{display:block}.seat>span{max-width:none;display:block;margin-bottom:5px}.seat>strong{display:block}.seat b{font-size:22px}}
@media(max-width:760px){.demo{padding:16px}.intro h1{font-size:22px}.steps{gap:5px}.steps button{gap:5px;min-height:38px;font-size:11px}.steps b{width:19px;height:19px;font-size:10px}.scene-heading{margin:14px 0 16px;min-height:76px}.scene-heading h2{font-size:19px}.scene-heading p{font-size:12px}.workspace{grid-template-columns:1fr;gap:13px}.region-heading{min-height:35px;margin-bottom:10px;align-items:center}.region-heading>div{display:flex;gap:10px;align-items:center;flex-wrap:wrap}.region-heading h2{font-size:15px;margin:0}.overline{font-size:10px}.region-tag{font-size:9px}.phones{max-width:470px;width:100%;margin:auto;gap:12px}.phone-body{min-height:265px;padding:12px 14px 10px}.phone-top{height:26px}.phone h3{font-size:20px;margin-top:7px}.seat{margin-top:11px;padding-block:10px}.phone-result{min-height:57px;padding-top:10px}.phone-result>strong{font-size:12px}.phone-result>p{font-size:10px}.apply{margin-top:9px;min-height:33px}.region-note{font-size:10px;text-align:center;max-width:470px;margin:8px auto 0}.connection{display:grid;grid-template-columns:1fr 1fr;gap:14px;padding:3px 0;min-height:49px}.route{position:relative;padding:0 14px;text-align:left;border-left:2px solid #92b3c4;display:flex;gap:8px;align-items:center;flex-wrap:wrap}.inbound{border-left-color:#94b79a}.route .arrow{display:none}.route::after{content:'↓';position:absolute;left:-8px;bottom:-5px;font-size:18px;line-height:1;color:#7597aa;background:#f3f5ef}.route.inbound::after{content:'↑';top:-5px;bottom:auto;color:#6e9879}.route-name{font-size:11px}.actor-tokens{margin:0;gap:4px}.actor-tokens b{width:18px;height:18px;font-size:9px}.route>p{width:100%;font-size:9px;line-height:1.4}.return-tokens{margin:0;gap:3px}.return-tokens span{padding:3px 4px;font-size:8px}.server-region{display:grid;grid-template-columns:1fr 1fr;gap:10px}.server-region>.region-heading{grid-column:1/-1;margin-bottom:0}.decision,.storage{margin:0;padding:12px;border-radius:10px}.decision>header>span{display:none}.decision>header>b,.storage>header>b{font-size:12px}.decision-rule{font-size:11px;line-height:1.7;margin-top:8px}.decision-rule br{display:none}.decision-rows{gap:6px;margin-top:10px}.decision-row{padding:6px;gap:6px;min-height:34px}.decision-row>span{font-size:10px}.storage>header{display:block}.storage>header>span{display:block;margin-top:3px;font-size:8px}.saved-row{font-size:10px;padding-top:9px;gap:4px;flex-wrap:wrap}.saved-row>strong{font-size:10px}.saved-row .token-a,.saved-row .token-b{width:17px;height:17px;font-size:9px}.storage-summary{display:block;margin-top:9px;padding-top:8px;font-size:9px;line-height:1.9}.storage-summary>span{display:block}.storage-summary b{font-size:14px}.control-bar{gap:8px;margin-top:14px;padding-top:12px}.actions{gap:7px}.primary,.secondary{font-size:11px;min-height:39px;padding:8px 11px}.reset{font-size:10px}.notice{font-size:11px;margin-top:10px;padding:8px 10px}.detail-tools{gap:7px 14px;margin-top:10px}.detail-tools>span{width:100%;font-size:9px}.detail-tools button{font-size:10px}.dialog-heading{padding:13px}.dialog-heading h2{font-size:17px}.dialog-tabs{padding-inline:13px}.dialog-body{padding:13px}.dialog-body p{font-size:12px}.code-card pre{font-size:10px}}
@media(max-width:420px){.demo{padding:12px}.phones{gap:8px}.phone{border-radius:17px;padding:4px}.phone-body{padding:11px 10px 10px;min-height:265px;border-radius:13px}.phone h3{font-size:18px}.schedule{font-size:9px}.phone-top{padding-inline:6px;font-size:10px}.phone-top>span{font-size:8px}.seat>span{font-size:8px;max-width:55px}.seat b{font-size:22px}.phone-result>strong{font-size:11px}.phone-result>p{font-size:9px}.scene-heading h2{font-size:18px}.scene-heading p{font-size:11px}.steps button{font-size:10px}.steps b{width:17px;height:17px;font-size:9px}.steps{gap:4px}.server-region{gap:8px}.decision,.storage{padding:10px}.decision-rule{font-size:10px}.decision-row{display:grid;grid-template-columns:18px 1fr;gap:5px;padding:6px 5px}.decision-row .token-a,.decision-row .token-b{width:18px;height:18px;font-size:9px}.decision-row>span{font-size:9px}.primary,.secondary{padding:8px 9px;font-size:10px}.actions{gap:6px}.route{padding-inline:10px}.region-note{font-size:9px}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}
body[data-step="3"] .decision{box-shadow:0 0 0 2px #91b5c9}body[data-step="4"] .storage{box-shadow:0 0 0 2px #a0c3a1}
@media(max-width:420px){.decision-row>span{font-size:11px}.decision-rule{font-size:11px}.saved-row>strong{font-size:11px}.storage>header>b{font-size:12px}.phone-result>strong{font-size:12px}}
@media(max-width:420px){.scene-heading{min-height:0;margin:12px 0}.scene-heading h2{font-size:17px}.scene-heading p{font-size:11px;line-height:1.7}.workspace{gap:10px}.region-heading{min-height:28px;margin-bottom:8px}.region-heading h2{font-size:14px}.overline{font-size:9px}.phone-body{min-height:230px;padding:10px}.screen-label{display:none}.phone h3{font-size:17px;line-height:1.3;margin-top:4px}.phone-top{height:25px}.schedule{margin-top:5px}.seat{margin-top:9px;padding-block:7px}.phone-result{min-height:48px;padding-top:8px}.phone-result>strong{font-size:11px}.phone-result>p{line-height:1.5;margin-top:3px}.apply{min-height:31px;margin-top:6px;font-size:11px}.region-note{font-size:9px;line-height:1.6;margin-top:7px}.connection{min-height:42px}.route{gap:5px}.decision-rule{line-height:1.6;margin-top:7px}.decision-rows{margin-top:8px;gap:5px}.decision-row{padding-block:4px;min-height:32px}.decision-row>span{line-height:1.5;font-size:11px}.decision,.storage{padding:10px}.storage-summary{margin-top:7px;padding-top:6px}.saved-row{padding-top:7px}.detail-tools>span{display:none}.detail-tools{gap:10px;margin-top:10px}.detail-tools button{font-size:9px}.notice{font-size:10px;line-height:1.7}.control-bar{margin-top:12px;padding-top:10px}}
@media(min-width:421px) and (max-width:760px){.scene-heading{min-height:0;margin:12px 0}.scene-heading h2{font-size:18px}.workspace{gap:10px}.region-heading{min-height:28px;margin-bottom:8px}.phones{max-width:450px}.phone-body{min-height:230px;padding:10px 12px}.screen-label{display:none}.phone h3{font-size:18px;line-height:1.3;margin-top:4px}.phone-top{height:25px}.schedule{margin-top:5px}.seat{margin-top:9px;padding-block:7px}.phone-result{min-height:48px;padding-top:8px}.phone-result>p{line-height:1.5;margin-top:3px}.apply{min-height:31px;margin-top:6px}.region-note{font-size:9px;line-height:1.6;margin-top:7px}.connection{min-height:42px}.route{gap:5px}.detail-tools>span{display:none}}
/* Keep the request and return paths legible before the first interaction. */
.route{opacity:1}.route>p{color:#5d776d}.route .arrow{background:#417d9b}.outbound .arrow::after{border-left-color:#417d9b}.inbound .arrow{background:#43805c}.inbound .arrow::after{border-right-color:#43805c}
@media(max-width:760px){.route{border-left-color:#5b8da8}.route.inbound{border-left-color:#5c916c}.route::after{color:#417d9b;font-size:21px}.route.inbound::after{color:#43805c}.route-name{color:#34657e}.inbound .route-name{color:#376f4a}}

.embedded dialog{top:12px;bottom:auto;margin:0 auto;max-height:min(calc(100dvh - 24px),var(--dialog-height,80dvh))}

.embedded .dialog-body{max-height:calc(var(--dialog-height,80dvh) - 128px)}
