:root{--bg: var(--brand-light-background, #f6f7f9);--surface: var(--brand-light-surface, #ffffff);--surface-soft: #eef2f6;--surface-hover: #f7fbfb;--control-bg: var(--surface);--soft: var(--surface-soft);--border: #d8dee7;--text: #1f2937;--muted: #64748b;--accent: var(--brand-light-accent, #0f766e);--accent-strong: #0b5f59;--primary: var(--accent);--sidebar-bg: var(--brand-light-sidebar, #18202b);--chart-plan: var(--brand-light-chart-plan, #f59e0b);--chart-fact: var(--brand-light-chart-fact, #0f766e);--chart-forecast: var(--brand-light-chart-forecast, #72a9a2);--chart-previous: var(--brand-light-chart-previous, #64748b);--overlay: rgba(15, 23, 42, .58);--shadow-color: rgba(15, 23, 42, .14);--shadow: 0 12px 32px var(--shadow-color);--danger: #b91c1c;--warning: #b45309;--ok: #15803d;--ui-control-height: 38px;--ui-control-height-sm: 32px;--ui-radius: 8px;--ui-space-1: 4px;--ui-space-2: 8px;--ui-space-3: 12px;--ui-space-4: 16px;--ui-space-5: 20px;--ui-z-dropdown: 1200;--ui-z-backdrop: 2000;--ui-z-modal: 2010;--ui-z-notification: 10000;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}.budget-page{display:grid;gap:16px;min-width:0}.budget-page-toolbar,.budget-report-heading{display:flex;align-items:center;justify-content:space-between;gap:16px}.budget-page-toolbar{padding:6px;border:1px solid var(--border);border-radius:var(--ui-radius);background:var(--surface-soft)}.budget-restaurant-tabs{display:flex;min-width:0;gap:4px;overflow-x:auto;scrollbar-width:thin}.budget-restaurant-tabs button{min-height:var(--ui-control-height-sm);flex:0 0 auto;padding:6px 12px;border:1px solid transparent;border-radius:6px;background:transparent;color:var(--muted);font:inherit;font-size:13px;font-weight:700;cursor:pointer}.budget-restaurant-tabs button:hover,.budget-restaurant-tabs button.active{border-color:color-mix(in srgb,var(--accent) 40%,var(--border));background:var(--surface);color:var(--text)}.budget-toolbar-actions,.budget-report-actions{display:flex;flex:0 0 auto;align-items:center;gap:8px}.budget-year-field{display:grid;grid-template-columns:auto 104px;align-items:center;gap:8px;color:var(--muted);font-size:12px}.budget-report-heading h2,.budget-report-heading p,.budget-empty-state h2,.budget-empty-state p{margin:0}.budget-report-heading p{margin-top:3px;color:var(--muted);font-size:13px}.budget-empty-state{display:grid;min-height:300px;place-items:center;align-content:center;gap:10px;padding:28px;border:1px dashed var(--border);border-radius:var(--ui-radius);color:var(--muted);text-align:center}.budget-empty-state h2{color:var(--text)}.budget-table-wrap{max-width:100%;overflow:auto;border:1px solid var(--border);border-radius:var(--ui-radius);background:var(--surface);scrollbar-width:thin}.budget-table{width:max-content;min-width:100%;border-collapse:separate;border-spacing:0;table-layout:fixed}.budget-table th,.budget-table td{width:142px;min-width:142px;height:84px;padding:0;border-right:1px solid var(--border);border-bottom:1px solid var(--border);vertical-align:top}.budget-table thead th{position:sticky;top:0;z-index:4;height:42px;padding:0 10px;background:var(--surface-soft);color:var(--muted);font-size:11px;text-align:right;text-transform:uppercase}.budget-table th:first-child{position:sticky;left:0;z-index:3;width:280px;min-width:280px;padding:12px 14px 12px calc(14px + var(--budget-level, 0) * 18px);background:var(--surface);text-align:left}.budget-table thead th:first-child{z-index:6;padding:0 14px;background:var(--surface-soft)}.budget-table tbody th span,.budget-table tbody th small{display:block;overflow-wrap:anywhere}.budget-row-heading{display:flex;align-items:flex-start;gap:7px}.budget-row-heading>span{flex:1 1 auto;min-width:0}.budget-row-reset{width:26px;min-width:26px;height:26px;margin-left:auto;padding:0;border-color:color-mix(in srgb,var(--danger) 26%,var(--border));color:var(--danger)}.budget-row-reset:hover{border-color:var(--danger);background:color-mix(in srgb,var(--danger) 9%,var(--surface))}.budget-row.budget-row-has-error>th:first-child{box-shadow:inset 3px 0 0 var(--danger)}.budget-tree-toggle,.budget-tree-spacer{width:22px;min-width:22px;height:22px}.budget-tree-toggle{display:inline-grid;place-items:center;padding:0;border:1px solid var(--border);border-radius:5px;background:var(--surface);color:var(--accent);cursor:pointer}.budget-tree-toggle:hover{border-color:var(--accent);background:var(--surface-hover)}.budget-table tbody th small{margin-top:4px;color:var(--muted);font-size:10px;font-weight:500}.budget-row-group>th:first-child,.budget-row-sum>th:first-child,.budget-row-total>th:first-child{box-shadow:inset 3px 0 0 var(--accent);background:color-mix(in srgb,var(--accent) 7%,var(--surface))}.budget-cell{display:grid;width:100%;height:100%;min-height:83px;align-content:start;gap:4px;padding:10px;border:0;border-radius:0;background:transparent;color:var(--text);font:inherit;text-align:left}.budget-cell:not(:disabled){cursor:pointer}.budget-cell:not(:disabled):hover{background:var(--surface-hover)}.budget-cell-plan,.budget-cell-fact{display:flex;justify-content:space-between;gap:6px;color:var(--muted);font-size:10px}.budget-cell-plan strong,.budget-cell-fact strong{color:var(--text);font-size:12px;white-space:nowrap}.budget-completion{justify-self:end;padding:1px 5px;border-radius:999px;font-size:10px;font-weight:700}.budget-completion.good{background:color-mix(in srgb,var(--ok) 12%,transparent);color:var(--ok)}.budget-completion.bad{background:color-mix(in srgb,var(--danger) 12%,transparent);color:var(--danger)}.budget-secondary{overflow:hidden;color:var(--muted);font-size:9px;text-overflow:ellipsis;white-space:nowrap}.budget-cell-error{display:grid;grid-template-columns:13px minmax(0,1fr);align-items:center;gap:2px 5px;min-width:0;padding:4px 6px;border:1px solid color-mix(in srgb,var(--danger) 24%,var(--border));border-radius:5px;background:color-mix(in srgb,var(--danger) 8%,transparent);color:var(--danger);font-size:10px;font-weight:700}.budget-cell-error small{grid-column:2;overflow:hidden;color:var(--muted);font-size:9px;font-weight:500;text-overflow:ellipsis;white-space:nowrap}.budget-month-inputs{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.budget-structure-list,.budget-source-list,.budget-audit-list{display:grid;max-height:min(66vh,680px);overflow-y:auto;border:1px solid var(--border);border-radius:var(--ui-radius)}.budget-source-browser{display:grid;gap:10px}.budget-source-browser>.search-field{width:min(100%,420px)}.budget-structure-row,.budget-source-row,.budget-source-pick,.budget-audit-list>div{display:flex;min-height:56px;align-items:center;justify-content:space-between;gap:14px;padding:8px 12px;border-bottom:1px solid var(--border);background:var(--surface)}.budget-source-pick{padding-left:calc(12px + var(--budget-level, 0) * 20px);border-top:0;border-left:0;border-right:0;color:var(--text);font:inherit;text-align:left;cursor:pointer}.budget-source-pick:hover{background:var(--surface-hover)}.budget-source-pick span{min-width:0}.budget-source-pick small{display:block;margin-top:3px;color:var(--muted);font-size:11px}.budget-structure-row:last-child,.budget-source-row:last-child,.budget-audit-list>div:last-child{border-bottom:0}.budget-structure-row{padding-left:calc(12px + var(--budget-level, 0) * 20px)}.budget-structure-row>div,.budget-source-row>div,.budget-audit-list>div{min-width:0}.budget-structure-row>div:last-child{display:flex;flex:0 0 auto;gap:6px}.budget-structure-row small,.budget-source-row small,.budget-audit-list span{display:block;margin-top:3px;color:var(--muted);font-size:11px}.budget-source-row .styled-select{width:190px;flex:0 0 190px}.budget-table-skeleton{display:grid;gap:8px;padding:8px 0}.budget-table-skeleton span{height:60px;border-radius:6px;background:linear-gradient(90deg,var(--surface-soft),var(--surface-hover),var(--surface-soft));background-size:220% 100%;animation:skeleton-shift 1.2s linear infinite}.budget-table-skeleton.compact span{height:48px}@media(max-width:980px){.budget-page-toolbar,.budget-report-heading{align-items:stretch;flex-direction:column}.budget-toolbar-actions,.budget-report-actions{flex-wrap:wrap}.budget-toolbar-actions .btn,.budget-report-actions .btn{flex:1 1 auto}.budget-year-field{flex:1 1 180px;grid-template-columns:auto 1fr}.budget-month-inputs{grid-template-columns:repeat(2,minmax(0,1fr))}.budget-table th:first-child{width:210px;min-width:210px}.budget-table th,.budget-table td{width:132px;min-width:132px}}@media(max-width:560px){.budget-month-inputs{grid-template-columns:1fr}.budget-source-row{align-items:stretch;flex-direction:column}.budget-source-row .styled-select{width:100%;flex-basis:auto}}.theme-toggle{color:var(--muted)}.theme-toggle:hover{border-color:var(--accent);color:var(--accent)}.login-page{position:relative;display:grid;min-height:100vh;place-items:center;padding:32px 20px;background:linear-gradient(135deg,color-mix(in srgb,var(--accent) 9%,transparent),transparent 45%),var(--bg)}.login-panel{width:min(420px,100%)}.login-theme-toggle{position:fixed;top:20px;right:20px}.login-brand{display:flex;align-items:center;gap:12px;margin-bottom:16px}.login-brand .brand-mark{width:42px;height:42px;flex-basis:42px}.login-brand>div:last-child{display:grid;gap:2px}.login-brand strong{font-size:20px}.login-brand span{color:var(--muted);font-size:13px}.login-form{gap:16px;padding:22px;box-shadow:0 18px 44px var(--shadow-color)}.branding-settings{display:grid;gap:18px}.branding-settings-header{display:flex;align-items:flex-start;justify-content:space-between;gap:18px}.branding-settings-header h2,.branding-settings-header p,.branding-section-title h3{margin:0}.branding-settings-header p{margin-top:5px;color:var(--muted);font-size:13px}.branding-message{padding:10px 12px;border-left:3px solid var(--accent);background:color-mix(in srgb,var(--accent) 8%,var(--surface));color:var(--text);font-size:13px}.branding-layout{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(320px,.65fr);gap:18px;align-items:stretch}.branding-form-section,.branding-live-preview{min-width:0;padding:18px;border:1px solid var(--border);border-radius:var(--ui-radius);background:var(--surface)}.branding-section-title{display:flex;align-items:center;gap:9px;margin-bottom:16px}.palette-section-title .btn{margin-left:auto}.branding-form-section .field small{color:var(--muted);font-size:12px;line-height:1.35}.branding-assets{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:16px}.branding-asset-field{display:grid;grid-template-columns:minmax(0,1fr) auto auto;align-items:center;gap:8px;min-height:72px;padding:12px;border:1px solid var(--border);border-radius:var(--ui-radius);background:var(--surface-soft)}.branding-asset-field>div{display:grid;gap:4px;min-width:0}.branding-asset-field small{overflow:hidden;color:var(--muted);font-size:11px;text-overflow:ellipsis;white-space:nowrap}.branding-live-preview{display:grid;grid-template-columns:96px minmax(0,1fr);min-height:260px;overflow:hidden;padding:0;background:var(--preview-bg)}.branding-preview-sidebar{display:flex;flex-direction:column;align-items:flex-start;gap:12px;padding:16px 12px;background:var(--preview-sidebar);color:#fff}.branding-preview-sidebar strong{width:100%;overflow:hidden;font-size:11px;text-overflow:ellipsis;white-space:nowrap}.branding-preview-sidebar>span{width:72%;height:7px;border-radius:4px;background:#ffffff38}.branding-preview-mark{display:grid;width:34px;height:34px;place-items:center;overflow:hidden;border-radius:7px;background:var(--preview-accent)}.branding-preview-mark img{width:100%;height:100%;object-fit:contain;background:var(--preview-surface)}.branding-preview-main{display:grid;grid-template-rows:44px 1fr;min-width:0}.branding-preview-topbar{border-bottom:1px solid color-mix(in srgb,var(--preview-surface) 70%,#94a3b8);background:var(--preview-surface)}.branding-preview-content{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-content:start;gap:10px;padding:14px}.branding-preview-content i{display:block;height:58px;border:1px solid color-mix(in srgb,var(--preview-surface) 72%,#94a3b8);border-radius:6px;background:var(--preview-surface)}.branding-preview-content i:last-child{grid-column:1 / -1;height:76px}.theme-palettes{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.palette-editor{min-width:0;padding:14px;border:1px solid var(--border);border-radius:var(--ui-radius)}.palette-editor.light{background:#f8fafc;color:#1f2937}.palette-editor.dark{border-color:#3a4656;background:#151d28;color:#edf2f7}.palette-editor-header{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:12px}.palette-editor.dark .btn{border-color:#3a4656;background:#1c2532;color:#edf2f7}.palette-color-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.palette-field-group{display:grid;gap:8px}.palette-field-group+.palette-field-group{margin-top:16px;padding-top:14px;border-top:1px solid color-mix(in srgb,currentColor 18%,transparent)}.palette-field-group-title{font-size:12px;font-weight:700;opacity:.78}.color-field{display:grid;gap:5px;min-width:0}.color-field>span:first-child{color:inherit;font-size:12px;opacity:.72}.color-control{display:grid;grid-template-columns:38px minmax(0,1fr);min-width:0}.color-control input[type=color]{width:38px;height:38px;padding:4px;border:1px solid #94a3b8;border-right:0;border-radius:7px 0 0 7px;background:transparent;cursor:pointer}.color-control input[type=text],.color-control input:not([type]){min-width:0}.color-control>input:last-child{width:100%;min-width:0;height:38px;border:1px solid #94a3b8;border-radius:0 7px 7px 0;padding:7px 9px;background:transparent;color:inherit;font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;text-transform:lowercase}html[data-theme=dark] .modal-backdrop,html[data-theme=dark] .ui-modal-backdrop,html[data-theme=dark] .sidebar-backdrop{background:var(--overlay)}html[data-theme=dark] :is(.report-1c-section td,.report-1c-section.report-1c-row td:first-child,.report-1c-total td,.report-1c-total.report-1c-row td:first-child,.cashflow-report-table .report-1c-section td,.cashflow-report-table .report-1c-section.report-1c-row td:first-child,.cashflow-report-table .report-1c-total td,.cashflow-report-table .report-1c-total.report-1c-row td:first-child){border-color:var(--border);background:var(--surface-soft);color:var(--text)}html[data-theme=dark] :is(.cashflow-restaurant-tabs,.subtab-nav,.segmented,.integration-view-tabs){background:var(--surface-soft)}html[data-theme=dark] :is(.cashflow-restaurant-tab:hover,.cashflow-restaurant-tab.active,.subtab-nav button.active,.segmented button.active){background:var(--surface);color:var(--text)}html[data-theme=dark] :is(.warning-box,.procurement-status.draft,.procurement-status.revision){border-color:color-mix(in srgb,var(--warning) 55%,var(--border));background:color-mix(in srgb,var(--warning) 12%,var(--surface));color:#fde68a}html[data-theme=dark] :is(.price-comparison-group-table tr:hover td,tbody tr:hover td){background:var(--surface-hover)}html[data-theme=dark] input[type=date]::-webkit-calendar-picker-indicator,html[data-theme=dark] input[type=time]::-webkit-calendar-picker-indicator,html[data-theme=dark] input[type=month]::-webkit-calendar-picker-indicator{filter:invert(1)}@media(max-width:980px){.branding-layout{grid-template-columns:1fr}.branding-live-preview{min-height:230px}}@media(max-width:680px){.branding-settings-header{align-items:stretch;flex-direction:column}.branding-settings-header .btn.primary{width:100%}.branding-form-section,.branding-live-preview{padding:14px}.branding-live-preview{grid-template-columns:74px minmax(0,1fr);padding:0}.branding-assets,.theme-palettes,.palette-color-grid,.branding-form-section .form-grid.two{grid-template-columns:1fr}.branding-asset-field{grid-template-columns:minmax(0,1fr) auto auto}}html[data-theme=dark]{--bg: var(--brand-dark-background, #10151d);--surface: var(--brand-dark-surface, #1c2532);--surface-soft: color-mix(in srgb, var(--surface) 82%, #94a3b8);--surface-hover: color-mix(in srgb, var(--surface) 88%, var(--accent));--control-bg: color-mix(in srgb, var(--surface) 94%, #ffffff);--border: color-mix(in srgb, var(--surface) 70%, #94a3b8);--text: #edf2f7;--muted: #a9b7c9;--accent: var(--brand-dark-accent, #2dd4bf);--accent-strong: color-mix(in srgb, var(--accent) 80%, #000000);--primary: var(--accent);--sidebar-bg: var(--brand-dark-sidebar, #090f17);--chart-plan: var(--brand-dark-chart-plan, #fbbf24);--chart-fact: var(--brand-dark-chart-fact, #2dd4bf);--chart-forecast: var(--brand-dark-chart-forecast, #5eead4);--chart-previous: var(--brand-dark-chart-previous, #94a3b8);--danger: #f87171;--warning: #fbbf24;--ok: #4ade80;--overlay: rgba(2, 6, 23, .72);--shadow-color: rgba(0, 0, 0, .38)}.warehouse-content{gap:20px}.warehouse-header{display:flex;align-items:flex-end;justify-content:space-between;min-height:58px;padding:0 2px}.warehouse-store-selection{display:grid;gap:14px;padding:16px 18px;box-shadow:0 1px 2px #0f172a08}.warehouse-selection-heading{display:flex;min-width:0;gap:18px}.warehouse-selection-heading p{margin-top:4px;color:var(--muted);font-size:13px}.warehouse-restaurant-total{margin-left:auto;background:var(--surface-soft)}.warehouse-store-tab-edit{flex:0 0 34px}.warehouse-store-panel{padding:18px;border-color:var(--border);box-shadow:0 1px 2px #0f172a0a}*{box-sizing:border-box}html{min-width:320px;scrollbar-gutter:stable;scrollbar-width:none}body{margin:0;min-width:320px;overflow-x:hidden;background:var(--bg);color:var(--text)}.http-error-page{min-height:100vh;display:grid;place-items:center;padding:32px;background:linear-gradient(135deg,rgba(15,118,110,.09),transparent 42%),var(--bg)}.http-error-panel{width:min(720px,100%);display:grid;grid-template-columns:minmax(150px,210px) minmax(0,1fr);gap:28px 36px;align-items:center;padding:36px;border:1px solid var(--border);border-radius:8px;background:var(--surface);box-shadow:0 18px 48px #1f29371f}.http-error-code{grid-row:span 2;color:var(--accent);font-size:clamp(72px,12vw,132px);font-weight:800;line-height:.85;font-variant-numeric:tabular-nums}.http-error-eyebrow{margin:0 0 8px;color:var(--accent);font-size:12px;font-weight:700;text-transform:uppercase}.http-error-copy h1{margin:0 0 10px;font-size:30px;line-height:1.15}.http-error-copy>p:last-child{margin:0;color:var(--muted);line-height:1.55}.http-error-actions{display:flex;flex-wrap:wrap;gap:10px}@media(max-width:640px){.http-error-page{padding:18px}.http-error-panel{grid-template-columns:1fr;gap:22px;padding:26px 22px}.http-error-code{grid-row:auto;font-size:76px}.http-error-actions .btn{flex:1 1 100%;justify-content:center}}html::-webkit-scrollbar,body::-webkit-scrollbar,.sidebar::-webkit-scrollbar,.modal::-webkit-scrollbar,.filter-panel::-webkit-scrollbar,.table-wrap::-webkit-scrollbar,.sync-issues-table::-webkit-scrollbar,.sync-error-details::-webkit-scrollbar{width:0;height:0}.sidebar,.modal,.filter-panel,.table-wrap,.sync-issues-table,.sync-error-details{scrollbar-width:none}a{color:inherit;text-decoration:none}button,input,select,textarea{font:inherit}.app-shell{display:grid;grid-template-columns:300px minmax(0,1fr);min-height:100vh;transition:grid-template-columns .18s ease}.app-shell.sidebar-collapsed{grid-template-columns:78px minmax(0,1fr)}.sidebar{background:var(--sidebar-bg);color:#e5e7eb;padding:18px;position:sticky;top:0;height:100vh;overflow:auto;z-index:20;transition:padding .18s ease}.brand{display:flex;align-items:center;gap:10px;font-weight:700;margin-bottom:22px;min-height:38px}.brand-mark{flex:0 0 34px;display:grid;place-items:center;width:34px;height:34px;border-radius:8px;background:var(--accent)}.brand-mark.with-image{overflow:hidden;background:var(--surface)}.brand-mark img{display:block;width:100%;height:100%;object-fit:contain}.brand-title{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.sidebar-toggle{display:inline-grid;place-items:center;width:32px;height:32px;margin-left:auto;border:1px solid rgba(255,255,255,.12);border-radius:8px;background:#ffffff0a;color:#cbd5e1;cursor:pointer}.sidebar-toggle:hover{background:#ffffff1a;color:#fff}.nav-group-title{color:#9ca3af;font-size:12px;text-transform:uppercase;margin:20px 8px 8px}.nav-link{display:flex;align-items:center;gap:10px;width:100%;border:0;padding:10px 9px;border-radius:8px;background:transparent;color:#d1d5db;cursor:pointer;text-align:left;min-width:0}.nav-link>svg{flex:0 0 18px}.nav-tree{display:grid;gap:2px}.nav-parent .nav-chevron{flex:0 0 auto;margin-left:auto;transition:transform .16s ease}.nav-parent .nav-chevron.open{transform:rotate(180deg)}.nav-children{display:grid;gap:2px;margin:2px 0 5px 22px;padding-left:8px;border-left:1px solid rgba(255,255,255,.1)}.nav-link.nav-child{min-height:34px;padding:7px 8px;border-radius:7px;font-size:14px}.nav-label{flex:1 1 auto;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.nav-badge{flex:0 0 auto;min-width:34px;height:22px;padding:0 8px;border-radius:999px;background:#94a3b838;color:#dbeafe;font-size:12px;font-weight:700;line-height:22px;text-align:center;font-variant-numeric:tabular-nums}.nav-link.active .nav-badge,.nav-link:hover .nav-badge{background:#ffffff38;color:#fff}.nav-link.active,.nav-link:hover{background:#ffffff17;color:#fff}.sidebar-logout{margin-top:20px}.sidebar-backdrop,.mobile-menu-button{display:none}.main{min-width:0;width:100%;overflow-x:hidden;overflow-y:visible;padding-top:67px}.topbar{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:14px 22px;background:var(--surface);border-bottom:1px solid var(--border);position:fixed;top:0;right:0;left:300px;z-index:220;min-height:67px;box-shadow:0 1px 8px #0f172a0f;transition:left .18s ease}.sidebar-collapsed .sidebar{padding:18px 12px}.sidebar-collapsed .brand{justify-content:center}.sidebar-collapsed .brand-title,.sidebar-collapsed .nav-group-title,.sidebar-collapsed .nav-label,.sidebar-collapsed .nav-badge,.sidebar-collapsed .nav-children{display:none}.sidebar-collapsed .brand-mark{width:38px;height:38px;flex-basis:38px}.sidebar-collapsed .sidebar-toggle{position:absolute;top:22px;right:8px;width:24px;height:24px;border-radius:999px}.sidebar-collapsed .nav-link{justify-content:center;width:54px;height:46px;padding:0;margin:0 auto 4px}.sidebar-collapsed .nav-tree{display:block}.sidebar-collapsed .topbar{left:78px}.topbar-title{min-width:0;flex:1 1 auto}.filters{display:flex;flex-wrap:wrap;gap:10px}.topbar-actions{display:flex;align-items:center;justify-content:flex-end;gap:8px;min-height:44px;flex:0 0 auto}.sync-controls{display:inline-flex;align-items:center;gap:8px}.sync-status-square{display:inline-flex;align-items:center;justify-content:center;width:38px;height:38px;flex:0 0 38px;border:1px solid var(--border);border-radius:8px;background:var(--control-bg);cursor:pointer}.sync-status-square.passive{cursor:default}.filter-popover{position:relative}.filter-trigger{min-width:150px;height:44px;justify-content:flex-start;text-align:left}.filter-trigger>span{display:grid;gap:1px}.filter-trigger small{max-width:190px;overflow:hidden;color:var(--muted);font-size:11px;font-weight:400;text-overflow:ellipsis;white-space:nowrap}.filter-trigger.active{border-color:var(--accent)}.filter-panel{position:fixed;z-index:280;width:min(390px,calc(100vw - 28px));max-height:min(620px,calc(100vh - 90px));overflow:auto;padding:12px;border:1px solid var(--border);border-radius:8px;background:var(--surface);box-shadow:0 14px 32px #0f172a29}.filter-panel-backdrop{position:fixed;inset:0;z-index:270;border:0;background:transparent;cursor:default}.popover-list,.quick-periods{display:grid;gap:6px}.popover-option,.quick-periods button,.segmented button{display:flex;align-items:center;justify-content:space-between;gap:8px;border:1px solid transparent;border-radius:6px;background:transparent;color:var(--text);padding:9px 10px;cursor:pointer;text-align:left}.popover-option:hover,.popover-option.active,.quick-periods button:hover,.quick-periods button.active,.segmented button.active{border-color:var(--border);background:var(--surface-soft);color:var(--accent)}.segmented .tab-count{min-width:24px;height:22px;padding:0 7px;border-radius:999px;display:inline-flex;align-items:center;justify-content:center;background:var(--surface-soft);border:1px solid var(--border);color:var(--muted);font-size:12px;font-weight:700;line-height:1}.segmented button.active .tab-count{background:#e7f4f1;border-color:#9fd2c8;color:var(--accent)}.period-panel{display:grid;gap:14px}.period-dates{display:grid;grid-template-columns:1fr 1fr;gap:10px;padding-top:12px;border-top:1px solid var(--border)}.period-reset{width:100%}.cash-revenue-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:10px;margin:12px 0 16px;padding:12px;border:1px solid var(--border);border-radius:8px;background:var(--surface-soft)}.cash-shift-meta-grid{display:grid;grid-template-columns:repeat(6,minmax(120px,1fr));gap:10px;margin:12px 0;padding:12px;border:1px solid var(--border);border-radius:8px;background:var(--surface)}.cash-shift-money-strip{display:grid;grid-template-columns:repeat(8,minmax(128px,1fr));gap:8px;min-width:1120px;margin:12px 0 16px;padding:12px;border:1px solid var(--border);border-radius:8px;background:var(--surface-soft)}.cash-shift-sales-strip,.cash-shift-payroll-strip{display:grid;gap:8px;margin:0 0 16px;padding:12px;border:1px solid var(--border);border-radius:8px;background:var(--surface)}.cash-shift-sales-strip{grid-template-columns:repeat(auto-fit,minmax(160px,1fr))}.cash-shift-payroll-strip{grid-template-columns:repeat(2,minmax(140px,1fr));max-width:420px}.sales-group-mini{display:flex;align-items:center;gap:8px;min-width:220px;max-width:360px;font-size:12px;white-space:nowrap;overflow:hidden}.sales-group-mini span{display:flex;align-items:center;justify-content:flex-start;gap:8px}.sales-group-mini .sales-group-inline-item{min-width:0}.sales-group-mini .sales-group-inline-item:not(:last-child):after{content:"·";color:var(--muted)}.sales-group-mini-text{min-width:0;overflow:hidden;text-overflow:ellipsis}.sales-group-mini .sales-group-inline-item,.sales-group-strip-item{align-items:center}.sales-group-inline-item .mini{flex:0 0 auto;width:24px;height:24px;min-height:24px}.sales-group-strip-item{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px}.unclassified-category-row{display:grid;grid-template-columns:minmax(0,1fr) minmax(240px,auto);gap:12px;align-items:center;padding:10px 0;border-top:1px solid var(--border)}.unclassified-category-row:first-child{border-top:0}.unclassified-category-row select{min-width:150px}.cash-shifts-table table{table-layout:fixed}.cash-shifts-table th,.cash-shifts-table td{height:54px;vertical-align:middle}.cash-shifts-table td{white-space:nowrap}.cash-shifts-table td[data-label="Кухня / бар"]{white-space:normal}.cash-shift-money-strip strong,.cash-shift-meta-grid strong{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.bulk-actions{display:flex;align-items:center;flex-wrap:wrap;gap:8px;margin:10px 0 12px;padding:10px 12px;border:1px solid var(--border);border-radius:8px;background:var(--surface)}.sync-dot{width:9px;height:9px;flex:0 0 auto;border-radius:50%;background:var(--danger)}.sync-dot.success{background:var(--ok)}.sync-dot.warning,.sync-dot.running{background:#eab308}.sync-dot.running{animation:pulse 1.1s infinite}.sync-run-modal{width:min(560px,calc(100vw - 28px))}.sync-modal-status{display:grid;grid-template-columns:38px 1fr;gap:10px;align-items:flex-start;padding:10px 0 14px;border-bottom:1px solid var(--border);margin-bottom:14px}.sync-quick-days{align-self:end}.spin{animation:spin .9s linear infinite}.loading-inline{display:inline-flex;align-items:center;gap:10px;margin:14px 0;color:var(--muted);font-size:14px}.spinner{width:18px;height:18px;border:2px solid var(--border);border-top-color:var(--accent);border-radius:999px;animation:spin .9s linear infinite}.date-filter{width:150px}.content{min-width:0;min-height:calc(100vh - 67px);padding:22px;position:relative}.content-loading-bar{position:sticky;top:67px;z-index:4;width:100%;height:3px;margin:-22px 0 19px;overflow:hidden;background:var(--surface-soft)}.content-loading-bar:after{content:"";display:block;width:35%;height:100%;background:var(--accent);animation:loading-bar 1s ease-in-out infinite}.content-ready{animation:content-fade-in .18s ease-out}.skeleton-page{display:grid;gap:14px}.skeleton-toolbar,.skeleton-table-head,.skeleton-actions{display:flex;align-items:center;justify-content:space-between;gap:12px}.skeleton-stack{display:grid;gap:8px;min-width:min(360px,70vw)}.skeleton-actions{flex:0 0 auto}.skeleton-card{display:grid;gap:14px;align-content:start}.skeleton-panel{display:grid;gap:14px;min-height:220px}.skeleton-line,.skeleton-button,.skeleton-chart{position:relative;display:block;overflow:hidden;border-radius:8px;background:#e6ebf1}.skeleton-line:after,.skeleton-button:after,.skeleton-chart:after{content:"";position:absolute;inset:0;transform:translate(-100%);background:linear-gradient(90deg,transparent,rgba(255,255,255,.64),transparent);animation:skeleton-shimmer 1.15s ease-in-out infinite}.skeleton-line{width:100%;height:14px}.skeleton-line.title{width:min(280px,70%);height:22px}.skeleton-line.short{width:min(180px,52%)}.skeleton-line.tiny{width:45%;height:12px}.skeleton-line.value{width:72%;height:30px}.skeleton-line.search{width:min(280px,46%);height:36px}.skeleton-button{width:148px;height:40px}.skeleton-button.narrow{width:92px}.skeleton-chart{width:100%;min-height:210px}.skeleton-table{display:grid;gap:0;overflow:hidden;border:1px solid var(--border);border-radius:8px}.skeleton-table-row{display:grid;grid-template-columns:1.2fr .8fr .9fr .7fr;gap:18px;align-items:center;min-height:48px;padding:12px;border-bottom:1px solid var(--border)}.skeleton-table-row:last-child{border-bottom:0}.page-title{margin:0 0 16px;font-size:24px}.grid{display:grid;gap:14px}.grid.kpi{grid-template-columns:repeat(4,minmax(0,1fr))}.grid.kpi>.card{min-height:108px}.dashboard-kpi{grid-template-columns:repeat(4,minmax(0,1fr));align-items:stretch}.dashboard-content.is-background-refreshing .rich-metric-card .metric-label-with-hint:after{content:"";display:inline-block;width:6px;height:6px;margin-left:6px;border-radius:50%;background:var(--accent);animation:dashboard-refresh-pulse .9s ease-in-out infinite;vertical-align:middle}.dashboard-content.is-background-refreshing .chart-card-head h2:after{content:"";display:inline-block;width:6px;height:6px;margin-left:8px;border-radius:50%;background:var(--accent);animation:dashboard-refresh-pulse .9s ease-in-out infinite;vertical-align:middle}@keyframes dashboard-refresh-pulse{50%{opacity:.25;transform:scale(.72)}}.rich-metric-card{display:flex;flex-direction:column;min-height:148px}.rich-metric-heading{align-items:flex-start;display:flex;gap:8px;justify-content:space-between}.payroll-source-switch{display:inline-flex;flex:0 0 auto;overflow:hidden;border:1px solid var(--border);border-radius:6px;background:var(--surface)}.payroll-source-switch button{min-height:24px;border:0;border-left:1px solid var(--border);background:transparent;color:var(--muted);cursor:pointer;font-size:11px;line-height:1;padding:0 7px}.payroll-source-switch button:first-child{border-left:0}.payroll-source-switch button.active{background:var(--surface-soft);color:var(--accent);font-weight:700}.rich-metric-card .metric-value{margin-top:8px;line-height:1.08}.metric-value-with-trend{align-items:center;display:flex;flex-wrap:wrap;gap:10px}.trend-badge{align-items:center;border-radius:999px;display:inline-flex;font-size:15px;font-weight:800;gap:5px;line-height:1;padding:5px 8px}.trend-badge.good{background:#0596691a;color:#047857}.trend-badge.bad{background:#dc26261a;color:#dc2626}.trend-badge.neutral{background:#64748b1a;color:#64748b;min-height:24px;min-width:24px;justify-content:center;padding:5px}.trend-arrow{font-size:12px}.trend-dot{background:currentColor;border-radius:999px;display:inline-block;height:7px;opacity:.75;width:7px}.chart-card-head{align-items:center;display:flex;gap:12px;justify-content:space-between;margin-bottom:8px}.chart-card-head h2{margin:0}.rich-metric-details{display:grid;gap:5px;margin-top:auto;padding-top:12px}.rich-metric-line{display:flex;align-items:baseline;justify-content:space-between;gap:10px;color:var(--muted);font-size:13px;min-width:0}.rich-metric-line span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.rich-metric-line strong{color:var(--text);font-size:14px;white-space:nowrap}.calendar-form{margin:14px 0}.grid.two{grid-template-columns:repeat(2,minmax(0,1fr))}.grid.three{grid-template-columns:repeat(3,minmax(0,1fr))}.card{position:relative;min-width:0;background:var(--surface);border:1px solid var(--border);border-radius:8px;padding:16px}.chart-panel{position:relative;min-width:0;margin-top:14px;padding:16px;border:1px solid var(--border);border-radius:8px;background:var(--surface);overflow:visible}.chart-box{position:relative;width:100%;min-height:260px;overflow:visible}.chart-panel:hover,.chart-box:hover,.shift-analytics-card:hover{z-index:90}.recharts-wrapper,.recharts-responsive-container,.recharts-surface{overflow:visible!important}.recharts-tooltip-wrapper{z-index:1200!important;pointer-events:none}.chart-tooltip{position:relative;z-index:1201;min-width:min(220px,calc(100vw - 40px));max-width:min(360px,calc(100vw - 32px));padding:10px 12px;border:1px solid var(--border);border-radius:8px;background:var(--surface);box-shadow:0 12px 30px #0f172a24;color:var(--text);font-size:14px}.chart-tooltip>strong{display:block;min-width:0;overflow-wrap:anywhere;line-height:1.25}.chart-tooltip .metric-label{overflow-wrap:anywhere}.tooltip-breakdown{display:grid;gap:5px;margin-top:8px;padding-top:8px;border-top:1px solid var(--border)}.tooltip-breakdown-row{display:grid;grid-template-columns:minmax(120px,1fr) max-content max-content;gap:10px;align-items:baseline;min-width:280px;font-size:12px}.tooltip-breakdown-row span{min-width:0;overflow:hidden;color:var(--muted);text-overflow:ellipsis;white-space:nowrap}.tooltip-breakdown-row strong{color:var(--text);white-space:nowrap}.tooltip-breakdown-row em{min-width:42px;color:var(--muted);font-style:normal;text-align:right;white-space:nowrap}.comparison-chart-tooltip{min-width:340px;max-width:min(440px,calc(100vw - 24px))}.comparison-chart-tooltip .comparison-line>span{white-space:nowrap}@media(max-width:680px){.comparison-chart-tooltip{width:calc(100vw - 24px);min-width:0}}.comparison-performance-chart{min-width:0;overflow:visible}.comparison-performance-legend{display:flex;flex-wrap:wrap;justify-content:center;gap:8px 18px;padding:4px 16px 2px}.comparison-performance-legend-item{display:inline-flex;align-items:center;gap:6px;color:var(--muted);font-size:12px;line-height:1.2;white-space:nowrap}.comparison-performance-legend-swatch{width:14px;height:8px;border-radius:2px;flex:0 0 auto}.comparison-performance-track{pointer-events:none}.comparison-legend-dot{display:inline-block}.comparison-plan-source{margin-top:8px;padding-top:8px;border-top:1px solid var(--border);color:var(--muted);font-size:12px}.comparison-plan-source-note{margin-bottom:12px;padding:10px 12px;border:1px solid #b6d6d2;border-radius:6px;background:#eef8f6;color:#176c65;font-size:13px;line-height:1.45}.compact-toolbar{align-items:flex-start;margin-bottom:12px}.bulk-mapping-toolbar{align-items:center;gap:8px;padding:8px 0}.bulk-mapping-toolbar select{min-width:160px;min-height:38px;border:1px solid var(--border);border-radius:8px;background-color:var(--surface);color:var(--text);padding:8px 30px 8px 10px}.payroll-group-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.compact-payroll-grid{grid-template-columns:repeat(5,minmax(150px,1fr));margin-top:10px}.payroll-group-card{display:grid;gap:8px;padding:12px;border:1px solid var(--border);border-radius:8px;background:var(--surface-soft)}.payroll-group-card.featured{background:var(--surface);border-color:#0d7d7659}.payroll-group-card.compact{gap:6px;min-width:0;padding:10px}.metric-label-with-hint{display:inline-flex;align-items:center;gap:6px}.info-hint{position:relative;display:inline-flex;align-items:center;justify-content:center;color:var(--muted);cursor:help;z-index:2}.info-hint-tooltip{position:absolute;z-index:1300;left:50%;bottom:calc(100% + 8px);width:min(280px,72vw);padding:9px 10px;border:1px solid var(--border);border-radius:8px;background:var(--surface);color:var(--text);box-shadow:var(--shadow);font-size:12px;line-height:1.35;text-transform:none;letter-spacing:0;transform:translate(-50%) translateY(4px);opacity:0;pointer-events:none;transition:opacity .15s ease,transform .15s ease}.info-hint:hover .info-hint-tooltip,.info-hint:focus .info-hint-tooltip{opacity:1;transform:translate(-50%) translateY(0)}.info-hint:hover,.info-hint:focus{z-index:1301}.payroll-group-head,.payroll-group-values,.employee-total-card{display:grid;gap:10px}.payroll-group-head{grid-template-columns:minmax(0,1fr) auto;align-items:baseline}.payroll-group-head span,.employee-total-card span,.payroll-group-values span{color:var(--muted);font-size:12px}.payroll-group-values{grid-template-columns:1fr;gap:0}.payroll-group-values>div{display:grid;grid-template-columns:minmax(70px,.8fr) minmax(0,1.2fr);gap:12px;align-items:baseline;padding:7px 0;border-top:1px solid var(--border)}.payroll-group-values>div:first-child{border-top:0;padding-top:0}.payroll-group-values strong,.employee-total-card strong{display:block;margin-top:2px;white-space:nowrap}.payroll-group-values strong{min-width:0;margin-top:0;text-align:right;overflow-wrap:anywhere;white-space:normal}.payroll-group-card.featured .payroll-group-head strong{font-size:20px}.payroll-group-card.featured .payroll-group-values .primary-value strong{font-size:22px}.payroll-group-card.compact .payroll-group-head{gap:6px}.payroll-group-card.compact .payroll-group-head strong,.payroll-group-card.compact .payroll-group-head span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.payroll-group-card.compact .payroll-group-values>div{grid-template-columns:minmax(48px,.75fr) minmax(0,1.25fr);gap:8px;padding:5px 0}.payroll-group-card.compact .payroll-group-values span{font-size:11px}.payroll-group-card.compact .payroll-group-values strong{font-size:14px}.payroll-group-card.compact .btn{min-height:32px;padding:0 9px}.payroll-group-breakdown{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;padding-top:8px;border-top:1px solid var(--border)}.payroll-breakdown-line{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px;align-items:baseline;padding:4px 0;color:var(--muted);font-size:12px}.payroll-breakdown-line span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.payroll-breakdown-line strong{color:var(--text);font-size:12px;white-space:nowrap}.value-mapping-tabs{margin-bottom:14px}.subtab-nav{display:flex;align-items:center;gap:8px;overflow-x:auto;padding-bottom:2px}.subtab-nav button{display:inline-flex;align-items:center;gap:8px;min-height:38px;padding:8px 12px;border:1px solid var(--border);border-radius:8px;background:var(--surface);color:var(--text);font-weight:600;white-space:nowrap}.subtab-nav button.active{border-color:#0d7e7159;background:#0d7e711a;color:var(--accent)}.subtab-nav button span{min-width:24px;padding:2px 7px;border-radius:999px;background:var(--soft);color:var(--muted);font-size:12px;text-align:center}.subtab-nav button.active span{background:#0d7e7124;color:var(--accent)}.settings-stack{display:grid;gap:14px}.summary-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:8px 0 14px}.summary-grid span{display:block;color:var(--muted);font-size:12px}.summary-grid strong{display:block;margin-top:2px}.employee-role-filter{min-width:180px}.employee-total-card{grid-template-columns:minmax(120px,1.2fr) repeat(5,minmax(92px,1fr));align-items:center;margin-bottom:14px}.cash-shift-chart .recharts-line{cursor:pointer}.metric-label{color:var(--muted);font-size:13px}.metric-value{margin-top:6px;font-size:26px;font-weight:700}.animated-value{display:inline-block;min-width:1ch;font-variant-numeric:tabular-nums;transition:color .18s ease,opacity .18s ease}.delta{margin-top:6px;font-size:13px}.delta.up{color:var(--ok)}.delta.down{color:var(--danger)}.toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:14px}.toolbar-actions{display:flex;align-items:center;justify-content:flex-end;flex-wrap:wrap;gap:8px}.integration-view-tabs{display:inline-flex;align-items:stretch;max-width:100%;margin-bottom:16px;overflow:hidden;border:1px solid var(--border);border-radius:8px;background:var(--surface)}.integration-view-tabs button{display:inline-flex;align-items:center;gap:7px;min-height:38px;border:0;border-right:1px solid var(--border);background:transparent;color:var(--text);padding:8px 12px;font:inherit;cursor:pointer}.integration-view-tabs button:last-child{border-right:0}.integration-view-tabs button:hover,.integration-view-tabs button.active{background:#e8f4f2;color:var(--accent-strong)}.raw-storage-section{display:grid;gap:14px}.raw-storage-section .section-heading{margin-bottom:0}.raw-storage-policy,.raw-storage-actions{display:flex;align-items:end;flex-wrap:wrap;gap:10px}.raw-storage-policy .field,.raw-storage-actions .field{width:min(330px,100%);margin:0}.raw-storage-policy .metric-label{align-self:center;max-width:520px}.raw-storage-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));overflow:hidden;border:1px solid var(--border);border-radius:8px;background:var(--surface)}.raw-storage-summary>div{min-width:0;padding:12px 14px;border-right:1px solid var(--border)}.raw-storage-summary>div:last-child{border-right:0}.raw-storage-summary span,.raw-storage-summary strong{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.raw-storage-summary span{color:var(--muted);font-size:12px}.raw-storage-summary strong{margin-top:3px;font-size:16px}.raw-storage-message{min-height:18px}.raw-storage-table table{min-width:860px}.toolbar-cluster,.table-tools,.segmented{display:flex;align-items:center;flex-wrap:wrap;gap:8px}.table-tools{justify-content:space-between;margin:10px 0}.table-tools-meta{display:inline-flex;align-items:center;justify-content:flex-end;flex-wrap:wrap;gap:10px}.table-loading-indicator{display:inline-flex;align-items:center;gap:5px;color:var(--accent);font-size:13px;font-weight:600}.table-updating{opacity:.72;transition:opacity .12s ease}.segmented{padding:3px;border:1px solid var(--border);border-radius:8px;background:var(--surface)}.segmented button{justify-content:center;padding:6px 9px}.table-wrap{width:100%;max-width:100%;overflow-x:auto;background:var(--surface);border:1px solid var(--border);border-radius:8px}.table-pager{display:flex;align-items:center;justify-content:center;gap:12px;padding:12px 0 2px}.table-wrap.fixed-table table{min-width:1120px;table-layout:fixed}.table-wrap.fixed-table th,.table-wrap.fixed-table td{overflow:hidden;text-overflow:ellipsis}.employees-table .select-cell{width:42px;max-width:42px;padding-left:10px;padding-right:8px;text-align:center}.employees-table .select-cell+th,.employees-table .select-cell+td{width:230px}.documents-table table{min-width:1180px;table-layout:fixed}.documents-table th:nth-child(1),.documents-table td:nth-child(1){width:190px}.documents-table th:nth-child(2),.documents-table td:nth-child(2){width:170px}.documents-table th:nth-child(3),.documents-table td:nth-child(3){width:140px}.documents-table th:nth-child(4),.documents-table td:nth-child(4){width:150px}.documents-table th:nth-child(8),.documents-table td:nth-child(8){width:130px}.report-1c-header{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;padding:18px 20px}.report-1c-header h2{margin:0 0 8px}.report-1c-header p{margin:0 0 8px;color:var(--muted)}.report-1c-tree-actions{display:inline-flex;align-items:center;gap:6px;margin-left:auto}.report-1c-tree-actions button{border:1px solid var(--border);border-radius:7px;background:var(--surface);color:var(--text);padding:6px 9px;font-size:13px;cursor:pointer}.report-1c-tree-actions button:hover{border-color:#9fb0c4;background:var(--surface-soft)}.report-1c-empty{display:grid;gap:6px;padding:12px 16px;border-left:4px solid #f59e0b}.report-1c-empty span{max-width:1100px;color:var(--text);line-height:1.45}.report-1c-card{padding:0;overflow:hidden}.report-1c-wrap{border:0;border-radius:0;background:transparent;max-height:calc(100vh - 260px);overflow:auto}.report-1c-table{width:100%;min-width:820px;table-layout:fixed}.report-1c-table thead th{position:sticky;top:0;z-index:4;background:var(--surface);box-shadow:0 1px 0 var(--border)}.report-1c-table th:first-child,.report-1c-table td:first-child{position:sticky;left:0;z-index:3;width:360px;background:var(--surface);box-shadow:1px 0 0 var(--border);text-align:left}.report-1c-table thead th:first-child{z-index:6}.report-1c-bdr{width:max-content;min-width:1880px}.report-1c-bdr th{width:112px}.report-1c-bdr th:nth-child(2),.report-1c-bdr td:nth-child(2),.report-1c-bdr th:nth-child(3),.report-1c-bdr td:nth-child(3){width:90px}.report-1c-bdr th:nth-child(4),.report-1c-bdr td:nth-child(4){width:120px}.report-1c-row td{vertical-align:top}.report-1c-name{display:flex;align-items:flex-start;gap:8px;white-space:normal}.report-1c-name>span:last-child{min-width:0}.report-1c-expand,.report-1c-expand-placeholder{flex:0 0 22px;width:22px;height:22px}.report-1c-expand{display:inline-grid;place-items:center;border:1px solid var(--border);border-radius:6px;background:var(--control-bg);color:var(--accent);font-weight:800;line-height:1;cursor:pointer}.report-1c-expand:hover{border-color:var(--accent);background:#ecfdf5}.report-1c-section td{background:#eef3f7;font-weight:800}.report-1c-section.report-1c-row td:first-child{background:#eef3f7}.cashflow-report-table .report-1c-section td{background:#e7f2f0;border-top:1px solid #b9dcd7;border-bottom:1px solid #b9dcd7;color:#123b3a;font-size:15px;font-weight:800}.cashflow-report-table .report-1c-section.report-1c-row td:first-child{background:#e7f2f0;box-shadow:inset 4px 0 0 var(--accent)}.report-1c-total td{background:#f7fafc;font-weight:800}.report-1c-total.report-1c-row td:first-child{background:#f7fafc}.cashflow-report-table .report-1c-total td{background:#eaf0f5;border-top:2px solid #91a4b8;border-bottom:2px solid #91a4b8;color:#102a43;font-size:15px;font-weight:800}.cashflow-report-table .report-1c-total.report-1c-row td:first-child{background:#eaf0f5;box-shadow:inset 4px 0 #64748b}.report-1c-month{display:grid;gap:2px}.report-1c-month span{color:var(--muted);font-size:12px}.cashflow-content{gap:14px}.cashflow-page-actions{display:flex;align-items:center;justify-content:flex-end;gap:8px;flex-wrap:wrap}.cashflow-message{width:100%;color:#047857;font-size:13px}.cashflow-restaurant-tabs{display:flex;gap:6px;overflow-x:auto;padding:4px;border:1px solid var(--border);border-radius:8px;background:var(--surface-soft);scrollbar-width:thin}.cashflow-restaurant-tab{min-height:36px;flex:0 0 auto;border:1px solid transparent;border-radius:6px;padding:0 13px;background:transparent;color:var(--muted);font:inherit;font-size:13px;font-weight:700;cursor:pointer}.cashflow-restaurant-tab:hover{color:var(--text);background:var(--surface)}.cashflow-restaurant-tab.active{border-color:#b6d6d2;background:var(--surface);color:var(--primary);box-shadow:0 1px 2px #0f172a0f}.cashflow-report{padding:0;overflow:hidden}.cashflow-report-header{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:12px;padding:16px 18px;border-bottom:1px solid var(--border)}.cashflow-summary-tiles{display:grid;grid-template-columns:repeat(3,minmax(148px,1fr));gap:8px}.cashflow-summary-tile{display:grid;min-height:88px;align-content:center;gap:7px;padding:10px 12px;border:1px solid var(--border);border-radius:7px;background:var(--surface)}.cashflow-summary-tile>span,.cashflow-summary-tile small{color:var(--muted);font-size:12px;line-height:1.2}.cashflow-summary-values{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.cashflow-summary-value{display:grid;gap:2px;min-width:0}.cashflow-summary-tile-total{grid-template-rows:auto 1fr}.cashflow-summary-total-value{display:grid;align-content:end;gap:3px}.cashflow-summary-total-value strong{color:var(--text);font-size:20px;line-height:1.2}.cashflow-summary-value strong{color:var(--text);font-size:16px;line-height:1.2;white-space:nowrap}.cashflow-summary-completion{grid-column:1 / -1;display:flex;align-items:baseline;justify-content:space-between;gap:8px}.cashflow-summary-fact-below-plan strong{color:var(--ok)}.cashflow-summary-fact-above-plan strong{color:var(--danger)}.cashflow-summary-completion-below-plan strong{color:var(--ok)}.cashflow-summary-completion-above-plan strong{color:var(--danger)}.cashflow-plan-fact-chart{display:grid;gap:10px;padding:14px 18px 10px;border-bottom:1px solid var(--border)}.cashflow-plan-fact-chart-heading{display:flex;align-items:baseline;justify-content:space-between;gap:12px}.cashflow-plan-fact-chart-heading h2{margin:0;font-size:17px}.cashflow-plan-fact-chart-plot{width:100%;height:228px}.cashflow-plan-fact-tooltip{min-width:180px}.cashflow-report-meta{display:grid;justify-items:end;gap:8px}.cashflow-report-actions,.cashflow-outline-actions{display:flex;align-items:center;justify-content:flex-end;gap:6px;flex-wrap:wrap}.cashflow-outline-actions{padding-left:6px;border-left:1px solid var(--border)}.cashflow-outline-actions .icon-btn{min-width:34px;font-size:13px;font-weight:800}.cashflow-source-line{display:flex;gap:8px;align-items:center;flex-wrap:wrap;margin:0}.cashflow-source{display:inline-flex;align-items:center;min-height:24px;padding:2px 8px;border-radius:999px;font-size:12px;font-weight:700;background:#eef3f7;color:#475569}.cashflow-source-one_c{background:#e8f1ff;color:#1d4ed8}.cashflow-source-manual_excel{background:#ecfdf5;color:#047857}.cashflow-source-iiko{background:#fff7ed;color:#c2410c}.cashflow-source-empty{background:#f1f5f9;color:#64748b}.cashflow-report-table th:first-child,.cashflow-report-table td:first-child{width:42%}.cashflow-report-table th:not(:first-child),.cashflow-report-table td:not(:first-child){width:14.5%}.cashflow-completion{display:inline-flex;align-items:center;min-width:54px;justify-content:flex-end;font-weight:700}.cashflow-completion-below-plan{color:var(--ok)}.cashflow-completion-above-plan{color:var(--danger)}.cashflow-completion-on-plan,.cashflow-completion-unknown{color:var(--muted)}.cashflow-empty{padding:18px;color:var(--muted)}.cashflow-import-modal .toolbar p{margin:5px 0 0}.cashflow-import-modal{width:min(1040px,calc(100vw - 24px))}.cashflow-structure-modal{width:min(960px,calc(100vw - 24px))}.cashflow-structure-modal .toolbar p{margin:5px 0 0}.cashflow-structure-list{display:grid;max-height:min(58vh,620px);margin:16px 0;overflow:auto;border:1px solid var(--border);border-radius:8px}.cashflow-structure-row{display:grid;grid-template-columns:minmax(0,1fr) minmax(250px,340px);align-items:end;gap:16px;padding:11px 14px;border-bottom:1px solid var(--border)}.cashflow-structure-row:last-child{border-bottom:0}.cashflow-structure-row:nth-child(2n){background:#f8fafc}.cashflow-structure-name{display:grid;min-width:0;gap:4px}.cashflow-structure-name strong,.cashflow-structure-name small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.cashflow-structure-name small{color:var(--muted);font-size:12px}@media(max-width:760px){.cashflow-structure-row{grid-template-columns:1fr;align-items:stretch;gap:8px}.cashflow-structure-name{padding-left:0!important}}.visually-hidden{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.cashflow-import-picker{display:flex;align-items:center;gap:12px;margin:16px 0;padding:13px 14px;border:1px solid var(--border);border-radius:8px;background:#f8fafc}.cashflow-import-picker>svg{color:var(--primary)}.cashflow-import-picker>div{display:grid;gap:3px;min-width:0}.cashflow-import-picker span,.cashflow-import-empty,.cashflow-import-status small{color:var(--muted);font-size:13px}.cashflow-import-picker .btn{margin-left:auto}.cashflow-import-empty{padding:20px 0}.cashflow-import-queue{overflow:hidden;border:1px solid var(--border);border-radius:8px}.cashflow-import-queue-head,.cashflow-import-row{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(160px,1fr) minmax(145px,.8fr) minmax(145px,.9fr) 38px;gap:10px;align-items:center}.cashflow-import-queue-head{min-height:38px;padding:0 12px;border-bottom:1px solid var(--border);background:#f8fafc;color:var(--muted);font-size:12px;font-weight:700;text-transform:uppercase}.cashflow-import-row{min-height:74px;padding:10px 12px;border-bottom:1px solid var(--border)}.cashflow-import-row:last-child{border-bottom:0}.cashflow-import-row.status-unsupported,.cashflow-import-row.status-failed{background:#fffafb}.cashflow-import-file{display:flex;align-items:center;gap:8px;min-width:0}.cashflow-import-file svg{flex:0 0 auto;color:#217346}.cashflow-import-file strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.cashflow-import-field{gap:3px}.cashflow-import-field>span{display:none}.cashflow-import-field .styled-select{min-width:0;width:100%}.cashflow-import-status{display:grid;gap:3px;min-width:0}.cashflow-import-status small{overflow-wrap:anywhere}.cashflow-import-status-badge{display:inline-flex;width:max-content;max-width:100%;min-height:24px;align-items:center;padding:2px 8px;border-radius:999px;background:#eef3f7;color:#475569;font-size:12px;font-weight:700}.cashflow-import-status-badge.success{background:#e9f8ee;color:var(--ok)}.cashflow-import-status-badge.failed,.cashflow-import-status-badge.unsupported{background:#fff1f2;color:var(--danger)}.cashflow-import-status-badge.uploading{background:#e8f1ff;color:#1d4ed8}.cashflow-import-summary{margin-top:12px;color:var(--muted);font-size:13px}.payroll-analysis-summary{grid-template-columns:repeat(4,minmax(180px,1fr))}.payroll-analysis-summary-card{min-height:94px;display:grid;align-content:space-between;gap:8px}.payroll-analysis-summary-card span{color:var(--muted);font-size:13px}.payroll-analysis-summary-card strong{font-size:clamp(22px,2vw,30px);line-height:1.05}.payroll-analysis-summary-card.tone-good strong,.positive-delta{color:#047857}.payroll-analysis-summary-card.tone-bad strong,.negative-delta{color:#dc2626}.payroll-analysis-wrap{max-height:calc(100vh - 310px)}.payroll-analysis-table{width:max-content;min-width:1780px}.payroll-analysis-table th,.payroll-analysis-table td{width:120px}.payroll-analysis-table th:first-child,.payroll-analysis-table td:first-child{width:420px}.payroll-analysis-table th:nth-child(2),.payroll-analysis-table td:nth-child(2){width:180px}.payroll-analysis-table .sticky-col{white-space:normal}.payroll-analysis-row-name{font-weight:650}.payroll-analysis-total-row td{border-bottom:2px solid var(--border)}.payroll-analysis-table thead th:first-child{display:flex;align-items:center;gap:6px}@media(min-width:981px){.mobile-menu-button{display:none!important}}table{width:100%;border-collapse:collapse}th,td{text-align:left;padding:11px 12px;border-bottom:1px solid var(--border);white-space:nowrap}th{color:var(--muted);font-size:12px;text-transform:uppercase}.status,.status-pill{display:inline-flex;align-items:center;gap:6px;padding:4px 8px;border-radius:999px;font-size:12px;line-height:1.2;background:var(--surface-soft)}.status.active,.status.success,.status.approved,.status.paid{color:var(--ok)}.status.error,.status.failed,.status.rejected,.status.overdue{color:var(--danger)}.status.warning,.status.pending,.status.submitted{color:var(--warning)}.status.disabled{color:var(--muted)}.form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;align-items:start}.form-grid>.form-grid-span{grid-column:1 / -1;margin:0}.field{display:grid;gap:6px}.compact-field{min-width:180px}.compact-field select,.compact-field input{min-height:34px;padding-top:6px;padding-bottom:6px}.field label{color:var(--muted);font-size:13px}.field>span{color:var(--muted);font-size:13px;line-height:1.25}.form-grid>.checkbox-field{align-self:stretch}.form-grid>.check-row{align-self:end;min-height:38px;margin-top:0;padding-bottom:4px}.employee-profile-form{display:grid;grid-template-columns:minmax(220px,360px) auto;gap:10px;align-items:end;margin:12px 0 16px;padding:12px;border:1px solid var(--border);border-radius:8px;background:var(--surface-soft)}.field input,.field select,.field textarea,.bulk-mapping-toolbar select,.unclassified-category-row select,select,.employee-role-filter,.utility-type-select,.select,.input{width:100%;min-height:38px;border:1px solid var(--border);border-radius:8px;background-color:var(--surface);color:var(--text);padding:8px 10px;transition:border-color .15s ease,box-shadow .15s ease,background-color .15s ease}.field select,.bulk-mapping-toolbar select,.unclassified-category-row select,select,.employee-role-filter,.utility-type-select,.select{appearance:none;-webkit-appearance:none;-moz-appearance:none;background-image:linear-gradient(45deg,transparent 50%,var(--muted) 50%),linear-gradient(135deg,var(--muted) 50%,transparent 50%);background-position:calc(100% - 16px) 50%,calc(100% - 11px) 50%;background-size:5px 5px,5px 5px;background-repeat:no-repeat;padding-right:30px}.field input:focus,.field select:focus,.field textarea:focus,select:focus,.employee-role-filter:focus,.utility-type-select:focus,.select:focus,.input:focus{outline:none;border-color:var(--accent);box-shadow:0 0 0 3px #0f766e1f}select::-ms-expand{display:none}select:disabled,.field input:disabled,.field textarea:disabled{background-color:#f1f5f9;color:var(--muted);cursor:not-allowed}select option{color:var(--text);background:var(--surface)}select option:checked{background:var(--accent);color:#fff}.styled-select{position:relative;width:100%;min-height:38px;border:1px solid var(--border);border-radius:8px;background:var(--surface);color:var(--text);padding:0;background-image:none;transition:border-color .15s ease,box-shadow .15s ease,background-color .15s ease}.styled-select:focus-within{border-color:var(--accent);box-shadow:0 0 0 3px #0f766e1f}.styled-select[data-disabled=true]{background:#f1f5f9;color:var(--muted);cursor:not-allowed}.styled-select-control{display:grid;grid-template-columns:minmax(0,1fr) 14px;gap:10px;align-items:center;width:100%;min-height:36px;border:0;border-radius:7px;background:transparent;color:inherit;padding:8px 10px;font:inherit;text-align:left;cursor:pointer}.styled-select-control:disabled{cursor:not-allowed}.styled-select-value,.styled-select-placeholder{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.styled-select-placeholder{color:var(--muted)}.styled-select-arrow{width:8px;height:8px;border-right:1.5px solid var(--muted);border-bottom:1.5px solid var(--muted);transform:translateY(-2px) rotate(45deg);transition:transform .15s ease}.styled-select[data-open=true] .styled-select-arrow{transform:translateY(2px) rotate(225deg)}.styled-select-menu{position:fixed;z-index:5000;overflow:auto;border:1px solid var(--border);border-radius:10px;background:var(--surface);box-shadow:0 18px 42px #0f172a2e;padding:5px}.styled-select-option{display:grid;gap:2px;width:100%;min-height:34px;border:0;border-radius:7px;background:transparent;color:var(--text);padding:7px 9px;font:inherit;text-align:left;cursor:pointer}.styled-select-option:hover,.styled-select-option.active{background:#e8f4f2}.styled-select-option.selected{background:var(--accent);color:#fff}.styled-select-option:disabled{color:var(--muted);cursor:not-allowed;opacity:.65}.styled-select-option small{color:inherit;font-size:11px;opacity:.72}.compact-field .styled-select-control{min-height:32px;padding-top:6px;padding-bottom:6px}.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:38px;border:1px solid var(--border);border-radius:8px;background:var(--control-bg);color:var(--text);padding:8px 12px;cursor:pointer}.btn.primary{background:var(--accent);border-color:var(--accent);color:#fff}.btn.primary:hover{background:var(--accent-strong)}.btn.danger{color:var(--danger)}.icon-btn{width:38px;height:38px;flex:0 0 38px;padding:8px}.icon-btn.mini{width:28px;height:28px;min-height:28px;flex:0 0 28px;padding:5px}.inline-actions,.employee-name-cell{display:inline-flex;align-items:center;gap:8px;min-width:0}.alias-hover-action{opacity:0;pointer-events:none;transition:opacity .12s ease}tr:hover .alias-hover-action,.inline-actions:hover .alias-hover-action,.alias-hover-action:focus-visible{opacity:1;pointer-events:auto}@media(hover:none){.alias-hover-action{opacity:1;pointer-events:auto}}.employee-name-cell{align-items:flex-start}.shift-dot{width:9px;height:9px;flex:0 0 9px;margin-top:6px;border-radius:50%;background:var(--danger);box-shadow:0 0 0 3px #b91c1c1f}.shift-dot.active{background:var(--ok);box-shadow:0 0 0 3px #15803d1f}.shift-dot.inactive{background:var(--danger)}.compact-modal{width:min(460px,calc(100vw - 24px))}.form-actions{grid-column:1 / -1;display:flex;align-items:center;gap:12px}.form-error{color:var(--danger);font-size:13px}.compact-form{display:grid;gap:10px}.compact-grid{gap:10px}.comparison-metric-select{width:min(420px,100%)}.comparison-matrix td{vertical-align:top}.comparison-cell{min-width:170px}.comparison-line{display:flex;align-items:baseline;justify-content:space-between;gap:12px;color:var(--muted);font-size:12px;line-height:1.4}.comparison-line strong{color:var(--text);font-size:14px;white-space:nowrap}.comparison-line.fact{color:var(--text)}.comparison-line.fact strong{font-size:15px}.comparison-matrix td:first-child,.comparison-matrix th:first-child{position:sticky;left:0;z-index:2;background:var(--surface)}.utility-type-select{width:min(280px,100%)}.row-actions{display:flex;gap:8px}.search-field{display:flex;align-items:center;gap:8px;width:min(420px,100%);min-height:38px;border:1px solid var(--border);border-radius:8px;background:var(--surface);padding:0 10px}.search-field input{width:100%;border:0;outline:0;background:transparent}.sort-button{display:inline-flex;align-items:center;gap:5px;border:0;background:transparent;color:inherit;font:inherit;text-transform:inherit;cursor:pointer;padding:0}.sort-button.active{color:var(--accent)}.clickable-row{cursor:pointer}.clickable-row:hover{background:var(--surface-soft)}.procurement-status{display:inline-flex;align-items:center;min-height:24px}.procurement-status.draft,.procurement-status.revision{color:#9a6700;background:#fff4d6}.procurement-status.submitted,.procurement-status.priced{color:#0f5f92;background:#e5f3fb}.procurement-status.approved,.procurement-status.ordered,.procurement-status.received{color:#087443;background:#def7e8}.procurement-status.cancelled{color:#a33232;background:#fde8e8}.procurement-composer,.procurement-catalog{display:grid;gap:10px;margin-top:18px}.procurement-items-table,.procurement-catalog-table,.procurement-settings-table{max-height:280px;overflow:auto}.procurement-items-table td:first-child,.procurement-catalog-table td:first-child,.procurement-settings-table td:first-child{min-width:220px}.procurement-settings-table{margin-top:16px}.procurement-settings-table td{vertical-align:middle}.procurement-settings-table .metric-label{margin-top:3px}.procurement-settings-table tr.needs-review td{background:#fff9e8}.procurement-settings-filters{grid-template-columns:repeat(2,minmax(0,1fr))}.procurement-selected-items{max-height:min(42vh,420px)}.quantity-with-unit{display:inline-grid;grid-template-columns:minmax(88px,120px) auto;align-items:center;gap:8px}.procurement-variant-form{grid-template-columns:repeat(2,minmax(0,1fr))}.procurement-loading,.empty-state{display:flex;align-items:center;justify-content:center;min-height:96px;gap:8px;color:var(--muted)}.procurement-picker-list{display:grid;gap:0;margin-top:12px;border:1px solid var(--border);border-radius:8px;overflow:hidden}.procurement-picker-tools{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:42px;margin-top:10px;color:var(--muted);font-size:13px}.procurement-picker-tools>div{display:flex;align-items:center;gap:8px}.bulk-selection-control{display:inline-flex;align-items:center;gap:8px;min-height:34px;padding:6px 10px;border:1px solid var(--border);border-radius:6px;background:var(--surface);color:var(--text);cursor:pointer;font-weight:600}.bulk-selection-control input,.price-comparison-candidates th input[type=checkbox]{width:16px;height:16px;margin:0;accent-color:var(--accent)}.bulk-selection-control.is-disabled{cursor:not-allowed;opacity:.55}.procurement-picker-row{display:grid;grid-template-columns:42px minmax(0,1fr) minmax(190px,auto);align-items:center;gap:8px;padding:0 8px 0 0;border-bottom:1px solid var(--border);transition:background-color .14s ease}.procurement-picker-row:last-child{border-bottom:0}.procurement-picker-row.is-checked{background:color-mix(in srgb,var(--primary) 8%,var(--surface))}.procurement-picker-row.is-disabled .procurement-picker-main{opacity:.62}.procurement-picker-check{display:grid;place-items:center;align-self:stretch;min-height:76px;border-right:1px solid var(--border);cursor:pointer}.procurement-picker-check input{width:17px;height:17px;margin:0;accent-color:var(--primary);cursor:pointer}.procurement-picker-check input:disabled{cursor:not-allowed}.procurement-picker-main{display:grid;min-width:0;gap:3px;text-align:left}.procurement-picker-main>span,.procurement-picker-main>small{color:var(--muted);font-size:13px}.procurement-picker-main>small{font-size:12px}.procurement-picker-open{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;width:100%;min-height:76px;gap:14px;padding:11px 14px;color:var(--text);font:inherit;border:0;background:transparent;cursor:pointer}.procurement-picker-open:hover,.procurement-picker-open:focus-visible{background:var(--surface-soft);outline:0}.procurement-picker-open:disabled{cursor:not-allowed}.procurement-picker-state{display:inline-flex;align-items:center;justify-content:flex-end;gap:5px;color:var(--primary);font-size:13px;white-space:nowrap}.procurement-picker-quantity{display:grid;grid-template-columns:minmax(88px,112px) auto 38px;align-items:end;gap:8px;padding:9px 0}.procurement-picker-row-actions{display:flex;align-items:center;justify-content:flex-end;gap:6px}.procurement-picker-quantity label{display:grid;gap:3px;color:var(--muted);font-size:11px}.procurement-picker-quantity input{width:100%;height:36px;padding:6px 9px;color:var(--text);font:inherit;border:1px solid var(--border);border-radius:6px;background:var(--surface)}.procurement-picker-quantity>span{align-self:center;color:var(--muted);font-size:13px;white-space:nowrap}.procurement-picker-footer{display:flex;width:100%;align-items:center;justify-content:space-between;gap:16px;box-shadow:0 -8px 22px #1018280f}.procurement-picker-footer>span{color:var(--muted);font-size:13px}.modal-backdrop.procurement-variant-modal-backdrop{z-index:1900}.procurement-variant-modal{width:min(820px,100%)}.procurement-variants-table table{min-width:620px}.procurement-variants-table th:last-child,.procurement-variants-table td:last-child{width:120px;text-align:right}.primary-variant-row{background:#f1fbfa}.procurement-variant-quantity{width:min(220px,100%);margin:16px 0}.supplier-page-toolbar>div{display:grid;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:6px 14px}.supplier-page-toolbar h2,.supplier-page-toolbar p{margin:0}.supplier-page-toolbar p{grid-column:2}.supplier-page-filters{display:grid;grid-template-columns:repeat(4,minmax(150px,1fr));gap:10px;margin-bottom:14px}.supplier-search{grid-column:span 2}.supplier-summary{grid-template-columns:repeat(3,minmax(0,220px))}.supplier-products-table{max-height:none}.supplier-products-table td{vertical-align:top}.supplier-products-table td:nth-child(1){width:20%}.supplier-products-table td:nth-child(2){width:22%}.supplier-products-table td:nth-child(3){width:34%}.supplier-products-table td:nth-child(4){width:18%}.supplier-products-table td>span,.supplier-products-table td>small{display:block;margin-top:3px}.supplier-variant-list{display:grid;gap:6px}.supplier-variant{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:8px;padding:7px 8px;border:1px solid var(--border);border-radius:6px}.supplier-variant.primary{border-color:var(--primary);background:#f1fbfa}.supplier-variant>div:first-child{display:grid;gap:2px}.supplier-variant span{color:var(--muted);font-size:12px}.supplier-pagination{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 0;color:var(--muted);font-size:13px}.warehouse-restaurant-list{display:grid;gap:24px}.warehouse-content{min-width:0;gap:14px}.warehouse-header{padding:18px}.warehouse-header h2,.warehouse-header p{margin:0}.warehouse-header p{margin-top:5px;color:var(--muted)}.warehouse-tabs,.warehouse-store-tabs{display:flex;align-items:stretch;gap:6px;overflow-x:auto;padding:4px;border:1px solid var(--border);border-radius:8px;background:var(--surface-soft);scrollbar-width:thin}.warehouse-tabs>button,.warehouse-store-tab{display:inline-flex;flex:0 0 auto;align-items:center;gap:7px;min-height:38px;border:1px solid transparent;border-radius:6px;padding:0 13px;background:transparent;color:var(--muted);font:inherit;font-size:13px;font-weight:700;cursor:pointer}.warehouse-tabs>button:hover,.warehouse-store-tab:hover{color:var(--text);background:var(--surface)}.warehouse-tabs>button.active,.warehouse-store-tab-wrap.active .warehouse-store-tab{border-color:#b6d6d2;background:var(--surface);color:var(--primary);box-shadow:0 1px 2px #0f172a0f}.warehouse-store-selection{display:grid;gap:12px;min-width:0;padding:18px}.warehouse-selection-heading,.warehouse-panel-header{display:flex;align-items:flex-start;justify-content:space-between;gap:16px}.warehouse-selection-heading h3,.warehouse-selection-heading p,.warehouse-panel-header h2,.warehouse-panel-header p{margin:0}.warehouse-selection-heading p,.warehouse-panel-header p{margin-top:4px;color:var(--muted);font-size:13px}.warehouse-selection-heading>strong{white-space:nowrap}.warehouse-store-tab-wrap{display:inline-flex;flex:0 0 auto;align-items:center;min-width:0;max-width:min(360px,74vw)}.warehouse-store-tab span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.warehouse-store-tab small{flex:0 0 auto;white-space:nowrap;color:currentColor;opacity:.72;font-weight:500}.warehouse-store-tab-edit{width:32px;height:32px;margin-left:-4px;border-color:transparent}.warehouse-alias-inline{display:inline-flex;align-items:center;gap:4px;min-height:36px;padding:2px;border:1px solid #b6d6d2;border-radius:7px;background:var(--surface)}.warehouse-alias-inline input{width:min(240px,46vw);min-height:30px;border:0;padding:0 8px;background:transparent;outline:0;font:inherit}.warehouse-alias-inline .icon-btn{width:30px;height:30px}.warehouse-alias-error{margin:0}.warehouse-store-panel{display:grid;gap:14px;min-width:0;padding:18px}.warehouse-panel-summary{width:min(100%,720px);margin:0}.warehouse-panel-search{max-width:440px}.warehouse-panel-search .search-field{min-height:42px}.warehouse-restaurant-group{min-width:0}.warehouse-modal-header{display:flex;align-items:flex-start;justify-content:space-between;gap:16px}.warehouse-modal-header h2,.warehouse-modal-header p{margin:0}.warehouse-modal-header p{margin-top:4px;color:var(--muted);font-size:13px}.warehouse-modal-title{display:inline-flex;align-items:center;gap:8px}.warehouse-modal-summary{margin:0}.warehouse-modal-search .search-field{min-height:44px}.warehouse-visibility-tabs{display:inline-flex;align-self:flex-start;padding:3px;border:1px solid var(--border);border-radius:7px;background:var(--surface-soft)}.warehouse-visibility-tab{min-height:34px;padding:6px 12px;color:var(--muted);border:0;border-radius:5px;background:transparent;cursor:pointer}.warehouse-visibility-tab.active{color:var(--primary);background:var(--surface);box-shadow:0 1px 3px #0f172a1a}.warehouse-visibility-tab span{display:inline-flex;align-items:center;justify-content:center;min-width:22px;height:20px;margin-left:5px;padding:0 6px;border-radius:10px;background:var(--border);color:var(--text);font-size:12px;font-weight:700}.warehouse-catalog-table tbody tr{height:58px}.warehouse-row-action{width:36px;height:36px}.warehouse-header{padding:0}.warehouse-header h2{font-size:24px;line-height:1.2}.warehouse-header p{max-width:840px;line-height:1.45}.warehouse-tabs{gap:4px;padding:4px;background:var(--surface-soft)}.warehouse-tabs>button{min-height:34px;padding:0 12px}.warehouse-store-selection{gap:11px;padding:14px 16px;border:1px solid var(--border);border-radius:8px;background:var(--surface)}.warehouse-selection-heading{align-items:center}.warehouse-selection-heading h3{font-size:17px}.warehouse-restaurant-total{display:grid;gap:3px;min-width:178px;padding:8px 11px;border-left:1px solid var(--border);text-align:right}.warehouse-restaurant-total span{color:var(--muted);font-size:12px}.warehouse-restaurant-total strong{white-space:nowrap;font-variant-numeric:tabular-nums}.warehouse-store-tabs{gap:7px;padding:0;border:0;border-radius:0;background:transparent}.warehouse-store-tab-wrap{max-width:min(300px,58vw)}.warehouse-store-tab{min-height:36px;padding:0 11px;border-color:var(--border);border-radius:7px;background:var(--surface-soft)}.warehouse-store-tab-wrap.active .warehouse-store-tab{border-color:#8ccfc7;background:#eaf7f5;color:var(--primary);box-shadow:none}.warehouse-store-tab-edit{width:34px;height:34px;margin-left:1px;border-color:var(--border);background:var(--surface)}.warehouse-store-panel{gap:16px;padding:16px}.warehouse-panel-header{align-items:center;justify-content:flex-start;flex-wrap:wrap;gap:12px 24px}.warehouse-panel-title{flex:1 1 220px;min-width:0}.warehouse-panel-summary{display:grid;flex:0 1 520px;width:auto;grid-template-columns:repeat(3,minmax(118px,1fr));margin:0}.warehouse-panel-summary>div{min-height:70px;padding:10px 12px}.warehouse-panel-tools{display:flex;align-items:flex-end;justify-content:space-between;flex-wrap:wrap;gap:12px 16px;padding-top:12px;border-top:1px solid var(--border)}.warehouse-panel-search{width:min(390px,100%);max-width:none;margin-left:auto}.warehouse-panel-search .search-field{min-height:38px}.warehouse-visibility-tabs{min-height:38px;align-self:flex-end}.warehouse-product-name{display:grid;gap:3px;min-width:160px}.warehouse-product-name strong{overflow-wrap:anywhere;font-weight:600}.warehouse-product-name span{color:var(--muted);font-size:12px}.warehouse-catalog-table tbody tr{height:62px}.warehouse-product-modal-backdrop{z-index:1400}.warehouse-product-modal{display:flex;flex-direction:column;gap:16px;overflow:auto}.warehouse-product-summary{grid-template-columns:repeat(4,minmax(0,1fr));margin:0}.warehouse-product-summary small{color:var(--muted)}.warehouse-price-history,.warehouse-product-settings{display:grid;gap:12px;padding-top:2px}.warehouse-price-history .section-heading,.warehouse-product-settings .section-heading,.warehouse-price-history .section-heading h3,.warehouse-price-history .section-heading p,.warehouse-product-settings .section-heading h3,.warehouse-product-settings .section-heading p{margin:0}.warehouse-price-history .section-heading p,.warehouse-product-settings .section-heading p{margin-top:4px;color:var(--muted);font-size:13px}.warehouse-price-history .section-heading>strong.positive{color:var(--primary)}.warehouse-price-history .section-heading>strong.negative{color:var(--danger)}.warehouse-price-chart{width:100%;height:270px;min-height:270px;padding:8px 4px 0;border:1px solid var(--border);border-radius:8px;background:var(--surface)}.warehouse-price-chart .chart-tooltip{display:grid;min-width:180px;gap:4px}.warehouse-price-chart .chart-tooltip span{font-weight:700}.warehouse-price-chart .chart-tooltip small{color:var(--muted)}.warehouse-price-chart .chart-tooltip i{width:8px;height:8px;flex:0 0 8px;border-radius:50%}.warehouse-comparison-chart{height:300px;min-height:300px}.warehouse-product-settings{padding-top:14px;border-top:1px solid var(--border)}.one-c-diagnostics{margin-top:16px;padding:16px;border:1px solid var(--border);border-radius:8px;background:var(--surface)}.one-c-diagnostics .section-heading{align-items:flex-start}.one-c-diagnostics-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-top:12px}.one-c-diagnostic-report{display:grid;gap:5px;min-height:112px;padding:12px;border:1px solid var(--border);border-left:3px solid var(--muted);border-radius:6px}.one-c-diagnostic-report.success{border-left-color:var(--ok)}.one-c-diagnostic-report.missing,.one-c-diagnostic-report.invalid_format,.one-c-diagnostic-report.error{border-left-color:var(--warning)}.one-c-diagnostic-report>span,.one-c-diagnostic-report>small{color:var(--muted);overflow-wrap:anywhere}.procurement-items-table small,.procurement-summary span,.note-box strong{display:block}.table-input{width:100%;min-height:34px;border:1px solid var(--border);border-radius:6px;background:var(--surface);color:var(--text);padding:6px 8px}.quantity-input{min-width:92px}.procurement-summary{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px;margin:2px 0 16px}.procurement-summary>div,.note-box{border:1px solid var(--border);border-radius:8px;background:var(--surface-soft);padding:10px 12px}.procurement-summary>div>span,.note-box strong{color:var(--muted);font-size:13px}.procurement-summary strong{display:block;margin-top:4px}.toolbar.procurement-modal-toolbar{align-items:center;flex-direction:row;margin-bottom:16px}.procurement-modal-heading{display:flex;min-width:0;align-items:center;flex-wrap:wrap;gap:10px}.procurement-modal-heading h2{margin:0}.procurement-request-header{display:grid;grid-template-columns:minmax(0,1fr) minmax(210px,auto);align-items:stretch;margin-bottom:16px;overflow:hidden;border:1px solid var(--border);border-radius:8px;background:var(--surface-soft)}.procurement-request-meta{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));min-width:0;margin:0}.procurement-request-meta>div{min-width:0;padding:14px 16px;border-right:1px solid var(--border)}.procurement-request-meta dt,.procurement-request-total>span,.procurement-request-total>small{color:var(--muted);font-size:12px}.procurement-request-meta dd{margin:5px 0 0;overflow-wrap:anywhere;font-weight:700}.procurement-request-total{display:grid;min-width:220px;align-content:center;gap:3px;padding:12px 16px;border-left:3px solid var(--accent);background:var(--surface)}.procurement-request-total strong{font-size:23px;font-variant-numeric:tabular-nums}.procurement-request-table{max-height:min(44vh,460px)}.procurement-request-table th:nth-child(n+2):not(:last-child),.procurement-request-table td:nth-child(n+2):not(:last-child){text-align:right;font-variant-numeric:tabular-nums}.procurement-request-table th:last-child,.procurement-request-table td:last-child{min-width:150px}.procurement-request-actions{display:grid;gap:12px;margin-top:16px;padding:14px;border-top:1px solid var(--border);border-bottom:1px solid var(--border);background:#f8fafc}.procurement-request-actions textarea{min-height:64px;resize:vertical}.procurement-request-action-row,.procurement-request-secondary-actions,.procurement-request-primary-actions{display:flex;align-items:center;flex-wrap:wrap;gap:8px}.procurement-request-action-row{justify-content:space-between}.procurement-request-primary-actions{justify-content:flex-end;margin-left:auto}.procurement-request-history{margin-top:14px}.procurement-request-history-toggle{display:flex;width:100%;align-items:center;justify-content:space-between;gap:12px;border:0;background:transparent;color:var(--text);padding:8px 2px;cursor:pointer;text-align:left}.procurement-request-history-toggle>span{display:flex;align-items:baseline;gap:8px}.procurement-request-history-toggle small{color:var(--muted);font-weight:400}.procurement-request-timeline{overflow:visible;border:0;border-radius:0}.procurement-request-timeline .timeline-item{position:relative;padding:8px 8px 8px 28px;border:0;background:transparent}.procurement-request-timeline .timeline-item:before{content:"";position:absolute;top:14px;left:7px;width:8px;height:8px;border:2px solid var(--surface);border-radius:50%;background:var(--accent);box-shadow:0 0 0 1px var(--accent)}.procurement-request-timeline .timeline-item:not(:last-child):after{content:"";position:absolute;top:24px;bottom:-6px;left:11px;width:1px;background:var(--border)}.procurement-events{display:grid;gap:8px;margin-top:18px}.procurement-events h3{margin:0}.timeline-list{display:grid;gap:0;border:1px solid var(--border);border-radius:8px;overflow:hidden}.timeline-item{display:grid;gap:3px;padding:10px 12px;border-bottom:1px solid var(--border);background:var(--surface-soft)}.timeline-item:last-child{border-bottom:0}.timeline-item>span,.timeline-item>p{margin:0;color:var(--muted);font-size:13px}.note-box{margin:0 0 16px}.note-box p{margin:5px 0 0;white-space:pre-wrap}.modal-actions{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:8px;margin-top:18px}.modal-backdrop{position:fixed;inset:0;z-index:1000;display:grid;align-items:start;justify-items:center;padding:86px 20px 20px;background:#0f172a8c}.nested-backdrop{z-index:1600}.document-detail-backdrop{overflow-y:auto}.document-detail-modal{min-height:220px}.price-with-source,.price-history-actions{display:inline-flex;align-items:center;gap:6px}.price-source-button{display:inline-grid;place-items:center;width:24px;height:24px;flex:0 0 24px;padding:0;border:1px solid color-mix(in srgb,var(--primary) 35%,var(--border));border-radius:50%;background:color-mix(in srgb,var(--primary) 8%,var(--surface));color:var(--primary);cursor:pointer}.price-source-button:hover{background:color-mix(in srgb,var(--primary) 16%,var(--surface))}.modal{width:min(1000px,100%);max-height:calc(100vh - 112px);overflow:auto;background:var(--surface);border-radius:8px;padding:20px}.modal h2,.modal h3{margin-top:0}.modal h3{margin-top:22px}.wide-modal{width:min(1180px,100%)}.cash-shift-modal-backdrop{align-items:start;overflow-x:hidden;overflow-y:auto}.cash-shift-modal{max-height:none;margin-bottom:24px;overflow:visible}.cash-shift-modal .recharts-tooltip-wrapper{z-index:1500!important}.payroll-group-modal{width:min(1180px,100%)}.payroll-group-modal .settings-stack section{min-width:0}.shift-modal-dates{display:flex;flex-wrap:wrap;gap:10px 18px;margin-top:4px;color:var(--muted);font-size:13px}.shift-modal-dates strong{color:var(--text)}.shift-analytics-layout{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.shift-analytics-card{position:relative;min-width:0;border:1px solid var(--border);border-radius:8px;background:var(--surface);padding:12px;overflow:visible}.shift-card-title{display:flex;align-items:center;justify-content:space-between;gap:8px;min-height:24px;margin-bottom:10px;font-weight:700}.shift-card-title.with-actions{justify-content:flex-start}.revenue-donut-layout{display:grid;grid-template-columns:minmax(160px,.85fr) minmax(180px,1fr);gap:10px;align-items:center}.revenue-legend{display:grid;gap:8px}.legend-line,.legend-total{display:grid;grid-template-columns:10px minmax(0,1fr) auto;gap:8px;align-items:center;font-size:13px}.legend-line i,.payment-flow-card i{width:10px;height:10px;border-radius:50%}.legend-line span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.legend-line strong,.legend-total strong{white-space:nowrap}.legend-total{grid-template-columns:minmax(0,1fr) auto;padding-top:8px;border-top:1px solid var(--border);font-weight:700}.wide-chart-card,.waiter-chart-card{grid-column:1 / -1}.shift-top-category-grid{grid-column:1 / -1;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;overflow:visible}.compact-chart-card{min-height:220px;overflow:visible}.category-axis-tick{fill:var(--muted);font-size:12px;letter-spacing:0;pointer-events:none}.payroll-summary-card{grid-column:1 / -1}.payroll-summary-strip{display:grid;grid-template-columns:repeat(2,minmax(0,180px));gap:10px;margin-bottom:8px}.payroll-summary-strip.detailed{grid-template-columns:repeat(4,minmax(0,1fr))}.revenue-progress-legend{display:flex;align-items:center;flex-wrap:wrap;gap:8px 14px;margin:-2px 0 8px;color:var(--muted);font-size:12px}.revenue-progress-legend span{display:inline-flex;align-items:center;gap:5px}.revenue-progress-legend i{width:8px;height:8px;border-radius:999px}.operation-bucket{align-items:center;display:inline-flex;gap:6px;white-space:nowrap}.operation-bucket i{border:1px solid #fff;border-radius:999px;box-shadow:0 0 0 1px #0f172a1f;display:inline-block;height:9px;width:9px}.operation-bucket small{color:#64748b;font-size:11px}.segmented-control{display:inline-flex;min-height:36px;border:1px solid var(--border);border-radius:8px;overflow:hidden;background:var(--surface)}.segmented-control button{border:0;border-left:1px solid var(--border);background:transparent;padding:0 11px;color:var(--muted);cursor:pointer}.segmented-control button:first-child{border-left:0}.segmented-control button.active{background:var(--surface-soft);color:var(--accent);font-weight:700}.payment-flow-summary{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:8px;margin-bottom:10px}.payment-flow-card{display:grid;grid-template-columns:10px minmax(0,1fr);gap:6px 8px;align-items:center;border:1px solid var(--border);border-radius:8px;padding:9px;background:var(--surface-soft);font-size:13px}.payment-flow-card strong{grid-column:2;white-space:nowrap}.question-hint{position:relative;display:inline-grid;place-items:center;width:20px;height:20px;border-radius:999px;background:#fef3c7;color:#92400e;font-size:12px;font-weight:800;cursor:help;z-index:2}.question-hint>span{position:absolute;z-index:1300;left:50%;bottom:calc(100% + 16px);width:min(320px,78vw);padding:9px 10px;border:1px solid var(--border);border-radius:8px;background:var(--surface);color:var(--text);box-shadow:var(--shadow);font-size:12px;font-weight:400;line-height:1.35;text-align:left;transform:translate(-50%) translateY(4px);opacity:0;pointer-events:none;visibility:hidden;transition:opacity .14s ease,transform .14s ease}.question-hint:hover,.question-hint:focus{z-index:1301}.question-hint:hover>span,.question-hint:focus>span{opacity:1;visibility:visible;transform:translate(-50%) translateY(-2px)}.row-actions{display:flex;gap:6px;align-items:center}.checkbox-field{min-width:0;margin:0;border:1px solid var(--border);border-radius:8px;padding:10px 12px 12px;background:var(--surface)}.checkbox-field legend{padding:0 6px;color:var(--muted);font-size:12px;line-height:1.2}.checkbox-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(138px,1fr));gap:8px 14px}.checkbox-grid label{display:grid;grid-template-columns:34px minmax(0,1fr);align-items:center;gap:9px;min-height:30px;font-size:13px;color:var(--muted);line-height:1.25;cursor:pointer}.checkbox-grid input[type=checkbox]{appearance:none;position:relative;width:34px;height:20px;margin:0;border:1px solid var(--border);border-radius:999px;background:#d7e0eb;cursor:pointer;transition:background .15s ease,border-color .15s ease,box-shadow .15s ease}.checkbox-grid input[type=checkbox]:before{content:"";position:absolute;top:1px;left:1px;width:16px;height:16px;border-radius:999px;background:#fff;box-shadow:0 1px 3px #0f172a33;transition:transform .15s ease}.checkbox-grid input[type=checkbox]:checked{border-color:var(--accent);background:var(--accent)}.checkbox-grid input[type=checkbox]:checked:before{transform:translate(14px)}.checkbox-grid input[type=checkbox]:focus-visible{outline:none;box-shadow:0 0 0 3px #0f766e29}.schedule-checkbox-column{display:grid;gap:14px;min-width:0}.schedule-weekdays-field .checkbox-grid{grid-template-columns:repeat(7,minmax(0,1fr));gap:6px}.schedule-weekdays-field .checkbox-grid label{grid-template-columns:34px auto;justify-content:center;gap:6px;min-width:0}.schedule-weekdays-field .checkbox-grid label span{white-space:nowrap}.schedule-sync-types-field .checkbox-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.access-list{display:flex;flex-wrap:wrap;gap:6px}.access-item{display:inline-flex;align-items:center;gap:4px;padding:4px 7px;border:1px solid var(--border);border-radius:6px;font-size:12px}.access-item button{display:inline-grid;place-items:center;border:0;background:transparent;color:var(--muted);cursor:pointer;padding:0}.permission-matrix{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:10px}.role-permissions-button{min-width:104px;justify-content:center}.role-preview-heading{display:flex;align-items:baseline;gap:10px;margin-bottom:16px}.permission-preview{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:18px 28px}.permission-preview-group h3{margin:0 0 8px;font-size:13px}.permission-preview-list{display:grid;gap:6px}.permission-preview-list span{color:var(--muted);font-size:13px}.permission-matrix fieldset{min-width:0;border:1px solid var(--border);border-radius:6px;padding:10px}.permission-matrix legend{color:var(--muted);font-size:12px}.check-row{display:flex;align-items:flex-start;gap:8px;margin-top:7px;font-size:13px}.check-row input[type=checkbox]{appearance:none;position:relative;width:34px;height:20px;flex:0 0 34px;margin:0;border:1px solid var(--border);border-radius:999px;background:#cbd5e1;cursor:pointer;transition:background .15s ease,border-color .15s ease}.check-row input[type=checkbox]:before{content:"";position:absolute;top:1px;left:1px;width:16px;height:16px;border-radius:999px;background:#fff;box-shadow:0 1px 4px #0f172a40;transition:transform .15s ease}.check-row input[type=checkbox]:checked{border-color:var(--accent);background:var(--accent)}.check-row input[type=checkbox]:checked:before{transform:translate(14px)}.check-row input[type=checkbox]:focus-visible{outline:2px solid rgba(15,118,110,.35);outline-offset:2px}.check-row.inline-check{align-items:center;min-height:38px;margin-top:0;padding:0 8px}.employee-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;padding:14px 0;border-top:1px solid var(--border);border-bottom:1px solid var(--border)}.employee-performance-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:8px 0 18px}.metric-card.compact{display:grid;gap:7px;min-height:126px;padding:12px;border:1px solid var(--border);border-radius:8px;background:var(--surface-soft)}.metric-card.compact>strong{font-size:20px;line-height:1.1}.metric-card-lines{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:4px 10px;font-size:12px}.metric-card-lines span{color:var(--muted);min-width:0}.metric-card-lines b{text-align:right;white-space:nowrap}.empty{display:grid;place-items:center;min-height:180px;color:var(--muted)}.warning-box{border:1px solid #facc15;background:#fefce8;color:#854d0e;border-radius:8px;padding:12px}.notification-center{position:fixed;top:max(16px,env(safe-area-inset-top));right:max(16px,env(safe-area-inset-right));z-index:var(--ui-z-notification);display:grid;width:min(400px,calc(100vw - 32px));gap:10px;pointer-events:none}.notification-toast{display:grid;grid-template-columns:22px minmax(0,1fr) 30px;align-items:start;gap:10px;padding:13px 12px 13px 14px;border:1px solid var(--border);border-left-width:4px;border-radius:var(--ui-radius);background:var(--surface);box-shadow:0 14px 38px #0f172a33;color:var(--text);pointer-events:auto;animation:notification-in .16s ease-out}.notification-toast.success{border-left-color:var(--ok)}.notification-toast.error{border-left-color:var(--danger)}.notification-toast.warning{border-left-color:#d97706}.notification-toast.info{border-left-color:#2563eb}.notification-toast.success .notification-toast-icon{color:var(--ok)}.notification-toast.error .notification-toast-icon{color:var(--danger)}.notification-toast.warning .notification-toast-icon{color:#d97706}.notification-toast.info .notification-toast-icon{color:#2563eb}.notification-toast-copy{min-width:0}.notification-toast-copy strong,.notification-toast-copy p,.notification-toast-copy small{display:block;margin:0}.notification-toast-copy p{margin-top:3px;overflow-wrap:anywhere;color:var(--text);font-size:14px;line-height:1.4}.notification-toast-copy small{margin-top:6px;color:var(--muted);font-size:12px}.notification-toast-close{display:grid;width:30px;height:30px;place-items:center;padding:0;border:0;border-radius:6px;background:transparent;color:var(--muted);cursor:pointer}.notification-toast-close:hover{background:var(--surface-soft);color:var(--text)}@keyframes notification-in{0%{opacity:0;transform:translateY(-8px)}to{opacity:1;transform:translateY(0)}}@media(prefers-reduced-motion:reduce){.notification-toast{animation:none}}@media(max-width:640px){.notification-center{top:max(10px,env(safe-area-inset-top));right:10px;width:calc(100vw - 20px)}}.ofd-empty{display:flex;align-items:center;gap:10px;min-height:72px;padding:14px 16px;border:1px solid color-mix(in srgb,var(--success) 42%,var(--border));border-radius:8px;background:color-mix(in srgb,var(--success) 9%,var(--surface));color:var(--success)}.ofd-empty div{display:grid;gap:4px}.ofd-empty span{font-size:12px;color:var(--muted)}.ofd-errors-table table{min-width:920px}.ofd-error-summary{display:flex;align-items:flex-start;gap:10px;min-width:260px;max-width:560px}.ofd-error-summary>div,.ofd-reference{display:grid;gap:3px}.ofd-error-summary span:not(.ofd-error-icon),.ofd-reference span{color:var(--muted);font-size:12px;line-height:1.4}.ofd-error-summary span:not(.ofd-error-icon){display:-webkit-box;overflow:hidden;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow-wrap:anywhere}.ofd-error-icon{display:inline-grid;flex:0 0 30px;width:30px;height:30px;place-items:center;border-radius:50%;background:color-mix(in srgb,var(--warning) 16%,transparent);color:var(--warning)}.ofd-error-modal-content{display:grid;gap:20px}.ofd-error-overview{display:flex;align-items:flex-start;gap:12px;padding:14px 16px;border-left:3px solid var(--warning);border-radius:0 6px 6px 0;background:color-mix(in srgb,var(--warning) 8%,var(--surface-soft))}.ofd-error-overview h3,.ofd-error-overview p,.ofd-error-context-grid,.ofd-error-context-grid dt,.ofd-error-context-grid dd,.ofd-error-outcomes h3,.ofd-error-technical p,.ofd-error-technical pre{margin:0}.ofd-error-overview h3{font-size:16px}.ofd-error-overview p{margin-top:4px;color:var(--muted);line-height:1.5}.ofd-error-context-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px 20px;padding:16px 0;border-top:1px solid var(--border);border-bottom:1px solid var(--border)}.ofd-error-context-item{display:grid;gap:4px;min-width:0}.ofd-error-context-item dt{color:var(--muted);font-size:12px}.ofd-error-context-item dd{overflow-wrap:anywhere;font-weight:650}.ofd-error-outcomes{display:grid;gap:8px}.ofd-error-outcomes h3{margin-bottom:2px;font-size:15px}.ofd-error-outcome{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:42px;padding:8px 0;border-bottom:1px solid var(--border)}.status-pill.error{background:color-mix(in srgb,var(--danger) 14%,var(--surface));color:var(--danger)}.ofd-error-technical{padding-top:2px;border-top:1px solid var(--border)}.ofd-error-technical summary{width:max-content;padding:12px 0 6px;cursor:pointer;font-weight:650}.ofd-error-technical p{color:var(--muted);font-size:12px}.ofd-error-technical pre{max-height:280px;overflow:auto;margin-top:10px;padding:14px;border:1px solid var(--border);border-radius:6px;background:var(--surface-soft);color:var(--text);font-family:ui-monospace,SFMono-Regular,Consolas,monospace;font-size:12px;line-height:1.5;white-space:pre-wrap;overflow-wrap:anywhere}@media(max-width:760px){.ofd-error-context-grid{grid-template-columns:1fr}.ofd-error-outcome{align-items:flex-start}}.sync-issues-table.compact{max-height:270px;overflow:auto}.sync-issues-table.compact th,.sync-issues-table.compact td{padding:8px 9px;font-size:12px}.sync-message-cell{min-width:220px;max-width:520px;overflow:hidden;text-overflow:ellipsis}.sync-details-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;padding:14px 0;border-top:1px solid var(--border);border-bottom:1px solid var(--border)}.sync-error-details{max-height:45vh;overflow:auto;margin:0;padding:14px;border:1px solid var(--border);border-radius:6px;background:var(--surface-soft);color:var(--text);font:inherit;font-size:13px;line-height:1.5;white-space:pre-wrap;overflow-wrap:anywhere}.sync-warning-list{display:grid;gap:8px}.sync-warning-list .warning-box{display:flex;align-items:flex-start;gap:8px}.alias-list{display:grid;gap:8px}.source-settings-list,.finance-group-list,.finance-category-picker{display:grid;gap:10px}.source-setting-row,.finance-group-card,.finance-category-option{display:grid;align-items:center;gap:12px;padding:12px;border:1px solid var(--border);border-radius:8px;background:var(--surface)}.source-setting-row{grid-template-columns:minmax(0,1fr) minmax(180px,240px)}.source-setting-row small,.finance-category-option small{display:block;margin-top:3px;color:var(--muted)}.finance-group-card{grid-template-columns:minmax(0,1fr) auto}.finance-category-picker{max-height:min(460px,50vh);overflow:auto;padding-right:2px}.finance-category-option{grid-template-columns:22px minmax(0,1fr)}.document-source-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:12px}.alias-row{display:grid;grid-template-columns:minmax(150px,1fr) minmax(180px,1fr) auto;align-items:center;gap:10px;padding:10px 0;border-bottom:1px solid var(--border)}.price-comparison-content{gap:14px}.price-comparison-search{width:min(420px,100%)}.price-comparison-groups,.price-risk-list{display:grid;gap:12px}.price-comparison-group{display:grid;gap:14px;padding:14px}.price-comparison-group>header,.price-comparison-detail-heading,.price-comparison-group-actions,.price-comparison-candidate-tools{display:flex;align-items:center;justify-content:space-between;gap:10px}.price-comparison-group h3,.price-comparison-group p,.price-comparison-assignment-summary h3{margin:0}.price-comparison-group p,.price-comparison-detail-heading>span{color:var(--muted);font-size:13px}.price-comparison-group-actions{justify-content:flex-end}.price-comparison-restaurant-list{display:grid;grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:8px}.price-comparison-restaurant-list>div{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:baseline;gap:3px 12px;min-width:0;padding:10px 11px;border:1px solid var(--border);border-radius:7px;background:var(--surface-soft)}.price-comparison-restaurant-list>div>span,.price-comparison-restaurant-list>div>small{min-width:0;overflow:hidden;color:var(--muted);text-overflow:ellipsis;white-space:nowrap;font-size:12px}.price-comparison-restaurant-list>div>strong{font-variant-numeric:tabular-nums;white-space:nowrap}.price-comparison-restaurant-list>div>small{grid-column:1 / -1}.price-risk-card{display:grid;grid-template-columns:auto minmax(180px,1.5fr) repeat(2,minmax(120px,.8fr)) minmax(132px,.9fr) auto;align-items:center;gap:12px;padding:13px 14px}.price-risk-icon{display:grid;place-items:center;width:36px;height:36px;border-radius:50%;background:#fff4d6;color:#ae6d00}.price-risk-main,.price-risk-card>div:not(.price-risk-icon){display:grid;gap:3px;min-width:0}.price-risk-main span,.price-risk-card>div>span{color:var(--muted);font-size:12px}.price-risk-card strong{font-variant-numeric:tabular-nums}.price-risk-card>.icon-btn{justify-self:end}.price-risk-growth strong{color:#b42318}.price-monitoring-badge{align-items:center;border:1px solid transparent;border-radius:999px;display:inline-flex;font-size:12px;font-weight:700;line-height:1.2;max-width:100%;padding:5px 8px;white-space:nowrap}.price-monitoring-badge.growth{background:#fff1f2;border-color:#fecdd3;color:#be123c}.price-monitoring-badge.normal{background:#ecfdf5;border-color:#a7f3d0;color:#047857}.price-monitoring-badge.insufficient_data{background:#f8fafc;border-color:#d8dee7;color:#64748b}.price-monitoring-badge.disabled{background:#f1f5f9;border-color:#cbd5e1;color:#475569}.price-monitoring-button{background:transparent;border:0;cursor:pointer;margin:0;max-width:100%;padding:0;text-align:left}.price-monitoring-button:focus-visible .price-monitoring-badge,.price-monitoring-button:hover .price-monitoring-badge{box-shadow:0 0 0 3px #be123c24}.price-monitoring-summary{border:1px solid #fecdd3;border-radius:8px;display:grid;gap:12px;margin:14px 0;padding:14px;background:#fffafb}.price-monitoring-summary .section-heading{align-items:start;margin:0}.price-monitoring-summary .section-heading h3{font-size:16px}.price-monitoring-summary .section-heading p{margin:3px 0 0}.price-monitoring-alerts{display:grid;gap:8px;grid-template-columns:repeat(auto-fit,minmax(230px,1fr))}.price-monitoring-alerts article{display:grid;gap:4px;padding:10px;border:1px solid #fecdd3;border-radius:6px;background:var(--surface)}.price-monitoring-alerts span,.price-monitoring-alerts small{color:var(--muted);font-size:12px}.price-comparison-modal{overflow:auto}.nested-modal-backdrop{z-index:1650}.price-comparison-chart{width:100%;height:320px;margin:14px 0;border:1px solid var(--border);border-radius:8px;padding:10px;background:var(--surface)}.price-comparison-chart .recharts-default-legend{margin-top:8px!important}.price-comparison-assignment-summary{display:grid;gap:8px;margin:16px 0}.price-comparison-assignment-summary>div{display:flex;flex-wrap:wrap;gap:7px}.price-comparison-assignment-summary span{display:inline-flex;padding:5px 8px;border:1px solid var(--border);border-radius:6px;background:var(--surface-soft);color:var(--muted);font-size:12px}.price-comparison-invoices,.price-comparison-candidates{max-height:min(48vh,480px);overflow:auto}.price-comparison-invoices table,.price-comparison-candidates table{min-width:760px}.invoice-quick-open{align-items:center;background:transparent;border:0;color:var(--accent);cursor:pointer;display:inline-flex;font:inherit;font-weight:600;gap:6px;margin:0;max-width:100%;padding:0;text-align:left}.invoice-quick-open:hover,.invoice-quick-open:focus-visible{color:var(--accent-strong);text-decoration:underline}.price-comparison-candidate-tools{display:grid;grid-template-columns:minmax(240px,1fr) auto auto;align-items:end;justify-content:stretch;margin:14px 0 12px}.price-comparison-candidate-tools>.field{width:min(420px,100%)}.price-comparison-candidate-tools>.check-row,.price-comparison-candidate-tools>.ui-toggle{min-height:38px;margin:0;padding:0 2px;white-space:nowrap}.price-comparison-candidate-actions{display:inline-flex;align-items:center;justify-content:flex-end;flex-wrap:wrap;gap:8px}.price-comparison-candidates td:nth-child(4){min-width:230px}.price-comparison-candidates td:first-child{min-width:220px;white-space:normal}.price-comparison-content .section-toolbar{align-items:flex-start;margin-bottom:0}.price-comparison-content .toolbar-actions{flex:0 0 auto}.comparison-group-candidates{display:grid;gap:10px;margin-top:16px;padding-top:16px;border-top:1px solid var(--border)}.comparison-group-candidates-heading{display:flex;align-items:center;justify-content:space-between;gap:12px}.comparison-group-candidates-heading h3,.comparison-group-candidates-heading p{margin:0}.comparison-group-candidates-heading h3{font-size:15px}.comparison-group-candidates-heading p{margin-top:3px;color:var(--muted);font-size:13px}.comparison-group-candidates-heading>strong{flex:0 0 auto;color:var(--primary);font-size:13px;white-space:nowrap}.comparison-group-candidate-list{display:grid;max-height:282px;overflow:auto;border:1px solid var(--border);border-radius:8px}.comparison-group-candidate{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:10px;min-height:54px;padding:9px 11px;border-bottom:1px solid var(--border);cursor:pointer}.comparison-group-candidate:last-child{border-bottom:0}.comparison-group-candidate:hover{background:var(--surface-soft)}.comparison-group-candidate.locked{cursor:default;opacity:.62}.comparison-group-candidate>span{display:grid;min-width:0;gap:3px}.comparison-group-candidate strong,.comparison-group-candidate small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.comparison-group-candidate small,.comparison-group-candidate em{color:var(--muted);font-size:12px;font-style:normal}.comparison-group-candidate em{white-space:nowrap}.price-comparison-candidates .metric-label{display:block;margin-top:3px}.price-comparison-generation-result{margin:0 0 12px}.notice-box{padding:10px 12px;border:1px solid #b6d6d2;border-radius:8px;background:#eef8f6;color:#176c65;font-size:13px;line-height:1.4}.chart-tooltip span{display:flex;align-items:center;gap:6px}.chart-tooltip i{width:8px;height:8px;flex:0 0 8px;border-radius:50%}@keyframes spin{to{transform:rotate(360deg)}}@keyframes pulse{50%{opacity:.35}}@keyframes loading-bar{0%{transform:translate(-100%)}to{transform:translate(390%)}}@keyframes skeleton-shimmer{to{transform:translate(100%)}}@keyframes content-fade-in{0%{opacity:.65;transform:translateY(3px)}to{opacity:1;transform:translateY(0)}}@media(max-width:1260px){.price-comparison-candidate-tools{grid-template-columns:minmax(240px,1fr) auto}.price-comparison-candidate-actions{grid-column:1 / -1;justify-content:flex-start}.warehouse-panel-header{flex-direction:column;align-items:stretch}.warehouse-panel-summary{width:100%}}@media(max-width:980px){.payroll-group-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.shift-analytics-layout,.shift-top-category-grid,.revenue-donut-layout,.payroll-summary-strip.detailed,.app-shell,.app-shell.sidebar-collapsed{grid-template-columns:1fr}.main{padding-top:63px}.sidebar{position:fixed;inset:0 auto 0 0;width:min(86vw,300px);height:100vh;z-index:300;transform:translate(-105%);transition:transform .16s ease}.sidebar-toggle{display:none}.sidebar.open{transform:translate(0)}.sidebar-backdrop{display:block;position:fixed;inset:0;z-index:250;border:0;background:#0f172a73}.mobile-menu-button{display:inline-flex;flex:0 0 auto}.grid.kpi,.grid.two,.grid.three,.form-grid,.employee-profile-form,.employee-summary,.sync-details-grid{grid-template-columns:1fr}.raw-storage-summary{grid-template-columns:repeat(2,minmax(0,1fr))}.raw-storage-summary>div:nth-child(2){border-right:0}.raw-storage-summary>div:nth-child(-n+2){border-bottom:1px solid var(--border)}.topbar{justify-content:flex-start;padding:12px 14px;left:0}.sidebar-collapsed .topbar{left:0}.topbar-title{margin-right:auto}.topbar-title .metric-label,.filter-trigger>span,.sync-button span{display:none}.topbar-actions{gap:5px}.filter-trigger,.sync-button,.sync-status-square{min-width:38px;width:38px;padding:8px}.filter-panel{max-height:calc(100vh - 82px)}.content{padding:14px}.content-loading-bar{top:63px;margin:-14px 0 11px}.skeleton-toolbar,.skeleton-table-head{align-items:stretch;flex-direction:column}.skeleton-actions{justify-content:flex-start;width:100%}.skeleton-button{width:min(148px,46vw)}.skeleton-table-row{grid-template-columns:1fr .8fr}.toolbar{align-items:flex-start;flex-direction:column}.employee-total-card,.procurement-summary{grid-template-columns:repeat(2,minmax(0,1fr))}.warehouse-filters{grid-template-columns:1fr}.warehouse-product-summary{grid-template-columns:repeat(2,minmax(0,1fr))}.warehouse-selection-heading,.warehouse-panel-header{flex-direction:column;align-items:stretch}.warehouse-panel-summary{width:100%}.one-c-diagnostics-grid{grid-template-columns:1fr}.modal-actions{justify-content:stretch}.modal-actions .btn{flex:1 1 160px;justify-content:center}.employee-performance-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.payroll-group-breakdown{grid-template-columns:1fr}.employee-role-filter{width:100%;min-width:0}.alias-row,.source-setting-row,.finance-group-card{grid-template-columns:1fr}.price-comparison-group>header,.price-comparison-detail-heading{align-items:stretch;flex-direction:column}.price-comparison-candidate-tools{grid-template-columns:1fr;align-items:stretch}.price-comparison-candidate-tools>.field{width:100%}.price-comparison-candidate-tools>.check-row,.price-comparison-candidate-tools>.ui-toggle{min-height:34px}.price-comparison-candidate-actions{justify-content:stretch}.price-comparison-candidate-actions .btn{flex:1 1 180px;justify-content:center}.price-comparison-group-actions{justify-content:stretch}.price-comparison-group-actions .btn{flex:1 1 140px;justify-content:center}.price-risk-card{grid-template-columns:auto minmax(0,1fr);gap:10px}.price-risk-main{grid-column:2}.price-risk-card>div:not(.price-risk-icon):not(.price-risk-main){grid-column:span 1}.price-risk-card>.btn:not(.icon-btn){grid-column:1 / -1;justify-content:center}.price-risk-card>.icon-btn{grid-column:2;justify-self:start}.price-comparison-chart{height:270px;padding:4px}.cashflow-report-header{grid-template-columns:1fr;align-items:stretch}.cashflow-page-actions{justify-content:flex-start}.cashflow-report-meta{justify-items:start}.modal-backdrop{padding:72px 0 0}.modal{width:100%;height:calc(100vh - 72px);max-height:calc(100vh - 72px);border-radius:0;padding:14px}.cash-shift-modal{height:auto;min-height:calc(100vh - 72px);max-height:none;overflow:visible}}@media(max-width:760px){.cashflow-page-actions>.btn{flex:1 1 calc(50% - 6px);justify-content:center}.cashflow-summary-tiles{grid-template-columns:1fr}.cashflow-plan-fact-chart{padding:12px}.cashflow-plan-fact-chart-heading{align-items:flex-start;flex-direction:column;gap:3px}.cashflow-plan-fact-chart-plot{height:212px}.cashflow-report-meta{justify-items:stretch}.cashflow-source-line,.cashflow-report-actions{justify-content:flex-start}.cashflow-report-table{min-width:720px}.cashflow-restaurant-tab{min-height:34px;padding:0 11px}.cashflow-import-picker{align-items:flex-start;flex-wrap:wrap}.cashflow-import-picker .btn{margin-left:32px}.cashflow-import-queue-head{display:none}.cashflow-import-row{grid-template-columns:minmax(0,1fr) 38px;gap:10px;padding:12px}.cashflow-import-file{grid-column:1}.cashflow-import-row>.icon-btn{grid-column:2;grid-row:1;justify-self:end}.cashflow-import-field,.cashflow-import-status{grid-column:1 / -1}.cashflow-import-field>span{display:inline}.procurement-request-header{grid-template-columns:1fr}.procurement-request-total{order:-1;min-width:0;border-bottom:1px solid var(--border);border-left-width:3px}.procurement-request-meta{grid-template-columns:repeat(2,minmax(0,1fr))}.procurement-request-meta>div{border-bottom:1px solid var(--border)}.procurement-request-meta>div:nth-child(2n){border-right:0}.procurement-request-meta>div:last-child{grid-column:1 / -1;border-bottom:0;border-right:0}.procurement-request-action-row,.procurement-request-secondary-actions,.procurement-request-primary-actions{align-items:stretch;flex-direction:column;width:100%}.procurement-request-primary-actions{margin-left:0}.procurement-request-action-row .btn{width:100%;justify-content:center}.procurement-request-history-toggle>span{align-items:flex-start;flex-direction:column;gap:2px}.procurement-variant-form,.supplier-page-filters,.supplier-summary{grid-template-columns:1fr}.supplier-search{grid-column:auto}.procurement-picker-row{grid-template-columns:38px minmax(0,1fr);gap:4px}.procurement-picker-check{min-height:88px}.procurement-picker-open{grid-template-columns:minmax(0,1fr);min-height:88px;gap:6px;padding-inline:8px}.procurement-picker-state{justify-content:flex-start}.procurement-picker-quantity,.procurement-picker-row-actions{grid-column:2;margin:0 8px 10px}.procurement-picker-row-actions{justify-content:flex-start}.procurement-picker-tools,.procurement-picker-tools>div,.procurement-picker-footer{align-items:stretch}.procurement-picker-tools,.procurement-picker-footer{flex-direction:column}.procurement-picker-tools>div{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.procurement-picker-footer .btn{width:100%;justify-content:center}.supplier-page-toolbar>div{grid-template-columns:1fr}.supplier-page-toolbar p{grid-column:auto}.payroll-group-grid{grid-template-columns:1fr}.integration-view-tabs{display:flex;width:100%}.integration-view-tabs button{flex:1 1 50%;justify-content:center;padding-inline:8px;font-size:13px}.raw-storage-policy,.raw-storage-actions{align-items:stretch}.raw-storage-policy .field,.raw-storage-actions .field,.raw-storage-policy .btn,.raw-storage-actions .btn{width:100%}.raw-storage-summary{grid-template-columns:1fr}.raw-storage-summary>div,.raw-storage-summary>div:nth-child(2){border-right:0;border-bottom:1px solid var(--border)}.raw-storage-summary>div:last-child{border-bottom:0}.segmented-control{width:100%;display:grid;grid-template-columns:1fr}.segmented-control button{min-height:34px;border-left:0;border-top:1px solid var(--border)}.segmented-control button:first-child{border-top:0}.payroll-summary-strip,.payment-flow-summary{grid-template-columns:1fr}.payroll-group-card.featured{grid-column:span 1}.unclassified-category-row{grid-template-columns:1fr}.cash-shifts-table th,.cash-shifts-table td{height:auto;white-space:normal}.sales-group-mini{max-width:100%;white-space:normal;flex-wrap:wrap}.table-wrap{overflow:visible;background:transparent;border:0;border-radius:0}.table-wrap table,.table-wrap thead,.table-wrap tbody,.table-wrap tr,.table-wrap td{display:block;width:100%}.table-wrap.fixed-table table,.documents-table table{min-width:0;table-layout:auto}.table-wrap thead{display:none}.table-wrap tbody{display:grid;gap:8px}.table-wrap tr{background:var(--surface);border:1px solid var(--border);border-radius:8px;padding:8px 10px}.table-wrap tr.clickable-row{cursor:pointer}.table-wrap tr.empty-row{padding:12px}.table-wrap td{display:grid;grid-template-columns:minmax(82px,35%) minmax(0,1fr);align-items:start;gap:8px;min-width:0;padding:5px 0;border:0;overflow:visible;text-overflow:clip;white-space:normal}.table-wrap td>*{min-width:0;max-width:100%}.table-wrap td:before{content:attr(data-label);color:var(--muted);font-size:11px;font-weight:700;line-height:1.35;text-transform:uppercase;white-space:normal}.table-wrap td:not([data-label]),.table-wrap td[data-label=""],.table-wrap tr.empty-row td{display:block}.table-wrap td:not([data-label]):before,.table-wrap td[data-label=""]:before,.table-wrap tr.empty-row td:before{display:none}.table-wrap .row-actions{justify-content:flex-start;flex-wrap:wrap}.employees-table .select-cell,.employees-table .select-cell+td{width:auto;max-width:none}.employees-table .select-cell{padding:2px 0 4px;text-align:left}.comparison-matrix td:first-child,.comparison-matrix th:first-child{position:static}.comparison-cell{min-width:0}.payroll-group-values{grid-template-columns:1fr}.cashflow-report .report-1c-wrap{max-height:none;overflow:visible;padding:10px}.cashflow-report .report-1c-table,.cashflow-report .report-1c-table thead,.cashflow-report .report-1c-table tbody,.cashflow-report .report-1c-table tr,.cashflow-report .report-1c-table td{display:block;width:100%;min-width:0}.cashflow-report .report-1c-table{table-layout:auto}.cashflow-report .report-1c-table tbody{display:grid;gap:8px}.cashflow-report .report-1c-table tr{padding:10px 12px}.cashflow-report .report-1c-table td,.cashflow-report .report-1c-table td:first-child{position:static;display:grid;grid-template-columns:minmax(104px,40%) minmax(0,1fr);align-items:center;gap:8px;width:100%;min-width:0;padding:6px 0;border:0;background:transparent;box-shadow:none;text-align:right}.cashflow-report .report-1c-table td:first-child{display:block;padding-top:0;padding-bottom:9px;margin-bottom:3px;border-bottom:1px solid var(--border);text-align:left}.cashflow-report .report-1c-table td:first-child:before{display:none}.cashflow-report .report-1c-table td:before{text-align:left}.cashflow-report .report-1c-name{display:flex;align-items:flex-start;min-width:0;line-height:1.35}.cashflow-report .cashflow-completion{justify-content:flex-end}.cashflow-report .report-1c-table tr.report-1c-section{background:#e7f2f0;border:1px solid #b9dcd7;border-left:4px solid var(--accent)}.cashflow-report .report-1c-table tr.report-1c-total{background:#eaf0f5;border:2px solid #91a4b8;border-left-width:4px}.cashflow-report .report-1c-table tr.report-1c-section td,.cashflow-report .report-1c-table tr.report-1c-total td,.cashflow-report .report-1c-table tr.report-1c-section td:first-child,.cashflow-report .report-1c-table tr.report-1c-total td:first-child{background:transparent;box-shadow:none;font-size:14px;font-weight:800}.warehouse-store-tab-wrap{max-width:82vw}.warehouse-alias-inline{width:min(100%,82vw)}.warehouse-alias-inline input{min-width:0;width:100%}.price-comparison-candidates{overflow:auto;border:1px solid var(--border);border-radius:8px;background:var(--surface)}.price-comparison-candidates table,.price-comparison-candidates thead,.price-comparison-candidates tbody,.price-comparison-candidates tr,.price-comparison-candidates td{width:auto}.price-comparison-candidates table{display:table;min-width:760px}.price-comparison-candidates thead{display:table-header-group}.price-comparison-candidates tbody{display:table-row-group}.price-comparison-candidates tr{display:table-row;border:0;border-radius:0;padding:0}.price-comparison-candidates td{display:table-cell;padding:10px 12px;border-bottom:1px solid var(--border);white-space:nowrap}.price-comparison-candidates td:first-child{white-space:normal}.price-comparison-candidates td:before{display:none}}@media(max-width:760px){.toolbar-actions{width:100%;justify-content:flex-start}.warehouse-content{gap:12px}.warehouse-header h2{font-size:21px}.warehouse-tabs{margin:0 -2px}.warehouse-tabs>button{min-height:36px;padding:0 11px}.warehouse-store-selection,.warehouse-store-panel{padding:12px}.warehouse-selection-heading{align-items:flex-start;flex-direction:column}.warehouse-restaurant-total{width:100%;min-width:0;padding:9px 0 0;border-top:1px solid var(--border);border-left:0;text-align:left}.warehouse-store-tab-wrap{max-width:78vw}.warehouse-store-tab{max-width:calc(78vw - 38px)}.warehouse-panel-header{align-items:stretch;gap:12px}.warehouse-panel-summary{width:100%;grid-template-columns:repeat(2,minmax(0,1fr))}.warehouse-panel-summary>div:last-child{grid-column:1 / -1}.warehouse-panel-tools{align-items:stretch;flex-direction:column}.warehouse-panel-search{width:100%;margin-left:0}.warehouse-visibility-tabs{align-self:flex-start}.warehouse-product-name{min-width:0}.comparison-group-candidates-heading{align-items:flex-start;flex-direction:column;gap:5px}.comparison-group-candidate{grid-template-columns:auto minmax(0,1fr)}.comparison-group-candidate em{grid-column:2}}.warehouse-content{gap:16px}.warehouse-header{display:flex;align-items:flex-end;justify-content:space-between;min-height:0;padding:0 2px}.warehouse-header h2{margin:0}.warehouse-header p{margin:6px 0 0;color:var(--muted)}.warehouse-tabs{width:100%;overflow-x:auto;scrollbar-width:thin}.warehouse-store-selection{display:grid;gap:10px;padding:12px 16px;box-shadow:0 1px 2px #0f172a08}.warehouse-selection-heading{display:flex;min-width:0;min-height:38px;align-items:center;gap:18px}.warehouse-selection-heading>div:first-child{min-width:0}.warehouse-selection-heading h3,.warehouse-selection-heading p{margin:0}.warehouse-selection-title{display:inline-flex;min-width:0;align-items:baseline;gap:8px}.warehouse-selection-title>span,.warehouse-restaurant-total>span{color:var(--muted);font-size:12px}.warehouse-restaurant-total{display:inline-flex;min-width:0;margin-left:auto;padding-left:16px;align-items:baseline;gap:8px;border-left:1px solid var(--border);background:transparent}.warehouse-store-tabs{display:flex;align-items:center;flex-wrap:nowrap;overflow-x:auto;padding:2px 0 5px;scrollbar-width:thin}.warehouse-store-tab-wrap{display:inline-flex;align-items:center;flex:0 0 auto;min-width:0}.warehouse-store-tab{display:inline-grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:7px;min-width:148px;max-width:270px;font-variant-numeric:tabular-nums}.warehouse-store-tab span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.warehouse-store-tab small{padding-left:7px;border-left:1px solid currentColor}.warehouse-store-tab-wrap.active .warehouse-store-tab{font-weight:700}.warehouse-store-tab-wrap.active .warehouse-store-tab:has(+.warehouse-store-tab-edit){border-top-right-radius:0;border-bottom-right-radius:0}.warehouse-store-tab-edit{flex:0 0 34px;margin-left:-1px;border-top-left-radius:0;border-bottom-left-radius:0}.warehouse-store-panel{padding:16px;border-color:var(--border);box-shadow:0 1px 2px #0f172a0a}.warehouse-panel-title h2{font-size:20px}.warehouse-panel-restaurant{color:var(--muted);font-size:13px}.warehouse-panel-summary>div{background:var(--surface-soft)}.warehouse-panel-summary strong{font-variant-numeric:tabular-nums}.warehouse-panel-tools{display:grid;grid-template-columns:minmax(0,1fr) minmax(260px,390px);align-items:end;gap:14px 20px}.warehouse-panel-search{margin-left:0}.warehouse-catalog-table{min-height:340px}.warehouse-catalog-table tbody tr{height:66px}.price-comparison-group-table{overflow:auto;border:1px solid var(--border);border-radius:8px;background:var(--surface)}.price-comparison-group-table table{width:100%;min-width:900px;border-collapse:collapse}.price-comparison-group-table th,.price-comparison-group-table td{padding:12px 14px;vertical-align:middle}.price-comparison-group-table th{color:var(--muted);background:var(--surface-soft);font-size:12px;font-weight:700;text-align:left}.price-comparison-group-table td{border-top:1px solid var(--border)}.price-comparison-group-table td strong,.price-comparison-group-table td small{display:block}.price-comparison-group-table tr:hover td{background:#f7fbfb}.price-comparison-row-actions{flex-wrap:nowrap;justify-content:flex-end}.price-comparison-row-actions .icon-btn{flex:0 0 34px;width:34px;height:34px}.price-comparison-assignments{max-height:min(50vh,420px);overflow:auto;margin-top:14px}.price-comparison-assignments table{min-width:640px}.price-comparison-modal .modal-actions{justify-content:space-between}.price-comparison-chart-hint{margin:0 0 6px}.price-point-document-list{display:grid;gap:8px}.price-point-document-list .btn{justify-content:space-between}@media(max-width:760px){.warehouse-content{gap:14px}.warehouse-header{min-height:0}.warehouse-store-selection,.warehouse-store-panel{padding:14px}.warehouse-selection-heading{align-items:stretch;flex-direction:column}.warehouse-restaurant-total{margin-left:0;padding:10px 0 0;border-top:1px solid var(--border);border-left:0}.warehouse-store-tab{min-width:132px;max-width:72vw}.warehouse-panel-tools{grid-template-columns:minmax(0,1fr)}.warehouse-panel-summary{grid-template-columns:repeat(2,minmax(0,1fr))}.price-comparison-group-table{border:0;background:transparent;overflow:visible}.price-comparison-group-table table,.price-comparison-group-table thead,.price-comparison-group-table tbody,.price-comparison-group-table tr,.price-comparison-group-table td{display:block;width:100%}.price-comparison-group-table thead{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}.price-comparison-group-table tr{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0;margin-bottom:10px;border:1px solid var(--border);border-radius:8px;background:var(--surface);overflow:hidden}.price-comparison-group-table td{min-height:58px;padding:10px 12px;border-top:0;border-right:1px solid var(--border);border-bottom:1px solid var(--border)}.price-comparison-group-table td:nth-child(odd){border-right:0}.price-comparison-group-table td:first-child,.price-comparison-group-table td:last-child{grid-column:1 / -1}.price-comparison-group-table td:last-child{min-height:50px;border-bottom:0}.price-comparison-group-table td:before{content:attr(data-label);display:block;margin-bottom:3px;color:var(--muted);font-size:11px;font-weight:700}.price-comparison-row-actions{justify-content:flex-start}}.btn.btn-primary{border-color:var(--accent);background:var(--accent);color:#fff}.btn.btn-primary:hover:not(:disabled){border-color:var(--accent-strong);background:var(--accent-strong)}.btn.btn-danger{border-color:color-mix(in srgb,var(--danger) 28%,var(--border));color:var(--danger)}.btn.btn-ghost{border-color:transparent;background:transparent}.btn.btn-sm{min-height:var(--ui-control-height-sm);padding:5px 9px}.ui-modal-backdrop{position:fixed;inset:0;z-index:var(--ui-z-backdrop);display:grid;place-items:start center;overflow:auto;padding:max(78px,env(safe-area-inset-top)) 20px 24px;background:#0f172a94;overscroll-behavior:contain}.ui-modal{position:relative;z-index:var(--ui-z-modal);display:flex;width:min(100%,880px);max-height:calc(100dvh - 102px);flex-direction:column;overflow:hidden;border:1px solid var(--border);border-radius:var(--ui-radius);background:var(--surface);box-shadow:0 24px 64px #0f172a47}.ui-modal-sm{width:min(100%,520px)}.ui-modal-md{width:min(100%,700px)}.ui-modal-lg{width:min(100%,960px)}.ui-modal-xl{width:min(100%,1180px)}.ui-modal-full{width:min(100%,1480px)}.ui-modal-header,.ui-modal-footer{display:flex;flex:0 0 auto;align-items:center;gap:var(--ui-space-3);padding:var(--ui-space-4) var(--ui-space-5);background:var(--surface)}.ui-modal-header{justify-content:space-between;border-bottom:1px solid var(--border)}.ui-modal-footer{justify-content:flex-end;flex-wrap:wrap;border-top:1px solid var(--border)}.ui-modal-title-group{min-width:0}.ui-modal-header-actions{display:flex;flex:0 0 auto;align-items:center;gap:var(--ui-space-2)}.ui-modal-title-group h2,.ui-modal-title-group p{margin:0}.ui-modal-title-group h2{font-size:22px;line-height:1.25}.ui-modal-title-group p{margin-top:4px;color:var(--muted);font-size:13px}.ui-modal-body{min-height:0;overflow:auto;padding:var(--ui-space-5);overscroll-behavior:contain}.ui-field{display:grid;min-width:0;gap:5px}.ui-field-label,.ui-field-hint,.ui-field-error{font-size:12px}.ui-field-label,.ui-field-hint{color:var(--muted)}.ui-field-error{color:var(--danger)}.ui-toggle{display:inline-grid;grid-template-columns:36px minmax(0,1fr);align-items:center;gap:10px;min-height:var(--ui-control-height);cursor:pointer}.ui-toggle>input{position:absolute;width:1px;height:1px;overflow:hidden;opacity:0;pointer-events:none}.ui-toggle .switch-control{position:relative;display:block;width:36px;height:20px;border:1px solid #bac6d4;border-radius:999px;background:#d9e1ea;transition:border-color .15s ease,background .15s ease}.ui-toggle .switch-control:after{content:"";position:absolute;top:2px;left:2px;width:14px;height:14px;border-radius:50%;background:#fff;box-shadow:0 1px 3px #0f172a47;transition:transform .15s ease}.ui-toggle>input:checked+.switch-control{border-color:var(--accent);background:var(--accent)}.ui-toggle>input:checked+.switch-control:after{transform:translate(16px)}.ui-toggle>input:focus-visible+.switch-control{outline:3px solid color-mix(in srgb,var(--accent) 22%,transparent);outline-offset:2px}.ui-toggle>input:disabled+.switch-control,.ui-toggle>input:disabled~.ui-toggle-copy{cursor:not-allowed;opacity:.55}.ui-toggle-copy{display:grid;min-width:0;gap:2px;font-size:13px}.ui-toggle-copy small{color:var(--muted)}.ui-tabs{display:flex;align-items:center;gap:4px;overflow-x:auto;padding:3px;border:1px solid var(--border);border-radius:var(--ui-radius);background:var(--surface-soft);scrollbar-width:thin}.ui-tabs>button{display:inline-flex;min-height:var(--ui-control-height-sm);flex:0 0 auto;align-items:center;gap:7px;padding:6px 10px;border:1px solid transparent;border-radius:6px;background:transparent;color:var(--text);cursor:pointer}.ui-tabs>button.active{border-color:var(--border);background:var(--surface);color:var(--accent);font-weight:700}.ui-tabs>button small{display:inline-grid;min-width:20px;min-height:20px;place-items:center;border-radius:999px;background:#dbe4ee;font-size:11px}.ui-table-toolbar{display:flex;min-height:48px;align-items:flex-end;justify-content:space-between;gap:var(--ui-space-3);margin:0 0 var(--ui-space-3)}.ui-table-toolbar-primary,.ui-table-toolbar .table-tools-meta{display:flex;min-width:0;align-items:center;flex-wrap:wrap;gap:var(--ui-space-2)}.ui-table-toolbar-primary{flex:1 1 480px}.ui-table-toolbar .search-field{flex:1 1 280px}.remote-table{position:relative;min-width:0}.remote-table-error{margin-bottom:var(--ui-space-3)}.ui-data-table{position:relative;min-height:160px;border:1px solid var(--border);border-radius:var(--ui-radius);background:var(--surface)}.ui-data-table table{width:100%;border-collapse:collapse}.ui-data-table th,.ui-data-table td{height:48px;padding:9px 12px;border-bottom:1px solid var(--border);vertical-align:middle}.ui-data-table th{position:sticky;top:0;z-index:2;background:var(--surface);color:var(--muted);font-size:12px;text-align:left;text-transform:uppercase}.ui-data-table tbody tr:last-child td{border-bottom:0}.ui-data-table .clickable-row{cursor:pointer}.ui-data-table .clickable-row:hover td{background:#f5faf9}.ui-load-state{display:grid;min-height:220px;place-items:center;align-content:center;gap:var(--ui-space-3);color:var(--muted);text-align:center}.ui-load-state.compact{min-height:140px}.ui-load-state.error{color:var(--danger)}.table-pagination{display:flex;align-items:center;justify-content:center;gap:5px;padding:var(--ui-space-3) 0 0}.pagination-page{min-width:var(--ui-control-height-sm);padding-inline:8px}.pagination-page.active{border-color:var(--accent);background:var(--accent);color:#fff}.employee-page-totals{margin-bottom:var(--ui-space-4)}.employee-list-filters{flex:1 1 360px}@media(max-width:760px){.ui-modal-backdrop{place-items:end stretch;padding:64px 0 0}.ui-modal,.ui-modal-sm,.ui-modal-md,.ui-modal-lg,.ui-modal-xl,.ui-modal-full{width:100%;max-height:calc(100dvh - 64px);border-right:0;border-bottom:0;border-left:0;border-radius:8px 8px 0 0}.ui-modal-header,.ui-modal-footer,.ui-modal-body{padding:14px}.ui-modal-title-group h2{font-size:19px}.ui-modal-footer .btn{flex:1 1 140px}.ui-table-toolbar{align-items:stretch;flex-direction:column}.ui-table-toolbar-primary,.ui-table-toolbar .table-tools-meta{width:100%}.ui-table-toolbar .table-tools-meta{justify-content:space-between}.ui-table-toolbar .search-field{width:100%;flex-basis:100%}.ui-data-table{overflow:visible;border:0;background:transparent}.ui-data-table table,.ui-data-table thead,.ui-data-table tbody,.ui-data-table tr,.ui-data-table td{display:block;width:100%}.ui-data-table thead{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}.ui-data-table tbody{display:grid;gap:10px}.ui-data-table tr{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));overflow:hidden;border:1px solid var(--border);border-radius:var(--ui-radius);background:var(--surface)}.ui-data-table td{display:grid;min-width:0;height:auto;min-height:54px;align-content:center;gap:3px;padding:9px 11px;border-right:1px solid var(--border);border-bottom:1px solid var(--border)}.ui-data-table td:nth-child(2n){border-right:0}.ui-data-table td:before{content:attr(data-label);color:var(--muted);font-size:10px;font-weight:700;text-transform:uppercase}.ui-data-table td[data-label=""],.ui-data-table td:first-child,.ui-data-table td:last-child{grid-column:1 / -1}.ui-data-table .empty-row{display:block}.ui-data-table .empty-row td{border:0}.table-pagination{overflow-x:auto;justify-content:flex-start}}
