
/* COLORS */

:root{
    --primary-color: #3a3a3b;
    --primary-color-text:white;
    --subtle-color: #ddd;

    --accent: #919194;
    --accent-dark: #3a3a3b;
    --accent-soft: #d4d3d3;
    --accent-glow: rgba(249, 115, 22, 0.28);
    --track: #c2c5cc;   /* unfilled part of a slider: clearly visible on white before any sliding */
    --muted-text: #5e5c5c;
    /* the colour of the buttons that move the visitor on: "Valmis ja edasi" and the search button with unsaved changes */
    --action: #7cc0ff;        /* light blue */
    --action-dark: #56abf7;   /* hover */
    --action-text: #0b2a4a;   /* dark navy: readable on the light blue */
    --action-glow: rgba(86, 171, 247, 0.45);
}

/* *{border:1px solid red;} */


.questions-section{
    margin:auto;
    text-align: left;
}

.question-block{
    margin-top:30px;
}

input[type="submit"] {
    display: block;
    margin: 24px auto 0;
    padding: 10px 28px;
    background: var(--accent);
    color: #fff;
    border: none;
    border-radius: 6px;
    font-size: 1.5em;
    font-weight: 500;
    letter-spacing: 0.02em;
    cursor: pointer;
    transition: background 0.15s ease, transform 0.1s ease, box-shadow 0.15s ease;
}
input[type="submit"]:hover {
    background: var(--accent-dark);
    box-shadow: 0 2px 8px var(--accent-glow);
}
/* unsaved slider/filter/question changes: the button turns into the action colour and lifts a little */
form.has-changes input[type="submit"] {
    transform: translateY(-2px);
    background: var(--action);
    color: var(--action-text);
    box-shadow: 0 5px 14px var(--action-glow);
}
form.has-changes input[type="submit"]:hover {
    transform: translateY(-3px);
    background: var(--action-dark);
    box-shadow: 0 8px 18px var(--action-glow);
}
/* pressed / submitting: sunken inset look */
form input[type="submit"]:active,
form.is-submitted input[type="submit"],
form input[type="submit"]:disabled {
    transform: translateY(1px);
    box-shadow: inset 0 3px 6px rgba(0, 0, 0, 0.35);
}
form input[type="submit"]:disabled {
    cursor: default;
    opacity: 0.85;
}
form input[type="submit"]:disabled:hover {
    background: var(--accent);
}
input[type="submit"]:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}

.questions-list{
    width:100%;
    max-width:400px;
    margin:auto;
    padding: 0 16px;
}

.question-part{font-size: 1.2em;}

.answer-part{
    padding-left:20px;
    margin-top:10px;
}

.score-answer{
    margin:auto;
    max-width:400px;
    
}

