.prep-controls{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:12px}.prep-controls .active{background:#e3edf8;color:#173f6a}.source-card{background:white;border:1px solid #dce3e9;border-radius:14px;padding:16px;margin-bottom:12px}.source-card>p{white-space:pre-wrap;overflow-wrap:anywhere}.source-card details{margin:14px 0}.source-grid>div{border-bottom:1px solid #eee;padding:8px 0}.source-grid span{color:#667584;font-size:13px}.source-grid p{margin:4px 0;white-space:pre-wrap;overflow-wrap:anywhere}.prep-position{margin:12px 0;padding:14px;border:1px solid #d5dee8;border-radius:12px;min-width:0}.prep-position legend{font-weight:700}.prep-measures{display:grid;grid-template-columns:1fr 1fr;gap:12px}.prep-edit{border:0;padding:0;min-width:0}.prep-edit[disabled]{opacity:.8}.future-excel{padding:12px;background:#f1f3f5;border-radius:8px;color:#536171;margin:14px 0}.plan-diff{padding:12px;background:#fff5de;border-radius:12px;margin:16px 0;overflow-wrap:anywhere}.plan-diff>div{border-bottom:1px solid #e7daba}.plan-diff p{white-space:pre-wrap}.prep-check{padding:12px;border:1px solid #dce3e9;border-radius:12px;margin:20px 0}.prep-check li{margin:8px 0}.demo-label{background:#edf0fa;padding:6px;border-radius:6px;font-size:13px}.event-payload{font-size:12px;white-space:pre-wrap;overflow-wrap:anywhere;max-height:250px;overflow:auto}#tabs{overflow-x:auto;justify-content:flex-start}#tabs button{flex-shrink:0}#prep-dialog{max-width:760px}#prep-dialog input,#prep-dialog textarea,#prep-dialog select{box-sizing:border-box;width:100%;min-width:0}#prep-dialog .check input{width:auto}.prep-position label{display:block;margin:10px 0}@media(min-width:760px){#tabs{justify-content:center}.source-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.source-grid>div:has(p){min-width:0}}@media(max-width:420px){.prep-controls button{flex:1;padding:10px 8px;font-size:13px}.source-card{padding:12px}.prep-position{padding:10px}.prep-measures{gap:8px}#prep-dialog{width:calc(100% - 16px);max-width:calc(100% - 16px);margin:auto}.prep-check ul{padding-left:20px}}

.primary:disabled{background:#dce3e8;color:#637380;cursor:not-allowed;opacity:1}
.delivery-week{grid-column:1/-1;margin:16px 0 4px;font-size:18px}

.prep-row-values{display:grid;grid-template-columns:2fr 1fr 1fr;gap:10px}.prep-position details{margin:8px 0}.prep-position .remove-position{font-size:12px;padding:6px 10px}@media(max-width:420px){.prep-row-values{grid-template-columns:1fr 1fr}.prep-row-values>label:first-child{grid-column:1/-1}}
