.command-palette-overlay{z-index:var(--z-modal,9999);background:#15171b85;justify-content:center;align-items:flex-start;padding-top:15vh;animation:.12s fade-in;display:flex;position:fixed;inset:0}@keyframes fade-in{0%{opacity:0}to{opacity:1}}.command-palette-dialog{background:var(--rail-surface-elevated,#fff);border:1px solid var(--rail-border,#d9d9d9);box-shadow:var(--rail-shadow,0 8px 24px #15171b1f);border-radius:12px;width:min(560px,90vw);animation:.15s slide-down;overflow:hidden}@keyframes slide-down{0%{opacity:0;transform:translateY(-12px)}to{opacity:1;transform:translateY(0)}}.command-palette-search{border-bottom:1px solid var(--rail-border,#d9d9d9);align-items:center;gap:10px;padding:14px 16px;display:flex}.command-palette-input{color:var(--rail-ink,#1f2937);background:0 0;border:none;outline:none;flex:1;font-family:inherit;font-size:1rem}.command-palette-input::placeholder{color:var(--rail-ink-soft,#4a4d54)}.command-palette-kbd{background:var(--rail-surface-muted,#ece8df);color:var(--rail-ink-soft,#4a4d54);border:1px solid var(--rail-border,#d9d9d9);border-radius:4px;flex-shrink:0;padding:2px 6px;font-size:.75rem}.command-palette-list{max-height:360px;margin:0;padding:8px;list-style:none;overflow-y:auto}.command-palette-item{cursor:pointer;border-radius:8px;flex-direction:column;padding:10px 12px;transition:background .1s;display:flex}.command-palette-item:hover{background:var(--rail-surface-muted,#ece8df)}.command-palette-item.is-active{background:var(--rail-surface-muted,#ece8df);outline:2px solid var(--focus-ring,#20404f);outline-offset:-2px}.command-palette-item-label{color:var(--rail-ink,#1f2937);font-size:.9375rem;font-weight:500}.command-palette-item-desc{color:var(--rail-ink-soft,#4a4d54);margin-top:2px;font-size:.8125rem}.command-palette-empty{text-align:center;color:var(--rail-ink-soft,#4a4d54);padding:24px;font-size:.875rem}.user-avatar-photo{--avatar-size:40px;width:var(--avatar-size);height:var(--avatar-size);flex:0 0 var(--avatar-size);background:linear-gradient(180deg, #c9a24a38, #c9a24a14), var(--rail-surface,#f7f5f0);color:var(--rail-ink,#15171b);font-family:var(--brand-display,var(--heading));border:1px solid #c9a24a57;border-radius:999px;place-items:center;font-size:.86rem;font-weight:900;line-height:1;display:inline-grid;overflow:hidden}.user-avatar-photo--sm{--avatar-size:32px;font-size:.72rem}.user-avatar-photo--lg{--avatar-size:56px;font-size:1.05rem}.user-avatar-photo img{object-fit:cover;width:100%;height:100%;display:block}@media (prefers-color-scheme:dark){:root{--lightningcss-light: ;--lightningcss-dark:initial}}:root{--polish-radius-lg:18px;--polish-radius-md:12px;--polish-tint-neutral:#2b2d330f;--polish-tint-success:#3f835714;--polish-tint-warning:#c8952f0f;--polish-tint-danger:#c91f1f14;--polish-tint-info:#2b2d3314;--polish-shadow:0 1px 2px #15171b0a, 0 8px 24px #15171b0f;--polish-shadow-hover:0 1px 2px #15171b0d, 0 14px 32px #15171b1a;--polish-ring:0 0 0 2px #c9a24a3d;--polish-border-soft:#15171b0f;--polish-text-strong:var(--ink-900);--polish-text-muted:var(--ink-500);--nxab-ink:var(--ink-900);--nxab-slate:var(--ink-700);--nxab-silver:var(--silver-300);--nxab-paper:var(--ink-100);--nxab-gold:var(--gold-400);--nxab-gold-soft:var(--gold-100);--rail-ink:var(--ink-900);--rail-ink-soft:var(--ink-500);--rail-surface:var(--ink-100);--rail-surface-elevated:var(--silver-100);--rail-surface-muted:var(--ink-200);--rail-sidebar:var(--ink-700);--rail-sidebar-strong:var(--ink-900);--rail-sidebar-text:#f7f5f0c2;--rail-accent:var(--ink-900);--rail-accent-2:var(--gold-300);--rail-gold:var(--gold-400);--rail-gold-soft:var(--gold-100);--rail-gold-dark:var(--gold-600);--rail-silver:var(--silver-300);--rail-info-bg:var(--ink-200);--rail-line:var(--ink-300);--rail-border:var(--ink-300);--rail-fg:var(--ink-700);--rail-fg-muted:var(--ink-500);--rail-success:#3f8357;--rail-success-bg:#e6efe7;--rail-warning:var(--gold-600);--rail-warning-bg:var(--silver-100);--rail-danger:#c91f1f;--rail-danger-bg:#f9e9e7;--rail-shadow:0 1px 3px #15171b0d, 0 8px 20px #15171b12;--rail-shadow-soft:0 1px 3px #15171b0f, 0 4px 8px #15171b0a;--primary:var(--gold-400);--primary-dark:var(--gold-600);--primary-light:var(--gold-100);--surface-soft:var(--ink-100);--surface-tint:var(--gold-100);--sidebar-bg:var(--ink-700);--sidebar-hover:var(--ink-700);--sidebar-active:var(--ink-900);--sidebar-text:#f5ebcfc2;--sidebar-white:var(--ink-100);--card:var(--silver-100);--text-muted:var(--ink-500);--text-soft:var(--ink-400);--border-light:var(--ink-300);--success:#3f8357;--success-bg:#e6efe7;--danger:#c91f1f;--danger-bg:#f9e9e7;--warning:var(--gold-600);--warning-bg:var(--silver-100);--info:var(--ink-700);--radius-xs:2px;--radius-sm:4px;--radius-md:8px;--radius-lg:12px;--radius-xl:16px;--radius-2xl:20px;--radius-pill:999px;--shadow-xs:0 1px 2px #15171b0a;--shadow-sm:0 1px 3px #15171b0f, 0 4px 8px #15171b0a;--shadow-md:0 1px 3px #15171b0d, 0 8px 20px #15171b12;--shadow-lg:0 2px 4px #15171b0d, 0 16px 36px #15171b1a;--shadow-xl:0 4px 8px #15171b0f, 0 24px 48px #15171b21;--shadow-focus:0 0 0 3px #c9a24a47;--shadow-focus-danger:0 0 0 3px #c91f1f38;--gap-1:4px;--gap-2:8px;--gap-3:12px;--gap-4:16px;--gap-5:20px;--gap-6:24px;--gap-8:32px;--gap-10:40px;--gap-12:48px;--motion-fast:.12s;--motion-base:.2s;--motion-slow:.3s;--motion-ease:cubic-bezier(.25, .46, .45, .94);--motion-spring:cubic-bezier(.34, 1.56, .64, 1);--z-base:1;--z-raised:10;--z-dropdown:100;--z-sticky:200;--z-overlay:400;--z-modal:500;--z-toast:600;--border-default:#15171b1a;--border-soft:#15171b0f;--border-strong:#15171b2e;--focus-ring-color:var(--rail-gold,#c9a24a);--focus-ring:0 0 0 2px #fff, 0 0 0 4px var(--focus-ring-color);--state-ok:var(--rail-success,#2e7d32);--state-warn:var(--gold-600);--state-risk:var(--gold-600);--state-danger:var(--rail-danger,#c62828);--state-info:var(--ink-700);--state-available:var(--gold-600);--state-off:var(--silver-500);--radius:12px;--shadow:0 1px 3px #15171b0d, 0 8px 20px #15171b12}@media (prefers-reduced-motion:reduce){:root{--motion-fast:0s;--motion-base:0s;--motion-slow:0s}*,:before,:after{scroll-behavior:auto!important;transition-duration:.01ms!important;animation-duration:.01ms!important;animation-iteration-count:1!important}}@media (prefers-color-scheme:dark){:root{--text:var(--ink-300);--text-h:var(--ink-100);--bg:var(--ink-900);--border:var(--ink-700);--code-bg:var(--ink-700);--accent:var(--gold-400);--accent-bg:#c9a24a29;--accent-border:#c9a24a80;--social-bg:#2b2d3380;--shadow:#15171b66 0 10px 15px -3px, #15171b40 0 4px 6px -2px}#social .button-icon{filter:invert()brightness(2)}}:root{--ls-tight:.06em;--ls-eyebrow:.14em;--ls-upper:.18em;--ls-wide:.28em;--gold-100:#f5ebcf;--gold-200:#e8d497;--gold-300:#d6b870;--gold-400:#c9a24a;--gold-500:#b58a30;--gold-600:#7a5315;--ink-100:#f7f5f0;--ink-200:#ece8df;--ink-300:#c9c5bc;--ink-400:#8a8a8a;--ink-500:#4a4d54;--ink-700:#2b2d33;--ink-900:#15171b;--silver-100:#f4f4f4;--silver-200:#d9d9d9;--silver-300:#b5b5b5;--silver-400:#8e8e8e;--silver-500:#5c5c5c;--hi-vis-yellow:#e6e823;--hi-vis-orange:#e76a1f;--text:#4a4d54;--text-h:#15171b;--bg:#f7f5f0;--border:#ded8ca;--code-bg:var(--gold-100);--accent:#c9a24a;--accent-bg:#c9a24a1f;--accent-border:#c9a24a80;--social-bg:#f4f3ec80;--shadow:#15171b1a 0 10px 15px -3px, #15171b0d 0 4px 6px -2px;--sans:"Manrope", system-ui, "Segoe UI", Roboto, sans-serif;--heading:"Archivo", system-ui, "Segoe UI", Roboto, sans-serif;--brand-body:"Manrope", system-ui, "Segoe UI", Roboto, sans-serif;--brand-display:"Archivo", system-ui, "Segoe UI", Roboto, sans-serif;--brand-serif:"Cormorant Garamond", Georgia, serif;--mono:ui-monospace, "JetBrains Mono", Consolas, monospace;--lightningcss-light:initial;--lightningcss-dark: ;--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light dark;color:var(--text);background:var(--bg);font-synthesis:none;text-rendering:optimizelegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}@media (prefers-color-scheme:dark){:root{--lightningcss-light: ;--lightningcss-dark:initial}}:root{--polish-radius-lg:18px;--polish-radius-md:12px;--polish-tint-neutral:#2b2d330f;--polish-tint-success:#3f835714;--polish-tint-warning:#c8952f0f;--polish-tint-danger:#c91f1f14;--polish-tint-info:#2b2d3314;--polish-shadow:0 1px 2px #15171b0a, 0 8px 24px #15171b0f;--polish-shadow-hover:0 1px 2px #15171b0d, 0 14px 32px #15171b1a;--polish-ring:0 0 0 2px #c9a24a3d;--polish-border-soft:#15171b0f;--polish-text-strong:var(--ink-900);--polish-text-muted:var(--ink-500);--nxab-ink:var(--ink-900);--nxab-slate:var(--ink-700);--nxab-silver:var(--silver-300);--nxab-paper:var(--ink-100);--nxab-gold:var(--gold-400);--nxab-gold-soft:var(--gold-100);--rail-ink:var(--ink-900);--rail-ink-soft:var(--ink-500);--rail-surface:var(--ink-100);--rail-surface-elevated:var(--silver-100);--rail-surface-muted:var(--ink-200);--rail-sidebar:var(--ink-700);--rail-sidebar-strong:var(--ink-900);--rail-sidebar-text:#f7f5f0c2;--rail-accent:var(--ink-900);--rail-accent-2:var(--gold-300);--rail-gold:var(--gold-400);--rail-gold-soft:var(--gold-100);--rail-gold-dark:var(--gold-600);--rail-silver:var(--silver-300);--rail-info-bg:var(--ink-200);--rail-line:var(--ink-300);--rail-border:var(--ink-300);--rail-fg:var(--ink-700);--rail-fg-muted:var(--ink-500);--rail-success:#3f8357;--rail-success-bg:#e6efe7;--rail-warning:var(--gold-600);--rail-warning-bg:var(--silver-100);--rail-danger:#c91f1f;--rail-danger-bg:#f9e9e7;--rail-shadow:0 1px 3px #15171b0d, 0 8px 20px #15171b12;--rail-shadow-soft:0 1px 3px #15171b0f, 0 4px 8px #15171b0a;--primary:var(--gold-400);--primary-dark:var(--gold-600);--primary-light:var(--gold-100);--surface-soft:var(--ink-100);--surface-tint:var(--gold-100);--sidebar-bg:var(--ink-700);--sidebar-hover:var(--ink-700);--sidebar-active:var(--ink-900);--sidebar-text:#f5ebcfc2;--sidebar-white:var(--ink-100);--card:var(--silver-100);--text-muted:var(--ink-500);--text-soft:var(--ink-400);--border-light:var(--ink-300);--success:#3f8357;--success-bg:#e6efe7;--danger:#c91f1f;--danger-bg:#f9e9e7;--warning:var(--gold-600);--warning-bg:var(--silver-100);--info:var(--ink-700);--radius-xs:2px;--radius-sm:4px;--radius-md:8px;--radius-lg:12px;--radius-xl:16px;--radius-2xl:20px;--radius-pill:999px;--shadow-xs:0 1px 2px #15171b0a;--shadow-sm:0 1px 3px #15171b0f, 0 4px 8px #15171b0a;--shadow-md:0 1px 3px #15171b0d, 0 8px 20px #15171b12;--shadow-lg:0 2px 4px #15171b0d, 0 16px 36px #15171b1a;--shadow-xl:0 4px 8px #15171b0f, 0 24px 48px #15171b21;--shadow-focus:0 0 0 3px #c9a24a47;--shadow-focus-danger:0 0 0 3px #c91f1f38;--gap-1:4px;--gap-2:8px;--gap-3:12px;--gap-4:16px;--gap-5:20px;--gap-6:24px;--gap-8:32px;--gap-10:40px;--gap-12:48px;--motion-fast:.12s;--motion-base:.2s;--motion-slow:.3s;--motion-ease:cubic-bezier(.25, .46, .45, .94);--motion-spring:cubic-bezier(.34, 1.56, .64, 1);--z-base:1;--z-raised:10;--z-dropdown:100;--z-sticky:200;--z-overlay:400;--z-modal:500;--z-toast:600;--border-default:#15171b1a;--border-soft:#15171b0f;--border-strong:#15171b2e;--focus-ring-color:var(--rail-gold,#c9a24a);--focus-ring:0 0 0 2px #fff, 0 0 0 4px var(--focus-ring-color);--state-ok:var(--rail-success,#2e7d32);--state-warn:var(--gold-600);--state-risk:var(--gold-600);--state-danger:var(--rail-danger,#c62828);--state-info:var(--ink-700);--state-available:var(--gold-600);--state-off:var(--silver-500);--radius:12px;--shadow:0 1px 3px #15171b0d, 0 8px 20px #15171b12}@media (prefers-reduced-motion:reduce){:root{--motion-fast:0s;--motion-base:0s;--motion-slow:0s}*,:before,:after{scroll-behavior:auto!important;transition-duration:.01ms!important;animation-duration:.01ms!important;animation-iteration-count:1!important}}@media (prefers-color-scheme:dark){:root{--text:var(--ink-300);--text-h:var(--ink-100);--bg:var(--ink-900);--border:var(--ink-700);--code-bg:var(--ink-700);--accent:var(--gold-400);--accent-bg:#c9a24a29;--accent-border:#c9a24a80;--social-bg:#2b2d3380;--shadow:#15171b66 0 10px 15px -3px, #15171b40 0 4px 6px -2px}#social .button-icon{filter:invert()brightness(2)}}@media (prefers-color-scheme:dark){body{--lightningcss-light: ;--lightningcss-dark:initial}}@media (width<=1024px){h1{margin:20px 0;font-size:36px}h2{font-size:20px}body{font-size:16px}.rail-shell .sidebar{width:280px}.rail-shell .main-content{margin-left:280px}.rail-content{padding-inline:20px}}@media (width<=860px){.rail-shell .sidebar{width:100%;min-height:auto;max-height:none;position:static;overflow:visible}.rail-shell .main-content{margin-left:0}.rail-shell.is-employee-shell .sidebar,.rail-shell.is-employee-shell .rail-topbar{display:none}.rail-shell.is-employee-shell .main-content{padding-bottom:calc(78px + env(safe-area-inset-bottom));margin-left:0}.rail-shell.is-employee-shell .mobile-topbar{z-index:45;padding:calc(10px + env(safe-area-inset-top)) 14px 10px;display:flex;position:sticky;top:0}.rail-shell.is-employee-shell .mobile-tabbar{padding:8px calc(10px + env(safe-area-inset-right)) calc(8px + env(safe-area-inset-bottom)) calc(10px + env(safe-area-inset-left));display:grid}.rail-shell:not(.is-employee-shell) .rail-topbar{display:none}.rail-shell:not(.is-employee-shell) .admin-mobile-topbar{z-index:45;padding:calc(8px + env(safe-area-inset-top)) 12px 8px;background:linear-gradient(180deg, var(--rail-sidebar-strong), var(--rail-sidebar));display:grid;position:fixed;top:0;left:0;right:0;box-shadow:0 10px 24px #15171b2e}.app{flex-direction:column}.rail-shell:not(.is-employee-shell) .main-content{order:1;min-height:100svh;margin-left:0;padding:0}.rail-shell:not(.is-employee-shell) .sidebar{z-index:70;order:initial;visibility:hidden;pointer-events:none;width:min(86vw,340px);min-height:100dvh;max-height:100dvh;transition:transform .18s;position:fixed;inset:0 auto 0 0;overflow:hidden;transform:translate(-105%);box-shadow:18px 0 44px #15171b47}.rail-shell:not(.is-employee-shell).is-mobile-sidebar-open .sidebar{visibility:visible;pointer-events:auto;transform:translate(0)}.rail-shell:not(.is-employee-shell) .mobile-sidebar-backdrop{z-index:65;-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);background:#15171b73;border:0;padding:0;display:none;position:fixed;inset:0}.rail-shell:not(.is-employee-shell).is-mobile-sidebar-open .mobile-sidebar-backdrop{display:block}.rail-shell:not(.is-employee-shell) .rail-content{padding:calc(64px + env(safe-area-inset-top)) calc(14px + env(safe-area-inset-right)) calc(86px + env(safe-area-inset-bottom)) calc(14px + env(safe-area-inset-left))}.rail-shell:not(.is-employee-shell) .page{width:100%;max-width:none}.rail-shell:not(.is-employee-shell) .page-header{flex-direction:column;align-items:stretch;gap:8px;margin-bottom:12px;padding-bottom:10px}.rail-shell:not(.is-employee-shell) .page-header-copy{clip:rect(0, 0, 0, 0);clip-path:inset(50%);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.rail-shell:not(.is-employee-shell) .page-header h1{font-size:clamp(1.45rem,6vw,1.9rem)}.rail-shell:not(.is-employee-shell) .sidebar-header{padding:16px}.rail-shell:not(.is-employee-shell) .sidebar-nav{flex:auto;gap:4px;padding:12px 16px 18px;display:grid;overflow-y:auto}.rail-shell:not(.is-employee-shell) .sidebar-footer,.rail-shell:not(.is-employee-shell) .rail-page-context{display:none}.rail-content{padding:18px 16px 28px}.dashboard-kpi-grid{grid-template-columns:1fr}.card,.dashboard-panel,.dashboard-alert-panel,.rail-panel{padding:18px}}@media (width<=1280px){.rail-three-column,.rail-four-column,.dashboard-layout,.rail-two-column{grid-template-columns:1fr}}@media (width<=480px){.page-header,.page-header-copy,.page-header-actions{max-width:calc(100vw - 32px)}.page-eyebrow,.page-header h1,.page-subtitle{overflow-wrap:anywhere}.dashboard-kpi-grid,.focus-strip,.quick-actions-grid{grid-template-columns:1fr;gap:12px}.page-header{margin-bottom:14px;padding-bottom:12px}.rail-shell:not(.is-employee-shell) .rail-content{padding-right:max(12px, env(safe-area-inset-right));padding-left:max(12px, env(safe-area-inset-left))}.card,.dashboard-panel,.dashboard-alert-panel,.rail-panel{border-radius:10px;padding:16px}code{max-width:100%;overflow-x:auto}}@media (width<=1100px) and (width>=901px){.sidebar{width:200px}.sidebar nav a,.sidebar-link{padding:8px 12px;font-size:.85rem}}:root{--gold-100:#f5ebcf;--gold-200:#e8d497;--gold-300:#d6b870;--gold-400:#c9a24a;--gold-500:#b58a30;--gold-600:#7a5315;--ink-100:#f7f5f0;--ink-200:#ece8df;--ink-300:#c9c5bc;--ink-400:#8a8a8a;--ink-500:#4a4d54;--ink-700:#2b2d33;--ink-900:#15171b;--silver-100:#f4f4f4;--silver-200:#d9d9d9;--silver-300:#b5b5b5;--silver-400:#8e8e8e;--silver-500:#5c5c5c;--hi-vis-yellow:#e6e823;--hi-vis-orange:#e76a1f;--text:#4a4d54;--text-h:#15171b;--bg:#f7f5f0;--border:#ded8ca;--code-bg:var(--gold-100);--accent:#c9a24a;--accent-bg:#c9a24a1f;--accent-border:#c9a24a80;--social-bg:#f4f3ec80;--shadow:#15171b1a 0 10px 15px -3px, #15171b0d 0 4px 6px -2px;--sans:"Manrope", system-ui, "Segoe UI", Roboto, sans-serif;--heading:"Archivo", system-ui, "Segoe UI", Roboto, sans-serif;--brand-body:"Manrope", system-ui, "Segoe UI", Roboto, sans-serif;--brand-display:"Archivo", system-ui, "Segoe UI", Roboto, sans-serif;--brand-serif:"Cormorant Garamond", Georgia, serif;--mono:ui-monospace, "JetBrains Mono", Consolas, monospace;--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light dark;color:var(--text);background:var(--bg);font-synthesis:none;text-rendering:optimizelegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}@media (prefers-color-scheme:dark){:root{--lightningcss-light: ;--lightningcss-dark:initial}}:root{--polish-radius-lg:18px;--polish-radius-md:12px;--polish-tint-neutral:#2b2d330f;--polish-tint-success:#3f835714;--polish-tint-warning:#c8952f0f;--polish-tint-danger:#c91f1f14;--polish-tint-info:#2b2d3314;--polish-shadow:0 1px 2px #15171b0a, 0 8px 24px #15171b0f;--polish-shadow-hover:0 1px 2px #15171b0d, 0 14px 32px #15171b1a;--polish-ring:0 0 0 2px #c9a24a3d;--polish-border-soft:#15171b0f;--polish-text-strong:var(--ink-900);--polish-text-muted:var(--ink-500);--nxab-ink:var(--ink-900);--nxab-slate:var(--ink-700);--nxab-silver:var(--silver-300);--nxab-paper:var(--ink-100);--nxab-gold:var(--gold-400);--nxab-gold-soft:var(--gold-100);--rail-ink:var(--ink-900);--rail-ink-soft:var(--ink-500);--rail-surface:var(--ink-100);--rail-surface-elevated:var(--silver-100);--rail-surface-muted:var(--ink-200);--rail-sidebar:var(--ink-700);--rail-sidebar-strong:var(--ink-900);--rail-sidebar-text:#f7f5f0c2;--rail-accent:var(--ink-900);--rail-accent-2:var(--gold-300);--rail-gold:var(--gold-400);--rail-gold-soft:var(--gold-100);--rail-gold-dark:var(--gold-600);--rail-silver:var(--silver-300);--rail-info-bg:var(--ink-200);--rail-line:var(--ink-300);--rail-border:var(--ink-300);--rail-fg:var(--ink-700);--rail-fg-muted:var(--ink-500);--rail-success:#3f8357;--rail-success-bg:#e6efe7;--rail-warning:var(--gold-600);--rail-warning-bg:var(--silver-100);--rail-danger:#c91f1f;--rail-danger-bg:#f9e9e7;--rail-shadow:0 1px 3px #15171b0d, 0 8px 20px #15171b12;--rail-shadow-soft:0 1px 3px #15171b0f, 0 4px 8px #15171b0a;--primary:var(--gold-400);--primary-dark:var(--gold-600);--primary-light:var(--gold-100);--surface-soft:var(--ink-100);--surface-tint:var(--gold-100);--sidebar-bg:var(--ink-700);--sidebar-hover:var(--ink-700);--sidebar-active:var(--ink-900);--sidebar-text:#f5ebcfc2;--sidebar-white:var(--ink-100);--card:var(--silver-100);--text-muted:var(--ink-500);--text-soft:var(--ink-400);--border-light:var(--ink-300);--success:#3f8357;--success-bg:#e6efe7;--danger:#c91f1f;--danger-bg:#f9e9e7;--warning:var(--gold-600);--warning-bg:var(--silver-100);--info:var(--ink-700);--radius-xs:2px;--radius-sm:4px;--radius-md:8px;--radius-lg:12px;--radius-xl:16px;--radius-2xl:20px;--radius-pill:999px;--shadow-xs:0 1px 2px #15171b0a;--shadow-sm:0 1px 3px #15171b0f, 0 4px 8px #15171b0a;--shadow-md:0 1px 3px #15171b0d, 0 8px 20px #15171b12;--shadow-lg:0 2px 4px #15171b0d, 0 16px 36px #15171b1a;--shadow-xl:0 4px 8px #15171b0f, 0 24px 48px #15171b21;--shadow-focus:0 0 0 3px #c9a24a47;--shadow-focus-danger:0 0 0 3px #c91f1f38;--gap-1:4px;--gap-2:8px;--gap-3:12px;--gap-4:16px;--gap-5:20px;--gap-6:24px;--gap-8:32px;--gap-10:40px;--gap-12:48px;--motion-fast:.12s;--motion-base:.2s;--motion-slow:.3s;--motion-ease:cubic-bezier(.25, .46, .45, .94);--motion-spring:cubic-bezier(.34, 1.56, .64, 1);--z-base:1;--z-raised:10;--z-dropdown:100;--z-sticky:200;--z-overlay:400;--z-modal:500;--z-toast:600;--border-default:#15171b1a;--border-soft:#15171b0f;--border-strong:#15171b2e;--focus-ring-color:var(--rail-gold,#c9a24a);--focus-ring:0 0 0 2px #fff, 0 0 0 4px var(--focus-ring-color);--state-ok:var(--rail-success,#2e7d32);--state-warn:var(--gold-600);--state-risk:var(--gold-600);--state-danger:var(--rail-danger,#c62828);--state-info:var(--ink-700);--state-available:var(--gold-600);--state-off:var(--silver-500);--radius:12px;--shadow:0 1px 3px #15171b0d, 0 8px 20px #15171b12}@media (prefers-reduced-motion:reduce){:root{--motion-fast:0s;--motion-base:0s;--motion-slow:0s}*,:before,:after{scroll-behavior:auto!important;transition-duration:.01ms!important;animation-duration:.01ms!important;animation-iteration-count:1!important}}@media (prefers-color-scheme:dark){:root{--text:var(--ink-300);--text-h:var(--ink-100);--bg:var(--ink-900);--border:var(--ink-700);--code-bg:var(--ink-700);--accent:var(--gold-400);--accent-bg:#c9a24a29;--accent-border:#c9a24a80;--social-bg:#2b2d3380;--shadow:#15171b66 0 10px 15px -3px, #15171b40 0 4px 6px -2px}#social .button-icon{filter:invert()brightness(2)}}html[data-color-scheme=dark]{--text:var(--ink-300);--text-h:var(--ink-100);--bg:var(--ink-900);--border:var(--ink-700);--code-bg:var(--ink-700);--accent:var(--gold-400);--accent-bg:#c9a24a29;--accent-border:#c9a24a80;--social-bg:#2b2d3380;--shadow:#15171b66 0 10px 15px -3px, #15171b40 0 4px 6px -2px}:root{--ls-tight:.06em;--ls-eyebrow:.14em;--ls-upper:.18em;--ls-wide:.28em}*,:before,:after{box-sizing:border-box}body{margin:0}html,body,#root{min-height:100%}html,body{overflow-x:clip}img{max-width:100%;height:auto}body{font-family:var(--brand-body);letter-spacing:0;color:var(--text);background:var(--ink-100,#f7f5f0);-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light dark;font-size:17px;line-height:1.5}@media (prefers-color-scheme:dark){body{--lightningcss-light: ;--lightningcss-dark:initial}}#root{text-align:left;border:0;width:100%;max-width:none;margin:0}h1,h2,h3,h4{font-family:var(--brand-display);color:var(--rail-ink);margin:0;font-weight:700}h1{letter-spacing:0;margin:32px 0;font-size:56px;font-weight:800;line-height:1.05}h2{letter-spacing:0;margin:0 0 8px;font-size:30px;font-weight:700;line-height:1.18}h3{margin:0 0 6px;font-size:24px;font-weight:600;line-height:1.25}p{margin:0}a{color:inherit;text-decoration:none}code{font-family:var(--mono);color:var(--text-h);background:var(--code-bg);border-radius:4px;padding:4px 8px;font-size:15px;line-height:135%;display:inline-flex}.counter{font-family:var(--mono);color:var(--text-h);border-radius:4px;display:inline-flex}.skip-link{z-index:1000;background:var(--rail-sidebar-strong);color:#fff;box-shadow:var(--rail-shadow-soft);border-radius:8px;padding:10px 14px;font-weight:800;position:fixed;top:12px;left:12px;transform:translateY(-140%)}.skip-link:focus{transform:translateY(0)}.rail-shell .sidebar{z-index:40;background:linear-gradient(180deg, var(--rail-sidebar) 0%, var(--rail-sidebar-strong) 100%);width:320px;min-height:100vh;max-height:100vh;box-shadow:none;flex-direction:column;display:flex;position:fixed;inset:0 auto 0 0;overflow:hidden}.mobile-sidebar-backdrop{display:none}.rail-shell .main-content{min-height:100vh;margin-left:320px;padding:0}.rail-content{padding:24px 30px 40px}.rail-shell:not(.is-employee-shell) .sidebar{background:linear-gradient(180deg, #c9a24a1a, #fff0 34%), linear-gradient(180deg, var(--ink-700,#2b2d33) 0%, var(--ink-900,#15171b) 100%);box-shadow:inset -1px 0 #f5ebcf1a}html,body,#root,.app,.rail-shell{width:100%;max-width:100%}html{-webkit-text-size-adjust:100%}body{overscroll-behavior-y:none;-webkit-tap-highlight-color:transparent}.rail-shell,.rail-shell .main-content,.rail-shell .rail-content,.rail-shell .page,.rail-shell .card,.rail-shell .dashboard-panel,.rail-shell .rail-panel,.rail-shell .table-scroll,.rail-shell form,.rail-shell fieldset{min-width:0}.app.rail-shell{min-height:100vh;position:relative}.rail-shell .rail-content{max-width:100%;overflow-x:clip}.page{max-width:1480px}.card,.rail-panel,.rail-surface-card,.dashboard-alert-card,.dashboard-panel,.dashboard-alert-panel{background:#fff;border:1.5px solid #15171b1f;border-radius:10px;box-shadow:0 1px 3px #15171b12,0 4px 14px #15171b0d}.card,.dashboard-panel,.dashboard-alert-panel,.rail-panel{padding:22px 24px}.dashboard-kpi-grid,.rail-shell:not(.is-employee-shell) .dashboard-kpi-grid{grid-template-columns:repeat(auto-fit,minmax(min(100%,220px),1fr));gap:clamp(12px,1.4vw,18px);display:grid}.focus-strip{grid-template-columns:repeat(auto-fit,minmax(min(100%,240px),1fr));gap:clamp(12px,1.4vw,18px);display:grid}.quick-actions-grid{grid-template-columns:repeat(auto-fit,minmax(min(100%,240px),1fr));gap:clamp(10px,1.2vw,14px);display:grid}.dashboard-layout,.rail-two-column{grid-template-columns:minmax(0,1.7fr) minmax(360px,.8fr);gap:24px;display:grid}.rail-three-column{grid-template-columns:minmax(280px,.9fr) minmax(420px,1.1fr) minmax(320px,.9fr);gap:24px;display:grid}.rail-four-column{grid-template-columns:repeat(4,minmax(0,1fr));gap:20px;display:grid}.form-grid{gap:14px;display:grid}.inline-field-row{align-items:center;gap:8px;display:flex}.inline-field-row input,.inline-field-row select{flex:1;min-width:0}.date-chip-row{flex-wrap:wrap;gap:8px;margin-top:10px;display:flex}.page-header{justify-content:space-between;align-items:flex-start;gap:18px;margin-bottom:30px;display:flex}.page-header-copy{gap:12px;min-width:0;display:grid}.page-header h1{margin:0;line-height:1.05}.page-eyebrow{color:var(--rail-ink-soft);letter-spacing:.14em;text-transform:uppercase;font-size:.74rem;font-weight:800}.page-header-actions{flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:10px;display:flex}@media (width<=1024px){h1{margin:20px 0;font-size:36px}h2{font-size:20px}body{font-size:16px}.rail-shell .sidebar{width:280px}.rail-shell .main-content{margin-left:280px}.rail-content{padding-inline:20px}}@media (width<=860px){.rail-shell .sidebar{width:100%;min-height:auto;max-height:none;position:static;overflow:visible}.rail-shell .main-content{margin-left:0}.rail-shell.is-employee-shell .sidebar,.rail-shell.is-employee-shell .rail-topbar{display:none}.rail-shell.is-employee-shell .main-content{padding-bottom:calc(78px + env(safe-area-inset-bottom));margin-left:0}.rail-shell.is-employee-shell .mobile-topbar{z-index:45;padding:calc(10px + env(safe-area-inset-top)) 14px 10px;display:flex;position:sticky;top:0}.rail-shell.is-employee-shell .mobile-tabbar{padding:8px calc(10px + env(safe-area-inset-right)) calc(8px + env(safe-area-inset-bottom)) calc(10px + env(safe-area-inset-left));display:grid}.rail-shell:not(.is-employee-shell) .rail-topbar{display:none}.rail-shell:not(.is-employee-shell) .admin-mobile-topbar{z-index:45;padding:calc(8px + env(safe-area-inset-top)) 12px 8px;background:linear-gradient(180deg, var(--rail-sidebar-strong), var(--rail-sidebar));display:grid;position:fixed;top:0;left:0;right:0;box-shadow:0 10px 24px #15171b2e}.app{flex-direction:column}.rail-shell:not(.is-employee-shell) .main-content{order:1;min-height:100svh;margin-left:0;padding:0}.rail-shell:not(.is-employee-shell) .sidebar{z-index:70;order:initial;visibility:hidden;pointer-events:none;width:min(86vw,340px);min-height:100dvh;max-height:100dvh;transition:transform .18s;position:fixed;inset:0 auto 0 0;overflow:hidden;transform:translate(-105%);box-shadow:18px 0 44px #15171b47}.rail-shell:not(.is-employee-shell).is-mobile-sidebar-open .sidebar{visibility:visible;pointer-events:auto;transform:translate(0)}.rail-shell:not(.is-employee-shell) .mobile-sidebar-backdrop{z-index:65;-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);background:#15171b73;border:0;padding:0;display:none;position:fixed;inset:0}.rail-shell:not(.is-employee-shell).is-mobile-sidebar-open .mobile-sidebar-backdrop{display:block}.rail-shell:not(.is-employee-shell) .rail-content{padding:calc(64px + env(safe-area-inset-top)) calc(14px + env(safe-area-inset-right)) calc(86px + env(safe-area-inset-bottom)) calc(14px + env(safe-area-inset-left))}.rail-shell:not(.is-employee-shell) .page{width:100%;max-width:none}.rail-shell:not(.is-employee-shell) .page-header{flex-direction:column;align-items:stretch;gap:8px;margin-bottom:12px;padding-bottom:10px}.rail-shell:not(.is-employee-shell) .page-header-copy{clip:rect(0, 0, 0, 0);clip-path:inset(50%);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.rail-shell:not(.is-employee-shell) .page-header h1{font-size:clamp(1.45rem,6vw,1.9rem)}.rail-shell:not(.is-employee-shell) .sidebar-header{padding:16px}.rail-shell:not(.is-employee-shell) .sidebar-nav{flex:auto;gap:4px;padding:12px 16px 18px;display:grid;overflow-y:auto}.rail-shell:not(.is-employee-shell) .sidebar-footer,.rail-shell:not(.is-employee-shell) .rail-page-context{display:none}.rail-content{padding:18px 16px 28px}.dashboard-kpi-grid{grid-template-columns:1fr}.card,.dashboard-panel,.dashboard-alert-panel,.rail-panel{padding:18px}}@media (width<=1280px){.rail-three-column,.rail-four-column,.dashboard-layout,.rail-two-column{grid-template-columns:1fr}}@media (width<=480px){.page-header,.page-header-copy,.page-header-actions{max-width:calc(100vw - 32px)}.page-eyebrow,.page-header h1,.page-subtitle{overflow-wrap:anywhere}.dashboard-kpi-grid,.focus-strip,.quick-actions-grid{grid-template-columns:1fr;gap:12px}.page-header{margin-bottom:14px;padding-bottom:12px}.rail-shell:not(.is-employee-shell) .rail-content{padding-right:max(12px, env(safe-area-inset-right));padding-left:max(12px, env(safe-area-inset-left))}.card,.dashboard-panel,.dashboard-alert-panel,.rail-panel{border-radius:10px;padding:16px}code{max-width:100%;overflow-x:auto}}@media (width<=1100px) and (width>=901px){.sidebar{width:200px}.sidebar nav a,.sidebar-link{padding:8px 12px;font-size:.85rem}}.btn-primary,.btn-secondary,.btn-danger,.btn-tertiary,.btn-ghost,.btn-link{justify-content:center;align-items:center;gap:var(--gap-2);border-radius:var(--radius-md);letter-spacing:.01em;cursor:pointer;transition:background var(--motion-fast) var(--motion-ease), border-color var(--motion-fast) var(--motion-ease), box-shadow var(--motion-fast) var(--motion-ease), transform var(--motion-fast) var(--motion-ease);white-space:nowrap;-webkit-user-select:none;user-select:none;border:1px solid #0000;padding:9px 18px;font-size:.9rem;font-weight:700;line-height:1.25;text-decoration:none;display:inline-flex}.btn{justify-content:center;align-items:center;gap:var(--gap-2);border-radius:var(--radius-md);cursor:pointer;min-height:40px;font-weight:700;line-height:1.25;text-decoration:none;display:inline-flex}.btn-sm,.btn-primary.btn-sm,.btn-secondary.btn-sm,.btn-danger.btn-sm{border-radius:var(--radius-sm);padding:6px 12px;font-size:.82rem}.btn-primary{background:var(--ink-900,#15171b);border-color:var(--ink-900,#15171b);color:var(--gold-400,#c9a24a);box-shadow:var(--shadow-xs)}.btn-primary:hover:not(:disabled){background:var(--ink-900);border-color:var(--gold-400,#c9a24a);color:var(--ink-100,#f7f5f0);box-shadow:var(--shadow-sm);transform:translateY(-1px)}.btn-primary:active:not(:disabled){box-shadow:var(--shadow-xs);transform:translateY(0)}.btn-primary:focus-visible{outline:none;box-shadow:0 0 0 3px #c9a24a52}.btn-secondary{border:1.5px solid var(--ink-900,#15171b);color:var(--ink-900,#15171b);box-shadow:none;background:#fff}.btn-secondary:hover:not(:disabled){border-color:var(--ink-900,#15171b);background:var(--ink-900,#15171b);color:var(--ink-100,#f7f5f0);box-shadow:var(--shadow-sm);transform:translateY(-1px)}.btn-secondary:focus-visible{outline:none;box-shadow:0 0 0 3px #c9a24a59}.btn-danger{background:var(--rail-danger);border-color:var(--rail-danger);color:#fff;box-shadow:var(--shadow-xs)}.btn-danger:hover:not(:disabled){box-shadow:var(--shadow-focus-danger), var(--shadow-sm);background:#a51717;border-color:#a51717;transform:translateY(-1px)}.btn-danger:focus-visible{box-shadow:var(--shadow-focus-danger);outline:none}.btn-ghost{color:var(--ink-900,#15171b);background:0 0;border-color:#2b2d3329}.btn-ghost:hover:not(:disabled){background:var(--rail-surface-elevated,#f4f4f4);border-color:var(--gold-400,#c9a24a)}.btn-ghost:focus-visible{box-shadow:var(--shadow-focus);outline:none}.btn-tertiary{color:var(--ink-900,#15171b);background:#2b2d3312;border-color:#0000}.btn-tertiary:hover:not(:disabled){background:#2b2d331a}.btn-tertiary:focus-visible{box-shadow:var(--shadow-focus);outline:none}.btn-link{color:var(--rail-accent);min-height:unset;text-underline-offset:3px;background:0 0;border-color:#0000;border-radius:0;padding:0;font-weight:600;text-decoration:underline}.btn-link:hover:not(:disabled){color:var(--text-h)}.btn-link:focus-visible{outline:2px solid var(--accent-border);outline-offset:2px;border-radius:2px}button,[role=button],.btn,.btn-primary,.btn-secondary,.btn-danger,.btn-tertiary,.btn-ghost,.tab,.chip,.kpi-tile,.sidebar-link,.sidebar-section-summary,.mobile-topbar-action,.admin-mobile-tab-link{touch-action:manipulation}.rail-shell:not(.is-employee-shell) .btn:focus-visible,.rail-shell:not(.is-employee-shell) .btn-primary:focus-visible,.rail-shell:not(.is-employee-shell) .btn-secondary:focus-visible,.rail-shell:not(.is-employee-shell) .sidebar-link:focus-visible,.rail-shell:not(.is-employee-shell) .quick-action-card:focus-visible{outline-offset:3px;outline:3px solid #c9a24a47}.form-group{gap:var(--gap-2);flex-direction:column;display:flex}.form-group label{text-transform:uppercase;letter-spacing:.08em;color:var(--rail-ink-soft);margin-bottom:8px;font-size:.8rem;font-weight:700}input,select,textarea{min-height:48px;color:var(--rail-ink);padding:0 var(--gap-3);transition:border-color var(--motion-fast) var(--motion-ease), box-shadow var(--motion-fast) var(--motion-ease);background:#fffffff5;border:1.5px solid #15171b2e;border-radius:10px;font-family:inherit;font-size:.98rem;box-shadow:inset 0 -1px #15171b0a}select{appearance:none;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23c9a24a' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");background-position:right 12px center;background-repeat:no-repeat;padding-right:2.5rem}textarea{min-height:110px;padding:var(--gap-3);resize:vertical}input:focus,select:focus,textarea:focus{border-color:var(--gold-400,#c9a24a)}input:focus-visible,select:focus-visible,textarea:focus-visible{outline:2px solid var(--rail-gold,#c9a24a);outline-offset:2px;box-shadow:0 0 0 3px #c9a24a38}input::placeholder,textarea::placeholder{color:var(--rail-ink-soft);opacity:.7}input:disabled,select:disabled,textarea:disabled{opacity:.55;cursor:not-allowed;background:var(--rail-surface-muted,#ece8df);box-shadow:none;border-color:#15171b14}.checkbox-field{flex-direction:row;align-items:center;gap:.5rem;display:flex}.checkbox-field input[type=checkbox]{min-height:unset;cursor:pointer;border-radius:4px;width:18px;height:18px;padding:0}.table-scroll{-webkit-overflow-scrolling:touch;overscroll-behavior-x:contain;overflow-x:auto}.table{border-collapse:collapse;width:100%}.table th{text-align:left;text-transform:uppercase;letter-spacing:.12em;color:var(--rail-ink-soft);border-bottom:1px solid #2b2d331a;padding:18px 12px;font-size:.84rem}.table td{vertical-align:top;border-bottom:1px solid #2b2d3314;padding:22px 12px}.table tr:last-child td{border-bottom:0}.table tbody tr:hover{background:#2b2d330d}.table-empty{background:var(--rail-surface-elevated,#f4f4f4);padding:32px 12px}.empty-state-content{text-align:center;place-items:center;gap:8px;display:grid}.empty-state-title,.empty-state-message{display:block}.sr-only{clip:rect(0, 0, 0, 0);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.rail-shell:not(.is-employee-shell) .table-scroll{background:#fff;border:1px solid #2b2d3314;border-radius:14px}.rail-shell:not(.is-employee-shell) .table th{background:var(--rail-surface-elevated,#f4f4f4);color:var(--rail-ink-soft)}.rail-shell:not(.is-employee-shell) .table td{color:var(--rail-ink)}.rail-shell:not(.is-employee-shell) .table tbody tr:hover{background:#2b2d330f}.alert{border-radius:12px;align-items:flex-start;gap:10px;margin-bottom:18px;padding:14px 16px;animation:.2s ease-out slideDown;display:flex}.alert:before{margin-top:1px;font-weight:800}.alert-error,.error-banner{background:var(--rail-danger-bg);color:var(--rail-danger);border:1px solid #c91f1f1f}.alert-error:before{content:"!"}.alert-success{background:var(--rail-surface-elevated,#f4f4f4);color:var(--rail-success);border:1px solid #3f83571f;border-left:4px solid var(--rail-success)}.alert-success:before{content:"✓"}.alert-warning{background:var(--rail-surface-elevated,#f4f4f4);color:var(--rail-warning);border:1px solid #c8952f33;border-left:4px solid var(--gold-400,#c9a24a)}.alert-info{background:var(--rail-surface-elevated,#f4f4f4);color:var(--rail-accent);border:1px solid #2b2d331a}.success-msg{color:var(--rail-success);font-size:.88rem}.error-msg{color:var(--rail-danger);background:var(--rail-danger-bg,#f9e9e7);border-left:3px solid var(--rail-danger);border-radius:var(--radius-sm);padding:10px 14px;font-size:.88rem}.success-msg{color:var(--rail-success,#3f8357);background:var(--rail-success-bg,#e6efe7);border-left:3px solid var(--rail-success,#3f8357);border-radius:var(--radius-sm);padding:10px 14px;font-size:.88rem}.warning-msg{color:var(--rail-warning,#8e6a1f);background:var(--gold-100,#f5ebcf);border-left:3px solid var(--gold-400,#c9a24a);border-radius:var(--radius-sm);padding:10px 14px;font-size:.88rem}.loading-placeholder{justify-content:center;align-items:center;gap:var(--gap-3);padding:var(--gap-10) var(--gap-6);background:var(--rail-surface-elevated,#f4f4f4);border-radius:var(--radius-lg);color:var(--rail-ink-soft,#4a4d54);margin:var(--gap-4) 0;border:1px solid #15171b14;font-size:.95rem;display:flex}.loading-placeholder:before{content:"";border:2px solid var(--gold-200,#e8d497);border-top-color:var(--gold-400,#c9a24a);border-radius:50%;flex-shrink:0;width:16px;height:16px;animation:.7s linear infinite nxab-spin;display:inline-block}@keyframes nxab-spin{to{transform:rotate(360deg)}}.error-state{align-items:flex-start;gap:var(--gap-3);padding:var(--gap-6) var(--gap-6);background:var(--rail-danger-bg,#f9e9e7);border:1px solid #c91f1f24;border-left:4px solid var(--rail-danger,#c91f1f);border-radius:var(--radius-lg);color:var(--rail-danger,#9f3329);margin:var(--gap-4) 0;flex-direction:column;font-size:.95rem;display:flex}.success-banner{align-items:center;gap:var(--gap-3);padding:var(--gap-4) var(--gap-6);background:var(--rail-success-bg,#e6efe7);border:1px solid #3f835724;border-left:4px solid var(--rail-success,#3f8357);border-radius:var(--radius-lg);color:var(--rail-success,#3f8357);margin:var(--gap-4) 0;font-size:.95rem;display:flex}.rail-shell:not(.is-employee-shell) .error-banner,.rail-shell:not(.is-employee-shell) .alert-error{border-left:4px solid var(--rail-danger)}.badge,.status-badge,.priority-pill{border-radius:var(--radius-md);letter-spacing:.02em;text-transform:uppercase;align-items:center;gap:8px;padding:7px 12px;font-size:.82rem;font-weight:700;display:inline-flex}.badge-neutral,.status-badge{background:var(--ink-200,#ece8df);color:var(--rail-ink)}.badge-pending,.risk-medium{background:var(--rail-surface-elevated,#f4f4f4);color:var(--rail-warning);border:1px solid var(--gold-400,#c9a24a)}.risk-low{background:var(--rail-surface-elevated,#f4f4f4);color:var(--rail-success);border:1px solid var(--rail-success)}.risk-high,.risk-critical{background:var(--rail-danger-bg);color:var(--rail-danger)}.priority-pill{border-radius:var(--radius-pill);letter-spacing:.04em;font-variant-numeric:tabular-nums;padding:4px 12px;font-weight:700}.badge-open,.badge-open-for-requests{background:var(--rail-surface-elevated,#f4f4f4);color:var(--ink-700,#2b2d33);border:1px solid var(--gold-400,#c9a24a)}.badge-assigned{background:var(--rail-surface-elevated,#f4f4f4);color:var(--rail-success);border:1px solid var(--rail-success)}.badge-completed,.badge-cancelled{background:var(--rail-danger-bg);color:var(--rail-danger)}.role-badge{border-radius:var(--radius-pill);letter-spacing:0;padding:6px 10px;font-size:.8rem;font-weight:700}.role-badge.admin{background:var(--rail-danger-bg);color:var(--rail-danger)}.role-badge.supervisor{background:var(--rail-surface-elevated,#f4f4f4);color:var(--rail-warning);border:1px solid var(--gold-400,#c9a24a)}.role-badge.employee{background:var(--rail-surface-elevated,#f4f4f4);color:var(--ink-700,#2b2d33);border:1px solid var(--ink-300,#c9c5bc)}.cert-badge{border-radius:var(--radius-pill);background:var(--ink-200,#ece8df);color:var(--ink-700,#2b2d33);border:1px solid #2b2d332e;padding:5px 9px}.sidebar-link{width:100%;min-width:0;color:var(--rail-sidebar-text);transition:background-color var(--motion-fast) var(--motion-ease), color var(--motion-fast) var(--motion-ease), transform var(--motion-fast) var(--motion-ease);border-radius:10px;align-items:center;gap:11px;padding:15px 20px;font-size:1.05rem;line-height:1.25;text-decoration:none;display:flex}.sidebar-link span{text-overflow:ellipsis;min-width:0;overflow:hidden}.sidebar-link-hint{color:#ffffff94;letter-spacing:0;text-transform:none;margin-top:3px;font-size:.72rem;font-weight:600;line-height:1.25;display:block}.sidebar-link.active .sidebar-link-hint,.sidebar-link:hover .sidebar-link-hint,.sidebar-link:focus-visible .sidebar-link-hint{color:#ffffffdb}.sidebar-link.active{color:#fff;background:#ffffff2e}.sidebar-link:hover{color:#fff;background:#ffffff1a}.sidebar-link:after{content:"";background:0 0;border-radius:999px;width:6px;height:6px;position:absolute;top:50%;right:14px;transform:translateY(-50%)}.sidebar-link.active:after{background:var(--rail-gold);box-shadow:0 0 0 6px #c8952f1f}.sidebar-section-label{color:#f7f5f0a6;letter-spacing:.1em;text-transform:uppercase;margin-top:6px;padding:18px 20px 8px;font-size:.68rem;font-weight:800;line-height:1.2}.rail-shell:not(.is-employee-shell) .sidebar-link{border-radius:10px;min-height:42px;position:relative}.rail-shell:not(.is-employee-shell) .sidebar-link:hover,.rail-shell:not(.is-employee-shell) .sidebar-link:focus-visible{transform:translate(2px)}.rail-shell:not(.is-employee-shell) .sidebar-link.active{box-shadow:inset 3px 0 0 var(--gold-400,#c9a24a);background:#fff3}.rail-page-context{justify-content:space-between;align-items:center;gap:var(--gap-3);margin:0 0 16px;display:flex}.breadcrumbs{color:var(--rail-ink-soft);align-items:center;gap:8px;font-size:.86rem;font-weight:700;display:inline-flex}.breadcrumbs a{color:var(--rail-accent);text-decoration:none}.breadcrumbs a:hover,.breadcrumbs a:focus-visible{text-underline-offset:3px;text-decoration:underline}.color-legend{color:var(--rail-ink-soft);flex-wrap:wrap;align-items:center;gap:12px;font-size:.82rem;font-weight:700;display:inline-flex}.color-legend span{align-items:center;gap:6px;display:inline-flex}.legend-dot{border-radius:999px;width:10px;height:10px;box-shadow:0 0 0 3px #2b2d330f}.legend-dot-ok{background:var(--rail-success,#3f8357)}.legend-dot-warn{background:var(--gold-400,#c9a24a)}.legend-dot-danger{background:var(--rail-danger,#c91f1f)}.empty{color:var(--rail-ink-soft);font-style:normal;font-weight:600}.table-load-more{border-top:1px solid #2b2d3314;justify-content:center;padding:16px;display:flex}@media (width<=760px){.rail-page-context{flex-direction:column;align-items:flex-start}}.rail-shell:not(.is-employee-shell) .sidebar-section-label{color:#ffffff94;letter-spacing:.08em}.sidebar-header{flex:none;padding:22px 20px 18px}.sidebar-nav{overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#ffffff47 transparent;flex:auto;min-height:0;padding:0 14px 18px;overflow-y:auto}.sidebar-nav::-webkit-scrollbar{width:8px}.sidebar-nav::-webkit-scrollbar-thumb{background:#ffffff38;border-radius:999px}.rail-brand-lockup{align-items:center;gap:14px;min-width:0;display:flex}.rail-brand-icon{width:64px;height:64px;color:var(--rail-sidebar);background:#050505;border:1px solid #c9a24a5c;border-radius:8px;flex:none;place-items:center;display:grid;overflow:hidden;box-shadow:0 12px 28px #15171b2e}.rail-brand-icon-image{object-fit:contain;width:100%;height:100%;display:block}.sidebar-title{font-family:var(--brand-display,var(--heading));font-size:1.05rem;font-weight:800;display:block}.sidebar-subtitle{color:#ffffff8c;margin-top:2px;font-size:.95rem;display:block}.sidebar-icon{flex-shrink:0;width:21px;height:21px}.sidebar-collapsible{gap:4px;display:grid}.sidebar-collapsible>.sidebar-link{margin-top:2px}.sidebar-section-summary{color:#ffffffb8;cursor:pointer;border-radius:10px;align-items:center;min-height:38px;padding:10px 20px;font-size:.98rem;font-weight:700;list-style:none;display:flex}.sidebar-section-summary::-webkit-details-marker{display:none}.sidebar-section-summary:before{content:"›";width:16px;transition:transform var(--motion-fast) var(--motion-ease);margin-right:6px;display:inline-flex}.sidebar-collapsible[open]>.sidebar-section-summary:before{transform:rotate(90deg)}.sidebar-section-summary:hover,.sidebar-section-summary:focus-visible{color:#fff;background:#ffffff14;outline:none}.rail-shell .sidebar-footer{background:linear-gradient(#ffffff05,#ffffff0d);flex:none;padding:18px 18px 20px}.rail-shell .user-info{background:#ffffff0d;border:1px solid #ffffff14;border-radius:14px;align-items:center;gap:12px;margin-bottom:14px;padding:12px;display:flex}.rail-shell .user-avatar{color:#fff;background:linear-gradient(#ffffff2e,#ffffff14);border:1px solid #ffffff1f;border-radius:10px;flex:none;justify-content:center;align-items:center;width:40px;height:40px;font-weight:800;display:inline-flex}.user-details{flex-direction:column;gap:2px;min-width:0;line-height:1.15;display:flex}.user-name,.user-role{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.user-name{color:#fff;font-weight:800}.user-role{color:#ffffff9e;font-size:.82rem}.rail-planning-cta{color:#ffffffdb;align-items:center;gap:8px;margin-bottom:14px;font-weight:700;text-decoration:none;display:inline-flex}.btn-logout{color:#fff;min-height:34px;font:inherit;cursor:pointer;background:#ffffff29;border:1px solid #ffffff24;border-radius:6px;justify-content:center;align-items:center;gap:7px;padding:0 10px;font-size:.78rem;font-weight:800;display:inline-flex}.btn-logout:hover,.btn-logout:focus-visible{background:#ffffff3d;outline:none}.rail-topbar{-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);z-index:30;background:linear-gradient(90deg,#ffffffe0,#f7f5f0c7),linear-gradient(110deg,#0000 0 68%,#c9a24a1a 68% 69%,#0000 69% 100%);border-bottom:1px solid #2b2d331a;justify-content:space-between;align-items:center;height:96px;padding:0 30px;display:flex;position:sticky;top:0}.rail-topbar-left{align-items:center;gap:22px;min-width:0;display:flex}.rail-topbar-tabs{align-items:center;min-width:0;display:flex}.rail-topbar-tab{min-width:0;color:var(--rail-ink);background:#2b2d3312;border:1px solid #2b2d331f;border-radius:999px;align-items:center;padding:12px 16px;font-size:.98rem;display:inline-flex}.rail-topbar-tab.is-active{color:var(--rail-ink);font-weight:700}.rail-topbar-right{align-items:center;gap:14px;display:flex}.rail-topbar-brandmark{min-width:0;color:var(--rail-ink);align-items:center;gap:12px;text-decoration:none;display:inline-flex}.rail-topbar-brandmark-icon{background:#050505;border:1px solid #c9a24a4d;border-radius:8px;flex:none;place-items:center;width:48px;height:48px;display:grid;overflow:hidden}.rail-topbar-brandmark-image{object-fit:contain;width:100%;height:100%;display:block}.rail-topbar-brandmark-copy{flex-direction:column;gap:2px;min-width:0;line-height:1.12;display:flex}.rail-topbar-brandmark-copy strong{font-family:var(--brand-display,var(--heading));font-size:.98rem;font-weight:800}.rail-topbar-brandmark-copy small{color:var(--rail-ink-soft);font-size:.76rem}.rail-user-chip{color:var(--rail-ink);background:linear-gradient(#fffffff5,#f7f5f0eb);border:1px solid #2b2d331a;border-radius:999px;align-items:center;gap:12px;padding:10px 16px 10px 12px;font-weight:600;display:inline-flex;box-shadow:0 12px 24px #15171b14}.rail-user-chip-status{background:var(--rail-success);border-radius:999px;width:8px;height:8px;box-shadow:0 0 0 6px #3f83571f}.rail-user-chip-avatar{width:38px;height:38px;color:var(--rail-ink);background:linear-gradient(#c9a24a38,#c9a24a14);border-radius:999px;justify-content:center;align-items:center;font-size:.86rem;font-weight:800;display:inline-flex}.rail-user-chip-copy{flex-direction:column;gap:2px;line-height:1.1;display:flex}.rail-user-chip-copy strong{font-size:.94rem;font-weight:800}.rail-user-chip-copy small{color:var(--rail-ink-soft);font-size:.76rem}.mobile-topbar{background:var(--ink-900,#15171b);-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);border-bottom:1px solid #c9a24a38;justify-content:space-between;align-items:center;gap:12px;box-shadow:inset 0 -2px #c9a24a73}.mobile-topbar-copy{flex-direction:column;gap:2px;min-width:0;display:flex}.mobile-topbar-heading{align-items:center;gap:10px;min-width:0;display:flex}.mobile-topbar-copy strong,.mobile-topbar-title{color:var(--ink-100,#f7f5f0);text-overflow:ellipsis;white-space:nowrap;margin:0;font-family:inherit;font-size:1rem;font-weight:800;line-height:1.2;overflow:hidden}.mobile-topbar-brand{letter-spacing:.14em;text-transform:uppercase;color:#f7f5f09e;font-size:.72rem;font-weight:800;font-family:var(--brand-serif,Georgia, serif)}.mobile-topbar-logo{object-fit:contain;background:#050505;border:1px solid #c9a24a4d;border-radius:6px;flex-shrink:0;width:34px;height:34px;display:block}.mobile-topbar-actions{flex-shrink:0;align-items:center;gap:8px;display:flex}.mobile-topbar-action{color:#f7f5f0db;background:#f7f5f014;border:1px solid #f7f5f038;border-radius:999px;justify-content:center;align-items:center;gap:4px;min-height:42px;padding:0 14px;font-size:.88rem;font-weight:700;text-decoration:none;display:inline-flex}.nav-notification-badge{min-width:1.35em;min-height:1.35em;color:var(--gold-400,#c9a24a);background:#f7f5f01a;border:1px solid #c9a24a8c;border-radius:999px;justify-content:center;align-items:center;padding:0 .28em;font-size:.72em;font-weight:900;line-height:1;display:inline-flex}.mobile-topbar-action:focus-visible,.mobile-tab-link:focus-visible{outline:2px solid var(--rail-accent);outline-offset:2px}.mobile-tabbar{z-index:44;background:var(--ink-900,#15171b);-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px);border-top:1px solid #c9a24a38;grid-template-columns:repeat(5,minmax(0,1fr));gap:8px;position:fixed;bottom:0;left:0;right:0;box-shadow:0 -12px 30px #15171b2e}.mobile-tab-link{color:#f7f5f09e;text-align:center;border-radius:16px;justify-content:center;align-items:center;min-height:52px;padding:8px 6px;font-size:.78rem;font-weight:700;text-decoration:none;display:inline-flex}.mobile-tab-link.is-active{box-shadow:inset 0 -3px 0 var(--gold-400,#c9a24a);color:var(--gold-400,#c9a24a);background:#f7f5f014}.admin-mobile-topbar{gap:10px;min-width:0;display:grid}.admin-mobile-topbar-heading{justify-content:space-between;align-items:center;gap:10px;min-width:0;display:flex}.admin-mobile-topbar-copy{flex-direction:column;flex:auto;gap:2px;min-width:0;display:flex}.admin-mobile-topbar-actions{flex-shrink:0;align-items:center;gap:8px;display:flex}.admin-mobile-topbar-copy strong,.admin-mobile-topbar-title{color:#fff;text-overflow:ellipsis;white-space:nowrap;margin:0;font-family:inherit;font-size:1rem;font-weight:800;line-height:1.2;overflow:hidden}.admin-mobile-topbar-eyebrow{letter-spacing:.14em;text-transform:uppercase;color:#ffffff9e;font-size:.7rem;font-weight:800}.admin-mobile-topbar-logo{object-fit:contain;background:#050505;border:1px solid #c9a24a4d;border-radius:6px;flex-shrink:0;width:34px;height:34px;display:block}.admin-mobile-tabbar{box-sizing:border-box;scrollbar-width:none;overscroll-behavior-x:contain;scroll-snap-type:x proximity;-webkit-overflow-scrolling:touch;align-items:center;gap:8px;width:100%;min-width:0;padding-right:4px;scroll-padding-inline:14px;display:flex;overflow-x:auto}.admin-mobile-tabbar::-webkit-scrollbar{display:none}.admin-mobile-tab-link{color:#ffffffdb;scroll-snap-align:start;white-space:nowrap;background:#f7f5f014;border-radius:999px;flex:none;justify-content:center;align-items:center;min-height:40px;padding:0 14px;font-size:.84rem;font-weight:700;text-decoration:none;display:inline-flex}.admin-mobile-tab-link.is-active{color:var(--gold-400,#c9a24a);box-shadow:inset 0 -3px 0 var(--gold-400,#c9a24a);background:0 0}.rail-shell .mobile-topbar,.rail-shell .mobile-tabbar,.rail-shell .admin-mobile-topbar{display:none}.modal-backdrop,.dialog-backdrop{z-index:var(--z-modal,500);-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);padding:var(--gap-4);background:#15171b66;justify-content:center;align-items:center;display:flex;position:fixed;inset:0}.modal,.dialog{background:var(--rail-surface-elevated);border-radius:var(--radius-lg);box-shadow:var(--shadow-xl);width:100%;max-width:min(600px,95vw);max-height:min(88vh,88svh);animation:.2s ease-out slideDown;overflow-y:auto}.modal-header,.dialog-header{justify-content:space-between;align-items:flex-start;gap:var(--gap-4);padding:20px 24px 0;display:flex}.modal-body,.dialog-body{padding:var(--gap-6) 24px}.modal-footer,.dialog-footer{gap:var(--gap-3);flex-wrap:wrap;justify-content:flex-end;padding:0 24px 20px;display:flex}@media (width<=860px){.btn,.btn-primary,.btn-secondary,.btn-danger,.btn-tertiary,.btn-ghost,.tab,.chip,.kpi-tile,.sidebar-link,.sidebar-section-summary,.mobile-topbar-action,.admin-mobile-tab-link{min-height:44px}.btn-primary,.btn-secondary,.btn-danger,.btn-tertiary,.btn-ghost{padding-inline:16px}.btn-sm,.btn-primary.btn-sm,.btn-secondary.btn-sm,.btn-danger.btn-sm{min-height:40px;padding-inline:14px}.admin-mobile-tab-link,.mobile-topbar-action{min-height:46px}.admin-mobile-topbar{gap:0}.admin-mobile-topbar-heading{gap:8px}.admin-mobile-topbar-logo{width:32px;height:32px}.admin-mobile-topbar-copy strong,.admin-mobile-topbar-title{font-size:.95rem}.admin-mobile-topbar-actions{gap:6px}.admin-mobile-topbar-actions .mobile-topbar-action{border-radius:10px;min-height:44px;padding:0 8px;font-size:.74rem}.admin-mobile-tabbar{z-index:46;padding:7px calc(8px + env(safe-area-inset-right)) calc(7px + env(safe-area-inset-bottom)) calc(8px + env(safe-area-inset-left));background:var(--ink-900,#15171b);-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px);scroll-snap-type:none;border-top:1px solid #c9a24a47;grid-template-columns:repeat(5,minmax(0,1fr));gap:4px;display:grid;position:fixed;bottom:0;left:0;right:0;overflow:visible;box-shadow:0 -14px 30px #15171b24}.admin-mobile-tab-link{color:#f7f5f0b8;text-align:center;white-space:normal;background:0 0;border-radius:16px;min-width:0;min-height:52px;padding:6px 4px;font-size:.75rem;line-height:1.15}.admin-mobile-tab-link.is-active{color:var(--gold-400,#c9a24a);box-shadow:inset 0 -3px 0 var(--gold-400,#c9a24a);background:0 0}.admin-mobile-tab-link span{text-overflow:ellipsis;min-width:0;overflow:hidden}.page-header-actions{justify-content:flex-start;width:100%}.page-header-actions>a,.page-header-actions>button,.page-header-actions>.btn,.page-header-actions>.btn-primary,.page-header-actions>.btn-secondary,.page-header-actions>.btn-danger{min-height:48px}.filter-chips,.tabs,.period-chips,.luck-filter-row{overscroll-behavior-x:contain;scroll-snap-type:x proximity;-webkit-overflow-scrolling:touch;flex-wrap:nowrap;padding-bottom:4px;scroll-padding-inline:12px;overflow-x:auto}.filter-chips>*,.tabs>*,.period-chips>*,.luck-filter-row>*{scroll-snap-align:start;flex:none}.table-scroll,.desktop-table{margin-inline:-12px;padding-inline:12px}.kpi-row{grid-template-columns:repeat(2,minmax(0,1fr));display:grid}.kpi-tile{min-height:92px}}@media (width<=720px){.modal-backdrop,.dialog-backdrop{align-items:flex-end;padding:0}.modal,.dialog{overscroll-behavior:contain;border-radius:18px 18px 0 0;width:100%;max-width:100vw;max-height:92svh}.modal-header,.dialog-header{padding:18px 18px 0}.modal-body,.dialog-body{padding:18px}.modal-footer,.dialog-footer{padding:0 18px calc(18px + env(safe-area-inset-bottom));background:var(--rail-surface-elevated,#fff);justify-content:stretch;position:sticky;bottom:0}.modal-footer button,.dialog-footer button,.modal-footer .btn,.dialog-footer .btn{flex:100%;min-height:48px}}@media (width<=420px){.kpi-row{grid-template-columns:1fr}.btn,.btn-primary,.btn-secondary,.btn-danger,.btn-tertiary,.btn-ghost{width:100%}}@media (hover:none) and (pointer:coarse){.card:hover,.kpi-tile:hover,.clickable-card:hover,.rail-shell:not(.is-employee-shell) .btn-primary:hover,.rail-shell:not(.is-employee-shell) .btn-secondary:hover,.rail-shell:not(.is-employee-shell) .btn-danger:hover{transform:none}}@media (width<=860px){.rail-shell:not(.is-employee-shell) .admin-mobile-topbar{gap:4px}.rail-shell:not(.is-employee-shell) .admin-mobile-topbar-logo{width:30px;height:30px}.rail-shell:not(.is-employee-shell) .admin-mobile-topbar-copy strong,.rail-shell:not(.is-employee-shell) .admin-mobile-topbar-title{font-size:.88rem}.rail-shell:not(.is-employee-shell) .admin-mobile-topbar-eyebrow{letter-spacing:.11em;font-size:.62rem}.rail-shell:not(.is-employee-shell) .admin-mobile-topbar-actions .mobile-topbar-action{border-radius:13px;min-width:38px;min-height:38px;padding-inline:9px;font-size:.74rem}.rail-shell:not(.is-employee-shell) .admin-mobile-menu-button{color:#fff;background:#ffffff1f;border-color:#ffffff38;border-radius:13px;flex:none;order:-2;min-width:54px;min-height:38px;padding-inline:10px;font-size:.74rem;font-weight:900}.rail-shell:not(.is-employee-shell) .admin-mobile-tabbar{padding-top:5px;padding-bottom:calc(5px + env(safe-area-inset-bottom));gap:3px}.rail-shell:not(.is-employee-shell) .admin-mobile-tab-link{border-radius:13px;min-height:46px;font-size:.69rem;font-weight:800}.rail-shell:not(.is-employee-shell) .rail-content{padding-inline:calc(10px + env(safe-area-inset-left));padding-right:calc(10px + env(safe-area-inset-right));padding-bottom:calc(76px + env(safe-area-inset-bottom))}.rail-shell:not(.is-employee-shell) .page-header{gap:6px;margin-bottom:8px;padding-bottom:8px}.rail-shell:not(.is-employee-shell) .page-header h1{font-size:clamp(1.12rem,5vw,1.42rem);line-height:1.12}.rail-shell:not(.is-employee-shell) .page-subtitle,.rail-shell:not(.is-employee-shell) .breadcrumbs,.rail-shell:not(.is-employee-shell) .color-legend{font-size:.76rem}.rail-shell:not(.is-employee-shell) .kpi-row{grid-template-columns:repeat(auto-fit,minmax(78px,1fr));gap:6px;margin:8px 0 10px;display:grid}.rail-shell:not(.is-employee-shell) .kpi-tile{border-radius:12px;gap:1px;min-width:0;min-height:58px;padding:7px 6px;box-shadow:0 5px 12px #15171b0d}.rail-shell:not(.is-employee-shell) .kpi-num{font-size:clamp(1.12rem,6vw,1.42rem);line-height:1}.rail-shell:not(.is-employee-shell) .kpi-tile span:last-child{margin-top:0;font-size:.67rem;line-height:1.12}.rail-shell:not(.is-employee-shell) .filter-chips,.rail-shell:not(.is-employee-shell) .tabs,.rail-shell:not(.is-employee-shell) .period-chips{gap:6px;margin:8px 0}.rail-shell:not(.is-employee-shell) .chip,.rail-shell:not(.is-employee-shell) .tab{border-width:1px;border-radius:999px;min-height:38px;padding:8px 12px;font-size:.78rem}.rail-shell:not(.is-employee-shell) .cards-grid,.rail-shell:not(.is-employee-shell) .mobile-data-card-list,.rail-shell:not(.is-employee-shell) .notifications-mobile-list,.rail-shell:not(.is-employee-shell) .customers-mobile-list{gap:8px;margin-top:8px}.rail-shell:not(.is-employee-shell) .card,.rail-shell:not(.is-employee-shell) .mobile-data-card,.rail-shell:not(.is-employee-shell) .customer-mobile-card,.rail-shell:not(.is-employee-shell) .project-card{border-left-width:4px;border-radius:10px;padding:11px;box-shadow:0 1px 3px #15171b12,0 4px 12px #15171b0d}.rail-shell:not(.is-employee-shell) .card-header{gap:8px}.rail-shell:not(.is-employee-shell) .card-header h3{font-size:.95rem;line-height:1.18}.rail-shell:not(.is-employee-shell) .card-body{margin-top:8px}.rail-shell:not(.is-employee-shell) .card-body p,.rail-shell:not(.is-employee-shell) .card-meta{font-size:.76rem;line-height:1.25}.rail-shell:not(.is-employee-shell) .avatar{width:34px;height:34px;font-size:.78rem}.rail-shell:not(.is-employee-shell) .status-badge,.rail-shell:not(.is-employee-shell) .badge{padding:3px 7px;font-size:.69rem}.rail-shell:not(.is-employee-shell) .btn,.rail-shell:not(.is-employee-shell) .btn-primary,.rail-shell:not(.is-employee-shell) .btn-secondary,.rail-shell:not(.is-employee-shell) .btn-danger,.rail-shell:not(.is-employee-shell) .btn-tertiary,.rail-shell:not(.is-employee-shell) .btn-ghost{border-radius:11px;min-height:42px;padding:8px 12px;font-size:.82rem}.rail-shell:not(.is-employee-shell) .btn-sm,.rail-shell:not(.is-employee-shell) .btn-primary.btn-sm,.rail-shell:not(.is-employee-shell) .btn-secondary.btn-sm,.rail-shell:not(.is-employee-shell) .btn-danger.btn-sm{min-height:38px;padding:7px 10px;font-size:.76rem}}@media (width<=420px){.rail-shell:not(.is-employee-shell) .kpi-row{grid-template-columns:repeat(auto-fit,minmax(76px,1fr))}.rail-shell:not(.is-employee-shell) .page-header-actions>a,.rail-shell:not(.is-employee-shell) .page-header-actions>button,.rail-shell:not(.is-employee-shell) .page-header-actions>.btn,.rail-shell:not(.is-employee-shell) .page-header-actions>.btn-primary,.rail-shell:not(.is-employee-shell) .page-header-actions>.btn-secondary,.rail-shell:not(.is-employee-shell) .page-header-actions>.btn-danger{flex:auto;width:auto}}.page-header{border-bottom:1px solid #15171b0f;padding-bottom:14px}.page-eyebrow{color:var(--rail-gold);font-family:var(--heading);text-transform:uppercase;letter-spacing:.18em;background:0 0;border:0;border-radius:0;align-items:center;gap:10px;margin-bottom:14px;padding:0;font-size:.78rem;font-weight:700;display:inline-flex}.page-eyebrow:before,.page-eyebrow:after{content:"";background:var(--rail-gold);opacity:.75;width:22px;height:1px;display:inline-block}.page-header h1{letter-spacing:-.04em;color:var(--rail-ink);font-size:clamp(2rem,3vw,3rem);font-weight:900;line-height:1.02}.page-subtitle{max-width:74ch;color:var(--rail-ink-soft);font-size:1.02rem;line-height:1.55}.page-header-actions{flex-wrap:wrap;align-items:center;gap:12px;display:flex}.rail-shell:not(.is-employee-shell) .page-header{padding:4px 0 10px}.rail-shell:not(.is-employee-shell) .page-header h1{line-height:1.02}.rail-shell:not(.is-employee-shell) .page-subtitle{max-width:62ch;font-size:.95rem}.rail-shell:not(.is-employee-shell) .page-header-actions{flex-wrap:wrap;align-items:center}.rail-shell:not(.is-employee-shell) .page-eyebrow{letter-spacing:.06em}@media (width<=860px){.rail-shell:not(.is-employee-shell) .page-header,.page-header{gap:10px;margin-bottom:12px;padding-bottom:10px;display:grid}.page-eyebrow{letter-spacing:.1em;gap:7px;margin-bottom:7px;font-size:.68rem}.page-eyebrow:before,.page-eyebrow:after{width:14px}.rail-shell:not(.is-employee-shell) .page-header h1,.page-header h1{letter-spacing:0;margin:0;font-size:1.55rem;line-height:1.12}.rail-shell:not(.is-employee-shell) .page-subtitle,.page-subtitle{max-width:none;margin:6px 0 0;font-size:.9rem;line-height:1.4}.page-header-actions,.page-actions,.form-actions,.confirm-dialog-actions{justify-content:flex-start;gap:8px;width:100%}.page-header-actions{overscroll-behavior-x:contain;padding-inline:0;-webkit-overflow-scrolling:touch;flex-wrap:nowrap;margin-inline:0;padding-bottom:3px;overflow-x:auto}.page-header-actions>*,.page-actions>*,.form-actions>*,.confirm-dialog-actions>*{flex:none}.page-header-actions svg,.page-actions svg,.form-actions svg,.btn svg,.btn-primary svg,.btn-secondary svg,.btn-danger svg{width:18px;height:18px}.btn-sm,.btn-primary.btn-sm,.btn-secondary.btn-sm,.btn-danger.btn-sm{min-height:44px}.table-scroll{border-radius:10px}.table-scroll .table{min-width:640px}.table th{letter-spacing:.08em;padding:12px 10px;font-size:.72rem}.table td{padding:14px 10px;font-size:.9rem}.card{border-radius:10px;padding:14px}.card h2,.card h3,.card-title{line-height:1.2}.weekly-rest-table{min-width:720px}}@media (width<=520px){.rail-shell:not(.is-employee-shell) .page-header h1,.page-header h1{font-size:1.38rem}.page-subtitle{font-size:.86rem}.page-actions,.form-actions,.confirm-dialog-actions{flex-direction:column;align-items:stretch}.page-actions>button,.page-actions>a,.page-actions>.btn,.page-actions>.btn-primary,.page-actions>.btn-secondary,.form-actions>button,.form-actions>a,.form-actions>.btn,.form-actions>.btn-primary,.form-actions>.btn-secondary,.confirm-dialog-actions>button{width:100%;min-height:48px}}@media (width<=860px){.rail-shell:not(.is-employee-shell) .btn,.rail-shell:not(.is-employee-shell) .btn-primary,.rail-shell:not(.is-employee-shell) .btn-secondary,.rail-shell:not(.is-employee-shell) .btn-danger,.rail-shell:not(.is-employee-shell) .btn-tertiary,.rail-shell:not(.is-employee-shell) .btn-ghost,.rail-shell:not(.is-employee-shell) .btn-sm,.rail-shell:not(.is-employee-shell) .btn-primary.btn-sm,.rail-shell:not(.is-employee-shell) .btn-secondary.btn-sm,.rail-shell:not(.is-employee-shell) .btn-danger.btn-sm,.rail-shell:not(.is-employee-shell) .chip,.rail-shell:not(.is-employee-shell) .tab{min-height:44px}.rail-shell:not(.is-employee-shell) .page-header h1{font-size:1.42rem}}@media (width<=520px){.rail-shell:not(.is-employee-shell) .page-header h1{font-size:1.28rem}}.skeleton{border-radius:var(--radius-md);background:linear-gradient(90deg,#2b2d3314,#2b2d3329,#2b2d3314);animation:1.5s infinite shimmer}.dashboard-kpi-skeleton{border-radius:var(--polish-radius-lg,18px);height:132px}.rail-surface-skeleton{border-radius:14px;min-height:120px}@keyframes shimmer{0%{background-position:-200% 0}to{background-position:200% 0}}@keyframes slideDown{0%{opacity:0;transform:translateY(-8px)}to{opacity:1;transform:translateY(0)}}.empty-state{border-radius:var(--polish-radius-lg,18px);background:linear-gradient(180deg, var(--rail-surface-elevated,#f4f4f4) 0%, var(--ink-100,#f7f5f0) 100%);text-align:center;color:var(--rail-ink-soft);border:1px dashed #15171b24;padding:28px 24px}.rail-empty-card{color:var(--rail-ink-soft);background:#2b2d330a;border-radius:16px;padding:28px}.rail-shell:not(.is-employee-shell) .empty-state-content{max-width:520px;margin:0 auto;padding:10px 0}.rail-shell:not(.is-employee-shell) .empty-state-title{color:var(--rail-ink)}.rail-shell:not(.is-employee-shell) .card,.rail-shell:not(.is-employee-shell) .rail-panel,.rail-shell:not(.is-employee-shell) .rail-surface-card,.rail-shell:not(.is-employee-shell) .quick-action-card,.rail-shell:not(.is-employee-shell) .dashboard-alert-card,.rail-shell:not(.is-employee-shell) .dashboard-panel,.rail-shell:not(.is-employee-shell) .dashboard-alert-panel{border:1.5px solid #15171b21;border-left:4px solid var(--gold-400,#c9a24a);background:#fff;border-radius:10px;overflow:hidden;box-shadow:0 1px 3px #15171b12,0 4px 14px #15171b0d}.rail-shell:not(.is-employee-shell) .clickable-card:hover{border-left-color:var(--gold-500,#b58a30);transform:translateY(-2px);box-shadow:0 2px 4px #15171b14,0 10px 28px #15171b1a}.rail-shell:not(.is-employee-shell) .kpi-tile.active{background:var(--ink-900,#15171b)!important;border-color:var(--gold-400,#c9a24a)!important;color:var(--gold-400,#c9a24a)!important;box-shadow:0 0 0 1px var(--gold-400,#c9a24a), 0 6px 18px #15171b2e!important}.rail-shell:not(.is-employee-shell) .kpi-tile.active .kpi-num,.rail-shell:not(.is-employee-shell) .kpi-tile.active span{color:var(--gold-400,#c9a24a)!important}.rail-shell:not(.is-employee-shell) .kpi-tile.active span:last-child{color:#f7f5f0b8!important}.rail-shell:not(.is-employee-shell) .kpi-red.active{background:var(--rail-danger-bg,#f9e9e7)!important;border-color:var(--rail-danger,#c91f1f)!important;color:var(--rail-danger,#c91f1f)!important;box-shadow:0 0 0 2px var(--rail-danger,#c91f1f), 0 6px 18px #c91f1f1f!important}.rail-shell:not(.is-employee-shell) .kpi-red.active .kpi-num,.rail-shell:not(.is-employee-shell) .kpi-red.active span{color:var(--rail-danger,#c91f1f)!important}.rail-shell:not(.is-employee-shell) .kpi-green.active{background:var(--ink-900,#15171b)!important;border-color:var(--rail-success,#3f8357)!important;color:var(--rail-success,#3f8357)!important;box-shadow:0 0 0 1px var(--rail-success,#3f8357), 0 6px 18px #15171b2e!important}.rail-shell:not(.is-employee-shell) .kpi-green.active .kpi-num,.rail-shell:not(.is-employee-shell) .kpi-green.active span{color:var(--rail-success,#3f8357)!important}.rail-shell:not(.is-employee-shell) .kpi-yellow.active{background:var(--gold-100,#f5ebcf)!important;border-color:var(--gold-500,#b58a30)!important;color:var(--gold-600,#8e6a1f)!important;box-shadow:0 0 0 2px var(--gold-400,#c9a24a), 0 6px 18px #c9a24a24!important}.rail-shell:not(.is-employee-shell) .kpi-yellow.active .kpi-num,.rail-shell:not(.is-employee-shell) .kpi-yellow.active span{color:var(--gold-600,#8e6a1f)!important}.rail-shell:not(.is-employee-shell) .badge-green{background:var(--rail-success-bg)!important;color:var(--rail-success)!important;border:1px solid #1e6b3a40!important;border-radius:6px!important}.rail-shell:not(.is-employee-shell) .badge-yellow{background:var(--gold-100,#f5ebcf)!important;color:var(--gold-600,#8e6a1f)!important;border:1px solid #8e6a1f4d!important;border-radius:6px!important}.rail-shell:not(.is-employee-shell) .badge-red{background:var(--rail-danger-bg,#f9e9e7)!important;color:var(--rail-danger)!important;border:1px solid #9f332940!important;border-radius:6px!important}.rail-shell:not(.is-employee-shell) .data-table th,.rail-shell:not(.is-employee-shell) table:not(.luck-grid) th{background:var(--ink-900,#15171b)!important;color:#f7f5f0b8!important;text-transform:uppercase!important;letter-spacing:.1em!important;font-size:11px!important;font-weight:800!important}.rail-shell:not(.is-employee-shell) .tab.active,.rail-shell:not(.is-employee-shell) .filter-chips .chip.active{background:var(--ink-900,#15171b)!important;color:var(--gold-400,#c9a24a)!important;border-color:var(--gold-400,#c9a24a)!important;box-shadow:0 2px 8px #15171b24!important}.rail-shell:not(.is-employee-shell) .card,.rail-shell:not(.is-employee-shell) .btn-primary,.rail-shell:not(.is-employee-shell) .btn-secondary,.rail-shell:not(.is-employee-shell) .btn-danger{transition:transform .16s,box-shadow .16s,background-color .16s,border-color .16s}.rail-shell:not(.is-employee-shell) .rail-surface-card{background:linear-gradient(180deg, var(--rail-surface-elevated,#f4f4f4) 0%, var(--ink-100,#f7f5f0) 100%);border-radius:16px;padding:18px}.rail-panel-header,.dashboard-panel-header{justify-content:space-between;align-items:flex-start;gap:16px;margin-bottom:18px;display:flex}.rail-panel-header h2,.dashboard-panel-header h2{margin:0;font-size:1.65rem;line-height:1.25}.rail-panel-header p,.dashboard-panel-header p{color:var(--rail-ink-soft);margin-top:6px}.rail-panel-eyebrow{text-transform:uppercase;letter-spacing:.12em;color:var(--rail-ink-soft);margin-bottom:6px;font-size:.82rem;font-weight:700;display:inline-block}.rail-stack{gap:16px;display:grid}.rail-loading-stack{gap:12px;display:grid}.schedule-overview-legend{border:1px solid var(--rail-line,#c9c5bc);background:var(--rail-surface-muted,#ece8df);color:var(--rail-fg,#2b2d33);border-radius:8px;flex-wrap:wrap;align-items:center;gap:.5rem 1.25rem;margin:0;padding:.6rem .75rem;font-size:.82rem;display:flex}.schedule-overview-legend-item{white-space:nowrap;align-items:center;gap:.3rem;display:flex}.schedule-overview-legend-swatch{border-radius:2px;flex-shrink:0;width:.65rem;height:.65rem}.schedule-overview-grid-wrap{border:1px solid var(--rail-line,#c9c5bc);-webkit-overflow-scrolling:touch;overscroll-behavior-x:contain;scrollbar-gutter:stable;border-radius:8px;width:100%;max-width:100%;overflow:auto visible}.schedule-overview-grid{border-collapse:collapse;table-layout:fixed;width:100%;font-size:.82rem}.schedule-overview-col-user{width:8rem;min-width:8rem;max-width:8rem}.schedule-overview-col-day{width:2.2rem;min-width:2.2rem}.schedule-overview-grid th,.schedule-overview-grid td{border:1px solid var(--rail-line,#c9c5bc);text-align:center;vertical-align:middle;padding:.15rem .2rem}.schedule-overview-grid th:not(.sticky-user),.schedule-overview-grid td:not(.sticky-user){width:2.2rem;min-width:2.2rem}.schedule-overview-grid th.sticky-user,.schedule-overview-grid td.sticky-user{z-index:2;background:var(--rail-surface-muted,#ece8df);text-align:left;min-width:7rem;box-shadow:1px 0 0 var(--rail-border,#c9c5bc);position:sticky;left:0}.schedule-overview-grid thead th.sticky-user{z-index:3}.schedule-overview-cell{box-sizing:border-box;color:#15171b;border-radius:4px;outline:none;flex-direction:column;justify-content:center;align-items:center;width:100%;min-width:0;min-height:30px;padding:.2rem .15rem;font-size:.8rem;line-height:1.2;display:flex}.schedule-overview-cell:focus-visible{outline:2px solid var(--rail-gold,#c9a24a);outline-offset:2px;z-index:1}.schedule-overview-cell--empty{background:var(--rail-surface-elevated,#f4f4f4);color:var(--gold-600,#8e6a1f);box-shadow:inset 0 0 0 1px #c9a24a57}.schedule-overview-cell--weekend_empty,.schedule-overview-cell--holiday{background:var(--rail-surface-muted,#ece8df);color:#0000}.schedule-overview-cell--shift_day{background:var(--rail-surface-elevated,#f4f4f4);color:var(--rail-ink,#15171b);box-shadow:inset 3px 0 0 var(--gold-400,#c9a24a)}.schedule-overview-cell--shift_night{background:var(--ink-900,#15171b);color:var(--ink-100,#f7f5f0)}.schedule-overview-cell--rest_after_shift{background:var(--rail-surface-muted,#ece8df);color:var(--rail-success,#3f8357)}.schedule-overview-cell--compensation_leave{background:var(--rail-surface-elevated,#f4f4f4);color:var(--gold-600,#8e6a1f);box-shadow:inset 3px 0 0 var(--gold-400,#c9a24a)}.schedule-overview-cell--absence_sick{background:var(--rail-danger-bg,#f9e9e7);color:var(--rail-danger,#c91f1f)}.schedule-overview-cell--absence_vacation{background:var(--silver-200,#d9d9d9);color:var(--ink-700,#2b2d33)}.schedule-overview-cell--absence_parental{background:var(--silver-100,#f4f4f4);color:var(--ink-500,#4a4d54)}.schedule-overview-cell--absence_vab{background:var(--rail-surface-muted,#ece8df);color:var(--gold-600,#8e6a1f)}.schedule-overview-cell--absence_other{background:var(--ink-200,#ece8df);color:var(--ink-500,#4a4d54)}.schedule-overview-cell--shift_night .schedule-overview-sub{color:var(--ink-100,#f7f5f0)}.schedule-overview-sub{-webkit-line-clamp:2;opacity:.95;word-break:break-word;-webkit-hyphens:auto;hyphens:auto;-webkit-box-orient:vertical;width:100%;max-width:100%;margin-top:.1rem;font-size:.78rem;font-weight:500;display:-webkit-box;overflow:hidden}.schedule-overview-th--today{box-shadow:inset 0 -3px 0 0 var(--rail-gold,#c9a24a)}.schedule-overview-td--today{box-shadow:inset 0 0 0 2px #c9a24a59}.schedule-overview-row--obokad .sticky-user{background:var(--rail-surface-elevated,#f4f4f4);box-shadow:inset 4px 0 0 var(--gold-400,#c9a24a)}.schedule-overview-td--empty{background:var(--rail-surface,#f7f5f0)}.schedule-overview-cell--empty:after{content:"+";width:20px;height:20px;color:var(--gold-600,#8e6a1f);opacity:0;border:1px solid #8e6a1f3d;border-radius:999px;place-items:center;font-weight:900;transition:opacity .14s,transform .14s;display:inline-grid}.schedule-overview-td--empty:hover .schedule-overview-cell--empty:after,.schedule-overview-td--empty:focus-visible .schedule-overview-cell--empty:after,.schedule-overview-mobile-tile-wrap.is-empty:hover .schedule-overview-cell--empty:after,.schedule-overview-mobile-tile-wrap.is-empty:focus-visible .schedule-overview-cell--empty:after{opacity:1;transform:scale(1.05)}.schedule-overview-empty-label{display:none}.schedule-overview-legend-swatch--day{background:var(--rail-surface-muted,#ece8df);border:1px solid var(--rail-accent,#2b2d33)}.schedule-overview-legend-swatch--night{background:var(--ink-900,#15171b);border:1px solid var(--ink-700,#2b2d33)}.schedule-overview-legend-swatch--empty{background:var(--rail-surface-elevated,#f4f4f4);border:2px solid var(--rail-gold,#c9a24a)}.schedule-overview-legend-swatch--sick{background:var(--rail-danger-bg,#f9e9e7);border:1px solid var(--rail-danger,#c91f1f)}.schedule-overview-legend-swatch--vacation{background:var(--silver-200,#d9d9d9);border:1px solid var(--ink-500,#4a4d54)}.schedule-overview-legend-swatch--parental{background:var(--silver-100,#f4f4f4);border:1px solid var(--silver-400,#8e8e8e)}.schedule-overview-legend-swatch--vab{background:var(--rail-surface-muted,#ece8df);border:1px solid var(--gold-600,#8e6a1f)}.schedule-overview-legend-swatch--rest{background:var(--rail-surface-elevated,#f4f4f4);border:1px solid var(--rail-success,#3f8357)}.schedule-overview-legend-swatch--holiday{background:var(--ink-200,#ece8df);border:1px solid var(--ink-400,#8a8a8a)}.dashboard-kpi-strip,.operational-signal-strip{flex-wrap:wrap;align-items:stretch;gap:12px;margin:0 0 18px;display:flex}.dashboard-kpi-chip{min-height:42px;color:var(--rail-ink);background:#ffffffe6;border:1px solid #2b2d3314;border-radius:10px;grid-template-columns:auto 1fr;align-items:baseline;gap:6px;padding:9px 12px;text-decoration:none;display:inline-grid}.dashboard-kpi-chip.is-warning{background:var(--rail-surface-elevated,#f4f4f4);box-shadow:inset 4px 0 0 var(--gold-400,#c9a24a);border-color:#c8952f42}.dashboard-kpi-chip.is-critical{background:#fff1f1f0;border-color:#c91f1f33}.dashboard-kpi-chip-value{color:var(--rail-ink);font-size:1.08rem;font-weight:900}.dashboard-kpi-chip-label{color:var(--rail-ink-soft);font-size:.86rem;font-weight:700}.operational-signal-strip-link{min-height:42px;color:var(--rail-ink);align-items:center;padding:9px 12px;font-weight:800;display:inline-flex}.schema-overview-reading-help,.schedule-overview-obokad-summary,.schedule-overview-controls{margin-bottom:16px}.schema-overview-reading-help{color:var(--rail-ink);background:#fffc;border:1px solid #2b2d3314;border-radius:10px;padding:12px 14px}.schema-overview-reading-help summary{cursor:pointer;font-weight:800}.schema-overview-reading-list{margin:10px 0 0;padding-left:20px}.schema-overview-reading-foot{color:var(--rail-ink-soft);margin-top:10px}.schedule-overview-obokad-summary{background:linear-gradient(#f7f5f0 0%,#f9faf9eb 100%);border:1px solid #2b2d3314;border-radius:12px;padding:16px}.schedule-overview-obokad-summary-inner{justify-content:space-between;align-items:center;gap:16px;display:flex}.schedule-overview-obokad-summary-text{gap:4px;min-width:0;display:grid}.schedule-overview-obokad-period{color:var(--rail-ink-soft);font-size:.82rem;font-weight:800}.schedule-overview-obokad-lead{color:var(--rail-ink);line-height:1.45}.schedule-overview-obokad-summary-actions{flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:10px;display:flex}.schedule-overview-controls{gap:14px;display:grid}.schedule-overview-filter-summary{flex-wrap:wrap;align-items:center;gap:10px;display:flex}.schedule-overview-filter-summary>span{color:var(--rail-ink-soft);font-size:.88rem;font-weight:800}.schedule-overview-legend-button{background:var(--rail-surface-elevated,#fff);width:34px;height:34px;color:var(--rail-ink);font:inherit;cursor:pointer;border:1px solid #2b2d3329;border-radius:999px;place-items:center;font-weight:900;display:inline-grid}.schedule-overview-legend-button:hover,.schedule-overview-legend-button:focus-visible{background:var(--rail-surface-elevated,#f4f4f4);border-color:#c8a24a80;outline:none}.schedule-overview-sync-bar{color:var(--rail-ink-soft);align-items:center;gap:8px;display:inline-flex}.schedule-overview-sync-dot{background:var(--rail-ink-soft);border-radius:999px;width:9px;height:9px}.schedule-overview-sync-dot.is-live{background:var(--rail-success)}.schedule-overview-sync-dot.is-fetching{background:var(--rail-gold)}.schedule-overview-sync-dot.is-error{background:var(--rail-danger)}.schedule-overview-user-header{gap:4px;min-width:0;display:grid}.schedule-overview-user-header strong{min-width:0;color:var(--rail-ink);text-overflow:ellipsis;white-space:nowrap;font-size:.82rem;line-height:1.2;overflow:hidden}.schedule-overview-user-header.is-clickable{cursor:pointer}.schedule-overview-row-flag{width:fit-content;color:var(--gold-600,#8e6a1f);background:#c9a24a24;border-radius:999px;padding:2px 6px;font-size:.7rem;font-weight:800;line-height:1.2;display:none}.schedule-overview-day-label{justify-items:center;gap:2px;line-height:1.2;display:grid}.schedule-overview-day-gap{min-width:18px;color:var(--gold-600,#8e6a1f);background:#c9a24a2e;border-radius:999px;justify-content:center;margin-top:4px;padding:1px 4px;font-size:.68rem;font-weight:800;display:inline-flex}.schedule-overview-toolbar{flex-wrap:wrap;align-items:flex-end;gap:.75rem 1rem;margin-bottom:1rem;display:flex}.schedule-overview-toolbar.is-drawer{grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:14px;margin-bottom:0;display:grid}.schedule-overview-toolbar label{color:var(--rail-fg-muted,#4a4d54);flex-direction:column;gap:.25rem;font-size:.85rem;display:flex}.schedule-overview-toolbar input[type=date],.schedule-overview-toolbar select{border:1px solid var(--rail-border,#c9c5bc);background:var(--rail-surface,#fff);color:#15171b;border-radius:6px;min-width:10rem;padding:.35rem .5rem}.schedule-overview-check{align-items:center;flex-direction:row!important;gap:.5rem!important}.weekly-rest-controls{margin-bottom:1rem}.weekly-rest-summary{grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:0 0 1rem;display:grid}.weekly-rest-summary-tile{background:var(--rail-surface,#f7f5f0);border:1px solid #15171b1f;border-radius:8px;min-height:84px;padding:16px;box-shadow:0 1px 2px #15171b0d}.weekly-rest-summary-tile span{font-family:var(--brand-display,system-ui, sans-serif);color:var(--rail-ink,#15171b);font-size:32px;font-weight:900;line-height:1;display:block}.weekly-rest-summary-tile strong{color:var(--rail-ink-soft,#4a4d54);letter-spacing:.04em;text-transform:uppercase;margin-top:8px;font-size:.78rem;font-weight:800;display:block}.weekly-rest-summary-tile--action{border-color:#9f332947}.weekly-rest-result-card{padding-top:0}.weekly-rest-result-header{justify-content:space-between;align-items:flex-end;gap:1rem;padding:18px 0 14px;display:flex}.weekly-rest-result-header h2{color:var(--rail-ink,#15171b);margin:0 0 4px;font-size:1.15rem;line-height:1.25}.weekly-rest-result-header p,.weekly-rest-view-toggle{margin:0}.weekly-rest-table{table-layout:auto}.weekly-rest-table tr.weekly-rest-ok td{background:var(--rail-surface-elevated,#f4f4f4);box-shadow:inset 3px 0 0 var(--rail-success,#3f8357)}.weekly-rest-table tr.weekly-rest-warn td{background:var(--rail-surface-elevated,#f4f4f4);box-shadow:inset 3px 0 0 var(--gold-400,#c9a24a)}.weekly-rest-table tr.weekly-rest-breach td{background:var(--rail-danger-bg,#f9e9e7)}.weekly-rest-rule{color:var(--rail-ink-soft,#4a4d54);margin-top:6px;font-size:.78rem;display:block}.vehicle-page .page-header{margin-bottom:18px}.vehicle-create-form{gap:18px;margin-bottom:18px;display:grid}.vehicle-create-form h2,.vehicle-section-header h2{margin:0 0 4px;font-size:1.1rem}.vehicle-form-grid{grid-template-columns:minmax(140px,.9fr) minmax(160px,1fr) minmax(180px,1.2fr) minmax(220px,1.4fr);gap:14px;display:grid}.vehicle-form-actions{justify-content:flex-start;margin-top:0}.vehicle-kpi-row{margin:18px 0}.vehicle-inventory-card{padding-top:0}.vehicle-section-header{justify-content:space-between;align-items:flex-end;gap:1rem;padding:18px 0 14px;display:flex}.vehicle-table{min-width:900px}.vehicle-table tr.vehicle-row--available th:first-child{box-shadow:inset 3px 0 0 var(--rail-success,#3f8357)}.vehicle-table tr.vehicle-row--booked th:first-child{box-shadow:inset 3px 0 0 var(--gold-400,#c9a24a)}.vehicle-table tr.vehicle-row--service td,.vehicle-table tr.vehicle-row--service th{background:var(--rail-danger-bg,#f9e9e7)}.vehicle-table tr.vehicle-row--service th:first-child{box-shadow:inset 3px 0 0 var(--rail-danger,#9f3329)}.vehicle-reg{min-width:86px;color:var(--rail-ink,#15171b);font-family:var(--brand-display,system-ui, sans-serif);letter-spacing:.08em;font-size:1rem;font-weight:900;display:inline-block}.vehicle-meta{color:var(--rail-ink-soft,#4a4d54);margin-top:5px;font-size:.82rem;font-weight:600;display:block}.vehicle-notes{max-width:260px}.vehicle-row-error{color:var(--rail-danger,#9f3329);margin-top:8px;font-size:.82rem;font-weight:700}.vehicle-register-help{color:var(--rail-ink-soft,#4a4d54);margin:14px 0 0;font-size:.88rem}@media (width<=780px){.weekly-rest-summary{grid-template-columns:repeat(2,minmax(0,1fr))}.vehicle-form-grid{grid-template-columns:1fr 1fr}.weekly-rest-result-header{flex-direction:column;align-items:stretch}.weekly-rest-view-toggle{width:100%}}@media (width<=520px){.weekly-rest-summary,.vehicle-form-grid{grid-template-columns:1fr}.vehicle-section-header{flex-direction:column;align-items:stretch}}.plan-import-create-missing{max-width:42rem;color:var(--ink-700,#2b2d33);cursor:pointer;align-items:flex-start;gap:.5rem;margin:.75rem 0 0;font-size:.88rem;display:flex}.plan-import-create-missing input{margin-top:.2rem}.plan-import-drop{border:2px dashed var(--rail-border,#d9d9d9);background:var(--rail-surface,#f7f5f0);border-radius:8px;margin-bottom:.75rem;padding:1.25rem}.plan-import-drop.is-dragover{border-color:var(--rail-gold,#c9a24a);background:var(--rail-surface-elevated,#f4f4f4)}.plan-import-table-wrap{border:1px solid var(--rail-line,#d9d9d9);border-radius:8px;margin-bottom:.75rem;overflow-x:auto}.plan-import-table{border-collapse:collapse;width:100%;font-size:.85rem}.plan-import-table th,.plan-import-table td{text-align:left;border-bottom:1px solid var(--rail-line,#d9d9d9);padding:.45rem .6rem}.plan-import-table th{background:var(--ink-100,#f4f4f4);font-weight:600}.muted,.rail-muted{color:var(--rail-ink-soft)}.text-center{text-align:center}.text-right{text-align:right}.font-bold{font-weight:700}.font-semibold{font-weight:600}@media (prefers-reduced-motion:reduce){.alert,.modal,.dialog,.skeleton{animation:none}}.mobile-data-card-list,.notifications-mobile-list{display:none}.mobile-data-card{background:linear-gradient(#fff 0%,#f8faf9 100%);border:1px solid #2b2d331a;border-radius:14px;min-width:0;padding:14px;box-shadow:0 10px 20px #15171b0d}.notification-center{align-items:center;display:inline-flex;position:relative}.notification-trigger{width:44px;height:44px;color:var(--rail-ink);cursor:pointer;background:linear-gradient(#f7f5f0 0%,#f5f7f8 100%);border-color:#2b2d331a;border-radius:999px;justify-content:center;align-items:center;padding:0;display:inline-flex;position:relative;box-shadow:0 12px 22px #15171b14}.notification-trigger svg{width:20px;height:20px;display:block}.notification-trigger:hover,.notification-trigger:focus-visible{background:var(--rail-surface-elevated,#f4f4f4);border-color:#2b2d3338;outline:none;box-shadow:0 0 0 3px #c9a24a6b,0 12px 22px #15171b14}.notification-badge{background:var(--rail-danger);color:#fff;text-align:center;border-radius:999px;min-width:18px;height:18px;padding:0 5px;font-size:.68rem;font-weight:900;line-height:18px;position:absolute;top:-3px;right:-3px}.notification-popover{z-index:120;background:linear-gradient(#fffffffa,#f8faf9f5);border:1px solid #2b2d331a;border-radius:16px;width:min(420px,100vw - 32px);max-height:min(640px,100vh - 140px);padding:14px;position:absolute;top:calc(100% + 10px);right:0;overflow-y:auto;box-shadow:0 24px 60px #15171b29}.notification-popover-header,.notification-item-header,.notification-item-footer,.notification-item-header-actions{align-items:center;gap:10px;display:flex}.notification-popover-header,.notification-item-header{justify-content:space-between}.notification-popover-header{margin-bottom:12px}.notification-popover-header p,.notification-item p,.notification-item-footer{color:var(--rail-ink-soft)}.notification-list{gap:10px;display:grid}.notification-item{background:#fff;border:1px solid #2b2d3314;border-radius:12px;gap:8px;padding:12px;display:grid}.notification-item.is-unread{background:var(--rail-surface-elevated,#f4f4f4);box-shadow:inset 3px 0 0 var(--gold-400,#c9a24a);border-color:#c8952f38}.notification-unread-dot{background:var(--rail-gold);border-radius:999px;width:8px;height:8px}.notification-empty,.notification-skeleton{border-radius:10px;min-height:48px}.page-alerts{min-height:0}.page-actions,.form-actions,.confirm-dialog-actions{flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:10px;display:flex}.full-width{grid-column:1/-1}.dashboard-section{gap:18px;display:grid}.dashboard-kpi,.dashboard-kpi-neutral{gap:8px;min-height:118px;display:grid}.dashboard-kpi-label{color:var(--rail-ink-soft);letter-spacing:.08em;text-transform:uppercase;font-size:.78rem;font-weight:800;line-height:1.25}.dashboard-kpi-value{color:var(--rail-ink);font-size:2rem;font-weight:900;line-height:1}.dashboard-kpi-helper{color:var(--rail-ink-soft);font-size:.88rem;line-height:1.4}.dashboard-kpi-success{background:var(--rail-surface-elevated,#f4f4f4);box-shadow:inset 4px 0 0 var(--rail-success,#3f8357);border-color:#3f835733}.dashboard-kpi-warning,.dashboard-kpi-caution{background:var(--rail-surface-elevated,#f4f4f4);box-shadow:inset 4px 0 0 var(--gold-400,#c9a24a);border-color:#c8952f3d}.dashboard-kpi-danger{background:var(--rail-surface-elevated,#f4f4f4);box-shadow:inset 4px 0 0 var(--rail-danger,#c91f1f);border-color:#c91f1f2e}.skeleton-row,.skeleton-card{width:100%}.skeleton-row{border-radius:4px;height:14px}.skeleton-card{border-radius:8px;min-height:128px}.btn-spinner{border:2px solid;border-right-color:#0000;border-radius:999px;width:1em;height:1em;animation:.8s linear infinite nxab-spin}.login-page{background:linear-gradient(120deg,#f6f8f7f5,#eef3f4eb),#f7f5f0;place-items:center;min-height:100svh;padding:24px;display:grid}.login-card{background:#fffffff5;border:1px solid #2b2d331a;border-radius:8px;gap:18px;width:min(440px,100%);padding:32px;display:grid;box-shadow:0 24px 54px #15171b24}.login-card h1{letter-spacing:0;margin:0;font-size:2.4rem;line-height:1.05}.login-logo{background:#fff;border:1px solid #2b2d331a;border-radius:8px;place-items:center;width:64px;height:64px;font-size:1.8rem;display:grid;box-shadow:0 12px 26px #15171b1a}.login-sub,.form-help,.field-error{color:var(--rail-ink-soft);line-height:1.45}.field-error{color:var(--rail-danger);font-size:.85rem;font-weight:700}.login-links{flex-wrap:wrap;align-items:center;gap:12px;display:flex}.confirm-dialog-host{background:0 0;border:0;width:100%;max-width:none;height:100%;max-height:none;padding:0}.confirm-dialog-host::backdrop{background:0 0}.confirm-dialog-backdrop{z-index:var(--z-modal,500);-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);background:#0f1d246b;justify-content:center;align-items:center;padding:18px;display:flex;position:fixed;inset:0}.confirm-dialog{width:min(520px,100%);color:var(--rail-ink);background:#fff;border-radius:8px;gap:16px;padding:24px;display:grid;box-shadow:0 24px 54px #15171b3d}.confirm-dialog h2{letter-spacing:0;margin:0;font-size:1.5rem}.form-dialog{grid-template-rows:auto minmax(0,1fr);gap:0;width:min(720px,100%);max-height:min(88vh,88svh);padding:0;overflow:hidden}.form-dialog-xl{width:min(920px,100%)}.form-dialog-header{border-bottom:1px solid #2b2d3314;justify-content:space-between;align-items:flex-start;gap:18px;padding:22px 24px 14px;display:flex}.form-dialog-header p{color:var(--rail-ink-soft);margin:6px 0 0}.form-dialog-body{min-height:0;padding:20px 24px 24px;overflow-y:auto}.form-dialog-body form{gap:14px;display:grid}.nxab-login-shell{background:var(--ink-100,#f7f5f0);place-items:center;min-height:100svh;padding:clamp(18px,4vw,52px);display:grid}.nxab-login-stage{grid-template-columns:1fr;place-items:center;gap:0;width:min(520px,100%);min-height:min(720px,100svh - 36px);display:grid;position:relative}.nxab-login-monolith{background:linear-gradient(180deg, #ffffff1a, #fff0), linear-gradient(145deg, var(--ink-700,#2b2d33) 0%, var(--ink-900,#15171b) 100%);border-radius:8px;min-height:560px;display:none;position:relative;overflow:hidden;box-shadow:0 28px 70px #15171b38}.nxab-login-monolith:before,.nxab-login-monolith:after{content:"";pointer-events:none;position:absolute;inset:0}.nxab-login-monolith:before{opacity:.34;background-color:#0000;background-image:linear-gradient(90deg,#ffffff14 1px,#0000 1px),linear-gradient(0deg,#ffffff12 1px,#0000 1px);background-position:0 0,0 0;background-repeat:repeat,repeat;background-size:54px 54px;background-attachment:scroll,scroll;background-origin:padding-box,padding-box;background-clip:border-box,border-box}.nxab-login-monolith:after{background:linear-gradient(#0000 0%,#0f1d249e 100%),linear-gradient(120deg,#0000 0 38%,#c9a24a3d 38% 39%,#0000 39% 100%)}.nxab-login-panel{gap:18px;width:100%;display:grid}.nxab-login-brand{text-align:center;justify-items:center;gap:14px;display:grid}.nxab-login-logo-mark{background:linear-gradient(180deg, #ffffff14, #fff0), var(--ink-900,#15171b);border:1px solid #c9a24a57;border-radius:8px;place-items:center;width:clamp(132px,16vw,176px);height:clamp(132px,16vw,176px);display:grid;overflow:hidden;box-shadow:0 18px 42px #15171b2e}.nxab-login-logo-image{object-fit:contain;width:86%;height:86%}.nxab-login-brand h1{font-family:var(--brand-display,var(--heading));letter-spacing:0;margin:0;font-size:3.2rem;line-height:1}.nxab-login-brand p,.nxab-login-security p,.nxab-login-legal,.nxab-login-status{color:var(--rail-ink-soft)}.nxab-login-brand p{max-width:34ch;margin-inline:auto}.nxab-login-card{background:#fffffff5;border:1px solid #2b2d331f;border-radius:8px;padding:clamp(22px,4vw,34px);position:relative;overflow:hidden;box-shadow:0 24px 54px #15171b24}.nxab-login-card-rail{background:linear-gradient(180deg, var(--ink-900,#15171b), var(--gold-400,#c9a24a));width:6px;position:absolute;inset:0 auto 0 0}.nxab-login-alerts{margin-bottom:14px}.nxab-login-form{gap:18px;display:grid}.nxab-login-label-row,.nxab-login-footer-meta,.nxab-login-status,.nxab-login-support-link,.nxab-login-security{align-items:center;display:flex}.nxab-login-label-row{justify-content:space-between;gap:12px}.nxab-login-inline-link,.nxab-login-support-link,.nxab-login-legal a{color:var(--rail-accent);align-items:center;font-weight:700;display:inline-flex}.nxab-login-inline-link,.nxab-login-support-link,.nxab-login-legal a,.theme-toggle-btn{min-height:44px}.theme-toggle-btn{color:var(--rail-ink);cursor:pointer;font:inherit;touch-action:manipulation;background:#fff;border:1px solid #2b2d331f;border-radius:999px;justify-content:center;align-items:center;gap:8px;padding:0 14px;font-size:.88rem;font-weight:700;display:inline-flex}.nxab-login-submit{border:0;border:1px solid var(--gold-400,#c9a24a);background:var(--ink-900,#15171b);min-height:54px;color:var(--gold-400,#c9a24a);font:inherit;cursor:pointer;transition:background var(--motion-fast) var(--motion-ease), transform var(--motion-fast) var(--motion-ease), box-shadow var(--motion-fast) var(--motion-ease);border-radius:8px;justify-content:center;align-items:center;gap:10px;font-weight:800;display:inline-flex}.nxab-login-submit:hover:not(:disabled){background:var(--ink-900);color:var(--ink-100,#f7f5f0);transform:translateY(-1px);box-shadow:0 12px 24px #15171b38}.nxab-login-submit:disabled{cursor:wait;opacity:.72}.nxab-login-submit svg,.nxab-login-security svg,.nxab-login-support-link svg{flex:none;width:20px;height:20px}.nxab-login-security{border-top:1px solid #2b2d331a;gap:12px;margin-top:18px;padding-top:18px;font-size:.9rem}.nxab-login-footer-meta{flex-wrap:wrap;justify-content:space-between;gap:12px;font-size:.88rem}.nxab-login-status{gap:8px}.nxab-login-status-dot{background:#15803d;border-radius:999px;width:9px;height:9px;box-shadow:0 0 0 4px #15803d24}.nxab-login-support-link{gap:8px}.nxab-login-legal{flex-wrap:wrap;justify-content:space-between;gap:10px 16px;font-size:.78rem;display:flex}.nxab-login-legal-links{flex-wrap:wrap;gap:6px 12px;display:flex}@media (width<=860px){.mobile-data-card-list{gap:12px;display:grid}.notifications-table-scroll{display:none}.notifications-mobile-list{gap:12px;display:grid}.nxab-login-shell{padding:18px;display:block}.nxab-login-stage{grid-template-columns:1fr;min-height:auto}.nxab-login-monolith{min-height:160px}}@media (width<=520px){.nxab-login-brand{gap:12px}.nxab-login-logo-mark{width:116px;height:116px}.nxab-login-logo-image{width:86%;height:86%}.nxab-login-brand h1,.login-card h1{font-size:2.2rem}.nxab-login-card{padding:20px}.login-card{padding:22px}.nxab-login-footer-meta,.nxab-login-legal{flex-direction:column;align-items:flex-start}.nxab-login-legal-links{flex-direction:column;align-items:stretch;width:100%}.nxab-login-legal a,.nxab-login-support-link,.theme-toggle-btn{justify-content:center;width:100%}}.rail-inline-check{min-height:38px;color:var(--text-muted);white-space:nowrap;align-items:center;gap:8px;font-weight:700;display:inline-flex}.rail-inline-check input{width:16px;height:16px}.customers-mobile-list{display:none}.customers-table-actions,.customer-mobile-card-actions{align-items:center;gap:8px;display:flex}.customers-row-menu{position:relative}.customers-row-menu summary{border:1px solid var(--border);color:var(--text-muted);cursor:pointer;border-radius:8px;justify-content:center;align-items:center;width:38px;height:34px;font-weight:800;list-style:none;display:inline-flex}.customers-row-menu summary::-webkit-details-marker{display:none}.customers-row-menu[open] summary{background:var(--rail-surface-muted,#f5f7f8);color:var(--text)}.customers-row-menu[open]>button{box-shadow:var(--shadow);z-index:20;min-width:124px;margin-top:8px;position:absolute;top:100%;right:0}.personnel-row-menu-body{background:var(--surface);border:1px solid var(--border);box-shadow:var(--shadow);z-index:20;border-radius:8px;gap:6px;min-width:190px;margin-top:8px;padding:8px;display:grid;position:absolute;top:100%;right:0}.personnel-row-menu-body .btn{justify-content:flex-start;width:100%}.personnel-attention-card>div:first-child,.personnel-name-cell,.shift-staffing-cell{flex-direction:column;gap:2px;display:flex}.personnel-attention-card>div:first-child span,.personnel-name-cell span,.shift-staffing-cell span{color:var(--text-muted);font-size:.82rem;line-height:1.25}.jobs-compact-row{border-top:1px solid var(--border);grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;padding-top:14px;display:grid}.jobs-compact-row>div{gap:3px;display:grid}.jobs-compact-row strong{color:var(--text-muted);letter-spacing:.02em;text-transform:uppercase;font-size:.76rem}.jobs-compact-row span{color:var(--text);font-weight:650}@media (width<=760px){.jobs-compact-row{grid-template-columns:1fr}.customers-table-desktop{display:none}.customers-mobile-list{gap:12px;display:grid}.customer-mobile-card{background:var(--surface);border:1px solid var(--border);border-radius:8px;gap:12px;padding:14px;display:grid}.customer-mobile-card-head,.customer-mobile-card-body{gap:4px;display:grid}}@media (width<=860px){.rail-shell:not(.is-employee-shell) .rail-content{padding-top:calc(58px + env(safe-area-inset-top));padding-inline:calc(10px + env(safe-area-inset-left)) calc(10px + env(safe-area-inset-right));padding-bottom:calc(74px + env(safe-area-inset-bottom))}.rail-shell:not(.is-employee-shell) .page-header{margin-bottom:8px;padding-bottom:8px}.rail-shell:not(.is-employee-shell) .page-header h1{font-size:clamp(1.1rem,4.6vw,1.34rem);line-height:1.1}.rail-shell:not(.is-employee-shell) .page-subtitle{margin-top:4px;font-size:.78rem;line-height:1.28}.rail-shell:not(.is-employee-shell) .kpi-row{grid-template-columns:repeat(auto-fit,minmax(76px,1fr));gap:6px;margin:8px 0;display:grid}.rail-shell:not(.is-employee-shell) .kpi-tile{border-radius:11px;min-height:56px;padding:7px 6px}.rail-shell:not(.is-employee-shell) .kpi-num{font-size:clamp(1.06rem,5.4vw,1.34rem);line-height:1}.rail-shell:not(.is-employee-shell) .kpi-tile span:last-child{font-size:.66rem;line-height:1.1}.rail-shell:not(.is-employee-shell) .card,.rail-shell:not(.is-employee-shell) .mobile-data-card,.rail-shell:not(.is-employee-shell) .customer-mobile-card,.rail-shell:not(.is-employee-shell) .project-card{border-radius:11px;padding:10px;box-shadow:0 5px 14px #15171b0e}.rail-shell:not(.is-employee-shell) .card-header h3{font-size:.92rem}.rail-shell:not(.is-employee-shell) .card-body{margin-top:7px}.rail-shell:not(.is-employee-shell) .admin-mobile-tab-link{border-radius:12px;min-height:44px;font-size:.68rem}}@media (width<=420px){.rail-shell:not(.is-employee-shell) .btn,.rail-shell:not(.is-employee-shell) .btn-primary,.rail-shell:not(.is-employee-shell) .btn-secondary,.rail-shell:not(.is-employee-shell) .btn-danger,.rail-shell:not(.is-employee-shell) .btn-tertiary,.rail-shell:not(.is-employee-shell) .btn-ghost{width:auto}}.employee-mobile-triage{display:none}.maps-link{min-height:30px;color:var(--rail-accent,#2b2d33);align-items:center;gap:5px;margin-top:6px;font-size:.8rem;font-weight:900;text-decoration:none;display:inline-flex}.maps-link:before{background:var(--gold-400,#c9a24a);content:"";border-radius:999px;width:8px;height:8px}.maps-link:hover,.maps-link:focus-visible{color:var(--rail-ink,#15171b);text-decoration:underline}.maps-link-compact{min-height:auto;margin-top:3px;font-size:.72rem}@media (width<=860px){.rail-shell.is-employee-shell{--rail-ink:#15171b;--rail-ink-soft:#4a4d54;--rail-accent:#2b2d33;--rail-surface:#f7f5f0;--rail-gold:#c9a24a;--rail-gold-soft:var(--gold-100);font-family:var(--brand-body,var(--sans))}.rail-shell.is-employee-shell .mobile-topbar{background:var(--ink-900,#15171b);box-shadow:none;border-bottom:1px solid #c9a24a2e}.rail-shell.is-employee-shell .mobile-topbar-copy{gap:0;min-width:0}.rail-shell.is-employee-shell .mobile-topbar-heading{gap:6px}.rail-shell.is-employee-shell .mobile-topbar-logo{object-fit:contain;width:32px;height:32px}.rail-shell.is-employee-shell .mobile-topbar-brand{color:#f7f5f08c;font-family:var(--brand-serif,Georgia, serif);letter-spacing:.12em;font-size:.86rem;font-weight:700}.rail-shell.is-employee-shell .mobile-topbar-copy strong,.rail-shell.is-employee-shell .mobile-topbar-title{color:var(--ink-100,#f7f5f0);font-family:var(--brand-display,var(--heading));font-size:.92rem;font-weight:800;line-height:1.12}.rail-shell.is-employee-shell .mobile-topbar-actions{gap:4px}.rail-shell.is-employee-shell .mobile-topbar-action{color:#f7f5f0b8;background:#f7f5f00f;border-color:#f7f5f024;border-radius:10px;min-height:32px;padding-inline:7px;font-size:.68rem;font-weight:900}.rail-shell.is-employee-shell .mobile-topbar-action--notice{color:var(--gold-400,#c9a24a);background:#f7f5f00a;border-color:#c9a24a6b}.rail-shell.is-employee-shell .rail-content{padding-top:10px;padding-inline:10px;padding-bottom:calc(66px + env(safe-area-inset-bottom))}.rail-shell.is-employee-shell .my-jobs-page>.page-header{clip:rect(0, 0, 0, 0);clip-path:inset(50%);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.rail-shell.is-employee-shell .page-header{margin-bottom:8px;padding-bottom:8px}.rail-shell.is-employee-shell .page-header h1{font-size:1.22rem;line-height:1.12}.rail-shell.is-employee-shell .page-subtitle{font-size:.78rem;line-height:1.3}.rail-shell.is-employee-shell .employee-mobile-home{gap:7px;display:grid;margin-bottom:10px!important}.rail-shell.is-employee-shell .employee-mobile-greeting{display:none}.rail-shell.is-employee-shell .employee-mobile-greeting h2{line-height:1.15;color:#fff!important;font-size:1.05rem!important}.rail-shell.is-employee-shell .employee-mobile-greeting .muted{color:#ffffffb8;font-size:.72rem!important}.rail-shell.is-employee-shell .employee-mobile-triage{gap:7px;display:grid}.rail-shell.is-employee-shell .employee-mobile-now-card,.rail-shell.is-employee-shell .employee-mobile-mini-card{min-width:0;color:var(--rail-ink);background:#fff;border:1px solid #2b2d331f;gap:3px;text-decoration:none;display:grid;box-shadow:0 5px 14px #15171b0e}.rail-shell.is-employee-shell .employee-mobile-now-card{border-left:4px solid var(--gold-400,#c9a24a);border-radius:14px;grid-template-columns:minmax(0,1fr);align-items:stretch;min-height:82px;padding:11px}.rail-shell.is-employee-shell .employee-mobile-now-card .employee-mobile-eyebrow,.rail-shell.is-employee-shell .employee-mobile-mini-card span{color:var(--text-muted);letter-spacing:.08em;text-transform:uppercase;font-size:.64rem;font-weight:900;line-height:1}.rail-shell.is-employee-shell .employee-mobile-now-card strong{font-family:var(--brand-display,var(--heading));text-overflow:ellipsis;white-space:nowrap;font-size:1rem;font-weight:800;line-height:1.12;overflow:hidden}.rail-shell.is-employee-shell .employee-mobile-now-card p{color:var(--text-muted);grid-column:1/-1;margin:0;font-size:.74rem;line-height:1.25}.rail-shell.is-employee-shell .employee-mobile-now-actions{grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:7px;margin-top:2px;display:grid}.rail-shell.is-employee-shell .employee-mobile-now-actions .btn-primary,.rail-shell.is-employee-shell .employee-mobile-now-actions .btn-secondary,.rail-shell.is-employee-shell .employee-mobile-now-actions .maps-link{white-space:nowrap;border-radius:11px;justify-content:center;min-height:38px;margin:0;padding-inline:12px}.rail-shell.is-employee-shell .employee-mobile-now-actions .maps-link{color:#fff;background:var(--rail-accent,#2b2d33);text-decoration:none}.rail-shell.is-employee-shell .employee-mobile-now-actions .maps-link:before{background:var(--gold-400,#c9a24a)}.rail-shell.is-employee-shell .employee-mobile-ghost-link{color:var(--text-muted);text-align:right;font-size:.72rem;font-weight:900;text-decoration:none}.rail-shell.is-employee-shell .employee-mobile-priority-list{gap:5px;display:grid}.rail-shell.is-employee-shell .employee-mobile-priority-row{min-height:38px;color:var(--rail-ink);background:#fff;border:1px solid #2b2d331f;border-radius:12px;justify-content:space-between;align-items:center;gap:10px;padding:8px 10px;text-decoration:none;display:flex;box-shadow:0 4px 12px #15171b0b}.rail-shell.is-employee-shell .employee-mobile-priority-row.is-calm{color:var(--ink-800,#15171b);border-left:3px solid var(--gold-400,#c9a24a);background:var(--rail-surface-elevated,#f4f4f4)}.rail-shell.is-employee-shell .employee-mobile-priority-row span{font-size:.8rem;font-weight:800;line-height:1.1}.rail-shell.is-employee-shell .employee-mobile-priority-row strong{text-align:center;background:var(--ink-100,#f4f4f4);border-radius:999px;min-width:28px;padding:4px 7px;font-size:.78rem}.rail-shell.is-employee-shell .employee-mobile-schedule-card,.rail-shell.is-employee-shell .employee-mobile-plikt-card,.rail-shell.is-employee-shell .employee-mobile-tool-card{background:#fff;border:1px solid #2b2d331f;border-radius:13px;gap:6px;padding:9px 10px;display:grid;box-shadow:0 5px 14px #15171b0e}.rail-shell.is-employee-shell .employee-mobile-schedule-card{display:grid}.rail-shell.is-employee-shell .employee-mobile-plikt-card{position:relative}.rail-shell.is-employee-shell .employee-mobile-section-header{justify-content:space-between;align-items:center;gap:10px;display:flex}.rail-shell.is-employee-shell .employee-mobile-section-header strong{font-family:var(--brand-display,var(--heading));font-size:.86rem;font-weight:800;line-height:1.1}.rail-shell.is-employee-shell .employee-mobile-section-header a,.rail-shell.is-employee-shell .employee-mobile-section-header span{color:var(--text-muted);font-size:.72rem;font-weight:800;text-decoration:none}.rail-shell.is-employee-shell .employee-mobile-shift-list{gap:4px;display:grid}.rail-shell.is-employee-shell .employee-mobile-shift-row{color:var(--rail-ink);border-top:1px solid #2b2d3317;grid-template-columns:minmax(88px,.8fr) minmax(0,1fr);align-items:center;gap:8px;padding:5px 0;text-decoration:none;display:grid}.rail-shell.is-employee-shell .employee-mobile-shift-row:first-child{border-top:0;padding-top:0}.rail-shell.is-employee-shell .employee-mobile-shift-row span{min-width:0}.rail-shell.is-employee-shell .employee-mobile-shift-row strong,.rail-shell.is-employee-shell .employee-mobile-shift-row small{text-overflow:ellipsis;white-space:nowrap;display:block;overflow:hidden}.rail-shell.is-employee-shell .employee-mobile-shift-row strong{font-size:.75rem;line-height:1.12}.rail-shell.is-employee-shell .employee-mobile-shift-row small{color:var(--text-muted);font-size:.66rem;line-height:1.1}.rail-shell.is-employee-shell .employee-mobile-plikt-track{background:var(--ink-200,#ece8df);border-radius:999px;height:7px;overflow:hidden}.rail-shell.is-employee-shell .employee-mobile-plikt-track span{border-radius:inherit;background:var(--ink-900,#15171b);height:100%;display:block}.rail-shell.is-employee-shell .employee-mobile-plikt-card p{color:var(--text-muted);margin:0;font-size:.74rem;line-height:1.2}.rail-shell.is-employee-shell .employee-info-tools{gap:8px;margin-bottom:10px;display:grid}.rail-shell.is-employee-shell:not(:has(.employee-info-tools)){--unused:0}.rail-shell.is-employee-shell .my-jobs-page:not(:has(.employee-info-tools)){--unused:0}.rail-shell.is-employee-shell .employee-mobile-tool-grid{grid-template-columns:1fr;gap:7px;display:grid}.rail-shell.is-employee-shell .employee-mobile-tool-button{min-height:42px;color:var(--rail-ink);background:#fff;border:1px solid #2b2d3324;border-radius:12px;justify-content:space-between;align-items:center;padding:0 12px;font-size:.86rem;font-weight:900;text-decoration:none;display:flex}.rail-shell.is-employee-shell .employee-mobile-tool-button:after{color:var(--text-muted);content:"›";font-size:1.1rem}.rail-shell.is-employee-shell .employee-mobile-inline-action{min-height:30px;color:var(--rail-ink);background:#fff;border:1px solid #2b2d3324;border-radius:999px;padding:0 10px;font-size:.7rem;font-weight:900;position:absolute;bottom:9px;right:10px}.rail-shell.is-employee-shell .employee-mobile-action-grid{display:none!important}.rail-shell.is-employee-shell .employee-status-card{border-width:1px 1px 1px 4px;border-radius:13px;box-shadow:0 6px 16px #15171b0f;padding:11px!important}.rail-shell.is-employee-shell .employee-status-card--time{border-left-color:var(--gold-400,#c9a24a)}.rail-shell.is-employee-shell .employee-status-card--next{border-left-color:var(--rail-accent,#2b2d33)}.rail-shell.is-employee-shell .employee-status-card--plikt{border-left-color:var(--gold-400,#c9a24a)}.rail-shell.is-employee-shell .employee-status-card .card-title{letter-spacing:.07em;text-transform:uppercase;font-size:.72rem!important}.rail-shell.is-employee-shell .employee-status-card p{line-height:1.25}.rail-shell.is-employee-shell .employee-status-card .btn-primary,.rail-shell.is-employee-shell .employee-status-card .btn-secondary{width:100%;min-height:46px;margin-top:9px!important}.rail-shell.is-employee-shell .employee-quick-actions{grid-template-columns:repeat(3,minmax(0,1fr));gap:6px!important;display:grid!important}.rail-shell.is-employee-shell .employee-quick-actions>*{width:100%;min-height:38px;padding-inline:6px;font-size:.68rem}.rail-shell.is-employee-shell .employee-mobile-quick-card{padding:9px;margin-bottom:10px!important}.rail-shell.is-employee-shell .employee-mobile-quick-card .card-title{letter-spacing:.07em;text-transform:uppercase;margin-bottom:6px;font-size:.72rem}.rail-shell.is-employee-shell .employee-support-card{grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:4px 8px;padding:10px;display:grid;margin-bottom:8px!important}.rail-shell.is-employee-shell .employee-support-card .card-title{font-size:.92rem}.rail-shell.is-employee-shell .employee-support-card p.muted{display:none}.rail-shell.is-employee-shell .employee-support-card p:not(.muted){color:var(--text-muted);font-size:.78rem;line-height:1.2;margin:0!important}.rail-shell.is-employee-shell .employee-support-card .btn-primary,.rail-shell.is-employee-shell .employee-support-card .btn-secondary{white-space:nowrap;grid-area:1/2/span 2;min-height:38px;padding-inline:10px}.rail-shell.is-employee-shell .rail-mobile-focus{padding:10px!important}.rail-shell.is-employee-shell .rail-mobile-focus>div:first-child{gap:8px!important}.rail-shell.is-employee-shell .rail-mobile-focus h3{margin-bottom:3px!important;font-size:.98rem!important;line-height:1.12!important}.rail-shell.is-employee-shell .rail-mobile-focus>div:first-child p{-webkit-line-clamp:1;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden;font-size:.72rem!important;line-height:1.2!important}.rail-shell.is-employee-shell .rail-mobile-focus>.form-grid{display:none!important}.rail-shell.is-employee-shell .rail-mobile-focus .card-nested{border-radius:10px;padding:8px!important}.rail-shell.is-employee-shell .rail-mobile-focus .card-nested>div:first-child{align-items:center;gap:6px!important}.rail-shell.is-employee-shell .rail-mobile-focus .card-nested>div:first-child strong{font-size:.82rem;line-height:1.1}.rail-shell.is-employee-shell .rail-mobile-focus .card-nested .muted{font-size:.7rem;line-height:1.1}.rail-shell.is-employee-shell .rail-mobile-focus .card-nested>.form-grid{display:none!important}.rail-shell.is-employee-shell .rail-mobile-focus .card-nested .status-badge{padding:4px 7px;font-size:.64rem}.rail-shell.is-employee-shell .rail-mobile-focus .card-nested>div:last-child{grid-template-columns:1fr;gap:5px!important;margin-top:8px!important;display:grid!important}.rail-shell.is-employee-shell .rail-mobile-focus .card-nested>div:last-child .btn,.rail-shell.is-employee-shell .rail-mobile-focus .card-nested>div:last-child .btn-primary,.rail-shell.is-employee-shell .rail-mobile-focus .card-nested>div:last-child .btn-secondary{min-height:34px;padding-inline:4px;font-size:.62rem}.rail-shell.is-employee-shell .kpi-row{grid-template-columns:repeat(auto-fit,minmax(76px,1fr));gap:6px;margin:8px 0;display:grid}.rail-shell.is-employee-shell .kpi-tile{border-radius:11px;min-height:56px;padding:7px 6px}.rail-shell.is-employee-shell .kpi-num{font-size:1.18rem}.rail-shell.is-employee-shell .kpi-tile span:last-child{font-size:.66rem}.rail-shell.is-employee-shell .cards-grid{gap:8px;margin-top:8px}.rail-shell.is-employee-shell .card{border-radius:11px;padding:10px;box-shadow:0 5px 14px #15171b0e}.rail-shell.is-employee-shell .mobile-tabbar{padding-top:4px;padding-bottom:calc(4px + env(safe-area-inset-bottom));background:var(--ink-900,#15171b);scrollbar-width:none;-webkit-overflow-scrolling:touch;border-top:1px solid #c9a24a2e;gap:4px;display:flex;overflow-x:auto}.rail-shell.is-employee-shell .mobile-tabbar::-webkit-scrollbar{display:none}.rail-shell.is-employee-shell .mobile-tab-link{min-height:40px;font-family:var(--brand-display,var(--heading));border-radius:11px;flex:0 0 66px;font-size:.64rem;font-weight:800}.rail-shell.is-employee-shell .plikt-ot-widget{display:none}.rail-shell.is-employee-shell .my-schedule-page .page-header{clip:rect(0, 0, 0, 0);clip-path:inset(50%);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.rail-shell.is-employee-shell .employee-pass-filter-row{scrollbar-width:none;-webkit-overflow-scrolling:touch;gap:5px;margin-top:0;padding-bottom:3px;display:flex;overflow-x:auto}.rail-shell.is-employee-shell .employee-pass-filter-row::-webkit-scrollbar{display:none}.rail-shell.is-employee-shell .employee-pass-filter-row .kpi-tile{border-radius:999px;flex-direction:row;flex:none;align-items:center;gap:5px;min-width:auto;min-height:34px;padding:5px 10px;display:inline-flex}.rail-shell.is-employee-shell .employee-pass-filter-row .kpi-tile .kpi-num{font-size:.82rem;line-height:1}.rail-shell.is-employee-shell .employee-pass-filter-row .kpi-tile span:last-child{font-size:.68rem;line-height:1}.rail-shell.is-employee-shell .employee-shift-card .card-header{grid-template-columns:minmax(0,1fr);align-items:flex-start;gap:8px;display:grid}.rail-shell.is-employee-shell .employee-shift-card{gap:8px;display:grid;position:relative}.rail-shell.is-employee-shell .employee-shift-card .card-body{margin-top:0}.rail-shell.is-employee-shell .employee-shift-card .card-header .user-info{min-width:0;padding-right:102px}.rail-shell.is-employee-shell .employee-shift-card .card-header h3{text-overflow:ellipsis;white-space:nowrap;font-size:.88rem;line-height:1.15;overflow:hidden}.rail-shell.is-employee-shell .employee-shift-card .card-header p,.rail-shell.is-employee-shell .employee-shift-card .card-body p{font-size:.72rem;line-height:1.25}.rail-shell.is-employee-shell .employee-shift-card .card-body p{margin:4px 0}.rail-shell.is-employee-shell .employee-shift-card .badge{white-space:nowrap;padding:5px 8px;font-size:.66rem;position:absolute;top:12px;right:12px}.rail-shell.is-employee-shell .employee-shift-card.card-ok .card-body p{display:none}.rail-shell.is-employee-shell .employee-job-list{gap:8px!important}.rail-shell.is-employee-shell .employee-job-card{gap:8px;display:grid;padding:10px!important}.rail-shell.is-employee-shell .employee-job-card:not(.rail-mobile-focus){display:none}.rail-shell.is-employee-shell .employee-job-card h3{font-family:var(--brand-display,var(--heading));text-overflow:ellipsis;white-space:nowrap;max-width:100%;font-size:.94rem;line-height:1.12;overflow:hidden;margin-bottom:3px!important}.rail-shell.is-employee-shell .employee-job-card p{font-size:.72rem;line-height:1.2}.rail-shell.is-employee-shell .employee-job-card>div:first-child{flex-wrap:nowrap!important;gap:8px!important}.rail-shell.is-employee-shell .employee-job-card .status-badge{white-space:nowrap;padding:4px 7px;font-size:.65rem}.rail-shell.is-employee-shell .employee-job-meta,.rail-shell.is-employee-shell .employee-slot-meta{display:none!important}.rail-shell.is-employee-shell .employee-job-slot{gap:7px;background:#f7f5f0!important;padding:8px!important}.rail-shell.is-employee-shell .employee-job-slot strong{font-family:var(--brand-display,var(--heading));font-size:.82rem;line-height:1.15}.rail-shell.is-employee-shell .employee-job-slot .muted{font-size:.68rem}.rail-shell.is-employee-shell .employee-job-slot .btn,.rail-shell.is-employee-shell .employee-job-slot .btn-primary,.rail-shell.is-employee-shell .employee-job-slot .btn-secondary{border-radius:10px;flex:100%;min-height:34px;padding:0 10px;font-size:.7rem}.rail-shell.is-employee-shell .employee-job-slot .is-secondary-action{display:none}.rail-shell.is-employee-shell .employee-job-slot .is-next-action{min-height:40px;font-size:.82rem}.rail-shell.is-employee-shell .employee-notification-card,.rail-shell.is-employee-shell .employee-mobile-quick-card,.rail-shell.is-employee-shell .employee-support-card{display:none!important}.mobile-topbar,.rail-shell.is-employee-shell .mobile-topbar{color:var(--ink-100,#f7f5f0);background:linear-gradient(180deg, var(--ink-900,#15171b), #101215);box-shadow:none;border-bottom:1px solid #c9a24a47}.mobile-topbar-brand,.mobile-topbar-copy strong,.mobile-topbar-title,.rail-shell.is-employee-shell .mobile-topbar-brand,.rail-shell.is-employee-shell .mobile-topbar-copy strong,.rail-shell.is-employee-shell .mobile-topbar-title{color:var(--ink-100,#f7f5f0)}.mobile-topbar-action,.rail-shell.is-employee-shell .mobile-topbar-action,.rail-shell.is-employee-shell .mobile-topbar-action--notice{color:var(--ink-100,#f7f5f0);background:#f7f5f014;border-color:#c9a24a57}.nav-notification-badge{color:var(--ink-900,#15171b);background:var(--ink-100,#f7f5f0);border-color:#c9a24a7a}.mobile-tabbar,.admin-mobile-tabbar,.rail-shell.is-employee-shell .mobile-tabbar{background:var(--ink-900,#15171b);border-top:1px solid #c9a24a42;box-shadow:0 -10px 28px #15171b38}.mobile-tab-link,.admin-mobile-tab-link,.rail-shell.is-employee-shell .mobile-tab-link{color:#f7f5f0b8;box-shadow:none;background:0 0}.mobile-tab-link.is-active,.admin-mobile-tab-link.is-active,.rail-shell.is-employee-shell .mobile-tab-link.is-active{color:var(--gold-400,#c9a24a);box-shadow:inset 0 -3px 0 var(--gold-400,#c9a24a);background:0 0}.rail-shell.is-employee-shell .btn-primary,.rail-shell.is-employee-shell a.btn-primary,.rail-shell.is-employee-shell button.btn-primary{color:var(--gold-400,#c9a24a);background:var(--ink-900,#15171b);border-color:var(--ink-900,#15171b)}.rail-shell.is-employee-shell .btn-primary:hover,.rail-shell.is-employee-shell a.btn-primary:hover,.rail-shell.is-employee-shell button.btn-primary:hover{color:var(--ink-100,#f7f5f0);background:var(--ink-900);border-color:var(--gold-400,#c9a24a)}.rail-shell.is-employee-shell .employee-mobile-now-card,.rail-shell.is-employee-shell .employee-mobile-mini-card,.rail-shell.is-employee-shell .employee-mobile-priority-row,.rail-shell.is-employee-shell .employee-mobile-schedule-card,.rail-shell.is-employee-shell .employee-mobile-plikt-card,.rail-shell.is-employee-shell .employee-mobile-tool-card,.rail-shell.is-employee-shell .employee-mobile-tool-button,.rail-shell.is-employee-shell .employee-mobile-inline-action,.rail-shell.is-employee-shell .card,.rail-shell.is-employee-shell .kpi-tile{background:#fff;border-color:#2b2d3324;box-shadow:0 8px 18px #15171b12}.rail-shell.is-employee-shell .employee-mobile-now-card,.rail-shell.is-employee-shell .employee-status-card--time,.rail-shell.is-employee-shell .employee-status-card--next,.rail-shell.is-employee-shell .employee-status-card--plikt{border-left-color:var(--ink-900,#15171b)}.rail-shell.is-employee-shell .employee-mobile-now-card.is-active{border-left-color:var(--gold-400,#c9a24a)}.rail-shell.is-employee-shell .employee-mobile-priority-row.is-calm,.rail-shell.is-employee-shell .employee-job-slot{background:var(--rail-surface-elevated,#f4f4f4)!important}.rail-shell.is-employee-shell .employee-mobile-plikt-track{background:var(--ink-200,#ece8df)}.rail-shell.is-employee-shell .employee-mobile-plikt-track span{background:var(--ink-900,#15171b)}}.card-meta{flex-wrap:wrap}.card-actions{flex-wrap:wrap;gap:8px;margin-top:14px;display:flex}.bulk-select{justify-content:center;align-items:center;min-width:32px;min-height:32px;display:inline-flex}.bulk-select input{width:18px;height:18px}@media (width<=860px){.mobile-topbar-action,.rail-shell.is-employee-shell .mobile-topbar-action,.rail-shell.is-employee-shell .mobile-topbar-action--notice,.rail-shell:not(.is-employee-shell) .admin-mobile-menu-button,.rail-shell:not(.is-employee-shell) .admin-mobile-topbar-actions .mobile-topbar-action,.admin-mobile-topbar-actions .mobile-topbar-action{min-width:44px;min-height:44px}.mobile-tab-link,.admin-mobile-tab-link,.rail-shell.is-employee-shell .mobile-tab-link,.rail-shell:not(.is-employee-shell) .admin-mobile-tab-link,.person-drawer-tab{min-height:44px}.rail-shell:not(.is-employee-shell) .page-header-copy{display:none!important}}.kpi-status-bar{background:var(--color-surface,#f7f5f0);border-bottom:1px solid var(--color-border,#c9c5bc);flex-wrap:wrap;align-items:center;gap:10px;padding:10px 16px;display:flex}.kpi-chip{cursor:pointer;white-space:nowrap;border-radius:9999px;align-items:center;gap:6px;padding:6px 14px;font-size:13px;font-weight:500;transition:all .15s;display:inline-flex}.kpi-chip:hover{filter:brightness(.95)}.kpi-chip.ok{background:var(--rail-surface-elevated,#f4f4f4);color:var(--ink-900,#15171b);box-shadow:inset 4px 0 0 var(--rail-success,#3f8357);border:1px solid #3f83576b}.kpi-chip.warn{background:var(--rail-surface-elevated,#f4f4f4);color:var(--ink-900,#15171b);box-shadow:inset 4px 0 0 var(--gold-400,#c9a24a);border:1px solid #c9a24a70}.kpi-chip.alert{background:var(--rail-surface-elevated,#f4f4f4);color:var(--ink-900,#15171b);box-shadow:inset 4px 0 0 var(--rail-danger,#9f3329);border:1px solid #9f33296b}.kpi-chip.info{background:var(--rail-surface-elevated,#f4f4f4);color:var(--ink-900,#15171b);box-shadow:inset 4px 0 0 var(--ink-900,#15171b);border:1px solid #2b2d332e}.kpi-chip-count{font-size:15px;font-weight:700}.filter-bar{flex-wrap:wrap;align-items:center;gap:8px;padding:12px 16px;display:flex}.filter-chip{border:1px solid var(--rail-border,#ded8ca);background:var(--rail-surface-elevated,#f4f4f4);cursor:pointer;border-radius:8px;padding:8px 16px;font-size:13px;font-weight:500;transition:all .15s}.filter-chip:hover{border-color:var(--rail-gold,#c9a24a);background:var(--rail-surface-elevated,#f4f4f4)}.filter-chip.active{background:var(--ink-900,#15171b);color:var(--gold-400,#c9a24a);border-color:var(--gold-400,#c9a24a)}.shift-card,.job-card{background:var(--rail-surface-elevated,#f4f4f4);border-left:4px solid var(--status-color,#5c5c5c);cursor:pointer;border-radius:8px;justify-content:space-between;align-items:flex-start;gap:16px;margin-bottom:8px;padding:12px 16px;transition:box-shadow .15s;display:flex}.shift-card:hover,.job-card:hover{box-shadow:0 2px 8px #15171b14}.shift-card.alert,.job-card.alert{border-left-color:var(--rail-danger,#c91f1f)}.shift-card.warn,.job-card.warn{border-left-color:var(--gold-400,#c9a24a)}.shift-card.ok,.job-card.ok{border-left-color:var(--rail-success,#3f8357)}.shift-card-main,.job-card-main{flex:1;min-width:0}.shift-card-title,.job-card-title{margin-bottom:4px;font-size:15px;font-weight:600}.shift-card-meta,.job-card-meta{color:var(--ink-500,#4a4d54);flex-wrap:wrap;gap:12px;font-size:12px;display:flex}.shift-card-action,.job-card-action{flex-shrink:0}.shift-card-action button,.job-card-action button{cursor:pointer;border:none;border-radius:6px;padding:6px 14px;font-size:13px;font-weight:500;transition:all .15s}.shift-card-action button.primary,.job-card-action button.primary{background:var(--rail-accent,#2b2d33);color:var(--ink-100,#f7f5f0)}.shift-card-action button.secondary,.job-card-action button.secondary{background:var(--silver-100,#f4f4f4);color:var(--ink-700,#2b2d33)}.section-divider{text-transform:uppercase;letter-spacing:.05em;color:var(--ink-500,#4a4d54);align-items:center;gap:12px;margin:20px 0 12px;font-size:12px;font-weight:600;display:flex}.section-divider:after{content:"";background:var(--ink-200,#ece8df);flex:1;height:1px}.user-overview-grid{grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:16px;display:grid}.overview-bucket{--rand:var(--ink-300,#c8ccd0);background:var(--rail-surface-elevated,#f4f4f4);border-radius:var(--radius-lg,12px);padding:16px;padding-left:max(20px, var(--gap-5,20px));box-shadow:inset 4px 0 0 var(--rand)}.bucket-header{align-items:center;gap:8px;margin-bottom:12px;display:flex}.bucket-icon{color:var(--rand);font-size:20px}.bucket-title{flex:1;font-weight:600}.bucket-count{background:var(--rand);color:var(--ink-100,#f7f5f0);border-radius:9999px;padding:2px 8px;font-size:12px;font-weight:700}.user-mini-card{cursor:pointer;border-radius:6px;align-items:center;gap:10px;padding:8px;transition:background .15s;display:flex}.user-mini-card:hover{background:var(--silver-100,#f4f4f4)}.user-mini-avatar{background:var(--ink-200,#ece8df);border-radius:50%;justify-content:center;align-items:center;width:32px;height:32px;display:flex}.user-mini-info{flex:1;min-width:0}.user-mini-name{white-space:nowrap;text-overflow:ellipsis;font-size:14px;font-weight:500;overflow:hidden}.user-mini-status{color:var(--ink-500,#4a4d54);font-size:12px}.drift-accordion{flex-direction:column;gap:8px;margin:16px 0;display:flex}.accordion-section{border:1px solid var(--color-border,#c9c5bc);background:#fff;border-radius:10px;overflow:hidden}.accordion-header{cursor:pointer;text-align:left;background:0 0;border:none;align-items:center;gap:10px;width:100%;padding:14px 16px;font-size:14px;font-weight:600;transition:background .15s;display:flex}.accordion-header:hover{background:var(--ink-100,#f7f5f0)}.accordion-icon{font-size:16px}.accordion-title{flex:1}.accordion-chevron{color:var(--ink-500,#4a4d54);font-size:10px;transition:transform .2s}.accordion-chevron.open{transform:rotate(90deg)}.accordion-content{max-height:0;transition:max-height .3s;overflow:hidden}.accordion-content.open{border-top:1px solid var(--color-border,#c9c5bc);max-height:2000px}.accordion-items{padding:12px 16px}.accordion-alert .accordion-header{background:var(--rail-surface-elevated,#f4f4f4);box-shadow:inset 4px 0 0 var(--rail-danger,#9f3329)}.accordion-warn .accordion-header,.accordion-warning .accordion-header{background:var(--rail-surface-elevated,#f4f4f4);box-shadow:inset 4px 0 0 var(--gold-400,#c9a24a)}.accordion-caution .accordion-header{background:var(--rail-surface-elevated,#f4f4f4);box-shadow:inset 4px 0 0 var(--rail-success,#3f8357)}.kpi-chip:focus-visible,.kpi-status-chip:focus-visible,.kpi-signal-chip:focus-visible{outline:3px solid var(--gold-400,#c9a24a);outline-offset:2px}.rail-shell:not(.is-employee-shell) .kpi-tile{background:var(--ink-100,#f7f5f0)!important;border:1.5px solid #15171b29!important;box-shadow:0 1px 2px #15171b0f,0 3px 8px #15171b0a!important}.rail-shell:not(.is-employee-shell) .kpi-tile.active{background:var(--ink-900,#15171b)!important;border-color:var(--gold-400,#c9a24a)!important;box-shadow:0 0 0 1px var(--gold-400,#c9a24a), 0 6px 18px #15171b2e!important;border-width:2px!important}.rail-shell:not(.is-employee-shell) .kpi-tile.active *,.rail-shell:not(.is-employee-shell) .kpi-tile.active .kpi-num,.rail-shell:not(.is-employee-shell) .kpi-tile.active span{color:var(--gold-400,#c9a24a)!important}.rail-shell:not(.is-employee-shell) .kpi-red.active{background:var(--rail-danger-bg,#f9e9e7)!important;border-color:var(--rail-danger,#c91f1f)!important;box-shadow:0 0 0 2px var(--rail-danger,#c91f1f), 0 6px 18px #c91f1f1f!important;border-width:2px!important}.rail-shell:not(.is-employee-shell) .kpi-red.active *,.rail-shell:not(.is-employee-shell) .kpi-red.active .kpi-num,.rail-shell:not(.is-employee-shell) .kpi-red.active span{color:var(--rail-danger,#c91f1f)!important}.rail-shell:not(.is-employee-shell) .kpi-green.active{background:var(--ink-900,#15171b)!important;border-color:var(--rail-success,#3f8357)!important;box-shadow:0 0 0 1px var(--rail-success,#3f8357), 0 6px 18px #15171b2e!important;border-width:2px!important}.rail-shell:not(.is-employee-shell) .kpi-green.active *,.rail-shell:not(.is-employee-shell) .kpi-green.active .kpi-num,.rail-shell:not(.is-employee-shell) .kpi-green.active span{color:var(--rail-success,#3f8357)!important}.rail-shell:not(.is-employee-shell) .kpi-yellow.active{background:var(--gold-100,#f5ebcf)!important;border-color:var(--gold-500,#b58a30)!important;box-shadow:0 0 0 2px var(--gold-400,#c9a24a), 0 6px 18px #c9a24a24!important;border-width:2px!important}.rail-shell:not(.is-employee-shell) .kpi-yellow.active *,.rail-shell:not(.is-employee-shell) .kpi-yellow.active .kpi-num,.rail-shell:not(.is-employee-shell) .kpi-yellow.active span{color:var(--gold-600,#8e6a1f)!important}.rail-shell:not(.is-employee-shell) .kpi-blue.active{background:var(--ink-900,#15171b)!important;border-color:var(--gold-400,#c9a24a)!important;border-width:2px!important}.rail-shell:not(.is-employee-shell) .kpi-blue.active *,.rail-shell:not(.is-employee-shell) .kpi-blue.active .kpi-num,.rail-shell:not(.is-employee-shell) .kpi-blue.active span{color:var(--gold-400,#c9a24a)!important}.rail-shell:not(.is-employee-shell) .card{border:1.5px solid #15171b21!important;border-left:4px solid var(--gold-400,#c9a24a)!important;background:#fff!important;border-radius:10px!important;box-shadow:0 1px 3px #15171b12,0 4px 14px #15171b0d!important}.rail-shell:not(.is-employee-shell) .tab.active,.rail-shell:not(.is-employee-shell) .filter-chips .chip.active,.rail-shell:not(.is-employee-shell) .luck-filter-row button.is-active{background:var(--ink-900,#15171b)!important;color:var(--gold-400,#c9a24a)!important;border-color:var(--gold-400,#c9a24a)!important}.rail-shell:not(.is-employee-shell) .badge-green{background:var(--rail-success-bg)!important;color:var(--rail-success)!important;text-transform:uppercase!important;border:1px solid #1e6b3a40!important;border-radius:6px!important;font-size:11px!important;font-weight:700!important}.rail-shell:not(.is-employee-shell) .badge-yellow{background:var(--gold-100,#f5ebcf)!important;color:var(--gold-600,#8e6a1f)!important;text-transform:uppercase!important;border:1px solid #8e6a1f4d!important;border-radius:6px!important;font-size:11px!important;font-weight:700!important}.rail-shell:not(.is-employee-shell) .badge-red{background:var(--rail-danger-bg,#f9e9e7)!important;color:var(--rail-danger)!important;text-transform:uppercase!important;border:1px solid #9f332940!important;border-radius:6px!important;font-size:11px!important;font-weight:700!important}.luck-cell.is-ok .schedule-overview-cell{background:var(--rail-success-bg)!important;border:2px solid var(--rail-success)!important}.rail-shell:not(.is-employee-shell) .shifts-page .kpi-tile{background:var(--ink-100,#f7f5f0)!important;border:1.5px solid #15171b29!important}.rail-shell:not(.is-employee-shell) .shifts-page .kpi-tile.active,.rail-shell:not(.is-employee-shell) .shifts-page .kpi-red.active{background:var(--rail-danger-bg,#f9e9e7)!important;border-color:var(--rail-danger,#c91f1f)!important;color:var(--rail-danger,#c91f1f)!important;border-width:2px!important}.rail-shell:not(.is-employee-shell) .shifts-page .kpi-yellow.active{background:var(--gold-100,#f5ebcf)!important;border-color:var(--gold-500,#b58a30)!important;color:var(--gold-600,#8e6a1f)!important;border-width:2px!important}.rail-shell:not(.is-employee-shell) .shifts-page .kpi-green.active{background:var(--ink-900,#15171b)!important;border-color:var(--rail-success,#3f8357)!important;color:var(--rail-success,#3f8357)!important;border-width:2px!important}.kpi-tile.active,.kpi-tile.active .kpi-num,.kpi-tile.active span,.kpi-tile.active span:last-child{color:inherit!important}@media (width<=860px){.rail-shell:not(.is-employee-shell) .kpi-tile.active{background:var(--ink-900,#15171b)!important;border-color:var(--gold-400,#c9a24a)!important;border-width:2px!important}.rail-shell:not(.is-employee-shell) .kpi-red.active{background:var(--rail-danger-bg,#f9e9e7)!important;border-color:var(--rail-danger,#c91f1f)!important}.rail-shell:not(.is-employee-shell) .kpi-green.active{background:var(--ink-900,#15171b)!important;border-color:var(--rail-success,#3f8357)!important}.rail-shell:not(.is-employee-shell) .kpi-yellow.active{background:var(--gold-100,#f5ebcf)!important;border-color:var(--gold-500,#b58a30)!important}}.rail-shell:not(.is-employee-shell) .card:not(.luck-panel-card):not(.luck-panel-section):not(.luck-panel-primary){border:1.5px solid #15171b21!important;border-left:4px solid var(--gold-400,#c9a24a)!important;background:#fff!important;border-radius:10px!important;box-shadow:0 1px 3px #15171b12,0 4px 14px #15171b0d!important}.rail-shell:not(.is-employee-shell) .rail-content>:not(.kontrolltornet-page):not(.lucktavla-page) .kpi-tile{background:linear-gradient(180deg, var(--rail-surface-elevated,#f4f4f4) 0%, var(--rail-surface,#f7f5f0) 100%)!important;border:1px solid #15171b1c!important;border-radius:9px!important;position:relative!important;overflow:hidden!important;box-shadow:0 1px 2px #15171b0d,0 7px 18px #15171b12!important}.rail-shell:not(.is-employee-shell) .rail-content>:not(.kontrolltornet-page):not(.lucktavla-page) .kpi-tile:before{content:"";background:#c9a24a6b;width:4px;position:absolute;inset:0 auto 0 0}.rail-shell:not(.is-employee-shell) .rail-content>:not(.kontrolltornet-page):not(.lucktavla-page) .kpi-tile:not(.active) .kpi-num{color:var(--rail-ink,#15171b)!important}.rail-shell:not(.is-employee-shell) .rail-content>:not(.kontrolltornet-page):not(.lucktavla-page) .kpi-tile:not(.active) span:last-child{color:var(--rail-ink-soft,#4a4d54)!important}.rail-shell:not(.is-employee-shell) .rail-content>:not(.kontrolltornet-page):not(.lucktavla-page) .kpi-tile.active{color:var(--gold-400,#c9a24a)!important;box-shadow:0 0 0 1px var(--gold-400,#c9a24a), 0 8px 20px #15171b24!important}.rail-shell:not(.is-employee-shell) .rail-content>:not(.kontrolltornet-page):not(.lucktavla-page) .kpi-tile.active .kpi-num,.rail-shell:not(.is-employee-shell) .rail-content>:not(.kontrolltornet-page):not(.lucktavla-page) .kpi-tile.active span{color:var(--gold-400,#c9a24a)!important}.rail-shell:not(.is-employee-shell) .rail-content>:not(.kontrolltornet-page):not(.lucktavla-page) .kpi-red.active{background:linear-gradient(180deg, #fff6f4 0%, var(--rail-danger-bg,#f9e9e7) 100%)!important;border-color:var(--rail-danger,#c91f1f)!important;color:var(--rail-danger,#c91f1f)!important;box-shadow:inset 4px 0 0 var(--rail-danger,#c91f1f), 0 0 0 1px #c91f1f57, 0 8px 20px #c91f1f21!important}.rail-shell:not(.is-employee-shell) .rail-content>:not(.kontrolltornet-page):not(.lucktavla-page) .kpi-yellow.active{background:linear-gradient(180deg, #fff9e8 0%, var(--gold-100,#f5ebcf) 100%)!important;border-color:var(--gold-500,#b58a30)!important;color:var(--gold-600,#8e6a1f)!important;box-shadow:inset 4px 0 0 var(--gold-500,#b58a30), 0 0 0 1px #b58a3057, 0 8px 20px #c9a24a21!important}.rail-shell:not(.is-employee-shell) .rail-content>:not(.kontrolltornet-page):not(.lucktavla-page) .kpi-green.active{background:linear-gradient(180deg, #202329 0%, var(--ink-900,#15171b) 100%)!important;border-color:var(--rail-success,#3f8357)!important;color:var(--rail-success,#3f8357)!important;box-shadow:inset 4px 0 0 var(--rail-success,#3f8357), 0 0 0 1px #3f835761, 0 8px 20px #15171b29!important}.rail-shell:not(.is-employee-shell) .rail-content>:not(.kontrolltornet-page):not(.lucktavla-page) .kpi-red.active .kpi-num,.rail-shell:not(.is-employee-shell) .rail-content>:not(.kontrolltornet-page):not(.lucktavla-page) .kpi-red.active span{color:var(--rail-danger,#c91f1f)!important}.rail-shell:not(.is-employee-shell) .rail-content>:not(.kontrolltornet-page):not(.lucktavla-page) .kpi-yellow.active .kpi-num,.rail-shell:not(.is-employee-shell) .rail-content>:not(.kontrolltornet-page):not(.lucktavla-page) .kpi-yellow.active span{color:var(--gold-600,#8e6a1f)!important}.rail-shell:not(.is-employee-shell) .rail-content>:not(.kontrolltornet-page):not(.lucktavla-page) .kpi-green.active .kpi-num,.rail-shell:not(.is-employee-shell) .rail-content>:not(.kontrolltornet-page):not(.lucktavla-page) .kpi-green.active span{color:var(--rail-success,#3f8357)!important}.rail-shell:not(.is-employee-shell) .rail-content>:not(.kontrolltornet-page):not(.lucktavla-page) .card:not(.luck-panel-card):not(.luck-panel-section):not(.luck-panel-primary),.rail-shell:not(.is-employee-shell) .rail-content>:not(.kontrolltornet-page):not(.lucktavla-page) .mobile-data-card,.rail-shell:not(.is-employee-shell) .rail-content>:not(.kontrolltornet-page):not(.lucktavla-page) .customer-mobile-card,.rail-shell:not(.is-employee-shell) .rail-content>:not(.kontrolltornet-page):not(.lucktavla-page) .project-card{border:1px solid #15171b1c!important;border-left:4px solid var(--gold-400,#c9a24a)!important;background:linear-gradient(#fff 0%,#fdfbf6 100%)!important;border-radius:9px!important;box-shadow:0 1px 2px #15171b0d,0 8px 22px #15171b12!important}.rail-shell:not(.is-employee-shell) .rail-content>:not(.kontrolltornet-page):not(.lucktavla-page) .card.card-ok{border-left-color:var(--rail-success,#3f8357)!important}.rail-shell:not(.is-employee-shell) .rail-content>:not(.kontrolltornet-page):not(.lucktavla-page) .card.card-problem,.rail-shell:not(.is-employee-shell) .rail-content>:not(.kontrolltornet-page):not(.lucktavla-page) .card.card-critical{background:linear-gradient(180deg, #fff8f6 0%, var(--rail-danger-bg,#f9e9e7) 100%)!important;border-left-color:var(--rail-danger,#c91f1f)!important}.rail-shell:not(.is-employee-shell) .rail-content>:not(.kontrolltornet-page):not(.lucktavla-page) .card.card-warning{background:linear-gradient(180deg, #fffaf0 0%, var(--gold-100,#f5ebcf) 100%)!important;border-left-color:var(--gold-500,#b58a30)!important}.rail-shell:not(.is-employee-shell) .rail-content>:not(.kontrolltornet-page):not(.lucktavla-page) table:not(.luck-grid){border-collapse:separate!important;border-spacing:0!important;background:#fff!important;border:1px solid #15171b1f!important;border-radius:10px!important;width:100%!important;overflow:hidden!important;box-shadow:0 1px 2px #15171b0d,0 8px 22px #15171b0f!important}.rail-shell:not(.is-employee-shell) .rail-content>:not(.kontrolltornet-page):not(.lucktavla-page) table:not(.luck-grid) th{background:var(--ink-900,#15171b)!important;color:#f7f5f0c2!important;letter-spacing:.1em!important;text-transform:uppercase!important;border-bottom:0!important;font-size:11px!important;font-weight:800!important}.rail-shell:not(.is-employee-shell) .rail-content>:not(.kontrolltornet-page):not(.lucktavla-page) table:not(.luck-grid) td{color:var(--rail-ink,#15171b)!important;background:#ffffffeb!important;border-bottom:1px solid #15171b1a!important}.rail-shell:not(.is-employee-shell) .rail-content>:not(.kontrolltornet-page):not(.lucktavla-page) table:not(.luck-grid) tbody tr:nth-child(2n) td{background:var(--rail-surface,#f7f5f0)!important}.rail-shell:not(.is-employee-shell) .rail-content>:not(.kontrolltornet-page):not(.lucktavla-page) table:not(.luck-grid) tbody tr:hover td{background:#c9a24a14!important}.rail-shell:not(.is-employee-shell) .personal-dashboard-page{color:var(--rail-ink,#15171b)}.rail-shell:not(.is-employee-shell) .personal-dashboard-page .personal-dashboard-filter-row{flex-wrap:wrap;gap:8px;margin-bottom:18px;display:flex}.rail-shell:not(.is-employee-shell) .personal-dashboard-page .personal-dashboard-filter-button{cursor:pointer;background:linear-gradient(180deg, var(--rail-surface-elevated,#f4f4f4) 0%, var(--rail-surface,#f7f5f0) 100%);min-height:38px;color:var(--rail-ink,#15171b);font:inherit;border:1px solid #15171b29;border-radius:7px;padding:7px 13px;font-weight:700;box-shadow:0 1px 2px #15171b0a}.rail-shell:not(.is-employee-shell) .personal-dashboard-page .personal-dashboard-filter-button.is-active{background:var(--ink-900,#15171b);border-color:var(--gold-400,#c9a24a);color:var(--gold-400,#c9a24a);box-shadow:0 2px 8px #15171b24}.rail-shell:not(.is-employee-shell) .personal-dashboard-page .personal-dashboard-table th,.rail-shell:not(.is-employee-shell) .personal-dashboard-page .personal-dashboard-table td{text-align:left;padding:14px 13px}.rail-shell:not(.is-employee-shell) .personal-dashboard-page .personal-dashboard-table th{white-space:nowrap}.rail-shell:not(.is-employee-shell) .personal-dashboard-page .personal-dashboard-sort-button{appearance:none;color:inherit;font:inherit;cursor:pointer;background:0 0;border:0;padding:0;font-weight:800}.rail-shell:not(.is-employee-shell) .personal-dashboard-page .personal-dashboard-sort-button:focus-visible{outline:2px solid var(--rail-gold,#c9a24a);outline-offset:3px;border-radius:4px}.rail-shell:not(.is-employee-shell) .personal-dashboard-page .personal-dashboard-table .is-center{text-align:center}.rail-shell:not(.is-employee-shell) .personal-dashboard-page .personnel-status{justify-content:center;min-width:34px;font-weight:800;display:inline-flex}.rail-shell:not(.is-employee-shell) .personal-dashboard-page .personnel-status--success{color:var(--rail-success,#3f8357)}.rail-shell:not(.is-employee-shell) .personal-dashboard-page .personnel-status--warning{color:var(--gold-600,#8e6a1f)}.rail-shell:not(.is-employee-shell) .personal-dashboard-page .personnel-status--danger{color:var(--rail-danger,#c91f1f)}.rail-shell:not(.is-employee-shell) .personal-dashboard-page .personal-dashboard-empty{text-align:center;padding:24px;color:var(--rail-ink-soft,#4a4d54)!important}.rail-shell:not(.is-employee-shell) .jobs-page{--jobs-panel-border:#15171b1f}.rail-shell:not(.is-employee-shell) .jobs-page .page-header{margin-bottom:18px}.rail-shell:not(.is-employee-shell) .jobs-command-row{border:1px solid var(--jobs-panel-border);border-left:4px solid var(--gold-400,#c9a24a);background:linear-gradient(90deg,#c9a24a14,#0000 42%),#fff;border-radius:10px;grid-template-columns:minmax(260px,1fr) auto;align-items:stretch;gap:14px;margin:18px 0;padding:14px;display:grid;box-shadow:0 1px 3px #15171b0f,0 8px 22px #15171b0f}.rail-shell:not(.is-employee-shell) .jobs-search-field{gap:6px;display:grid}.rail-shell:not(.is-employee-shell) .jobs-search-field span,.rail-shell:not(.is-employee-shell) .jobs-field span,.rail-shell:not(.is-employee-shell) .jobs-dialog-eyebrow{color:var(--rail-ink-soft,#4a4d54);letter-spacing:.08em;text-transform:uppercase;font-size:11px;font-weight:800}.rail-shell:not(.is-employee-shell) .jobs-search-field input{min-height:42px}.rail-shell:not(.is-employee-shell) .jobs-view-chips{flex-wrap:wrap;justify-content:flex-end;align-items:end;gap:8px;display:flex}.rail-shell:not(.is-employee-shell) .jobs-view-chips button{color:var(--rail-ink,#15171b);cursor:pointer;background:#fff;border:1px solid #15171b24;border-radius:8px;min-height:42px;padding:0 14px;font-weight:800}.rail-shell:not(.is-employee-shell) .jobs-view-chips button.active{background:var(--ink-900,#15171b);border-color:var(--gold-400,#c9a24a);color:var(--gold-400,#c9a24a);box-shadow:0 2px 8px #15171b24}.rail-shell:not(.is-employee-shell) .jobs-kpi-row{grid-template-columns:repeat(4,minmax(0,1fr))}.rail-shell:not(.is-employee-shell) .jobs-page .jobs-kpi-row{border:1.5px solid #15171b21;border-left:4px solid var(--gold-400,#c9a24a);border-radius:10px;gap:0;padding:6px;box-shadow:0 1px 3px #15171b12,0 10px 26px #15171b0f;background:linear-gradient(#fffffffc 0%,#fbfaf7fc 100%)!important}.rail-shell:not(.is-employee-shell) .jobs-page .jobs-kpi-row .kpi-tile{--jobs-kpi-accent:var(--gold-400,#c9a24a);text-align:left;place-items:start;gap:4px;min-height:74px;padding:14px 18px 13px 22px;display:grid;overflow:hidden;box-shadow:none!important;background:0 0!important;border:0!important;border-radius:6px!important;position:relative!important}.rail-shell:not(.is-employee-shell) .jobs-page .jobs-kpi-row .kpi-tile+.kpi-tile{border-left:1px solid #15171b14!important}.rail-shell:not(.is-employee-shell) .jobs-page .jobs-kpi-row .kpi-tile:before{content:"";opacity:.88;border-radius:8px 0 0 8px;position:absolute;background:linear-gradient(180deg, var(--jobs-kpi-accent), color-mix(in srgb, var(--jobs-kpi-accent) 72%, #15171b))!important;width:5px!important;inset:0 auto 0 0!important}.rail-shell:not(.is-employee-shell) .jobs-page .jobs-kpi-row .kpi-red{--jobs-kpi-accent:var(--rail-danger,#c91f1f)}.rail-shell:not(.is-employee-shell) .jobs-page .jobs-kpi-row .kpi-blue{--jobs-kpi-accent:var(--gold-500,#b58a30)}.rail-shell:not(.is-employee-shell) .jobs-page .jobs-kpi-row .kpi-green{--jobs-kpi-accent:var(--rail-success,#3f8357)}.rail-shell:not(.is-employee-shell) .jobs-page .jobs-kpi-row .kpi-yellow{--jobs-kpi-accent:var(--gold-400,#c9a24a)}.rail-shell:not(.is-employee-shell) .jobs-page .jobs-kpi-row .kpi-tile .kpi-num{font-family:var(--brand-display,"Archivo", system-ui, sans-serif);font-size:25px;font-weight:900;line-height:1;color:var(--rail-ink,#15171b)!important}.rail-shell:not(.is-employee-shell) .jobs-page .jobs-kpi-row .kpi-tile span:last-child{letter-spacing:.015em;font-size:12px;font-weight:900;color:var(--rail-ink-soft,#4a4d54)!important}.rail-shell:not(.is-employee-shell) .jobs-page .jobs-kpi-row .kpi-tile.active{transform:none;box-shadow:inset 0 0 0 1px color-mix(in srgb, var(--jobs-kpi-accent) 36%, transparent), inset 0 1px 0 #ffffffe0!important;background:linear-gradient(#fffffff5 0%,#f7f5f0eb 100%)!important;border-color:#0000!important}.rail-shell:not(.is-employee-shell) .jobs-page .jobs-kpi-row .kpi-red.active{background:linear-gradient(#fff 0%,#fff8f7 100%)!important;border-color:#c91f1f52!important}.rail-shell:not(.is-employee-shell) .jobs-page .jobs-kpi-row .kpi-green.active{background:linear-gradient(#fff 0%,#f4faf5 100%)!important;border-color:#3f835752!important}.rail-shell:not(.is-employee-shell) .jobs-page .jobs-kpi-row .kpi-yellow.active,.rail-shell:not(.is-employee-shell) .jobs-page .jobs-kpi-row .kpi-blue.active{background:linear-gradient(#fff 0%,#fcf7e8 100%)!important;border-color:#c9a24a57!important}.rail-shell:not(.is-employee-shell) .jobs-page .jobs-kpi-row .kpi-tile.active .kpi-num{color:var(--jobs-kpi-accent)!important}.rail-shell:not(.is-employee-shell) .jobs-page .jobs-kpi-row .kpi-tile.active span:last-child{color:var(--rail-ink,#15171b)!important}.rail-shell:not(.is-employee-shell) .rail-content>.jobs-page .jobs-kpi-row .kpi-tile.active{box-shadow:inset 0 0 0 1px color-mix(in srgb, var(--jobs-kpi-accent) 36%, transparent), inset 0 1px 0 #ffffffe0!important;background:linear-gradient(#fffffff5 0%,#f7f5f0eb 100%)!important;border-color:#0000!important}.rail-shell:not(.is-employee-shell) .rail-content>.jobs-page .jobs-kpi-row .kpi-red.active{background:linear-gradient(#fff 0%,#fff8f7 100%)!important;border-color:#c91f1f52!important}.rail-shell:not(.is-employee-shell) .rail-content>.jobs-page .jobs-kpi-row .kpi-green.active{background:linear-gradient(#fff 0%,#f4faf5 100%)!important;border-color:#3f835752!important}.rail-shell:not(.is-employee-shell) .rail-content>.jobs-page .jobs-kpi-row .kpi-yellow.active,.rail-shell:not(.is-employee-shell) .rail-content>.jobs-page .jobs-kpi-row .kpi-blue.active{background:linear-gradient(#fff 0%,#fcf7e8 100%)!important;border-color:#c9a24a57!important}.rail-shell:not(.is-employee-shell) .rail-content>.jobs-page .jobs-kpi-row .kpi-tile.active .kpi-num{color:var(--jobs-kpi-accent)!important}.rail-shell:not(.is-employee-shell) .rail-content>.jobs-page .jobs-kpi-row .kpi-tile.active span:last-child{color:var(--rail-ink,#15171b)!important}.rail-shell:not(.is-employee-shell) .jobs-workbench{border:1.5px solid #15171b1f;border-left:4px solid var(--gold-400,#c9a24a);background:#fff;border-radius:10px;margin-top:18px;overflow:hidden;box-shadow:0 1px 3px #15171b12,0 10px 26px #15171b0f}.rail-shell:not(.is-employee-shell) .jobs-workbench-header{background:linear-gradient(180deg, var(--rail-surface-elevated,#f4f4f4) 0%, var(--rail-surface,#f7f5f0) 100%);border-bottom:1px solid #15171b17;justify-content:space-between;align-items:center;gap:16px;padding:16px 18px;display:flex}.rail-shell:not(.is-employee-shell) .jobs-workbench-header h2{color:var(--rail-ink,#15171b);font-family:var(--brand-display,"Archivo", system-ui, sans-serif);margin:0;font-size:18px}.rail-shell:not(.is-employee-shell) .jobs-workbench-header p{color:var(--rail-ink-soft,#4a4d54);margin:3px 0 0;font-size:13px}.rail-shell:not(.is-employee-shell) .jobs-saving-pill{background:var(--gold-100,#f5ebcf);color:var(--gold-600,#8e6a1f);border:1px solid #8e6a1f38;border-radius:999px;padding:6px 10px;font-size:12px;font-weight:800}.rail-shell:not(.is-employee-shell) .jobs-work-list{display:grid}.rail-shell:not(.is-employee-shell) .jobs-work-card{background:#fff;border-bottom:1px solid #15171b14;grid-template-columns:minmax(0,1fr) auto;min-width:0;transition:background .15s,box-shadow .15s;display:grid}.rail-shell:not(.is-employee-shell) .jobs-work-card:hover{background:var(--rail-surface,#f7f5f0);box-shadow:inset 4px 0 #c9a24aa3}.rail-shell:not(.is-employee-shell) .jobs-work-card-main{color:inherit;cursor:pointer;text-align:left;background:0 0;border:0;grid-template-columns:6px minmax(260px,1.2fr) minmax(230px,1fr) minmax(250px,.8fr);align-items:center;gap:18px;min-width:0;padding:18px;display:grid}.rail-shell:not(.is-employee-shell) .jobs-card-rail{background:var(--gold-400,#c9a24a);border-radius:999px;align-self:stretch;min-height:76px;display:block}.rail-shell:not(.is-employee-shell) .jobs-work-card-needs .jobs-card-rail{background:var(--rail-danger,#c91f1f)}.rail-shell:not(.is-employee-shell) .jobs-work-card-done .jobs-card-rail{background:var(--rail-success,#3f8357)}.rail-shell:not(.is-employee-shell) .jobs-card-title-block,.rail-shell:not(.is-employee-shell) .jobs-card-meta{min-width:0}.rail-shell:not(.is-employee-shell) .jobs-card-title-block h3{color:var(--rail-ink,#15171b);font-family:var(--brand-display,"Archivo", system-ui, sans-serif);margin:9px 0 5px;font-size:clamp(17px,1vw,21px);line-height:1.12}.rail-shell:not(.is-employee-shell) .jobs-card-title-block p,.rail-shell:not(.is-employee-shell) .jobs-card-meta span{color:var(--rail-ink-soft,#4a4d54);margin:0;font-size:13px;line-height:1.45;display:block}.rail-shell:not(.is-employee-shell) .jobs-card-meta{gap:4px;display:grid}.rail-shell:not(.is-employee-shell) .jobs-card-metrics{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;display:grid}.rail-shell:not(.is-employee-shell) .jobs-card-metrics span{background:var(--rail-surface,#f7f5f0);color:var(--rail-ink-soft,#4a4d54);text-transform:uppercase;border:1px solid #15171b17;border-radius:8px;gap:2px;padding:9px 10px;font-size:11px;font-weight:800;display:grid}.rail-shell:not(.is-employee-shell) .jobs-card-metrics strong{color:var(--rail-ink,#15171b);font-family:var(--brand-display,"Archivo", system-ui, sans-serif);font-size:17px}.rail-shell:not(.is-employee-shell) .jobs-card-metrics .is-risk{background:var(--rail-danger-bg,#f9e9e7);color:var(--rail-danger,#c91f1f);border-color:#c91f1f38}.rail-shell:not(.is-employee-shell) .jobs-card-metrics .is-risk strong{color:var(--rail-danger,#c91f1f)}.rail-shell:not(.is-employee-shell) .jobs-card-metrics .is-calm{background:var(--rail-success-bg);color:var(--rail-success,#3f8357);border-color:#3f83573d}.rail-shell:not(.is-employee-shell) .jobs-card-metrics .is-calm strong{color:var(--rail-success,#3f8357)}.rail-shell:not(.is-employee-shell) .jobs-card-actions{border-left:1px solid #15171b14;flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:8px;padding:18px;display:flex}.rail-shell:not(.is-employee-shell) .jobs-status-pill{letter-spacing:.08em;text-transform:uppercase;border:1px solid #15171b1f;border-radius:6px;padding:7px 9px;font-size:11px;font-weight:900;line-height:1;display:inline-flex}.rail-shell:not(.is-employee-shell) .jobs-status-needs{background:var(--rail-danger-bg,#f9e9e7);color:var(--rail-danger,#c91f1f);border-color:#c91f1f47}.rail-shell:not(.is-employee-shell) .jobs-status-active{background:var(--gold-100,#f5ebcf);color:var(--gold-600,#8e6a1f);border-color:#8e6a1f4d}.rail-shell:not(.is-employee-shell) .jobs-status-done{background:var(--rail-success-bg);color:var(--rail-success,#3f8357);border-color:#3f835747}.rail-shell:not(.is-employee-shell) .jobs-status-muted{background:var(--rail-surface,#f7f5f0);color:var(--rail-ink-soft,#4a4d54)}.rail-shell:not(.is-employee-shell) .jobs-page-message{margin:14px 0}.rail-shell:not(.is-employee-shell) .jobs-loading,.rail-shell:not(.is-employee-shell) .jobs-empty-state{margin:20px}.rail-shell:not(.is-employee-shell) .jobs-empty-state{justify-content:space-between;align-items:center;display:flex}.rail-shell:not(.is-employee-shell) .jobs-job-dialog{border:1.5px solid #15171b24;max-width:min(820px,96vw);background:#fff!important}.rail-shell:not(.is-employee-shell) .jobs-job-dialog .dialog-header h2{margin:4px 0 0}.rail-shell:not(.is-employee-shell) .jobs-form-error{margin-bottom:14px}.rail-shell:not(.is-employee-shell) .jobs-form-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;display:grid}.rail-shell:not(.is-employee-shell) .jobs-field{gap:6px;display:grid}.rail-shell:not(.is-employee-shell) .jobs-field-wide{grid-column:1/-1}.rail-shell:not(.is-employee-shell) .jobs-field input,.rail-shell:not(.is-employee-shell) .jobs-field select,.rail-shell:not(.is-employee-shell) .jobs-field textarea{width:100%}.rail-shell:not(.is-employee-shell) .modal-backdrop,.rail-shell:not(.is-employee-shell) .dialog-backdrop,.rail-shell:not(.is-employee-shell) .confirm-dialog-backdrop,.rail-shell:not(.is-employee-shell) .face-dialog-backdrop{-webkit-backdrop-filter:blur(8px)saturate(.92)!important;backdrop-filter:blur(8px)saturate(.92)!important;background:radial-gradient(circle at 22% 12%,#c9a24a1f,#0000 34%),#15171b8f!important}.rail-shell:not(.is-employee-shell) .modal,.rail-shell:not(.is-employee-shell) .dialog,.rail-shell:not(.is-employee-shell) .confirm-dialog,.rail-shell:not(.is-employee-shell) .form-dialog,.rail-shell:not(.is-employee-shell) .face-dialog{background:linear-gradient(180deg, var(--rail-surface-elevated,#f4f4f4) 0%, var(--rail-surface,#f7f5f0) 100%)!important;border:1.5px solid #15171b29!important;border-top:4px solid var(--gold-400,#c9a24a)!important;color:var(--rail-ink,#15171b)!important;border-radius:10px!important;box-shadow:inset 0 1px 2px #ffffffb3,0 24px 72px #15171b47,0 8px 24px #15171b24!important}.rail-shell:not(.is-employee-shell) .modal-header,.rail-shell:not(.is-employee-shell) .dialog-header,.rail-shell:not(.is-employee-shell) .form-dialog-header,.rail-shell:not(.is-employee-shell) .face-dialog-header{background:linear-gradient(90deg, #c9a24a17, transparent 55%), linear-gradient(180deg, var(--rail-surface-elevated,#f4f4f4) 0%, var(--rail-surface,#f7f5f0) 100%)!important;border-bottom:1px solid #15171b1a!important;padding:22px 24px 16px!important}.rail-shell:not(.is-employee-shell) .modal-header h2,.rail-shell:not(.is-employee-shell) .dialog-header h2,.rail-shell:not(.is-employee-shell) .confirm-dialog h2,.rail-shell:not(.is-employee-shell) .form-dialog-header h2,.rail-shell:not(.is-employee-shell) .face-dialog-header h2{color:var(--rail-ink,#15171b)!important;font-family:var(--brand-display,"Archivo", system-ui, sans-serif)!important;letter-spacing:0!important;margin:0!important;font-size:clamp(20px,2vw,28px)!important;font-weight:900!important;line-height:1.08!important}.rail-shell:not(.is-employee-shell) .confirm-dialog p,.rail-shell:not(.is-employee-shell) .form-dialog-header p{line-height:1.5;color:var(--rail-ink-soft,#4a4d54)!important}.rail-shell:not(.is-employee-shell) .modal-body,.rail-shell:not(.is-employee-shell) .dialog-body,.rail-shell:not(.is-employee-shell) .form-dialog-body,.rail-shell:not(.is-employee-shell) .face-dialog-body{background:linear-gradient(180deg, var(--rail-surface-elevated,#f4f4f4) 0%, var(--rail-surface,#f7f5f0) 100%)!important}.rail-shell:not(.is-employee-shell) .modal-footer,.rail-shell:not(.is-employee-shell) .dialog-footer,.rail-shell:not(.is-employee-shell) .face-dialog-actions{background:#f7f5f0eb!important;border-top:1px solid #15171b1a!important;padding:16px 24px 20px!important}.rail-shell:not(.is-employee-shell) .modal-close,.rail-shell:not(.is-employee-shell) .btn-close,.rail-shell:not(.is-employee-shell) .drawer-close{color:var(--rail-ink-soft,#4a4d54)!important;background:#fff!important;border:1px solid #15171b24!important;border-radius:8px!important;box-shadow:0 1px 2px #15171b0f!important}.rail-shell:not(.is-employee-shell) .modal-close:hover,.rail-shell:not(.is-employee-shell) .btn-close:hover,.rail-shell:not(.is-employee-shell) .drawer-close:hover{background:var(--ink-900,#15171b)!important;border-color:var(--gold-400,#c9a24a)!important;color:var(--gold-400,#c9a24a)!important}.rail-shell:not(.is-employee-shell) .confirm-dialog{overflow:hidden;padding:0!important}.rail-shell:not(.is-employee-shell) .confirm-dialog h2,.rail-shell:not(.is-employee-shell) .confirm-dialog p,.rail-shell:not(.is-employee-shell) .confirm-dialog-actions{margin-left:24px;margin-right:24px}.rail-shell:not(.is-employee-shell) .confirm-dialog h2{margin-top:24px!important}.rail-shell:not(.is-employee-shell) .confirm-dialog-actions{background:#f7f5f0eb;border-top:1px solid #15171b1a;margin:0;padding:16px 24px 20px}.rail-shell:not(.is-employee-shell) .drawer-panel{background:linear-gradient(180deg, var(--rail-surface-elevated,#f4f4f4) 0%, var(--rail-surface,#f7f5f0) 100%)!important;border-left:1.5px solid #c9a24a52!important;box-shadow:0 18px 64px #15171b3d!important}.rail-shell:not(.is-employee-shell) .drawer-header{background:linear-gradient(90deg,#c9a24a17,#0000 60%),#fff!important}.rail-shell:not(.is-employee-shell) .jobs-drawer-actions,.rail-shell:not(.is-employee-shell) .jobs-drawer-footer{flex-wrap:wrap;gap:10px;margin-bottom:16px;display:flex}.rail-shell:not(.is-employee-shell) .jobs-drawer-message{margin-bottom:12px}.rail-shell:not(.is-employee-shell) .jobs-drawer-summary{background:linear-gradient(180deg, var(--rail-surface-elevated,#f4f4f4) 0%, var(--rail-surface,#f7f5f0) 100%);border:1px solid #15171b1f;border-left:4px solid var(--gold-400,#c9a24a);border-radius:10px;grid-template-columns:auto repeat(2,minmax(0,1fr));gap:12px;margin-bottom:18px;padding:14px;display:grid}.rail-shell:not(.is-employee-shell) .jobs-drawer-summary div{gap:2px;display:grid}.rail-shell:not(.is-employee-shell) .jobs-drawer-summary strong{color:var(--rail-ink,#15171b);font-family:var(--brand-display,"Archivo", system-ui, sans-serif);font-size:20px}.rail-shell:not(.is-employee-shell) .jobs-drawer-summary span{color:var(--rail-ink-soft,#4a4d54);font-size:12px}.rail-shell:not(.is-employee-shell) .jobs-drawer-section{margin-bottom:20px}.rail-shell:not(.is-employee-shell) .jobs-drawer-section h4{color:var(--rail-ink-soft,#4a4d54);letter-spacing:.1em;text-transform:uppercase;margin:0 0 10px;font-size:11px;font-weight:900}.rail-shell:not(.is-employee-shell) .jobs-detail-list{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:0;display:grid}.rail-shell:not(.is-employee-shell) .jobs-detail-list div,.rail-shell:not(.is-employee-shell) .jobs-slot-row{background:var(--rail-surface,#f7f5f0);border:1px solid #15171b17;border-radius:9px;padding:12px}.rail-shell:not(.is-employee-shell) .jobs-detail-list dt{color:var(--rail-ink-soft,#4a4d54);letter-spacing:.07em;text-transform:uppercase;margin-bottom:4px;font-size:11px;font-weight:800}.rail-shell:not(.is-employee-shell) .jobs-detail-list dd{color:var(--rail-ink,#15171b);margin:0;font-weight:800}.rail-shell:not(.is-employee-shell) .jobs-slot-list{gap:8px;display:grid}.rail-shell:not(.is-employee-shell) .jobs-slot-form{border:1px solid #15171b1f;border-left:4px solid var(--gold-400,#c9a24a);background:#fff;border-radius:10px;margin-bottom:12px;padding:14px}.rail-shell:not(.is-employee-shell) .jobs-slot-form-actions{justify-content:flex-end;gap:8px;margin-top:12px;display:flex}.rail-shell:not(.is-employee-shell) .jobs-slot-row{justify-content:space-between;align-items:center;gap:12px;display:flex}.rail-shell:not(.is-employee-shell) .jobs-slot-row div{gap:3px;min-width:0;display:grid}.rail-shell:not(.is-employee-shell) .jobs-slot-row strong{color:var(--rail-ink,#15171b)}.rail-shell:not(.is-employee-shell) .jobs-slot-row span{color:var(--rail-ink-soft,#4a4d54);font-size:12px}.rail-shell:not(.is-employee-shell) .jobs-mini-status{text-transform:uppercase;border-radius:999px;flex:none;padding:6px 9px;font-weight:900;font-size:11px!important}.rail-shell:not(.is-employee-shell) .jobs-mini-status.is-ready{background:var(--rail-success-bg);color:var(--rail-success,#3f8357)}.rail-shell:not(.is-employee-shell) .jobs-mini-status.is-open{background:var(--rail-danger-bg,#f9e9e7);color:var(--rail-danger,#c91f1f)}.rail-shell:not(.is-employee-shell) .jobs-drawer-hint{color:var(--rail-danger,#c91f1f);align-self:center;font-size:12px;font-weight:800}@media (width<=1500px){.rail-shell:not(.is-employee-shell) .jobs-work-card{grid-template-columns:1fr}.rail-shell:not(.is-employee-shell) .jobs-card-actions{border-top:1px solid #15171b14;border-left:0;justify-content:flex-start;padding-top:0}.rail-shell:not(.is-employee-shell) .jobs-work-card-main{grid-template-columns:6px minmax(0,1fr)}.rail-shell:not(.is-employee-shell) .jobs-card-meta,.rail-shell:not(.is-employee-shell) .jobs-card-metrics{grid-column:2}}@media (width<=760px){.rail-shell:not(.is-employee-shell) .jobs-command-row,.rail-shell:not(.is-employee-shell) .jobs-kpi-row,.rail-shell:not(.is-employee-shell) .jobs-form-grid,.rail-shell:not(.is-employee-shell) .jobs-detail-list,.rail-shell:not(.is-employee-shell) .jobs-drawer-summary{grid-template-columns:1fr}.rail-shell:not(.is-employee-shell) .jobs-command-row{padding:12px}.rail-shell:not(.is-employee-shell) .jobs-view-chips{justify-content:flex-start}.rail-shell:not(.is-employee-shell) .jobs-card-metrics{grid-template-columns:repeat(3,minmax(0,1fr))}.rail-shell:not(.is-employee-shell) .jobs-empty-state{flex-direction:column;align-items:stretch}}@media (width<=520px){.rail-shell:not(.is-employee-shell) .jobs-card-metrics{grid-template-columns:1fr}.rail-shell:not(.is-employee-shell) .jobs-slot-row{flex-direction:column;align-items:stretch}}.person-drawer{flex-direction:column;height:100%;display:flex}.person-drawer-header{border-bottom:1px solid var(--rail-border,#d9d9d9);align-items:center;gap:12px;padding:16px;display:flex}.person-drawer-avatar{background:var(--rail-surface,#f7f5f0);width:48px;height:48px;color:var(--rail-ink,#15171b);border:1px solid #c9a24a57;border-radius:50%;flex-shrink:0;justify-content:center;align-items:center;font-size:1rem;font-weight:700;display:flex}.person-drawer-header-info{flex:1;min-width:0}.person-drawer-name{color:var(--rail-ink,#15171b);font-size:1rem;font-weight:600}.person-drawer-meta{color:var(--rail-ink-soft,#4a4d54);margin-top:2px;font-size:.875rem}.person-drawer-status-pill{border-radius:12px;padding:4px 10px;font-size:.75rem;font-weight:500}.person-drawer-status-pill--available{background:var(--rail-surface-elevated,#f4f4f4);color:var(--gold-600,#8e6a1f);border:1px solid var(--gold-400,#c9a24a)}.person-drawer-status-pill--on-shift{background:var(--rail-surface-elevated,#f4f4f4);color:var(--rail-success,#3f8357);border:1px solid var(--rail-success,#3f8357)}.person-drawer-status-pill--scheduled{background:var(--rail-surface-elevated,#f4f4f4);color:var(--ink-700,#2b2d33);border:1px solid var(--ink-300,#ded8ca)}.person-drawer-status-pill--absent{background:var(--rail-surface-elevated,#f4f4f4);color:var(--gold-600,#8e6a1f);border:1px solid var(--gold-400,#c9a24a)}.person-drawer-status-pill--off{background:var(--silver-100,#f4f4f4);color:var(--silver-500,#5c5c5c)}.person-drawer-tabs{border-bottom:1px solid var(--rail-border,#d9d9d9);scrollbar-width:thin;gap:0;padding:0 16px;display:flex;overflow-x:auto}.person-drawer-tab{color:var(--rail-ink-soft,#4a4d54);cursor:pointer;white-space:nowrap;background:0 0;border:none;border-bottom:2px solid #0000;flex-shrink:0;padding:10px 12px;font-size:.875rem;transition:color .15s,border-color .15s}.person-drawer-tab:hover{color:var(--rail-ink,#1f2937)}.person-drawer-tab.is-active{color:var(--rail-accent,#15171b);border-bottom-color:var(--rail-accent,#15171b);font-weight:500}.person-drawer-body{flex:1;padding:16px;overflow-y:auto}.person-drawer-placeholder{color:var(--rail-ink-soft,#4a4d54);text-align:center;padding:24px 0;font-size:.875rem}.person-drawer-footer{border-top:1px solid var(--rail-border,#d9d9d9);padding:12px 16px}.person-drawer-footer-actions{justify-content:flex-end;gap:8px;display:flex}.person-drawer-footer-action{border:1px solid var(--rail-border,#d9d9d9);cursor:pointer;color:var(--rail-ink-soft,#4a4d54);background:0 0;border-radius:6px;justify-content:center;align-items:center;padding:8px;transition:background .15s,color .15s;display:flex}.person-drawer-footer-action:hover{background:var(--rail-surface-raised,#f7f5f0);color:var(--rail-ink,#1f2937)}.user-live-dot{vertical-align:middle;border-radius:50%;flex-shrink:0;width:8px;height:8px;margin-right:6px;display:inline-block}.user-live-dot--on-shift{background:var(--state-ok,#2e7d32)}.user-live-dot--scheduled{background:var(--state-info,#2b2d33)}.user-live-dot--absent{background:var(--state-warn,#b76b18)}.user-live-dot--available{background:var(--state-available,#8e6a1f)}.user-live-dot--off{background:var(--state-off,#5c5c5c)}.person-drawer-backdrop{z-index:150;background:#15171b59;animation:.15s ease-out person-drawer-fade-in;position:fixed;inset:0}@keyframes person-drawer-fade-in{0%{opacity:0}to{opacity:1}}.person-drawer-panel{background:var(--rail-surface,#fff);border-left:1px solid var(--rail-border,#d9d9d9);z-index:160;flex-direction:column;width:520px;max-width:100vw;animation:.2s ease-out person-drawer-slide-in;display:flex;position:fixed;top:0;bottom:0;right:0;box-shadow:-4px 0 24px #15171b1a}@keyframes person-drawer-slide-in{0%{transform:translate(100%)}to{transform:translate(0)}}.person-drawer-close{cursor:pointer;color:var(--rail-ink-soft,#4a4d54);z-index:1;background:0 0;border:none;border-radius:6px;justify-content:center;align-items:center;min-width:40px;min-height:40px;padding:6px;transition:background .15s,color .15s;display:flex;position:absolute;top:14px;right:16px}.person-drawer-close:hover{background:var(--rail-surface-hover,#f4f4f4);color:var(--rail-ink,#1f2937)}.person-drawer-close:focus-visible{outline:2px solid var(--rail-accent,#15171b);outline-offset:2px}@media (width<=480px){.person-drawer-tabs{padding:0 8px}.person-drawer-tab{min-height:44px;padding:8px 10px;font-size:.8125rem}.person-drawer-panel{border-radius:18px 18px 0 0;width:100vw;max-height:92svh;animation:.2s ease-out person-drawer-slide-up;top:auto}.person-drawer-close{min-width:44px;min-height:44px}.person-drawer-footer-actions{flex-direction:column;align-items:stretch}.person-drawer-footer{padding-bottom:calc(16px + env(safe-area-inset-bottom))}.person-drawer-footer-action{min-height:44px}}@keyframes person-drawer-slide-up{0%{transform:translateY(100%)}to{transform:translateY(0)}}@media (prefers-reduced-motion:reduce){.person-drawer-backdrop,.person-drawer-panel{animation:none}}.user-dropdown{position:relative}.user-dropdown-popover{background:var(--rail-surface,#f7f5f0);border:1px solid var(--rail-border,#c9c5bc);z-index:200;border-radius:8px;width:260px;animation:.12s ease-out user-dropdown-enter;position:absolute;top:calc(100% + 8px);right:0;overflow:hidden;box-shadow:0 4px 16px #15171b1f,0 1px 4px #15171b14}@keyframes user-dropdown-enter{0%{opacity:0;transform:translateY(-4px)}to{opacity:1;transform:translateY(0)}}.user-dropdown-header{align-items:center;gap:12px;padding:14px 16px;display:flex}.user-dropdown-avatar{background:var(--rail-accent,#15171b);width:40px;height:40px;color:var(--ink-100,#f7f5f0);border-radius:50%;flex-shrink:0;justify-content:center;align-items:center;font-size:.875rem;font-weight:700;display:flex}.user-dropdown-user-info{flex-direction:column;min-width:0;display:flex}.user-dropdown-name{color:var(--rail-ink,#15171b);white-space:nowrap;text-overflow:ellipsis;font-size:.9375rem;font-weight:600;overflow:hidden}.user-dropdown-email{color:var(--rail-ink-soft,#4a4d54);white-space:nowrap;text-overflow:ellipsis;font-size:.75rem;overflow:hidden}.user-dropdown-role-badge{background:var(--rail-surface-elevated,#f4f4f4);border:1px solid var(--gold-400,#c9a24a);color:var(--gold-600,#8e6a1f);border-radius:10px;margin-top:4px;padding:2px 8px;font-size:.6875rem;font-weight:500;display:inline-block}.user-dropdown-separator{background:var(--rail-border,#c9c5bc);height:1px;margin:0}.user-dropdown-nav{flex-direction:column;padding:6px 0;display:flex}.user-dropdown-item{color:var(--rail-ink,#15171b);text-align:left;cursor:pointer;background:0 0;border:none;align-items:center;gap:10px;width:100%;padding:9px 16px;font-size:.875rem;text-decoration:none;transition:background .1s;display:flex}.user-dropdown-item:hover,.user-dropdown-item:focus-visible{background:var(--rail-surface-muted,#ece8df);outline:none}.user-dropdown-item:focus-visible{box-shadow:inset 0 0 0 2px var(--rail-accent,#15171b)}.user-dropdown-item svg{color:var(--rail-ink-soft,#4a4d54);flex-shrink:0}.user-dropdown-item--danger{color:var(--rail-danger,#c91f1f);margin:4px 0;padding:9px 16px}.user-dropdown-item--danger svg{color:var(--rail-danger,#c91f1f)}.user-dropdown-item--danger:hover,.user-dropdown-item--danger:focus-visible{background:var(--rail-danger-bg,#f9e9e7);color:var(--rail-danger,#c91f1f)}.overview-bucket{--rand:var(--ink-300);box-shadow:inset 4px 0 0 var(--rand);border-radius:var(--radius-lg);padding-left:max(20px, var(--gap-5));border-top:0}.overview-bucket.ok{--rand:var(--state-ok)}.overview-bucket.warn{--rand:var(--state-warn)}.overview-bucket.alert{--rand:var(--state-danger)}.overview-bucket .bucket-count{background:var(--rand);color:var(--ink-100)}.overview-bucket .bucket-icon{color:var(--rand)}.nx-rand{box-shadow:inset 4px 0 0 var(--ink-300);border-radius:var(--radius-lg)}.nx-rand.is-ok{box-shadow:inset 4px 0 0 var(--state-ok)}.nx-rand.is-warn,.nx-rand.is-risk{box-shadow:inset 4px 0 0 var(--state-warn)}.nx-rand.is-danger{box-shadow:inset 4px 0 0 var(--state-danger)}.nx-rand.is-info{box-shadow:inset 4px 0 0 var(--state-info)}.nx-rand.is-off{box-shadow:inset 4px 0 0 var(--state-off)}.nx-tone-ok{background:var(--rail-success-bg);color:var(--rail-success)}.nx-tone-warn{background:var(--polish-tint-warning);color:var(--gold-600)}.nx-tone-danger{background:var(--rail-danger-bg);color:var(--rail-danger)}.nx-tone-info{background:var(--rail-info-bg);color:var(--ink-700)}.nx-tone-neutral{background:var(--polish-tint-neutral);color:var(--ink-700)}.nx-card{background:var(--rail-surface-elevated);border:1px solid var(--border-soft);border-radius:var(--radius-lg);box-shadow:var(--shadow-sm)}.nx-card:hover{box-shadow:var(--shadow-md)}.schema-matrix-wrap{-webkit-overflow-scrolling:touch;overflow-x:auto}.schema-matrix{min-width:max-content}.schema-matrix th,.schema-matrix td{white-space:nowrap;text-overflow:ellipsis;min-width:4.5rem;overflow:hidden}.schema-matrix th:first-child,.schema-matrix td:first-child{z-index:var(--z-raised);background:var(--rail-surface-elevated);min-width:12rem;position:sticky;left:0}.chip,.kpi-chip,.pill,.badge{border-radius:var(--radius-pill)}:where(button,a,input,select,textarea,[tabindex]):focus-visible{box-shadow:var(--focus-ring);outline:none}.rail-shell:not(.is-employee-shell) .rail-content>.page,.rail-shell:not(.is-employee-shell) .rail-content>.page-container,.rail-shell:not(.is-employee-shell) .rail-content>.schedule-overview-wrap{width:min(100%,1480px);margin-inline:auto}.rail-shell:not(.is-employee-shell) .rail-content>:not(.kontrolltornet-page):not(.lucktavla-page) .page-header,.rail-shell:not(.is-employee-shell) .rail-content>.schedule-overview-wrap .page-header{border-bottom:1px solid #15171b14;grid-template-columns:minmax(0,1fr) auto;align-items:end;gap:16px;margin-bottom:16px;padding-bottom:12px;display:grid}.rail-shell:not(.is-employee-shell) .page-header h1{letter-spacing:0;max-width:980px;font-size:clamp(2rem,2.4vw,2.85rem);line-height:.98}.rail-shell:not(.is-employee-shell) .page-subtitle{max-width:760px;font-size:.92rem;line-height:1.35}.rail-shell:not(.is-employee-shell) .page-header-actions{justify-content:flex-end;gap:8px}.rail-shell:not(.is-employee-shell) .btn,.rail-shell:not(.is-employee-shell) .btn-primary,.rail-shell:not(.is-employee-shell) .btn-secondary,.rail-shell:not(.is-employee-shell) .btn-danger,.rail-shell:not(.is-employee-shell) button.btn,.rail-shell:not(.is-employee-shell) a.btn{border-radius:7px;min-height:36px;padding:8px 13px;line-height:1.1}.rail-shell:not(.is-employee-shell) .btn-sm,.rail-shell:not(.is-employee-shell) .btn.btn-sm,.rail-shell:not(.is-employee-shell) .btn-primary.btn-sm,.rail-shell:not(.is-employee-shell) .btn-secondary.btn-sm{min-height:32px;padding:6px 10px;font-size:.78rem}.rail-shell:not(.is-employee-shell) .kpi-row,.rail-shell:not(.is-employee-shell) .weekly-rest-summary,.rail-shell:not(.is-employee-shell) .vehicle-kpi-row{grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:10px;margin:14px 0 16px;display:grid}.rail-shell:not(.is-employee-shell) .kpi-tile,.rail-shell:not(.is-employee-shell) .weekly-rest-summary-tile{text-align:left!important;border-width:1px!important;border-radius:8px!important;justify-content:center!important;align-items:flex-start!important;min-height:66px!important;padding:12px 16px 11px 18px!important;box-shadow:0 1px 2px #15171b0d!important}.rail-shell:not(.is-employee-shell) .kpi-tile:hover{transform:none!important;box-shadow:0 2px 8px #15171b14!important}.rail-shell:not(.is-employee-shell) .kpi-num,.rail-shell:not(.is-employee-shell) .weekly-rest-summary-tile strong{font-size:clamp(1.55rem,2vw,2rem)!important;line-height:.95!important}.rail-shell:not(.is-employee-shell) .kpi-tile span:last-child,.rail-shell:not(.is-employee-shell) .weekly-rest-summary-tile span{text-transform:uppercase;letter-spacing:.035em!important;margin-top:4px!important;font-size:.72rem!important;font-weight:850!important}.rail-shell:not(.is-employee-shell) .cards-grid,.rail-shell:not(.is-employee-shell) .overtime-mobile-list{grid-template-columns:repeat(auto-fill,minmax(250px,1fr));gap:10px;margin-top:14px}.rail-shell:not(.is-employee-shell) .card:not(.luck-panel-card):not(.luck-panel-section):not(.luck-panel-primary),.rail-shell:not(.is-employee-shell) .customer-card,.rail-shell:not(.is-employee-shell) .person-card,.rail-shell:not(.is-employee-shell) .overtime-mobile-card{border:1px solid #15171b1c!important;border-left:4px solid var(--gold-400,#c9a24a)!important;background:var(--rail-surface-elevated,#f4f4f4)!important;border-radius:8px!important;box-shadow:0 1px 2px #15171b0d!important}.rail-shell:not(.is-employee-shell) .report-card,.rail-shell:not(.is-employee-shell) .schema-card{background:var(--rail-surface-elevated,#f4f4f4)!important;border-style:solid!important;border-width:1px 1px 1px 4px!important;border-top-color:#15171b1c!important;border-bottom-color:#15171b1c!important;border-right-color:#15171b1c!important;border-radius:8px!important;box-shadow:0 1px 2px #15171b0d!important}.rail-shell:not(.is-employee-shell) .card.card-ok{border-left-color:var(--rail-success,#3f8357)!important}.rail-shell:not(.is-employee-shell) .card.card-problem,.rail-shell:not(.is-employee-shell) .card.card-critical{border-left-color:var(--rail-danger,#c91f1f)!important;background:var(--rail-surface-elevated,#f4f4f4)!important}.rail-shell:not(.is-employee-shell) .card.card-warning{border-left-color:var(--gold-500,#b58a30)!important;background:var(--rail-surface-elevated,#f4f4f4)!important}.rail-shell:not(.is-employee-shell) .card:not(.luck-panel-card):not(.luck-panel-section):not(.luck-panel-primary),.rail-shell:not(.is-employee-shell) .customer-card,.rail-shell:not(.is-employee-shell) .person-card,.rail-shell:not(.is-employee-shell) .report-card,.rail-shell:not(.is-employee-shell) .schema-card{padding:14px!important}.rail-shell:not(.is-employee-shell) .card.clickable-card:hover,.rail-shell:not(.is-employee-shell) .customer-card:hover,.rail-shell:not(.is-employee-shell) .person-card:hover,.rail-shell:not(.is-employee-shell) .report-card:hover{transform:translateY(-1px);box-shadow:0 4px 14px #15171b17!important}.rail-shell:not(.is-employee-shell) .card-header,.rail-shell:not(.is-employee-shell) .customer-header,.rail-shell:not(.is-employee-shell) .report-header{align-items:center;gap:9px}.rail-shell:not(.is-employee-shell) .card-header h3,.rail-shell:not(.is-employee-shell) .customer-info h3,.rail-shell:not(.is-employee-shell) .report-info h3{font-size:.95rem;line-height:1.16}.rail-shell:not(.is-employee-shell) .card-body{margin-top:10px}.rail-shell:not(.is-employee-shell) .card-body p,.rail-shell:not(.is-employee-shell) .muted,.rail-shell:not(.is-employee-shell) .muted-text,.rail-shell:not(.is-employee-shell) .form-help{line-height:1.35}.rail-shell:not(.is-employee-shell) .badge,.rail-shell:not(.is-employee-shell) .status-badge,.rail-shell:not(.is-employee-shell) .type-badge,.rail-shell:not(.is-employee-shell) .jobs-status-pill,.rail-shell:not(.is-employee-shell) .plikt-status-badge{white-space:nowrap;border-radius:6px!important;padding:4px 7px!important;font-size:.68rem!important;line-height:1!important}.rail-shell:not(.is-employee-shell) .filter-chips,.rail-shell:not(.is-employee-shell) .toolbar-row,.rail-shell:not(.is-employee-shell) .jobs-command-row{gap:8px;margin:12px 0 14px}.rail-shell:not(.is-employee-shell) .inline-filter{border-radius:999px;min-height:38px;padding:4px 11px}.rail-shell:not(.is-employee-shell) .inline-filter input{min-height:28px;font-size:.82rem}.rail-shell:not(.is-employee-shell) input,.rail-shell:not(.is-employee-shell) select,.rail-shell:not(.is-employee-shell) textarea{border-radius:7px}.rail-shell:not(.is-employee-shell) .form-grid,.rail-shell:not(.is-employee-shell) .vehicle-form-grid,.rail-shell:not(.is-employee-shell) .overtime-filters{gap:10px 12px}.rail-shell:not(.is-employee-shell) .field,.rail-shell:not(.is-employee-shell) .form-group{gap:5px}.rail-shell:not(.is-employee-shell) .table-scroll,.rail-shell:not(.is-employee-shell) .plan-import-table-wrap{border-radius:8px;margin-top:10px}.rail-shell:not(.is-employee-shell) .table:not(.luck-grid),.rail-shell:not(.is-employee-shell) .data-table,.rail-shell:not(.is-employee-shell) .plan-import-table,.rail-shell:not(.is-employee-shell) .personal-dashboard-table{border-radius:8px!important;box-shadow:0 1px 2px #15171b0d!important}.rail-shell:not(.is-employee-shell) .table:not(.luck-grid) th,.rail-shell:not(.is-employee-shell) .table:not(.luck-grid) td,.rail-shell:not(.is-employee-shell) .data-table th,.rail-shell:not(.is-employee-shell) .data-table td,.rail-shell:not(.is-employee-shell) .plan-import-table th,.rail-shell:not(.is-employee-shell) .plan-import-table td,.rail-shell:not(.is-employee-shell) .personal-dashboard-table th,.rail-shell:not(.is-employee-shell) .personal-dashboard-table td{padding:10px 12px!important}.rail-shell:not(.is-employee-shell) .empty-state,.rail-shell:not(.is-employee-shell) .luck-empty-state,.rail-shell:not(.is-employee-shell) .jobs-empty-state,.rail-shell:not(.is-employee-shell) .overtime-mobile-empty{width:min(100%,420px);margin:14px 0;border:1px dashed #15171b24!important;border-left:4px solid var(--gold-400,#c9a24a)!important;background:var(--rail-surface-elevated,#f4f4f4)!important;text-align:left!important;min-height:0!important;color:var(--rail-ink-soft,#4a4d54)!important;border-radius:8px!important;padding:20px 22px!important}.rail-shell:not(.is-employee-shell) .shift-pass-card{min-height:166px}.rail-shell:not(.is-employee-shell) .shift-pass-card .card-body{grid-template-rows:auto auto auto auto 1fr auto;gap:5px;min-height:128px;display:grid}.rail-shell:not(.is-employee-shell) .shift-pass-card .crew-info{flex-wrap:wrap;align-items:baseline;gap:3px 5px;min-height:20px;display:flex}.rail-shell:not(.is-employee-shell) .shift-card-actions{flex-wrap:wrap;align-items:center;gap:8px;margin-top:4px;display:flex}.rail-shell:not(.is-employee-shell) .shift-card-actions .btn{min-height:34px}.rail-shell:not(.is-employee-shell) .shift-card-actions .btn-danger{order:1}.rail-shell:not(.is-employee-shell) .shift-card-actions .btn-secondary{order:2}.rail-shell:not(.is-employee-shell) .availability-page .person-card{grid-template-columns:auto minmax(0,1fr);align-items:start;gap:10px 12px;display:grid}.rail-shell:not(.is-employee-shell) .availability-page .fatigue-mini-meter{margin-top:4px}.rail-shell:not(.is-employee-shell) .availability-page .fatigue-mini-meter__bar,.rail-shell:not(.is-employee-shell) .fatigue-meter,.rail-shell:not(.is-employee-shell) .plikt-ot-bar-track{height:7px}.rail-shell:not(.is-employee-shell) .user-card .card-header{grid-template-columns:auto auto minmax(0,1fr) auto;display:grid}.rail-shell:not(.is-employee-shell) .user-card .user-info{min-width:0}.rail-shell:not(.is-employee-shell) .user-card .card-body{gap:8px;display:flex}.rail-shell:not(.is-employee-shell) .personnel-card{min-width:0;overflow:hidden}.rail-shell:not(.is-employee-shell) .personnel-card .card-header{grid-template-columns:24px 38px minmax(0,1fr) auto;align-items:center;column-gap:12px;display:grid}.rail-shell:not(.is-employee-shell) .personnel-card .bulk-select{place-items:center;width:24px;height:24px;margin:0;display:inline-grid}.rail-shell:not(.is-employee-shell) .personnel-card .avatar{justify-self:center;width:34px;height:34px}.rail-shell:not(.is-employee-shell) .personnel-card .user-info{gap:2px;min-width:0;display:grid}.rail-shell:not(.is-employee-shell) .personnel-card .user-info h3,.rail-shell:not(.is-employee-shell) .personnel-card .user-info p{text-overflow:ellipsis;white-space:nowrap;min-width:0;max-width:100%;margin:0;overflow:hidden}.rail-shell:not(.is-employee-shell) .personnel-card .badge{white-space:nowrap;justify-self:end;max-width:56px}.rail-shell:not(.is-employee-shell) .personnel-card .card-body{justify-content:flex-start;align-items:flex-end;gap:8px;display:flex}.rail-shell:not(.is-employee-shell) .report-card{gap:10px;display:grid}.rail-shell:not(.is-employee-shell) .report-hours{background:var(--rail-surface,#f7f5f0);border-radius:7px;padding:8px 10px}.rail-shell:not(.is-employee-shell) .report-actions,.rail-shell:not(.is-employee-shell) .card-actions,.rail-shell:not(.is-employee-shell) .form-actions,.rail-shell:not(.is-employee-shell) .vehicle-form-actions{gap:8px}.rail-shell:not(.is-employee-shell) .plan-import-page{gap:14px;display:grid}.rail-shell:not(.is-employee-shell) .plan-import-steps{gap:10px;margin:10px 0 12px}.rail-shell:not(.is-employee-shell) .plan-import-steps li{border-radius:999px;min-height:34px;padding:6px 11px}.rail-shell:not(.is-employee-shell) .plan-import-panel,.rail-shell:not(.is-employee-shell) .vehicle-create-form,.rail-shell:not(.is-employee-shell) .weekly-rest-controls,.rail-shell:not(.is-employee-shell) .overtime-quotas-page>section.card{padding:14px 16px!important}.rail-shell:not(.is-employee-shell) .plan-import-drop{align-items:center;min-height:92px;display:grid;background:var(--rail-surface-elevated,#f4f4f4)!important;border-color:#15171b38!important;border-radius:8px!important;padding:14px!important}.rail-shell:not(.is-employee-shell) .vehicle-form-grid{grid-template-columns:repeat(4,minmax(180px,1fr))}.rail-shell:not(.is-employee-shell) .vehicle-inventory-card .vehicle-section-header,.rail-shell:not(.is-employee-shell) .weekly-rest-result-header,.rail-shell:not(.is-employee-shell) .jobs-workbench-header{padding:12px 14px}.rail-shell:not(.is-employee-shell) .jobs-command-row{border-radius:8px;grid-template-columns:minmax(260px,1fr) auto;padding:10px 12px}.rail-shell:not(.is-employee-shell) .jobs-kpi-row{margin-top:10px}.rail-shell:not(.is-employee-shell) .jobs-page .jobs-kpi-row .kpi-tile{min-height:62px!important;padding:10px 14px 10px 18px!important}.rail-shell:not(.is-employee-shell) .jobs-workbench{border-radius:8px;margin-top:12px}.rail-shell:not(.is-employee-shell) .jobs-work-card-main{gap:14px;padding:14px}.rail-shell:not(.is-employee-shell) .jobs-card-actions{padding:14px}.rail-shell:not(.is-employee-shell) .weekly-rest-summary-tile{background:var(--rail-surface-elevated,#f4f4f4);border:1px solid #15171b1c;border-left:4px solid var(--gold-400,#c9a24a);justify-items:start;display:grid}.rail-shell:not(.is-employee-shell) .weekly-rest-result-card,.rail-shell:not(.is-employee-shell) .overtime-table-card{overflow:hidden}.rail-shell:not(.is-employee-shell) .overtime-quotas-page .kpi-status-bar{gap:8px;margin:10px 0 12px}.rail-shell:not(.is-employee-shell) .overtime-quotas-page .kpi-chip{min-height:32px;padding:5px 11px}.rail-shell:not(.is-employee-shell) .overtime-quotas-page .tab-bar{margin:10px 0}.rail-shell:not(.is-employee-shell) .overtime-quotas-page .tab-content{margin-top:10px}.rail-shell:not(.is-employee-shell) .fatigue-card{max-width:330px}.rail-shell:not(.is-employee-shell) .fatigue-facts,.rail-shell:not(.is-employee-shell) .fatigue-driver-list{gap:6px}.rail-shell:not(.is-employee-shell) .fatigue-facts span,.rail-shell:not(.is-employee-shell) .fatigue-driver-list span{border-radius:6px;padding:5px 7px}.rail-shell:not(.is-employee-shell) .customer-card{gap:10px;max-width:360px;display:grid}.rail-shell:not(.is-employee-shell) .customer-stats{gap:8px}.rail-shell:not(.is-employee-shell) .customer-stats .stat{background:var(--rail-surface,#f7f5f0);border-radius:7px;padding:8px 10px}.rail-shell:not(.is-employee-shell) .drawer-panel{width:min(430px,100vw)}.rail-shell:not(.is-employee-shell) .drawer-header{padding:18px 20px}.rail-shell:not(.is-employee-shell) .drawer-body{padding:16px 20px 20px}.rail-shell:not(.is-employee-shell) .luck-panel{gap:10px}.rail-shell:not(.is-employee-shell) .luck-panel-card,.rail-shell:not(.is-employee-shell) .luck-panel-section,.rail-shell:not(.is-employee-shell) .luck-panel-primary{box-shadow:none!important;border-radius:8px!important;padding:12px!important}.rail-shell:not(.is-employee-shell) .luck-panel-person-card{grid-template-columns:40px minmax(0,1fr) auto;gap:10px}.rail-shell:not(.is-employee-shell) .luck-panel-avatar{border-radius:9px;width:40px;height:40px;font-size:.82rem}.rail-shell:not(.is-employee-shell) .luck-panel h3{font-size:.98rem}.rail-shell:not(.is-employee-shell) .luck-panel-hours strong{font-size:1rem}.rail-shell:not(.is-employee-shell) .luck-panel-action-list li,.rail-shell:not(.is-employee-shell) .luck-match-list li{gap:10px;padding:9px 0}.rail-shell:not(.is-employee-shell) .luck-panel-timeline{gap:5px}.rail-shell:not(.is-employee-shell) .luck-panel-timeline-day{border-radius:6px;min-height:28px}.rail-shell:not(.is-employee-shell) .luck-panel-secondary-actions{gap:8px 10px}@media (width<=980px){.rail-shell:not(.is-employee-shell) .rail-content>:not(.kontrolltornet-page):not(.lucktavla-page) .page-header,.rail-shell:not(.is-employee-shell) .rail-content>.schedule-overview-wrap .page-header,.rail-shell:not(.is-employee-shell) .jobs-command-row{grid-template-columns:1fr}.rail-shell:not(.is-employee-shell) .page-header-actions,.rail-shell:not(.is-employee-shell) .jobs-view-chips{justify-content:flex-start}.rail-shell:not(.is-employee-shell) .vehicle-form-grid{grid-template-columns:1fr}}@media (width<=720px){.rail-shell:not(.is-employee-shell) .cards-grid,.rail-shell:not(.is-employee-shell) .kpi-row,.rail-shell:not(.is-employee-shell) .weekly-rest-summary{grid-template-columns:1fr}.rail-shell:not(.is-employee-shell) .shift-card-actions .btn{flex:140px}}.rail-shell:not(.is-employee-shell) .lucktavla-page>.luck-desktop-flow:not(.luck-hero):not(.luck-week-strip){gap:8px;margin-inline:24px;display:grid}.rail-shell:not(.is-employee-shell) .lucktavla-page>.luck-desktop-flow:not(.luck-hero):not(.luck-week-strip) .signal-row{grid-template-columns:repeat(auto-fit,minmax(152px,1fr));gap:8px;margin:0;padding:0}.rail-shell:not(.is-employee-shell) .lucktavla-page .signal-cell{text-align:center;grid-template-rows:1fr auto;grid-template-columns:1fr;place-items:center;gap:4px;min-height:66px;padding:10px 12px;display:grid}.rail-shell:not(.is-employee-shell) .lucktavla-page .signal-value{text-align:center;min-width:0;font-size:1.42rem;line-height:1;display:block}.rail-shell:not(.is-employee-shell) .lucktavla-page .signal-label{text-align:center;align-self:start;max-width:13ch;min-height:2.15em;line-height:1.08}.rail-shell:not(.is-employee-shell) .lucktavla-page .inbox-drawer{gap:0;min-height:78px;padding:0;overflow:hidden}.rail-shell:not(.is-employee-shell) .lucktavla-page .inbox-drawer-header{border-bottom:1px solid #15171b14;align-items:center;min-height:48px;padding:10px 14px}.rail-shell:not(.is-employee-shell) .lucktavla-page .inbox-drawer-header>div{grid-template-columns:34px minmax(0,1fr);align-items:center;gap:8px;min-width:0;display:grid}.rail-shell:not(.is-employee-shell) .lucktavla-page .inbox-drawer-header h2{order:initial;text-align:center;grid-area:1/1;min-width:2ch;font-size:1.55rem;line-height:1}.rail-shell:not(.is-employee-shell) .lucktavla-page .inbox-drawer-header p{order:initial;text-overflow:ellipsis;white-space:nowrap;grid-area:1/2;overflow:hidden}.rail-shell:not(.is-employee-shell) .lucktavla-page .inbox-drawer-header span{white-space:nowrap}.rail-shell:not(.is-employee-shell) .lucktavla-page .inbox-drawer-state{padding:10px 14px 12px}.rail-shell:not(.is-employee-shell) .lucktavla-page .luck-week-strip{grid-template-columns:repeat(7,minmax(116px,1fr))}.rail-shell:not(.is-employee-shell) .lucktavla-page .luck-week-day{text-align:center;grid-template-rows:auto 1fr auto;grid-template-columns:1fr;align-content:center;place-items:center;gap:3px;min-height:72px;padding:9px 10px}.rail-shell:not(.is-employee-shell) .lucktavla-page .luck-week-day span{grid-column:auto;line-height:1.1}.rail-shell:not(.is-employee-shell) .lucktavla-page .luck-week-day strong{text-align:center;grid-area:auto;min-width:34px;font-size:1.46rem;line-height:1}.rail-shell:not(.is-employee-shell) .lucktavla-page .luck-week-day small{grid-column:auto;line-height:1.1}.rail-shell:not(.is-employee-shell) .lucktavla-page .luck-board-header{align-items:center}.rail-shell:not(.is-employee-shell) .lucktavla-page .luck-grid thead th:not(:first-child){height:54px;padding:4px 2px}.rail-shell:not(.is-employee-shell) .lucktavla-page .luck-grid thead th span{min-height:18px;line-height:1.05}.rail-shell:not(.is-employee-shell) .lucktavla-page .luck-day-count{margin-top:4px}@media (width<=980px){.rail-shell:not(.is-employee-shell) .lucktavla-page>.luck-desktop-flow:not(.luck-hero):not(.luck-week-strip){margin-inline:12px}.rail-shell:not(.is-employee-shell) .lucktavla-page>.luck-desktop-flow:not(.luck-hero):not(.luck-week-strip) .signal-row,.rail-shell:not(.is-employee-shell) .lucktavla-page .luck-week-strip{overflow-x:auto}}.rail-shell:not(.is-employee-shell) .lucktavla-page .signal-row{grid-auto-rows:72px}.rail-shell:not(.is-employee-shell) .lucktavla-page .signal-cell{--dashboard-card-accent:var(--signal-tone,#15171b2e);border-color:#15171b24;border-top:3px solid var(--dashboard-card-accent);min-height:72px;box-shadow:none;grid-template-rows:28px 26px;align-content:center;place-items:center;padding:10px 8px;position:relative}.rail-shell:not(.is-employee-shell) .lucktavla-page .signal-cell--inactive{--dashboard-card-accent:#15171b2e}.rail-shell:not(.is-employee-shell) .lucktavla-page .signal-value{justify-content:center;align-items:end;width:100%;height:28px;font-size:1.42rem;line-height:1;display:flex}.rail-shell:not(.is-employee-shell) .lucktavla-page .signal-label{text-align:center;justify-content:center;align-items:start;width:100%;max-width:12ch;min-height:26px;line-height:1.05;display:flex}.rail-shell:not(.is-employee-shell) .lucktavla-page .inbox-drawer:has(.inbox-drawer-header):has(.inbox-drawer-state){grid-template-columns:128px minmax(0,1fr) 128px;align-items:stretch;min-height:76px;padding:0;display:grid;overflow:hidden}.rail-shell:not(.is-employee-shell) .lucktavla-page .inbox-drawer:has(.inbox-drawer-header):has(.inbox-drawer-state) .inbox-drawer-header{display:contents}.rail-shell:not(.is-employee-shell) .lucktavla-page .inbox-drawer:has(.inbox-drawer-header):has(.inbox-drawer-state) .inbox-drawer-header>div{border-right:1px solid #15171b14;grid-area:1/1;grid-template-rows:30px 18px;grid-template-columns:1fr;align-content:center;justify-items:center;gap:2px;min-width:0;padding:0 12px;display:grid}.rail-shell:not(.is-employee-shell) .lucktavla-page .inbox-drawer:has(.inbox-drawer-header):has(.inbox-drawer-state) .inbox-drawer-header h2{grid-area:1;min-width:0;font-size:1.45rem}.rail-shell:not(.is-employee-shell) .lucktavla-page .inbox-drawer:has(.inbox-drawer-header):has(.inbox-drawer-state) .inbox-drawer-header p{text-align:center;text-overflow:ellipsis;white-space:nowrap;grid-area:2;max-width:100%;overflow:hidden}.rail-shell:not(.is-employee-shell) .lucktavla-page .inbox-drawer:has(.inbox-drawer-header):has(.inbox-drawer-state) .inbox-drawer-header>span{text-align:center;border-left:1px solid #15171b14;grid-area:1/3;place-items:center;padding:0 12px;display:grid}.rail-shell:not(.is-employee-shell) .lucktavla-page .inbox-drawer:has(.inbox-drawer-header):has(.inbox-drawer-state) .inbox-drawer-state{grid-area:1/2;align-items:center;min-height:76px;padding:0 16px;display:flex}.rail-shell:not(.is-employee-shell) .lucktavla-page .luck-week-strip{grid-template-columns:repeat(7,minmax(0,1fr));gap:8px}.rail-shell:not(.is-employee-shell) .lucktavla-page .luck-week-day{border-top-width:3px;grid-template-rows:18px 28px 18px;align-content:center;place-items:center;min-height:76px;padding:9px 8px}.rail-shell:not(.is-employee-shell) .lucktavla-page .luck-week-day span,.rail-shell:not(.is-employee-shell) .lucktavla-page .luck-week-day small{text-align:center;width:100%}.rail-shell:not(.is-employee-shell) .lucktavla-page .luck-week-day strong{justify-content:center;align-items:center;width:100%;min-width:0;height:28px;display:flex}.rail-shell:not(.is-employee-shell) .lucktavla-page .luck-command-center{background:linear-gradient(180deg, #ffffffdb, #f7f5f0b8), var(--rail-surface,#f7f5f0);border:1px solid #15171b1f;border-radius:10px;grid-template-columns:minmax(0,1fr) minmax(280px,320px);grid-template-areas:"hero inbox""signals signals""week week";gap:10px 12px;padding:12px;display:grid;box-shadow:0 12px 30px #15171b12;margin:10px 24px 16px!important}.rail-shell:not(.is-employee-shell) .lucktavla-page .luck-command-header{background:linear-gradient(135deg, #15171bfa, #2b2d33f5), var(--ink-900,#15171b);min-height:118px;color:var(--ink-100,#f7f5f0);border:0;border-radius:8px;grid-area:hero;grid-template-columns:minmax(0,1fr) auto;align-items:end;gap:14px;padding:18px 20px;display:grid;overflow:hidden}.rail-shell:not(.is-employee-shell) .lucktavla-page .luck-command-header .luck-hero-kicker{color:var(--gold-400,#c9a24a);margin-bottom:6px}.rail-shell:not(.is-employee-shell) .lucktavla-page .luck-command-header h2{max-width:34ch;color:var(--ink-100,#f7f5f0);font-size:clamp(1.34rem,1.85vw,1.86rem);line-height:1.02}.rail-shell:not(.is-employee-shell) .lucktavla-page .luck-command-header .luck-hero-copy{color:#f7f5f0c2;max-width:72ch}.rail-shell:not(.is-employee-shell) .lucktavla-page .luck-command-header .luck-hero-actions{justify-content:flex-end;display:flex}.rail-shell:not(.is-employee-shell) .lucktavla-page .luck-command-header .btn-primary{background:var(--gold-400,#c9a24a);color:var(--ink-900,#15171b);border-color:#c9a24ab3}.rail-shell:not(.is-employee-shell) .lucktavla-page .luck-command-header .btn-secondary{color:var(--ink-100,#f7f5f0);background:#f7f5f014;border-color:#f7f5f057}.rail-shell:not(.is-employee-shell) .lucktavla-page .luck-command-signals{grid-area:signals;min-width:0}.rail-shell:not(.is-employee-shell) .lucktavla-page .luck-command-signals .signal-row{grid-template-columns:repeat(auto-fit,minmax(140px,1fr));grid-auto-rows:66px;gap:8px;overflow:visible}.rail-shell:not(.is-employee-shell) .lucktavla-page .luck-command-signals .signal-cell{background:#ffffffb8;border-top-width:2px;min-height:66px}.rail-shell:not(.is-employee-shell) .lucktavla-page .luck-command-signals .signal-value{height:26px;font-size:1.36rem}.rail-shell:not(.is-employee-shell) .lucktavla-page .luck-command-signals .signal-label{max-width:13ch;min-height:24px}.rail-shell:not(.is-employee-shell) .lucktavla-page .luck-command-center .inbox-drawer{min-height:0;box-shadow:none;background:#ffffffc7;border-color:#15171b1f;border-radius:8px;grid-area:inbox;align-self:stretch}.rail-shell:not(.is-employee-shell) .lucktavla-page .luck-command-center .inbox-drawer:has(.inbox-drawer-header):has(.inbox-drawer-state){grid-template-rows:auto minmax(0,1fr);grid-template-columns:1fr;min-height:118px;padding:14px;display:grid}.rail-shell:not(.is-employee-shell) .lucktavla-page .luck-command-center .inbox-drawer:has(.inbox-drawer-header):has(.inbox-drawer-state) .inbox-drawer-header{border-bottom:1px solid #15171b14;justify-content:space-between;align-items:start;gap:12px;min-height:0;padding:0 0 10px;display:flex}.rail-shell:not(.is-employee-shell) .lucktavla-page .luck-command-center .inbox-drawer:has(.inbox-drawer-header):has(.inbox-drawer-state) .inbox-drawer-header>div{border-right:0;grid-template-rows:auto auto;grid-template-columns:42px minmax(0,1fr);align-content:start;place-items:center start;gap:0 10px;padding:0;display:grid}.rail-shell:not(.is-employee-shell) .lucktavla-page .luck-command-center .inbox-drawer:has(.inbox-drawer-header):has(.inbox-drawer-state) .inbox-drawer-header h2{grid-area:1/1/3;place-self:center;font-size:1.52rem}.rail-shell:not(.is-employee-shell) .lucktavla-page .luck-command-center .inbox-drawer:has(.inbox-drawer-header):has(.inbox-drawer-state) .inbox-drawer-header p{letter-spacing:.045em;text-align:left;text-transform:uppercase;grid-area:1/2;font-size:.76rem}.rail-shell:not(.is-employee-shell) .lucktavla-page .luck-command-center .inbox-drawer:has(.inbox-drawer-header):has(.inbox-drawer-state) .inbox-drawer-header>span{background:var(--rail-surface,#f7f5f0);text-align:center;border:1px solid #15171b1a;border-radius:999px;grid-area:auto;align-items:center;min-height:26px;padding:3px 8px;display:inline-flex}.rail-shell:not(.is-employee-shell) .lucktavla-page .luck-command-center .inbox-drawer:has(.inbox-drawer-header):has(.inbox-drawer-state) .inbox-drawer-state{grid-area:auto;place-items:center start;min-height:0;padding:11px 0 0;display:grid}.rail-shell:not(.is-employee-shell) .lucktavla-page .luck-command-week{grid-area:week;margin:0!important}.rail-shell:not(.is-employee-shell) .lucktavla-page .luck-command-week .luck-week-day{background:#ffffff94;border-top-width:0;grid-template-rows:16px 23px 16px;min-height:64px;padding:6px 8px}.rail-shell:not(.is-employee-shell) .lucktavla-page .luck-command-week .luck-week-day strong{height:23px;font-size:1.2rem}@media (width<=1180px){.rail-shell:not(.is-employee-shell) .lucktavla-page .luck-command-center{grid-template-columns:1fr;grid-template-areas:"hero""inbox""signals""week"}.rail-shell:not(.is-employee-shell) .lucktavla-page .luck-command-center .inbox-drawer:has(.inbox-drawer-header):has(.inbox-drawer-state){min-height:82px}}.rail-shell:not(.is-employee-shell) .color-legend{gap:14px}.rail-shell:not(.is-employee-shell) .color-legend>span{align-items:center;gap:7px;line-height:1;display:inline-flex}.rail-shell:not(.is-employee-shell) .legend-dot{aspect-ratio:1;border-radius:50%;flex:none;place-items:center;width:9px;min-width:9px;height:9px;min-height:9px;line-height:1;display:inline-grid;box-shadow:0 0 0 2px #15171b0f}.rail-shell:not(.is-employee-shell) .lucktavla-page .luck-grid thead th:not(:first-child){text-align:center;vertical-align:middle}.rail-shell:not(.is-employee-shell) .lucktavla-page .luck-grid thead th span{place-items:center;width:100%;display:grid}.rail-shell:not(.is-employee-shell) .lucktavla-page .luck-grid thead th strong,.rail-shell:not(.is-employee-shell) .lucktavla-page .luck-day-count{box-sizing:border-box;aspect-ratio:1;font-variant-numeric:tabular-nums;font-feature-settings:"tnum" 1;text-align:center;border-radius:50%;place-items:center;width:24px;min-width:24px;height:24px;min-height:24px;margin:4px auto 0;padding:0;line-height:1;display:inline-grid;transform:translateZ(0)}.rail-shell:not(.is-employee-shell) .sidebar-link{padding-right:42px}.rail-shell:not(.is-employee-shell) .sidebar-link:after{box-sizing:border-box;pointer-events:none;border-radius:50%;width:8px;min-width:8px;height:8px;min-height:8px;margin:0;line-height:1;display:block;top:50%;right:18px;transform:translateY(-50%)}.rail-shell:not(.is-employee-shell) .sidebar-link.active:after{background:var(--gold-400,#c9a24a);box-shadow:0 0 0 4px #c8952f2e}.rail-shell:not(.is-employee-shell) .color-legend>span{grid-template-columns:10px max-content;align-items:center;column-gap:7px;display:inline-grid}.rail-shell:not(.is-employee-shell) .legend-dot{border-radius:50%;place-self:center;width:10px;min-width:10px;height:10px;min-height:10px}.rail-shell:not(.is-employee-shell) .lucktavla-page .luck-grid thead th:not(:first-child){padding-left:0;padding-right:0}.rail-shell:not(.is-employee-shell) .lucktavla-page .luck-grid thead th .luck-day-label{white-space:nowrap;grid-template-rows:11px 11px;place-items:center;width:100%;height:22px;min-height:22px;margin:0;line-height:1;display:grid}.rail-shell:not(.is-employee-shell) .lucktavla-page .luck-grid thead th .luck-day-label-part{width:auto;min-width:0;min-height:0;line-height:1;display:block}.rail-shell:not(.is-employee-shell) .lucktavla-page .luck-day-count{border-radius:50%;flex:0 0 24px;place-self:center;width:24px;min-width:24px;height:24px;min-height:24px;margin-top:2px;transform:none}.rail-shell:not(.is-employee-shell) .nav-notification-badge,.rail-shell:not(.is-employee-shell) .notification-badge{box-sizing:border-box;font-variant-numeric:tabular-nums;place-items:center;line-height:1;display:grid}.rail-shell:not(.is-employee-shell) .notification-badge{border-radius:999px;min-width:18px;height:18px;top:-4px;right:-4px}.rail-shell:not(.is-employee-shell) .notification-unread-dot,.rail-shell:not(.is-employee-shell) .nxab-login-status-dot,.rail-shell:not(.is-employee-shell) .user-live-dot,.rail-shell:not(.is-employee-shell) .status-dot{box-sizing:border-box;aspect-ratio:1;vertical-align:middle;flex:none;place-items:center;line-height:1;display:inline-grid}.rail-shell:not(.is-employee-shell) .lucktavla-page .luck-cell{place-items:center;width:100%;height:42px;min-height:42px;padding:0;display:grid}.rail-shell:not(.is-employee-shell) .lucktavla-page .luck-cell .schedule-overview-cell{border-radius:8px;place-items:center;width:28px;min-width:28px;height:28px;min-height:28px;display:grid;inset:50% auto auto 50%;transform:translate(-50%,-50%)}.rail-shell:not(.is-employee-shell) .lucktavla-page .luck-cell strong,.rail-shell:not(.is-employee-shell) .lucktavla-page .luck-cell em{box-sizing:border-box;border-radius:50%;place-items:center;width:20px;min-width:20px;height:20px;min-height:20px;margin:0;padding:0;line-height:1;display:grid;transform:none}.rail-shell:not(.is-employee-shell) .lucktavla-page .luck-cell strong{color:#0000;font-size:0}.rail-shell:not(.is-employee-shell) .lucktavla-page .luck-cell strong:before,.rail-shell:not(.is-employee-shell) .lucktavla-page .luck-cell strong:after{content:"";background:var(--rail-danger,#c91f1f);border-radius:999px;width:8px;height:2px;display:block;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}.rail-shell:not(.is-employee-shell) .lucktavla-page .luck-cell strong:after{transform:translate(-50%,-50%)rotate(90deg)}.rail-shell:not(.is-employee-shell) .rail-user-chip-status{box-sizing:border-box;border-radius:50%;flex:0 0 8px;place-items:center;width:8px;min-width:8px;height:8px;min-height:8px;line-height:1;display:grid}
