/* ==========================================================================
   Dondo Resolve pages (QR landing / contact)
   Scoped under .resolve-page so the main site theme is not affected.
   Bootstrap 5 utilities (from the home theme) are used for layout; everything else lives here.
   ========================================================================== */

/* ---------- Site header on Resolve pages (web.layout.home) ---------- */
.home-project-manage .nk-header-main.has-fixed {
    background-color: #f2f8fb !important;
}

.home-project-manage .nk-header .logo-wrap {
    display: flex;
    align-items: center;
}

.home-project-manage .nk-header .logo-img {
    height: 80px;
    width: auto;
    object-fit: contain;
}

/* ---------- Title banner (sits below the fixed 107px header) ---------- */
.home-project-manage .nk-pages > .rs-title-banner {
    margin-top: 107px;
    min-height: 240px;
    display: none;
    align-items: center;
    background: url('../images/project-bg-2.png') center / cover no-repeat #12174E;
    text-align: center;
}

.rs-title-banner__item .title {
    font-family: "Inter", sans-serif;
    font-size: 44px;
    font-weight: 700;
    color: #fff;
    margin: 0 0 12px;
}

.rs-title-banner .breadcrumb {
    display: flex;
    justify-content: center;
    margin: 0;
    padding: 0;
    list-style: none;
    font-family: "Inter", sans-serif;
}

.rs-title-banner .breadcrumb-item,
.rs-title-banner .breadcrumb-item a {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
}

.rs-title-banner .breadcrumb-item + .breadcrumb-item::before {
    content: "/";
    padding: 0 8px;
    color: rgba(255, 255, 255, 0.5);
}

@media (max-width: 767px) {
    .home-project-manage .nk-pages > .rs-title-banner {
        min-height: 180px;
    }

    .rs-title-banner__item .title {
        font-size: 32px;
    }
}

.resolve-page {
    --rs-blue: #0066FF;
    --rs-blue-hover: #0052cc;
    --rs-blue-active: #004099;
    --rs-blue-soft: #EEF4FF;
    --rs-blue-soft-2: #F0F6FF;
    --rs-blue-border: #BFDBFE;
    --rs-on-surface: #0b1c30;
    --rs-on-surface-variant: #45464d;
    --rs-surface: #f8f9ff;
    --rs-surface-lowest: #ffffff;
    --rs-surface-low: #eff4ff;
    --rs-surface-container: #e5eeff;
    --rs-surface-high: #dce9ff;
    --rs-outline: #76777d;
    --rs-outline-variant: 198, 198, 205;
    --rs-secondary: #006a61;
    --rs-error: #ba1a1a;
    --rs-shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);

    background: var(--rs-surface);
    color: var(--rs-on-surface);
    font-family: "Inter", sans-serif;
    font-size: 16px;
    line-height: 24px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    margin-top: 107px;
}

/* Neutralise the main site theme inside the Resolve page.
   :where() keeps these at element-level specificity so component classes always win. */
:where(.resolve-page) h1,
:where(.resolve-page) h2,
:where(.resolve-page) h3,
:where(.resolve-page) h4,
:where(.resolve-page) p,
:where(.resolve-page) label,
:where(.resolve-page) legend {
    font-family: "Inter", sans-serif;
    color: inherit;
    margin: 0;
    padding: 0;
}

:where(.resolve-page) fieldset {
    border: 0;
    margin: 0;
    padding: 0;
    min-width: 0;
}

:where(.resolve-page) legend {
    float: none;
    font-size: inherit;
    line-height: inherit;
    width: 100%;
}

:where(.resolve-page) button {
    font-family: "Inter", sans-serif;
    background: transparent;
    border: 0;
    cursor: pointer;
}

.resolve-page a:not([class]) {
    display: inline;
    transition: color .15s ease;
}

.resolve-page .material-symbols-outlined {
    font-family: "Material Symbols Outlined";
    font-weight: normal;
    font-style: normal;
    line-height: 1;
    letter-spacing: normal;
    text-transform: none;
    display: inline-block;
    white-space: nowrap;
    word-wrap: normal;
    direction: ltr;
    -webkit-font-smoothing: antialiased;
}

.rs-hidden {
    display: none !important;
}

