:root {
    --single-bg: #f6f8fb;
    --single-ink: #102033;
    --single-muted: #6b7888;
    --single-line: #dfe6ee;
    --single-card: #ffffff;
    --single-primary: #0f6b5f;
    --single-primary-dark: #0a4a42;
    --single-gold: #c9932f;
    --single-blue: #2368a2;
    --single-shadow: 0 18px 45px rgba(16, 32, 51, 0.11);
    --single-sidebar-width: 260px;
}

.single-payment-preference-section {
    border: 1px solid rgba(15, 107, 95, 0.14);
    background: linear-gradient(135deg, #ffffff 0%, #f4fbf8 100%);
}

.single-validation-summary {
    grid-column: 1 / -1;
    margin: 0;
}

.single-field-error {
    margin-top: 6px;
    color: #b42318;
    font-size: 0.84rem;
    font-weight: 800;
}

.single-field-invalid.single-payment-choice-grid,
.single-field-invalid.single-design-grid,
.single-field-invalid.form-check {
    padding: 10px;
    border: 1px solid #dc3545;
    border-radius: 8px;
    background: #fff5f5;
}

.single-payment-choice-card:has(input.is-invalid),
.single-design-card:has(input.is-invalid) {
    border-color: #dc3545;
    box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.12);
}

.single-payment-choice-grid,
.single-payment-account-grid {
    display: grid;
    gap: 14px;
}

.single-payment-choice-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.single-payment-account-grid {
    grid-template-columns: 1fr;
}

.single-payment-choice-card,
.single-payment-account-card {
    position: relative;
    display: grid;
    gap: 10px;
    padding: 16px;
    border: 1px solid var(--single-line);
    border-radius: 8px;
    background: #ffffff;
    box-shadow: 0 12px 28px rgba(16, 32, 51, 0.08);
}

.single-payment-choice-card {
    cursor: pointer;
}

.single-payment-choice-card input {
    position: absolute;
    top: 14px;
    right: 14px;
    accent-color: var(--single-primary);
}

.single-payment-choice-card span {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border-radius: 8px;
    background: rgba(15, 107, 95, 0.1);
    color: var(--single-primary);
    font-size: 1.2rem;
}

.single-payment-choice-card:has(input:checked) {
    border-color: var(--single-primary);
    box-shadow: 0 16px 34px rgba(15, 107, 95, 0.16);
}

.single-payment-choice-card strong,
.single-payment-account-card strong {
    color: var(--single-ink);
}

.single-payment-choice-card small,
.single-payment-account-card span {
    color: var(--single-muted);
    font-size: 0.82rem;
}

.single-payment-details-box {
    display: grid;
    gap: 14px;
    min-width: 0;
}

.single-payment-account-card.payment-detail-card,
.payment-detail-card {
    width: 100%;
    min-width: 0;
    gap: 16px;
    padding: 20px;
    border-color: rgba(15, 107, 95, 0.14);
    border-radius: 18px;
    background: #ffffff;
    box-shadow: 0 18px 44px rgba(15, 23, 42, 0.09);
}

.single-payment-account-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 14px;
    min-width: 0;
}

.single-payment-account-head span {
    display: inline-flex;
    width: fit-content;
    max-width: 100%;
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(15, 107, 95, 0.08);
    color: var(--single-primary-dark);
    font-size: 0.72rem;
    font-weight: 900;
    line-height: 1.2;
    overflow-wrap: anywhere;
}

.single-payment-account-head strong {
    min-width: 0;
    font-size: 1.05rem;
    font-weight: 950;
    text-align: right;
    overflow-wrap: anywhere;
}

.single-payment-account-card dl,
.payment-detail-list {
    display: grid;
    gap: 0;
    margin: 0;
}

.single-payment-account-card dl div,
.payment-detail-row {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
    padding: 12px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.single-payment-account-card dl div:last-child,
.payment-detail-row:last-child {
    border-bottom: 0;
}

.single-payment-account-card dt,
.payment-detail-label {
    color: #64748b;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.3;
    text-transform: uppercase;
}

.single-payment-account-card dd,
.payment-detail-value {
    margin: 0;
    color: #0f172a;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.45;
    text-align: left;
    word-break: break-word;
}

.single-payment-instruction-text {
    padding: 14px;
    border: 1px solid rgba(201, 147, 47, 0.22);
    border-radius: 14px;
    background: #fff8e8;
}

.single-payment-instruction-text p {
    margin: 6px 0 0;
    color: #66501f;
    overflow-wrap: anywhere;
}

@media (max-width: 760px) {
    .single-payment-choice-grid,
    .single-payment-account-grid {
        grid-template-columns: 1fr;
    }
}

body.single-buyer-body,
body.single-buyer-auth-body {
    margin: 0;
    min-height: 100vh;
    background: var(--single-bg);
    color: var(--single-ink);
    font-family: Inter, Manrope, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.single-app-shell {
    min-height: 100vh;
    display: block;
}

.single-sidebar {
    position: fixed;
    left: 0;
    top: 0;
    bottom: 0;
    width: var(--single-sidebar-width);
    height: 100vh;
    padding: 22px 18px;
    overflow-y: auto;
    background: #0d1c2c;
    color: #ffffff;
    box-shadow: 12px 0 35px rgba(13, 28, 44, 0.16);
    z-index: 30;
}

.single-sidebar-head,
.single-mobile-header,
.single-page-head,
.single-section-head,
.single-tracker-head,
.single-form-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.single-brand,
.single-mobile-brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
    color: inherit;
    text-decoration: none;
}

.single-brand > span,
.single-mobile-brand > span {
    min-width: 0;
}

.single-brand-mark {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border-radius: 8px;
    background: linear-gradient(135deg, var(--single-gold), #f3d27e);
    color: #17202d;
    font-weight: 800;
}

.single-brand-logo {
    flex: 0 0 auto;
    max-width: 124px;
    max-height: 42px;
    padding: 4px;
    border-radius: 8px;
    background: #ffffff;
}

.single-auth-logo {
    display: block;
    max-width: 190px;
    max-height: 64px;
}

.single-brand strong,
.single-mobile-brand strong {
    display: block;
    line-height: 1;
    font-size: 1.05rem;
}

.single-brand small,
.single-mobile-brand small {
    display: block;
    color: rgba(255, 255, 255, 0.68);
    font-size: 0.78rem;
}

.single-nav {
    display: grid;
    gap: 8px;
    margin-top: 34px;
}

.single-nav-link {
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 46px;
    padding: 11px 13px;
    border-radius: 8px;
    color: rgba(255, 255, 255, 0.78);
    text-decoration: none;
    font-weight: 700;
    transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.single-nav-link:hover,
.single-nav-link.active {
    background: rgba(255, 255, 255, 0.12);
    color: #ffffff;
    transform: translateX(2px);
}

.single-logout-link {
    margin-top: 18px;
    color: #ffd7d7;
}

.single-main {
    min-width: 0;
    min-height: 100vh;
    margin-left: var(--single-sidebar-width);
}

.single-main-inner {
    width: min(1180px, calc(100% - 36px));
    margin: 0 auto;
    padding: 30px 0 46px;
}

.single-mobile-header {
    display: none;
    min-height: 68px;
    padding: 12px 18px;
    background: #0d1c2c;
    color: #ffffff;
}

.single-sidebar-overlay,
.single-sidebar-backdrop {
    display: none;
}

.single-icon-button,
.single-avatar {
    width: 42px;
    height: 42px;
    border: 0;
    border-radius: 8px;
    display: inline-grid;
    place-items: center;
    background: rgba(255, 255, 255, 0.12);
    color: inherit;
    text-decoration: none;
    font-weight: 800;
}

.single-sidebar .single-sidebar-toggle {
    display: none;
}

.single-page-head {
    margin-bottom: 22px;
    padding: 28px;
    border-radius: 8px;
    background: linear-gradient(135deg, #ffffff 0%, #edf7f4 52%, #fff6e4 100%);
    box-shadow: var(--single-shadow);
}

.single-page-head h1,
.single-auth-card h1 {
    margin: 0;
    font-weight: 800;
    letter-spacing: 0;
    color: var(--single-ink);
}

.single-page-head p,
.single-service-card p,
.single-auth-card p,
.single-step-card p,
.single-muted {
    color: var(--single-muted);
}

.single-kicker {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin-bottom: 8px;
    color: var(--single-primary);
    font-weight: 800;
    font-size: 0.76rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.single-kpi-grid,
.single-service-grid,
.single-choice-grid,
.single-form-grid,
.single-doc-grid {
    display: grid;
    gap: 18px;
}

.single-kpi-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin-bottom: 22px;
}

.single-kpi-card,
.single-service-card,
.single-panel,
.single-choice-card,
.single-tracker-card,
.single-auth-card {
    border: 1px solid rgba(16, 32, 51, 0.08);
    border-radius: 8px;
    background: var(--single-card);
    box-shadow: 0 12px 34px rgba(16, 32, 51, 0.08);
}

.single-kpi-card {
    min-width: 0;
    padding: 20px;
}

.single-kpi-card i,
.single-service-icon,
.single-choice-icon {
    width: 46px;
    height: 46px;
    display: grid;
    place-items: center;
    border-radius: 8px;
    background: rgba(15, 107, 95, 0.1);
    color: var(--single-primary);
    font-size: 1.25rem;
}

.single-kpi-card span {
    display: block;
    margin-top: 16px;
    color: var(--single-muted);
    font-weight: 700;
    font-size: 0.86rem;
}

.single-kpi-card strong {
    display: block;
    margin-top: 4px;
    font-size: 2rem;
    min-width: 0;
    overflow-wrap: anywhere;
    word-break: break-word;
}

.single-kpi-card small {
    color: var(--single-muted);
}

.single-service-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.single-service-card,
.single-choice-card {
    padding: 22px;
    color: inherit;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.single-service-card:hover,
.single-choice-card:hover {
    transform: translateY(-4px);
    border-color: rgba(15, 107, 95, 0.26);
    box-shadow: 0 20px 50px rgba(16, 32, 51, 0.13);
}

.single-service-card h2,
.single-choice-card h2,
.single-panel h2 {
    margin: 18px 0 8px;
    font-size: 1.05rem;
    font-weight: 800;
}

.single-panel {
    padding: 24px;
    margin-top: 22px;
}

.single-request-list {
    display: grid;
    gap: 12px;
}

.single-request-card {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding: 16px;
    border: 1px solid var(--single-line);
    border-radius: 8px;
}

.single-empty-state {
    text-align: center;
    padding: 36px 18px;
}

.single-empty-state i {
    font-size: 2.4rem;
    color: var(--single-primary);
}

.single-portfolio-filter-panel {
    margin-bottom: 22px;
}

.single-portfolio-filters {
    display: grid;
    grid-template-columns: minmax(220px, 1.6fr) repeat(5, minmax(130px, 1fr)) auto;
    gap: 14px;
    align-items: end;
}

.single-turnkey-filters {
    grid-template-columns: minmax(220px, 1.4fr) repeat(5, minmax(120px, 1fr)) auto;
}

.single-filter-search,
.single-input-icon {
    min-width: 0;
}

.single-input-icon {
    position: relative;
}

.single-input-icon i {
    position: absolute;
    left: 13px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--single-muted);
    pointer-events: none;
}

.single-input-icon .form-control {
    padding-left: 40px;
}

.single-filter-actions {
    display: flex;
    gap: 10px;
}

.single-portfolio-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.single-portfolio-grid > .single-panel {
    grid-column: 1 / -1;
}

.single-land-card {
    min-width: 0;
    overflow: hidden;
    border: 1px solid rgba(16, 32, 51, 0.08);
    border-radius: 8px;
    background: #ffffff;
    box-shadow: 0 18px 42px rgba(16, 32, 51, 0.1);
}

.single-land-image {
    position: relative;
    display: grid;
    place-items: center;
    height: 220px;
    overflow: hidden;
    background: #eaf1ef;
    color: var(--single-primary);
    text-decoration: none;
}

.single-land-image img,
.single-land-hero-image img,
.single-land-thumb-grid img,
.single-payment-land img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.single-land-image span,
.single-land-hero-image span,
.single-payment-land > span {
    display: grid;
    place-items: center;
    width: 100%;
    height: 100%;
    font-size: 2rem;
    color: var(--single-primary);
}

.single-land-image em {
    position: absolute;
    top: 14px;
    right: 14px;
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(15, 107, 95, 0.92);
    color: #ffffff;
    font-style: normal;
    font-size: 0.76rem;
    font-weight: 800;
}

.single-land-body {
    display: grid;
    gap: 16px;
    padding: 18px;
}

.single-land-body h2 {
    margin: 0 0 8px;
    font-size: 1.15rem;
    font-weight: 800;
}

.single-land-body p {
    margin: 0;
    color: var(--single-muted);
}

.single-land-meta,
.single-land-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.single-land-meta span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--single-muted);
    min-width: 0;
}

.single-land-meta strong,
.single-land-detail-price,
.single-payment-amount strong {
    color: var(--single-primary-dark);
    font-size: 1.35rem;
    font-weight: 900;
}

.single-land-actions form {
    margin: 0;
}

.single-land-detail-layout,
.single-land-payment-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(380px, 1fr);
    gap: 22px;
    margin-bottom: 22px;
}

.single-land-gallery,
.single-land-summary,
.single-payment-summary,
.single-payment-instructions {
    min-width: 0;
}

.single-land-hero-image {
    display: grid;
    place-items: center;
    height: 460px;
    overflow: hidden;
    border-radius: 8px;
    background: #eaf1ef;
    box-shadow: var(--single-shadow);
}

.single-land-thumb-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
    margin-top: 12px;
}

