:root{--bg: #f6f7f9;--surface: #ffffff;--surface-soft: #eef2f6;--border: #d8dee7;--text: #1f2937;--muted: #64748b;--accent: #0f766e;--accent-strong: #0b5f59;--danger: #b91c1c;--warning: #b45309;--ok: #15803d;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}*{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:#18202b;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-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:#fff;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}.rich-metric-card{display:flex;flex-direction:column;min-height:148px}.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:220px;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:210px}.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}.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:#fff;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}.report-1c-total td{background:#f7fafc;font-weight:800}.report-1c-total.report-1c-row td:first-child{background:#f7fafc}.report-1c-month{display:grid;gap:2px}.report-1c-month span{color:var(--muted);font-size:12px}.cashflow-content{gap:14px}.cashflow-header{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap}.cashflow-header h2,.cashflow-report-header h2,.cashflow-report-header h3{margin:0}.cashflow-header p{margin:5px 0 0;color:var(--muted)}.cashflow-header-actions{display:flex;align-items:center;justify-content:flex-end;gap:8px;flex-wrap:wrap}.cashflow-month-picker{min-height:38px;display:inline-flex;align-items:center;gap:7px;padding:0 10px;border:1px solid var(--border);border-radius:7px;background:var(--surface);color:var(--muted);font-size:13px}.cashflow-month-picker input{width:122px;min-height:28px;border:0;padding:0;background:transparent;color:var(--text);font:inherit;font-weight:700;outline:0}.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:#f8fafc;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:#fff}.cashflow-restaurant-tab.active{border-color:#b6d6d2;background:#fff;color:var(--primary);box-shadow:0 1px 2px #0f172a0f}.cashflow-report{padding:0;overflow:hidden}.cashflow-report-header{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;padding:16px 18px;border-bottom:1px solid var(--border)}.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-top:7px}.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))}.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{display:inline-flex;align-items:center;gap:6px;padding:4px 8px;border-radius:999px;font-size:12px;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:#fff;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-drawer-backdrop{position:fixed;inset:0;z-index:1800;display:flex;justify-content:flex-end;background:#10182875}.procurement-drawer{display:grid;grid-template-rows:auto minmax(0,1fr) auto;width:min(680px,92vw);height:100dvh;background:var(--surface);border-left:1px solid var(--border);box-shadow:-12px 0 32px #1018282e}.procurement-product-picker{width:min(860px,94vw)}.procurement-drawer-header,.procurement-drawer-footer{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;padding:18px 20px;border-bottom:1px solid var(--border)}.procurement-drawer-header h2,.procurement-drawer-header p{margin:0}.procurement-drawer-header p{margin-top:4px;color:var(--muted);font-size:13px}.procurement-drawer-footer{align-items:center;justify-content:flex-end;border-top:1px solid var(--border);border-bottom:0}.procurement-drawer-body{min-height:0;overflow:auto;padding:18px 20px}.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}.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{justify-content:space-between;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-restaurant-group{min-width:0}.warehouse-restaurant-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:16px;margin-bottom:10px;padding-bottom:8px;border-bottom:1px solid var(--border)}.warehouse-restaurant-heading>div{display:flex;align-items:baseline;min-width:0;gap:10px}.warehouse-restaurant-heading h3{margin:0;font-size:19px}.warehouse-restaurant-heading span{color:var(--muted);font-size:13px}.warehouse-restaurant-heading>strong{white-space:nowrap}.warehouse-summary{display:grid;grid-template-columns:repeat(auto-fill,minmax(230px,1fr));gap:10px}.warehouse-store-card{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:6px 12px;min-height:116px;padding:14px;color:var(--text);text-align:left;border:1px solid var(--border);border-radius:8px;background:var(--surface-soft);cursor:pointer}.warehouse-store-card:hover,.warehouse-store-card:focus-visible{border-color:var(--primary);background:#f1fbfa;outline:0}.warehouse-store-heading{display:inline-flex;grid-column:1 / -1;align-items:center;min-width:0;gap:8px}.warehouse-store-heading strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.warehouse-store-card small{grid-column:1 / -1;color:var(--muted);font-size:13px}.warehouse-store-card>b{font-size:15px}.warehouse-store-modal-backdrop{z-index:1300}.warehouse-store-modal{display:flex;flex-direction:column;gap:14px;overflow:hidden}.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-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-product-settings{padding-top:14px;border-top:1px solid var(--border)}.warehouse-store-modal>.table-shell,.warehouse-store-modal>.table-wrap{min-height:0;overflow:auto}.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}.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)}@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: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))}.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}.cashflow-header,.cashflow-report-header{align-items:stretch;flex-direction:column}.cashflow-header-actions{justify-content:flex-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-header-actions>.btn,.cashflow-month-picker{flex:1 1 calc(50% - 6px);justify-content:center}.cashflow-month-picker input{width:112px}.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-drawer,.procurement-product-picker{width:100vw;border-left:0}.procurement-drawer-header,.procurement-drawer-body,.procurement-drawer-footer{padding-left:14px;padding-right:14px}.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}}
