:root{color-scheme:light;--bg:#f5f7fb;--panel:#fff;--ink:#16223b;--muted:#8490a5;--line:#e6ebf3;--accent:#6554d9;--accent-soft:#eeebff;--green:#1a9e78;--green-soft:#e6f7f0;--red:#db5569;--shadow:0 8px 30px #16223b08;--sidebar:#111b30}*{box-sizing:border-box}body{margin:0;font:14px/1.55 -apple-system,BlinkMacSystemFont,"Segoe UI","PingFang SC",sans-serif;background:var(--bg);color:var(--ink)}[hidden]{display:none!important}a{color:var(--accent);text-decoration:none}button,input,select,textarea{font:inherit}button{cursor:pointer}button:disabled{opacity:.55;cursor:wait}button,input,textarea,select{outline:none}button:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{box-shadow:0 0 0 3px #8572ed35}h1,h2,h3,p{margin:0}h1{font-size:28px;letter-spacing:-.6px;font-weight:720}h2{font-size:21px;font-weight:700;letter-spacing:-.3px}h3{font-size:15px;font-weight:700}svg{width:18px;height:18px;stroke:currentColor;fill:none;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;vertical-align:middle}.muted{color:var(--muted)}.small{font-size:12px}.eyebrow{font-size:10px;font-weight:750;letter-spacing:1.5px;color:var(--muted);margin-bottom:8px}.button{border:1px solid var(--line);background:var(--panel);color:var(--ink);padding:10px 15px;border-radius:9px;display:inline-flex;align-items:center;justify-content:center;gap:8px;font-weight:600;white-space:nowrap;transition:.15s}.button:hover{border-color:#c3b8f6;background:var(--accent-soft)}.button.primary{background:var(--accent);color:#fff;border-color:var(--accent);box-shadow:0 4px 12px #6554d920}.button.primary:hover{background:#5744c5}.button.danger{color:var(--red);border-color:#f2d1d8}.button.small{padding:7px 11px;font-size:12px}.button.full{width:100%;justify-content:space-between;padding:12px 16px}.icon-button{border:0;background:transparent;color:var(--muted);width:34px;height:34px;display:inline-grid;place-items:center;border-radius:8px}.icon-button:hover{background:var(--accent-soft);color:var(--accent)}.row-actions{display:flex;gap:4px;justify-content:flex-end}.auth-shell{min-height:100vh;display:grid;grid-template-columns:1.08fr 1fr}.auth-intro{position:relative;overflow:hidden;display:flex;flex-direction:column;justify-content:center;padding:10vw;background:#111b30;color:#fff}.brand-mark{font-weight:800;font-size:38px;color:#fff;line-height:1;position:relative;width:50px;margin-bottom:60px}.brand-mark span{position:absolute;width:10px;height:10px;border-radius:50%;background:#ab9bf6;right:0;bottom:5px}.auth-intro h1{font-size:clamp(36px,4vw,58px);line-height:1.35;letter-spacing:-2px}.auth-intro .eyebrow{color:#a69bd8}.auth-description{font-size:15px;color:#9faac1;max-width:330px;line-height:1.9;margin-top:24px}.auth-pills{display:flex;gap:10px;margin-top:40px;flex-wrap:wrap}.auth-pills span{border:1px solid #ffffff20;border-radius:24px;padding:6px 12px;font-size:11px;color:#c1c8dd}.globe{font-size:500px;color:#ffffff04;position:absolute;bottom:-150px;right:-90px;pointer-events:none}.auth-panel{padding:70px max(45px,9vw);display:flex;flex-direction:column;justify-content:center;background:var(--panel)}.auth-panel h2{font-size:26px;margin-bottom:8px}.auth-panel form{margin-top:28px}.auth-panel label{margin-bottom:18px}.auth-foot{font-size:11px;color:var(--muted);margin-top:32px}.mobile-brand{display:none}label{display:block;font-size:12px;font-weight:650;color:var(--ink)}input:not([type=checkbox]),textarea,select{display:block;width:100%;border:1px solid var(--line);padding:11px 12px;border-radius:8px;background:var(--panel);color:var(--ink);margin-top:7px;transition:border .15s}input::placeholder,textarea::placeholder{color:#a3abbb}input:focus,textarea:focus,select:focus{border-color:#a494eb}textarea{resize:vertical;min-height:110px}input[type=checkbox]{accent-color:var(--accent);width:16px;height:16px;vertical-align:middle;margin-right:8px}.inline-error{font-size:12px;padding:10px 12px;background:#fff0f3;color:var(--red);border-radius:8px;margin-top:15px}.app-shell{display:flex;min-height:100vh}.sidebar{width:234px;flex-shrink:0;background:var(--sidebar);color:#b5bfd2;padding:31px 18px 18px;position:fixed;inset:0 auto 0 0;display:flex;flex-direction:column;z-index:10}.brand{display:flex;align-items:center;gap:13px;color:#fff;padding:0 17px 36px;font-size:35px;font-weight:800;letter-spacing:-2px;line-height:1}.brand>span{font-size:20px;letter-spacing:2px}.brand small{display:block;font-size:10px;letter-spacing:1px;color:#8995ad;font-weight:500;margin-top:7px}.nav-label{font-size:10px;letter-spacing:1px;margin:0 16px 15px;color:#68758e}.nav-item{width:100%;padding:12px 15px;margin-bottom:6px;border:0;border-radius:9px;background:transparent;color:#9ca9c0;display:flex;align-items:center;gap:12px;text-align:left;font-weight:550;font-size:13px}.nav-item:hover{background:#ffffff07;color:#dfe5f2}.nav-item.active{background:#7360e728;color:#c7bbff}.nav-count{margin-left:auto;font-size:10px;background:#a18cef25;padding:1px 6px;border-radius:5px}.sidebar-bottom{margin-top:auto;padding:20px 10px 0}.site-indicator{display:flex;align-items:center;gap:8px;font-size:10px;color:#bbc6db}.site-indicator i,.live-dot{display:inline-block;width:6px;height:6px;border-radius:50%;background:#39c99b}.sidebar-bottom>p{color:#66748e;font-size:10px;margin:8px 0 26px}.account{border-top:1px solid #ffffff0b;padding-top:20px;display:flex;align-items:center;gap:10px}.avatar{width:31px;height:31px;background:#2d3854;color:#c1b6f6;border-radius:9px;display:grid;place-items:center;font-size:12px}.account strong{display:block;color:#d7def0;font-size:11px}.account small{display:block;color:#6f7d96;font-size:10px}.account .icon-button{margin-left:auto}.main{margin-left:234px;width:calc(100% - 234px)}.topbar{height:73px;background:var(--panel);border-bottom:1px solid var(--line);display:flex;justify-content:space-between;align-items:center;padding:0 38px;font-size:12px}.breadcrumb{color:var(--muted)}.slash{color:#c0c8d8;margin:0 13px}.top-actions{display:flex;align-items:center;gap:10px}.page-wrap{max-width:1450px;margin:auto;padding:34px 38px 20px}.page-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:26px}.page-heading p{font-size:12px;color:var(--muted);margin-top:7px}.page-heading .eyebrow{font-size:9px;margin-bottom:8px}#page-actions{display:flex;gap:8px}.publish-banner{border:1px solid var(--line);border-radius:11px;background:var(--panel);padding:15px 19px;display:flex;align-items:center;gap:13px;margin-bottom:24px}.banner-icon{background:#f1f3f9;color:#8a96af;border-radius:9px;width:37px;height:37px;display:grid;place-items:center}.publish-banner strong{font-size:12px}.publish-banner p{color:var(--muted);font-size:11px;margin-top:2px}.publish-banner .toggle{margin-left:auto;flex-shrink:0}.publish-banner.enabled{background:#f6fffb;border-color:#cfecdf}.enabled .banner-icon{background:var(--green-soft);color:var(--green)}.toggle{padding:3px;border:0;border-radius:18px;background:#c6cedc;width:38px;height:22px;display:inline-flex;align-items:center;transition:.2s}.toggle span{width:16px;height:16px;border-radius:50%;background:#fff;box-shadow:0 1px 4px #111b3020;transition:.2s}.toggle.on{background:var(--green)}.toggle.on span{transform:translateX(16px)}.stats-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:17px;margin-bottom:23px}.stat-card{background:var(--panel);border:1px solid var(--line);border-radius:11px;padding:20px;box-shadow:var(--shadow)}.stat-top{display:flex;align-items:center;justify-content:space-between;color:var(--muted);font-size:11px}.stat-icon{width:30px;height:30px;display:grid;place-items:center;background:var(--accent-soft);color:var(--accent);border-radius:8px}.stat-value{font-size:31px;font-weight:730;letter-spacing:-1px;line-height:1.3;margin:15px 0 5px}.stat-sub{font-size:10px;color:var(--muted)}.stat-sub .green{color:var(--green);font-weight:650}.grid-2{display:grid;grid-template-columns:1.3fr 1fr;gap:20px}.panel{background:var(--panel);border:1px solid var(--line);border-radius:11px;box-shadow:var(--shadow);overflow:hidden;margin-bottom:20px}.panel-head{padding:19px 21px;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;gap:15px}.panel-head p{font-size:10px;color:var(--muted);margin-top:3px}.panel-body{padding:20px 21px}.panel-link{color:var(--accent);font-size:11px;border:0;background:none;padding:0}.region-row{display:flex;align-items:center;gap:12px;margin-bottom:23px}.region-row:last-child{margin-bottom:0}.region-flag{font-size:25px;width:34px}.region-label{font-size:12px;font-weight:650}.region-sub{color:var(--muted);font-size:10px;margin-top:2px}.region-row .number{margin-left:auto;font-weight:700;font-size:18px}.region-row .number small{font-size:10px;color:var(--muted);font-weight:400;margin-left:4px}.audit-item{display:flex;gap:10px;padding:13px 0;border-bottom:1px solid var(--line)}.audit-item:last-child{border-bottom:0}.audit-dot{height:7px;width:7px;border-radius:50%;background:#a594ef;margin-top:5px;flex-shrink:0}.audit-item p{font-size:11px}.audit-item small{font-size:10px;color:var(--muted)}.audit-item time{margin-left:auto;font-size:9px;color:var(--muted);white-space:nowrap}.toolbar{display:flex;align-items:center;gap:10px;padding:16px 19px;border-bottom:1px solid var(--line)}.toolbar input,.toolbar select{margin:0;font-size:11px;padding:8px 10px;max-width:230px}.toolbar select{width:135px}.toolbar .count{margin-left:auto;color:var(--muted);font-size:10px}.table-wrap{overflow:auto}table{border-collapse:collapse;width:100%;font-size:11px}th{padding:12px 20px;text-align:left;background:#fafbfe;color:#8b95a8;font-weight:550;font-size:10px;white-space:nowrap;border-bottom:1px solid var(--line)}td{padding:16px 20px;border-bottom:1px solid var(--line);vertical-align:middle}tr:last-child td{border-bottom:0}tbody tr:hover{background:#fafaff}.node-name{font-size:12px;font-weight:650;white-space:nowrap}.node-sub{font-size:9px;color:var(--muted);margin-top:4px}.badge{display:inline-flex;align-items:center;gap:5px;border-radius:5px;padding:3px 7px;font-size:9px;font-weight:650;background:#f0f3f8;color:#77849b;white-space:nowrap}.badge.purple{background:var(--accent-soft);color:var(--accent)}.badge.blue{background:#e9f2ff;color:#387bc0}.badge.green{background:var(--green-soft);color:var(--green)}.badge.red{background:#fff0f3;color:var(--red)}.badge.amber{background:#fff5dd;color:#af8421}.flag-bits{display:flex;gap:4px}.flag-bits .bit{border:1px solid #d4e8df;color:var(--green);background:#f5fff9;border-radius:4px;font-size:9px;width:18px;height:18px;display:inline-grid;place-items:center;font-weight:700}.flag-bits .bit.off{border-color:var(--line);color:#b7bfcc;background:#fafbfd}.empty{text-align:center;padding:50px 20px;color:var(--muted);font-size:12px}.empty svg{width:30px;height:30px;margin-bottom:12px}.empty h3{color:var(--ink);margin-bottom:5px}.empty p{margin-bottom:15px}.callout{padding:13px 16px;border:1px solid #ddd7fa;background:#f6f4ff;border-radius:9px;color:#7c6daf;font-size:11px;line-height:1.8;margin-bottom:20px}.callout.neutral{border-color:var(--line);background:var(--panel);color:var(--muted)}.sub-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:18px}.sub-card{background:var(--panel);border:1px solid var(--line);border-radius:11px;padding:22px;box-shadow:var(--shadow)}.sub-card-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:17px}.sub-card-head .sub-icon{background:var(--accent-soft);color:var(--accent);border-radius:10px;width:40px;height:40px;display:grid;place-items:center}.sub-title{font-size:15px;font-weight:700;margin-bottom:8px}.sub-meta{display:flex;gap:8px;flex-wrap:wrap;font-size:10px;color:var(--muted)}.sub-url-placeholder{background:#f6f8fc;border:1px solid var(--line);padding:11px;border-radius:8px;color:#939fb6;font-size:10px;margin:20px 0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.sub-footer{display:flex;gap:8px}.sub-footer .button:first-child{flex:1}.sub-footer .icon-button{height:33px;width:30px}.source-note{font-size:10px;color:var(--muted);margin:7px 0 17px;line-height:1.7}.source-card .sub-meta{align-items:center}.source-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:18px}.source-grid .sub-card{margin-bottom:0}.security-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px}.setting-row{display:flex;justify-content:space-between;align-items:center;gap:20px;padding:16px 0;border-bottom:1px solid var(--line)}.setting-row:first-child{padding-top:0}.setting-row:last-child{border:0;padding-bottom:0}.setting-row strong{display:block;font-size:12px}.setting-row p{font-size:10px;color:var(--muted);max-width:330px;margin-top:5px}.setting-row input[type=number]{width:75px;margin:0;font-size:12px}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}.form-stack{display:grid;gap:17px}.check-row{display:flex;align-items:center;gap:3px;font-size:11px;font-weight:500}.checkbox-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}.field-note{font-size:10px;color:var(--muted);margin-top:5px;line-height:1.7}.form-actions{display:flex;justify-content:flex-end;gap:9px;padding-top:22px;margin-top:18px;border-top:1px solid var(--line)}.form-error{font-size:11px;background:#fff0f3;color:var(--red);padding:10px;border-radius:7px;margin-top:15px}.pill-tabs{display:flex;gap:6px;padding:4px;background:#edf1f8;border-radius:8px;width:max-content;margin-bottom:18px}.pill-tabs button{padding:7px 14px;background:transparent;border:0;color:var(--muted);border-radius:6px;font-size:11px}.pill-tabs button.active{background:var(--panel);color:var(--ink);box-shadow:0 2px 5px #14203b08}dialog{border:1px solid var(--line);border-radius:14px;box-shadow:0 30px 100px #101b3050;background:var(--panel);color:var(--ink);padding:0;width:min(600px,calc(100vw - 30px));max-height:90vh}dialog.large{width:min(800px,calc(100vw - 30px))}dialog::backdrop{background:#0b142b70;backdrop-filter:blur(3px)}.modal-header{padding:23px 25px;border-bottom:1px solid var(--line);display:flex;justify-content:space-between;align-items:center}.modal-header h2{font-size:19px}.modal-header .eyebrow{margin-bottom:4px;font-size:9px}#modal-body{padding:23px 25px;overflow:auto}.mono{font-family:ui-monospace,SFMono-Regular,Consolas,monospace;font-size:11px;word-break:break-all}.info-list{margin:0;padding-left:18px;font-size:12px;color:var(--muted);line-height:2}.preview-list{max-height:280px;overflow:auto;border:1px solid var(--line);border-radius:8px;margin-top:14px}.preview-list div{padding:11px 14px;border-bottom:1px solid var(--line);font-size:12px}.preview-list div:last-child{border:0}#toast{position:fixed;bottom:28px;left:50%;transform:translateX(-50%);padding:12px 20px;max-width:calc(100vw - 30px);border-radius:10px;box-shadow:0 8px 35px #10182830;background:#17243c;color:#fff;font-size:12px;z-index:100}#toast.error{background:#9c3447}footer{font-size:9px;color:#9ba7bb;padding:25px 0 0;display:flex;justify-content:space-between;gap:10px}.loading-state{padding:60px;text-align:center;color:var(--muted);font-size:12px}.skeleton{height:15px;background:#eef1f7;border-radius:5px}.stack-row{display:flex;gap:9px;align-items:center;flex-wrap:wrap}.word-break{word-break:break-all}.source-grid .sub-footer{margin-top:16px}.notice-title{font-weight:700;color:var(--ink);margin-bottom:5px}.token-display{padding:14px;background:#f5f7fc;border:1px solid var(--line);border-radius:8px;word-break:break-all;font-family:monospace;font-size:12px;margin:16px 0}:root.dark{color-scheme:dark;--bg:#101625;--panel:#172034;--ink:#dee5f2;--muted:#8c99b0;--line:#28344b;--accent:#a798fb;--accent-soft:#30284b;--green:#58ccac;--green-soft:#193d38;--shadow:none;--sidebar:#0a1020}.dark .button.primary{background:#7864db;color:#fff}.dark th,.dark tbody tr:hover{background:#1a263b}.dark .publish-banner.enabled{background:#172e2b;border-color:#295447}.dark .badge.blue{background:#20394f;color:#8fc5f4}.dark .badge.red,.dark .inline-error{background:#462536;color:#f1a0af}.dark .sub-url-placeholder,.dark .token-display{background:#121c2c}.dark .pill-tabs{background:#11192a}.dark .callout{background:#241e3a;border-color:#493f66;color:#b6a6db}.dark .callout.neutral{background:var(--panel);border-color:var(--line);color:var(--muted)}.dark .flag-bits .bit{background:#15372f;border-color:#245342}.dark .flag-bits .bit.off{background:#1c2739;border-color:var(--line);color:#6a7891}.dark .banner-icon{background:#263148}.dark .auth-intro{background:#0a1020}
@media(min-width:1600px){.page-wrap{padding-top:40px}.stats-grid{gap:22px}.stat-card{padding:24px}.topbar{padding:0 50px}}
@media(max-width:1150px){.sidebar{width:205px}.main{margin-left:205px;width:calc(100% - 205px)}.page-wrap{padding:28px 25px}.topbar{padding:0 25px}.stat-card{padding:16px}.stats-grid{gap:12px}.grid-2{grid-template-columns:1fr 1fr}td,th{padding-left:14px;padding-right:14px}}
@media(max-width:900px){.sidebar{width:76px;padding:25px 10px}.brand{padding:0 12px 32px;font-size:31px}.brand>span,.nav-label,.nav-item>span:not(:first-child),.nav-count,.sidebar-bottom{display:none}.nav-item{font-size:0;justify-content:center;padding:14px 10px}.nav-item svg{width:21px;height:21px}.main{margin-left:76px;width:calc(100% - 76px)}.top-actions>.small,.top-actions>.live-dot{display:none}.security-grid{grid-template-columns:1fr}.auth-intro{padding:8vw}.auth-panel{padding:45px}.stats-grid{grid-template-columns:1fr 1fr}.grid-2{grid-template-columns:1fr}.sub-grid,.source-grid{grid-template-columns:1fr 1fr}}
@media(max-width:650px){.auth-shell{display:block}.auth-intro{display:none}.auth-panel{min-height:100vh;padding:35px 28px}.mobile-brand{display:block;color:var(--accent);font-size:13px;font-weight:750;letter-spacing:2px;margin-bottom:45px}.sidebar{width:58px;padding:22px 6px}.brand{padding:0 8px 27px;font-size:27px}.nav-item{padding:13px 8px}.nav-item svg{width:19px;height:19px}.main{margin-left:58px;width:calc(100% - 58px)}.topbar{height:59px;padding:0 16px;font-size:10px}.page-wrap{padding:24px 15px 15px}.page-heading{align-items:flex-start;margin-bottom:20px}.page-heading h1{font-size:23px}.page-heading p{font-size:11px}.page-heading .eyebrow{font-size:8px;letter-spacing:1px}#page-actions{flex-direction:column}.page-heading .button{padding:8px;font-size:10px}.page-heading .button svg{width:15px}.publish-banner{padding:12px;gap:9px}.publish-banner strong{font-size:11px}.publish-banner p{font-size:9px;line-height:1.7}.banner-icon{width:30px;height:30px;flex-shrink:0}.stats-grid{gap:10px}.stat-card{padding:14px}.stat-value{font-size:28px}.stat-top{font-size:10px}.stat-icon{width:26px;height:26px}.stat-sub{font-size:9px}.sub-grid,.source-grid{grid-template-columns:1fr}.toolbar{flex-wrap:wrap;padding:12px}.toolbar input{max-width:none;width:100%;flex-basis:100%}.toolbar select{width:auto;flex:1}.toolbar .count{display:none}.panel-head,.panel-body{padding:16px}.node-name{font-size:11px}.node-sub{font-size:9px}.form-grid{grid-template-columns:1fr}.modal-header{padding:20px}#modal-body{padding:20px}.row-actions{gap:0}.row-actions .icon-button{width:27px}.form-actions .button{font-size:11px}.checkbox-grid{grid-template-columns:1fr}footer>span{display:none}.topbar .slash{margin:0 7px}.page-heading .button .label-optional{display:none}}
/* Shared page components */
.stat-head{display:flex;align-items:center;justify-content:space-between;color:var(--muted);font-size:12px}.stat-number{font-size:34px;font-weight:750;margin:14px 0 4px;line-height:1.3}.stat-foot{font-size:11px;color:var(--muted)}.dashboard-grid{display:grid;grid-template-columns:1.15fr 1fr;gap:20px}.panel-heading{padding:19px 21px;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;gap:12px}.region-list{padding:25px 22px}.region-name{min-width:60px}.region-name strong,.region-name small{display:block}.region-name small{font-size:10px;color:var(--muted)}.region-bar{flex:1;margin:0 12px}.region-bar progress{appearance:none;width:100%;height:5px;border:0;border-radius:5px;background:var(--accent-soft)}progress::-webkit-progress-bar{background:var(--accent-soft);border-radius:5px}progress::-webkit-progress-value{background:var(--accent);border-radius:5px}.note{font-size:11px;color:var(--muted);padding:14px 21px;border-top:1px solid var(--line)}.source-list{padding:6px 21px}.source-status{display:flex;gap:10px;align-items:center;padding:17px 0;border-bottom:1px solid var(--line)}.source-status:last-child{border:0}.source-status>div{flex:1}.source-status strong,.source-status small{display:block}.source-status small{font-size:10px;color:var(--muted);margin-top:4px}.status-dot{width:7px;height:7px;background:#c5ccda;border-radius:50%;flex-shrink:0}.status-dot.good{background:var(--green)}.status-dot.error{background:var(--red)}.info-box{display:flex;gap:12px;background:var(--accent-soft);border:1px solid var(--line);border-radius:10px;padding:17px 20px;margin:20px 0;color:var(--accent);font-size:12px}.info-box>svg{flex-shrink:0;margin-top:2px}.info-box p{font-size:11px;line-height:1.8;margin-top:5px;color:var(--muted)}.table-toolbar{display:flex;align-items:center;gap:12px;padding:16px 20px;border-bottom:1px solid var(--line)}.table-toolbar input{max-width:350px;margin:0}.table-toolbar select{width:auto;margin:0}.table-toolbar>span{margin-left:auto;white-space:nowrap}.empty-state{text-align:center;padding:42px 20px;color:var(--muted)}.right{text-align:right}.hint{font-size:11px;color:var(--muted);line-height:1.8;margin:12px 0}.danger-text{color:var(--red)}.small-toggle{width:33px;height:19px;min-width:33px}.small-toggle span{width:13px;height:13px;top:3px;left:3px}.small-toggle.on span{transform:translateX(14px)}.subscriptions-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.subscription-card{background:var(--panel);border:1px solid var(--line);border-radius:12px;padding:23px;box-shadow:var(--shadow)}.sub-top{display:flex;align-items:center;justify-content:space-between;margin-bottom:17px}.sub-icon{width:40px;height:40px;display:grid;place-items:center;border-radius:10px;background:var(--accent-soft);color:var(--accent)}.sub-tags{display:flex;gap:6px;flex-wrap:wrap;margin-top:10px}.sub-details{display:grid;grid-template-columns:1fr 1fr;gap:10px;font-size:11px;padding:22px 0}.sub-details>span{color:var(--muted)}.sub-details>strong{text-align:right;font-weight:500}.sub-link{display:flex;gap:8px;align-items:center;font-size:10px;color:var(--muted);border:1px solid var(--line);padding:11px 12px;border-radius:7px;background:var(--bg);margin-bottom:18px}.sub-link svg{width:14px}.sub-actions{display:flex;gap:5px;align-items:center}.sub-actions>.button:first-child{flex:1}.sub-actions>.icon-button{width:30px}.padded{padding:22px}.card-heading{display:flex;align-items:center;gap:10px;margin-bottom:22px}.card-heading>svg{color:var(--accent)}.section-gap{margin-top:22px}.backup-actions{display:flex;gap:10px;margin:20px 0}.padded .note{padding:13px 0 0}.field-divider{font-weight:650;padding:16px 0 10px;border-top:1px solid var(--line);margin-top:18px}.check-row{margin:14px 0;align-items:flex-start;gap:8px}.check-row small{display:block;color:var(--muted);font-size:10px;line-height:1.7;font-weight:400}.check-row input[type=checkbox]{width:15px;min-width:15px;margin:2px 0 0;accent-color:var(--accent)}.node-picker{border:1px solid var(--line);border-radius:8px;padding:0 12px;max-height:180px;overflow:auto}.code{font:12px/1.8 ui-monospace,SFMono-Regular,monospace;word-break:break-all}.preview-list{padding:4px 30px}.preview-list li{padding:9px 0;font-size:12px}.form-grid .check-row{margin:8px 0}.dark .info-box{background:var(--accent-soft)}
@media(max-width:1000px){.dashboard-grid{grid-template-columns:1fr}.subscriptions-grid{grid-template-columns:1fr 1fr}.stat-head{font-size:10px}.stat-foot{font-size:10px}}
@media(max-width:650px){.subscriptions-grid{grid-template-columns:1fr}.table-toolbar{flex-wrap:wrap;padding:12px}.table-toolbar input{max-width:none;width:100%;flex-basis:100%}.table-toolbar>span{display:none}.panel-heading{padding:15px;align-items:flex-start}.panel-heading>.small{max-width:110px;font-size:9px}.stat-number{font-size:27px}.stat-icon{width:24px;height:24px}.sub-actions>.icon-button{width:25px}.subscription-card{padding:18px}.padded{padding:18px}.dashboard-grid{gap:0}.region-list{padding:20px 15px}.region-bar{margin:0 7px}.top-actions .button{font-size:10px}.info-box{padding:14px}.region-row{gap:8px}}
.table-wrap td{white-space:nowrap}.source-status small{overflow-wrap:anywhere}.table-wrap td .danger-text{max-width:230px;white-space:normal}.node-name+.small{white-space:normal;min-width:160px}
.account-discovery{display:flex;align-items:center;gap:12px;margin:-5px 0 20px}.account-discovery select{margin:0;min-width:0}.filter-checks{display:flex;flex-wrap:wrap;gap:0 15px}.filter-checks .check-row{margin:8px 0}
