/* Primecomms mobile-sales survey designs. Scoped to the Talk It For Real child theme. */

body.talkitfr {
    --pc-ink: #172033;
    --pc-muted: #637083;
    --pc-surface: #ffffff;
    --pc-border: rgba(23, 32, 51, 0.12);
    --pc-accent: #09a6df;
    --pc-accent-2: #19b88d;
    --pc-soft: #f5f8fb;
    background: var(--pc-page-bg, #f5f8fb) !important;
    color: var(--pc-ink) !important;
    line-height: 1.55;
    padding-top: 0 !important;
}

body.talkitfr.survey-sid-910001 {
    --pc-page-bg: linear-gradient(180deg, #f8fbff 0%, #eef8f7 58%, #ffffff 100%);
    --pc-ink: #14213d;
    --pc-muted: #5f6d7d;
    --pc-accent: #079bd3;
    --pc-accent-2: #18b783;
    --pc-soft: #eaf8f6;
    --pc-border: rgba(7, 155, 211, 0.18);
}

body.talkitfr.survey-sid-910002 {
    --pc-page-bg: #0c1524;
    --pc-ink: #f4f8ff;
    --pc-muted: #b7c6d8;
    --pc-surface: #142238;
    --pc-accent: #23d5e8;
    --pc-accent-2: #a2e651;
    --pc-soft: #192b47;
    --pc-border: rgba(111, 217, 232, 0.28);
}

body.talkitfr.survey-sid-910003 {
    --pc-page-bg: linear-gradient(180deg, #fffaf1 0%, #f7f8f4 48%, #ffffff 100%);
    --pc-ink: #29231f;
    --pc-muted: #776b5f;
    --pc-surface: #fffdf8;
    --pc-accent: #d86824;
    --pc-accent-2: #2a8f87;
    --pc-soft: #fff1dc;
    --pc-border: rgba(216, 104, 36, 0.22);
}

body.talkitfr.survey-sid-910004 {
    --pc-page-bg: #eef3f2;
    --pc-ink: #102724;
    --pc-muted: #536966;
    --pc-surface: #ffffff;
    --pc-accent: #116d63;
    --pc-accent-2: #2f6de0;
    --pc-soft: #e5efed;
    --pc-border: rgba(17, 109, 99, 0.2);
}

body.talkitfr #survey-nav {
    position: sticky;
    top: 0;
    min-height: 86px;
    padding: 6px 0;
    border: 0;
    border-bottom: 1px solid var(--pc-border);
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(12px);
    box-shadow: 0 10px 28px rgba(20, 33, 61, 0.08);
}

body.talkitfr.survey-sid-910002 #survey-nav {
    background: rgba(12, 21, 36, 0.92);
    box-shadow: 0 14px 36px rgba(0, 0, 0, 0.28);
}

body.talkitfr #survey-nav > .container-fluid,
body.talkitfr .top-container .top-content,
body.talkitfr #outerframeContainer .col-xl-8 {
    max-width: 1040px;
}

body.talkitfr #survey-nav .logo {
    width: auto !important;
    height: 72px;
    max-height: none;
    object-fit: contain;
}

body.talkitfr #survey-nav .logo-container {
    width: 218px !important;
    flex: 0 0 218px;
    overflow: visible;
}

body.talkitfr #navbar-toggler {
    color: var(--pc-ink);
    border: 1px solid var(--pc-border);
    background: var(--pc-surface);
    border-radius: 8px;
}

body.talkitfr.survey-sid-910002 #navbar-toggler {
    color: #f4f8ff;
}

body.talkitfr .top-container {
    padding-top: 16px;
}

body.talkitfr .progress {
    height: 10px;
    background: rgba(120, 132, 148, 0.2);
    border-radius: 999px;
    overflow: hidden;
}

body.talkitfr .progress-bar {
    background: linear-gradient(90deg, var(--pc-accent), var(--pc-accent-2));
}

