#demandDialog{width:min(900px,calc(100vw - 24px));max-width:900px;max-height:92dvh;color:#253e37}
#demandForm{display:flex;flex-direction:column;min-height:0;overflow:hidden}
#demandDialog .modal-body{overflow:auto;min-height:0;padding:22px}
#demandDialog p{font-size:13px;line-height:1.6}
#demandDialog label{display:flex;flex-direction:column;font-size:13px;gap:4px;min-width:0}
#demandDialog input,#demandDialog select{font:inherit;padding:9px;width:100%;min-width:0;box-sizing:border-box;border:1px solid #b9c9bc;border-radius:7px;background:#fffef9;color:#253e37}
#demandDialog button{min-height:38px;font-size:13px}
#demandDialog .demand-lead{font-size:18px;margin-top:0}
.demand-eyebrow{text-transform:uppercase;letter-spacing:1.5px;color:#245e4e;margin:0;font-weight:700}
.demand-picks{display:flex;flex-wrap:wrap;gap:8px;margin:14px 0 24px}.demand-picks button[aria-pressed=true]{background:#245e4e;color:white}
.demand-section,.demand-activity{border:1px solid #ccd9c8;border-radius:12px;padding:16px;margin:18px 0}.demand-section legend,.demand-activity legend{font-weight:700;padding:0 6px;color:#245e4e}
.demand-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 18px}.demand-add{display:flex;gap:12px;align-items:end}.demand-add label{flex:1}.demand-add button{margin-bottom:0}
.demand-activity{background:#f5f7ee}.demand-item-summary{color:#53695b}.demand-item-actions{display:flex;justify-content:space-between;gap:10px;margin-top:16px}
#demandDialog details{margin-top:15px}#demandDialog summary{font-size:13px;color:#245e4e;cursor:pointer;padding:6px 0}.demand-tip,.demand-warning{padding:12px;background:#fff4da;border:1px solid #e3d5ad;border-radius:9px}.demand-empty{padding:24px;border:1px dashed #b8cbb7;border-radius:10px}
.demand-footer{display:flex;gap:10px;align-items:center}.demand-footer .primary-action{margin-left:auto}#demandError{color:#a33127;margin:0 0 8px}
.demand-metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.demand-metrics>div{background:#edf3e9;padding:14px;border-radius:10px}.demand-metrics strong,.demand-metrics span{display:block}.demand-metrics strong{font-size:22px;color:#245e4e}.demand-metrics span{font-size:12px;margin-top:6px}.demand-chart{display:block;width:100%;height:auto;margin-top:20px;background:#fffef9;border-radius:9px}.demand-chart text{font:12px system-ui;fill:#365448}
.demand-breakdown>div{display:flex;justify-content:space-between;gap:12px;padding:9px 0;border-bottom:1px solid #dde5d8;font-size:13px}.demand-breakdown strong{white-space:nowrap}
.demand-launch{margin:12px 0;padding:14px;border:1px solid #b9cfbe;border-radius:10px;background:#edf3e9}.demand-launch p{margin:6px 0 10px}.schedule-preset{grid-column:1/-1}
header .viewer-title .viewer-home{color:#253e37;font-weight:800;text-decoration:none;white-space:nowrap}header .viewer-home .brand-sun{color:#b8710c}header .viewer-home .brand-labs{font-weight:450;color:#6e7767}header .viewer-home:focus-visible{outline:3px solid #a74b22;outline-offset:4px}
.check .field-title .field-info{flex:0 0 20px;width:20px;height:20px;min-width:20px;min-height:20px;padding:0;line-height:18px;font-size:12px;box-sizing:border-box}
@media(max-width:540px){.demand-grid{grid-template-columns:1fr}.demand-metrics{grid-template-columns:1fr}.demand-metrics>div{display:flex;gap:12px;align-items:center}.demand-add{flex-wrap:wrap}.demand-add label{flex-basis:100%}#demandDialog .modal-body{padding:14px}.demand-section,.demand-activity{padding:12px}.demand-breakdown>div{font-size:12px}}

#demandDialog label.demand-allday{flex-direction:row;align-items:center;gap:8px}#demandDialog .demand-allday input{width:auto;margin:0!important}

#demandDialog [hidden]{display:none!important}

#demandDialog .modal-footer{display:block}.demand-footer{width:100%}