.single-land-thumb-grid a {
    height: 92px;
    overflow: hidden;
    border-radius: 8px;
    background: #edf3f1;
}

.single-land-summary {
    display: grid;
    align-content: start;
    gap: 18px;
}

.single-land-specs {
    display: grid;
    gap: 12px;
    margin: 0;
}

.single-land-specs div {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--single-line);
}

.single-land-specs dt {
    color: var(--single-muted);
    font-weight: 700;
}

.single-land-specs dd {
    margin: 0;
    text-align: right;
    font-weight: 800;
}

.single-payment-land {
    display: grid;
    grid-template-columns: 130px minmax(0, 1fr);
    gap: 16px;
    align-items: center;
    margin: 18px 0;
}

.single-payment-land img,
.single-payment-land > span {
    height: 105px;
    border-radius: 8px;
    background: #eaf1ef;
    overflow: hidden;
}

.single-payment-land h3 {
    margin: 0 0 8px;
    font-weight: 900;
}

.single-design-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.single-design-card {
    position: relative;
    min-width: 0;
    display: grid;
    gap: 8px;
    padding: 12px;
    border: 1px solid var(--single-line);
    border-radius: 8px;
    background: #ffffff;
    cursor: pointer;
    transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.single-design-card:hover,
.single-design-card:has(input:checked) {
    border-color: rgba(15, 107, 95, 0.35);
    box-shadow: 0 14px 30px rgba(16, 32, 51, 0.1);
    transform: translateY(-2px);
}

.single-design-card input {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 1;
}

.single-design-card img,
.single-design-card > span {
    width: 100%;
    aspect-ratio: 4 / 3;
    border-radius: 8px;
    background: #eaf1ef;
    overflow: hidden;
}

.single-design-card img {
    display: block;
    object-fit: cover;
}

.single-design-card > span {
    display: grid;
    place-items: center;
    color: var(--single-primary);
    font-size: 2rem;
}

.single-design-card strong,
.single-design-card small,
.single-design-card em {
    min-width: 0;
    overflow-wrap: anywhere;
}

.single-design-card strong {
    font-weight: 900;
}

.single-design-card small {
    color: var(--single-muted);
    font-weight: 750;
}

.single-design-card em {
    color: var(--single-primary-dark);
    font-style: normal;
    font-weight: 900;
}

.single-payment-land p,
.single-payment-land small {
    color: var(--single-muted);
}

.single-payment-amount {
    display: grid;
    gap: 4px;
    padding: 18px;
    border-radius: 8px;
    background: #f3faf7;
}

.single-page-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 10px;
}

.single-payment-facts,
.single-bank-details,
.single-payment-step-grid {
    display: grid;
    gap: 12px;
}

.single-payment-facts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-bottom: 14px;
}

.single-payment-facts div,
.single-bank-details div,
.single-payment-step {
    min-width: 0;
    padding: 14px;
    border: 1px solid var(--single-line);
    border-radius: 8px;
    background: #fbfcfe;
}

.single-payment-facts span,
.single-bank-details dt {
    display: block;
    color: var(--single-muted);
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
}

.single-payment-facts strong,
.single-bank-details dd {
    display: block;
    margin: 4px 0 0;
    color: var(--single-ink);
    font-weight: 900;
    overflow-wrap: anywhere;
}

.single-payment-placeholder {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 12px;
    align-items: center;
    margin: 14px 0;
    padding: 14px;
    border: 1px dashed rgba(15, 107, 95, 0.28);
    border-radius: 8px;
    background: #f7fbf9;
    color: var(--single-muted);
    font-weight: 700;
}

.single-payment-step-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
}

.single-payment-step span {
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    border-radius: 8px;
    background: var(--single-primary);
    color: #ffffff;
    font-weight: 900;
}

.single-payment-step h3 {
    margin: 12px 0 6px;
    font-size: 0.98rem;
    font-weight: 900;
}

.single-payment-step p {
    margin: 0;
    color: var(--single-muted);
    font-size: 0.9rem;
}

@media (max-width: 1100px) {
    .single-portfolio-filters,
    .single-turnkey-filters,
    .single-portfolio-grid,
    .single-land-detail-layout,
    .single-land-payment-layout {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .single-payment-step-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .single-filter-search {
        grid-column: 1 / -1;
    }
}

@media (max-width: 760px) {
    .single-portfolio-filters,
    .single-turnkey-filters,
    .single-portfolio-grid,
    .single-land-detail-layout,
    .single-land-payment-layout,
    .single-land-thumb-grid,
    .single-design-grid {
        grid-template-columns: 1fr;
    }

    .single-filter-actions,
    .single-land-actions,
    .single-land-meta {
        align-items: stretch;
        flex-direction: column;
    }

    .single-filter-actions .btn,
    .single-land-actions .btn,
    .single-land-actions form,
    .single-land-actions button {
        width: 100%;
    }

    .single-land-hero-image {
        height: 310px;
    }

    .single-payment-land {
        grid-template-columns: 1fr;
    }

    .single-page-actions,
    .single-page-actions .btn,
    .single-payment-facts,
    .single-payment-step-grid {
        display: grid;
        grid-template-columns: 1fr;
        width: 100%;
    }
}

.single-choice-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.single-choice-card {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 14px;
    min-height: 190px;
}

.single-choice-card h2 {
    margin-top: 0;
}

.single-choice-card p {
    margin-bottom: 14px;
}

.single-choice-card em {
    color: var(--single-primary);
    font-style: normal;
    font-weight: 800;
}

.single-progress-steps {
    display: flex;
    gap: 8px;
    margin: 0 0 22px;
}

.single-progress-steps span {
    flex: 1;
    height: 7px;
    border-radius: 999px;
    background: #dbe6ed;
}

.single-progress-steps span:first-child,
.single-progress-steps span.is-active {
    background: var(--single-primary);
}

.single-form-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.single-form-section {
    padding: 18px;
    border: 1px solid var(--single-line);
    border-radius: 8px;
    background: #fbfcfe;
}

.single-form-section h2 {
    margin: 0 0 14px;
    font-size: 1rem;
    font-weight: 800;
}

.single-form-wide,
.single-form-actions {
    grid-column: 1 / -1;
}

.single-help {
    display: block;
    margin-top: 6px;
    color: var(--single-muted);
    font-size: 0.86rem;
}

.single-upload-placeholder {
    min-height: 114px;
    display: grid;
    place-items: center;
    gap: 8px;
    padding: 18px;
    border: 1px dashed #aebdca;
    border-radius: 8px;
    color: var(--single-muted);
    text-align: center;
    background: #ffffff;
}

.single-tracker-stack {
    display: grid;
    gap: 18px;
}

.single-tracker-card {
    padding: 22px;
}

.single-progress-row {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 12px;
    margin: 18px 0;
}

.single-progress-track {
    height: 10px;
    border-radius: 999px;
    background: #dfe8ee;
    overflow: hidden;
}

.single-progress-track div {
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, var(--single-primary), var(--single-gold));
}

.single-timeline {
    display: grid;
    gap: 12px;
}

.single-timeline-item {
    display: grid;
    grid-template-columns: 34px minmax(0, 1fr);
    gap: 12px;
    padding: 12px;
    border: 1px solid var(--single-line);
    border-radius: 8px;
}

.single-timeline-dot {
    width: 30px;
    height: 30px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: #e7edf3;
    color: #708092;
}

.single-timeline-item.is-active .single-timeline-dot {
    background: rgba(15, 107, 95, 0.14);
    color: var(--single-primary);
}

.single-timeline-item.is-completed .single-timeline-dot {
    background: rgba(25, 135, 84, 0.16);
    color: #198754;
}

.single-buyer-auth-body {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: linear-gradient(135deg, #edf4f2 0%, #f8fafc 48%, #eef2f7 100%);
}

.single-auth-page {
    width: min(100%, 1080px);
    min-height: min(720px, calc(100vh - 48px));
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(360px, 460px);
    align-items: center;
    gap: 42px;
    margin: 0 auto;
}

.single-auth-pitch {
    max-width: 520px;
    color: var(--single-ink);
}

.single-auth-pitch .single-kicker {
    color: var(--single-primary);
}

.single-auth-pitch h1 {
    margin: 16px 0 14px;
    font-size: clamp(2.1rem, 5vw, 4.1rem);
    line-height: 1.02;
    font-weight: 800;
    letter-spacing: 0;
}

.single-auth-pitch p {
    max-width: 480px;
    margin: 0;
    color: var(--single-muted);
    font-size: 1.05rem;
}

.single-auth-points {
    display: grid;
    gap: 10px;
    margin-top: 28px;
}

.single-auth-points span {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #26384c;
    font-weight: 700;
}

.single-auth-points i {
    color: var(--single-primary);
}

.single-auth-card {
    width: 100%;
    padding: 30px;
}

.single-auth-brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
    color: var(--single-ink);
    text-decoration: none;
    font-weight: 900;
}

.single-auth-brand.logo-only-brand {
    align-items: center;
    justify-content: flex-start;
    min-height: 70px;
    margin-bottom: 28px;
}

.single-auth-switch {
    margin: 18px 0 0;
    text-align: center;
}

.single-auth-link-row {
    display: flex;
    justify-content: flex-end;
    min-height: 24px;
}

.single-auth-link-row a,
.single-auth-switch a {
    color: var(--single-primary);
    font-weight: 800;
    text-decoration: none;
}

.single-auth-link-row a:hover,
.single-auth-switch a:hover {
    color: var(--single-primary-dark);
    text-decoration: underline;
}