body.talkitfr #outerframeContainer {
    padding-top: 26px;
    padding-bottom: 52px;
}

body.talkitfr #main-col {
    width: 100%;
}

body.talkitfr #welcome-container,
body.talkitfr .question-container,
body.talkitfr .group-description,
body.talkitfr .completed-wrapper {
    border: 1px solid var(--pc-border);
    border-radius: 8px !important;
    background: var(--pc-surface) !important;
    color: var(--pc-ink);
    box-shadow: 0 22px 48px rgba(18, 29, 48, 0.09);
}

body.talkitfr #welcome-container {
    position: relative;
    overflow: hidden;
    padding: clamp(28px, 5vw, 56px);
}

body.talkitfr #welcome-container::before {
    content: "";
    position: absolute;
    inset: 0 auto 0 0;
    width: 8px;
    background: linear-gradient(180deg, var(--pc-accent), var(--pc-accent-2));
}

body.talkitfr .survey-name {
    max-width: 780px;
    margin-bottom: 18px;
    color: var(--pc-ink);
    font-size: 3.85rem;
    font-weight: 800;
    letter-spacing: 0;
    line-height: 1.02;
}

body.talkitfr .survey-description,
body.talkitfr .survey-welcome,
body.talkitfr .question-count-text {
    max-width: 760px;
    color: var(--pc-muted);
    font-size: 1.08rem;
}

body.talkitfr .survey-description {
    margin-bottom: 12px;
    font-weight: 650;
}

body.talkitfr .number-of-questions {
    margin-top: 24px;
}

body.talkitfr .question-count-text {
    display: inline-flex;
    align-items: center;
    min-height: 40px;
    padding: 8px 14px;
    border: 1px solid var(--pc-border);
    border-radius: 8px;
    background: var(--pc-soft);
    font-weight: 650;
}

body.talkitfr .group-title-container,
body.talkitfr .group-description {
    margin-bottom: 18px;
}

body.talkitfr .group-title {
    color: var(--pc-ink);
    font-weight: 800;
    letter-spacing: 0;
}

body.talkitfr .question-container {
    margin-bottom: 22px;
    padding: clamp(18px, 3vw, 30px) !important;
}

body.talkitfr .question-title-container,
body.talkitfr .ls-question-message {
    color: var(--pc-ink);
}

body.talkitfr .question-text,
body.talkitfr .ls-label-question,
body.talkitfr .ls-questionhelp {
    color: var(--pc-ink);
}

body.talkitfr .answer-container {
    margin-top: 16px;
}

body.talkitfr .answer-item label,
body.talkitfr .radio-item label,
body.talkitfr .checkbox-item label {
    border-radius: 8px;
    color: var(--pc-ink);
}

body.talkitfr .form-control,
body.talkitfr .form-select,
body.talkitfr textarea {
    min-height: 46px;
    border: 1px solid var(--pc-border);
    border-radius: 8px !important;
    background: #ffffff;
    color: #172033;
}

body.talkitfr.survey-sid-910002 .form-control,
body.talkitfr.survey-sid-910002 .form-select,
body.talkitfr.survey-sid-910002 textarea {
    background: #0f1b2d;
    color: #f4f8ff;
}

body.talkitfr .form-control:focus,
body.talkitfr .form-select:focus,
body.talkitfr textarea:focus {
    border-color: var(--pc-accent);
    box-shadow: 0 0 0 0.22rem rgba(35, 213, 232, 0.16);
}

body.talkitfr .btn {
    border-radius: 8px !important;
    font-weight: 750;
    letter-spacing: 0;
}

body.talkitfr .btn-primary,
body.talkitfr .ls-move-next-btn,
body.talkitfr .ls-move-submit-btn {
    border-color: var(--pc-accent) !important;
    background: var(--pc-accent) !important;
    color: #ffffff !important;
    box-shadow: 0 14px 28px rgba(7, 155, 211, 0.18);
}

