/* Singlite: single-machine panel, desktop and mobile. */
@charset "UTF-8";
:root{--bg:#f6f7f9;--surface:#fff;--ink:#202331;--muted:#8a8e9f;--text:#666c7e;--line:#eceef3;--purple:#7560ed;--purple-dark:#6650dd;--purple-soft:#f1edff;--green:#42ad87;--radius:14px;--shadow:0 3px 16px rgba(30,35,65,.025);font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI","PingFang SC","Hiragino Sans GB","Microsoft YaHei",sans-serif;color:var(--ink);background:var(--bg);font-synthesis:none;-webkit-font-smoothing:antialiased}
*{box-sizing:border-box}
body{margin:0;font-size:13px;line-height:1.6}
button,input,select,textarea{font:inherit}
button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}
button{cursor:pointer}
button:disabled{cursor:wait;opacity:.55}
a{color:inherit;text-decoration:none}
button{color:inherit}
button,input,select,textarea{outline:none}
button:focus-visible,a:focus-visible{outline:3px solid #b9aefa;outline-offset:3px}
input:focus,select:focus,textarea:focus{border-color:#a091f1!important;box-shadow:0 0 0 3px #eeeafa!important}
button{border:0}
button svg{flex:none}
::selection{background:#e4ddff}
[hidden]{display:none!important}
.svg-defs{position:absolute;width:0;height:0;overflow:hidden}
.icon{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.65;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}
.app{display:flex;min-height:100vh}
.sidebar{position:fixed;inset:0 auto 0 0;width:224px;background:#fff;border-right:1px solid var(--line);padding:32px 18px 17px;z-index:35;display:flex;flex-direction:column}
.brand{display:flex;gap:10px;align-items:center;padding:0 15px;margin-bottom:48px}
.brand-symbol{width:37px;height:39px;display:flex;align-items:center;justify-content:center;color:var(--purple)}
.brand-symbol svg{width:37px;height:37px}
.brand-text{font-size:27px;line-height:1.02;letter-spacing:-1.1px;font-weight:750}
.brand-text>span{display:block;margin-top:9px;font-size:9px;letter-spacing:2px;color:#9a9cab;font-weight:400}
.nav-label{font-size:10px;letter-spacing:1.2px;padding:0 19px;margin-bottom:12px;color:#a3a6b3}
.nav{display:flex;flex-direction:column;gap:7px}
.nav a{position:relative;display:flex;align-items:center;gap:13px;color:#787d8e;padding:12px 17px;border-radius:9px;transition:background .18s,color .18s;font-size:13px;min-height:46px}
.nav a:hover{background:#f8f8fc;color:var(--ink)}
.nav a.active{color:var(--purple);background:#f1edfd;font-weight:600}
.nav a.active:before{content:"";position:absolute;left:-18px;width:3px;height:22px;background:var(--purple);border-radius:0 4px 4px 0}
.nav-count{margin-left:auto;background:#e7e0fd;color:var(--purple);font-size:10px;line-height:19px;min-width:20px;text-align:center;border-radius:5px;font-weight:600}
.sidebar-note{margin:auto 10px 44px;padding:25px 12px 0;position:relative}
.sidebar-note:before{content:"";position:absolute;left:0;right:0;top:0;height:1px;background:linear-gradient(90deg,#eeeef6,transparent)}
.sidebar-note-icon{width:30px;height:30px;border-radius:9px;display:flex;align-items:center;justify-content:center;color:#9f95cc;background:#f5f3fc;margin-bottom:14px}
.sidebar-note-icon .icon{width:17px;height:17px}
.sidebar-note p{font-size:16px;color:#8b8c9f;line-height:1.85;letter-spacing:.4px;margin:0 0 7px;font-weight:400}
.sidebar-note p strong{color:#535569;font-weight:550}
.sidebar-note>span{font-size:10px;letter-spacing:.1px;color:#a0a2af}
.text-button{display:flex;align-items:center;gap:8px;background:transparent;color:var(--purple);padding:0;font-size:11px}
.text-button .icon{width:14px;height:14px}
.sidebar-note .text-button{margin-top:19px}
.sidebar-bottom{padding:19px 8px 13px;border-top:1px solid var(--line);display:flex;align-items:center;gap:10px}
.server-avatar{width:33px;height:33px;border-radius:9px;background:#f6f7fa;display:flex;align-items:center;justify-content:center;color:#7d8194;position:relative;flex:none}
.server-avatar .icon{width:17px;height:17px}
.status-dot{width:7px;height:7px;border-radius:50%;background:#bdc2cf;border:2px solid #fff;box-sizing:content-box;position:absolute;right:-2px;bottom:-2px}
.status-dot.online{background:var(--green)}
.sidebar-server{min-width:0}
.sidebar-server strong{display:block;font-weight:550;font-size:10px;text-overflow:ellipsis;overflow:hidden;white-space:nowrap;max-width:109px}
.sidebar-server>span{display:block;color:#a1a4b0;font-size:9px;margin-top:1px}
.sidebar-bottom .icon-button{width:22px;height:25px;margin-left:auto;color:#9599a8}
.sidebar-bottom .icon-button .icon{width:13px;height:13px}
.sidebar-version{font-size:8px;color:#afb2bf;display:flex;align-items:center;justify-content:center;gap:5px;white-space:nowrap}
.sidebar-version>span:first-child{color:#9298a8}
.version-dot{width:2px;height:2px;background:#bdc1cd;border-radius:50%;margin:0 1px}
.main-shell{margin-left:224px;width:calc(100% - 224px);min-height:100vh;display:flex;flex-direction:column}
.topbar{height:77px;padding:0 39px;border-bottom:1px solid #e9ecf2;display:flex;align-items:center;justify-content:space-between;background:#fcfcfd;gap:20px}
.breadcrumb{display:flex;align-items:center;gap:15px;font-size:11px;color:#a0a4b2}
.breadcrumb strong{font-weight:500;color:#686e81}
.breadcrumb-divider{color:#c3c5d0;font-size:12px}
.topbar-actions{display:flex;align-items:center;gap:19px}
.mode-badge{background:#f1edfe;border:1px solid #eae3fc;border-radius:6px;padding:4px 9px;color:#8a71cb;display:flex;gap:6px;align-items:center;font-size:10px}
.mode-badge>span{width:5px;height:5px;background:#a18acb;border-radius:50%}
.mode-badge.live{color:#389275;background:#edf8f3;border-color:#e2f0e9}
.mode-badge.live>span{background:var(--green)}
.topbar-divider{height:17px;width:1px;background:#e5e7ee}
.help-button{padding:0;display:flex;align-items:center;gap:7px;background:none;font-size:11px;color:#808596}
.help-button .icon{width:15px;height:15px}
.profile-avatar{display:flex;align-items:center;justify-content:center;width:30px;height:30px;border-radius:50%;color:#8474ba;background:#eae6f7;font-size:12px;font-weight:600;border:3px solid #f3f0fb}
.mobile-menu{display:none!important}
.main{padding:37px 39px 35px;width:100%;max-width:1590px;margin:0 auto;flex:1}
.page-heading{display:flex;justify-content:space-between;align-items:center;gap:18px;margin-bottom:27px}
.eyebrow{font-size:8px;letter-spacing:2.3px;color:#a4a6b4;font-weight:500;margin-bottom:6px}
.page-heading h1{font-size:27px;letter-spacing:.1px;font-weight:650;line-height:1.4;margin:0 0 8px}
.page-heading p{margin:0;color:#9195a3;font-size:11px;letter-spacing:.1px}
.button{display:inline-flex;align-items:center;justify-content:center;gap:7px;padding:9px 14px;border:1px solid #e4e6ed;border-radius:7px;background:#fff;color:#6d7284;font-size:11px;font-weight:500;transition:background .15s,transform .15s,box-shadow .15s;min-height:36px;white-space:nowrap}
.button:hover{background:#f9f9fc;border-color:#d6d8e3}
.button:active{transform:translateY(1px)}
.button .icon{width:15px;height:15px}
.button.primary{background:var(--purple);border-color:var(--purple);color:#fff;box-shadow:0 3px 7px #7560ed20;padding:9px 16px}
.button.primary:hover{background:var(--purple-dark);border-color:var(--purple-dark);box-shadow:0 4px 12px #7560ed30}
.button.danger{background:#e66c78;border-color:#e66c78;color:white}
.button.small{padding:6px 10px;min-height:29px;font-size:10px}
.button.loading:before{content:"";width:12px;height:12px;border:1.5px solid currentColor;border-right-color:transparent;border-radius:50%;animation:spin .7s linear infinite}
.metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:17px;margin-bottom:25px}
.metric{background:#fff;border:1px solid var(--line);border-radius:11px;padding:19px 19px 16px;box-shadow:var(--shadow);min-height:129px;position:relative;overflow:hidden}
.metric-top{display:flex;align-items:center;justify-content:space-between;gap:10px;color:#9599a8;font-size:10px;line-height:1.6}
.metric-icon{width:27px;height:27px;border-radius:7px;background:#f5f3fd;color:#a094ce;display:flex;align-items:center;justify-content:center}
.metric-icon .icon{width:15px;height:15px}
.metric:nth-child(2) .metric-icon{background:#f1f7f6;color:#85b5a9}
.metric:nth-child(3) .metric-icon{background:#f0f5fc;color:#97aaca}
.metric:nth-child(4) .metric-icon{background:#fcf5ed;color:#c8ad8e}
.metric-value{display:flex;align-items:baseline;gap:7px;line-height:1.2;margin-top:7px;min-height:32px}
.metric-value strong{font-size:30px;line-height:1;font-weight:550;letter-spacing:-1px;font-variant-numeric:tabular-nums}
.metric-value>span{font-size:9px;color:#a6a9b5}
.metric-foot{font-size:9px;color:#abb0bc;display:flex;gap:6px;align-items:center;margin-top:10px}
.metric-foot .tiny-dot{width:4px;height:4px;border-radius:50%;background:#b7adcf}
.panel{border:1px solid var(--line);border-radius:11px;background:#fff;box-shadow:var(--shadow);overflow:hidden}
.panel-heading{padding:19px 21px;display:flex;align-items:center;justify-content:space-between;gap:12px}
.panel-title{display:flex;align-items:center;gap:8px}
.panel-title h2{margin:0;font-weight:550;font-size:13px;letter-spacing:.2px}
.count-badge{display:inline-flex;align-items:center;justify-content:center;background:#f3f3f8;color:#9499aa;border-radius:5px;min-width:21px;height:19px;font-size:9px}
.panel-note{font-size:9px;color:#b0b4c1;display:flex;align-items:center;gap:5px}
.panel-note .icon{width:12px;height:12px}
.node-toolbar{padding:0 20px 16px;display:flex;align-items:center;justify-content:space-between;gap:10px;border-bottom:1px solid var(--line)}
.protocol-filters{display:flex;align-items:center;gap:4px;padding:3px;background:#f6f7fa;border:1px solid #f0f1f5;border-radius:7px}
.filter{font-size:9px;color:#9a9faf;background:transparent;border-radius:4px;min-height:26px;padding:4px 9px;white-space:nowrap}
.filter.active{background:#fff;color:#7664b4;box-shadow:0 1px 5px #3542640c}
.search-input{position:relative;max-width:151px}
.search-input .icon{position:absolute;left:10px;top:10px;width:13px;height:13px;color:#b4b8c4}
.search-input input{width:100%;height:33px;border:1px solid #eceef3;border-radius:7px;padding:7px 9px 7px 30px;color:#74798b;font-size:9px;background:#fff;min-width:0}
.search-input input::placeholder{color:#b9bdc9}
.node-table{width:100%;border-collapse:collapse;table-layout:fixed}
.node-table th{background:#fafbfc;font-size:9px;color:#a6aab8;font-weight:400;padding:11px 10px;text-align:left;border-bottom:1px solid #f0f1f5}
.node-table th:first-child{padding-left:21px;width:39%}
.node-table th:nth-child(2){width:15%}
.node-table th:nth-child(3){width:17%}
.node-table th:nth-child(4){width:16%}
.node-table th:last-child{width:13%;padding-right:15px;text-align:right}
.node-table td{padding:20px 10px;border-bottom:1px solid #f0f1f5;vertical-align:middle;font-size:10px}
.node-table tr:last-child td{border-bottom:0}
.node-table td:first-child{padding-left:21px}
.node-table td:last-child{padding-right:16px}
.node-cell{display:flex;align-items:center;gap:11px;min-width:0}
.node-protocol-icon{width:35px;height:35px;background:#f1edfd;color:#9c87d4;display:flex;align-items:center;justify-content:center;border:1px solid #eae4fa;border-radius:9px;flex:none}
.node-protocol-icon .icon{width:18px;height:18px}
.node-protocol-icon.ss{background:#edf5ff;border-color:#e4edfb;color:#82a8d9}
.node-title{background:none;padding:0;font-size:11px;font-weight:550;color:#4f5468;max-width:100%;text-align:left;display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.node-title:hover{color:var(--purple)}
.node-subtitle{display:flex;align-items:center;gap:5px;font-size:8px;color:#b0b4c1;margin-top:3px;white-space:nowrap}
.protocol-badge{font-size:8px;color:#9580bb;background:#f6f2fc;padding:3px 6px;border:1px solid #ece5f7;border-radius:4px;white-space:nowrap}
.protocol-badge.ss{color:#7c9cc5;background:#f0f6fd;border-color:#e6eef9}
.node-port{font-family:ui-monospace,SFMono-Regular,Menlo,monospace;color:#8f96a8;font-size:10px}
.node-state{display:flex;align-items:center;gap:5px;color:#a5aab8;white-space:nowrap;font-size:9px}
.tiny-dot{display:inline-block;width:5px;height:5px;border-radius:50%;background:#c9ccd6;flex:none}
.node-state.online{color:#70ab93}
.node-state.online .tiny-dot{background:#81baa1}
.row-actions{display:flex;gap:7px;align-items:center;justify-content:flex-end;position:relative}
.icon-button{width:28px;height:28px;border-radius:6px;display:inline-flex;align-items:center;justify-content:center;color:#a0a5b5;background:transparent;padding:4px;transition:background .15s,color .15s}
.icon-button:hover{background:#f3f1fb;color:var(--purple)}
.icon-button .icon{width:15px;height:15px}
.row-actions .icon-button{width:25px;height:25px}
.row-actions .icon-button .icon{width:14px;height:14px}
.table-footer{padding:14px 21px;border-top:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;gap:10px;font-size:9px;color:#b1b5c2;background:linear-gradient(90deg,#fff,#fcfcfe)}
.table-footer>span{display:flex;align-items:center;gap:5px}
.table-footer .icon{width:12px;height:12px;color:#b5b5c9}
.table-footer .text-button{font-size:9px}
.empty-nodes{padding:44px 20px;text-align:center}
.empty-icon{margin:0 auto 14px;width:48px;height:48px;border-radius:13px;background:#f5f2ff;color:#aa9cdb;display:flex;align-items:center;justify-content:center}
.empty-nodes h3{font-size:13px;font-weight:500;margin:0 0 7px;color:#6d7386}
.empty-nodes p{font-size:10px;color:#a8adbb;margin:0 0 16px}
.server-status{font-size:8px;color:#a6acb8;display:flex;align-items:center;gap:5px}
.protocol-note{margin-top:20px;display:flex;align-items:center;gap:14px;border:1px solid var(--line);border-radius:11px;padding:18px 21px;background:#ffffff88;position:relative;overflow:hidden}
.protocol-note-icon{width:35px;height:35px;display:flex;align-items:center;justify-content:center;border-radius:10px;background:#f0edf9;color:#a89bc9;flex:none}
.protocol-note-icon .icon{width:18px;height:18px}
.protocol-note h3{font-size:10px;font-weight:500;color:#9398a9;letter-spacing:.1px;margin:0 0 3px}
.protocol-note p{font-size:9px;color:#b0b4c1;margin:0;line-height:1.8}
.footer{padding:4px 39px 23px;max-width:1590px;width:100%;margin:0 auto;display:flex;align-items:center;justify-content:space-between;color:#babecb;font-size:8px;letter-spacing:.2px}
.footer>span:last-child{font-size:8px;letter-spacing:.4px}
.footer-spark{color:#b3a5d8;font-size:12px;vertical-align:-1px;margin-left:5px}
.settings-layout{display:grid;grid-template-columns:minmax(0,1fr) 257px;gap:22px;align-items:start}
.section-panel .panel-heading{border-bottom:1px solid var(--line);padding:20px 23px}
.settings-form{padding:24px}
.settings-form .form-field{margin-bottom:23px}
.section-panel .panel-heading p{margin:5px 0 0;color:#a0a5b4;font-size:10px}
.settings-note{padding:21px;font-size:11px;line-height:1.9;color:#9298ab}
.settings-note .icon{color:#b5a7dd;width:24px;height:24px;margin-bottom:9px}
.settings-note h3{font-size:12px;margin:0 0 8px;font-weight:500;color:#6b7086}
.settings-note p{margin:0 0 12px;font-size:10px}
.settings-note p:last-child{margin:0}
.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}
.form-field{min-width:0}
.form-field>label,.form-label{display:flex;align-items:center;gap:6px;font-size:11px;color:#666d81;margin-bottom:7px;font-weight:500}
.input,.select{width:100%;height:39px;border:1px solid #e5e8f0;border-radius:7px;background:#fff;padding:9px 12px;color:#62697d;font-size:11px;transition:box-shadow .15s,border .15s}
.input::placeholder{color:#bbc0cc}
.select{cursor:pointer}
.input:disabled{background:#fafbfc;color:#a0a6b5}
.field-hint{font-size:9px;color:#a6adbc;line-height:1.8;margin-top:6px}
.field-hint a{color:var(--purple);text-decoration:underline;text-underline-offset:3px}
.form-error{padding:10px 12px;border-radius:6px;color:#c86270;background:#fff1f2;border:1px solid #f6e0e3;font-size:10px;margin-bottom:16px;line-height:1.8}
.notice{display:flex;gap:9px;align-items:flex-start;padding:12px;border-radius:7px;background:#f7f5fd;border:1px solid #eeebf8;color:#a498be;font-size:10px;line-height:1.9}
.notice .icon{width:15px;height:15px;flex:none;margin-top:2px}
.notice strong{font-weight:500;color:#8b7ba9}
.settings-form>.notice{margin-bottom:25px}
.log-panel .panel-heading{border-bottom:1px solid var(--line)}
.log-content{padding:17px 21px;min-height:330px;max-height:540px;overflow:auto;background:#fff;font:10px/2 ui-monospace,SFMono-Regular,Menlo,monospace;color:#8d94a7;white-space:pre-wrap;overflow-wrap:anywhere;margin:0}
.menu-popover{position:fixed;z-index:70;background:#fff;border:1px solid #e8eaf0;border-radius:9px;box-shadow:0 10px 35px #2c2a5620;padding:5px;min-width:135px}
.menu-popover button{display:flex;align-items:center;gap:8px;text-align:left;width:100%;background:none;color:#7a8195;font-size:10px;border-radius:5px;padding:9px 10px}
.menu-popover button:hover{background:#f5f3fc;color:var(--purple)}
.menu-popover button.danger{color:#d18791}
.menu-popover button.danger:hover{background:#fff3f4}
.menu-popover .icon{width:13px;height:13px}
.modal-backdrop{position:fixed;inset:0;background:#20203555;backdrop-filter:blur(5px);z-index:80;display:flex;align-items:center;justify-content:center;padding:30px;animation:fadein .15s ease}
.modal{width:490px;max-width:100%;background:#fff;border:1px solid #ebe9f3;border-radius:16px;box-shadow:0 25px 100px #22203b26;max-height:calc(100dvh - 60px);overflow:auto;animation:modalin .2s ease;outline:none}
.modal.wide{width:655px}
.modal-header{padding:23px 25px 18px;display:flex;align-items:flex-start;justify-content:space-between;gap:15px;border-bottom:1px solid #f0f0f6}
.modal-header h2{font-size:16px;font-weight:600;margin:0 0 3px;letter-spacing:.2px}
.modal-header p{margin:0;font-size:10px;color:#a1a6b6}
.modal-header>.icon-button{margin-top:-3px;margin-right:-5px}
.modal-body{padding:23px 25px}
.modal-body>.form-field{margin-bottom:20px}
.modal-body>.form-grid{margin-bottom:20px}
.modal-footer{padding:17px 25px;background:#fcfcfe;border-top:1px solid #efeff5;display:flex;align-items:center;justify-content:flex-end;gap:9px;border-radius:0 0 16px 16px}
.modal-footer .button{min-width:72px}
.segmented{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:9px}
.protocol-choice{border:1px solid #e6e8f0;border-radius:8px;display:flex;align-items:center;gap:9px;background:#fff;padding:13px 11px;text-align:left;color:#939aaa;position:relative}
.protocol-choice.active{border-color:#b5a6ed;background:#f9f7ff;color:#9480c5}
.protocol-choice .icon{width:19px;height:19px}
.protocol-choice strong{font-size:10px;font-weight:500;display:block;color:#6e7488;white-space:nowrap}
.protocol-choice span>span{display:block;font-size:8px;color:#b0a8bf;margin-top:2px}
.modal-footer-note{font-size:9px;color:#aaaec0;margin-right:auto;display:flex;align-items:center;gap:5px}
.modal-footer-note .icon{width:12px;height:12px}
.share-action-row{display:flex;align-items:center;justify-content:space-between;margin-top:15px;gap:15px;font-size:9px;color:#a9afbd}
.guide-code{font:9px/1.8 ui-monospace,SFMono-Regular,Menlo,monospace;color:#9196ad;background:#f8f8fc;border:1px solid #ececf4;border-radius:6px;padding:12px;margin:9px 0;white-space:pre-wrap;overflow-wrap:anywhere}
.guide-download{display:flex;align-items:center;gap:12px;background:linear-gradient(105deg,#f3effe,#fbfaff);padding:14px;border:1px solid #e9e2fb;border-radius:9px;margin-top:23px}
.guide-download>div{flex:1}
.guide-download strong{font-size:10px;color:#8e7ea8;font-weight:500}
.guide-download p{font-size:9px;margin:3px 0 0;color:#b0a5c4}
.guide-download>.icon{color:#b29cd8;width:23px;height:23px}
.toast-root{position:fixed;bottom:28px;left:calc(50% + 100px);transform:translateX(-50%);z-index:120;display:flex;flex-direction:column;gap:8px;align-items:center;width:max-content;max-width:calc(100vw - 32px);pointer-events:none}
.toast{background:#fff;border:1px solid #e9e6f2;border-radius:9px;box-shadow:0 6px 26px #3d355018;padding:12px 17px;display:flex;align-items:center;gap:9px;color:#8e84a5;font-size:11px;animation:toastin .2s ease;max-width:100%;line-height:1.8}
.toast>.icon{color:#a18acb;width:17px;height:17px}
.toast.error{color:#c9808d;border-color:#f4e1e5}
.toast.error>.icon{color:#d48b96}
.gate{min-height:100dvh;display:flex;align-items:center;justify-content:center;padding:30px;background:radial-gradient(ellipse at 50% 20%,#ebe7fb70,transparent 60%),#f7f8fb}
.initial-loading{color:#9a92b4;font-size:12px;display:flex;align-items:center;gap:12px}
.loader{width:20px;height:20px;border:2px solid #ded7f3;border-right-color:#967cdb;border-radius:50%;animation:spin .8s linear infinite}
.gate-card{width:390px;background:#fff;border:1px solid #e9e7f1;border-radius:18px;padding:31px;box-shadow:0 10px 60px #35304709}
.gate-card .brand{justify-content:center;margin:0 0 29px;padding:0}
.gate-card .brand-text{font-size:29px}
.gate-card .brand-text>span{font-size:9px}
.gate-card h1{font-size:20px;font-weight:600;margin:0 0 8px;text-align:center}
.gate-card>.gate-description{text-align:center;font-size:11px;line-height:1.9;color:#a0a6b5;margin:0 0 25px}
.gate-card .form-field{margin-bottom:17px}
.gate-card .button.primary{width:100%;margin-top:9px;min-height:40px}
.gate-footer{text-align:center;font-size:9px;color:#adb1c0;margin-top:21px;line-height:1.8}
.gate-card .notice{margin-bottom:20px}
.gate-card .guide-code{font-size:10px}
.sidebar-scrim{display:none}
@keyframes spin{to{transform:rotate(360deg)}}
@keyframes fadein{from{opacity:0}to{opacity:1}}
@keyframes modalin{from{opacity:0;transform:translateY(8px) scale(.99)}to{opacity:1;transform:translateY(0) scale(1)}}
@keyframes toastin{from{opacity:0;transform:translateY(7px)}to{opacity:1;transform:translateY(0)}}
@media(min-width:1650px){
  .main{padding-top:45px}
  .page-heading{margin-bottom:31px}
  .page-heading h1{font-size:31px}
  .page-heading p{font-size:12px}
  .metrics{gap:22px}
  .metric{padding:23px;min-height:144px}
  .metric-top{font-size:11px}
  .metric-foot{font-size:10px}
  .metric-value strong{font-size:33px}
  .node-table td{padding-top:24px;padding-bottom:24px}
  .panel-heading{padding-top:23px;padding-bottom:23px}
  .protocol-note{padding:23px}
  .sidebar-note{margin-bottom:55px}
}
@media(max-width:1250px){
  .sidebar{width:205px;padding-left:14px;padding-right:14px}
  .brand{padding-left:11px}
  .main-shell{margin-left:205px;width:calc(100% - 205px)}
  .nav a.active:before{left:-14px}
  .topbar{padding:0 27px}
  .main{padding:30px 27px}
  .footer{padding-left:27px;padding-right:27px}
  .metrics{gap:12px}
  .metric{padding:16px;min-height:125px}
  .node-toolbar{padding-left:16px;padding-right:16px;gap:8px}
  .filter{padding:4px 7px;font-size:8px}
  .search-input{max-width:127px}
  .node-table th:first-child{padding-left:16px;width:37%}
  .node-table td:first-child{padding-left:16px}
  .node-cell{gap:8px}
  .node-title{font-size:10px}
  .node-protocol-icon{width:31px;height:31px;border-radius:8px}
  .node-subtitle{font-size:7px}
  .node-table th:nth-child(2){width:17%}
  .node-table th:nth-child(3){width:15%}
  .node-table th:nth-child(4){width:17%}
  .node-table th:last-child{width:14%;padding-right:11px}
  .node-table td{padding-left:6px;padding-right:6px}
  .node-table td:last-child{padding-right:11px}
  .row-actions{gap:1px}
  .protocol-badge{font-size:7px;padding:3px 5px}
  .node-state{font-size:8px;gap:4px}
  .node-port{font-size:9px}
  .panel-heading{padding-left:16px;padding-right:16px}
  .panel-note{font-size:8px}
  .panel-title h2{font-size:12px}
  .table-footer{font-size:8px;padding-left:16px;padding-right:16px}
  .table-footer .text-button{font-size:8px}
  .sidebar-note{margin-left:8px;margin-right:8px}
  .sidebar-server strong{max-width:100px}
  .settings-layout{grid-template-columns:minmax(0,1fr) 225px}
  .toast-root{left:calc(50% + 100px)}
}
@media(max-width:1100px){
  .metrics{gap:12px}
  .protocol-note{padding:17px}
  .panel-heading{padding:19px 20px}
  .panel-title h2{font-size:13px}
  .node-toolbar{padding-left:20px;padding-right:20px}
  .filter{font-size:9px;padding:4px 10px}
  .search-input{max-width:170px}
  .node-table th:first-child{padding-left:20px;width:37%}
  .node-table td:first-child{padding-left:20px}
  .node-table td{padding:23px 10px}
  .node-title{font-size:11px}
  .node-subtitle{font-size:8px}
  .node-protocol-icon{width:35px;height:35px}
  .node-cell{gap:11px}
  .protocol-badge{font-size:8px}
  .node-port{font-size:10px}
  .node-state{font-size:9px}
  .row-actions{gap:7px}
  .node-table th:nth-child(2){width:17%}
  .node-table th:nth-child(3){width:16%}
  .node-table th:nth-child(4){width:17%}
  .node-table th:last-child{width:13%;padding-right:16px}
  .node-table td:last-child{padding-right:16px}
  .table-footer{padding-left:20px;padding-right:20px;font-size:9px}
  .table-footer .text-button{font-size:9px}
  .settings-layout{grid-template-columns:minmax(0,1fr)}
  .settings-layout>.settings-note{display:none}
  .metric-value strong{font-size:27px}
  .metric-value{gap:4px}
  .metric-value>span{font-size:8px}
  .metric-foot{font-size:8px}
  .metric-top{font-size:9px}
  .metric-icon{width:23px;height:23px}
  .metric-icon .icon{width:13px;height:13px}
  .page-heading h1{font-size:25px}
  .page-heading p{font-size:10px}
}
@media(max-width:850px){
  .sidebar{width:184px;padding-left:11px;padding-right:11px}
  .brand{padding-left:8px;gap:6px}
  .brand-text{font-size:25px}
  .brand-symbol,.brand-symbol svg{width:32px;height:34px}
  .brand-text>span{font-size:8px;letter-spacing:1.5px}
  .main-shell{margin-left:184px;width:calc(100% - 184px)}
  .nav a{padding-left:14px;padding-right:14px;gap:11px;font-size:12px}
  .nav a .icon{width:18px;height:18px}
  .nav a.active:before{left:-11px}
  .nav-label{padding-left:15px}
  .sidebar-note{margin-left:4px;margin-right:4px;padding-left:9px}
  .sidebar-note>span{font-size:8px}
  .sidebar-server strong{font-size:9px;max-width:85px}
  .sidebar-server>span{font-size:8px}
  .sidebar-bottom{padding-left:5px;padding-right:5px;gap:8px}
  .sidebar-version{font-size:7px;gap:3px}
  .topbar{padding:0 22px;height:70px}
  .topbar-actions{gap:12px}
  .help-button{font-size:10px}
  .main{padding:28px 22px}
  .footer{padding-left:22px;padding-right:22px}
  .page-heading{align-items:flex-end;margin-bottom:23px}
  .page-heading h1{font-size:24px}
  .page-heading p{font-size:9px}
  .eyebrow{font-size:7px;letter-spacing:1.8px}
  .metrics{grid-template-columns:repeat(2,minmax(0,1fr));gap:13px;margin-bottom:20px}
  .metric{padding:16px 18px;min-height:117px}
  .metric-value{margin-top:6px;min-height:29px}
  .metric-value strong{font-size:28px}
  .metric-value>span{font-size:9px}
  .metric-foot{font-size:9px;margin-top:8px}
  .metric-top{font-size:10px}
  .metric-icon{width:24px;height:24px}
  .node-table th:first-child{width:43%}
  .node-table th:nth-child(2){display:none}
  .node-table td:nth-child(2){display:none}
  .node-table th:nth-child(3){width:18%}
  .node-table th:nth-child(4){width:20%}
  .node-table th:last-child{width:19%}
  .node-toolbar{padding-left:15px;padding-right:15px}
  .filter{padding-left:7px;padding-right:7px;font-size:8px}
  .search-input{max-width:140px}
  .node-cell{gap:8px}
  .node-protocol-icon{width:31px;height:31px}
  .node-title{font-size:10px}
  .node-subtitle{font-size:7px}
  .node-table th:first-child{padding-left:16px}
  .node-table td:first-child{padding-left:16px}
  .node-table td{padding:22px 7px}
  .row-actions{gap:3px}
  .panel-note{font-size:8px}
  .panel-heading{padding:17px 16px}
  .panel-title h2{font-size:12px}
  .table-footer{padding-left:16px;padding-right:16px;font-size:8px}
  .table-footer .text-button{font-size:8px}
  .toast-root{left:calc(50% + 92px)}
  .protocol-note p{font-size:8px}
  .protocol-note h3{font-size:9px}
  .protocol-note{padding:15px;gap:10px}
  .protocol-note-icon{width:31px;height:31px}
  .settings-form{padding:20px}
  .section-panel .panel-heading{padding:19px 20px}
}
@media(max-width:680px){
  .sidebar{transform:translateX(-100%);transition:transform .2s ease;width:220px;padding-left:18px;padding-right:18px}
  .sidebar.open{transform:translateX(0)}
  .sidebar.open+.main-shell{overflow:hidden}
  .sidebar-scrim.open{display:block;position:fixed;inset:0;background:#1b1a2e55;backdrop-filter:blur(2px);z-index:34}
  .brand{padding-left:12px;margin-bottom:42px;gap:10px}
  .brand-text{font-size:27px}
  .brand-symbol,.brand-symbol svg{width:37px;height:39px}
  .brand-text>span{font-size:9px;letter-spacing:2px}
  .nav a{font-size:13px;padding-left:17px;padding-right:17px}
  .nav a.active:before{left:-18px}
  .nav-label{padding-left:19px}
  .sidebar-note{margin-left:10px;margin-right:10px;padding-left:12px}
  .sidebar-note>span{font-size:10px}
  .sidebar-bottom{padding-left:8px;padding-right:8px;gap:10px}
  .sidebar-server strong{font-size:10px;max-width:109px}
  .sidebar-server>span{font-size:9px}
  .sidebar-version{font-size:8px;gap:5px}
  .main-shell{margin-left:0;width:100%}
  .topbar{height:64px;padding:0 20px}
  .breadcrumb{gap:10px;font-size:10px}
  .mobile-menu{display:flex!important;margin-left:-5px;margin-right:0}
  .breadcrumb-home{display:none}
  .breadcrumb-divider{display:none}
  .topbar-actions{gap:13px}
  .topbar-divider{display:none}
  .help-button{display:none}
  .mode-badge{font-size:8px;padding:3px 7px}
  .profile-avatar{width:27px;height:27px;font-size:10px}
  .main{padding:27px 20px}
  .page-heading{margin-bottom:24px;align-items:flex-start;flex-wrap:wrap;gap:16px}
  .eyebrow{font-size:7px;letter-spacing:1.9px}
  .page-heading h1{font-size:26px;margin-top:4px;margin-bottom:6px}
  .page-heading p{font-size:10px}
  .metrics{gap:12px;margin-top:20px;margin-bottom:22px}
  .metric{border-radius:10px;padding:16px 16px 14px;min-height:118px}
  .metric-top{font-size:10px}
  .metric-value strong{font-size:28px}
  .metric-foot{font-size:8px}
  .node-toolbar{padding:0 14px 14px;align-items:center}
  .protocol-filters{gap:1px;padding:3px}
  .filter{font-size:8px;padding:4px 6px;min-height:24px}
  .search-input{max-width:112px}
  .search-input input{font-size:8px;height:31px;padding-left:25px}
  .search-input .icon{width:11px;height:11px;left:8px;top:10px}
  .panel-heading{padding:16px 15px}
  .panel-title h2{font-size:12px}
  .panel-note{font-size:7px;gap:3px}
  .panel-note .icon{width:10px;height:10px}
  .count-badge{height:17px;min-width:18px;font-size:8px}
  .node-table th{font-size:8px;padding-top:10px;padding-bottom:10px}
  .node-table th:first-child{width:44%;padding-left:15px}
  .node-table th:nth-child(3){width:16%}
  .node-table th:nth-child(4){width:22%}
  .node-table th:last-child{width:18%;padding-right:10px}
  .node-table td:first-child{padding-left:15px}
  .node-table td{padding:20px 5px}
  .node-table td:last-child{padding-right:10px}
  .node-cell{gap:8px}
  .node-title{font-size:9px}
  .node-subtitle{font-size:6px;gap:3px}
  .node-protocol-icon{width:28px;height:30px;border-radius:7px}
  .node-protocol-icon .icon{width:15px;height:15px}
  .node-port{font-size:8px}
  .node-state{font-size:8px;gap:4px}
  .node-state .tiny-dot{width:4px;height:4px}
  .row-actions{gap:0}
  .row-actions .icon-button{width:23px;height:25px}
  .row-actions .icon-button .icon{width:12px;height:12px}
  .table-footer{font-size:7px;padding:12px 14px}
  .table-footer .icon{width:10px;height:10px}
  .table-footer .text-button{font-size:7px;gap:4px}
  .table-footer .text-button .icon{width:11px;height:11px}
  .protocol-note{margin-top:17px;padding:15px 13px;gap:10px;border-radius:10px}
  .protocol-note h3{font-size:9px}
  .protocol-note p{font-size:8px}
  .protocol-note-icon{width:29px;height:31px;border-radius:8px}
  .protocol-note-icon .icon{width:15px;height:15px}
  .footer{padding:3px 20px 21px;font-size:7px}
  .footer>span:last-child{font-size:7px}
  .footer-spark{font-size:10px}
  .toast-root{left:50%;bottom:20px}
  .toast{font-size:10px;padding:11px 14px}
  .modal-backdrop{padding:18px}
  .modal{max-height:calc(100dvh - 36px);border-radius:13px}
  .modal-header{padding:20px 19px 17px}
  .modal-header h2{font-size:15px}
  .modal-header p{font-size:9px}
  .modal-body{padding:20px 19px}
  .modal-footer{padding:15px 19px}
  .modal-footer-note{font-size:8px}
  .modal-footer .button{font-size:10px;min-height:34px}
  .segmented{gap:8px}
  .protocol-choice{padding:12px 8px;gap:6px}
  .protocol-choice strong{font-size:9px}
  .protocol-choice .icon{width:16px;height:16px}
  .protocol-choice span>span{font-size:7px}
  .form-grid{gap:12px}
  .form-field>label,.form-label{font-size:10px}
  .input,.select{font-size:10px}
  .field-hint{font-size:8px}
  .guide-download{gap:9px;padding:12px}
  .guide-download .button{font-size:9px;padding:7px 9px}
  .guide-download strong{font-size:9px}
  .guide-download p{font-size:8px}
  .guide-download>.icon{width:19px;height:19px}
  .guide-code{font-size:8px;padding:10px}
  .settings-form{padding:19px}
  .section-panel .panel-heading{padding:17px 19px}
  .settings-form>.notice{font-size:9px}
  .log-panel .panel-heading{flex-wrap:wrap}
  .log-content{font-size:9px;padding:14px 16px;min-height:300px}
  .gate{padding:20px}
  .gate-card{padding:28px 24px}
  .share-action-row{font-size:8px}
}
@media(max-width:390px){
  .main{padding-left:15px;padding-right:15px}
  .topbar{padding-left:15px;padding-right:15px}
  .page-heading p{font-size:9px}
  .node-table th:first-child{width:48%}
  .node-table th:nth-child(3){width:15%}
  .node-table th:nth-child(4){width:21%}
  .node-table th:last-child{width:16%}
  .node-table td:last-child{padding-right:7px}
  .row-actions .icon-button{width:21px}
  .node-table th:first-child,.node-table td:first-child{padding-left:12px}
  .node-protocol-icon{width:25px;height:28px}
  .node-title{font-size:8px}
  .node-subtitle{font-size:6px}
  .node-cell{gap:6px}
  .node-state{font-size:7px}
  .node-port{font-size:7px}
  .search-input{max-width:100px}
  .protocol-choice .icon{display:none}
  .protocol-choice{padding:12px 9px}
  .protocol-choice strong{font-size:9px}
}
@media(prefers-reduced-motion:reduce){
  *,*:before,*:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}
}
:root{--muted:#74798b}
.page-heading p{font-size:13px}
.breadcrumb{font-size:12px}
.mode-badge,.help-button{font-size:11px}
.metric-top{font-size:12px}
.metric-foot{font-size:11px}
.metric-value>span{font-size:11px}
.panel-title h2{font-size:14px}
.panel-note{font-size:11px}
.filter{font-size:11px}
.search-input input{font-size:12px}
.node-table th{font-size:11px}
.node-title{font-size:13px}
.node-subtitle{font-size:10px}
.protocol-badge{font-size:10px}
.node-port,.node-state{font-size:12px}
.table-footer,.table-footer .text-button{font-size:11px}
.row-actions .icon-button{min-width:30px;min-height:32px}
.server-status{font-size:10px}
.protocol-note h3{font-size:12px}
.protocol-note p{font-size:11px}
.footer{font-size:10px}
.footer>span:last-child{font-size:10px}
@media(min-width:681px) and (max-width:1100px){
  .node-toolbar{gap:12px;flex-wrap:wrap}
  .protocol-filters{flex-shrink:0}
  .search-input{max-width:180px}
  .node-title{font-size:12px}
  .node-subtitle{font-size:9px}
  .node-port,.node-state{font-size:11px}
  .page-heading p{font-size:12px}
  .metric-top{font-size:12px}
  .metric-foot{font-size:10px}
  .form-field>label,.form-label{font-size:13px}
  .input,.select{font-size:14px}
  .field-hint{font-size:12px}
  .log-content{font-size:12px}
}
@media(max-width:680px){
  body{font-size:14px}
  .topbar{padding:0 18px}
  .breadcrumb{font-size:13px}
  .mode-badge{font-size:11px}
  .profile-avatar{width:31px;height:31px;font-size:12px}
  .icon-button{min-width:38px;min-height:38px}
  .main{padding:26px 18px}
  .eyebrow{font-size:8px}
  .page-heading{gap:17px;margin-bottom:23px}
  .page-heading h1{font-size:28px}
  .page-heading p{font-size:13px;line-height:1.8}
  .metrics{gap:12px;margin:20px 0 24px}
  .metric{padding:16px;min-height:140px}
  .metric-top{font-size:12px}
  .metric-icon{width:26px;height:26px}
  .metric-value{margin-top:9px}
  .metric-value strong{font-size:30px}
  .metric-value>span{font-size:11px}
  .metric-foot{font-size:11px;line-height:1.7;margin-top:9px}
  .panel-heading{padding:18px 16px;gap:10px;flex-wrap:wrap}
  .panel-title h2{font-size:15px}
  .count-badge{font-size:11px;height:21px;min-width:22px}
  .panel-note{font-size:11px}
  .panel-note .icon{width:12px;height:12px}
  .node-toolbar{padding:0 15px 17px;gap:12px;flex-wrap:wrap;align-items:stretch}
  .protocol-filters{width:100%;padding:4px;gap:4px;justify-content:space-between}
  .filter{font-size:12px;min-height:36px;flex:1;padding:6px}
  .search-input{max-width:none;width:100%}
  .search-input input{height:40px;font-size:13px;padding-left:35px}
  .search-input .icon{width:15px;height:15px;left:12px;top:13px}
  .node-table,.node-table tbody{display:block;width:100%}
  .node-table thead{display:none}
  .node-table tr{display:grid;grid-template-columns:1fr 1fr;position:relative;padding:19px 16px;gap:12px 14px;border-top:1px solid var(--line)}
  .node-table td{display:block!important;padding:0!important;border:0!important;width:auto!important;text-align:left}
  .node-table td:first-child{grid-column:1/-1;padding-right:70px!important}
  .node-table td:nth-child(2){grid-column:1}
  .node-table td:nth-child(3){grid-column:2;display:flex!important;align-items:center;gap:7px}
  .node-table td:nth-child(3):before{content:"端口";font-size:12px;color:var(--muted)}
  .node-table td:nth-child(4){grid-column:1/-1}
  .node-table td:last-child{position:absolute;right:12px;top:14px}
  .node-cell{gap:11px}
  .node-protocol-icon{width:36px;height:38px;border-radius:9px}
  .node-protocol-icon .icon{width:20px;height:20px}
  .node-title{font-size:14px;line-height:1.7;text-align:left;white-space:normal;overflow-wrap:anywhere}
  .node-subtitle{font-size:11px;line-height:1.8;flex-wrap:wrap}
  .protocol-badge{font-size:11px;padding:3px 7px}
  .node-port,.node-state{font-size:13px}
  .node-state .tiny-dot{width:6px;height:6px}
  .row-actions{gap:2px}
  .row-actions .icon-button{width:34px;height:38px;min-width:34px;min-height:38px}
  .row-actions .icon-button .icon{width:17px;height:17px}
  .table-footer{font-size:12px;padding:15px 16px;gap:12px;flex-wrap:wrap}
  .table-footer .text-button{font-size:12px;min-height:32px}
  .table-footer .icon{width:14px;height:14px}
  .protocol-note{padding:17px 15px;align-items:flex-start;gap:11px}
  .protocol-note h3{font-size:13px}
  .protocol-note p{font-size:12px;line-height:1.9}
  .protocol-note-icon{width:33px;height:35px}
  .protocol-note-icon .icon{width:19px;height:19px}
  .footer{font-size:11px;padding:8px 18px 24px;gap:12px;flex-wrap:wrap}
  .footer>span:last-child{font-size:10px}
  .modal-backdrop{padding:13px}
  .modal{max-height:calc(100dvh - 26px)}
  .modal-header{padding:21px 20px 17px}
  .modal-header h2{font-size:19px}
  .modal-header p{font-size:12px;line-height:1.8}
  .modal-body{padding:20px}
  .modal-footer{padding:16px 20px;gap:12px;flex-wrap:wrap}
  .modal-footer-note{font-size:11px}
  .modal-footer .button{font-size:13px;min-height:42px}
  .form-field>label,.form-label{font-size:14px}
  .input,.select{font-size:16px;min-height:44px}
  .field-hint{font-size:12px;line-height:1.8}
  .form-grid{grid-template-columns:1fr;gap:16px}
  .protocol-choice{padding:14px 10px;gap:8px}
  .protocol-choice strong{font-size:12px}
  .protocol-choice span>span{font-size:10px;line-height:1.7}
  .protocol-choice .icon{display:block;width:18px;height:18px}
  .notice,.settings-form>.notice{font-size:12px;line-height:1.8}
  .settings-form{padding:20px}
  .section-panel .panel-heading{padding:20px}
  .section-panel .panel-heading p{font-size:12px}
  .guide-code{font-size:11px;padding:13px;overflow-x:auto}
  .guide-download{flex-wrap:wrap;padding:15px;gap:10px}
  .guide-download strong{font-size:13px}
  .guide-download p{font-size:12px}
  .guide-download .button{font-size:13px;min-height:40px}
  .log-content{font-size:12px;padding:18px;line-height:1.9;overflow-x:auto}
  .share-action-row{font-size:12px;gap:10px;flex-wrap:wrap}
  .toast{font-size:13px;padding:13px 16px}
  .gate-card{padding:30px 24px}
  .gate-description,.gate-footer{font-size:13px}
  .gate-card h1{font-size:24px}
  .gate .button{min-height:44px;font-size:14px}
}
.state-pill{display:inline-flex;align-items:center;justify-content:center;flex:none;border-radius:6px;padding:4px 8px;background:#f2f3f7;color:#888c9b;font-size:11px;white-space:nowrap}
.state-pill.green{background:#ebf7f2;color:#369673}
.state-pill.red{background:#fff0f0;color:#cd6975}
.user-table-wrap{overflow-x:auto}
.user-table{width:100%;border-collapse:collapse;text-align:left}
.user-table th{background:#fafbfe;color:var(--muted);font-size:11px;font-weight:400;padding:13px 20px;border-top:1px solid var(--line);border-bottom:1px solid var(--line);white-space:nowrap}
.user-table td{padding:23px 20px;border-bottom:1px solid var(--line);font-size:12px}
.user-table tbody tr:last-child td{border-bottom:0}
.user-table th:first-child{width:29%}
.user-table th:nth-child(2){width:25%}
.user-table th:last-child{width:15%}
.user-name-cell{display:flex;gap:12px;align-items:center;min-width:150px}
.user-avatar{width:35px;height:37px;display:flex;align-items:center;justify-content:center;border-radius:10px;background:#f1edff;color:var(--purple);font-size:14px;flex:none}
.user-name-cell>div{min-width:0}
.user-name-cell strong{display:block;font-size:13px;font-weight:550;overflow-wrap:anywhere}
.user-name-cell>div>span{display:block;font-size:11px;color:var(--muted);max-width:210px;margin-top:3px;overflow-wrap:anywhere}
.usage-main{display:flex;gap:6px;align-items:center;white-space:nowrap}
.usage-main strong{font-weight:550;font-size:13px;color:#53596e}
.usage-main>span{font-size:11px;color:var(--muted)}
.usage-breakdown{font-size:10px;color:var(--muted)}
.user-expiry{font-size:12px;margin-bottom:4px;white-space:nowrap}
.user-row-actions{display:flex;align-items:center;gap:5px}
.user-row-actions .button{font-size:11px;min-height:32px;white-space:nowrap}
.user-row-actions .button .icon{width:13px;height:13px}
.user-row-actions .icon-button{min-width:28px}
.check-line{display:flex;align-items:center;gap:9px;font-size:13px;line-height:1.8;min-height:38px;cursor:pointer}
.check-line>input{width:16px;height:16px;accent-color:var(--purple);flex:none}
.node-access-list{background:#f8f9fc;border:1px solid var(--line);padding:10px 14px;border-radius:9px;margin-top:8px;max-height:200px;overflow:auto}
.node-access-list .check-line{font-size:12px}
.copy-field{background:#f8f9fc;border:1px solid var(--line);border-radius:9px;padding:15px;margin:13px 0}
.copy-field>label{display:block;color:var(--muted);font-size:11px;margin-bottom:7px}
.copy-field>code{font-family:ui-monospace,SFMono-Regular,Consolas,monospace;display:block;font-size:12px;line-height:1.9;overflow-wrap:anywhere;word-break:break-all;color:#5b5679}
.copy-field>.button{margin-top:11px;font-size:12px}
.subscription-stats{display:grid;grid-template-columns:1fr 1fr;padding:23px 0;gap:15px}
.subscription-stats>div>span{font-size:11px;color:var(--muted);display:block}
.subscription-stats strong{display:block;font-size:17px;font-weight:550;margin-top:7px}
.settings-definitions{margin:0;padding:7px 27px 24px}
.settings-definitions>div{display:grid;grid-template-columns:100px 1fr;gap:17px;padding:17px 0;border-bottom:1px solid var(--line)}
.settings-definitions>div:last-child{border:0}
.settings-definitions dt{font-size:12px;color:var(--muted)}
.settings-definitions dd{margin:0;font-size:13px;line-height:1.9;color:#62697d}
.notice{line-height:1.9}
.node-cell>div{min-width:0}
.menu-popover button{font-size:13px;min-height:38px}
.modal-header h2{font-size:20px}
.modal-header p{font-size:12px;line-height:1.8}
.form-field{margin-bottom:20px}
.form-field>label,.form-label{font-size:13px}
.field-hint{font-size:12px;line-height:1.8}
.modal-body>.notice{font-size:12px}
.modal-body .input,.modal-body .select{font-size:14px}
.modal-footer{gap:10px;flex-wrap:wrap}
.modal-footer-note{flex:1;min-width:100px}
.protocol-choice{margin-bottom:19px}
.protocol-choice>strong{font-size:13px}
.protocol-choice:disabled{opacity:.8;cursor:default}
.empty-nodes.panel{border:0;box-shadow:none}
.log-content{white-space:pre-wrap;overflow-wrap:anywhere}
@media(max-height:850px){
  .sidebar-note{display:none}
  .brand{margin-bottom:32px}
  .sidebar{overflow-y:auto}
}
@media(max-width:1250px){
  .user-table th,.user-table td{padding-left:14px;padding-right:14px}
  .user-name-cell>div>span{max-width:150px}
}
@media(max-width:1000px){
  .user-table{min-width:700px}
  .settings-definitions>div{grid-template-columns:80px 1fr}
}
@media(max-width:680px){
  .state-pill{font-size:12px;padding:5px 8px}
  .user-table-wrap{overflow:visible}
  .user-table,.user-table tbody{display:block;min-width:0}
  .user-table thead{display:none}
  .user-table tr{display:grid;grid-template-columns:1fr 1fr;gap:17px 14px;padding:22px 17px;border-top:1px solid var(--line);position:relative}
  .user-table td{display:block;padding:0;border:0;min-width:0}
  .user-table td:first-child{grid-column:1/-1;padding-right:70px}
  .user-name-cell{min-width:0}
  .user-name-cell strong{font-size:15px}
  .user-name-cell>div>span{font-size:12px;max-width:none}
  .user-avatar{width:35px;height:39px}
  .usage-main strong{font-size:14px}
  .usage-main>span{font-size:12px}
  .usage-breakdown{font-size:11px;line-height:1.8}
  .user-expiry{font-size:13px}
  .user-table td:nth-child(4){position:absolute;top:22px;right:17px}
  .user-table td:last-child{grid-column:1/-1;border-top:1px dashed var(--line);padding-top:14px}
  .user-row-actions{justify-content:flex-end;gap:10px}
  .user-row-actions .button{font-size:13px;min-height:39px}
  .user-row-actions .icon-button{min-width:39px}
  .form-field>label,.form-label{font-size:14px}
  .modal-body .input,.modal-body .select{font-size:16px;min-height:44px}
  .field-hint{font-size:12px}
  .check-line{font-size:13px;min-height:44px}
  .node-access-list .check-line{font-size:13px}
  .copy-field{padding:14px}
  .copy-field>label{font-size:12px}
  .copy-field>code{font-size:12px}
  .copy-field>.button{font-size:13px;min-height:40px}
  .subscription-stats{grid-template-columns:1fr 1fr;gap:19px}
  .subscription-stats strong{font-size:18px}
  .subscription-stats>div>span{font-size:12px}
  .settings-definitions{padding:0 20px 20px}
  .settings-definitions>div{grid-template-columns:1fr;gap:7px}
  .settings-definitions dt{font-size:12px}
  .settings-definitions dd{font-size:13px}
  .modal-footer-note{font-size:11px}
  .modal-header h2{font-size:20px}
  .modal-header p{font-size:12px}
  .protocol-choice>strong{font-size:13px}
  .menu-popover button{font-size:14px;min-height:43px}
  .share-action-row .button{font-size:12px;min-height:40px}
  .settings-note{display:block!important}
  .settings-layout>.settings-note{padding:22px}
  .settings-note p{font-size:13px}
  .settings-note .button{font-size:13px;min-height:41px}
  .guide-download{flex-direction:column;align-items:flex-start}
  .guide-download>.button{align-self:stretch;justify-content:center}
  .node-cell .node-title{font-size:14px}
  .user-table+.table-footer{font-size:12px}
}
.user-row-actions{flex-wrap:wrap}
.local-core-value{font-size:25px!important;line-height:1.5}
.local-core-actions{display:flex;gap:8px}
.local-settings-form{padding:8px 24px 26px}
.error-notice{background:#fff4f5;border-color:#f4dadd;color:#a04458}
.notice{margin-bottom:22px}
.notice>.text-button{margin-left:auto;flex-shrink:0}
.settings-definitions{margin-top:8px}
.node-subtitle{max-width:300px;overflow:hidden;text-overflow:ellipsis}
.metric-foot{overflow-wrap:anywhere}
.guide-download{flex-wrap:wrap;gap:10px}
.conversion-row{padding:21px 24px;display:flex;align-items:center;justify-content:space-between;gap:20px;border-top:1px solid var(--line)}
.conversion-summary{display:flex;align-items:center;gap:13px;min-width:0}
.conversion-summary>div{min-width:0}
.conversion-summary .node-title{font-size:14px}
.conversion-summary p{margin:5px 0 0;font-size:11px;color:var(--muted);overflow-wrap:anywhere}
.conversion-summary p>span{margin:0 5px;color:#c1c4ce}
.conversion-actions{display:flex;align-items:center;gap:8px;flex-shrink:0}
.conversion-actions .button{font-size:12px;min-height:35px}
.conversion-source-label{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:8px}
.conversion-source-label>label{font-size:13px;color:#697186}
.conversion-source-label .text-button{font-size:12px}
.modal-body .conversion-source{height:auto;min-height:190px;resize:vertical;line-height:1.8;font-family:ui-monospace,SFMono-Regular,Consolas,monospace;font-size:13px;overflow-wrap:anywhere;word-break:break-all}
.conversion-panel .table-footer{flex-wrap:wrap;gap:10px;line-height:1.8}
.conversion-panel .table-footer>span{display:flex;align-items:flex-start;gap:7px}
.conversion-panel .table-footer .icon{width:14px;height:14px;margin-top:3px}
@media(max-width:700px){
  .local-core-actions{flex-wrap:wrap;justify-content:flex-end}
  .notice{align-items:flex-start;flex-wrap:wrap}
  .local-core-value{font-size:21px!important}
  .conversion-row{padding:20px;align-items:stretch;flex-direction:column;gap:16px}
  .conversion-summary .node-title{white-space:normal;overflow-wrap:anywhere}
  .conversion-actions{justify-content:flex-end}
  .conversion-actions .button,.conversion-actions .icon-button{min-height:40px}
  .conversion-summary p{font-size:12px}
  .conversion-source-label>label{font-size:14px}
  .modal-body .conversion-source{font-size:16px}
}