/* ---------- Container ---------- */
.rs-container {
    max-width: 720px;
    margin: 0 auto;
    padding: 1.5rem 1rem;
}

@media (min-width: 768px) {
    .rs-container {
        padding: 2rem 1.5rem;
    }
}

/* ---------- Typography ---------- */
.rs-headline-lg {
    font-size: 28px;
    line-height: 36px;
    letter-spacing: -0.025em;
    font-weight: 600;
    color: var(--rs-on-surface);
}

.rs-headline-sm {
    font-size: 18px;
    line-height: 24px;
    letter-spacing: -0.01em;
    font-weight: 600;
    color: var(--rs-on-surface);
}

.rs-label-lg {
    font-size: 14px;
    line-height: 20px;
    letter-spacing: 0.005em;
    font-weight: 600;
    color: var(--rs-on-surface);
}

.rs-label-md {
    font-size: 13px;
    line-height: 16px;
    letter-spacing: 0.01em;
    font-weight: 600;
    color: var(--rs-on-surface);
}

.rs-label-sm {
    font-size: 12px;
    line-height: 16px;
    letter-spacing: 0.02em;
    font-weight: 600;
    color: var(--rs-on-surface-variant);
}

.rs-body-sm {
    font-size: 14px;
    line-height: 20px;
}

.rs-muted {
    color: var(--rs-on-surface-variant);
}

.rs-optional {
    font-size: 12px;
    line-height: 16px;
    font-weight: 400;
    color: var(--rs-on-surface-variant);
}

.rs-required {
    color: var(--rs-error);
    font-weight: 700;
}

.rs-bold {
    font-weight: 700;
}

/* ---------- Pills / badges ---------- */
.rs-pill {
    display: inline-flex;
    align-items: center;
    padding: 2px 10px;
    font-size: 12px;
    line-height: 16px;
    letter-spacing: 0.05em;
    font-weight: 600;
    text-transform: uppercase;
    color: var(--rs-blue);
    background: var(--rs-blue-soft);
    border: 1px solid var(--rs-blue-border);
    border-radius: .75rem;
}

.rs-pill--square {
    font-size: 11px;
    border-radius: .125rem;
}

.rs-pill--bold {
    font-weight: 700;
}

.rs-counter {
    flex-shrink: 0;
    padding: 2px 10px;
    font-size: 12px;
    line-height: 16px;
    letter-spacing: 0.02em;
    font-weight: 600;
    color: var(--rs-blue);
    background: var(--rs-blue-soft);
    border: 1px solid var(--rs-blue-border);
    border-radius: .75rem;
    transition: background-color .15s ease, color .15s ease;
}

.rs-counter.is-full {
    background: var(--rs-secondary);
    border-color: var(--rs-secondary);
    color: #fff;
}

.rs-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--rs-blue);
    flex-shrink: 0;
}

.rs-eyebrow {
    font-size: 12px;
    line-height: 16px;
    letter-spacing: 0.05em;
    font-weight: 600;
    text-transform: uppercase;
    color: var(--rs-on-surface-variant);
}

/* ---------- Status bar ---------- */
.rs-status-bar {
    padding-bottom: .5rem;
    margin-bottom: 1rem;
    border-bottom: 1px solid rgba(var(--rs-outline-variant), .3);
}

.rs-status-bar .rs-gap {
    gap: 8px;
}

.rs-status-bar__meta {
    gap: 6px;
    font-weight: 500;
}

.rs-status-bar__meta .material-symbols-outlined {
    font-size: 16px;
    color: var(--rs-blue);
}

/* ---------- Intro ---------- */
.rs-intro__title {
    margin-top: 10px !important;
}

.rs-intro__lead {
    font-size: 18px;
    line-height: 1.625;
    letter-spacing: -0.01em;
    font-weight: 500;
    margin-top: 8px !important;
    text-wrap: balance;
}

.rs-intro__body {
    margin-top: 12px;
    color: var(--rs-on-surface-variant);
    font-size: 16px;
    line-height: 1.625;
}

.rs-stack-12 > * + * {
    margin-top: 12px !important;
}

.rs-intro__extended {
    padding-top: 4px;
    border-top: 1px solid rgba(var(--rs-outline-variant), .3);
}