body.talkitfr.survey-sid-910002 .btn-primary,
body.talkitfr.survey-sid-910002 .ls-move-next-btn,
body.talkitfr.survey-sid-910002 .ls-move-submit-btn {
    color: #07101d !important;
}

body.talkitfr .btn-outline-secondary {
    border-color: var(--pc-border);
    color: var(--pc-ink);
    background: transparent;
}

body.talkitfr #navigator-container {
    align-items: center;
    margin-top: 20px;
}

body.talkitfr.survey-sid-910001 #welcome-container {
    background:
        linear-gradient(135deg, rgba(7, 155, 211, 0.08), rgba(24, 183, 131, 0.12)),
        #ffffff !important;
}

body.talkitfr.survey-sid-910001 .question-container {
    border-left: 8px solid var(--pc-accent);
}

body.talkitfr.survey-sid-910001 .answer-item label:hover,
body.talkitfr.survey-sid-910001 .radio-item label:hover {
    background: #eefaf7;
}

body.talkitfr.survey-sid-910002 article {
    background:
        linear-gradient(120deg, rgba(35, 213, 232, 0.08), transparent 36%),
        linear-gradient(180deg, #0c1524, #101b2e);
}

body.talkitfr.survey-sid-910002 #welcome-container,
body.talkitfr.survey-sid-910002 .question-container,
body.talkitfr.survey-sid-910002 .group-description {
    background: rgba(20, 34, 56, 0.88) !important;
    box-shadow: 0 28px 60px rgba(0, 0, 0, 0.26);
}

body.talkitfr.survey-sid-910002 #welcome-container::before {
    width: 100%;
    height: 6px;
    inset: 0 0 auto 0;
}

body.talkitfr.survey-sid-910002 .question-count-text {
    color: #e8f5ff;
}

body.talkitfr.survey-sid-910003 #welcome-container {
    border-style: dashed;
}

body.talkitfr.survey-sid-910003 #welcome-container::before {
    width: 0;
}

body.talkitfr.survey-sid-910003 .survey-name::after {
    content: "";
    display: block;
    width: 96px;
    height: 5px;
    margin-top: 18px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--pc-accent), var(--pc-accent-2));
}

body.talkitfr.survey-sid-910003 .question-container {
    border-top: 5px solid var(--pc-accent);
}

body.talkitfr.survey-sid-910004 #outerframeContainer .col-xl-8 {
    max-width: 1120px;
}

body.talkitfr.survey-sid-910004 #welcome-container,
body.talkitfr.survey-sid-910004 .question-container {
    border-left: 10px solid var(--pc-accent);
    box-shadow: none;
}

body.talkitfr.survey-sid-910004 .survey-name {
    max-width: 920px;
    font-size: 2.75rem;
}

body.talkitfr.survey-sid-910004 .question-count-text,
body.talkitfr.survey-sid-910004 .btn-primary {
    text-transform: uppercase;
}

@media (min-width: 900px) {
    body.talkitfr.survey-sid-910002 #welcome-container {
        padding-right: min(24vw, 220px);
    }

    body.talkitfr.survey-sid-910004 #welcome-container {
        display: grid;
        grid-template-columns: minmax(0, 1.7fr) minmax(230px, 0.55fr);
        gap: 24px 34px;
        align-items: center;
    }

    body.talkitfr.survey-sid-910004 .survey-name,
    body.talkitfr.survey-sid-910004 .survey-description,
    body.talkitfr.survey-sid-910004 .survey-welcome {
        grid-column: 1;
    }

    body.talkitfr.survey-sid-910004 .number-of-questions {
        grid-column: 2;
        grid-row: 1 / span 3;
        margin-top: 0;
        justify-self: end;
    }
}

