:root{color-scheme:light;font-family:Inter,PingFang SC,Microsoft YaHei,ui-sans-serif,system-ui,-apple-system,sans-serif;color:#17233c;background:#f3f6fb;font-synthesis:none}*{box-sizing:border-box}html{min-width:320px;background:#f3f6fb}body{margin:0;min-width:320px;min-height:100vh;background:#f3f6fb}button,input,select,textarea{font:inherit;letter-spacing:0}button{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:36px;border:1px solid #1677ff;border-radius:6px;padding:8px 14px;color:#fff;font-size:13px;font-weight:650;background:#1677ff;box-shadow:0 2px 7px #1677ff29;cursor:pointer}button:hover{background:#0d68e5;border-color:#0d68e5}button:disabled{opacity:.42;cursor:not-allowed}input,select,textarea{width:100%;min-height:36px;border:1px solid #dfe6f1;border-radius:6px;padding:8px 10px;color:#17233c;background:#fff;outline:none;transition:border-color .15s,box-shadow .15s}select,select option{color:#17233c;background:#fff}input:focus,select:focus,textarea:focus{border-color:#6ba9ff;box-shadow:0 0 0 3px #1677ff17}input::placeholder,textarea::placeholder{color:#a4afc1}textarea{min-height:126px;resize:vertical;font-family:ui-monospace,SFMono-Regular,Menlo,monospace}a{color:inherit}.app-shell{display:grid;grid-template-columns:190px minmax(0,1fr);min-height:100vh}.sidebar{position:sticky;top:0;z-index:10;display:flex;flex-direction:column;height:100vh;padding:22px 14px 18px;border-right:1px solid #e7ecf4;background:#fffffff5}.brand-lockup{display:flex;align-items:center;gap:9px;height:38px;padding:0 9px;margin-bottom:24px;color:#101a2e}.brand-lockup strong{min-width:0;font-size:18px;line-height:1.3;font-weight:760}.brand-lockup .brand-mark{flex-shrink:0}.brand-mark{display:grid;place-items:center;flex-shrink:0;width:32px;height:32px}.brand-mark img{display:block;width:32px;height:32px;border-radius:8px}.primary-nav{display:grid;gap:5px}.nav-link{display:flex;align-items:center;gap:11px;height:42px;padding:0 12px;border-radius:6px;color:#53617a;text-decoration:none;font-size:13px;font-weight:580;transition:color .15s,background .15s}.nav-link:hover{color:#1677ff;background:#f4f8ff}.nav-link.active{color:#0868eb;background:#eaf3ff;font-weight:680}.user-panel{display:flex;align-items:center;justify-content:flex-start;gap:9px;width:100%;min-height:42px;margin-top:auto;padding:11px 8px 0;border:0;border-top:1px solid #eef2f7;border-radius:0;color:#40506b;font-size:12px;font-weight:500;background:transparent;box-shadow:none}.user-panel:hover{color:#1677ff;border-color:#eef2f7;background:transparent}.user-name{flex:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.avatar{display:inline-grid;place-items:center;flex:0 0 auto;width:28px;height:28px;border-radius:50%;color:#fff;font-size:11px;font-weight:700;background:#6674f4}.workspace{min-width:0}.topbar{position:sticky;top:0;z-index:8;display:flex;align-items:center;justify-content:space-between;min-height:76px;padding:13px 28px;border-bottom:1px solid #e7ecf4;background:#fffffff0;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px)}.page-heading h1{margin:0;color:#111b31;font-size:21px;line-height:1.25;letter-spacing:0}.page-heading p{margin:5px 0 0;color:#8793a8;font-size:12px}.topbar-actions{display:flex;align-items:center;gap:12px;min-width:0}.global-search{display:flex;align-items:center;gap:7px;width:clamp(240px,28vw,390px);height:36px;padding:0 11px;border:1px solid #e0e7f1;border-radius:6px;color:#91a0b6;background:#fbfcfe}.global-search:focus-within{border-color:#7db2fb;box-shadow:0 0 0 3px #1677ff12}.global-search input{min-width:0;min-height:0;height:32px;padding:0;border:0;box-shadow:none;background:transparent;font-size:12px}.global-search input:focus{box-shadow:none}.icon-button{width:34px;height:34px;min-height:34px;padding:0;border:1px solid #dfe6f1;border-radius:6px;color:#506078;background:#fff;box-shadow:none}.icon-button:hover{color:#1677ff;border-color:#a9cbfa;background:#f7fbff}.top-avatar{width:30px;height:30px}.user-menu{position:relative}.user-menu summary{cursor:pointer;list-style:none}.user-menu summary::-webkit-details-marker{display:none}.user-menu>div{position:absolute;top:38px;right:0;z-index:20;display:grid;width:165px;padding:7px;border:1px solid #e1e7ef;border-radius:7px;background:#fff;box-shadow:0 14px 34px #192a4626}.user-menu>div strong{padding:8px 9px 10px;color:#28364d;font-size:12px}.user-menu>div button{justify-content:flex-start;min-height:34px;padding:7px 9px;border:0;color:#4a5870;font-size:11px;background:transparent;box-shadow:none}.user-menu>div button:hover{color:#1677ff;background:#f1f7ff}.user-menu>div .clear-test-data-button{margin-top:4px;border-top:1px solid #edf1f6;border-radius:0;color:#d84c50}.user-menu>div .clear-test-data-button:hover{color:#c9383d;background:#fff5f5}.page-content{width:100%;max-width:1600px;margin:0 auto;padding:24px 28px 44px}.auth-page{display:grid;min-height:100vh;padding:24px;place-items:center;background:#f3f6fb}.auth-panel{width:100%;max-width:410px;min-width:0;padding:32px;border:1px solid #e1e7f0;border-radius:8px;background:#fff;box-shadow:0 18px 50px #1e335417}.auth-brand{display:flex;align-items:center;gap:9px;margin-bottom:34px;color:#111b31}.auth-brand strong{font-size:15px}.auth-heading{margin-bottom:24px}.auth-heading h1{margin:0;color:#111b31;font-size:22px;letter-spacing:0}.auth-heading p{margin:7px 0 0;color:#8491a5;font-size:12px}.auth-panel form{display:grid;gap:16px}.auth-panel form>label{display:grid;gap:7px;color:#58677f;font-size:12px;font-weight:620}.auth-panel form>button{width:100%;margin-top:3px}.auth-loading{display:grid;justify-items:center;gap:10px;color:#7f8ba0;font-size:12px}.password-panel{position:relative}.password-icon{display:grid;width:40px;height:40px;margin-bottom:20px;place-items:center;border-radius:7px;color:#1677ff;background:#edf5ff}.password-actions{display:flex;justify-content:flex-end;gap:8px}.password-actions button{width:auto!important;min-width:110px;margin:0!important}.password-backdrop{z-index:50}.metrics{display:grid;grid-template-columns:repeat(5,minmax(140px,1fr));gap:12px}.metric-card{min-width:0;min-height:126px;padding:16px;border:1px solid #e6ebf3;border-radius:8px;background:#fff;box-shadow:0 4px 18px #23375809}.metric-label{display:flex;align-items:center;gap:9px;color:#68768e;font-size:12px;white-space:nowrap}.metric-icon{display:grid;place-items:center;width:29px;height:29px;border-radius:6px}.metric-icon.blue{color:#1677ff;background:#eaf3ff}.metric-icon.green{color:#12a878;background:#e8f8f2}.metric-icon.indigo{color:#6674f4;background:#eef0ff}.metric-icon.orange{color:#e88420;background:#fff3e5}.metric-icon.red{color:#e44e52;background:#ffeded}.metric-card>strong{display:block;margin:12px 0 7px;color:#10192c;font-size:27px;line-height:1}.metric-card>small{color:#8a96a9;font-size:11px}.dashboard-grid{display:grid;grid-template-columns:minmax(0,1.65fr) minmax(310px,.8fr);gap:12px;margin-top:12px}.panel{min-width:0;min-height:300px;padding:19px;border:1px solid #e6ebf3;border-radius:8px;background:#fff;box-shadow:0 4px 18px #23375809}.panel-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:16px}.panel-heading h2{margin:0;color:#17233c;font-size:14px;letter-spacing:0}.panel-heading p{margin:5px 0 0;color:#98a3b5;font-size:11px}.live-indicator{display:inline-flex;align-items:center;gap:6px;color:#7b879a;font-size:10px}.live-indicator i{width:6px;height:6px;border-radius:50%;background:#2ac78f;box-shadow:0 0 0 3px #2ac78f1f}.status-visual{display:grid;grid-template-columns:170px minmax(0,1fr);gap:28px;align-items:end;height:162px;padding:24px 6px 8px;border-bottom:1px solid #edf1f6}.status-number span,.status-number small{display:block;color:#8d99ac;font-size:11px}.status-number strong{display:block;margin:9px 0 10px;color:#17233c;font-size:40px;line-height:1}.signal-bars{display:flex;align-items:flex-end;justify-content:space-between;gap:9px;height:110px;padding:0 8px;border-bottom:1px solid #dce7f6;background:repeating-linear-gradient(to top,transparent 0 26px,#f0f4fa 27px)}.signal-bars i{flex:1;min-width:10px;max-width:32px;border-radius:4px 4px 0 0;background:#dbe9fb;transition:height .25s}.signal-bars i.current{background:#1677ff;box-shadow:0 0 0 1px #1677ff0d}.status-progress{height:5px;margin:15px 0 12px;overflow:hidden;border-radius:3px;background:#e7edf5}.status-progress span{display:block;height:100%;border-radius:inherit;background:#2ac78f}.status-legend{display:flex;flex-wrap:wrap;align-items:center;gap:14px;color:#66748b;font-size:11px}.status-legend>span{display:inline-flex;align-items:center;gap:5px}.status-legend strong{color:#26334a}.legend-dot{width:7px;height:7px;border-radius:50%}.legend-dot.online{background:#2ac78f}.legend-dot.offline{background:#9aa7ba}.legend-dot.disabled{background:#e85e61}.status-ratio{margin-left:auto;color:#8c98aa}.platform-panel{min-height:300px}.platform-content{display:grid;grid-template-columns:minmax(130px,1fr) minmax(120px,.8fr);align-items:center;gap:20px;min-height:230px}.donut{position:relative;width:min(155px,100%);aspect-ratio:1;margin:0 auto;border-radius:50%}.donut:after{content:"";position:absolute;inset:24%;border-radius:50%;background:#fff}.donut>span{position:absolute;inset:29%;z-index:1;display:grid;place-content:center;text-align:center}.donut strong{font-size:24px;line-height:1}.donut small{margin-top:6px;color:#9aa5b6;font-size:10px;white-space:nowrap}.platform-legend{display:grid;gap:15px}.platform-legend>div{display:flex;justify-content:space-between;gap:12px;color:#55637a;font-size:11px}.platform-legend span{display:inline-flex;align-items:center;gap:7px}.platform-legend i{width:7px;height:7px;border-radius:50%}.platform-legend strong{color:#233149}.platform-empty,.mini-loading{display:grid;place-content:center;justify-items:center;gap:10px;min-height:220px;color:#a0aabb;font-size:12px}.dashboard-footer-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin-top:12px}.quick-entry{display:flex;align-items:center;gap:12px;min-height:74px;padding:14px 16px;border:1px solid #e6ebf3;border-radius:8px;background:#fff;text-decoration:none;transition:border-color .15s,transform .15s}.quick-entry:hover{border-color:#9dc6fb;transform:translateY(-1px)}.quick-entry>span{display:grid;place-items:center;width:36px;height:36px;border-radius:7px;color:#1677ff;background:#edf5ff}.quick-entry>div{display:grid;flex:1;gap:5px;min-width:0}.quick-entry strong{font-size:12px}.quick-entry small{overflow:hidden;color:#8d99aa;font-size:10px;text-overflow:ellipsis;white-space:nowrap}.quick-entry>svg{color:#a3aec0}.dashboard-skeleton{display:grid;grid-template-columns:repeat(5,1fr);gap:12px}.dashboard-skeleton>div,.dashboard-skeleton>span{min-height:126px;border:1px solid #e7ecf3;border-radius:8px;background:linear-gradient(90deg,#fff,#f3f6fa,#fff);background-size:220% 100%;animation:shimmer 1.4s infinite}.dashboard-skeleton>span{grid-column:span 3;min-height:300px}.dashboard-skeleton>span:last-child{grid-column:span 2}@keyframes shimmer{to{background-position:-220% 0}}.toolbar{display:flex;align-items:center;gap:10px;margin-bottom:14px}.toolbar form{display:flex;flex:1;align-items:center;gap:8px}.search-field{display:flex;align-items:center;gap:7px;width:min(390px,100%);padding-left:10px;border:1px solid #dfe6f1;border-radius:6px;color:#8c99ac;background:#fff}.search-field:focus-within{border-color:#7db2fb;box-shadow:0 0 0 3px #1677ff12}.search-field input{min-width:0;border:0;box-shadow:none}.search-field input:focus{box-shadow:none}.toolbar select{width:150px}.secondary-button{color:#4c5b72;border-color:#dce3ed;background:#fff;box-shadow:none}.secondary-button:hover{color:#1677ff;border-color:#9fc7fb;background:#f7fbff}.table-wrap{overflow:auto;border:1px solid #e5eaf2;border-radius:8px 8px 0 0;background:#fff}table{width:100%;min-width:900px;table-layout:auto;border-collapse:collapse;font-size:11px}th{height:43px;padding:0 13px;color:#69778d;font-weight:620;background:#f7f9fc;white-space:nowrap}th,td{text-align:center;vertical-align:middle}td{height:47px;padding:9px 13px;border-top:1px solid #edf1f6;color:#41506a}th:last-child,td:last-child{width:1%;text-align:center;white-space:nowrap}.product-table,.license-table{min-width:980px}.product-table td,.license-table td{white-space:nowrap}tbody tr:hover{background:#f8fbff}.empty-row{height:210px;color:#9aa5b6;text-align:center}td strong{color:#25334c;font-weight:650}td small{display:block;margin-top:4px;color:#929daf}.code-cell{color:#285fad;font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:10px}.entity-identifier.is-active,.entity-identifier.is-active strong,.entity-identifier.is-active small{color:#15976e}.entity-identifier.is-inactive,.entity-identifier.is-inactive strong,.entity-identifier.is-inactive small{color:#99a4b5}.entity-identifier{font-weight:650}.row-actions{display:flex;align-items:center;justify-content:center;gap:6px}.cell-with-actions,.credential-value{display:flex;min-width:0;align-items:center;justify-content:center;gap:6px}.cell-with-actions>span,.credential-value>code{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.credential-value>code{flex:0 1 auto;color:#285fad;font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:10px;text-align:center}.credential-action{flex:0 0 auto;width:27px;height:27px;min-height:27px}.credential-unavailable{color:#99a4b5}.copy-toast{position:fixed;top:50%;left:50%;z-index:200;display:flex;align-items:center;gap:8px;min-height:40px;max-width:min(440px,calc(100vw - 32px));padding:10px 15px;border:1px solid #bce8d7;border-radius:7px;color:#147a5b;font-size:12px;font-weight:650;background:#f0fbf7;box-shadow:0 14px 36px #18304a2e;transform:translate(-50%,-50%)}.copy-toast.error{border-color:#f1c2c4;color:#c43f43;background:#fff4f4}.table-action{width:30px;height:30px;min-height:30px}.table-action.danger{color:#d84c50}.table-action.danger:hover{color:#c9383d;border-color:#f0b7b9;background:#fff5f5}.product-delete-error,.list-action-error{margin:0 0 12px}.action-menu-trigger{width:30px;height:28px;min-height:28px;padding:0;border:1px solid #dfe6ef;color:#53627a;background:#fff;box-shadow:none}.action-menu-trigger:hover,.action-menu-trigger.active{color:#1677ff;border-color:#a8cdfc;background:#f7fbff}.action-menu-popover{position:fixed;z-index:100;display:grid;width:160px;padding:5px;border:1px solid #e1e7ef;border-radius:7px;background:#fff;box-shadow:0 12px 32px #192a462e}.action-menu-popover button{justify-content:flex-start;width:100%;min-height:32px;padding:6px 9px;border:0;color:#44536b;font-size:11px;background:transparent;box-shadow:none}.action-menu-popover button:hover{color:#1677ff;background:#f1f7ff}.action-menu-popover button.danger-text{color:#d84c50}.badge{display:inline-flex;align-items:center;gap:5px;padding:4px 8px;border-radius:5px;color:#15976e;font-size:10px;font-weight:650;background:#e8f8f2;white-space:nowrap}.badge i{width:5px;height:5px;border-radius:50%;background:currentColor}.badge.disabled,.badge.revoked,.badge.failed{color:#df4f53;background:#ffeded}.badge.expired{color:#778397;background:#eef1f5}.badge.unbound,.badge.pending,.badge.timeout{color:#d67b1d;background:#fff3e3}.badge.sent,.badge.received{color:#176fc9;background:#eaf3ff}.dot{display:inline-block;width:6px;height:6px;margin-right:6px;border-radius:50%;background:#9aa7b9}.dot.online{background:#22bd83;box-shadow:0 0 0 3px #22bd831c}.device-table .dot{position:relative;width:7px;height:7px;margin-right:8px;vertical-align:1px}.device-table .dot.online{box-shadow:none}.device-table .dot.online:after{content:"";position:absolute;inset:-4px;border-radius:50%;background:#22bd8333;box-shadow:0 0 7px #22bd8340;pointer-events:none;animation:online-breathe 2.6s ease-in-out infinite}@keyframes online-breathe{0%,to{opacity:.3;transform:scale(.65)}50%{opacity:.85;transform:scale(1.05)}}@media(prefers-reduced-motion:reduce){.device-table .dot.online:after{animation:none;opacity:.4;transform:scale(.8)}}.pagination{display:flex;align-items:center;justify-content:space-between;min-height:50px;padding:8px 12px;border:1px solid #e5eaf2;border-top:0;border-radius:0 0 8px 8px;color:#7f8a9d;font-size:11px;background:#fff}.pagination>div{display:flex;align-items:center;gap:9px}.pagination .icon-button{width:30px;height:30px;min-height:30px}.record-tabs{display:flex;gap:24px;margin:-4px 0 16px;border-bottom:1px solid #e2e8f1}.record-tabs a{position:relative;padding:8px 2px 11px;color:#758198;font-size:12px;text-decoration:none}.record-tabs a.active{color:#1677ff;font-weight:650}.record-tabs a.active:after{content:"";position:absolute;right:0;bottom:-1px;left:0;height:2px;background:#1677ff}.command-table{min-width:1120px}.json-value{display:inline-block;max-width:190px;overflow:hidden;color:#53627a;font-size:10px;text-overflow:ellipsis;white-space:nowrap}.drawer-backdrop,.modal-backdrop{position:fixed;inset:0;z-index:30;display:flex;background:#19233561;-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px)}.drawer-backdrop{justify-content:flex-end}.drawer{width:min(560px,94vw);height:100%;overflow:auto;padding:24px;border-left:1px solid #dde4ed;background:#fff;box-shadow:-12px 0 36px #1828431f}.drawer>header{display:flex;align-items:center;justify-content:space-between;margin-bottom:22px}.drawer h2,.modal h2{margin:0;color:#162139;font-size:18px;letter-spacing:0}.form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px}.form-grid label{display:grid;align-content:start;gap:7px;color:#5e6c83;font-size:11px;font-weight:620}.form-grid label>small{color:#909bae;font-weight:450;line-height:1.5}.form-grid label>small.field-warning{color:#d14348;font-weight:560}.form-grid .license-primary-field{grid-template-rows:auto 40px minmax(17px,auto)}.form-grid .license-primary-field>input,.form-grid .license-primary-field>select{height:40px;min-height:40px;margin:0}.form-grid .license-primary-field>small{min-height:17px}.form-grid .wide,.form-grid>button{grid-column:1 / -1}.form-grid>button{margin-top:4px}.identifier-input{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px}.identifier-input button{min-width:78px;min-height:36px;padding:7px 12px}.form-grid .check{display:flex;align-items:center;gap:8px;align-self:end;min-height:36px}.form-grid input[type=checkbox]{width:15px;min-height:15px;accent-color:#1677ff}.form-grid textarea{min-height:84px;font-family:inherit}.command-form textarea{min-height:180px;font-family:ui-monospace,SFMono-Regular,Menlo,monospace}.option-group{margin:0;padding:14px;border:1px solid #e2e8f1;border-radius:7px}.option-group legend{padding:0 6px;color:#526178;font-size:11px;font-weight:680}.option-group{display:grid;gap:7px}.switch-option{display:flex!important;align-items:flex-start;gap:10px!important;min-height:52px;padding:9px 10px;border:1px solid #edf1f6;border-radius:6px;background:#fbfcfe;cursor:pointer}.switch-option input{flex:0 0 auto;margin-top:3px}.switch-option span{display:grid;gap:4px}.switch-option strong{color:#344259;font-size:12px}.switch-option small{color:#8a96a9;font-size:10px;font-weight:450;line-height:1.45}.license-time-config{display:grid;gap:0;padding:14px;border:1px solid #e2e8f1;border-radius:7px;background:#fbfcfe}.license-duration-row{display:grid;grid-template-columns:minmax(80px,120px) minmax(0,1fr) 36px;align-items:end;gap:10px}.license-duration-refresh{width:36px;height:36px}.license-duration-hint{min-height:19px;margin:0;padding-top:5px;color:#627087;font-size:10px;line-height:14px}.license-date-row{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.license-time-note{margin:0;padding:12px 14px;border:1px solid #e2e8f1;border-radius:7px;color:#78859a;font-size:11px;background:#fbfcfe}.form-error{padding:9px 11px;border-radius:6px;color:#c43f43;font-size:12px;background:#fff0f0}.pending{color:#1677ff;font-size:12px}.modal-backdrop{align-items:center;justify-content:center;padding:18px}.modal{width:min(490px,100%);padding:28px;border:1px solid #e0e6ee;border-radius:8px;background:#fff;text-align:center;box-shadow:0 22px 60px #1425412b}.success-mark{display:grid;place-items:center;width:46px;height:46px;margin:0 auto 14px;border-radius:50%;color:#159d73;background:#e9f8f3}.modal p{color:#78859a;font-size:12px;line-height:1.7}.modal code{display:block;margin:19px 0;padding:15px;border:1px dashed #a7cafa;border-radius:7px;color:#155ebd;font-size:17px;background:#f5f9ff;overflow-wrap:anywhere}.modal button{margin:0 4px}.modal .ghost{color:#54627a;border-color:#dfe5ed;background:#fff;box-shadow:none}.clear-data-backdrop{z-index:60}.clear-data-modal{width:min(460px,100%)}.danger-mark{display:grid;width:44px;height:44px;margin:0 auto 14px;place-items:center;border-radius:50%;color:#d84c50;background:#ffeded}.clear-data-modal h2{margin:0;color:#26344c;font-size:19px}.clear-data-modal .preserved-data{margin-top:-4px;color:#52617a}.modal-actions{display:flex;justify-content:center;gap:8px;margin-top:20px}.modal-actions button{min-width:112px;margin:0}.danger-button{border-color:#d84c50;background:#d84c50;box-shadow:0 2px 7px #d84c5029}.danger-button:hover{border-color:#c9383d;background:#c9383d}.license-created-modal{width:min(520px,100%)}.license-summary{margin:22px 0 18px;border-top:1px solid #e8edf4;text-align:left}.license-summary>div{display:grid;grid-template-columns:110px minmax(0,1fr);gap:16px;padding:10px 2px;border-bottom:1px solid #edf1f6;font-size:12px}.license-summary dt{color:#8793a6}.license-summary dd{margin:0;color:#2d3b53;font-weight:620;text-align:right;overflow-wrap:anywhere}.license-code-label{display:block;color:#8793a6;font-size:11px;text-align:left}.license-created-modal code{margin:7px 0 18px}.empty{display:grid;min-height:260px;place-items:center;border:1px dashed #dce3ed;border-radius:8px;color:#8c98aa;font-size:12px;background:#fff}@media(max-width:1100px){.app-shell{grid-template-columns:168px minmax(0,1fr)}.metrics{grid-template-columns:repeat(3,minmax(140px,1fr))}.dashboard-grid{grid-template-columns:1fr}.platform-content{grid-template-columns:minmax(160px,.7fr) 1fr}}@media(max-width:820px){.app-shell{display:block}.sidebar{position:static;display:grid;grid-template-columns:auto 1fr;align-items:center;height:auto;padding:10px 14px;border-right:0;border-bottom:1px solid #e5eaf2}.brand-lockup{margin:0 14px 0 0;padding:0}.brand-lockup strong{display:none}.primary-nav{display:flex;gap:3px;overflow-x:auto}.nav-link{flex:0 0 auto;height:36px;padding:0 10px}.nav-link span,.user-panel{display:none}.topbar{position:static;flex-wrap:wrap;gap:12px;padding:14px 18px}.page-heading{flex:1}.page-heading p{max-width:330px}.global-search{width:min(280px,52vw)}.page-content{padding:18px}.metrics{grid-template-columns:repeat(2,minmax(135px,1fr))}.dashboard-footer-grid{grid-template-columns:1fr}.toolbar{align-items:stretch;flex-wrap:wrap}.toolbar form{min-width:100%}}@media(max-width:560px){.topbar-actions{width:100%}.global-search{flex:1;width:auto}.page-content{padding:14px 12px 30px}.metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.metric-card{min-height:112px}.dashboard-grid{margin-top:10px}.panel{padding:15px}.status-visual{grid-template-columns:110px minmax(0,1fr);gap:12px}.status-number strong{font-size:32px}.status-ratio{width:100%;margin-left:0}.platform-content{grid-template-columns:1fr;padding-top:24px}.platform-legend{padding:0 18px}.toolbar form{flex-wrap:wrap}.search-field{width:100%}.toolbar select{flex:1;width:auto}.form-grid{grid-template-columns:1fr}.form-grid .wide,.form-grid>button{grid-column:auto}.identifier-input{grid-template-columns:minmax(0,1fr) auto}.license-date-row{grid-template-columns:1fr}.auth-page{padding:14px}.auth-panel{padding:25px 20px}.modal button{width:100%;margin:4px 0}}:root[data-theme=dark]{--dark-canvas: #181818;--dark-chrome: #1e1e1e;--dark-surface: #222222;--dark-control: #292929;--dark-hover: #303030;--dark-selected: #383838;--dark-border: #363636;--dark-border-strong: #4a4a4a;--dark-text: #e8e8e8;--dark-heading: #f5f5f5;--dark-secondary: #c4c4c4;--dark-muted: #ababab;--chart-empty: #3a3a3a;color-scheme:dark;color:var(--dark-text);background:var(--dark-canvas)}:root[data-theme=dark] body,:root[data-theme=dark] .auth-page{background:var(--dark-canvas)}:root[data-theme=dark] :is(.sidebar,.topbar){background:var(--dark-chrome);border-color:var(--dark-border)}:root[data-theme=dark] :is(.auth-panel,.metric-card,.panel,.quick-entry,.table-wrap,.pagination,.drawer,.modal,.action-menu-popover,.user-menu>div,.empty){background:var(--dark-surface);border-color:var(--dark-border)}:root[data-theme=dark] :is(input,select,select option,textarea,.search-field,.icon-button,.secondary-button,.action-menu-trigger,.modal .ghost){color:var(--dark-text);background:var(--dark-control);border-color:var(--dark-border-strong)}:root[data-theme=dark] :is(.global-search,.switch-option,.license-time-config,.license-time-note,th){color:var(--dark-secondary);background:var(--dark-control);border-color:var(--dark-border-strong)}:root[data-theme=dark] .global-search input{background:transparent}:root[data-theme=dark] :is(.brand-lockup,.auth-brand,.page-heading h1,.auth-heading h1,.metric-card>strong,.panel-heading h2,.status-number strong,.status-legend strong,.platform-legend strong,td strong,.drawer h2,.modal h2,.switch-option strong,.license-summary dd,.user-menu>div strong){color:var(--dark-heading)}:root[data-theme=dark] :is(td,.nav-link,.user-panel,.metric-label,.status-legend,.platform-legend>div,.auth-panel form>label,.form-grid label,.option-group legend,.action-menu-popover button,.user-menu>div button,.json-value,.clear-data-modal .preserved-data){color:var(--dark-secondary)}:root[data-theme=dark] :is(.page-heading p,.auth-heading p,.auth-loading,.metric-card>small,.panel-heading p,.live-indicator,.status-number span,.status-number small,.status-ratio,.donut small,.platform-empty,.mini-loading,.quick-entry small,td small,.empty-row,.pagination,.record-tabs a,.form-grid label>small,.switch-option small,.license-duration-hint,.license-time-note,.modal p,.license-summary dt,.license-code-label,.empty){color:var(--dark-muted)}:root[data-theme=dark] :is(input,textarea)::placeholder{color:var(--dark-muted)}:root[data-theme=dark] :is(td,.status-visual,.record-tabs,.option-group,.license-summary,.license-summary>div,.user-panel,.user-menu>div .clear-test-data-button){border-color:var(--dark-border)}:root[data-theme=dark] :is(tbody tr:hover,.nav-link:hover,.icon-button:hover,.secondary-button:hover,.action-menu-trigger:hover,.action-menu-trigger.active,.action-menu-popover button:hover,.user-menu>div button:hover){color:#80b8ff;background:var(--dark-hover)}:root[data-theme=dark] :is(.nav-link.active,.password-icon,.quick-entry>span,.metric-icon.blue,.badge.sent,.badge.received){color:#80b8ff;background:var(--dark-hover)}:root[data-theme=dark] :is(.code-cell,.credential-value>code,.pending,.record-tabs a.active){color:#80b8ff}:root[data-theme=dark] :is(.entity-identifier.is-active,.entity-identifier.is-active strong,.entity-identifier.is-active small){color:#58d6a7}:root[data-theme=dark] :is(.entity-identifier.is-inactive,.entity-identifier.is-inactive strong,.entity-identifier.is-inactive small,.credential-unavailable){color:var(--dark-muted)}:root[data-theme=dark] :is(.badge,.metric-icon.green,.success-mark){color:#58d6a7;background:#193e37}:root[data-theme=dark] :is(.badge.disabled,.badge.revoked,.badge.failed,.metric-icon.red,.danger-mark,.form-error,.copy-toast.error){color:#ff9298;background:#472932;border-color:#79424c}:root[data-theme=dark] :is(.badge.unbound,.badge.pending,.badge.timeout,.metric-icon.orange){color:#ffc078;background:#443624}:root[data-theme=dark] .badge.expired{color:var(--dark-secondary);background:var(--dark-hover)}:root[data-theme=dark] .badge.sent,:root[data-theme=dark] .badge.received{color:#80b8ff;background:var(--dark-hover)}:root[data-theme=dark] .metric-icon.indigo{color:#b4baff;background:#303453}:root[data-theme=dark] :is(.table-action.danger,.action-menu-popover button.danger-text,.user-menu>div .clear-test-data-button,.form-grid label>small.field-warning){color:#ff9298}:root[data-theme=dark] :is(.table-action.danger:hover,.user-menu>div .clear-test-data-button:hover){color:#ffafb3;background:#472932;border-color:#79424c}:root[data-theme=dark] .copy-toast:not(.error){color:#77e3b9;background:#193e37;border-color:#326453}:root[data-theme=dark] .modal code{color:#9bc7ff;background:var(--dark-hover);border-color:#4c78ac}:root[data-theme=dark] .donut:after{background:var(--dark-surface)}:root[data-theme=dark] .signal-bars{border-color:var(--dark-border-strong);background:repeating-linear-gradient(to top,transparent 0 26px,var(--dark-border) 27px)}:root[data-theme=dark] .signal-bars i:not(.current){background:var(--dark-border-strong)}:root[data-theme=dark] .status-progress{background:var(--dark-border)}:root[data-theme=dark] :is(.drawer-backdrop,.modal-backdrop){background:#0000009e}:root[data-theme=dark] :is(.dashboard-skeleton>div,.dashboard-skeleton>span){border-color:var(--dark-border);background:linear-gradient(90deg,var(--dark-surface),var(--dark-hover),var(--dark-surface));background-size:220% 100%}.auth-page.login-page{background:#fff}.auth-panel.login-centered{display:flex;flex-direction:column;align-items:center;gap:34px;width:min(286px,100%);max-width:none;padding:24px 0;border:0;border-radius:0;background:transparent;box-shadow:none}.login-centered .auth-brand{flex:none;flex-direction:column;gap:12px;margin:0}.login-centered .auth-brand strong{font-size:19px;font-weight:600;letter-spacing:-.45px}.login-centered .brand-mark,.login-centered .brand-mark img{width:46px;height:46px;border-radius:12px}.login-centered form{width:100%;min-width:0;gap:20px}.login-centered form>label{gap:8px;color:#778392;font-size:12px;font-weight:500}.login-centered input{height:43px;padding:0 12px;border-color:#e1e6ec;border-radius:7px;background:#fafbfc;font-size:14px}.login-centered form>button{min-height:43px;margin-top:4px;border:0;border-radius:7px;color:#fff;background:#1c293b;box-shadow:none;font-weight:500}.login-centered form>button:hover{background:#30415a}.login-centered .form-error{margin:0}:root[data-theme=dark] .auth-page.login-page{background:var(--dark-canvas)}:root[data-theme=dark] .auth-panel.login-centered{background:transparent}:root[data-theme=dark] .login-centered form{border-color:var(--dark-border-strong)}:root[data-theme=dark] .login-centered form>label{color:var(--dark-muted)}:root[data-theme=dark] .login-centered input{background:var(--dark-control);border-color:var(--dark-border-strong)}:root[data-theme=dark] .login-centered form>button{color:#000;background:#f5f5f5}:root[data-theme=dark] .login-centered form>button:hover{background:#d4d4d4}select.theme-selector{flex:0 0 auto;width:auto;min-width:80px;font-size:12px}.login-theme{position:absolute;top:20px;right:24px}.login-page{position:relative;padding-top:76px;padding-bottom:76px}.device-batch-toolbar{display:flex;flex-wrap:wrap;align-items:center;gap:10px;margin-bottom:14px}.device-batch-toolbar>span{flex:1;color:#68768e;font-size:12px}input.device-checkbox{width:16px;height:16px;min-height:16px;padding:0;margin:0;vertical-align:middle;accent-color:#1677ff}.batch-fields{min-width:0;padding:0;margin:0;border:0}.batch-note{margin:0;color:#78859a;font-size:12px}.batch-command,.batch-preview-button{margin-top:20px}.batch-drawer{--batch-muted: #718097;--batch-border: #e5eaf1;--batch-surface: #f7f9fc}.batch-steps{display:flex;gap:24px;list-style:none;padding:0 0 22px;margin:0 0 28px;border-bottom:1px solid var(--batch-border)}.batch-steps li{display:flex;align-items:center;gap:8px;color:var(--batch-muted);font-size:12px}.batch-steps li>span{display:grid;place-items:center;width:23px;height:23px;border-radius:50%;background:var(--batch-surface);border:1px solid var(--batch-border);font-size:11px}.batch-steps li.current{color:#1677ff;font-weight:600}.batch-steps li.current>span{color:#fff;background:#1677ff;border-color:#1677ff}.batch-steps li.complete>span{color:#1677ff;border-color:#b8d6ff}.batch-confirm-heading{display:flex;align-items:center;gap:14px}.batch-operation-icon{display:grid;place-items:center;flex:0 0 52px;height:52px;color:#1677ff;background:#edf5ff;border-radius:14px}.batch-eyebrow{display:block;color:var(--batch-muted);font-size:12px;line-height:1.6}.batch-confirm h3{margin:3px 0 0;font-size:23px;font-weight:650;line-height:1.4;letter-spacing:-.4px}.batch-confirm p{font-size:13px;line-height:1.8;overflow-wrap:anywhere}.batch-description{margin:18px 0 24px;color:var(--batch-muted)}.batch-summary{display:flex;align-items:stretch;border:1px solid var(--batch-border);border-radius:12px;overflow:hidden}.batch-summary-target{flex:1;min-width:0;padding:22px}.batch-summary-target>strong{display:block;margin-top:8px;font-size:16px;line-height:1.6;overflow-wrap:anywhere}.batch-target-detail{display:block;margin-top:5px;font-size:12px;line-height:1.7;color:var(--batch-muted);overflow-wrap:anywhere}.batch-target-detail.is-code{font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:11px}.batch-summary-count{flex:0 0 118px;padding:22px 16px;background:var(--batch-surface);border-left:1px solid var(--batch-border)}.batch-summary-count>span{display:flex;align-items:center;gap:6px;color:var(--batch-muted);font-size:12px}.batch-summary-count>div{display:flex;align-items:baseline;gap:7px;margin-top:9px}.batch-summary-count strong{font-size:32px;font-weight:650;line-height:1.2;font-variant-numeric:tabular-nums}.batch-summary-count>div>span{font-size:12px;color:var(--batch-muted)}.batch-delivery-note{display:flex;align-items:flex-start;gap:10px;margin-top:22px;padding:15px 16px;background:var(--batch-surface);border-radius:9px}.batch-delivery-note>svg{flex-shrink:0;margin-top:2px;color:var(--batch-muted)}.batch-delivery-note strong{font-size:12px;font-weight:550}.batch-delivery-note p{margin:4px 0 0;color:var(--batch-muted);font-size:12px}.batch-scope-note{display:flex;gap:7px;align-items:flex-start;margin:16px 0 0;color:var(--batch-muted);font-size:11px!important}.batch-scope-note svg{flex-shrink:0;margin-top:3px}.batch-command-review{margin-top:18px;padding:16px;border:1px solid var(--batch-border);border-radius:9px;font-size:12px}.batch-command-review>div{display:flex;justify-content:space-between;gap:12px}.batch-command-review>div>span,.batch-command-review summary{color:var(--batch-muted)}.batch-command-review details{margin-top:14px}.batch-command-review summary{cursor:pointer}.batch-confirm pre{max-height:200px;overflow:auto;padding:12px;background:var(--batch-surface);border-radius:6px}.batch-confirm-actions{display:flex;flex-wrap:wrap;justify-content:space-between;gap:10px;padding-top:22px;margin-top:28px;border-top:1px solid var(--batch-border)}.batch-confirm-actions button{min-height:40px;padding:0 16px;border-radius:8px}.batch-confirm.is-caution .batch-operation-icon{background:#fff1ef;color:#dc4949}:root[data-theme=dark] .batch-drawer{--batch-muted: var(--dark-muted);--batch-border: var(--dark-border);--batch-surface: var(--dark-surface)}:root[data-theme=dark] :is(.device-batch-toolbar>span,.batch-note){color:var(--dark-muted)}:root[data-theme=dark] .batch-operation-icon{color:#7db4ff;background:var(--dark-hover)}:root[data-theme=dark] .batch-confirm.is-caution .batch-operation-icon{color:#ff9890;background:#402b32}@media(max-width:480px){.batch-drawer{padding:20px}.batch-steps{gap:16px}.batch-summary-target{padding:18px 14px}.batch-summary-count{flex-basis:98px;padding:18px 12px}.batch-confirm-actions button{padding:0 12px}}.audit-intro{display:flex;align-items:flex-start;gap:12px;margin:4px 0 20px;padding:18px 20px;border:1px solid #e5eaf1;border-radius:10px;background:#f8fafc}.audit-intro>svg{color:#1677ff;flex-shrink:0;margin-top:1px}.audit-intro strong{font-size:14px}.audit-intro p{margin:6px 0 0;font-size:12px;line-height:1.8;color:#718097}.audit-intro a{color:#1677ff;margin:0 4px}.audit-table td{vertical-align:top;padding-top:18px;padding-bottom:18px}.audit-time{white-space:nowrap;font-size:12px}.audit-target-type{display:inline-block;padding:2px 7px;border-radius:5px;background:#f0f4f9;font-size:11px}.audit-table .audit-target-id{max-width:240px;white-space:normal;overflow-wrap:anywhere;line-height:1.6}.audit-table .audit-summary-cell{min-width:180px;max-width:320px;white-space:normal;line-height:1.8;color:#68768e}.audit-drawer h3{font-size:21px;margin:0 0 10px}.audit-detail-summary{color:#718097;font-size:13px;line-height:1.8}.audit-metadata{display:grid;grid-template-columns:80px minmax(0,1fr);gap:15px 12px;padding:20px;background:#f8fafc;border-radius:10px;margin:24px 0;font-size:12px;line-height:1.7}.audit-metadata dt{color:#718097}.audit-metadata dd{margin:0;overflow-wrap:anywhere}.audit-changes h4{margin-bottom:6px;font-size:14px}.audit-changes>p{font-size:11px;color:#718097;margin:0 0 14px}.audit-change-row{display:grid;grid-template-columns:.8fr 1fr 1fr;gap:14px;padding:13px 0;border-bottom:1px solid #e5eaf1;font-size:12px;line-height:1.7}.audit-change-row>*{min-width:0;overflow-wrap:anywhere;font-weight:400}.audit-change-row>span:nth-child(2),.audit-change-head{color:#718097}.audit-change-head{font-size:11px}.audit-raw{margin-top:28px;font-size:12px;color:#718097}.audit-raw summary{cursor:pointer}.audit-raw pre{overflow:auto;max-height:320px;padding:14px;background:#f8fafc;border-radius:8px;font-size:11px}:root[data-theme=dark] :is(.audit-intro,.audit-metadata,.audit-raw pre){background:var(--dark-surface);border-color:var(--dark-border)}:root[data-theme=dark] .audit-target-type{background:var(--dark-hover)}:root[data-theme=dark] .audit-change-row{border-color:var(--dark-border)}:root[data-theme=dark] :is(.audit-intro p,.audit-summary-cell,.audit-detail-summary,.audit-metadata dt,.audit-changes>p,.audit-change-head,.audit-raw,.audit-change-row>span:nth-child(2)){color:var(--dark-muted)}.record-object-cell{text-align:center}.record-object-cell>small{margin-left:auto;margin-right:auto;text-align:center}.dashboard-distributions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:12px}.chart-period{display:flex;gap:3px;padding:3px;background:#f0f4f9;border-radius:7px}.chart-period button{min-height:27px;padding:4px 9px;color:#718097;background:transparent;border:0;box-shadow:none;font-size:11px;white-space:nowrap}.chart-period button.active{background:#fff;color:#1677ff;box-shadow:0 1px 4px #20345114}.trend-total{display:flex;align-items:baseline;gap:8px;margin:21px 0 18px}.trend-total strong{font-size:30px;font-weight:650}.trend-total>span,.trend-total>small{color:#8795aa;font-size:11px}.trend-total>small{margin-left:auto}.trend-plot{display:flex;gap:8px;height:160px}.trend-axis{display:flex;flex-direction:column;justify-content:space-between;padding-bottom:24px;width:25px;text-align:right;color:#8795aa;font-size:10px}.trend-bars{display:flex;flex:1;min-width:0;gap:5px;background:repeating-linear-gradient(to top,transparent 0 43px,#edf1f6 44px)}.trend-column{flex:1;min-width:0;outline-offset:2px}.trend-bar-track{position:relative;display:flex;align-items:flex-end;justify-content:center;height:136px;border-bottom:1px solid #dce4ef}.trend-bar{width:70%;max-width:34px;background:#4388ec;border-radius:4px 4px 0 0}.trend-column:hover .trend-bar,.trend-column:focus .trend-bar{background:#1768d9}.trend-date{display:block;margin-top:7px;font-size:9px;text-align:center;color:#8795aa;white-space:nowrap}.chart-tooltip{display:none;position:absolute;bottom:70%;z-index:3;background:#26354a;color:#fff;padding:6px 8px;border-radius:5px;font-size:10px;white-space:nowrap;pointer-events:none}.trend-column:hover .chart-tooltip,.trend-column:focus .chart-tooltip{display:block}.trend-column:first-child .chart-tooltip{left:0}.trend-column:last-child .chart-tooltip{right:0}.device-ratio{display:grid;justify-items:center;align-self:center;gap:10px;color:#35b997}.device-ratio>strong{font-size:38px;font-weight:600}.device-ratio small{font-size:18px}.device-ratio>span{font-size:11px;color:#8795aa}.dashboard-grid .status-visual{grid-template-columns:1fr 1fr;gap:12px}.chart-link{display:flex;align-items:center;gap:3px;color:#1677ff;font-size:11px;text-decoration:none;white-space:nowrap}.expiry-content{display:grid;grid-template-columns:minmax(120px,.9fr) minmax(160px,1fr);align-items:center;gap:24px;min-height:230px}.expiry-legend{display:grid;gap:15px}.expiry-legend>div{display:flex;justify-content:space-between;gap:10px;font-size:12px}.expiry-legend>div>span{display:inline-flex;align-items:center;gap:8px;color:#718097}.expiry-legend i{width:7px;height:7px;border-radius:50%}.expiry-legend small,.product-bar-count small{margin-left:5px;font-size:10px;color:#8795aa;font-weight:400}.product-bars{display:grid;align-content:start;gap:20px;max-height:245px;overflow-y:auto;padding:24px 4px 4px 0}.product-bar-row{display:grid;grid-template-columns:minmax(90px,140px) minmax(35px,1fr) auto;align-items:center;gap:16px}.product-bar-label{min-width:0;text-align:center}.product-bar-label strong{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:12px;font-weight:550}.product-bar-label small{display:block;margin:5px auto 0;overflow-wrap:anywhere;font-size:9px;color:#8795aa}.product-bar-track{height:10px;background:#edf2f9;border-radius:4px;overflow:hidden}.product-bar-track>span{display:block;height:100%;background:#6e9ce4;border-radius:inherit}.product-bar-count{font-size:13px;font-variant-numeric:tabular-nums}.settings-link{text-decoration:none}.settings-link.active{color:#1677ff}.settings-view{max-width:850px;margin:35px auto;padding:20px 25px}.settings-heading{margin-bottom:38px}.settings-heading h2{margin:0 0 10px;font-size:23px}.settings-heading p{font-size:12px;color:#8795aa}.settings-section{display:grid;grid-template-columns:150px minmax(0,1fr);gap:28px;padding-top:22px;border-top:1px solid #e1e7ef}.settings-section+.settings-section{margin-top:32px}.settings-section-title{text-align:center}.settings-section-title h3{margin:0 0 7px;font-size:13px}.settings-section-title p{margin:0;font-size:11px;color:#8795aa}.theme-options{display:flex;flex-direction:column;border:1px solid #e1e7ef;border-radius:9px;overflow:hidden;background:#fff}.theme-option,.settings-password{display:grid;grid-template-columns:36px minmax(0,1fr) 22px;align-items:center;gap:11px;min-height:76px;padding:12px 16px;border:0;border-bottom:1px solid #edf1f6;border-radius:0;background:transparent;color:#25334c;box-shadow:none}.theme-option:last-child{border-bottom:0}.theme-option:hover,.theme-option.selected,.settings-password:hover{background:#f1f6fd}.theme-option-icon{display:grid;place-items:center;width:34px;height:34px;border:1px solid #dfe6ef;border-radius:7px;color:#718097;background:#f5f7fa}.theme-option-icon.light{color:#9b6100;background:#fff1d8;border-color:#f3d9aa}.theme-option-icon.dark{color:#d4d4d4;background:#222;border-color:#4a4a4a}.theme-option-copy{display:flex;flex-direction:column;gap:5px;text-align:center;min-width:0}.theme-option-copy strong{font-size:12px;font-weight:600}.theme-option-copy>span{color:#8795aa;font-size:11px;line-height:1.6}.theme-check{display:grid;place-items:center;width:18px;height:18px;border:1px solid #cdd7e4;border-radius:50%;color:#fff}.theme-option.selected .theme-check{border-color:#1677ff;background:#1677ff}.settings-password{border:1px solid #e1e7ef;border-radius:9px;background:#fff}:root[data-theme=dark] :is(.theme-options,.settings-password){background:var(--dark-surface);border-color:var(--dark-border);color:var(--dark-heading)}:root[data-theme=dark] .theme-option-icon{color:var(--dark-muted);background:var(--dark-hover);border-color:var(--dark-border-strong)}:root[data-theme=dark] .theme-option-icon.light{color:#b9a078;background:#342f29;border-color:#4a4135}:root[data-theme=dark] .theme-option-icon.dark{color:var(--dark-muted);background:var(--dark-surface);border-color:var(--dark-border-strong)}:root[data-theme=dark] :is(.settings-section,.theme-option){border-color:var(--dark-border);color:var(--dark-heading)}:root[data-theme=dark] :is(.theme-option:hover,.theme-option.selected,.settings-password:hover,.chart-period){background:var(--dark-hover)}:root[data-theme=dark] .chart-period button{color:var(--dark-secondary)}:root[data-theme=dark] .chart-period button.active{background:var(--dark-selected);color:#9bc5ff}:root[data-theme=dark] .product-bar-track{background:var(--dark-hover)}:root[data-theme=dark] .trend-bars{background:repeating-linear-gradient(to top,transparent 0 43px,var(--dark-border) 44px)}:root[data-theme=dark] .trend-bar-track{border-color:var(--dark-border)}:root[data-theme=dark] .expiry-legend>div>span{color:var(--dark-muted)}@media(max-width:1100px){.dashboard-grid{grid-template-columns:minmax(0,1fr)}}@media(max-width:760px){.dashboard-distributions{grid-template-columns:minmax(0,1fr)}.settings-view{margin-top:10px;padding:10px 0}.settings-section{grid-template-columns:minmax(0,1fr);gap:16px}.trend-bars{gap:3px}.expiry-content{gap:14px}}.device-profile-note{color:#8795aa;font-size:12px;line-height:1.8}.device-profile-section{margin-top:25px}.device-profile-section h3{font-size:14px;margin:0 0 12px}.device-profile-section dl{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1px;overflow:hidden;border:1px solid #e5eaf1;border-radius:9px;background:#e5eaf1}.device-profile-section dl>div{padding:15px 12px;text-align:center;background:#f8fafc}.device-profile-section dt{color:#8795aa;font-size:11px}.device-profile-section dd{margin:7px auto 0;font-size:12px;line-height:1.6;overflow-wrap:anywhere}:root[data-theme=dark] .device-profile-section dl{background:var(--dark-border);border-color:var(--dark-border)}:root[data-theme=dark] .device-profile-section dl>div{background:var(--dark-surface)}:root[data-theme=dark] :is(.trend-total>span,.trend-total>small,.trend-axis,.trend-date,.device-ratio>span,.expiry-legend small,.product-bar-count small,.product-bar-label small,.settings-heading p,.settings-section-title p,.theme-option-copy>span,.device-profile-note,.device-profile-section dt){color:var(--dark-muted)}:root[data-theme=dark] .chart-tooltip{background:var(--dark-selected)}:root[data-theme=dark] .theme-option:not(.selected) .theme-check{border-color:var(--dark-border-strong)}:root[data-theme=dark] :is(input,select,textarea):focus{border-color:#6ba9ff;box-shadow:0 0 0 3px #6ba9ff29}:root[data-theme=dark] :is(.global-search,.search-field):focus-within{border-color:#6ba9ff;box-shadow:0 0 0 3px #6ba9ff29}:root[data-theme=dark] :is(.global-search,.search-field) input:focus{box-shadow:none}:root[data-theme=dark] :is(.auth-panel:not(.login-centered),.metric-card,.panel,.drawer,.modal,.action-menu-popover,.user-menu>div,.copy-toast){box-shadow:0 4px 18px #0000001f}.action-button{flex:0 0 auto;gap:7px;height:36px;min-height:36px;padding:0 14px;border:1px solid #262626;border-radius:8px;color:#fafafa;background:#262626;box-shadow:0 1px 2px #00000014;font-size:12px;font-weight:600;line-height:1;white-space:nowrap;transition:background-color .16s,border-color .16s,box-shadow .16s}.action-button>svg{flex-shrink:0;stroke-width:1.8}.action-button:hover{color:#fff;background:#3a3a3a;border-color:#3a3a3a}.action-button:active{background:#171717;border-color:#171717;box-shadow:none}.action-button:focus-visible{outline:2px solid #6ba9ff;outline-offset:3px}.action-button.secondary-button{color:#525252;background:#fff;border-color:#d4d4d4;box-shadow:none}.action-button.secondary-button:hover{color:#262626;background:#f5f5f5;border-color:#a3a3a3}.action-button.secondary-button:active,.action-button.secondary-button[aria-pressed=true]{color:#262626;background:#eaeaea;border-color:#a3a3a3}:root[data-theme=dark] .action-button{color:#202020;background:#e6e6e6;border-color:#e6e6e6;box-shadow:0 1px 2px #00000029}:root[data-theme=dark] .action-button:hover{color:#171717;background:#fafafa;border-color:#fafafa}:root[data-theme=dark] .action-button:active{background:#d4d4d4;border-color:#d4d4d4;box-shadow:none}:root[data-theme=dark] .action-button.secondary-button{color:#d4d4d4;background:var(--dark-control);border-color:#434343;box-shadow:none}:root[data-theme=dark] .action-button.secondary-button:hover{color:#f5f5f5;background:var(--dark-hover);border-color:#606060}:root[data-theme=dark] .action-button.secondary-button:active,:root[data-theme=dark] .action-button.secondary-button[aria-pressed=true]{color:#f5f5f5;background:var(--dark-selected);border-color:#707070}@media(prefers-reduced-motion:reduce){.action-button{transition:none}}
