:root[data-theme=dark]{--status-team-aol-bg: #0b3d75;--status-team-aol-fg: #f5f5f5;--status-team-arrival-bg: #1f6088;--status-team-arrival-fg: #f0f0f0;--status-team-assigned-bg: #a88f1a;--status-team-assigned-fg: #f5f5f5;--status-team-available-bg: #2f6d34;--status-team-available-fg: #f5f5f5;--status-team-break-bg: #6e2b75;--status-team-break-fg: #f5f5f5;--status-team-briefed-bg: #a88f1a;--status-team-briefed-fg: #f5f5f5;--status-team-crew-rest-bg: #6e2b75;--status-team-crew-rest-fg: #f5f5f5;--status-team-enroute-bg: #1aa8a8;--status-team-enroute-fg: #f5f5f5;--status-team-out-of-service-bg: #8c2f2f;--status-team-out-of-service-fg: #f5f5f5;--status-team-report-writing-bg: #785b8f;--status-team-report-writing-fg: #f5f5f5;--status-team-returning-bg: #1f6088;--status-team-returning-fg: #f5f5f5;--status-team-tol-bg: #0b3d75;--status-team-tol-fg: #f5f5f5;--status-team-wheels-down-bg: #1f6088;--status-team-wheels-down-fg: #f5f5f5;--status-team-post-incident-bg: #785b8f;--status-team-post-incident-fg: #f5f5f5;--status-team-find-bg: #b2700d;--status-team-find-fg: #f5f5f5;--status-team-complete-bg: #2f6d34;--status-team-complete-fg: #f5f5f5;--status-task-created-bg: #444c55;--status-task-created-fg: #f5f5f5;--status-task-planned-bg: #6d5478;--status-task-planned-fg: #f5f5f5;--status-task-assigned-bg: #a88f1a;--status-task-assigned-fg: #f5f5f5;--status-task-in-progress-bg: #1f6088;--status-task-in-progress-fg: #f5f5f5;--status-task-complete-bg: #2f6d34;--status-task-complete-fg: #f5f5f5;--status-task-cancelled-bg: #8c2f2f;--status-task-cancelled-fg: #f5f5f5;--status-resource-pending-bg: #4e3c00;--status-resource-pending-fg: #dbdbdb;--status-resource-enroute-bg: #0d2a4a;--status-resource-enroute-fg: #dbdbdb;--status-resource-checked-in-bg: #1b3a1f;--status-resource-checked-in-fg: #dbdbdb;--status-resource-assigned-bg: #2a1a4e;--status-resource-assigned-fg: #dbdbdb;--status-resource-available-bg: #003636;--status-resource-available-fg: #dbdbdb;--status-resource-out-of-service-bg: #4a1200;--status-resource-out-of-service-fg: #dbdbdb;--status-resource-demobilized-bg: #1c2226;--status-resource-demobilized-fg: #dbdbdb;--team-type-gt: #2f6d34;--team-type-udf: #bfa523;--team-type-lsar: #2f6d34;--team-type-df: #bfa523;--team-type-gt-uas: #2d8f6d;--team-type-udf-uas: #c59b3f;--team-type-uas: #1f7a83;--team-type-air: #3583c4;--color-selected-outline: #5b9bd5}:root[data-theme=light]{--status-team-aol-bg: #1565c0;--status-team-aol-fg: #ffffff;--status-team-arrival-bg: #00b8d4;--status-team-arrival-fg: #1a1a1a;--status-team-assigned-bg: #ffc107;--status-team-assigned-fg: #1a1a1a;--status-team-available-bg: #43a047;--status-team-available-fg: #ffffff;--status-team-break-bg: #ab47bc;--status-team-break-fg: #ffffff;--status-team-briefed-bg: #ffc107;--status-team-briefed-fg: #1a1a1a;--status-team-crew-rest-bg: #ab47bc;--status-team-crew-rest-fg: #ffffff;--status-team-enroute-bg: #1aa8a8;--status-team-enroute-fg: #1a1a1a;--status-team-out-of-service-bg: #e53935;--status-team-out-of-service-fg: #ffffff;--status-team-report-writing-bg: #ce93d8;--status-team-report-writing-fg: #1a1a1a;--status-team-returning-bg: #0288d1;--status-team-returning-fg: #ffffff;--status-team-tol-bg: #1565c0;--status-team-tol-fg: #ffffff;--status-team-wheels-down-bg: #0288d1;--status-team-wheels-down-fg: #ffffff;--status-team-post-incident-bg: #ce93d8;--status-team-post-incident-fg: #1a1a1a;--status-team-find-bg: #fb8c00;--status-team-find-fg: #1a1a1a;--status-team-complete-bg: #2e7d32;--status-team-complete-fg: #ffffff;--status-task-created-bg: #90a4ae;--status-task-created-fg: #1a1a1a;--status-task-planned-bg: #ce93d8;--status-task-planned-fg: #1a1a1a;--status-task-assigned-bg: #ffc107;--status-task-assigned-fg: #1a1a1a;--status-task-in-progress-bg: #00acc1;--status-task-in-progress-fg: #ffffff;--status-task-complete-bg: #2e7d32;--status-task-complete-fg: #ffffff;--status-task-cancelled-bg: #e53935;--status-task-cancelled-fg: #ffffff;--status-resource-pending-bg: #efe229;--status-resource-pending-fg: #000000;--status-resource-enroute-bg: #006ab6;--status-resource-enroute-fg: #000000;--status-resource-checked-in-bg: #00e113;--status-resource-checked-in-fg: #000000;--status-resource-assigned-bg: #581ab4;--status-resource-assigned-fg: #ffffff;--status-resource-available-bg: #098d00;--status-resource-available-fg: #000000;--status-resource-out-of-service-bg: #c73221;--status-resource-out-of-service-fg: #010101;--status-resource-demobilized-bg: #888888;--status-resource-demobilized-fg: #363636;--team-type-gt: #228b22;--team-type-udf: #ffeb3b;--team-type-lsar: #228b22;--team-type-df: #ffeb3b;--team-type-gt-uas: #00b987;--team-type-udf-uas: #ffd54f;--team-type-uas: #00cec9;--team-type-air: #00a8ff;--color-selected-outline: #1565c0}:root{color-scheme:light dark;font-family:system-ui,-apple-system,Segoe UI,Roboto,sans-serif}body{margin:0;background:#121417;color:#e8e8e8}#root{min-height:100vh;display:flex;flex-direction:column}.screen{max-width:480px;width:100%;margin:0 auto;padding:24px 16px 80px;box-sizing:border-box}h1,h2{font-weight:600}.field{display:flex;flex-direction:column;gap:4px;margin-bottom:14px}.field label{font-size:.85rem;opacity:.8}input,select,textarea{background:#1d2025;border:1px solid #3a3f47;border-radius:6px;color:inherit;padding:10px 12px;font-size:1rem}button{background:#2f6d34;border:none;border-radius:6px;color:#f5f5f5;padding:12px 16px;font-size:1rem;cursor:pointer;width:100%}button.secondary{background:#2a2d33}button.danger{background:#8c2f2f}button+button{margin-top:8px}.error{color:#ff8a8a;font-size:.9rem}.list-item{display:flex;justify-content:space-between;align-items:center;padding:12px;border:1px solid #2a2d33;border-radius:8px;margin-bottom:8px;cursor:pointer}.list-item:hover{border-color:#4a5058}.tabs{display:flex;gap:8px;margin-bottom:16px}.tabs button{width:auto;flex:1}.tabs button.inactive{background:#2a2d33}.app-shell{display:flex;min-height:100vh;width:100%}.app-sidebar{width:240px;flex-shrink:0;background:#17191d;border-right:1px solid #2a2d33;overflow-y:auto;padding-bottom:24px}.app-sidebar-title{font-weight:700;font-size:1.1rem;padding:16px}.app-sidebar-section-label{font-size:.72rem;text-transform:uppercase;letter-spacing:.04em;opacity:.55;padding:14px 16px 4px}.app-sidebar-link{display:flex;justify-content:space-between;align-items:center;padding:8px 16px;text-decoration:none;color:inherit;font-size:.9rem}.app-sidebar-link:hover{background:#1d2025}.app-sidebar-link.active{background:#22343a;border-right:3px solid var(--color-selected-outline, #5b9bd5)}.app-sidebar-link.planned{opacity:.45;cursor:default}.planned-badge{font-size:.65rem;border:1px solid #4a5058;border-radius:999px;padding:1px 6px}.app-main{flex:1;display:flex;flex-direction:column;min-width:0}.app-topbar{display:flex;justify-content:space-between;align-items:center;padding:10px 20px;border-bottom:1px solid #2a2d33;gap:16px}.app-topbar-right{display:flex;align-items:center;gap:12px}.app-topbar-right button{width:auto;padding:8px 12px;font-size:.85rem}.incident-switcher{min-width:240px}.connection-indicator{display:flex;align-items:center;gap:6px;font-size:.8rem;opacity:.85}.connection-dot{width:8px;height:8px;border-radius:50%;display:inline-block}.app-content{flex:1;padding:20px;overflow:auto}.data-table-toolbar{display:flex;justify-content:flex-end;margin-bottom:8px;position:relative}.data-table-gear{width:auto;background:#2a2d33;font-size:.8rem;padding:6px 10px}.data-table-column-menu{position:absolute;top:100%;right:0;background:#1d2025;border:1px solid #3a3f47;border-radius:8px;padding:10px;z-index:20;min-width:200px;display:flex;flex-direction:column;gap:6px}.data-table-column-menu label{display:flex;align-items:center;gap:8px;font-size:.85rem}.data-table-scroll{overflow:auto;border:1px solid #2a2d33;border-radius:8px}table.data-table{width:100%;border-collapse:collapse;font-size:.88rem}table.data-table thead th{position:sticky;top:0;background:#17191d;text-align:left;padding:10px 12px;border-bottom:1px solid #2a2d33;white-space:nowrap;-webkit-user-select:none;user-select:none;position:relative}table.data-table thead th.sortable{cursor:pointer}.col-resize-handle{position:absolute;right:0;top:0;bottom:0;width:6px;cursor:col-resize}table.data-table tbody tr{height:44px;cursor:pointer}table.data-table tbody td{padding:8px 12px;border-bottom:1px solid #202327}table.data-table tbody tr.selected td:first-child{box-shadow:inset 3px 0 0 var(--color-selected-outline, #5b9bd5)}table.data-table tbody tr.selected{outline:2px solid var(--color-selected-outline, #5b9bd5);outline-offset:-1px}table.data-table tbody tr.row-emergency{background:#8c2f2f40}.data-table-empty{text-align:center;opacity:.6;padding:24px!important}.row-context-menu{background:#1d2025;border:1px solid #3a3f47;border-radius:8px;padding:6px;min-width:220px;box-shadow:0 4px 16px #0006}.row-context-menu-section+.row-context-menu-section{border-top:1px solid #2a2d33;margin-top:4px;padding-top:4px}.row-context-menu-title{font-size:.72rem;opacity:.6;padding:4px 8px}.row-context-menu button{width:100%;background:transparent;text-align:left;padding:6px 8px;font-size:.85rem}.row-context-menu button:hover{background:#2a2d33}.filter-bar{margin-bottom:12px}.filter-bar-row{display:flex;gap:8px;align-items:center}.filter-bar-chips{display:flex;gap:8px;margin-top:8px;flex-wrap:wrap}.filter-chip{width:auto;background:#2a2d33;font-size:.8rem;padding:4px 10px}.detail-page{max-width:960px}.detail-header{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:12px;margin-bottom:20px}.detail-tabs{display:flex;gap:4px;border-bottom:1px solid #2a2d33;margin-bottom:16px;overflow-x:auto}.detail-tab{width:auto;background:transparent;border-radius:0;padding:10px 14px;font-size:.85rem;border-bottom:2px solid transparent;white-space:nowrap}.detail-tab.active{border-bottom-color:var(--color-selected-outline, #5b9bd5)}.detail-tab.disabled{opacity:.4;cursor:default}.detail-tab-placeholder{opacity:.6;padding:24px 0}.modal-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;background:#0000008c;display:flex;align-items:center;justify-content:center;z-index:2000}.modal{background:#1d2025;border:1px solid #3a3f47;border-radius:10px;padding:20px;width:100%;max-width:420px}.modal-actions{display:flex;gap:8px;margin-top:16px}.modal-actions button{width:auto;flex:1}.message-list{display:flex;flex-direction:column;gap:10px;overflow-y:auto;margin-bottom:12px}.message{background:#1d2025;border-radius:8px;padding:8px 10px}.message .meta{font-size:.75rem;opacity:.7;margin-bottom:2px}