@media (max-width: 991px) {
    body.talkitfr .survey-name,
    body.talkitfr.survey-sid-910004 .survey-name {
        font-size: 3rem;
    }

    body.talkitfr.survey-sid-910004 .survey-name {
        font-size: 2.65rem;
    }

    body.talkitfr.survey-sid-910004 #welcome-container {
        display: block;
    }

    body.talkitfr.survey-sid-910004 .number-of-questions {
        margin-top: 24px;
    }
}

@media (max-width: 767px) {
    body.talkitfr #survey-nav {
        min-height: 70px;
        padding: 5px 0;
    }

    body.talkitfr #survey-nav .logo {
        width: auto !important;
        height: 58px;
        max-height: none;
    }

    body.talkitfr #survey-nav .logo-container {
        width: 176px !important;
        flex-basis: 176px;
    }

    body.talkitfr #outerframeContainer {
        padding-top: 18px;
        padding-bottom: 34px;
    }

    body.talkitfr #welcome-container,
    body.talkitfr .question-container {
        padding: 22px !important;
    }

    body.talkitfr .survey-name {
        font-size: 2.35rem;
    }

    body.talkitfr.survey-sid-910004 .survey-name {
        font-size: 2.2rem;
    }

    body.talkitfr #navigator-container .col-6 {
        width: 100%;
        text-align: left !important;
    }

    body.talkitfr #ls-button-submit {
        width: 100%;
        margin-top: 10px;
    }
}

/* TalkItFR public survey index */
body.talkitfr-survey-index {
    --tfr-night: #171139;
    --tfr-night-2: #241f56;
    --tfr-ink: #201d34;
    --tfr-muted: #706d82;
    --tfr-line: rgba(238, 237, 254, 0.18);
    --tfr-panel: #ffffff;
    --tfr-purple: #7F77DD;
    --tfr-purple-deep: #534AB7;
    --tfr-teal: #1D9E75;
    --tfr-coral: #D85A30;
    --tfr-amber: #FAC775;
    --tfr-mist: #F5F7FB;
    min-height: 100vh;
    background: var(--tfr-night) !important;
    color: #ffffff !important;
}

body.talkitfr-survey-index #survey-nav {
    min-height: 88px;
    border-bottom: 1px solid var(--tfr-line);
    background: rgba(23, 17, 57, 0.9);
    box-shadow: none;
    backdrop-filter: blur(14px);
}

body.talkitfr-survey-index #survey-nav > .container-fluid {
    width: 100%;
    max-width: 1180px;
    padding-right: 24px;
    padding-left: 24px;
}

body.talkitfr-survey-index #survey-nav .logo-container {
    width: 184px !important;
    flex: 0 0 184px;
}

body.talkitfr-survey-index #survey-nav .logo {
    width: auto !important;
    height: 62px;
}

body.talkitfr-survey-index #navbar-toggler {
    width: 48px;
    height: 44px;
    border: 1px solid rgba(238, 237, 254, 0.24);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.08);
    color: #EEEDFE;
    transition: background 0.2s ease, border-color 0.2s ease, transform 0.12s ease;
}

body.talkitfr-survey-index #navbar-toggler:hover,
body.talkitfr-survey-index #navbar-toggler:focus {
    border-color: rgba(250, 199, 117, 0.62);
    background: rgba(250, 199, 117, 0.14);
}

body.talkitfr-survey-index #navbar-toggler:active {
    transform: scale(0.97);
}

body.talkitfr-survey-index .talkitfr-list-page {
    width: 100%;
    max-width: none;
    min-height: calc(100vh - 88px);
    padding: 0;
    margin: 0;
    background: var(--tfr-night);
}

body.talkitfr-survey-index #surveys-list-container {
    --bs-gutter-x: 0;
    margin: 0;
}

body.talkitfr-survey-index #surveys-list-container > .col-12 {
    padding: 0;
}

body.talkitfr-survey-index .talkitfr-list-stage {
    position: relative;
    min-height: calc(100vh - 88px);
    padding: 56px 24px 64px;
    overflow: hidden;
    background:
        linear-gradient(90deg, rgba(127, 119, 221, 0.16) 1px, transparent 1px),
        linear-gradient(180deg, rgba(127, 119, 221, 0.12) 1px, transparent 1px),
        var(--tfr-night);
    background-size: 44px 44px, 44px 44px, auto;
}

