:root{font-family:Inter,"Segoe UI","Microsoft YaHei",sans-serif;color:#253146;background:#f5f7fb;font-synthesis:none;--blue:#1667ed;--muted:#7d899a;--line:#e9edf4;--nav:#101d35}*{box-sizing:border-box}body{margin:0;font-size:16px}button,input,textarea,select{font:inherit}button,a,input,textarea,select{-webkit-tap-highlight-color:transparent}button,a{cursor:pointer}button{border:0}button:disabled{opacity:.5;cursor:wait}a{color:var(--blue);text-decoration:none}button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{outline:3px solid #89b4ff;outline-offset:3px}svg{width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;vertical-align:middle}h1,h2,h3,p{margin:0}h1{font-size:29px;letter-spacing:-.8px}h2{font-size:18px}h3{font-size:16px}small{font-size:13px;color:var(--muted)}.boot{padding:20vh 10vw;font-size:36px;font-weight:800;letter-spacing:4px}.boot span{display:block;margin-top:20px;font-size:16px;letter-spacing:0;color:var(--muted)}.shell{display:grid;grid-template-columns:238px 1fr;min-height:100vh}.sidebar{position:fixed;inset:0 auto 0 0;width:238px;background:var(--nav);color:#a4afc3;padding:34px 20px;display:flex;flex-direction:column;z-index:5}.brand{display:flex;align-items:center;gap:11px;color:#fff;font-weight:750;font-size:23px;letter-spacing:2px;padding:0 12px}.brand-mark{display:grid;place-items:center;background:var(--blue);width:35px;height:35px;border-radius:10px;color:white;transform:rotate(-8deg)}.brand-mark svg{width:25px;height:25px;transform:rotate(8deg)}.brand-caption{font-size:11px;letter-spacing:2.6px;margin:12px 12px 39px;color:#718199}.nav-label{font-size:12px;letter-spacing:1px;color:#65768f;margin:22px 16px 12px}.nav-item{display:flex;align-items:center;gap:14px;color:#a4afc3;padding:14px 16px;border-radius:8px;margin:5px 0;font-size:14px;transition:.15s}.nav-item:hover{background:#1c2b43;color:#fff}.nav-item.active{background:#1d6aef;color:#fff;box-shadow:0 6px 18px #0754df25}.nav-item small{margin-left:auto;background:#2c3d58;padding:2px 6px;border-radius:4px;color:#c2ccda;font-size:10px}.sidebar-bottom{margin-top:auto;padding-top:45px}.support-card{background:linear-gradient(135deg,#1d2f4e,#17263e);border:1px solid #2b3c57;border-radius:10px;padding:17px 14px}.support-card p{font-size:13px;line-height:1.8;margin:7px 0 12px;color:#8fa0ba}.support-card strong{color:#d4deeb;font-size:14px}.support-card button{width:100%;font-size:13px;background:#2a3e5d;color:#d6e3f6;padding:9px;border-radius:6px}.copyright{font-size:11px;text-align:center;margin-top:24px;color:#5b6d88}.workspace{grid-column:2;min-width:0}.topbar{height:83px;display:flex;align-items:center;justify-content:space-between;padding:0 42px;background:#fff;border-bottom:1px solid var(--line)}.breadcrumb{font-size:14px;color:#929aaa}.breadcrumb span{margin-left:10px;color:#33425a}.top-actions{display:flex;align-items:center;gap:23px}.icon-button{background:transparent;color:#8590a3;padding:5px}.account{display:flex;align-items:center;gap:11px;font-size:13px}.avatar{display:grid;place-items:center;background:#e9f0fe;color:#2063d6;width:35px;height:35px;border-radius:50%;font-weight:700}.account small{display:block;font-size:11px;margin-top:2px}.mobile-menu{display:none}.main{max-width:1500px;margin:auto;padding:36px 42px}.page-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:29px;gap:15px}.subtitle{font-size:14px;color:var(--muted);margin-top:10px;line-height:1.7}.pill{display:inline-flex;align-items:center;gap:7px;border:1px solid #e0e7ee;background:#fff;padding:8px 13px;border-radius:6px;color:#6f7e90;font-size:12px}.dot{width:6px;height:6px;background:#24b58a;border-radius:50%;display:inline-block}.hero{position:relative;overflow:hidden;display:flex;align-items:center;justify-content:space-between;min-height:208px;background:linear-gradient(112deg,#1764e6 0%,#2e7cf6 65%,#4089f8 100%);color:white;border-radius:13px;padding:32px 34px;margin-bottom:24px}.hero:after,.hero:before{content:"";position:absolute;width:330px;height:330px;border:1px solid #ffffff15;border-radius:50%;right:8%;top:-54px;pointer-events:none}.hero:after{width:440px;height:440px;right:4%;top:-110px}.eyebrow{font-size:11px;letter-spacing:2px;font-weight:600;color:#cee0ff;margin-bottom:15px}.hero h2{font-size:27px;letter-spacing:.1px;font-weight:600}.hero p{font-size:13px;color:#d4e4ff;margin-top:12px;line-height:1.9}.hero-copy{position:relative;z-index:1}.hero .button{margin-top:21px;background:#fff;color:#2469df;padding:10px 17px;font-size:13px}.globe{width:180px;height:180px;position:relative;margin-right:55px;flex-shrink:0;opacity:.9;background:radial-gradient(ellipse at 35% 25%,#ffffff38,#ffffff06 65%);border:1px solid #ffffff45;border-radius:50%;box-shadow:inset -15px -10px 25px #1445bb33,0 0 50px #a6d7ff20;transform:rotate(-20deg)}.globe i{position:absolute;inset:0 23%;border-left:1px solid #ffffff38;border-right:1px solid #ffffff38;border-radius:50%}.globe i:nth-child(2){inset:0 40%}.globe i:nth-child(3){inset:25% 0;border:0;border-top:1px solid #ffffff38;border-bottom:1px solid #ffffff38}.globe i:nth-child(4){inset:47% -20%;border:1px solid #ffffff55;transform:rotate(-20deg);box-shadow:0 0 12px #ffffff15}.stats{display:grid;grid-template-columns:repeat(4,1fr);gap:19px;margin-bottom:26px}.stat{background:white;border:1px solid var(--line);border-radius:11px;padding:22px}.stat-top{display:flex;justify-content:space-between;align-items:center;font-size:13px;color:#7e8999}.stat-icon{display:grid;place-items:center;width:35px;height:35px;border-radius:9px;background:#edf3ff;color:#3a78e9}.stat-icon.green{background:#e8f8f3;color:#20aa83}.stat-icon.purple{background:#f3edff;color:#9770db}.stat-icon.orange{background:#fff5e9;color:#ecaa50}.stat-value{font-size:28px;font-weight:650;letter-spacing:-.8px;margin:13px 0 9px;color:#273449}.stat-value em{font-style:normal;font-size:13px;color:#9aa5b3;letter-spacing:0;margin-left:5px;font-weight:400}.stat-foot{font-size:12px;color:#8b96a6}.link{background:transparent;color:var(--blue);padding:0;font-size:13px}.grid-two{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(300px,1fr);gap:24px;margin-bottom:24px}.card{background:#fff;border:1px solid var(--line);border-radius:11px;overflow:hidden}.card-head{display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #f0f2f6;padding:21px 24px;gap:10px}.card-head h2{font-size:16px;font-weight:600;display:flex;gap:9px;align-items:center}.card-head h2 svg{width:18px;color:#71849f}.card-body{padding:24px}.plan-summary{display:flex;justify-content:space-between;gap:15px;align-items:center;margin-bottom:24px}.plan-summary h3{font-size:21px}.badge{font-size:11px;display:inline-block;background:#edf4ff;color:#347ee6;padding:4px 9px;border-radius:4px;white-space:nowrap}.badge.green{background:#eaf8f1;color:#2ba578}.badge.gray{background:#f0f2f5;color:#8792a2}.badge.orange{background:#fff3df;color:#c38e37}.progress-label{display:flex;justify-content:space-between;font-size:13px;margin-bottom:12px;color:#7a8698}.progress-label strong{font-weight:500;color:#46566f}.progress{height:7px;border-radius:6px;background:#eef2f8;overflow:hidden}.progress-fill{height:100%;background:#367bf3;border-radius:6px}.usage-foot{display:flex;justify-content:space-between;font-size:12px;color:#9aa4b2;margin-top:11px}.card-divider{height:1px;background:var(--line);margin:25px 0 20px}.button{display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:11px 17px;border-radius:7px;background:var(--blue);color:white;font-size:14px;font-weight:500;transition:.16s;white-space:nowrap}.button:hover{filter:brightness(.95);transform:translateY(-1px)}.button svg{width:17px;height:17px}.button.secondary{background:white;color:#5e6d81;border:1px solid #e1e7ef}.button.danger{background:#fff0f0;color:#d95a5a}.button.small{padding:7px 11px;font-size:12px}.button-row{display:flex;gap:12px;flex-wrap:wrap}.button-row .button{flex:1}.notice{padding:18px 0;border-bottom:1px solid #f1f3f6}.notice:first-child{padding-top:0}.notice:last-child{border-bottom:0;padding-bottom:0}.notice h3{font-size:14px;font-weight:500;line-height:1.6}.notice p{font-size:13px;color:#8893a4;line-height:1.8;margin:7px 0}.notice small{font-size:11px}.quick-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:12px}.quick{border:1px solid var(--line);border-radius:8px;padding:19px 10px;background:#fff;text-align:center;color:#56657a;font-size:13px}.quick svg{display:block;margin:0 auto 12px;color:#5484d0;width:25px;height:25px}.quick:hover{background:#f8faff;border-color:#b3cdff}.node-row{display:flex;align-items:center;gap:13px;padding:14px 0;border-bottom:1px solid #f1f3f6}.node-row:last-child{border:0}.flag{display:grid;place-items:center;font-size:24px;width:37px;height:37px;background:#f5f7fc;border-radius:8px}.node-detail{flex:1}.node-detail strong{font-size:13px;font-weight:500;display:block}.node-detail small{font-size:11px;display:block;margin-top:4px}.node-state{font-size:11px;color:#95a0ae}.footer{font-size:11px;color:#a5aeba;text-align:center;padding:15px 0 4px}.demo-bar{background:#fff6e4;color:#ac7e2b;padding:10px 20px;text-align:center;font-size:12px;border-bottom:1px solid #f5e7c8}.plans{display:grid;grid-template-columns:repeat(3,1fr);gap:24px}.pricing-card{padding:30px;position:relative;overflow:hidden}.pricing-card.featured{border:1px solid #548cf8;box-shadow:0 8px 30px #1166ee0c}.recommended{font-size:11px;color:white;background:#2974ec;position:absolute;right:0;top:0;padding:6px 16px;border-radius:0 0 0 8px}.pricing-card h2{margin-bottom:12px;font-size:20px}.pricing-card p{font-size:13px;color:#8d98a7;line-height:1.8;min-height:46px}.price{font-size:42px;font-weight:650;margin:25px 0;letter-spacing:-1px}.price em{font-style:normal;font-size:18px;vertical-align:top;position:relative;top:9px;margin-right:3px}.price small{font-size:13px;letter-spacing:0;font-weight:400;margin-left:5px}.features{list-style:none;padding:23px 0;margin:0;border-top:1px solid var(--line)}.features li{font-size:14px;color:#63738a;margin:17px 0;display:flex;gap:10px;align-items:center}.features svg{width:16px;color:#3da88d}.full{width:100%}.info-strip{padding:20px 24px;margin:25px 0;background:#edf4ff;color:#6481ae;font-size:13px;line-height:1.9;border-radius:9px}.empty{text-align:center;padding:40px 20px;color:#91a0b4;font-size:14px;line-height:1.9}.empty svg{width:35px;height:35px;display:block;margin:0 auto 15px;color:#b1c2da}.empty .button{margin-top:18px}.table-wrap{overflow:auto}table{width:100%;border-collapse:collapse;white-space:nowrap;text-align:left;font-size:13px}th{font-weight:500;color:#8b96a6;background:#fafbfd;padding:16px 23px;border-bottom:1px solid var(--line)}td{padding:18px 23px;border-bottom:1px solid #f0f3f6}td .button{margin-right:6px}td .mono{font-size:11px}tr:last-child td{border-bottom:0}.mono{font-family:Consolas,monospace}.node-cards{display:grid;grid-template-columns:repeat(2,1fr);gap:18px}.node-cards .node-row{padding:22px}.auth{min-height:100vh;display:grid;grid-template-columns:1fr 1fr;background:white}.auth-intro{background:#101e37;color:#fff;padding:65px 12%;display:flex;flex-direction:column;justify-content:center;position:relative;overflow:hidden}.auth-intro .brand{position:absolute;top:50px;left:10%}.auth-intro h1{font-size:46px;line-height:1.5;letter-spacing:1px}.auth-intro p{font-size:15px;color:#94a8c5;line-height:2;margin-top:20px}.auth-intro .globe{margin:40px auto 0;width:230px;height:230px}.auth-form{display:flex;align-items:center;justify-content:center;padding:40px}.auth-box{width:380px}.auth-box h2{font-size:29px;margin-bottom:13px}.auth-box .subtitle{margin-bottom:32px}.form label{display:block;font-size:13px;color:#697991;margin:18px 0 9px}.form input,.form textarea,.form select,.search{width:100%;border:1px solid #dfe5ef;border-radius:7px;background:#fff;padding:12px 13px;color:#33435b;font-size:14px}.form textarea{resize:vertical;min-height:90px}.form input:focus,.form textarea:focus{border-color:#85acf0;outline:2px solid #e6efff}.form .button[type=submit]{margin-top:24px}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:0 18px}.form-error{color:#d05454;font-size:13px;line-height:1.7;margin-top:14px}.auth-switch{text-align:center;margin-top:25px;color:#8f99a8;font-size:13px}.demo-login{font-size:13px;padding:15px;border-radius:7px;background:#f2f6fd;color:#6d88b4;margin-top:24px;line-height:1.8}.demo-login button{background:transparent;padding:0;color:#2068d9}.account-panel{max-width:700px}.kv{display:flex;justify-content:space-between;gap:20px;padding:17px 0;border-bottom:1px solid var(--line);font-size:14px}.kv span:first-child{color:#8b96a6}.kv:last-child{border:0}.subscription-url{background:#f5f8fd;border:1px solid var(--line);border-radius:7px;padding:14px;font-family:Consolas,monospace;font-size:13px;word-break:break-all;color:#6780a7;line-height:1.8;margin:20px 0}.message{border-radius:8px;background:#f3f6fb;padding:17px;margin-bottom:16px;line-height:1.8;font-size:14px;white-space:pre-wrap}.message.staff{background:#edf4ff}.message-meta{font-size:12px;color:#8797ad;margin-bottom:8px}#toast{position:fixed;bottom:30px;left:50%;transform:translate(-50%,20px);opacity:0;pointer-events:none;background:#16253d;color:#fff;padding:13px 23px;border-radius:9px;font-size:14px;z-index:30;box-shadow:0 5px 30px #17253c25;transition:.2s;max-width:90vw}#toast.show{opacity:1;transform:translate(-50%,0)}dialog{border:0;border-radius:14px;padding:0;width:min(550px,93vw);max-height:88vh;box-shadow:0 20px 100px #10233f30;color:#33435b}dialog::backdrop{background:#101f3a77;backdrop-filter:blur(3px)}.modal-head{display:flex;align-items:center;justify-content:space-between;padding:23px 27px;border-bottom:1px solid var(--line)}.modal-body{padding:3px 27px 27px}.modal-body>p{font-size:14px;line-height:1.8;margin-top:20px;color:#8190a5}.search{width:230px;padding:9px 12px}.list-toolbar{display:flex;align-items:center;gap:12px}.help-step{display:flex;gap:20px;margin-bottom:28px}.step-num{width:33px;height:33px;flex-shrink:0;border-radius:50%;background:#edf4ff;color:#2973e8;display:grid;place-items:center;font-size:14px}.help-step p{font-size:14px;color:#8995a6;line-height:1.9;margin-top:9px}.menu-toggle{display:none}.refresh{display:flex;align-items:center;gap:7px}.refresh svg{width:14px}.header-title{margin-bottom:22px}.pagination{display:flex;justify-content:flex-end;gap:10px;margin-top:16px}.error-state{background:#fff1f1;color:#be5151;padding:20px;border-radius:9px;font-size:14px;line-height:1.8}
@media(min-width:1600px){.main{padding-top:45px}.hero{min-height:230px}.stats{gap:24px}.stat{padding:26px}}
@media(max-width:1150px){.shell{grid-template-columns:210px 1fr}.sidebar{width:210px;padding:28px 14px}.main{padding:28px}.topbar{padding:0 28px}.stats{gap:12px}.stat{padding:17px}.stat-value{font-size:24px}.grid-two{grid-template-columns:1.3fr 1fr;gap:18px}.globe{margin-right:15px;width:140px;height:140px}.plans{gap:15px}.pricing-card{padding:22px}.quick-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:850px){.shell{display:block}.sidebar{transform:translateX(-100%);transition:transform .2s}.sidebar.visible{transform:translateX(0);box-shadow:0 0 0 100vmax #101d3555}.topbar{height:68px;padding:0 20px}.mobile-menu{display:block}.breadcrumb{display:flex;align-items:center;gap:12px}.main{padding:25px 20px}.grid-two{grid-template-columns:1fr}.stats{grid-template-columns:repeat(2,1fr)}.plans{grid-template-columns:1fr}.hero{padding:26px;min-height:200px}.hero h2{font-size:23px}.globe{width:110px;height:110px;margin:0}.page-head h1{font-size:24px}.page-head .pill{display:none}.auth{grid-template-columns:1fr}.auth-intro{display:none}.auth-form{min-height:100vh}.node-cards{grid-template-columns:1fr}.account-label{display:none}.top-actions{gap:14px}.quick-grid{grid-template-columns:repeat(4,1fr)}}
@media(max-width:480px){.hero .globe{display:none}.stat{padding:15px}.stat-top{font-size:12px}.stat-value{font-size:23px}.stat-icon{width:28px;height:28px}.stat-icon svg{width:17px}.stat-foot{font-size:11px}.card-head,.card-body{padding:20px}.quick-grid{grid-template-columns:repeat(2,1fr)}.page-head{align-items:flex-start}.page-head .button{font-size:12px;padding:9px 12px}.form-grid{grid-template-columns:1fr}.top-actions>.icon-button{display:none}.account small{display:none}.demo-bar{font-size:11px}.table-wrap td,.table-wrap th{padding:15px}.list-toolbar{flex-wrap:wrap}.search{width:160px}}

.install-card{margin:18px 0;padding:16px;border:1px solid var(--border,#303442);border-radius:14px}.install-command{white-space:pre-wrap;overflow-wrap:anywhere;word-break:break-all;background:#171924;color:#e4e8f4;padding:18px;border-radius:12px;line-height:1.7;font-size:13px;user-select:all}.install-warning{background:#51351b;color:#ffd6a0;border:1px solid #a76c32;padding:14px;border-radius:10px;margin:14px 0}dialog:has(.install-card){width:min(1000px,94vw);max-width:1000px}

.controller-card{margin-bottom:22px}.controller-card .mono{overflow-wrap:anywhere;word-break:break-all}
/* Node editor: grouped capsule controls, isolated from the rest of the panel. */
dialog:has(.node-config-picker){width:min(1120px,95vw);max-width:1120px;background:#151219;color:#f5f1f6}dialog:has(.node-config-picker) .modal-head{border-color:#302a38}dialog:has(.node-config-picker) .modal-body{padding:8px 30px 30px}dialog:has(.node-config-picker) .form label{color:#b8afc0}dialog:has(.node-config-picker) .form input,dialog:has(.node-config-picker) .form select,dialog:has(.node-config-picker) .form textarea{background:#2b2533;border-color:#43394f;color:#f5f1f6;border-radius:12px}dialog:has(.node-config-picker) .subtitle{color:#b8afc0;line-height:1.8}dialog:has(.node-config-picker) .modal-head h2{color:#f5f1f6}.node-config-caption{color:#aaa0b0;margin:24px 0 28px;font-size:13px}.node-choice-section{margin:0 0 30px}.node-choice-section h3,.node-detail-card h3{font-size:18px;color:#f5f1f6;margin:0 0 18px}.node-choices{display:flex;flex-wrap:wrap;gap:12px}.node-choice{display:inline-flex;align-items:center;justify-content:center;gap:9px;min-height:45px;padding:11px 22px;border:1px solid transparent;border-radius:999px;background:#2b2533;color:#d8d0df;font-size:13px;font-weight:650;cursor:pointer;transition:background .15s,border-color .15s}.node-choice:hover{background:#393043;border-color:#655675}.node-choice:focus-visible{outline:2px solid #b48bf2;outline-offset:3px}.node-choice[aria-pressed="true"]{background:#f6f0f5;color:#17121c;border-color:#f6f0f5}.node-choice[hidden],.node-detail-card [hidden],.node-config-picker [hidden]{display:none!important}.choice-dot{width:8px;height:8px;background:currentColor;border-radius:50%;flex-shrink:0}.node-choice[data-value="shadowsocks"]{color:#00d98c}.node-choice[data-value="vless"]{color:#c78aff}.node-choice[data-value="vmess"]{color:#52a1ff}.node-choice[data-value="trojan"]{color:#ff667c}.node-choice[data-value="hysteria"]{color:#9490ff}.node-choice[data-value="anytls"]{color:#19b8aa}.node-choice[aria-pressed="true"]{color:#17121c}.node-mode-choices{display:grid;grid-template-columns:1fr 1fr;gap:10px}.node-mode-choices .choice-dot{display:none}.node-detail-card{padding:22px 24px;background:#211c28;border:1px solid #302938;border-radius:22px;margin:18px 0}.node-detail-card>div:first-child label{margin-top:0}.node-detail-card .subtitle{margin-top:16px;font-size:13px}.node-detail-card textarea{font-family:Consolas,monospace;font-size:13px;line-height:1.7}dialog:has(.node-config-picker) .form>.form-grid{gap:16px}dialog:has(.node-config-picker) .button[type="submit"]{border-radius:999px}
@media(max-width:600px){dialog:has(.node-config-picker) .modal-body{padding:6px 18px 22px}.node-choices{gap:8px}.node-choice{padding:10px 15px;font-size:12px;min-height:40px}.node-detail-card{padding:18px 16px}.node-choice-section{margin-bottom:24px}.node-choice-section h3{font-size:16px}}
/* Node management and inbound wizard: reference-style sections, not dummy controls. */
.main:has(.node-admin){background:#141118;min-height:calc(100vh - 80px)}.node-admin{color:#eee8f2}.node-admin .page-head h1,.node-admin h2{color:#f6f0f8}.node-admin .page-head p,.node-admin small,.node-admin .subtitle{color:#a99eb2}.node-list-heading{display:flex;justify-content:space-between;align-items:center;gap:18px;margin:28px 0 20px}.node-list-heading h2{font-size:22px;margin:0 0 8px}.node-list-heading h2 span{color:#a99eb2}.node-list-heading p,.node-list-note{font-size:13px;color:#b4a6bd;line-height:1.8}.node-list-filters{padding:20px 0}.node-list-filters>label{display:block;color:#cfc3d8;font-size:13px;margin-bottom:12px}.node-filter-inputs{display:grid;grid-template-columns:2fr 1fr 1fr;gap:12px;margin:20px 0 4px}.node-filter-inputs input,.node-filter-inputs select{background:#241f2c;border:1px solid #3a3045;color:#eee8f2;border-radius:999px;padding:12px 18px;min-width:0}.node-list-card{background:#1c1722;border:1px solid #342b3d;border-radius:18px;overflow:hidden}.node-admin table{background:transparent;color:#e4dce9}.node-admin table th{background:#241e2d;color:#ada0ba;border-color:#342b3d}.node-admin table td{border-color:#342b3d}.node-admin table tr:hover{background:#241e2d}.node-admin table small{display:block;margin-top:8px}.node-name-button,.node-config-button{background:none;border:0;color:#d6c3ee;cursor:pointer;padding:0;font:inherit;text-align:left}.node-name-button{color:#f4eef7;font-weight:650}.node-name-button:hover,.node-config-button:hover{text-decoration:underline}.node-protocol-tag{font-size:11px;letter-spacing:.05em;font-weight:750;color:#a1a6ff}.node-protocol-tag[data-protocol="anytls"]{color:#25c7b8}.node-protocol-tag[data-protocol="vless"]{color:#c68cff}.node-protocol-tag[data-protocol="trojan"]{color:#ff7184}.node-protocol-tag[data-protocol="shadowsocks"]{color:#25d693}.node-row-actions{display:flex;gap:10px;align-items:center;white-space:nowrap}.node-row-actions .node-choice{font-size:12px;min-height:32px;padding:7px 14px}.node-list-heading svg{width:15px;height:15px}.node-admin [hidden]{display:none!important}.node-server-card{margin-top:22px}.node-server-card select{margin-top:2px}.node-key-details{margin-top:22px}.node-key-details summary{cursor:pointer;color:#c8b8d8;font-size:14px}.node-key-details .node-choice{margin-top:16px}.node-editor-footer{display:flex;align-items:center;gap:12px;position:sticky;bottom:-27px;background:#151219ee;backdrop-filter:blur(10px);border-top:1px solid #3a3045;margin:24px -8px -8px;padding:18px 8px}.node-editor-footer>span{font-size:12px;color:#b1a5bc;margin-right:auto}.node-editor-footer .button[type="submit"]{margin:0}.node-detail-card .form-grid{align-items:end}.node-detail-card .form-grid>select{align-self:end}.node-config-picker>.node-detail-card [data-setting="expert"]>label{margin-top:0}
@media(max-width:650px){.node-filter-inputs{grid-template-columns:1fr}.node-list-heading{align-items:flex-start}.node-editor-footer{flex-wrap:wrap;bottom:-22px}.node-editor-footer>span{width:100%;margin:0}.node-editor-footer>.button{margin-left:auto}.node-detail-card .form-grid{grid-template-columns:1fr}.node-list-heading h2{font-size:19px}}
/* Complete protocol editor: native record forms and sectioned expert controls. */
dialog:has(.node-config-picker){width:min(1520px,95vw);max-width:1520px;max-height:90vh}.node-choice-section h3{font-size:21px}.node-choice{font-size:14px;min-height:47px;padding:12px 23px}.node-choice:disabled{opacity:.34;cursor:not-allowed;border:1px dashed #615569}.node-choice:disabled:hover{background:#2b2533}.node-option-wide{grid-column:1/-1}.node-option-field textarea{font-family:Consolas,monospace;line-height:1.6}.node-expert-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:12px 22px}.node-expert-grid textarea{font-family:Consolas,monospace;min-height:160px}.node-preview summary{cursor:pointer;font-weight:650}.node-preview button{margin-top:18px}.node-preview pre{white-space:pre-wrap;overflow-wrap:anywhere;font-family:Consolas,monospace;line-height:1.6;font-size:12px;color:#c5b6d7;max-height:500px;overflow:auto}.node-record-row{padding:18px;border:1px solid #4a3d56;border-radius:16px;margin:14px 0;background:#282130}.node-record-row .form-grid{margin-bottom:14px}.node-record-row label{font-size:12px}.node-record-row .node-choice{font-size:12px;min-height:35px;padding:8px 14px}.node-config-picker .button-row{flex-wrap:wrap}.node-config-picker .button-row .node-choice{margin-top:14px}.node-config-picker label{line-height:1.6}
@media(max-width:650px){.node-expert-grid{grid-template-columns:1fr}.node-choice-section h3{font-size:17px}.node-choice{font-size:12px;min-height:39px;padding:10px 14px}.node-record-row{padding:13px}.node-expert-grid textarea{font-size:12px}}

.management-filters { display:flex; flex-wrap:wrap; gap:12px; align-items:center; padding:20px; }
.management-filters input { flex:1; min-width:200px; }
.management-filters select { width:auto; min-width:130px; }
/* Certificate workspace: scoped to avoid changing the existing user area. */
.main:has(.cert-admin){background:#141118;color:#f5f2f7;min-height:calc(100vh - 80px)}
.cert-admin{--cert-panel:#201c26;--cert-border:#332c3c;--cert-muted:#aaa2b1;padding:8px 0;min-width:0}
.cert-admin .page-head{align-items:flex-start;gap:24px;flex-wrap:wrap;margin-bottom:28px}.cert-admin h1{color:#f8f4fa;font-size:25px}.cert-admin .subtitle{color:var(--cert-muted)}
.cert-toolbar{display:flex;align-items:center;gap:22px;flex-wrap:wrap;margin-left:auto;padding-top:4px}.cert-admin .button,.cert-dialog .button{background:#f4eef6;color:#211b27;border-color:#f4eef6;border-radius:9px;font-weight:600}.cert-admin .button.secondary,.cert-dialog .button.secondary{background:#2c2633;color:#ded6e5;border:1px solid #403649}.cert-admin .button:hover,.cert-dialog .button:hover{filter:brightness(1.12)}
.cert-tabs{display:flex;gap:28px;border-bottom:1px solid var(--cert-border);margin-bottom:24px}.cert-tabs button{border:0;background:none;padding:13px 2px;color:var(--cert-muted);font-weight:600;border-bottom:2px solid transparent}.cert-tabs button.active{color:#f4eafa;border-bottom-color:#c8a4e3}.cert-tabs span{background:#302738;border-radius:5px;font-size:11px;padding:2px 7px;margin-left:7px}.cert-table{border:1px solid var(--cert-border);border-radius:12px;overflow:hidden;background:var(--cert-panel)}.cert-table .table-wrap{border:0;border-radius:0}.cert-admin table{background:transparent;font-size:13px}.cert-admin th{background:#26202d;color:#b8adbf;border-color:var(--cert-border);padding:17px 14px;white-space:nowrap}.cert-admin td{color:#e7e0ed;border-color:#332b3b;padding:19px 14px}.cert-admin tr:hover td{background:#26202d}.cert-admin .empty{color:var(--cert-muted);padding:70px 20px}.cert-secondary{display:block;color:var(--cert-muted);font-size:11px;margin-top:5px;max-width:200px;overflow:hidden;text-overflow:ellipsis}.cert-tag{display:inline-block;background:#31273d;border:1px solid #473253;color:#d6b1ef;padding:3px 8px;border-radius:6px;font-size:11px;white-space:nowrap}.cert-actions{display:flex;gap:5px;flex-wrap:nowrap}.cert-actions .button{padding:5px 8px;font-size:11px;white-space:nowrap}.cert-section-head{display:flex;justify-content:space-between;align-items:center;padding:18px 22px;border-bottom:1px solid var(--cert-border)}.cert-section-head h2{font-size:16px;margin:0;color:#eee7f3}.cert-footnote{font-size:12px;color:var(--cert-muted);margin-top:20px;line-height:1.8}.cert-warning{padding:14px 16px;background:#3b2b1c;border:1px solid #70532f;border-radius:9px;color:#edc997;font-size:12px;line-height:1.8;margin-bottom:15px}
.cert-switch{display:inline-flex;position:relative;align-items:center;gap:9px;cursor:pointer;font-size:12px;white-space:nowrap}.cert-switch input{position:absolute;opacity:0;width:34px;height:20px;margin:0;z-index:1;cursor:pointer}.cert-switch span{position:relative;width:34px;height:20px;flex-shrink:0;background:#48404f;border-radius:20px;transition:background .15s}.cert-switch span:after{content:'';position:absolute;width:14px;height:14px;top:3px;left:3px;border-radius:50%;background:#d9d0df;transition:transform .15s}.cert-switch input:checked+span{background:#a675c6}.cert-switch input:checked+span:after{transform:translateX(14px);background:white}.cert-switch input:focus-visible+span{outline:2px solid #e0b9ff;outline-offset:3px}.cert-switch input:disabled+span{opacity:.4;cursor:not-allowed}.cert-switch b{font-weight:500}.cert-table td .cert-switch b{position:absolute;clip-path:inset(50%);width:1px;height:1px;overflow:hidden}
#modal:has(.cert-dialog){width:min(720px,calc(100vw - 28px));max-width:720px;background:#1b1720;color:#f4edf8;border:1px solid #3b3144;border-radius:16px;padding:0}#modal:has(.cert-dialog) .modal-head{border-bottom:1px solid #342b3d;padding:22px 26px;background:#1b1720}#modal:has(.cert-dialog) .modal-head h2{color:#f5eff8;font-size:20px}#modal:has(.cert-dialog) .modal-body{padding:24px 26px}#modal:has(.cert-dialog) .icon-button{color:#aaa0b4}.cert-dialog .form{gap:16px}.cert-dialog label{color:#ddd3e4;font-size:13px}.cert-dialog input:not([type=checkbox]),.cert-dialog select,.cert-dialog textarea{background:#28212f;color:#f5eef9;border:1px solid #45394f;border-radius:9px;padding:12px 13px;width:100%}.cert-dialog input::placeholder,.cert-dialog textarea::placeholder{color:#877b92}.cert-dialog input:focus,.cert-dialog textarea:focus,.cert-dialog select:focus{outline:2px solid #a575c7;outline-offset:1px}.cert-dialog .subtitle{color:#a99ab6;font-size:12px;line-height:1.8;margin:0}.cert-dialog .form-grid{gap:16px}.cert-dialog .cert-pem{min-height:145px;font:12px/1.6 Consolas,monospace;resize:vertical}.cert-dialog-footer{display:flex;justify-content:flex-end;gap:10px;border-top:1px solid #342b3d;padding-top:20px;margin-top:8px}.cert-toggle-block{padding:4px 0}.cert-toggle-block p{color:#9e8fac;font-size:12px;margin:7px 0 0 43px;line-height:1.7}.cert-terms{display:flex;align-items:flex-start;gap:8px;font-size:12px!important;line-height:1.8;flex-wrap:wrap}.cert-terms a{color:#ceabe5}.cert-terms input{margin-top:4px}.cert-detail-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px;color:#a99ab6;font-size:12px}.cert-detail-grid strong{display:block;margin-top:7px;color:#eee4f4;font-size:14px;font-weight:500}.cert-fingerprint{font:11px/1.8 Consolas,monospace;word-break:break-all}.cert-dialog h3{font-size:14px;margin:24px 0 12px}.cert-dialog th{background:#292130;color:#b7a9c2;border-color:#3c3046}.cert-dialog td{border-color:#3c3046;color:#ddd2e6;font-size:12px}.cert-dialog .table-wrap{border-color:#3c3046}.cert-dialog .empty{color:#a99ab6}.cert-node-list{max-height:350px;overflow:auto}.cert-node-list label{display:flex;gap:12px;padding:12px 4px;border-bottom:1px solid #342b3d;align-items:center}.cert-node-list small{display:block;color:#9e8fac;margin-top:4px}.cert-dialog [hidden]{display:none!important}.cert-dialog [data-cert-credentials]{display:grid;gap:16px}.cert-dialog [data-cert-dns]{display:grid;gap:15px}
@media(max-width:800px){.cert-toolbar{margin-left:0}.cert-admin .page-head{gap:14px}.cert-toolbar .button-row{gap:7px}.cert-detail-grid{grid-template-columns:1fr}.cert-admin h1{font-size:22px}.cert-tabs{gap:20px}.cert-dialog .form-grid{grid-template-columns:1fr}}

@import url('/fonts.css');
.sidebar{overflow-y:auto}

.cert-dialog .cert-switch{display:flex;align-items:center;gap:9px;margin:0}.cert-dialog .cert-switch span{display:block}.cert-dialog .form-grid>div{min-width:0}

.node-row-actions .node-delete-button{color:#be5151;border-color:#edcaca}.node-row-actions .node-delete-button:hover{background:#fff1f1}

.plan-node-options{border:1px solid var(--line);border-radius:7px;margin-top:20px;padding:14px;max-height:300px;overflow:auto}.form .plan-node-option{display:flex;align-items:center;gap:10px;margin:12px 0}.form .plan-node-option input{width:auto;flex-shrink:0}

/* Self-hosted country map; no tile service or external geolocation. */
.node-map-card{overflow:hidden;border:1px solid #203957;border-radius:16px;background:#0d1e34;color:#d4e2f6;box-shadow:0 14px 40px #0b254b12}.node-map-head{padding:29px 30px 19px;display:flex;align-items:center;justify-content:space-between;gap:24px}.map-eyebrow{display:block;color:#7398c4;font-size:10px;font-weight:700;letter-spacing:2.1px;margin-bottom:12px}.node-map-head h2{font-size:26px;font-weight:600;color:#edf5ff;letter-spacing:.5px}.node-map-head p{color:#8099b8;font-size:12px;margin-top:10px}.map-totals{display:flex;gap:29px;flex-shrink:0}.map-totals>div{display:flex;flex-direction:column;gap:7px}.map-totals strong{font-size:27px;color:#f1f6ff;font-weight:600}.map-totals span{font-size:11px;color:#8299b6}.node-map-layout{display:grid;grid-template-columns:minmax(0,1fr) 202px;padding:0 14px 13px}.world-map-stage{min-width:0;align-self:center}.world-node-map{width:100%;height:auto;display:block;fill:none;stroke:none;overflow:visible}.map-grid{stroke:#6895c317;stroke-width:.6}.map-land{fill:#233a55;stroke:#0d1e34;stroke-width:.75;vector-effect:non-scaling-stroke;transition:fill .18s,stroke .18s}.map-land.has-nodes{fill:#2378e7;stroke:#5bafff;cursor:pointer}.map-land.has-nodes:hover,.map-land.is-selected{fill:#3ca5ff;stroke:#a0d7ff;stroke-width:1.3}.map-land:focus-visible,.map-pin:focus-visible{outline:none;stroke:#d3efff;stroke-width:2}.map-pin{cursor:pointer;stroke:none}.map-pin-halo{fill:#62ceff24;stroke:#7ed9ff55;stroke-width:1}.map-pin-dot{fill:#b8f1ff;stroke:#2083e6;stroke-width:1.8}.map-pin text{font-size:10px;font-family:Inter,"Microsoft YaHei",sans-serif;fill:#e4f3ff;stroke:#0b1b30;stroke-width:3;paint-order:stroke;stroke-linejoin:round;font-weight:600}.map-pin:hover .map-pin-dot,.map-pin.is-selected .map-pin-dot{fill:#fff;stroke:#aaf5ff}.map-pin.is-selected .map-pin-halo{fill:#87e9ff45;stroke:#c5faff}.map-legend{display:flex;align-items:center;justify-content:center;gap:22px;font-size:10px;color:#8098b6;padding:0 12px 15px}.map-legend>span{display:flex;align-items:center;gap:7px}.map-key{width:8px;height:8px;display:inline-block;border-radius:2px;background:#28415f}.map-key.active{background:#338ef6;box-shadow:0 0 8px #338ef64a}.map-region-panel{padding:19px 13px 15px 19px;border-left:1px solid #233851;margin:7px 0}.map-region-panel h3{font-size:12px;color:#c8d8ee;font-weight:500;margin-bottom:14px;display:flex;justify-content:space-between}.map-region-panel h3>span{font-size:11px;color:#6e91bd}.map-region-options{display:grid;gap:7px;max-height:246px;overflow:auto;scrollbar-width:thin;scrollbar-color:#3c5e85 #102238}.map-region-choice{display:flex;align-items:center;justify-content:space-between;gap:10px;width:100%;padding:10px 11px;border:1px solid #233c5b;border-radius:7px;color:#9ab1d0;background:#13283f;text-align:left;font-size:12px}.map-region-choice strong{font-size:11px;font-weight:500;color:#7f9ec6;background:#203752;padding:2px 6px;border-radius:4px}.map-region-choice:hover,.map-region-choice.is-selected{background:#163c68;border-color:#2f7aca;color:#e6f4ff}.map-region-choice.is-selected strong{background:#22558b;color:#ccecff}.map-region-panel>p{color:#6d86a7;font-size:10px;line-height:1.9;margin-top:17px}.map-location-note{font-size:12px;line-height:1.8;color:#8391a6;margin:13px 2px 0}.map-results-head{display:flex;align-items:center;justify-content:space-between;margin:29px 0 17px}.map-results-head h2{font-size:17px}.map-results-head>span{font-size:12px;color:#8796ab}.map-node-region{font-size:11px;color:#7d90ad;border-top:1px solid #edf1f7;padding:10px 22px;background:#fbfcff}.map-node-results>[hidden]{display:none!important}.map-node-results>.empty{grid-column:1/-1}.map-node-results .node-row{border:0}
@media(max-width:1050px){.node-map-layout{grid-template-columns:minmax(0,1fr)}.map-region-panel{border-left:0;border-top:1px solid #233851;margin:0 10px;padding:16px 5px 4px}.map-region-options{display:flex;flex-wrap:wrap;max-height:150px}.map-region-choice{width:auto;min-width:110px}.map-region-panel h3{justify-content:flex-start;gap:12px}.map-region-panel>p{margin-top:10px}.map-region-panel br{display:none}.node-map-head{padding:24px}.map-totals{gap:18px}}
@media(max-width:600px){.node-map-head{align-items:flex-start;flex-direction:column;gap:19px;padding:22px 19px 15px}.node-map-head h2{font-size:23px}.map-totals{width:100%;justify-content:space-between;padding-right:25px}.map-totals>div{gap:4px}.map-totals strong{font-size:23px}.node-map-layout{padding:0 4px 10px}.map-legend{font-size:9px;gap:12px;flex-wrap:wrap;padding:5px 8px 17px}.world-node-map{min-height:170px}.map-pin text{font-size:12px}.map-region-choice{min-width:95px;flex:1}.map-region-options{gap:6px}.map-region-panel{margin:0 10px}.map-node-results{grid-template-columns:1fr}}

/* Heartbeat history list */
.node-availability-list{border-radius:11px}.node-history-table{min-width:1000px;table-layout:auto}.node-history-table th{font-size:12px;padding:12px 17px}.node-history-table thead tr:first-child th[colspan]{text-align:center;border-bottom:1px solid #e9eef5}.node-history-table thead tr:nth-child(2) th{text-align:center;padding:9px 17px;color:#75839a;font-size:11px}.node-history-table td{padding:21px 17px;vertical-align:middle}.node-history-table .node-history-name{display:table-cell;min-width:220px;white-space:normal}.node-history-name>div{display:inline-flex;flex-direction:column;gap:7px;vertical-align:middle;max-width:220px}.node-history-name strong{font-size:13px;font-weight:600;overflow-wrap:anywhere;color:#34455f}.node-history-name small{font-size:10px;color:#94a1b3}.history-node-flag{font-size:24px;display:inline-block;vertical-align:middle;margin-right:12px}.history-protocol{font-size:11px;font-weight:600;color:#4a6d9b;background:#eef4fc;padding:4px 7px;border-radius:4px}.history-transport{display:block;font-size:10px;color:#94a1b3;margin-top:9px}.history-status{font-size:11px;display:inline-flex;align-items:center;gap:7px;color:#8c99aa}.history-status i{width:6px;height:6px;border-radius:50%;background:#b0bac9}.history-status.online{color:#239b7a}.history-status.online i{background:#29ba91;box-shadow:0 0 0 3px #29ba9114}.history-status.offline{color:#d16b70}.history-status.offline i{background:#d4777f}.node-history-table .node-history-day{min-width:162px;padding:18px 16px}.history-day-label{display:flex;align-items:baseline;justify-content:space-between;gap:12px;margin-bottom:10px}.history-day-label strong{font-size:12px;color:#4d607c;font-weight:600}.history-day-label small{font-size:9px;color:#9aa6b6}.history-hours{display:grid;grid-template-columns:repeat(24,minmax(0,1fr));gap:2px;width:136px;height:22px}.history-hour{display:inline-block;border-radius:2px;background:#e2e8f0;min-width:3px;height:22px}.history-hour.online{background:#2db68b}.history-hour.offline{background:#dc7c83}.history-hour.mixed{background:#e0aa59}.history-hour.partial{background:#8ad3bb}.history-hour.unknown{background:#e0e6ee}.history-hour.future{background:#f1f4f8}.history-explainer{display:flex;align-items:center;flex-wrap:wrap;gap:12px;margin-top:15px;color:#8e9aab;font-size:10px}.history-explainer>span{display:flex;align-items:center;gap:5px}.history-explainer .history-hour{width:6px;height:12px;min-width:6px}.history-explainer p{flex-basis:100%;line-height:1.8}.node-history-table [data-map-node][hidden]{display:none!important}

/* Thirty-day daily heartbeat strip */
.node-history-table .node-history-month{min-width:390px;padding:19px 20px}.history-days{display:grid;grid-template-columns:repeat(30,minmax(0,1fr));gap:3px;height:26px;min-width:350px}.history-day{display:block;border-radius:3px;background:#e0e6ee;min-width:4px;height:26px}.history-day.online{background:#2db68b}.history-day.offline{background:#dc7c83}.history-day.mixed{background:#e0aa59}.history-day.partial{background:#8ad3bb}.history-day:focus-visible{outline:2px solid #1667ed;outline-offset:2px}.history-date-range{display:flex;justify-content:space-between;color:#9aa6b6;font-size:9px;margin-top:8px}.node-history-month .history-day-label{margin-bottom:9px}.node-history-table{min-width:940px}

/* Observed egress address */
.egress-location-note{display:block;color:#8b9bb1;font-size:10px;margin-top:7px;font-family:Consolas,monospace}

/* Compact purchase-plan cards; confirmation dialogs and other cards unchanged. */
.plans{grid-template-columns:repeat(auto-fill,minmax(220px,280px));gap:16px;align-items:start}.plans .pricing-card{padding:20px;border-radius:10px;min-width:0}.plans .pricing-card h2{font-size:17px;margin-bottom:8px}.plans .pricing-card p{font-size:12px;line-height:1.65;min-height:40px;overflow-wrap:anywhere}.plans .price{font-size:32px;margin:16px 0;letter-spacing:-.6px}.plans .price em{font-size:15px;top:6px}.plans .price small{font-size:11px;margin-left:4px}.plans .features{padding:12px 0}.plans .features li{font-size:12px;margin:10px 0;gap:8px}.plans .features svg{width:14px;height:14px;flex-shrink:0}.plans .pricing-card>.button{font-size:13px;padding:10px 13px;min-height:42px}.plans .recommended{font-size:10px;padding:5px 11px}.plans>.info-strip{grid-column:1/-1;margin:4px 0 0;padding:14px 18px;font-size:12px}
@media(max-width:600px){.plans{grid-template-columns:minmax(0,1fr);gap:14px}.plans .pricing-card{padding:18px}.plans .pricing-card>.button{min-height:44px}}

/* Mobile two-column purchase cards */
@media(max-width:600px){.plans{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;align-items:stretch}.plans .pricing-card{padding:26px 12px 12px;display:flex;flex-direction:column;border-radius:9px}.plans .pricing-card h2{font-size:15px;margin-bottom:7px;overflow-wrap:anywhere}.plans .pricing-card p{font-size:11px;line-height:1.55;min-height:40px}.plans .price{font-size:clamp(18px,5.2vw,24px);margin:13px 0;letter-spacing:-.5px;overflow-wrap:anywhere}.plans .price em{font-size:11px;top:4px}.plans .price small{display:block;font-size:10px;margin:4px 0 0;line-height:1.4}.plans .features{padding:9px 0 12px}.plans .features li{font-size:11px;line-height:1.5;margin:9px 0;gap:5px;align-items:flex-start}.plans .features svg{width:12px;height:15px}.plans .pricing-card>.button{margin-top:auto;min-height:44px;font-size:12px;padding:10px 6px}.plans .recommended{top:7px;right:7px;font-size:8px;padding:3px 6px;border-radius:4px}.plans>.info-strip{grid-column:1/-1;padding:13px;font-size:11px}}

/* Purchase plan category selector */
.plan-category-toolbar{display:flex;flex-direction:column;align-items:center;gap:11px;margin:0 0 25px}.plan-category-filters{display:inline-flex;gap:6px;padding:7px;border:1px solid #e1e7ef;border-radius:15px;background:#fff;box-shadow:0 4px 14px #193c6905}.plan-category-filter{display:flex;align-items:center;justify-content:center;gap:9px;min-height:42px;padding:9px 17px;border-radius:10px;color:#8893a4;background:transparent;font-size:14px;font-weight:600}.plan-category-filter:hover{background:#f4f7fc;color:#506b92}.plan-category-filter.selected{background:#eaf2ff;color:#226ad9}.plan-category-radio{display:grid;place-items:center;width:17px;height:17px;border:1.5px solid currentColor;border-radius:50%}.plan-category-radio svg{width:11px;height:11px;stroke-width:2.5;opacity:0}.plan-category-filter.selected .plan-category-radio svg{opacity:1}.plan-category-filter small{font-size:10px;font-weight:500;color:inherit;opacity:.8}.plan-filter-count{font-size:11px;color:#94a0b1}.plans>[data-plan-card][hidden]{display:none!important}.plans>.plan-filter-empty{grid-column:1/-1;background:#fff;border:1px solid var(--line);border-radius:10px}.plan-filter-empty[hidden]{display:none!important}
@media(max-width:600px){.plan-category-toolbar{gap:8px;margin-bottom:18px}.plan-category-filters{width:100%;padding:5px;gap:3px;border-radius:12px}.plan-category-filter{flex:1;padding:8px 4px;min-width:0;font-size:12px;gap:6px;min-height:44px}.plan-category-radio{width:15px;height:15px;flex-shrink:0}.plan-category-filter small{font-size:9px}}

/* Free-form plan groups can contain any number of names. */
.plan-category-filters{max-width:100%;flex-wrap:wrap;justify-content:center}.plan-category-filter>span:not(.plan-category-radio){max-width:240px;white-space:normal;overflow-wrap:anywhere;line-height:1.5}
@media(max-width:600px){.plan-category-filter{flex:0 1 auto;padding:8px 10px}.plan-category-filters{justify-content:center;gap:4px}.plan-category-filter>span:not(.plan-category-radio){max-width:220px}}

/* Standalone purchase link detail */
.plans.plan-direct-page{grid-template-columns:minmax(0,360px)}@media(max-width:600px){.plans.plan-direct-page{grid-template-columns:minmax(0,1fr)}}
