#parameters-view,#parameters-root,.parameter-content,.parameter-section,.parameter-layout,.parameter-list,.parameter-form{min-width:0;max-width:100%}.parameter-content{grid-template-columns:minmax(0,1fr)}.parameter-list .table-scroll{min-width:0;max-width:100%;overflow-x:auto}.parameter-tabs{display:flex;gap:8px;flex-wrap:wrap;margin:0 0 20px}.parameter-tabs .button{font-size:13px}.parameter-content{display:grid;gap:22px}.parameter-section>h2{margin-bottom:18px}.parameter-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(240px,310px);gap:26px;align-items:start}.parameter-form{display:grid;gap:14px;border-left:1px solid var(--line);padding-left:24px}.parameter-form h3{margin-bottom:4px}.parameter-form .form-actions{margin-top:4px}.parameter-form .form-actions .button{padding-left:11px;padding-right:11px;font-size:13px}.parameter-row-actions{white-space:normal;min-width:150px}.parameter-row-actions .button{margin:3px;font-size:12px;min-height:38px}.parameter-list th,.parameter-list td{white-space:normal;text-align:left}.parameter-list td{max-width:250px;overflow-wrap:anywhere}.parameter-list th:first-child,.parameter-list td:first-child{padding-left:8px}.parameter-form .checkbox-label{display:flex;align-items:center;gap:9px;min-height:40px}.parameter-form input[type=checkbox]{width:18px;min-height:18px;height:18px;accent-color:var(--teal);flex-shrink:0}.meal-choices{margin:0;padding:12px;border:1px solid var(--line);border-radius:7px;display:grid;gap:8px;min-width:0}.meal-choices legend{font-size:13px;font-weight:550;padding:0 5px}.meal-choices label{display:flex;gap:9px;align-items:center;min-height:35px;font-weight:400}.navigation{overflow-x:auto}.parameter-form .helper{font-weight:400}.parameter-form label:has(input[type=checkbox]){cursor:pointer}
@media(max-width:1100px){.parameter-layout{grid-template-columns:1fr}.parameter-form{padding:22px 0 0;border-left:0;border-top:1px solid var(--line);grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.parameter-form h3,.parameter-form .form-actions,.parameter-form>p,.parameter-form .meal-choices{grid-column:1/-1}}
@media(max-width:600px){.parameter-tabs{display:grid;grid-template-columns:1fr 1fr}.parameter-tabs .button{white-space:normal;padding:9px 10px;font-size:12px}.parameter-form{grid-template-columns:1fr}.parameter-form>*{grid-column:1}.navigation{gap:18px}.nav-button{white-space:nowrap;font-size:13px}.parameter-row-actions{min-width:110px}.parameter-list table{min-width:450px}.parameter-section{padding:16px}.parameter-layout{gap:18px}}
.customer-card-intro{margin:6px 0 18px}.customer-card-form .customer-project-options{grid-column:1/-1}.customer-project-options{min-width:0;margin:0;padding:12px;border:1px solid var(--line);border-radius:7px;display:grid;gap:7px}.customer-project-options legend{padding:0 5px;font-size:13px;font-weight:550}.customer-project-options .checkbox-label{font-size:12px;font-weight:400;align-items:flex-start}.customer-project-options .checkbox-label span{min-width:0;overflow-wrap:anywhere}.customer-project-options input[type=checkbox]{margin-top:3px}.customer-card-list td:nth-child(3){min-width:120px}.customer-card-form>p{grid-column:1/-1}
.stock-card-intro,.meal-parameter-intro{margin:6px 0 18px}.stock-card-form .meal-choices,.stock-card-form .stock-price-history,.stock-card-form>p{grid-column:1/-1}.stock-price-history{min-width:0;max-width:100%;font-size:12px}.stock-price-history summary{cursor:pointer;min-height:38px;padding:8px 0;color:var(--teal)}.stock-price-history table{font-size:11px;min-width:340px}.stock-price-history th,.stock-price-history td{text-align:left;white-space:normal;padding:9px 6px}.stock-card-list td small{display:block;color:var(--muted);font-size:11px;margin-top:4px}.stock-card-list table{min-width:570px}.meal-parameter-list{min-width:0;max-width:100%}.meal-parameter-list table{min-width:420px}.meal-parameter-list th,.meal-parameter-list td{text-align:left;white-space:normal}.stock-card-form .meal-choices label{min-width:0;white-space:normal;align-items:flex-start}.stock-card-form .meal-choices label span{overflow-wrap:anywhere}
.daily-stock-line{display:grid;gap:13px;padding:20px 0;border-bottom:1px solid var(--line);min-width:0}.daily-stock-line>h3{font-size:15px}.daily-item-row{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(0,.8fr) minmax(0,1fr);gap:10px;padding:14px;background:#f5f8f7;border-radius:8px;min-width:0}.daily-item-row label{min-width:0;font-size:12px}.daily-item-row input{min-width:0}.daily-item-row .daily-item-amount{grid-column:1/3;display:grid;gap:4px;font-size:12px;color:var(--muted)}.daily-item-amount output{font-size:14px;color:#213a43;font-variant-numeric:tabular-nums}.daily-item-row>button{align-self:end;padding:8px 10px}.daily-stock-line>button{justify-self:start}.daily-stock-total{font-weight:600;font-size:14px;overflow-wrap:anywhere}.daily-empty-hint{margin:6px 0}.stock-card-form label:has(select){min-width:0}
@media(max-width:540px){.daily-item-row{grid-template-columns:repeat(2,minmax(0,1fr));padding:12px}.daily-item-row>label:first-child{grid-column:1/-1}.daily-item-row .daily-item-amount{grid-column:1}.daily-item-row>button{grid-column:2}.daily-stock-line{gap:12px}}

.project-list-toolbar{display:grid;grid-template-columns:minmax(140px,1fr) minmax(140px,1fr);gap:12px;margin-bottom:16px}.project-list-toolbar label{display:grid;gap:6px;font-size:12px}.project-card-groups{display:grid;gap:12px}.project-card-group{border:1px solid var(--line);border-radius:8px;overflow:hidden}.project-card-group>summary{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:14px;background:#edf5f3;color:var(--teal);font-weight:650;cursor:pointer;list-style:none}.project-card-group>summary:before{content:"▸"}.project-card-group[open]>summary:before{content:"▾"}.project-card-group>summary>span:first-child{flex:1}.project-group-count{border-radius:20px;padding:3px 10px;background:#fff;font-size:12px}.project-card-group[hidden],.project-card-group tr[hidden]{display:none}.project-card-group table{margin:0}.project-card-group .table-scroll{max-height:520px;overflow:auto}.project-card-group th{position:sticky;top:0;background:#f5f8f7;z-index:1}@media(max-width:600px){.project-list-toolbar{grid-template-columns:1fr}}

.stock-card-list .stock-meal-cell{font-size:14px;font-weight:650;min-width:205px}.stock-meal-badges{display:flex;flex-wrap:wrap;gap:6px;margin-top:8px}.stock-card-list .stock-meal-badge{display:inline-block;background:#e6f3ef;border:1px solid #c4ded6;color:#155e52;border-radius:6px;padding:5px 8px;font-size:13px;font-weight:650;line-height:1.4;white-space:normal}.stock-card-list .stock-unit{font-size:12px;font-weight:400}.stock-card-form .meal-choices label{font-size:15px;font-weight:600;min-height:44px}.stock-card-form .meal-choices input[type=checkbox]{width:20px;height:20px;min-height:20px}

.parameters-readonly .parameter-layout{grid-template-columns:minmax(0,1fr)}