body.talkitfr-survey-index .talkitfr-list-stage::before {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 44%;
    background: linear-gradient(180deg, rgba(29, 158, 117, 0.3), rgba(216, 90, 48, 0.18));
    clip-path: polygon(28% 0, 100% 0, 100% 100%, 0 100%);
    content: "";
}

body.talkitfr-survey-index .talkitfr-list-stage::after {
    position: absolute;
    right: 9%;
    bottom: 11%;
    width: 280px;
    height: 132px;
    border: 1px solid rgba(250, 199, 117, 0.24);
    border-left: 0;
    border-radius: 8px;
    transform: skewX(-16deg);
    content: "";
}

body.talkitfr-survey-index .talkitfr-list-inner {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 1180px;
    margin: 0 auto;
}

body.talkitfr-survey-index .talkitfr-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 280px;
    gap: 32px;
    align-items: end;
    margin-bottom: 30px;
}

body.talkitfr-survey-index .talkitfr-eyebrow,
body.talkitfr-survey-index .talkitfr-count {
    margin: 0 0 12px;
    color: var(--tfr-amber);
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

body.talkitfr-survey-index .talkitfr-hero h1 {
    max-width: 740px;
    margin: 0;
    color: #ffffff;
    font-size: 5.1rem;
    font-weight: 850;
    letter-spacing: 0;
    line-height: 0.98;
}

body.talkitfr-survey-index .talkitfr-hero-text {
    max-width: 580px;
    margin: 18px 0 0;
    color: rgba(238, 237, 254, 0.78);
    font-size: 1.16rem;
    line-height: 1.55;
}

body.talkitfr-survey-index .talkitfr-hero-brand {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 156px;
    border: 1px solid rgba(238, 237, 254, 0.22);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.22);
    backdrop-filter: blur(10px);
}

body.talkitfr-survey-index .talkitfr-hero-logo {
    width: 210px;
    height: auto;
}

body.talkitfr-survey-index .talkitfr-list-toolbar {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 18px;
}

body.talkitfr-survey-index .talkitfr-list-toolbar .form-heading {
    margin: 0;
    color: #ffffff;
    font-size: 1.55rem;
    font-weight: 800;
    letter-spacing: 0;
}

body.talkitfr-survey-index .talkitfr-language {
    max-width: 360px;
    color: #ffffff;
}

body.talkitfr-survey-index .talkitfr-language .form-select,
body.talkitfr-survey-index .talkitfr-language .btn {
    min-height: 42px;
}

body.talkitfr-survey-index .talkitfr-survey-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    padding: 0;
    margin: 0;
}

body.talkitfr-survey-index .talkitfr-survey-card {
    display: block;
    width: 100%;
    padding: 0;
}

body.talkitfr-survey-index .talkitfr-survey-card:nth-child(1) {
    --card-accent: var(--tfr-purple);
}

body.talkitfr-survey-index .talkitfr-survey-card:nth-child(2) {
    --card-accent: var(--tfr-teal);
}

body.talkitfr-survey-index .talkitfr-survey-card:nth-child(3) {
    --card-accent: var(--tfr-coral);
}

body.talkitfr-survey-index .talkitfr-survey-card:nth-child(4) {
    --card-accent: var(--tfr-amber);
}

body.talkitfr-survey-index .talkitfr-survey-link {
    position: relative;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 18px;
    align-items: center;
    min-height: 128px;
    padding: 24px 24px 24px 22px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.72);
    border-radius: 8px !important;
    background: rgba(255, 255, 255, 0.96) !important;
    color: var(--tfr-ink) !important;
    text-align: left;
    text-decoration: none;
    box-shadow: 0 24px 50px rgba(0, 0, 0, 0.18);
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

