*{box-sizing:border-box}.block-icon-stocktakes{display:grid;width:46px;height:46px;place-items:center;border:1px solid #c8d9f2;border-radius:14px;color:#28568c;background:#eef5ff}.block-icon-stocktakes svg,.stocktakes-eyebrow svg{width:25px;height:25px;fill:none;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:1.8}.stocktakes-page{display:grid;gap:18px;min-width:0}.stocktakes-hero{display:flex;align-items:flex-end;justify-content:space-between;gap:24px;padding:24px;border:1px solid #dbe5f2;border-radius:22px;background:radial-gradient(circle at 92% 12%,rgba(53,114,183,.14),transparent 34%),linear-gradient(135deg,#fff,#f7faff);box-shadow:var(--shadow-sm)}.stocktakes-eyebrow{display:inline-flex;align-items:center;gap:8px;color:#28568c;font-size:12px;font-weight:800;letter-spacing:.04em;text-transform:uppercase}.stocktakes-eyebrow svg{width:19px;height:19px}.stocktakes-hero h2{margin:8px 0 5px;font-size:clamp(24px,3vw,34px);line-height:1.15}.stocktakes-hero p{max-width:760px;margin:0;color:var(--text-dim);line-height:1.55}.stocktakes-readonly-badge{flex:0 0 auto;padding:8px 12px;border:1px solid #c8d9f2;border-radius:999px;color:#28568c;background:#ffffffdb;font-size:12px;font-weight:800}.stocktakes-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.stocktakes-stats article{display:grid;gap:5px;padding:16px 18px;border:1px solid var(--border);border-radius:16px;background:var(--surface);box-shadow:var(--shadow-sm)}.stocktakes-stats span{color:var(--text-dim);font-size:12px;font-weight:700}.stocktakes-stats strong{color:var(--text);font-size:20px;line-height:1.25}.stocktakes-filters{display:grid;grid-template-columns:minmax(260px,1.7fr) minmax(190px,1fr) repeat(2,minmax(150px,.75fr)) auto;align-items:end;gap:12px;padding:16px;border:1px solid var(--border);border-radius:18px;background:var(--surface)}.stocktakes-filters label,.stocktake-product-search,.stocktake-line-sort{display:grid;gap:6px;min-width:0}.stocktakes-filters label>span,.stocktake-product-search>span,.stocktake-line-sort>span{color:var(--text-dim);font-size:12px;font-weight:750}.stocktakes-filters input,.stocktakes-filters select,.stocktake-product-search input,.stocktake-line-sort select{width:100%;min-width:0;height:42px;border:1px solid var(--border);border-radius:11px;padding:0 12px;color:var(--text);background:var(--surface);font:inherit}.stocktakes-filters input:focus,.stocktakes-filters select:focus,.stocktake-product-search input:focus,.stocktake-line-sort select:focus{border-color:#5683b5;outline:3px solid rgba(53,114,183,.13)}.stocktakes-workspace{display:grid;grid-template-columns:minmax(290px,.72fr) minmax(0,1.65fr);gap:16px;min-height:620px}.stocktakes-list-panel,.stocktake-detail-panel{min-width:0;overflow:hidden;border:1px solid var(--border);border-radius:20px;background:var(--surface);box-shadow:var(--shadow-sm)}.stocktakes-list-panel{display:flex;flex-direction:column}.stocktakes-panel-head{display:flex;justify-content:space-between;padding:16px 18px;border-bottom:1px solid var(--border);background:#fafcff}.stocktakes-panel-head div{display:flex;align-items:baseline;gap:7px}.stocktakes-panel-head span{color:var(--text-dim);font-size:12px}.stocktakes-list{overflow:auto;max-height:760px}.stocktake-list-item{width:100%;padding:15px 18px;border:0;border-bottom:1px solid var(--border);text-align:left;color:var(--text);background:transparent;font:inherit;cursor:pointer;transition:background var(--speed) ease,box-shadow var(--speed) ease}.stocktake-list-item:hover{background:#f7faff}.stocktake-list-item.is-selected{background:#eef5ff;box-shadow:inset 4px 0 #3572b7}.stocktake-list-item:focus-visible{outline:3px solid rgba(53,114,183,.24);outline-offset:-3px}.stocktake-list-item>strong,.stocktake-list-item>small{display:block}.stocktake-list-date{display:block;margin-bottom:4px;color:#28568c;font-size:11px;font-weight:800}.stocktake-list-item>strong{font-size:14px}.stocktake-list-item>small{margin-top:4px;overflow:hidden;color:var(--text-dim);font-size:12px;line-height:1.4;text-overflow:ellipsis;white-space:nowrap}.stocktake-list-meta{display:flex;flex-wrap:wrap;gap:6px;margin-top:10px}.stocktake-list-meta span{padding:4px 7px;border-radius:7px;color:#526376;background:#3572b714;font-size:10px;font-weight:700}.stocktake-detail-panel{align-self:start}.stocktake-detail-head{display:flex;align-items:flex-start;justify-content:space-between;gap:24px;padding:22px;border-bottom:1px solid var(--border);background:linear-gradient(135deg,#f8fbff,#fff)}.stocktake-detail-head>div:first-child>span{color:#28568c;font-size:11px;font-weight:800}.stocktake-detail-head h3{margin:5px 0 3px;font-size:22px}.stocktake-detail-head p{margin:0;color:var(--text-dim);font-size:13px}.stocktake-detail-source{display:grid;gap:5px;flex:0 0 auto;color:var(--text-dim);text-align:right;font-size:11px}.stocktake-detail-source strong{color:var(--text)}.stocktake-detail-facts{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));margin:0;border-bottom:1px solid var(--border)}.stocktake-detail-facts>div{min-width:0;padding:14px 18px;border-right:1px solid var(--border)}.stocktake-detail-facts>div:last-child{border-right:0}.stocktake-detail-facts dt{color:var(--text-dim);font-size:10px;font-weight:700}.stocktake-detail-facts dd{margin:5px 0 0;overflow:hidden;color:var(--text);font-size:12px;font-weight:750;text-overflow:ellipsis;white-space:nowrap}.stocktake-cost-summary{display:grid;grid-template-columns:minmax(210px,1.05fr) minmax(250px,1fr) minmax(170px,.7fr);align-items:center;gap:14px 20px;padding:18px;border-bottom:1px solid #c9d9ed;background:linear-gradient(135deg,#eef5ff,#f8fbff 65%,#fff)}.stocktake-cost-total,.stocktake-cost-metrics,.stocktake-vat-mode{display:grid;gap:4px}.stocktake-cost-total>span,.stocktake-vat-mode>span{color:#526376;font-size:10px;font-weight:750}.stocktake-cost-total>strong{color:#174a7d;font-size:25px;font-variant-numeric:tabular-nums;line-height:1.15}.stocktake-cost-total>small{color:var(--text-dim);font-size:10px}.stocktake-cost-metrics{grid-template-columns:repeat(3,minmax(0,1fr))}.stocktake-cost-metrics>span{padding:9px;border:1px solid rgba(53,114,183,.14);border-radius:10px;color:var(--text-dim);background:#ffffffb8;font-size:9px;text-align:center}.stocktake-cost-metrics strong{display:block;margin-bottom:2px;color:var(--text);font-size:13px}.stocktake-cost-metrics .has-missing strong{color:#9a5b00}.stocktake-vat-mode select{width:100%;height:39px;padding:0 10px;border:1px solid #b8cde7;border-radius:10px;color:var(--text);background:#fff;font:inherit}.stocktake-vat-mode select:focus{border-color:#5683b5;outline:3px solid rgba(53,114,183,.13)}.stocktake-cost-rule{grid-column:1 / -1;margin:-3px 0 0;color:#526376;font-size:10px}.stocktake-price-error{margin:14px 18px 0}.stocktake-product-tools{display:grid;grid-template-columns:minmax(0,1fr) minmax(235px,.6fr);gap:12px;padding:16px 18px;border-bottom:1px solid var(--border)}.stocktake-lines-wrap{max-height:590px;overflow:auto}.stocktake-lines-table{margin:0}.stocktake-lines-table thead{position:sticky;top:0;z-index:1}.stocktake-sort-button{display:inline-flex;width:100%;min-height:30px;align-items:center;justify-content:space-between;gap:7px;padding:2px 0;border:0;border-radius:6px;color:inherit;background:transparent;font:inherit;font-weight:inherit;text-align:left;cursor:pointer}.stocktake-sort-button.is-numeric{justify-content:flex-end;text-align:right}.stocktake-sort-button:hover,.stocktake-sort-button.is-active{color:#174a7d}.stocktake-sort-button:focus-visible{outline:3px solid rgba(53,114,183,.2);outline-offset:2px}.stocktake-sort-icon{flex:0 0 auto;color:#7b8794;font-size:12px;line-height:1}.stocktake-sort-button.is-active .stocktake-sort-icon{color:#28568c}.stocktake-lines-table td:first-child{color:#28568c;font-weight:750}.stocktake-unit-cost>strong,.stocktake-line-total>strong,.stocktake-unit-cost>small{display:block}.stocktake-unit-cost>strong,.stocktake-line-total>strong{white-space:nowrap;font-variant-numeric:tabular-nums}.stocktake-line-total>strong{color:#174a7d}.stocktake-cost-source{width:max-content;max-width:100%;margin:4px 0 0 auto;padding:2px 5px;overflow:hidden;border-radius:5px;color:#28568c;background:#eef5ff;font-size:8px;font-weight:750;text-overflow:ellipsis;white-space:nowrap}.stocktake-cost-source.is-missing{color:#8b5500;background:#fff4d9}.stocktakes-loading,.stocktakes-empty{padding:32px 20px;color:var(--text-dim);text-align:center;font-size:13px}@media(max-width:1050px){.stocktakes-filters{grid-template-columns:repeat(2,minmax(0,1fr))}.stocktakes-filters .stocktakes-search-field{grid-column:1 / -1}.stocktakes-workspace{grid-template-columns:1fr}.stocktakes-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));max-height:420px}.stocktake-list-item{border-right:1px solid var(--border)}.stocktake-cost-summary{grid-template-columns:minmax(200px,.85fr) minmax(260px,1.15fr)}.stocktake-vat-mode{grid-column:1 / -1}}@media(max-width:720px){.stocktakes-hero{align-items:flex-start;flex-direction:column;padding:19px}.stocktakes-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.stocktakes-filters{grid-template-columns:1fr}.stocktakes-filters .stocktakes-search-field{grid-column:auto}.stocktakes-filters .btn{width:100%}.stocktakes-list{display:block;max-height:390px}.stocktake-detail-head{flex-direction:column}.stocktake-detail-source{text-align:left}.stocktake-detail-facts{grid-template-columns:repeat(2,minmax(0,1fr))}.stocktake-detail-facts>div:nth-child(2){border-right:0}.stocktake-detail-facts>div:nth-child(-n+2){border-bottom:1px solid var(--border)}.stocktake-cost-summary{grid-template-columns:1fr}.stocktake-vat-mode,.stocktake-cost-rule{grid-column:auto}.stocktake-product-tools{grid-template-columns:1fr}.stocktake-lines-table,.stocktake-lines-table tbody,.stocktake-lines-table tr,.stocktake-lines-table td{display:block;width:100%}.stocktake-lines-table thead{display:none}.stocktake-lines-table tr{padding:12px 16px;border-bottom:1px solid var(--border)}.stocktake-lines-table td{display:flex;align-items:baseline;justify-content:space-between;gap:18px;padding:4px 0;border:0;text-align:right}.stocktake-lines-table td:before{content:attr(data-label);color:var(--text-dim);font-size:10px;font-weight:700;text-align:left}.stocktake-unit-cost,.stocktake-line-total{align-items:flex-end!important}}.events-page{width:100%;min-width:0;overflow-x:clip}.events-hero{align-items:flex-end;margin-bottom:18px}.eyebrow{margin:0 0 5px;color:var(--accent-dark);font-size:11px;font-weight:800;letter-spacing:.08em;text-transform:uppercase}.page-subtitle{max-width:720px;margin:5px 0 0;color:var(--text-dim);font-size:14px}.event-summary-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin-bottom:16px}.event-summary-card{display:grid;gap:2px;min-width:0;padding:14px 16px;border:1px solid var(--border);border-radius:var(--radius);background:var(--surface);box-shadow:var(--shadow-sm)}.event-summary-card span,.event-summary-card small{overflow:hidden;color:var(--text-dim);font-size:11px;text-overflow:ellipsis;white-space:nowrap}.event-summary-card strong{color:var(--text);font-size:24px;line-height:1.1;font-variant-numeric:tabular-nums}.event-summary-card.needs-attention{border-color:#f0c36c;background:#fffbeb}.rs-reconciliation-block{margin:0 0 16px;overflow:hidden;border:1px solid #b9ddcf;border-radius:14px;background:var(--surface);box-shadow:var(--shadow-sm)}.rs-reconciliation-block>summary{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:14px 16px;list-style:none;cursor:pointer;background:linear-gradient(135deg,#f4fbf8,#fff)}.rs-reconciliation-block>summary::-webkit-details-marker{display:none}.rs-reconciliation-block>summary>span:first-child{display:grid;gap:2px}.rs-reconciliation-block>summary small{color:var(--text-dim);font-size:10px;font-weight:800;letter-spacing:.06em;text-transform:uppercase}.rs-reconciliation-counts{display:flex;gap:6px;flex-wrap:wrap;justify-content:flex-end}.rs-reconciliation-counts b,.cost-state{display:inline-flex;align-items:center;min-height:26px;padding:4px 8px;border:1px solid #b9ddcf;border-radius:999px;color:var(--accent-dark);font-size:10px;background:var(--accent-soft)}.rs-reconciliation-counts b.danger,.cost-state.incomplete{border-color:#efc078;color:#8a5100;background:#fff8e7}.cost-state.complete{border-color:#b9ddcf;color:var(--accent-dark);background:var(--accent-soft)}.rs-reconciliation-copy{padding:10px 16px;border-top:1px solid var(--border);border-bottom:1px solid var(--border);color:var(--text-dim);font-size:12px}.rs-approval-success{padding:10px 16px;border-bottom:1px solid #b9ddcf;color:var(--accent-dark);font-size:12px;font-weight:800;background:var(--accent-soft)}.rs-suggestion-controls{display:grid;gap:8px;min-width:360px;margin-top:8px;padding:10px;border:1px solid #b9ddcf;border-radius:10px;background:#f4fbf8}.rs-suggestion-copy{display:grid;gap:2px;color:var(--text-dim);font-size:11px}.rs-suggestion-copy b{color:var(--accent-dark)}.rs-suggestion-actions{display:flex;align-items:center;gap:8px}.rs-suggestion-actions select{flex:1 1 auto;min-width:0}.rs-suggestion-actions .btn{flex:0 0 auto}.rs-reconciliation-block .table-wrap{max-height:460px;overflow:auto}.rs-reconciliation-table{margin:0;box-shadow:none}.rs-reconciliation-table th{position:sticky;z-index:1;top:0;background:var(--surface-2)}.rs-row-missing_event_match td{background:#fffaf3}.event-kpi.is-partial strong{color:#9a5b00}.event-card-modern{border-radius:16px;margin-bottom:12px}.event-card-modern.is-open{border-color:#a7d7c7;box-shadow:0 14px 34px #123f311a}.event-row-button{width:100%;border:0;color:inherit;font:inherit;text-align:left;background:var(--surface)}.event-row-button:hover{background:#fbfdfc}.event-row-button:focus-visible{outline:3px solid var(--accent-ring);outline-offset:-3px}.event-date-tile{display:grid;flex:0 0 58px;place-items:center;min-height:58px;border:1px solid #b9ddcf;border-radius:13px;color:var(--accent-dark);background:var(--accent-soft)}.event-date-tile strong{align-self:end;font-size:22px;line-height:1}.event-date-tile small{align-self:start;margin-top:4px;font-size:10px;font-weight:800;text-transform:uppercase}.event-main{display:grid;flex:1 1 auto;gap:5px;min-width:0}.event-title-line,.event-meta-modern,.event-readiness{display:flex;align-items:center;min-width:0}.event-title-line{gap:8px}.event-title-line>strong{overflow:hidden;font-size:16px;text-overflow:ellipsis;white-space:nowrap}.event-meta-modern{flex-wrap:wrap;gap:5px 14px;margin:0}.event-meta-modern span:not(:first-child):before{content:"";display:inline-block;width:3px;height:3px;margin:0 8px 2px 0;border-radius:50%;background:var(--border-strong)}.meta-missing{color:#9a5b00;font-weight:650}.event-readiness{gap:8px}.event-progress{display:block;width:min(220px,55%);height:5px;overflow:hidden;border-radius:999px;background:#e5e7eb}.event-progress>span{display:block;height:100%;border-radius:inherit;background:linear-gradient(90deg,var(--accent),#22a777)}.event-readiness small{color:var(--text-dim);font-size:10px;font-weight:700}.event-kpi{display:grid;gap:1px;min-width:70px;text-align:right}.event-kpi small{color:var(--text-dim);font-size:9px}.event-kpi strong{font-size:14px;font-variant-numeric:tabular-nums}.event-card-modern .chevron{display:grid;place-items:center;width:30px;height:30px;border-radius:50%;color:var(--accent-dark);font-size:20px;background:var(--accent-soft)}.event-workspace{padding:0;background:#f7faf8}.event-detail-nav{display:flex;flex-wrap:wrap;gap:6px;padding:12px 16px;border-bottom:1px solid var(--border);background:var(--surface)}.event-detail-nav button{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:42px;padding:0 14px;border:1px solid transparent;border-radius:10px;color:var(--text-dim);font:inherit;font-size:13px;font-weight:700;background:transparent;cursor:pointer}.event-detail-nav button:hover{color:var(--text);background:var(--surface-2)}.event-detail-nav button.active{border-color:#b9ddcf;color:var(--accent-dark);background:var(--accent-soft)}.nav-count{min-width:20px;padding:2px 6px;border-radius:999px;font-size:10px;background:#e5e7eb}.nav-count.danger{color:var(--danger);background:var(--danger-bg)}.event-section-panel{min-width:0;margin:14px;padding:18px;border:1px solid var(--border);border-radius:14px;background:var(--surface);box-shadow:var(--shadow-sm)}.event-section-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:16px}.event-section-head h3,.event-section-head p{margin:0}.event-section-head h3{font-size:18px}.event-section-head p:not(.eyebrow){max-width:760px;margin-top:4px;color:var(--text-dim);font-size:12px}.event-overview-grid{display:grid;grid-template-columns:minmax(260px,.85fr) minmax(0,1.4fr);gap:16px}.planning-checklist{display:grid;gap:6px}.planning-checklist h4{margin:0 0 4px}.planning-checklist button{display:grid;grid-template-columns:26px 1fr auto;align-items:center;min-height:42px;padding:7px 10px;border:1px solid var(--border);border-radius:9px;color:var(--text);text-align:left;background:var(--surface);cursor:pointer}.planning-checklist button>span{display:grid;place-items:center;width:22px;height:22px;border-radius:50%;font-weight:800}.planning-checklist button.complete>span{color:var(--accent-dark);background:var(--accent-soft)}.planning-checklist button.incomplete>span{color:#9a5b00;background:#fef3c7}.planning-checklist button small{color:var(--text-dim);font-size:10px}.event-facts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.event-facts>div{display:grid;align-content:start;gap:3px;min-width:0;padding:14px;border:1px solid var(--border);border-radius:10px;background:var(--surface-2)}.event-facts span,.event-facts small{color:var(--text-dim);font-size:11px}.event-facts strong{overflow-wrap:anywhere}.event-note,.stock-note{margin-top:14px;padding:12px 14px;border-left:3px solid var(--accent);border-radius:8px;color:var(--text-dim);font-size:12px;background:var(--accent-soft)}.event-cost-audit{display:grid;gap:12px;margin-top:16px;padding:16px;border:1px solid var(--border);border-radius:12px;background:#fbfdfc}.event-rs-suggestions{display:grid;gap:10px;margin-top:16px;padding:16px;border:1px solid #b9ddcf;border-left:4px solid var(--accent);border-radius:12px;background:linear-gradient(135deg,#effaf5,#fbfdfc)}.event-rs-suggestions-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.event-rs-suggestions-head h4{margin:0}.event-rs-suggestion-row{display:grid;grid-template-columns:minmax(140px,.65fr) minmax(220px,1fr) auto;align-items:center;gap:12px;padding:12px;border:1px solid var(--border);border-radius:10px;background:var(--surface)}.event-rs-suggestion-row>span{display:grid;gap:3px}.event-rs-suggestion-row small,.event-rs-suggestions>small{color:var(--text-dim);font-size:10px}.event-rs-suggestion-row strong{font-size:14px}.event-cost-audit-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.event-cost-audit-head h4{margin:0}.event-cost-grid,.event-source-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}.event-source-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.event-cost-grid>div,.event-source-grid>div{display:grid;gap:3px;min-width:0;padding:12px;border:1px solid var(--border);border-radius:10px;background:var(--surface)}.event-cost-grid>div.total{border-color:#b9ddcf;background:var(--accent-soft)}.event-cost-grid span,.event-cost-grid small,.event-source-grid span,.event-source-grid small{color:var(--text-dim);font-size:10px}.event-cost-grid strong,.event-source-grid strong{overflow-wrap:anywhere;font-size:17px;font-variant-numeric:tabular-nums}.event-cost-missing{padding:12px 14px;border-left:3px solid #d9941d;border-radius:8px;color:#6d4708;background:#fff8e7}.event-cost-missing>ul{margin:8px 0 0;padding-left:20px;font-size:12px}.event-cost-missing details{margin-top:10px}.event-cost-missing summary{cursor:pointer;font-size:12px;font-weight:800}.missing-dish-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;margin-top:8px}.missing-dish-list>span{display:grid;min-width:0;padding:8px 10px;border:1px solid #eed7ae;border-radius:8px;background:#fff}.missing-dish-list small{color:var(--text-dim);font-size:10px}.event-note p{margin:4px 0 0}.planner-search{position:relative;max-width:620px;margin-top:16px}.planner-search>label{display:block;margin-bottom:6px;color:var(--text-dim);font-size:11px;font-weight:750}.planner-search>input,.planner-search>select{width:100%}.planner-search .attach-results{position:absolute;z-index:5;width:100%;max-height:300px;overflow-y:auto;padding:6px 12px;border:1px solid var(--border);border-radius:10px;background:var(--surface);box-shadow:var(--shadow-md)}.ingredient-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin-bottom:12px}.ingredient-summary>div{display:grid;gap:2px;padding:12px;border:1px solid var(--border);border-radius:10px;background:var(--surface-2)}.ingredient-summary span{color:var(--text-dim);font-size:10px}.ingredient-summary strong{font-size:20px}.ingredient-summary .ok strong{color:var(--accent-dark)}.ingredient-summary .warning strong{color:var(--danger)}.ingredient-summary .unknown strong{color:#9a5b00}.ingredient-table{margin-top:12px;box-shadow:none}.ingredient-table .num-col{width:1%;text-align:right;white-space:nowrap}.dish-code{display:block;margin-top:2px;color:var(--text-dim);font-size:10px;font-weight:500}.stock-edit{display:flex;align-items:center;justify-content:flex-end;gap:5px}.stock-input{width:104px;text-align:right}.stock-edit small{color:var(--text-dim);font-size:10px}.stock-status{display:inline-block;padding:5px 8px;border-radius:999px;font-size:10px;font-weight:800;white-space:nowrap}.stock-status-enough{color:var(--accent-dark);background:var(--accent-soft)}.stock-status-shortage{color:var(--danger);background:var(--danger-bg)}.stock-status-unknown{color:#8a5100;background:#fef3c7}.empty-planner{padding:28px;border:1px dashed var(--border-strong);border-radius:12px;color:var(--text-dim);text-align:center;background:var(--surface-2)}.order-list{max-width:620px;margin-top:16px;padding:14px;border:1px solid #f0c0bc;border-radius:12px;background:snow}.order-list h4{margin:0 0 8px}.order-list>div{display:flex;justify-content:space-between;gap:12px;padding:7px 0;border-top:1px solid var(--border);font-size:12px}.order-list>div.unknown strong{color:#8a5100}@media(max-width:900px){.event-summary-grid,.ingredient-summary{grid-template-columns:repeat(2,minmax(0,1fr))}.event-overview-grid{grid-template-columns:1fr}.event-cost-grid,.event-source-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.rs-reconciliation-block>summary{align-items:flex-start;flex-direction:column}.rs-reconciliation-counts{justify-content:flex-start}.rs-suggestion-controls{min-width:0}.rs-suggestion-actions,.event-rs-suggestions-head{align-items:stretch;flex-direction:column}.rs-suggestion-actions .btn{width:100%}.event-rs-suggestion-row{grid-template-columns:1fr}.event-kpi{display:none}.ingredient-table,.ingredient-table tbody{display:block;width:100%}.ingredient-table thead{display:none}.ingredient-table tbody{display:grid;gap:8px}.ingredient-table tbody tr{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px 12px;padding:12px;border:1px solid var(--border);border-radius:10px;background:var(--surface)}.ingredient-table tbody td,.ingredient-table .num-col{display:grid;width:auto;min-width:0;padding:0;border:0;text-align:left;white-space:normal}.ingredient-table tbody td:before{content:attr(data-label);color:var(--text-dim);font-size:9px;font-weight:800;text-transform:uppercase}.ingredient-table tbody td:first-child{grid-column:1 / -1}.stock-edit{justify-content:start}.stock-input{width:100%;text-align:left}}@media(max-width:640px){.event-cost-grid,.event-source-grid,.missing-dish-list{grid-template-columns:1fr}}@media(max-width:640px){.events-hero,.event-section-head{align-items:stretch;flex-direction:column}.events-hero .page-actions,.events-hero .page-actions>*{width:100%}.event-row-button{align-items:flex-start;padding:12px}.event-date-tile{flex-basis:48px;min-height:50px}.event-date-tile strong{font-size:18px}.event-title-line{align-items:flex-start;flex-direction:column}.event-title-line>strong{white-space:normal}.event-meta-modern{align-items:flex-start;flex-direction:column;gap:2px}.event-meta-modern span:not(:first-child):before{display:none}.event-card-modern .event-right{align-self:center}.event-detail-nav{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.event-detail-nav button{width:100%;padding:0 8px}.event-section-panel{margin:8px;padding:14px}.event-facts{grid-template-columns:1fr}.planning-checklist button{grid-template-columns:26px 1fr}.planning-checklist button small{display:none}.ingredient-table tbody tr{grid-template-columns:1fr}.ingredient-table tbody td:first-child{grid-column:auto}.order-list>div{align-items:flex-start;flex-direction:column;gap:2px}}@media(max-width:420px){.event-summary-grid,.ingredient-summary{grid-template-columns:1fr 1fr}.event-summary-card{padding:11px}.event-readiness{display:none}}:root{--bg: #f7f7f4;--surface: #ffffff;--surface-2: #fafaf7;--border: #e5e5df;--border-strong: #d2d2ca;--text: #16211b;--text-dim: #5c6862;--accent: #047857;--accent-dark: #065f46;--accent-soft: #ecfdf5;--accent-ring: rgba(4, 120, 87, .25);--warn: #92600a;--warn-bg: #fdf4e3;--danger: #b91c1c;--danger-bg: #fdf0ef;--radius: 16px;--radius-sm: 11px;--shadow-sm: 0 1px 2px rgba(22, 33, 27, .04), 0 2px 8px rgba(22, 33, 27, .04);--shadow-md: 0 2px 6px rgba(22, 33, 27, .05), 0 12px 32px rgba(22, 33, 27, .08);--shadow-lg: 0 8px 20px rgba(22, 33, 27, .1), 0 32px 80px rgba(22, 33, 27, .18);--speed: .18s}body{margin:0;font-family:Noto Sans Georgian,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;background:var(--bg);color:var(--text);font-size:15.5px;line-height:1.5;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility}::selection{background:var(--accent-soft);color:var(--accent-dark)}h1,h2,h3{margin:0 0 12px;font-weight:700;letter-spacing:-.01em;line-height:1.25}h2{font-size:21px}:focus-visible{outline:2px solid var(--accent);outline-offset:2px;border-radius:4px}.topbar{display:flex;align-items:center;gap:24px;min-height:60px;padding:10px 24px;background:#ffffffeb;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);border-bottom:1px solid var(--border);position:sticky;top:0;z-index:10;flex-wrap:nowrap}.brand{font-weight:800;white-space:nowrap;display:flex;align-items:center}.brand-mark{background:linear-gradient(135deg,var(--accent) 0%,var(--accent-dark) 100%);color:#fff;border-radius:8px;padding:4px 10px;letter-spacing:.08em;font-size:14px;box-shadow:var(--shadow-sm)}.brand-btn{border:none;background:none;padding:0;cursor:pointer;font:inherit}.block-crumb{display:inline-flex;align-items:center;gap:6px;font-weight:600;color:var(--text-dim);padding:8px 4px;font-size:14px;white-space:nowrap}.block-crumb svg{flex:0 0 auto;width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.tabs{display:flex;gap:2px;flex:1;min-width:0;overflow-x:auto;flex-wrap:nowrap;scrollbar-width:none}.tabs::-webkit-scrollbar{display:none}.tab{border:none;background:none;padding:9px 14px;min-height:38px;border-radius:99px;font-size:14.5px;font-weight:500;font-family:inherit;cursor:pointer;color:var(--text-dim);transition:background var(--speed) ease,color var(--speed) ease}.tab:hover{background:var(--surface-2);color:var(--text)}.tab.active{background:var(--accent-soft);color:var(--accent-dark);font-weight:700}.user-box{display:flex;flex:0 0 auto;align-items:center;gap:10px}.user-email{color:var(--text-dim);font-size:13.5px;font-weight:500}.content{width:100%;max-width:1240px;margin:0 auto;padding:32px 24px 96px}.content.content-zone-management{max-width:none;padding:20px 12px 72px}.staff-only-content{width:100%;max-width:none;margin:0;padding:24px 4px 72px}@media(max-width:640px){.staff-only-content{padding:16px 10px 64px}}.btn-excel{display:inline-flex;align-items:center;gap:7px;min-height:40px;color:var(--accent-dark);border-color:#a9d9c8;background:var(--accent-soft);white-space:nowrap}.btn-excel:hover:not(:disabled){border-color:var(--accent);background:#dff8ed}.btn-excel.has-error{color:var(--danger);border-color:#efbbb7;background:var(--danger-bg)}.btn-excel svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:1.8}.page-head{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:20px;flex-wrap:wrap}.page-head h2{margin:0}.page-actions{display:flex;gap:8px;flex-wrap:wrap;align-items:center}.center-note{text-align:center;color:var(--text-dim);padding:64px 24px;font-size:15px}.hint{color:var(--text-dim);font-size:13.5px;margin:6px 0 16px;line-height:1.55}.btn{border:1.5px solid var(--border);background:var(--surface);color:var(--text);padding:9px 18px;min-height:42px;border-radius:var(--radius-sm);font-size:14px;font-weight:600;font-family:inherit;cursor:pointer;transition:background var(--speed) ease,border-color var(--speed) ease,transform var(--speed) ease,box-shadow var(--speed) ease}.btn:hover{background:var(--surface-2);border-color:var(--border-strong);box-shadow:var(--shadow-sm)}.btn:active{transform:translateY(1px);box-shadow:none}.btn-primary{background:linear-gradient(180deg,#0a8862 0%,var(--accent) 100%);border-color:transparent;color:#fff;box-shadow:0 1px 2px #0478574d,0 4px 12px #04785733}.btn-primary:hover{background:linear-gradient(180deg,var(--accent) 0%,var(--accent-dark) 100%);border-color:transparent;transform:translateY(-1px);box-shadow:0 2px 4px #0478574d,0 8px 20px #04785740}.btn-primary:disabled{opacity:.55;cursor:default;transform:none}.btn-danger{color:var(--danger)}.btn-danger:hover{background:var(--danger-bg);border-color:var(--danger)}.btn-small{padding:5px 12px;min-height:32px;font-size:13px}.btn-ghost{border-color:transparent;background:none;color:var(--text-dim);box-shadow:none}.btn-ghost:hover{background:var(--surface-2);color:var(--text)}.btn-link{border:none;background:none;color:var(--accent);font-size:14px;font-weight:600;font-family:inherit;cursor:pointer;padding:6px}.btn-link:hover{color:var(--accent-dark);text-decoration:underline}input,select,textarea{font:inherit;font-size:15px;padding:10px 14px;min-height:44px;border:1.5px solid var(--border);border-radius:var(--radius-sm);background:var(--surface);color:var(--text);width:100%;accent-color:var(--accent);color-scheme:light;transition:border-color var(--speed) ease,box-shadow var(--speed) ease,background var(--speed) ease}input:hover,select:hover,textarea:hover{border-color:var(--border-strong)}textarea{min-height:72px;resize:vertical}select{-moz-appearance:none;appearance:none;-webkit-appearance:none;background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%235c6862' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 14px center;padding-right:42px;cursor:pointer}input:focus,select:focus,textarea:focus{outline:none;border-color:var(--accent);background:#fff;box-shadow:0 0 0 4px var(--accent-ring)}input::placeholder,textarea::placeholder{color:#a4ada7}input[type=date],input[type=time],input[type=datetime-local],input[type=month]{box-sizing:border-box;width:100%;min-width:0;cursor:pointer;min-height:48px;padding:7px 8px 7px 13px;border-color:#cbd7d1;border-radius:12px;background:linear-gradient(180deg,#fff,#f8fbf9);color:var(--text);font-weight:700;font-variant-numeric:tabular-nums;letter-spacing:.01em;box-shadow:0 1px 2px #0f231b0a}input[type=date]:hover,input[type=time]:hover,input[type=datetime-local]:hover,input[type=month]:hover{border-color:#8bb8a7;background:#fff}input[type=date]:focus,input[type=time]:focus,input[type=datetime-local]:focus,input[type=month]:focus{border-color:var(--accent);background:#fff;box-shadow:0 0 0 4px var(--accent-ring),0 4px 12px #04785714}input[type=date]::-webkit-datetime-edit,input[type=time]::-webkit-datetime-edit,input[type=datetime-local]::-webkit-datetime-edit,input[type=month]::-webkit-datetime-edit{min-width:0;padding:0}input[type=date]::-webkit-datetime-edit-fields-wrapper,input[type=time]::-webkit-datetime-edit-fields-wrapper,input[type=datetime-local]::-webkit-datetime-edit-fields-wrapper,input[type=month]::-webkit-datetime-edit-fields-wrapper{min-width:0}input[type=date]::-webkit-datetime-edit-text,input[type=time]::-webkit-datetime-edit-text,input[type=datetime-local]::-webkit-datetime-edit-text,input[type=month]::-webkit-datetime-edit-text{color:#8a958f;padding-inline:2px}input[type=date]::-webkit-calendar-picker-indicator,input[type=time]::-webkit-calendar-picker-indicator,input[type=datetime-local]::-webkit-calendar-picker-indicator,input[type=month]::-webkit-calendar-picker-indicator{box-sizing:content-box;width:18px;height:18px;margin:0 0 0 8px;padding:7px;border:1px solid rgba(4,120,87,.12);border-radius:10px;background-color:#eaf8f2;cursor:pointer;opacity:.9;transition:opacity var(--speed) ease,background-color var(--speed) ease,transform var(--speed) ease}input[type=date]:hover::-webkit-calendar-picker-indicator,input[type=time]:hover::-webkit-calendar-picker-indicator,input[type=datetime-local]:hover::-webkit-calendar-picker-indicator,input[type=month]:hover::-webkit-calendar-picker-indicator{background-color:#d8f5e9;opacity:1;transform:translateY(-1px)}input[type=date]:focus::-webkit-calendar-picker-indicator,input[type=time]:focus::-webkit-calendar-picker-indicator,input[type=datetime-local]:focus::-webkit-calendar-picker-indicator,input[type=month]:focus::-webkit-calendar-picker-indicator{background-color:#c8efdf;opacity:1}input[type=date]:disabled,input[type=time]:disabled,input[type=datetime-local]:disabled,input[type=month]:disabled{cursor:not-allowed;border-color:var(--border);background:#f2f4f3;color:var(--text-dim);box-shadow:none}.search{width:210px}.page-actions select{width:auto}.period-filter,.compact-date-range{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.period-filter select{width:auto}.compact-date-filter{display:grid;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:8px;width:max-content;max-width:100%;min-width:0;min-height:48px;padding:3px 4px 3px 12px;border:1.5px solid #cbd7d1;border-radius:12px;background:linear-gradient(180deg,#fff,#f8fbf9);white-space:nowrap;box-shadow:0 1px 2px #0f231b0a;transition:border-color var(--speed) ease,box-shadow var(--speed) ease,background var(--speed) ease}.compact-date-filter:hover{border-color:#8bb8a7;background:#fff}.compact-date-filter:focus-within{border-color:var(--accent);box-shadow:0 0 0 4px var(--accent-ring)}.compact-date-filter span{font-size:12px;font-weight:700;color:var(--text-dim)}.compact-date-filter input{width:158px;max-width:100%;min-width:0;min-height:40px;padding-block:3px;padding-left:5px;border:0;border-radius:0;background:transparent;box-shadow:none}.compact-date-filter input:hover,.compact-date-filter input:focus{border:0;background:transparent;box-shadow:none}label{display:flex;flex-direction:column;gap:5px;font-size:13px;font-weight:600;color:var(--text-dim)}.field{display:flex;flex-direction:column;gap:5px}.field-label{font-size:13px;font-weight:600;color:var(--text-dim)}.field-req{color:var(--danger)}.field-hint{font-size:12px;font-weight:400;color:var(--text-dim);line-height:1.4}.field-suffixed{display:flex;align-items:stretch}.field-suffixed input{border-top-right-radius:0;border-bottom-right-radius:0}.field-suffix{display:flex;align-items:center;padding:0 14px;background:var(--surface-2);border:1.5px solid var(--border);border-left:none;border-top-right-radius:var(--radius-sm);border-bottom-right-radius:var(--radius-sm);color:var(--text-dim);font-size:13px;font-weight:600;white-space:nowrap}.table{width:100%;border-collapse:collapse;background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);overflow:hidden;box-shadow:var(--shadow-sm)}.table th{text-align:left;font-size:11.5px;text-transform:uppercase;letter-spacing:.07em;font-weight:700;color:var(--text-dim);padding:11px 16px;border-bottom:1px solid var(--border);background:var(--surface-2)}.table td{padding:12px 16px;border-bottom:1px solid var(--border);vertical-align:middle}.table tbody tr{transition:background var(--speed) ease}.table tbody tr:hover{background:var(--surface-2)}.table tr:last-child td{border-bottom:none}.cell-name{font-weight:600}.cell-details{color:var(--text-dim);font-size:13px;max-width:280px}.cell-rate{font-variant-numeric:tabular-nums;font-weight:600}.cell-actions{text-align:right;white-space:nowrap}.cell-actions .btn{margin-left:6px}.row-muted{opacity:.55}.table a{color:var(--accent-dark);text-decoration:none;font-weight:500}.table a:hover{text-decoration:underline}.employee-history-row{cursor:pointer;transition:background-color .18s ease,box-shadow .18s ease}.employee-history-row:hover{background:var(--accent-soft)}.employee-history-row:focus-visible{position:relative;z-index:1;outline:3px solid var(--accent-ring);outline-offset:-3px}.employee-name{color:var(--accent-dark);font-weight:750}.employee-role-label{display:inline-flex;align-items:center;min-height:30px;padding:5px 9px;border:1px solid rgba(4,120,87,.2);border-radius:999px;background:var(--accent-soft);color:var(--accent-dark);font-size:12px;font-weight:750;line-height:1.2}.employee-directory-switcher{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:0 0 20px}.employee-directory-viewbar{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:0 0 12px}.employee-directory-viewbar>p{margin:0;color:var(--text-dim);font-size:12px;line-height:1.45;text-align:right}.employee-directory-view-toggle{display:inline-flex;gap:4px;padding:4px;border:1px solid var(--border);border-radius:12px;background:var(--surface-2)}.employee-directory-view-toggle button{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:44px;padding:8px 13px;border:0;border-radius:9px;color:var(--text-dim);background:transparent;font:inherit;font-size:12px;font-weight:750;cursor:pointer;transition:color .18s ease,background-color .18s ease,box-shadow .18s ease}.employee-directory-view-toggle button:hover{color:var(--text);background:var(--surface)}.employee-directory-view-toggle button:focus-visible{outline:3px solid var(--accent-ring);outline-offset:2px}.employee-directory-view-toggle button.active{color:var(--accent-dark);background:var(--surface);box-shadow:var(--shadow-sm)}.employee-directory-view-toggle svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.employee-hierarchy{padding:20px;border:1px solid var(--border);border-radius:18px;background:var(--surface-2);box-shadow:var(--shadow-sm)}.employee-hierarchy-head{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:20px}.employee-hierarchy-head h3,.employee-hierarchy-head p{margin:0}.employee-hierarchy-head>span{padding:7px 11px;border:1px solid var(--border);border-radius:999px;color:var(--text-dim);background:var(--surface);font-size:12px;font-weight:700;white-space:nowrap}.position-hierarchy-head-actions{display:flex;align-items:center;justify-content:flex-end;flex-wrap:wrap;gap:10px}.position-hierarchy-head-actions>span{padding:7px 11px;border:1px solid var(--border);border-radius:999px;color:var(--text-dim);background:var(--surface);font-size:12px;font-weight:700;white-space:nowrap}.position-hierarchy-warning{margin:0 0 16px;padding:10px 12px;border:1px solid rgba(180,83,9,.24);border-radius:10px;color:var(--warn);background:var(--warn-bg);font-size:12px;line-height:1.5}.employee-hierarchy-tree,.employee-hierarchy-tree ul{margin:0;padding:0;list-style:none}.employee-hierarchy-tree{display:grid;gap:12px}.employee-hierarchy-item{position:relative;min-width:0}.employee-hierarchy-item>ul{position:relative;display:grid;gap:10px;margin-top:10px;margin-left:30px;padding-left:22px;border-left:2px solid var(--border)}.employee-hierarchy-item>ul>.employee-hierarchy-item:before{content:"";position:absolute;top:27px;left:-22px;width:20px;border-top:2px solid var(--border)}.employee-hierarchy-card{display:grid;grid-template-columns:44px minmax(0,1fr) auto 44px;align-items:center;gap:12px;min-height:68px;padding:10px 12px;border:1px solid var(--border);border-radius:14px;background:var(--surface);transition:border-color .18s ease,box-shadow .18s ease}.employee-hierarchy-manager{display:grid;grid-template-columns:132px minmax(220px,1fr) auto;align-items:center;gap:8px;grid-column:2 / -1;min-width:0;padding-top:9px;border-top:1px solid var(--border)}.employee-hierarchy-manager>span{color:var(--text-dim);font-size:10px;font-weight:750;letter-spacing:.035em;text-transform:uppercase}.employee-hierarchy-manager select{width:100%;min-height:44px;min-width:0;padding:8px 34px 8px 11px;border:1px solid var(--border);border-radius:10px;color:var(--text);background:var(--surface-2);font:inherit;font-size:12px;cursor:pointer}.employee-hierarchy-manager select:hover:not(:disabled){border-color:var(--accent)}.employee-hierarchy-manager select:focus-visible{outline:3px solid var(--accent-ring);outline-offset:2px}.employee-hierarchy-manager select:disabled{cursor:wait;opacity:.55}.employee-hierarchy-manager>strong{color:var(--text);font-size:12px}.employee-hierarchy-manager>small{color:var(--accent-dark);font-size:10px;font-weight:750;white-space:nowrap}.employee-hierarchy-card:hover{border-color:#04785759;box-shadow:var(--shadow-sm)}.employee-hierarchy-avatar{display:grid;place-items:center;width:44px;height:44px;border-radius:12px;color:var(--accent-dark);background:var(--accent-soft);font-size:12px;font-weight:800}.employee-hierarchy-identity{display:grid;gap:2px;min-width:0}.employee-hierarchy-identity strong,.employee-hierarchy-identity span,.employee-hierarchy-identity small{overflow-wrap:anywhere}.employee-hierarchy-identity strong{color:var(--text);font-size:14px}.employee-hierarchy-identity span{color:var(--accent-dark);font-size:12px;font-weight:700}.employee-hierarchy-identity small,.employee-hierarchy-count small{color:var(--text-dim);font-size:10px}.employee-hierarchy-count{display:grid;justify-items:end;gap:1px;min-width:116px}.employee-hierarchy-count strong{color:var(--text);font-size:16px;font-variant-numeric:tabular-nums}.position-hierarchy-card{grid-template-columns:44px minmax(0,1fr) auto}.position-hierarchy-icon svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}.position-hierarchy-members,.position-hierarchy-parent-control,.position-hierarchy-manager-resolution{grid-column:2 / -1}.position-hierarchy-members{grid-template-columns:160px minmax(0,1fr)}.position-hierarchy-members>ul{display:flex;flex-wrap:wrap;gap:6px;margin:0;padding:0;list-style:none}.position-hierarchy-member-chip{max-width:100%;padding:5px 9px;border:1px solid var(--border);border-radius:999px;color:var(--text);background:var(--surface-2);font-size:11px;font-weight:650;overflow-wrap:anywhere}.position-hierarchy-vacancy{color:var(--text-dim)!important;font-weight:650!important}.position-hierarchy-parent-control,.position-hierarchy-manager-resolution{grid-template-columns:160px minmax(220px,1fr) auto}.position-hierarchy-parent-control>strong{color:var(--text);font-size:12px;line-height:1.45}.position-hierarchy-manager-resolution>strong{line-height:1.45}.position-hierarchy-manager-warning{display:inline-flex;align-items:flex-start;gap:7px;color:var(--warn)!important}.position-hierarchy-manager-warning svg{flex:0 0 auto;width:17px;height:17px;margin-top:1px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.employee-position-assignment{display:grid;gap:4px;align-content:center;min-height:76px;padding:12px 14px;border:1px solid var(--border);border-radius:12px;background:var(--surface-2)}.employee-position-assignment>span{color:var(--text-dim);font-size:10px;font-weight:750;letter-spacing:.035em;text-transform:uppercase}.employee-position-assignment>strong{color:var(--text);font-size:13px;line-height:1.4}.employee-position-assignment>small{color:var(--text-dim);font-size:11px;line-height:1.4}.employee-directory-switcher button{position:relative;display:grid;align-content:center;justify-items:start;gap:3px;min-height:104px;padding:16px 18px;border:1px solid var(--border);border-radius:16px;color:var(--text);text-align:left;background:var(--surface);box-shadow:var(--shadow-sm);font:inherit;cursor:pointer;transition:border-color .18s ease,background-color .18s ease,box-shadow .18s ease}.employee-directory-switcher button:hover{border-color:#04785766;background:var(--surface-2)}.employee-directory-switcher button:focus-visible{outline:3px solid var(--accent-ring);outline-offset:2px}.employee-directory-switcher button.active{border-color:var(--accent);background:linear-gradient(145deg,var(--accent-soft),var(--surface));box-shadow:0 0 0 3px var(--accent-ring),var(--shadow-sm)}.employee-directory-switcher span,.employee-directory-switcher small{color:var(--text-dim)}.employee-directory-switcher span{font-size:12px;font-weight:750}.employee-directory-switcher strong{color:var(--accent-dark);font-size:27px;font-variant-numeric:tabular-nums}.employee-directory-switcher small{font-size:11px}.employee-structure-cell{display:grid;gap:3px}.employee-structure-cell strong{color:var(--text);font-size:12px}.employee-structure-cell small{color:var(--text-dim);font-size:10px;line-height:1.35}.employee-ranking-filter.active,.employee-payment-filter.active{border-color:var(--accent);background:var(--accent-soft);box-shadow:0 0 0 3px var(--accent-ring)}.employee-ranking-filter select{min-width:214px}.employee-payment-filter select{min-width:170px}.employee-payment-review{margin:0 0 20px;padding:16px;border:1px solid #efc078;border-radius:16px;background:#fffdf7;box-shadow:var(--shadow-sm)}.employee-payment-review-head{position:relative;display:flex;align-items:flex-start;justify-content:space-between;gap:20px;padding-right:34px;cursor:pointer;list-style:none}.employee-payment-review-head::-webkit-details-marker{display:none}.employee-payment-review-head:after{content:"⌃";position:absolute;top:0;right:0;display:grid;width:26px;height:26px;place-items:center;border:1px solid #efc078;border-radius:999px;background:var(--surface);color:#8a5100;font-size:16px;font-weight:800}.employee-payment-review:not([open]) .employee-payment-review-head:after{content:"⌄"}.employee-payment-review-head h3,.employee-payment-review-head p{margin:0}.employee-payment-review-head>div:first-child>p:last-child{max-width:720px;margin-top:5px;color:var(--text-dim);font-size:13px;line-height:1.5}.employee-payment-review-summary{display:grid;grid-template-columns:repeat(3,minmax(110px,1fr));gap:8px;min-width:min(420px,100%)}.employee-payment-review-summary>span{display:grid;gap:3px;min-width:0;padding:10px 12px;border:1px solid #efc078;border-radius:12px;background:var(--surface)}.employee-payment-review-summary small{color:var(--text-dim);font-size:10px;font-weight:700}.employee-payment-review-summary strong{color:#8a5100;font-size:18px;font-variant-numeric:tabular-nums}.employee-payment-review-list{display:grid;gap:10px;margin-top:14px}.employee-payment-review-row{display:grid;gap:12px;padding:14px;border:1px solid var(--border);border-radius:14px;background:var(--surface)}.employee-payment-review-row.has-alert{border-color:#efc078}.employee-payment-review-row.has-linked-transfer{border-color:#8bc6a0}.employee-payment-review-row-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px}.employee-payment-review-row-head>div:first-child{display:grid;justify-items:start;gap:4px;min-width:0}.employee-payment-review-row-head>div:first-child>strong{color:var(--text);font-size:15px}.employee-payment-review-row-head>div:first-child>small{color:var(--text-dim);line-height:1.4}.employee-payment-review-amount{display:grid;flex:0 0 auto;justify-items:end;gap:2px;font-variant-numeric:tabular-nums}.employee-payment-review-amount span,.employee-payment-review-source>span{color:var(--text-dim);font-size:10px;font-weight:750;letter-spacing:.04em;text-transform:uppercase}.employee-payment-review-amount strong{color:var(--accent-dark);font-size:18px}.employee-payment-review-alert{display:grid;gap:3px;margin:0;padding:10px 12px;border:1px solid #efc078;border-radius:10px;background:#fff8e7;color:#8a5100;font-size:12px;line-height:1.5}.employee-payment-review-alert.is-linked{border-color:#8bc6a0;background:#f0faf3;color:#22653a}.employee-payment-review-source{display:grid;gap:3px}.employee-payment-review-source p{margin:0;color:var(--text-dim);font-size:12px;line-height:1.5}.employee-payment-review-form{display:grid;grid-template-columns:190px 170px minmax(260px,1fr);gap:10px;align-items:end}.employee-payment-review-form label>span{font-size:11px;font-weight:750}.employee-payment-review-form select,.employee-payment-review-form input,.employee-payment-review-form textarea{min-height:44px}.employee-payment-review-form textarea{min-height:70px}.employee-payment-review-actions{display:flex;grid-column:1 / -1;justify-content:flex-end;gap:8px;flex-wrap:wrap}.employee-bank-link-btn{border-color:#d28a20;color:#8a5100}.employee-bank-link-btn:hover:not(:disabled){background:#fff3d9}.employee-bank-link-btn.is-unlink{border-color:#c6d2ca;color:#52635a}.employee-bank-link-btn.is-unlink:hover:not(:disabled){background:#f2f5f3}.employee-work-stats{display:grid;gap:1px;margin-top:4px;font-variant-numeric:tabular-nums}.employee-work-stats b,.employee-work-stats small{display:block}.employee-work-stats b{color:var(--text-dim);font-size:10px}.employee-work-stats small{color:var(--accent-dark);font-size:10px;font-weight:700}.employees-table .cell-account{max-width:160px}@media(min-width:901px)and (max-width:1280px){.employees-table th:nth-child(5),.employees-table td:nth-child(5){display:none}}.employee-history-modal{width:min(920px,calc(100vw - 32px));max-width:920px;max-height:min(780px,calc(100dvh - 32px));padding:0;gap:0;overflow:hidden}.employee-history-head{display:flex;align-items:center;justify-content:space-between;gap:20px;flex:0 0 auto;padding:18px 22px;border-bottom:1px solid var(--border);background:var(--surface)}.employee-history-identity{display:flex;align-items:center;gap:12px;min-width:0}.employee-history-avatar{display:inline-grid;place-items:center;width:44px;height:44px;flex:0 0 auto;border-radius:14px;color:#fff;background:linear-gradient(145deg,var(--accent),var(--accent-dark));box-shadow:0 7px 18px #04785733;font-size:14px;font-weight:800}.employee-history-head h3{overflow-wrap:anywhere;padding:0;border:0;font-size:19px;line-height:1.25}.employee-history-head .eyebrow{margin:0 0 3px;color:var(--accent-dark);font-size:9px}.employee-history-role{display:block;margin-top:3px;color:var(--text-dim);font-size:12px;line-height:1.35}.employee-history-close{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-width:108px;min-height:44px;flex:0 0 auto;padding:8px 12px;border:1px solid var(--border-strong);border-radius:12px;color:var(--text);background:var(--surface);font:inherit;font-size:12px;font-weight:750;cursor:pointer;transition:border-color .18s ease,background-color .18s ease}.employee-history-close:hover{border-color:var(--accent);background:var(--accent-soft)}.employee-history-close:focus-visible{outline:3px solid var(--accent-ring);outline-offset:2px}.employee-history-close svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round}.employee-history-content{display:grid;min-height:0;gap:12px;padding:14px 22px 20px;overflow-y:auto;overscroll-behavior:contain;scrollbar-gutter:stable;background:var(--surface-2)}.employee-profile-section{display:grid;gap:12px;padding:16px;border:1px solid var(--border);border-radius:14px;background:var(--surface)}.employee-payroll-section{border-color:#b9ddcf;background:linear-gradient(145deg,#f4fbf7,var(--surface))}.employee-profile-section-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;flex-wrap:wrap}.employee-profile-section-head>div{display:grid;gap:2px}.employee-profile-section-head h4,.employee-profile-section-head p{margin:0}.employee-profile-section-head h4{font-size:15px}.employee-profile-section-head>small{max-width:380px;color:var(--text-dim);font-size:10px;line-height:1.45;text-align:right}.employee-profile-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:8px;margin:0}.employee-profile-grid>div{display:grid;align-content:start;gap:4px;min-width:0;padding:10px 11px;border:1px solid var(--border);border-radius:10px;background:var(--surface-2)}.employee-profile-grid dt{color:var(--text-dim);font-size:9px;font-weight:750;letter-spacing:.04em;text-transform:uppercase}.employee-profile-grid dd{min-width:0;margin:0;overflow-wrap:anywhere;color:var(--text);font-size:12px;font-weight:650;line-height:1.4}.employee-payroll-grid dd{font-variant-numeric:tabular-nums}.employee-history-section-head{margin-top:2px;padding:2px 2px 0}.employee-history-loading,.employee-history-error,.employee-history-empty{display:flex;align-items:center;gap:12px;min-height:96px;padding:18px;border:1px solid var(--border);border-radius:var(--radius);background:var(--surface-2)}.employee-history-loading>span{width:24px;height:24px;flex:0 0 auto;border:3px solid var(--border-strong);border-top-color:var(--accent);border-radius:50%;animation:employee-history-spin .75s linear infinite}.employee-history-loading div,.employee-history-empty{display:grid;gap:4px}.employee-history-loading small,.employee-history-empty p,.employee-history-error p{margin:0;color:var(--text-dim);line-height:1.55}.employee-history-error{align-items:flex-start;flex-direction:column;border-color:#b91c1c33;background:var(--danger-bg)}.employee-history-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.employee-history-summary>div{display:grid;gap:2px;padding:10px 12px;border:1px solid var(--border);border-radius:12px;background:var(--surface)}.employee-history-summary span,.employee-history-meta dt{color:var(--text-dim);font-size:10px;font-weight:750;letter-spacing:.04em;text-transform:uppercase}.employee-history-summary strong{font-size:17px;font-variant-numeric:tabular-nums}.employee-history-list{display:grid;gap:8px;margin:0;padding:0;list-style:none}.employee-history-list>li{display:grid;grid-template-columns:minmax(0,1fr) minmax(330px,.85fr);align-items:center;gap:18px;min-height:88px;padding:12px 14px;border:1px solid var(--border);border-radius:13px;background:var(--surface);box-shadow:0 1px 2px #192d2308}.employee-history-event{display:grid;align-content:start;gap:4px;min-width:0}.employee-history-event-top{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.employee-history-event time{color:var(--accent-dark);font-size:11px;font-weight:750}.employee-history-event strong{overflow-wrap:anywhere;font-size:14px}.employee-history-event>span,.employee-history-meta>small{color:var(--text-dim);font-size:12px;line-height:1.5}.employee-history-meta{display:grid;justify-items:stretch;align-content:start;gap:6px}.employee-history-meta dl{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));width:100%;margin:0}.employee-history-meta dl>div{display:grid;gap:3px;min-width:0;text-align:left}.employee-history-meta dd{margin:0;font-size:12px;font-weight:700;font-variant-numeric:tabular-nums}.employee-history-meta>small{text-align:right}@keyframes employee-history-spin{to{transform:rotate(360deg)}}@media(prefers-reduced-motion:reduce){.employee-history-loading>span{animation:none}}.badge{display:inline-flex;align-items:center;gap:5px;padding:3px 10px;border-radius:99px;font-size:12px;font-weight:700;background:var(--surface-2);border:1px solid var(--border);color:var(--text-dim);white-space:nowrap}.badge-admin,.badge-active,.badge-confirmed,.badge-completed{background:var(--accent-soft);border-color:#04785733;color:var(--accent-dark)}.badge-on_leave,.badge-planned,.badge-in_progress{background:var(--warn-bg);border-color:#92600a40;color:var(--warn)}.badge-inactive,.badge-cancelled{background:var(--danger-bg);border-color:#b91c1c33;color:var(--danger)}.badge-client-biz{color:var(--accent-dark);border-color:#04785738;background:var(--accent-soft)}.badge-client-gov{color:#1e3a8a;border-color:#bfdbfe;background:#eff6ff}.badge-client-pp{color:#6b21a8;border-color:#e9d5ff;background:#faf5ff}.badge-client-lunch{color:#854d0e;border-color:#fde68a;background:#fffbeb}.modal-overlay{position:fixed;top:0;right:0;bottom:0;left:0;background:#121a1673;-webkit-backdrop-filter:blur(6px) saturate(1.1);backdrop-filter:blur(6px) saturate(1.1);display:flex;align-items:flex-start;justify-content:center;padding:48px 16px;overflow-y:auto;z-index:100}.modal{background:var(--surface);border-radius:22px;padding:30px 32px;width:100%;max-width:680px;display:flex;flex-direction:column;gap:18px;box-shadow:var(--shadow-lg);animation:modal-in .24s cubic-bezier(.2,.9,.3,1)}.modal h3{font-size:19px;padding-bottom:14px;margin-bottom:0;border-bottom:1px solid var(--border)}.employee-editor-modal{max-width:940px}.employee-editor-sections{display:grid;gap:16px}.employee-editor-section{min-width:0;margin:0;padding:16px;border:1px solid var(--border);border-radius:14px;background:var(--surface-2)}.employee-editor-section legend{padding:0 8px;color:var(--text);font-size:14px;font-weight:800}.employee-editor-section .form-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.employee-schedule-assignment{display:grid;gap:14px;border-color:color-mix(in srgb,var(--accent) 34%,var(--border));background:linear-gradient(145deg,var(--surface-2),color-mix(in srgb,var(--accent-soft) 42%,var(--surface)))}.employee-schedule-assignment>legend{color:var(--accent-dark)}.employee-schedule-assignment-head,.employee-schedule-assignment-actions{display:flex;align-items:center;justify-content:space-between;gap:16px}.employee-schedule-assignment-head>div{display:grid;gap:4px;min-width:0}.employee-schedule-assignment-head strong{color:var(--text);font-size:14px}.employee-schedule-assignment-head p,.employee-schedule-assignment-actions p{margin:0;color:var(--text-dim);font-size:11px;line-height:1.5}.employee-schedule-assignment-head>span{flex:0 0 auto;padding:6px 10px;border:1px solid color-mix(in srgb,var(--accent) 32%,var(--border));border-radius:999px;color:var(--accent-dark);background:var(--accent-soft);font-size:10px;font-weight:800;white-space:nowrap}.employee-schedule-template-preview{display:grid;grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr);gap:8px}.employee-schedule-template-preview>div,.employee-schedule-assignment-empty{display:grid;gap:4px;min-width:0;padding:11px 12px;border:1px solid var(--border);border-radius:10px;background:var(--surface)}.employee-schedule-template-preview span,.employee-schedule-assignment-empty span{color:var(--text-dim);font-size:10px;line-height:1.45}.employee-schedule-template-preview strong,.employee-schedule-assignment-empty strong{min-width:0;overflow-wrap:anywhere;color:var(--text);font-size:12px}.employee-schedule-template-preview small{min-width:0;overflow-wrap:anywhere;color:var(--text-dim);font-size:10px;line-height:1.45}.employee-schedule-conflict-mode{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;min-width:0;margin:0;padding:0;border:0}.employee-schedule-conflict-mode>legend{grid-column:1 / -1;margin-bottom:1px;padding:0;color:var(--text);font-size:12px;font-weight:800}.employee-schedule-conflict-mode>label{display:grid;grid-template-columns:22px minmax(0,1fr);align-items:start;gap:9px;min-height:76px;padding:11px;border:1px solid var(--border);border-radius:10px;background:var(--surface);cursor:pointer}.employee-schedule-conflict-mode>label.is-selected{border-color:var(--accent);background:var(--accent-soft)}.employee-schedule-conflict-mode>label.is-selected.is-warning{border-color:color-mix(in srgb,var(--warn) 58%,var(--border));background:color-mix(in srgb,var(--warn-bg) 74%,var(--surface))}.employee-schedule-conflict-mode input,.employee-schedule-overwrite-confirm input{width:18px;height:18px;margin:1px 0 0;accent-color:var(--accent-dark)}.employee-schedule-conflict-mode label>span{display:grid;gap:4px;min-width:0}.employee-schedule-conflict-mode strong{color:var(--text);font-size:12px}.employee-schedule-conflict-mode small{color:var(--text-dim);font-size:11px;font-weight:500;line-height:1.45}.employee-schedule-overwrite-confirm{display:grid;grid-template-columns:22px minmax(0,1fr);align-items:start;gap:9px;min-height:44px;padding:11px 12px;border:1px solid color-mix(in srgb,var(--warn) 48%,var(--border));border-radius:10px;color:var(--text);background:color-mix(in srgb,var(--warn-bg) 72%,var(--surface));font-size:11px;line-height:1.45}.employee-schedule-feedback{margin:0}.employee-schedule-assignment-actions{padding-top:2px}.employee-schedule-assignment-actions .btn{flex:0 0 auto;min-height:44px}.employee-editor-notes{margin-top:16px}@keyframes modal-in{0%{opacity:0;transform:translateY(10px) scale(.985)}to{opacity:1;transform:none}}.form-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(196px,1fr));gap:16px 18px}.form-grid .span-2{grid-column:span 2}@media(max-width:480px){.form-grid .span-2{grid-column:span 1}}@media(max-width:760px){.employee-editor-modal{padding:22px 18px}.employee-editor-section .form-grid{grid-template-columns:1fr}.employee-schedule-assignment-head,.employee-schedule-assignment-actions{align-items:stretch;flex-direction:column}.employee-schedule-assignment-head>span{align-self:flex-start}.employee-schedule-template-preview,.employee-schedule-conflict-mode{grid-template-columns:1fr}.employee-schedule-conflict-mode>legend{grid-column:auto}.employee-schedule-assignment-actions .btn{width:100%}}.modal-actions{display:flex;justify-content:flex-end;gap:8px;margin-top:4px}.form-error{color:var(--danger);background:var(--danger-bg);border:1px solid rgba(185,28,28,.15);border-radius:var(--radius-sm);padding:10px 14px;font-size:14px;margin:8px 0}.form-ok{color:var(--accent-dark);background:var(--accent-soft);border:1px solid rgba(4,120,87,.15);border-radius:var(--radius-sm);padding:10px 14px;font-size:14px;margin:8px 0}.global-undo-toast{position:fixed;right:20px;bottom:20px;z-index:2000;display:flex;max-width:min(420px,calc(100vw - 32px));min-height:44px;align-items:center;gap:10px;padding:9px 10px 9px 14px;border:1px solid #b8dcd1;border-radius:12px;color:var(--accent-dark);background:var(--surface);box-shadow:0 12px 32px #19463933;font-size:11px;font-weight:800;animation:global-undo-toast-in .18s ease-out}.global-undo-button{display:grid;flex:0 0 40px;width:40px;height:40px;place-items:center;padding:0;border:1px solid var(--border);border-radius:10px;color:var(--accent-dark);background:var(--surface);cursor:pointer}.global-undo-button:hover:not(:disabled){border-color:var(--accent);background:var(--accent-soft)}.global-undo-button:focus-visible{outline:3px solid var(--accent-ring);outline-offset:2px}.global-undo-button:disabled{color:var(--text-dim);cursor:not-allowed;opacity:.42}.global-undo-button svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:1.8}.global-undo-toast.is-error{color:var(--danger);border-color:#e6b8b3;background:var(--danger-bg)}.global-undo-toast>span{min-width:0;overflow-wrap:anywhere}.global-undo-toast>button{min-width:76px;min-height:34px;padding:6px 10px;border:1px solid currentColor;border-radius:9px;color:inherit;background:transparent;cursor:pointer;font:inherit;font-size:9px}.global-undo-toast>button:focus-visible{outline:3px solid var(--accent-ring);outline-offset:2px}@keyframes global-undo-toast-in{0%{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}@media(max-width:520px){.global-undo-toast{right:12px;bottom:12px;left:12px;max-width:none}}@media(prefers-reduced-motion:reduce){.global-undo-toast{animation:none}}.block-icon-finance{display:grid;width:46px;height:46px;place-items:center;border:1px solid #bfd7ce;border-radius:14px;color:#075f47;background:linear-gradient(145deg,#effbf6,#dff4eb)}.block-icon-finance svg,.finance-eyebrow svg,.finance-empty>svg{width:25px;height:25px;fill:none;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:1.8}.finance-page{display:grid;min-width:0;gap:16px}.finance-hero{display:flex;align-items:stretch;justify-content:space-between;gap:24px;padding:24px;overflow:hidden;border:1px solid #d9e7e1;border-radius:22px;background:radial-gradient(circle at 90% 0%,rgba(4,120,87,.14),transparent 34%),linear-gradient(135deg,#fff,#f4fbf8);box-shadow:var(--shadow-sm)}.finance-hero>div:first-child{min-width:0;align-self:center}.finance-eyebrow{display:inline-flex;align-items:center;gap:8px;color:var(--accent-dark);font-size:12px;font-weight:800;letter-spacing:.055em;text-transform:uppercase}.finance-eyebrow svg{width:18px;height:18px}.finance-hero h2{margin:8px 0 6px;font-size:clamp(25px,3vw,34px)}.finance-hero p{max-width:760px;margin:0;color:var(--text-dim);line-height:1.55}.finance-source-note{display:grid;min-width:min(100%,310px);align-content:center;gap:4px;padding:16px 18px;border:1px solid rgba(4,120,87,.18);border-radius:17px;background:#ffffffdb;box-shadow:var(--shadow-sm)}.finance-source-note span,.finance-section-title span,.finance-table-head>div:first-child>span,.finance-modal-head>div>span{color:var(--accent-dark);font-size:11px;font-weight:800;letter-spacing:.045em;text-transform:uppercase}.finance-source-note strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:13px}.finance-source-note small{color:var(--text-dim);font-size:11px}.finance-type-bar{display:flex;align-items:center;gap:6px}.finance-type-tabs{display:flex;min-width:0;flex:1;align-items:center;gap:6px;padding:6px;border:1px solid var(--border);border-radius:16px;background:var(--surface);box-shadow:var(--shadow-sm)}.finance-tab-panel{display:grid;min-width:0;gap:16px}.finance-type-tabs>button{display:inline-flex;min-height:44px;align-items:center;justify-content:center;gap:8px;padding:0 16px;border:0;border-radius:11px;color:var(--text-dim);background:transparent;cursor:pointer;font:inherit;font-size:14px;font-weight:750;transition:color var(--speed) ease,background-color var(--speed) ease,box-shadow var(--speed) ease}.finance-type-tabs>button:hover,.finance-type-tabs>button.is-active{color:var(--accent-dark);background:var(--accent-soft)}.finance-type-tabs>button.is-active{box-shadow:inset 0 0 0 1px #04785726}.finance-type-tabs>button>span{min-width:24px;padding:2px 6px;border-radius:999px;color:var(--text-dim);background:#ffffffc7;font-size:10px}.finance-add-button{display:inline-flex;min-height:56px;flex:0 0 auto;align-items:center;justify-content:center;gap:8px;padding:0 18px;border:0;border-radius:14px;margin-left:auto;color:#fff;background:linear-gradient(135deg,var(--accent),var(--accent-dark));box-shadow:0 6px 16px #0478572e;cursor:pointer;font:inherit;font-size:13px;font-weight:800}.finance-add-button:hover{color:#fff;background:linear-gradient(135deg,#058b65,var(--accent))}.finance-add-button:focus-visible{outline:3px solid var(--accent-ring);outline-offset:2px}.finance-add-button svg,.finance-search svg,.finance-icon-button svg,.finance-notice button svg,.finance-empty .btn svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:2}.finance-notice,.finance-error{display:flex;min-height:48px;align-items:center;gap:12px;padding:10px 14px;border:1px solid #b9dfd0;border-radius:13px;color:#075d46;background:#eefbf6}.finance-notice>span,.finance-error>span{min-width:0;flex:1}.finance-notice button{display:grid;width:36px;height:36px;place-items:center;border:0;border-radius:9px;color:inherit;background:transparent;cursor:pointer}.finance-notice button:hover{background:#ffffffbd}.finance-notice.is-warning{border-color:#e8cf99;color:#7a5414;background:#fff9e9}.finance-error{align-items:flex-start;flex-wrap:wrap;border-color:#efc9c6;color:var(--danger);background:var(--danger-bg)}.finance-error strong{width:100%}.finance-summary-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.finance-summary-card{display:grid;min-width:0;gap:5px;padding:17px 18px;border:1px solid var(--border);border-radius:17px;background:var(--surface);box-shadow:var(--shadow-sm)}.finance-summary-card>span{color:var(--text-dim);font-size:12px;font-weight:700}.finance-summary-card>strong{overflow:hidden;color:var(--text);font-size:clamp(18px,2vw,24px);font-variant-numeric:tabular-nums;line-height:1.25;text-overflow:ellipsis;white-space:nowrap}.finance-summary-card>small{color:var(--text-dim);font-size:11px}.finance-summary-card.is-danger{border-color:#efc9c6;background:linear-gradient(145deg,#fff,#fff6f5)}.finance-summary-card.is-danger>strong{color:var(--danger)}.finance-summary-card.is-warning{border-color:#ebd9b4;background:linear-gradient(145deg,#fff,#fffaf0)}.finance-summary-card.is-warning>strong{color:var(--warn)}.finance-summary-card.is-neutral{background:linear-gradient(145deg,#fff,#f8faf9)}.finance-aging-card,.finance-table-card{min-width:0;overflow:hidden;border:1px solid var(--border);border-radius:19px;background:var(--surface);box-shadow:var(--shadow-sm)}.finance-aging-card{padding:18px}.finance-section-title,.finance-table-head,.finance-modal-head{display:flex;align-items:flex-start;justify-content:space-between;gap:18px}.finance-section-title h3,.finance-table-head h3,.finance-modal-head h2{margin:3px 0 0;font-size:17px}.finance-section-title>strong{font-size:16px;font-variant-numeric:tabular-nums}.finance-section-title>small{color:var(--text-dim);font-size:11px}.finance-aging-bars{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:14px;margin-top:17px}.finance-aging-bars>div{display:grid;min-width:0;gap:7px}.finance-aging-bars span{color:var(--text-dim);font-size:11px;font-weight:700}.finance-aging-bars>div>div{height:8px;overflow:hidden;border-radius:99px;background:#edf1ef}.finance-aging-bars i{display:block;min-width:3px;height:100%;border-radius:inherit;background:linear-gradient(90deg,var(--accent),#37a77d)}.finance-aging-bars>div:nth-child(n+4) i{background:linear-gradient(90deg,#d68b18,#e4b454)}.finance-aging-bars>div:last-child i{background:linear-gradient(90deg,#b91c1c,#dc655f)}.finance-aging-bars>div.is-no_due i{background:linear-gradient(90deg,#b7791f,#e4b454)}.finance-aging-bars>div.is-not_due i{background:linear-gradient(90deg,var(--accent),#37a77d)}.finance-aging-bars>div.is-1_30 i,.finance-aging-bars>div.is-31_60 i,.finance-aging-bars>div.is-61_90 i{background:linear-gradient(90deg,#d97706,#edb64b)}.finance-aging-bars>div.is-90_plus i{background:linear-gradient(90deg,#b91c1c,#dc655f)}.finance-aging-bars strong{overflow:hidden;font-size:12px;font-variant-numeric:tabular-nums;text-overflow:ellipsis;white-space:nowrap}.finance-filters{display:grid;grid-template-columns:minmax(260px,1.5fr) minmax(170px,.8fr) minmax(160px,.75fr) repeat(2,minmax(145px,.65fr)) auto;align-items:end;gap:10px;padding:14px;border:1px solid var(--border);border-radius:17px;background:var(--surface)}.finance-filters label,.finance-form-grid label,.finance-payment-form label{display:grid;min-width:0;gap:6px}.finance-filters label>span,.finance-form-grid label>span,.finance-payment-form label>span{color:var(--text-dim);font-size:11px;font-weight:750}.finance-filters input,.finance-filters select,.finance-form-grid input,.finance-form-grid select,.finance-form-grid textarea,.finance-payment-form input,.finance-payment-form select{width:100%;min-width:0;min-height:44px;border:1px solid var(--border-strong);border-radius:11px;padding:0 11px;color:var(--text);background:var(--surface);font:inherit;font-size:13px;transition:border-color var(--speed) ease,box-shadow var(--speed) ease}.finance-form-grid textarea{min-height:84px;padding-block:10px;resize:vertical}.finance-filters input:focus,.finance-filters select:focus,.finance-form-grid input:focus,.finance-form-grid select:focus,.finance-form-grid textarea:focus,.finance-payment-form input:focus,.finance-payment-form select:focus{border-color:var(--accent);outline:0;box-shadow:0 0 0 3px var(--accent-ring)}.finance-search>div{position:relative}.finance-search svg{position:absolute;z-index:1;top:50%;left:12px;width:17px;height:17px;color:#71817a;transform:translateY(-50%)}.finance-search input{padding-left:38px}.finance-filters>.btn{min-height:44px}.finance-table-head{align-items:center;padding:16px 18px;border-bottom:1px solid var(--border);background:#fbfcfb}.finance-view-toggle{display:inline-flex;gap:3px;padding:3px;border:1px solid var(--border);border-radius:11px;background:var(--surface)}.finance-view-toggle button{min-height:44px;padding:0 12px;border:0;border-radius:8px;color:var(--text-dim);background:transparent;cursor:pointer;font:inherit;font-size:12px;font-weight:700}.finance-view-toggle button:hover,.finance-view-toggle button.is-active{color:var(--accent-dark);background:var(--accent-soft)}.finance-table-wrap{min-width:0;overflow-x:auto}.finance-table{width:100%;min-width:1180px;border-collapse:separate;border-spacing:0;font-size:12px}.finance-counterparty-table{min-width:1060px}.finance-table th{position:sticky;z-index:1;top:0;padding:10px 12px;border-bottom:1px solid var(--border-strong);color:var(--text-dim);background:#f7f9f8;font-size:10px;font-weight:800;letter-spacing:.025em;text-align:left;text-transform:uppercase;white-space:nowrap}.finance-table th.numeric,.finance-table td.numeric{text-align:right}.finance-sort{display:inline-flex;min-height:44px;align-items:center;gap:5px;margin:-6px -8px;padding:6px 8px;border:0;border-radius:7px;color:inherit;background:transparent;cursor:pointer;font:inherit;font-weight:inherit;letter-spacing:inherit;text-transform:inherit}.finance-sort:hover{color:var(--accent-dark);background:var(--accent-soft)}.finance-table th.numeric .finance-sort{justify-content:flex-end}.finance-table td{min-width:0;padding:11px 12px;border-bottom:1px solid #ecefeD;vertical-align:middle;font-variant-numeric:tabular-nums}.finance-table tbody tr{transition:background-color var(--speed) ease}.finance-table tbody tr:hover{background:#f8fcfa}.finance-table tbody tr.is-overdue{background:snow}.finance-table tbody tr.is-overdue:hover{background:#fff5f4}.finance-record-row.is-clickable{cursor:pointer}.finance-record-row.is-clickable:focus-visible{position:relative;z-index:1;outline:3px solid rgba(12,129,94,.28);outline-offset:-3px;background:#f1faf6}.finance-table td>strong,.finance-row-link>strong{display:block;font-size:12px;font-weight:750}.finance-table td>small,.finance-row-link>small{display:block;max-width:250px;margin-top:2px;overflow:hidden;color:var(--text-dim);font-size:10px;text-overflow:ellipsis;white-space:nowrap}.finance-row-link{display:block;max-width:270px;padding:0;border:0;color:inherit;background:transparent;cursor:pointer;font:inherit;text-align:left}.finance-row-link:hover>strong{color:var(--accent-dark);text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:3px}.finance-table .muted-number{color:var(--text-dim)}.finance-table .balance-number{color:var(--accent-dark)}.finance-table .danger-number{color:var(--danger)}.finance-status{display:inline-flex;min-height:24px;align-items:center;gap:6px;margin-top:5px;padding:3px 7px;border:1px solid #d8e2de;border-radius:999px;color:#52625b;background:#f5f8f7;font-size:9px;font-weight:800;white-space:nowrap}.finance-status>span{width:6px;height:6px;border-radius:50%;background:currentColor}.finance-status.is-overdue,.finance-status.is-critical{border-color:#f0c5c2;color:#a91818;background:#fff1f0}.finance-status.is-due_soon,.finance-status.is-on_hold{border-color:#ead4a5;color:#815308;background:#fff8e8}.finance-status.is-open,.finance-status.is-partial{border-color:#bfded2;color:#0b6a50;background:#edf9f4}.finance-status.is-paid{border-color:#cbd8d2;color:#52625b;background:#f2f5f4}.finance-status.is-overpaid{border-color:#c4d6ec;color:#315e91;background:#f0f6fd}.finance-status.is-disputed,.finance-status.is-written_off{border-color:#d8c9e9;color:#6f3f94;background:#f8f2fc}.finance-pagination{display:flex;min-height:58px;align-items:center;justify-content:space-between;gap:16px;padding:10px 16px;color:var(--text-dim);background:#fbfcfb;font-size:11px}.finance-pagination>div{display:flex;align-items:center;gap:10px}.finance-pagination .btn{min-height:38px}.finance-pagination strong{color:var(--text);font-variant-numeric:tabular-nums}.finance-loading,.finance-empty{display:grid;min-height:280px;place-items:center;align-content:center;gap:9px;padding:32px;color:var(--text-dim);text-align:center}.finance-empty>svg{width:38px;height:38px;margin-bottom:4px;color:#61927f}.finance-empty>strong{color:var(--text);font-size:17px}.finance-empty>span{max-width:570px}.finance-empty .btn{display:inline-flex;min-height:44px;align-items:center;gap:7px;margin-top:7px}.finance-modal-backdrop{position:fixed;z-index:1200;top:0;right:0;bottom:0;left:0;display:grid;place-items:center;padding:24px;background:#111d188a;-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px)}.finance-modal{width:min(100%,600px);max-height:min(900px,calc(100dvh - 48px));overflow:hidden;border:1px solid rgba(255,255,255,.45);border-radius:22px;background:var(--surface);box-shadow:var(--shadow-lg);animation:finance-modal-in .19s ease-out}.finance-modal.is-wide{width:min(100%,920px)}@keyframes finance-modal-in{0%{opacity:0;transform:translateY(10px) scale(.985)}to{opacity:1;transform:translateY(0) scale(1)}}.finance-modal>form,.finance-modal>form>*{min-width:0}.finance-modal>form{max-height:inherit;overflow-y:auto}.finance-modal-head{position:sticky;z-index:3;top:0;align-items:center;padding:18px 20px;border-bottom:1px solid var(--border);background:#fffffff5;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}.finance-modal-head p{margin:4px 0 0;color:var(--text-dim);font-size:11px}.finance-icon-button{display:grid;width:44px;height:44px;flex:0 0 44px;place-items:center;border:1px solid var(--border);border-radius:11px;color:var(--text-dim);background:var(--surface);cursor:pointer}.finance-icon-button:hover{color:var(--text);background:var(--surface-2)}.finance-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px;padding:20px}.finance-form-grid.compact{padding:0}.finance-form-grid .span-2,.finance-payment-form .span-2{grid-column:span 2}.finance-modal-actions,.finance-section-actions{display:flex;align-items:center;justify-content:flex-end;gap:10px;padding:14px 20px;border-top:1px solid var(--border);background:#fbfcfb}.finance-modal>form>.form-error{margin:0 20px 12px}.finance-detail-scroll{max-height:calc(100dvh - 152px);overflow-y:auto;overscroll-behavior:contain;padding:18px;background:#f7f9f8}.finance-detail-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}.finance-detail-kpis>div{display:grid;min-width:0;align-content:start;gap:5px;padding:13px;border:1px solid var(--border);border-radius:13px;background:var(--surface)}.finance-detail-kpis span:first-child{color:var(--text-dim);font-size:10px;font-weight:700}.finance-detail-kpis strong{overflow:hidden;font-size:15px;font-variant-numeric:tabular-nums;text-overflow:ellipsis;white-space:nowrap}.finance-detail-kpis .is-balance{border-color:#b9dfd0;background:#f2fbf7}.finance-detail-kpis .is-balance strong{color:var(--accent-dark)}.finance-progress{height:7px;margin:10px 2px 16px;overflow:hidden;border-radius:99px;background:#dfe7e3}.finance-progress>span{display:block;height:100%;border-radius:inherit;background:linear-gradient(90deg,var(--accent),#39aa80)}.finance-detail-section{margin-top:12px;padding:17px;border:1px solid var(--border);border-radius:16px;background:var(--surface)}.finance-detail-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1px;margin:15px 0 0;overflow:hidden;border:1px solid var(--border);border-radius:12px;background:var(--border)}.finance-detail-grid>div{min-width:0;padding:11px 12px;background:var(--surface)}.finance-detail-grid dt{margin-bottom:3px;color:var(--text-dim);font-size:9px;font-weight:750;text-transform:uppercase}.finance-detail-grid dd{margin:0;overflow-wrap:anywhere;font-size:11px;font-weight:650}.finance-detail-section .finance-form-grid{margin-top:15px}.finance-detail-section .finance-section-actions{margin:15px -17px -17px;border-radius:0 0 16px 16px}.finance-payment-form{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));align-items:end;gap:10px;margin-top:15px}.finance-payment-form .btn{min-height:44px}.finance-payment-history{display:grid;gap:0;margin-top:14px;border-top:1px solid var(--border)}.finance-payment-history>div{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:10px 2px;border-bottom:1px solid var(--border);font-size:11px}.finance-payment-history>div span,.finance-payment-history>div small{display:block}.finance-payment-history>div small{color:var(--text-dim)}.finance-payment-history>div strong{color:var(--accent-dark);font-variant-numeric:tabular-nums}.finance-operation-bar{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 12px;padding:12px;border:1px solid var(--border);border-radius:15px;background:var(--surface);box-shadow:var(--shadow-sm)}.finance-operation-bar button{display:inline-flex;min-height:42px;align-items:center;gap:7px;padding:8px 11px;border:1px solid #d6dfdb;border-radius:10px;color:#32463e;background:#f9fbfa;cursor:pointer;font:inherit;font-size:10px;font-weight:800;transition:border-color var(--speed) ease,color var(--speed) ease,background-color var(--speed) ease}.finance-operation-bar button svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:1.8}.finance-operation-bar button:hover:not(:disabled),.finance-operation-bar button.is-active{border-color:#93c9b5;color:var(--accent-dark);background:#edf9f4}.finance-operation-bar button.is-warning{border-color:#e8c77e;color:#754a05;background:#fff7e5}.finance-operation-bar button.is-danger{margin-left:auto;border-color:#efc8c5;color:#a51d1d;background:#fff5f4}.finance-operation-bar button:disabled{cursor:not-allowed;opacity:.44}.finance-operation-panel{margin:0 0 12px;padding:16px;border:1px solid #bcded1;border-radius:15px;background:#f5fcf9;box-shadow:var(--shadow-sm);animation:finance-operation-in .18s ease-out}.finance-operation-panel.is-adjustment{border-color:#d5c9e2;background:#faf7fd}@keyframes finance-operation-in{0%{opacity:0;transform:translateY(-5px)}to{opacity:1;transform:translateY(0)}}.finance-adjustment-form{display:grid;grid-template-columns:minmax(150px,.7fr) minmax(260px,1.5fr) auto;align-items:end;gap:10px;margin-top:14px}.finance-adjustment-form label{display:grid;gap:6px}.finance-adjustment-form label>span{color:var(--text-dim);font-size:10px;font-weight:750}.finance-adjustment-form input{width:100%;min-height:44px;padding:9px 11px;border:1px solid #cbd7d2;border-radius:10px;color:var(--text);background:var(--surface);font:inherit}.finance-adjustment-form input:focus{border-color:var(--accent);outline:3px solid rgba(12,129,94,.13)}.finance-adjustment-form .btn{min-height:44px}.finance-detail-error{margin:0 0 12px}.finance-history-section{border-color:#c9d9d2}.finance-history-section>.finance-section-title>strong{color:var(--accent-dark);font-size:11px}.finance-timeline{display:grid;margin-top:14px}.finance-timeline-item{position:relative;display:grid;grid-template-columns:36px minmax(0,1fr) auto;gap:11px;min-width:0;padding:0 0 16px}.finance-timeline-item:not(:last-child):before{position:absolute;z-index:0;top:34px;bottom:0;left:17px;width:2px;background:#dce6e2;content:""}.finance-timeline-icon{position:relative;z-index:1;display:grid;width:36px;height:36px;place-items:center;border:1px solid #c9ddd5;border-radius:50%;color:var(--accent-dark);background:#eff9f5}.finance-timeline-icon svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:1.8}.finance-timeline-item.is-status_changed .finance-timeline-icon,.finance-timeline-item.is-management_updated .finance-timeline-icon{border-color:#dac8e8;color:#71478e;background:#f8f2fc}.finance-timeline-item.is-payment_reversed .finance-timeline-icon,.finance-timeline-item.is-adjustment .finance-timeline-icon{border-color:#e5d3ae;color:#79500f;background:#fff8e9}.finance-timeline-body{min-width:0;padding-top:1px}.finance-timeline-body>div{display:flex;align-items:baseline;justify-content:space-between;gap:10px}.finance-timeline-body strong{font-size:11px}.finance-timeline-body time,.finance-timeline-body small{color:var(--text-dim);font-size:9px;font-weight:700}.finance-timeline-body p{margin:3px 0 2px;color:#50615a;font-size:10px;line-height:1.45}.finance-timeline-amount{align-self:start;padding-top:1px;color:var(--accent-dark);font-size:11px;font-variant-numeric:tabular-nums;white-space:nowrap}.finance-timeline-amount.is-negative{color:var(--danger)}.finance-payment-register{margin-top:4px;padding-top:13px;border-top:1px solid var(--border)}.finance-payment-register h4{margin:0 0 6px;font-size:11px}.finance-payment-register>div{display:grid;grid-template-columns:minmax(0,1fr) auto auto;align-items:center;gap:12px;min-height:48px;padding:7px 0;border-bottom:1px solid var(--border);font-size:10px}.finance-payment-register>div span,.finance-payment-register>div small{display:block}.finance-payment-register>div small{color:var(--text-dim)}.finance-payment-register>div>strong{color:var(--accent-dark);font-size:11px;font-variant-numeric:tabular-nums}.finance-payment-register button{min-height:44px;padding:6px 9px;border:1px solid #efc8c5;border-radius:9px;color:#a51d1d;background:#fff5f4;cursor:pointer;font:inherit;font-size:9px;font-weight:800}.finance-payment-register button:disabled{cursor:not-allowed;opacity:.45}.finance-payment-register .finance-payment-locked{max-width:145px;color:#6d5d3e;font-size:9px;font-weight:750;line-height:1.35;text-align:right}@media(max-width:1180px){.finance-summary-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.finance-filters{grid-template-columns:minmax(250px,1.4fr) repeat(2,minmax(160px,1fr))}.finance-aging-bars{grid-template-columns:repeat(3,minmax(0,1fr))}}@media(max-width:760px){.finance-page{gap:12px}.finance-hero{display:grid;gap:16px;padding:18px;border-radius:18px}.finance-source-note{width:100%;min-width:0}.finance-type-tabs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.finance-type-bar{display:grid}.finance-type-bar>.finance-add-button{width:100%;margin-left:0}.finance-summary-grid,.finance-aging-bars,.finance-filters,.finance-detail-kpis,.finance-detail-grid,.finance-payment-form,.finance-adjustment-form{grid-template-columns:1fr 1fr}.finance-filters .finance-search,.finance-filters>.btn,.finance-payment-form .span-2,.finance-payment-form>.btn,.finance-adjustment-form>.btn{grid-column:1 / -1}.finance-operation-bar{display:grid;grid-template-columns:1fr 1fr}.finance-operation-bar button,.finance-operation-bar button.is-danger{width:100%;margin-left:0;justify-content:center}.finance-table-head,.finance-pagination{align-items:stretch;flex-direction:column}.finance-view-toggle,.finance-view-toggle button{flex:1}.finance-table-wrap{overflow:visible}.finance-table,.finance-counterparty-table,.finance-table tbody,.finance-table tr,.finance-table td{display:block;width:100%;min-width:0}.finance-table thead{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}.finance-table tbody{display:grid;gap:10px;padding:10px}.finance-table tbody tr,.finance-table tbody tr.is-overdue{display:grid;grid-template-columns:1fr 1fr;gap:0;overflow:hidden;border:1px solid var(--border);border-radius:14px;background:var(--surface);box-shadow:var(--shadow-sm)}.finance-table tbody tr.is-overdue{border-color:#edcac7}.finance-table td,.finance-table td.numeric{display:grid;align-content:start;gap:3px;padding:10px 11px;border-bottom:1px solid var(--border);text-align:left}.finance-table td:before{content:attr(data-label);color:var(--text-dim);font-size:9px;font-weight:800;text-transform:uppercase}.finance-table td:first-child,.finance-counterparty-table td:first-child{grid-column:1 / -1;background:#f8fbfa}.finance-row-link{max-width:none}.finance-row-link>small,.finance-table td>small{max-width:none;white-space:normal}.finance-modal-backdrop{place-items:end center;padding:10px}.finance-modal,.finance-modal.is-wide{width:100%;max-height:calc(100dvh - 10px);border-radius:20px 20px 12px 12px}.finance-detail-scroll{max-height:calc(100dvh - 103px);padding:12px}}@media(max-width:500px){.finance-summary-grid,.finance-aging-bars,.finance-filters,.finance-detail-kpis,.finance-detail-grid,.finance-form-grid,.finance-payment-form,.finance-adjustment-form{grid-template-columns:1fr}.finance-form-grid .span-2,.finance-payment-form .span-2{grid-column:auto}.finance-table tbody tr,.finance-table tbody tr.is-overdue{grid-template-columns:1fr}.finance-table td:first-child{grid-column:auto}.finance-pagination>div{justify-content:space-between}.finance-timeline-item{grid-template-columns:36px minmax(0,1fr)}.finance-timeline-amount{grid-column:2;margin-top:-10px}.finance-timeline-body>div{display:grid;gap:2px}.finance-payment-register>div{grid-template-columns:minmax(0,1fr) auto}.finance-payment-register button{grid-column:1 / -1}}.employee-multiselect-filter{position:relative;min-width:210px}.employee-multiselect-filter>summary{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:10px;min-height:48px;padding:9px 12px;border:1.5px solid #cbd7d1;border-radius:12px;background:linear-gradient(180deg,#fff,#f8fbf9);color:var(--text);cursor:pointer;font-size:13px;font-weight:650;list-style:none;transition:border-color var(--speed) ease,box-shadow var(--speed) ease}.employee-multiselect-filter>summary::-webkit-details-marker{display:none}.employee-multiselect-filter>summary:hover,.employee-multiselect-filter>summary:focus-visible,.employee-multiselect-filter[open]>summary{border-color:var(--accent);box-shadow:0 0 0 4px var(--accent-ring);outline:0}.employee-multiselect-filter.active>summary{border-color:var(--accent);background:var(--accent-soft);color:var(--accent-dark)}.employee-multiselect-filter>summary svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:1.8;transition:transform .16s ease}.employee-multiselect-filter[open]>summary svg{transform:rotate(180deg)}.employee-multiselect-menu{position:absolute;z-index:80;top:calc(100% + 7px);left:0;width:max-content;min-width:100%;max-width:min(340px,calc(100vw - 32px));padding:10px;border:1px solid var(--border);border-radius:13px;background:var(--surface);box-shadow:0 18px 40px #0f231b29}.employee-multiselect-head{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:2px 3px 9px;border-bottom:1px solid var(--border)}.employee-multiselect-head strong{font-size:12px}.employee-multiselect-head button{padding:4px;border:0;background:transparent;color:var(--accent-dark);cursor:pointer;font:inherit;font-size:10px;font-weight:750}.employee-multiselect-options{display:grid;gap:3px;max-height:280px;margin-top:7px;overflow-y:auto}.employee-multiselect-options label{display:grid;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:9px;min-width:0;padding:8px;border-radius:8px;cursor:pointer;font-size:12px}.employee-multiselect-options label:hover,.employee-multiselect-options label:focus-within{background:var(--surface-2)}.employee-multiselect-options input{width:17px;height:17px;accent-color:var(--accent)}.employee-multiselect-options span{min-width:0;overflow-wrap:anywhere}.employee-accrued-pay{color:var(--accent-dark)!important}.hr-payroll-record{position:relative}.hr-salary-history{border-top:1px solid var(--border)}.hr-salary-history>summary{display:flex;align-items:center;justify-content:space-between;gap:10px;min-height:38px;color:var(--accent-dark);cursor:pointer;font-size:11px;font-weight:750}.hr-salary-history>summary b{min-width:24px;padding:3px 7px;border-radius:999px;background:var(--accent-soft);text-align:center}.hr-salary-history>div{display:grid;gap:7px;padding-top:6px}.hr-salary-history article{display:grid;gap:3px;padding:9px;border-left:3px solid var(--accent);border-radius:0 8px 8px 0;background:var(--surface-2);color:var(--text-dim);font-size:10px}.hr-salary-history article span:first-child{color:var(--text)}.hr-salary-history article small,.hr-salary-history p{margin:0;color:var(--text-dim);font-size:9px}.hr-salary-history .hr-compensation-entry{gap:6px;border-left-color:#d97706;background:#fffbeb}.hr-compensation-entry-head{display:flex;align-items:center;justify-content:space-between;gap:10px}.hr-compensation-entry-head .hr-status{flex:none}.hr-compensation-source{margin-top:3px;border-top:1px solid rgba(217,119,6,.18)}.hr-compensation-source>summary{padding:7px 0 2px;color:#92400e;cursor:pointer;font-size:9px;font-weight:800}.hr-compensation-source dl{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;margin:7px 0}.hr-compensation-source dl>div{display:grid;gap:2px;min-width:0;padding:6px 7px;border:1px solid rgba(217,119,6,.14);border-radius:7px;background:#ffffffb8}.hr-compensation-source dt{color:var(--text-dim);font-size:8px;font-weight:750}.hr-compensation-source dd{min-width:0;margin:0;overflow-wrap:anywhere;color:var(--text);font-size:9px;font-weight:700}.hr-compensation-source>p{margin-top:7px;padding:7px;border-radius:7px;background:#ffffffb8;line-height:1.45}@media(max-width:760px){.employee-multiselect-filter{width:100%}.employee-multiselect-menu{position:fixed;z-index:200;top:auto;right:12px;bottom:12px;left:12px;width:auto;max-width:none}.hr-compensation-entry-head{align-items:flex-start;flex-direction:column}.hr-compensation-source dl{grid-template-columns:1fr}}@media(prefers-reduced-motion:reduce){.finance-modal{animation:none}.finance-type-tabs>button,.finance-table tbody tr,.finance-filters input,.finance-filters select,.finance-form-grid input,.finance-form-grid select,.finance-form-grid textarea,.finance-payment-form input{transition:none}.finance-operation-panel{animation:none}}.form-warning{color:var(--warn);background:var(--warn-bg);border:1px solid rgba(146,96,10,.2);border-radius:var(--radius-sm);padding:10px 14px;font-size:14px}.cell-account{max-width:190px;overflow:hidden;font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:12px;text-overflow:ellipsis;white-space:nowrap}.cell-account>span,.cell-account>small{display:block;overflow:hidden;text-overflow:ellipsis}.cell-account>small{margin-top:3px;color:var(--text-dim);font-family:Noto Sans Georgian,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;font-size:10px}.cell-personal{font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:12px;font-variant-numeric:tabular-nums;white-space:nowrap}.employee-review-block{margin:0 0 16px;overflow:hidden;border:1px solid #efc078;border-radius:14px;background:var(--surface);box-shadow:var(--shadow-sm)}.employee-review-block>summary{display:flex;align-items:center;justify-content:space-between;gap:16px;min-height:48px;padding:13px 16px;list-style:none;cursor:pointer;background:linear-gradient(135deg,#fff8e7,#fff)}.employee-review-block>summary::-webkit-details-marker{display:none}.employee-review-block>summary:focus-visible{outline:3px solid var(--accent-ring);outline-offset:-3px}.employee-review-block>summary>span:first-child{display:grid;gap:2px}.employee-review-block>summary small{color:var(--text-dim);font-size:10px;font-weight:800;letter-spacing:.06em;text-transform:uppercase}.employee-review-counts{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:6px}.employee-review-counts b{display:inline-flex;align-items:center;min-height:26px;padding:4px 8px;border:1px solid #efc078;border-radius:999px;color:#7c4700;font-size:10px;background:#fff8e7}.employee-review-copy,.employee-review-missing{margin:0;padding:10px 16px;border-top:1px solid var(--border);color:var(--text-dim);font-size:12px;line-height:1.6}.employee-review-missing strong{color:#7c4700}.employee-review-table{margin:0;border-radius:0;box-shadow:none}.employee-review-block .table-wrap{max-height:360px;overflow:auto}.employee-review-table .cell-account{max-width:none}@media(max-width:640px){.employee-review-block>summary{align-items:flex-start;flex-direction:column}.employee-review-counts{justify-content:flex-start}}.row-actions{display:inline-flex;align-items:center;justify-content:flex-end;gap:6px;flex-wrap:wrap}.badge-payment-paid,.badge-sale-confirmed{color:var(--accent-dark);background:var(--accent-soft);border-color:#04785733}.badge-payment-unpaid,.badge-payment-partial,.badge-sale-draft{color:var(--warn);background:var(--warn-bg);border-color:#92600a40}.badge-payment-overdue,.badge-payment-cancelled,.badge-sale-cancelled{color:var(--danger);background:var(--danger-bg);border-color:#b91c1c33}.modal-compact{max-width:600px}.inline-filter{display:flex;align-items:end;gap:8px;flex-wrap:wrap}.menu-course-input{width:min(160px,100%)}.sales-page{display:grid;gap:16px}.sales-page .page-head,.sales-page .hint,.sales-page .form-warning,.sales-page .form-success,.sales-page .form-error{margin:0}.sales-page .form-success{padding:10px 12px;border:1px solid #a9ddc9;border-radius:var(--radius-sm);background:#f2fbf7;color:var(--accent-dark)}.filter-card{padding:16px;border:1px solid var(--border);border-radius:var(--radius);background:var(--surface);box-shadow:var(--shadow-sm)}.sales-filters{display:grid;grid-template-columns:minmax(150px,.7fr) minmax(150px,.7fr) minmax(220px,1.5fr) minmax(170px,.8fr) auto;align-items:end;gap:12px}.sales-filters .search{width:100%}.sales-date-presets{display:flex;align-items:center;flex-wrap:wrap;gap:8px;margin-top:-4px}.sales-date-presets>span{color:var(--text-dim);font-size:12px;font-weight:700}.sales-source-tabs{display:flex;align-items:center;gap:4px;width:fit-content;max-width:100%;padding:4px;border:1px solid var(--border);border-radius:14px;background:var(--surface);box-shadow:var(--shadow-sm)}.sales-source-tabs .tab{min-height:40px;border-radius:10px;white-space:nowrap}.sales-source-note{display:flex;align-items:center;gap:10px;min-width:0;padding:10px 12px;border:1px solid #bce5d5;border-radius:var(--radius-sm);background:#f2fbf7;color:var(--text-dim);font-size:12px}.sales-source-note-warn{border-color:#edd6a7;background:#fffaf0}.sales-source-badge{flex:0 0 auto;color:var(--accent-dark);border-color:#a9ddc9;background:#fff}.rs-invoice-status-confirmed{background:var(--accent-soft);border-color:#04785733;color:var(--accent-dark)}.rs-invoice-status-pending{background:var(--warn-bg);border-color:#92600a40;color:var(--warn)}.rs-status-filter{min-width:220px;min-height:40px}.sales-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.sales-summary .stat-card{min-height:108px;justify-content:center}.sales-summary .stat-card span{color:var(--text-dim);font-size:12px;font-weight:650}.sales-summary .stat-card strong{font-size:clamp(20px,2vw,30px);font-variant-numeric:tabular-nums}.sales-summary .stat-positive strong{color:var(--accent-dark)}.realization-overview-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-items:start;gap:12px}.sales-panel{min-width:0;overflow:clip;border:1px solid var(--border);border-radius:var(--radius);background:var(--surface);box-shadow:var(--shadow-sm)}.sales-panel-head{display:flex;align-items:center;justify-content:space-between;gap:12px;min-width:0;padding:14px 16px;border-bottom:1px solid var(--border)}.sales-panel-head>div{min-width:0}.sales-panel-head h3,.sales-panel-head p{margin:0}.sales-panel-head h3{font-size:16px}.sales-panel-head p{margin-top:2px;color:var(--text-dim);font-size:12px}.realization-rows{display:grid;min-width:0}.realization-row,.realization-detail-row{display:grid;min-width:0;gap:14px;padding:12px 16px;border-bottom:1px solid var(--border)}.realization-row:last-child,.realization-detail-row:last-child{border-bottom:0}.realization-row{grid-template-columns:minmax(0,1fr) auto;align-items:center}.realization-detail-row{grid-template-columns:minmax(220px,1.4fr) repeat(3,minmax(130px,.7fr));align-items:center}.realization-row>span,.realization-detail-row>span{display:grid;min-width:0;gap:2px}.realization-row>span:last-child,.realization-detail-row>span:not(:first-child){justify-items:end;text-align:right;font-variant-numeric:tabular-nums}.realization-row strong,.realization-row small,.realization-detail-row strong,.realization-detail-row small{min-width:0;overflow-wrap:anywhere}.realization-row small,.realization-detail-row small{color:var(--text-dim);font-size:11.5px}.project-row>span:last-child strong,.project-detail-row>span:last-child strong{color:#94620c}.sales-list{display:grid;gap:12px}.sale-card{overflow:hidden;border:1px solid var(--border);border-radius:var(--radius);background:var(--surface);box-shadow:var(--shadow-sm)}.sale-head,.sale-total{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px 16px}.sale-head>div:first-child{display:grid;min-width:0}.sale-head>div:first-child span,.sale-line small{color:var(--text-dim);font-size:12px}.sale-lines{border-block:1px solid var(--border)}.sale-line{display:grid;grid-template-columns:minmax(220px,1.5fr) repeat(3,minmax(110px,.65fr));align-items:center;gap:12px;padding:11px 16px;border-bottom:1px solid var(--border)}.sale-line:last-child{border-bottom:0}.sale-line>span{display:grid;min-width:0;font-variant-numeric:tabular-nums}.sale-line>span:not(:first-child){text-align:right}.sale-total{justify-content:flex-end;background:var(--surface-2);font-variant-numeric:tabular-nums}.sale-total>:first-child{margin-right:auto;color:var(--text-dim);font-weight:700}.sale-modal{max-width:1180px}.product-picker{position:relative;display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px}.product-results{position:absolute;z-index:2;top:52px;left:0;right:0;display:grid;max-height:320px;overflow-y:auto;border:1px solid var(--border-strong);border-radius:var(--radius-sm);background:var(--surface);box-shadow:var(--shadow-md)}.product-results button{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:52px;padding:9px 12px;border:0;border-bottom:1px solid var(--border);background:transparent;color:var(--text);font:inherit;text-align:left;cursor:pointer}.product-results button:hover{background:var(--accent-soft)}.product-results span{display:grid}.product-results small{color:var(--text-dim)}.sale-edit-lines{display:grid;gap:8px}.sale-edit-line{display:grid;grid-template-columns:minmax(180px,1.5fr) minmax(90px,.7fr) repeat(4,minmax(96px,.75fr)) auto;align-items:end;gap:8px;padding:12px;border:1px solid var(--border);border-radius:var(--radius-sm);background:var(--surface-2)}@media(max-width:1100px){.sales-filters{grid-template-columns:repeat(2,minmax(0,1fr))}.sales-filters>:nth-child(3){grid-column:1 / -1}.sales-summary{grid-template-columns:repeat(2,minmax(0,1fr))}.sale-edit-line{grid-template-columns:repeat(3,minmax(0,1fr))}.realization-overview-grid{grid-template-columns:1fr}.realization-detail-row{grid-template-columns:minmax(200px,1.2fr) repeat(3,minmax(110px,.7fr))}}@media(max-width:760px){.sales-summary,.sales-filters{grid-template-columns:1fr}.sales-filters>:nth-child(3){grid-column:auto}.sale-head,.sale-total{align-items:stretch;flex-direction:column}.sale-head .row-actions{justify-content:flex-start}.sale-line{grid-template-columns:1fr 1fr}.sale-line>span:first-child{grid-column:1 / -1}.sale-line>span:not(:first-child){text-align:left}.sale-edit-line{grid-template-columns:1fr 1fr}.product-picker{grid-template-columns:1fr}.product-results{top:104px}.sales-source-tabs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));width:100%}.sales-source-tabs .tab{min-width:0;white-space:normal}.sales-source-note,.sales-panel-head{align-items:flex-start;flex-direction:column}.realization-detail-row{grid-template-columns:1fr 1fr}.realization-detail-row>span:first-child{grid-column:1 / -1}.realization-detail-row>span:not(:first-child){justify-items:start;text-align:left}}@media(max-width:520px){.sales-summary,.sale-edit-line,.sale-line{grid-template-columns:1fr}.sale-line>span:first-child{grid-column:auto}.sales-page .page-head,.sales-page .page-head .btn,.modal-actions,.modal-actions .btn{width:100%}.modal-actions{flex-direction:column-reverse}.realization-row,.realization-detail-row{grid-template-columns:1fr}.realization-detail-row>span:first-child{grid-column:auto}.realization-row>span:last-child{justify-items:start;text-align:left}.sales-panel-head .btn{width:100%}}@media(max-width:900px){.employee-directory-switcher{grid-template-columns:repeat(3,minmax(0,1fr))}.employee-profile-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.employee-payment-review-head{align-items:stretch;flex-direction:column}.employee-payment-review-summary{width:100%;min-width:0}.employee-payment-review-form{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}.employee-payment-review-notes{grid-column:1 / -1}.employees-table,.employees-table tbody{display:block;width:100%;border:0;background:transparent;box-shadow:none}.employees-table thead{display:none}.employees-table tbody{display:grid;gap:10px}.employees-table tbody tr{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:8px 14px;padding:14px;border:1px solid var(--border);border-radius:var(--radius-sm);background:var(--surface);box-shadow:var(--shadow-sm)}.employees-table td{display:grid;min-width:0;padding:0;border:0;overflow-wrap:anywhere;white-space:normal}.employees-table td:before{content:attr(data-label);color:var(--text-dim);font-size:10px;font-weight:750;letter-spacing:.05em;text-transform:uppercase}.employees-table .cell-name,.employees-table .cell-details,.employees-table .cell-actions{grid-column:1 / -1}.employees-table .cell-account{max-width:none;text-overflow:clip}.employees-table .cell-actions{display:flex;gap:8px;text-align:left}.employees-table .cell-actions:before{display:none}.employees-table .cell-actions .btn{margin:0}}@media(max-width:520px){.employee-directory-viewbar{align-items:stretch;flex-direction:column}.employee-directory-viewbar>p{text-align:left}.employee-directory-view-toggle{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.employee-hierarchy{padding:12px}.employee-hierarchy-head{align-items:flex-start;flex-direction:column}.position-hierarchy-head-actions{align-items:stretch;flex-direction:column;width:100%}.position-hierarchy-head-actions>span{text-align:center;white-space:normal}.employee-hierarchy-item>ul{margin-left:8px;padding-left:12px}.employee-hierarchy-item>ul>.employee-hierarchy-item:before{left:-12px;width:10px}.employee-hierarchy-card{grid-template-columns:40px minmax(0,1fr) 44px;gap:9px;padding:9px}.position-hierarchy-card{grid-template-columns:40px minmax(0,1fr)}.employee-hierarchy-manager{grid-template-columns:1fr;grid-column:1 / -1}.employee-hierarchy-manager select{min-height:44px;font-size:16px}.employee-hierarchy-avatar{width:40px;height:40px}.employee-hierarchy-count{display:none}.employee-directory-switcher{grid-template-columns:1fr}.employee-directory-switcher button{grid-template-columns:minmax(0,1fr) auto;align-items:center;min-height:76px}.employee-directory-switcher strong{grid-column:2;grid-row:1 / span 2}.employee-directory-switcher small{grid-column:1}.employee-profile-grid{grid-template-columns:1fr}.employee-profile-section-head>small{text-align:left}.employee-payment-review{padding:12px}.employee-payment-review-summary,.employee-payment-review-form{grid-template-columns:1fr}.employee-payment-review-notes,.employee-payment-review-actions{grid-column:auto}.employee-payment-review-row-head{align-items:stretch;flex-direction:column}.employee-payment-review-amount{justify-items:start}.employee-payment-review-actions{align-items:stretch;flex-direction:column}.employee-payment-review-actions .btn{width:100%}.content{padding-inline:12px}.compact-date-filter{grid-template-columns:auto minmax(0,1fr);width:100%}.compact-date-filter input{width:100%}.page-head,.page-actions{align-items:stretch;width:100%;min-width:0}.page-actions>*,.page-actions input,.page-actions select,.page-actions .compact-date-filter{width:100%;max-width:100%;min-width:0}.page-actions .view-toggle{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));padding:2px}.page-actions .view-toggle .tab{min-width:0;padding-inline:5px;font-size:11px;white-space:normal}.event-row{align-items:flex-start;flex-direction:column}.event-row>div:first-child,.event-right{width:100%;min-width:0}.event-right{justify-content:flex-start;flex-wrap:wrap;white-space:normal}.event-meta{overflow-wrap:anywhere}.employees-table tbody tr{grid-template-columns:1fr}.employees-table .cell-name,.employees-table .cell-details,.employees-table .cell-actions{grid-column:auto}.employee-history-modal{width:calc(100vw - 16px);max-height:calc(100dvh - 16px);border-radius:18px}.employee-history-head{gap:12px;padding:14px 16px}.employee-history-avatar{width:40px;height:40px;border-radius:12px;font-size:12px}.employee-history-head h3{font-size:16px}.employee-history-close{min-width:44px;padding-inline:11px}.employee-history-close span{display:none}.employee-history-content{padding:12px}.employee-history-summary{grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}.employee-history-summary strong{font-size:15px;white-space:nowrap}.employee-ranking-filter select,.employee-payment-filter select{min-width:0;padding-right:30px;font-size:12px}.employee-history-list>li{grid-template-columns:1fr;gap:12px;padding:12px}.employee-history-meta{justify-items:stretch}.employee-history-meta dl>div{text-align:left}.employee-history-meta>small{text-align:left}}.details-editor{border:1px dashed var(--border-strong);border-radius:var(--radius);padding:14px;display:flex;flex-direction:column;gap:8px;background:var(--surface-2)}.details-head{display:flex;justify-content:space-between;align-items:center;font-weight:700;font-size:13px;color:var(--text-dim)}.details-row{display:grid;grid-template-columns:1fr 1.4fr auto;gap:8px}.event-card{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);margin-bottom:10px;overflow:hidden;box-shadow:var(--shadow-sm);transition:box-shadow var(--speed) ease,border-color var(--speed) ease}.event-card:hover{border-color:var(--border-strong);box-shadow:var(--shadow-md)}.event-row{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:15px 18px;cursor:pointer}.event-meta{display:block;color:var(--text-dim);font-size:13px;margin-top:1px}.event-right{display:flex;align-items:center;gap:8px;white-space:nowrap}.chevron{color:var(--text-dim);font-size:12px}.event-body{border-top:1px solid var(--border);padding:16px 18px;background:var(--surface-2)}.staff-list{list-style:none;margin:8px 0;padding:0}.staff-list li{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:8px 0;border-bottom:1px solid var(--border)}.staff-list li:last-child{border-bottom:none}.staff-list em{color:var(--text-dim);font-style:normal;font-size:13px}.assign-row{margin:10px 0;max-width:380px}.flag-row{display:flex;gap:24px;margin-bottom:14px;flex-wrap:wrap}.checkbox-label{flex-direction:row;align-items:center;gap:8px;font-size:14px;font-weight:500;color:var(--text);cursor:pointer}.checkbox-label input{width:18px;height:18px;min-height:0;accent-color:var(--accent);cursor:pointer;border-radius:6px}.perm-table .perm-col{text-align:center;width:78px}.perm-table input{width:18px;height:18px;min-height:0;accent-color:var(--accent);cursor:pointer}.inline-form{display:flex;gap:8px;margin-bottom:16px;flex-wrap:wrap}.inline-form input{width:250px}.inline-form-labeled{align-items:flex-start;gap:14px}.inline-form-btn{margin-top:24px}.login-wrap{min-height:100vh;display:flex;align-items:center;justify-content:center;padding:20px;background:radial-gradient(1000px 500px at 85% -10%,rgba(4,120,87,.07),transparent 60%),radial-gradient(800px 400px at -10% 110%,rgba(4,120,87,.05),transparent 60%),var(--bg)}.login-card{background:var(--surface);border:1px solid var(--border);border-radius:20px;padding:36px;width:100%;max-width:392px;display:flex;flex-direction:column;gap:15px;box-shadow:var(--shadow-lg)}.login-brand{margin-bottom:4px}.login-card h1{font-size:23px;margin:0}.google-login-btn{display:inline-flex;align-items:center;justify-content:center;gap:10px;min-height:46px;border-color:var(--border);background:var(--surface);font-weight:700}.google-login-btn:hover{border-color:#aebbb5;background:#f9fbfa}.google-login-btn svg{width:20px;height:20px;stroke:none}.login-divider{display:flex;align-items:center;gap:12px;color:var(--muted);font-size:11px;text-align:center}.login-divider:before,.login-divider:after{flex:1;height:1px;content:"";background:var(--border)}.login-copy{margin:-4px 0 2px;color:var(--text-dim);font-size:13px;line-height:1.6}.login-security-note{margin:2px 0 0;color:var(--muted);font-size:11px;line-height:1.5;text-align:center}.password-field{position:relative;display:block}.password-field input{padding-right:88px}.password-toggle{position:absolute;top:50%;right:5px;min-width:74px;min-height:36px;padding:4px 9px;border:0;border-radius:8px;color:var(--accent-dark);font:inherit;font-size:11px;font-weight:750;background:var(--accent-soft);cursor:pointer;transform:translateY(-50%)}.password-toggle:hover{background:#dff8ed}.staff-login-wrap{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(360px,.75fr);gap:56px;width:100%;padding:clamp(24px,5vw,72px)}.staff-login-intro{align-self:center;justify-self:end;width:min(100%,580px)}.staff-login-intro h1{max-width:560px;margin:8px 0 18px;font-size:clamp(34px,5vw,64px);line-height:1.08;letter-spacing:-.035em}.staff-login-intro>p:not(.eyebrow){max-width:520px;margin:0;color:var(--text-dim);font-size:16px;line-height:1.75}.staff-login-intro ul{display:grid;gap:12px;margin:28px 0 0;padding:0;list-style:none}.staff-login-intro li{position:relative;padding-left:28px;font-weight:650}.staff-login-intro li:before{position:absolute;top:4px;left:0;width:16px;height:16px;border-radius:50%;content:"";background:var(--accent-soft);box-shadow:inset 0 0 0 5px var(--accent)}.staff-login-lock{display:grid;width:54px;height:54px;margin-bottom:28px;place-items:center;border:1px solid #b9ddcf;border-radius:17px;color:var(--accent-dark);background:var(--accent-soft);box-shadow:var(--shadow-sm)}.staff-login-lock svg{width:27px;height:27px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.staff-login-wrap .login-card{align-self:center;justify-self:start;max-width:430px;padding:clamp(28px,4vw,42px)}.staff-login-wrap .btn,.staff-portal-shell .btn{min-height:44px}.staff-login-back{align-self:center;margin-top:2px;color:var(--text-dim);font-size:12px;font-weight:650;text-decoration:none}.staff-login-back:hover{color:var(--accent-dark);text-decoration:underline}.staff-portal-shell{min-height:100vh;background:radial-gradient(900px 420px at 100% 0%,rgba(4,120,87,.06),transparent 65%),var(--bg)}.staff-portal-topbar{position:sticky;z-index:20;top:0;display:flex;align-items:center;justify-content:space-between;gap:24px;min-height:72px;padding:12px max(24px,calc((100vw - 1320px)/2));border-bottom:1px solid var(--border);background:#fffffff0;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px)}.staff-portal-brand{display:flex;align-items:center;gap:12px;color:var(--text);text-decoration:none}.staff-portal-brand>span:last-child,.staff-portal-identity{display:grid;gap:1px}.staff-portal-brand strong,.staff-portal-identity strong{font-size:13px}.staff-portal-brand small,.staff-portal-identity small{color:var(--text-dim);font-size:10px}.staff-portal-user{display:flex;align-items:center;gap:9px}.staff-portal-identity{min-width:112px;padding-inline:5px 10px}.staff-portal-content{width:min(100%,1320px);margin:0 auto;padding:32px 24px 96px}.staff-portal-intro{display:flex;align-items:center;justify-content:space-between;gap:32px;min-height:190px;margin-bottom:18px;padding:clamp(28px,4vw,48px);overflow:hidden;border-radius:24px;color:#fff;background:radial-gradient(circle at 88% 0%,rgba(255,255,255,.18),transparent 32%),linear-gradient(135deg,#0a604a,#047857 60%,#0b8c69);box-shadow:0 16px 44px #045f462e}.staff-portal-intro .eyebrow{color:#bff4df}.staff-portal-intro h1{margin:0 0 10px;font-size:clamp(28px,4vw,44px);letter-spacing:-.025em}.staff-portal-intro p:last-child{max-width:680px;margin:0;color:#ffffffd1;font-size:14px}.staff-portal-intro-mark{display:grid;flex:0 0 auto;width:108px;height:108px;place-items:center;border:1px solid rgba(255,255,255,.28);border-radius:32px;background:#ffffff1c;transform:rotate(3deg)}.staff-portal-intro-mark svg{width:58px;height:58px;fill:none;stroke:currentColor;stroke-width:1.45;stroke-linecap:round;stroke-linejoin:round}.employees-page-portal{padding:22px;border:1px solid var(--border);border-radius:20px;background:#ffffffdb;box-shadow:var(--shadow-sm)}.employee-page-title p{margin:4px 0 0;color:var(--text-dim);font-size:12px}.employees-page-portal .page-actions .search{width:min(320px,100%)}.employees-page-portal .page-actions select{width:220px}.employee-summary-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-bottom:18px}.employee-summary-grid>div{display:grid;gap:3px;min-height:86px;padding:14px 16px;border:1px solid var(--border);border-radius:14px;background:var(--surface-2)}.employee-summary-grid span{color:var(--text-dim);font-size:11px;font-weight:650}.employee-summary-grid strong{align-self:end;color:var(--accent-dark);font-size:25px;line-height:1;font-variant-numeric:tabular-nums}.employee-notice{margin-bottom:16px}.employee-loading{display:grid;gap:10px}.employee-loading span{display:block;height:58px;border:1px solid var(--border);border-radius:12px;background:linear-gradient(90deg,var(--surface-2),#fff,var(--surface-2));background-size:220% 100%;animation:employee-loading 1.3s ease-in-out infinite}@keyframes employee-loading{to{background-position:-120% 0}}@media(max-width:900px){.staff-login-wrap{grid-template-columns:1fr;gap:32px}.staff-login-intro,.staff-login-wrap .login-card{justify-self:center}.staff-login-intro{text-align:center}.staff-login-intro>p:not(.eyebrow){margin-inline:auto}.staff-login-intro ul{display:none}.staff-login-lock{margin-inline:auto}.staff-portal-system-link,.staff-portal-identity{display:none}}@media(max-width:640px){.staff-login-wrap{align-content:center;padding:18px}.staff-login-intro{display:none}.staff-login-wrap .login-card{padding:28px 22px}.staff-portal-topbar{min-height:64px;padding:10px 12px}.staff-portal-brand>span:last-child,.staff-portal-user .btn-excel{display:none}.staff-portal-user .btn{min-height:42px;padding-inline:13px}.staff-portal-content{padding:12px 10px 64px}.staff-portal-intro{min-height:0;margin-bottom:10px;padding:24px 20px;border-radius:18px}.staff-portal-intro-mark{display:none}.staff-portal-intro h1{font-size:27px}.employees-page-portal{padding:16px 12px;border-radius:16px}.employee-summary-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}.employee-summary-grid>div{min-height:74px;padding:11px}.employee-summary-grid span{font-size:9px}.employee-summary-grid strong{font-size:21px}.employees-page-portal .cell-actions .btn{min-height:42px;flex:1 1 auto}}@media(prefers-reduced-motion:reduce){.employee-loading span{animation:none}}.security-panel{margin:22px 0;padding:22px;border:1px solid #b9d8ca;border-radius:18px;background:linear-gradient(135deg,#f5fbf8,#fff)}.security-panel-head{display:flex;justify-content:space-between;gap:20px}.security-panel-head h3{margin:3px 0 7px}.security-panel-head .hint{margin:0;max-width:720px}.security-eyebrow{margin:0;color:var(--accent);font-size:10px;font-weight:800;letter-spacing:.12em;text-transform:uppercase}.security-count{align-self:flex-start;padding:6px 10px;border-radius:999px;color:#146044;background:#e5f4ed;font-size:11px;font-weight:800;white-space:nowrap}.line-operator-access-panel{border-color:#9fcfbc;background:linear-gradient(135deg,#eefaf5 0%,var(--surface) 72%)}.line-operator-assignment-list{display:grid;gap:10px;margin-top:18px}.line-operator-assignment-row{display:grid;grid-template-columns:minmax(180px,.75fr) minmax(260px,1.4fr) auto;align-items:end;gap:16px;min-width:0;padding:14px;border:1px solid var(--border);border-radius:12px;background:var(--surface);transition:border-color var(--speed) ease,box-shadow var(--speed) ease,opacity var(--speed) ease}.line-operator-assignment-row.is-dirty{border-color:var(--accent);box-shadow:0 0 0 3px var(--accent-ring)}.line-operator-assignment-row[aria-busy=true]{opacity:.72}.line-operator-identity{display:grid;align-self:center;gap:3px;min-width:0}.line-operator-identity strong{font-size:14px;overflow-wrap:anywhere}.line-operator-identity span{color:var(--text-dim);font-size:12px;line-height:1.45}.line-operator-zone-field{display:grid;gap:6px;min-width:0}.line-operator-zone-field>span{color:var(--text-dim);font-size:12px;font-weight:750}.line-operator-zone-field select{min-width:0;min-height:44px}.line-operator-zone-field small{min-height:17px;color:var(--text-dim);font-size:11px;line-height:1.45;overflow-wrap:anywhere}.line-operator-assignment-row>.btn{min-width:116px;min-height:44px}.line-operator-assignment-empty{margin:0;padding:16px;border:1px dashed var(--border-strong);border-radius:12px;color:var(--text-dim);background:var(--surface);font-size:13px;text-align:center}.employee-time-worksite-panel{border-color:#98c7b6;background:linear-gradient(135deg,#eef9f5 0%,var(--surface) 58%,#fff7ed 100%)}.security-count.is-warning{color:#98531f;background:#fff0dc}.employee-time-worksite-message{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:16px 0 0;padding:11px 13px;border:1px solid transparent;border-radius:11px;font-size:12px;line-height:1.5}.employee-time-worksite-message.is-error{border-color:#efb5b1;color:#8e2f2a;background:#fff2f1}.employee-time-worksite-message.is-ok{border-color:#acd7c5;color:#146044;background:#eefaf5}.employee-time-worksite-loading{margin:18px 0 0;padding:30px;border:1px dashed var(--border-strong);border-radius:14px;color:var(--text-dim);background:#ffffffb8;font-size:13px;text-align:center}.employee-time-worksite-form{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(320px,.85fr);gap:20px;margin-top:18px}.employee-time-worksite-map-column,.employee-time-worksite-fields{min-width:0}.employee-time-worksite-map-column{display:grid;align-content:start;gap:10px}.employee-time-location-map.leaflet-container{z-index:0;width:100%;height:440px;border:1px solid #8dbba9;border-radius:15px;background:#e7eee9;box-shadow:inset 0 0 0 1px #ffffffb3,var(--shadow-sm)}.employee-time-location-map.leaflet-container:focus-visible{outline:3px solid var(--accent-ring);outline-offset:3px}.employee-time-location-map .leaflet-control-attribution,.employee-time-location-map .leaflet-control-scale-line{font-size:9px}.employee-time-map-pin{border:0;background:transparent}.employee-time-map-pin-shape{display:block;position:relative;width:34px;height:34px;border-radius:50% 50% 50% 0;background:#116b4c;box-shadow:0 3px 10px #0d402f59;transform:rotate(-45deg)}.employee-time-map-pin-shape:after{content:"";position:absolute;top:4px;right:4px;bottom:4px;left:4px;border:2px solid rgba(255,255,255,.84);border-radius:inherit}.employee-time-map-pin-shape>i{position:absolute;top:11px;left:11px;width:12px;height:12px;border-radius:50%;background:#fff}.employee-time-map-legend{display:flex;flex-wrap:wrap;gap:8px 16px;color:var(--text-dim);font-size:11px;line-height:1.45}.employee-time-map-legend span{display:inline-flex;align-items:center;gap:7px}.employee-time-map-legend i{width:11px;height:11px;border:2px solid;border-radius:50%}.employee-time-map-legend i.is-start{border-color:#147a55;background:#35a97838}.employee-time-map-legend i.is-exit{border-color:#d2652b;border-style:dashed;background:#f5a56e2e}.employee-time-map-actions{display:flex;flex-wrap:wrap;gap:8px}.employee-time-map-actions .btn{min-height:40px}.employee-time-worksite-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-content:start;gap:13px}.employee-time-worksite-field{display:grid;align-content:start;gap:6px;min-width:0}.employee-time-worksite-field>span{color:var(--text-dim);font-size:11px;font-weight:800;line-height:1.35}.employee-time-worksite-field input{min-width:0;min-height:44px;font-variant-numeric:tabular-nums}.employee-time-worksite-field small{color:var(--text-dim);font-size:10px;line-height:1.45}.employee-time-worksite-fields .is-wide{grid-column:1 / -1}.employee-time-worksite-rule{padding:13px 14px;border:1px solid #d9c39b;border-radius:12px;color:#654c24;background:#fffaf0}.employee-time-worksite-rule strong{font-size:12px}.employee-time-worksite-rule p{margin:5px 0 0;font-size:11px;line-height:1.55}.employee-time-open-shifts{margin:0;padding:10px 12px;border:1px solid #efc58e;border-radius:10px;color:#84511d;background:#fff5e6;font-size:11px;line-height:1.45}.employee-time-worksite-form-actions{display:flex;justify-content:flex-end;gap:8px;padding-top:2px}.employee-time-worksite-form-actions .btn{min-height:44px}.google-access-form{display:grid;grid-template-columns:minmax(200px,1fr) minmax(180px,.8fr) auto;align-items:end;gap:12px;margin-top:18px}.google-access-form label{display:grid;gap:6px}.google-access-list{display:grid;gap:8px;margin-top:16px}.google-access-row{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:12px 14px;border:1px solid var(--border);border-radius:12px;background:var(--surface)}.google-access-row>div{display:grid;gap:2px}.google-access-row strong{font-size:13px}.google-access-row span{color:var(--muted);font-size:11px}.google-access-empty{margin:0;padding:10px 0}.profile-employee-link-summary{display:block;margin-top:5px;color:var(--text-dim);font-size:11px;font-weight:700;line-height:1.45;overflow-wrap:anywhere}.profile-employee-link-summary.is-linked{color:#146044}.profile-employee-link-summary.is-missing{color:#98531f}.profile-employee-link{display:grid;grid-template-columns:minmax(180px,.72fr) minmax(260px,1.45fr) auto;align-items:end;gap:14px;min-width:0;margin-bottom:16px;padding:14px;border:1px solid var(--border);border-radius:12px;background:var(--surface);transition:border-color var(--speed) ease,box-shadow var(--speed) ease,opacity var(--speed) ease}.profile-employee-link.is-dirty{border-color:var(--accent);box-shadow:0 0 0 3px var(--accent-ring)}.profile-employee-link[aria-busy=true]{opacity:.72}.profile-employee-link-copy{display:grid;align-self:center;gap:4px;min-width:0}.profile-employee-link-copy strong{font-size:13px;overflow-wrap:anywhere}.profile-employee-link-copy span{color:var(--text-dim);font-size:11px;line-height:1.45}.profile-employee-link-field{display:grid;gap:6px;min-width:0}.profile-employee-link-field>span{color:var(--text-dim);font-size:12px;font-weight:750}.profile-employee-link-select{width:100%;min-width:0;min-height:44px}.profile-employee-link-select:focus-visible{outline:3px solid var(--accent-ring);outline-offset:2px}.profile-employee-link-field small{min-height:17px;color:var(--text-dim);font-size:11px;line-height:1.45;overflow-wrap:anywhere}.profile-employee-link>.btn{min-width:116px;min-height:44px}.profile-employee-link-feedback{grid-column:1 / -1;margin:-2px 0 0;padding:9px 11px;border:1px solid transparent;border-radius:9px;font-size:11px;font-weight:700;line-height:1.5}.profile-employee-link-feedback.is-error{border-color:#efb5b1;color:#8e2f2a;background:#fff2f1}.profile-employee-link-feedback.is-success{border-color:#acd7c5;color:#146044;background:#eefaf5}.access-preview-btn{margin-right:auto;border-color:#8fb8e8;color:#245d9c;background:#f3f8ff}.access-preview-btn:hover{border-color:#4d86c5;color:#174b83;background:#eaf3ff}.access-preview-btn>span{font-size:17px;line-height:1}@media(max-width:720px){.security-panel-head{flex-direction:column}.employee-time-worksite-form{grid-template-columns:1fr}.employee-time-location-map.leaflet-container{height:360px}.employee-time-worksite-fields{grid-template-columns:1fr}.employee-time-worksite-fields .is-wide{grid-column:auto}.employee-time-map-actions,.employee-time-worksite-form-actions{flex-direction:column}.employee-time-map-actions .btn,.employee-time-worksite-form-actions .btn{width:100%}.line-operator-assignment-row{grid-template-columns:1fr;gap:12px}.line-operator-assignment-row>.btn{width:100%}.line-operator-zone-field select{font-size:16px}.profile-employee-link{grid-template-columns:1fr;gap:12px}.profile-employee-link>.btn{width:100%}.profile-employee-link-select{font-size:16px}.google-access-form{grid-template-columns:1fr}.google-access-form .btn{width:100%}}@media(prefers-reduced-motion:reduce){.line-operator-assignment-row,.profile-employee-link{transition:none}.employee-time-location-map *{scroll-behavior:auto!important}}.price-catalog-subtitle{margin:3px 0 0}.price-source-pill{display:inline-flex;align-items:center;gap:7px;max-width:100%;padding:8px 12px;border:1px solid #a7d9c7;border-radius:999px;background:#effbf6;color:var(--accent-dark);font-size:12px;font-weight:750;white-space:nowrap}.price-source-pill span{font-size:16px}.price-catalog-note{margin-bottom:18px}.price-catalog-stats{grid-template-columns:repeat(4,minmax(140px,1fr));margin:0 0 16px}.price-stat-value{font-size:22px}.price-catalog-toolbar{display:grid;grid-template-columns:minmax(230px,1.35fr) minmax(200px,.9fr) minmax(160px,.65fr) auto;gap:8px;align-items:center;margin-bottom:12px}.price-catalog-toolbar .search{width:100%}.price-catalog-count{padding-left:8px;color:var(--text-dim);font-size:13px;font-variant-numeric:tabular-nums;white-space:nowrap}.price-catalog-panel{overflow:hidden;border:1px solid var(--border);border-radius:var(--radius);background:var(--surface);box-shadow:var(--shadow-sm)}.price-catalog-table{width:100%;table-layout:fixed;box-shadow:none}.price-catalog-table th:nth-child(1){width:5%}.price-catalog-table th:nth-child(2){width:35%}.price-catalog-table th:nth-child(3){width:24%}.price-catalog-table th:nth-child(4){width:13%}.price-catalog-table th:nth-child(5){width:12%}.price-catalog-table th:nth-child(6){width:11%}.price-catalog-table th,.price-catalog-table td{padding:11px 12px;overflow-wrap:anywhere}.price-catalog-table .num-col{text-align:right;font-variant-numeric:tabular-nums;white-space:nowrap}.price-catalog-name strong{display:block;line-height:1.42}.price-catalog-table td:nth-child(3) small{display:block;margin-top:3px;color:var(--text-dim);font-size:11px;line-height:1.35}.price-catalog-price{color:var(--accent-dark);font-size:14px;font-weight:800}.price-catalog-action{text-align:right}.makuna-price-table th:nth-child(1){width:5%}.makuna-price-table th:nth-child(2){width:29%}.makuna-price-table th:nth-child(3){width:17%}.makuna-price-table th:nth-child(4){width:21%}.makuna-price-table th:nth-child(5){width:16%}.makuna-price-table th:nth-child(6){width:12%}.makuna-code-summary{display:flex;flex-wrap:wrap;gap:7px;align-items:center;justify-content:flex-end}.makuna-summary-exact,.makuna-summary-suggestion,.makuna-summary-menu,.makuna-summary-cost,.makuna-code-badge{display:inline-flex;align-items:center;width:fit-content;border-radius:999px;font-size:11px;font-weight:800;line-height:1;white-space:nowrap}.makuna-summary-menu{padding:7px 10px;background:#eaf2ff;color:#24558f}.makuna-summary-cost{padding:7px 10px;background:#edf7f1;color:#176248}.makuna-summary-exact,.makuna-code-badge.exact{padding:7px 10px;background:#e7f6ef;color:#126746}.makuna-summary-suggestion,.makuna-code-badge.suggestion{padding:7px 10px;background:#fff3d6;color:#875407}.makuna-code-badge.missing{padding:7px 10px;background:var(--surface-soft);color:var(--text-dim)}.makuna-code-cell{display:flex;flex-wrap:wrap;gap:6px;align-items:center}.makuna-code-cell code{color:var(--text);font-size:13px;font-weight:800}.makuna-code-cell small{display:block;flex-basis:100%;overflow:hidden;color:var(--text-dim);font-size:11px;line-height:1.3;text-overflow:ellipsis;white-space:nowrap}.makuna-item-meta,.makuna-classification-cell small{display:block;margin-top:4px;color:var(--text-dim);font-size:11px;font-weight:550;line-height:1.35}.makuna-classification-cell strong{display:block;font-size:12px;line-height:1.35}.makuna-source-badge{display:inline-flex;width:fit-content;margin-top:7px;padding:5px 8px;border-radius:999px;background:#eaf2ff;color:#24558f;font-size:10px;font-weight:800;line-height:1}.makuna-price-missing{color:#8a5a0a;font-size:11px;font-weight:800}.makuna-self-cost{color:var(--text);font-variant-numeric:tabular-nums}.makuna-self-cost strong,.makuna-self-cost small{display:block}.makuna-self-cost strong{color:var(--accent-dark);font-size:14px;font-weight:850}.makuna-self-cost small{margin-top:4px;color:var(--text-dim);font-size:9px;font-weight:700;line-height:1.25}.makuna-cost-missing{color:#8a5a0a;font-size:10px;font-weight:800}.makuna-mobile-value-label{display:none}.makuna-filter-shell{margin-bottom:14px;padding:14px;border:1px solid var(--border);border-radius:var(--radius);background:var(--surface);box-shadow:var(--shadow-sm)}.makuna-filter-primary{display:grid;grid-template-columns:minmax(280px,1fr) auto auto;gap:10px;align-items:end}.makuna-filter-grid{display:grid;grid-template-columns:repeat(4,minmax(160px,1fr));gap:10px;margin-top:12px;padding-top:12px;border-top:1px solid var(--border)}.makuna-filter-field{display:grid;min-width:0;gap:5px}.makuna-filter-field>span{color:var(--text-dim);font-size:10px;font-weight:800;letter-spacing:.04em}.makuna-filter-field input,.makuna-filter-field select{width:100%;min-height:44px}.makuna-filter-result{display:grid;min-width:82px;min-height:44px;place-content:center;padding:5px 12px;border:1px solid var(--border);border-radius:var(--radius-sm);background:var(--surface-soft);text-align:center}.makuna-filter-result strong{color:var(--accent-dark);font-size:15px;font-variant-numeric:tabular-nums}.makuna-filter-result span{color:var(--text-dim);font-size:9px;font-weight:750}.makuna-filter-clear{min-height:44px;white-space:nowrap}.makuna-filter-footer{display:flex;justify-content:flex-end;margin-top:9px}.makuna-code-edit{flex-basis:100%;width:fit-content;padding:0;border:0;background:transparent;color:var(--accent-dark);font:inherit;font-size:11px;font-weight:800;text-decoration:underline;text-decoration-color:color-mix(in srgb,var(--accent) 45%,transparent);text-underline-offset:3px;cursor:pointer}.makuna-code-edit:hover{color:var(--accent)}.makuna-code-modal{max-width:720px}.makuna-code-modal .suggestion-card.selected{border-color:var(--accent);background:var(--accent-soft);box-shadow:0 0 0 3px var(--accent-ring)}.makuna-code-modal .candidate-search{display:grid;gap:6px;color:var(--text-dim);font-size:12px;font-weight:700}.makuna-code-modal .candidate-search input{width:100%}.price-catalog-empty{padding:54px 24px;border:1px dashed var(--border-strong);border-radius:var(--radius);background:var(--surface);text-align:center}.price-catalog-empty h3,.price-catalog-empty p{margin:6px 0 0}.price-catalog-empty p{color:var(--text-dim)}.price-editor-modal{max-width:680px}.price-editor-price input{color:var(--accent-dark);font-size:19px;font-weight:800}@media(max-width:980px){.price-catalog-stats,.price-catalog-toolbar{grid-template-columns:repeat(2,minmax(0,1fr))}.price-catalog-count{padding-left:0}.makuna-filter-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}@media(max-width:760px){.price-catalog-head{align-items:flex-start;flex-direction:column}.price-source-pill{white-space:normal}.price-catalog-panel{overflow:visible;border:0;background:transparent;box-shadow:none}.price-catalog-table,.price-catalog-table tbody{display:block;border:0;background:transparent;box-shadow:none}.price-catalog-table thead{display:none}.price-catalog-table tbody{display:grid;gap:9px}.price-catalog-table tbody tr{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px 12px;padding:14px;border:1px solid var(--border);border-radius:var(--radius-sm);background:var(--surface);box-shadow:var(--shadow-sm)}.price-catalog-table tbody tr:hover{background:var(--surface)}.price-catalog-table td{display:block;width:auto;padding:0;border:0}.price-catalog-table td:nth-child(1){display:none}.price-catalog-table td:nth-child(2){grid-column:1 / -1}.price-catalog-table td:nth-child(3){grid-column:1;color:var(--text-dim);font-size:12px}.price-catalog-table td:nth-child(4){grid-column:2;grid-row:2;align-self:center}.price-catalog-table td:nth-child(5){grid-column:1;align-self:center}.price-catalog-table td:nth-child(6){grid-column:2;text-align:right}.makuna-price-table tbody tr{align-items:center;grid-template-columns:minmax(0,1fr) auto}.makuna-price-table td:nth-child(2){grid-column:1 / -1;grid-row:1}.makuna-price-table td:nth-child(3){grid-column:1 / -1;grid-row:2;text-align:left}.price-catalog-table .makuna-code-cell{display:flex}.makuna-price-table td:nth-child(4){grid-column:1 / -1;grid-row:3;text-align:left}.makuna-price-table td:nth-child(5){grid-column:1;grid-row:4;align-self:center;text-align:left}.makuna-price-table td:nth-child(6){grid-column:2;grid-row:4;align-self:center;text-align:right}.makuna-mobile-value-label{display:block;margin-bottom:3px;color:var(--text-dim);font-size:9px;font-weight:800}.makuna-filter-primary{grid-template-columns:minmax(0,1fr) auto}.makuna-filter-clear{grid-column:1 / -1;width:100%}.makuna-filter-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:540px){.price-catalog-stats,.price-catalog-toolbar,.price-catalog-table tbody tr{grid-template-columns:1fr}.price-catalog-table td:nth-child(2),.price-catalog-table td:nth-child(3),.price-catalog-table td:nth-child(4),.price-catalog-table td:nth-child(5),.price-catalog-table td:nth-child(6){grid-column:1;grid-row:auto;text-align:left}.price-catalog-table td:nth-child(6) .btn{width:100%}.makuna-price-table tbody tr{grid-template-columns:minmax(0,1fr) auto}.makuna-price-table td:nth-child(2){grid-column:1 / -1;grid-row:1;text-align:left}.makuna-price-table td:nth-child(3){grid-column:1 / -1;grid-row:2;text-align:left}.makuna-price-table td:nth-child(4){grid-column:1 / -1;grid-row:3;text-align:left}.makuna-price-table td:nth-child(5){grid-column:1;grid-row:4;text-align:left}.makuna-price-table td:nth-child(6){grid-column:2;grid-row:4;text-align:right}.makuna-filter-primary,.makuna-filter-grid{grid-template-columns:1fr}.makuna-filter-result,.makuna-filter-clear{width:100%}.makuna-code-summary{justify-content:flex-start}}.blocks-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:16px;margin-top:24px}.block-card{background:var(--surface);border:1px solid var(--border);border-radius:20px;padding:26px 24px;text-align:left;cursor:pointer;font-family:inherit;display:flex;flex-direction:column;gap:8px;box-shadow:var(--shadow-sm);transition:transform var(--speed) ease,box-shadow var(--speed) ease,border-color var(--speed) ease}.block-card:hover{transform:translateY(-3px);border-color:#04785759;box-shadow:var(--shadow-md)}.block-card:active{transform:translateY(-1px)}.block-icon{font-size:38px;line-height:1}.block-icon-employees{display:inline-grid;width:48px;height:48px;place-items:center;border:1px solid #b9ddcf;border-radius:15px;color:var(--accent-dark);background:var(--accent-soft)}.block-icon-employees svg{width:29px;height:29px;fill:none;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:1.7}.block-icon-admin-tool{display:inline-grid;width:48px;height:48px;place-items:center;border:1px solid #b9ddcf;border-radius:15px;color:var(--accent-dark);background:var(--accent-soft)}.block-icon-admin-tool svg{width:28px;height:28px;fill:none;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:1.7}.block-icon-zone-management{display:inline-grid;width:46px;height:46px;place-items:center;border:1px solid #b9ddcf;border-radius:14px;color:var(--accent-dark);background:var(--accent-soft)}.block-icon-zone-management svg{width:27px;height:27px;fill:none;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:1.8}.block-title{font-size:17.5px;font-weight:700;color:var(--text)}.block-desc{color:var(--text-dim);font-size:13.5px;line-height:1.5;margin:0}.blocks-hint{color:var(--text-dim);font-size:14px}.stat-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(170px,1fr));gap:14px;margin-bottom:24px}.stat-card{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);padding:18px 20px;display:flex;flex-direction:column;gap:3px;box-shadow:var(--shadow-sm);position:relative;overflow:hidden}.stat-card:before{content:"";position:absolute;left:0;top:0;bottom:0;width:3px;background:var(--accent);opacity:.85}.stat-value{font-size:32px;font-weight:800;color:var(--text);line-height:1.1;letter-spacing:-.02em;font-variant-numeric:tabular-nums}.stat-label{color:var(--text-dim);font-size:13px;font-weight:500}.dash-columns{display:grid;grid-template-columns:1.4fr 1fr;gap:14px;align-items:start}@media(max-width:760px){.dash-columns{grid-template-columns:1fr}}.dash-panel{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);padding:18px 20px;box-shadow:var(--shadow-sm)}.dash-panel h3{font-size:14px;text-transform:uppercase;letter-spacing:.05em;color:var(--text-dim);margin-bottom:12px}.dash-event{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:11px 0;border-bottom:1px solid var(--border);cursor:pointer}.dash-event:last-child{border-bottom:none}.dash-event:hover strong{color:var(--accent-dark)}.bar-row{display:grid;grid-template-columns:1fr 90px auto;align-items:center;gap:10px;padding:6px 0;font-size:14px}.bar-label{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.bar-track{background:var(--bg);border-radius:99px;height:8px;overflow:hidden}.bar-fill{background:linear-gradient(90deg,var(--accent) 0%,#0d9f74 100%);height:100%;border-radius:99px;transition:width .4s ease}.bar-count{text-align:right;color:var(--text-dim);font-weight:700;font-variant-numeric:tabular-nums}.bar-money{min-width:84px;white-space:nowrap;font-size:12.5px}.view-toggle{display:flex;gap:2px;background:var(--surface);border:1px solid var(--border);border-radius:99px;padding:3px}.view-toggle .tab{min-height:32px;padding:5px 13px;font-size:13.5px}.assign-meta{color:var(--text-dim);font-style:normal;font-size:12.5px}.flag-row-item{cursor:pointer}.flag-reason{color:var(--warn);margin-top:2px;font-weight:500}.sev-dot{display:inline-block;width:9px;height:9px;border-radius:50%;margin-right:7px;vertical-align:middle}.sev-high{background:var(--danger)}.sev-mid{background:#d97706}.sev-low{background:#b8a105}.sev-badge-high{background:var(--danger-bg);border-color:#b91c1c33;color:var(--danger);font-variant-numeric:tabular-nums}.sev-badge-mid,.sev-badge-low{background:var(--warn-bg);border-color:#92600a40;color:var(--warn);font-variant-numeric:tabular-nums}.flag-compare{display:flex;align-items:stretch;gap:10px;margin-bottom:12px}.flag-col{flex:1;border-radius:var(--radius-sm);padding:10px 14px;display:flex;flex-direction:column;gap:2px;border:1px solid var(--border)}.flag-col-bad{background:var(--danger-bg);border-color:#b91c1c2e}.flag-col-good{background:var(--accent-soft);border-color:#0478572e}.flag-col-label{font-size:11px;text-transform:uppercase;letter-spacing:.06em;font-weight:700;color:var(--text-dim)}.flag-col-main{font-size:22px;font-weight:800;font-variant-numeric:tabular-nums;line-height:1.15}.flag-col-bad .flag-col-main{color:var(--danger)}.flag-col-good .flag-col-main{color:var(--accent-dark)}.flag-col-sub{font-size:12px;color:var(--text-dim)}.flag-arrow{align-self:center;color:var(--text-dim);font-size:20px}.flag-suggest{background:var(--surface);border:1px solid var(--border);border-left:3px solid var(--accent);border-radius:var(--radius-sm);padding:10px 14px;font-size:14px;line-height:1.5}.flag-actions{display:flex;gap:8px;margin-top:12px;flex-wrap:wrap}.flag-note{width:100%}.flag-fix{margin-top:12px;display:flex;flex-direction:column;gap:10px;padding-top:12px;border-top:1px dashed var(--border)}.purchase-code-fix{display:grid;gap:9px;padding:12px;border:1px solid var(--border);border-radius:var(--radius-sm);background:var(--surface-2)}.purchase-code-fix>div:first-child{display:grid;gap:2px}.purchase-code-fix .hint{margin:0}.purchase-code-fix .selected-match{flex-wrap:wrap}.purchase-code-fix .selected-match .btn{margin-left:auto}.purchase-code-results{max-height:190px}.flag-fix-row{display:flex;align-items:flex-end;gap:14px;flex-wrap:wrap}.flag-fix-field{gap:5px}.flag-price-input{display:flex;gap:6px;align-items:center}.flag-price-input input{width:130px}.flag-newamount{color:var(--text-dim);font-size:14px;padding-bottom:9px}.flag-newamount strong{color:var(--accent-dark);font-variant-numeric:tabular-nums}.flag-fix-actions{display:flex;gap:8px;flex-wrap:wrap}.badge-corrected{background:var(--accent-soft);border-color:#04785733;color:var(--accent-dark)}.badge-manual{margin-left:8px;font-size:11px;padding:1px 8px;background:var(--accent-soft);border-color:#04785733;color:var(--accent-dark)}.explainer{background:var(--surface);border:1px solid var(--border);border-left:3px solid var(--accent);border-radius:var(--radius-sm);padding:12px 16px;font-size:13.5px;line-height:1.6;color:var(--text-dim);margin-top:14px}.explainer strong{color:var(--text)}@media(max-width:560px){.flag-compare{flex-direction:column}.flag-arrow{transform:rotate(90deg)}}.attach-box{border-top:1px solid var(--border);margin-top:14px;padding-top:12px}.menu-table{box-shadow:none}.menu-table .num-col{text-align:right;white-space:nowrap;width:1%}.menu-table .num-col .inv-qty{width:68px;text-align:right;margin-left:auto}.menu-table tfoot td{border-top:2px solid var(--border-strong);background:var(--surface-2);font-weight:700}@media(max-width:900px){.menu-table,.menu-table tbody,.menu-table tfoot{display:block;width:100%;border:0;background:transparent}.menu-table thead{display:none}.menu-table tbody{display:grid;gap:8px}.menu-table tbody tr{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:8px 12px;padding:12px;border:1px solid var(--border);border-radius:var(--radius-sm);background:var(--surface)}.menu-table tbody td,.menu-table .num-col{display:grid;width:auto;min-width:0;padding:0;border:0;text-align:left;white-space:normal}.menu-table tbody td:before{content:attr(data-label);color:var(--text-dim);font-size:10px;font-weight:750;letter-spacing:.05em;text-transform:uppercase}.menu-table tbody .cell-name{grid-column:1 / -1}.menu-table .num-col .inv-qty,.menu-course-input{width:100%;margin:0;text-align:left}.menu-table tfoot tr{display:grid;grid-template-columns:1fr auto;margin-top:8px;border:1px solid var(--border-strong);border-radius:var(--radius-sm);overflow:hidden}.menu-table tfoot td{display:block;width:auto;padding:10px}.menu-table tfoot td:last-child:empty{display:none}}@media(max-width:520px){.menu-table tbody tr{grid-template-columns:1fr}.menu-table tbody .cell-name{grid-column:auto}.menu-table tfoot tr{grid-template-columns:1fr}}.menu-total-label{color:var(--text-dim);font-size:13px}.menu-total{color:var(--accent-dark);font-variant-numeric:tabular-nums;font-size:15px}.badge-cost{background:var(--warn-bg);border-color:#92600a40;color:var(--warn);font-variant-numeric:tabular-nums}.cost-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px;flex-wrap:wrap}.cost-head h3{margin:0}.cost-head select{width:auto}.table-scroll{overflow-x:auto}.cost-row{cursor:pointer}.attach-title{font-size:12px;text-transform:uppercase;letter-spacing:.06em;color:var(--text-dim);margin:0 0 6px}.attach-results{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius-sm);padding:4px 12px;margin-top:6px;box-shadow:var(--shadow-md)}.inv-row{align-items:flex-start}.inv-main{display:flex;align-items:center;gap:6px;flex-wrap:wrap}.inv-qty{width:78px;padding:3px 8px;min-height:32px}.inv-actions{white-space:nowrap}.thumb-row{display:flex;gap:6px;flex-wrap:wrap}.thumb{height:44px;width:44px;object-fit:cover;border-radius:8px;border:1px solid var(--border);transition:transform var(--speed) ease}.thumb:hover{transform:scale(1.06)}@media(max-width:640px){.topbar{padding:10px 12px;gap:10px}.topbar .user-email{display:none}.topbar .user-box{gap:6px}.topbar .user-box .btn{min-height:40px;padding-inline:10px}.topbar .btn-excel span{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}.content{padding:20px 12px 72px}.details-row{grid-template-columns:1fr 1fr auto}.stat-value{font-size:26px}}.tbc-page{width:100%;max-width:100%;min-width:0}.tbc-page>*,.tbc-analysis-layout>*,.tbc-breakdown-grid>*,.tbc-detail-analysis-grid>*{min-width:0;max-width:100%}.tbc-page-head{margin-bottom:10px}.bank-sync-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.bank-sync-actions .btn{min-width:112px}.tbc-safety{border-left-color:#4f46e5;margin-bottom:12px}.tbc-filter-panel{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));align-items:end;gap:10px;margin:12px 0 10px;padding:12px 14px;border:1px solid var(--border);border-radius:var(--radius);background:var(--surface);box-shadow:var(--shadow-sm)}.tbc-account-field{grid-column:span 2}.tbc-filter-panel label{min-width:0}.tbc-filter-panel label>span{display:block;margin:0 0 5px;color:var(--text-dim);font-size:11px;font-weight:700}.tbc-filter-panel .compact-date-filter{display:flex;align-items:stretch;flex-direction:column;gap:0;width:100%;padding:0;border:0;background:transparent;box-shadow:none;white-space:normal}.tbc-filter-panel .compact-date-filter:hover,.tbc-filter-panel .compact-date-filter:focus-within{border:0;background:transparent;box-shadow:none}.tbc-filter-panel .compact-date-filter input{width:100%;min-width:0;min-height:48px;padding:7px 8px 7px 13px;border:1.5px solid #cbd7d1;border-radius:12px;background:linear-gradient(180deg,#fff,#f8fbf9);box-shadow:0 1px 2px #0f231b0a}.tbc-filter-panel .compact-date-filter input:hover{border-color:#8bb8a7;background:#fff}.tbc-filter-panel .compact-date-filter input:focus{border-color:var(--accent);background:#fff;box-shadow:0 0 0 4px var(--accent-ring),0 4px 12px #04785714}.tbc-filter-panel select,.tbc-filter-panel input{width:100%;min-width:0;min-height:44px;padding-top:8px;padding-bottom:8px}.tbc-toolbar-row{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:4px 0 6px}.tbc-view-tabs{width:fit-content;margin:0}.tbc-period-summary{display:grid;min-width:0;max-width:min(100%,760px);gap:2px;justify-items:end;margin:0;text-align:right}.tbc-period-summary strong,.tbc-period-summary span{max-width:100%;overflow-wrap:anywhere}.tbc-period-summary strong{color:var(--text);font-size:12px;font-variant-numeric:tabular-nums}.tbc-period-summary span{color:var(--text-dim);font-size:11.5px}.tbc-sync-note{margin:0 0 10px}.tbc-sync-notes{display:flex;align-items:center;gap:8px 18px;flex-wrap:wrap}.bank-badge,.bank-inline{display:inline-flex;align-items:center;justify-content:center;width:fit-content;border-radius:999px;font-size:10px;font-weight:800;letter-spacing:.04em;line-height:1}.bank-badge{min-height:22px;padding:4px 8px}.bank-inline{padding:3px 6px;vertical-align:1px}.bank-tbc{color:#0d6b53;background:#e5f7ef;border:1px solid #b8e8d5}.bank-bog{color:#8a4b00;background:#fff2dc;border:1px solid #f4d29b}.tbc-stats{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-bottom:12px}.tbc-stats .stat-card{min-width:0;min-height:98px;padding:16px}.tbc-stats .stat-value{font-size:clamp(22px,2vw,31px);line-height:1.15;overflow-wrap:anywhere;white-space:normal;font-variant-numeric:tabular-nums}.tbc-transactions-head{align-items:end;gap:16px}.tbc-transactions-head>div:first-child{min-width:min(100%,320px)}.tbc-transaction-filters{display:grid;grid-template-columns:minmax(150px,.75fr) minmax(220px,1.25fr) minmax(112px,auto);align-items:end;gap:8px;width:min(100%,760px);min-width:0}.tbc-transaction-filters label{display:grid;min-width:0;gap:5px}.tbc-transaction-filters label>span{color:var(--text-dim);font-size:11px;font-weight:700}.tbc-transaction-filters select,.tbc-transaction-filters input{width:100%;min-width:0;min-height:44px}.tbc-clear-search{min-height:44px;white-space:nowrap}.tbc-stat-credit{border-left:3px solid #087a55}.tbc-stat-debit{border-left:3px solid #b42318}.amount-credit{color:#087a55!important}.amount-debit{color:#b42318!important}.tbc-analysis-layout{display:grid;gap:12px}.tbc-trend-panel{min-width:0}.tbc-panel-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:8px}.tbc-panel-head h3,.tbc-panel-head p{margin-bottom:0}.tbc-legend{display:flex;align-items:center;gap:14px;color:var(--text-dim);font-size:12px;white-space:nowrap}.tbc-legend span{display:inline-flex;align-items:center;gap:5px}.tbc-legend i{width:18px;height:5px;border-radius:99px}.legend-income{background:#0a8f66}.legend-expense{background:#d4554d}.tbc-trend-list{display:grid;gap:2px}.cashflow-row{display:grid;grid-template-columns:120px minmax(160px,1fr) 230px;align-items:center;gap:12px;min-height:31px;padding:2px 0;font-size:12px}.cashflow-row>span,.cashflow-row>small{color:var(--text-dim);white-space:nowrap}.cashflow-row>small{text-align:right;font-variant-numeric:tabular-nums}.cashflow-bars{display:grid;gap:3px}.cashflow-bars i{display:block;min-width:2px;height:5px;border-radius:999px}.cashflow-income{background:#0a8f66}.cashflow-expense{background:#d4554d}.tbc-breakdown-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.tbc-breakdown-grid>*{min-width:0}.analysis-list{display:grid;gap:2px}.analysis-list>div,.analysis-list>.analysis-row-button{display:flex;align-items:baseline;justify-content:space-between;gap:12px;padding:8px 0;border-bottom:1px solid var(--border);min-width:0;font-size:12.5px}.analysis-list>div:last-child,.analysis-list>.analysis-row-button:last-child{border-bottom:0}.analysis-row-button{width:100%;min-height:42px;border:0;background:transparent;color:inherit;font:inherit;text-align:left;cursor:pointer;transition:background var(--speed) ease,color var(--speed) ease}.analysis-row-button:hover,.analysis-row-button:focus-visible{margin-inline:-8px;padding-inline:8px;border-radius:9px;background:var(--accent-soft)}.analysis-list span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.analysis-list strong{white-space:nowrap;font-variant-numeric:tabular-nums}.tbc-row-arrow{flex:0 0 auto;color:var(--accent);font-size:22px;font-weight:800;line-height:1}.tbc-panel-title-row{display:flex;align-items:baseline;justify-content:space-between;gap:12px}.tbc-panel-title-row h3,.tbc-panel-title-row h4{margin-bottom:0}.tbc-panel-title-row .hint{white-space:nowrap}.tbc-counterparty-search{display:grid;grid-template-columns:minmax(0,1fr) minmax(280px,390px);align-items:center;gap:14px 24px;border-color:#0478573d;background:linear-gradient(135deg,var(--surface) 0%,#f3fbf7 100%)}.tbc-counterparty-search h3,.tbc-counterparty-search p{margin-bottom:0}.tbc-search-field input{background:var(--surface)}.tbc-counterparty-search>.hint,.tbc-counterparty-search>.form-error,.tbc-search-results{grid-column:1 / -1}.tbc-search-results{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}.tbc-search-results>button{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:12px;min-height:62px;padding:10px 12px;border:1px solid var(--border);border-radius:11px;background:var(--surface);color:inherit;font:inherit;text-align:left;cursor:pointer;transition:border-color var(--speed) ease,box-shadow var(--speed) ease,transform var(--speed) ease}.tbc-search-results>button:hover,.tbc-search-results>button:focus-visible{border-color:#04785766;box-shadow:var(--shadow-sm);transform:translateY(-1px)}.tbc-search-results>button>span:first-child,.tbc-search-money{display:grid;min-width:0;gap:2px}.tbc-search-results strong,.tbc-search-results small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.tbc-search-results small{color:var(--text-dim);font-size:11px}.tbc-search-money{grid-template-columns:auto auto 14px;align-items:center;gap:8px;font-size:12px;font-variant-numeric:tabular-nums}.tbc-search-money i{color:var(--accent);font-size:22px;font-style:normal}.tbc-recurring-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 22px}.tbc-recurring-item{display:grid;grid-template-columns:minmax(0,1fr) auto 14px;align-items:center;gap:16px;width:100%;min-height:52px;padding:9px 0;border:0;border-bottom:1px solid var(--border);background:transparent;color:inherit;font:inherit;text-align:left;cursor:pointer;transition:background var(--speed) ease}.tbc-recurring-item:hover,.tbc-recurring-item:focus-visible{margin-inline:-8px;padding-inline:8px;border-radius:9px;background:var(--accent-soft)}.tbc-recurring-item:nth-last-child(-n+2){border-bottom:0}.tbc-recurring-item>div{display:grid;min-width:0;gap:2px}.tbc-recurring-item>div:nth-child(2){justify-items:end;text-align:right}.tbc-recurring-item strong,.tbc-recurring-item span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.tbc-recurring-item span{color:var(--text-dim);font-size:11.5px}.tbc-loading{min-height:180px;display:grid;place-items:center;color:var(--text-dim)}.payment-list{display:grid;gap:8px;transition:opacity .18s ease}.payment-list.is-loading{opacity:.48;pointer-events:none}.payment-row{display:flex;width:100%;max-width:100%;min-width:0;align-items:center;justify-content:space-between;gap:18px;min-height:76px;padding:12px 14px;border:1px solid var(--border);border-radius:var(--radius-sm);background:var(--surface)}.payment-main{display:grid;gap:3px;min-width:0}.payment-title-line{display:flex;align-items:center;min-width:0;gap:7px}.payment-title-line>strong{max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.payment-title-line .badge{flex:0 0 auto}.payment-main>span,.payment-main>small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.payment-main>span{color:var(--text-dim);font-size:13px}.payment-main>small{color:var(--text-dim);font-size:11.5px}.payment-amount{display:grid;min-width:0;justify-items:end;gap:8px;white-space:normal}.tbc-payment-modal{max-width:820px}.tbc-counterparty-modal{width:min(1040px,calc(100vw - 24px));max-width:1040px;max-height:calc(100dvh - 24px);overflow-y:auto;gap:14px}.tbc-counterparty-modal .modal-head h3{max-width:820px;overflow-wrap:anywhere}.tbc-detail-loading{display:grid;min-height:240px;place-items:center;color:var(--text-dim)}.tbc-detail-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.tbc-detail-stats>div{display:grid;gap:4px;min-width:0;padding:11px 13px;border:1px solid var(--border);border-radius:11px;background:var(--surface-2)}.tbc-detail-stats span{color:var(--text-dim);font-size:11px;font-weight:700}.tbc-detail-stats strong{overflow:hidden;font-size:19px;font-variant-numeric:tabular-nums;text-overflow:ellipsis;white-space:nowrap}.tbc-detail-analysis-grid{display:grid;grid-template-columns:minmax(0,1.55fr) minmax(250px,.75fr);gap:10px}.tbc-detail-trend,.tbc-detail-categories,.tbc-detail-movements{min-width:0;padding:13px 14px;border:1px solid var(--border);border-radius:12px;background:var(--surface)}.tbc-detail-trend .cashflow-row{grid-template-columns:76px minmax(110px,1fr) 180px}.tbc-detail-categories h4,.tbc-detail-movements h4{margin-bottom:6px}.tbc-detail-movements .catalog-section-head{align-items:center;margin:0 0 10px}.tbc-detail-search{width:min(100%,330px)}.tbc-detail-movement-list{display:grid;gap:6px}.tbc-detail-movement-row{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:18px;min-height:68px;padding:9px 10px;border:1px solid var(--border);border-radius:10px;background:var(--surface-2)}.tbc-detail-movement-row>div{display:grid;min-width:0;gap:3px}.tbc-detail-movement-row>div:last-child{justify-items:end}.tbc-detail-movement-row strong,.tbc-detail-movement-row span,.tbc-detail-movement-row small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.tbc-detail-movement-row span,.tbc-detail-movement-row small{color:var(--text-dim);font-size:11.5px}.tbc-load-more{width:100%;margin-top:9px}.tbc-source-summary{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1px;overflow:hidden;border:1px solid var(--border);border-radius:var(--radius-sm);background:var(--border)}.tbc-source-summary>div{display:grid;min-width:0;gap:3px;padding:10px 12px;background:var(--surface-2)}.tbc-source-summary .span-2{grid-column:span 2}.tbc-source-summary span,.field-help{color:var(--text-dim);font-size:11px;font-weight:500}.tbc-source-summary strong{overflow:hidden;font-size:13px;text-overflow:ellipsis;white-space:nowrap}.field-help{display:block;margin-top:4px;line-height:1.4}.tbc-exclude-control{display:flex;align-items:flex-start;gap:10px;padding:12px 14px;border:1px solid var(--border);border-radius:var(--radius-sm);background:var(--surface-2);cursor:pointer}.tbc-exclude-control input{width:18px;height:18px;margin-top:2px}.tbc-exclude-control span{display:grid;gap:2px}.tbc-exclude-control small{color:var(--text-dim);line-height:1.4}@media(max-width:1240px){.tbc-filter-panel,.tbc-stats{grid-template-columns:repeat(3,minmax(0,1fr))}}@media(max-width:900px){.tbc-transaction-filters{grid-template-columns:minmax(150px,.8fr) minmax(0,1.2fr);width:100%}.tbc-clear-search{grid-column:1 / -1;justify-self:start}.tbc-counterparty-search{grid-template-columns:1fr}.tbc-counterparty-search>*{grid-column:auto}.tbc-detail-analysis-grid{grid-template-columns:1fr}.tbc-breakdown-grid{grid-template-columns:1fr 1fr}.tbc-breakdown-grid>:last-child{grid-column:1 / -1}.tbc-recurring-grid{grid-template-columns:1fr}.tbc-recurring-item:nth-last-child(2){border-bottom:1px solid var(--border)}}@media(max-width:760px){.tbc-transactions-head{align-items:stretch;flex-direction:column}.tbc-transactions-head>div:first-child{min-width:0}.tbc-search-results{grid-template-columns:1fr}.tbc-detail-stats{grid-template-columns:1fr 1fr}.tbc-detail-movement-row{align-items:flex-start;grid-template-columns:1fr}.tbc-detail-movement-row>div:last-child{display:flex;align-items:center;justify-content:space-between;width:100%}.tbc-filter-panel,.tbc-stats{grid-template-columns:1fr 1fr}.tbc-toolbar-row,.tbc-panel-head{align-items:flex-start;flex-direction:column}.tbc-period-summary{justify-items:start;text-align:left}.cashflow-row{grid-template-columns:84px minmax(70px,1fr)}.cashflow-row>small{grid-column:1 / -1;text-align:left}.payment-row{align-items:flex-start;flex-direction:column}.payment-main,.payment-amount{width:100%}.payment-amount{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap}.payment-amount .btn,.payment-amount strong{max-width:100%;white-space:normal}}@media(max-width:560px){.tbc-panel-title-row{align-items:flex-start;flex-direction:column;gap:2px}.tbc-panel-title-row .hint{white-space:normal}.tbc-page-head{align-items:stretch;flex-direction:column}.bank-sync-actions,.bank-sync-actions .btn{width:100%}.bank-sync-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.tbc-filter-panel,.tbc-stats,.tbc-breakdown-grid,.tbc-source-summary{grid-template-columns:1fr}.tbc-account-field{grid-column:auto}.tbc-transaction-filters{grid-template-columns:1fr}.tbc-clear-search{grid-column:auto;width:100%}.tbc-breakdown-grid>:last-child,.tbc-source-summary .span-2{grid-column:auto}.tbc-stats .stat-card{min-height:86px}.tbc-legend{flex-wrap:wrap}.tbc-view-tabs{width:100%}.tbc-view-tabs .tab{flex:1}.payment-title-line{align-items:flex-start;flex-direction:column}.tbc-recurring-item{align-items:flex-start;grid-template-columns:1fr auto}.tbc-recurring-item>div:nth-child(2){justify-items:start;grid-column:1;text-align:left}.tbc-recurring-item>.tbc-row-arrow{grid-column:2;grid-row:1 / span 2}.tbc-detail-stats{grid-template-columns:1fr}.tbc-detail-trend .cashflow-row{grid-template-columns:70px minmax(60px,1fr)}.tbc-search-money{grid-template-columns:auto 14px}.tbc-search-money .amount-debit{display:none}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}}.block-icon-mark{display:grid;width:42px;height:42px;place-items:center;border:1px solid #9fd5c1;border-radius:12px;color:#fff;background:linear-gradient(145deg,#0a8b64,var(--accent-dark));font-size:20px;font-weight:850;letter-spacing:.03em;box-shadow:0 6px 18px #0478572e}.lunch-page{width:100%;min-width:0;overflow-x:clip}.lunch-page-head{align-items:flex-end;margin-bottom:14px}.lunch-page-head>div:first-child{min-width:0}.lunch-tabs{display:flex;flex:0 0 auto;gap:2px;padding:3px;border:1px solid var(--border);border-radius:999px;background:var(--surface);box-shadow:var(--shadow-sm)}.lunch-source-note{margin-bottom:14px;border-left:3px solid var(--accent)}.lunch-kpi-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin-bottom:14px}.lunch-kpi-grid>div{display:grid;min-width:0;gap:3px;padding:13px 15px;border:1px solid var(--border);border-radius:14px;background:var(--surface);box-shadow:var(--shadow-sm)}.lunch-kpi-grid>div.has-learning{border-color:#a7d7c7;background:#f4fcf8}.lunch-kpi-grid>div.needs-learning{border-color:#edcf91;background:#fffbef}.lunch-kpi-grid span,.lunch-kpi-grid small{overflow:hidden;color:var(--text-dim);font-size:10.5px;text-overflow:ellipsis;white-space:nowrap}.lunch-kpi-grid strong{overflow:hidden;font-size:22px;font-variant-numeric:tabular-nums;line-height:1.15;text-overflow:ellipsis;white-space:nowrap}.lunch-planner-controls{display:grid;grid-template-columns:minmax(0,1.55fr) minmax(250px,.75fr);gap:12px;margin-bottom:12px}.lunch-control-card,.lunch-method-card,.lunch-menu-card,.lunch-history-section,.lunch-plans-section{min-width:0;border:1px solid var(--border);border-radius:16px;background:var(--surface);box-shadow:var(--shadow-sm)}.lunch-control-card,.lunch-menu-card,.lunch-history-section,.lunch-plans-section{padding:16px}.lunch-section-heading{margin-bottom:14px}.lunch-section-heading>div:first-child{display:flex;align-items:flex-start;gap:10px;min-width:0}.lunch-section-heading>div:first-child>span{display:grid;flex:0 0 30px;height:30px;place-items:center;border-radius:9px;color:var(--accent-dark);background:var(--accent-soft);font-size:11px;font-weight:850;font-variant-numeric:tabular-nums}.lunch-section-heading h3,.lunch-history-toolbar h3{margin:1px 0 2px;font-size:17px}.lunch-section-heading p,.lunch-history-toolbar p{margin:0;color:var(--text-dim);font-size:12px;line-height:1.45}.lunch-control-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.lunch-control-grid label,.lunch-suggestion-row>label{display:grid;min-width:0;gap:4px}.lunch-control-grid label>span,.lunch-suggestion-row>label>span{color:var(--text-dim);font-size:10.5px;font-weight:750}.lunch-control-grid .span-2{grid-column:span 2}.lunch-method-card{display:grid;align-content:start;gap:8px;padding:17px;border-color:#b8ddcf;background:linear-gradient(150deg,#f1fbf6,#fff 72%)}.method-label{color:var(--accent-dark);font-size:10px;font-weight:850;letter-spacing:.06em;text-transform:uppercase}.lunch-method-card>strong{font-size:20px}.lunch-method-card>p{margin:0;color:var(--text-dim);font-size:12.5px;line-height:1.5}.method-steps{display:grid;grid-template-columns:24px minmax(0,1fr);align-items:center;gap:7px 8px;margin-top:5px}.method-steps span{display:grid;width:24px;height:24px;place-items:center;border:1px solid #b8ddcf;border-radius:50%;color:var(--accent-dark);background:#fff;font-size:10px;font-weight:800}.method-steps p{margin:0;color:#34463d;font-size:11.5px}.lunch-menu-head,.lunch-history-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px}.lunch-add-item{display:grid;grid-template-columns:minmax(160px,1fr) auto;gap:6px;width:min(100%,360px)}.lunch-add-item select,.lunch-add-item .btn{min-width:0;min-height:38px;font-size:12px}.lunch-menu-group{margin-top:12px;overflow:hidden;border:1px solid var(--border);border-radius:12px}.lunch-group-title{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:8px 12px;border-bottom:1px solid var(--border);background:var(--surface-2)}.lunch-group-title strong{font-size:12px}.lunch-group-title span{color:var(--text-dim);font-size:10.5px}.lunch-suggestion-row{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(175px,.8fr) 160px 36px;align-items:center;gap:12px;min-width:0;padding:10px 12px;border-bottom:1px solid var(--border)}.lunch-suggestion-row:last-child{border-bottom:0}.lunch-item-main,.lunch-learning{display:grid;min-width:0;gap:2px}.lunch-item-main strong{overflow-wrap:anywhere;font-size:13px}.lunch-item-main span,.lunch-learning span,.lunch-learning small{color:var(--text-dim);font-size:10.5px;line-height:1.35}.lunch-learning span{color:#7b5710;font-weight:700}.lunch-suggestion-row>label>div,.lunch-leftover-form label>div{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;overflow:hidden;border:1.5px solid #cbd7d1;border-radius:10px;background:#fff}.lunch-suggestion-row>label input,.lunch-leftover-form label input{min-width:0;min-height:38px;padding:6px 8px;border:0;border-radius:0;box-shadow:none;font-weight:750;font-variant-numeric:tabular-nums}.lunch-suggestion-row>label b,.lunch-leftover-form label b{padding:0 9px;color:var(--text-dim);font-size:10px;font-weight:700}.lunch-remove{display:grid;width:36px;height:36px;place-items:center;border:1px solid var(--border);border-radius:10px;color:var(--text-dim);background:#fff;font-size:20px;cursor:pointer}.lunch-remove:hover{border-color:#efb2ad;color:var(--danger);background:var(--danger-bg)}.lunch-save-bar{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-top:14px;padding:12px 13px;border-radius:12px;background:#f2f7f4}.lunch-save-bar>div{display:grid;gap:2px}.lunch-save-bar strong{font-size:13px}.lunch-save-bar span{color:var(--text-dim);font-size:10.5px}.lunch-history-toolbar{margin-bottom:12px}.lunch-history-list{display:grid;gap:8px}.lunch-history-card{min-width:0;overflow:hidden;border:1px solid var(--border);border-radius:13px;background:#fff}.lunch-history-card.open{border-color:#a7d7c7;box-shadow:0 8px 24px #123f3114}.lunch-history-summary{display:grid;grid-template-columns:52px minmax(0,1fr) minmax(118px,auto);align-items:center;gap:12px;width:100%;min-width:0;padding:10px 12px;border:0;color:inherit;font:inherit;text-align:left;background:#fff;cursor:pointer}.lunch-history-summary:hover{background:#fbfdfc}.lunch-date-tile{display:grid;height:48px;place-items:center;border:1px solid #b8ddcf;border-radius:11px;color:var(--accent-dark);background:var(--accent-soft)}.lunch-date-tile strong{align-self:end;font-size:18px;line-height:1}.lunch-date-tile span{align-self:start;font-size:9px;font-weight:750}.lunch-history-main,.lunch-history-state{display:grid;min-width:0;gap:3px}.lunch-history-main strong{overflow:hidden;font-size:13px;text-overflow:ellipsis;white-space:nowrap}.lunch-history-main span,.lunch-history-state span{color:var(--text-dim);font-size:10.5px}.lunch-history-state{justify-items:end;text-align:right}.lunch-history-state b{color:var(--warn);font-size:10.5px}.lunch-history-state b.recorded{color:var(--accent-dark)}.lunch-leftover-form{display:grid;gap:8px;padding:12px;border-top:1px solid var(--border);background:#fafcfb}.leftover-form-head{display:grid;gap:2px;margin-bottom:2px}.leftover-form-head strong{font-size:12.5px}.leftover-form-head span{color:var(--text-dim);font-size:10.5px}.lunch-leftover-form label{display:grid;grid-template-columns:minmax(0,1fr) 180px;align-items:center;gap:12px;min-width:0;padding:7px 0;border-bottom:1px solid var(--border)}.lunch-leftover-form label>span{display:grid;min-width:0;gap:2px}.lunch-leftover-form label strong{overflow-wrap:anywhere;font-size:12.5px}.lunch-leftover-form label small{color:var(--text-dim);font-size:10.5px}.lunch-leftover-form>.btn{justify-self:end;margin-top:4px}.lunch-plan-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.lunch-plan-card{display:grid;min-width:0;gap:8px;padding:14px;border:1px solid var(--border);border-radius:13px;background:#fff}.lunch-plan-top{display:flex;align-items:flex-start;justify-content:space-between;gap:10px}.lunch-plan-top>div{display:grid;gap:2px}.lunch-plan-top span,.lunch-plan-card p,.lunch-plan-card small{margin:0;color:var(--text-dim);font-size:10.5px}.lunch-plan-top strong{font-size:18px}.plan-status{padding:4px 8px;border-radius:999px;color:var(--warn);background:var(--warn-bg);font-size:9.5px}.plan-status.approved,.plan-status.sent{color:var(--accent-dark);background:var(--accent-soft)}.lunch-plan-foods{display:flex;flex-wrap:wrap;gap:5px}.lunch-plan-foods span{max-width:100%;padding:4px 7px;border:1px solid var(--border);border-radius:7px;overflow-wrap:anywhere;background:var(--surface-2);font-size:10.5px}.lunch-skeleton{min-height:440px;border:1px solid var(--border);border-radius:16px;background:linear-gradient(90deg,#f4f5f3 25%,#fff,#f4f5f3 65%);background-size:300% 100%;animation:lunch-shimmer 1.4s ease-in-out infinite}@keyframes lunch-shimmer{to{background-position:-150% 0}}@media(max-width:900px){.lunch-kpi-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.lunch-planner-controls{grid-template-columns:1fr}.lunch-suggestion-row{grid-template-columns:minmax(0,1fr) 150px 36px}.lunch-learning{grid-column:1;grid-row:2}.lunch-suggestion-row>label{grid-column:2;grid-row:1 / span 2}.lunch-remove{grid-column:3;grid-row:1 / span 2}}@media(max-width:680px){.lunch-page-head,.lunch-menu-head,.lunch-history-toolbar,.lunch-save-bar{align-items:stretch;flex-direction:column}.lunch-tabs,.lunch-add-item,.lunch-history-toolbar .search,.lunch-save-bar .btn{width:100%;max-width:none}.lunch-tabs .tab{flex:1;min-width:0}.lunch-history-summary{grid-template-columns:48px minmax(0,1fr)}.lunch-history-state{grid-column:2;justify-items:start;text-align:left}.lunch-leftover-form label{grid-template-columns:1fr 150px}.lunch-plan-grid{grid-template-columns:1fr}}@media(max-width:520px){.lunch-kpi-grid,.lunch-control-grid{grid-template-columns:1fr}.lunch-control-grid .span-2{grid-column:auto}.lunch-control-card,.lunch-menu-card,.lunch-history-section,.lunch-plans-section{padding:12px}.lunch-add-item{grid-template-columns:1fr}.lunch-add-item .btn{width:100%;max-width:none}.lunch-suggestion-row{grid-template-columns:minmax(0,1fr) 36px;gap:8px}.lunch-learning,.lunch-suggestion-row>label{grid-column:1 / -1;grid-row:auto}.lunch-remove{grid-column:2;grid-row:1}.lunch-leftover-form label{align-items:stretch;grid-template-columns:1fr}.lunch-leftover-form>.btn{width:100%;max-width:none;justify-self:stretch}}.content.content-lunch-dishes{max-width:none;padding:24px clamp(16px,2vw,36px) 96px}.block-icon-lunch-dishes{display:grid;width:42px;height:42px;place-items:center;border:1px solid #b7d7ee;border-radius:12px;color:#fff;background:linear-gradient(145deg,#1d6fa5,#164e78);box-shadow:0 6px 18px #164e782e}.block-icon-lunch-dishes svg{width:25px;height:25px;fill:none;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:1.8}.lunch-dishes-page{width:100%;min-width:0;overflow-x:clip}.lunch-dishes-load-error{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:12px}.lunch-dishes-load-error .btn{flex:0 0 auto;min-height:44px;color:var(--danger);border-color:#b91c1c40;background:var(--surface)}.lunch-dishes-head{align-items:flex-end;gap:24px;margin-bottom:16px}.lunch-dishes-year{display:grid;flex:0 0 auto;min-width:190px;gap:2px;padding:12px 14px;border:1px solid #c8ddea;border-radius:14px;background:linear-gradient(145deg,#f5fbff,#fff);box-shadow:var(--shadow-sm)}.lunch-dishes-year span,.lunch-dishes-year small{color:var(--text-dim);font-size:10.5px}.lunch-dishes-year strong{color:#164e78;font-size:25px;font-variant-numeric:tabular-nums;line-height:1.05}.lunch-dishes-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin-bottom:10px}.lunch-dishes-kpis article,.lunch-dishes-kpis>button{display:grid;min-width:0;gap:3px;padding:14px 15px;border:1px solid var(--border);border-radius:14px;background:var(--surface);box-shadow:var(--shadow-sm)}.lunch-dishes-kpis>button{color:inherit;font:inherit;text-align:left;cursor:pointer;transition:border-color .18s ease,background-color .18s ease,box-shadow .18s ease,transform .18s ease}.lunch-dishes-kpis>button:hover{border-color:#a8d0bc;background:#f7fcf9;box-shadow:0 8px 24px #225b3e14;transform:translateY(-1px)}.lunch-dishes-kpis>button:focus-visible{outline:3px solid rgba(35,135,90,.22);outline-offset:2px}.lunch-dishes-kpis>button.is-active{border-color:#2b9266;background:#ebf8f1;box-shadow:0 0 0 2px #23875a1f,var(--shadow-sm)}.lunch-dishes-kpis span,.lunch-dishes-kpis small{overflow:hidden;color:var(--text-dim);font-size:10.5px;text-overflow:ellipsis;white-space:nowrap}.lunch-dishes-kpis strong{font-size:24px;font-variant-numeric:tabular-nums;line-height:1.1}.lunch-object-summary-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin-bottom:14px}.lunch-object-summary{display:grid;min-width:0;min-height:98px;gap:5px;padding:12px 14px;border:1px solid var(--border);border-radius:14px;color:inherit;font:inherit;text-align:left;background:#fff;box-shadow:var(--shadow-sm);cursor:pointer;transition:border-color .18s ease,box-shadow .18s ease,background-color .18s ease}.lunch-object-summary:hover,.lunch-object-summary:focus-visible{border-color:#8dbbd7;box-shadow:0 7px 20px #164e781a}.lunch-object-summary.active{border-color:#2c7eae;background:#f3faff;box-shadow:0 0 0 2px #2c7eae1c}.lunch-object-summary>span{display:flex;align-items:center;gap:7px;color:var(--text-dim);font-size:11px;font-weight:750}.lunch-object-dot,.lunch-object-summary .lunch-object-dot{display:inline-block;width:8px;height:8px;border-radius:50%;background:#2c7eae;box-shadow:0 0 0 3px #2c7eae1f}.lunch-object-summary.pullman .lunch-object-dot,.lunch-object-dot.pullman{background:#2563eb;box-shadow:0 0 0 3px #2563eb1f}.lunch-object-summary.nadareishvili .lunch-object-dot,.lunch-object-dot.nadareishvili{background:#0d8a62;box-shadow:0 0 0 3px #0d8a621f}.lunch-object-summary.rustavi .lunch-object-dot,.lunch-object-dot.rustavi{background:#b86b16;box-shadow:0 0 0 3px #b86b161f}.lunch-object-summary.telegraph .lunch-object-dot,.lunch-object-dot.telegraph{background:#7c3aad;box-shadow:0 0 0 3px #7c3aad1f}.lunch-object-summary strong{font-size:21px;font-variant-numeric:tabular-nums}.lunch-object-summary strong small{color:var(--text-dim);font-size:11px;font-weight:650}.lunch-object-summary p{margin:0;color:var(--text-dim);font-size:10.5px}.lunch-dishes-catalog{min-width:0;padding:16px;border:1px solid var(--border);border-radius:16px;background:var(--surface);box-shadow:var(--shadow-sm)}.lunch-dishes-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px}.lunch-dishes-toolbar h3{margin:0 0 2px;font-size:18px}.lunch-dishes-toolbar p{margin:0;color:var(--text-dim);font-size:11.5px}.lunch-dishes-toolbar-actions{display:flex;align-items:center;justify-content:flex-end;gap:8px}.lunch-list-fields-picker{position:relative;z-index:8}.lunch-list-fields-trigger{display:inline-flex;align-items:center;min-height:38px;gap:7px;border-color:#afccdc;color:#174f70;background:#f7fcff;white-space:nowrap}.lunch-list-fields-trigger:hover,.lunch-list-fields-trigger.is-open{border-color:#78adca;background:#edf8fd}.lunch-list-fields-trigger svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:1.8}.lunch-list-fields-trigger strong{min-width:32px;padding:3px 6px;border-radius:999px;color:#155878;background:#dceff8;font-size:9.5px;font-variant-numeric:tabular-nums;text-align:center}.lunch-list-fields-panel{position:absolute;top:calc(100% + 8px);right:0;width:min(360px,calc(100vw - 48px));padding:12px;border:1px solid #a9cbdc;border-radius:14px;color:var(--text);background:#fff;box-shadow:0 18px 48px #15405833}.lunch-list-fields-panel header{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;padding:1px 1px 10px;border-bottom:1px solid #e0eaf0}.lunch-list-fields-panel header>div{display:grid;gap:3px}.lunch-list-fields-panel header strong{color:#173f57;font-size:13px}.lunch-list-fields-panel header small{color:var(--text-dim);font-size:10px;line-height:1.4}.lunch-list-fields-panel header>button{display:grid;flex:0 0 27px;width:27px;height:27px;padding:0;border:1px solid transparent;border-radius:8px;color:#6b8290;font:inherit;font-size:19px;line-height:1;background:transparent;cursor:pointer;place-items:center}.lunch-list-fields-panel header>button:hover,.lunch-list-fields-panel header>button:focus-visible{border-color:#c5dbe6;outline:none;color:#174f70;background:#eef7fb}.lunch-list-fields-panel fieldset{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;margin:0;padding:10px 0;border:0}.lunch-list-fields-panel fieldset label{display:flex;align-items:center;min-width:0;min-height:38px;gap:8px;padding:7px 8px;border:1px solid #d8e5eb;border-radius:9px;color:#365665;background:#fbfdfe;font-size:10px;font-weight:750;cursor:pointer}.lunch-list-fields-panel fieldset label:has(input:checked){border-color:#8fc0d8;color:#155878;background:#edf8fd}.lunch-list-fields-panel fieldset label:focus-within{border-color:#4f99bc;box-shadow:0 0 0 3px #348bb41f}.lunch-list-fields-panel input[type=checkbox]{flex:0 0 auto;width:15px;height:15px;margin:0;accent-color:#1d769f}.lunch-list-fields-panel footer{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:6px;padding-top:10px;border-top:1px solid #e0eaf0}.lunch-list-fields-panel footer button{min-height:30px;padding:5px 8px;border:1px solid #c8dbe5;border-radius:8px;color:#315a6e;font:inherit;font-size:9px;font-weight:750;background:#f8fbfc;cursor:pointer}.lunch-list-fields-panel footer button:hover:not(:disabled),.lunch-list-fields-panel footer button:focus-visible:not(:disabled){border-color:#76aec8;outline:none;color:#164f6d;background:#edf8fd}.lunch-list-fields-panel footer button:disabled{cursor:default;opacity:.46}.lunch-product-add-card{display:grid;grid-template-columns:minmax(260px,1fr) minmax(360px,.72fr);align-items:center;gap:18px;margin-bottom:12px;padding:13px 14px;border:1px solid #bcd8e9;border-radius:14px;background:linear-gradient(135deg,#f3faff,#fff 68%);box-shadow:0 5px 16px #164e7812}.lunch-product-add-copy{display:flex;align-items:center;min-width:0;gap:11px}.lunch-product-add-icon{display:grid;flex:0 0 34px;width:34px;height:34px;place-items:center;border-radius:11px;color:#fff;font-size:22px;font-weight:500;line-height:1;background:linear-gradient(145deg,#2682b8,#155b87);box-shadow:0 6px 14px #155b872e}.lunch-product-add-copy h4{margin:0 0 3px;color:#173f57;font-size:13px}.lunch-product-add-copy p{margin:0;color:var(--text-dim);font-size:10.5px;line-height:1.45}.lunch-product-add-form{display:grid;min-width:0;gap:5px}.lunch-product-add-form>label{color:var(--text-dim);font-size:10px;font-weight:750}.lunch-product-add-controls{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:7px}.lunch-product-add-controls input{width:100%;min-width:0;min-height:40px;border-color:#a9cadf;font-size:13px;font-variant-numeric:tabular-nums}.lunch-product-add-controls input:focus{border-color:#2c7eae;box-shadow:0 0 0 3px #2c7eae1f}.lunch-product-add-controls .btn{min-height:40px;white-space:nowrap}.lunch-product-lookup-status{min-height:18px;color:var(--text-dim);font-size:10.5px}.lunch-product-lookup-status>span{display:inline-flex;align-items:center;gap:6px}.lunch-product-lookup-status>span:before{width:8px;height:8px;border:2px solid #b8d5e7;border-top-color:#2578a8;border-radius:50%;content:"";animation:lunch-product-lookup-spin .7s linear infinite}.lunch-product-lookup-status strong{display:flex;align-items:baseline;gap:7px;color:#176044;font-size:11.5px}.lunch-product-lookup-status small{color:var(--text-dim);font-size:9.5px;font-weight:650}.lunch-product-suggestions{display:grid;max-height:220px;gap:3px;padding:4px;border:1px solid #bfd7e6;border-radius:11px;background:#fff;box-shadow:0 9px 24px #164e781f;overflow-y:auto}.lunch-product-suggestions button{display:grid;grid-template-columns:58px minmax(0,1fr) auto;align-items:center;gap:8px;width:100%;padding:7px 9px;border:0;border-radius:8px;color:inherit;font:inherit;text-align:left;background:transparent;cursor:pointer}.lunch-product-suggestions button:hover,.lunch-product-suggestions button:focus-visible{outline:none;background:#edf8fe;box-shadow:0 0 0 2px #2c7eae24}.lunch-product-suggestions code{color:#185b82;font-size:11px;font-weight:800}.lunch-product-suggestions span{min-width:0;overflow:hidden;font-size:11px;font-weight:700;text-overflow:ellipsis;white-space:nowrap}.lunch-product-suggestions small{color:var(--text-dim);font-size:9.5px;white-space:nowrap}@keyframes lunch-product-lookup-spin{to{transform:rotate(360deg)}}.lunch-product-add-error{margin:1px 0 0;color:#b42318;font-size:10.5px;line-height:1.4}.lunch-dishes-filters{display:grid;grid-template-columns:minmax(260px,1.4fr) repeat(4,minmax(145px,1fr));gap:8px;margin-bottom:12px;padding:10px;border:1px solid var(--border);border-radius:13px;background:var(--surface-2)}.lunch-dishes-search{grid-column:span 2}.lunch-dishes-filters label{display:grid;min-width:0;gap:4px}.lunch-dishes-filters label>span{color:var(--text-dim);font-size:10px;font-weight:750}.lunch-dishes-filters input,.lunch-dishes-filters select{min-width:0;min-height:40px;font-size:12px}.lunch-product-list{display:grid;gap:6px}.lunch-product-row{position:relative;display:block;min-width:0;border:1px solid var(--border);border-radius:12px;background:#fff;overflow:hidden;transition:border-color .16s ease,background-color .16s ease}.lunch-product-row:hover{border-color:#c0d8e7;background:#fcfeff}.lunch-product-row.is-excluded{border-color:#e2d7d4;background:#fbf8f7}.lunch-product-row.is-excluded:hover{border-color:#d7c5c1;background:#faf5f4}.lunch-product-row-summary{display:grid;grid-template-columns:minmax(280px,1fr) minmax(120px,.22fr) minmax(460px,.88fr);align-items:center;gap:14px;min-width:0;padding:7px 10px}.lunch-product-main{min-width:0;pointer-events:none}.lunch-product-main>div,.lunch-product-class,.lunch-product-usage,.lunch-product-cost,.lunch-product-date{display:grid;min-width:0;gap:2px}.lunch-product-main strong,.lunch-product-class strong,.lunch-product-usage strong,.lunch-product-cost strong,.lunch-product-date strong{overflow:hidden;font-size:12px;text-overflow:ellipsis;white-space:nowrap}.lunch-product-main strong{display:block;color:#183847;font-size:13px;line-height:1.35}.lunch-product-main span,.lunch-product-class span,.lunch-product-usage span,.lunch-product-cost span,.lunch-product-date span{overflow:hidden;color:var(--text-dim);font-size:9.5px;line-height:1.35;text-overflow:ellipsis;white-space:nowrap}.lunch-product-kind{display:inline-flex;align-items:center;justify-content:center;min-height:25px;padding:4px 7px;border-radius:999px;font-size:9px!important;font-weight:850;line-height:1;white-space:nowrap}.lunch-product-kind.dish{color:#0c6449;background:#e8f7f1}.lunch-product-kind.semi-finished{color:#164e78;background:#e7f3fa}.lunch-product-kind.other{color:#735419;background:#fff5dc}.lunch-product-objects{display:flex;flex-wrap:wrap;gap:4px;min-width:0}.lunch-product-objects span{max-width:100%;padding:3px 6px;border:1px solid #d8e3e9;border-radius:6px;overflow:hidden;color:#3f5967;background:#f6fafc;font-size:8.5px;font-weight:700;text-overflow:ellipsis;white-space:nowrap}.lunch-product-objects span.pullman{color:#1d4ed8;background:#eff6ff;border-color:#bfdbfe}.lunch-product-objects span.nadareishvili{color:#087353;background:#effaf6;border-color:#bce4d5}.lunch-product-objects span.rustavi{color:#925211;background:#fff7ed;border-color:#fed7aa}.lunch-product-objects span.telegraph{color:#6b2c91;background:#faf5ff;border-color:#e9d5ff}.lunch-product-attribute-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;min-width:0;padding:9px 12px 11px;border-top:1px solid #e3ebef;background:#f8fbfc}.lunch-product-attribute-editor,.lunch-attribute-editor{display:grid;min-width:0;gap:4px}.lunch-product-attribute-editor>span,.lunch-attribute-editor>span,.lunch-attribute-editor>label{display:flex;align-items:center;justify-content:space-between;gap:8px;color:#425e6d;font-size:9.5px;font-weight:800}.lunch-product-attribute-editor>span small{color:#718895;font-size:8px;font-weight:650}.lunch-product-attribute-editor select,.lunch-attribute-editor select,.lunch-attribute-editor input{width:100%;min-width:0;min-height:40px;padding:7px 30px 7px 9px;border-color:#bfd7e4;color:#164e78;background-color:#fff;font-size:10.5px;font-weight:750}.lunch-product-attribute-editor select:disabled,.lunch-attribute-editor select:disabled,.lunch-attribute-editor input:disabled{cursor:not-allowed;opacity:.58}.lunch-product-attribute-editor select[aria-busy=true]:disabled,.lunch-attribute-editor select[aria-busy=true]:disabled,.lunch-attribute-editor input[aria-busy=true]:disabled{cursor:wait}.lunch-product-quick-editors{position:relative;z-index:2;display:grid;grid-template-columns:repeat(var(--lunch-visible-field-count, 3),minmax(0,1fr)) minmax(96px,.55fr);gap:8px;min-width:0}.lunch-product-quick-editors.is-readonly{grid-template-columns:repeat(var(--lunch-visible-field-count, 3),minmax(0,1fr))}.lunch-product-quick-editors.has-many-fields{grid-column:1 / -1;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));padding-top:2px}.lunch-product-quick-editors.has-no-fields{grid-template-columns:minmax(96px,140px);justify-content:end}.lunch-product-category-editor{display:grid;min-width:0;gap:3px}.lunch-product-category-editor>span{display:flex;align-items:center;justify-content:space-between;gap:8px;color:#425e6d;font-size:9px;font-weight:800}.lunch-product-category-editor>span small{color:#718895;font-size:8px;font-weight:650}.lunch-product-category-editor select,.lunch-product-category-editor input{width:100%;min-width:0;min-height:36px;padding:6px 30px 6px 9px;border-color:#bfd7e4;color:#164e78;background-color:#fff;font-size:10.5px;font-weight:750}.lunch-product-category-editor select:disabled,.lunch-product-category-editor input:disabled{cursor:not-allowed;opacity:.58}.lunch-product-category-editor select[aria-busy=true]:disabled,.lunch-product-category-editor input[aria-busy=true]:disabled{cursor:wait}.lunch-list-field-unavailable{display:flex;align-items:center;min-height:36px;padding:6px 9px;border:1px dashed #ccdce4;border-radius:8px;color:#84949d;background:#f8fafb;font-size:10px;font-weight:700}.lunch-list-preparation-control{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:4px;min-width:0}.lunch-list-preparation-control input{grid-column:1;grid-row:1;padding-right:31px;font-variant-numeric:tabular-nums}.lunch-list-preparation-control>span{z-index:1;grid-column:1;grid-row:1;align-self:center;justify-self:end;padding-right:8px;color:#718895;font-size:9px;font-weight:750;pointer-events:none}.lunch-list-preparation-control>button{display:grid;grid-column:2;grid-row:1;width:32px;min-height:36px;padding:0;border:1px solid #bfd7e4;border-radius:8px;color:#22698c;font:inherit;font-size:17px;background:#f5fbfe;cursor:pointer;place-items:center}.lunch-list-preparation-control>button:hover,.lunch-list-preparation-control>button:focus-visible{border-color:#6fa9c5;outline:none;background:#eaf6fb}.lunch-list-preparation-control>button:disabled{cursor:wait;opacity:.55}.lunch-list-field-error{color:#b42318!important;font-size:8px!important;font-weight:700!important;line-height:1.3}.lunch-product-remove-action{display:grid;min-width:0;gap:3px}.lunch-product-remove-action>span:first-child{color:#6d554f;font-size:9px;font-weight:800}.lunch-product-remove-action>button,.lunch-product-removed-status{display:flex;min-width:0;min-height:36px;align-items:center;justify-content:center;gap:6px;padding:6px 10px;border:1px solid #e1c4bf;border-radius:9px;color:#9c2f25;background:#fff7f6;font:inherit;font-size:10.5px;font-weight:800;line-height:1.2}.lunch-product-remove-action>button{cursor:pointer;transition:border-color .16s ease,background-color .16s ease,color .16s ease}.lunch-product-remove-action>button:hover{border-color:#c6655b;color:#8f2118;background:#ffedea}.lunch-product-remove-action>button:focus-visible{outline:3px solid rgba(185,28,28,.18);outline-offset:2px}.lunch-product-remove-action>button:disabled{cursor:wait;opacity:.5}.lunch-product-remove-action svg,.lunch-remove-dialog svg{width:17px;height:17px;flex:0 0 auto;fill:none;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:1.8}.lunch-product-removed-status{border-color:#ddd5d2;color:#76645f;background:#f4f1f0}.lunch-remove-dialog-backdrop{position:fixed;z-index:1300;top:0;right:0;bottom:0;left:0;display:grid;place-items:center;padding:20px;background:#151f1d8a;-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px)}.lunch-remove-dialog{display:grid;width:min(100%,500px);grid-template-columns:48px minmax(0,1fr);gap:14px 16px;padding:22px;border:1px solid rgba(255,255,255,.5);border-radius:20px;background:var(--surface);box-shadow:var(--shadow-lg);animation:lunch-remove-dialog-in .18s ease-out}@keyframes lunch-remove-dialog-in{0%{opacity:0;transform:translateY(8px) scale(.985)}to{opacity:1;transform:translateY(0) scale(1)}}.lunch-remove-dialog-icon{display:grid;width:48px;height:48px;place-items:center;border:1px solid #efcbc6;border-radius:14px;color:#a6291f;background:#fff0ee}.lunch-remove-dialog-icon svg{width:23px;height:23px}.lunch-remove-dialog .eyebrow{margin:0 0 4px;color:#8f2118}.lunch-remove-dialog h2{margin:0;font-size:20px}.lunch-remove-dialog p:not(.eyebrow){margin:9px 0 5px;color:var(--text-dim);font-size:13px;line-height:1.55}.lunch-remove-dialog p strong{color:var(--text)}.lunch-remove-dialog>div>small{color:#6d554f;font-size:11px}.lunch-remove-dialog .lunch-remove-dialog-error{margin:10px 0 0;padding:9px 10px;border:1px solid #efcbc6;border-radius:9px;color:#98251c;background:#fff0ee;font-size:11px;font-weight:700}.lunch-remove-dialog-actions{display:flex;grid-column:1 / -1;justify-content:flex-end;gap:9px;padding-top:4px}.lunch-remove-dialog-actions .btn{min-height:44px}.lunch-remove-confirm{display:inline-flex;align-items:center;gap:7px;border-color:#a92d24;color:#fff;background:#a92d24}.lunch-remove-confirm:hover{border-color:#8f2118;color:#fff;background:#8f2118}.lunch-product-usage strong,.lunch-product-cost strong{font-variant-numeric:tabular-nums}.lunch-product-cost.missing strong,.lunch-product-cost.missing span{color:#9a5d09}.lunch-product-row-open{position:absolute;z-index:1;top:0;right:0;bottom:0;left:0;width:100%;padding:0;border:0;border-radius:11px;cursor:pointer;background:transparent}.lunch-product-row-open:focus-visible{outline:2px solid #2686bd;outline-offset:-3px}.lunch-dishes-more{display:flex;min-height:44px;margin:12px auto 0}.lunch-dishes-empty{display:grid;justify-items:center;gap:6px;padding:54px 20px;color:var(--text-dim);text-align:center}.lunch-dishes-empty svg{width:34px;height:34px;margin-bottom:3px;fill:none;stroke:#6e91a5;stroke-linecap:round;stroke-linejoin:round;stroke-width:1.7}.lunch-dishes-empty strong{color:var(--text);font-size:14px}.lunch-dishes-empty span{font-size:11px}.lunch-dishes-skeleton{min-height:560px;border:1px solid var(--border);border-radius:16px;background:linear-gradient(90deg,#f3f6f8 25%,#fff,#f3f6f8 65%);background-size:300% 100%;animation:lunch-shimmer 1.4s ease-in-out infinite}.lunch-dish-modal-backdrop{position:fixed;z-index:1000;top:0;right:0;bottom:0;left:0;display:grid;align-items:stretch;justify-items:end;padding-left:min(8vw,110px);background:#101d2685;-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px)}.lunch-dish-modal{width:min(1120px,100%);min-width:0;height:100dvh;overflow:hidden;border-left:1px solid #c3d5df;background:#f7f9fa;box-shadow:-18px 0 52px #0b243438}.lunch-dish-modal-head{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;padding:18px 20px;border-bottom:1px solid var(--border);background:#fff}.lunch-dish-modal-title{display:grid;justify-items:start;min-width:0;gap:4px}.lunch-dish-modal-title h2{margin:1px 0 0;overflow-wrap:anywhere;font-size:22px}.lunch-dish-modal-title p{margin:0;color:var(--text-dim);font-size:11px}.lunch-dish-modal-close{display:grid;flex:0 0 44px;width:44px;height:44px;place-items:center;border:1px solid var(--border);border-radius:12px;color:var(--text-dim);background:#fff;font-size:24px;cursor:pointer}.lunch-dish-modal-close:hover,.lunch-dish-modal-close:focus-visible{border-color:#d59490;color:var(--danger);background:var(--danger-bg)}.lunch-dish-modal-body{display:grid;gap:12px;height:calc(100dvh - 96px);padding:14px;overflow:auto;overscroll-behavior:contain}.lunch-dish-attributes-card{display:grid;grid-template-columns:minmax(180px,.55fr) minmax(0,2fr);align-items:end;gap:16px;min-width:0;padding:14px 15px;border:1px solid #bcd7e7;border-radius:14px;background:linear-gradient(145deg,#f3faff,#fff);box-shadow:var(--shadow-sm)}.lunch-dish-attributes-heading{display:grid;min-width:0;gap:3px}.lunch-dish-attributes-heading>span,.lunch-dish-attributes-heading small,.lunch-attribute-editor small{color:var(--text-dim);font-size:9.5px}.lunch-dish-attributes-heading>strong{color:#164e78;font-size:17px}.lunch-detail-attribute-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:8px;min-width:0}.lunch-attribute-editor select,.lunch-attribute-editor input{min-height:42px;border-color:#9fc7df}.lunch-attribute-editor input{border:1px solid #9fc7df;border-radius:8px;outline:0;-webkit-appearance:textfield;-moz-appearance:textfield;appearance:textfield}.lunch-attribute-editor input:focus-visible{border-color:#2175a8;box-shadow:0 0 0 3px #2175a829}.lunch-preparation-time-control{position:relative;min-width:0}.lunch-preparation-time-control input{padding-right:38px;font-variant-numeric:tabular-nums}.lunch-preparation-time-control>span{position:absolute;top:50%;right:10px;color:#607985;font-size:10px;font-weight:800;pointer-events:none;transform:translateY(-50%)}.lunch-attribute-assist{display:flex;align-items:center;justify-content:space-between;gap:6px;min-width:0}.lunch-attribute-editor .lunch-attribute-assist small{min-width:0;overflow:visible;text-overflow:clip;white-space:normal}.lunch-preparation-reset{min-height:32px;padding:4px 6px;border:0;border-radius:6px;color:#155f8d;background:transparent;font-size:9px;font-weight:800;line-height:1.25;text-align:right;cursor:pointer}.lunch-preparation-reset:hover,.lunch-preparation-reset:focus-visible{color:#0c4a6e;background:#e7f3fa;outline:0}.lunch-preparation-reset:focus-visible{box-shadow:0 0 0 3px #2175a829}.lunch-preparation-reset:disabled{cursor:wait;opacity:.58}.lunch-attribute-editor .lunch-attribute-error{overflow:visible;color:var(--danger);font-weight:750;text-overflow:clip;white-space:normal}.lunch-attribute-editor small{overflow:hidden;color:var(--text-dim);font-size:9px;text-overflow:ellipsis;white-space:nowrap}.lunch-dish-detail-section{min-width:0;padding:15px;border:1px solid var(--border);border-radius:14px;background:#fff;box-shadow:var(--shadow-sm)}.lunch-dish-detail-section>h3{margin:0 0 12px;color:#213f50;font-size:14px}.lunch-dish-overview-grid,.lunch-dish-parameter-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin:0}.lunch-dish-overview-grid.compact{grid-template-columns:repeat(4,minmax(0,1fr))}.lunch-dish-overview-grid>div,.lunch-dish-parameter-grid>div{display:grid;min-width:0;align-content:start;gap:4px;padding:9px 10px;border:1px solid #e2e8eb;border-radius:10px;background:#fafcfd}.lunch-dish-overview-grid>div.span-2{grid-column:span 2}.lunch-dish-overview-grid dt,.lunch-dish-parameter-grid dt{display:flex;align-items:center;justify-content:space-between;gap:6px;color:var(--text-dim);font-size:9.5px;font-weight:700}.lunch-dish-parameter-grid dt small{color:#8ca0ab;font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:8px;font-weight:500}.lunch-dish-overview-grid dd,.lunch-dish-parameter-grid dd{margin:0;overflow-wrap:anywhere;color:#1f3039;font-size:11.5px;font-weight:700;line-height:1.45}.lunch-dish-detail-table-wrap{width:100%;overflow-x:auto;border:1px solid var(--border);border-radius:11px}.lunch-dish-detail-table{width:100%;min-width:680px;border-collapse:collapse}.lunch-dish-detail-table th,.lunch-dish-detail-table td{padding:9px 10px;border-bottom:1px solid var(--border);font-size:10.5px;text-align:left}.lunch-dish-detail-table th{color:var(--text-dim);background:var(--surface-2);font-size:9.5px;font-weight:800}.lunch-dish-detail-table tr:last-child td{border-bottom:0}.lunch-dish-detail-table td:first-child{font-weight:750}.lunch-dish-detail-table td .lunch-object-dot{margin-right:8px}.lunch-dish-detail-table .num{font-variant-numeric:tabular-nums;text-align:right;white-space:nowrap}.lunch-ingredient-table tr.missing td{color:#8d570c;background:#fffaf0}.lunch-dish-cost-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin-bottom:10px}.lunch-dish-cost-grid article{display:grid;min-width:0;gap:5px;padding:11px;border:1px solid #dce6eb;border-radius:11px;background:linear-gradient(145deg,#f7fbfd,#fff)}.lunch-dish-cost-grid span,.lunch-dish-cost-grid p{margin:0;color:var(--text-dim);font-size:9.5px;line-height:1.4}.lunch-dish-cost-grid strong{overflow-wrap:anywhere;color:#193e53;font-size:14px}.lunch-zone-calculations-section{border-color:#b9d7e7;background:linear-gradient(145deg,#f6fbfe,#fff 58%)}.lunch-zone-calculations-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;margin-bottom:12px}.lunch-zone-calculations-heading h3{margin:0 0 3px;color:#173f57;font-size:14px}.lunch-zone-calculations-heading p{max-width:720px;margin:0;color:var(--text-dim);font-size:10.5px;line-height:1.45}.lunch-zone-calculations-heading>span{flex:0 0 auto;padding:5px 8px;border:1px solid #c5dce9;border-radius:999px;color:#245d7e;background:#eef8fd;font-size:9px;font-weight:800}.lunch-zone-calculation-list{display:grid;gap:7px}.lunch-zone-calculation{display:grid;grid-template-columns:minmax(170px,.72fr) minmax(260px,1.2fr) minmax(130px,.55fr) auto;align-items:end;gap:10px;min-width:0;padding:10px;border:1px solid #d7e4ea;border-radius:11px;background:#ffffffe0}.lunch-zone-calculation.is-assigned{border-color:#9fcbb9;background:linear-gradient(145deg,#f4fbf8,#fff)}.lunch-zone-calculation-name{display:flex;align-items:center;min-width:0;gap:9px;align-self:center}.lunch-zone-calculation-dot{flex:0 0 10px;width:10px;height:10px;border:3px solid #d9edf7;border-radius:50%;background:#2b7ca8;box-sizing:content-box}.lunch-zone-calculation.is-assigned .lunch-zone-calculation-dot{border-color:#d9f1e6;background:#25885e}.lunch-zone-calculation-name>div,.lunch-zone-calculation label,.lunch-zone-calculation-cost{display:grid;min-width:0;gap:3px}.lunch-zone-calculation-name strong,.lunch-zone-calculation-name small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.lunch-zone-calculation-name strong{color:#183f55;font-size:11.5px}.lunch-zone-calculation-name small,.lunch-zone-calculation label>span,.lunch-zone-calculation-cost span,.lunch-zone-calculation-cost small{color:var(--text-dim);font-size:8.8px}.lunch-zone-calculation label>span,.lunch-zone-calculation-cost span{font-weight:750}.lunch-zone-calculation select{width:100%;min-width:0;min-height:40px;border-color:#b8d1df;font-size:10.5px;font-weight:700}.lunch-zone-calculation-cost strong{color:#174f70;font-size:13px;font-variant-numeric:tabular-nums}.lunch-zone-calculation-edit{min-height:40px;white-space:nowrap}.lunch-zone-calculations-state{padding:16px;border:1px dashed #bfd5e1;border-radius:10px;color:var(--text-dim);background:#ffffffb8;font-size:11px;text-align:center}.lunch-zone-calculations-state.is-error{border-color:#efc4c0;color:#98251c;background:#fff5f4}@media(max-width:1180px){.lunch-dishes-filters{grid-template-columns:repeat(4,minmax(135px,1fr))}.lunch-dishes-search{grid-column:span 2}.lunch-product-row-summary{grid-template-columns:minmax(230px,1fr) minmax(110px,.25fr);gap:9px 12px}.lunch-product-quick-editors{grid-column:1 / -1}}@media(max-width:940px){.lunch-dishes-kpis,.lunch-object-summary-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.lunch-product-row-summary{grid-template-columns:minmax(210px,1fr) minmax(105px,.25fr)}.lunch-dish-overview-grid,.lunch-dish-parameter-grid,.lunch-dish-cost-grid,.lunch-product-attribute-grid,.lunch-detail-attribute-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.lunch-dish-attributes-card{grid-template-columns:1fr;align-items:stretch}.lunch-product-add-card{grid-template-columns:1fr;gap:10px}.lunch-zone-calculation{grid-template-columns:minmax(170px,.7fr) minmax(240px,1fr) auto}.lunch-zone-calculation-cost{display:none}}@media(max-width:760px){.lunch-dishes-head,.lunch-dishes-toolbar{align-items:stretch;flex-direction:column}.lunch-dishes-year{min-width:0}.lunch-dishes-filters{grid-template-columns:repeat(2,minmax(0,1fr))}.lunch-dishes-search{grid-column:1 / -1}.lunch-product-row-summary{grid-template-columns:minmax(0,1fr) minmax(170px,.72fr);gap:9px 12px;padding:9px 10px}.lunch-product-main{grid-column:1;grid-row:1}.lunch-product-cost{grid-column:2;grid-row:1;justify-items:end;text-align:right}.lunch-product-quick-editors{grid-column:1 / 3;grid-row:2}.lunch-product-attribute-grid{padding:10px 12px 12px}.lunch-product-attribute-editor select,.lunch-attribute-editor select,.lunch-attribute-editor input,.lunch-preparation-reset{min-height:44px}.lunch-attribute-editor input{font-size:16px}.lunch-dish-modal-backdrop{padding-left:0}.lunch-dish-modal{width:100%;border-left:0}.lunch-zone-calculation{grid-template-columns:1fr auto;align-items:center}.lunch-zone-calculation label{grid-column:1 / -1;grid-row:2}.lunch-zone-calculation-edit{grid-column:2;grid-row:1}}@media(max-width:520px){.lunch-dishes-kpis,.lunch-object-summary-grid,.lunch-dishes-filters,.lunch-product-attribute-grid,.lunch-detail-attribute-grid,.lunch-dish-overview-grid,.lunch-dish-overview-grid.compact,.lunch-dish-parameter-grid,.lunch-dish-cost-grid{grid-template-columns:1fr}.lunch-dishes-catalog,.lunch-product-add-card{padding:12px}.lunch-product-add-controls{grid-template-columns:1fr}.lunch-product-suggestions button{grid-template-columns:54px minmax(0,1fr)}.lunch-product-suggestions small{grid-column:2}.lunch-product-row-summary{grid-template-columns:minmax(0,1fr) auto}.lunch-product-main{grid-column:1}.lunch-product-cost{grid-column:1;grid-row:2;justify-items:start;text-align:left}.lunch-product-quick-editors,.lunch-product-quick-editors.is-readonly{grid-template-columns:1fr 1fr;grid-column:1 / -1;grid-row:3}.lunch-product-quick-editors.has-one-field{grid-template-columns:1fr}.lunch-product-remove-action{grid-column:1 / -1}.lunch-zone-calculations-heading{align-items:stretch;flex-direction:column}.lunch-zone-calculations-heading>span{align-self:flex-start}.lunch-zone-calculation{grid-template-columns:1fr;align-items:stretch}.lunch-zone-calculation label,.lunch-zone-calculation-edit{grid-column:1;grid-row:auto}.lunch-remove-dialog{grid-template-columns:42px minmax(0,1fr);padding:17px;border-radius:17px}.lunch-remove-dialog-icon{width:42px;height:42px}.lunch-remove-dialog-actions{display:grid;grid-template-columns:1fr}.lunch-dishes-search,.lunch-dish-overview-grid>div.span-2{grid-column:auto}.content.content-lunch-dishes{padding-right:10px;padding-left:10px}.lunch-dish-modal-head{padding:14px}.lunch-dish-modal-title h2{font-size:18px}.lunch-dish-modal-body{padding:9px}.lunch-dish-detail-section{padding:12px}}@media(prefers-reduced-motion:reduce){.lunch-object-summary,.lunch-product-row{transition:none}.lunch-remove-dialog{animation:none}}.sr-only{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}.buffet-subtitle{margin:3px 0 0}.buffet-export-btn{border-color:#9bd7c2;background:#effbf6;color:var(--accent-dark)}.buffet-export-btn:hover:not(:disabled){border-color:var(--accent);background:var(--accent-soft)}.buffet-export-btn:disabled{opacity:.5;cursor:not-allowed;box-shadow:none}.buffet-export-help{margin:-6px 0 12px;color:#8a5b08}.buffet-view-tabs{width:fit-content;margin:-6px 0 14px}.catalog-section-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin:18px 0 0}.catalog-section-head h3,.catalog-section-head p{margin:0}.catalog-section-head p{margin-top:4px}.buffet-safety{margin:0 0 20px}.buffet-empty{display:flex;flex-direction:column;align-items:center;text-align:center;gap:8px;padding:56px 24px;border:1px dashed var(--border-strong);border-radius:var(--radius);background:var(--surface)}.buffet-empty h3,.buffet-empty p{margin:0}.buffet-empty p{color:var(--text-dim)}.empty-icon{font-size:38px}.buffet-stats{grid-template-columns:repeat(3,minmax(140px,1fr)) minmax(210px,1.4fr);margin-top:20px}.stat-warning:before{background:var(--warn)}.stat-file{font-size:14px;line-height:1.35;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.buffet-toolbar{display:grid;grid-template-columns:minmax(190px,1.2fr) minmax(170px,.8fr) minmax(210px,1fr) auto;gap:8px;align-items:center;margin:0 0 12px}.buffet-toolbar .search{width:100%}.buffet-count{color:var(--text-dim);font-size:13px;white-space:nowrap;padding-left:8px}.buffet-list-panel{width:100%;overflow:hidden;border-radius:var(--radius)}.buffet-table{width:100%;table-layout:fixed}.buffet-table .num-col{text-align:right;white-space:nowrap}.buffet-table th:nth-child(1){width:5%}.buffet-table th:nth-child(2){width:27%}.buffet-table th:nth-child(3){width:17%}.buffet-table th:nth-child(4){width:8%}.buffet-table th:nth-child(5){width:10%}.buffet-table th:nth-child(6){width:23%}.buffet-table th:nth-child(7){width:10%}.buffet-table td{padding:10px;overflow-wrap:anywhere}.buffet-table th{padding:9px 10px}.buffet-mobile-meta{display:none}.buffet-pagination{display:flex;align-items:center;justify-content:center;gap:14px;margin-top:12px;color:var(--text-dim);font-size:13px}.buffet-pagination .btn:disabled{opacity:.42;cursor:default;box-shadow:none}.muted-cell{color:var(--text-dim);font-size:13px}.matched-name{display:block;color:var(--text-dim);font-size:12px;font-weight:400;margin-top:3px;max-width:420px}.dish-code{display:inline-flex;align-items:center;padding:3px 7px;border:1px solid var(--border);border-radius:7px;background:var(--surface-2);color:var(--accent-dark);font-size:12px;font-weight:700;font-variant-numeric:tabular-nums}.buffet-modal{max-width:760px}.modal-head,.match-panel-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px}.modal-head h3,.match-panel h3{border:0;padding:0;margin:2px 0 0}.eyebrow{display:block;color:var(--text-dim);font-size:11px;font-weight:800;letter-spacing:.08em;text-transform:uppercase}.icon-btn{width:40px;height:40px;border:1px solid var(--border);border-radius:99px;background:var(--surface);color:var(--text-dim);font-size:24px;line-height:1;cursor:pointer}.icon-btn:hover{background:var(--surface-2);color:var(--text)}.match-panel{display:flex;flex-direction:column;gap:12px;padding:16px;border:1px solid var(--border);border-radius:var(--radius);background:var(--surface-2)}.selected-match{display:flex;align-items:center;gap:10px;padding:10px 12px;border-radius:var(--radius-sm);background:var(--accent-soft);color:var(--accent-dark);font-weight:600}.suggestion-list{display:grid;gap:7px}.suggestion-card{display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%;padding:10px 12px;border:1px solid var(--border);border-radius:var(--radius-sm);background:var(--surface);color:var(--text);font:inherit;text-align:left;cursor:pointer}.suggestion-card:hover{border-color:var(--accent);box-shadow:0 0 0 3px var(--accent-ring)}.suggestion-card>span{display:flex;align-items:center;gap:8px}.suggestion-card small{color:var(--text-dim);white-space:nowrap}.candidate-results{display:grid;max-height:240px;overflow-y:auto;border:1px solid var(--border);border-radius:var(--radius-sm);background:var(--surface)}.candidate-results button{display:grid;grid-template-columns:70px 1fr;gap:8px;padding:9px 12px;border:0;border-bottom:1px solid var(--border);background:transparent;color:var(--text);font:inherit;text-align:left;cursor:pointer}.candidate-results button:hover{background:var(--accent-soft)}@media(max-width:900px){.buffet-stats{grid-template-columns:repeat(2,minmax(140px,1fr))}.buffet-toolbar{grid-template-columns:1fr 1fr}.buffet-list-panel{overflow:visible}.buffet-table,.buffet-table tbody{display:block;border:0;background:transparent;box-shadow:none}.buffet-table thead{display:none}.buffet-table tbody{display:grid;gap:8px}.buffet-table tbody tr{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px 12px;padding:14px;border:1px solid var(--border);border-radius:var(--radius-sm);background:var(--surface);box-shadow:var(--shadow-sm)}.buffet-table tbody tr:hover{background:var(--surface)}.buffet-table td{display:block;width:auto;padding:0;border:0}.buffet-table td:nth-child(1),.buffet-table td:nth-child(3),.buffet-table td:nth-child(4){display:none}.buffet-table td:nth-child(2){grid-column:1 / -1}.buffet-table td:nth-child(5){grid-column:1;align-self:center}.buffet-table td:nth-child(6){grid-column:2;align-self:center}.buffet-table td:nth-child(7){grid-column:1 / -1}.buffet-table td:nth-child(7) .btn{width:100%}.buffet-mobile-meta{display:block;margin-top:4px;color:var(--text-dim);font-size:12px;font-weight:400}}@media(max-width:520px){.buffet-stats,.buffet-toolbar{grid-template-columns:1fr}.buffet-count{padding:0}.buffet-modal{padding:22px 18px}.buffet-pagination{justify-content:space-between;gap:8px}.suggestion-card,.suggestion-card>span{align-items:flex-start;flex-direction:column}.buffet-view-tabs{width:100%}.buffet-view-tabs .tab{flex:1}.catalog-section-head{align-items:stretch;flex-direction:column}}.events-page .event-card-modern{border-radius:16px}.events-page .event-row-button{width:100%;border:0;background:var(--surface)}.events-page .event-workspace{padding:0;background:#f7faf8}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.staff-summary-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin-bottom:14px}.staff-summary-grid>div{display:grid;min-width:0;gap:2px;padding:12px 14px;border:1px solid var(--border);border-radius:11px;background:var(--surface-2)}.staff-summary-grid>div.attention{border-color:#efc988;background:#fffbeb}.staff-summary-grid span,.staff-summary-grid small{overflow:hidden;color:var(--text-dim);font-size:10px;text-overflow:ellipsis;white-space:nowrap}.staff-summary-grid strong{font-size:19px;font-variant-numeric:tabular-nums}.staff-summary-grid .attention strong{color:#8a5100}.staff-card-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.staff-assignment-card{display:grid;min-width:0;gap:12px;padding:14px;border:1px solid var(--border);border-radius:13px;background:var(--surface);box-shadow:var(--shadow-sm);transition:border-color .18s ease,box-shadow .18s ease}.staff-assignment-card:hover{border-color:#b9ddcf;box-shadow:0 8px 22px #123f3114}.staff-card-head{display:grid;grid-template-columns:40px minmax(0,1fr) auto;align-items:center;gap:10px;min-width:0}.staff-avatar{display:grid;place-items:center;width:40px;height:40px;border:1px solid #b9ddcf;border-radius:12px;color:var(--accent-dark);font-size:13px;font-weight:850;background:var(--accent-soft)}.staff-identity{display:grid;min-width:0;gap:2px}.staff-identity strong{overflow:hidden;font-size:14px;text-overflow:ellipsis;white-space:nowrap}.staff-identity span{overflow:hidden;color:var(--text-dim);font-size:11px;text-overflow:ellipsis;white-space:nowrap}.staff-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px;margin:0}.staff-metrics>div{display:grid;align-content:start;min-width:0;gap:3px;padding:9px;border-radius:9px;background:var(--surface-2)}.staff-metrics dt{color:var(--text-dim);font-size:9px;font-weight:700}.staff-metrics dd{overflow-wrap:anywhere;margin:0;font-size:11px;font-weight:700;font-variant-numeric:tabular-nums}.staff-metrics .staff-pay-total{color:var(--accent-dark)}.staff-payment-line{display:flex;flex-wrap:wrap;gap:8px 20px;padding-top:10px;border-top:1px solid var(--border)}.staff-payment-line>span{display:grid;gap:1px}.staff-payment-line small{color:var(--text-dim);font-size:9px}.staff-payment-line strong{font-size:11px;font-variant-numeric:tabular-nums}.staff-card-actions{display:flex;justify-content:flex-end;gap:8px}.staff-card-actions .btn{min-height:42px;padding-inline:14px}.gmail-events-page{width:100%;min-width:0}.gmail-events-hero{align-items:flex-end}.gmail-events-hero-actions{display:flex;flex:0 0 auto;align-items:stretch;gap:10px}.gmail-add-event-button{min-height:60px;padding-inline:18px;white-space:nowrap}.gmail-add-event-button>span{font-size:17px;line-height:1}.gmail-source-pill{display:grid;grid-template-columns:38px auto;grid-template-rows:auto auto;align-items:center;column-gap:10px;min-width:230px;padding:10px 13px;border:1px solid #efc2bf;border-radius:14px;background:#fff8f7;box-shadow:var(--shadow-sm)}.gmail-source-pill>span{display:grid;grid-row:1 / 3;place-items:center;width:38px;height:38px;border-radius:10px;color:#fff;font-size:17px;font-weight:900;background:#b3261e}.gmail-source-pill strong{overflow:hidden;color:#5d201c;font-size:12px;text-overflow:ellipsis;white-space:nowrap}.gmail-source-pill small{color:#8d5b57;font-size:10px;font-weight:700;letter-spacing:.04em;text-transform:uppercase}.gmail-review-note{display:flex;align-items:center;gap:12px;margin-bottom:14px;padding:12px 15px;border:1px solid #b9ddcf;border-radius:13px;color:var(--text-dim);font-size:12px;background:var(--accent-soft)}.gmail-review-note strong{flex:0 0 auto;color:var(--accent-dark)}.gmail-manual-badge{display:inline-flex;align-items:center;min-height:24px;padding:3px 8px;border:1px solid #c7d2fe;border-radius:999px;color:#3730a3;font-size:9px;font-weight:800;white-space:nowrap;background:#eef2ff}.gmail-events-toolbar{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:10px;margin-bottom:12px}.gmail-select-filter{display:grid;gap:3px;min-width:0;padding:4px 10px;border:1px solid var(--border);border-radius:12px;background:var(--surface)}.gmail-select-filter span{color:var(--text-dim);font-size:8px;font-weight:800;letter-spacing:.04em;text-transform:uppercase}.gmail-select-filter select,.gmail-select-filter input{min-width:0;padding:0 22px 0 0;border:0;color:var(--text);font:inherit;font-size:11px;font-weight:700;background-color:transparent}.gmail-events-toolbar .search{width:100%;max-width:none}.gmail-events-toolbar>.search{grid-column:span 2}.gmail-filter-tabs{display:flex;align-items:center;gap:3px;padding:3px;border:1px solid var(--border);border-radius:12px;background:var(--surface)}.gmail-filter-tabs button{min-height:36px;padding:7px 13px;border:0;border-radius:9px;color:var(--text-dim);font:inherit;font-size:12px;font-weight:700;background:transparent;cursor:pointer}.gmail-filter-tabs button:hover{color:var(--text);background:var(--surface-2)}.gmail-filter-tabs button.active{color:var(--accent-dark);background:var(--accent-soft)}.gmail-summary-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:10px;margin-bottom:18px}.gmail-summary-grid>div{display:grid;min-width:0;gap:2px;padding:14px 16px;border:1px solid var(--border);border-radius:13px;background:var(--surface);box-shadow:var(--shadow-sm)}.gmail-summary-grid>div.attention{border-color:#e8c274;background:#fffaf0}.gmail-summary-grid span,.gmail-summary-grid small{overflow:hidden;color:var(--text-dim);font-size:10px;text-overflow:ellipsis;white-space:nowrap}.gmail-summary-grid strong{font-size:23px;font-variant-numeric:tabular-nums;line-height:1.1}.gmail-event-list{display:grid;gap:10px}.gmail-event-card{overflow:hidden;border:1px solid var(--border);border-radius:16px;background:var(--surface);box-shadow:var(--shadow-sm);transition:border-color var(--speed) ease,box-shadow var(--speed) ease}.gmail-event-card:hover,.gmail-event-card.is-open{border-color:#a7d7c7;box-shadow:0 10px 28px #123f3114}.gmail-event-header{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:stretch}.gmail-event-actions{display:flex;align-items:stretch;gap:8px;padding:14px 14px 14px 0}.gmail-event-row{display:grid;grid-template-columns:58px minmax(0,1fr) auto;align-items:center;gap:14px;width:100%;min-height:84px;padding:12px 16px;border:0;color:inherit;font:inherit;text-align:left;background:var(--surface);cursor:pointer}.gmail-event-row:hover{background:#fbfdfc}.gmail-event-row:focus-visible{outline:3px solid var(--accent-ring);outline-offset:-3px}.gmail-quick-edit{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-width:118px;margin:0;padding:0 13px;border:1px solid #b9ddcf;border-radius:11px;color:var(--accent-dark);font:inherit;font-size:11px;font-weight:800;background:var(--accent-soft);cursor:pointer}.gmail-quick-edit:hover{border-color:var(--accent);background:#dff3eb}.gmail-quick-edit:focus-visible{outline:3px solid var(--accent-ring);outline-offset:2px}.gmail-quick-edit span{font-size:16px}.gmail-event-excel{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-width:118px;padding:0 13px;border:1px solid #9fd8c2;border-radius:11px;color:#0b6849;font:inherit;font-size:11px;font-weight:800;background:#eefaf5;cursor:pointer}.gmail-event-excel:hover:not(:disabled){border-color:var(--accent);background:#ddf5eb}.gmail-event-excel:focus-visible{outline:3px solid var(--accent-ring);outline-offset:2px}.gmail-event-excel:disabled{cursor:wait;opacity:.64}.gmail-event-excel svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:1.7}.gmail-date-tile{display:grid;place-items:center;min-height:58px;border:1px solid #b9ddcf;border-radius:13px;color:var(--accent-dark);background:var(--accent-soft)}.gmail-date-tile strong{align-self:end;font-size:22px;line-height:1}.gmail-date-tile small{align-self:start;margin-top:2px;font-size:10px;font-weight:800;text-transform:uppercase}.gmail-event-main,.gmail-event-title,.gmail-event-meta{min-width:0}.gmail-event-main{display:grid;gap:6px}.gmail-event-title{display:flex;align-items:center;flex-wrap:wrap;gap:6px}.gmail-event-title>strong{overflow:hidden;max-width:100%;font-size:15px;text-overflow:ellipsis;white-space:nowrap}.gmail-review-status{display:inline-flex;align-items:center;min-height:22px;padding:2px 7px;border:1px solid #e6c67d;border-radius:999px;color:#805000;font-size:9px;font-weight:800;background:#fff7df;text-transform:uppercase}.gmail-review-status.approved{border-color:#b9ddcf;color:var(--accent-dark);background:var(--accent-soft)}.gmail-review-status.rejected{border-color:#efbbb7;color:var(--danger);background:var(--danger-bg)}.gmail-recon-status{display:inline-flex;align-items:center;min-height:22px;padding:2px 7px;border:1px solid var(--border);border-radius:999px;color:var(--text-dim);font-size:9px;font-weight:800;background:var(--surface-2)}.gmail-recon-status.rs-confirmed,.gmail-recon-status.payment-paid{border-color:#b9ddcf;color:var(--accent-dark);background:var(--accent-soft)}.gmail-recon-status.rs-pending,.gmail-recon-status.payment-partial{border-color:#e8c274;color:#805000;background:#fff7df}.gmail-recon-status.rs-missing,.gmail-recon-status.payment-not_confirmed{border-color:#efbbb7;color:var(--danger);background:var(--danger-bg)}.gmail-event-meta{display:flex;align-items:center;flex-wrap:wrap;gap:4px 0;color:var(--text-dim);font-size:11px}.gmail-event-meta span{overflow-wrap:anywhere}.gmail-event-meta span:not(:first-child):before{content:"•";margin:0 7px;color:#a5afa9}.gmail-event-meta .is-missing{color:#98610b;font-weight:700}.gmail-event-counts{display:flex;align-items:center;gap:8px}.gmail-event-counts>span{display:grid;min-width:54px;gap:1px;padding:7px 9px;border-radius:9px;text-align:center;background:var(--surface-2)}.gmail-event-counts small{color:var(--text-dim);font-size:9px}.gmail-event-counts strong{font-size:15px;font-variant-numeric:tabular-nums}.gmail-event-counts>b{display:grid;place-items:center;width:30px;height:30px;border-radius:9px;color:var(--accent-dark);background:var(--accent-soft)}.gmail-event-counts>.payment-suggestion-count{color:#805000;background:#fff3d4}.gmail-event-counts>.cash-payment-count{color:#315f3c;background:#e9f6e9}.gmail-event-body{border-top:1px solid var(--border);background:#f7faf8}.gmail-event-nav{display:flex;gap:2px;overflow-x:auto;padding:9px 12px 0;border-bottom:1px solid var(--border);background:var(--surface)}.gmail-event-nav button{display:inline-flex;align-items:center;gap:6px;min-height:40px;padding:8px 12px;border:0;border-bottom:2px solid transparent;color:var(--text-dim);font:inherit;font-size:11px;font-weight:700;white-space:nowrap;background:transparent;cursor:pointer}.gmail-event-nav button:hover,.gmail-event-nav button.active{color:var(--accent-dark)}.gmail-event-nav button.active{border-bottom-color:var(--accent)}.gmail-event-nav button span{display:inline-flex;min-width:19px;min-height:19px;align-items:center;justify-content:center;border-radius:999px;font-size:9px;background:var(--accent-soft)}.gmail-event-panel{margin:12px;padding:16px;border:1px solid var(--border);border-radius:13px;background:var(--surface);box-shadow:var(--shadow-sm)}.gmail-fact-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}.gmail-fact-grid>div{display:grid;min-width:0;gap:3px;padding:11px 12px;border-radius:10px;background:var(--surface-2)}.gmail-fact-grid>div.wide{grid-column:1 / -1}.gmail-fact-grid span,.gmail-source-grid>div>span{color:var(--text-dim);font-size:9px;font-weight:800;letter-spacing:.04em;text-transform:uppercase}.gmail-fact-grid strong{overflow-wrap:anywhere;font-size:12px}.gmail-detail-section{margin-top:14px;padding:14px;border:1px solid var(--border);border-radius:11px;background:#fbfdfc}.gmail-detail-section.warning{border-color:#e8c274;background:#fffaf0}.gmail-detail-section.conflict{border-color:#e8b6b1;background:#fff7f6}.gmail-detail-section h3,.gmail-menu-group h3{margin:0;font-size:12px}.gmail-detail-section ul{display:grid;gap:6px;margin:10px 0 0;padding-left:20px;color:var(--text-dim);font-size:12px}.gmail-invoice-list{display:grid;gap:12px}.gmail-invoice-subtitle,.gmail-rs-invoice-title{display:flex;align-items:flex-end;justify-content:space-between;gap:14px}.gmail-invoice-subtitle h3,.gmail-invoice-subtitle p,.gmail-rs-invoice-title h3,.gmail-rs-invoice-title p{margin:0}.gmail-invoice-subtitle h3,.gmail-rs-invoice-title h3{margin-top:2px;font-size:14px}.gmail-rs-invoice-section{display:grid;gap:10px;padding:14px;border:1px solid #a8d9c6;border-radius:12px;background:linear-gradient(145deg,#f8fdfb,var(--accent-soft))}.gmail-rs-invoice-title>strong{color:var(--accent-dark);font-size:20px;font-variant-numeric:tabular-nums}.gmail-rs-invoice-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:8px}.gmail-rs-invoice-card{display:grid;grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr) minmax(0,1fr);gap:12px;padding:11px 12px;border:1px solid #c8ddd5;border-radius:10px;background:var(--surface)}.gmail-rs-invoice-card>div{display:grid;align-content:start;gap:3px;min-width:0}.gmail-rs-invoice-card span,.gmail-rs-invoice-card small{color:var(--text-dim);font-size:9px;overflow-wrap:anywhere}.gmail-rs-invoice-card strong{overflow-wrap:anywhere;font-size:12px}.gmail-rs-invoice-card>div:first-child>strong{color:var(--accent-dark);font-size:17px;font-variant-numeric:tabular-nums}.gmail-rs-status{display:inline-flex;width:fit-content;padding:3px 7px;border-radius:999px;color:var(--accent-dark)!important;background:var(--accent-soft);font-weight:800}.gmail-rs-invoice-card.confidence-review{border-color:#e8c274;background:#fffaf0}.gmail-invoice-card{overflow:hidden;border:1px solid #d9e4df;border-radius:12px;background:#fbfdfc}.gmail-invoice-head{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:13px 15px;border-bottom:1px solid #d9e4df;background:#f1f7f4}.gmail-invoice-head>div{display:grid;gap:2px}.gmail-invoice-head span,.gmail-invoice-facts span{color:var(--text-dim);font-size:9px;font-weight:800;letter-spacing:.04em;text-transform:uppercase}.gmail-invoice-head strong{font-size:13px}.gmail-invoice-total{color:var(--accent-dark);font-size:18px!important;font-variant-numeric:tabular-nums;white-space:nowrap}.gmail-invoice-facts{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:1px;background:var(--border)}.gmail-invoice-facts>div{display:grid;min-width:0;align-content:start;gap:4px;padding:12px 14px;background:var(--surface)}.gmail-invoice-facts strong,.gmail-invoice-facts small{overflow-wrap:anywhere}.gmail-invoice-reconciliation{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;padding:10px 14px;border-top:1px solid var(--border);border-bottom:1px solid var(--border);background:#f7faf8}.gmail-invoice-reconciliation>div{display:grid;gap:3px;padding:10px 12px;border:1px solid var(--border);border-radius:10px;background:var(--surface)}.gmail-invoice-reconciliation span,.gmail-invoice-reconciliation small{color:var(--text-dim);font-size:9px}.gmail-invoice-reconciliation strong{font-size:11px}.gmail-invoice-reconciliation .rs-confirmed strong,.gmail-invoice-reconciliation .payment-paid strong{color:var(--accent-dark)}.gmail-invoice-reconciliation .rs-pending strong,.gmail-invoice-reconciliation .payment-partial strong{color:#805000}.gmail-invoice-reconciliation .rs-missing strong,.gmail-invoice-reconciliation .payment-not_confirmed strong{color:var(--danger)}.gmail-inventory-section{display:grid;gap:12px}.gmail-rs-equipment-section{margin-top:18px;padding-top:18px;border-top:1px solid var(--border)}.gmail-inventory-section-head{display:flex;align-items:flex-end;justify-content:space-between;gap:16px}.gmail-inventory-section-head h3,.gmail-inventory-section-head p{margin:0}.gmail-inventory-section-head h3{margin-top:3px;font-size:14px}.gmail-inventory-section-head>span{flex:0 0 auto;padding:5px 9px;border:1px solid var(--border);border-radius:999px;color:var(--text-dim);font-size:9px;font-weight:800;background:var(--surface)}.gmail-inventory-linker{display:grid;gap:7px;padding:12px;border:1px solid var(--accent-ring);border-radius:12px;background:var(--accent-soft)}.gmail-inventory-category-block,.gmail-inventory-editor-controls{display:grid;min-width:0;gap:8px}.gmail-inventory-category-block>span,.gmail-inventory-category-summary{color:var(--text-dim);font-size:9px;font-weight:750}.gmail-inventory-category-picker{display:flex;flex-wrap:wrap;gap:8px}.gmail-inventory-category-picker button{display:inline-flex;align-items:center;justify-content:space-between;min-height:44px;gap:9px;padding:7px 9px 7px 12px;border:1px solid var(--border);border-radius:10px;color:var(--text);font:inherit;font-size:10px;font-weight:800;text-align:left;background:var(--surface);cursor:pointer;touch-action:manipulation;transition:border-color .18s ease,background-color .18s ease,color .18s ease}.gmail-inventory-category-picker button:hover{border-color:var(--accent-ring);background:var(--accent-soft)}.gmail-inventory-category-picker button:focus-visible{outline:3px solid var(--accent-ring);outline-offset:2px}.gmail-inventory-category-picker button.active{border-color:var(--accent);color:#fff;background:var(--accent)}.gmail-inventory-category-picker button strong{min-width:25px;padding:4px 6px;border-radius:999px;color:var(--text-dim);font-size:9px;line-height:1;text-align:center;background:var(--surface-2)}.gmail-inventory-category-picker button.active strong{color:var(--accent-dark);background:#fff}.gmail-inventory-linker-fields{display:grid;grid-template-columns:minmax(240px,2fr) minmax(100px,.55fr) minmax(180px,1.4fr) auto;align-items:end;gap:9px}.gmail-inventory-linker label{display:grid;min-width:0;gap:5px}.gmail-inventory-linker label>span,.gmail-inventory-linker>small{color:var(--text-dim);font-size:9px;font-weight:700}.gmail-inventory-linker input{width:100%;min-width:0;min-height:44px}.gmail-inventory-linker .btn{min-height:44px;white-space:nowrap}.gmail-attached-inventory-list{display:grid;overflow:hidden;border:1px solid var(--border);border-radius:12px;background:var(--surface)}.gmail-attached-inventory-list article{display:grid;grid-template-columns:auto minmax(0,1fr) auto auto;align-items:center;gap:12px;padding:10px 12px;border-bottom:1px solid var(--border)}.gmail-attached-inventory-list article:last-child{border-bottom:0}.gmail-attached-inventory-code{min-width:62px;padding:5px 7px;border-radius:8px;color:var(--accent-dark);font-size:10px;font-weight:900;font-variant-numeric:tabular-nums;text-align:center;background:var(--accent-soft)}.gmail-attached-inventory-list article>div:not(.gmail-attached-inventory-actions){display:grid;min-width:0;gap:2px}.gmail-attached-inventory-list strong{overflow-wrap:anywhere;font-size:11px}.gmail-attached-inventory-list small{color:var(--text-dim);font-size:9px}.gmail-attached-inventory-list article>b{white-space:nowrap;font-size:11px;font-variant-numeric:tabular-nums}.gmail-attached-inventory-actions{display:flex;gap:6px}.gmail-equipment-list{display:grid;gap:12px}.gmail-equipment-card{overflow:hidden;border:1px solid #d9e4df;border-left:4px solid var(--accent);border-radius:12px;background:#fbfdfc}.gmail-equipment-card.is-return{border-left-color:#d3a647}.gmail-equipment-head{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;padding:13px 15px;border-bottom:1px solid var(--border);background:#f1f7f4}.gmail-equipment-head>div:first-child{display:grid;min-width:0;gap:3px}.gmail-equipment-head strong,.gmail-equipment-head small{overflow-wrap:anywhere}.gmail-equipment-head strong{font-size:12px}.gmail-equipment-head small,.gmail-equipment-direction{color:var(--text-dim);font-size:9px}.gmail-equipment-direction{font-weight:800;text-transform:uppercase}.gmail-equipment-sources{display:flex;flex:0 0 auto;gap:4px}.gmail-equipment-sources span{padding:4px 7px;border-radius:999px;color:var(--accent-dark);font-size:9px;font-weight:900;background:var(--accent-soft)}.gmail-equipment-facts{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:1px;background:var(--border)}.gmail-equipment-facts>div{display:grid;min-width:0;gap:3px;padding:10px 12px;background:var(--surface)}.gmail-equipment-facts span,.gmail-equipment-facts small{color:var(--text-dim);font-size:9px}.gmail-equipment-facts strong{overflow-wrap:anywhere;font-size:11px}.gmail-equipment-items summary{padding:10px 14px;color:var(--accent-dark);font-size:10px;font-weight:800;cursor:pointer}.gmail-equipment-items>div{display:grid;max-height:360px;overflow-y:auto;border-top:1px solid var(--border)}.gmail-equipment-items p{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin:0;padding:8px 14px;border-bottom:1px solid var(--border)}.gmail-equipment-items p:last-child{border-bottom:0}.gmail-equipment-items p span{display:grid;gap:2px}.gmail-equipment-items p strong{font-size:10px}.gmail-equipment-items p small{color:var(--text-dim);font-size:9px}.gmail-equipment-items p b{flex:0 0 auto;font-size:10px;font-variant-numeric:tabular-nums}.gmail-invoice-facts strong{font-size:11px}.gmail-invoice-facts small{color:var(--text-dim);font-size:9px;line-height:1.4}.gmail-invoice-status{width:fit-content;padding:4px 7px;border-radius:999px;color:#6f4b00;background:#fff0c6}.gmail-invoice-status.paid,.gmail-invoice-status.paid_adjusted{color:var(--accent-dark);background:var(--accent-soft)}.gmail-invoice-status.payment_pending{color:var(--danger);background:var(--danger-bg)}.gmail-invoice-note{margin:0;padding:10px 14px;border-bottom:1px solid var(--border);color:var(--text-dim);font-size:10px;line-height:1.5;background:#fffaf0}.gmail-invoice-lines{display:grid;padding:8px 14px;border-bottom:1px solid var(--border)}.gmail-invoice-lines>div{display:flex;justify-content:space-between;gap:12px;padding:4px 0;color:var(--text-dim);font-size:10px}.gmail-invoice-lines strong{flex:0 0 auto;color:var(--text);font-variant-numeric:tabular-nums}.gmail-invoice-source,.gmail-invoice-related{display:flex;flex-wrap:wrap;gap:7px 14px;padding:10px 14px;color:var(--text-dim);font-size:9px}.gmail-invoice-source a{margin-left:auto;color:var(--accent-dark);font-weight:800;text-decoration:none}.gmail-invoice-source a:hover{text-decoration:underline}.gmail-invoice-related{display:grid;border-top:1px dashed var(--border);background:var(--surface-2)}.gmail-invoice-related strong{color:var(--text)}.gmail-invoice-supplier{display:grid;gap:4px;padding:12px 14px;border:1px dashed #b9ddcf;border-radius:11px;color:var(--text-dim);font-size:9px;background:var(--accent-soft)}.gmail-invoice-supplier strong{color:var(--accent-dark);font-size:10px}.gmail-bank-payment-section,.gmail-bank-payment-list{display:grid;gap:12px}.gmail-cash-payment-section{display:grid;gap:12px;margin-bottom:18px;padding:16px;border:1px solid #b8d7bd;border-radius:14px;background:#f4fbf4}.gmail-cash-payment-form{display:grid;grid-template-columns:minmax(130px,.55fr) minmax(170px,.7fr) minmax(220px,1.4fr) auto;align-items:end;gap:10px}.gmail-cash-payment-form label{display:grid;gap:5px;min-width:0}.gmail-cash-payment-form label>span{color:var(--text-dim);font-size:9px;font-weight:800;letter-spacing:.04em;text-transform:uppercase}.gmail-cash-payment-form input{width:100%;min-height:40px;border:1px solid var(--border-strong);border-radius:9px;padding:8px 10px;color:var(--text);font:inherit;font-size:11px;background:var(--surface)}.gmail-cash-payment-form input:focus-visible{outline:2px solid var(--accent);outline-offset:1px}.gmail-cash-payment-form .btn{min-height:40px;white-space:nowrap}.gmail-cash-payment-list{display:grid;gap:8px}.gmail-cash-payment-card{display:grid;grid-template-columns:auto auto minmax(110px,auto) minmax(180px,1fr) auto;align-items:center;gap:12px;padding:10px 12px;border:1px solid #c8dfcc;border-radius:11px;background:var(--surface);box-shadow:var(--shadow-sm)}.gmail-cash-payment-source{display:inline-flex;width:fit-content;min-height:24px;align-items:center;padding:3px 8px;border-radius:999px;color:#fff;font-size:9px;font-weight:900;background:#4b8b59}.gmail-cash-payment-card>strong{color:#315f3c;font-size:16px;font-variant-numeric:tabular-nums;white-space:nowrap}.gmail-cash-payment-card time,.gmail-cash-payment-note,.gmail-cash-payment-empty{color:var(--text-dim);font-size:10px}.gmail-cash-payment-note{overflow-wrap:anywhere}.gmail-cash-payment-empty{margin:0;padding:10px 12px;border:1px dashed #c8dfcc;border-radius:10px;background:#ffffffb8}.gmail-payment-overview,.gmail-payment-suggestions{display:grid;gap:14px}.gmail-payment-suggestions{padding:14px;border:1px solid #e8c274;border-radius:14px;background:#fffaf0}.gmail-payment-suggestion-title>div>small{display:block;margin-top:4px;color:var(--text-dim);font-size:10px}.gmail-bank-payment-title{display:flex;align-items:flex-end;justify-content:space-between;gap:14px}.gmail-bank-payment-title h3,.gmail-bank-payment-title p{margin:0}.gmail-bank-payment-title h3{margin-top:2px;font-size:14px}.gmail-bank-payment-title>strong{color:var(--accent-dark);font-size:20px;font-variant-numeric:tabular-nums}.gmail-bank-payment-card{overflow:hidden;border:1px solid #b9ddcf;border-left:4px solid var(--accent);border-radius:12px;background:var(--surface);box-shadow:var(--shadow-sm)}.gmail-bank-payment-card.confidence-medium{border-color:#e8c274;border-left-color:#d3a647}.gmail-payment-suggestion-card{border-color:#b9d8cc;border-left-color:#238269}.gmail-payment-suggestion-card.confidence-review{border-color:#e8c274;border-left-color:#d3a647}.gmail-payment-suggestion-card.confidence-review .gmail-bank-payment-head{background:#fff7e5}.gmail-payment-suggestion-facts{grid-template-columns:1.05fr .65fr 1.5fr}.gmail-payment-suggestion-action .btn{flex:0 0 auto;min-height:32px;padding:6px 14px}.gmail-bank-payment-head{display:grid;grid-template-columns:minmax(150px,1fr) auto minmax(150px,auto);align-items:center;gap:12px;padding:12px 14px;border-bottom:1px solid var(--border);background:#f1f7f4}.gmail-bank-payment-head>strong{color:var(--accent-dark);font-size:18px;font-variant-numeric:tabular-nums;white-space:nowrap}.gmail-bank-payment-head time{color:var(--text-dim);font-size:10px;font-weight:700;text-align:right}.gmail-bank-source{display:inline-flex;width:fit-content;min-height:24px;align-items:center;padding:3px 8px;border-radius:999px;color:#fff;font-size:9px;font-weight:900;letter-spacing:.03em;background:#1b6757}.gmail-bank-source.source-bog{background:#e83f4c}.gmail-bank-payment-facts{display:grid;grid-template-columns:1.2fr .7fr 1.1fr;gap:1px;background:var(--border)}.gmail-bank-payment-facts>div{display:grid;min-width:0;align-content:start;gap:4px;padding:12px 14px;background:var(--surface)}.gmail-bank-payment-facts span,.gmail-bank-payment-facts small{color:var(--text-dim);font-size:9px}.gmail-bank-payment-facts span{font-weight:800;letter-spacing:.04em;text-transform:uppercase}.gmail-bank-payment-facts strong,.gmail-bank-payment-facts small{overflow-wrap:anywhere}.gmail-bank-payment-facts strong{font-size:11px}.gmail-bank-payment-note{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;padding:10px 14px;color:var(--text-dim);font-size:10px;line-height:1.5}.gmail-bank-payment-note span{flex:1 1 auto;overflow-wrap:anywhere}.gmail-bank-payment-note small{flex:0 0 auto;color:var(--text-dim);font-size:9px;white-space:nowrap}.gmail-bank-payment-unassign{flex:0 0 auto;min-height:30px;padding:5px 10px;border:1px solid #d97d75;border-radius:8px;color:#9f2f28;font:inherit;font-size:10px;font-weight:800;background:#fff8f7;cursor:pointer}.gmail-bank-payment-unassign:hover:not(:disabled){border-color:#b84c43;background:#fff0ee}.gmail-bank-payment-unassign:focus-visible{outline:2px solid #b84c43;outline-offset:2px}.gmail-bank-payment-unassign:disabled{cursor:wait;opacity:.65}.gmail-unmatched-payments{display:grid;gap:12px;margin:16px 0;padding:16px;border:1px solid #e8c274;border-radius:14px;background:#fffaf0;box-shadow:var(--shadow-sm)}.gmail-unmatched-payments-head{display:flex;align-items:flex-end;justify-content:space-between;gap:18px}.gmail-unmatched-payments-head h3,.gmail-unmatched-payments-head p{margin:0}.gmail-unmatched-payments-head h3{margin-top:2px;font-size:15px}.gmail-unmatched-payments-head>div:first-child>p:last-child{max-width:720px;margin-top:4px;color:var(--text-dim);font-size:10px;line-height:1.5}.gmail-unmatched-payments-head>div:last-child{display:grid;flex:0 0 auto;gap:2px;text-align:right}.gmail-unmatched-payments-head>div:last-child strong{color:#8a5a00;font-size:20px;font-variant-numeric:tabular-nums}.gmail-unmatched-payments-head>div:last-child small{color:var(--text-dim);font-size:9px;font-weight:700}.gmail-unmatched-payment-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.gmail-unmatched-payment-card{overflow:hidden;border:1px solid #ecd18f;border-left:4px solid #d3a647;border-radius:12px;background:var(--surface)}.gmail-unmatched-payment-primary{display:grid;grid-template-columns:minmax(120px,1fr) auto;align-items:center;gap:8px 12px;padding:11px 12px;border-bottom:1px solid #f0dfb5;background:#fff7e5}.gmail-unmatched-payment-primary>strong{color:#805000;font-size:17px;font-variant-numeric:tabular-nums;white-space:nowrap}.gmail-unmatched-payment-primary time{grid-column:1 / -1;color:var(--text-dim);font-size:9px;font-weight:700}.gmail-unmatched-payment-details{display:grid;grid-template-columns:1fr 1.15fr;gap:1px;background:var(--border)}.gmail-unmatched-payment-details>div{display:grid;min-width:0;align-content:start;gap:4px;padding:11px 12px;background:var(--surface)}.gmail-unmatched-payment-details>.candidate{grid-column:1 / -1;background:#fffdf8}.gmail-unmatched-payment-details span,.gmail-unmatched-payment-details small{color:var(--text-dim);font-size:9px}.gmail-unmatched-payment-details span{font-weight:800;letter-spacing:.03em;text-transform:uppercase}.gmail-unmatched-payment-details strong,.gmail-unmatched-payment-details small{overflow-wrap:anywhere}.gmail-unmatched-payment-details strong{font-size:10px}.gmail-unmatched-assignment{display:flex;align-items:flex-end;gap:8px;margin-top:6px}.gmail-unmatched-assignment label{display:grid;flex:1 1 260px;gap:4px}.gmail-unmatched-assignment select{width:100%;min-height:34px;padding:6px 30px 6px 9px;border:1px solid #d9bd7a;border-radius:8px;color:var(--text);font:inherit;font-size:10px;background:var(--surface)}.gmail-unmatched-assignment select:focus-visible,.gmail-unmatched-assignment .btn:focus-visible{outline:2px solid var(--accent);outline-offset:2px}.gmail-unmatched-assignment .btn{flex:0 0 auto;min-height:34px}.gmail-chip-list{display:flex;flex-wrap:wrap;gap:6px;margin-top:10px}.gmail-chip-list span{padding:4px 8px;border:1px solid #e8c274;border-radius:999px;color:#805000;font-size:10px;font-weight:700;background:#fff}.gmail-menu-groups{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.gmail-menu-group{min-width:0;overflow:hidden;border:1px solid var(--border);border-radius:11px}.gmail-group-head{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:10px 12px;border-bottom:1px solid var(--border);background:var(--surface-2)}.gmail-group-head span{color:var(--text-dim);font-size:9px}.gmail-menu-rows>div,.gmail-staff-grid>div{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;padding:9px 12px;border-bottom:1px solid var(--border)}.gmail-menu-rows>div:last-child,.gmail-staff-grid>div:last-child{border-bottom:0}.gmail-menu-rows span,.gmail-staff-grid span{display:grid;min-width:0;gap:2px}.gmail-menu-rows strong,.gmail-staff-grid strong{overflow-wrap:anywhere;font-size:11px}.gmail-menu-rows small,.gmail-staff-grid small{overflow:hidden;color:var(--text-dim);font-size:8px;text-overflow:ellipsis;white-space:nowrap}.gmail-menu-rows b,.gmail-staff-grid b{flex:0 0 auto;color:var(--accent-dark);font-size:11px;font-variant-numeric:tabular-nums}.gmail-completed-menu,.gmail-completed-groups{display:grid;gap:12px}.gmail-completed-summary{display:grid;grid-template-columns:minmax(220px,1.45fr) repeat(3,minmax(120px,1fr));gap:8px}.gmail-completed-summary>div{display:grid;align-content:center;min-height:70px;padding:12px 14px;border:1px solid var(--border);border-radius:11px;background:var(--surface-2)}.gmail-completed-summary>div.total{border-color:#a9dfcc;background:#effbf6}.gmail-completed-summary span{color:var(--text-dim);font-size:9px;font-weight:700}.gmail-completed-summary strong{margin-top:4px;color:var(--accent-dark);font-size:18px;font-variant-numeric:tabular-nums}.gmail-completed-group{min-width:0;overflow:hidden;border:1px solid var(--border);border-radius:12px;background:var(--surface)}.gmail-completed-group-head{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:13px 15px;border-bottom:1px solid var(--border);background:var(--surface-2)}.gmail-completed-group-head>div{min-width:0}.gmail-completed-group-head h3{margin:2px 0 3px;overflow-wrap:anywhere;font-size:13px}.gmail-completed-group-head small{color:var(--text-dim);font-size:9px}.gmail-completed-group-head>strong{flex:0 0 auto;color:var(--accent-dark);font-size:16px;font-variant-numeric:tabular-nums}.gmail-completed-columns,.gmail-completed-rows>div{display:grid;grid-template-columns:minmax(260px,1fr) 120px 130px 110px;gap:12px;align-items:center}.gmail-completed-columns{padding:8px 14px;border-bottom:1px solid var(--border);color:var(--text-dim);font-size:8px;font-weight:700}.gmail-completed-columns span:not(:first-child),.gmail-completed-rows .quantity,.gmail-completed-rows .unit-cost,.gmail-completed-rows .row-total{text-align:right}.gmail-completed-rows>div{position:relative;padding:10px 14px;border-bottom:1px solid var(--border);font-size:10px}.gmail-completed-rows>div:last-child{border-bottom:0}.gmail-completed-rows>div.missing-cost{background:#fff9ee}.gmail-completed-rows .product{display:grid;min-width:0;gap:2px}.gmail-completed-rows .product strong{overflow-wrap:anywhere;font-size:11px}.gmail-completed-rows .product small,.gmail-completed-rows .ingredient-warning{color:var(--text-dim);font-size:8px}.gmail-completed-rows .row-total{color:var(--accent-dark);font-size:11px;font-variant-numeric:tabular-nums}.gmail-completed-rows .ingredient-warning{grid-column:1 / -1;color:#946200;font-weight:700}.gmail-staff-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));overflow:hidden;border:1px solid var(--border);border-radius:11px}.gmail-assigned-staff{display:grid;gap:12px}.gmail-assigned-staff+.gmail-staff-grid{margin-top:12px}.gmail-staff-summary{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.gmail-staff-summary>div{display:grid;min-width:0;gap:3px;padding:12px 14px;border:1px solid #b9ddcf;border-radius:11px;background:var(--accent-soft)}.gmail-staff-summary span,.gmail-staff-summary small{overflow:hidden;color:var(--text-dim);font-size:9px;text-overflow:ellipsis;white-space:nowrap}.gmail-staff-summary strong{color:var(--accent-dark);font-size:19px;font-variant-numeric:tabular-nums}.gmail-staff-card-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.gmail-staff-card{min-width:0;overflow:hidden;border:1px solid var(--border);border-radius:12px;background:var(--surface);box-shadow:var(--shadow-sm)}.gmail-staff-card-head{display:grid;grid-template-columns:34px minmax(0,1fr) auto;align-items:center;gap:9px;padding:11px 12px;border-bottom:1px solid var(--border);background:#f7faf8}.gmail-staff-avatar{display:grid;place-items:center;width:34px;height:34px;border-radius:10px;color:var(--accent-dark);font-size:11px;font-weight:900;background:var(--accent-soft)}.gmail-staff-card-head>span:nth-child(2){display:grid;min-width:0;gap:2px}.gmail-staff-card-head strong,.gmail-staff-card-head small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.gmail-staff-card-head strong{font-size:11px}.gmail-staff-card-head small,.gmail-staff-source{color:var(--text-dim);font-size:8px}.gmail-staff-card-head .badge{align-self:start;font-size:8px;white-space:nowrap}.gmail-staff-pay-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));margin:0;background:var(--border);gap:1px}.gmail-staff-pay-grid>div{display:grid;min-width:0;gap:3px;padding:9px 10px;background:var(--surface)}.gmail-staff-pay-grid dt{color:var(--text-dim);font-size:8px}.gmail-staff-pay-grid dd{margin:0;overflow:hidden;color:var(--text);font-size:10px;font-weight:800;font-variant-numeric:tabular-nums;text-overflow:ellipsis;white-space:nowrap}.gmail-staff-pay-grid>div:nth-child(3) dd{color:var(--accent-dark)}.gmail-staff-source{display:block;padding:9px 12px;border-top:1px solid var(--border);overflow-wrap:anywhere}.gmail-staff-grid>div:nth-last-child(2):nth-child(odd){border-bottom:0}.gmail-staff-grid>div:nth-child(odd){border-right:1px solid var(--border)}.gmail-evidence-note{margin:12px 0 0;padding:10px 12px;border-left:3px solid #e6c67d;color:var(--text-dim);font-size:10px;background:#fffaf0}.gmail-source-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.gmail-source-grid>div{min-width:0}.gmail-link-list{display:grid;gap:7px;margin-top:8px}.gmail-link-list a{display:grid;min-width:0;gap:2px;padding:9px 10px;border:1px solid #efc2bf;border-radius:9px;color:#7f2822;font-size:11px;font-weight:700;text-decoration:none;background:#fff8f7}.gmail-link-list a:hover{border-color:#c55a52;text-decoration:underline}.gmail-link-list small{overflow:hidden;color:#9f6863;font-size:8px;font-weight:500;text-overflow:ellipsis;white-space:nowrap}.gmail-attachment-list{display:grid;gap:6px;margin:8px 0 0;padding:0;list-style:none}.gmail-attachment-list li{overflow-wrap:anywhere;padding:8px 10px;border:1px solid var(--border);border-radius:9px;color:var(--text-dim);font-size:10px;background:var(--surface-2)}.gmail-empty-panel{padding:28px 18px;border:1px dashed var(--border-strong);border-radius:11px;color:var(--text-dim);font-size:12px;text-align:center;background:var(--surface-2)}.gmail-save-notice{margin:0 0 12px}.gmail-editor-overlay{align-items:stretch;padding:clamp(8px,1vw,14px);overflow:hidden}.gmail-edit-modal{width:100%;max-width:none;height:100%;max-height:none;gap:0;padding:0;overflow:hidden}.gmail-edit-head{flex:0 0 auto;padding:20px 22px 15px}.gmail-edit-tabs{display:flex;flex:0 0 auto;gap:4px;overflow-x:auto;padding:0 22px 10px;border-bottom:1px solid var(--border)}.gmail-edit-tabs button{min-height:36px;padding:7px 12px;border:1px solid transparent;border-radius:9px;color:var(--text-dim);font:inherit;font-size:11px;font-weight:800;white-space:nowrap;background:transparent;cursor:pointer}.gmail-edit-tabs button:hover{color:var(--text);background:var(--surface-2)}.gmail-edit-tabs button.active{border-color:#b9ddcf;color:var(--accent-dark);background:var(--accent-soft)}.gmail-edit-content{flex:1 1 auto;min-height:260px;padding:20px 22px;overflow-y:auto;background:#fbfdfc}.gmail-edit-content label,.gmail-edit-detail-fields label,.gmail-edit-list-row label{display:grid;min-width:0;gap:6px;color:var(--text-dim);font-size:11px;font-weight:700}.gmail-edit-content label small{font-size:9px;font-weight:500}.gmail-edit-content input,.gmail-edit-content select,.gmail-edit-content textarea{width:100%;min-width:0}.gmail-location-field{display:grid;min-width:0;gap:6px}.gmail-location-field>label{color:var(--text-dim);font-size:11px;font-weight:700}.gmail-map-preview{display:flex;align-items:center;justify-content:space-between;gap:14px;min-width:0;padding:9px 11px;border:1px solid #b9ddcf;border-radius:10px;background:var(--accent-soft)}.gmail-map-preview>span{display:grid;min-width:0;gap:2px}.gmail-map-preview small{color:var(--accent-dark);font-size:8px;font-weight:800;letter-spacing:.04em;text-transform:uppercase}.gmail-map-preview strong{overflow:hidden;color:var(--text);font-size:10px;text-overflow:ellipsis;white-space:nowrap}.gmail-map-preview a,.gmail-fact-map-link{color:var(--accent-dark);font-size:10px;font-weight:800;text-decoration:none;white-space:nowrap}.gmail-map-preview a:hover,.gmail-fact-map-link:hover{text-decoration:underline}.gmail-fact-map-link{width:fit-content}.gmail-edit-detail-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px}.gmail-edit-list{display:grid;gap:8px}.gmail-menu-builder,.gmail-team-builder{display:grid;gap:14px}.gmail-builder-toolbar{display:flex;align-items:end;justify-content:space-between;gap:18px;padding:14px;border:1px solid #b9ddcf;border-radius:12px;background:var(--accent-soft)}.gmail-builder-toolbar>div:first-child{display:grid;gap:4px}.gmail-builder-toolbar>div:first-child strong{color:var(--accent-dark);font-size:13px}.gmail-builder-toolbar>div:first-child small{max-width:460px;color:var(--text-dim);font-size:10px;line-height:1.5}.gmail-builder-control{display:grid;grid-template-columns:minmax(230px,1fr) auto;align-items:end;gap:8px;min-width:min(100%,430px)}.gmail-team-picker-control{grid-template-columns:minmax(150px,.7fr) minmax(210px,1fr) auto;min-width:min(100%,590px)}.gmail-builder-control label,.gmail-category-dish-picker label,.gmail-category-amount,.gmail-team-member-row label{display:grid;min-width:0;gap:5px;color:var(--text-dim);font-size:10px;font-weight:750}.gmail-builder-control .btn,.gmail-category-dish-picker .btn{min-height:44px;white-space:nowrap}.gmail-builder-empty{display:grid;gap:4px;padding:24px 16px;border:1px dashed var(--border-strong);border-radius:12px;color:var(--text-dim);text-align:center;background:var(--surface)}.gmail-builder-empty strong{color:var(--text);font-size:13px}.gmail-builder-empty span{font-size:10px}.gmail-editor-inventory{display:grid;gap:14px}.gmail-inventory-editor-toolbar{display:grid;grid-template-columns:minmax(220px,.6fr) minmax(620px,1.8fr)}.gmail-inventory-editor-controls{gap:10px}.gmail-inventory-editor-picker{display:grid;grid-template-columns:minmax(230px,1.5fr) minmax(100px,.45fr) minmax(180px,1fr) auto;align-items:end;gap:8px;min-width:0}.gmail-inventory-editor-picker label,.gmail-editor-inventory-row label{display:grid;min-width:0;gap:5px;color:var(--text-dim);font-size:10px;font-weight:750}.gmail-inventory-editor-picker .btn{min-height:44px;white-space:nowrap}.gmail-editor-inventory-list{display:grid;overflow:hidden;border:1px solid var(--border);border-radius:12px;background:var(--surface)}.gmail-editor-inventory-row{display:grid;grid-template-columns:auto minmax(180px,.8fr) minmax(100px,.35fr) minmax(180px,1fr) 38px;align-items:end;gap:10px;padding:11px 12px;border-bottom:1px solid var(--border)}.gmail-editor-inventory-row:last-child{border-bottom:0}.gmail-editor-inventory-name{display:grid;align-self:center;min-width:0;gap:2px}.gmail-editor-inventory-name strong{overflow-wrap:anywhere;font-size:11px}.gmail-editor-inventory-name small{color:var(--text-dim);font-size:9px}.gmail-menu-category-list,.gmail-team-role-groups,.gmail-team-member-list,.gmail-legacy-staff{display:grid;gap:10px}.gmail-menu-category-card{overflow:hidden;border:1px solid var(--border);border-radius:13px;background:var(--surface)}.gmail-menu-category-head{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 14px;border-bottom:1px solid var(--border);background:var(--surface-2)}.gmail-menu-category-head>div{display:grid;gap:2px}.gmail-menu-category-head strong{font-size:13px}.gmail-menu-category-head small{color:var(--text-dim);font-size:9px}.gmail-category-dish-picker{display:grid;grid-template-columns:minmax(210px,.8fr) minmax(260px,1.2fr) auto;align-items:end;gap:8px;padding:12px 14px;border-bottom:1px solid var(--border);background:#fbfdfc}.gmail-manual-dish-picker{display:grid;grid-template-columns:minmax(260px,1fr) minmax(280px,auto);align-items:end;gap:12px;padding:12px 14px;border-bottom:1px solid var(--border);background:#fffbeb}.gmail-manual-dish-picker>label{display:grid;min-width:0;gap:5px;color:#805000;font-size:10px;font-weight:750}.gmail-manual-dish-picker>div{display:flex;align-items:center;justify-content:flex-end;gap:12px}.gmail-manual-dish-picker small{max-width:300px;color:#805000;font-size:9px;line-height:1.45}.gmail-manual-dish-picker .btn{flex:0 0 auto;min-height:44px;white-space:nowrap}.gmail-category-dish-list{display:grid}.gmail-category-dish-row{display:grid;grid-template-columns:minmax(220px,1fr) minmax(140px,.4fr) 38px;align-items:center;gap:10px;min-height:58px;padding:9px 14px;border-bottom:1px solid var(--border)}.gmail-category-dish-row:last-child{border-bottom:0}.gmail-category-dish-name{display:grid;min-width:0;gap:3px}.gmail-category-dish-name strong{overflow-wrap:anywhere;font-size:12px}.gmail-category-dish-name small{color:var(--text-dim);font-size:9px}.gmail-calculation-status{display:inline-flex;width:fit-content;min-height:22px;align-items:center;padding:3px 8px;border:1px solid;border-radius:999px;font-size:8px;font-style:normal;font-weight:850;line-height:1.2}.gmail-calculation-status.required{border-color:#f0c36d;color:#805000;background:#fff7df}.gmail-calculation-status.required:before{content:"!";display:grid;place-items:center;width:14px;height:14px;margin-right:5px;border-radius:50%;color:#fff;font-size:9px;background:#c27a00}.gmail-calculation-status.ready{border-color:#b9ddcf;color:var(--accent-dark);background:var(--accent-soft)}.manual-products-page{display:grid;gap:20px}.manual-products-head{align-items:end}.manual-products-head p:last-child{max-width:720px;margin:8px 0 0;color:var(--muted)}.manual-products-stats{margin:0}.manual-products-toolbar{display:grid;grid-template-columns:minmax(280px,1fr) minmax(220px,320px);gap:12px;padding:14px;border:1px solid var(--border);border-radius:18px;background:var(--surface)}.manual-products-toolbar .search,.manual-products-toolbar select{width:100%}.manual-products-list{display:grid;gap:12px}.manual-product-card{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:18px 20px;border:1px solid var(--border);border-radius:20px;background:var(--surface);box-shadow:0 10px 30px #183d330d}.manual-product-main{display:grid;grid-template-columns:minmax(260px,1.4fr) minmax(150px,.55fr) minmax(240px,1fr);align-items:center;gap:24px;min-width:0;flex:1}.manual-product-title{min-width:0}.manual-product-title h3{margin:8px 0 4px;font-size:17px;line-height:1.35}.manual-product-title p,.manual-product-code span,.manual-product-events>span{margin:0;color:var(--muted);font-size:12px}.manual-product-code,.manual-product-events{display:grid;gap:4px}.manual-product-code strong{font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:15px}.manual-product-events small{display:block;overflow:hidden;color:var(--text);text-overflow:ellipsis;white-space:nowrap}.manual-product-modal{width:min(760px,calc(100vw - 32px))}.manual-product-form{display:grid;gap:18px;padding:20px 24px;overflow:auto}.manual-product-form>label{display:grid;gap:7px;font-weight:700}.manual-product-form>label small{color:var(--muted);font-weight:500}.manual-product-modal .candidate-results button span{display:grid;gap:2px}.manual-product-modal .candidate-results button small{color:var(--muted);font-size:11px}@media(max-width:900px){.manual-product-card{align-items:stretch;flex-direction:column}.manual-product-main{grid-template-columns:1fr 1fr}.manual-product-title{grid-column:1 / -1}.manual-product-card>.btn{width:100%}}@media(max-width:620px){.manual-products-toolbar,.manual-product-main{grid-template-columns:1fr}.manual-product-title{grid-column:auto}}.gmail-category-dish-name label{display:grid;gap:5px;color:var(--text-dim);font-size:10px;font-weight:750}.gmail-category-empty{padding:18px 14px;color:var(--text-dim);font-size:10px;text-align:center}.gmail-team-role-card{overflow:hidden;border:1px solid var(--border);border-radius:13px;background:var(--surface)}.gmail-team-role-head{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:11px 14px;border-bottom:1px solid var(--border);background:var(--surface-2)}.gmail-team-role-head strong{color:var(--text);font-size:13px}.gmail-team-role-head span{color:var(--text-dim);font-size:9px;font-weight:750}.gmail-team-role-card .gmail-team-member-list{gap:0}.gmail-team-member-row{display:grid;grid-template-columns:38px minmax(190px,.75fr) minmax(240px,1.25fr) 38px;align-items:center;gap:11px;padding:11px;border:1px solid var(--border);border-radius:12px;background:var(--surface)}.gmail-team-role-card .gmail-team-member-row{border:0;border-bottom:1px solid var(--border);border-radius:0}.gmail-team-role-card .gmail-team-member-row:last-child{border-bottom:0}.gmail-team-member-name{display:grid;min-width:0;gap:3px}.gmail-team-member-name strong{overflow-wrap:anywhere;font-size:12px}.gmail-team-member-name small{color:var(--text-dim);font-size:9px}.gmail-legacy-staff{padding-top:12px;border-top:1px solid var(--border)}.gmail-legacy-staff>div:first-child{display:grid;gap:3px}.gmail-legacy-staff>div:first-child strong{font-size:12px}.gmail-legacy-staff>div:first-child small{color:var(--text-dim);font-size:9px}.gmail-edit-list-row{display:grid;align-items:end;gap:9px;padding:11px;border:1px solid var(--border);border-radius:11px;background:var(--surface)}.gmail-edit-list-row.menu{grid-template-columns:minmax(130px,.7fr) minmax(230px,1.7fr) minmax(100px,.55fr) 36px}.gmail-edit-list-row.staff{grid-template-columns:minmax(210px,1fr) minmax(100px,.45fr) minmax(210px,1.2fr) 36px}.gmail-edit-invoices{gap:12px}.gmail-edit-invoice-row{position:relative;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;padding:14px 56px 14px 14px;border:1px solid var(--border);border-radius:11px;background:var(--surface)}.gmail-edit-invoice-row .span-2{grid-column:span 2}.gmail-edit-invoice-row>.gmail-remove-row{position:absolute;top:14px;right:12px}.gmail-remove-row{display:grid;place-items:center;width:36px;height:38px;border:1px solid #efbbb7;border-radius:9px;color:var(--danger);font-size:19px;background:var(--danger-bg);cursor:pointer}.gmail-remove-row:hover{border-color:var(--danger)}.gmail-add-row{justify-self:start;margin-top:4px;border-style:dashed}.gmail-edit-error{flex:0 0 auto;margin:0 22px 12px}.gmail-edit-actions{flex:0 0 auto;align-items:center;padding:14px 22px;border-top:1px solid var(--border);background:var(--surface)}.gmail-edit-actions>span{flex:1 1 auto;margin-right:10px;color:var(--text-dim);font-size:10px}@media(max-width:820px){.gmail-summary-grid,.gmail-fact-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.gmail-menu-groups,.gmail-source-grid,.gmail-invoice-facts,.gmail-equipment-facts,.gmail-bank-payment-facts,.gmail-unmatched-payment-list{grid-template-columns:1fr}.gmail-completed-summary{grid-template-columns:repeat(2,minmax(0,1fr))}.gmail-completed-columns,.gmail-completed-rows>div{grid-template-columns:minmax(190px,1fr) 100px 110px 100px}.gmail-events-toolbar{grid-template-columns:minmax(220px,1fr) auto}.gmail-edit-invoice-row,.gmail-cash-payment-form{grid-template-columns:repeat(2,minmax(0,1fr))}.gmail-cash-payment-note-field,.gmail-cash-payment-form .btn{grid-column:1 / -1}.gmail-edit-list-row.menu,.gmail-edit-list-row.staff{grid-template-columns:repeat(2,minmax(0,1fr))}.gmail-builder-toolbar{align-items:stretch;flex-direction:column}.gmail-inventory-editor-toolbar{grid-template-columns:1fr}.gmail-inventory-editor-picker{grid-template-columns:minmax(0,1fr) minmax(110px,.4fr)}.gmail-inventory-editor-item,.gmail-inventory-editor-note{grid-column:1 / -1}.gmail-inventory-editor-picker .btn{grid-column:1 / -1;width:100%}.gmail-editor-inventory-row{grid-template-columns:auto minmax(0,1fr) 38px}.gmail-editor-inventory-row label{grid-column:span 1}.gmail-editor-inventory-row label:last-of-type{grid-column:span 2}.gmail-builder-control{width:100%}.gmail-team-picker-control{grid-template-columns:repeat(2,minmax(0,1fr))}.gmail-team-picker-control .btn{grid-column:1 / -1}.gmail-team-member-row{grid-template-columns:38px minmax(0,1fr) 38px}.gmail-team-member-row label{grid-column:1 / -1}.gmail-staff-card-grid{grid-template-columns:1fr}.gmail-remove-row{justify-self:end}}@media(max-width:640px){.gmail-completed-summary{grid-template-columns:1fr 1fr}.gmail-completed-summary>div{min-height:62px;padding:10px}.gmail-completed-group-head{align-items:flex-start;flex-direction:column;gap:8px}.gmail-completed-columns{display:none}.gmail-completed-rows>div{grid-template-columns:repeat(3,minmax(0,1fr));gap:7px 10px}.gmail-completed-rows .product{grid-column:1 / -1}.gmail-completed-rows .quantity,.gmail-completed-rows .unit-cost,.gmail-completed-rows .row-total{text-align:left}.gmail-completed-rows .quantity:before,.gmail-completed-rows .unit-cost:before,.gmail-completed-rows .row-total:before{display:block;margin-bottom:2px;color:var(--text-dim);font-size:7px;font-weight:600}.gmail-completed-rows .quantity:before{content:"რაოდენობა"}.gmail-completed-rows .unit-cost:before{content:"ერთეულის თვითღ."}.gmail-completed-rows .row-total:before{content:"ჯამი"}.gmail-events-hero{align-items:stretch;flex-direction:column}.gmail-events-hero-actions{flex-direction:column}.gmail-add-event-button{width:100%;min-height:48px}.gmail-source-pill{width:100%}.gmail-review-note{align-items:flex-start;flex-direction:column}.gmail-events-toolbar,.gmail-invoice-reconciliation{grid-template-columns:1fr}.gmail-equipment-head{flex-direction:column}.gmail-inventory-linker-fields{grid-template-columns:minmax(0,1fr) minmax(110px,.45fr)}.gmail-inventory-item-field,.gmail-inventory-notes-field{grid-column:1 / -1}.gmail-inventory-linker .btn{grid-column:1 / -1;width:100%}.gmail-attached-inventory-list article{grid-template-columns:auto minmax(0,1fr) auto}.gmail-attached-inventory-actions{grid-column:1 / -1;justify-content:flex-end}.gmail-filter-tabs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr))}.gmail-filter-tabs button{min-width:0}.gmail-event-row{grid-template-columns:48px minmax(0,1fr);align-items:start;padding:11px}.gmail-event-header{grid-template-columns:1fr}.gmail-event-actions{flex-wrap:wrap;padding:0 11px 11px}.gmail-event-actions>button{flex:1 1 140px;min-height:38px}.gmail-date-tile{min-height:50px}.gmail-date-tile strong{font-size:18px}.gmail-event-title>strong{white-space:normal}.gmail-event-meta{align-items:flex-start;flex-direction:column}.gmail-event-meta span:not(:first-child):before{display:none}.gmail-event-counts{grid-column:1 / -1;justify-content:flex-end}.gmail-event-nav{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.gmail-event-nav button{justify-content:center;min-width:0;white-space:normal}.gmail-event-panel{margin:8px;padding:12px}.gmail-cash-payment-section{padding:12px}.gmail-cash-payment-form,.gmail-cash-payment-card{grid-template-columns:1fr}.gmail-cash-payment-note-field,.gmail-cash-payment-form .btn{grid-column:auto}.gmail-cash-payment-card .gmail-bank-payment-unassign{width:100%}.gmail-staff-grid,.gmail-staff-summary{grid-template-columns:1fr}.gmail-staff-card-head{grid-template-columns:34px minmax(0,1fr)}.gmail-staff-card-head .badge{grid-column:2;justify-self:start}.gmail-staff-pay-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.gmail-staff-grid>div:nth-child(odd){border-right:0}.gmail-staff-grid>div:nth-last-child(2):nth-child(odd){border-bottom:1px solid var(--border)}.gmail-editor-overlay{align-items:stretch;padding:0}.gmail-edit-modal{width:100%;min-height:100dvh;max-height:100dvh;border-radius:0}.gmail-edit-head,.gmail-edit-content,.gmail-edit-actions,.gmail-edit-tabs{padding-right:14px;padding-left:14px}.gmail-edit-detail-fields,.gmail-edit-list-row.menu,.gmail-edit-list-row.staff,.gmail-edit-invoice-row,.gmail-builder-control,.gmail-team-picker-control,.gmail-category-dish-picker,.gmail-manual-dish-picker,.gmail-inventory-editor-picker,.gmail-category-dish-row,.gmail-team-member-row{grid-template-columns:1fr}.gmail-builder-control .btn,.gmail-category-dish-picker .btn,.gmail-manual-dish-picker .btn,.gmail-inventory-editor-picker .btn,.gmail-menu-category-head .btn{width:100%}.gmail-inventory-editor-item,.gmail-inventory-editor-note,.gmail-inventory-editor-picker .btn{grid-column:auto}.gmail-editor-inventory-row{grid-template-columns:auto minmax(0,1fr)}.gmail-editor-inventory-row label,.gmail-editor-inventory-row label:last-of-type,.gmail-editor-inventory-row .gmail-remove-row{grid-column:1 / -1}.gmail-manual-dish-picker>div{align-items:stretch;flex-direction:column}.gmail-manual-dish-picker small{max-width:none}.gmail-menu-category-head{align-items:stretch;flex-direction:column}.gmail-team-role-head{align-items:flex-start;flex-direction:column}.gmail-category-dish-row .gmail-remove-row,.gmail-team-member-row .gmail-remove-row{width:100%}.gmail-team-member-row .gmail-staff-avatar{justify-self:start}.gmail-team-member-row label,.gmail-edit-invoice-row .span-2{grid-column:auto}.gmail-invoice-head,.gmail-invoice-source,.gmail-bank-payment-title,.gmail-bank-payment-note,.gmail-unmatched-payments-head{align-items:flex-start;flex-direction:column}.gmail-unmatched-payments-head>div:last-child{text-align:left}.gmail-unmatched-assignment{align-items:stretch;flex-direction:column}.gmail-unmatched-assignment label{flex-basis:auto}.gmail-unmatched-assignment .btn{width:100%}.gmail-bank-payment-head{grid-template-columns:1fr auto}.gmail-bank-payment-head time{grid-column:1 / -1;text-align:left}.gmail-bank-payment-note small{white-space:normal}.gmail-bank-payment-unassign{width:100%}.gmail-invoice-source a{margin-left:0}.gmail-remove-row{justify-self:stretch;width:100%}.gmail-edit-actions{align-items:stretch;flex-direction:column}.gmail-edit-actions>span{margin:0 0 4px;text-align:center}.gmail-edit-actions .btn{width:100%}}@media(max-width:420px){.gmail-summary-grid,.gmail-fact-grid{grid-template-columns:1fr}}.staff-empty{grid-column:1 / -1;padding:30px 18px;border:1px dashed var(--border-strong);border-radius:12px;text-align:center;background:var(--surface-2)}.staff-empty p{margin:5px 0 0;color:var(--text-dim);font-size:12px}.staff-add-panel{display:grid;grid-template-columns:minmax(220px,.8fr) minmax(280px,1.2fr);align-items:center;gap:16px;margin-top:14px;padding:14px;border:1px solid #b9ddcf;border-radius:12px;background:var(--accent-soft)}.staff-add-panel>div{display:grid;gap:2px}.staff-add-panel>div span{color:var(--text-dim);font-size:10px}.staff-add-panel select{width:100%;min-height:44px;background:var(--surface)}@media(max-width:1100px){.staff-card-grid{grid-template-columns:1fr}}@media(max-width:760px){.staff-summary-grid,.staff-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.staff-add-panel{grid-template-columns:1fr}}@media(max-width:480px){.staff-card-head{grid-template-columns:40px minmax(0,1fr)}.staff-card-head>.badge{grid-column:1 / -1;justify-self:start}.staff-card-actions,.staff-card-actions .btn{width:100%}.staff-card-actions .btn{flex:1}}@media(prefers-reduced-motion:reduce){.staff-assignment-card{transition:none}}.block-icon-products{display:grid;width:46px;height:46px;place-items:center;border:1px solid #b9ddcf;border-radius:14px;color:var(--accent-dark);background:var(--accent-soft)}.block-icon-products svg,.product-eyebrow svg{width:26px;height:26px;fill:none;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:1.8}.block-icon-sbs{display:grid;width:46px;height:46px;place-items:center;border:1px solid #b9ddcf;border-radius:14px;color:#fff;background:linear-gradient(145deg,#0a8b64,var(--accent-dark));box-shadow:0 7px 18px #04785733}.block-icon-sbs svg{width:25px;height:25px;fill:none;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:1.75}.sbs-operations-page{display:grid;gap:16px;min-width:0}.sbs-operations-hero{display:flex;align-items:flex-end;justify-content:space-between;gap:24px;padding:24px;overflow:hidden;border:1px solid #cde4da;border-radius:18px;background:linear-gradient(120deg,#ecfdf5f5,#fffffffa),var(--surface);box-shadow:var(--shadow-sm)}.sbs-operations-hero>div:first-child{min-width:0}.sbs-operations-eyebrow,.sbs-live-label{color:var(--accent-dark);font-size:10px;font-weight:850;letter-spacing:.1em;text-transform:uppercase}.sbs-operations-hero h2{margin:5px 0 6px;font-size:clamp(25px,3vw,34px);letter-spacing:-.025em}.sbs-operations-hero p{max-width:760px;margin:0;color:var(--text-dim);font-size:13.5px;line-height:1.65}.sbs-source-guard{display:flex;flex:0 0 auto;align-items:center;gap:10px;min-width:250px;padding:12px 14px;border:1px solid #9fd5c1;border-radius:12px;color:var(--accent-dark);background:#fffc}.sbs-guard-dot{width:11px;height:11px;border:3px solid #b9ead8;border-radius:50%;background:var(--accent);box-shadow:0 0 0 3px var(--accent-soft)}.sbs-source-guard>span:last-child{display:grid;gap:1px}.sbs-source-guard strong{font-size:12px}.sbs-source-guard small{color:var(--text-dim);font-size:9.5px}.sbs-overview-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.sbs-overview-grid>div{display:grid;grid-template-columns:1fr auto;gap:2px 12px;min-width:0;padding:13px 15px;border:1px solid var(--border);border-radius:12px;background:var(--surface);box-shadow:var(--shadow-sm)}.sbs-overview-grid span,.sbs-overview-grid small{overflow:hidden;color:var(--text-dim);font-size:10px;text-overflow:ellipsis;white-space:nowrap}.sbs-overview-grid strong{grid-row:span 2;align-self:center;color:var(--text);font-size:24px;line-height:1;font-variant-numeric:tabular-nums}.sbs-overview-grid small{grid-column:1}.sbs-overview-grid .sbs-overview-safe{border-color:#b9ddcf;background:var(--accent-soft)}.sbs-overview-safe strong{color:var(--accent-dark)}.sbs-workspace{display:grid;grid-template-columns:minmax(280px,340px) minmax(0,1fr);min-height:580px;overflow:hidden;border:1px solid var(--border);border-radius:18px;background:var(--surface);box-shadow:var(--shadow-md)}.sbs-sequence-nav{padding:16px;border-right:1px solid var(--border);background:var(--surface-2)}.sbs-sequence-head{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:2px 4px 13px}.sbs-sequence-head span{color:var(--text-dim);font-size:10px;font-weight:800;letter-spacing:.07em;text-transform:uppercase}.sbs-sequence-head strong{color:var(--accent-dark);font-size:11px;font-variant-numeric:tabular-nums}.sbs-sequence-nav ol{display:grid;gap:6px;margin:0;padding:0;list-style:none}.sbs-sequence-button{display:grid;grid-template-columns:42px minmax(0,1fr) 18px;align-items:center;gap:10px;width:100%;min-height:66px;padding:9px 10px;border:1px solid transparent;border-radius:12px;color:var(--text);background:transparent;font:inherit;text-align:left;cursor:pointer;transition:border-color var(--speed) ease,background var(--speed) ease,box-shadow var(--speed) ease}.sbs-sequence-button:hover{border-color:var(--border);background:var(--surface)}.sbs-sequence-button.active{border-color:#9fd5c1;background:var(--surface);box-shadow:var(--shadow-sm)}.sbs-sequence-button>svg,.sbs-module-links .btn svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:1.8}.sbs-sequence-button>svg{color:var(--border-strong)}.sbs-sequence-button.active>svg{color:var(--accent)}.sbs-step-icon,.sbs-stage-large-icon{display:grid;place-items:center;border:1px solid var(--border);color:var(--text-dim);background:var(--surface)}.sbs-step-icon{width:42px;height:42px;border-radius:11px}.sbs-step-icon svg,.sbs-stage-large-icon svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:1.7}.sbs-step-icon.tone-pilot,.sbs-step-icon.tone-next,.sbs-stage-large-icon.tone-pilot,.sbs-stage-large-icon.tone-next{border-color:#b9ddcf;color:var(--accent-dark);background:var(--accent-soft)}.sbs-step-icon.tone-guarded,.sbs-stage-large-icon.tone-guarded{border-color:#efc078;color:#855200;background:#fff8e7}.sbs-step-icon.tone-locked,.sbs-stage-large-icon.tone-locked{border-color:#efbbb7;color:var(--danger);background:var(--danger-bg)}.sbs-step-copy{display:grid;min-width:0}.sbs-step-copy small{color:var(--text-dim);font-size:8.5px;font-weight:750;letter-spacing:.05em;text-transform:uppercase}.sbs-step-copy strong{overflow:hidden;font-size:11.5px;text-overflow:ellipsis;white-space:nowrap}.sbs-step-status{display:inline-flex;align-items:center;justify-self:start;min-height:19px;margin-top:3px;padding:2px 6px;border:1px solid var(--border);border-radius:999px;color:var(--text-dim);background:var(--surface-2);font-size:8.5px;font-style:normal;font-weight:800;line-height:1.2}.sbs-step-status.tone-pilot{border-color:#9fd5c1;color:var(--accent-dark);background:var(--accent-soft)}.sbs-step-status.tone-next{border-color:#b8d4e9;color:#245d81;background:#eef7fd}.sbs-step-status.tone-guarded{border-color:#efc078;color:#855200;background:#fff8e7}.sbs-step-status.tone-locked{border-color:#efbbb7;color:var(--danger);background:var(--danger-bg)}.sbs-stage-panel{display:grid;align-content:start;min-width:0;padding:28px}.sbs-stage-head{display:grid;grid-template-columns:62px minmax(0,1fr);gap:16px;align-items:start;padding-bottom:22px;border-bottom:1px solid var(--border)}.sbs-stage-large-icon{width:62px;height:62px;border-radius:16px}.sbs-stage-large-icon svg{width:30px;height:30px}.sbs-stage-kicker{display:flex;align-items:center;gap:8px;margin-bottom:5px}.sbs-stage-kicker>span{color:var(--text-dim);font-size:9.5px;font-weight:800;letter-spacing:.07em;text-transform:uppercase}.sbs-stage-kicker .sbs-step-status{margin:0}.sbs-stage-head h3{margin:0 0 4px;font-size:clamp(20px,2.4vw,27px)}.sbs-stage-head p{max-width:700px;margin:0;color:var(--text-dim);font-size:13px}.sbs-stage-body{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(220px,.8fr);gap:12px;padding-top:18px}.sbs-capability-card,.sbs-next-card,.sbs-module-links{border:1px solid var(--border);border-radius:14px;background:var(--surface-2)}.sbs-capability-card{grid-row:span 2;padding:18px}.sbs-capability-card h4{margin:0 0 12px;font-size:13px}.sbs-capability-card ul{display:grid;gap:10px;margin:0;padding:0;list-style:none}.sbs-capability-card li{position:relative;padding-left:23px;color:var(--text);font-size:12px;line-height:1.55}.sbs-capability-card li:before{content:"";position:absolute;top:5px;left:1px;width:11px;height:6px;border-bottom:2px solid var(--accent);border-left:2px solid var(--accent);transform:rotate(-45deg)}.sbs-next-card{display:grid;gap:5px;padding:15px;border-color:#ead8ae;background:#fffaf0}.sbs-next-card span,.sbs-module-links>span{color:var(--text-dim);font-size:9px;font-weight:800;letter-spacing:.06em;text-transform:uppercase}.sbs-next-card strong{font-size:11.5px;line-height:1.5}.sbs-next-card small{color:var(--text-dim);font-size:9.5px;line-height:1.45}.sbs-module-links{padding:12px;background:var(--surface)}.sbs-module-links>span{display:block;margin:0 4px 7px}.sbs-module-links>div{display:grid;gap:5px}.sbs-module-links .btn{display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%;min-height:44px;padding:8px 10px;font-size:11px;text-align:left}.sbs-live-surface{overflow:hidden;border:1px solid #b9ddcf;border-radius:18px;background:var(--surface);box-shadow:var(--shadow-md)}.sbs-live-surface>header{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;padding:18px 20px;border-bottom:1px solid #cde4da;background:linear-gradient(135deg,var(--accent-soft),#fff)}.sbs-live-surface h3{margin:3px 0 4px;font-size:18px}.sbs-live-surface p{max-width:820px;margin:0;color:var(--text-dim);font-size:11.5px;line-height:1.55}.sbs-readonly-badge{display:inline-flex;flex:0 0 auto;align-items:center;min-height:28px;padding:4px 9px;border:1px solid #9fd5c1;border-radius:999px;color:var(--accent-dark);background:var(--surface);font-size:9.5px;font-weight:800}.sbs-product-embed{padding:20px}.sbs-product-embed .product-page-head{padding-bottom:4px}@media(max-width:980px){.sbs-operations-hero{align-items:stretch;flex-direction:column}.sbs-source-guard{min-width:0}.sbs-overview-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.sbs-workspace{grid-template-columns:1fr}.sbs-sequence-nav{border-right:0;border-bottom:1px solid var(--border)}.sbs-sequence-nav ol{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:680px){.sbs-operations-hero,.sbs-stage-panel{padding:18px}.sbs-overview-grid{grid-template-columns:1fr 1fr}.sbs-overview-grid>div{grid-template-columns:1fr}.sbs-overview-grid strong{grid-row:auto;font-size:21px}.sbs-overview-grid small{grid-column:auto}.sbs-sequence-nav{padding:12px}.sbs-sequence-nav ol{grid-template-columns:1fr}.sbs-sequence-button{min-height:62px}.sbs-stage-head{grid-template-columns:48px minmax(0,1fr);gap:12px}.sbs-stage-large-icon{width:48px;height:48px;border-radius:13px}.sbs-stage-large-icon svg{width:24px;height:24px}.sbs-stage-body{grid-template-columns:1fr}.sbs-capability-card{grid-row:auto}.sbs-live-surface>header{align-items:stretch;flex-direction:column}.sbs-readonly-badge{align-self:flex-start}.sbs-product-embed{padding:14px}}.products-page{display:grid;gap:16px;min-width:0}.product-page-head{align-items:flex-end;margin:0}.product-page-head h2{margin:5px 0 3px;font-size:26px}.product-page-head p{margin:0;color:var(--text-dim);font-size:13px}.product-eyebrow{display:inline-flex;align-items:center;gap:7px;color:var(--accent-dark);font-size:11px;font-weight:800;letter-spacing:.04em;text-transform:uppercase}.product-eyebrow svg{width:18px;height:18px}.product-sync-note{display:grid;justify-items:end;gap:2px;padding:9px 12px;border:1px solid var(--border);border-radius:10px;background:var(--surface)}.product-sync-note span{color:var(--text-dim);font-size:10px}.product-sync-note strong{font-size:12px;font-variant-numeric:tabular-nums}.product-stat-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.product-stat-grid>div{display:grid;gap:3px;padding:13px 15px;border:1px solid var(--border);border-radius:12px;background:var(--surface);box-shadow:var(--shadow-sm)}.product-stat-grid span{color:var(--text-dim);font-size:11px}.product-stat-grid strong{color:var(--text);font-size:22px;font-variant-numeric:tabular-nums}.product-catalog-panel{overflow:hidden;border:1px solid var(--border);border-radius:14px;background:var(--surface);box-shadow:var(--shadow-sm)}.product-filter-grid{display:grid;grid-template-columns:repeat(4,minmax(150px,1fr));align-items:end;gap:9px;padding:13px;border-bottom:1px solid var(--border);background:var(--surface-2)}.product-filter-grid label{display:grid;gap:4px;min-width:0}.product-search-field{grid-column:span 2}.product-filter-grid label>span{color:var(--text-dim);font-size:10px;font-weight:700}.product-filter-grid input,.product-filter-grid select{min-width:0;min-height:42px;padding-top:8px;padding-bottom:8px;font-size:13px}.product-reset{min-height:42px;padding-right:12px;padding-left:12px;white-space:nowrap}.product-result-bar{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:39px;padding:8px 14px;border-bottom:1px solid var(--border);color:var(--text-dim);font-size:11px}.product-result-bar strong{color:var(--text);font-size:12px}.product-table-wrap{max-width:100%;overflow:hidden;transition:opacity var(--speed) ease}.product-table-wrap.is-loading{min-height:260px;opacity:.48}.product-table{width:100%;min-width:0;margin:0;border:0;border-radius:0;table-layout:fixed;box-shadow:none}.product-table th:nth-child(1){width:9%}.product-table th:nth-child(2){width:23%}.product-table th:nth-child(3){width:19%}.product-table th:nth-child(4){width:12%}.product-table th:nth-child(5){width:7%}.product-table th:nth-child(6){width:9%}.product-table th:nth-child(7){width:13%}.product-table th:nth-child(8){width:8%}.product-table th{white-space:nowrap;background:#f7faf8}.product-table td{vertical-align:middle;overflow-wrap:anywhere}.product-table td small{display:block;margin-top:3px;color:var(--text-dim);font-size:10px}.product-code-cell,.product-price-cell{font-variant-numeric:tabular-nums}.product-code-cell{color:var(--accent-dark);font-size:12px;font-weight:800}.product-name-cell{min-width:0}.product-state{display:inline-flex;align-items:center;min-height:24px;padding:3px 8px;border:1px solid var(--border);border-radius:999px;font-size:10px;font-weight:800}.product-state.active{border-color:#b9ddcf;color:var(--accent-dark);background:var(--accent-soft)}.product-state.inactive{color:var(--text-dim);background:var(--surface-2)}.product-detail-button{min-height:40px;padding:7px 11px;color:var(--accent-dark)}.product-empty{padding:48px 18px!important;color:var(--text-dim);text-align:center}.product-pagination{display:flex;align-items:center;justify-content:center;gap:12px;padding:11px 14px;border-top:1px solid var(--border);color:var(--text-dim);font-size:12px}.product-pagination .btn{min-width:86px}.product-pagination .btn:disabled{opacity:.42;cursor:default}.product-modal-backdrop{position:fixed;z-index:1000;top:0;right:0;bottom:0;left:0;display:grid;place-items:center;padding:24px;background:#0d18128f}.product-modal{display:grid;grid-template-rows:auto minmax(0,1fr);width:min(1080px,100%);max-height:min(900px,calc(100dvh - 48px));overflow:hidden;border:1px solid var(--border);border-radius:18px;background:var(--surface);box-shadow:var(--shadow-lg)}.product-modal-head{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;padding:20px 22px;border-bottom:1px solid var(--border);background:linear-gradient(135deg,#f0faf5,#fff)}.product-modal-head h2{margin:3px 0;font-size:22px}.product-modal-head p{margin:0;color:var(--text-dim);font-size:12px}.product-modal-code{color:var(--accent-dark);font-size:11px;font-weight:800;letter-spacing:.04em}.product-modal-close{flex:0 0 auto;width:44px;height:44px;border:1px solid var(--border);border-radius:50%;color:var(--text-dim);background:#ffffffd1;font:inherit;font-size:24px;cursor:pointer}.product-modal-close:hover{border-color:var(--border-strong);color:var(--text);background:var(--surface)}.product-modal-body{display:grid;gap:18px;overflow-y:auto;padding:20px 22px 28px}.product-detail-section h3{margin:0 0 9px;font-size:14px}.product-detail-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:1px;overflow:hidden;margin:0;border:1px solid var(--border);border-radius:11px;background:var(--border)}.product-detail-grid>div{min-width:0;padding:10px 12px;background:var(--surface)}.product-detail-grid>div:last-child:nth-child(4n+1){grid-column:span 4}.product-detail-grid>div:last-child:nth-child(4n+2){grid-column:span 3}.product-detail-grid>div:last-child:nth-child(4n+3){grid-column:span 2}.product-detail-grid dt{display:flex;align-items:baseline;justify-content:space-between;gap:8px;color:var(--text-dim);font-size:10px}.product-detail-grid dt small{color:#87918c;font-size:8px;font-family:ui-monospace,SFMono-Regular,Menlo,monospace}.product-detail-grid dd{margin:5px 0 0;overflow-wrap:anywhere;font-size:12px;font-weight:650;font-variant-numeric:tabular-nums}@media(max-width:1180px){.product-filter-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.product-search-field{grid-column:span 2}.product-detail-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.product-detail-grid>div:last-child{grid-column:auto}.product-detail-grid>div:last-child:nth-child(3n+1){grid-column:span 3}.product-detail-grid>div:last-child:nth-child(3n+2){grid-column:span 2}}@media(max-width:760px){.product-page-head{align-items:flex-start;flex-direction:column}.product-sync-note{justify-items:start}.product-stat-grid,.product-filter-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.product-search-field,.product-reset{grid-column:1 / -1}.product-table-wrap{padding:10px;background:var(--surface-2)}.product-table,.product-table tbody{display:block;width:100%}.product-table thead{display:none}.product-table tbody{display:grid;gap:10px}.product-table tbody tr{display:grid;width:100%;overflow:hidden;border:1px solid var(--border);border-radius:12px;background:var(--surface);box-shadow:var(--shadow-sm)}.product-table tbody td{display:grid;grid-template-columns:104px minmax(0,1fr);align-items:center;gap:2px 10px;width:auto!important;padding:9px 11px;border-right:0;border-bottom:1px solid var(--border);text-align:left}.product-table tbody td:last-child{border-bottom:0}.product-table tbody td:before{content:attr(data-label);grid-column:1;grid-row:1 / span 2;color:var(--text-dim);font-size:10px;font-weight:700}.product-table tbody td>small{grid-column:2}.product-table .product-detail-button{width:100%;min-height:44px}.product-empty-row{display:block!important}.product-empty-row .product-empty{display:block;border:0}.product-empty-row .product-empty:before{display:none}.product-detail-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.product-detail-grid>div:last-child{grid-column:auto}.product-detail-grid>div:last-child:nth-child(odd){grid-column:span 2}.product-modal-backdrop{align-items:stretch;padding:0}.product-modal{max-height:100dvh;border-radius:0}}@media(max-width:460px){.product-filter-grid,.product-detail-grid{grid-template-columns:1fr}.product-detail-grid>div:last-child{grid-column:auto}.product-search-field{grid-column:auto}.product-table tbody td{grid-template-columns:1fr;gap:3px}.product-table tbody td:before,.product-table tbody td>small{grid-column:1;grid-row:auto}.product-result-bar,.product-pagination{align-items:stretch;flex-direction:column;text-align:center}.product-pagination .btn{width:100%}.product-modal-head,.product-modal-body{padding-right:14px;padding-left:14px}}.block-icon-transfer{display:grid;width:46px;height:46px;place-items:center;border:1px solid #b9ddcf;border-radius:14px;color:var(--accent-dark);background:var(--accent-soft)}.block-icon-transfer svg,.transfer-source-note svg{width:26px;height:26px;fill:none;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:1.8}.transfer-page{display:grid;gap:16px;min-width:0}.transfer-page .form-error{margin:0}.transfer-page-head{align-items:flex-end;margin:0}.transfer-page-head>div:first-child{min-width:0}.transfer-sync-state{display:flex;align-items:center;gap:8px;min-height:44px;padding:10px 13px;border:1px solid var(--border);border-radius:var(--radius-sm);color:var(--text-dim);background:var(--surface);font-size:12px;white-space:nowrap}.transfer-live-dot{width:8px;height:8px;border-radius:50%;background:var(--accent);box-shadow:0 0 0 4px var(--accent-soft)}.transfer-source-note{display:flex;align-items:center;gap:12px;padding:12px 14px;border:1px solid #b9ddcf;border-radius:var(--radius-sm);color:var(--text-dim);background:var(--accent-soft);font-size:12px;line-height:1.5}.transfer-source-note svg{flex:0 0 auto;color:var(--accent-dark)}.transfer-filter-card{display:grid;grid-template-columns:repeat(2,minmax(170px,.72fr)) repeat(2,minmax(180px,.9fr)) minmax(220px,1.15fr) auto;align-items:end;gap:10px;padding:14px;border:1px solid var(--border);border-radius:var(--radius);background:var(--surface);box-shadow:var(--shadow-sm)}.transfer-filter-card label{display:grid;gap:6px;min-width:0}.transfer-filter-card label>span{color:var(--text-dim);font-size:11px;font-weight:700}.transfer-filter-card input,.transfer-filter-card select{width:100%;min-width:0;min-height:44px}.transfer-filter-card input[type=date]{min-width:170px;font-variant-numeric:tabular-nums}.transfer-filter-card .btn{min-height:44px;white-space:nowrap}.transfer-kpi-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.transfer-kpi-grid>div{display:grid;gap:5px;min-width:0;padding:15px 17px;border:1px solid var(--border);border-radius:var(--radius);background:var(--surface);box-shadow:var(--shadow-sm)}.transfer-kpi-grid span{color:var(--text-dim);font-size:11px;font-weight:650}.transfer-kpi-grid strong{color:var(--text);font-size:clamp(22px,2.3vw,30px);line-height:1.1;font-variant-numeric:tabular-nums}.transfer-object-section,.transfer-cost-section,.transfer-table-section{min-width:0;padding:16px;border:1px solid var(--border);border-radius:var(--radius);background:var(--surface);box-shadow:var(--shadow-sm)}.transfer-cost-section{min-width:0;padding:18px;border:1px solid #b9ddcf;border-radius:var(--radius);background:linear-gradient(180deg,#fbfffd 0,var(--surface) 150px);box-shadow:var(--shadow-sm)}.transfer-cost-heading{align-items:flex-end}.transfer-cost-heading>div{min-width:0}.transfer-cost-heading .eyebrow{margin-bottom:5px}.transfer-cost-heading p:last-child{max-width:790px;line-height:1.5}.transfer-cost-coverage{display:inline-flex;flex:0 0 auto;align-items:center;min-height:34px;padding:6px 11px;border:1px solid #9ed6c1;border-radius:999px;color:var(--accent-dark);background:var(--accent-soft);font-size:11px;font-weight:800;white-space:nowrap}.transfer-cost-coverage.has-missing{border-color:#ebc67e;color:#875100;background:#fff8e8}.transfer-daily-cost-list{overflow:hidden;border:1px solid #cfe3db;border-radius:var(--radius-sm);background:var(--surface)}.transfer-daily-cost-header,.transfer-daily-cost-trigger,.transfer-daily-cost-total{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:18px}.transfer-daily-cost-header{min-height:34px;padding:7px 14px;border-bottom:1px solid var(--border);color:var(--text-dim);background:var(--surface-2);font-size:10px;font-weight:800;text-transform:uppercase;letter-spacing:.06em}.transfer-daily-cost-header span:last-child{text-align:right}.transfer-daily-cost-trigger{width:100%;min-height:64px;padding:10px 14px;border:0;border-bottom:1px solid var(--border);color:var(--text);font:inherit;text-align:left;background:var(--surface);cursor:pointer;transition:background .16s ease,box-shadow .16s ease}.transfer-daily-cost-trigger:hover{background:#f5fbf8}.transfer-daily-cost-trigger.active{position:relative;z-index:1;background:var(--accent-soft);box-shadow:inset 3px 0 0 var(--accent)}.transfer-daily-cost-trigger:focus-visible{position:relative;z-index:2;outline:3px solid var(--accent-ring);outline-offset:-3px}.transfer-daily-cost-trigger>span{display:grid;gap:4px;min-width:0}.transfer-daily-cost-trigger>span:first-child strong{font-size:14px}.transfer-daily-cost-trigger small{overflow:hidden;color:var(--text-dim);font-size:10px;text-overflow:ellipsis;white-space:nowrap}.transfer-daily-cost-trigger>span:last-child{grid-template-columns:auto 24px;align-items:center;gap:10px;color:var(--accent-dark);text-align:right}.transfer-daily-cost-trigger>span:last-child>strong{min-width:112px;font-size:17px;font-variant-numeric:tabular-nums}.transfer-daily-cost-trigger[aria-expanded=true] .transfer-cost-chevron{transform:rotate(180deg)}.transfer-daily-cost-panel{padding:12px;border-bottom:1px solid #b9ddcf;background:#f8fcfa}.transfer-daily-cost-panel .transfer-table-wrap{background:var(--surface)}.transfer-daily-cost-total{min-height:62px;padding:11px 14px;color:var(--accent-dark);background:#e6f6ef;font-weight:850}.transfer-daily-cost-total span{font-size:11px}.transfer-daily-cost-total strong{font-size:20px;font-variant-numeric:tabular-nums}.transfer-cost-day-bar{display:grid;grid-template-columns:minmax(180px,1fr) minmax(180px,220px) auto auto minmax(170px,auto);align-items:end;gap:10px;margin-bottom:10px;padding:10px;border:1px solid #cfe3db;border-radius:var(--radius-sm);background:#f1faf6bf}.transfer-cost-day-copy,.transfer-cost-day-bar label,.transfer-cost-day-total{display:grid;gap:3px;min-width:0}.transfer-cost-day-copy span,.transfer-cost-day-bar label>span,.transfer-cost-day-total span{color:var(--text-dim);font-size:10px;font-weight:750}.transfer-cost-day-copy strong{overflow:hidden;color:var(--text);font-size:13px;text-overflow:ellipsis;white-space:nowrap}.transfer-cost-day-copy small{color:var(--text-dim);font-size:10px}.transfer-cost-day-bar input{width:100%;min-height:38px;padding:7px 10px;border:1px solid var(--border-strong);border-radius:9px;color:var(--text);font:inherit;font-size:12px;background:var(--surface)}.transfer-cost-day-bar input:focus-visible{border-color:var(--accent);outline:3px solid var(--accent-ring);outline-offset:1px}.transfer-cost-day-bar input:disabled,.transfer-cost-day-bar button:disabled{cursor:wait;opacity:.6}.transfer-cost-day-total{justify-items:end;min-height:50px;align-content:center;padding:7px 10px;border:1px solid #9ed6c1;border-radius:9px;background:var(--surface);text-align:right}.transfer-cost-day-total strong{color:var(--accent-dark);font-size:18px;font-variant-numeric:tabular-nums}.transfer-cost-error{margin-bottom:10px}.transfer-cost-kpis{display:grid;grid-template-columns:minmax(210px,1.4fr) repeat(4,minmax(130px,1fr));gap:8px;margin-bottom:14px}.transfer-cost-kpis>div{display:grid;align-content:center;gap:3px;min-width:0;min-height:96px;padding:13px 14px;border:1px solid var(--border);border-radius:var(--radius-sm);background:#ffffffe6}.transfer-cost-kpis span,.transfer-cost-kpis small{overflow:hidden;color:var(--text-dim);font-size:10px;text-overflow:ellipsis;white-space:nowrap}.transfer-cost-kpis span{font-weight:750}.transfer-cost-kpis strong{color:var(--text);font-size:23px;line-height:1.2;font-variant-numeric:tabular-nums}.transfer-cost-kpis .transfer-cost-total{border-color:#9ed6c1;background:var(--accent-soft)}.transfer-cost-kpis .transfer-cost-total strong{color:var(--accent-dark);font-size:clamp(21px,2vw,28px)}.transfer-cost-kpis .is-missing{border-color:#ebc67e;background:#fff8e8}.transfer-cost-kpis .is-missing strong,.transfer-cost-kpis .is-missing span{color:#875100}.transfer-cost-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:10px}.transfer-cost-toolbar>small{color:var(--text-dim);font-size:10px}.transfer-cost-tabs{display:inline-flex;gap:4px;padding:3px;border:1px solid var(--border);border-radius:10px;background:var(--surface-2)}.transfer-cost-tabs button{display:inline-flex;align-items:center;gap:7px;min-height:34px;padding:5px 10px;border:0;border-radius:7px;color:var(--text-dim);font:inherit;font-size:11px;font-weight:750;background:transparent;cursor:pointer}.transfer-cost-tabs button:hover,.transfer-cost-tabs button.active{color:var(--text);background:var(--surface);box-shadow:var(--shadow-sm)}.transfer-cost-tabs button:focus-visible{outline:3px solid var(--accent-ring);outline-offset:1px}.transfer-cost-tabs button span{min-width:23px;padding:2px 6px;border-radius:999px;color:var(--text-dim);background:#e9eeeb;font-size:9px;text-align:center;font-variant-numeric:tabular-nums}.transfer-cost-table{min-width:880px}.transfer-cost-table th:nth-child(1){width:30%}.transfer-cost-table th:nth-child(2){width:14%}.transfer-cost-table th:nth-child(3){width:14%}.transfer-cost-table th:nth-child(4){width:29%}.transfer-cost-table th:nth-child(5){width:13%}.transfer-cost-table-total td{border-top:2px solid #9ed6c1;color:var(--accent-dark);background:var(--accent-soft);font-weight:850}.transfer-cost-product-button{display:flex;width:100%;min-height:44px;align-items:center;justify-content:space-between;gap:10px;margin:-7px -8px;padding:7px 8px;border:0;border-radius:8px;color:inherit;font:inherit;text-align:left;background:transparent;cursor:pointer}.transfer-cost-product-button:hover{color:var(--accent-dark);background:var(--accent-soft)}.transfer-cost-product-button:focus-visible{outline:3px solid var(--accent-ring);outline-offset:1px}.transfer-cost-product-button>span:first-child{min-width:0}.transfer-cost-chevron{flex:0 0 auto;color:var(--accent-dark);font-size:20px;font-weight:800;line-height:1;transition:transform var(--speed) ease}.transfer-cost-product-button[aria-expanded=true] .transfer-cost-chevron{transform:rotate(180deg)}.transfer-cost-row-expanded>td{border-bottom-color:#b9ddcf;background:#fbfffd!important}.transfer-calculation-row>td{padding:0!important;border-bottom:1px solid #9ed6c1!important;background:#f6fbf8!important}.transfer-calculation-panel{padding:16px;border-top:1px solid #d5ebe2}.transfer-calculation-head{display:flex;align-items:flex-end;justify-content:space-between;gap:18px;margin-bottom:12px}.transfer-calculation-head h4,.transfer-calculation-head p{margin:0}.transfer-calculation-head h4{color:var(--text);font-size:15px}.transfer-calculation-head>div:first-child>p:last-child{margin-top:4px;color:var(--text-dim);font-size:10px}.transfer-calculation-head>div:last-child{display:grid;flex:0 0 auto;gap:2px;min-width:190px;padding:10px 12px;border:1px solid #9ed6c1;border-radius:10px;color:var(--accent-dark);text-align:right;background:var(--accent-soft)}.transfer-calculation-head>div:last-child.has-missing{border-color:#ebc67e;color:#875100;background:#fff8e8}.transfer-calculation-head span,.transfer-calculation-head small{font-size:9px}.transfer-calculation-head strong{font-size:19px;font-variant-numeric:tabular-nums}.transfer-calculation-warning{margin-bottom:10px;padding:9px 11px;border:1px solid #ebc67e;border-radius:9px;color:#875100;background:#fff8e8;font-size:11px;line-height:1.45}.transfer-calculation-table-wrap{overflow-x:auto;border:1px solid var(--border);border-radius:10px;background:var(--surface)}.transfer-calculation-table{width:100%;min-width:760px;border-collapse:collapse}.transfer-calculation-table th,.transfer-calculation-table td{padding:9px 10px;border-bottom:1px solid var(--border);color:var(--text);font-size:11px;text-align:left}.transfer-calculation-table th{color:var(--text-dim);background:var(--surface-2);font-size:9px;font-weight:800;letter-spacing:.035em;text-transform:uppercase;white-space:nowrap}.transfer-calculation-table .num{text-align:right;font-variant-numeric:tabular-nums;white-space:nowrap}.transfer-calculation-table tbody tr:last-child td{border-bottom:1px solid var(--border)}.transfer-calculation-table tbody tr.is-missing td{color:#875100;background:#fffaf0}.transfer-calculation-table tfoot td{border-bottom:0;color:var(--accent-dark);background:var(--accent-soft);font-weight:850}.transfer-calculation-source{display:inline-flex;min-height:23px;align-items:center;padding:3px 7px;border:1px solid #bfd0de;border-radius:999px;color:#385b74;background:#f1f6fa;font-size:9px;font-weight:800;white-space:nowrap}.transfer-calculation-source.missing{border-color:#ebc67e;color:#875100;background:#fff8e8}.transfer-calculation-source.recipe{border-color:#aebde6;color:#345497;background:#eef2ff}.nested-recipe-ingredient-button{display:flex;width:100%;min-height:40px;align-items:center;justify-content:space-between;gap:8px;margin:-6px;padding:6px;border:0;border-radius:7px;color:inherit;background:transparent;font:inherit;text-align:left;cursor:pointer}.nested-recipe-ingredient-button.is-lunch{min-height:44px;margin:-8px;padding:8px}.nested-recipe-ingredient-button:hover,.nested-recipe-ingredient-button[aria-expanded=true]{color:var(--accent-dark);background:var(--accent-soft)}.nested-recipe-ingredient-button:focus-visible{outline:3px solid var(--accent-ring);outline-offset:1px}.nested-recipe-ingredient-button>span:first-child{display:grid;min-width:0;gap:2px}.nested-recipe-ingredient-button>span:last-child{flex:0 0 auto;color:var(--accent-dark);font-size:18px;font-weight:900;transition:transform var(--speed) ease}.nested-recipe-ingredient-button[aria-expanded=true]>span:last-child{transform:rotate(180deg)}@media(prefers-reduced-motion:reduce){.nested-recipe-ingredient-button>span:last-child{transition:none}}.nested-recipe-row-open>td{border-bottom-color:#b9ddcf!important;background:#fbfffd!important}.nested-recipe-line-cost>span,.nested-recipe-line-cost>strong{display:block}.nested-recipe-line-cost>span{color:var(--text-dim);font-size:8px}.nested-recipe-detail-row>td{padding:0!important;border-bottom:1px solid #9ed6c1!important;background:#f4faf7!important}.nested-recipe-panel{display:grid;gap:9px;margin:8px;padding:10px;border:1px solid #aed8c8;border-left:4px solid var(--accent);border-radius:9px;background:var(--surface);box-shadow:0 3px 10px #1f2e270d}.nested-recipe-head,.nested-purchase-head{display:flex;align-items:stretch;justify-content:space-between;gap:9px}.nested-purchase-head>span{display:grid;align-content:center;gap:3px;min-width:0;padding:8px 10px;border-radius:8px;background:var(--surface-2)}.nested-purchase-head>span:first-child{flex:1 1 auto}.nested-purchase-head>span:last-child{flex:0 0 180px;color:var(--accent-dark);text-align:right;background:var(--accent-soft)}.nested-purchase-head small,.nested-purchase-head em{overflow-wrap:anywhere;color:var(--text-dim);font-size:8px;font-style:normal}.nested-purchase-head strong{overflow-wrap:anywhere;color:var(--text);font-size:11px}.nested-purchase-head>span:last-child strong{color:var(--accent-dark);font-size:12px;font-variant-numeric:tabular-nums}.nested-recipe-head>span{display:grid;align-content:center;gap:3px;min-width:0;padding:8px 10px;border-radius:8px;background:var(--surface-2)}.nested-recipe-head>span:first-child{flex:1 1 auto}.nested-recipe-head>span:last-child{flex:0 0 180px;color:var(--accent-dark);text-align:right;background:var(--accent-soft)}.nested-recipe-head small,.nested-recipe-head em{overflow-wrap:anywhere;color:var(--text-dim);font-size:8px;font-style:normal}.nested-recipe-head strong{overflow-wrap:anywhere;color:var(--text);font-size:11px}.nested-recipe-head>span:last-child strong{color:var(--accent-dark);font-size:14px;font-variant-numeric:tabular-nums}.nested-recipe-warning{padding:7px 9px;border:1px solid #ebc67e;border-radius:7px;color:#875100;background:#fff8e8;font-size:9px}.nested-recipe-state{min-height:52px;display:grid;place-items:center;color:var(--text-dim);font-size:9px}.nested-recipe-table-wrap{overflow-x:auto;border:1px solid var(--border);border-radius:8px}.nested-recipe-table{width:100%;min-width:700px;border-collapse:collapse;background:var(--surface)}.nested-recipe-table.is-lunch{min-width:760px}.nested-purchase-table{min-width:700px}.nested-purchase-table td:first-child{min-width:110px;white-space:nowrap;font-variant-numeric:tabular-nums}.lunch-ingredient-table td:first-child>strong,.lunch-ingredient-table td:first-child>small{display:block}.lunch-ingredient-table td:first-child>small{margin-top:2px;color:var(--text-dim);font-size:8px}.nested-recipe-table th,.nested-recipe-table td{padding:8px 9px;border-bottom:1px solid var(--border);color:var(--text);font-size:9px;text-align:left;vertical-align:middle}.nested-recipe-table th{color:var(--text-dim);background:var(--surface-2);font-size:8px;font-weight:850}.nested-recipe-table td:first-child{min-width:210px}.nested-recipe-table td:first-child>strong,.nested-recipe-table td:first-child>small{display:block}.nested-recipe-table td:first-child>small{margin-top:2px;color:var(--text-dim);font-size:8px}.nested-recipe-table .num{text-align:right;white-space:nowrap;font-variant-numeric:tabular-nums}.nested-recipe-table tfoot td{border-bottom:0;color:var(--accent-dark);background:var(--accent-soft);font-weight:850}@media(max-width:700px){.nested-recipe-head,.nested-purchase-head{flex-direction:column}.nested-recipe-head>span:last-child,.nested-purchase-head>span:last-child{flex-basis:auto;text-align:left}}.transfer-calculation-loading,.transfer-calculation-empty{min-height:76px;padding:24px;border:1px dashed #9ed6c1;border-radius:10px;color:var(--text-dim);background:var(--surface);font-size:11px;text-align:center}.transfer-cost-method{display:inline-flex;align-items:center;min-height:24px;padding:3px 7px;border:1px solid #b9ddcf;border-radius:999px;color:var(--accent-dark);background:var(--accent-soft);font-size:10px;font-weight:800;white-space:nowrap}.transfer-cost-method.purchase_median_3m,.transfer-cost-method.purchase_last{border-color:#bfd0de;color:#385b74;background:#f1f6fa}.transfer-cost-method.missing{border-color:#ebc67e;color:#875100;background:#fff8e8}.transfer-cost-reason{color:#875100!important;line-height:1.45}.transfer-cost-value{color:var(--accent-dark)!important;font-weight:850;font-variant-numeric:tabular-nums;white-space:nowrap}.transfer-cost-empty{padding:26px 16px;border:1px dashed #9ed6c1;border-radius:var(--radius-sm);color:var(--accent-dark);background:var(--accent-soft);font-size:12px;text-align:center}.transfer-cost-empty.is-warning,.transfer-cost-link-warning{border-color:#ebc67e;color:#875100;background:#fff8e8}.transfer-cost-link-warning{margin-bottom:10px;padding:10px 12px;border:1px solid #ebc67e;border-radius:var(--radius-sm);font-size:11px;font-weight:700;line-height:1.5}.transfer-table-section{scroll-margin-top:80px}.transfer-section-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:13px}.transfer-section-heading h3,.transfer-section-heading p{margin:0}.transfer-section-heading h3{color:var(--text);font-size:15px}.transfer-section-heading p{margin-top:3px;color:var(--text-dim);font-size:11px}.transfer-object-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(210px,1fr));gap:8px}.transfer-object-card{display:grid;gap:4px;min-height:104px;padding:13px 14px;border:1px solid var(--border);border-radius:var(--radius-sm);color:var(--text);text-align:left;background:var(--surface-2);cursor:pointer;transition:border-color var(--speed) ease,background var(--speed) ease,box-shadow var(--speed) ease}.transfer-object-card:hover,.transfer-object-card.active{border-color:#93cfba;background:var(--accent-soft);box-shadow:0 0 0 3px var(--accent-ring)}.transfer-object-card:focus-visible{outline:3px solid var(--accent-ring);outline-offset:2px}.transfer-object-card span{overflow:hidden;color:var(--text-dim);font-size:12px;font-weight:700;text-overflow:ellipsis;white-space:nowrap}.transfer-object-card strong{align-self:end;font-size:17px}.transfer-object-card small{color:var(--text-dim);font-size:10px;line-height:1.4}.transfer-table-wrap{width:100%;overflow-x:auto;border:1px solid var(--border);border-radius:var(--radius-sm)}.transfer-table{width:100%;min-width:1040px;border-collapse:collapse}.transfer-table th,.transfer-table td{padding:11px 12px;border-bottom:1px solid var(--border);color:var(--text);font-size:12px;text-align:left;vertical-align:middle}.transfer-table th{color:var(--text-dim);background:var(--surface-2);font-size:10px;font-weight:800;letter-spacing:.035em;text-transform:uppercase;white-space:nowrap}.transfer-table tbody tr:last-child td{border-bottom:0}.transfer-table tbody tr:hover td{background:#fbfdfc}.transfer-table td strong,.transfer-table td small{display:block}.transfer-table td small{margin-top:3px;color:var(--text-dim);font-size:10px}.transfer-table .num{text-align:right}.transfer-destination{display:inline-flex;min-height:28px;align-items:center;padding:4px 8px;border:1px solid #b9ddcf;border-radius:999px;color:var(--accent-dark);background:var(--accent-soft);font-weight:750;white-space:nowrap}.transfer-quantity{font-weight:800;font-variant-numeric:tabular-nums;white-space:nowrap}.transfer-note{max-width:220px;color:var(--text-dim)!important;line-height:1.4}.transfer-pagination{display:flex;align-items:center;justify-content:center;gap:12px;margin-top:14px}.transfer-pagination span{color:var(--text-dim);font-size:11px;font-variant-numeric:tabular-nums}.transfer-loading-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.transfer-loading-grid>div{min-height:94px;border:1px solid var(--border);border-radius:var(--radius);background:linear-gradient(100deg,var(--surface-2) 30%,var(--surface) 50%,var(--surface-2) 70%);background-size:200% 100%;animation:transfer-shimmer 1.4s ease-in-out infinite}@keyframes transfer-shimmer{to{background-position-x:-200%}}@media(max-width:1280px){.transfer-filter-card{grid-template-columns:repeat(4,minmax(150px,1fr))}.transfer-search-field{grid-column:span 3}.transfer-cost-kpis{grid-template-columns:repeat(3,minmax(0,1fr))}.transfer-cost-kpis .transfer-cost-total{grid-column:span 2}.transfer-cost-day-bar{grid-template-columns:minmax(180px,1fr) minmax(180px,1fr) auto auto}.transfer-cost-day-total{grid-column:1 / -1;grid-template-columns:1fr auto;justify-items:initial;align-items:center;text-align:left}}@media(max-width:760px){.transfer-page-head,.transfer-section-heading{align-items:stretch;flex-direction:column}.transfer-sync-state{width:fit-content;white-space:normal}.transfer-filter-card{grid-template-columns:repeat(2,minmax(0,1fr))}.transfer-search-field{grid-column:1 / -1}.transfer-filter-card>.btn{grid-column:1 / -1}.transfer-kpi-grid,.transfer-loading-grid,.transfer-cost-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}.transfer-cost-kpis .transfer-cost-total{grid-column:1 / -1}.transfer-cost-toolbar{align-items:flex-start;flex-direction:column}.transfer-cost-day-bar{grid-template-columns:1fr 1fr;align-items:end}.transfer-cost-day-total{grid-column:1 / -1}.transfer-calculation-head{align-items:stretch;flex-direction:column}.transfer-calculation-head>div:last-child{width:100%;text-align:left}}@media(max-width:480px){.transfer-filter-card,.transfer-kpi-grid,.transfer-cost-kpis,.transfer-loading-grid{grid-template-columns:1fr}.transfer-filter-card>*,.transfer-search-field{grid-column:1}.transfer-object-grid{grid-template-columns:1fr}.transfer-object-section,.transfer-cost-section,.transfer-table-section{padding:12px}.transfer-cost-kpis .transfer-cost-total{grid-column:1}.transfer-cost-tabs{display:grid;width:100%;grid-template-columns:1fr 1fr}.transfer-cost-tabs button{justify-content:center}.transfer-cost-day-bar{grid-template-columns:1fr}.transfer-cost-day-total{grid-column:1}.transfer-daily-cost-header,.transfer-daily-cost-trigger,.transfer-daily-cost-total{gap:10px;padding-right:10px;padding-left:10px}.transfer-daily-cost-trigger>span:last-child>strong{min-width:0;font-size:14px}.transfer-daily-cost-trigger small{white-space:normal}.transfer-daily-cost-panel{padding:8px}}@media(prefers-reduced-motion:reduce){.transfer-object-card,.transfer-loading-grid>div,.transfer-cost-chevron,.transfer-daily-cost-trigger{animation:none;transition:none}}.block-icon-margin{display:grid;width:46px;height:46px;place-items:center;border:1px solid #b7d2c8;border-radius:14px;color:#0a674c;background:linear-gradient(145deg,#e7f7f0,#f5fbf8)}.block-icon-margin svg{width:27px;height:27px;fill:none;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:1.8}.margin-page{display:grid;gap:14px;min-width:0}.margin-page-head{align-items:flex-end;margin:0}.margin-live-note{display:inline-flex;align-items:center;gap:8px;min-height:40px;padding:8px 12px;border:1px solid #b9ddcf;border-radius:999px;color:var(--accent-dark);background:var(--accent-soft);font-size:11px;font-weight:750;white-space:nowrap}.margin-live-note>span{width:7px;height:7px;border-radius:50%;background:var(--accent);box-shadow:0 0 0 4px #008f601a}.margin-filter-card{display:grid;grid-template-columns:repeat(3,minmax(170px,240px)) auto;align-items:end;gap:10px;padding:13px;border:1px solid var(--border);border-radius:var(--radius);background:var(--surface);box-shadow:var(--shadow-sm)}.margin-filter-card label{display:grid;gap:6px}.margin-filter-card label>span{color:var(--text-dim);font-size:10px;font-weight:750}.margin-filter-card input,.margin-filter-card select{width:100%;min-height:42px;font-variant-numeric:tabular-nums}.margin-filter-card .btn{min-height:42px;white-space:nowrap}.margin-presets{display:flex;align-items:center;gap:6px;margin-top:-4px}.margin-presets>span{margin-right:3px;color:var(--text-dim);font-size:10px;font-weight:750}.margin-presets button{min-height:30px;padding:4px 9px;border:1px solid var(--border);border-radius:999px;color:var(--text-dim);font:inherit;font-size:10px;font-weight:750;background:var(--surface);cursor:pointer}.margin-presets button:hover{border-color:#9ed6c1;color:var(--accent-dark);background:var(--accent-soft)}.margin-presets button:focus-visible,.margin-object-trigger:focus-visible{outline:3px solid var(--accent-ring);outline-offset:2px}.margin-presets button:disabled{cursor:wait;opacity:.55}.margin-price-card{border:1px solid #b9ddcf;border-radius:var(--radius);background:#f7fbf9;box-shadow:var(--shadow-sm);overflow:hidden}.margin-price-head{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:48px;padding:10px 13px;cursor:pointer;list-style:none;transition:background-color .16s ease}.margin-price-head::-webkit-details-marker{display:none}.margin-price-head:hover{background:#edf8f3}.margin-price-head:focus-visible{outline:3px solid var(--accent-ring);outline-offset:-3px}.margin-price-card[open] .margin-price-head{border-bottom:1px solid #d5e9e1}.margin-price-head>span{display:grid;gap:2px}.margin-price-head strong{font-size:13px}.margin-price-head small{color:var(--text-dim);font-size:9px}.margin-price-chevron{display:block!important;flex:0 0 auto;color:var(--accent-dark);font-size:20px;line-height:1;transform:rotate(0);transition:transform .18s ease}.margin-price-card[open] .margin-price-chevron{transform:rotate(180deg)}.margin-price-content{display:grid;gap:11px;padding:13px}.margin-price-actions{display:flex;justify-content:flex-end}.margin-price-actions .btn{min-height:36px}.margin-price-grid{display:grid;grid-template-columns:repeat(4,minmax(145px,1fr));gap:8px}.margin-price-grid>label{display:grid;gap:5px;min-width:0}.margin-price-grid>label>span:first-child{overflow:hidden;color:var(--text-dim);font-size:10px;font-weight:800;text-overflow:ellipsis;white-space:nowrap}.margin-price-input{position:relative;display:block}.margin-price-input input{width:100%;min-height:40px;padding-right:30px;font-weight:800;font-variant-numeric:tabular-nums}.margin-price-input b{position:absolute;top:50%;right:11px;color:var(--text-dim);font-size:12px;transform:translateY(-50%);pointer-events:none}.margin-price-success{margin:0;color:var(--accent-dark);font-size:10px;font-weight:800}.margin-pending-toggle{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:11px;min-height:58px;padding:10px 13px;border:1px solid var(--border);border-radius:var(--radius-sm);color:var(--text);background:var(--surface);box-shadow:var(--shadow-sm);cursor:pointer;transition:border-color .16s ease,background-color .16s ease,box-shadow .16s ease}.margin-pending-toggle:hover{border-color:#d8b669;background:#fffcf4}.margin-pending-toggle.active{border-color:#e4bf70;background:#fff9ea}.margin-pending-toggle:focus-within{outline:3px solid var(--accent-ring);outline-offset:2px}.margin-pending-toggle>input{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);clip-path:inset(50%);white-space:nowrap}.margin-pending-switch{display:flex;width:42px;height:24px;align-items:center;padding:3px;border-radius:999px;background:#c5ccc9;transition:background-color .16s ease}.margin-pending-switch>span{width:18px;height:18px;border-radius:50%;background:#fff;box-shadow:0 1px 4px #0c261d38;transition:transform .16s ease}.margin-pending-toggle.active .margin-pending-switch{background:#b47b08}.margin-pending-toggle.active .margin-pending-switch>span{transform:translate(18px)}.margin-pending-copy{display:grid;gap:2px;min-width:0}.margin-pending-copy strong{font-size:11px}.margin-pending-copy small{overflow:hidden;color:var(--text-dim);font-size:10px;text-overflow:ellipsis;white-space:nowrap}.margin-pending-state{padding:5px 9px;border-radius:999px;color:var(--text-dim);background:var(--surface-2);font-size:9px;font-weight:850;white-space:nowrap}.margin-pending-toggle.active .margin-pending-state{color:#744900;background:#f7e4b8}.margin-summary,.margin-loading{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:9px}.margin-summary>div,.margin-loading>div{min-height:112px;border:1px solid var(--border);border-radius:var(--radius);background:var(--surface);box-shadow:var(--shadow-sm)}.margin-summary>div{display:grid;align-content:center;gap:5px;min-width:0;padding:15px 16px}.margin-summary span,.margin-summary small{overflow:hidden;color:var(--text-dim);font-size:10px;text-overflow:ellipsis;white-space:nowrap}.margin-summary span{font-weight:800}.margin-summary strong{color:var(--text);font-size:clamp(20px,2vw,27px);line-height:1.15;font-variant-numeric:tabular-nums}.margin-summary-result.positive{border-color:#9ed6c1;background:var(--accent-soft)}.margin-summary-result.positive strong{color:var(--accent-dark)}.margin-summary-result.negative{border-color:#efb8b8;background:#fff2f2}.margin-summary-result.negative strong{color:#a02727}.margin-summary .pending{border-color:#ebc67e;background:#fff8e8}.margin-summary .pending strong{color:#875100}.margin-summary .pending small{overflow:visible;line-height:1.35;text-overflow:clip;white-space:normal}.margin-loading>div{background:linear-gradient(100deg,var(--surface-2) 30%,var(--surface) 50%,var(--surface-2) 70%);background-size:200% 100%;animation:transfer-shimmer 1.4s ease-in-out infinite}.margin-formula-note{padding:10px 13px;border:1px solid #cfe3db;border-radius:var(--radius-sm);color:var(--text-dim);background:#f5fbf8;font-size:11px;line-height:1.5}.margin-formula-note strong{color:var(--text)}.margin-object-list{overflow:hidden;border:1px solid var(--border);border-radius:var(--radius);background:var(--surface);box-shadow:var(--shadow-sm)}.margin-object-row{display:grid;grid-template-columns:56px minmax(0,1fr);border-bottom:1px solid var(--border);background:var(--surface);transition:background-color .16s ease,box-shadow .16s ease}.margin-object-row.selected{background:#fbfefd}.margin-object-row.active{box-shadow:inset 3px 0 0 var(--accent)}.margin-object-select{display:grid;min-height:86px;place-items:center;border-right:1px solid var(--border);cursor:pointer}.margin-object-select:hover{background:var(--accent-soft)}.margin-object-select input{position:absolute;width:1px;height:1px;margin:0;overflow:hidden;clip:rect(0 0 0 0);clip-path:inset(50%);opacity:0;white-space:nowrap;cursor:pointer}.margin-object-checkbox{display:grid;width:22px;height:22px;place-items:center;border:2px solid #8ca49a;border-radius:3px;background:var(--surface);box-shadow:0 1px 2px #153a2d14;transition:border-color .16s ease,background-color .16s ease,box-shadow .16s ease}.margin-object-checkbox:after{width:6px;height:11px;border:solid #fff;border-width:0 2px 2px 0;content:"";opacity:0;transform:translateY(-1px) rotate(45deg)}.margin-object-select input:checked+.margin-object-checkbox{border-color:var(--accent);background:var(--accent)}.margin-object-select input:checked+.margin-object-checkbox:after{opacity:1}.margin-object-select input:focus-visible+.margin-object-checkbox{outline:3px solid var(--accent-ring);outline-offset:3px}.margin-object-select:hover .margin-object-checkbox{border-color:var(--accent)}.margin-object-trigger{display:grid;width:100%;min-height:86px;grid-template-columns:minmax(250px,1.5fr) repeat(3,minmax(125px,.72fr)) 24px;align-items:center;gap:15px;padding:12px 15px;border:0;border-bottom:0;color:var(--text);font:inherit;text-align:left;background:var(--surface);cursor:pointer;transition:background .16s ease,box-shadow .16s ease}.margin-object-trigger:hover,.margin-object-trigger.active{background:#f6fbf9}.margin-object-trigger.active{box-shadow:none}.margin-object-trigger>span:not(.margin-object-chevron){display:grid;gap:4px;min-width:0}.margin-object-trigger small{overflow:hidden;color:var(--text-dim);font-size:9px;font-weight:700;text-overflow:ellipsis;white-space:nowrap}.margin-object-trigger strong{font-size:14px;font-variant-numeric:tabular-nums}.margin-object-name strong{font-size:16px}.margin-object-result{padding:8px 10px;border-radius:10px;background:var(--surface-2)}.margin-object-trigger.positive .margin-object-result{color:var(--accent-dark);background:var(--accent-soft)}.margin-object-trigger.negative .margin-object-result{color:#a02727;background:#fff0f0}.margin-object-trigger.has-missing-plan .margin-object-result{color:#8a4b08;background:#fff4dc;box-shadow:inset 0 0 0 1px #e9c483}.margin-object-result em{color:inherit;font-size:10px;font-style:normal;font-weight:850}.margin-object-chevron{display:grid;width:24px;height:24px;place-items:center;color:var(--accent-dark);font-size:17px;transition:transform .16s ease}.margin-object-trigger[aria-expanded=true] .margin-object-chevron{transform:rotate(180deg)}.margin-object-panel{padding:13px;border-bottom:1px solid #b9ddcf;background:#f7fbf9}.margin-object-selection-total{display:grid;grid-template-columns:minmax(250px,1.5fr) repeat(3,minmax(125px,.72fr));align-items:center;gap:15px;min-height:108px;padding:14px 15px 14px 71px;border-top:2px solid #8fcdb5;background:#f0faf6}.margin-object-selection-total>span,.margin-object-selection-copy{display:grid;gap:4px;min-width:0}.margin-object-selection-total small,.margin-object-selection-copy>span{color:var(--text-dim);font-size:9px;font-weight:750}.margin-object-selection-total strong{font-size:15px;font-variant-numeric:tabular-nums}.margin-object-selection-copy>strong{color:var(--accent-dark);font-size:17px}.margin-object-selection-copy>div{display:flex;flex-wrap:wrap;gap:6px;margin-top:3px}.margin-object-selection-copy button{min-height:32px;padding:5px 9px;border:1px solid #9ed6c1;border-radius:8px;color:var(--accent-dark);font:inherit;font-size:9px;font-weight:800;background:var(--surface);cursor:pointer}.margin-object-selection-copy button:hover{background:var(--accent-soft)}.margin-object-selection-copy button:focus-visible{outline:3px solid var(--accent-ring);outline-offset:2px}.margin-object-selection-total .margin-object-result.positive{color:var(--accent-dark);background:#dcf6ea}.margin-object-selection-total .margin-object-result.negative{color:#a02727;background:#fff0f0}.margin-object-selection-total .margin-object-result em{color:inherit;font-size:10px;font-style:normal;font-weight:850}.margin-object-meta{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:7px;margin-bottom:10px}.margin-object-meta>span{display:grid;gap:3px;padding:9px 11px;border:1px solid var(--border);border-radius:9px;background:var(--surface)}.margin-object-meta small{color:var(--text-dim);font-size:9px;font-weight:750}.margin-object-meta strong{font-size:14px;font-variant-numeric:tabular-nums}.margin-detail-grid{display:grid;grid-template-columns:minmax(0,1fr);gap:10px}.margin-detail-grid.day-expanded{grid-template-columns:minmax(0,1fr)}.margin-detail-panel{min-width:0;padding:11px;border:1px solid var(--border);border-radius:10px;background:var(--surface)}.margin-detail-head{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:8px}.margin-detail-head h3{margin:0;font-size:13px}.margin-detail-head span{color:var(--text-dim);font-size:9px;font-weight:750}.margin-missing-plan-alert{display:flex;align-items:flex-start;gap:8px 12px;margin-bottom:8px;padding:9px 11px;border:1px solid #e4b56c;border-radius:8px;color:#754008;background:#fff8e8;font-size:9px;line-height:1.5}.margin-missing-plan-alert strong{flex:0 0 auto;font-size:10px}.margin-missing-plan-alert span{min-width:0;overflow-wrap:anywhere;font-weight:700}.margin-table-wrap{overflow-x:auto;border:1px solid var(--border);border-radius:8px}.margin-table{width:100%;min-width:620px;border-collapse:collapse;font-size:10px}.margin-table th,.margin-table td{padding:8px 9px;border-bottom:1px solid var(--border);text-align:left}.margin-table th{color:var(--text-dim);background:var(--surface-2);font-size:9px;font-weight:800}.margin-table td strong,.margin-table td small{display:block}.margin-table td small{margin-top:2px;color:var(--text-dim);font-size:8px}.margin-table .num{text-align:right;font-variant-numeric:tabular-nums}.margin-table .positive{color:var(--accent-dark);font-weight:850}.margin-table .negative{color:#a02727;font-weight:850}.margin-table tfoot td{border-bottom:0;color:var(--text);background:var(--accent-soft);font-weight:850}.margin-day-list-wrap{overflow-x:hidden;border:1px solid var(--border);border-radius:8px}.margin-day-list{width:100%;min-width:0;background:var(--surface)}.margin-day-header,.margin-day-row,.margin-day-total{display:grid;grid-template-columns:minmax(150px,1.35fr) minmax(190px,.9fr) repeat(3,minmax(82px,1fr)) 44px;align-items:center;gap:6px}.margin-day-header{min-height:34px;padding:7px 9px;border-bottom:1px solid var(--border);color:var(--text-dim);background:var(--surface-2);font-size:9px;font-weight:800}.margin-day-header span:not(:first-child),.margin-day-row .num,.margin-day-total .num{text-align:right}.margin-day-row{width:100%;min-height:54px;padding:7px 9px;border-bottom:1px solid var(--border);color:var(--text);font-size:10px;text-align:left;background:var(--surface);transition:background .16s ease,box-shadow .16s ease}.margin-day-row:hover{background:#f5fbf8}.margin-day-row.active{position:relative;z-index:1;background:var(--accent-soft);box-shadow:inset 3px 0 0 var(--accent)}.margin-day-row.missing-plan{background:#fffaf0;box-shadow:inset 3px 0 #d79632}.margin-day-row.missing-plan:hover,.margin-day-row.missing-plan.active{background:#fff4dc}.margin-day-row.missing-plan .margin-day-main>strong,.margin-day-row .missing-plan-value,.margin-day-total .missing-plan-value,.margin-object-selection-total .missing-plan-value{color:#8a4b08;font-weight:850}.margin-day-main:focus-visible,.margin-day-chevron-button:focus-visible,.margin-quantity-editor input:focus-visible,.margin-quantity-editor button:focus-visible{outline:3px solid var(--accent-ring);outline-offset:1px}.margin-day-main{display:block;min-height:44px;min-width:0;padding:4px 0;border:0;color:inherit;font:inherit;text-align:left;background:transparent;cursor:pointer}.margin-day-main strong,.margin-day-main small{display:block}.margin-day-main small{overflow:hidden;margin-top:2px;color:var(--text-dim);font-size:8px;text-overflow:ellipsis;white-space:nowrap}.margin-day-row .num,.margin-day-total .num{font-variant-numeric:tabular-nums}.margin-day-percent{display:block;margin-top:2px;font-size:9px;font-weight:850;line-height:1}.margin-day-mobile-label{display:none}.margin-quantity-editor{display:grid;gap:3px;min-width:0}.margin-daily-sales-source{display:grid;min-width:0;justify-items:end}.margin-daily-sales-source strong{color:var(--accent-dark);font-size:9px;line-height:1.35;text-align:right}.margin-quantity-editor>span{display:grid;grid-template-columns:minmax(62px,1fr) auto;gap:4px}.margin-quantity-editor input,.margin-quantity-editor button{min-height:38px;border-radius:7px;font:inherit}.margin-quantity-editor input{width:100%;min-width:0;padding:6px 8px;border:1px solid var(--border-strong);color:var(--text);background:var(--surface);font-size:11px;font-weight:850;font-variant-numeric:tabular-nums}.margin-quantity-editor input::placeholder{color:var(--text-dim)}.margin-quantity-editor button{padding:6px 8px;border:1px solid #9ed6c1;color:var(--accent-dark);background:var(--accent-soft);font-size:9px;font-weight:850;cursor:pointer}.margin-quantity-editor button:hover{border-color:var(--accent);background:#e0f4eb}.margin-quantity-editor button:disabled{cursor:wait;opacity:.6}.margin-quantity-editor.error input{border-color:#d86565}.margin-quantity-feedback{overflow:hidden;color:var(--accent-dark);font-size:8px;font-weight:800;text-overflow:ellipsis;white-space:nowrap}.margin-quantity-editor.error .margin-quantity-feedback{color:#a02727}.margin-day-row .positive,.margin-day-total .positive{color:var(--accent-dark);font-weight:850}.margin-day-row .negative,.margin-day-total .negative{color:#a02727;font-weight:850}.margin-day-chevron-button{display:grid;width:44px;height:44px;place-items:center;padding:0;border:0;border-radius:8px;color:var(--accent-dark);background:transparent;cursor:pointer}.margin-day-chevron-button:hover{background:#008f6014}.margin-day-chevron{color:var(--accent-dark);font-size:18px;font-weight:800;line-height:1;transition:transform .16s ease}.margin-day-row.active .margin-day-chevron{transform:rotate(180deg)}.margin-day-panel{padding:10px;border-bottom:1px solid #b9ddcf;background:#f8fcfa}.margin-day-total{min-height:40px;padding:8px 9px;color:var(--text);background:var(--accent-soft);font-size:10px;font-weight:850}.margin-invoice-list{display:grid;max-height:345px;overflow-y:auto;border:1px solid var(--border);border-radius:8px}.margin-invoice-list>div{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px;padding:9px 10px;border-bottom:1px solid var(--border)}.margin-invoice-list>div:last-child{border-bottom:0}.margin-invoice-list>div>span{display:grid;gap:3px;min-width:0}.margin-invoice-list>div>span:last-child{text-align:right}.margin-invoice-list strong{overflow:hidden;font-size:10px;text-overflow:ellipsis;white-space:nowrap;font-variant-numeric:tabular-nums}.margin-invoice-list small{color:var(--text-dim);font-size:8px}.margin-invoice-list small.pending{color:#875100;font-weight:800}.margin-invoice-list small.confirmed{color:var(--accent-dark);font-weight:800}.margin-invoice-list>p{margin:0;padding:22px 12px;color:var(--text-dim);font-size:10px;text-align:center}@media(max-width:1100px){.margin-summary{grid-template-columns:repeat(2,minmax(0,1fr))}.margin-object-trigger{grid-template-columns:minmax(220px,1.25fr) repeat(3,minmax(105px,.75fr)) 24px;gap:9px}.margin-object-selection-total{grid-template-columns:minmax(220px,1.25fr) repeat(3,minmax(105px,.75fr));gap:9px}.margin-detail-grid{grid-template-columns:1fr}.margin-object-meta{grid-template-columns:repeat(3,minmax(0,1fr))}.margin-price-grid{grid-template-columns:repeat(2,minmax(145px,1fr))}}@media(max-width:760px){.margin-page-head{align-items:stretch;flex-direction:column}.margin-live-note{width:fit-content}.margin-filter-card{grid-template-columns:repeat(2,minmax(0,1fr))}.margin-filter-card .btn{grid-column:1 / -1}.margin-object-trigger{grid-template-columns:repeat(3,minmax(0,1fr)) 24px}.margin-object-selection-total{grid-template-columns:repeat(3,minmax(0,1fr));padding-left:15px}.margin-object-selection-copy,.margin-object-name{grid-column:1 / -1}.margin-object-meta{grid-template-columns:repeat(2,minmax(0,1fr))}.margin-day-header,.margin-day-row,.margin-day-total{grid-template-columns:minmax(112px,1.15fr) minmax(170px,.9fr) repeat(3,minmax(66px,.8fr)) 44px;gap:4px}.margin-day-row,.margin-day-total{padding-right:6px;padding-left:6px}.margin-day-row .num,.margin-day-total .num{font-size:9px}}@media(max-width:480px){.margin-filter-card,.margin-summary,.margin-loading,.margin-object-meta{grid-template-columns:1fr}.margin-filter-card .btn{grid-column:1}.margin-presets{align-items:stretch;flex-wrap:wrap}.margin-presets>span{width:100%}.margin-price-actions .btn{width:100%}.margin-price-grid{grid-template-columns:1fr}.margin-pending-toggle{grid-template-columns:auto minmax(0,1fr)}.margin-pending-state{display:none}.margin-object-trigger{grid-template-columns:1fr 24px;gap:7px}.margin-object-row{grid-template-columns:48px minmax(0,1fr)}.margin-object-select{min-height:100%}.margin-object-selection-total{grid-template-columns:1fr;gap:9px;padding:13px}.margin-object-selection-copy{grid-column:1}.margin-object-name,.margin-object-trigger>span:not(.margin-object-chevron){grid-column:1}.margin-object-chevron{grid-column:2;grid-row:1}.margin-object-result{margin-top:3px}.margin-object-panel,.margin-detail-panel{padding:8px}.margin-missing-plan-alert{display:grid;gap:3px}.margin-day-header{display:none}.margin-day-row,.margin-day-total{position:relative;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px 12px;padding:10px}.margin-day-main,.margin-day-total>span:first-child{grid-column:1 / -1;padding-right:24px}.margin-day-row .num,.margin-day-total .num{display:grid;gap:2px;min-width:0;font-size:10px;text-align:left}.margin-day-mobile-label{display:block;color:var(--text-dim);font-size:8px;font-weight:750}.margin-day-chevron-button{position:absolute;top:4px;right:4px}.margin-day-total>span:last-child{display:none}}@media(prefers-reduced-motion:reduce){.margin-object-checkbox,.margin-object-trigger,.margin-day-row,.margin-day-chevron,.margin-object-chevron,.margin-loading>div{animation:none;transition:none}}.event-margin-trigger{border-bottom:0}.event-margin-panel{display:grid;gap:10px;border-top:1px solid var(--border)}.event-margin-state{min-height:90px;display:grid;place-items:center;color:var(--text-dim);font-size:11px;font-weight:750}.event-margin-day-list{overflow:hidden;border:1px solid var(--border);border-radius:8px;background:var(--surface)}.event-margin-day-head,.event-margin-day-trigger{display:grid;grid-template-columns:minmax(175px,1.45fr) minmax(62px,.52fr) repeat(3,minmax(100px,.8fr)) 20px;align-items:center;gap:8px}.event-margin-day-head{min-height:34px;padding:7px 10px;border-bottom:1px solid var(--border);color:var(--text-dim);background:var(--surface-2);font-size:9px;font-weight:800}.event-margin-day-head span:not(:first-child),.event-margin-day-trigger .num{text-align:right}.event-margin-day-trigger{width:100%;min-height:58px;padding:8px 10px;border:0;border-bottom:1px solid var(--border);color:var(--text);font:inherit;font-size:10px;text-align:left;background:var(--surface);cursor:pointer;transition:background-color .18s ease,box-shadow .18s ease}.event-margin-day-trigger:hover,.event-margin-day-trigger.active{background:#f5fbf8}.event-margin-day-trigger.active{box-shadow:inset 3px 0 0 var(--accent)}.event-margin-day-trigger:focus-visible,.event-margin-event-trigger:focus-visible,.event-margin-category-grid button:focus-visible,.event-margin-deep-list summary:focus-visible{position:relative;z-index:2;outline:3px solid var(--accent-ring);outline-offset:-3px}.event-margin-day-trigger>span:first-child,.event-margin-event-trigger>span:first-child{min-width:0}.event-margin-day-trigger>span:first-child strong,.event-margin-day-trigger>span:first-child small,.event-margin-event-trigger>span:first-child strong,.event-margin-event-trigger>span:first-child small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.event-margin-day-trigger small,.event-margin-event-trigger small{margin-top:2px;color:var(--text-dim);font-size:8px}.event-margin-day-trigger .num{font-variant-numeric:tabular-nums}.event-margin-day-trigger .num small{display:none}.event-margin-day-trigger .positive,.event-margin-event-trigger.positive>span:nth-child(4){color:var(--accent-dark);font-weight:850}.event-margin-day-trigger .negative,.event-margin-event-trigger.negative>span:nth-child(4){color:#a02727;font-weight:850}.event-margin-events{display:grid;gap:7px;padding:9px;border-bottom:1px solid #b9ddcf;background:#f7fbf9}.event-margin-event-trigger{display:grid;width:100%;min-height:64px;grid-template-columns:minmax(220px,1.45fr) repeat(3,minmax(105px,.7fr)) 24px;align-items:center;gap:10px;padding:9px 11px;border:1px solid var(--border);border-radius:8px;color:var(--text);font:inherit;text-align:left;background:var(--surface);cursor:pointer;transition:border-color .18s ease,background-color .18s ease,box-shadow .18s ease}.event-margin-event-trigger:hover,.event-margin-event-trigger.active{border-color:#9ed6c1;background:#f9fdfb}.event-margin-event-trigger.active{box-shadow:inset 3px 0 0 var(--accent)}.event-margin-event-trigger>span:not(:first-child){display:grid;gap:3px;font-variant-numeric:tabular-nums}.event-margin-event-trigger>span:not(:first-child) strong{font-size:11px}.event-margin-event-trigger em{font-size:8px;font-style:normal}.event-margin-event-trigger>b{display:grid;width:24px;height:24px;place-items:center;color:var(--accent-dark);font-size:16px}.event-margin-event-panel{display:grid;gap:9px;margin-top:-8px;padding:11px;border:1px solid #b9ddcf;border-top:0;border-radius:0 0 8px 8px;background:var(--surface)}.event-margin-breadcrumb{color:var(--text-dim);font-size:9px;font-weight:750}.event-margin-breadcrumb span{padding:0 4px;color:var(--accent-dark)}.event-margin-category-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:7px}.event-margin-category-grid button{display:grid;min-height:86px;align-content:center;gap:4px;padding:10px 11px;border:1px solid var(--border);border-radius:8px;color:var(--text);font:inherit;text-align:left;background:var(--surface-2);cursor:pointer;transition:border-color .18s ease,background-color .18s ease,box-shadow .18s ease}.event-margin-category-grid button:hover,.event-margin-category-grid button.active{border-color:#89cdb4;background:var(--accent-soft)}.event-margin-category-grid button.active{box-shadow:inset 0 -3px 0 var(--accent)}.event-margin-category-grid span{color:var(--text-dim);font-size:9px;font-weight:800}.event-margin-category-grid strong{font-size:16px;font-variant-numeric:tabular-nums}.event-margin-category-grid small{color:var(--text-dim);font-size:8px}.event-margin-category-panel{padding:10px;border:1px solid #b9ddcf;border-radius:8px;background:#f8fcfa}.event-margin-deep-list{display:grid;overflow:hidden;border:1px solid var(--border);border-radius:8px;background:var(--surface)}.event-margin-deep-list details{border-bottom:1px solid var(--border)}.event-margin-deep-list details:last-child{border-bottom:0}.event-margin-deep-list summary{display:grid;min-height:52px;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:12px;padding:8px 10px;list-style:none;cursor:pointer;transition:background-color .18s ease}.event-margin-deep-list summary::-webkit-details-marker{display:none}.event-margin-deep-list summary:hover,.event-margin-deep-list details[open]>summary{background:var(--accent-soft)}.event-margin-deep-list summary>span{display:grid;gap:2px;min-width:0}.event-margin-deep-list summary>span:last-child{text-align:right}.event-margin-deep-list summary strong{overflow:hidden;font-size:10px;text-overflow:ellipsis;white-space:nowrap;font-variant-numeric:tabular-nums}.event-margin-deep-list summary small{color:var(--text-dim);font-size:8px}.event-margin-row-facts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;padding:9px 10px;border-top:1px solid var(--border);background:#fbfdfc}.event-margin-row-facts>span{display:grid;gap:2px;min-width:0;padding:7px 8px;border-radius:6px;background:var(--surface-2)}.event-margin-row-facts small{color:var(--text-dim);font-size:8px}.event-margin-row-facts strong{overflow-wrap:anywhere;font-size:10px;font-variant-numeric:tabular-nums}.event-margin-calculation{display:grid;gap:9px;padding:10px;border-top:1px solid #b9ddcf;background:#f7fbf9}.event-margin-calculation-state{min-height:52px;display:grid;place-items:center;color:var(--text-dim);font-size:9px;font-weight:750}.event-margin-calculation-source{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:7px}.event-margin-calculation-source>span{display:grid;align-content:center;gap:3px;min-height:54px;padding:8px 9px;border:1px solid var(--border);border-radius:7px;background:var(--surface)}.event-margin-calculation-source small{color:var(--text-dim);font-size:8px}.event-margin-calculation-source strong{overflow-wrap:anywhere;font-size:9px;line-height:1.35}.event-margin-formula{display:grid;gap:5px;padding:10px 11px;border:1px solid #9ed6c1;border-radius:8px;color:#1d4e3d;background:var(--accent-soft);font-size:9px;font-variant-numeric:tabular-nums}.event-margin-formula>strong{color:var(--accent-dark);font-size:10px}.event-margin-formula span{line-height:1.45}.event-margin-formula b{color:var(--text);font-size:10px}.event-margin-ingredients-wrap{overflow-x:auto;border:1px solid var(--border);border-radius:8px;background:var(--surface)}.event-margin-ingredients{width:100%;min-width:700px;border-collapse:collapse;font-size:9px}.event-margin-ingredients th,.event-margin-ingredients td{padding:8px 9px;border-bottom:1px solid var(--border);text-align:left;vertical-align:middle}.event-margin-ingredients th{color:var(--text-dim);background:var(--surface-2);font-size:8px;font-weight:850}.event-margin-ingredients td:first-child{min-width:220px}.event-margin-ingredients td:first-child strong,.event-margin-ingredients td:first-child small,.event-margin-ingredients td:last-child span,.event-margin-ingredients td:last-child strong{display:block}.event-margin-ingredients td:first-child small,.event-margin-ingredients td:last-child span{margin-top:2px;color:var(--text-dim);font-size:8px}.event-margin-ingredients .num{text-align:right;white-space:nowrap;font-variant-numeric:tabular-nums}.event-margin-ingredients tbody tr:hover{background:#f9fdfb}.event-margin-ingredients tfoot td{border-bottom:0;color:var(--accent-dark);background:#f3faf7;font-weight:850}.event-margin-source-badge{display:inline-flex;width:fit-content;padding:3px 6px;border-radius:999px;font-size:8px;font-weight:850}.event-margin-source-badge.source-purchase{color:#185f48;background:#dff4eb}.event-margin-source-badge.source-recipe{color:#345497;background:#e8efff}.event-margin-source-badge.source-manual{color:#7a4e00;background:#fff1c9}.event-margin-source-badge.source-missing{color:#922e2e;background:#ffe4e4}.event-margin-deep-list details>.event-margin-calculation-note{margin:0;padding:0;border:0;color:var(--text-dim);font-size:8px;line-height:1.45}.event-margin-deep-list details>p,.event-margin-empty{margin:0;padding:9px 10px;border-top:1px solid var(--border);color:var(--text-dim);font-size:9px}@media(max-width:1100px){.event-margin-category-grid,.event-margin-calculation-source{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:760px){.event-margin-day-head{display:none}.event-margin-day-trigger{position:relative;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px 12px;padding:10px}.event-margin-day-trigger>span:first-child{grid-column:1 / -1;padding-right:24px}.event-margin-day-trigger .num{display:grid;gap:2px;text-align:left}.event-margin-day-trigger .num small{display:block}.event-margin-day-trigger .margin-day-chevron{position:absolute;top:10px;right:10px}.event-margin-event-trigger{grid-template-columns:repeat(3,minmax(0,1fr)) 24px}.event-margin-event-trigger>span:first-child{grid-column:1 / -1}}@media(max-width:480px){.event-margin-event-trigger{grid-template-columns:1fr 24px;gap:7px}.event-margin-event-trigger>span{grid-column:1}.event-margin-event-trigger>b{grid-column:2;grid-row:1}.event-margin-category-grid,.event-margin-row-facts,.event-margin-calculation-source{grid-template-columns:1fr}.event-margin-deep-list summary{grid-template-columns:1fr}.event-margin-deep-list summary>span:last-child{text-align:left}}@media(prefers-reduced-motion:reduce){.event-margin-day-trigger,.event-margin-event-trigger,.event-margin-category-grid button,.event-margin-deep-list summary{transition:none}}.production-page{display:grid;gap:18px}.production-page-head{margin-bottom:0}.production-page-head h2,.production-page-head p,.production-section-head h3,.production-section-head p{margin:0}.production-page-head .page-subtitle{max-width:760px;margin-top:6px}.production-source-note{display:inline-flex;min-height:36px;align-items:center;gap:8px;padding:8px 12px;border:1px solid #b9ddcf;border-radius:999px;color:var(--accent-dark);background:var(--accent-soft);font-size:10px;font-weight:800;white-space:nowrap}.production-source-note>span{width:7px;height:7px;border-radius:50%;background:#1c9a69;box-shadow:0 0 0 4px #1c9a691f}.production-filter-card{display:grid;grid-template-columns:minmax(130px,.7fr) minmax(130px,.7fr) minmax(175px,1fr) minmax(175px,1fr) minmax(200px,1.2fr) auto;gap:10px;align-items:end;padding:14px;border:1px solid var(--border);border-radius:var(--radius-sm);background:var(--surface);box-shadow:var(--shadow-sm)}.production-filter-card label{display:grid;gap:6px;min-width:0}.production-direction-filter{position:relative;min-width:0;margin:0;padding:0;border:0}.production-direction-filter legend{width:100%;margin:0 0 6px;padding:0;color:var(--text-dim);font-size:9px;font-weight:850;letter-spacing:.045em;text-transform:uppercase}.production-direction-picker{position:relative}.production-direction-picker>summary{display:flex;min-height:42px;align-items:center;justify-content:space-between;gap:8px;padding:8px 10px;border:1px solid var(--border);border-radius:9px;color:var(--text);background:var(--surface-2);cursor:pointer;font-size:12px;list-style:none}.production-direction-picker>summary::-webkit-details-marker{display:none}.production-direction-picker>summary>span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.production-direction-picker>summary>i{width:7px;height:7px;flex:0 0 7px;border-right:2px solid currentColor;border-bottom:2px solid currentColor;transform:rotate(45deg) translateY(-2px);transition:transform .18s ease}.production-direction-picker[open]>summary>i{transform:rotate(225deg) translate(-1px,-1px)}.production-direction-picker>summary:focus-visible{outline:3px solid var(--accent-ring);outline-offset:1px;border-color:#88c9b1}.production-direction-filter:disabled .production-direction-picker>summary{color:var(--text-dim);cursor:not-allowed;opacity:.72}.production-direction-menu{position:absolute;z-index:40;top:calc(100% + 6px);right:0;left:0;min-width:min(330px,calc(100vw - 32px));padding:8px;border:1px solid var(--border);border-radius:11px;background:var(--surface);box-shadow:var(--shadow-lg)}.production-direction-menu-head{display:flex;min-height:34px;align-items:center;justify-content:space-between;gap:8px;padding:0 4px 6px;border-bottom:1px solid var(--border);color:var(--text-dim);font-size:10px;font-weight:800}.production-direction-menu-head button{min-height:32px;padding:5px 8px;border:0;border-radius:7px;color:var(--accent);background:transparent;cursor:pointer;font:inherit;font-weight:850}.production-direction-menu-head button:hover:not(:disabled),.production-direction-menu-head button:focus-visible{background:var(--accent-soft)}.production-direction-menu-head button:disabled{cursor:default;opacity:.45}.production-direction-options{display:grid;max-height:290px;gap:2px;margin-top:6px;overflow-y:auto;overscroll-behavior:contain}.production-filter-card .production-direction-options label{display:flex;min-height:48px;align-items:center;gap:10px;padding:7px 8px;border-radius:8px;cursor:pointer}.production-filter-card .production-direction-options label:hover,.production-filter-card .production-direction-options label:focus-within{background:var(--surface-2)}.production-filter-card .production-direction-options input{width:18px;min-height:18px;flex:0 0 18px;margin:0;accent-color:var(--accent)}.production-direction-options label>span{display:grid;gap:2px;min-width:0;color:inherit;font-size:inherit;font-weight:inherit;letter-spacing:normal;text-transform:none}.production-direction-options strong{color:var(--text);font-size:11px}.production-direction-options small{color:var(--text-dim);font-size:9px}.production-direction-options .is-outside-range small{font-style:italic}.production-direction-options>p{margin:0;padding:16px 8px;color:var(--text-dim);font-size:10px;text-align:center}.production-filter-card label>span{color:var(--text-dim);font-size:9px;font-weight:850;letter-spacing:.045em;text-transform:uppercase}.production-filter-card input,.production-filter-card select{width:100%;min-height:42px;border:1px solid var(--border);border-radius:9px;color:var(--text);background:var(--surface-2);font:inherit;font-size:12px}.production-filter-card input{padding:8px 10px}.production-filter-card select{padding:8px 32px 8px 10px}.production-filter-card select:disabled{cursor:not-allowed;color:var(--text-dim);opacity:.72}.production-filter-card input:focus-visible,.production-filter-card select:focus-visible{outline:3px solid var(--accent-ring);outline-offset:1px;border-color:#88c9b1}.production-filter-card .btn{min-height:42px}.production-presets{display:flex;align-items:center;gap:6px;margin-top:-10px}.production-presets>span{margin-right:4px;color:var(--text-dim);font-size:9px;font-weight:800;text-transform:uppercase}.production-presets button{min-height:30px;padding:5px 9px;border:1px solid var(--border);border-radius:999px;color:var(--text-dim);background:var(--surface);font:inherit;font-size:10px;font-weight:750;cursor:pointer}.production-presets button:hover,.production-presets button:focus-visible{border-color:#9dd2bf;color:var(--accent-dark);background:var(--accent-soft)}.production-presets button:focus-visible{outline:3px solid var(--accent-ring);outline-offset:1px}.production-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:9px}.production-summary>div{display:grid;min-height:112px;padding:14px;border:1px solid var(--border);border-radius:var(--radius-sm);background:linear-gradient(145deg,var(--surface),var(--surface-2));box-shadow:var(--shadow-sm)}.production-summary span,.production-summary small{color:var(--text-dim);font-size:10px}.production-summary span{font-weight:800}.production-summary strong{align-self:center;color:var(--text);font-size:clamp(24px,3vw,34px);font-variant-numeric:tabular-nums}.production-summary>div:first-child{border-color:#a8d9c6;background:linear-gradient(145deg,#f6fdfa,var(--accent-soft))}.production-summary>div:first-child strong{color:var(--accent-dark)}.production-section{min-width:0;padding:15px;border:1px solid var(--border);border-radius:var(--radius-sm);background:var(--surface);box-shadow:var(--shadow-sm)}.production-section-head{display:flex;align-items:flex-end;justify-content:space-between;gap:16px;margin-bottom:12px}.production-section-head h3{margin-top:3px;color:var(--text);font-size:17px}.production-section-head>small{color:var(--text-dim);font-size:10px;text-align:right}.production-market-head-status{display:grid;gap:4px;justify-items:end;color:var(--text-dim);font-size:10px;text-align:right}.production-market-persistence{color:var(--text-dim);font-size:10px;font-weight:800}.production-market-persistence.is-saving,.production-market-persistence.is-loading{color:#9a6700}.production-market-persistence.is-saved{color:var(--accent-dark)}.production-market-persistence.is-error{color:var(--danger)}.production-saved-market-list{display:grid;gap:8px}.production-saved-market-card{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:18px;align-items:center;min-height:94px;padding:13px 14px;border:1px solid var(--border);border-radius:11px;background:var(--surface-2);transition:border-color var(--speed) ease,background var(--speed) ease,box-shadow var(--speed) ease}.production-saved-market-card.is-current{border-color:#8ecbb4;background:linear-gradient(145deg,#fbfefc,var(--accent-soft));box-shadow:0 0 0 2px var(--accent-ring)}.production-saved-market-main,.production-saved-market-title{min-width:0}.production-saved-market-main{display:grid;gap:5px}.production-saved-market-title{display:flex;align-items:center;gap:8px}.production-saved-market-title strong{color:var(--text);font-size:13px}.production-saved-market-title span{padding:3px 7px;border-radius:999px;color:var(--accent-dark);background:#dff4eb;font-size:9px;font-weight:850;white-space:nowrap}.production-saved-market-main p{overflow:hidden;margin:0;color:var(--accent-dark);font-size:11px;font-weight:800;text-overflow:ellipsis;white-space:nowrap}.production-saved-market-meta{display:flex;flex-wrap:wrap;gap:5px 14px;color:var(--text-dim);font-size:9px}.production-saved-market-action{min-height:38px;border-color:#9dd2bf;color:var(--accent-dark);background:var(--surface);white-space:nowrap}.production-saved-market-actions{display:flex;align-items:stretch;gap:8px}.production-saved-market-delete{min-height:38px;white-space:nowrap}.production-saved-market-action:hover,.production-saved-market-action:focus-visible{border-color:var(--accent);background:var(--accent-soft)}.production-saved-markets-toggle{display:grid;gap:2px;place-items:center;width:100%;min-height:46px;margin-top:8px;padding:8px 14px;border:1px dashed #8fc7b2;border-radius:10px;color:var(--accent-dark);background:color-mix(in srgb,var(--accent-soft) 56%,var(--surface));font:inherit;cursor:pointer}.production-saved-markets-toggle span{font-size:12px;font-weight:850}.production-saved-markets-toggle small{color:var(--text-dim);font-size:10px}.production-saved-markets-toggle:hover{border-style:solid;border-color:var(--accent);background:var(--accent-soft)}.production-saved-markets-toggle:focus-visible{outline:3px solid var(--accent-ring);outline-offset:2px}.production-saved-market-older{margin-top:8px}.production-saved-market-older[hidden]{display:none}.production-saved-markets-state{padding:24px;border:1px dashed var(--border);border-radius:10px;color:var(--text-dim);background:var(--surface-2);font-size:11px;text-align:center}.production-market-delete-overlay{align-items:center}.production-market-delete-dialog{max-width:500px}.production-market-delete-copy{display:grid;gap:8px}.production-market-delete-copy :is(p,h3){margin:0}.production-market-delete-copy h3{padding-bottom:12px}.production-market-delete-copy>p:not(.eyebrow){color:var(--text-dim);font-size:14px;line-height:1.6}.production-market-delete-copy>p strong{color:var(--text)}.production-market-delete-copy>small{color:var(--accent-dark);font-weight:750}.production-market-delete-confirm{border-color:var(--danger);background:var(--danger-bg)}.production-object-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:8px}.production-object-card{display:grid;gap:5px;min-height:132px;padding:13px;border:1px solid var(--border);border-radius:11px;color:var(--text);text-align:left;background:var(--surface-2);cursor:pointer;transition:border-color var(--speed) ease,background var(--speed) ease,box-shadow var(--speed) ease,transform var(--speed) ease}.production-object-card:hover,.production-object-card.active{border-color:#8ecbb4;background:var(--accent-soft);box-shadow:0 0 0 3px var(--accent-ring);transform:translateY(-1px)}.production-object-card:focus-visible{outline:3px solid var(--accent-ring);outline-offset:2px}.production-object-card>span{overflow:hidden;color:var(--text-dim);font-size:11px;font-weight:800;text-overflow:ellipsis;white-space:nowrap}.production-object-card strong{margin-top:5px;font-size:18px}.production-object-card small{color:var(--text-dim);font-size:10px}.production-object-card em{align-self:end;color:var(--accent-dark);font-size:10px;font-style:normal;font-weight:800;line-height:1.45}.production-date-list{display:grid;gap:6px}.production-date-row{display:grid;grid-template-columns:minmax(120px,.75fr) minmax(190px,1fr) minmax(260px,1.5fr);gap:14px;align-items:center;min-height:62px;padding:10px 12px;border:1px solid var(--border);border-radius:9px;background:var(--surface-2)}.production-date-row time{font-size:12px;font-weight:850}.production-date-row>div{display:grid;gap:2px}.production-date-row strong{font-size:12px}.production-date-row span{color:var(--text-dim);font-size:10px}.production-date-row p{margin:0;color:var(--accent-dark);font-size:11px;font-weight:800;text-align:right}.production-details{padding:0;overflow:hidden;scroll-margin-top:80px}.production-details-toggle{display:grid;grid-template-columns:auto minmax(0,1fr) auto auto;gap:8px 14px;align-items:center;width:100%;min-height:58px;padding:13px 15px;border:0;color:var(--text);text-align:left;background:transparent;cursor:pointer}.production-details-toggle:hover,.production-details-toggle:focus-visible{background:var(--surface-2)}.production-details-toggle:focus-visible{outline:3px solid var(--accent-ring);outline-offset:-3px}.production-details-toggle .eyebrow,.production-details-toggle strong,.production-details-toggle small{overflow:hidden;margin:0;text-overflow:ellipsis;white-space:nowrap}.production-details-toggle strong{font-size:15px}.production-details-toggle small{color:var(--text-dim);font-size:10px;text-align:right}.production-details-toggle-action{display:inline-flex;gap:7px;align-items:center;color:var(--accent-dark);font-size:11px;font-weight:850;white-space:nowrap}.production-details-toggle-action>span{display:inline-block;font-size:16px;line-height:1;transition:transform var(--speed) ease}.production-details.is-expanded .production-details-toggle-action>span{transform:rotate(180deg)}.production-details-content{padding:0 15px 15px;border-top:1px solid var(--border)}.production-details-content>.form-error,.production-details-content>.production-table-wrap{margin-top:12px}.production-plan-selector,.production-requirements{scroll-margin-top:80px}.production-plan-actions{display:flex;align-items:center;gap:10px}.production-plan-actions>span{color:var(--text-dim);font-size:10px;font-weight:800;white-space:nowrap}.production-plan-actions .btn{min-height:36px;padding:7px 11px}.production-plan-object-selector{min-width:0;margin:0 0 12px;padding:12px;border:1px solid #b8dccc;border-radius:11px;background:linear-gradient(145deg,#fbfefc,var(--accent-soft))}.production-plan-object-head{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;margin-bottom:10px}.production-plan-object-head>div{display:grid;gap:3px}.production-plan-object-head strong{color:var(--accent-dark);font-size:12px}.production-plan-object-head small,.production-plan-object-head>span{color:var(--text-dim);font-size:9px;line-height:1.4}.production-plan-object-head>span{flex:0 0 auto;padding:4px 7px;border:1px solid #cce4da;border-radius:999px;background:#ffffffb8;font-weight:800;white-space:nowrap}.production-plan-object-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:7px}.production-plan-object-grid>label{display:flex;min-width:0;min-height:52px;align-items:center;gap:9px;padding:8px 10px;border:1px solid var(--border);border-radius:9px;background:var(--surface);cursor:pointer;transition:border-color var(--speed) ease,background var(--speed) ease,box-shadow var(--speed) ease}.production-plan-object-grid>label:hover,.production-plan-object-grid>label:focus-within{border-color:#80c2a8;box-shadow:0 0 0 3px var(--accent-ring)}.production-plan-object-grid>label.is-selected{border-color:#5eaa8c;background:#dff3e9;box-shadow:inset 3px 0 0 var(--accent)}.production-plan-object-grid>label.is-filtered{border-color:#378f6d;box-shadow:inset 3px 0 0 var(--accent),0 0 0 2px #1876541a}.production-plan-object-grid>label.is-partial{border-color:#d8c27c;background:#fff9e6}.production-plan-object-grid input{flex:0 0 auto;width:18px;height:18px;accent-color:var(--accent);cursor:pointer}.production-plan-object-grid label>span{display:grid;min-width:0;gap:2px}.production-plan-object-grid label strong{overflow:hidden;color:var(--text);font-size:11px;text-overflow:ellipsis;white-space:nowrap}.production-plan-object-grid label small{color:var(--text-dim);font-size:9px}.production-plan-table{min-width:820px}.production-plan-table .production-check-column{width:50px;min-width:50px;padding-right:4px;text-align:center}.production-plan-table input[type=checkbox],.production-group-toggle input[type=checkbox]{width:18px;height:18px;accent-color:var(--accent);cursor:pointer}.production-plan-table tbody tr.is-selected td{background:var(--accent-soft)}.production-plan-table tbody tr.is-selected td:first-child{box-shadow:inset 3px 0 0 var(--accent)}.production-requirement-summary{display:grid;grid-template-columns:minmax(210px,1.3fr) repeat(4,minmax(0,1fr));gap:8px;margin-bottom:10px}.production-requirement-summary>div{display:grid;gap:5px;min-height:72px;padding:10px 12px;border:1px solid var(--border);border-radius:10px;background:var(--surface-2)}.production-requirement-summary span{color:var(--text-dim);font-size:9px;font-weight:800;text-transform:uppercase}.production-requirement-summary strong{align-self:end;color:var(--text);font-size:22px;font-variant-numeric:tabular-nums}.production-requirement-summary>div:nth-child(4){border-color:#b8dccf;background:var(--accent-soft)}.production-requirement-summary>div:nth-child(4) strong{color:var(--accent-dark)}.production-requirement-summary>.production-market-total{align-content:center;border-color:var(--accent-dark);color:#fff;background:linear-gradient(135deg,var(--accent-dark),var(--accent));box-shadow:0 4px 12px #19715229}.production-requirement-summary>.production-market-total span,.production-requirement-summary>.production-market-total small,.production-requirement-summary>.production-market-total strong{color:#fff}.production-requirement-summary>.production-market-total strong{font-size:24px;line-height:1.05}.production-requirement-summary>.production-market-total small{font-size:9px;font-weight:700;opacity:.82}.production-requirement-filters{display:grid;grid-template-columns:minmax(310px,1.25fr) minmax(260px,1fr) auto;gap:10px;align-items:end;margin-bottom:12px;padding:12px;border:1px solid var(--border);border-radius:10px;background:var(--surface-2)}.production-requirement-filters fieldset{min-width:0;margin:0;padding:0;border:0}.production-requirement-filters legend,.production-requirement-filters label>span{display:block;margin-bottom:6px;color:var(--text-dim);font-size:9px;font-weight:850;letter-spacing:.045em;text-transform:uppercase}.production-requirement-filters label{min-width:0}.production-requirement-filters select,.production-requirement-filters input[type=search]{width:100%;min-height:40px;padding:8px 10px;border:1px solid var(--border);border-radius:9px;color:var(--text);background:var(--surface);font:inherit;font-size:11px}.production-requirement-filters select:focus-visible,.production-requirement-filters input:focus-visible{outline:3px solid var(--accent-ring);outline-offset:1px}.production-filter-pills{display:flex;gap:5px}.production-filter-pills button{min-height:40px;padding:7px 10px;border:1px solid var(--border);border-radius:9px;color:var(--text-dim);background:var(--surface);font:inherit;font-size:10px;font-weight:800;cursor:pointer;transition:border-color var(--speed) ease,color var(--speed) ease,background var(--speed) ease}.production-filter-pills button:hover,.production-filter-pills button.active{border-color:#8ecbb4;color:var(--accent-dark);background:var(--accent-soft)}.production-filter-pills button:focus-visible{outline:3px solid var(--accent-ring);outline-offset:1px}.production-group-toggle{display:flex;min-height:40px;align-items:center;gap:8px;padding:7px 10px;border:1px solid var(--border);border-radius:9px;background:var(--surface);cursor:pointer}.production-group-toggle>span{margin:0!important;color:var(--text)!important;font-size:10px!important;text-transform:none!important;white-space:nowrap}.production-sort-suppliers{min-height:40px;align-self:end;padding:8px 11px;border-color:#b8d8cc;color:var(--accent-dark);background:var(--surface);font-size:10px;white-space:nowrap}.production-sort-suppliers.active{border-color:#72b89e;background:var(--accent-soft);box-shadow:inset 0 0 0 1px #18765414}.production-procurement-status-workflow{display:grid;gap:10px;margin-bottom:12px;padding:11px;border:1px solid #b9d9cd;border-radius:11px;background:color-mix(in srgb,var(--accent-soft) 42%,var(--surface))}.production-procurement-status-steps{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:7px}.production-procurement-status-steps>:is(span,button){display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:3px 7px;align-items:center;min-width:0;min-height:48px;padding:7px 9px;border:1px solid #b7d9cc;border-radius:9px;color:var(--accent-dark);background:var(--surface);font:inherit;text-align:left}.production-procurement-status-steps>button{cursor:pointer;transition:border-color .14s ease,box-shadow .14s ease,transform .14s ease}.production-procurement-status-steps>button:hover{border-color:var(--accent);transform:translateY(-1px)}.production-procurement-status-steps>button:focus-visible{outline:3px solid var(--accent-ring);outline-offset:2px}.production-procurement-status-steps>button.is-active{box-shadow:inset 0 0 0 2px currentColor,0 3px 9px #1f2e2717}.production-procurement-status-steps>:is(span,button).is-ready_to_order{border-color:#dfc68b;color:#7b5412;background:#fffaf0}.production-procurement-status-steps>:is(span,button).is-future{border-color:var(--border);color:var(--text-dim);background:var(--surface-2)}.production-procurement-status-steps i{display:grid;width:22px;height:22px;place-items:center;border-radius:50%;color:#fff;background:var(--accent-dark);font-size:9px;font-style:normal;font-weight:900}.production-procurement-status-steps>:is(span,button).is-ready_to_order i{background:#7b5412}.production-procurement-status-steps>:is(span,button).is-future i{background:#7d8a84}.production-procurement-status-steps small{min-width:0;overflow:hidden;color:currentColor;font-size:9px;font-weight:850;line-height:1.25;text-overflow:ellipsis}.production-procurement-status-steps strong{color:currentColor;font-size:16px;font-variant-numeric:tabular-nums}.production-procurement-status-steps em{grid-column:2 / -1;color:var(--text-dim);font-size:8px;font-style:normal;font-weight:800;text-transform:uppercase}.production-procurement-status-actions{display:flex;align-items:center;justify-content:flex-end;gap:7px;flex-wrap:wrap}.production-procurement-status-actions>span{margin-right:auto;color:var(--text-dim);font-size:10px;font-weight:750}.production-procurement-status-actions>span strong{color:var(--text);font-size:12px}.production-procurement-status-actions button{min-height:36px;padding:7px 10px;border:1px solid var(--border);border-radius:8px;color:var(--text-dim);background:var(--surface);font:inherit;font-size:9px;font-weight:850;cursor:pointer}.production-procurement-status-actions button:hover:not(:disabled){border-color:#81bea8;color:var(--accent-dark);background:var(--accent-soft)}.production-procurement-status-actions button:focus-visible{outline:3px solid var(--accent-ring);outline-offset:2px}.production-procurement-status-actions button:disabled{opacity:.48;cursor:not-allowed}.production-procurement-status-actions .production-status-ready{border-color:var(--accent-dark);color:#fff;background:var(--accent-dark)}.production-procurement-status-actions .production-status-ready:hover:not(:disabled){border-color:var(--accent);color:#fff;background:var(--accent)}.production-procurement-status-actions .production-status-excel{display:inline-flex;align-items:center;justify-content:center;gap:6px;border-color:#75b59d;color:var(--accent-dark);background:var(--accent-soft)}.production-procurement-status-actions .production-status-excel:hover:not(:disabled){border-color:var(--accent-dark);color:#fff;background:var(--accent-dark)}.production-status-excel svg{width:15px;height:15px;flex:0 0 auto;fill:none;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:1.8}.production-procurement-excel-error{color:var(--danger);font-size:9px;font-weight:800}.production-procurement-status-unassigned{color:#8a5f18;font-size:8px;font-weight:750}.production-procurement-active-filter{display:flex;align-items:center;gap:6px;color:var(--text-dim);font-size:9px;font-weight:750}.production-procurement-active-filter strong{color:var(--accent-dark)}.production-procurement-active-filter button{margin-left:auto;padding:4px 8px;border:1px solid #a9cdbf;border-radius:999px;color:var(--accent-dark);background:var(--surface);font:inherit;font-weight:850;cursor:pointer}.production-procurement-active-filter button:hover{border-color:var(--accent);background:var(--accent-soft)}.production-procurement-active-filter button:focus-visible{outline:3px solid var(--accent-ring);outline-offset:2px}.production-procurement-list{display:grid;gap:9px;min-width:0}.production-procurement-list.is-status-saving .production-procurement-card,.production-procurement-list.is-status-saving .production-procurement-supplier-summary{opacity:.72}.production-procurement-supplier-summary{display:grid;grid-template-columns:minmax(280px,1fr) minmax(650px,1.3fr);gap:10px;min-width:0;overflow:hidden;border:1px solid #acd5c6;border-radius:12px;background:linear-gradient(145deg,var(--surface),color-mix(in srgb,var(--accent-soft) 48%,var(--surface)));box-shadow:0 2px 8px #1f2e270d}.production-procurement-supplier-summary.is-expanded{border-color:#68b797;box-shadow:inset 4px 0 0 var(--accent),0 3px 10px #1f2e2712}.production-procurement-supplier-summary.is-unassigned{border-color:#d9c7a3;background:linear-gradient(145deg,var(--surface),#fff9ed)}.production-procurement-supplier-heading{display:grid;grid-template-columns:minmax(0,1fr) auto;min-width:0;margin:0}.production-procurement-supplier-name-button,.production-procurement-supplier-toggle{display:grid;gap:10px;align-items:center;width:100%;min-height:76px;padding:10px 12px;border:0;color:var(--text);background:transparent;font:inherit;text-align:left;cursor:pointer}.production-procurement-supplier-name-button{grid-template-columns:minmax(0,1fr) auto}.production-procurement-supplier-toggle{grid-template-columns:24px minmax(76px,auto);justify-content:center;min-width:122px;border-left:1px solid #c3dfd4;text-align:center}.production-procurement-supplier-name-button:hover:not(:disabled),.production-procurement-supplier-toggle:hover:not(:disabled),.production-procurement-supplier-name-button[aria-expanded=true]{background:color-mix(in srgb,var(--accent-soft) 64%,transparent)}.production-procurement-supplier-name-button:focus-visible,.production-procurement-supplier-toggle:focus-visible{outline:3px solid var(--accent-ring);outline-offset:-3px}.production-procurement-supplier-name-button:disabled,.production-procurement-supplier-toggle:disabled{cursor:wait;opacity:.68}.production-procurement-supplier-toggle>i{display:grid;width:24px;height:24px;place-items:center;border:1px solid #92c8b3;border-radius:7px;color:var(--accent-dark);background:var(--surface);font-size:13px;font-style:normal;font-weight:900}.production-procurement-supplier-toggle>i:before{content:"›";transform:rotate(0);transition:transform .16s ease}.production-procurement-supplier-toggle[aria-expanded=true]>i:before{transform:rotate(90deg)}.production-procurement-supplier-name-button>span{display:grid;gap:2px;min-width:0}.production-procurement-supplier-name-button small,.production-procurement-supplier-overview small{color:var(--text-dim);font-size:9px;font-weight:800}.production-procurement-supplier-name-button strong{min-width:0;overflow:hidden;color:var(--accent-dark);font-size:15px;line-height:1.25;text-overflow:ellipsis;white-space:nowrap}.production-procurement-supplier-name-button em,.production-procurement-supplier-overview em{color:var(--text-dim);font-size:9px;font-style:normal;line-height:1.35}.production-procurement-supplier-name-button>b,.production-procurement-supplier-toggle>b{color:var(--accent-dark);font-size:9px;white-space:nowrap}.production-procurement-supplier-overview{display:grid;grid-template-columns:minmax(175px,1fr) minmax(115px,.5fr) minmax(180px,.72fr) auto;gap:8px;align-items:center;min-width:0;padding:9px 10px 9px 0;grid-column:2;grid-row:1}.production-procurement-supplier-overview>span{display:grid;gap:2px;min-width:0;padding:7px 9px;border:1px solid var(--border);border-radius:9px;background:color-mix(in srgb,var(--surface) 84%,transparent)}.production-procurement-supplier-date{display:grid;gap:3px;min-width:0;padding:6px 8px;border:1px solid var(--border);border-radius:9px;background:color-mix(in srgb,var(--surface) 84%,transparent)}.production-procurement-supplier-date input{width:100%;min-height:34px;padding:5px 7px;border:1px solid var(--border-strong);border-radius:7px;color:var(--text);background:#fff;font:inherit;font-size:10px}.production-procurement-supplier-date input:focus-visible{border-color:var(--accent);outline:3px solid var(--accent-ring);outline-offset:1px}.production-procurement-supplier-overview strong{min-width:0;overflow:hidden;color:var(--accent-dark);font-size:12px;line-height:1.25;text-overflow:ellipsis;white-space:nowrap}.production-procurement-supplier-status.is-ready_to_order{border-color:#ddbf78;background:#fff8e8}.production-procurement-supplier-status.is-order_sent{border-color:#9eb9da;background:#f1f6fd}.production-procurement-supplier-status.is-order_received{border-color:#79bda2;background:#edfaf4}.production-procurement-supplier-status.is-mixed{border-color:#c9b27b;background:#fffaf0}.production-procurement-supplier-total strong{font-size:15px;font-variant-numeric:tabular-nums}.production-procurement-supplier-ready{width:100%;min-width:0;min-height:44px;padding:8px 12px;border:1px solid var(--accent-dark);border-radius:9px;color:#fff;background:var(--accent-dark);font:inherit;font-size:10px;font-weight:850;line-height:1.25;overflow-wrap:anywhere;white-space:normal;cursor:pointer}.production-procurement-supplier-ready:hover:not(:disabled){border-color:var(--accent);background:var(--accent)}.production-procurement-supplier-ready:focus-visible{outline:3px solid var(--accent-ring);outline-offset:2px}.production-procurement-supplier-ready:disabled{cursor:not-allowed;border-color:var(--border);color:var(--text-dim);background:var(--surface-2);opacity:.72}.production-procurement-card.is-supplier-group-item{width:calc(100% - 18px);margin-left:18px;border-left-color:#80c0a7}.production-procurement-columns{display:grid;grid-template-columns:minmax(250px,1.35fr) minmax(100px,.45fr) minmax(115px,.52fr) minmax(135px,.6fr) minmax(145px,.67fr) 118px;gap:10px;align-items:center;min-width:0;padding:0 12px 0 15px}.production-procurement-columns>button{display:inline-flex;min-width:0;min-height:30px;align-items:center;justify-content:flex-end;gap:5px;padding:4px 0;border:0;color:var(--text-dim);background:transparent;font:inherit;font-size:9px;font-weight:800;text-align:right;cursor:pointer;transition:color var(--speed) ease}.production-procurement-columns>button:first-child{justify-content:flex-start;text-align:left}.production-procurement-columns>button:hover,.production-procurement-columns>button.is-active{color:var(--accent-dark)}.production-procurement-columns>button:focus-visible{border-radius:6px;outline:3px solid var(--accent-ring);outline-offset:1px}.production-procurement-columns>button>span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.production-procurement-columns>button>i{display:inline-grid;width:17px;height:17px;flex:0 0 17px;place-items:center;border:1px solid var(--border);border-radius:5px;color:var(--text-dim);background:var(--surface);font-size:10px;font-style:normal;line-height:1}.production-procurement-columns>button.is-active>i{border-color:#8bcdb4;color:var(--accent-dark);background:var(--accent-soft)}.production-procurement-columns-detail{color:var(--text-dim);font-size:9px;font-weight:800;text-align:right}.production-procurement-card{position:relative;min-width:0;overflow:hidden;border:1px solid var(--border);border-radius:12px;background:var(--surface);box-shadow:0 2px 8px #1f2e270a}.production-procurement-card.has-selection{border-color:#abd8c7;box-shadow:inset 4px 0 0 var(--accent),0 2px 8px #1f2e270a}.production-procurement-card.is-status-selected{border-color:#d8b665;outline:2px solid rgba(204,153,38,.2);outline-offset:-2px;background:color-mix(in srgb,#fff8e8 42%,var(--surface))}.production-procurement-row-shell{position:relative;display:grid;grid-template-columns:minmax(250px,1.35fr) minmax(100px,.45fr) minmax(115px,.52fr) minmax(135px,.6fr) minmax(145px,.67fr) 118px;gap:10px;align-items:center;min-width:0;min-height:62px;padding:8px 12px 8px 15px}.production-procurement-row{position:relative;display:grid;grid-column:1 / span 5;grid-template-columns:subgrid;gap:10px;align-items:center;align-self:stretch;width:100%;min-width:0;padding:0;border:0;border-radius:8px;color:inherit;background:transparent;font:inherit;text-align:left}.production-procurement-row-expand{position:absolute;z-index:0;top:0;right:0;bottom:0;left:0;width:100%;padding:0;border:0;border-radius:8px;background:transparent;cursor:pointer;transition:background-color .18s ease}.production-procurement-row-expand:hover,.production-procurement-row-expand[aria-expanded=true]{background:color-mix(in srgb,var(--accent-soft) 66%,var(--surface))}.production-procurement-row-expand:focus-visible{outline:3px solid var(--accent-ring);outline-offset:-3px}.production-procurement-row>:not(.production-procurement-row-expand){position:relative;z-index:1;pointer-events:none}.production-procurement-row-product{display:grid;min-width:0;gap:2px}.production-procurement-row-product.has-status-select{grid-template-columns:30px minmax(0,1fr);column-gap:6px}.production-procurement-row-product.has-status-select>.production-procurement-row-name,.production-procurement-row-product.has-status-select>.production-procurement-row-secondary{grid-column:2}.production-procurement-row-status-select{display:grid;grid-row:1 / span 2;grid-column:1;align-self:center;place-items:center;width:30px;height:36px;border-radius:7px;pointer-events:auto;cursor:pointer}.production-procurement-row-status-select:focus-within{outline:3px solid var(--accent-ring);outline-offset:1px}.production-procurement-row-status-select:has(input:checked){background:#fff1c9}.production-procurement-row-status-select input{width:16px;height:16px;margin:0;accent-color:#a87312;cursor:pointer}.production-procurement-row-status-select input:disabled{cursor:not-allowed}.production-procurement-row-status-select:has(input:disabled){opacity:.42;cursor:not-allowed}.production-procurement-row-product>span{display:flex;align-items:center;gap:5px}.production-procurement-row-secondary{min-width:0;justify-content:flex-start}.production-procurement-row-product b,.production-procurement-row-product em{display:inline-flex;min-height:18px;align-items:center;padding:2px 6px;border-radius:999px;font-size:7px;font-style:normal;font-weight:850}.production-procurement-row-product b{color:var(--accent-dark);background:var(--accent-soft)}.production-procurement-row-product em{border:1px solid var(--border);color:var(--text-dim);background:var(--surface-2)}.production-procurement-row-name>strong{min-width:0;overflow:hidden;color:var(--text);font-size:12px;line-height:1.25;text-overflow:ellipsis;white-space:nowrap}.production-procurement-row-status{display:inline-flex;width:max-content;max-width:100%;min-height:17px;align-items:center;padding:2px 6px;overflow:hidden;border:1px solid #9dcebc;border-radius:999px;color:var(--accent-dark);background:var(--accent-soft);font-size:9px;font-weight:850;line-height:1;text-overflow:ellipsis;white-space:nowrap}.production-procurement-row-status.is-ready_to_order{border-color:#ddbf78;color:#7b5412;background:#fff5da}.production-procurement-row-status.is-order_sent{border-color:#9eb9da;color:#345d91;background:#eef5ff}.production-procurement-row-status.is-order_received{border-color:#79bda2;color:#086743;background:#e9fbf3}.production-procurement-row-status.is-unassigned{border-color:#d4c7af;color:#80633a;background:#fffaf0}.production-procurement-row-product>small,.production-procurement-row-metric>small,.production-procurement-row-action>small{color:var(--text-dim);font-size:8px}.production-procurement-row-supplier{display:flex;width:auto;max-width:100%;min-width:28px;min-height:28px;flex:1 1 auto;align-items:center;gap:4px;padding:3px 0;overflow:hidden;border:0;color:var(--text-dim);background:transparent;font:inherit;font-size:9px;text-align:left;white-space:nowrap;pointer-events:auto;cursor:pointer}.production-procurement-row-name>em{flex:0 0 auto}.production-procurement-row-supplier>b{display:block;min-height:0;min-width:0;padding:0;overflow:hidden;border-radius:0;color:var(--accent-dark);background:transparent;font-size:inherit;font-weight:850;text-overflow:ellipsis}.production-procurement-row-supplier>i{display:inline-flex;min-height:18px;flex:0 0 auto;align-items:center;padding:2px 6px;border:1px solid color-mix(in srgb,var(--accent) 38%,var(--border));border-radius:999px;color:var(--accent-dark);background:color-mix(in srgb,var(--accent-soft) 66%,var(--surface));font-size:7px;font-style:normal;font-weight:850;line-height:1}.production-procurement-row-expand:hover~.production-procurement-row-product .production-procurement-row-supplier>i,.production-procurement-row-expand:focus-visible~.production-procurement-row-product .production-procurement-row-supplier>i,.production-procurement-row-supplier:hover>i,.production-procurement-row-supplier:focus-visible>i{border-color:var(--accent);background:var(--accent-soft)}.production-procurement-row-supplier:focus-visible{outline:3px solid var(--accent-ring);outline-offset:2px}.production-procurement-row-metric{display:grid;min-width:0;gap:2px;justify-items:end;text-align:right}.production-procurement-row-metric>strong{color:var(--accent-dark);font-size:13px;font-variant-numeric:tabular-nums;white-space:nowrap}.production-manual-value-badge{color:#096b49;font-size:7px;font-style:normal;font-weight:850;text-transform:uppercase}.production-daily-coverage-badge{display:inline-flex;max-width:100%;align-items:center;padding:2px 5px;border-radius:999px;font-size:7px;font-style:normal;font-weight:850;line-height:1.2;text-align:right}.production-daily-coverage-badge.is-covered{color:#096b49;background:#e4f6ee}.production-daily-coverage-badge.is-short{color:#9b2929;background:#ffebeb}.production-procurement-row-total{grid-template-columns:minmax(0,1fr);align-items:center;padding:6px 8px;border:1px solid #a8d6c5;border-radius:8px;background:var(--accent-soft)}.production-procurement-row>.production-procurement-row-buying{pointer-events:auto}.production-procurement-row-buying>span{display:inline-flex;max-width:100%;align-items:center;justify-content:flex-end;overflow:hidden;border:1px solid color-mix(in srgb,var(--accent) 42%,var(--border));border-radius:7px;background:var(--surface)}.production-procurement-row-buying input{position:relative;z-index:2;width:72px;min-width:0;padding:5px 3px 5px 7px;border:0;color:var(--accent-dark);background:transparent;font:inherit;font-size:13px;font-weight:850;line-height:1.2;text-align:right;font-variant-numeric:tabular-nums;pointer-events:auto;-webkit-user-select:text;user-select:text;cursor:text}.production-procurement-row-buying input:focus{outline:0}.production-procurement-row-buying>span:focus-within{border-color:var(--accent);box-shadow:0 0 0 3px var(--accent-ring)}.production-procurement-row-buying b{flex:0 0 auto;padding:0 7px 0 2px;color:var(--accent-dark);font-size:9px;font-weight:850}.production-procurement-row-amount{display:grid;min-width:0;justify-items:end;text-align:right}.production-procurement-row-amount>strong{color:var(--accent-dark);font-size:15px;font-variant-numeric:tabular-nums;white-space:nowrap}.production-procurement-row-remove{grid-column:6;width:100%;min-width:0;min-height:44px;padding:7px 9px;border:1px solid #dfaaaa;border-radius:8px;color:#982d2d;background:#fff7f7;font:inherit;font-size:8px;font-weight:850;white-space:nowrap;cursor:pointer;transition:border-color var(--speed) ease,background-color var(--speed) ease,box-shadow var(--speed) ease}.production-procurement-row-remove:hover{border-color:#c86d6d;background:#ffeded}.production-procurement-row-remove:focus-visible{outline:3px solid rgba(186,51,51,.22);outline-offset:2px}.production-procurement-main{min-width:0;padding:10px 11px;border-top:1px solid color-mix(in srgb,var(--accent) 30%,var(--border));background:color-mix(in srgb,var(--surface-2) 38%,var(--surface))}.production-procurement-eyebrow{display:flex;align-items:center;gap:5px;flex-wrap:wrap}.production-procurement-eyebrow>span:first-child,.production-procurement-code{display:inline-flex;align-items:center;min-height:22px;padding:3px 7px;border-radius:999px;font-size:8px;font-weight:850}.production-procurement-eyebrow>span:first-child{color:var(--accent-dark);background:var(--accent-soft)}.production-procurement-code{gap:4px;border:1px solid var(--border);color:var(--text-dim);background:var(--surface-2)}.production-procurement-code strong{color:var(--text);font-size:inherit;font-variant-numeric:tabular-nums}.production-procurement-title{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin-bottom:8px}.production-procurement-title>div:first-child,.production-procurement-product-button{min-width:0}.production-procurement-product-button{display:block;flex:1 1 auto;min-height:44px;margin:-4px 0 -2px -4px;padding:4px 28px 4px 4px;position:relative;border:0;border-radius:8px;color:inherit;background:transparent;text-align:left;cursor:pointer;transition:background-color .18s ease,box-shadow .18s ease}.production-procurement-product-button:hover{background:var(--accent-soft)}.production-procurement-product-button:focus-visible{outline:3px solid var(--accent-ring);outline-offset:2px}.production-procurement-title span,.production-procurement-title small,.production-procurement-required span{color:var(--text-dim);font-size:9px}.production-procurement-title h4{margin:4px 0 2px;color:var(--text);font-size:14px;line-height:1.35}.production-procurement-usage-hint{display:flex;align-items:center;gap:6px;flex-wrap:wrap}.production-procurement-usage-hint>strong{color:var(--accent-dark);font-size:9px;font-weight:850}.production-procurement-usage-hint>i{width:7px;height:7px;border-right:1.5px solid var(--accent-dark);border-bottom:1.5px solid var(--accent-dark);transform:rotate(45deg) translateY(-2px);transform-origin:center;transition:transform .18s ease}.production-procurement-product-button[aria-expanded=true] .production-procurement-usage-hint>i{transform:rotate(225deg) translate(-1px,-1px)}.production-procurement-quantities{display:grid;flex:0 0 auto;grid-template-columns:repeat(3,minmax(135px,auto));gap:7px}.production-procurement-required,.production-procurement-buying,.production-procurement-potential{display:grid;align-content:center;gap:3px;padding:7px 9px;border:1px solid var(--border);border-radius:9px;background:var(--surface-2);text-align:right}.production-procurement-required strong,.production-procurement-potential>strong{color:var(--accent-dark);font-size:17px;font-variant-numeric:tabular-nums}.production-procurement-buying{border-color:#85c5ad;background:#e7f6ef}.production-procurement-buying>label,.production-procurement-buying>small{color:var(--text-dim);font-size:9px}.production-buying-input-row{display:grid;grid-template-columns:minmax(72px,1fr) auto;align-items:center;gap:5px}.production-buying-input-row input{width:100%;min-width:0;padding:5px 7px;border:1px solid #65aa90;border-radius:6px;outline:0;color:#096b49;background:#fff;font-size:16px;font-weight:900;text-align:right;font-variant-numeric:tabular-nums}.production-buying-input-row input:focus-visible{border-color:#0b7954;box-shadow:0 0 0 3px #0b795424}.production-buying-input-row b{color:#096b49;font-size:11px;white-space:nowrap}.production-procurement-buying>button{justify-self:end;min-height:28px;padding:2px 0;border:0;color:#096b49;background:transparent;font-size:8px;font-weight:800;text-decoration:underline;text-underline-offset:2px;cursor:pointer}.production-procurement-buying>button:focus-visible{border-radius:3px;outline:2px solid #0b7954;outline-offset:2px}.production-procurement-potential{max-width:245px;border-color:#b6cce5;background:#f1f6fb}.production-procurement-potential>span,.production-procurement-potential>small{color:#46647f}.production-procurement-potential>strong{color:#174f7a}.production-procurement-potential.is-short{border-color:#e4a7a7;background:#fff2f2;box-shadow:inset 3px 0 #c63b3b}.production-procurement-potential.is-short>span,.production-procurement-potential.is-short>strong,.production-procurement-potential.is-short .production-potential-formula>b{color:#a32929}.production-potential-formula{display:grid;gap:1px;max-width:220px;margin-top:1px;font-size:8px;line-height:1.35}.production-potential-formula>span,.production-potential-formula>b{overflow-wrap:anywhere}.production-potential-formula>b{color:#174f7a;font-size:8px;font-weight:850}.production-procurement-calculation{display:grid;grid-template-columns:minmax(360px,1fr) minmax(210px,.34fr);gap:7px}.production-order-controls{display:grid;grid-template-columns:minmax(260px,.9fr) minmax(320px,1.1fr);gap:8px;margin-bottom:8px;padding:10px;border:1px solid #89c7af;border-radius:10px;background:linear-gradient(145deg,#f9fefc,var(--accent-soft))}.production-order-controls>div{display:grid;align-content:start;gap:5px;min-width:0}.production-order-controls label{color:var(--accent-dark);font-size:10px;font-weight:850}.production-order-controls input,.production-order-controls textarea{width:100%;min-height:42px;padding:9px 10px;border:1px solid var(--border-strong);border-radius:8px;color:var(--text);background:#fff;font:inherit;font-size:12px}.production-order-controls textarea{min-height:68px;resize:vertical;line-height:1.45}.production-order-controls input:focus-visible,.production-order-controls textarea:focus-visible{border-color:var(--accent);outline:3px solid var(--accent-ring);outline-offset:1px}.production-order-controls small{color:var(--text-dim);font-size:9px;line-height:1.4}.production-order-controls button{justify-self:start;padding:3px 7px;border:1px solid #a9cdbf;border-radius:999px;color:var(--accent-dark);background:#fff;font:inherit;font-size:9px;font-weight:800;cursor:pointer}.production-order-controls button:hover{border-color:var(--accent);background:#edf9f4}.production-order-controls button:focus-visible{outline:3px solid var(--accent-ring);outline-offset:1px}.production-order-status-control{grid-column:1 / -1;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:10px;padding:9px 10px;border:1px solid #9dcebc;border-radius:9px;background:#fff}.production-order-status-copy{display:grid;gap:2px;min-width:0}.production-order-status-copy strong{color:var(--accent-dark);font-size:13px;line-height:1.3}.production-order-status-copy em{color:#8a5f18;font-size:10px;font-style:normal;line-height:1.35}.production-order-status-control.is-ready_to_order{border-color:#ddbf78;background:#fffaf0}.production-order-status-control.is-order_sent{border-color:#91b8de;background:#f3f8fd}.production-order-status-control.is-order_received{border-color:#79b99d;background:#f2fbf7}.production-order-controls .production-order-ready-action{justify-self:end;min-height:42px;padding:8px 13px;border-color:var(--accent-dark);border-radius:8px;color:#fff;background:var(--accent-dark);font-size:10px;white-space:nowrap}.production-order-controls .production-order-ready-action:hover:not(:disabled){border-color:var(--accent);color:#fff;background:var(--accent)}.production-order-controls .production-order-ready-action:disabled{cursor:not-allowed;border-color:var(--border);color:var(--text-dim);background:var(--surface-2);opacity:.68}.production-supplier-picker{display:grid;gap:5px;min-width:0}.production-supplier-input-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:6px}.production-order-controls .production-supplier-catalog-trigger{align-self:stretch;justify-self:stretch;min-height:42px;padding:8px 12px;border-color:var(--accent);border-radius:8px;color:#fff;background:var(--accent);font-size:10px;white-space:nowrap}.production-order-controls .production-supplier-catalog-trigger:hover{color:#fff;background:var(--accent-dark)}.production-supplier-catalog{display:grid;gap:8px;margin-top:3px;padding:10px;border:1px solid #79bea4;border-radius:10px;background:#fff;box-shadow:0 10px 28px #12574024}.production-supplier-catalog-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.production-supplier-catalog-head>div{display:grid;gap:2px}.production-supplier-catalog-head strong{color:var(--accent-dark);font-size:12px}.production-supplier-catalog-head small{font-size:9px}.production-order-controls .production-supplier-unknown-option{display:flex;align-items:center;justify-content:space-between;gap:10px;width:100%;min-height:50px;padding:8px 10px;border:1px dashed #c7a64f;border-radius:8px;color:#5c4813;background:#fff9e9;text-align:left}.production-order-controls .production-supplier-unknown-option:hover{border-color:#9c7a23;color:#4c3a0c;background:#fff3cc}.production-order-controls .production-supplier-unknown-option.is-selected{border-style:solid;border-color:var(--accent);color:var(--accent-dark);background:var(--accent-soft);box-shadow:inset 3px 0 0 var(--accent)}.production-supplier-unknown-option>span{display:grid;gap:1px;min-width:0}.production-supplier-unknown-option strong{font-size:10px}.production-supplier-unknown-option small{color:var(--text-dim);font-size:8px}.production-supplier-unknown-option>b{flex:0 0 auto;padding:2px 6px;border-radius:999px;color:var(--accent-dark);background:#dff4eb;font-size:8px}.production-supplier-catalog>label{font-size:9px}.production-supplier-catalog-results{display:grid;gap:3px;max-height:290px;overflow-y:auto;padding:3px;border:1px solid var(--border);border-radius:8px;background:var(--surface-2)}.production-order-controls .production-supplier-catalog-results>button{display:flex;align-items:center;justify-content:space-between;gap:10px;width:100%;min-height:46px;padding:7px 9px;border:1px solid transparent;border-radius:7px;color:var(--text);background:#fff;text-align:left}.production-order-controls .production-supplier-catalog-results>button:hover{border-color:#8ac6b0;color:var(--text);background:#edf9f4}.production-order-controls .production-supplier-catalog-results>button.is-selected{border-color:var(--accent);background:var(--accent-soft);box-shadow:inset 3px 0 0 var(--accent)}.production-supplier-catalog-results button>span{display:grid;gap:1px;min-width:0}.production-supplier-catalog-results button strong{overflow-wrap:anywhere;font-size:10px}.production-supplier-catalog-results button small{font-size:8px}.production-supplier-catalog-results button>b{flex:0 0 auto;padding:2px 6px;border-radius:999px;color:var(--accent-dark);background:#dff4eb;font-size:8px}.production-supplier-catalog-results>p{margin:0;padding:18px 10px;color:var(--text-dim);font-size:10px;text-align:center}.production-procurement-supplier-summary>.production-supplier-group-editor{grid-column:1 / -1;grid-row:2;grid-template-columns:minmax(0,1fr) minmax(260px,.48fr);margin:0 10px 10px}.production-supplier-group-product-picker{display:grid;grid-column:1 / -1;gap:8px;min-width:0;padding-top:10px;border-top:1px solid #bad9cd}.production-supplier-group-product-head{display:flex;align-items:center;justify-content:space-between;gap:10px}.production-supplier-group-product-head>span,.production-supplier-group-product-copy{display:grid;gap:2px;min-width:0}.production-supplier-group-product-head strong{color:var(--accent-dark);font-size:11px}.production-supplier-group-product-head small,.production-supplier-group-product-copy small{color:var(--text-dim);font-size:9px}.production-supplier-group-product-actions{display:flex;flex-wrap:wrap;gap:6px}.production-order-controls .production-supplier-group-product-actions button{min-height:34px;padding:6px 9px;border-color:#9ccbb9;border-radius:7px;color:var(--accent-dark);background:#fff;font-size:9px}.production-supplier-group-product-list{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:6px;max-height:250px;overflow-y:auto;padding:3px}.production-order-controls .production-supplier-group-product-option{display:grid;grid-template-columns:20px minmax(0,1fr);gap:8px;align-items:center;min-height:48px;padding:7px 9px;border:1px solid var(--border);border-radius:8px;background:#fff;cursor:pointer}.production-order-controls .production-supplier-group-product-option:hover{border-color:#84c4ac;background:#f3fbf7}.production-order-controls .production-supplier-group-product-option:has(input:checked){border-color:var(--accent);background:var(--accent-soft);box-shadow:inset 3px 0 0 var(--accent)}.production-order-controls .production-supplier-group-product-option:focus-within{outline:3px solid var(--accent-ring);outline-offset:1px}.production-order-controls .production-supplier-group-product-option input[type=checkbox]{width:18px;height:18px;min-height:0;margin:0;padding:0;accent-color:var(--accent-dark);cursor:pointer}.production-supplier-group-product-copy strong{color:var(--text);font-size:10px;line-height:1.25;overflow-wrap:anywhere;white-space:normal}.production-supplier-group-editor-summary{align-content:center;padding:8px 10px;border:1px solid #bad9cd;border-radius:9px;background:color-mix(in srgb,var(--surface) 88%,transparent)}.production-supplier-group-editor-summary>strong{color:var(--accent-dark);font-size:12px}.production-order-controls .production-supplier-group-editor-warning{color:#8a5f18;font-weight:750}.production-supplier-group-editor-actions{display:flex;flex-wrap:wrap;gap:6px;margin-top:3px}.production-order-controls .production-supplier-group-editor-actions button{min-height:40px;padding:8px 12px;border-radius:8px;font-size:10px}.production-order-controls .production-supplier-group-editor-actions .production-supplier-group-apply{border-color:var(--accent-dark);color:#fff;background:var(--accent-dark)}.production-order-controls .production-supplier-group-editor-actions .production-supplier-group-apply:hover:not(:disabled){border-color:var(--accent);color:#fff;background:var(--accent)}.production-order-controls .production-supplier-group-editor-actions button:disabled{cursor:not-allowed;border-color:var(--border);color:var(--text-dim);background:var(--surface-2);opacity:.68}.production-supplier-catalog-status{margin:0;color:var(--text-dim);font-size:9px}.production-daily-coverage{display:grid;gap:7px;margin-bottom:8px;padding:10px;border:1px solid #e0b36b;border-radius:9px;background:#fffaf0;box-shadow:inset 3px 0 #cf8324}.production-daily-coverage-head{display:flex;align-items:center;justify-content:space-between;gap:12px}.production-daily-coverage-head>div{display:grid;gap:1px}.production-daily-coverage-head span{color:#8a6330;font-size:8px;font-weight:850;letter-spacing:.04em;text-transform:uppercase}.production-daily-coverage-head strong{color:#704911;font-size:12px}.production-daily-coverage-head>b{padding:4px 8px;border-radius:999px;color:#922f2f;background:#ffe7e7;font-size:9px;white-space:nowrap}.production-daily-coverage>p{margin:0;color:#765c39;font-size:9px;line-height:1.45}.production-daily-coverage-columns,.production-daily-coverage-list>li{display:grid;grid-template-columns:minmax(120px,.8fr) repeat(2,minmax(130px,.8fr)) minmax(190px,1.2fr);gap:10px;align-items:center}.production-daily-coverage-columns{padding:0 9px;color:#826640;font-size:8px;font-weight:850}.production-daily-coverage-list{display:grid;gap:4px;margin:0;padding:0;list-style:none}.production-daily-coverage-list>li{min-height:45px;padding:7px 9px;border:1px solid #ead8ba;border-radius:7px;background:#ffffffd1}.production-daily-coverage-list time,.production-daily-coverage-list b,.production-daily-coverage-list strong{font-size:10px;font-variant-numeric:tabular-nums}.production-daily-coverage-list time{color:var(--text);font-weight:850}.production-daily-coverage-list>li>span{display:grid;gap:1px}.production-daily-coverage-list small{color:var(--text-dim);font-size:7px}.production-daily-coverage-list b{color:var(--text)}.production-daily-coverage-list>li>strong{justify-self:end;color:#14704f;text-align:right}.production-daily-coverage-list>li.is-partial{border-color:#e0b36b;background:#fff8e7}.production-daily-coverage-list>li.is-partial>strong{color:#875712}.production-daily-coverage-list>li.is-missing{border-color:#e5aaaa;background:#fff3f3}.production-daily-coverage-list>li.is-missing>strong{color:#a12e2e}.production-requirement-usage{display:grid;gap:8px;margin-bottom:8px;padding:9px 10px;border:1px solid #89c7af;border-radius:9px;background:linear-gradient(145deg,#f9fefc,var(--accent-soft));box-shadow:inset 3px 0 0 var(--accent)}.production-requirement-usage-head{display:flex;align-items:center;justify-content:space-between;gap:12px}.production-requirement-usage-head>div{display:grid;gap:1px}.production-requirement-usage-head span{color:var(--text-dim);font-size:8px;font-weight:850;letter-spacing:.04em;text-transform:uppercase}.production-requirement-usage-head strong{color:var(--accent-dark);font-size:12px}.production-requirement-usage-head>b{padding:3px 7px;border-radius:999px;color:var(--accent-dark);background:#dff4eb;font-size:9px;white-space:nowrap}.production-requirement-usage-list{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:6px}.production-requirement-object{min-width:0;overflow:hidden;border:1px solid rgba(137,199,175,.55);border-radius:8px;background:#ffffffc7;transition:border-color .18s ease,box-shadow .18s ease}.production-requirement-object.is-expanded{grid-column:1 / -1;border-color:#65aa90;box-shadow:inset 3px 0 0 var(--accent)}.production-requirement-object-trigger{display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%;min-width:0;min-height:48px;padding:7px 9px;border:0;color:inherit;background:transparent;text-align:left;cursor:pointer;transition:background-color .18s ease}.production-requirement-object-trigger:hover{background:var(--accent-soft)}.production-requirement-object-trigger:focus-visible{position:relative;z-index:1;outline:3px solid var(--accent-ring);outline-offset:-3px}.production-requirement-object-trigger>span:first-child{display:grid;gap:2px;min-width:0}.production-requirement-object-trigger strong{overflow-wrap:anywhere;color:var(--text);font-size:10px}.production-requirement-object-trigger small,.production-requirement-usage>p{margin:0;color:var(--text-dim);font-size:8px;line-height:1.4}.production-requirement-object-amount{display:grid;grid-template-columns:auto 9px;align-items:center;justify-items:end;gap:1px 7px;flex:0 0 auto}.production-requirement-object-amount>b{grid-column:1 / -1;flex:0 0 auto;color:var(--accent-dark);font-size:12px;font-variant-numeric:tabular-nums;white-space:nowrap}.production-requirement-object-amount>small{color:var(--accent-dark);font-weight:800}.production-requirement-object-amount>i{width:7px;height:7px;border-right:1.5px solid var(--accent-dark);border-bottom:1.5px solid var(--accent-dark);transform:rotate(45deg) translateY(-2px);transform-origin:center;transition:transform .18s ease}.production-requirement-object-trigger[aria-expanded=true] .production-requirement-object-amount>i{transform:rotate(225deg) translate(-1px,-1px)}.production-source-product-panel{display:grid;gap:7px;padding:8px 9px 9px 16px;border-top:1px solid rgba(137,199,175,.55);background:#ecfaf4b8}.production-source-product-head{display:flex;align-items:center;justify-content:space-between;gap:12px}.production-source-product-head>div{display:grid;gap:1px}.production-source-product-head span,.production-source-product-head>b{color:var(--text-dim);font-size:8px}.production-source-product-head strong{color:var(--accent-dark);font-size:11px}.production-source-product-head>b{padding:3px 7px;border-radius:999px;color:var(--accent-dark);background:#dff4eb;white-space:nowrap}.production-source-product-list{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:6px}.production-source-product{min-width:0;overflow:hidden;border:1px solid var(--border);border-radius:7px;background:var(--surface);transition:border-color .18s ease,box-shadow .18s ease}.production-source-product.is-expanded{grid-column:1 / -1;border-color:#65aa90;box-shadow:inset 3px 0 0 var(--accent)}.production-source-product-trigger{display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%;min-width:0;min-height:52px;padding:7px 9px;border:0;color:inherit;background:transparent;text-align:left;cursor:pointer;transition:background-color .18s ease}.production-source-product-trigger:hover{background:var(--accent-soft)}.production-source-product-trigger:focus-visible{position:relative;z-index:1;outline:3px solid var(--accent-ring);outline-offset:-3px}.production-source-product-trigger>span:first-child{display:grid;gap:2px;min-width:0}.production-source-product-amount{display:grid;grid-template-columns:auto 9px;gap:1px 7px;flex:0 0 auto;justify-items:end;text-align:right}.production-source-product-trigger strong{overflow-wrap:anywhere;color:var(--text);font-size:10px}.production-source-product-trigger small,.production-source-product-panel>p{margin:0;overflow-wrap:anywhere;color:var(--text-dim);font-size:8px;line-height:1.4}.production-source-product-amount>b{grid-column:1 / -1;color:var(--accent-dark);font-size:11px;font-variant-numeric:tabular-nums;white-space:nowrap}.production-source-product-amount>em{color:var(--accent-dark);font-size:8px;font-style:normal;font-weight:850}.production-source-product-amount>i{width:7px;height:7px;border-right:1.5px solid var(--accent-dark);border-bottom:1.5px solid var(--accent-dark);transform:rotate(45deg) translateY(-2px);transform-origin:center;transition:transform .18s ease}.production-source-product-trigger[aria-expanded=true] .production-source-product-amount>i{transform:rotate(225deg) translate(-1px,-1px)}.production-product-calculation{display:grid;gap:8px;padding:10px;border-top:1px solid rgba(137,199,175,.55);background:#f7fcfa}.production-product-calculation-loading,.production-product-calculation-empty,.production-product-calculation-error{min-height:52px;padding:13px;border:1px dashed #b9d8cc;border-radius:8px;color:var(--text-dim);background:var(--surface);font-size:10px}.production-product-calculation-loading,.production-product-calculation-empty{display:grid;align-items:center}.production-product-calculation-error{display:flex;align-items:center;justify-content:space-between;gap:10px;border-color:#e4a7a7;color:#8f2f2f;background:#fff5f5}.production-product-calculation-error>button{min-height:44px;padding:8px 11px;border:1px solid #d48989;border-radius:7px;color:#8f2f2f;background:#fff;font:inherit;font-size:9px;font-weight:850;cursor:pointer}.production-product-calculation-error>button:focus-visible{outline:3px solid rgba(186,51,51,.22);outline-offset:2px}.production-product-calculation-head{display:grid;grid-template-columns:minmax(0,.8fr) minmax(0,1.6fr);gap:8px;align-items:stretch}.production-product-calculation-head>div:first-child{display:grid;align-content:center;gap:2px;min-width:0;padding:9px 10px;border:1px solid #b9d8cc;border-radius:8px;background:var(--surface)}.production-product-calculation-head>div:first-child>span,.production-product-calculation-head>div:first-child>small{color:var(--text-dim);font-size:8px}.production-product-calculation-head>div:first-child>span{font-weight:850;letter-spacing:.04em;text-transform:uppercase}.production-product-calculation-head>div:first-child>strong{overflow-wrap:anywhere;color:var(--accent-dark);font-size:12px}.production-product-calculation-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px}.production-product-calculation-summary>span,.production-product-unit-cost-trigger{display:grid;align-content:center;gap:3px;min-width:0;padding:8px 9px;border:1px solid #b9d8cc;border-radius:8px;background:var(--surface);text-align:right}.production-product-unit-cost-trigger{grid-template-columns:minmax(0,1fr) 9px;align-items:center;color:inherit;font:inherit;cursor:pointer;transition:border-color .18s ease,background-color .18s ease}.production-product-unit-cost-trigger:hover,.production-product-unit-cost-trigger[aria-expanded=true]{border-color:#65aa90;background:var(--accent-soft)}.production-product-unit-cost-trigger:focus-visible{outline:3px solid var(--accent-ring);outline-offset:2px}.production-product-unit-cost-trigger>span{display:grid;gap:3px;min-width:0}.production-product-unit-cost-trigger em{color:var(--accent-dark);font-size:8px;font-style:normal;font-weight:800}.production-product-unit-cost-trigger>i{width:7px;height:7px;border-right:1.5px solid var(--accent-dark);border-bottom:1.5px solid var(--accent-dark);transform:rotate(45deg) translateY(-2px);transform-origin:center;transition:transform .18s ease}.production-product-unit-cost-trigger[aria-expanded=true]>i{transform:rotate(225deg) translate(-1px,-1px)}.production-product-calculation-summary small{color:var(--text-dim);font-size:8px}.production-product-calculation-summary strong{overflow-wrap:anywhere;color:var(--accent-dark);font-size:12px;font-variant-numeric:tabular-nums}.production-product-calculation-summary>span:last-child{border-color:#65aa90;background:var(--accent-soft)}.production-product-calculation-warning{padding:8px 10px;border:1px solid #e7c77e;border-radius:8px;color:#7a4c0d;background:#fff9e9;font-size:9px;font-weight:750}.production-product-cost-breakdown{display:grid;gap:8px}.production-product-cost-formula{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}.production-product-cost-formula>span{display:grid;gap:3px;min-width:0;padding:10px 11px;border:1px solid #89c7af;border-radius:8px;background:color-mix(in srgb,var(--accent-soft) 68%,var(--surface))}.production-product-cost-formula small,.production-product-cost-formula em{color:var(--text-dim);font-size:8px}.production-product-cost-formula strong{overflow-wrap:anywhere;color:var(--accent-dark);font-size:12px;font-variant-numeric:tabular-nums}.production-product-cost-formula em{font-style:normal}.production-product-cost-actions{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:7px 9px;border:1px solid var(--border);border-radius:8px;background:var(--surface)}.production-product-cost-actions>span{color:var(--text-dim);font-size:8px}.production-product-cost-actions>div{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:6px}.production-product-cost-actions button{min-height:44px;padding:7px 10px;border:1px solid #89c7af;border-radius:7px;color:var(--accent-dark);background:var(--surface);font:inherit;font-size:8px;font-weight:850;cursor:pointer}.production-product-cost-actions button:hover:not(:disabled){background:var(--accent-soft)}.production-product-cost-actions button:focus-visible{outline:3px solid var(--accent-ring);outline-offset:1px}.production-product-cost-actions button:disabled{opacity:.45;cursor:not-allowed}.production-product-calculation-table-wrap{overflow-x:auto;border:1px solid #b9d8cc;border-radius:8px;background:var(--surface)}.production-product-calculation-table{width:100%;min-width:720px;border-collapse:collapse;font-size:9px}.production-product-calculation-table th,.production-product-calculation-table td{padding:8px 9px;border-bottom:1px solid var(--border);text-align:left}.production-product-calculation-table th{color:var(--text-dim);background:var(--surface-2);font-size:8px;font-weight:850;letter-spacing:.035em;text-transform:uppercase}.production-product-calculation-table .num{text-align:right;font-variant-numeric:tabular-nums;white-space:nowrap}.production-product-calculation-table tbody tr.is-missing td{background:#fff6f2}.production-product-calculation-table td:first-child>strong,.production-product-calculation-table td:first-child>small{display:block}.production-product-calculation-table td:first-child>strong{overflow-wrap:anywhere;color:var(--text);font-size:9px}.production-product-calculation-table td:first-child>small{margin-top:2px;color:var(--text-dim);font-size:8px}.production-product-calculation-table tfoot td{border-bottom:0;color:var(--accent-dark);background:var(--accent-soft);font-weight:900}.production-product-calculation-trigger{display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%;min-height:44px;margin:-6px 0;padding:6px 8px;border:1px solid transparent;border-radius:8px;color:inherit;background:transparent;font:inherit;text-align:left;cursor:pointer;transition:border-color .18s ease,background-color .18s ease}.production-product-calculation-trigger:hover,.production-product-calculation-trigger[aria-expanded=true]{border-color:color-mix(in srgb,var(--accent) 35%,var(--border));background:var(--accent-soft)}.production-product-calculation-trigger:focus-visible{outline:3px solid var(--accent-ring);outline-offset:2px}.production-product-calculation-trigger>span:first-child{min-width:0}.production-product-calculation-trigger>span:last-child{display:inline-grid;grid-template-columns:auto 8px;align-items:center;gap:7px;flex:0 0 auto;color:var(--accent-dark);font-size:9px;font-weight:850;white-space:nowrap}.production-product-calculation-trigger i{width:7px;height:7px;border-right:1.5px solid currentColor;border-bottom:1.5px solid currentColor;transform:rotate(45deg) translateY(-2px);transform-origin:center;transition:transform .18s ease}.production-product-calculation-trigger[aria-expanded=true] i{transform:rotate(225deg) translate(-1px,-1px)}.production-table tbody tr.production-product-row.is-expanded>td{border-bottom-color:color-mix(in srgb,var(--accent) 35%,var(--border));background:var(--accent-soft)}.production-table tbody tr.production-product-calculation-detail-row>td{min-width:0;padding:0;border-bottom:2px solid color-mix(in srgb,var(--accent) 45%,var(--border));background:var(--surface)}.production-table tbody tr.production-product-calculation-detail-row:hover>td{background:var(--surface)}.production-product-calculation-detail-row .production-product-calculation{padding:12px;border-top:0;background:color-mix(in srgb,var(--accent-soft) 44%,var(--surface))}.production-calculation-tree-table{min-width:980px}.production-calculation-tree-table tbody tr.has-child-calculation td{background:color-mix(in srgb,var(--accent-soft) 62%,var(--surface))}.production-calculation-tree-product{--calculation-depth: 0;position:relative;display:grid;grid-template-columns:10px minmax(0,1fr);gap:7px;align-items:start;min-width:0;padding-inline-start:calc(var(--calculation-depth) * 22px)}.production-calculation-tree-product>i{position:relative;width:10px;min-height:30px}.production-calculation-tree-product>i:before{content:"";position:absolute;top:0;bottom:-10px;left:4px;width:1px;background:color-mix(in srgb,var(--accent) 42%,var(--border))}.production-calculation-tree-product>i:after{content:"";position:absolute;top:7px;left:1px;width:7px;height:7px;border:2px solid var(--surface);border-radius:50%;background:var(--text-dim);box-shadow:0 0 0 1px color-mix(in srgb,var(--text-dim) 45%,var(--border))}.production-calculation-tree-table tr.has-child-calculation .production-calculation-tree-product>i:after{background:var(--accent);box-shadow:0 0 0 1px var(--accent-dark)}.production-calculation-tree-product>span{min-width:0}.production-calculation-tree-product strong,.production-calculation-tree-product small{display:block}.production-calculation-tree-product strong{overflow-wrap:anywhere;color:var(--text);font-size:9px}.production-calculation-tree-product small{margin-top:2px;color:var(--text-dim);font-size:8px;line-height:1.4}.production-calculation-tree-formula{display:block;margin-top:3px;color:var(--accent-dark);font-size:8px;font-style:normal;font-variant-numeric:tabular-nums;font-weight:850}.production-calculation-line-formula{display:grid;gap:2px}.production-calculation-line-formula small{color:var(--text-dim);font-size:8px;font-variant-numeric:tabular-nums}.production-calculation-line-formula strong{color:var(--text);font-size:9px;font-variant-numeric:tabular-nums}.production-calculation-tree-table tr.has-child-calculation .production-calculation-tree-product small{color:var(--accent-dark);font-weight:800}.production-calculation-branch-trigger{display:grid;grid-template-columns:minmax(0,1fr) 9px;align-items:center;gap:8px;width:100%;min-height:44px;margin:-6px 0;padding:6px 5px;border:1px solid transparent;border-radius:7px;color:inherit;background:transparent;font:inherit;text-align:left;cursor:pointer;transition:border-color .18s ease,background-color .18s ease}.production-calculation-branch-trigger:hover,.production-calculation-branch-trigger[aria-expanded=true]{border-color:color-mix(in srgb,var(--accent) 42%,var(--border));background:color-mix(in srgb,var(--accent-soft) 72%,var(--surface))}.production-calculation-branch-trigger:focus-visible{outline:3px solid var(--accent-ring);outline-offset:1px}.production-calculation-branch-chevron{width:7px;height:7px;border-right:1.5px solid var(--accent-dark);border-bottom:1.5px solid var(--accent-dark);transform:rotate(45deg) translateY(-2px);transform-origin:center;transition:transform .18s ease}.production-calculation-branch-trigger[aria-expanded=true] .production-calculation-branch-chevron{transform:rotate(225deg) translate(-1px,-1px)}.production-procurement-calculation>label,.production-procurement-calculation>div{display:grid;align-content:start;gap:4px;min-width:0;padding:9px 10px;border:1px solid var(--border);border-radius:9px;background:var(--surface-2)}.production-procurement-calculation>label>span,.production-procurement-calculation>div>span{color:var(--text-dim);font-size:8px;font-weight:850;letter-spacing:.04em;text-transform:uppercase}.production-procurement-calculation>div>strong{color:var(--accent-dark);font-size:15px;font-variant-numeric:tabular-nums}.production-procurement-calculation small{overflow-wrap:anywhere;color:var(--text-dim);font-size:9px;line-height:1.4}.production-procurement-calculation>.production-selected-purchase{border-color:#89c7af;background:linear-gradient(145deg,#f9fefc,var(--accent-soft))}.production-procurement-calculation>.production-selected-purchase>strong{overflow-wrap:anywhere;color:#0b5f43;font-size:17px;line-height:1.25}.production-selected-purchase>em,.production-selected-purchase>i{display:block;width:fit-content;overflow-wrap:anywhere;font-size:9px;font-style:normal}.production-selected-purchase>em{padding:2px 6px;border-radius:999px;color:#27578d;background:#e7f0ff;font-weight:800}.production-selected-purchase>i{color:#8a4b08}.production-selected-purchase>.production-selected-rs-package{display:block;width:fit-content;padding:3px 7px;border:1px solid rgba(79,167,132,.34);border-radius:6px;color:#0b5f43;background:#dff4ebb8;font-weight:750}.production-selected-purchase-meta{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:5px}.production-selected-purchase-meta>span{display:grid;gap:1px;min-width:0;padding:5px 7px;border:1px solid rgba(137,199,175,.55);border-radius:7px;background:#ffffffb8}.production-selected-purchase-meta small{color:var(--text-dim);font-size:8px}.production-selected-purchase-meta b{overflow-wrap:anywhere;color:var(--text);font-size:10px;font-variant-numeric:tabular-nums}.production-procurement-calculation>.production-procurement-total{align-content:center;padding:11px 12px;border-color:#4fa784;color:#f5fffb;background:linear-gradient(145deg,#17684f,#238863);text-align:right;box-shadow:0 4px 12px #17684f1f}.production-procurement-calculation>.production-procurement-total>span,.production-procurement-calculation>.production-procurement-total>small{color:#ffffffc7}.production-procurement-calculation>.production-procurement-total>strong{color:#fff;font-size:23px;line-height:1.15;font-variant-numeric:tabular-nums}.production-procurement-calculation>.production-procurement-total>small{font-size:8px}.production-purchase-options{margin:0 0 9px;border:1px solid var(--border);border-radius:9px;background:var(--surface)}.production-purchase-options>summary{min-height:44px;padding:12px 13px;color:var(--accent-dark);font-size:10px;font-weight:850;cursor:pointer}.production-purchase-options[open]>summary{border-bottom:1px solid var(--border);background:var(--accent-soft)}.production-purchase-options>summary:focus-visible{outline:3px solid var(--accent-ring);outline-offset:2px}.production-market-card-actions{display:flex;align-items:center;justify-content:flex-end;gap:10px;margin-top:7px}.production-market-card-actions>span{color:var(--text-dim);font-size:8px}.production-market-card-actions>button,.production-market-exclusion-list button{min-height:40px;padding:8px 11px;border:1px solid #dfaaaa;border-radius:8px;color:#982d2d;background:#fff7f7;font:inherit;font-size:9px;font-weight:850;cursor:pointer;transition:border-color var(--speed) ease,background-color var(--speed) ease,box-shadow var(--speed) ease}.production-market-card-actions>button:hover{border-color:#c86d6d;background:#ffeded}.production-market-card-actions>button:focus-visible,.production-market-exclusion-list button:focus-visible{outline:3px solid rgba(186,51,51,.22);outline-offset:2px}.production-market-exclusions{margin-bottom:10px;overflow:hidden;border:1px solid #e3c4a2;border-radius:10px;background:#fffaf2}.production-market-exclusions>summary{min-height:44px;padding:12px 13px;color:#7b4b13;font-size:10px;font-weight:850;cursor:pointer}.production-market-exclusions>summary:focus-visible{outline:3px solid rgba(180,118,43,.24);outline-offset:-3px}.production-market-exclusion-list{display:grid;gap:6px;padding:8px;border-top:1px solid #ead4bb}.production-market-exclusion-list>div{display:flex;min-width:0;align-items:center;justify-content:space-between;gap:10px;padding:7px 8px;border:1px solid #ead9c4;border-radius:8px;background:var(--surface)}.production-market-exclusion-list>div>span{display:grid;min-width:0;gap:2px}.production-market-exclusion-list strong{overflow-wrap:anywhere;color:var(--text);font-size:10px}.production-market-exclusion-list small{color:var(--text-dim);font-size:8px}.production-market-exclusion-list button{flex:0 0 auto;border-color:#9dcfbc;color:var(--accent-dark);background:var(--accent-soft)}.production-market-exclusion-list button:hover{border-color:#65ae92;background:#ddf3e9}.production-market-exclusion-list>.production-restore-all{justify-self:end}.production-purchase-option-list{display:grid;gap:6px;padding:8px}.production-purchase-option{display:grid;grid-template-columns:24px minmax(210px,1.35fr) minmax(145px,.8fr) minmax(100px,.55fr) minmax(80px,auto);gap:9px;align-items:center;min-height:62px;padding:8px 9px;border:1px solid var(--border);border-radius:9px;background:var(--surface-2);cursor:pointer}.production-purchase-option:hover,.production-purchase-option.is-selected{border-color:#82c2a9;background:var(--accent-soft)}.production-purchase-option.is-selected{box-shadow:inset 3px 0 0 var(--accent)}.production-purchase-option.is-unusable{opacity:.62;cursor:not-allowed}.production-purchase-option>input{width:18px;height:18px;accent-color:var(--accent)}.production-purchase-option>span:not(.production-option-badges){display:grid;gap:2px;min-width:0}.production-purchase-option small,.production-purchase-option em{overflow-wrap:anywhere;color:var(--text-dim);font-size:8px;font-style:normal;line-height:1.35}.production-purchase-option strong{overflow-wrap:anywhere;color:var(--text);font-size:10px;line-height:1.35}.production-option-code strong{color:var(--text-dim);font-size:10px;font-variant-numeric:tabular-nums}.production-option-supplier strong{color:var(--accent-dark);font-size:11px}.production-option-price strong{font-variant-numeric:tabular-nums}.production-option-price>.production-option-package{width:fit-content;padding:2px 5px;border-radius:999px;color:#0b5f43;background:#dff4eb;font-weight:800}.production-option-badges{display:flex;justify-content:flex-end;gap:4px;flex-wrap:wrap}.production-option-badges b{padding:3px 6px;border-radius:999px;color:#1d634a;background:#dff4eb;font-size:8px;white-space:nowrap}.production-option-badges b.month{color:#27578d;background:#e7f0ff}.production-option-badges b.status{color:#8a4b08;background:#fff1cf}.production-no-purchase-options{padding:18px;color:var(--text-dim);font-size:10px;text-align:center}.production-requirement-groups{display:grid;gap:12px}.production-supplier-group{min-width:0;overflow:hidden;border:1px solid var(--border);border-radius:11px;background:var(--surface)}.production-supplier-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 12px;border-bottom:1px solid var(--border);background:linear-gradient(145deg,var(--surface-2),var(--accent-soft))}.production-supplier-heading>div{min-width:0}.production-supplier-heading span{display:block;color:var(--text-dim);font-size:8px;font-weight:850;letter-spacing:.05em;text-transform:uppercase}.production-supplier-heading h4{overflow:hidden;margin:2px 0 0;color:var(--text);font-size:14px;text-overflow:ellipsis;white-space:nowrap}.production-supplier-heading>strong{color:var(--accent-dark);font-size:10px;white-space:nowrap}.production-supplier-group>.production-table-wrap{border:0;border-radius:0}.production-requirements-table{min-width:1120px}.production-requirements-table td:first-child{min-width:250px}.production-requirements-table td:nth-child(2){min-width:150px}.production-requirements-table td:nth-child(3){min-width:230px}.production-requirements-table td:nth-child(4){min-width:480px}.production-requirements-table td:nth-child(2) strong{color:var(--accent-dark)}.production-purchase-history{display:grid;gap:5px;margin:0;padding:0;list-style:none}.production-purchase-history li{position:relative;display:grid;grid-template-columns:minmax(150px,.8fr) minmax(150px,.8fr) minmax(210px,1.2fr);gap:8px;align-items:center;min-height:42px;padding:6px 8px;border:1px solid var(--border);border-radius:8px;background:var(--surface-2)}.production-purchase-history li>div{display:grid;gap:2px}.production-purchase-history li strong,.production-purchase-history li span,.production-purchase-history li small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.production-purchase-history li strong{font-size:10px}.production-purchase-history li span,.production-purchase-history li small{margin:0;color:var(--text-dim);font-size:9px}.production-purchase-history .production-package-label{color:var(--text);font-weight:850}.production-purchase-status{position:absolute;top:3px;right:4px;padding:2px 5px;border-radius:999px;font-size:7px;font-style:normal;font-weight:850}.production-purchase-status.status-warning{color:#8a4b08;background:#fff1cf}.production-purchase-status.status-checked{color:var(--accent-dark);background:var(--accent-soft)}.production-no-purchases{display:inline-flex;min-height:38px;align-items:center;color:var(--text-dim);font-size:10px}.production-missing-recipes{margin-bottom:12px;padding:9px 11px;border:1px solid #f0d79e;border-radius:9px;color:#7a4b0b;background:#fff9e9;font-size:10px}.production-missing-recipes summary{min-height:24px;font-weight:850;cursor:pointer}.production-missing-recipes ul{display:grid;gap:5px;margin:8px 0 0;padding-left:18px}.production-missing-recipes li span{display:block;margin-top:2px;color:#906827}.production-requirements-loading{display:grid;min-height:150px;place-items:center;border:1px dashed var(--border);border-radius:10px;color:var(--text-dim);background:var(--surface-2);font-size:11px;font-weight:750}.production-table-wrap{width:100%;overflow-x:auto;border:1px solid var(--border);border-radius:10px}.production-table{width:100%;min-width:920px;border-collapse:collapse}.production-table th,.production-table td{padding:10px 11px;border-bottom:1px solid var(--border);color:var(--text);font-size:11px;text-align:left;vertical-align:top}.production-table th{color:var(--text-dim);background:var(--surface-2);font-size:9px;font-weight:850;letter-spacing:.045em;text-transform:uppercase;white-space:nowrap}.production-table tbody tr:hover td{background:#f8fcfa}.production-table tbody tr:last-child td{border-bottom:0}.production-table td:first-child{min-width:130px}.production-table td:nth-child(2){min-width:230px}.production-table td:nth-child(3){min-width:300px}.production-table td strong,.production-table td small{display:block}.production-table td strong{font-weight:800}.production-table td small{margin-top:3px;color:var(--text-dim);font-size:9px;line-height:1.4}.production-table .num{text-align:right;font-variant-numeric:tabular-nums;white-space:nowrap}.production-table td:nth-child(4) strong{color:var(--accent-dark)}.production-empty{padding:28px!important;color:var(--text-dim)!important;text-align:center!important}.production-pagination{display:flex;align-items:center;justify-content:center;gap:12px;margin-top:12px}.production-pagination>span{min-width:130px;color:var(--text-dim);font-size:10px;font-weight:750;text-align:center}@media(max-width:1100px){.production-filter-card{grid-template-columns:repeat(2,minmax(0,1fr))}.production-search,.production-filter-card .btn{grid-column:1 / -1}.production-summary{grid-template-columns:repeat(2,minmax(0,1fr))}.production-requirement-summary{grid-template-columns:repeat(3,minmax(0,1fr))}.production-market-total{grid-column:span 2}.production-requirement-filters{grid-template-columns:repeat(2,minmax(0,1fr))}.production-sort-suppliers{grid-column:1 / -1}.production-procurement-supplier-summary{grid-template-columns:1fr}.production-procurement-supplier-overview{grid-column:1;grid-row:2;padding:0 10px 10px}.production-procurement-supplier-summary>.production-supplier-group-editor{grid-row:3}.production-procurement-status-steps{grid-template-columns:repeat(2,minmax(0,1fr))}.production-procurement-calculation{grid-template-columns:minmax(0,1fr) minmax(200px,.42fr)}.production-procurement-row-shell,.production-procurement-columns{grid-template-columns:minmax(210px,1.2fr) repeat(2,minmax(90px,.45fr)) minmax(120px,.58fr) minmax(145px,.65fr) 118px}.production-procurement-columns-detail{width:auto;color:var(--text-dim)}}@media(max-width:700px){.production-page-head,.production-section-head{align-items:flex-start;flex-direction:column}.production-market-head-status{justify-items:start;text-align:left}.production-source-note{white-space:normal}.production-filter-card,.production-summary,.production-requirement-summary,.production-requirement-filters{grid-template-columns:1fr}.production-market-total,.production-search,.production-filter-card .btn{grid-column:1}.production-presets{align-items:stretch;flex-wrap:wrap}.production-presets>span{width:100%}.production-date-row{grid-template-columns:1fr;gap:5px}.production-saved-market-card{grid-template-columns:1fr;gap:11px}.production-saved-market-title{align-items:flex-start;flex-direction:column}.production-saved-market-main p{white-space:normal}.production-saved-market-action{width:100%}.production-saved-market-actions{flex-direction:column}.production-saved-market-delete{width:100%}.production-date-row p{text-align:left}.production-section{padding:11px}.production-details{padding:0}.production-details-toggle{grid-template-columns:minmax(0,1fr) auto;gap:3px 10px;min-height:58px;padding:10px 11px}.production-details-toggle .eyebrow,.production-details-toggle small{display:none}.production-details-content{padding:0 11px 11px}.production-plan-actions{width:100%;align-items:stretch;flex-direction:column}.production-plan-actions .btn{width:100%}.production-plan-object-head{flex-direction:column}.production-plan-object-head>span{white-space:normal}.production-plan-object-grid{grid-template-columns:1fr}.production-filter-pills{display:grid;grid-template-columns:1fr}.production-filter-pills button{width:100%;text-align:left}.production-sort-suppliers{grid-column:1;width:100%;min-height:44px;white-space:normal}.production-procurement-supplier-name-button{grid-template-columns:1fr;min-height:72px;padding:10px}.production-procurement-supplier-name-button>b{font-size:10px;white-space:normal}.production-procurement-supplier-toggle{grid-template-columns:24px minmax(0,1fr);min-width:104px;min-height:72px;padding:10px}.production-procurement-supplier-toggle>b{grid-column:2;font-size:11px;white-space:normal}.production-procurement-supplier-name-button small,.production-procurement-supplier-name-button em,.production-procurement-supplier-overview small,.production-procurement-supplier-overview em{font-size:10px}.production-procurement-supplier-name-button strong{font-size:14px;white-space:normal}.production-procurement-supplier-overview{grid-template-columns:1fr}.production-procurement-supplier-overview strong{white-space:normal}.production-procurement-supplier-ready{width:100%;min-height:44px;font-size:11px}.production-procurement-card.is-supplier-group-item{width:calc(100% - 8px);margin-left:8px}.production-procurement-status-steps{grid-template-columns:repeat(2,minmax(0,1fr))}.production-procurement-status-actions{align-items:stretch;flex-direction:column}.production-procurement-status-actions>span{width:100%;margin-right:0}.production-procurement-status-actions button{width:100%;min-height:44px;font-size:11px}.production-procurement-status-steps small,.production-procurement-status-steps em{font-size:10px}.production-procurement-calculation,.production-order-controls{grid-template-columns:1fr}.production-procurement-supplier-summary>.production-supplier-group-editor{grid-template-columns:1fr}.production-supplier-group-editor-actions{display:grid;grid-template-columns:1fr}.production-supplier-group-product-head{align-items:stretch;flex-direction:column}.production-supplier-group-product-actions{display:grid;grid-template-columns:1fr 1fr}.production-order-controls .production-supplier-group-product-actions button{width:100%;min-height:42px}.production-supplier-group-product-list{grid-template-columns:1fr}.production-order-controls .production-supplier-group-editor-actions button{justify-self:stretch;width:100%;min-height:44px}.production-order-status-control{grid-template-columns:1fr}.production-order-controls .production-order-ready-action{justify-self:stretch;width:100%;min-height:44px;white-space:normal}.production-supplier-input-row{grid-template-columns:1fr}.production-procurement-calculation>.production-procurement-total{text-align:left}.production-procurement-row-shell{display:block;min-height:0;padding:0}.production-procurement-row{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;min-height:0;padding:9px 10px 10px 13px}.production-procurement-columns{display:none}.production-procurement-row-product{grid-column:1 / -1;padding-right:0}.production-procurement-row-product.has-status-select{grid-template-columns:44px minmax(0,1fr)}.production-procurement-row-status-select{width:44px;height:44px}.production-procurement-row-status{min-height:24px;font-size:11px}.production-procurement-row-metric{justify-items:start;text-align:left}.production-procurement-row-total,.production-procurement-row-unit-price{grid-column:1 / -1}.production-procurement-row-remove{position:relative;z-index:3;top:auto;right:auto;width:calc(100% - 20px);min-height:44px;margin:0 10px 10px}.production-market-card-actions,.production-market-exclusion-list>div{align-items:stretch;flex-direction:column}.production-market-card-actions>button,.production-market-exclusion-list button,.production-market-exclusion-list>.production-restore-all{width:100%}.production-procurement-title{align-items:stretch;flex-direction:column}.production-procurement-quantities{width:100%;grid-template-columns:repeat(2,minmax(0,1fr))}.production-procurement-potential{grid-column:1 / -1;max-width:none}.production-daily-coverage-head{align-items:flex-start;flex-direction:column}.production-daily-coverage-head>b{white-space:normal}.production-daily-coverage-columns{display:none}.production-daily-coverage-list>li{grid-template-columns:repeat(2,minmax(0,1fr));gap:6px 10px}.production-daily-coverage-list time,.production-daily-coverage-list>li>strong{grid-column:1 / -1}.production-daily-coverage-list>li>strong{justify-self:start;text-align:left}.production-requirement-usage-list{grid-template-columns:1fr}.production-source-product-panel{padding-left:9px}.production-source-product-list{grid-template-columns:1fr}.production-source-product-trigger{align-items:flex-start;flex-direction:column}.production-source-product-amount{width:100%;align-items:center;grid-template-columns:1fr auto;justify-items:start;text-align:left}.production-source-product-amount>b{grid-column:2;grid-row:1;justify-self:end}.production-source-product-amount>em{grid-column:1;grid-row:2}.production-source-product-amount>i{grid-column:2;grid-row:2;justify-self:end}.production-product-calculation-head{grid-template-columns:1fr}.production-product-calculation-summary{grid-template-columns:repeat(2,minmax(0,1fr))}.production-product-calculation-summary>span{text-align:left}.production-product-unit-cost-trigger{text-align:left}.production-product-cost-formula{grid-template-columns:1fr}.production-product-cost-actions{align-items:stretch;flex-direction:column}.production-product-cost-actions>div{justify-content:stretch}.production-product-cost-actions button{flex:1 1 150px}.production-product-calculation-detail-row .production-product-calculation{padding:8px}.production-calculation-tree-product{padding-inline-start:calc(var(--calculation-depth) * 14px)}.production-product-calculation-error{align-items:stretch;flex-direction:column}.production-product-calculation-error>button{width:100%}.production-procurement-required,.production-procurement-buying,.production-procurement-potential{text-align:left}.production-potential-formula{max-width:none}.production-purchase-option{grid-template-columns:24px 1fr;align-items:start}.production-purchase-option>span{grid-column:2}.production-option-badges{justify-content:flex-start}.production-purchase-history li{grid-template-columns:1fr;gap:3px}}@media(prefers-reduced-motion:reduce){.production-filter-pills button,.production-procurement-row,.production-procurement-row-remove,.production-procurement-product-button,.production-procurement-usage-hint>i,.production-requirement-object,.production-requirement-object-trigger,.production-requirement-object-amount>i,.production-source-product,.production-source-product-trigger,.production-source-product-amount>i,.production-product-calculation-trigger,.production-product-calculation-trigger i,.production-product-unit-cost-trigger,.production-product-unit-cost-trigger>i,.production-calculation-branch-trigger,.production-calculation-branch-chevron{transition:none}}@media(max-width:700px){.gmail-rs-invoice-title,.gmail-invoice-subtitle{align-items:flex-start;flex-direction:column}.gmail-rs-invoice-card{grid-template-columns:1fr}}@media(prefers-reduced-motion:reduce){.production-object-card{transition:none}}.customer-db-page{width:100%;min-width:0;overflow-x:hidden}.customer-db-page svg,.block-icon-customer svg{display:block;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.block-icon-customer{display:grid;width:42px;height:42px;place-items:center;border-radius:13px;color:#075985;background:#e0f2fe}.block-icon-customer svg{width:25px;height:25px}.customer-db-hero{display:flex;align-items:flex-end;justify-content:space-between;gap:24px;margin-bottom:16px;padding:26px 28px;overflow:hidden;border:1px solid #cbdfe8;border-radius:20px;background:radial-gradient(circle at 90% 0%,rgba(14,165,233,.12),transparent 32%),linear-gradient(135deg,#f8fcfe,#fff 64%);box-shadow:var(--shadow-sm)}.customer-db-eyebrow{display:block;margin-bottom:6px;color:#0369a1;font-size:11px;font-weight:800;letter-spacing:.08em;text-transform:uppercase}.customer-db-hero h1{margin:0;font-size:clamp(27px,3vw,38px);letter-spacing:-.035em}.customer-db-hero p{max-width:760px;margin:8px 0 0;color:var(--text-dim);font-size:14px}.customer-db-pos-note{display:flex;flex:0 0 auto;align-items:center;gap:11px;min-width:225px;padding:12px 14px;border:1px solid #a7f3d0;border-radius:14px;color:var(--accent-dark);background:#ecfdf5d9}.customer-db-pos-note div{display:grid}.customer-db-pos-note strong{font-size:13px}.customer-db-pos-note span{color:#477267;font-size:11px;font-variant-numeric:tabular-nums}.customer-db-pos-note small{margin-top:2px;color:#6b8c84;font-size:10px;font-variant-numeric:tabular-nums}.customer-db-controls{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:12px;padding:10px;border:1px solid var(--border);border-radius:14px;background:var(--surface);box-shadow:var(--shadow-sm)}.customer-db-presets{display:flex;gap:4px;padding:3px;border-radius:10px;background:var(--surface-2)}.customer-db-presets button,.customer-db-detail-tabs button{border:0;font-family:inherit;cursor:pointer}.customer-db-presets button{min-height:34px;padding:6px 11px;border-radius:8px;color:var(--text-dim);font-size:12px;font-weight:700;background:transparent}.customer-db-presets button.active{color:#075985;background:#fff;box-shadow:0 1px 4px #16211b17}.customer-db-dates{display:flex;align-items:flex-end;gap:8px}.customer-db-dates label,.customer-db-select{display:grid;gap:3px}.customer-db-dates label>span,.customer-db-select>span{color:var(--text-dim);font-size:10px;font-weight:800;letter-spacing:.04em;text-transform:uppercase}.customer-db-dates input,.customer-db-select select{min-height:38px;border:1px solid var(--border);border-radius:9px;color:var(--text);font:inherit;font-size:12px;background:#fff}.customer-db-dates input{padding:7px 9px}.customer-db-select select{min-width:145px;padding:7px 30px 7px 10px}.customer-db-dates .btn{min-height:38px;padding:7px 13px;font-size:12px}.customer-db-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin-bottom:12px}.customer-db-kpi{display:flex;align-items:center;gap:12px;min-width:0;padding:15px 16px;border:1px solid var(--border);border-radius:14px;background:var(--surface);box-shadow:var(--shadow-sm)}.customer-db-kpi-icon{display:grid;flex:0 0 38px;width:38px;height:38px;place-items:center;border-radius:11px;color:#075985;background:#e0f2fe}.customer-db-kpi.is-success .customer-db-kpi-icon{color:var(--accent-dark);background:var(--accent-soft)}.customer-db-kpi.is-money .customer-db-kpi-icon{color:#5b21b6;background:#ede9fe}.customer-db-kpi.is-review .customer-db-kpi-icon{color:#92400e;background:#fef3c7}.customer-db-kpi>div{display:grid;min-width:0}.customer-db-kpi-label{color:var(--text-dim);font-size:11px}.customer-db-kpi strong{overflow:hidden;font-size:21px;line-height:1.25;text-overflow:ellipsis;white-space:nowrap;font-variant-numeric:tabular-nums}.customer-db-kpi small{overflow:hidden;color:var(--text-dim);font-size:10.5px;text-overflow:ellipsis;white-space:nowrap}.customer-db-panel{overflow:hidden;border:1px solid var(--border);border-radius:16px;background:var(--surface);box-shadow:var(--shadow-sm)}.customer-db-toolbar{display:flex;align-items:center;flex-wrap:wrap;gap:10px;padding:12px;border-bottom:1px solid var(--border);background:var(--surface-2)}.customer-db-filter-summary{display:grid;flex:1 1 320px;gap:2px;min-width:0}.customer-db-filter-summary strong{color:var(--text);font-size:12px}.customer-db-filter-summary span{color:var(--text-dim);font-size:10.5px}.customer-db-clear-filters{min-height:40px;padding:8px 12px;font-size:11px;white-space:nowrap}.customer-db-clear-filters:disabled{opacity:.45;cursor:not-allowed}.customer-db-search{display:flex;flex:1 1 360px;align-items:center;gap:8px;min-height:40px;padding:0 11px;border:1px solid var(--border);border-radius:10px;color:var(--text-dim);background:#fff}.customer-db-search:focus-within{border-color:#38bdf8;box-shadow:0 0 0 3px #0ea5e921}.customer-db-search input{flex:1;min-width:0;border:0;outline:0;color:var(--text);font:inherit;font-size:13px;background:transparent}.customer-db-search button,.customer-db-icon-button,.customer-db-row-open{display:grid;padding:0;border:0;place-items:center;color:var(--text-dim);cursor:pointer;background:transparent}.customer-db-result-count{align-self:center;padding:0 4px;color:var(--text-dim);font-size:11px;white-space:nowrap}.customer-db-add-button{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:40px;padding:8px 13px;white-space:nowrap}.customer-db-table-wrap{width:100%;min-width:0;overflow-x:hidden}.customer-db-table{width:100%;min-width:0;table-layout:fixed;border-collapse:collapse}.customer-db-table th{padding:9px 10px 10px;border-bottom:1px solid var(--border);color:var(--text-dim);font-size:10px;font-weight:800;letter-spacing:.04em;text-align:left;text-transform:uppercase;vertical-align:top;background:#fff}.customer-db-table th:nth-child(1){width:25%}.customer-db-table th:nth-child(2){width:18%}.customer-db-table th:nth-child(3){width:19%}.customer-db-table th:nth-child(4){width:19%}.customer-db-table th:nth-child(5){width:15%}.customer-db-table th:last-child{width:4%}.customer-db-sort-button,.customer-db-column-title{display:flex;width:100%;min-height:30px;align-items:center;gap:5px;padding:0 2px;border:0;color:var(--text-dim);font:inherit;font-weight:850;letter-spacing:.04em;text-align:left;text-transform:uppercase;background:transparent}.customer-db-sort-button{cursor:pointer}.customer-db-sort-button.is-numeric{justify-content:flex-end;text-align:right}.customer-db-sort-button span{color:#0284c7;font-size:13px;line-height:1}.customer-db-sort-button:hover{color:#075985}.customer-db-sort-button:focus-visible{border-radius:6px;outline:2px solid #38bdf8;outline-offset:1px}.customer-db-head-filter{display:grid;gap:5px;margin-top:3px;letter-spacing:normal;text-align:left;text-transform:none}.customer-db-head-filter select,.customer-db-head-filter input{width:100%;min-width:0;min-height:34px;padding:6px 28px 6px 8px;border:1px solid #d9e2e7;border-radius:8px;outline:0;color:var(--text);font:inherit;font-size:10.5px;letter-spacing:normal;text-align:left;text-transform:none;background:#f8fbfc}.customer-db-head-filter input{padding-right:8px;font-variant-numeric:tabular-nums}.customer-db-head-filter select:focus,.customer-db-head-filter input:focus{border-color:#38bdf8;box-shadow:0 0 0 2px #0ea5e921;background:#fff}.customer-db-head-search label{display:flex;align-items:center;gap:6px;min-height:34px;padding-left:8px;border:1px solid #d9e2e7;border-radius:8px;color:var(--text-dim);background:#f8fbfc}.customer-db-head-search label:focus-within{border-color:#38bdf8;box-shadow:0 0 0 2px #0ea5e921;background:#fff}.customer-db-head-search label input{min-height:32px;padding:5px 0;border:0;box-shadow:none;background:transparent}.customer-db-head-search label input:focus{box-shadow:none;background:transparent}.customer-db-head-search label button{display:grid;flex:0 0 32px;width:32px;height:32px;padding:0;border:0;place-items:center;color:var(--text-dim);cursor:pointer;background:transparent}.customer-db-head-search label button:hover{color:#075985}.customer-db-head-search label button:focus-visible{border-radius:6px;outline:2px solid #38bdf8;outline-offset:-2px}.customer-db-table td{min-width:0;padding:11px 14px;border-bottom:1px solid #efefe9;overflow:hidden;vertical-align:middle}.customer-db-table tbody tr:last-child td{border-bottom:0}.customer-db-table tbody tr{transition:background var(--speed) ease}.customer-db-table tbody tr:hover{background:#f8fcfe}.customer-db-table .numeric{text-align:right;font-variant-numeric:tabular-nums}.customer-db-table td>strong{display:block;font-size:12.5px}.customer-db-table td>small{display:block;margin-top:2px;overflow-wrap:anywhere;color:var(--text-dim);font-size:10.5px;white-space:normal}.customer-db-name{display:flex;align-items:center;gap:10px;width:100%;max-width:100%;padding:0;border:0;color:var(--text);font:inherit;text-align:left;cursor:pointer;background:transparent}.customer-db-name>span:last-child{display:grid;min-width:0}.customer-db-name strong{overflow:hidden;font-size:12.5px;text-overflow:ellipsis;white-space:nowrap}.customer-db-name small{overflow:hidden;color:var(--text-dim);font-size:10.5px;text-overflow:ellipsis;white-space:nowrap}.customer-db-avatar{display:grid;flex:0 0 34px;width:34px;height:34px;place-items:center;border-radius:10px;color:#075985;font-size:13px;font-weight:800;background:#e0f2fe}.customer-db-status{display:inline-flex;align-items:center;min-height:22px;padding:3px 7px;border:1px solid;border-radius:999px;font-size:9.5px;font-weight:800;white-space:nowrap}.customer-db-status.is-confirmed{border-color:#a7f3d0;color:#065f46;background:#ecfdf5}.customer-db-status.is-probable{border-color:#bae6fd;color:#075985;background:#f0f9ff}.customer-db-status.is-review{border-color:#fde68a;color:#92400e;background:#fffbeb}.customer-db-status.is-internal{border-color:#ddd6fe;color:#5b21b6;background:#f5f3ff}.customer-db-chips{display:flex;flex-wrap:wrap;gap:3px;margin-top:4px}.customer-db-source{display:inline-flex;padding:2px 5px;border-radius:5px;color:#52615a;font-size:8.5px;font-weight:700;background:#f0f1ed}.customer-db-muted{color:var(--text-dim)}.customer-db-row-open{width:30px;height:30px;border-radius:8px}.customer-db-row-open:hover{color:#075985;background:#e0f2fe}.customer-db-pagination{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 12px;border-top:1px solid var(--border);color:var(--text-dim);font-size:11px;background:var(--surface-2)}.customer-db-pagination div{display:flex;align-items:center;gap:10px}.customer-db-pagination .btn{min-height:32px;padding:5px 11px;font-size:11px}.customer-db-pagination button:disabled{opacity:.45;cursor:not-allowed}.customer-db-loading,.customer-db-empty{min-height:280px;display:flex;align-items:center;justify-content:center;gap:6px;color:var(--text-dim);font-size:13px}.customer-db-loading>span{width:6px;height:6px;border-radius:50%;background:#0ea5e9;animation:customer-db-pulse 1s ease-in-out infinite alternate}.customer-db-loading>span:nth-child(2){animation-delay:.16s}.customer-db-loading>span:nth-child(3){animation-delay:.32s}@keyframes customer-db-pulse{to{opacity:.25;transform:translateY(-3px)}}.customer-db-empty{flex-direction:column;padding:34px;text-align:center}.customer-db-empty>span{display:grid;width:46px;height:46px;place-items:center;border-radius:13px;color:#075985;background:#e0f2fe}.customer-db-empty strong{margin-top:4px;color:var(--text)}.customer-db-empty p{max-width:420px;margin:0;font-size:12px}.customer-db-error{margin-bottom:12px;padding:11px 13px;border:1px solid #fecaca;border-radius:11px;color:#991b1b;font-size:12px;background:#fef2f2}.customer-db-notice{margin-bottom:12px;padding:11px 13px;border:1px solid #a7f3d0;border-radius:11px;color:#065f46;font-size:12px;font-weight:700;background:#ecfdf5}.customer-db-modal-backdrop{position:fixed;z-index:1000;top:0;right:0;bottom:0;left:0;display:grid;padding:24px;place-items:center;background:#0f171494;-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px)}.customer-db-modal{width:min(1180px,100%);max-height:min(860px,calc(100vh - 48px));overflow:auto;border:1px solid rgba(255,255,255,.28);border-radius:20px;background:var(--surface);box-shadow:var(--shadow-lg)}.customer-db-modal-head{position:sticky;z-index:3;top:0;display:flex;align-items:flex-start;justify-content:space-between;gap:20px;padding:20px 22px 16px;border-bottom:1px solid var(--border);background:#fffffff5;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}.customer-db-modal-head h2{margin:0;font-size:23px}.customer-db-modal-head p{max-width:560px;margin:5px 0 0;color:var(--text-dim);font-size:11.5px}.customer-db-identity-line{display:flex;align-items:center;gap:8px;margin-top:7px;color:var(--text-dim);font-size:11px}.customer-db-icon-button{flex:0 0 38px;width:38px;height:38px;border-radius:10px}.customer-db-icon-button:hover{color:var(--text);background:var(--surface-2)}.customer-db-icon-button:disabled{opacity:.45;cursor:not-allowed}.customer-db-modal-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));border-bottom:1px solid var(--border);background:#f8fcfe}.customer-db-modal-summary>div{display:grid;min-width:0;padding:13px 18px;border-right:1px solid var(--border)}.customer-db-modal-summary>div:last-child{border-right:0}.customer-db-modal-summary span{color:var(--text-dim);font-size:10px}.customer-db-modal-summary strong{overflow:hidden;font-size:16px;text-overflow:ellipsis;white-space:nowrap;font-variant-numeric:tabular-nums}.customer-db-management-bar{display:flex;align-items:flex-end;justify-content:space-between;gap:14px;padding:11px 18px;border-bottom:1px solid var(--border);background:#fff}.customer-db-management-bar>div{display:flex;align-items:flex-end;gap:7px}.customer-db-management-bar label{align-self:center;color:var(--text-dim);font-size:10px;font-weight:800}.customer-db-management-bar select{min-width:155px;min-height:36px;padding:6px 30px 6px 9px;border:1px solid var(--border);border-radius:8px;color:var(--text);font:inherit;font-size:11.5px;background:#fff}.customer-db-management-bar .btn{display:inline-flex;align-items:center;gap:6px;min-height:36px;padding:6px 11px;font-size:11px}.customer-db-management-bar button:disabled,.customer-db-form-actions button:disabled{opacity:.45;cursor:not-allowed}.customer-db-delete-button{margin-left:auto;border-color:#fecaca;color:#991b1b;background:#fff}.customer-db-delete-button:hover{border-color:#fca5a5;background:#fef2f2}.customer-db-management-error,.customer-db-form-error{padding:10px 13px;color:#991b1b;font-size:11.5px;background:#fef2f2}.customer-db-management-error{border-bottom:1px solid #fecaca}.customer-db-form-error{grid-column:1 / -1;border:1px solid #fecaca;border-radius:9px}.customer-db-delete-confirm{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:13px 18px;border-bottom:1px solid #fecaca;color:#7f1d1d;background:#fff7f7}.customer-db-delete-confirm strong{font-size:12px}.customer-db-delete-confirm p{margin:2px 0 0;font-size:10.5px}.customer-db-delete-confirm>div:last-child{display:flex;flex:0 0 auto;gap:7px}.customer-db-delete-confirm .btn{min-height:36px;padding:6px 11px;font-size:11px}.customer-db-delete-confirm-button{border-color:#b91c1c;color:#fff;background:#b91c1c}.customer-db-delete-confirm-button:hover{border-color:#991b1b;background:#991b1b}.customer-db-create-modal{width:min(760px,100%)}.customer-db-create-form{padding:20px 22px 22px}.customer-db-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px}.customer-db-field{display:grid;align-content:start;gap:5px}.customer-db-field.is-wide{grid-column:1 / -1}.customer-db-field>span{color:var(--text);font-size:11px;font-weight:800}.customer-db-field input,.customer-db-field select,.customer-db-field textarea{width:100%;min-height:44px;padding:9px 11px;border:1px solid var(--border-strong);border-radius:9px;outline:none;color:var(--text);font:inherit;font-size:13px;background:#fff;transition:border-color var(--speed) ease,box-shadow var(--speed) ease}.customer-db-field textarea{min-height:84px;resize:vertical}.customer-db-field input:focus,.customer-db-field select:focus,.customer-db-field textarea:focus{border-color:#0284c7;box-shadow:0 0 0 3px #0284c721}.customer-db-field small{color:var(--text-dim);font-size:9.5px}.customer-db-form-actions{display:flex;justify-content:flex-end;gap:8px;margin-top:18px;padding-top:16px;border-top:1px solid var(--border)}.customer-db-form-actions .btn{min-width:130px}.customer-db-detail-layout{display:grid;grid-template-columns:285px minmax(0,1fr);min-height:480px}.customer-db-facts{padding:18px;border-right:1px solid var(--border);background:var(--surface-2)}.customer-db-facts h3{margin:0 0 10px;color:var(--text-dim);font-size:10px;letter-spacing:.04em;text-transform:uppercase}.customer-db-facts dl{display:grid;gap:0;margin:0}.customer-db-facts dl>div{padding:8px 0;border-bottom:1px solid var(--border)}.customer-db-facts dt{color:var(--text-dim);font-size:9.5px}.customer-db-facts dd{margin:2px 0 0;overflow-wrap:anywhere;font-size:11.5px;font-weight:650}.customer-db-purposes{margin-top:18px}.customer-db-purposes p{display:flex;align-items:flex-start;justify-content:space-between;gap:8px;margin:0;padding:7px 0;border-bottom:1px solid var(--border);font-size:10.5px}.customer-db-purposes small{flex:0 0 auto;color:#075985;font-weight:800}.customer-db-zones{display:grid;gap:8px;margin-top:18px}.customer-db-zones h3{margin-bottom:2px}.customer-db-zones article{display:grid;gap:6px;padding:10px;border:1px solid var(--border);border-radius:10px;background:var(--surface)}.customer-db-zones article.is-inactive{opacity:.68}.customer-db-zone-head{display:flex;align-items:center;justify-content:space-between;gap:8px}.customer-db-zone-head>strong{color:var(--text);font-size:11.5px}.customer-db-zone-head>small{flex:0 0 auto;color:#047857;font-size:8.5px;font-weight:800;text-transform:uppercase}.customer-db-zones article.is-inactive .customer-db-zone-head>small{color:var(--text-dim)}.customer-db-zones article>span{color:var(--text-dim);font-size:10px;line-height:1.45}.customer-db-zone-metrics{display:grid;grid-template-columns:1fr 1fr;gap:5px;margin:3px 0}.customer-db-zone-metrics>span{display:grid;gap:2px;min-width:0;padding:6px;border-radius:7px;background:var(--surface-2)}.customer-db-zone-metrics small{color:var(--text-dim);font-size:8px}.customer-db-zone-metrics strong{overflow-wrap:anywhere;color:var(--text);font-size:9.5px}.customer-db-zone-metrics .is-linked strong{color:#047857}.customer-db-zone-metrics .is-unlinked strong{color:#a16207}.customer-db-zones article>small{display:flex;flex-wrap:wrap;align-items:center;gap:5px 9px;color:var(--text);font-size:10px;font-weight:700}.customer-db-zones a{color:#075985;font-weight:800;text-decoration:none}.customer-db-zones a:hover{text-decoration:underline}.customer-db-detail-main{min-width:0;padding:16px 18px 20px}.customer-db-detail-tabs{display:flex;gap:5px;margin-bottom:14px;padding-bottom:10px;overflow-x:auto;border-bottom:1px solid var(--border)}.customer-db-detail-tabs button{display:inline-flex;align-items:center;gap:7px;min-height:34px;padding:6px 10px;border-radius:8px;color:var(--text-dim);font-size:11px;font-weight:750;white-space:nowrap;background:transparent}.customer-db-detail-tabs button span{display:grid;min-width:20px;height:20px;padding:0 5px;place-items:center;border-radius:999px;font-size:9px;background:#eceeea}.customer-db-detail-tabs button.active{color:#075985;background:#e0f2fe}.customer-db-detail-tabs button.active span{color:#fff;background:#0284c7}.customer-db-source-list{display:grid;gap:7px}.customer-db-source-list article{display:grid;grid-template-columns:38px minmax(0,1fr) auto;align-items:center;gap:11px;min-height:58px;padding:9px 11px;border:1px solid var(--border);border-radius:11px;background:#fff}.customer-db-source-list article>div{min-width:0}.customer-db-source-list article strong{display:block;overflow:hidden;font-size:12.5px;text-overflow:ellipsis;white-space:nowrap;font-variant-numeric:tabular-nums}.customer-db-source-list article p{margin:2px 0 0;overflow:hidden;color:var(--text-dim);font-size:10.5px;text-overflow:ellipsis;white-space:nowrap}.customer-db-source-list time{color:var(--text-dim);font-size:10px;white-space:nowrap}.customer-db-bank-mark,.customer-db-list-icon{display:grid;width:34px;height:34px;place-items:center;border-radius:9px;font-size:8.5px;font-weight:900}.customer-db-bank-mark.is-tbc{color:#065f46;background:#d1fae5}.customer-db-bank-mark.is-bog{color:#991b1b;background:#fee2e2}.customer-db-list-icon{color:#075985;background:#e0f2fe}.customer-db-detail-loading{min-height:280px}@media(max-width:900px){.customer-db-table,.customer-db-table thead,.customer-db-table tbody{display:block;width:100%}.customer-db-table thead{padding:10px;border-bottom:1px solid var(--border);background:#f8fbfc}.customer-db-table thead tr{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.customer-db-table th,.customer-db-table th:nth-child(n){display:block;width:auto;min-width:0;padding:0;border:0;background:transparent}.customer-db-table th:last-child{display:none}.customer-db-column-title,.customer-db-sort-button{min-height:28px}.customer-db-table tbody{display:grid;gap:10px;padding:10px;background:#f6f8f7}.customer-db-table tbody tr{position:relative;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));overflow:hidden;border:1px solid var(--border);border-radius:12px;background:#fff}.customer-db-table tbody tr:hover{background:#fff}.customer-db-table td{display:block;padding:10px 12px;border-bottom:1px solid #eef1ee;text-align:left!important}.customer-db-table td:before{display:block;margin-bottom:4px;color:var(--text-dim);font-size:9px;font-weight:850;letter-spacing:.04em;text-transform:uppercase}.customer-db-table td:nth-child(1),.customer-db-table td:nth-child(2){grid-column:1 / -1}.customer-db-table td:nth-child(1){padding-right:48px}.customer-db-table td:nth-child(2):before{content:"სტატუსი / წყარო"}.customer-db-table td:nth-child(3):before{content:"ჩარიცხვა"}.customer-db-table td:nth-child(4):before{content:"RS რეალიზაცია"}.customer-db-table td:nth-child(5):before{content:"აქტივობა"}.customer-db-table td:nth-child(5){grid-column:1 / -1;border-bottom:0}.customer-db-table td:nth-child(6){position:absolute;top:8px;right:8px;padding:0;border:0}.customer-db-name{max-width:none}.customer-db-row-open{width:36px;height:36px}}@media(max-width:1040px){.customer-db-hero{align-items:flex-start;flex-direction:column}.customer-db-pos-note{width:100%}.customer-db-controls{align-items:stretch;flex-direction:column}.customer-db-dates{justify-content:flex-end}.customer-db-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}.customer-db-toolbar{align-items:stretch;flex-wrap:wrap}.customer-db-filter-summary{flex-basis:100%}.customer-db-select{flex:1}.customer-db-select select{width:100%}.customer-db-result-count{margin-left:auto}.customer-db-add-button{flex:1 1 auto}}@media(max-width:720px){.customer-db-hero{padding:20px}.customer-db-presets{overflow-x:auto}.customer-db-presets button{flex:0 0 auto}.customer-db-dates{display:grid;grid-template-columns:1fr 1fr}.customer-db-dates input{width:100%}.customer-db-dates .btn{grid-column:1 / -1}.customer-db-kpis{grid-template-columns:1fr}.customer-db-result-count{width:100%;margin:0}.customer-db-clear-filters,.customer-db-add-button{width:100%;min-height:44px}.customer-db-modal-backdrop{align-items:end;padding:0}.customer-db-modal{width:100%;max-height:94vh;border-radius:20px 20px 0 0}.customer-db-modal-summary{grid-template-columns:repeat(2,minmax(0,1fr))}.customer-db-modal-summary>div:nth-child(2){border-right:0}.customer-db-modal-summary>div:nth-child(-n+2){border-bottom:1px solid var(--border)}.customer-db-detail-layout{grid-template-columns:1fr}.customer-db-facts{border-right:0;border-bottom:1px solid var(--border)}.customer-db-source-list article{grid-template-columns:34px minmax(0,1fr)}.customer-db-source-list time{grid-column:2}.customer-db-management-bar{align-items:stretch;flex-direction:column}.customer-db-management-bar>div{display:grid;grid-template-columns:1fr}.customer-db-management-bar label{align-self:auto}.customer-db-management-bar select,.customer-db-management-bar .btn{width:100%;min-height:44px}.customer-db-delete-confirm{align-items:stretch;flex-direction:column}.customer-db-delete-confirm>div:last-child{display:grid;grid-template-columns:1fr 1fr}.customer-db-delete-confirm .btn{min-height:44px}.customer-db-create-form{padding:16px}.customer-db-form-grid{grid-template-columns:1fr}.customer-db-field.is-wide{grid-column:1}.customer-db-form-actions{display:grid;grid-template-columns:1fr}.customer-db-form-actions .btn{width:100%;min-height:44px}}@media(max-width:560px){.customer-db-table thead tr,.customer-db-table tbody tr{grid-template-columns:minmax(0,1fr)}.customer-db-table td:nth-child(n){grid-column:1}.customer-db-table td:nth-child(5){border-bottom:0}.customer-db-head-filter select,.customer-db-head-filter input,.customer-db-head-search label{min-height:44px;font-size:12px}.customer-db-head-search label input{min-height:42px}.customer-db-head-search label button{flex-basis:42px;width:42px;height:42px}}@media(prefers-reduced-motion:reduce){.customer-db-loading>span{animation:none}.customer-db-table tbody tr{transition:none}}.block-icon-supplier{color:#047857;background:linear-gradient(145deg,#d1fae5,#ecfdf5);box-shadow:inset 0 0 0 1px #0478571f}.block-icon-supplier svg{width:26px;height:26px}.suppliers-page{display:grid;gap:18px}.supplier-page-head{display:flex;align-items:flex-end;justify-content:space-between;gap:24px;margin:0;padding:24px 26px;border:1px solid #d8eee4;border-radius:20px;background:radial-gradient(circle at 92% 8%,rgba(16,185,129,.11),transparent 31%),linear-gradient(145deg,#fff,#f5fbf8);box-shadow:0 18px 42px #0f473412}.supplier-page-head h2{margin:7px 0 4px;font-size:clamp(25px,3vw,34px);letter-spacing:-.035em}.supplier-page-head p{max-width:760px;margin:0;color:var(--text-dim);font-size:13px;line-height:1.65}.supplier-eyebrow,.supplier-modal-eyebrow{display:inline-flex;align-items:center;gap:8px;color:#047857;font-size:10px;font-weight:850;letter-spacing:.08em;text-transform:uppercase}.supplier-eyebrow svg,.supplier-modal-eyebrow svg{width:19px;height:19px}.supplier-sync-note{display:grid;flex:0 0 auto;gap:4px;min-width:190px;padding:12px 15px;border:1px solid #d8eee4;border-radius:12px;background:#fffc}.supplier-sync-note span{color:var(--text-dim);font-size:9.5px;font-weight:750}.supplier-sync-note strong{font-size:12px;font-variant-numeric:tabular-nums}.supplier-stat-grid,.supplier-detail-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.supplier-stat-grid>div,.supplier-detail-stats>div{display:grid;gap:5px;min-width:0;padding:16px 18px;border:1px solid var(--border);border-radius:14px;background:var(--surface);box-shadow:0 8px 24px #11362b0b}.supplier-stat-grid span,.supplier-detail-stats span{color:var(--text-dim);font-size:10px;font-weight:700}.supplier-stat-grid strong,.supplier-detail-stats strong{overflow:hidden;font-size:19px;text-overflow:ellipsis;white-space:nowrap;font-variant-numeric:tabular-nums}.supplier-stat-grid small{color:#64748b;font-size:9px;font-weight:650}.supplier-global-stat-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.supplier-catalog-panel{overflow:hidden;border:1px solid var(--border);border-radius:18px;background:var(--surface);box-shadow:var(--shadow-sm)}.supplier-period-overview{display:grid;grid-template-columns:minmax(240px,1fr) minmax(180px,.55fr) minmax(250px,.8fr);align-items:center;gap:18px;padding:18px 20px;border-bottom:1px solid #a7f3d0;color:#064e3b;background:linear-gradient(115deg,#ecfdf5,#f8fffb 54%,#dff8ed)}.supplier-period-overview>div{display:grid;gap:4px;min-width:0}.supplier-period-overview span{color:#047857;font-size:9.5px;font-weight:800;letter-spacing:.025em}.supplier-period-overview strong{overflow:hidden;font-size:20px;text-overflow:ellipsis;white-space:nowrap;font-variant-numeric:tabular-nums}.supplier-period-title strong{font-size:13px}.supplier-period-grand-total{padding-left:18px;border-left:1px solid #a7f3d0}.supplier-period-grand-total strong{font-size:clamp(22px,2.4vw,29px)}.supplier-period-overview.is-loading strong{color:#94a3b8}.supplier-filter-grid{display:grid;grid-template-columns:repeat(4,minmax(150px,1fr));align-items:end;gap:11px;padding:17px;border-bottom:1px solid var(--border);background:var(--surface-2)}.supplier-filter-grid label{display:grid;gap:6px;min-width:0}.supplier-search-field{grid-column:span 2}.supplier-filter-grid label>span{color:var(--text-dim);font-size:10px;font-weight:800}.supplier-filter-grid input,.supplier-filter-grid select{width:100%;min-height:44px;padding:9px 11px;border:1px solid var(--border-strong);border-radius:10px;outline:none;color:var(--text);font:inherit;font-size:12px;background:#fff;transition:border-color var(--speed) ease,box-shadow var(--speed) ease}.supplier-filter-grid select{padding-right:34px}.supplier-filter-grid input:focus,.supplier-filter-grid select:focus{border-color:#059669;box-shadow:0 0 0 3px #05966921}.supplier-reset{min-height:44px;white-space:nowrap}.supplier-result-bar{display:flex;align-items:center;justify-content:space-between;gap:16px;min-height:45px;padding:9px 17px;border-bottom:1px solid var(--border);color:var(--text-dim);font-size:10.5px}.supplier-result-bar strong{color:var(--text);font-size:12px}.supplier-table-wrap{overflow-x:auto;transition:opacity .18s ease}.supplier-table-wrap.is-loading{min-height:300px;opacity:.48}.supplier-table{width:100%;min-width:1160px;table-layout:fixed}.supplier-table th:nth-child(1){width:18%}.supplier-table th:nth-child(2){width:13%}.supplier-table th:nth-child(3){width:18%}.supplier-table th:nth-child(4){width:8%}.supplier-table th:nth-child(5){width:11%}.supplier-table th:nth-child(6){width:12%}.supplier-table th:nth-child(7){width:11%}.supplier-table th:nth-child(8){width:9%}.supplier-table th{color:var(--text-dim);font-size:9.5px;font-weight:800}.supplier-sort-button{display:inline-flex;width:100%;min-height:30px;align-items:center;justify-content:space-between;gap:6px;padding:4px 0;border:0;border-radius:6px;color:inherit;font:inherit;font-weight:inherit;text-align:left;background:transparent;cursor:pointer}.supplier-table th.num-col .supplier-sort-button{justify-content:flex-end;text-align:right}.supplier-sort-button:hover,.supplier-sort-button.active{color:#047857}.supplier-sort-button:focus-visible{outline:2px solid #10b981;outline-offset:3px}.supplier-sort-icon{flex:0 0 auto;color:#94a3b8;font-size:12px;line-height:1}.supplier-sort-button.active .supplier-sort-icon{color:#059669}.supplier-table td{vertical-align:middle;font-size:11px;line-height:1.45}.supplier-table td small,.supplier-detail-table td small{display:block;margin-top:3px;color:var(--text-dim);font-size:9px;font-weight:500}.supplier-name-cell strong{display:block;overflow-wrap:anywhere;font-size:12.5px}.supplier-address-cell{overflow-wrap:anywhere;color:#475569}.supplier-total-cell{font-weight:800;font-variant-numeric:tabular-nums}.supplier-vat-pill{display:inline-flex;min-height:25px;align-items:center;padding:4px 8px;border:1px solid #e2e8f0;border-radius:999px;color:#475569;font-size:9px;font-weight:800;white-space:nowrap;background:#f8fafc}.supplier-vat-pill.is-vat{border-color:#a7f3d0;color:#047857;background:#ecfdf5}.supplier-detail-button{min-width:72px;min-height:38px}.supplier-empty{padding:44px 20px!important;color:var(--text-dim);text-align:center}.supplier-pagination{display:flex;align-items:center;justify-content:center;gap:14px;padding:13px 17px;border-top:1px solid var(--border);color:var(--text-dim);font-size:10.5px;background:var(--surface-2)}.supplier-pagination .btn{min-width:84px;min-height:40px}.supplier-modal-backdrop{position:fixed;z-index:1000;top:0;right:0;bottom:0;left:0;display:grid;padding:24px;place-items:center;background:#0f171499;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px)}.supplier-modal{width:min(1180px,100%);max-height:min(900px,calc(100dvh - 48px));overflow:hidden;border:1px solid rgba(255,255,255,.25);border-radius:22px;background:var(--surface);box-shadow:var(--shadow-lg)}.supplier-modal-head{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;padding:20px 22px 17px;border-bottom:1px solid var(--border);background:linear-gradient(145deg,#fff,#f4fbf7)}.supplier-modal-head h2{margin:5px 0 0;font-size:24px;letter-spacing:-.025em}.supplier-modal-head p{margin:4px 0 0;color:var(--text-dim);font-size:11px}.supplier-modal-close{display:grid;flex:0 0 44px;width:44px;height:44px;place-items:center;border:1px solid var(--border);border-radius:12px;color:var(--text-dim);font-size:24px;line-height:1;background:#fff}.supplier-modal-close:hover{color:var(--text);background:var(--surface-2)}.supplier-modal-body{display:grid;gap:15px;max-height:calc(100dvh - 155px);padding:18px;overflow-y:auto;background:#f8fbf9}.supplier-modal-loading{display:grid;min-height:330px;place-items:center;color:var(--text-dim);font-size:13px}.supplier-detail-stats{gap:8px}.supplier-detail-stats>div{padding:13px 15px;border-radius:12px;box-shadow:none}.supplier-detail-stats strong{font-size:16px}.supplier-detail-section{overflow:hidden;border:1px solid var(--border);border-radius:15px;background:#fff}.supplier-section-head{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:13px 16px;border-bottom:1px solid var(--border);color:var(--text-dim);font-size:10px;background:var(--surface-2)}.supplier-section-head>div>span{color:#047857;font-size:9px;font-weight:850;letter-spacing:.06em;text-transform:uppercase}.supplier-section-head h3{margin:2px 0 0;color:var(--text);font-size:13px}.supplier-source-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));margin:0}.supplier-source-grid>div{min-width:0;padding:13px 15px;border-right:1px solid var(--border);border-bottom:1px solid var(--border)}.supplier-source-grid>div:nth-child(3n){border-right:0}.supplier-source-grid dt{display:flex;align-items:baseline;justify-content:space-between;gap:8px;color:var(--text-dim);font-size:9.5px}.supplier-source-grid dt small{font-size:8px;font-weight:650}.supplier-source-grid dd{margin:4px 0 0;overflow-wrap:anywhere;color:var(--text);font-size:11.5px;font-weight:700;white-space:pre-line}.supplier-detail-table-wrap{overflow-x:auto}.supplier-detail-table{min-width:760px}.supplier-detail-table th{color:var(--text-dim);font-size:9px}.supplier-detail-table td{font-size:10.5px}.supplier-empty-note{margin:0;padding:26px 18px;color:var(--text-dim);font-size:11px;text-align:center}@media(max-width:1100px){.supplier-filter-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.supplier-search-field{grid-column:1 / -1}.supplier-reset{width:100%}}@media(max-width:760px){.supplier-page-head{align-items:stretch;flex-direction:column;padding:20px}.supplier-sync-note{width:100%}.supplier-stat-grid,.supplier-detail-stats,.supplier-period-overview{grid-template-columns:repeat(2,minmax(0,1fr))}.supplier-period-title{grid-column:1 / -1}.supplier-filter-grid{grid-template-columns:1fr}.supplier-search-field{grid-column:1}.supplier-table{min-width:0;table-layout:auto}.supplier-table thead{display:none}.supplier-table tbody{display:grid;gap:10px;padding:10px}.supplier-table tbody tr{display:grid;grid-template-columns:1fr 1fr;overflow:hidden;border:1px solid var(--border);border-radius:13px;background:#fff}.supplier-table tbody td{display:grid;grid-template-columns:minmax(92px,.75fr) minmax(0,1fr);align-items:start;gap:9px;padding:10px 12px;border:0;border-bottom:1px solid var(--border);text-align:left!important}.supplier-table tbody td:before{content:attr(data-label);color:var(--text-dim);font-size:9px;font-weight:800}.supplier-table tbody td:nth-child(1),.supplier-table tbody td:nth-child(3),.supplier-table tbody td:nth-child(6),.supplier-table tbody td:nth-child(8){grid-column:1 / -1}.supplier-table tbody td:last-child{border-bottom:0}.supplier-table .supplier-detail-button{width:100%;min-height:44px}.supplier-empty{display:block!important;grid-column:1 / -1!important}.supplier-empty:before{content:none!important}.supplier-modal-backdrop{align-items:end;padding:0}.supplier-modal{width:100%;max-height:96dvh;border-radius:20px 20px 0 0}.supplier-modal-head{padding:16px}.supplier-modal-head h2{font-size:20px}.supplier-modal-body{max-height:calc(96dvh - 103px);padding:12px}.supplier-source-grid{grid-template-columns:1fr 1fr}.supplier-source-grid>div:nth-child(3n){border-right:1px solid var(--border)}.supplier-source-grid>div:nth-child(2n){border-right:0}}@media(max-width:460px){.supplier-stat-grid,.supplier-detail-stats{grid-template-columns:1fr}.supplier-period-overview{grid-template-columns:1fr;gap:12px;padding:16px}.supplier-period-title{grid-column:1}.supplier-period-grand-total{padding:12px 0 0;border-top:1px solid #a7f3d0;border-left:0}.supplier-result-bar{align-items:flex-start;flex-direction:column;gap:3px}.supplier-pagination{justify-content:space-between;gap:8px}.supplier-pagination .btn{min-width:70px}.supplier-source-grid{grid-template-columns:1fr}.supplier-source-grid>div,.supplier-source-grid>div:nth-child(3n),.supplier-source-grid>div:nth-child(2n){border-right:0}.supplier-section-head{align-items:flex-start;flex-direction:column}}@media(prefers-reduced-motion:reduce){.supplier-table-wrap,.supplier-filter-grid input,.supplier-filter-grid select{transition:none}}.block-icon-receiving{color:#047857;background:linear-gradient(145deg,#ecfdf5,#d1fae5)}.block-icon-receiving svg{width:30px;fill:none;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:1.7}.receiving-page{display:grid;gap:16px}.receiving-page-head{align-items:center;padding:22px 24px;border:1px solid #a7f3d0;border-radius:18px;background:linear-gradient(125deg,#f0fdf4,#fff 58%,#ecfdf5)}.receiving-page-head h2{margin:4px 0}.receiving-page-head p{max-width:680px;margin:0;color:var(--text-dim);font-size:12px}.receiving-eyebrow{display:inline-flex;align-items:center;gap:6px;color:#047857;font-size:10px;font-weight:850;letter-spacing:.07em;text-transform:uppercase}.receiving-eyebrow svg,.receiving-rescan svg{width:18px;fill:none;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:1.8}.receiving-privacy-note{display:grid;flex:0 0 min(330px,100%);gap:3px;padding:12px 14px;border:1px solid #a7f3d0;border-radius:12px;color:#065f46;background:#ffffffb8}.receiving-privacy-note strong{font-size:11px}.receiving-privacy-note span{color:#047857;font-size:9.5px;line-height:1.45}.receiving-alert{margin:0}.receiving-success{margin:0;padding:11px 14px;border:1px solid #86efac;border-radius:11px;color:#166534;font-size:11px;font-weight:800;background:#f0fdf4}.receiving-layout{display:grid;grid-template-columns:minmax(300px,.78fr) minmax(0,1.45fr);align-items:start;gap:14px}.receiving-scan-panel,.receiving-form-panel,.receiving-history{overflow:visible;border:1px solid var(--border);border-radius:16px;background:var(--surface);box-shadow:var(--shadow-sm)}.receiving-scan-panel{display:grid;gap:13px;padding:16px}.receiving-form-panel{overflow:visible}.receiving-section-head{display:flex;align-items:flex-start;gap:10px}.receiving-section-head>span{display:grid;flex:0 0 28px;width:28px;height:28px;place-items:center;border-radius:9px;color:#fff;font-size:11px;font-weight:850;background:#059669}.receiving-section-head h3{margin:0;font-size:14px}.receiving-section-head p{margin:3px 0 0;color:var(--text-dim);font-size:9.5px;line-height:1.45}.receiving-dropzone{position:relative;display:grid;min-height:330px;overflow:hidden;place-items:center;border:1.5px dashed #86efac;border-radius:14px;color:#047857;background:linear-gradient(#f0fdf4eb,#f0fdf4eb),repeating-linear-gradient(45deg,#dcfce7 0,#dcfce7 10px,#f0fdf4 10px,#f0fdf4 20px);cursor:pointer;transition:border-color .18s ease,transform .18s ease}.receiving-dropzone:hover{border-color:#059669;transform:translateY(-1px)}.receiving-dropzone:focus-within{outline:3px solid rgba(16,185,129,.2);outline-offset:2px}.receiving-dropzone input{position:absolute;width:1px;height:1px;opacity:0}.receiving-dropzone.has-photo{border-style:solid;background:#0f172a}.receiving-dropzone>img{width:100%;height:330px;object-fit:contain}.receiving-dropzone-empty{display:grid;gap:7px;place-items:center;text-align:center}.receiving-dropzone-empty strong{font-size:13px}.receiving-dropzone-empty small{color:#4b7d6c;font-size:9.5px}.receiving-camera-icon{display:grid;width:56px;height:56px;place-items:center;border:1px solid #a7f3d0;border-radius:17px;background:#fff;box-shadow:0 8px 22px #0596691f}.receiving-camera-icon svg,.receiving-thumb-placeholder svg{width:26px;fill:none;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:1.7}.receiving-scan-overlay{position:absolute;top:0;right:0;bottom:0;left:0;display:grid;align-content:center;gap:10px;place-items:center;color:#fff;background:#064e3bd1;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px)}.receiving-scan-overlay>svg{width:32px;fill:none;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:1.6}.receiving-scan-overlay strong{font-size:12px}.receiving-scan-overlay>span{width:min(220px,70%);height:4px;overflow:hidden;border-radius:999px;background:#ffffff3d}.receiving-scan-overlay i{display:block;width:100%;height:100%;transform-origin:left;background:#6ee7b7;transition:transform .18s ease}.receiving-rescan{display:inline-flex;min-height:44px;align-items:center;justify-content:center;gap:7px}.receiving-scan-result{display:grid;gap:9px;padding:11px 12px;border:1px solid #a7f3d0;border-radius:11px;background:#f0fdf4}.receiving-scan-result>div{display:flex;align-items:center;justify-content:space-between;gap:10px}.receiving-scan-result strong{color:#065f46;font-size:10.5px}.receiving-scan-result span{color:#047857;font-size:9px}.receiving-code-result{display:flex!important;align-items:center!important;justify-content:flex-start!important;gap:9px!important;padding:9px 10px;border:1px solid #a7f3d0;border-radius:9px;background:#fff}.receiving-code-result.missing{border-color:#fde68a;background:#fffbeb}.receiving-code-result-icon{display:grid;flex:0 0 34px;width:34px;height:34px;place-items:center;border-radius:9px;color:#047857!important;background:#d1fae5}.receiving-code-result.missing .receiving-code-result-icon{color:#92400e!important;background:#fef3c7}.receiving-code-result-icon svg{width:19px;fill:none;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:1.8}.receiving-code-result>div{display:grid;gap:2px;min-width:0}.receiving-code-result small{overflow-wrap:anywhere;color:var(--text-dim);font-size:8.5px;line-height:1.4}.receiving-code-facts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}.receiving-code-facts>span{display:grid;gap:2px;min-width:0;padding:7px 8px;border:1px solid #d1fae5;border-radius:8px;background:#ffffffd1}.receiving-code-facts small{color:#047857;font-size:7.5px;font-weight:800}.receiving-code-facts b{overflow-wrap:anywhere;color:#14532d;font-size:9px;font-variant-numeric:tabular-nums}.receiving-inline-warning{margin:0;padding:8px 9px;border:1px solid #fde68a;border-radius:8px;color:#92400e;font-size:8.5px;background:#fffbeb}.receiving-scan-result summary{color:#047857;font-size:9.5px;font-weight:750;cursor:pointer}.receiving-scan-result pre{max-height:150px;margin:8px 0 0;padding:10px;overflow:auto;border-radius:8px;color:#334155;font:9px/1.55 ui-monospace,SFMono-Regular,Menlo,monospace;white-space:pre-wrap;background:#fff}.receiving-photo-tip{color:var(--text-dim);font-size:9.5px;line-height:1.55}.receiving-form-panel>.receiving-section-head{padding:16px 17px 13px;border-bottom:1px solid var(--border)}.receiving-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;padding:16px 17px}.receiving-form-grid label{position:relative;display:grid;align-content:start;gap:6px;min-width:0}.receiving-form-grid label>span{color:var(--text-dim);font-size:9.5px;font-weight:800}.receiving-form-grid label>span b{color:#dc2626}.receiving-form-grid input,.receiving-form-grid textarea{width:100%;min-height:44px;padding:10px 11px;border:1px solid var(--border-strong);border-radius:10px;outline:none;color:var(--text);font:inherit;font-size:11px;background:#fff;transition:border-color var(--speed) ease,box-shadow var(--speed) ease}.receiving-form-grid textarea{min-height:78px;resize:vertical}.receiving-form-grid input:focus,.receiving-form-grid textarea:focus{border-color:#059669;box-shadow:0 0 0 3px #05966921}.receiving-form-grid label>small{color:#047857;font-size:8.5px;font-weight:700}.receiving-product-field,.receiving-notes-field{grid-column:1 / -1}.receiving-product-matches{position:absolute;z-index:20;top:calc(100% + 4px);right:0;left:0;overflow:hidden;border:1px solid var(--border);border-radius:11px;background:#fff;box-shadow:0 16px 36px #0f172a24}.receiving-product-matches button{display:flex;width:100%;min-height:52px;align-items:center;justify-content:space-between;gap:12px;padding:8px 11px;border:0;border-bottom:1px solid var(--border);color:var(--text);text-align:left;background:#fff;cursor:pointer}.receiving-product-matches button:last-child{border-bottom:0}.receiving-product-matches button:hover,.receiving-product-matches button:focus-visible{outline:0;background:#f0fdf4}.receiving-product-matches button>span{display:grid;gap:2px;min-width:0}.receiving-product-matches b{overflow:hidden;font-size:10.5px;text-overflow:ellipsis;white-space:nowrap}.receiving-product-matches small{color:var(--text-dim);font-size:8.5px}.receiving-product-matches strong{flex:0 0 auto;color:#047857;font-size:9.5px}.expiration-note{display:inline-flex;align-items:center;min-height:22px;padding:3px 7px;border-radius:7px}.expiration-note.ok{color:#166534!important;background:#dcfce7}.expiration-note.soon{color:#92400e!important;background:#fef3c7}.expiration-note.expired{color:#991b1b!important;background:#fee2e2}.receiving-form-actions{display:flex;justify-content:flex-end;gap:9px;padding:13px 17px 16px;border-top:1px solid var(--border);background:var(--surface-2)}.receiving-form-actions .btn{min-height:44px}.receiving-history{overflow:hidden}.receiving-history-head{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:15px 17px;border-bottom:1px solid var(--border);background:var(--surface-2)}.receiving-history-head>div:first-child>span{color:#047857;font-size:9px;font-weight:850;letter-spacing:.06em;text-transform:uppercase}.receiving-history-head h3{margin:2px 0 0;font-size:14px}.receiving-history-stats{display:flex;gap:7px;flex-wrap:wrap;justify-content:flex-end}.receiving-history-stats span,.receiving-expiry-pill{display:inline-flex;align-items:center;min-height:25px;padding:4px 8px;border:1px solid var(--border);border-radius:999px;color:#475569;font-size:8.5px;background:#fff}.receiving-history-stats b{margin-right:3px;font-size:10px}.receiving-history-stats .soon,.receiving-expiry-pill.soon{border-color:#fcd34d;color:#92400e;background:#fffbeb}.receiving-history-stats .expired,.receiving-expiry-pill.expired{border-color:#fca5a5;color:#991b1b;background:#fef2f2}.receiving-expiry-pill.ok{border-color:#86efac;color:#166534;background:#f0fdf4}.receiving-expiry-pill.missing{color:#64748b;background:#f8fafc}.receiving-table-wrap{overflow-x:auto}.receiving-table{width:100%;min-width:980px}.receiving-table th{color:var(--text-dim);font-size:9px}.receiving-table td{vertical-align:middle;font-size:10.5px}.receiving-table td>strong{display:block;font-size:11px}.receiving-table td>small{display:block;margin-top:3px;color:var(--text-dim);font-size:8.5px}.receiving-table .receiving-expiry-pill{margin-top:5px}.receiving-thumb,.receiving-thumb-placeholder{display:grid;width:54px;height:54px;place-items:center;border:1px solid var(--border);border-radius:9px;color:#64748b;object-fit:cover;background:#f8fafc}.receiving-empty{display:grid;min-height:150px;place-items:center;color:var(--text-dim);font-size:11px}@media(max-width:980px){.receiving-layout{grid-template-columns:1fr}.receiving-dropzone,.receiving-dropzone>img{min-height:280px;height:280px}}@media(max-width:700px){.receiving-page-head,.receiving-history-head{align-items:stretch;flex-direction:column}.receiving-privacy-note{flex-basis:auto}.receiving-form-grid{grid-template-columns:1fr}.receiving-product-field,.receiving-notes-field{grid-column:1}.receiving-history-stats{justify-content:flex-start}.receiving-table{min-width:0}.receiving-table thead{display:none}.receiving-table tbody{display:grid;gap:10px;padding:10px}.receiving-table tbody tr{display:grid;grid-template-columns:70px 1fr;overflow:hidden;border:1px solid var(--border);border-radius:12px}.receiving-table tbody td{display:grid;grid-template-columns:110px minmax(0,1fr);gap:8px;padding:9px 11px;border:0;border-bottom:1px solid var(--border)}.receiving-table tbody td:before{content:attr(data-label);color:var(--text-dim);font-size:8.5px;font-weight:800}.receiving-table tbody td:first-child{display:block;grid-row:span 2;padding:10px;border-right:1px solid var(--border)}.receiving-table tbody td:first-child:before{content:none}.receiving-table tbody td:nth-child(n+3){grid-column:1 / -1}.receiving-table tbody td:last-child{border-bottom:0}}@media(max-width:460px){.receiving-page-head{padding:18px}.receiving-scan-panel{padding:12px}.receiving-dropzone,.receiving-dropzone>img{min-height:240px;height:240px}.receiving-scan-result>div{align-items:flex-start;flex-direction:column;gap:2px}.receiving-scan-result .receiving-code-result{align-items:center;flex-direction:row}.receiving-code-facts{grid-template-columns:1fr}.receiving-form-grid{padding:13px}.receiving-form-actions{justify-content:stretch}.receiving-form-actions .btn{flex:1}}@media(prefers-reduced-motion:reduce){.receiving-dropzone,.receiving-scan-overlay i,.receiving-form-grid input,.receiving-form-grid textarea{transition:none}}.product-filters .search{min-width:240px}.product-object-filter select{width:180px;max-width:100%;min-width:0;min-height:40px;padding-block:3px;padding-left:5px;border:0;border-radius:0;background:transparent;box-shadow:none}.product-object-filter select:hover,.product-object-filter select:focus{border:0;background:transparent;box-shadow:none}.purchase-period-total{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:14px;padding:16px 18px;border:1px solid var(--accent);border-left-width:5px;border-radius:var(--radius);background:linear-gradient(135deg,var(--accent-soft),var(--surface) 72%);box-shadow:var(--shadow-sm)}.purchase-period-total-value{display:grid;gap:3px}.purchase-period-total-value span{color:var(--accent-dark);font-size:12px;font-weight:800}.purchase-period-total-value strong{color:var(--text);font-size:clamp(24px,3vw,32px);font-variant-numeric:tabular-nums;line-height:1.15}.purchase-period-total-meta{display:flex;max-width:620px;align-items:center;justify-content:flex-end;gap:6px 14px;flex-wrap:wrap;color:var(--text-dim);font-size:12px;font-weight:650}.purchase-period-total-meta span+span:before{content:"·";margin-right:14px;color:var(--border-strong)}.purchase-period-total-status{color:var(--accent-dark)}.purchase-period-total-error{color:var(--danger)}.purchase-products-table-wrap{overflow-x:hidden;border:1px solid var(--border);border-radius:var(--radius);background:var(--surface);box-shadow:var(--shadow-sm)}.purchase-products-table,.purchase-suppliers-table{min-width:0;table-layout:fixed;border:0;border-radius:0;box-shadow:none}.purchase-products-table th:first-child{width:19%;min-width:0}.purchase-products-table:not(.price-increases-table) th:nth-child(2){width:9%}.purchase-products-table:not(.price-increases-table) th:nth-child(3){width:18%}.purchase-products-table:not(.price-increases-table) th:nth-child(4){width:14%}.purchase-products-table:not(.price-increases-table) th:nth-child(5){width:10%}.purchase-products-table:not(.price-increases-table) th:nth-child(6){width:8%}.purchase-products-table:not(.price-increases-table) th:nth-child(7){width:11%}.purchase-products-table:not(.price-increases-table) th:nth-child(8){width:11%}.price-increases-table th:nth-child(1){width:20%}.price-increases-table th:nth-child(2),.price-increases-table th:nth-child(3){width:10%}.price-increases-table th:nth-child(4){width:16%}.price-increases-table th:nth-child(5),.price-increases-table th:nth-child(6){width:16%}.price-increases-table th:nth-child(7){width:12%}.purchase-suppliers-table th:nth-child(1){width:23%}.purchase-suppliers-table th:nth-child(2){width:8%}.purchase-suppliers-table th:nth-child(3){width:9%}.purchase-suppliers-table th:nth-child(4){width:9%}.purchase-suppliers-table th:nth-child(5){width:14%}.purchase-suppliers-table th:nth-child(6){width:11%}.purchase-suppliers-table th:nth-child(7){width:11%}.purchase-suppliers-table th:nth-child(8){width:15%}.purchase-products-table th,.purchase-products-table td,.purchase-suppliers-table th,.purchase-suppliers-table td,.product-history-table th,.product-history-table td{min-width:0;padding:10px 8px;overflow-wrap:anywhere}.purchase-products-table td,.purchase-suppliers-table td{font-size:12.5px}.purchase-sort-button{display:inline-flex;width:100%;min-height:36px;align-items:center;justify-content:space-between;gap:6px;padding:4px 0;border:0;border-radius:6px;color:inherit;background:transparent;font:inherit;font-weight:inherit;text-align:left;cursor:pointer}.purchase-sort-button:hover,.purchase-sort-button.active{color:var(--accent-dark)}.purchase-sort-button:focus-visible{outline:3px solid var(--accent-ring);outline-offset:2px}.purchase-sort-icon{flex:0 0 auto;color:var(--text-dim);font-size:12px;line-height:1}.purchase-sort-button.active .purchase-sort-icon{color:var(--accent)}.purchase-mobile-sort{display:none}.number-cell{font-variant-numeric:tabular-nums;white-space:normal}.product-link{display:grid;width:100%;min-height:44px;align-content:center;gap:3px;padding:2px 0;border:0;color:var(--text);text-align:left;background:transparent;font:inherit;cursor:pointer}.product-link strong{color:var(--accent-dark);font-size:13px;line-height:1.35}.product-link span,.table-subtext{display:block;color:var(--text-dim);font-size:11.5px;font-weight:500}.product-link:hover strong{text-decoration:underline}.product-link:focus-visible{border-radius:6px;outline:3px solid var(--accent-ring);outline-offset:2px}.price-change{display:inline-flex;width:fit-content;max-width:210px;align-items:center;padding:5px 8px;border:1px solid var(--border);border-radius:8px;font-size:11.5px;font-weight:700;line-height:1.35}.price-up{border-color:#b91c1c33;color:var(--danger);background:var(--danger-bg)}.price-down{border-color:#04785733;color:var(--accent-dark);background:var(--accent-soft)}.price-flat{color:var(--text-dim);background:var(--surface-2)}.price-current{color:var(--danger);font-weight:750}.median-price-change{display:grid;gap:5px}.product-history-modal{max-width:min(1280px,calc(100vw - 32px));min-height:280px;padding:24px}.product-history-head{display:flex;align-items:flex-start;justify-content:space-between;gap:20px}.product-history-head h3{margin:4px 0 0;padding:0;border:0;font-size:24px}.product-history-head .hint{margin-bottom:0}.product-history-scope{margin:0;padding:10px 12px;border:1px solid var(--border);border-radius:10px;color:var(--text-dim);background:var(--surface-2);font-size:12px;font-weight:650}.modal-close{display:grid;width:44px;height:44px;flex:0 0 44px;place-items:center;border:1px solid var(--border);border-radius:12px;color:var(--text);background:var(--surface-2);font:inherit;font-size:24px;line-height:1;cursor:pointer}.modal-close:hover{border-color:var(--border-strong);background:var(--bg)}.modal-close:focus-visible{outline:3px solid var(--accent-ring);outline-offset:2px}.product-history-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.product-history-summary>div{display:grid;align-content:center;gap:5px;min-height:76px;padding:12px 14px;border:1px solid var(--border);border-radius:12px;background:var(--surface-2)}.product-history-summary>div>span:first-child{color:var(--text-dim);font-size:11.5px;font-weight:700}.product-history-summary strong{font-size:18px;font-variant-numeric:tabular-nums}.product-history-table-wrap{max-height:min(58vh,620px);border:1px solid var(--border);border-radius:12px;overflow-x:hidden;overflow-y:auto}.product-history-table{min-width:0;table-layout:fixed;border:0;border-radius:0;box-shadow:none}.product-history-table th:nth-child(1){width:10%}.product-history-table th:nth-child(2){width:19%}.product-history-table th:nth-child(3){width:14%}.product-history-table th:nth-child(4){width:10%}.product-history-table th:nth-child(5){width:9%}.product-history-table th:nth-child(6){width:18%}.product-history-table th:nth-child(7){width:10%}.product-history-table th:nth-child(8){width:10%}.purchase-products-table .price-change,.product-history-table .price-change{max-width:100%;white-space:normal}.product-history-table thead{position:sticky;top:0;z-index:1}@media(max-width:760px){.product-filters,.product-filters .search,.product-filters .compact-date-filter,.product-filters .btn,.product-object-filter select{width:100%}.purchase-period-total{align-items:flex-start;flex-direction:column;gap:10px}.purchase-period-total-meta{justify-content:flex-start}.product-history-modal{max-width:calc(100vw - 16px);padding:18px}.product-history-head h3{font-size:20px}.product-history-summary{grid-template-columns:repeat(2,minmax(0,1fr))}.purchase-products-table-wrap{overflow:visible;border:0;background:transparent;box-shadow:none}.purchase-mobile-sort{display:flex;align-items:flex-end;gap:8px;margin-bottom:10px}.purchase-mobile-sort label{display:grid;flex:1;gap:5px;color:var(--text-dim);font-size:11px;font-weight:750}.purchase-mobile-sort select,.purchase-mobile-sort button{min-height:44px;border:1px solid var(--border);border-radius:10px;color:var(--text);background:var(--surface);font:inherit}.purchase-mobile-sort select{width:100%;padding:0 10px}.purchase-mobile-sort button{width:44px;flex:0 0 44px;color:var(--accent-dark);font-size:18px;font-weight:800;cursor:pointer}.purchase-mobile-sort select:focus-visible,.purchase-mobile-sort button:focus-visible{outline:3px solid var(--accent-ring);outline-offset:2px}.purchase-products-table,.purchase-products-table tbody,.product-history-table,.product-history-table tbody{display:block;min-width:0;border:0;background:transparent}.purchase-products-table thead,.product-history-table thead{display:none}.purchase-products-table tbody,.product-history-table tbody{display:grid;gap:10px}.purchase-products-table tbody tr,.product-history-table tbody tr{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));overflow:hidden;border:1px solid var(--border);border-radius:14px;background:var(--surface);box-shadow:var(--shadow-sm)}.purchase-products-table tbody td,.product-history-table tbody td{display:grid;min-width:0;align-content:start;gap:5px;padding:10px 12px;border:0;border-bottom:1px solid var(--border);overflow-wrap:anywhere;white-space:normal}.purchase-products-table tbody td:nth-child(odd),.product-history-table tbody td:nth-child(odd){border-right:1px solid var(--border)}.purchase-products-table tbody td:before,.product-history-table tbody td:before{content:attr(data-label);color:var(--text-dim);font-size:10px;font-weight:800;letter-spacing:.05em;text-transform:uppercase}.purchase-products-table tbody td:first-child,.purchase-products-table tbody td[data-label="ბოლო ცვლილება"],.purchase-products-table tbody td[data-label=გაძვირება],.purchase-products-table tbody td[data-label=ისტორია],.product-history-table tbody td[data-label=ცვლილება]{grid-column:1 / -1;border-right:0}.purchase-products-table tbody td[data-label=ისტორია] .btn{width:100%}.purchase-products-table .price-change,.product-history-table .price-change{max-width:none}.product-history-table-wrap{overflow-x:hidden}.purchase-suppliers-table,.purchase-suppliers-table tbody{display:block;min-width:0;border:0;background:transparent}.purchase-suppliers-table thead{display:none}.purchase-suppliers-table tbody{display:grid;gap:10px}.purchase-suppliers-table tbody tr{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));overflow:hidden;border:1px solid var(--border);border-radius:14px;background:var(--surface);box-shadow:var(--shadow-sm)}.purchase-suppliers-table tbody td{display:grid;min-width:0;align-content:start;gap:5px;padding:10px 12px;border:0;border-bottom:1px solid var(--border);overflow-wrap:anywhere;white-space:normal}.purchase-suppliers-table tbody td:nth-child(odd){border-right:1px solid var(--border)}.purchase-suppliers-table tbody td:before{content:attr(data-label);color:var(--text-dim);font-size:10px;font-weight:800;letter-spacing:.05em;text-transform:uppercase}.purchase-suppliers-table tbody td:first-child,.purchase-suppliers-table tbody td:last-child{grid-column:1 / -1;border-right:0}}@media(max-width:420px){.product-history-summary{grid-template-columns:1fr}}@media(prefers-reduced-motion:reduce){.product-link,.modal-close,.purchase-products-table tbody tr,.purchase-suppliers-table tbody tr{transition:none}}.block-icon-accountable{color:#0f766e;background:#ccfbf1}.block-icon-accountable svg{width:31px;height:31px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.accountable-page{display:grid;gap:18px}.accountable-page-head{align-items:flex-end;margin-bottom:0}.accountable-page-head h2,.accountable-page-head p{margin-bottom:0}.accountable-page-head .eyebrow{color:#0f766e}.accountable-safety{margin:0;border-color:#99f6e4;background:#f0fdfa}.accountable-loading,.accountable-detail-state{min-height:128px;display:grid;place-items:center;color:var(--text-dim);font-weight:700;border:1px solid var(--border);border-radius:16px;background:var(--surface)}.accountable-stats{display:grid;grid-template-columns:minmax(240px,1.35fr) repeat(3,minmax(160px,1fr));gap:12px}.accountable-stat{min-width:0;display:grid;align-content:start;gap:5px;padding:16px 18px;border:1px solid var(--border);border-radius:16px;background:var(--surface);box-shadow:var(--shadow-sm)}.accountable-stat>span{color:var(--text-dim);font-size:12px;font-weight:800}.accountable-stat strong{overflow-wrap:anywhere;font-size:clamp(20px,2vw,29px);line-height:1.15;font-variant-numeric:tabular-nums}.accountable-stat small{color:var(--text-dim);line-height:1.35}.accountable-stat.is-total{color:#115e59;border-color:#5eead4;background:linear-gradient(145deg,#f0fdfa,#fff)}.accountable-stat.is-returned{color:#166534;border-color:#86efac;background:linear-gradient(145deg,#f0fdf4,#fff)}.accountable-stat.is-balance{color:#9a3412;border-color:#fdba74;background:linear-gradient(145deg,#fff7ed,#fff)}.accountable-toolbar{display:grid;grid-template-columns:minmax(260px,1fr) minmax(170px,210px) auto;align-items:end;gap:12px;padding:14px;border:1px solid var(--border);border-radius:16px;background:var(--surface);box-shadow:var(--shadow-sm)}.accountable-toolbar label{display:grid;gap:6px;min-width:0}.accountable-toolbar label>span{color:var(--text-dim);font-size:11px;font-weight:800}.accountable-toolbar input,.accountable-toolbar select{width:100%;min-height:44px}.accountable-result-count{min-height:44px;display:flex;align-items:baseline;justify-content:flex-end;gap:7px;padding:10px 4px;color:var(--text-dim);white-space:nowrap}.accountable-result-count strong{color:var(--text);font-size:18px;font-variant-numeric:tabular-nums}.accountable-mobile-sort{display:none!important}.accountable-table-wrap,.accountable-movements-wrap{overflow-x:auto;border:1px solid var(--border);border-radius:16px;background:var(--surface);box-shadow:var(--shadow-sm)}.accountable-table,.accountable-movements-table{width:100%;min-width:900px;margin:0;border:0;box-shadow:none}.accountable-table th{padding:0}.accountable-sort-button{width:100%;min-height:44px;display:inline-flex;align-items:center;gap:6px;padding:10px 12px;color:inherit;font:inherit;text-align:left;border:0;background:transparent;cursor:pointer}.accountable-table th.numeric .accountable-sort-button{justify-content:flex-end}.accountable-sort-button:hover,.accountable-sort-button:focus-visible{color:#0f766e;background:#f0fdfa}.accountable-table tbody>tr:not(.accountable-detail-row){transition:background-color .18s ease}.accountable-table tbody>tr:not(.accountable-detail-row):hover,.accountable-table tbody>tr.is-open{background:#f8fafc}.accountable-table td{vertical-align:middle}.accountable-table td small,.accountable-movements-table td small{display:block;margin-top:4px;color:var(--text-dim);line-height:1.35}.accountable-person{min-width:220px;display:grid;gap:3px}.accountable-person>span{color:var(--text-dim);font-size:11px}.accountable-person>small{width:max-content;margin:2px 0 0;padding:2px 6px;color:#115e59!important;font-size:9px;font-weight:800;border-radius:999px;background:#ccfbf1}.accountable-total strong{color:#115e59;font-size:14px;font-variant-numeric:tabular-nums}.accountable-returned strong,.movement-amount-returned strong{color:#15803d}.accountable-balance strong{color:#9a3412;font-size:14px;font-variant-numeric:tabular-nums}.accountable-balance.is-negative strong{color:#15803d}.movement-amount-issued strong{color:#115e59}.movement-badge{display:inline-flex;width:fit-content;min-height:24px;align-items:center;justify-content:center;padding:4px 8px;border:1px solid transparent;border-radius:999px;font-size:10px;font-weight:800;line-height:1.1;white-space:nowrap}.movement-issued{color:#115e59;border-color:#99f6e4;background:#f0fdfa}.movement-returned{color:#166534;border-color:#bbf7d0;background:#f0fdf4}.movement-balance{color:#9a3412;border-color:#fed7aa;background:#fff7ed}.accountable-detail-row>td{padding:0!important;border-bottom:1px solid var(--border);background:#f8fafc}.accountable-detail{display:grid;gap:12px;padding:16px}.accountable-detail-head{display:flex;align-items:center;justify-content:space-between;gap:14px}.accountable-detail-head>div:first-child{display:grid;gap:3px}.accountable-detail-head>div:first-child>span{color:var(--text-dim);font-size:12px}.accountable-detail-bank-totals{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:6px}.accountable-movements-wrap{max-height:430px;overflow:auto;border-radius:12px;box-shadow:none}.accountable-movements-table{min-width:760px}.accountable-movements-table thead{position:sticky;top:0;z-index:1;background:var(--surface)}@media(max-width:980px){.accountable-stats{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:760px){.accountable-page{gap:14px}.accountable-page-head{align-items:stretch}.accountable-page-head .btn{width:100%;min-height:44px}.accountable-toolbar{grid-template-columns:1fr}.accountable-mobile-sort{display:grid!important}.accountable-result-count{justify-content:flex-start;padding:0 2px}.accountable-table-wrap,.accountable-movements-wrap{overflow-x:hidden;border:0;border-radius:0;background:transparent;box-shadow:none}.accountable-table,.accountable-movements-table{min-width:0}.accountable-table thead,.accountable-movements-table thead{display:none}.accountable-table tbody,.accountable-movements-table tbody{display:grid;gap:10px}.accountable-table tbody>tr:not(.accountable-detail-row),.accountable-movements-table tbody tr{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));overflow:hidden;border:1px solid var(--border);border-radius:14px;background:var(--surface);box-shadow:var(--shadow-sm)}.accountable-table tbody>tr:not(.accountable-detail-row)>td,.accountable-movements-table tbody td{display:grid;min-width:0;align-content:start;gap:4px;padding:10px 12px;text-align:left;white-space:normal;overflow-wrap:anywhere;border:0;border-bottom:1px solid var(--border)}.accountable-table tbody>tr:not(.accountable-detail-row)>td:before,.accountable-movements-table tbody td:before{content:attr(data-label);color:var(--text-dim);font-size:10px;font-weight:800;letter-spacing:.04em}.accountable-table tbody>tr:not(.accountable-detail-row)>td:first-child,.accountable-table tbody>tr:not(.accountable-detail-row)>td:last-child,.accountable-movements-table tbody td:nth-child(4),.accountable-movements-table tbody td:nth-child(5){grid-column:1 / -1}.accountable-table tbody>tr:not(.accountable-detail-row)>td:last-child .btn{width:100%;min-height:44px}.accountable-detail-row{display:block;margin-top:-10px}.accountable-detail-row>td{display:block;border:1px solid var(--border);border-top:0;border-radius:0 0 14px 14px}.accountable-detail{padding:12px}.accountable-detail-head{align-items:flex-start;flex-direction:column}.accountable-detail-bank-totals{justify-content:flex-start}.accountable-movements-wrap{max-height:none}}@media(max-width:480px){.accountable-stats{grid-template-columns:1fr}}@media(prefers-reduced-motion:reduce){.accountable-table tbody>tr:not(.accountable-detail-row){transition:none}}.accountable-integrated-page{--accountable-green: #15803d;--accountable-teal: #0f766e;--accountable-amber: #9a3412;--accountable-blue: #1d4ed8;--accountable-red: #b91c1c}.accountable-integration-flow{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:8px;margin:0;padding:10px;list-style:none;border:1px solid var(--border);border-radius:16px;background:var(--surface);box-shadow:var(--shadow-sm)}.accountable-integration-flow li{min-width:0;display:grid;grid-template-columns:28px 1fr;align-items:center;gap:2px 8px;padding:8px 10px;border-radius:12px;background:var(--surface-2)}.accountable-integration-flow strong{grid-row:1 / span 2;width:28px;height:28px;display:grid;place-items:center;color:#fff;border-radius:999px;background:var(--accountable-teal);font-size:12px}.accountable-integration-flow span{min-width:0;font-size:12px;font-weight:850}.accountable-integration-flow small{min-width:0;color:var(--text-dim);font-size:10px;overflow-wrap:anywhere}.accountable-integrated-stats{grid-template-columns:repeat(5,minmax(0,1fr))}.accountable-stat.is-expense{color:#166534;border-color:#86efac;background:linear-gradient(145deg,#f0fdf4,#fff)}.accountable-stat.is-pending{color:#1e40af;border-color:#93c5fd;background:linear-gradient(145deg,#eff6ff,#fff)}.accountable-integrated-toolbar{grid-template-columns:minmax(230px,1fr) minmax(165px,190px) minmax(145px,175px) auto}.accountable-balance-table{min-width:1180px}@media(min-width:761px)and (max-width:1600px){.accountable-integrated-page{overflow-x:clip}.accountable-integrated-page .accountable-table-wrap{overflow-x:hidden}.accountable-balance-table{min-width:0;table-layout:fixed}.accountable-balance-table th:nth-child(1){width:20%}.accountable-balance-table th:nth-child(2),.accountable-balance-table th:nth-child(3),.accountable-balance-table th:nth-child(4),.accountable-balance-table th:nth-child(5){width:11%}.accountable-balance-table th:nth-child(6){width:9%}.accountable-balance-table th:nth-child(7){width:12%}.accountable-balance-table th:nth-child(8){width:15%}.accountable-balance-table th,.accountable-balance-table td{min-width:0;padding-left:8px;padding-right:8px;overflow-wrap:anywhere}.accountable-balance-table .accountable-sort-button{padding-left:8px;padding-right:8px;white-space:normal}.accountable-balance-table .accountable-person{min-width:0}.accountable-balance-table .accountable-row-actions{flex-wrap:wrap}}.accountable-expense-total strong{color:var(--accountable-green);font-size:14px;font-variant-numeric:tabular-nums}.accountable-row-actions{display:flex;justify-content:flex-end;gap:6px}.accountable-status{display:inline-flex;width:fit-content;min-height:26px;align-items:center;justify-content:center;padding:5px 9px;border:1px solid transparent;border-radius:999px;font-size:10px;font-weight:850;line-height:1.15;white-space:nowrap}.status-open,.expense-draft{color:#475569;border-color:#cbd5e1;background:#f8fafc}.status-overdue,.expense-rejected{color:#991b1b;border-color:#fecaca;background:#fef2f2}.status-review,.expense-submitted{color:#1e40af;border-color:#bfdbfe;background:#eff6ff}.status-settled,.expense-approved{color:#166534;border-color:#bbf7d0;background:#f0fdf4}.status-overreturned{color:#6b21a8;border-color:#e9d5ff;background:#faf5ff}.accountable-missing-note{color:var(--accountable-red)!important;font-weight:750}.accountable-workspace{gap:16px}.accountable-ledger-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}.accountable-ledger-summary>div{min-width:0;display:grid;gap:4px;padding:12px;border:1px solid var(--border);border-radius:12px;background:var(--surface)}.accountable-ledger-summary span{color:var(--text-dim);font-size:10px;font-weight:800}.accountable-ledger-summary strong{font-size:16px;font-variant-numeric:tabular-nums}.accountable-ledger-summary .is-balance{color:var(--accountable-amber);border-color:#fed7aa;background:#fff7ed}.accountable-expenses-section{display:grid;gap:10px}.accountable-section-head{display:flex;align-items:flex-end;justify-content:space-between;gap:12px}.accountable-section-head h4,.accountable-section-head p{margin:0}.accountable-section-head h4{font-size:15px}.accountable-section-head p{margin-top:3px;color:var(--text-dim);font-size:11px}.accountable-expense-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.accountable-expense-card{min-width:0;display:grid;align-content:start;gap:10px;padding:13px;border:1px solid var(--border);border-radius:14px;background:var(--surface);box-shadow:var(--shadow-sm)}.accountable-expense-card.is-submitted{border-color:#bfdbfe}.accountable-expense-card.is-approved{border-color:#bbf7d0}.accountable-expense-card.is-rejected{border-color:#fecaca}.accountable-expense-card-head{display:flex;align-items:flex-start;justify-content:space-between;gap:10px}.accountable-expense-card-head>div:first-child{min-width:0;display:grid;gap:5px}.accountable-expense-card-head>div:first-child>span{color:var(--text-dim);font-size:10px}.accountable-expense-title-line{min-width:0;display:flex;align-items:center;gap:7px}.accountable-expense-title-line>strong{min-width:0;overflow-wrap:anywhere}.accountable-expense-amount{flex:0 0 auto;color:var(--accountable-green);font-size:15px;font-variant-numeric:tabular-nums}.accountable-expense-description,.accountable-review-note{display:grid;gap:3px;margin:0;color:var(--text-dim);font-size:11px;line-height:1.45}.accountable-source-tags,.accountable-document-list,.accountable-expense-card-actions{display:flex;flex-wrap:wrap;gap:6px}.accountable-source-tags span{padding:4px 7px;color:#334155;border:1px solid #e2e8f0;border-radius:999px;background:#f8fafc;font-size:9px;font-weight:750}.accountable-expense-evidence{display:flex;gap:8px}.accountable-expense-evidence>div{min-width:0;display:flex;align-items:baseline;gap:5px;padding:7px 9px;border-radius:9px;color:var(--text-dim);background:var(--surface-2);font-size:10px}.accountable-expense-evidence>div.is-missing{color:var(--accountable-red);background:#fef2f2}.accountable-expense-evidence strong{color:var(--text);font-size:13px}.accountable-expense-items{border-top:1px solid var(--border);border-bottom:1px solid var(--border)}.accountable-expense-items summary,.accountable-bank-ledger summary{padding:9px 0;color:var(--accountable-teal);font-size:11px;font-weight:800;cursor:pointer}.accountable-expense-items>div{display:grid;gap:1px;max-height:210px;padding-bottom:8px;overflow:auto}.accountable-expense-items p{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:2px 8px;margin:0;padding:6px;border-radius:7px;font-size:10px}.accountable-expense-items p:nth-child(odd){background:var(--surface-2)}.accountable-expense-items p span{min-width:0;overflow-wrap:anywhere}.accountable-expense-items p small{grid-column:1 / -1;color:var(--text-dim)}.accountable-expense-card-actions{justify-content:flex-end}.accountable-empty-expenses{display:grid;justify-items:start;gap:5px;padding:18px;border:1px dashed var(--border-strong);border-radius:14px;color:var(--text-dim);background:var(--surface)}.accountable-empty-expenses span{font-size:11px}.accountable-empty-expenses .btn{margin-top:5px}.accountable-bank-ledger{border-top:1px solid var(--border)}.accountable-bank-ledger>summary{min-height:44px;display:flex;align-items:center}.accountable-expense-overlay{align-items:flex-start;overflow-y:auto}.accountable-expense-modal{width:min(980px,calc(100vw - 32px));max-width:980px;max-height:none;display:grid;gap:14px;margin:24px auto;padding:20px}.accountable-expense-modal-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px}.accountable-expense-modal-head h3,.accountable-expense-modal-head p{margin:0}.accountable-expense-modal-head h3{margin-top:3px}.accountable-form-steps{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:0;padding:0;list-style:none}.accountable-form-steps li{display:flex;align-items:center;gap:8px;padding:8px 10px;color:#115e59;border:1px solid #99f6e4;border-radius:10px;background:#f0fdfa;font-size:11px;font-weight:800}.accountable-form-steps strong{width:24px;height:24px;display:grid;flex:0 0 24px;place-items:center;color:#fff;border-radius:999px;background:var(--accountable-teal)}.accountable-form-section{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:0;padding:14px;border:1px solid var(--border);border-radius:14px;background:var(--surface-2)}.accountable-form-section legend{padding:0 6px;font-size:12px;font-weight:850}.accountable-form-section label,.accountable-review-modal label{min-width:0;display:grid;align-content:start;gap:5px;color:var(--text-dim);font-size:11px;font-weight:750}.accountable-form-section input,.accountable-form-section select,.accountable-form-section textarea,.accountable-review-modal textarea{width:100%;min-height:44px;color:var(--text);border:1px solid var(--border);border-radius:10px;background:var(--surface);font:inherit;font-size:13px}.accountable-form-section textarea,.accountable-review-modal textarea{padding:10px 12px;resize:vertical}.accountable-form-section input:focus-visible,.accountable-form-section select:focus-visible,.accountable-form-section textarea:focus-visible,.accountable-review-modal textarea:focus-visible{outline:3px solid var(--accent-ring);outline-offset:1px}.accountable-form-section label small{color:var(--text-dim);font-size:9px;font-weight:500;line-height:1.4}.accountable-form-wide,.accountable-selected-files{grid-column:1 / -1}.accountable-file-field input{padding:7px}.accountable-selected-files{margin:0;padding:8px 10px;color:#166534;border-radius:9px;background:#f0fdf4;font-size:10px;overflow-wrap:anywhere}.accountable-expense-actions{position:sticky;bottom:-1px;z-index:2;display:flex;justify-content:flex-end;gap:8px;padding:12px 0 0;border-top:1px solid var(--border);background:var(--surface)}.accountable-review-modal{display:grid;gap:12px}.accountable-integrated-page .success-message{margin:0}@media(max-width:1180px){.accountable-integrated-stats{grid-template-columns:repeat(3,minmax(0,1fr))}}@media(max-width:900px){.accountable-integration-flow{grid-template-columns:repeat(3,minmax(0,1fr))}.accountable-expense-grid{grid-template-columns:1fr}}@media(max-width:760px){.accountable-integration-flow{grid-template-columns:1fr}.accountable-integration-flow li{grid-template-columns:28px minmax(0,1fr)}.accountable-integrated-stats,.accountable-ledger-summary{grid-template-columns:repeat(2,minmax(0,1fr))}.accountable-section-head,.accountable-expense-card-head{align-items:flex-start;flex-direction:column}.accountable-expense-amount{font-size:17px}.accountable-row-actions,.accountable-expense-card-actions,.accountable-expense-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));width:100%}.accountable-row-actions .btn,.accountable-expense-card-actions .btn,.accountable-expense-actions .btn{width:100%;min-height:44px}.accountable-expense-actions .btn:last-child{grid-column:1 / -1}.accountable-expense-modal{width:calc(100vw - 16px);margin:8px auto;padding:14px;border-radius:14px}.accountable-form-section{grid-template-columns:1fr;padding:11px}.accountable-form-wide,.accountable-selected-files{grid-column:auto}.accountable-form-steps li{justify-content:center;padding:7px}.accountable-expense-modal-head .modal-close{flex:0 0 44px}}@media(max-width:480px){.accountable-integrated-stats,.accountable-ledger-summary,.accountable-form-steps{grid-template-columns:1fr}.accountable-form-steps li{justify-content:flex-start}}@media(prefers-reduced-motion:reduce){.accountable-expense-card,.accountable-status,.accountable-integration-flow li{transition:none}}.block-icon-planned-production,.block-icon-kitchen-planning,.block-icon-menu-planning{display:grid;width:46px;height:46px;place-items:center;border:1px solid #a7ddd0;border-radius:14px;color:var(--accent-dark);background:var(--accent-soft)}.block-icon-planned-production svg,.block-icon-kitchen-planning svg,.block-icon-menu-planning svg,.menu-planning-hero-icon svg,.menu-planning-actions button svg{fill:none;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:1.8}.block-icon-planned-production svg,.block-icon-kitchen-planning svg,.block-icon-menu-planning svg{width:25px;height:25px}.menu-planning-page{display:grid;gap:18px;min-width:0}.menu-planning-hero{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:18px;padding:24px;overflow:hidden;border:1px solid #cfe7df;border-radius:22px;background:radial-gradient(circle at 92% 10%,rgba(4,120,87,.13),transparent 32%),linear-gradient(135deg,#fff,#f4fbf8);box-shadow:var(--shadow-sm)}.menu-planning-hero-icon{display:grid;width:56px;height:56px;place-items:center;border-radius:17px;color:#fff;background:linear-gradient(145deg,#0a8862,var(--accent-dark));box-shadow:0 8px 20px #04785733}.menu-planning-hero-icon svg{width:29px;height:29px}.menu-planning-hero h2{margin:4px 0 5px;font-size:clamp(24px,3vw,34px)}.menu-planning-hero p{max-width:690px;margin:0;color:var(--text-dim)}.menu-planning-date{display:grid;gap:2px;min-width:190px;padding:12px 15px;border:1px solid #b8dfd3;border-radius:14px;color:var(--accent-dark);background:#ffffffe6;text-align:right}.menu-planning-date span,.menu-planning-date small{color:var(--text-dim);font-size:11px}.menu-planning-date strong{font-size:15px}.menu-planning-steps{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:0;padding:0;list-style:none}.menu-planning-steps li{display:flex;min-width:0;align-items:center;gap:10px;padding:12px 14px;border:1px solid var(--border);border-radius:14px;color:var(--text-dim);background:#ffffffa6}.menu-planning-steps li>span{display:grid;width:30px;height:30px;flex:0 0 30px;place-items:center;border:1px solid var(--border-strong);border-radius:999px;font-size:12px;font-weight:850;background:var(--surface)}.menu-planning-steps li div{display:grid;min-width:0}.menu-planning-steps strong,.menu-planning-steps small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.menu-planning-steps strong{color:inherit;font-size:13px}.menu-planning-steps small{font-size:10px}.menu-planning-steps li.is-active{border-color:#9bd6c4;color:var(--accent-dark);background:var(--accent-soft);box-shadow:0 0 0 3px #0478570f}.menu-planning-steps li.is-active>span,.menu-planning-steps li.is-complete>span{border-color:var(--accent);color:#fff;background:var(--accent)}.menu-planning-steps li.is-complete{color:var(--text)}.menu-planning-card{overflow:hidden;border:1px solid var(--border);border-radius:20px;background:var(--surface);box-shadow:var(--shadow-sm)}.menu-planning-card form{display:grid;gap:22px;padding:24px}.menu-planning-card-head,.menu-planning-card-head>div,.menu-planning-actions,.menu-planning-started{display:flex;align-items:center}.menu-planning-card-head{justify-content:space-between;gap:20px}.menu-planning-card-head>div{gap:12px}.menu-planning-card-head h3{margin:0 0 3px;font-size:19px}.menu-planning-card-head p{margin:0;color:var(--text-dim);font-size:13px}.menu-planning-step-number{display:grid;width:46px;height:46px;flex:0 0 46px;place-items:center;border-radius:14px;color:var(--accent-dark);background:var(--accent-soft);font-size:13px;font-weight:900;font-variant-numeric:tabular-nums}.menu-planning-required{flex:0 0 auto;padding:6px 10px;border-radius:999px;color:var(--warn);background:var(--warn-bg);font-size:10px;font-weight:800}.menu-planning-schedule{min-width:0;margin:0;padding:16px;border:1px solid #b9ddd2;border-radius:16px;background:#f4fbf8}.menu-planning-schedule legend{padding:0 7px;color:var(--accent-dark);font-size:12px;font-weight:850}.menu-planning-schedule-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:14px}.menu-planning-schedule-head>div{display:grid;gap:2px}.menu-planning-schedule-head strong{font-size:13px}.menu-planning-schedule-head small{color:var(--text-dim);font-size:10px}.menu-planning-schedule-head>span{flex:0 0 auto;padding:5px 9px;border-radius:999px;color:var(--accent-dark);background:#fff;font-size:10px;font-weight:800}.menu-planning-schedule-grid{display:grid;grid-template-columns:minmax(200px,.65fr) minmax(0,1.5fr);gap:12px}.menu-planning-schedule-grid>label,.menu-planning-time-group,.menu-planning-time-list label{display:grid;min-width:0;gap:6px}.menu-planning-schedule-grid>label,.menu-planning-time-group{align-content:start;padding:12px;border:1px solid #d4e8e1;border-radius:12px;background:var(--surface)}.menu-planning-schedule-grid>label>span,.menu-planning-time-group>span{color:var(--text);font-size:11px;font-weight:800}.menu-planning-schedule-grid>label>small{color:var(--text-dim);font-size:9px}.menu-planning-time-list{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.menu-planning-time-list label>span{display:flex;min-height:18px;align-items:center;justify-content:space-between;gap:5px;color:var(--text-dim);font-size:10px;font-weight:750}.menu-planning-time-list label>span small{font-size:8px;font-weight:600}.menu-planning-schedule input{width:100%;min-width:0;height:48px;padding:0 11px;border:1px solid var(--border-strong);border-radius:10px;color:var(--text);background:var(--surface);font:inherit;cursor:pointer}.menu-planning-schedule input:focus-visible{border-color:var(--accent);outline:3px solid var(--accent-ring);outline-offset:1px}.menu-planning-schedule input[aria-invalid=true]{border-color:var(--danger);background:var(--danger-bg)}.menu-planning-time-error{margin:10px 0 0;color:var(--danger);font-size:11px;font-weight:750}.menu-planning-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.menu-planning-fields label{display:grid;gap:7px;min-width:0;padding:16px;border:1px solid var(--border);border-radius:16px;background:var(--surface-2);transition:opacity var(--speed) ease,border-color var(--speed) ease}.menu-planning-fields label:focus-within{border-color:#78c2ad}.menu-planning-fields label.is-disabled{opacity:.58}.menu-planning-fields label>span{color:var(--text);font-size:12px;font-weight:800}.menu-planning-fields select{width:100%;min-width:0;height:48px;padding:0 12px;border:1px solid var(--border-strong);border-radius:11px;color:var(--text);background:var(--surface);font:inherit;cursor:pointer}.menu-planning-fields select:disabled{cursor:not-allowed}.menu-planning-fields select:focus-visible{border-color:var(--accent);outline:3px solid var(--accent-ring);outline-offset:1px}.menu-planning-fields label small{color:var(--text-dim);font-size:10px}.menu-planning-actions{justify-content:space-between;gap:16px;padding-top:18px;border-top:1px solid var(--border)}.menu-planning-actions>div{color:var(--text-dim);font-size:13px}.menu-planning-actions>div strong{color:var(--text)}.menu-planning-actions button{display:inline-flex;min-height:48px;align-items:center;gap:9px}.menu-planning-actions button svg{width:19px;height:19px}.menu-planning-started{gap:16px;padding:28px;background:linear-gradient(135deg,#fff,#f2fbf7)}.menu-planning-started-icon{display:grid;width:52px;height:52px;flex:0 0 52px;place-items:center;border-radius:999px;color:#fff;background:var(--accent);font-size:22px;font-weight:900}.menu-planning-started>div{flex:1;min-width:0}.menu-planning-started h3{margin:3px 0 7px}.menu-planning-started p{display:grid;gap:2px;margin:0 0 7px}.menu-planning-started p span{color:var(--accent-dark);font-weight:750}.menu-planning-started small{color:var(--text-dim)}.menu-planning-started-actions{display:flex;flex:0 0 auto;gap:8px}.menu-planning-saved{display:grid;gap:14px;padding:22px;border:1px solid var(--border);border-radius:20px;background:var(--surface);box-shadow:var(--shadow-sm)}.menu-planning-saved-head,.menu-planning-saved-head>div:last-child{display:flex;align-items:center;justify-content:space-between;gap:14px}.menu-planning-saved-head h3{margin:3px 0}.menu-planning-saved-head small{color:var(--text-dim);font-size:11px}.menu-planning-saved-head>div:last-child>span{color:var(--text-dim);font-size:12px;font-weight:750;white-space:nowrap}.menu-planning-list-state{padding:30px 18px;border:1px dashed var(--border-strong);border-radius:14px;color:var(--text-dim);background:var(--surface-2);text-align:center;font-size:13px}.menu-planning-saved-list{display:grid;gap:9px}.menu-planning-saved-list article{display:grid;grid-template-columns:minmax(155px,.85fr) minmax(180px,1fr) minmax(210px,1.25fr) auto;align-items:center;gap:14px;padding:14px;border:1px solid var(--border);border-radius:14px;background:var(--surface-2);transition:border-color var(--speed) ease,box-shadow var(--speed) ease}.menu-planning-saved-list article:hover{border-color:#bddbd2;box-shadow:var(--shadow-sm)}.menu-planning-saved-list article.is-editing{border-color:var(--accent);background:var(--accent-soft);box-shadow:0 0 0 3px var(--accent-ring)}.menu-planning-saved-date,.menu-planning-saved-target{display:grid;min-width:0;gap:2px}.menu-planning-saved-date time,.menu-planning-saved-target strong{color:var(--text);font-size:13px;font-weight:800}.menu-planning-saved-date small,.menu-planning-saved-target span{overflow-wrap:anywhere;color:var(--text-dim);font-size:10px}.menu-planning-saved-times{display:flex;min-width:0;flex-wrap:wrap;gap:6px}.menu-planning-saved-times span{padding:6px 9px;border:1px solid #b7ddcf;border-radius:999px;color:var(--accent-dark);background:var(--accent-soft);font-size:11px;font-weight:800;font-variant-numeric:tabular-nums}.menu-planning-saved-actions{display:flex;justify-content:flex-end;gap:7px}@media(max-width:760px){.menu-planning-hero{grid-template-columns:auto minmax(0,1fr);align-items:start;padding:18px}.menu-planning-date{grid-column:1 / -1;min-width:0;text-align:left}.menu-planning-steps,.menu-planning-fields,.menu-planning-schedule-grid{grid-template-columns:1fr}.menu-planning-steps strong,.menu-planning-steps small{white-space:normal}.menu-planning-card form{padding:18px}.menu-planning-card-head,.menu-planning-actions,.menu-planning-started{align-items:stretch;flex-direction:column}.menu-planning-required{align-self:flex-start}.menu-planning-actions button,.menu-planning-started .btn{width:100%;justify-content:center}.menu-planning-started-actions,.menu-planning-saved-head,.menu-planning-saved-head>div:last-child{width:100%;align-items:stretch;flex-direction:column}.menu-planning-saved{padding:16px}.menu-planning-saved-list article{grid-template-columns:1fr;gap:10px}.menu-planning-saved-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.menu-planning-saved-actions .btn{width:100%;min-height:44px}}@media(max-width:420px){.menu-planning-hero-icon{width:48px;height:48px}.menu-planning-card-head>div{align-items:flex-start}.menu-planning-step-number{width:40px;height:40px;flex-basis:40px}}@media(max-width:520px){.menu-planning-schedule-head{flex-direction:column}.menu-planning-time-list{grid-template-columns:1fr}}@media(min-width:761px)and (max-width:1040px){.menu-planning-steps{grid-template-columns:repeat(2,minmax(0,1fr))}.menu-planning-saved-list article{grid-template-columns:repeat(2,minmax(0,1fr))}.menu-planning-saved-actions{justify-content:flex-start}}@media(prefers-reduced-motion:reduce){.menu-planning-fields label,.menu-planning-saved-list article{transition:none}}.hr-workspace,.hr-workspace *{box-sizing:border-box}.hr-workspace{display:grid;gap:18px;min-width:0;max-width:100%;overflow-x:clip}.hr-hero{display:flex;align-items:flex-end;justify-content:space-between;gap:24px;min-width:0;padding:22px;border:1px solid var(--border);border-radius:18px;background:linear-gradient(135deg,var(--surface),var(--accent-soft));box-shadow:var(--shadow-sm)}.hr-hero>div:first-child{min-width:0;max-width:760px}.hr-hero h2,.hr-hero p{margin:0}.hr-hero h2{margin-top:3px;font-size:clamp(24px,3vw,36px)}.hr-hero>div:first-child>p:last-child{margin-top:8px;color:var(--text-dim);line-height:1.55}.hr-hero-summary{display:grid;flex:0 0 auto;grid-template-columns:repeat(2,minmax(110px,1fr));gap:8px}.hr-hero-summary span{display:grid;gap:2px;padding:12px;border:1px solid var(--border);border-radius:12px;background:var(--surface);color:var(--text-dim);font-size:11px}.hr-hero-summary strong{color:var(--accent-dark);font-size:22px;font-variant-numeric:tabular-nums}.hr-nav{display:grid;grid-template-columns:repeat(auto-fit,minmax(92px,1fr));gap:8px;min-width:0}.hr-nav button{position:relative;display:grid;align-content:center;justify-items:center;gap:7px;min-width:0;min-height:76px;padding:10px 6px;border:1px solid var(--border);border-radius:12px;background:var(--surface);color:var(--text-dim);cursor:pointer;font:inherit;font-size:11px;font-weight:700;line-height:1.25;text-align:center;transition:border-color .18s ease,background-color .18s ease,color .18s ease}.hr-nav button:hover,.hr-nav button.active{border-color:var(--accent);background:var(--accent-soft);color:var(--accent-dark)}.hr-nav button:focus-visible,.hr-metric-grid button:focus-visible,.hr-signal-list button:focus-visible,.hr-record-actions button:focus-visible{outline:3px solid var(--accent-ring);outline-offset:2px}.hr-nav svg,.hr-metric-grid svg,.hr-empty svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:1.75}.hr-nav b{position:absolute;top:7px;right:7px;min-width:20px;padding:2px 5px;border-radius:999px;background:var(--accent);color:var(--surface);font-size:9px;font-variant-numeric:tabular-nums}.hr-loading,.hr-empty{display:grid;place-items:center;gap:8px;min-height:140px;padding:24px;border:1px dashed var(--border);border-radius:14px;color:var(--text-dim);text-align:center}.hr-empty{grid-column:1 / -1;min-height:110px}.hr-empty p{margin:0}.hr-overview,.hr-module{display:grid;gap:18px;min-width:0}.hr-metric-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;min-width:0}.hr-metric-grid button{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:10px;min-width:0;min-height:78px;padding:14px;border:1px solid var(--border);border-radius:14px;background:var(--surface);color:var(--text);cursor:pointer;font:inherit;text-align:left;transition:border-color .18s ease,box-shadow .18s ease}.hr-metric-grid button:hover{border-color:var(--accent);box-shadow:var(--shadow-sm)}.hr-metric-grid span{min-width:0;overflow-wrap:anywhere;color:var(--text-dim);font-size:11px;font-weight:650}.hr-metric-grid strong{color:var(--accent-dark);font-size:27px;font-variant-numeric:tabular-nums}.hr-overview-panels{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;min-width:0}.hr-panel{display:grid;align-content:start;gap:12px;min-width:0;padding:16px;border:1px solid var(--border);border-radius:14px;background:var(--surface)}.hr-panel-title,.hr-module-head,.hr-section-label{display:flex;align-items:center;justify-content:space-between;gap:14px;min-width:0}.hr-panel-title h3,.hr-module-head h3,.hr-module-head p,.hr-section-label h4{margin:0}.hr-panel-title span,.hr-section-label span{flex:0 0 auto;padding:4px 8px;border-radius:999px;background:var(--surface-2);color:var(--text-dim);font-size:10px;font-weight:700}.hr-signal-list{display:grid;gap:7px}.hr-signal-list button{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:2px 10px;min-width:0;min-height:54px;padding:9px 10px;border:1px solid var(--border);border-radius:10px;background:var(--surface-2);color:var(--text);cursor:pointer;font:inherit;text-align:left}.hr-signal-list button>span:first-child{min-width:0;overflow-wrap:anywhere;font-size:12px;font-weight:750}.hr-signal-list small{min-width:0;overflow-wrap:anywhere;color:var(--text-dim);font-size:10px}.hr-signal-list .hr-status,.hr-signal-list time{grid-column:2;grid-row:1 / span 2;align-self:center}.hr-signal-list time{color:var(--text-dim);font-size:10px}.hr-module-head{align-items:flex-start;padding:18px;border:1px solid var(--border);border-radius:14px;background:var(--surface)}.hr-module-head>div{min-width:0}.hr-module-head p{max-width:720px;margin-top:5px;color:var(--text-dim);font-size:12px;line-height:1.5}.hr-structure-head{align-items:center}.hr-structure-head .eyebrow{margin:0 0 5px;color:var(--accent-dark)}.hr-structure-summary{display:grid;flex:0 0 auto;grid-template-columns:repeat(3,minmax(104px,1fr));gap:8px}.hr-structure-summary>span{display:grid;gap:2px;min-width:0;padding:10px 12px;border:1px solid var(--border);border-radius:11px;background:var(--surface-2)}.hr-structure-summary strong{color:var(--accent-dark);font-size:21px;font-variant-numeric:tabular-nums}.hr-structure-summary small{color:var(--text-dim);font-size:10px;font-weight:700}.hr-structure-note{margin:14px 0 0;padding:10px 12px;border:1px solid rgba(180,83,9,.24);border-radius:10px;color:var(--warn);background:var(--warn-bg);font-size:11px;line-height:1.5}.structure-catalog-tabs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:5px;padding:5px;border:1px solid var(--border);border-radius:14px;background:var(--surface-2)}.structure-catalog-tabs button{display:flex;align-items:center;justify-content:center;gap:8px;min-width:0;min-height:46px;padding:9px 14px;border:1px solid transparent;border-radius:10px;color:var(--text-dim);background:transparent;font:inherit;font-size:12px;font-weight:750;cursor:pointer}.structure-catalog-tabs button:hover{color:var(--text);background:var(--surface)}.structure-catalog-tabs button:focus-visible,.structure-view-switch button:focus-visible,.structure-sort-button:focus-visible,.structure-parameter-remove:focus-visible{outline:3px solid var(--accent-ring);outline-offset:2px}.structure-catalog-tabs button[aria-selected=true]{border-color:#0478574d;color:var(--accent-dark);background:var(--surface);box-shadow:var(--shadow-sm)}.structure-catalog-tabs b{display:inline-grid;min-width:25px;min-height:25px;padding:0 6px;border-radius:999px;place-items:center;color:inherit;background:var(--surface-2);font-size:10px;font-variant-numeric:tabular-nums}.structure-catalog-tabs button[aria-selected=true] b{color:#fff;background:var(--accent)}.structure-catalog-panel{min-width:0;overflow:hidden;border:1px solid var(--border);border-radius:16px;background:var(--surface);box-shadow:var(--shadow-sm)}.structure-catalog-toolbar{display:grid;grid-template-columns:minmax(240px,1fr) minmax(145px,180px) auto auto;align-items:end;gap:10px;padding:14px;border-bottom:1px solid var(--border);background:var(--surface-2)}.structure-catalog-search,.structure-catalog-filter{display:grid;gap:5px;min-width:0;color:var(--text-dim);font-size:10px;font-weight:750}.structure-search-control{position:relative;display:block}.structure-search-control svg{position:absolute;top:50%;left:13px;width:18px;height:18px;transform:translateY(-50%);fill:none;stroke:var(--text-dim);stroke-width:1.8;stroke-linecap:round;pointer-events:none}.structure-search-control input,.structure-catalog-filter select{width:100%;min-height:44px;border:1px solid var(--border);border-radius:10px;color:var(--text);background:var(--surface);font:inherit;font-size:13px}.structure-search-control input{padding:9px 12px 9px 40px}.structure-catalog-filter select{padding:9px 34px 9px 11px}.structure-search-control input:focus,.structure-catalog-filter select:focus{border-color:var(--accent);outline:3px solid var(--accent-ring)}.structure-view-switch{display:grid;grid-template-columns:repeat(2,minmax(74px,1fr));gap:3px;min-height:44px;padding:3px;border:1px solid var(--border);border-radius:10px;background:var(--surface)}.structure-view-switch button{min-height:36px;padding:6px 10px;border:0;border-radius:7px;color:var(--text-dim);background:transparent;font:inherit;font-size:11px;font-weight:750;cursor:pointer}.structure-view-switch button.is-active{color:var(--accent-dark);background:var(--accent-soft)}.structure-add-button{min-height:44px;white-space:nowrap}.structure-table-wrap{overflow-x:auto;border:0;border-radius:0}.structure-catalog-table{min-width:850px}.structure-catalog-table th{color:var(--text-dim);background:var(--surface);font-size:10px;white-space:nowrap}.structure-catalog-table td{vertical-align:middle;font-size:11.5px}.structure-catalog-table tbody tr:hover{background:#04785709}.structure-sort-button{display:inline-flex;align-items:center;justify-content:flex-start;gap:6px;margin:-6px;padding:6px;border:0;color:inherit;background:transparent;font:inherit;font-weight:750;cursor:pointer}.structure-sort-button span{color:#94a3b8;font-size:13px}.structure-sort-button:hover,.structure-sort-button.is-active{color:var(--accent-dark)}.structure-sort-button.is-active span{color:var(--accent)}.structure-row-primary,.structure-row-description,.structure-scope-cell{display:grid;gap:3px;min-width:0}.structure-row-primary strong,.structure-scope-cell strong{color:var(--text);font-size:12px;overflow-wrap:anywhere}.structure-row-primary>span,.structure-row-description>span,.structure-scope-cell small{display:-webkit-box;overflow:hidden;color:var(--text-dim);font-size:10.5px;line-height:1.45;-webkit-box-orient:vertical;-webkit-line-clamp:2}.structure-row-primary small,.structure-row-description small{color:var(--accent-dark);font-size:9.5px;font-weight:700}.structure-row-primary.is-hierarchy{position:relative;padding-left:calc(var(--structure-depth) * 22px)}.structure-row-primary.is-hierarchy:before{position:absolute;top:4px;left:calc((var(--structure-depth) * 22px) - 14px);display:none;width:9px;height:9px;border-bottom:1px solid var(--border-strong);border-left:1px solid var(--border-strong);content:""}.structure-row-primary.is-hierarchy.has-parent:before{display:block}.structure-status{display:inline-flex;align-items:center;gap:6px;padding:5px 8px;border:1px solid var(--border);border-radius:999px;color:var(--text-dim);background:var(--surface-2);font-size:9.5px;font-weight:750;white-space:nowrap}.structure-status>span{width:7px;height:7px;border-radius:50%;background:#94a3b8}.structure-status.is-active{border-color:#04785733;color:var(--accent-dark);background:var(--accent-soft)}.structure-status.is-active>span{background:var(--accent)}.structure-row-action{width:1%;text-align:right}.structure-row-action .btn{min-height:38px}.structure-row-actions{display:flex;align-items:center;justify-content:flex-end;gap:7px;white-space:nowrap}.structure-delete-button{color:var(--danger)}.structure-delete-button:hover{border-color:var(--danger);background:var(--danger-bg)}.structure-result-count{margin:0;padding:9px 14px;border-top:1px solid var(--border);color:var(--text-dim);background:var(--surface-2);font-size:10px;text-align:right}.structure-catalog-empty,.structure-filter-empty{min-height:260px;margin:0;border:0;border-radius:0}.structure-catalog-empty>span{display:grid;width:46px;height:46px;margin:0 auto 10px;border-radius:14px;place-items:center;color:var(--accent-dark);background:var(--accent-soft);font-size:25px}.structure-catalog-empty h4,.structure-catalog-empty p{margin:0 0 7px}.structure-catalog-empty .btn{margin-top:8px}.structure-editor-backdrop{position:fixed;z-index:1500;top:0;right:0;bottom:0;left:0;display:grid;align-items:center;justify-items:center;padding:22px;background:#0f172a7a;-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px)}.structure-editor-modal{display:flex;flex-direction:column;width:min(820px,100%);max-height:min(92dvh,880px);overflow:hidden;border:1px solid var(--border);border-radius:20px;background:var(--surface);box-shadow:0 24px 70px #0f172a38;animation:modal-in .19s ease-out}.structure-delete-backdrop{position:fixed;z-index:1520;top:0;right:0;bottom:0;left:0;display:grid;align-items:center;justify-items:center;padding:22px;overflow-y:auto;background:#0f172a85;-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px)}.structure-delete-dialog{display:flex;flex-direction:column;width:min(520px,100%);max-height:min(92dvh,720px);overflow:hidden;border:1px solid var(--border);border-radius:20px;background:var(--surface);box-shadow:0 24px 70px #0f172a3d;animation:modal-in .19s ease-out}.structure-delete-dialog>header,.structure-delete-dialog>footer{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:17px 19px}.structure-delete-dialog>header{align-items:flex-start;border-bottom:1px solid var(--border)}.structure-delete-dialog>header .eyebrow,.structure-delete-dialog>header h3{margin:0}.structure-delete-dialog>header h3{margin-top:4px;font-size:20px}.structure-delete-content{display:grid;gap:12px;min-height:0;padding:19px;overflow-y:auto}.structure-delete-content>strong{font-size:17px}.structure-delete-content>p,.structure-delete-blocked p{margin:0;color:var(--text-dim);line-height:1.6}.structure-delete-blocked{padding:13px 14px;border:1px solid rgba(217,119,6,.32);border-radius:12px;background:var(--warn-bg)}.structure-delete-blocked ul{display:grid;gap:6px;margin:10px 0 0;padding-left:20px}.structure-delete-blocked .structure-delete-detach-note{margin-top:12px;padding-top:12px;border-top:1px solid rgba(217,119,6,.24)}.structure-delete-dialog>footer{justify-content:flex-end;flex-wrap:wrap;border-top:1px solid var(--border);background:var(--surface-2)}.structure-delete-detach-button{max-width:100%;min-height:44px;white-space:normal;line-height:1.35;text-align:center}.structure-editor-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;padding:18px 20px;border-bottom:1px solid var(--border)}.structure-editor-head .eyebrow,.structure-editor-head h3,.structure-editor-head p{margin:0}.structure-editor-head .eyebrow{color:var(--accent-dark)}.structure-editor-head h3{margin-top:4px;font-size:20px}.structure-editor-head p{max-width:620px;margin-top:4px;color:var(--text-dim);font-size:11px;line-height:1.5}.structure-editor-form{flex:1 1 auto;min-height:0;padding:18px 20px 20px;overflow-y:auto}.structure-editor-form>.form-error{margin-top:0}.structure-editor-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-items:start;gap:13px}.structure-editor-wide{grid-column:1 / -1}.structure-editor-grid textarea{min-height:104px;resize:vertical}.structure-active-field{display:flex;align-items:center;gap:10px;min-height:44px;margin-top:18px;padding:9px 11px;border:1px solid var(--border);border-radius:10px;background:var(--surface-2);cursor:pointer}.structure-active-field input{width:18px;height:18px;accent-color:var(--accent)}.structure-active-field span{display:grid;gap:1px}.structure-active-field strong{font-size:11px}.structure-active-field small{color:var(--text-dim);font-size:9px}.structure-parameter-editor{margin-top:16px;padding:14px;border:1px solid var(--border);border-radius:13px;background:var(--surface-2)}.structure-parameter-head{display:flex;align-items:center;justify-content:space-between;gap:12px}.structure-parameter-head>div{display:grid;gap:2px}.structure-parameter-head strong{font-size:12px}.structure-parameter-head small,.structure-parameter-empty{color:var(--text-dim);font-size:9.5px}.structure-parameter-empty{margin:13px 0 0;padding:11px;border:1px dashed var(--border-strong);border-radius:9px;text-align:center}.structure-parameter-rows{display:grid;gap:7px;margin-top:12px}.structure-parameter-labels,.structure-parameter-row{display:grid;grid-template-columns:minmax(130px,.9fr) 120px minmax(160px,1.1fr) 38px;gap:7px}.structure-parameter-labels{padding:0 2px;color:var(--text-dim);font-size:9px;font-weight:750}.structure-parameter-row input,.structure-parameter-row select{width:100%;min-width:0;min-height:40px;padding:8px 10px;border:1px solid var(--border);border-radius:9px;color:var(--text);background:var(--surface);font:inherit;font-size:12px}.structure-parameter-row input:focus,.structure-parameter-row select:focus{border-color:var(--accent);outline:3px solid var(--accent-ring)}.structure-parameter-remove{width:38px;min-height:40px;border:1px solid rgba(185,28,28,.18);border-radius:9px;color:var(--danger);background:var(--danger-bg);font-size:19px;cursor:pointer}.structure-editor-actions{display:flex;justify-content:flex-end;gap:9px;margin-top:17px;padding-top:15px;border-top:1px solid var(--border)}.structure-editor-actions .btn{min-height:44px}.hr-form{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;min-width:0;padding:16px;border:1px solid var(--accent);border-radius:14px;background:var(--accent-soft)}.hr-field{display:grid;align-content:start;gap:5px;min-width:0}.hr-field-wide{grid-column:1 / -1}.hr-field>span{color:var(--text-dim);font-size:10px;font-weight:750}.hr-field input,.hr-field select,.hr-field textarea,.hr-pipeline select{width:100%;min-width:0;min-height:44px;padding:9px 11px;border:1px solid var(--border);border-radius:9px;background:var(--surface);color:var(--text);font:inherit;font-size:12px}.hr-field textarea{min-height:78px;resize:vertical}.hr-form>.btn{align-self:end;min-height:44px}.hr-compensation-form{scroll-margin-top:84px}.hr-compensation-form-title{grid-column:1 / -1;margin:0;color:var(--text);font-size:16px;line-height:1.4}.hr-compensation-form-title:focus-visible{outline:3px solid rgba(10,137,103,.24);outline-offset:4px}.hr-subactions{display:flex;flex-wrap:wrap;gap:8px}.hr-payroll-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;min-width:0}.hr-payroll-summary>div{display:grid;gap:5px;min-width:0;padding:14px;border:1px solid var(--border);border-radius:12px;background:var(--surface)}.hr-payroll-summary span{color:var(--text-dim);font-size:10px;font-weight:700}.hr-payroll-summary strong{min-width:0;overflow-wrap:anywhere;color:var(--accent-dark);font-size:clamp(16px,2vw,23px);font-variant-numeric:tabular-nums}.hr-payroll-filters{display:grid;gap:12px;min-width:0;padding:14px;border:1px solid var(--border);border-radius:14px;background:var(--surface);box-shadow:var(--shadow-sm)}.hr-payroll-filter-grid{display:grid;grid-template-columns:minmax(260px,2fr) repeat(2,minmax(150px,1fr));align-items:end;gap:10px;min-width:0}.hr-payroll-filter-meta{display:flex;align-items:center;justify-content:space-between;gap:12px;min-width:0}.hr-payroll-filter-meta p{display:flex;align-items:baseline;gap:4px;min-width:0;margin:0;color:var(--text-dim);font-size:11px}.hr-payroll-filter-meta strong{color:var(--accent-dark);font-size:18px;font-variant-numeric:tabular-nums}.hr-payroll-filter-reset{min-height:44px}.hr-payroll-multiselect{width:100%;min-width:0}.hr-payroll-multiselect>summary{min-height:44px;padding:9px 11px;border-width:1px;border-radius:9px;background:var(--surface);font-size:12px}.hr-payroll-multiselect .employee-multiselect-menu{max-width:min(360px,calc(100vw - 32px))}.hr-payroll-filter-grid>.hr-payroll-multiselect-field:last-child .employee-multiselect-menu{right:0;left:auto}.hr-payroll-multiselect-actions{display:flex;align-items:center;gap:5px}.hr-payroll-multiselect .employee-multiselect-options label,.hr-payroll-multiselect .employee-multiselect-head button{min-height:44px}.hr-payroll-multiselect-close{display:none}.hr-payroll-filter-empty{margin:0;padding:12px 8px;color:var(--text-dim);font-size:11px}.hr-payroll-list{min-width:0;overflow:hidden;border:1px solid var(--border);border-radius:14px;background:var(--surface);box-shadow:var(--shadow-sm)}.hr-payroll-list-head,.hr-payroll-list-summary{display:grid;grid-template-columns:minmax(220px,1.6fr) minmax(150px,1fr) minmax(145px,.8fr) minmax(82px,auto) 34px;align-items:center;gap:14px;min-width:0}.hr-payroll-list-head{min-height:38px;padding:8px 14px;border-bottom:1px solid var(--border);background:var(--surface-2);color:var(--text-dim);font-size:9px;font-weight:800;letter-spacing:.02em;text-transform:uppercase}.hr-payroll-list-item+.hr-payroll-list-item{border-top:1px solid var(--border)}.hr-payroll-list-summary{min-height:68px;padding:11px 14px;cursor:pointer;list-style:none;transition:background-color .16s ease,box-shadow .16s ease}.hr-payroll-list-summary::-webkit-details-marker{display:none}.hr-payroll-list-summary:hover,.hr-payroll-list-summary:focus-visible,.hr-payroll-list-item[open]>.hr-payroll-list-summary{background:color-mix(in srgb,var(--accent-soft) 62%,var(--surface))}.hr-payroll-list-summary:focus-visible{outline:3px solid var(--accent-ring);outline-offset:-3px}.hr-payroll-employee,.hr-payroll-department,.hr-payroll-amount,.hr-payroll-row-status{display:grid;min-width:0;gap:3px}.hr-payroll-employee strong,.hr-payroll-department strong,.hr-payroll-amount strong,.hr-payroll-employee small,.hr-payroll-amount small{min-width:0;overflow-wrap:anywhere}.hr-payroll-employee strong{font-size:13px}.hr-payroll-department strong{font-size:11px}.hr-payroll-employee small,.hr-payroll-amount small{color:var(--text-dim);font-size:9px}.hr-payroll-amount strong{color:var(--accent-dark);font-size:14px;font-variant-numeric:tabular-nums}.hr-payroll-row-status>.hr-status{justify-self:start}.hr-payroll-mobile-label{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.hr-payroll-list-chevron{display:grid;width:32px;height:32px;place-items:center;border-radius:9px;color:var(--accent-dark);background:var(--accent-soft)}.hr-payroll-list-chevron svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:1.8;transition:transform .16s ease}.hr-payroll-list-item[open] .hr-payroll-list-chevron svg{transform:rotate(180deg)}.hr-payroll-list-body{display:grid;gap:13px;min-width:0;padding:14px;border-top:1px solid var(--border);background:color-mix(in srgb,var(--surface-2) 55%,var(--surface))}.hr-payroll-detail-grid{display:grid;grid-template-columns:repeat(4,minmax(120px,1fr));gap:9px;min-width:0;margin:0}.hr-payroll-detail-grid>div{min-width:0;padding:10px;border:1px solid var(--border);border-radius:9px;background:var(--surface)}.hr-payroll-detail-grid dt{color:var(--text-dim);font-size:9px;font-weight:750;text-transform:uppercase}.hr-payroll-detail-grid dd{min-width:0;margin:4px 0 0;overflow-wrap:anywhere;font-size:11px;font-weight:700}.hr-payroll-detail-actions{justify-content:flex-end}.hr-payroll-list-body .hr-salary-history>summary{min-height:44px}.hr-payroll-list-body .hr-salary-history>summary:focus-visible{border-radius:8px;outline:3px solid var(--accent-ring);outline-offset:2px}.hr-payroll-list>.hr-empty{padding:28px 16px}.hr-record-grid,.hr-record-list{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,310px),1fr));gap:10px;min-width:0}.hr-record-list{grid-template-columns:1fr}.hr-record{display:grid;align-content:start;gap:12px;min-width:0;padding:14px;border:1px solid var(--border);border-radius:13px;background:var(--surface);box-shadow:var(--shadow-sm)}.hr-record-row{grid-template-columns:minmax(170px,1.2fr) auto minmax(240px,1fr);align-items:center}.hr-record-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;min-width:0}.hr-record h4,.hr-record p{margin:0;overflow-wrap:anywhere}.hr-record h4{font-size:13px}.hr-record p{margin-top:3px;color:var(--text-dim);font-size:10px}.hr-record dl{display:grid;grid-template-columns:repeat(auto-fit,minmax(100px,1fr));gap:7px;min-width:0;margin:0}.hr-record dl>div{min-width:0}.hr-record dt{color:var(--text-dim);font-size:9px;font-weight:750;text-transform:uppercase}.hr-record dd{min-width:0;margin:3px 0 0;overflow-wrap:anywhere;font-size:11px;font-weight:650}.hr-status{display:inline-flex;align-items:center;justify-content:center;width:max-content;max-width:100%;min-height:24px;padding:3px 8px;border:1px solid var(--border);border-radius:999px;background:var(--surface-2);color:var(--text-dim);font-size:9px;font-weight:750;white-space:normal}.hr-status-approved,.hr-status-present,.hr-status-done,.hr-status-completed,.hr-status-hired,.hr-status-active,.hr-status-paid,.hr-status-returned{border-color:var(--accent);background:var(--accent-soft);color:var(--accent-dark)}.hr-status-rejected,.hr-status-absent,.hr-status-expired,.hr-status-lost,.hr-status-damaged{border-color:var(--danger);background:var(--danger-soft);color:var(--danger)}.hr-record-actions{display:flex;flex-wrap:wrap;gap:8px}.hr-record-actions button{min-height:40px;padding:8px 11px;border:1px solid var(--accent);border-radius:8px;background:var(--accent-soft);color:var(--accent-dark);cursor:pointer;font:inherit;font-size:10px;font-weight:750}.hr-record-actions button.danger{border-color:var(--danger);background:var(--danger-soft);color:var(--danger)}.hr-record-actions button:disabled{cursor:not-allowed;opacity:.45}.hr-section-label{padding-top:4px;border-top:1px solid var(--border)}.hr-pipeline{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,210px),1fr));gap:9px;min-width:0}.hr-pipeline>section{display:grid;align-content:start;gap:8px;min-width:0;padding:10px;border:1px solid var(--border);border-radius:12px;background:var(--surface-2)}.hr-pipeline header{display:flex;align-items:center;justify-content:space-between;gap:8px}.hr-pipeline h4,.hr-pipeline h5,.hr-pipeline p{margin:0}.hr-pipeline header span{min-width:22px;padding:3px 6px;border-radius:999px;background:var(--surface);font-size:9px;font-weight:750;text-align:center}.hr-pipeline article{display:grid;gap:5px;min-width:0;padding:10px;border:1px solid var(--border);border-radius:9px;background:var(--surface)}.hr-pipeline h5,.hr-pipeline p,.hr-pipeline small{overflow-wrap:anywhere}.hr-pipeline h5{font-size:12px}.hr-pipeline p,.hr-pipeline small{color:var(--text-dim);font-size:9px}.employees-page{min-width:0;max-width:100%;overflow-x:clip}.employees-table{display:table;width:100%;max-width:100%;table-layout:fixed;border-collapse:separate;border-spacing:0;overflow:visible}.employees-table thead{display:table-header-group;position:relative;z-index:10}.employees-table tbody{display:table-row-group}.employees-table tbody tr{display:table-row;min-height:62px;background:var(--surface)}.employees-table td{display:table-cell;min-width:0;padding:10px 11px;border-bottom:1px solid var(--border);overflow:hidden;text-overflow:ellipsis;white-space:nowrap;vertical-align:middle}.employees-table td:before{display:none}.employees-table th{padding:10px 11px}.hr-status-unpaid{border-color:#d97706;background:#fffbeb;color:#92400e}.hr-status-partial{border-color:#2563eb;background:#eff6ff;color:#1d4ed8}.employee-column-filter{position:relative;display:inline-flex;align-items:center;max-width:100%;min-height:28px;gap:5px;padding:4px 7px;border:1px solid transparent;border-radius:8px;color:inherit;background:#ecfdf594;cursor:pointer;transition:color .16s ease,border-color .16s ease,background-color .16s ease}.employee-column-filter:hover,.employee-column-filter:focus-within{border-color:#a7f3d0;color:#047857;background:#ecfdf5}.employee-column-filter.active{border-color:#6ee7b7;color:#047857;background:#d1fae5}.employee-column-filter span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.employee-column-filter svg{flex:0 0 auto;width:14px;height:14px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.employee-column-filter select{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;height:100%;margin:0;opacity:0;cursor:pointer}.employee-column-filter select:focus-visible{outline:none}.employee-column-header{display:grid;grid-template-columns:minmax(0,1fr) 24px;align-items:stretch;gap:4px;width:100%;min-width:0}.employee-column-label{align-self:center;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.employee-column-header .employee-column-filter,.employee-column-header .employee-multiselect-filter{width:100%;min-width:0}.employee-column-header .employee-multiselect-filter>summary{min-height:28px;gap:5px;padding:4px 7px;border-color:transparent;border-radius:8px;background:#ecfdf594;color:inherit;font-size:inherit}.employee-column-header .employee-multiselect-filter>summary:hover,.employee-column-header .employee-multiselect-filter>summary:focus-visible,.employee-column-header .employee-multiselect-filter[open]>summary{border-color:#a7f3d0;background:#ecfdf5;color:#047857;box-shadow:none}.employee-column-header .employee-multiselect-filter.active>summary{border-color:#6ee7b7;background:#d1fae5;color:#047857}.employee-column-header .employee-multiselect-filter>summary svg{width:14px;height:14px}.employee-column-header .employee-multiselect-menu{min-width:240px;text-align:left}.employee-column-sort{display:grid;grid-template-rows:repeat(2,minmax(0,1fr));gap:2px}.employee-column-sort button,.employee-toolbar-sort button{display:grid;place-items:center;margin:0;padding:0;border:1px solid var(--border);border-radius:6px;background:var(--surface);color:var(--text-dim);cursor:pointer;transition:border-color .16s ease,background-color .16s ease,color .16s ease,box-shadow .16s ease}.employee-column-sort button:hover,.employee-column-sort button:focus-visible,.employee-toolbar-sort button:hover,.employee-toolbar-sort button:focus-visible{border-color:#6ee7b7;color:#047857;outline:none;box-shadow:0 0 0 2px var(--accent-ring)}.employee-column-sort button.active,.employee-toolbar-sort button.active{border-color:#059669;background:#d1fae5;color:#047857}.employee-column-sort svg,.employee-toolbar-sort svg{width:14px;height:14px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}.employee-toolbar-sort{display:grid;grid-template-columns:repeat(2,36px);gap:5px;min-height:48px}.employee-toolbar-sort button{min-width:36px;min-height:48px;border-radius:var(--radius-sm)}@media(max-width:700px){.employee-toolbar-sort{grid-template-columns:repeat(2,minmax(0,1fr));width:100%}}.employees-table th:nth-child(1){width:17%}.employees-table th:nth-child(2){width:16%}.employees-table th:nth-child(3){width:17%}.employees-table th:nth-child(4){width:15%}.employees-table th:nth-child(5){width:11%}.employees-table th:nth-child(6){width:12%}.employees-table th:nth-child(7){width:9%}.employees-table th:nth-child(8){width:132px}.employees-table .cell-name,.employees-table .employee-structure-cell,.employees-table .employee-contact-cell{white-space:normal}.employees-table .cell-name,.employees-table .employee-contact-cell{line-height:1.3}.employees-table .employee-name{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.employees-table .employee-work-stats{display:block;margin-top:2px;overflow:hidden;color:var(--text-dim);font-size:9px;font-weight:700;text-overflow:ellipsis;white-space:nowrap}.employees-table .employee-role-label{display:inline-block;max-width:100%;min-height:0;overflow:hidden;padding:5px 8px;text-overflow:ellipsis;white-space:nowrap;vertical-align:middle}.employees-table .employee-structure-cell{display:table-cell}.employees-table .employee-structure-cell strong,.employees-table .employee-structure-cell small,.employees-table .employee-contact-cell a,.employees-table .employee-contact-cell>span{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.employees-table .employee-contact-cell a+a{margin-top:2px;color:var(--text-dim);font-size:10px;font-weight:600}.employees-table .cell-personal,.employees-table .employee-hire-cell{color:var(--text-dim);font-size:11px;font-variant-numeric:tabular-nums}.employees-table .cell-actions{display:table-cell;padding-right:8px;text-align:right;white-space:nowrap}.employees-table .cell-actions:before{display:none}.employees-table .cell-actions .btn{margin:0 0 0 5px}.employees-table td:nth-child(7) .badge{max-width:100%;overflow:hidden;padding-inline:7px;font-size:11px;text-overflow:ellipsis}.employee-row-action{width:34px;min-width:34px;height:34px;min-height:34px;padding:0}.employee-row-action svg,.employee-row-open-hint svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.employee-row-open-hint{display:inline-flex;align-items:center;justify-content:flex-end;width:28px;min-width:28px;min-height:34px;margin-left:6px;padding:0;border:0;color:var(--accent-dark);background:transparent;cursor:pointer;font:inherit;font-size:10px;font-weight:750;vertical-align:middle}.employee-row-open-hint:focus-visible{border-radius:8px;outline:3px solid var(--accent-ring);outline-offset:1px}.employee-history-row:hover .employee-row-open-hint svg,.employee-history-row:focus-visible .employee-row-open-hint svg{transform:translate(2px)}.employee-row-open-hint svg{transition:transform .18s ease}@media(max-width:1380px){.employees-table th:nth-child(5),.employees-table td:nth-child(5),.employees-table th:nth-child(6),.employees-table td:nth-child(6){display:none}.employees-table th:nth-child(1){width:20%}.employees-table th:nth-child(2){width:18%}.employees-table th:nth-child(3){width:21%}.employees-table th:nth-child(4){width:20%}.employees-table th:nth-child(7){width:10%}}@media(max-width:980px){.employees-table th:nth-child(3),.employees-table td:nth-child(3){display:none}.employees-table th:nth-child(1){width:27%}.employees-table th:nth-child(2){width:24%}.employees-table th:nth-child(4){width:24%}.employees-table th:nth-child(7){width:12%}}@media(max-width:1180px){.hr-nav{grid-template-columns:repeat(5,minmax(0,1fr))}.hr-metric-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:760px){.hr-workspace{gap:12px}.hr-hero,.hr-module-head{align-items:stretch;flex-direction:column;padding:16px}.hr-hero-summary,.hr-overview-panels{grid-template-columns:1fr}.hr-structure-summary{width:100%}.hr-nav{grid-template-columns:repeat(2,minmax(0,1fr))}.hr-nav button{grid-template-columns:auto minmax(0,1fr);justify-items:start;min-height:52px;padding:9px 12px;text-align:left}.hr-nav b{position:static;grid-column:3;grid-row:1}.hr-form,.hr-metric-grid,.hr-payroll-summary,.hr-payroll-filter-grid{grid-template-columns:1fr}.hr-payroll-filters .hr-field input,.hr-payroll-filters .hr-field select{font-size:16px}.hr-payroll-filter-meta{align-items:stretch;flex-direction:column}.hr-payroll-filter-reset{width:100%}.hr-payroll-multiselect .employee-multiselect-menu{top:auto;right:12px;bottom:12px;left:12px;display:grid;grid-template-rows:auto minmax(0,1fr);width:auto;max-width:none;max-height:min(70vh,520px);max-height:min(70dvh,520px);padding-bottom:calc(10px + env(safe-area-inset-bottom))}.hr-payroll-filter-grid>.hr-payroll-multiselect-field:last-child .employee-multiselect-menu{right:12px;left:12px}.hr-payroll-multiselect .employee-multiselect-options{max-height:none;overscroll-behavior:contain}.hr-payroll-multiselect-close{display:inline-flex;align-items:center}.hr-payroll-list-head{display:none}.hr-payroll-list-summary{grid-template-columns:minmax(0,1fr) auto;gap:11px 12px;min-height:0;padding:14px}.hr-payroll-employee{grid-column:1;grid-row:1}.hr-payroll-list-chevron{grid-column:2;grid-row:1}.hr-payroll-department{grid-column:1;grid-row:2}.hr-payroll-row-status{grid-column:2;grid-row:2;align-self:end}.hr-payroll-amount{grid-column:1 / -1;grid-row:3;grid-template-columns:minmax(0,1fr) auto;align-items:end;gap:3px 10px;padding-top:10px;border-top:1px solid var(--border)}.hr-payroll-amount>.hr-payroll-mobile-label{grid-column:1 / -1}.hr-payroll-amount>strong{grid-column:1}.hr-payroll-amount>small:last-child{grid-column:2;text-align:right}.hr-payroll-mobile-label{position:static;width:auto;height:auto;padding:0;margin:0;overflow:visible;clip:auto;color:var(--text-dim);font-size:9px;font-weight:750;white-space:normal}.hr-payroll-detail-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.hr-payroll-detail-actions button{width:100%;min-height:44px}.hr-record-row{grid-template-columns:1fr;align-items:start}}@media(max-width:700px){.hr-payroll-detail-grid{grid-template-columns:1fr}.employees-table{display:block;border-radius:13px}.employees-table thead{display:none}.employees-table tbody{display:block}.employees-table tbody tr{display:grid;grid-template-columns:minmax(0,1fr) auto auto;align-items:center;min-height:60px}.employees-table td,.employees-table td:nth-child(2),.employees-table td:nth-child(3),.employees-table td:nth-child(4),.employees-table td:nth-child(5),.employees-table td:nth-child(6){display:none}.employees-table .cell-name,.employees-table td:nth-child(7),.employees-table .cell-actions{display:block;width:auto}.employees-table .cell-name{padding:11px 8px 11px 13px}.employees-table td:nth-child(7){padding:11px 4px}.employees-table .cell-actions{padding:8px 8px 8px 2px}.employee-row-action{width:44px;min-width:44px;height:44px;min-height:44px}.employee-row-open-hint{width:44px;min-width:44px;min-height:44px;margin-left:2px}}@media(prefers-reduced-motion:reduce){.hr-workspace *,.employee-history-row{scroll-behavior:auto!important;transition-duration:.01ms!important}.employee-row-open-hint svg{transition:none}}.menu-planning-fields input,.pullman-plan-editor input,.pullman-plan-editor select{width:100%;min-width:0;height:46px;padding:0 12px;border:1px solid var(--border-strong);border-radius:11px;color:var(--text);background:var(--surface);font:inherit;font-variant-numeric:tabular-nums}.menu-planning-fields input:focus-visible,.pullman-plan-editor input:focus-visible,.pullman-plan-editor select:focus-visible{border-color:var(--accent);outline:3px solid var(--accent-ring);outline-offset:1px}.menu-planning-dispatch-inputs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.menu-planning-dispatch-inputs>div{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;padding:12px;border:1px solid #d4e8e1;border-radius:12px;background:var(--surface)}.menu-planning-dispatch-inputs>div>strong{grid-column:1 / -1;font-size:12px}.menu-planning-dispatch-inputs label,.pullman-plan-editor label{display:grid;min-width:0;gap:5px}.menu-planning-dispatch-inputs label>span,.pullman-plan-editor label>span{color:var(--text-dim);font-size:10px;font-weight:750}.menu-planning-dispatch-inputs input:disabled{cursor:not-allowed;opacity:.52}.pullman-plan-editor{display:grid;gap:18px;padding:22px;border:1px solid var(--border);border-radius:20px;background:var(--surface);box-shadow:var(--shadow-sm)}.pullman-plan-head,.pullman-category-card>summary,.pullman-add-item,.pullman-save-bar,.pullman-save-bar>div{display:flex;align-items:center}.pullman-plan-head{justify-content:space-between;gap:16px;padding-bottom:16px;border-bottom:1px solid var(--border)}.pullman-plan-head h3{margin:3px 0;font-size:22px}.pullman-plan-head>div>span{color:var(--text-dim);font-size:11px;font-weight:700}.menu-plan-copy-origin{display:flex;width:fit-content;max-width:100%;flex-wrap:wrap;align-items:center;gap:4px;margin:7px 0 0;padding:5px 8px;border:1px solid #c7ded6;border-radius:999px;color:#335f51;background:#f2f8f5;font-size:9px;line-height:1.35}.menu-plan-copy-origin svg{width:14px;height:14px;flex:0 0 auto;fill:none;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:1.7}.menu-plan-copy-origin span{color:var(--text-dim);font-weight:750}.menu-plan-copy-origin strong{color:var(--accent-dark);font-weight:850}.pullman-quantity-card{display:grid;grid-template-columns:minmax(190px,1.25fr) minmax(135px,.55fr) minmax(260px,1.3fr) minmax(130px,.55fr);align-items:end;gap:14px;padding:16px;border:1px solid #abd8cb;border-radius:16px;background:#f1faf6}.pullman-quantity-card h4{margin:3px 0 5px;font-size:17px}.pullman-quantity-card>div:first-child>small,.pullman-quantity-card label>small,.pullman-total small{color:var(--text-dim);font-size:9px;line-height:1.45}.pullman-dispatch-people{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.pullman-total{display:grid;min-height:78px;align-content:center;gap:2px;padding:10px 12px;border:1px solid #e7c8a1;border-radius:12px;color:#744718;background:#fff8ee}.pullman-total.matches{border-color:#abd8cb;color:var(--accent-dark);background:var(--surface)}.pullman-total span{font-size:9px;font-weight:800}.pullman-total strong{font-size:21px;font-variant-numeric:tabular-nums}.pullman-category-list{display:grid;gap:12px}.pullman-category-card{overflow:hidden;border:1px solid var(--border);border-radius:15px;background:var(--surface)}.pullman-category-card>summary{justify-content:space-between;gap:12px;min-height:54px;padding:10px 14px;border-bottom:1px solid var(--border);background:var(--surface-2);cursor:pointer;list-style:none}.pullman-category-card>summary::-webkit-details-marker{display:none}.pullman-category-card>summary>div{display:flex;align-items:center;gap:10px}.pullman-category-card>summary span{display:grid;width:30px;height:30px;place-items:center;border-radius:9px;color:var(--accent-dark);background:var(--accent-soft);font-size:10px;font-weight:900}.pullman-category-card>summary h4{margin:0;font-size:15px}.pullman-category-card>summary b{display:inline-flex;align-items:center;gap:8px;color:var(--text-dim);font-size:10px}.pullman-category-card>summary b i{width:8px;height:8px;border-right:1.5px solid currentColor;border-bottom:1.5px solid currentColor;transform:rotate(45deg) translateY(-2px);transition:transform .18s ease}.pullman-category-card[open]>summary b i{transform:rotate(225deg) translate(-1px,-1px)}.pullman-category-card>summary:focus-visible{outline:3px solid var(--accent-ring);outline-offset:-3px}.pullman-item-list{display:grid}.pullman-item-row{display:grid;grid-template-columns:minmax(230px,1.6fr) minmax(100px,.5fr) repeat(2,minmax(110px,.55fr)) auto;align-items:end;gap:10px;padding:12px 14px;border-bottom:1px solid var(--border)}.pullman-item-name{display:grid;align-self:center;min-width:0;gap:3px}.pullman-item-name strong{overflow:hidden;font-size:12px;text-overflow:ellipsis;white-space:nowrap}.pullman-item-name span,.pullman-item-row label small{color:var(--text-dim);font-size:9px}.pullman-item-row input{height:42px}.pullman-remove-item{min-width:66px;min-height:42px;padding:0 10px;border:1px solid #f2b8b5;border-radius:10px;color:var(--danger);background:var(--danger-bg);font:inherit;font-size:10px;font-weight:800;cursor:pointer}.pullman-add-item{gap:10px;padding:12px 14px;background:#fbfcfb}.pullman-add-item label{flex:1}.pullman-add-item select{height:44px}.pullman-add-item .btn{min-height:44px;align-self:end}.pullman-save-bar{position:sticky;z-index:10;bottom:12px;justify-content:space-between;gap:18px;padding:14px 16px;border:1px solid #9bcfbe;border-radius:15px;background:#f8fdfbf5;box-shadow:0 12px 30px #1e403524;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}.pullman-save-bar>div:first-child{display:grid;gap:2px}.pullman-save-bar>div:first-child strong{font-size:13px}.pullman-save-bar>div:first-child span{color:var(--text-dim);font-size:10px}.pullman-save-bar>div:last-child{gap:8px}.menu-planning-new-action{display:flex;justify-content:flex-end}@media(max-width:1050px){.pullman-quantity-card{grid-template-columns:repeat(2,minmax(0,1fr))}.pullman-item-row{grid-template-columns:minmax(220px,1.4fr) repeat(3,minmax(100px,.55fr))}.pullman-remove-item{grid-column:4}}@media(max-width:760px){.menu-planning-dispatch-inputs,.pullman-quantity-card{grid-template-columns:1fr}.pullman-plan-editor{padding:14px}.pullman-plan-head,.pullman-add-item,.pullman-save-bar{align-items:stretch;flex-direction:column}.pullman-plan-head .btn,.pullman-add-item .btn,.pullman-save-bar .btn{width:100%;min-height:44px;justify-content:center}.pullman-item-row{grid-template-columns:repeat(2,minmax(0,1fr))}.pullman-item-name{grid-column:1 / -1}.pullman-remove-item{grid-column:1 / -1;min-height:44px}.pullman-save-bar{bottom:8px}.pullman-save-bar>div:last-child{flex-direction:column-reverse}}@media(max-width:460px){.menu-planning-dispatch-inputs>div,.pullman-dispatch-people,.pullman-item-row{grid-template-columns:1fr}.pullman-item-name,.pullman-remove-item{grid-column:1}}@media(prefers-reduced-motion:reduce){.menu-planning-page *,.pullman-plan-editor *{scroll-behavior:auto!important;transition-duration:.01ms!important}}.menu-object-planning,.menu-object-planning *{box-sizing:border-box}.menu-object-planning{max-width:100%;overflow-x:clip}.menu-object-hero{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:18px;padding:22px;border:1px solid #cfe6de;border-radius:20px;background:linear-gradient(135deg,#fff,#f2faf7);box-shadow:var(--shadow-sm)}.menu-object-hero-icon{display:grid;width:54px;height:54px;place-items:center;border-radius:16px;color:#fff;background:linear-gradient(145deg,#0a8862,var(--accent-dark));box-shadow:0 9px 22px #04785733}.menu-object-hero-icon svg{width:28px;height:28px;fill:none;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:1.8}.menu-object-hero h2{margin:3px 0 5px;font-size:clamp(24px,3vw,34px)}.menu-object-hero>div:nth-child(2)>p:last-child{margin:0;color:var(--text-dim)}.menu-object-period-summary{display:grid;min-width:235px;gap:3px;padding:13px 15px;border:1px solid #b9ded2;border-radius:14px;background:#ffffffe6;text-align:right}.menu-object-period-summary span,.menu-object-period-summary small{color:var(--text-dim);font-size:10px}.menu-object-period-summary strong{color:var(--accent-dark);font-size:14px;font-variant-numeric:tabular-nums}.menu-period-card{display:flex;align-items:end;justify-content:space-between;gap:24px;padding:18px 20px;border:1px solid var(--border);border-radius:17px;background:var(--surface);box-shadow:var(--shadow-sm)}.menu-period-card h3{margin:3px 0 0;font-size:18px}.menu-period-fields{display:flex;align-items:end;gap:10px}.menu-period-fields>span{min-height:46px;padding-top:13px;color:var(--text-dim)}.menu-period-fields label{display:grid;min-width:190px;gap:6px}.menu-period-fields label>span{color:var(--text-dim);font-size:10px;font-weight:800}.menu-period-fields input{width:100%;height:46px;padding:0 12px;border:1px solid var(--border-strong);border-radius:11px;color:var(--text);background:var(--surface-2);font:inherit;font-variant-numeric:tabular-nums;cursor:pointer}.menu-period-fields input:focus-visible{border-color:var(--accent);outline:3px solid var(--accent-ring);outline-offset:1px}.menu-period-fields input[aria-invalid=true]{border-color:var(--danger);background:var(--danger-bg)}.menu-object-list{overflow:hidden;border:1px solid var(--border);border-radius:18px;background:var(--surface);box-shadow:var(--shadow-sm)}.menu-object-list-head{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:18px 20px;border-bottom:1px solid var(--border)}.menu-object-list-head h3{margin:3px 0 0;font-size:19px}.menu-object-list-head>span{padding:6px 10px;border-radius:999px;color:var(--accent-dark);background:var(--accent-soft);font-size:10px;font-weight:850}.menu-object-loading{padding:34px 20px;color:var(--text-dim);text-align:center;font-size:13px}.menu-object-row+.menu-object-row{border-top:1px solid var(--border)}.menu-object-row.is-open{background:#f7fbf9}.menu-object-trigger{display:grid;width:100%;min-height:96px;grid-template-columns:minmax(220px,1.55fr) minmax(120px,.65fr) minmax(120px,.65fr) minmax(180px,.8fr) 44px;align-items:center;gap:16px;padding:12px 16px 12px 20px;border:0;color:inherit;background:transparent;text-align:left;font:inherit;cursor:pointer;touch-action:manipulation;transition:background-color .18s ease}.menu-object-trigger:hover,.menu-object-trigger:focus-visible{background:#f1f8f5}.menu-object-trigger:focus-visible,.menu-day-trigger:focus-visible{outline:3px solid var(--accent-ring);outline-offset:-3px}.menu-object-name,.menu-object-metric,.menu-object-status{display:grid;min-width:0;gap:3px}.menu-object-name strong{font-size:17px}.menu-object-name small,.menu-object-metric small,.menu-object-status small,.menu-object-status>span{color:var(--text-dim);font-size:10px}.menu-object-metric strong{font-size:15px;font-variant-numeric:tabular-nums}.menu-object-status{min-height:70px;align-content:center;padding:10px 12px;border:1px solid #ead7bd;border-radius:12px;color:#8a551b;background:#fff8ec}.menu-object-status.has-progress{border-color:#c6eadf;color:var(--accent-dark);background:#eaf9f3}.menu-object-status strong{font-size:17px;font-variant-numeric:tabular-nums}.menu-object-chevron,.menu-day-chevron{display:grid;width:44px;height:44px;place-items:center;border-radius:11px;color:var(--accent-dark)}.menu-object-chevron svg,.menu-day-chevron svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:1.8;transition:transform .18s ease}.menu-object-chevron svg.is-open,.menu-day-chevron svg.is-open{transform:rotate(180deg)}.menu-object-days{padding:0 16px 16px;border-top:1px solid #dbe9e4}.menu-days-head{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:14px 4px 10px}.menu-days-head strong{font-size:13px}.menu-days-head span{color:var(--text-dim);font-size:10px}.menu-day-list{display:grid;overflow:hidden;border:1px solid var(--border);border-radius:13px;background:var(--surface)}.menu-day-entry+.menu-day-entry{border-top:1px solid var(--border)}.menu-day-entry.is-open{background:#fbfdfc}.menu-day-trigger{display:grid;width:100%;min-height:66px;grid-template-columns:minmax(190px,1fr) minmax(110px,.55fr) minmax(190px,1fr) minmax(135px,.65fr) 44px;align-items:center;gap:12px;padding:10px 10px 10px 14px;border:0;color:inherit;background:transparent;text-align:left;font:inherit;cursor:pointer;touch-action:manipulation;transition:background-color .18s ease}.menu-day-trigger:hover{background:var(--surface-2)}.menu-day-trigger time{display:grid;min-width:0;gap:2px}.menu-day-trigger time strong{font-size:12px}.menu-day-trigger time small,.menu-day-summary{color:var(--text-dim);font-size:10px}.menu-day-status{display:inline-flex;width:fit-content;align-items:center;gap:7px;padding:6px 9px;border-radius:999px;color:#8a551b;background:#fff3df;font-size:10px;font-weight:850}.menu-day-status i{width:7px;height:7px;border-radius:999px;background:currentColor}.menu-day-status.is-complete{color:#086447;background:#ddf6ec}.menu-day-status.is-draft{color:#5b4a90;background:#f0ecfb}.menu-day-action{color:var(--accent-dark);font-size:10px;font-weight:850}.menu-day-panel{padding:0 12px 12px}.menu-inline-editor{margin-top:2px;border-color:#b8dcd1;box-shadow:none}.menu-editor-state{flex:0 0 auto;padding:7px 10px;border-radius:999px;color:#8a551b;background:#fff3df;font-size:10px;font-weight:850}.menu-editor-state.is-complete{color:#086447;background:#ddf6ec}.menu-parallel-column .pullman-plan-head{position:relative}.menu-parallel-column .pullman-plan-head.is-schedule-open{z-index:20}.menu-plan-head-notice{position:absolute;right:50px;bottom:12px;left:0;z-index:2;display:flex;min-width:0;justify-content:flex-end;pointer-events:none}.menu-plan-head-notice>span{display:block;max-width:min(58%,240px);overflow:hidden;padding:5px 9px;border:1px solid rgba(4,120,87,.18);border-radius:999px;color:var(--accent-dark);background:color-mix(in srgb,var(--accent-soft) 92%,var(--surface));box-shadow:0 4px 12px #04785714;font-size:8px;font-weight:750;line-height:1.35;text-overflow:ellipsis;white-space:nowrap}.menu-plan-head-actions{display:flex;flex:0 0 auto;flex-direction:column;align-items:flex-end;gap:6px}.menu-schedule-details-button{display:inline-flex;min-width:38px;min-height:38px;align-items:center;justify-content:center;gap:2px;padding:6px;border:1px solid #cce4dc;border-radius:10px;color:var(--accent-dark);background:var(--surface-2);cursor:pointer;font:inherit;font-size:9px;font-weight:850;touch-action:manipulation}.menu-schedule-details-button:hover,.menu-schedule-details-button[aria-expanded=true]{background:var(--accent-soft)}.menu-schedule-details-button:focus-visible{outline:3px solid var(--accent-ring);outline-offset:2px}.menu-schedule-details-button>svg:first-child{width:16px;height:16px;fill:none;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:1.8}.menu-schedule-details-button>svg:last-child{width:15px;height:15px;fill:none;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:1.8;transition:transform .16s ease}.menu-schedule-details-button[aria-expanded=true]>svg:last-child{transform:rotate(180deg)}.menu-parallel-column .menu-schedule-detail-popover{position:absolute;top:calc(100% + 8px);right:0;left:0;z-index:30;margin:0;padding:12px;border-color:#9fcfc0;background:var(--surface);box-shadow:0 18px 44px #14413433}.menu-schedule-popover-head{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:10px;padding-bottom:9px;border-bottom:1px solid var(--border)}.menu-schedule-popover-head>span{display:inline-flex;align-items:center;gap:7px}.menu-schedule-popover-head>span svg{width:19px;height:19px;fill:none;stroke:var(--accent-dark);stroke-linecap:round;stroke-linejoin:round;stroke-width:1.8}.menu-schedule-popover-head strong{font-size:12px}.menu-schedule-popover-head>button{display:grid;width:36px;height:36px;place-items:center;padding:0;border:0;border-radius:9px;color:var(--accent-dark);background:var(--surface-2);cursor:pointer}.menu-schedule-popover-head>button:hover{background:var(--accent-soft)}.menu-schedule-popover-head>button:focus-visible{outline:3px solid var(--accent-ring);outline-offset:2px}.menu-schedule-popover-head>button svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-linecap:round;stroke-width:1.8}.menu-editor-schedule{min-width:0;margin:0;padding:14px;border:1px solid #cce4dc;border-radius:14px;background:#f4faf7}.menu-editor-schedule legend{padding:0 7px;color:var(--accent-dark);font-size:11px;font-weight:850}.menu-editor-schedule-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:10px}.menu-editor-schedule-head span{font-size:12px;font-weight:800}.menu-editor-schedule-head small{color:var(--text-dim);font-size:9px}@media(max-width:980px){.menu-object-trigger{grid-template-columns:minmax(190px,1.25fr) repeat(2,minmax(100px,.6fr)) minmax(150px,.75fr) 44px;gap:10px}.menu-day-trigger{grid-template-columns:minmax(170px,1fr) minmax(105px,.6fr) minmax(150px,.8fr) 44px}.menu-day-action{display:none}}@media(max-width:760px){.menu-object-hero{grid-template-columns:auto minmax(0,1fr);align-items:start;padding:18px}.menu-object-period-summary{grid-column:1 / -1;min-width:0;text-align:left}.menu-period-card,.menu-days-head,.menu-editor-schedule-head{align-items:stretch;flex-direction:column}.menu-period-fields{display:grid;grid-template-columns:1fr;width:100%}.menu-period-fields>span{display:none}.menu-period-fields label{min-width:0}.menu-object-trigger{grid-template-columns:minmax(0,1fr) auto;min-height:88px;padding:14px}.menu-object-name{grid-column:1}.menu-object-chevron{grid-column:2;grid-row:1 / span 2}.menu-object-metric{display:none}.menu-object-status{grid-column:1;min-height:0;padding:8px 10px}.menu-object-status small,.menu-object-status>span{display:none}.menu-object-days{padding:0 10px 10px}.menu-days-head{gap:3px}.menu-day-trigger{grid-template-columns:minmax(0,1fr) auto 44px;gap:8px;min-height:76px;padding:10px 6px 10px 10px}.menu-day-summary{grid-column:1 / span 2}.menu-day-chevron{grid-column:3;grid-row:1 / span 2}.menu-day-panel{padding:0 6px 8px}.menu-inline-editor{padding:12px}}@media(max-width:420px){.menu-object-hero-icon{width:46px;height:46px}.menu-object-list-head{padding:15px}.menu-object-list-head>span{display:none}.menu-day-status{padding-inline:7px}.menu-day-trigger time strong{font-size:11px}}@media(prefers-reduced-motion:reduce){.menu-object-trigger,.menu-day-trigger,.menu-object-chevron svg,.menu-day-chevron svg{transition:none}}.menu-workbench,.menu-parallel-section{min-width:0;overflow:hidden;border:1px solid var(--border);border-radius:18px;background:var(--surface);box-shadow:var(--shadow-sm)}.menu-workbench-head,.menu-parallel-head,.menu-day-picker-head{display:flex;align-items:center;justify-content:space-between;gap:18px;min-width:0}.menu-workbench-head,.menu-parallel-head{padding:18px 20px;border-bottom:1px solid var(--border)}.menu-workbench-head h3,.menu-parallel-head h3{margin:3px 0 0;font-size:19px}.menu-workbench-head>span,.menu-parallel-head-hint{flex:0 0 auto;padding:6px 10px;border-radius:999px;color:var(--accent-dark);background:var(--accent-soft);font-size:10px;font-weight:850}.menu-parallel-head-tools{display:flex;flex-wrap:wrap;align-items:center;justify-content:flex-end;gap:8px}.menu-dispatch-filter{display:flex;align-items:center;gap:5px;padding:4px;border:1px solid #b8dcd1;border-radius:12px;background:var(--surface-2)}.menu-dispatch-filter>span{padding-inline:7px 4px;color:var(--text-dim);font-size:9px;font-weight:850}.menu-dispatch-filter button{min-width:44px;min-height:44px;padding:7px 10px;border:1px solid transparent;border-radius:9px;color:var(--text-dim);background:var(--surface);font:inherit;font-size:10px;font-weight:850;cursor:pointer;touch-action:manipulation;transition:color .16s ease,border-color .16s ease,background-color .16s ease}.menu-dispatch-filter button:hover{border-color:var(--accent);color:var(--accent-dark)}.menu-dispatch-filter button.is-active{border-color:#87c7b1;color:var(--accent-dark);background:var(--accent-soft)}.menu-dispatch-filter button:focus-visible{outline:3px solid var(--accent-ring);outline-offset:2px}.menu-object-tabs{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:8px;padding:14px 16px;border-bottom:1px solid var(--border);background:var(--surface-2)}.menu-object-tabs button{display:grid;grid-template-columns:24px minmax(0,1fr);align-content:center;align-items:center;min-width:0;min-height:62px;gap:9px;padding:9px 11px;border:1px solid var(--border);border-radius:12px;color:var(--text);background:var(--surface);cursor:pointer;font:inherit;text-align:left;touch-action:manipulation;transition:border-color .18s ease,background-color .18s ease,box-shadow .18s ease}.menu-object-tabs button>div{display:grid;min-width:0;gap:3px}.menu-object-check{display:grid;width:24px;height:24px;place-items:center;border:1.5px solid var(--border-strong);border-radius:7px;color:#fff;background:var(--surface);transition:border-color .18s ease,background-color .18s ease}.menu-object-check svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:2.2}.menu-object-tabs button:hover{border-color:var(--accent);box-shadow:var(--shadow-sm)}.menu-object-tabs button.is-active{border-color:var(--accent);color:var(--accent-dark);background:var(--accent-soft);box-shadow:inset 0 0 0 1px var(--accent)}.menu-object-tabs button:focus-visible,.menu-day-picker button:focus-visible,.menu-day-picker-actions button:focus-visible,.menu-parallel-column-bar button:focus-visible{outline:3px solid var(--accent-ring);outline-offset:2px}.menu-object-tabs strong{min-width:0;overflow:hidden;font-size:12px;text-overflow:ellipsis;white-space:nowrap}.menu-object-tabs button>div>span{color:var(--text-dim);font-size:9px;font-weight:700}.menu-day-picker-head{align-items:flex-end;padding:14px 16px 10px}.menu-day-picker-head>div:first-child{display:grid;min-width:0;gap:3px}.menu-day-picker-head>div:first-child strong{font-size:13px}.menu-day-picker-head>div:first-child span{color:var(--text-dim);font-size:10px;line-height:1.45}.menu-day-picker-actions{display:flex;flex:0 0 auto;gap:8px}.menu-day-picker-actions button{min-height:40px;padding:8px 11px;border:1px solid var(--border-strong);border-radius:10px;color:var(--text);background:var(--surface);cursor:pointer;font:inherit;font-size:10px;font-weight:800}.menu-day-picker-actions button:first-child{border-color:var(--accent);color:var(--accent-dark);background:var(--accent-soft)}.menu-day-picker-actions button:disabled{cursor:not-allowed;opacity:.45}.menu-day-picker{display:flex;gap:8px;min-width:0;padding:4px 16px 16px;overflow-x:auto;overscroll-behavior-inline:contain;scrollbar-width:thin;scroll-snap-type:inline proximity}.menu-day-card{position:relative;flex:0 0 104px;min-height:106px;scroll-snap-align:start}.menu-day-select{display:grid;width:100%;min-height:106px;align-content:center;justify-items:center;gap:2px;padding:13px 7px 8px;border:1px solid var(--border);border-radius:13px;color:var(--text);background:var(--surface-2);cursor:pointer;font:inherit;touch-action:manipulation;transition:border-color .18s ease,background-color .18s ease,box-shadow .18s ease,transform .18s ease}.menu-day-select:hover{border-color:var(--accent);transform:translateY(-1px)}.menu-day-card.is-selected .menu-day-select{border-color:var(--accent);color:var(--accent-dark);background:var(--accent-soft);box-shadow:inset 0 0 0 1px var(--accent)}.menu-object-tabs button.is-active .menu-object-check{border-color:var(--accent-dark);background:var(--accent-dark)}.menu-day-card.is-selected .menu-day-select:after{position:absolute;top:7px;right:8px;content:"✓";font-size:11px;font-weight:900}.menu-day-select>span{max-width:100%;overflow:hidden;color:var(--text-dim);font-size:9px;font-weight:750;text-overflow:ellipsis;white-space:nowrap}.menu-day-select>strong{font-size:24px;font-variant-numeric:tabular-nums;line-height:1}.menu-day-select>small{color:var(--text-dim);font-size:9px}.menu-day-select>em{max-width:100%;margin-top:4px;overflow:hidden;padding:3px 6px;border-radius:999px;color:#8a551b;background:#fff3df;font-size:8px;font-style:normal;font-weight:850;text-overflow:ellipsis;white-space:nowrap}.menu-day-select>em.is-complete{color:#086447;background:#ddf6ec}.menu-day-select>em.is-draft{color:#5b4a90;background:#f0ecfb}.menu-day-select>em.is-in_progress{color:#9b5b08;background:#fff3df}.menu-day-status-select{position:absolute;z-index:3;right:7px;bottom:7px;left:7px;width:calc(100% - 14px);height:23px;padding:2px 20px 2px 6px;border:0;border-radius:999px;font:inherit;font-size:8px;font-weight:850;text-align:center;text-align-last:center;cursor:pointer}.menu-day-status-select.is-complete{color:#086447;background:#ddf6ec}.menu-day-status-select.is-in_progress{color:#9b5b08;background:#fff3df}.menu-day-status-select:focus-visible{outline:2px solid var(--accent-ring);outline-offset:1px}.menu-day-copy-trigger{position:absolute;z-index:2;top:0;left:0;display:grid;width:44px;height:44px;place-items:center;padding:0;border:0;border-radius:12px 0;color:#4d6f63;background:transparent;cursor:grab;touch-action:manipulation;transition:color .18s ease,background-color .18s ease}.menu-day-copy-trigger:hover,.menu-day-copy-trigger[aria-pressed=true]{color:var(--accent-dark);background:#d5f1e7eb}.menu-day-copy-trigger:active{cursor:grabbing}.menu-day-copy-trigger svg,.menu-copy-notice svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:1.7}.menu-day-card.is-copy-source .menu-day-select{border-color:var(--accent-dark);background:#edf9f4;box-shadow:0 0 0 3px var(--accent-ring)}.menu-day-card.is-copy-target .menu-day-select{border-color:#65aa94;border-style:dashed;color:var(--accent-dark);background:#f3fbf7}.menu-day-card.is-copy-target .menu-day-select:before{position:absolute;top:6px;right:7px;content:"აქ";color:var(--accent-dark);font-size:8px;font-weight:900}.menu-day-card.is-drag-target .menu-day-select{border-style:solid;background:#e1f5ed;box-shadow:0 0 0 4px var(--accent-ring),var(--shadow-sm);transform:translateY(-3px)}.menu-day-card.is-copying .menu-day-select{cursor:wait;opacity:.72}.menu-day-select:disabled,.menu-day-copy-trigger:disabled{cursor:wait}.menu-copy-notice{display:flex;align-items:center;gap:9px;min-height:44px;margin:0 16px 14px;padding:9px 10px 9px 12px;border:1px solid #b9ded2;border-radius:11px;color:#245748;background:#f1faf6;font-size:10px;font-weight:750}.menu-copy-notice>span{flex:1;min-width:0;line-height:1.45}.menu-copy-notice>button{min-height:34px;padding:6px 9px;border:1px solid currentColor;border-radius:8px;color:inherit;background:transparent;cursor:pointer;font:inherit;font-size:9px;font-weight:850}.menu-object-selector-head{display:flex;min-width:0;align-items:center;justify-content:space-between;gap:16px;padding:11px 16px 0;background:var(--surface-2)}.menu-object-selector-head>span{color:var(--text-dim);font-size:10px;line-height:1.45}.menu-object-selector-actions{display:flex;flex:0 0 auto;gap:7px}.menu-object-selector-actions button{min-height:38px;padding:7px 10px;border:1px solid var(--border-strong);border-radius:9px;color:var(--text);background:var(--surface);cursor:pointer;font:inherit;font-size:9px;font-weight:800;touch-action:manipulation}.menu-object-selector-actions button:first-child{border-color:#abd8cb;color:var(--accent-dark)}.menu-object-selector-actions button:hover:not(:disabled){border-color:var(--accent);background:var(--accent-soft)}.menu-object-selector-actions button:focus-visible{outline:3px solid var(--accent-ring);outline-offset:2px}.menu-object-selector-actions button:disabled{cursor:not-allowed;opacity:.45}.menu-copy-notice.is-error{color:#8f3427;border-color:#edbdb5;background:#fff4f1}.menu-copy-notice.is-success{color:#086447;border-color:#9dd4c1;background:#e9f8f1}.menu-selection-notice{margin:0 16px 14px;padding:9px 11px;border:1px solid #e7c8a1;border-radius:10px;color:#744718;background:#fff8ee;font-size:10px;font-weight:700}.menu-parallel-section{overflow:hidden}.menu-parallel-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,360px),1fr));align-items:start;gap:12px;min-width:0;padding:12px;background:var(--surface-2)}.menu-parallel-empty{display:grid;min-height:190px;place-items:center;align-content:center;gap:6px;padding:28px;color:var(--text-dim);text-align:center}.menu-parallel-empty svg{width:30px;height:30px;margin-bottom:4px;fill:none;stroke:var(--accent-dark);stroke-linecap:round;stroke-linejoin:round;stroke-width:1.7}.menu-parallel-empty strong{color:var(--text);font-size:14px}.menu-parallel-empty span{font-size:11px}.menu-parallel-column{container-type:inline-size;min-width:0;overflow:hidden;border:1px solid #b8dcd1;border-radius:16px;background:var(--surface);box-shadow:var(--shadow-sm)}.menu-parallel-column.is-unavailable{border-color:#e4d09b;background:#fffdf7}.menu-parallel-column.is-unavailable .menu-parallel-column-bar{border-bottom-color:#e4d09b;background:#fff7df}.menu-planning-unavailable{display:grid;min-height:300px;place-content:center;gap:9px;padding:32px;color:var(--text-dim);text-align:center}.menu-planning-unavailable span{color:#9a6700;font-size:10px;font-weight:850;letter-spacing:.04em;text-transform:uppercase}.menu-planning-unavailable strong{color:var(--text);font-size:15px;line-height:1.5}.menu-planning-unavailable small{max-width:380px;font-size:10px;line-height:1.55}.menu-parallel-column-bar{display:flex;min-height:50px;align-items:center;justify-content:space-between;gap:12px;padding:7px 8px 7px 14px;border-bottom:1px solid #b8dcd1;color:var(--accent-dark);background:var(--accent-soft)}.menu-parallel-column-bar>div{display:grid;min-width:0;gap:2px}.menu-parallel-column-bar>div>strong{overflow:hidden;color:var(--accent-dark);font-size:12px;font-weight:900;text-overflow:ellipsis;white-space:nowrap}.menu-parallel-column-bar time{min-width:0;overflow:hidden;color:var(--text-dim);font-size:9px;font-weight:750;text-overflow:ellipsis;white-space:nowrap}.menu-parallel-column-bar button{display:grid;flex:0 0 44px;width:44px;height:44px;place-items:center;padding:0;border:0;border-radius:10px;color:var(--accent-dark);background:transparent;cursor:pointer}.menu-parallel-column-bar button:hover{background:var(--surface)}.menu-parallel-column-bar svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-linecap:round;stroke-width:1.8}.menu-parallel-column .pullman-plan-editor{gap:12px;padding:14px;border:0;border-radius:0;box-shadow:none}.menu-parallel-column .pullman-plan-head{align-items:flex-start;padding-bottom:12px}.menu-parallel-column .pullman-plan-head h3{font-size:17px;line-height:1.35}.menu-parallel-column .menu-editor-schedule{padding:11px}.menu-parallel-column .menu-planning-dispatch-inputs,.menu-parallel-column .pullman-quantity-card{grid-template-columns:1fr}.menu-parallel-column .pullman-dispatch-people{grid-template-columns:repeat(auto-fit,minmax(105px,1fr))}.menu-parallel-column .pullman-category-list{gap:8px}.menu-parallel-column .pullman-category-card>summary{min-height:48px;padding:8px 10px}.menu-parallel-column .pullman-item-row{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;padding:10px}.menu-parallel-column .pullman-item-name,.menu-parallel-column .pullman-remove-item{grid-column:1 / -1}.menu-parallel-column .pullman-add-item{align-items:stretch;flex-direction:column;padding:10px}.menu-parallel-column .pullman-add-item .btn,.menu-parallel-column .pullman-remove-item{width:100%;min-height:44px;justify-content:center}.menu-parallel-column .pullman-save-bar{position:static;align-items:stretch;flex-direction:column;gap:10px;padding:12px;-webkit-backdrop-filter:none;backdrop-filter:none}.menu-parallel-column .menu-save-summary{display:grid;width:100%;gap:7px}.menu-save-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px}.menu-parallel-column .menu-save-metric{display:grid;min-width:0;min-height:58px;align-content:center;gap:4px;padding:8px;border:1px solid #d7e9e3;border-radius:10px;color:var(--text-dim);background:var(--surface)}.menu-parallel-column .menu-save-metric small{font-size:8px;font-weight:750;line-height:1.35}.menu-parallel-column .menu-save-metric strong{overflow:hidden;color:var(--accent-dark);font-size:13px;line-height:1.2;text-overflow:ellipsis;white-space:nowrap}.menu-parallel-column .menu-leftover-cost-percent{overflow:hidden;color:#247158;font-size:8px;font-style:normal;font-weight:800;line-height:1.35;text-overflow:ellipsis;white-space:nowrap}.menu-parallel-column .menu-margin-difference{display:inline-flex;width:max-content;max-width:100%;align-items:baseline;gap:3px;overflow:hidden;color:#315f74;font-size:7px;font-style:normal;font-weight:750;line-height:1.35;text-overflow:ellipsis;white-space:nowrap}.menu-parallel-column .menu-margin-difference b{font-size:8px;font-variant-numeric:tabular-nums}.menu-parallel-column .menu-margin-difference.is-higher{color:#a23c32}.menu-parallel-column .menu-margin-difference.is-lower{color:#356a82}.menu-parallel-column .menu-margin-difference.is-even{color:var(--accent-dark)}.menu-parallel-column .menu-margin-difference.is-muted{color:var(--text-dim);font-weight:650}.menu-parallel-column .menu-save-metric small{display:grid;gap:2px}.menu-parallel-column .menu-save-metric small b{width:max-content;padding:1px 4px;border-radius:999px;color:#8a5208;background:#fff2d8;font-size:7px;line-height:1.35}.menu-parallel-column .menu-save-metric.is-partial{border-color:#edcd94;background:#fffaf0}.menu-save-missing-costs{display:grid;gap:5px;padding:7px 8px;border:1px solid #edcd94;border-radius:9px;color:#744718;background:#fff8e9}.menu-save-missing-costs>strong{font-size:9px}.menu-save-missing-costs ul{display:flex;flex-wrap:wrap;gap:4px;margin:0;padding:0;list-style:none}.menu-save-missing-costs li{max-width:100%;padding:3px 6px;border-radius:999px;color:#744718;background:var(--surface);font-size:8px;font-weight:750;line-height:1.35}.menu-parallel-column .menu-save-summary-note{color:var(--text-dim);font-size:9px;line-height:1.4}.menu-parallel-column .menu-save-summary-note.is-missing{color:#9b5b08}.menu-parallel-column .pullman-save-bar>div:last-child{display:grid;grid-template-columns:repeat(auto-fit,minmax(130px,1fr))}.menu-parallel-column .pullman-save-bar .btn{width:100%;min-height:44px;justify-content:center}@container (max-width: 720px){.menu-save-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}}@container (max-width: 430px){.menu-save-metrics{grid-template-columns:1fr}.menu-parallel-column .pullman-plan-head,.menu-parallel-column .menu-editor-schedule-head,.menu-parallel-column .menu-planning-dispatch-inputs>div{align-items:stretch;grid-template-columns:1fr}.menu-parallel-column .pullman-plan-head,.menu-parallel-column .menu-editor-schedule-head{flex-direction:column}.menu-parallel-column .menu-planning-dispatch-inputs>div>strong,.menu-parallel-column .pullman-item-name,.menu-parallel-column .pullman-remove-item{grid-column:1}.menu-parallel-column .pullman-item-row{grid-template-columns:1fr}}.block-icon-calculation{display:grid;width:46px;height:46px;place-items:center;border:1px solid #a9d9c8;border-radius:14px;color:var(--accent-dark);background:linear-gradient(145deg,#f2fcf8,#e3f7ef)}.block-icon-calculation svg,.calculation-eyebrow svg,.calculation-empty svg{width:24px;height:24px;fill:none;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:1.8}.calculation-page{display:grid;gap:18px;min-width:0}.calculation-view-tabs{justify-self:start;padding:4px;background:var(--surface-2);box-shadow:var(--shadow-sm)}.calculation-view-tabs .tab{min-height:44px;padding-inline:17px;font-size:13px}.calculation-view-tabs .tab:focus-visible{outline:3px solid var(--accent-ring);outline-offset:2px}.calculation-view-panel{display:grid;min-width:0;gap:18px}.calculation-hero{display:flex;align-items:flex-end;justify-content:space-between;gap:24px;padding:24px;overflow:hidden;border:1px solid #cfe8df;border-radius:22px;background:radial-gradient(circle at 91% 10%,rgba(4,120,87,.13),transparent 33%),linear-gradient(135deg,#fff,#f4fbf8);box-shadow:var(--shadow-sm)}.calculation-hero>div{min-width:0}.calculation-eyebrow{display:inline-flex;align-items:center;gap:7px;color:var(--accent-dark);font-size:11px;font-weight:800;letter-spacing:.05em;text-transform:uppercase}.calculation-eyebrow svg{width:18px;height:18px}.calculation-hero h2{margin:7px 0 5px;font-size:clamp(26px,3vw,36px);line-height:1.15}.calculation-hero p{max-width:780px;margin:0;color:var(--text-dim);line-height:1.55}.calculation-new-button{flex:0 0 auto;min-height:44px;white-space:nowrap}.calculation-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.calculation-kpis button{display:grid;min-height:112px;gap:5px;padding:15px 17px;border:1px solid var(--border);border-radius:16px;color:var(--text);background:var(--surface);box-shadow:var(--shadow-sm);font:inherit;text-align:left;cursor:pointer;transition:border-color var(--speed) ease,background var(--speed) ease,transform var(--speed) ease,box-shadow var(--speed) ease}.calculation-kpis button:hover{border-color:var(--border-strong);transform:translateY(-1px);box-shadow:var(--shadow-md)}.calculation-kpis button:focus-visible{outline:3px solid var(--accent-ring);outline-offset:2px}.calculation-kpis button.active{border-color:#69b89e;background:#eefaf5;box-shadow:inset 0 0 0 1px #0478571f,var(--shadow-sm)}.calculation-kpis button.buffet.active{border-color:#e6b879;background:#fff9ef}.calculation-kpis button.lunch.active{border-color:#8db3dd;background:#f3f8ff}.calculation-kpis button>span,.calculation-kpis button>small{color:var(--text-dim);font-size:11px;font-weight:700}.calculation-kpis button>strong{font-size:25px;line-height:1.1;font-variant-numeric:tabular-nums}.calculation-catalog{overflow:hidden;border:1px solid var(--border);border-radius:20px;background:var(--surface);box-shadow:var(--shadow-sm)}.calculation-toolbar{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:17px 18px 13px}.calculation-toolbar h3,.calculation-toolbar p{margin:0}.calculation-toolbar h3{font-size:17px}.calculation-toolbar p{margin-top:3px;color:var(--text-dim);font-size:12px}.calculation-filters{display:grid;grid-template-columns:minmax(260px,1.6fr) repeat(3,minmax(155px,.75fr));gap:10px;padding:0 18px 16px}.calculation-filters label,.calculation-form-grid label,.calculation-line label{display:grid;min-width:0;gap:5px}.calculation-filters label>span,.calculation-form-grid label>span,.calculation-line label>span,.calculation-line-total>span{color:var(--text-dim);font-size:10px;font-weight:750}.calculation-code-note{color:var(--text-dim);font-size:10px;line-height:1.4}.calculation-form-grid input[readonly]{color:var(--text-dim);background:var(--surface-2);cursor:not-allowed}.calculation-filters input,.calculation-filters select,.calculation-form-grid input,.calculation-form-grid select,.calculation-form-grid textarea,.calculation-line input{width:100%;min-width:0;min-height:44px;border:1px solid var(--border);border-radius:10px;padding:0 11px;color:var(--text);background:var(--surface);font:inherit;font-size:13px}.calculation-form-grid textarea{min-height:64px;padding-block:9px;resize:vertical}.calculation-filters input:focus,.calculation-filters select:focus,.calculation-form-grid input:focus,.calculation-form-grid select:focus,.calculation-form-grid textarea:focus,.calculation-line input:focus{border-color:#65aa94;outline:3px solid var(--accent-ring)}.calculation-table-wrap{overflow-x:auto;border-top:1px solid var(--border)}.calculation-table{width:100%;min-width:930px;border-collapse:collapse}.calculation-table th{padding:10px 13px;border-bottom:1px solid var(--border);color:var(--text-dim);background:var(--surface-2);font-size:10px;font-weight:800;text-align:left;text-transform:uppercase;letter-spacing:.045em}.calculation-table td{padding:11px 13px;border-bottom:1px solid var(--border);vertical-align:middle}.calculation-table tbody tr{transition:background var(--speed) ease}.calculation-table tbody tr:hover{background:#f8fbfa}.calculation-table tbody tr:last-child td{border-bottom:0}.calculation-table td:first-child>strong,.calculation-table td:first-child>small,.calculation-table td:nth-child(6)>strong,.calculation-table td:nth-child(6)>small{display:block}.calculation-table td:first-child>strong{max-width:300px;overflow:hidden;font-size:13px;text-overflow:ellipsis;white-space:nowrap}.calculation-table td:first-child>small,.calculation-table td:nth-child(6)>small{margin-top:3px;color:var(--text-dim);font-size:9px}.calculation-table code{padding:5px 7px;border:1px solid #d7e5df;border-radius:7px;color:#285d4b;background:#f3f9f6;font-size:11px;font-weight:750}.calculation-sort-button{display:inline-flex;align-items:center;gap:5px;min-height:28px;padding:0;border:0;color:inherit;background:none;font:inherit;text-transform:inherit;letter-spacing:inherit;cursor:pointer}.calculation-sort-button>span{color:var(--accent);font-size:12px}.calculation-sort-button:focus-visible{border-radius:4px;outline:2px solid var(--accent);outline-offset:3px}.calculation-source-badges{display:flex;flex-wrap:wrap;gap:5px}.calculation-source-badges span,.calculation-kind,.calculation-status{display:inline-flex;align-items:center;min-height:24px;padding:4px 8px;border:1px solid var(--border);border-radius:999px;font-size:9px;font-weight:800;line-height:1;white-space:nowrap}.calculation-source-badges .buffet{color:#875218;border-color:#efd1a7;background:#fff8ed}.calculation-source-badges .lunch{color:#28568c;border-color:#c8d9f2;background:#f1f6fd}.calculation-source-badges .manual{color:#6b3f86;border-color:#dfc8ec;background:#faf5fc}.calculation-kind.dish{color:var(--accent-dark);border-color:#b9dece;background:var(--accent-soft)}.calculation-kind.raw_material{color:#6a5a36;border-color:#ded3b7;background:#faf7ef}.calculation-status.complete,.calculation-status.existing{color:var(--accent-dark);border-color:#b9dece;background:#edf9f4}.calculation-status.missing,.calculation-status.incomplete{color:#9a4b20;border-color:#edc5aa;background:#fff5ec}.calculation-missing-code{color:#a33e2a;font-size:10px;font-weight:750}.calculation-cost{font-size:12px;font-variant-numeric:tabular-nums;white-space:nowrap}.calculation-edit-button{white-space:nowrap}.calculation-empty{display:grid;justify-items:center;gap:7px;padding:48px 24px;color:var(--text-dim);text-align:center}.calculation-empty svg{width:34px;height:34px;color:#79aa99}.calculation-empty strong{color:var(--text)}.calculation-empty span{font-size:12px}.calculation-more{display:block;margin:14px auto 18px}.calculation-modal-overlay{z-index:1100;padding-block:28px}.calculation-modal{max-height:calc(100dvh - 56px);max-width:1120px;padding:0;gap:0;overflow-x:hidden;overflow-y:auto;overscroll-behavior:contain}.calculation-modal-head{position:sticky;z-index:6;top:0;display:flex;align-items:flex-start;justify-content:space-between;gap:16px;padding:20px 22px 15px;border-bottom:1px solid var(--border);background:linear-gradient(135deg,#fff,#f5fbf8)}.calculation-modal-head h3{margin:5px 0 0;padding:0;border:0;font-size:20px}.calculation-close,.calculation-line-remove{display:grid;flex:0 0 auto;place-items:center;width:44px;height:44px;border:1px solid var(--border);border-radius:10px;color:var(--text-dim);background:var(--surface);font:inherit;font-size:22px;cursor:pointer}.calculation-close:hover,.calculation-line-remove:hover{color:var(--danger);border-color:#e6b8b3;background:var(--danger-bg)}.calculation-form-section{display:grid;min-width:0;gap:13px;margin:0;padding:18px 22px;border:0;border-bottom:1px solid var(--border)}.calculation-form-section:disabled{opacity:.72}.calculation-section-head{display:flex;align-items:center;justify-content:space-between;gap:14px}.calculation-section-head>div{display:grid;gap:2px}.calculation-section-head strong{font-size:14px}.calculation-section-head span{color:var(--text-dim);font-size:10px}.calculation-section-head .btn{min-height:44px}.calculation-form-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:11px}.calculation-form-grid .span-2{grid-column:span 2}.calculation-lines{display:grid;gap:7px}.calculation-line{display:grid;grid-template-columns:24px minmax(90px,.72fr) minmax(180px,1.4fr) minmax(90px,.7fr) minmax(75px,.55fr) minmax(95px,.72fr) minmax(90px,.7fr) 44px;align-items:end;gap:7px;padding:9px;border:1px solid var(--border);border-radius:12px;background:#fbfcfc}.calculation-line-number{display:grid;width:24px;height:24px;place-items:center;align-self:center;border-radius:999px;color:var(--accent-dark);background:var(--accent-soft);font-size:10px;font-weight:800}.calculation-line input{min-height:38px;padding-inline:9px;font-size:11px}.calculation-line-total{display:grid;align-content:center;min-height:38px;gap:3px;padding:4px 8px;border-radius:9px;background:var(--surface-2)}.calculation-line-total strong{font-size:10px;font-variant-numeric:tabular-nums;white-space:nowrap}.calculation-line-remove{width:44px;height:44px;font-size:18px}.calculation-no-lines{display:grid;gap:4px;padding:20px;border:1px dashed #c9d8d2;border-radius:12px;color:var(--text-dim);background:#fbfdfc;text-align:center}.calculation-no-lines strong{color:var(--text);font-size:13px}.calculation-no-lines span{font-size:10px}.calculation-preview{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:8px}.calculation-preview>span{display:grid;min-width:150px;gap:3px;padding:9px 11px;border:1px solid #cfe4dc;border-radius:10px;background:#f3faf7}.calculation-preview small{color:var(--text-dim);font-size:9px;font-weight:700}.calculation-preview strong{color:var(--accent-dark);font-size:13px;font-variant-numeric:tabular-nums}.calculation-preview-quantity{min-width:210px}.calculation-preview .is-missing{border-color:#efd0bd;background:#fff6ef}.calculation-preview .is-missing strong{color:#a44f25}.calculation-modal>.form-error{margin:14px 22px 0}.calculation-modal>.modal-actions{position:sticky;z-index:6;bottom:0;padding:15px 22px 18px;margin:0;border-top:1px solid var(--border);background:#fbfcfc;box-shadow:0 -8px 22px #12342a14}@media(max-width:980px){.calculation-kpis,.calculation-filters{grid-template-columns:repeat(2,minmax(0,1fr))}.calculation-search{grid-column:1 / -1}.calculation-form-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.calculation-line{grid-template-columns:24px repeat(2,minmax(0,1fr)) 44px}.calculation-line-number{grid-row:span 2}.calculation-line-name{grid-column:span 2}}@media(max-width:680px){.calculation-view-tabs{display:grid;grid-template-columns:1fr;justify-self:stretch;border-radius:16px}.calculation-view-tabs .tab{width:100%}.calculation-hero{align-items:stretch;flex-direction:column;padding:18px}.calculation-new-button{width:100%}.calculation-kpis,.calculation-filters,.calculation-form-grid{grid-template-columns:1fr}.calculation-form-grid .span-2,.calculation-search{grid-column:auto}.calculation-toolbar{align-items:flex-start}.calculation-table-wrap{overflow:visible}.calculation-table,.calculation-table tbody,.calculation-table tr,.calculation-table td{display:block;min-width:0;width:100%}.calculation-table thead{display:none}.calculation-table tbody{display:grid;gap:10px;padding:10px;background:var(--surface-2)}.calculation-table tbody tr{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));overflow:hidden;border:1px solid var(--border);border-radius:13px;background:var(--surface)}.calculation-table td{display:grid;align-content:start;gap:5px;padding:10px 11px;border-bottom:1px solid var(--border)}.calculation-table td:before{content:attr(data-label);color:var(--text-dim);font-size:8px;font-weight:800;text-transform:uppercase;letter-spacing:.04em}.calculation-table td:first-child,.calculation-table td:last-child{grid-column:1 / -1}.calculation-table td:last-child{border-bottom:0}.calculation-edit-button{width:100%;min-height:44px}.calculation-modal-overlay{padding:10px}.calculation-modal{max-height:calc(100dvh - 20px);border-radius:16px}.calculation-modal-head,.calculation-form-section,.calculation-modal>.modal-actions{padding-inline:14px}.calculation-filters input,.calculation-filters select,.calculation-form-grid input,.calculation-form-grid select,.calculation-form-grid textarea,.calculation-line input{font-size:16px}.calculation-line{grid-template-columns:24px minmax(0,1fr) 44px}.calculation-line-number{grid-row:auto}.calculation-line label,.calculation-line-name,.calculation-line-total{grid-column:2 / 4}.calculation-line-remove{grid-row:1;grid-column:3}.calculation-preview{display:grid;grid-template-columns:1fr}.calculation-preview>span{min-width:0}.calculation-modal>.modal-actions{display:grid;grid-template-columns:1fr}}@media(prefers-reduced-motion:reduce){.calculation-kpis button,.calculation-table tbody tr{transition:none}}@media(max-width:900px){.menu-object-tabs{grid-template-columns:repeat(3,minmax(0,1fr))}}@media(max-width:760px){.menu-workbench-head,.menu-parallel-head,.menu-day-picker-head,.menu-object-selector-head{align-items:stretch;flex-direction:column}.menu-workbench-head,.menu-parallel-head{padding:15px}.menu-workbench-head>span,.menu-parallel-head-hint{align-self:flex-start}.menu-parallel-head-tools{align-items:stretch;justify-content:flex-start}.menu-dispatch-filter{width:100%}.menu-dispatch-filter button{flex:1}.menu-object-tabs{grid-template-columns:repeat(2,minmax(0,1fr));padding:10px}.menu-object-selector-head{gap:8px;padding:10px 10px 0}.menu-object-selector-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.menu-object-selector-actions button{min-height:44px}.menu-object-tabs button{min-height:58px}.menu-day-picker-head{gap:10px;padding-inline:12px}.menu-day-picker-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.menu-day-picker-actions button{min-height:44px}.menu-day-picker{padding-inline:12px}.menu-parallel-grid{grid-template-columns:1fr;padding:8px}}@media(max-width:420px){.menu-object-tabs{grid-template-columns:1fr}.menu-day-card{flex-basis:96px}}@media(prefers-reduced-motion:reduce){.menu-object-tabs button,.menu-day-picker button,.pullman-category-card>summary b i{transition:none}}.content-menu-planning{width:100%;min-width:0;max-width:none;overflow-x:hidden;padding:24px clamp(12px,2vw,36px) 96px}.menu-parallel-layout{display:grid;width:100%;max-width:100%;grid-template-columns:240px minmax(0,1fr);min-width:0;align-items:start;overflow:hidden;background:var(--surface-2)}.menu-category-sidebar{position:relative;z-index:2;min-width:0;padding:14px 12px;border-right:1px solid var(--border);background:var(--surface)}.menu-category-sidebar-head{padding:3px 4px 12px;border-bottom:1px solid var(--border)}.menu-category-sidebar-head h4{margin:3px 0 5px;font-size:16px}.menu-category-sidebar-head>span{display:block;margin-top:10px;color:var(--text-dim);font-size:9px;line-height:1.5}.menu-category-sidebar-head>small{display:block;margin-top:8px;color:var(--accent-dark);font-size:9px;font-weight:800}.menu-category-sidebar-actions{display:grid;grid-template-columns:1fr 1fr;gap:6px;margin-top:10px}.menu-category-sidebar-actions button{min-height:36px;padding:6px 8px;border:1px solid var(--border);border-radius:9px;color:var(--text);background:var(--surface-2);font:inherit;font-size:9px;font-weight:800;cursor:pointer}.menu-category-sidebar-actions button:hover:not(:disabled){border-color:var(--accent);color:var(--accent-dark);background:var(--accent-soft)}.menu-category-sidebar-actions button:focus-visible{outline:3px solid var(--accent-ring);outline-offset:2px}.menu-category-sidebar-actions button:disabled{opacity:.45;cursor:not-allowed}.menu-category-view-toggle{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:4px;margin-top:12px;padding:3px;border:1px solid var(--border);border-radius:11px;background:var(--surface-2)}.menu-category-view-toggle button{min-width:0;min-height:44px;padding:6px;border:0;border-radius:8px;color:var(--text-dim);background:transparent;cursor:pointer;font:inherit;font-size:9px;font-weight:850;touch-action:manipulation;transition:color .16s ease,background-color .16s ease,box-shadow .16s ease}.menu-category-view-toggle button:hover{color:var(--text);background:var(--surface)}.menu-category-view-toggle button:focus-visible{outline:3px solid var(--accent-ring);outline-offset:1px}.menu-category-view-toggle button.is-active{color:#fff;background:var(--accent-dark);box-shadow:0 3px 10px #19604c2e}.menu-category-view-toggle button.is-leftover{color:#b42318}.menu-category-view-toggle button.is-leftover.is-active{color:#fff;background:#b42318;box-shadow:0 3px 10px #b4231833}.menu-category-nav{display:grid;gap:12px;margin-top:var(--menu-category-nav-offset, 0px);padding-top:10px}.menu-summary-board{min-width:0;border-top:1px solid var(--border);background:var(--surface-2)}.menu-summary-board-scroll{width:100%;overflow-x:auto;overscroll-behavior-inline:contain;scrollbar-width:thin}.menu-summary-board-grid{display:grid;width:max(100%,var(--menu-summary-grid-width));min-width:var(--menu-summary-grid-width);grid-template-columns:240px repeat(var(--menu-summary-day-columns),minmax(390px,1fr));align-items:stretch}.menu-summary-board-corner{position:sticky;left:0;z-index:5;grid-column:1;grid-row:1;min-height:174px;padding:16px;border-right:1px solid var(--border);border-bottom:1px solid var(--border);background:var(--surface)}.menu-summary-board-corner h4{margin:3px 0 0;font-size:16px}.menu-summary-board-corner>small{display:block;margin-top:9px;color:var(--accent-dark);font-size:9px;font-weight:800}.menu-summary-day-head{display:flex;min-width:0;min-height:174px;flex-direction:column;justify-content:flex-end;gap:5px;padding:18px 20px;border-right:1px solid var(--border);border-bottom:1px solid var(--border);background:linear-gradient(145deg,var(--surface),var(--accent-soft))}.menu-summary-day-head span,.menu-summary-day-head small{color:var(--text-dim);font-size:10px;font-weight:750}.menu-summary-day-head strong{color:var(--text);font-size:16px}.menu-summary-day-dispatches{display:flex;flex-wrap:wrap;gap:6px;margin-top:7px}.menu-summary-day-dispatches>span{display:grid;grid-template-columns:auto auto;align-items:center;gap:1px 6px;padding:6px 9px;border:1px solid rgba(19,132,98,.22);border-radius:9px;color:var(--accent-dark);background:var(--surface)}.menu-summary-day-dispatches>span small{grid-column:1;font-size:8px}.menu-summary-day-dispatches time{grid-column:1;font-size:13px;font-weight:900}.menu-summary-day-dispatches em{grid-column:2;grid-row:1 / span 2;color:var(--text-dim);font-size:8px;font-style:normal;font-weight:800}.menu-summary-group-label{position:sticky;left:0;z-index:4;display:grid;min-height:72px;grid-template-columns:minmax(0,1fr) 26px;align-items:stretch;gap:4px;padding:8px 10px;border-right:1px solid var(--border);border-bottom:1px solid var(--border);background:var(--surface);cursor:grab}.menu-summary-group-label:active{cursor:grabbing}.menu-summary-group-label.is-dragging{opacity:.45}.menu-summary-group-label label{display:grid;width:100%;height:100%;min-height:54px;grid-template-columns:28px minmax(0,1fr) auto;align-items:center;gap:8px;padding:6px 8px;border:1px solid transparent;border-radius:10px;color:var(--text-dim);background:var(--surface-2);cursor:pointer}.menu-summary-group-label.is-active label{border-color:var(--accent);color:var(--accent-dark);background:var(--accent-soft)}.menu-summary-group-label input{position:absolute;width:1px;height:1px;opacity:0}.menu-summary-group-label label>span{display:grid;width:28px;height:28px;place-items:center;border-radius:8px;color:#fff;background:var(--accent-dark);font-size:10px;font-weight:900}.menu-summary-group-label label>strong{min-width:0;overflow-wrap:anywhere;font-size:11px;line-height:1.3}.menu-summary-group-label label>small{min-width:25px;padding:4px 7px;border-radius:999px;color:var(--accent-dark);background:var(--surface);font-size:9px;font-weight:900;text-align:center}.menu-summary-group-label label:focus-within{outline:3px solid var(--accent-ring);outline-offset:1px}.menu-summary-group-cell{min-width:0;min-height:72px;border-right:1px solid var(--border);border-bottom:1px solid var(--border);background:var(--surface)}.menu-summary-group-cell.is-disabled{background:var(--surface-2)}.menu-summary-group-trigger{display:grid;width:100%;min-height:71px;min-width:0;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:12px;padding:10px 14px;border:0;color:var(--text);background:transparent;font:inherit;text-align:left;cursor:pointer}.menu-summary-group-trigger:hover:not(:disabled){background:#1384620a}.menu-summary-group-trigger:focus-visible{position:relative;z-index:1;outline:3px solid var(--accent-ring);outline-offset:-3px}.menu-summary-group-trigger:disabled{color:var(--text-dim);cursor:default}.menu-summary-dish-list{display:flex;width:100%;min-width:0;flex-wrap:wrap;gap:6px}.menu-summary-dish-list>em{color:var(--text-dim);font-size:10px;font-style:normal;font-weight:700}.menu-summary-category-empty{display:inline-flex;flex-wrap:wrap;align-items:baseline;gap:4px;color:var(--text-dim);font-style:normal;font-weight:700}.menu-summary-category-empty strong{color:var(--accent-dark);font-weight:900}.menu-summary-dispatch-columns{display:grid;width:100%;min-width:0;grid-template-columns:repeat(var(--menu-summary-dispatch-count),minmax(0,1fr));gap:8px}.menu-summary-dispatch-group{display:grid;min-width:0;overflow:hidden;align-content:start;gap:6px;padding:7px;border:1px solid var(--border);border-radius:10px;background:var(--surface-2)}.menu-summary-dispatch-group>time{width:fit-content;padding:3px 7px;border-radius:999px;color:#fff;background:var(--accent-dark);font-size:10px;font-weight:900}.menu-summary-dispatch-group>span{display:grid;min-width:0;gap:5px}.menu-summary-dispatch-group>span>em{color:var(--text-dim);font-size:9px;font-style:normal;font-weight:700}.menu-summary-dish-chip{display:grid;min-width:0;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:5px;padding:5px 8px;border:1px solid rgba(19,132,98,.18);border-radius:9px;color:var(--text);background:var(--accent-soft)}.menu-summary-dish-chip strong{min-width:0;overflow-wrap:anywhere;font-size:10px;line-height:1.25}.menu-summary-dish-chip b{color:var(--accent-dark);font-size:10px;white-space:nowrap}.menu-summary-dish-chip small{grid-column:1 / -1;width:fit-content;padding:2px 5px;border-radius:999px;color:var(--accent-dark);background:var(--surface);font-size:8px;font-weight:850;white-space:nowrap}.menu-summary-dispatch-total{display:grid!important;width:100%;max-width:100%;min-width:0;box-sizing:border-box;grid-template-columns:minmax(0,1fr);align-items:start;gap:5px;padding-top:7px;border-top:1px solid rgba(19,132,98,.2)}.menu-summary-dispatch-total>small{color:var(--text-dim);font-size:9px;font-weight:850;white-space:normal}.menu-summary-dispatch-total>span{display:flex;width:100%;max-width:100%;min-width:0;flex-wrap:wrap;justify-content:flex-start;gap:4px}.menu-summary-dispatch-total>span>b{padding:3px 7px;border-radius:999px;color:#fff;background:var(--accent-dark);font-size:9px;font-weight:900;white-space:nowrap}.menu-summary-dispatch-total.is-compact{grid-template-columns:minmax(0,1fr);margin-top:3px;padding-top:5px}.menu-summary-dispatch-total.is-compact>span>b{color:var(--accent-dark);background:var(--accent-soft)}.menu-summary-group-meta{display:flex;flex:0 0 auto;align-items:center;gap:8px}.menu-summary-group-meta>small{padding:5px 8px;border-radius:999px;color:var(--accent-dark);background:var(--accent-soft);font-size:9px;font-weight:900;white-space:nowrap}.menu-summary-group-meta>span{display:grid;width:28px;height:28px;place-items:center;border-radius:9px;color:var(--accent-dark);background:var(--surface-2)}.menu-summary-group-meta svg,.menu-detailed-editor-toggle svg{width:15px;height:15px;fill:none;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:1.8;transition:transform .18s ease}.menu-summary-group-trigger[aria-expanded=true] .menu-summary-group-meta svg,.menu-detailed-editor-toggle button[aria-expanded=true] svg{transform:rotate(180deg)}.menu-summary-object-breakdown{display:grid;min-width:0;gap:7px;padding:0 14px 12px}.menu-summary-object-breakdown>div{display:grid;min-width:0;grid-template-columns:120px minmax(0,1fr);gap:10px;padding:8px 10px;border-radius:9px;background:var(--surface-2)}.menu-summary-object-breakdown strong{color:var(--accent-dark);font-size:10px}.menu-summary-object-breakdown span{color:var(--text);font-size:10px;line-height:1.4}.menu-summary-object-breakdown span.is-empty{color:var(--text-dim)}.menu-summary-object-dispatches{display:grid;width:100%;min-width:0;grid-template-columns:repeat(var(--menu-summary-object-dispatch-count),minmax(0,1fr));gap:6px;overflow:hidden}.menu-summary-object-dispatches>span{display:grid;min-width:0;grid-template-columns:48px minmax(0,1fr);align-items:start;gap:8px}.menu-summary-object-dispatches time{color:var(--accent-dark);font-size:10px;font-weight:900}.menu-summary-object-dispatches>span>span{display:grid;width:100%;max-width:100%;min-width:0;gap:3px;overflow:hidden;overflow-wrap:anywhere}.menu-summary-object-dispatches b{color:var(--accent-dark)}.menu-detailed-editor-toggle{display:flex;justify-content:flex-end;padding:12px 16px;border-top:1px solid var(--border);background:var(--surface)}.menu-detailed-editor-toggle button{display:inline-flex;align-items:center;gap:8px;min-height:38px;padding:8px 12px;border:1px solid var(--border);border-radius:10px;color:var(--accent-dark);background:var(--surface-2);font:inherit;font-size:10px;font-weight:850;cursor:pointer}.menu-detailed-editor-toggle button:hover{border-color:var(--accent);background:var(--accent-soft)}.menu-detailed-editor-toggle button:focus-visible{outline:3px solid var(--accent-ring);outline-offset:2px}.menu-category-option-row{display:grid;grid-template-columns:minmax(0,1fr) 26px;height:68px;min-height:68px;align-items:stretch;gap:4px;border-radius:10px;cursor:grab}.menu-category-option-row[data-menu-category-row]{align-items:stretch}.menu-category-option-row[data-menu-category-row] .menu-category-option,.menu-category-option-row[data-menu-category-row] .menu-category-order-actions{height:100%}.menu-category-option-row[data-menu-category-row] .menu-category-option>strong{text-align:center}.menu-category-option-row.is-fixed{grid-template-columns:minmax(0,1fr);cursor:default}.menu-category-option-row.is-fixed:active{cursor:default}.menu-category-option-row.is-dragging{opacity:.45}.menu-category-option-row:active{cursor:grabbing}.menu-category-option{position:relative;display:grid;grid-template-columns:28px minmax(0,1fr) auto;width:100%;height:68px;min-height:68px;align-items:center;gap:8px;padding:6px 8px;border:1px solid transparent;border-radius:10px;color:var(--text);background:transparent;cursor:pointer;font:inherit;text-align:left;touch-action:manipulation;transition:border-color .16s ease,background-color .16s ease,color .16s ease}.menu-category-option>input{position:absolute;width:1px;height:1px;opacity:0;pointer-events:none}.menu-category-option:hover{border-color:#b8dcd1;background:var(--surface-2)}.menu-category-option:focus-within{outline:3px solid var(--accent-ring);outline-offset:2px}.menu-category-option.is-active{border-color:var(--accent);color:var(--accent-dark);background:var(--accent-soft)}.menu-category-option>span{display:grid;width:28px;height:28px;place-items:center;border-radius:8px;color:var(--text-dim);background:var(--surface-2);font-size:9px;font-weight:900}.menu-category-option.is-active>span{color:#fff;background:var(--accent-dark)}.menu-category-option>strong{min-width:0;overflow:hidden;font-size:11px;text-overflow:ellipsis;white-space:nowrap}.menu-category-option>small{min-width:23px;padding:3px 5px;border-radius:999px;color:var(--text-dim);background:var(--surface-2);font-size:8px;font-weight:850;text-align:center}.menu-category-option.is-active>small{color:var(--accent-dark);background:var(--surface)}.menu-category-order-actions{display:grid;align-content:center;gap:3px}.menu-category-order-actions button{display:grid;width:26px;height:26px;place-items:center;padding:0;border:1px solid var(--border);border-radius:7px;color:var(--text-dim);background:var(--surface);cursor:pointer;touch-action:manipulation}.menu-category-order-actions button:hover:not(:disabled){border-color:var(--accent);color:var(--accent-dark);background:var(--accent-soft)}.menu-category-order-actions button:focus-visible{outline:3px solid var(--accent-ring);outline-offset:1px}.menu-category-order-actions button:disabled{cursor:not-allowed;opacity:.28}.menu-category-order-actions svg{width:14px;height:14px;fill:none;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:1.8}.menu-parallel-stage{width:100%;max-width:100%;min-width:0;overflow:hidden}.menu-parallel-scroll-controls{display:flex;min-height:52px;align-items:center;justify-content:space-between;gap:12px;padding:7px 12px;border-bottom:1px solid var(--border);background:var(--surface)}.menu-parallel-scroll-controls>span{min-width:0;overflow:hidden;color:var(--text-dim);font-size:9px;font-weight:750;text-overflow:ellipsis;white-space:nowrap}.menu-category-sidebar.is-equipment-mode .menu-category-option>strong{display:-webkit-box;overflow:hidden;line-height:1.3;white-space:normal;-webkit-box-orient:vertical;-webkit-line-clamp:2}.menu-parallel-scroll-controls>div{display:flex;flex:0 0 auto;gap:8px}.menu-parallel-scroll-controls button{display:grid;width:40px;height:40px;place-items:center;padding:0;border:1px solid #b8dcd1;border-radius:10px;color:var(--accent-dark);background:var(--accent-soft);cursor:pointer;touch-action:manipulation}.menu-parallel-scroll-controls button:hover:not(:disabled){border-color:var(--accent);background:#dff8ed}.menu-parallel-scroll-controls button:focus-visible{outline:3px solid var(--accent-ring);outline-offset:2px}.menu-parallel-scroll-controls button:disabled{cursor:not-allowed;opacity:.4}.menu-parallel-scroll-controls svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:1.8}.menu-parallel-scroll{width:100%;max-width:100%;min-width:0;overflow-x:auto;overflow-y:hidden;overscroll-behavior-inline:contain;scrollbar-width:thin;contain:inline-size}.menu-parallel-scroll:focus-visible{outline:3px solid var(--accent-ring);outline-offset:-3px}.menu-parallel-layout .menu-parallel-grid{width:max(100%,var(--menu-grid-width));min-width:0;grid-template-columns:repeat(var(--menu-day-columns),minmax(390px,1fr))}.menu-active-category{position:relative;overflow:hidden;border:1px solid var(--border);border-radius:14px;background:var(--surface);transition:border-color .16s ease,box-shadow .16s ease}.menu-active-category.is-item-drop-target{z-index:3;border-color:var(--accent);box-shadow:0 0 0 3px var(--accent-ring),0 10px 28px #13846229}.menu-active-category.is-item-drop-target.is-copy{border-color:#3976c6;box-shadow:0 0 0 3px #3976c633,0 10px 28px #3976c624}.menu-item-drop-feedback{position:absolute;top:6px;right:48px;z-index:4;display:grid;justify-items:end;gap:1px;padding:5px 9px;border:1px solid var(--accent);border-radius:9px;color:#fff;background:var(--accent-dark);box-shadow:0 5px 14px #13846233;pointer-events:none}.is-copy>.menu-item-drop-feedback{border-color:#3976c6;background:#285f9f;box-shadow:0 5px 14px #3976c633}.menu-item-drop-feedback strong{font-size:9px;line-height:1.2}.menu-item-drop-feedback small{color:#ffffffd1;font-size:7px;font-weight:750}.menu-active-category.is-disabled{border-style:dashed;border-color:#cbd9d4;background:transparent}.menu-category-disabled-row{display:flex;height:66px;min-height:66px;align-items:center;justify-content:flex-end;padding:9px 12px}.menu-category-disabled-row span{padding:4px 7px;border-radius:999px;color:var(--text-dim);background:var(--surface-2);font-size:8px;font-weight:750}.menu-selected-category-stack{display:grid;gap:12px}.menu-no-categories{display:grid;min-height:160px;place-content:center;gap:5px;padding:20px;border:1px dashed #b8dcd1;border-radius:14px;color:var(--text-dim);background:var(--surface);text-align:center}.menu-no-categories strong{color:var(--text);font-size:12px}.menu-no-categories span{font-size:9px}.menu-active-category-head{display:flex;min-height:58px;align-items:center;justify-content:space-between;gap:12px;padding:10px 12px;border-bottom:1px solid var(--border);background:var(--surface-2)}.menu-active-category-head h4{margin:3px 0 0;font-size:15px}.menu-category-summary-trigger{display:grid;grid-template-columns:minmax(0,1fr) auto 30px;width:100%;height:auto;min-height:66px;align-content:start;align-items:start;gap:9px;padding:9px 10px 9px 12px;border:0;color:var(--text);background:var(--surface-2);cursor:pointer;font:inherit;text-align:left;touch-action:manipulation;transition:background-color .16s ease}.menu-category-summary-trigger:hover{background:var(--accent-soft)}.menu-category-summary-trigger:focus-visible{position:relative;z-index:2;outline:3px solid var(--accent-ring);outline-offset:-3px}.menu-category-planned-summary{display:grid;min-width:0;align-content:start;gap:0}.menu-category-planned-summary>span:not(.is-empty){display:grid;grid-template-columns:minmax(0,1fr) auto;min-height:30px;min-width:0;align-items:center;gap:8px;padding:5px 0;border-bottom:1px solid color-mix(in srgb,var(--border) 72%,transparent)}.menu-category-planned-summary>span:not(.is-empty):last-child{border-bottom:0}.menu-category-planned-product{display:flex;min-width:0;align-items:baseline;gap:6px}.menu-draggable-dish{border-radius:7px;cursor:grab;transition:background-color .16s ease,box-shadow .16s ease,opacity .16s ease}.menu-draggable-dish:hover{background:color-mix(in srgb,var(--accent-soft) 74%,transparent);box-shadow:0 0 0 3px color-mix(in srgb,var(--accent) 16%,transparent)}.menu-draggable-dish:active{cursor:grabbing}.menu-draggable-dish.is-dragging{opacity:.42}.menu-category-planned-product.menu-draggable-dish,.menu-category-item-title.menu-draggable-dish{padding:3px 5px;margin:-3px -5px}.menu-category-planned-summary strong{min-width:0;overflow:hidden;font-size:10px;font-weight:800;line-height:1.35;text-overflow:ellipsis;white-space:nowrap}.menu-category-planned-grammage{flex:0 0 auto;padding:1px 5px;border:1px solid color-mix(in srgb,var(--accent) 22%,transparent);border-radius:999px;color:var(--accent-dark);background:color-mix(in srgb,var(--accent-soft) 64%,var(--surface));font-size:8px;font-weight:850;line-height:1.35;font-variant-numeric:tabular-nums;white-space:nowrap}.menu-category-planned-grammage.is-above-median{border-color:color-mix(in srgb,var(--danger) 48%,transparent);color:#b42318;background:#fff1f0;box-shadow:inset 0 0 0 1px color-mix(in srgb,var(--danger) 12%,transparent)}.menu-category-planned-grammage.is-above-median i{display:inline-grid;width:11px;height:11px;margin-left:3px;place-items:center;border-radius:50%;color:#fff;background:#d92d20;font-size:7px;font-style:normal;line-height:1}.menu-category-planned-summary b{color:var(--accent-dark);font-size:10px;font-variant-numeric:tabular-nums;white-space:nowrap}.menu-category-planned-summary .is-missing b{color:#8a5a20;font-size:8px}.menu-category-planned-summary .is-empty{overflow:hidden;color:var(--text-dim);font-size:9px;font-weight:700;text-overflow:ellipsis;white-space:nowrap}.menu-category-planned-summary .is-empty strong{color:var(--accent-dark);font-size:inherit;font-weight:900}.menu-category-disclosure-chevron{display:grid;width:30px;height:30px;place-items:center;border-radius:9px;color:var(--accent-dark);background:var(--surface)}.menu-category-disclosure-chevron svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:1.8;transition:transform .18s ease}.menu-category-summary-trigger[aria-expanded=true] .menu-category-disclosure-chevron svg{transform:rotate(180deg)}.menu-category-disclosure-body{border-top:1px solid var(--border)}.menu-category-metric-summary{display:grid;flex:0 0 auto;justify-items:end;gap:2px}.menu-category-metric-summary>.menu-category-dish-count{flex:0 0 auto;padding:5px 8px;border-radius:999px;color:var(--accent-dark);background:var(--accent-soft);font-size:9px;font-weight:850}.menu-category-metric-summary>small{color:var(--text-dim);font-size:8px;font-weight:700}.menu-category-cost-values{display:flex;align-items:baseline;justify-content:flex-end;gap:9px;white-space:nowrap}.menu-category-cost-values>span{display:flex;align-items:baseline;gap:3px}.menu-category-cost-values small{color:var(--text-dim);font-size:7px;font-weight:750}.menu-category-cost-values .is-above-median strong,.menu-category-median-alert{color:#b42318}.menu-category-median-alert{font-weight:850}.menu-category-cost-values strong{color:var(--accent-dark);font-size:10px;font-weight:850;font-variant-numeric:tabular-nums}.menu-category-cost-values .is-per-person{justify-content:flex-end}.menu-category-cost-error{padding:8px 12px;border-bottom:1px solid #f0c8c5;color:var(--danger);background:var(--danger-bg);font-size:9px;font-weight:750}.menu-parallel-column .menu-quick-add{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:end;gap:8px;padding:10px 12px;border-bottom:1px solid var(--border);background:#f4fbf8}.menu-parallel-column .menu-quick-add .btn{width:auto;min-width:104px;min-height:46px;padding-inline:12px}.menu-active-category .pullman-item-row:last-child{border-bottom:0}.menu-category-item-list{display:grid}.menu-category-item{position:relative;border-bottom:1px solid var(--border);background:var(--surface)}.menu-category-item:last-child{border-bottom:0}.menu-category-item.is-expanded{background:#fbfefd}.menu-category-item-head{display:grid;grid-template-columns:minmax(0,1fr) minmax(82px,auto);align-items:stretch}.menu-product-delete{display:flex;min-width:78px;height:44px;align-items:center;justify-content:center;gap:6px;place-self:center;padding:5px 9px;border:1px solid #efc3bd;border-radius:12px;color:#a13227;background:#fff8f7;cursor:pointer;transition:border-color .16s ease,background-color .16s ease,color .16s ease,transform .16s ease}.menu-product-delete:hover{border-color:#d97469;color:#82251d;background:#ffebe8;transform:translateY(-1px)}.menu-product-delete:focus-visible{outline:3px solid rgba(200,67,54,.24);outline-offset:2px}.menu-product-delete svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:1.8}.menu-product-delete span{font-size:9px;font-weight:800}.menu-category-item-name.menu-draggable-dish{width:fit-content;max-width:100%;padding:3px 5px;margin:-3px -5px}.menu-product-code-selectable{width:fit-content;padding:2px 3px;margin:-2px -3px;border-radius:4px;cursor:text;user-select:text;-webkit-user-select:text}.menu-product-code-selectable::selection,.menu-product-code-selectable code::selection{color:#fff;background:var(--accent-dark)}.menu-product-code-selectable code{color:var(--text);font:inherit;font-weight:850;user-select:text;-webkit-user-select:text}.menu-category-item-trigger{display:grid;grid-template-columns:minmax(0,1fr) minmax(92px,auto) 28px;width:100%;min-height:64px;align-items:center;gap:10px;padding:9px 10px 9px 12px;border:0;color:var(--text);background:transparent;cursor:pointer;font:inherit;text-align:left;touch-action:manipulation;transition:background-color .16s ease}.menu-category-item-trigger:hover{background:var(--accent-soft)}.menu-category-item-trigger:focus-visible{position:relative;z-index:1;outline:3px solid var(--accent-ring);outline-offset:-3px}.menu-category-item-title,.menu-category-item-metric{display:grid;min-width:0;gap:3px}.menu-category-item-title strong{overflow:hidden;font-size:11px;font-weight:850;line-height:1.35;text-overflow:ellipsis;white-space:nowrap}.menu-category-item-title small,.menu-category-item-metric small{color:var(--text-dim);font-size:8px;font-weight:700}.menu-category-item-metric{justify-items:end;text-align:right}.menu-category-item-metric strong{color:var(--accent-dark);font-size:12px;font-variant-numeric:tabular-nums;line-height:1.35}.menu-category-item-metric.is-missing strong{max-width:100px;color:#8a5a20;font-size:9px}.menu-category-item-chevron{display:grid;width:28px;height:28px;place-items:center;border-radius:8px;color:var(--accent-dark);background:var(--surface-2)}.menu-category-item-chevron svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:1.8;transition:transform .18s ease}.menu-category-item.is-expanded .menu-category-item-chevron svg{transform:rotate(180deg)}.menu-category-item-details{display:grid;gap:10px;padding:0 12px 12px;border-top:1px solid var(--border)}.menu-category-item-facts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;padding-top:10px}.menu-category-item-facts>span,.menu-category-item-facts>button{display:grid;min-width:0;gap:3px;padding:8px;border:1px solid var(--border);border-radius:9px;background:var(--surface)}.menu-category-item-facts small,.menu-category-item-detail-actions>small{color:var(--text-dim);font-size:8px;line-height:1.45}.menu-category-item-facts strong{overflow-wrap:anywhere;font-size:10px;font-variant-numeric:tabular-nums}.menu-category-item-facts>.is-leftover{border-color:#b4231842;background:#b423180f}.menu-category-item-facts>.is-leftover small,.menu-category-item-facts>.is-leftover strong,.menu-leftover-label{color:#b42318}.menu-leftover-label{font-style:normal}.menu-leftover-inline{display:inline-flex;align-items:center;gap:3px;color:#b42318}.menu-leftover-inline em{color:inherit;font-style:normal}.menu-leftover-inline input{width:43px;min-width:0;height:24px;padding:2px 4px;border:1px solid rgba(180,35,24,.4);border-radius:5px;color:#b42318;background:#fff;font:inherit;font-size:10px;font-weight:850;text-align:right}.menu-leftover-inline input:focus-visible{outline:2px solid rgba(180,35,24,.32);outline-offset:1px}.menu-leftover-inline small{color:inherit;font-size:9px}.menu-category-item-inputs{display:grid;grid-template-columns:repeat(auto-fit,minmax(110px,1fr));gap:7px}.menu-category-item-inputs label{min-width:0;gap:4px}.menu-category-item-inputs label>span,.menu-category-item-inputs label>small{overflow:hidden;font-size:8px;text-overflow:ellipsis;white-space:nowrap}.menu-category-item-inputs input{height:42px;padding-inline:10px;font-size:11px;font-weight:750}.menu-category-item-history{display:grid;gap:7px}.menu-item-history-trigger{display:inline-flex;align-items:center;justify-content:center;width:fit-content;gap:6px;min-height:34px;padding:7px 10px;border:1px solid var(--border);border-radius:8px;color:var(--accent-dark);background:var(--surface-2);font-size:9px;font-weight:750}.menu-item-history-trigger svg{width:14px;height:14px;fill:none;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:1.8}.menu-item-history-results{display:grid;gap:5px;padding:8px;border:1px solid var(--border);border-radius:9px;background:var(--surface-2);color:var(--text-dim);font-size:9px}.menu-item-history-row{display:grid;grid-template-columns:minmax(76px,auto) auto;align-items:baseline;gap:3px 9px;padding-bottom:6px;border-bottom:1px solid var(--border)}.menu-item-history-row:last-child{padding-bottom:0;border-bottom:0}.menu-item-history-row strong{color:var(--text);font-size:9px}.menu-item-history-row>span{color:var(--accent-dark);font-size:9px;font-weight:750}.menu-item-history-row small{grid-column:1 / -1;color:var(--text-dim);font-size:8px;line-height:1.45}.menu-category-item-detail-actions{display:flex;align-items:center;justify-content:space-between;gap:10px}.menu-category-item-detail-actions>small{flex:1}.menu-category-item-detail-actions .pullman-remove-item{flex:0 0 auto;min-height:40px}.menu-category-empty{display:grid;min-height:108px;place-content:center;gap:4px;padding:18px;color:var(--text-dim);text-align:center}.menu-category-empty strong{color:var(--text);font-size:11px}.menu-category-empty span{font-size:9px}@media(max-width:760px){.content-menu-planning{padding:16px 10px 64px}.menu-parallel-layout{display:block}.menu-category-sidebar{position:static;padding:10px;border-right:0;border-bottom:1px solid var(--border)}.menu-category-sidebar-head>span{display:none}.menu-category-nav{display:flex;gap:7px;padding-top:8px;overflow-x:auto;scroll-snap-type:inline proximity}.menu-category-option-row{flex:0 0 200px;scroll-snap-align:start}.menu-parallel-scroll{overflow:visible}.menu-parallel-layout .menu-parallel-grid{width:100%;grid-template-columns:1fr}.menu-parallel-scroll-controls{display:none}}@container (max-width: 430px){.menu-parallel-column .menu-quick-add{grid-template-columns:1fr}.menu-parallel-column .menu-quick-add .btn{width:100%}}@media(prefers-reduced-motion:reduce){.menu-category-option,.menu-category-option-row{transition:none}}.menu-parallel-column .menu-schedule-disclosure{overflow:hidden;padding:0}.menu-schedule-disclosure>summary{display:grid;grid-template-columns:36px minmax(105px,auto) minmax(0,1fr) auto;min-height:62px;align-items:center;gap:10px;padding:8px 11px;cursor:pointer;list-style:none;touch-action:manipulation;transition:background-color .16s ease}.menu-schedule-disclosure>summary::-webkit-details-marker{display:none}.menu-schedule-disclosure>summary:hover{background:#edf8f3}.menu-schedule-disclosure>summary:focus-visible{outline:3px solid var(--accent-ring);outline-offset:-3px}.menu-schedule-disclosure[open]>summary{border-bottom:1px solid #cce4dc;background:#edf8f3}.menu-schedule-icon{display:grid;width:36px;height:36px;place-items:center;border-radius:10px;color:var(--accent-dark);background:var(--accent-soft)}.menu-schedule-icon svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:1.8}.menu-schedule-title{display:grid;min-width:0;gap:2px}.menu-schedule-title strong{font-size:12px}.menu-schedule-title small{color:var(--text-dim);font-size:9px}.menu-schedule-times{display:flex;min-width:0;flex-wrap:wrap;justify-content:flex-end;gap:5px}.menu-schedule-times>span{display:inline-flex;align-items:center;gap:4px;min-height:28px;padding:4px 8px;border:1px solid #cce4dc;border-radius:999px;color:var(--accent-dark);background:var(--surface);font-size:10px;font-weight:850;font-variant-numeric:tabular-nums;white-space:nowrap}.menu-schedule-times>span>small{color:var(--text-dim);font-size:8px}.menu-schedule-toggle{display:inline-flex;align-items:center;gap:7px;color:var(--accent-dark);font-size:9px;font-weight:850;white-space:nowrap}.menu-schedule-toggle i{width:8px;height:8px;border-right:1.5px solid currentColor;border-bottom:1.5px solid currentColor;transform:rotate(45deg) translateY(-2px);transition:transform .16s ease}.menu-schedule-disclosure[open] .menu-schedule-toggle i{transform:rotate(225deg) translate(-1px,-1px)}.menu-schedule-details{padding:11px}.menu-schedule-details .menu-editor-schedule-head{margin-bottom:9px}.menu-dispatch-row-head{display:flex;grid-column:1 / -1;min-width:0;align-items:center;justify-content:space-between;gap:8px}.menu-dispatch-row-head>strong{font-size:12px}.menu-dispatch-row-head>button{min-height:36px;padding:5px 8px;border:1px solid #e6b9b5;border-radius:9px;color:var(--danger);background:var(--danger-bg);cursor:pointer;font:inherit;font-size:9px;font-weight:800}.menu-dispatch-row-head>button:focus-visible,.menu-third-dispatch-add:focus-visible{outline:3px solid var(--accent-ring);outline-offset:2px}.menu-planning-dispatch-inputs input[readonly]{color:var(--accent-dark);border-color:#abd8cb;background:#edf8f3;cursor:default}.menu-planning-dispatch-inputs label>small{color:var(--text-dim);font-size:8px;line-height:1.4}.menu-third-dispatch-add{display:grid;min-height:62px;place-content:center;gap:3px;padding:9px 12px;border:1px dashed #9fcfc0;border-radius:12px;color:var(--accent-dark);background:var(--surface);cursor:pointer;font:inherit;text-align:center;touch-action:manipulation;transition:border-color .16s ease,background-color .16s ease}.menu-third-dispatch-add:hover:not(:disabled){border-color:var(--accent);background:var(--accent-soft)}.menu-third-dispatch-add:disabled{cursor:not-allowed;opacity:.48}.menu-third-dispatch-add strong{font-size:10px}.menu-third-dispatch-add small{color:var(--text-dim);font-size:8px}@container (max-width: 430px){.menu-schedule-disclosure>summary{grid-template-columns:36px minmax(0,1fr) auto}.menu-schedule-times{grid-column:1 / -1;justify-content:flex-start}.menu-schedule-toggle{width:32px;justify-content:center;overflow:hidden;font-size:0}}@media(prefers-reduced-motion:reduce){.menu-schedule-disclosure>summary,.menu-schedule-toggle i,.menu-third-dispatch-add,.menu-category-view-toggle button,.menu-category-item-trigger,.menu-category-item-chevron svg,.menu-schedule-details-button>svg:last-child,.menu-active-category,.menu-draggable-dish{transition:none}}.menu-parallel-column .menu-quantity-compact{display:grid;grid-template-columns:1fr;align-items:stretch;gap:9px;padding:10px}.menu-quantity-card-head{display:grid;grid-template-columns:minmax(105px,auto) minmax(0,1fr);min-width:0;align-items:center;gap:9px}.menu-quantity-card-head h4{margin:1px 0 0;font-size:13px}.menu-quantity-card-head>small{min-width:0;overflow:hidden;color:var(--text-dim);font-size:8px;text-align:right;text-overflow:ellipsis;white-space:nowrap}.menu-quantity-inputs{display:grid;grid-template-columns:repeat(auto-fit,minmax(102px,1fr));min-width:0;gap:7px}.menu-quantity-inputs label{gap:4px}.menu-quantity-inputs label>span{overflow:hidden;font-size:8px;text-overflow:ellipsis;white-space:nowrap}.menu-quantity-inputs .menu-dispatch-quantity-heading{display:grid;gap:2px;overflow:visible;white-space:normal}.menu-dispatch-quantity-heading>span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.menu-dispatch-quantity-heading>small{overflow:hidden;color:var(--accent-dark);font-size:9px;font-weight:850;line-height:1.25;text-overflow:ellipsis;white-space:nowrap}.menu-quantity-inputs input{height:40px;padding-inline:10px;border-radius:9px;font-size:12px;font-weight:700}.menu-quantity-inputs .is-day-total input{color:var(--accent-dark);border-color:#9fcfc0;background:var(--surface)}.menu-parallel-column .menu-quantity-inputs{grid-template-columns:repeat(3,minmax(0,1fr))}.menu-parallel-column .menu-quantity-inputs:has(>label:nth-child(4)){grid-template-columns:repeat(4,minmax(0,1fr))}.menu-category-search-actions{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:4px;width:calc(100% - 24px);min-height:42px;margin:10px 12px 0;padding:4px;border:1px solid var(--border);border-radius:12px;color:var(--text);background:#f4fbf8}.menu-category-search-trigger{display:grid;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:9px;min-height:32px;padding:4px 8px;border:0;border-radius:8px;color:inherit;background:transparent;font:inherit;text-align:left;cursor:pointer}.menu-category-search-actions:hover{border-color:var(--brand);background:var(--brand-soft)}.menu-category-search-trigger:focus-visible{outline:3px solid color-mix(in srgb,var(--brand) 24%,transparent);outline-offset:2px}.menu-category-search-trigger svg{width:18px;height:18px;fill:none;stroke:var(--brand-strong);stroke-linecap:round;stroke-linejoin:round;stroke-width:1.8}.menu-category-search-trigger>span{overflow:hidden;font-size:11px;font-weight:800;text-overflow:ellipsis;white-space:nowrap}.menu-category-available-link,.menu-category-available-count{padding:7px 8px;border:0;border-radius:8px;color:var(--text-dim);background:transparent;font-family:inherit;font-size:8px;font-weight:750;white-space:nowrap}.menu-category-available-link{cursor:pointer}.menu-category-available-link:hover{color:var(--brand-strong);background:var(--surface)}.menu-category-available-link:focus-visible{outline:3px solid color-mix(in srgb,var(--brand) 24%,transparent);outline-offset:1px}.menu-category-search{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:end;gap:8px;padding:10px 12px 0;background:#f4fbf8}.menu-category-search>label{display:grid;min-width:0;gap:5px}.menu-category-search>label>span:first-child{color:var(--text-dim);font-size:10px;font-weight:750}.menu-category-search>small{padding-bottom:13px;color:var(--text-dim);font-size:8px;font-weight:750;white-space:nowrap}.menu-category-search-control{position:relative;display:block;min-width:0}.menu-category-search-control svg{position:absolute;top:50%;left:11px;z-index:1;width:18px;height:18px;fill:none;stroke:var(--text-dim);stroke-linecap:round;stroke-linejoin:round;stroke-width:1.8;pointer-events:none;transform:translateY(-50%)}.menu-category-search-control input{height:42px;padding-left:37px;font-size:11px}.menu-live-product-results{display:grid;max-height:260px;overflow-y:auto;border-top:1px solid var(--border);border-bottom:1px solid var(--border);background:var(--surface);scrollbar-width:thin}.menu-live-product-result{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:10px;width:100%;min-height:54px;padding:8px 12px;border:0;border-bottom:1px solid var(--border);color:var(--text);background:var(--surface);font:inherit;text-align:left;cursor:pointer}.menu-live-product-result:last-child{border-bottom:0}.menu-live-product-result:hover{background:var(--accent-soft)}.menu-live-product-result:focus-visible{z-index:1;outline:3px solid var(--accent-ring);outline-offset:-3px}.menu-live-product-result>span{display:grid;min-width:0;gap:3px}.menu-live-product-result strong{overflow:hidden;font-size:11px;font-weight:800;text-overflow:ellipsis;white-space:nowrap}.menu-live-product-result small{overflow:hidden;color:var(--text-dim);font-size:8px;font-weight:650;text-overflow:ellipsis;white-space:nowrap}.menu-live-product-result b{padding:6px 8px;border-radius:999px;color:var(--accent-dark);background:var(--accent-soft);font-size:9px;font-weight:800;white-space:nowrap}.menu-live-product-empty,.menu-live-search-hint{display:grid;gap:3px;padding:10px 12px;color:var(--text-dim);background:var(--surface);font-size:9px;font-weight:650}.menu-live-product-empty strong{color:var(--text);font-size:10px;font-weight:800}.menu-live-search-hint{border-bottom:1px solid var(--border)}@container (max-width: 430px){.menu-quantity-card-head{grid-template-columns:minmax(0,1fr) auto}.menu-quantity-card-head>small{grid-row:2;grid-column:1 / -1;text-align:left}.menu-quantity-inputs{grid-template-columns:repeat(2,minmax(0,1fr))}.menu-category-search{grid-template-columns:1fr}.menu-category-search>small{padding-bottom:0}}@media(min-width:761px)and (max-width:1440px){.content-menu-planning .menu-planning-page{font-size:13px}.content-menu-planning .menu-planning-page :where(span,label,button,input,select,textarea){font-size:12px}.content-menu-planning .menu-planning-page :where(small,em,i){font-size:10.5px}.content-menu-planning .menu-planning-page :where(strong,b,time){font-size:13px}.content-menu-planning .menu-planning-page :where(input,select,textarea){min-height:42px}.content-menu-planning .menu-category-sidebar-head h4,.content-menu-planning .menu-summary-board-corner h4,.content-menu-planning .menu-summary-day-head>strong,.content-menu-planning .menu-active-category-head h4{font-size:17px}.content-menu-planning .menu-category-planned-summary,.content-menu-planning .menu-category-item-title,.content-menu-planning .menu-live-product-result>span{line-height:1.45}}.direct-expense-card{border:1px solid #b9ddcf;border-radius:var(--radius);background:#f7fbf9;box-shadow:var(--shadow-sm);overflow:hidden}.direct-expense-toggle{display:grid;grid-template-columns:minmax(0,1fr) auto 28px;align-items:center;gap:16px;min-height:86px;padding:14px;cursor:pointer;list-style:none;transition:background-color .18s ease}.direct-expense-toggle::-webkit-details-marker{display:none}.direct-expense-toggle:hover{background:#edf8f3}.direct-expense-toggle:focus-visible{outline:3px solid var(--accent-ring);outline-offset:-3px}.direct-expense-card[open]>.direct-expense-toggle{border-bottom:1px solid #d5e9e1}.direct-expense-toggle h3,.direct-expense-toggle p{margin:0}.direct-expense-toggle h3{margin-top:2px;font-size:18px}.direct-expense-toggle>div>p:last-child{max-width:760px;margin-top:4px;color:var(--text-dim);font-size:11px;line-height:1.5}.direct-expense-toggle>span{display:grid;flex:0 0 auto;min-width:170px;gap:3px;padding:10px 12px;border:1px solid #9ed6c1;border-radius:var(--radius-sm);background:var(--accent-soft);text-align:right}.direct-expense-toggle>span small,.direct-expense-summary small{color:var(--text-dim);font-size:9px;font-weight:750}.direct-expense-toggle>span strong{color:var(--accent-dark);font-size:20px;font-variant-numeric:tabular-nums}.direct-expense-chevron{width:24px;height:24px;fill:none;stroke:var(--accent-dark);stroke-linecap:round;stroke-linejoin:round;stroke-width:1.8;transition:transform .18s ease}.direct-expense-card[open] .direct-expense-chevron{transform:rotate(180deg)}.direct-expense-content{display:grid;gap:12px;padding:14px}.direct-expense-description{margin:0;color:var(--text-dim);font-size:11px;line-height:1.5}.direct-expense-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}.direct-expense-summary>span{display:grid;gap:3px;min-width:0;padding:9px 10px;border:1px solid var(--border);border-radius:9px;background:var(--surface)}.menu-category-item-fact-link{width:100%;color:inherit;font:inherit;text-align:left;cursor:pointer;transition:border-color .16s ease,background .16s ease,box-shadow .16s ease}.menu-category-item-fact-link:hover{border-color:var(--accent);background:var(--accent-soft)}.menu-category-item-fact-link:focus-visible{outline:2px solid var(--accent);outline-offset:2px}.menu-category-item-fact-link em{color:var(--accent);font-size:8px;font-style:normal;font-weight:700}@container (min-width: 560px){.menu-category-item-details{gap:7px;padding:0 8px 8px}.menu-category-item-facts{grid-template-columns:repeat(3,minmax(0,1fr));gap:5px;padding-top:7px}.menu-category-item-facts>span,.menu-category-item-facts>button{gap:2px;padding:6px 8px;border-radius:8px}.menu-category-item-inputs{gap:5px}.menu-category-item-inputs label{gap:2px}.menu-category-item-inputs input{height:38px;min-height:38px;padding-inline:8px}}@container (min-width: 920px){.menu-category-item-facts{grid-template-columns:repeat(5,minmax(0,1fr))}}.direct-expense-summary strong{font-size:14px;font-variant-numeric:tabular-nums}.direct-expense-form{display:grid;grid-template-columns:minmax(130px,.8fr) minmax(132px,.7fr) minmax(165px,.9fr) minmax(240px,1.5fr) minmax(118px,.6fr) minmax(180px,1fr) auto;align-items:end;gap:8px;padding:11px;border:1px solid var(--border);border-radius:var(--radius-sm);background:var(--surface)}.direct-expense-form label{display:grid;gap:5px;min-width:0}.direct-expense-form label>span{color:var(--text-dim);font-size:9px;font-weight:800}.direct-expense-form input,.direct-expense-form select,.direct-expense-form .btn{width:100%;min-height:44px}.direct-expense-form input,.direct-expense-form select{min-width:0;font-size:12px}.direct-expense-form .btn{white-space:nowrap}.direct-expense-helper{color:#9a4d16;font-size:9px;line-height:1.35}.direct-expense-feedback{margin:0;padding:9px 11px;border-radius:8px;font-size:10px;font-weight:750}.direct-expense-feedback.success{border:1px solid #9ed6c1;color:var(--accent-dark);background:var(--accent-soft)}.direct-expense-feedback.error{border:1px solid #efb8b8;color:#a02727;background:#fff2f2}.direct-expense-list-wrap{overflow-x:auto;border:1px solid var(--border);border-radius:var(--radius-sm);background:var(--surface)}.direct-expense-table{width:100%;min-width:820px;border-collapse:collapse;font-size:10px}.direct-expense-table th,.direct-expense-table td{padding:8px 10px;border-bottom:1px solid var(--border);text-align:left;vertical-align:middle}.direct-expense-table th{color:var(--text-dim);background:var(--surface-2);font-size:9px;font-weight:800}.direct-expense-table tbody tr:last-child td{border-bottom:0}.direct-expense-table tbody tr:hover{background:#f6fbf9}.direct-expense-table td strong,.direct-expense-table td small{display:block}.direct-expense-table td small{margin-top:2px;color:var(--text-dim);font-size:9px}.direct-expense-table .num{text-align:right;font-variant-numeric:tabular-nums}.direct-expense-delete{display:grid;width:44px;height:44px;place-items:center;padding:0;border:1px solid transparent;border-radius:9px;color:#a02727;background:transparent;cursor:pointer;transition:border-color .16s ease,background-color .16s ease}.direct-expense-delete:hover:not(:disabled){border-color:#efb8b8;background:#fff2f2}.direct-expense-delete:focus-visible,.direct-expense-form input:focus-visible,.direct-expense-form select:focus-visible,.direct-expense-form .btn:focus-visible{outline:3px solid var(--accent-ring);outline-offset:2px}.direct-expense-delete:disabled{cursor:wait;opacity:.5}.direct-expense-delete svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:1.8}.direct-expense-delete-loading{width:16px;height:16px;border:2px solid #efb8b8;border-top-color:#a02727;border-radius:50%;animation:direct-expense-spin .7s linear infinite}.direct-expense-loading,.direct-expense-empty{padding:24px;color:var(--text-dim);font-size:11px;text-align:center}.direct-expense-day-breakdown{margin-top:10px;overflow:hidden;border:1px solid #b9ddcf;border-radius:9px;background:var(--surface)}.direct-expense-day-head,.direct-expense-day-breakdown>div:not(.direct-expense-day-head){display:flex;align-items:center;justify-content:space-between;gap:12px;padding:9px 11px;border-bottom:1px solid var(--border)}.direct-expense-day-head{color:var(--accent-dark);background:var(--accent-soft)}.direct-expense-day-breakdown>div:last-child{border-bottom:0}.direct-expense-day-breakdown span strong,.direct-expense-day-breakdown span small{display:block}.direct-expense-day-breakdown span small{margin-top:2px;color:var(--text-dim);font-size:9px}.direct-expense-day-breakdown>div>strong:last-child,.direct-expense-day-head>span{flex:0 0 auto;font-variant-numeric:tabular-nums}@keyframes direct-expense-spin{to{transform:rotate(360deg)}}@media(max-width:1280px){.direct-expense-form{grid-template-columns:repeat(3,minmax(0,1fr))}.direct-expense-employee-field,.direct-expense-note-field{grid-column:span 2}}@media(max-width:700px){.direct-expense-toggle{grid-template-columns:minmax(0,1fr) 24px}.direct-expense-toggle>span{grid-column:1 / -1;grid-row:2;width:100%;text-align:left}.direct-expense-chevron{grid-column:2;grid-row:1}.direct-expense-summary,.direct-expense-form{grid-template-columns:repeat(2,minmax(0,1fr))}.direct-expense-employee-field,.direct-expense-note-field,.direct-expense-form .btn{grid-column:1 / -1}}@media(max-width:460px){.direct-expense-toggle,.direct-expense-content{padding:11px}.direct-expense-summary,.direct-expense-form{grid-template-columns:1fr}.direct-expense-employee-field,.direct-expense-note-field,.direct-expense-form .btn{grid-column:auto}}@media(prefers-reduced-motion:reduce){.direct-expense-toggle,.direct-expense-chevron,.direct-expense-delete,.direct-expense-delete-loading{transition:none;animation:none}}.workspace-browser{position:sticky;z-index:9;top:0;display:flex;min-width:0;min-height:60px;align-items:center;gap:10px;padding:7px clamp(10px,1.6vw,24px);border-bottom:1px solid var(--border);background:#eef6f2f5;box-shadow:0 5px 14px #1f3f350f;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px)}.permission-preview-banner{position:sticky;z-index:11;top:0;display:flex;width:100%;height:56px;min-height:56px;align-items:center;justify-content:space-between;gap:16px;padding:7px clamp(12px,2vw,24px);border-bottom:1px solid #e0b84e;color:#4b3600;background:#fff6cf;box-shadow:0 5px 14px #543b001a}.permission-preview-identity,.permission-preview-actions{display:flex;min-width:0;align-items:center}.permission-preview-identity{flex:1 1 auto;gap:10px}.permission-preview-icon{display:grid;width:34px;height:34px;flex:0 0 34px;place-items:center;border:1px solid #d5a82e;border-radius:50%;color:#624600;background:#ffffff9e;font-size:22px;font-weight:800}.permission-preview-identity>div{min-width:0}.permission-preview-identity strong,.permission-preview-identity span,.permission-preview-notice{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.permission-preview-identity strong,.permission-preview-identity>div>span{display:block}.permission-preview-identity strong{font-size:13px}.permission-preview-identity>div>span{margin-top:1px;color:#725713;font-size:11px}.permission-preview-actions{flex:0 1 auto;justify-content:flex-end;gap:10px}.permission-preview-notice{max-width:min(34vw,430px);color:#9a3412;font-size:11px;font-weight:750}.permission-preview-banner .btn{min-height:36px;flex:0 0 auto;border-color:#c99d2d;color:#4b3600;background:#fff}.permission-preview-banner .btn:hover{border-color:#9b7311;background:#fffcf0}.is-permission-preview .workspace-browser{top:56px}@media(max-width:860px){.permission-preview-identity>div>span,.permission-preview-notice{display:none}}@media(max-width:520px){.permission-preview-banner{gap:8px;padding-inline:10px}.permission-preview-icon{width:30px;height:30px;flex-basis:30px;font-size:19px}.permission-preview-identity strong{font-size:11px}.permission-preview-banner .btn{min-height:38px;padding-inline:10px;font-size:11px}}.workspace-history-controls,.workspace-tab-strip,.workspace-tab,.workspace-tab-main,.workspace-browser-actions{display:flex;align-items:center}.workspace-history-controls{flex:0 0 auto;gap:4px}.workspace-history-controls button,.workspace-new-tab,.workspace-tab-close,.block-card-new-workspace{display:grid;min-width:44px;min-height:44px;place-items:center;padding:0;border:0;color:var(--text-dim);background:transparent;cursor:pointer;transition:color .18s ease,background-color .18s ease,box-shadow .18s ease}.workspace-history-controls button{border-radius:10px}.workspace-history-controls button:hover:not(:disabled),.workspace-new-tab:hover,.workspace-tab-close:hover,.block-card-new-workspace:hover{color:var(--accent-dark);background:#ffffffd6}.workspace-history-controls button:disabled{cursor:default;opacity:.34}.workspace-history-controls svg,.workspace-new-tab svg,.workspace-tab-close svg,.block-card-new-workspace svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:1.9}.workspace-tab-strip{min-width:0;flex:1 1 auto;gap:5px;overflow-x:auto;overscroll-behavior-x:contain;scrollbar-width:thin}.workspace-browser-actions{min-width:0;flex:0 0 auto;gap:8px;padding-left:10px;border-left:1px solid rgba(112,161,144,.3)}.workspace-browser-actions .global-undo-button{width:44px;height:44px;flex-basis:44px}.global-find-trigger,.global-find-navigation button,.global-find-close{display:grid;place-items:center;border:0;color:var(--text-dim);background:transparent;cursor:pointer}.global-find-trigger{width:44px;height:44px;flex:0 0 44px;border-radius:10px}.global-find-trigger:hover,.global-find-navigation button:hover:not(:disabled),.global-find-close:hover{color:var(--accent-dark);background:#ffffffd6}.global-find-trigger:focus-visible,.global-find-navigation button:focus-visible,.global-find-close:focus-visible,.global-find-bar input:focus-visible{outline:3px solid var(--accent-ring);outline-offset:1px}.global-find-trigger svg,.global-find-bar>svg,.global-find-navigation svg,.global-find-close svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:1.9}.global-find-bar{position:fixed;z-index:1000;top:70px;right:clamp(10px,1.6vw,24px);display:flex;width:min(620px,calc(100vw - 20px));min-height:52px;align-items:center;gap:8px;padding:6px 8px 6px 14px;border:1px solid #b9ddcf;border-radius:14px;color:var(--text);background:#fffffffa;box-shadow:0 18px 44px #1f3f3533;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px)}.is-permission-preview~.global-find-bar,.is-permission-preview .global-find-bar{top:126px}.global-find-bar>svg{flex:0 0 auto;color:var(--accent-dark)}.global-find-bar input{min-width:120px;min-height:40px;flex:1 1 auto;padding:7px 9px;border:0;border-radius:9px;color:var(--text);background:transparent;font:inherit}.global-find-bar input::-webkit-search-cancel-button{display:none}.global-find-count{min-width:74px;flex:0 0 auto;color:var(--text-dim);font-size:11px;font-weight:700;text-align:center;white-space:nowrap}.global-find-count.is-empty{color:#a33c32}.global-find-navigation{display:flex;align-items:center;gap:2px}.global-find-navigation button,.global-find-close{width:38px;height:38px;border-radius:9px}.global-find-navigation button:disabled{cursor:default;opacity:.32}.global-find-bar kbd{padding:4px 7px;border:1px solid var(--border);border-bottom-width:2px;border-radius:6px;color:var(--text-dim);background:#f5f8f7;font:700 10px/1.2 inherit;white-space:nowrap}::highlight(fmg-global-find-results){color:inherit;background:#ffe68a}::highlight(fmg-global-find-current){color:#17201d;background:#ffad33;text-decoration:underline 2px #9a5900}@media(max-width:640px){.global-find-bar{top:66px;right:8px;width:calc(100vw - 16px);gap:4px;padding-left:10px}.global-find-bar kbd,.global-find-count:not(.is-empty){display:none}.global-find-count.is-empty{min-width:auto;font-size:10px}}@media(prefers-reduced-motion:reduce){.global-find-trigger,.global-find-navigation button,.global-find-close{transition:none}}.workspace-browser-actions .btn{min-height:44px}.workspace-browser-actions .user-email{max-width:220px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.workspace-signout{flex:0 0 auto}.workspace-tab{min-width:156px;max-width:270px;flex:1 1 210px;border:1px solid transparent;border-radius:12px;color:var(--text-dim);background:#d9eae2b8;transition:color .18s ease,background-color .18s ease,border-color .18s ease,box-shadow .18s ease}.workspace-tab:hover{color:var(--text);border-color:#70a19047;background:#ffffffad}.workspace-tab.is-active{color:var(--text);border-color:#b9ddcf;background:var(--surface);box-shadow:0 4px 12px #1f3f351a}.workspace-tab-main{min-width:0;min-height:42px;flex:1 1 auto;gap:9px;padding:0 4px 0 12px;border:0;color:inherit;background:transparent;cursor:pointer;font:inherit;font-size:11px;font-weight:760;text-align:left}.workspace-tab-main>span:last-child{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.workspace-tab-dot{width:8px;height:8px;flex:0 0 8px;border-radius:50%;background:#8ca69d;box-shadow:0 0 0 3px #8ca69d29}.workspace-tab.is-active .workspace-tab-dot{background:var(--accent);box-shadow:0 0 0 3px var(--accent-ring)}.workspace-tab-close{min-width:36px;min-height:36px;flex:0 0 36px;margin-right:3px;border-radius:9px}.workspace-tab-close svg{width:15px;height:15px}.workspace-new-tab{flex:0 0 44px;border-radius:11px}.workspace-view[hidden]{display:none!important}.event-workspace-tabs{display:flex;min-width:0;align-items:center;gap:4px;margin-bottom:20px;padding:6px;overflow-x:auto;border:1px solid var(--border);border-radius:14px;background:#ffffffbd;box-shadow:var(--shadow-sm);scrollbar-width:thin}.event-workspace-tabs .tab{min-height:44px;flex:0 0 auto}.workspace-route-unavailable{max-width:620px;margin:36px auto;padding:28px;border:1px solid var(--border);border-radius:18px;background:var(--surface);box-shadow:var(--shadow-sm);text-align:center}.workspace-route-unavailable p{margin:0 0 20px;color:var(--text-dim)}.block-card-shell{position:relative;display:flex;min-width:0}.block-card-shell>.block-card{width:100%;min-width:0;height:100%;padding-right:66px}.block-card-new-workspace{position:absolute;z-index:2;top:14px;right:14px;min-width:40px;min-height:40px;border:1px solid var(--border);border-radius:11px;background:#ffffffe0;box-shadow:var(--shadow-sm)}.workspace-history-controls button:focus-visible,.workspace-new-tab:focus-visible,.workspace-tab-main:focus-visible,.workspace-tab-close:focus-visible,.block-card-new-workspace:focus-visible{outline:3px solid var(--accent-ring);outline-offset:1px}@media(max-width:760px){.workspace-browser{gap:6px;padding-inline:8px}.workspace-history-controls{gap:1px}.workspace-history-controls button{min-width:40px;min-height:44px}.workspace-tab{min-width:138px;max-width:210px;flex-basis:170px}.workspace-tab-main{font-size:10px}.workspace-browser-actions{gap:4px;padding-left:5px}.workspace-browser-actions .btn{padding-inline:10px}}@media(max-width:1120px){.workspace-browser-actions .user-email{display:none}}@media(max-width:640px){.workspace-browser .btn-excel span{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}.event-workspace-tabs{margin-bottom:14px;padding:4px}.workspace-route-unavailable{margin-block:20px;padding:22px 16px}}@media(max-width:470px){.workspace-history-controls button:last-child{display:none}.workspace-tab{min-width:128px;flex-basis:148px}}@media(prefers-reduced-motion:reduce){.workspace-history-controls button,.workspace-new-tab,.workspace-tab,.workspace-tab-close,.block-card-new-workspace{transition:none}}.finance-type-tabs .finance-bank-tab{margin-left:4px;border-left:1px solid var(--border)}.finance-bank-workspace{display:grid;min-width:0;gap:14px}.finance-bank-toolbar{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:18px 20px;border:1px solid #d8e5ef;border-radius:18px;background:linear-gradient(135deg,#fff,#f4f8fc);box-shadow:var(--shadow-sm)}.finance-bank-toolbar>div:first-child{min-width:0}.finance-bank-toolbar h3{margin:5px 0 3px;font-size:18px}.finance-bank-toolbar p{max-width:760px;margin:0;color:var(--text-dim);font-size:12px;line-height:1.5}.finance-bank-sync-actions{display:flex;flex:0 0 auto;flex-wrap:wrap;justify-content:flex-end;gap:8px}.finance-bank-sync-actions .btn{min-height:44px}.finance-bank-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.finance-bank-summary article{display:grid;min-width:0;gap:4px;padding:14px 16px;border:1px solid var(--border);border-radius:15px;background:var(--surface);box-shadow:var(--shadow-sm)}.finance-bank-summary article>span{color:var(--text-dim);font-size:10px;font-weight:800;letter-spacing:.035em;text-transform:uppercase}.finance-bank-summary article>strong{overflow:hidden;font-size:clamp(18px,2vw,23px);font-variant-numeric:tabular-nums;text-overflow:ellipsis;white-space:nowrap}.finance-bank-summary article>small{color:var(--text-dim);font-size:10px}.finance-bank-summary article.is-pending{border-color:#e8d3a3;background:#fffaf0}.finance-bank-summary article.is-pending>strong{color:#925c09}.finance-bank-summary article.is-tbc{border-top:3px solid #1463aa}.finance-bank-summary article.is-bog{border-top:3px solid #e66a23}.finance-bank-filters{display:grid;grid-template-columns:minmax(280px,1.5fr) repeat(4,minmax(145px,.7fr));gap:9px;padding:12px;border:1px solid var(--border);border-radius:16px;background:var(--surface);box-shadow:var(--shadow-sm)}.finance-bank-filters label,.finance-bank-assignment-form>label{display:grid;min-width:0;gap:5px}.finance-bank-filters label>span,.finance-bank-assignment-form>label>span{color:var(--text-dim);font-size:10px;font-weight:800}.finance-bank-filters input,.finance-bank-filters select,.finance-bank-assignment-form input,.finance-bank-assignment-form textarea{width:100%;min-height:44px;border:1px solid var(--border-strong);border-radius:10px;background:var(--surface);font:inherit;font-size:12px}.finance-bank-filters input,.finance-bank-filters select,.finance-bank-assignment-form textarea{padding:9px 10px}.finance-bank-search>div,.finance-bank-debtor-search>div{position:relative}.finance-bank-search svg,.finance-bank-debtor-search svg{position:absolute;top:50%;left:12px;width:17px;height:17px;fill:none;stroke:var(--text-dim);stroke-linecap:round;stroke-linejoin:round;stroke-width:1.8;transform:translateY(-50%)}.finance-bank-search input,.finance-bank-debtor-search input{padding:9px 10px 9px 38px}.finance-bank-table{min-width:1320px}.finance-bank-table-card>.finance-table-head>strong{font-size:12px;font-variant-numeric:tabular-nums}.finance-bank-row{cursor:pointer}.finance-bank-row:focus-visible{position:relative;z-index:1;outline:3px solid rgba(12,129,94,.28);outline-offset:-3px;background:#f1faf6}.finance-bank-table td:nth-child(1){min-width:150px}.finance-bank-table td:nth-child(2),.finance-bank-table td:nth-child(5){min-width:190px;max-width:240px}.finance-bank-table td:nth-child(3){min-width:220px;max-width:300px}.finance-bank-badge,.finance-bank-status{display:inline-flex;align-items:center;gap:6px;border-radius:999px;font-size:9px;font-weight:850;letter-spacing:.025em}.finance-bank-badge{min-height:22px;margin-bottom:4px;padding:3px 7px;border:1px solid #cbd9e6;color:#174c7d;background:#eef6fd}.finance-bank-badge.is-bog{border-color:#efd1bd;color:#a94712;background:#fff4ec}.finance-bank-status{min-height:25px;padding:4px 8px;border:1px solid #d8e2de;color:#52625b;background:#f5f8f7}.finance-bank-status i{width:6px;height:6px;border-radius:50%;background:currentColor}.finance-bank-status.is-suggested{border-color:#e8d3a3;color:#8a590e;background:#fff8e8}.finance-bank-status.is-unassigned{border-color:#efc8c5;color:#a32626;background:#fff4f3}.finance-bank-status.is-assigned{border-color:#bcdccb;color:#08724f;background:#effaf5}.finance-bank-status.is-assigned_unallocated{border-color:#c9d7e7;color:#315b85;background:#f1f6fb}.finance-bank-assign{min-width:96px;min-height:40px;padding-inline:12px}.finance-bank-assignment-modal{width:min(880px,calc(100vw - 24px));max-height:calc(100dvh - 32px);overflow:hidden}.finance-bank-assignment-form{display:grid;max-height:calc(100dvh - 120px);gap:13px;padding:16px;overflow-y:auto}.finance-bank-receipt-preview{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,.8fr);gap:10px}.finance-bank-receipt-preview>div{display:grid;min-width:0;gap:3px;padding:12px;border:1px solid var(--border);border-radius:12px;background:#f8faf9}.finance-bank-receipt-preview span{color:var(--text-dim);font-size:9px;font-weight:800;text-transform:uppercase}.finance-bank-receipt-preview strong,.finance-bank-receipt-preview small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.finance-bank-receipt-preview strong{font-size:13px}.finance-bank-receipt-preview small{color:var(--text-dim);font-size:10px}.finance-bank-suggestion{display:grid;gap:3px;padding:11px 13px;border:1px solid #d8c489;border-radius:11px;color:#714909;background:#fff9e9}.finance-bank-suggestion strong{font-size:12px}.finance-bank-suggestion span{font-size:10px}.finance-bank-debtor-list{display:grid;max-height:300px;gap:6px;padding:3px;overflow-y:auto}.finance-bank-debtor-list>button{display:flex;min-height:54px;align-items:center;justify-content:space-between;gap:16px;padding:9px 11px;border:1px solid var(--border);border-radius:11px;color:inherit;background:var(--surface);cursor:pointer;font:inherit;text-align:left;transition:border-color var(--speed) ease,background-color var(--speed) ease,box-shadow var(--speed) ease}.finance-bank-debtor-list>button:hover,.finance-bank-debtor-list>button.is-selected{border-color:#0478576b;background:#f1faf6;box-shadow:inset 0 0 0 1px #04785714}.finance-bank-debtor-list>button>span{display:grid;min-width:0;gap:2px}.finance-bank-debtor-list>button>span:last-child{flex:0 0 auto;text-align:right}.finance-bank-debtor-list strong,.finance-bank-debtor-list small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.finance-bank-debtor-list strong{font-size:11px}.finance-bank-debtor-list small,.finance-bank-debtor-list>p{color:var(--text-dim);font-size:9px}.finance-bank-debtor-list>p{margin:12px;text-align:center}@media(max-width:1180px){.finance-bank-toolbar{align-items:stretch;flex-direction:column}.finance-bank-sync-actions{justify-content:flex-start}.finance-bank-filters{grid-template-columns:minmax(240px,1.4fr) repeat(2,minmax(150px,1fr))}}@media(max-width:760px){.finance-type-tabs .finance-bank-tab{grid-column:1 / -1;margin-left:0;border-left:0}.finance-bank-toolbar{gap:14px;padding:15px}.finance-bank-sync-actions{display:grid;grid-template-columns:1fr 1fr}.finance-bank-sync-actions .btn-primary{grid-column:1 / -1}.finance-bank-summary,.finance-bank-filters{grid-template-columns:1fr 1fr}.finance-bank-search{grid-column:1 / -1}.finance-bank-table{min-width:0}.finance-bank-table thead tr,.finance-bank-table thead th{display:block;width:1px;min-width:0;height:1px;padding:0;overflow:hidden;border:0}.finance-bank-table tbody tr{grid-template-columns:1fr 1fr}.finance-bank-table td:nth-child(n){min-width:0;max-width:none}.finance-bank-table td:nth-child(2),.finance-bank-table td:nth-child(3),.finance-bank-table td:nth-child(5),.finance-bank-table td:nth-child(6){grid-column:1 / -1}.finance-bank-receipt-preview{grid-template-columns:1fr}}@media(max-width:500px){.finance-bank-summary,.finance-bank-filters,.finance-bank-sync-actions,.finance-bank-table tbody tr{grid-template-columns:1fr}.finance-bank-sync-actions .btn-primary,.finance-bank-search,.finance-bank-table td:nth-child(n){grid-column:auto}.finance-bank-debtor-list>button{align-items:flex-start;flex-direction:column;gap:6px}.finance-bank-debtor-list>button>span:last-child{text-align:left}}.audit-page{display:grid;min-width:0;gap:16px;--audit-info: #315e91;--audit-info-soft: #f0f6fd;--audit-purple: #6f3f94;--audit-purple-soft: #f8f2fc}.audit-hero{display:flex;align-items:flex-end;justify-content:space-between;gap:24px;padding:24px;border:1px solid var(--border);border-radius:22px;background:radial-gradient(circle at 92% 12%,rgba(4,120,87,.12),transparent 34%),linear-gradient(135deg,var(--surface) 0%,#f7fbf9 100%);box-shadow:var(--shadow-sm)}.audit-hero h2{margin:8px 0 6px;font-size:clamp(24px,3vw,34px);line-height:1.15}.audit-hero>div>p:last-child{max-width:760px;margin:0;color:var(--text-dim);line-height:1.6}.audit-eyebrow{display:inline-flex;align-items:center;gap:8px;margin:0;color:var(--accent-dark);font-size:12px;font-weight:800;letter-spacing:.04em;text-transform:uppercase}.audit-eyebrow svg,.audit-empty svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:1.8}.audit-readonly-badge,.audit-page-count{flex:0 0 auto;padding:8px 12px;border:1px solid #b9ddd0;border-radius:999px;color:var(--accent-dark);background:#ffffffdb;font-size:12px;font-weight:800;white-space:nowrap}.audit-filters{display:grid;gap:14px;padding:16px;border:1px solid var(--border);border-radius:18px;background:var(--surface);box-shadow:var(--shadow-sm)}.audit-filter-grid{display:grid;grid-template-columns:repeat(2,minmax(145px,.68fr)) minmax(150px,.72fr) minmax(170px,1fr) minmax(190px,1fr) minmax(230px,1.3fr);gap:10px}.audit-filter-grid label{display:grid;min-width:0;gap:6px}.audit-filter-grid label>span{color:var(--text-dim);font-size:11px;font-weight:750}.audit-filter-grid input,.audit-filter-grid select{width:100%;min-width:0;min-height:44px;border:1px solid var(--border-strong);border-radius:11px;padding:0 11px;color:var(--text);background:var(--surface);font:inherit;font-size:13px;transition:border-color var(--speed) ease,box-shadow var(--speed) ease}.audit-filter-grid input:focus,.audit-filter-grid select:focus{border-color:var(--accent);outline:0;box-shadow:0 0 0 3px var(--accent-ring)}.audit-filter-grid input::placeholder{color:#7b8580}.audit-filter-actions{display:flex;justify-content:flex-end;gap:8px}.audit-filter-actions .btn{min-height:44px}.audit-filter-error{margin:0;padding:10px 12px;border:1px solid rgba(185,28,28,.18);border-radius:10px;color:var(--danger);background:var(--danger-bg);font-size:13px}.audit-panel{min-width:0;overflow:hidden;border:1px solid var(--border);border-radius:20px;background:var(--surface);box-shadow:var(--shadow-sm)}.audit-panel-head{display:flex;min-height:72px;align-items:center;justify-content:space-between;gap:16px;padding:14px 18px;border-bottom:1px solid var(--border);background:#fbfcfb}.audit-panel-head h3,.audit-panel-head p{margin:0}.audit-panel-head h3{font-size:17px}.audit-panel-head p{margin-top:3px;color:var(--text-dim);font-size:12px}.audit-page-count{border-color:var(--border);color:var(--text-dim);background:var(--surface)}.audit-state{display:grid;min-height:300px;place-items:center;align-content:center;gap:9px;padding:32px;color:var(--text-dim);text-align:center}.audit-state>strong{color:var(--text);font-size:17px}.audit-state>span:not(.audit-spinner){max-width:620px}.audit-state .btn{margin-top:8px}.audit-empty svg{width:42px;height:42px;margin-bottom:4px;color:var(--accent)}.audit-error{color:var(--danger);background:linear-gradient(180deg,var(--surface),#fffafa)}.audit-error>strong{color:var(--danger)}.audit-spinner{width:28px;height:28px;border:3px solid #cce8de;border-top-color:var(--accent);border-radius:50%;animation:audit-spin .75s linear infinite}@keyframes audit-spin{to{transform:rotate(360deg)}}.audit-table-wrap{min-width:0;overflow-x:auto}.audit-table{width:100%;min-width:1080px;border-collapse:separate;border-spacing:0;background:var(--surface);font-size:12px}.audit-table th{padding:10px 12px;border-bottom:1px solid var(--border-strong);color:var(--text-dim);background:#f7f9f8;font-size:10px;font-weight:800;letter-spacing:.025em;text-align:left;text-transform:uppercase;white-space:nowrap}.audit-table th:last-child{width:120px}.audit-table td{min-width:0;padding:12px;border-bottom:1px solid #ecefed;vertical-align:middle}.audit-event-row{transition:background-color var(--speed) ease}.audit-event-row:hover{background:#f8fcfa}.audit-event-row td:first-child{width:176px;font-variant-numeric:tabular-nums}.audit-event-row td:nth-child(2){width:122px}.audit-event-row td:nth-child(3),.audit-event-row td:nth-child(4){width:210px}.audit-event-row td:nth-child(5){max-width:280px}.audit-event-row td>strong,.audit-event-row td>time,.audit-event-row td>small{display:block}.audit-event-row td>strong,.audit-event-row td>time{overflow-wrap:anywhere;color:var(--text);font-size:12px;font-weight:750}.audit-event-row td>small{max-width:260px;margin-top:3px;overflow:hidden;color:var(--text-dim);font-size:10px;line-height:1.45;text-overflow:ellipsis;white-space:nowrap}.audit-operation{display:inline-flex;min-height:25px;align-items:center;padding:3px 8px;border:1px solid var(--border);border-radius:999px;color:var(--text-dim);background:var(--surface-2);font-size:10px;font-weight:850;white-space:nowrap}.audit-operation-insert{border-color:#b9ddd0;color:var(--accent-dark);background:var(--accent-soft)}.audit-operation-update{border-color:#c4d6ec;color:var(--audit-info);background:var(--audit-info-soft)}.audit-operation-delete{border-color:#efc4c1;color:var(--danger);background:var(--danger-bg)}.audit-row-key{display:block;max-width:270px;overflow:hidden;color:var(--audit-purple);font-size:10px;text-overflow:ellipsis;white-space:nowrap}.audit-action-cell{text-align:right}.audit-detail-toggle{display:inline-flex;min-width:108px;min-height:44px;align-items:center;justify-content:center;gap:8px;padding-inline:11px;white-space:nowrap}.audit-detail-toggle>span{width:16px;font-size:17px;font-weight:400;line-height:1}.audit-detail-toggle:disabled{cursor:not-allowed;opacity:.52}.audit-detail-row>td{padding:0;border-bottom:1px solid var(--border-strong);background:#f7faf8}.audit-detail{padding:18px}.audit-detail-state{display:flex;min-height:104px;align-items:center;justify-content:center;gap:12px;color:var(--text-dim)}.audit-detail-state .audit-spinner{width:22px;height:22px}.audit-detail-error{flex-wrap:wrap;color:var(--danger)}.audit-detail-error>div{display:grid;gap:2px}.audit-detail-error strong,.audit-detail-error span{display:block}.audit-detail-error span{font-size:11px}.audit-detail-content{display:grid;gap:14px}.audit-detail-head{display:flex;align-items:center;justify-content:space-between;gap:16px}.audit-detail-head span{display:block;margin-bottom:3px;color:var(--text-dim);font-size:10px;font-weight:750}.audit-detail-head h3{margin:0;font-size:16px}.audit-detail-head>code{color:var(--text-dim);font-size:11px}.audit-changed-columns{display:grid;gap:7px;padding:10px 12px;border:1px solid #c4d6ec;border-radius:11px;color:var(--audit-info);background:var(--audit-info-soft)}.audit-changed-columns>strong{font-size:10px}.audit-changed-columns>div{display:flex;flex-wrap:wrap;gap:6px}.audit-changed-columns code{padding:2px 6px;border-radius:6px;color:inherit;background:#ffffffbf;font-size:10px}.audit-technical-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin:0}.audit-technical-grid>div{min-width:0;padding:9px 10px;border:1px solid var(--border);border-radius:10px;background:var(--surface)}.audit-technical-grid dt{margin-bottom:3px;color:var(--text-dim);font-size:9px;font-weight:800}.audit-technical-grid dd{margin:0;overflow-wrap:anywhere;color:var(--text);font-family:ui-monospace,SFMono-Regular,Consolas,monospace;font-size:10px}.audit-json-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.audit-json-grid section{min-width:0;overflow:hidden;border:1px solid var(--border);border-radius:12px;background:var(--surface)}.audit-json-grid h4{margin:0;padding:9px 12px;border-bottom:1px solid var(--border);color:var(--text-dim);background:var(--surface-2);font-size:10px}.audit-json-grid pre{min-height:92px;max-height:360px;margin:0;overflow:auto;padding:12px;color:var(--text);font-family:ui-monospace,SFMono-Regular,Consolas,monospace;font-size:10px;line-height:1.55;-moz-tab-size:2;tab-size:2;white-space:pre-wrap;overflow-wrap:anywhere}.audit-json-metadata{grid-column:1 / -1}.audit-pagination{display:flex;min-height:64px;align-items:center;justify-content:space-between;gap:16px;padding:10px 16px;color:var(--text-dim);background:#fbfcfb;font-size:11px}.audit-pagination .btn{min-width:96px;min-height:44px}.audit-pagination .btn:disabled{cursor:not-allowed;opacity:.48}.audit-pagination strong{color:var(--text);font-variant-numeric:tabular-nums}.audit-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}@media(max-width:1160px){.audit-filter-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.audit-search-field{grid-column:span 2}.audit-technical-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}@media(max-width:760px){.audit-page{gap:12px}.audit-hero{display:grid;gap:16px;padding:18px;border-radius:18px}.audit-readonly-badge{justify-self:start}.audit-filter-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.audit-filter-grid label:nth-child(n+4),.audit-search-field{grid-column:1 / -1}.audit-filter-actions .btn{flex:1}.audit-panel-head,.audit-pagination{align-items:stretch;flex-direction:column}.audit-page-count{align-self:flex-start}.audit-table-wrap{overflow:visible;padding:12px;background:#f7f9f8}.audit-table,.audit-table tbody,.audit-table tr,.audit-table td{display:block;width:100%;min-width:0}.audit-table{background:transparent}.audit-table thead{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}.audit-table tbody{display:grid;gap:10px}.audit-event-row{padding:10px 12px;border:1px solid var(--border);border-radius:14px;background:var(--surface);box-shadow:var(--shadow-sm)}.audit-event-row td,.audit-event-row td:first-child,.audit-event-row td:nth-child(2),.audit-event-row td:nth-child(3),.audit-event-row td:nth-child(4),.audit-event-row td:nth-child(5){display:grid;max-width:none;grid-template-columns:minmax(105px,.42fr) minmax(0,1fr);align-items:start;gap:10px;padding:8px 0;border-bottom:1px solid var(--border)}.audit-event-row td:before{content:attr(data-label);color:var(--text-dim);font-size:10px;font-weight:800}.audit-event-row td>small,.audit-event-row td>strong,.audit-event-row td>time,.audit-event-row td>code,.audit-event-row td>span{grid-column:2;max-width:none}.audit-action-cell{border-bottom:0!important;text-align:left}.audit-detail-toggle{width:100%}.audit-detail-row{margin-top:-10px}.audit-detail-row>td{border:1px solid var(--border-strong);border-top:0;border-radius:0 0 14px 14px}.audit-detail{padding:14px}.audit-technical-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.audit-json-grid{grid-template-columns:1fr}.audit-json-metadata{grid-column:auto}.audit-pagination{text-align:center}}@media(max-width:520px){.audit-filter-grid,.audit-technical-grid{grid-template-columns:1fr}.audit-filter-grid label:nth-child(n),.audit-search-field{grid-column:auto}.audit-filter-actions{display:grid;grid-template-columns:1fr}.audit-panel-head{padding-inline:14px}.audit-table-wrap{padding:8px}.audit-event-row td,.audit-event-row td:first-child,.audit-event-row td:nth-child(2),.audit-event-row td:nth-child(3),.audit-event-row td:nth-child(4),.audit-event-row td:nth-child(5){grid-template-columns:1fr;gap:4px}.audit-event-row td>small,.audit-event-row td>strong,.audit-event-row td>time,.audit-event-row td>code,.audit-event-row td>span{grid-column:1}.audit-detail-head{align-items:flex-start;flex-direction:column;gap:6px}}@media(prefers-reduced-motion:reduce){.audit-spinner{animation:none}}@media(max-width:760px){.hr-structure-summary{grid-template-columns:repeat(3,minmax(0,1fr))}.hr-structure-summary>span{padding:9px}.structure-catalog-tabs button{padding-inline:7px}.structure-catalog-toolbar{grid-template-columns:repeat(2,minmax(0,1fr))}.structure-catalog-search{grid-column:1 / -1}.structure-add-button{width:100%}.structure-table-wrap{overflow:visible;padding:10px;background:var(--surface-2)}.structure-catalog-table,.structure-catalog-table tbody{display:block;min-width:0;width:100%}.structure-catalog-table thead{display:none}.structure-catalog-table tbody{display:grid;gap:9px}.structure-catalog-table tbody tr{display:grid;gap:0;overflow:hidden;border:1px solid var(--border);border-radius:12px;background:var(--surface);box-shadow:var(--shadow-sm)}.structure-catalog-table td,.structure-catalog-table td.numeric,.structure-catalog-table td.structure-row-action{display:grid;grid-template-columns:minmax(105px,.42fr) minmax(0,1fr);align-items:start;gap:12px;width:auto;min-height:42px;padding:10px 12px;border-bottom:1px solid var(--border);text-align:left}.structure-catalog-table td:last-child{border-bottom:0}.structure-catalog-table td:before{color:var(--text-dim);content:attr(data-label);font-size:9px;font-weight:750;text-transform:uppercase}.structure-row-action .btn{justify-self:start;min-width:126px;min-height:44px}.structure-row-actions{justify-content:flex-start;flex-wrap:wrap;white-space:normal}.structure-row-primary.is-hierarchy{padding-left:calc(var(--structure-depth) * 15px)}.structure-row-primary.is-hierarchy:before{left:calc((var(--structure-depth) * 15px) - 11px)}.structure-result-count{text-align:center}.structure-editor-backdrop,.structure-delete-backdrop{align-items:end;padding:0}.structure-delete-dialog{width:100%;border-radius:20px 20px 0 0}.structure-editor-modal{width:100%;max-height:96dvh;border-radius:20px 20px 0 0}.structure-editor-form{min-height:0}.structure-editor-grid{grid-template-columns:1fr}.structure-editor-wide{grid-column:auto}.structure-active-field{margin-top:0}.structure-editor-form input,.structure-editor-form select,.structure-editor-form textarea{font-size:16px}}@media(max-width:560px){.structure-catalog-toolbar{grid-template-columns:1fr}.structure-catalog-search{grid-column:auto}.structure-catalog-tabs button{flex-direction:column;gap:3px;min-height:58px;padding:6px 3px;font-size:10.5px}.structure-catalog-tabs b{min-width:22px;min-height:20px}.structure-parameter-head{align-items:stretch;flex-direction:column}.structure-parameter-head .btn{min-height:44px}.structure-parameter-labels{display:none}.structure-parameter-row{grid-template-columns:1fr 1fr 42px;padding:10px;border:1px solid var(--border);border-radius:10px;background:var(--surface)}.structure-parameter-row>input:first-child{grid-column:1 / -1}.structure-parameter-remove{grid-column:3;grid-row:2}.structure-editor-head,.structure-editor-form{padding-inline:14px}.structure-editor-actions{display:grid;grid-template-columns:1fr}.structure-editor-actions .btn-primary{grid-row:1}.structure-delete-dialog>footer{display:grid;grid-template-columns:1fr}.structure-delete-dialog>footer .btn{width:100%}.structure-delete-dialog>footer .btn-danger{grid-row:1}}@media(prefers-reduced-motion:reduce){.structure-editor-modal,.structure-delete-dialog{animation:none}}.buffet-dishes-page .lunch-dishes-year{border-color:#d7c8a5;background:linear-gradient(145deg,#fffaf0,#fff)}.buffet-dishes-page .lunch-dishes-year strong{color:#7a4d11}.buffet-dishes-filters{grid-template-columns:minmax(260px,1.4fr) repeat(4,minmax(140px,1fr))}.buffet-product-main{display:grid;align-content:center;gap:3px}.buffet-product-badges{display:flex!important;align-items:center;flex-wrap:wrap;gap:5px}.buffet-product-badges small{overflow:hidden;color:var(--text-dim);font-size:9px;font-weight:700;text-overflow:ellipsis;white-space:nowrap}.buffet-inline-code-action,.buffet-row-calculation-action>button{position:relative;z-index:2;pointer-events:auto;border:1px solid #b9d2df;border-radius:8px;color:#175f83;background:#f4fbfe;font:inherit;font-size:9.5px;font-weight:800;cursor:pointer}.buffet-inline-code-action{justify-self:start;min-height:28px;padding:4px 8px}.buffet-inline-code-action:hover,.buffet-inline-code-action:focus-visible,.buffet-row-calculation-action>button:hover,.buffet-row-calculation-action>button:focus-visible{border-color:#5f9dbb;outline:0;color:#104f70;background:#e9f6fb;box-shadow:0 0 0 3px #2686bd1f}.buffet-product-cost small{color:var(--text-dim);font-size:9px;font-weight:700;white-space:nowrap}.buffet-row-calculation-action{position:relative;z-index:2;display:grid;min-width:0;gap:3px}.buffet-row-calculation-action>span{color:#425e6d;font-size:9px;font-weight:800}.buffet-row-calculation-action>button{min-height:36px;padding:6px 9px;white-space:nowrap}.buffet-dish-modal{width:min(1060px,100%)}.buffet-detail-actions{display:grid;grid-template-columns:repeat(3,minmax(0,1fr)) minmax(220px,.9fr);gap:9px}.buffet-detail-actions>div{display:grid;min-width:0;align-content:center;gap:4px;padding:13px 14px;border:1px solid #dce7ec;border-radius:12px;background:#fff;box-shadow:var(--shadow-sm)}.buffet-detail-actions>div>span,.buffet-detail-actions>div>small{overflow-wrap:anywhere;color:var(--text-dim);font-size:9.5px}.buffet-detail-actions>div>strong{overflow-wrap:anywhere;color:#183847;font-size:15px;font-variant-numeric:tabular-nums}.buffet-detail-action-buttons{align-content:stretch!important;gap:7px!important;border-color:#bdd7e5!important;background:linear-gradient(145deg,#f3faff,#fff)!important}.buffet-detail-action-buttons .btn{width:100%;min-height:39px;padding-inline:10px;font-size:10px}.buffet-calculation-lines td small{display:block;margin-top:2px;color:var(--text-dim);font-size:9px;font-weight:500}.buffet-detail-notes{margin:10px 0 0;padding:10px 12px;border:1px solid #e0e7eb;border-radius:9px;color:#48616e;background:#f8fbfc;font-size:10.5px;line-height:1.55}@media(max-width:1180px){.buffet-dishes-filters{grid-template-columns:repeat(4,minmax(135px,1fr))}.buffet-detail-actions{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:760px){.buffet-dishes-filters{grid-template-columns:repeat(2,minmax(0,1fr))}.buffet-detail-actions{grid-template-columns:1fr 1fr}}@media(max-width:520px){.buffet-dishes-filters,.buffet-detail-actions{grid-template-columns:1fr}.buffet-product-badges small{white-space:normal}.buffet-row-calculation-action{grid-column:1 / -1}}.calculation-catalog-page .calculation-view-tabs{width:fit-content;max-width:100%;margin-bottom:10px}.calculation-catalog-page .calculation-view-panel{gap:0}.calculation-catalog-page .lunch-dishes-year{border-color:#b9ddcf;background:linear-gradient(145deg,#f2fcf8,#fff)}.calculation-catalog-page .lunch-dishes-year strong{color:var(--accent-dark)}.calculation-catalog-filters{grid-template-columns:minmax(260px,1.4fr) repeat(4,minmax(140px,1fr))}@media(max-width:1180px){.calculation-catalog-filters{grid-template-columns:repeat(4,minmax(135px,1fr))}}@media(max-width:760px){.calculation-catalog-page .calculation-view-tabs{width:100%}.calculation-catalog-filters{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:520px){.calculation-catalog-filters{grid-template-columns:1fr}}.blocks-page-head{align-items:flex-end;margin-bottom:0}.blocks-page-heading{display:grid;gap:6px}.blocks-page-heading p{margin:0;color:var(--text-dim);font-size:13.5px;line-height:1.5}.blocks-manage-button{display:inline-flex;align-items:center;gap:8px;min-height:44px;color:var(--accent-dark);border-color:#0478573d;background:var(--accent-soft);white-space:nowrap}.blocks-manage-button:hover:not(:disabled){border-color:#04785780;background:#dff8ed}.blocks-manage-button>svg,.blocks-empty-state>svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:1.8}.blocks-manage-button>strong{display:grid;min-width:24px;height:24px;place-items:center;padding-inline:6px;border-radius:999px;color:#fff;background:var(--accent-dark);font-size:12px;font-variant-numeric:tabular-nums}.blocks-grid{margin-top:18px}.block-card-shell>.block-card{padding-right:24px}.block-card:focus-visible{outline:3px solid var(--accent);outline-offset:2px}.block-title{overflow-wrap:anywhere}.block-card-actions{position:absolute;z-index:2;top:14px;right:14px;display:flex;gap:6px}.block-card-actions .block-card-new-workspace,.block-card-menu-trigger{position:static;display:grid;width:44px;min-width:44px;height:44px;min-height:44px;place-items:center;padding:0;border:1px solid var(--border);border-radius:11px;color:var(--text-dim);background:#ffffffe6;box-shadow:var(--shadow-sm);cursor:pointer;transition:color .18s ease,background-color .18s ease,border-color .18s ease,box-shadow .18s ease}.block-card-actions .block-card-new-workspace:hover,.block-card-menu-trigger:hover,.block-card-menu-trigger[aria-expanded=true]{color:var(--accent-dark);border-color:#04785752;background:#f0fdf7}.block-card-actions .block-card-new-workspace:focus-visible,.block-card-menu-trigger:focus-visible{outline:3px solid var(--accent);outline-offset:1px}.block-card-menu-trigger svg{width:20px;height:20px;fill:currentColor}.blocks-empty-state{display:grid;max-width:560px;justify-items:center;gap:10px;margin:48px auto 24px;padding:34px 24px;border:1px dashed rgba(4,120,87,.34);border-radius:20px;color:var(--text);background:linear-gradient(145deg,var(--surface),var(--accent-soft));text-align:center}.blocks-empty-state>svg{width:34px;height:34px;color:var(--accent-dark)}.blocks-empty-state h3,.blocks-empty-state p{margin:0}.blocks-empty-state p{color:var(--text-dim);font-size:14px}.block-context-menu{position:fixed;z-index:190;width:min(252px,calc(100vw - 16px));overflow:hidden;padding:7px;border:1px solid rgba(85,120,106,.26);border-radius:14px;background:#fffffffa;box-shadow:0 20px 52px #11291f33,0 3px 12px #11291f1a;-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);animation:block-context-in .13s ease-out}@keyframes block-context-in{0%{opacity:0;transform:translateY(-4px) scale(.98)}}.block-context-menu-head{display:grid;gap:2px;padding:7px 10px 9px}.block-context-menu-head strong{overflow:hidden;color:var(--text);font-size:13px;text-overflow:ellipsis;white-space:nowrap}.block-context-menu-head small{color:var(--text-dim);font-size:11px}.block-context-menu>button{display:flex;width:100%;min-height:44px;align-items:center;gap:10px;padding:8px 10px;border:0;border-radius:9px;color:var(--text);background:transparent;font:inherit;font-size:13px;font-weight:650;text-align:left;cursor:pointer}.block-context-menu>button:hover{color:var(--accent-dark);background:var(--accent-soft)}.block-context-menu>button:focus-visible{outline:2px solid var(--accent);outline-offset:-2px;color:var(--accent-dark);background:var(--accent-soft)}.block-context-menu>button.is-hide:hover,.block-context-menu>button.is-hide:focus-visible{color:#9b2c24;background:#fff2f0}.block-context-menu>button svg{width:18px;height:18px;flex:0 0 18px;fill:none;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:1.8}.block-context-menu-separator{height:1px;margin:5px 6px;background:var(--border)}.block-manager-overlay,.block-rename-overlay{z-index:180;align-items:center}.block-manager-overlay{padding-block:24px;overflow:hidden;overflow:clip;overscroll-behavior:none}.block-manager-dialog,.block-rename-dialog{gap:0;padding:0;overflow:hidden;border:1px solid rgba(85,120,106,.2)}.block-manager-dialog{max-width:760px;max-height:min(780px,calc(100vh - 48px))}.block-manager-header,.block-rename-header{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;padding:24px 26px 18px;border-bottom:1px solid var(--border)}.block-manager-header h3,.block-rename-header h3{margin:3px 0 0;padding:0;border:0;font-size:22px}.block-manager-header p{max-width:520px;margin:7px 0 0;color:var(--text-dim);font-size:13px;line-height:1.5}.block-manager-summary{display:flex;gap:8px;padding:14px 26px;border-bottom:1px solid var(--border);background:var(--surface-2)}.block-manager-summary span{padding:6px 10px;border:1px solid var(--border);border-radius:999px;color:var(--text-dim);background:var(--surface);font-size:12px}.block-manager-summary strong{color:var(--accent-dark);font-variant-numeric:tabular-nums}.block-manager-list-scroll{flex:1 1 auto;min-height:0;padding:16px 26px;overflow-y:auto;overscroll-behavior-y:contain;scrollbar-color:var(--text-dim) var(--surface-2);scrollbar-gutter:stable;scrollbar-width:thin;touch-action:pan-y;-webkit-overflow-scrolling:touch;border:0}.block-manager-list-scroll:focus-visible{outline:3px solid var(--accent);outline-offset:-3px}.block-manager-list-scroll::-webkit-scrollbar{width:12px}.block-manager-list-scroll::-webkit-scrollbar-track{background:var(--surface-2)}.block-manager-list-scroll::-webkit-scrollbar-thumb{border:3px solid var(--surface-2);border-radius:999px;background:var(--text-dim);background-clip:content-box}.block-manager-list{display:grid;gap:8px;min-width:0;margin:0;padding:0;border:0}.block-manager-row{display:grid;grid-template-columns:minmax(0,1fr) 44px;align-items:center;gap:10px;min-height:60px;padding:8px 10px 8px 14px;border:1px solid var(--border);border-radius:13px;background:var(--surface);transition:border-color .16s ease,background-color .16s ease,opacity .16s ease}.block-manager-row:focus-within{border-color:#04785773;box-shadow:0 0 0 3px #04785717}.block-manager-row.is-hidden{border-color:#75807b38;background:#f7f8f7}.block-manager-row>label{display:grid;grid-template-columns:42px minmax(0,1fr);align-items:center;gap:12px;min-width:0;cursor:pointer}.block-manager-row input{position:absolute;width:1px;height:1px;opacity:0}.block-manager-switch{position:relative;width:42px;height:24px;border:1px solid #aebbb5;border-radius:999px;background:#dfe4e1;transition:border-color .16s ease,background-color .16s ease}.block-manager-switch i{position:absolute;top:3px;left:3px;width:16px;height:16px;border-radius:50%;background:#fff;box-shadow:0 1px 4px #162a2142;transition:transform .16s ease}.block-manager-row input:checked+.block-manager-switch{border-color:var(--accent);background:var(--accent)}.block-manager-row input:checked+.block-manager-switch i{transform:translate(18px)}.block-manager-row input:focus-visible+.block-manager-switch{outline:3px solid var(--accent);outline-offset:2px}.block-manager-row-copy{display:grid;min-width:0;gap:2px}.block-manager-row-copy strong,.block-manager-row-copy small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.block-manager-row-copy strong{color:var(--text);font-size:14px}.block-manager-row-copy small{color:var(--text-dim);font-size:12px}.block-manager-row-copy em{color:var(--accent-dark);font-size:12px;font-style:normal;font-weight:750}.block-manager-row.is-hidden .block-manager-row-copy strong,.block-manager-row.is-hidden .block-manager-row-copy em{color:#59645f}.block-manager-rename{display:grid;width:44px;height:44px;place-items:center;padding:0;border:1px solid transparent;border-radius:10px;color:var(--text-dim);background:transparent;cursor:pointer}.block-manager-rename:hover{color:var(--accent-dark);border-color:#04785733;background:var(--accent-soft)}.block-manager-rename:focus-visible{outline:2px solid var(--accent);outline-offset:1px;color:var(--accent-dark);border-color:#04785733;background:var(--accent-soft)}.block-manager-rename svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:1.8}.block-manager-footer{position:relative;z-index:1;display:flex;justify-content:flex-end;gap:8px;padding:16px 26px 22px;border-top:1px solid var(--border);background:#f8faf9}.block-manager-footer .btn:disabled,.block-manager-footer .btn:disabled:hover{opacity:.5;border-color:var(--border);color:var(--text-dim);background:var(--surface);box-shadow:none;cursor:not-allowed}.block-rename-dialog{max-width:560px;padding-bottom:24px}.block-rename-dialog>.hint,.block-rename-dialog>.form-error,.block-rename-field,.block-rename-original,.block-rename-actions{margin-inline:26px}.block-rename-dialog>.hint{margin-top:20px;margin-bottom:16px}.block-rename-field{display:grid;gap:7px;color:var(--text);font-size:13px;font-weight:750}.block-rename-field input{width:100%;min-height:48px;padding:10px 13px;border:1.5px solid var(--border);border-radius:11px;color:var(--text);background:var(--surface);font:inherit;font-size:15px}.block-rename-field input:focus{outline:3px solid var(--accent);outline-offset:1px;border-color:var(--accent)}.block-rename-field input[aria-invalid=true]{border-color:var(--danger)}.block-rename-original{display:block;margin-top:7px;color:var(--text-dim);font-size:11px}.block-rename-actions{display:flex;align-items:center;gap:8px;margin-top:22px}.block-rename-actions-spacer{flex:1 1 auto}.block-rename-reset{color:var(--text-dim)}@media(max-width:640px){.blocks-page-head{align-items:stretch}.blocks-page-head .page-actions,.blocks-manage-button{width:100%}.blocks-manage-button{justify-content:center}.block-manager-overlay,.block-rename-overlay{align-items:flex-end;padding:12px}.block-manager-dialog,.block-rename-dialog{max-height:calc(100vh - 24px);border-radius:20px}.block-manager-header,.block-rename-header{padding:20px 18px 15px}.block-manager-header h3,.block-rename-header h3{font-size:19px}.block-manager-summary,.block-manager-list-scroll{padding-inline:18px}.block-manager-footer{padding:14px 18px 18px}.block-rename-dialog>.hint,.block-rename-dialog>.form-error,.block-rename-field,.block-rename-original,.block-rename-actions{margin-inline:18px}.block-rename-actions{flex-wrap:wrap}.block-rename-reset{width:100%}}@media(max-width:420px){.block-card-shell>.block-card{padding-right:24px}.block-card-actions{top:12px;right:12px;gap:4px}.blocks-hint{font-size:12px}.block-manager-row{grid-template-columns:minmax(0,1fr) 44px;padding-left:10px}.block-manager-row>label{grid-template-columns:38px minmax(0,1fr);gap:9px}.block-manager-switch{width:38px}.block-manager-row input:checked+.block-manager-switch i{transform:translate(14px)}}@media(prefers-reduced-motion:reduce){.block-card-menu-trigger,.block-context-menu,.block-manager-row,.block-manager-switch,.block-manager-switch i{animation:none;transition:none}}@supports (min-height: 100dvh){html,body,#root{min-height:100dvh}}@media(max-width:760px){.workspace-browser{display:grid;grid-template-areas:"history actions" "tabs tabs";grid-template-columns:auto minmax(0,1fr);min-height:0;gap:6px 8px;padding-top:max(7px,env(safe-area-inset-top));padding-right:max(8px,env(safe-area-inset-right));padding-bottom:7px;padding-left:max(8px,env(safe-area-inset-left))}.workspace-history-controls{grid-area:history}.workspace-tab-strip{grid-area:tabs;width:100%;padding-bottom:1px;scroll-padding-inline:4px}.workspace-browser-actions{grid-area:actions;max-width:100%;justify-self:end;gap:3px;padding-left:0;overflow-x:auto;border-left:0;overscroll-behavior-inline:contain;scrollbar-width:none}.workspace-browser-actions::-webkit-scrollbar{display:none}.workspace-browser button,.block-card,.production-page button,.production-page summary,.transfer-page button,.transfer-page summary,.content-menu-planning button,.content-menu-planning summary,.kp-page button,.kp-page summary,.dv-page button,.time-portal button,.time-portal summary{touch-action:manipulation}.content{padding-right:max(12px,env(safe-area-inset-right));padding-bottom:calc(72px + env(safe-area-inset-bottom));padding-left:max(12px,env(safe-area-inset-left))}.blocks-grid{grid-template-columns:minmax(0,1fr)}.content-menu-planning,.production-page,.transfer-page,.kp-page,.dv-page,.time-portal{width:100%;max-width:100%;min-width:0;overflow-x:clip}.production-page input:not([type=checkbox]):not([type=radio]),.production-page select,.production-page textarea,.transfer-page input:not([type=checkbox]):not([type=radio]),.transfer-page select,.transfer-page textarea{min-height:48px;font-size:16px}.production-direction-picker>summary{min-height:48px;font-size:16px}.production-presets button{min-height:44px;padding:8px 12px}.production-table-wrap,.transfer-table-wrap{overscroll-behavior-inline:contain;-webkit-overflow-scrolling:touch}}@media(max-width:470px){.workspace-history-controls button:nth-child(2){display:none}.workspace-history-controls button:last-child{display:grid}.workspace-tab{min-width:min(72vw,230px);max-width:min(82vw,260px);flex-basis:72vw}.workspace-browser-actions .btn{padding-inline:8px}.block-card{padding:20px 18px}}.production-procurement-list{container-name:procurement-supplier-list;container-type:inline-size}.production-procurement-supplier-overview{grid-template-columns:minmax(150px,1.15fr) minmax(105px,.7fr) minmax(170px,1fr) minmax(112px,.72fr)}.production-procurement-supplier-ready{width:100%;min-width:0;overflow-wrap:anywhere;white-space:normal}.production-procurement-supplier-ready:focus-visible{outline-offset:-3px}.production-daily-coverage-badge.is-partial{color:#875712;background:#fff0c7}.production-daily-coverage.is-partial .production-daily-coverage-head>b{color:#875712;background:#fff0c7}@container procurement-supplier-list (max-width: 1240px){.production-procurement-supplier-summary{grid-template-columns:minmax(0,1fr)}.production-procurement-supplier-overview{grid-column:1;grid-row:2;padding:0 10px 10px}.production-procurement-supplier-summary>.production-supplier-group-editor{grid-row:3}}@container procurement-supplier-list (max-width: 760px){.production-procurement-supplier-overview{grid-template-columns:repeat(2,minmax(0,1fr))}}@container procurement-supplier-list (max-width: 480px){.production-procurement-supplier-overview{grid-template-columns:minmax(0,1fr)}}.legacy-fmg-page{display:grid;gap:14px;min-width:0}.legacy-fmg-page svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:1.7}.legacy-fmg-hero{display:flex;align-items:flex-end;justify-content:space-between;gap:24px;padding:22px 24px;border:1px solid #cbd8d2;border-radius:16px;background:linear-gradient(135deg,#f3faf7,var(--surface) 68%);box-shadow:var(--shadow-sm)}.legacy-fmg-hero>div:first-child{min-width:0}.legacy-fmg-eyebrow{color:var(--accent-dark);font-size:10px;font-weight:850;letter-spacing:.09em}.legacy-fmg-hero h2{margin:5px 0;font-size:clamp(25px,3vw,34px);letter-spacing:-.025em}.legacy-fmg-hero p{max-width:760px;margin:0;color:var(--text-dim);font-size:13px;line-height:1.6}.legacy-fmg-source-card{display:grid;grid-template-columns:38px minmax(0,1fr);align-items:center;gap:10px;min-width:280px;padding:11px 13px;border:1px solid #a9d4c3;border-radius:12px;color:var(--accent-dark);background:var(--surface)}.legacy-fmg-source-card>svg{width:28px;height:28px}.legacy-fmg-source-card>span{display:grid;min-width:0}.legacy-fmg-source-card strong,.legacy-fmg-source-card small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.legacy-fmg-source-card strong{font-size:11.5px}.legacy-fmg-source-card small{color:var(--text-dim);font-size:9.5px}.legacy-fmg-proof{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:8px}.legacy-fmg-proof>div{display:grid;gap:2px;min-width:0;padding:11px 13px;border:1px solid var(--border);border-radius:11px;background:var(--surface);box-shadow:var(--shadow-sm)}.legacy-fmg-proof span{overflow:hidden;color:var(--text-dim);font-size:9px;text-overflow:ellipsis;white-space:nowrap}.legacy-fmg-proof strong{font-size:20px;font-variant-numeric:tabular-nums}.legacy-fmg-proof .blocked{border-color:#efbbb7;background:var(--danger-bg)}.legacy-fmg-proof .blocked strong{color:var(--danger)}.legacy-fmg-hash{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:10px;padding:8px 12px;border:1px solid var(--border);border-radius:10px;background:var(--surface-2)}.legacy-fmg-hash span{color:var(--text-dim);font-size:9px;font-weight:800;letter-spacing:.06em}.legacy-fmg-hash code{overflow:hidden;color:var(--text-dim);font-size:9px;text-overflow:ellipsis;white-space:nowrap}.legacy-fmg-hash strong{color:var(--accent-dark);font-size:10px}.legacy-fmg-tabs{display:flex;gap:4px;padding:4px;overflow-x:auto;border:1px solid var(--border);border-radius:12px;background:var(--surface);scrollbar-width:none}.legacy-fmg-tabs::-webkit-scrollbar{display:none}.legacy-fmg-tabs button{flex:1 0 auto;min-height:44px;padding:9px 16px;border:0;border-radius:9px;color:var(--text-dim);background:transparent;font:inherit;font-size:12px;font-weight:700;cursor:pointer;transition:color var(--speed) ease,background var(--speed) ease}.legacy-fmg-tabs button:hover{color:var(--text);background:var(--surface-2)}.legacy-fmg-tabs button.active{color:#fff;background:var(--accent)}.legacy-fmg-browser{display:grid;grid-template-columns:minmax(280px,360px) minmax(0,1fr);min-height:560px;overflow:hidden;border:1px solid var(--border);border-radius:16px;background:var(--surface);box-shadow:var(--shadow-md)}.legacy-fmg-command-nav{min-width:0;padding:14px;border-right:1px solid var(--border);background:var(--surface-2)}.legacy-fmg-command-nav>label{display:grid;gap:5px;margin-bottom:14px}.legacy-fmg-command-nav>label>span:first-child,.legacy-fmg-search-row label>span:first-child{color:var(--text-dim);font-size:9px;font-weight:800;letter-spacing:.05em;text-transform:uppercase}.legacy-fmg-search-control{display:grid;grid-template-columns:20px minmax(0,1fr);align-items:center;gap:7px;min-height:44px;padding:0 11px;border:1px solid var(--border-strong);border-radius:10px;color:var(--text-dim);background:var(--surface)}.legacy-fmg-search-control:focus-within{border-color:var(--accent);box-shadow:0 0 0 3px var(--accent-ring)}.legacy-fmg-search-control svg{width:17px;height:17px}.legacy-fmg-search-control input{width:100%;min-width:0;min-height:42px;padding:0;border:0;outline:0;background:transparent;box-shadow:none;font-size:12px}.legacy-fmg-groups{display:grid;gap:15px}.legacy-fmg-groups>p{color:var(--text-dim);font-size:12px}.legacy-fmg-groups section{display:grid;gap:5px}.legacy-fmg-groups h3{margin:0 4px 2px;color:var(--text-dim);font-size:9px;font-weight:850;letter-spacing:.06em;text-transform:uppercase}.legacy-fmg-groups section>div{display:grid;gap:4px}.legacy-fmg-groups button{display:grid;grid-template-columns:9px minmax(0,1fr) 16px;align-items:center;gap:9px;width:100%;min-height:52px;padding:7px 9px;border:1px solid transparent;border-radius:10px;color:var(--text);background:transparent;font:inherit;text-align:left;cursor:pointer}.legacy-fmg-groups button:hover{border-color:var(--border);background:var(--surface)}.legacy-fmg-groups button.active{border-color:#9fd5c1;background:var(--surface);box-shadow:var(--shadow-sm)}.legacy-fmg-groups button>span:nth-child(2){display:grid;min-width:0}.legacy-fmg-groups button strong,.legacy-fmg-groups button small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.legacy-fmg-groups button strong{font-size:11.5px}.legacy-fmg-groups button small{color:var(--text-dim);font-size:8.5px}.legacy-fmg-groups button>svg{width:15px;height:15px;color:var(--border-strong)}.legacy-fmg-command-dot{width:8px;height:8px;border:2px solid #c8ccc9;border-radius:50%;background:var(--surface)}.legacy-fmg-command-dot.live{border-color:#7ac3a7;background:var(--accent)}.legacy-fmg-command-dot.mirror{border-color:#8db7d2;background:#2f779f}.legacy-fmg-command-dot.extracted{border-color:#d6bd86;background:#a96d08}.legacy-fmg-command-dot.blocked,.legacy-fmg-command-dot.danger{border-color:#e6aaa5;background:var(--danger)}.legacy-fmg-command-stage{min-width:0;padding:24px}.legacy-fmg-evidence{display:grid;gap:16px}.legacy-fmg-evidence>header{display:grid;grid-template-columns:56px minmax(0,1fr) auto;align-items:start;gap:14px;padding-bottom:18px;border-bottom:1px solid var(--border)}.legacy-fmg-command-icon{display:grid;width:56px;height:56px;place-items:center;border:1px solid #b9ddcf;border-radius:14px;color:var(--accent-dark);background:var(--accent-soft)}.legacy-fmg-command-icon svg{width:27px;height:27px}.legacy-fmg-evidence>header>div{min-width:0}.legacy-fmg-evidence>header>div>span{color:var(--text-dim);font-size:9px;font-weight:800;letter-spacing:.06em;text-transform:uppercase}.legacy-fmg-evidence h3{margin:3px 0;font-size:clamp(21px,2.5vw,28px)}.legacy-fmg-evidence>header p{margin:0;color:var(--text-dim);font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:10px}.legacy-fmg-mode{display:inline-flex;align-items:center;min-height:26px;padding:4px 8px;border:1px solid var(--border);border-radius:999px;color:var(--text-dim);background:var(--surface-2);font-size:9px;font-style:normal;font-weight:800;white-space:nowrap}.legacy-fmg-mode.live{border-color:#9fd5c1;color:var(--accent-dark);background:var(--accent-soft)}.legacy-fmg-mode.mirror{border-color:#b8d4e9;color:#245d81;background:#eef7fd}.legacy-fmg-mode.extracted{border-color:#ead19d;color:#805407;background:#fff8e7}.legacy-fmg-mode.blocked,.legacy-fmg-mode.danger{border-color:#efbbb7;color:var(--danger);background:var(--danger-bg)}.legacy-fmg-evidence-grid,.legacy-fmg-schema-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.legacy-fmg-evidence-grid section,.legacy-fmg-schema-grid section{min-width:0;padding:16px;border:1px solid var(--border);border-radius:13px;background:var(--surface-2)}.legacy-fmg-evidence-grid section.blocked{border-color:#efbbb7;background:var(--danger-bg)}.legacy-fmg-evidence-grid span{display:block;margin-bottom:5px;color:var(--text-dim);font-size:9px;font-weight:800;letter-spacing:.05em;text-transform:uppercase}.legacy-fmg-evidence-grid strong{font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:12px}.legacy-fmg-evidence-grid p{margin:8px 0 0;color:var(--text-dim);font-size:10.5px;line-height:1.55}.legacy-fmg-schema-grid h4{margin:0 0 10px;font-size:12px}.legacy-fmg-schema-grid ul{display:flex;flex-wrap:wrap;gap:6px;margin:0;padding:0;list-style:none}.legacy-fmg-schema-grid li{padding:4px 7px;border:1px solid var(--border);border-radius:7px;color:var(--text-dim);background:var(--surface);font-size:9.5px}.legacy-fmg-live{min-width:0;overflow:hidden;border:1px solid #a9d4c3;border-radius:16px;background:var(--surface);box-shadow:var(--shadow-md)}.legacy-fmg-window-head{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:14px 16px;border-bottom:1px solid #cbded6;background:linear-gradient(135deg,var(--accent-soft),#fff)}.legacy-fmg-window-head>div{min-width:0}.legacy-fmg-window-head span:first-child{color:var(--text-dim);font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:8.5px}.legacy-fmg-window-head h4{margin:2px 0 0;font-size:19px}.legacy-fmg-toolbar{display:flex;gap:5px;padding:8px;overflow-x:auto;border-bottom:1px solid var(--border);background:var(--surface-2);scrollbar-width:thin}.legacy-fmg-tool{display:inline-flex;flex:0 0 auto;align-items:center;gap:5px;min-height:44px;padding:7px 9px;border:1px solid var(--border);border-radius:8px;color:var(--text-dim);background:var(--surface);font:inherit;font-size:9.5px;font-weight:700;cursor:pointer}.legacy-fmg-tool svg{width:15px;height:15px}.legacy-fmg-tool.active{border-color:#9fd5c1;color:var(--accent-dark)}.legacy-fmg-tool:disabled{opacity:.48;cursor:not-allowed}.legacy-fmg-search-row{display:flex;align-items:end;justify-content:space-between;gap:14px;padding:11px 14px;border-bottom:1px solid var(--border)}.legacy-fmg-search-row label{display:grid;flex:1 1 480px;gap:4px;max-width:620px}.legacy-fmg-search-row>span{color:var(--text-dim);font-size:10px}.legacy-fmg-product-layout{display:grid;grid-template-columns:minmax(0,1fr) 270px;min-width:0}.legacy-fmg-table-wrap{min-width:0;max-height:620px;overflow:auto;transition:opacity var(--speed) ease}.legacy-fmg-table-wrap.is-loading{opacity:.48}.legacy-fmg-table{min-width:1050px;margin:0;font-size:10px}.legacy-fmg-table thead{position:sticky;top:0;z-index:1}.legacy-fmg-table th{background:#f0f4f2}.legacy-fmg-table td{padding-top:8px;padding-bottom:8px}.legacy-fmg-table tr.selected td{background:var(--accent-soft)}.legacy-fmg-table td:first-child button{min-width:44px;min-height:44px;padding:3px 6px;border:0;color:var(--accent-dark);background:transparent;font:inherit;font-weight:800;cursor:pointer}.legacy-fmg-table td strong,.legacy-fmg-table td small{display:block}.legacy-fmg-table td small{color:var(--text-dim);font-size:8px}.legacy-fmg-product-card{min-width:0;padding:16px;border-left:1px solid var(--border);background:var(--surface-2)}.legacy-fmg-product-card>span{color:var(--accent-dark);font-size:9px;font-weight:800}.legacy-fmg-product-card h5{margin:5px 0 14px;font-size:15px;line-height:1.4}.legacy-fmg-product-card dl{display:grid;gap:0;margin:0 0 14px}.legacy-fmg-product-card dl>div{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px;padding:7px 0;border-bottom:1px solid var(--border)}.legacy-fmg-product-card dt,.legacy-fmg-product-card dd{margin:0;font-size:9.5px}.legacy-fmg-product-card dt{color:var(--text-dim)}.legacy-fmg-product-card dd{font-weight:750;text-align:right}.legacy-fmg-product-card>small,.legacy-fmg-product-card>p{color:var(--text-dim);font-size:8.5px;line-height:1.5}@media(max-width:980px){.legacy-fmg-hero{align-items:stretch;flex-direction:column}.legacy-fmg-source-card{min-width:0}.legacy-fmg-proof{grid-template-columns:repeat(3,minmax(0,1fr))}.legacy-fmg-browser{grid-template-columns:1fr}.legacy-fmg-command-nav{border-right:0;border-bottom:1px solid var(--border)}.legacy-fmg-groups{grid-template-columns:repeat(2,minmax(0,1fr))}.legacy-fmg-product-layout{grid-template-columns:1fr}.legacy-fmg-product-card{border-top:1px solid var(--border);border-left:0}}@media(max-width:660px){.legacy-fmg-hero,.legacy-fmg-command-stage{padding:17px}.legacy-fmg-proof{grid-template-columns:repeat(2,minmax(0,1fr))}.legacy-fmg-hash{grid-template-columns:1fr auto}.legacy-fmg-hash code{grid-column:1 / -1;grid-row:2}.legacy-fmg-tabs button{flex:0 0 auto}.legacy-fmg-groups{grid-template-columns:1fr}.legacy-fmg-evidence>header{grid-template-columns:48px minmax(0,1fr)}.legacy-fmg-command-icon{width:48px;height:48px}.legacy-fmg-evidence>header .legacy-fmg-mode{grid-column:1 / -1;justify-self:start}.legacy-fmg-evidence-grid,.legacy-fmg-schema-grid{grid-template-columns:1fr}.legacy-fmg-window-head,.legacy-fmg-search-row{align-items:stretch;flex-direction:column}.legacy-fmg-search-row label{flex-basis:auto}}@media(prefers-reduced-motion:reduce){.legacy-fmg-tabs button,.legacy-fmg-table-wrap{transition:none}}.login-card-dual{max-width:440px}.login-method-tabs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:4px;padding:4px;border:1px solid var(--border);border-radius:12px;background:var(--surface-2)}.login-method-tabs button{min-width:0;min-height:42px;padding:8px 10px;border:0;border-radius:9px;color:var(--text-dim);background:transparent;cursor:pointer;font:inherit;font-size:12px;font-weight:800}.login-method-tabs button.active{color:var(--accent-dark);background:var(--surface);box-shadow:var(--shadow-sm)}.login-method-tabs button:disabled{cursor:wait;opacity:.65}.login-method-tabs button:focus-visible,.personal-login-form input:focus-visible{outline:3px solid var(--accent-ring);outline-offset:2px}.login-method-panel{display:grid;gap:13px;min-width:0;margin:0}.login-method-copy{margin:0;color:var(--text-dim);font-size:12px;line-height:1.55}.personal-recovery-heading{display:grid;gap:7px}.personal-recovery-heading h2{margin:0;color:var(--text);font-size:20px;line-height:1.25}.personal-login-form label{display:grid;gap:6px;min-width:0}.personal-login-form label>span{color:var(--text-dim);font-size:11px;font-weight:750}.personal-login-form small{color:var(--text-dim);font-size:11px;line-height:1.45}.personal-login-form input{width:100%;min-width:0;min-height:46px;padding:10px 12px;border:1px solid var(--border);border-radius:10px;color:var(--text);background:var(--surface);font:inherit}.personal-login-form input:focus-visible{border-color:var(--accent)}.personal-login-submit{width:100%;min-height:46px}.personal-login-assistance{display:flex;justify-content:flex-end;margin-top:-5px}.personal-recovery-actions{display:grid;gap:4px}.login-recovery-link{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:8px 10px;border:0;border-radius:9px;color:var(--accent-dark);background:transparent;cursor:pointer;font:inherit;font-size:12px;font-weight:800;text-decoration:underline;text-decoration-color:transparent;text-underline-offset:3px}.login-recovery-link:hover:not(:disabled){color:var(--accent);background:var(--accent-soft);text-decoration-color:currentColor}.login-recovery-link:disabled{cursor:wait;opacity:.65}.login-recovery-link:focus-visible{outline:3px solid var(--accent);outline-offset:2px}.block-icon-employee-time{border-color:#b9ddcf;color:var(--accent-dark);background:var(--accent-soft)}.block-icon-employee-time svg{width:25px;height:25px;fill:none;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:1.8}.content-employee-time{max-width:none;padding:0}.content-employee-time>.time-portal{min-height:calc(100vh - 122px)}.content-employee-time:empty{display:none}.employee-time-access-notice{display:flex;align-items:center;justify-content:space-between;gap:16px;width:min(calc(100% - 24px),1180px);margin:12px auto;padding:16px;border:1px solid var(--border);border-radius:14px;color:var(--text);background:var(--surface);box-shadow:var(--shadow-sm)}.employee-time-access-notice.is-error{border-color:#e3b8b4;background:#fff8f7}.employee-time-access-notice>div{display:grid;gap:3px;min-width:0}.employee-time-access-notice strong,.employee-time-access-notice p{margin:0}.employee-time-access-notice p,.employee-time-access-notice small{color:var(--text-dim);font-size:12px;line-height:1.5}.employee-time-access-spinner{flex:0 0 auto;width:22px;height:22px;border:3px solid var(--border);border-top-color:var(--accent);border-radius:50%;animation:employee-time-access-spin .8s linear infinite}@keyframes employee-time-access-spin{to{transform:rotate(360deg)}}@media(max-width:640px){.employee-time-access-notice{align-items:stretch;flex-direction:column}.employee-time-access-notice .btn{width:100%}.login-card-dual{padding:26px 20px}.login-method-tabs button{min-height:44px;padding-inline:6px;font-size:11px}}@media(prefers-reduced-motion:reduce){.login-method-tabs button,.employee-time-access-spinner{transition:none;animation:none}}
