.page-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:1rem}.page-header h1{margin:0}.container{max-width:1200px;margin:0 auto;padding:1rem}.actions{display:flex;gap:1rem;flex-wrap:wrap;align-items:center;margin-bottom:1rem;background:#f8fafc;padding:.75rem;border-radius:8px;border:1px solid #e2e8f0}.actions input[type=text]{flex:1;min-width:250px;padding:.6rem .8rem;border:1px solid #cbd5e1;border-radius:6px;font-size:.95rem}.actions select{padding:.6rem 2rem .6rem .8rem;border:1px solid #cbd5e1;border-radius:6px;font-size:.95rem;background-color:#fff;min-width:160px;cursor:pointer}.actions label{display:flex;align-items:center;gap:.5rem;font-size:.9rem;color:#475569;font-weight:500;cursor:pointer;user-select:none}.action-checks{display:flex;gap:1rem;align-items:center;flex-wrap:wrap}.toggle-btn{border:1px solid #cbd5e1;color:#475569;background:#fff;transition:background .15s,color .15s,border-color .15s}.toggle-btn.toggle-active,.toggle-btn[aria-pressed=true]{background:#eff6ff;color:#2563eb;border-color:#93c5fd;font-weight:600}.stats-bar{display:flex;gap:.75rem;align-items:center;padding:.5rem .85rem;font-size:.82rem;color:#64748b;background:#f8fafc;border-bottom:1px solid #e2e8f0;flex-wrap:wrap;min-height:34px}.stat-item{display:inline-flex;align-items:center;gap:.35rem;font-weight:500}.stat-dot{width:7px;height:7px;border-radius:50%;flex-shrink:0}.stat-active{background:#22c55e}.stat-inactive{background:#ef4444}.stat-repair{background:#f59e0b}.stat-sep{color:#cbd5e1}.stat-total{color:#94a3b8}.stat-filter{color:#2563eb;font-weight:600;background:#eff6ff;padding:1px 8px;border-radius:999px;border:1px solid #bfdbfe}.skeleton{background:linear-gradient(90deg,#f1f5f9 25%,#e2e8f0,#f1f5f9 75%);background-size:200% 100%;animation:shimmer 1.4s infinite;border-radius:4px;height:13px}@keyframes shimmer{0%{background-position:200% 0}to{background-position:-200% 0}}.skel-lg{width:110px}.skel-md{width:75px}.skel-pill{width:58px;height:20px;border-radius:999px}.skel-btn{width:68px;height:26px;border-radius:6px}th[data-sort]{cursor:pointer;user-select:none;white-space:nowrap}th[data-sort]:hover{background:#e2e8f0}th.th-sorted{background:#e0f2fe;color:#0369a1}.sort-icon{display:inline-block;font-size:.75rem;opacity:.5;margin-left:4px}th.th-sorted .sort-icon{opacity:1}.owner-link{color:#2563eb;text-decoration:none;font-weight:500}.owner-link:hover{text-decoration:underline}.owner-cell{display:flex;align-items:center;gap:.4rem}.swap-btn{border:none;background:transparent;cursor:pointer;color:#94a3b8;font-size:.9rem;padding:2px 4px;border-radius:4px;opacity:0;transition:opacity .15s,color .15s,background .15s;flex-shrink:0}tr:hover .swap-btn{opacity:1}.swap-btn:hover{color:#2563eb;background:#eff6ff}.inline-owner-input{width:100%;padding:.35rem .5rem;border:1px solid #93c5fd;border-radius:6px;font-size:.9rem;background:#fff;box-shadow:0 0 0 3px #2563eb1a;outline:none}@keyframes rowFlash{0%{background:#dcfce7}to{background:transparent}}.row-flash td{animation:rowFlash .9s ease forwards}.group-header td{background:#f1f5f9;padding:.6rem 1.2rem;border-bottom:2px solid #e2e8f0;border-top:2px solid #e2e8f0}.group-name{font-weight:700;color:#1e293b;font-size:.9rem}.group-count{margin-left:.6rem;font-size:.78rem;color:#94a3b8;font-weight:400}.table-scroll{max-height:75vh;overflow:auto;border:1px solid #e2e8f0;border-radius:0 0 10px 10px;box-shadow:0 2px 4px #00000005}.table.compact{width:100%;border-collapse:separate;border-spacing:0}.table.compact th{position:sticky;top:0;background:#f1f5f9;z-index:10;text-align:left;padding:1rem 1.2rem;font-weight:600;color:#334155;border-bottom:2px solid #e2e8f0;white-space:nowrap}.table.compact td{padding:.8rem 1.2rem;border-bottom:1px solid #f1f5f9;vertical-align:middle;color:#0f172a}.table.compact tr:last-child td{border-bottom:none}.table.compact tr:hover td{background-color:#f8fafc}.cell-action{text-align:right}.error-text{color:var(--error, #dc2626)}.pill{display:inline-flex;align-items:center;justify-content:center;padding:4px 10px;border-radius:999px;font-size:.75rem;font-weight:700;text-transform:uppercase;letter-spacing:.5px;min-width:70px;text-align:center}.pill.active{background-color:#dcfce7;color:var(--success, #16a34a);border:1px solid #bbf7d0}.pill.inactive{background-color:#fee2e2;color:var(--error, #dc2626);border:1px solid #fecaca}.pill.repair{background-color:#fef3c7;color:#92400e;border:1px solid #fde68a}.mono{font-family:Courier New,monospace;font-weight:600;color:#334155;font-size:.95em}.tabs{display:flex;gap:4px;margin-bottom:1rem;border-bottom:1px solid #e5e7eb}.tab-btn{padding:8px 16px;border:none;background:transparent;cursor:pointer;border-bottom:2px solid transparent;margin-bottom:-1px;font-weight:500;font-size:.9rem;color:#6b7280;border-radius:6px 6px 0 0;transition:color .15s,background .15s}.tab-btn:hover{background:#f9fafb;color:#374151}.tab-btn.active{border-bottom-color:#2563eb;color:#2563eb;font-weight:600}.dev-page{animation:fadeIn .15s ease}@keyframes fadeIn{0%{opacity:0;transform:translateY(3px)}to{opacity:1;transform:translateY(0)}}dialog.modal{border:none;background:transparent;padding:0;max-width:none;max-height:none;outline:none;width:100vw;height:100vh}dialog.modal[open]{display:flex;align-items:center;justify-content:center}dialog.modal::backdrop{background:#00000073;backdrop-filter:blur(2px)}.modal .dialog{background:#fff;border-radius:12px;box-shadow:0 20px 25px -5px #0000001a,0 10px 10px -5px #0000000a;width:100%;max-width:560px;margin:1rem;display:flex;flex-direction:column;max-height:90vh;overflow:hidden}.modal-h{background:#fff;padding:1.25rem 1.5rem;border-bottom:1px solid #e5e7eb;display:flex;justify-content:space-between;align-items:center;flex-shrink:0;border-radius:12px 12px 0 0}.modal-h h3{font-size:1.15rem;font-weight:600;color:#111827;margin:0}.icon-btn{border:none;background:transparent;font-size:1.2rem;cursor:pointer;color:#9ca3af;padding:4px 8px;border-radius:6px;line-height:1;transition:background .15s,color .15s}.icon-btn:hover{background:#f3f4f6;color:#374151}.pad{padding:1.5rem;overflow-y:auto;flex:1}.dialog-footer{background:#f9fafb;padding:1rem 1.5rem;border-top:1px solid #e5e7eb;display:flex;justify-content:space-between;align-items:center;flex-shrink:0;border-radius:0 0 12px 12px}.footer-right{display:flex;gap:.75rem}.repair-btn{color:#b45309;border-color:#fde68a;background:#fffbeb}.repair-btn:hover{background:#fef3c7;border-color:#f59e0b}.form-grid{display:grid;gap:1.25rem}.form-grid label{display:block;font-size:.875rem;font-weight:500;color:#374151;margin-bottom:.35rem}.form-grid input[type=text],.form-grid input[type=search],.form-grid select{width:100%;padding:.6rem .75rem;border:1px solid #d1d5db;border-radius:6px;font-size:.95rem;background-color:#fff;transition:border-color .15s}.form-grid input:focus,.form-grid select:focus{outline:none;border-color:var(--primary, #0ea5e9);box-shadow:0 0 0 3px #0ea5e91a}.form-row-2{display:grid;grid-template-columns:1fr 1fr;gap:1rem}.input-readonly{background:#f3f4f6!important;color:#6b7280;cursor:default}.check-label{display:flex;align-items:center;gap:.6rem;font-size:.95rem;color:#374151;cursor:pointer;margin-top:.25rem}.check-label input{width:1.1rem;height:1.1rem}.timeline-list{max-height:300px;overflow-y:auto}.timeline-entry{border-left:2px solid #e2e8f0;padding-left:1rem;margin-bottom:1rem}.timeline-meta{font-size:.8rem;color:#9ca3af}.timeline-action{font-weight:600;color:#1f2937;margin:2px 0}.timeline-desc{font-size:.9rem;color:#6b7280}.repair-row{cursor:pointer}.repair-row:hover td{background:#f8fafc}html.dark-mode .page-header h1{color:#e2e8f0}html.dark-mode .actions{background:#1e293b;border-color:#334155}html.dark-mode .actions input,html.dark-mode .actions select{background:#0f172a;border-color:#334155;color:#e2e8f0}html.dark-mode .actions label{color:#94a3b8}html.dark-mode #devTable{border-color:#334155}html.dark-mode #devTable thead tr{background:#1e293b}html.dark-mode #devTable th{color:#94a3b8;border-bottom-color:#334155}html.dark-mode #devTable td{border-bottom-color:#334155;color:#e2e8f0}html.dark-mode #devTable tr:hover td{background:#273447}html.dark-mode #devTable .muted{color:#475569}html.dark-mode .dev-modal{background:#1e293b}html.dark-mode .dev-modal-header{border-bottom-color:#334155}html.dark-mode .dev-modal-tabs .tab-btn{color:#94a3b8;border-bottom-color:#334155}html.dark-mode .dev-modal-tabs .tab-btn.active{color:#e2e8f0;border-bottom-color:#6366f1}html.dark-mode .timeline-list{border-left-color:#334155}html.dark-mode .timeline-entry:before{background:#334155}html.dark-mode .timeline-meta{color:#64748b}html.dark-mode .timeline-desc{color:#94a3b8}html.dark-mode .repair-row td{background:#1e293b;color:#e2e8f0}html.dark-mode .repair-row:hover td{background:#273447}