.rs-link-btn {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 0 4px !important;
    margin-left: -4px;
    font-size: 13px;
    line-height: 16px;
    letter-spacing: 0.01em;
    font-weight: 600;
    color: var(--rs-blue);
    border-radius: .125rem;
}

.rs-link-btn:hover {
    color: var(--rs-blue-hover);
    text-decoration: underline;
}

.rs-link-btn:focus {
    outline: none;
    box-shadow: 0 0 0 2px rgba(0, 102, 255, .4);
}

.rs-link-btn .material-symbols-outlined {
    font-size: 18px;
}

/* ---------- Survey header ---------- */
.rs-survey {
    margin-top: 32px;
    padding-top: 8px;
}

.rs-survey__head {
    border-top: 1px solid rgba(var(--rs-outline-variant), .4);
    padding-top: 24px;
}

.rs-survey__head .rs-gap {
    gap: 8px;
}

.rs-survey__title {
    margin-top: 6px !important;
    margin-bottom: 8px !important;
}

.rs-survey__copy {
    font-size: 14px;
    line-height: 1.625;
    color: var(--rs-on-surface-variant);
}

.rs-survey__copy > * + * {
    margin-top: 6px !important;
}

.rs-note {
    margin-top: 16px;
    padding: 14px;
    gap: 10px;
    background: #F8FAFC;
    border: 1px solid rgba(191, 219, 254, .7);
    border-radius: .5rem;
}

.rs-note .material-symbols-outlined {
    font-size: 20px;
    color: var(--rs-blue);
    flex-shrink: 0;
    margin-top: 2px;
}

.rs-note__text {
    font-size: 12px;
    line-height: 1.5;
    color: var(--rs-on-surface);
}

.rs-note__text strong {
    font-weight: 600;
}

.rs-all-optional {
    margin-top: 8px;
    font-style: italic;
}

/* ---------- Form ---------- */
.rs-form {
    margin-top: 24px;
}

.rs-form > * + * {
    margin-top: 28px !important;
}

.rs-question > * + * {
    margin-top: 8px !important;
}

.rs-fieldset > * + * {
    margin-top: 10px !important;
}

.rs-question__title {
    display: block;
}

.rs-question__hint {
    display: block;
    margin-top: 2px;
}

.rs-textarea {
    display: block;
    width: 100%;
    min-height: 96px;
    padding: 12px;
    font-family: "Inter", sans-serif;
    font-size: 14px;
    line-height: 20px;
    color: var(--rs-on-surface);
    background: var(--rs-surface-lowest);
    border: 1px solid rgba(var(--rs-outline-variant), .8);
    border-radius: .5rem;
    resize: vertical;
    transition: all .15s ease;
}

.rs-textarea::placeholder {
    color: rgba(69, 70, 77, .5);
}

.rs-textarea:focus {
    outline: none;
    border-color: var(--rs-blue);
    box-shadow: 0 0 0 2px var(--rs-blue);
}

.rs-input {
    display: block;
    width: 100%;
    height: 40px;
    padding: 0 12px;
    font-family: "Inter", sans-serif;
    font-size: 14px;
    line-height: 20px;
    color: var(--rs-on-surface);
    background: var(--rs-surface);
    border: 1px solid rgba(var(--rs-outline-variant), .8);
    border-radius: .125rem;
}

.rs-input:focus {
    outline: none;
    border-color: var(--rs-secondary);
    box-shadow: 0 0 0 2px var(--rs-secondary);
}

.rs-input.is-invalid {
    border-color: var(--rs-error);
}

.rs-field-label {
    display: block;
    margin-bottom: 4px !important;
}

.rs-helper {
    margin-top: 4px !important;
    font-size: 11px;
    line-height: 1.25;
}

.rs-error-text {
    margin-top: 4px !important;
    font-size: 11px;
    line-height: 16px;
    font-weight: 500;
    color: var(--rs-error);
}

/* Option cards (checkbox / radio rows) */
.rs-options {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
    padding-top: 4px;
}

.rs-option {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    min-height: 44px;
    padding: 12px;
    margin: 0;
    background: var(--rs-surface-lowest);
    border: 1px solid rgba(var(--rs-outline-variant), .6);
    border-radius: .5rem;
    cursor: pointer;
    transition: background-color .15s ease, opacity .15s ease;
}

