:root{--color-page-bg:#f3f4f6;--color-surface:#fff;--color-surface-muted:#f9fafb;--color-border:#e5e7eb;--color-border-strong:#d1d5db;--color-text:#111827;--color-text-muted:#6b7280;--color-text-soft:#9ca3af;--color-text-label:#374151;--color-text-inverse:#fff;--color-brand:#111827;--color-brand-hover:#1f2937;--color-brand-soft:#11182714;--color-focus:#2563eb;--color-focus-ring:#2563eb1f;--color-focus-ring-strong:#2563eb40;--color-sidebar-bg:#111827;--color-sidebar-link:#d1d5db;--color-sidebar-muted:#9ca3af;--color-sidebar-hover:#ffffff14;--color-sidebar-border:#ffffff24;--color-sidebar-border-hover:#ffffff3d;--color-success-bg:#ecfdf5;--color-success-text:#047857;--color-success-border:#04785714;--color-danger-bg:#fef2f2;--color-danger-bg-hover:#fee2e2;--color-danger-text:#b91c1c;--color-danger-text-hover:#991b1b;--color-button-secondary-bg:#f3f4f6;--color-button-secondary-hover:#e5e7eb;--shadow-soft:0 12px 40px #0f172a0a;--shadow-hover:0 18px 55px #0f172a14;--shadow-login:0 24px 70px #0f172a14;--shadow-button:0 12px 30px #1118272e;--shadow-nav-active:0 10px 30px #ffffff14;--transition-fast:.12s ease;--transition-base:.18s ease;--transition-slow:.26s ease;--scale-press:.98;color:var(--color-text);background:var(--color-page-bg);font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}*{box-sizing:border-box}body{min-width:320px;min-height:100vh;color:var(--color-text);background:var(--color-page-bg);margin:0}select,option{cursor:pointer}button,input,select,textarea{font:inherit}button{cursor:pointer}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}.city-checkbox input[type=checkbox]{flex-shrink:0;width:16px;height:16px;min-height:16px}.login-page{background:radial-gradient(circle at top left, var(--color-focus-ring), transparent 30%), var(--color-page-bg);place-items:center;min-height:100vh;padding:24px;display:grid}.login-card{background:var(--color-surface);border:1px solid var(--color-border);width:100%;max-width:420px;box-shadow:var(--shadow-login);border-radius:24px;padding:32px;animation:.26s both cardFadeIn}.login-logo{background:var(--color-brand);width:56px;height:56px;color:var(--color-text-inverse);border-radius:18px;place-items:center;margin-bottom:20px;font-size:28px;font-weight:800;display:grid}.login-card h1{margin:0;font-size:28px}.login-card p{color:var(--color-text-muted);margin:8px 0 24px}.login-card label{color:var(--color-text-label);gap:8px;margin-bottom:16px;font-size:14px;display:grid}.login-card input{border:1px solid var(--color-border-strong);background:var(--color-surface);height:46px;color:var(--color-text);border-radius:14px;outline:none;padding:0 14px}.login-card input:focus{border-color:var(--color-focus);box-shadow:0 0 0 4px var(--color-focus-ring)}.login-card button{background:var(--color-brand);width:100%;height:48px;color:var(--color-text-inverse);border:0;border-radius:14px;margin-top:8px;font-weight:700}.login-card button:disabled{opacity:.65;cursor:not-allowed}.admin-shell{grid-template-columns:280px 1fr;min-height:100vh;display:grid}.sidebar{background:var(--color-sidebar-bg);color:var(--color-text-inverse);flex-direction:column;padding:24px;animation:.26s both sidebarFadeIn;display:flex}.sidebar-logo{align-items:center;gap:12px;margin-bottom:32px;display:flex}.logo-mark{background:var(--color-surface);width:46px;height:46px;color:var(--color-brand);border-radius:16px;place-items:center;font-size:24px;font-weight:800;display:grid}.logo-title{font-weight:800}.logo-subtitle{color:var(--color-sidebar-muted);font-size:13px}.sidebar-nav{gap:8px;display:grid}.nav-link{color:var(--color-sidebar-link);transition:background-color var(--transition-base), color var(--transition-base), box-shadow var(--transition-base), transform var(--transition-fast);border-radius:14px;padding:12px 14px;text-decoration:none}.nav-link-active{background:var(--color-surface);color:var(--color-text);box-shadow:var(--shadow-nav-active)}.logout-button{border:1px solid var(--color-sidebar-border);color:var(--color-text-inverse);background:0 0;border-radius:14px;height:44px;margin-top:auto}.main-content{padding:32px}.page{max-width:1280px;margin:0 auto;animation:.26s both pageFadeIn}.page-header{justify-content:space-between;align-items:flex-start;gap:16px;margin-bottom:24px;display:flex}.page-header h1{margin:0;font-size:32px}.page-header p{color:var(--color-text-muted);margin:8px 0 0}.user-card{background:var(--color-surface);border:1px solid var(--color-border);border-radius:18px;gap:4px;min-width:220px;padding:14px 18px;animation:.26s both cardFadeIn;display:grid}.user-card span{color:var(--color-text-muted);font-size:14px}.stats-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;display:grid}.panel-card{margin-top:20px}.stat-card,.empty-card,.panel-card{background:var(--color-surface);border:1px solid var(--color-border);box-shadow:var(--shadow-soft);border-radius:22px;padding:22px;animation:.26s both cardFadeIn}.stat-card span{color:var(--color-text-muted);font-size:14px}.stat-card strong{letter-spacing:-.03em;margin-top:10px;font-size:30px;line-height:1.1;display:block}.empty-card{gap:8px;display:grid}.empty-card span{color:var(--color-text-muted)}.content-grid{align-items:start;gap:20px;display:grid}.panel-card h2{margin:0 0 18px;font-size:20px}.field{gap:8px;margin-bottom:16px;display:grid}.field span,.checkbox-field span{color:var(--color-text-label);font-size:14px}.field input,.field select,.field textarea{border:1px solid var(--color-border-strong);background:var(--color-surface);width:100%;min-height:44px;color:var(--color-text);border-radius:14px;outline:none;padding:0 14px}.field textarea{resize:vertical;padding:12px 14px}.field input:focus,.field select:focus,.field textarea:focus{border-color:var(--color-focus);box-shadow:0 0 0 4px var(--color-focus-ring)}.checkbox-field{align-items:center;gap:10px;margin:12px 0 18px;display:flex}.checkbox-field input{width:18px;height:18px}.form-error,.form-success{border-radius:12px;margin-bottom:12px;padding:12px;font-size:14px;animation:.18s both noticeSlideIn}.form-error{background:var(--color-danger-bg);color:var(--color-danger-text)}.form-success{background:var(--color-success-bg);color:var(--color-success-text)}.form-actions{align-items:center;gap:10px;display:flex}.primary-button,.secondary-button,.small-button,.logout-button,.login-card button{transition:background-color var(--transition-base), color var(--transition-base), border-color var(--transition-base), box-shadow var(--transition-base), transform var(--transition-fast), opacity var(--transition-base);border:0;font-weight:700}.primary-button,.secondary-button{border-radius:14px;min-height:44px;padding:0 18px}.primary-button{background:var(--color-brand);color:var(--color-text-inverse)}.secondary-button{background:var(--color-button-secondary-bg);color:var(--color-text)}.small-button{background:var(--color-button-secondary-bg);min-height:34px;color:var(--color-text);white-space:nowrap;transform-origin:50%;border-radius:14px;padding:0 12px}.danger-button{background:var(--color-danger-bg);color:var(--color-danger-text)}.primary-button:disabled,.secondary-button:disabled,.small-button:disabled,.login-card button:disabled{opacity:.6;cursor:not-allowed;box-shadow:none;transform:none}.table-card{overflow:hidden}.table-header{justify-content:space-between;align-items:center;gap:16px;margin-bottom:16px;display:flex}.table-header h2{margin:0}.table-header p{color:var(--color-text-muted);margin:6px 0 0;font-size:14px}.table-header-actions{flex-wrap:wrap;align-items:center;gap:10px;display:flex}.compact-select{border:1px solid var(--color-border-strong);background:var(--color-surface);min-height:44px;color:var(--color-text);border-radius:14px;outline:none;padding:0 14px}.compact-select:focus{border-color:var(--color-focus);box-shadow:0 0 0 4px var(--color-focus-ring)}.table-wrap{width:100%;overflow-x:auto}.data-table{border-collapse:collapse;width:100%;min-width:720px}.data-table th,.data-table td{border-bottom:1px solid var(--color-border);text-align:center;vertical-align:middle;transition:background-color var(--transition-base), color var(--transition-base);padding:14px 12px}.data-table th{color:var(--color-text-muted);background:var(--color-surface-muted);font-size:13px;font-weight:700}.data-table td{font-size:14px}.data-table tbody tr{transition:background-color var(--transition-base), color var(--transition-base), transform var(--transition-fast);animation:.18s both rowFadeIn}.table-actions{flex-wrap:wrap;justify-content:flex-end;gap:8px;display:flex}.status-badge{min-height:26px;transition:background-color var(--transition-base), color var(--transition-base), box-shadow var(--transition-base);border-radius:999px;align-items:center;padding:0 10px;font-size:13px;font-weight:700;display:inline-flex}.status-active{background:var(--color-success-bg);color:var(--color-success-text);box-shadow:inset 0 0 0 1px var(--color-success-border)}.status-inactive{background:var(--color-button-secondary-bg);color:var(--color-text-muted);box-shadow:inset 0 0 0 1px #6b728014}.empty-state{background:var(--color-surface-muted);color:var(--color-text-muted);text-align:center;border-radius:18px;padding:28px}.muted-text{color:var(--color-text-muted);margin-top:4px;font-size:13px}@media (hover:hover) and (pointer:fine){.primary-button:hover,.login-card button:hover{background:var(--color-brand-hover);box-shadow:var(--shadow-button);transform:translateY(-1px)}.secondary-button:hover,.small-button:hover{background:var(--color-button-secondary-hover);transform:translateY(-1px)}.danger-button:hover{background:var(--color-danger-bg-hover);color:var(--color-danger-text-hover)}.logout-button:hover{background:var(--color-sidebar-hover);border-color:var(--color-sidebar-border-hover)}.panel-card:hover,.stat-card:hover,.empty-card:hover,.user-card:hover{box-shadow:var(--shadow-hover)}.data-table tbody tr:hover{background:var(--color-surface-muted)}.nav-link:hover{background:var(--color-sidebar-hover);color:var(--color-text-inverse);transform:translate(2px)}.field input:hover,.field select:hover,.field textarea:hover,.compact-select:hover{border-color:var(--color-text-soft)}}.primary-button:active,.secondary-button:active,.small-button:active,.logout-button:active,.login-card button:active{transform:scale(var(--scale-press))}.primary-button:focus-visible,.secondary-button:focus-visible,.small-button:focus-visible,.logout-button:focus-visible,.nav-link:focus-visible,.login-card button:focus-visible,.field input:focus-visible,.field select:focus-visible,.field textarea:focus-visible,.compact-select:focus-visible{outline:3px solid var(--color-focus-ring-strong);outline-offset:2px}@keyframes pageFadeIn{0%{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}@keyframes cardFadeIn{0%{opacity:0;transform:translateY(10px)scale(.995)}to{opacity:1;transform:translateY(0)scale(1)}}@keyframes rowFadeIn{0%{opacity:0;transform:translateY(4px)}to{opacity:1;transform:translateY(0)}}@keyframes noticeSlideIn{0%{opacity:0;transform:translateY(-4px)}to{opacity:1;transform:translateY(0)}}@keyframes sidebarFadeIn{0%{opacity:0;transform:translate(-10px)}to{opacity:1;transform:translate(0)}}@media (width<=1180px){.content-grid{grid-template-columns:1fr}}@media (width<=980px){.admin-shell{grid-template-columns:1fr}.sidebar{position:static}.stats-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (width<=640px){.main-content{padding:20px}.page-header{display:grid}.stats-grid{grid-template-columns:1fr}.table-header{flex-direction:column;align-items:stretch}.table-header-actions{align-items:stretch}.table-header-actions>*{width:100%}.form-actions{flex-direction:column;align-items:stretch}.form-actions>*{width:100%}}@media (prefers-reduced-motion:reduce){*,:before,:after{scroll-behavior:auto!important;transition-duration:1ms!important;animation-duration:1ms!important;animation-iteration-count:1!important}}.info-box{background:var(--color-surface-muted);border:1px solid var(--color-border);color:var(--color-text-muted);border-radius:14px;margin-bottom:16px;padding:12px;font-size:14px;line-height:1.45}.inline-code{background:var(--color-surface-muted);border:1px solid var(--color-border);min-height:24px;color:var(--color-text);border-radius:8px;align-items:center;padding:0 8px;font-size:12px;display:inline-flex}.status-system{color:#1d4ed8;background:#2563eb1a;box-shadow:inset 0 0 0 1px #2563eb1f}.status-custom{background:var(--color-button-secondary-bg);color:var(--color-text-muted);box-shadow:inset 0 0 0 1px #6b728014}.nav-link{justify-content:space-between;align-items:center;gap:8px;display:flex}.nav-chevron{opacity:.75;transition:transform var(--transition-base);font-size:12px}.nav-group-open .nav-chevron{transform:rotate(180deg)}.nav-submenu{border-left:1px solid var(--color-sidebar-border);gap:4px;margin-left:12px;padding-left:12px;animation:.18s both cardFadeIn;display:grid}.nav-sublink{color:var(--color-sidebar-link);transition:background-color var(--transition-base), color var(--transition-base), transform var(--transition-fast);border-radius:12px;padding:9px 12px;font-size:14px;text-decoration:none}.nav-sublink-active{color:var(--color-text-inverse);background:#ffffff1a}@media (hover:hover) and (pointer:fine){.nav-sublink:hover{background:var(--color-sidebar-hover);color:var(--color-text-inverse);transform:translate(2px)}}.report-filters{margin-bottom:20px}.report-filters-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;display:grid}.report-filter-actions{flex-wrap:wrap;gap:10px;margin-top:4px;display:flex}.report-error{margin-bottom:16px}.report-stats-grid{margin-bottom:20px}.report-grid{align-items:start;gap:20px;display:grid}.compact-data-table{min-width:520px}.summary-row{background:var(--color-surface-muted);font-weight:700}.nested-cell{color:var(--color-text-muted);padding-left:28px!important}@media (width<=1180px){.report-grid,.report-filters-grid{grid-template-columns:1fr}}.trips-filters-grid{grid-template-columns:repeat(5,minmax(0,1fr));gap:16px;display:grid}.trips-table{min-width:1900px}.trips-table th{-webkit-user-select:none;user-select:none}.trips-table th:nth-child(2),.trips-table th:nth-child(10),.trips-table th:nth-child(12),.trips-table th:nth-child(13),.trips-table th:nth-child(14){cursor:pointer}.row-toggle-button{background:var(--color-button-secondary-bg);width:30px;height:30px;color:var(--color-text);transition:background-color var(--transition-base), transform var(--transition-fast);border:0;border-radius:10px;font-weight:800}.row-toggle-button:active{transform:scale(var(--scale-press))}.expanded-row td{background:var(--color-surface-muted)}.expanded-content{background:var(--color-surface);border:1px solid var(--color-border);border-radius:18px;padding:16px}.expanded-content h3{text-align:left;margin:0 0 14px;font-size:16px}.expanded-content .event-grid{gap:20px;display:flex}.expanded-content .event-grid span+span{border-left:1px solid var(--color-text-muted);padding-left:20px}.event-list{display:grid}.event-card{background:var(--color-surface-muted);border:1px solid var(--color-border);border-radius:16px;flex-direction:column;align-items:start;width:fit-content;padding:14px;display:flex}.event-grid{color:var(--color-text-muted);grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin-top:10px;font-size:14px;display:grid}.pagination-bar{justify-content:flex-end;align-items:center;gap:12px;padding-top:16px;display:flex}.pagination-bar span{color:var(--color-text-muted);font-size:14px}@media (width<=1280px){.trips-filters-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (width<=720px){.trips-filters-grid{grid-template-columns:1fr}.pagination-bar{justify-content:stretch}.pagination-bar .secondary-button{flex:1}.event-grid{grid-template-columns:1fr}}.shifts-table{min-width:2150px}.shifts-table th{-webkit-user-select:none;user-select:none}.shifts-table th:nth-child(2),.shifts-table th:nth-child(3),.shifts-table th:nth-child(10),.shifts-table th:nth-child(11),.shifts-table th:nth-child(12){cursor:pointer}.shift-trip-list{gap:10px;display:grid}.crews-report-table{min-width:1500px}.crews-report-table th{-webkit-user-select:none;user-select:none}.crews-report-table th:nth-child(2),.crews-report-table th:nth-child(4),.crews-report-table th:nth-child(5),.crews-report-table th:nth-child(6),.crews-report-table th:nth-child(7),.crews-report-table th:nth-child(8),.crews-report-table th:nth-child(9),.crews-report-table th:nth-child(15),.crews-report-table th:nth-child(16){cursor:pointer}.vehicles-report-table{min-width:1650px}.vehicles-report-table th{-webkit-user-select:none;user-select:none}.vehicles-report-table th:nth-child(2),.vehicles-report-table th:nth-child(4),.vehicles-report-table th:nth-child(5),.vehicles-report-table th:nth-child(6),.vehicles-report-table th:nth-child(7),.vehicles-report-table th:nth-child(10),.vehicles-report-table th:nth-child(16),.vehicles-report-table th:nth-child(17){cursor:pointer}.report-grid-wide{margin-top:20px}.alarms-table{min-width:900px}.bar-track{background:var(--color-surface-muted);border:1px solid var(--color-border);border-radius:999px;height:12px;overflow:hidden}.bar-fill{background:var(--color-primary);border-radius:999px;height:100%;transition:width .26s}.bar-list{gap:14px;display:grid}.bar-row{gap:8px;display:grid}.bar-row-head{color:var(--color-text,#111827);justify-content:space-between;gap:12px;font-size:14px;display:flex}.bar-row-head strong{white-space:nowrap}.bar-track{background:var(--color-surface-muted,#eef2f7);border:1px solid var(--color-border,#d7dde7);border-radius:999px;width:100%;height:14px;min-height:14px;overflow:hidden}.bar-fill{background:var(--color-primary,#2563eb);border-radius:999px;min-width:3px;height:100%;transition:width .26s;display:block}html,body,#root,.admin-shell{max-width:100%;overflow-x:hidden}.main-content{min-width:0;max-width:100%;max-height:100dvh;overflow-x:hidden}.page,.panel-card,.table-card,.report-filters,.content-grid,.report-grid,.report-grid-wide,.stats-grid{min-width:0;max-width:100%}.content-grid>*,.report-grid>*,.report-grid-wide>*,.stats-grid>*{min-width:0}.table-wrap{overscroll-behavior-x:contain;width:100%;min-width:0;max-width:100%;overflow:auto visible}.data-table{width:100%}.trips-table,.shifts-table,.employees-report-table,.crews-report-table,.vehicles-report-table,.alarms-table{max-width:none}.manual-shift-form{gap:20px;display:grid}.manual-form-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;display:grid}.manual-form-grid-two{grid-template-columns:repeat(2,minmax(0,1fr));margin-top:18px}.manual-person-card{background:var(--color-surface-muted);border:1px solid var(--color-border);border-radius:18px;padding:16px}.manual-trip-list{gap:16px;margin-top:16px;display:grid}.manual-trip-card{background:var(--color-surface-muted);border:1px solid var(--color-border);border-radius:20px;padding:16px;animation:.18s both cardFadeIn}.manual-trip-card-header{justify-content:space-between;align-items:center;gap:16px;margin-bottom:14px;display:flex}.manual-trip-card-header h3{margin:0;font-size:18px}.manual-event-box{background:var(--color-surface);border:1px solid var(--color-border);border-radius:18px;margin-top:16px;padding:16px}.manual-event-box h4{margin:0 0 14px;font-size:16px}.manual-submit-bar{background:color-mix(in srgb, var(--color-surface) 88%, transparent);-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);border:1px solid var(--color-border);box-shadow:var(--shadow-card);border-radius:20px;justify-content:flex-end;padding:14px;display:flex;position:static;bottom:16px}@media (width<=1280px){.manual-form-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (width<=720px){.manual-form-grid,.manual-form-grid-two{grid-template-columns:1fr}.manual-trip-card-header{flex-direction:column;align-items:stretch}.manual-submit-bar{justify-content:stretch}.manual-submit-bar .primary-button{width:100%}}.archive-filters-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;display:grid}.archive-shifts-table{min-width:1650px}@media (width<=1100px){.archive-filters-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (width<=720px){.archive-filters-grid{grid-template-columns:1fr}}.table-actions{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.table-actions .small-button{text-decoration:none}.actions-cell{position:relative;overflow:visible}.row-action-dropdown{z-index:5;width:132px;display:inline-flex;position:relative}.row-action-trigger{white-space:nowrap;justify-content:center;gap:6px;width:100%}.row-action-trigger-icon{font-size:11px;transition:transform .16s}.row-action-dropdown.is-open .row-action-trigger-icon{transform:rotate(180deg)}.row-action-menu{z-index:100;background:var(--color-surface);border:1px solid var(--color-border);border-radius:16px;gap:6px;min-width:178px;padding:8px;animation:.14s both actionMenuFade;display:grid;position:absolute;top:calc(100% + 8px);right:0;box-shadow:0 18px 45px #0f172a2e}.row-action-menu:before{content:"";background:var(--color-surface);border-left:1px solid var(--color-border);border-top:1px solid var(--color-border);width:10px;height:10px;position:absolute;top:-6px;right:22px;transform:rotate(45deg)}.row-action-menu-item{z-index:1;width:100%;color:var(--color-text);font:inherit;text-align:left;cursor:pointer;background:0 0;border:0;border-radius:12px;align-items:center;gap:9px;padding:10px 12px;font-size:14px;text-decoration:none;transition:background .16s,color .16s,transform .12s;display:flex;position:relative}.row-action-menu-item:hover{transform:translateY(-1px)}.row-action-menu-item:active{transform:scale(.98)}.row-action-menu-item.edit{color:#b45309}.row-action-menu-item.edit:hover{color:#92400e;background:#f59e0b24}.row-action-menu-item.danger{color:var(--color-danger,#dc2626)}.row-action-menu-item.danger:hover{background:color-mix(in srgb, var(--color-danger,#dc2626) 12%, transparent);color:#b91c1c}.row-action-menu-item:disabled{opacity:.6;cursor:not-allowed;transform:none}.row-action-dot{opacity:.75;background:currentColor;border-radius:999px;flex:none;width:8px;height:8px}@keyframes actionMenuFade{0%{opacity:0;transform:translateY(-4px)scale(.98)}to{opacity:1;transform:translateY(0)scale(1)}}.data-table tbody tr{z-index:1;position:relative}.data-table tbody tr:has(.row-action-dropdown.is-open){z-index:200}.actions-cell{z-index:2;position:relative;overflow:visible}.actions-cell:has(.row-action-dropdown.is-open){z-index:300}.row-action-dropdown.is-open{z-index:400}.row-action-menu{z-index:9999}.row-action-dropdown:not(.is-open){z-index:1}.modal-backdrop{z-index:1000;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);background:#0f172a6b;place-items:center;width:calc(100% + 64px);height:100dvh;padding:20px;animation:.14s both cardFadeIn;display:grid;position:fixed;inset:-32px 0 0 -32px}.modal-card{background:var(--color-surface);border:1px solid var(--color-border);border-radius:24px;gap:16px;width:min(520px,100%);padding:22px;display:grid;box-shadow:0 24px 70px #0f172a4d}.modal-card h2{margin:0;font-size:22px}.modal-text{color:var(--color-text-muted);margin:0}.modal-actions{justify-content:flex-end;gap:10px;display:flex}.danger-primary-button{background:var(--color-danger,#dc2626)}.danger-primary-button:hover{background:#b91c1c}.field textarea{resize:vertical;border:1px solid var(--color-border);background:var(--color-surface);width:100%;min-height:96px;color:var(--color-text);font:inherit;border-radius:14px;padding:12px 14px;transition:border-color .16s,box-shadow .16s}.field textarea:focus{border-color:var(--color-primary);box-shadow:0 0 0 3px color-mix(in srgb, var(--color-primary) 18%, transparent);outline:none}@media (width<=640px){.modal-actions{flex-direction:column-reverse}.modal-actions button{width:100%}}.action-logs-filters-grid{grid-template-columns:repeat(5,minmax(0,1fr));gap:16px;display:grid}.action-logs-table{min-width:1000px}.action-badge{white-space:nowrap;background:var(--color-surface-muted);color:var(--color-text);border-radius:999px;align-items:center;padding:5px 10px;font-size:13px;font-weight:700;display:inline-flex}.action-CREATE_SHIFT{color:#15803d;background:#22c55e24}.action-UPDATE_SHIFT{color:#b45309;background:#f59e0b29}.action-DELETE_SHIFT{color:#dc2626;background:#dc262624}.action-RESTORE_SHIFT{color:#2563eb;background:#2563eb24}.action-CREATE_DUTY_POST,.action-CREATE_POST_DUTY{color:#15803d;background:#22c55e24}.action-UPDATE_DUTY_POST,.action-UPDATE_POST_DUTY{color:#b45309;background:#f59e0b29}.action-DELETE_DUTY_POST,.action-DELETE_POST_DUTY{color:#dc2626;background:#dc262624}.action-RESTORE_DUTY_POST,.action-RESTORE_POST_DUTY{color:#2563eb;background:#2563eb24}@media (width<=1200px){.action-logs-filters-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (width<=720px){.action-logs-filters-grid{grid-template-columns:1fr}}.form-title-row{justify-content:space-between;align-items:center;gap:12px;margin-bottom:18px;display:flex}.form-title-row h2{margin:0}.city-checkbox-list{border:1px solid var(--color-border);background:var(--color-surface-muted);border-radius:16px;gap:8px;max-height:240px;padding:10px;display:grid;overflow:auto}.city-checkbox{cursor:pointer;border-radius:12px;align-items:center;gap:9px;padding:9px 10px;transition:background .16s,transform .12s;display:flex}.city-checkbox:hover{background:var(--color-surface)}.city-checkbox:active{transform:scale(.99)}.role-help-card{background:var(--color-surface-muted);border:1px solid var(--color-border);border-radius:16px;gap:4px;margin-bottom:16px;padding:14px;display:grid}.role-help-card span{color:var(--color-text-muted);font-size:14px}.admin-active-checkbox{margin-bottom:16px}.admin-users-filters{grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin-bottom:14px;display:grid}.admin-users-archive-filter{align-self:end;min-height:44px}.admin-users-table{min-width:1050px}.role-badge{white-space:nowrap;background:var(--color-surface-muted);color:var(--color-text);border-radius:999px;align-items:center;padding:5px 10px;font-size:13px;font-weight:700;display:inline-flex}.role-super_admin{color:#2563eb;background:#2563eb24}.role-admin{color:#b45309;background:#f59e0b29}.role-viewer{color:#475569;background:#64748b29}.city-pill-list{flex-wrap:wrap;gap:6px;display:flex}.city-pill{background:var(--color-surface-muted);color:var(--color-text);border-radius:999px;align-items:center;padding:5px 9px;font-size:13px;font-weight:600;display:inline-flex}@media (width<=1280px){.admin-users-grid{grid-template-columns:1fr}.admin-users-filters{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (width<=720px){.admin-users-filters{grid-template-columns:1fr}}.duty-members-list{gap:12px;margin-bottom:12px;display:grid}.duty-member-card{border:1px solid var(--color-border);background:var(--color-surface-muted);border-radius:16px;gap:10px;padding:12px;display:grid}.duty-member-flags{flex-wrap:wrap;gap:12px;display:flex}.post-duty-members-view{gap:4px;display:grid}.post-duty-member-line{color:var(--color-text);font-size:13px}@media (width<=900px){.duty-member-flags{display:grid}.page-header h1{text-align:right}.page-header{width:100%}}.sidebar{z-index:30;transition:transform .22s,opacity .22s}.admin-shell-sidebar-closed .main-content{margin-left:0}.sidebar-toggle-button{z-index:45;border:1px solid var(--color-border);background:var(--color-surface);width:38px;height:38px;color:var(--color-text);box-shadow:var(--shadow-sm);cursor:pointer;border-radius:999px;place-items:center;font-size:20px;line-height:1;transition:left .22s,background .15s,transform .15s;display:grid;position:fixed;top:18px;left:18px}.sidebar-toggle-button:hover{background:var(--color-surface-muted);transform:translateY(-1px)}.nav-group .nav-submenu{opacity:0;gap:4px;max-height:0;padding-left:8px;transition:max-height .22s,opacity .18s;display:grid;overflow:hidden}@media (width<=900px){.admin-shell-sidebar-open .sidebar-toggle-button{left:18px}.admin-shell-sidebar-open .sidebar{opacity:1;pointer-events:auto;transform:translate(0)}.admin-shell-sidebar-closed .sidebar{transform:translate(-100%)}.admin-shell-sidebar-open .main-content,.admin-shell-sidebar-closed .main-content{margin-left:0}}.admin-shell .sidebar{will-change:transform;animation:none!important}.admin-shell-sidebar-open .sidebar{opacity:1;pointer-events:auto;transform:translate(0)!important}.admin-shell-sidebar-closed .sidebar{opacity:0;pointer-events:none;transform:translate(calc(-100% - 24px))!important}.admin-shell{grid-template-columns:280px minmax(0,1fr);transition:grid-template-columns .22s}.admin-shell-sidebar-closed{grid-template-columns:64px minmax(0,1fr)!important}.admin-shell .sidebar{pointer-events:auto;width:100%;min-width:0;transition:width .22s,padding .22s;position:relative;overflow:hidden;opacity:1!important;animation:none!important;transform:none!important}.admin-shell-sidebar-open .sidebar{padding:24px}.admin-shell-sidebar-closed .sidebar{padding:70px 10px 14px}.admin-shell-sidebar-closed .sidebar-logo,.admin-shell-sidebar-closed .sidebar-nav,.admin-shell-sidebar-closed .logout-button{opacity:0;pointer-events:none;transform:translate(-12px)}.sidebar-logo,.sidebar-nav,.logout-button{transition:opacity .16s,transform .16s}.main-content{width:100%;min-width:0}.admin-shell-sidebar-closed .main-content{width:100%;margin-left:0!important}.sidebar-toggle-button{z-index:45;border:1px solid var(--color-sidebar-border);background:var(--color-sidebar-bg);width:38px;height:38px;color:var(--color-text-inverse);box-shadow:var(--shadow-soft);cursor:pointer;border-radius:999px;place-items:center;font-size:20px;line-height:1;transition:left .22s,background .16s,transform .16s,border-color .16s;display:grid;position:fixed;top:18px}.admin-shell-sidebar-open .sidebar-toggle-button{left:235px}.admin-shell-sidebar-closed .sidebar-toggle-button{left:13px}.sidebar-toggle-button:hover{background:var(--color-brand-hover);border-color:var(--color-sidebar-border-hover);transform:translateY(-1px)}.nav-group{gap:6px;display:grid}.nav-group-trigger{width:100%;color:var(--color-sidebar-link);font:inherit;cursor:pointer;text-align:left;background:0 0;border:0;border-radius:14px;justify-content:space-between;align-items:center;padding:11px 12px;font-weight:700;transition:background .16s,color .16s;display:flex}.nav-group-trigger:hover,.nav-group-trigger-active{background:var(--color-sidebar-hover);color:var(--color-text-inverse)}.nav-group .nav-submenu{opacity:0;border-left:1px solid var(--color-sidebar-border);gap:4px;max-height:0;margin-left:12px;padding-left:12px;transition:max-height .22s,opacity .18s;display:grid;overflow:hidden}.nav-group-open .nav-submenu{opacity:1;max-height:520px}.nav-sublink{padding-left:12px}.nav-chevron{opacity:.75;font-size:12px}@media (width<=900px){.admin-shell,.admin-shell-sidebar-open,.admin-shell-sidebar-closed{grid-template-columns:1fr!important}.sidebar{z-index:40;max-width:calc(100vw - 64px);inset:0 auto 0 0;width:280px!important;position:fixed!important}.admin-shell-sidebar-open .sidebar{transform:translate(0)!important}.admin-shell-sidebar-closed .sidebar{transform:translate(-100%)!important}.admin-shell-sidebar-open .sidebar-toggle-button{left:218px}.admin-shell-sidebar-closed .sidebar-toggle-button{background:var(--color-surface);color:var(--color-text);border-color:var(--color-border);left:18px}}.dashboard-toolbar{justify-content:space-between;align-items:center;gap:16px;margin-bottom:20px;display:flex}@media (width<=1100px){.dashboard-toolbar{flex-direction:column;align-items:stretch}.dashboard-grid{grid-template-columns:1fr}}@media (width<=640px){.dashboard-period-buttons{grid-template-columns:1fr;display:grid}}.dashboard-toolbar{gap:18px;margin-bottom:20px;display:grid}.dashboard-toolbar-main{justify-content:space-between;align-items:center;gap:16px;display:flex}.dashboard-toolbar h2{margin:0}.dashboard-toolbar p{color:var(--color-text-muted);margin:6px 0 0;font-size:14px}.dashboard-period-buttons{flex-wrap:wrap;gap:10px;display:flex}.dashboard-custom-period{border-top:1px solid var(--color-border);grid-template-columns:repeat(2,minmax(180px,220px)) auto;align-items:end;gap:12px;padding-top:16px;display:grid}.dashboard-custom-period .field{margin-bottom:0}.dashboard-custom-period button{white-space:nowrap;min-height:44px}.dashboard-stats-grid{margin-bottom:20px}.stat-card small{color:var(--color-text-muted);margin-top:8px;font-size:13px;line-height:1.35;display:block}.dashboard-grid{grid-template-columns:minmax(0,1.2fr) minmax(380px,.8fr);align-items:start;gap:20px;display:grid}.dashboard-insights-card{overflow:hidden}.dashboard-insights-list{gap:14px;display:grid}.dashboard-insight-card{background:var(--color-surface-muted);border:1px solid var(--color-border);border-radius:18px;gap:14px;padding:16px;display:grid}.dashboard-insight-head{justify-content:space-between;align-items:flex-start;gap:12px;display:flex}.dashboard-insight-head strong{font-size:15px;line-height:1.25}.dashboard-insight-head span{text-align:right;max-width:150px;color:var(--color-text-muted);flex:none;font-size:12px;line-height:1.25}.dashboard-metric-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;display:grid}.dashboard-metric{background:var(--color-surface);border:1px solid var(--color-border);border-radius:16px;align-content:space-between;gap:10px;min-height:86px;padding:12px;display:grid}.dashboard-metric span{min-height:34px;color:var(--color-text-muted);font-size:13px;line-height:1.25}.dashboard-metric strong{letter-spacing:-.03em;font-size:24px;line-height:1}.dashboard-metric-wide{grid-column:span 3;min-height:74px}@media (width<=1100px){.dashboard-toolbar-main{flex-direction:column;align-items:stretch}.dashboard-custom-period{grid-template-columns:1fr 1fr}.dashboard-custom-period button{grid-column:span 2}.dashboard-grid{grid-template-columns:1fr}}@media (width<=640px){.dashboard-period-buttons{grid-template-columns:1fr;display:grid}.dashboard-custom-period{grid-template-columns:1fr}.dashboard-custom-period button{grid-column:auto}.dashboard-metric-grid{grid-template-columns:1fr}.dashboard-metric-wide{grid-column:auto}.dashboard-insight-head{display:grid}.dashboard-insight-head span{text-align:left;max-width:none}}.accordion-section{border:1px solid var(--color-border);background:var(--color-surface-muted);border-radius:18px;gap:0;margin-bottom:14px;display:grid;overflow:hidden}.accordion-section-trigger{width:100%;color:var(--color-text);cursor:pointer;text-align:left;background:0 0;border:0;justify-content:space-between;align-items:center;gap:14px;padding:14px 16px;transition:background .16s,color .16s;display:flex}.accordion-section-trigger:hover{background:var(--color-surface)}.accordion-section-trigger>span:first-child{gap:4px;display:grid}.accordion-section-trigger strong{font-size:15px}.accordion-section-trigger small{color:var(--color-text-muted);font-size:13px;line-height:1.35}.accordion-section-icon{background:var(--color-surface);border:1px solid var(--color-border);border-radius:999px;flex:none;place-items:center;width:28px;height:28px;font-size:18px;font-weight:800;line-height:1;display:grid}.accordion-section-content{border-top:1px solid var(--color-border);background:var(--color-surface);padding:16px;animation:.16s both cardFadeIn}.accordion-section-content>.field:last-child,.accordion-section-content>.role-help-card:last-child{margin-bottom:0}.accordion-section-content .report-filter-actions{margin-top:0}@media (width<=640px){.accordion-section-trigger{align-items:flex-start}}.panel-card>.accordion-section,.accordion-section-content>.accordion-section:last-child,.table-card>.accordion-section{margin-bottom:0}.content-grid,.content-grid>*,.panel-card,.table-card,.accordion-section,.accordion-section-content{min-width:0}.table-card>.accordion-section{max-width:100%}.table-card .accordion-section-content{max-width:100%;overflow:hidden}.table-card .table-wrap{width:100%;max-width:100%;overflow:auto visible}.post-duties-table{min-width:1120px}.post-duties-table th,.post-duties-table td{white-space:nowrap}.post-duties-table td:nth-child(7),.post-duties-table td:nth-child(8){white-space:normal;min-width:220px}@media (width<=900px){.post-duties-table{min-width:980px}.table-card .accordion-section-content{padding:12px}}.center{justify-content:center}.row-action-menu-portal{overscroll-behavior:contain;min-width:208px;max-width:min(260px,100vw - 24px);max-height:min(340px,100vh - 24px);overflow-y:auto;z-index:999999!important;position:fixed!important;right:auto!important}.row-action-menu-portal:before{display:none}.row-action-menu-portal .row-action-menu-item{white-space:normal}.report-filters,.custom-report-table-card,.custom-report-charts-card,.custom-chart-card{min-width:0}.custom-report-table-card,.custom-report-charts-card{padding:14px}.custom-report-table-card>.accordion-section,.custom-report-charts-card>.accordion-section,.custom-report-section>.accordion-section{margin-bottom:0}.custom-report-toolbar{border:1px solid var(--color-border);background:var(--color-surface-muted);border-radius:16px;justify-content:space-between;align-items:center;gap:16px;margin-bottom:18px;padding:14px;display:flex}.custom-report-toolbar>div,.custom-report-section-header>div{gap:4px;min-width:0;display:grid}.custom-report-toolbar span,.custom-report-section-header span{color:var(--color-text-muted);font-size:14px;line-height:1.4}.custom-report-filter-grid{grid-template-columns:repeat(4,minmax(160px,1fr));align-items:end;gap:14px;display:grid}.custom-report-section{border:1px solid var(--color-border);background:var(--color-surface-muted);border-radius:18px;min-width:0;margin-top:18px;padding:16px}.custom-report-section h3{margin:0 0 12px}.custom-report-section-header{justify-content:space-between;align-items:center;gap:16px;margin-bottom:14px;display:flex}.custom-report-section-header .table-header-actions{justify-content:flex-end}.custom-checkbox-grid{grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:12px;display:grid}.custom-checkbox-card{border:1px solid var(--color-border);background:var(--color-surface);cursor:pointer;min-width:0;transition:border-color var(--transition-base), background-color var(--transition-base), transform var(--transition-fast);border-radius:16px;align-items:flex-start;gap:10px;padding:12px;display:flex}.custom-checkbox-card input{flex:none;margin-top:3px}.custom-checkbox-card span{gap:4px;min-width:0;display:grid}.custom-checkbox-card strong,.custom-checkbox-card small{overflow-wrap:anywhere;min-width:0}.custom-checkbox-card small{color:var(--color-text-muted);line-height:1.35}@media (hover:hover) and (pointer:fine){.custom-checkbox-card:hover{border-color:var(--color-border-strong);background:var(--color-surface-muted);transform:translateY(-1px)}}.custom-report-table{min-width:920px}.custom-report-table th:first-child{z-index:2;background:var(--color-surface-muted)}.custom-report-label-cell{min-width:300px}.custom-report-label{white-space:normal;align-items:center;gap:8px;min-height:30px;line-height:1.35;display:flex}.custom-report-label-text{overflow-wrap:anywhere;min-width:0;display:inline-block}.custom-report-level-marker,.custom-report-label-arrow{text-align:center;width:18px;color:var(--color-text-muted);flex:0 0 18px;font-weight:800;line-height:1}.custom-report-row-level-0 td:first-child,.custom-report-label-level-0{color:var(--color-text);font-weight:700}.custom-report-row-level-0{background:#0f172a06}.custom-report-label-level-1{padding-left:28px}.custom-report-row-level-1 td:first-child,.custom-report-subrow td:first-child{color:var(--color-text-muted)}.custom-report-row-level-1 .custom-report-label{border-left:2px solid #94a3b875;padding-left:12px}.custom-report-label-level-2{padding-left:54px}.custom-report-row-level-2 td{background:#f8fafc6b}.custom-report-row-level-2 td:first-child{color:var(--color-text-muted);font-size:13px}.custom-report-row-level-2 .custom-report-label{border-left:2px solid #94a3b847;padding-left:12px}.custom-report-label-level-3{padding-left:86px}.custom-report-row-level-3 td:first-child{color:var(--color-text-muted);font-size:13px}.custom-charts-grid{align-items:start}.custom-chart-card{overflow:hidden}.custom-chart-card .table-header{align-items:flex-start}.custom-bars,.alarm-comparison-list,.period-comparison-list{gap:14px;display:grid}.custom-bar-row,.alarm-metric-row,.period-metric-row{grid-template-columns:minmax(96px,160px) minmax(140px,1fr) auto;align-items:center;gap:10px;display:grid}.custom-bar-label{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.alarm-metric-row span,.period-metric-row span{color:var(--color-text-muted);font-size:13px}.custom-bar-track,.alarm-metric-track,.period-metric-track{border:1px solid var(--color-border);background:var(--color-surface);border-radius:999px;height:12px;overflow:hidden}.custom-bar-track{background:var(--color-surface-muted)}.custom-bar-fill,.alarm-metric-fill,.period-metric-fill{border-radius:999px;min-width:3px;height:100%;display:block}.custom-bar-fill{opacity:.35;background:currentColor}.alarm-comparison-card,.period-comparison-card{border:1px solid var(--color-border);background:var(--color-surface-muted);border-radius:16px;gap:12px;min-width:0;padding:14px;display:grid}.alarm-comparison-metrics{gap:8px;display:grid}.alarm-metric-total,.period-main{background:#2563eb}.alarm-metric-false{background:#f59e0b}.alarm-metric-combat{background:#dc2626}.alarm-metric-additional{background:#7c3aed}.period-compare{background:#64748b}.period-comparison-title{justify-content:space-between;align-items:center;gap:12px;display:flex}.positive-diff{color:#15803d;font-weight:700}.negative-diff{color:#dc2626;font-weight:700}@media (width<=1180px){.custom-report-filter-grid{grid-template-columns:repeat(2,minmax(180px,1fr))}.custom-charts-grid{grid-template-columns:1fr}}@media (width<=720px){.custom-report-toolbar,.custom-report-section-header,.period-comparison-title{flex-direction:column;align-items:stretch}.custom-report-toolbar .primary-button,.custom-report-section-header .secondary-button,.custom-report-section-header .table-header-actions{width:100%}.custom-report-section-header .table-header-actions{grid-template-columns:1fr;display:grid}.custom-report-filter-grid,.custom-checkbox-grid{grid-template-columns:1fr}.custom-report-section,.custom-report-table-card,.custom-report-charts-card{padding:12px}.custom-report-table{min-width:760px}.custom-report-table th:first-child,.custom-report-table td:first-child,.custom-report-label-cell{min-width:230px}.custom-report-label-level-1{padding-left:18px}.custom-report-label-level-2{padding-left:42px}.custom-report-label-level-3{padding-left:58px}.custom-bar-row,.alarm-metric-row,.period-metric-row{grid-template-columns:1fr}.custom-bar-label{white-space:normal}}@media (width<=420px){.custom-report-table{min-width:680px}.custom-report-table th:first-child,.custom-report-table td:first-child,.custom-report-label-cell{min-width:210px}.custom-report-label{gap:6px}.custom-report-level-marker,.custom-report-label-arrow{flex-basis:14px;width:14px}}.notification-create-card{gap:18px;display:grid}.notification-form-grid{grid-template-columns:minmax(220px,360px) minmax(180px,260px);align-items:end;gap:16px;display:grid}.notification-selected-card{background:var(--color-surface-muted);border:1px solid var(--color-border);border-radius:16px;gap:4px;min-height:72px;padding:12px 14px;display:grid}.notification-selected-card span,.notification-selected-card small{color:var(--color-text-muted);font-size:13px}.notification-selected-card strong{font-size:24px;line-height:1}.notification-users-panel{background:var(--color-surface-muted);border:1px solid var(--color-border);border-radius:18px;padding:16px}.notification-user-grid{grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:12px;display:grid}.notification-user-card{background:var(--color-surface);border:1px solid var(--color-border);cursor:pointer;border-radius:16px;align-items:flex-start;gap:10px;padding:12px;display:flex}.notification-user-card input{flex-shrink:0;width:18px;height:18px;margin-top:2px}.notification-user-card span{gap:4px;display:grid}.notification-user-card small{color:var(--color-text-muted);font-size:13px}.notification-submit-bar{justify-content:flex-end}.notifications-filters-grid{grid-template-columns:repeat(5,minmax(160px,1fr));gap:14px;display:grid}.clickable-row{cursor:pointer}.notification-message-cell{text-overflow:ellipsis;white-space:nowrap;max-width:320px;overflow:hidden}.notification-details-modal{width:min(860px,100%);max-height:calc(100vh - 64px);overflow:auto}.notification-detail-message{background:var(--color-surface-muted);border:1px solid var(--color-border);white-space:pre-wrap;border-radius:16px;padding:14px;line-height:1.45}.notification-detail-grid{border:1px solid var(--color-border);border-radius:16px;grid-template-columns:160px 1fr;gap:10px 14px;padding:14px;display:grid}.notification-detail-grid span{color:var(--color-text-muted)}.notification-recipient-list{gap:12px;display:grid}.notification-recipient-card{background:var(--color-surface-muted);border:1px solid var(--color-border);border-radius:16px;grid-template-columns:minmax(160px,220px) 1fr;gap:14px;padding:14px;display:grid}.notification-recipient-card>div:first-child{align-content:start;gap:4px;display:grid}.notification-recipient-card span{color:var(--color-text-muted);font-size:13px}.notification-recipient-timeline{gap:6px;display:grid}.notification-recipient-timeline p{background:var(--color-surface);border:1px solid var(--color-border);border-radius:12px;margin:6px 0 0;padding:10px}@media (width<=1100px){.notifications-filters-grid{grid-template-columns:repeat(2,minmax(160px,1fr))}}@media (width<=720px){.notification-form-grid,.notifications-filters-grid,.notification-recipient-card,.notification-detail-grid{grid-template-columns:1fr}.notification-submit-bar{justify-content:stretch}.notification-submit-bar .primary-button{width:100%}.notification-details-modal{max-height:calc(100vh - 24px)}}.notification-status-sent{color:#475569;background:#64748b24;box-shadow:inset 0 0 0 1px #64748b1f}.notification-status-delivered{color:#2563eb;background:#2563eb24;box-shadow:inset 0 0 0 1px #2563eb1f}.notification-status-read{color:#b45309;background:#f59e0b29;box-shadow:inset 0 0 0 1px #f59e0b24}.notification-status-replied{color:#15803d;background:#22c55e24;box-shadow:inset 0 0 0 1px #22c55e1f}.notification-recipient-person{align-content:start;gap:6px;display:grid}.notification-recipient-status{width:fit-content;margin-top:4px}.notification-recipient-timeline{gap:10px;display:grid;position:relative}.notification-timeline-item{color:var(--color-text-muted);grid-template-columns:18px minmax(0,1fr);align-items:start;gap:10px;display:grid;position:relative}.notification-timeline-item:before{content:"";background:var(--color-border);width:2px;position:absolute;top:18px;bottom:-12px;left:8px}.notification-timeline-item:last-of-type:before{display:none}.notification-timeline-dot{background:var(--color-surface);border:2px solid var(--color-border-strong);width:18px;height:18px;box-shadow:0 0 0 3px var(--color-surface-muted);border-radius:999px;margin-top:1px}.notification-timeline-item-active{color:var(--color-text)}.notification-timeline-item-active .notification-timeline-dot{background:#2563eb;border-color:#2563eb}.notification-timeline-item strong{margin-bottom:2px;font-size:13px;display:block}.notification-timeline-item span{color:var(--color-text-muted);font-size:13px}.notification-reply-text{background:var(--color-surface);border:1px solid var(--color-border);color:var(--color-text);white-space:pre-wrap;border-radius:14px;margin:4px 0 0;padding:12px;line-height:1.45}.notifications-table{min-width:1280px}@media (width<=720px){.notification-recipient-timeline{gap:12px}.notification-timeline-item{grid-template-columns:16px minmax(0,1fr)}.notification-timeline-dot{width:16px;height:16px}.notification-timeline-item:before{left:7px}}tr td:first-child,tr th:first-child{text-align:left}.data-table th{color:var(--color-text-label);letter-spacing:.04em;text-transform:uppercase;background:linear-gradient(to bottom, var(--color-surface-muted), #f3f4f6);border-bottom:1px solid var(--color-border-strong);white-space:nowrap;font-size:12px;font-weight:800;line-height:1.25}.data-table thead th{border-top:1px solid var(--color-border)}@media (hover:hover) and (pointer:fine){.data-table th:hover{color:var(--color-text);background:#eef2f7}}
