:root{--bg-dark:#0f172a;--header-bg:#0f172a;--bg-card:#1e293b;--card-bg:#1e293b;--bg-card-inner:#0f172a;--input-bg:#0f172a;--bg-hover:#334155;--border-color:#334155;--text-main:#f8fafc;--text-muted:#94a3b8;--text-sub:#cbd5e1;--accent-blue:#3b82f6;--accent-blue-bg:#3b82f626;--accent-amber:#f59e0b;--accent-green:#10b981;--shadow-sm:0 4px 12px #0003}html{scrollbar-gutter:stable}body.theme-light{--bg-dark:#f8fafc;--header-bg:#fff;--bg-card:#fff;--card-bg:#fff;--bg-card-inner:#f1f5f9;--input-bg:#f8fafc;--bg-hover:#e2e8f0;--border-color:#cbd5e1;--text-main:#0f172a;--text-muted:#64748b;--text-sub:#475569;--accent-blue:#2563eb;--accent-blue-bg:#eff6ff;--accent-amber:#d97706;--accent-green:#059669;--shadow-sm:0 4px 12px #0000000d}body{background-color:var(--bg-dark);color:var(--text-main);margin:0;font-family:system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,sans-serif;transition:background-color .2s,color .2s}.calendar-workspace{box-sizing:border-box;width:100%}.calendar-workspace-toolbar{box-sizing:border-box;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:10px;width:100%;padding:2px 0 6px;display:flex}.calendar-view-switch{align-items:center;gap:6px;display:flex}.calendar-toolbar-context{align-items:center;gap:8px;display:flex}.calendar-toolbar-leading{align-items:center;gap:14px;display:flex}.calendar-toolbar-trailing{justify-content:flex-end;align-items:center;display:flex}.calendar-view-switch button:hover:not([aria-pressed=true]),.calendar-context-navigation button:hover,.calendar-toolbar-context button:hover,.calendar-quick-actions button:hover,.calendar-toolbar-trailing button:hover:not([aria-pressed=true]){color:#1d4ed8!important;background:#eff6ff!important;border-color:#93c5fd!important}.calendar-workspace button:focus-visible{outline-offset:2px;outline:3px solid #2563eb59}.agent-settings-device-grid{grid-template-columns:repeat(auto-fit,minmax(280px,420px));justify-content:start;gap:14px;display:grid}.agent-settings-field-grid{grid-template-columns:repeat(auto-fit,minmax(240px,340px));justify-content:start;gap:14px;display:grid}.agent-profile-link-row{align-items:center;gap:8px;max-width:760px;display:flex}.agent-profile-link-row input{flex:1;min-width:0}@media (width<=1100px){.calendar-workspace-toolbar{flex-direction:column;align-items:stretch;gap:8px}.calendar-toolbar-leading,.calendar-view-switch,.calendar-toolbar-context,.calendar-toolbar-trailing{width:100%;justify-content:center!important}}@media (width<=760px){.calendar-workspace{padding-inline:10px!important}.calendar-workspace-toolbar>*{width:100%}.calendar-view-switch button{flex:1;justify-content:center}.calendar-list-filterbar{flex-direction:column;align-items:stretch!important}.calendar-list-filterbar>div{grid-template-columns:repeat(2,minmax(0,1fr))!important}.agent-settings-device-grid,.agent-settings-field-grid{grid-template-columns:minmax(0,1fr)}.agent-profile-link-row{flex-direction:column;align-items:stretch}}::-webkit-scrollbar{width:6px;height:6px}::-webkit-scrollbar-track{background:var(--bg-dark)}::-webkit-scrollbar-thumb{background:var(--border-color);border-radius:3px}::-webkit-scrollbar-thumb:hover{background:var(--text-muted)}@media print{body{color:#000!important;background-color:#fff!important}header,nav,.no-print,button,.header-nav{display:none!important}.print-only{display:block!important}.printable-finance-modal{width:100%!important;max-width:100%!important;box-shadow:none!important;color:#000!important;background:#fff!important;border:none!important;margin:0!important;padding:0!important;position:static!important}}