body.talkitfr-survey-index .talkitfr-survey-link::before {
    position: absolute;
    inset: 0 auto 0 0;
    width: 6px;
    background: var(--card-accent);
    content: "";
}

body.talkitfr-survey-index .talkitfr-survey-link::after {
    position: absolute;
    top: 18px;
    right: 18px;
    width: 72px;
    height: 44px;
    border-top: 1px solid color-mix(in srgb, var(--card-accent) 34%, transparent);
    border-right: 1px solid color-mix(in srgb, var(--card-accent) 34%, transparent);
    transform: skewX(-18deg);
    content: "";
}

body.talkitfr-survey-index .talkitfr-survey-link:hover,
body.talkitfr-survey-index .talkitfr-survey-link:focus {
    border-color: color-mix(in srgb, var(--card-accent) 45%, #ffffff);
    color: var(--tfr-ink) !important;
    transform: translateY(-4px);
    box-shadow: 0 30px 68px rgba(0, 0, 0, 0.26);
}

body.talkitfr-survey-index .talkitfr-survey-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: color-mix(in srgb, var(--card-accent) 16%, #ffffff);
    color: var(--card-accent);
    font-size: 0.9rem;
    font-weight: 850;
}

body.talkitfr-survey-index .talkitfr-survey-title {
    position: relative;
    z-index: 1;
    max-width: 420px;
    font-size: 1.3rem;
    font-weight: 850;
    letter-spacing: 0;
    line-height: 1.18;
}

body.talkitfr-survey-index .talkitfr-survey-action {
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-width: 82px;
    color: var(--card-accent);
    font-size: 0.92rem;
    font-weight: 850;
}

body.talkitfr-survey-index .talkitfr-contact {
    display: flex;
    align-items: center;
    gap: 10px;
    width: fit-content;
    max-width: 100%;
    margin-top: 24px;
    padding: 12px 16px;
    border: 1px solid rgba(238, 237, 254, 0.18);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.08);
    color: rgba(238, 237, 254, 0.78);
    backdrop-filter: blur(10px);
}

body.talkitfr-survey-index .talkitfr-contact span {
    color: #ffffff;
    font-weight: 800;
}

body.talkitfr-survey-index .talkitfr-contact a {
    color: var(--tfr-amber);
    font-weight: 750;
    text-decoration: none;
}

body.talkitfr-survey-index .talkitfr-contact a:hover,
body.talkitfr-survey-index .talkitfr-contact a:focus {
    color: #ffffff;
    text-decoration: underline;
}

body.talkitfr-survey-index .talkitfr-list-footer {
    padding: 18px 24px 28px;
    border: 0;
    background: var(--tfr-night);
    color: rgba(238, 237, 254, 0.62);
}

body.talkitfr-survey-index .talkitfr-list-footer .row {
    max-width: 1180px;
    margin: 0 auto;
}