.rs-option:hover {
    background: var(--rs-surface-low);
}

.rs-option input[type="checkbox"],
.rs-option input[type="radio"] {
    width: 16px;
    height: 16px;
    margin-top: 4px;
    flex-shrink: 0;
}

.rs-option__text {
    font-size: 14px;
    line-height: 1.5;
    color: var(--rs-on-surface);
    user-select: none;
}

.rs-option--box {
    display: block;
    cursor: default;
}

.rs-option--box:hover {
    background: var(--rs-surface-lowest);
}

.rs-option--box > label {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    min-height: 24px;
    margin: 0;
    cursor: pointer;
}

.rs-option--box > label input {
    width: 16px;
    height: 16px;
    margin-top: 4px;
    flex-shrink: 0;
}

.rs-option__other {
    margin-top: 10px;
    padding-left: 28px;
}

.rs-option__other .rs-input {
    display: block;
    width: 100%;
    height: 40px;
    margin: 0;
}

/* gap between a fieldset's red outline and its error message */
.rs-fieldset > .rs-field-error {
    margin-top: 18px !important;
}

.rs-option__other .rs-field-error {
    margin-top: 6px !important;
}

.rs-option.is-disabled {
    opacity: .45;
    cursor: not-allowed;
}

.rs-option.is-disabled:hover {
    background: var(--rs-surface-lowest);
}

.rs-option.is-disabled label {
    cursor: not-allowed;
}

.rs-q5-legend {
    gap: 8px;
}

/* Follow-up container */
.rs-followup {
    padding: 20px;
    background: var(--rs-surface-lowest);
    border: 1px solid rgba(var(--rs-outline-variant), .7);
    border-radius: .5rem;
}

.rs-followup > * + * {
    margin-top: 16px !important;
}

.rs-followup__intro {
    margin-top: 2px !important;
    line-height: 1.5;
}

.rs-radios {
    padding-top: 4px;
}

.rs-radios > * + * {
    margin-top: 8px !important;
}

.rs-radio {
    border-color: rgba(var(--rs-outline-variant), .5);
    border-radius: .25rem;
}

.rs-radio input {
    margin-top: 2px;
}

.rs-about {
    border-top: 1px solid rgba(var(--rs-outline-variant), .4);
    padding-top: 20px;
}

.rs-about > * + * {
    margin-top: 16px !important;
}

.rs-grid-2 {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}

@media (min-width: 576px) {
    .rs-grid-2 {
        grid-template-columns: 1fr 1fr;
    }
}

/* ---------- Buttons ---------- */
.rs-btn-primary {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    min-height: 48px;
    padding: 14px 24px;
    font-size: 14px;
    line-height: 20px;
    letter-spacing: 0.005em;
    font-weight: 600;
    color: #fff;
    background: var(--rs-blue) !important;
    border-radius: .5rem;
    box-shadow: var(--rs-shadow-sm);
    transition: all .15s ease;
}

.rs-btn-primary:hover {
    background: var(--rs-blue-hover) !important;
}

.rs-btn-primary:active {
    background: var(--rs-blue-active) !important;
}

.rs-btn-primary:focus {
    outline: none;
    box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--rs-blue);
}

.rs-btn-primary .material-symbols-outlined {
    font-size: 18px;
    color: #fff;
}

.rs-btn-outline {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    min-height: 44px;
    margin-top: 16px;
    padding: 12px 16px;
    font-size: 14px;
    line-height: 20px;
    font-weight: 600;
    color: var(--rs-blue);
    background: #fff !important;
    border: 2px solid var(--rs-blue) !important;
    border-radius: .5rem;
    box-shadow: var(--rs-shadow-sm);
    transition: all .15s ease;
}

.rs-btn-outline:hover {
    color: var(--rs-blue-hover);
    background: var(--rs-blue-soft) !important;
    border-color: var(--rs-blue-hover) !important;
}

.rs-btn-outline:focus {
    outline: none;
    box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--rs-blue);
}

.rs-btn-outline .material-symbols-outlined {
    font-size: 18px;
    color: var(--rs-blue);
}

