.btn.danger{background:#b91c1c;border-color:#dc2626;color:#fff}.btn.danger:hover{background:#dc2626}.btn:disabled{cursor:default}.field-hint{font-size:12px;color:var(--text-dim)}input[type=tel]{min-height:44px;font:inherit;font-size:15px;color:var(--text);background:var(--bg-side-2);border:1px solid var(--line);border-radius:10px;padding:9px 11px;width:100%;min-width:0}.linkish{background:none;border:0;padding:0;color:#5eead4;font:inherit;text-decoration:underline}.avatar{width:40px;height:40px;flex:none;border-radius:50%;display:inline-flex;align-items:center;justify-content:center;background:var(--accent-deep);color:#fff;font-weight:700;font-size:17px}.avatar.plain{background:#475569}.auth-screen{position:fixed;inset:0;z-index:4500;overflow-y:auto;overscroll-behavior:contain;display:flex;align-items:flex-start;justify-content:center;padding:28px 16px 40px;background:radial-gradient(1200px 600px at 50% -10%,#12324a,#0b1220 60%)}.auth-screen[hidden]{display:none}.auth-card{width:100%;max-width:420px;margin:auto 0;padding:22px 20px 16px;background:var(--bg-side);border:1px solid var(--line);border-radius:18px;box-shadow:var(--shadow)}.auth-brand{display:flex;align-items:center;gap:12px;margin-bottom:18px}.auth-brand .logo{width:44px;height:44px;flex:none}.auth-brand h1{font-size:20px;line-height:1.15}.auth-brand span{font-size:12.5px;color:var(--text-dim)}.auth-card h2{font-size:18px;margin-bottom:6px}.auth-seg{margin-bottom:12px}.auth-lead{font-size:13.5px;line-height:1.5;color:#cbd5e1;margin:0 0 14px}.auth-card .pd-field{font-size:13px}.auth-card input{min-height:48px;font-size:16px}.auth-msg{min-height:20px;font-size:13.5px;line-height:1.45;margin:2px 0 10px;color:var(--text-dim)}.auth-msg.bad{color:#fca5a5}.auth-msg.warn{color:#fde68a}.auth-go{min-height:50px;font-size:16px;font-weight:650}.auth-go+.btn{margin-top:8px}.auth-foot{font-size:12.5px;color:var(--text-dim);margin:12px 0 0;text-align:center;line-height:1.45}.auth-foot .linkish{font-size:14px;min-height:40px;padding:0 8px;color:#99f6e4}#ed-text{margin-bottom:14px}.ed-link{margin:-4px 0 12px;font-size:13px}.ed-link .linkish{min-height:32px;color:#99f6e4}.auth-wait-icon{width:56px;height:56px;border-radius:50%;display:flex;align-items:center;justify-content:center;margin-bottom:12px;background:#fbbf241f;color:#fbbf24;border:1px solid rgba(251,191,36,.4)}.auth-wait-icon .ic{width:30px;height:30px}.auth-server{display:flex;align-items:center;gap:6px;width:100%;margin-top:14px;padding:10px 0 0;border:0;border-top:1px solid var(--line);background:none;color:var(--text-dim);font-size:12.5px;text-align:left;min-height:40px}.auth-server .ic{width:16px;height:16px}.auth-server span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}@media (max-height: 560px){.auth-screen{padding-top:12px}.auth-brand{margin-bottom:10px}}.st-account{border:1px solid var(--line);border-radius:12px;background:var(--bg-side-2);padding:12px;margin-bottom:14px}.acct-who{display:flex;align-items:center;gap:12px}.acct-text{min-width:0;display:flex;flex-direction:column}.acct-text b{font-size:15.5px;overflow-wrap:anywhere}.acct-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:12px}.acct-actions .btn{flex:1 1 auto}.bottom-nav .nav-btn{position:relative;flex:1 1 0;min-width:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;padding:6px 0 5px;border:0;border-top:3px solid transparent;background:transparent;color:#fcd34d;font-size:11.5px;font-weight:500}.bottom-nav .nav-btn .ic{width:24px;height:24px}.bottom-nav .nav-btn span{max-width:100%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.bottom-nav .nav-btn:active{background:#fcd34d14}.nav-dot,.ad-count{min-width:18px;height:18px;padding:0 5px;border-radius:9px;background:#dc2626;color:#fff;font-size:11px;font-weight:700;line-height:18px;text-align:center}.nav-dot{position:absolute;top:4px;left:calc(50% + 6px)}.ad-count{display:inline-block;margin-left:6px;vertical-align:1px}@media (max-height: 500px){.bottom-nav .nav-btn span{display:none}}.up-choose{min-height:52px;font-size:15px;font-weight:600}.up-chips{justify-content:flex-start;margin:10px 0 8px}.up-note{font-size:12.5px;color:var(--text-dim);background:#ffffff0a;border:1px solid var(--line);border-radius:10px;padding:9px 11px;margin-bottom:14px;line-height:1.45}.up-list{display:flex;flex-direction:column;gap:8px;margin:12px 0 18px}.up-list:empty{margin:0 0 14px}.up-card{background:var(--bg-side-2);border:1px solid var(--line);border-radius:12px;padding:10px 12px}.up-card.done{border-color:#6ee7b766}.up-card.failed,.up-card.stopped{border-color:#f8717180}.up-top{display:flex;align-items:flex-start;gap:10px}.up-top>.ic{margin-top:2px;color:#5eead4}.up-card.done .up-top>.ic{color:#6ee7b7}.up-card.failed .up-top>.ic,.up-card.stopped .up-top>.ic{color:#fca5a5}.up-card.paused,.up-card.unfinished{border-color:#fbbf2473}.up-card.paused .up-top>.ic,.up-card.unfinished .up-top>.ic{color:#fcd34d}.up-name{flex:1;min-width:0;display:flex;flex-direction:column}.up-name b{font-size:14px;overflow-wrap:anywhere}.up-x{width:36px;height:36px;margin:-6px -8px 0 0;flex:none;border:0;border-radius:8px;background:none;color:var(--text-dim);display:inline-flex;align-items:center;justify-content:center}.up-x:hover{background:#ffffff12;color:var(--text)}.up-bar{height:8px;border-radius:999px;background:#0b1220;overflow:hidden;margin:10px 0 6px}.up-bar i{display:block;height:100%;border-radius:999px;background:var(--accent);transition:width .35s ease}.up-bar.wait i{width:28%!important;animation:up-slide 1.4s ease-in-out infinite alternate}@keyframes up-slide{0%{margin-left:0}to{margin-left:72%}}.up-bar.held i{background:#b08a2e;transition:none}.up-status{font-size:12.5px;color:#cbd5e1;font-variant-numeric:tabular-nums}.up-status.ok{color:#6ee7b7;margin-top:8px}.up-error{font-size:13px;line-height:1.5;color:#fecaca;margin-top:8px;overflow-wrap:anywhere}.up-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:10px}.up-crs{margin:10px 0 0}.up-crs input{margin-top:6px}.up-notes{margin-top:8px;font-size:12.5px;color:var(--text-dim)}.up-notes summary{cursor:pointer;color:#fde68a;min-height:30px;display:flex;align-items:center}.up-notes ul{margin:4px 0 0;padding-left:18px;line-height:1.5}.up-pill{position:absolute;left:8px;bottom:102px;z-index:1000;max-width:calc(100% - 96px);min-height:36px;display:flex;align-items:center;gap:4px;padding:6px 12px;border:1px solid rgba(94,234,212,.45);border-radius:999px;background:#0f172aeb;color:#e2e8f0;font-size:12.5px;box-shadow:0 2px 8px #02061759}.up-pill span:last-child{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.up-pill .spin{border-color:#5eead4;border-right-color:transparent;flex:none}body.tool-on .up-pill{display:none}.ud-files{display:flex;flex-direction:column;gap:8px;margin-bottom:12px;max-height:30vh;overflow-y:auto}.ud-file{display:flex;gap:10px;align-items:flex-start;padding:9px 11px;border:1px solid var(--line);border-radius:10px;background:var(--bg-side-2)}.ud-file .ic{color:#5eead4;margin-top:2px}.ud-file div{min-width:0;display:flex;flex-direction:column}.ud-file b{overflow-wrap:anywhere}.ud-file .warn{font-size:12px;color:#fde68a;margin-top:2px}.ud-file .ok{font-size:12px;line-height:1.45;color:#6ee7b7;margin-top:2px}.ud-replace{font-size:13px;line-height:1.5;color:#cbd5e1;background:#fbbf2414;border:1px solid rgba(251,191,36,.4);border-radius:10px;padding:9px 11px;margin-bottom:10px}dialog.wide-dialog{width:min(1040px,96vw);height:min(840px,92vh);max-height:none;overflow:hidden;padding:0}dialog.wide-dialog[open]{display:flex;flex-direction:column}.ad-head{flex:none;display:flex;align-items:center;gap:12px;padding:12px 12px 12px 18px;border-bottom:1px solid var(--line)}.ad-head h2{display:flex;align-items:center;gap:8px;font-size:17px}.ad-head h2 .ic{color:#fcd34d;width:22px;height:22px}.ad-tabs{margin:0 auto 0 8px;width:min(540px,100%)}.ad-tabs button{min-height:38px}.ad-body{flex:1;min-height:0;overflow-y:auto;overscroll-behavior:contain;padding:14px 18px 24px}.ad-bar{display:flex;align-items:center;gap:10px;margin-bottom:10px}.ad-bar .ad-search{flex:1;margin:0}.ad-bar .btn{margin-left:auto;flex:none}.ad-note{font-size:12.5px;color:var(--text-dim);margin-bottom:10px}.ad-list{display:flex;flex-direction:column;gap:8px}.ad-row,.ad-user{display:grid;grid-template-columns:40px minmax(0,1fr) auto;column-gap:14px;row-gap:10px;align-items:start;padding:12px 14px;border:1px solid var(--line);border-radius:12px;background:var(--bg-side-2)}.ad-row.is-hidden{background:#1f293773;border-style:dashed}.ad-row.is-hidden .ad-name,.ad-row.is-hidden .ad-meta,.ad-user.disabled{opacity:.7}.ad-user.pending{border-color:#fbbf2480;background:#fbbf240f}.ad-swatch{position:relative;display:block;width:36px;height:36px;border-radius:9px;overflow:hidden;border:1px solid var(--line);cursor:pointer;margin-top:1px}.ad-swatch span{position:absolute;inset:3px;border-radius:6px}.ad-swatch input{position:absolute;inset:0;width:100%;height:100%;opacity:0;cursor:pointer;padding:0;border:0}.ad-swatch .swatch-raster{width:auto;height:auto}.ad-main{min-width:0}.ad-name{font-weight:650;font-size:15px;overflow-wrap:anywhere;display:flex;flex-wrap:wrap;align-items:center;gap:6px}.ad-tag{font-size:10.5px;font-weight:700;text-transform:uppercase;letter-spacing:.4px;padding:2px 7px;border-radius:5px;background:#ffffff17;color:#cbd5e1}.ad-tag.off{background:#f8717129;color:#fca5a5}.ad-tag.on{background:#fcd34d29;color:#fcd34d}.ad-meta{font-size:12.5px;color:#cbd5e1;margin-top:2px}.ad-who{font-size:12px;color:var(--text-dim);margin-top:3px;line-height:1.5}.ad-who.ad-reset{color:#fde68a;display:flex;align-items:flex-start;gap:5px}.ad-who.ad-reset .ic{width:13px;height:13px;flex:none;margin-top:2px}.ad-problems{font-size:12px;color:#fde68a;margin-top:4px}.ad-actions{display:flex;flex-wrap:wrap;gap:6px;justify-content:flex-end;max-width:440px}.ad-actions .btn .ic{width:15px;height:15px}.ad-actions select{width:auto;min-height:36px;padding:5px 9px;font-size:13px}.ad-h{margin:18px 0 8px}.ad-h:first-child{margin-top:2px}.ad-hint{margin:12px 2px 0}#ad-uploads:empty{display:none}.ad-intro{flex:1;margin:0;font-size:13px;color:#cbd5e1;line-height:1.5}.ad-intro a{color:#5eead4;white-space:nowrap}.avatar.key{background:#fcd34d24;color:#fcd34d}.avatar.key .ic{width:20px;height:20px}.ad-user.tok .ad-meta code{font-size:11.5px}#ad-shared-key:not(:empty){margin-top:18px}.key-use{list-style:none;margin:6px 0 0;padding:0;font-size:12px;color:var(--text-dim);line-height:1.5}.key-use li{padding:5px 0;border-top:1px solid var(--line);overflow-wrap:anywhere}.key-use b{color:#e2e8f0;font-weight:600}.ad-user.tok.ended{background:#1f293773;border-style:dashed}.ad-user.tok.ended .ad-name,.ad-user.tok.ended .ad-meta,.ad-user.tok.ended .avatar{opacity:.7}.tok-fresh{margin:0 0 14px;padding:14px;border-radius:12px;border:1px solid rgba(45,212,191,.55);background:#14b8a614}.tok-fresh-head{display:flex;align-items:center;gap:8px;font-size:15px;overflow-wrap:anywhere}.tok-fresh-head .ic{flex:none;width:20px;height:20px;color:#5eead4}.tok-fresh p{margin:8px 0;font-size:13px;line-height:1.5}.tok-copy{display:flex;gap:8px;margin:10px 0}.tok-copy input{flex:1;min-width:0;min-height:40px;padding:8px 10px;border-radius:9px;border:1px solid var(--line);background:#0b1220;color:#f8fafc;font:13px var(--mono)}.tok-copy .btn{flex:none}.avatar.code{border-radius:10px;background:#14b8a624;color:#5eead4;font:700 10.5px var(--mono);letter-spacing:-.2px}.ad-sec{max-width:760px}.ad-sec+.ad-sec{margin-top:26px;padding-top:18px;border-top:1px solid var(--line)}.ad-sec>.ad-intro{margin-bottom:12px}.pf-card{padding:12px 14px 10px;border:1px solid var(--line);border-radius:12px;background:var(--bg-side-2)}.pf-row{display:flex;align-items:flex-end;gap:10px}.pf-num{flex:none;width:26px;height:26px;margin-bottom:19px;border-radius:50%;display:inline-flex;align-items:center;justify-content:center;background:#ffffff14;color:#cbd5e1;font-size:12.5px;font-weight:700}.pf-row .pd-field{margin-bottom:8px}.pf-label{flex:1;min-width:0}.pf-type{flex:0 0 210px}.pf-choices{margin:0 0 8px 36px}.pf-foot{align-items:center;flex-wrap:wrap;gap:6px 18px;padding-left:36px}.pf-check{display:inline-flex;align-items:center;gap:8px;font-size:13px;color:#e2e8f0;cursor:pointer;min-height:36px}.pf-check input{width:18px;height:18px;margin:0;accent-color:var(--accent)}.pf-tools{display:flex;gap:6px;margin-left:auto}.pf-tools .btn .ic{width:15px;height:15px}.pf-tools .icon-only{width:36px;padding:0;justify-content:center}.pf-up{transform:rotate(-90deg)}.pf-down{transform:rotate(90deg)}.pf-note{margin:4px 0 0 36px;font-size:12px;color:var(--text-dim)}.pf-bar{margin:12px 0 0}.pf-bar .btn{margin-left:0}.pf-bar #pf-save{margin-left:auto}.pf-state{font-size:12.5px;color:#fde68a;margin-left:auto}.pf-state:not([hidden])+.btn,.pf-state:not([hidden])~#pf-save{margin-left:0}.mv-choices{display:flex;flex-direction:column;gap:6px;margin-bottom:12px}.mv-choice select{margin-top:8px;max-width:420px}.mv-basemap{max-width:320px}.mv-basemap .field-hint{margin-top:1px}.mv-bar{margin:4px 0 0}@media (max-width: 759px){dialog.wide-dialog{width:100vw;max-width:100vw;height:100%;max-height:100%;margin:0;border:0;border-radius:0}.ad-head{flex-wrap:wrap;padding:10px 8px 10px 14px;row-gap:8px}.ad-head h2{flex:1}.ad-tabs{order:3;width:100%;margin:0}.ad-body{padding:12px 12px 28px}.ad-bar{flex-wrap:wrap}.ad-bar .btn{width:100%}.ad-intro{flex-basis:100%}.ad-row,.ad-user{grid-template-columns:40px minmax(0,1fr);padding:11px 12px}.ad-actions{grid-column:1 / -1;justify-content:flex-start;max-width:none}.ad-actions .btn{flex:1 1 auto}.ad-tabs button{padding:6px 2px;font-size:12.5px}.pf-card{padding:11px 12px 9px}.pf-row{flex-wrap:wrap;column-gap:8px}.pf-label{flex:1 1 calc(100% - 36px)}.pf-type{flex:1 1 100%;padding-left:34px}.pf-choices{margin-left:34px}.pf-foot{padding-left:34px;gap:2px 14px}.pf-tools{margin-left:0;width:100%}.pf-tools .btn.danger-ghost{margin-left:auto}.pf-note{margin-left:34px}.pf-bar .btn,.mv-bar .btn{width:auto;flex:1 1 auto}.pf-state{flex-basis:100%;margin:0;order:-1}.mv-basemap{max-width:none}}.off-new{margin:2px 0 8px}.off-list{margin:10px 0 18px}.off-what{font-size:12.5px;color:var(--text-dim);margin-top:6px;line-height:1.45;overflow-wrap:anywhere}.off-changed{font-size:12.5px;color:#fde68a;margin-top:8px;line-height:1.45}.off-card .up-actions .btn .ic{width:16px;height:16px}.off-frame{position:absolute;z-index:640;pointer-events:none;border:2px dashed #fbbf24;border-radius:6px;box-shadow:0 0 0 4000px #02061761}.off-parts{display:flex;flex-direction:column;gap:6px;margin:14px 0 10px}.off-part{display:flex;align-items:flex-start;gap:10px;padding:10px 12px;cursor:pointer;background:#ffffff0a;border:1px solid var(--line);border-radius:10px}.off-part input{margin:2px 0 0;width:18px;height:18px;flex:none;accent-color:var(--accent)}.off-part>span:first-of-type{flex:1;min-width:0;display:flex;flex-direction:column}.off-part b{font-size:14px;font-weight:600;overflow-wrap:anywhere}.off-part small{font-size:12px;color:var(--text-dim);margin-top:2px;line-height:1.4}.off-size{font-size:12.5px;color:#cbd5e1;white-space:nowrap;font-variant-numeric:tabular-nums;margin-top:1px}.off-note{font-size:12.5px;color:var(--text-dim);line-height:1.5;margin:0 0 10px}.net-pill.saved{background:#0f172af0;border:1px solid rgba(251,191,36,.6)}body.popup-on .net-pill{visibility:hidden}
