:root{color:#14213d;font-synthesis:none;text-rendering:optimizelegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;--page-max-width:1120px;--panel-bg:#ffffffe0;--panel-border:#14213d1f;--text-primary:#14213d;--text-muted:#4b5563;--accent:#ef476f;--accent-strong:#d83a62;--accent-soft:#ef476f24;--success:#0f766e;--danger:#b42318;--shadow:0 28px 60px #14213d1f;background:radial-gradient(circle at top,#ffd16659,#0000 30%),linear-gradient(#fff9ec 0%,#f4f7fb 55%,#eef2f7 100%);font-family:Segoe UI,Tahoma,Geneva,Verdana,sans-serif;font-weight:400;line-height:1.5}*{box-sizing:border-box}html,body,#root{min-height:100%}body{min-height:100vh;margin:0}body,button,input,select{font:inherit}button,input,select{border:0}button{cursor:pointer}a{color:inherit}.app-shell{min-height:100vh;padding:24px}.auth-screen,.dashboard-screen,.status-screen{max-width:var(--page-max-width);align-items:center;min-height:calc(100vh - 48px);margin:0 auto;display:grid}.auth-layout{grid-template-columns:minmax(0,1.1fr) minmax(320px,440px);gap:24px;display:grid}.hero-panel,.form-panel,.dashboard-card,.status-card{background:var(--panel-bg);border:1px solid var(--panel-border);box-shadow:var(--shadow);-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);border-radius:28px}.hero-panel{flex-direction:column;justify-content:space-between;padding:40px;display:flex;position:relative;overflow:hidden}.hero-panel:after{content:"";background:#ef476f1f;border-radius:999px;width:220px;height:220px;position:absolute;inset:auto -40px -40px auto}.eyebrow{background:var(--accent-soft);width:fit-content;color:var(--accent-strong);letter-spacing:.04em;text-transform:uppercase;border-radius:999px;margin-bottom:16px;padding:8px 12px;font-size:.9rem;font-weight:700;display:inline-flex}.hero-panel h1,.form-panel h2,.dashboard-card h1,.status-card h1{color:var(--text-primary);margin:0}.hero-panel h1{letter-spacing:-.05em;font-size:clamp(2.4rem,5vw,4.4rem);line-height:.95}.hero-panel p,.dashboard-card p,.status-card p{color:var(--text-muted)}.hero-points{gap:14px;margin-top:28px;display:grid}.hero-point{align-items:flex-start;gap:12px;display:flex}.hero-point-marker{background:linear-gradient(135deg,#ef476f,#f78c6b);border-radius:999px;width:12px;height:12px;margin-top:8px;box-shadow:0 0 0 6px #ef476f1f}.form-panel{padding:32px}.form-panel-header{margin-bottom:24px}.form-panel-header p{color:var(--text-muted);margin-top:8px}.auth-form{gap:18px;display:grid}.field{gap:8px;display:grid}.field label{color:var(--text-primary);font-weight:600}.field input{width:100%;color:var(--text-primary);background:#ffffffe6;border:1px solid #14213d24;border-radius:14px;padding:14px 16px;transition:border-color .16s,box-shadow .16s,transform .16s}.field input:focus{border-color:#ef476f8c;outline:none;transform:translateY(-1px);box-shadow:0 0 0 4px #ef476f1f}.primary-button,.secondary-button{border-radius:14px;justify-content:center;align-items:center;min-height:48px;padding:0 18px;font-weight:700;transition:transform .16s,box-shadow .16s,background-color .16s;display:inline-flex}.primary-button{color:#fff;background:linear-gradient(135deg,#ef476f 0%,#f78c6b 100%);box-shadow:0 18px 28px #ef476f40}.primary-button:hover:not(:disabled),.secondary-button:hover:not(:disabled){transform:translateY(-1px)}.primary-button:disabled,.secondary-button:disabled{opacity:.6;cursor:not-allowed}.secondary-button{color:var(--text-primary);background:#14213d0f}.ghost-button{min-height:42px;color:var(--text-primary);background:0 0;border:1px solid #14213d1f;border-radius:12px;justify-content:center;align-items:center;padding:0 14px;display:inline-flex}.link-button{text-decoration:none}.auth-message{border-radius:14px;margin:0;padding:12px 14px;font-size:.95rem}.auth-message.error{color:var(--danger);background:#b423181a}.auth-message.success{color:var(--success);background:#0f766e1f}.dashboard-card,.status-card{width:min(100%,760px);padding:36px}.users-hero-card,.users-table-card,.user-form-card{background:var(--panel-bg);border:1px solid var(--panel-border);box-shadow:var(--shadow);-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);border-radius:28px;padding:28px}.dashboard-header{justify-content:space-between;align-items:flex-start;gap:20px;margin-bottom:24px;display:flex}.dashboard-chip{background:var(--accent-soft);color:var(--accent-strong);border-radius:999px;padding:8px 12px;font-weight:700;display:inline-flex}.dashboard-meta{gap:12px;margin:24px 0 32px;display:grid}.dashboard-actions{flex-wrap:wrap;gap:12px;display:flex}.dashboard-meta-row{border-bottom:1px solid #14213d14;justify-content:space-between;gap:12px;padding-bottom:12px;display:flex}.dashboard-meta-row span:first-child{color:var(--text-muted)}.loading-copy{gap:10px;display:grid}.loading-bar{background:#14213d14;border-radius:999px;width:min(220px,100%);height:10px;overflow:hidden}.loading-bar:after{content:"";border-radius:inherit;background:linear-gradient(135deg,#ef476f 0%,#f78c6b 100%);width:42%;height:100%;animation:1.15s ease-in-out infinite loading-slide;display:block}.users-screen{max-width:var(--page-max-width);gap:20px;margin:0 auto;display:grid}.users-layout{grid-template-columns:minmax(0,1.6fr) minmax(320px,420px);align-items:start;gap:20px;display:grid}.users-side-panel{gap:20px;display:grid}.section-heading{justify-content:space-between;align-items:flex-start;gap:16px;margin-bottom:18px;display:flex}.section-heading p{color:var(--text-muted);margin-top:8px}.users-count{color:var(--text-primary);white-space:nowrap;background:#14213d0f;border-radius:999px;padding:8px 12px;font-weight:700}.table-scroll{overflow-x:auto}.users-table{border-collapse:collapse;width:100%}.users-table th,.users-table td{text-align:left;vertical-align:top;border-bottom:1px solid #14213d14;padding:14px 12px}.users-table th{color:var(--text-muted);font-size:.92rem;font-weight:700}.table-actions{flex-wrap:wrap;gap:8px;display:flex}.status-pill{border-radius:999px;align-items:center;min-height:30px;padding:0 10px;font-size:.82rem;font-weight:700;display:inline-flex}.status-pill.is-active{color:var(--success);background:#0f766e1f}.status-pill.is-inactive{color:var(--danger);background:#b423181f}.user-form-grid{gap:16px;display:grid}.field select{width:100%;color:var(--text-primary);background:#ffffffe6;border:1px solid #14213d24;border-radius:14px;padding:14px 16px}.field select:focus{border-color:#ef476f8c;outline:none;box-shadow:0 0 0 4px #ef476f1f}.user-form-actions{flex-wrap:wrap;gap:12px;display:flex}@keyframes loading-slide{0%{transform:translate(-100%)}50%{transform:translate(120%)}to{transform:translate(240%)}}@media (width<=900px){.app-shell{padding:16px}.auth-screen,.dashboard-screen,.status-screen{min-height:calc(100vh - 32px)}.auth-layout{grid-template-columns:1fr}.hero-panel,.form-panel,.dashboard-card,.status-card,.users-hero-card,.users-table-card,.user-form-card{border-radius:22px;padding:24px}.dashboard-header,.dashboard-meta-row,.section-heading{flex-direction:column}.users-layout{grid-template-columns:1fr}}.workspace{color:#172033;background:#f5f7fb;min-height:100vh;display:flex}.sidebar{color:#fff;z-index:20;background:#111827;border-right:1px solid #ffffff0f;flex-direction:column;width:250px;display:flex;position:fixed;inset:0 auto 0 0}.sidebar-brand{border-bottom:1px solid #ffffff14;align-items:center;gap:12px;height:72px;padding:0 20px;display:flex}.brand-logo{background:#6366f1;border-radius:10px;place-items:center;width:38px;height:38px;font-size:18px;font-weight:800;display:grid}.sidebar-brand>div:last-child{flex-direction:column;min-width:0;display:flex}.sidebar-brand strong{font-size:15px}.sidebar-brand span{color:#9ca3af;font-size:12px}.sidebar-nav{flex:1;padding:20px 12px;overflow-y:auto}.nav-label{color:#6b7280;letter-spacing:.08em;margin:20px 10px 8px;font-size:11px;font-weight:700}.nav-label:first-child{margin-top:0}.nav-item{color:#cbd5e1;border-radius:9px;align-items:center;gap:12px;min-height:44px;margin:3px 0;padding:0 12px;font-size:14px;font-weight:500;text-decoration:none;transition:background .15s,color .15s;display:flex}.nav-item:hover:not(.nav-disabled){color:#fff;background:#ffffff12}.nav-item.active{color:#fff;background:#6366f1}.nav-icon{place-items:center;width:22px;font-size:17px;display:inline-grid}.nav-disabled{opacity:.38;cursor:not-allowed}.sidebar-footer{border-top:1px solid #ffffff14;padding:16px}.sidebar-user{align-items:center;gap:10px;margin-bottom:12px;display:flex}.user-avatar{background:#374151;border-radius:50%;flex:none;place-items:center;width:36px;height:36px;font-weight:700;display:grid}.sidebar-user-info{flex-direction:column;min-width:0;display:flex}.sidebar-user-info strong{font-size:13px}.sidebar-user-info span{text-overflow:ellipsis;white-space:nowrap;color:#9ca3af;font-size:11px;overflow:hidden}.logout-button{color:#d1d5db;background:#ffffff12;border-radius:8px;width:100%;min-height:38px}.logout-button:hover{color:#fff;background:#ffffff1f}.workspace-main{width:calc(100% - 250px);min-height:100vh;margin-left:250px}.topbar{z-index:10;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);background:#fffffff0;border-bottom:1px solid #e5e7eb;justify-content:space-between;align-items:center;height:72px;padding:0 28px;display:flex;position:sticky;top:0}.topbar-user{color:#6b7280;align-items:center;gap:8px;font-size:13px;display:flex}.online-dot{background:#22c55e;border-radius:50%;width:8px;height:8px}.workspace-content{padding:28px}.page{width:100%;max-width:1500px;margin:0 auto}.page-header{justify-content:space-between;gap:24px;margin-bottom:26px;display:flex}.page-header h1{color:#111827;letter-spacing:-.025em;margin:3px 0 6px;font-size:28px}.page-header p{color:#6b7280;margin:0}.page-kicker{text-transform:uppercase;letter-spacing:.06em;font-size:12px;font-weight:700;color:#6366f1!important}.stats-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:18px;margin-bottom:24px;display:grid}.stat-card{background:#fff;border:1px solid #e5e7eb;border-radius:12px;align-items:center;gap:16px;min-height:110px;padding:20px;display:flex}.stat-icon{color:#4f46e5;background:#eef2ff;border-radius:10px;flex:none;place-items:center;width:46px;height:46px;font-size:21px;display:grid}.stat-card>div:last-child{flex-direction:column;display:flex}.stat-card span{color:#6b7280;font-size:13px}.stat-card strong{color:#111827;margin-top:2px;font-size:24px}.content-card,.users-table-card,.user-form-card{box-shadow:none;background:#fff;border:1px solid #e5e7eb;border-radius:12px}.content-card{padding:24px}.content-card-header{margin-bottom:20px}.content-card-header h2{margin:0;font-size:18px}.content-card-header p{color:#6b7280;margin:4px 0 0;font-size:13px}.quick-actions{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;display:grid}.quick-action{color:#111827;border:1px solid #e5e7eb;border-radius:10px;flex-direction:column;gap:5px;padding:18px;text-decoration:none;display:flex}.quick-action:hover:not(.disabled){background:#f8faff;border-color:#c7d2fe}.quick-action span{color:#6b7280;font-size:13px}.quick-action.disabled{opacity:.5}.empty-state{text-align:center;padding:50px 20px}.empty-state h2{margin:0 0 6px}.empty-state p{color:#6b7280;margin:0}.users-layout{grid-template-columns:minmax(0,1fr) 380px;gap:20px}.users-table-card,.user-form-card{padding:22px}.users-table th{color:#6b7280;white-space:nowrap;background:#f9fafb;padding:12px 10px;font-size:12px}.users-table td{color:#374151;padding:13px 10px;font-size:13px}.users-table tbody tr:hover{background:#f9fafb}.users-table tbody tr.is-active-row{background:#eef2ff}.users-count{color:#4f46e5;background:#eef2ff}.user-form-card .eyebrow,.users-table-card .eyebrow{display:none}.user-form-card h2,.users-table-card h2{margin:0;font-size:18px}.user-form-card .section-heading p,.users-table-card .section-heading p{margin:4px 0 0;font-size:13px}.primary-button{box-shadow:none;background:#4f46e5}.primary-button:hover:not(:disabled){background:#4338ca}.field input,.field select{background:#fff;border-radius:8px}.ghost-button{border-radius:7px;min-height:36px;padding:0 11px;font-size:12px}@media (width<=1100px){.stats-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.users-layout{grid-template-columns:1fr}}@media (width<=760px){.sidebar{width:72px}.sidebar-brand{justify-content:center;padding:0}.sidebar-brand>div:last-child,.nav-label,.nav-item{font-size:0}.nav-item{justify-content:center;padding:0}.nav-icon{font-size:19px}.sidebar-user-info,.logout-button{display:none}.sidebar-user{justify-content:center}.workspace-main{width:calc(100% - 72px);margin-left:72px}.topbar{padding:0 16px}.topbar-user{display:none}.workspace-content{padding:18px}.stats-grid,.quick-actions{grid-template-columns:1fr}}.user-modal-overlay{z-index:99999;-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);background:#0f172a94;justify-content:center;align-items:center;padding:24px;display:flex;position:fixed;inset:0}.user-modal{background:#fff;border:1px solid #e5e7eb;border-radius:16px;width:100%;max-width:620px;max-height:calc(100vh - 48px);animation:.16s ease-out user-modal-enter;overflow-y:auto;box-shadow:0 30px 80px #0f172a40,0 10px 30px #0f172a1f}.user-modal-top{border-bottom:1px solid #e5e7eb;justify-content:space-between;align-items:flex-start;gap:20px;padding:24px 24px 20px;display:flex}.user-modal-top h2{color:#111827;margin:0;font-size:21px;font-weight:700}.user-modal-top p{color:#6b7280;margin:6px 0 0;font-size:13px;line-height:1.5}.user-modal-close{color:#64748b;cursor:pointer;background:0 0;border:0;border-radius:8px;flex:none;justify-content:center;align-items:center;width:36px;height:36px;padding:0;font-size:26px;line-height:1;display:flex}.user-modal-close:hover{color:#111827;background:#f1f5f9}.user-modal-close:disabled{opacity:.5;cursor:not-allowed}.user-modal-error{color:#991b1b;background:#fef2f2;border:1px solid #fecaca;border-radius:8px;margin:20px 24px 0;padding:12px 14px;font-size:13px}.user-modal-form{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;padding:24px;display:grid}.user-modal-form .field{flex-direction:column;gap:7px;display:flex}.user-modal-form .field-span-2{grid-column:1/-1}.user-modal-form label{color:#374151;font-size:13px;font-weight:600}.user-modal-form input,.user-modal-form select{color:#111827;width:100%;height:42px;font:inherit;box-sizing:border-box;background:#fff;border:1px solid #d1d5db;border-radius:8px;padding:0 12px;font-size:13px}.user-modal-form input:focus,.user-modal-form select:focus{border-color:#6366f1;outline:none;box-shadow:0 0 0 3px #6366f11f}.user-modal-form input:disabled{color:#64748b;background:#f8fafc}.user-modal-form .field-help{color:#94a3b8;font-size:11px}.user-modal-actions{border-top:1px solid #e5e7eb;grid-column:1/-1;justify-content:flex-end;gap:10px;margin-top:4px;padding-top:18px;display:flex}.user-modal-actions button{border-radius:8px;width:auto;min-width:100px;min-height:40px;padding:0 16px}@keyframes user-modal-enter{0%{opacity:0;transform:translateY(12px)scale(.98)}to{opacity:1;transform:translateY(0)scale(1)}}@media (width<=640px){.user-modal-overlay{align-items:flex-end;padding:0}.user-modal{border-radius:18px 18px 0 0;max-width:none;max-height:92vh}.user-modal-form{grid-template-columns:1fr;padding:20px}.user-modal-form .field-span-2,.user-modal-actions{grid-column:1}.user-modal-actions{flex-direction:column-reverse}.user-modal-actions button{width:100%}}.users-page-header{align-items:center}.add-user-button{white-space:nowrap;border-radius:9px;justify-content:center;align-self:center;align-items:center;gap:7px;width:auto;min-width:0;min-height:42px;padding:0 18px;display:inline-flex}.button-plus{font-size:18px;line-height:1}.periods-page-header{align-items:center}.add-period-button{white-space:nowrap;border-radius:9px;justify-content:center;align-items:center;gap:7px;width:auto;min-width:0;min-height:42px;padding:0 18px;display:inline-flex}.periods-table-card{background:#fff;border:1px solid #e5e7eb;border-radius:12px;padding:22px}.periods-count{color:#4f46e5;background:#eef2ff;border-radius:999px;padding:8px 12px;font-size:12px;font-weight:700}.periods-table{border-collapse:collapse;width:100%}.periods-table th{color:#6b7280;text-align:left;white-space:nowrap;background:#f9fafb;padding:12px 10px;font-size:12px;font-weight:600}.periods-table td{color:#374151;border-bottom:1px solid #f1f5f9;padding:14px 10px;font-size:13px}.periods-table tbody tr:hover{background:#f9fafb}.periods-table tbody tr:last-child td{border-bottom:0}.period-status-pill{white-space:nowrap;border-radius:999px;align-items:center;min-height:28px;padding:0 10px;font-size:11px;font-weight:700;display:inline-flex}.period-status-open{color:#047857;background:#ecfdf5}.period-status-registration-closed{color:#475569;background:#f1f5f9}.period-status-generating{color:#c2410c;background:#fff7ed}.period-status-draft{color:#1d4ed8;background:#eff6ff}.period-status-approved{color:#4338ca;background:#eef2ff}.period-status-published{color:#15803d;background:#f0fdf4}.table-muted{color:#94a3b8;font-size:12px}.ghost-button.danger{color:#b91c1c}.ghost-button.danger:hover:not(:disabled){background:#fef2f2;border-color:#fecaca}.periods-empty{text-align:center;padding:55px 20px}.periods-empty h3{color:#111827;margin:0 0 6px;font-size:17px}.periods-empty p{color:#6b7280;margin:0;font-size:13px}.period-modal-overlay{z-index:99999;-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);background:#0f172a94;justify-content:center;align-items:center;padding:24px;display:flex;position:fixed;inset:0}.period-modal{background:#fff;border:1px solid #e5e7eb;border-radius:16px;width:100%;max-width:620px;max-height:calc(100vh - 48px);animation:.16s ease-out period-modal-enter;overflow-y:auto;box-shadow:0 30px 80px #0f172a40,0 10px 30px #0f172a1f}.period-modal-top{border-bottom:1px solid #e5e7eb;justify-content:space-between;align-items:flex-start;gap:20px;padding:24px;display:flex}.period-modal-top h2{color:#111827;margin:0;font-size:21px;font-weight:700}.period-modal-top p{color:#6b7280;margin:6px 0 0;font-size:13px;line-height:1.5}.period-modal-close{color:#64748b;cursor:pointer;background:0 0;border:0;border-radius:8px;flex:none;justify-content:center;align-items:center;width:36px;height:36px;padding:0;font-size:26px;display:flex}.period-modal-close:hover{color:#111827;background:#f1f5f9}.period-form-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;padding:24px;display:grid}.period-form-grid .field{flex-direction:column;gap:7px;display:flex}.period-form-grid .field-span-2{grid-column:1/-1}.period-form-grid .field label{color:#374151;font-size:13px;font-weight:600}.period-form-grid .field input{box-sizing:border-box;color:#111827;width:100%;height:42px;font:inherit;background:#fff;border:1px solid #d1d5db;border-radius:8px;padding:0 12px;font-size:13px}.period-form-grid .field input:focus{border-color:#6366f1;outline:none;box-shadow:0 0 0 3px #6366f11f}.period-form-grid .field-help{color:#94a3b8;font-size:11px}.period-form-message{border-radius:8px;grid-column:1/-1;padding:11px 13px;font-size:12px}.period-form-message.error{color:#991b1b;background:#fef2f2;border:1px solid #fecaca}.period-form-message.warning{color:#92400e;background:#fffbeb;border:1px solid #fde68a}.period-modal-actions{border-top:1px solid #e5e7eb;grid-column:1/-1;justify-content:flex-end;gap:10px;margin-top:4px;padding-top:18px;display:flex}.period-modal-actions button{border-radius:8px;width:auto;min-width:100px;min-height:40px;padding:0 16px}@keyframes period-modal-enter{0%{opacity:0;transform:translateY(10px)scale(.985)}to{opacity:1;transform:translateY(0)scale(1)}}@media (width<=640px){.periods-page-header{align-items:stretch}.add-period-button{width:100%}.period-modal-overlay{align-items:flex-end;padding:0}.period-modal{border-radius:18px 18px 0 0;max-width:none;max-height:92vh}.period-form-grid{grid-template-columns:1fr;padding:20px}.period-form-grid .field-span-2,.period-modal-actions,.period-form-message{grid-column:1}.period-modal-actions{flex-direction:column-reverse}.period-modal-actions button{width:100%}}.audit-table{border-collapse:collapse;width:100%}.audit-table th{color:#6b7280;text-align:left;background:#f9fafb;padding:12px 10px;font-size:12px;font-weight:600}.audit-table td{color:#374151;border-bottom:1px solid #f1f5f9;padding:14px 10px;font-size:13px}.audit-table tbody tr:hover{background:#f9fafb}.audit-table tbody tr:last-child td{border-bottom:0}.period-header-actions{align-items:center;gap:10px;display:flex}.period-header-actions .secondary-button,.period-header-actions .primary-button{white-space:nowrap;width:auto;min-height:42px;padding:0 16px}@media (width<=640px){.period-header-actions{flex-direction:column;width:100%}.period-header-actions button{width:100%!important}}.period-automation-card{background:#fff;border:1px solid #e5e7eb;border-radius:14px;margin-bottom:24px;padding:22px 24px;box-shadow:0 1px 2px #0f172a08}.automation-card-top{justify-content:space-between;align-items:flex-start;gap:24px;display:flex}.automation-title-row{align-items:center;gap:12px;display:flex}.automation-title-row h2{color:#111827;margin:0;font-size:18px;font-weight:700}.automation-description{color:#64748b;max-width:650px;margin:7px 0 0;font-size:13px;line-height:1.5}.automation-status{border-radius:999px;align-items:center;gap:6px;min-height:28px;padding:0 10px;font-size:11px;font-weight:700;display:inline-flex}.automation-status.enabled{color:#047857;background:#ecfdf5}.automation-status.disabled{color:#64748b;background:#f1f5f9}.automation-status-dot{background:currentColor;border-radius:50%;width:7px;height:7px}.automation-config-button{width:auto;min-width:100px;padding:0 16px}.automation-config-summary{border-top:1px solid #f1f5f9;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-top:20px;padding-top:20px;display:grid}.automation-summary-item{background:#f8fafc;border-radius:9px;flex-direction:column;gap:5px;min-width:0;padding:14px 16px;display:flex}.automation-summary-label{color:#94a3b8;text-transform:uppercase;letter-spacing:.04em;font-size:11px;font-weight:600}.automation-summary-item strong{color:#1e293b;font-size:14px}.automation-form{padding:24px}.automation-toggle-row{border-bottom:1px solid #e5e7eb;justify-content:space-between;align-items:center;gap:24px;padding-bottom:20px;display:flex}.automation-toggle-row strong{color:#111827;font-size:14px;display:block}.automation-toggle-row p{color:#64748b;margin:5px 0 0;font-size:12px;line-height:1.5}.switch{flex:none;width:48px;height:26px;display:inline-block;position:relative}.switch input{opacity:0;width:0;height:0}.switch-slider{cursor:pointer;background:#cbd5e1;border-radius:999px;transition:background .15s;position:absolute;inset:0}.switch-slider:before{content:"";background:#fff;border-radius:50%;width:20px;height:20px;transition:transform .15s;position:absolute;top:3px;left:3px;box-shadow:0 1px 4px #0f172a40}.switch input:checked+.switch-slider{background:#4f46e5}.switch input:checked+.switch-slider:before{transform:translate(22px)}.switch input:disabled+.switch-slider{cursor:not-allowed;opacity:.6}.automation-fields{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;margin-top:22px;display:grid}.automation-fields.disabled{opacity:.55}.automation-fields .field{flex-direction:column;gap:7px;display:flex}.automation-fields .field-span-2{grid-column:1/-1}.automation-fields label{color:#374151;font-size:13px;font-weight:600}.automation-fields input{box-sizing:border-box;color:#111827;width:100%;height:42px;font:inherit;background:#fff;border:1px solid #d1d5db;border-radius:8px;padding:0 12px;font-size:13px}.automation-fields input:focus{border-color:#6366f1;outline:none;box-shadow:0 0 0 3px #6366f11f}.automation-fields input:disabled{cursor:not-allowed;background:#f8fafc}.number-input-unit{position:relative}.number-input-unit input{padding-right:60px}.number-input-unit span{color:#94a3b8;pointer-events:none;font-size:12px;position:absolute;top:50%;right:12px;transform:translateY(-50%)}.automation-fields .field-help{color:#94a3b8;font-size:11px;line-height:1.4}.automation-preview{background:#f8faff;border:1px solid #e0e7ff;border-radius:9px;margin-top:22px;padding:14px 16px}.automation-preview strong{color:#3730a3;font-size:12px}.automation-preview p{color:#64748b;margin:5px 0 0;font-size:12px;line-height:1.5}.automation-form .period-modal-actions{margin-top:22px}@media (width<=900px){.automation-config-summary{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (width<=640px){.automation-card-top{flex-direction:column}.automation-config-button{width:100%}.automation-title-row{flex-direction:column;align-items:flex-start}.automation-config-summary,.automation-fields{grid-template-columns:1fr}.automation-fields .field-span-2{grid-column:1}}.auth-label-row{justify-content:space-between;align-items:center;gap:16px;display:flex}.auth-text-link{color:#4f46e5;font-size:13px;font-weight:500;text-decoration:none}.auth-text-link:hover{text-decoration:underline}.auth-text-link.strong{font-weight:700}.auth-footer{color:#64748b;justify-content:center;align-items:center;gap:6px;margin-top:22px;font-size:13px;display:flex}.auth-single-card{background:#fff;border:1px solid #e5e7eb;border-radius:16px;width:min(460px,100% - 32px);padding:32px;box-shadow:0 20px 50px #0f172a1a}.auth-button-link{justify-content:center;align-items:center;text-decoration:none;display:flex}.auth-form select{width:100%;min-height:44px;font:inherit;background:#fff;border:1px solid #d1d5db;border-radius:8px;padding:0 12px}.shifts-page-header{align-items:center}.add-shift-button{white-space:nowrap;border-radius:9px;justify-content:center;align-items:center;gap:7px;width:auto;min-width:0;min-height:42px;padding:0 18px;display:inline-flex}.add-shift-button:disabled{opacity:.45;cursor:not-allowed}.shift-period-card{background:#fff;border:1px solid #e5e7eb;border-radius:12px;margin-bottom:22px;padding:22px}.shift-period-selector{justify-content:space-between;align-items:flex-end;gap:24px;display:flex}.shift-period-selector h2{color:#111827;margin:0;font-size:17px;font-weight:700}.shift-period-selector p{color:#64748b;margin:5px 0 0;font-size:13px}.shift-period-select-wrapper{flex-direction:column;gap:6px;width:min(360px,100%);display:flex}.shift-period-select-wrapper label{color:#475569;font-size:12px;font-weight:600}.shift-period-select-wrapper select{color:#111827;width:100%;height:42px;font:inherit;background:#fff;border:1px solid #d1d5db;border-radius:8px;padding:0 12px;font-size:13px}.shift-period-select-wrapper select:focus{border-color:#6366f1;outline:none;box-shadow:0 0 0 3px #6366f11f}.shift-period-summary{border-top:1px solid #f1f5f9;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-top:18px;padding-top:18px;display:grid}.shift-period-summary>div{background:#f8fafc;border-radius:8px;flex-direction:column;gap:4px;padding:12px 14px;display:flex}.shift-period-summary span{color:#94a3b8;text-transform:uppercase;letter-spacing:.04em;font-size:11px;font-weight:600}.shift-period-summary strong{color:#1e293b;font-size:13px}.shift-page-notice{border-radius:9px;margin-bottom:20px;padding:12px 15px;font-size:12px;line-height:1.5}.shift-page-notice.warning{color:#92400e;background:#fffbeb;border:1px solid #fde68a}.shift-page-notice.locked{color:#64748b;background:#f8fafc;border:1px solid #e2e8f0}.shifts-table-card{background:#fff;border:1px solid #e5e7eb;border-radius:12px;padding:22px}.shifts-table{border-collapse:collapse;width:100%}.shifts-table th{color:#64748b;text-align:left;white-space:nowrap;background:#f9fafb;padding:12px 10px;font-size:12px;font-weight:600}.shifts-table td{color:#374151;border-bottom:1px solid #f1f5f9;padding:14px 10px;font-size:13px}.shifts-table tbody tr:hover{background:#f9fafb}.shifts-table tbody tr:last-child td{border-bottom:0}.shifts-empty{text-align:center;padding:55px 20px}.shifts-empty h3{color:#111827;margin:0 0 7px;font-size:17px}.shifts-empty p{color:#64748b;margin:0;font-size:13px}.shift-form-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;padding:24px;display:grid}.shift-form-grid .field{flex-direction:column;gap:7px;display:flex}.shift-form-grid label{color:#374151;font-size:13px;font-weight:600}.shift-form-grid input,.shift-form-grid select{box-sizing:border-box;color:#111827;width:100%;height:42px;font:inherit;background:#fff;border:1px solid #d1d5db;border-radius:8px;padding:0 12px;font-size:13px}.shift-form-grid input:focus,.shift-form-grid select:focus{border-color:#6366f1;outline:none;box-shadow:0 0 0 3px #6366f11f}.shift-form-grid input:disabled,.shift-form-grid select:disabled{cursor:not-allowed;background:#f8fafc}.shift-gender-note{color:#64748b;background:#f8faff;border:1px solid #e0e7ff;border-radius:8px;grid-column:1/-1;padding:12px 14px;font-size:12px;line-height:1.5}.shift-gender-note strong{color:#4338ca}.shift-modal{max-width:680px}.shift-form-grid .period-form-message,.shift-form-grid .period-modal-actions{grid-column:1/-1}@media (width<=800px){.shift-period-selector{flex-direction:column;align-items:stretch}.shift-period-select-wrapper{width:100%}.shift-period-summary{grid-template-columns:1fr}}@media (width<=640px){.shifts-page-header{align-items:stretch}.add-shift-button{width:100%}.shift-form-grid{grid-template-columns:1fr;padding:20px}.shift-form-grid .period-form-message,.shift-form-grid .period-modal-actions,.shift-gender-note{grid-column:1}}.shift-header-actions{align-items:center;gap:10px;display:flex}.shift-header-actions .secondary-button,.shift-header-actions .primary-button{white-space:nowrap;width:auto;min-height:42px;padding:0 16px}.shift-automation-overview{background:#fff;border:1px solid #e5e7eb;border-radius:12px;justify-content:space-between;align-items:center;gap:24px;margin-bottom:18px;padding:22px 24px;display:flex}.shift-automation-overview h2{color:#111827;margin:3px 0 6px;font-size:18px}.shift-automation-overview p:not(.page-kicker){color:#64748b;max-width:720px;margin:0;font-size:13px;line-height:1.5}.shift-automation-overview-actions{flex:none;align-items:center;gap:14px;display:flex}.shift-automation-target{flex-direction:column;gap:4px;min-width:190px;display:flex}.shift-automation-target span{color:#94a3b8;text-transform:uppercase;letter-spacing:.04em;font-size:11px;font-weight:600}.shift-automation-target strong{color:#1e293b;font-size:13px}.shift-automation-overview-actions .primary-button{width:auto;min-width:112px;min-height:40px;padding:0 16px}.shift-automation-card{background:#fff;border:1px solid #e5e7eb;border-radius:12px;margin-bottom:24px;padding:22px}.shift-automation-heading{align-items:center}.shift-automation-count{color:#4f46e5;white-space:nowrap;background:#eef2ff;border-radius:999px;padding:8px 12px;font-size:12px;font-weight:700}.shift-automation-table{border-collapse:collapse;width:100%}.shift-automation-table th{color:#64748b;text-align:left;white-space:nowrap;background:#f9fafb;padding:12px 10px;font-size:12px;font-weight:600}.shift-automation-table td{color:#374151;vertical-align:middle;border-bottom:1px solid #f1f5f9;padding:14px 10px;font-size:13px}.shift-automation-table tbody tr:hover{background:#f9fafb}.shift-automation-table tbody tr:last-child td{border-bottom:0}.shifts-empty.compact{padding:34px 20px}.shift-period-card-spaced{margin-top:6px}.shift-source-badge{white-space:nowrap;border-radius:999px;align-items:center;min-height:26px;padding:0 9px;font-size:11px;font-weight:700;display:inline-flex}.shift-source-badge.auto{color:#4338ca;background:#eef2ff}.shift-source-badge.manual{color:#475569;background:#f1f5f9}.shift-automation-modal{max-width:700px}.shift-automation-form{padding:24px}.shift-automation-form>.period-form-message{margin-bottom:18px}.shift-automation-fields{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;margin-top:22px;display:grid}.shift-automation-fields .field{flex-direction:column;gap:7px;display:flex}.shift-automation-fields .field-span-2{grid-column:1/-1}.shift-automation-fields label{color:#374151;font-size:13px;font-weight:600}.shift-automation-fields input{box-sizing:border-box;color:#111827;width:100%;height:42px;font:inherit;background:#fff;border:1px solid #d1d5db;border-radius:8px;padding:0 12px;font-size:13px}.shift-automation-fields input:focus{border-color:#6366f1;outline:none;box-shadow:0 0 0 3px #6366f11f}.shift-automation-fields .field-help{color:#94a3b8;font-size:11px;line-height:1.4}.weekday-picker{grid-template-columns:repeat(7,minmax(0,1fr));gap:8px;display:grid}.weekday-button{color:#64748b;cursor:pointer;background:#fff;border:1px solid #dbe1ea;border-radius:8px;min-height:38px;padding:0 10px;font-size:12px;font-weight:700}.weekday-button:hover:not(:disabled){color:#4338ca;background:#f8faff;border-color:#c7d2fe}.weekday-button.active{color:#4338ca;background:#eef2ff;border-color:#6366f1}.shift-automation-form .shift-gender-note{margin-top:18px}.shift-automation-form .period-modal-actions{margin-top:22px}@media (width<=900px){.shift-automation-overview{flex-direction:column;align-items:stretch}.shift-automation-overview-actions{justify-content:space-between}}@media (width<=700px){.shift-header-actions,.shift-automation-overview-actions{flex-direction:column;align-items:stretch;width:100%}.shift-header-actions button,.shift-automation-overview-actions button{width:100%!important}.shift-automation-target{min-width:0}.shift-automation-fields{grid-template-columns:1fr}.shift-automation-fields .field-span-2{grid-column:1}.weekday-picker{grid-template-columns:repeat(4,minmax(0,1fr))}}.availability-period-card{background:#fff;border:1px solid #e5e7eb;border-radius:12px;margin-bottom:22px;padding:22px}.availability-period-top{justify-content:space-between;align-items:flex-end;gap:24px;display:flex}.availability-period-top h2{color:#111827;margin:0;font-size:17px;font-weight:700}.availability-period-top p{color:#64748b;margin:5px 0 0;font-size:13px}.availability-period-select{flex-direction:column;gap:6px;width:min(360px,100%);display:flex}.availability-period-select label{color:#475569;font-size:12px;font-weight:600}.availability-period-select select{color:#111827;width:100%;height:42px;font:inherit;background:#fff;border:1px solid #d1d5db;border-radius:8px;padding:0 12px;font-size:13px}.availability-period-select select:focus{border-color:#6366f1;outline:none;box-shadow:0 0 0 3px #6366f11f}.availability-period-summary{border-top:1px solid #f1f5f9;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-top:18px;padding-top:18px;display:grid}.availability-period-summary>div{background:#f8fafc;border-radius:8px;flex-direction:column;gap:5px;min-width:0;padding:12px 14px;display:flex}.availability-period-summary span{color:#94a3b8;text-transform:uppercase;letter-spacing:.04em;font-size:11px;font-weight:600}.availability-period-summary strong{color:#1e293b;font-size:13px;line-height:1.4}.availability-period-summary strong.availability-open{color:#047857}.availability-period-summary strong.availability-locked{color:#b45309}.availability-lock-notice{color:#92400e;background:#fffbeb;border:1px solid #fde68a;border-radius:9px;margin-bottom:20px;padding:12px 15px;font-size:12px;line-height:1.5}.availability-form-heading{background:#fff;border:1px solid #e5e7eb;border-radius:12px;justify-content:space-between;align-items:flex-start;gap:24px;padding:22px;display:flex}.availability-form-heading h2{color:#111827;margin:0;font-size:17px;font-weight:700}.availability-form-heading p{color:#64748b;max-width:760px;margin:6px 0 0;font-size:13px;line-height:1.5}.availability-selected-count{color:#4f46e5;background:#eef2ff;border-radius:999px;flex:none;padding:8px 12px;font-size:12px;font-weight:700}.availability-days{flex-direction:column;gap:14px;display:flex}.availability-day-card{background:#fff;border:1px solid #e5e7eb;border-radius:12px;padding:20px}.availability-day-header{justify-content:space-between;align-items:center;gap:12px;margin-bottom:14px;display:flex}.availability-day-header h3{color:#111827;text-transform:capitalize;margin:0;font-size:15px;font-weight:700}.availability-day-header>span{color:#94a3b8;font-size:12px}.availability-shift-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;display:grid}.availability-shift-card{cursor:pointer;background:#fff;border:1px solid #e2e8f0;border-radius:10px;align-items:center;gap:12px;min-width:0;min-height:70px;padding:13px 14px;transition:border-color .15s,background .15s,box-shadow .15s;display:flex;position:relative}.availability-shift-card:hover:not(.disabled){background:#fafaff;border-color:#a5b4fc}.availability-shift-card.selected{background:#eef2ff;border-color:#6366f1;box-shadow:0 0 0 1px #6366f114}.availability-shift-card.disabled{cursor:default;opacity:.72}.availability-shift-card>input{opacity:0;pointer-events:none;width:1px;height:1px;position:absolute}.availability-checkbox{color:#fff;background:#fff;border:1px solid #cbd5e1;border-radius:6px;flex:0 0 22px;justify-content:center;align-items:center;width:22px;height:22px;font-size:13px;font-weight:700;display:inline-flex}.availability-shift-card.selected .availability-checkbox{background:#4f46e5;border-color:#4f46e5}.availability-shift-content{flex-direction:column;gap:4px;min-width:0;display:flex}.availability-shift-content strong{color:#1e293b;text-overflow:ellipsis;white-space:nowrap;font-size:13px;font-weight:700;overflow:hidden}.availability-shift-content span{color:#64748b;font-size:12px}.availability-save-bar{z-index:20;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:#fffffff5;border:1px solid #dbe3ef;border-radius:12px;justify-content:space-between;align-items:center;gap:20px;padding:15px 18px;display:flex;position:sticky;bottom:18px;box-shadow:0 14px 35px #0f172a1f}.availability-save-bar>div{flex-direction:column;gap:3px;display:flex}.availability-save-bar strong{color:#111827;font-size:13px}.availability-save-bar span{color:#64748b;font-size:11px}.availability-empty,.availability-no-period{text-align:center;padding:48px 22px}.availability-empty{background:#fff;border:1px solid #e5e7eb;border-radius:12px}.availability-empty h2,.availability-no-period h2{color:#111827;margin:0 0 7px;font-size:17px}.availability-empty p,.availability-no-period p{color:#64748b;margin:0;font-size:13px}@media (width<=1000px){.availability-period-summary,.availability-shift-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (width<=700px){.availability-period-top,.availability-form-heading,.availability-save-bar{flex-direction:column;align-items:stretch}.availability-period-select,.availability-save-button{width:100%}.availability-period-summary,.availability-shift-grid{grid-template-columns:1fr}.availability-save-bar{bottom:10px}}.availability-form{flex-direction:column;gap:18px;display:flex}.availability-selection-header p{color:#64748b;margin:5px 0 0;font-size:13px}.availability-total-selected{background:#eef2ff;border-radius:10px;flex-direction:column;justify-content:center;align-items:center;min-width:90px;padding:10px 14px;display:flex}.availability-total-selected strong{color:#4f46e5;font-size:20px}.availability-total-selected span{color:#64748b;margin-top:2px;font-size:11px}.availability-week-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;display:grid}.availability-week-day{background:#fff;border:1px solid #e5e7eb;border-radius:12px;min-width:0;padding:16px}.availability-week-day-header>div{flex-direction:column;gap:2px;display:flex}.availability-week-day-header strong{color:#111827;text-transform:capitalize;font-size:14px;font-weight:700}.availability-week-day-header span{color:#64748b;font-size:12px}.availability-day-count{text-align:center;background:#f1f5f9;border-radius:999px;min-width:40px;padding:5px 8px;font-weight:700;color:#475569!important;font-size:11px!important}.availability-shift-main strong{color:#1e293b;font-size:13px;font-weight:700}.availability-shift-main span{color:#64748b;font-size:12px}.availability-mobile-save{z-index:30;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:#fffffff7;border:1px solid #dbe3ef;border-radius:12px;justify-content:space-between;align-items:center;gap:14px;padding:12px 14px;display:flex;position:sticky;bottom:12px;box-shadow:0 10px 30px #0f172a24}.availability-mobile-save>div{flex-direction:column;gap:2px;display:flex}.availability-mobile-save strong{color:#111827;font-size:13px}.availability-mobile-save span{color:#64748b;font-size:11px}.availability-mobile-save button{width:auto;min-width:135px;min-height:42px}@media (width<=1100px){.availability-week-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (width<=680px){.availability-selection-header{flex-direction:column;align-items:stretch}.availability-total-selected{box-sizing:border-box;flex-direction:row;gap:5px;width:100%}.availability-week-grid{grid-template-columns:1fr;gap:10px}.availability-week-day{padding:14px}.availability-shift-option{min-height:62px;padding:12px 13px}.availability-shift-check{flex-basis:24px;width:24px;height:24px}.availability-shift-main strong{font-size:14px}.availability-shift-main span{font-size:13px}.availability-mobile-save{bottom:8px}.availability-mobile-save button{min-width:120px}}.bulk-shift-form .field-span-2{grid-column:1/-1}.bulk-shift-date-section{background:#f8fafc;border:1px solid #e2e8f0;border-radius:10px;flex-direction:column;grid-column:1/-1;gap:14px;padding:16px;display:flex}.bulk-shift-date-heading{justify-content:space-between;align-items:flex-start;gap:16px;display:flex}.bulk-shift-date-heading strong{color:#111827;font-size:13px;font-weight:700}.bulk-shift-date-heading p{color:#64748b;margin:4px 0 0;font-size:12px;line-height:1.45}.bulk-shift-date-actions{flex:none;align-items:center;gap:8px;display:flex}.bulk-shift-date-actions .ghost-button{min-height:34px;padding:0 11px;font-size:11px}.bulk-shift-date-grid{grid-template-columns:repeat(7,minmax(0,1fr));gap:8px;display:grid}.bulk-shift-date-option{color:#334155;min-width:0;min-height:70px;font:inherit;cursor:pointer;background:#fff;border:1px solid #dbe3ef;border-radius:9px;justify-content:center;align-items:center;gap:8px;padding:9px 8px;transition:border-color .15s,background .15s,box-shadow .15s,transform .1s;display:flex}.bulk-shift-date-option:hover:not(:disabled){background:#fafaff;border-color:#a5b4fc}.bulk-shift-date-option:active:not(:disabled){transform:scale(.98)}.bulk-shift-date-option.selected{background:#eef2ff;border-color:#6366f1;box-shadow:0 0 0 1px #6366f114}.bulk-shift-date-option:disabled{cursor:not-allowed;opacity:.6}.bulk-shift-date-check{color:#fff;background:#fff;border:1px solid #cbd5e1;border-radius:5px;flex:0 0 20px;justify-content:center;align-items:center;width:20px;height:20px;font-size:12px;font-weight:700;display:inline-flex}.bulk-shift-date-option.selected .bulk-shift-date-check{background:#4f46e5;border-color:#4f46e5}.bulk-shift-date-option>span:last-child{flex-direction:column;align-items:flex-start;gap:2px;min-width:0;display:flex}.bulk-shift-date-option strong{color:#1e293b;text-transform:capitalize;font-size:12px;font-weight:700}.bulk-shift-date-option small{color:#64748b;font-size:10px}.bulk-shift-selected-summary{color:#64748b;font-size:11px}.bulk-shift-selected-summary strong{color:#4338ca}@media (width<=900px){.bulk-shift-date-grid{grid-template-columns:repeat(4,minmax(0,1fr))}}@media (width<=640px){.bulk-shift-date-heading{flex-direction:column}.bulk-shift-date-actions{width:100%}.bulk-shift-date-actions .ghost-button{flex:1}.bulk-shift-date-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.bulk-shift-date-option{justify-content:flex-start;min-height:62px}}.availability-page{padding-bottom:120px}.availability-selection-header{background:#fff;border:1px solid #e5e7eb;border-radius:12px;justify-content:space-between;align-items:center;gap:20px;padding:18px 20px;display:flex}.availability-selection-header h2{color:#111827;margin:0;font-size:17px;font-weight:700}.availability-selection-header p{color:#64748b;max-width:760px;margin:5px 0 0;font-size:13px;line-height:1.5}.availability-selection-status{background:#eef2ff;border-radius:10px;flex-direction:column;justify-content:center;align-items:center;min-width:92px;padding:9px 12px;display:flex}.availability-selection-status strong{color:#4f46e5;font-size:19px}.availability-selection-status span{color:#64748b;margin-top:2px;font-size:11px}.availability-day-navigator{scrollbar-width:thin;grid-template-columns:repeat(7,minmax(84px,1fr));gap:8px;padding:2px 0 4px;display:grid;overflow-x:auto}.availability-day-nav-item{color:#475569;cursor:pointer;background:#fff;border:1px solid #e2e8f0;border-radius:9px;flex-direction:column;justify-content:center;align-items:center;gap:2px;min-width:84px;min-height:54px;padding:7px 10px;display:flex;position:relative}.availability-day-nav-item:hover{border-color:#a5b4fc}.availability-day-nav-item.selected{background:#eef2ff;border-color:#818cf8}.availability-day-nav-item strong{color:#1e293b;font-size:12px}.availability-day-nav-item span{color:#64748b;font-size:11px}.availability-day-nav-item em{color:#fff;background:#4f46e5;border-radius:999px;justify-content:center;align-items:center;min-width:18px;height:18px;font-size:10px;font-style:normal;font-weight:700;display:inline-flex;position:absolute;top:5px;right:6px}.availability-week-board{scroll-snap-type:x proximity;scrollbar-width:thin;grid-template-columns:repeat(7,minmax(150px,1fr));gap:10px;padding:2px 0 8px;display:grid;overflow-x:auto}.availability-week-day{scroll-snap-align:start;background:#fff;border:1px solid #e5e7eb;border-radius:12px;min-width:150px;padding:12px;transition:border-color .15s,box-shadow .15s}.availability-week-day.has-selection{border-color:#c7d2fe;box-shadow:0 0 0 1px #6366f10d}.availability-week-day-header{border-bottom:1px solid #f1f5f9;justify-content:space-between;align-items:center;gap:8px;margin-bottom:8px;padding-bottom:10px;display:flex}.availability-day-title{align-items:baseline;gap:6px;display:flex}.availability-day-weekday{color:#4f46e5;font-size:12px;font-weight:800}.availability-day-title strong{color:#1e293b;font-size:13px;font-weight:700}.availability-day-count{color:#64748b;text-align:center;background:#f1f5f9;border-radius:999px;min-width:38px;padding:4px 7px;font-size:10px;font-weight:700}.availability-select-day-button{color:#4f46e5;cursor:pointer;background:#fafaff;border:1px dashed #c7d2fe;border-radius:7px;width:100%;min-height:30px;margin-bottom:8px;padding:5px 8px;font-size:10px;font-weight:700}.availability-select-day-button:hover{background:#eef2ff}.availability-day-shifts{flex-direction:column;gap:7px;display:flex}.availability-shift-option{width:100%;min-height:52px;color:inherit;text-align:left;cursor:pointer;background:#fff;border:1px solid #e2e8f0;border-radius:8px;align-items:center;gap:8px;padding:8px 9px;transition:background .15s,border-color .15s,transform .1s,box-shadow .15s;display:flex}.availability-shift-option:hover:not(:disabled){background:#fafaff;border-color:#a5b4fc}.availability-shift-option:active:not(:disabled){transform:scale(.985)}.availability-shift-option.selected{background:#eef2ff;border-color:#6366f1;box-shadow:0 0 0 1px #6366f112}.availability-shift-option:disabled{cursor:default;opacity:.64}.availability-shift-check{color:#fff;background:#fff;border:1px solid #cbd5e1;border-radius:5px;flex:0 0 20px;justify-content:center;align-items:center;width:20px;height:20px;font-size:11px;font-weight:800;display:inline-flex}.availability-shift-option.selected .availability-shift-check{background:#4f46e5;border-color:#4f46e5}.availability-shift-main{flex-direction:column;gap:2px;min-width:0;display:flex}.availability-shift-main strong{color:#1e293b;text-overflow:ellipsis;white-space:nowrap;font-size:12px;font-weight:700;overflow:hidden}.availability-shift-main span{color:#64748b;white-space:nowrap;font-size:10px}.availability-selected-summary{background:#fff;border:1px solid #e5e7eb;border-radius:12px;padding:16px 18px}.availability-selected-summary-heading{justify-content:space-between;align-items:center;gap:16px;display:flex}.availability-selected-summary-heading>div{flex-direction:column;gap:3px;display:flex}.availability-selected-summary-heading strong{color:#111827;font-size:13px}.availability-selected-summary-heading span{color:#64748b;font-size:11px}.availability-selected-total{background:#eef2ff;border-radius:999px;padding:6px 10px;font-weight:700;color:#4f46e5!important}.availability-selected-day-list{scrollbar-width:thin;gap:7px;margin-top:12px;padding-bottom:2px;display:flex;overflow-x:auto}.availability-selected-day-chip{color:#475569;cursor:pointer;background:#f8faff;border:1px solid #c7d2fe;border-radius:8px;flex:none;align-items:center;gap:5px;min-height:36px;padding:6px 9px;display:inline-flex}.availability-selected-day-chip strong{color:#4f46e5;font-size:11px}.availability-selected-day-chip span{color:#334155;font-size:11px}.availability-selected-day-chip em{color:#64748b;font-size:10px;font-style:normal}.availability-selected-empty{color:#94a3b8;font-size:11px}.availability-save-bar{z-index:30;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:#fffffff7;border:1px solid #dbe3ef;border-radius:12px;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:14px;padding:12px 14px;display:grid;position:sticky;bottom:12px;box-shadow:0 12px 32px #0f172a24}.availability-save-info{flex-direction:column;gap:2px;min-width:150px;display:flex}.availability-save-info strong{color:#111827;font-size:12px}.availability-save-info span{color:#64748b;font-size:10px}.availability-save-days{scrollbar-width:thin;gap:5px;min-width:0;padding:2px 0;display:flex;overflow-x:auto}.availability-save-days>span{color:#475569;background:#f1f5f9;border-radius:7px;flex:none;padding:5px 7px;font-size:10px}.availability-save-days strong{color:#4f46e5}.availability-save-button{width:auto;min-width:126px;min-height:40px;padding:0 14px}@media (width<=1180px){.availability-week-board{grid-template-columns:repeat(7,minmax(170px,170px))}}@media (width<=760px){.availability-selection-header{flex-direction:column;align-items:stretch}.availability-selection-status{box-sizing:border-box;flex-direction:row;gap:5px;width:100%}.availability-day-navigator{grid-template-columns:repeat(7,72px);margin-right:-4px}.availability-day-nav-item{min-width:72px}.availability-week-board{scroll-snap-type:x mandatory;grid-template-columns:repeat(7,minmax(78vw,78vw));gap:10px;margin-right:-12px;padding-right:12px}.availability-week-day{scroll-snap-align:center;min-width:0;padding:14px}.availability-shift-option{min-height:60px;padding:11px 12px}.availability-shift-check{flex-basis:24px;width:24px;height:24px}.availability-shift-main strong{font-size:14px}.availability-shift-main span{font-size:12px}.availability-selected-summary-heading{align-items:flex-start}.availability-save-bar{grid-template-columns:minmax(0,1fr) auto;bottom:8px}.availability-save-days{grid-area:1/1/auto/-1}.availability-save-info{grid-area:2/1}.availability-save-button{grid-area:2/2;min-width:118px}}.schedule-page{gap:20px;display:grid}.schedule-page-header{margin-bottom:0}.schedule-period-card{padding-bottom:18px}.schedule-period-toolbar{align-items:flex-end;gap:20px}.schedule-period-select{min-width:min(420px,100%);color:var(--text-primary);background:#fff;border:1px solid #14213d24;border-radius:14px;padding:12px 14px;font-weight:600}.schedule-period-select:focus{border-color:#ef476f8c;outline:none;box-shadow:0 0 0 4px #ef476f1a}.schedule-workflow-card{background:radial-gradient(circle at 100% 0,#ef476f1c,#0000 32%),#fff;border:1px solid #14213d1a;border-radius:22px;gap:18px;padding:24px;display:grid;box-shadow:0 14px 34px #14213d14}.schedule-workflow-main{justify-content:space-between;align-items:flex-start;gap:20px;display:flex}.schedule-workflow-main h2{color:var(--text-primary);margin:10px 0 4px;font-size:1.5rem}.schedule-workflow-main p{color:var(--text-muted);margin:0}.schedule-status{width:fit-content;color:var(--text-primary);background:#14213d14;border-radius:999px;align-items:center;padding:7px 10px;font-size:.78rem;font-weight:800;display:inline-flex}.schedule-status.status-registration_closed,.schedule-status.status-draft{color:#92400e;background:#f59e0b21}.schedule-status.status-approved{color:#0e7490;background:#0e74901f}.schedule-status.status-published{color:#0f766e;background:#0f766e1f}.schedule-status.status-open{color:#1d4ed8;background:#2563eb1a}.schedule-workflow-actions{flex-wrap:wrap;justify-content:flex-end;gap:10px;display:flex}.danger-button{color:var(--danger);background:#b4231814;border:1px solid #b4231833;border-radius:12px;justify-content:center;align-items:center;padding:11px 16px;font-weight:700;display:inline-flex}.danger-button:hover:not(:disabled){background:#b4231821}.danger-button:disabled,.schedule-workflow-actions button:disabled{cursor:not-allowed;opacity:.55}.schedule-workflow-meta{color:var(--text-muted);border-top:1px solid #14213d14;flex-wrap:wrap;gap:10px 18px;padding-top:16px;font-size:.86rem;display:flex}.schedule-workflow-meta strong{color:var(--text-primary)}.schedule-stats-grid{margin:0}.schedule-warning-card{color:#78350f;background:#f59e0b17;border:1px solid #f59e0b40;border-radius:16px;align-items:flex-start;gap:12px;padding:16px 18px;display:flex}.schedule-warning-card strong{flex:none}.schedule-warning-card span{color:#92400e}.schedule-shift-list{gap:14px;display:grid}.schedule-shift-card{background:#fff;border:1px solid #14213d1a;border-radius:18px;gap:16px;padding:18px;display:grid}.schedule-shift-card.covered{border-color:#0f766e33}.schedule-shift-card.shortage{background:#fffafaeb;border-color:#b4231833}.schedule-shift-heading{justify-content:space-between;align-items:flex-start;gap:16px;display:flex}.schedule-shift-heading span:first-child{color:var(--text-muted);text-transform:capitalize;font-size:.82rem;font-weight:700}.schedule-shift-heading h3{color:var(--text-primary);margin:3px 0 2px;font-size:1.08rem}.schedule-shift-heading p{color:var(--text-muted);margin:0;font-size:.9rem}.coverage-badge{border-radius:999px;flex:none;padding:6px 9px;font-size:.75rem;font-weight:800;display:inline-flex}.coverage-badge.ok{color:#0f766e;background:#0f766e1a}.coverage-badge.warning{color:#b42318;background:#b4231817}.topbar-left{align-items:center;gap:12px;min-width:0;display:flex}.sidebar-toggle-button{color:#4338ca;background:#eef2ff;border-radius:10px;justify-content:center;align-items:center;width:40px;height:40px;font-size:18px;font-weight:700;display:none}.sidebar-overlay{z-index:18;opacity:0;visibility:hidden;background:#0f172a70;border:0;padding:0;transition:opacity .15s,visibility .15s;position:fixed;inset:0}.sidebar-overlay.visible{opacity:1;visibility:visible}.swap-textarea{resize:vertical;width:100%;min-height:108px;color:var(--text-primary);background:#ffffffe6;border:1px solid #14213d24;border-radius:14px;padding:14px 16px}.swap-textarea:focus{border-color:#ef476f8c;outline:none;box-shadow:0 0 0 4px #ef476f1f}.empty-state.compact{padding:24px 18px}.shift-swaps-layout{grid-template-columns:minmax(0,1.08fr) minmax(320px,.92fr);gap:20px;display:grid}.shift-swap-form-grid,.shift-swap-request-list,.shift-swap-target-list{gap:16px;display:grid}.shift-swap-highlight-card,.shift-swap-target-card,.shift-swap-request-card,.shift-swap-note-box{background:#fff;border:1px solid #e5e7eb;border-radius:14px}.shift-swap-highlight-card{background:#f8faff;padding:14px 16px}.shift-swap-highlight-card span,.shift-swap-request-grid span,.shift-swap-participants span,.shift-swap-note-box span{color:#6b7280;margin-bottom:4px;font-size:12px;font-weight:700;display:block}.shift-swap-highlight-card strong,.shift-swap-request-grid strong,.shift-swap-participants strong{color:#111827;font-size:15px}.shift-swap-highlight-card p,.shift-swap-request-grid p,.shift-swap-participants p,.shift-swap-note-box p,.shift-swap-target-card p,.shift-swap-target-card small{color:#6b7280;margin:0;font-size:13px}.shift-swap-target-card{text-align:left;gap:8px;width:100%;padding:14px 16px;transition:border-color .14s,background .14s;display:grid}.shift-swap-target-card:hover{background:#fafaff;border-color:#c7d2fe}.shift-swap-target-card.selected{background:#f5f7ff;border-color:#6366f1;box-shadow:inset 0 0 0 1px #6366f11a}.shift-swap-target-top,.shift-swap-request-head{justify-content:space-between;align-items:flex-start;gap:12px;display:flex}.shift-swap-target-top strong{color:#111827;font-size:14px}.shift-swap-target-top span{color:#6366f1;font-size:12px;font-weight:700}.shift-swap-target-metrics{flex-wrap:wrap;gap:8px;display:flex}.shift-swap-target-metrics span{color:#4b5563;background:#f3f4f6;border-radius:999px;align-items:center;min-height:28px;padding:0 10px;font-size:12px;display:inline-flex}.shift-swap-empty-inline{color:#6b7280;text-align:center;border:1px dashed #d1d5db;border-radius:14px;padding:18px 14px;font-size:13px}.shift-swap-request-card{gap:14px;padding:16px;display:grid}.shift-swap-request-card.admin{padding:18px}.shift-swap-request-grid,.shift-swap-participants{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;display:grid}.shift-swap-note-box{background:#fafafa;padding:12px 14px}.shift-swap-note-box.admin{background:#fff7ed;border-color:#fed7aa}.swap-status-badge{border-radius:999px;align-items:center;min-height:30px;padding:0 10px;font-size:12px;font-weight:800;display:inline-flex}.swap-status-badge.status-pending{color:#b45309;background:#f59e0b24}.swap-status-badge.status-approved{color:#047857;background:#10b98124}.swap-status-badge.status-rejected,.swap-status-badge.status-cancelled{color:#b91c1c;background:#ef44441f}@media (width<=1100px){.shift-swaps-layout{grid-template-columns:1fr}}@media (width<=760px){.workspace{display:block}.sidebar{width:min(82vw,300px);transition:transform .17s;transform:translate(-100%);box-shadow:18px 0 45px #0f172a3d}.sidebar.is-open{transform:translate(0)}.sidebar-toggle-button{display:inline-flex}.sidebar-brand{justify-content:flex-start;padding:0 20px}.sidebar-brand>div:last-child,.nav-label,.nav-item{font-size:revert}.nav-item{justify-content:flex-start;padding:0 12px}.sidebar-user-info,.logout-button{display:flex}.sidebar-user{justify-content:flex-start}.workspace-main{width:100%;min-height:100vh;margin-left:0}.page-header,.content-card-header,.dashboard-header,.dashboard-meta-row{flex-direction:column;align-items:flex-start}.topbar{height:auto;min-height:72px;padding:12px 16px}.topbar strong{font-size:16px}.topbar-user{display:none}.workspace-content{padding:16px}.content-card,.users-table-card,.user-form-card,.stat-card{border-radius:14px}.content-card{padding:18px}.stat-card{min-height:96px;padding:16px}.shift-swap-request-grid,.shift-swap-participants{grid-template-columns:1fr}.table-actions{width:100%}.table-actions>*{flex:100%}}.user-contact-cell{gap:5px;min-width:118px;display:grid}.user-contact-cell strong{color:#111827;font-size:.78rem}.user-contact-actions{flex-wrap:wrap;gap:6px;display:flex}.user-contact-link{color:#374151;background:#fff;border:1px solid #dbe2ea;border-radius:8px;justify-content:center;align-items:center;min-height:28px;padding:0 9px;font-size:.68rem;font-weight:700;text-decoration:none;display:inline-flex}.user-contact-link:hover{background:#f8faff;border-color:#a5b4fc}.user-contact-link.zalo{color:#2563eb;background:#2563eb0f;border-color:#2563eb33}.admin-section-tabs{background:#f8fafc;border:1px solid #e2e8f0;border-radius:14px;gap:6px;width:fit-content;max-width:100%;margin:4px 0 18px;padding:5px;display:flex;overflow-x:auto}.admin-section-tabs button{color:#64748b;min-height:38px;font:inherit;cursor:pointer;background:0 0;border:0;border-radius:10px;flex:none;padding:0 14px;font-size:.82rem;font-weight:800}.admin-section-tabs button:hover{color:#334155;background:#ffffffb8}.admin-section-tabs button.active{color:var(--text-primary);background:#fff;box-shadow:0 4px 12px #0f172a14}@media (width<=760px){.admin-section-tabs{width:100%;margin-bottom:14px}.admin-section-tabs button{white-space:nowrap;flex:1 0 auto}}.schedule-coverage-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;display:grid}.schedule-coverage-grid>div{background:#f7f9fc;border-radius:14px;gap:3px;padding:12px;display:grid}.schedule-coverage-grid span{color:var(--text-muted);font-size:.78rem;font-weight:700}.schedule-coverage-grid strong{color:var(--text-primary);font-size:1.28rem}.schedule-coverage-grid small{color:var(--text-muted);font-size:.75rem}.schedule-assignment-list{flex-wrap:wrap;gap:8px;padding-top:4px;display:flex}.schedule-assignee-chip{background:#fff;border:1px solid #14213d17;border-radius:999px;align-items:center;gap:7px;padding:7px 10px;font-size:.78rem;display:inline-flex}.schedule-assignee-chip strong{color:var(--text-primary);font-weight:700}.schedule-assignee-chip em{color:var(--text-muted);font-style:normal}.my-schedule-page{gap:20px;display:grid}.my-schedule-hero{background:radial-gradient(circle at 100% 0,#ef476f29,#0000 34%),linear-gradient(145deg,#fff,#fff8f2);border:1px solid #14213d1a;border-radius:22px;justify-content:space-between;align-items:center;gap:24px;padding:24px;display:flex;box-shadow:0 14px 34px #14213d14}.my-schedule-label{color:#0f766e;background:#0f766e1a;border-radius:999px;padding:6px 9px;font-size:.76rem;font-weight:800;display:inline-flex}.my-schedule-hero h2{color:var(--text-primary);margin:10px 0 4px;font-size:1.55rem}.my-schedule-hero p{color:var(--text-muted);margin:0}.my-schedule-total{background:#ffffffd1;border:1px solid #14213d14;border-radius:18px;justify-items:center;min-width:116px;padding:14px 18px;display:grid}.my-schedule-total strong{color:var(--text-primary);font-size:2rem;line-height:1}.my-schedule-total span{color:var(--text-muted);margin-top:5px;font-size:.78rem;font-weight:700}.my-schedule-day-list{gap:14px;display:grid}.my-schedule-day-card{background:#fff;border:1px solid #14213d1a;border-radius:20px;overflow:hidden;box-shadow:0 12px 30px #14213d0f}.my-schedule-day-heading{background:#f7f9fc;border-bottom:1px solid #14213d14;justify-content:space-between;align-items:center;gap:16px;padding:16px 18px;display:flex}.my-schedule-day-heading span{color:var(--text-muted);text-transform:uppercase;letter-spacing:.04em;margin-bottom:2px;font-size:.75rem;font-weight:700;display:block}.my-schedule-day-heading h3{color:var(--text-primary);text-transform:capitalize;margin:0;font-size:1rem}.my-schedule-day-heading>strong{color:var(--accent-strong);font-size:.85rem}.my-schedule-shifts{display:grid}.my-schedule-shift{border-bottom:1px solid #14213d12;grid-template-columns:minmax(90px,.7fr) minmax(0,2fr) auto;align-items:center;gap:16px;padding:18px;display:grid}.my-schedule-shift:last-child{border-bottom:0}.my-schedule-time{display:grid}.my-schedule-time strong{color:var(--text-primary);font-size:1.15rem}.my-schedule-time span{color:var(--text-muted);font-size:.78rem}.my-schedule-shift-info{gap:2px;display:grid}.my-schedule-shift-info strong{color:var(--text-primary)}.my-schedule-shift-info span{color:var(--text-muted);font-size:.8rem}.my-schedule-confirmed{color:#0f766e;background:#0f766e17;border-radius:999px;padding:6px 9px;font-size:.74rem;font-weight:800;display:inline-flex}.my-schedule-today-alert{background:linear-gradient(135deg,#fff7edfa,#ffedd5cc);border:1px solid #ea580c47;border-radius:18px;justify-content:space-between;align-items:center;gap:18px;padding:16px 18px;display:flex;box-shadow:0 12px 28px #ea580c1a}.my-schedule-today-alert>div:first-child{gap:3px;display:grid}.my-schedule-today-alert>div:first-child span{color:#c2410c;text-transform:uppercase;letter-spacing:.05em;font-size:.75rem;font-weight:800}.my-schedule-today-alert>div:first-child strong{color:#7c2d12;font-size:.98rem}.my-schedule-today-times{flex-wrap:wrap;justify-content:flex-end;gap:7px;display:flex}.my-schedule-today-times span{color:#9a3412;background:#ffffffdb;border-radius:999px;padding:7px 10px;font-size:.76rem;font-weight:800;display:inline-flex}.my-schedule-day-card.today-with-shift{border-color:#ea580c73;box-shadow:0 14px 34px #ea580c24}.my-schedule-day-card.today-with-shift .my-schedule-day-heading{background:linear-gradient(135deg,#fff7ed,#ffedd5)}.my-schedule-day-status{align-items:center;gap:8px;display:flex}.my-schedule-day-status>strong{color:var(--accent-strong);font-size:.85rem}.my-schedule-today-badge{background:#ea580c;border-radius:999px;padding:5px 8px;color:#fff!important;letter-spacing:0!important;text-transform:none!important;margin:0!important;font-size:.7rem!important;font-weight:800!important;display:inline-flex!important}@media (width<=760px){.schedule-period-toolbar,.schedule-workflow-main,.my-schedule-hero,.my-schedule-today-alert{flex-direction:column;align-items:stretch}.schedule-period-select{width:100%;min-width:0}.schedule-workflow-actions{justify-content:stretch}.schedule-workflow-actions>*{flex:100%}.schedule-coverage-grid{grid-template-columns:1fr}.schedule-shift-heading{gap:10px}.schedule-warning-card{flex-direction:column}.my-schedule-total{justify-items:start}.my-schedule-today-times{justify-content:flex-start}.my-schedule-day-status{flex-direction:column;align-items:flex-end}.my-schedule-shift{grid-template-columns:92px minmax(0,1fr);gap:12px}.my-schedule-confirmed{grid-column:1/-1;width:fit-content}}.schedule-auto-info-card{color:#0c4a6e;background:#0ea5e90f;border:1px solid #0ea5e933;border-radius:16px;align-items:flex-start;gap:12px;padding:14px 16px;display:flex}.schedule-auto-info-card strong{flex:none;font-size:.82rem}.schedule-auto-info-card span{color:#42677b;font-size:.8rem;line-height:1.55}.schedule-sheet-card{background:#fff;border:1px solid #14213d1a;border-radius:20px;overflow:hidden;box-shadow:0 14px 36px #14213d12}.schedule-sheet-heading{border-bottom:1px solid #14213d14;justify-content:space-between;align-items:flex-start;gap:20px;padding:18px 20px;display:flex}.schedule-sheet-heading h2{color:var(--text-primary);margin:0;font-size:1rem}.schedule-sheet-heading p{color:var(--text-muted);margin:5px 0 0;font-size:.78rem;line-height:1.45}.schedule-sheet-legend{color:var(--text-muted);flex-wrap:wrap;justify-content:flex-end;gap:8px 12px;font-size:.7rem;font-weight:700;display:flex}.schedule-sheet-legend span{white-space:nowrap;align-items:center;gap:5px;display:inline-flex}.legend-dot{border-radius:50%;width:8px;height:8px}.legend-dot.male{background:#3b82f6}.legend-dot.female{background:#ec4899}.legend-dot.flexible{background:#94a3b8}.schedule-sheet-scroll{scrollbar-width:thin;min-height:320px;max-height:calc(100vh - 270px);overflow:auto}.schedule-sheet-table{border-collapse:separate;border-spacing:0;table-layout:fixed;width:max-content;min-width:100%}.schedule-sheet-table thead th{z-index:7;width:210px;min-width:210px;color:var(--text-primary);text-align:center;background:#f7f9fc;border-bottom:1px solid #dfe4ec;border-right:1px solid #e7ebf1;padding:10px 12px;position:sticky;top:0}.schedule-sheet-table thead th strong,.schedule-sheet-table thead th span{display:block}.schedule-sheet-table thead th strong{font-size:.78rem}.schedule-sheet-table thead th span{color:var(--text-muted);margin-top:2px;font-size:.7rem;font-weight:600}.schedule-sheet-table .schedule-sheet-shift-column{z-index:8;text-align:left;background:#fbfcfe;width:148px;min-width:148px;max-width:148px;position:sticky;left:0;box-shadow:1px 0 #e4e8ef}.schedule-sheet-table thead .schedule-sheet-shift-column{z-index:10;background:#f2f5f9}.schedule-sheet-table tbody .schedule-sheet-shift-column{vertical-align:top;border-bottom:1px solid #e7ebf1;border-right:1px solid #e7ebf1;padding:12px}.schedule-sheet-table tbody .schedule-sheet-shift-column strong,.schedule-sheet-table tbody .schedule-sheet-shift-column span{display:block}.schedule-sheet-table tbody .schedule-sheet-shift-column strong{color:var(--text-primary);font-size:.78rem}.schedule-sheet-table tbody .schedule-sheet-shift-column span{color:var(--text-muted);margin-top:4px;font-size:.68rem}.schedule-sheet-cell{vertical-align:top;background:#fff;border-bottom:1px solid #edf0f4;border-right:1px solid #edf0f4;width:210px;min-width:210px;max-width:210px;padding:8px}.schedule-sheet-cell.covered{background:#10b98105}.schedule-sheet-cell.shortage{background:#f59e0b07}.schedule-sheet-cell.no-shift{color:#cbd5e1;text-align:center;vertical-align:middle;background:#fafbfc}.schedule-sheet-cell-meta{color:var(--text-muted);justify-content:space-between;align-items:center;gap:5px;margin-bottom:6px;font-size:.62rem;font-weight:700;display:flex}.schedule-slot-list{gap:5px;display:grid}.schedule-slot{text-align:left;background:#fff;border:1px solid #e3e8ef;border-radius:8px;justify-content:space-between;align-items:center;gap:6px;width:100%;min-height:44px;padding:6px 7px;display:flex}.schedule-slot.assigned{background:#fbfcfe}.schedule-slot.assigned.mismatch{background:#f59e0b12;border-color:#f59e0b73}.schedule-slot.empty{cursor:pointer;border-style:dashed;justify-content:flex-start;transition:border-color .14s,background .14s}.schedule-slot.empty:hover:not(:disabled){background:#f8f9ff;border-color:#818cf8}.schedule-slot.empty:disabled{cursor:default;opacity:.58}.schedule-slot.empty.male{background:#3b82f609;border-color:#3b82f65c}.schedule-slot.empty.female{background:#ec489909;border-color:#ec489957}.slot-number{color:#64748b;background:#eef1f5;border-radius:6px;flex:0 0 22px;justify-content:center;align-items:center;width:22px;height:22px;font-size:.62rem;font-weight:800;display:inline-flex}.slot-number.male,.schedule-slot.empty.male .slot-number{color:#2563eb;background:#3b82f61a}.slot-number.female,.schedule-slot.empty.female .slot-number{color:#db2777;background:#ec48991a}.schedule-slot-person{flex:1;align-items:center;gap:7px;min-width:0;display:flex}.schedule-slot-person>div,.schedule-slot-empty-copy{gap:1px;min-width:0;display:grid}.schedule-slot-person strong,.schedule-slot-empty-copy strong{color:var(--text-primary);text-overflow:ellipsis;white-space:nowrap;font-size:.68rem;font-weight:750;overflow:hidden}.schedule-slot-person small,.schedule-slot-empty-copy small{color:var(--text-muted);font-size:.59rem}.schedule-slot.empty .schedule-slot-empty-copy strong{color:#5b6475}.schedule-slot-remove{color:#94a3b8;cursor:pointer;background:0 0;border:0;border-radius:6px;flex:0 0 24px;justify-content:center;align-items:center;width:24px;height:24px;font-size:1rem;display:inline-flex}.schedule-slot-remove:hover:not(:disabled){color:#dc2626;background:#ef444414}.schedule-modal-overlay{z-index:1200;-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);background:#0f172a7a;place-items:center;padding:18px;display:grid;position:fixed;inset:0}.schedule-assignment-modal{background:#fff;border-radius:20px;flex-direction:column;width:min(620px,100%);max-height:min(760px,100vh - 36px);display:flex;overflow:hidden;box-shadow:0 28px 75px #0f172a40}.schedule-assignment-modal-header{border-bottom:1px solid #edf0f4;justify-content:space-between;align-items:flex-start;gap:16px;padding:20px 22px 16px;display:flex}.schedule-modal-eyebrow{color:#6366f1;text-transform:uppercase;letter-spacing:.05em;font-size:.68rem;font-weight:800}.schedule-assignment-modal-header h2{color:var(--text-primary);margin:5px 0 3px;font-size:1.18rem}.schedule-assignment-modal-header p{color:var(--text-muted);text-transform:capitalize;margin:0;font-size:.76rem}.schedule-modal-close{color:#64748b;cursor:pointer;background:#f1f5f9;border:0;border-radius:9px;justify-content:center;align-items:center;width:34px;height:34px;font-size:1.25rem;display:inline-flex}.schedule-required-slot-banner{background:#f8fafc;border-radius:12px;grid-template-columns:auto auto 1fr;align-items:center;gap:8px 10px;margin:14px 18px 0;padding:10px 12px;display:grid}.schedule-required-slot-banner span,.schedule-required-slot-banner small{color:var(--text-muted);font-size:.68rem}.schedule-required-slot-banner strong{color:#4f46e5;background:#eef2ff;border-radius:999px;padding:4px 8px;font-size:.68rem}.schedule-candidate-search{padding:12px 18px 8px}.schedule-candidate-search input{box-sizing:border-box;width:100%;height:40px;color:var(--text-primary);background:#fff;border:1px solid #dbe2ea;border-radius:10px;padding:0 12px}.schedule-candidate-search input:focus{border-color:#818cf8;outline:none;box-shadow:0 0 0 3px #6366f11a}.schedule-assignment-modal .period-form-message{margin:4px 18px 8px}.schedule-candidate-list{align-content:start;gap:6px;min-height:160px;padding:4px 18px 12px;display:grid;overflow-y:auto}.schedule-candidate-item{text-align:left;cursor:pointer;background:#fff;border:1px solid #e5eaf0;border-radius:12px;grid-template-columns:38px minmax(0,1fr) auto;align-items:center;gap:10px;width:100%;padding:10px;display:grid}.schedule-candidate-item:hover:not(:disabled){background:#fafaff;border-color:#a5b4fc}.schedule-candidate-avatar{color:#4f46e5;background:#eef2ff;border-radius:10px;justify-content:center;align-items:center;width:38px;height:38px;font-size:.78rem;font-weight:800;display:inline-flex}.schedule-candidate-main{gap:2px;min-width:0;display:grid}.schedule-candidate-name-row{flex-wrap:wrap;align-items:center;gap:6px;min-width:0;display:flex}.schedule-candidate-name-row strong{color:var(--text-primary);text-overflow:ellipsis;white-space:nowrap;font-size:.76rem;overflow:hidden}.schedule-candidate-main>span,.schedule-candidate-main small{color:var(--text-muted);font-size:.65rem}.candidate-registration-badge{border-radius:999px;padding:3px 6px;font-size:.58rem;font-weight:800;display:inline-flex}.candidate-registration-badge.registered{color:#047857;background:#10b9811a}.candidate-registration-badge.override{color:#b45309;background:#f59e0b1c}.schedule-candidate-add{color:#4f46e5;white-space:nowrap;font-size:.68rem;font-weight:800}.schedule-candidate-state{color:var(--text-muted);text-align:center;padding:35px 12px;font-size:.76rem}.schedule-override-note{color:#8a5a15;background:#f59e0b0f;border:1px solid #f59e0b2e;border-radius:10px;margin:0 18px 18px;padding:10px 12px;font-size:.66rem;line-height:1.5}@media (width<=760px){.schedule-auto-info-card,.schedule-sheet-heading{flex-direction:column}.schedule-sheet-legend{justify-content:flex-start}.schedule-sheet-scroll{max-height:none}.schedule-sheet-table thead th,.schedule-sheet-cell{width:185px;min-width:185px;max-width:185px}.schedule-sheet-table .schedule-sheet-shift-column{width:118px;min-width:118px;max-width:118px}.schedule-required-slot-banner{grid-template-columns:auto auto}.schedule-required-slot-banner small{grid-column:1/-1}.schedule-candidate-item{grid-template-columns:36px minmax(0,1fr)}.schedule-candidate-add{grid-column:2}}.schedule-mobile-board{gap:16px;padding:18px;display:none}.schedule-mobile-day-section{gap:12px;display:grid}.schedule-mobile-day-header{justify-content:space-between;align-items:center;gap:12px;display:flex}.schedule-mobile-day-header strong,.schedule-mobile-day-header span,.schedule-mobile-day-header small{display:block}.schedule-mobile-day-header strong{color:var(--text-primary);font-size:.95rem}.schedule-mobile-day-header span,.schedule-mobile-day-header small{color:var(--text-muted);font-size:.72rem}.schedule-mobile-card-list{gap:12px;display:grid}.schedule-mobile-card{background:#fff;border:1px solid #e7ebf1;border-radius:16px;gap:10px;padding:14px;display:grid}.schedule-mobile-card.covered{background:#10b98105}.schedule-mobile-card.shortage{background:#f59e0b07}.schedule-mobile-card-header{justify-content:space-between;align-items:flex-start;gap:10px;display:flex}.schedule-mobile-card-header strong{color:var(--text-primary);font-size:.9rem;display:block}.schedule-mobile-card-header p,.schedule-mobile-date,.schedule-mobile-meta span,.schedule-mobile-meta small,.schedule-mobile-empty{color:var(--text-muted);margin:0;font-size:.72rem}.schedule-mobile-meta{text-align:right;justify-items:end;gap:2px;display:grid}.schedule-mobile-empty{text-align:center;border:1px dashed #dbe2ea;border-radius:12px;padding:14px}.schedule-candidate-summary-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;padding:12px 18px 0;display:grid}.schedule-candidate-summary-grid>div{background:#fbfcff;border:1px solid #e5eaf0;border-radius:12px;padding:10px 12px}.schedule-candidate-summary-grid span,.schedule-candidate-summary-grid strong{display:block}.schedule-candidate-summary-grid span{color:var(--text-muted);font-size:.66rem}.schedule-candidate-summary-grid strong{color:var(--text-primary);margin-top:2px;font-size:.98rem}.schedule-candidate-quick-tags{flex-wrap:wrap;gap:6px;display:flex}.schedule-candidate-quick-tags span{color:#4b5563;background:#f3f4f6;border-radius:999px;align-items:center;min-height:24px;padding:0 8px;font-size:.6rem;font-weight:700;display:inline-flex}.schedule-candidate-metrics{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin-top:2px;display:grid}.schedule-candidate-metrics>div{background:#f8fafc;border-radius:10px;padding:8px}.schedule-candidate-metrics span,.schedule-candidate-metrics strong,.schedule-candidate-metrics small{display:block}.schedule-candidate-metrics span,.schedule-candidate-metrics small{color:var(--text-muted);font-size:.6rem}.schedule-candidate-metrics strong{color:var(--text-primary);font-size:.76rem}.schedule-candidate-item{align-items:start}@media (width<=900px){.schedule-sheet-heading{gap:14px;padding:16px}.schedule-sheet-heading h2{font-size:.95rem}.schedule-candidate-summary-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (width<=760px){.schedule-desktop-board{display:none}.schedule-mobile-board{display:grid}.schedule-sheet-heading{padding:16px}.schedule-candidate-summary-grid,.schedule-candidate-search,.schedule-candidate-list,.schedule-required-slot-banner,.schedule-override-note{padding-left:14px;padding-right:14px}.schedule-required-slot-banner{grid-template-columns:1fr;margin:14px 14px 0}.schedule-candidate-search{padding-top:10px;padding-bottom:10px}.schedule-candidate-item{grid-template-columns:32px minmax(0,1fr)}.schedule-candidate-add{grid-column:1/-1;margin-left:42px}.schedule-candidate-metrics{grid-template-columns:1fr}.schedule-assignment-modal{border-radius:18px;width:100%;max-height:calc(100vh - 20px)}.schedule-assignment-modal-header{padding:18px 16px 14px}.schedule-mobile-card-header{flex-direction:column}.schedule-mobile-meta{text-align:left;justify-items:start}}.schedule-member-summary-card{background:#fff;border:1px solid #14213d1a;border-radius:20px;margin-top:20px;overflow:hidden;box-shadow:0 14px 36px #14213d12}.schedule-member-summary-heading{border-bottom:1px solid #14213d14;justify-content:space-between;align-items:flex-start;gap:18px;padding:18px 20px;display:flex}.schedule-member-summary-heading h2{color:var(--text-primary);margin:0;font-size:1rem}.schedule-member-summary-heading p{color:var(--text-muted);margin:5px 0 0;font-size:.78rem;line-height:1.45}.schedule-member-summary-count{color:#475569;background:#f1f5f9;border-radius:999px;flex:none;padding:6px 10px;font-size:.7rem;font-weight:800}.schedule-member-summary-scroll{scrollbar-width:thin;overflow-x:auto}.schedule-member-summary-table{border-collapse:collapse;width:100%;min-width:1040px}.schedule-member-summary-table th,.schedule-member-summary-table td{color:#475569;text-align:left;vertical-align:middle;white-space:nowrap;border-bottom:1px solid #edf0f4;padding:12px 14px;font-size:.74rem}.schedule-member-summary-table th{color:#334155;background:#f7f9fc;font-size:.68rem;font-weight:800}.schedule-member-summary-table tbody tr:last-child td{border-bottom:0}.schedule-member-summary-table tbody tr:hover{background:#fbfcff}.schedule-member-name-cell strong,.schedule-member-shift-count{color:var(--text-primary)}.schedule-member-day-list,.schedule-member-working-days>div{flex-wrap:wrap;gap:5px;display:flex}.schedule-member-day-chip{color:#4f46e5;background:#eef2ff;border-radius:8px;justify-content:center;align-items:center;min-width:28px;min-height:26px;padding:0 7px;font-size:.66rem;font-weight:800;display:inline-flex}.schedule-member-no-days{color:#94a3b8}.schedule-member-gender,.schedule-member-load-status{border-radius:999px;align-items:center;min-height:26px;padding:0 8px;font-size:.64rem;font-weight:800;display:inline-flex}.schedule-member-gender.male{color:#2563eb;background:#3b82f61a}.schedule-member-gender.female{color:#db2777;background:#ec48991a}.schedule-member-gender.unknown{color:#64748b;background:#f1f5f9}.schedule-member-load-status.available{color:#047857;background:#10b9811a}.schedule-member-load-status.near{color:#b45309;background:#f59e0b1f}.schedule-member-load-status.full{color:#b91c1c;background:#ef44441a}.schedule-member-load-status.empty{color:#64748b;background:#f1f5f9}.schedule-member-summary-mobile{display:none}.schedule-member-card{background:#fff;border:1px solid #e7ebf1;border-radius:16px;gap:14px;padding:14px;display:grid}.schedule-member-card-header{justify-content:space-between;align-items:flex-start;gap:10px;display:flex}.schedule-member-card-header>div{flex-wrap:wrap;align-items:center;gap:7px;display:flex}.schedule-member-card-header strong{color:var(--text-primary);font-size:.88rem}.schedule-member-working-days{gap:7px;display:grid}.schedule-member-working-days>span{color:var(--text-muted);font-size:.66rem;font-weight:700}.schedule-member-working-days small{color:#94a3b8;font-size:.68rem}.schedule-member-mobile-metrics{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;display:grid}.schedule-member-mobile-metrics>div{background:#f8fafc;border-radius:10px;padding:9px 10px}.schedule-member-mobile-metrics span,.schedule-member-mobile-metrics strong{display:block}.schedule-member-mobile-metrics span{color:var(--text-muted);font-size:.62rem}.schedule-member-mobile-metrics strong{color:var(--text-primary);margin-top:2px;font-size:.78rem}@media (width<=760px){.schedule-member-summary-card{margin-top:16px}.schedule-member-summary-heading{padding:16px}.schedule-member-summary-scroll{display:none}.schedule-member-summary-mobile{background:#f8fafc;gap:10px;padding:12px;display:grid}.schedule-member-summary-count{display:none}}.schedule-export-toolbar{background:#fff;border:1px solid #14213d14;border-radius:20px;justify-content:space-between;align-items:flex-start;gap:16px;padding:18px 20px;display:flex;box-shadow:0 12px 24px #14213d0d}.schedule-export-toolbar h3{color:var(--text-primary);margin:0 0 6px}.schedule-export-toolbar p{color:var(--text-muted);max-width:560px;margin:0}@media (width<=760px){.schedule-export-toolbar{flex-direction:column;align-items:stretch}.schedule-export-toolbar .secondary-button{width:100%}}.shift-cover-page{gap:18px;display:grid}.shift-cover-page-header{margin-bottom:0}.shift-cover-user-layout{grid-template-columns:minmax(0,1.25fr) minmax(320px,.75fr);align-items:start;gap:18px;display:grid}.shift-cover-create-card,.shift-cover-history-card{min-width:0}.shift-cover-step-heading{align-items:flex-start;gap:11px;margin-bottom:14px;display:flex}.shift-cover-step-heading.second,.shift-cover-step-heading.third{margin-top:24px}.shift-cover-step-heading>span{color:#4f46e5;background:#eef2ff;border-radius:999px;flex:0 0 30px;place-items:center;width:30px;height:30px;font-size:.78rem;font-weight:800;display:grid}.shift-cover-step-heading h2{color:var(--text-primary);margin:0;font-size:1rem}.shift-cover-step-heading p{color:var(--text-muted);margin:3px 0 0;font-size:.76rem}.shift-cover-assignment-list,.shift-cover-candidate-list,.shift-cover-request-list,.shift-cover-admin-list{gap:10px;display:grid}.shift-cover-assignment-card{text-align:left;background:#fff;border:1px solid #e5e7eb;border-radius:14px;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:12px;width:100%;padding:12px;transition:border-color .14s,background .14s,box-shadow .14s;display:grid}.shift-cover-assignment-card:hover,.shift-cover-assignment-card.selected{background:#f8f9ff;border-color:#818cf8}.shift-cover-assignment-card.selected{box-shadow:inset 0 0 0 1px #6366f11f}.shift-cover-date-box{color:#374151;text-align:center;background:#f3f4f6;border-radius:10px;min-width:92px;padding:9px 10px}.shift-cover-date-box strong{font-size:.72rem}.shift-cover-assignment-main{gap:3px;min-width:0;display:grid}.shift-cover-assignment-main strong{color:var(--text-primary);text-overflow:ellipsis;white-space:nowrap;font-size:.88rem;overflow:hidden}.shift-cover-assignment-main span{color:var(--text-muted);font-size:.75rem}.shift-cover-select-pill,.shift-cover-pending-pill,.shift-cover-status{white-space:nowrap;border-radius:999px;justify-content:center;align-items:center;min-height:28px;padding:0 9px;font-size:.66rem;font-weight:800;display:inline-flex}.shift-cover-select-pill{color:#4f46e5;background:#eef2ff}.shift-cover-pending-pill,.shift-cover-status.status-pending{color:#b45309;background:#f59e0b21}.shift-cover-status.status-approved{color:#047857;background:#10b98121}.shift-cover-status.status-rejected,.shift-cover-status.status-cancelled{color:#b91c1c;background:#ef44441a}.shift-cover-pending-note,.shift-cover-empty-candidates{color:#6b7280;background:#fafafa;border:1px dashed #d1d5db;border-radius:12px;padding:13px 14px;font-size:.75rem;line-height:1.5}.shift-cover-pending-note{color:#92400e;background:#fffbeb;border-color:#fde68a}.shift-cover-candidate-card{text-align:left;background:#fff;border:1px solid #e5e7eb;border-radius:14px;grid-template-columns:auto auto minmax(0,1fr) auto;align-items:center;gap:10px;width:100%;padding:11px;transition:border-color .14s,background .14s;display:grid}.shift-cover-candidate-card:hover,.shift-cover-candidate-card.selected{background:#fafaff;border-color:#818cf8}.shift-cover-radio{border:2px solid #cbd5e1;border-radius:999px;width:18px;height:18px}.shift-cover-radio.selected{border:5px solid #6366f1}.shift-cover-candidate-avatar{color:#4f46e5;background:#eef2ff;border-radius:11px;place-items:center;width:38px;height:38px;font-size:.8rem;font-weight:800;display:grid}.shift-cover-candidate-main{gap:4px;min-width:0;display:grid}.shift-cover-candidate-title{flex-wrap:wrap;align-items:center;gap:6px;display:flex}.shift-cover-candidate-title strong{color:var(--text-primary);text-overflow:ellipsis;white-space:nowrap;font-size:.8rem;overflow:hidden}.shift-cover-candidate-title span{color:#4b5563;background:#f3f4f6;border-radius:999px;padding:2px 6px;font-size:.58rem;font-weight:700}.shift-cover-candidate-main>small{color:var(--text-muted);text-overflow:ellipsis;white-space:nowrap;font-size:.65rem;overflow:hidden}.shift-cover-candidate-tags{flex-wrap:wrap;gap:5px;display:flex}.shift-cover-candidate-tags span{color:#4b5563;background:#f3f4f6;border-radius:999px;align-items:center;min-height:24px;padding:0 7px;font-size:.58rem;font-weight:700;display:inline-flex}.shift-cover-candidate-tags span.good{color:#047857;background:#10b9811a}.shift-cover-candidate-tags span.neutral{color:#a16207;background:#f59e0b1a}.shift-cover-score{color:#047857;background:#ecfdf5;border-radius:10px;justify-items:center;min-width:52px;padding:6px 8px;display:grid}.shift-cover-score strong{font-size:.9rem}.shift-cover-score small{font-size:.55rem;font-weight:700}.shift-cover-note-field{margin-top:10px}.shift-cover-note-field textarea{resize:vertical;width:100%;min-height:96px;color:var(--text-primary);background:#fff;border:1px solid #14213d24;border-radius:12px;padding:12px 14px}.shift-cover-note-field textarea:focus{border-color:#818cf8;outline:none;box-shadow:0 0 0 3px #6366f11a}.shift-cover-sticky-action{background:#fbfcff;border:1px solid #e5e7eb;border-radius:14px;justify-content:space-between;align-items:center;gap:14px;margin-top:16px;padding:12px;display:flex}.shift-cover-sticky-action>div{gap:2px;min-width:0;display:grid}.shift-cover-sticky-action span{color:var(--text-muted);font-size:.66rem}.shift-cover-sticky-action strong{color:var(--text-primary);text-overflow:ellipsis;white-space:nowrap;font-size:.75rem;overflow:hidden}.shift-cover-request-card{background:#fff;border:1px solid #e5e7eb;border-radius:14px;gap:11px;padding:13px;display:grid}.shift-cover-request-head{justify-content:space-between;align-items:center;gap:10px;display:flex}.shift-cover-request-head small{color:var(--text-muted);font-size:.63rem}.shift-cover-request-shift,.shift-cover-person-row{gap:3px;display:grid}.shift-cover-request-shift strong,.shift-cover-person-row strong{color:var(--text-primary);font-size:.8rem}.shift-cover-request-shift span,.shift-cover-person-row span{color:var(--text-muted);font-size:.67rem}.shift-cover-note-box{background:#f8fafc;border-radius:10px;padding:10px 11px}.shift-cover-note-box.admin{background:#fff7ed}.shift-cover-note-box span{color:var(--text-muted);font-size:.63rem;font-weight:700;display:block}.shift-cover-note-box p{color:var(--text-primary);margin:3px 0 0;font-size:.72rem;line-height:1.5}.shift-cover-admin-toolbar{gap:8px;padding-bottom:2px;display:flex;overflow-x:auto}.shift-cover-admin-toolbar button{color:#4b5563;white-space:nowrap;background:#fff;border:1px solid #e5e7eb;border-radius:999px;align-items:center;gap:7px;min-height:38px;padding:0 13px;display:inline-flex}.shift-cover-admin-toolbar button.active{color:#4338ca;background:#eef2ff;border-color:#818cf8;font-weight:800}.shift-cover-admin-toolbar button span{background:#6366f11f;border-radius:999px;place-items:center;min-width:22px;height:22px;padding:0 5px;font-size:.68rem;display:inline-grid}.shift-cover-admin-list{grid-template-columns:repeat(2,minmax(0,1fr))}.shift-cover-admin-request{gap:14px;display:grid}.shift-cover-admin-people{background:#f8fafc;border-radius:12px;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);align-items:center;gap:12px;padding:12px;display:grid}.shift-cover-admin-people>div:not(.shift-cover-transfer-arrow){gap:2px;min-width:0;display:grid}.shift-cover-admin-people span,.shift-cover-admin-shift span{color:var(--text-muted);font-size:.63rem}.shift-cover-admin-people strong,.shift-cover-admin-shift strong{color:var(--text-primary);text-overflow:ellipsis;white-space:nowrap;font-size:.78rem;overflow:hidden}.shift-cover-admin-people small{color:var(--text-muted);text-overflow:ellipsis;white-space:nowrap;font-size:.62rem;overflow:hidden}.shift-cover-transfer-arrow{color:#6366f1;font-size:1.2rem;font-weight:800}.shift-cover-admin-shift{grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;display:grid}.shift-cover-admin-shift>div{border:1px solid #e5e7eb;border-radius:10px;gap:3px;padding:10px;display:grid}.shift-cover-admin-actions{justify-content:flex-end;gap:9px;display:flex}.nav-item-label{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.nav-notification-badge,.topbar-notification-badge{color:#fff;background:#ef4444;border-radius:999px;place-items:center;font-size:.63rem;font-weight:800;display:inline-grid}.nav-notification-badge{min-width:22px;height:22px;margin-left:auto;padding:0 5px}.topbar-actions{align-items:center;gap:12px;display:flex}.topbar-notification-button{color:#334155;background:#f8fafc;border-radius:10px;place-items:center;width:38px;height:38px;display:grid;position:relative}.topbar-notification-badge{min-width:19px;height:19px;padding:0 4px;position:absolute;top:-5px;right:-5px}.admin-realtime-toast{z-index:1000;text-align:left;background:#fff;border:1px solid #c7d2fe;border-radius:14px;align-items:center;gap:10px;width:min(360px,100vw - 32px);padding:12px 14px;display:flex;position:fixed;top:84px;right:20px;box-shadow:0 18px 45px #0f172a2e}.admin-realtime-toast>div{gap:2px;display:grid}.admin-realtime-toast strong{color:var(--text-primary);font-size:.78rem}.admin-realtime-toast small{color:var(--text-muted);font-size:.68rem}.my-schedule-shift-actions{justify-items:end;gap:7px;display:grid}.my-schedule-cover-button{color:#4f46e5;white-space:nowrap;background:#f8f9ff;border:1px solid #c7d2fe;border-radius:9px;justify-content:center;align-items:center;min-height:34px;padding:0 10px;font-size:.68rem;font-weight:800;text-decoration:none;display:inline-flex}@media (width<=1100px){.shift-cover-user-layout,.shift-cover-admin-list{grid-template-columns:1fr}}@media (width<=760px){.shift-cover-page{gap:12px}.shift-cover-page-header h1{font-size:1.45rem}.shift-cover-user-layout{gap:12px}.shift-cover-create-card,.shift-cover-history-card{padding:14px}.shift-cover-assignment-list{scroll-snap-type:x mandatory;gap:9px;padding-bottom:5px;display:flex;overflow-x:auto}.shift-cover-assignment-card{scroll-snap-align:start;grid-template-columns:1fr auto;min-width:min(82vw,360px)}.shift-cover-date-box{grid-column:1/-1;width:fit-content;min-width:0}.shift-cover-candidate-card{grid-template-columns:auto auto minmax(0,1fr);align-items:start}.shift-cover-score{grid-column:2/-1;justify-self:start;align-items:baseline;gap:3px;min-width:0;display:inline-flex}.shift-cover-sticky-action{z-index:4;flex-direction:column;align-items:stretch;position:sticky;bottom:10px;box-shadow:0 12px 34px #0f172a1f}.shift-cover-sticky-action .primary-button{width:100%}.shift-cover-admin-people{grid-template-columns:1fr}.shift-cover-transfer-arrow{justify-self:center;transform:rotate(90deg)}.shift-cover-admin-shift{grid-template-columns:1fr}.shift-cover-admin-actions{grid-template-columns:1fr 1fr;display:grid}.shift-cover-admin-actions>*{width:100%}.topbar-actions{gap:6px}.topbar-notification-button{display:grid}.admin-realtime-toast{width:calc(100vw - 24px);top:76px;right:12px}.my-schedule-shift-actions{grid-column:1/-1;justify-items:stretch;width:100%}.my-schedule-cover-button,.my-schedule-shift-actions .my-schedule-confirmed{justify-content:center;width:100%}}.profile-page{gap:20px;display:grid}.profile-shell{grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr);align-items:start;gap:20px;display:grid}.profile-summary-card,.profile-form-card{background:#fff;border:1px solid #e5e7eb;border-radius:16px}.profile-summary-card{gap:18px;padding:22px;display:grid}.profile-avatar-large{color:#4f46e5;background:#eef2ff;border-radius:18px;place-items:center;width:64px;height:64px;font-size:1.45rem;font-weight:800;display:grid}.profile-summary-main{gap:3px;display:grid}.profile-summary-main h2{color:#111827;margin:0;font-size:1.15rem}.profile-summary-main span{color:#6b7280;font-size:.82rem}.profile-summary-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;display:grid}.profile-summary-grid>div{background:#f8fafc;border-radius:12px;padding:12px}.profile-summary-grid span,.profile-summary-grid strong{display:block}.profile-summary-grid span{color:#6b7280;font-size:.7rem}.profile-summary-grid strong{color:#111827;margin-top:3px;font-size:.95rem}.profile-form-card{padding:22px}.profile-form-header{margin-bottom:20px}.profile-form-header h2{color:#111827;margin:0;font-size:1.05rem}.profile-form-header p{color:#6b7280;margin:5px 0 0;font-size:.8rem}.profile-form-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;display:grid}.profile-form-grid .field-span-2{grid-column:1/-1}.profile-readonly{color:#4b5563;background:#f8fafc;border:1px solid #e5e7eb;border-radius:10px;align-items:center;min-height:46px;padding:0 14px;display:flex}.profile-field-help{color:#6b7280;font-size:.7rem;line-height:1.45}.profile-form-actions{grid-column:1/-1;justify-content:flex-end;gap:10px;padding-top:4px;display:flex}@media (width<=900px){.profile-shell{grid-template-columns:1fr}}@media (width<=760px){.profile-summary-card,.profile-form-card{border-radius:14px;padding:16px}.profile-form-grid{grid-template-columns:1fr}.profile-form-grid .field-span-2,.profile-form-actions{grid-column:auto}.profile-form-actions{-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:#fffffff5;border:1px solid #e5e7eb;border-radius:14px;padding:10px;position:sticky;bottom:10px}.profile-form-actions .primary-button{width:100%}}.dashboard-state-message{color:#b91c1c;background:#fff7f7;border:1px solid #fecaca;border-radius:10px;margin-bottom:18px;padding:12px 14px;font-size:13px}.dashboard-state-message button{color:#4f46e5;font:inherit;cursor:pointer;background:0 0;border:0;margin-left:8px;font-weight:700}.dashboard-overview-grid{grid-template-columns:minmax(0,1.45fr) minmax(300px,.8fr);gap:18px;margin-bottom:24px;display:grid}.dashboard-panel{background:#fff;border:1px solid #e5e7eb;border-radius:12px;min-width:0;padding:22px}.dashboard-panel-header{justify-content:space-between;align-items:flex-start;gap:16px;margin-bottom:18px;display:flex}.dashboard-panel-header h2{color:#111827;margin:0;font-size:18px}.dashboard-panel-header p{color:#6b7280;margin:5px 0 0;font-size:13px}.dashboard-status-badge{color:#4338ca;letter-spacing:.02em;background:#eef2ff;border-radius:999px;flex:none;align-items:center;min-height:28px;padding:0 10px;font-size:11px;font-weight:800;display:inline-flex}.dashboard-status-badge.is-published,.dashboard-status-badge.is-open{color:#047857;background:#ecfdf5}.dashboard-status-badge.is-draft,.dashboard-status-badge.is-generating,.dashboard-status-badge.is-registration-closed{color:#c2410c;background:#fff7ed}.dashboard-period-meta{color:#6b7280;flex-wrap:wrap;gap:8px 18px;margin-bottom:18px;font-size:13px;display:flex}.dashboard-period-meta strong{color:#374151;font-weight:700}.dashboard-metrics-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;display:grid}.dashboard-metric{background:#fafafa;border:1px solid #e5e7eb;border-radius:10px;min-width:0;padding:14px}.dashboard-metric span{color:#6b7280;margin-bottom:4px;font-size:11px;display:block}.dashboard-metric strong{color:#111827;font-size:20px}.dashboard-progress{margin-top:18px}.dashboard-progress-row{color:#6b7280;justify-content:space-between;gap:12px;margin-bottom:7px;font-size:12px;display:flex}.dashboard-progress-track{background:#eef2f7;border-radius:999px;height:8px;overflow:hidden}.dashboard-progress-value{border-radius:inherit;background:#6366f1;height:100%}.dashboard-panel-actions{flex-wrap:wrap;gap:10px;margin-top:18px;display:flex}.dashboard-inline-link{color:#fff;background:#4f46e5;border-radius:8px;justify-content:center;align-items:center;min-height:38px;padding:0 14px;font-size:13px;font-weight:700;text-decoration:none;display:inline-flex}.dashboard-inline-link.secondary{color:#374151;background:#fff;border:1px solid #e5e7eb}.dashboard-member-split{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:12px;display:grid}.dashboard-member-split div{border:1px solid #e5e7eb;border-radius:10px;padding:14px}.dashboard-member-split span{color:#6b7280;font-size:12px;display:block}.dashboard-member-split strong{color:#111827;margin-top:3px;font-size:20px;display:block}.dashboard-next-shifts{gap:10px;display:grid}.dashboard-next-shift{border:1px solid #e5e7eb;border-radius:10px;grid-template-columns:88px minmax(0,1fr) auto;align-items:center;gap:14px;padding:13px 14px;display:grid}.dashboard-next-shift-date{color:#4f46e5;font-size:12px;font-weight:800}.dashboard-next-shift-main{min-width:0}.dashboard-next-shift-main strong,.dashboard-next-shift-main span{display:block}.dashboard-next-shift-main strong{color:#111827;text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.dashboard-next-shift-main span{color:#6b7280;margin-top:3px;font-size:12px}.dashboard-today-badge{color:#4f46e5;background:#eef2ff;border-radius:999px;padding:5px 8px;font-size:10px;font-weight:800}.dashboard-registration-summary{align-items:baseline;gap:6px;margin:6px 0 4px;display:flex}.dashboard-registration-summary strong{color:#111827;font-size:30px}.dashboard-registration-summary span{color:#6b7280;font-size:13px}.dashboard-empty-compact{text-align:center;padding:28px 10px}.dashboard-empty-compact h3{color:#111827;margin:0 0 5px;font-size:16px}.dashboard-empty-compact p{color:#6b7280;margin:0;font-size:13px}@media (width<=1100px){.dashboard-overview-grid{grid-template-columns:1fr}.dashboard-metrics-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (width<=640px){.dashboard-panel{padding:18px}.dashboard-panel-header{flex-direction:column}.dashboard-metrics-grid{grid-template-columns:1fr 1fr}.dashboard-next-shift{grid-template-columns:74px minmax(0,1fr)}.dashboard-today-badge{grid-column:1/-1;justify-self:start}}.security-page{gap:20px;display:grid}.security-owner-note,.security-warning-note{color:#8a5a15;background:#f59e0b12;border:1px solid #f59e0b38;border-radius:14px;padding:13px 15px;font-size:.78rem;line-height:1.55}.security-owner-note strong,.security-warning-note strong{color:#7c4a03}.security-self-password-card,.security-accounts-card{background:#fff;border:1px solid #14213d1a;border-radius:20px;padding:20px;box-shadow:0 14px 34px #14213d0f}.security-section-header,.security-accounts-heading{justify-content:space-between;align-items:flex-start;gap:18px;margin-bottom:18px;display:flex}.security-section-header h2,.security-accounts-heading h2{color:var(--text-primary);margin:4px 0;font-size:1.08rem}.security-section-header p,.security-accounts-heading p{max-width:720px;color:var(--text-muted);margin:0;font-size:.78rem;line-height:1.5}.security-eyebrow{color:#6366f1;letter-spacing:.05em;text-transform:uppercase;font-size:.68rem;font-weight:800}.security-form-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;display:grid}.security-form-actions,.security-modal-actions{justify-content:flex-end;gap:10px;display:flex}.security-account-role{border-radius:999px;align-items:center;padding:5px 8px;font-size:.68rem;font-weight:800;display:inline-flex}.security-account-role.owner{color:#6d28d9;background:#7c3aed1a}.security-account-role.admin{color:#1d4ed8;background:#2563eb1a}.security-account-role.user{color:#0f766e;background:#0f766e1a}.security-password-meta{gap:3px;min-width:180px;display:grid}.security-password-meta strong{color:var(--text-primary);font-size:.74rem}.security-password-meta span,.security-password-meta small{color:var(--text-muted);font-size:.66rem}.security-account-actions{flex-wrap:wrap;gap:6px;display:flex}.security-account-actions .ghost-button{white-space:nowrap}.security-modal-overlay{z-index:1300;-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);background:#0f172a80;place-items:center;padding:18px;display:grid;position:fixed;inset:0}.security-modal{background:#fff;border-radius:20px;width:min(560px,100%);max-height:calc(100vh - 36px);padding:20px;overflow-y:auto;box-shadow:0 28px 75px #0f172a40}.security-modal-header{justify-content:space-between;align-items:flex-start;gap:16px;margin-bottom:14px;display:flex}.security-modal-header h2{color:var(--text-primary);margin:5px 0 3px;font-size:1.18rem}.security-modal-header p{color:var(--text-muted);margin:0;font-size:.76rem}.security-modal-close{color:#64748b;cursor:pointer;background:#f1f5f9;border:0;border-radius:9px;flex:0 0 34px;justify-content:center;align-items:center;width:34px;height:34px;font-size:1.25rem;display:inline-flex}.security-modal .security-warning-note{margin-bottom:16px}.security-mobile-list{display:none}.security-mobile-card{background:#fff;border:1px solid #14213d17;border-radius:15px;gap:12px;padding:15px;display:grid}.security-mobile-card-header{justify-content:space-between;align-items:flex-start;gap:10px;display:flex}.security-mobile-card-header strong{color:var(--text-primary);display:block}.security-mobile-card-header span:not(.security-account-role){color:var(--text-muted);font-size:.7rem}.security-mobile-meta{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;display:grid}.security-mobile-meta>div{background:#f8fafc;border-radius:10px;gap:2px;padding:9px;display:grid}.security-mobile-meta span{color:var(--text-muted);font-size:.63rem}.security-mobile-meta strong{color:var(--text-primary);font-size:.72rem}@media (width<=760px){.security-form-grid{grid-template-columns:1fr}.security-form-grid .field-span-2,.security-form-actions,.security-modal-actions{grid-column:1}.security-section-header,.security-accounts-heading{flex-direction:column;align-items:stretch}.security-accounts-card .table-scroll{display:none}.security-mobile-list{gap:10px;display:grid}.security-account-actions{grid-template-columns:repeat(2,minmax(0,1fr));display:grid}.security-account-actions>*{width:100%}}.schedule-sheet-heading-actions{flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:12px;display:flex}.schedule-registration-card,.weekend-workload-card{background:#fff;border:1px solid #14213d1a;border-radius:20px;overflow:hidden;box-shadow:0 12px 30px #14213d0f}.schedule-registration-heading,.weekend-workload-heading{border-bottom:1px solid #14213d14;justify-content:space-between;align-items:flex-start;gap:24px;padding:22px;display:flex}.schedule-registration-heading h2,.weekend-workload-heading h2{color:var(--text-primary);margin:4px 0 6px;font-size:1.1rem}.schedule-registration-heading p:not(.page-kicker),.weekend-workload-heading p:not(.page-kicker){max-width:700px;color:var(--text-muted);margin:0;font-size:.82rem;line-height:1.55}.schedule-registration-summary{grid-template-columns:repeat(3,minmax(110px,1fr));gap:8px;display:grid}.schedule-registration-summary>div{background:#f8fafc;border-radius:12px;gap:3px;min-width:110px;padding:11px 13px;display:grid}.schedule-registration-summary span{color:var(--text-muted);font-size:.66rem;font-weight:700}.schedule-registration-summary strong{color:var(--text-primary);font-size:1rem}.schedule-registration-search{background:#fbfcfe;border-bottom:1px solid #14213d12;padding:14px 22px}.schedule-registration-search input{width:min(460px,100%);min-height:40px;color:var(--text-primary);font:inherit;background:#fff;border:1px solid #dbe2ea;border-radius:10px;outline:none;padding:0 12px}.schedule-registration-search input:focus{border-color:#94a3b8;box-shadow:0 0 0 3px #94a3b826}.schedule-registration-list{display:grid}.schedule-registration-member{border-bottom:1px solid #14213d12;grid-template-columns:minmax(190px,.7fr) minmax(0,2fr);gap:18px;padding:18px 22px;display:grid}.schedule-registration-member:last-child{border-bottom:0}.schedule-registration-member-head{align-content:start;gap:8px;display:grid}.schedule-registration-member-head>div{flex-wrap:wrap;align-items:center;gap:7px;display:flex}.schedule-registration-member-head strong{color:var(--text-primary);font-size:.88rem}.schedule-registration-member-head span{color:var(--text-muted);font-size:.68rem;font-weight:700}.schedule-registration-member-head>div span{background:#f1f5f9;border-radius:999px;padding:4px 7px}.schedule-registration-shifts{flex-wrap:wrap;gap:8px;display:flex}.schedule-registration-shift{color:#475569;background:#fff;border:1px solid #e2e8f0;border-radius:10px;justify-content:space-between;align-items:center;gap:10px;padding:9px 11px;font-size:.7rem;display:inline-flex}.schedule-registration-shift strong{color:#64748b;background:#f1f5f9;border-radius:999px;flex:none;padding:4px 7px;font-size:.63rem}.schedule-registration-shift.assigned{background:#0f766e0a;border-color:#0f766e38}.schedule-registration-shift.assigned strong{color:#0f766e;background:#0f766e1a}.schedule-registration-state,.weekend-workload-state{color:var(--text-muted);text-align:center;padding:36px 22px;font-size:.82rem}.weekend-month-picker{gap:6px;min-width:170px;display:grid}.weekend-month-picker span{color:var(--text-muted);font-size:.7rem;font-weight:800}.weekend-month-picker input{min-height:40px;color:var(--text-primary);font:inherit;background:#fff;border:1px solid #dbe2ea;border-radius:10px;padding:0 10px}.weekend-weight-rule{background:#fbfcfe;border-bottom:1px solid #14213d12;flex-wrap:wrap;gap:8px;padding:14px 22px;display:flex}.weekend-weight-rule>span{color:#64748b;background:#f1f5f9;border-radius:999px;padding:7px 10px;font-size:.7rem;font-weight:700}.weekend-weight-rule strong{color:#0f172a}.weekend-force-warning{background:#fff7ed;border:1px solid #ea580c33;border-radius:14px;gap:6px;margin:16px 22px 0;padding:14px 16px;display:grid}.weekend-force-warning>strong{color:#9a3412;font-size:.82rem}.weekend-force-warning>span{color:#9a3412;font-size:.72rem;line-height:1.5}.weekend-force-warning>div{flex-wrap:wrap;gap:6px;margin-top:4px;display:flex}.weekend-force-warning>div span{color:#7c2d12;background:#fffc;border-radius:8px;padding:5px 8px;font-size:.66rem;font-weight:700}.weekend-workload-scroll{padding:16px 22px 22px;overflow-x:auto}.weekend-workload-table{border-collapse:collapse;width:100%;min-width:920px}.weekend-workload-table th,.weekend-workload-table td{color:#475569;text-align:left;vertical-align:middle;border-bottom:1px solid #edf1f5;padding:11px 10px;font-size:.72rem}.weekend-workload-table th{color:#64748b;text-transform:uppercase;background:#f8fafc;font-size:.66rem;font-weight:800}.weekend-workload-table td strong,.weekend-workload-table td small{display:block}.weekend-workload-table td strong{color:#0f172a}.weekend-workload-table td small{color:#94a3b8;margin-top:2px;font-size:.62rem}.weekend-target-badge{border-radius:999px;padding:5px 8px;font-size:.64rem;font-weight:800;display:inline-flex}.weekend-target-badge.met{color:#0f766e;background:#0f766e1a}.weekend-target-badge.missing{color:#c2410c;background:#ea580c1a}.weekend-workload-mobile{display:none}.weekend-member-card{background:#fff;border:1px solid #e2e8f0;border-radius:14px;gap:12px;padding:14px;display:grid}.weekend-member-card-head{justify-content:space-between;align-items:flex-start;gap:10px;display:flex}.weekend-member-card-head>div{gap:2px;display:grid}.weekend-member-card-head strong{color:#0f172a;font-size:.82rem}.weekend-member-card-head span:not(.weekend-target-badge){color:#64748b;font-size:.66rem}.weekend-member-metrics{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;display:grid}.weekend-member-metrics>div{background:#f8fafc;border-radius:10px;padding:9px 10px}.weekend-member-metrics span,.weekend-member-metrics strong,.weekend-member-metrics small{display:block}.weekend-member-metrics span,.weekend-member-metrics small{color:#64748b;font-size:.62rem}.weekend-member-metrics strong{color:#0f172a;margin:2px 0;font-size:.85rem}.weekend-registration-note{color:#64748b;font-size:.66rem;font-weight:700}.schedule-weekend-reminder{background:#fffbeb;border:1px solid #d9770633;border-radius:14px;justify-content:space-between;align-items:center;gap:16px;padding:14px 16px;display:flex}.schedule-weekend-reminder>div{gap:3px;display:grid}.schedule-weekend-reminder strong{color:#92400e;font-size:.8rem}.schedule-weekend-reminder span{color:#a16207;font-size:.7rem;line-height:1.45}@media (width<=900px){.schedule-registration-heading,.weekend-workload-heading{display:grid}.schedule-registration-summary{width:100%}.schedule-registration-member{grid-template-columns:1fr}}@media (width<=760px){.schedule-sheet-heading-actions{justify-content:flex-start;align-items:stretch;width:100%}.schedule-sheet-heading-actions>button{width:100%}.schedule-registration-heading,.weekend-workload-heading,.schedule-registration-search{padding-left:16px;padding-right:16px}.schedule-registration-summary{grid-template-columns:1fr}.schedule-registration-member{padding:14px 16px}.schedule-registration-shifts{display:grid}.schedule-registration-shift{align-items:flex-start;width:100%}.weekend-month-picker{width:100%}.weekend-weight-rule{padding:12px 16px}.weekend-force-warning{margin:12px 16px 0}.weekend-workload-scroll{display:none}.weekend-workload-mobile{gap:10px;padding:14px 16px 16px;display:grid}.schedule-weekend-reminder{display:grid}.schedule-weekend-reminder .secondary-button{width:100%}}