@media (max-width: 991px) {
    body.talkitfr-survey-index .talkitfr-hero {
        grid-template-columns: 1fr;
        align-items: start;
    }

    body.talkitfr-survey-index .talkitfr-hero h1 {
        font-size: 4rem;
    }

    body.talkitfr-survey-index .talkitfr-hero-brand {
        justify-content: flex-start;
        width: 260px;
        min-height: 130px;
        padding-left: 24px;
    }

    body.talkitfr-survey-index .talkitfr-hero-logo {
        width: 190px;
    }

    body.talkitfr-survey-index .talkitfr-survey-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 767px) {
    body.talkitfr-survey-index #survey-nav {
        min-height: 76px;
    }

    body.talkitfr-survey-index #survey-nav > .container-fluid {
        padding-right: 16px;
        padding-left: 16px;
    }

    body.talkitfr-survey-index #survey-nav .logo-container {
        width: 150px !important;
        flex-basis: 150px;
    }

    body.talkitfr-survey-index #survey-nav .logo {
        height: 52px;
    }

    body.talkitfr-survey-index .talkitfr-list-stage {
        min-height: calc(100vh - 76px);
        padding: 34px 16px 44px;
    }

    body.talkitfr-survey-index .talkitfr-list-stage::before {
        width: 82%;
        opacity: 0.54;
    }

    body.talkitfr-survey-index .talkitfr-list-stage::after {
        display: none;
    }

    body.talkitfr-survey-index .talkitfr-hero {
        gap: 22px;
        margin-bottom: 26px;
    }

    body.talkitfr-survey-index .talkitfr-hero h1 {
        font-size: 3.15rem;
    }

    body.talkitfr-survey-index .talkitfr-hero-text {
        font-size: 1.02rem;
    }

    body.talkitfr-survey-index .talkitfr-list-toolbar {
        display: block;
    }

    body.talkitfr-survey-index .talkitfr-list-toolbar .form-heading {
        font-size: 1.35rem;
    }

    body.talkitfr-survey-index .talkitfr-language {
        margin-top: 16px;
    }

    body.talkitfr-survey-index .talkitfr-survey-link {
        grid-template-columns: auto minmax(0, 1fr);
        min-height: 138px;
        padding: 22px 18px;
    }

    body.talkitfr-survey-index .talkitfr-survey-title {
        font-size: 1.12rem;
    }

    body.talkitfr-survey-index .talkitfr-survey-action {
        grid-column: 2;
    }

    body.talkitfr-survey-index .talkitfr-contact {
        display: block;
        width: 100%;
    }

    body.talkitfr-survey-index .talkitfr-contact a {
        display: block;
        margin-top: 4px;
        overflow-wrap: anywhere;
    }
}

/* Public index refinement: light palette, compact header, readable logo */
body.talkitfr-survey-index {
    --tfr-page: #F6F4FF;
    --tfr-panel: #FFFFFF;
    --tfr-ink: #26215C;
    --tfr-muted: #625D82;
    --tfr-line: rgba(83, 74, 183, 0.16);
    --tfr-purple: #7F77DD;
    --tfr-purple-deep: #534AB7;
    --tfr-teal: #1D9E75;
    --tfr-coral: #D85A30;
    --tfr-amber: #BA7517;
    padding-top: 0 !important;
    background: var(--tfr-page) !important;
    color: var(--tfr-ink) !important;
}

body.talkitfr-survey-index #survey-nav {
    position: sticky !important;
    top: 0;
    min-height: 78px;
    padding: 8px 0;
    border-bottom: 1px solid var(--tfr-line);
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 12px 32px rgba(83, 74, 183, 0.12);
    backdrop-filter: blur(14px);
}

body.talkitfr-survey-index #survey-nav > .container-fluid {
    max-width: 1180px;
}

body.talkitfr-survey-index #survey-nav .logo-container {
    width: 232px !important;
    flex: 0 0 232px;
    display: flex;
    align-items: center;
    min-height: 62px;
}

body.talkitfr-survey-index #survey-nav .logo {
    width: auto !important;
    height: 72px;
    max-height: none;
    padding: 0 !important;
}

body.talkitfr-survey-index #navbar-toggler {
    width: 48px;
    height: 44px;
    border-color: rgba(83, 74, 183, 0.18);
    background: #FFFFFF;
    color: var(--tfr-purple-deep);
    box-shadow: 0 10px 24px rgba(83, 74, 183, 0.12);
}

body.talkitfr-survey-index #navbar-toggler:hover,
body.talkitfr-survey-index #navbar-toggler:focus {
    border-color: rgba(127, 119, 221, 0.48);
    background: #F1EFFE;
}

body.talkitfr-survey-index .talkitfr-list-page {
    min-height: auto;
    background: var(--tfr-page);
}