.rs-btn-sm {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    min-height: 44px;
    padding: 10px 20px;
    font-size: 13px;
    line-height: 16px;
    letter-spacing: 0.01em;
    font-weight: 600;
    border-radius: .5rem;
    transition: all .15s ease;
}

@media (min-width: 576px) {
    .rs-btn-sm {
        width: auto;
    }
}

.rs-btn-sm--primary {
    color: #fff;
    background: var(--rs-blue) !important;
    box-shadow: var(--rs-shadow-sm);
}

.rs-btn-sm--primary:hover {
    background: var(--rs-blue-hover) !important;
}

.rs-btn-sm--primary .material-symbols-outlined {
    font-size: 16px;
    color: #fff;
}

.rs-btn-sm--ghost {
    font-weight: 500;
    color: var(--rs-on-surface-variant);
    border: 1px solid rgba(var(--rs-outline-variant), .8) !important;
    border-radius: .25rem;
}

.rs-btn-sm--ghost:hover {
    color: var(--rs-on-surface);
    background: var(--rs-surface-lowest) !important;
}

/* ---------- Collaboration card ---------- */
.rs-collab {
    margin-top: 24px;
    padding: 20px;
    background: var(--rs-blue-soft-2);
    border: 1px solid var(--rs-blue-border);
    border-radius: .5rem;
    box-shadow: var(--rs-shadow-sm);
}

.rs-collab__row {
    gap: 12px;
}

.rs-collab__icon {
    width: 36px;
    height: 36px;
    margin-top: 2px;
    flex-shrink: 0;
    background: #fff;
    border: 1px solid var(--rs-blue-border);
    border-radius: .25rem;
    box-shadow: var(--rs-shadow-sm);
}

.rs-collab__icon .material-symbols-outlined {
    font-size: 20px;
    color: var(--rs-blue);
}

.rs-collab__text {
    margin-top: 6px !important;
    line-height: 1.5;
}

.rs-disclaimer {
    max-width: 620px;
    margin: 14px auto 0 !important;
    font-size: 12px;
    line-height: 1.5;
    text-align: center;
}

.rs-disclaimer a {
    font-weight: 500;
    color: var(--rs-on-surface);
    text-decoration: underline;
}

.rs-disclaimer a:hover {
    color: var(--rs-secondary);
    text-decoration: underline;
}

/* ---------- Confirmation view ---------- */
.rs-confirm {
    padding: 2rem 0;
    text-align: center;
}

.rs-card {
    width: 100%;
    background: var(--rs-surface-lowest);
    border: 1px solid rgba(var(--rs-outline-variant), .6);
    border-radius: 1rem;
    box-shadow: var(--rs-shadow-sm);
}

.rs-confirm__card {
    max-width: 620px;
    margin: 0 auto;
    padding: 24px;
}

@media (min-width: 576px) {
    .rs-confirm__card {
        padding: 40px;
    }
}

.rs-confirm__icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 20px;
    color: var(--rs-blue);
    background: var(--rs-blue-soft);
    border: 1px solid var(--rs-blue-border);
    border-radius: 50%;
}

.rs-confirm__icon .material-symbols-outlined {
    font-size: 32px;
}

.rs-confirm__title {
    margin: 12px 0 !important;
}

.rs-confirm__body {
    font-size: 16px;
    line-height: 1.625;
    color: var(--rs-on-surface-variant);
    text-wrap: balance;
}

.rs-confirm__actions {
    gap: 12px;
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid rgba(var(--rs-outline-variant), .4);
}

/* ==========================================================================
   Contact page
   ========================================================================== */

.rs-back-link {
    display: inline-flex !important;
    align-items: center;
    gap: 6px;
    margin-bottom: 1rem;
    font-size: 13px;
    line-height: 16px;
    letter-spacing: 0.01em;
    font-weight: 500;
    color: var(--rs-on-surface-variant);
    transition: color .15s ease;
}

.rs-back-link:hover {
    color: #000;
}

.rs-back-link .material-symbols-outlined {
    font-size: 16px;
    transition: transform .15s ease;
}

.rs-back-link:hover .material-symbols-outlined {
    transform: translateX(-2px);
}

.rs-page-head {
    margin-bottom: 1.5rem;
}

