/* Existing cream / burgundy palette, touch targets suitable for catering. */
.pd-nav{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px;margin:0 0 20px;padding:7px;background:#eee6d9;border:1px solid #d8cbbc;border-radius:18px}.pd-nav button{min-height:54px;border:0;background:transparent;color:#666354;font:inherit;font-weight:700;padding:10px 7px;border-radius:12px;cursor:pointer}.pd-nav button.active{background:#a02e29;color:white;box-shadow:0 3px 10px #70282218}.pd-editor,.pd-editor *,.pd-batch *{box-sizing:border-box}.pd-config{padding:0;margin:0;border:0;min-width:0}.pd-row{display:flex;gap:10px;align-items:center;flex-wrap:wrap}.pd-grow{flex:1;min-width:140px}.pd-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin:16px 0}.pd-field{display:flex;flex-direction:column;gap:7px;min-width:0;font-size:15px;font-weight:650;color:#45473b}.pd-field small,.pd-phase small{font-size:12px;line-height:1.5;color:#797a6c;font-weight:400}.pd-input-unit{display:flex;align-items:center;gap:7px;min-width:0}.pd-input-unit input{width:100%;min-width:0}.pd-input-unit b{font-size:13px;color:#777667;flex:none}.pd-editor input:not([type=checkbox]):not([type=radio]),.pd-editor select,.pd-batch input,.pd-recipes input,.pd-recipes select,dialog .pd-field input{min-height:50px;border:1px solid #cec6b8;background:#fffefb;color:#2c3027;border-radius:11px;padding:11px 12px;font-size:16px;font-family:inherit;max-width:100%;min-width:0}.pd-editor input[type=datetime-local]{font-size:15px;padding:10px 6px}.pd-editor select{width:100%;text-overflow:ellipsis}.pd-editor input:focus,.pd-editor select:focus{outline:3px solid #a12e2929;outline-offset:1px;border-color:#a02e29}.pd-editor input:disabled,.pd-config:disabled input,.pd-config:disabled select{background:#f1eee6;color:#66685d}.pd-toggle,.pd-check,.pd-phase-flags label{display:flex;gap:9px;align-items:center;min-height:44px;font-size:14px}.pd-editor input[type=checkbox],.pd-editor input[type=radio],.pd-choice input{width:22px;height:22px;accent-color:#a02e29;flex:none}.pd-context{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap;padding:12px 3px;color:#696c5b}.pd-phase,.pd-allocation{border:1px solid #ded6c8;border-radius:14px;background:#fffdf7;padding:14px;margin:12px 0}.pd-phase .pd-row>input{flex:1;min-width:110px}.pd-phase .pro-button{min-width:44px;min-height:46px;padding:8px}.pd-step{width:30px;height:30px;display:grid;place-items:center;background:#eee4d6;color:#922d27;border-radius:50%;flex:none}.pd-phase-flags{justify-content:space-between}.pd-phase-flags label{font-size:12px}.pd-results{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:20px 0}.pd-results>div{background:#f2eee3;border-radius:12px;padding:15px 12px;min-width:0}.pd-results small{display:block;color:#757661;font-size:13px;margin-bottom:8px}.pd-results strong{display:block;color:#343d30;font-size:22px;overflow-wrap:anywhere;letter-spacing:-.3px}.pd-results .pd-yeast{background:#f3e5de}.pd-results .pd-yeast strong{color:#922d27}.pd-badge{font-size:12px;line-height:1.3;font-weight:700;padding:8px 10px;border-radius:100px;background:#eae5d8;color:#696a55}.pd-badge.good{background:#e8eddf;color:#4e6240}.pd-badge.warn{background:#f4e1d7;color:#913d28}.pd-note{background:#f1ebdd;border-left:3px solid #b79b65;border-radius:8px;padding:13px 15px;line-height:1.6;font-size:14px;color:#665a44;margin:14px 0}.pd-error{color:#a02e29;font-weight:650;font-size:15px;line-height:1.6;overflow-wrap:anywhere}.pd-error:empty{display:none}.pd-warnings{padding:0 0 0 22px;color:#7a482f;font-size:14px;line-height:1.65}.pd-warnings li{padding:4px 0}.pd-facts{margin:16px 0}.pd-facts>div{display:flex;justify-content:space-between;gap:18px;border-bottom:1px solid #ebe5d8;padding:12px 0;font-size:14px}.pd-facts dt{color:#737560;flex:1}.pd-facts dd{margin:0;flex:1.3;text-align:right;font-weight:650}.pd-timeline{list-style:none;margin:22px 0 8px;padding:0 0 0 20px;border-left:2px solid #cabb99}.pd-timeline li{position:relative;display:flex;flex-direction:column;gap:5px;padding:0 0 23px 10px}.pd-timeline li:before{content:"";position:absolute;left:-27px;top:5px;width:11px;height:11px;border-radius:50%;background:#9a342b;border:2px solid #fffdf7}.pd-timeline time{font-size:12px;color:#777b66}.pd-timeline strong{font-size:15px}.pd-timeline small{color:#7d7c70;line-height:1.5}.pd-timeline b{font-size:13px;color:#a02e29}.pd-stock{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px;background:#f3efe5;border-radius:12px;padding:14px;margin:18px 0}.pd-stock span{font-size:12px;color:#74735f}.pd-stock b{display:block;color:#3c4436;font-size:23px;padding-top:6px}.pd-history{margin-top:20px;color:#7b7d6c;font-size:12px}.pd-history p{border-bottom:1px solid #e8e3d7;padding:8px 0}.pd-editor details>summary,.pd-model>summary,.pd-history>summary{cursor:pointer;min-height:42px;padding:8px 0;font-weight:650}.pd-model p{font-size:13px;line-height:1.7;color:#757660}.pd-model a{color:#922d27;text-decoration:underline}.pd-save-bar{position:sticky;bottom:94px;z-index:5;display:flex;gap:10px;flex-wrap:wrap;padding:10px;background:#fffdf6ed;border:1px solid #dbd2c0;border-radius:16px;box-shadow:0 7px 25px #4c3d2114;margin:20px 0}.pd-save-bar>button{flex:1;min-width:150px}.pd-choice{display:flex;gap:12px;align-items:center;padding:14px 5px;border-bottom:1px solid #e7e1d4;cursor:pointer;min-height:56px}.pd-choice>span{min-width:0}.pd-choice small{display:block;line-height:1.5;color:#7b7d6b;font-size:12px}.pd-choice.is-checked>span{opacity:.6;text-decoration:line-through}.pd-total{text-align:right;font-size:25px;font-weight:700;color:#9b3029}.pd-recipes .pd-row>input{flex:1;min-width:150px}.pd-experiences{font-size:13px;color:#737560}.pd-experiences p{border-top:1px solid #e7e1d4;padding:12px 0}.pd-editor [hidden]{display:none!important}
@media(max-width:600px){.pd-nav{gap:4px;padding:5px;grid-template-columns:repeat(2,minmax(0,1fr));margin-bottom:16px}.pd-nav button{font-size:13px;min-height:48px}.pd-grid{gap:14px 10px}.pd-editor .pro-card,.pd-batch{padding:20px 16px}.pd-field{font-size:13px}.pd-results{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.pd-results>div{padding:13px 10px}.pd-results strong{font-size:21px}.pd-results small{font-size:12px}.pd-phase{padding:12px 10px}.pd-phase .pd-row{gap:6px}.pd-phase .pd-step{width:24px;height:24px;font-size:12px}.pd-phase .pd-row>input{width:120px;font-size:14px}.pd-facts>div{flex-direction:column;gap:5px}.pd-facts dd{text-align:left;font-size:15px}.pd-stock{padding:12px 10px}.pd-stock span{font-size:10px}.pd-batch .pd-row>.pro-button{flex:1;min-width:125px}.pd-save-bar{bottom:90px}.pd-editor .pd-row>.pro-button{font-size:13px}.pd-recipes .pd-row>.pd-field{width:100%}.pd-portion h2{font-size:20px}.pd-editor input[type=datetime-local]{width:100%}.pd-phase-flags{align-items:flex-start;gap:2px}.pd-phase-flags label{font-size:12px}.pd-toggle{font-size:12px}.pd-model p{overflow-wrap:anywhere}}
.pd-field input:not([type=checkbox]):not([type=radio]),.pd-field select{min-height:50px;width:100%;border:1px solid #cec6b8;background:#fffefb;color:#2c3027;border-radius:11px;padding:11px 12px;font-size:16px;font-family:inherit;max-width:100%;min-width:0;box-sizing:border-box}
