/**
 * The four questions — the cards a traveller actually sees.
 *
 * Built to the Sarisara design system (RULE 5.5 / RULE 6): the violet-accent
 * section card, the brand palette, #fafafa ground, and nothing invented.
 *
 * The Traveler parent theme styles a bare <button> gold and out-specifies a
 * single class, so every button here is defended with two classes.
 */
.ss-tp-card {
    background: #fff;
    border: 1px solid #ececf2;
    border-left: 4px solid #7700FF;
    border-radius: 12px;
    padding: 22px 24px;
    margin: 0 0 22px;
    font-family: 'Google Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: #090920;
    box-shadow: 0 1px 3px rgba(9, 9, 32, .05);
}
.ss-tp-card--cancel { border-left-color: #FF0A1F; }
.ss-tp-card--after  { border-left-color: #1F8A00; }

.ss-tp-card__title {
    margin: 0 0 6px;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.3;
    color: #090920;
}
.ss-tp-card__lead {
    margin: 0 0 18px;
    font-size: 14px;
    line-height: 1.6;
    color: #4a4a63;
    max-width: 62ch;
}

.ss-tp-row { margin-bottom: 18px; }
.ss-tp-label {
    display: block;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: #6b6b80;
    margin-bottom: 8px;
}
.ss-tp-help {
    margin: 7px 0 0;
    font-size: 12.5px;
    color: #6b6b80;
    line-height: 1.5;
}

.ss-tp-card .ss-tp-select {
    width: 100%;
    max-width: 380px;
    padding: 11px 14px;
    border: 1px solid #d9d9e3;
    border-radius: 10px;
    font-size: 14.5px;
    color: #090920;
    background: #fafafa;
}
.ss-tp-card .ss-tp-select:focus {
    outline: none;
    border-color: #7700FF;
    box-shadow: 0 0 0 3px rgba(119, 0, 255, .12);
}

.ss-tp-choices { display: flex; flex-wrap: wrap; gap: 9px; }
.ss-tp-choices--stack { flex-direction: column; align-items: stretch; }

.ss-tp-card .ss-tp-choice {
    appearance: none;
    background: #fafafa;
    border: 1px solid #d9d9e3;
    border-radius: 999px;
    padding: 10px 18px;
    font-family: inherit;
    font-size: 14px;
    font-weight: 600;
    color: #4a4a63;
    cursor: pointer;
    text-transform: none;
    letter-spacing: 0;
    line-height: 1.4;
    transition: border-color .12s ease, color .12s ease, background .12s ease;
}
.ss-tp-choices--stack .ss-tp-choice { border-radius: 10px; text-align: left; }
.ss-tp-card .ss-tp-choice:hover { border-color: #7700FF; color: #7700FF; }
.ss-tp-card .ss-tp-choice.is-on {
    background: #7700FF;
    border-color: #7700FF;
    color: #fff;
}

.ss-tp-card .ss-tp-note {
    width: 100%;
    padding: 11px 14px;
    border: 1px solid #d9d9e3;
    border-radius: 10px;
    font-family: inherit;
    font-size: 14.5px;
    color: #090920;
    background: #fafafa;
    resize: vertical;
}

.ss-tp-foot {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
    margin-top: 4px;
}
.ss-tp-card .ss-tp-save {
    appearance: none;
    background: #7700FF;
    border: 1px solid #7700FF;
    color: #fff;
    border-radius: 999px;
    padding: 11px 30px;
    font-family: inherit;
    font-size: 14px;
    font-weight: 700;
    text-transform: none;
    letter-spacing: 0;
    cursor: pointer;
}
.ss-tp-card .ss-tp-save:hover { background: #6200d6; border-color: #6200d6; }
.ss-tp-card .ss-tp-save[disabled] { opacity: .55; cursor: default; }

.ss-tp-card .ss-tp-skip {
    appearance: none;
    background: none;
    border: 0;
    padding: 6px 2px;
    font-family: inherit;
    font-size: 13px;
    color: #6b6b80;
    text-decoration: underline;
    cursor: pointer;
}
.ss-tp-msg { font-size: 13.5px; font-weight: 600; color: #1F8A00; }
.ss-tp-msg.is-bad { color: #c40017; }

@media (max-width: 600px) {
    .ss-tp-card { padding: 18px; }
    .ss-tp-card .ss-tp-choice { width: 100%; text-align: center; }
}
