:root{--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;--bg:#f5f7f9;--surface:#fff;--surface-2:#eef3f7;--ink:#14212b;--muted:#60707f;--line:#dce4eb;--primary:#0f766e;--primary-strong:#115e59;--accent:#2563eb;--warning:#b45309;--danger:#b91c1c;--success:#15803d;--shadow:0 18px 45px #2030421a;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}*{box-sizing:border-box}body{background:var(--bg);min-width:320px;color:var(--ink);margin:0}button,input,select,textarea{font:inherit}button{cursor:pointer}button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline-offset:2px;outline:3px solid #2563eb47}.app-shell{min-height:100dvh;padding-left:env(safe-area-inset-left,0px);padding-right:env(safe-area-inset-right,0px);grid-template-columns:248px minmax(0,1fr) 360px;display:grid}.sidebar{height:100dvh;padding:24px;padding-left:max(24px, env(safe-area-inset-left));color:#f8fafc;background:#102029;flex-direction:column;gap:28px;display:flex;position:sticky;top:0}.brand{align-items:center;gap:12px;display:flex}.brand-logo-frame{background:#fff;border-radius:50%;flex:0 0 80px;justify-content:center;align-items:center;width:80px;height:80px;display:flex;overflow:hidden;box-shadow:0 10px 26px #00000042}.brand-logo-frame .brand-logo,.brand-logo{object-fit:contain;width:auto;max-width:90%;height:auto;max-height:90%;display:block}.brand-mark{color:#102029;background:#2dd4bf;border-radius:8px;place-items:center;width:44px;height:44px;font-weight:800;display:grid}.brand strong,.brand span{display:block}.brand span{color:#9fb2c0;font-size:13px}.nav-list{gap:8px;display:grid}.nav-item,.ghost-button,.logout-button,.danger-button,.icon-button,.sound-toggle,.activity-actions button,.status-actions button{border:0;border-radius:8px;min-height:44px;transition:transform .18s,background .18s,border-color .18s}.nav-item{color:#c8d5df;text-align:left;background:0 0;align-items:center;gap:10px;padding:0 12px;text-decoration:none;display:flex}.nav-item.active,.nav-item:hover{color:#fff;background:#ffffff1a}.sidebar-refresh-button{color:#102029;background:#e7f6f3;border:0;border-radius:8px;justify-content:center;align-items:center;gap:8px;width:100%;min-height:44px;padding:0 12px;font-weight:800;transition:background .18s,transform .18s;display:inline-flex}.sidebar-refresh-button:hover:not(:disabled){background:#d4eee9;transform:translateY(-1px)}.sidebar-refresh-button:disabled{cursor:wait;opacity:.72}.sidebar-refresh-button>span{display:inline}.sidebar-note{color:#c8d5df;border:1px solid #ffffff1f;border-radius:8px;gap:10px;margin-top:0;padding:14px;font-size:14px;line-height:1.45;display:grid}.session-card{background:#ffffff0f;border:1px solid #ffffff24;border-radius:8px;gap:12px;margin-top:auto;padding:14px;display:grid}.session-user{align-items:center;gap:10px;min-width:0;display:flex}.session-user>div{min-width:0}.session-user strong,.session-user span{text-overflow:ellipsis;white-space:nowrap;min-width:0;display:block;overflow:hidden}.session-user span{color:#9fb2c0;font-size:12px;font-weight:800}.sidebar-logout-button{color:#102029;background:#e7f6f3;border:0;border-radius:8px;justify-content:center;align-items:center;gap:8px;min-height:44px;padding:0 12px;font-weight:800;display:inline-flex}.workspace{min-width:0;padding:24px}.field-with-action{grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:6px;display:grid}.textarea-action{align-items:start}.voice-button{min-width:38px;padding:0 8px}.spin{animation:.9s linear infinite spin}@keyframes spin{to{transform:rotate(360deg)}}.topbar{justify-content:space-between;align-items:center;gap:16px;margin-bottom:18px;display:flex}.section-label{color:var(--primary);text-transform:uppercase;margin:0 0 4px;font-size:12px;font-weight:800}h1,h2{letter-spacing:0;margin:0}h1{text-transform:capitalize;font-size:clamp(28px,4vw,42px);line-height:1.08}h2{font-size:18px}.topbar-actions,.filter-bar,.activity-meta,.activity-actions,.status-actions,.alarm-row{align-items:center;gap:10px;display:flex}.user-chip{border:1px solid var(--line);background:var(--surface);border-radius:8px;grid-template-columns:auto 1fr;align-items:center;column-gap:8px;max-width:240px;min-height:44px;padding:7px 10px;display:grid}.user-chip span,.user-chip strong{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.user-chip strong{color:var(--muted);grid-column:2;font-size:12px}.searchbox{border:1px solid var(--line);background:var(--surface);border-radius:8px;align-items:center;gap:8px;width:min(360px,35vw);min-height:44px;padding:0 12px;display:flex}.searchbox input{background:0 0;border:0;outline:0;width:100%}.date-input,select,input,textarea{border:1px solid var(--line);background:var(--surface);min-height:44px;color:var(--ink);border-radius:8px}input,select,textarea{padding:0 12px}textarea{resize:vertical;padding-top:10px}.icon-button{background:var(--surface);border:1px solid var(--line);width:44px;color:var(--ink);place-items:center;display:grid}.logout-button,.danger-button{border:1px solid var(--line);background:var(--surface);min-width:max-content;color:var(--ink);justify-content:center;align-items:center;gap:8px;padding:0 14px;font-weight:800;display:inline-flex}.logout-button{color:#334454}.danger-button{color:var(--danger);background:#fee2e2;border-color:#fecaca}.danger-button:disabled{cursor:not-allowed;opacity:.55}.week-strip{grid-template-columns:repeat(7,minmax(0,1fr));gap:10px;margin-bottom:16px;display:grid}.day-chip{border:1px solid var(--line);background:var(--surface);min-height:54px;color:var(--muted);border-radius:8px;justify-content:space-between;align-items:center;padding:0 12px;display:flex}.day-chip.selected{border-color:var(--primary);color:var(--primary-strong);background:#e7f6f3}.metrics{grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-bottom:16px;display:grid}.metric{border:1px solid var(--line);background:var(--surface);box-shadow:var(--shadow);border-radius:8px;padding:16px}.metric span,.metric small{color:var(--muted);display:block}.metric strong{margin:6px 0 2px;font-size:26px;display:block}.status-banner{color:#e8f5f4;background:#112f3c;border-radius:8px;justify-content:space-between;align-items:center;gap:18px;margin-bottom:16px;padding:16px;display:flex}.status-banner span,.status-banner strong{display:block}.status-banner span{color:#7dd3fc;font-weight:700}.status-banner p{color:#c9dce5;max-width:680px;margin:0;line-height:1.45}.filter-bar{border:1px solid var(--line);background:var(--surface);border-radius:8px;justify-content:space-between;margin-bottom:16px;padding:12px}.filter-title{color:var(--muted);align-items:center;gap:8px;margin-right:auto;font-weight:700;display:flex}.planner-grid{grid-template-columns:minmax(0,1fr) 380px;align-items:start;gap:16px;display:grid}.view-panel{border:1px solid var(--line);background:var(--surface);box-shadow:var(--shadow);border-radius:8px;gap:16px;padding:16px;display:grid}.view-heading{justify-content:space-between;align-items:flex-start;gap:16px;display:flex}.view-heading>strong{color:var(--primary-strong);background:#e7f6f3;border-radius:8px;padding:8px 10px;font-size:13px}.activity-table{border:1px solid var(--line);border-radius:8px;display:grid;overflow:hidden}.activity-table-row{border:0;border-bottom:1px solid var(--line);background:var(--surface);width:100%;min-height:62px;color:var(--ink);text-align:left;grid-template-columns:150px minmax(220px,1.4fr) minmax(130px,.8fr) 130px 120px;align-items:center;gap:12px;padding:10px 12px;display:grid}.activity-table-row:last-child{border-bottom:0}.activity-table-row.header{background:var(--surface-2);min-height:46px;color:var(--muted);text-transform:uppercase;font-size:12px;font-weight:800}.activity-table-row:not(.header):hover,.activity-table-row.selected{background:#f2fbf9}.activity-table-row strong,.activity-table-row span,.activity-table-row small{min-width:0}.activity-table-row small{color:var(--muted);margin-top:3px;font-size:12px;display:block}.activity-table-row em{font-style:normal}.mini-progress{background:#e8eef3;border-radius:999px;width:100%;height:8px;overflow:hidden}.mini-progress i{border-radius:inherit;background:linear-gradient(90deg, var(--primary), #38bdf8);height:100%;display:block}.quick-actions{flex-wrap:wrap;gap:10px;display:flex}.quick-actions button{color:#203242;background:#eef4f7;border:0;border-radius:8px;justify-content:center;align-items:center;gap:7px;min-height:44px;padding:0 12px;font-weight:700;display:inline-flex}.alarm-summary{border:1px solid var(--line);background:#f5f8fa;border-radius:8px;align-items:center;gap:12px;padding:14px;display:flex}.alarm-summary.active{background:#fff7ed;border-color:#f59e0b}.alarm-summary strong,.alarm-summary span{display:block}.alarm-summary span{color:var(--muted);font-size:13px}.alarm-list{gap:10px;display:grid}.alarm-card{border:1px solid var(--line);background:#fbfcfd;border-radius:8px;justify-content:space-between;align-items:center;gap:14px;padding:13px;display:flex}.alarm-card span,.alarm-card small{color:var(--muted);font-size:12px;display:block}.alarm-card strong{margin:4px 0;display:block}.alarm-card em{color:var(--primary-strong);background:#e7f6f3;border-radius:999px;flex:none;padding:7px 9px;font-size:12px;font-style:normal;font-weight:800}.report-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;display:grid}.report-card,.chart-panel{border:1px solid var(--line);background:#fbfcfd;border-radius:8px;padding:14px}.report-card span,.report-card small{color:var(--muted);display:block}.report-card strong{margin:6px 0 2px;font-size:30px;display:block}.chart-panel{gap:10px;display:grid}.chart-panel h3{margin:0;font-size:16px}.bar-row{grid-template-columns:150px minmax(0,1fr) 42px;align-items:center;gap:10px;display:grid}.bar-row span{min-width:0;color:var(--muted)}.bar-row div{background:#e8eef3;border-radius:999px;height:12px;overflow:hidden}.bar-row i{border-radius:inherit;background:linear-gradient(90deg, var(--primary), #38bdf8);height:100%;display:block}.bar-row strong{text-align:right;font-variant-numeric:tabular-nums}.empty-state{color:var(--muted);background:#f5f8fa;border-radius:8px;margin:0;padding:14px}.administration-view{align-content:start}.subtabs{border-bottom:1px solid var(--line);gap:8px;display:flex}.subtab{min-height:44px;color:var(--muted);background:0 0;border:0;border-bottom:3px solid #0000;align-items:center;gap:8px;margin-bottom:-1px;padding:0 14px;font-weight:800;display:inline-flex}.subtab.active{border-bottom-color:var(--primary);color:var(--primary-strong)}.admin-users-layout{grid-template-columns:minmax(260px,.85fr) minmax(320px,1.15fr);align-items:start;gap:16px;display:grid}.admin-users-list,.admin-user-form-panel{border:1px solid var(--line);background:#fbfcfd;border-radius:8px;padding:16px}.admin-user-list{margin-top:0}.admin-user-form-panel{background:var(--surface)}.admin-catalogs-layout{gap:16px;display:grid}.catalogs-intro{border:1px solid var(--line);background:#fbfcfd;border-radius:8px;justify-content:space-between;gap:18px;padding:16px;display:flex}.catalogs-intro p{max-width:680px;color:var(--muted);margin:0;font-size:14px;line-height:1.5}.catalog-columns{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;display:grid}.catalog-columns.single-column{grid-template-columns:minmax(0,1fr);max-width:680px}.catalog-panel{border:1px solid var(--line);background:var(--surface);border-radius:8px;gap:14px;padding:16px;display:grid}.catalog-description{color:var(--muted);margin:0;font-size:13px;line-height:1.45}.catalog-add-row{grid-template-columns:minmax(0,1fr) auto;align-items:end;gap:10px;display:grid}.catalog-list{gap:8px;display:grid}.catalog-row{border:1px solid var(--line);background:#fbfcfd;border-radius:8px;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:10px;min-height:54px;padding:8px 10px;display:grid}.catalog-row strong{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.catalog-row input{width:100%}.catalog-actions{align-items:center;gap:8px;display:inline-flex}.danger-icon{color:var(--danger);border-color:#fecaca}.active-user-toggle{color:#3e5060;width:max-content;font-size:13px;font-weight:800}.timeline-shell{border:1px solid var(--line);background:var(--surface);border-radius:8px;overflow:hidden}.timeline-row{border-bottom:1px solid var(--line);grid-template-columns:78px minmax(0,1fr);min-height:92px;display:grid}.timeline-row:last-child{border-bottom:0}.time-label{background:var(--surface-2);color:var(--muted);font-variant-numeric:tabular-nums;padding:16px 12px;font-weight:800}.time-slot{gap:10px;padding:10px;display:grid}.empty-slot{color:#9aa8b5;border:1px dashed var(--line);text-align:left;background:0 0;border-radius:8px;align-items:center;width:100%;min-height:44px;padding:0 12px;transition:background .18s,border-color .18s,color .18s;display:flex}.empty-slot:hover,.empty-slot:focus-visible{background:var(--surface-2);border-color:var(--primary);color:var(--primary-strong);outline:none}.activity-card{border:1px solid var(--line);background:#fff;border-left-width:5px;border-radius:8px;gap:9px;padding:13px;display:grid}.activity-card:hover,.activity-card.selected{border-color:#88bdb6;box-shadow:0 12px 30px #0c4a6e1c}.activity-card.critical{border-left-color:var(--danger)}.activity-card.high{border-left-color:var(--warning)}.activity-card.medium{border-left-color:var(--accent)}.activity-card.low{border-left-color:var(--success)}.activity-card-head{align-items:center;gap:8px;display:flex}.activity-card-head strong{flex:1;min-width:0}.activity-card p,.detail-description{color:var(--muted);margin:0;line-height:1.45}.priority{color:#405262;background:#eff4f8;border-radius:999px;padding:4px 8px;font-size:12px;font-weight:800}.private-badge{color:#b91c1c;letter-spacing:.02em;background:#fef2f2;border:1px solid #fecaca;border-radius:999px;align-items:center;gap:4px;padding:3px 8px;font-size:11px;font-weight:700;display:inline-flex}.privacy-row{align-items:center;margin:4px 0 12px;display:flex}.private-toggle{color:#991b1b;cursor:pointer;background:#fff5f5;border:1px solid #fed7d7;border-radius:8px;align-items:center;gap:8px;width:100%;padding:9px 12px;font-size:13px;font-weight:600;transition:background-color .15s,border-color .15s;display:inline-flex}.private-toggle:hover{background:#fee2e2;border-color:#fca5a5}.private-toggle input[type=checkbox]{accent-color:#dc2626;cursor:pointer;width:16px;height:16px}.status-dot{border-radius:999px;width:10px;height:10px}.scheduled{background:#64748b}.in_progress{background:var(--accent)}.blocked{background:var(--warning)}.done{background:var(--success)}.activity-meta{color:var(--muted);flex-wrap:wrap;font-size:13px}.activity-meta span{align-items:center;gap:5px;display:inline-flex}.progress-line,.large-progress{background:#e8eef3;border-radius:999px;height:8px;position:relative;overflow:hidden}.progress-line span,.large-progress span{border-radius:inherit;background:linear-gradient(90deg, var(--primary), #38bdf8);height:100%;display:block}.activity-actions{flex-wrap:wrap}.activity-actions button,.status-actions button,.ghost-button,.sound-toggle{color:#203242;background:#eef4f7;justify-content:center;align-items:center;gap:7px;padding:0 12px;display:inline-flex}.activity-actions button:disabled,.status-actions button:disabled{cursor:not-allowed;opacity:.56}.primary-button{background:var(--primary);color:#fff;border:0;border-radius:8px;justify-content:center;align-items:center;gap:8px;min-height:46px;font-weight:800;display:inline-flex}.form-panel,.detail-card{border:1px solid var(--line);background:var(--surface);box-shadow:var(--shadow);border-radius:8px;padding:16px}.panel-heading{justify-content:space-between;align-items:flex-start;gap:12px;margin-bottom:14px;display:flex}.activity-form,.tracking-panel,.upcoming-list{gap:12px;display:grid}.activity-form label{color:#3e5060;gap:6px;font-size:13px;font-weight:800;display:grid}.form-field-error{color:var(--danger);font-size:12px;font-weight:600}.activity-form input[aria-invalid=true],.activity-form select[aria-invalid=true]{border-color:var(--danger);box-shadow:0 0 0 3px #dc26261f}.form-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;display:grid}.alarm-row{flex-wrap:wrap;align-items:end}.checkbox-row{grid-auto-flow:column;align-items:center;min-height:44px;display:flex!important}.checkbox-row input{width:18px;min-height:auto}.tracking-panel{height:100dvh;padding:24px 20px;padding-right:max(20px, env(safe-area-inset-right));border-left:1px solid var(--line);background:#edf2f5;position:sticky;top:0;overflow:auto}.status-pill{color:#fff;white-space:nowrap;border-radius:999px;padding:7px 9px;font-size:12px;font-weight:800}.detail-list{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:16px 0;display:grid}.detail-hint{color:#115e59;background:#e7f6f3;border-radius:8px;margin:0 0 14px;padding:10px 12px;font-size:13px;font-weight:700;line-height:1.45}.detail-list div{background:#f5f8fa;border-radius:8px;padding:10px}.detail-list dt{color:var(--muted);font-size:12px}.detail-list dd{margin:4px 0 0;font-weight:800}.large-progress{height:28px;margin-bottom:14px}.large-progress strong{color:#0f2a34;place-items:center;font-size:13px;display:grid;position:absolute;inset:0}.status-actions{flex-wrap:wrap}.status-actions button{flex:130px}.status-actions .danger{color:var(--danger);background:#fee2e2}.upcoming-item{border:1px solid var(--line);background:#fbfcfd;border-radius:8px;gap:3px;padding:12px;display:grid}.upcoming-item.overdue{color:inherit;font:inherit;text-align:left;cursor:pointer;background:#fff7f7;border-color:#dc26264d}.upcoming-item.overdue:focus-visible{outline-offset:2px;outline:3px solid #dc262640}.compact-note{margin:0;font-size:12px}.upcoming-item span,.upcoming-item small{color:var(--muted);font-size:12px}.alerts{right:max(24px, env(safe-area-inset-right));bottom:max(24px, env(safe-area-inset-bottom));z-index:20;border:1px solid var(--line);background:var(--surface);width:min(360px,100vw - 32px);box-shadow:var(--shadow);border-radius:8px;gap:10px;padding:14px;display:grid;position:fixed}.alerts.active{border-color:#f59e0b;animation:1.4s ease-in-out infinite alertPulse}.alerts-heading{justify-content:space-between;align-items:center;gap:12px;display:flex}.alerts-title{align-items:center;gap:8px;display:flex}.alerts-minimize{color:#203242;cursor:pointer;background:#eef4f7;border:0;border-radius:8px;flex:none;justify-content:center;align-items:center;width:32px;height:32px;transition:background .18s,transform .18s;display:inline-flex}.alerts-minimize:hover{background:#dcecef;transform:translateY(-1px)}.alerts-minimize:focus-visible,.alerts-mini:focus-visible{outline-offset:3px;outline:3px solid #0d948859}.alerts-mini{color:#fff;cursor:pointer;background:#10232d;border-radius:999px;justify-content:center;align-items:center;gap:7px;width:auto;min-width:58px;min-height:48px;padding:0 13px;transition:transform .18s,background .18s;display:inline-flex;box-shadow:0 10px 28px #10232d3d}.alerts-mini:hover{background:#173b47;transform:translateY(-2px)}.alerts-mini.active{background:#b45309;border-color:#f59e0b;animation:1.4s ease-in-out infinite alertPulse}.alerts-mini-count{min-width:18px;font-size:13px;font-weight:800;line-height:1}.alert-item{background:#fff7ed;border-radius:8px;gap:2px;padding:10px;display:grid}.alert-item span,.alert-item small{color:var(--warning);font-size:12px}.error-box,.loading-box,.success-box{border-radius:8px;margin-bottom:14px;padding:12px}.error-box{color:var(--danger);background:#fee2e2}.loading-box{color:#075985;background:#e0f2fe}.success-box{color:#166534;background:#dcfce7}.loading-screen,.auth-screen{background:#102029;place-items:center;min-height:100dvh;padding:24px;display:grid}.loading-screen{color:#f8fafc;font-weight:800}.auth-card{background:var(--surface);border-radius:8px;width:min(460px,100%);padding:28px;box-shadow:0 24px 70px #00000047}.auth-brand{align-items:center;gap:14px;margin-bottom:18px;display:flex}.auth-logo-frame{background:#fff;border-radius:50%;flex:0 0 80px;justify-content:center;align-items:center;width:80px;height:80px;display:flex;overflow:hidden;box-shadow:0 10px 26px #1020292e}.auth-logo-frame .auth-logo,.auth-logo{object-fit:contain;width:auto;max-width:90%;height:auto;max-height:90%;display:block}.auth-brand h1{font-size:30px}.auth-copy{color:var(--muted);margin:0 0 20px;line-height:1.5}.auth-form{gap:14px;display:grid}.auth-form label{color:#3e5060;gap:7px;font-size:13px;font-weight:800;display:grid}.password-input-wrapper{align-items:center;width:100%;display:flex;position:relative}.password-input-wrapper input{width:100%;padding-right:42px}.password-toggle-button{width:42px;color:var(--muted);cursor:pointer;background:0 0;border:none;border-radius:0 8px 8px 0;justify-content:center;align-items:center;padding:0;transition:color .15s;display:inline-flex;position:absolute;top:0;bottom:0;right:0}.password-toggle-button:hover{color:var(--ink)}.password-toggle-button:focus-visible{outline:2px solid var(--accent);outline-offset:-2px}.user-admin-card{align-self:start}.user-list{gap:8px;margin-top:14px;display:grid}.user-row{border:1px solid var(--line);width:100%;color:var(--ink);text-align:left;background:#fbfcfd;border-radius:8px;justify-content:space-between;align-items:center;gap:10px;padding:10px;display:flex}.user-row.selected,.user-row:hover{background:#f2fbf9;border-color:#88bdb6}.user-row div{min-width:0}.user-row strong,.user-row span{text-overflow:ellipsis;white-space:nowrap;min-width:0;display:block;overflow:hidden}.user-row span,.user-row small{color:var(--muted);font-size:12px}@keyframes alertPulse{0%,to{box-shadow:0 18px 45px #2030421a}50%{box-shadow:0 18px 45px #f59e0b52}}.topbar-title-group{flex-wrap:wrap;align-items:center;gap:16px;display:flex}.company-context-box{border:1px solid var(--line);background:var(--surface);color:var(--foreground);border-radius:8px;align-items:center;gap:8px;padding:6px 12px;display:flex}.company-switcher-container,.company-info-container{align-items:center;gap:8px;display:flex}.company-switcher-select{border:1px solid var(--line);color:var(--foreground);cursor:pointer;background:#fbfcfd;border-radius:6px;padding:4px 8px;font-size:13px;font-weight:700}.company-switcher-select:focus{outline:3px solid #2563eb47}.company-active-name{font-size:13px;font-weight:700}.role-tag{text-transform:uppercase;letter-spacing:.5px;border-radius:9999px;align-items:center;padding:2px 8px;font-size:11px;font-weight:800;display:inline-flex}.role-tag.clickable{cursor:pointer;border:0;transition:transform .15s,box-shadow .15s,filter .15s}.role-tag.clickable:hover{filter:brightness(.92);transform:translateY(-1px);box-shadow:0 2px 5px #0000001f}.role-tag.clickable:active{transform:translateY(0)}.role-tag.superadmin{color:#6d28d9;background:#ede9fe}.role-tag.admin{color:#0369a1;background:#e0f2fe}.role-tag.operator{color:#475569;background:#f1f5f9}.user-company-badge{color:var(--primary);font-size:11px;font-weight:600;display:inline-block}.user-card-badges{flex-wrap:wrap;align-items:center;gap:4px 8px;margin-top:3px;display:flex}.user-team-badge{color:#0369a1;background:#f0f9ff;border:1px solid #bae6fd;border-radius:4px;align-items:center;padding:1px 6px;font-size:11px;font-weight:600;display:inline-flex}.user-team-badge.unassigned{color:#64748b;background:#f1f5f9;border-color:#e2e8f0;font-style:italic}.admin-companies-layout{grid-template-columns:minmax(300px,1fr) minmax(320px,1fr);align-items:start;gap:16px;display:grid}.admin-companies-list,.admin-company-form-panel{border:1px solid var(--line);background:#fbfcfd;border-radius:8px;padding:16px}.admin-company-form-panel{background:var(--surface)}.admin-company-list{gap:10px;margin-top:12px;display:grid}.company-card-row{border:1px solid var(--line);background:var(--surface);cursor:pointer;text-align:left;border-radius:8px;gap:8px;width:100%;padding:12px;transition:border-color .15s,box-shadow .15s;display:grid}.company-card-row:hover{border-color:var(--primary)}.company-card-row.selected{border-color:var(--primary);box-shadow:0 0 0 2px #2563eb33}.company-card-row.inactive{opacity:.65;background:#f8fafc}.company-card-header{justify-content:space-between;align-items:flex-start;gap:8px;display:flex}.company-card-header strong{color:var(--foreground);font-size:14px;display:block}.company-slug-label{color:var(--muted);font-size:12px}.company-card-badges{flex-wrap:wrap;gap:4px;display:flex}.company-badge{text-transform:uppercase;border-radius:4px;padding:2px 6px;font-size:10px;font-weight:700}.company-badge.primary{color:#92400e;background:#fef3c7}.company-badge.active-context{color:#6d28d9;background:#ede9fe}.company-badge.active{color:#15803d;background:#dcfce7}.company-badge.inactive{color:#b91c1c;background:#fee2e2}.company-card-footer{border-top:1px solid var(--line);justify-content:space-between;align-items:center;padding-top:6px;display:flex}.company-meta-item{color:var(--muted);font-size:12px}.quick-switch-button{border:1px solid var(--primary);color:var(--primary);cursor:pointer;background:#eff6ff;border-radius:4px;padding:3px 8px;font-size:11px;font-weight:700}.quick-switch-button:hover{background:var(--primary);color:#fff}.form-actions-row{align-items:center;gap:10px;margin-top:8px;display:flex}.visually-hidden{clip:rect(0, 0, 0, 0);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}@media (width<=1280px){.app-shell{grid-template-columns:248px minmax(0,1fr)}.sidebar{padding:18px}.brand-logo{width:72px;height:72px}.tracking-panel{border-left:0;border-top:1px solid var(--line);grid-column:2;height:auto;position:static}}@media (width<=980px){.app-shell{display:block}.sidebar{flex-direction:row;align-items:center;gap:12px;height:auto;padding:12px;position:static}.nav-list{display:flex;overflow-x:auto}.nav-item{white-space:nowrap}.nav-item span{display:inline}.session-card{min-width:220px;margin-top:0}.sidebar-refresh-button{width:auto;min-width:214px}.sidebar-note{display:none}.planner-grid,.metrics,.admin-users-layout,.catalog-columns,.catalogs-intro,.catalog-add-row{grid-template-columns:1fr}.catalogs-intro{display:grid}.topbar,.status-banner{flex-direction:column;align-items:stretch}.topbar-actions,.filter-bar{flex-wrap:wrap}.user-chip{width:100%;max-width:none}.searchbox{width:100%}.logout-button{flex:180px}.week-strip{grid-template-columns:repeat(2,minmax(0,1fr))}.activity-table{overflow-x:auto}.activity-table-row{min-width:760px}}@media (width<=620px){.workspace,.tracking-panel{padding:16px}.timeline-row{grid-template-columns:56px minmax(0,1fr)}.time-label{padding:8px 6px;font-size:11px}.sidebar{padding:10px;padding-left:max(10px, env(safe-area-inset-left));padding-right:max(10px, env(safe-area-inset-right));gap:8px}.sidebar-refresh-button{min-width:0;padding:0 8px;font-size:0}.sidebar-refresh-button svg{margin:0}.brand-logo{width:40px;height:40px}.brand strong{font-size:14px}.brand span{display:none}.nav-item{min-height:38px;padding:0 8px;font-size:13px}.nav-item span{font-size:13px}.session-card{min-width:160px}.session-card strong{font-size:13px}.session-card small{font-size:11px}.logout-button{flex:none;min-height:38px;font-size:13px}.metric strong{font-size:20px}.metric{padding:12px}.report-card strong{font-size:22px}h2{font-size:18px}.day-chip{min-height:44px;padding:0 8px;font-size:13px}.form-grid,.detail-list{grid-template-columns:1fr}.alerts{right:max(16px, env(safe-area-inset-right));bottom:max(16px, env(safe-area-inset-bottom))}.report-grid,.bar-row{grid-template-columns:1fr}.bar-row strong{text-align:left}.alarm-card,.view-heading,.auth-brand{flex-direction:column;align-items:flex-start}.auth-logo{width:78px;height:78px}}@media (width<=480px){.week-strip{scroll-snap-type:x mandatory;grid-template-columns:none;grid-auto-flow:column;gap:8px;padding-bottom:4px;overflow-x:auto}.day-chip{scroll-snap-align:start;flex-shrink:0;min-width:110px;min-height:40px;font-size:12px}.view-panel{padding:10px}.topbar{padding:8px}.topbar h2{font-size:16px}.searchbox{min-height:38px;font-size:13px}.activity-card{padding:10px}.activity-card-head strong{font-size:14px}.alarm-summary{flex-direction:column;align-items:stretch}}@media (width<=390px){.sidebar{padding:8px;padding-left:max(8px, env(safe-area-inset-left));padding-right:max(8px, env(safe-area-inset-right));flex-wrap:wrap;gap:6px}.nav-item{min-height:34px;padding:0 6px;font-size:12px}.nav-item svg{width:16px;height:16px}.session-card{min-width:130px}.day-chip{min-width:90px;min-height:36px;padding:0 6px;font-size:11px}.metric{padding:10px}.metric strong{font-size:18px}.time-label{padding:6px 4px;font-size:10px}.activity-card{padding:8px}.activity-card-head strong{font-size:13px}.status-pill{padding:4px 7px;font-size:10px}.workspace,.tracking-panel{padding:10px}.form-grid{gap:8px}}.company-logo-section{background:#f1f5f9a6;border:1px dashed #cbd5e1d9;border-radius:8px;flex-direction:column;gap:12px;margin-bottom:8px;padding:16px;display:flex}.company-logo-preview-wrapper{align-items:center;gap:18px;display:flex}.company-logo-circle{background:#fff;border:2px solid #e2e8f0;border-radius:50%;flex:0 0 96px;justify-content:center;align-items:center;width:96px;height:96px;display:flex;overflow:hidden;box-shadow:0 6px 16px #0000001a}.company-logo-circle img{object-fit:contain;width:auto;max-width:90%;height:auto;max-height:90%;display:block}.company-logo-placeholder{color:#94a3b8;flex-direction:column;justify-content:center;align-items:center;display:flex}.company-logo-controls{flex-direction:column;flex:1;gap:8px;display:flex}.company-logo-actions-group{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.logo-action-btn{cursor:pointer;border:1px solid #0000;border-radius:6px;align-items:center;gap:6px;padding:8px 14px;font-size:13px;font-weight:700;transition:background .15s,transform .15s;display:inline-flex}.logo-action-btn:hover:not(:disabled){transform:translateY(-1px)}.logo-action-btn.approve{color:#fff;background:#16a34a}.logo-action-btn.approve:hover:not(:disabled){background:#15803d}.logo-action-btn.retry{color:#334155;background:#fff;border-color:#cbd5e1}.logo-action-btn.retry:hover:not(:disabled){background:#f1f5f9}.logo-action-btn.cancel{color:#ef4444;background:0 0;border-color:#ef444440}.logo-action-btn.cancel:hover:not(:disabled){background:#ef444414}.logo-action-btn.upload{color:#fff;background:#0284c7}.logo-action-btn.upload:hover:not(:disabled){background:#0369a1}.logo-action-btn.danger{color:#dc2626;background:0 0;border-color:#dc262640}.logo-action-btn.danger:hover:not(:disabled){background:#fee2e2}.company-logo-confirm-box{color:#92400e;background:#fffbeb;border:1px solid #fef3c7;border-left:4px solid #f59e0b;border-radius:6px;flex-direction:column;gap:8px;padding:10px 12px;font-size:13px;display:flex}.company-logo-confirm-actions{flex-wrap:wrap;gap:8px;display:flex}.company-logo-status-tag{color:#166534;background:#dcfce7;border-radius:4px;align-items:center;gap:5px;width:fit-content;padding:4px 9px;font-size:12px;font-weight:700;display:inline-flex}.company-card-logo-circle{background:#fff;border:1px solid #e2e8f0;border-radius:50%;flex:0 0 42px;justify-content:center;align-items:center;width:42px;height:42px;display:flex;overflow:hidden;box-shadow:0 2px 6px #00000014}.company-card-logo-circle img{object-fit:contain;width:auto;max-width:90%;height:auto;max-height:90%;display:block}.topbar-cal-toggle-btn{background:var(--surface,#fff);color:var(--text,#0f172a);border:1px solid var(--border,#cbd5e1);cursor:pointer;white-space:nowrap;border-radius:6px;align-items:center;gap:6px;padding:6px 12px;font-size:13px;font-weight:600;transition:all .15s;display:inline-flex}.topbar-cal-toggle-btn:hover{background:#f1f5f9;border-color:#94a3b8}.topbar-cal-toggle-btn.active{background:var(--primary,#2563eb);color:#fff;border-color:var(--primary,#2563eb);box-shadow:0 2px 6px #2563eb40}.calendar-shell-wrapper{flex-direction:column;gap:16px;width:100%;display:flex}.calendar-toolbar{background:var(--surface,#fff);border:1px solid var(--border,#e2e8f0);border-radius:8px;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;padding:12px 16px;display:flex;box-shadow:0 1px 3px #0000000d}.calendar-toolbar-left{flex-wrap:wrap;align-items:center;gap:12px;display:flex}.calendar-today-btn{color:var(--text,#0f172a);border:1px solid var(--border,#cbd5e1);cursor:pointer;background:#fff;border-radius:6px;padding:6px 14px;font-size:13px;font-weight:600;transition:background .15s}.calendar-today-btn:hover{background:#f8fafc;border-color:#94a3b8}.calendar-nav-arrows{align-items:center;gap:4px;display:flex}.calendar-period-heading{color:var(--text,#0f172a);margin:0;font-size:18px;font-weight:700}.calendar-toolbar-right{flex-wrap:wrap;align-items:center;gap:10px;display:flex}.calendar-create-btn{background:var(--primary,#2563eb);color:#fff;cursor:pointer;border:none;border-radius:6px;align-items:center;gap:6px;padding:7px 14px;font-size:13px;font-weight:600;transition:background .15s;display:inline-flex}.calendar-create-btn:hover{background:#1d4ed8}.calendar-close-btn{color:var(--neutral-dark,#475569);border:1px solid var(--border,#cbd5e1);cursor:pointer;background:#fff;border-radius:6px;align-items:center;gap:6px;padding:6px 12px;font-size:13px;font-weight:600;transition:all .15s;display:inline-flex}.calendar-close-btn:hover{color:#0f172a;background:#f1f5f9}.calendar-view-selector-container{position:relative}.calendar-view-trigger-btn{color:var(--text,#0f172a);border:1px solid var(--border,#cbd5e1);cursor:pointer;background:#fff;border-radius:6px;align-items:center;gap:8px;padding:6px 12px;font-size:13px;font-weight:600;transition:all .15s;display:inline-flex}.calendar-view-trigger-btn:hover{background:#f8fafc;border-color:#94a3b8}.calendar-view-dropdown-menu{z-index:50;background:#fff;border:1px solid #cbd5e1;border-radius:8px;min-width:200px;margin:0;padding:6px 0;list-style:none;position:absolute;top:calc(100% + 4px);right:0;box-shadow:0 10px 25px -5px #0000001a,0 8px 10px -6px #0000001a}.calendar-view-dropdown-menu li{margin:0;padding:0}.calendar-view-option-btn{color:#1e293b;cursor:pointer;text-align:left;background:0 0;border:none;justify-content:space-between;align-items:center;width:100%;padding:8px 12px;font-size:13px;transition:background .1s;display:flex}.calendar-view-option-btn:hover{background:#f1f5f9}.calendar-view-option-btn.selected{color:var(--primary,#2563eb);background:#eff6ff;font-weight:700}.option-label-group{align-items:center;gap:8px;display:flex}.check-placeholder{width:16px;height:16px;display:inline-block}.option-shortcut{color:#94a3b8;background:#f1f5f9;border-radius:4px;padding:2px 6px;font-size:11px}.calendar-month-view{background:#fff;border:1px solid #e2e8f0;border-radius:8px;overflow:hidden;box-shadow:0 1px 3px #0000000d}.calendar-month-header-row{background:#f8fafc;border-bottom:1px solid #e2e8f0;grid-template-columns:repeat(7,1fr);display:grid}.calendar-month-header-cell{text-align:center;color:#64748b;text-transform:uppercase;padding:10px;font-size:12px;font-weight:700}.calendar-month-grid{grid-template-columns:repeat(7,1fr);grid-auto-rows:minmax(110px,auto);display:grid}.calendar-month-cell{background:#fff;border-bottom:1px solid #f1f5f9;border-right:1px solid #f1f5f9;flex-direction:column;min-height:110px;padding:6px;transition:background .15s;display:flex}.calendar-month-cell:nth-child(7n){border-right:none}.calendar-month-cell.other-month{opacity:.65;background:#fafbfc}.calendar-month-cell.today{background:#f8fafc}.calendar-month-cell.selected{outline:2px solid var(--primary,#2563eb);outline-offset:-2px}.month-cell-top{justify-content:space-between;align-items:center;margin-bottom:4px;display:flex}.month-day-number-btn{color:#1e293b;cursor:pointer;background:0 0;border:none;border-radius:4px;padding:2px 6px;font-size:13px;font-weight:600}.month-day-number-btn:hover{background:#e2e8f0}.month-day-number-btn.today-badge{background:var(--primary,#2563eb);color:#fff;border-radius:50%;justify-content:center;align-items:center;width:26px;height:26px;padding:0;display:inline-flex}.month-cell-add-btn{opacity:0;color:#64748b;cursor:pointer;background:0 0;border:none;border-radius:4px;padding:3px;transition:opacity .15s,background .15s}.calendar-month-cell:hover .month-cell-add-btn{opacity:1}.month-cell-add-btn:hover{color:#0f172a;background:#e2e8f0}.month-cell-chips-list{flex-direction:column;flex:1;gap:3px;display:flex}.calendar-activity-chip{color:#1e293b;cursor:pointer;text-align:left;white-space:nowrap;text-overflow:ellipsis;background:#f1f5f9;border:1px solid #e2e8f0;border-radius:4px;align-items:center;gap:5px;padding:2px 6px;font-size:11px;transition:transform .1s,background .1s;display:flex;overflow:hidden}.calendar-activity-chip:hover{background:#e2e8f0;transform:translateY(-1px)}.chip-status-dot{border-radius:50%;flex-shrink:0;width:6px;height:6px}.chip-time{color:#475569;font-size:10px;font-weight:700}.chip-title{text-overflow:ellipsis;white-space:nowrap;flex:1;overflow:hidden}.month-more-chips-btn{color:var(--primary,#2563eb);cursor:pointer;text-align:left;background:0 0;border:none;border-radius:3px;padding:2px 4px;font-size:11px;font-weight:700}.month-more-chips-btn:hover{background:#eff6ff}.calendar-week-view{background:#fff;border:1px solid #e2e8f0;border-radius:8px;overflow-x:auto;box-shadow:0 1px 3px #0000000d}.calendar-week-header{z-index:10;background:#f8fafc;border-bottom:1px solid #e2e8f0;grid-template-columns:60px repeat(7,minmax(130px,1fr));display:grid;position:sticky;top:0}.calendar-time-axis-header{border-right:1px solid #e2e8f0}.calendar-week-col-header{text-align:center;border-right:1px solid #f1f5f9;flex-direction:column;align-items:center;gap:4px;padding:8px;display:flex}.week-day-label{color:#64748b;font-size:11px;font-weight:700}.week-day-number-btn{color:#0f172a;cursor:pointer;background:0 0;border:none;border-radius:4px;padding:2px 8px;font-size:14px;font-weight:700}.week-day-number-btn.today-badge{background:var(--primary,#2563eb);color:#fff;border-radius:50%;justify-content:center;align-items:center;width:28px;height:28px;padding:0;display:inline-flex}.calendar-week-offhours-row{background:#fffbeb;border-bottom:1px solid #fef3c7;grid-template-columns:60px repeat(7,minmax(130px,1fr));min-height:36px;display:grid}.calendar-time-axis-label.offhours-label{color:#b45309;border-right:1px solid #fde68a;justify-content:center;align-items:center;padding:4px;font-size:11px;font-weight:700;display:flex}.calendar-week-offhours-col{border-right:1px solid #fef3c7;flex-direction:column;gap:3px;padding:4px;display:flex}.week-offhour-chip{text-align:left;cursor:pointer;white-space:nowrap;text-overflow:ellipsis;background:#fff;border:1px solid #fde68a;border-left-width:3px;border-radius:4px;align-items:center;gap:4px;padding:2px 6px;font-size:11px;display:flex;overflow:hidden}.calendar-week-grid-body{grid-template-columns:60px repeat(7,minmax(130px,1fr));display:grid;position:relative}.calendar-time-axis{background:#f8fafc;border-right:1px solid #e2e8f0;flex-direction:column;display:flex}.time-axis-slot{color:#64748b;border-bottom:1px solid #f1f5f9;justify-content:center;align-items:flex-start;height:60px;padding-top:4px;font-size:11px;display:flex}.calendar-week-columns-container{display:contents}.calendar-week-day-column{border-right:1px solid #f1f5f9;height:840px;position:relative}.week-hour-slot{cursor:pointer;border-bottom:1px solid #f1f5f9;height:60px;position:relative}.week-hour-slot:hover{background:#f1f5f980}.slot-hover-add-btn{opacity:0;color:#475569;cursor:pointer;background:#fff;border:1px solid #cbd5e1;border-radius:4px;justify-content:center;align-items:center;padding:2px;transition:opacity .15s;display:inline-flex;position:absolute;top:4px;right:4px}.week-hour-slot:hover .slot-hover-add-btn{opacity:1}.week-event-block{cursor:pointer;text-align:left;z-index:2;background:#fff;border:1px solid #cbd5e1;border-left-width:4px;border-radius:4px;padding:4px 6px;transition:transform .1s,box-shadow .1s;position:absolute;left:4px;right:4px;overflow:hidden;box-shadow:0 1px 3px #00000014}.week-event-block:hover{z-index:5;transform:scale(1.02);box-shadow:0 4px 10px #00000026}.event-block-time{color:#475569;margin-bottom:2px;font-size:10px;font-weight:700}.event-block-title{color:#0f172a;text-overflow:ellipsis;white-space:nowrap;font-size:12px;font-weight:600;overflow:hidden}.event-block-team{color:#64748b;font-size:10px}.calendar-day-view{background:#fff;border:1px solid #e2e8f0;border-radius:8px;flex-direction:column;gap:16px;padding:16px;display:flex;box-shadow:0 1px 3px #0000000d}.day-metrics-strip{flex-wrap:wrap;gap:12px;display:flex}.day-metric-badge{background:#f8fafc;border:1px solid #e2e8f0;border-radius:6px;flex-direction:column;gap:2px;padding:10px 16px;display:flex}.day-metric-badge span{color:#64748b;font-size:11px}.day-metric-badge strong{color:#0f172a;font-size:18px}.day-metric-badge.danger{color:#dc2626;background:#fef2f2;border-color:#fee2e2}.day-offhours-box{background:#fffbeb;border:1px solid #fef3c7;border-left:4px solid #f59e0b;border-radius:6px;padding:10px 14px}.day-offhours-box h4{color:#92400e;margin:0 0 8px;font-size:12px}.day-offhours-list{flex-direction:column;gap:6px;display:flex}.day-offhour-item{cursor:pointer;text-align:left;background:#fff;border:1px solid #fde68a;border-left-width:3px;border-radius:4px;align-items:center;gap:12px;padding:6px 10px;font-size:12px;display:flex}.day-timeline-container{border-top:1px solid #e2e8f0;flex-direction:column;display:flex}.day-hour-row{border-bottom:1px solid #f1f5f9;grid-template-columns:80px 1fr;min-height:64px;display:grid}.day-hour-label{color:#64748b;border-right:1px solid #e2e8f0;padding:10px;font-size:12px;font-weight:600}.day-hour-content{cursor:pointer;align-items:center;padding:6px 12px;display:flex}.day-hour-content:hover{background:#f8fafccc}.day-empty-slot-btn{color:#94a3b8;cursor:pointer;background:0 0;border:1px dashed #cbd5e1;border-radius:6px;align-items:center;gap:6px;padding:6px 12px;font-size:12px;display:inline-flex}.day-empty-slot-btn:hover{border-color:var(--primary,#2563eb);color:var(--primary,#2563eb);background:#eff6ff}.day-slot-events-list{flex-direction:column;gap:6px;width:100%;display:flex}.day-event-card{cursor:pointer;text-align:left;background:#fff;border:1px solid #cbd5e1;border-left-width:4px;border-radius:6px;flex-direction:column;gap:4px;padding:8px 12px;transition:transform .1s,box-shadow .1s;display:flex}.day-event-card:hover{transform:translateY(-1px);box-shadow:0 4px 8px #00000014}.day-card-header{justify-content:space-between;align-items:center;display:flex}.day-card-time{color:#64748b;align-items:center;gap:4px;font-size:11px;font-weight:600;display:inline-flex}.day-card-status-badge{border-radius:4px;padding:2px 6px;font-size:10px;font-weight:700}.day-card-title{color:#0f172a;font-size:14px;font-weight:600}.day-card-desc{color:#475569;font-size:12px}.day-card-footer{color:#64748b;justify-content:space-between;align-items:center;margin-top:2px;font-size:11px;display:flex}.calendar-year-view{flex-direction:column;gap:16px;display:flex}.year-legend-bar{background:#fff;border:1px solid #e2e8f0;border-radius:8px;flex-wrap:wrap;align-items:center;gap:12px;padding:10px 16px;font-size:13px;display:flex}.legend-items{align-items:center;gap:6px;display:flex}.legend-chip{border-radius:4px;padding:2px 8px;font-size:11px;font-weight:700}.legend-note{color:#64748b;margin-left:auto}.calendar-year-grid{grid-template-columns:repeat(4,1fr);gap:16px;display:grid}.year-month-card{background:#fff;border:1px solid #e2e8f0;border-radius:8px;padding:12px;box-shadow:0 1px 3px #0000000d}.year-month-card-header{justify-content:space-between;align-items:center;margin-bottom:8px;display:flex}.year-month-name-btn{color:#0f172a;cursor:pointer;background:0 0;border:none;border-radius:4px;padding:2px 6px;font-size:14px;font-weight:700}.year-month-name-btn:hover{color:var(--primary,#2563eb);background:#eff6ff}.year-month-badge{color:#2563eb;background:#eff6ff;border-radius:10px;padding:2px 6px;font-size:11px;font-weight:700}.year-month-days-header{text-align:center;color:#94a3b8;grid-template-columns:repeat(7,1fr);margin-bottom:4px;font-size:10px;font-weight:700;display:grid}.year-month-cells-grid{grid-template-columns:repeat(7,1fr);gap:2px;display:grid}.year-cell{aspect-ratio:1;cursor:pointer;color:#334155;background:0 0;border:none;border-radius:3px;justify-content:center;align-items:center;font-size:10px;transition:transform .1s;display:flex}.year-cell.empty{cursor:default;background:0 0}.year-cell:hover:not(.empty){z-index:2;outline:1px solid #0f172a;transform:scale(1.15)}.year-cell.intensity-0,.legend-chip.intensity-0{color:#64748b;background:#f1f5f9}.year-cell.intensity-1,.legend-chip.intensity-1{color:#1e40af;background:#dbeafe;font-weight:600}.year-cell.intensity-2,.legend-chip.intensity-2{color:#1e3a8a;background:#93c5fd;font-weight:700}.year-cell.intensity-3,.legend-chip.intensity-3{color:#fff;background:#2563eb;font-weight:700}.calendar-range-view{flex-direction:column;gap:16px;display:flex}.range-controls-panel{background:#fff;border:1px solid #e2e8f0;border-radius:8px;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:16px;padding:14px 18px;display:flex;box-shadow:0 1px 3px #0000000d}.range-picker-inputs{flex-wrap:wrap;align-items:center;gap:12px;display:flex}.input-with-label{color:#334155;align-items:center;gap:6px;font-size:13px;font-weight:600;display:flex}.input-text-sm{border:1px solid #cbd5e1;border-radius:6px;padding:6px 10px;font-size:13px}.btn-primary-sm{background:var(--primary,#2563eb);color:#fff;cursor:pointer;border:none;border-radius:6px;padding:6px 14px;font-size:13px;font-weight:600;transition:background .15s}.btn-primary-sm:hover{background:#1d4ed8}.range-presets-group{flex-wrap:wrap;align-items:center;gap:6px;display:flex}.presets-label{color:#64748b;margin-right:4px;font-size:12px}.preset-btn{color:#334155;cursor:pointer;background:#f1f5f9;border:1px solid #e2e8f0;border-radius:4px;padding:4px 10px;font-size:12px;transition:all .15s}.preset-btn:hover{background:#e2e8f0;border-color:#cbd5e1}.range-metrics-summary-grid{grid-template-columns:repeat(4,1fr);gap:16px;display:grid}.range-metric-card{background:#fff;border:1px solid #e2e8f0;border-radius:8px;flex-direction:column;gap:4px;padding:14px 18px;display:flex;box-shadow:0 1px 3px #0000000d}.metric-title{color:#64748b;font-size:12px;font-weight:600}.metric-value{color:#0f172a;font-size:22px;font-weight:700}.metric-subtitle{color:#94a3b8;font-size:11px}.progress-bar-container{background:#e2e8f0;border-radius:4px;width:100%;height:8px;margin-top:4px;overflow:hidden}.progress-bar-fill{background:var(--primary,#2563eb);border-radius:4px;height:100%;transition:width .3s}.range-status-pills{flex-wrap:wrap;align-items:center;gap:4px;margin-top:4px;display:flex}.range-days-timeline{flex-direction:column;gap:12px;display:flex}.range-day-section{background:#fff;border:1px solid #e2e8f0;border-radius:8px;padding:14px 18px;box-shadow:0 1px 3px #0000000d}.range-day-header{justify-content:space-between;align-items:center;margin-bottom:10px;display:flex}.range-day-title-group{align-items:center;gap:10px;display:flex}.range-day-link{color:#0f172a;cursor:pointer;background:0 0;border:none;padding:0;font-size:15px}.range-day-link:hover strong{color:var(--primary,#2563eb)}.range-day-count-badge{color:#475569;background:#f1f5f9;border-radius:12px;padding:2px 8px;font-size:11px;font-weight:600}.btn-text-icon{color:#475569;cursor:pointer;background:0 0;border:1px solid #cbd5e1;border-radius:4px;align-items:center;gap:4px;padding:4px 8px;font-size:12px;display:inline-flex}.btn-text-icon:hover{color:#0f172a;background:#f8fafc}.range-empty-day{color:#94a3b8;padding:6px 0;font-size:12px;font-style:italic}.range-activities-list{flex-direction:column;gap:6px;display:flex}.range-activity-card{cursor:pointer;text-align:left;background:#fff;border:1px solid #e2e8f0;border-left-width:4px;border-radius:6px;justify-content:space-between;align-items:center;padding:8px 12px;transition:transform .1s,box-shadow .1s;display:flex}.range-activity-card:hover{transform:translateY(-1px);box-shadow:0 3px 8px #0000000f}.range-card-left{align-items:center;gap:12px;display:flex}.range-card-time{color:#64748b;align-items:center;gap:4px;font-size:11px;font-weight:600;display:inline-flex}.range-card-title{color:#0f172a;font-size:13px;font-weight:600}.range-card-meta{color:#94a3b8;font-size:11px}.range-card-right{align-items:center;gap:12px;display:flex}.range-card-status{border-radius:4px;padding:2px 8px;font-size:11px;font-weight:700}.range-card-progress{color:#475569;font-size:12px;font-weight:700}.calendar-modal-backdrop,.day-popover-backdrop{-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px);z-index:100;background:#0f172a8c;justify-content:center;align-items:center;padding:16px;display:flex;position:fixed;inset:0}.calendar-modal-content{background:#fff;border-radius:10px;width:100%;max-width:580px;max-height:90vh;padding:20px;overflow-y:auto;box-shadow:0 20px 25px -5px #0003,0 8px 10px -6px #0003}.calendar-modal-header{justify-content:space-between;align-items:center;margin-bottom:16px;display:flex}.modal-title-row{align-items:center;gap:8px;display:flex}.modal-title-row h3{color:#0f172a;margin:0;font-size:18px;font-weight:700}.private-icon{color:#f59e0b}.private-activity-notice{text-align:center;color:#64748b;flex-direction:column;align-items:center;gap:12px;padding:30px 20px;display:flex}.private-activity-notice h4{color:#0f172a;margin:0;font-size:16px}.calendar-activity-form{flex-direction:column;gap:14px;display:flex}.form-row-grid{grid-template-columns:repeat(auto-fit,minmax(140px,1fr));gap:12px;display:grid}.form-group-checkbox{margin-top:4px}.checkbox-label{color:#334155;cursor:pointer;align-items:center;gap:8px;font-size:13px;display:flex}.modal-actions{border-top:1px solid #e2e8f0;justify-content:space-between;align-items:center;margin-top:8px;padding-top:14px;display:flex}.modal-actions-right{align-items:center;gap:10px;margin-left:auto;display:flex}.day-popover-content{background:#fff;border-radius:8px;flex-direction:column;width:100%;max-width:440px;max-height:80vh;padding:16px;display:flex;box-shadow:0 15px 30px #0003}.day-popover-header{justify-content:space-between;align-items:center;margin-bottom:12px;display:flex}.day-popover-header h4{color:#0f172a;margin:0;font-size:15px}.day-popover-list{flex-direction:column;gap:8px;max-height:320px;display:flex;overflow-y:auto}.popover-activity-item{cursor:pointer;text-align:left;background:#f8fafc;border:1px solid #e2e8f0;border-radius:6px;align-items:center;gap:8px;padding:8px 10px;display:flex}.popover-activity-item:hover{background:#f1f5f9}.popover-item-details{flex-direction:column;gap:2px;display:flex}.popover-item-details strong{color:#0f172a;font-size:13px}.popover-item-details span{color:#64748b;font-size:11px}.day-popover-actions{justify-content:flex-end;margin-top:12px;display:flex}@media (width<=1100px){.calendar-year-grid{grid-template-columns:repeat(3,1fr)}.range-metrics-summary-grid{grid-template-columns:repeat(2,1fr)}}@media (width<=768px){.calendar-year-grid{grid-template-columns:repeat(2,1fr)}.calendar-month-grid{grid-auto-rows:minmax(80px,auto)}.calendar-month-cell{min-height:80px;padding:3px}.calendar-activity-chip{padding:1px 4px;font-size:10px}.chip-time{display:none}.range-metrics-summary-grid{grid-template-columns:1fr}}@media (width<=480px){.calendar-year-grid{grid-template-columns:1fr}.calendar-toolbar{flex-direction:column;align-items:stretch}.calendar-toolbar-left,.calendar-toolbar-right{justify-content:space-between}.calendar-period-heading{font-size:15px}}@media (prefers-reduced-motion:reduce){*,:before,:after{scroll-behavior:auto!important;transition-duration:.01ms!important;animation-duration:.01ms!important;animation-iteration-count:1!important}}
