.consumer-demand-panel{margin-bottom:24px}
.demand-controls{display:flex;align-items:end;gap:12px;flex-wrap:wrap;border-bottom:1px solid #e3e9e6;padding-bottom:18px;margin-bottom:18px}
.demand-controls label{display:grid;gap:6px;font-size:12px;color:#66766f;min-width:160px}
.demand-controls select{min-height:40px;padding:8px 12px;border:1px solid #dce4df;background:#fff;border-radius:6px;color:#203b30}
.demand-summary{display:flex;flex-wrap:wrap;align-items:center;gap:10px;margin-bottom:14px}
.demand-summary b{font-size:17px}.demand-summary span{font-size:12px;color:#60756b}
.demand-conclusion{font-size:13px;line-height:1.8;color:#344f43;max-width:1000px}
.demand-theme-list{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:12px;margin:18px 0}
.demand-theme{border-left:3px solid #20856c;background:#f1f8f5;padding:13px;display:grid;gap:7px}
.demand-theme:nth-child(3n+2){border-color:#c18236;background:#fcf6ed}.demand-theme:nth-child(3n){border-color:#5a79a2;background:#f0f4f9}
.demand-theme b{font-size:13px}.demand-theme span{font-size:12px;color:#617469}
.demand-sources{display:grid;gap:0}.demand-source{display:grid;grid-template-columns:1fr auto;gap:8px;padding:14px 0;border-top:1px solid #e7ece9}
.demand-source blockquote{margin:0;font-size:13px;line-height:1.7}.demand-source small{display:block;font-size:11px;color:#718178;margin-top:7px}.demand-source a{font-size:12px;color:#176b52;overflow-wrap:anywhere}.demand-source img{width:80px;height:80px;object-fit:contain;grid-column:2;grid-row:1/3}
.generated-concept{margin:12px 0;max-width:420px}.generated-concept img{display:block;width:100%;aspect-ratio:1;object-fit:contain;background:#f4f6f5;border-radius:6px}.generated-concept figcaption{font-size:11px;line-height:1.6;color:#687b70;margin-top:8px}
.candidate-demand-fit{font-size:12px;line-height:1.7;color:#526b5e;margin:12px 0;overflow-wrap:anywhere}
.model-config-status{flex-wrap:wrap}.model-config-status small{width:100%;margin-left:0}.model-config-dialog{max-height:calc(100vh - 40px);overflow-y:auto}
body[data-user-role="formula"] [data-demand-write]{display:none}
.demand-target-dialog{max-height:calc(100vh - 40px);overflow:auto}
.demand-target-dialog>header{display:flex;justify-content:space-between;align-items:center;padding:24px 28px 0}
.demand-target-dialog h2{font-size:20px;margin:4px 0}
.demand-source-service-status{margin:16px 28px;font-size:13px;line-height:1.7;color:#526b5e}
.demand-target-list{margin:0 28px 16px;display:grid;gap:0}
.demand-target-row{display:flex;justify-content:space-between;gap:14px;align-items:center;padding:14px 0;border-bottom:1px solid #e3e9e6}
.demand-target-row>div{display:grid;gap:6px;min-width:0}.demand-target-row a{font-size:12px;color:#176b52;overflow-wrap:anywhere}.demand-target-row small{color:#718178;font-size:11px}
.demand-target-toggle{display:flex;align-items:center;gap:8px;font-size:13px;white-space:nowrap}.demand-target-toggle input{width:18px;height:18px;accent-color:#20856c}
.run-source-health{display:grid;gap:8px;padding:14px 0;font-size:12px;border-bottom:1px solid #e3e9e6}.run-source-health p{margin:0;line-height:1.7}.run-source-health a{color:#176b52;overflow-wrap:anywhere}.run-source-health details{line-height:1.7}.run-source-health .source-error{color:#a75427}
@media(max-width:600px){.demand-controls label{flex:1;min-width:130px}.consumer-demand-panel .panel-title{align-items:start;gap:12px;flex-wrap:wrap}.demand-source{grid-template-columns:1fr}.demand-source img{grid-column:1;grid-row:auto}.heading-actions{flex-wrap:wrap}.model-config-dialog{width:calc(100vw - 24px)}}
