.crm-operations{max-width:1280px;margin:20px auto;padding:0 18px 40px;color:#26332a;font:16px/1.5 Arial,sans-serif}.crm-operations *{box-sizing:border-box}.crm-operations__head{background:linear-gradient(110deg,#f3f8e9,#fff);border:1px solid #dce7d2;border-radius:16px;padding:25px 30px;margin-bottom:18px}.crm-operations__head h1{margin:0;font-size:30px;line-height:1.15}.crm-operations__head p{margin:8px 0 0}.crm-operations__eyebrow{color:#639221;font-size:12px;font-weight:800;letter-spacing:.14em}.crm-operations__tabs{display:flex;flex-wrap:wrap;gap:8px;margin:18px 0}.crm-operations__tabs a{padding:10px 16px;border:1px solid #d9e3d8;border-radius:9px;text-decoration:none;background:#fff;color:#293b2d;font-weight:700}.crm-operations__tabs a[aria-current=page]{background:#8dbd19;color:#fff;border-color:#8dbd19}.crm-operations__panel{padding:24px;background:#fff;border:1px solid #dce4dc;border-radius:14px;margin:18px 0;box-shadow:0 4px 16px #1232}.crm-operations__panel h2{margin:0 0 12px;font-size:23px}.crm-operations__panel h3{margin:25px 0 10px}.crm-operations__grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:12px;margin:16px 0 22px;padding:17px;background:#f8faf6;border:1px solid #e1e8dc;border-radius:10px}.crm-operations__grid label,.crm-operations__inline label,.crm-operations__compact label{display:grid;gap:5px;font-size:13px;font-weight:700}.crm-operations input,.crm-operations select{min-width:0;max-width:100%;width:100%;padding:9px;border:1px solid #cbd8ce;border-radius:7px;background:#fff;font:inherit;color:inherit}.crm-operations button{align-self:end;border:0;border-radius:8px;background:#8dbd19;color:#fff;padding:10px 17px;font:inherit;font-weight:700;cursor:pointer;min-height:42px}.crm-operations button:hover{background:#709b13}.crm-operations__inline{display:flex;flex-wrap:wrap;align-items:end;gap:10px;margin:12px 0}.crm-operations__inline label{min-width:130px}.crm-operations__compact{display:flex;flex-wrap:wrap;gap:7px;min-width:230px}.crm-operations__compact label{max-width:130px}.crm-operations__compact input,.crm-operations__compact select{padding:5px}.crm-operations__compact button{min-height:30px;padding:5px 10px}.crm-operations__table-wrap{overflow-x:auto}.crm-operations table{width:100%;border-collapse:collapse;min-width:610px}.crm-operations th,.crm-operations td{text-align:left;vertical-align:top;padding:12px;border-bottom:1px solid #e0e8e2}.crm-operations th{background:#f2f6ef;font-size:13px}.crm-operations td small{color:#64756a}.crm-operations details{margin:10px 0}.crm-operations summary{cursor:pointer}.crm-operations__notice{padding:12px 16px;border-radius:9px;background:#e7f4e5;color:#205231;font-weight:700}.crm-operations__warning{padding:12px 16px;background:#fff5d8;border-radius:9px}.crm-operations__shift{display:flex;flex-wrap:wrap;gap:15px;padding:14px 0;border-bottom:1px solid #e1e8e2}.crm-operations__shift>div{min-width:170px;flex:1}.crm-operations__shift span{display:block;color:#57665c}.crm-operations__substep{margin:4px 0 4px 22px;color:#536a50}.crm-operations__check{display:flex!important;align-items:center;gap:8px}.crm-operations__check input{width:auto}@media(max-width:700px){.crm-operations{padding:0 10px}.crm-operations__head,.crm-operations__panel{padding:18px}.crm-operations__tabs a{flex:1 1 45%;text-align:center}.crm-operations__inline{display:grid;grid-template-columns:1fr 1fr}.crm-operations__inline label{min-width:0}.crm-operations__shift{display:block}}
.crm-operations__dish-list{display:grid;grid-template-columns:repeat(auto-fit,minmax(290px,1fr));gap:8px}.crm-operations__dish{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:11px 13px;border:1px solid #dce4dc;border-radius:9px;background:#fafcf9;color:#26332a;text-decoration:none}.crm-operations__dish:hover,.crm-operations__dish.is-selected{border-color:#8dbd19;background:#f3f9e9}.crm-operations__dish small{color:#627368}.crm-operations__dish strong{flex:none;font-size:12px;padding:4px 7px;border-radius:6px}.crm-operations__dish .is-complete{background:#e2f2e5;color:#26643b}.crm-operations__dish .is-missing{background:#fff0db;color:#8a5010}#crm-recipe-editor{margin-top:26px;padding-top:16px;border-top:1px solid #dce4dc}
.crm-operations__equipment-picker{padding:16px;margin:16px 0;background:#f7faf4;border:1px solid #dbe6d2;border-radius:11px}.crm-operations__equipment-picker h3{margin:0 0 6px}.crm-operations__equipment-picker details{margin-top:14px}.crm-operations__equipment-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(230px,1fr));gap:10px;max-height:390px;overflow:auto;margin:14px 0}.crm-operations__equipment-card{padding:12px;background:#fff;border:1px solid #dce4dc;border-radius:9px}.crm-operations__equipment-card[hidden]{display:none}.crm-operations__equipment-card>label:first-child{display:flex;align-items:flex-start;gap:8px}.crm-operations__equipment-card input[type=checkbox]{width:auto;min-width:auto;margin-top:4px}.crm-operations__equipment-card span,.crm-operations__equipment-card small{display:block}.crm-operations__equipment-card small{color:#657367}.crm-operations__equipment-card label{font-size:13px;font-weight:700}.crm-operations__equipment-card input[type=number]{max-width:110px}
.crm-operations__mode-choice{grid-column:1/-1;display:flex;flex-wrap:wrap;gap:10px;border:0;padding:0;margin:0}.crm-operations__mode-choice legend{font-size:13px;font-weight:700;margin-bottom:7px}.crm-operations__mode-choice label{display:flex;align-items:center;gap:7px;padding:10px 13px;background:#fff;border:1px solid #dce4dc;border-radius:8px;cursor:pointer}.crm-operations__mode-choice input[type=radio]{width:auto;min-width:auto;margin:0}.crm-operations__mode-panel{grid-column:1/-1;display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:12px}.crm-operations__mode-panel[hidden]{display:none}.crm-operations__form-hint{grid-column:1/-1;margin:0;color:#526557}.crm-operations__panel>details{margin:14px 0}.crm-operations__panel>details>summary{font-weight:700}
.crm-operations__request-summary{display:grid;grid-template-columns:repeat(auto-fit,minmax(155px,1fr));gap:10px;margin-top:18px}.crm-operations__request-summary>div{min-width:0;padding:14px;background:#f6f9f5;border:1px solid #dce7da;border-radius:10px}.crm-operations__request-summary small,.crm-operations__request-summary strong,.crm-operations__request-summary span{display:block}.crm-operations__request-summary small{color:#5d705e;font-size:11px;font-weight:800;letter-spacing:.08em}.crm-operations__request-summary strong{margin-top:5px;overflow-wrap:anywhere}.crm-operations__request-summary span{margin-top:3px;color:#56675b;overflow-wrap:anywhere}.crm-operations__template-item{padding:12px 0;border-top:1px solid #e1e8e0}.crm-operations__template-item>span{display:block;color:#56675b}.crm-operations__template-item details{margin-top:8px}.crm-operations__row-edit{min-width:230px}.crm-operations__row-edit .crm-operations__grid{grid-template-columns:repeat(auto-fit,minmax(170px,1fr));margin-top:12px}.crm-operations__secondary{margin-top:8px;background:#fff!important;color:#526557!important;border:1px solid #ccd8cd!important}
.crm-operations__filter-bar{display:flex;align-items:end;flex-wrap:wrap;gap:12px;margin:14px 0;padding:14px;background:#f8faf6;border:1px solid #e1e8dc;border-radius:10px}.crm-operations__filter-bar label{display:grid;gap:5px;flex:1 1 190px;font-size:13px;font-weight:700}.crm-operations__filter-count{padding:9px 0;color:#536a50;font-size:13px;font-weight:700}.crm-operations__ingredient-list tr[hidden],.crm-operations__filter-empty[hidden]{display:none}.crm-operations__filter-empty{padding:14px;color:#56675b}.crm-operations__recipe-count{align-self:end}
.crm-operations__equipment-picker{margin:22px 0;padding:0;overflow:hidden;background:#fff;border:2px solid #8dbd19;border-radius:14px;box-shadow:0 6px 20px #29461b16}.crm-operations__equipment-picker-head{display:flex;justify-content:space-between;align-items:flex-start;gap:20px;padding:19px 22px;background:#eff7e1;border-bottom:1px solid #d9e8bf}.crm-operations__equipment-eyebrow{display:block;color:#547b13;font-size:11px;font-weight:800;letter-spacing:.12em}.crm-operations__equipment-picker-head h3{margin:3px 0 4px;font-size:20px}.crm-operations__equipment-picker-head p{margin:0;color:#4e6050}.crm-operations__equipment-total{flex:none;padding:6px 10px;border-radius:7px;background:#fff;color:#486b14;font-size:13px}.crm-operations__equipment-offer{padding:0 22px;border-bottom:1px solid #e1e8dc}.crm-operations__equipment-filters{display:flex;align-items:end;flex-wrap:wrap;gap:12px;padding:18px 22px 6px}.crm-operations__equipment-filters label{display:grid;gap:5px;flex:1 1 220px;font-size:13px;font-weight:700}.crm-operations__equipment-match-count{padding:9px 0;color:#536a50;font-size:13px;font-weight:700}.crm-operations__equipment-grid{margin:12px 22px 0;padding:2px 3px 2px 0;max-height:390px}.crm-operations__equipment-card:has(input[type=checkbox]:checked){border-color:#8dbd19;background:#f5fae9}.crm-operations__equipment-empty{margin:12px 22px;color:#56675b}.crm-operations__equipment-empty[hidden]{display:none}.crm-operations__equipment-actions{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;padding:15px 22px;background:#f8faf6;border-top:1px solid #e1e8dc}.crm-operations__equipment-selected{font-weight:700;color:#486b14}.crm-operations__equipment-actions button:disabled{background:#b6c3aa;color:#32402c;cursor:not-allowed}@media(max-width:700px){.crm-operations__equipment-picker-head{display:block}.crm-operations__equipment-total{display:inline-block;margin-top:10px}.crm-operations__equipment-actions button{width:100%}}

.crm-operations__new-category[hidden],.crm-operations__recipe-new-category[hidden]{display:none!important}

#crm-recipe-editor,#crm-ingredients,#crm-menu-recipes{scroll-margin-top:24px}

/* Purchasing: clear periods, folded tools and mobile ingredient cards. */
.crm-purchase__intro{margin:0 0 16px;color:#526557}
.crm-purchase__due-events{padding:12px 16px;background:#f6f9f5;border:1px solid #dce7da;border-radius:9px}
.crm-purchase__exports{display:flex;flex-wrap:wrap;gap:8px;margin:16px 0}
.crm-purchase__exports a{display:inline-flex;align-items:center;min-height:42px;padding:8px 12px;border:1px solid #cbd8ce;border-radius:8px;background:#fff;color:#3d6313;font-weight:700;font-size:14px;text-decoration:none}
.crm-purchase__exports a:hover,.crm-purchase__exports a:focus-visible{background:#edf6df}
.crm-purchase__filters{display:grid;grid-template-columns:minmax(140px,1fr) minmax(140px,1fr) minmax(220px,2fr) auto;align-items:end;gap:12px;padding:16px;background:#f8faf6;border:1px solid #e1e8dc;border-radius:10px}
.crm-purchase__filters label{display:grid;gap:5px;min-width:0;font-size:13px;font-weight:700}
.crm-purchase__filter-actions{display:flex;align-items:center;flex-wrap:wrap;gap:10px}
.crm-purchase__filter-actions a{font-size:13px;color:#526557}
.crm-purchase__filters .crm-purchase__extra-filters{grid-column:1/-1;margin:0;padding-top:10px;border-top:1px solid #dce4dc}
.crm-purchase__extra-filters>summary{font-weight:700;color:#526557}
.crm-purchase__extra-filters>div{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-top:12px}
.crm-purchase__summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:18px 0}
.crm-purchase__summary>div{padding:12px;background:#f6f9f5;border:1px solid #dce7da;border-radius:9px;overflow-wrap:anywhere}
.crm-purchase__summary small,.crm-purchase__summary strong{display:block}
.crm-purchase__summary small{font-size:11px;letter-spacing:.05em;color:#526557;font-weight:700}
.crm-purchase__summary strong{margin-top:5px;font-size:14px}
.crm-purchase__summary .has-warning{background:#fff5d8;border-color:#e8d49b}
.crm-operations .crm-purchase__table{min-width:0;table-layout:auto}
.crm-purchase__table th:first-child{width:31%}.crm-purchase__table th:nth-child(2){width:16%}.crm-purchase__table th:nth-child(3){width:35%}
.crm-purchase__table td{overflow-wrap:anywhere}
.crm-purchase__table td strong,.crm-purchase__table td small{display:block}
.crm-purchase__table td p{margin:6px 0;font-size:13px}
.crm-purchase__table .crm-purchase__sources{margin:8px 0 0;font-size:13px}
.crm-purchase__sources>summary,.crm-purchase__edit>summary{font-size:13px;font-weight:700;color:#526557;min-height:36px;padding:7px 0}
.crm-purchase__edit[open]>summary{margin-bottom:8px}
.crm-purchase__edit .crm-operations__compact{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));min-width:0;padding:12px;background:#f8faf6;border:1px solid #e1e8dc;border-radius:9px}
.crm-purchase__edit .crm-operations__compact label{max-width:none;min-width:0}
.crm-purchase__edit .crm-operations__compact :is(input,select,button){min-height:42px}
.crm-purchase__edit .crm-operations__compact button{grid-column:1/-1}
.crm-purchase__state{display:inline-block;padding:5px 9px;border-radius:7px;background:#eef2ec;color:#455647;font-size:13px;font-weight:700}
.crm-purchase__state--ordered,.crm-purchase__state--planned{background:#eaf2fc;color:#285579}
.crm-purchase__state--bought{background:#e2f2e5;color:#26643b}
.crm-purchase__state--unavailable{background:#fce9e9;color:#962e2e}
.crm-purchase__state--partly_available{background:#fff0db;color:#8a5010}
.crm-purchase summary:focus-visible{outline:3px solid #476f0c;outline-offset:3px}
@media(max-width:1000px){.crm-purchase__filters{grid-template-columns:repeat(2,minmax(0,1fr))}.crm-purchase__request-filter{grid-column:1/-1}.crm-purchase__summary{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:760px){
 .crm-purchase__filters,.crm-purchase__extra-filters>div{grid-template-columns:minmax(0,1fr)}
 .crm-purchase__summary{grid-template-columns:minmax(0,1fr)}
 .crm-purchase__list{overflow:visible}
 .crm-purchase__table thead{display:none}
 .crm-operations .crm-purchase__table,.crm-purchase__table tbody,.crm-purchase__table tr{display:block;width:100%}
 .crm-purchase__table tr{margin:12px 0;padding:12px;border:1px solid #dce4dc;border-radius:10px}
 .crm-purchase__table td:nth-child(n){display:grid;grid-template-columns:80px minmax(0,1fr);gap:12px;width:100%;padding:8px 0;border:0}
 .crm-purchase__table td::before{content:attr(data-label);font-size:11px;font-weight:700;color:#526557;text-transform:uppercase}
 .crm-purchase__table .crm-purchase__empty td{display:block}
 .crm-purchase__edit .crm-operations__compact{grid-template-columns:minmax(0,1fr)}
}
/* Team and timeline: visible plan, folded setup, labelled mobile cards. */
.crm-team__overview{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}
.crm-team__overview>div{display:grid;gap:4px;padding:14px;border:1px solid #dce4dc;border-radius:9px;background:#f6f9f5}
.crm-team__overview strong{font-size:25px;line-height:1.2}.crm-team__overview span{font-size:13px;font-weight:700;color:#526557}
.crm-team__overview .has-warning{background:#fff5d8;border-color:#e8d49b}
.crm-team__hint{font-size:13px;color:#526557}
.crm-team__empty{padding:12px;border:1px dashed #cbd8ce;border-radius:9px;background:#f8faf6;color:#526557}
.crm-operations .crm-team__table{min-width:0;table-layout:auto}
.crm-team__table th:nth-child(1){width:20%}.crm-team__table th:nth-child(2){width:24%}.crm-team__table th:nth-child(3){width:25%}.crm-team__table th:nth-child(4){width:31%}
.crm-team__table td{overflow-wrap:anywhere}
.crm-team__table td strong,.crm-team__table td small{display:block}
.crm-team__table td small{margin-top:3px}
.crm-team__state{display:inline-block;padding:5px 9px;border-radius:7px;font-size:13px;font-weight:700;background:#eef2ec;color:#455647}
.crm-team__state--planned{background:#fff0db;color:#8a5010}
.crm-team__state--confirmed{background:#eaf2fc;color:#285579}
.crm-team__state--done{background:#e2f2e5;color:#26643b}
.crm-team__state--cancelled{background:#fce9e9;color:#962e2e}
.crm-team .crm-team__status-form{display:flex;align-items:center;flex-wrap:wrap;gap:8px;margin:10px 0 0}
.crm-team__status-form select{flex:1 1 110px;width:auto;min-height:44px;font-size:13px}
.crm-team__status-form button{min-height:44px;padding:8px 12px;font-size:13px}
.crm-team .crm-team__edit,.crm-team .crm-team__note{margin:10px 0 0}
.crm-team__edit>summary,.crm-team__note>summary{padding:7px 0;min-height:36px;color:#526557;font-size:13px;font-weight:700}
.crm-team__note p{font-size:13px;margin:6px 0;white-space:pre-wrap}
.crm-team__edit .crm-operations__grid{grid-template-columns:repeat(2,minmax(0,1fr));padding:12px;margin:10px 0}
.crm-team__edit .crm-operations__grid label{min-width:0}
.crm-team__edit .crm-operations__check,.crm-team__edit .crm-operations__grid button{grid-column:1/-1}
.crm-team__warning{color:#8a5010!important;font-weight:700}
.crm-team__activity-form label{grid-column:1/-1}
.crm-logistics__completion{margin:16px 0 0}.crm-logistics__completion button{min-height:48px;padding:12px 18px}@media(max-width:700px){.crm-logistics__completion button{width:100%}}
.crm-logistics__overview.crm-mine__overview{grid-template-columns:repeat(4,minmax(0,1fr))}.crm-mine .crm-mine__day{margin:24px 0 10px;font-size:17px;color:#526557}.crm-mine__task{margin:12px 0;padding:15px;border:1px solid #dce4dc;border-radius:9px;background:#fff;overflow-wrap:anywhere}.crm-mine__task h4{margin:5px 0;font-size:17px;line-height:1.4}.crm-mine__task p{margin:5px 0;font-size:14px}.crm-mine__tasks>details>summary{min-height:44px;padding:10px 0;font-weight:700}@media(max-width:900px){.crm-logistics__overview.crm-mine__overview{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:700px){.crm-logistics__overview.crm-mine__overview{grid-template-columns:1fr}}
.crm-vehicles__edit>summary{min-height:44px;padding:10px 0;font-weight:700;overflow-wrap:anywhere}.crm-vehicles__note{grid-column:1/-1}.crm-vehicles textarea{width:100%;padding:10px;border:1px solid #cbd8ce;border-radius:7px;background:#fff;font:inherit;color:inherit;resize:vertical}.crm-vehicles summary:focus-visible{outline:3px solid #476f0c;outline-offset:3px}
.crm-logistics__overview{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:20px 0}
.crm-logistics__overview>div{display:grid;gap:4px;padding:14px;background:#f6f9f5;border:1px solid #dce4dc;border-radius:9px}
.crm-logistics__overview strong{font-size:25px;line-height:1.2}.crm-logistics__overview span{font-size:13px;font-weight:700;color:#526557}
.crm-logistics__hint,.crm-logistics__empty{color:#526557;font-size:14px}.crm-logistics__empty{padding:18px;background:#f6f9f5;border-radius:9px}
.crm-logistics__card{padding:20px;margin:14px 0;border:1px solid #dce4dc;border-radius:12px;background:#fff;overflow-wrap:anywhere}
.crm-logistics__card.is-today{border-color:#96b56c;background:#fbfdf7}
.crm-logistics__card-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px}
.crm-logistics .crm-logistics__card-head h3{margin:4px 0;font-size:21px;line-height:1.3}.crm-logistics__card-head p{margin:3px 0;font-size:14px;color:#526557}
.crm-logistics__number{font-size:12px;font-weight:700;color:#526557}.crm-logistics__badges{display:flex;flex-wrap:wrap;gap:7px;flex-shrink:0}
.crm-logistics__state,.crm-logistics__today{display:inline-block;padding:5px 10px;border-radius:20px;background:#edf1f5;color:#35536d;font-size:13px;font-weight:700}
.crm-logistics__state--confirmed{background:#e5f3e9;color:#25613b}.crm-logistics__state--done{background:#edf0ed;color:#4d6153}.crm-logistics__today{background:#ebf2df;color:#456413}
.crm-logistics__facts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;margin:18px 0;padding:18px 0;border-top:1px solid #e0e8e2;border-bottom:1px solid #e0e8e2}
.crm-logistics__facts>div{min-width:0}.crm-logistics__facts dt{font-size:12px;font-weight:700;color:#526557;margin-bottom:5px}.crm-logistics__facts dd{margin:0}.crm-logistics__facts dd>span,.crm-logistics__facts dd>strong{display:block}.crm-logistics__facts dd>span{font-size:14px;margin-top:3px}.crm-logistics__warning{color:#85501b!important;font-weight:700}
.crm-logistics__event{font-size:14px;color:#526557}.crm-logistics__note>summary{min-height:44px;padding:10px 0;font-weight:700}.crm-logistics__note p{margin:4px 0;padding:12px;background:#f6f9f5;border-radius:8px;white-space:normal}
.crm-logistics__actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:14px}.crm-logistics__actions a{display:inline-flex;align-items:center;min-height:44px;padding:9px 12px;border:1px solid #cbd8ce;border-radius:8px;background:#fff;color:#355923;font-size:14px;font-weight:700;text-decoration:none}
.crm-logistics__actions a:hover{background:#edf6df}.crm-logistics a:focus-visible,.crm-logistics summary:focus-visible{outline:3px solid #476f0c;outline-offset:3px}
@media(max-width:700px){.crm-logistics__overview{grid-template-columns:1fr}.crm-logistics__overview>div{display:flex;align-items:center;gap:12px;padding:12px}.crm-logistics__overview strong{min-width:30px}.crm-logistics__card{padding:16px}.crm-logistics__card-head{display:block}.crm-logistics__badges{margin-top:10px}.crm-logistics__facts{grid-template-columns:1fr;gap:16px}.crm-logistics__actions a{flex:1 1 100%;justify-content:center}}
.crm-team__activity-form textarea{box-sizing:border-box;width:100%;padding:12px;border:1px solid #cbd8ce;border-radius:7px;font:inherit;color:inherit;resize:vertical;background:#fff}
.crm-team button:disabled{background:#b6c3aa;color:#32402c;cursor:not-allowed}
.crm-team .crm-team__closed{margin:18px 0;padding:12px;border:1px solid #dce4dc;border-radius:9px;background:#f8faf6}
.crm-team__closed>summary{font-weight:700;color:#526557;padding:5px 0}
.crm-team__step{display:grid;grid-template-columns:120px minmax(0,1fr) minmax(210px,.6fr);gap:16px;padding:16px 0;border-bottom:1px solid #dce4dc}
.crm-team__step-time{display:grid;align-content:start;gap:3px}
.crm-team__step-time strong{font-size:13px;color:#526557}
.crm-team__step-time span{font-size:20px;font-weight:700}
.crm-team__step-detail>strong,.crm-team__step-detail>span,.crm-team__step-detail>small{display:block;overflow-wrap:anywhere}
.crm-team__step-detail>strong{font-size:18px}.crm-team__step-detail>span{font-size:14px;margin-top:4px}.crm-team__step-detail>small{font-size:12px;color:#526557}
.crm-team__step-actions{min-width:0}.crm-team__step.is-done{opacity:.85}
.crm-team summary:focus-visible,.crm-team__directory summary:focus-visible{outline:3px solid #476f0c;outline-offset:3px}
@media(max-width:1000px){.crm-team__overview{grid-template-columns:repeat(2,minmax(0,1fr))}.crm-team__step{grid-template-columns:100px minmax(0,1fr)}.crm-team__step-actions{grid-column:2}}
@media(max-width:760px){
 .crm-team__table-wrap{overflow:visible}
 .crm-team__table thead{display:none}
 .crm-operations .crm-team__table,.crm-team__table tbody,.crm-team__table tr{display:block;width:100%}
 .crm-team__table tr{padding:12px;margin:12px 0;border:1px solid #dce4dc;border-radius:10px;background:#fff}
 .crm-team__table td:nth-child(n){display:grid;grid-template-columns:80px minmax(0,1fr);gap:10px;width:100%;padding:7px 0;border:0}
 .crm-team__table td::before{content:attr(data-label);font-size:11px;font-weight:700;color:#526557;text-transform:uppercase}
 .crm-team__edit .crm-operations__grid{grid-template-columns:minmax(0,1fr)}
 .crm-team .crm-team__status-form{display:grid;grid-template-columns:minmax(0,1fr)}
 .crm-team__step{grid-template-columns:minmax(0,1fr);gap:10px;padding:14px;border:1px solid #dce4dc;border-radius:10px;margin:12px 0}
 .crm-team__step-time{display:flex;align-items:baseline;flex-wrap:wrap;gap:10px}
 .crm-team__step-actions{grid-column:auto}
 .crm-team__closed{padding:10px!important}
 .crm-team #crm-team-add-assignment .crm-operations__grid,.crm-team #crm-team-add-timeline .crm-operations__grid,.crm-team__directory .crm-operations__grid{grid-template-columns:minmax(0,1fr)}
}

.crm-operations__context{position:sticky;top:var(--wp-admin--admin-bar--height,0px);z-index:8;margin:14px 0 20px;padding:15px 18px;background:#f5f9eb;border:2px solid #8dbd19;border-radius:12px;box-shadow:0 7px 22px #243b181c}.crm-operations__context-head{display:flex;align-items:baseline;flex-wrap:wrap;gap:7px 12px}.crm-operations__context-head>span:first-child{font-size:11px;font-weight:800;letter-spacing:.1em;color:#557d19}.crm-operations__context-head>strong{font-size:19px}.crm-operations__context-facts{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin-top:10px}.crm-operations__context-facts>div{min-width:0;padding:8px 10px;background:#fff;border:1px solid #dce8cf;border-radius:8px}.crm-operations__context-facts small,.crm-operations__context-facts strong{display:block}.crm-operations__context-facts small{font-size:10px;font-weight:800;letter-spacing:.08em;color:#607460}.crm-operations__context-facts strong{margin-top:2px;overflow-wrap:anywhere}.crm-operations__context-location{margin:8px 0 0;font-size:13px}.crm-operations__context-dishes{margin:6px 0 0!important;font-size:13px}.crm-operations__context-dishes summary{font-weight:700}.crm-operations__context-dishes ul{display:flex;flex-wrap:wrap;gap:2px 18px;margin:6px 0 0 17px;padding:0}.crm-operations__context-dishes li{margin:0}@media(max-width:700px){.crm-operations__context{position:relative;top:auto;padding:13px}.crm-operations__context-facts{grid-template-columns:repeat(2,minmax(0,1fr))}}

.crm-operations__recipe-bulk{margin:18px 0;padding:17px;background:#f3f8e9;border:1px solid #d3e4bd;border-radius:11px}.crm-operations__recipe-bulk h4{margin:0 0 4px;font-size:17px}.crm-operations__recipe-bulk p{margin:0 0 12px}.crm-operations__recipe-bulk-row{display:grid;grid-template-columns:minmax(140px,1.2fr) minmax(190px,2fr) minmax(110px,1fr) minmax(95px,.8fr) minmax(100px,.8fr) auto;gap:10px;align-items:end;padding:10px 0;border-top:1px solid #d7e4c9}.crm-operations__recipe-bulk-row label{display:grid;gap:4px;min-width:0;font-size:13px;font-weight:700}.crm-operations__recipe-bulk-row .crm-operations__recipe-remove{white-space:nowrap}.crm-operations__recipe-bulk-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:12px}.crm-operations__recipe-bulk-actions button{align-self:auto}@media(max-width:1100px){.crm-operations__recipe-bulk-row{grid-template-columns:repeat(2,minmax(0,1fr))}.crm-operations__recipe-bulk-row label:nth-child(2){grid-column:1/-1}.crm-operations__recipe-bulk-row .crm-operations__recipe-remove{grid-column:1/-1}}@media(max-width:750px){.crm-operations__recipe-bulk-row label:first-child{grid-column:1/-1}.crm-operations__recipe-bulk-actions button{flex:1 1 100%}}

.crm-operations__context-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:10px}.crm-operations__context-actions a{display:inline-flex;align-items:center;min-height:35px;padding:6px 10px;background:#fff;border:1px solid #b9d38e;border-radius:7px;color:#3d6313;font-size:12px;font-weight:800;text-decoration:none}.crm-operations__context-actions a:hover,.crm-operations__context-actions a:focus{background:#e7f3d0}

.crm-operations__recipe-edit{min-width:280px}.crm-operations__recipe-edit>summary{font-weight:700;color:#4d7516}.crm-operations__recipe-edit-form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:12px 0}.crm-operations__recipe-edit-form label{display:grid;gap:4px;min-width:0;font-size:12px;font-weight:700}.crm-operations__recipe-edit-form label:nth-child(2),.crm-operations__recipe-edit-form label:nth-child(6),.crm-operations__recipe-edit-form p,.crm-operations__recipe-edit-form button{grid-column:1/-1}.crm-operations__recipe-edit-form p{margin:0;font-size:12px;color:#60705e}.crm-operations__recipe-edit>.crm-operations__secondary{margin-top:8px}.crm-operations__recipe-edit>form:last-child button{background:#f7f8f6;color:#9b3030;border:1px solid #e9b4b4}

.crm-operations__context~#crm-ingredients,.crm-operations__context~#crm-menu-recipes,.crm-operations__context~.crm-operations__panel #crm-recipe-editor{scroll-margin-top:225px}@media(max-width:700px){.crm-operations__context~#crm-ingredients,.crm-operations__context~#crm-menu-recipes,.crm-operations__context~.crm-operations__panel #crm-recipe-editor{scroll-margin-top:24px}}

.crm-operations__recipe-review{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:12px;margin:18px 0 0;padding:15px;background:#f7faf3;border:1px solid #d6e4ce;border-radius:9px}.crm-operations__recipe-review p{margin:0}.crm-operations__recipe-review small{color:#566b57}.crm-operations__recipe-review button{align-self:auto}

.crm-operations__tabs .crm-operations__nav-group{position:relative;margin:0;z-index:9}.crm-operations__nav-group>summary{display:flex;align-items:center;justify-content:space-between;gap:13px;padding:10px 16px;border:1px solid #d9e3d8;border-radius:9px;background:#fff;color:#293b2d;font-weight:700;list-style:none;cursor:pointer}.crm-operations__nav-group>summary::-webkit-details-marker{display:none}.crm-operations__nav-group>summary::after{content:"⌄";font-size:18px;line-height:1}.crm-operations__nav-group.is-active>summary{background:#8dbd19;color:#fff;border-color:#8dbd19}.crm-operations__nav-group>summary:focus-visible,.crm-operations__nav-menu a:focus-visible{outline:3px solid #476f0c;outline-offset:2px}.crm-operations__nav-group[open]>summary{border-bottom-left-radius:0;border-bottom-right-radius:0}.crm-operations__nav-menu{position:absolute;left:0;top:100%;min-width:100%;width:max-content;max-width:min(320px,90vw);padding:5px;background:#fff;border:1px solid #d9e3d8;border-radius:0 9px 9px 9px;box-shadow:0 12px 25px #1b322626}.crm-operations__tabs .crm-operations__nav-menu a{display:block;white-space:nowrap;padding:9px 11px;border:0;border-radius:6px;background:#fff;color:#293b2d}.crm-operations__tabs .crm-operations__nav-menu a:hover,.crm-operations__tabs .crm-operations__nav-menu a[aria-current=page]{background:#edf6df;color:#355a0e}@media(max-width:700px){.crm-operations__tabs .crm-operations__nav-group{flex:1 1 45%;min-width:0}.crm-operations__nav-group>summary{min-height:48px}.crm-operations__nav-menu{width:100%;max-width:none}.crm-operations__tabs .crm-operations__nav-menu a{text-align:left;white-space:normal}}

.crm-kitchen-monitor{color:#203025;font:18px/1.45 Arial,sans-serif}.crm-kitchen-monitor *{box-sizing:border-box}.crm-kitchen-monitor--standalone{max-width:1700px;margin:0 auto;padding:20px}.crm-kitchen-monitor__head{display:flex;justify-content:space-between;align-items:center;gap:20px;padding:24px 28px;background:#20392b;color:#fff;border-radius:14px}.crm-kitchen-monitor__head span{font-size:13px;font-weight:800;letter-spacing:.13em;color:#b4d86b}.crm-kitchen-monitor__head h2{margin:4px 0;font-size:clamp(28px,3vw,46px);color:#fff}.crm-kitchen-monitor__head p{margin:0;font-size:16px}.crm-kitchen-monitor__head>strong{white-space:nowrap;font-size:21px}.crm-kitchen-monitor__day{margin:18px 0;padding:20px 24px;border:2px solid #d5ded3;border-radius:14px;background:#fff}.crm-kitchen-monitor__day.is-today{border-color:#8dbd19;background:#f7faef}.crm-kitchen-monitor__day.is-complete{border-color:#408354}.crm-kitchen-monitor__day-head{display:flex;justify-content:space-between;align-items:center;gap:15px}.crm-kitchen-monitor__day-head small{display:block;font-size:12px;font-weight:900;letter-spacing:.1em;color:#58781f}.crm-kitchen-monitor__day-head h3{margin:2px 0;font-size:clamp(24px,2.5vw,36px)}.crm-kitchen-monitor__day-head span{font-size:15px;color:#516457}.crm-kitchen-monitor__state{padding:7px 12px;border-radius:8px;background:#fff0c7;color:#765113;font-size:16px}.crm-kitchen-monitor__day.is-complete .crm-kitchen-monitor__state{background:#e1f2e4;color:#215b32}.crm-kitchen-monitor__items{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:10px;margin:17px 0}.crm-kitchen-monitor__item{display:grid;gap:2px;padding:13px 16px;border:1px solid #d9e1d5;border-radius:9px;background:#fff}.crm-kitchen-monitor__item>strong{font-size:21px}.crm-kitchen-monitor__item>span{font-size:27px;font-weight:800;color:#243b29}.crm-kitchen-monitor__item small{display:block;font-size:13px;color:#56675b}.crm-kitchen-monitor__day form button{border:0;border-radius:9px;background:#267347;color:#fff;padding:12px 18px;font:inherit;font-weight:800;cursor:pointer}.crm-kitchen-monitor__day form button:hover{background:#195432}.crm-kitchen-monitor__alert{display:grid;gap:4px;margin-top:14px;padding:13px 16px;border-radius:9px;background:#fff1ce;color:#694513}.crm-kitchen-monitor__empty,.crm-kitchen-monitor__completed{margin:15px 0 0;font-weight:700}.crm-kitchen-monitor__hint{font-size:14px;color:#536459}@media(max-width:700px){.crm-kitchen-monitor--standalone{padding:10px}.crm-kitchen-monitor__head,.crm-kitchen-monitor__day-head{display:block}.crm-kitchen-monitor__head>strong,.crm-kitchen-monitor__state{display:inline-block;margin-top:10px}.crm-kitchen-monitor__day{padding:15px}.crm-kitchen-monitor__items{grid-template-columns:1fr}}
.crm-operations .crm-operations__pack-fold{margin:16px 0;padding:16px;border:1px solid #dce7d2;border-radius:11px;background:#f7faf4}
.crm-operations .crm-operations__pack-fold>summary{padding:4px 0;font-size:17px;font-weight:700;line-height:1.5;cursor:pointer;overflow-wrap:anywhere}
.crm-operations .crm-operations__pack-fold>summary:focus-visible{outline:3px solid #476f0c;outline-offset:4px;border-radius:4px}
.crm-operations .crm-operations__pack-fold[open]>summary{margin-bottom:16px}
.crm-operations .crm-pack-list .crm-pack-list__table { min-width:0; table-layout:auto; }
.crm-operations .crm-pack-list th:nth-child(1) { width:23%; }
.crm-operations .crm-pack-list th:nth-child(2) { width:13%; }
.crm-operations .crm-pack-list th:nth-child(3) { width:22%; }
.crm-operations .crm-pack-list th:nth-child(4) { width:29%; }
.crm-operations .crm-pack-list th:nth-child(5) { width:13%; }
.crm-operations .crm-pack-list td { padding:10px 12px; vertical-align:middle; overflow-wrap:anywhere; }
.crm-operations .crm-pack-list td small,.crm-operations .crm-pack-list td strong { display:block; }
.crm-operations .crm-pack-list__quantity { font-weight:700; }
.crm-operations .crm-pack-list__status { display:flex; flex-wrap:wrap; align-items:center; gap:8px; margin:0; }
.crm-operations .crm-pack-list__status select { flex:1 1 110px; width:auto; min-height:44px; }
.crm-operations .crm-pack-list__status button { min-height:44px; padding:8px 10px; font-size:13px; }
.crm-operations .crm-pack-list .crm-operations__row-edit { min-width:0; margin:0; }
.crm-operations .crm-pack-list .crm-operations__row-edit>summary { min-height:44px; padding:10px 0; font-weight:700; line-height:24px; }
.crm-operations .crm-pack-list .crm-operations__row-edit[open] { position:relative; min-width:230px; }
.crm-operations .crm-pack-list .crm-operations__row-edit[open] form { width:100%; min-width:0; }
@media(max-width:760px) {
    .crm-operations .crm-pack-list { overflow:visible; }
    .crm-operations .crm-pack-list thead { display:none; }
    .crm-operations .crm-pack-list table,.crm-operations .crm-pack-list tbody { display:block; width:100%; min-width:0; }
    .crm-operations .crm-pack-list tr { display:grid; grid-template-columns:minmax(0,1fr) auto; margin:12px 0; padding:14px; border:1px solid #dce4dc; border-radius:10px; background:#fff; }
    .crm-operations .crm-pack-list td:nth-child(n) { display:block; width:auto; min-width:0; padding:6px 0; border:0; }
    .crm-operations .crm-pack-list td:nth-child(n+3) { grid-column:1/-1; }
    .crm-operations .crm-pack-list td:nth-child(2) { padding-left:12px; text-align:right; }
    .crm-operations .crm-pack-list td:nth-child(n+3)::before { content:attr(data-label); display:block; margin-bottom:4px; color:#526557; font-size:12px; font-weight:700; }
    .crm-operations .crm-pack-list td:nth-child(5)::before { display:none; }
    .crm-operations .crm-pack-list .crm-operations__row-edit .crm-operations__grid { grid-template-columns:minmax(0,1fr); padding:12px; }
    .crm-operations .crm-pack-list .crm-operations__row-edit[open] { min-width:0; }
    .crm-operations .crm-operations__context { position:static; padding:12px; }
    .crm-operations .crm-operations__context-facts { gap:6px; }
    .crm-operations .crm-operations__context-facts>div { padding:8px; }
}
.crm-food-stock__item{border:1px solid #d8e2dd;border-radius:14px;padding:20px;margin:18px 0;scroll-margin-top:30px}.crm-food-stock__item h3{margin:0 0 6px}.crm-food-stock__metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:18px 0}.crm-food-stock__metrics>div{background:#f3f7f4;border-radius:10px;padding:14px}.crm-food-stock__metrics dt{font-size:13px;color:#63736d}.crm-food-stock__metrics dd{margin:8px 0 0;font-size:20px;font-weight:700;overflow-wrap:anywhere}.crm-food-stock__metrics .has-shortage{background:#fff2df;color:#86570f}.crm-food-stock__reservation{padding:16px 0;border-bottom:1px solid #d8e2dd}.crm-food-stock__reservation p{margin:6px 0}.crm-food-stock__filters{margin:24px 0}.crm-food-stock__booking-help{grid-column:1/-1}.crm-food-stock__booking [hidden]{display:none!important}.crm-food-stock__category{padding:14px 18px;border:1px solid #d8e2dd;border-radius:12px;background:#f8faf6}.crm-food-stock__category>summary{display:flex;justify-content:space-between;align-items:center;gap:12px;min-height:44px;font-weight:700}.crm-food-stock__category>summary::before{content:"▸"}.crm-food-stock__category[open]>summary::before{content:"▾"}.crm-food-stock__category>summary>span{flex:1;overflow-wrap:anywhere}.crm-food-stock__category>summary>small{font-size:12px;color:#63736d}.crm-food-stock__category>summary:focus-visible{outline:3px solid #476f0c;outline-offset:3px}.crm-food-stock__category .crm-food-stock__item{background:#fff}.crm-food-stock__untracked{font-size:13px;color:#63736d}.crm-food-stock__filter-actions{align-self:end;display:flex;align-items:center;flex-wrap:wrap;gap:12px}.crm-food-stock__filter-actions a{color:#3d6313}.crm-food-stock__result{color:#526557}@media(max-width:700px){.crm-food-stock__metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.crm-food-stock__item{padding:14px}.crm-food-stock__metrics dd{font-size:17px}.crm-food-stock__category{padding:10px}.crm-food-stock__category>summary{flex-wrap:wrap}.crm-food-stock__filters,.crm-food-stock__count .crm-operations__grid{grid-template-columns:minmax(0,1fr)}}
.crm-purchase-close{margin:20px 0;padding:18px;border:1px solid #d8e2dd;border-radius:12px;background:#f7faf5}.crm-purchase-close>summary{font-weight:700;cursor:pointer}.crm-purchase-close__items{display:grid;gap:10px;margin:16px 0}.crm-purchase-close__items>label{display:flex;justify-content:space-between;align-items:center;gap:18px;padding:12px;border:1px solid #d8e2dd;border-radius:10px;background:#fff}.crm-purchase-close__items small{display:block;color:#63736d;font-weight:400;margin-top:5px}.crm-purchase-close__quantity{display:flex;align-items:center;gap:8px;flex:0 0 auto}.crm-purchase-close__quantity input{width:130px;min-height:44px}.crm-purchase-close .crm-operations__check{display:flex;align-items:flex-start;gap:12px;text-transform:none;letter-spacing:normal;font-weight:600;padding:12px 0}.crm-purchase-close .crm-operations__check input{width:22px;height:22px;flex:0 0 22px;margin:0}.crm-food-deliveries{margin:24px 0;padding:18px;border:1px solid #d8e2dd;border-radius:12px;background:#f7faf5}.crm-food-deliveries h3{margin-top:0}.crm-food-deliveries__delivery{background:#fff}.crm-kitchen-monitor .crm-purchase-close input,.crm-kitchen-monitor .crm-purchase-close select{padding:10px;border:1px solid #ccd8cd;border-radius:8px;font:inherit}.crm-kitchen-monitor .crm-purchase-close label{color:inherit;font-size:14px}.crm-kitchen-monitor .crm-purchase-close button{white-space:normal}@media(max-width:700px){.crm-purchase-close__items>label{align-items:flex-start;flex-direction:column;gap:10px}.crm-purchase-close__quantity{width:100%}.crm-purchase-close__quantity input{flex:1;min-width:0;max-width:220px}.crm-purchase-close,.crm-food-deliveries{padding:14px}.crm-purchase-close .crm-operations__grid{grid-template-columns:1fr}}
/* Recipe workspace: primary data first, secondary tools folded, usable on mobile. */
.crm-operations .crm-ingredient-picker{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;grid-column:1/-1;min-width:0}.crm-operations .crm-ingredient-picker>label{display:grid;gap:5px;min-width:0;font-size:13px;font-weight:700}.crm-operations .crm-ingredient-picker__count,.crm-operations .crm-ingredient-picker__pages{grid-column:1/-1;margin:0;font-size:13px;color:#526557}.crm-operations .crm-ingredient-picker__pages{display:flex;flex-wrap:wrap;gap:8px}.crm-operations .crm-ingredient-picker__pages[hidden]{display:none!important}.crm-operations .crm-ingredient-picker__pages button{font-size:13px;margin:0}.crm-operations .crm-ingredient-picker button:disabled{opacity:.5;cursor:default}#crm-recipe-editor .crm-ingredient-picker>label{grid-column:auto}#crm-recipe-bulk-form .crm-operations__recipe-bulk-row>label{grid-column:span 2}#crm-recipe-bulk-form .crm-operations__recipe-remove{grid-column:1/-1}@media(max-width:700px){.crm-operations .crm-ingredient-picker{grid-template-columns:1fr}#crm-recipe-editor .crm-ingredient-picker>label{grid-column:1/-1}#crm-recipe-bulk-form .crm-operations__recipe-bulk-row>label{grid-column:auto}#crm-recipe-bulk-form .crm-operations__recipe-bulk-row>label:last-of-type{grid-column:1/-1}}
@media(max-width:700px){.crm-operations #crm-menu-recipes>.crm-operations__inline{grid-template-columns:1fr}.crm-operations #crm-menu-recipes>.crm-operations__inline select{width:100%}}
.crm-operations .crm-operations__recipe-overview{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:18px 0}.crm-operations .crm-operations__recipe-overview>div{padding:12px;border:1px solid #dce4dc;border-radius:10px;background:#f8faf6}.crm-operations .crm-operations__recipe-overview dt{font-size:13px;color:#526557}.crm-operations .crm-operations__recipe-overview dd{font-size:23px;font-weight:700;margin:4px 0 0}
.crm-operations .crm-operations__recipe-section,.crm-operations .crm-operations__ingredient-group,.crm-operations .crm-operations__recipe-fold{border:1px solid #dce4dc;border-radius:10px;background:#f8faf6;padding:12px 16px;margin:12px 0}.crm-operations .crm-operations__recipe-section>summary,.crm-operations .crm-operations__ingredient-group>summary{display:flex;align-items:center;gap:10px;min-height:44px;font-weight:700;list-style:none}.crm-operations .crm-operations__recipe-section>summary::before,.crm-operations .crm-operations__ingredient-group>summary::before{content:'▸'}.crm-operations .crm-operations__recipe-section[open]>summary::before,.crm-operations .crm-operations__ingredient-group[open]>summary::before{content:'▾'}.crm-operations .crm-operations__recipe-section>summary>span,.crm-operations .crm-operations__ingredient-group>summary>span{flex:1;overflow-wrap:anywhere}.crm-operations .crm-operations__recipe-section>summary>small,.crm-operations .crm-operations__ingredient-group>summary>small{font-size:12px;color:#526557}.crm-operations .crm-operations__recipe-section .crm-operations__dish-list{margin-top:10px;grid-template-columns:repeat(auto-fit,minmax(min(100%,290px),1fr))}.crm-operations .crm-operations__dish{flex-wrap:wrap}.crm-operations .crm-operations__dish>span{min-width:0;overflow-wrap:anywhere}.crm-operations .crm-operations__recipe-browser [hidden],.crm-operations .crm-operations__ingredient-list [hidden]{display:none!important}
.crm-operations .crm-operations__recipe-fold>summary{font-weight:700;min-height:44px;align-content:center}.crm-operations .crm-operations__recipe-fold[open]>summary{margin-bottom:12px}.crm-operations .crm-operations__recipe-portions>summary{font-weight:700;font-size:20px;min-height:44px}.crm-operations .crm-operations__recipe-edit{min-width:0}.crm-operations .crm-operations__recipe-table table{min-width:0}.crm-operations .crm-operations__recipe-table td:last-child:has(.crm-operations__recipe-edit){width:38%}.crm-operations .crm-operations__ingredient-links{display:flex;flex-wrap:wrap;gap:6px 16px;margin-top:6px}.crm-operations .crm-operations__ingredient-links a{color:#3d6313;min-height:32px;align-content:center}.crm-operations .crm-operations__recipe-bulk-row{grid-template-columns:repeat(6,minmax(0,1fr))}.crm-operations .crm-operations__recipe-bulk-row label{grid-column:auto}.crm-operations .crm-operations__recipe-bulk-row label:nth-child(1),.crm-operations .crm-operations__recipe-bulk-row label:nth-child(2),.crm-operations .crm-operations__recipe-bulk-row label:nth-child(3){grid-column:span 2}.crm-operations .crm-operations__recipe-bulk-row .crm-operations__recipe-remove{grid-column:auto}.crm-operations .crm-operations__recipe-bulk-status{font-size:13px;margin:10px 0 0;color:#526557}.crm-operations summary:focus-visible,.crm-operations .crm-operations__dish:focus-visible{outline:3px solid #476f0c;outline-offset:3px}
@media(max-width:700px){.crm-operations .crm-operations__recipe-overview{grid-template-columns:repeat(2,minmax(0,1fr))}.crm-operations .crm-operations__recipe-section,.crm-operations .crm-operations__ingredient-group,.crm-operations .crm-operations__recipe-fold{padding:10px}.crm-operations .crm-operations__recipe-table,.crm-operations .crm-operations__ingredient-group .crm-operations__table-wrap{overflow:visible}.crm-operations .crm-operations__recipe-table table,.crm-operations .crm-operations__ingredient-group table{display:block;min-width:0}.crm-operations .crm-operations__recipe-table thead,.crm-operations .crm-operations__ingredient-group thead{display:none}.crm-operations .crm-operations__recipe-table tbody,.crm-operations .crm-operations__ingredient-group tbody{display:block}.crm-operations .crm-operations__recipe-table tr,.crm-operations .crm-operations__ingredient-group tr{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));background:#fff;border:1px solid #dce4dc;border-radius:10px;margin:12px 0;padding:6px}.crm-operations .crm-operations__recipe-table td,.crm-operations .crm-operations__ingredient-group td{display:block;min-width:0;width:auto!important;border:0;padding:8px;overflow-wrap:anywhere}.crm-operations .crm-operations__recipe-table td:first-child,.crm-operations .crm-operations__recipe-table td:last-child:has(.crm-operations__recipe-edit),.crm-operations .crm-operations__ingredient-group td:first-child{grid-column:1/-1}.crm-operations .crm-operations__recipe-table td::before,.crm-operations .crm-operations__ingredient-group td::before{content:attr(data-label);display:block;font-size:12px;color:#526557;font-weight:700;margin-bottom:4px}.crm-operations .crm-operations__recipe-table td:has(.crm-operations__recipe-edit)::before{display:none}.crm-operations .crm-operations__recipe-edit>summary{min-height:44px;align-content:center}.crm-operations .crm-operations__recipe-edit-form{grid-template-columns:1fr}.crm-operations .crm-operations__recipe-edit-form label{grid-column:1/-1}.crm-operations .crm-operations__recipe-edit-form button,.crm-operations .crm-operations__recipe-edit>form:last-child button{width:100%}.crm-operations .crm-operations__recipe-bulk-row{grid-template-columns:repeat(2,minmax(0,1fr))}.crm-operations .crm-operations__recipe-bulk-row label:nth-child(1),.crm-operations .crm-operations__recipe-bulk-row label:nth-child(2),.crm-operations .crm-operations__recipe-bulk-row label:nth-child(3),.crm-operations .crm-operations__recipe-bulk-row .crm-operations__recipe-remove{grid-column:1/-1}.crm-operations .crm-operations__filter-bar label{flex-basis:100%}}
/* Shared packing actions. */
.crm-pack-bulk { margin:20px 0; padding:20px; border:1px solid #dbe3df; border-radius:12px; background:#f5f8f6; scroll-margin-top:30px; }
.crm-pack-bulk__head, .crm-pack-bulk__select { display:flex; flex-wrap:wrap; align-items:center; gap:12px; margin-bottom:14px; }
.crm-pack-bulk__fields { display:flex; flex-wrap:wrap; align-items:end; gap:16px; }
.crm-pack-bulk__fields label { flex:1 1 170px; display:grid; gap:8px; }
.crm-pack-bulk__fields button { min-height:46px; }
.crm-pack-bulk__select { margin:16px 0 0; }
.crm-pack-bulk__select button { background:#fff; color:#31453e; border:1px solid #bacac2; padding:8px 12px; font-size:14px; }
.crm-pack-bulk__checkbox { display:flex !important; align-items:center; gap:12px; min-height:44px; cursor:pointer; text-transform:none !important; letter-spacing:normal !important; }
.crm-pack-bulk__checkbox input[type=checkbox] { width:22px !important; height:22px !important; margin:0 !important; flex:0 0 22px; }
.crm-pack-bulk button[disabled] { opacity:.55; cursor:default; }
.crm-pack-bulk [hidden] { display:none !important; }
.crm-pack-bulk__help { margin:0 0 12px; line-height:1.6; }
.crm-pack-bulk__head [data-pack-bulk-count] { font-weight:700; }
.crm-pack-bulk > small { display:block; margin-top:16px; line-height:1.5; }
.crm-pack-bulk .crm-pack-bulk__select { margin:12px 0 18px; }
.crm-pack-list__status-badge { display:inline-block; padding:8px 12px; border-radius:20px; background:#edf3ef; font-weight:600; white-space:nowrap; }
.crm-pack-list__table tr:has([data-pack-bulk-select]:checked), .crm-pack-monitor__item:has([data-pack-bulk-select]:checked) { background:#edf5e0; outline:2px solid var(--crm-accent, #94b820); outline-offset:-2px; }
@media(max-width:600px) { .crm-pack-bulk { padding:16px; } .crm-pack-bulk__fields { display:grid; } .crm-pack-bulk__fields button { width:100%; } }
/* Keep the next action visible, without opening all secondary forms. */
.crm-operations__next-step{margin:20px 0;padding:20px;border:1px solid var(--crm-border,#d7e0da);border-left:4px solid var(--crm-accent,#8eaf24);border-radius:12px;background:var(--crm-surface-muted,#f4f7f5);scroll-margin-top:24px}
.crm-operations__next-step h3{margin:0 0 8px}
.crm-operations__next-step p{margin:8px 0 14px}
.crm-operations__next-step a.button{display:inline-block;padding:11px 16px;min-height:44px;border:1px solid #b8ca98;border-radius:8px;background:#edf5e0;color:#294225;font-weight:700;text-decoration:none;line-height:1.4}
.crm-operations__next-step a:focus-visible,.crm-food-deliveries summary:focus-visible{outline:3px solid #294225;outline-offset:3px}
.crm-food-stock__summary{grid-template-columns:repeat(3,minmax(0,1fr))}
.crm-food-deliveries__overview{display:flex;flex-wrap:wrap;gap:10px;margin:12px 0}
.crm-food-deliveries__overview span{padding:8px 12px;border-radius:8px;background:var(--crm-surface,#fff);border:1px solid var(--crm-border,#d7e0da)}
.crm-food-deliveries__overview .has-warning{color:#9a2b2b;border-color:#be7070}
.crm-purchase-close,.crm-food-deliveries__delivery{scroll-margin-top:24px}
@media(max-width:600px){.crm-food-stock__summary{grid-template-columns:1fr}.crm-operations__next-step{padding:16px}.crm-operations__next-step .button{box-sizing:border-box;max-width:100%;white-space:normal}}
.crm-stock-bulk__actions{display:flex;gap:14px;align-items:end;flex-wrap:wrap;margin:18px 0}
.crm-stock-bulk__actions>label{flex:1;min-width:200px;display:grid;gap:6px;font-weight:700;font-size:14px}
.crm-stock-bulk__actions p{flex-basis:100%;margin:0}
.crm-stock-bulk__select{display:flex;align-items:center;gap:10px;cursor:pointer}
.crm-stock-bulk__select input[type=checkbox]{width:20px;height:20px;flex:none;margin:0}
.crm-stock-bulk__table small{display:block;margin-top:5px;color:#526557}
.crm-stock-bulk__quantity{display:flex;align-items:center;gap:8px}
.crm-stock-bulk__quantity input{max-width:170px;min-height:44px}
.crm-today__counts{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin:20px 0}
.crm-today__counts>a{display:flex;flex-direction:column;gap:8px;margin:0;color:#243e32;text-decoration:none}
.crm-today__counts strong{font-size:32px;line-height:1.2}
.crm-today__counts span{font-size:14px;line-height:1.5}
.crm-today__task{padding:20px 0;border-top:1px solid #d7e0da;overflow-wrap:anywhere}
article.crm-today__task{display:flex;justify-content:space-between;align-items:center;gap:24px}
.crm-today__task h3{font-size:18px;margin:6px 0}
.crm-today__task p{margin:8px 0}
.crm-today__task small{display:block;color:#53635b;font-size:14px}
.crm-today a,.crm-today__task a{color:#345522;font-weight:650;text-underline-offset:4px}
.crm-today a:focus-visible,.crm-today__task summary:focus-visible{outline:3px solid #345522;outline-offset:4px}
.crm-today .crm-junior-actions{display:flex;flex-wrap:wrap;gap:12px 22px}
.crm-today [aria-current="page"]{text-decoration:underline;text-decoration-thickness:3px}
.crm-junior-production .crm-production-monitor__actions{display:grid;gap:16px;min-width:min(230px,100%)}
.crm-junior-production .crm-production-monitor__correction{padding-top:10px}
@media(max-width:850px){.crm-today__counts{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:550px){.crm-today__counts{gap:10px}.crm-today__counts>a{padding:15px}.crm-today__counts span{font-size:13px;overflow-wrap:anywhere}article.crm-today__task{flex-direction:column;align-items:flex-start;gap:14px}.crm-today__task a{display:inline-block;padding:8px 0}}
@media(max-width:340px){.crm-today__counts{grid-template-columns:1fr}}
.crm-stock-bulk__table tr.is-selected{background:#edf5e0}
.crm-stock-bulk__incoming{max-width:260px}
.crm-stock-bulk__pages{display:flex;flex-wrap:wrap;gap:16px;margin-top:18px}
.crm-stock-bulk button{white-space:normal}
.crm-stock-bulk__filters{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;align-items:end;margin:18px 0;padding:16px;background:var(--crm-surface,#fff);border:1px solid var(--crm-border,#d7e0da);border-radius:10px}
.crm-stock-bulk__filters>label{display:grid;gap:6px;font-size:14px;font-weight:700}
.crm-stock-bulk__filters .crm-operations__check{display:flex;align-items:center;gap:8px}
.crm-stock-bulk__open{display:inline-block;padding:12px 16px;border-radius:8px;background:var(--crm-accent,#94b820);color:#fff;font-weight:700;line-height:1.4;text-decoration:none}
@media(max-width:700px){.crm-stock-bulk__filters{grid-template-columns:1fr}}
@media(max-width:700px){.crm-operations .crm-stock-bulk__table{min-width:0}}
@media(max-width:700px){.crm-stock-bulk__table,.crm-stock-bulk__table tbody,.crm-stock-bulk__table tr,.crm-stock-bulk__table td{display:block;min-width:0;width:100%}.crm-stock-bulk__table thead{display:none}.crm-stock-bulk__table tr{border:1px solid #dce4dc;border-radius:10px;margin:14px 0;padding:8px}.crm-stock-bulk__table td{border:0;padding:8px}.crm-stock-bulk__table td::before{content:attr(data-label);display:block;font-size:12px;font-weight:700;margin-bottom:6px;color:#526557}.crm-stock-bulk__actions>label{min-width:0;flex-basis:100%}.crm-stock-bulk button{width:100%}}
