.cw{--accent:#206bc4;--accent-d:#1a5aa6;--ink:#1a2233;--ink2:#4a5568;--muted:#5f6b7d;--line:#e3e7ee;--line2:#d5dbe5;--soft:#f4f6fa;--soft2:#f1f3f6;--danger:#c0392b;--ok:#17694d;font-family:Inter,system-ui,-apple-system,"Segoe UI",sans-serif;color:var(--ink);background:var(--soft);min-height:100vh;font-size:16px;line-height:normal;font-feature-settings:normal;letter-spacing:normal}
body.cw-body{background:#f4f6fa}
:where(.cw) *{box-sizing:border-box}
:where(.cw) button,:where(.cw) input,:where(.cw) select,:where(.cw) textarea{font:inherit;color:inherit}
:where(.cw) a{color:var(--accent)}
:where(.cw) [hidden]{display:none!important}
.cw-sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.cw-hint{font-size:13px;color:var(--muted);line-height:1.5}
.cw-err{font-size:13px;color:var(--danger);line-height:1.5}
.cw-eyebrow{font-size:12px;font-weight:600;letter-spacing:.06em;text-transform:uppercase;color:var(--muted);margin:0}
.cw-lbl{font-size:14px;font-weight:600;display:block}
.cw-opt{font-weight:400;color:var(--muted);font-size:13px}
.cw-req{color:var(--danger)}
.cw-card{background:#fff;border:1px solid var(--line);border-radius:16px}
.cw-btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:44px;padding:0 20px;border-radius:10px;font-weight:600;font-size:15px;border:1px solid transparent;text-decoration:none;cursor:pointer;white-space:nowrap;background:none}
.cw-btn:disabled{opacity:.5;cursor:not-allowed}
.cw-btn-primary{background:var(--accent);color:#fff}.cw-btn-primary:hover:not(:disabled){background:var(--accent-d)}
.cw-btn-ghost{background:#fff;border-color:var(--line2)}.cw-btn-ghost:hover:not(:disabled){background:var(--soft)}
.cw-btn-link{color:var(--accent);padding:0 8px;min-height:36px;font-weight:500;font-size:14px}
.cw-btn-sm{min-height:40px;padding:0 14px;font-size:14px}
.cw-btn i{font-size:18px}
.cw-input{width:100%;min-height:44px;padding:10px 14px;border:1px solid var(--line2);border-radius:10px;font-size:15px;background:#fff}
.cw-input:focus,.cw-btn:focus-visible,.cw-chk:focus-visible,.cw-ic:focus-visible,.cw-sw:focus-visible,.cw-seg button:focus-visible{outline:0;border-color:var(--accent);box-shadow:0 0 0 3px rgba(32,107,196,.2)}
.cw-input.cw-invalid{border-color:var(--danger)}
textarea.cw-input{resize:vertical;line-height:1.55}
.cw-chk{width:18px;height:18px;margin:0;accent-color:var(--accent);flex:none}
.cw-field{display:flex;flex-direction:column;gap:8px}

.cw-bar{position:sticky;top:0;z-index:10;background:#fff;border-bottom:1px solid var(--line)}
.cw-bar-in{max-width:1200px;margin:0 auto;padding:12px 24px;display:flex;align-items:center;gap:20px;flex-wrap:wrap}
.cw-bar-title{font-size:15px;font-weight:600}
.cw-steps{flex:1;list-style:none;margin:0;padding:0;display:flex;align-items:center;justify-content:center;gap:10px;flex-wrap:wrap}
.cw-steps li{display:flex;align-items:center;gap:10px}
.cw-steps .cw-ln{width:28px;height:2px;background:var(--line2)}
.cw-steps .cw-ln.cw-on{background:var(--accent)}
.cw-step-btn{display:flex;align-items:center;gap:8px;border:0;background:none;padding:6px 4px;font-size:14px;font-weight:500;color:var(--muted);cursor:default;border-radius:8px}
.cw-step-btn .cw-dot{width:24px;height:24px;border-radius:50%;border:2px solid #c3cad6;font-size:12px;display:inline-flex;align-items:center;justify-content:center}
.cw-step-btn.cw-cur{color:var(--ink);font-weight:600}
.cw-step-btn.cw-cur .cw-dot{border-color:var(--accent);color:var(--accent)}
.cw-step-btn.cw-done{color:var(--ink);cursor:pointer}
.cw-step-btn.cw-done .cw-dot{background:var(--accent);border-color:var(--accent);color:#fff}
.cw-step-btn.cw-done:hover{background:var(--soft)}

.cw-main{max-width:1200px;margin:0 auto;padding:40px 24px 120px}
.cw-narrow{max-width:640px;margin:0 auto}
.cw-mid{max-width:840px;margin:0 auto}
.cw-two{display:flex;flex-wrap:wrap;gap:32px;align-items:flex-start}
.cw-two>.cw-form{flex:999 1 560px;min-width:0;display:flex;flex-direction:column;gap:20px}
.cw-two>.cw-side{flex:1 1 340px;max-width:420px;position:sticky;top:16px;display:flex;flex-direction:column;gap:12px}
.cw-stack{display:flex;flex-direction:column;gap:20px}
:where(.cw) h1,:where(.cw) h2,:where(.cw) h3{margin:0;line-height:1.2;color:inherit;font-weight:600}
:where(.cw) h1{margin:0;font-size:28px;font-weight:700;letter-spacing:-.01em}
.cw-lead{margin:0;font-size:16px;line-height:1.55;color:var(--ink2)}
.cw-sec{padding:20px 24px;display:flex;flex-direction:column;gap:16px}
.cw-sub{display:flex;flex-direction:column;gap:6px;padding:18px 0;border-top:1px solid #eef1f5}
.cw-sub:first-of-type{border-top:0}
.cw-sub h3{margin:0;font-size:15px;font-weight:600}
.cw-row{display:flex;align-items:center;gap:12px}
.cw-scroll{max-height:300px;overflow-y:auto;border:1px solid var(--line);border-radius:12px;padding:0 14px;margin-top:6px}
.cw-scroll.cw-sm{max-height:220px}
.cw-item{display:flex;align-items:center;gap:12px;padding:10px 0;border-bottom:1px solid #eef1f5}
.cw-item:last-child{border-bottom:0}
.cw-item label{flex:1;min-width:0;cursor:pointer;display:flex;flex-direction:column;gap:2px}
.cw-item .cw-t{font-size:15px;font-weight:500}
.cw-group{border-bottom:1px solid #eef1f5}
.cw-group:last-child{border-bottom:0}
.cw-group>.cw-item{border-bottom:0}
.cw-expand i{font-size:18px;transition:transform .15s}
.cw-expand[aria-expanded=true] i{transform:rotate(180deg)}
.cw-sublist{display:flex;flex-direction:column;gap:8px;padding:0 0 12px 30px}
.cw-subitem{display:flex;align-items:center;gap:10px;font-size:14px;cursor:pointer;overflow-wrap:anywhere}
.cw-tag{font-size:12px;color:#3d4a5c;background:var(--soft2);border-radius:6px;padding:2px 8px;white-space:nowrap}
.cw-switch{width:44px;height:26px;flex:none;border:0;border-radius:13px;padding:3px;cursor:pointer;display:flex;background:#c3cad6;justify-content:flex-start}
.cw-switch[aria-checked=true]{background:var(--accent);justify-content:flex-end}
.cw-switch span{width:20px;height:20px;border-radius:50%;background:#fff;box-shadow:0 1px 2px rgba(0,0,0,.2)}
.cw-seg{display:inline-flex;gap:4px;padding:4px;background:var(--soft2);border-radius:10px;align-self:flex-start;flex-wrap:wrap}
.cw-seg button{display:inline-flex;align-items:center;gap:6px;min-height:36px;padding:0 12px;border:0;border-radius:8px;cursor:pointer;font-size:14px;font-weight:500;background:transparent}
.cw-seg button[aria-selected=true],.cw-seg button[aria-pressed=true]{background:#fff;box-shadow:0 1px 2px rgba(16,24,40,.12)}
.cw-drop{display:flex;flex-direction:column;align-items:center;gap:6px;padding:28px 20px;border:1.5px dashed #b9c3d1;border-radius:12px;background:#f8fafc;text-align:center;cursor:pointer}
.cw-drop.cw-over{border-color:var(--accent);background:#eef5fd}
.cw-drop i{font-size:28px;color:var(--accent)}
.cw-files{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:6px}
.cw-files li{display:flex;align-items:center;gap:10px;padding:8px 12px;border:1px solid var(--line);border-radius:10px;font-size:14px}
.cw-files li span{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.cw-iconbtn{width:36px;height:36px;border:0;border-radius:8px;background:none;color:var(--muted);cursor:pointer;display:inline-flex;align-items:center;justify-content:center}
.cw-iconbtn:hover{background:var(--soft)}
.cw-sws{display:flex;align-items:center;gap:12px;flex-wrap:wrap}
.cw-sw{width:32px;height:32px;border-radius:50%;border:0;cursor:pointer}
.cw-sw[aria-pressed=true]{box-shadow:0 0 0 2px #fff,0 0 0 4px currentColor}
.cw-sw-pick{display:inline-flex;align-items:center;justify-content:center;border:1.5px dashed #b9c3d1;background:#fff;color:var(--muted);font-size:16px;cursor:pointer;position:relative}
.cw-sw-pick.cw-on{border:0;color:#fff;box-shadow:0 0 0 2px #fff,0 0 0 4px var(--c)}
.cw-sw-pick:focus-within{outline:2px solid var(--accent);outline-offset:3px}
.cw-ics{display:flex;gap:8px;flex-wrap:wrap}
.cw-ic{width:44px;height:44px;border-radius:12px;border:1px solid var(--line2);background:#fff;cursor:pointer;display:inline-flex;align-items:center;justify-content:center;font-size:20px;overflow:hidden;padding:0}
.cw-ic[aria-pressed=true]{border:2px solid var(--accent)}
.cw-ic.cw-up{border-style:dashed;color:var(--muted)}
.cw-ic img{width:100%;height:100%;object-fit:cover}
.cw-cols{display:flex;gap:24px;flex-wrap:wrap}
.cw-cols>*{flex:1 1 260px}
.cw-qrow{display:flex;gap:8px}
.cw-more-btn{width:100%;display:flex;align-items:center;gap:12px;padding:16px 0;border:0;background:none;cursor:pointer;text-align:left}
.cw-more-btn i{font-size:20px;transition:transform .15s}
.cw-more-btn[aria-expanded=true] i{transform:rotate(180deg)}
.cw-note{display:flex;gap:12px;align-items:flex-start;padding:14px 16px;border-radius:12px;background:#eef5fd;border:1px solid #d3e4f8;font-size:14px;line-height:1.55}
.cw-note i{color:var(--accent);font-size:20px}
.cw-warn{background:#fff7e6;border-color:#f6dfae}
.cw-warn i{color:#b45309}

.cw-url-box{display:flex;gap:10px;flex-wrap:wrap}
.cw-url-in{flex:1 1 300px;display:flex;align-items:center;gap:10px;min-height:52px;padding:0 14px;background:#fff;border:1px solid var(--line2);border-radius:10px}
.cw-url-in:focus-within{border-color:var(--accent);box-shadow:0 0 0 3px rgba(32,107,196,.15)}
.cw-url-in.cw-invalid{border-color:var(--danger)}
.cw-url-in input{flex:1;min-width:0;border:0;outline:0;background:transparent;font-size:16px;font-weight:500}
.cw-url-in i{color:var(--muted);font-size:20px}
.cw-checks{list-style:none;margin:0;padding:0}
.cw-checks li{display:flex;align-items:flex-start;gap:12px;padding:12px 0;border-top:1px solid #eef1f5;font-size:15px}
.cw-checks .cw-st{width:24px;height:24px;flex:none;display:inline-flex;align-items:center;justify-content:center;border-radius:50%}
.cw-checks .cw-st.cw-ok{background:#e3f4ec;color:var(--ok)}
.cw-checks .cw-st.cw-warn{background:#fdf1dc;color:#b45309}
.cw-checks .cw-st.cw-wait::after{content:"";width:10px;height:10px;border-radius:50%;border:2px solid #c3cad6}
.cw-checks .cw-st.cw-run::after{content:"";width:16px;height:16px;border-radius:50%;border:2.5px solid #e3e7ee;border-top-color:var(--accent);animation:cw-spin .8s linear infinite}
.cw-checks li.cw-pending{color:var(--muted)}
.cw-progress{height:6px;border-radius:3px;background:#e9edf3;overflow:hidden}
.cw-progress div{height:100%;background:var(--accent);border-radius:3px;transition:width .4s}
@keyframes cw-spin{to{transform:rotate(360deg)}}

.cw-sum{padding:20px 24px;border-top:1px solid #eef1f5}
.cw-sum:first-child{border-top:0}
.cw-sum-h{display:flex;align-items:center;gap:12px;margin-bottom:12px}
.cw-sum-h h2{margin:0;font-size:16px;font-weight:600;flex:1}
dl.cw-kv{margin:0;display:grid;grid-template-columns:minmax(0,170px) minmax(0,1fr);gap:8px 16px;font-size:14px;line-height:1.5}
dl.cw-kv dt{color:var(--muted)}
dl.cw-kv dd{margin:0;overflow-wrap:anywhere}
.cw-chips{display:flex;flex-wrap:wrap;gap:6px}
.cw-chip{display:inline-flex;align-items:center;gap:4px;padding:2px 4px 2px 10px;border-radius:999px;background:var(--soft2);font-size:13px}
.cw-chip button{border:0;background:none;cursor:pointer;width:24px;height:24px;border-radius:50%;display:inline-flex;align-items:center;justify-content:center;color:var(--muted)}

.cw-foot{position:fixed;left:0;right:0;bottom:0;background:#fff;border-top:1px solid var(--line);z-index:5}
.cw-foot-in{max-width:1200px;margin:0 auto;padding:14px 24px;display:flex;align-items:center;gap:12px;flex-wrap:wrap}

.cw-pv-stage{background:#e9edf3;border-radius:16px;padding:20px;display:flex;flex-direction:column;align-items:flex-end;gap:14px}
.cw-pv-stage.cw-left{align-items:flex-start}
.cw-pv{width:100%;max-width:340px;background:#fff;border-radius:16px;box-shadow:0 12px 32px rgba(16,24,40,.14);overflow:hidden;display:flex;flex-direction:column}
.cw-pv-h{color:#fff;padding:14px 16px;display:flex;align-items:center;gap:10px}
.cw-pv-av{width:32px;height:32px;border-radius:50%;background:rgba(255,255,255,.2);display:inline-flex;align-items:center;justify-content:center;font-size:18px;overflow:hidden;flex:none}
.cw-pv-av img,.cw-pv-l img{width:100%;height:100%;object-fit:cover}
.cw-pv-n{flex:1;display:flex;flex-direction:column;gap:1px;min-width:0}
.cw-pv-n b{font-size:15px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.cw-pv-n span{font-size:12px;opacity:.9}
.cw-pv-b{padding:16px;display:flex;flex-direction:column;gap:8px;min-height:320px}
.cw-pv-msg{align-self:flex-start;max-width:85%;background:var(--soft2);border-radius:14px 14px 14px 4px;padding:10px 12px;font-size:14px;line-height:1.5;overflow-wrap:anywhere}
.cw-pv-q{align-self:flex-end;font-size:13px;padding:6px 12px;border-radius:999px;background:#fff;border:1px solid}
.cw-pv-f{border-top:1px solid #eef1f5;padding:10px 12px;display:flex;flex-direction:column;gap:6px}
.cw-pv-in{display:flex;align-items:center;gap:8px}
.cw-pv-in .cw-pv-txt{flex:1;min-height:40px;border:1px solid var(--line);border-radius:999px;padding:0 14px;font-size:14px;color:var(--muted);display:flex;align-items:center}
.cw-pv-send{flex:none;width:40px;height:40px;border-radius:50%;color:#fff;display:inline-flex;align-items:center;justify-content:center;font-size:18px}
.cw-pv-priv{font-size:11px;color:var(--muted);text-align:center}
.cw-pv-lrow{display:flex;align-items:center;gap:10px}
.cw-pv-stage.cw-left .cw-pv-lrow{flex-direction:row-reverse}
.cw-pv-hint{background:#fff;border-radius:999px;padding:8px 14px;font-size:13px;box-shadow:0 4px 12px rgba(16,24,40,.12);max-width:220px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.cw-pv-l{width:56px;height:56px;border-radius:50%;color:#fff;display:inline-flex;align-items:center;justify-content:center;font-size:26px;box-shadow:0 8px 20px rgba(16,24,40,.2);overflow:hidden}

.cw-modal{position:fixed;inset:0;background:rgba(16,24,40,.45);display:flex;align-items:center;justify-content:center;padding:24px;z-index:20}
.cw-modal-c{background:#fff;border-radius:16px;max-width:720px;width:100%;max-height:90vh;display:flex;flex-direction:column;overflow:hidden}
.cw-modal-h{display:flex;align-items:center;gap:12px;padding:18px 24px;border-bottom:1px solid var(--line)}
.cw-modal-h h2{margin:0;font-size:18px;flex:1}
.cw-modal pre{margin:0;padding:18px 24px;overflow:auto;font:13px/1.55 ui-monospace,Menlo,monospace;background:#0f172a;color:#e2e8f0;flex:1}
.cw-modal-f{display:flex;gap:10px;justify-content:flex-end;padding:14px 24px;border-top:1px solid var(--line)}
@media (max-width:640px){.cw-main{padding:24px 16px 140px}dl.cw-kv{grid-template-columns:1fr}dl.cw-kv dt{margin-top:6px}.cw-steps .cw-ln{width:12px}.cw-steps .cw-lbl-t{display:none}}
:where(.cw) p{margin:0}
:where(.cw) legend{float:none;width:auto;font-size:14px;line-height:inherit}
:where(.cw) dt{font-weight:400}
:where(.cw) code{color:inherit;background:none;padding:0;font-size:.875em}
:where(.cw) ul,:where(.cw) ol,:where(.cw) dl{margin:0}
