/* Scoped Commerce extensions, inheriting the existing account/editor world. */
.question-condition{margin-top:20px;padding-top:16px;border-top:1px solid #d8e2ee}
.question-condition summary{cursor:pointer;font-size:14px;font-weight:700;min-height:44px;display:list-item;padding:10px 0}
.question-condition .two-fields{margin-top:16px}
.visual-options .response-option{flex-direction:column;justify-content:center;text-align:center;gap:8px;min-height:100px;padding:12px 8px}
.visual-options .response-option input{align-self:center;width:18px;height:18px;min-height:0;padding:0;margin:0;flex:0 0 18px}
.visual-options .response-option svg{width:32px;height:32px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
.visual-options .response-option:has(input:checked){color:#005d32;background:#e1f8ec}
.visual-options .response-option:focus-within{outline:3px solid #007d43;outline-offset:3px}
.visual-options .response-option span{font-size:12px;line-height:1.5}
/* NPS has 11 positions; keep the full 0–10 scale together at every width. */
.visual-options.numeric-options:has(input[value="0"]){grid-template-columns:repeat(11,minmax(0,1fr));gap:clamp(2px,.6vw,8px)}
.visual-options.numeric-options:has(input[value="0"]) .response-option{min-width:0;min-height:64px;padding:8px 0;gap:6px}
@media(max-width:360px){.visual-options.numeric-options:has(input[value="0"]){margin-inline:-14px}}
.report-tools{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin:0 0 28px}
.report-tools .field-help{flex-basis:100%;margin:0}
.client-shell .report-filters{grid-template-columns:repeat(4,minmax(0,1fr)) auto}
.admin-commerce{max-width:1200px;margin:0 auto;padding:40px 24px 64px}
.admin-commerce>h1{font-size:32px;margin:20px 0}
.admin-commerce>h2{font-size:24px;margin:40px 0 20px}
.admin-commerce>p{margin:16px 0;line-height:1.6}
.admin-plan summary{min-height:48px;padding:12px 0;cursor:pointer;font-weight:700}
.admin-plan form{margin-top:24px}
.admin-plan .button{margin-top:24px}
.ai-reader summary{cursor:pointer;min-height:44px;padding:10px 0;font-weight:700}
.ai-reader-answer{padding:20px 0;line-height:1.7;white-space:normal;overflow-wrap:anywhere}
@media(max-width:1100px){.client-shell .report-filters{grid-template-columns:repeat(2,minmax(0,1fr))}.client-shell .report-filters>.button{grid-column:1/-1}}
@media(max-width:380px){.client-shell .report-filters{grid-template-columns:minmax(0,1fr)}}
.report-refresh{display:flex;align-items:center;gap:16px;flex-wrap:wrap;margin:0 0 28px;font-size:13px}
.attention-report li{margin:12px 0;line-height:1.6}
.operation-form{max-width:900px}
.operation-form form{margin-top:20px}
.operation-list{margin:32px 0}
.operation-list>h2{margin-bottom:16px}
.operation-list article{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:24px 0;border-bottom:1px solid #c4d2e4;overflow-wrap:anywhere}
.operation-list article h3{font-size:18px;margin:0 0 8px}
.operation-list article p{margin:8px 0;font-size:14px}
.operation-list article>form:only-child{width:100%;max-width:700px}
.operation-list article>form>.button{margin-top:16px}
.operation-list article>div{min-width:0}
@media(max-width:600px){.operation-list article{align-items:stretch;flex-direction:column}.operation-form .two-fields{grid-template-columns:1fr}.operation-list article .button{width:100%}}
.recovery-page{max-width:680px;margin:auto}
.recovery-page>p{margin:20px 0}
.recovery-page form{max-width:480px;margin:28px 0}
@media(max-width:600px){.question-condition .two-fields{grid-template-columns:1fr}.report-tools>.button{width:100%;justify-content:center}.visual-options{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media print{
 .report-refresh{display:none!important}
 body:has([data-commerce-report]){background:#fff}
 body:has([data-commerce-report]) .commerce-header,body:has([data-commerce-report]) .commerce-footer,body:has([data-commerce-report]) .development-note,body:has([data-commerce-report]) .workspace-nav,body:has([data-commerce-report]) .results-actions,body:has([data-commerce-report]) .results-tabs,body:has([data-commerce-report]) .report-filters,body:has([data-commerce-report]) .report-tools,body:has([data-commerce-report]) .skip{display:none!important}
 body:has([data-commerce-report]) .client-workspace{display:block;min-height:0}
 body:has([data-commerce-report]) .workspace-content{max-width:none;margin:0;padding:0;width:100%}
 .commerce-report .client-panel{border:0;border-bottom:1px solid #c4d2e4;border-radius:0;padding:16px 0;box-shadow:none;break-inside:avoid}
 .commerce-report .frequency-list,.commerce-report blockquote,.commerce-report tr{break-inside:avoid}
 .commerce-report .report-table-wrap{overflow:visible}
 .commerce-report .frequency-row{display:grid;grid-template-columns:minmax(100px,1fr) minmax(100px,1fr) 100px 100px}
 .commerce-report .frequency-row>span,.commerce-report .frequency-row>strong,.commerce-report .frequency-row>small,.commerce-report .metric-table td{display:table-cell}
 .commerce-report .frequency-row>svg{height:10px}
 .commerce-report .metric-table{min-width:0;width:100%}
 .commerce-report .metric-table thead{display:table-header-group}
 .commerce-report .metric-table tr{display:table-row}
 .commerce-report .metric-table td:before{content:none}
 .commerce-report .chart-data{display:none}
}
