html, body {
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: #1c2744;
    background: #f7f8fc;
}

a {
    color: #4459b8;
    text-underline-offset: 3px;
}

.btn-primary {
    color: #fff;
    background: #4658b8;
    border-color: #4658b8;
    box-shadow: 0 8px 18px rgba(70,88,184,.2);
}

.btn-primary:hover, .btn-primary:focus {
    background: #35479f;
    border-color: #35479f;
    transform: translateY(-1px);
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 4px rgba(70,88,184,.16);
}

.content {
    padding-top: 2.5rem;
    padding-bottom: 5rem;
}

.hero-panel {
    max-width: 1000px;
    padding: 3.5rem 0 2rem;
}

.hero-panel h1 { max-width: 760px; font-size: clamp(2.6rem, 6vw, 5rem); line-height: .98; letter-spacing: -.055em; color: #182343; }
.hero-panel .lead { max-width: 720px; color: #67718a; font-size: 1.1rem; line-height: 1.75; }
.hero-panel .card { border: 0; border-radius: 18px; box-shadow: 0 14px 35px rgba(31,42,85,.07); }
.hero-panel .card-body { padding: 1.5rem; }
.hero-panel .card h2 { color: #25335c; }
.hero-panel .card h2::first-letter { color: #ed8d63; }

.profile-header {
    max-width: 720px;
}

.eyebrow {
    color: #d67855;
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
}

h1 { color: #182343; font-size: clamp(2rem, 4vw, 3.25rem); letter-spacing: -.04em; }
h2, h3 { color: #25335c; }
.card { border: 1px solid #e7e9f1; border-radius: 16px; box-shadow: 0 10px 28px rgba(35,48,91,.05); }
.form-control, .form-select { border-color: #dfe3ee; border-radius: 10px; padding: .75rem .9rem; }
.form-control:focus, .form-select:focus { border-color: #7180d0; }
.alert { border: 0; border-radius: 14px; padding: 1rem 1.15rem; }
.alert-info { color: #35456f; background: #edf1ff; }
.alert-success { color: #24634f; background: #e8f7f0; }
.alert-danger { color: #8f3c4c; background: #fff0f1; }
.table { --bs-table-bg: transparent; }
.table > :not(caption) > * > * { padding: 1rem .75rem; border-bottom-color: #e6e8f0; }
.list-group { border-radius: 14px; overflow: hidden; box-shadow: 0 8px 24px rgba(35,48,91,.04); }
.list-group-item { border-color: #e8eaf2; padding: .95rem 1.1rem; }
.badge { border-radius: 999px; padding: .45rem .7rem; font-weight: 600; }

.profile-page { max-width: 1080px; }
.profile-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 2rem; margin-bottom: 1.75rem; }
.profile-heading h1 { margin: .25rem 0 .55rem; }
.profile-intro { max-width: 580px; margin: 0; color: #727b91; }
.profile-status-chip, .published-label { display: inline-flex; align-items: center; gap: .5rem; padding: .6rem .8rem; border-radius: 999px; background: #f0f1f6; color: #727b91; font-size: .78rem; font-weight: 700; white-space: nowrap; }
.profile-status-chip.is-ready, .published-label { background: #e8f7f0; color: #28735c; }
.status-dot { display: inline-block; width: .45rem; height: .45rem; border-radius: 50%; background: #a2a8b8; }
.is-ready .status-dot, .published-label .status-dot { background: #51b58e; }
.privacy-note { display: flex; gap: .8rem; align-items: flex-start; padding: 1.1rem 1.2rem; margin-bottom: 1.5rem; border: 1px solid #dfe5ff; border-radius: 14px; color: #51608c; background: linear-gradient(110deg, #f0f3ff, #fafbff); font-size: .88rem; line-height: 1.6; }
.privacy-icon { display: grid; flex: 0 0 auto; width: 1.7rem; height: 1.7rem; place-items: center; border-radius: 50%; color: #fff; background: #7180d0; }
.profile-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(360px, .9fr); gap: 1.25rem; }
.workspace-card { padding: 1.45rem; border: 1px solid #e6e8f1; border-radius: 18px; background: #fff; box-shadow: 0 12px 32px rgba(35,48,91,.05); }
.section-heading { display: flex; gap: .8rem; align-items: flex-start; margin-bottom: 1.35rem; }
.section-heading h2 { margin: .05rem 0 .25rem; font-size: 1.05rem; letter-spacing: -.02em; }
.section-heading p { margin: 0; color: #8790a5; font-size: .8rem; line-height: 1.5; }
.step-number { color: #d67855; font-size: .7rem; font-weight: 800; letter-spacing: .1em; padding-top: .15rem; }
.field-hint { margin-top: .35rem; color: #9299aa; font-size: .72rem; }
.form-label { color: #46516c; font-size: .78rem; font-weight: 700; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-control::placeholder { color: #adb3c1; }
.progress-track { height: .45rem; margin-top: 1.35rem; overflow: hidden; border-radius: 99px; background: #eef0f5; }
.progress-fill { height: 100%; border-radius: inherit; background: linear-gradient(90deg, #7180d0, #9b83c8); }
.progress-label { display: flex; justify-content: space-between; margin: .55rem 0 1.15rem; color: #9299aa; font-size: .75rem; }
.progress-label strong { color: #4658b8; }
.interaction-list { border-top: 1px solid #edf0f5; }
.interaction-row { display: flex; align-items: center; gap: .7rem; padding: .67rem 0; border-bottom: 1px solid #edf0f5; color: #46516c; font-size: .82rem; text-decoration: none; }
.interaction-row:hover { color: #4658b8; }
.interaction-check { display: grid; flex: 0 0 auto; width: 1.35rem; height: 1.35rem; place-items: center; border: 1px solid #d8dce8; border-radius: 50%; color: #fff; font-size: .7rem; }
.interaction-check.answered { border-color: #6abb9e; background: #6abb9e; }
.interaction-arrow { margin-left: auto; color: #b0b5c3; font-size: 1rem; }
.secondary-action { display: inline-flex; gap: .5rem; margin-top: 1rem; color: #4658b8; font-size: .78rem; font-weight: 700; text-decoration: none; }
.secondary-action span { transition: transform .2s ease; }
.secondary-action:hover span { transform: translateX(3px); }
.publish-card { display: flex; align-items: center; justify-content: space-between; gap: 2rem; margin-top: 1.25rem; padding: 1.5rem; border-radius: 18px; color: #fff; background: linear-gradient(110deg, #263463, #3a346b); box-shadow: 0 15px 35px rgba(38,52,99,.18); }
.publish-card h2 { margin: .2rem 0 .4rem; color: #fff; font-size: 1.3rem; }
.publish-card .eyebrow { margin-bottom: .55rem; color: #f3b49b; }
.publish-copy { max-width: 440px; margin: 0; color: rgba(255,255,255,.66); font-size: .84rem; }
.publish-actions { display: flex; align-items: center; flex-wrap: wrap; justify-content: flex-end; gap: .6rem; }
.muted-status { color: rgba(255,255,255,.55); font-size: .76rem; }
.publish-actions .published-label { margin-right: .25rem; }
.public-link { color: #fff; font-size: .8rem; font-weight: 700; }
.btn-compare { border: 1px solid rgba(243,180,155,.7); color: #fff; background: rgba(243,180,155,.14); }
.btn-compare:hover { color: #fff; background: rgba(243,180,155,.28); }
.btn-compare span { margin-left: .35rem; }
.unlock-hint { margin: .75rem 0 0; color: #9299aa; font-size: .76rem; text-align: right; }
.loading-state { padding: 3rem 0; color: #8790a5; }

@media (max-width: 800px) {
    .profile-heading, .publish-card { align-items: flex-start; flex-direction: column; }
    .profile-grid { grid-template-columns: 1fr; }
    .publish-actions { justify-content: flex-start; }
    .unlock-hint { text-align: left; }
}

@media (max-width: 520px) {
    .content { padding-top: 1.5rem; }
    .profile-heading { gap: 1rem; }
    .form-grid { display: block; }
    .workspace-card { padding: 1.15rem; }
    .privacy-note { font-size: .8rem; }
}

.profile-interests {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.interest-pill {
    background: #eef4f8;
    border-radius: 999px;
    padding: .35rem .75rem;
}

h1:focus {
    outline: none;
}

.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid #e50000;
}

.validation-message {
    color: #e50000;
}

.blazor-error-boundary {
    background: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTYiIGhlaWdodD0iNDkiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIG92ZXJmbG93PSJoaWRkZW4iPjxkZWZzPjxjbGlwUGF0aCBpZD0iY2xpcDAiPjxyZWN0IHg9IjIzNSIgeT0iNTEiIHdpZHRoPSI1NiIgaGVpZ2h0PSI0OSIvPjwvY2xpcFBhdGg+PC9kZWZzPjxnIGNsaXAtcGF0aD0idXJsKCNjbGlwMCkiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC0yMzUgLTUxKSI+PHBhdGggZD0iTTI2My41MDYgNTFDMjY0LjcxNyA1MSAyNjUuODEzIDUxLjQ4MzcgMjY2LjYwNiA1Mi4yNjU4TDI2Ny4wNTIgNTIuNzk4NyAyNjcuNTM5IDUzLjYyODMgMjkwLjE4NSA5Mi4xODMxIDI5MC41NDUgOTIuNzk1IDI5MC42NTYgOTIuOTk2QzI5MC44NzcgOTMuNTEzIDI5MSA5NC4wODE1IDI5MSA5NC42NzgyIDI5MSA5Ny4wNjUxIDI4OS4wMzggOTkgMjg2LjYxNyA5OUwyNDAuMzgzIDk5QzIzNy45NjMgOTkgMjM2IDk3LjA2NTEgMjM2IDk0LjY3ODIgMjM2IDk0LjM3OTkgMjM2LjAzMSA5NC4wODg2IDIzNi4wODkgOTMuODA3MkwyMzYuMzM4IDkzLjAxNjIgMjM2Ljg1OCA5Mi4xMzE0IDI1OS40NzMgNTMuNjI5NCAyNTkuOTYxIDUyLjc5ODUgMjYwLjQwNyA1Mi4yNjU4QzI2MS4yIDUxLjQ4MzcgMjYyLjI5NiA1MSAyNjMuNTA2IDUxWk0yNjMuNTg2IDY2LjAxODNDMjYwLjczNyA2Ni4wMTgzIDI1OS4zMTMgNjcuMTI0NSAyNTkuMzEzIDY5LjMzNyAyNTkuMzEzIDY5LjYxMDIgMjU5LjMzMiA2OS44NjA4IDI1OS4zNzEgNzAuMDg4N0wyNjEuNzk1IDg0LjAxNjEgMjY1LjM4IDg0LjAxNjEgMjY3LjgyMSA2OS43NDc1QzI2Ny44NiA2OS43MzA5IDI2Ny44NzkgNjkuNTg3NyAyNjcuODc5IDY5LjMxNzkgMjY3Ljg3OSA2Ny4xMTgyIDI2Ni40NDggNjYuMDE4MyAyNjMuNTg2IDY2LjAxODNaTTI2My41NzYgODYuMDU0N0MyNjEuMDQ5IDg2LjA1NDcgMjU5Ljc4NiA4Ny4zMDA1IDI1OS43ODYgODkuNzkyMSAyNTkuNzg2IDkyLjI4MzcgMjYxLjA0OSA5My41Mjk1IDI2My41NzYgOTMuNTI5NSAyNjYuMTE2IDkzLjUyOTUgMjY3LjM4NyA5Mi4yODM3IDI2Ny4zODcgODkuNzkyMSAyNjcuMzg3IDg3LjMwMDUgMjY2LjExNiA4Ni4wNTQ3IDI2My41NzYgODYuMDU0N1oiIGZpbGw9IiNGRkU1MDAiIGZpbGwtcnVsZT0iZXZlbm9kZCIvPjwvZz48L3N2Zz4=) no-repeat 1rem/1.8rem, #b32121;
    padding: 1rem 1rem 1rem 3.7rem;
    color: white;
}

    .blazor-error-boundary::after {
        content: "An error has occurred."
    }

.darker-border-checkbox.form-check-input {
    border-color: #929292;
}

.form-floating > .form-control-plaintext::placeholder, .form-floating > .form-control::placeholder {
    color: var(--bs-secondary-color);
    text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder, .form-floating > .form-control:focus::placeholder {
    text-align: start;
}

/* Topic wizard (single-topic answer flow) */

.topic-page {
    max-width: 640px;
    margin: 0 auto;
}

.back-link {
    display: inline-block;
    margin-bottom: 1.25rem;
    color: #7680a0;
    font-size: .82rem;
    text-decoration: none;
}
.back-link:hover { color: #4658b8; }

.journey-strip {
    display: flex;
    gap: .4rem;
    margin-bottom: 1.5rem;
}
.journey-stop {
    position: relative;
    flex: 1 1 0;
    height: .4rem;
    overflow: hidden;
    border-radius: 99px;
    background: #e6e8f1;
}
.journey-stop.answered { background: #6abb9e; }
.journey-fill {
    position: absolute;
    inset: 0 auto 0 0;
    display: block;
    height: 100%;
    border-radius: inherit;
    background: #7180d0;
    box-shadow: 0 0 0 3px rgba(113,128,208,.18);
    transition: width .25s ease;
}

.topic-card {
    padding: 2rem;
    border: 1px solid #e6e8f1;
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 16px 40px rgba(35,48,91,.06);
}
.topic-card h1 { font-size: clamp(1.35rem, 3vw, 1.85rem); margin-bottom: .4rem; }
.topic-card .eyebrow { margin-bottom: .6rem; }

.topic-subtext {
    margin: 0 0 1.1rem;
    color: #67718a;
    font-size: .92rem;
}
.optional-tag {
    padding: .1rem .5rem;
    margin-left: .4rem;
    border-radius: 99px;
    background: #f0f1f6;
    color: #8790a5;
    font-size: .68rem;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
    vertical-align: middle;
}

.option-cards {
    display: grid;
    gap: .65rem;
    margin-bottom: 1.5rem;
}
.option-card {
    padding: .95rem 1.15rem;
    border: 1.5px solid #e6e8f1;
    border-radius: 14px;
    background: #fbfbfd;
    color: #25335c;
    font-size: .95rem;
    text-align: left;
    cursor: pointer;
    transition: border-color .15s ease, background .15s ease, transform .1s ease;
}
.option-card:hover { border-color: #b7bfe8; background: #f5f6fd; }
.option-card.selected { border-color: #4658b8; background: #eef0fd; color: #2b3676; font-weight: 600; }
.option-card:active { transform: scale(.99); }

.chip-grid {
    display: flex;
    flex-wrap: wrap;
    gap: .55rem;
    margin-bottom: 1.4rem;
}
.chip {
    padding: .55rem 1rem;
    border: 1.5px solid #e6e8f1;
    border-radius: 99px;
    background: #fbfbfd;
    color: #46516c;
    font-size: .86rem;
    cursor: pointer;
    transition: border-color .15s ease, background .15s ease;
}
.chip:hover { border-color: #b7bfe8; }
.chip.selected { border-color: #7180d0; background: #eef0fd; color: #2b3676; font-weight: 600; }
.chip.star-chip.selected { border-color: #d67855; background: #fdf1ea; color: #a85226; }

.best-fit-reveal {
    padding-top: .25rem;
    margin-top: .25rem;
    border-top: 1px dashed #e6e8f1;
    animation: reveal-fade .25s ease;
}
@keyframes reveal-fade {
    from { opacity: 0; transform: translateY(-4px); }
    to { opacity: 1; transform: translateY(0); }
}

.topic-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .75rem;
    margin-top: .5rem;
}
.topic-actions.gate-actions { justify-content: flex-start; }
.back-only { margin-top: .5rem; }

.flag-list { display: grid; gap: 1rem; margin-bottom: 1rem; }
.flag-item { padding: .9rem 1rem; border: 1px solid #edf0f5; border-radius: 12px; background: #fbfbfd; }
.flag-label { margin: 0 0 .5rem; font-size: .9rem; font-weight: 600; color: #25335c; }
.flag-radio-group { display: flex; flex-wrap: wrap; gap: 1rem; font-size: .82rem; color: #46516c; }
.flag-radio { display: inline-flex; align-items: center; gap: .35rem; cursor: pointer; }
.flag-radio.dealbreaker { color: #a83a3a; }

.topic-guardrail { margin-top: 1.25rem; color: #9299aa; }

.review-card .review-line { margin: 0 0 .55rem; color: #46516c; font-size: .92rem; }
.review-card .review-line strong { color: #25335c; }

@media (max-width: 520px) {
    .topic-card { padding: 1.4rem; }
    .topic-actions { flex-wrap: wrap; }
}

/* Public summary card picker */

.cards-page { max-width: 720px; }
.cards-intro { max-width: 560px; }

.card-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: .9rem;
    margin: 1.5rem 0 1.25rem;
}

.card-preview {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: .3rem;
    padding: 1.1rem 1.2rem 1.2rem;
    border: 1.5px solid #e6e8f1;
    border-radius: 16px;
    background: #fff;
    text-align: left;
    cursor: pointer;
    transition: border-color .15s ease, box-shadow .15s ease, transform .1s ease;
}
.card-preview:hover:not(.locked) { border-color: #b7bfe8; box-shadow: 0 10px 24px rgba(35,48,91,.08); }
.card-preview:active:not(.locked) { transform: scale(.99); }
.card-preview.selected { border-color: #4658b8; background: #f5f6ff; box-shadow: 0 10px 24px rgba(70,88,184,.12); }
.card-preview.locked { cursor: not-allowed; background: #fafafc; color: #b0b5c3; }

.card-preview-check {
    position: absolute;
    top: .8rem;
    right: .9rem;
    display: grid;
    place-items: center;
    width: 1.3rem;
    height: 1.3rem;
    border: 1.5px solid #d8dce8;
    border-radius: 50%;
    color: #fff;
    font-size: .7rem;
}
.card-preview.selected .card-preview-check { border-color: #4658b8; background: #4658b8; }
.card-preview.locked .card-preview-check { border-color: #e1e3ec; }

.card-preview-title { padding-right: 1.6rem; color: #25335c; font-size: .92rem; font-weight: 700; }
.card-preview.locked .card-preview-title { color: #a7adbd; }
.card-preview-value { color: #4658b8; font-size: .88rem; font-style: italic; }
.card-preview-locked-hint { color: #9299aa; font-size: .78rem; }

.cards-actions { justify-content: flex-start; gap: 1.1rem; }
.cards-count { color: #8790a5; font-size: .84rem; }
.cards-saved-message { margin-top: .9rem; color: #3f8f6f; font-size: .86rem; font-weight: 600; }

@media (max-width: 600px) {
    .card-grid { grid-template-columns: 1fr; }
}

/* Public profile page */

.public-profile-page { max-width: 720px; }
.public-profile-header { display: flex; align-items: center; gap: 1.1rem; margin-bottom: 1.1rem; }
.public-avatar {
    display: grid;
    flex: 0 0 auto;
    place-items: center;
    width: 3.4rem;
    height: 3.4rem;
    border-radius: 50%;
    background: linear-gradient(135deg, #7180d0, #9b83c8);
    color: #fff;
    font-size: 1.4rem;
    font-weight: 700;
}
.public-profile-header h1 { margin-bottom: .1rem; }
.public-handle { margin: 0; color: #8790a5; font-size: .9rem; }
.public-intro { max-width: 560px; margin: 0 0 1.5rem; color: #46516c; font-size: 1rem; line-height: 1.6; }
.public-section-title { margin: 1.6rem 0 .5rem; color: #25335c; font-size: 1.05rem; }

.card-preview.readonly { cursor: default; }
.card-preview.readonly:hover { border-color: #e6e8f1; box-shadow: none; }

.public-cta { margin-top: 1.75rem; }

/* Invitation acceptance page */

.invite-page { max-width: 680px; }
.invite-lead { max-width: 540px; }

.invite-creator-card {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1rem;
    padding: 1.1rem 1.25rem;
    margin: 1rem 0 .5rem;
    border: 1px solid #e6e8f1;
    border-radius: 16px;
    background: #fbfbfd;
}
.invite-interests { margin: 0; }

.invite-steps { display: grid; gap: .6rem; padding: 0; margin: 0; list-style: none; }
.invite-steps li { display: flex; align-items: center; gap: .75rem; color: #46516c; font-size: .92rem; }
.invite-step-number {
    display: grid;
    flex: 0 0 auto;
    place-items: center;
    width: 1.6rem;
    height: 1.6rem;
    border-radius: 50%;
    background: #eef0fd;
    color: #4658b8;
    font-size: .82rem;
    font-weight: 700;
}

.invite-topic-chips { margin-bottom: .5rem; }
.chip.static-chip { cursor: default; }
.chip.static-chip:hover { border-color: #e6e8f1; }

.invite-privacy-note { margin: 1.5rem 0; }
.invite-cta { margin-top: .25rem; }
.invite-new-user-hint { margin-top: .6rem; }

/* Internal validation report */
.report-page { max-width: 720px; }
.dev-only-banner {
    display: flex;
    gap: .8rem;
    align-items: flex-start;
    margin-bottom: 1.5rem;
    padding: .9rem 1.1rem;
    border: 1px dashed #e0a37e;
    border-radius: 14px;
    background: #fdf3ec;
    color: #8a4b28;
    font-size: .85rem;
    line-height: 1.55;
}
.dev-only-icon { flex: 0 0 auto; font-size: 1.1rem; }
.report-header { margin-bottom: 1.25rem; }
.report-header h1 { margin: 0 0 .3rem; font-size: 1.6rem; letter-spacing: -.02em; }
.report-header p { margin: 0; color: #8790a5; font-size: .88rem; }
.report-card { display: flex; flex-direction: column; gap: 1rem; }
.report-empty { color: #8790a5; font-size: .9rem; }
.report-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr) 2.5rem; align-items: center; gap: 1rem; }
.report-row-label { font-size: .85rem; color: #263463; font-weight: 600; word-break: break-word; }
.report-row-bar { height: .55rem; border-radius: 999px; background: #eef0f8; overflow: hidden; }
.report-row-fill { height: 100%; border-radius: 999px; background: linear-gradient(90deg, #7180d0, #4658b8); }
.report-row-count { text-align: right; font-variant-numeric: tabular-nums; font-weight: 700; color: #4658b8; }
@media (max-width: 640px) {
    .report-row { grid-template-columns: minmax(0, 1fr) 2.5rem; }
    .report-row-bar { grid-column: 1 / -1; }
}



/* Account: login, register, link, and security pages */
.auth-page { display: flex; justify-content: center; padding: 1rem 0 3rem; }
.auth-card { width: 100%; max-width: 440px; padding: 2.25rem 2rem; border: 1px solid #e6e8f1; border-radius: 22px; background: #fff; box-shadow: 0 18px 45px rgba(35,48,91,.08); }
.auth-card h1 { margin: .35rem 0 .4rem; font-size: clamp(1.8rem, 3vw, 2.2rem); }
.auth-card .eyebrow { margin: 0; }
.auth-lead { margin-bottom: 1.4rem; color: #727b91; font-size: .92rem; line-height: 1.6; }
.auth-card .alert { font-size: .88rem; }
.auth-card .alert-link { display: inline-block; margin-left: .25rem; }
.auth-providers { display: grid; gap: .6rem; }
.auth-provider-button { display: flex; align-items: center; justify-content: center; gap: .65rem; width: 100%; padding: .72rem 1rem; border: 1px solid #dfe3ee; border-radius: 12px; color: #25335c; background: #fff; font-weight: 600; font-size: .92rem; transition: border-color .15s ease, background .15s ease, transform .15s ease; }
.auth-provider-button:hover, .auth-provider-button:focus { border-color: #b7bfe8; color: #25335c; background: #f5f6fd; transform: translateY(-1px); }
.provider-icon { flex: 0 0 auto; width: 1.2rem; height: 1.2rem; }
.provider-icon-generic { display: inline-grid; place-items: center; border-radius: 50%; color: #fff; background: #7180d0; font-size: .7rem; font-weight: 700; }
.auth-divider { display: flex; align-items: center; gap: .85rem; margin: 1.4rem 0; color: #9299aa; font-size: .75rem; text-transform: lowercase; }
.auth-divider::before, .auth-divider::after { content: ""; flex: 1; height: 1px; background: #e6e8f1; }
.auth-form .form-check-label { color: #46516c; font-size: .88rem; }
.auth-submit { padding: .75rem 1rem; border-radius: 12px; font-weight: 600; }
.auth-switch { margin: 1.5rem 0 0; color: #727b91; font-size: .88rem; text-align: center; }
.auth-switch .btn-link { font-size: inherit; }
.auth-link-badge { display: flex; align-items: center; gap: .6rem; margin-bottom: 1.1rem; }
.auth-link-badge .provider-icon { width: 2rem; height: 2rem; }
.auth-link-plus { color: #b0b5c3; font-weight: 700; }
.auth-brand-mark { display: inline-grid; width: 2rem; height: 2rem; place-items: center; border-radius: 9px; color: #fff; background: linear-gradient(135deg, #f3b49b, #d67855); font-weight: 800; font-style: italic; }

.account-page { max-width: 720px; }
.account-page h1 { margin: .25rem 0 .4rem; }
.account-section { margin-bottom: 1.25rem; }
.account-form { max-width: 420px; }
.sign-in-methods { margin: 0; padding: 0; list-style: none; border-top: 1px solid #edf0f5; }
.sign-in-method { display: flex; align-items: center; gap: .9rem; padding: .85rem 0; border-bottom: 1px solid #edf0f5; }
.sign-in-method .provider-icon { width: 1.5rem; height: 1.5rem; }
.sign-in-method-text { display: flex; flex-direction: column; margin-right: auto; }
.sign-in-method-text strong { color: #25335c; font-size: .92rem; }
.sign-in-method-text span { color: #8790a5; font-size: .78rem; }
.sign-in-method-status { color: #28735c; font-size: .78rem; font-weight: 700; }
.sign-in-method form { margin: 0; }

@media (max-width: 520px) {
    .auth-card { padding: 1.75rem 1.25rem; border-radius: 18px; }
}
.auth-card .form-floating > .form-control::placeholder, .account-form .form-floating > .form-control::placeholder { color: transparent; }
