/* Filter menus */
.select-shell{position:relative;min-width:0}
.select-shell.is-open{z-index:80}
.select-trigger{width:100%;min-height:52px;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 15px;border:1px solid #dce5d9;border-radius:12px;background:#fafcf9;color:#243830;text-align:left;font-size:16px;font-weight:650;line-height:1.4;transition:border-color .16s ease,background .16s ease,box-shadow .16s ease}
.select-trigger:hover{background:#fff;border-color:#a8bda6}
.select-trigger:focus-visible{outline:2px solid #73956f;outline-offset:2px}
.select-trigger[aria-expanded="true"]{background:#fff;border-color:#83a37f;box-shadow:0 0 0 3px #e6f0e3}
.select-trigger-value{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.select-chevron{width:19px;height:19px;flex:none;color:#66816c;transition:transform .16s ease}
.select-trigger[aria-expanded="true"] .select-chevron{transform:rotate(180deg)}
.select-menu{position:absolute;top:calc(100% + 6px);left:0;right:0;z-index:81;overflow:auto;overscroll-behavior:contain;margin:0;padding:6px;list-style:none;border:1px solid #dbe5d7;border-radius:13px;background:#fff;box-shadow:0 14px 36px #233e3729;scrollbar-width:thin;scrollbar-color:#c4d2c0 transparent}
.select-menu[hidden]{display:none}
.select-shell.opens-up .select-menu{top:auto;bottom:calc(100% + 6px)}
.select-menu:focus{outline:0}
.select-option{display:flex;align-items:center;gap:12px;min-height:44px;padding:10px 11px;border-radius:8px;color:#3b4d43;font-size:16px;line-height:1.45;cursor:pointer}
.select-option-text{min-width:0;flex:1;overflow-wrap:anywhere}
.select-option:hover,.select-option.is-active{background:#f2f7f0}
.select-option[aria-selected="true"]{background:#e9f2e6;color:#284c38;font-weight:700}
.select-option.is-active{box-shadow:inset 0 0 0 1px #b8cfb1}
.select-option[aria-disabled="true"]{opacity:.45;cursor:not-allowed}
.select-option-check{width:18px;flex:none;color:#4f8056;font-size:18px;line-height:1;text-align:center;opacity:0}
.select-option[aria-selected="true"] .select-option-check{opacity:1}

/* Question-summary hierarchy */
.heatmap-section{border-color:#e3e9de}
.section-title.summary-title{display:flex;flex-direction:row;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:10px 20px;margin-bottom:14px}
.summary-title h2{font-size:20px;font-weight:750;letter-spacing:-.4px;color:#243b31}
.summary-title .heatmap-legend{display:flex;align-items:center;gap:7px;line-height:1.4;font-size:14px;color:#7b8b7c}
.summary-title .heatmap-legend i{width:52px;height:7px;border:1px solid #dbe6d5;background:linear-gradient(90deg,hsl(87 20% 98%),hsl(87 20% 81%))}
.summary-title .frequency-label{margin-right:3px;color:#607466;font-weight:650}
.summary-meta{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:8px 16px;margin:0 0 16px;padding:0 0 15px;border-bottom:1px solid #e8ede5}
.summary-meta .significance-legend{display:flex;align-items:center;justify-content:flex-start;flex-wrap:wrap;gap:7px;margin:0}
.summary-meta .significance-legend>span,.summary-meta .killer-legend{display:inline-flex;align-items:center;gap:5px;min-height:29px;padding:5px 9px;border-radius:8px;font-size:14px;font-weight:650;line-height:1.35;text-decoration:none}
.summary-meta .significance-legend .high{background:#edf5eb;color:#477853}
.summary-meta .significance-legend .low{background:#eff3fa;color:#465f98}
.summary-meta .killer-legend{background:#fbf3e8;color:#795423}
.summary-meta .significance-legend i{width:auto;height:auto;background:none;font-size:15px;font-style:normal;line-height:1}
.summary-meta .significance-legend .high i{color:#39794d}
.summary-meta .significance-legend .low i{color:#465f98}
.summary-method{margin-left:auto;color:#718377;font-size:14px;line-height:1.6}
.summary-method summary{display:inline-flex;align-items:center;gap:5px;min-height:30px;padding:3px 2px;cursor:pointer;list-style:none;font-weight:600}
.summary-method summary::-webkit-details-marker{display:none}
.summary-method summary::after{content:"+";font-size:16px;line-height:1}
.summary-method[open]{flex-basis:100%;margin-left:0}
.summary-method[open] summary::after{content:"−"}
.summary-method p{max-width:760px;margin:6px 0 0;color:#66796b;font-size:14px;line-height:1.7}
.question-map{gap:12px}
.question-cell{display:flex;flex-direction:column;align-items:stretch;min-width:0;border-color:#e3eadd;border-radius:12px;transition:border-color .16s ease,box-shadow .16s ease,transform .16s ease}
.question-cell:not(.selected):hover{border-color:#adbea8;box-shadow:0 5px 14px #233e370c;transform:translateY(-1px)}
.question-cell.selected{border-color:#6f9568;box-shadow:0 0 0 1px #6f9568,0 4px 12px #233e3710}
.question-cell:focus-visible{outline:2px solid #577d5a;outline-offset:3px}
.question-cell .q-number{color:#718078}
.question-cell .cell-option-grid{margin-top:auto}
.question-cell .cell-option{border-right:0}
.question-cell .cell-points{font-size:15px;color:#687c64}
@media(max-width:700px){
  .select-trigger{min-height:50px;padding:11px 14px}
  .select-option{min-height:47px}
  .section-title.summary-title{align-items:flex-start;flex-direction:column;gap:8px}
  .summary-title h2{font-size:19px}
  .summary-meta{gap:8px;margin-bottom:13px;padding-bottom:13px}
  .summary-meta .significance-legend>span,.summary-meta .killer-legend{font-size:13px}
  .summary-method{margin-left:0}
  .question-map{gap:9px}
}
@media(prefers-reduced-motion:reduce){
  .select-trigger,.select-chevron,.question-cell{transition:none}
  .question-cell:not(.selected):hover{transform:none}
}

/* More breathing room below the leading answer on mobile. */
@media(max-width:700px){
  .distribution-card .leader-number + .bar-chart{margin-top:43px}
}