.question-wizard-summary {
    width: 100%;
    max-width: 400px;
    margin: 4px auto 12px;
    padding: 0 16px;
    box-sizing: border-box;
}
.question-wizard-summary h3 {
    margin: 6px 0;
    font-size: 0.9em;
    font-weight: 500;
    color: var(--muted-text);
}
.question-wizard-summary-list {
    display: flex;
    flex-direction: column;
}
.question-wizard-summary-item {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 8px;
    padding: 5px 0;
    border-bottom: 1px solid #eee;
    font-size: 0.82em;
}
.question-wizard-inline-edit {
    grid-column: 1 / -1;
    min-width: 0;
    padding-top: 6px;
}
.question-wizard-inline-edit .score-answer-text {
    display: none;
}
/* editing an answered question applies at once: no confirm button, the "Done" toggle just closes it */
.question-wizard-inline-edit .question-wizard-confirm {
    display: none;
}
.question-wizard-summary-question {
    min-width: 0;
    color: var(--muted-text);
}
.question-wizard-summary-filter {
    grid-column: 1 / -1;
    color: var(--muted-text);
    font-size: 0.9em;
    font-weight: 400;
}
.question-wizard-summary-answer {
    color: #202124;
    white-space: nowrap;
}
.question-wizard-summary-item.is-choice { grid-template-columns: minmax(0, 1fr) auto; row-gap: 2px; }
.question-wizard-summary-item.is-choice .question-wizard-summary-answer {
    grid-column: 1 / -1;
    display: flex;
    flex-direction: column;
    gap: 1px;
    white-space: normal;
}
/* answered points question: the chosen answers' names, most important first */
.summary-share { display: flex; flex-direction: column; gap: 1px; }
.summary-share-label { color: #202124; overflow-wrap: anywhere; white-space: normal; }
.question-wizard-summary-item.is-editing > .question-wizard-summary-answer { display: none; }
.question-wizard-edit {
    padding: 3px 4px;
    border: 0;
    background: none;
    color: var(--accent-dark);
    font: inherit;
    text-decoration: underline;
    cursor: pointer;
}
.question-wizard-complete {
    width: 100%;
    max-width: 368px;
    margin: 12px auto;
    padding: 0 16px;
    box-sizing: border-box;
    color: var(--muted-text);
}
.question-wizard-confirm {
    display: block;
    margin: 8px 0 14px auto;
    padding: 9px 18px;
    border: 0;
    border-radius: 6px;
    background: var(--action);
    color: var(--action-text);
    font: inherit;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 2px 8px var(--action-glow);
    transition: background 0.15s ease, box-shadow 0.15s ease;
}
/* arrow after the label: the button takes the visitor on to the next question */
.question-wizard-confirm::after {
    content: "\2192";
    display: inline-block;
    margin-left: 8px;
    transition: transform 0.15s ease;
}
.question-wizard-confirm:hover:not(:disabled)::after { transform: translateX(3px); }
.question-wizard-confirm:hover:not(:disabled) {
    background: var(--action-dark);
    box-shadow: 0 4px 12px var(--action-glow);
}
.question-wizard-confirm:focus-visible {
    outline: 2px solid var(--action-dark);
    outline-offset: 2px;
}

.score-answer-text{
    padding-top:3px;
    padding-bottom:3px;
    color: var(--accent-dark);
}

/* ===== Importance of an answer: button row 1-10 + "not important" (radios, replaces the slider) ===== */
.weight-scale {
    margin: 2px 0 14px;
}
.weight-options {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 6px;
}
.weight-option input {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
    margin: 0;
    pointer-events: none;
}
.weight-option span {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 36px;
    padding: 0 4px;
    border: 1px solid var(--subtle-color);
    border-radius: 6px;
    background: #fff;
    color: #3c4043;
    font-size: 0.95em;
    line-height: 1;
    cursor: pointer;
    user-select: none;
    transition: background 0.12s ease, border-color 0.12s ease, color 0.12s ease;
}
.weight-option:hover span {
    background: #f1f3f4;
    border-color: #c6c6c8;
}
.weight-option input:checked + span {
    background: var(--accent);
    border-color: var(--accent-dark);
    color: #fff;
    font-weight: 600;
}
.weight-option input:focus-visible + span {
    outline: 2px solid var(--accent-dark);
    outline-offset: 1px;
}
.weight-ends {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
    margin-top: 4px;
}
.weight-end-label {
    font-size: 0.85em;
    color: var(--muted-text);
    padding: 0 4px;
}
.weight-end-label:last-child {
    text-align: right;
}

.score-range {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 24px;
    background: transparent;
    margin-top:0;
    cursor: pointer;
    --fill: 0%; /* set by JS */
}
.score-range:focus { outline: none; }

/* Chrome / Safari track */
.score-range::-webkit-slider-runnable-track {
    height: 6px;
    border-radius: 999px;
    background: linear-gradient(to right, var(--accent) var(--fill), var(--track) var(--fill));
}

/* Firefox track */
.score-range::-moz-range-track {
    height: 6px;
    border-radius: 999px;
    background: linear-gradient(to right, var(--accent) var(--fill), var(--track) var(--fill));
}

/* Thumb (nupp) */
.score-range::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 22px;
    height: 22px;
    background: #fff;
    border: 3px solid var(--accent);
    border-radius: 50%;
    margin-top: -8px; /* (22 - 6) / 2 → keskele 6px rajal */
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.15);
    transition: box-shadow 0.15s ease, border-color 0.15s ease, background 0.15s ease;
}
.score-range:hover::-webkit-slider-thumb,
.score-range:focus-visible::-webkit-slider-thumb {
    background: var(--accent);
}
.score-range:active::-webkit-slider-thumb {
    border-color: var(--accent);
    background: var(--accent);
}

