#demand-dialog{width:min(1080px,calc(100vw - 28px));max-width:1080px;max-height:92dvh;overflow:auto}.demand-actions{display:flex;align-items:end;gap:12px;flex-wrap:wrap}.demand-actions label,#demand-review-form>label{display:grid;gap:6px;font-size:12px;color:#7d8494}.demand-actions select{max-width:100%}.demand-chart{margin:18px 0;background:#fafbfe;border:1px solid #e4e7ef;border-radius:12px;padding:12px;min-height:160px}.demand-chart>svg{width:100%;height:auto;display:block}.demand-axis{fill:#748095;font-size:11px;font-family:inherit}.demand-grid{stroke:#e2e6ee;stroke-width:1}.demand-line{stroke:#ee243e;stroke-width:2}.demand-dot{fill:#ee243e;stroke:white;stroke-width:1}.demand-dot:focus{stroke:#6e5bd3;stroke-width:3}.demand-data{margin:15px 0}.demand-data>.table-scroll{max-height:350px;overflow:auto}.demand-confidence{border-top:1px solid #e4e7ef;padding-top:18px;margin-top:18px}.demand-stat-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:15px 0}.demand-stat-grid>div{border:1px solid #e4e7ef;border-radius:8px;padding:12px;display:grid;gap:7px}.demand-stat-grid span{font-size:11px;color:#7c8394}.demand-stat-grid strong{font-size:18px}.demand-checks{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:18px 0}.demand-checks label{display:flex;gap:8px;align-items:start;font-size:13px}.demand-checks input{width:auto;flex-shrink:0;margin-top:3px}.demand-texts{display:grid;gap:12px;margin-bottom:15px}.demand-texts label{display:grid;gap:5px;font-size:12px}.demand-texts textarea{width:100%;resize:vertical;font:inherit;color:inherit;border:1px solid #dce1eb;padding:9px;border-radius:8px}#demand-tracked-list{display:flex;flex-wrap:wrap;gap:8px;padding:0 20px 20px}.demand-history-button{margin-top:14px}#research-detail>.secondary{margin-top:10px}#quota-usage-dialog{width:min(900px,calc(100vw - 28px));max-width:900px}#quota-usage-content>.table-scroll{max-height:400px;overflow:auto}.demand-tracked{margin:18px 0}@media(max-width:600px){#demand-dialog{padding:16px;width:calc(100vw - 16px);max-height:95dvh}.demand-stat-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.demand-checks{grid-template-columns:1fr}.demand-actions{align-items:stretch}.demand-actions label{width:100%}.demand-actions>*{max-width:100%}.demand-axis{font-size:14px}.demand-chart{padding:4px}.demand-stat-grid strong{font-size:16px}}

.demand-quick{display:flex;align-items:center;flex-wrap:wrap;gap:10px 20px;border:1px solid #c6dfd5;background:#f1f8f4;padding:12px 14px;border-radius:9px;margin-top:14px;font-size:13px}.demand-quick strong{font-size:17px}.demand-quick.needs-review{border-color:#f0dab0;background:#fff8e9}
