
:root{--paper:#f7f7f2;--surface:#fff;--ink:#242720;--muted:#797d73;--quiet:#9b9f94;--line:#e6e7de;--accent:#c34b37;--accent-hover:#aa3c2a;--accent-soft:#f8ebe5;--green:#3f7358;--green-soft:#edf4ee;--sidebar:#22251f;--radius:14px;--shadow:0 16px 60px #23261f12;--font:"Segoe UI","PingFang SC","Microsoft YaHei",sans-serif;--mono:"Cascadia Code","SFMono-Regular",Consolas,monospace}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--paper);color:var(--ink);font:14px/1.6 var(--font);-webkit-font-smoothing:antialiased}button,input,select,textarea{font:inherit}button,a,input,summary{-webkit-tap-highlight-color:transparent}button,a{touch-action:manipulation}button{cursor:pointer}a{color:inherit;text-decoration:none}button{color:inherit}img,svg{max-width:100%}svg.icon{display:inline-block;flex:none;width:19px;height:19px;stroke:currentColor;stroke-width:1.65;fill:none;stroke-linecap:round;stroke-linejoin:round;vertical-align:middle}h1,h2,h3,p{margin:0}h1,h2,h3{font-weight:600;line-height:1.35}h1{font-size:32px;letter-spacing:-1px}h2{font-size:18px;letter-spacing:-.3px}h3{font-size:15px}button:disabled{cursor:wait;opacity:.6}button[disabled][data-inactive]{cursor:not-allowed}input:disabled{color:var(--muted)}[hidden]{display:none!important}:focus-visible{outline:3px solid #c34b3760;outline-offset:3px}::selection{background:#eac7b9;color:#242720}.mono{font-family:var(--mono);font-variant-numeric:tabular-nums}.muted{color:var(--muted)}.small{font-size:12px}.full{width:100%}.danger-text{color:var(--accent)!important}.text-green{color:var(--green)}.eyebrow{font-size:10px;letter-spacing:1.8px;font-weight:600;line-height:1.6;display:flex;align-items:center;gap:9px}.tiny-square{display:inline-block;flex:none;width:5px;height:5px;background:var(--accent)}.label-caps{font-size:12px;color:var(--muted)}.section-index{font:11px var(--mono);letter-spacing:.6px;color:var(--muted)}.skip-link{position:fixed;top:-70px;left:16px;background:var(--ink);color:white;padding:12px 20px;border-radius:8px;z-index:100}.skip-link:focus{top:12px}
.button{min-height:43px;padding:10px 16px;border:1px solid var(--line);border-radius:8px;background:var(--surface);font-size:13px;font-weight:500;display:inline-flex;align-items:center;justify-content:center;gap:9px;white-space:nowrap;transition:background .16s,border-color .16s,transform .16s}.button:hover{background:#f4f5ef;border-color:#ccd0c4}.button:active{transform:translateY(1px)}.button.primary{background:var(--accent);border-color:var(--accent);color:#fff}.button.primary:hover{background:var(--accent-hover);border-color:var(--accent-hover)}.button.dark{background:var(--ink);border-color:var(--ink);color:#fff}.button.dark:hover{background:#3c4036}.button.danger{background:#fbefeb;color:var(--accent);border-color:#f0d4cb}.button.small-button{min-height:36px;padding:7px 11px;font-size:12px}.button.ghost{background:transparent}.text-button{border:0;background:transparent;display:inline-flex;align-items:center;justify-content:center;gap:7px;font-size:12px;padding:8px 0;min-height:36px;white-space:nowrap}.text-button:hover{color:var(--accent)}.text-button .icon{width:16px;height:16px}.icon-button{display:inline-flex;align-items:center;justify-content:center;flex:none;min-width:36px;min-height:36px;background:transparent;border:1px solid transparent;border-radius:7px;color:var(--muted);transition:background .15s}.icon-button:hover{color:var(--ink);background:#eeefe8}.icon-button .icon{width:17px;height:17px}.copied{color:var(--green)!important}.button-row{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.button-row.end{justify-content:flex-end}
label{display:block;font-size:12px;font-weight:500;margin-bottom:8px}input,select,textarea{color:var(--ink);border:1px solid #dfe2d7;border-radius:8px;background:#fff;padding:11px 13px;width:100%;min-width:0;min-height:44px;outline:none;transition:border-color .15s,box-shadow .15s}input:focus,select:focus,textarea:focus{border-color:#b9bcae;box-shadow:0 0 0 3px #6067530c}input::placeholder,textarea::placeholder{color:#a2a79a}.input-shell{position:relative;display:flex;align-items:center;gap:10px;background:#fff;border:1px solid #dfe2d7;border-radius:8px;padding:0 14px;transition:border-color .15s,box-shadow .15s}.input-shell:focus-within{border-color:#a8ae9c;box-shadow:0 0 0 3px #6067530c}.input-shell>.icon{color:#9a9f91;width:18px;height:18px}.input-shell input{border:0;padding:14px 0;background:transparent;box-shadow:none;min-height:52px}.input-shell:has(input[aria-invalid="true"]){border-color:var(--accent)}.input-shell>.icon-button{margin-right:-7px}.field-hint{font-size:11px;line-height:1.7;color:var(--muted);margin-top:9px}.form-message{font-size:12px;color:var(--accent);line-height:1.6;margin:12px 0;min-height:19px}.form-message.success{color:var(--green)}.field{margin-bottom:22px}.field:last-child{margin-bottom:0}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px}.form-grid .span-two{grid-column:1/-1}.form-grid .field{margin:0}.required{color:var(--accent)}
.brand{display:inline-flex;gap:12px;align-items:center;flex:none}.brand-mark{position:relative;font-size:25px;font-weight:800;letter-spacing:-1.8px;line-height:1;display:flex;align-items:center;justify-content:center;border:1px solid #e2e3d9;border-radius:9px;width:51px;height:47px;background:#fff;padding-bottom:4px}.brand-mark span{font-weight:600}.brand-mark i{position:absolute;bottom:6px;left:10px;right:10px;height:3px;background:var(--accent)}.brand-name{font-size:17px;font-weight:600;line-height:1.25;letter-spacing:1px}.brand-name small{display:block;font-size:8px;font-weight:500;letter-spacing:1.4px;margin-top:6px;color:var(--muted)}.brand-light .brand-mark{border-color:#ffffff26;background:#ffffff05;color:#f4f4e9}.brand-light .brand-name{color:#f4f4e9}.brand-light .brand-name small{color:#919887}
.customer-header{max-width:1320px;margin:auto;padding:28px 48px;display:flex;align-items:center;justify-content:space-between;gap:20px}.customer-header nav{display:flex;align-items:center;gap:28px}.header-caption{color:var(--muted);font-size:12px}.customer-footer{max-width:1320px;margin:0 auto;padding:24px 48px 28px;display:flex;justify-content:space-between;gap:15px;color:var(--muted);font-size:10px;letter-spacing:.2px}.footer-dot{padding:0 10px;color:#b2b5aa}.customer-page #main{min-height:calc(100vh - 192px)}.active-only{display:none}.is-active .active-only{display:inline-flex}.core-symbol{background:#e8eddf;color:#687753;display:grid;place-items:center;width:34px;height:34px;border-radius:9px}
.entry-form-wrap{background:#fff;border:1px solid var(--line);border-radius:15px;box-shadow:0 7px 30px #353b2510;overflow:hidden;align-self:center}.entry-form-head{display:flex;align-items:center;justify-content:space-between;padding:19px 30px;border-bottom:1px solid #eeefe7;font-size:9px;color:#9a9f8f}.step-label{letter-spacing:1.4px;font-weight:600;color:#747c67}.small-index{font-family:var(--mono);letter-spacing:1px}.entry-form-body{padding:35px 32px 26px}.form-emblem{display:flex;align-items:center;justify-content:center;border:1px solid #e5e8dc;background:#f9faf5;border-radius:11px;width:43px;height:43px;margin-bottom:20px;color:#747c64}.entry-form-body h2{font-size:25px;margin-bottom:9px;letter-spacing:-.6px}.entry-form-body>.muted{font-size:12px}.entry-form-body form{margin-top:29px}.entry-form-body .input-shell input{font-size:11px;letter-spacing:-.35px}.entry-form-body .button.primary{min-height:48px;justify-content:space-between;padding:12px 18px}.entry-note{display:flex;gap:9px;margin-top:23px;padding:0 0 22px;border-bottom:1px solid #eeefe7;color:#919785}.entry-note>.icon{width:15px;height:15px;margin-top:4px;flex:none}.entry-note p{font-size:10px;line-height:1.8}.inline-help{font-size:11px;color:var(--muted);margin-top:17px}.inline-help summary{list-style:none;cursor:pointer;display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:28px}.inline-help summary::-webkit-details-marker{display:none}.inline-help summary .icon{width:14px;height:14px}.inline-help[open] summary .icon{transform:rotate(45deg)}.inline-help p{padding-top:12px;line-height:1.8}.entry-form-foot{font-size:8px;letter-spacing:1.7px;color:#9a9f8e;padding:17px 30px;background:#fcfcf9;border-top:1px solid #eeefe7;display:flex;align-items:center;gap:8px}.entry-form-foot .tiny-square{width:4px;height:4px;background:#9ba789}
.workspace{max-width:1224px;padding:0 48px 26px;margin:18px auto}.breadcrumb{display:flex;align-items:center;gap:10px;font-size:11px;color:var(--muted);margin:0 0 28px}.breadcrumb .icon{width:12px;height:12px;color:#adb2a2}.workspace-heading{display:flex;justify-content:space-between;align-items:center;gap:24px;margin-bottom:30px}.workspace-heading .eyebrow{color:#9a9f8e;font-size:9px;margin-bottom:9px}.workspace-heading h1{font-size:36px;margin-bottom:10px}.workspace-heading p{font-size:12px}.expiry-summary{display:flex;flex-direction:column;gap:5px;padding-left:25px;border-left:1px solid #dfe2d4;min-width:205px}.expiry-summary strong{font-size:26px;letter-spacing:-.7px;font-weight:500}.expiry-summary>span:last-child{font-size:10px}.connection-status-bar{display:flex;justify-content:space-between;align-items:center;gap:15px;border-top:1px solid var(--line);border-bottom:1px solid var(--line);padding:13px 0;margin-bottom:23px}.connection-status-bar>div{display:flex;align-items:center;gap:18px;flex-wrap:wrap}.connection-status-bar .status-description{font-size:10px;color:#919785}.status-pill{font-size:11px;display:inline-flex;align-items:center;gap:7px;padding:4px 9px;line-height:1.5;white-space:nowrap}.status-dot{width:5px;height:5px;border-radius:50%;background:currentColor;flex:none}.status-actions .text-button{font-size:11px}.action-menu{position:relative}.action-menu>summary{display:flex;align-items:center;gap:7px;font-size:11px;min-height:34px;cursor:pointer;list-style:none}.action-menu>summary::-webkit-details-marker{display:none}.action-menu>summary .icon{width:13px;height:13px}.menu-panel{position:absolute;z-index:20;top:calc(100% + 8px);right:0;min-width:170px;background:#fff;border:1px solid var(--line);box-shadow:var(--shadow);padding:5px;border-radius:9px}.menu-panel>button,.menu-panel>a{display:flex;align-items:center;gap:10px;font-size:12px;width:100%;text-align:left;min-height:40px;background:transparent;border:0;border-radius:5px;padding:9px 12px;white-space:nowrap}.menu-panel>button:hover,.menu-panel>a:hover{background:var(--paper)}.menu-panel .icon{width:15px;height:15px}
.connection-grid{display:grid;grid-template-columns:minmax(0,1.85fr) minmax(265px,1fr);gap:22px}.surface{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius)}.connection-parameters{padding:28px}.section-heading{display:flex;justify-content:space-between;align-items:center;gap:14px;margin-bottom:12px}.section-heading>div{display:flex;align-items:center;gap:10px}.section-heading .section-index{font-size:11px;color:#b0b5a7}.connection-parameters>.muted{font-size:12px}.parameter-grid{display:grid;grid-template-columns:1fr 1fr;margin-top:26px;gap:22px 24px}.host-parameter{grid-column:1/-1}.parameter label{font-size:11px;color:var(--muted);display:flex;justify-content:space-between;gap:12px;margin-bottom:8px}.parameter label>span{font-size:8px;color:#adb2a3;letter-spacing:1px}.parameter>div{display:flex;align-items:center;justify-content:space-between;gap:5px;padding:10px 12px;border:1px solid #e6e8df;border-radius:7px;background:#fafbf7;min-width:0}.parameter strong{font-weight:500;font-size:21px;letter-spacing:-.7px;overflow-wrap:anywhere;min-width:0}.parameter .icon-button{min-height:30px;min-width:30px}.soft-note{display:flex;align-items:flex-start;gap:10px;background:#f6f7f0;border-radius:8px;padding:14px;margin-top:23px;color:#7e8570;font-size:10px;line-height:1.8}.soft-note .icon{width:15px;height:15px;margin-top:2px;flex:none}.soft-note strong{display:block;font-size:11px;font-weight:500;color:#737b64;margin-bottom:2px}.invite-panel{position:relative;display:flex;flex-direction:column;background:#f0e9df;border:1px solid #e6ddd0;border-radius:14px;padding:28px;overflow:hidden}.invite-icon{position:absolute;right:22px;top:23px;border:1px solid #d4cabc;border-radius:50%;height:37px;width:37px;display:grid;place-items:center;color:#9a8b78}.invite-icon .icon{width:23px;height:23px}.invite-panel .section-index{font:8px var(--mono);letter-spacing:.8px;color:#9e907c;margin-top:9px;margin-bottom:28px}.invite-panel h2{font-size:23px;margin-bottom:13px;letter-spacing:-.6px}.invite-panel>p{font-size:12px;line-height:1.9;color:#8b806d;margin-bottom:28px}.invite-link{display:flex;align-items:center;gap:8px;margin-top:auto;background:#ffffff60;border:1px solid #ded6c9;border-radius:7px;padding:0 10px}.invite-link .icon{color:#a69884;width:15px;height:15px}.invite-link input{background:transparent;border:0;box-shadow:none;padding:11px 0;font:10px var(--mono);min-height:40px;color:#8a7b66}.invite-panel .button{margin-top:12px;font-size:12px}.invite-panel .button>.icon:last-child{margin-left:auto}.invite-note{font-size:9px;color:#9b8b73;margin-top:13px;text-align:center}.connection-guide{margin-top:29px;padding:23px 0 10px;border-top:1px solid var(--line)}.guide-title{display:flex;align-items:center;gap:9px}.guide-title>.icon{color:#838d75;width:17px;height:17px}.guide-title h2{font-size:14px;font-weight:500}.guide-title .text-button{margin-left:auto;font-size:10px;color:#939a85}.connection-guide ol{display:grid;grid-template-columns:repeat(3,1fr);gap:24px;padding:0;list-style:none;margin:19px 0 0}.connection-guide li{display:flex;gap:12px}.connection-guide li>span{font:10px var(--mono);color:#a3ab97;margin-top:4px}.connection-guide strong{font-size:11px;font-weight:500}.connection-guide p{font-size:10px;color:#929986;line-height:1.8;margin-top:4px}
.admin-login-page{display:grid;grid-template-columns:46% 54%;min-height:100vh}.login-story{padding:42px 56px;background:var(--sidebar);color:#f0f0e7;display:flex;flex-direction:column;overflow:hidden}.login-story-content{max-width:440px;margin:auto 0;padding:55px 0 10px}.login-story-content .eyebrow{font-size:9px;color:#a3aa94;margin-bottom:28px}.login-story-content h1{font-size:43px;line-height:1.55;letter-spacing:-1.5px}.login-story-content>p{font-size:13px;color:#939b86;line-height:2;margin-top:20px}.login-story-footer{font-size:8px;letter-spacing:1.5px;color:#767e6a;margin-top:20px}.login-art{width:240px;height:220px;position:relative;margin:20px 0 0 40px}.login-art>span{position:absolute;width:140px;height:140px;border:1px solid #67725450;transform:rotate(30deg) skew(-10deg,-10deg);border-radius:25px;left:40px;top:40px}.login-art>span:nth-child(2){top:60px;border-color:#6f7c5640}.login-art>span:nth-child(3){top:80px;border-color:#6f7c5630}.login-art>.icon{position:absolute;left:87px;top:90px;width:46px;height:46px;color:#bd7861;stroke-width:1}.admin-login-main{display:flex;flex-direction:column;padding:40px 56px}.back-link{align-self:flex-end;color:#8d9480}.admin-login-form{max-width:370px;width:100%;margin:auto; padding:50px 0}.admin-login-form>.eyebrow{color:#a0a793;font-size:9px;margin-bottom:12px}.admin-login-form h2{font-size:30px;letter-spacing:-.7px;margin-bottom:14px}.admin-login-form>.muted{font-size:12px;margin-bottom:30px}.admin-login-form label{margin-top:20px}.admin-login-form .button.primary{justify-content:space-between;min-height:48px}.login-help{display:flex;align-items:center;justify-content:center;gap:6px;margin-top:20px;font-size:10px;color:#a0a793}.login-help .icon{width:14px;height:14px}.admin-login-main footer{font-size:10px;color:#a0a793;text-align:center}
.admin-page{background:#f6f7f2}.sidebar{width:232px;position:fixed;inset:0 auto 0 0;background:var(--sidebar);padding:30px 20px 18px;z-index:40;color:#abb19f;display:flex;flex-direction:column}.sidebar>.brand{margin:0 8px 32px}.sidebar .brand-mark{width:44px;height:42px;font-size:22px}.sidebar .brand-name{font-size:15px}.sidebar .brand-name small{font-size:8px}.workspace-switch{display:flex;align-items:center;gap:9px;border:1px solid #ffffff13;border-radius:8px;padding:10px;margin-bottom:31px;background:#ffffff04}.workspace-avatar{display:grid;place-items:center;flex:none;width:29px;height:29px;background:#ffffff09;border-radius:6px;color:#b2ba9e}.workspace-avatar .icon{width:16px;height:16px}.workspace-switch>div{min-width:0}.workspace-switch strong{display:block;font-size:10px;font-weight:500;color:#d9dece}.workspace-switch small{display:block;font-size:9px;margin-top:3px;color:#7f8970}.workspace-switch>.icon{width:13px;height:13px;margin-left:auto;color:#636d56}.nav-caption{font-size:9px;letter-spacing:1px;color:#717c61;margin:0 12px 11px}.sidebar nav{display:flex;flex-direction:column;gap:6px}.sidebar nav a{font-size:12px;display:flex;align-items:center;gap:11px;padding:12px 13px;border-radius:7px;min-height:43px;transition:background .15s,color .15s;position:relative}.sidebar nav a>.icon{width:17px;height:17px;color:#82916d}.sidebar nav a:hover{background:#ffffff05;color:#eef2e6}.sidebar nav a[aria-current="page"]{background:#ffffff0c;color:#eff3e8}.sidebar nav a[aria-current="page"]:before{content:"";position:absolute;left:0;top:14px;bottom:14px;width:2px;background:#d47761;border-radius:2px}.sidebar nav a[aria-current="page"]>.icon{color:#c7d0b6}.nav-count{font:10px var(--mono);margin-left:auto;background:#ffffff0a;padding:1px 6px;border-radius:4px;color:#9faa8c}.sidebar-bottom{margin-top:auto;padding-top:25px}.sidebar-link{display:flex;align-items:center;gap:10px;font-size:11px;padding:12px;color:#8b987b}.sidebar-link:hover{color:#cdd8bd}.sidebar-link>.icon{width:15px;height:15px}.admin-profile{display:flex;align-items:center;gap:9px;border-top:1px solid #ffffff10;margin-top:14px;padding:19px 4px 0}.profile-avatar{display:grid;place-items:center;width:31px;height:31px;background:#444e36;border:1px solid #5f6a4f;color:#c8d1b6;border-radius:50%;font-size:11px;font-family:var(--mono);flex:none}.admin-profile strong{font-size:10px;font-weight:500;color:#cbd3bf;display:block}.admin-profile small{font-size:9px;color:#778667;display:block;margin-top:2px}.admin-profile>.icon-button{margin-left:auto;color:#7d896c;min-width:29px}.admin-profile>.icon-button:hover{background:#ffffff08;color:#d6dfc8}.admin-main{margin-left:232px;min-width:0}.admin-topbar{height:74px;border-bottom:1px solid var(--line);padding:0 38px;display:flex;align-items:center;justify-content:space-between;gap:20px;font-size:11px;background:#fafbf7}.admin-topbar>div{display:flex;align-items:center;gap:15px}.admin-topbar .icon{width:12px;height:12px;color:#b2baa6}.topbar-right{color:#949e85;font-size:10px}.topbar-right .small{font-size:9px;display:flex;align-items:center;gap:7px;letter-spacing:1px}.topbar-divider{width:1px;height:13px;background:#dde1d3}.admin-content{max-width:1600px;padding:34px 38px 20px;margin:auto}.page-heading{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:29px}.page-heading .eyebrow{font-size:9px;color:#9da68e;letter-spacing:1.5px;margin-bottom:8px}.page-heading h1{font-size:28px;margin-bottom:9px}.page-heading p{font-size:12px}.heading-actions{display:flex;align-items:center;gap:10px}.heading-actions .button{font-size:12px}.heading-actions .icon{width:16px;height:16px}.stat-number{font-family:var(--mono);font-size:33px;font-weight:400;letter-spacing:-1.5px;line-height:1.4}.capacity-line{height:3px;border-radius:4px;background:#eef0e8;overflow:hidden;margin-top:16px}.capacity-line>span{display:block;height:100%;background:#8e9c78;max-width:100%;transition:width .2s}.table-surface{border:1px solid var(--line);border-radius:12px;background:#fff;overflow:hidden}.table-titlebar{display:flex;justify-content:space-between;align-items:center;gap:14px;padding:21px 23px 0}.table-titlebar h2{font-size:15px;display:flex;align-items:center;gap:8px}.count-badge{border:1px solid #e4e8db;color:#949e85;padding:0 6px;border-radius:4px;font:10px/1.6 var(--mono);font-weight:400}.table-titlebar .muted{font-size:10px}.table-toolbar{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:17px 23px}.filter-tabs{display:flex;gap:5px;background:#f5f6f0;padding:3px;border:1px solid #eeefe7;border-radius:7px;max-width:100%;overflow-x:auto}.filter-tab{border:0;background:transparent;color:#8a947d;font-size:11px;border-radius:4px;padding:5px 12px;white-space:nowrap;min-height:29px}.filter-tab[aria-pressed="true"]{background:#fff;color:#434d36;box-shadow:0 1px 4px #4b593017}.table-toolbar .search-box{max-width:255px}.instance-name{display:flex;gap:11px;align-items:center}.instance-symbol{background:#f4f6ed;border:1px solid #e5e9dc;border-radius:7px;width:34px;height:34px;display:grid;place-items:center;flex:none;color:#8a9a72}.instance-symbol>.icon{width:17px;height:17px}.instance-name strong{display:block;font:13px var(--mono);color:#3e4b30}.instance-name small{display:block;font-size:9px;margin-top:4px;color:#a0aa92;max-width:200px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.table-subtext{display:block;font-size:9px;color:#a2ab95;margin-top:4px}.table-date{font:10px/1.7 var(--mono);white-space:nowrap}.table-pin{display:inline-flex;align-items:center;gap:7px;background:transparent;border:0;font:12px var(--mono);padding:5px 0;min-height:32px;color:#798565}.table-pin>.icon{width:13px;height:13px;color:#aab49b}.row-detail{display:inline-flex;align-items:center;gap:4px;background:transparent;border:1px solid #e8ecdf;border-radius:5px;padding:6px 10px;font-size:10px;white-space:nowrap;min-height:31px;color:#7d8a68}.row-detail:hover{background:#f4f6ee;color:#4e6038}.row-detail .icon{width:12px;height:12px}.table-footer{padding:13px 23px;border-top:1px solid #eef1e7;display:flex;align-items:center;justify-content:space-between;gap:14px;font-size:9px;color:#a1ac91}.table-footer .text-button{font-size:10px;min-height:28px;padding:2px}.table-footer-right{display:flex;align-items:center;gap:10px}.empty-cell{text-align:center;padding:55px 20px!important}.empty-state{display:flex;align-items:center;flex-direction:column;gap:10px;color:#9aa88a}.empty-state>.icon{width:30px;height:30px;stroke-width:1.2}.empty-state strong{font-weight:500;font-size:13px;color:#697d55}.empty-state p{font-size:11px;max-width:320px}.table-callout{display:flex;align-items:center;gap:14px;border:1px solid #e4e8da;border-radius:10px;padding:18px 21px;background:#f0f3e9;margin-top:22px}.table-callout>.icon{width:24px;height:24px;color:#909d79;stroke-width:1.3}.table-callout>div{flex:1}.table-callout strong{font-size:11px;font-weight:500;color:#75855f}.table-callout p{font-size:10px;color:#99a786;margin-top:4px}.table-callout .text-button{font-size:10px;color:#7a8b62}.admin-footer{display:flex;justify-content:space-between;align-items:center;font-size:9px;color:#a3ad94;margin-top:35px;gap:16px}.error-banner{background:#faeee9;border:1px solid #ecd1c6;color:#aa5a3e;border-radius:8px;padding:12px 15px;margin-bottom:22px;font-size:12px}.error-banner button{margin-left:10px}.page-loading{min-height:350px;display:flex;gap:14px;align-items:center;justify-content:center;flex-direction:column;color:#9ca98b;font-size:12px}.mobile-nav-toggle{display:none}
.card-code{font:10px var(--mono);word-break:break-all;letter-spacing:-.4px;color:#687b51;background:none;border:0;padding:4px 0;text-align:left}.card-table .table-subtext{max-width:190px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.export-menu summary{font-size:12px}.batch-result{margin-top:23px;padding:18px;background:#f2f6eb;border:1px solid #dfe8d1;border-radius:9px}.batch-result h3{font-size:13px;color:#657b49;margin-bottom:8px}.batch-result>p{font-size:11px;color:#8e9f78;margin-bottom:13px}.batch-codes{font:11px/2.1 var(--mono);background:white;border:1px solid #e2e9d8;border-radius:6px;max-height:220px;overflow:auto;padding:11px;margin-bottom:14px;white-space:pre-wrap;overflow-wrap:anywhere;color:#6b7e54}.duration-options{display:grid;grid-template-columns:repeat(4,1fr);gap:8px}.duration-option{border:1px solid #e2e6d8;background:#fff;border-radius:7px;padding:11px 5px;font-size:11px;min-height:42px}.duration-option[aria-pressed="true"]{background:#f5eee7;border-color:#c99880;color:#a05a3b}.settings-grid{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(240px,1fr);gap:23px;align-items:start}.settings-form{padding:27px}.settings-section-title{display:flex;align-items:center;gap:10px;margin-bottom:6px}.settings-section-title>.icon{color:#9baa85;width:18px;height:18px}.settings-section-title h2{font-size:15px}.settings-form .section-description{font-size:11px;color:#99a889;margin:0 0 25px 28px}.settings-form .field{margin-top:20px}.settings-form hr{border:0;border-top:1px solid #ebefe2;margin:28px -27px}.settings-form .input-action{display:flex;gap:10px;align-items:center}.settings-form .input-action .text-button{font-size:10px;color:#899d6c}.settings-form label{font-size:11px;color:#71815c}.settings-form .field-hint{font-size:10px}.settings-form input{font-size:12px}.settings-side{display:flex;flex-direction:column;gap:20px}.settings-capacity{padding:25px}.settings-capacity h3{font-size:13px;color:#697f50;margin-bottom:18px}.capacity-big{display:flex;align-items:baseline;gap:10px}.capacity-big strong{font:38px var(--mono);color:#5c7244}.capacity-big span{font-size:11px;color:#a4b28d}.capacity-legend{display:flex;justify-content:space-between;gap:10px;margin-top:15px;font-size:10px;color:#8c9f73}.capacity-blocks{display:flex;gap:4px;height:29px;margin-top:20px}.capacity-blocks i{flex:1;min-width:0;border-radius:3px;background:#ebf0e2}.capacity-blocks i.used{background:#9aaa80}.settings-note{padding:22px;border:1px solid #e4e8da;border-radius:12px;background:#eef2e7}.settings-note>.icon{color:#8ea274;width:22px;height:22px;margin-bottom:12px}.settings-note h3{font-size:12px;color:#6d8550;margin-bottom:9px}.settings-note p{font-size:11px;color:#8f9f7a;line-height:1.9}.current-address{padding:12px;background:#f8faf3;border:1px dashed #e3e9d7;border-radius:7px;font:11px var(--mono);color:#859b67;overflow-wrap:anywhere;margin-top:14px}
.dialog{border:1px solid #e1e5d6;border-radius:14px;padding:0;color:var(--ink);background:#fff;box-shadow:0 30px 90px #1d281e33;max-height:calc(100dvh - 48px);width:min(460px,calc(100vw - 32px));overflow:auto}.dialog::backdrop{background:#1c251f57;backdrop-filter:blur(3px)}.dialog-head{display:flex;align-items:center;justify-content:space-between;padding:22px 25px 16px;gap:15px;border-bottom:1px solid #eff1e9}.dialog-head h2{font-size:18px}.dialog-head .eyebrow{font-size:8px;color:#abb69a;margin-bottom:7px}.dialog-body{padding:23px 25px}.dialog-body>.muted{font-size:12px;line-height:1.9;white-space:pre-line}.dialog-foot{display:flex;justify-content:flex-end;gap:10px;padding:0 25px 24px}.dialog-intro{font-size:12px;color:#8a9c75;line-height:1.9;margin-bottom:24px}.dialog-body form{margin:0}.dialog-form-error{color:var(--accent);font-size:11px;margin-top:15px;min-height:16px}.drawer{position:fixed;inset:0 0 0 auto;margin:0;width:min(490px,100vw);max-width:100vw;height:100dvh;max-height:100dvh;border:0;border-left:1px solid #dfe6d5;border-radius:0;box-shadow:-15px 0 70px #243b1a1c}.drawer .dialog-head{position:sticky;top:0;background:#fff;z-index:2;padding:24px 25px}.drawer .dialog-body{padding:24px 25px}.detail-hero{display:flex;align-items:center;gap:14px;margin-bottom:25px}.detail-hero .instance-symbol{height:48px;width:48px;border-radius:11px}.detail-hero strong{font:24px var(--mono);display:block;color:#5c7244}.detail-hero small{font-size:11px;color:#9bae84}.detail-hero .status-pill{margin-left:auto}.detail-grid{display:grid;grid-template-columns:1fr 1fr;gap:22px;margin-bottom:24px}.detail-grid label{font-size:10px;color:#9eaf8b;margin-bottom:5px}.detail-grid p{font-size:12px;overflow-wrap:anywhere}.detail-grid .span-two{grid-column:1/-1}.detail-address{padding:12px;background:#f6f8f1;border:1px solid #e7ecdf;border-radius:8px;display:flex;gap:10px;align-items:center;margin-bottom:23px}.detail-address span{flex:1;font:11px var(--mono);overflow-wrap:anywhere;color:#8a9d72;min-width:0}.detail-actions{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:28px}.detail-actions .button{flex:1;font-size:11px;min-height:39px}.log-heading{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:24px 0 12px}.log-heading h3{font-size:12px}.log-heading>span{font-size:9px;color:#a8b897}.log-output{background:#242a20;border:1px solid #3a4431;border-radius:8px;font:10px/1.8 var(--mono);padding:15px;color:#b3c6a0;white-space:pre-wrap;overflow:auto;min-height:190px;max-height:350px;word-break:break-all;margin:0}.detail-danger-zone{border-top:1px solid #edf1e6;margin-top:27px;padding-top:20px;display:flex;justify-content:space-between;align-items:center;gap:15px}.detail-danger-zone p{font-size:10px;color:#acb99c}.detail-danger-zone .button{font-size:10px;min-height:35px}.help-steps{list-style:none;padding:0;margin:0;counter-reset:steps}.help-steps li{display:flex;gap:15px;margin-bottom:24px}.help-steps li:before{counter-increment:steps;content:"0" counter(steps);font:12px var(--mono);color:#b1bea1;margin-top:3px}.help-steps h3{font-size:13px;margin-bottom:7px}.help-steps p{font-size:12px;color:#90a079;line-height:1.9}.help-note{background:#f6f8ef;border-radius:8px;padding:15px;font-size:11px;line-height:1.9;color:#91a176}.toast-region{position:fixed;bottom:28px;left:50%;transform:translateX(-50%);z-index:100;pointer-events:none;width:max-content;max-width:calc(100vw - 32px)}.toast{display:flex;gap:9px;align-items:center;background:#293323;color:#f0f4e9;padding:12px 18px;border-radius:8px;box-shadow:0 8px 35px #24351c35;font-size:12px;animation:toast-in .18s ease-out}.toast .icon{color:#bacda4;width:17px;height:17px}.toast.error .icon{color:#edb29a}.spinner{display:inline-block;flex:none;width:16px;height:16px;border:1.5px solid currentColor;border-right-color:transparent;border-radius:50%;animation:spin .7s linear infinite}.button .spinner{width:15px;height:15px}.busy-message{display:flex;align-items:center;gap:10px;color:#8b9e74;font-size:11px;padding:14px 0}.skeleton{background:#f0f4e9;border-radius:4px;color:transparent;min-width:50px}.mobile-scrim{display:none}@keyframes spin{to{transform:rotate(360deg)}}@keyframes toast-in{from{opacity:0;transform:translateY(7px)}to{opacity:1;transform:translateY(0)}}
@media(min-width:1500px){.workspace{margin-top:32px}.admin-content{padding:42px 48px}.admin-topbar{padding:0 48px}.connection-parameters{padding:32px}.invite-panel{padding:32px}}
@media(max-width:1200px){.entry-form-body{padding:28px}.admin-content{padding:28px}.admin-topbar{padding:0 28px}.sidebar{width:212px;padding:27px 16px 16px}.admin-main{margin-left:212px}.table-toolbar{padding:16px}.table-titlebar{padding:19px 16px 0}.stat-number{font-size:30px}.instance-name small{max-width:135px}.table-footer{padding-left:16px;padding-right:16px}.settings-grid{grid-template-columns:minmax(0,1.5fr) minmax(220px,1fr)}.login-story{padding:35px 40px}.admin-login-main{padding:35px 40px}}
@media(max-width:1000px){.customer-header{padding:24px 30px}.customer-footer{padding:22px 30px}.entry-form-body{padding:27px 23px}.entry-form-head,.entry-form-foot{padding-left:23px;padding-right:23px}.entry-form-body h2{font-size:23px}.entry-form-body .input-shell{padding:0 11px;gap:7px}.entry-form-body .input-shell input{font-size:10px}.entry-form-body .input-shell>.icon{width:15px;height:15px}.workspace{padding:0 30px 22px}.connection-grid{grid-template-columns:minmax(0,1.6fr) minmax(245px,1fr);gap:18px}.connection-parameters,.invite-panel{padding:23px}.section-heading h2{font-size:16px}.section-heading{gap:8px}.section-heading .button{font-size:10px}.connection-status-bar .status-description{display:none}.sidebar{width:190px;padding:24px 14px 15px}.admin-main{margin-left:190px}.sidebar>.brand{margin-left:4px;gap:9px}.sidebar .brand-name{font-size:14px}.workspace-switch{padding:8px;gap:6px}.workspace-switch>div>strong{font-size:9px}.workspace-switch>.icon{display:none}.admin-profile strong{font-size:9px}.admin-profile>.icon-button{min-width:25px}.admin-content{padding:25px 22px}.admin-topbar{padding:0 22px}.heading-actions{gap:7px}.heading-actions .button{padding:9px 12px;font-size:11px}.page-heading h1{font-size:26px}.page-heading p{font-size:11px}.desktop-column{display:none}.table-date{font-size:9px}.stat-number{font-size:28px}.table-toolbar{flex-wrap:wrap}.table-toolbar .search-box{max-width:none}.table-titlebar .muted{display:none}.settings-grid{grid-template-columns:1fr}.settings-side{display:grid;grid-template-columns:1fr 1fr}.login-story{padding:30px}.login-story-content h1{font-size:34px}.admin-login-main{padding:30px}.login-art{margin-left:0}}
@media(max-width:760px){.customer-header{padding:20px 24px}.customer-header nav{gap:17px}.header-caption{display:none}.entry-form-body{padding:27px 28px}.entry-form-body .input-shell input{font-size:11px}.entry-form-head,.entry-form-foot{padding-left:28px;padding-right:28px}.form-emblem{display:none}.entry-form-body h2{font-size:23px}.entry-form-body form{margin-top:25px}.customer-footer{padding:20px 24px;flex-direction:column;align-items:center;gap:7px;font-size:9px}.customer-page #main{min-height:calc(100dvh - 185px)}.workspace{padding:0 24px 12px;margin-top:18px}.breadcrumb{margin-bottom:20px}.workspace-heading h1{font-size:30px}.workspace-heading{align-items:flex-start;gap:15px;margin-bottom:24px}.workspace-heading .eyebrow{font-size:8px}.expiry-summary{min-width:160px;padding-left:17px}.expiry-summary strong{font-size:20px}.expiry-summary .label-caps{font-size:10px}.expiry-summary>span:last-child{font-size:9px}.connection-grid{grid-template-columns:1fr}.parameter-grid{grid-template-columns:1.5fr 1fr 1fr;gap:18px}.host-parameter{grid-column:auto}.parameter label{display:block}.parameter label>span{display:none}.parameter strong{font-size:17px}.parameter>div{padding:8px}.parameter .icon-button{min-width:26px;min-height:30px}.invite-panel{padding:25px;display:grid;grid-template-columns:1fr 1fr;gap:8px 25px}.invite-panel .section-index{grid-column:1/-1;margin:0 0 8px}.invite-panel h2{font-size:24px;margin-bottom:5px}.invite-panel>p{grid-column:1;grid-row:3;margin:0;font-size:11px}.invite-panel>p br{display:none}.invite-link{grid-column:2;grid-row:2;margin:0}.invite-panel>.button{grid-column:2;grid-row:3;margin-top:0;align-self:end}.invite-note{grid-column:2;margin-top:2px;font-size:8px}.invite-icon{display:none}.connection-guide ol{gap:15px}.connection-guide strong{font-size:10px}.connection-guide p{font-size:9px}.connection-guide li{gap:7px}.sidebar{width:232px;transform:translateX(-100%);transition:transform .2s}.sidebar.open{transform:translateX(0)}.admin-main{margin-left:0}.admin-topbar{height:62px;padding:0 22px}.admin-topbar>div{gap:11px}.mobile-nav-toggle{display:inline-flex}.admin-topbar .mobile-nav-toggle .icon{height:18px;width:18px;color:#758960}.mobile-scrim:not([hidden]){display:block;position:fixed;inset:0;background:#24311c70;border:0;z-index:39}.sidebar>.brand{margin-left:8px}.sidebar .brand-name{font-size:15px}.sidebar .workspace-switch strong{font-size:10px}.admin-profile strong{font-size:10px}.admin-topbar #today{display:none}.topbar-divider{display:none}.admin-content{padding:24px 22px}.page-heading{margin-bottom:23px}.page-heading h1{font-size:26px}.heading-actions .button{min-height:39px}.stat-number{font-size:29px}.table-toolbar{flex-wrap:nowrap}.table-toolbar .search-box{max-width:215px}.settings-grid{grid-template-columns:minmax(0,1.4fr) minmax(215px,1fr)}.settings-side{display:flex}.settings-form{padding:23px}.settings-form hr{margin-left:-23px;margin-right:-23px}.settings-capacity,.settings-note{padding:20px}.settings-form .input-action{flex-wrap:wrap;gap:2px}.settings-form .section-description{margin-left:0}.admin-login-page{grid-template-columns:1fr}.login-story{display:none}.admin-login-main{min-height:100dvh;padding:25px}.admin-login-form{max-width:370px;padding:50px 0}.admin-login-form>.eyebrow{font-size:10px}}
@media(max-width:540px){.brand-mark{width:44px;height:41px;font-size:22px}.brand-name{font-size:15px}.brand-name small{font-size:7px}.brand{gap:10px}.customer-header{padding:19px 20px}.customer-header nav{gap:14px}.customer-header .text-button{font-size:11px}.customer-header .text-button .icon{width:15px;height:15px}.is-active .customer-header .text-button[data-action="help"]{font-size:0;gap:0}.is-active .customer-header .text-button[data-action="help"]>.icon{height:19px;width:19px}.entry-form-body{padding:24px}.entry-form-head,.entry-form-foot{padding-left:24px;padding-right:24px}.entry-form-body h2{font-size:22px}.entry-form-body>.muted{font-size:11px}.entry-form-body .input-shell{padding:0 11px;gap:7px}.entry-form-body .input-shell input{font-size:10px;letter-spacing:-.35px}.entry-form-body .input-shell>.icon{width:14px;height:14px}.entry-note p{font-size:9px}.entry-form-body .field-hint{font-size:10px}.workspace{padding:0 20px 12px}.breadcrumb{font-size:10px;margin:0 0 22px}.workspace-heading{flex-direction:column;gap:19px}.workspace-heading h1{font-size:31px}.workspace-heading p{font-size:11px}.expiry-summary{border:0;padding:15px 0 0;border-top:1px solid var(--line);width:100%;display:grid;grid-template-columns:1fr auto;align-items:center;gap:3px 20px}.expiry-summary strong{grid-column:2;grid-row:1/3;font-size:22px}.expiry-summary>span:last-child{font-size:9px}.connection-status-bar{padding:12px 0;gap:12px;flex-wrap:wrap;margin-bottom:19px}.connection-status-bar>div{gap:13px}.connection-status-bar #line-id{font-size:10px}.status-actions .text-button,.action-menu>summary{font-size:10px}.status-actions{margin-left:auto;gap:13px!important}.status-pill{font-size:10px;padding:4px 7px}.connection-parameters{padding:21px}.section-heading h2{font-size:16px}.section-heading .section-index{font-size:10px}.connection-parameters>.muted{font-size:11px}.parameter-grid{grid-template-columns:1fr 1fr;gap:18px;margin-top:23px}.host-parameter{grid-column:1/-1}.parameter label{display:flex;font-size:10px}.parameter label>span{display:inline;font-size:8px}.parameter strong{font-size:20px}.parameter>div{padding:9px 11px}.parameter .icon-button{min-width:32px;min-height:32px}.soft-note{font-size:9px;padding:12px;gap:8px;margin-top:21px}.soft-note strong{font-size:10px}.invite-panel{display:flex;padding:24px}.invite-panel .section-index{margin:3px 0 11px}.invite-panel h2{font-size:25px;margin:0 0 3px}.invite-panel>p{margin-bottom:10px}.invite-panel>.button{margin-top:4px;align-self:auto}.invite-note{font-size:9px;margin-top:3px}.invite-icon{display:grid;width:33px;height:33px;right:22px;top:23px}.invite-link{margin-top:4px;width:100%;padding:0 12px}.invite-link input{font-size:10px;min-height:43px}.invite-panel .button{min-height:44px}.connection-guide{margin-top:25px}.connection-guide ol{grid-template-columns:1fr;gap:19px;margin-top:19px}.connection-guide li{gap:14px}.connection-guide strong{font-size:12px}.connection-guide p{font-size:10px;margin-top:3px}.guide-title h2{font-size:13px}.guide-title .text-button{font-size:9px}.customer-footer{padding-left:20px;padding-right:20px;font-size:8px}.admin-topbar{padding:0 15px}.admin-topbar .topbar-right .small{font-size:8px;letter-spacing:.6px}.admin-content{padding:23px 16px}.page-heading{align-items:flex-start;gap:15px;flex-wrap:wrap}.page-heading h1{font-size:27px;margin-bottom:7px}.page-heading p{font-size:11px}.page-heading .eyebrow{font-size:8px}.heading-actions{width:100%;justify-content:flex-start;gap:8px}.heading-actions .button{font-size:11px;min-height:39px;padding:9px 13px}.heading-actions .button.primary{margin-left:auto}.stat-number{font-size:27px;letter-spacing:-1px}.capacity-line{margin-top:14px}.table-titlebar{padding:17px 16px 0}.table-titlebar h2{font-size:14px}.table-toolbar{flex-direction:column;align-items:stretch;gap:12px;padding:14px 16px}.filter-tabs{align-self:flex-start}.filter-tab{font-size:10px;padding:5px 10px}.empty-cell{padding:35px 20px!important}.table-footer{font-size:8px;padding:13px 15px}.table-footer-right{gap:5px}.table-footer-right .text-button{font-size:9px}.table-callout{padding:15px;gap:11px;flex-wrap:wrap}.table-callout strong{font-size:11px}.table-callout p{font-size:9px}.table-callout .text-button{font-size:9px;margin-left:36px;padding:0;min-height:22px}.admin-footer{font-size:8px;gap:12px;margin-top:25px;align-items:flex-start}.admin-footer .footer-dot{padding:0 5px}.admin-footer #last-sync{white-space:nowrap}.card-code{font-size:11px;letter-spacing:-.3px}.card-table .table-subtext{max-width:none}.settings-grid{grid-template-columns:1fr}.settings-form{padding:21px}.settings-form .input-action{flex-wrap:nowrap;gap:10px}.settings-form .input-action .text-button{font-size:10px}.settings-side{display:grid;grid-template-columns:1fr}.settings-form hr{margin-left:-21px;margin-right:-21px}.settings-form .section-description{font-size:10px}.dialog-head{padding:19px 20px 15px}.dialog-body{padding:20px}.dialog-foot{padding:0 20px 20px}.dialog-head h2{font-size:17px}.drawer .dialog-head{padding:20px}.drawer .dialog-body{padding:20px}.detail-grid{gap:20px}.form-grid{gap:16px}.duration-options{gap:6px}.duration-option{font-size:10px}.dialog-foot .button{min-height:43px}.dialog-body .button{min-height:41px}.dialog-body .icon-button{min-height:36px}.form-grid .field-hint{font-size:10px}}
/* Headings receive focus after activation for screen readers, without a control outline. */
#connection-title:focus{outline:none}
/* Readable secondary text and comfortable control sizes at every viewport. */
.entry-form-body>.muted{font-size:13px}.entry-form-body .input-shell input{font-size:12px}.entry-form-body .field-hint{font-size:11px}.entry-note p{font-size:11px;color:#7c8370}.inline-help{font-size:12px}.entry-form-foot{font-size:9px}.customer-footer{font-size:11px}.customer-header .text-button{font-size:13px}.header-caption{font-size:12px}.entry-form-head{font-size:10px}.parameter label{font-size:12px}.connection-parameters>.muted{font-size:13px}.soft-note{font-size:12px;color:#737d64}.soft-note strong{font-size:12px}.invite-panel>p{font-size:13px;color:#80725d}.invite-note{font-size:11px;color:#85755c}.invite-link input{font-size:11px;color:#7b6c56}.workspace-heading p{font-size:13px}.connection-status-bar .status-description{font-size:11px;color:#7a8669}.connection-guide strong{font-size:13px}.connection-guide p{font-size:12px;color:#7d896b}.guide-title .text-button{font-size:11px}.expiry-summary>span:last-child{font-size:11px}.sidebar nav a{font-size:13px}.nav-caption{font-size:10px}.workspace-switch strong{font-size:11px}.workspace-switch small{font-size:10px}.sidebar-link{font-size:12px}.admin-profile strong{font-size:11px}.admin-profile small{font-size:10px}.admin-topbar{font-size:12px}.topbar-right{font-size:11px}.page-heading p{font-size:13px}.table-titlebar h2{font-size:16px}.table-titlebar .muted{font-size:11px;color:#8b987a}.filter-tab{font-size:12px}.instance-name strong{font-size:15px}.instance-name small{font-size:11px;color:#879775}.table-date{font-size:11px;color:#71805f}.table-subtext{font-size:10px;color:#8a9a77}.table-pin{font-size:13px;color:#72845b}.row-detail{font-size:11px;min-height:34px}.table-footer{font-size:10px;color:#879775}.table-callout strong{font-size:12px;color:#718459}.table-callout p{font-size:11px;color:#869970}.table-callout .text-button{font-size:11px}.card-code{font-size:11px}.admin-footer{font-size:10px;color:#8e9c7c}.settings-form .section-description,.settings-form .field-hint{font-size:12px;color:#7e9167}.settings-form label{font-size:12px}.settings-note p{font-size:12px;color:#809564}.settings-note h3{font-size:13px}.settings-capacity h3{font-size:14px}.capacity-legend{font-size:11px;color:#7d9461}.settings-form input{font-size:13px}.dialog-intro{font-size:13px;color:#7a8c64}.dialog-body label{font-size:12px}.detail-grid label{font-size:11px;color:#84976d}.detail-grid p{font-size:13px;color:#61764a}.detail-hero small{font-size:12px;color:#8b9d75}.detail-address span{font-size:12px;color:#6e8653}.detail-actions .button{font-size:12px}.log-output{font-size:11px}.help-steps p{font-size:13px;color:#7a8e62}.help-note{font-size:12px;color:#7d9065}.admin-login-form>.muted{font-size:13px}.login-help{font-size:12px}.admin-login-main footer{font-size:11px}
@media(max-width:760px){.connection-status-bar .status-description{display:none}.sidebar .workspace-switch strong{font-size:11px}.workspace-switch>.icon{display:none}.admin-profile strong{font-size:11px}.settings-grid{grid-template-columns:1fr}.settings-side{display:grid;grid-template-columns:1fr 1fr}.page-heading p{font-size:12px}.table-toolbar{flex-wrap:wrap}.table-toolbar .search-box{max-width:none}.topbar-right #today{display:none}.table-titlebar .muted{display:none}.customer-header nav{gap:18px}}
@media(max-width:540px){.entry-form-body>.muted{font-size:12px}.entry-form-body .input-shell input{font-size:10.5px}.entry-note p{font-size:10.5px}.inline-help{font-size:11px}.customer-header .text-button{font-size:12px}.is-active .customer-header .text-button[data-action="help"]{font-size:0}.entry-form-head{font-size:9px}.entry-form-foot{font-size:8px}.customer-footer{font-size:10px}.workspace-heading p{font-size:12px}.expiry-summary>span:last-child{font-size:10px}.parameter label{font-size:11px}.connection-parameters>.muted{font-size:12px}.soft-note{font-size:11px}.soft-note strong{font-size:11px}.invite-panel>p{font-size:12px}.connection-guide strong{font-size:12px}.connection-guide p{font-size:11px}.stat-number{font-size:28px}.filter-tab{font-size:11px;padding:5px 9px}.table-footer{font-size:10px}.table-footer-right{gap:4px}.table-titlebar h2{font-size:15px}.table-callout{display:none}.admin-footer{font-size:9px;flex-wrap:wrap}.settings-side{grid-template-columns:1fr}.settings-form .section-description,.settings-form .field-hint{font-size:11px}.settings-form label{font-size:12px}.settings-form .input-action{flex-wrap:wrap}.detail-grid p{font-size:12px}.dialog-body label{font-size:12px}.duration-option{font-size:11px}.card-code{font-size:11px}.admin-topbar .topbar-right{display:none}.connection-status-bar{gap:6px}.connection-status-bar>div{gap:9px}.status-actions{gap:8px!important}.status-actions .text-button,.action-menu>summary{font-size:10px}}
/* Shared image logo from the project root. */
.card-sections{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin-bottom:20px}.card-section{background:var(--surface,#fff);border:1px solid var(--line,#e4e7dd);border-radius:12px;padding:20px;text-align:left;color:inherit;display:grid;grid-template-columns:1fr auto;gap:10px;cursor:pointer}.card-section>span{display:flex;align-items:center;gap:10px}.card-section strong{font-size:15px}.card-section b{font-size:25px;line-height:1}.card-section small{grid-column:1/-1;color:#7a8370;font-size:12px}.card-section[aria-pressed="true"]{border-color:#ae3a38;background:#fff9f6;box-shadow:0 0 0 1px #ae3a3815}.card-section[aria-pressed="true"]>span{color:#9d302e}.card-plan-filters{display:flex;gap:7px;flex-wrap:wrap;margin-bottom:16px}.card-plan-filters .filter-tab{display:flex;gap:7px;align-items:center;border:1px solid var(--line,#e4e7dd);background:#fff}.card-plan-filters .filter-tab[aria-pressed="true"]{background:#252c28;color:#fff;border-color:#252c28}.card-plan-filters span{font-size:10px;opacity:.65}.bulk-toolbar{display:flex;align-items:center;gap:12px;flex-wrap:wrap;padding:12px 20px;background:#f8f9f5;border-top:1px solid var(--line,#e4e7dd);border-bottom:1px solid var(--line,#e4e7dd);font-size:12px}.bulk-toolbar .text-button{font-size:11px}.bulk-actions{display:flex;flex-wrap:wrap;gap:7px;margin-left:auto}.bulk-actions .button{min-height:33px;font-size:11px;padding:6px 10px}.check-label,.card-key-row{display:flex;gap:9px;align-items:center}.card-table input[type="checkbox"]{width:16px;height:16px;min-height:16px;padding:0;margin:0;flex:none;accent-color:#a93432;cursor:pointer}.card-key-row .card-code{overflow-wrap:anywhere;text-align:left;min-width:0}.card-plan-name{font-size:12px;font-weight:600}.field select{width:100%;min-height:44px;border:1px solid var(--line,#e4e7dd);border-radius:7px;background:#fff;padding:10px 12px;color:inherit;font:inherit}.duration-options{grid-template-columns:repeat(auto-fit,minmax(90px,1fr))}
@media(max-width:700px){.card-section{grid-template-columns:1fr;gap:4px}.card-section>span{gap:5px}}
@media(max-width:540px){.card-sections{gap:8px;margin-bottom:16px}.card-section{padding:15px 12px;gap:9px}.card-section strong{font-size:13px}.card-section b{font-size:23px}.card-section small{font-size:10px;line-height:1.6}.card-section .icon{width:16px;height:16px}.card-plan-filters{gap:6px}.card-plan-filters .filter-tab{padding:6px 9px;font-size:11px}.bulk-toolbar{padding:12px 16px;gap:9px}.bulk-actions{width:100%;margin-left:0}.card-key-row{gap:10px}.card-key-row .card-code{font-size:11px}.card-table .table-subtext{margin-left:26px}.card-table td:not(:first-child) .table-subtext{margin-left:0}.duration-options{grid-template-columns:repeat(2,1fr)}}
.brand .brand-logo{display:block;flex:none;width:48px;height:48px;object-fit:contain;background:#fff;border:1px solid #e2e3d9;border-radius:9px}
.sidebar .brand .brand-logo{width:42px;height:42px;border-color:#ffffff26}
@media(max-width:540px){.customer-header .brand .brand-logo{width:42px;height:42px}}
/* Compact, single-purpose login screens. */
.customer-page:not(.is-active),body.admin-login-page{display:flex;flex-direction:column;min-height:100vh;min-height:100dvh}
.customer-page:not(.is-active)>.customer-header,body.admin-login-page>.customer-header{width:100%;flex:none}
.customer-page:not(.is-active) .header-caption,.customer-page:not(.is-active) .brand-name small{display:none}
.customer-page:not(.is-active) #main{min-height:0;flex:1;display:flex;align-items:center;justify-content:center;padding:32px 24px 56px}

body.admin-login-page h1{font-size:25px;letter-spacing:-.6px;line-height:1.4;margin:0 0 10px}body.admin-login-page .admin-login-form>.muted{font-size:13px;line-height:1.8;margin:0}

body.admin-login-page .button.primary{justify-content:center;min-height:46px;font-size:14px}

.customer-page:not(.is-active) .customer-header [data-action="help"]{display:none}

.login-timing-note{font-size:11px;line-height:1.8;color:var(--muted);text-align:center;margin-top:14px}

.customer-page:not(.is-active)>.customer-footer{width:100%;padding-top:16px;padding-bottom:22px;font-size:10px}
.customer-page:not(.is-active)>.customer-footer>span:last-child{display:none}
body.admin-login-page .admin-login-main{flex:1;min-height:0;display:flex;align-items:center;justify-content:center;padding:32px 24px 56px}
body.admin-login-page .admin-login-form{max-width:420px;width:100%;padding:34px;margin:0;background:#fff;border:1px solid var(--line);border-radius:12px;box-shadow:0 8px 32px #23261f06}
body.admin-login-page .admin-login-form form{margin-top:28px}
body.admin-login-page .admin-login-form label{margin-top:20px}
body.admin-login-page .admin-login-form label:first-child{margin-top:0}
body.admin-login-page .admin-login-form .form-message{margin:0;min-height:0}
body.admin-login-page .admin-login-form .form-message:not(:empty){margin:12px 0}
body.admin-login-page .admin-login-form .button.primary{margin-top:25px}
.simple-login-footer{text-align:center;padding:16px 24px 24px;color:var(--muted);font-size:10px}
@media(max-width:540px){
  .customer-page:not(.is-active) #main,body.admin-login-page .admin-login-main{padding:20px 20px 42px}body.admin-login-page .admin-login-form{padding:27px 23px}body.admin-login-page h1{font-size:23px}body.admin-login-page .admin-login-form>.muted{font-size:12px}

  body.admin-login-page .customer-header .text-button{font-size:11px}
  .customer-page:not(.is-active) .customer-footer{font-size:9px;text-align:center}
}
/* Keep each login field as one control, including its focus ring. */
.input-shell{min-height:54px;border-color:#e0e2d9;border-radius:10px;background:#fafbf8;padding:0 14px;gap:11px;box-shadow:0 1px 2px #252d2903;transition:border-color .16s,box-shadow .16s,background .16s}
.input-shell:hover{border-color:#c9cebf;background:#fff}
.input-shell:focus-within{border-color:#bd6a55;background:#fff;box-shadow:0 0 0 3px #c34b3714}
.input-shell>input,.input-shell>input:focus,.input-shell>input:focus-visible{flex:1;width:0;min-width:0;border:0;border-radius:0;outline:none;box-shadow:none;background:transparent;min-height:52px;padding:14px 0;line-height:1.5}
.input-shell>.icon{width:18px;height:18px;color:#929b87;transition:color .16s}
.input-shell:focus-within>.icon{color:#b5624c}
.input-shell>.icon-button{width:34px;min-width:34px;min-height:34px;margin-right:-5px;color:#8b9481;border-radius:7px}
.input-shell>.icon-button:hover{background:#eef0e8;color:#525f47}
.input-shell:has(input[aria-invalid="true"]){border-color:var(--accent);background:#fffaf7}
.input-shell:has(input[aria-invalid="true"]):focus-within{box-shadow:0 0 0 3px #c34b3714}
body.admin-login-page .input-shell input{font-size:14px;letter-spacing:0}
body.admin-login-page .input-shell input::placeholder{font-size:13px;color:#a1a797}
.input-shell input:-webkit-autofill{-webkit-box-shadow:0 0 0 1000px #fafbf8 inset;-webkit-text-fill-color:var(--ink)}
.input-shell input:-webkit-autofill:focus{-webkit-box-shadow:0 0 0 1000px #fff inset}
@media(max-width:540px){body.admin-login-page .input-shell input{font-size:16px}.input-shell{border-radius:9px}}

/* Customer connection workspace */
.customer-page.is-active{background:#f5f4f0;color:#282b28}
.customer-page.is-active .customer-header{max-width:1240px;width:100%;margin:auto;padding:25px 44px 22px;border:0}
.customer-page.is-active .brand-name{color:#292c28}.customer-page.is-active .brand-name small{color:#8d9189;letter-spacing:1.8px}
.customer-page.is-active .customer-header nav{gap:23px}.customer-page.is-active .header-caption{display:none}
.customer-page.is-active .customer-header .text-button{font-size:12px;color:#73776f}
.customer-page.is-active .customer-header [data-action="switch"]{border:1px solid #dedfd7;border-radius:7px;padding:7px 12px;background:#fafaf7}
.customer-page.is-active .customer-footer{max-width:1240px;width:100%;margin:0 auto;padding:24px 44px 28px;border-top:1px solid #e2e3dc;font-size:10px;color:#82867d}
.workspace.connection-workspace{max-width:1240px;padding:0 44px 40px;margin:10px auto 0}
.connection-topline{display:flex;justify-content:space-between;align-items:center;margin-bottom:17px;color:#7d8179;font-size:11px}
.connection-topline>span:first-child{display:flex;align-items:center;gap:8px;color:#4e554a}.connection-topline .tiny-square{width:4px;height:4px;border-radius:1px}
.connection-topline-note{font-size:10px;letter-spacing:1px;color:#96998e}
.connection-hero{position:relative;isolation:isolate;overflow:hidden;background:#252d29;border:1px solid #303933;border-radius:18px;padding:34px 38px 32px;display:grid;grid-template-columns:minmax(0,1fr) minmax(255px,.57fr);gap:35px;min-height:260px;color:#f5f4ed;box-shadow:0 14px 35px #27362c0a}
.connection-hero-content{position:relative;z-index:1}.connection-hero-meta{display:flex;align-items:center;gap:16px;margin-bottom:21px}
.connection-hero-meta>.mono{font-size:10px;letter-spacing:1.4px;color:#b1beb2}
.connection-hero .status-pill{border:1px solid #6c92755c;background:#83b38f14;color:#c0dfc4;border-radius:30px;padding:4px 10px;font-size:10px}
.connection-hero .status-pill.neutral{color:#d1d4c8;border-color:#a7afa337;background:#b0baa10d}.connection-hero .status-pill.warning{color:#ead0a4;border-color:#e1bb633b;background:#dcc58810}.connection-hero .status-pill.expired{color:#ffbea8;border-color:#d58b6a5c;background:#eaa18210}
.connection-hero h1{font-size:36px;font-weight:500;letter-spacing:-1.1px;line-height:1.4;margin-bottom:10px}.connection-hero-content>p{color:#b7c1b6;font-size:13px;line-height:1.8;max-width:450px}
.hero-connection-note{display:flex;align-items:center;gap:8px;color:#89998a;font-size:10px;margin-top:26px}.hero-connection-note>.icon{width:14px;height:14px}
.connection-validity{align-self:center;position:relative;z-index:1;border-left:1px solid #e5ead21e;padding:14px 0 14px 31px;display:flex;flex-direction:column;gap:10px;min-width:0}
.validity-label{display:flex;align-items:center;gap:7px;font-size:11px;color:#b6c3b5}.validity-label .icon{width:14px;height:14px}
.connection-validity>strong{font-family:var(--mono),var(--font);font-size:30px;font-weight:400;letter-spacing:-1px;line-height:1.5;color:#f1f2e8;overflow-wrap:anywhere}.connection-validity>#exphint{font-size:10px;color:#b0bcae;font-family:var(--mono);line-height:1.8}.validity-footnote{font-size:9px;color:#8b9b89;margin-top:4px}
.hero-orbit{position:absolute;z-index:-1;width:420px;height:420px;top:-212px;right:95px;border:1px solid #c6d7bf12;border-radius:50%;transform:rotate(-24deg);pointer-events:none}
.hero-orbit>span{position:absolute;border:1px solid #c6d7bf10;border-radius:50%;inset:45px}.hero-orbit>span:nth-child(2){inset:90px}.hero-orbit>span:nth-child(3){inset:135px;background:#afc3a304}.hero-orbit>i{position:absolute;bottom:54px;right:35px;height:9px;width:9px;border-radius:50%;background:#ca725a;box-shadow:0 0 0 7px #d8896312}.hero-orbit>b{position:absolute;bottom:115px;left:100px;height:5px;width:5px;border-radius:50%;background:#a8bea0;box-shadow:0 0 0 5px #9db39510}
.connection-health{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:12px 5px 17px;min-height:58px}.connection-health>span{display:flex;align-items:center;gap:8px;color:#858c80;font-size:10px;min-width:0}.connection-health #checked{overflow-wrap:anywhere}.health-dot{width:5px;height:5px;background:#a0ac9b;border-radius:50%;flex:none}.is-active[data-connection-state="online"] .health-dot{background:#64916e}.connection-health .text-button{font-size:11px;color:#6d7868;min-height:32px;padding:4px 0}.connection-health .icon{width:14px;height:14px}
.connection-board{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(285px,1fr);gap:20px;align-items:stretch}
.credentials-card,.team-card{border:1px solid #e1e3da;border-radius:15px;min-width:0;overflow:hidden}
.credentials-card{background:#fff;padding:28px 30px 23px}.connection-card-heading{display:flex;justify-content:space-between;align-items:center;gap:18px}
.connection-section-label{display:block;font-size:9px;letter-spacing:1.3px;color:#8b9284;margin-bottom:9px}.connection-card-heading h2{font-size:23px;font-weight:500;letter-spacing:-.6px;line-height:1.5}.connection-card-symbol{width:40px;height:40px;border:1px solid #e8ebe1;background:#f7f8f3;border-radius:10px;display:grid;place-items:center;flex:none;color:#849277}.connection-card-symbol>.icon{width:19px;height:19px}
.connection-card-description{font-size:11px;line-height:1.9;color:#8c9286;margin-top:9px}
.credentials-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:23px 0 18px}.credential{background:#f7f8f4;border:1px solid #edefe5;border-radius:9px;padding:14px 16px;min-width:0}.credential-host,.credential-room{grid-column:1/-1}
.credential-label{display:flex;justify-content:space-between;gap:8px;align-items:center;color:#7c8474;font-size:11px}.credential-label>span{font:8px var(--mono);color:#a2aa98;letter-spacing:1px}
.credential>div{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:6px;min-width:0}.credential strong{font-size:25px;font-weight:400;line-height:1.5;color:#364133;letter-spacing:-.8px;overflow-wrap:anywhere;min-width:0}.credential-host strong{font-size:24px;letter-spacing:-.5px}.credential .icon-button{width:30px;min-width:30px;min-height:32px;color:#8a977f}.credential .icon{width:15px;height:15px}
.credential-actions{display:flex;gap:10px}.credential-actions .button{flex:1;min-height:44px;font-size:12px}.credential-actions .button>.icon{width:16px;height:16px}
.credential-actions .button[aria-disabled="true"]{pointer-events:none;opacity:.55;cursor:not-allowed}
.room-code-note{display:flex;align-items:flex-start;gap:9px;margin-top:22px;padding-top:17px;border-top:1px solid #eff0e9;color:#8a9280;font-size:10px;line-height:1.8}.room-code-note>.icon{width:14px;height:14px;margin-top:3px;color:#a2ac93}.room-code-note strong{display:block;color:#707d64;font-size:11px;font-weight:500;margin-bottom:3px}
.team-card{background:#eeece3;display:flex;flex-direction:column;padding:27px 28px 22px;border-color:#e3dfd2;position:relative}.team-card-top{display:flex;align-items:center;justify-content:space-between;gap:10px}.team-card-top .connection-section-label{margin:0;color:#948b77}.team-avatar-stack{display:flex;align-items:center;padding-left:8px}.team-avatar-stack>.icon,.team-avatar-stack>span{display:block;width:28px;height:28px;margin-left:-8px;padding:6px;border:2px solid #eeece3;background:#d8dacc;border-radius:50%;color:#7a866c}.team-avatar-stack>.icon:nth-child(2){background:#e2c9b8;color:#a07860}.team-avatar-stack>span{display:grid;place-items:center;font-size:12px;background:#f9f7ef;color:#9c9d89;padding:0}
.team-card-story{margin:22px 0 25px;position:relative}.team-card-rule{width:25px;height:2px;display:block;background:#b56b53;margin-bottom:13px}.team-card h2{font-size:30px;letter-spacing:-1px;font-weight:500;line-height:1.45;color:#454936}.team-card-story>p{font-size:11px;color:#8d8c78;line-height:1.9;margin-top:12px}
.team-card>label{font-size:10px;color:#8e8d76;font-weight:400;margin:auto 0 8px}.team-link{display:flex;align-items:center;gap:9px;padding:0 11px;background:#ffffff8a;border:1px solid #dddccf;border-radius:7px;min-width:0}.team-link>.icon{width:15px;height:15px;color:#9a9e87}.team-link input{font:10px var(--mono);border:0;background:transparent;padding:12px 0;min-height:42px;color:#848a73;box-shadow:none}.team-link:focus-within{outline:2px solid #c34b3760;outline-offset:2px}.team-card>.button{margin-top:10px;background:#343e30;border-color:#343e30;min-height:44px;font-size:12px;justify-content:space-between;padding-left:17px;padding-right:15px}.team-card>.button:hover{background:#46523f}.team-card>.button .icon{width:17px;height:17px}.team-card-hint{display:flex;align-items:center;justify-content:center;gap:5px;font-size:9px;color:#8d917a;margin-top:12px}.team-card-hint .icon{width:12px;height:12px}
.connection-controls{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:21px 3px 24px;border-bottom:1px solid #e1e4da;margin-bottom:25px}.connection-controls h2{font-size:12px;font-weight:500;color:#636f5c}.connection-controls p{font-size:10px;color:#969d8c;margin-top:4px}.connection-control-actions{display:flex;gap:9px;align-items:center}.connection-control-actions>.button{font-size:11px;min-height:35px;background:transparent;border-color:#dde1d5;padding:6px 11px}.connection-control-actions .icon{width:14px;height:14px}.connection-control-actions>.text-button{font-size:10px;margin-left:7px;min-height:35px}
.onboarding-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:13px}.onboarding-heading h2{font-size:13px;font-weight:500;color:#6b775f}.onboarding-heading .text-button{font-size:10px;color:#929a86;min-height:30px}.onboarding-heading .icon{width:13px;height:13px}
.onboarding-guide ol{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;list-style:none;padding:0;margin:0}.onboarding-guide li{display:flex;gap:12px;align-items:flex-start;padding:17px 16px;background:#f9f9f5;border:1px solid #e5e7de;border-radius:10px;min-width:0}.onboarding-number{font:10px var(--mono);color:#b6bdab;margin-top:3px}.onboarding-guide strong{font-size:11px;font-weight:500;color:#758367}.onboarding-guide p{font-size:10px;line-height:1.8;color:#9ba58e;margin-top:5px}.onboarding-guide li>.icon{width:16px;height:16px;margin:1px 0 0 auto;color:#b5bea7}
.connection-hero[data-state="expired"]{background:#392e29;border-color:#46362f}.connection-hero[data-state="expired"] .connection-validity>strong{color:#f5b397}
@media(max-width:1000px){.customer-page.is-active .customer-header{padding:23px 30px}.workspace.connection-workspace{padding:0 30px 32px}.customer-page.is-active .customer-footer{padding:22px 30px}.connection-hero{padding:30px;grid-template-columns:minmax(0,1fr) minmax(220px,.65fr);gap:20px;min-height:245px}.connection-hero h1{font-size:31px}.connection-validity{padding-left:23px}.connection-validity>strong{font-size:26px}.connection-board{grid-template-columns:minmax(0,1.35fr) minmax(260px,1fr);gap:16px}.credentials-card{padding:24px 23px 21px}.connection-card-heading h2{font-size:20px}.team-card{padding:24px 23px 21px}.credential{padding:12px}.credential strong{font-size:23px}.credential-host strong{font-size:21px}.team-card h2{font-size:27px}.onboarding-guide li{padding:15px 12px;gap:9px}.onboarding-guide li>.icon{display:none}}
@media(max-width:760px){.connection-board{grid-template-columns:1fr}.connection-hero{grid-template-columns:minmax(0,1fr) minmax(195px,.8fr);padding:27px;min-height:230px}.connection-hero-meta{gap:11px;margin-bottom:19px}.connection-hero h1{font-size:28px}.connection-hero-content>p{font-size:12px}.connection-validity{padding-left:20px}.connection-validity>strong{font-size:24px}.connection-validity>#exphint{font-size:9px}.validity-footnote{font-size:8px}.hero-connection-note{font-size:9px}.team-card{display:grid;grid-template-columns:1fr 1fr;column-gap:25px;row-gap:10px}.team-card-top{grid-column:1/-1}.team-card-story{grid-column:1;grid-row:2/6;margin:12px 0 4px}.team-card h2{font-size:27px}.team-card-story>p{font-size:11px}.team-card>label{grid-column:2;align-self:end;margin:8px 0 0}.team-link{grid-column:2;align-self:start}.team-card>.button{grid-column:2;margin-top:0;align-self:start}.team-card-hint{grid-column:2;font-size:8px;margin-top:0;align-self:start}.onboarding-guide ol{gap:9px}.onboarding-guide p{font-size:9px}.onboarding-guide strong{font-size:10px}}
@media(max-width:540px){.customer-page.is-active .customer-header{padding:18px 20px}.customer-page.is-active .brand-name{font-size:14px}.customer-page.is-active .brand-name small{font-size:6px;letter-spacing:1px}.customer-page.is-active .customer-header nav{gap:12px}.customer-page.is-active .customer-header [data-action="help"]{font-size:0}.customer-page.is-active .customer-header [data-action="switch"]{font-size:10px;padding:5px 8px;gap:5px;min-height:33px}.customer-page.is-active .customer-header [data-action="switch"] .icon{width:13px;height:13px}.workspace.connection-workspace{padding:0 20px 27px;margin-top:8px}.connection-topline{font-size:10px;margin-bottom:13px}.connection-topline-note{font-size:8px;letter-spacing:0}.connection-hero{grid-template-columns:1fr;padding:24px;border-radius:14px;gap:23px;min-height:0}.connection-hero-meta{margin-bottom:20px;justify-content:space-between}.connection-hero-meta>.mono{font-size:9px}.connection-hero h1{font-size:30px;margin-bottom:7px}.connection-hero-content>p{font-size:11px;line-height:1.8}.hero-connection-note{display:none}.connection-validity{border-left:0;border-top:1px solid #dfe8ce22;padding:19px 0 0;gap:7px;display:grid;grid-template-columns:1fr auto;align-items:center}.validity-label{font-size:10px}.connection-validity>strong{grid-column:2;grid-row:1/3;font-size:23px;letter-spacing:-.8px}.connection-validity>#exphint{font-size:8px;max-width:165px;line-height:1.8}.validity-footnote{grid-column:1/-1;font-size:8px;margin-top:3px}.hero-orbit{width:350px;height:350px;right:-103px;top:-220px}.connection-health{gap:12px;padding:10px 2px 15px;min-height:58px;align-items:center}.connection-health>span{font-size:8px;line-height:1.8;gap:6px;flex:1}.connection-health .text-button{font-size:10px;white-space:nowrap;flex:none}.connection-health .icon{width:12px;height:12px}.connection-board{gap:15px}.credentials-card{padding:23px 21px 20px;border-radius:12px}.connection-section-label{font-size:8px;margin-bottom:8px;letter-spacing:1px}.connection-card-heading h2{font-size:21px}.connection-card-symbol{width:34px;height:34px;border-radius:8px}.connection-card-symbol>.icon{width:16px;height:16px}.connection-card-description{font-size:10px;margin-top:9px}.credentials-grid{margin:20px 0 16px;gap:10px}.credential{padding:12px;border-radius:8px}.credential-label{font-size:10px}.credential-label>span{font-size:7px}.credential strong{font-size:23px}.credential-host strong{font-size:21px}.credential .icon-button{width:26px;min-width:26px;min-height:30px}.credential .icon{width:13px;height:13px}.credential-actions{gap:9px}.credential-actions .button{font-size:11px;min-height:43px;padding:8px 10px;gap:6px}.credential-actions .icon{width:14px;height:14px}.room-code-note{margin-top:20px;padding-top:15px;font-size:9px}.room-code-note strong{font-size:10px}.team-card{display:flex;padding:23px 23px 20px;border-radius:12px;gap:0}.team-avatar-stack>.icon,.team-avatar-stack>span{height:26px;width:26px}.team-card-story{margin:21px 0 23px;display:grid;grid-template-columns:1fr 1fr;gap:0 14px;align-items:end}.team-card-rule{grid-column:1/-1;margin-bottom:12px;width:22px}.team-card h2{font-size:27px;line-height:1.5;letter-spacing:-.7px}.team-card-story>p{font-size:10px;margin:0 0 4px;line-height:1.9}.team-card>label{font-size:9px;margin:0 0 8px}.team-link input{font-size:10px;min-height:42px}.team-card>.button{margin-top:10px;font-size:11px;min-height:43px}.team-card-hint{margin-top:12px;font-size:8px}.connection-controls{padding:20px 1px 22px;margin-bottom:22px;flex-direction:column;align-items:stretch;gap:15px}.connection-controls>div:first-child{display:flex;align-items:center;justify-content:space-between;gap:12px}.connection-controls h2{font-size:11px;white-space:nowrap}.connection-controls p{margin:0;font-size:9px}.connection-control-actions{gap:8px}.connection-control-actions>.button{flex:1;font-size:10px;min-height:37px;padding:7px 8px;gap:6px}.connection-control-actions>.text-button{font-size:9px;margin-left:3px;gap:5px}.connection-control-actions .icon{width:13px;height:13px}.onboarding-heading{gap:8px;margin-bottom:14px}.onboarding-heading h2{font-size:12px}.onboarding-heading .text-button{font-size:9px;gap:4px}.onboarding-guide ol{grid-template-columns:1fr;gap:8px}.onboarding-guide li{padding:15px;gap:13px;align-items:center}.onboarding-number{margin-top:0;font-size:10px}.onboarding-guide strong{font-size:11px}.onboarding-guide p{font-size:10px;margin-top:3px}.onboarding-guide li>.icon{display:block;margin-top:0;width:18px;height:18px}.customer-page.is-active .customer-footer{padding:21px 20px 24px;font-size:8px;gap:8px}}
@media(max-width:360px){.workspace.connection-workspace{padding-left:16px;padding-right:16px}.connection-hero{padding:21px}.connection-validity{grid-template-columns:1fr}.connection-validity>strong{grid-column:1;grid-row:2;font-size:28px}.connection-validity>#exphint{max-width:none}.credentials-card{padding:20px 17px}.credential{padding:10px}.credential strong{font-size:21px}.credential-host strong{font-size:20px}.credential-label>span{display:none}.team-card{padding:21px 19px}.team-card h2{font-size:25px}.team-card-story{column-gap:9px}.team-card-story>p{font-size:9px}.connection-topline-note{font-size:7px}.connection-controls p{font-size:8px}}
@media(max-width:540px){.team-card>.team-link{align-self:stretch;width:100%}.team-card>label,.team-card>.button,.team-card>.team-card-hint{align-self:stretch}.connection-health>span{font-size:9px}.connection-card-description{font-size:11px}.room-code-note{font-size:10px}.team-card-story>p{font-size:11px}.team-card>label{font-size:10px}.team-card-hint{font-size:9px}.connection-validity>#exphint{font-size:9px}.validity-footnote{font-size:9px}}
.connection-hero .hero-controls{grid-column:1/-1;display:flex;align-items:center;justify-content:space-between;gap:18px;position:relative;z-index:1;border-top:1px solid #dfe8ce22;padding-top:20px;margin-top:-10px;min-width:0}.hero-status-note{display:flex;align-items:center;gap:8px;min-width:0;color:#a9b7a6;font-size:10px;line-height:1.8}.hero-status-note #checked{overflow-wrap:anywhere}.hero-status-note .health-dot{background:#a3b19e}.hero-control-actions{display:flex;flex-wrap:wrap;gap:8px;flex:none}.hero-control-actions .button{background:#f3f5e908;border:1px solid #c4d2b934;color:#d9e2d1;min-height:38px;padding:8px 12px;font-size:11px;gap:7px}.hero-control-actions .button:hover{background:#dce8d017;border-color:#c4d2b963}.hero-control-actions .icon{width:14px;height:14px}.hero-control-actions .hero-stop-button{color:#e7ae99;border-color:#c78e743d}.hero-control-actions .hero-stop-button:hover{background:#bb745219;border-color:#c78e7473}.connection-workspace .connection-board{margin-top:21px}.connection-workspace .onboarding-guide{margin-top:27px;padding-top:23px;border-top:1px solid #e1e4da}
@media(max-width:1000px){.connection-hero .hero-controls{flex-direction:column;align-items:stretch;gap:13px;margin-top:0}.hero-control-actions .button{min-height:39px;flex:1}}
@media(max-width:540px){.connection-hero .hero-controls{padding-top:18px;gap:13px;margin-top:-4px}.hero-status-note{font-size:9px}.hero-control-actions{display:grid;grid-template-columns:1fr 1fr;gap:9px}.hero-control-actions .button{min-height:41px;font-size:11px;padding:9px}.hero-control-actions .icon{width:14px;height:14px}.connection-workspace .connection-board{margin-top:17px}.connection-workspace .onboarding-guide{margin-top:23px;padding-top:20px}}
html:has(body.customer-page){scrollbar-gutter:stable}
/* Feedback animates composited properties only; it never delays an API result. */
.customer-page .entry-form-wrap{position:relative}
.customer-page .load-track{position:absolute;top:0;left:0;right:0;height:2px;overflow:hidden;opacity:0;pointer-events:none;z-index:3}
.customer-page .load-track:after{content:"";display:block;width:38%;height:100%;background:linear-gradient(90deg,transparent,#c88762,#d6c6a4,transparent);transform:translateX(-110%)}
.customer-page .is-pending>.load-track{opacity:1}
.customer-page .is-pending>.load-track:after{animation:request-sweep 1.6s cubic-bezier(.4,0,.2,1) infinite}
.customer-page .entry-form-wrap>.load-track{height:3px;background:var(--line)}
.customer-page .entry-form-wrap>.load-track::after{width:34%;border-radius:3px;background:var(--accent)}
.customer-page .entry-form-wrap.is-pending>.load-track::after{animation:entry-loading 1.25s ease-in-out infinite}
.customer-page .is-syncing .health-dot{animation:status-breathe 1.8s ease-in-out infinite}
.customer-page .button[aria-busy="true"]{cursor:progress}
@keyframes entry-loading{from{transform:translateX(-102%)}to{transform:translateX(300%)}}
@keyframes request-sweep{to{transform:translateX(365%)}}
@keyframes status-breathe{50%{opacity:.35}}
@media(prefers-reduced-motion:reduce){.customer-page .is-pending>.load-track:after,.customer-page .entry-form-wrap.is-pending>.load-track::after{transform:none;width:100%}}
/* Batch time compensation */
.dialog.time-dialog{width:min(850px,calc(100vw - 32px))}.time-presets{display:flex;gap:8px;flex-wrap:wrap;margin:18px 0}.time-statuses{border:1px solid var(--line);border-radius:9px;padding:14px 16px;margin:0}.time-statuses legend{font-size:12px;padding:0 6px}.time-statuses label{display:flex;align-items:center;gap:10px;font-weight:400;font-size:12px;min-height:32px;margin:0}.time-statuses input{width:16px;height:16px;min-height:16px;margin:0;accent-color:var(--accent)}.time-reason{margin:20px 0}.time-preview{margin-top:24px;padding-top:22px;border-top:1px solid var(--line)}.time-preview>h3{margin-bottom:8px}.time-preview>p{line-height:1.9}.time-summary{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin:18px 0}.time-summary>span{padding:12px;background:#f5f7ef;border:1px solid var(--line);border-radius:8px;color:var(--muted);font-size:11px}.time-summary strong{display:block;color:var(--ink);font-size:20px;margin-top:4px}.time-samples{margin:18px 0;border:1px solid var(--line);border-radius:8px;max-height:360px;overflow:auto}.time-samples .mono{font-size:10px}.time-complete{display:flex;flex-direction:column;align-items:flex-start;gap:12px;padding:4px 0}.time-complete>.icon{color:var(--green);width:32px;height:32px}.time-complete p{font-size:12px;color:var(--muted)}.time-history-list article{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:16px 0;border-bottom:1px solid var(--line)}.time-history-list strong{font-size:13px}.time-history-list p{font-size:12px;margin:5px 0;overflow-wrap:anywhere}.time-history-list small{font-size:10px;color:var(--muted)}
@media(max-width:540px){.time-dialog .form-grid{grid-template-columns:1fr 1fr}.time-summary{gap:7px}.time-summary>span{padding:10px}.time-summary strong{font-size:17px}.time-statuses{padding:12px}.time-statuses label{font-size:11px}.time-history-list article{align-items:flex-start}.time-dialog .button-row{gap:8px}}
body[data-page="cards"] .page-heading{flex-wrap:wrap}
body[data-page="cards"] .heading-actions{flex-wrap:wrap}
@media(max-width:540px){body[data-page="cards"] .heading-actions{display:grid;grid-template-columns:1fr 1fr}body[data-page="cards"] .heading-actions>.button,body[data-page="cards"] .heading-actions .action-menu>summary{width:100%;margin:0;justify-content:center}body[data-page="cards"] .heading-actions .button.primary{margin-left:0}}
/* The signed-in workspace ends after the credentials and invitation cards. */
.customer-page.is-active>.customer-footer{display:none}

.engine-label{font-size:10px;line-height:1.6;padding:3px 9px;border:1px solid #c4d2b934;border-radius:5px;color:#d0ddc6;white-space:nowrap}
.connection-hero-meta{flex-wrap:wrap}
.radar-version-option{display:flex;align-items:center;gap:13px;padding:16px;border:1px solid var(--line);border-radius:9px;margin:0 0 12px;background:var(--surface);cursor:pointer}
.radar-version-option:has(input:checked){border-color:var(--accent)}
.radar-version-option input{width:16px;height:16px;min-height:0;flex:none;margin:0;padding:0;accent-color:var(--accent)}
.radar-version-option strong{font-size:15px;display:block;color:var(--ink)}
.radar-version-option small{display:block;margin-top:5px;font-size:11px;color:var(--muted);line-height:1.7}
.line-region{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin-top:16px;color:#d0ddc6;font-size:12px}
.line-region .button{background:transparent;border-color:#c4d2b934;color:#d0ddc6}
.node-table td,.node-table th{overflow-wrap:anywhere}
.admin-category-nav{display:flex;gap:16px;margin:0 0 20px;border-bottom:1px solid var(--line)}
.admin-category-nav a{display:flex;min-width:0;min-height:44px;align-items:center;gap:8px;padding:8px 12px;border-bottom:2px solid transparent;color:#52584e;font-size:13px;overflow-wrap:anywhere}
.admin-category-nav a:hover{background:var(--surface);color:var(--ink)}
.admin-category-nav a[aria-current="page"]{border-color:var(--accent);color:var(--ink);font-weight:600}
.admin-category-nav .icon{width:16px;height:16px}
@media(max-width:460px){.admin-category-nav{gap:4px}.admin-category-nav a{flex:1;justify-content:center;padding-inline:8px}}
.studio-surface{border-radius:8px}
.studio-toolbar{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:12px;padding:16px}
.studio-filters,#studio-search-form{display:flex;align-items:center;gap:8px;min-width:0}
.studio-filters{flex-wrap:wrap}
.studio-filter{display:inline-flex;align-items:center;min-height:36px;gap:6px;letter-spacing:0}
.studio-filter span{color:var(--muted);font-variant-numeric:tabular-nums}
#studio-search-form{flex:1 1 245px;max-width:320px}
#studio-search-form .search-box{min-width:0;flex:1}

.studio-bulk label{display:flex;align-items:center;gap:8px;margin:0;font-size:12px}
.studio-bulk input,.studio-key input{width:16px;height:16px;min-height:0;margin:0;padding:0;accent-color:var(--accent);vertical-align:middle}
.studio-key{display:grid;grid-template-columns:16px minmax(0,1fr);align-items:start;gap:8px;min-width:0}
.studio-card-number{display:inline-block;max-width:100%;padding:0;border:0;background:transparent;color:var(--ink);font-size:12px;text-align:left;overflow-wrap:anywhere;user-select:none;cursor:copy}
.studio-card-number:hover{color:var(--accent);text-decoration:underline;text-underline-offset:3px}
.users-surface .studio-toolbar{align-items:center;justify-content:flex-start}
.user-filters,.user-row-controls,.user-time-presets{display:flex;align-items:center;flex-wrap:wrap;gap:8px;min-width:0}
.user-resource{border:0;background:transparent;padding:4px 0;color:inherit;font:inherit;text-align:left;cursor:pointer}
.user-resource:hover{text-decoration:underline;text-underline-offset:3px;color:var(--accent)}
.users-table .user-ban:hover{color:var(--accent);border-color:var(--accent)}
.user-time-presets{margin-top:8px}
.user-time-presets button[aria-pressed="true"]{color:var(--accent);border-color:var(--accent)}
.user-filter,.user-search{display:flex;align-items:center;gap:8px;min-width:0}
.user-filter label{margin:0;flex:none}
.user-filter select{min-width:116px}
.user-search{flex:1 1 224px;max-width:340px}
.user-search .search-box{margin:0;flex:1;min-width:0}

.user-record-drawer{--record-inset:24px;width:min(556px,100%);overflow:hidden}
.user-record-drawer[open]{display:flex;flex-direction:column}
.user-record-drawer .dialog-head{flex:none;padding:8px var(--record-inset)}
.user-record-drawer .dialog-body{display:flex;flex:1;flex-direction:column;min-height:0;padding:0}
.user-record-drawer [data-close-dialog]{min-width:44px;min-height:44px;margin-inline-end:-8px}
.user-record-message{margin:16px var(--record-inset)}
.user-record-summary{flex:none;padding:14px var(--record-inset) 16px;border-bottom:1px solid var(--line)}
.user-record-head{display:flex;justify-content:space-between;align-items:start;gap:12px;margin-bottom:4px}
.user-record-head h3{min-width:0;font-size:22px;line-height:1.3;overflow-wrap:anywhere}
.user-record-drawer .status-pill{flex:none;font-size:11px}

.user-record-meta{display:flex;align-items:baseline;flex-wrap:wrap;gap:2px 12px;color:#595f54;font-size:12px;font-variant-numeric:tabular-nums;line-height:1.5}
.user-record-actions,.user-line-links{display:flex;flex-wrap:wrap;gap:8px}
.user-record-actions{margin-top:12px}
.user-record-drawer .button{min-height:44px}
.user-record-actions .button{gap:8px;padding-inline:12px}
.user-record-actions .icon{width:16px;height:16px}
.user-record-content{flex:1;min-height:0;overflow:auto;overscroll-behavior:contain;padding:0 var(--record-inset) 20px}
.user-record-section{padding-block:16px;overflow-wrap:anywhere}
.user-record-section+.user-record-section{border-top:1px solid var(--line)}
.user-record-section h3{display:flex;align-items:center;gap:8px;margin-bottom:10px;font-size:15px}
.user-record-count{color:#595f54;font-size:12px;font-weight:500;font-variant-numeric:tabular-nums}
.user-record-empty{color:#595f54;font-size:13px}
.user-record-section .studio-details{border:0;padding:0}
.user-record-list{margin:0;padding:0;list-style:none}
.user-record-list li{padding-block:8px}
.user-record-list li+li{border-top:1px solid var(--line)}
.user-record-list li:last-child{padding-bottom:0}
.user-line{display:flex;align-items:center;justify-content:space-between;gap:8px 12px}
.user-line-main{min-width:0}
.user-line-title{display:flex;align-items:center;flex-wrap:wrap;gap:4px 8px;margin-bottom:3px}
.user-line-links{flex:none}
.user-history-heading{display:flex;align-items:baseline;justify-content:space-between;flex-wrap:wrap;gap:4px 12px}
.user-history p{margin-top:4px;white-space:pre-wrap}
.user-history p span{color:#595f54}
.user-record-link{text-decoration:underline;text-underline-offset:3px}
@media(max-width:540px){.user-search{max-width:none}.user-filters{flex:1 0 100%}}
@media(max-width:480px){.user-record-drawer{--record-inset:16px}.user-line{align-items:flex-start;flex-direction:column}.user-line-links{flex:none}}
.studio-key .table-subtext{max-width:32ch;white-space:pre-wrap;overflow-wrap:anywhere}
.studio-table .table-date{white-space:normal}
.studio-table .status-dot{margin:0}
.studio-row-controls{display:flex;align-items:center;flex-wrap:wrap;gap:6px}
.voucher-detail-dialog .dialog-foot{flex-wrap:wrap;gap:8px}
.studio-details{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:0 0 16px;padding:0 0 16px;border-bottom:1px solid var(--line)}
.studio-details dt{color:var(--muted);font-size:11px;margin-bottom:4px}
.studio-details dd{margin:0;font-size:13px;white-space:pre-wrap;overflow-wrap:anywhere}
body[data-page="studio"] .heading-actions{flex-wrap:wrap}
@media(max-width:680px){.studio-toolbar{align-items:stretch}#studio-search-form{max-width:none}.studio-bulk .bulk-actions{margin-left:0}.studio-surface .table-footer{flex-wrap:wrap}.studio-key .table-subtext{max-width:none}}
@media(max-width:520px){.studio-filters{gap:6px}.studio-filter{gap:4px;padding-inline:6px}}
.node-card-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,340px),1fr));gap:16px}
.node-card{display:flex;flex-direction:column;min-width:0;border:1px solid var(--line);border-radius:8px;background:var(--surface)}
.node-card-head{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:start;gap:12px;padding:16px;border-bottom:1px solid var(--line)}
.node-card-icon{display:grid;place-items:center;width:40px;height:40px;border:1px solid #dfe6db;border-radius:8px;background:#f0f4ee;color:var(--green)}
.node-card-icon .icon{width:20px;height:20px}
.node-card-identity h2{margin:0 0 4px;font-size:15px;font-weight:600;letter-spacing:0;overflow-wrap:anywhere}
.node-card-address{color:#656b60;font-size:11px;line-height:1.4;overflow-wrap:anywhere}
.node-card-status{display:inline-flex;align-items:center;gap:5px;min-height:24px;padding:2px 8px;border-radius:6px;background:#f0f0ec;color:#55594f;font-size:11px;white-space:nowrap}
.node-card-status[data-state="enabled"]{background:var(--green-soft);color:var(--green)}
.node-card-status[data-state="migrating"]{background:#fbf1dc;color:#765521}
.node-heartbeat{padding:12px 16px;border-bottom:1px solid var(--line);background:#fafbf9}
.heartbeat-head{display:flex;flex-wrap:wrap;align-items:center;gap:6px 8px;margin-bottom:8px;font-size:12px;color:#414940}
.heartbeat-head>span:first-child{display:inline-flex;align-items:center;gap:5px;font-weight:600}
.heartbeat-head .icon{width:15px;height:15px}
.heartbeat-head .status-dot{margin:0}
.heartbeat-head small{margin-left:auto;color:#555b51;font-size:11px}
.heartbeat-track{display:grid;grid-template-columns:repeat(48,minmax(0,1fr));align-items:end;gap:2px;height:20px}
.heartbeat-track span{height:12px;border-radius:2px;background:#dce2d9}
.heartbeat-track [data-health="1"]{height:20px;background:#4e8867}
.heartbeat-track [data-health="2"]{height:7px;background:#b64635}
.heartbeat-track [data-health="3"]{height:16px;background:#a77426}
.heartbeat-times{display:flex;justify-content:space-between;gap:6px;margin-top:5px;color:#555b51;font-size:10px}
.node-sync-state{padding:0 16px 12px;color:#555b51;font-size:11px}
.node-sync-state[data-sync-state="ready"]{color:var(--green)}
.node-sync-state[data-sync-state="failed"]{color:var(--accent)}
.node-enabled label{display:block}
@media(max-width:380px){.heartbeat-track{gap:1px}.node-heartbeat{padding-inline:12px}}
.node-status-dot{flex:none;width:6px;height:6px;border-radius:50%;background:currentColor}
.node-card-facts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin:0;padding:16px}
.node-card-facts dt{margin-bottom:4px;color:#656b60;font-size:11px}
.node-card-facts dd{margin:0;font-size:13px;line-height:1.45;overflow-wrap:anywhere}
.node-card-facts .mono{font-size:12px}
.node-card-count{display:flex;align-items:baseline;flex-wrap:wrap;gap:4px;min-height:24px;color:#656b60;font-variant-numeric:tabular-nums}
.node-card-count strong{color:var(--ink);font-size:20px;font-weight:600;line-height:1.1}
.node-port-meter{display:block;appearance:none;width:100%;height:4px;margin-top:4px;border:0;border-radius:4px;background:#e9ede6}
.node-port-meter::-webkit-meter-bar{height:4px;border:0;border-radius:4px;background:#e9ede6}
.node-port-meter::-webkit-meter-optimum-value{background:var(--green)}
.node-port-meter::-moz-meter-bar{background:var(--green)}
.node-card-actions{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-top:auto;padding:12px 16px;border-top:1px solid var(--line);border-radius:0 0 7px 7px;background:#fafbf8}
.node-card-actions .button{gap:6px}
.node-card-actions .icon{width:16px;height:16px}
.node-card-tools{display:flex;gap:8px}
.node-card-tools .node-tool{width:36px;height:36px;gap:0;padding:0;color:#555f50}
.node-tool .spinner{width:15px;height:15px}
@media(max-width:380px){.node-card-head{column-gap:8px}.node-card-icon{width:34px;height:34px}.node-card-actions{padding-inline:12px}.node-card-tools{gap:6px}}
.node-settings-dialog .dialog-head h2{overflow-wrap:anywhere}
.node-table .button-row{gap:6px}
.node-enabled{margin-top:16px}
.node-enabled input{width:16px;height:16px;min-height:0;vertical-align:middle;accent-color:var(--accent)}
.node-engine-fields{min-width:0;padding:6px 10px 8px;border:1px solid var(--line);border-radius:7px}
.node-engine-fields legend{padding:0 4px;font-size:12px}
.node-engine-fields>div{display:flex;flex-wrap:wrap;gap:8px 16px}
.node-engine-fields label{display:inline-flex;align-items:center;gap:6px;margin:0;min-height:28px}
.node-engine-fields input[type=checkbox]{width:16px;height:16px;min-height:0;margin:0;padding:0;accent-color:var(--accent)}
.version-policy{width:100%;border-collapse:collapse}
.version-policy :is(th,td){padding:5px 8px;border-bottom:1px solid var(--line);text-align:center}
.version-policy th:first-child{text-align:left;overflow-wrap:anywhere}
.version-policy :is(td,thead th):not(:first-child){width:52px;white-space:nowrap}
.version-policy th small{display:block;color:var(--muted);font-weight:400}
.version-policy td label{display:flex;justify-content:center;min-height:36px;cursor:pointer}
#version-popup-scope{max-width:34rem}
.retire-node-name{display:block;margin-bottom:12px;overflow-wrap:anywhere;font-size:15px}
.retire-toggle{display:flex;align-items:center;gap:8px;min-height:40px;margin:0 0 10px}
.retire-toggle input{width:16px;height:16px;min-height:0;margin:0;padding:0;accent-color:var(--accent)}
.retire-offline{margin-top:12px;padding-top:6px;border-top:1px solid var(--line)}
.retire-offline .retire-toggle{margin-bottom:0}
.retire-cleanup{display:flex;align-items:center;gap:8px;margin:0 0 12px;padding:10px 12px;border:1px solid var(--line);border-radius:6px;color:var(--muted)}
.retire-cleanup svg{flex:none}
body[data-page="nodes"] .heading-actions{flex-wrap:wrap}
.cleanup-list{display:grid;gap:16px;margin:0;padding:0;list-style:none}
.cleanup-list>li+li{padding-top:16px;border-top:1px solid var(--line)}
.cleanup-record{display:flex;align-items:start;justify-content:space-between;gap:8px}
.cleanup-record>div{min-width:0}
.cleanup-record small{display:block;margin-top:4px;color:#555b51;overflow-wrap:anywhere}
.cleanup-result{margin:8px 0 12px;color:#555b51;font-size:12px}
.cleanup-list .button{min-height:44px}
.retired-lines-dialog .dialog-foot{flex-wrap:wrap}
.cleanup-batch-fields{display:grid;gap:12px;min-inline-size:0;margin:0;padding:0;border:0}
.cleanup-batch-options{max-height:min(32dvh,260px);overflow:auto;overscroll-behavior:contain;border:1px solid var(--line);border-radius:6px}
.cleanup-batch-option{display:grid;grid-template-columns:auto minmax(0,1fr);align-items:start;gap:10px;min-height:44px;padding:9px 12px;cursor:pointer}
.cleanup-batch-option+.cleanup-batch-option{border-block-start:1px solid var(--line)}
.cleanup-batch-option:hover,.cleanup-batch-option:focus-within{background:var(--surface-alt)}
.cleanup-batch-option input{inline-size:18px;block-size:18px;margin:1px 0 0;accent-color:var(--accent)}
.cleanup-batch-option small{display:block;color:var(--muted);overflow-wrap:anywhere}
.retire-target{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.25fr);align-items:center;gap:12px;padding:10px 0;border-top:1px solid var(--line)}
.retire-target strong{display:block;font-size:13px}
.retire-target span,.retire-progress span{display:block;color:var(--muted);font-size:11px;margin-top:4px}
.retire-target select{min-width:0;min-height:40px}
.retire-loading{display:flex;gap:8px;align-items:center;min-height:44px;color:var(--muted);font-size:12px}
.retire-progress{display:grid;gap:6px;margin-bottom:12px}
.retire-progress progress{display:block;width:100%;height:8px;accent-color:var(--accent)}
@media(max-width:440px){.retire-target{grid-template-columns:1fr;gap:6px}}

/* Desktop workspace: keep credentials and sharing visible without fixing the page height. */
@media(min-width:1000px){
  .customer-page.is-active .customer-header{padding:16px 36px 12px}
  .customer-page.is-active .customer-header nav{gap:16px}
  .workspace.connection-workspace{padding:0 36px 20px;margin:4px auto 0}
  .connection-topline{margin-bottom:10px;font-size:12px}
  .connection-topline-note{letter-spacing:0}
  .connection-hero{grid-template-columns:minmax(0,1.65fr) minmax(0,1fr);gap:12px 24px;min-height:0;padding:18px 24px 16px;border-radius:8px}
  .connection-hero-meta{gap:10px;margin-bottom:6px}
  .connection-hero-meta>.mono{letter-spacing:0;font-size:11px}
  .connection-hero h1{font-size:28px;line-height:1.3;letter-spacing:0;margin-bottom:4px}
  .connection-hero-content>p{line-height:1.5}
  .line-region{gap:8px;margin-top:8px}
  .line-region .button{min-height:32px}
  .line-region #current-node{min-width:0;overflow-wrap:anywhere}
  .connection-validity{gap:4px;padding:4px 0 4px 20px}
  .connection-validity>strong{font-size:26px;line-height:1.35;letter-spacing:0}
  .connection-validity>#exphint{font-size:11px;line-height:1.5;overflow-wrap:anywhere}
  .validity-footnote{margin-top:0;font-size:10px}
  .hero-orbit{top:-258px;right:76px}
  .connection-hero .hero-controls{flex-direction:row;align-items:center;gap:8px 14px;flex-wrap:wrap;padding-top:10px;margin:0}
  .hero-status-note{flex:1;min-width:12rem;font-size:11px;line-height:1.5}
  .hero-control-actions{gap:6px}
  .hero-control-actions .button{flex:none;min-height:36px;padding:7px 10px}
  .connection-workspace .connection-board{grid-template-columns:minmax(0,1.65fr) minmax(0,1fr);gap:12px;margin-top:12px}
  .credentials-card,.team-card{padding:16px 20px;border-radius:8px}
  .connection-card-heading h2,.team-card h2{font-size:20px;line-height:1.35;letter-spacing:0}
  .connection-card-heading .connection-section-label,.team-card-top .connection-section-label{font-size:10px;letter-spacing:0;margin-bottom:3px}
  .connection-card-symbol{width:34px;height:34px;border-radius:7px}
  .connection-card-description{margin:4px 0 0;font-size:12px;line-height:1.5}
  .credentials-grid{grid-template-columns:minmax(0,1.2fr) minmax(0,1fr);gap:8px;margin:10px 0}
  .credentials-grid:has(.credential-room[hidden]){grid-template-columns:minmax(0,1.65fr) repeat(2,minmax(0,1fr))}
  .credential-host,.credential-room{grid-column:auto}
  .credential{padding:8px 10px;border-radius:7px}
  .credential-label{font-size:11px}
  .credential-label>span{display:none}
  .credential>div{margin-top:2px;gap:4px}
  .credential strong{font-size:20px;line-height:1.25;letter-spacing:0}
  .credential-host strong{font-size:18px}
  .credential-actions .button,.team-card>.button{min-height:40px;font-size:12px}
  .room-code-note{margin-top:10px;padding-top:8px;font-size:11px;line-height:1.5}
  .room-code-note p{min-width:0}
  .room-code-note strong{display:inline;margin:0 4px 0 0}
  .team-card-story{margin:6px 0 12px}
  .team-card-rule,.team-card-story br{display:none}
  .team-card-story>p{margin-top:4px;font-size:12px;line-height:1.5}
  .team-card>label{margin:0 0 6px;font-size:11px}
  .team-link input{min-height:38px;padding:8px 0;font-size:11px}
  .team-card>.button{margin-top:8px}
  .team-card-hint{margin-top:8px;font-size:11px;justify-content:flex-start;line-height:1.5}
}

@media(min-width:1000px) and (min-height:820px){
  .customer-page.is-active .customer-header{padding-block:20px 16px}
  .connection-hero{padding:24px 28px 20px;row-gap:16px}
  .connection-workspace .connection-board{gap:16px;margin-top:16px}
  .credentials-card,.team-card{padding:20px 24px}
}

@media(min-width:1000px) and (max-height:740px){
  .customer-page.is-active .customer-header{padding-block:10px 8px}
  .customer-page.is-active .brand-logo{width:40px;height:40px}
  .workspace.connection-workspace{padding-bottom:10px}
  .connection-topline,.connection-card-heading .connection-section-label,.team-card-top{display:none}
  .connection-hero{padding:14px 20px 12px;row-gap:8px}
  .connection-hero h1{margin-bottom:0}
  .connection-hero[data-state="online"] #connection-subtitle{display:none}
  .connection-hero .hero-controls{padding-top:8px}
  .connection-workspace .connection-board{margin-top:10px}
  .credentials-card,.team-card{padding:12px 16px}
  .credentials-grid{margin:8px 0;gap:6px}
  .credential{padding-block:7px}
  .credential .icon-button{min-height:28px}
  .team-card-story{margin-top:0}
}

/* Remote node settings: keep the title and actions visible while the fields scroll. */
html:has(meta[name="admin-root"]) .dialog:has(.dialog-body input[type="file"]):has(.dialog-body input[type="password"])[open]{display:flex;flex-direction:column;width:min(680px,calc(100% - 32px));max-height:min(820px,calc(100dvh - 32px));overflow:hidden;border-radius:12px;background:var(--paper,#fff)}
html:has(meta[name="admin-root"]) .dialog:has(.dialog-body input[type="file"]):has(.dialog-body input[type="password"]) .dialog-head{flex:none;padding:18px 24px;border-bottom:1px solid var(--line,#e1e5d6)}
html:has(meta[name="admin-root"]) .dialog:has(.dialog-body input[type="file"]):has(.dialog-body input[type="password"]) .dialog-head h2{font-size:18px;line-height:1.4;overflow-wrap:anywhere}
html:has(meta[name="admin-root"]) .dialog:has(.dialog-body input[type="file"]):has(.dialog-body input[type="password"]) .dialog-body{min-height:0;overflow:auto;overscroll-behavior:contain;padding:20px 24px 24px}
html:has(meta[name="admin-root"]) .dialog:has(.dialog-body input[type="file"]):has(.dialog-body input[type="password"]) .dialog-foot{flex:none;flex-wrap:wrap;align-items:center;gap:8px;padding:12px 24px;border-top:1px solid var(--line,#e1e5d6);background:color-mix(in srgb,var(--line,#e1e5d6) 22%,var(--paper,#fff))}
html:has(meta[name="admin-root"]) .dialog:has(.dialog-body input[type="file"]):has(.dialog-body input[type="password"]) .dialog-foot:has(>button:nth-child(3))>button:first-child{margin-inline-end:auto}
html:has(meta[name="admin-root"]) .dialog:has(.dialog-body input[type="file"]):has(.dialog-body input[type="password"]) .dialog-body form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px 16px}
html:has(meta[name="admin-root"]) .dialog:has(.dialog-body input[type="file"]):has(.dialog-body input[type="password"]) .dialog-body form>*{grid-column:1/-1;min-width:0}
html:has(meta[name="admin-root"]) .dialog:has(.dialog-body input[type="file"]):has(.dialog-body input[type="password"]) .dialog-body .field{min-width:0;margin:0}
html:has(meta[name="admin-root"]) .dialog:has(.dialog-body input[type="file"]):has(.dialog-body input[type="password"]) .dialog-body .form-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 16px}
html:has(meta[name="admin-root"]) .dialog:has(.dialog-body input[type="file"]):has(.dialog-body input[type="password"]) .field:has(input[type="file"]){padding:12px;border:1px solid var(--line,#e1e5d6);border-radius:8px;background:color-mix(in srgb,var(--line,#e1e5d6) 24%,var(--paper,#fff))}
html:has(meta[name="admin-root"]) .dialog:has(.dialog-body input[type="file"]):has(.dialog-body input[type="password"]) input[type="file"]{display:block;max-width:100%;min-width:0;padding:5px 8px;font:inherit;color:var(--ink);text-overflow:ellipsis;background:var(--paper,#fff)}
html:has(meta[name="admin-root"]) .dialog:has(.dialog-body input[type="file"]):has(.dialog-body input[type="password"]) input[type="file"]::file-selector-button{margin-inline-end:10px;padding:7px 10px;border:1px solid var(--line,#e1e5d6);border-radius:6px;background:var(--paper,#fff);color:var(--ink);font:inherit;cursor:pointer}
html:has(meta[name="admin-root"]) .dialog:has(.dialog-body input[type="file"]):has(.dialog-body input[type="password"]) input[type="file"]::file-selector-button:hover{background:color-mix(in srgb,var(--line,#e1e5d6) 36%,var(--paper,#fff))}
html:has(meta[name="admin-root"]) .dialog:has(.dialog-body input[type="file"]):has(.dialog-body input[type="password"]) .dialog-body fieldset:has(input[type="checkbox"]){min-width:0;margin:0;padding:8px 12px 10px;border:1px solid var(--line,#e1e5d6);border-radius:8px}
html:has(meta[name="admin-root"]) .dialog:has(.dialog-body input[type="file"]):has(.dialog-body input[type="password"]) .dialog-body fieldset:has(input[type="checkbox"]) legend{padding-inline:4px;color:var(--ink);font-weight:600}
html:has(meta[name="admin-root"]) .dialog:has(.dialog-body input[type="file"]):has(.dialog-body input[type="password"]) .dialog-body input[type="checkbox"]{accent-color:var(--accent,#bf4936)}
html:has(meta[name="admin-root"]) .dialog:has(.dialog-body input[type="file"]):has(.dialog-body input[type="password"]) .field-hint{margin-top:6px;overflow-wrap:anywhere}
html:has(meta[name="admin-root"]) .dialog:has(.dialog-body input[type="file"]):has(.dialog-body input[type="password"]) .dialog-form-error:empty{display:none}
@media(min-width:580px){
  html:has(meta[name="admin-root"]) .dialog:has(.dialog-body input[type="file"]):has(.dialog-body input[type="password"]) .dialog-body form>.field:has(+.field input[type="password"]){grid-column:1}
  html:has(meta[name="admin-root"]) .dialog:has(.dialog-body input[type="file"]):has(.dialog-body input[type="password"]) .dialog-body form>.field:has(input[type="password"]){grid-column:2}
}
@media(max-width:480px){
  html:has(meta[name="admin-root"]) .dialog:has(.dialog-body input[type="file"]):has(.dialog-body input[type="password"]) .dialog-head{padding:13px 14px}
  html:has(meta[name="admin-root"]) .dialog:has(.dialog-body input[type="file"]):has(.dialog-body input[type="password"]) .dialog-body{padding:14px}
  html:has(meta[name="admin-root"]) .dialog:has(.dialog-body input[type="file"]):has(.dialog-body input[type="password"]) .dialog-foot{padding:9px 14px}
  html:has(meta[name="admin-root"]) .dialog:has(.dialog-body input[type="file"]):has(.dialog-body input[type="password"]) .dialog-foot .button{min-width:0;padding-inline:10px;white-space:normal}
  html:has(meta[name="admin-root"]) .dialog:has(.dialog-body input[type="file"]):has(.dialog-body input[type="password"]) .dialog-body .form-grid{grid-template-columns:minmax(0,1fr)}
}
.admin-page[data-page="announcement"]::before{content:none}
:root .admin-page[data-page="announcement"] .admin-content.saas-content{max-width:1320px;margin-inline:auto}
.admin-page[data-page="announcement"] .page-heading p{margin:6px 0 0;font-size:14px}
.admin-page[data-page="announcement"] #page-content{container-type:inline-size}
.announcement-workspace{display:grid;gap:20px;align-items:start;grid-template-columns:minmax(0,1fr)}
@container (min-width:760px){
  .announcement-workspace{grid-template-columns:minmax(0,1.2fr) minmax(0,1fr)}
}
:is(.announcement-editor,.announcement-preview){--announcement-inset:clamp(16px,2.2vw,26px);min-width:0;border:1px solid var(--line);border-radius:var(--radius);background:var(--surface);box-shadow:var(--card-shadow)}
.announcement-card-head{min-height:64px;padding:12px var(--announcement-inset);display:flex;align-items:center;justify-content:space-between;gap:8px;flex-wrap:wrap;border-bottom:1px solid var(--line)}
.announcement-card-head h2{margin:0;font-size:17px;font-weight:650}
.announcement-editor fieldset{display:grid;gap:20px;margin:0;border:0;min-width:0;padding:20px var(--announcement-inset)}
.announcement-editor fieldset:disabled .announcement-publish{cursor:wait}
.announcement-field{min-width:0;display:grid;gap:8px}
.announcement-field-head{display:flex;align-items:baseline;justify-content:space-between;gap:8px}
.announcement-field-head label,.announcement-publish strong{margin:0;color:var(--ink);font-size:14px;font-weight:650}
.announcement-count{color:var(--quiet);font-size:12px;font-variant-numeric:tabular-nums;white-space:nowrap}
.announcement-field :is(input,textarea){width:100%;min-width:0;border-radius:var(--control-radius);font-size:16px}
.announcement-field textarea{resize:vertical;min-height:9rem;line-height:1.65}
.announcement-field p,.announcement-publish small,.announcement-preview-tip p{margin:0;color:var(--muted);font-size:13px;line-height:1.55}
.announcement-publish{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:64px;margin:0;padding:10px 12px;border:1px solid var(--line);border-radius:var(--control-radius);background:var(--paper);cursor:pointer}
.announcement-publish small{display:block;margin-top:3px}
.announcement-publish input[type="checkbox"]{display:grid;place-items:center start;flex:none;appearance:none;width:42px;height:24px;min-height:0;margin:0;padding:2px;border:1px solid var(--field-line);border-radius:24px;background:var(--surface-alt);cursor:inherit}
.announcement-publish input[type="checkbox"]::before{content:"";width:16px;height:16px;border-radius:50%;background:var(--muted)}
.announcement-publish input[type="checkbox"]:checked{justify-items:end;background:var(--accent);border-color:var(--accent)}
.announcement-publish input[type="checkbox"]:checked::before{background:var(--on-accent)}
.announcement-editor .dialog-form-error:not(:empty){margin:0 var(--announcement-inset) 16px}
.announcement-editor-actions{display:flex;flex-wrap:wrap;align-items:center;justify-content:flex-end;gap:8px;padding:12px var(--announcement-inset);border-top:1px solid var(--line)}
.announcement-preview-live{color:var(--muted);font-size:12px}
.announcement-preview-stage{display:grid;align-items:center;min-height:240px;padding:clamp(12px,2.6vw,28px);background:var(--surface-alt)}
.announcement-preview-note{min-width:0;padding:clamp(16px,2vw,24px);background:var(--surface);border:1px solid var(--line);border-top:3px solid var(--accent);border-radius:var(--radius);box-shadow:var(--shadow)}
.announcement-preview-label{display:flex;align-items:center;gap:8px;color:var(--accent);font-size:13px;font-weight:650}
.announcement-preview-label .icon,.announcement-preview-tip .icon{width:16px;height:16px;flex:none}
.announcement-preview-note h3{margin:12px 0 8px;font-size:20px;line-height:1.35;overflow-wrap:anywhere;-webkit-line-clamp:2}
.announcement-preview-note .announcement-copy{-webkit-line-clamp:6}
.announcement-preview-note h3,.announcement-preview-note .announcement-copy{display:-webkit-box;-webkit-box-orient:vertical;overflow:hidden}
.announcement-preview-note .is-empty{color:var(--muted)}
.announcement-preview-tip{display:flex;gap:8px;align-items:flex-start;padding:16px var(--announcement-inset);color:var(--muted);border-top:1px solid var(--line)}
.announcement-preview-tip .icon{margin-top:2px}
@media(forced-colors:active){
  .announcement-publish input[type="checkbox"]{appearance:auto;display:block;width:20px;height:20px}
  .announcement-publish input[type="checkbox"]::before{content:none}
}
.announcement-editor-actions .button,.announcement-trigger.text-button{min-height:44px}
.announcement-dialog{width:min(33rem,calc(100vw - 32px))}
.announcement-dialog h2,.announcement-copy{overflow-wrap:anywhere}
.announcement-copy{margin:0;white-space:pre-wrap;line-height:1.7}
.popup-type-nav{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:16px}
.popup-type-nav .button{min-height:44px}
:root .popup-type-nav .button[aria-pressed="true"]{color:var(--accent);border-color:var(--accent);background:var(--accent-soft)}
.dialog.line-assist-dialog{width:min(34rem,calc(100vw - 32px))}
.line-assist-dialog :is(h2,.announcement-copy,.line-assist-details){overflow-wrap:anywhere}
.line-assist-dialog .dialog-foot{flex-wrap:wrap}
.line-assist-dialog .dialog-foot .button{min-height:44px}
.line-assist-details{margin-top:16px;padding:12px 14px;border:1px solid var(--line);border-radius:var(--control-radius);background:var(--surface-alt)}
.line-assist-details p{margin:0}
.line-assist-details p+p{margin-top:6px}
.line-guide-option{display:flex;align-items:center;gap:10px;min-height:44px;margin:16px 0 0;cursor:pointer}
.line-guide-option input[type="checkbox"]{width:18px;height:18px;min-height:0;flex:none;margin:0;padding:0;accent-color:var(--accent)}
.version-connection{margin:12px 0 0;padding:12px 14px;border:1px solid var(--line);border-radius:10px}
.version-connection h3{margin:0 0 8px;font-size:15px}
.version-connection dl{display:grid;grid-template-columns:max-content minmax(0,1fr);gap:6px 12px;margin:0}
.version-connection dt{color:var(--muted);font-size:13px}
.version-connection dd{margin:0;overflow-wrap:anywhere}
.version-connection .field-hint{margin:8px 0 0}
@media(max-width:540px){
  .popup-type-nav{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}
  .popup-type-nav .button{white-space:normal}
}


/* Customer layout; both themes use the shared colors in signal.css. */
.customer-header .theme-switch{position:relative;display:grid;grid-template-columns:1fr 1fr;flex:none;isolation:isolate;border:1px solid var(--line);border-radius:9px;padding:3px;background:#eaece4}
.theme-switch::before{content:"";position:absolute;inset:3px auto 3px 3px;width:calc((100% - 6px)/2);border-radius:6px;background:#fff;box-shadow:0 1px 4px #27332316;pointer-events:none;transform:translateX(0);transition:transform .5s cubic-bezier(.22,.61,.36,1),background-color .65s,box-shadow .65s}
.customer-header .theme-switch button{position:relative;z-index:1;display:flex;align-items:center;justify-content:center;gap:5px;min-height:30px;padding:4px 8px;border:0;border-radius:6px;background:transparent;color:var(--muted);font-size:11px;white-space:nowrap}
.customer-header .theme-switch button[aria-pressed="true"]{color:var(--ink)}
.theme-switch .icon{width:14px;height:14px;flex:none}
@media(max-width:540px){
  .customer-page .customer-header{flex-wrap:wrap;gap:14px}
  .customer-page .customer-header nav{width:100%;gap:10px}
  .customer-page .customer-header .theme-switch{margin-right:auto}
  .customer-page .theme-switch button{min-height:30px;padding:4px 6px;gap:4px}
  .customer-page.is-active .customer-header [data-action="help"]{font-size:11px}
  .customer-page.is-active .customer-header [data-action="switch"]{min-height:38px}
}

.purchase-entry{
  display:grid;grid-template-columns:34px minmax(0,1fr) 17px;align-items:center;gap:10px;min-height:58px;
  margin-top:14px;padding:8px 11px;border:1px solid var(--line);border-radius:7px;color:var(--ink);
  background:var(--surface-alt);background:color-mix(in srgb,var(--green-soft) 55%,var(--surface))
}
.purchase-symbol{
  display:grid;place-items:center;width:34px;height:34px;border-radius:6px;
  color:var(--green);background:var(--green-soft)
}
.purchase-entry .icon{width:17px;height:17px}
.purchase-entry > .icon{color:var(--green)}
.purchase-caption{display:grid;gap:1px;min-width:0;line-height:1.4}
.purchase-caption strong{font-size:14px;font-weight:680}
.purchase-caption > span{display:flex;flex-wrap:wrap;gap:0 5px;color:var(--muted);font-size:12px;overflow-wrap:anywhere}
.purchase-caption b{font-weight:500}
@media(max-width:540px){
  /* 临时控制台仍沿用旧的 access-page 布局。 */
  .access-page:has(#account-auth:not([hidden])) .customer-header{min-height:62px;flex-wrap:nowrap;padding:0 16px}
  .access-page:has(#account-auth:not([hidden])) .customer-header nav{width:auto}
  .access-page:has(#account-auth:not([hidden])) .customer-header .theme-switch button{width:44px;min-height:44px}
  .access-page:has(#account-auth:not([hidden])) .theme-switch button > span{display:none}
  :root .access-page:has(#account-auth:not([hidden])) #main{align-content:start;padding-block:24px 28px}
}
@media(hover:hover){
  .purchase-entry:hover{border-color:var(--field-line);background:var(--green-soft)}
}
@media(prefers-reduced-motion:no-preference){
  .purchase-entry{transition:scale 210ms var(--press-spring)}
  .purchase-entry:active{scale:.98;transition-duration:75ms}
}

.customer-page .dialog.node-picker{width:min(960px,calc(100% - 28px))}
.node-picker-bar{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:12px;color:var(--muted);font-size:12px}
.node-picker-bar strong{color:var(--ink);font-size:13px}
.node-picker-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.node-picker-bar .icon{width:15px;height:15px}
.node-picker .node-choice{display:flex;flex-direction:column;gap:12px;margin:0;padding:14px;min-width:0;border:1px solid var(--line);border-radius:8px;background:var(--paper);color:var(--ink);font-weight:400}
.node-choice:has(input){cursor:pointer}
.node-choice:has(input):hover{border-color:var(--muted)}
.node-choice:has(input:checked){border-color:var(--accent);outline:1px solid var(--accent);outline-offset:-2px}
.node-choice-heading{display:flex;align-items:flex-start;gap:8px;min-height:36px}
.node-choice-icon{display:grid;place-items:center;flex:none;width:32px;height:32px;border-radius:6px;background:var(--surface);border:1px solid var(--line);color:var(--muted)}
.node-choice-icon .icon{width:16px;height:16px}
.node-choice-name{flex:1;min-width:0;display:grid;gap:2px;overflow-wrap:anywhere}
.node-choice-name>span{font-size:11px;color:var(--muted)}
.node-choice-name strong{font-size:14px;line-height:1.35;font-weight:600}
.node-choice input[type="radio"]{appearance:auto;flex:none;width:16px;height:16px;min-height:0;margin:3px 1px 0 0;padding:0;accent-color:var(--accent)}
.node-current{flex:none;padding:3px 5px;border-radius:4px;background:var(--green-soft);color:var(--green);font-size:10px}
.node-choice-status,.node-load>span:first-child{display:flex;justify-content:space-between;align-items:center;gap:8px}
.node-choice-status{min-height:28px;padding-top:8px;border-top:1px solid var(--line);font-size:11px;color:var(--muted)}
.node-choice-status [data-state="online"]{color:var(--green)}
.node-choice-status [data-state="unreachable"]{color:var(--accent)}
.node-loads{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.node-load{display:grid;gap:5px;min-width:0;font-size:11px;color:var(--muted)}
.node-meter{position:relative;height:4px;border-radius:3px;overflow:hidden;background:var(--line)}
.node-meter::after{content:"";position:absolute;inset:0;background:var(--green);transform:scaleX(var(--node-load,0));transform-origin:left;transition:transform .2s ease-out}
.node-load[data-pressure="medium"] .node-meter::after{background:#b18437}
.node-load[data-pressure="high"] .node-meter::after{background:var(--accent)}
.node-traffic{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.node-traffic>span{display:grid;grid-template-columns:auto 1fr;align-items:center;gap:2px 5px;color:var(--muted);font-size:11px}
.node-traffic .icon{width:12px;height:12px}
.node-traffic strong{grid-column:1/-1;font-size:13px}
.node-choice [data-node-value]{color:var(--ink);font-variant-numeric:tabular-nums;white-space:nowrap;font-weight:600}
@media(max-width:760px){.node-picker-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:540px){.node-picker-grid{grid-template-columns:1fr}.node-picker .node-choice{padding:12px}}
@media(prefers-reduced-motion:reduce){.node-meter::after{transition:none}}

html:has(.deployment-dialog[open]){overflow:hidden;scrollbar-gutter:auto}
.customer-page .dialog.deployment-dialog{
  width:792px;max-width:calc(100% - 24px);height:min(560px,calc(100dvh - 24px));max-height:none;
  border-color:var(--line);border-radius:8px;background:var(--surface);box-shadow:0 20px 64px #161c1938;overflow:hidden;
}
.deployment-dialog[open]{display:flex;flex-direction:column}
.deployment-dialog .dialog-head{flex:none;padding:16px 24px;border-color:var(--line)}
.deployment-dialog .dialog-head .eyebrow{margin:0 0 4px;font-size:12px;font-weight:600;letter-spacing:0;color:var(--accent)}
.deployment-dialog .dialog-head h2{font-size:22px;font-weight:600;line-height:1.35;letter-spacing:0;outline:none}
.deployment-dialog .dialog-head .icon-button{width:44px;height:44px;flex:none;color:var(--muted);border-radius:8px}
.deployment-dialog .dialog-head .icon-button:hover{background:var(--paper);color:var(--ink)}
.deployment-dialog .dialog-body{display:flex;flex:1;flex-direction:column;min-height:0;padding:0}
.deployment-steps{
  flex:none;display:flex;align-items:center;gap:12px;margin:0;padding:8px 24px;list-style:none;
  background:var(--paper);border-bottom:1px solid var(--line);
}
.deployment-steps li{
  display:flex;align-items:center;gap:8px;min-width:0;min-height:32px;
  color:var(--muted);font-size:13px;line-height:1.4;
}
.deployment-steps::before{content:"";order:1;width:32px;height:1px;background:var(--line)}
.deployment-steps li+li{order:2}
.deployment-steps li[aria-current]{color:var(--ink);font-weight:600}
.deployment-step-number{
  position:relative;display:grid;place-items:center;flex:none;width:24px;height:24px;border:1px solid var(--line);
  border-radius:50%;font:600 12px var(--mono);font-variant-numeric:tabular-nums;
}
.deployment-steps [aria-current] .deployment-step-number{border-color:var(--ink);background:var(--ink);color:var(--surface)}
.deployment-step-number .icon{display:none;width:14px;height:14px}
.deployment-steps .is-done .deployment-step-number{border-color:transparent;background:var(--green-soft);color:transparent}
.deployment-steps .is-done .icon{display:block;position:absolute;color:var(--green)}
.deployment-content{flex:1;min-width:0;min-height:0;overflow:auto;overscroll-behavior:contain;padding:20px 24px}
.deployment-content .field>label,.deployment-type-label{margin:0 0 8px;color:var(--ink);font-size:13px;font-weight:600}
.deployment-content .field input,.deployment-content .field select{min-height:44px;border-color:var(--line);border-radius:8px;background:var(--surface);color:var(--ink)}
.deployment-content .field select:disabled{opacity:1;background-color:var(--paper);color:var(--muted);cursor:not-allowed}
.deployment-types{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.deployment-types+.program-version-field:not([hidden]){
  display:grid;grid-template-columns:max-content minmax(0,240px);align-items:center;gap:12px;
  margin:16px 0 0;padding-top:16px;border-top:1px solid var(--line);
}
.deployment-content .program-version-field>label{margin:0}
.deployment-dialog .deployment-engine{
  display:grid;grid-template-columns:32px minmax(0,1fr) 16px;align-items:center;gap:12px;min-width:0;min-height:76px;margin:0;
  padding:12px;border:1px solid var(--line);border-radius:8px;background:var(--surface);color:var(--ink);cursor:pointer;
}
.deployment-engine-symbol{display:grid;place-items:center;width:32px;height:32px;border-radius:6px;background:var(--paper);color:var(--muted)}
.deployment-engine-symbol .icon{width:16px;height:16px}
.deployment-engine:has(input:checked) .deployment-engine-symbol{background:var(--surface);color:var(--accent)}
.deployment-engine-copy{display:grid;gap:4px;min-width:0;line-height:1.3;overflow-wrap:anywhere}
.deployment-engine strong{font-size:15px;font-weight:600}
.deployment-engine small{font:12px var(--mono);color:var(--muted);font-variant-numeric:tabular-nums}
.deployment-dialog :is(.deployment-engine,.node-choice){transition:border-color var(--quick) var(--ease),background-color var(--quick) var(--ease)}
.deployment-dialog :is(.deployment-engine,.node-choice):has(input:not(:disabled)):not(:has(input:checked)):hover{border-color:var(--muted);background:var(--paper)}
.deployment-dialog :is(.deployment-engine,.node-choice):has(input:checked){border-color:var(--accent);background:var(--accent-soft);outline:none}
.deployment-dialog :is(.deployment-engine,.node-choice):has(input:focus-visible){outline:2px solid var(--accent);outline-offset:2px}
.deployment-dialog input[type="radio"]{
  appearance:none;flex:none;width:16px;height:16px;min-height:0;margin:0;padding:0;
  border:1px solid var(--muted);border-radius:50%;background:var(--surface);outline:none;
}
.deployment-dialog input[type="radio"]:checked{border:5px solid var(--accent)}
.deployment-room-name{margin:0 0 12px;color:var(--muted);font-size:13px;overflow-wrap:anywhere}
.deployment-room-name strong{color:var(--ink)}
.deployment-dialog .node-picker-bar{align-items:center;flex-wrap:wrap}
.deployment-dialog .node-picker-bar strong{
  display:inline-flex;align-items:center;gap:8px;max-width:100%;padding:4px 8px;border:1px solid var(--line);
  border-radius:6px;background:var(--paper);overflow-wrap:anywhere;
}
.deployment-dialog #node-metrics-updated{font-variant-numeric:tabular-nums}
.deployment-dialog .node-choice{gap:12px;background:var(--surface)}
.deployment-dialog .node-choice-heading{align-items:start;min-height:52px}
.deployment-dialog .node-choice input[type="radio"]{margin-top:4px}
.deployment-dialog .node-choice-icon{background:var(--paper)}
.deployment-dialog .node-choice-status{align-items:baseline;gap:4px}
.deployment-dialog [data-node-state]::before{
  content:"";display:inline-block;width:6px;height:6px;margin-inline-end:4px;border-radius:50%;background:currentColor;vertical-align:2px;
}
.deployment-dialog [data-node-state][data-stale]{color:var(--deploy-warning)}
.deployment-dialog .node-traffic{padding-top:8px;border-top:1px solid var(--line)}
.deployment-dialog .dialog-form-error{font-size:13px;overflow-wrap:anywhere}
.deployment-dialog .dialog-form-error:empty{display:none}
.deployment-dialog .dialog-foot{flex:none;align-items:center;justify-content:space-between;gap:12px;padding:12px 24px;border-top:1px solid var(--line)}
.deployment-actions{display:flex;gap:8px;margin-inline-start:auto}
.deployment-dialog .dialog-foot .button{min-height:44px;gap:8px;padding:8px 12px;border-radius:8px;font-size:13px;white-space:nowrap}
.deployment-dialog .dialog-foot .button:not(.primary){border-color:transparent;background:transparent;color:var(--muted)}
.deployment-dialog .dialog-foot .button:not(.primary):hover{background:var(--paper);color:var(--ink)}
.deployment-dialog .dialog-foot .button.primary{min-width:112px;border-color:var(--deploy-action);background:var(--deploy-action);color:#fff}
.deployment-dialog .dialog-foot .button.primary:hover{border-color:var(--deploy-hover);background:var(--deploy-hover)}
.deployment-dialog .dialog-foot .button.primary:disabled{opacity:1;border-color:var(--line);background:var(--paper);color:var(--muted)}
.deployment-note{display:flex;align-items:center;gap:8px;margin:0 auto 0 0;font-size:12px;line-height:1.4;color:var(--muted)}
.deployment-note .icon{width:16px;height:16px;flex:none}
@media(max-width:840px){.deployment-dialog .node-picker-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:640px){
  .deployment-dialog .dialog-head{padding:12px 16px}
  .deployment-steps{gap:8px;padding:8px 16px}
  .deployment-steps::before{width:20px}
  .deployment-content{padding:16px}
  .deployment-types{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
  .deployment-types+.program-version-field:not([hidden]){grid-template-columns:max-content minmax(0,1fr)}
  .deployment-dialog .node-choice{gap:8px}
  .deployment-dialog .node-choice-heading{min-height:40px}
  .deployment-dialog .dialog-foot{flex-wrap:wrap;gap:8px;padding:8px 12px}
  .deployment-dialog .dialog-foot .button{padding-inline:8px}
  .deployment-dialog .dialog-foot .button.primary{min-width:96px}
  .deployment-note{order:-1;width:100%;margin-inline:4px}
}
@media(max-width:440px){
  .deployment-dialog .deployment-engine{grid-template-columns:minmax(0,1fr) 16px;gap:8px;min-height:68px}
  .deployment-engine-symbol{display:none}
}
@media(max-width:480px){.deployment-dialog .node-picker-grid{grid-template-columns:minmax(0,1fr)}}
.customer-page.is-active .account-entry{display:none}

/* The signed-in line has its own palette; login and account pages keep theirs. */
.line-brand-section{display:none}
.customer-page.is-active[data-page="customer"]{
    --paper:#f5f7fa;--surface:#fbfcfc;--surface-alt:#eef1f2;--ink:#182128;--muted:#52616a;
    --line-panel-surface:#fff;--line-panel-shadow:0 2px 8px rgb(0 0 0 / 4%);
    --heat-off:#dce2e8;--heat-empty:#ebedf0;--line-label:#626a73;--line-value:#252e38;
  --line:#d7dfe2;--field-line:#87959c;--quiet:var(--muted);--line-control:#c6d0d5;--line-hover:#e7ecee;
  --accent:#233039;--accent-hover:#374750;--accent-soft:#e0e7ea;--on-accent:#fff;
  --green:#126752;--green-soft:#dcebe5;--line-glass:rgb(252 253 253 / 91%);--line-shadow:rgb(24 33 40 / 12%);
  --line-gutter:32px;--line-width:1060px
}
:root[data-theme="dark"] .customer-page.is-active[data-page="customer"]{
  --paper:#161a1e;--surface:#1a1f23;--surface-alt:#20272b;--ink:#ecf0f2;--muted:#acb9bf;
  --line:#353f45;--field-line:#74858e;--line-control:#55626a;--line-hover:#2c363c;
  --accent:#e1e9ed;--accent-hover:#fff;--accent-soft:#303e46;--on-accent:#152027;
  --green:#9cdac4;--green-soft:#263d35;--line-glass:rgb(37 45 50 / 91%);--line-shadow:rgb(0 0 0 / 26%);
  --line-panel-surface:var(--surface);--line-panel-shadow:0 2px 8px rgb(0 0 0 / 14%);
  --heat-off:#46505e;--heat-empty:#343d49;--line-label:var(--muted);--line-value:var(--ink);
}
:root body.is-active[data-page="customer"] .customer-header{
  max-width:none;width:100%;min-height:67px;margin:0;flex-wrap:nowrap;gap:12px;
  padding:0 max(var(--line-gutter),calc((100% - var(--line-width))/2));
  border-bottom:1px solid var(--line);background:var(--surface)
}
.customer-page.is-active[data-page="customer"] .customer-header nav{width:auto;margin-inline-start:auto}
.customer-page.is-active[data-page="customer"] .customer-header [data-action="help"]{display:none}
.customer-page.is-active[data-page="customer"] .brand-logo{width:32px;height:32px;border-radius:6px}
.customer-page.is-active[data-page="customer"] .brand-name{color:var(--ink);font-size:14px}
.customer-page.is-active[data-page="customer"] .line-brand-section{
  display:block;border-inline-start:1px solid var(--line);padding-inline-start:12px;color:var(--muted);font-size:13px
}
.customer-page.is-active[data-page="customer"] .theme-switch{display:flex;gap:2px;padding:2px;border-radius:8px}
.customer-page.is-active[data-page="customer"] .theme-switch::before,
.customer-page.is-active[data-page="customer"] .theme-switch button > span{display:none}
.customer-page.is-active[data-page="customer"] .theme-switch button{
  width:40px;height:36px;border:1px solid transparent;padding:0
}
.customer-page.is-active[data-page="customer"] .theme-switch button[aria-pressed="true"]{
  background:var(--surface);border-color:var(--line);box-shadow:0 1px 2px var(--line-shadow)
}
.customer-page.is-active[data-page="customer"] #main{min-height:0}
.line-workspace,.customer-page.is-active[data-page="customer"] > .customer-footer{
  width:min(calc(100% - 2 * var(--line-gutter)),var(--line-width));margin:0 auto
}
.line-workspace{padding-top:56px}
.line-heading{display:flex;justify-content:space-between;align-items:flex-end;gap:12px;margin-bottom:22px}
.line-heading > div{min-width:0}
.line-heading h1{font-size:36px;font-weight:700;line-height:1.2}
.line-meta{display:flex;flex-wrap:wrap;gap:3px 0;margin-top:10px;font-size:13px;color:var(--muted);overflow-wrap:anywhere}
.line-meta > :not(:first-child){margin-inline-start:10px;padding-inline-start:10px;border-inline-start:1px solid var(--line)}
.line-activation{color:var(--green)}
.line-activation .icon{width:14px;height:14px}
.line-workspace:not(:has(.line-overview[data-state="online"])) .line-activation{display:none}
.line-workspace .button{min-height:42px;padding-inline:13px;border-radius:7px;font-size:14px}
.line-workspace .icon-button{width:42px;height:42px;padding:0}
.line-workspace .icon{width:17px;height:17px}
.line-workspace :is(.button,.icon-button):disabled{cursor:not-allowed}
#result .button:not(.dark){background:transparent;border-color:var(--line-control);color:var(--ink)}
#result .button:not(.dark,.line-quiet):not(:disabled):hover,
#result .button.line-quiet:not(:disabled):hover{background:var(--line-hover);color:var(--ink)}
#result .button.line-quiet{color:var(--muted);border-color:transparent}
.line-menu{position:relative;flex:none}
.line-menu summary{cursor:pointer;list-style:none}
.line-menu summary::-webkit-details-marker{display:none}
#result .line-menu[open] summary{background:var(--line-hover)}
.line-menu-panel{
  position:absolute;z-index:5;inset:calc(100% + 8px) 0 auto auto;width:192px;max-height:58vh;
  overflow:auto;overscroll-behavior:contain;padding:5px;border:1px solid var(--line-control);border-radius:8px;
  background:var(--surface);box-shadow:0 12px 25px var(--line-shadow);animation:signal-in 160ms var(--ease)
}
#result .line-menu-panel .button{display:flex;width:100%;justify-content:flex-start;border-color:transparent}
#result .line-menu-panel .button.line-stop{color:var(--critical)}
.line-menu-panel .button:focus-visible{outline-offset:-2px}
.line-menu-divider{border-top:1px solid var(--line);margin:3px 5px}
.heatmap-scroll{max-width:100%;overflow:auto;padding:4px 3px 10px;scrollbar-width:thin;overscroll-behavior-inline:contain}
#usage-grid{display:grid;gap:2px;width:max-content;--heat-cell-size:12px;--heat-gap:3px}
.heatmap-axis,.heatmap-row{display:grid;grid-template-columns:62px repeat(48,var(--heat-cell-size));gap:var(--heat-gap);align-items:center}
.heatmap-axis{min-height:21px;color:var(--muted);font:11px var(--mono)}
.heatmap-row{grid-auto-rows:var(--heat-cell-size)}
.heatmap-date{color:var(--muted);font-size:11px;line-height:1}
.heatmap-row[data-today="true"] .heatmap-date{color:var(--ink);font-weight:700}
.heatmap-cell{width:var(--heat-cell-size);height:var(--heat-cell-size);border-radius:2px;box-sizing:border-box;margin:0;padding:0;border:0;cursor:crosshair;transition:transform .12s}
.heatmap-cell:is(:hover,:focus-visible){position:relative;z-index:1;transform:scale(1.3);outline:1px solid var(--ink);outline-offset:1px}
.usage-tooltip{position:fixed;z-index:35;max-width:calc(100vw - 16px);padding:7px 9px;border-radius:6px;background:#0d1117;color:#fff;font:12px var(--mono);pointer-events:none}
#usage-caption{margin:5px 0 0}
.line-console{border-radius:8px;background:#0d1117;color:#a3b3cc;overflow:hidden;font-family:Consolas,Monaco,monospace}
.line-console-bar{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:6px 12px;padding:7px 12px;border-bottom:1px solid #354252;background:#161d27;font-size:12px}
.line-console-context,.line-console-status,.line-console-actions{display:flex;align-items:center;gap:7px}
.line-console-context{flex-wrap:wrap;gap:5px 14px}
.line-console-bar .line-metrics{display:flex;flex-wrap:wrap;gap:3px 12px;margin:0}
.line-console-bar .line-metrics div{display:flex;align-items:center;gap:5px}
.line-console-bar .line-metrics dt{color:#a3b3cc;font-size:12px}
.line-console-bar .line-metrics dd{margin:0;color:#e6edf5}
.line-console-status i{width:7px;height:7px;border-radius:50%;background:#8797ad}
.line-console-status[data-live="true"] i{background:#39d353;animation:line-console-pulse 1.8s ease-in-out infinite}
@keyframes line-console-pulse{50%{opacity:.48}}
.line-console-actions button{min-height:34px;padding:0 9px;border:1px solid #45536a;border-radius:5px;background:#161d27;color:#e6edf5;font:inherit}
.line-console-actions button:hover{background:#293444}
.line-console-actions button:focus-visible,.line-console-output:focus-visible{outline:2px solid #a3b3cc;outline-offset:-2px}
.line-console-output{height:320px;overflow:auto;padding:14px 16px;font-size:13px;font-weight:300;line-height:1.7;scrollbar-color:#526074 #0d1117;scrollbar-width:thin;overflow-wrap:anywhere}
.line-console-output p{margin:0}
.line-console-output time{color:#8290a3}
.line-log-level{color:#8cbcff}
.line-console-output [data-level="success"] .line-log-level{color:#39d353}
.line-console-output [data-level="warn"] .line-log-level{color:#f5c542}
.line-console-output [data-level="error"] .line-log-level{color:#ff6c70}
.line-section-head{display:flex;align-items:center;justify-content:space-between;gap:8px;min-height:46px;margin-bottom:6px}
.line-section-head h2{font-size:17px;font-weight:680}
.line-workspace :is(dl,dd){margin:0}
.line-credentials{border-top:1px solid var(--line)}
.line-credential{
  display:grid;grid-template-columns:minmax(70px,27%) minmax(0,1fr);gap:10px;align-items:center;min-height:55px;
  border-bottom:1px solid var(--line)
}
.line-credential :is(dt,label){color:var(--line-label);font-size:13px;margin:0}
.line-credential dd{min-width:0;display:flex;align-items:center;justify-content:flex-start;gap:2px}
.line-credential strong,#pin{color:var(--line-value);font-size:14px;font-weight:550;overflow-wrap:anywhere}
.line-credential .icon-button{width:34px;height:34px;flex:none}
#pin{width:10ch;flex:0 1 auto}
#pin,#link{padding:0;min-width:0;min-height:34px;border:0;background:transparent;box-shadow:none}
.line-row-actions{display:flex;flex:none}
.line-credential .icon-button.copied,.line-invite>.button.copied{position:relative}
.line-credential .icon-button.copied::after,.line-invite>.button.copied::after{content:"已复制";position:absolute;z-index:2;inset:auto 0 calc(100% + 4px) auto;padding:4px 7px;border-radius:5px;background:#17212b;color:#fff;font-size:11px;white-space:nowrap;pointer-events:none}
.line-credentials-note,#checked{margin-top:8px;color:var(--muted);font-size:12px;overflow-wrap:anywhere}
#checked:empty{margin:0}
.line-invite-field{
  display:flex;align-items:center;gap:8px;min-height:45px;padding:0 11px;
  border:1px solid var(--line);border-radius:10px;background:var(--surface-alt);color:var(--muted)
}
.line-invite-field input{font-size:12px;text-overflow:ellipsis}
.line-invite > .button{margin-top:10px;min-height:36px;padding-inline:10px;font-size:13px}
.customer-page.is-active[data-page="customer"] > .customer-footer{
  display:flex;margin-top:51px;padding:15px 0 24px;border-top:1px solid var(--line);color:var(--muted);font-size:12px
}
.customer-page.is-active[data-page="customer"] :is(.button,.icon-button,.theme-switch button){
  transition:scale 210ms var(--press-spring)
}
.theme-transitioning body.is-active[data-page="customer"],
.theme-transitioning body.is-active[data-page="customer"] :is(.customer-header,.button,input,.theme-switch,.dialog){
  transition-property:scale
}
@supports (backdrop-filter:blur(8px)){
  @media (prefers-contrast:no-preference){
    @media not (prefers-reduced-transparency:reduce){
      .line-menu-panel,.customer-page.is-active[data-page="customer"] > .dialog[open]{
        background:var(--line-glass);backdrop-filter:blur(8px)
      }
    }
  }
}
@media(max-width:700px){
  .customer-page.is-active[data-page="customer"]{--line-gutter:18px}
  :root body.is-active[data-page="customer"] .customer-header{min-height:62px}
  .customer-page.is-active[data-page="customer"] .line-brand-section{display:none}
  .customer-page.is-active[data-page="customer"] .theme-switch button{width:44px;height:44px}
  .line-workspace{padding-top:27px}
  .line-heading{margin-bottom:16px}
  .line-heading h1{font-size:29px}
  .line-meta{margin-top:7px}
  .line-console-actions button{min-height:44px}
  .line-credential{grid-template-columns:83px minmax(0,1fr);min-height:50px;gap:5px}
  .customer-page.is-active[data-page="customer"] > .customer-footer{margin-top:32px}
}
@media(max-width:640px){
  .line-workspace{padding-top:20px}
  .line-heading h1{font-size:24px;text-wrap:balance}

}
@media(prefers-reduced-motion:reduce){
  .line-menu-panel{animation:none}
  .line-console-status[data-live="true"] i{animation:none}
  .heatmap-cell{transition:none}
  .customer-page.is-active[data-page="customer"] :is(.button,.icon-button,.theme-switch button){transition:none}
}

@media(prefers-reduced-motion:no-preference){
  .workspace-arriving > :is(.account-top,.line-heading){
    position:relative;
    animation:workspace-reveal 300ms cubic-bezier(.2,.75,.25,1) both
  }
  .workspace-arriving > :is(.account-view,.line-overview,.line-content){
    animation:workspace-reveal 365ms cubic-bezier(.2,.75,.25,1) 42ms both
  }
  .workspace-arriving > .line-content{animation-delay:78ms}
  .workspace-arriving .account-heading.view-enter{animation:none}
  .workspace-arriving > :is(.account-top,.line-heading)::after{
    content:"";position:absolute;inset:auto 0 -1px;height:1px;pointer-events:none;
    background:linear-gradient(90deg,transparent 5%,var(--green) 100%);
    transform-origin:left center;
    animation:workspace-signal 480ms cubic-bezier(.24,.7,.25,1) both
  }
  @keyframes workspace-reveal{
    from{opacity:.68;transform:translateY(9px)}
    to{opacity:1;transform:none}
  }
  @keyframes workspace-signal{
    0%{opacity:0;transform:scaleX(.08)}
    22%{opacity:.85}
    65%{opacity:.72;transform:scaleX(.94)}
    100%{opacity:0;transform:scaleX(1)}
  }
}

/* GENERATED: line-bento.input.css */
.line-bento .tw-flex{display:flex}.line-bento .tw-grid{display:grid}.line-bento .tw-grid-cols-1{grid-template-columns:repeat(1,minmax(0,1fr))}.line-bento .tw-flex-wrap{flex-wrap:wrap}.line-bento .tw-items-start{align-items:flex-start}.line-bento .tw-items-center{align-items:center}.line-bento .tw-justify-between{justify-content:space-between}.line-bento .tw-gap-2{gap:.5rem}.line-bento .tw-gap-4{gap:1rem}.line-bento .tw-gap-6{gap:1.5rem}.line-bento.owned-line-page.is-active[data-page=customer]{--paper:#f4f6f9;--surface:#fff;--surface-alt:#f1f4f9;--ink:#0f172a;--muted:#536279;--line:#e8ecf3;--line-control:#d6ddea;--line-hover:#edf1f8;--line-label:#59677c;--line-value:var(--ink);--accent:#4f46e5;--accent-hover:#4338ca;--accent-soft:#eeedff;--on-accent:#fff;--green:#12683d;--green-soft:#e4f8ec;--bento-idle:#e2e8f0;--bento-empty:#edf1f6;--bento-shadow:0 8px 24px rgba(15,23,42,.045);--bento-pad:clamp(18px,2.1vw,28px);background-color:var(--paper);color:var(--ink);font-family:system-ui,-apple-system,Segoe UI,Microsoft YaHei,sans-serif}:root[data-theme=dark] .line-bento.owned-line-page.is-active[data-page=customer]{--paper:#111625;--surface:#1b2334;--surface-alt:#252f44;--ink:#f1f5ff;--muted:#b0bdd2;--line:#303b50;--line-control:#45526a;--line-hover:#303a54;--line-label:var(--muted);--accent:#a9aaff;--accent-soft:#333353;--accent-hover:#c3c4ff;--on-accent:#16162b;--green:#8ce7b0;--green-soft:#203e33;--bento-idle:#425069;--bento-empty:#333f54;--bento-shadow:0 8px 24px rgba(2,6,23,.18)}.line-bento #result:not([hidden]){display:grid;gap:24px}.line-bento .line-heading{margin:0;align-items:center}.line-bento .line-heading h1{font-size:clamp(28px,2.45vw,40px);line-height:1.18;letter-spacing:-.035em}.line-bento .line-heading .line-meta{row-gap:6px}.line-bento .bento-card,.line-bento .bento-nav-card{min-width:0;background:var(--surface);border:0;border-radius:20px;padding:var(--bento-pad);box-shadow:var(--bento-shadow)}.line-bento .line-overview{min-width:0;align-items:stretch}.line-bento .bento-metric{display:flex;flex-direction:column;justify-content:space-between;gap:20px}.line-bento .bento-clock,.line-bento .line-status-icon{width:50px;height:50px;flex:none;display:grid;place-items:center;border-radius:50%;color:var(--muted);background:var(--surface-alt)}.line-bento .bento-clock{border-radius:15px;color:var(--accent);background:var(--accent-soft)}.line-bento :is(.line-status-icon,.bento-clock) .icon{width:24px;height:24px}.line-bento .line-overview[data-state=online] .line-status-icon{background:var(--green-soft);color:var(--green)}.line-bento .line-overview:is([data-state=unknown],[data-state=offline]) .line-status-icon{background:var(--warning-soft);color:var(--warning)}.line-bento .line-overview[data-state=expired] .line-status-icon{background:var(--critical-soft);color:var(--critical)}.line-bento #connection-subtitle,.line-bento .line-caption{color:var(--muted);font-size:12px;line-height:1.55}.line-bento #status{display:block;color:var(--ink);font-size:clamp(22px,2vw,32px);line-height:1.25;font-weight:700;overflow-wrap:anywhere}.line-bento .line-overview:is([data-state=online],[data-state=offline],[data-state=unknown],[data-state=expired]) #status{width:-moz-fit-content;width:fit-content;padding:2px 10px;border-radius:999px;font-size:clamp(21px,1.85vw,29px)}.line-bento .line-overview[data-state=online] #status{color:var(--green);background:var(--green-soft)}.line-bento .line-overview:is([data-state=offline],[data-state=unknown]) #status{color:var(--warning);background:var(--warning-soft)}.line-bento .line-overview[data-state=expired] #status{color:var(--critical);background:var(--critical-soft)}.line-bento #remaining{display:block;color:var(--muted);font-size:14px;font-weight:550;line-height:1.25;font-variant-numeric:tabular-nums}.line-bento #remaining b{font-size:clamp(28px,2.7vw,42px);font-weight:700;letter-spacing:-.045em;color:var(--ink)}.line-bento #result .line-primary .button{min-height:44px;padding:0 18px;gap:20px;justify-content:space-between;border:0;border-radius:12px;background:#4f46e5;color:#fff;box-shadow:0 4px 10px rgba(79,70,229,.18)}@media(hover:hover) and (prefers-reduced-motion:no-preference){.line-bento #result .line-primary .button:not(:disabled):hover{transform:translateY(-1px);background:#4338ca}}.line-bento #result .line-primary .button:disabled{opacity:.62;box-shadow:none}.line-bento .line-workspace :is(.button,.icon-button){border-radius:10px}.line-bento .line-validity #exphint{margin-top:4px}.line-bento .line-card-actions{display:flex;align-items:center;flex-wrap:wrap;gap:10px}.line-bento #result .line-card-actions .button{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:44px;margin:0;padding:0 16px;font-size:14px;font-weight:650;border:0;border-radius:12px;background:var(--accent-soft);color:var(--accent)}.line-bento #result .line-card-actions .icon{color:inherit}.line-bento #result .line-card-actions #renew-line,.line-bento #result .line-card-actions:has(#renew-line[hidden]) .purchase-entry{background:var(--accent);color:var(--on-accent)}.line-bento #result .line-card-actions #renew-line:disabled{opacity:.55;cursor:not-allowed}.line-bento #result .line-card-actions .button:focus-visible{outline:2px solid var(--accent);outline-offset:3px}@media(hover:hover){.line-bento #result .line-card-actions :is(#renew-line:not(:disabled),.purchase-entry):hover{background:var(--accent-hover);color:var(--on-accent)}}.line-bento #renew-ineligible{background:var(--surface-alt);border-radius:99px;padding:4px 9px}.line-bento .line-section-head h2{font-size:19px;letter-spacing:-.02em}.line-bento .line-panel-head{display:flex;align-items:start;flex-wrap:wrap;gap:12px;margin-bottom:16px}.line-bento .line-panel-head .line-caption{margin-top:4px}.line-bento .heatmap-legend{display:flex;align-items:center;flex-wrap:wrap;gap:5px;list-style:none;padding:0;margin:0}.line-bento .heatmap-legend li{display:inline-flex;align-items:center;gap:5px;border-radius:99px;padding:4px 8px;color:var(--muted);background:var(--surface-alt);font-size:11px}.line-bento .heatmap-legend i{width:7px;height:7px;border-radius:50%}.line-bento .line-history-layout{display:grid;grid-template-columns:minmax(0,1fr);gap:18px}.line-bento .line-uptime{
  display:grid;grid-template-columns:84px minmax(0,1fr);grid-template-areas:"ring title" "ring counts" "help help";
  gap:4px 18px;align-items:center;align-content:center;padding:16px 18px 8px;
  border:1px solid var(--line);border-radius:16px;background:var(--surface);color:var(--ink)
}
.line-bento .line-uptime h3{grid-area:title;align-self:end;margin:0;font-size:15px}
.line-bento .bento-ring{grid-area:ring;width:84px;aspect-ratio:1;position:relative;isolation:isolate;display:grid;place-items:center;border-radius:50%;background:var(--line-control)}
.line-bento .bento-ring::before,.line-bento .bento-ring::after{content:"";position:absolute;inset:0;z-index:-1;border-radius:inherit}
.line-bento .bento-ring::before{background:linear-gradient(135deg,#4f46e5,#9885fa);mask-image:conic-gradient(#000 var(--online-share,0%),transparent 0)}
.line-bento .bento-ring::after{inset:6px;background:var(--surface)}
.line-bento .line-uptime-value{font:700 28px/1 "Segoe UI",system-ui,sans-serif;letter-spacing:-.045em;font-variant-numeric:tabular-nums}
.line-bento .line-uptime-value small{font-size:.47em;letter-spacing:0;margin-inline-start:1px}
.line-bento .line-uptime-value[data-unknown]{display:inline-flex;align-items:center;gap:5px;padding:5px 8px;border-radius:999px;background:var(--surface-alt);color:var(--muted);font:600 13px/1.2 system-ui,sans-serif;letter-spacing:0}
.line-bento .line-uptime-value[data-unknown]::before{content:"";width:6px;height:6px;border:1.5px solid currentColor;border-radius:50%}
.line-bento .line-uptime .line-caption{grid-area:counts;align-self:start;margin:0;font-size:13px;line-height:1.6}
.line-bento .uptime-help{grid-area:help;width:100%;margin-top:8px;border-top:1px solid var(--line);text-align:start}
.line-bento .uptime-help summary{display:flex;align-items:center;gap:7px;min-height:44px;padding:4px 0;color:var(--muted);font-size:13px;cursor:pointer;list-style:none}
.line-bento .uptime-help summary::-webkit-details-marker{display:none}
.line-bento .uptime-help summary .icon{width:15px;height:15px}
.line-bento .uptime-help summary::after{content:"";width:6px;height:6px;margin-inline-start:auto;margin-inline-end:4px;border:solid currentColor;border-width:0 1.5px 1.5px 0;transform:rotate(45deg)}
.line-bento .uptime-help[open] summary::after{transform:rotate(225deg)}
.line-bento .uptime-help summary:hover{color:var(--accent)}
.line-bento .uptime-help summary:focus-visible{outline:2px solid var(--accent);outline-offset:2px;border-radius:4px}
.line-bento .uptime-help p{margin:0 0 8px;font-size:13px;line-height:1.65;color:var(--muted)}
/* 不给热力图建立固定定位容器，浮层始终以视口为坐标。 */
@media(min-width:1380px){
  .line-bento .line-history-layout{grid-template-columns:minmax(0,1fr) minmax(176px,23%);gap:24px}
  .line-bento .line-uptime{grid-template-columns:1fr;grid-template-areas:"title" "ring" "counts" "help";grid-template-rows:auto 1fr auto auto;gap:10px;justify-items:center;text-align:center}
  .line-bento .bento-ring{width:106px}
  .line-bento .line-uptime-value:not([data-unknown]){font-size:34px}
  .line-bento .uptime-help{margin-top:2px}
}
.line-bento #usage-grid{--heat-gap:3px;gap:3px}.line-bento .heatmap-cell{border-radius:3px}.line-bento .line-history [data-level=low]{background:#22c55e}.line-bento .line-history [data-level=high]{background:#f4bd48}.line-bento .line-history [data-level=off]{background:var(--bento-idle)}.line-bento .line-history [data-level=empty]{background:var(--bento-empty)}.line-bento .line-history [data-future=true]{opacity:1}.line-bento .line-console{background:#0f172a;color:#d5deed;border-radius:14px}.line-bento .line-console-bar{background:#1e293b;border-color:#334155;padding:9px 14px}.line-bento #line-latency{font-size:17px;font-weight:700;font-variant-numeric:tabular-nums;color:#f1f5f9}.line-bento .line-console-actions button{border-radius:7px;background:#29364c}.line-bento .line-console-output{font:400 13px/1.75 Consolas,Monaco,monospace;scrollbar-color:#475569 #0f172a}.line-bento .line-console-output time{color:#94a3b8}.line-bento .line-log-level{color:#93c5fd}.line-bento .line-console-output [data-level=success] .line-log-level{color:#65e59a}.line-bento .line-credentials{border:0}.line-bento .line-credential:last-child{border-bottom:0}.line-bento #result .line-invite>.button,.line-bento #result .line-quiet.button,.line-bento .line-credential .icon-button{color:var(--muted);background:var(--surface);border:1px solid var(--line)}.line-bento #result .line-invite>.button:hover,.line-bento #result .line-quiet.button:hover,.line-bento .line-credential .icon-button:hover{background:var(--surface-alt);color:var(--ink)}.line-bento .line-credential dd,.line-bento .line-row-actions{gap:4px}.line-bento .line-invite:not([hidden]){display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:8px;border-top:1px solid var(--line);padding-top:14px}.line-bento .line-invite h2{grid-column:1/-1;margin:0;font-size:14px;font-weight:650}.line-bento #result .line-invite>.button{margin:0;min-height:44px}.line-bento .line-invite-field{min-width:0;border:0;border-radius:12px;box-shadow:none;background:var(--surface-alt)}.line-bento .line-invite-field input{flex:1 1 0}.line-bento .line-invite-field:focus-within{outline:2px solid var(--accent)}@media(min-width:960px){:root body.line-bento.owned-line-page.is-active[data-page=customer]>#line-bento-sidebar.saas-sidebar{inset-block-end:auto;padding:18px 6px 18px 16px;border:0;background:transparent;overflow:visible}.line-bento .bento-nav-card{padding:16px}.line-bento .bento-nav-card .saas-brand{padding:4px 6px 18px;border:0}.line-bento .bento-nav-card .saas-nav{gap:6px}.line-bento .bento-nav-card .saas-nav a{border:0;border-radius:12px}.line-bento .bento-nav-card .saas-nav a[aria-current]{color:#fff;background:#4f46e5}:root .line-bento.owned-line-page.is-active>.customer-header.saas-header{background:transparent;border:0}:root .line-bento.owned-line-page.is-active #result.line-workspace{max-width:1500px;margin-inline:auto}}@media(max-width:767px){.line-bento #result :is(.line-overview,.line-content,.line-side),.line-bento #result:not([hidden]){gap:16px}.line-bento .bento-metric{gap:14px}.line-bento .line-card-actions .button{flex:1 1 auto}.line-bento .line-credential .icon-button{width:44px;height:44px}}@media (min-width:768px){.line-bento .md\:tw-grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (min-width:1280px){.line-bento .xl\:tw-grid-cols-\[minmax\(0\2c 2fr\)_minmax\(0\2c 1fr\)\]{grid-template-columns:minmax(0,2fr) minmax(0,1fr)}}

#kfc-viewing-hint{grid-column:1/-1;margin:0}

.account-page .customer-header{max-width:1200px;padding:20px 28px}
.account-page.customer-page #main{display:block;width:min(1200px,100%);min-height:0;margin:12px auto 0;padding:12px 28px 38px}
.account-auth{width:min(420px,100%);margin:clamp(10px,8vh,88px) auto 0;border-radius:8px}
.account-auth h1{font-size:24px;margin:16px 0 0;letter-spacing:0}
.account-auth .button[type="submit"]{justify-content:center}
.account-auth .form-message:empty{display:none}
.account-auth .form-message:not(:empty){margin-bottom:12px}
.account-top,.account-heading{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap}
.account-top{padding-bottom:14px;border-bottom:1px solid var(--line)}
.account-tabs{display:flex;align-items:center;gap:4px;flex-wrap:wrap}
.account-tabs button{display:inline-flex;align-items:center;gap:7px;min-height:36px;font-size:13px}
.account-tabs .icon,.account-identity .icon,.account-stats dt .icon{width:15px;height:15px;flex:none}
.account-tabs .filter-tab[aria-pressed="true"]{background:var(--green-soft);color:var(--ink)}
.account-identity{display:flex;align-items:center;gap:6px;font-size:13px;color:var(--muted);overflow-wrap:anywhere}
.account-top .account-purchase-shortcut,.instance-open{display:none}
.account-heading{margin:24px 0 16px}
.account-heading h1{font-size:28px;letter-spacing:0}
.account-heading p{margin:4px 0 0;color:var(--muted);font-size:14px}
.account-freeze-notice{display:flex;align-items:flex-start;gap:10px;margin-bottom:16px;padding:12px 14px;border:1px solid var(--line);border-inline-start:3px solid var(--accent);border-radius:8px;background:var(--surface);font-size:13px}
.account-freeze-notice .icon{width:16px;height:16px;margin-top:2px;flex:none;color:var(--accent)}
.account-freeze-notice p{margin:3px 0 0;color:var(--muted)}
.account-freeze-notice time{font-variant-numeric:tabular-nums}
.account-heading .button-row{flex-wrap:wrap}
.account-stats{margin:0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));background:var(--surface);border-block:1px solid var(--line)}
.account-stats>div{padding:16px 20px;min-width:0}
.account-stats>div+div{border-inline-start:1px solid var(--line)}
.account-stats dt{display:flex;align-items:center;gap:8px;color:var(--muted);font-size:12px}
.account-stats dd{margin:7px 0 0;font-size:20px;font-weight:600;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}
.studio-stats{border-top:2px solid var(--green)}
.studio-stats progress{display:block;width:100%;height:5px;margin-top:9px;accent-color:var(--green)}
.line-overview{
  --track-stopped:#7c8580;--track-unused:#6c8191;--track-other:#aca391;
  --line-warning:#805620;
  display:grid;grid-template-columns:112px minmax(0,1fr);align-items:center;gap:20px 24px;
  min-height:100px;padding:16px 20px;border-block:1px solid var(--line);background:var(--surface);
}
.line-overview:has(.line-expiry){grid-template-columns:112px minmax(0,1fr) 220px}
[data-theme="dark"] .line-overview{--track-stopped:#8a968b;--track-unused:#8eabb7;--track-other:#b0a48e;--line-warning:#e7bd80}
.line-overview [data-bucket="running"]{--bucket:var(--green)}
.line-overview [data-bucket="stopped"]{--bucket:var(--track-stopped)}
.line-overview [data-bucket="unused"]{--bucket:var(--track-unused)}
.line-overview [data-bucket="expired"]{--bucket:var(--accent)}
.line-overview :is([data-bucket="other"],[data-bucket="reclaiming"]){--bucket:var(--track-other)}
.line-total,.line-expiry{display:grid;gap:4px;min-width:0;color:var(--muted);font-size:12px}
.line-total strong{color:var(--ink);font-size:30px;font-weight:650;line-height:1;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}
.line-distribution{min-width:0}
.line-track{display:flex;gap:2px;height:8px;border-radius:4px;overflow:hidden;background:var(--paper)}
.line-track>span{flex:var(--count) 1 0;min-width:0;background:var(--bucket)}
.line-legend{display:flex;flex-wrap:wrap;gap:6px 16px;margin:8px 0 0;padding:0;list-style:none;color:var(--muted);font-size:12px}
.line-legend li{display:inline-flex;align-items:center;gap:5px}
.line-legend li::before{content:"";width:7px;height:7px;flex:none;border-radius:2px;background:var(--bucket)}
.line-legend strong,.line-expiry time{color:var(--ink);font-weight:600;font-variant-numeric:tabular-nums}
.line-expiry{border-inline-start:1px solid var(--line);padding-inline-start:20px}
.line-expiry>span{display:flex;align-items:center;gap:6px}
.line-expiry .icon{width:14px;height:14px;flex:none;color:var(--line-warning)}
.line-expiry small{color:var(--line-warning);font-size:11px}
.line-filter{display:flex;align-items:center;gap:8px;margin-inline-start:auto;color:var(--muted);font-size:12px}
.line-filter select{min-height:38px;width:148px;max-width:100%;padding:6px 8px;border:1px solid var(--line);border-radius:7px;background:var(--surface);color:var(--ink);font-size:13px}
.line-filter-empty{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:8px;min-height:84px;padding:12px 16px;border-block:1px solid var(--line);font-size:13px;color:var(--muted)}
.personal-empty{
  display:grid;grid-template-columns:44px minmax(0,1fr) auto;align-items:center;gap:16px;
  padding:24px;border-block:1px solid var(--line);background:var(--surface);
}
.personal-empty-icon{display:grid;place-items:center;width:44px;height:44px;border-radius:8px;background:var(--green-soft);color:var(--green)}
.personal-empty-icon .icon{width:21px;height:21px}
.personal-empty h2{font-size:18px;line-height:1.3;font-weight:650}
.personal-empty p{margin:4px 0 0;color:var(--muted);font-size:13px}
.personal-empty .button-row{flex-wrap:wrap}
.account-instances{margin-top:28px}
.account-instances-heading{display:flex;align-items:baseline;flex-wrap:wrap;gap:8px 12px;margin-bottom:12px}
.account-instances-heading:has(.line-filter){align-items:center}
.account-instances-heading h2{font-size:18px;font-weight:650;letter-spacing:0}
.account-instances-heading>span{color:var(--muted);font-size:12px;font-variant-numeric:tabular-nums}
.instance-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,264px),1fr));gap:12px}
.instance-card{
  position:relative;display:grid;min-width:0;min-height:140px;overflow-wrap:anywhere;border:1px solid var(--line);
  border-radius:8px;background:var(--surface);color:var(--ink);box-shadow:0 2px 8px #191e1b0b;
  transition:transform .18s ease-out,box-shadow .18s ease-out,border-color .18s ease-out,background-color .18s ease-out;
}
.instance-card[data-state="running"]{border-color:color-mix(in srgb,var(--green) 28%,var(--line))}
.instance-card-main{display:flex;flex-direction:column;gap:12px;min-width:0;padding:12px;border-radius:inherit}
.kite-room-actions{flex-wrap:wrap;margin-top:auto}
.kite-room-actions :is(.button,.icon-button){min-height:44px}
.kite-room-actions .icon-button{min-width:44px}
a.instance-card-main{cursor:pointer}
.instance-card-main:focus-visible{outline:2px solid var(--green);outline-offset:3px}
.instance-card-header{
  display:grid;grid-template-columns:32px minmax(0,1fr);align-items:start;gap:8px;padding-inline-end:40px;
}
.instance-card-icon{
  display:grid;place-items:center;width:32px;height:32px;border-radius:8px;
  background:var(--paper);color:var(--muted);
}
.instance-card-icon .icon{width:16px;height:16px}
.instance-card[data-state="running"] .instance-card-icon{background:var(--green-soft);color:var(--green)}
.instance-card-name h3{font-size:15px;font-weight:650;line-height:1.35;letter-spacing:0}
.instance-card-meta{display:flex;align-items:center;flex-wrap:wrap;gap:2px 8px;margin-top:2px;color:var(--muted);font-size:12px}
.instance-suffix{font-variant-numeric:tabular-nums}
.instance-card .status-pill{font-size:12px;font-weight:600;gap:4px}

.instance-card .status-pill .spinner{width:11px;height:11px}
.instance-details{display:grid;gap:4px;margin:0;font-size:12px;line-height:1.4}
.instance-details>div{display:grid;grid-template-columns:32px minmax(0,1fr);gap:8px}
.instance-details dt{color:var(--muted)}
.instance-details dd{min-width:0;margin:0}
.instance-details .instance-port{font:600 12px/1.4 var(--mono)}
.instance-details time{font-variant-numeric:tabular-nums}
.instance-deploy{display:inline-flex;align-items:center;gap:6px;align-self:flex-start;margin-top:auto;min-height:24px;color:var(--green);font-size:13px;font-weight:600}
.instance-deploy .icon{width:14px;height:14px;flex:none}
.instance-card .instance-more{position:absolute;inset:4px 4px auto auto;width:44px;height:44px;padding:0;border-radius:8px}
.instance-card .instance-more[aria-expanded="true"]{background:var(--green-soft);color:var(--green)}
.instance-more .icon{width:18px;height:18px;flex:none}
@media(hover:hover){
  .instance-card:has(a.instance-card-main:hover){border-color:var(--green);background:color-mix(in srgb,var(--surface) 97%,var(--green))}
}
@media(hover:hover) and (prefers-reduced-motion:no-preference){
  .instance-card:has(a.instance-card-main:hover){transform:translateY(-2px);box-shadow:0 6px 16px #191e1b14}
  .instance-card:has(a.instance-card-main:active){transform:none}
}
.instance-menu{position:fixed;z-index:70;width:min(192px,calc(100vw - 16px));max-height:calc(100dvh - 16px);overflow:auto;
  padding:4px;border:1px solid var(--line);border-radius:8px;background:var(--surface);box-shadow:var(--shadow)}
.instance-menu a,.instance-menu button{display:flex;align-items:center;gap:8px;min-height:36px;width:100%;padding:6px 8px;border:0;
  border-radius:5px;background:transparent;color:var(--ink);text-align:start;font-size:12px;line-height:1.4}
.instance-menu .icon{width:15px;height:15px;flex:none;color:var(--muted)}
.instance-menu a:hover,.instance-menu button:hover,.instance-menu :focus-visible{background:var(--green-soft)}
.instance-menu .instance-menu-danger,.instance-menu .instance-menu-danger .icon{color:var(--accent)}
.instance-menu .instance-menu-danger{border-top:1px solid var(--line);margin-top:4px}
.account-empty{min-height:190px;display:grid;place-content:center;justify-items:center;gap:12px;border-block:1px solid var(--line);color:var(--muted);font-size:14px;text-align:center}
.account-empty>.icon{width:26px;height:26px}
.account-recovery :is(.button,.text-button){min-height:44px}
.studio-tabs{margin-top:20px}
.station-panel{margin-top:20px}
.station-panel-head{display:flex;justify-content:space-between;align-items:center;gap:8px;flex-wrap:wrap;margin-bottom:12px}
.station-filter{display:flex;align-items:center;gap:8px;margin:0;color:var(--muted)}
.station-filter select{width:auto;min-width:136px;font-size:14px}
.station-list,.station-history ol{margin:0;padding:0;list-style:none;border-block:1px solid var(--line);background:var(--surface)}
.station-columns,.station-row{display:grid;grid-template-columns:104px minmax(100px,1fr) minmax(130px,1.2fr) minmax(168px,1.45fr);gap:16px;align-items:center;padding:14px 16px}
.station-columns{padding-block:6px;color:var(--muted);font-size:12px}
.station-columns span:last-child{text-align:end}
.station-row+.station-row,.station-history li+li{border-top:1px solid var(--line)}
.station-identity{display:flex;align-items:center;gap:8px;min-width:0;overflow-wrap:anywhere}
.station-identity .icon{color:var(--accent);width:17px;height:17px}
.station-identity h3{font:600 16px/1.4 var(--mono)}
.station-person,.station-room{display:grid;justify-items:start;gap:4px;min-width:0;overflow-wrap:anywhere}
.station-person small,.station-room small,.station-history small{color:var(--muted);font-size:12px;line-height:1.5}
.station-actions{display:flex;justify-content:flex-end;align-items:center;flex-wrap:wrap;gap:8px}
.station-actions .button{min-height:44px;font-size:12px;padding-inline:12px}
.station-actions .icon{width:16px;height:16px}
.station-history{margin-top:16px}
.station-history summary{padding:12px 0;cursor:pointer;font-size:14px;font-weight:600}
.station-history summary span{margin-inline-start:6px;color:var(--muted);font-weight:400}
.station-history li{display:grid;grid-template-columns:minmax(112px,1fr) minmax(0,2fr) minmax(0,1fr);align-items:center;gap:8px 16px;padding:10px 16px;overflow-wrap:anywhere;font-size:13px}
.station-dialog .field:last-of-type{margin-bottom:0}
.station-dialog .dialog-intro{color:var(--muted);font-size:14px;overflow-wrap:anywhere;margin-bottom:0}
.station-dialog .dialog-form-error:empty{display:none}
.share-copy{display:flex;gap:8px;align-items:stretch}
.share-copy input{min-width:0;flex:1}
.share-copy .button{min-height:44px;flex:none}
#control-delivery{margin-top:16px;padding-top:12px;border-top:1px solid var(--line)}
#control-delivery .field{margin-bottom:12px}
.share-permission{display:flex;gap:8px;align-items:center;min-height:44px;margin:0;color:var(--ink);cursor:pointer}
.share-permission input{min-width:16px;width:16px;min-height:16px;height:16px;accent-color:var(--accent)}
#guest-form{margin-top:24px}
#guest-form .button{min-height:48px;margin-top:16px;font-size:14px}
#guest-form .input-shell input{font-size:16px}
.guest-workspace{max-width:780px;margin:0 auto}
.guest-workspace .entry-context{margin-bottom:5px}
.guest-workspace .account-stats{grid-template-columns:repeat(4,minmax(0,1fr))}
.guest-workspace #guest-node{font-size:15px}
.guest-workspace #guest-status{color:var(--muted)}
.guest-workspace #guest-status[data-running="true"]{color:var(--green)}
.guest-connection{padding:16px 0;border-bottom:1px solid var(--line)}
.guest-connection h2{margin-bottom:10px}
.guest-connection label{font-size:14px}
.guest-view-actions{margin-top:12px}
.guest-workspace .button{min-height:44px}
.guest-config-head{display:flex;justify-content:space-between;align-items:center;gap:8px;flex-wrap:wrap;margin-bottom:8px}
.guest-config-head h2{margin:0}
.guest-config-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1px;margin:0;background:var(--line);border:1px solid var(--line)}
.guest-config-fields>div{min-width:0;padding:10px 12px;background:var(--surface)}
.guest-config-fields dt{color:var(--muted);font-size:12px}
.guest-config-fields dd{display:flex;align-items:center;justify-content:space-between;gap:6px;min-width:0;margin:0}
.guest-config-fields code{min-width:0;font:600 15px/1.4 var(--mono);overflow-wrap:anywhere;user-select:all}
.guest-config-fields .icon-button{width:44px;height:44px;padding:0;margin-inline-end:-4px}
@media(min-width:721px){
  .guest-config-fields{grid-template-columns:repeat(auto-fit,minmax(148px,1fr))}
}
@media(max-width:540px){.guest-config-fields>[data-client-field="server"]{grid-column:1/-1}}
@media(max-width:720px){
  .line-overview,.line-overview:has(.line-expiry){grid-template-columns:minmax(80px,auto) minmax(0,1fr);gap:12px 16px;padding:12px 16px}
  .line-total strong{font-size:25px}
  .line-legend{gap:4px 10px}
  .line-expiry{grid-column:1/-1;display:flex;align-items:baseline;flex-wrap:wrap;gap:4px 12px;padding:8px 0 0;border-inline-start:0;border-top:1px solid var(--line)}
  .personal-empty{grid-template-columns:44px minmax(0,1fr);padding:16px}
  .personal-empty .button-row{grid-column:1/-1;margin-top:4px}
  .station-columns{display:none}
  .station-row{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
  .station-identity,.station-actions{grid-column:1/-1}
  .station-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));justify-content:stretch}
  .station-history li{grid-template-columns:repeat(2,minmax(0,1fr))}
  .station-history small{grid-column:1/-1}
  .guest-workspace .account-stats{grid-template-columns:repeat(2,minmax(0,1fr))}
  .guest-workspace .account-stats>div:nth-child(3){border-inline-start:0}
  .guest-workspace .account-stats>div:nth-child(n+3){border-top:1px solid var(--line)}
}
@media(max-width:540px){
  .account-page .customer-header{padding:16px}
  .account-page.customer-page #main{padding:8px 16px 28px}
  .account-heading h1{font-size:22px}
  .account-stats>div{padding:12px 8px}
  .account-stats dt{gap:4px;font-size:11px}
  .account-stats dt .icon{width:12px;height:12px}
  .account-stats dd{font-size:14px}
  .line-filter select{min-height:44px}
  .instance-menu a,.instance-menu button{min-height:44px}
}
@media(max-width:640px){
  :root .account-page:has(> .account-work-nav:not([hidden])) > .customer-header{
    width:100%;min-height:62px;padding:0 16px;gap:8px;flex-wrap:nowrap;background:var(--surface)
  }
  .account-page:has(> .account-work-nav:not([hidden])) .customer-header nav{width:auto;gap:4px;margin-inline-start:auto}
  .account-page:has(> .account-work-nav:not([hidden])) .brand{gap:8px}
  .account-page:has(> .account-work-nav:not([hidden])) .brand-logo{width:34px;height:34px}
  .account-page:has(> .account-work-nav:not([hidden])) .theme-switch button{width:44px;height:44px;padding:0}
  .account-page:has(> .account-work-nav:not([hidden])) .theme-switch button > span{display:none}
  #account-logout{display:grid;place-items:center;min-width:44px;min-height:44px;padding:0;font-size:0;gap:0}
  #account-logout .icon{width:18px;height:18px}
  #account-content>.purchase-entry{display:none}
  .account-top{flex-wrap:nowrap;gap:8px;min-height:44px;padding-bottom:4px}
  .account-identity{min-width:0;flex:1}
  .account-top .account-purchase-shortcut{
    display:inline-flex;flex:none;align-items:center;gap:6px;min-height:44px;margin:0;padding:0;
    border:0;background:none;color:var(--muted)
  }
  .account-purchase-shortcut :is(.purchase-symbol,.purchase-caption>span){display:none}
  .account-purchase-shortcut .purchase-caption>strong{font-size:13px;font-weight:500}
  .account-view .account-heading{margin-block:16px 12px}
  .account-view .account-heading .button{min-height:44px}
  .account-view .account-instances{margin-top:20px}
  .account-view .line-filter select{font-size:16px}
  .instance-open{display:inline-flex;align-self:flex-end;align-items:center;gap:4px;font-size:13px;color:var(--green)}
  .instance-open .icon{width:14px;height:14px}
}

/* Dashboard primitives. Component classes are the local equivalent of Tailwind's
   w-64 / h-16 / grid / rounded-xl / shadow-sm utilities; no CDN or build step. */
.dashboard-chrome{display:block}
.dashboard-header,.dashboard-brand,.dashboard-sidebar-foot,.dashboard-nav>p,.dashboard-nav>a{display:none}
.dashboard-sr{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.dashboard-nav button,.dashboard-nav a,.dashboard-header summary{
  display:flex;align-items:center;gap:12px;min-height:44px;padding:0 12px;border:0;border-radius:8px;
  background:none;color:var(--muted);font:inherit;font-size:14px;text-align:start;text-decoration:none;cursor:pointer
}
.dashboard-nav>a{display:none}
.dashboard-nav :is(button,a):hover,.dashboard-header summary:hover,.dashboard-header details[open]>summary{background:var(--surface-alt);color:var(--ink)}
.dashboard-nav button[aria-pressed="true"]{background:var(--accent-soft);color:var(--accent);font-weight:650}
.dashboard-nav .icon,.dashboard-header .icon{width:18px;height:18px;flex:none}
.compact-account-identity{display:flex;align-items:center;gap:6px;min-width:0;color:var(--muted);font-size:13px;overflow-wrap:anywhere}
.compact-account-identity .icon{width:15px;height:15px;flex:none}
@media (641px <= width < 960px){
  .dashboard-sidebar{width:100%;padding:0 28px}
  .dashboard-nav{display:flex;gap:4px}
}
@media(max-width:640px){.dashboard-sidebar{display:none}}

.account-dashboard .account-heading .button{min-height:40px;padding-inline:14px;border-radius:8px}
.account-dashboard .account-freeze-notice{
  gap:12px;margin-bottom:20px;padding:14px 16px;border:0;border-inline-start:4px solid var(--warning);
  border-radius:8px;background:var(--warning-soft);color:var(--warning)
}
.account-dashboard .account-freeze-notice :is(.icon,p){color:inherit}
.account-dashboard .account-freeze-notice p{line-height:1.55}
.account-dashboard .studio-stats{gap:16px;border:0;background:none}
.account-dashboard .studio-stats>.ui-stat,.account-dashboard :is(.line-overview,.personal-empty,.account-empty,.instance-card){
  border:1px solid var(--line);border-radius:var(--radius);background:var(--surface);box-shadow:var(--card-shadow)
}
.account-dashboard .studio-stats>.ui-stat{display:flex;flex-direction:column;padding:16px 18px}
.account-dashboard .ui-stat-label{gap:8px;color:var(--muted);font-size:13px;font-weight:600}
.account-dashboard .ui-stat-icon{display:grid;place-items:center;width:32px;height:32px;flex:none;border-radius:8px;background:var(--accent-soft);color:var(--accent)}
.account-dashboard .ui-stat-value{margin:10px 0 0;color:var(--ink);font-size:30px;font-weight:700;line-height:1.15}
.dashboard-stat-state,.dashboard-stat-date{display:flex;align-items:center;min-height:34px}
.dashboard-stat-state .status-pill{gap:6px;padding:4px 8px;border:0;border-radius:6px;font-size:15px}
.dashboard-stat-total{font-size:.66em;color:var(--muted);font-weight:500}
.dashboard-stat-date{flex-wrap:wrap;gap:4px 8px;font-size:clamp(18px,2vw,24px)}
.dashboard-stat-date small{color:var(--muted);font-size:13px;font-weight:500}
.account-dashboard .ui-stat .ui-stat-detail{margin:8px 0 0;color:var(--muted);font-size:12px;font-weight:400;line-height:1.35}
.account-dashboard .ui-stat progress{appearance:none;height:5px;margin-top:8px;overflow:hidden;border:0;border-radius:999px;background:var(--surface-alt)}
.ui-stat progress::-webkit-progress-bar{background:var(--surface-alt)}
.ui-stat progress::-webkit-progress-value{border-radius:999px;background:var(--accent)}
.ui-stat progress::-moz-progress-bar{border-radius:999px;background:var(--accent)}
.account-dashboard .instance-grid{gap:16px}
.account-dashboard .instance-card{transition:box-shadow var(--motion-ui) var(--ease),border-color var(--motion-ui) var(--ease),transform var(--motion-ui) var(--ease)}
.account-dashboard .instance-card-main{padding:16px;gap:12px}
.account-dashboard .instance-card-header{grid-template-columns:36px minmax(0,1fr);padding-inline-end:34px;gap:10px}
.account-dashboard .instance-card-icon{width:36px;height:36px;background:var(--surface-alt)}
.account-dashboard .instance-card[data-state="running"] .instance-card-icon{background:var(--accent-soft);color:var(--accent)}
.account-dashboard .instance-card-name h3{font-size:15px}
.account-dashboard .instance-card-meta{gap:4px 8px;margin-top:4px}
.account-dashboard .instance-card .status-pill{padding:3px 7px;border:0;border-radius:6px;line-height:1.25}
.account-dashboard .instance-details{gap:6px;padding-block-start:12px;border-block-start:1px solid var(--line);font-size:13px}
.account-dashboard .instance-details dd{text-align:end;font-variant-numeric:tabular-nums}
.account-dashboard .instance-card .instance-more{inset:10px 8px auto auto}
.account-dashboard .instance-open{display:flex;justify-content:space-between;align-items:center;gap:8px;align-self:stretch;margin-top:auto;color:var(--accent);font-size:13px;font-weight:600}
.account-dashboard .instance-open .icon{width:15px;height:15px}
.account-dashboard .account-instances-heading>span{padding:2px 8px;border-radius:6px;background:var(--surface-alt);font-size:12px}
@media(hover:hover){
  .account-dashboard .instance-card:has(:is(a[href],button:enabled)):hover{border-color:var(--field-line);background:var(--surface);box-shadow:var(--card-hover)}
}
@media(prefers-reduced-motion:reduce){
  .account-dashboard .instance-card{transition:none}
  .account-dashboard .instance-card:has(a.instance-card-main:hover){transform:none}
}
@media(max-width:640px){
  .account-dashboard .account-heading .button{min-height:44px}
  .account-dashboard .studio-stats{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
  .account-dashboard .studio-stats>.ui-stat{padding:10px 8px}
  .account-dashboard .ui-stat-label{gap:4px;font-size:11px}
  .account-dashboard .ui-stat-icon{width:20px;height:20px;border-radius:4px}
  .account-dashboard .ui-stat-value{font-size:22px}
  .dashboard-stat-state,.dashboard-stat-date{min-height:25px}
  .dashboard-stat-state .status-pill{font-size:12px}
  .dashboard-stat-date{font-size:14px}
  .dashboard-stat-date small,.account-dashboard .ui-stat .ui-stat-detail{font-size:11px}
}

@media(max-width:360px){
  .account-dashboard .studio-stats{grid-template-columns:minmax(0,1fr)}
}

/* Desktop shell. Compact and signed-out layouts keep the existing top/bottom navigation. */
@media(min-width:960px){
  html:has(.account-dashboard){scroll-padding-block-start:calc(var(--shell-header) + var(--space-4))}
  :root .account-dashboard>.customer-header,.account-dashboard .account-top,.account-dashboard #account-content>.purchase-entry{display:none}
  :root body.account-page.account-dashboard>#main{
    width:calc(100% - var(--shell-sidebar));max-width:none;min-height:100dvh;
    margin:0;margin-inline-start:var(--shell-sidebar);padding:calc(var(--shell-header) + var(--space-8)) var(--space-8) 48px
  }
  .dashboard-sidebar,.dashboard-header{position:fixed;background:var(--surface);color:var(--ink);z-index:21}
  .dashboard-sidebar{
    inset:0 auto 0 0;width:var(--shell-sidebar);display:flex;flex-direction:column;gap:24px;overflow:auto;
    padding:16px;border-inline-end:1px solid var(--line)
  }
  .dashboard-brand{display:flex;align-items:center;gap:12px;padding:0 8px 16px;border-block-end:1px solid var(--line);color:var(--ink);text-decoration:none}
  .dashboard-brand img{width:40px;height:40px;border-radius:8px}
  .dashboard-brand :is(strong,small){display:block}
  .dashboard-brand strong{font-size:15px;font-weight:700}
  .dashboard-brand small,.dashboard-nav>p,.dashboard-breadcrumb{font-size:13px;color:var(--muted)}
  .dashboard-nav{display:grid;gap:4px}
  .dashboard-nav>p{display:block;margin:0;padding:0 12px 4px}
  .dashboard-nav>a{display:flex}
  .dashboard-nav>a>.icon:last-child{width:14px;height:14px;margin-inline-start:auto}
  .dashboard-sidebar-foot{display:block;margin-top:auto;padding-block-start:12px;border-block-start:1px solid var(--line)}
  .dashboard-sidebar .dashboard-purchase{display:flex;width:100%;min-height:56px;gap:8px;margin:0;padding:8px;background:transparent;border:0;border-radius:8px}
  .dashboard-sidebar .dashboard-purchase:hover{background:var(--surface-alt)}
  .dashboard-purchase .purchase-symbol{width:32px;height:32px;flex:none}
  .dashboard-purchase .purchase-caption>span{font-size:11px}
  .dashboard-header{
    inset:0 0 auto var(--shell-sidebar);height:var(--shell-header);display:flex;justify-content:space-between;align-items:center;
    gap:16px;padding:0 32px;border-block-end:1px solid var(--line)
  }
  .dashboard-breadcrumb ol,.dashboard-breadcrumb li,.dashboard-header-actions{display:flex;align-items:center;gap:8px}
  .dashboard-breadcrumb ol{list-style:none;margin:0;padding:0}
  .dashboard-breadcrumb .icon{width:14px;height:14px}
  .dashboard-breadcrumb [aria-current]{color:var(--ink);font-weight:650}
  .dashboard-header-actions{gap:12px;min-width:0}
  .dashboard-header details{position:relative;min-width:0}
  .dashboard-header summary{list-style:none;gap:8px}
  .dashboard-header summary::-webkit-details-marker{display:none}
  .dashboard-header .dashboard-bell{position:relative;justify-content:center;width:44px;padding:0}
  .dashboard-notice-dot{position:absolute;inset:9px 8px auto auto;width:8px;height:8px;border:1px solid var(--surface);border-radius:50%;background:var(--critical)}
  .dashboard-header .dashboard-profile-trigger{padding-inline:8px;max-width:240px}
  .dashboard-avatar{display:grid;place-items:center;width:32px;height:32px;flex:none;border-radius:50%;background:var(--accent-soft);color:var(--accent)}
  .dashboard-profile-trigger .account-identity{display:block;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--ink);font-weight:600}
  .dashboard-profile-trigger>.icon{width:14px;height:14px}
  .dashboard-popover{
    position:absolute;inset:calc(100% + 6px) 0 auto auto;width:248px;padding:12px;
    border:1px solid var(--line);border-radius:var(--radius);background:var(--surface);box-shadow:var(--card-hover)
  }
  .dashboard-popover>strong{display:block;padding:0 4px 8px;border-block-end:1px solid var(--line);font-size:14px}
  .dashboard-popover :is(ul,p){margin:8px 0 0;padding:0 4px;list-style:none;color:var(--muted);font-size:13px}
  .dashboard-popover li+li{margin-top:8px}
  .dashboard-popover .theme-switch{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:4px;margin:4px 0 8px;padding:4px;border-radius:8px;background:var(--surface-alt)}
  /* 菜单由按钮自身显示选中态，不复用顶部导航的绝对定位滑块。 */
  .dashboard-popover .theme-switch::before{content:none}
  .dashboard-popover .theme-switch button{display:flex;align-items:center;justify-content:center;gap:6px;min-height:44px;padding:0 8px;border:0;border-radius:6px;background:transparent;color:var(--muted);font:inherit;cursor:pointer}
  .dashboard-popover .theme-switch button:hover{color:var(--ink)}
  .dashboard-popover .theme-switch button[aria-pressed="true"]{background:var(--surface);color:var(--accent);box-shadow:var(--card-shadow)}
  .dashboard-popover #account-logout{justify-content:flex-start;width:100%;min-height:40px;padding:0 8px}
  .account-dashboard .account-heading{margin:0 0 24px;gap:16px}
  .account-dashboard .account-heading h1{font-size:28px;font-weight:700;line-height:1.25;text-wrap:balance}
  .account-dashboard .account-heading .button-row{gap:8px}
  .account-dashboard :is(.account-instances,.studio-tabs){margin-block-start:24px}
  .account-dashboard .instance-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(min-width:1240px){.account-dashboard .instance-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(min-width:1600px){.account-dashboard .instance-grid{grid-template-columns:repeat(4,minmax(0,1fr))}}

/* BEGIN GENERATED ACCOUNT LOGIN CSS — build-account-login.cjs */
*,:after,:before{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness:proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgba(59,130,246,.5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }::backdrop{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness:proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgba(59,130,246,.5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }.tw-mt-1{margin-top:.25rem}.tw-mt-2{margin-top:.5rem}.tw-mt-4{margin-top:1rem}.tw-mt-7{margin-top:1.75rem}.tw-flex{display:flex}.tw-grid{display:grid}.tw-size-11{width:2.75rem;height:2.75rem}.tw-h-12{height:3rem}.tw-min-h-11{min-height:2.75rem}.tw-w-full{width:100%}.tw-shrink-0{flex-shrink:0}.tw-items-center{align-items:center}.tw-justify-center{justify-content:center}.tw-gap-2{gap:.5rem}.tw-gap-4{gap:1rem}.tw-rounded-lg{border-radius:.5rem}.tw-rounded-md{border-radius:.375rem}.tw-bg-\[var\(--accent\)\]{background-color:var(--accent)}.tw-px-3{padding-left:.75rem;padding-right:.75rem}.tw-text-sm{font-size:.875rem;line-height:1.25rem}.tw-font-bold{font-weight:700}.tw-font-medium{font-weight:500}.tw-font-semibold{font-weight:600}.tw-text-\[var\(--accent\)\]{color:var(--accent)}.tw-text-\[var\(--muted\)\]{color:var(--muted)}.tw-text-\[var\(--on-accent\)\]{color:var(--on-accent)}.tw-underline-offset-4{text-underline-offset:4px}html:has(.account-entry-page:not(.account-dashboard)){scrollbar-gutter:auto}:root .account-entry-page:not(.account-dashboard){position:relative;min-height:100vh;--entry-width:1080px;--entry-gutter:clamp(16px,3vw,36px);--paper:#f1f6fc;--surface:#fff;--surface-alt:#e7effa;--line:#d8e3f2;--field-line:#7d91ac;--ink:#162e53;--muted:#4d6481;--accent:#1b5ec5;--accent-hover:#154da4;--accent-soft:#e3edfd;--on-accent:#fff;--entry-navy:#112b55;--entry-grid:#81b4ff15;--radar-panel:#edf2fc;--radar-grid:#c0d1ef;--radar-line:#9eb6df;--radar-shadow:#d7e3fa;--radar-sheet:#f8fbff;--radar-land:#e8f0fc;--radar-wedge:#aac7f47d;--radar-beam:#386fc2;background:var(--paper);color:var(--ink)}:root[data-theme=dark] .account-entry-page:not(.account-dashboard){--paper:#141d2b;--surface:#1b283b;--surface-alt:#1b2b43;--line:#3a4e6b;--field-line:#8297b4;--ink:#eff5ff;--muted:#b1c4df;--accent:#a7c9ff;--accent-hover:#c2daff;--accent-soft:#263d5f;--on-accent:#132441;--entry-navy:#0b1b36;--radar-panel:#152238;--radar-grid:#263e5f;--radar-line:#4e6e9e;--radar-shadow:#101d33;--radar-sheet:#192c47;--radar-land:#203553;--radar-wedge:#6d9deb55;--radar-beam:#9abcff}:root body.account-entry-page:not(.account-dashboard):before{display:block;inset:0 50% 0 0;opacity:1;background-color:var(--entry-navy);background-image:linear-gradient(var(--entry-grid) 1px,transparent 1px),linear-gradient(90deg,var(--entry-grid) 1px,transparent 1px);background-size:42px 42px}:root[data-theme=dark] body.account-entry-page:not(.account-dashboard):before{opacity:1}.account-entry-page:not(.account-dashboard) .particle-background{display:none}.account-entry-page:not(.account-dashboard)>#main{display:flex;min-height:100vh;width:100%;align-items:center;justify-content:center;min-height:100svh;min-height:100dvh;max-width:none;margin:0;padding-block:max(88px,calc(72px + env(safe-area-inset-top,0px)),calc(16px + env(safe-area-inset-bottom,0px)));padding-inline:max(var(--entry-gutter),env(safe-area-inset-left,0px)) max(var(--entry-gutter),env(safe-area-inset-right,0px))}:root .account-entry-page:not(.account-dashboard)>.customer-header{position:absolute;z-index:10;display:flex;flex-wrap:nowrap;align-items:center;justify-content:space-between;gap:.75rem;inset:max(18px,env(safe-area-inset-top,0px)) max(var(--entry-gutter),env(safe-area-inset-right,0px)) auto max(var(--entry-gutter),env(safe-area-inset-left,0px));width:auto;max-width:var(--entry-width);min-height:46px;margin-inline:auto;padding:0;border:0;background:transparent}.account-entry-page:not(.account-dashboard)>.customer-header nav{width:auto;margin:0}.account-entry-page:not(.account-dashboard)>.customer-header .brand-logo{width:40px;height:40px}:root .account-entry-page:not(.account-dashboard)>.customer-header .brand-name{color:#f5f8ff;font-size:16px;white-space:nowrap}.account-entry-page:not(.account-dashboard)>.customer-header .theme-switch button{width:44px;height:44px;padding:0}.account-entry-page:not(.account-dashboard)>.customer-header .theme-switch button>span{display:none}.account-entry-page:not(.account-dashboard) #account-content{min-width:0}#account-auth:not([hidden]){display:grid;grid-template-columns:minmax(0,1.17fr) minmax(0,1fr);width:min(var(--entry-width),100%);min-height:544px;overflow:hidden;border:1px solid var(--line);border-radius:18px;background:var(--surface);box-shadow:0 22px 60px #10254c2b}.account-auth-illustration{display:grid;place-items:center;padding:clamp(22px,3.4vw,48px);background:var(--radar-panel);border-inline-end:1px solid var(--line)}.account-auth-illustration svg{display:block;width:100%;height:auto;max-width:480px}.account-auth-body{align-self:center;min-width:0;padding:clamp(30px,5vw,64px) clamp(26px,4.5vw,64px)}.account-auth-heading{padding-bottom:20px;border-block-end:1px solid var(--line)}:root #account-title{margin:0;color:var(--ink);font-size:clamp(24px,2.05vw,30px);line-height:1.25}.account-auth-footer .login-mode{padding-inline:0}@media(max-width:759px){:root body.account-entry-page:not(.account-dashboard):before{inset:0 0 auto;height:clamp(150px,32dvh,290px)}:root .account-entry-page:not(.account-dashboard)>.customer-header .text-button{color:#eef4ff}.account-entry-page:not(.account-dashboard)>.customer-header nav{gap:6px}#account-auth:not([hidden]){grid-template-columns:minmax(0,1fr);width:min(420px,100%);min-height:0;border-radius:16px}.account-auth-illustration{display:none}.account-auth-body{padding:26px clamp(20px,6vw,34px) 20px}.account-auth-heading{padding-bottom:16px}}@media(forced-colors:active),print{:root body.account-entry-page:not(.account-dashboard):before{display:none}:root .account-entry-page:not(.account-dashboard)>.customer-header :is(.brand-name,.text-button){color:CanvasText}}#account-form .login-field{display:flex;height:3rem;align-items:center;gap:.5rem;border-radius:.5rem;border-width:1px;border-style:solid;border-color:var(--field-line);background-color:var(--surface);padding-left:.75rem}#account-form .login-field:focus-within{border-color:var(--accent);--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000);--tw-ring-color:var(--accent)}#account-form .login-field>.icon{width:18px;height:18px;color:var(--muted);pointer-events:none}#account-form label{margin:0}:root #account-form .login-input{min-width:0;flex:1 1 0%;font-size:1rem;line-height:1.5rem;height:100%;min-height:0;padding:0 10px 0 0;border:0;outline:none;background:none;box-shadow:none}#account-form .login-field:has(input[aria-invalid=true]){border-color:var(--critical)}#account-form .login-error:empty{display:none}#account-form .login-error:not(:empty){margin:0;overflow-wrap:anywhere}#account-auth :is(.login-mode,.login-eye){border:0;background:none}#account-auth .login-submit{border:0}@media(prefers-reduced-motion:no-preference){#account-form .login-submit:not(:disabled):is(:active,[data-ui-pressed]){scale:.98}}.hover\:tw-bg-\[var\(--accent-hover\)\]:hover{background-color:var(--accent-hover)}.hover\:tw-text-\[var\(--accent\)\]:hover{color:var(--accent)}.hover\:tw-underline:hover{text-decoration-line:underline}

:root {
  color-scheme: light;
  /* Semantic color roles: canvas, surface, text, brand, success, warning, danger. */
  --paper: #f3f6f5;
  --surface: #fff;
  --surface-alt: #e9efed;
  --ink: #202a28;
  --muted: #4f605c;
  --quiet: #5b706b;
  --table-head: #f8fafc;
  --table-label: #475569;
  --line: #d0dcd8;
  --field-line: #7f9991;
  --accent: #205f58;
  --accent-hover: #194c47;
  --accent-soft: #dcece6;
  --on-accent: #fff;
  --green: #137055;
  --green-soft: #e4f2eb;
  --warning: #85540b;
  --warning-soft: #f8edda;
  --critical: #a82d39;
  --critical-soft: #fae9eb;
  --sidebar: #1c2524;
  --hero: #1b2929;
  --hero-line: #46645a;
  --hero-ink: #eef7f3;
  --hero-muted: #b9cdc5;
  --hero-signal: #9addc3;
  --radius: 12px;
  --control-radius: 8px;
  --control-size: 40px;
  --space-2: 8px;
  --space-4: 16px;
  --space-6: 24px;
  --space-8: 32px;
  --card-shadow: 0 1px 2px #1824350a;
  --card-hover: 0 6px 16px #18243513;
  --shell-sidebar: 256px;
  --shell-header: 64px;
  --motion-ui: 200ms;
  --shadow: 0 12px 32px #16272212;
  --ease: cubic-bezier(.2,.7,.25,1);
  --quick: 150ms;
  --enter: 220ms;
  --press-spring: cubic-bezier(.24,1.6,.42,1);
  --chrome: var(--paper);
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --paper: #111715;
  --surface: #1b2222;
  --surface-alt: #253030;
  --ink: #e9f1ef;
  --muted: #b5c4c1;
  --quiet: #9daea9;
  --table-head: var(--surface-alt);
  --table-label: var(--muted);
  --line: #3a4947;
  --field-line: #748b85;
  --accent: #90dbc2;
  --accent-hover: #a9e9d5;
  --accent-soft: #213d33;
  --on-accent: #112821;
  --green: #9ee0ba;
  --green-soft: #233e31;
  --warning: #f1cb83;
  --warning-soft: #3e3120;
  --critical: #ffadb6;
  --critical-soft: #422c31;
  --sidebar: #18201f;
  --hero: #202e2d;
  --hero-line: #648479;
  --shadow: 0 16px 40px #0003;
  --card-shadow: 0 1px 2px #0004;
  --card-hover: 0 6px 16px #0005;
}
:root h1, :root h2, :root h3, :root .eyebrow, :root .brand-name { letter-spacing: 0; }
:root :focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
:root ::selection { background: var(--accent-soft); color: var(--ink); }
:root body:is(.customer-page,.admin-login-page,.admin-page), :root body.customer-page.is-active {
  background-color: var(--paper); color: var(--ink);
}
.muted { color: var(--muted); }
.form-message:not(:empty), .dialog-form-error:not(:empty) {
  margin: 12px 0 0;
  padding: 8px 12px;
  border-inline-start: 2px solid var(--critical);
  border-radius: 4px;
  background: var(--critical-soft);
  color: var(--critical);
  font-size: 13px;
  overflow-wrap: anywhere;
  animation: signal-in var(--quick) var(--ease);
}
.admin-login-page .admin-login-form .form-message:not(:empty) {
  color: var(--critical);
}
.form-message.success:not(:empty) { background: var(--green-soft); color: var(--green); border-color: var(--green); }
.danger-text, .required { color: var(--critical) !important; }
:root :is(input:not([type="radio"],[type="checkbox"]), select, textarea, .input-shell) {
  border-color: var(--field-line);
  background: var(--surface);
  color: var(--ink);
}
:root :is(input,textarea)::placeholder { color: var(--quiet); }
:root .input-shell input { background: transparent; }
:root .input-shell > .icon { color: var(--muted); }
:root :is(input:not([type="radio"],[type="checkbox"]),select,textarea):focus,
:root .input-shell:focus-within {
  border-color: var(--accent);
  box-shadow: 0 0 0 2px var(--accent-soft);
}
:root .input-shell input:focus { outline: none; box-shadow: none; }
:root .input-shell input:-webkit-autofill,
:root .input-shell input:-webkit-autofill:focus { -webkit-box-shadow: 0 0 0 1000px var(--surface) inset; }
:root .input-shell:has(input[aria-invalid="true"]), :root input[aria-invalid="true"] { border-color: var(--critical); }
:root .button:not(.primary,.dark,.danger) { background: var(--surface); border-color: var(--line); color: var(--ink); }
:root .button:not(.primary,.dark,.danger):hover, :root .icon-button:hover { background: var(--surface-alt); color: var(--ink); }
:root .button.primary { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
:root .button.primary:hover { background: var(--accent-hover); border-color: var(--accent-hover); }
:root .button.dark { background: var(--accent-soft); border-color: var(--line); color: var(--ink); }
:root .button.dark:hover { border-color: var(--accent); }
:root .button.danger { background: var(--critical-soft); color: var(--critical); border-color: var(--critical); }
.text-button:hover { color: var(--accent); }
.skip-link { background: var(--accent); color: var(--on-accent); }
.copied > .icon { animation: signal-check var(--enter) var(--ease); }
.page-loading { color: var(--muted); }

/* Keep the frame quiet; status and data carry the contrast. */
:root :is(.customer-page,.admin-login-page) .customer-header {
  position: relative; padding-block: 16px; border-bottom: 1px solid var(--line);
}
:root .customer-header > .theme-switch { margin-inline-start: auto; }
.customer-page .brand-logo, .admin-login-page .brand-logo { border-radius: 8px; filter: none; }
.customer-page .brand-name, .admin-login-page .brand-name { font-size: 15px; font-weight: 650; }
.account-page:has(#account-auth:not([hidden])) #main.access-shell {
  display: grid; grid-template-columns: minmax(0,1fr); place-items: center; flex: 1; padding-block: 24px 48px;
}
.account-page #main.access-shell .account-auth { margin: 0; }
@media (min-width: 761px) {
  :root body.customer-page:has(#entry:not([hidden]),#account-auth:not([hidden])) #main.access-shell,
  :root body.admin-login-page .admin-login-main {
    align-items: start; padding-block-start: clamp(48px, 11vh, 108px);
  }
}
:root .account-auth.entry-form-wrap,
:root body.admin-login-page .admin-login-form {
  background: var(--surface);
  border: 1px solid var(--line);
  border-inline-start: 3px solid var(--accent);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
:root .account-auth h1, :root .admin-login-page h1 {
  font-size: 28px; line-height: 1.3; letter-spacing: 0;
}
.account-auth h1 { margin: 20px 0 0; }
:root .admin-login-page .admin-login-form form { margin-top: 24px; }
:root :is(#login-form,#guest-form,#reseller-login) label { font-size: 13px; }
:root :is(#login-form,#guest-form,#reseller-login) .input-shell input,
:root :is(#login-form,#guest-form,#reseller-login) .input-shell input::placeholder { font-size: 16px; letter-spacing: 0; }
:root :is(#login-form,#guest-form,#reseller-login) .button[type="submit"] { height: 48px; margin-top: 16px; justify-content: center; font-size: 14px; }
.input-shell [data-toggle-password] { min-width: 44px; min-height: 44px; }
.entry-context { display: flex; align-items: center; gap: 8px; margin-bottom: 12px; color: var(--accent); font-size: 13px; font-weight: 600; }
.entry-context .icon { width: 16px; height: 16px; }
.simple-login-footer { color: var(--muted); }
.account-auth:has(form[aria-busy]), .admin-login-form:has(form[aria-busy]) { border-inline-start-color: var(--accent-hover); }

/* The selected tab moves without rebuilding the navigation or changing control sizes. */
.account-tabs {
  --tab-offset: 0%;
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  width: max-content;
  max-width: 100%;
  gap: 0;
  border: 1px solid var(--line);
  padding: 3px;
  border-radius: 8px;
  background: var(--surface-alt);
}
.account-tabs:has(button:nth-child(2)[aria-pressed="true"]) { --tab-offset: 100%; }
.account-tabs::before {
  content: "";
  position: absolute;
  inset: 3px auto 3px 3px;
  width: calc((100% - 6px)/2);
  z-index: -1;
  border-radius: 5px;
  background: var(--surface);
  transform: translateX(var(--tab-offset));
  transition: transform var(--enter) var(--ease);
}
:root .account-tabs .filter-tab {
  justify-content: center;
  min-height: 36px;
  padding: 6px 12px;
  margin: 0;
  color: var(--muted);
  background: transparent;
  box-shadow: none;
}
:root .account-tabs .filter-tab[aria-pressed="true"] { background: transparent; color: var(--accent); }
.view-enter { animation: signal-in var(--enter) var(--ease); }

/* The connection surface is dark in both themes so state and signal have one clear home. */
:root .connection-hero {
  background: var(--hero);
  color: var(--hero-ink);
  border-color: var(--hero-line);
  border-radius: var(--radius);
  box-shadow: none;
}
:root .connection-hero::before {
  content: ""; position: absolute; inset: 20px auto auto 0; height: 28px; width: 3px;
  background: var(--hero-signal); pointer-events: none;
}
:root .connection-hero:is([data-state="expired"],[data-state="offline"])::before { background: var(--warning); }
:root .connection-hero :is(#connection-title,#remaining) { color: var(--hero-ink); letter-spacing: 0; }
:root .connection-hero[data-state="expired"] #remaining { color: #ffadb6; }
:root .connection-hero :is(#connection-subtitle,.hero-status-note,#line-id,.validity-label,#exphint,.validity-footnote,.engine-label) { color: var(--hero-muted); }
:root .connection-hero .status-pill { color: var(--hero-signal); }
:root .connection-hero .status-pill.neutral { color: var(--hero-muted); }
:root .connection-hero .status-pill.warning,
:root .connection-hero:is([data-state="checking"],[data-state="processing"]) .status-pill { color: #f1cb83; }
:root .connection-hero .status-pill.expired { color: #ffadb6; }
:root .connection-hero .hero-control-actions .button,
:root .connection-hero .line-region .button {
  background: #ffffff08; border-color: var(--hero-line); color: var(--hero-ink);
}
:root .connection-hero .hero-control-actions .button:hover,
:root .connection-hero .line-region .button:hover { background: #ffffff16; }
:root .connection-hero .hero-control-actions .hero-stop-button { color: #ffb9c0; }
:root .connection-hero :focus-visible { outline-color: var(--hero-signal); }
.connection-topline > span:first-child { color: var(--muted); }
.activation-mark {
  display: inline-flex; align-items: center; gap: 4px; color: var(--hero-signal);
  font-size: 12px; font-weight: 600; white-space: nowrap;
}
.activation-mark .icon { width: 16px; height: 16px; }
.connection-workspace.line-enter .connection-hero { animation: signal-in var(--enter) var(--ease); }
.connection-workspace.line-activated .connection-hero::after {
  content: ""; position: absolute; inset: 0 auto auto 0; z-index: 0; width: 32%; height: 2px;
  background: var(--hero-signal);
  pointer-events: none;
  animation: signal-scan 540ms var(--ease) both;
}
.line-activated .activation-mark .icon { animation: signal-check 260ms var(--ease); }
.connection-board { align-items: start; }
:root :is(.credentials-card,.team-card) {
  background: var(--surface); border: 1px solid var(--line); color: var(--ink);
  border-radius: var(--radius); box-shadow: none;
}
:root .team-card-top { align-items: center; margin-bottom: 10px; }
:root .team-card h2 { color: var(--ink); }
:root .team-card label, :root .team-card-hint { color: var(--muted); }
:root .team-link { border-color: var(--field-line); background: var(--surface); color: var(--muted); }
:root .team-link input { background: transparent; }
:root .credentials-grid { gap: 1px; border: 1px solid var(--line); border-radius: 6px; background: var(--line); overflow: hidden; }
:root .credential { background: var(--surface-alt); border: 0; border-radius: 0; }
:root .credential-label, :root .credential-label span, :root .room-code-note { color: var(--muted); }
:root .credential strong, :root .room-code-note strong { color: var(--ink); }
:root .connection-card-symbol { background: var(--accent-soft); color: var(--accent); border-radius: 8px; }
#account-content .account-heading [data-account-action="line-create"] { min-height: 44px; }
.account-create-dialog { --control-size: 44px; }
.account-create-dialog .icon-button { min-width: 44px; min-height: 44px; }
.account-create-dialog #action-code { font-size: 16px; }
.account-create-dialog .dialog-form-error:empty { display: none; }

/* Shared workspace surfaces and feedback. */
:root :is(.dialog,.drawer,.table-surface,.table-callout,.admin-topbar) {
  background: var(--surface); color: var(--ink); border-color: var(--line); border-radius: var(--radius);
}
:root :is(.drawer,.admin-topbar) { border-radius: 0; }
:root .dialog:not(.drawer) { box-shadow: var(--shadow), 0 12px 48px #07141022; }
:root .dialog .dialog-head { background: var(--surface); border-color: var(--line); }
:root .dialog .dialog-foot:not(:empty) { border-top: 1px solid var(--line); }
:root .dialog:has(#studio-membership-change)[open] {
  display: flex; flex-direction: column; max-height: calc(100dvh - 32px); overflow: hidden;
}
.dialog:has(#studio-membership-change) :is(.dialog-head,.dialog-foot) { flex: none; }
.dialog:has(#studio-membership-change) .dialog-head { padding: 12px 24px; }
.dialog:has(#studio-membership-change) .dialog-body {
  min-height: 0; padding: 16px 24px; overflow: auto; overscroll-behavior: contain;
}
.dialog:has(#studio-membership-change) .dialog-foot { gap: 8px; padding: 12px 24px; }
#studio-membership-change .check-label {
  min-height: 44px; margin-bottom: 12px; padding: 8px 12px;
  border: 1px solid var(--line); border-radius: var(--radius); cursor: pointer;
}
#studio-membership-change .check-label:has(input:checked) {
  background: var(--critical-soft); border-color: var(--critical); color: var(--critical);
}
#studio-membership-change .check-label input {
  flex: none; width: 18px; height: 18px; min-height: 0; padding: 0; margin: 0;
  accent-color: var(--critical);
}
#studio-membership-change .field { margin-bottom: 14px; }
#studio-membership-change .field:last-of-type { margin-bottom: 0; }
#studio-membership-change input[name="until"]:disabled { background: var(--surface-alt); color: var(--muted); }
#studio-membership-change .dialog-form-error:empty { margin: 0; min-height: 0; }
#studio-membership-change [data-studio-impact]:not([hidden]) {
  display: grid; gap: 6px; margin-top: 14px; padding: 12px;
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  line-height: 1.55; overflow-wrap: anywhere;
}
#studio-membership-change [data-studio-impact] h3 { font-size: 14px; }
#studio-membership-change [data-studio-impact] ul { margin: 0; padding-inline-start: 20px; }
@media (max-width: 540px) {
  .dialog:has(#studio-membership-change) :is(.dialog-head,.dialog-body,.dialog-foot) { padding-inline: 16px; }
  #studio-membership-change :is(input:not([type="checkbox"]),textarea) { font-size: 16px; }
}
:root .dialog .dialog-head h2 { font-size: 18px; font-weight: 650; }
:root .dialog [data-close-dialog].icon-button { min-width: 40px; min-height: 40px; }
:root .dialog .eyebrow { color: var(--accent); }
:root body .dialog[open] { animation: signal-in var(--enter) var(--ease); }
:root body .drawer[open] { animation: drawer-in var(--enter) var(--ease); }
:root body .dialog[open]::backdrop { background: #0b171361; backdrop-filter: none; animation: signal-scrim 160ms var(--ease); }
:root[data-theme="dark"] body .dialog[open]::backdrop { background: #050b09a0; }
@supports (backdrop-filter: blur(1px)) {
  @media (min-width: 761px) and (prefers-contrast: no-preference) {
    @media not (prefers-reduced-transparency: reduce) {
      :root .admin-topbar {
        background: color-mix(in srgb, var(--surface) 88%, transparent);
        backdrop-filter: blur(10px);
      }
      :root body .dialog[open]::backdrop { backdrop-filter: blur(5px); }
      :root body .dialog[open]:has(~ .dialog[open])::backdrop { backdrop-filter: none; }
    }
  }
}
:root .toast { background: var(--hero); color: var(--hero-ink); border: 1px solid var(--hero-line); animation: signal-in 180ms var(--ease); }
:root .toast.error, :root .error-banner { background: var(--critical-soft); color: var(--critical); border-color: var(--critical); }
:root .status-pill.running { background: var(--green-soft); color: var(--green); }
:root .status-pill.neutral:not(#status-pill) { background: var(--surface-alt); color: var(--muted); }
:root .status-pill.warning:not(#status-pill) { background: var(--warning-soft); color: var(--warning); }
:root :is(.status-pill.expired,.status-pill.error):not(#status-pill) { background: var(--critical-soft); color: var(--critical); }
.admin-page .sidebar { background: var(--sidebar); }
.admin-page .sidebar nav a { min-height: 36px; border-radius: 6px; letter-spacing: 0; }
.admin-page .sidebar .nav-caption { letter-spacing: 0; }
.admin-page .admin-topbar { position: sticky; top: 0; z-index: 15; height: 60px; }
.admin-page .admin-topbar > div:first-child { min-width: 0; }
.admin-page .admin-topbar .topbar-right { display: flex; }
.admin-page .admin-content .page-heading { margin-bottom: 20px; }
.admin-page .admin-content .page-heading h1 { font-size: 26px; font-weight: 650; }
.admin-page .sidebar nav a[aria-current="page"] { background: #2a453a; color: #ddf2e8; }
.admin-page .sidebar nav a[aria-current="page"]::before { background: var(--hero-signal); }
.admin-page .sidebar nav a[aria-current="page"] > .icon { color: var(--hero-signal); }
.admin-page .sidebar :focus-visible { outline-color: var(--hero-signal); }
.admin-page :is(.instance-name small,.table-subtext,.table-footer,.table-callout p,.topbar-right,.admin-footer,.section-description) { color: var(--muted); }
.admin-page :is(.instance-name strong,.table-callout strong,.card-code,.settings-capacity h3) { color: var(--ink); }
.admin-page :is(.filter-tabs,.count-badge,.instance-symbol,.table-pin,.row-detail:hover,.settings-note,.batch-result) { background: var(--surface-alt); border-color: var(--line); color: var(--muted); }
.admin-page :is(.table-footer,.row-detail,.table-pin,.table-tools) { border-color: var(--line); }
.admin-page :is(.table-date,.row-detail,.table-callout .text-button,.admin-category-nav a,.empty-state,.empty-state strong) { color: var(--muted); }
.admin-page :is(.sidebar-link,.admin-profile small,.workspace-switch small,.nav-caption) { color: var(--hero-muted); }
.admin-page :is(.node-card-icon,.node-card-actions,.node-heartbeat,.node-card-status) { background: var(--surface-alt); border-color: var(--line); }
.admin-page :is(.node-card-address,.node-card-facts dt,.node-card-count,.node-card-status,.heartbeat-head,.heartbeat-head small,.heartbeat-times,.node-sync-state,.node-tool) { color: var(--muted); }
.admin-page .node-card-status[data-state="migrating"] { background: var(--warning-soft); color: var(--warning); }
.admin-page .node-sync-state[data-sync-state="failed"] { color: var(--critical); }
.admin-page .heartbeat-track span:not([data-health]) { background: var(--line); }
.user-record-drawer :is(.user-record-meta,.user-record-count,.user-record-empty,.user-history p span) { color: var(--muted); }
.admin-page .table-titlebar h2 { font-size: 17px; font-weight: 650; }
.admin-page .admin-content .page-heading h1 { text-wrap:balance; }
.admin-page .admin-content :is(.stat-number,.table-footer,.table-date,.mono) { font-variant-numeric:tabular-nums; }
.admin-page .admin-card-tools .menu-panel {
  inset-inline:0 auto; min-width:156px; border-radius:8px; background:var(--surface); color:var(--ink);
}
.admin-page .admin-card-tools .menu-panel button { min-height:44px; }
.admin-page .admin-card-tools summary:focus-visible { outline-offset:2px; }
.admin-page .card-section[aria-pressed="true"] { border-color:var(--accent); background:var(--accent-soft); box-shadow:none; }
.admin-page .card-section[aria-pressed="true"] > span { color:var(--accent); }
.admin-page .filter-tab { color: var(--muted); }
.admin-page .filter-tab[aria-pressed="true"] { background: var(--surface); color: var(--accent); }
.admin-page .capacity-line { background: var(--line); }
.admin-page .capacity-line > span { background: var(--green); }
.account-page :is(.account-stats,.line-overview), .reseller-page .reseller-summary { background: var(--chrome); }
.account-page .instance-card { box-shadow: none; }
.account-page .instance-card:focus-within { border-color: var(--field-line); }
:root .deployment-dialog { --deploy-action: var(--accent); --deploy-hover: var(--accent-hover); --deploy-warning: var(--warning); }
:root body .deployment-dialog[open] { animation: signal-scrim 180ms var(--ease); }
:root .deployment-dialog .dialog-foot .button.primary:not(:disabled) { color: var(--on-accent); }
.deployment-content[data-direction="next"] > form { --step-start: 10px; }
.deployment-content[data-direction="back"] > form { --step-start: -10px; }
:root .deployment-content > form { animation: step-slide 200ms var(--ease); }
.customer-page .is-pending > .load-track::after { background: var(--accent); }
.theme-transitioning body,
.theme-transitioning body :is(.customer-header,.admin-topbar,.entry-form-wrap,.admin-login-form,.table-surface,.stats-grid,.credentials-card,.credential,.team-card,.input-shell,.button,input,select,.theme-switch,.dialog) {
  transition: background-color var(--enter) var(--ease), color var(--enter) var(--ease), border-color var(--enter) var(--ease);
}
:root .theme-switch, :root[data-theme="dark"] .customer-header .theme-switch { background: var(--surface-alt); border-color: var(--line); }
:root .theme-switch::before, :root[data-theme="dark"] .theme-switch::before {
  background: var(--surface); transition: transform var(--enter) var(--ease), background-color var(--enter) var(--ease);
}
:root .theme-switch button[aria-pressed="true"] { color: var(--accent); }
.admin-theme {
  position: relative; isolation: isolate; flex: none; display: grid; grid-template-columns: repeat(2,1fr);
  border: 1px solid var(--line); border-radius: 8px; padding: 2px;
}
.admin-theme::before {
  content: ""; position: absolute; inset: 2px auto 2px 2px; width: calc((100% - 4px)/2);
  border-radius: 5px; transform: translateX(0); z-index: -1;
}
.theme-switch:has([data-theme-choice="dark"][aria-pressed="true"])::before { transform: translateX(100%); }
.admin-theme button { border: 0; background: none; color: var(--muted); width: 32px; height: 32px; border-radius: 5px; }
.admin-theme .icon { width: 15px; height: 15px; color: inherit; }

/* Legacy console components with fixed light colors need explicit night states. */
:root[data-theme="dark"] .customer-header .brand-name { color: var(--ink); }
:root[data-theme="dark"] .customer-header :is(.brand-name small,.text-button),
[data-theme="dark"] .customer-page .customer-footer { color: var(--muted); }
:root[data-theme="dark"] .customer-header .text-button:hover { color: var(--accent); }
:root[data-theme="dark"] .customer-header [data-action="switch"] { background: var(--surface); border-color: var(--line); color: var(--ink); }
:root[data-theme="dark"] .customer-header [data-action="switch"]:hover { color: var(--accent); }
[data-theme="dark"] .customer-header .theme-switch button[aria-pressed="true"] { color: var(--accent); }
:root[data-theme="dark"] :is(.theme-switch,.account-tabs)::before {
  background: var(--accent-soft); box-shadow: inset 0 0 0 1px var(--field-line);
}
[data-theme="dark"] .input-shell > .icon-button { color: var(--muted); }
[data-theme="dark"] .input-shell > .icon-button:hover { color: var(--ink); background: var(--surface-alt); }
[data-theme="dark"] .admin-login-page .input-shell input::placeholder { color: var(--quiet); }

[data-theme="dark"] .connection-hero[data-state="expired"] { background: var(--critical-soft); }
[data-theme="dark"] :is(.connection-topline,.connection-section-label,.credential .icon-button,
  .room-code-note > .icon,.team-link > .icon) { color: var(--muted); }
[data-theme="dark"] .connection-card-symbol,
[data-theme="dark"] :is(.customer-page .customer-footer,.room-code-note) { border-color: var(--line); }
[data-theme="dark"] .team-link input { color: var(--ink); }
[data-theme="dark"] .team-link:focus-within { outline-color: var(--accent); border-color: var(--accent); }

[data-theme="dark"] :is(.soft-note,.help-note,.detail-address,.time-summary > span,.bulk-toolbar,.card-plan-filters .filter-tab) {
  background: var(--surface-alt); border-color: var(--line); color: var(--muted);
}
[data-theme="dark"] :is(.detail-hero strong,.detail-grid p,.detail-address span,.soft-note strong,.batch-result h3) {
  color: var(--ink);
}
[data-theme="dark"] .help-steps li::before { color: var(--muted); }
[data-theme="dark"] :is(.help-steps p,.dialog-intro,.detail-hero small,.detail-grid label,.log-heading > span,
  .detail-danger-zone p,.table-titlebar .muted,.table-pin > .icon,.page-heading .eyebrow,.card-section small,
  .batch-result > p,.settings-form label,.settings-form .field-hint,.cleanup-record small,.cleanup-result) { color: var(--muted); }
[data-theme="dark"] :is(.detail-danger-zone,.batch-codes) { border-color: var(--line); }
[data-theme="dark"] :is(.batch-codes,.duration-option) {
  background: var(--surface); border-color: var(--field-line); color: var(--ink);
}
[data-theme="dark"] .menu-panel { background: var(--surface); }
[data-theme="dark"] :is(.card-section[aria-pressed="true"],
  .card-plan-filters .filter-tab[aria-pressed="true"],.duration-option[aria-pressed="true"]) {
  background: var(--accent-soft); border-color: var(--accent); color: var(--accent);
}
[data-theme="dark"] .card-section[aria-pressed="true"] > span { color: var(--accent); }
[data-theme="dark"] .card-table input[type="checkbox"] { accent-color: var(--accent); }
[data-theme="dark"] :is(.node-port-meter,.heartbeat-track [data-health="0"]) { background: var(--line); }
[data-theme="dark"] .node-port-meter::-webkit-meter-bar { background: var(--line); }
[data-theme="dark"] .heartbeat-track [data-health="1"] { background: var(--green); }
[data-theme="dark"] .heartbeat-track [data-health="2"] { background: var(--critical); }
[data-theme="dark"] .heartbeat-track [data-health="3"] { background: var(--warning); }
[data-theme="dark"] .node-card-status[data-state="enabled"] { background: var(--green-soft); color: var(--green); }
[data-theme="dark"] .node-sync-state[data-sync-state="ready"] { color: var(--green); }

/* One shared backdrop keeps the data surfaces translucent without text behind them. */
@supports ((backdrop-filter: blur(12px)) or (-webkit-backdrop-filter: blur(12px))) and (color: color-mix(in srgb, black, white)) {
  @media not ((prefers-reduced-transparency: reduce) or (prefers-contrast: more) or (forced-colors: active)) {
    .node-card-grid { position: relative; isolation: isolate; }
  .node-card-grid::before {
      content: ""; position: absolute; inset: -24px -8px; z-index: -1; pointer-events: none;
      background: linear-gradient(112deg, transparent 6%, color-mix(in srgb, var(--accent) 12%, transparent) 43%, transparent 88%);
      mask-image: linear-gradient(transparent, #000 22% 78%, transparent),
        linear-gradient(90deg, transparent, #000 10% 90%, transparent);
      mask-composite: intersect;
    }
    .node-card-grid .node-card {
      background: linear-gradient(155deg, color-mix(in srgb, var(--surface-alt) 76%, transparent),
        color-mix(in srgb, var(--surface) 78%, transparent) 65%);
      border-color: color-mix(in srgb, var(--ink) 14%, var(--line));
      box-shadow: 0 4px 12px #10191812, inset 0 1px 0 color-mix(in srgb, var(--ink) 10%, transparent);
    }
    .node-card-grid .node-card :is(.node-heartbeat,.node-card-actions) {
      background: color-mix(in srgb, var(--surface-alt) 45%, transparent);
    }
    /* Blur only the desktop material layer, not the scrolling card content. */
    @media (min-width: 761px) {
      .node-card-grid .node-card { position: relative; isolation: isolate; }
      .node-card-grid .node-card::before {
        content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; pointer-events: none;
        -webkit-backdrop-filter: blur(12px);
        backdrop-filter: blur(12px);
      }
    }
  }
}

.node-card-grid .node-card:focus-within { border-color: var(--field-line); }
@media (hover: hover) and (pointer: fine) {
  .node-card-grid .node-card:hover { border-color: var(--field-line); }
}
@media (prefers-reduced-motion: no-preference) {
  .node-card-grid .node-card {
    transition: translate 300ms var(--press-spring), scale 300ms var(--press-spring), border-color 160ms var(--ease);
  }
  .node-card-grid .node-card:has(.button:not(:disabled,[aria-disabled="true"]):is(:active,[data-ui-pressed])) {
    transition-timing-function: var(--ease);
    transition-duration: 85ms;
    scale: .992;
  }
  @media (hover: hover) and (pointer: fine) {
    .node-card-grid .node-card:hover { translate: 0 -3px; }
  }
}

@keyframes signal-in { from { opacity: .65; translate: 0 4px; } }
@keyframes signal-check { from { opacity: .55; transform: scale(.75); } }
@keyframes signal-scan {
  0% { opacity: 0; transform: translateX(-100%); }
  18% { opacity: 1; }
  75% { opacity: .8; }
  100% { opacity: 0; transform: translateX(320%); }
}
@keyframes drawer-in { from { opacity: .75; translate: 10px 0; } }
@keyframes signal-scrim { from { opacity: 0; } }
@keyframes step-slide { from { opacity: .6; transform: translateX(var(--step-start,0)); } }

@media (max-width: 640px) {
  html:has(body.customer-page) { scrollbar-gutter: auto; }
  .admin-theme button { width: 44px; height: 44px; }
  .admin-page .admin-topbar { gap: 8px; }
  .admin-page .admin-topbar > div:first-child > :is(.muted,.icon) { display: none; }
  .admin-login-page .customer-header nav .text-button { min-height: 44px; }
  .admin-login-page .customer-header nav .text-button span { display: none; }
  :root .account-auth h1, :root .admin-login-page h1 { font-size: 25px; }
  :root .account-page .account-auth .entry-form-body { padding: 22px; }
  :root .account-tabs .filter-tab { min-height: 44px; }
  :root .connection-workspace .connection-hero { padding: 16px; gap: 12px; }
  :root .connection-workspace .hero-control-actions { gap: 6px; }
  :root .connection-workspace .connection-validity { padding-block: 10px; }
  :root .connection-hero .hero-control-actions .button,
  :root .connection-workspace :is(.credential .icon-button,.credential-actions .button,.team-card > .button) { min-height: 44px; }
  :root .connection-workspace .credential { position: relative; padding: 12px; }
  :root .connection-workspace .credential-label { padding-inline-end: 32px; }
  :root .connection-workspace .credential-label > span { display: none; }
  :root .connection-workspace .credential strong { font-size: 18px; }
  :root .connection-workspace .credential > div { display: block; margin-top: 12px; }
  :root .connection-workspace .credential .icon-button { position: absolute; inset: 0 2px auto auto; min-width: 44px; }
}
@media (max-width: 540px) {
  .guest-config-fields > div:nth-child(even of :not([hidden])):not(:has(~ div:not([hidden]))) { grid-column: 1/-1; }
}
@media (max-width: 640px), (max-height: 480px) {
  :is(.account-create-dialog,.station-dialog)[open] {
    display: flex; flex-direction: column; max-height: calc(100dvh - 24px); overflow: hidden;
  }
  :is(.account-create-dialog,.station-dialog) :is(.dialog-head,.dialog-foot) { flex: none; }
  :is(.account-create-dialog,.station-dialog) :is(.dialog-head,.dialog-body,.dialog-foot) { padding-inline: 16px; }
  :is(.account-create-dialog,.station-dialog) .dialog-body { min-height: 0; padding-block: 16px; overflow: auto; overscroll-behavior: contain; }
  :is(.account-create-dialog,.station-dialog) .dialog-foot { padding-block-end: 12px; }
  .station-dialog :is(input,select) { font-size: 16px; }
  .station-dialog :is(.button,.icon-button) { min-height: 44px; }
  .station-dialog .icon-button { min-width: 44px; }
}
@media (prefers-reduced-motion: reduce) {
  :root body, :root body *, :root body *::before, :root body *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
  :root .spinner { border-color: currentColor; border-inline-end-color: transparent; }
}

/* The split layout remains for administrator and guest access. */
:root .access-page:has(.access-form:not([hidden]),#reseller-boot:not([hidden])) {
  --paper:#f4f5f2; --surface:#fff; --surface-alt:#e9eeea;
  --ink:#202923; --muted:#52635a; --line:#d6ddd6; --field-line:#83948a;
  --access-action:#244137; --access-action-hover:#31604e; --access-action-ink:#fff;
  display:flex; flex-direction:column; min-height:100svh;
}
:root[data-theme="dark"] .access-page:has(.access-form:not([hidden]),#reseller-boot:not([hidden])) {
  --paper:#171e1c; --surface:#202925; --surface-alt:#29352f;
  --ink:#edf1eb; --muted:#b2c0b6; --line:#3e4c44; --field-line:#76897e;
  --access-action:#dcebe1; --access-action-hover:#f7fbf8; --access-action-ink:#192b22;
}
:root .access-page:has(.access-form:not([hidden]),#reseller-boot:not([hidden])) > .customer-header {
  width:100%; max-width:none; min-height:70px; margin:0; padding:0 clamp(24px,5vw,88px);
  flex-wrap:nowrap; gap:12px; background:var(--paper); border-bottom:1px solid var(--line);
}
.access-page:has(.access-form:not([hidden]),#reseller-boot:not([hidden])) .customer-header nav {
  width:auto; margin-inline-start:auto; gap:14px;
}
.access-page:has(.access-form:not([hidden]),#reseller-boot:not([hidden])) :is(.customer-footer,.simple-login-footer) {
  display:none;
}
:root body.access-page:has(.access-form:not([hidden]),#reseller-boot:not([hidden])) > .access-shell:is(#main,.admin-login-main) {
  position:relative; isolation:isolate; flex:1; width:100%; max-width:none; min-height:0; margin:0;
  display:grid; grid-template-columns:minmax(0,45fr) minmax(0,55fr); align-content:center; justify-content:stretch;
  align-items:start; justify-items:end; gap:12px 0; padding:36px 0 42px;
}
.access-page:has(.access-form:not([hidden]),#reseller-boot:not([hidden])) .access-shell::before {
  content:""; position:absolute; z-index:-1; inset:0 0 0 45%; pointer-events:none;
  background-color:#172523; background-position:center; background-size:cover; background-repeat:no-repeat;
  border-inline-start:1px solid var(--line);
}
.access-page:has(.access-form:not([hidden])) .access-shell::before { background-image:url("/static/login-radar.webp"); }
:root .access-page .access-shell > .access-form,
:root .access-page:has(#reseller-boot:not([hidden]),.reseller-entry:not([hidden])) :is(#reseller-error,#reseller-boot) {
  grid-column:1; width:min(calc(100% - 64px),430px); max-width:none; min-width:0;
  margin:0 max(28px,4vw) 0 0;
}
:root .access-page .access-shell > .access-form,
:root .access-page .access-form .entry-form-wrap {
  padding:0; border:0; border-radius:0; box-shadow:none; background:transparent;
  overflow:visible; backdrop-filter:none;
}
:root .access-page .access-form .entry-form-body { padding:0; }
.access-page .access-form .reseller-entry-mark,
.access-page .access-form.reseller-entry::before { display:none; }
:root .access-page .access-form h1 {
  margin:0; font-size:38px; line-height:1.2; font-weight:700; letter-spacing:0; overflow-wrap:anywhere;
}
.access-page .access-form .entry-context {
  margin-bottom:12px; color:var(--green); font-size:13px; gap:7px;
}
.access-page .access-form .account-tabs { margin-bottom:19px; }
:root .access-page .access-form form { margin-top:24px; }
.access-page .access-form .reseller-entry-heading { margin-bottom:0; }
.access-page .access-form .input-shell { padding-inline:12px; }
:root .access-page .access-form .input-shell input { min-height:49px; padding-block:10px; }
.access-page .access-form label { color:var(--ink); }
.access-page .access-form .form-message:empty { display:none; }
:root .access-page .access-form form .button.primary {
  border-color:transparent; background:var(--access-action); color:var(--access-action-ink);
  min-height:48px; border-radius:7px;
}
:root .access-page .access-form form .button.primary:not(:disabled):hover {
  background:var(--access-action-hover);
}
.access-page .access-form .purchase-entry { margin-top:13px; }
.access-page .access-form .purchase-entry:focus-visible { outline-offset:2px; }
@media(max-width:760px) {
  :root .access-page:has(.access-form:not([hidden]),#reseller-boot:not([hidden])) { --access-band:92px; }
  :root .access-page:has(.access-form:not([hidden]),#reseller-boot:not([hidden])) > .customer-header {
    min-height:63px; padding:0 16px;
  }
  .access-page:has(.access-form:not([hidden]),#reseller-boot:not([hidden])) .customer-header nav { gap:7px; }
  .access-page:has(.access-form:not([hidden]),#reseller-boot:not([hidden])) :is(.brand-logo,.brand img) { width:32px; height:32px; }
  .access-page:has(.access-form:not([hidden]),#reseller-boot:not([hidden])) .brand { gap:6px; }
  .access-page:has(.access-form:not([hidden]),#reseller-boot:not([hidden])) .brand-name { font-size:14px; }
  :root .access-page:has(.access-form:not([hidden]),#reseller-boot:not([hidden])) .customer-header .theme-switch button {
    width:44px; min-height:44px; padding:0;
  }
  .access-page:has(.access-form:not([hidden]),#reseller-boot:not([hidden])) .theme-switch button > span,
  .access-page:has(.access-form:not([hidden])) .customer-header .text-button > span { display:none; }
  .access-page[data-page="customer"]:has(.access-form:not([hidden])) .customer-header .text-button { min-width:32px; min-height:44px; }
  :root body.access-page:has(.access-form:not([hidden]),#reseller-boot:not([hidden])) > .access-shell:is(#main,.admin-login-main) {
    grid-template-columns:minmax(0,1fr); justify-items:center; align-content:start;
    padding:calc(var(--access-band) + 23px) 18px 26px;
  }
  .access-page:has(.access-form:not([hidden]),#reseller-boot:not([hidden])) .access-shell::before {
    inset:0 0 auto; height:var(--access-band); border:0; border-bottom:1px solid var(--line);
    background-position:50% 49%;
  }
  :root .access-page .access-shell > .access-form,
  :root .access-page:has(#reseller-boot:not([hidden]),.reseller-entry:not([hidden])) :is(#reseller-error,#reseller-boot) {
    width:min(100%,430px); margin:0;
  }
  :root .access-page .access-form h1 { font-size:29px; }
  .access-page .access-form .account-tabs { margin-bottom:14px; }
  :root .access-page .access-form form { margin-top:17px; }
  .access-page .access-form .field { margin-bottom:12px; }
}
@media(max-width:760px) and (max-height:670px) {
  :root .access-page:has(.access-form:not([hidden]),#reseller-boot:not([hidden])) { --access-band:57px; }
}
@media(forced-colors:active) {
  .access-page:has(.access-form:not([hidden]),#reseller-boot:not([hidden])) .access-shell::before { background-image:none; }
}

.mobile-bottom-nav { display:none; }
@media(width < 960px) {
  :root {
    --mobile-nav-height:60px;
    --mobile-nav-inset:env(safe-area-inset-bottom,0px);
    --mobile-nav-space:calc(var(--mobile-nav-height) + var(--mobile-nav-inset) + 1px);
  }
  .mobile-bottom-nav {
    position:fixed; z-index:20; inset:auto 0 0; grid-auto-flow:column; grid-auto-columns:minmax(0,1fr);
    padding-inline:max(8px,env(safe-area-inset-left,0px)) max(8px,env(safe-area-inset-right,0px));
    padding-block-end:var(--mobile-nav-inset); border-block-start:1px solid var(--line); background:var(--surface);
  }
  .mobile-bottom-nav > :is(a,button) {
    position:relative; display:grid; justify-items:center; align-content:center; gap:4px; height:var(--mobile-nav-height);
    padding:4px; border:0; background:none; color:var(--muted); font-size:13px; line-height:1.2; text-align:center;
  }
  .mobile-bottom-nav > :focus-visible { outline-offset:-4px; }
  .mobile-bottom-nav .icon { width:20px; height:20px; }
  .mobile-bottom-nav > :is([aria-current],[aria-pressed="true"]) { color:var(--accent); font-weight:650; }
  .mobile-bottom-nav > :is([aria-current],[aria-pressed="true"])::before {
    content:""; position:absolute; inset:0 auto auto calc(50% - 12px); width:24px; border-block-start:2px solid currentColor;
  }
}
@media(640px < width < 960px) {
  html:has(.owned-line-page > .mobile-bottom-nav:not([hidden])) {scroll-padding-block-end:calc(var(--mobile-nav-space) + 12px)}
  .owned-line-page:has(> .mobile-bottom-nav:not([hidden])) {padding-block-end:var(--mobile-nav-space)}
  .owned-line-page:has(> .mobile-bottom-nav:not([hidden])) > .toast-region {bottom:calc(var(--mobile-nav-space) + 12px)}
  .owned-line-page > .mobile-bottom-nav:not([hidden]) {display:grid}
}
@media(max-width:640px) {
  html:has(.mobile-bottom-nav:not([hidden])) {scroll-padding-block-end:calc(var(--mobile-nav-space) + 12px)}
  body:has(.mobile-bottom-nav:not([hidden])) {padding-block-end:var(--mobile-nav-space)}
  body:has(.mobile-bottom-nav:not([hidden])) > .toast-region {bottom:calc(var(--mobile-nav-space) + 12px)}
  .mobile-bottom-nav:not([hidden]) {display:grid}
  body:has(> .account-work-nav:not([hidden])) .account-top .account-tabs { display:none; }
  .admin-page:has(> .mobile-bottom-nav) .sidebar:not(.open) { visibility:hidden; }
  .admin-page[data-page="cards"] .card-section { min-height:48px; padding:8px 12px; }
  .admin-page[data-page="cards"] .card-section small { display:none; }
  .admin-page[data-page="cards"] .table-toolbar .filter-tabs {
    display:grid; grid-template-columns:repeat(5,minmax(0,1fr)); gap:2px;
    width:100%; padding:2px; overflow:visible;
  }
  .admin-page[data-page="cards"] .table-toolbar .filter-tab { min-width:0; min-height:44px; padding-inline:2px; font-size:12px; }
  .admin-page .admin-content :is(.heading-actions > .button,.action-menu > summary,.table-footer button) { min-height:44px; }
  .admin-page .admin-content .table-footer button { min-width:44px; }
  .admin-page .admin-content .search-box input { font-size:16px; }
  .admin-page .dialog { overscroll-behavior:contain; }
  .admin-page :is(.admin-category-nav a,.admin-content .table-footer button,.admin-card-tools summary) { touch-action:manipulation; }
}

/* 只过渡实际变化的属性，避免视口缩放时布局跟着缓动。 */
:root :is(.button,.icon-button,.text-button,.filter-tab) {border-radius:var(--control-radius)}
:root .button:not(.small-button) {min-height:var(--control-size)}
:root :is(button,input:is([type="submit"],[type="button"],[type="reset"]),a.button,summary) {
  transition:background-color var(--motion-ui) var(--ease),color var(--motion-ui) var(--ease),
    border-color var(--motion-ui) var(--ease),box-shadow var(--motion-ui) var(--ease),scale 280ms var(--press-spring);
}
@media (prefers-reduced-motion: no-preference) {
  :root :is(button,input:is([type="submit"],[type="button"],[type="reset"]),a.button,summary):not(:disabled,[aria-disabled="true"]):is(:active,[data-ui-pressed]) {
    scale:.95;transition-duration:85ms;transition-timing-function:var(--ease);
  }
}
:root .button.ghost {background:transparent;border-color:transparent;color:var(--accent)}
:root .button.ghost:not(:disabled):hover {background:var(--accent-soft);color:var(--accent)}
:root .button.danger:not(:disabled):hover {background:var(--critical);border-color:var(--critical);color:var(--surface)}
:root :is(button,input:is([type="submit"],[type="button"],[type="reset"]),a.button,summary):is(:disabled,[aria-disabled="true"]) {
  cursor:not-allowed;filter:grayscale(1);opacity:.55;
}
:root button[aria-busy="true"] {cursor:progress}
:root :is(.input-shell,.search-box,select,.field>input:not([type="checkbox"],[type="radio"])) {
  min-height:var(--control-size);border:1px solid var(--field-line);border-radius:var(--control-radius);background:var(--surface);color:var(--ink);
}
:root .search-box {
  display:flex;align-items:center;gap:var(--space-2);width:100%;min-width:0;padding-inline:12px;
  transition:background-color var(--quick) var(--ease),border-color var(--quick) var(--ease),box-shadow var(--quick) var(--ease);
}
:root .search-box > .icon {width:16px;height:16px;flex:none;color:var(--muted)}
:root .search-box > input {min-width:0;min-height:35px;flex:1;padding:6px 0;border:0;background:none;color:inherit;font-size:13px}
:root :is(.input-shell,.search-box):focus-within {outline:2px solid var(--accent);outline-offset:2px}
:root .search-box:focus-within {border-color:var(--accent);box-shadow:0 0 0 5px var(--accent-soft)}
:root :is(.input-shell,.search-box)>input:focus {outline:none;box-shadow:none}
:root .dialog:not(.drawer) {border-radius:var(--radius);box-shadow:var(--shadow)}
:root .table-surface {min-width:0;border-radius:var(--radius);box-shadow:var(--card-shadow)}

/* 表头和列关系不随断点消失；给滚动区可见的键盘焦点。 */
.table-scroll {min-width:0;max-width:100%;overflow-x:auto}
.table-scroll:focus-visible {outline:2px solid var(--accent);outline-offset:-2px}
.data-table {width:100%;min-width:38rem;border-collapse:collapse;text-align:start}
.data-table :is(th,td) {padding:10px 14px;border-block-end:1px solid var(--line);vertical-align:middle}
.data-table th {background:var(--table-head);color:var(--table-label);font-size:12px;font-weight:600;text-align:start;white-space:nowrap}
.data-table td {color:var(--ink);font-size:13px}
.data-table :is(.card-code,.studio-card-number) {white-space:nowrap}
.data-table tr:last-child td {border-block-end:0}
.data-table tbody tr {transition:background-color var(--quick) var(--ease)}
.data-table tbody tr:focus-within {background-color:var(--table-head)}
.data-table tbody .card-selected,.data-table tbody .card-selected:focus-within {background-color:var(--accent-soft)}

/* 操作型卡片只增强边框/阴影，避免整块位移干扰精确点击。 */
.card-section {box-shadow:var(--card-shadow)}
@media(hover:hover) {
  .data-table tbody tr:not(.card-selected):has(:is(a[href],button:enabled,input:enabled,summary)):hover {background-color:var(--table-head)}
  :root .card-section:enabled:hover {border-color:var(--field-line);box-shadow:var(--card-hover)}
}
.stats-grid {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin:0 0 24px}
.stats-grid .ui-stat {min-width:0;padding:16px;border:1px solid var(--line);border-radius:var(--radius);background:var(--surface);box-shadow:var(--card-shadow)}
.stats-grid :is(.ui-stat-label,.ui-stat-detail) {color:var(--muted);font-size:12px}
.stats-grid .ui-stat-label {display:flex;align-items:center;justify-content:space-between;gap:8px}
.stats-grid .ui-stat-icon {order:1;display:flex;flex:none;color:var(--quiet)}
.stats-grid .ui-stat-value {display:flex;align-items:baseline;flex-wrap:wrap;gap:4px 8px;margin:8px 0 0}
.stats-grid .ui-stat-value > .muted,.stats-grid .ui-stat-detail {font-size:11px}
.stats-grid .ui-stat-detail {display:flex;align-items:center;gap:6px;margin:6px 0 0}
.stats-grid .capacity-line {flex:1;margin:6px 0 0}
@media(max-width:760px) {
  .stats-grid {grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-bottom:16px}
  .stats-grid .ui-stat {padding:12px}
}
@media(max-width:640px) {
  .data-table .empty-cell {text-align:start}
}
@media(max-width:360px) {
  .stats-grid {grid-template-columns:minmax(0,1fr)}
}
:root .table-footer {font-variant-numeric:tabular-nums}
:root .table-footer .icon-button {min-width:36px;min-height:36px}
:root .status-pill {border-radius:6px}
.ui-sr {position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.line-entry {width:min(calc(100% - 32px),480px);margin:var(--space-8) auto;padding:var(--space-6);background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);box-shadow:var(--card-shadow)}
.line-entry h1 {margin-bottom:var(--space-2);font-size:24px}
.line-entry .button {margin-top:var(--space-4)}
.line-entry .text-button {margin-inline-start:var(--space-4)}
.line-entry #entry-progress:empty {display:none}
.line-desktop-sidebar,.reseller-sidebar>.saas-brand {display:none}
.saas-brand {display:flex;align-items:center;gap:12px;color:var(--ink);font-weight:700}
.saas-brand img {width:40px;height:40px;border-radius:var(--control-radius)}
.saas-brand small {display:block;color:var(--muted);font-size:13px;font-weight:400}
.owned-line-page :is(#connection-title,#line-usage-title,#line-logs-title,#line-connection) {scroll-margin-block-start:var(--space-4)}
.owned-line-page .skip-link:not(:focus) {clip-path:inset(50%);pointer-events:none}
@media(max-width:640px) {:root {--control-size:44px}}

@media(min-width:960px) {
  :root .saas-sidebar {width:var(--shell-sidebar)}
  :root .saas-header {height:var(--shell-header)}
  :root .admin-page .admin-main {margin-inline-start:var(--shell-sidebar)}
  :root .admin-page .admin-content.saas-content {width:100%;max-width:none;margin:0;padding:var(--space-8)}
  :root .admin-page .admin-topbar.saas-header {padding-inline:var(--space-8)}
  :root :is(.owned-line-page.is-active,.reseller-page:has(#reseller-workspace:not([hidden]))) .saas-sidebar {
    display:flex;flex-direction:column;gap:var(--space-6);position:fixed;inset:0 auto 0 0;z-index:21;
    overflow:auto;padding:var(--space-4);background:var(--surface);border-inline-end:1px solid var(--line);
  }
  :root .reseller-page:has(#reseller-workspace:not([hidden]))>.saas-header {
    position:sticky;top:0;z-index:20;width:calc(100% - var(--shell-sidebar));max-width:none;
    margin:0 0 0 var(--shell-sidebar);padding:0 var(--space-8);background:var(--surface);
  }
  :root :is(.owned-line-page.is-active,.reseller-page:has(#reseller-workspace:not([hidden])))>.saas-header .brand {display:none}
  :root :is(.owned-line-page.is-active,.reseller-page:has(#reseller-workspace:not([hidden])))>#main.saas-content {
    display:block;width:calc(100% - var(--shell-sidebar));max-width:none;min-width:0;
    margin:0 0 0 var(--shell-sidebar);padding:var(--space-8);
  }
  /* 侧栏固定，页头保留在文档流内，滚动时不再叠在状态卡上。 */
  :root .owned-line-page.is-active>.customer-header.saas-header {
    position:relative;width:calc(100% - var(--shell-sidebar));min-height:var(--shell-header);
    margin:0 0 0 var(--shell-sidebar);padding:0 var(--space-8);border-block-end:1px solid var(--line);
  }
  :root .owned-line-page.is-active[data-page="customer"]>.customer-footer {
    width:auto;margin-inline:calc(var(--shell-sidebar) + var(--space-8)) var(--space-8);
  }
  .line-desktop-sidebar .saas-brand {padding:0 8px var(--space-4);border-block-end:1px solid var(--line)}
  .line-nav-caption {margin:0;padding:0 12px 4px;color:var(--muted);font-size:13px}
  .line-desktop-sidebar .saas-nav a {border-inline-start:3px solid transparent}
  .line-desktop-sidebar .saas-nav a[aria-current="location"] {border-inline-start-color:var(--accent)}
  :root .owned-line-page.is-active #result {width:100%;max-width:none;margin:0;padding:0}
  .reseller-sidebar>.saas-brand {display:flex}
  .saas-sidebar .saas-nav:not([hidden]) {display:grid;gap:4px}
  .saas-nav :is(a,button) {display:flex;align-items:center;gap:12px;width:100%;min-height:44px;padding:0 12px;border:0;border-radius:var(--control-radius);background:transparent;color:var(--muted);text-align:start;font:inherit}
  .saas-nav :is(a,button):hover {color:var(--ink);background:var(--surface-alt)}
  .saas-nav [aria-current] {background:var(--accent-soft);color:var(--accent);font-weight:650}
  .saas-nav .icon {width:18px;height:18px;flex:none}
  #reseller-workspace[data-current-view]:not([data-current-view="overview"]) #reseller-view-overview,
  #reseller-workspace[data-current-view]:not([data-current-view="cards"]) #reseller-view-cards,
  #reseller-workspace[data-current-view]:not([data-current-view="ledger"]) #reseller-view-ledger {display:none}
}

/* The customer canvas replaces the static network only when mouse motion is available. */
body:is(.customer-page,.admin-page,.admin-login-page){isolation:isolate}
body:is(.customer-page,.admin-page,.admin-login-page)::before{
  content:"";position:fixed;inset:0;z-index:-1;pointer-events:none;
  background:url("/static/radar-network.svg") repeat 50% 0 / 640px 420px;opacity:.42
}
:root[data-theme="dark"] body:is(.customer-page,.admin-page,.admin-login-page)::before{opacity:.33}
.particle-background{position:fixed;inset:0;width:100%;height:100%;z-index:-1;pointer-events:none;opacity:.76}
:root[data-theme="dark"] .particle-background{opacity:.82}
@media(prefers-reduced-motion:no-preference){
  body.customer-page.has-particle-background::before{display:none}
}
@media(prefers-reduced-motion:reduce){.particle-background{display:none}}
@media(min-width:768px) and (prefers-reduced-motion:no-preference){
  body:is(.admin-page,.admin-login-page)::before{animation:network-settle 3s ease-out backwards}
  @keyframes network-settle{from{transform:translate(-7px,5px)}to{transform:none}}
}
@media(forced-colors:active),print{
  body:is(.customer-page,.admin-page,.admin-login-page)::before,.particle-background{display:none}
}

/* Admin login: the radar print is part of the instrument, not the page background. */
:root body.login-console {
  --login-edge: 32px;
  --login-width: 1088px;
  --login-canvas: #eef0ea;
  --login-face: #fdfdf9;
  background: var(--login-canvas);
}
:root[data-theme="dark"] body.login-console {
  --login-canvas: #141c19;
  --login-face: #202a26;
}
:root body.login-console::before { display: none; }
:root body.login-console > .customer-header,
.login-console .login-instrument { width: min(var(--login-width), 100% - 2 * var(--login-edge)); }
:root body.login-console > .customer-header {
  min-height: 80px; margin: 0 auto; padding: 0; gap: 12px;
}
.login-console .customer-header nav { gap: 16px; }
.login-console .customer-header .brand-logo { width: 42px; height: 42px; }
.login-console .theme-switch button {
  display: grid; place-items: center; width: 44px; height: 44px; padding: 0; cursor: pointer;
}
.login-console .login-return {
  display: inline-flex; align-items: center; gap: 7px; min-height: 44px;
  color: var(--muted); font-size: 13px; white-space: nowrap;
}
.login-console .login-return:hover { color: var(--accent); text-decoration: underline; text-underline-offset: 4px; }
.login-console .login-return .icon { width: 16px; height: 16px; }
:root body.login-console .admin-login-main {
  display: grid; align-items: center; justify-content: stretch;
  padding: clamp(28px, 6vh, 72px) 0; min-height: auto;
}
.login-console .login-instrument {
  display: grid; grid-template-columns: minmax(0, 1.03fr) minmax(0, 1fr);
  min-height: 556px; margin: 0 auto; overflow: hidden;
  border: 1px solid var(--line); border-radius: 16px;
  background: var(--login-face); box-shadow: 0 16px 36px #192b1f12;
}
.login-console .login-radar {
  display: flex; flex-direction: column; justify-content: space-between;
  min-width: 0; padding: clamp(24px, 3.5vw, 40px); color: #eef5ef;
  background: #182824 linear-gradient(180deg, #162521e8, #16252100 32%, #14231e08 55%, #14231ef2 96%);
  background-image: linear-gradient(180deg, #162521e8, #16252100 32%, #14231e08 55%, #14231ef2 96%),
                    url("/static/login-radar.webp");
  background-position: center; background-size: cover;
}
.login-console .login-radar-key {
  display: flex; align-items: center; gap: 10px; font-size: 13px; color: #d9e6db;
}
.login-console .login-radar-key span { width: 22px; height: 2px; background: #e4ad8e; }
.login-console .login-radar-caption p {
  margin: 0 0 6px; font-size: clamp(22px, 2.4vw, 28px); line-height: 1.3; font-weight: 650;
}
.login-console .login-radar-caption > span { color: #c1d2c8; font-size: 14px; }
:root body.login-console .admin-login-form {
  align-self: center; width: 100%; max-width: 476px; margin: 0 auto;
  padding: 44px clamp(24px, 4vw, 52px); min-width: 0;
  background: transparent; border: 0; border-radius: 0; box-shadow: none;
}
.login-console .login-emblem {
  display: grid; place-items: center; width: 44px; height: 44px; margin-bottom: 18px;
  background: var(--accent-soft); color: var(--accent); border-radius: 10px;
}
.login-console .login-emblem .icon { width: 22px; height: 22px; }
:root body.login-console h1 {
  margin: 0; color: var(--ink); font-size: clamp(28px, 4vw, 38px); font-weight: 680; line-height: 1.2;
}
.login-console .login-intro { margin: 8px 0 0; color: var(--muted); font-size: 14px; line-height: 1.6; }
:root body.login-console #login-form { display: grid; gap: 16px; margin-top: 28px; }
:root body.login-console .login-field label { display: block; margin: 0 0 7px; color: var(--ink); font-weight: 600; }
:root body.login-console .input-shell { min-height: 52px; }
:root body.login-console .input-shell input { min-height: 50px; padding-block: 10px; }
:root body.login-console #login-form .form-message { margin: 0; }
.login-console #admin-auth-message:empty { display: none; }
:root body.login-console #login-form .button.primary { height: 50px; margin-top: 2px; font-weight: 650; }

@media (max-width: 740px) {
  :root body.login-console { --login-edge: 18px; }
  :root body.login-console > .customer-header { min-height: 68px; }
  .login-console .customer-header .brand-logo { width: 36px; height: 36px; }
  .login-console .customer-header nav { gap: 10px; }
  :root body.login-console .admin-login-main { padding-block: 20px 28px; align-items: start; }
  .login-console .login-instrument { grid-template-columns: minmax(0, 1fr); min-height: 0; max-width: 520px; }
  .login-console .login-radar {
    min-height: 136px; padding: 18px 22px; background-position: center, 50% 46%;
  }
  .login-console .login-radar-caption p { margin: 0; font-size: 22px; }
  .login-console .login-radar-caption > span { display: none; }
  :root body.login-console .admin-login-form { padding: 26px 22px 30px; max-width: none; }
  .login-console .login-emblem { display: none; }
  :root body.login-console #login-form { margin-top: 22px; gap: 14px; }
}
@media (max-width: 640px) {
  .login-console:has(> .mobile-bottom-nav:not([hidden])) .login-return { display: none; }
}
@media (forced-colors: active) {
  .login-console .login-radar { background: Canvas; color: CanvasText; border: 1px solid CanvasText; }
  .login-console .login-radar-key, .login-console .login-radar-caption > span { color: CanvasText; }
}
