@import url('https://fonts.googleapis.com/css2?family=DM+Mono:wght@400;500&family=Manrope:wght@400;500;600;700;800&display=swap');
:root{color-scheme:dark;--bg:#0d131b;--panel:#131c27;--panel2:#17222f;--line:#253241;--line2:#1d2936;--text:#eef2f8;--muted:#7f8c9d;--muted2:#a4afbd;--accent:#8995ff;--green:#58d5a0;--red:#ff747b;--amber:#f3b966;--blue:#68b9ff;--mono:'DM Mono',monospace;--sans:'Manrope',Inter,system-ui,sans-serif}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--text);font:14px var(--sans);min-height:100vh}button,input,select{font:inherit}button{color:inherit;cursor:pointer}button:focus-visible,input:focus-visible,select:focus-visible{outline:2px solid var(--accent);outline-offset:2px}.hidden{display:none!important}.app-shell{min-height:100vh}.sidebar{position:fixed;inset:0 auto 0 0;width:232px;padding:25px 15px 18px;background:#101720;border-right:1px solid var(--line2);display:flex;flex-direction:column;z-index:2}.brand{display:flex;align-items:center;gap:11px;padding:0 9px 39px}.brand strong{font-size:11px;letter-spacing:.12em;font-weight:800;display:block}.brand small{font:9px var(--mono);letter-spacing:.13em;color:#667487;display:block;margin-top:5px}.brand-mark{width:31px;height:31px;border-radius:9px;background:#202a3b;display:grid;place-items:center;font-size:20px;font-weight:800;letter-spacing:-.1em;color:#f5f6fb}.brand-mark span{color:var(--accent)}.brand-mark.large{width:44px;height:44px;font-size:28px;border-radius:13px;margin-bottom:25px}.side-section-label,.eyebrow{font:10px var(--mono);letter-spacing:.13em;color:#758395}.side-section-label{padding:0 10px 10px}.nav-item{height:42px;border:0;background:transparent;border-radius:7px;color:#9ca9b8;text-align:left;padding:0 10px;display:flex;align-items:center;gap:11px;margin:2px 0;font-size:13px}.nav-item:hover{background:#17222f;color:var(--text)}.nav-item.active{color:#e2e5ff;background:#222a40}.nav-icon{width:17px;font-size:17px;color:#8d9aab}.nav-item.active .nav-icon{color:var(--accent)}.nav-count{margin-left:auto;font:11px var(--mono);color:#8995a5}.side-spacer{flex:1}.side-status{padding:14px 11px;border:1px solid var(--line2);border-radius:8px;display:flex;align-items:center;gap:10px;margin-bottom:14px}.side-status strong,.side-status small{display:block;font-size:11px}.side-status small{font-size:10px;color:var(--muted);margin-top:4px}.pulse-dot{display:inline-block;width:7px;height:7px;border-radius:50%;background:var(--green);box-shadow:0 0 11px #58d5a044;flex:none}.sidebar-bottom{border-top:1px solid var(--line2);padding:14px 5px 0;display:flex;align-items:center;gap:9px;color:#a6b2bf;font-size:12px}.sidebar-bottom>span{margin-right:auto}.icon-button{border:1px solid transparent;background:transparent;color:#91a0b1;width:31px;height:31px;border-radius:6px;font-size:16px;display:inline-grid;place-items:center}.icon-button:hover{color:var(--text);background:#202b38;border-color:var(--line)}.main-area{margin-left:232px;min-width:0}.topbar{height:59px;border-bottom:1px solid var(--line2);display:flex;align-items:center;justify-content:space-between;padding:0 35px;background:#0f161f}.breadcrumbs{display:flex;align-items:center;gap:10px;font:10px var(--mono);letter-spacing:.06em;color:#778597}.breadcrumbs b{color:#425064}.breadcrumbs strong{font-weight:500;color:#cdd5df}.topbar-right{display:flex;align-items:center;gap:17px}.live-label{font:10px var(--mono);letter-spacing:.05em;color:#8ddfbd;display:flex;align-items:center;gap:6px}.live-label i{width:6px;height:6px;background:var(--green);border-radius:50%;box-shadow:0 0 8px var(--green)}.refresh-label{font-size:11px;color:#758395}.refresh-label b{font:10px var(--mono);font-weight:400;color:#acb8c7;margin-left:4px}.refresh-button{font-size:20px}.content{max-width:1600px;margin:0 auto;padding:32px 35px 50px}.page-heading{display:flex;justify-content:space-between;align-items:flex-end;margin-bottom:23px}.page-heading h1{font-size:27px;letter-spacing:-.045em;margin:8px 0 4px;font-weight:700}.page-heading p,.muted{margin:0;color:var(--muted);font-size:12px}.button{border:1px solid var(--line);border-radius:6px;height:36px;padding:0 13px;background:var(--panel2);color:#c8d2df;font-size:12px;font-weight:600;display:inline-flex;align-items:center;justify-content:center;gap:8px;white-space:nowrap}.button:hover{background:#202c3a;border-color:#405064}.button.primary{background:#828df2;border-color:#828df2;color:#101522}.button.primary:hover{background:#9aa3ff}.button.primary span{font-size:15px;margin-left:5px}.button.secondary{background:#192431}.button.ghost{background:transparent}.button.danger-light{color:#ff9a9e;border-color:#4c3037;background:#251b22}.button.full{width:100%;height:42px;margin-top:5px}.plus{font-size:17px}.overview-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-bottom:24px}.overview-card{height:112px;padding:17px 17px;position:relative;overflow:hidden;background:var(--panel);border:1px solid var(--line2);border-radius:8px}.overview-label{font:9px var(--mono);letter-spacing:.09em;color:#8491a2}.overview-value{font-size:27px;font-weight:700;letter-spacing:-.04em;margin-top:9px}.overview-caption{font-size:10px;color:#718094;margin-top:1px}.overview-icon{position:absolute;right:16px;top:21px;font-size:22px;color:#556579}.overview-icon.green{color:#409e80}.overview-icon.blue{color:#4c9fd1}.overview-icon.amber{color:#b28243}.toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:11px}.search-box{height:37px;max-width:410px;flex:1;border:1px solid var(--line);background:#111a24;border-radius:6px;display:flex;align-items:center;gap:9px;padding:0 10px;color:#8796a8}.search-box>span{font-size:20px}.search-box input{background:transparent;border:0;outline:0;min-width:0;flex:1;color:var(--text);font-size:11px}.search-box input::placeholder{color:#657385}.search-box kbd{font:9px var(--mono);color:#667487;border:1px solid #2b3949;border-radius:4px;padding:3px 5px}.toolbar-actions{display:flex;gap:9px;align-items:center}.sort-control{font-size:10px;color:#788799;display:flex;align-items:center;gap:8px}.sort-control select{height:36px;color:#b9c4d1;background:#131d28;border:1px solid var(--line);border-radius:6px;padding:0 26px 0 9px;font-size:11px}.filter-panel{display:flex;align-items:center;gap:7px;padding:11px 13px;margin-bottom:11px;background:#131d28;border:1px solid var(--line2);border-radius:6px;color:#8492a3;font-size:10px}.filter-chip{background:transparent;border:1px solid var(--line);padding:5px 9px;border-radius:20px;color:#9daabc;font-size:10px}.filter-chip:hover,.filter-chip.selected{border-color:#535f95;color:#bdc4ff;background:#242a40}.filter-divider{height:17px;border-left:1px solid var(--line);margin:0 4px}.table-frame{background:var(--panel);border:1px solid var(--line2);border-radius:8px;overflow:hidden}.table-scroll{overflow:auto}table{width:100%;border-collapse:collapse;min-width:900px}thead{background:#151f2a}th{text-align:left;height:39px;padding:0 14px;border-bottom:1px solid var(--line2);font:9px var(--mono);letter-spacing:.065em;color:#748396;font-weight:400;white-space:nowrap}th:first-child{padding-left:18px}.sort-glyph{color:#535f6f;margin-left:3px}td{height:64px;padding:0 14px;border-bottom:1px solid #202b37;color:#c1ccd8;font-size:11px;white-space:nowrap}tbody tr{cursor:pointer;transition:background .12s}tbody tr:hover{background:#17222e}tbody tr:last-child td{border-bottom:0}td:first-child{padding-left:18px}.node-identity{display:flex;align-items:center;gap:11px}.node-symbol{width:31px;height:31px;border:1px solid #2d3a49;border-radius:7px;display:grid;place-items:center;color:#8c9ab0;font-size:14px;background:#18222d}.node-name{font-size:12px;font-weight:700;color:#e0e6ee;max-width:180px;overflow:hidden;text-overflow:ellipsis}.node-host{font:9px var(--mono);color:#758496;margin-top:4px}.country-cell{display:flex;align-items:center;gap:8px}.country-flag{font-size:17px;line-height:1}.tag-list{display:flex;gap:4px;max-width:170px;overflow:hidden}.tag-pill{border:1px solid #303d4b;color:#a5b2c1;background:#1c2835;border-radius:4px;padding:4px 6px;font-size:9px}.status-pill{display:inline-flex;align-items:center;gap:6px;border:1px solid #2d3945;border-radius:20px;padding:5px 8px;color:#acb8c6;font-size:9px}.status-pill:before{content:'';width:5px;height:5px;border-radius:50%;background:#7c8999}.status-pill.online{color:#83d8b4;border-color:#24483d;background:#162920}.status-pill.online:before{background:var(--green);box-shadow:0 0 7px #58d5a055}.status-pill.offline{color:#ff8d91;border-color:#51343a;background:#2a1d22}.status-pill.offline:before{background:var(--red)}.status-pill.unknown{color:#d7af70;border-color:#4d402c;background:#29251d}.status-pill.unknown:before{background:var(--amber)}.status-pill.unconfigured,.status-pill.unavailable{color:#8593a3}.resource-value{font:10px var(--mono);color:#d0d9e5}.resource-value em{font-style:normal;color:#78889b;font-size:9px}.resource-mini{display:inline-block;width:48px;height:4px;border-radius:3px;background:#283543;margin-left:6px;vertical-align:middle;overflow:hidden}.resource-mini i{height:100%;display:block;background:#8895ff;border-radius:3px}.memory-mini i{background:#61c8a1}.row-more{color:#697789;font-size:17px}.row-menu{position:relative}.row-menu button{background:none;border:0}.empty-state{text-align:center;padding:56px 20px 49px}.empty-symbol{width:54px;height:54px;border-radius:15px;background:#202a3a;color:#9ba5ff;display:grid;place-items:center;font-size:30px;margin:0 auto 18px}.empty-state h3{font-size:15px;margin:0 0 6px}.empty-state p{font-size:11px;color:var(--muted);margin:0 0 18px}.loading-state{height:160px;display:flex;align-items:center;justify-content:center;gap:10px;color:#78889b;font-size:11px}.spinner{width:15px;height:15px;border:2px solid #334153;border-top-color:var(--accent);border-radius:50%;animation:spin .7s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.table-footer{height:39px;border-top:1px solid var(--line2);padding:0 15px;display:flex;align-items:center;justify-content:space-between;color:#718093;font:9px var(--mono)}.table-footer span:last-child{display:flex;align-items:center;gap:7px}.table-footer .pulse-dot{width:5px;height:5px}.login-screen{min-height:100vh;display:grid;place-items:center;padding:25px;background:radial-gradient(ellipse at 50% 35%,#172237 0,#0d131b 50%)}.login-card{width:min(380px,100%);padding:36px;background:#131c27;border:1px solid var(--line);border-radius:11px;box-shadow:0 25px 85px #0005}.login-card h1{font-size:24px;letter-spacing:-.04em;margin:8px 0}.login-card>p{margin:0 0 24px}.login-card label,.form-grid label{display:block;font-size:10px;color:#a8b4c2;margin-bottom:14px}.login-card input,.form-grid input,.form-grid select,.settings-grid input,.settings-grid select{display:block;width:100%;height:37px;padding:0 10px;margin-top:6px;background:#0f1720;border:1px solid #2a3745;border-radius:5px;color:#e1e6ec;font-size:11px}.login-card input::placeholder,.form-grid input::placeholder,.settings-grid input::placeholder{color:#586779}.form-error{font-size:10px;color:#ff858b;min-height:14px}.modal-backdrop{position:fixed;inset:0;background:#060a10bd;backdrop-filter:blur(5px);z-index:10;display:grid;place-items:center;padding:20px;overflow-y:auto}.modal{width:min(610px,100%);max-height:calc(100vh - 40px);overflow:auto;background:#141e29;border:1px solid #303e4c;border-radius:10px;box-shadow:0 22px 90px #0008}.modal-header{display:flex;justify-content:space-between;align-items:flex-start;padding:22px 24px 18px;border-bottom:1px solid var(--line2)}.modal-header h2{font-size:18px;margin:7px 0 0;letter-spacing:-.035em}.modal-header .muted{margin-top:5px}.close-modal{font-size:22px}.node-modal form{padding:19px 24px 0}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:0 13px}.form-grid label small{font-size:9px;color:#718095}.form-grid .span-2{grid-column:span 2}.form-grid label>small{display:block;margin-top:4px}.modal-footer{border-top:1px solid var(--line2);padding:15px 24px;display:flex;justify-content:flex-end;align-items:center;gap:8px;margin-top:15px}.modal-error{padding-top:4px}.custom-attributes{display:grid;grid-template-columns:1fr 1fr;gap:0 13px}.custom-attributes:empty{display:none}.detail-modal{width:min(760px,100%);padding-bottom:0}.detail-statuses{display:grid;grid-template-columns:repeat(3,1fr);gap:9px;padding:17px 23px}.detail-status-card{background:#101922;border:1px solid var(--line2);border-radius:7px;padding:12px}.detail-status-card span{display:block;color:#8290a1;font:9px var(--mono);margin-bottom:9px}.detail-status-card b{font-size:11px;font-weight:600}.chart-section,.history-section{padding:5px 23px 20px}.section-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:11px}.section-heading h3,.settings-grid h3{font-size:12px;margin:0 0 4px}.section-heading span,.settings-grid>section>p{font-size:10px;color:var(--muted)}.chart-legend{display:flex;align-items:center;gap:5px;color:#9eacbb;font-size:9px}.chart-legend i{width:7px;height:7px;border-radius:50%;display:inline-block;margin-left:7px}.cpu-key{background:#8f9cff}.memory-key{background:#58d5a0}.resource-chart{height:156px;border:1px solid var(--line2);background:linear-gradient(180deg,#101a24,#121c27);border-radius:6px;position:relative;overflow:hidden}.resource-chart svg{width:100%;height:100%}.chart-placeholder{height:100%;display:grid;place-items:center;color:#718094;font-size:10px}.history-list{max-height:190px;overflow:auto}.history-item{padding:10px 0;border-bottom:1px solid var(--line2);display:grid;grid-template-columns:120px 1fr;gap:12px;font-size:10px}.history-item:last-child{border:0}.history-time{font:9px var(--mono);color:#8290a0}.history-action{color:#c8d1dc}.history-detail{color:#8795a6;margin-top:4px;line-height:1.6;overflow-wrap:anywhere}.detail-actions{justify-content:space-between;position:sticky;bottom:0;background:#141e29}.detail-actions>div{display:flex;gap:7px}.settings-modal{width:min(760px,100%)}.settings-grid{padding:20px 24px;display:grid;grid-template-columns:1fr 1fr;gap:22px 26px}.settings-grid>section>p{margin:0 0 12px}.inline-create{display:flex;gap:7px}.inline-create input[name=name]{flex:1;min-width:0}.inline-create input[type=color]{width:38px;padding:4px}.inline-create .button{width:38px;padding:0}.attribute-create{display:grid;grid-template-columns:1fr 125px;gap:7px}.attribute-create .select-options{grid-column:span 2}.attribute-create button{grid-column:span 2}.settings-list{margin-top:12px;display:grid;gap:6px}.settings-row{display:flex;align-items:center;gap:8px;border:1px solid var(--line2);border-radius:5px;padding:7px 9px;color:#aeb9c6;font-size:10px}.settings-row i{width:8px;height:8px;border-radius:50%;background:#8995ff}.settings-row small{margin-left:auto;color:#748395;font:9px var(--mono)}.password-section{grid-column:span 2;border-top:1px solid var(--line2);padding-top:18px}.password-section form{display:grid;grid-template-columns:1fr 1fr auto;gap:7px}.password-section input{margin:0}.password-section .form-error{grid-column:1/-1}.toast{position:fixed;right:23px;bottom:22px;background:#23322f;border:1px solid #38564b;border-radius:7px;padding:11px 15px;font-size:11px;color:#a6e2c8;box-shadow:0 10px 30px #0006;z-index:20}.toast.error{background:#352328;border-color:#633b42;color:#ffb0b3}
@media(max-width:1100px){.sidebar{width:195px}.main-area{margin-left:195px}.content{padding:27px 24px}.topbar{padding:0 24px}.overview-grid{grid-template-columns:repeat(2,1fr)}.overview-card{height:100px}}
@media(max-width:760px){.sidebar{width:58px;padding:20px 7px}.brand{padding:0 6px 35px}.brand>div:nth-child(2),.side-section-label,.nav-item:not(.active),.nav-item .nav-count,.side-status,.sidebar-bottom>span,.sidebar-bottom .icon-button:first-of-type{display:none}.nav-item{justify-content:center;padding:0;font-size:0}.nav-icon{font-size:18px}.sidebar-bottom{justify-content:center;padding:12px 0 0}.sidebar-bottom .icon-button{display:inline-grid}.main-area{margin-left:58px}.topbar{height:52px;padding:0 13px}.breadcrumbs span,.breadcrumbs b{display:none}.topbar-right{gap:7px}.refresh-label{display:none}.content{padding:23px 13px 35px}.page-heading{align-items:flex-start;gap:12px}.page-heading h1{font-size:23px}.page-heading p{max-width:220px;line-height:1.5}.page-heading>.button{height:34px;padding:0 9px;font-size:10px}.overview-grid{gap:8px}.overview-card{height:93px;padding:12px}.overview-label{font-size:8px}.overview-value{font-size:23px;margin-top:8px}.overview-caption{font-size:9px}.overview-icon{right:10px;top:11px;font-size:17px}.toolbar{align-items:stretch;flex-direction:column}.search-box{max-width:none;min-height:36px}.toolbar-actions{justify-content:space-between}.sort-control{font-size:9px}.sort-control select{max-width:155px;font-size:9px}.filter-panel{overflow-x:auto;white-space:nowrap}.filter-panel>span{flex:none}.filter-chip{flex:none}.table-frame{margin:0 -1px}.table-footer{font-size:8px}.modal-backdrop{padding:9px}.modal{max-height:calc(100vh - 18px)}.modal-header{padding:18px 17px 14px}.node-modal form{padding:16px 17px 0}.modal-footer{padding:12px 17px}.detail-statuses{padding:13px;gap:5px}.detail-status-card{padding:9px}.detail-status-card span{font-size:7px}.detail-status-card b{font-size:9px}.chart-section,.history-section{padding-left:13px;padding-right:13px}.settings-grid{grid-template-columns:1fr;padding:17px}.password-section{grid-column:auto}.password-section form{grid-template-columns:1fr}.password-section .form-error{grid-column:auto}.settings-modal .modal-footer{display:none}.detail-actions{align-items:flex-start}.detail-actions>div{flex-wrap:wrap;justify-content:flex-end}.history-item{grid-template-columns:95px 1fr}}
@media(max-width:400px){.page-heading>.button{font-size:0;width:38px;padding:0}.page-heading>.button .plus{font-size:18px}.page-heading>.button:after{content:'＋';font-size:18px}.page-heading>.button .plus{display:none}.overview-caption{max-width:110px}.detail-status-card b{font-size:8px}.form-grid{grid-template-columns:1fr}.form-grid .span-2{grid-column:auto}.custom-attributes{grid-template-columns:1fr}.custom-attributes .span-2{grid-column:auto}}
.detail-statuses{grid-template-columns:repeat(4,minmax(0,1fr))}
.status-pill.enabled{color:#83d8b4;border-color:#24483d;background:#162920}.status-pill.disabled{color:#ff8d91;border-color:#51343a;background:#2a1d22}
@media(max-width:760px){.detail-statuses{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* Searchable country picker and flag assets */
.node-modal{overflow:visible}.node-modal .form-grid{overflow:visible}.country-field{position:relative;z-index:4}.country-picker{position:relative;margin-top:6px}.country-trigger{width:100%;height:37px;padding:0 11px;border:1px solid #374044;border-radius:4px;background:#131719;color:#e3e7e8;display:flex;align-items:center;gap:9px;text-align:left;font:600 10px var(--sans)}.country-trigger:hover{border-color:#59656a}.country-trigger:focus-visible{outline:2px solid var(--green);outline-offset:2px}.country-placeholder{color:#77858a;font-weight:400}.country-chevron{margin-left:auto;width:7px;height:7px;border-right:1.5px solid #c1c8ca;border-bottom:1.5px solid #c1c8ca;transform:rotate(45deg) translateY(-2px)}.country-trigger[aria-expanded=true] .country-chevron{transform:rotate(225deg) translate(-1px,-1px)}.flag-icon{display:inline-block;flex:none;width:21px;height:15px;object-fit:cover;border-radius:2px;background:#22292c;box-shadow:0 0 0 1px #ffffff20}.country-trigger .flag-icon{width:22px;height:16px}.country-trigger small{margin-left:auto;margin-right:4px;color:#7f8b90;font:9px var(--mono)}.country-trigger .country-chevron{margin-left:0}.country-menu{position:absolute;top:calc(100% + 5px);left:0;right:0;z-index:30;overflow:hidden;border:1px solid #3a4448;border-radius:5px;background:#171c1f;box-shadow:0 12px 28px #0009}.country-search-wrap{position:sticky;top:0;padding:8px;border-bottom:1px solid #30383c;background:#171c1f;z-index:1}.country-search-wrap input#country-search{display:block;width:100%;height:34px;margin:0;padding:0 10px;border:1px solid #394348;border-radius:4px;background:#111618;color:#e6e9ea;font:11px var(--sans)}.country-search-wrap input#country-search::placeholder{color:#7f8b90}.country-options{max-height:min(270px,38vh);overflow:auto;padding:4px}.country-option{width:100%;height:34px;padding:0 8px;border:0;border-radius:3px;background:transparent;color:#d5dbdd;display:flex;align-items:center;gap:10px;text-align:left;font:11px var(--sans);cursor:pointer}.country-option:hover,.country-option:focus-visible,.country-option.selected{background:#273036;color:#f1f3f4;outline:none}.country-option small{margin-left:auto;color:#839095;font:9px var(--mono)}.country-empty{padding:15px 10px;color:#929da1;text-align:center;font-size:10px}
@media(max-width:760px){.country-menu{left:auto;right:0;width:min(320px,calc(100vw - 100px))}.country-options{max-height:34vh}}
.node-modal{overflow:auto}.country-picker input[type=hidden]{display:none}.country-menu{position:fixed;right:auto;z-index:30}.country-options{max-height:min(275px,calc(38vh - 55px))}.flag-load-error{visibility:hidden}

/* Fleet console: compact, table-first visual system from the selected reference. */
:root{color-scheme:dark;--bg:#111416;--panel:#181c1f;--panel2:#202528;--line:#30373b;--line2:#272d31;--text:#e7e9e9;--muted:#8c9599;--muted2:#b4bbbe;--accent:#5be17e;--green:#5be17e;--red:#fb5e63;--amber:#f3b73f;--blue:#73caff;--mono:'DM Mono',ui-monospace,Consolas,monospace;--sans:Inter,Arial,system-ui,sans-serif}
body{background:var(--bg);color:var(--text);font-size:13px}
.sidebar{width:250px;background:#15191c;border-right:1px solid #2a3034;padding:22px 12px 15px}
.brand{gap:12px;padding:0 10px 37px}.brand-mark{width:34px;height:34px;border:1px solid #33734a;background:#14241a;border-radius:5px;color:#e8f6eb;font-size:20px}.brand-mark span{color:var(--green)}.brand strong{font-size:10px;letter-spacing:.08em}.brand small{font:9px var(--sans);letter-spacing:.02em;color:#879196;margin-top:3px}
.side-section-label{font:9px var(--sans);letter-spacing:.12em;color:#879196;padding:0 10px 10px}
.nav-item{height:36px;border-radius:4px;color:#b2b9bc;font-size:12px;gap:9px;padding:0 10px}.nav-item:hover{background:#202629}.nav-item.active{background:#242a2d;color:#f0f2f2;box-shadow:inset 2px 0 0 var(--green)}.nav-icon{font-size:14px;width:15px;color:#a0aaae}.nav-item.active .nav-icon{color:var(--green)}.nav-count{color:#aab3b6;font:10px var(--mono)}
.side-status{border:1px solid #30373b;border-radius:5px;padding:10px 11px;margin:0 2px 12px;gap:9px}.side-status strong{font-size:10px}.side-status small{font-size:9px;margin-top:3px}.pulse-dot{width:6px;height:6px;background:var(--green);box-shadow:0 0 8px #5be17e55}
.sidebar-bottom{border-top:1px solid #2a3034;padding:12px 7px 0}.sidebar-bottom>span{font-size:11px;color:#c5cbcd}.icon-button{border-radius:4px;color:#aeb6b9}.icon-button:hover{background:#242a2d;color:#f0f2f2}
.main-area{margin-left:250px}.topbar{height:58px;padding:0 32px;border-color:#2c3236;background:#14181b}.breadcrumbs{font-size:11px}.breadcrumbs span{font-size:9px;letter-spacing:.03em;color:#859095}.breadcrumbs strong{font-size:11px;color:#e1e5e6}.topbar-right{gap:20px}.live-label{font-size:10px;font-weight:600;color:#e4e8e8}.live-label i{width:6px;height:6px;background:var(--green);box-shadow:0 0 8px #5be17e88}.refresh-label{font-size:10px;color:#929b9f}.refresh-label b{font:10px var(--mono);color:#cbd0d1}.refresh-button{font-size:18px}
.content{max-width:none;padding:31px 32px 30px}.page-heading{align-items:center;margin:0 0 25px;gap:20px}.page-heading .eyebrow{display:none}.page-heading h1{font-size:27px;line-height:1.15;font-weight:650;letter-spacing:-.04em;margin:0 0 5px}.page-heading p{font-size:13px;color:#a4adaf;margin:0;line-height:1.35}.page-heading>.button{margin-top:0}
.overview-grid{display:none!important}.button{height:34px;border-radius:5px;padding:0 15px;font-size:11px;font-weight:600;transition:background .15s,border-color .15s}.button.primary{background:#56df79;border-color:#56df79;color:#102016;box-shadow:none}.button.primary:hover{background:#6bed8a;border-color:#6bed8a}.button.secondary{background:#1a2023;border-color:#3a4347;color:#d4d9da}.button.secondary:hover{background:#252c30;border-color:#535e63}.button.ghost{color:#b9c0c2}.button.danger-light{border-radius:4px}
.toolbar{display:flex;align-items:center;gap:18px;margin:0 0 18px}.search-box{height:38px;max-width: min(60%,760px);flex:1;border:1px solid #394145;background:#181d20;border-radius:5px;padding:0 12px}.search-box:focus-within{border-color:#6a777c;box-shadow:none}.search-box>span{display:none}.search-box input{font-size:11px;color:var(--text)}.search-box input::placeholder{color:#879195}.search-box kbd{border:1px solid #3b4448;border-radius:3px;background:#171c1f;color:#adb5b8;padding:2px 5px;font:9px var(--mono)}.toolbar-actions{gap:12px;margin-left:auto}.sort-control{font-size:10px;color:#adb5b8;gap:9px}.sort-control select{height:36px;min-width:180px;border-radius:5px;border-color:#3a4347;background-color:#181d20;color:#e0e4e4;font-size:11px;padding:0 10px}.toolbar-actions>.button{height:36px;min-width:108px}.filter-count{color:var(--green)}
.filter-panel{margin:-5px 0 14px;padding:9px 0;border:0;border-top:1px solid var(--line);border-bottom:1px solid var(--line);border-radius:0;background:transparent;gap:7px}.filter-panel>span{font-size:10px;color:#8e999d}.filter-chip{border-radius:4px;background:#1a2023;border:1px solid #343d41;color:#c7cdcf;font-size:10px}.filter-chip.selected{background:#1e2d23;border-color:#397248;color:#94efab}.filter-divider{height:17px;background:#3a4246}
.table-frame{border:0;border-top:1px solid #343b3f;border-bottom:1px solid #343b3f;background:transparent;border-radius:0;box-shadow:none;overflow:visible}.table-scroll{overflow:auto}table{width:100%;min-width:1060px;border-collapse:collapse;table-layout:fixed}thead{background:transparent}th{height:35px;padding:0 13px;text-align:left;color:#aab2b5;font:10px var(--sans);font-weight:500;white-space:nowrap;border-bottom:1px solid #3a4246}th:first-child,td:first-child{padding-left:14px}th:last-child,td:last-child{padding-right:14px;width:42px}.node-column{width:150px}.node-column .sort-glyph{display:none}td{height:56px;padding:7px 13px;border-bottom:1px solid #2d3438;font-size:11px;color:#d6dbdc;vertical-align:middle}tbody tr{background:transparent;transition:background .12s}tbody tr:hover{background:#1b2023}tbody tr:last-child td{border-bottom:0}tbody tr[data-id]{cursor:pointer}
.node-identity{gap:0}.node-symbol{display:none}.node-name{font-size:11px;line-height:1.45;font-weight:650;color:#e8ebeb}.node-host{font:10px var(--mono);line-height:1.45;color:#8d989c;margin-top:1px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:180px}.country-cell{gap:9px;white-space:nowrap}.country-flag{font-size:18px;line-height:1;width:21px;text-align:center}.country-cell>span:last-child{font-size:11px;color:#d0d6d7}
.state-cell{display:flex;flex-direction:column;align-items:flex-start;gap:3px;min-width:90px;line-height:1.2}.state-label{position:relative;padding-left:13px;font-size:11px;font-weight:550;white-space:nowrap;color:#d8dddd}.state-label:before{content:"";position:absolute;left:0;top:4px;width:7px;height:7px;border-radius:50%;background:#8b969a}.state-note{padding-left:13px;font-size:9px;color:#8b969a;white-space:nowrap}.state-cell.healthy .state-label{color:#64e286}.state-cell.healthy .state-label:before{background:#48d873;box-shadow:0 0 6px #48d87355}.state-cell.critical .state-label{color:#ff777b}.state-cell.critical .state-label:before{background:#f25058}.state-cell.warning .state-label{color:#f3bc51}.state-cell.warning .state-label:before{background:#eaaa31}.state-cell.neutral .state-label{color:#d1d6d7}
.resource-cell{width:100%;min-width:68px;max-width:118px;display:grid;gap:5px}.resource-number{font:11px var(--mono);color:#e0e4e4;white-space:nowrap}.resource-number em{font-style:normal;color:#aab3b6;margin-left:1px}.resource-track{display:block;height:5px;width:100%;border-radius:1px;background:#373e41;overflow:hidden}.resource-track i{display:block;height:100%;background:#51db75;border-radius:1px}.resource-cell.medium .resource-track i{background:#e9ad36}.resource-cell.high .resource-track i{background:#f05d5e}.last-seen{font:10px var(--mono);white-space:nowrap;color:#b5bdbf}.last-seen.muted{color:#758084}.row-more{font-size:14px;color:#a6afb2}.restore-row{height:27px;padding:0 8px;font-size:9px}
.table-footer{height:48px;padding:0 12px;border:0;border-top:1px solid #2e3539;background:transparent;color:#929da1;font:9px var(--mono)}.table-footer .pulse-dot{margin-right:6px}.empty-state{min-height:280px;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center}.empty-state h3{font-size:14px;font-weight:600;color:#e0e5e5;margin:0 0 5px}.empty-state p{font-size:11px;color:#929da1;margin:0 0 16px}.empty-state .button{height:32px}.loading-state{position:absolute;left:-9999px;top:auto;width:1px;height:1px;overflow:hidden}
.status-pill{border-radius:3px;padding:2px 5px;font-size:9px}
.modal{background:#191e21;border-color:#353d41;border-radius:7px;box-shadow:0 20px 80px #0009}.modal-header{border-color:#30373b}.modal-header h2{font-size:18px}.login-card{background:#191e21;border-color:#353d41;box-shadow:0 20px 80px #0009}.login-card input,.form-grid input,.form-grid select,.settings-grid input,.settings-grid select{background:#131719;border-color:#374044;border-radius:4px}.detail-status-card,.resource-chart{background:#151a1d;border-color:#323a3e;border-radius:4px}.resource-chart{background-color:#151a1d;background-image:none}.detail-actions{background:#191e21}.toast{border-radius:4px}
@media(max-width:1100px){.sidebar{width:210px}.main-area{margin-left:210px}.content{padding:27px 22px}.topbar{padding:0 22px}.toolbar{gap:10px}.sort-control select{min-width:145px}table{min-width:1030px}}
@media(max-width:760px){.sidebar{width:58px;padding:20px 7px}.brand{padding:0 6px 35px}.brand>div:nth-child(2),.side-section-label,.nav-item:not(.active),.nav-item .nav-count,.side-status,.sidebar-bottom>span,.sidebar-bottom .icon-button:first-of-type{display:none}.nav-item{justify-content:center;padding:0;font-size:0}.nav-icon{font-size:18px}.sidebar-bottom{justify-content:center;padding:12px 0 0}.sidebar-bottom .icon-button{display:inline-grid}.main-area{margin-left:58px}.topbar{height:52px;padding:0 13px}.breadcrumbs span,.breadcrumbs b{display:none}.topbar-right{gap:7px}.refresh-label{display:none}.content{padding:23px 13px 35px}.page-heading{align-items:flex-start;gap:12px;margin-bottom:18px}.page-heading h1{font-size:23px}.page-heading p{max-width:220px;line-height:1.5}.page-heading>.button{height:34px;padding:0 9px;font-size:10px}.toolbar{align-items:stretch;flex-direction:column;margin-bottom:14px}.search-box{max-width:none;min-height:36px}.toolbar-actions{justify-content:space-between}.sort-control{font-size:9px}.sort-control select{max-width:155px;font-size:9px}.filter-panel{overflow-x:auto;white-space:nowrap}.filter-panel>span{flex:none}.filter-chip{flex:none}.table-frame{margin:0 -1px}.table-footer{font-size:8px}.table-scroll{overflow-x:auto}table{min-width:1060px}.modal-backdrop{padding:9px}.modal{max-height:calc(100vh - 18px)}.modal-header{padding:18px 17px 14px}.node-modal form{padding:16px 17px 0}.modal-footer{padding:12px 17px}.detail-statuses{padding:13px;gap:5px}.detail-status-card{padding:9px}.detail-status-card span{font-size:7px}.detail-status-card b{font-size:9px}.chart-section,.history-section{padding-left:13px;padding-right:13px}.settings-grid{grid-template-columns:1fr;padding:17px}.password-section{grid-column:auto}.password-section form{grid-template-columns:1fr}.password-section .form-error{grid-column:auto}.settings-modal .modal-footer{display:none}.detail-actions{align-items:flex-start}.detail-actions>div{flex-wrap:wrap;justify-content:flex-end}.history-item{grid-template-columns:95px 1fr}}

/* TeamStorm-inspired searchable multi-select tags */
.node-tags-field{position:relative}.tag-picker{position:relative;margin-top:6px;min-height:37px;border:1px solid #2a3745;border-radius:5px;background:#0f1720}.tag-picker:focus-within{border-color:#8995ff;box-shadow:0 0 0 1px #8995ff}.tag-selection{min-height:35px;padding:4px 7px;display:flex;align-items:center;flex-wrap:wrap;gap:5px}.tag-selection input{flex:1 1 140px!important;width:120px!important;min-width:100px;height:26px!important;margin:0!important;padding:0 3px!important;border:0!important;background:transparent!important;outline:none!important;box-shadow:none!important}.tag-selection input::placeholder{color:#687789}.tag-chip,.node-tag{--tag-color:#8995ff;display:inline-flex;align-items:center;gap:5px;border:1px solid color-mix(in srgb,var(--tag-color) 48%,transparent);border-radius:4px;background:color-mix(in srgb,var(--tag-color) 15%,transparent);color:color-mix(in srgb,var(--tag-color) 55%,white);font-size:10px;line-height:18px;padding:0 6px;white-space:nowrap}.tag-chip button{border:0;background:none;color:inherit;font-size:15px;line-height:14px;padding:0;opacity:.75}.tag-chip button:hover{opacity:1}.tag-menu{position:absolute;left:0;right:0;top:calc(100% + 5px);z-index:50;max-height:220px;overflow:auto;padding:4px;background:#151f2b;border:1px solid #354354;border-radius:6px;box-shadow:0 12px 30px #0009}.tag-options{display:grid;gap:2px}.tag-option{display:flex;align-items:center;gap:8px;width:100%;min-height:31px;padding:5px 8px;border:0;border-radius:4px;background:transparent;color:#c5cfda;text-align:left;font-size:11px}.tag-option:hover,.tag-option:focus-visible{background:#222f3e;outline:0}.tag-option i{width:9px;height:9px;border-radius:50%;background:var(--tag-color);box-shadow:0 0 0 3px color-mix(in srgb,var(--tag-color) 17%,transparent)}.tag-create-option{color:#aab4ff}.tag-create-option b{font-size:15px}.tag-empty{padding:10px;color:#8190a2;font-size:10px}.node-tags{display:flex;flex-wrap:wrap;gap:4px;margin-top:5px}.node-tag{font-size:9px;line-height:15px;padding:0 5px}

/* Keep the fleet table inside the viewport instead of forcing horizontal scrolling. */
@media(max-width:1350px){.table-scroll{overflow-x:hidden}table{width:100%;min-width:0!important;table-layout:fixed}.table-scroll th,.table-scroll td{padding-left:6px;padding-right:6px}.table-scroll th:first-child,.table-scroll td:first-child{padding-left:9px}.table-scroll th:last-child,.table-scroll td:last-child{padding-right:8px}.table-scroll th:nth-child(1){width:16%}.table-scroll th:nth-child(2){width:12%}.table-scroll th:nth-child(3){width:11%}.table-scroll th:nth-child(4){width:12%}.table-scroll th:nth-child(5){width:13%}.table-scroll th:nth-child(6),.table-scroll th:nth-child(7){width:9%}.table-scroll th:nth-child(8){width:12%}.table-scroll th:nth-child(9){width:6%}.state-cell{min-width:0}.state-note{display:none}.resource-cell{min-width:0;max-width:none}.country-cell{gap:4px;min-width:0;overflow:hidden}.country-cell>span:last-child{overflow:hidden;text-overflow:ellipsis}.node-host{max-width:100%}}
@media(max-width:760px){.table-scroll th,.table-scroll td{padding-left:3px;padding-right:3px}.table-scroll th:first-child,.table-scroll td:first-child{padding-left:5px}.table-scroll th:nth-child(1){width:19%}.table-scroll th:nth-child(2){width:8%}.table-scroll th:nth-child(3){width:11%}.table-scroll th:nth-child(4){width:12%}.table-scroll th:nth-child(5){width:13%}.table-scroll th:nth-child(6),.table-scroll th:nth-child(7){width:9%}.table-scroll th:nth-child(8){width:11%}.table-scroll th:nth-child(9){width:8%}.country-cell>span:last-child{display:none}.country-cell{justify-content:center}.state-label{font-size:9px;padding-left:10px}.state-label:before{width:6px;height:6px;top:3px}.resource-number,.last-seen{font-size:9px}.resource-track{height:4px}.node-name{font-size:10px}.node-host{font-size:8px}.node-tag{font-size:8px;padding:0 3px}}
@media(max-width:520px){.table-scroll th:nth-child(8),.table-scroll td:nth-child(8){display:none}.table-scroll th:nth-child(1){width:21%}.table-scroll th:nth-child(2){width:9%}.table-scroll th:nth-child(3){width:13%}.table-scroll th:nth-child(4){width:14%}.table-scroll th:nth-child(5){width:15%}.table-scroll th:nth-child(6),.table-scroll th:nth-child(7){width:10%}.table-scroll th:nth-child(9){width:8%}}

.tag-manager-row{min-width:0}.tag-manager-name{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.tag-manager-row small{margin-left:auto;white-space:nowrap}.tag-delete{width:23px;height:23px;flex:none;border:1px solid transparent;border-radius:4px;background:transparent;color:#87949e;font-size:17px;line-height:1}.tag-delete:hover{color:#ff8b8f;background:#332329;border-color:#53333a}

/* ===== Section tree ===== */
.workspace{display:grid;grid-template-columns:264px minmax(0,1fr);gap:20px;align-items:start}
.workspace.no-tree{grid-template-columns:minmax(0,1fr)}
.workspace-main{min-width:0}
.section-tree{position:sticky;top:16px;max-height:calc(100vh - 32px);display:flex;flex-direction:column;background:var(--panel,#131c27);border:1px solid var(--line,#253241);border-radius:10px;padding:12px 8px 10px;animation:slideInLeft .45s cubic-bezier(.2,.8,.2,1) both}
.tree-head{display:flex;align-items:center;justify-content:space-between;padding:0 6px 8px;font:10px var(--mono);letter-spacing:.13em;color:#758395}
.tree-search{width:calc(100% - 8px);margin:0 4px 8px;height:34px;padding:0 11px;border-radius:7px;border:1px solid var(--line,#253241);background:#0f161f;color:var(--text);font-size:12px;transition:border-color .2s,box-shadow .2s}
.tree-search:focus{outline:0;border-color:var(--accent);box-shadow:0 0 0 3px #8995ff22}
.tree-body{overflow:auto;min-height:60px;padding:0 2px;scrollbar-width:thin}
.tree-row{--depth:0;position:relative;display:flex;align-items:center;gap:5px;height:33px;margin:1px 0;padding:0 6px 0 calc(6px + var(--depth) * 16px);border-radius:7px;color:#a9b5c3;font-size:12.5px;cursor:pointer;user-select:none;transition:background .15s,color .15s,transform .15s,box-shadow .15s}
.tree-row:hover{background:#1a2634;color:var(--text)}
.tree-row.selected{background:#222a40;color:#e8ebff;box-shadow:inset 3px 0 0 var(--accent)}
.tree-row.special{color:#c3ccd8}
.tree-row.drop-target{background:#2a3560;color:#fff;box-shadow:inset 0 0 0 1px var(--accent),0 0 0 3px #8995ff22;transform:translateX(3px)}
.tree-caret{width:18px;height:18px;flex:none;display:grid;place-items:center;border:0;background:transparent;color:#8795a6;font-size:15px;border-radius:4px;transition:transform .22s cubic-bezier(.2,.8,.2,1),color .15s}
.tree-caret.open{transform:rotate(90deg);color:var(--accent)}
.tree-caret:not(.empty):hover{background:#2a3647}
.tree-icon{width:13px;flex:none;text-align:center;font-size:11px;color:#6f7e90}
.tree-row.selected .tree-icon{color:var(--accent)}
.tree-name{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.tree-count{font:10.5px var(--mono);color:#7f8c9d;background:#0f161f;border-radius:10px;padding:1px 7px;min-width:22px;text-align:center;transition:opacity .15s}
.tree-actions{display:none;gap:1px}
.tree-row:hover .tree-actions{display:flex;animation:fadeIn .15s both}
.tree-row:hover .tree-count{display:none}
.tree-actions button{width:21px;height:21px;border:0;border-radius:5px;background:transparent;color:#9aa8b8;font-size:13px;line-height:1;display:grid;place-items:center;transition:background .15s,color .15s,transform .15s}
.tree-actions button:hover{background:#2e3b4d;color:#fff;transform:scale(1.12)}
.tree-actions [data-delete]:hover{background:#4a2a30;color:#ff9aa0}
.tree-children{position:relative}
.tree-children::before{content:"";position:absolute;left:calc(15px + var(--d,0px));top:0;bottom:6px;width:1px;background:#222f3d;opacity:.0}
.tree-children.enter{animation:treeIn .24s cubic-bezier(.2,.8,.2,1) both;transform-origin:top}
.tree-edit{flex:1;margin:0}
.tree-edit input{width:100%;height:26px;border-radius:6px;border:1px solid var(--accent);background:#0f161f;color:var(--text);padding:0 8px;font-size:12.5px;box-shadow:0 0 0 3px #8995ff22}
.tree-row.create{cursor:default;animation:treeIn .2s both}
.tree-hint{margin:8px 8px 0;font-size:10.5px;line-height:1.45;color:#5f6d7e}
body.is-dragging .tree-row[data-drop-section]{outline:1px dashed #3a4a60;outline-offset:-1px}
tbody tr.dragging{opacity:.45}
tr[draggable=true]{cursor:grab}
@media(max-width:1000px){.workspace{grid-template-columns:1fr}.section-tree{position:static;max-height:300px}}

/* ===== Animations ===== */
@keyframes fadeIn{from{opacity:0}to{opacity:1}}
@keyframes fadeUp{from{opacity:0;transform:translateY(10px)}to{opacity:1;transform:none}}
@keyframes slideInLeft{from{opacity:0;transform:translateX(-14px)}to{opacity:1;transform:none}}
@keyframes popIn{from{opacity:0;transform:translateY(14px) scale(.965)}to{opacity:1;transform:none}}
@keyframes treeIn{from{opacity:0;transform:translateY(-5px)}to{opacity:1;transform:none}}
@keyframes toastIn{from{opacity:0;transform:translateY(14px) scale(.96)}to{opacity:1;transform:none}}
@keyframes growX{from{transform:scaleX(0)}to{transform:scaleX(1)}}
@keyframes softPulse{0%,100%{opacity:1}50%{opacity:.55}}
@keyframes ripple{0%{box-shadow:0 0 0 0 #58d5a066}100%{box-shadow:0 0 0 9px #58d5a000}}
.content{animation:fadeUp .5s cubic-bezier(.2,.8,.2,1) both}
.page-heading,.toolbar{animation:fadeUp .5s cubic-bezier(.2,.8,.2,1) both}
.toolbar{animation-delay:.05s}
.table-frame{animation:fadeUp .55s .1s cubic-bezier(.2,.8,.2,1) both}
#nodes-body.animate-rows tr{animation:fadeUp .4s cubic-bezier(.2,.8,.2,1) both;animation-delay:calc(var(--i,0) * 32ms)}
#nodes-body.animate-rows .resource-track i{transform-origin:left;animation:growX .8s .2s cubic-bezier(.2,.8,.2,1) both}
tbody tr{transition:background .15s,transform .15s}
tbody tr:hover{transform:translateX(2px)}
.state-cell.critical .state-label{animation:softPulse 2s ease-in-out infinite}
.pulse-dot{animation:ripple 2s ease-out infinite}
.modal-backdrop{animation:fadeIn .2s both}
.modal{animation:popIn .28s cubic-bezier(.2,.8,.2,1) both}
.toast{animation:toastIn .3s cubic-bezier(.2,.8,.2,1) both}
.button,.icon-button,.nav-item,.filter-chip{transition:background .15s,border-color .15s,color .15s,transform .15s,box-shadow .2s}
.button:hover:not(:disabled),.filter-chip:hover{transform:translateY(-1px)}
.button:active:not(:disabled),.icon-button:active{transform:translateY(0) scale(.97)}
.button.primary:hover:not(:disabled){box-shadow:0 6px 22px #8995ff33}
.nav-item:hover{transform:translateX(2px)}
.refresh-button:active{transform:rotate(180deg);transition:transform .35s}
.status-pill,.node-tag{animation:fadeIn .4s both}
.detail-status-card{animation:fadeUp .35s both}
.detail-status-card:nth-child(2){animation-delay:.05s}.detail-status-card:nth-child(3){animation-delay:.1s}.detail-status-card:nth-child(4){animation-delay:.15s}
#login .login-card,#login>*{animation:popIn .5s cubic-bezier(.2,.8,.2,1) both}
@media (prefers-reduced-motion:reduce){*,*::before,*::after{animation-duration:.001ms!important;animation-delay:0s!important;transition-duration:.001ms!important}}

/* ===== Roles ===== */
body[data-role="viewer"] .needs-edit{display:none!important}
body:not([data-role="admin"]) .needs-admin{display:none!important}
.role-badge{font:9px var(--mono);letter-spacing:.06em;color:#7f8c9d;border:1px solid var(--line,#253241);border-radius:9px;padding:1px 6px;margin-left:6px;text-transform:uppercase}

/* ===== Toolbar additions ===== */
.toolbar-actions{flex-wrap:wrap;gap:8px;justify-content:flex-end}
.views-select{height:38px;max-width:210px;border-radius:7px;border:1px solid var(--line,#253241);background:#0f161f;color:var(--text);padding:0 10px;font-size:12px}
a.button{display:inline-flex;align-items:center;text-decoration:none}
.bulk-bar{display:flex;align-items:center;flex-wrap:wrap;gap:8px;margin-bottom:12px;padding:10px 12px;border:1px solid #34406a;background:#1a2036;border-radius:9px;animation:popIn .25s both}
.bulk-bar b{font:600 15px var(--mono);color:#cfd6ff}.bulk-bar>span{color:#9aa6c9;font-size:12px;margin-right:4px}
.bulk-bar select,.bulk-bar input{height:34px;border-radius:7px;border:1px solid var(--line,#253241);background:#0f161f;color:var(--text);padding:0 9px;font-size:12px;max-width:170px}
.bulk-bar .button{height:34px;padding:0 12px;font-size:12px}.bulk-sep{width:1px;height:22px;background:#34406a;margin:0 4px}
.bulk-bar .icon-button{margin-left:auto}

/* ===== Table additions ===== */
th.sortable{cursor:pointer;user-select:none;white-space:nowrap}
th.sortable:hover{color:var(--text)}
th.sortable.sorted::after{content:" ↑";color:var(--accent)}
th.sortable.sorted[data-dir="desc"]::after{content:" ↓"}
.check-col,.check-cell{width:34px;padding-left:12px!important;padding-right:0!important}
.check-cell input,.check-col input{accent-color:var(--accent);width:15px;height:15px;cursor:pointer}
tr.selected-row{background:#1b2238!important}
.node-section{font:10px var(--mono);color:#6f7e90;margin-top:3px}
.num-cell{font:13px var(--mono);color:#cfd8e3}
.pay-cell b{display:block;font-size:12px;font-weight:600}.pay-cell small{display:block;font-size:10px;color:var(--muted);margin-top:3px}
.pay-cell.critical b{color:var(--red)}.pay-cell.warning b{color:var(--amber)}.pay-cell.ok b{color:#cfd8e3}
.incidents-view .status-pill{margin-right:8px}

/* ===== Detail modal additions ===== */
.info-section,.avail-section{padding:0 24px 16px}
.info-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:9px}
.info-card{background:#101922;border:1px solid var(--line2,#1d2936);border-radius:7px;padding:10px 12px;animation:fadeUp .35s both}
.info-card span{display:block;color:#8290a1;font:9px var(--mono);margin-bottom:7px}.info-card b{font-size:12px;font-weight:600;word-break:break-word}
.notes-box{margin-top:9px;background:#101922;border:1px solid var(--line2,#1d2936);border-radius:7px;padding:10px 12px}
.notes-box span{display:block;color:#8290a1;font:9px var(--mono);margin-bottom:6px}.notes-box p{margin:0;white-space:pre-wrap;font-size:12px;line-height:1.5;color:#c5cfdb}
.copy-chip{border:0;background:transparent;color:inherit;padding:2px 5px;margin:0 -3px;border-radius:5px;font:inherit;cursor:pointer;transition:background .15s}
.copy-chip:hover{background:#243142}.copy-chip i{font-style:normal;opacity:.5;font-size:11px}
.period-switch{display:flex;gap:2px;background:#0f161f;border-radius:7px;padding:2px}
.period-switch button{border:0;background:transparent;color:#8290a1;border-radius:5px;padding:5px 10px;font-size:11px;transition:background .15s,color .15s}
.period-switch button.selected{background:#26304a;color:#e3e7ff}
.avail-strip{display:flex;gap:1px;height:34px;margin-top:12px;border-radius:5px;overflow:hidden}
.avail-strip .b{flex:1;min-width:1px;background:#252f3b;transition:transform .12s,filter .12s;animation:fadeIn .4s both}
.avail-strip .b.up{background:#3fbf8a}.avail-strip .b.down{background:#ff6b73}
.avail-strip .b:hover{transform:scaleY(1.18);filter:brightness(1.3)}
.avail-incidents{margin-top:10px;display:grid;gap:6px}
.avail-incident{display:flex;align-items:center;gap:10px;flex-wrap:wrap;font-size:12px;padding:7px 10px;background:#101922;border-radius:7px}
@media(max-width:760px){.info-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* ===== Admin modal ===== */
.admin-modal{width:min(720px,100%)}
.admin-tabs{display:flex;gap:4px;padding:0 24px;border-bottom:1px solid var(--line2,#1d2936)}
.admin-tabs button{border:0;background:transparent;color:#8290a1;padding:10px 14px;font-size:12.5px;border-bottom:2px solid transparent;transition:color .15s,border-color .15s}
.admin-tabs button.selected{color:#e3e7ff;border-bottom-color:var(--accent)}
.admin-pane{padding:18px 24px 24px;animation:fadeUp .25s both}
.user-row{display:flex;align-items:center;gap:10px}.user-row .user-name{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis}
.user-row select{height:32px;border-radius:6px;border:1px solid var(--line,#253241);background:#0f161f;color:var(--text);padding:0 8px;font-size:12px}
.user-create{display:grid;grid-template-columns:1fr 1fr auto auto;gap:8px;margin-top:14px}
.user-create input,.user-create select{height:36px;border-radius:7px;border:1px solid var(--line,#253241);background:#0f161f;color:var(--text);padding:0 10px;min-width:0}
.data-actions{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.data-actions>div{background:#101922;border:1px solid var(--line2,#1d2936);border-radius:9px;padding:14px}
.data-actions h4{margin:0 0 6px;font-size:13px}.data-actions p{font-size:11.5px;line-height:1.5;margin:0 0 12px}
.import-result{margin-top:12px;background:#0b1118;border:1px solid var(--line2,#1d2936);border-radius:8px;padding:10px 12px;font:11.5px/1.6 var(--mono);white-space:pre-wrap;max-height:180px;overflow:auto}
.alerts-info li{margin:6px 0;font-size:12.5px;line-height:1.5;color:#b9c4d2}.alerts-info p{font-size:13px}
.ok-text{color:var(--green)}.warn-text{color:var(--amber)}
#alerts-test{margin-top:8px}
@media(max-width:700px){.user-create{grid-template-columns:1fr 1fr}.data-actions{grid-template-columns:1fr}}

/* ===== Tree additions ===== */
.tree-dot{width:9px;height:9px;border-radius:50%;flex:none;margin:0 2px;box-shadow:0 0 0 2px #0d131b}
.tree-color{width:21px;height:21px;display:grid;place-items:center;cursor:pointer}
.tree-color input{width:13px;height:13px;border:0;padding:0;background:none;border-radius:50%;cursor:pointer;-webkit-appearance:none;appearance:none;overflow:hidden}
.tree-color input::-webkit-color-swatch-wrapper{padding:0}.tree-color input::-webkit-color-swatch{border:1px solid #ffffff44;border-radius:50%}
.tree-row.drop-before::before,.tree-row.drop-after::after{content:"";position:absolute;left:8px;right:8px;height:2px;background:var(--accent);border-radius:2px;box-shadow:0 0 8px var(--accent)}
.tree-row.drop-before::before{top:-2px}.tree-row.drop-after::after{bottom:-2px}

/* ===== Light theme (inverted palette, media kept natural) ===== */
html[data-theme="light"]{filter:invert(1) hue-rotate(180deg);background:#fff}
html[data-theme="light"] img,html[data-theme="light"] .flag-icon,html[data-theme="light"] .tree-dot,html[data-theme="light"] .tag-chip i,html[data-theme="light"] .tree-color input,html[data-theme="light"] input[type=color]{filter:invert(1) hue-rotate(180deg)}

/* ===== Mobile: cards instead of a wide table ===== */
@media(max-width:760px){
  .workspace{grid-template-columns:1fr}
  .section-tree{position:static;max-height:260px}
  .toolbar{flex-direction:column;align-items:stretch;gap:10px}
  table,thead,tbody,tr,td{display:block}
  thead{display:none}
  tbody tr{margin:10px;padding:10px 12px;border:1px solid var(--line,#253241);border-radius:10px;background:#111a24}
  tbody tr:hover{transform:none}
  tbody td{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:6px 0!important;border:0!important;width:auto!important}
  tbody td[data-label]::before{content:attr(data-label);font:10px var(--mono);color:var(--muted);flex:none}
  tbody td:first-child{padding-top:0!important}
  .check-cell{justify-content:flex-start}
  .bulk-bar select,.bulk-bar input{max-width:none;flex:1 1 120px}
}
@media(max-width:760px){.page-heading{flex-wrap:wrap;gap:12px}#add-node{white-space:nowrap;flex:none}}

/* ===== Table layout fix: 12 columns need content-based widths + horizontal scroll ===== */
@media(min-width:761px){
  .table-frame .table-scroll{overflow-x:auto!important}
  .table-frame table{table-layout:auto!important;width:100%;min-width:1560px!important}
  .table-frame th,.table-frame td{padding-left:12px!important;padding-right:12px!important;white-space:nowrap}
  .table-frame th.check-col,.table-frame td.check-cell{width:44px;padding-left:14px!important;padding-right:4px!important}
  .table-frame th.node-column{min-width:250px;width:auto}
  .table-frame .node-host{max-width:260px}
  .table-frame .state-cell{min-width:116px}
  .table-frame .state-note{white-space:nowrap}
  .table-frame .country-cell{min-width:120px}
  .table-frame .resource-cell{min-width:92px;max-width:130px}
  .table-frame td:last-child,.table-frame th:last-child{width:48px;padding-right:16px!important}
}
@media(min-width:761px){
  .table-frame table{min-width:1360px!important}
  .table-frame th,.table-frame td{padding-left:10px!important;padding-right:10px!important}
  .table-frame th.node-column{min-width:230px}
  .toolbar{flex-wrap:wrap;gap:10px}
  .toolbar .search-box{flex:1 1 280px;min-width:240px}
  .toolbar-actions{flex:0 1 auto;justify-content:flex-end}
}

/* ===== Availability strip: continuous bar without gaps ===== */
.avail-strip{gap:0!important;background:#1d2733;border-radius:6px}
.avail-strip .b{min-width:0;background:#2b3746;border:0}
.avail-strip .b.up{background:#3fbf8a}.avail-strip .b.down{background:#ff6b73}
.avail-strip .b:hover{transform:none;filter:brightness(1.35)}

/* ===== Custom checkboxes ===== */
input[type="checkbox"]{-webkit-appearance:none;appearance:none;flex:none;position:relative;width:18px!important;height:18px!important;margin:0;border:1.5px solid #3b4a5c;border-radius:5px;background:#0f161f;cursor:pointer;display:inline-grid;place-content:center;vertical-align:middle;transition:background .16s,border-color .16s,box-shadow .16s,transform .12s}
input[type="checkbox"]:hover{border-color:var(--accent);background:#141e2b}
input[type="checkbox"]:active{transform:scale(.9)}
input[type="checkbox"]:focus-visible{outline:0;box-shadow:0 0 0 3px #8995ff33;border-color:var(--accent)}
input[type="checkbox"]::after{content:"";width:9px;height:5px;border-left:2px solid #fff;border-bottom:2px solid #fff;transform:translateY(-1px) rotate(-45deg) scale(0);transition:transform .16s cubic-bezier(.2,.9,.3,1.4);opacity:0}
input[type="checkbox"]:checked{background:var(--accent);border-color:var(--accent);box-shadow:0 0 10px #8995ff44}
input[type="checkbox"]:checked::after{transform:translateY(-1px) rotate(-45deg) scale(1);opacity:1}
input[type="checkbox"]:indeterminate{background:var(--accent);border-color:var(--accent)}
input[type="checkbox"]:indeterminate::after{width:8px;height:0;border-left:0;border-bottom:2px solid #fff;transform:none;opacity:1}
input[type="checkbox"]:disabled{opacity:.45;cursor:not-allowed}
.check-cell,.check-col{text-align:center}
.check-cell input,.check-col input{accent-color:initial}
.avail-strip .b{box-shadow:0 0 0 .6px currentColor;color:#2b3746}
.avail-strip .b.up{color:#3fbf8a}.avail-strip .b.down{color:#ff6b73}

/* ===== Node form: textarea + date field match the other inputs ===== */
.form-grid textarea{display:block;width:100%;min-height:84px;max-height:240px;padding:10px;margin-top:6px;background:#131719;border:1px solid #374044;border-radius:4px;color:#e1e6ec;font:11px/1.5 var(--sans);resize:vertical;transition:border-color .2s,box-shadow .2s}
.form-grid textarea::placeholder{color:#586779}
.form-grid textarea:focus,.form-grid input:focus,.form-grid select:focus{outline:0;border-color:var(--accent);box-shadow:0 0 0 3px #8995ff22}
.form-grid input[type="date"]{color-scheme:dark;font-weight:400}
.form-grid input[type="date"]::-webkit-calendar-picker-indicator{opacity:.6;cursor:pointer}
.form-grid input[type="date"]::-webkit-calendar-picker-indicator:hover{opacity:1}

/* =====================================================================
   Motion system v2 — transform/opacity only, one easing family
   ===================================================================== */
:root{--ease-out:cubic-bezier(.22,1,.36,1);--ease-spring:cubic-bezier(.34,1.45,.64,1);--ease-inout:cubic-bezier(.65,0,.35,1)}
@keyframes viewIn{from{opacity:0;transform:translateY(12px)}to{opacity:1;transform:none}}
@keyframes rowIn{from{opacity:0;transform:translateY(10px)}to{opacity:1;transform:none}}
@keyframes backdropIn{from{opacity:0}to{opacity:1}}
@keyframes backdropOut{from{opacity:1}to{opacity:0}}
@keyframes modalIn{from{opacity:0;transform:translateY(22px) scale(.96)}to{opacity:1;transform:none}}
@keyframes modalOut{from{opacity:1;transform:none}to{opacity:0;transform:translateY(10px) scale(.98)}}
@keyframes toastIn{from{opacity:0;transform:translateY(16px) scale(.94)}to{opacity:1;transform:none}}
@keyframes toastOut{from{opacity:1;transform:none}to{opacity:0;transform:translateX(24px) scale(.96)}}
@keyframes reveal{from{clip-path:inset(0 100% 0 0)}to{clip-path:inset(0 0 0 0)}}
@keyframes cardIn{from{opacity:0;transform:translateY(8px) scale(.98)}to{opacity:1;transform:none}}
@keyframes barGrow{from{transform:scaleX(0)}to{transform:scaleX(1)}}
@keyframes sheen{0%{background-position:-200% 0}100%{background-position:200% 0}}

/* page + views */
.content{animation:viewIn .55s var(--ease-out) both}
.page-heading{animation:viewIn .5s var(--ease-out) both}
.toolbar{animation:viewIn .5s .05s var(--ease-out) both}
.table-frame{animation:viewIn .55s .1s var(--ease-out) both}
.section-tree{animation:slideInLeft .55s var(--ease-out) both}
.workspace-main,.incidents-view{animation:viewIn .4s var(--ease-out) both}

/* table: entrance only, no hover transforms (they repaint and look jittery) */
#nodes-body.animate-rows tr{animation:rowIn .45s var(--ease-out) both;animation-delay:calc(var(--i,0) * 34ms)}
#nodes-body.animate-rows .resource-track i{transform-origin:left;animation:barGrow .9s .25s var(--ease-out) both}
tbody tr,tbody tr:hover{transform:none!important}
tbody tr{transition:background-color .18s ease}
tbody tr:hover{background:#18232f}
.row-more{display:inline-block;transition:transform .22s var(--ease-out),color .18s}
tbody tr:hover .row-more{transform:translateX(4px);color:var(--accent)}
.nav-item,.nav-item:hover{transform:none}
.nav-item{transition:background-color .18s ease,color .18s ease}

/* modals */
.modal-backdrop{background:#060a10d9;backdrop-filter:none;-webkit-backdrop-filter:none;animation:backdropIn .24s ease both}
.modal{animation:modalIn .42s var(--ease-spring) both;will-change:transform,opacity}
.modal-backdrop.closing{animation:backdropOut .18s ease both;pointer-events:none}
.modal-backdrop.closing .modal{animation:modalOut .18s var(--ease-inout) both}
.info-card,.detail-status-card{animation:cardIn .45s var(--ease-out) both}
.info-card:nth-child(1),.detail-status-card:nth-child(1){animation-delay:.04s}
.info-card:nth-child(2),.detail-status-card:nth-child(2){animation-delay:.08s}
.info-card:nth-child(3),.detail-status-card:nth-child(3){animation-delay:.12s}
.info-card:nth-child(4),.detail-status-card:nth-child(4){animation-delay:.16s}
.info-card:nth-child(5){animation-delay:.2s}.info-card:nth-child(6){animation-delay:.24s}.info-card:nth-child(7){animation-delay:.28s}.info-card:nth-child(8){animation-delay:.32s}
.avail-strip{animation:reveal .9s .15s var(--ease-out) both}
.avail-strip .b{animation:none}
.avail-incident{animation:cardIn .4s var(--ease-out) both}
.admin-pane{animation:viewIn .3s var(--ease-out) both}

/* toasts: stacked, springy */
#toasts{position:fixed;right:22px;bottom:22px;z-index:30;display:flex;flex-direction:column;gap:10px;align-items:flex-end;pointer-events:none}
#toasts .toast{position:relative;right:auto;bottom:auto;pointer-events:auto;animation:toastIn .38s var(--ease-spring) both}
#toasts .toast.leaving{animation:toastOut .26s var(--ease-inout) both}

/* controls: short, tactile */
.button,.icon-button,.filter-chip,.tag-option,.country-option,.admin-tabs button,.period-switch button{transition:background-color .18s ease,border-color .18s ease,color .18s ease,box-shadow .22s ease,transform .18s var(--ease-out)}
.button:hover:not(:disabled),.filter-chip:hover{transform:translateY(-1px)}
.button:active:not(:disabled),.icon-button:active,.filter-chip:active{transform:scale(.96);transition-duration:.08s}
.button.primary:hover:not(:disabled){box-shadow:0 8px 24px #8995ff40}
.button:disabled{opacity:.55}
.icon-button:hover{transform:scale(1.06)}
input,select,textarea{transition:border-color .2s ease,box-shadow .25s ease,background-color .2s ease}
.status-pill,.node-tag{animation:fadeIn .5s ease both}
.bulk-bar{animation:viewIn .32s var(--ease-spring) both}
.tree-row{transition:background-color .18s ease,color .18s ease,box-shadow .2s ease,transform .22s var(--ease-out)}
.tree-row:hover{transform:none}
.tree-row.drop-target{transform:translateX(3px)}
.tree-children.enter{animation:none}
.tree-caret{transition:transform .26s var(--ease-out),color .18s ease,background-color .18s ease}
.spinner{animation-timing-function:linear}

/* subtle loading shimmer on empty chart placeholders */
.chart-placeholder{background:linear-gradient(100deg,transparent 30%,#ffffff0a 50%,transparent 70%) 0 0/200% 100%;animation:sheen 2.2s linear infinite}

@media (prefers-reduced-motion:reduce){*,*::before,*::after{animation-duration:.001ms!important;animation-delay:0s!important;transition-duration:.001ms!important}}

/* ===== Icons (Lucide sprite) ===== */
.ic{width:1.15em;height:1.15em;flex:none;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;vertical-align:middle;pointer-events:none}
.nav-icon{display:inline-grid;place-items:center;width:20px;font-size:0}
.nav-icon .ic{width:18px;height:18px}
.icon-button .ic{width:17px;height:17px}
.button .ic{width:15px;height:15px;margin-right:7px;vertical-align:-3px}
.button .ic.btn-ic-after{margin:0 0 0 8px}
.tree-actions .ic{width:13px;height:13px}
.tree-icon{display:inline-grid;place-items:center;width:15px;font-size:0}.tree-icon .ic{width:14px;height:14px}
.tree-caret .ic{width:14px;height:14px}
.tree-caret.open{transform:rotate(90deg)}
.row-more{font-size:0}.row-more .ic{width:16px;height:16px}
.copy-chip i{display:inline-grid;place-items:center;vertical-align:-2px}.copy-chip .ic{width:12px;height:12px;opacity:.6}
.tag-delete .ic{width:14px;height:14px}
.icon-button.refresh-button:hover .ic{transform:rotate(90deg)}
.icon-button .ic{transition:transform .35s var(--ease-out,ease)}
#section-add-root:hover .ic{transform:rotate(90deg)}
#view-save:hover .ic{color:#f3b966;fill:#f3b96655}
.bulk-bar .button .ic{width:14px;height:14px;margin-right:5px}

/* ===== Sidebar: status card + user panel ===== */
.side-status{display:flex;align-items:center;gap:11px;margin:0 0 12px;padding:11px 13px;border:1px solid var(--line2,#1d2936);border-radius:11px;background:linear-gradient(180deg,#121b26,#0f1720)}
.side-status strong{display:block;font-size:12px;font-weight:600;color:#dfe6ee}
.side-status small{display:block;margin-top:3px;font-size:10.5px;color:#7f8c9d}
.sidebar-user{margin-top:2px;padding-top:12px;border-top:1px solid var(--line2,#1d2936);display:grid;gap:9px}
.user-card{display:flex;align-items:center;gap:10px;padding:8px 8px 8px 9px;border:1px solid var(--line2,#1d2936);border-radius:12px;background:#111a24}
.avatar{width:34px;height:34px;flex:none;border-radius:50%;display:grid;place-items:center;font:700 14px var(--sans);color:#0d131b;background:linear-gradient(135deg,#a6b0ff,#6ee0b0)}
.user-meta{flex:1;min-width:0;display:grid;gap:4px;justify-items:start}
.user-meta #user-name{font-size:13px;font-weight:600;color:#e6ecf4;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.user-meta .role-badge{margin:0;padding:1px 7px;font:9px var(--mono);letter-spacing:.07em;color:#9fb0ff;border:1px solid #34406a;background:#1a2036;border-radius:9px;text-transform:uppercase}
.user-card .icon-button{width:32px;height:32px;border-radius:9px}
.user-card .icon-button:hover{color:#ff8e94;background:#2a1d22;border-color:#4a2a30}
.user-actions{display:grid;grid-auto-flow:column;grid-auto-columns:1fr;gap:7px}
.side-action{height:38px;border:1px solid var(--line2,#1d2936);border-radius:10px;background:#111a24;color:#93a2b4;display:flex;align-items:center;justify-content:center;gap:7px;font-size:11.5px;transition:background-color .18s ease,color .18s ease,border-color .18s ease,transform .18s var(--ease-out,ease)}
.side-action:hover{background:#1a2535;color:#fff;border-color:#2c3b4e;transform:translateY(-1px)}
.side-action:active{transform:scale(.96)}
.side-action .ic{width:16px;height:16px}
.side-action span{display:none}
@media(min-width:1180px){.user-actions:not(:has(.needs-admin:not([style]))) .side-action span{display:none}}
.sidebar .sidebar-bottom{display:none}
@media(max-width:760px){
  .side-status span+span,.user-meta,.user-card .icon-button:not(#logout){display:none}
  .side-status{padding:10px;justify-content:center}
  .user-card{padding:6px;justify-content:center;flex-direction:column;gap:8px}
  .user-actions{grid-auto-flow:row;grid-auto-columns:auto}
  .side-action{height:36px}
}

/* ===== Custom scrollbars ===== */
:root{--sb-track:transparent;--sb-thumb:#2f3d50;--sb-thumb-hover:#46597a;--sb-thumb-active:var(--accent,#8995ff)}
*{scrollbar-width:thin;scrollbar-color:var(--sb-thumb) transparent}
*::-webkit-scrollbar{width:10px;height:10px;background:transparent}
*::-webkit-scrollbar-track{background:var(--sb-track);border-radius:10px}
*::-webkit-scrollbar-thumb{background:var(--sb-thumb);border-radius:10px;border:3px solid transparent;background-clip:padding-box;transition:background-color .2s}
*::-webkit-scrollbar-thumb:hover{background:var(--sb-thumb-hover);background-clip:padding-box}
*::-webkit-scrollbar-thumb:active{background:var(--sb-thumb-active);background-clip:padding-box}
*::-webkit-scrollbar-button{display:none;width:0;height:0}
*::-webkit-scrollbar-corner{background:transparent}
/* the wide table: a slim pill rail under the rows */
.table-scroll{padding-bottom:2px}
.table-scroll::-webkit-scrollbar{height:12px}
.table-scroll::-webkit-scrollbar-track{background:#0f1720;border-radius:12px;margin:0 14px}
.table-scroll::-webkit-scrollbar-thumb{border:3px solid #0f1720;background-color:#34455c}
.table-scroll::-webkit-scrollbar-thumb:hover{background-color:#5b72a3}
.table-scroll::-webkit-scrollbar-thumb:active{background-color:var(--accent,#8995ff)}
.tree-body::-webkit-scrollbar,.modal::-webkit-scrollbar{width:8px}