.single-auth-helper {
    color: var(--single-muted);
    font-size: 0.9rem;
    font-weight: 650;
    line-height: 1.55;
}

.single-doc-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

@media (max-width: 1100px) {
    .single-main {
        margin-left: 0;
    }

    .single-sidebar {
        position: fixed;
        left: 0;
        top: 0;
        bottom: 0;
        transform: translateX(-105%);
        width: min(86vw, 310px);
        transition: transform 0.22s ease;
        z-index: 40;
    }

    .single-sidebar.open,
    .single-sidebar-open .single-sidebar {
        transform: translateX(0);
    }

    .single-sidebar .single-sidebar-toggle {
        display: inline-grid;
    }

    .single-sidebar-overlay,
    .single-sidebar-backdrop {
        position: fixed;
        inset: 0;
        display: none;
        background: rgba(13, 28, 44, 0.44);
        z-index: 35;
    }

    .single-sidebar-overlay.show,
    .single-sidebar-open .single-sidebar-overlay,
    .single-sidebar-open .single-sidebar-backdrop {
        display: block;
    }

    body.single-sidebar-open {
        overflow: hidden;
    }

    .single-mobile-header {
        display: flex;
        position: sticky;
        top: 0;
        z-index: 25;
    }

    .single-kpi-grid,
    .single-service-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 720px) {
    .single-buyer-auth-body {
        align-items: flex-start;
        padding: 18px;
        background: linear-gradient(180deg, #edf4f2 0%, #f8fafc 48%, #eef2f7 100%);
    }

    .single-auth-page {
        min-height: auto;
        grid-template-columns: 1fr;
        gap: 22px;
    }

    .single-auth-pitch {
        max-width: none;
        padding-top: 10px;
    }

    .single-auth-pitch h1 {
        font-size: 2.15rem;
    }

    .single-auth-card {
        padding: 24px;
    }

    .single-auth-brand.logo-only-brand {
        justify-content: flex-start;
        margin-bottom: 18px;
    }

    .single-main-inner {
        width: min(100% - 24px, 1180px);
        padding-top: 20px;
    }

    .single-page-head,
    .single-section-head,
    .single-tracker-head,
    .single-form-actions,
    .single-request-card {
        align-items: flex-start;
        flex-direction: column;
    }

    .single-kpi-grid,
    .single-service-grid,
    .single-choice-grid,
    .single-form-grid,
    .single-doc-grid {
        grid-template-columns: 1fr;
    }

    .single-choice-card {
        grid-template-columns: 1fr;
    }

    .single-progress-row {
        grid-template-columns: 1fr;
    }
}

/* Premium HIG Single Buyer layer */
:root {
    --single-bg: #f5f7fb;
    --single-ink: #111827;
    --single-muted: #4b5563;
    --single-line: #e5e7eb;
    --single-card: #ffffff;
    --single-navy: #07111f;
    --single-primary: #2f4fff;
    --single-primary-dark: #263fd6;
    --single-green: #0b7a61;
    --single-gold: #b98b3d;
    --single-shadow: 0 1px 2px rgba(0, 0, 0, .04), 0 10px 28px rgba(0, 0, 0, .08);
    --single-soft-shadow: 0 1px 2px rgba(0, 0, 0, .04), 0 8px 24px rgba(0, 0, 0, .06);
    --single-sidebar-width: 280px;
}

body.single-buyer-body,
body.single-buyer-auth-body {
    overflow-x: hidden;
    background:
        linear-gradient(180deg, #fbfcff 0, #f5f7fb 420px, #f5f7fb 100%);
    color: var(--single-ink);
    font-family: "Manrope", "Inter", system-ui, sans-serif;
}

body.single-buyer-body h1,
body.single-buyer-body h2,
body.single-buyer-body h3,
body.single-buyer-auth-body h1,
body.single-buyer-auth-body h2,
body.single-buyer-auth-body h3 {
    font-family: "Space Grotesk", "Manrope", system-ui, sans-serif;
    letter-spacing: 0;
}

.single-buyer-body .btn,
.single-buyer-auth-body .btn {
    border-radius: 14px;
    font-weight: 850;
}

.single-buyer-body .btn-primary,
.single-buyer-auth-body .btn-primary {
    border-color: var(--single-primary);
    background: linear-gradient(180deg, #425eff, #263fd6);
    box-shadow: 0 14px 28px rgba(47, 79, 255, 0.22);
}

.single-buyer-body .btn-primary:hover,
.single-buyer-auth-body .btn-primary:hover {
    border-color: var(--single-primary-dark);
    background: linear-gradient(180deg, #3653f5, #2037c8);
}

.single-buyer-body .btn-outline-primary,
.single-buyer-auth-body .btn-outline-primary {
    border-color: rgba(47, 79, 255, 0.24);
    color: var(--single-primary-dark);
}

.single-buyer-body .btn-outline-primary:hover,
.single-buyer-auth-body .btn-outline-primary:hover {
    border-color: var(--single-primary);
    background: #eef2ff;
    color: var(--single-primary-dark);
}

.single-sidebar {
    width: var(--single-sidebar-width);
    padding: 18px;
    background:
        linear-gradient(180deg, rgba(47, 79, 255, 0.16), transparent 28%),
        var(--single-navy);
    box-shadow: 24px 0 70px rgba(7, 17, 31, 0.2);
    transition: transform 220ms cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 220ms cubic-bezier(0.2, 0.8, 0.2, 1);
    z-index: 1040;
}

.single-sidebar-head {
    min-height: 58px;
    padding: 4px 0 18px;
    border-bottom: 1px solid rgba(148, 163, 184, 0.1);
}

.single-brand {
    flex: 1 1 auto;
    overflow: hidden;
}

.single-brand .brand-logo-sidebar,
.single-mobile-brand .brand-logo-sidebar {
    width: auto;
    max-width: 150px;
    max-height: 38px;
    object-fit: contain;
}

.single-brand strong,
.single-mobile-brand strong {
    overflow: hidden;
    max-width: 150px;
    color: #ffffff;
    font-weight: 900;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.single-brand small,
.single-mobile-brand small {
    color: #98a6ba;
    font-weight: 760;
}

.single-nav {
    gap: 8px;
    margin-top: 20px;
}

.single-nav-link {
    min-height: 46px;
    padding: 12px 13px;
    border-radius: 15px;
    color: #b8c3d5;
    font-weight: 820;
    overflow: hidden;
    transition: background 180ms ease, color 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.single-nav-link i {
    width: 22px;
    flex: 0 0 22px;
    text-align: center;
    font-size: 1.05rem;
}

.single-nav-link span {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.single-nav-link:hover,
.single-nav-link.active {
    background: rgba(148, 163, 184, 0.1);
    color: #ffffff;
    transform: translateX(2px);
}

.single-nav-link.active {
    box-shadow: inset 3px 0 0 rgba(93, 224, 194, 0.92), 0 12px 28px rgba(0, 0, 0, 0.12);
}

.single-logout-link {
    color: #ffd9d9;
}

.single-main {
    margin-left: var(--single-sidebar-width);
}

.single-main-inner {
    width: min(100%, 1480px);
    padding: 30px;
}

.single-mobile-header {
    min-height: 66px;
    border-bottom: 1px solid var(--single-line);
    background: #ffffff;
    color: var(--single-ink);
    box-shadow: 0 10px 26px rgba(19, 35, 64, 0.08);
}

.single-mobile-brand strong {
    color: var(--single-ink);
}

.single-icon-button,
.single-avatar {
    border: 1px solid rgba(17, 24, 39, 0.12);
    border-radius: 14px;
    background: #ffffff;
    color: var(--single-ink);
    box-shadow: 0 8px 18px rgba(19, 35, 64, 0.05);
}

.single-sidebar .single-icon-button {
    border-color: rgba(148, 163, 184, 0.12);
    background: rgba(148, 163, 184, 0.08);
    color: #ffffff;
    box-shadow: none;
}

.single-desktop-topbar {
    position: sticky;
    top: 16px;
    z-index: 1010;
    width: min(100% - 60px, 1420px);
    min-height: 76px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 16px;
    margin: 16px auto 0;
    padding: 16px;
    border: 1px solid var(--single-line);
    border-radius: 22px;
    background: #ffffff;
    box-shadow: var(--single-soft-shadow);
}

.single-topbar-copy {
    min-width: 0;
}

.single-topbar-kicker {
    display: block;
    margin-bottom: 4px;
    color: var(--single-muted);
    font-size: 0.73rem;
    font-weight: 900;
    letter-spacing: 0;
    text-transform: uppercase;
}

.single-topbar-copy h1 {
    margin: 0;
    color: var(--single-ink);
    font-size: clamp(1.35rem, 2vw, 1.95rem);
    font-weight: 850;
    line-height: 1.15;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.single-topbar-actions {
    display: inline-flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
}

.single-topbar-icon-button,
.single-topbar-user-chip,
.single-mobile-profile-btn {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--single-line);
    border-radius: 14px;
    background: #ffffff;
    color: var(--single-ink);
    box-shadow: 0 8px 18px rgba(19, 35, 64, 0.05);
    transition: border-color 180ms ease, background 180ms ease, color 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.single-topbar-icon-button:hover,
.single-topbar-user-chip:hover,
.single-mobile-profile-btn:hover,
.single-topbar-icon-button[aria-expanded="true"],
.single-topbar-user-chip[aria-expanded="true"],
.single-mobile-profile-btn[aria-expanded="true"] {
    border-color: rgba(47, 79, 255, 0.24);
    background: #f8fbff;
    color: var(--single-primary-dark);
    box-shadow: 0 12px 26px rgba(19, 35, 64, 0.08);
}

.single-topbar-icon-button {
    position: relative;
    width: 44px;
    padding: 0;
}

.single-topbar-user-chip {
    gap: 9px;
    padding: 0 12px 0 6px;
    font-weight: 850;
}

.single-topbar-user-chip > span,
.single-mobile-profile-btn > span,
.single-profile-dropdown-head > span {
    width: 32px;
    height: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 32px;
    border-radius: 50%;
    background: var(--single-primary);
    color: #ffffff;
    font-weight: 900;
}

.single-topbar-user-chip strong {
    max-width: 160px;
    overflow: hidden;
    color: var(--single-ink);
    font-size: 0.86rem;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.single-topbar-user-chip i {
    color: var(--single-muted);
    font-size: 0.8rem;
}

.single-profile-dropdown {
    position: absolute;
    z-index: 1300;
    display: none;
    overflow: hidden;
    border: 1px solid var(--single-line);
    border-radius: 18px;
    background: #ffffff;
    box-shadow: 0 22px 54px rgba(15, 23, 42, 0.16);
}

.single-profile-dropdown.is-open {
    display: block;
}

.single-profile-dropdown-head {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px;
    border-bottom: 1px solid #eef2f7;
}

.single-profile-dropdown-head div {
    min-width: 0;
}

.single-profile-dropdown-head strong,
.single-profile-dropdown-head small {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.single-profile-dropdown-head strong {
    color: var(--single-ink);
    font-size: 0.92rem;
    font-weight: 900;
}

.single-profile-dropdown-head small {
    margin-top: 2px;
    color: var(--single-muted);
    font-size: 0.78rem;
    font-weight: 700;
}

.single-profile-dropdown a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 14px;
    color: var(--single-ink);
    font-size: 0.9rem;
    font-weight: 850;
    text-decoration: none;
}

.single-profile-dropdown a:hover,
.single-profile-dropdown a:focus {
    background: #f8fbff;
    color: var(--single-primary-dark);
    outline: none;
}

.single-profile-dropdown a i {
    width: 18px;
    color: var(--single-muted);
    text-align: center;
}

.single-page-head {
    align-items: center;
    margin-bottom: 22px;
    padding: clamp(24px, 4vw, 34px);
    border: 1px solid rgba(227, 232, 240, 0.9);
    border-radius: 26px;
    background:
        linear-gradient(135deg, #ffffff, rgba(239, 244, 255, 0.78)),
        #ffffff;
    box-shadow: var(--single-soft-shadow);
}

.single-page-head h1 {
    font-size: clamp(1.85rem, 3.6vw, 3rem);
    font-weight: 760;
    line-height: 1.06;
}

.single-page-head p {
    max-width: 760px;
    margin-top: 10px;
    color: var(--single-muted);
    line-height: 1.7;
}

.single-kicker {
    width: fit-content;
    padding: 7px 11px;
    border: 1px solid rgba(47, 79, 255, 0.12);
    border-radius: 999px;
    background: rgba(47, 79, 255, 0.07);
    color: var(--single-primary-dark);
    font-size: 0.7rem;
    font-weight: 900;
    letter-spacing: 0;
}

.single-kpi-grid,
.single-service-grid {
    gap: 16px;
}

.single-kpi-card,
.single-service-card,
.single-panel,
.single-choice-card,
.single-tracker-card,
.single-auth-card,
.single-form-section {
    border: 1px solid var(--single-line);
    border-radius: 22px;
    background: #ffffff;
    box-shadow: var(--single-soft-shadow);
}

.single-kpi-card {
    min-width: 0;
    min-height: 150px;
    padding: 20px;
}

.single-kpi-card i,
.single-service-icon,
.single-choice-icon,
.single-request-icon {
    width: 46px;
    height: 46px;
    display: inline-grid;
    place-items: center;
    border-radius: 16px;
    background: #eef2ff;
    color: var(--single-primary);
    font-size: 1.18rem;
}

.single-kpi-card span,
.single-kpi-card small {
    color: var(--single-muted);
}

.single-kpi-card strong {
    font-family: "Space Grotesk", "Manrope", system-ui, sans-serif;
    font-size: clamp(1.35rem, 2vw, 1.75rem);
    line-height: 1.2;
    min-width: 0;
    overflow-wrap: break-word;
    word-break: normal;
}

.single-service-card,
.single-choice-card {
    position: relative;
    overflow: hidden;
    border-radius: 22px;
}

.single-service-card::after,
.single-choice-card::after {
    content: "";
    position: absolute;
    inset: auto 18px 0;
    height: 3px;
    border-radius: 999px 999px 0 0;
    background: linear-gradient(90deg, var(--single-gold), var(--single-primary), var(--single-green));
    opacity: 0;
    transition: opacity 180ms ease;
}

.single-service-card:hover,
.single-choice-card:hover {
    border-color: rgba(47, 79, 255, 0.22);
    box-shadow: var(--single-shadow);
}

.single-service-card:hover::after,
.single-choice-card:hover::after {
    opacity: 1;
}

.single-service-card h2,
.single-choice-card h2,
.single-panel h2,
.single-tracker-card h2,
.single-form-section h2 {
    color: var(--single-ink);
    font-weight: 900;
}

.single-service-card p,
.single-choice-card p,
.single-panel p,
.single-form-section p,
.single-muted {
    color: var(--single-muted);
    line-height: 1.65;
}

.single-section-head {
    align-items: end;
    margin-bottom: 18px;
}

.single-request-list {
    gap: 14px;
}

.single-request-card {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 16px;
    padding: 18px;
    border: 1px solid var(--single-line);
    border-radius: 20px;
    background: #ffffff;
    box-shadow: 0 10px 28px rgba(7, 17, 31, 0.06);
}

.single-request-body,
.single-request-card,
.single-tracker-card,
.single-panel,
.single-form-section {
    min-width: 0;
}

.single-request-topline {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 14px;
}

.single-request-card h3 {
    margin: 0 0 4px;
    color: var(--single-ink);
    font-size: 1.08rem;
    font-weight: 900;
}

.single-request-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 13px 0;
}

.single-request-meta span {
    padding: 7px 10px;
    border-radius: 999px;
    background: #f8fafc;
    color: var(--single-muted);
    font-size: 0.8rem;
    font-weight: 800;
}

.single-request-progress {
    display: grid;
    gap: 7px;
    margin-bottom: 12px;
}

.single-request-progress > div:first-child {
    display: flex;
    justify-content: space-between;
    color: var(--single-muted);
    font-size: 0.82rem;
    font-weight: 850;
}

.single-next-step {
    color: var(--single-muted);
}

.single-request-action {
    white-space: nowrap;
}

.single-empty-state {
    display: grid;
    place-items: center;
    gap: 10px;
    min-height: 260px;
    padding: 42px 18px;
    border: 1px dashed rgba(47, 79, 255, 0.22);
    border-radius: 22px;
    background: linear-gradient(135deg, #ffffff, rgba(239, 244, 255, 0.76));
}

.single-empty-state h2 {
    margin: 0;
}

.single-empty-state p {
    max-width: 460px;
    margin: 0;
}

.single-choice-grid {
    gap: 16px;
}

.single-choice-card {
    min-height: 210px;
    padding: 24px;
}

.single-progress-steps {
    padding: 14px;
    border: 1px solid var(--single-line);
    border-radius: 999px;
    background: #ffffff;
    box-shadow: var(--single-soft-shadow);
}

.single-progress-steps span {
    background: #e5e7eb;
}

.single-progress-steps span:first-child,
.single-progress-steps span.is-active {
    background: linear-gradient(90deg, var(--single-gold), var(--single-primary));
}

.single-form-grid {
    gap: 16px;
}

.single-form-section {
    padding: 20px;
    background: #ffffff;
}

.single-form-section h2 {
    margin-bottom: 16px;
}

.single-form-section .form-label {
    color: #374151;
    font-weight: 850;
}

.single-form-section label + .single-help {
    margin: -2px 0 10px;
}

.single-form-section .single-help + .form-label,
.single-form-section .form-control + .single-help + .form-label {
    margin-top: 14px;
}

.single-form-section .single-help + textarea,
.single-form-section .single-help + .form-control,
.single-form-section .single-help + .form-select {
    margin-top: 8px;
}

.single-help {
    color: #6b7280;
    line-height: 1.55;
}

.single-buyer-body .form-control,
.single-buyer-body .form-select,
.single-buyer-auth-body .form-control,
.single-buyer-auth-body .form-select {
    border-color: #dbe1ea;
    border-radius: 14px;
    background-color: #ffffff;
    color: var(--single-ink);
}

.single-buyer-body .form-control:focus,
.single-buyer-body .form-select:focus,
.single-buyer-auth-body .form-control:focus,
.single-buyer-auth-body .form-select:focus {
    border-color: var(--single-primary);
    box-shadow: 0 0 0 4px rgba(47, 79, 255, 0.12);
}

.single-progress-row {
    padding: 14px;
    border: 1px solid var(--single-line);
    border-radius: 18px;
    background: #f8fafc;
}

.single-progress-track {
    height: 10px;
    background: #e5e7eb;
}

.single-progress-track div {
    background: linear-gradient(90deg, var(--single-primary), var(--single-green));
}

.single-timeline-item {
    border-color: var(--single-line);
    border-radius: 18px;
    background: #ffffff;
}

.single-timeline-dot {
    background: #eef2ff;
    color: var(--single-primary);
}

.single-timeline-item.is-active .single-timeline-dot {
    background: rgba(47, 79, 255, 0.12);
    color: var(--single-primary);
}

.single-timeline-item.is-completed .single-timeline-dot {
    background: #ecfdf5;
    color: var(--single-green);
}

.single-buyer-body .badge {
    border-radius: 999px;
    padding: 8px 10px;
    font-weight: 900;
}

.single-buyer-body .text-bg-warning {
    background: #f8f1e6 !important;
    color: #8a5d16 !important;
}

.single-buyer-body .text-bg-primary {
    background: #eef2ff !important;
    color: var(--single-primary-dark) !important;
}

.single-buyer-body .text-bg-success {
    background: #ecfdf5 !important;
    color: #064e3b !important;
}

.single-buyer-body .text-bg-danger {
    background: #fef2f2 !important;
    color: #991b1b !important;
}

.single-buyer-auth-body {
    padding: 24px;
    background:
        linear-gradient(135deg, rgba(47, 79, 255, 0.08), transparent 34%),
        linear-gradient(315deg, rgba(11, 122, 97, 0.08), transparent 30%),
        #f5f7fb;
}

.single-auth-page {
    width: min(100%, 1120px);
    grid-template-columns: minmax(0, 1fr) minmax(360px, 460px);
}

.single-auth-pitch {
    padding: clamp(26px, 5vw, 50px);
    border: 1px solid var(--single-line);
    border-radius: 30px;
    background: linear-gradient(145deg, #ffffff 0%, #f7f9ff 64%, #eef5ff 100%);
    box-shadow: var(--single-soft-shadow);
}

.single-auth-pitch h1 {
    color: #07111f;
    font-weight: 760;
}

.single-auth-card {
    padding: clamp(26px, 4vw, 34px);
    border-radius: 26px;
}

.single-auth-card h1,
.single-auth-card p {
    text-align: center;
}

.single-auth-card p {
    margin-bottom: 22px;
}

.single-auth-brand.logo-only-brand {
    justify-content: flex-start;
}

.single-auth-logo {
    width: auto;
    max-width: 190px;
    max-height: 64px;
    object-fit: contain;
}

.single-auth-points span {
    color: #374151;
}

.single-auth-points i {
    color: var(--single-green);
}

.single-upload-placeholder {
    border-color: #dbe1ea;
    border-radius: 18px;
    background: #f8fafc;
}

.single-logout-modal[hidden] {
    display: none;
}

.single-logout-modal {
    position: fixed;
    inset: 0;
    z-index: 1200;
    display: grid;
    place-items: center;
    padding: 18px;
    background: rgba(7, 17, 31, 0.56);
}

.single-logout-dialog {
    width: min(100%, 420px);
    padding: 28px;
    border: 1px solid rgba(255, 255, 255, 0.68);
    border-radius: 24px;
    background: #ffffff;
    text-align: center;
    box-shadow: 0 28px 80px rgba(7, 17, 31, 0.26);
}

.single-logout-icon {
    display: grid;
    place-items: center;
    width: 58px;
    height: 58px;
    margin: 0 auto 16px;
    border-radius: 18px;
    background: #eef2ff;
    color: var(--single-primary);
    font-size: 1.4rem;
}

.single-logout-dialog h2 {
    margin: 0 0 20px;
    color: var(--single-ink);
    font-size: 1.35rem;
}

.single-logout-actions {
    display: flex;
    gap: 10px;
}

.single-logout-actions .btn {
    flex: 1;
}

body.single-logout-open {
    overflow: hidden;
}

/* Desktop/mobile sidebar toggle parity with Group Buyer */
.single-mobile-header {
    position: sticky;
    top: 0;
    z-index: 1025;
    display: flex;
    margin: 0 -30px 24px;
    padding: 12px 30px;
}

.single-sidebar-collapsed .single-sidebar {
    width: 84px;
    padding-inline: 12px;
}

.single-sidebar-collapsed .single-sidebar-head {
    justify-content: center;
}

.single-sidebar-collapsed .single-brand {
    justify-content: center;
}

.single-sidebar-collapsed .single-brand span,
.single-sidebar-collapsed .single-nav-link span {
    display: none;
}

.single-sidebar-collapsed .single-nav-link {
    justify-content: center;
    padding-inline: 0;
}

.single-sidebar-collapsed .single-nav-link i {
    width: 24px;
    flex-basis: 24px;
}

.single-sidebar-collapsed .single-main {
    margin-left: 84px;
}

/* Centered auth-only pages */
.single-buyer-auth-body {
    display: grid;
    place-items: center;
    min-height: 100vh;
}

.single-auth-page {
    width: min(100%, 460px);
    min-height: auto;
    display: block;
}

.single-auth-pitch,
.single-auth-brand,
.single-auth-logo,
.single-auth-points {
    display: none !important;
}

@media (max-width: 1199.98px) {
    .single-service-grid,
    .single-kpi-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 1100px) {
    .single-main {
        margin-left: 0;
    }

    .single-sidebar-collapsed .single-main {
        margin-left: 0;
    }

    .single-sidebar,
    .single-sidebar.open,
    .single-sidebar-open .single-sidebar {
        width: min(292px, 86vw);
    }

    .single-sidebar {
        z-index: 1100;
        transform: translateX(-105%) !important;
    }

    .single-sidebar.open,
    .single-sidebar-open .single-sidebar {
        transform: translateX(0) !important;
    }

    .single-sidebar-overlay,
    .single-sidebar-backdrop {
        z-index: 1090;
        background: rgba(15, 23, 42, 0.45);
    }
}

@media (max-width: 991.98px) {
    .single-main-inner {
        padding: 14px;
    }

    .single-mobile-header {
        margin: 0 -14px 18px;
        padding: 12px 14px;
    }

    .single-page-head {
        align-items: flex-start;
        flex-direction: column;
        border-radius: 22px;
    }

    .single-page-head .btn {
        width: 100%;
    }

    .single-request-card {
        grid-template-columns: auto minmax(0, 1fr);
        align-items: flex-start;
    }

    .single-request-action {
        grid-column: 1 / -1;
        width: 100%;
    }

    .single-auth-page {
        width: min(100%, 460px);
    }
}

@media (max-width: 720px) {
    .single-buyer-auth-body {
        padding: 14px;
    }

    .single-auth-pitch {
        padding: 22px;
        border-radius: 24px;
    }

    .single-auth-page {
        gap: 14px;
    }

    .single-main-inner {
        width: 100%;
        padding: 14px;
    }

    .single-kpi-grid,
    .single-service-grid,
    .single-choice-grid,
    .single-form-grid,
    .single-doc-grid {
        grid-template-columns: 1fr;
    }

    .single-choice-card {
        grid-template-columns: auto minmax(0, 1fr);
        min-height: 0;
    }

    .single-request-topline,
    .single-section-head,
    .single-tracker-head,
    .single-form-actions {
        align-items: flex-start;
        flex-direction: column;
    }

    .single-request-topline .badge,
    .single-form-actions .btn {
        width: 100%;
    }
}

@media (max-width: 520px) {
    .single-mobile-brand span {
        display: none;
    }

    .single-choice-card,
    .single-request-card {
        grid-template-columns: 1fr;
    }

    .single-logout-actions {
        display: grid;
    }
}

/* Single Buyer sidebar behavior aligned to Group Buyer */
.single-buyer-body .single-mobile-topbar {
    display: none;
}

.single-buyer-body .single-sidebar.group-sidebar.app-sidebar {
    position: fixed;
    inset: 0 auto 0 0;
    z-index: 1040;
    width: var(--single-sidebar-width);
    min-height: 100vh;
    padding: 18px;
    overflow-y: auto;
    overflow-x: hidden;
    background:
        linear-gradient(180deg, rgba(148, 163, 184, 0.045), transparent 28%),
        var(--single-navy);
    border-right: 1px solid rgba(148, 163, 184, 0.08);
    box-shadow: 24px 0 70px rgba(6, 9, 20, 0.18);
    transform: none;
    transition: width 220ms cubic-bezier(0.2, 0.8, 0.2, 1), transform 220ms cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 220ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.single-buyer-body .single-sidebar .sidebar-header {
    display: flex;
    align-items: center;
    min-height: 58px;
    gap: 10px;
    padding: 4px 0 18px;
    border-bottom: 0;
}

.single-buyer-body .single-sidebar .sidebar-header .brand {
    min-width: 0;
    overflow: hidden;
}

.single-buyer-body .single-sidebar .brand .brand-logo-sidebar {
    max-width: 150px;
    max-height: 38px;
    object-fit: contain;
}

.single-buyer-body .single-sidebar .brand-mark {
    flex: 0 0 44px;
}

.single-buyer-body .single-sidebar .single-sidebar-toggle.sidebar-toggle.sidebar-close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 42px;
    width: 42px;
    height: 42px;
    margin-left: auto;
    border: 1px solid rgba(148, 163, 184, 0.12);
    border-radius: 14px;
    background: rgba(148, 163, 184, 0.075);
    color: #eef2ff;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
}

.single-buyer-body .single-sidebar .single-sidebar-toggle.sidebar-toggle.sidebar-close:hover,
.single-buyer-body .single-sidebar .single-sidebar-toggle.sidebar-toggle.sidebar-close:focus-visible {
    background: rgba(148, 163, 184, 0.13);
    color: #fff;
    transform: translateY(-1px);
}

.single-buyer-body .single-sidebar .sidebar-menu {
    display: grid;
    gap: 8px;
    margin-top: 0;
}

.single-buyer-body .single-nav-link.sidebar-link {
    display: flex;
    align-items: center;
    gap: 11px;
    width: 100%;
    min-height: 46px;
    padding: 12px 13px;
    border: 0;
    border-radius: 15px;
    background: transparent;
    color: #a8b3c7;
    font-family: "Manrope", system-ui, sans-serif;
    font-size: 0.9rem;
    font-weight: 760;
    text-align: left;
    transition: background 180ms ease, color 180ms ease, transform 180ms ease;
}

.single-buyer-body .single-nav-link.sidebar-link i:first-child {
    flex: 0 0 20px;
}

.single-buyer-body .single-nav-link.sidebar-link:hover {
    background: rgba(148, 163, 184, 0.075);
    color: #fff;
    transform: translateX(2px);
}

.single-buyer-body .single-nav-link.sidebar-link.active {
    background:
        linear-gradient(135deg, rgba(48, 79, 254, 0.33), rgba(148, 163, 184, 0.075)),
        rgba(148, 163, 184, 0.08);
    color: #fff;
    box-shadow: inset 0 1px 0 rgba(148, 163, 184, 0.1), 0 14px 34px rgba(0, 0, 0, 0.2);
}

.single-buyer-body .single-sidebar-overlay,
.single-buyer-body .single-sidebar-backdrop {
    display: none;
}

.single-buyer-body .single-main {
    min-height: 100vh;
    margin-left: var(--single-sidebar-width);
    transition: margin-left 220ms cubic-bezier(0.2, 0.8, 0.2, 1), padding 220ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.single-buyer-body .single-main-inner {
    width: min(100%, 1480px);
    margin: 0 auto;
    padding: 30px;
}

body.single-sidebar-collapsed .single-sidebar.group-sidebar.app-sidebar {
    width: var(--group-sidebar-rail, 84px);
    padding-inline: 16px;
    transform: none;
}

body.single-sidebar-collapsed .single-sidebar .sidebar-header {
    justify-content: center;
}

body.single-sidebar-collapsed .single-sidebar .sidebar-header .brand {
    display: none;
}

body.single-sidebar-collapsed .single-sidebar .single-sidebar-toggle.sidebar-toggle.sidebar-close {
    margin-left: 0;
}

body.single-sidebar-collapsed .single-nav-link.sidebar-link {
    justify-content: center;
    padding-inline: 0;
}

body.single-sidebar-collapsed .single-nav-link.sidebar-link span {
    display: none !important;
}

body.single-sidebar-collapsed .single-nav-link.sidebar-link i:first-child {
    margin: 0;
    font-size: 1.06rem;
}

body.single-sidebar-collapsed .single-main {
    margin-left: var(--group-sidebar-rail, 84px);
}

@media (max-width: 991.98px) {
    .single-buyer-body .single-mobile-topbar {
        position: sticky;
        top: 0;
        z-index: 1025;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
        min-height: 68px;
        padding: 12px 16px;
        border-bottom: 1px solid var(--single-line);
        background: #ffffff;
        box-shadow: 0 10px 26px rgba(19, 35, 64, 0.08);
    }

    .single-buyer-body .single-mobile-topbar .single-sidebar-toggle.sidebar-toggle {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        flex: 0 0 42px;
        width: 42px;
        height: 42px;
        border: 1px solid rgba(17, 24, 39, 0.12);
        border-radius: 14px;
        background: #ffffff;
        color: var(--single-ink);
        box-shadow: 0 8px 18px rgba(19, 35, 64, 0.05);
    }

    .single-buyer-body .single-main,
    body.single-sidebar-collapsed .single-main {
        margin-left: 0 !important;
    }

    .single-buyer-body .single-main-inner {
        padding: 14px;
    }

    .single-buyer-body .single-sidebar.group-sidebar.app-sidebar,
    body.single-sidebar-collapsed .single-sidebar.group-sidebar.app-sidebar {
        width: min(292px, 86vw);
        padding-inline: 16px;
        transform: translateX(-100%);
    }

    body.single-sidebar-open .single-sidebar.group-sidebar.app-sidebar {
        transform: translateX(0);
    }

    body.single-sidebar-open .single-sidebar .sidebar-header,
    body.single-sidebar-collapsed .single-sidebar .sidebar-header {
        justify-content: space-between;
    }

    body.single-sidebar-open .single-sidebar .sidebar-header .brand,
    body.single-sidebar-collapsed .single-sidebar .sidebar-header .brand {
        display: flex !important;
    }

    body.single-sidebar-open .single-sidebar .single-sidebar-toggle.sidebar-toggle.sidebar-close,
    body.single-sidebar-collapsed .single-sidebar .single-sidebar-toggle.sidebar-toggle.sidebar-close {
        margin-left: auto;
    }

    body.single-sidebar-open .single-nav-link.sidebar-link,
    body.single-sidebar-collapsed .single-nav-link.sidebar-link {
        justify-content: flex-start;
        padding: 12px 13px;
    }

    body.single-sidebar-open .single-nav-link.sidebar-link span,
    body.single-sidebar-collapsed .single-nav-link.sidebar-link span {
        display: inline !important;
    }

    .single-buyer-body .single-sidebar-overlay,
    .single-buyer-body .single-sidebar-backdrop {
        position: fixed;
        inset: 0;
        z-index: 1030;
        background: rgba(15, 23, 42, 0.45);
        pointer-events: auto;
    }

    body.single-sidebar-open .single-sidebar-overlay,
    body.single-sidebar-open .single-sidebar-backdrop {
        display: block;
    }

    body.single-sidebar-open {
        overflow: hidden;
    }
}

/* Group Buyer shell alignment */
body.single-buyer-body {
    --single-sidebar-width: 280px;
    --single-sidebar-rail: 84px;
}

.single-buyer-body .single-topbar,
.single-buyer-body .single-mobile-header {
    display: none !important;
}

.single-buyer-body .single-app-shell {
    min-height: 100vh;
    overflow-x: clip;
}

.single-buyer-body .single-sidebar.group-sidebar.app-sidebar {
    position: fixed;
    inset: 0 auto 0 0;
    width: var(--single-sidebar-width);
    min-height: 100vh;
    padding: 18px;
    overflow-y: auto;
    overflow-x: hidden;
    background:
        linear-gradient(180deg, rgba(47, 79, 255, 0.16), transparent 28%),
        var(--single-navy);
    border-right: 1px solid rgba(148, 163, 184, 0.08);
    box-shadow: 24px 0 70px rgba(6, 9, 20, 0.18);
    transform: none;
    transition: width 220ms cubic-bezier(0.2, 0.8, 0.2, 1), transform 220ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.single-buyer-body .single-sidebar-head.group-sidebar-head {
    display: flex;
    align-items: center;
    min-height: 58px;
    gap: 10px;
    padding: 4px 0 18px;
    border-bottom: 0;
}

.single-buyer-body .single-brand.group-sidebar-brand {
    min-width: 0;
    overflow: hidden;
}

.single-buyer-body .single-brand.group-sidebar-brand .brand-logo-sidebar {
    width: auto;
    max-width: 150px;
    max-height: 38px;
    object-fit: contain;
}

.single-buyer-body .single-brand.group-sidebar-brand .brand-mark {
    flex: 0 0 44px;
}

.single-buyer-body .single-sidebar .single-sidebar-toggle.sidebar-close {
    flex: 0 0 42px;
    width: 42px;
    height: 42px;
    margin-left: auto;
    border-color: rgba(148, 163, 184, 0.12);
    background: rgba(148, 163, 184, 0.075);
    color: #eef2ff;
    box-shadow: none;
}

.single-buyer-body .single-sidebar .single-sidebar-toggle.sidebar-close:hover,
.single-buyer-body .single-sidebar .single-sidebar-toggle.sidebar-close:focus-visible {
    background: rgba(148, 163, 184, 0.13);
    color: #ffffff;
    transform: translateY(-1px);
}

.single-buyer-body .single-nav.sidebar-menu {
    display: grid;
    gap: 8px;
    margin-top: 0;
}

.single-buyer-body .single-nav-link.sidebar-link {
    display: flex;
    align-items: center;
    gap: 11px;
    width: 100%;
    min-height: 46px;
    padding: 12px 13px;
    border: 0;
    border-radius: 15px;
    background: transparent;
    color: #b8c3d5;
    font-size: 0.94rem;
    font-weight: 850;
    text-align: left;
    transition: background 180ms ease, color 180ms ease, box-shadow 180ms ease;
}

.single-buyer-body .single-nav-link.sidebar-link i {
    width: 22px;
    flex: 0 0 22px;
    text-align: center;
    font-size: 1.05rem;
}

.single-buyer-body .single-nav-link.sidebar-link span {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.single-buyer-body .single-nav-link.sidebar-link:hover,
.single-buyer-body .single-nav-link.sidebar-link.active {
    background: rgba(148, 163, 184, 0.08);
    color: #ffffff;
    transform: none;
}

.single-buyer-body .single-nav-link.sidebar-link.active {
    box-shadow: inset 3px 0 0 rgba(93, 224, 194, 0.92);
}

.single-buyer-body .single-main {
    min-height: 100vh;
    margin-left: var(--single-sidebar-width);
    transition: margin-left 220ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.single-buyer-body .single-main-inner {
    width: min(100%, 1480px);
    margin: 0 auto;
    padding: 30px;
}

body.single-sidebar-collapsed .single-sidebar.group-sidebar.app-sidebar {
    width: var(--single-sidebar-rail);
    padding-inline: 16px;
}

body.single-sidebar-collapsed .single-sidebar-head.group-sidebar-head {
    justify-content: center;
}

body.single-sidebar-collapsed .single-brand.group-sidebar-brand {
    display: none;
}

body.single-sidebar-collapsed .single-sidebar .single-sidebar-toggle.sidebar-close {
    margin-left: 0;
}

body.single-sidebar-collapsed .single-nav-link.sidebar-link {
    justify-content: center;
    min-height: 48px;
    padding: 0;
    border-radius: 16px;
}

body.single-sidebar-collapsed .single-nav-link.sidebar-link span {
    display: none;
}

body.single-sidebar-collapsed .single-nav-link.sidebar-link i {
    width: 24px;
    flex-basis: 24px;
    font-size: 1.15rem;
}

body.single-sidebar-collapsed .single-main {
    margin-left: var(--single-sidebar-rail);
}

/* Group Buyer auth pattern, without pitch/topbar/sidebar */
.single-buyer-auth-body {
    display: grid;
    place-items: center;
    min-height: 100vh;
    padding: 24px;
}

.single-buyer-auth-body .single-auth-page {
    width: min(100%, 460px);
    min-height: auto;
    display: block;
    margin: 0 auto;
}

.single-buyer-auth-body .single-auth-pitch {
    display: none !important;
}

.single-buyer-auth-body .single-auth-card {
    width: 100%;
    padding: 34px;
    border-radius: 22px;
}

.single-buyer-auth-body .single-auth-brand.logo-only-brand {
    display: flex;
    justify-content: center;
    width: 100%;
    min-height: 0;
    margin: 0 0 26px;
}

.single-buyer-auth-body .single-auth-logo,
.single-buyer-auth-body .single-auth-brand .brand-logo-login {
    display: block !important;
    width: auto;
    max-width: 190px;
    max-height: 64px;
    object-fit: contain;
}

.single-buyer-auth-body .single-auth-brand.logo-only-brand {
    display: flex !important;
}

@media (max-width: 1100px) {
    .single-buyer-body .single-sidebar.group-sidebar.app-sidebar {
        width: min(292px, 86vw);
        transform: translateX(-105%) !important;
    }

    body.single-sidebar-open .single-sidebar.group-sidebar.app-sidebar {
        width: min(292px, 86vw);
        transform: translateX(0) !important;
    }

    body.single-sidebar-collapsed .single-sidebar.group-sidebar.app-sidebar {
        width: min(292px, 86vw);
        padding-inline: 18px;
    }

    body.single-sidebar-collapsed .single-brand.group-sidebar-brand {
        display: inline-flex;
    }

    body.single-sidebar-collapsed .single-nav-link.sidebar-link {
        justify-content: flex-start;
        min-height: 46px;
        padding: 12px 13px;
    }

    body.single-sidebar-collapsed .single-nav-link.sidebar-link span {
        display: inline;
    }

    .single-buyer-body .single-main,
    body.single-sidebar-collapsed .single-main {
        width: 100%;
        margin-left: 0 !important;
    }

    .single-buyer-body .single-main-inner {
        padding: 22px;
        padding-top: 76px;
    }

    body.single-sidebar-open .single-sidebar-overlay,
    body.single-sidebar-open .single-sidebar-backdrop {
        display: block;
    }
}

@media (max-width: 720px) {
    .single-buyer-auth-body {
        align-items: center;
        padding: 18px;
    }

    .single-buyer-auth-body .single-auth-card {
        padding: 24px;
    }

    .single-buyer-body .single-main-inner {
        padding: 14px;
        padding-top: 72px;
    }
}

/* Mobile sidebar repair: final Single Buyer layout contract */
.single-buyer-body .single-mobile-topbar {
    display: none !important;
}

@media (max-width: 991.98px) {
    .mobile-topbar,
    .single-buyer-body .single-mobile-topbar {
        position: fixed !important;
        top: 0;
        left: 0;
        right: 0;
        z-index: 1100;
        display: flex !important;
        align-items: center;
        justify-content: space-between;
        width: auto;
        max-width: none;
        height: 64px;
        min-height: 64px;
        padding: 0 16px;
        border-bottom: 1px solid rgba(0, 0, 0, 0.08);
        background: #ffffff;
        box-shadow: 0 10px 26px rgba(19, 35, 64, 0.08);
    }

    .mobile-topbar-actions,
    .single-buyer-body .single-mobile-topbar-actions {
        display: flex;
        align-items: center;
        gap: 10px;
        margin-left: auto;
        flex: 0 0 auto;
    }

    .single-buyer-body .single-mobile-menu-btn {
        width: 42px;
        height: 42px;
        display: inline-flex !important;
        align-items: center;
        justify-content: center;
        flex: 0 0 42px;
        padding: 0;
        border: 0;
        border-radius: 14px;
        background: transparent;
        color: var(--single-ink);
        font-size: 26px;
        line-height: 1;
        cursor: pointer;
        opacity: 1;
        visibility: visible;
    }

    .single-buyer-body .single-mobile-logo-wrap {
        position: absolute;
        left: 50%;
        top: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        transform: translate(-50%, -50%);
    }

    .single-buyer-body .single-mobile-logo,
    .single-buyer-body .single-mobile-logo-wrap .brand-logo-sidebar {
        width: auto;
        max-width: min(150px, 46vw);
        max-height: 38px;
        display: block;
        object-fit: contain;
    }

    .single-buyer-body .single-mobile-logo-wrap .brand-mark {
        width: 42px;
        height: 42px;
        display: grid;
        place-items: center;
        border-radius: 14px;
        background: var(--single-primary);
        color: #ffffff;
        font-weight: 900;
    }

    .single-buyer-body .single-mobile-spacer {
        flex: 0 0 42px;
        width: 42px;
        height: 42px;
    }

    .single-buyer-body .single-sidebar.group-sidebar.app-sidebar,
    body.single-sidebar-collapsed .single-sidebar.group-sidebar.app-sidebar {
        position: fixed;
        top: 0;
        left: 0;
        bottom: auto;
        z-index: 1200;
        width: min(292px, 86vw);
        height: 100vh;
        min-height: 100vh;
        padding: 18px 16px;
        overflow-y: auto;
        transform: translateX(-100%) !important;
        transition: transform 250ms ease;
    }

    .single-buyer-body .single-sidebar.group-sidebar.app-sidebar.open,
    body.single-sidebar-open .single-sidebar.group-sidebar.app-sidebar {
        transform: translateX(0) !important;
    }

    .single-buyer-body .single-sidebar-overlay,
    .single-buyer-body .single-sidebar-backdrop {
        position: fixed;
        inset: 0;
        z-index: 1150;
        display: none !important;
        background: rgba(0, 0, 0, 0.45);
        pointer-events: auto;
    }

    .single-buyer-body .single-sidebar-overlay.show,
    body.single-sidebar-open .single-sidebar-overlay,
    body.single-sidebar-open .single-sidebar-backdrop {
        display: block !important;
    }

    .single-buyer-body .single-main,
    body.single-sidebar-collapsed .single-main {
        width: 100%;
        margin-left: 0 !important;
        padding-top: 64px;
    }

    .single-buyer-body .single-main-inner {
        width: 100%;
        padding: 16px 14px 40px !important;
    }

    body.single-sidebar-open {
        overflow: hidden;
    }
}

@media (min-width: 992px) {
    .single-buyer-body .single-mobile-topbar {
        display: none !important;
    }

    .single-buyer-body .single-sidebar-overlay,
    .single-buyer-body .single-sidebar-backdrop {
        display: none !important;
    }

    .single-buyer-body .single-sidebar.group-sidebar.app-sidebar {
        width: var(--single-sidebar-width) !important;
        transform: none !important;
    }

    body.single-sidebar-collapsed .single-sidebar.group-sidebar.app-sidebar {
        width: var(--single-sidebar-rail, 84px) !important;
        padding-inline: 16px;
        transform: none !important;
    }

    .single-buyer-body .single-main {
        margin-left: var(--single-sidebar-width) !important;
    }

    body.single-sidebar-collapsed .single-main {
        margin-left: var(--single-sidebar-rail, 84px) !important;
    }

    .single-buyer-body .single-main-inner {
        padding: 30px !important;
    }
}

/* Keep the buyer navigation on the same shared visual contract as the admin app
   while retaining the buyer-only menu structure. */
body.single-buyer-body {
    --single-sidebar-width: 280px;
    --single-sidebar-rail: 76px;
}

.single-buyer-body .single-sidebar.group-sidebar.app-sidebar {
    padding: 18px 16px;
    background:
        radial-gradient(circle at 30% 0%, rgba(48, 79, 254, 0.22), transparent 34%),
        linear-gradient(180deg, rgba(148, 163, 184, 0.045), transparent 28%),
        #060914;
    border-right: 1px solid rgba(148, 163, 184, 0.08);
    box-shadow: 24px 0 70px rgba(6, 9, 20, 0.18);
}

.single-buyer-body .single-sidebar .sidebar-header {
    min-height: 58px;
    gap: 10px;
    padding: 4px 0 18px;
    border-bottom: 1px solid rgba(148, 163, 184, 0.1);
}

.single-buyer-body .single-sidebar .sidebar-menu {
    gap: 8px;
    margin-top: 24px;
}

.single-buyer-body .single-nav-link.sidebar-link {
    gap: 12px;
    min-height: 46px;
    padding: 12px 13px;
    border: 0;
    border-radius: 15px;
    background: transparent;
    color: #a8b3c7;
    font-family: "Manrope", sans-serif;
    font-size: 0.9rem;
    font-weight: 760;
    transition: background 180ms ease, color 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.single-buyer-body .single-nav-link.sidebar-link i:first-child {
    width: 20px;
    flex: 0 0 20px;
    color: #8290a7;
    font-size: 1rem;
    text-align: center;
}

.single-buyer-body .single-nav-link.sidebar-link:hover {
    background: rgba(148, 163, 184, 0.075);
    color: #ffffff;
    transform: translateX(2px);
}

.single-buyer-body .single-nav-link.sidebar-link:hover i:first-child,
.single-buyer-body .single-nav-link.sidebar-link.active i:first-child {
    color: #ffffff;
}

.single-buyer-body .single-nav-link.sidebar-link.active {
    background:
        linear-gradient(135deg, rgba(48, 79, 254, 0.33), rgba(148, 163, 184, 0.075)),
        rgba(148, 163, 184, 0.08);
    color: #ffffff;
    box-shadow: inset 0 1px 0 rgba(148, 163, 184, 0.1), 0 14px 34px rgba(0, 0, 0, 0.2);
}

.single-buyer-body .single-nav-link.single-logout-link {
    margin-top: 0;
    color: #a8b3c7;
}

@media (min-width: 992px) {
    body.single-sidebar-collapsed .single-sidebar.group-sidebar.app-sidebar {
        width: var(--single-sidebar-rail) !important;
    }

    body.single-sidebar-collapsed .single-main {
        margin-left: var(--single-sidebar-rail) !important;
    }
}

.single-detail-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.single-next-step-card,
.single-activity-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 16px;
    border: 1px solid var(--single-line);
    border-radius: 18px;
    background: #ffffff;
}

.single-next-step-card i,
.single-activity-item i {
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    flex: 0 0 38px;
    border-radius: 14px;
    background: rgba(47, 79, 255, 0.08);
    color: var(--single-primary-dark);
}

.single-activity-list {
    display: grid;
    gap: 10px;
}

.single-activity-item strong,
.single-activity-item small {
    display: block;
}

.single-activity-item small {
    margin-top: 3px;
    color: var(--single-muted);
}

.single-fee-amount {
    color: var(--single-primary-dark);
    font-size: clamp(1.8rem, 4vw, 2.6rem);
    font-weight: 900;
}

.single-tracker-controls {
    display: grid;
    grid-template-columns: 1fr minmax(220px, 360px) minmax(180px, 220px) auto;
    align-items: center;
    gap: 12px;
}

.single-filter-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.single-filter-pills a {
    display: inline-flex;
    align-items: center;
    min-height: 40px;
    padding: 9px 13px;
    border: 1px solid rgba(47, 79, 255, 0.14);
    border-radius: 999px;
    background: #ffffff;
    color: var(--single-muted);
    font-weight: 850;
    text-decoration: none;
}

.single-filter-pills a.active,
.single-filter-pills a:hover {
    border-color: rgba(47, 79, 255, 0.28);
    background: rgba(47, 79, 255, 0.08);
    color: var(--single-primary-dark);
}

.single-tracker-search {
    position: relative;
}

.single-tracker-search i {
    position: absolute;
    left: 14px;
    top: 50%;
    color: var(--single-muted);
    transform: translateY(-50%);
    pointer-events: none;
}

.single-tracker-search .form-control {
    padding-left: 40px;
}

.single-tracker-card-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.single-project-card {
    display: flex;
    min-width: 0;
    flex-direction: column;
    gap: 16px;
    padding: 20px;
    border: 1px solid var(--single-line);
    border-radius: 22px;
    background: #ffffff;
    box-shadow: var(--single-soft-shadow);
}

.single-project-card-head,
.single-project-card-foot,
.single-project-progress > div:first-child,
.single-panel-actions,
.single-pagination {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.single-project-card-head {
    align-items: flex-start;
}

.single-project-card h2 {
    margin: 0;
    font-size: 1.15rem;
    font-weight: 900;
}

.single-project-meta {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.single-project-meta span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
    padding: 10px;
    border-radius: 14px;
    background: #f7f9fc;
    color: var(--single-muted);
    font-size: 0.9rem;
    font-weight: 750;
}

.single-project-meta i {
    flex: 0 0 auto;
    color: var(--single-primary-dark);
}

.single-project-progress {
    display: grid;
    gap: 8px;
}

.single-project-progress span {
    color: var(--single-muted);
    font-weight: 850;
}

.single-project-card-foot {
    margin-top: auto;
    padding-top: 4px;
}

.single-project-card-foot small {
    color: var(--single-muted);
    font-weight: 760;
}

.single-panel-actions {
    justify-content: flex-end;
    margin-top: 16px;
}

.single-pagination {
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 18px;
}

.single-pagination a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 42px;
    min-height: 42px;
    padding: 9px 13px;
    border: 1px solid var(--single-line);
    border-radius: 14px;
    background: #ffffff;
    color: var(--single-ink);
    font-weight: 850;
    text-decoration: none;
}

.single-pagination a.active {
    border-color: var(--single-primary);
    background: var(--single-primary);
    color: #ffffff;
}

.single-pagination a.disabled {
    color: #a7b0bd;
    pointer-events: none;
}

.single-empty-premium {
    min-height: 360px;
    display: grid;
    place-items: center;
    align-content: center;
}

.single-timeline-full {
    max-width: 920px;
}

.single-update-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.single-update-card,
.single-stage-update {
    min-width: 0;
    padding: 16px;
    border: 1px solid var(--single-line);
    border-radius: 18px;
    background: #ffffff;
}

.single-update-card h3 {
    margin: 0 0 8px;
    font-size: 1rem;
    font-weight: 900;
}

.single-update-card p,
.single-stage-update p {
    color: var(--single-muted);
}

.single-update-card > div:last-child {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.single-update-card small,
.single-stage-update small {
    display: block;
    color: var(--single-muted);
    font-weight: 800;
}

.single-stage-update-list {
    display: grid;
    gap: 10px;
    margin-top: 12px;
}

.single-stage-update {
    background: #f8fafc;
}

.single-stage-update strong {
    display: block;
}

.single-stage-accordion {
    display: grid;
    gap: 12px;
    max-width: 980px;
}

.single-stage-accordion-item {
    overflow: hidden;
    border: 1px solid var(--single-line);
    border-radius: 20px;
    background: #ffffff;
    box-shadow: var(--single-soft-shadow);
}

.single-stage-accordion-item.is-active {
    border-color: rgba(47, 79, 255, 0.3);
    box-shadow: 0 14px 34px rgba(47, 79, 255, 0.12);
}

.single-stage-accordion-item.is-completed {
    border-color: rgba(11, 122, 97, 0.22);
}

.single-stage-accordion-heading {
    margin: 0;
}

.single-stage-accordion-button {
    width: 100%;
    min-height: 78px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 18px 20px;
    border: 0;
    background: #ffffff;
    color: var(--single-ink);
    text-align: left;
}

.single-stage-accordion-button:hover {
    background: #f8fafc;
}

.single-stage-title-group {
    display: grid;
    min-width: 0;
    gap: 4px;
}

.single-stage-title-group strong {
    font-size: 1rem;
    font-weight: 950;
    overflow-wrap: anywhere;
}

.single-stage-title-group small,
.single-stage-update-count {
    color: var(--single-muted);
    font-size: 0.84rem;
    font-weight: 800;
}

.single-stage-header-meta {
    display: inline-flex;
    align-items: center;
    justify-content: flex-end;
    flex: 0 0 auto;
    gap: 10px;
}

.single-stage-header-meta .bi-chevron-down {
    color: var(--single-muted);
    transition: transform 0.2s ease;
}

.single-stage-accordion-button:not(.collapsed) .bi-chevron-down {
    transform: rotate(180deg);
}

.single-stage-accordion-body {
    display: grid;
    gap: 16px;
    padding: 0 20px 20px;
}

.single-stage-note-box {
    padding: 14px;
    border: 1px solid rgba(47, 79, 255, 0.1);
    border-radius: 16px;
    background: #f8faff;
}

.single-stage-note-box span,
.single-stage-updates-head small {
    color: var(--single-muted);
    font-size: 0.82rem;
    font-weight: 850;
}

.single-stage-note-box p {
    margin: 5px 0 0;
    color: var(--single-ink);
}

.single-stage-updates-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.single-stage-updates-head h4 {
    margin: 0;
    font-size: 1rem;
    font-weight: 950;
}

.single-stage-empty-update {
    padding: 16px;
    border: 1px dashed #cbd5e1;
    border-radius: 16px;
    color: var(--single-muted);
    background: #fbfcfe;
    text-align: center;
    font-weight: 800;
}

.single-stage-update-card {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 14px;
    align-items: start;
    min-width: 0;
    padding: 14px;
    border: 1px solid var(--single-line);
    border-radius: 18px;
    background: #ffffff;
}

.single-stage-update-copy {
    min-width: 0;
}

.single-stage-update-copy strong,
.single-stage-update-copy small {
    display: block;
}

.single-stage-update-copy strong {
    font-weight: 950;
    overflow-wrap: anywhere;
}

.single-stage-update-copy small {
    margin-top: 3px;
    color: var(--single-muted);
    font-weight: 800;
}

.single-stage-update-copy p {
    margin: 8px 0 0;
    color: var(--single-muted);
    overflow-wrap: anywhere;
}

.single-stage-image-link {
    display: block;
    width: 132px;
    max-width: 28vw;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    padding: 0;
    border: 0;
    border-radius: 14px;
    background: #edf2f7;
    cursor: pointer;
}

.single-stage-image-link img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.single-stage-document-preview {
    display: grid;
    justify-items: center;
    gap: 8px;
    width: 132px;
    max-width: 28vw;
    padding: 12px;
    border: 1px solid var(--single-line);
    border-radius: 14px;
    background: #f8fafc;
}

.single-stage-document-preview i {
    color: #dc2626;
    font-size: 1.8rem;
}

.single-stage-document-preview span {
    width: 100%;
    color: var(--single-ink);
    font-size: 0.78rem;
    font-weight: 850;
    overflow: hidden;
    text-align: center;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.single-stage-file-gallery {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: flex-end;
    min-width: 0;
}

.single-stage-file-gallery.is-review {
    justify-content: flex-start;
}

.single-stage-file-gallery.is-review .single-stage-image-link,
.single-stage-file-gallery.is-review .single-stage-document-preview {
    width: 150px;
    max-width: 100%;
}

.single-stage-lightbox .modal-body {
    padding: 0;
    background: #0f172a;
}

.single-stage-lightbox img {
    display: block;
    width: 100%;
    max-height: 78vh;
    object-fit: contain;
    background: #0f172a;
}

.single-stage-view-all {
    justify-self: start;
}

.single-stage-update-list-extra {
    margin-top: 10px;
}

@media (max-width: 720px) {
    .single-detail-grid {
        grid-template-columns: 1fr;
    }

    .single-tracker-controls,
    .single-tracker-card-grid,
    .single-update-grid,
    .single-project-meta {
        grid-template-columns: 1fr;
    }

    .single-tracker-controls .btn,
    .single-tracker-controls .form-select,
    .single-tracker-search,
    .single-project-card-foot,
    .single-project-card-foot .btn,
    .single-panel-actions .btn {
        width: 100%;
    }

    .single-project-card-head,
    .single-project-card-foot,
    .single-update-card > div:last-child {
        align-items: stretch;
        flex-direction: column;
    }

    .single-update-card .btn {
        width: 100%;
    }

    .single-stage-accordion-button,
    .single-stage-header-meta,
    .single-stage-updates-head,
    .single-stage-update-card {
        align-items: stretch;
        flex-direction: column;
    }

    .single-stage-accordion-button {
        min-height: 92px;
    }

    .single-stage-header-meta {
        display: flex;
        width: 100%;
    }

    .single-stage-header-meta .badge,
    .single-stage-update-count {
        width: fit-content;
    }

    .single-stage-update-card {
        display: flex;
    }

    .single-stage-file-gallery {
        justify-content: stretch;
    }

    .single-stage-image-link,
    .single-stage-document-preview {
        width: 100%;
        max-width: none;
    }

    .single-stage-document-preview .btn,
    .single-stage-view-all {
        width: 100%;
    }
}

/* Phase 4 milestone payment and review workflow */
.single-action-required-panel {
    margin-top: 0;
    border-color: rgba(47, 79, 255, 0.18);
    background: linear-gradient(180deg, #ffffff, #fbfcff);
}

.single-dashboard-action-panel {
    margin-bottom: 22px;
}

.single-action-card-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.single-stage-action-card,
.single-action-row {
    min-width: 0;
    border: 1px solid var(--single-line);
    border-radius: 20px;
    background: #ffffff;
    box-shadow: var(--single-soft-shadow);
}

.single-stage-action-card {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 16px;
    padding: 18px;
}

.single-stage-action-icon {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    flex: 0 0 42px;
    border-radius: 16px;
    background: rgba(47, 79, 255, 0.08);
    color: var(--single-primary-dark);
}

.single-stage-action-card h3 {
    margin: 10px 0 6px;
    font-size: 1.1rem;
    font-weight: 950;
}

.single-stage-review-card {
    grid-column: 1 / -1;
}

.single-stage-review-meta {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    margin: 14px 0;
}

.single-stage-review-meta span,
.single-stage-review-summary {
    min-width: 0;
    padding: 12px;
    border: 1px solid var(--single-line);
    border-radius: 8px;
    background: #f8fafc;
}

.single-stage-review-meta strong,
.single-stage-review-summary strong {
    display: block;
    margin-bottom: 4px;
    color: var(--single-muted);
    font-size: 0.72rem;
    font-weight: 900;
    text-transform: uppercase;
}

.single-stage-review-summary p {
    margin: 0;
    overflow-wrap: anywhere;
}

.single-stage-review-modal-head {
    margin-bottom: 16px;
}

.single-stage-review-modal-head h3 {
    margin: 8px 0 4px;
    font-size: 1.25rem;
    font-weight: 950;
}

.single-stage-review-modal-head p {
    margin: 0;
    color: var(--single-muted);
}

.single-stage-review-update-list {
    display: grid;
    gap: 14px;
}

.single-stage-review-update {
    display: grid;
    gap: 12px;
    padding: 14px;
    border: 1px solid var(--single-line);
    border-radius: 8px;
    background: #ffffff;
}

.single-stage-payment-amount {
    display: block;
    min-width: 0;
    margin: 6px 0 10px;
    color: var(--single-primary-dark);
    font-size: clamp(1.6rem, 4vw, 2.25rem);
    font-weight: 950;
    line-height: 1.1;
    overflow-wrap: anywhere;
    word-break: break-word;
}

.single-stage-review-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 14px;
}

.single-action-list {
    display: grid;
    gap: 10px;
}

.single-dashboard-payment-action,
.single-dashboard-status-panel,
.single-inline-action-card {
    min-width: 0;
    border: 1px solid var(--single-line);
    border-radius: 8px;
    background: #ffffff;
}

.single-dashboard-payment-action {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 14px;
    overflow: hidden;
}

.single-dashboard-payment-action > *,
.single-stage-action-card > *,
.single-payment-action-copy {
    min-width: 0;
}

.single-dashboard-payment-action .btn,
.single-stage-action-card .btn {
    white-space: normal;
}

.single-payment-action-meta {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin: 14px 0;
}

.single-payment-action-meta > div {
    min-width: 0;
    padding: 14px;
    border: 1px solid rgba(16, 32, 51, 0.08);
    border-radius: 8px;
    background: #f8fbf9;
}

.single-payment-action-meta span,
.single-payment-action-meta strong {
    display: block;
    min-width: 0;
    overflow-wrap: anywhere;
    word-break: break-word;
}

.single-payment-action-meta span {
    color: var(--single-muted);
    font-size: 0.74rem;
    font-weight: 900;
    text-transform: uppercase;
}

.single-payment-action-meta strong:not(.single-stage-payment-amount) {
    margin-top: 6px;
    color: var(--single-ink);
    font-weight: 950;
}

.single-payment-action-meta .single-stage-payment-amount {
    margin: 6px 0 0;
}

.single-dashboard-payment-action h2 {
    margin: 0 0 4px;
    font-size: 1.1rem;
    font-weight: 950;
}

.single-dashboard-status-panel {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 22px;
    color: var(--single-primary-dark);
    font-weight: 850;
}

.single-dashboard-status-panel i {
    color: var(--single-primary);
}

.single-dashboard-status-panel a {
    margin-left: auto;
    color: var(--single-primary);
    font-weight: 900;
    text-decoration: none;
}

.single-inline-action-card {
    display: grid;
    gap: 6px;
    margin-top: 14px;
    padding: 14px;
    background: #f8fbf9;
}

.single-inline-action-card strong {
    font-weight: 950;
}

.single-inline-action-card p {
    margin: 0;
    color: var(--single-muted);
}

.single-action-row {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 12px;
    padding: 14px;
    color: var(--single-ink);
    text-decoration: none;
    transition: border-color 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.single-action-row:hover {
    border-color: rgba(47, 79, 255, 0.24);
    color: var(--single-ink);
    transform: translateY(-2px);
}

.single-action-row strong,
.single-action-row small {
    display: block;
}

.single-action-row strong {
    font-weight: 950;
}

.single-action-row small {
    margin-top: 3px;
    color: var(--single-muted);
    font-weight: 780;
    overflow-wrap: anywhere;
}

@media (max-width: 720px) {
    .single-action-card-grid,
    .single-dashboard-payment-action,
    .single-stage-action-card,
    .single-action-row,
    .single-stage-review-meta,
    .single-payment-action-meta {
        grid-template-columns: 1fr;
    }

    .single-stage-action-card .btn,
    .single-dashboard-payment-action .btn,
    .single-dashboard-status-panel,
    .single-stage-review-actions,
    .single-stage-review-actions .btn {
        width: 100%;
    }

    .single-dashboard-status-panel {
        align-items: flex-start;
        flex-direction: column;
    }

    .single-dashboard-status-panel a {
        margin-left: 0;
    }
}

.single-sidebar-notification-btn,
.single-mobile-notification-btn {
    position: relative;
    flex: 0 0 42px;
}

.single-sidebar-notification-btn {
    margin-left: 8px;
}

.single-mobile-notification-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: 1px solid var(--single-line);
    background: #ffffff;
    color: var(--single-ink);
    font-size: 1.2rem;
}

.single-mobile-profile-btn {
    width: 42px;
    height: 42px;
    min-height: 42px;
    padding: 0;
    flex: 0 0 42px;
}

.single-mobile-profile-btn > span {
    width: 28px;
    height: 28px;
    flex-basis: 28px;
    font-size: 0.82rem;
}

.single-buyer-body [data-notification-badge] {
    position: absolute;
    top: -4px;
    right: -4px;
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    border: 2px solid #ffffff;
    border-radius: 999px;
    background: #dc2626;
    color: #ffffff;
    font-size: 0.65rem;
    font-weight: 900;
    line-height: 14px;
    text-align: center;
}

.single-buyer-body [data-notification-badge]:not(.has-count) {
    display: none;
}

.single-notification-dropdown {
    z-index: 1300;
}

.single-notification-dropdown .notification-view-all {
    font-weight: 900;
}

.single-notifications-head {
    gap: 16px;
}

.single-notifications-head form {
    flex: 0 0 auto;
}

.single-notifications-panel {
    padding: 22px;
}

.single-notification-filters {
    flex-wrap: wrap;
}

.single-notification-page-list .notification-page-item {
    border-radius: 16px;
}

@media (min-width: 992px) {
    body.single-sidebar-collapsed .single-sidebar-notification-btn {
        display: none;
    }
}

@media (max-width: 991.98px) {
    .single-desktop-topbar {
        display: none;
    }

    .single-buyer-body .single-mobile-header {
        display: flex !important;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
        width: 100%;
        max-width: 100vw;
        padding: 12px 14px;
        overflow: hidden;
        box-sizing: border-box;
    }

    .single-mobile-logo-wrap {
        min-width: 0;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .single-mobile-logo-wrap .brand-logo-sidebar {
        max-width: min(132px, 38vw);
        max-height: 38px;
        object-fit: contain;
    }

    .single-sidebar-notification-btn {
        display: none;
    }

    .single-buyer-body .single-mobile-notification-btn {
        width: 42px;
        height: 42px;
    }

    .single-buyer-body .single-mobile-spacer {
        display: none;
    }
}

@media (max-width: 520px) {
    .single-buyer-body .single-mobile-header {
        gap: 10px;
        padding-inline: 10px;
    }

    .single-buyer-body .single-mobile-menu-btn,
    .single-buyer-body .single-mobile-notification-btn,
    .single-buyer-body .single-mobile-profile-btn {
        width: 40px;
        height: 40px;
        min-height: 40px;
        flex-basis: 40px;
    }

    .single-mobile-logo-wrap .brand-logo-sidebar {
        max-width: min(118px, 34vw);
    }
}

@media (max-width: 720px) {
    .single-notifications-head {
        align-items: stretch;
    }

    .single-notifications-head,
    .single-notifications-head form,
    .single-notifications-head .btn,
    .single-notification-filters,
    .single-notification-filters .btn {
        width: 100%;
    }

    .single-notifications-panel {
        padding: 16px;
    }
}

/* Remove redundant decorative section tags from the Single Buyer dashboard. */
.single-kicker {
    display: none !important;
}
.single-property-feature-preview {
    display: grid;
    gap: 6px;
    margin: 0;
    padding: 0;
    list-style: none;
    color: #475467;
    font-size: 0.82rem;
}

.single-property-feature-preview li {
    display: flex;
    gap: 7px;
    min-width: 0;
    overflow-wrap: anywhere;
}

.single-property-feature-preview i {
    flex: 0 0 auto;
    color: #079455;
}

.single-catalog-pagination {
    display: flex;
    justify-content: center;
    gap: 7px;
    margin: 28px 0;
}

.single-catalog-pagination a {
    display: grid;
    width: 40px;
    height: 40px;
    place-items: center;
    border: 1px solid #d7dce5;
    border-radius: 9px;
    background: #fff;
}

.single-catalog-pagination a.is-active {
    border-color: #263bce;
    background: #263bce;
    color: #fff;
}