.score-range::-moz-range-thumb {
    width: 22px;
    height: 22px;
    background: #fff;
    border: 3px solid var(--accent);
    border-radius: 50%;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.15);
    transition: box-shadow 0.15s ease, border-color 0.15s ease, background 0.15s ease;
}
.score-range:hover::-moz-range-thumb,
.score-range:focus-visible::-moz-range-thumb {
    background: var(--accent);
}
.score-range:active::-moz-range-thumb {
    border-color: var(--accent);
    background: var(--accent);
}

.range-labels {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    color: #6b7280;
    margin-top: 6px;
}

/* .range-labels span {
    transition: opacity 0.2s ease, color 0.2s ease, font-weight 0.2s ease;
  
    
    font-weight: 400;
} */
.range-wrapper {
  position: relative;
  margin: 0 auto 3rem;
  line-height:80%;
}
.value-box-range {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 1rem;
}
.value-box-range .score-range {
    flex: 1;
}
.computed-value {
    margin: -0.5rem 0 1.5rem;
    font-size: 14px;
    font-style: italic;
    color: #3f4f5c;
}
.computed-result {
    color: #0f2238;
}
.value-box {
    min-width: 46px;
    padding: 5px 10px;
    /* background: var(--accent-soft); */
    color: var(--accent-dark);
    border: 1px solid transparent;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
    font-variant-numeric: tabular-nums;
    line-height: normal;
    text-align: center;
    white-space: nowrap;
}
/* one answer: its text and points on one line, the slider across the full width under them */
.points-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    column-gap: 10px;
    row-gap: 6px;
    margin-bottom: 8px;
    padding: 10px 12px 12px;
    border: 1px solid var(--subtle-color);
    border-radius: 10px;
    background: #fff;
}
.points-row .range-wrapper { display: contents; }
.points-row .score-answer-text { grid-column: 1 / -1; grid-row: 1; padding: 0; }
.points-row .score-range { grid-column: 1 / -1; grid-row: 2; width: 100%; margin: 0; }
.points-row .weight-ends { grid-column: 1 / -1; grid-row: 3; margin-top: 0; }
.points-answer .question-wizard-confirm { margin-top: 6px; }
/* checkbox question (q_questions.as_checkbox): each answer is one clickable row with a box in front */
.points-row.points-check {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px;
    cursor: pointer;
}
.points-row.points-check input[type="checkbox"] { flex: 0 0 auto; width: 20px; height: 20px; margin: 0; accent-color: var(--action-dark); }
.points-row.points-check .score-answer-text { flex: 1 1 auto; padding: 0; }
.points-row.points-check:hover { border-color: #9a9ca3; }
.points-row.points-check:has(input:checked) { border-color: var(--action-dark); background: #f2f8ff; }
/* editing from the summary hides the answer text of single-answer steps; here it names each slider */
.question-wizard-inline-edit .points-row .score-answer-text { display: block; }
.question-wizard-confirm:disabled { opacity: 0.5; cursor: default; box-shadow: none; }

.value-box-input { display: inline-flex; align-items: center; gap: 4px; padding: 0; font-size: 14px; }
.value-box-input input[type="number"] {
    width: 84px;
    box-sizing: border-box;
    padding: 6px 8px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font: inherit;
    font-variant-numeric: tabular-nums;
    text-align: right;
    color: inherit;
    background: #fff;
}
.value-box-input input[type="number"]:focus { outline: 2px solid var(--accent-dark); outline-offset: 1px; }
.range {
  width: 100%;
  height:1px;
}
.bubble {
  background: var(--accent);
  color: #fff;
  padding: 6px 10px;
  position: absolute;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 600;
  left: 50%;
  transform: translateX(-50%);
   top: 37px; 
    white-space: nowrap;
  box-shadow: 0 2px 6px var(--accent-glow);
}
.bubble::after {
    content: "";
    position: absolute;
    bottom: 100%;           /* ⬅️ kinnitub täpselt kasti külge */
    left: 50%;
    transform: translateX(-50%);
    
    width: 0;
    height: 0;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-bottom: 6px solid var(--accent);
}

.hidden {
    visibility: hidden;
    height: 1px;
    width:1px;
    overflow: hidden;
}

@media (max-width: 600px) {
    .question-block {
        margin-top: 22px;
    }

    .question-part {
        font-size: 1.05em;
        line-height: 1.4;
    }

    .answer-part {
        padding-left: 0;
    }

    .score-range {
        height: 36px; /* larger touch target */
    }
    .score-range::-webkit-slider-thumb {
        width: 26px;
        height: 26px;
        margin-top: -10px;
    }
    .score-range::-moz-range-thumb {
        width: 26px;
        height: 26px;
    }

    .value-box-range {
        gap: 8px;
    }
    .value-box {
        min-width: 54px;
        font-size: 13px;
    }

    .range-wrapper {
        margin-bottom: 1.5rem;
    }

    .select-slick,
    .question-select,
    .filter-select {
        width: 100%;
        max-width: 100%;
        font-size: 16px;
    }

    .filter-checkboxes label {
        display: block;
        padding: 6px 0;
    }

    input[type="submit"] {
        width: 100%;
        font-size: 1.15em;
        padding: 12px;
    }
}

/* ===== Max price: always visible, between the questions and the filters ===== */
.max-price-section {
    width: 100%;
    max-width: 400px;
    margin: 30px auto 0;
    padding: 0 16px;
    box-sizing: border-box;
}
.max-price-title {
    padding: 10px 4px;
    font-size: 1.2em;
    margin-bottom: 10px;
    font-weight: 700;
}
.max-price-section .value-box-range { margin-bottom: 0; }

/* ===== Ordinary feature filters ("Filtrid") ===== */
.filters-section {
    width: 100%;
    max-width: 400px;
    margin: 30px auto 0;
    padding: 0 16px;
    box-sizing: border-box;
}
.filters-section [hidden],
.questions-section [hidden] { display: none !important; }
/* heading above the questions: plain text, not a control */
.questions-heading { max-width: 400px; margin: 0 auto; padding: 10px 16px; box-sizing: border-box; font-size: 1.2em; font-weight: 600; }
.questions-body { padding: 6px 0 0; }
.filters-toggle {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    padding: 10px 4px;
    background: none;
    border: 0;
    border-bottom: 1px solid #ddd;
    font: inherit;
    font-size: 1.2em;
    text-align: left;
    cursor: pointer;
}
.filters-toggle-title { flex: 1 1 auto; }
.filters-active-count {
    font-size: 0.75em;
    padding: 2px 10px;
    border-radius: 999px;
    background: var(--accent);
    color: #fff;
}
.filters-toggle .chevron {
    flex: 0 0 auto;
    width: 9px; height: 9px;
    border-right: 2px solid #5f6368;
    border-bottom: 2px solid #5f6368;
    transform: rotate(45deg);
    transition: transform 0.25s ease;
    margin: -3px 6px 0 0;
}
.filters-toggle[aria-expanded="true"] .chevron { transform: rotate(-135deg); margin-top: 4px; }
.filters-body { padding: 6px 0 0; }
/* admin "visible at once" filters: open, above the folded Filters block */
.filters-pinned { padding: 8px 0 2px; }
/* admin explanation after a filter's name */
.filter-explanation { font-weight: 400; }
/* yes/no filter with an explanation: a card like a question's answer - the box, the name (bold) with
   its count, and the explanation in small print under them */
.filter-yesno.has-explanation { margin: 8px 0; padding: 0; border: 0; }
.filter-yesno label.has-explanation {
    align-items: flex-start;
    gap: 10px;
    padding: 10px 12px;
    border: 1px solid var(--subtle-color);
    border-radius: 10px;
    background: #fff;
    line-height: 1.35;
    transition: background 0.12s ease, border-color 0.12s ease;
}
.filter-yesno label.has-explanation:hover { border-color: #c6c6c8; }
.filter-yesno label.has-explanation:has(input:checked) { border-color: var(--accent-dark); background: #f6f6f7; }
.filter-yesno label.has-explanation input[type="checkbox"] { margin-top: 3px; }
.filter-yesno label.has-explanation .filter-text { flex: 1 1 auto; min-width: 0; }
.filter-yesno label.has-explanation .filter-label { font-weight: 600; }
.filter-yesno label.has-explanation .filter-explanation { display: block; margin-top: 2px; color: var(--muted-text); font-size: 0.9em; font-weight: 400; }
.filter-facet {
    margin: 8px 0;
    padding: 6px 4px;
    border: 0;
    border-bottom: 1px solid #f0f0f0;
    min-width: 0;
}
.filter-facet legend {
    padding: 0;
    font-weight: 400;          /* bold only while the facet is active */
    font-size: 0.95em;
    color: #202124;
}
.filter-facet-head {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
}
.filter-facet-title { flex: 1 1 auto; min-width: 0; }
.filter-facet-toggle {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px; height: 28px;
    margin: -4px 0;
    padding: 0;
    background: none;
    border: 0;
    border-radius: 50%;
    cursor: pointer;
}
.filter-facet-toggle:hover { background: #f0f0f0; }
.filter-facet-toggle .chevron {
    width: 7px; height: 7px;
    border-right: 2px solid #5f6368;
    border-bottom: 2px solid #5f6368;
    transform: rotate(45deg);
    transition: transform 0.25s ease;
    margin-top: -3px;
}
.filter-facet-toggle[aria-expanded="true"] .chevron { transform: rotate(-135deg); margin-top: 3px; }
.filter-facet-body { padding-top: 2px; }
/* active facet: bold only, colour stays the same */
.filter-facet.is-active legend,
.filter-facet.is-active legend .filter-label,
.filter-yesno.is-active .filter-label { font-weight: 600; }
.filter-unit { font-weight: 400; color: #5f6368; }
.filter-count { color: #888; font-size: 0.85em; }
.filter-yesno label,
.filter-values label {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 4px 0;
    cursor: pointer;
}
.filter-yesno label { font-weight: 400; font-size: 0.95em; }
.filter-yesno.is-active label { font-weight: 600; }
.filter-facet input[type="checkbox"] { accent-color: var(--accent); width: 16px; height: 16px; margin: 0; flex: 0 0 auto; }
.filter-values { max-height: 240px; overflow: auto; margin-top: 4px; }
.filter-values[data-collapsed] .filter-value-extra { display: none; }
.filter-values label.is-zero,
.filter-yesno label.is-zero { opacity: 0.45; }
.filters-section.is-loading .filter-count { opacity: 0.5; transition: opacity 0.15s ease; }
.filter-range-inputs { display: flex; align-items: flex-end; gap: 8px; margin-top: 6px; }
.filter-range-inputs label { display: flex; flex-direction: column; gap: 2px; flex: 1 1 0; min-width: 0; }
.filter-range-caption { font-size: 0.75em; color: #5f6368; }
.filter-range-inputs input[type="number"] {
    width: 100%;
    box-sizing: border-box;
    padding: 6px 8px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font: inherit;
    font-size: 0.95em;
}
.filter-range-dash { padding-bottom: 8px; color: #888; }
/* stepped range facet (data-stops): two-handle slider over the values that really exist */
.filter-range.has-stops .filter-range-inputs { display: none; }
.filter-stops-slider { position: relative; height: 52px; margin-top: 6px; }
.filter-stops-text { text-align: center; font-weight: 600; font-size: 0.95em; line-height: 22px; }
.filter-stops-track { position: absolute; left: 10px; right: 10px; top: 35px; height: 4px; border-radius: 2px; background: #c2c5cc; }
.filter-stops-fill { position: absolute; top: 0; bottom: 0; border-radius: 2px; background: var(--accent); }
.filter-stops-handle {
    position: absolute;
    left: 0;
    top: 26px;
    width: 100%;
    height: 22px;
    margin: 0;
    padding: 0;
    background: none;
    pointer-events: none;
    -webkit-appearance: none;
    appearance: none;
}
.filter-stops-handle:focus { outline: none; }
.filter-stops-handle::-webkit-slider-runnable-track { background: none; height: 22px; }
.filter-stops-handle::-moz-range-track { background: none; height: 22px; }
.filter-stops-handle::-webkit-slider-thumb {
    -webkit-appearance: none;
    pointer-events: auto;
    box-sizing: border-box;
    width: 20px;
    height: 20px;
    margin-top: 1px;
    border-radius: 50%;
    border: 2px solid var(--accent);
    background: #fff;
    cursor: pointer;
}
.filter-stops-handle::-moz-range-thumb {
    pointer-events: auto;
    box-sizing: border-box;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 2px solid var(--accent);
    background: #fff;
    cursor: pointer;
}
.filter-stops-handle:focus-visible::-webkit-slider-thumb { box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.15); }
.filter-stops-handle:focus-visible::-moz-range-thumb { box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.15); }
.link-button {
    background: none;
    border: 0;
    padding: 4px 0;
    color: var(--accent-dark);
    font: inherit;
    font-size: 0.9em;
    cursor: pointer;
    text-decoration: underline;
}
.filters-more-toggle { display: block; margin: 10px 0 4px; font-size: 1em; }
.filters-clear { display: inline-block; margin-top: 6px; font-size: 0.9em; color: #5f6368; }

/* ===== Search form parts as separate cards: answered questions, filters, max price ===== */
.question-wizard-summary,
.filters-section,
.max-price-section {
    width: calc(100% - 32px);
    max-width: 368px;
    margin: 12px auto 0;
    padding: 10px 14px;
    border: 1px solid #e3e4e8;
    border-radius: 10px;
    background: #fff;
}
/* "Filters", "Questions" (.questions-fold below) and the max price: a clearly visible grey border */
.filters-section { padding-top: 2px; padding-bottom: 2px; border-color: #9a9ca3; }
.max-price-section { border-color: #9a9ca3; }
/* folded: the card border is the only line; open: keep the rule under the heading */
.filters-section > .filters-toggle[aria-expanded="false"] { border-bottom: 0; }
.question-wizard-summary h3,
.max-price-title,
.filters-section > .filters-toggle .filters-toggle-title {
    margin: 0 0 6px;
    color: var(--muted-text);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}
.filters-section > .filters-toggle .filters-toggle-title { margin: 0; }
.max-price-title { padding: 0; }
/* a clear rule between every answered question (the card border closes the last one) */
.question-wizard-summary-item { padding: 9px 0; border-bottom: 1px solid #9a9ca3; }
.question-wizard-summary-item:first-child { padding-top: 4px; }
.question-wizard-summary-item:last-child { border-bottom: 0; padding-bottom: 0; }
.questions-section form > input[type="submit"] { margin-top: 16px; }

/* ===== After a search (form.is-folded): only two big buttons, "Questions" and "Filters" ===== */
.questions-fold {
    width: calc(100% - 32px);
    max-width: 368px;
    margin: 12px auto 0;
    padding: 2px 14px;
    box-sizing: border-box;
    border: 1px solid #9a9ca3;
    border-radius: 10px;
    background: #fff;
}
.questions-fold > .filters-toggle[aria-expanded="false"] { border-bottom: 0; }
/* the answered questions sit inside the "Questions" card: no card or heading of their own */
.questions-fold .question-wizard-summary { width: auto; max-width: none; margin: 0; padding: 8px 0; border: 0; }
.questions-fold .question-wizard-summary h3 { display: none; }
form.is-folded .questions-heading,
form.is-folded .question-wizard-complete { display: none !important; }
/* big button look for the two toggles */
form.is-folded .questions-fold > .filters-toggle,
form.is-folded .filters-section > .filters-toggle { padding: 14px 4px; }
form.is-folded .questions-fold > .filters-toggle .filters-toggle-title,
form.is-folded .filters-section > .filters-toggle .filters-toggle-title {
    margin: 0;
    color: #202124;
    font-size: 1.05rem;
    font-weight: 600;
    letter-spacing: 0;
    text-transform: none;
}

/* range formula of a slider question: small blue link under the block that switches computed / manual mode */
.computed-manual-toggle { display: block; margin: -1rem 0 1rem; padding: 0; color: #1a5fd0; font-size: 12px; font-style: normal; }
.formula-filter-facet + .computed-manual-toggle { margin-top: 6px; }