.rs-crumbs {
    gap: 8px;
    margin-bottom: 4px;
}

.rs-crumbs__brand {
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--rs-blue);
}

.rs-crumbs__sep {
    color: rgb(var(--rs-outline-variant));
}

.rs-page-title {
    margin-bottom: 4px !important;
    font-size: 20px;
    line-height: 28px;
    letter-spacing: -0.025em;
    font-weight: 600;
    color: var(--rs-on-surface);
}

@media (min-width: 768px) {
    .rs-page-title {
        font-size: 28px;
        line-height: 36px;
    }
}

.rs-page-intro {
    max-width: 620px;
    font-size: 16px;
    line-height: 1.625;
    color: var(--rs-on-surface-variant);
}

.rs-panel {
    padding: 1rem;
    background: var(--rs-surface-lowest);
    border-radius: .5rem;
    box-shadow: var(--rs-shadow-sm);
}

@media (min-width: 768px) {
    .rs-panel {
        padding: 1.5rem;
    }
}

.rs-contact-form > * + * {
    margin-top: 1.5rem !important;
}

.rs-field > * + * {
    margin-top: 6px !important;
}

.rs-field__label {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.rs-field__aside {
    font-size: 12px;
    line-height: 16px;
    letter-spacing: 0.02em;
    font-weight: 400;
    color: var(--rs-on-surface-variant);
}

.rs-grid-2-md {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

@media (min-width: 768px) {
    .rs-grid-2-md {
        grid-template-columns: 1fr 1fr;
    }
}

.rs-control {
    display: block;
    width: 100%;
    height: 44px;
    padding: 0 14px;
    font-family: "Inter", sans-serif;
    font-size: 16px;
    line-height: 24px;
    color: var(--rs-on-surface);
    background: var(--rs-surface-lowest);
    border: 0;
    border-radius: .25rem;
    box-shadow: inset 0 0 0 1px #cbd5e1;
    transition: box-shadow .15s ease;
}

.rs-control::placeholder {
    color: rgba(118, 119, 125, .7);
}

.rs-control:focus {
    outline: none;
    box-shadow: inset 0 0 0 1.5px var(--rs-secondary), 0 0 0 2px rgba(0, 106, 97, .15);
}

.rs-control.is-invalid,
.rs-control.is-invalid:focus {
    box-shadow: inset 0 0 0 1.5px var(--rs-error);
}

.rs-control--textarea {
    height: auto;
    min-height: 96px;
    padding: 14px;
    resize: none;
}

.rs-field-error {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-top: 2px !important;
    font-size: 12px;
    line-height: 16px;
    letter-spacing: 0.02em;
    font-weight: 600;
    color: var(--rs-error);
}

.rs-field-error .material-symbols-outlined {
    font-size: 14px;
}

/* Topic checkboxes (custom box) */
.rs-topics__legend {
    margin-bottom: 2px !important;
}

.rs-topics__hint {
    margin-bottom: 8px !important;
    font-weight: 400;
}

.rs-topic {
    position: relative;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin: 0;
    padding: 12px;
    /* background: rgba(239, 244, 255, .6); */
    border-radius: .25rem;
    box-shadow: inset 0 0 0 1px #e2e8f0;
    cursor: pointer;
    user-select: none;
    transition: background-color .15s ease;
}

.rs-topic + .rs-topic {
    margin-top: 8px;
}

.rs-topic:hover {
    background: var(--rs-blue-soft-2);
}

.rs-topic input {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.rs-topic__box {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    margin-top: 2px;
    flex-shrink: 0;
    color: #fff;
    background: var(--rs-surface-lowest);
    border-radius: .125rem;
    box-shadow: inset 0 0 0 1.5px #94a3b8;
    transition: all .15s ease;
}

.rs-topic__box .material-symbols-outlined {
    font-size: 16px;
    transform: scale(0);
    transition: transform .15s ease;
}

.rs-topic input:checked + .rs-topic__box {
    background: var(--rs-blue);
    box-shadow: none;
}

.rs-topic input:checked + .rs-topic__box .material-symbols-outlined {
    transform: scale(1);
}

.rs-topic input:focus-visible + .rs-topic__box {
    box-shadow: 0 0 0 2px rgba(0, 102, 255, .4);
}

.rs-topic__text {
    font-size: 14px;
    line-height: 1.5;
    color: var(--rs-on-surface);
}

/* Submit area */
.rs-submit-area {
    padding-top: 8px;
}

.rs-submit-area > * + * {
    margin-top: 12px !important;
}

.rs-submit-area__note {
    line-height: 1.5;
}

.rs-btn-primary--compact {
    padding: 12px 24px;
    font-weight: 500;
    border-radius: .25rem;
}

.rs-btn-primary:disabled {
    cursor: default;
    opacity: .85;
}

.rs-spin {
    animation: rs-spin 1s linear infinite;
}

@keyframes rs-spin {
    to {
        transform: rotate(360deg);
    }
}

/* Success panel */
.rs-success {
    padding: 1.5rem;
    text-align: center;
    background: var(--rs-surface-lowest);
    border-radius: .5rem;
    box-shadow: 0 4px 12px -2px rgba(15, 23, 42, .06);
    animation: rs-fade-in .3s ease;
}

@media (min-width: 768px) {
    .rs-success {
        padding: 2rem;
    }
}

@keyframes rs-fade-in {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.rs-success__icon {
    width: 56px;
    height: 56px;
    margin-bottom: 1rem;
    color: var(--rs-blue);
    background: #EBF3FF;
    border-radius: 50%;
}

.rs-success__icon .material-symbols-outlined {
    font-size: 32px;
    font-variation-settings: 'FILL' 1;
}

.rs-success__eyebrow {
    margin-bottom: 4px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--rs-blue);
}

.rs-success__title {
    margin-bottom: 4px !important;
    font-size: 20px;
    line-height: 28px;
    letter-spacing: -0.015em;
    font-weight: 600;
    color: var(--rs-on-surface);
}

.rs-success__text {
    max-width: 540px;
    margin-bottom: 1.5rem !important;
    font-size: 16px;
    line-height: 1.625;
    color: var(--rs-on-surface-variant);
}

.rs-success__status {
    gap: 12px;
    margin-bottom: 1.5rem;
    padding: 1rem;
    text-align: left;
    background: rgba(239, 244, 255, .7);
    border-radius: .25rem;
}

.rs-success__status .rs-gap {
    gap: 12px;
}

.rs-success__status .material-symbols-outlined {
    font-size: 22px;
    color: var(--rs-on-surface-variant);
}

.rs-badge-muted {
    padding: 4px 10px;
    font-size: 12px;
    line-height: 16px;
    letter-spacing: 0.02em;
    font-weight: 500;
    color: var(--rs-on-surface-variant);
    background: #d3e4fe;
    border-radius: .125rem;
}

.rs-btn-soft {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 24px;
    font-size: 13px;
    line-height: 16px;
    letter-spacing: 0.01em;
    font-weight: 500;
    color: var(--rs-on-surface);
    background: var(--rs-surface-high);
    border-radius: .25rem;
    transition: background-color .15s ease, color .15s ease;
}

.rs-btn-soft:hover {
    color: #000;
    background: #d3e4fe;
}

.rs-btn-soft .material-symbols-outlined {
    font-size: 18px;
}

/* Confidentiality note */
.rs-privacy-note {
    gap: 12px;
    margin-top: 1.5rem;
    padding-top: 1rem;
    color: rgba(69, 70, 77, .8);
}

.rs-privacy-note .material-symbols-outlined {
    font-size: 18px;
    color: var(--rs-outline);
    flex-shrink: 0;
    margin-top: 2px;
}

.rs-privacy-note p {
    line-height: 1.625;
    color: inherit;
}

/* ---------- Legal / info pages (privacy, terms, support, delete account) on the home layout ---------- */
.home-project-manage .nk-pages > .privacy-section,
.home-project-manage .nk-pages > .terms-section {
    margin-top: 107px; /* clear the fixed header (title banner is hidden) */
}

.privacy-section ol,
.terms-section ol {
    list-style: decimal;
    padding-left: 1.5rem;
    margin-bottom: 1rem;
}

.privacy-section ul,
.terms-section ul {
    list-style: disc;
    padding-left: 1.5rem;
    margin-bottom: 1rem;
}
