.couq {
    --couq-ink: #17253a;
    --couq-blue: #103e91;
    --couq-red: #db172c;
    --couq-border: #dce4ef;
    display: grid;
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
    align-items: start;
    gap: clamp(16px, 2.4vw, 32px);
    color: var(--couq-ink);
}
.couq, .couq * { box-sizing: border-box; }
.couq .couq-panel {
    min-width: 0;
    border: 1px solid var(--couq-border);
    border-radius: 24px;
    padding: clamp(16px, 2.4vw, 32px);
    box-shadow: 0 12px 32px rgb(19 57 114 / 7%);
}
.couq .couq-estimate { background: #f3f5f8; }
.couq .couq-survey { background: #fff; }
.couq fieldset { padding: 0; border: 0; margin: 0 0 22px; min-width: 0; }
.couq legend { margin: 0 0 10px; padding: 0; font-size: 15px; font-weight: 700; color: inherit; }
.couq .couq-types, .couq .couq-products, .couq .couq-form-row { display: grid; gap: 10px; }
.couq .couq-types { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.couq .couq-products, .couq .couq-form-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.couq .couq-types button {
    margin: 0;
    min-width: 0;
    padding: 10px 6px;
    min-height: 46px;
    border: 1px solid #cbd7e7;
    border-radius: 12px;
    background: #fff;
    color: var(--couq-ink);
    font-size: 14px;
    font-weight: 600;
    line-height: 1.25;
    text-transform: none;
    letter-spacing: normal;
}
.couq .couq-types button[aria-pressed="true"] { background: var(--couq-blue); color: #fff; border-color: var(--couq-blue); }
.couq .couq-area { position: relative; display: block; margin: 0; }
.couq .couq-area input { width: 100%; accent-color: var(--couq-blue); margin: 0; cursor: pointer; }
.couq [data-area], .couq [data-summary] { color: var(--couq-blue); background: #edf2fb; padding: 4px 9px; border-radius: 8px; font-weight: 700; }
.couq [data-area] { display: table; margin: 0 0 6px auto; }
.couq .couq-marks, .couq .couq-result-top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px; font-size: 12px; color: #506680; }
.couq .couq-products label { display: flex; align-items: flex-start; gap: 10px; margin: 0; padding: 12px; border: 1px solid var(--couq-border); border-radius: 14px; background: #fff; cursor: pointer; }
.couq .couq-products label[hidden] { display: none; }
.couq .couq-products label:focus-within { border-color: var(--couq-blue); }
.couq .couq-products input { margin: 3px 0 0; accent-color: var(--couq-blue); flex-shrink: 0; }
.couq .couq-products strong { display: block; font-size: 14px; }
.couq .couq-products small, .couq [data-details] { display: block; font-size: 12px; color: #506680; line-height: 1.5; }
.couq .couq-result { background: #fff; border: 2px solid #ccd8eb; border-radius: 16px; padding: clamp(14px, 1.8vw, 24px); }
.couq .couq-result-top { align-items: center; border-bottom: 1px solid #edf0f5; padding-bottom: 12px; }
.couq .couq-total { display: flex; flex-wrap: wrap; gap: 8px 14px; align-items: baseline; margin: 14px 0 10px; }
.couq [data-range] { color: var(--couq-red); font-size: clamp(19px, 2.3vw, 32px); line-height: 1.2; }
.couq [data-average] { color: #506680; font-size: 12px; }
.couq h2 { margin: 0 0 18px; color: inherit; font-size: clamp(20px, 2.1vw, 25px); font-weight: 700; text-transform: none; }
.couq .couq-form-fields label { display: block; color: #334b68; font-size: 13px; font-weight: 700; margin: 0 0 10px; }
.couq .couq-form-fields p { margin: 0; }
.couq .couq-form-fields input:not([type="submit"]):not([type="hidden"]),
.couq .couq-form-fields textarea {
    width: 100%;
    margin: 5px 0 3px;
    padding: 9px 13px;
    min-height: 44px;
    border-radius: 10px;
    border: 1px solid #cbd7e7;
    background: #fff;
    box-shadow: none;
    font-size: 15px;
}
.couq .couq-form-fields textarea { min-height: 86px; }
.couq .couq-form-fields input[type="submit"] {
    width: 100%;
    min-height: 48px;
    margin: 5px 0 0;
    padding: 10px 12px;
    background: var(--couq-red);
    color: #fff;
    border-radius: 12px;
    font-size: 15px;
    text-transform: none;
    white-space: normal;
    line-height: 1.35;
}
.couq .couq-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
@media (max-width: 840px) {
    .couq { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 430px) {
    .couq .couq-types { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .couq .couq-products { grid-template-columns: minmax(0, 1fr); }
}
