.act-modal-overlay{z-index:400;background:#001f6538;position:fixed;inset:0}.act-modal{background:var(--surface);border-radius:var(--r-xl);z-index:401;outline:none;flex-direction:column;width:620px;max-width:calc(100vw - 32px);max-height:calc(100vh - 64px);display:flex;position:fixed;top:50%;left:50%;overflow:hidden;transform:translate(-50%,-50%);box-shadow:0 24px 64px -12px #001f6538}.act-modal.act-modal-wide{width:960px}@media (max-width:768px){.act-modal{border-bottom-right-radius:0;border-bottom-left-radius:0;width:100%;max-width:100%;max-height:100dvh;top:auto;bottom:0;left:0;transform:none}}.act-modal-header{border-bottom:1px solid var(--border);flex-shrink:0;align-items:center;gap:12px;padding:20px 24px;display:flex}.act-modal-icon{border-radius:var(--r-lg);flex-shrink:0;justify-content:center;align-items:center;width:40px;height:40px;display:flex}.act-modal-icon svg{stroke:currentColor;stroke-width:1.5px;fill:none;width:18px;height:18px}.act-modal-titles{flex:1;min-width:0}.act-modal-title{color:var(--navy);margin:0;font-size:16px;font-weight:700}.act-modal-subtitle{color:var(--navy-45);margin:2px 0 0;font-size:12.5px}.act-modal-close{background:var(--navy-06);border-radius:var(--r-sm);cursor:pointer;width:32px;height:32px;transition:background var(--ease);border:none;flex-shrink:0;justify-content:center;align-items:center;display:flex}.act-modal-close:hover{background:var(--navy-12)}.act-modal-close svg{width:14px;height:14px;stroke:var(--navy-60);stroke-width:2px;fill:none}.act-steps{border-bottom:1px solid var(--border);flex-shrink:0;align-items:center;gap:0;padding:16px 24px;display:flex}.act-step{color:var(--navy-30);transition:color var(--ease);white-space:nowrap;align-items:center;gap:8px;font-size:12.5px;font-weight:600;display:flex}.act-step.active{color:var(--purple)}.act-step.done{color:var(--navy)}.act-step-num{background:var(--navy-06);width:24px;height:24px;color:var(--navy-30);transition:all var(--ease);border-radius:50%;justify-content:center;align-items:center;font-size:11px;font-weight:700;display:flex}.act-step-num svg{stroke:currentColor;stroke-width:2.4px;fill:none;width:12px;height:12px}.act-step.active .act-step-num{background:var(--purple);color:#fff}.act-step.done .act-step-num{background:var(--success-bg);color:#15803d}.act-step-line{background:var(--navy-06);border-radius:1px;flex:1;min-width:12px;height:2px;margin:0 12px}.act-step-line.done{background:var(--purple-20)}.act-modal-body{flex-direction:column;flex:1;gap:24px;padding:28px 24px;display:flex;overflow-y:auto}.act-form-section{flex-direction:column;gap:18px;display:flex}.act-form-section-label{color:var(--navy-30);text-transform:uppercase;letter-spacing:.08em;font-size:10.5px;font-weight:700}.act-form-grid{grid-template-columns:1fr 1fr;gap:14px;display:grid}.act-form-grid.full{grid-template-columns:1fr}@media (max-width:560px){.act-form-grid{grid-template-columns:1fr}}.act-field{flex-direction:column;gap:5px;min-width:0;display:flex}.act-field.span-2{grid-column:span 2}@media (max-width:560px){.act-field.span-2{grid-column:span 1}}.act-field label{color:var(--navy-60);font-size:12px;font-weight:600}.act-field input,.act-field select,.act-field textarea{font-family:var(--font);color:var(--navy);background:var(--bg);border:1.5px solid var(--navy-12);border-radius:var(--r-md);transition:border-color var(--ease);box-sizing:border-box;outline:none;width:100%;padding:12px 16px;font-size:14px}.act-field input:focus,.act-field select:focus,.act-field textarea:focus{border-color:var(--purple)}.act-field input[aria-invalid=true],.act-field select[aria-invalid=true],.act-field textarea[aria-invalid=true]{border-color:var(--danger)}.act-field-error{color:var(--danger);font-size:11.5px}.act-field textarea{resize:vertical;min-height:80px}.act-field .act-required{color:var(--warning)}.act-field [data-phone-input] .phone-input-joined{align-items:stretch;display:flex}.act-field [data-phone-input] .phone-input-joined button[role=combobox],.act-field [data-phone-input] .phone-input-joined input[type=tel]{font-family:var(--font);color:var(--navy);background:var(--bg);border:1.5px solid var(--navy-12);box-sizing:border-box;height:auto;min-height:unset;box-shadow:none;transition:border-color var(--ease);outline:none;padding:12px 16px;font-size:14px}.act-field [data-phone-input] .phone-input-joined button[role=combobox]{border-radius:var(--r-md) 0 0 var(--r-md);border-right-width:0;flex-shrink:0;width:auto}.act-field [data-phone-input] .phone-input-joined input[type=tel]{border-radius:0 var(--r-md) var(--r-md) 0;border-left-width:0;flex:1;width:100%;min-width:0}.act-field [data-phone-input] .phone-input-joined:focus-within button[role=combobox],.act-field [data-phone-input] .phone-input-joined:focus-within input[type=tel]{border-color:var(--purple)}.act-field [data-phone-input][data-invalid=true] .phone-input-joined button[role=combobox],.act-field [data-phone-input][data-invalid=true] .phone-input-joined input[type=tel]{border-color:var(--danger)}.act-toggle-row{background:var(--bg);border-radius:var(--r-lg);cursor:pointer;align-items:center;gap:14px;margin-bottom:4px;padding:14px 18px;display:flex}.act-toggle-row input[type=checkbox]{display:none}.act-toggle-switch{background:var(--navy-12);width:36px;height:20px;transition:background var(--ease);border-radius:10px;flex-shrink:0;position:relative}.act-toggle-switch:after{content:"";width:16px;height:16px;transition:transform var(--ease);background:#fff;border-radius:50%;position:absolute;top:2px;left:2px;box-shadow:0 1px 3px #00000026}.act-toggle-row input:checked+.act-toggle-switch{background:var(--purple)}.act-toggle-row input:checked+.act-toggle-switch:after{transform:translate(16px)}.act-toggle-text{flex:1;min-width:0}.act-toggle-label{color:var(--navy);font-size:13px;font-weight:600;display:block}.act-toggle-desc{color:var(--navy-45);margin-top:2px;font-size:11.5px;display:block}.act-hris-picker{background:var(--bg);border:1.5px solid var(--navy-12);border-radius:var(--r-lg);overflow:hidden}.act-hris-search{border-bottom:1px solid var(--border);align-items:center;gap:8px;padding:10px 14px;display:flex}.act-hris-search svg{width:14px;height:14px;stroke:var(--navy-30);stroke-width:2px;fill:none;flex-shrink:0}.act-hris-search input{font-family:var(--font);color:var(--navy);background:0 0;border:none;outline:none;flex:1;font-size:13px}.act-hris-list{max-height:180px;overflow-y:auto}.act-hris-item{cursor:pointer;transition:background var(--ease);text-align:left;width:100%;font-family:var(--font);background:0 0;border:none;align-items:center;gap:10px;padding:10px 14px;display:flex}.act-hris-item:hover,.act-hris-item.selected{background:var(--purple-06)}.act-hris-avatar{color:#fff;border-radius:50%;flex-shrink:0;justify-content:center;align-items:center;width:28px;height:28px;font-size:10px;font-weight:700;display:flex}.act-hris-info{flex:1;min-width:0}.act-hris-name{color:var(--navy);font-size:13px;font-weight:600}.act-hris-dept{color:var(--navy-45);font-size:11.5px}.act-hris-check{border:2px solid var(--navy-12);width:18px;height:18px;transition:all var(--ease);border-radius:50%;flex-shrink:0;justify-content:center;align-items:center;margin-left:auto;display:flex}.act-hris-item.selected .act-hris-check{background:var(--purple);border-color:var(--purple)}.act-hris-check svg{stroke:#fff;stroke-width:2.5px;fill:none;opacity:0;width:10px;height:10px}.act-hris-item.selected .act-hris-check svg{opacity:1}.act-hris-empty{color:var(--navy-45);text-align:center;padding:16px 14px;font-size:12.5px}.act-issue-grid{grid-template-columns:1fr 1fr;gap:10px;display:grid}.act-issue-box{background:var(--bg);border:2px solid var(--navy-06);border-radius:var(--r-lg);cursor:pointer;transition:all var(--ease);text-align:center;font-family:var(--font);flex-direction:column;align-items:center;gap:8px;padding:20px 16px;display:flex}.act-issue-box:hover{border-color:var(--purple-20);background:var(--purple-06)}.act-issue-box.selected{border-color:var(--purple);background:var(--purple-06)}.act-issue-box svg{width:24px;height:24px;stroke:var(--navy-45);stroke-width:1.5px;fill:none}.act-issue-box.selected svg{stroke:var(--purple)}.act-issue-box span{color:var(--navy-60);font-size:12.5px;font-weight:600}.act-issue-box.selected span{color:var(--purple)}.act-condition-row{flex-wrap:wrap;gap:8px;display:flex}.act-condition-btn{border:2px solid var(--navy-06);border-radius:var(--r-md);background:var(--bg);min-width:80px;font-family:var(--font);color:var(--navy-60);cursor:pointer;text-align:center;transition:all var(--ease);flex:1 1 0;padding:10px 8px;font-size:12px;font-weight:600;line-height:1.3}.act-condition-btn:hover{border-color:var(--purple-20)}.act-condition-btn.selected{border-color:var(--purple);background:var(--purple-06);color:var(--purple)}.act-device-card{background:var(--bg);border:1px solid var(--border);border-radius:var(--r-lg);align-items:center;gap:14px;padding:14px 16px;display:flex}.act-device-card-icon{background:var(--navy-06);border-radius:var(--r-md);flex-shrink:0;justify-content:center;align-items:center;width:40px;height:40px;display:flex}.act-device-card-icon svg{width:20px;height:20px;stroke:var(--navy-45);stroke-width:1.5px;fill:none}.act-device-card-info{flex:1;min-width:0}.act-device-card-name{color:var(--navy);font-size:13.5px;font-weight:700}.act-device-card-specs{color:var(--navy-45);margin-top:2px;font-size:11.5px}.act-device-card-list{flex-direction:column;gap:8px;max-height:220px;display:flex;overflow-y:auto}.act-bb-device{flex-direction:column;gap:12px;display:flex}.act-bb-device+.act-bb-device{border-top:1px solid var(--border);margin-top:16px;padding-top:16px}.act-modal-footer{border-top:1px solid var(--border);flex-shrink:0;justify-content:space-between;align-items:center;gap:12px;padding:16px 24px;display:flex}.act-btn{font-family:var(--font);border-radius:var(--r-pill);cursor:pointer;transition:all var(--ease);white-space:nowrap;border:none;align-items:center;gap:6px;padding:10px 24px;font-size:13.5px;font-weight:600;display:inline-flex}.act-btn svg{stroke:currentColor;stroke-width:2px;fill:none;width:14px;height:14px}.act-btn-ghost{color:var(--navy-45);background:0 0}.act-btn-ghost:hover{color:var(--navy);background:var(--navy-06)}.act-btn-primary{background:var(--navy);color:#fff}.act-btn-primary:hover{background:#001244}.act-btn-primary:disabled{opacity:.4;cursor:not-allowed}.act-confirm-screen{text-align:center;flex-direction:column;align-items:center;gap:16px;padding:32px 24px;display:flex}.act-confirm-icon{background:var(--success-bg);color:#15803d;border-radius:50%;justify-content:center;align-items:center;width:56px;height:56px;display:flex}.act-confirm-icon svg{stroke:currentColor;stroke-width:2px;fill:none;width:28px;height:28px}.act-confirm-title{color:var(--navy);margin:0;font-size:18px;font-weight:700}.act-confirm-desc{color:var(--navy-45);max-width:380px;margin:0;font-size:13.5px;line-height:1.6}.act-upload-zone{border:2px dashed var(--navy-12);border-radius:var(--r-lg);text-align:center;cursor:pointer;transition:all var(--ease);flex-direction:column;align-items:center;padding:40px 24px;display:flex}.act-upload-zone:hover{border-color:var(--purple-20);background:var(--purple-06)}.act-upload-zone svg{width:32px;height:32px;stroke:var(--navy-30);stroke-width:1.5px;fill:none;margin-bottom:12px}.act-upload-title{color:var(--navy);margin-bottom:4px;font-size:14px;font-weight:600}.act-upload-desc{color:var(--navy-45);font-size:12.5px}.act-upload-link{color:var(--purple);cursor:pointer;font-weight:600;text-decoration:underline}.act-preview-table{border-collapse:collapse;width:100%;font-size:12.5px}.act-preview-table thead{background:var(--bg)}.act-preview-table th{color:var(--navy-30);text-transform:uppercase;letter-spacing:.05em;text-align:left;padding:8px 12px;font-size:10.5px;font-weight:700}.act-preview-table td{border-bottom:1px solid var(--border);color:var(--navy);padding:10px 12px}.act-sched-badge{background:var(--purple-06);border:1px solid var(--purple-20);border-radius:var(--r-lg);color:var(--purple);align-items:center;gap:8px;margin-top:4px;padding:10px 16px;font-size:12.5px;font-weight:600;display:inline-flex}.act-sched-badge svg{stroke:currentColor;stroke-width:2px;fill:none;width:12px;height:12px}.act-banner{border-radius:var(--r-md);background:var(--success-bg);border:1px solid #d1fae5;align-items:flex-start;gap:10px;padding:12px 14px;display:flex}.act-banner svg{stroke:#15803d;stroke-width:2px;fill:none;flex-shrink:0;width:16px;height:16px;margin-top:1px}.act-banner-title{color:#15803d;font-size:13px;font-weight:600}.act-banner-body{color:#047857;margin-top:2px;font-size:12.5px;line-height:1.4}.act-review-card{background:var(--bg);border-radius:var(--r-lg);flex-direction:column;gap:10px;padding:14px 16px;display:flex}.act-review-row{justify-content:space-between;align-items:center;gap:12px;display:flex}.act-review-label{color:var(--navy-45);font-size:12px;font-weight:600}.act-review-value{color:var(--navy);text-align:right;font-size:13px;font-weight:600}.act-review-value-success{color:#15803d;font-weight:700}.act-icon-tone-purple{background:var(--purple-10);color:var(--purple)}.act-icon-tone-warning{background:var(--warning-bg);color:var(--warning)}.act-icon-tone-danger{background:var(--danger-bg);color:var(--danger)}.act-icon-tone-success{background:var(--success-bg);color:#15803d}.act-icon-tone-navy{background:var(--navy-06);color:var(--navy)}
.act-modal .add-device-reset{color:var(--purple);cursor:pointer;background:0 0;border:none;margin-top:6px;padding:0;font-size:12px;font-weight:600}.act-modal .add-device-reset:hover{color:var(--purple-dark)}
.devices-page{flex-direction:column;flex:1;gap:24px;padding:24px 32px 48px;display:flex}.devices-page .stats-row{grid-template-columns:repeat(5,1fr);gap:14px;display:grid}.devices-page .stat-tile{background:var(--surface);border:1px solid var(--border);border-top:4px solid var(--tile-accent,var(--purple));border-radius:var(--r-xl);cursor:default;padding:22px 24px;position:relative;overflow:hidden}.devices-page .stat-tile-top{justify-content:space-between;align-items:flex-start;margin-bottom:14px;display:flex}.devices-page .stat-tile-icon{border-radius:var(--r-md);background:var(--tile-icon-bg,var(--purple-10));flex-shrink:0;justify-content:center;align-items:center;width:40px;height:40px;display:flex}.devices-page .stat-tile-icon svg{width:18px;height:18px;stroke:var(--tile-accent,var(--purple));stroke-width:1.5px;fill:none}.devices-page .stat-tile-trend{border-radius:var(--r-pill);align-items:center;gap:3px;padding:3px 8px;font-size:11px;font-weight:700;display:inline-flex}.devices-page .stat-tile-trend.up{background:var(--success-bg);color:#15803d}.devices-page .stat-tile-trend.warn{background:var(--warning-bg);color:var(--warning)}.devices-page .stat-tile-trend.neutral{background:var(--navy-06);color:var(--navy-45)}.devices-page .stat-tile-trend svg{stroke:currentColor;stroke-width:2px;fill:none;width:10px;height:10px}.devices-page .stat-tile-value{color:var(--tile-accent,var(--purple));letter-spacing:-.03em;margin-bottom:6px;font-size:40px;font-weight:400;line-height:1}.devices-page .stat-tile-label{color:var(--navy-45);font-size:13px;font-weight:500}.devices-page .table-toolbar{flex-wrap:wrap;align-items:center;gap:12px;display:flex}.devices-page .bulk-upload-btn{background:var(--navy);color:#fff;font-family:var(--font);border-radius:var(--r-pill);cursor:pointer;white-space:nowrap;transition:background var(--ease);border:none;flex-shrink:0;align-items:center;gap:6px;padding:9px 18px;font-size:13px;font-weight:600;display:inline-flex}.devices-page .bulk-upload-btn:hover{background:#001244}.devices-page .bulk-upload-btn svg{stroke:currentColor;stroke-width:1.5px;fill:none;width:14px;height:14px}.devices-page .filter-chips{flex-wrap:wrap;align-items:center;gap:6px;display:flex}.devices-page .filter-group-label{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.devices-page .filter-label{color:var(--navy-45);text-transform:uppercase;letter-spacing:.06em;font-size:11px;font-weight:700}.devices-page .filter-btn{font-family:var(--font);color:var(--navy);background:var(--surface);border:1.5px solid var(--border);border-radius:var(--r-pill);cursor:pointer;transition:all var(--ease);white-space:nowrap;flex-shrink:0;align-items:center;gap:7px;padding:8px 14px;font-size:13px;font-weight:600;display:inline-flex}.devices-page .filter-btn:hover{border-color:var(--navy-30)}.devices-page .filter-btn.has-active{border-color:var(--purple);color:var(--purple);background:var(--purple-06)}.devices-page .filter-btn svg{stroke:currentColor;stroke-width:2px;fill:none;width:14px;height:14px}.devices-page .filter-btn-count{background:var(--purple);color:#fff;border-radius:9px;justify-content:center;align-items:center;min-width:18px;height:18px;padding:0 6px;font-size:11px;font-weight:700;display:inline-flex}.devices-page .filter-pop-wrap{flex-shrink:0;display:inline-flex;position:relative}.devices-page .filter-popover{border-radius:var(--r-lg);z-index:100;background:#fff;width:320px;padding:16px 18px;display:none;position:absolute;top:calc(100% + 8px);right:0;box-shadow:0 0 0 1px #001f650f,0 8px 24px -4px #001f651f,0 24px 48px -12px #001f651a}.devices-page .filter-popover.is-open{display:block}.devices-page .filter-pop-section{padding:10px 0}.devices-page .filter-pop-section+.filter-pop-section{border-top:1px solid var(--border)}.devices-page .filter-pop-section .filter-label{margin-bottom:8px;display:block}.devices-page .filter-pop-chips{flex-wrap:wrap;gap:6px;display:flex}.devices-page .filter-pop-chips .chip{padding:6px 12px;font-size:12px}.devices-page .filter-pop-country-search{width:100%;font-family:var(--font);color:var(--navy);border:1.5px solid var(--navy-12);border-radius:var(--r-md);transition:border-color var(--ease), box-shadow var(--ease);background:#fff;outline:none;margin-bottom:8px;padding:7px 12px;font-size:13px}.devices-page .filter-pop-country-search::placeholder{color:var(--navy-45)}.devices-page .filter-pop-country-search:hover{border-color:var(--navy-30)}.devices-page .filter-pop-country-search:focus{border-color:var(--purple);box-shadow:0 0 0 3px var(--purple-10)}.devices-page .filter-pop-chips.filter-pop-country{max-height:168px;padding-right:4px;overflow-y:auto}.devices-page .filter-pop-country-empty{color:var(--navy-45);padding:4px 2px;font-size:12px}.devices-page .filter-pop-footer{border-top:1px solid var(--border);justify-content:space-between;align-items:center;margin-top:4px;padding-top:12px;display:flex}.devices-page .filter-pop-clear{font-family:var(--font);color:var(--navy-45);cursor:pointer;background:0 0;border:none;padding:4px 8px;font-size:12px;font-weight:600}.devices-page .filter-pop-clear:hover{color:var(--navy)}.devices-page .filter-pop-apply{background:var(--navy);color:#fff;border-radius:var(--r-md);font-family:var(--font);cursor:pointer;border:none;padding:8px 16px;font-size:12px;font-weight:600}.devices-page .filter-pop-apply:hover{background:var(--purple)}.devices-page .devices-table{border-collapse:collapse;width:100%;font-size:13.5px}.devices-page .devices-table thead{background:var(--bg);border-bottom:1px solid var(--border)}.devices-page .devices-table th{text-align:left;color:var(--navy-45);text-transform:uppercase;letter-spacing:.06em;white-space:nowrap;padding:10px 16px;font-size:10.5px;font-weight:700}.devices-page .devices-table tbody tr{border-bottom:1px solid var(--border);transition:background var(--ease);cursor:pointer}.devices-page .devices-table tbody tr:last-child{border-bottom:none}.devices-page .devices-table tbody tr:hover,.devices-page .devices-table tbody tr.has-active-op{background:var(--purple-06)}.devices-page .devices-table tbody tr.has-active-op:hover{background:var(--purple-10)}.devices-page .devices-table tbody tr.has-active-op td{position:relative}.devices-page .devices-table tbody tr.has-active-op td:first-child:before{content:"";background:var(--purple);width:3px;position:absolute;top:0;bottom:0;left:0}.devices-page .devices-table td{vertical-align:middle;padding:14px 16px}.devices-page .person-cell{align-items:center;gap:10px;display:flex}.devices-page .person-avatar{letter-spacing:.02em;border-radius:50%;flex-shrink:0;justify-content:center;align-items:center;width:34px;height:34px;font-size:12px;font-weight:700;display:flex}.devices-page .av-purple{background:var(--purple-10);color:var(--purple-dark)}.devices-page .av-lime{background:var(--lime-bg);color:var(--lime-text)}.devices-page .av-navy{color:var(--navy);background:#001f651a}.devices-page .av-success{color:#15803d;background:#22c55e1f}.devices-page .av-warning{color:#8a5f1c;background:#dc262624}.devices-page .av-danger{color:#b8004f;background:#ff106a1a}.devices-page .person-cell-text{flex-direction:column;gap:1px;min-width:0;display:flex}.devices-page .person-name{color:var(--navy);font-size:13.5px;font-weight:600;line-height:1.2}.devices-page .person-name-empty{color:var(--navy-45);font-weight:500}.devices-page .person-avatar.person-avatar-empty{background:var(--bg);border:1px dashed var(--navy-12);color:var(--navy-30)}.devices-page .person-avatar.person-avatar-empty svg{width:16px;height:16px}.devices-page .person-avatar.person-avatar-warehouse{background:var(--navy-06);border:1px solid var(--navy-12);color:var(--navy-60)}.devices-page .person-avatar.person-avatar-warehouse svg{width:16px;height:16px}.devices-page .person-location{color:var(--navy-45);align-items:center;gap:3px;margin-top:1px;font-size:11px;display:flex}.devices-page .device-cell{align-items:center;gap:10px;display:flex}.devices-page .device-icon{border-radius:var(--r-sm);background:var(--bg);border:1px solid var(--border);flex-shrink:0;justify-content:center;align-items:center;width:34px;height:34px;display:flex}.devices-page .device-icon svg{width:18px;height:18px;stroke:var(--navy-45);stroke-width:1.4px;fill:none}.devices-page .device-name{color:var(--navy);font-size:13.5px;font-weight:600;line-height:1.2}.devices-page .device-specs{flex-wrap:wrap;gap:4px;margin-top:3px;display:flex}.devices-page .spec-tag{color:var(--navy-45);background:var(--navy-06);border-radius:var(--r-xs);padding:1px 6px;font-size:10.5px;font-weight:500}.devices-page .serial-val{color:var(--navy-60);font-variant-numeric:tabular-nums;letter-spacing:.04em;cursor:pointer;font-size:12px;font-weight:600}.devices-page .serial-val:hover{color:var(--purple-dark)}.devices-page .age-val{color:var(--navy-45);white-space:nowrap;font-size:13px}.devices-page .td-chevron{color:var(--navy-30);text-align:right}.devices-page .td-chevron svg{stroke:currentColor;stroke-width:1.75px;fill:none;width:16px;height:16px}.devices-page .drawer-overlay{z-index:300;opacity:0;pointer-events:none;background:#001f652e;transition:opacity .25s;position:fixed;inset:0}.devices-page .drawer-overlay.open{opacity:1;pointer-events:auto}.devices-page .drawer{background:var(--surface);z-index:301;width:420px;box-shadow:var(--shadow-lg);transition:transform var(--spring);flex-direction:column;display:flex;position:fixed;top:0;bottom:0;right:0;transform:translate(100%)}.devices-page .drawer.open{transform:translate(0)}.devices-page .drawer-header{border-bottom:1px solid var(--border);flex-shrink:0;justify-content:space-between;align-items:center;padding:20px 24px;display:flex}.devices-page .drawer-title{color:var(--navy);font-size:16px;font-weight:700}.devices-page .drawer-close{background:var(--navy-06);border-radius:var(--r-sm);cursor:pointer;width:32px;height:32px;transition:background var(--ease);border:none;justify-content:center;align-items:center;display:flex}.devices-page .drawer-close:hover{background:var(--navy-12)}.devices-page .drawer-close svg{width:14px;height:14px;stroke:var(--navy-60);stroke-width:2px;fill:none}.devices-page .drawer-body{flex-direction:column;flex:1;gap:24px;padding:24px;display:flex;overflow-y:auto}.devices-page .drawer-section-label{color:var(--navy-30);text-transform:uppercase;letter-spacing:.08em;margin-bottom:12px;font-size:10px;font-weight:700}.devices-page .drawer-manual-chip{border-radius:var(--r-pill);background:var(--purple-10);color:var(--purple-dark);letter-spacing:.04em;text-transform:uppercase;vertical-align:middle;margin-left:8px;padding:2px 8px;font-size:9.5px;font-weight:700}.devices-page .drawer-person-card{background:var(--bg);border:1px solid var(--border);border-radius:var(--r-lg);align-items:center;gap:12px;padding:14px 16px;display:flex}.devices-page .drawer-person-avatar{border-radius:50%;flex-shrink:0;justify-content:center;align-items:center;width:42px;height:42px;font-size:14px;font-weight:700;display:flex}.devices-page .drawer-person-name{color:var(--navy);font-size:14px;font-weight:700}.devices-page .drawer-person-meta{color:var(--navy-45);align-items:center;gap:4px;margin-top:2px;font-size:12px;display:flex}.devices-page .drawer-info-grid{grid-template-columns:1fr 1fr;gap:12px;display:grid}.devices-page .drawer-info-item{background:var(--bg);border-radius:var(--r-md);padding:12px 14px}.devices-page .drawer-info-key{color:var(--navy-30);text-transform:uppercase;letter-spacing:.05em;margin-bottom:4px;font-size:10.5px;font-weight:600}.devices-page .drawer-info-val{color:var(--navy);font-size:13.5px;font-weight:600}.devices-page .history-list{flex-direction:column;gap:0;display:flex}.devices-page .history-item{border-bottom:1px solid var(--border);align-items:flex-start;gap:12px;padding:12px 0;display:flex}.devices-page .history-item:last-child{border-bottom:none}.devices-page .history-icon{border-radius:var(--r-sm);flex-shrink:0;justify-content:center;align-items:center;width:32px;height:32px;display:flex}.devices-page .history-icon svg{stroke-width:1.5px;fill:none;width:15px;height:15px}.devices-page .history-text{flex:1}.devices-page .history-title{color:var(--navy);font-size:13px;font-weight:600;line-height:1.3}.devices-page .history-sub{color:var(--navy-45);margin-top:2px;font-size:11.5px}.devices-page .history-date{color:var(--navy-30);white-space:nowrap;flex-shrink:0;padding-top:2px;font-size:11px}.devices-page .drawer-active-op{background:var(--purple-10);border:1.5px solid var(--purple-20);border-radius:var(--r-lg);color:var(--purple-dark);transition:background var(--ease), border-color var(--ease);align-items:center;gap:10px;margin-bottom:12px;padding:10px 14px;text-decoration:none;display:flex}.devices-page .drawer-active-op:hover{background:var(--purple-20);border-color:var(--purple)}.devices-page .drawer-active-op-dot{background:var(--purple);width:8px;height:8px;box-shadow:0 0 0 4px var(--purple-10);border-radius:50%;flex-shrink:0}.devices-page .drawer-active-op-text{flex-direction:column;flex:1;min-width:0;display:flex}.devices-page .drawer-active-op-title{color:var(--purple-dark);font-size:13px;font-weight:600;line-height:1.2}.devices-page .drawer-active-op-sub{color:var(--purple);margin-top:2px;font-size:11px}.devices-page .quick-actions-grid{grid-template-columns:1fr 1fr;gap:10px;display:grid}.devices-page .qa-btn{border-radius:var(--r-pill);font-family:var(--font);cursor:pointer;transition:all var(--ease);border:none;justify-content:center;align-items:center;gap:8px;padding:12px 16px;font-size:13px;font-weight:600;text-decoration:none;display:flex}.devices-page .qa-btn svg{stroke:currentColor;stroke-width:1.5px;fill:none;flex-shrink:0;width:15px;height:15px}.devices-page .qa-btn.qa-disabled,.devices-page .qa-btn:disabled{opacity:.35;cursor:not-allowed;pointer-events:none}.devices-page .qa-reassign{background:var(--purple-10);color:var(--purple-dark)}.devices-page .qa-reassign:hover{background:var(--purple-20)}.devices-page .qa-store{background:var(--navy-06);color:var(--navy-60)}.devices-page .qa-store:hover{background:var(--navy-12)}.devices-page .qa-support{background:var(--warning-bg);color:var(--warning)}.devices-page .qa-support:hover{background:#dc26262e}.devices-page .qa-sell{background:var(--success-bg);color:#15803d}.devices-page .qa-sell:hover{background:#22c55e2e}@media (max-width:768px){.devices-page{gap:20px;padding:20px 16px 96px}.devices-page .table-toolbar-title{font-size:20px}.devices-page .stats-row{grid-template-columns:1fr 1fr;gap:10px}.devices-page .stat-tile{padding:16px}.devices-page .stat-tile-value{font-size:28px}.devices-page .insights-row{grid-template-columns:1fr;gap:10px}.devices-page .insight-card{padding:16px 18px}.devices-page .insight-value{font-size:26px}.devices-page .insight-subtitle{margin-bottom:10px}.devices-page .table-toolbar{flex-direction:column;align-items:stretch;gap:12px;padding:16px;overflow:hidden}.devices-page .filter-group-label{width:100%}.devices-page .filter-label{font-size:11px}.devices-page .filter-chips{-webkit-overflow-scrolling:touch;scrollbar-width:none;gap:8px;max-width:calc(100% + 32px);margin:0 -16px;padding:0 16px 6px;flex-wrap:nowrap!important;flex:none!important;display:flex!important;overflow-x:auto!important}.devices-page .filter-chips::-webkit-scrollbar{display:none}.devices-page .chip,.devices-page .filter-chips>*{white-space:nowrap;padding:9px 16px;font-size:13px;font-weight:600;flex:none!important}.devices-page .search-wrap{border-radius:14px;flex:1;gap:10px;max-width:100%;margin-left:0;padding:12px 14px;min-width:0!important}.devices-page .search-wrap input{font-size:15px}.devices-page .search-wrap svg{width:16px;height:16px}.devices-page .icon-btn{display:none}.devices-page .filter-pop-wrap{width:100%;display:block;position:static}.devices-page .filter-btn{border-radius:14px;justify-content:center;width:100%;padding:12px 14px;font-size:14px}.devices-page .filter-btn svg{width:16px;height:16px}.devices-page .filter-popover{width:100%;max-height:80vh;padding:20px 18px calc(20px + env(safe-area-inset-bottom));z-index:10001;border-radius:20px 20px 0 0;transition:transform .26s cubic-bezier(.2,.9,.25,1);display:block;position:fixed;inset:auto 0 0;overflow-y:auto;transform:translateY(100%);box-shadow:0 -8px 32px -4px #001f6533}.devices-page .filter-popover.is-open{transform:translateY(0)}.devices-page .filter-popover:before{content:"";background:var(--border);border-radius:2px;width:40px;height:4px;margin:0 auto 14px;display:block}.devices-page .filter-pop-section{padding:14px 0}.devices-page .filter-pop-chips .chip{padding:9px 14px;font-size:13px}.devices-page .filter-pop-footer{padding-top:16px}.devices-page .filter-pop-apply{padding:12px 20px;font-size:14px}.devices-page .filter-backdrop{-webkit-backdrop-filter:blur(2px);z-index:10000;opacity:0;pointer-events:none;background:#001f6559;transition:opacity .22s;position:fixed;inset:0}.devices-page .filter-backdrop.is-visible{opacity:1;pointer-events:auto}body.filter-open{overflow:hidden}.devices-page .devices-table thead{display:none}.devices-page .devices-table,.devices-page .devices-table tbody,.devices-page .devices-table tr,.devices-page .devices-table td{width:100%;display:block}.devices-page .devices-table tbody{padding:0 16px;display:block}.devices-page .devices-table tr{border-bottom:1px solid var(--border);grid-template-rows:auto auto;grid-template-columns:minmax(0,1fr) minmax(0,1.25fr);gap:4px 10px;padding:16px 0;display:grid;position:relative}.devices-page .devices-table tr:last-child{border-bottom:none}.devices-page .devices-table td{border:none;padding:0}.devices-page .devices-table td:first-child{color:var(--navy);grid-area:1/1;font-size:15px;font-weight:600}.devices-page .devices-table td:nth-child(2){color:var(--navy-45);grid-area:2/1;font-size:13px}.devices-page .devices-table td:nth-child(3){grid-area:1/2/span 2;place-self:center stretch;min-width:0}.devices-page .devices-table td:nth-child(4),.devices-page .devices-table td:nth-child(5),.devices-page .devices-table td:nth-child(6){display:none}.devices-page .device-cell{gap:10px;min-width:0}.devices-page .device-cell>div{min-width:0}.devices-page .device-icon{flex-shrink:0;width:32px;height:32px}.devices-page .device-name{white-space:normal;overflow-wrap:anywhere;line-height:1.3}.devices-page .device-specs{gap:4px;margin-top:3px}.devices-page .spec-tag{padding:2px 7px;font-size:10.5px}.devices-page .table-footer{padding:12px 16px}.devices-page .drawer{width:100%}}@media (max-width:480px){.devices-page{padding:16px 14px 96px}.devices-page .stats-row{grid-template-columns:1fr}.devices-page .chip,.devices-page .filter-chips>*{padding:8px 14px;font-size:12.5px}.devices-page .search-wrap{border-radius:12px;padding:11px 12px}}
.devices-page .bulk-bar{z-index:9800;-webkit-backdrop-filter:blur(16px);color:#fff;background:#001f65eb;border-top:1px solid #ffffff14;align-items:center;gap:16px;padding:16px 32px;transition:transform .3s cubic-bezier(.4,0,.2,1);display:flex;position:fixed;bottom:0;left:0;right:0;transform:translateY(100%);box-shadow:0 -8px 40px #001f6540}.devices-page .bulk-bar.visible{transform:translateY(0)}.devices-page .bulk-bar-close{color:#fff;cursor:pointer;width:32px;height:32px;transition:background var(--ease);background:#ffffff14;border:none;border-radius:50%;flex-shrink:0;justify-content:center;align-items:center;display:flex}.devices-page .bulk-bar-close:hover{background:#ffffff2e}.devices-page .bulk-bar-close svg{stroke:currentColor;stroke-width:2px;fill:none;width:14px;height:14px}.devices-page .bulk-bar-count{white-space:nowrap;flex-shrink:0;align-items:center;gap:10px;font-size:14px;font-weight:600;display:flex}.devices-page .bulk-count-num{background:var(--purple);border-radius:14px;justify-content:center;align-items:center;min-width:28px;height:28px;padding:0 8px;font-size:13px;font-weight:700;display:inline-flex}.devices-page .bulk-bar-devices{scrollbar-width:thin;scrollbar-color:#ffffff4d transparent;-webkit-overflow-scrolling:touch;flex:1;align-items:center;gap:6px;min-width:0;margin-left:4px;display:flex;overflow:auto hidden}.devices-page .bulk-bar-devices::-webkit-scrollbar{height:4px}.devices-page .bulk-bar-devices::-webkit-scrollbar-thumb{background:#ffffff4d;border-radius:2px}.devices-page .bulk-bar-device-chip{border-radius:var(--r-pill);white-space:nowrap;background:#ffffff1a;flex-shrink:0;align-items:center;gap:5px;padding:4px 10px;font-size:11px;font-weight:500;display:inline-flex}.devices-page .bulk-bar-actions{flex-shrink:0;align-items:center;gap:10px;margin-left:auto;display:flex}.devices-page .bulk-bar-btn{font-family:var(--font);border-radius:var(--r-pill);cursor:pointer;color:#fff;transition:all var(--ease);letter-spacing:-.01em;background:#ffffff0f;border:1.5px solid #ffffff40;align-items:center;gap:6px;padding:9px 18px;font-size:13px;font-weight:600;display:inline-flex}.devices-page .bulk-bar-btn:hover{background:#ffffff24;border-color:#ffffff59}.devices-page .bulk-bar-btn.primary{background:var(--purple);border-color:var(--purple)}.devices-page .bulk-bar-btn.primary:hover{background:var(--purple-dark)}.devices-page .bulk-bar-hint{color:#ffffffa6;font-size:12px;font-style:italic}.devices-page .devices-table th.td-select,.devices-page .devices-table td.td-select{width:36px;padding-left:14px;padding-right:0}.devices-page .devices-table td.td-select input[type=checkbox],.devices-page .devices-table th.td-select input[type=checkbox]{cursor:pointer;width:16px;height:16px;accent-color:var(--purple)}.devices-page .devices-table td.td-select input[type=checkbox]:disabled{cursor:not-allowed;opacity:.4}.devices-page .devices-table tbody tr.row-unselectable td.td-select{opacity:.5}.devices-page .devices-table tbody tr.row-selected{background:var(--purple-06)}.devices-page .devices-table tbody tr.row-selected:hover{background:var(--purple-10)}.devices-page .country-add{position:relative}.devices-page .country-add-pop{background:var(--surface,#fff);width:320px;max-height:360px;color:var(--text,#1a1a2e);border:1px solid var(--border,#00000014);border-radius:var(--r-lg,12px);z-index:20;flex-direction:column;display:flex;position:absolute;bottom:calc(100% + 10px);right:0;overflow:hidden;box-shadow:0 16px 40px #00000038}.devices-page .country-add-filters{border-bottom:1px solid var(--border,#00000014);flex-wrap:wrap;gap:6px;padding:12px;display:flex}.devices-page .country-add-chip{font-family:var(--font);border-radius:var(--r-pill);cursor:pointer;border:1.5px solid var(--border,#0000001f);color:var(--text-muted,#5b5b6e);transition:all var(--ease);background:0 0;padding:5px 12px;font-size:12px;font-weight:600}.devices-page .country-add-chip.active{background:var(--purple);border-color:var(--purple);color:#fff}.devices-page .country-add-list{margin:0;padding:6px;list-style:none;overflow-y:auto}.devices-page .country-add-item{border-radius:var(--r-md,8px);cursor:pointer;align-items:center;gap:10px;padding:8px 10px;display:flex}.devices-page .country-add-item:hover{background:var(--purple-06,#7c5cff0f)}.devices-page .country-add-item input[type=checkbox]{width:16px;height:16px;accent-color:var(--purple);cursor:pointer;flex-shrink:0}.devices-page .country-add-item-name{white-space:nowrap;text-overflow:ellipsis;flex:1;font-size:13px;font-weight:500;overflow:hidden}@media (max-width:720px){.devices-page .bulk-bar{padding:12px 16px}.devices-page .country-add-pop{width:min(320px,100vw - 32px)}.devices-page .bulk-bar-devices{display:none}.devices-page .bulk-bar-actions{gap:6px}.devices-page .bulk-bar-btn{padding:7px 12px;font-size:11px}}