@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@400;500;600;700;800&display=swap');
:root{--bg:#f5f6f8;--surface:#fff;--surface-2:#fafafa;--text:#202329;--muted:#858a93;--line:#eceef1;--orange:#f27535;--orange-dark:#df6125;--orange-soft:#fff2eb;--green:#19875b;--green-soft:#e7f6ef;--purple:#7356c9;--blue:#5089dc;--amber:#df9425;--shadow:0 2px 5px rgba(29,35,45,.025),0 8px 24px rgba(29,35,45,.025);font-family:'DM Sans',sans-serif;color:var(--text);background:var(--bg)}
*{box-sizing:border-box}body{margin:0;background:var(--bg);font-size:13px}button,input{font:inherit}button{color:inherit;cursor:pointer}.app-shell{min-height:100vh;display:flex}.sidebar{width:248px;background:#fff;border-right:1px solid var(--line);padding:24px 15px 14px;display:flex;flex-direction:column;flex-shrink:0}.brand{display:flex;align-items:center;gap:11px;text-decoration:none;color:var(--text);padding:0 11px;margin-bottom:34px}.brand-mark{width:35px;height:35px;border-radius:11px;background:var(--orange);color:#fff;font-family:Manrope,sans-serif;font-size:21px;font-weight:800;display:grid;place-items:center;box-shadow:0 4px 10px #f275353d}.brand b{font:800 19px Manrope,sans-serif;letter-spacing:-.8px;display:block;line-height:19px}.brand small{font-size:8px;letter-spacing:1.3px;color:#9a9da4;font-weight:700}.workspace-label{font-size:9px;letter-spacing:1.2px;font-weight:700;color:#a0a3aa;padding:0 11px 9px}.workspace-switch{height:53px;margin:0 3px 25px;border:1px solid var(--line);background:#fff;border-radius:8px;display:flex;align-items:center;gap:10px;text-align:left;padding:6px 9px}.ws-icon{width:30px;height:30px;border-radius:7px;background:#f4f1eb;color:#836643;font-weight:700;display:grid;place-items:center}.workspace-switch b,.workspace-switch small,.profile b,.profile small{display:block}.workspace-switch b,.profile b{font-size:11px;font-weight:600}.workspace-switch small,.profile small{font-size:10px;color:#999da5;margin-top:2px}.chevron{margin-left:auto;color:#92969e}.nav-group{display:grid;gap:4px}.nav-item{height:39px;border:0;background:transparent;border-radius:7px;display:flex;align-items:center;text-align:left;gap:12px;color:#646a74;padding:0 11px;font-size:12px;font-weight:500}.nav-item:hover{background:#f8f8f8}.nav-item.active{background:var(--orange-soft);color:var(--orange-dark);font-weight:600}.nav-icon{width:17px;text-align:center;font-size:16px;color:#9196a0}.active .nav-icon{color:var(--orange)}.nav-count{margin-left:auto;background:#f1f2f4;color:#777c85;border-radius:10px;padding:2px 7px;font-size:9px}.orange-count{background:#fff0e7;color:#db713a}.nav-dot{width:6px;height:6px;border-radius:50%;background:var(--orange);margin-left:auto}.nav-divider{height:1px;background:var(--line);margin:20px 8px 20px}.sidebar-bottom{margin-top:auto}.help-card{display:flex;align-items:center;gap:9px;margin:0 3px 16px;padding:12px 10px;border-radius:8px;background:#f8f8f8}.help-badge{width:22px;height:22px;border-radius:50%;display:grid;place-items:center;color:#888;background:white;font-weight:700}.help-card b,.help-card small{display:block}.help-card b{font-size:10px}.help-card small{font-size:9px;color:#92969e;margin-top:3px}.arrow{margin-left:auto;color:#92969e}.profile{width:100%;border:0;border-top:1px solid var(--line);background:#fff;padding:14px 7px 0;display:flex;align-items:center;gap:9px;text-align:left}.avatar,.top-avatar{width:31px;height:31px;border-radius:50%;display:grid;place-items:center;background:#fee3d6;color:#a95436;font-size:10px;font-weight:700}.main-area{flex:1;min-width:0}.topbar{height:64px;border-bottom:1px solid var(--line);background:rgba(255,255,255,.78);display:flex;align-items:center;justify-content:space-between;padding:0 36px;position:sticky;top:0;z-index:5;backdrop-filter:blur(12px)}.breadcrumb{font-size:11px;color:#969aa2}.breadcrumb span{padding:0 9px;color:#c2c5cb}.breadcrumb b{font-weight:600;color:#555a63}.top-actions{display:flex;align-items:center;gap:17px}.connection-pill{font-size:10px;color:#737982;display:flex;align-items:center;gap:7px}.pulse,.footer-live{width:7px;height:7px;border-radius:50%;background:#28a879;box-shadow:0 0 0 3px #e8f6f0}.icon-button{border:0;background:transparent;color:#6f747d;font-size:18px;position:relative;width:27px;height:30px}.icon-button.notification i{position:absolute;width:5px;height:5px;border-radius:50%;background:var(--orange);top:3px;right:3px}.top-avatar{width:29px;height:29px}.mobile-menu{display:none;border:0;background:none;font-size:19px}.content{max-width:1450px;margin:auto;padding:31px 36px 20px}.page-heading{display:flex;align-items:flex-end;justify-content:space-between;margin-bottom:23px}.eyebrow{font-size:9px;font-weight:700;letter-spacing:1.05px;color:#9a9ea7}.heading-dot{color:var(--orange);padding:0 5px}.page-heading h1{font:700 24px Manrope,sans-serif;letter-spacing:-.8px;margin:9px 0 4px}.wave{color:var(--orange);font-size:18px}.subtitle{margin:0;color:#888d96;font-size:11px}.heading-actions{display:flex;gap:8px}.btn{border-radius:6px;height:34px;padding:0 13px;font-size:10px;font-weight:600;display:flex;align-items:center;gap:7px}.btn-secondary{border:1px solid #e5e7eb;background:white;color:#565c65}.btn-primary{border:1px solid var(--orange);background:var(--orange);color:white;box-shadow:0 2px 5px #f275352c}.btn-primary:hover{background:var(--orange-dark)}.btn span{font-size:15px}.stats-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:13px;margin-bottom:14px}.stat-card,.panel{background:var(--surface);border:1px solid var(--line);border-radius:9px;box-shadow:var(--shadow)}.stat-card{padding:15px 16px 11px;min-height:112px}.stat-top{display:flex;justify-content:space-between;align-items:center;color:#858a93;font-size:10px}.stat-icon{width:24px;height:24px;border-radius:6px;display:grid;place-items:center;font-size:13px}.grey-icon{background:#f2f3f5;color:#818792}.purple-icon{background:#f0ecfb;color:var(--purple)}.blue-icon{background:#edf4fe;color:var(--blue)}.amber-icon{background:#fff5e5;color:var(--amber)}.stat-value{font:700 23px Manrope,sans-serif;letter-spacing:-.8px;margin-top:4px}.stat-value small{font:500 10px 'DM Sans',sans-serif;color:#858a93;letter-spacing:0;margin-left:5px}.stat-value .muted-small{font-size:9px}.stat-foot{display:flex;align-items:center;gap:6px;color:#a0a4ab;font-size:9px;margin-top:5px}.trend{font-weight:600}.trend.up{color:#18855b}.trend.down{color:#dc7c43}.spark{margin-left:auto;letter-spacing:-1.2px;font-size:14px;font-weight:700}.spark-orange{color:#f4a27b}.spark-purple{color:#ae9be7}.spark-blue{color:#9fc1f0}.spark-amber{color:#f0be6a}.attention-text{color:#d18521}.attention-text i{display:inline-block;width:5px;height:5px;background:#e0a036;border-radius:50%;margin-right:3px}.middle-grid{display:grid;grid-template-columns:.91fr 1.35fr;gap:14px;margin-bottom:14px}.panel{padding:16px 17px}.panel-heading{display:flex;align-items:flex-start;justify-content:space-between}.panel-heading h2{font:700 13px Manrope,sans-serif;letter-spacing:-.2px;margin:0}.panel-heading p{font-size:10px;color:#9599a1;margin:4px 0 0}.select-button,.filter-button,.more-button{border:1px solid #e8eaed;background:white;border-radius:5px;padding:6px 9px;font-size:9px;color:#656b74}.select-button span{padding-left:8px;color:#989ca4}.portfolio-panel{min-height:217px}.portfolio-content{display:flex;align-items:center;justify-content:center;gap:24px;padding:16px 0 2px}.donut-wrap{width:136px;height:136px;display:grid;place-items:center}.donut{width:128px;height:128px;border-radius:50%;background:conic-gradient(#f27636 0 51%,#8f72dc 51% 68%,#5b94e4 68% 84%,#c8cbd1 84% 100%);display:grid;place-items:center;position:relative}.donut:after{content:"";position:absolute;inset:12px;border-radius:50%;background:var(--surface)}.donut-center{position:relative;z-index:1;text-align:center}.donut-center strong{display:block;font:700 21px Manrope,sans-serif;letter-spacing:-.6px}.donut-center span{font-size:9px;color:#999da5}.legend{width:55%;max-width:230px;display:grid;gap:10px}.legend>div{display:flex;align-items:center;gap:7px;font-size:9px;color:#6f747d;white-space:nowrap}.legend-dot{width:7px;height:7px;border-radius:2px}.legend-dot.laptop{background:#f27636}.legend-dot.facilities{background:#8f72dc}.legend-dot.fixtures{background:#5b94e4}.legend-dot.other{background:#c8cbd1}.legend b{margin-left:auto;color:#444a53;font-size:9px}.legend b small{font-size:8px;font-weight:400;color:#9b9fa7;margin-left:4px}.activity-panel{min-height:217px}.text-link{border:0;background:none;color:#df7139;font-size:9px;font-weight:600;padding:4px}.text-link span{padding-left:4px}.activity-list{margin-top:9px}.activity-row{min-height:39px;display:flex;align-items:center;gap:9px;border-bottom:1px solid #f0f1f3}.activity-row:last-child{border-bottom:0}.activity-icon{width:24px;height:24px;border-radius:6px;display:grid;place-items:center;font-size:12px;flex-shrink:0}.orange-bg{background:#fff0e8;color:#e17843}.blue-bg{background:#eef4fc;color:#5f91d6}.purple-bg{background:#f1edfb;color:#8268ce}.amber-bg{background:#fff5e8;color:#d2953e}.activity-row p{font-size:9px;margin:0 0 3px;color:#626771}.activity-row p b{color:#32363d;font-weight:600}.activity-row small{font-size:8px;color:#a0a4ab}.activity-row time{margin-left:auto;font-size:8px;color:#a1a5ac;white-space:nowrap}.assets-panel{padding:16px 0 0}.assets-heading{padding:0 17px 13px;align-items:center}.table-actions{display:flex;gap:7px;align-items:center}.search-box{height:29px;width:185px;border:1px solid #e8eaed;border-radius:5px;display:flex;align-items:center;padding:0 8px;gap:6px;color:#9297a0}.search-box input{border:0;outline:0;background:transparent;width:100%;min-width:0;font-size:9px;color:var(--text)}.search-box input::placeholder{color:#a0a4ab}.search-box kbd{white-space:nowrap;font-size:8px;border:1px solid #e8eaed;border-radius:3px;padding:2px 3px;color:#a1a4ab}.filter-button{height:29px;display:flex;align-items:center;gap:6px}.filter-button i{width:5px;height:5px;background:var(--orange);border-radius:50%;display:none}.filter-button.filtered i{display:block}.more-button{height:29px;padding:0 9px;font-size:16px;line-height:10px}.table-wrap{overflow:auto}table{width:100%;border-collapse:collapse;white-space:nowrap}thead{background:#fafbfc}th{text-align:left;height:32px;padding:0 10px;font-size:8px;letter-spacing:.65px;color:#9a9ea6;font-weight:600;border-top:1px solid #f0f1f3;border-bottom:1px solid #f0f1f3}td{height:52px;padding:0 10px;border-bottom:1px solid #f0f1f3;font-size:9px;color:#737881}tbody tr:hover{background:#fdfdfd}th:first-child,td:first-child{padding-left:17px;width:36px}input[type=checkbox]{width:12px;height:12px;accent-color:var(--orange);vertical-align:middle}.asset-cell{display:flex;align-items:center;gap:9px}.asset-cell b,.asset-cell small{display:block}.asset-cell b{font-size:9px;font-weight:600;color:#363a41}.asset-cell small{font-size:8px;color:#a0a4ab;margin-top:4px}.asset-thumb{width:29px;height:29px;border-radius:6px;display:grid;place-items:center;font-size:14px}.laptop-thumb{background:#f0f2f5;color:#666e7a}.ac-thumb{background:#edf4fd;color:#588edc}.monitor-thumb{background:#f5f0fe;color:#8b68ca}.generator-thumb{background:#fff4e7;color:#db973e}.fixture-thumb{background:#edf7f3;color:#52a083}.category-tag{color:#666b74;font-size:8px}.status-pill{display:inline-flex;align-items:center;gap:5px;border-radius:10px;padding:4px 7px;font-size:8px;font-weight:600}.status-pill i{width:5px;height:5px;border-radius:50%;background:currentColor}.status-pill.assigned{background:#e8f6ef;color:#168256}.status-pill.maintenance{background:#fff4e5;color:#bc791b}.status-pill.stock{background:#edf3fd;color:#5280c9}.person-cell{display:flex;align-items:center;gap:5px;color:#737881}.person-avatar{width:19px;height:19px;border-radius:50%;display:grid;place-items:center;font-size:7px;font-weight:700;color:#645248}.peach{background:#f8e0d5}.mint{background:#dff0e8;color:#47755f}.lilac{background:#e9e2f5;color:#6a5889}.empty-custodian{color:#b9bdc3}.row-menu{border:0;background:transparent;color:#9da1a8;font-weight:700}.table-footer{height:41px;padding:0 16px;display:flex;justify-content:space-between;align-items:center;color:#9a9ea6;font-size:8px}.table-footer b{color:#656b74;font-weight:600}.pagination{display:flex;align-items:center;gap:3px}.pagination button{height:23px;padding:0 7px;border:1px solid #e9ebee;border-radius:4px;background:white;color:#888d96;font-size:8px}.pagination button:disabled{opacity:.5}.pagination .page-current{background:var(--orange);border-color:var(--orange);color:white}.pagination span{padding:0 3px}.page-footer{display:flex;justify-content:space-between;color:#a0a4ab;font-size:8px;padding:17px 2px 0}.footer-live{display:inline-block;width:5px;height:5px;box-shadow:none;margin-right:5px}.footer-sep{padding:0 6px}.toast{position:fixed;bottom:22px;left:50%;transform:translate(-50%,16px);opacity:0;pointer-events:none;background:#24272d;color:white;padding:10px 15px;border-radius:7px;font-size:11px;z-index:30;box-shadow:0 8px 25px #1113;transition:.2s}.toast.show{opacity:1;transform:translate(-50%,0)}.modal-backdrop{position:fixed;inset:0;background:#1e232b68;z-index:20;display:grid;place-items:center;padding:20px;opacity:0;pointer-events:none;transition:.2s}.modal-backdrop.open{opacity:1;pointer-events:auto}.modal{width:min(430px,100%);background:var(--surface);border:1px solid var(--line);border-radius:13px;padding:27px;position:relative;box-shadow:0 25px 80px #1113}.modal-close{position:absolute;right:14px;top:12px;border:0;background:transparent;color:#9297a0;font-size:23px}.modal-icon{width:39px;height:39px;border-radius:10px;background:var(--orange-soft);color:var(--orange);display:grid;place-items:center;font-size:19px;margin-bottom:16px}.modal h2{font:700 20px Manrope,sans-serif;margin:7px 0}.modal>p{font-size:11px;line-height:1.6;color:#848992;margin:0 0 19px}.input-label{font-size:10px;font-weight:600;display:block;margin-bottom:6px}.scan-input{display:flex;gap:7px}.scan-input input{flex:1;min-width:0;border:1px solid #e2e5e9;border-radius:6px;padding:0 10px;height:35px;outline-color:var(--orange)}.scan-input .btn{white-space:nowrap}.modal-foot{display:flex;justify-content:space-between;align-items:center;margin-top:14px;color:#90949c;font-size:9px}.modal-foot span{color:#53896f}.modal-foot span.offline{color:#c47f24}
body.dark{--bg:#17191d;--surface:#202328;--surface-2:#24272d;--text:#eff1f3;--muted:#9da2aa;--line:#30343b;--orange-soft:#3b2921;--shadow:0 4px 22px #0002}body.dark .sidebar,body.dark .profile,body.dark .topbar{background:#1d2024}body.dark .workspace-switch,body.dark .btn-secondary,body.dark .select-button,body.dark .filter-button,body.dark .more-button,body.dark .pagination button{background:#24272d;border-color:#363a42;color:#c4c8ce}body.dark .nav-item:hover,body.dark tbody tr:hover{background:#272a30}body.dark .nav-item.active{color:#ff9c68}body.dark .help-card,body.dark thead{background:#25282e}body.dark .profile,body.dark td,body.dark th{border-color:#30343b}body.dark .donut:after{background:var(--surface)}body.dark .activity-row,body.dark .activity-row{border-color:#30343b}body.dark .activity-row p b,body.dark .asset-cell b,body.dark .legend b{color:#e3e5e8}body.dark .category-tag,body.dark .person-cell{color:#b5bac2}body.dark .stat-value small{color:#9ca1a9}body.dark .search-box{border-color:#363a42}body.dark .search-box kbd{border-color:#3a3e45}body.dark .status-pill.assigned{background:#18372a}body.dark .status-pill.stock{background:#1e2d45}body.dark .status-pill.maintenance{background:#3a3020}body.dark .pagination .page-current{background:var(--orange);color:#fff}body.dark .modal{background:#202328}body.dark .scan-input input{background:#25282e;border-color:#3a3e45;color:#eff1f3}
@media(max-width:1100px){.sidebar{width:220px}.content{padding:25px 23px}.topbar{padding:0 23px}.middle-grid{grid-template-columns:1fr 1.25fr}.legend{gap:8px}}
@media(max-width:800px){.sidebar{position:fixed;inset:0 auto 0 0;z-index:15;transform:translateX(-101%);transition:.2s;box-shadow:10px 0 30px #1111}.sidebar.open{transform:translateX(0)}.mobile-menu{display:block}.topbar{padding:0 16px;justify-content:flex-start;gap:13px}.top-actions{margin-left:auto;gap:10px}.connection-pill{font-size:0}.connection-pill .pulse{font-size:initial}.content{padding:22px 16px}.middle-grid{grid-template-columns:1fr}.stats-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.portfolio-content{justify-content:flex-start;padding-left:8%}.page-heading h1{font-size:21px}}
@media(max-width:560px){.content{padding:19px 12px}.page-heading{align-items:flex-start;gap:12px;flex-direction:column}.heading-actions{width:100%}.heading-actions .btn{flex:1;justify-content:center}.stats-grid{gap:8px}.stat-card{padding:12px;min-height:105px}.stat-value{font-size:20px}.stat-foot{font-size:8px}.spark{font-size:11px}.topbar{height:55px}.breadcrumb{font-size:10px}.top-avatar{display:none}.assets-heading{align-items:flex-start;gap:10px;flex-direction:column}.table-actions{width:100%}.search-box{flex:1}.filter-button span{display:none}.table-footer{padding:0 10px}.pagination button{padding:0 5px}.page-footer{font-size:7px}.portfolio-content{padding-left:0;gap:14px}.donut-wrap{width:118px;height:118px}.donut{width:110px;height:110px}.legend{width:calc(100% - 130px);gap:9px}.legend>div{font-size:8px}.modal{padding:23px}.scan-input{flex-direction:column}.scan-input input{height:38px}.scan-input .btn{justify-content:center}}
/* GWX compact views and routed section panels */
.profile{padding:8px 6px 0;gap:8px}.profile .avatar{width:27px;height:27px}.profile-label{display:flex;align-items:center;gap:6px;white-space:nowrap}.profile-label b{font-size:10px}.profile-label small{font-size:9px;margin:0;color:#999da5}.sidebar-bottom .help-card{margin-bottom:9px;padding:9px}.route-view{margin:0 0 14px}.route-panel{padding:16px 0 0}.route-panel>.panel-heading{padding:0 17px 14px;align-items:center}.route-table-wrap{max-height:calc(100vh - 200px)}.route-table-wrap th{height:36px}.route-table-wrap td{height:48px}.route-table-wrap td b{color:var(--text);font-size:10px;font-weight:600}.route-panel .btn{height:31px}.route-view[hidden],.stats-grid[hidden],.middle-grid[hidden],.assets-panel[hidden]{display:none!important}
@media(min-width:1000px) and (max-height:900px){.content{padding:18px 30px 8px}.page-heading{margin-bottom:14px}.page-heading h1{margin:6px 0 3px;font-size:22px}.stats-grid{gap:10px;margin-bottom:10px}.stat-card{min-height:88px;padding:11px 13px 8px}.stat-value{font-size:21px;margin-top:2px}.stat-foot{margin-top:3px}.middle-grid{gap:10px;margin-bottom:10px}.portfolio-panel,.activity-panel{min-height:166px;padding:13px 15px}.portfolio-content{padding:7px 0 0;gap:16px}.donut-wrap{width:112px;height:112px}.donut{width:106px;height:106px}.donut:after{inset:10px}.legend{gap:7px}.activity-list{margin-top:5px}.activity-row{min-height:31px;gap:7px}.activity-icon{width:21px;height:21px}.assets-panel{padding-top:12px}.assets-heading{padding-bottom:9px}.table-footer{height:31px}.page-footer{padding-top:9px}}
@media(min-width:1000px) and (max-height:760px){.topbar{height:52px}.content{padding-top:12px}.page-heading{margin-bottom:9px}.eyebrow{font-size:8px}.page-heading h1{font-size:20px;margin:4px 0 2px}.subtitle{font-size:10px}.stat-card{min-height:76px;padding:8px 11px}.stat-value{font-size:19px}.stat-top{font-size:9px}.stat-icon{width:21px;height:21px}.middle-grid{margin-bottom:8px}.portfolio-panel,.activity-panel{min-height:144px;padding:10px 13px}.portfolio-content{padding-top:4px}.donut-wrap{width:96px;height:96px}.donut{width:92px;height:92px}.legend{gap:5px}.activity-row{min-height:26px}.activity-row time{font-size:7px}td{height:38px}.assets-heading{padding-bottom:7px}th{height:28px}.table-footer{height:27px}.page-footer{display:none}}
@media(max-width:999px){.route-table-wrap{max-height:none}}
@media(min-width:1000px){.app-shell{height:100vh;min-height:0}.sidebar{height:100vh;overflow:hidden}.main-area{height:100vh;overflow:hidden}.content{height:calc(100vh - 64px);overflow:hidden}.route-view{max-height:100%;overflow:auto}}
@media(min-width:1000px) and (max-height:900px){.content{height:calc(100vh - 64px)}}
.user-cell{display:flex;align-items:center;gap:8px}.user-cell b,.user-cell small{display:block}.user-cell b{font-size:10px;color:var(--text);font-weight:600}.user-cell small{font-size:8px;color:var(--muted);margin-top:3px}.role-select{border:1px solid var(--line);background:var(--surface);color:var(--text);border-radius:5px;padding:6px 8px;min-width:145px;font-size:9px}.user-state{display:inline-flex;align-items:center;gap:6px;border-radius:12px;padding:5px 8px;font-size:8px;font-weight:600;background:#edf3fd;color:#5280c9}.user-state i{width:5px;height:5px;border-radius:50%;background:currentColor}.user-state.active{background:#e8f6ef;color:#168256}.user-state.invited{background:#fff4e5;color:#bc791b}.user-state.disabled{background:#f1f2f4;color:#858a93}.access-toggle{border:0;background:transparent;color:#d36d37;font-size:9px;font-weight:600}.access-toggle:disabled{color:#a5a8ae;cursor:not-allowed}.access-note{margin:0 17px 12px;padding:9px 11px;border:1px solid #f5e0d4;border-radius:6px;background:var(--orange-soft);color:#9b674b;font-size:9px;line-height:1.5}.users-foot{padding:10px 17px;color:var(--muted);font-size:9px}.form-input{display:block;width:100%;height:36px;margin:0 0 13px;border:1px solid #e2e5e9;border-radius:6px;background:var(--surface);color:var(--text);padding:0 10px;outline-color:var(--orange);font-size:11px}.invite-modal .modal-icon{margin-bottom:12px}.invite-modal h2{margin-bottom:5px}.invite-modal>p{margin-bottom:15px}.modal-actions{display:flex;justify-content:flex-end;gap:8px;margin-top:7px}.modal-actions .btn{justify-content:center}
body.dark .access-note{border-color:#50372c;color:#d8a17f}body.dark .user-state.active{background:#18372a}body.dark .user-state.invited{background:#3a3020}body.dark .user-state.disabled{background:#30343b}body.dark .form-input{border-color:#3a3e45}
@media(min-width:1000px) and (max-height:800px){.content{padding:12px 24px 5px}.page-heading{margin-bottom:10px}.stats-grid{margin-bottom:8px}.stat-card{min-height:82px}.middle-grid{margin-bottom:8px}.portfolio-panel,.activity-panel{min-height:150px}.activity-row{min-height:28px}.assets-panel{padding-top:9px}.assets-heading{padding-bottom:6px}th{height:27px}td{height:42px}.table-footer{height:28px}}
 .field-help{font-size:9px;line-height:1.4;color:var(--muted);margin:-7px 0 7px}.empty-row,.activity-empty{padding:22px;text-align:center;color:var(--muted);font-size:11px}.empty-row{height:80px}.activity-empty{padding:16px 0}

/* Let the page scroll; keep a long asset list independently scrollable. */
@media(min-width:1000px){.app-shell{height:auto;min-height:100vh}.sidebar{position:sticky;top:0;height:100vh;align-self:flex-start;overflow-y:auto}.main-area{height:auto;min-height:100vh;overflow:visible}.content{height:auto;min-height:calc(100vh - 64px);overflow:visible}.route-view{max-height:none;overflow:visible}}
.assets-panel .table-wrap{max-height:520px;overflow:auto}.assets-panel thead{position:sticky;top:0;z-index:2}.empty-row{height:80px}.activity-empty{padding:16px 0}

.modal{max-height:calc(100vh - 32px);overflow-y:auto}.modal-actions{position:sticky;bottom:0;padding:8px 0 1px;background:var(--surface)}

.spec-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 12px}.spec-field .input-label{margin-bottom:5px}.spec-field .form-input{height:34px;margin-bottom:12px}.spec-field .input-label:has(+[required]){color:var(--text)}@media(max-width:520px){.spec-fields{grid-template-columns:1fr}}