body.talkitfr-survey-index .talkitfr-list-stage {
    min-height: calc(100vh - 78px);
    padding: 34px 24px 56px;
    background:
        linear-gradient(90deg, rgba(127, 119, 221, 0.11) 1px, transparent 1px),
        linear-gradient(180deg, rgba(127, 119, 221, 0.09) 1px, transparent 1px),
        linear-gradient(135deg, #FFFFFF 0%, #F7F5FF 44%, #EAF8F4 100%);
    background-size: 44px 44px, 44px 44px, auto;
}

body.talkitfr-survey-index .talkitfr-list-stage::before {
    width: 42%;
    background: linear-gradient(180deg, rgba(159, 225, 203, 0.5), rgba(250, 199, 117, 0.28));
}

body.talkitfr-survey-index .talkitfr-list-stage::after {
    border-color: rgba(83, 74, 183, 0.18);
}

body.talkitfr-survey-index .talkitfr-hero {
    align-items: center;
    margin-bottom: 26px;
}

body.talkitfr-survey-index .talkitfr-eyebrow,
body.talkitfr-survey-index .talkitfr-count {
    color: var(--tfr-coral);
}

body.talkitfr-survey-index .talkitfr-hero h1 {
    color: var(--tfr-ink);
    font-size: 4.55rem;
    text-shadow: none;
}

body.talkitfr-survey-index .talkitfr-hero-text {
    color: var(--tfr-muted);
}

body.talkitfr-survey-index .talkitfr-hero-brand {
    min-height: 150px;
    border-color: rgba(83, 74, 183, 0.18);
    background: rgba(255, 255, 255, 0.72);
    box-shadow: 0 24px 52px rgba(83, 74, 183, 0.16);
}

body.talkitfr-survey-index .talkitfr-hero-logo {
    width: 252px;
}

body.talkitfr-survey-index .talkitfr-list-toolbar .form-heading {
    color: var(--tfr-ink);
}

body.talkitfr-survey-index .talkitfr-language {
    color: var(--tfr-ink);
}

body.talkitfr-survey-index .talkitfr-survey-link {
    border-color: rgba(83, 74, 183, 0.14);
    background: rgba(255, 255, 255, 0.92) !important;
    color: var(--tfr-ink) !important;
    box-shadow: 0 22px 42px rgba(83, 74, 183, 0.14);
}

body.talkitfr-survey-index .talkitfr-survey-link:hover,
body.talkitfr-survey-index .talkitfr-survey-link:focus {
    box-shadow: 0 30px 62px rgba(83, 74, 183, 0.2);
}

body.talkitfr-survey-index .talkitfr-contact {
    border-color: rgba(83, 74, 183, 0.16);
    background: rgba(255, 255, 255, 0.68);
    color: var(--tfr-muted);
}

body.talkitfr-survey-index .talkitfr-contact span {
    color: var(--tfr-ink);
}

body.talkitfr-survey-index .talkitfr-contact a {
    color: var(--tfr-purple-deep);
}

body.talkitfr-survey-index .talkitfr-contact a:hover,
body.talkitfr-survey-index .talkitfr-contact a:focus {
    color: var(--tfr-coral);
}

body.talkitfr-survey-index .talkitfr-list-footer {
    background: var(--tfr-page);
    color: var(--tfr-muted);
}

@media (max-width: 991px) {
    body.talkitfr-survey-index .talkitfr-hero h1 {
        font-size: 3.75rem;
    }
}

@media (max-width: 767px) {
    body.talkitfr-survey-index #survey-nav {
        min-height: 68px;
        padding: 6px 0;
    }

    body.talkitfr-survey-index #survey-nav .logo-container {
        width: 184px !important;
        flex-basis: 184px;
        min-height: 56px;
    }

    body.talkitfr-survey-index #survey-nav .logo {
        height: 60px;
    }

    body.talkitfr-survey-index .talkitfr-list-stage {
        min-height: calc(100vh - 68px);
        padding-top: 24px;
    }

    body.talkitfr-survey-index .talkitfr-hero h1 {
        font-size: 2.85rem;
    }
}
