:root {
    --page-gutter-x: clamp(2.5rem, 6.8vw, 4.8rem);
    --page-section-top: clamp(1.35rem, 2.6vw, 2rem);
    --page-section-bottom: var(--page-section-top);
    --astro-primary: #501780;
    --astro-secondary: #ffc725;
    --astro-accent: #ffc725;
    --astro-light: #fbf8f2;
    --astro-text: #2c3340;
    --astro-muted: #6f7280;
    --astro-border: rgba(80, 23, 128, 0.12);
    --astro-success: #198754;
    --astro-warning: #d58b1d;
    --astro-danger: #dc3545;
    --page-bg: linear-gradient(180deg, #fbf8f2 0%, #fffdf8 38%, #f2ede5 100%);
    --surface-bg: rgba(255, 255, 255, 0.94);
    --surface-strong: #ffffff;
    --surface-soft: #f6f0e8;
    --surface-soft-strong: #eee5d7;
    --surface-inset: #fcf8f1;
    --nav-bg: rgba(80, 23, 128, 0.94);
    --panel-bg: #f4efe8;
    --footer-bg: #401365;
    --astro-shadow: rgba(80, 23, 128, 0.10);
    --link-color: #5a1f87;
    --link-hover: #421663;
    --neutral-button-bg: rgba(255, 255, 255, 0.92);
    --neutral-button-hover: #f2ede6;
    --neutral-button-border: rgba(80, 23, 128, 0.14);
    --table-stripe-bg: rgba(80, 23, 128, 0.028);
    --table-stripe-alt-bg: rgba(255, 255, 255, 0);
    --table-hover-bg: rgba(80, 23, 128, 0.05);
    --focus-ring: rgba(255, 199, 37, 0.22);
}

.notification-sound-settings__grid {
    display: grid;
    gap: .75rem;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.notification-sound-option {
    display: block;
    cursor: pointer;
    min-width: 0;
}

.notification-sound-option input[type="radio"] {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.notification-sound-option__body {
    display: flex;
    flex-direction: column;
    gap: .45rem;
    padding: .85rem .95rem;
    border: 1px solid rgba(19, 31, 67, 0.12);
    border-radius: .95rem;
    background: rgba(255, 255, 255, 0.92);
    transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
    height: 100%;
    position: relative;
}

.notification-sound-option input[type="radio"]:checked + .notification-sound-option__body {
    border-color: rgba(93, 31, 141, 0.65);
    box-shadow: 0 0 0 3px rgba(93, 31, 141, 0.16);
    background: linear-gradient(180deg, rgba(255, 242, 204, 0.78) 0%, rgba(255, 255, 255, 0.98) 100%);
    transform: translateY(-1px);
}

.notification-sound-option__title {
    font-weight: 700;
    color: var(--astro-text, #241433);
    line-height: 1.2;
}

.notification-sound-option__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .6rem;
}

.notification-sound-option__badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
    padding: .18rem .5rem;
    border-radius: 999px;
    background: rgba(93, 31, 141, 0.1);
    color: #5d1f8d;
    font-size: .74rem;
    font-weight: 700;
    text-transform: uppercase;
}

.notification-sound-option__badge--muted {
    background: rgba(19, 31, 67, 0.06);
    color: var(--astro-muted, #68587b);
}

.notification-sound-option__meta {
    color: var(--astro-muted, #68587b);
    font-size: .84rem;
    line-height: 1.35;
}

.notification-sound-option__player {
    width: 100%;
    min-width: 0;
    height: 34px;
}

.notification-sound-option--custom {
    grid-column: 1 / -1;
}

.notification-sound-option--uploaded .notification-sound-option__body::after,
.notification-sound-option input[type="radio"]:checked + .notification-sound-option__body::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    pointer-events: none;
}

.notification-sound-option__inline-actions {
    display: flex;
    justify-content: flex-end;
    margin-top: .15rem;
}

.notification-sound-option__body--upload {
    border-style: dashed;
    background: linear-gradient(180deg, rgba(245, 248, 255, 0.95) 0%, rgba(255, 255, 255, 0.95) 100%);
}

.notification-sound-option--custom-upload-panel {
    grid-column: 1 / -1;
}

.notification-sound-settings__footer {
    display: flex;
    justify-content: flex-end;
    margin-top: .9rem;
}

@media (max-width: 575.98px) {
    .notification-sound-settings__grid {
        grid-template-columns: 1fr;
    }

    .notification-sound-option__head {
        align-items: flex-start;
        flex-direction: column;
    }
}

[data-theme="dark"] .notification-sound-option__body {
    background: rgba(17, 24, 39, 0.9);
    border-color: rgba(148, 163, 184, 0.18);
}

[data-theme="dark"] .notification-sound-option input[type="radio"]:checked + .notification-sound-option__body {
    background: linear-gradient(180deg, rgba(78, 52, 9, 0.55) 0%, rgba(17, 24, 39, 0.96) 100%);
}

[data-theme="dark"] .notification-sound-option__badge {
    background: rgba(255, 199, 37, 0.14);
    color: #ffd35f;
}

[data-theme="dark"] .notification-sound-option__badge--muted {
    background: rgba(255, 255, 255, 0.08);
    color: #bbb1ca;
}

[data-theme="dark"] .notification-sound-option__body--upload {
    background: linear-gradient(180deg, rgba(20, 29, 46, 0.92) 0%, rgba(17, 24, 39, 0.96) 100%);
}

[data-theme="dark"] {
    --astro-primary: #ffc725;
    --astro-secondary: #d2a4ff;
    --astro-accent: #ffc725;
    --astro-light: #11091a;
    --astro-text: #f2eef8;
    --astro-muted: #bbb1ca;
    --astro-border: rgba(255, 199, 37, 0.16);
    --page-bg: radial-gradient(circle at top, #43106e 0%, #1b1029 40%, #090611 100%);
    --surface-bg: rgba(24, 16, 34, 0.92);
    --surface-strong: #171021;
    --surface-soft: #221530;
    --surface-soft-strong: #2d1d40;
    --surface-inset: #120b1b;
    --nav-bg: rgba(25, 12, 37, 0.92);
    --panel-bg: #0c0713;
    --footer-bg: #07040d;
    --astro-shadow: rgba(0, 0, 0, 0.35);
    --link-color: #ffd78b;
    --link-hover: #ffe8bc;
    --neutral-button-bg: #251735;
    --neutral-button-hover: #311f45;
    --neutral-button-border: rgba(255, 255, 255, 0.14);
    --table-stripe-bg: rgba(255, 255, 255, 0.038);
    --table-stripe-alt-bg: rgba(255, 255, 255, 0);
    --table-hover-bg: rgba(255, 255, 255, 0.06);
    --focus-ring: rgba(255, 199, 37, 0.18);
}

body {
    font-family: "Mukta", sans-serif;
    font-weight: 400;
    background: var(--page-bg);
    color: var(--astro-text);
    transition: background .25s ease, color .25s ease;
    --bs-body-bg: var(--panel-bg);
    --bs-body-color: var(--astro-text);
    --bs-emphasis-color: var(--astro-text);
    --bs-secondary-color: var(--astro-muted);
    --bs-secondary-bg: var(--surface-soft);
    --bs-tertiary-bg: var(--surface-inset);
    --bs-border-color: var(--astro-border);
    --bs-heading-color: var(--astro-text);
    --bs-link-color: var(--link-color);
    --bs-link-hover-color: var(--link-hover);
    --bs-light-bg-subtle: var(--surface-soft);
    --bs-light-text-emphasis: var(--astro-text);
    --bs-warning-bg-subtle: rgba(245, 191, 45, 0.18);
    --bs-warning-text-emphasis: var(--astro-text);
}

button,
input,
select,
textarea,
.btn,
.form-control,
.form-select,
.table,
.dropdown-menu {
    font-family: "Mukta", sans-serif;
}

select,
option,
optgroup,
.date-dropdown-field__select {
    font-family: "Mukta", sans-serif !important;
}

h1,
h2,
h3,
h4,
h1.display-1,
h2.display-2,
h3.display-3,
h4.display-4,
.display-1,
.display-2,
.display-3,
.display-4 {
    font-family: "Khand", "Mukta", sans-serif;
    font-weight: 600 !important;
}

h5,
h6,
.display-5,
.display-6,
.offcanvas-title,
.modal-title,
.card-title {
    font-family: "Khand", "Mukta", sans-serif;
    font-weight: 500 !important;
}

.fw-bold,
.fw-semibold,
strong,
b,
th {
    font-weight: 600 !important;
}

h1,
h2,
h3,
h4,
h5,
h6,
.display-1,
.display-2,
.display-3,
.display-4,
.display-5,
.display-6 {
    letter-spacing: .01em;
}

a:not(.btn):not(.nav-link):not(.navbar-brand):not(.dropdown-item) {
    color: var(--link-color);
    text-decoration-color: rgba(80, 23, 128, 0.3);
}

a:not(.btn):not(.nav-link):not(.navbar-brand):not(.dropdown-item):hover {
    color: var(--link-hover);
}

::selection {
    background: rgba(239, 182, 79, 0.34);
    color: #12262d;
}

.frontend-body {
    min-height: 100vh;
}

.frontend-body .container,
.frontend-body .container-fluid {
    --bs-gutter-x: var(--page-gutter-x);
}

.astro-navbar {
    background: var(--nav-bg);
    backdrop-filter: blur(14px);
    box-shadow: 0 14px 40px rgba(11, 19, 49, 0.14);
    z-index: 1200;
}

.navbar-brand {
    color: #fff;
}

.navbar-toggler {
    width: 3rem;
    height: 3rem;
    padding: 0;
    border-radius: 1rem;
    border-color: rgba(255, 255, 255, 0.18);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.navbar-toggler:focus {
    box-shadow: 0 0 0 .25rem rgba(255, 255, 255, 0.14);
}

.navbar-toggler-icon {
    display: inline-block;
    width: 1.5rem;
    height: 1.5rem;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255,236,196,0.98%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2.6' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
    background-position: center;
    background-repeat: no-repeat;
    background-size: 100% 100%;
    filter: none;
    vertical-align: middle;
}

.navbar-toggler-icon--custom {
    position: relative;
    width: 1.1rem;
    height: .95rem;
    background-image: none !important;
    background-size: auto;
}

.navbar-toggler-icon--custom span {
    position: absolute;
    left: 0;
    width: 100%;
    height: 2px;
    border-radius: 999px;
    background: rgba(255, 236, 196, 0.98);
    transition: transform .22s ease, opacity .18s ease, top .22s ease, bottom .22s ease;
}

.navbar-toggler-icon--custom span:nth-child(1) {
    top: 0;
}

.navbar-toggler-icon--custom span:nth-child(2) {
    top: 50%;
    transform: translateY(-50%);
}

.navbar-toggler-icon--custom span:nth-child(3) {
    bottom: 0;
}

.navbar-mobile-quick-actions {
    margin-left: auto;
    margin-right: .65rem;
}

.site-logo {
    width: 60px;
    height: 60px;
    object-fit: contain;
    border-radius: 16px;
    box-shadow: 0 10px 22px rgba(0, 0, 0, 0.18);
}

.panel-logo {
    width: 52px;
    height: 52px;
    object-fit: contain;
    border-radius: 14px;
    box-shadow: 0 10px 22px rgba(0, 0, 0, 0.18);
}

.footer-logo {
    width: 62px;
    height: 62px;
    object-fit: contain;
    border-radius: 16px;
    box-shadow: 0 10px 22px rgba(0, 0, 0, 0.22);
}

.brand-copy {
    line-height: 1.1;
}

.navbar-brand small {
    color: rgba(255, 255, 255, 0.65);
    font-size: 0.72rem;
}

.navbar .nav-link {
    color: rgba(255, 255, 255, 0.85);
    font-weight: 600;
}

.navbar .nav-link.active,
.navbar .nav-link:hover,
.navbar-brand:hover {
    color: #fff;
}

.astro-navbar .navbar-collapse {
    gap: 1rem;
}

.pending-payment-banner {
    position: relative;
    z-index: 1020;
    padding: .8rem 0 0;
}

.pending-payment-banner__inner {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.2rem;
    border-radius: 1.35rem;
    border: 1px solid rgba(244, 197, 90, 0.28);
    background:
        radial-gradient(circle at left top, rgba(255, 214, 102, 0.2), transparent 42%),
        linear-gradient(135deg, rgba(80, 23, 128, 0.96) 0%, rgba(116, 34, 163, 0.96) 100%);
    box-shadow: 0 16px 34px rgba(63, 20, 102, 0.16);
    color: #fff6dc;
}

.pending-payment-banner__icon {
    width: 3rem;
    height: 3rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 1rem;
    background: rgba(255, 255, 255, 0.14);
    color: #ffd76a;
    font-size: 1.2rem;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.pending-payment-banner__copy {
    min-width: 0;
}

.pending-payment-banner__eyebrow {
    margin-bottom: .2rem;
    font-size: .76rem;
    line-height: 1;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: rgba(255, 231, 176, 0.92);
}

.pending-payment-banner__title {
    font-size: 1.06rem;
    line-height: 1.35;
    font-weight: 700;
    color: #fff8e6;
}

.pending-payment-banner__text {
    margin-top: .24rem;
    font-size: .94rem;
    line-height: 1.55;
    color: rgba(255, 244, 221, 0.9);
}

.pending-payment-banner__actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.pending-payment-banner__button {
    border: 0;
    border-radius: 999px;
    padding: .78rem 1.15rem;
    background: linear-gradient(180deg, #ffd76a 0%, #f4b82d 100%);
    color: #40215d;
    font-weight: 800;
    box-shadow: 0 12px 24px rgba(18, 7, 30, 0.18);
}

.pending-payment-banner__button:hover,
.pending-payment-banner__button:focus {
    background: linear-gradient(180deg, #ffe085 0%, #f7c447 100%);
    color: #34184f;
}

.navbar-menu-pills {
    align-items: center;
    gap: .45rem;
    padding: .4rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
}

.navbar-menu-pills__item {
    flex: 0 0 auto;
}

.astro-navbar .navbar-menu-pills .nav-link {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 2.55rem;
    padding: .62rem 1rem;
    border-radius: 999px;
    color: rgba(255, 255, 255, 0.82);
    font-size: .94rem;
    font-weight: 700;
    line-height: 1;
    transition: transform .2s ease, background .2s ease, color .2s ease, box-shadow .2s ease;
}

.astro-navbar .navbar-menu-pills .nav-link:hover,
.astro-navbar .navbar-menu-pills .nav-link:focus {
    color: #fff;
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-1px);
}

.astro-navbar .navbar-menu-pills .nav-link.active {
    background: linear-gradient(135deg, rgba(255, 213, 116, 0.96), rgba(239, 182, 79, 0.94));
    color: #35144f;
    box-shadow: 0 10px 24px rgba(239, 182, 79, 0.3);
}

.brand-orb,
.icon-orb {
    width: 44px;
    height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, #ffd47a, #c06a18 70%);
    color: #fff;
    box-shadow: 0 12px 24px rgba(192, 106, 24, 0.3);
}

.hero-section {
    padding: 5rem 0 3rem;
    position: relative;
    overflow: hidden;
}

.home-category-section {
    min-height: calc(100vh - 84px);
    background:
        radial-gradient(circle at 15% 18%, rgba(255, 199, 37, 0.16), transparent 26%),
        radial-gradient(circle at 84% 12%, rgba(135, 78, 198, 0.14), transparent 24%),
        radial-gradient(circle at 48% 72%, rgba(255, 236, 190, 0.46), transparent 20%),
        linear-gradient(180deg, #fcf7ee 0%, #fffdf9 38%, #f7f0e7 100%);
    position: relative;
    overflow: hidden;
}

.home-category-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle, rgba(80, 23, 128, .16) 1px, transparent 1.5px),
        radial-gradient(circle, rgba(255, 199, 37, .18) 1px, transparent 1.5px);
    background-size: 80px 80px, 120px 120px;
    background-position: 0 0, 40px 30px;
    opacity: .3;
    pointer-events: none;
}

.home-category-section .container {
    position: relative;
    z-index: 1;
}

.home-category-intro {
    max-width: 760px;
    color: var(--astro-muted);
}

.home-category-card {
    background: linear-gradient(180deg, #6a229f 0%, #501780 100%);
    border-radius: 1rem;
    padding: 1.15rem 1rem;
    min-height: 104px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.28);
    border: 1px solid rgba(245, 191, 45, 0.4);
    transition: transform .2s ease, box-shadow .2s ease;
}

.home-category-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 28px rgba(0, 0, 0, 0.34);
}

.home-category-selectable {
    position: relative;
    cursor: pointer;
}

.home-category-selectable.is-selected {
    background: linear-gradient(180deg, #ffd465 0%, #efb64f 100%);
    border-color: #f4cf96;
    box-shadow: 0 20px 34px rgba(239, 182, 79, 0.24);
}

.home-category-selectable.is-selected .home-category-title,
.home-category-selectable.is-selected .home-category-subtitle {
    color: #35144f;
}

.home-category-selectable.is-selected .home-category-price {
    background: #d62839;
    color: #ffffff;
}

.home-category-checkbox {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.home-category-icon {
    width: 58px;
    height: 58px;
    flex: 0 0 58px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #fff;
    color: var(--astro-primary);
    font-size: 2rem;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.14);
}

.home-category-icon img,
.ask-category-icon img {
    display: block;
    width: calc(100% - 22px);
    height: calc(100% - 22px);
    object-fit: contain;
}

.answer-reference-layout {
    display: grid;
    gap: 1rem;
}

.answer-reference-panel {
    position: relative;
    background: #ffffff;
    border: 1.5px solid rgba(80, 23, 128, 0.62);
    border-radius: 0.95rem;
    padding: 1.45rem 1.05rem 1rem;
    box-shadow: none;
}

.answer-reference-title {
    position: absolute;
    top: -0.95rem;
    left: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0 0.35rem;
    margin: 0;
    background: var(--surface-strong);
    color: var(--astro-primary);
    font-weight: 600;
    font-size: 1.5rem;
    line-height: 1.2;
    font-family: "Mukta", sans-serif;
}

.answer-reference-title::after {
    display: none;
}

.answer-reference-title i {
    font-size: 1.5rem;
}

.answer-reference-body {
    color: var(--astro-text);
    line-height: 1.8;
    font-size: 1.02rem;
    white-space: pre-wrap;
    font-family: "Mukta", sans-serif;
}

.answer-review-notice {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.15rem 1.1rem;
    border-radius: 1.1rem;
    border: 1px solid rgba(80, 23, 128, 0.14);
    background:
        radial-gradient(circle at top right, rgba(239, 182, 79, 0.18), transparent 36%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(247, 241, 234, 0.94));
    box-shadow: 0 16px 32px rgba(80, 23, 128, 0.08);
}

.answer-review-notice__icon {
    width: 3rem;
    height: 3rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 1rem;
    flex: 0 0 3rem;
    background: linear-gradient(135deg, rgba(80, 23, 128, 0.14), rgba(239, 182, 79, 0.26));
    color: var(--astro-primary);
    font-size: 1.25rem;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.52);
}

.answer-review-notice__body {
    min-width: 0;
}

.answer-review-notice__eyebrow {
    margin-bottom: .3rem;
    color: var(--astro-primary);
    font-size: .78rem;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.answer-review-notice__text {
    color: var(--astro-text);
    line-height: 1.75;
    font-size: 1rem;
}

.answer-review-notice--pending {
    background:
        radial-gradient(circle at top right, rgba(80, 23, 128, 0.08), transparent 34%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(244, 239, 232, 0.96));
}

.answer-review-notice--pending .answer-review-notice__icon {
    background: linear-gradient(135deg, rgba(80, 23, 128, 0.1), rgba(160, 170, 190, 0.18));
    color: #6b7280;
}

.answer-review-notice--pending .answer-review-notice__eyebrow {
    color: #6b7280;
}

.answer-reference-body--structured {
    white-space: normal;
}

.answer-reference-body--preline {
    white-space: pre-line;
}

.answer-reference-body--question {
    display: grid;
    gap: .35rem;
    line-height: 1.45;
    white-space: normal;
}

.answer-reference-line {
    margin: 0;
}

.answer-reference-actions {
    display: flex;
    justify-content: flex-end;
    margin-bottom: .9rem;
}

.answer-reference-actions--inline-end {
    justify-content: flex-start;
    margin-top: .55rem;
    margin-bottom: 0;
}

.answer-reference-history-btn {
    box-shadow: 0 10px 24px rgba(243, 188, 103, 0.24);
}

.customer-answer-report {
    display: grid;
    gap: 1.4rem;
}

.customer-answer-report__note {
    margin: 0;
    text-align: center;
    color: #000;
    font-size: 0.98rem;
    font-weight: 600;
}

.customer-answer-report__stamp {
    display: flex;
    justify-content: center;
    align-items: center;
}

.customer-answer-report__stamp-logo {
    width: min(140px, 40vw);
    height: auto;
    display: block;
}

.customer-answer-report__support {
    border-radius: 0.85rem;
    padding: 1rem 1.15rem 1.15rem;
    background: linear-gradient(180deg, rgba(218, 239, 231, 0.98), rgba(206, 231, 222, 0.98));
    border: 1px solid rgba(91, 121, 111, 0.18);
}

.customer-answer-report__support-copy {
    margin: 0 0 0.85rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid rgba(91, 121, 111, 0.32);
    text-align: center;
    color: #000;
    font-size: 0.98rem;
    font-weight: 600;
}

.customer-answer-report__support-items {
    display: grid;
    justify-items: center;
    gap: 0.55rem;
}

.customer-answer-report__support-item {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    color: #000 !important;
    text-decoration: none;
    font-weight: 500;
}

.customer-answer-report__support-item:hover {
    color: #000 !important;
}

.customer-answer-report__support-item i {
    color: #000 !important;
}

.customer-answer-report__support-item--static {
    cursor: default;
}

@media (max-width: 575.98px) {

    .customer-answer-report__support {
        padding: 0.95rem 0.9rem 1rem;
    }
}

.answer-reference-attachments {
    display: flex;
    flex-wrap: wrap;
    gap: .6rem;
    margin-top: 1rem;
}

.question-customer-meta {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem 1.25rem;
}

.question-customer-meta__item {
    display: grid;
    grid-template-columns: 3.15rem minmax(0, 1fr);
    gap: 0.85rem;
    align-items: center;
    line-height: 1.45;
    padding: 0.9rem 1rem;
    border-radius: 1rem;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(80, 23, 128, 0.04));
    border: 1px solid rgba(80, 23, 128, 0.10);
    box-shadow: 0 10px 24px rgba(80, 23, 128, 0.05);
}

.question-customer-meta__item--wide {
    grid-column: 1 / -1;
}

.question-customer-meta__icon {
    width: 3.15rem;
    height: 3.15rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 0.95rem;
    background: linear-gradient(135deg, rgba(255, 196, 45, 0.18), rgba(255, 255, 255, 0.92));
    border: 1px solid rgba(255, 196, 45, 0.28);
    color: #f0a400;
    font-size: 1.15rem;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

.question-customer-meta__content {
    min-width: 0;
    display: grid;
    gap: 0.25rem;
}

.question-customer-meta__head {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    white-space: normal;
}

.question-customer-meta__label {
    font-weight: 600;
    color: var(--astro-primary);
    font-size: 0.86rem;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

.question-customer-meta__value {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
    color: var(--astro-text);
    font-size: 1.08rem;
    font-weight: 600;
    overflow-wrap: anywhere;
    word-break: break-word;
    min-width: 0;
}

.question-customer-meta__value details {
    position: relative;
    margin-top: -0.05rem;
}

.question-customer-meta__value details summary,
#adminUserProfileModal .profile-summary-row__value details summary {
    list-style: none;
}

.question-customer-meta__value details summary::-webkit-details-marker,
#adminUserProfileModal .profile-summary-row__value details summary::-webkit-details-marker {
    display: none;
}

.question-customer-meta__value details[open] > div,
#adminUserProfileModal .profile-summary-row__value details[open] > div {
    position: absolute;
    top: calc(100% + 0.45rem);
    right: 0;
    z-index: 12;
    min-width: 220px;
    max-width: min(300px, 70vw);
    padding: 0.75rem 0.85rem;
    border: 1px solid rgba(80, 23, 128, 0.14);
    border-radius: 0.85rem;
    background: #fff;
    box-shadow: 0 16px 36px rgba(39, 17, 71, 0.16);
}

.question-customer-meta__value details[open] > .profile-audit-badge__panel,
#adminUserProfileModal .profile-summary-row__value details[open] > .profile-audit-badge__panel {
    padding: 0.85rem 1rem;
    border-radius: 1rem;
    background: rgba(255, 244, 223, 0.96);
    color: #4a345f;
    border: 1px solid rgba(80, 23, 128, 0.14);
    box-shadow: 0 14px 28px rgba(20, 11, 31, 0.18);
}

.jyotishi-customer-history {
    display: grid;
    gap: 1.1rem;
}

.jyotishi-customer-history__filters {
    display: flex;
    flex-wrap: wrap;
    gap: .55rem;
}

.jyotishi-customer-history__tag {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    padding: .44rem .74rem;
    border-radius: 999px;
    border: 1px solid rgba(31, 45, 61, 0.1);
    background: rgba(255, 255, 255, 0.8);
    color: #4a5870;
    font-size: .8rem;
    font-weight: 600;
    line-height: 1;
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.04);
    transition: background .18s ease, border-color .18s ease, color .18s ease, box-shadow .18s ease;
}

.jyotishi-customer-history__tag strong {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 1.2rem;
    height: 1.2rem;
    padding: 0 .28rem;
    border-radius: 999px;
    background: rgba(79, 93, 117, 0.1);
    color: #314056;
    font-size: .72rem;
}

.jyotishi-customer-history__tag:hover {
    background: #fff;
    border-color: rgba(66, 99, 130, 0.16);
    color: #2c3d52;
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.08);
}

.jyotishi-customer-history__tag.is-active {
    background: #1f3b57;
    border-color: #1f3b57;
    color: #fff;
    box-shadow: 0 10px 24px rgba(31, 59, 87, 0.18);
}

.jyotishi-customer-history__tag.is-active strong {
    background: rgba(255, 255, 255, 0.18);
    color: #fff;
}

.jyotishi-customer-history__empty {
    padding: .9rem 1rem;
    border-radius: 1rem;
    border: 1px dashed rgba(31, 45, 61, 0.12);
    background: rgba(246, 248, 251, 0.9);
    color: var(--astro-muted);
    font-size: .92rem;
}

.jyotishi-customer-history__item {
    padding: 1.1rem 1.1rem 1rem;
    border-radius: 1.1rem;
    background: linear-gradient(180deg, #f6f9fc 0%, #edf3f8 100%);
    border: 1px solid rgba(44, 62, 80, 0.08);
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.04);
}

.jyotishi-customer-history__item + .jyotishi-customer-history__item {
    margin-top: 0;
}

.jyotishi-customer-history__header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: .8rem;
}

.jyotishi-customer-history__header-copy {
    min-width: 0;
}

.jyotishi-customer-history__eyebrow {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .45rem;
    margin-bottom: .35rem;
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: 0;
    color: #334155;
}

.jyotishi-customer-history__eyebrow span {
    display: inline-flex;
    align-items: center;
    padding: .16rem .48rem;
    border-radius: 999px;
    background: rgba(79, 93, 117, 0.08);
    color: #66758b;
    font-weight: 600;
    text-transform: none;
    letter-spacing: 0;
}

.jyotishi-customer-history__title {
    margin: 0;
    color: #1f2937;
    font-size: 1.04rem;
    line-height: 1.5;
    font-weight: 700;
}

.jyotishi-customer-history__status {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    align-self: flex-start;
    padding: .38rem .7rem;
    border-radius: 999px;
    font-size: .76rem;
    font-weight: 700;
    letter-spacing: .01em;
    box-shadow: none;
}

.jyotishi-customer-history__status.text-bg-success {
    background: #eaf7ef !important;
    color: #217a45 !important;
}

.jyotishi-customer-history__status.text-bg-warning {
    background: #fff6e6 !important;
    color: #9a6700 !important;
}

.jyotishi-customer-history__status.text-bg-danger {
    background: #fdecec !important;
    color: #b42318 !important;
}

.jyotishi-customer-history__status.text-bg-secondary,
.jyotishi-customer-history__status.text-bg-info,
.jyotishi-customer-history__status.text-bg-review {
    background: #eef2f7 !important;
    color: #475467 !important;
}

.jyotishi-customer-history__meta {
    display: grid;
    grid-template-columns: 1fr;
    gap: .55rem;
    margin-bottom: .95rem;
}

.jyotishi-customer-history__meta-item {
    display: grid;
    grid-template-columns: 2.25rem minmax(0, 1fr);
    align-items: start;
    gap: .62rem;
    padding: .68rem .78rem;
    border-radius: .95rem;
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(44, 62, 80, 0.06);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.42);
}

.jyotishi-customer-history__meta--compact {
    grid-template-columns: 1fr;
}

.jyotishi-customer-history__meta-item--inline {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    align-items: stretch;
    gap: .9rem;
}

.jyotishi-customer-history__meta-pair {
    display: grid;
    grid-template-columns: 2rem minmax(0, 1fr);
    align-items: start;
    gap: .62rem;
    min-width: 0;
}

.jyotishi-customer-history__meta-divider {
    width: 1px;
    background: rgba(44, 62, 80, 0.08);
    border-radius: 999px;
}

.jyotishi-customer-history__meta-icon {
    width: 2rem;
    height: 2rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: .72rem;
    background: rgba(248, 181, 74, 0.1);
    color: #c88a2a;
    font-size: .86rem;
}

.jyotishi-customer-history__meta-copy {
    min-width: 0;
}

.jyotishi-customer-history__meta-label {
    margin-bottom: .1rem;
    color: #64748b;
    font-size: .66rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.jyotishi-customer-history__meta-value {
    display: block;
    min-width: 0;
    color: #243447;
    font-size: .86rem;
    line-height: 1.5;
    font-weight: 600;
    overflow-wrap: anywhere;
    text-align: left;
}

.jyotishi-customer-history__meta-value [data-nepali-datetime],
.jyotishi-customer-history__meta-value [data-nepali-datetime-stack] {
    display: inline;
    color: inherit;
    white-space: normal;
    text-align: left;
    line-height: inherit;
    font-weight: inherit;
}

.jyotishi-customer-history__section + .jyotishi-customer-history__section {
    margin-top: .8rem;
}

.jyotishi-customer-history__section-label {
    margin-bottom: .34rem;
    color: #475569;
    font-size: .8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .04em;
}

.jyotishi-customer-history__section-body {
    padding: .82rem .9rem;
    border-radius: .95rem;
    background: rgba(255, 255, 255, 0.88);
    border: 1px solid rgba(31, 45, 61, 0.06);
    color: #1f2937;
    line-height: 1.7;
    font-size: .98rem;
    white-space: pre-wrap;
}

.jyotishi-history-hero {
    position: relative;
    overflow: hidden;
}

.jyotishi-history-hero::after {
    content: "";
    position: absolute;
    inset: auto -8% -30% auto;
    width: 18rem;
    height: 18rem;
    border-radius: 999px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.22), transparent 72%);
    pointer-events: none;
}

.jyotishi-history-hero__eyebrow {
    margin-bottom: .65rem;
    font-size: .82rem;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    opacity: .8;
}

.jyotishi-history-hero__title {
    margin: 0 0 .7rem;
    font-size: clamp(1.9rem, 3vw, 2.7rem);
    font-weight: 700;
    line-height: 1.15;
    color: #ffffff;
    text-shadow: 0 8px 26px rgba(29, 10, 44, 0.28);
}

.jyotishi-history-hero__intro {
    max-width: 42rem;
    color: rgba(255, 255, 255, 0.84);
    line-height: 1.7;
}

.jyotishi-history-hero__stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: .85rem;
}

.jyotishi-history-hero__stat {
    padding: 1rem 1rem 1.05rem;
    border-radius: 1rem;
    background: rgba(255, 255, 255, 0.11);
    border: 1px solid rgba(255, 255, 255, 0.14);
    backdrop-filter: blur(8px);
}

.jyotishi-history-hero__stat span {
    display: block;
    margin-bottom: .3rem;
    font-size: .85rem;
    color: rgba(255, 255, 255, 0.72);
}

.jyotishi-history-hero__stat strong {
    display: block;
    font-size: 1.15rem;
    color: #ffffff;
}

.jyotishi-history-hero__stat-value {
    font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
    font-size: 1.6rem !important;
    font-weight: 700;
    letter-spacing: .01em;
}

.jyotishi-history-search {
    display: flex;
    flex-wrap: wrap;
    gap: .65rem;
    align-items: center;
}

.jyotishi-history-search .form-control {
    min-width: min(100%, 19rem);
}

.jyotishi-history-table thead th {
    font-size: .82rem;
    font-weight: 700;
    letter-spacing: .03em;
    text-transform: uppercase;
    color: var(--astro-muted);
    border-bottom-width: 1px;
}

.jyotishi-history-table tbody tr.is-active > * {
    background: rgba(80, 23, 128, 0.06);
}

.jyotishi-history-customer {
    display: flex;
    align-items: center;
    gap: .9rem;
}

.jyotishi-history-customer__avatar,
.jyotishi-history-summary__avatar {
    position: relative;
    width: 3.25rem;
    height: 3.25rem;
    border-radius: 1rem;
    overflow: hidden;
    background: linear-gradient(135deg, #4d177c, #d28b29);
    color: #ffffff;
    flex: 0 0 auto;
    box-shadow: 0 14px 30px rgba(80, 23, 128, 0.18);
}

.jyotishi-history-customer__avatar img,
.jyotishi-history-summary__avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.jyotishi-history-customer__avatar span {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1rem;
    letter-spacing: .06em;
    text-transform: uppercase;
    background: linear-gradient(135deg, rgba(77, 23, 124, 0.92), rgba(210, 139, 41, 0.92));
    opacity: 0;
}

.jyotishi-history-customer__avatar img[src=""] + span {
    opacity: 1;
}

.jyotishi-history-customer__name,
.jyotishi-history-summary__name {
    font-size: 1rem;
    font-weight: 700;
    color: var(--astro-text);
    overflow-wrap: anywhere;
}

.jyotishi-history-customer__meta,
.jyotishi-history-summary__contact {
    font-size: .88rem;
    color: var(--astro-muted);
    overflow-wrap: anywhere;
}

.jyotishi-history-pill,
.jyotishi-history-chip {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    padding: .42rem .78rem;
    border-radius: 999px;
    background: rgba(80, 23, 128, 0.08);
    color: var(--astro-primary);
    font-weight: 700;
    font-size: .83rem;
    line-height: 1;
}

.jyotishi-history-chip--soft {
    background: rgba(243, 188, 103, 0.14);
    color: #9b5c0f;
}

.jyotishi-history-summary__top {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.jyotishi-history-summary {
    padding: 1.35rem;
    border-radius: 1.35rem;
    border: 1px solid var(--astro-border);
    background: var(--surface-strong);
    box-shadow: 0 18px 40px var(--astro-shadow);
    overflow: hidden;
}

.jyotishi-history-summary__avatar {
    width: 4.4rem;
    height: 4.4rem;
    border-radius: 1.3rem;
}

.jyotishi-history-summary__chips {
    display: flex;
    flex-wrap: wrap;
    gap: .65rem;
}

.jyotishi-history-summary__details {
    margin-top: 1.1rem;
    display: grid;
    gap: .2rem;
}

#questionAnswerTimeline {
    scroll-margin-top: 1rem;
}

.jyotishi-history-summary__row {
    display: grid;
    grid-template-columns: 2.4rem minmax(0, 1fr);
    gap: .85rem;
    align-items: start;
    padding: .95rem 0;
    border-bottom: 1px solid rgba(80, 23, 128, 0.08);
}

.jyotishi-history-summary__row:last-child {
    border-bottom: 0;
    padding-bottom: 0;
}

.jyotishi-history-summary__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.4rem;
    height: 2.4rem;
    border-radius: .85rem;
    background: rgba(243, 188, 103, 0.12);
    color: #c17a00;
    font-size: 1rem;
}

.jyotishi-history-summary__content {
    min-width: 0;
}

.jyotishi-history-summary__label {
    margin-bottom: .22rem;
    color: var(--astro-primary);
    font-size: .82rem;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.jyotishi-history-summary__value {
    color: var(--astro-text);
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.65;
    overflow-wrap: anywhere;
    word-break: break-word;
}

.jyotishi-history-timeline {
    display: grid;
    gap: 1.35rem;
}

.jyotishi-history-group {
    display: grid;
    gap: .85rem;
}

.jyotishi-history-group__label {
    position: sticky;
    top: .75rem;
    z-index: 1;
}

.jyotishi-history-group__label span {
    display: inline-flex;
    align-items: center;
    gap: .55rem;
    padding: .5rem .95rem;
    border-radius: 999px;
    background: linear-gradient(135deg, rgba(80, 23, 128, 0.12), rgba(243, 188, 103, 0.18));
    color: var(--astro-primary);
    font-weight: 700;
    box-shadow: 0 10px 24px rgba(80, 23, 128, 0.08);
}

.jyotishi-history-group__items {
    display: grid;
    gap: 1rem;
}

.jyotishi-history-card {
    padding: 1.25rem;
    border-radius: 1.2rem;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.72), rgba(255, 255, 255, 0.96)),
        linear-gradient(135deg, rgba(80, 23, 128, 0.08), rgba(243, 188, 103, 0.1));
    border: 1px solid rgba(80, 23, 128, 0.1);
    box-shadow: 0 18px 36px rgba(18, 25, 58, 0.07);
}

.jyotishi-history-card__top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: .9rem;
}

.jyotishi-history-card__copy {
    min-width: 0;
}

.jyotishi-history-card__eyebrow {
    display: flex;
    flex-wrap: wrap;
    gap: .45rem;
    margin-bottom: .45rem;
}

.jyotishi-history-card__title {
    margin: 0;
    color: var(--astro-text);
    font-size: 1.12rem;
    line-height: 1.45;
    font-weight: 700;
}

.jyotishi-history-card__meta {
    display: flex;
    flex-wrap: wrap;
    gap: .65rem 1rem;
    margin-bottom: 1rem;
    color: var(--astro-muted);
    font-size: .92rem;
}

.jyotishi-history-card__meta span {
    display: inline-flex;
    align-items: center;
    flex-wrap: wrap;
    gap: .35rem;
}

.jyotishi-history-card__meta i {
    color: var(--astro-accent);
}

.jyotishi-history-card__meta strong {
    color: var(--astro-text);
}

.jyotishi-history-card__section + .jyotishi-history-card__section {
    margin-top: .8rem;
}

.jyotishi-history-card__section-title {
    margin-bottom: .3rem;
    color: var(--astro-primary);
    font-weight: 700;
    font-size: .93rem;
}

.jyotishi-history-card__section-body {
    padding: .95rem 1rem;
    border-radius: .95rem;
    background: rgba(80, 23, 128, 0.04);
    color: var(--astro-text);
    line-height: 1.8;
}

.jyotishi-history-empty {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.15rem 1.2rem;
    border-radius: 1rem;
    background: rgba(80, 23, 128, 0.04);
    border: 1px dashed rgba(80, 23, 128, 0.18);
    color: var(--astro-muted);
}

.jyotishi-history-empty i {
    font-size: 1.4rem;
    color: var(--astro-accent);
}

.jyotishi-history-empty strong {
    display: block;
    margin-bottom: .15rem;
    color: var(--astro-text);
}

.jyotishi-history-empty span {
    display: block;
}

.jyotishi-empty-state {
    display: grid;
    grid-template-columns: minmax(220px, 280px) minmax(0, 1fr);
    align-items: center;
    gap: 1.5rem;
    overflow: hidden;
}

.jyotishi-empty-state__visual {
    position: relative;
    min-height: 180px;
    padding: 1.2rem;
    border-radius: 1.2rem;
    background:
        radial-gradient(circle at top left, rgba(243, 188, 103, 0.22), transparent 34%),
        linear-gradient(160deg, rgba(80, 23, 128, 0.08), rgba(255, 255, 255, 0.82));
    border: 1px solid rgba(80, 23, 128, 0.1);
}

.jyotishi-empty-state__admin {
    position: absolute;
    top: 50%;
    left: 1.15rem;
    width: 74px;
    height: 74px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    color: #fff;
    font-size: 1.65rem;
    background: linear-gradient(135deg, #501780, #7b5cff);
    box-shadow: 0 18px 30px rgba(80, 23, 128, 0.2);
    transform: translateY(-50%);
}

.jyotishi-empty-state__beam {
    position: absolute;
    top: 50%;
    left: 5.9rem;
    right: 6.3rem;
    display: flex;
    justify-content: space-between;
    gap: .55rem;
    transform: translateY(-50%);
}

.jyotishi-empty-state__beam span {
    flex: 1 1 auto;
    height: 8px;
    border-radius: 999px;
    background: linear-gradient(90deg, rgba(243, 188, 103, 0.15), rgba(243, 188, 103, 0.9), rgba(80, 23, 128, 0.12));
    animation: jyotishiEmptyBeamPulse 1.4s ease-in-out infinite;
}

.jyotishi-empty-state__beam span:nth-child(2) {
    animation-delay: .18s;
}

.jyotishi-empty-state__beam span:nth-child(3) {
    animation-delay: .36s;
}

.jyotishi-empty-state__stack {
    position: absolute;
    top: 50%;
    right: 1.25rem;
    width: 92px;
    height: 92px;
    transform: translateY(-50%);
}

.jyotishi-empty-state__card {
    position: absolute;
    inset: 0;
    border-radius: 1rem;
    border: 1px solid rgba(80, 23, 128, 0.12);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(248, 243, 238, 0.96));
    box-shadow: 0 14px 28px rgba(18, 25, 58, 0.08);
    animation: jyotishiEmptyCardFloat 2.1s ease-in-out infinite;
}

.jyotishi-empty-state__card:nth-child(1) {
    transform: rotate(-9deg) translate(-8px, 10px);
    animation-delay: .1s;
}

.jyotishi-empty-state__card:nth-child(2) {
    transform: rotate(-1deg) translate(0, 0);
    animation-delay: .25s;
}

.jyotishi-empty-state__card:nth-child(3) {
    transform: rotate(8deg) translate(8px, -9px);
    animation-delay: .4s;
}

.jyotishi-empty-state__copy p {
    color: var(--astro-muted);
    line-height: 1.75;
}

@keyframes jyotishiEmptyBeamPulse {
    0%,
    100% {
        opacity: .32;
        transform: scaleX(.92);
    }

    50% {
        opacity: 1;
        transform: scaleX(1);
    }
}

@keyframes jyotishiEmptyCardFloat {
    0%,
    100% {
        margin-top: 0;
    }

    50% {
        margin-top: -6px;
    }
}

[data-theme="dark"] .jyotishi-empty-state__visual {
    background:
        radial-gradient(circle at top left, rgba(243, 188, 103, 0.16), transparent 32%),
        linear-gradient(160deg, rgba(80, 23, 128, 0.22), rgba(21, 26, 41, 0.9));
    border-color: rgba(255, 255, 255, 0.08);
}

[data-theme="dark"] .jyotishi-empty-state__card {
    border-color: rgba(255, 255, 255, 0.08);
    background: linear-gradient(180deg, rgba(21, 26, 41, 0.96), rgba(15, 23, 42, 0.98));
}

@media (max-width: 767.98px) {
    .jyotishi-empty-state {
        grid-template-columns: 1fr;
    }

    .jyotishi-empty-state__visual {
        min-height: 160px;
    }
}

.jyotishi-history-pill [data-nepali-datetime],
.jyotishi-history-pill [data-nepali-datetime-stack],
.jyotishi-history-card__meta [data-nepali-datetime],
.jyotishi-history-table [data-nepali-datetime] {
    color: inherit;
}

.jyotishi-history-table td,
.jyotishi-history-table th,
.jyotishi-history-card__section-body,
.jyotishi-history-card__meta,
.jyotishi-history-summary__value,
.jyotishi-history-summary__label {
    overflow-wrap: anywhere;
}

@media (max-width: 767.98px) {
    .question-body-reference__grid {
        grid-template-columns: 1fr;
    }

    .question-kundali-card__fields {
        grid-template-columns: 1fr;
    }

    .question-customer-meta {
        grid-template-columns: 1fr;
        gap: 0.65rem;
    }

    .question-customer-meta__item {
        grid-template-columns: 1fr;
        gap: 0.28rem;
    }

    .question-customer-meta__item--wide {
        grid-column: auto;
    }

    .jyotishi-customer-history__header {
        flex-direction: column;
        align-items: flex-start;
    }

    .jyotishi-customer-history__meta {
        grid-template-columns: 1fr;
    }

    .jyotishi-customer-history__meta-item--inline {
        grid-template-columns: 1fr;
        gap: .7rem;
    }

    .jyotishi-customer-history__meta-pair {
        grid-template-columns: 2rem minmax(0, 1fr);
    }

    .jyotishi-customer-history__meta-divider {
        width: 100%;
        height: 1px;
    }

    .jyotishi-history-hero__stats {
        grid-template-columns: 1fr;
    }

    .jyotishi-history-search {
        flex-direction: column;
        align-items: stretch;
    }

    .jyotishi-history-search .form-control {
        min-width: 0;
    }

    .jyotishi-history-card__top,
    .jyotishi-history-summary__top {
        flex-direction: column;
        align-items: flex-start;
    }

    .jyotishi-history-card__section-body {
        padding: .85rem .9rem;
    }
}

.answer-reference-panel--editor {
    padding-top: 1.2rem;
}

.answer-editor-textarea {
    min-height: 9rem;
    padding: .15rem 0 .35rem;
    border: 0;
    background: transparent;
    color: var(--astro-text);
    line-height: 1.8;
    overflow-y: hidden;
    resize: vertical;
    box-shadow: none !important;
}

.answer-editor-textarea:focus {
    background: transparent;
    color: var(--astro-text);
    border: 0;
}

.answer-editor-textarea::placeholder {
    color: var(--astro-muted);
}

@media (max-width: 575.98px) {
    .answer-reference-panel {
        padding: 1.5rem 0.85rem 0.9rem;
    }

    .answer-reference-title {
        left: 0.7rem;
        font-size: 1.5rem;
    }
}

.home-category-title {
    font-family: "Khand", "Mukta", sans-serif;
    color: #ffffff;
    font-size: 1.55rem;
    font-weight: 500;
    line-height: 1.1;
}

.home-category-subtitle {
    font-family: "Khand", "Mukta", sans-serif;
    color: #ffd48a;
    font-size: 1.08rem;
    font-weight: 500;
    margin-top: .15rem;
    text-transform: uppercase;
}

.home-category-price {
    font-family: "Mukta", sans-serif;
    display: inline-flex;
    align-items: center;
    margin-top: .5rem;
    padding: .32rem .9rem;
    background: #efb64f;
    color: #35144f;
    border-radius: 999px;
    font-size: .9rem;
    font-weight: 500;
    line-height: 1;
}

.home-category-check {
    width: 2.25rem;
    height: 2.25rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.24);
    color: transparent;
    background: rgba(255, 255, 255, 0.08);
    transition: all .2s ease;
}

.home-category-selectable.is-selected .home-category-check {
    background: #d62839;
    border-color: #d62839;
    color: #ffffff;
}

.home-floating-ask {
    position: fixed;
    right: -40px;
    top: 50%;
    bottom: auto;
    z-index: 1105;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    min-width: 285px;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    overflow: visible;
    isolation: isolate;
    transform: translateY(-50%);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: none;
}

.home-floating-ask__price {
    display: block;
    width: 100%;
    padding: .88rem 1rem;
    margin: 0;
    position: relative;
    z-index: 1;
    border-radius: 1rem 1rem 0 0;
    background: linear-gradient(180deg, #ef4638 0%, #ee4b3c 100%);
    color: #fff !important;
    font-family: "Mukta", sans-serif;
    font-size: 1.08rem;
    font-weight: 800;
    line-height: 1.1;
    text-align: center;
}

.home-floating-ask__discount-wrap {
    display: block;
    width: 100%;
    padding: .08rem 1rem .52rem;
    margin: -1px 0 0;
    position: relative;
    z-index: 1;
    border-radius: 0;
    background: linear-gradient(180deg, #ee4b3c 0%, #ef4f3f 100%);
    text-align: center;
}

.home-floating-ask__discount {
    display: inline-flex;
    width: auto;
    align-self: center;
    padding: .26rem .72rem;
    margin: 0 auto;
    position: relative;
    z-index: 1;
    border-radius: 999px;
    background: rgba(126, 22, 14, 0.38);
    color: #fff !important;
    font-family: "Mukta", sans-serif;
    font-size: .82rem;
    font-weight: 700;
    line-height: 1.1;
    opacity: 1;
    text-align: center;
    white-space: nowrap;
}

.home-floating-ask__cta {
    display: block;
    width: 100%;
    padding: .95rem 1rem;
    margin-top: 0;
    position: relative;
    z-index: 1;
    border-radius: 0 0 1rem 1rem;
    border-top: 0;
    background: linear-gradient(180deg, #f0bd2a 0%, #f2c94c 100%);
    color: #241300;
    font-family: "Mukta", sans-serif;
    font-size: 1.04rem;
    font-weight: 800;
    line-height: 1.15;
    text-align: center;
}

.home-floating-ask__discount-wrap.d-none {
    display: none !important;
}

.home-floating-ask__discount-wrap.d-none + .home-floating-ask__cta {
    margin-top: 0;
    padding-top: 1.08rem;
    padding-bottom: 1.08rem;
    border-top-left-radius: 0;
    border-top-right-radius: 0;
}

.home-floating-ask.is-visible {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(-50%);
    animation: none;
}

@media (min-width: 992px) and (hover: hover) and (pointer: fine) {
    html:not(.gg-mobile-static-floating-ask) .home-floating-ask.is-visible {
        animation: homeFloatingAskFocus 1.45s ease-in-out infinite;
    }
}

.ask-page-section {
    position: relative;
}

.ask-category-intro {
    max-width: 40rem;
}

.ask-category-intro__eyebrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: .42rem .9rem;
    margin-bottom: .9rem;
    border-radius: 999px;
    background: rgba(255, 208, 84, 0.16);
    border: 1px solid rgba(210, 160, 59, 0.24);
    color: #9a620f;
    font-family: "Khand", "Mukta", sans-serif;
    font-size: .9rem;
    font-weight: 600;
    letter-spacing: .08em;
}

.ask-category-intro__title {
    margin: 0 0 .6rem;
    color: var(--astro-text);
    font-family: "Khand", "Mukta", sans-serif;
    font-size: clamp(2rem, 4vw, 2.7rem);
    font-weight: 600;
    line-height: 1.08;
}

.ask-category-intro__title--compact {
    font-size: clamp(1.8rem, 3vw, 2.35rem);
}

.ask-category-intro__text {
    max-width: 34rem;
    color: var(--astro-muted);
    font-size: 1.02rem;
    line-height: 1.7;
}

.ask-category-intro__text--notice {
    display: inline-block;
    max-width: 100%;
    padding: .7rem 1rem;
    font-weight: 700;
    border-radius: 1rem;
    border: 1px solid rgba(239, 182, 79, 0.28);
    background:
        linear-gradient(180deg, rgba(255, 250, 240, 0.98), rgba(255, 244, 221, 0.92)),
        linear-gradient(135deg, rgba(245, 191, 45, 0.1), rgba(80, 23, 128, 0.04));
    color: var(--astro-text);
    font-weight: 700;
    line-height: 1.5;
    box-shadow: 0 10px 24px rgba(18, 25, 58, 0.04);
}

[data-theme="dark"] .ask-category-intro__text--notice {
    border-color: rgba(255, 199, 37, 0.18);
    background:
        linear-gradient(180deg, rgba(45, 32, 62, 0.96), rgba(29, 21, 42, 0.98)),
        linear-gradient(135deg, rgba(245, 191, 45, 0.08), rgba(80, 23, 128, 0.08));
    color: rgba(247, 242, 255, 0.94);
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.2);
}

.ask-summary-panel {
    padding: 1.1rem 1.2rem;
    border-radius: 1rem;
    background: var(--surface-soft);
    border: 1px solid var(--astro-border);
}

.ask-question-main-block {
    order: 10;
}

.ask-question-profile-block {
    order: 20;
}

.ask-question-submit-block {
    order: 30;
}

.ask-santan-panel {
    background:
        radial-gradient(circle at top right, rgba(255, 196, 70, 0.12), transparent 24%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(250, 245, 238, 0.96));
}

.ask-santan-flow__header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1rem;
}

.ask-santan-flow__stack {
    display: grid;
    gap: 1rem;
}

.ask-santan-flow__block {
    padding: 1rem;
    border-radius: 1rem;
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(192, 106, 24, 0.16);
}

.ask-santan-flow__block h4 {
    margin: 0 0 .35rem;
    font-size: 1rem;
    font-weight: 700;
}

.ask-santan-flow__hint {
    padding: .95rem 1rem;
    border-radius: .9rem;
    background: rgba(255, 246, 219, 0.9);
    border: 1px solid rgba(192, 106, 24, 0.18);
    color: #6d441b;
    font-weight: 600;
}

.ask-santan-flow__question {
    padding-top: .25rem;
}

.ask-santan-flow__actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: .75rem;
    margin-top: 1rem;
}

.ask-santan-child-birth-grid {
    align-items: flex-start;
}

.ask-santan-child-birth-grid > [class*="col-"] {
    display: flex;
    flex-direction: column;
}

.ask-santan-child-birth-grid .form-label {
    margin-bottom: .5rem;
}

.ask-santan-child-birth-time {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: .6rem;
    align-items: start;
}

.ask-santan-child-birth-time .birth-time-picker__field {
    min-width: 0;
}

.ask-santan-steps {
    display: grid;
    gap: 0.55rem;
}

.ask-santan-step {
    display: flex;
    align-items: flex-start;
    gap: 0.55rem;
    padding: 0.65rem 0.8rem;
    border-radius: 0.8rem;
    background: rgba(80, 23, 128, 0.05);
    color: var(--astro-text);
}

.ask-santan-step strong {
    color: var(--astro-primary);
    min-width: 1rem;
}

.selection-chip {
    font-family: "Mukta", sans-serif;
    display: inline-flex;
    align-items: center;
    padding: .4rem .8rem;
    border-radius: 999px;
    background: rgba(80, 23, 128, 0.08);
    border: 1px solid rgba(80, 23, 128, 0.12);
    font-size: .88rem;
    font-weight: 600;
}

.selection-chip-strong {
    background: rgba(245, 191, 45, 0.18);
    border-color: rgba(245, 191, 45, 0.38);
}

.bs-date-popover-anchor {
    position: relative;
}

.bs-date-popover {
    position: absolute;
    top: calc(100% + .55rem);
    left: 0;
    z-index: 1085;
}

.bs-date-popover .ndp-container.ndp-inline {
    max-width: none;
    border-radius: 1rem;
    box-shadow: 0 18px 40px rgba(18, 25, 58, 0.16);
}

.payment-section-label {
    margin-bottom: .85rem;
    font-weight: 700;
    color: var(--astro-text);
}

.payment-total-note {
    margin-top: 1rem;
    padding: .95rem 1.1rem;
    border-radius: 1rem;
    background: linear-gradient(135deg, rgba(255, 209, 102, 0.22), rgba(91, 52, 198, 0.08));
    border: 1px solid rgba(229, 169, 61, 0.28);
    color: var(--astro-text);
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.6;
}

.payment-total-note strong {
    display: inline-block;
    margin-inline: .22rem;
    padding: .16rem .5rem;
    border-radius: 999px;
    background: linear-gradient(135deg, #e5a93d, #f2c45b);
    color: #2d1800;
    font-weight: 800;
}

.payment-summary-table-wrap {
    border: 1px solid var(--astro-border);
    border-radius: .85rem;
    background: #fff;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
}

@media (max-width: 1199.98px) {
    .jyotishi-question-modal-panel__side {
        position: static;
        top: auto;
        justify-content: center;
        padding-top: 0;
    }

    .jyotishi-floating-timer--modal {
        margin-inline: auto;
    }
}

.payment-summary-table {
    margin-bottom: 0;
    font-size: .95rem;
}

.payment-summary-sn {
    width: 72px;
    text-align: center;
}

.payment-summary-table thead th {
    padding: .8rem .95rem;
    border-bottom: 1px solid var(--astro-border);
    background: rgba(17, 24, 39, 0.04);
    color: var(--astro-text);
    font-size: .8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .04em;
}

.payment-summary-table tbody td {
    padding: .75rem .95rem;
    border-bottom: 1px solid rgba(17, 24, 39, 0.08);
    background: transparent;
    vertical-align: middle;
}

.payment-summary-table tbody tr:nth-child(odd) td {
    background: rgba(80, 23, 128, 0.02);
}

.payment-summary-table tbody tr:nth-child(even) td {
    background: rgba(17, 24, 39, 0.05);
}

.payment-summary-table tfoot td {
    padding: .8rem .95rem;
    border-top: 1px solid rgba(17, 24, 39, 0.12);
    background: linear-gradient(135deg, rgba(255, 209, 102, 0.18), rgba(80, 23, 128, 0.08));
    vertical-align: middle;
}

.payment-summary-table tfoot tr {
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.55);
}

.payment-summary-table__total-title {
    color: var(--astro-text);
    font-size: .98rem;
    letter-spacing: .01em;
}

.payment-summary-table__payable {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 7.25rem;
    padding: .5rem .85rem;
    border-radius: 999px;
    background: linear-gradient(135deg, #5b34c6, #7b5cff);
    color: #fff;
    font-weight: 800;
    line-height: 1;
    box-shadow: 0 10px 24px rgba(91, 52, 198, 0.22);
}

.payment-summary-table__payable--total {
    background: linear-gradient(135deg, #e5a93d, #f2c45b);
    color: #2d1800;
    box-shadow: 0 12px 26px rgba(229, 169, 61, 0.24);
}

.payment-summary-table tbody tr:last-child td {
    border-bottom: 0;
}

.payment-summary-table__total-spacer {
    width: 72px;
}

@media (max-width: 575.98px) {
    .payment-summary-table-wrap {
        overflow: hidden;
    }

    .payment-summary-table,
    .payment-summary-table tbody,
    .payment-summary-table tfoot,
    .payment-summary-table tr,
    .payment-summary-table td {
        display: block;
        width: 100%;
    }

    .payment-summary-table {
        min-width: 0;
    }

    .payment-summary-table thead {
        display: none;
    }

    .payment-summary-table tbody tr,
    .payment-summary-table tfoot tr {
        padding: .85rem .95rem;
        background: rgba(255, 255, 255, 0.94);
    }

    .payment-summary-table tbody tr + tr,
    .payment-summary-table tfoot tr {
        border-top: 1px solid rgba(17, 24, 39, 0.08);
    }

    .payment-summary-table tbody tr:nth-child(odd) {
        background: linear-gradient(135deg, rgba(80, 23, 128, 0.03), rgba(255, 255, 255, 0.98));
    }

    .payment-summary-table tbody tr:nth-child(even) {
        background: linear-gradient(135deg, rgba(17, 24, 39, 0.05), rgba(255, 255, 255, 0.98));
    }

    .payment-summary-table tfoot tr {
        background: linear-gradient(135deg, rgba(255, 209, 102, 0.24), rgba(80, 23, 128, 0.1));
        border-top: 1px solid rgba(80, 23, 128, 0.14);
    }

    .payment-summary-table tbody td,
    .payment-summary-table tfoot td {
        display: flex;
        align-items: flex-start;
        justify-content: space-between;
        gap: .75rem;
        padding: .35rem 0;
        border: 0;
        text-align: right !important;
        background: transparent !important;
    }

    .payment-summary-table tbody td::before,
    .payment-summary-table tfoot td::before {
        content: attr(data-label);
        flex: 0 0 46%;
        text-align: left;
        color: var(--astro-muted);
        font-size: .78rem;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: .04em;
    }

    .payment-summary-table tbody td:last-child,
    .payment-summary-table tfoot td:last-child {
        margin-top: .25rem;
        padding-top: .55rem;
        border-top: 1px dashed rgba(80, 23, 128, 0.16);
        font-size: 1rem;
    }

    .payment-summary-table__payable {
        min-width: 0;
        width: auto;
        margin-left: auto;
        padding: .48rem .78rem;
    }

    .payment-summary-table .payment-summary-sn {
        width: 100%;
    }

    .payment-summary-table__total-spacer {
        display: none !important;
    }

    .payment-summary-table__total-title {
        padding-top: 0;
        margin-top: 0;
    }
}

.payment-total-highlight {
    display: inline-flex;
    align-items: center;
    gap: .55rem;
    padding: .8rem 1rem;
    border-radius: 1rem;
    background: linear-gradient(135deg, rgba(255, 209, 102, 0.3), rgba(80, 23, 128, 0.08));
    border: 1px solid rgba(239, 182, 79, 0.42);
    color: var(--astro-text);
    font-weight: 700;
    box-shadow: 0 12px 24px rgba(239, 182, 79, 0.12);
}

.payment-total-highlight strong {
    font-size: 1.05rem;
    color: var(--astro-primary);
}

.ask-auth-card {
    max-width: 720px;
    margin: 0 auto;
    padding: 2.25rem;
}

.ask-category-option {
    display: block;
    cursor: pointer;
}

.ask-question-profile-card {
    position: relative;
}

.ask-question-profile-card .ask-category-option {
    min-width: 0;
}

.ask-question-profile-card .ask-category-body {
    padding-right: 8.2rem;
}

.ask-question-profile-card__view {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    min-height: 2.5rem;
    padding: .5rem .8rem;
    border-radius: 1rem;
    border: 1px solid var(--astro-border);
    background: var(--surface-strong);
    color: var(--astro-primary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .4rem;
    box-shadow: 0 10px 22px rgba(18, 25, 58, 0.06);
    z-index: 2;
}

.ask-question-profile-card__view span {
    font-size: .8rem;
    font-weight: 700;
}

.ask-question-profile-card__view:hover,
.ask-question-profile-card__view:focus {
    background: rgba(80, 23, 128, 0.06);
    border-color: rgba(80, 23, 128, 0.2);
    color: var(--astro-primary);
}

.kundali-person-card {
    border-color: rgba(80, 23, 128, 0.14) !important;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(255, 251, 244, 0.96)),
        var(--surface-strong);
    box-shadow: 0 14px 30px rgba(43, 28, 78, 0.06);
}

.kundali-person-card__header {
    display: flex;
    align-items: center;
    gap: .9rem;
    margin-bottom: 1.15rem;
    padding: .9rem 1rem;
    border-radius: 1rem;
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(80, 23, 128, 0.08);
}

.kundali-person-card__icon {
    width: 3rem;
    height: 3rem;
    flex: 0 0 3rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 1rem;
    font-size: 1.35rem;
    box-shadow: 0 10px 24px rgba(43, 28, 78, 0.12);
}

.kundali-person-card__subtitle {
    margin-top: .18rem;
    font-size: .76rem;
    line-height: 1.35;
    text-transform: uppercase;
    letter-spacing: .04em;
    color: var(--astro-muted);
}

.kundali-person-card--male .kundali-person-card__header {
    background: linear-gradient(135deg, rgba(74, 134, 232, 0.12), rgba(255, 255, 255, 0.84));
}

.kundali-person-card--male .kundali-person-card__icon {
    background: linear-gradient(135deg, #78aef8, #4c76de);
    color: #fff;
}

.kundali-person-card--female .kundali-person-card__header {
    background: linear-gradient(135deg, rgba(237, 101, 157, 0.14), rgba(255, 255, 255, 0.84));
}

.kundali-person-card--female .kundali-person-card__icon {
    background: linear-gradient(135deg, #f58cb7, #db5d95);
    color: #fff;
}

.ask-category-option input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.ask-category-body {
    display: flex;
    align-items: center;
    gap: 1rem;
    height: 100%;
    padding: 1rem;
    border-radius: 1rem;
    border: 1px solid var(--astro-border);
    background: var(--surface-strong);
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.ask-category-option:hover .ask-category-body {
    transform: translateY(-2px);
    box-shadow: 0 14px 30px rgba(18, 25, 58, 0.1);
}

.ask-category-option.is-disabled {
    cursor: not-allowed;
    pointer-events: none;
}

.ask-category-option.is-disabled .ask-category-body {
    opacity: .52;
    border-style: dashed;
    box-shadow: none;
}

.ask-category-option.is-disabled:hover .ask-category-body {
    transform: none;
    box-shadow: none;
}

.ask-category-option.is-disabled .ask-category-copy strong,
.ask-category-option.is-disabled .ask-category-copy small {
    color: rgba(110, 102, 128, 0.9);
}

.ask-category-option.is-disabled .ask-payment-method-option__logo {
    filter: grayscale(1);
    box-shadow: none;
}

.ask-category-option.is-selected .ask-category-body,
.ask-category-option input:checked + .ask-category-body {
    background:
        linear-gradient(135deg, rgba(255, 199, 37, 0.18), rgba(80, 23, 128, 0.08)),
        var(--surface-strong);
    border-color: rgba(239, 182, 79, 0.8);
    box-shadow: 0 18px 30px rgba(239, 182, 79, 0.16);
}

.ask-category-option.is-selected .ask-category-icon,
.ask-category-option input:checked + .ask-category-body .ask-category-icon {
    background: linear-gradient(135deg, #ffd791, #efb64f);
    color: #35144f;
    box-shadow: 0 12px 24px rgba(239, 182, 79, 0.22);
}

.ask-category-option.is-selected .ask-category-copy strong,
.ask-category-option input:checked + .ask-category-body .ask-category-copy strong,
.ask-category-option.is-selected .ask-category-price,
.ask-category-option input:checked + .ask-category-body .ask-category-price {
    color: var(--astro-primary);
}

.ask-category-option.is-selected .ask-category-copy small,
.ask-category-option input:checked + .ask-category-body .ask-category-copy small {
    color: #70448f;
}

.ask-category-option.is-selected .ask-category-price,
.ask-category-option input:checked + .ask-category-body .ask-category-price {
    padding: .35rem .7rem;
    border-radius: 999px;
    background: rgba(239, 182, 79, 0.24);
}

.ask-category-icon {
    width: 2.55rem;
    height: 2.55rem;
    flex: 0 0 2.55rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: .95rem;
    background: linear-gradient(135deg, rgba(80, 23, 128, 0.12), rgba(255, 199, 37, 0.24));
    font-size: 1.35rem;
}

.ask-category-icon svg {
    width: 1.3rem;
    height: 1.3rem;
    display: block;
}

.ask-payment-method-option .ask-category-body {
    align-items: center;
}

.ask-payment-method-option__logo {
    width: 4.5rem;
    height: 2.9rem;
    flex: 0 0 4.5rem;
    padding: .3rem .45rem;
    border-radius: .9rem;
    background: #fff;
    border: 1px solid rgba(80, 23, 128, 0.1);
    box-shadow: 0 10px 24px rgba(18, 25, 58, 0.08);
}

.ask-payment-method-option__logo img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: contain;
}

.ask-payment-method-option.is-selected .ask-payment-method-option__logo,
.ask-payment-method-option input:checked + .ask-category-body .ask-payment-method-option__logo {
    background: #fff;
    border-color: rgba(239, 182, 79, 0.4);
    box-shadow: 0 12px 24px rgba(239, 182, 79, 0.16);
}

.ask-category-copy {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    min-width: 0;
}

.ask-category-copy small {
    color: var(--astro-muted);
    margin-top: .2rem;
}

.ask-payment-method-option__status {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    margin-top: .45rem;
    padding: .2rem .55rem;
    border-radius: 999px;
    background: rgba(120, 120, 140, 0.16);
    color: rgba(92, 92, 108, 0.96);
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .02em;
    text-transform: uppercase;
}

.ready-question-picker {
    display: grid;
    gap: .9rem;
}

.ready-question-picker__header {
    display: grid;
    gap: .2rem;
}

.ready-question-picker__title {
    color: var(--astro-primary);
    font-size: .86rem;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.ready-question-picker__subtitle {
    color: var(--astro-text);
    font-weight: 700;
    font-size: 1rem;
    line-height: 1.5;
    padding: .9rem 1rem;
    border-radius: 1rem;
    border: 1px solid rgba(239, 182, 79, 0.28);
    background:
        linear-gradient(180deg, rgba(255, 250, 240, 0.98), rgba(255, 244, 221, 0.92)),
        linear-gradient(135deg, rgba(245, 191, 45, 0.1), rgba(80, 23, 128, 0.04));
    box-shadow: 0 10px 24px rgba(18, 25, 58, 0.04);
}

.ready-question-picker__chips {
    display: grid;
    gap: .7rem;
}

.ready-question-picker__chip {
    width: 100%;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: .65rem;
    align-items: start;
    text-align: left;
    padding: .9rem 1rem;
    border-radius: 1rem;
    border: 1px solid rgba(80, 23, 128, 0.12);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(250, 246, 239, 0.92)),
        linear-gradient(135deg, rgba(245, 191, 45, 0.08), rgba(80, 23, 128, 0.04));
    color: var(--astro-text);
    cursor: pointer;
    box-shadow: 0 12px 24px rgba(18, 25, 58, 0.05);
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease, background .18s ease;
}

.ready-question-picker__chip--static {
    cursor: default;
}

.ready-question-picker__chip:hover,
.ready-question-picker__chip:focus,
.ready-question-picker__chip:has(input:focus-visible) {
    transform: translateY(-2px);
    border-color: rgba(239, 182, 79, 0.55);
    box-shadow: 0 16px 28px rgba(18, 25, 58, 0.08);
}

.ready-question-picker__chip--static:hover,
.ready-question-picker__chip--static:focus {
    transform: none;
    border-color: rgba(80, 23, 128, 0.12);
    box-shadow: 0 12px 24px rgba(18, 25, 58, 0.05);
}

.ready-question-picker__chip.is-active,
.ready-question-picker__chip:has(input:checked) {
    border-color: rgba(41, 92, 230, 0.26);
    background:
        linear-gradient(135deg, rgba(41, 92, 230, 0.12), rgba(255, 215, 145, 0.2)),
        #fff;
    box-shadow: 0 18px 30px rgba(41, 92, 230, 0.12);
}

.ready-question-picker__chip-index {
    color: var(--astro-primary);
    font-weight: 700;
    line-height: 1.6;
}

.ready-question-picker__chip-check {
    width: 1.45rem;
    height: 1.45rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: rgba(41, 92, 230, 0.12);
    color: #295ce6;
    font-size: .95rem;
    opacity: 0;
    transform: scale(.86);
    transition: opacity .18s ease, transform .18s ease;
}

.ready-question-picker__chip.is-active .ready-question-picker__chip-check,
.ready-question-picker__chip:has(input:checked) .ready-question-picker__chip-check {
    opacity: 1;
    transform: scale(1);
}

.ready-question-picker__chip.is-selected-hidden {
    display: none;
}

.ready-question-picker textarea[data-ready-question-textarea] {
    min-height: 11.25rem;
    overflow: hidden;
    resize: vertical;
}

.ask-category-price {
    font-family: "Mukta", sans-serif;
    font-weight: 600;
    white-space: nowrap;
}

.ask-category-cta-panel {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    margin-bottom: 1.5rem;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
}

.ask-category-cta-panel__copy {
    display: grid;
    gap: .28rem;
    min-width: 0;
}

.ask-category-cta-panel__title {
    color: var(--astro-text);
    font-family: "Khand", "Mukta", sans-serif;
    font-size: 1.5rem;
    font-weight: 600;
    line-height: 1.05;
}

.ask-category-cta-panel__text {
    color: var(--astro-muted);
    font-size: .98rem;
    line-height: 1.6;
}

.ask-category-cta-panel--account {
    justify-content: space-between;
    gap: 1rem;
    padding: 1.2rem 1.25rem;
    margin-bottom: 0;
    border: 1px solid rgba(221, 178, 75, 0.22);
    border-radius: 1.15rem;
    background:
        radial-gradient(circle at left top, rgba(255, 208, 84, 0.14), transparent 32%),
        linear-gradient(180deg, rgba(255, 250, 242, 0.98) 0%, rgba(248, 241, 232, 0.98) 100%);
}

.ask-category-inline-cta {
    min-width: 180px;
    padding: .85rem 1.5rem;
    border-radius: 1rem;
    font-weight: 700;
    white-space: nowrap;
}

.ask-question-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: .85rem;
    flex-wrap: wrap;
}

.ask-question-action-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 190px;
    padding: .85rem 1.25rem;
    border: 0;
    border-radius: 999px;
    color: #fff;
    font-weight: 600;
    box-shadow: 0 14px 28px rgba(24, 15, 37, 0.12);
    transition: transform .2s ease, box-shadow .2s ease, filter .2s ease;
}

.ask-question-action-btn:hover,
.ask-question-action-btn:focus {
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 18px 32px rgba(24, 15, 37, 0.18);
    filter: saturate(1.04);
}

.btn-change-questions {
    background: linear-gradient(135deg, #5b34c6, #7b5cff);
}

.btn-add-questions {
    background: linear-gradient(135deg, #ff8f1f, #ff5f45);
}

.ask-remove-category-btn {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    padding-inline: .95rem;
    border: 0;
    border-radius: 999px;
    background: linear-gradient(135deg, #ef4444, #dc2626);
    color: #fff;
    box-shadow: 0 10px 22px rgba(220, 38, 38, 0.18);
}

.ask-remove-category-btn:hover,
.ask-remove-category-btn:focus {
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 14px 26px rgba(220, 38, 38, 0.24);
}

.home-floating-ask.is-disabled,
.ask-category-inline-cta.is-disabled {
    pointer-events: none;
    opacity: 0.6;
}

.home-cosmic-page {
    position: relative;
    background: #060812;
    color: #fff;
}

.home-cosmic-page__video-backdrop {
    position: fixed;
    inset: 0;
    z-index: 0;
    overflow: hidden;
    pointer-events: none;
    background: #050611;
}

.home-cosmic-page__video-backdrop::after {
    content: none;
}

.home-cosmic-page__video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    filter: saturate(1.08) brightness(.98) contrast(1.04);
    opacity: .82;
}

.home-cosmic-page .home-category-section,
.home-cosmic-page .home-category-selection,
.home-cosmic-page .site-footer {
    position: relative;
    z-index: 1;
}

.home-cosmic-page {
    --home-section-space: 2.25rem;
}

.home-cosmic-page .site-footer {
    margin-top: 0;
    padding-top: var(--home-section-space) !important;
}

.home-cosmic-page .astro-navbar {
    display: block;
}

.home-floating-menu-toggle {
    position: fixed;
    top: 1.35rem;
    right: 1.35rem;
    z-index: 1052;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 4.7rem;
    height: 4.7rem;
    padding: 0;
    border-radius: 1.25rem;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background:
        linear-gradient(180deg, rgba(30, 21, 58, 0.9) 0%, rgba(14, 14, 32, 0.92) 100%);
    color: #fff;
    box-shadow: 0 20px 40px rgba(4, 6, 18, 0.42);
    backdrop-filter: blur(18px);
    isolation: isolate;
    overflow: hidden;
    transition: transform .3s ease, border-color .25s ease, background .25s ease, box-shadow .25s ease;
}

.home-floating-menu-toggle::before {
    content: "";
    position: absolute;
    inset: -35%;
    background: radial-gradient(circle, rgba(255, 208, 84, 0.16) 0%, transparent 58%);
    opacity: .65;
    transform: scale(.7);
    animation: homeFloatingMenuGlow 3.4s ease-in-out infinite;
    pointer-events: none;
}

.home-floating-menu-toggle:hover,
.home-floating-menu-toggle:focus {
    color: #fff;
    border-color: rgba(255, 208, 84, 0.5);
    background:
        linear-gradient(180deg, rgba(46, 33, 84, 0.94) 0%, rgba(20, 18, 42, 0.96) 100%);
    transform: translateY(-2px) scale(1.01);
    box-shadow: 0 24px 48px rgba(4, 6, 18, 0.5);
}

.home-floating-menu-toggle__icon {
    position: relative;
    z-index: 1;
    width: 2rem;
    height: 1.45rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.home-floating-menu-toggle__icon span {
    position: absolute;
    left: 0;
    width: 100%;
    height: 3px;
    border-radius: 999px;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.98), rgba(255, 220, 135, 0.96));
    transform-origin: center;
    box-shadow: 0 0 10px rgba(255, 208, 84, 0.24);
    transition: transform .38s cubic-bezier(.22, 1, .36, 1), opacity .24s ease, width .3s ease, background .2s ease, top .38s cubic-bezier(.22, 1, .36, 1), left .38s cubic-bezier(.22, 1, .36, 1);
    animation: homeHamburgerSlide 1.15s ease-in-out infinite;
}

.home-floating-menu-toggle__icon span:nth-child(1) {
    top: 0;
    animation-delay: 0s;
}

.home-floating-menu-toggle__icon span:nth-child(2) {
    top: calc(50% - 1.5px);
    animation-delay: .16s;
}

.home-floating-menu-toggle__icon span:nth-child(3) {
    top: calc(100% - 3px);
    animation-delay: .32s;
}

.home-floating-menu-toggle:hover .home-floating-menu-toggle__icon span,
.home-floating-menu-toggle:focus .home-floating-menu-toggle__icon span {
    animation-duration: .78s;
}

.home-floating-menu-toggle.is-active {
    border-color: rgba(255, 208, 84, 0.46);
    background:
        linear-gradient(180deg, rgba(56, 38, 104, 0.96) 0%, rgba(22, 20, 48, 0.98) 100%);
    box-shadow: 0 24px 54px rgba(4, 6, 18, 0.54);
}

.home-floating-menu-toggle.is-active::before {
    animation-duration: 1.6s;
    opacity: .85;
}

.home-floating-menu-toggle.is-active .home-floating-menu-toggle__icon span {
    animation: none;
    top: calc(50% - 1.5px);
    left: 0;
    width: 100%;
}

.home-floating-menu-toggle.is-active .home-floating-menu-toggle__icon span:nth-child(1) {
    transform: rotate(45deg);
}

.home-floating-menu-toggle.is-active .home-floating-menu-toggle__icon span:nth-child(2) {
    opacity: 0;
    transform: scaleX(.4);
}

.home-floating-menu-toggle.is-active .home-floating-menu-toggle__icon span:nth-child(3) {
    transform: rotate(-45deg);
}

.home-menu-offcanvas {
    background:
        radial-gradient(circle at top, rgba(126, 82, 255, 0.26), transparent 26%),
        linear-gradient(180deg, rgba(13, 12, 31, 0.98) 0%, rgba(8, 8, 20, 0.98) 100%);
    color: #fff;
    border-left: 1px solid rgba(255, 255, 255, 0.1);
}

.home-menu-offcanvas .offcanvas-header {
    padding: 1.25rem 1.25rem 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.home-menu-offcanvas .offcanvas-body {
    gap: 1.25rem;
    padding: 1.25rem;
}

.home-menu-offcanvas__eyebrow {
    color: #f3bc67;
    font-size: .8rem;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    margin-bottom: .3rem;
}

.home-menu-profile {
    padding: 1rem 1.1rem;
    border-radius: 1rem;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.home-menu-profile__label {
    color: rgba(255, 255, 255, 0.6);
    font-size: .82rem;
    margin-bottom: .2rem;
}

.home-menu-profile__name {
    font-size: 1.2rem;
    font-weight: 700;
}

.home-menu-links {
    display: grid;
    gap: .8rem;
}

.home-menu-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: .95rem 1rem;
    border-radius: 1rem;
    color: #fff;
    text-decoration: none;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: transform .2s ease, border-color .2s ease, background .2s ease;
}

.home-menu-link:hover,
.home-menu-link:focus,
.home-menu-link.is-active {
    color: #fff;
    transform: translateX(-2px);
    border-color: rgba(255, 208, 84, 0.45);
    background: rgba(255, 208, 84, 0.12);
}

.home-menu-actions {
    display: grid;
    gap: .85rem;
}

.home-menu-actions .btn {
    border-radius: 1rem;
    padding: .85rem 1rem;
}

.home-cosmic-page .home-category-section {
    min-height: auto;
    position: relative;
    overflow: hidden;
    background: transparent;
}

.home-cosmic-page .home-category-section::before {
    content: none;
}

.home-cosmic-hero__container {
    position: relative;
    z-index: 1;
    padding-top: var(--home-section-space);
    padding-bottom: 1.25rem;
}

.home-cosmic-copy {
    max-width: 52rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.15rem;
    margin-inline: auto;
    text-align: center;
    text-shadow: 0 18px 34px rgba(0, 0, 0, 0.26);
}

.home-cosmic-copy__badge {
    width: clamp(6.25rem, 14vw, 8.5rem);
    aspect-ratio: 1;
    display: grid;
    place-items: center;
    padding: 0;
    margin-bottom: 1.35rem;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

.home-cosmic-copy__badge-logo {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.home-cosmic-copy__title {
    margin: 0;
}

.home-cosmic-copy__title span {
    display: block;
}

.home-cosmic-copy__title span:first-child {
    margin-bottom: .9rem;
    color: #ffc529;
    font-size: clamp(3rem, 6vw, 4.5rem);
    line-height: .95;
    font-weight: 700;
}

.home-cosmic-copy__title span:nth-child(2),
.home-cosmic-copy__title span:nth-child(3) {
    color: #fff;
    font-size: clamp(2rem, 4vw, 3.25rem);
    line-height: 1.14;
    font-weight: 700;
    text-shadow: 0 12px 32px rgba(0, 0, 0, 0.28);
}

.home-cosmic-copy__title span:nth-child(3) {
    margin-top: .35rem;
}

.home-cosmic-copy__description {
    margin: .1rem 0 0;
    max-width: 46rem;
    color: rgba(255, 255, 255, 0.92);
    font-size: clamp(1rem, 1.55vw, 1.14rem);
    line-height: 1.6;
}

.home-cosmic-copy__cta {
    display: inline-flex;
    align-items: center;
    align-self: center;
    gap: .7rem;
    width: fit-content;
    margin-top: .35rem;
    padding: .95rem 1.45rem;
    border-radius: 999px;
    color: #fff;
    background: linear-gradient(135deg, #d7282f, #f24f3d);
    border: 0;
    box-shadow: 0 14px 28px rgba(215, 40, 47, 0.24);
    transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}

.home-cosmic-copy__cta:hover,
.home-cosmic-copy__cta:focus {
    color: #fff;
    transform: translateY(-2px);
    background: linear-gradient(135deg, #e2363b, #ff6347);
    box-shadow: 0 18px 34px rgba(215, 40, 47, 0.32);
}

.home-cosmic-wheel-wrap {
    position: relative;
    min-height: 24rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.home-cosmic-wheel-wrap__glow {
    display: none;
}

.home-cosmic-wheel {
    position: relative;
    z-index: 1;
    width: min(100%, 26rem);
    max-width: 26rem;
    animation: homeWheelSpin 34s linear infinite;
    filter: none;
}

.home-cosmic-wheel--light {
    display: none;
}

.home-category-selection {
    position: relative;
    background: transparent;
    scroll-margin-top: 4.75rem;
}

.home-category-selection > .container {
    padding-top: var(--home-section-space) !important;
    padding-bottom: 1rem !important;
    position: relative;
    z-index: 1;
}

.home-category-selection__notice {
    width: fit-content;
    max-width: 100%;
    margin: 0 auto 1.4rem;
    padding: .95rem 1.1rem;
    border-radius: 1.2rem;
    background:
        linear-gradient(135deg, rgba(255, 208, 84, 0.2), rgba(123, 92, 255, 0.12));
    border: 1px solid rgba(255, 208, 84, 0.24);
    box-shadow: 0 18px 34px rgba(17, 11, 31, 0.12);
}

.home-category-selection__notice-text {
    font-family: "Mukta", sans-serif;
    color: #fff8e7;
    font-size: clamp(1.05rem, 2vw, 1.35rem);
    font-weight: 700;
    line-height: 1.25;
    letter-spacing: .01em;
    text-align: center;
}

.home-category-selection__eyebrow {
    font-family: "Khand", "Mukta", sans-serif;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: .45rem .95rem;
    border-radius: 999px;
    margin-bottom: 1rem;
    background: rgba(255, 208, 84, 0.12);
    border: 1px solid rgba(255, 208, 84, 0.22);
    color: #ffd876;
    font-size: .86rem;
    font-weight: 500;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.home-category-selection__title {
    font-family: "Khand", "Mukta", sans-serif;
    color: #fff;
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 500;
    margin-bottom: 1rem;
}

.home-category-selection__intro {
    max-width: 52rem;
    color: rgba(255, 255, 255, 0.72);
}

.home-feature-links {
    position: relative;
    margin: 1rem 0 0;
    padding: var(--home-section-space) 0;
    background:
        radial-gradient(circle at top center, rgba(255, 208, 84, 0.18), transparent 28%),
        linear-gradient(180deg, rgba(17, 11, 31, 0.82) 0%, rgba(37, 19, 62, 0.9) 100%);
    border-top: 1px solid rgba(255, 208, 84, 0.18);
    border-bottom: 1px solid rgba(255, 208, 84, 0.12);
    overflow: hidden;
}

.home-feature-links > .container {
    position: relative;
    z-index: 1;
}

.home-feature-link-card {
    height: 100%;
    display: flex;
    flex-direction: column;
    gap: .85rem;
    padding: 1.35rem;
    border-radius: 1.25rem;
    text-decoration: none;
    background: linear-gradient(180deg, rgba(97, 42, 146, 0.52) 0%, rgba(20, 14, 40, 0.72) 100%);
    border: 1px solid rgba(255, 208, 84, 0.24);
    box-shadow: 0 18px 34px rgba(0, 0, 0, 0.28);
    backdrop-filter: blur(14px);
    transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}

.home-feature-link-card__header {
    display: flex;
    align-items: center;
    gap: .95rem;
}

.home-feature-link-card:hover,
.home-feature-link-card:focus {
    transform: translateY(-5px);
    border-color: rgba(255, 208, 84, 0.42);
    box-shadow: 0 24px 40px rgba(0, 0, 0, 0.34);
}

.home-feature-link-card__icon {
    width: 3.7rem;
    height: 3.7rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 1.05rem;
    background: linear-gradient(135deg, rgba(255, 208, 84, 0.88), rgba(239, 182, 79, 0.82));
    color: #35144f;
    font-size: 1.45rem;
    box-shadow: 0 14px 28px rgba(239, 182, 79, 0.22);
}

.home-feature-link-card__title {
    color: #fff;
    font-family: "Khand", "Mukta", sans-serif;
    font-size: 2rem;
    line-height: 1;
}

.home-feature-link-card__text {
    color: rgba(255, 255, 255, 0.74);
    line-height: 1.75;
}

.home-feature-link-card__action {
    margin-top: auto;
    display: inline-flex;
    align-items: center;
    gap: .55rem;
    color: #ffd978;
    font-weight: 700;
}

.rating-stars-display {
    display: inline-flex;
    align-items: center;
    gap: .22rem;
    color: #f2b63d;
    line-height: 1;
}

[data-theme="dark"] .rating-stars-display {
    color: #f2b63d !important;
}

.user-rating-card {
    border: 1px solid var(--astro-border);
    border-radius: 1.25rem;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(249, 244, 235, 0.94));
    box-shadow: 0 16px 30px rgba(24, 15, 42, 0.06);
}

.user-rating-card__header {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.user-rating-card__title {
    font-size: 1.12rem;
}

.user-rating-card__summary {
    display: grid;
    justify-items: end;
    gap: .2rem;
}

.user-rating-card__form {
    display: grid;
    gap: 1rem;
}

.user-rating-card__stars {
    display: grid;
    gap: .45rem;
}

.user-rating-card__legend {
    display: grid;
    gap: .2rem;
    font-size: .8rem;
    color: var(--astro-muted);
}

.user-rating-card__legend span {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .75rem;
}

.user-rating-card__legend strong {
    font-weight: 600;
}

.user-rating-card__legend em {
    display: inline-flex;
    align-items: center;
    gap: .14rem;
    font-style: normal;
    white-space: nowrap;
}

.user-rating-card__legend i {
    color: #f2b63d;
    font-size: .76rem;
}

.jyotishi-rating-breakdown-table {
    border-color: var(--app-table-outer-border);
}

.jyotishi-rating-breakdown-table > :not(caption) > * > * {
    border-color: var(--app-table-cell-border);
}

.jyotishi-rating-breakdown-table > thead > tr > th {
    background-color: var(--app-table-head-bg) !important;
    color: var(--app-table-head-color) !important;
    border-color: var(--app-table-head-border) !important;
    font-weight: 700;
}

.jyotishi-rating-breakdown-table tbody td {
    vertical-align: middle;
}

.jyotishi-rating-breakdown-table tbody tr.is-active > * {
    background: rgba(80, 23, 128, 0.08);
}

.jyotishi-rating-breakdown-table__month-link {
    color: var(--astro-text);
    font-weight: 700;
    text-decoration: none;
}

.jyotishi-rating-breakdown-table__month-link:hover {
    color: var(--link-hover);
}

.jyotishi-rating-breakdown-table__score {
    font-weight: 700;
}

.metric-card.jyotishi-rating-stat-card {
    position: relative;
    overflow: hidden;
    min-height: 100%;
    border-radius: 1.35rem;
    border: 1px solid rgba(80, 23, 128, 0.12);
    background:
        radial-gradient(circle at top right, rgba(255, 199, 37, 0.16), transparent 36%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 242, 234, 0.96));
    box-shadow: 0 18px 30px rgba(80, 23, 128, 0.08);
    padding: 1.25rem;
}

.metric-card.jyotishi-rating-stat-card::after {
    content: "";
    position: absolute;
    inset: auto 1.15rem 0.85rem 1.15rem;
    height: 3px;
    border-radius: 999px;
    background: linear-gradient(90deg, rgba(80, 23, 128, 0.78), rgba(255, 199, 37, 0.9));
    opacity: 0.45;
}

.metric-card.jyotishi-rating-stat-card--highlight {
    background:
        radial-gradient(circle at top right, rgba(255, 199, 37, 0.32), transparent 34%),
        linear-gradient(135deg, #fff7d8, #ffeab1);
    border-color: rgba(80, 23, 128, 0.3);
    box-shadow: 0 22px 36px rgba(80, 23, 128, 0.12);
}

.metric-card.jyotishi-rating-stat-card .text-muted,
.metric-card.jyotishi-rating-stat-card .display-6,
.metric-card.jyotishi-rating-stat-card .small {
    position: relative;
    z-index: 1;
}

.metric-card.jyotishi-rating-stat-card--highlight .text-muted,
.metric-card.jyotishi-rating-stat-card--highlight .display-6,
.metric-card.jyotishi-rating-stat-card--highlight .small {
    color: #4a1b73 !important;
}

.metric-card.jyotishi-rating-stat-card--highlight .rating-stars-display {
    color: #f0af2c;
}

[data-theme="dark"] .metric-card.jyotishi-rating-stat-card {
    background:
        radial-gradient(circle at top right, rgba(255, 199, 37, 0.08), transparent 34%),
        linear-gradient(145deg, rgba(36, 22, 58, 0.96), rgba(22, 14, 38, 0.98));
    border-color: rgba(255, 220, 150, 0.18);
    box-shadow: 0 18px 30px rgba(0, 0, 0, 0.28);
}

[data-theme="dark"] .metric-card.jyotishi-rating-stat-card .text-muted,
[data-theme="dark"] .metric-card.jyotishi-rating-stat-card .small {
    color: rgba(255, 240, 214, 0.78) !important;
}

[data-theme="dark"] .metric-card.jyotishi-rating-stat-card .display-6,
[data-theme="dark"] .metric-card.jyotishi-rating-stat-card .fw-bold,
[data-theme="dark"] .metric-card.jyotishi-rating-stat-card .fw-semibold {
    color: #fff4dc !important;
}

[data-theme="dark"] .metric-card.jyotishi-rating-stat-card--highlight .text-muted,
[data-theme="dark"] .metric-card.jyotishi-rating-stat-card--highlight .small,
[data-theme="dark"] .metric-card.jyotishi-rating-stat-card--highlight .display-6,
[data-theme="dark"] .metric-card.jyotishi-rating-stat-card--highlight .fw-bold,
[data-theme="dark"] .metric-card.jyotishi-rating-stat-card--highlight .fw-semibold {
    color: #fff4dc !important;
}

.user-rating-card__label {
    font-size: .86rem;
    font-weight: 700;
    color: var(--astro-muted);
    letter-spacing: .01em;
}

.rating-input-group {
    display: inline-flex;
    flex-direction: row-reverse;
    gap: .2rem;
    width: fit-content;
}

.rating-input-group input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.rating-input-group label {
    cursor: pointer;
    color: #d2c1a6;
    font-size: 1.7rem;
    line-height: 1;
    transition: color .18s ease, transform .18s ease;
}

.rating-input-group label:hover,
.rating-input-group label:hover ~ label,
.rating-input-group input:checked ~ label {
    color: #f2b63d;
}

.rating-input-group label:hover {
    transform: translateY(-1px);
}

.rating-tooltip .tooltip-inner {
    font-size: .78rem;
    font-weight: 700;
    border-radius: .7rem;
    padding: .42rem .62rem;
    box-shadow: 0 12px 24px rgba(19, 11, 31, 0.16);
}

.tooltip.rating-tooltip {
    pointer-events: none;
}

.rating-tooltip .tooltip-arrow::before {
    border-top-color: inherit;
}

.rating-tooltip--excellent .tooltip-inner {
    background: linear-gradient(135deg, #198754, #3cbf7a);
    color: #f7fff9;
}

.rating-tooltip--excellent .tooltip-arrow::before {
    border-top-color: #2aa866;
}

.rating-tooltip--good .tooltip-inner {
    background: linear-gradient(135deg, #7a9f1c, #b7c92d);
    color: #fffef3;
}

.rating-tooltip--good .tooltip-arrow::before {
    border-top-color: #97b526;
}

.rating-tooltip--okay .tooltip-inner {
    background: linear-gradient(135deg, #c98a1d, #f2b63d);
    color: #fffaf0;
}

.rating-tooltip--okay .tooltip-arrow::before {
    border-top-color: #de9f2e;
}

.rating-tooltip--weak .tooltip-inner {
    background: linear-gradient(135deg, #c7632a, #ea8b52);
    color: #fff7f2;
}

.rating-tooltip--weak .tooltip-arrow::before {
    border-top-color: #d97842;
}

.rating-tooltip--bad .tooltip-inner {
    background: linear-gradient(135deg, #b12d35, #e0515a);
    color: #fff6f7;
}

.rating-tooltip--bad .tooltip-arrow::before {
    border-top-color: #cb424b;
}

.question-meta-item__value--rating {
    justify-content: flex-start;
}

.home-testimonials-section {
    position: relative;
    padding: 1rem 0 2rem;
}

.home-testimonials-section__header {
    max-width: 46rem;
    margin: 0 auto 2rem;
}

.home-testimonials-section .section-label {
    background: linear-gradient(135deg, rgba(255, 228, 171, 0.28), rgba(243, 188, 103, 0.18));
    border: 1px solid rgba(255, 198, 92, 0.3);
    color: #ffbf2f;
    text-shadow: 0 1px 0 rgba(22, 8, 2, 0.28);
    box-shadow: 0 10px 24px rgba(18, 8, 31, 0.12);
}

.home-testimonials-section .section-label i {
    color: #ffbf2f;
}

.home-testimonials-section__title {
    margin: .7rem 0 .65rem;
    font-size: clamp(1.9rem, 3.4vw, 2.5rem);
    color: #fff2dc;
}

.home-testimonials-section__text {
    margin: 0;
    color: rgba(255, 242, 220, 0.78);
    line-height: 1.75;
}

.home-testimonial-card {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.2rem;
    border-radius: 1.35rem;
    border: 1px solid rgba(243, 188, 103, 0.18);
    background:
        radial-gradient(circle at top left, rgba(243, 188, 103, 0.15), transparent 34%),
        linear-gradient(145deg, rgba(30, 19, 47, 0.96), rgba(15, 11, 25, 0.98));
    box-shadow: 0 22px 42px rgba(0, 0, 0, 0.22);
}

.home-testimonial-card--interactive {
    cursor: pointer;
}

.home-testimonial-card--interactive:focus-visible {
    outline: 2px solid rgba(255, 217, 128, 0.9);
    outline-offset: 4px;
}

.home-testimonial-card__top {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex: 1 1 auto;
    min-width: 0;
}

.home-testimonial-card__avatar {
    width: 4rem;
    height: 4rem;
    border-radius: 1.15rem;
    object-fit: cover;
    border: 1px solid rgba(243, 188, 103, 0.24);
    background: rgba(255, 255, 255, 0.08);
}

.home-testimonial-card__meta {
    min-width: 0;
}

.home-testimonial-card__name {
    margin: 0 0 .15rem;
    color: #fff4e0;
    font-size: 1.05rem;
}

.home-testimonial-card__specialization {
    color: rgba(255, 242, 220, 0.72);
    font-size: .9rem;
}

.home-testimonial-card__stars {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    margin-top: .45rem;
    color: #ffd980;
    font-weight: 700;
}

.home-testimonial-card__quote {
    margin: 0;
    color: rgba(255, 244, 224, 0.92);
    line-height: 1.8;
}

.home-testimonial-card__footer {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: .5rem;
    flex: 0 0 auto;
    margin-left: auto;
    color: rgba(255, 242, 220, 0.64);
    font-size: .84rem;
    text-transform: uppercase;
    letter-spacing: .06em;
}

.home-testimonial-card__profile-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 1.7rem;
    padding: .2rem .62rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 217, 128, 0.28);
    background: rgba(255, 217, 128, 0.12);
    color: #ffe4a1;
    font-size: .68rem;
    font-weight: 700;
    letter-spacing: .02em;
    text-transform: none;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.jyotishi-rating-summary {
    display: grid;
    gap: .35rem;
    justify-items: center;
    text-align: center;
}

.jyotishi-rating-summary__meta {
    display: grid;
    gap: .12rem;
    justify-items: center;
    text-align: center;
}

.jyotishi-rating-summary__meta strong {
    color: var(--astro-text);
}

.jyotishi-rating-summary__meta span {
    color: var(--astro-muted);
    font-size: .84rem;
}

.jyotishi-rating-list {
    display: grid;
    gap: 1rem;
}

.jyotishi-rating-month-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: .9rem;
}

.jyotishi-rating-month-card {
    display: grid;
    gap: .28rem;
    padding: 1rem 1.05rem;
    border-radius: 1rem;
    border: 1px solid var(--astro-border);
    background: rgba(255, 255, 255, 0.88);
    color: inherit;
    text-decoration: none;
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.jyotishi-rating-month-card:hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 24px rgba(24, 15, 42, 0.08);
}

.jyotishi-rating-month-card.is-active {
    border-color: rgba(95, 33, 148, 0.32);
    background: linear-gradient(180deg, rgba(104, 39, 161, 0.08), rgba(255, 255, 255, 0.95));
    box-shadow: 0 12px 28px rgba(95, 33, 148, 0.12);
}

.jyotishi-rating-month-card__label {
    color: var(--astro-muted);
    font-size: .84rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .04em;
}

.jyotishi-rating-month-card__value {
    color: var(--astro-text);
    font-size: 1.12rem;
    font-weight: 800;
}

.jyotishi-rating-month-card__meta {
    color: var(--astro-muted);
    font-size: .84rem;
}

.jyotishi-rating-list__item {
    padding: 1rem 1.05rem;
    border-radius: 1.15rem;
    border: 1px solid var(--astro-border);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 243, 235, 0.94));
}

.jyotishi-rating-list__top {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    align-items: flex-start;
}

.jyotishi-rating-list__title {
    color: var(--astro-text);
}

.jyotishi-rating-list__meta {
    color: var(--astro-muted);
    font-size: .88rem;
}

.jyotishi-rating-list__score {
    margin-top: .24rem;
    color: var(--astro-text);
    font-size: .84rem;
    font-weight: 700;
}

.jyotishi-rating-list__body {
    margin-top: .8rem;
    color: var(--astro-text);
    line-height: 1.75;
    white-space: pre-line;
}

.jyotishi-rating-list__empty {
    padding: 1.3rem;
    border: 1px dashed var(--astro-border);
    border-radius: 1rem;
    color: var(--astro-muted);
    text-align: center;
    background: rgba(255, 255, 255, 0.62);
}

[data-theme="light"] .home-cosmic-page {
    background: linear-gradient(180deg, #f8f2e8 0%, #fffaf1 42%, #efe7db 100%);
    color: var(--astro-text);
}

[data-theme="light"] .home-cosmic-page__video-backdrop {
    background: #f6efe4;
}

[data-theme="light"] .home-cosmic-page__video-backdrop::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(255, 248, 236, 0.78) 0%, rgba(255, 251, 243, 0.64) 42%, rgba(243, 233, 220, 0.74) 100%),
        radial-gradient(circle at top left, rgba(255, 208, 84, 0.12), transparent 24%);
}

[data-theme="light"] .home-cosmic-page__video {
    filter: saturate(.82) brightness(1.18) contrast(.9);
    opacity: .42;
}

[data-theme="light"] .home-floating-menu-toggle {
    border-color: rgba(80, 23, 128, 0.12);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.94) 0%, rgba(244, 236, 226, 0.96) 100%);
    color: var(--astro-primary);
    box-shadow: 0 18px 36px rgba(80, 23, 128, 0.14);
}

[data-theme="light"] .home-floating-menu-toggle__icon span {
    background: linear-gradient(90deg, rgba(80, 23, 128, 0.95), rgba(164, 103, 34, 0.88));
    box-shadow: none;
}

[data-theme="dark"] .home-floating-menu-toggle {
    border-color: rgba(255, 208, 84, 0.24);
    background:
        linear-gradient(180deg, rgba(24, 18, 46, 0.96) 0%, rgba(8, 8, 20, 0.98) 100%);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.48);
}

[data-theme="dark"] .home-floating-menu-toggle__icon span {
    background: linear-gradient(90deg, #fff7dd 0%, #ffd978 100%);
    box-shadow: 0 0 0 1px rgba(28, 18, 52, 0.18), 0 0 12px rgba(255, 208, 84, 0.4);
}

[data-theme="light"] .home-menu-offcanvas {
    background:
        radial-gradient(circle at top, rgba(255, 208, 84, 0.18), transparent 24%),
        linear-gradient(180deg, rgba(255, 252, 245, 0.98) 0%, rgba(244, 236, 226, 0.98) 100%);
    color: var(--astro-text);
    border-left: 1px solid rgba(80, 23, 128, 0.12);
}

[data-theme="light"] .home-menu-offcanvas .offcanvas-header,
[data-theme="light"] .home-menu-profile,
[data-theme="light"] .home-menu-link {
    border-color: rgba(80, 23, 128, 0.1);
}

[data-theme="light"] .home-menu-profile,
[data-theme="light"] .home-menu-link {
    background: rgba(255, 255, 255, 0.72);
    color: var(--astro-text);
}

[data-theme="light"] .home-menu-profile__label {
    color: var(--astro-muted);
}

[data-theme="light"] .home-menu-link:hover,
[data-theme="light"] .home-menu-link:focus,
[data-theme="light"] .home-menu-link.is-active {
    color: var(--astro-primary);
    background: rgba(255, 208, 84, 0.18);
}

[data-theme="light"] .home-cosmic-copy {
    text-shadow: none;
}

[data-theme="light"] .home-cosmic-copy__title span:first-child {
    color: #c67a10;
}

[data-theme="light"] .home-cosmic-copy__title span:nth-child(2),
[data-theme="light"] .home-cosmic-copy__title span:nth-child(3),
[data-theme="light"] .home-category-selection__title {
    color: #2d173f;
    text-shadow: none;
}

[data-theme="light"] .home-cosmic-copy__description,
[data-theme="light"] .home-category-selection__intro {
    color: rgba(44, 51, 64, 0.82);
}

[data-theme="light"] .home-category-selection__notice {
    background:
        linear-gradient(135deg, rgba(255, 208, 84, 0.22), rgba(123, 92, 255, 0.08));
    border-color: rgba(198, 122, 16, 0.18);
    box-shadow: 0 18px 34px rgba(80, 23, 128, 0.08);
}

[data-theme="light"] .home-category-selection__notice-text {
    color: #341c49;
}

[data-theme="light"] .home-cosmic-wheel-wrap__glow {
    background: radial-gradient(circle, rgba(28, 19, 43, 0.22) 0%, rgba(28, 19, 43, 0.12) 36%, transparent 72%);
    filter: blur(24px);
}

[data-theme="light"] .home-cosmic-wheel--dark {
    display: none;
}

[data-theme="light"] .home-cosmic-wheel--light {
    display: block;
}

[data-theme="light"] .home-category-selection__eyebrow {
    background: rgba(255, 208, 84, 0.18);
    border-color: rgba(198, 122, 16, 0.2);
    color: #8b570b;
}

[data-theme="light"] .home-feature-links {
    background:
        radial-gradient(circle at top center, rgba(255, 208, 84, 0.16), transparent 26%),
        linear-gradient(180deg, rgba(255, 249, 239, 0.92) 0%, rgba(241, 233, 222, 0.96) 100%);
    border-top: 1px solid rgba(80, 23, 128, 0.1);
    border-bottom: 1px solid rgba(80, 23, 128, 0.08);
}

[data-theme="light"] .home-feature-link-card,
[data-theme="light"] .home-cosmic-page .home-category-card {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.9) 0%, rgba(245, 237, 227, 0.94) 100%);
    border-color: rgba(80, 23, 128, 0.12);
    box-shadow: 0 16px 30px rgba(80, 23, 128, 0.12);
    backdrop-filter: blur(10px);
}

[data-theme="light"] .home-feature-link-card:hover,
[data-theme="light"] .home-feature-link-card:focus,
[data-theme="light"] .home-cosmic-page .home-category-card:hover {
    box-shadow: 0 20px 34px rgba(80, 23, 128, 0.16);
}

[data-theme="light"] .home-feature-link-card__title,
[data-theme="light"] .home-cosmic-page .home-category-title {
    color: #2d173f;
}

[data-theme="light"] .home-feature-link-card__text,
[data-theme="light"] .home-cosmic-page .home-category-subtitle {
    color: rgba(44, 51, 64, 0.78);
}

[data-theme="light"] .home-feature-link-card__eyebrow,
[data-theme="light"] .home-feature-link-card__action,
[data-theme="light"] .home-cosmic-page .home-category-price {
    color: #8b570b;
}

[data-theme="light"] .home-cosmic-page .home-category-price {
    background: rgba(255, 208, 84, 0.18);
    border-color: rgba(198, 122, 16, 0.18);
}

[data-theme="light"] .home-cosmic-page .home-category-icon {
    background: linear-gradient(180deg, rgba(255, 242, 214, 0.96), rgba(255, 255, 255, 0.96));
}

[data-theme="light"] .home-cosmic-page .home-category-check {
    background: rgba(80, 23, 128, 0.05);
    border-color: rgba(80, 23, 128, 0.12);
}

[data-theme="light"] .home-testimonials-section__title {
    color: #34213f;
}

[data-theme="light"] .home-testimonials-section__text {
    color: rgba(52, 33, 63, 0.74);
}

[data-theme="light"] .home-testimonials-section .section-label {
    background: linear-gradient(135deg, rgba(255, 237, 197, 0.92), rgba(255, 220, 146, 0.88));
    border-color: rgba(223, 163, 41, 0.24);
    color: #c68600;
    text-shadow: none;
    box-shadow: 0 12px 30px rgba(180, 128, 12, 0.12);
}

[data-theme="light"] .home-testimonial-card {
    border-color: rgba(170, 129, 223, 0.16);
    background:
        radial-gradient(circle at top left, rgba(243, 188, 103, 0.18), transparent 34%),
        linear-gradient(145deg, rgba(255, 255, 255, 0.96), rgba(247, 240, 231, 0.95));
    box-shadow: 0 18px 32px rgba(80, 23, 128, 0.08);
}

[data-theme="light"] .home-testimonial-card__name {
    color: #2f2140;
}

[data-theme="light"] .home-testimonial-card__specialization,
[data-theme="light"] .home-testimonial-card__footer {
    color: rgba(47, 33, 64, 0.66);
}

[data-theme="light"] .home-testimonial-card__profile-btn {
    border-color: rgba(93, 31, 141, 0.18);
    background: rgba(93, 31, 141, 0.08);
    color: #5d1f8d;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.72),
        0 6px 14px rgba(93, 31, 141, 0.08);
}

[data-theme="light"] .home-testimonial-card__quote {
    color: rgba(44, 51, 64, 0.9);
}

.home-cosmic-page .home-category-card {
    background: linear-gradient(180deg, rgba(97, 42, 146, 0.48) 0%, rgba(20, 14, 40, 0.68) 100%);
    border-color: rgba(255, 208, 84, 0.28);
    backdrop-filter: blur(14px);
}

.home-cosmic-page .home-category-card:hover {
    box-shadow: 0 20px 34px rgba(0, 0, 0, 0.34);
}

.home-cosmic-page .home-category-title {
    color: #fff;
}

.home-cosmic-page .home-category-subtitle {
    color: rgba(255, 255, 255, 0.72);
}

.home-cosmic-page .home-category-price {
    background: rgba(255, 208, 84, 0.16);
    color: #ffd978;
    border: 1px solid rgba(255, 208, 84, 0.24);
}

.home-cosmic-page .home-category-icon {
    background: rgba(255, 255, 255, 0.95);
}

.home-cosmic-page .home-category-check {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.18);
}

.home-cosmic-page .home-category-selectable.is-selected {
    background: linear-gradient(180deg, #ffd465 0%, #f4bc52 100%);
    border-color: #ffe3a7;
    box-shadow: 0 22px 36px rgba(239, 182, 79, 0.22);
}

.home-cosmic-page .home-category-selectable.is-selected .home-category-title,
.home-cosmic-page .home-category-selectable.is-selected .home-category-subtitle {
    color: #35144f;
}

.home-floating-ask {
    background: transparent !important;
    border-color: transparent !important;
    border-width: 0 !important;
    box-shadow: none;
    outline: 0;
    color: #fff;
}

.home-floating-ask:hover,
.home-floating-ask:focus,
.home-floating-ask:active,
.home-floating-ask:focus-visible {
    background: transparent !important;
    border-color: transparent !important;
    box-shadow: none;
    outline: 0;
    color: #fff;
}

.home-floating-ask:hover .home-floating-ask__price,
.home-floating-ask:focus .home-floating-ask__price,
.home-floating-ask:hover .home-floating-ask__discount,
.home-floating-ask:focus .home-floating-ask__discount {
    background: linear-gradient(180deg, #f25545 0%, #f75d4b 100%);
}

.home-floating-ask:hover .home-floating-ask__cta,
.home-floating-ask:focus .home-floating-ask__cta {
    background: linear-gradient(180deg, #f4c83b 0%, #f7d45d 100%);
    color: #241300;
}

@keyframes homeFloatingMenuGlow {
    0%,
    100% {
        opacity: .42;
        transform: scale(.74);
    }
    50% {
        opacity: .78;
        transform: scale(1);
    }
}

@keyframes homeFloatingAskFocus {
    0%,
    100% {
        transform: translateY(-50%) translateX(-18px);
    }
    50% {
        transform: translateY(-50%) translateX(0);
    }
}

@keyframes homeHamburgerSlide {
    0%,
    100% {
        transform: translateX(-18%) scaleX(.86);
        filter: brightness(.96);
    }
    50% {
        transform: translateX(18%) scaleX(1);
        filter: brightness(1.18);
    }
    75% {
        transform: translateX(2%) scaleX(.92);
        filter: brightness(1.06);
    }
}

@keyframes homeWheelSpin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(-360deg);
    }
}

@media (max-width: 991.98px) {
    .pending-payment-banner__inner {
        grid-template-columns: 1fr;
        justify-items: start;
        text-align: left;
    }

    .pending-payment-banner__actions {
        width: 100%;
        justify-content: flex-start;
    }

    .site-footer,
    .site-footer [class*="col-"],
    .footer-bottom {
        text-align: center;
    }

    .site-footer .row,
    .site-footer .d-flex,
    .footer-bottom {
        justify-content: center;
        align-items: center;
    }

    .site-footer .footer-logo + div,
    .site-footer .footer-logo + div h5,
    .site-footer .footer-logo + div .small {
        text-align: left !important;
    }

    .site-footer .footer-mobile-two-col {
        width: 50%;
        flex: 0 0 50%;
        text-align: center !important;
        align-self: flex-start;
    }

    .site-footer .footer-mobile-two-col .footer-links,
    .site-footer .footer-mobile-two-col h6 {
        text-align: center !important;
    }

    .site-footer .footer-mobile-two-col .footer-links li {
        margin-bottom: .5rem;
    }

    .astro-navbar .container {
        flex-wrap: wrap;
    }

    .astro-navbar .navbar-brand {
        flex: 1 1 0;
        min-width: 0;
        gap: .75rem !important;
        margin-right: .5rem;
    }

    .astro-navbar .navbar-brand strong {
        display: block;
        font-size: 1.05rem;
        line-height: 1.1;
    }

    .astro-navbar .navbar-brand small {
        font-size: .62rem;
        line-height: 1.2;
    }

    .astro-navbar .site-logo {
        width: 48px;
        height: 48px;
        border-radius: 12px;
    }

    .navbar-mobile-quick-actions,
    .astro-navbar .navbar-toggler {
        flex: 0 0 auto;
    }

    .astro-navbar .navbar-collapse {
        flex-basis: 100%;
        margin-top: .9rem;
        padding: 1rem;
        border-radius: 1.35rem;
        background: rgba(18, 16, 37, 0.9);
        border: 1px solid rgba(255, 255, 255, 0.12);
        box-shadow: 0 18px 40px rgba(3, 8, 20, 0.28);
    }

    .navbar-menu-pills {
        align-items: stretch;
        gap: .55rem;
        padding: 0;
        border: 0;
        border-radius: 0;
        background: transparent;
        box-shadow: none;
        backdrop-filter: none;
    }

    .navbar-menu-pills__item {
        width: 100%;
    }

    .astro-navbar .navbar-menu-pills .nav-link {
        width: 100%;
        justify-content: center;
        padding-inline: 1rem;
        background: rgba(255, 255, 255, 0.06);
    }

    .astro-navbar .navbar-actions {
        flex-direction: column;
        align-items: stretch !important;
        gap: .75rem !important;
        width: 100%;
        margin-top: 1rem;
    }

    .astro-navbar .navbar-actions > * {
        width: 100%;
    }

    .astro-navbar .navbar-actions .btn,
    .astro-navbar .navbar-actions .navbar-user-toggle {
        width: 100%;
        justify-content: center;
    }

    .astro-navbar .navbar-actions__dropdown .dropdown-menu {
        position: static !important;
        transform: none !important;
        inset: auto !important;
        width: 100%;
        margin-top: .5rem !important;
    }

    .navbar-mobile-quick-actions {
        margin-right: .5rem;
    }

    .home-cosmic-page .astro-navbar {
        display: block;
    }

    .home-cosmic-hero__container {
        padding-top: 4.25rem;
        padding-bottom: 1rem;
    }

    .home-cosmic-copy {
        text-align: center;
        margin-inline: auto;
        align-items: center;
        gap: 1rem;
    }

    .home-cosmic-copy__badge {
        margin-inline: auto;
    }

    .home-cosmic-copy__cta {
        align-self: center;
        justify-content: center;
    }

    .home-cosmic-wheel-wrap {
        min-height: 0;
        padding: .25rem 0 0;
    }

    .home-cosmic-wheel {
        width: min(100%, 23rem);
    }

    .home-cosmic-page__video {
        object-position: 56% center;
    }

    .home-category-selection {
        scroll-margin-top: 6.5rem;
    }
}

@media (max-width: 575.98px) {
    .pending-payment-banner {
        padding-top: .65rem;
    }

    .pending-payment-banner__inner {
        padding: .9rem 1rem 1rem;
        gap: .8rem;
        border-radius: 1.1rem;
    }

    .pending-payment-banner__title {
        font-size: 1rem;
    }

    .pending-payment-banner__text {
        font-size: .9rem;
    }

    .pending-payment-banner__button {
        width: 100%;
        text-align: center;
    }
}

@media (min-width: 992px) {
    .home-floating-menu-toggle,
    .home-menu-offcanvas {
        display: none !important;
    }

    .home-cosmic-wheel-wrap {
        justify-content: flex-end;
    }

    .home-cosmic-wheel-wrap__glow {
        right: 0;
        top: 50%;
        transform: translateY(-50%);
    }
}

@media (max-width: 767.98px) {
    .home-cosmic-page .home-category-card {
        flex-direction: column;
        justify-content: center;
        gap: .8rem !important;
        min-height: 100%;
        padding: 1.2rem .75rem 1rem;
        text-align: center;
    }

    .home-cosmic-page .home-category-card__content {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .home-cosmic-page .home-category-price {
        justify-content: center;
    }

    .home-cosmic-page .home-category-check {
        position: absolute;
        top: .7rem;
        right: .7rem;
    }

    .home-floating-menu-toggle {
        top: 1rem;
        right: 1rem;
        width: 4rem;
        height: 4rem;
        padding: 0;
        border-radius: 1.1rem;
    }

    .home-menu-offcanvas {
        width: min(86vw, 24rem);
    }

    .home-cosmic-hero__container {
        padding-top: var(--home-section-space);
        padding-bottom: .75rem;
    }

    .home-cosmic-page {
        --home-section-space: 3.75rem;
    }

    .home-cosmic-copy {
        max-width: 100%;
    }

    .home-cosmic-copy__title span:first-child {
        font-size: 2.9rem;
    }

    .home-cosmic-copy__title span:nth-child(2),
    .home-cosmic-copy__title span:nth-child(3) {
        font-size: 2rem;
    }

    .home-cosmic-copy__description {
        max-width: 100%;
        font-size: .98rem;
        line-height: 1.55;
    }

    .home-cosmic-copy__cta {
        width: fit-content;
        max-width: 100%;
    }

    .home-category-selection__title {
        font-size: 1.75rem;
    }

    .home-feature-link-card {
        padding: 1.15rem;
    }

    .home-feature-link-card__title {
        font-size: 1.7rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .home-cosmic-page__video {
        display: none;
    }

    .home-floating-ask,
    .home-floating-menu-toggle,
    .home-floating-menu-toggle::before,
    .home-floating-menu-toggle__icon span {
        animation: none !important;
        transition: none !important;
    }
}

.home-ask-auth-modal .modal-content {
    border-radius: 1.5rem;
    box-shadow: 0 1.5rem 3rem rgba(19, 12, 31, 0.18);
}

.home-ask-auth-modal {
    z-index: 10020;
}

body.home-ask-auth-modal-open .modal-backdrop {
    z-index: 10010;
}

.home-ask-auth-modal__icon {
    width: 72px;
    height: 72px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    font-size: 1.8rem;
    color: #5b34c6;
    background: linear-gradient(135deg, rgba(123, 92, 255, 0.16), rgba(255, 143, 31, 0.18));
}

.ask-profile-avatar {
    width: 72px;
    height: 72px;
    object-fit: cover;
}

.hero-glow {
    position: absolute;
    inset: auto auto 0 -10%;
    width: 420px;
    height: 420px;
    background: radial-gradient(circle, rgba(243, 188, 103, 0.35), transparent 70%);
    filter: blur(12px);
}

.hero-card,
.content-card,
.dashboard-card,
.astro-card {
    border: 1px solid var(--astro-border);
    background: var(--surface-bg);
    box-shadow: 0 18px 40px var(--astro-shadow);
    border-radius: 1.35rem;
    color: var(--astro-text);
}

.hero-card {
    padding: 2rem;
}

.section-label {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    padding: .45rem .95rem;
    border-radius: 999px;
    background: rgba(243, 188, 103, 0.16);
    color: var(--astro-secondary);
    font-weight: 600;
    letter-spacing: .03em;
    margin-bottom: 1rem;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3.6rem);
    font-weight: 600;
    line-height: 1.1;
}

.section-subtitle {
    color: var(--astro-muted);
    font-size: 1.05rem;
}

.stats-strip {
    margin-top: 2rem;
}

.stats-strip .stat-box {
    padding: 1rem 1.15rem;
    border-radius: 1rem;
    background: var(--surface-soft);
    border: 1px solid rgba(243, 188, 103, 0.25);
}

.section-block {
    padding: var(--page-section-top) 0 var(--page-section-bottom);
}

.astro-card {
    padding: 1.5rem;
    transition: transform .25s ease, box-shadow .25s ease;
    height: 100%;
}

.astro-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 24px 44px rgba(18, 25, 58, 0.12);
}

.blog-card-media,
.blog-detail-media {
    overflow: hidden;
    border-radius: 1rem;
    background: var(--surface-soft);
}

.blog-card-media__image,
.blog-detail-media__image {
    width: 100%;
    display: block;
    object-fit: cover;
}

.blog-card-media__image {
    height: 220px;
}

.blog-detail-media__image {
    max-height: 420px;
}

.admin-blog-image-preview,
.admin-blog-image-thumb {
    display: block;
    object-fit: cover;
    border-radius: .85rem;
    border: 1px solid var(--astro-border);
}

.admin-blog-image-preview {
    width: 100%;
    max-height: 220px;
}

.admin-blog-image-thumb {
    width: 88px;
    height: 56px;
}

.blog-editor {
    border: 1px solid var(--astro-border);
    border-radius: 1rem;
    overflow: hidden;
    background: var(--surface-strong);
}

.blog-editor__toolbar {
    display: flex;
    flex-wrap: nowrap;
    gap: .4rem;
    padding: .75rem;
    border-bottom: 1px solid var(--astro-border);
    background: var(--surface-soft);
    overflow-x: auto;
}

.blog-editor__tool-btn {
    appearance: none;
    -webkit-appearance: none;
    border: 1px solid rgba(80, 23, 128, 0.12);
    background: #fff;
    color: var(--astro-text);
    width: 3.2rem;
    min-width: 3.2rem;
    height: 3.2rem;
    padding: 0;
    border-radius: 999px;
    display: inline-grid;
    place-items: center;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    font-family: inherit;
    box-shadow: 0 0 0 1px rgba(124, 92, 188, 0.06), 0 2px 8px rgba(18, 25, 58, 0.04);
    transition: background .2s ease, border-color .2s ease, transform .2s ease, box-shadow .2s ease;
    cursor: pointer;
    line-height: 1;
}

.blog-editor__tool-btn:hover,
.blog-editor__tool-btn:focus {
    background: #fff;
    border-color: rgba(80, 23, 128, 0.2);
    color: var(--astro-text);
    transform: translateY(-1px);
    outline: none;
    box-shadow: 0 0 0 1px rgba(124, 92, 188, 0.12), 0 6px 16px rgba(18, 25, 58, 0.08);
}

.blog-editor__tool-btn::before,
.blog-editor__tool-btn::after {
    content: none !important;
    display: none !important;
}

.blog-editor__tool-btn--strong {
    font-weight: 700;
    font-size: 1rem;
}

.blog-editor__tool-btn--italic {
    font-style: italic;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1rem;
}

.blog-editor__tool-btn--heading {
    font-weight: 700;
    font-size: .92rem;
}

.blog-editor__tool-btn--icon {
    font-size: 1.05rem;
}

.blog-editor__tool-btn--icon i {
    line-height: 1;
    font-size: 1.05rem;
}

.blog-editor__surface {
    min-height: 320px;
    padding: 1rem 1.1rem;
    outline: none;
    line-height: 1.75;
    font-size: 1rem;
}

.blog-editor__surface:empty::before {
    content: "Blog content yaha lekhnu hos...";
    color: var(--astro-muted);
}

.blog-editor__surface p,
.blog-editor__surface ul,
.blog-editor__surface ol,
.blog-editor__surface blockquote,
.blog-editor__surface h2,
.blog-editor__surface h3 {
    margin-bottom: 1rem;
}

.blog-editor__surface ul,
.blog-editor__surface ol {
    padding-left: 1.4rem;
}

.blog-content p:last-child,
.blog-content ul:last-child,
.blog-content ol:last-child,
.blog-content blockquote:last-child {
    margin-bottom: 0;
}

.blog-content ul,
.blog-content ol {
    padding-left: 1.3rem;
}

.blog-content blockquote {
    margin: 1.25rem 0;
    padding: .85rem 1rem;
    border-left: 4px solid var(--astro-accent);
    background: var(--surface-soft);
    border-radius: .85rem;
}

.blog-content a {
    color: var(--astro-primary);
    text-decoration: underline;
}

.contact-page-shell {
    background:
        radial-gradient(circle at top left, rgba(225, 178, 83, 0.08), transparent 26%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(248, 243, 235, 0.98));
}

.contact-layout {
    display: grid;
    grid-template-columns: minmax(0, 420px) minmax(0, 1fr);
    gap: 2rem;
    align-items: start;
}

.contact-info-panel,
.contact-map-panel {
    background: var(--surface-strong);
    border: 1px solid var(--astro-border);
    border-radius: 1.5rem;
    box-shadow: 0 24px 50px rgba(18, 25, 58, 0.08);
}

.contact-info-panel {
    padding: 1.35rem 1.25rem 1.1rem;
}

.contact-info-panel__header {
    margin-bottom: 1rem;
}

.contact-info-panel__title {
    margin: 0;
    font-size: clamp(1.8rem, 3vw, 2.4rem);
    font-weight: 700;
}

.contact-info-list {
    display: grid;
}

.contact-info-item {
    display: grid;
    grid-template-columns: 3.5rem minmax(0, 1fr);
    gap: 1rem;
    align-items: start;
    padding: 1.25rem 0;
    border-top: 1px solid rgba(80, 23, 128, 0.12);
}

.contact-info-item:first-child {
    border-top: 0;
    padding-top: .8rem;
}

.contact-info-item__icon {
    width: 3rem;
    height: 3rem;
    border-radius: 999px;
    background: #ddb24b;
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.contact-info-item__label {
    color: #d2a03b;
    font-weight: 700;
    font-size: 1.15rem;
    margin-bottom: .35rem;
}

.contact-info-item__value {
    color: var(--astro-text);
    text-decoration: none;
    font-size: 1.1rem;
    line-height: 1.55;
}

.contact-info-item__value:hover {
    color: var(--astro-primary);
}

.contact-info-social {
    display: flex;
    gap: .9rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(80, 23, 128, 0.12);
}

.contact-info-social__link {
    width: 3.2rem;
    height: 3.2rem;
    border-radius: 999px;
    border: 1px solid rgba(221, 178, 75, 0.65);
    color: var(--astro-primary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    background: #fff;
    box-shadow: 0 6px 16px rgba(18, 25, 58, 0.05);
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease, color .2s ease;
}

.contact-info-social__link i {
    font-size: 1rem;
    line-height: 1;
}

.contact-info-social__link:hover,
.contact-info-social__link:focus {
    color: #d2a03b;
    border-color: #d2a03b;
    transform: translateY(-1px);
    box-shadow: 0 10px 20px rgba(18, 25, 58, 0.08);
}

.contact-map-panel {
    padding: 1.1rem;
}

.contact-map-panel__frame {
    overflow: hidden;
    border-radius: 1.2rem;
    border: 1px solid rgba(80, 23, 128, 0.08);
    min-height: 520px;
    background: #f3efe8;
}

.contact-map-panel__frame iframe {
    width: 100%;
    height: 520px;
    border: 0;
    display: block;
}

.settings-page {
    display: grid;
    gap: 1.25rem;
}

.settings-page__hero {
    background:
        radial-gradient(circle at top right, rgba(245, 191, 45, 0.2), transparent 28%),
        linear-gradient(135deg, rgba(80, 23, 128, 0.95), rgba(44, 17, 70, 0.98));
    color: #fff;
    padding: 1.5rem 1.6rem;
}

.settings-page__eyebrow {
    display: inline-flex;
    align-items: center;
    padding: .28rem .65rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.14);
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .05em;
    text-transform: uppercase;
    margin-bottom: .8rem;
}

.settings-page__title {
    margin: 0 0 .35rem;
    font-size: clamp(1.7rem, 2.8vw, 2.3rem);
    font-weight: 700;
    color: #fff;
}

.settings-page__subtitle {
    max-width: 44rem;
    color: rgba(255, 255, 255, 0.78);
}

.settings-page__form {
    display: grid;
    gap: 1.25rem;
}

.settings-section {
    padding: 1.15rem 1.2rem;
    height: 100%;
}

.settings-section__header {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: .85rem;
    padding-bottom: .75rem;
    border-bottom: 1px solid rgba(80, 23, 128, 0.12);
}

.settings-section__title {
    margin: 0 0 .25rem;
    font-size: 1.15rem;
    font-weight: 700;
}

.settings-section__description {
    color: var(--astro-muted);
    max-width: 44rem;
}

.settings-field__label {
    font-weight: 700;
    margin-bottom: .45rem;
}

.settings-field__control {
    min-height: 3rem;
    border-radius: .9rem;
    border-color: rgba(80, 23, 128, 0.14);
    padding-inline: .95rem;
    background: rgba(255, 255, 255, 0.96);
}

.settings-field__control--textarea {
    min-height: 7rem;
    padding-top: .8rem;
    padding-bottom: .8rem;
}

.settings-social-list {
    display: grid;
    gap: .9rem;
}

.settings-social-row {
    padding: 1rem;
    border: 1px solid rgba(80, 23, 128, 0.1);
    border-radius: 1rem;
    background: rgba(255, 255, 255, 0.7);
}

.settings-social-platform-preview {
    display: grid;
    grid-template-columns: 3rem minmax(0, 1fr);
    gap: .6rem;
    align-items: center;
}

.settings-social-platform-preview__icon {
    width: 3rem;
    height: 3rem;
    border-radius: .9rem;
    border: 1px solid rgba(80, 23, 128, 0.12);
    background: rgba(255, 255, 255, 0.96);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--astro-primary);
    font-size: 1.1rem;
}

.settings-social-platform-preview__label {
    font-weight: 600;
}

.settings-social-actions {
    display: flex;
    justify-content: flex-start;
    padding-top: .85rem;
}

.settings-page__actions {
    display: flex;
    justify-content: flex-end;
}

@media (max-width: 991.98px) {
    .contact-layout {
        grid-template-columns: 1fr;
    }

    .contact-map-panel__frame,
    .contact-map-panel__frame iframe {
        min-height: 360px;
        height: 360px;
    }
}

.blog-content p,
.blog-content ul,
.blog-content ol,
.blog-content blockquote,
.blog-content h2,
.blog-content h3 {
    margin-bottom: 1rem;
}

.astro-card .price-chip {
    display: inline-block;
    padding: .35rem .75rem;
    border-radius: 999px;
    background: rgba(18, 25, 58, 0.08);
    font-weight: 600;
}

.content-card {
    padding: 1.5rem;
}

.gradient-banner {
    background: linear-gradient(135deg, #2c1146 0%, #501780 52%, #d78c24 100%);
    color: #fff;
}

.section-block.bg-white,
.bg-white {
    background: var(--surface-strong) !important;
}

.bg-light {
    background: var(--surface-soft) !important;
}

.text-dark {
    color: var(--astro-text) !important;
}

.text-black,
.text-body {
    color: var(--astro-text) !important;
}

.text-body-secondary,
.text-body-tertiary,
.text-muted,
.small.text-muted,
.form-text {
    color: var(--astro-muted) !important;
}

.border,
.border-top,
.border-bottom,
.border-start,
.border-end {
    border-color: var(--astro-border) !important;
}

.rashi-grid .astro-card {
    text-align: center;
}

.rashifal-page {
    background:
        radial-gradient(circle at top left, rgba(255, 211, 123, 0.16), transparent 28%),
        radial-gradient(circle at top right, rgba(106, 63, 184, 0.14), transparent 24%),
        linear-gradient(180deg, #fcf7ee 0%, #fffdf9 38%, #f7f0e7 100%);
}

.rashifal-shell {
    position: relative;
    overflow: hidden;
    padding-top: 0;
}

.section-block.rashifal-shell {
    padding-top: 1.25rem;
}

.rashifal-layout {
    display: grid;
    grid-template-columns: minmax(16rem, 19rem) minmax(0, 1fr);
    gap: 1.5rem;
    align-items: start;
}

.rashifal-sidebar {
    position: static;
    border-radius: 1.5rem;
    padding: 1.4rem;
    background:
        linear-gradient(180deg, rgba(80, 23, 128, 0.98) 0%, rgba(47, 17, 78, 0.97) 100%);
    color: #fff;
    box-shadow: 0 24px 44px rgba(34, 14, 59, 0.22);
}

.rashifal-sidebar__eyebrow,
.rashifal-board__eyebrow {
    display: inline-flex;
    align-items: center;
    min-height: 2rem;
    padding: .35rem .8rem;
    border-radius: 999px;
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.rashifal-sidebar__eyebrow {
    color: #ffd978;
    background: rgba(255, 214, 121, 0.12);
    border: 1px solid rgba(255, 214, 121, 0.22);
}

.rashifal-sidebar__title {
    margin: 1rem 0 .55rem;
    color: #fff;
    font-size: clamp(2rem, 4vw, 2.65rem);
}

.rashifal-sidebar__text {
    margin: 0;
    color: rgba(255, 255, 255, 0.74);
    line-height: 1.75;
}

.rashifal-mobile-filter-trigger {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    width: 2.9rem;
    height: 2.9rem;
    min-height: 2.9rem;
    padding: 0;
    border-radius: 1rem;
    font-weight: 700;
    flex: 0 0 2.9rem;
}

.rashifal-filter-list {
    display: grid;
    gap: .8rem;
    margin-top: 1.35rem;
}

.rashifal-mobile-offcanvas {
    border-right: 1px solid var(--astro-border);
    background:
        radial-gradient(circle at top right, rgba(255, 208, 84, 0.12), transparent 26%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(245, 238, 228, 0.98));
}

.rashifal-mobile-offcanvas .offcanvas-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid var(--astro-border);
    padding: 1rem 1rem .9rem;
}

.rashifal-mobile-offcanvas .offcanvas-header .btn-close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    margin: 0;
    padding: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.9);
    box-shadow:
        0 10px 20px rgba(80, 23, 128, 0.08),
        inset 0 0 0 1px rgba(80, 23, 128, 0.12);
    opacity: 1;
}

.rashifal-mobile-offcanvas .offcanvas-header .btn-close::before {
    content: "\00d7";
    font-size: 1.6rem;
    line-height: 1;
    color: #6a5d83;
}

.rashifal-mobile-offcanvas .offcanvas-body {
    padding: 1rem;
}

.rashifal-mobile-offcanvas__close {
    margin-left: auto;
    margin-bottom: .85rem;
    width: 2.5rem;
    height: 2.5rem;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    border: 1px solid rgba(80, 23, 128, 0.14);
    background: rgba(255, 255, 255, 0.9);
    color: #6a5d83;
    box-shadow: 0 10px 20px rgba(80, 23, 128, 0.08);
}

.rashifal-mobile-offcanvas__close span {
    font-size: 1.7rem;
    line-height: 1;
}

.rashifal-mobile-offcanvas .rashifal-filter-list {
    margin-top: 0;
}

.rashifal-mobile-offcanvas .rashifal-filter-pill {
    background: rgba(255, 255, 255, 0.82);
    border-color: rgba(80, 23, 128, 0.1);
    color: var(--astro-text);
    box-shadow: 0 10px 20px rgba(80, 23, 128, 0.04);
}

.rashifal-mobile-offcanvas a.rashifal-filter-pill:not(.btn):not(.nav-link):not(.navbar-brand):not(.dropdown-item),
.rashifal-mobile-offcanvas a.rashifal-filter-pill:not(.btn):not(.nav-link):not(.navbar-brand):not(.dropdown-item):visited {
    color: var(--astro-text);
}

.rashifal-mobile-offcanvas a.rashifal-filter-pill:not(.btn):not(.nav-link):not(.navbar-brand):not(.dropdown-item):hover,
.rashifal-mobile-offcanvas a.rashifal-filter-pill:not(.btn):not(.nav-link):not(.navbar-brand):not(.dropdown-item):focus {
    background: #fff;
    border-color: rgba(80, 23, 128, 0.18);
    color: var(--astro-text);
}

.rashifal-mobile-offcanvas .rashifal-filter-pill__label {
    color: var(--astro-text);
}

.rashifal-mobile-offcanvas .rashifal-filter-pill__hint {
    color: var(--astro-muted);
}

.rashifal-filter-pill {
    display: flex;
    flex-direction: column;
    gap: .2rem;
    padding: .95rem 1rem;
    border-radius: 1.15rem;
    text-decoration: none;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
    transition: transform .2s ease, background .2s ease, border-color .2s ease, box-shadow .2s ease;
}

a.rashifal-filter-pill:not(.btn):not(.nav-link):not(.navbar-brand):not(.dropdown-item),
a.rashifal-filter-pill:not(.btn):not(.nav-link):not(.navbar-brand):not(.dropdown-item):visited {
    color: rgba(255, 255, 255, 0.94);
}

a.rashifal-filter-pill:not(.btn):not(.nav-link):not(.navbar-brand):not(.dropdown-item):hover,
a.rashifal-filter-pill:not(.btn):not(.nav-link):not(.navbar-brand):not(.dropdown-item):focus {
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 214, 121, 0.26);
    color: #fff;
}

.rashifal-filter-pill.is-active {
    background: linear-gradient(135deg, #ffd56f, #efb64f);
    border-color: #ffe4ab;
    color: #35144f;
    box-shadow: 0 16px 30px rgba(239, 182, 79, 0.26);
}

a.rashifal-filter-pill.is-active:not(.btn):not(.nav-link):not(.navbar-brand):not(.dropdown-item),
a.rashifal-filter-pill.is-active:not(.btn):not(.nav-link):not(.navbar-brand):not(.dropdown-item):visited,
a.rashifal-filter-pill.is-active:not(.btn):not(.nav-link):not(.navbar-brand):not(.dropdown-item):hover,
a.rashifal-filter-pill.is-active:not(.btn):not(.nav-link):not(.navbar-brand):not(.dropdown-item):focus {
    background: linear-gradient(135deg, #ffd56f, #efb64f);
    border-color: #ffe4ab;
    color: #35144f;
}

.rashifal-filter-pill__label {
    color: inherit;
    font-weight: 700;
    font-size: 1rem;
    line-height: 1.2;
}

.rashifal-filter-pill__hint {
    color: inherit;
    font-size: .82rem;
    opacity: .75;
}

.rashifal-board {
    display: grid;
    gap: 1.35rem;
}

.rashifal-board__hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.5rem 1.6rem;
    border-radius: 1.5rem;
    background:
        radial-gradient(circle at top right, rgba(245, 191, 45, 0.18), transparent 24%),
        radial-gradient(circle at bottom left, rgba(124, 58, 237, 0.12), transparent 28%),
        linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(249, 244, 235, 0.95));
}

.rashifal-board__eyebrow {
    color: var(--astro-primary);
    background: rgba(80, 23, 128, 0.08);
    border: 1px solid rgba(80, 23, 128, 0.08);
}

.rashifal-board__title {
    margin: 0;
    color: var(--astro-text);
    font-size: clamp(2rem, 4vw, 3rem);
}

.rashifal-board__date {
    margin-top: .35rem;
    color: var(--astro-muted);
    font-size: .9rem;
    font-weight: 600;
}

.rashifal-board__text {
    margin: 0;
    max-width: 44rem;
    color: var(--astro-muted);
    line-height: 1.7;
}

.rashifal-board__meta {
    min-width: 0;
    padding: .72rem .9rem;
    border-radius: 1.1rem;
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(80, 23, 128, 0.1);
    color: var(--astro-text);
}

.rashifal-board__meta-label {
    display: block;
    color: var(--astro-muted);
    font-size: .78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .08em;
}

.rashifal-board__meta strong {
    display: block;
    margin-top: .15rem;
    font-size: .98rem;
}

.rashifal-card {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    padding: 1rem;
    text-align: left;
    border-radius: 1.4rem;
    border: 1px solid rgba(80, 23, 128, 0.1);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(248, 242, 232, 0.96) 100%);
    box-shadow: 0 16px 34px rgba(24, 15, 37, 0.08);
    transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}

.rashifal-card:hover,
.rashifal-card:focus {
    transform: translateY(-4px);
    border-color: rgba(239, 182, 79, 0.36);
    box-shadow: 0 24px 42px rgba(24, 15, 37, 0.12);
}

.rashifal-card__body {
    display: grid;
    gap: .32rem;
    justify-items: start;
    text-align: left;
}

.rashifal-card__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .8rem;
    width: 100%;
}

.rashifal-card__heading {
    display: grid;
    gap: .18rem;
    justify-items: start;
    min-width: 0;
    flex: 1 1 auto;
}

.rashifal-card__icon-wrap {
    width: 3rem;
    display: inline-flex;
    align-items: center;
    justify-content: flex-end;
    flex: 0 0 3rem;
    margin-left: auto;
}

.rashifal-card__name-stack {
    display: flex;
    align-items: baseline;
    gap: .5rem;
    flex-wrap: wrap;
    line-height: .95;
}

.rashifal-card__icon,
.rashifal-modal__icon {
    width: 3rem;
    height: 3rem;
    flex: 0 0 3rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 0;
    background: transparent;
    color: var(--astro-primary);
    font-size: 1.6rem;
    box-shadow: none;
}

.rashifal-card__icon img,
.rashifal-modal__icon img {
    width: 2.35rem;
    height: 2.35rem;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    object-position: center;
    display: block;
}

.rashifal-card__status {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 2rem;
    padding: .35rem .75rem;
    border-radius: 999px;
    background: rgba(22, 163, 74, 0.12);
    color: #0f7a44;
    font-size: .78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .06em;
}

.rashifal-card__status.is-muted {
    background: rgba(148, 163, 184, 0.18);
    color: #536274;
}

.rashifal-card__period {
    color: var(--astro-primary);
    font-size: .84rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .08em;
}

.rashifal-card__title {
    color: var(--astro-text);
    font-family: "Khand", "Mukta", sans-serif;
    font-size: 1.55rem;
    line-height: .92;
}

.rashifal-card__subtitle {
    color: var(--astro-muted);
    font-size: 1.05rem;
    line-height: .92;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .06em;
}

.rashifal-card__letters {
    color: var(--astro-muted);
    font-size: .82rem;
    line-height: 1.2;
    margin-bottom: .3rem;
}

.rashifal-card__summary {
    margin-top: .15rem;
    color: var(--astro-muted);
    font-size: .9rem;
    line-height: 1.5;
}

.rashifal-card__more {
    margin-left: .3rem;
    color: #dc3545;
    font-weight: 700;
}

.rashifal-modal .modal-content {
    border-radius: 1.6rem;
}

.rashifal-modal {
    border: 1px solid rgba(80, 23, 128, 0.1);
    border-radius: 1.6rem;
    background:
        radial-gradient(circle at top right, rgba(245, 191, 45, 0.18), transparent 24%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(248, 243, 234, 0.98) 100%);
}

.rashifal-modal .modal-header {
    align-items: flex-start;
    gap: .9rem;
    padding: 1.1rem 1.25rem .15rem;
}

.rashifal-modal__hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.25rem;
    min-width: 0;
    width: 100%;
}

.rashifal-modal__identity {
    display: flex;
    align-items: center;
    gap: .95rem;
    min-width: 0;
}

.rashifal-modal__name-row {
    display: flex;
    align-items: center;
    gap: .45rem;
    flex-wrap: wrap;
}

.rashifal-modal__identity .modal-title,
.rashifal-modal__subtitle {
    color: var(--astro-text);
    font-family: "Khand", "Mukta", sans-serif;
    font-size: 1.2rem;
    line-height: 1;
}

.rashifal-modal__subtitle {
    font-weight: 500;
    color: #677489;
}

.rashifal-modal__letters {
    color: var(--astro-muted);
    font-size: .92rem;
    font-weight: 600;
    line-height: 1.2;
}

.rashifal-modal__meta {
    display: grid;
    justify-items: end;
    gap: .1rem;
    text-align: right;
    padding: .55rem .8rem;
    border-radius: 1rem;
    background: rgba(95, 47, 146, 0.06);
    border: 1px solid rgba(95, 47, 146, 0.08);
}

.rashifal-modal__period {
    color: var(--astro-primary);
    font-size: .76rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .08em;
}

.rashifal-modal__published {
    color: var(--astro-muted);
    font-size: .86rem;
    font-weight: 600;
}

.rashifal-modal__content {
    color: var(--astro-text);
    line-height: 1.85;
}

.rashifal-modal .modal-body {
    padding: 1rem 1.25rem 1.25rem;
}

.rashifal-modal .btn-close {
    margin: .1rem 0 0;
    opacity: .72;
}

.rashifal-modal .btn-close:hover,
.rashifal-modal .btn-close:focus {
    opacity: 1;
}

.rashifal-modal__icon {
    width: 3rem;
    height: 3rem;
    flex: 0 0 3rem;
    border-radius: 0;
    background: transparent;
    border: 0;
}

.rashifal-page .rashifal-board__title,
.rashifal-page .rashifal-card__title,
.rashifal-page .rashifal-modal__title {
    color: #23142f;
}

.rashifal-page .rashifal-board__text,
.rashifal-page .rashifal-board__meta,
.rashifal-page .rashifal-card__subtitle,
.rashifal-page .rashifal-card__summary,
.rashifal-page .rashifal-modal__subtitle,
.rashifal-page .rashifal-modal__summary,
.rashifal-page .rashifal-modal__content {
    color: #5a6170;
}

.rashifal-page .rashifal-card__period,
.rashifal-page .rashifal-board__eyebrow,
.rashifal-page .rashifal-modal__period,
.rashifal-page .rashifal-card__action {
    color: #5f2f92;
}

.saait-page {
    background:
        radial-gradient(circle at top left, rgba(255, 211, 123, 0.12), transparent 24%),
        radial-gradient(circle at top right, rgba(124, 58, 237, 0.08), transparent 22%),
        linear-gradient(180deg, #faf6f1 0%, #fffdfb 100%);
}

.saait-shell {
    padding-top: 1.5rem;
}

.saait-board__text {
    max-width: 46rem;
}

.saait-board__meta strong {
    font-family: "Mukta", sans-serif;
    font-size: 1.2rem;
}

.saait-card {
    border-radius: 1.5rem;
    border: 1px solid rgba(80, 23, 128, 0.1);
    box-shadow: 0 16px 34px rgba(24, 15, 37, 0.08);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(248, 242, 232, 0.96) 100%);
}

.saait-card__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .8rem;
    margin-bottom: .95rem;
}

.saait-card__icon {
    margin-bottom: 0;
}

.saait-card__date {
    display: inline-flex;
    align-items: center;
    min-height: 2rem;
    padding: .45rem .8rem;
    border-radius: 999px;
    background: rgba(95, 47, 146, 0.08);
    color: #5f2f92;
    font-size: .82rem;
    font-weight: 700;
}

.saait-card__title {
    margin: 0 0 .35rem;
    color: #23142f;
    font-size: 1.5rem;
    font-family: "Khand", "Mukta", sans-serif;
}

.saait-card__short {
    margin-bottom: .45rem;
    color: #5f2f92;
    font-size: .9rem;
    font-weight: 700;
}

.saait-card__text {
    margin: 0;
    color: #5a6170;
    line-height: 1.7;
}

.saait-accordion-panel {
    padding: 1.9rem 2rem;
    border-radius: 2rem;
}

.saait-accordion-item {
    background: transparent;
    border: 0;
    border-bottom: 1px solid rgba(80, 23, 128, 0.1);
    padding: 0 0 1rem;
    margin: 0 0 1rem;
}

.saait-accordion-item:last-child {
    border-bottom: 0;
    margin-bottom: 0;
    padding-bottom: 0;
}

.saait-accordion-button {
    padding: 0;
    background: transparent;
    border: 0;
    box-shadow: none;
    color: #d81f14;
    font-family: "Khand", "Mukta", sans-serif;
    font-size: 1.55rem;
    font-weight: 700;
    line-height: 1.1;
}

.saait-accordion-button:hover,
.saait-accordion-button:focus,
.saait-accordion-button:not(.collapsed) {
    background: transparent;
    color: #d81f14;
    box-shadow: none;
}

.saait-accordion-button::after {
    flex-shrink: 0;
    width: .95rem;
    height: .95rem;
    background-size: .95rem;
}

.saait-accordion-button:not(.collapsed)::after {
    transform: rotate(-180deg);
}

.saait-accordion-body {
    padding: .7rem 0 0;
}

.saait-accordion-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: .8rem;
}

.saait-accordion-line {
    display: flex;
    flex-direction: column;
    gap: .15rem;
    min-height: 100%;
    margin: 0;
    padding: .75rem .9rem;
    border: 1px solid rgba(80, 23, 128, 0.1);
    border-radius: 1rem;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(248, 242, 232, 0.9) 100%);
    box-shadow: 0 10px 24px rgba(24, 15, 37, 0.05);
    color: #1f1729;
    font-size: 1.06rem;
    line-height: 1.45;
}

.saait-accordion-line__lead {
    font-weight: 700;
}

.saait-accordion-line__time {
    font-size: .88em;
}

[data-theme="dark"] .saait-page {
    background:
        radial-gradient(circle at top left, rgba(255, 211, 123, 0.08), transparent 24%),
        radial-gradient(circle at top right, rgba(106, 63, 184, 0.16), transparent 22%),
        linear-gradient(180deg, #120c1c 0%, #0b0a15 100%);
}

[data-theme="dark"] .saait-accordion-line {
    background: linear-gradient(180deg, rgba(31, 26, 43, 0.96) 0%, rgba(24, 20, 34, 0.96) 100%);
    border-color: rgba(255, 255, 255, 0.08);
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.18);
}

@media (max-width: 991.98px) {
    .saait-accordion-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

[data-theme="dark"] .saait-board__hero,
[data-theme="dark"] .saait-card,
[data-theme="dark"] .saait-accordion-panel,
[data-theme="dark"] .saait-board__meta,
[data-theme="dark"] .saait-page .content-card {
    background:
        radial-gradient(circle at top right, rgba(255, 211, 123, 0.06), transparent 24%),
        linear-gradient(180deg, rgba(27, 22, 38, 0.98) 0%, rgba(18, 15, 28, 0.98) 100%);
    border-color: rgba(255, 255, 255, 0.08);
    box-shadow: 0 18px 38px rgba(0, 0, 0, 0.28);
}

[data-theme="dark"] .saait-board__title,
[data-theme="dark"] .saait-card__title,
[data-theme="dark"] .saait-page .content-card h3,
[data-theme="dark"] .saait-page .content-card h1 {
    color: #f5efe7;
}

[data-theme="dark"] .saait-board__text,
[data-theme="dark"] .saait-card__text,
[data-theme="dark"] .saait-accordion-line,
[data-theme="dark"] .saait-page .content-card p {
    color: rgba(235, 230, 244, 0.76);
}

[data-theme="dark"] .saait-card__date,
[data-theme="dark"] .saait-card__short {
    color: #f3c96a;
    background: rgba(243, 201, 106, 0.08);
}

[data-theme="dark"] .saait-accordion-item {
    border-bottom-color: rgba(255, 255, 255, 0.08);
}

[data-theme="dark"] .saait-accordion-button,
[data-theme="dark"] .saait-accordion-button:hover,
[data-theme="dark"] .saait-accordion-button:focus,
[data-theme="dark"] .saait-accordion-button:not(.collapsed) {
    color: #ff6b5f;
}

@media (max-width: 575.98px) {
    .saait-board__hero,
    .saait-card,
    .saait-accordion-panel {
        border-radius: 1.25rem;
    }

    .saait-board__hero {
        align-items: flex-start;
        flex-direction: column;
    }

    .saait-accordion-panel {
        padding: 1.25rem;
    }

    .saait-accordion-button {
        font-size: 1.3rem;
    }

    .saait-accordion-grid {
        grid-template-columns: 1fr;
    }
}

.rashifal-page .rashifal-board__meta-label {
    color: #667085;
}

.admin-rashifal-editor-card {
    scroll-margin-top: 7rem;
}

[data-theme="dark"] .rashifal-page {
    background:
        radial-gradient(circle at top left, rgba(255, 211, 123, 0.08), transparent 24%),
        radial-gradient(circle at top right, rgba(106, 63, 184, 0.16), transparent 22%),
        linear-gradient(180deg, #120c1c 0%, #0b0a15 100%);
}

[data-theme="dark"] .rashifal-board__hero,
[data-theme="dark"] .rashifal-card,
[data-theme="dark"] .rashifal-modal {
    background:
        radial-gradient(circle at top right, rgba(245, 191, 45, 0.12), transparent 24%),
        linear-gradient(180deg, rgba(24, 20, 37, 0.96) 0%, rgba(16, 14, 28, 0.98) 100%);
    border-color: rgba(255, 255, 255, 0.08);
}

[data-theme="dark"] .rashifal-board__meta {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.08);
}

[data-theme="dark"] .rashifal-modal__meta {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.08);
}

[data-theme="dark"] .rashifal-sidebar__title,
[data-theme="dark"] .rashifal-board__title,
[data-theme="dark"] .rashifal-card__title,
[data-theme="dark"] .rashifal-modal__identity .modal-title,
[data-theme="dark"] .rashifal-modal__subtitle,
[data-theme="dark"] .rashifal-board__meta strong {
    color: #f7f2ff;
}

[data-theme="dark"] .rashifal-sidebar__text,
[data-theme="dark"] .rashifal-board__text,
[data-theme="dark"] .rashifal-board__meta,
[data-theme="dark"] .rashifal-board__meta-label,
[data-theme="dark"] .rashifal-card__subtitle,
[data-theme="dark"] .rashifal-card__summary,
[data-theme="dark"] .rashifal-modal__published,
[data-theme="dark"] .rashifal-modal__content {
    color: rgba(239, 232, 255, 0.8);
}

[data-theme="dark"] .rashifal-card__period,
[data-theme="dark"] .rashifal-board__eyebrow,
[data-theme="dark"] .rashifal-modal__period,
[data-theme="dark"] .rashifal-card__action {
    color: #f3c56d;
}

[data-theme="dark"] .rashifal-filter-pill,
[data-theme="dark"] a.rashifal-filter-pill:not(.btn):not(.nav-link):not(.navbar-brand):not(.dropdown-item),
[data-theme="dark"] a.rashifal-filter-pill:not(.btn):not(.nav-link):not(.navbar-brand):not(.dropdown-item):visited {
    color: rgba(247, 242, 255, 0.94);
}

[data-theme="dark"] a.rashifal-filter-pill.is-active:not(.btn):not(.nav-link):not(.navbar-brand):not(.dropdown-item),
[data-theme="dark"] a.rashifal-filter-pill.is-active:not(.btn):not(.nav-link):not(.navbar-brand):not(.dropdown-item):visited,
[data-theme="dark"] a.rashifal-filter-pill.is-active:not(.btn):not(.nav-link):not(.navbar-brand):not(.dropdown-item):hover,
[data-theme="dark"] a.rashifal-filter-pill.is-active:not(.btn):not(.nav-link):not(.navbar-brand):not(.dropdown-item):focus {
    color: #2c163f;
}

[data-theme="dark"] .rashifal-mobile-offcanvas {
    border-color: rgba(255, 255, 255, 0.08);
    color: rgba(247, 242, 255, 0.94);
    background:
        radial-gradient(circle at top right, rgba(245, 191, 45, 0.08), transparent 26%),
        linear-gradient(180deg, rgba(24, 17, 36, 0.98), rgba(16, 11, 24, 0.98));
}

[data-theme="dark"] .rashifal-mobile-offcanvas .offcanvas-header,
[data-theme="dark"] .rashifal-mobile-offcanvas .offcanvas-body,
[data-theme="dark"] .rashifal-mobile-offcanvas .offcanvas-title,
[data-theme="dark"] .rashifal-mobile-offcanvas .small.text-uppercase,
[data-theme="dark"] .rashifal-mobile-offcanvas .small.text-uppercase.text-muted {
    color: rgba(247, 242, 255, 0.94) !important;
}

[data-theme="dark"] .rashifal-mobile-offcanvas .rashifal-filter-pill {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.12);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.18);
}

[data-theme="dark"] .rashifal-mobile-offcanvas .rashifal-filter-pill__label {
    color: rgba(247, 242, 255, 0.96);
}

[data-theme="dark"] .rashifal-mobile-offcanvas .rashifal-filter-pill__hint {
    color: rgba(203, 190, 224, 0.84);
}

[data-theme="dark"] .rashifal-mobile-offcanvas a.rashifal-filter-pill:not(.btn):not(.nav-link):not(.navbar-brand):not(.dropdown-item),
[data-theme="dark"] .rashifal-mobile-offcanvas a.rashifal-filter-pill:not(.btn):not(.nav-link):not(.navbar-brand):not(.dropdown-item):visited,
[data-theme="dark"] .rashifal-mobile-offcanvas a.rashifal-filter-pill:not(.btn):not(.nav-link):not(.navbar-brand):not(.dropdown-item):hover,
[data-theme="dark"] .rashifal-mobile-offcanvas a.rashifal-filter-pill:not(.btn):not(.nav-link):not(.navbar-brand):not(.dropdown-item):focus {
    color: rgba(247, 242, 255, 0.94);
}

[data-theme="dark"] .rashifal-mobile-offcanvas .rashifal-filter-pill.is-active,
[data-theme="dark"] .rashifal-mobile-offcanvas a.rashifal-filter-pill.is-active:not(.btn):not(.nav-link):not(.navbar-brand):not(.dropdown-item),
[data-theme="dark"] .rashifal-mobile-offcanvas a.rashifal-filter-pill.is-active:not(.btn):not(.nav-link):not(.navbar-brand):not(.dropdown-item):visited,
[data-theme="dark"] .rashifal-mobile-offcanvas a.rashifal-filter-pill.is-active:not(.btn):not(.nav-link):not(.navbar-brand):not(.dropdown-item):hover,
[data-theme="dark"] .rashifal-mobile-offcanvas a.rashifal-filter-pill.is-active:not(.btn):not(.nav-link):not(.navbar-brand):not(.dropdown-item):focus {
    color: #35144f !important;
}

[data-theme="dark"] .rashifal-mobile-offcanvas .rashifal-filter-pill.is-active .rashifal-filter-pill__label,
[data-theme="dark"] .rashifal-mobile-offcanvas .rashifal-filter-pill.is-active .rashifal-filter-pill__hint {
    color: #35144f !important;
}

[data-theme="dark"] .rashifal-mobile-offcanvas .offcanvas-header .btn-close {
    background: rgba(255, 255, 255, 0.08);
    box-shadow:
        0 10px 20px rgba(0, 0, 0, 0.22),
        inset 0 0 0 1px rgba(255, 255, 255, 0.12);
}

[data-theme="dark"] .rashifal-mobile-offcanvas .offcanvas-header .btn-close::before {
    color: #f3d48a;
}

[data-theme="dark"] .rashifal-mobile-offcanvas__close {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.12);
    color: #f3d48a;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.22);
}

[data-theme="dark"] .rashifal-card__status.is-muted {
    background: rgba(148, 163, 184, 0.12);
    color: #c0ccd7;
}

@media (max-width: 991.98px) {
    .rashifal-layout {
        grid-template-columns: 1fr;
    }

    .rashifal-sidebar {
        position: static;
        display: none;
    }

    .rashifal-board__hero {
        flex-direction: column;
        align-items: flex-start;
        position: relative;
    }

    .rashifal-board__meta {
        min-width: 0;
        width: 100%;
    }

    .rashifal-mobile-filter-trigger {
        position: absolute;
        top: 1rem;
        right: 1rem;
    }
}

@media (max-width: 767.98px) {
    .rashifal-shell {
        padding-top: .5rem;
    }

    .rashifal-sidebar,
    .rashifal-board__hero,
    .rashifal-card {
        padding: 1.1rem;
        border-radius: 1.25rem;
    }

    .rashifal-card {
        text-align: left;
    }

    .rashifal-card__header {
        justify-content: flex-start;
    }

    .rashifal-card__name-stack,
    .rashifal-card__body {
        justify-items: start;
        text-align: left;
    }

    .rashifal-card__title {
        font-size: 1.75rem;
    }

    .rashifal-modal__hero {
        align-items: flex-start;
        flex-direction: column;
    }

    .rashifal-modal__meta {
        justify-items: start;
        text-align: left;
        width: 100%;
    }
}

.dashboard-shell {
    --panel-shell-gutter-x: clamp(.85rem, 2.2vw, 1.6rem);
    --panel-shell-gutter-y: clamp(.85rem, 2vw, 1.35rem);
    min-height: 100vh;
    background: var(--panel-bg);
}

.panel-shell-container {
    --bs-gutter-x: 0;
    --bs-gutter-y: 0;
}

.panel-shell-row {
    --bs-gutter-x: 0;
    --bs-gutter-y: 0;
    margin-inline: 0;
}

.panel-sidebar-column {
    flex: 0 0 var(--panel-sidebar-width, 16.666667%);
    width: var(--panel-sidebar-width, 16.666667%);
    max-width: var(--panel-sidebar-width, 16.666667%);
    min-height: 100vh;
    display: flex;
    align-self: stretch;
    background: linear-gradient(180deg, #501780 0%, #34104f 100%);
    transition: flex-basis .28s ease, width .28s ease, max-width .28s ease, transform .28s ease;
    position: relative;
    z-index: 1040;
}

.panel-main {
    padding: var(--panel-shell-gutter-y) var(--panel-shell-gutter-x);
    flex: 1 1 0;
    min-width: 0;
    width: auto;
    max-width: calc(100% - var(--panel-sidebar-width, 16.666667%));
    overflow-x: hidden;
    transition: width .28s ease, max-width .28s ease, flex-basis .28s ease;
}

.panel-main > .row,
.panel-main > .row > [class*="col-"] {
    min-width: 0;
}

.panel-sidebar {
    background: transparent;
    min-height: 100%;
    width: 100%;
    padding: var(--panel-shell-gutter-y) .9rem;
    transition: padding .28s ease;
}

.panel-sidebar__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .75rem;
    margin-bottom: 1.25rem;
}

.panel-sidebar__brand {
    min-width: 0;
}

.panel-sidebar__brand-copy,
.panel-sidebar__label {
    transition: opacity .2s ease, width .2s ease, margin .2s ease;
}

.panel-sidebar__toggle,
.panel-topbar__sidebar-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.75rem;
    height: 2.75rem;
    border-radius: .9rem;
}

.panel-sidebar__toggle {
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #fff;
    flex: 0 0 auto;
    display: none;
}

.panel-sidebar__toggle:hover,
.panel-sidebar__toggle:focus {
    background: rgba(255, 255, 255, 0.18);
    color: #fff;
}

.panel-topbar__sidebar-toggle {
    background: var(--surface-soft);
    border: 1px solid var(--astro-border);
    color: var(--astro-primary);
    box-shadow: 0 8px 18px rgba(24, 15, 37, 0.05);
}

.panel-topbar__sidebar-toggle:hover,
.panel-topbar__sidebar-toggle:focus {
    background: #efe1ff;
    color: var(--astro-primary);
}

.panel-sidebar .nav {
    gap: .15rem;
}

.panel-sidebar__nav {
    gap: .75rem;
}

.panel-sidebar .nav-link {
    color: rgba(255, 255, 255, 0.78);
    border-radius: .9rem;
    padding: .8rem 1rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: .8rem;
    white-space: nowrap;
    overflow: hidden;
    position: relative;
    transition: background-color .22s ease, color .22s ease, transform .22s ease;
}

.panel-sidebar__icon {
    font-size: 1.15rem;
    flex: 0 0 1.15rem;
    text-align: center;
}

.panel-sidebar__badge {
    margin-left: auto;
    min-width: 1.55rem;
    height: 1.55rem;
    padding: 0 .38rem;
    border-radius: 999px;
    background: #f04d6b;
    color: #fff;
    font-size: .74rem;
    font-weight: 700;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 18px rgba(240, 77, 107, 0.28);
    flex: 0 0 auto;
}

.panel-sidebar .nav-link.active,
.panel-sidebar .nav-link:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
}

.panel-sidebar__group {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.panel-sidebar__group-summary {
    list-style: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .75rem;
    padding: .8rem .9rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 700;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.05));
    transition: background-color .24s ease, color .24s ease;
}

.panel-sidebar__group-summary::-webkit-details-marker {
    display: none;
}

.panel-sidebar__group-summary:hover,
.panel-sidebar__group-summary:focus {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.08));
}

.panel-sidebar__group-intro,
.panel-sidebar__group-meta {
    display: flex;
    align-items: center;
    gap: .7rem;
    min-width: 0;
}

.panel-sidebar__group-meta {
    margin-left: auto;
    color: rgba(255, 255, 255, 0.68);
}

.panel-sidebar__group-chevron {
    font-size: .8rem;
    transition: transform .2s ease;
}

.panel-sidebar__group[open] .panel-sidebar__group-chevron {
    transform: rotate(180deg);
}

.panel-sidebar__group-links {
    padding: 0 .45rem;
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    background: linear-gradient(180deg, rgba(30, 8, 48, 0.34), rgba(14, 3, 24, 0.2));
    transition: max-height .3s ease, opacity .24s ease, padding .3s ease;
}

.panel-sidebar__group[open] .panel-sidebar__group-links {
    max-height: 28rem;
    opacity: 1;
    padding: .2rem .45rem .45rem;
}

.panel-sidebar__group-links .nav-link {
    margin-top: .2rem;
    margin-left: .25rem;
    padding-block: .72rem;
    padding-left: 1.15rem;
    border-radius: .8rem;
    color: rgba(255, 255, 255, 0.72);
    background: rgba(255, 255, 255, 0.04);
}

.panel-sidebar__group-links .nav-link:hover,
.panel-sidebar__group-links .nav-link:focus,
.panel-sidebar__group-links .nav-link.active {
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    transform: translateX(.08rem);
}

.panel-sidebar-backdrop {
    display: none;
}

.dashboard-shell[data-panel-sidebar-collapsed="1"] {
    --panel-sidebar-width: 6.25rem;
}

.dashboard-shell[data-panel-sidebar-collapsed="1"] .panel-sidebar {
    padding-inline: .75rem;
}

.dashboard-shell[data-panel-sidebar-collapsed="1"] .panel-sidebar__header {
    justify-content: center;
}

.dashboard-shell[data-panel-sidebar-collapsed="1"] .panel-sidebar__brand-copy,
.dashboard-shell[data-panel-sidebar-collapsed="1"] .panel-sidebar__label {
    opacity: 0;
    width: 0;
    margin: 0;
    pointer-events: none;
    overflow: hidden;
}

.dashboard-shell[data-panel-sidebar-collapsed="1"] .panel-sidebar__brand {
    justify-content: center;
}

.dashboard-shell[data-panel-sidebar-collapsed="1"] .panel-sidebar .nav-link {
    justify-content: center;
    padding-inline: .7rem;
}

.dashboard-shell[data-panel-sidebar-collapsed="1"] .panel-sidebar__group {
    background: transparent;
    border-color: transparent;
}

.dashboard-shell[data-panel-sidebar-collapsed="1"] .panel-sidebar__group-summary {
    justify-content: center;
    padding-inline: .7rem;
}

.dashboard-shell[data-panel-sidebar-collapsed="1"] .panel-sidebar__group-meta {
    display: none;
}

.dashboard-shell[data-panel-sidebar-collapsed="1"] .panel-sidebar__group-links {
    display: none;
}

.dashboard-shell[data-panel-sidebar-collapsed="1"] .panel-sidebar__badge {
    position: absolute;
    top: .42rem;
    right: .34rem;
    min-width: 1.2rem;
    height: 1.2rem;
    padding-inline: .25rem;
    font-size: .66rem;
}

.panel-topbar {
    background: var(--surface-strong);
    border-bottom: 1px solid rgba(18, 25, 58, 0.08);
    border-radius: 1.15rem;
    padding: 1rem 1.1rem;
    box-shadow: 0 10px 24px rgba(24, 15, 37, 0.04);
}

.panel-mode-toggle {
    margin: 0;
}

.panel-mode-toggle__button {
    display: inline-flex;
    align-items: center;
    gap: 0.9rem;
    padding: 0.72rem 0.95rem;
    border: 1px solid rgba(46, 61, 94, 0.1);
    border-radius: 1rem;
    background: linear-gradient(135deg, #f6fbff 0%, #eef6ff 100%);
    color: #16324f;
    box-shadow: 0 12px 24px rgba(29, 53, 87, 0.08);
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.panel-mode-toggle__button:hover,
.panel-mode-toggle__button:focus {
    transform: translateY(-1px);
    box-shadow: 0 16px 28px rgba(29, 53, 87, 0.12);
    border-color: rgba(37, 99, 235, 0.22);
}

.panel-mode-toggle__button.is-demo {
    background: linear-gradient(135deg, #fff4e6 0%, #ffe8cc 100%);
    color: #7c4700;
    border-color: rgba(202, 138, 4, 0.2);
}

.panel-mode-toggle__meta,
.panel-mode-toggle__copy {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    line-height: 1.1;
}

.panel-mode-toggle__eyebrow {
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #6482a4;
}

.panel-mode-toggle__label,
.panel-mode-toggle__copy strong {
    font-size: 0.95rem;
    font-weight: 700;
}

.panel-mode-toggle__track {
    position: relative;
    width: 3.1rem;
    height: 1.8rem;
    flex: 0 0 auto;
    border-radius: 999px;
    background: rgba(59, 130, 246, 0.22);
    box-shadow: inset 0 0 0 1px rgba(37, 99, 235, 0.08);
}

.panel-mode-toggle__button.is-demo .panel-mode-toggle__track {
    background: rgba(245, 158, 11, 0.26);
    box-shadow: inset 0 0 0 1px rgba(180, 83, 9, 0.12);
}

.panel-mode-toggle__thumb {
    position: absolute;
    top: 0.2rem;
    left: 0.22rem;
    width: 1.38rem;
    height: 1.38rem;
    border-radius: 50%;
    background: #ffffff;
    box-shadow: 0 6px 12px rgba(22, 50, 79, 0.18);
    transition: transform 0.18s ease;
}

.panel-mode-toggle__button.is-demo .panel-mode-toggle__thumb {
    transform: translateX(1.3rem);
}

.panel-mode-toggle--mobile .panel-mode-toggle__button {
    padding: 0.58rem 0.85rem;
}

.panel-mobile-navbar {
    background: var(--surface-strong);
    border: 1px solid rgba(18, 25, 58, 0.08);
    border-radius: 1.15rem;
    padding: 1rem;
    box-shadow: 0 10px 24px rgba(24, 15, 37, 0.04);
}

.panel-mobile-navbar .navbar-brand {
    color: var(--astro-text);
}

.panel-mobile-navbar .navbar-toggler {
    border-color: rgba(18, 25, 58, 0.08);
    box-shadow: none;
}

.panel-mobile-menu {
    margin-top: 1rem;
}

.panel-mobile-menu__user {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding-bottom: 1rem;
    margin-bottom: 1rem;
    border-bottom: 1px solid rgba(18, 25, 58, 0.08);
}

.panel-mobile-menu .panel-sidebar__nav {
    gap: .65rem;
}

.panel-mobile-menu .panel-sidebar__group-links .nav-link {
    margin-left: 0;
}

.admin-question-modal-header {
    padding: 1.35rem 1.5rem 1.1rem;
    background:
        radial-gradient(circle at top right, rgba(77, 116, 255, 0.12), transparent 28%),
        linear-gradient(180deg, rgba(248, 243, 255, 0.95), rgba(255, 255, 255, 0.98));
}

.admin-question-modal-header__copy {
    flex: 1 1 auto;
    min-width: 0;
    max-width: 42rem;
}

.admin-question-modal-header,
#userQuestionDetailModal .modal-header,
#jyotishiQuestionViewModal .modal-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
}

#userQuestionDetailModal .modal-header > div:first-child,
#jyotishiQuestionViewModal .modal-header > div:first-child {
    flex: 1 1 auto;
    min-width: 0;
}

.admin-question-modal-header .small.text-muted,
.admin-question-modal-header .modal-title,
#userQuestionDetailModal .modal-header .small.text-muted,
#userQuestionDetailModal .modal-header .modal-title,
#jyotishiQuestionViewModal .modal-header .small.text-muted,
#jyotishiQuestionViewModal .modal-header .modal-title {
    overflow-wrap: anywhere;
}

.admin-question-modal-header .btn-close,
#userQuestionDetailModal .modal-header .btn-close,
#jyotishiQuestionViewModal .modal-header .btn-close {
    flex: 0 0 auto;
    align-self: flex-start;
    width: 2.4rem;
    height: 2.4rem;
    margin: 0 0 0 auto;
    padding: .7rem;
    border-radius: 999px;
    border: 1px solid rgba(80, 23, 128, 0.14);
    background-color: rgba(80, 23, 128, 0.06);
    box-sizing: border-box;
    background-position: center;
    background-size: 1rem;
    opacity: 1;
}

.admin-question-modal-header .btn-close:hover,
.admin-question-modal-header .btn-close:focus,
#userQuestionDetailModal .modal-header .btn-close:hover,
#userQuestionDetailModal .modal-header .btn-close:focus,
#jyotishiQuestionViewModal .modal-header .btn-close:hover,
#jyotishiQuestionViewModal .modal-header .btn-close:focus {
    background-color: rgba(80, 23, 128, 0.12);
    border-color: rgba(80, 23, 128, 0.2);
    box-shadow: none;
}

.admin-question-modal-header .modal-title {
    font-size: clamp(1.32rem, 2vw, 1.7rem);
    line-height: 1.3;
}

.admin-question-modal-header .btn-close {
    width: 2.4rem;
    height: 2.4rem;
    border-radius: 999px;
    background-color: rgba(255, 255, 255, 0.82);
    box-shadow: inset 0 0 0 1px rgba(18, 25, 58, 0.08);
}

.admin-question-modal-body {
    padding: 1.5rem;
    background:
        linear-gradient(180deg, rgba(246, 239, 230, 0.52), rgba(255, 255, 255, 0) 18rem),
        var(--surface-strong);
    overflow: hidden;
}

#adminQuestionViewModal .modal-dialog-scrollable .modal-content,
#userQuestionDetailModal .modal-dialog-scrollable .modal-content,
#jyotishiQuestionViewModal .modal-dialog-scrollable .modal-content {
    height: min(calc(100vh - 3.5rem), 60rem);
    overflow: hidden;
    max-width: 100%;
}

#jyotishiQuestionViewModal .modal-dialog {
    width: min(calc(100vw - 2rem), 86rem);
    max-width: min(calc(100vw - 2rem), 86rem);
    margin-inline: auto;
}

#jyotishiQuestionViewModal .modal-dialog-scrollable .modal-content {
    height: min(calc(100vh - 5rem), 58rem);
}

#userQuestionDetailModal .modal-dialog {
    width: min(calc(100vw - 2rem), 68rem);
    max-width: min(calc(100vw - 2rem), 68rem);
    margin-top: max(5rem, calc(4.25rem + env(safe-area-inset-top, 0)));
    margin-bottom: 1.5rem;
    margin-inline: auto;
}

#userQuestionDetailModal .modal-dialog-scrollable .modal-content {
    height: min(calc(100vh - 7rem), 52rem);
}

#adminQuestionViewModal .modal-dialog-scrollable .modal-body,
#jyotishiQuestionViewModal .modal-dialog-scrollable .modal-body {
    overflow: hidden;
    flex: 1 1 auto;
    min-height: 0;
}

#userQuestionDetailModal .modal-dialog-scrollable .modal-body {
    overflow-y: auto;
    overflow-x: hidden;
    flex: 1 1 auto;
    min-height: 0;
}

#adminQuestionViewModal .modal-dialog-scrollable .modal-body,
#userQuestionDetailModal .modal-dialog-scrollable .modal-body {
    overflow-x: hidden;
}

#userQuestionDetailModal .user-question-detail-modal__grid {
    margin-inline: 0;
}

#userQuestionDetailModal .user-question-detail-modal__col {
    min-width: 0;
    padding-inline: calc(var(--bs-gutter-x) * .5);
}

#userQuestionDetailModal [data-user-question-modal-content],
#userQuestionDetailModal .sidebar-stack,
#userQuestionDetailModal .content-card,
#userQuestionDetailModal .question-meta-card {
    min-width: 0;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

#userQuestionDetailModal .question-meta-card,
#userQuestionDetailModal .question-meta-card__amount,
#userQuestionDetailModal .question-meta-item,
#userQuestionDetailModal .question-meta-jyotishi {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

#userQuestionDetailModal .question-meta-card {
    overflow-x: hidden;
    padding: 1.35rem !important;
    border-radius: 1.45rem;
    background:
        radial-gradient(circle at top right, rgba(239, 182, 79, 0.18), transparent 34%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.99), rgba(248, 241, 232, 0.96));
    box-shadow: 0 22px 44px rgba(34, 20, 66, 0.12);
}

#userQuestionDetailModal .question-meta-card__header {
    margin-bottom: 1.25rem;
}

#userQuestionDetailModal .question-meta-card__amount {
    margin-top: 1.15rem;
    margin-bottom: 1.15rem;
    padding: 1.15rem 1.2rem;
    border-radius: 1.1rem;
}

#userQuestionDetailModal .question-meta-card__amount-value {
    font-size: 1.8rem;
}

#userQuestionDetailModal .question-meta-card__grid {
    grid-template-columns: minmax(0, 1fr);
    gap: .85rem;
}

#userQuestionDetailModal .question-meta-item {
    min-height: 100%;
    padding: 1rem;
    border-radius: 1.05rem;
    background: rgba(255, 255, 255, 0.78);
    box-shadow: 0 12px 24px rgba(80, 23, 128, 0.05);
}

#userQuestionDetailModal .question-meta-item--wide {
    grid-column: 1 / -1;
}

#userQuestionDetailModal .question-meta-item--jyotishi {
    padding: 0;
    background: transparent;
    box-shadow: none;
}

#userQuestionDetailModal .question-meta-jyotishi {
    gap: 1rem;
    padding: 1rem 1.05rem;
    border-radius: 1.15rem;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.84), rgba(255, 255, 255, 0.68));
    border: 1px solid rgba(80, 23, 128, 0.08);
    box-shadow: 0 14px 26px rgba(80, 23, 128, 0.06);
    flex-wrap: nowrap;
}

#userQuestionDetailModal .question-meta-jyotishi__avatar {
    width: 64px;
    height: 64px;
    flex-basis: 64px;
}

#userQuestionDetailModal .question-meta-jyotishi__body {
    gap: .3rem;
}

#userQuestionDetailModal .question-meta-jyotishi__name {
    font-size: 1.05rem;
}

#userQuestionDetailModal .question-meta-jyotishi__button {
    margin-top: .35rem;
    min-height: 38px;
    padding: .45rem .85rem;
    border-radius: .85rem;
}

#userQuestionDetailModal .question-meta-item__value {
    font-size: 1rem;
    white-space: normal;
    overflow-wrap: anywhere;
    word-break: normal;
}

#userQuestionDetailModal .question-meta-item__badge {
    font-size: .8rem;
    white-space: normal;
    line-height: 1.35;
}

#userQuestionDetailModal .question-meta-item__body {
    display: flex;
    flex-direction: column;
    gap: .12rem;
}

#userQuestionDetailModal .question-meta-item__label {
    letter-spacing: .05em;
}

#userQuestionDetailModal .question-meta-jyotishi {
    align-items: center;
}

#userQuestionDetailModal .question-meta-jyotishi__body {
    min-width: 0;
}

#userQuestionDetailModal .question-meta-jyotishi__name,
#userQuestionDetailModal [data-user-question-modal-subject],
#userQuestionDetailModal [data-user-question-modal-created] {
    overflow-wrap: anywhere;
}

.admin-question-modal-shell {
    height: min(78vh, 56rem);
}

.question-workspace {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 0;
    gap: 0;
    height: 100%;
    min-height: 0;
}

.question-workspace.is-panel-open {
    grid-template-columns: minmax(0, 1fr) minmax(24rem, 34rem);
    gap: 1rem;
}

.question-workspace__main {
    display: flex;
    flex-direction: column;
    height: 100%;
    min-width: 0;
    min-height: 0;
    overflow-y: auto;
    overflow-x: hidden;
    padding-right: .15rem;
}

#adminQuestionViewModal .question-workspace__main > .row {
    margin-inline: 0;
}

.question-workspace__toolbar {
    position: sticky;
    top: 0;
    z-index: 4;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .9rem 1rem;
    padding: 1rem 1.05rem;
    margin-bottom: 1rem;
    border: 1px solid rgba(111, 84, 153, 0.12);
    border-radius: 1.25rem;
    background:
        radial-gradient(circle at top right, rgba(243, 188, 103, 0.12), transparent 24%),
        linear-gradient(180deg, rgba(250, 247, 255, 0.96), rgba(255, 255, 255, 0.98));
    box-shadow: 0 18px 36px rgba(30, 19, 54, 0.08);
}

.question-workspace__toolbar-copy {
    display: grid;
    gap: .18rem;
    min-width: 0;
}

.question-workspace__toolbar-eyebrow {
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: #7d6697;
}

.question-workspace__toolbar-title {
    font-size: 1.05rem;
    line-height: 1.2;
    color: #2c3044;
}

.question-workspace__toolbar-nav {
    display: flex;
    flex-wrap: wrap;
    gap: .75rem;
    align-items: center;
}

.question-workspace__toolbar-spacer {
    flex: 1 1 auto;
}

.question-workspace__toggle {
    min-height: 34px;
    padding-inline: .78rem;
    border-radius: 999px;
    border-color: rgba(111, 84, 153, 0.14);
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 10px 22px rgba(24, 15, 37, 0.06);
    font-weight: 700;
    font-size: .86rem;
    line-height: 1.15;
}

.question-workspace__toggle.is-active {
    background: linear-gradient(135deg, #1f6fff, #295ce6);
    border-color: transparent;
    color: #fff;
    box-shadow: 0 14px 28px rgba(41, 92, 230, 0.22);
}

.question-workspace__side {
    position: relative;
    min-width: 0;
    min-height: 0;
    width: 0;
    pointer-events: none;
}

.question-workspace__sheet {
    height: 100%;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid rgba(111, 84, 153, 0.12);
    border-radius: 1.25rem;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 22px 44px rgba(30, 19, 54, 0.12);
    transform: translateX(104%);
    opacity: 0;
    transition: transform .28s ease, opacity .28s ease;
}

.question-workspace.is-panel-open .question-workspace__side {
    width: auto;
    pointer-events: auto;
}

.question-workspace.is-panel-open .question-workspace__sheet {
    transform: translateX(0);
    opacity: 1;
}

.question-workspace__sheet-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem 1.05rem .9rem;
    border-bottom: 1px solid rgba(111, 84, 153, 0.1);
    background: linear-gradient(180deg, rgba(250, 247, 255, 0.95), rgba(255, 255, 255, 0.98));
}

.question-workspace__sheet-eyebrow {
    margin-bottom: .22rem;
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: #7d6697;
}

.question-workspace__sheet-title {
    font-size: 1rem;
    color: #2c3044;
}

.question-workspace__sheet-body {
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: 1rem;
}

.question-workspace__pane,
.question-workspace__meta-stack {
    flex: 0 0 auto;
}

.question-workspace__pane {
    display: none;
}

.question-workspace__pane.is-active {
    display: block;
}

.question-workspace__meta-stack {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.question-workspace__history-content {
    display: grid;
    gap: .9rem;
}

.question-workspace__sheet-body .answer-reference-title {
    font-size: 1.1rem;
}

.question-workspace__sheet-body .answer-reference-title i {
    font-size: 1.05rem;
}

.question-workspace__sheet-body .question-customer-meta {
    grid-template-columns: 1fr;
    gap: .7rem;
}

.question-workspace__sheet-body .question-customer-meta__item {
    grid-template-columns: 2.8rem minmax(0, 1fr);
    gap: .75rem;
    padding: .85rem .9rem;
}

.question-workspace__sheet-body .question-customer-meta__item--wide {
    grid-column: auto;
}

.question-workspace__sheet-body .question-customer-meta__icon {
    width: 2.8rem;
    height: 2.8rem;
    border-radius: 0.85rem;
    font-size: 1rem;
}

.question-workspace__sheet-body .question-customer-meta__head {
    align-items: center;
}

.question-workspace__sheet-body .question-customer-meta__value,
.question-workspace__sheet-body .jyotishi-customer-history__title,
.question-workspace__sheet-body .jyotishi-customer-history__section-body,
.question-workspace__sheet-body .jyotishi-customer-history__meta {
    overflow-wrap: anywhere;
    word-break: break-word;
}

.question-workspace__sheet-body .jyotishi-customer-history__header {
    flex-direction: column;
    align-items: stretch;
}

.question-workspace__sheet-body .jyotishi-customer-history {
    gap: .85rem;
}

.question-workspace__sheet-body .jyotishi-customer-history__filters {
    gap: .45rem;
}

.question-workspace__sheet-body .jyotishi-customer-history__tag {
    font-size: .78rem;
    padding: .38rem .62rem;
}

.question-workspace__sheet-body .jyotishi-customer-history__item {
    padding: 1rem;
    border-radius: 1rem;
}

.question-workspace__sheet-body .jyotishi-customer-history__title {
    font-size: 1rem;
    line-height: 1.4;
}

.question-workspace__sheet-body .jyotishi-customer-history__meta {
    gap: .45rem .8rem;
    margin-bottom: .7rem;
    font-size: .85rem;
}

.question-workspace__sheet-body .jyotishi-customer-history__meta span {
    min-height: 0;
    padding: .5rem .62rem;
}

.question-workspace__sheet-body .jyotishi-customer-history__section-label {
    font-size: .86rem;
}

.question-workspace__sheet-body .jyotishi-customer-history__section-body {
    font-size: .94rem;
    line-height: 1.65;
}

.question-body-reference--kundali {
    display: grid;
    gap: 1rem;
}

.question-body-reference__eyebrow {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    padding: .4rem .72rem;
    border-radius: 999px;
    background: linear-gradient(135deg, rgba(245, 191, 45, 0.18), rgba(80, 23, 128, 0.08));
    color: var(--astro-primary);
    font-size: .76rem;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.question-body-reference__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.question-kundali-card {
    display: grid;
    gap: .95rem;
    padding: 1rem;
    border-radius: 1rem;
    border: 1px solid rgba(80, 23, 128, 0.12);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(249, 245, 239, 0.96)),
        linear-gradient(135deg, rgba(245, 191, 45, 0.1), rgba(80, 23, 128, 0.05));
    box-shadow: 0 16px 30px rgba(18, 25, 58, 0.06);
}

.question-kundali-card__top {
    display: grid;
    gap: .45rem;
}

.question-kundali-card__badge {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    padding: .26rem .58rem;
    border-radius: 999px;
    background: rgba(80, 23, 128, 0.08);
    color: #70448f;
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.question-kundali-card__name {
    color: var(--astro-text);
    font-size: 1.08rem;
    font-weight: 700;
    line-height: 1.4;
}

.question-kundali-card__fields {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .85rem;
}

.question-kundali-card__field {
    display: grid;
    gap: .25rem;
    padding: .72rem .8rem;
    border-radius: .85rem;
    background: rgba(255, 255, 255, 0.78);
    border: 1px solid rgba(80, 23, 128, 0.08);
}

.question-kundali-card__field--wide {
    grid-column: 1 / -1;
}

.question-kundali-card__label {
    color: var(--astro-muted);
    font-size: .74rem;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.question-kundali-card__value {
    color: var(--astro-text);
    font-size: .96rem;
    line-height: 1.55;
    font-weight: 600;
}

.question-kundali-note {
    display: grid;
    gap: .45rem;
    padding: .95rem 1rem;
    border-radius: 1rem;
    background: rgba(255, 248, 230, 0.84);
    border: 1px solid rgba(239, 182, 79, 0.24);
}

.question-kundali-note__label {
    color: #8a5b08;
    font-size: .76rem;
    font-weight: 700;
    letter-spacing: .05em;
    text-transform: uppercase;
}

.question-kundali-note__body {
    color: var(--astro-text);
    line-height: 1.75;
}

.jyotishi-floating-timer--toolbar {
    position: static;
    top: auto;
    right: auto;
    transform: none;
    z-index: auto;
    width: auto;
    flex: 0 0 auto;
    max-width: 100%;
    margin-left: auto;
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
    backdrop-filter: none;
    border-radius: 0;
}

.jyotishi-floating-timer--toolbar .jyotishi-floating-timer__countdown {
    width: fit-content;
    min-width: 0;
    max-width: 100%;
    padding: .45rem .65rem;
    border-radius: .85rem;
}

.jyotishi-floating-timer--toolbar .jyotishi-floating-timer__countdown-label,
.jyotishi-floating-timer--toolbar .jyotishi-floating-timer__countdown-suffix {
    font-size: .68rem;
    line-height: 1.1;
}

.jyotishi-floating-timer--toolbar .jyotishi-floating-timer__countdown-value {
    margin: .12rem 0;
    font-size: 1.2rem;
    line-height: 1;
}

.admin-question-summary {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.admin-question-summary__grid {
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr);
    gap: 1.1rem;
    align-items: stretch;
}

.admin-question-summary__card,
.admin-question-assignment,
.admin-question-audit-item,
.admin-question-panel {
    border: 1px solid rgba(111, 84, 153, 0.12);
    border-radius: 1.25rem;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 18px 42px rgba(30, 19, 54, 0.08);
}

.admin-question-summary__card {
    padding: 1.25rem;
    background:
        radial-gradient(circle at top right, rgba(72, 109, 247, 0.12), transparent 32%),
        linear-gradient(180deg, rgba(247, 245, 255, 0.96), rgba(255, 255, 255, 0.98));
}

.admin-question-summary__topline {
    display: grid;
    grid-template-columns: 1fr;
    gap: .9rem;
    align-items: start;
    margin-bottom: 1.1rem;
}

.admin-question-summary__eyebrow {
    display: inline-block;
    margin-bottom: .32rem;
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: #7d6697;
}

.admin-question-summary__title {
    max-width: none;
    font-size: 1rem;
    line-height: 1.55;
    color: #2c3044;
}

.admin-question-summary__status {
    min-width: 0;
    width: 100%;
    max-width: 14rem;
    padding: .85rem .95rem;
    border-radius: 1rem;
    background: rgba(255, 255, 255, 0.84);
    box-shadow: inset 0 0 0 1px rgba(111, 84, 153, 0.09);
    justify-self: start;
}

.admin-question-summary__status-label {
    display: block;
    margin-bottom: .28rem;
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: #7d6697;
}

.admin-question-summary__status-value {
    display: inline-flex;
    align-items: center;
    min-height: 2.25rem;
    padding: .35rem .85rem;
    border-radius: 999px;
    background: linear-gradient(135deg, #4f46e5, #7c63ff);
    color: #fff;
    font-size: .92rem;
    font-weight: 700;
    line-height: 1.2;
    box-shadow: 0 12px 24px rgba(79, 70, 229, 0.18);
}

.admin-question-summary__facts {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .9rem;
}

.admin-question-summary__fact {
    min-height: 6.1rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: .95rem 1rem;
    border-radius: 1rem;
    background: rgba(255, 255, 255, 0.76);
    box-shadow: inset 0 0 0 1px rgba(111, 84, 153, 0.08);
}

.admin-question-summary__fact-label,
.admin-question-audit-item__label,
.admin-question-assignment__current-label {
    display: block;
    margin-bottom: .26rem;
    font-size: .76rem;
    font-weight: 700;
    color: #7f7891;
}

.admin-question-summary__fact-value,
.admin-question-audit-item__value,
.admin-question-assignment__current-value {
    display: block;
    font-size: 1rem;
    line-height: 1.45;
    color: #2c3044;
    overflow-wrap: anywhere;
}

.admin-question-assignment {
    padding: 1.25rem;
    background:
        radial-gradient(circle at top right, rgba(246, 186, 87, 0.2), transparent 28%),
        linear-gradient(180deg, #fff8ec, #fffdf9);
}

.admin-question-assignment__header {
    display: flex;
    gap: .9rem;
    align-items: flex-start;
    margin-bottom: 1.1rem;
}

.admin-question-assignment__icon {
    flex: 0 0 auto;
    width: 3rem;
    height: 3rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 1rem;
    background: linear-gradient(135deg, #295ce6, #4f86ff);
    color: #fff;
    box-shadow: 0 14px 28px rgba(41, 92, 230, 0.22);
}

.admin-question-assignment__title {
    font-size: 1rem;
    line-height: 1.4;
    color: #2c3044;
}

.admin-question-assignment__text {
    font-size: .9rem;
    line-height: 1.55;
    color: #6d647d;
}

.admin-question-assignment__current {
    margin-bottom: .95rem;
    padding: .95rem 1rem;
    border-radius: 1rem;
    background: rgba(255, 255, 255, 0.78);
    box-shadow: inset 0 0 0 1px rgba(111, 84, 153, 0.08);
    min-height: 6.1rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.admin-question-assignment__form {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 190px;
    gap: .8rem;
    align-items: center;
}

.admin-question-assignment__select {
    min-height: 52px;
    font-weight: 700;
    background: rgba(255, 255, 255, 0.92);
    border-color: rgba(111, 84, 153, 0.16);
    width: 100%;
    border-radius: 1rem;
    padding-inline: 1rem;
}

.admin-question-assignment__submit {
    min-height: 52px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .55rem;
    white-space: nowrap;
    width: 100%;
    border: 0;
    border-radius: 1rem;
    background: linear-gradient(135deg, #1f6fff, #295ce6);
    box-shadow: 0 16px 30px rgba(41, 92, 230, 0.22);
}

.admin-question-audit-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .9rem;
}

.admin-question-audit-item {
    min-height: 6rem;
    padding: .95rem 1rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    border-radius: 1rem;
    background:
        radial-gradient(circle at top right, rgba(243, 188, 103, 0.12), transparent 34%),
        linear-gradient(180deg, rgba(255, 251, 243, 0.96), rgba(255, 255, 255, 0.98));
    box-shadow:
        0 14px 28px rgba(30, 19, 54, 0.06),
        inset 0 0 0 1px rgba(111, 84, 153, 0.08);
}

@media (max-width: 1199.98px) {
    .admin-question-summary__grid {
        grid-template-columns: 1fr;
    }

    .admin-question-summary__status {
        justify-self: stretch;
        max-width: none;
    }

    .admin-question-assignment__form {
        grid-template-columns: 1fr;
    }

    .admin-question-assignment__submit {
        width: 100%;
    }
}

.admin-question-panel {
    overflow: hidden;
}

.admin-question-panel__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    padding: 1.1rem 1.25rem .95rem;
    border-bottom: 1px solid rgba(111, 84, 153, 0.1);
    background: linear-gradient(180deg, rgba(250, 247, 255, 0.9), rgba(255, 255, 255, 0.96));
}

.admin-question-panel__header--answer {
    align-items: flex-start;
}

.admin-question-panel__body {
    padding: 1.2rem 1.25rem 1.25rem;
}

.admin-question-panel__body--question {
    white-space: pre-wrap;
    line-height: 1.72;
    color: #35384b;
}

.question-workspace--jyotishi .question-workspace__toolbar {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(255, 255, 255, 0.84) 70%, rgba(255, 255, 255, 0));
}

.admin-question-answer-meta {
    display: inline-flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: .4rem;
    text-align: right;
}

.admin-question-typing-indicator {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    color: var(--astro-primary);
    font-size: .92rem;
    font-weight: 600;
}

.admin-question-typing-indicator--table {
    margin-top: .4rem;
    font-size: .8rem;
}

.admin-question-typing-indicator__dots {
    display: inline-flex;
    align-items: center;
    gap: .22rem;
}

.admin-question-typing-indicator__dots span {
    width: .42rem;
    height: .42rem;
    border-radius: 50%;
    background: currentColor;
    opacity: .3;
    animation: admin-question-typing-pulse 1.2s infinite ease-in-out;
}

.admin-question-typing-indicator__dots span:nth-child(2) {
    animation-delay: .18s;
}

.admin-question-typing-indicator__dots span:nth-child(3) {
    animation-delay: .36s;
}

.admin-question-table {
    border-color: var(--app-table-outer-border);
    table-layout: fixed;
    width: 100%;
}

.admin-question-table > :not(caption) > * > * {
    border-color: var(--app-table-cell-border);
}

.admin-question-table > thead > tr > th {
    background-color: var(--app-table-head-bg) !important;
    color: var(--app-table-head-color) !important;
    border-color: var(--app-table-head-border) !important;
}

.admin-question-table > thead > tr > th:nth-child(1),
.admin-question-table > tbody > tr > td:nth-child(1) {
    width: 6%;
}

.admin-question-table > thead > tr > th:nth-child(2),
.admin-question-table > tbody > tr > td:nth-child(2) {
    width: 12%;
}

.admin-question-table > thead > tr > th:nth-child(3),
.admin-question-table > tbody > tr > td:nth-child(3) {
    width: 14%;
}

.admin-question-table > thead > tr > th:nth-child(4),
.admin-question-table > tbody > tr > td:nth-child(4) {
    width: 11%;
}

.admin-question-table > thead > tr > th:nth-child(5),
.admin-question-table > tbody > tr > td:nth-child(5) {
    width: 23%;
}

.admin-question-table > thead > tr > th:nth-child(6),
.admin-question-table > tbody > tr > td:nth-child(6) {
    width: 19%;
}

.admin-question-table > thead > tr > th:nth-child(7),
.admin-question-table > tbody > tr > td:nth-child(7) {
    width: 15%;
}

.admin-question-status-cell {
    min-width: 0;
}

.admin-question-jyotishi-cell {
    min-width: 0;
    text-align: center;
}

.admin-question-accepted-ago {
    margin-top: .3rem;
    color: var(--astro-muted);
    font-size: .78rem;
    font-weight: 600;
    line-height: 1.25;
    white-space: nowrap;
}

.admin-question-countdown {
    text-align: center;
}

.admin-question-action-cell {
    min-width: 0;
}

.admin-question-answer-input {
    min-height: 12rem;
    background: linear-gradient(180deg, #fff9ee, #fff5e6);
    border-color: rgba(197, 166, 112, 0.22);
    border-radius: 1rem;
    padding: 1rem 1.05rem;
    line-height: 1.75;
    overflow-y: hidden;
    resize: none;
}

.admin-question-reassign-remark-input {
    min-height: 6rem;
    border-radius: .9rem;
    border-color: rgba(197, 166, 112, 0.22);
    background: #fffdf8;
    padding: .85rem .95rem;
    line-height: 1.55;
    overflow-y: hidden;
    resize: none;
}

.admin-question-action-bar {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: .85rem;
}

.admin-question-modal-actions-wrap {
    padding-top: .35rem;
    padding-bottom: 1.15rem;
}

.admin-question-action-btn {
    min-height: 52px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .55rem;
    border-radius: 1rem;
    box-shadow: 0 14px 28px rgba(24, 15, 37, 0.08);
}

.admin-question-action-btn--reassign {
    color: #472100;
    box-shadow: 0 10px 22px rgba(245, 191, 45, 0.16);
}

.admin-question-action-btn:disabled,
.admin-question-assignment__submit:disabled {
    opacity: 1;
    cursor: not-allowed;
    box-shadow: none;
}

.admin-question-action-btn--save:disabled {
    background: #f3f1f7;
    border-color: #d3ccdf;
    color: #766d87;
}

.admin-question-action-btn--complete:disabled {
    background: #d8e6ff;
    border-color: #d8e6ff;
    color: #6a86b8;
}

.admin-question-action-btn--reassign:disabled {
    background: #fff1c9;
    border-color: #fff1c9;
    color: #b18e38;
}

@keyframes admin-question-typing-pulse {
    0%, 80%, 100% {
        transform: translateY(0);
        opacity: .25;
    }

    40% {
        transform: translateY(-2px);
        opacity: 1;
    }
}

.site-footer {
    --footer-text-color: rgba(255, 255, 255, 0.94);
    background: var(--footer-bg);
    color: var(--footer-text-color);
    margin-top: 0;
}

.site-footer__grid {
    align-items: flex-start;
}

.site-footer__column {
    min-width: 0;
}

.site-footer .text-white,
.site-footer .text-white-50,
.site-footer h5,
.site-footer h6,
.site-footer p,
.site-footer li,
.site-footer span,
.site-footer i,
.footer-links a,
.footer-bottom a {
    color: var(--footer-text-color) !important;
    text-decoration: none;
}

.site-footer h6,
.site-footer h6.text-white {
    color: #f4c55a !important;
    font-size: 1.2rem;
    font-weight: 600 !important;
}

.footer-links a:hover,
.footer-links a:focus,
.footer-bottom a:hover,
.footer-bottom a:focus {
    color: var(--footer-text-color) !important;
}

.footer-links li {
    margin-bottom: .6rem;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.site-footer .footer-logo + div h5,
.site-footer .footer-logo + div .small {
    color: #f4c55a !important;
}

@media (min-width: 992px) {
    .site-footer__grid {
        display: grid;
        grid-template-columns: minmax(0, 1.45fr) repeat(3, minmax(0, 1fr));
        gap: 2rem;
    }

    .site-footer__grid > .site-footer__column {
        width: auto;
    }

    .site-footer__grid > .site-footer__column--brand {
        max-width: none;
    }
}

.sidebar-stack {
    display: grid;
    gap: 1.5rem;
}

.support-panel {
    width: 100%;
}

.support-widget__card {
    padding: 1.35rem 1.3rem;
    border-radius: 1rem;
    background: linear-gradient(180deg, #6a229f 0%, #501780 100%);
    color: #ffffff;
    box-shadow: 0 20px 40px rgba(39, 12, 63, 0.22);
}

.support-widget__title {
    margin: 0 0 1rem;
    color: #ffffff;
    font-size: 1.65rem;
    line-height: 1.1;
}

.support-widget__list li + li {
    margin-top: 0.85rem;
}

.support-widget__card .support-widget__link,
.support-widget__card .support-widget__text {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: rgba(255, 255, 255, 0.96) !important;
    text-decoration: none;
    text-decoration-color: transparent;
    line-height: 1.4;
}

.support-widget__card .support-widget__link:visited {
    color: rgba(255, 255, 255, 0.96) !important;
}

.support-widget__card .support-widget__link:hover,
.support-widget__card .support-widget__link:focus {
    color: #ffd98d !important;
}

.support-widget__card .support-widget__link i,
.support-widget__card .support-widget__text i {
    flex: 0 0 1rem;
    font-size: 1rem;
    color: inherit;
}

.verification-pending-card {
    max-width: 100%;
}

.verification-pending-card__title {
    margin-top: 1rem;
    font-size: clamp(2.15rem, 4vw, 3.5rem);
    line-height: 1.08;
}

.verification-pending-card__lead {
    max-width: 42rem;
    margin: 0 auto 1.5rem;
    font-size: 1.18rem;
    line-height: 1.75;
    text-align: center;
}

.verification-pending-card__alert {
    border-radius: 0.8rem;
    padding: 1rem 1.1rem;
    font-weight: 600;
}

.verification-pending-card__label {
    margin-bottom: 0.75rem;
}

.verification-pending-card__linkbox {
    width: 100%;
    min-height: 3.1rem;
    padding: 0.9rem 1rem;
    border: 1px solid rgba(80, 23, 128, 0.18);
    border-radius: 1rem;
    background: rgba(255, 255, 255, 0.94);
    color: #2a163a;
    font-family: "Mukta", sans-serif;
    font-size: 1.05rem;
    font-weight: 600;
    line-height: 1.55;
    overflow-wrap: anywhere;
    word-break: break-word;
    cursor: text;
    user-select: all;
}

.verification-pending-card__actions .btn {
    min-width: 9.75rem;
}

.verification-pending-card__secondary-btn {
    border-color: rgba(80, 23, 128, 0.18);
}

.verification-pending-card__footnote {
    text-align: left;
}

@media (max-width: 575.98px) {
    .verification-pending-card__title {
        font-size: clamp(1.8rem, 8vw, 2.5rem);
    }

    .verification-pending-card__lead {
        font-size: 1rem;
        line-height: 1.65;
    }

    .verification-pending-card__linkbox {
        font-size: 0.96rem;
        border-radius: 0.9rem;
    }
}

.home-category-section + .site-footer {
    margin-top: 0;
}

:root {
    --app-table-head-bg: #35104f;
    --app-table-head-color: #ffffff;
    --app-table-head-border: rgba(255, 255, 255, 0.16);
    --app-table-outer-border: rgba(46, 18, 72, 0.22);
    --app-table-cell-border: rgba(46, 18, 72, 0.16);
}

[data-theme="dark"] {
    --app-table-head-bg: #35104f;
    --app-table-head-color: #ffffff;
    --app-table-head-border: rgba(255, 255, 255, 0.18);
    --app-table-outer-border: rgba(170, 129, 223, 0.28);
    --app-table-cell-border: rgba(170, 129, 223, 0.2);
}

.table > thead > tr > th {
    font-size: .85rem;
    text-transform: uppercase;
    letter-spacing: .04em;
    background-color: var(--app-table-head-bg) !important;
    color: var(--app-table-head-color) !important;
    border-right: 1px solid var(--app-table-head-border) !important;
    border-bottom: 1px solid var(--app-table-head-border) !important;
    vertical-align: middle;
}

.table {
    --bs-table-bg: transparent;
    --bs-table-color: var(--astro-text);
    --bs-table-border-color: var(--app-table-cell-border);
    border: 1px solid var(--app-table-outer-border);
    border-radius: 1rem;
    border-collapse: separate;
    border-spacing: 0;
    margin-bottom: 0;
}

@media (max-width: 767.98px) {
    .table {
        border: 0;
    }
}

.table > :not(caption) > * > * {
    background-color: transparent;
    color: var(--astro-text);
    border-right: 1px solid var(--app-table-cell-border);
    border-bottom: 1px solid var(--app-table-cell-border);
}

.table > thead > tr > th:last-child,
.table > tbody > tr > td:last-child,
.table > tbody > tr > th:last-child,
.table > tfoot > tr > td:last-child,
.table > tfoot > tr > th:last-child {
    border-right: 0;
}

.table > tbody > tr:last-child > td,
.table > tbody > tr:last-child > th,
.table > tfoot > tr:last-child > td,
.table > tfoot > tr:last-child > th {
    border-bottom: 0;
}

.table-responsive {
    border-radius: 1rem;
}

.table-sn-column {
    width: 56px;
    min-width: 56px;
    text-align: center;
    vertical-align: middle;
}

.tooltip {
    --bs-tooltip-bg: rgba(31, 21, 46, 0.96);
    --bs-tooltip-color: #fff4df;
    --bs-tooltip-opacity: 1;
}

.tooltip .tooltip-inner {
    background: rgba(31, 21, 46, 0.96);
    color: #fff4df;
    box-shadow: 0 10px 24px rgba(15, 9, 24, 0.24);
}

.profile-audit-badge[open] {
    position: relative;
}

.profile-audit-badge__panel {
    min-width: 220px;
    margin-top: 0.5rem;
    padding: 0.85rem 1rem;
    border-radius: 1rem;
    background: rgba(255, 244, 223, 0.96);
    color: #4a345f;
    box-shadow: 0 14px 28px rgba(20, 11, 31, 0.18);
}

.profile-audit-badge__panel strong {
    color: #7b628f;
}

.bs-tooltip-top .tooltip-arrow::before,
.bs-tooltip-auto[data-popper-placement^="top"] .tooltip-arrow::before {
    border-top-color: rgba(31, 21, 46, 0.96);
}

.bs-tooltip-end .tooltip-arrow::before,
.bs-tooltip-auto[data-popper-placement^="right"] .tooltip-arrow::before {
    border-right-color: rgba(31, 21, 46, 0.96);
}

.bs-tooltip-bottom .tooltip-arrow::before,
.bs-tooltip-auto[data-popper-placement^="bottom"] .tooltip-arrow::before {
    border-bottom-color: rgba(31, 21, 46, 0.96);
}

.bs-tooltip-start .tooltip-arrow::before,
.bs-tooltip-auto[data-popper-placement^="left"] .tooltip-arrow::before {
    border-left-color: rgba(31, 21, 46, 0.96);
}

.table tbody tr:nth-of-type(odd) > * {
    background-color: var(--table-stripe-bg);
}

.table tbody tr:nth-of-type(even) > * {
    background-color: var(--table-stripe-alt-bg);
}

.admin-payments-table {
    border-color: var(--app-table-outer-border);
}

.admin-payments-table-wrap {
    max-height: 760px;
    overflow-y: auto;
    scrollbar-width: thin;
}

.admin-payments-status-filter {
    width: auto;
    min-width: 11rem;
    padding-right: 2.5rem;
}

@media (max-width: 991.98px) {
    .admin-payments-status-filter {
        width: 100%;
        min-width: 0;
    }
}

.admin-payments-table > :not(caption) > * > * {
    border-color: var(--app-table-cell-border);
}

.admin-payments-table > thead > tr > th {
    background-color: var(--app-table-head-bg) !important;
    color: var(--app-table-head-color) !important;
    border-color: var(--app-table-head-border) !important;
    font-weight: 700;
    position: sticky;
    top: 0;
    z-index: 2;
}

.admin-payments-table tbody td {
    vertical-align: middle;
}

.admin-payments-table__actions {
    gap: .3rem !important;
}

.admin-payments-table__action-btn {
    width: 2.4rem;
    min-width: 2.4rem;
    height: 2.4rem;
    padding: 0;
    font-size: .95rem;
    line-height: 1;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.admin-payments-table__verified-badge {
    width: 2.4rem;
    height: 2.4rem;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: .95rem;
}

.admin-users-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: .5rem;
}

.admin-users-actions__form {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    margin: 0;
}

.admin-users-actions__select {
    min-width: 6.4rem;
}

.nepali-datetime {
    display: inline-flex;
    align-items: baseline;
    gap: .35rem;
    line-height: 1.2;
}

.nepali-datetime__date,
.nepali-datetime__time {
    display: block;
}

.nepali-datetime__time {
    font-size: .84em;
    color: var(--astro-muted);
}

table .nepali-datetime {
    flex-direction: column;
    align-items: center;
    gap: .1rem;
    text-align: center;
}

table .nepali-datetime__date {
    white-space: nowrap;
}

.support-admin-created-at .nepali-datetime {
    flex-direction: row;
    align-items: baseline;
    gap: .3rem;
    text-align: left;
}

.support-admin-created-at .nepali-datetime__time {
    font-size: inherit;
    color: inherit;
}

.jyotishi-admin-table__action {
    width: 20rem;
    text-align: center;
}

.jyotishi-admin-table > thead > tr > th:last-child {
    text-align: center;
}

.jyotishi-admin-hero {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1.5rem;
    padding: 1.5rem;
    background:
        radial-gradient(circle at top left, rgba(255, 201, 71, 0.18), transparent 28%),
        linear-gradient(135deg, rgba(67, 22, 104, 0.96), rgba(42, 14, 70, 0.98));
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.jyotishi-admin-hero__eyebrow,
.jyotishi-section-heading__eyebrow,
.jyotishi-form-panel__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 700;
}

.jyotishi-admin-hero__eyebrow {
    color: rgba(255, 232, 186, 0.86);
    margin-bottom: 0.55rem;
}

.jyotishi-admin-hero__title {
    font-size: clamp(1.35rem, 1.3rem + 0.5vw, 1.8rem);
}

.jyotishi-admin-hero__text {
    max-width: 42rem;
    color: rgba(255, 255, 255, 0.78);
}

.jyotishi-admin-hero__stats {
    display: grid;
    grid-template-columns: repeat(2, minmax(120px, 1fr));
    gap: 0.85rem;
    min-width: min(100%, 22rem);
}

.jyotishi-admin-stat {
    padding: 0.9rem 1rem;
    border-radius: 1rem;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(8px);
}

.jyotishi-admin-stat__label {
    display: block;
    font-size: 0.76rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: rgba(255, 255, 255, 0.72);
}

.jyotishi-admin-stat__value {
    display: block;
    font-size: 1.45rem;
    line-height: 1.1;
    margin-top: 0.3rem;
}

.jyotishi-section-heading {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.15rem;
}

.jyotishi-section-heading__actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0.85rem;
    flex-wrap: wrap;
    width: min(100%, 36rem);
}

.jyotishi-section-heading__eyebrow,
.jyotishi-form-panel__eyebrow {
    color: var(--astro-primary);
    margin-bottom: 0.38rem;
}

.jyotishi-search-wrap {
    width: min(100%, 25rem);
    flex: 0 0 auto;
}

.jyotishi-person-cell {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    min-width: 13rem;
}

.jyotishi-person-cell__avatar {
    width: 3.25rem;
    height: 3.25rem;
    border-radius: 999px;
    object-fit: cover;
    border: 2px solid rgba(74, 25, 113, 0.12);
    box-shadow: 0 10px 22px rgba(61, 18, 99, 0.16);
}

.jyotishi-person-cell__body {
    min-width: 0;
}

.jyotishi-person-cell__name,
.jyotishi-specialization-cell__title {
    font-weight: 700;
    color: var(--astro-text);
}

.jyotishi-person-cell__meta,
.jyotishi-specialization-cell__meta {
    font-size: 0.84rem;
    color: var(--astro-muted);
    overflow-wrap: anywhere;
}

.jyotishi-doc-summary {
    display: inline-grid;
    gap: 0.18rem;
    justify-items: center;
}

.jyotishi-doc-summary__count {
    font-size: 1.25rem;
    line-height: 1;
    font-weight: 800;
    color: var(--astro-primary);
}

.jyotishi-doc-summary__label {
    font-size: 0.8rem;
    color: var(--astro-muted);
}

.jyotishi-doc-summary__button {
    margin-top: 0.25rem;
    width: fit-content;
}

.jyotishi-compact-btn,
.jyotishi-doc-summary__button.btn,
.jyotishi-actions .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.32rem;
    min-height: 0;
    padding: 0.48rem 0.72rem !important;
    border-radius: 999px !important;
    font-size: 0.78rem !important;
    font-weight: 600 !important;
    line-height: 1 !important;
    white-space: nowrap;
}

.dashboard-shell .btn.btn-sm:not(.admin-payments-table__action-btn) {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.32rem;
    min-height: 0;
    padding: 0.48rem 0.72rem !important;
    border-radius: 999px !important;
    font-size: 0.78rem !important;
    font-weight: 600 !important;
    line-height: 1 !important;
    white-space: nowrap;
}

.jyotishi-fee-pill {
    display: inline-flex;
    align-items: center;
    padding: 0.48rem 0.8rem;
    border-radius: 999px;
    background: rgba(87, 34, 132, 0.08);
    color: var(--astro-primary);
    font-weight: 700;
}

.jyotishi-status-badge {
    padding: 0.48rem 0.72rem;
    text-transform: capitalize;
}

.jyotishi-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    min-width: 0;
    flex-wrap: nowrap;
    width: fit-content;
    margin-inline: auto;
}

.jyotishi-admin-table tbody td {
    vertical-align: middle;
}

.jyotishi-admin-table > thead > tr > th:nth-child(3),
.jyotishi-admin-table > thead > tr > th:nth-child(4),
.jyotishi-admin-table > thead > tr > th:nth-child(5),
.jyotishi-admin-table > thead > tr > th:nth-child(6),
.jyotishi-admin-table > tbody > tr > td:nth-child(3),
.jyotishi-admin-table > tbody > tr > td:nth-child(4),
.jyotishi-admin-table > tbody > tr > td:nth-child(5),
.jyotishi-admin-table > tbody > tr > td:nth-child(6) {
    text-align: center;
}

.jyotishi-edit-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.32rem;
    flex: 0 0 auto;
    white-space: nowrap;
}

.jyotishi-status-form {
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
    margin: 0;
    min-width: 0;
}

.jyotishi-status-form .form-select,
.jyotishi-status-form .btn {
    min-height: 42px;
}

.jyotishi-status-form .form-select {
    width: 7.75rem;
    min-width: 7.75rem;
}

.jyotishi-status-form .btn {
    padding: 0.55rem 0.95rem;
    white-space: nowrap;
}

.jyotishi-editor-form {
    row-gap: 1rem;
}

.jyotishi-form-panel {
    height: 100%;
    padding: 1.2rem;
    border: 1px solid var(--astro-border);
    border-radius: 1.15rem;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(247, 241, 233, 0.92));
    box-shadow: 0 12px 28px rgba(80, 23, 128, 0.06);
}

.jyotishi-form-panel--profile {
    display: grid;
    gap: 0.75rem;
    place-items: center;
    text-align: center;
    align-content: start;
    padding: 0.95rem;
}

.jyotishi-form-panel__body {
    width: 100%;
}

.jyotishi-upload-trigger {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    min-width: 8rem;
}

.jyotishi-form-avatar {
    width: 5.5rem;
    height: 5.5rem;
    border-radius: 999px;
    object-fit: cover;
    border: 4px solid rgba(255, 255, 255, 0.88);
    box-shadow: 0 18px 36px rgba(54, 18, 90, 0.16);
}

.jyotishi-doc-total {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 5.5rem;
    padding: 0.55rem 0.9rem;
    border-radius: 999px;
    background: rgba(87, 34, 132, 0.08);
    color: var(--astro-primary);
    font-weight: 700;
}

.jyotishi-inline-upload {
    padding: 0.9rem 1rem;
    border-radius: 1rem;
    background: linear-gradient(180deg, rgba(88, 31, 136, 0.05), rgba(255, 255, 255, 0.65));
    border: 1px dashed rgba(87, 34, 132, 0.18);
}

.jyotishi-document-modal .modal-header {
    border-bottom: 1px solid var(--astro-border);
}

@media (max-width: 991.98px) {
    .jyotishi-admin-hero,
    .jyotishi-section-heading {
        flex-direction: column;
    }

    .jyotishi-admin-hero__stats,
    .jyotishi-search-wrap,
    .jyotishi-section-heading__actions {
        width: 100%;
        min-width: 0;
    }

    .jyotishi-admin-table__action {
        width: auto;
    }

    .jyotishi-actions {
        min-width: max-content;
        flex-wrap: wrap;
    }
}

.table tbody tr:hover > * {
    background: var(--table-hover-bg);
}

.metric-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: .55rem;
    height: 100%;
    padding: 1.25rem;
    border-radius: 1.1rem;
    background: linear-gradient(145deg, var(--surface-strong), var(--surface-bg));
    border: 1px solid var(--astro-border);
}

.metric-card .text-muted {
    margin-bottom: 0;
}

.metric-card .display-6,
.metric-card .payment-amount-toggle {
    margin-top: auto;
}

.payment-screen--fonepay .section-block {
    padding-top: 1.5rem;
}

.fonepay-sheet {
    padding: clamp(1.15rem, 2vw, 1.75rem);
    border-radius: 1.6rem;
    background:
        radial-gradient(circle at top right, rgba(196, 143, 64, 0.12), transparent 24%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(249, 244, 236, 0.98));
}

.fonepay-hero {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.25rem;
}

.fonepay-hero__eyebrow {
    display: inline-block;
    margin-bottom: 0.45rem;
    padding: 0.35rem 0.7rem;
    border-radius: 999px;
    background: rgba(109, 53, 140, 0.08);
    color: var(--astro-primary);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.fonepay-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.8rem 1rem;
    border-radius: 1rem;
    background: rgba(255, 255, 255, 0.86);
    border: 1px solid rgba(192, 106, 24, 0.16);
    color: var(--astro-text);
    font-weight: 700;
    white-space: nowrap;
}

.fonepay-badge i {
    color: var(--astro-primary);
    font-size: 1.15rem;
}

.fonepay-metrics {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
    margin-bottom: 1.25rem;
}

.fonepay-metric-card {
    min-height: 100%;
}

.fonepay-metric-card .text-muted {
    font-size: 0.88rem;
    margin-bottom: 0.45rem;
}

.fonepay-metric-card .fw-bold {
    font-size: 1.15rem;
}

.fonepay-reference {
    overflow-wrap: anywhere;
}

.fonepay-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.95fr);
    gap: 1.25rem;
    align-items: start;
}

.fonepay-qr-panel,
.fonepay-summary-panel {
    height: 100%;
    border-radius: 1.4rem;
}

.fonepay-qr-panel {
    text-align: center;
    padding: 1.35rem;
}

.fonepay-qr-frame {
    width: min(100%, 360px);
    margin: 0 auto;
    padding: 0.9rem;
    border-radius: 1.35rem;
    background: #fff;
    border: 1px solid rgba(109, 53, 140, 0.08);
    box-shadow: 0 18px 35px rgba(81, 37, 101, 0.08);
}

.fonepay-qr-image {
    width: 100%;
    max-width: 320px;
    border-radius: 0.9rem;
    display: block;
    margin: 0 auto;
}

.fonepay-steps {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.75rem;
    margin-top: 1rem;
    text-align: left;
}

.fonepay-step {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.9rem;
    border-radius: 1rem;
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(192, 106, 24, 0.14);
}

.fonepay-step span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.8rem;
    height: 1.8rem;
    border-radius: 999px;
    background: var(--astro-primary);
    color: #fff;
    font-size: 0.85rem;
    font-weight: 700;
}

.fonepay-step strong {
    font-size: 0.95rem;
    line-height: 1.45;
    display: block;
    padding-top: 0.15rem;
}

.fonepay-summary-panel {
    padding: 1.35rem;
}

.fonepay-summary-pill {
    padding: 0.42rem 0.75rem;
    border-radius: 999px;
    background: rgba(109, 53, 140, 0.08);
    color: var(--astro-primary);
    font-size: 0.82rem;
    font-weight: 700;
}

.fonepay-item-list {
    display: grid;
    gap: 0.85rem;
}

.fonepay-item-card {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem 1.05rem;
    border-radius: 1.1rem;
    background: rgba(255, 255, 255, 0.74);
    border: 1px solid rgba(192, 106, 24, 0.14);
}

.fonepay-item-amount {
    white-space: nowrap;
    color: var(--astro-primary);
}

.fonepay-total-strip {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px dashed rgba(109, 53, 140, 0.18);
    font-size: 0.98rem;
}

.fonepay-total-strip strong {
    font-size: 1.15rem;
}

[data-theme="dark"] .payment-screen--fonepay .fonepay-sheet {
    background:
        radial-gradient(circle at top right, rgba(248, 196, 87, 0.14), transparent 28%),
        linear-gradient(180deg, rgba(25, 16, 39, 0.97), rgba(18, 12, 30, 0.98));
    border-color: rgba(248, 196, 87, 0.14);
    box-shadow: 0 28px 54px rgba(0, 0, 0, 0.38);
}

[data-theme="dark"] .payment-screen--fonepay .fonepay-hero__eyebrow,
[data-theme="dark"] .payment-screen--fonepay .small.text-uppercase.text-muted,
[data-theme="dark"] .payment-screen--fonepay .text-muted,
[data-theme="dark"] .payment-screen--fonepay .fonepay-summary-pill {
    color: rgba(235, 225, 255, 0.76) !important;
}

[data-theme="dark"] .payment-screen--fonepay h4,
[data-theme="dark"] .payment-screen--fonepay .fw-bold,
[data-theme="dark"] .payment-screen--fonepay .fw-semibold,
[data-theme="dark"] .payment-screen--fonepay .fonepay-total-strip,
[data-theme="dark"] .payment-screen--fonepay .fonepay-step strong {
    color: #f8f4ff;
}

[data-theme="dark"] .payment-screen--fonepay .fonepay-badge,
[data-theme="dark"] .payment-screen--fonepay .fonepay-summary-panel,
[data-theme="dark"] .payment-screen--fonepay .fonepay-qr-panel,
[data-theme="dark"] .payment-screen--fonepay .fonepay-item-card,
[data-theme="dark"] .payment-screen--fonepay .fonepay-step {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(248, 196, 87, 0.16);
    color: #f8f4ff;
}

[data-theme="dark"] .payment-screen--fonepay .fonepay-summary-pill {
    background: rgba(248, 196, 87, 0.14);
}

[data-theme="dark"] .payment-screen--fonepay .fonepay-item-card,
[data-theme="dark"] .payment-screen--fonepay .fonepay-step,
[data-theme="dark"] .payment-screen--fonepay .fonepay-badge {
    box-shadow: none;
}

[data-theme="dark"] .payment-screen--fonepay .fonepay-item-amount,
[data-theme="dark"] .payment-screen--fonepay .fonepay-total-strip strong,
[data-theme="dark"] .payment-screen--fonepay .fonepay-badge i {
    color: #f8c457;
}

[data-theme="dark"] .payment-screen--fonepay .fonepay-total-strip {
    border-top-color: rgba(248, 196, 87, 0.18);
}

[data-theme="dark"] .payment-screen--fonepay .fonepay-qr-frame {
    background: #fff;
    border-color: rgba(248, 196, 87, 0.18);
    box-shadow: 0 18px 34px rgba(0, 0, 0, 0.28);
}

@media (max-width: 991.98px) {
    .payment-screen--fonepay .fonepay-hero {
        flex-direction: column;
    }

    .payment-screen--fonepay .fonepay-badge {
        align-self: flex-start;
    }

    .payment-screen--fonepay .fonepay-layout,
    .payment-screen--fonepay .fonepay-steps {
        grid-template-columns: 1fr !important;
    }

    .payment-screen--fonepay .fonepay-summary-column,
    .payment-screen--fonepay .fonepay-qr-column {
        min-width: 0;
    }

    .payment-screen--fonepay .fonepay-item-card {
        flex-direction: column;
    }
}

@media (max-width: 575.98px) {
    .payment-screen--fonepay .section-block {
        padding-top: 0.85rem;
    }

    .payment-screen--fonepay .container {
        padding-left: 0.85rem;
        padding-right: 0.85rem;
    }

    .payment-screen--fonepay .fonepay-sheet {
        padding: 1rem;
        border-radius: 1.2rem;
    }

    .payment-screen--fonepay .fonepay-hero {
        gap: 0.8rem;
        margin-bottom: 1rem;
    }

    .payment-screen--fonepay .fonepay-hero h4 {
        margin-bottom: 0.35rem !important;
    }

    .payment-screen--fonepay .fonepay-qr-panel,
    .payment-screen--fonepay .fonepay-summary-panel {
        padding: 1rem;
    }

    .payment-screen--fonepay .fonepay-qr-frame {
        width: 100%;
        max-width: 100%;
        padding: 0.7rem;
        border-radius: 1rem;
    }

    .payment-screen--fonepay .fonepay-qr-image {
        max-width: 100%;
    }

    .payment-screen--fonepay .fonepay-summary-panel > .d-flex {
        align-items: flex-start !important;
        flex-direction: column;
    }

    .payment-screen--fonepay .fonepay-item-card {
        padding: 0.9rem;
        gap: 0.6rem;
    }

    .payment-screen--fonepay .fonepay-item-amount {
        font-size: 1rem;
        white-space: normal;
    }

    .payment-screen--fonepay .fonepay-steps {
        gap: 0.65rem;
    }

    .payment-screen--fonepay .fonepay-step {
        padding: 0.8rem 0.85rem;
    }

    .payment-screen--fonepay .fonepay-step strong {
        font-size: 0.9rem;
    }

    .payment-screen--fonepay .fonepay-total-strip {
        margin-top: 0.85rem;
        padding-top: 0.85rem;
        font-size: 0.92rem;
    }

    .payment-screen--fonepay .fonepay-total-strip strong {
        font-size: 1.02rem;
    }
}

.payment-amount-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: .55rem;
    width: 100%;
    max-width: 100%;
    padding: 0;
    margin-top: 0.15rem;
    border: 0;
    background: transparent;
    color: var(--astro-text);
    text-align: left;
}

.payment-amount-toggle [data-money-toggle-value] {
    overflow-wrap: anywhere;
}

.metric-payment-amount {
    display: inline-block;
    font-size: 1.85rem;
    line-height: 1.15;
    min-width: 0;
}

.payment-amount-toggle__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.85rem;
    height: 1.85rem;
    border-radius: 999px;
    background: rgba(80, 23, 128, 0.08);
    color: var(--astro-primary);
    flex: 0 0 1.85rem;
    font-size: .95rem;
}

.payment-amount-toggle:focus-visible {
    outline: 2px solid var(--astro-primary);
    outline-offset: 0.25rem;
    border-radius: 0.4rem;
}

.category-drag-handle {
    cursor: grab;
    touch-action: none;
}

[data-category-sort-row].is-dragging {
    opacity: 0.55;
}

[data-category-sort-row].is-drag-over > * {
    box-shadow: inset 0 2px 0 var(--astro-primary);
}

[data-faq-sort-row].is-dragging {
    opacity: 0.55;
}

[data-faq-sort-row].is-drag-over > * {
    box-shadow: inset 0 2px 0 var(--astro-primary);
}

.category-icon-preview {
    width: 64px;
    height: 64px;
    object-fit: contain;
    border: 1px solid var(--astro-border);
    border-radius: 0.75rem;
    background: var(--surface-soft);
    padding: 0.5rem;
}

.admin-live-map-card,
.admin-live-feed-card {
    position: relative;
    overflow: hidden;
}

.admin-live-map-card__header,
.admin-live-feed-card__header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1rem;
}

.admin-live-map-card__stats {
    display: flex;
    gap: .85rem;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.admin-live-map-card__stat {
    min-width: 120px;
    padding: .8rem .95rem;
    border-radius: 1rem;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.9), rgba(245, 191, 45, 0.18));
    border: 1px solid rgba(93, 31, 141, 0.12);
    text-align: center;
}

.admin-live-map-card__stat-value {
    display: block;
    font-family: "Khand", "Mukta", sans-serif;
    font-size: 1.75rem;
    line-height: 1;
    color: var(--astro-primary);
}

.admin-live-map-card__stat-label {
    display: block;
    margin-top: .2rem;
    font-size: .76rem;
    color: var(--astro-muted);
    text-transform: uppercase;
    letter-spacing: .08em;
}

.admin-live-map-card__surface {
    position: relative;
    padding: 1.1rem;
    border-radius: 1.6rem;
    background: linear-gradient(180deg, rgba(249, 250, 251, 0.92), rgba(255, 255, 255, 0.98));
    border: 1px solid rgba(125, 164, 212, 0.12);
    box-shadow: 0 18px 44px rgba(15, 23, 42, 0.08);
}

.admin-live-map-card__beam {
    display: none;
}

.admin-live-map-card__visual {
    position: relative;
    min-height: 420px;
    overflow: hidden;
    border-radius: 1.25rem 1.25rem 1rem 1rem;
    background: #eef4f8;
    border: 1px solid rgba(132, 164, 208, 0.14);
}

.admin-live-map-card__stage {
    position: relative;
    min-height: 420px;
}

.admin-live-map-card__canvas {
    position: relative;
    min-height: 420px;
    z-index: 1;
    overflow: hidden;
    opacity: 1;
}

.admin-live-map-card__canvas .leaflet-container {
    height: 420px;
    width: 100%;
    background: #d8e6f2;
    font-family: inherit;
}

.admin-live-map-card__canvas .leaflet-control-attribution {
    background: rgba(255, 255, 255, 0.88);
    color: #344054;
    border-radius: 0.5rem 0 0 0;
    padding: 0.15rem 0.4rem;
    font-size: 0.66rem;
}

.admin-live-map-card__canvas .leaflet-control-attribution a {
    color: #0f766e;
}

.admin-live-map-leaflet-tooltip {
    border: 0;
    border-radius: 0.85rem;
    background: rgba(9, 18, 28, 0.94);
    color: #f8fbff;
    box-shadow: 0 18px 32px rgba(7, 16, 28, 0.28);
}

.admin-live-map-leaflet-tooltip .leaflet-tooltip-content {
    margin: 0;
    padding: 0;
}

.admin-live-map-exact-marker {
    background: transparent;
    border: 0;
}

.admin-live-map-exact-marker__pulse,
.admin-live-map-exact-marker__core {
    position: absolute;
    inset: 50% auto auto 50%;
    transform: translate(-50%, -50%);
    border-radius: 999px;
}

.admin-live-map-exact-marker__pulse {
    width: 26px;
    height: 26px;
    background: rgba(239, 68, 68, 0.22);
    animation: adminLiveExactMarkerPulse 1.7s ease-out infinite;
}

.admin-live-map-exact-marker__core {
    width: 11px;
    height: 11px;
    background: #ef4444;
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.96);
}

.admin-live-map-card__markers {
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
}

.admin-live-nepal-focus {
    position: absolute;
    left: 1rem;
    bottom: 1rem;
    z-index: 4;
    width: min(270px, calc(100% - 2rem));
    padding: .85rem .9rem .95rem;
    border-radius: 1.15rem;
    background: rgba(7, 16, 28, 0.8);
    border: 1px solid rgba(125, 164, 212, 0.18);
    box-shadow: 0 20px 36px rgba(3, 9, 18, 0.26);
    backdrop-filter: blur(14px);
}

.admin-live-nepal-focus__header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: .75rem;
    margin-bottom: .55rem;
}

.admin-live-nepal-focus__eyebrow {
    font-size: .64rem;
    line-height: 1;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: rgba(216, 255, 248, 0.72);
}

.admin-live-nepal-focus__title {
    margin-top: .22rem;
    color: #f6fbff;
    font-weight: 700;
    font-size: .9rem;
}

.admin-live-nepal-focus__count {
    min-width: 1.8rem;
    height: 1.8rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: linear-gradient(135deg, rgba(103, 232, 249, 0.24), rgba(94, 234, 212, 0.3));
    color: #eafffc;
    font-weight: 700;
    font-size: .82rem;
}

.admin-live-nepal-focus__map {
    position: relative;
    height: 112px;
    overflow: hidden;
    border-radius: .95rem;
    background:
        radial-gradient(circle at 18% 34%, rgba(88, 224, 193, 0.12), transparent 30%),
        linear-gradient(180deg, rgba(10, 22, 37, 0.94), rgba(7, 17, 29, 0.98));
    border: 1px solid rgba(138, 168, 208, 0.12);
}

.admin-live-nepal-focus__terrain {
    position: absolute;
    inset: 16px 8px 12px;
    background:
        linear-gradient(180deg, rgba(220, 249, 255, 0.22), rgba(94, 234, 212, 0.16)),
        linear-gradient(90deg, rgba(129, 240, 223, 0.22), rgba(129, 240, 223, 0.08));
    clip-path: polygon(1% 62%, 8% 58%, 13% 50%, 19% 52%, 24% 46%, 30% 48%, 35% 41%, 43% 44%, 49% 38%, 56% 40%, 61% 35%, 69% 41%, 76% 39%, 82% 45%, 89% 43%, 95% 49%, 98% 58%, 94% 61%, 88% 57%, 82% 62%, 75% 60%, 68% 65%, 61% 61%, 55% 67%, 48% 62%, 42% 66%, 35% 61%, 28% 64%, 20% 60%, 13% 65%, 6% 63%);
    box-shadow: 0 0 0 1px rgba(225, 246, 255, 0.1);
}

.admin-live-nepal-focus__marker {
    position: absolute;
    transform: translate(-50%, -50%);
    border: 0;
    padding: 0;
    background: transparent;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.admin-live-nepal-focus__pulse {
    position: absolute;
    width: 1rem;
    height: 1rem;
    border-radius: 999px;
    background: rgba(94, 234, 212, 0.24);
    animation: adminLiveMarkerPulse 1.8s ease-out infinite;
}

.admin-live-nepal-focus__pin {
    position: relative;
    z-index: 1;
    width: .62rem;
    height: .62rem;
    border-radius: 999px;
    background: linear-gradient(135deg, #9ffcf0, #34d3b7);
    box-shadow: 0 0 0 2px rgba(236, 251, 255, 0.92), 0 8px 18px rgba(1, 9, 18, 0.32);
}

.admin-live-nepal-focus__marker-label {
    position: absolute;
    top: -1.05rem;
    left: 50%;
    transform: translateX(-50%);
    padding: .08rem .34rem;
    border-radius: 999px;
    background: rgba(6, 15, 25, 0.88);
    color: #edf9ff;
    font-size: .56rem;
    line-height: 1.2;
    font-weight: 700;
    white-space: nowrap;
    box-shadow: 0 8px 20px rgba(2, 10, 22, 0.18);
}

.admin-live-nepal-focus__marker-count {
    position: absolute;
    z-index: 1;
    top: .52rem;
    left: 50%;
    transform: translateX(-50%);
    min-width: .86rem;
    padding: .02rem .22rem;
    border-radius: 999px;
    background: rgba(231, 251, 247, 0.94);
    color: #0d4f5e;
    font-size: .52rem;
    line-height: 1.2;
    font-weight: 800;
}

.admin-live-map-card__controls {
    position: absolute;
    top: .9rem;
    right: .9rem;
    z-index: 4;
    display: inline-flex;
    gap: .45rem;
    padding: .28rem;
    border-radius: 999px;
    background: rgba(6, 12, 22, 0.66);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(125, 164, 212, 0.12);
}

.admin-live-map-card__control {
    width: 2rem;
    height: 2rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(111, 168, 255, 0.08);
    border-radius: 999px;
    background: rgba(18, 28, 43, 0.92);
    color: #e9f2ff;
    box-shadow: 0 8px 18px rgba(3, 10, 20, 0.22);
}

.admin-live-map-card__control:hover {
    background: rgba(31, 74, 86, 0.92);
}

.admin-live-map-marker {
    position: absolute;
    transform: translate(-50%, -50%);
    display: inline-flex;
    align-items: flex-end;
    justify-content: center;
    border: 0;
    padding: 0;
    background: transparent;
    pointer-events: auto;
}

.admin-live-map-marker__pulse,
.admin-live-map-marker__core {
    position: absolute;
    inset: 50% auto auto 50%;
    transform: translate(-50%, -50%);
    border-radius: 999px;
}

.admin-live-map-marker__pulse {
    width: 1.35rem;
    height: 1.35rem;
    background: rgba(94, 234, 212, 0.18);
    animation: adminLiveMarkerPulse 1.8s ease-out infinite;
}

.admin-live-map-marker__tower {
    position: relative;
    display: inline-flex;
    align-items: flex-start;
    justify-content: center;
    transform: scale(var(--admin-map-marker-scale));
    transform-origin: center center;
}

.admin-live-map-marker__mast {
    position: absolute;
    left: 50%;
    bottom: -.52rem;
    width: .12rem;
    height: .66rem;
    border-radius: 999px;
    background: linear-gradient(180deg, rgba(103, 232, 249, 0.9), rgba(7, 18, 32, 0.9));
    transform: translateX(-50%);
    box-shadow: 0 2px 8px rgba(2, 10, 22, 0.18);
}

.admin-live-map-marker__core {
    width: .86rem;
    height: .86rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #67e8f9, #5eead4);
    color: #04233a;
    box-shadow: 0 0 0 2px rgba(233, 245, 255, 0.9), 0 10px 20px rgba(2, 10, 22, 0.24);
    font-size: .44rem;
}

.admin-live-map-marker__count {
    position: absolute;
    z-index: 2;
    left: .42rem;
    top: -.48rem;
    min-width: .92rem;
    padding: .04rem .26rem;
    border-radius: 999px;
    background: rgba(7, 18, 32, 0.88);
    color: #f5fbff;
    font-size: .58rem;
    font-weight: 700;
    box-shadow: 0 6px 14px rgba(2, 10, 22, 0.18);
}

.admin-live-map-card__empty,
.admin-live-activity-empty,
.admin-live-country-summary__empty {
    padding: 1.2rem;
    border-radius: 1rem;
    background: rgba(255, 255, 255, 0.8);
    border: 1px dashed rgba(93, 31, 141, 0.16);
    color: var(--astro-muted);
}

.admin-live-country-summary {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: .7rem;
    margin-top: 1rem;
}

.admin-live-country-chip {
    display: flex;
    align-items: center;
    gap: .65rem;
    padding: .72rem .82rem;
    border-radius: 1rem;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(246, 249, 252, 0.94));
    border: 1px solid rgba(16, 34, 56, 0.08);
    color: #10233d;
    box-shadow: 0 18px 36px rgba(12, 21, 34, 0.06);
}

.admin-live-country-chip__flag {
    width: 1.8rem;
    height: 1.8rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: rgba(88, 224, 193, 0.12);
    font-size: 1rem;
}

.admin-live-country-chip__body {
    display: grid;
    gap: .05rem;
    min-width: 0;
}

.admin-live-country-chip__name {
    font-weight: 600;
    line-height: 1.1;
    overflow-wrap: anywhere;
}

.admin-live-country-chip__meta {
    font-size: .76rem;
    color: #6a7890;
}

.admin-live-country-chip__count {
    margin-left: auto;
    min-width: 1.8rem;
    padding: .2rem .48rem;
    border-radius: 999px;
    background: linear-gradient(135deg, rgba(103, 232, 249, 0.22), rgba(94, 234, 212, 0.26));
    color: #0f4b67;
    font-weight: 700;
    text-align: center;
}

.admin-live-feed-card__dot {
    width: 12px;
    height: 12px;
    border-radius: 999px;
    background: var(--astro-accent);
    box-shadow: 0 0 0 0 rgba(245, 191, 45, 0.45);
    animation: adminLiveFeedDot 1.6s ease-in-out infinite;
}

.admin-live-activity-feed {
    display: grid;
    gap: .85rem;
}

.admin-live-activity-item {
    display: flex;
    align-items: flex-start;
    gap: .8rem;
    padding: .9rem;
    border-radius: 1rem;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.94), rgba(244, 238, 252, 0.92));
    border: 1px solid rgba(93, 31, 141, 0.1);
}

.admin-live-activity-item__pulse {
    width: 12px;
    height: 12px;
    margin-top: .42rem;
    border-radius: 999px;
    flex: 0 0 auto;
    box-shadow: 0 0 0 0 rgba(93, 31, 141, 0.28);
    animation: adminLiveFeedDot 2s ease-in-out infinite;
}

.admin-live-activity-item__pulse--visit,
.admin-live-activity-item__badge--visit {
    background: rgba(55, 125, 255, 0.14);
    color: #225cc7;
}

.admin-live-activity-item__pulse--profile,
.admin-live-activity-item__badge--profile {
    background: rgba(25, 135, 84, 0.16);
    color: #157347;
}

.admin-live-activity-item__pulse--register,
.admin-live-activity-item__badge--register {
    background: rgba(245, 191, 45, 0.24);
    color: #8c5a00;
}

.admin-live-activity-item__pulse--default,
.admin-live-activity-item__badge--default {
    background: rgba(93, 31, 141, 0.14);
    color: var(--astro-primary);
}

.admin-live-activity-item__body {
    min-width: 0;
    flex: 1;
}

.admin-live-activity-item__top,
.admin-live-activity-item__meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .75rem;
    flex-wrap: wrap;
}

.admin-live-activity-item__name {
    font-weight: 700;
    color: var(--astro-text);
}

.admin-live-activity-item__time {
    color: var(--astro-muted);
    font-size: .82rem;
}

.admin-live-activity-item__meta {
    margin-top: .45rem;
}

.admin-live-activity-item__badge {
    display: inline-flex;
    align-items: center;
    padding: .28rem .7rem;
    border-radius: 999px;
    font-size: .76rem;
    font-weight: 700;
}

.admin-live-activity-item__country,
.admin-live-activity-item__page {
    color: var(--astro-muted);
    font-size: .9rem;
}

.admin-live-activity-item__page {
    margin-top: .4rem;
    color: var(--astro-text);
}

.frontend-location-permission {
    position: fixed;
    right: 1rem;
    bottom: 1rem;
    z-index: 1080;
    width: min(22rem, calc(100vw - 2rem));
    padding: 1rem 1rem 0.9rem;
    border-radius: 1rem;
    background: rgba(19, 28, 43, 0.96);
    color: #f8fbff;
    box-shadow: 0 22px 40px rgba(4, 12, 24, 0.28);
}

.frontend-location-permission__title {
    font-weight: 700;
    font-size: 1rem;
}

.frontend-location-permission__text {
    margin-top: 0.38rem;
    font-size: 0.88rem;
    line-height: 1.45;
    color: rgba(248, 251, 255, 0.82);
}

.frontend-location-permission__actions {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin-top: 0.85rem;
}

.frontend-location-permission__btn,
.frontend-location-permission__dismiss {
    border: 0;
    border-radius: 999px;
    padding: 0.5rem 0.95rem;
    font-size: 0.84rem;
    font-weight: 700;
}

.frontend-location-permission__btn {
    background: #f5bf2d;
    color: #1f2937;
}

.frontend-location-permission__dismiss {
    background: rgba(255, 255, 255, 0.1);
    color: #f8fbff;
}

.admin-live-map-tooltip {
    min-width: 152px;
    padding: .45rem .3rem;
    color: #142236;
}

.admin-live-map-tooltip__title {
    font-weight: 700;
    margin-bottom: .22rem;
}

@keyframes adminLiveFeedDot {
    0%,
    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(245, 191, 45, 0.42);
    }

    50% {
        transform: scale(1.18);
        box-shadow: 0 0 0 11px rgba(245, 191, 45, 0);
    }
}

@keyframes adminLiveMapBeam {
    0%,
    100% {
        transform: translate3d(0, 0, 0) scale(1);
        opacity: .82;
    }

    50% {
        transform: translate3d(22px, 10px, 0) scale(1.08);
        opacity: 1;
    }
}

@keyframes adminLiveMarkerPulse {
    0% {
        transform: translate(-50%, -50%) scale(.72);
        opacity: .95;
    }

    100% {
        transform: translate(-50%, -50%) scale(1.8);
        opacity: 0;
    }
}

@keyframes adminLiveExactMarkerPulse {
    0% {
        transform: translate(-50%, -50%) scale(.72);
        opacity: .95;
    }

    100% {
        transform: translate(-50%, -50%) scale(1.95);
        opacity: 0;
    }
}

.filter-chip {
    border-radius: 999px;
    padding: .45rem .85rem;
    border: 1px solid rgba(18, 25, 58, 0.1);
    background: var(--surface-strong);
}

.form-control,
.form-select {
    min-height: 48px;
    border-radius: .9rem;
    border-color: var(--neutral-button-border);
    background: var(--surface-strong);
    color: var(--astro-text);
}

.form-control:focus,
.form-select:focus {
    background: var(--surface-strong);
    color: var(--astro-text);
    border-color: rgba(239, 182, 79, 0.56);
    box-shadow: 0 0 0 .25rem var(--focus-ring);
}

.form-control::placeholder {
    color: var(--astro-muted);
}

.email-validation-hint {
    min-height: 1.2rem;
    margin-top: 0.45rem;
    font-size: 0.9rem;
    font-weight: 700;
    line-height: 1.3;
    transition: color .2s ease, opacity .2s ease;
}

.email-validation-hint[data-email-state="valid"] {
    color: #198754;
}

.email-validation-hint[data-email-state="invalid"] {
    color: #dc3545;
}

.form-control.email-validation-valid {
    border-color: rgba(25, 135, 84, 0.55);
    box-shadow: 0 0 0 0.16rem rgba(25, 135, 84, 0.14);
}

.form-control.email-validation-invalid {
    border-color: rgba(220, 53, 69, 0.58);
    box-shadow: 0 0 0 0.16rem rgba(220, 53, 69, 0.12);
}

.form-control.email-validation-valid:focus {
    border-color: rgba(25, 135, 84, 0.72);
    box-shadow: 0 0 0 0.24rem rgba(25, 135, 84, 0.16);
}

.form-control.email-validation-invalid:focus {
    border-color: rgba(220, 53, 69, 0.72);
    box-shadow: 0 0 0 0.24rem rgba(220, 53, 69, 0.16);
}

.native-date-input {
    cursor: pointer;
}

.date-dropdown-field {
    display: grid;
    grid-template-columns: minmax(86px, .8fr) minmax(132px, 1.2fr) minmax(96px, .9fr);
    gap: .5rem;
}

.date-dropdown-field__source {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

.date-dropdown-field__select {
    min-height: 48px;
}

@media (max-width: 575.98px) {
    .date-dropdown-field {
        grid-template-columns: 1fr;
    }
}

[data-ad-date-display] {
    cursor: text;
}

.ad-date-picker-field {
    position: relative;
}

.ad-date-picker-field::after {
    display: none;
}

.ad-date-picker-field [data-ad-date-display] {
    padding-right: 1rem;
}

.ad-date-picker-field--no-icon::after {
    display: none;
}

.ad-date-picker-field--no-icon [data-ad-date-display] {
    padding-right: 1rem;
}

.ad-date-picker-field__native {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 3rem;
    height: 100%;
    opacity: 0;
    cursor: pointer;
    z-index: 4;
}

.ad-date-picker-field__native::-webkit-calendar-picker-indicator {
    width: 100%;
    height: 100%;
    cursor: pointer;
}

.form-label,
label {
    color: var(--astro-text);
}

.form-label {
    font-weight: 600;
}

.input-group-text {
    background: var(--surface-soft);
    color: var(--astro-text);
    border-color: var(--neutral-button-border);
}

.form-check-input {
    background-color: var(--surface-strong);
    border-color: var(--astro-border);
}

.form-check-input:checked {
    background-color: #d9892b;
    border-color: #d9892b;
}

.btn {
    border-radius: .95rem;
    padding: .7rem 1.05rem;
    font-weight: 600;
}

.btn-role-iconized {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
}

.btn-role-icon {
    flex: 0 0 auto;
    font-size: .95em;
    line-height: 1;
}

.btn-primary {
    background: var(--astro-primary);
    border-color: var(--astro-primary);
    color: #fff;
}

.btn-guided-glow {
    box-shadow: 0 16px 34px rgba(80, 23, 128, 0.22);
    animation: guidedButtonGlow 1.8s ease-in-out infinite;
}

.btn-guided-glow span,
.btn-guided-glow strong,
.btn-guided-glow {
    animation-play-state: running;
}

.btn-guided-blink-twice span,
.btn-guided-blink-twice strong,
.btn-guided-blink-twice {
    animation: none !important;
}

.btn-guided-blink-finish span,
.btn-guided-blink-finish strong,
.btn-guided-blink-finish {
    animation: guidedButtonTextBlink .34s ease-in-out 2;
}

.btn-warning {
    background: var(--astro-accent);
    border-color: var(--astro-accent);
    color: #35144f;
}

@keyframes guidedButtonTextBlink {
    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: .45;
    }
}

@keyframes guidedButtonGlow {
    0%,
    100% {
        transform: translateY(0);
        box-shadow: 0 16px 34px rgba(80, 23, 128, 0.18);
        filter: saturate(1);
    }

    50% {
        transform: translateY(-2px);
        box-shadow: 0 22px 42px rgba(80, 23, 128, 0.28);
        filter: saturate(1.08);
    }
}

.btn-warning:hover,
.btn-warning:focus {
    background: #ffd089;
    border-color: #ffd089;
    color: #2f1246;
}

.btn-light {
    background: var(--neutral-button-bg);
    border-color: var(--neutral-button-border);
    color: var(--astro-text);
}

.btn-light:hover,
.btn-light:focus {
    background: var(--neutral-button-hover);
    border-color: var(--neutral-button-border);
    color: var(--astro-text);
}

.btn-outline-dark {
    border-color: var(--neutral-button-border);
    color: var(--astro-text);
}

.btn-outline-dark:hover,
.btn-outline-dark:focus {
    background: var(--surface-soft);
    border-color: var(--neutral-button-border);
    color: var(--astro-text);
}

.social-auth-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .45rem;
    min-height: 3rem;
    padding: .7rem 1rem;
    font-size: .92rem;
    font-weight: 600;
    line-height: 1.2;
    text-align: center;
    white-space: nowrap;
}

.social-auth-btn i {
    margin-right: 0 !important;
    font-size: .95rem;
    line-height: 1;
}

.btn:focus-visible {
    box-shadow: 0 0 0 .25rem var(--focus-ring);
}

.badge-soft {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    padding: .4rem .65rem;
    border-radius: 999px;
    background: rgba(18, 25, 58, 0.08);
    font-size: .85rem;
}

.btn-theme {
    background: var(--surface-strong);
    border: 1px solid var(--astro-border);
    color: var(--astro-text);
}

.btn-theme:hover,
.btn-theme:focus {
    background: var(--surface-soft);
    color: var(--astro-text);
    border-color: var(--astro-border);
}

.theme-switcher {
    display: inline-flex;
    align-items: center;
    padding: .2rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.14);
}

.theme-switcher-btn {
    min-width: 5.25rem;
    border-radius: 999px;
    border-color: transparent;
    background: transparent;
    color: rgba(255, 255, 255, 0.74);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .45rem;
}

.theme-switcher-btn:hover,
.theme-switcher-btn:focus {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    border-color: transparent;
}

.theme-switcher-btn.is-active {
    background: #efb64f;
    color: #35144f;
    border-color: #efb64f;
    box-shadow: 0 8px 18px rgba(239, 182, 79, 0.24);
}

.theme-toggle-single {
    width: 2.8rem;
    height: 2.8rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    border-radius: 999px;
    font-size: 1rem;
    background: #efb64f;
    border-color: #efb64f;
    color: #35144f;
}

.theme-toggle-single:hover,
.theme-toggle-single:focus {
    background: #ffd089;
    border-color: #ffd089;
    color: #2f1246;
}

.navbar-user-toggle {
    min-width: 8.25rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .45rem;
    border-radius: 999px;
    padding-inline: 1rem;
    font-weight: 600;
    text-align: center;
}

.navbar-notification-btn {
    width: 2.8rem;
    height: 2.8rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    font-size: 1rem;
}

.navbar-mobile-account-avatar {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 999px;
}

.navbar-mobile-account-toggle {
    padding: 0;
    border-radius: 999px;
    line-height: 1;
}

.navbar-notification-badge {
    position: absolute;
    top: -0.3rem;
    right: -0.25rem;
    min-width: 1.2rem;
    height: 1.2rem;
    padding: 0 0.3rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: #ff4d6d;
    color: #fff;
    font-size: 0.68rem;
    font-weight: 600;
    line-height: 1;
    border: 2px solid #501780;
}

.navbar-user-dropdown {
    min-width: 13rem;
    border-radius: 1rem;
    overflow: hidden;
}

.navbar-mobile-account-menu {
    min-width: 13rem;
    margin-top: .55rem !important;
}

.navbar-mobile-account-toggle::after {
    display: none;
}

.navbar-user-dropdown .dropdown-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.7rem;
    padding: 0.8rem 1rem;
    font-weight: 600;
    text-align: center;
}

.navbar-user-dropdown .dropdown-item i {
    width: 1rem;
    text-align: center;
}

.account-section {
    position: relative;
}

.account-sidebar-card {
    position: sticky;
    top: 6.5rem;
    padding: 1.4rem;
}

.account-sidebar-card__profile {
    display: flex;
    align-items: center;
    gap: 0.95rem;
    padding-bottom: 0;
    margin-bottom: 0;
}

.account-sidebar-card__avatar {
    width: 64px;
    height: 64px;
    border-radius: 1rem;
    object-fit: cover;
    flex: 0 0 64px;
    border: 1px solid var(--astro-border);
}

.account-sidebar-card__name {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--astro-text);
}

.account-sidebar-card__meta {
    color: var(--astro-muted);
    font-size: 0.9rem;
}

.account-sidebar-card__menu-trigger {
    margin-left: auto;
    width: 3rem;
    height: 3rem;
    border-radius: 1rem;
    display: none;
    align-items: center;
    justify-content: center;
    flex: 0 0 3rem;
    font-size: 1.25rem;
    padding: 0;
    transition: border-color .2s ease, background-color .2s ease, box-shadow .2s ease;
}

.account-mobile-menu-trigger {
    display: inline-flex;
    margin-left: 0;
}

.account-mobile-section-bar {
    display: none;
    align-items: center;
    gap: .85rem;
    padding: .85rem 1rem;
    border: 1px solid var(--astro-border);
    border-radius: 1.15rem;
    background: rgba(255, 255, 255, 0.86);
    box-shadow: 0 12px 28px rgba(80, 23, 128, 0.06);
}

.account-mobile-section-bar__copy {
    min-width: 0;
    flex: 1 1 auto;
}

.account-mobile-section-bar__eyebrow {
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--astro-muted);
}

.account-mobile-section-bar__title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--astro-text);
    line-height: 1.2;
}

.account-sidebar-card__menu-trigger-lines {
    position: relative;
    width: 1.1rem;
    height: .95rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.account-sidebar-card__menu-trigger-lines span {
    position: absolute;
    left: 0;
    width: 100%;
    height: 2px;
    border-radius: 999px;
    background: currentColor;
    transition: transform .22s ease, opacity .18s ease, top .22s ease, bottom .22s ease;
}

.account-sidebar-card__menu-trigger-lines span:nth-child(1) {
    top: 0;
}

.account-sidebar-card__menu-trigger-lines span:nth-child(2) {
    top: 50%;
    transform: translateY(-50%);
}

.account-sidebar-card__menu-trigger-lines span:nth-child(3) {
    bottom: 0;
}

.account-sidebar-card__menu-trigger[aria-expanded="true"] .account-sidebar-card__menu-trigger-lines span:nth-child(1) {
    top: 50%;
    transform: translateY(-50%) rotate(45deg);
}

.account-sidebar-card__menu-trigger[aria-expanded="true"] .account-sidebar-card__menu-trigger-lines span:nth-child(2) {
    opacity: 0;
}

.account-sidebar-card__menu-trigger[aria-expanded="true"] .account-sidebar-card__menu-trigger-lines span:nth-child(3) {
    bottom: auto;
    top: 50%;
    transform: translateY(-50%) rotate(-45deg);
}

.account-sidebar-card__menu-trigger[aria-expanded="true"] {
    background: rgba(80, 23, 128, 0.08);
    border-color: rgba(80, 23, 128, 0.2);
    color: var(--astro-primary);
    box-shadow: 0 10px 22px rgba(80, 23, 128, 0.08);
}

.navbar-mobile-account-toggle.account-sidebar-card__menu-trigger {
    width: 2.8rem;
    height: 2.8rem;
    flex: 0 0 2.8rem;
    border-radius: 999px;
}

.account-sidebar-card__label {
    margin-bottom: 0.9rem;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--astro-muted);
}

.account-sidebar-nav {
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
}

.account-sidebar-nav-wrap {
    position: relative;
    margin-top: 0;
}

.account-sidebar-nav-hint {
    display: none;
}

.account-mobile-offcanvas {
    border-right: 1px solid var(--astro-border);
    background:
        radial-gradient(circle at top right, rgba(255, 208, 84, 0.12), transparent 26%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(245, 238, 228, 0.98));
}

.account-mobile-offcanvas .offcanvas-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid var(--astro-border);
    padding: 1rem 1rem .9rem;
}

.account-mobile-offcanvas .offcanvas-header > div:first-child {
    min-width: 0;
    flex: 1 1 auto;
}

.account-mobile-offcanvas .offcanvas-header .btn-close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    margin: 0;
    padding: 0;
    border-radius: 999px;
    background-color: rgba(255, 255, 255, 0.82);
    box-shadow:
        0 10px 20px rgba(80, 23, 128, 0.08),
        inset 0 0 0 1px rgba(80, 23, 128, 0.12);
    opacity: 1;
    flex: 0 0 2.5rem;
    background-image: none;
}

.account-mobile-offcanvas .offcanvas-header .btn-close:hover,
.account-mobile-offcanvas .offcanvas-header .btn-close:focus {
    background-color: #fff;
    box-shadow:
        0 12px 24px rgba(80, 23, 128, 0.12),
        inset 0 0 0 1px rgba(80, 23, 128, 0.18);
}

.account-mobile-offcanvas__close span {
    font-size: 1.7rem;
    line-height: 1;
    color: #6a5d83;
}

.account-mobile-offcanvas .offcanvas-body {
    padding: 1rem;
}

.account-mobile-offcanvas__profile {
    margin-bottom: 1rem;
    align-items: flex-start;
}

.account-mobile-offcanvas__profile-close {
    margin-left: auto;
    width: 2.5rem;
    height: 2.5rem;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 2.5rem;
    border-radius: 999px;
    border: 1px solid rgba(80, 23, 128, 0.14);
    background: rgba(255, 255, 255, 0.9);
    color: #6a5d83;
    box-shadow: 0 10px 20px rgba(80, 23, 128, 0.08);
}

.account-mobile-offcanvas__profile-close span {
    font-size: 1.7rem;
    line-height: 1;
}

.account-mobile-offcanvas__profile-close:hover,
.account-mobile-offcanvas__profile-close:focus {
    background: #fff;
    color: var(--astro-primary);
    border-color: rgba(80, 23, 128, 0.22);
}

.account-mobile-offcanvas__nav {
    display: flex;
    flex-direction: column;
    gap: .6rem;
}

.account-sidebar-link {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.9rem 1rem;
    border-radius: 1rem;
    border: 1px solid transparent;
    color: var(--astro-text);
    text-decoration: none;
    font-weight: 600;
    transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.account-sidebar-link > span:not(.account-sidebar-link__icon):not(.account-sidebar-link__badge) {
    flex: 1 1 auto;
}

.account-sidebar-link:hover,
.account-sidebar-link:focus {
    background: rgba(80, 23, 128, 0.06);
    border-color: rgba(80, 23, 128, 0.14);
    color: var(--astro-text);
    transform: translateX(2px);
}

.account-sidebar-link.is-active {
    background: linear-gradient(135deg, rgba(80, 23, 128, 0.14), rgba(239, 182, 79, 0.2));
    border-color: rgba(80, 23, 128, 0.16);
    color: var(--astro-primary);
    box-shadow: 0 16px 28px rgba(80, 23, 128, 0.08);
}

.account-sidebar-link--accent {
    margin-top: 0.35rem;
    background: rgba(239, 182, 79, 0.12);
    border-color: rgba(239, 182, 79, 0.28);
}

.account-sidebar-link__icon {
    width: 2rem;
    height: 2rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: rgba(80, 23, 128, 0.08);
    color: var(--astro-primary);
    flex: 0 0 2rem;
}

.account-sidebar-link__badge {
    min-width: 1.45rem;
    height: 1.45rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 .35rem;
    border-radius: 999px;
    background: #ef4d67;
    color: #fff;
    font-size: 0.74rem;
    font-weight: 700;
    line-height: 1;
    box-shadow: 0 0.4rem 0.9rem rgba(239, 77, 103, 0.3);
}

.account-content-stack {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.account-panel-head__actions {
    justify-content: flex-end;
}

.account-question-category-cell {
    white-space: nowrap;
    text-align: center;
}

.question-category-stack {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: .15rem;
    text-align: center;
    white-space: normal;
}

.question-category-stack__np {
    font-weight: 700;
    color: var(--astro-text);
}

.question-category-stack__en {
    font-size: .8rem;
    font-weight: 600;
    color: var(--astro-muted);
    letter-spacing: .01em;
}

.account-question-answered-cell {
    min-width: 12.5rem;
    color: var(--astro-muted);
    font-size: 0.92rem;
    text-align: center;
}

.account-question-answered-stack {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: .2rem;
    line-height: 1.3;
}

.account-question-answered-stack__date {
    color: var(--astro-text);
}

.account-question-answered-stack__time {
    color: var(--astro-muted);
    font-size: .88rem;
}

.account-question-action-cell {
    text-align: center;
}

.account-question-status-cell {
    width: 10rem;
    min-width: 10rem;
    text-align: center;
}

.account-question-status-cell .badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    max-width: 5.2rem;
    padding: .32rem .48rem;
    font-size: .68rem;
    line-height: 1.15;
    text-align: center;
    white-space: normal;
}

.text-bg-review {
    background: #7c4dff !important;
    color: #fff !important;
}

.account-question-countdown {
    margin-top: .35rem;
    font-size: .7rem;
    line-height: 1.2;
    color: var(--astro-muted);
    text-align: center;
    white-space: normal;
}

.account-question-countdown [data-question-countdown-label-inline],
.account-question-countdown [data-question-countdown-time-inline],
.account-question-countdown [data-question-countdown-suffix-inline] {
    display: block;
}

.question-countdown__time {
    min-width: 0;
    margin: .08rem 0;
    font-size: .82rem;
    font-weight: 700;
    text-align: center;
    font-variant-numeric: tabular-nums;
    font-feature-settings: "tnum";
}

.question-countdown__time.is-on-time,
.jyotishi-floating-timer__countdown-value.is-on-time {
    color: #1c8c42 !important;
}

.question-countdown__time.is-overdue,
.jyotishi-floating-timer__countdown-value.is-overdue {
    color: #c62828 !important;
}

.jyotishi-floating-timer {
    position: fixed;
    top: 50%;
    right: clamp(1rem, 2vw, 2rem);
    transform: translateY(-50%);
    z-index: 1030;
    width: min(20rem, calc(100vw - 2rem));
    padding: 1rem 1.1rem;
    border-radius: 1.2rem;
    border: 1px solid rgba(93, 31, 141, 0.12);
    background:
        radial-gradient(circle at top right, rgba(245, 191, 45, 0.22), transparent 34%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.97), rgba(248, 242, 232, 0.98));
    box-shadow: 0 20px 36px rgba(24, 15, 37, 0.14);
    backdrop-filter: blur(10px);
}

.jyotishi-floating-timer__countdown {
    padding: .95rem 1rem;
    border-radius: .95rem;
    background: linear-gradient(180deg, #ffe88a 0%, #ffd95a 100%);
    color: var(--astro-text);
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.35;
    text-align: center;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.45);
}

.jyotishi-floating-timer__countdown-label,
.jyotishi-floating-timer__countdown-suffix {
    font-size: .88rem;
    font-weight: 700;
    color: #7a4a00;
    line-height: 1.35;
}

.jyotishi-floating-timer__countdown-value {
    margin: .3rem 0;
    font-size: 1.9rem;
    line-height: 1.05;
    font-weight: 800;
    color: #c62828;
    letter-spacing: .03em;
}

.jyotishi-question-table {
    border-color: var(--app-table-outer-border);
    table-layout: auto;
    width: 100%;
    min-width: 0;
}

.jyotishi-question-table > :not(caption) > * > * {
    border-color: var(--app-table-cell-border);
}

.jyotishi-question-table > thead > tr > th {
    background-color: var(--app-table-head-bg) !important;
    color: var(--app-table-head-color) !important;
    border-color: var(--app-table-head-border) !important;
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.jyotishi-question-table tbody td {
    vertical-align: middle;
}

.jyotishi-question-table > thead > tr > th:nth-child(1),
.jyotishi-question-table > tbody > tr > td:nth-child(1) {
    width: 21%;
}

.jyotishi-question-table > thead > tr > th:nth-child(2),
.jyotishi-question-table > tbody > tr > td:nth-child(2) {
    width: 17%;
}

.jyotishi-question-table > thead > tr > th:nth-child(3),
.jyotishi-question-table > tbody > tr > td:nth-child(3) {
    width: 27%;
}

.jyotishi-question-table > thead > tr > th:nth-child(4),
.jyotishi-question-table > tbody > tr > td:nth-child(4) {
    width: 13%;
}

.jyotishi-question-table > thead > tr > th:nth-child(5),
.jyotishi-question-table > tbody > tr > td:nth-child(5) {
    width: 14%;
}

.jyotishi-question-table > thead > tr > th:nth-child(6),
.jyotishi-question-table > tbody > tr > td:nth-child(6) {
    width: 8%;
}

.jyotishi-question-table__subject {
    max-width: 100%;
    line-height: 1.35;
}

.jyotishi-question-table__asked-ago {
    display: block;
    min-width: 7.75rem;
    margin-top: .35rem;
    color: var(--astro-muted);
    font-size: .78rem;
    font-weight: 600;
    line-height: 1.25;
    text-align: center;
    white-space: nowrap;
    font-variant-numeric: tabular-nums;
    font-feature-settings: "tnum";
}

.jyotishi-question-table__countdown-cell {
    text-align: center;
}

.jyotishi-question-table__countdown {
    margin-top: 0;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: .08rem;
    text-align: center;
    white-space: normal;
    font-size: .96rem;
    font-weight: 700;
    line-height: 1.2;
}

.jyotishi-question-table__countdown .question-countdown__time {
    min-width: 0;
    display: block;
    font-size: 1.02rem;
}

.jyotishi-question-table__action {
    text-align: center;
    white-space: nowrap;
}

.jyotishi-question-modal-body {
    background: #fff;
    overflow: hidden;
}

.jyotishi-question-modal-panel {
    padding: .25rem .1rem;
    position: relative;
    height: min(78vh, 56rem);
}

.jyotishi-question-modal-panel__main,
.jyotishi-question-modal-panel__side-col {
    position: relative;
}

.jyotishi-question-modal-panel__side-col {
    padding-left: 0;
    padding-right: 0;
}

.jyotishi-question-modal-panel__side {
    display: flex;
    align-items: flex-start;
    justify-content: flex-end;
    padding: .35rem;
    z-index: 2;
}

.question-workspace--jyotishi .question-workspace__sheet-body .answer-reference-panel,
.question-workspace--admin .question-workspace__sheet-body .admin-question-panel {
    margin-bottom: 0;
}

.jyotishi-floating-timer--modal {
    position: relative;
    top: auto;
    right: auto;
    transform: none;
    z-index: auto;
    width: auto;
    max-width: 100%;
    margin: 0 0 0 auto;
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
    backdrop-filter: none;
    border-radius: 0;
}

.jyotishi-floating-timer--modal .jyotishi-floating-timer__countdown {
    width: fit-content;
    min-width: 0;
    max-width: 100%;
    margin-left: auto;
    padding: .55rem .35rem;
    border-radius: .85rem;
}

.jyotishi-floating-timer--modal .jyotishi-floating-timer__countdown-label,
.jyotishi-floating-timer--modal .jyotishi-floating-timer__countdown-suffix {
    font-size: .76rem;
    line-height: 1.2;
}

.jyotishi-floating-timer--modal .jyotishi-floating-timer__countdown-value {
    margin: .18rem 0;
    font-size: 1.55rem;
    line-height: 1;
}

.question-workspace__toolbar .jyotishi-floating-timer--toolbar {
    position: static;
    top: auto;
    right: auto;
    bottom: auto;
    left: auto;
    transform: none;
    z-index: auto;
    width: auto;
    max-width: 100%;
    margin-left: auto;
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
    backdrop-filter: none;
    border-radius: 0;
}

.question-workspace__toolbar .jyotishi-floating-timer--toolbar .jyotishi-floating-timer__countdown {
    width: fit-content;
    min-width: 0;
    max-width: 100%;
    padding: .45rem .65rem;
    border-radius: .85rem;
}

.question-workspace__toolbar .jyotishi-floating-timer--toolbar .jyotishi-floating-timer__countdown-label,
.question-workspace__toolbar .jyotishi-floating-timer--toolbar .jyotishi-floating-timer__countdown-suffix {
    font-size: .68rem;
    line-height: 1.1;
}

.question-workspace__toolbar .jyotishi-floating-timer--toolbar .jyotishi-floating-timer__countdown-value {
    margin: .12rem 0;
    font-size: 1.2rem;
    line-height: 1;
}

.account-questions-table {
    --bs-table-border-color: var(--app-table-cell-border);
    border: 1px solid var(--app-table-outer-border);
    border-radius: 1rem;
    overflow: hidden;
    border-collapse: separate;
    border-spacing: 0;
}

.account-questions-table thead th {
    background: var(--app-table-head-bg);
    color: var(--app-table-head-color);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
    border-right: 1px solid var(--app-table-head-border);
    border-bottom: 1px solid var(--app-table-head-border);
}

.account-questions-table thead th:first-child {
    border-top-left-radius: 1rem;
}

.account-questions-table thead th:last-child {
    border-top-right-radius: 1rem;
}

.account-questions-table-wrap {
    max-height: var(--scroll-max-height, 760px);
    overflow-y: auto;
    scrollbar-width: thin;
}

.account-questions-table-wrap.auto-scroll-after-ten {
    scrollbar-width: thin;
}

.account-questions-table-wrap .account-questions-table thead th {
    position: sticky;
    top: 0;
    z-index: 2;
    background: var(--app-table-head-bg);
    color: var(--app-table-head-color);
}

.account-questions-table thead th:last-child,
.account-questions-table tbody td:last-child {
    border-right: 0;
}

.account-questions-table tbody td {
    border-right: 1px solid var(--app-table-cell-border);
    border-bottom: 1px solid var(--app-table-cell-border);
}

.account-questions-table tbody tr:last-child td {
    border-bottom: 0;
}

.account-question-history-card {
    border-radius: 1rem;
}

.account-questions-panel {
    background:
        radial-gradient(circle at top right, rgba(255, 208, 84, 0.12), transparent 24%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 242, 232, 0.98));
}

.account-questions-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(300px, 23rem);
    align-items: start;
    column-gap: .85rem;
    row-gap: .7rem;
    padding: 1.1rem 1.15rem;
    margin-bottom: 1rem;
    border: 1px solid var(--astro-border);
    border-radius: 1.1rem;
    background:
        radial-gradient(circle at left top, rgba(80, 23, 128, 0.08), transparent 32%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(248, 241, 232, 0.92));
}

.account-questions-hero__copy {
    max-width: 34rem;
}

.account-questions-hero__stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: .75rem;
    min-width: 0;
}

.account-questions-hero .account-panel-head__actions--question-history {
    grid-column: 2;
    margin-top: 0;
    justify-content: flex-end;
    align-self: flex-end;
    flex-wrap: nowrap;
}

.account-questions-hero .account-panel-head__actions--question-history .account-question-time-filter,
.account-questions-hero .account-panel-head__actions--question-history .account-question-new-btn {
    flex: 0 0 auto;
}

.account-questions-hero .account-panel-head__actions--question-history .account-question-time-filter {
    min-width: 0;
}

.account-questions-hero .account-panel-head__actions--question-history .account-question-time-filter__toggle {
    width: auto;
    min-width: 0;
    max-width: none;
    justify-content: center;
    min-height: 40px;
    padding-inline: .95rem;
    font-size: .9rem;
}

.account-questions-hero .account-panel-head__actions--question-history .account-question-new-btn {
    min-width: 122px;
    justify-content: center;
    min-height: 40px;
    padding-inline: .95rem;
    font-size: .9rem;
}

.account-questions-stat {
    padding: .85rem .9rem;
    border-radius: 1rem;
    background: rgba(255, 255, 255, 0.78);
    border: 1px solid rgba(80, 23, 128, 0.1);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

.account-questions-stat__label {
    display: block;
    margin-bottom: .35rem;
    color: var(--astro-muted);
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.account-questions-stat__value {
    display: block;
    color: var(--astro-text);
    font-size: 1.15rem;
    line-height: 1.15;
}

.account-questions-stat__value--text {
    font-size: .92rem;
}

.account-questions-subhead__title {
    font-weight: 700;
    color: var(--astro-text);
}

.account-questions-subhead__text {
    margin-top: .15rem;
    color: var(--astro-muted);
    font-size: .9rem;
}

.account-questions-table-wrap--panel {
    padding: .15rem;
    border-radius: 1.1rem;
    background: rgba(255, 255, 255, 0.52);
}

.account-questions-empty {
    max-width: 26rem;
    margin: 0 auto;
}

.account-questions-empty__icon {
    width: 3.5rem;
    height: 3.5rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: .85rem;
    border-radius: 1rem;
    background: linear-gradient(135deg, rgba(255, 208, 84, 0.88), rgba(239, 182, 79, 0.8));
    color: #35144f;
    font-size: 1.4rem;
    box-shadow: 0 14px 24px rgba(239, 182, 79, 0.22);
}

.account-question-time-filter__toggle,
.account-question-new-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .45rem;
    min-height: 48px;
    font-weight: 700;
    white-space: nowrap;
}

.account-question-time-filter__toggle {
    border-radius: .9rem;
    padding-inline: 1rem;
}

.account-question-new-btn {
    border-radius: .9rem;
    padding-inline: 1.15rem;
}

.account-panel-head__actions--payments {
    flex-wrap: nowrap;
}

.account-question-time-filter__toggle i,
.account-question-new-btn i {
    font-size: .95rem;
    line-height: 1;
}

.account-question-time-filter__toggle::after {
    margin-left: .2rem;
}

.account-question-time-filter__menu {
    min-width: 100%;
}

.account-question-time-filter__menu .dropdown-item.active,
.account-question-time-filter__menu .dropdown-item:active {
    background: rgba(80, 23, 128, 0.12);
    color: var(--astro-text);
}

.account-question-detail-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 6.25rem;
    padding: .62rem 1rem;
    border: 1px solid rgba(91, 52, 198, 0.18);
    border-radius: .95rem;
    background: linear-gradient(135deg, rgba(91, 52, 198, 0.1), rgba(123, 92, 255, 0.14));
    color: var(--astro-primary);
    font-weight: 700;
    box-shadow: 0 10px 22px rgba(91, 52, 198, 0.08);
}

.account-question-detail-btn:hover,
.account-question-detail-btn:focus {
    color: var(--astro-primary);
    background: linear-gradient(135deg, rgba(91, 52, 198, 0.16), rgba(123, 92, 255, 0.2));
    border-color: rgba(91, 52, 198, 0.24);
}

.account-history-item__toggle {
    display: none;
    padding: 0;
    margin-top: .55rem;
    color: var(--astro-primary);
    font-weight: 700;
    text-decoration: none;
}

.account-history-item__toggle:hover,
.account-history-item__toggle:focus {
    color: var(--astro-primary);
    text-decoration: none;
}

.admin-question-sort-wrap {
    display: flex;
    justify-content: flex-end;
}

.admin-question-sort-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .4rem;
    min-height: 44px;
    min-width: 118px;
    padding: .62rem 1rem;
    border-radius: 1rem;
    border: 1.5px solid rgba(92, 110, 129, 0.55);
    background: #fff;
    color: #627282;
    font-size: 1rem;
    font-weight: 700;
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.75) inset;
    transition: border-color .2s ease, box-shadow .2s ease, color .2s ease, background-color .2s ease;
}

.admin-question-sort-button:hover,
.admin-question-sort-button:focus,
.admin-question-sort-button:active,
.admin-question-sort-button.show {
    border-color: rgba(92, 110, 129, 0.8);
    background: #fff;
    color: #445261;
    box-shadow: 0 0 0 .2rem rgba(123, 138, 152, 0.14);
}

.admin-question-sort-button::after {
    margin-left: .15rem;
    border-top-color: #7d8791;
}

.admin-question-sort-menu {
    min-width: 220px;
    border-radius: 1rem;
    padding: .45rem;
}

.admin-question-sort-menu .dropdown-item {
    border-radius: .8rem;
    font-weight: 700;
    color: #5f6f7f;
    padding: .65rem .85rem;
}

.admin-question-sort-menu .dropdown-item.active,
.admin-question-sort-menu .dropdown-item:active {
    background: rgba(80, 23, 128, 0.12);
    color: var(--astro-text);
}

.account-payments-table thead th {
    text-align: center;
}

.payment-record-sn {
    width: 72px;
}

.payment-record-date {
    width: 150px;
    text-align: left !important;
}

.account-payments-table td.payment-record-date .payment-record-datetime {
    justify-content: flex-start;
    text-align: left;
}

.account-payments-table td.payment-record-date .payment-record-datetime__stack,
.account-payments-table td.payment-record-date .nepali-datetime-stack {
    align-items: flex-start;
}

.account-payments-table thead th.payment-record-for,
.account-payments-table td.payment-record-for {
    text-align: left;
}

.account-payments-table td.payment-record-for .payment-record-summary {
    min-width: 0;
}

.account-payments-table-wrap {
    scrollbar-width: thin;
}

.account-payments-table td {
    padding-block: .9rem;
}

.account-panel-head__actions--payments .account-question-time-filter__toggle,
.account-panel-head__actions--payments .account-question-new-btn {
    min-height: 40px;
    padding-inline: .95rem;
    font-size: .9rem;
}

.payment-record-amount {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: .2rem;
    line-height: 1.25;
}

.payment-record-amount__base {
    font-weight: 700;
    color: var(--astro-text);
}

.payment-record-amount__offered {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: .05rem;
    font-size: .72rem;
    color: var(--astro-muted);
}

.payment-record-amount__offered strong {
    font-size: .86rem;
    color: var(--bs-success);
}

.account-payment-actions {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .55rem;
    flex-wrap: wrap;
}

.account-payment-actions .btn {
    min-height: 36px;
    padding: .45rem .85rem;
    font-size: .88rem;
    line-height: 1.2;
}

.payment-record-datetime {
    display: flex;
    justify-content: flex-end;
    margin-top: .3rem;
    text-align: right;
}

.payment-record-datetime__stack,
.payment-record-datetime .nepali-datetime-stack {
    display: inline-flex;
    flex-direction: column;
    align-items: flex-end;
    gap: .05rem;
    line-height: 1.25;
}

.payment-record-datetime__date,
.payment-record-datetime__time,
.payment-record-datetime .nepali-datetime-stack__date,
.payment-record-datetime .nepali-datetime-stack__time {
    display: block;
}

.payment-record-datetime__time,
.payment-record-datetime .nepali-datetime-stack__time {
    font-size: .82em;
}

.payment-record-detail-card {
    height: 100%;
}

.payment-record-detail-card__reason {
    min-height: 220px;
    padding: 1rem 1.05rem;
    border-radius: 1rem;
    border: 1px solid var(--astro-border);
    background: var(--surface-soft);
    color: var(--astro-text);
    white-space: pre-line;
    line-height: 1.7;
}

.payment-confirm-modal {
    border: 1px solid var(--astro-border);
    border-radius: 1.25rem;
    overflow: hidden;
}

.payment-confirm-modal__header {
    display: flex;
    align-items: center;
    gap: .9rem;
}

.payment-confirm-modal__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.85rem;
    height: 2.85rem;
    border-radius: .95rem;
    background: rgba(80, 23, 128, 0.08);
    color: var(--astro-primary);
    font-size: 1.15rem;
}

.payment-confirm-modal__summary {
    padding: .95rem 1rem;
    border-radius: 1rem;
    background: var(--surface-soft);
    border: 1px solid var(--astro-border);
}

.payment-confirm-modal__label {
    font-weight: 700;
    color: var(--astro-text);
}

.payment-confirm-modal__meta {
    margin-top: .25rem;
    color: var(--astro-muted);
    font-size: .92rem;
}

.payment-method-switch-modal__summary {
    display: grid;
    gap: .35rem;
}

.payment-method-switch-modal__current {
    color: var(--astro-text);
    font-size: .92rem;
}

.payment-method-switch-modal__option {
    display: block;
}

.panel-notifications-table-wrap {
    max-height: calc(2.9rem + (10 * 4.35rem));
    overflow-y: auto;
    scrollbar-width: thin;
}

.panel-notifications-table-wrap thead th {
    position: sticky;
    top: 0;
    z-index: 1;
    background: var(--app-table-head-bg) !important;
    color: var(--app-table-head-color) !important;
}

.panel-notifications-table__date .nepali-datetime-stack {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 0.18rem;
    line-height: 1.2;
    text-align: center;
}

.panel-notifications-table__date {
    text-align: center;
}

.panel-notifications-table__date .nepali-datetime-stack__date {
    white-space: nowrap;
}

.panel-notifications-table__date .nepali-datetime-stack__time {
    font-size: 0.84rem;
    color: var(--astro-muted);
}

.panel-notifications-card-list {
    max-height: calc(10 * 7.1rem);
    overflow-y: auto;
    scrollbar-width: thin;
}

.account-notifications {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.account-notifications__hero {
    margin-bottom: .15rem;
}

.account-notifications__hero.account-questions-hero {
    grid-template-columns: minmax(0, 1fr) minmax(300px, 23rem);
    column-gap: .85rem;
    row-gap: .7rem;
}

.account-notifications__hero .account-panel-head__actions--question-history {
    grid-column: 2;
    margin-top: 0;
    justify-content: flex-end;
    align-self: flex-end;
}

.account-notifications__latest {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    margin-top: .85rem;
    color: var(--astro-text);
    font-size: .88rem;
    font-weight: 600;
}

.account-notifications__stats {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .75rem;
}

.account-notification-stat {
    box-shadow: none;
}

.account-notification-stat__label {
    margin-bottom: 0;
}

.account-notification-stat__value {
    font-size: 1.15rem;
    line-height: 1.15;
}

.account-notifications__empty {
    padding: 2.25rem 1.5rem;
    border: 1px dashed var(--astro-border);
    border-radius: 1.35rem;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(248, 242, 232, 0.9));
    text-align: center;
}

.account-notifications__empty-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 4.15rem;
    height: 4.15rem;
    margin-bottom: 1rem;
    border-radius: 1.35rem;
    background: rgba(80, 23, 128, 0.08);
    color: var(--astro-primary);
    font-size: 1.5rem;
}

.account-notifications__feed {
    max-height: min(60rem, calc(100vh - 22rem));
    overflow-y: auto;
    overscroll-behavior: contain;
    padding-right: .3rem;
    scrollbar-width: thin;
}

.account-notifications__list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.account-notification-card {
    position: relative;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 1rem;
    padding: 1.15rem;
    border: 1px solid var(--astro-border);
    border-radius: 1.25rem;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(250, 247, 242, 0.94));
    box-shadow: 0 16px 34px rgba(24, 15, 42, 0.06);
    overflow: hidden;
}

.account-notification-card::before {
    content: "";
    position: absolute;
    inset: 0 auto 0 0;
    width: 4px;
    background: var(--notification-accent, var(--astro-primary));
}

.account-notification-card.is-unread {
    border-color: rgba(80, 23, 128, 0.18);
    box-shadow: 0 20px 38px rgba(29, 18, 49, 0.09);
}

.account-notification-card.is-read {
    opacity: .88;
}

.account-notification-card--info {
    --notification-accent: #4f46e5;
}

.account-notification-card--success {
    --notification-accent: #1f8f5f;
}

.account-notification-card--warning {
    --notification-accent: #d97706;
}

.account-notification-card--danger {
    --notification-accent: #dc2626;
}

.account-notification-card--answer {
    --notification-accent: #0f9d7a;
}

.account-notification-card--payment {
    --notification-accent: #7c3aed;
}

.account-notification-card--profile {
    --notification-accent: #2563eb;
}

.account-notification-card__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 3.2rem;
    height: 3.2rem;
    border-radius: 1rem;
    background: color-mix(in srgb, var(--notification-accent, var(--astro-primary)) 12%, white);
    color: var(--notification-accent, var(--astro-primary));
    font-size: 1.2rem;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.55);
}

.account-notification-card__content {
    min-width: 0;
}

.account-notification-card__header {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    align-items: flex-start;
}

.account-notification-card__title-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .65rem;
}

.account-notification-card__title {
    margin: 0;
    color: var(--astro-text);
    font-size: 1.08rem;
    font-weight: 800;
}

.account-notification-card__state,
.account-notification-card__tag {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: .28rem .65rem;
    border-radius: 999px;
    font-size: .74rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .06em;
}

.account-notification-card__state {
    background: rgba(107, 114, 128, 0.12);
    color: var(--astro-muted);
}

.account-notification-card__state.is-unread {
    background: rgba(80, 23, 128, 0.1);
    color: var(--astro-primary);
}

.account-notification-card__meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .55rem;
    margin-top: .55rem;
}

.account-notification-card__tag {
    background: color-mix(in srgb, var(--notification-accent, var(--astro-primary)) 10%, white);
    color: var(--notification-accent, var(--astro-primary));
}

.account-notification-card__time {
    color: var(--astro-muted);
    font-size: .9rem;
    font-weight: 600;
}

.account-notification-card__message {
    margin-top: .9rem;
    color: var(--astro-text);
    line-height: 1.75;
    white-space: pre-line;
}

.account-notification-card__action {
    flex-shrink: 0;
    min-width: 6rem;
}

.jyotishi-earnings-log,
.jyotishi-payment-history {
    border: 1px solid var(--app-table-outer-border);
    border-radius: 1rem;
    background: var(--surface-strong);
    overflow: hidden;
}

.jyotishi-earnings-log {
    max-height: calc(2.5rem + (10 * 2.55rem) + 2.85rem);
    overflow-y: auto;
    scrollbar-width: thin;
}

.jyotishi-payment-history {
    display: flex;
    flex-direction: column;
}

.jyotishi-payment-history__records {
    max-height: calc(2.35rem + (5 * 2.55rem));
    overflow-y: auto;
    scrollbar-width: thin;
}

.jyotishi-earnings-log__table,
.jyotishi-payment-history__table {
    --bs-table-bg: transparent;
}

.jyotishi-payment-history__summary td {
    border-color: var(--astro-border);
    background-color: transparent;
    color: var(--astro-text);
}

.jyotishi-payment-history__summary-row--total td {
    background-color: #dceee6 !important;
    border-color: #bfdccc;
}

.jyotishi-payment-history__summary-row--paid td {
    background-color: #d9e7fb !important;
    border-color: #bdd1ef;
}

.jyotishi-payment-history__summary-row--extra td {
    background-color: #fff0c9 !important;
    border-color: #efdca7;
}

.jyotishi-payment-history__summary-row--due td {
    background-color: #f6d9dc !important;
    border-color: #e9bcc2;
}

.jyotishi-payment-history__summary td:nth-child(3),
.jyotishi-payment-history__summary td:nth-child(4) {
    white-space: nowrap;
}

.jyotishi-payment-history__summary {
    border-top: 1px solid var(--app-table-cell-border);
}

.jyotishi-payment-overview-table {
    --bs-table-bg: transparent;
    border: 1px solid var(--app-table-outer-border);
    border-radius: 1rem;
    overflow: hidden;
}

.jyotishi-payment-overview-table thead th {
    background: var(--app-table-head-bg);
    color: var(--app-table-head-color);
    border-bottom: 1px solid var(--app-table-head-border);
    border-right: 1px solid var(--app-table-head-border);
}

.jyotishi-payment-overview-table thead th:first-child {
    border-top-left-radius: 1rem;
}

.jyotishi-payment-overview-table thead th:last-child {
    border-top-right-radius: 1rem;
}

.jyotishi-payment-overview-table tbody td {
    vertical-align: middle;
    border-right: 1px solid var(--app-table-cell-border);
    border-bottom: 1px solid var(--app-table-cell-border);
}

.jyotishi-payment-overview-table thead th:last-child,
.jyotishi-payment-overview-table tbody td:last-child {
    border-right: 0;
}

.jyotishi-payment-overview-table tbody tr:last-child td {
    border-bottom: 0;
}

.jyotishi-payment-overview-table td.text-end,
.jyotishi-payment-overview-table th.text-end {
    white-space: nowrap;
}

.jyotishi-payment-overview-table td.text-center .btn {
    min-width: 4.25rem;
}

.jyotishi-document-table td,
.jyotishi-document-table th {
    vertical-align: middle;
}

.jyotishi-document-table td.text-center .btn {
    min-width: 4.75rem;
}

.jyotishi-doc-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 1rem;
}

.jyotishi-doc-gallery__empty {
    grid-column: 1 / -1;
    padding: 2.5rem 1rem;
    border: 1px dashed var(--astro-border);
    border-radius: 1rem;
    text-align: center;
    color: var(--astro-muted);
    background: linear-gradient(180deg, rgba(255,255,255,0.92), rgba(80, 23, 128, 0.03));
}

.jyotishi-doc-card {
    display: flex;
    flex-direction: column;
    min-height: 100%;
    border: 1px solid var(--astro-border);
    border-radius: 1.1rem;
    overflow: hidden;
    background: linear-gradient(180deg, rgba(255,255,255,0.98), rgba(246, 240, 232, 0.92));
    box-shadow: 0 14px 28px rgba(80, 23, 128, 0.08);
    transition: transform .2s ease, box-shadow .2s ease;
}

.jyotishi-doc-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 34px rgba(80, 23, 128, 0.12);
}

.jyotishi-doc-card__preview {
    border: 0;
    padding: 0;
    width: 100%;
    aspect-ratio: 4 / 3;
    background:
        radial-gradient(circle at top left, rgba(255, 199, 37, 0.16), transparent 32%),
        linear-gradient(135deg, #faf5ed 0%, #efe4d3 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.jyotishi-doc-card__preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.jyotishi-doc-card__file-icon {
    font-size: 3.25rem;
    color: var(--astro-primary);
}

.jyotishi-doc-card__body {
    padding: 0.95rem 1rem 0.6rem;
    display: grid;
    gap: 0.28rem;
    text-align: center;
    justify-items: center;
}

.jyotishi-doc-card__title {
    font-weight: 700;
    color: var(--astro-text);
}

.jyotishi-doc-card__meta {
    font-size: 0.88rem;
    color: var(--astro-muted);
    overflow-wrap: anywhere;
}

.jyotishi-doc-card__actions {
    margin-top: auto;
    padding: 0 1rem 1rem;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 0.55rem;
}

.jyotishi-doc-lightbox {
    background: var(--surface-strong);
}

.jyotishi-doc-lightbox__body {
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 1rem;
    background:
        radial-gradient(circle at top left, rgba(255, 199, 37, 0.14), transparent 28%),
        linear-gradient(180deg, rgba(248, 243, 236, 0.98), rgba(240, 234, 225, 0.98));
    overflow: hidden;
}

.jyotishi-doc-lightbox__image,
.jyotishi-doc-lightbox__frame {
    width: 100%;
    min-height: 60vh;
    border: 0;
}

.jyotishi-doc-lightbox__image {
    object-fit: contain;
    max-height: 75vh;
}

.jyotishi-doc-lightbox__file {
    min-height: 60vh;
    display: grid;
    place-items: center;
    gap: 0.75rem;
    text-align: center;
    color: var(--astro-text);
    padding: 2rem;
}

.jyotishi-doc-lightbox__file i {
    font-size: 3rem;
    color: var(--astro-primary);
}

.jyotishi-earnings-log__table thead th,
.jyotishi-payment-history__table thead th {
    position: sticky;
    top: 0;
    z-index: 2;
    background: var(--app-table-head-bg);
    color: var(--app-table-head-color);
    border-bottom: 1px solid var(--app-table-head-border);
}

.jyotishi-earnings-log__footer {
    position: sticky;
    bottom: 0;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem 1.1rem;
    background: #dceee6;
    border-top: 1px solid #bfdccc;
    box-shadow: 0 -12px 24px rgba(80, 23, 128, 0.06);
}

.jyotishi-earnings-log__footer-label,
.jyotishi-earnings-log__footer-amount {
    color: var(--astro-text);
    font-weight: 700;
    white-space: nowrap;
}

.jyotishi-earnings-log__footer-label {
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.jyotishi-earnings-log__footer-amount {
    font-size: 1.02rem;
}

.jyotishi-earnings-table th.text-center,
.jyotishi-earnings-table td.text-center {
    text-align: center;
    vertical-align: middle;
}

.jyotishi-earnings-table td:nth-child(2),
.jyotishi-earnings-table td:nth-child(3),
.jyotishi-earnings-table td:nth-child(4) {
    white-space: nowrap;
}

.jyotishi-earnings-table td.text-center .btn {
    min-width: 5.25rem;
}

.jyotishi-earnings-log__footer--highlight {
    background:
        radial-gradient(circle at top left, rgba(255, 199, 37, 0.28), transparent 38%),
        linear-gradient(135deg, #fff5cf 0%, #ffe6a6 46%, #f5d981 100%);
    border-top: 1px solid rgba(205, 164, 59, 0.38);
    box-shadow: 0 -14px 30px rgba(177, 127, 20, 0.16);
}

.jyotishi-earnings-log__footer-note {
    margin-top: 0.15rem;
    color: rgba(44, 51, 64, 0.78);
    font-size: 0.88rem;
}

.jyotishi-earnings-log__footer--highlight .jyotishi-earnings-log__footer-label {
    font-size: 0.8rem;
    letter-spacing: 0.12em;
}

.jyotishi-earnings-log__footer--highlight .jyotishi-earnings-log__footer-amount {
    font-size: clamp(1.35rem, 2.4vw, 1.75rem);
    line-height: 1;
    color: #5a3500;
}

@media (max-width: 767.98px) {
    .jyotishi-earnings-log__footer {
        align-items: flex-start;
        flex-direction: column;
        gap: 0.35rem;
    }

    .jyotishi-earnings-table td:nth-child(2),
    .jyotishi-earnings-table td:nth-child(3),
    .jyotishi-earnings-table td:nth-child(4) {
        white-space: normal;
    }
}

.auto-scroll-after-ten {
    max-height: var(--scroll-max-height);
    overflow-y: auto;
    scrollbar-width: thin;
}

.auto-scroll-after-ten thead th {
    position: sticky;
    top: 0;
    z-index: 1;
    background: var(--surface-strong);
}

.password-toggle-group {
    position: relative;
}

.password-toggle-group .form-control {
    padding-right: 3rem;
}

.password-toggle-btn {
    position: absolute;
    top: 50%;
    right: .55rem;
    transform: translateY(-50%);
    border: 0;
    background: transparent;
    color: var(--astro-muted);
    width: 2rem;
    height: 2rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.password-toggle-btn:hover,
.password-toggle-btn:focus {
    color: var(--astro-text);
    background: rgba(18, 25, 58, 0.06);
}

.delete-password-toggle-group {
    min-width: 11rem;
}

.phone-field__group {
    flex-wrap: nowrap;
}

.phone-field__country {
    flex: 0 0 7.25rem;
    max-width: 7.25rem;
    min-width: 7.25rem;
    padding-right: 2.5rem;
}

.phone-field__number {
    min-width: 0;
}

@media (max-width: 575.98px) {
    .phone-field__country {
        flex-basis: 7.75rem;
        max-width: 7.75rem;
        min-width: 7.75rem;
    }
}

.profile-photo-picker {
    display: flex;
    align-items: center;
    gap: 1rem;
    width: 100%;
    min-height: 104px;
    padding: 1rem;
    border: 1px dashed var(--neutral-button-border);
    border-radius: 1rem;
    background: var(--surface-soft);
    cursor: pointer;
    transition: border-color .2s ease, background .2s ease, box-shadow .2s ease;
}

.profile-photo-picker:hover,
.profile-photo-picker:focus-within {
    border-color: rgba(80, 23, 128, 0.42);
    background: var(--surface-inset);
    box-shadow: 0 10px 24px rgba(80, 23, 128, 0.08);
}

.profile-photo-picker__preview {
    width: 76px;
    height: 76px;
    object-fit: cover;
    border-radius: 1rem;
    flex: 0 0 76px;
    border: 1px solid var(--astro-border);
    background: var(--surface-strong);
}

.profile-photo-picker__avatar {
    position: relative;
    width: 76px;
    height: 76px;
    flex: 0 0 76px;
    border-radius: 50%;
    overflow: hidden;
    border: 1px solid var(--astro-border);
    background: linear-gradient(135deg, #ffe6b3 0%, #f4d8c8 100%);
}

.profile-photo-picker__avatar .profile-photo-picker__preview {
    width: 100%;
    height: 100%;
    display: none;
    border: 0;
    border-radius: 50%;
    background: transparent;
}

.profile-photo-picker__avatar .profile-photo-picker__preview.is-visible {
    display: block;
}

.profile-photo-picker__fallback {
    width: 100%;
    height: 100%;
    display: grid;
    place-items: center;
    color: #7a4e1d;
    font-size: 2rem;
}

.profile-photo-picker__copy {
    display: flex;
    flex-direction: column;
    gap: .2rem;
    min-width: 0;
}

.profile-photo-picker__title {
    font-weight: 600;
    color: var(--astro-text);
}

.profile-photo-picker__meta {
    color: var(--astro-muted);
    font-size: .92rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.profile-photo-picker__actions {
    display: flex;
    justify-content: flex-start;
    margin-top: .55rem;
}

.profile-summary-list {
    display: flex;
    flex-direction: column;
    gap: .95rem;
}

.profile-summary-row {
    display: grid;
    grid-template-columns: minmax(160px, 1.2fr) minmax(0, 1fr);
    gap: 1rem;
    align-items: start;
}

.profile-summary-row__label {
    display: inline-flex;
    align-items: center;
    gap: .65rem;
    font-weight: 600;
    color: var(--astro-primary);
}

.profile-summary-row__label i {
    width: 1.1rem;
    color: var(--astro-accent);
    font-size: 1rem;
    text-align: center;
}

.profile-summary-row__value {
    color: var(--astro-text);
    font-weight: 400;
    line-height: 1.55;
    word-break: break-word;
}

#adminUserProfileModal .profile-summary-row__value {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: .5rem;
}

#adminUserProfileModal .profile-summary-row__value details {
    position: relative;
    margin-top: -.1rem;
}

.family-profile-card {
    padding: 1.5rem;
    border: 1px solid var(--astro-border);
    border-radius: 1.35rem;
    background: var(--surface-bg);
    box-shadow: 0 18px 40px var(--astro-shadow);
}

#questionProfilePreviewModal .modal-dialog {
    max-width: 760px;
}

#questionProfilePreviewModal .modal-content {
    border: 1px solid var(--astro-border);
    border-radius: 1.5rem;
    overflow: hidden;
    background:
        radial-gradient(circle at top right, rgba(243, 188, 103, 0.18), transparent 34%),
        linear-gradient(180deg, rgba(255, 252, 245, 0.96), rgba(255, 255, 255, 0.98));
    box-shadow: 0 22px 44px rgba(34, 20, 66, 0.16);
}

.profile-preview-modal__header {
    border-bottom: 0;
    padding: 1.25rem 1.25rem 0;
    background: transparent;
}

.profile-preview-modal__body {
    padding: 1rem 1.25rem 1.25rem;
}

.profile-preview-card {
    padding: 1.4rem;
}

#questionProfilePreviewModal .profile-summary-row {
    grid-template-columns: minmax(165px, 190px) minmax(0, 1fr);
    gap: .45rem;
}

.family-profile-card__identity {
    display: flex;
    align-items: center;
    gap: 1rem;
    min-width: 0;
}

.family-profile-card__toggle {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    padding: 0;
    border: 0;
    background: transparent;
    text-align: left;
}

.family-profile-card__toggle-copy {
    min-width: 0;
    display: flex;
    flex-direction: column;
}

.family-profile-card__name {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--astro-text);
    line-height: 1.35;
}

.family-profile-card__relation {
    font-size: .92rem;
    color: var(--astro-muted);
}

.family-profile-card__toggle-icon {
    width: 2.5rem;
    height: 2.5rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: rgba(80, 23, 128, 0.08);
    color: var(--astro-primary);
    flex-shrink: 0;
    transition: transform .2s ease, background .2s ease;
}

.family-profile-card__toggle[aria-expanded="true"] .family-profile-card__toggle-icon {
    transform: rotate(180deg);
    background: rgba(80, 23, 128, 0.14);
}

.family-profile-card.is-editing {
    border-color: rgba(80, 23, 128, 0.26);
    box-shadow: 0 20px 42px rgba(80, 23, 128, 0.1);
}

.family-profile-card__avatar {
    width: 72px;
    height: 72px;
    display: block;
    object-fit: cover;
    flex-shrink: 0;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(123, 92, 255, 0.16), rgba(255, 143, 31, 0.18));
    box-shadow: inset 0 0 0 1px rgba(80, 23, 128, 0.08);
}

.family-profile-card__details {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(80, 23, 128, 0.1);
}

.question-meta-card {
    background:
        radial-gradient(circle at top right, rgba(239, 182, 79, 0.16), transparent 34%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(247, 241, 234, 0.94));
    border: 1px solid rgba(80, 23, 128, 0.12);
}

.question-meta-card__header {
    display: flex;
    align-items: center;
    gap: .9rem;
    margin-bottom: 1.15rem;
}

.question-meta-card__header-icon {
    width: 3rem;
    height: 3rem;
    border-radius: 1rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(80, 23, 128, 0.16), rgba(239, 182, 79, 0.24));
    color: var(--astro-primary);
    font-size: 1.2rem;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.45);
}

.question-meta-card__amount {
    margin-bottom: 1rem;
    padding: 1rem 1.1rem;
    border-radius: 1rem;
    background: linear-gradient(135deg, rgba(80, 23, 128, 0.95), rgba(119, 39, 169, 0.92));
    color: #fff;
    box-shadow: 0 18px 28px rgba(80, 23, 128, 0.16);
}

.question-meta-card__amount-label {
    font-size: .74rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.72);
}

.question-meta-card__amount-value {
    margin-top: .2rem;
    font-size: 1.45rem;
    font-weight: 800;
    line-height: 1.2;
    color: #fff;
}

.question-meta-card__grid {
    display: grid;
    gap: .8rem;
}

.question-meta-item {
    display: flex;
    align-items: flex-start;
    gap: .85rem;
    padding: .9rem .95rem;
    border-radius: 1rem;
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(80, 23, 128, 0.08);
    box-shadow: 0 10px 20px rgba(80, 23, 128, 0.04);
    min-width: 0;
    overflow: hidden;
}

.question-meta-item__icon {
    width: 2.4rem;
    height: 2.4rem;
    border-radius: .9rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(80, 23, 128, 0.08);
    color: var(--astro-primary);
    font-size: 1rem;
    flex: 0 0 2.4rem;
}

.question-meta-item__body {
    min-width: 0;
    overflow: hidden;
}

.question-meta-item__label {
    margin-bottom: .24rem;
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: var(--astro-muted);
}

.question-meta-item__value {
    font-size: .98rem;
    font-weight: 700;
    color: var(--astro-text);
    line-height: 1.5;
    word-break: break-word;
}

.question-meta-item__badge {
    font-size: .78rem;
    font-weight: 700;
    padding: .45rem .7rem;
    border-radius: 999px;
}

.question-meta-item--wide .question-meta-item__value {
    font-weight: 600;
}

.question-meta-item--jyotishi {
    padding: .9rem .95rem;
    background: transparent;
    border: 0;
    box-shadow: none;
}

.question-meta-jyotishi {
    width: 100%;
    display: flex;
    align-items: flex-start;
    gap: .9rem;
    padding: 0;
    border-radius: 1rem;
    background: transparent;
    border: 0;
    min-width: 0;
    flex-wrap: wrap;
    overflow: hidden;
}

.question-meta-jyotishi--standalone {
    margin-top: 1rem;
}

.question-meta-jyotishi__avatar {
    width: 58px;
    height: 58px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid rgba(80, 23, 128, 0.18);
    background: rgba(80, 23, 128, 0.08);
    box-shadow: 0 10px 22px rgba(80, 23, 128, 0.1);
    flex: 0 0 58px;
}

.question-meta-jyotishi__body {
    min-width: 0;
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: .35rem;
}

.question-meta-jyotishi__name {
    font-size: 1rem;
    font-weight: 800;
    color: var(--astro-text);
    line-height: 1.25;
}

.question-meta-jyotishi__designation {
    color: var(--astro-muted);
    font-size: .86rem;
    font-weight: 700;
}

.question-meta-jyotishi__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .35rem;
    min-height: 34px;
    padding: .4rem .75rem;
    border-radius: .7rem;
    font-weight: 700;
    font-size: .84rem;
    white-space: normal;
    max-width: 100%;
    flex: 0 1 auto;
    margin-top: .15rem;
    background: #f1e8ff;
    border-color: rgba(80, 23, 128, 0.18);
    color: #5a2796;
}

.question-meta-jyotishi__button:hover,
.question-meta-jyotishi__button:focus {
    background: #eadcff;
    border-color: rgba(80, 23, 128, 0.28);
    color: #4b1f80;
}

@media (max-width: 575.98px) {
    .question-meta-jyotishi {
        align-items: flex-start;
        flex-wrap: wrap;
    }

    .question-meta-jyotishi__button {
        width: 100%;
    }
}

.question-meta-jyotishi-profile {
    display: grid;
    grid-template-columns: 150px minmax(0, 1fr);
    align-items: stretch;
    gap: 1.25rem;
    min-width: 0;
}

.astrologer-profile-modal {
    border: 1px solid var(--astro-border);
    border-radius: 1.7rem;
    overflow: hidden;
    color: var(--astro-text);
    background:
        radial-gradient(circle at top right, rgba(255, 199, 37, 0.22), transparent 28%),
        radial-gradient(circle at left center, rgba(80, 23, 128, 0.1), transparent 34%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.998), rgba(245, 236, 227, 0.985));
    box-shadow: 0 32px 64px rgba(34, 20, 66, 0.24);
}

.astrologer-profile-modal__header {
    position: relative;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.2rem 1.35rem 1rem;
    padding-right: 4.75rem;
    border-bottom: 1px solid rgba(80, 23, 128, 0.08);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0.42));
    backdrop-filter: blur(6px);
}

.astrologer-profile-modal__header .btn-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 2.5rem;
    height: 2.5rem;
    margin: 0;
    flex: 0 0 auto;
    border-radius: 999px;
    background-color: rgba(255, 255, 255, 0.92);
    box-shadow:
        0 10px 22px rgba(34, 20, 66, 0.16),
        inset 0 0 0 1px rgba(80, 23, 128, 0.12);
    opacity: 1;
}

.astrologer-profile-modal__header .small,
.astrologer-profile-modal__header .modal-title {
    color: var(--astro-text) !important;
}

.astrologer-profile-modal__header .small {
    opacity: .72;
}

.astrologer-profile-modal__body {
    padding: 1.35rem;
}

.question-meta-jyotishi-profile__avatar {
    grid-column: 1;
    grid-row: 1;
    width: 124px;
    height: 124px;
    border-radius: 1.55rem;
    object-fit: cover;
    border: 3px solid rgba(255, 255, 255, 0.9);
    background: rgba(80, 23, 128, 0.08);
    box-shadow:
        0 14px 28px rgba(34, 20, 66, 0.14),
        inset 0 0 0 1px rgba(80, 23, 128, 0.12);
    justify-self: center;
    align-self: start;
}

.question-meta-jyotishi-profile > div {
    min-width: 0;
}

.question-meta-jyotishi-profile__avatar,
.question-meta-jyotishi-profile__content {
    position: relative;
    z-index: 1;
}

.question-meta-jyotishi-profile__content {
    grid-column: 2;
    grid-row: 1;
    min-width: 0;
    align-self: stretch;
    padding: .2rem 0;
}

.question-meta-jyotishi-profile__content h5 {
    font-size: clamp(1.45rem, 2vw, 1.9rem);
    line-height: 1.05;
    letter-spacing: -.02em;
}

.question-meta-jyotishi-profile__content [data-user-question-jyotishi-profile-designation] {
    display: inline-flex;
    align-items: center;
    margin-top: .25rem;
    padding: .28rem .72rem;
    border-radius: 999px;
    background: rgba(80, 23, 128, 0.08);
    color: #5d4d7f !important;
    font-size: .9rem;
}

.question-meta-jyotishi-profile__details {
    display: grid;
    grid-template-columns: minmax(0, 1.45fr) minmax(150px, .75fr);
    gap: .85rem;
    margin-top: 1.1rem;
    grid-column: 1 / -1;
    grid-row: 2;
}

.question-meta-jyotishi-profile__detail {
    margin-top: 0 !important;
    padding: .95rem 1rem;
    border-radius: 1.05rem;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(255, 255, 255, 0.84));
    border: 1px solid rgba(80, 23, 128, 0.14);
    line-height: 1.6;
    box-shadow:
        0 14px 26px rgba(34, 20, 66, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.82);
}

.question-meta-jyotishi-profile__detail strong {
    display: block;
    margin-bottom: .2rem;
    font-size: .8rem;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: var(--astro-muted);
}

.question-meta-jyotishi-profile__detail--specialization span,
.question-meta-jyotishi-profile__detail--experience span {
    display: block;
    margin-top: 0;
    color: var(--astro-text);
    font-weight: 600;
}

.question-meta-jyotishi-profile__bio {
    margin-top: 1rem !important;
    padding: 1.05rem 1.1rem;
    border-radius: 1.15rem;
    background:
        linear-gradient(180deg, rgba(80, 23, 128, 0.08), rgba(255, 255, 255, 0.78));
    color: var(--astro-text);
    line-height: 1.8;
    border: 1px solid rgba(80, 23, 128, 0.12);
    grid-column: 1 / -1;
    grid-row: 3;
}

.question-meta-jyotishi-profile h5,
.question-meta-jyotishi-profile p,
.question-meta-jyotishi-profile span,
.question-meta-jyotishi-profile div {
    overflow-wrap: anywhere;
    word-break: break-word;
}

#replyJyotishiProfileModal .modal-content,
#replyJyotishiProfileModal .modal-body,
#replyJyotishiProfileModal .modal-header,
#userQuestionJyotishiProfileModal .modal-content,
#userQuestionJyotishiProfileModal .modal-body,
#userQuestionJyotishiProfileModal .modal-header {
    overflow-x: hidden;
    min-width: 0;
}

#replyJyotishiProfileModal .modal-dialog,
#userQuestionJyotishiProfileModal .modal-dialog {
    width: min(calc(100vw - 1.5rem), 42rem);
    max-width: min(calc(100vw - 1.5rem), 42rem);
    margin-inline: auto;
}

#replyJyotishiProfileModal .modal-content,
#userQuestionJyotishiProfileModal .modal-content {
    max-width: 100%;
}

#userQuestionDetailModal {
    z-index: 1055;
}

#userQuestionJyotishiProfileModal {
    z-index: 1065;
}

#profile .profile-summary-row {
    grid-template-columns: minmax(165px, 190px) minmax(0, 1fr);
    gap: .45rem;
}

.family-profile-card .profile-summary-row {
    grid-template-columns: minmax(165px, 190px) minmax(0, 1fr);
    gap: .45rem;
}

#adminUserProfileModal .profile-summary-row {
    grid-template-columns: minmax(180px, 220px) minmax(0, 1fr);
    gap: .5rem;
}

.profile-radio-group {
    display: flex;
    flex-wrap: wrap;
    gap: .75rem;
}

.profile-radio-option {
    display: inline-flex;
    align-items: center;
    gap: .55rem;
    padding: .8rem 1rem;
    border: 1px solid var(--astro-border);
    border-radius: 1rem;
    background: var(--surface-strong);
    cursor: pointer;
    transition: border-color .2s ease, background .2s ease, box-shadow .2s ease;
}

.profile-radio-option:hover,
.profile-radio-option:has(input:focus-visible),
.profile-radio-option:has(input:checked) {
    border-color: rgba(192, 106, 24, 0.45);
    background: rgba(255, 214, 122, 0.16);
    box-shadow: 0 10px 20px rgba(192, 106, 24, 0.08);
}

.profile-radio-option span {
    font-weight: 600;
    color: var(--astro-text);
}

.birth-time-picker {
    display: flex;
    flex-wrap: wrap;
    gap: .6rem;
    align-items: center;
}

.birth-time-picker__field {
    flex: 1 1 110px;
    min-width: 110px;
}

.birth-time-picker__slot {
    display: inline-flex;
    align-items: center;
    min-height: 3rem;
    padding: .7rem .95rem;
    border-radius: .9rem;
    border: 1px solid rgba(192, 106, 24, 0.34);
    background: linear-gradient(135deg, rgba(255, 224, 138, 0.34), rgba(255, 244, 213, 0.9));
    color: #543112;
    font-weight: 600;
    white-space: nowrap;
}

.birth-time-picker__slot:empty {
    display: none;
}

.profile-dob-group {
    --bs-gutter-y: .75rem;
}

.profile-dob-group .date-dropdown-field,
.profile-dob-group .ad-date-picker-field {
    width: 100%;
}

.profile-dob-group .date-dropdown-field__select {
    min-height: 3rem;
}

[data-profile-date-group] .date-dropdown-field,
[data-profile-date-group] .ad-date-picker-field {
    width: 100%;
}

@media (min-width: 768px) {
    [data-profile-date-group] .col-md-6 {
        flex: 0 0 50%;
        width: 50%;
    }
}

[data-kundali-date-group] .row {
    --bs-gutter-y: .75rem;
}

[data-kundali-date-group] .profile-radio-group {
    margin-bottom: 1rem;
}

[data-kundali-date-group] .col-md-6 {
    flex: 0 0 100%;
    width: 100%;
}

[data-kundali-date-group] .kundali-date-picker__slot {
    width: 100%;
    justify-content: center;
    margin-top: .75rem;
}

[data-kundali-time-group] .birth-time-picker__field {
    flex: 1 1 calc(33.333% - .4rem);
    min-width: 0;
}

[data-kundali-time-group] .birth-time-picker__slot {
    width: 100%;
    justify-content: center;
    margin-top: .60rem;
}

.native-date-input {
    width: 100%;
    min-width: 0;
}

.saait-admin-builder {
    padding: .9rem;
    border-radius: 1rem;
    background: rgba(95, 47, 146, 0.03);
}

.saait-step-month-grid {
    display: flex;
    flex-wrap: wrap;
    gap: .55rem;
}

.saait-step-month-chip {
    cursor: pointer;
}

.saait-step-month-chip span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 2.6rem;
    padding: .55rem .95rem;
    border-radius: 999px;
    border: 1px solid rgba(95, 47, 146, 0.18);
    background: #fff;
    color: var(--astro-text);
    font-weight: 700;
    transition: all .18s ease;
}

.saait-step-month-chip.is-active span {
    background: linear-gradient(135deg, rgba(255, 213, 116, 0.96), rgba(239, 182, 79, 0.94));
    color: #2d1548;
    border-color: rgba(239, 182, 79, 0.55);
}

.saait-step-workspace {
    display: grid;
    gap: 1rem;
}

.saait-step-preview-card {
    padding: 1rem;
    border-radius: 1rem;
    border: 1px solid rgba(80, 23, 128, 0.1);
    background: linear-gradient(180deg, rgba(255, 248, 235, 0.9), rgba(255, 255, 255, 0.98));
}

.saait-step-preview-card__title {
    margin-bottom: .65rem;
    color: #7a4813;
    font-size: .82rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.saait-step-preview-months {
    display: grid;
    gap: .65rem;
}

.saait-step-preview-month {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .8rem;
    padding: .8rem .9rem;
    border: 1px solid rgba(192, 106, 24, 0.18);
    border-radius: .95rem;
    background: #fff;
    color: inherit;
    text-align: left;
}

.saait-step-preview-month strong {
    color: #45245f;
}

.saait-step-preview-month span {
    color: #7a5a3a;
    font-size: .87rem;
}

.saait-step-month-panel {
    padding: 1rem;
    border: 1px solid rgba(80, 23, 128, 0.1);
}

.saait-step-date-grid {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
}

.saait-step-date-chip {
    width: 2.6rem;
    height: 2.6rem;
    border-radius: 999px;
    border: 1px solid rgba(192, 106, 24, 0.34);
    background: #fff;
    color: var(--astro-text);
    font-weight: 700;
}

.saait-step-date-chip.is-active {
    background: linear-gradient(135deg, rgba(165, 71, 20, 0.96), rgba(239, 182, 79, 0.94));
    color: #fff;
    border-color: transparent;
}

.saait-step-entry-card {
    padding: .95rem;
    border-radius: 1rem;
    border: 1px solid rgba(80, 23, 128, 0.1);
    background: rgba(95, 47, 146, 0.03);
}

.saait-step-empty {
    padding: .5rem 0 0;
}

.saait-admin-page {
    display: grid;
    gap: 1.25rem;
}

.saait-admin-hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.25rem;
    padding: 1.5rem;
    background:
        radial-gradient(circle at top right, rgba(243, 188, 103, 0.24), transparent 28%),
        linear-gradient(135deg, rgba(44, 17, 70, 0.98), rgba(80, 23, 128, 0.94) 60%, rgba(215, 140, 36, 0.88));
    color: #fff;
}

.saait-admin-hero__aside {
    display: grid;
    gap: .9rem;
    justify-items: end;
}

.saait-admin-hero__eyebrow,
.saait-admin-section-head__eyebrow,
.saait-admin-step-label {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    padding: .35rem .75rem;
    border-radius: 999px;
    font-size: .75rem;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.saait-admin-hero__eyebrow {
    margin-bottom: .8rem;
    background: rgba(255, 255, 255, 0.16);
    color: rgba(255, 245, 228, 0.96);
}

.saait-admin-hero__title {
    color: #fff;
}

.saait-admin-hero__text {
    max-width: 48rem;
    color: rgba(255, 244, 229, 0.82);
}

.saait-admin-hero__stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(120px, 1fr));
    gap: .85rem;
    width: min(100%, 420px);
}

.saait-admin-stat {
    padding: .95rem 1rem;
    border-radius: 1rem;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(8px);
}

.saait-admin-stat__label {
    display: block;
    margin-bottom: .35rem;
    color: rgba(255, 244, 229, 0.76);
    font-size: .78rem;
    text-transform: uppercase;
    letter-spacing: .06em;
}

.saait-admin-stat__value {
    display: block;
    font-size: 1.3rem;
    font-weight: 800;
    color: #fff;
}

.saait-admin-hero__action,
.saait-admin-toolbar-btn {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
}

.saait-admin-form-card,
.saait-admin-list-card {
    height: 100%;
}

.saait-admin-list-card {
    position: static;
}

.saait-admin-section-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.2rem;
}

.saait-admin-section-head--compact {
    margin-bottom: 1rem;
}

.saait-admin-toolbar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .75rem;
}

.saait-admin-section-head__eyebrow {
    margin-bottom: .55rem;
    background: rgba(215, 140, 36, 0.14);
    color: #8a4d0a;
}

.saait-admin-section-head__badge {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    padding: .55rem .85rem;
    border-radius: 999px;
    background: rgba(44, 17, 70, 0.06);
    color: #4e216f;
    font-weight: 700;
    white-space: nowrap;
}

.saait-admin-card-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.saait-admin-service-card {
    padding: 1rem;
    border-radius: 1.1rem;
    border: 1px solid rgba(80, 23, 128, 0.09);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(249, 245, 239, 0.98));
    box-shadow: 0 12px 30px rgba(39, 20, 66, 0.05);
}

.saait-admin-service-card__top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: .8rem;
    margin-bottom: .85rem;
}

.saait-admin-service-card__top > div:first-child {
    cursor: grab;
}

.saait-admin-service-card.is-dragging {
    opacity: 0.6;
}

.saait-admin-service-card.is-drag-over {
    box-shadow: inset 0 0 0 2px rgba(95, 47, 146, 0.35), 0 12px 30px rgba(39, 20, 66, 0.05);
}

.saait-admin-service-card__icon {
    width: 2.6rem;
    height: 2.6rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: .8rem;
    border-radius: .9rem;
    background: rgba(80, 23, 128, 0.08);
    color: #5b2480;
    font-size: 1.1rem;
}

.saait-admin-service-card__title {
    margin: 0;
    font-weight: 800;
    font-size: 1.34rem;
    color: var(--astro-text);
}

.saait-admin-service-card__desc {
    margin-bottom: .9rem;
    color: var(--astro-muted);
    font-size: .92rem;
    line-height: 1.5;
}

.saait-admin-service-card__meta {
    display: grid;
    gap: .5rem;
    margin-bottom: .95rem;
    color: #7a5a3a;
    font-size: .82rem;
}

.saait-admin-service-card__meta span {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
}

.saait-admin-service-card__actions {
    display: flex;
    flex-wrap: wrap;
    gap: .55rem;
    justify-content: flex-end;
}

.saait-admin-fieldset {
    padding: 1rem;
    border-radius: 1rem;
    border: 1px solid rgba(80, 23, 128, 0.1);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(249, 245, 239, 0.96));
}

.saait-admin-fieldset--highlight {
    background:
        radial-gradient(circle at top right, rgba(243, 188, 103, 0.18), transparent 35%),
        linear-gradient(180deg, rgba(255, 250, 240, 0.98), rgba(255, 255, 255, 0.98));
}

.saait-admin-step-label {
    margin-bottom: .85rem;
    background: rgba(80, 23, 128, 0.08);
    color: #5c2387;
}

.saait-admin-months-card {
    display: grid;
    gap: 1rem;
}

.saait-step-workspace {
    gap: 1rem;
}

.saait-step-preview-card--workspace {
    padding: 1.15rem 1.2rem;
}

.saait-admin-tip {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    padding: .6rem .8rem;
    border-radius: .9rem;
    background: rgba(243, 188, 103, 0.16);
    color: #7a4813;
    font-size: .88rem;
    font-weight: 700;
}

.saait-step-preview-month {
    transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.saait-step-preview-month:hover {
    transform: translateY(-1px);
    border-color: rgba(192, 106, 24, 0.4);
    box-shadow: 0 12px 24px rgba(68, 31, 12, 0.08);
}

.saait-step-month-panel {
    padding: 1.15rem;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(250, 246, 240, 0.98));
}

.saait-step-month-panel__head {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .85rem;
    padding: 0;
    background: transparent;
    border: 0;
    text-align: left;
}

.saait-step-month-panel__head-copy {
    flex: 1 1 auto;
}

.saait-step-month-panel__chevron {
    width: 2.25rem;
    height: 2.25rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    border: 1px solid rgba(80, 23, 128, 0.1);
    background: rgba(80, 23, 128, 0.04);
    color: #5b2480;
    transition: transform .18s ease, background .18s ease;
}

.saait-step-month-panel:not(.saait-step-month-panel--collapsed) .saait-step-month-panel__chevron {
    transform: rotate(180deg);
    background: rgba(215, 140, 36, 0.14);
}

.saait-step-month-panel__body {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(80, 23, 128, 0.08);
}

.saait-step-entry-card {
    background: linear-gradient(180deg, rgba(255, 250, 244, 0.98), rgba(255, 255, 255, 0.98));
}

.saait-admin-submit {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    padding-inline: 1.15rem;
}

.saait-admin-modal .modal-dialog {
    max-width: min(1180px, calc(100vw - 2rem));
}

.saait-admin-modal .modal-content {
    border: 0;
    border-radius: 1.4rem;
    overflow: hidden;
    box-shadow: 0 28px 64px rgba(18, 25, 58, 0.22);
}

.saait-admin-modal__header {
    padding: 1.15rem 1.25rem;
    border-bottom: 1px solid rgba(80, 23, 128, 0.08);
    background: linear-gradient(180deg, rgba(255, 252, 246, 0.98), rgba(255, 255, 255, 0.98));
}

.saait-admin-modal__body {
    padding: 1.25rem;
}

.saait-admin-modal__sidebar,
.saait-admin-modal__workspace {
    max-height: min(68vh, 760px);
    overflow: auto;
    padding-right: .2rem;
}

.saait-admin-modal__footer {
    margin-top: .25rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(80, 23, 128, 0.08);
    justify-content: flex-end;
    gap: .75rem;
}

.saait-admin-table {
    margin-bottom: 0;
}

.saait-admin-table thead th {
    font-size: .76rem;
    font-weight: 800;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: var(--astro-muted);
    border-bottom-width: 1px;
}

.saait-admin-table tbody tr:last-child td {
    border-bottom: 0;
}

.saait-admin-table__name {
    font-weight: 700;
    color: var(--astro-text);
}

.saait-admin-sort-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 2.3rem;
    min-height: 2.3rem;
    padding: .35rem .7rem;
    border-radius: 999px;
    background: rgba(80, 23, 128, 0.08);
    color: #4e216f;
    font-weight: 800;
}

[data-theme="dark"] .saait-admin-list-card {
    background:
        radial-gradient(circle at top right, rgba(245, 191, 45, 0.06), transparent 26%),
        linear-gradient(180deg, rgba(26, 18, 38, 0.98), rgba(18, 13, 28, 0.98));
    border-color: rgba(245, 191, 45, 0.18);
}

[data-theme="dark"] .saait-admin-service-card {
    background:
        linear-gradient(180deg, rgba(35, 27, 48, 0.98), rgba(24, 18, 35, 0.98));
    border-color: rgba(255, 255, 255, 0.08);
    box-shadow: 0 16px 32px rgba(0, 0, 0, 0.24);
}

[data-theme="dark"] .saait-admin-service-card__title {
    color: #f7f1fb;
}

[data-theme="dark"] .saait-admin-service-card__desc {
    color: rgba(232, 224, 243, 0.8);
}

[data-theme="dark"] .saait-admin-service-card__meta {
    color: rgba(219, 207, 232, 0.74);
}

[data-theme="dark"] .saait-admin-service-card__meta i {
    color: #f3c96a;
}

[data-theme="dark"] .saait-admin-sort-pill {
    background: rgba(243, 201, 106, 0.12);
    color: #f3d48a;
}

.saait-admin-table__action {
    min-width: 4.8rem;
}

@media (max-width: 575.98px) {
    .saait-admin-hero,
    .saait-admin-section-head {
        flex-direction: column;
    }

    .saait-admin-hero__aside {
        justify-items: stretch;
        width: 100%;
    }

    .saait-admin-hero__stats {
        grid-template-columns: 1fr;
        width: 100%;
    }

    .saait-admin-card-grid {
        grid-template-columns: 1fr;
    }

    .ask-santan-flow__header {
        flex-direction: column;
    }

    .profile-summary-row {
        grid-template-columns: 1fr;
        gap: .3rem;
    }

    .profile-summary-row__label {
        gap: .55rem;
    }

    .family-profile-card {
        padding: 1rem;
    }

    #questionProfilePreviewModal .modal-content {
        min-height: 100dvh;
        border: 0;
        border-radius: 0;
        box-shadow: none;
        background:
            radial-gradient(circle at top right, rgba(243, 188, 103, 0.18), transparent 34%),
            linear-gradient(180deg, #f8f1e6 0%, #fffaf3 100%);
    }

    .profile-preview-modal__header {
        padding: 1rem 1rem 0;
    }

    .profile-preview-modal__body {
        padding: 1rem;
    }

    .profile-preview-card {
        padding: 1.1rem;
        border-radius: 1.2rem;
    }

    .family-profile-card__toggle {
        align-items: center;
    }

    .family-profile-card__identity {
        align-items: center;
        flex-direction: row;
        gap: .85rem;
        flex: 1 1 auto;
    }

    .family-profile-card__toggle-copy {
        flex: 1 1 auto;
    }

    .family-profile-card__name {
        font-size: 1.08rem;
    }

    .family-profile-card__relation {
        font-size: .88rem;
    }

    .family-profile-card__toggle-icon {
        align-self: center;
    }
}

@media (max-width: 991.98px) {
    .saait-admin-card-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 991.98px) {
    .account-mobile-section-bar {
        display: flex;
    }

    .account-sidebar-card {
        position: static;
        top: auto;
        padding: 1rem;
    }

    .account-sidebar-card__profile {
        align-items: center;
    }

    .account-sidebar-card__menu-trigger {
        display: inline-flex;
    }

    .account-sidebar-card__label,
    .account-sidebar-nav-wrap {
        display: none;
    }

    .account-sidebar-card {
        position: static;
        top: auto;
    }

    .account-content-stack {
        gap: 1rem;
    }

    .account-panel-head {
        align-items: stretch !important;
    }

    .account-panel-head__actions {
        width: 100%;
        justify-content: flex-start;
    }

    .account-panel-head__actions--question-history {
        display: flex !important;
        flex-wrap: wrap;
        align-items: stretch;
        gap: .55rem !important;
    }

    .account-panel-head__actions--question-history .account-question-time-filter,
    .account-panel-head__actions--question-history > .btn {
        width: auto;
        min-width: 0;
    }

    .account-panel-head__actions--payments {
        flex-wrap: wrap;
        width: 100%;
    }

    .account-panel-head__actions--payments .account-question-time-filter,
    .account-panel-head__actions--payments > .btn {
        width: auto;
        min-width: 0;
    }

    .account-question-time-filter__toggle,
    .account-question-new-btn {
        width: 100%;
        min-width: 0;
    }

    .account-question-time-filter__menu {
        width: 100%;
    }

    .account-payment-actions {
        width: 100%;
        justify-content: flex-start;
    }

    .account-payment-actions .btn,
    .account-question-action-cell .btn {
        min-width: 5.5rem;
    }

    .account-mobile-offcanvas .account-sidebar-link {
        min-width: 0;
    }

    .account-questions-hero {
        grid-template-columns: 1fr;
    }

    .account-questions-hero__copy {
        max-width: 100%;
    }

    .account-questions-hero__stats {
        width: 100%;
        min-width: 0;
    }

    .account-questions-hero .account-panel-head__actions--question-history {
        grid-column: auto;
        width: fit-content;
        max-width: 100%;
        justify-content: flex-start;
        justify-self: start;
        margin-right: 0;
        gap: .55rem !important;
    }

    .account-questions-hero .account-panel-head__actions--question-history .account-question-time-filter,
    .account-questions-hero .account-panel-head__actions--question-history .account-question-new-btn {
        width: auto;
        min-width: 0;
    }

    .account-questions-hero .account-panel-head__actions--question-history .account-question-time-filter {
        min-width: 0;
    }

    .account-questions-hero .account-panel-head__actions--question-history .account-question-time-filter__toggle {
        width: auto;
        min-width: 0;
        max-width: none;
        min-height: 42px;
        padding-inline: .9rem;
        font-size: .92rem;
    }

    .account-questions-hero .account-panel-head__actions--question-history .account-question-new-btn {
        width: auto;
        min-width: 122px;
        min-height: 42px;
        padding-inline: .9rem;
        font-size: .92rem;
    }
}

[data-theme="dark"] .account-mobile-offcanvas {
    background:
        radial-gradient(circle at top right, rgba(245, 191, 45, 0.08), transparent 26%),
        linear-gradient(180deg, rgba(24, 17, 36, 0.98), rgba(16, 11, 24, 0.98));
    border-color: rgba(255, 255, 255, 0.08);
}

[data-theme="dark"] .account-mobile-offcanvas .offcanvas-header .btn-close {
    background-color: rgba(255, 255, 255, 0.08);
    box-shadow:
        0 10px 20px rgba(0, 0, 0, 0.22),
        inset 0 0 0 1px rgba(255, 255, 255, 0.12);
    filter: none;
}

[data-theme="dark"] .account-mobile-offcanvas__close span {
    color: #f3d48a;
}

[data-theme="dark"] .account-mobile-offcanvas__profile-close {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.12);
    color: #f3d48a;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.22);
}

[data-theme="dark"] .account-sidebar-card__menu-trigger {
    border-color: rgba(255, 255, 255, 0.12);
    color: #f3d48a;
    background: rgba(255, 255, 255, 0.04);
}

[data-theme="dark"] .account-mobile-section-bar {
    background:
        radial-gradient(circle at top right, rgba(245, 191, 45, 0.08), transparent 30%),
        linear-gradient(180deg, rgba(34, 24, 49, 0.96), rgba(24, 17, 36, 0.98));
    border-color: rgba(255, 255, 255, 0.1);
    box-shadow: 0 16px 34px rgba(0, 0, 0, 0.26);
}

[data-theme="dark"] .account-mobile-section-bar__eyebrow {
    color: rgba(243, 234, 255, 0.64);
}

[data-theme="dark"] .account-mobile-section-bar__title {
    color: rgba(247, 242, 255, 0.96);
}

[data-theme="dark"] .account-sidebar-card__menu-trigger[aria-expanded="true"] {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 199, 37, 0.22);
    color: #ffd98f;
}

@media (max-width: 767.98px) {
    .account-dashboard-metrics {
        --bs-gutter-x: .75rem;
        --bs-gutter-y: .75rem;
    }

    .account-payments-panel {
        padding: 1rem;
    }

    .account-questions-panel {
        padding: 1rem;
    }

    .account-questions-hero {
        padding: .95rem;
        margin-bottom: .85rem;
    }

    .account-questions-hero__stats {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: .55rem;
    }

    .account-questions-stat {
        padding: .75rem .85rem;
    }

    .account-questions-subhead__text {
        font-size: .84rem;
    }

    .account-questions-table-wrap--panel {
        padding: 0;
        background: transparent;
    }

    .metric-card {
        min-height: 5.5rem;
        padding: 1.15rem 1rem;
    }

    .ask-question-profile-card {
        height: 100%;
    }

    .ask-question-profile-card .ask-category-body {
        padding-right: .9rem;
        padding-bottom: 3.6rem;
    }

    .ask-question-profile-card__view {
        position: absolute;
        left: calc(1rem + 2.55rem + 1rem);
        right: auto;
        top: auto;
        bottom: 1rem;
        transform: none;
        padding: .45rem .72rem;
    }

    .ask-question-profile-card__view span {
        font-size: .74rem;
    }

    .kundali-person-card__header {
        padding: .8rem .85rem;
        gap: .75rem;
    }

    .kundali-person-card__icon {
        width: 2.7rem;
        height: 2.7rem;
        flex-basis: 2.7rem;
        font-size: 1.2rem;
    }

    .kundali-person-card__subtitle {
        font-size: .72rem;
    }

    .ask-category-body {
        padding-right: 7.25rem;
    }

    .metric-card .display-6,
    .metric-payment-amount {
        font-size: 1.5rem;
    }

    .payment-amount-toggle {
        align-items: flex-start;
        flex-wrap: nowrap;
    }

    .payment-amount-toggle__icon {
        width: 1.7rem;
        height: 1.7rem;
        flex-basis: 1.7rem;
        margin-top: .05rem;
    }

    .account-sidebar-card__profile {
        flex-direction: row;
        align-items: center;
        gap: .8rem;
    }

    .account-sidebar-card__avatar {
        width: 56px;
        height: 56px;
        flex-basis: 56px;
    }

    .account-sidebar-card__profile > div:last-child {
        flex: 1 1 auto;
        min-width: 0;
    }

    .account-question-answered-cell,
    .account-question-status-cell,
    .account-question-action-cell,
    .account-question-category-cell {
        width: auto;
        min-width: 0;
        text-align: left;
    }

    .question-category-stack,
    .account-question-answered-stack {
        align-items: flex-start;
        text-align: left;
    }

    .account-question-status-cell .badge {
        max-width: none;
    }

    .account-question-countdown,
    .question-countdown__time {
        text-align: left;
    }

    .account-questions-table,
    .account-questions-table thead,
    .account-questions-table tbody,
    .account-questions-table tr,
    .account-questions-table td,
    .account-payments-table,
    .account-payments-table thead,
    .account-payments-table tbody,
    .account-payments-table tr,
    .account-payments-table td {
        display: block;
        width: 100%;
    }

    .account-questions-table thead,
    .account-payments-table thead {
        display: none;
    }

    .account-questions-table,
    .account-payments-table,
    .account-questions-table.table,
    .account-payments-table.table,
    .account-questions-table.table-responsive,
    .account-payments-table.table-responsive {
        border: 0 !important;
        border-radius: 0 !important;
    }

    .account-questions-table > :not(caption) > * > *,
    .account-payments-table > :not(caption) > * > * {
        border-right: 0 !important;
        border-bottom: 0 !important;
    }

    .account-questions-table-wrap,
    .account-payments-table-wrap {
        max-height: none;
        overflow: visible;
    }

    .account-questions-table tbody,
    .account-payments-table tbody {
        display: grid;
        gap: .65rem;
    }

    .account-questions-table tbody tr,
    .account-payments-table tbody tr {
        border: 1px solid var(--astro-border);
        border-radius: 1rem;
        padding: .65rem .75rem;
        background: var(--surface-strong);
        box-shadow: 0 12px 24px rgba(24, 15, 37, 0.06);
    }

    .account-questions-table tbody td,
    .account-payments-table tbody td {
        border: 0;
        padding: 0;
    }

    .account-questions-table tbody td + td,
    .account-payments-table tbody td + td {
        margin-top: .5rem;
        padding-top: .5rem;
        border-top: 1px dashed var(--astro-border);
    }

    .account-questions-table tbody td[data-label]::before,
    .account-payments-table tbody td[data-label]::before {
        content: attr(data-label);
        display: block;
        margin-bottom: .18rem;
        color: var(--astro-muted);
        font-size: .68rem;
        font-weight: 700;
        letter-spacing: .05em;
        text-transform: uppercase;
    }

    .account-payment-actions .btn,
    .account-question-new-btn,
    .account-question-time-filter__toggle {
        width: 100%;
        justify-content: center;
    }

    .account-question-action-cell .btn {
        width: auto;
        min-width: 5.5rem;
        padding-inline: 1rem;
        justify-content: center;
    }

    .account-history-item__summary-cell .small {
        margin-top: .18rem;
    }

    .account-questions-table tbody tr[data-account-history-item] .account-question-answered-cell {
        display: none;
    }

    .account-questions-table tbody tr[data-account-history-item] {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: .45rem .55rem;
    }

    .account-questions-table tbody tr[data-account-history-item] .account-history-item__summary-cell,
    .account-questions-table tbody tr[data-account-history-item] .account-question-action-cell {
        grid-column: 1 / -1;
    }

    .account-questions-table tbody tr[data-account-history-item] .account-history-item__summary-cell {
        padding: .45rem .5rem;
        border-radius: .75rem;
        background: rgba(80, 23, 128, 0.03);
    }

    .account-questions-table tbody tr[data-account-history-item] .account-question-category-cell,
    .account-questions-table tbody tr[data-account-history-item] .account-question-status-cell,
    .account-questions-table tbody tr[data-account-history-item] .account-question-action-cell {
        display: block;
    }

    .account-questions-table tbody tr[data-account-history-item] .account-question-category-cell,
    .account-questions-table tbody tr[data-account-history-item] .account-question-status-cell,
    .account-questions-table tbody tr[data-account-history-item] .account-question-action-cell {
        margin-top: 0;
        padding-top: 0;
        border-top: 0;
    }

    .account-questions-table tbody tr[data-account-history-item] .account-question-category-cell,
    .account-questions-table tbody tr[data-account-history-item] .account-question-status-cell {
        padding: .45rem .5rem;
        border-radius: .75rem;
        background: rgba(80, 23, 128, 0.03);
    }

    .account-questions-table tbody tr[data-account-history-item] .account-question-action-cell {
        text-align: center;
        padding-top: .15rem;
    }

    .account-questions-table tbody tr[data-account-history-item] .account-question-action-cell::before {
        display: none;
    }

    .account-questions-table tbody tr[data-account-history-item] .account-question-action-cell .btn {
        margin-inline: auto;
    }

    .payment-record-amount,
    .payment-record-amount__offered {
        align-items: flex-start;
        text-align: left;
    }

    .account-payments-table tbody {
        gap: .75rem;
    }

    .account-payments-table tbody tr {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: .7rem;
        padding: .95rem;
        border-radius: 1.05rem;
        border: 1px solid var(--astro-border);
    }

    .account-payments-table tbody td {
        margin: 0 !important;
        padding: 0 !important;
        border: 0 !important;
        text-align: left !important;
    }

    .account-payments-table tbody td[data-label]::before {
        margin-bottom: .14rem;
    }

    .account-payments-table tbody td:first-child {
        display: none;
    }

    .account-payments-table tbody .payment-record-for,
    .account-payments-table tbody .payment-record-date {
        grid-column: auto;
    }

    .account-payments-table tbody td[data-label="Action"] {
        grid-column: 1 / -1;
    }

    .account-payments-table tbody .payment-record-for {
        display: block;
        padding: .75rem .8rem !important;
        border-radius: .85rem;
        background: rgba(80, 23, 128, 0.03);
        border-bottom: 0 !important;
    }

    .account-payments-table tbody .payment-record-summary {
        min-width: 0;
    }

    .account-payments-table tbody .payment-record-for .fw-semibold {
        font-size: 1rem;
        line-height: 1.35;
    }

    .account-payments-table tbody .payment-record-date {
        padding: .75rem .8rem !important;
        border-radius: .85rem;
        background: rgba(80, 23, 128, 0.03);
    }

    .account-payments-table tbody .payment-record-datetime {
        display: flex;
        justify-content: flex-start;
        text-align: left;
        margin-top: 0;
    }

    .account-payments-table tbody .payment-record-datetime__stack {
        width: auto;
        align-items: flex-start;
        gap: .12rem;
    }

    .account-payments-table tbody td[data-label="Method"],
    .account-payments-table tbody td[data-label="Amount"],
    .account-payments-table tbody td[data-label="Status"] {
        padding: .65rem .75rem !important;
        border-radius: .8rem !important;
        background: rgba(80, 23, 128, 0.03);
    }

    .payment-record-amount__base {
        font-size: .98rem;
    }

    .payment-record-amount__offered {
        gap: .08rem;
    }

    .account-payment-actions {
        flex-direction: row;
        align-items: center;
        justify-content: center;
        gap: .5rem;
        padding: .35rem 0 .1rem;
    }

    .account-payment-actions .btn {
        width: auto;
        min-width: 4.4rem;
        min-height: 34px;
        padding: .4rem .72rem;
        font-size: .84rem;
        border-radius: .85rem;
    }

    .account-payments-table tbody td[data-label="Action"]::before {
        display: none;
    }
}

#profileSetupModal .modal-content,
#profileSetupModal .modal-body {
    overflow: visible;
}

#familyProfileModal .modal-content,
#familyProfileModal .modal-body {
    overflow: visible;
}

.ndp-container {
    z-index: 2000 !important;
}

[data-profile-photo-crop-modal] .modal-dialog {
    max-height: 90vh;
}

[data-profile-photo-crop-modal] .modal-content {
    max-height: 90vh;
}

[data-profile-photo-crop-modal] .modal-body {
    overflow: hidden;
}

.profile-cropper-stage {
    width: 100%;
    height: min(62vh, 560px);
    min-height: 320px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 1rem;
    overflow: hidden;
    background:
        linear-gradient(45deg, rgba(80, 23, 128, 0.06) 25%, transparent 25%, transparent 75%, rgba(80, 23, 128, 0.06) 75%, rgba(80, 23, 128, 0.06)),
        linear-gradient(45deg, rgba(80, 23, 128, 0.06) 25%, transparent 25%, transparent 75%, rgba(80, 23, 128, 0.06) 75%, rgba(80, 23, 128, 0.06));
    background-position: 0 0, 12px 12px;
    background-size: 24px 24px;
}

.profile-cropper-stage img {
    display: block;
    width: 100%;
    max-width: 100%;
    height: min(62vh, 560px);
    object-fit: contain;
}

.dropdown-menu {
    background: var(--surface-strong);
    border: 1px solid var(--astro-border);
    box-shadow: 0 18px 36px var(--astro-shadow);
}

.dropdown-item {
    color: var(--astro-text);
}

.dropdown-item:hover,
.dropdown-item:focus {
    background: rgba(243, 188, 103, 0.14);
    color: var(--astro-text);
}

.dropdown-divider {
    border-color: var(--astro-border);
}

.nepali-datetime-field {
    position: relative;
}

.nepali-datetime-field__display {
    pointer-events: none;
    background: var(--surface-strong);
    color: var(--astro-text);
    padding-right: 3rem;
}

.nepali-datetime-field__display::placeholder {
    color: var(--astro-muted);
}

.nepali-datetime-field__native {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
    z-index: 2;
}

.nepali-datetime-field__native::-webkit-calendar-picker-indicator {
    width: 100%;
    height: 100%;
    cursor: pointer;
}

.accordion {
    --bs-accordion-btn-bg: transparent;
    --bs-accordion-active-bg: transparent;
    --bs-accordion-bg: transparent;
    --bs-accordion-color: var(--astro-text);
    --bs-accordion-btn-color: var(--astro-text);
    --bs-accordion-border-color: var(--astro-border);
}

.accordion-button:not(.collapsed) {
    box-shadow: none;
}

.alert {
    border-color: var(--astro-border);
}

.alert-success {
    background: rgba(25, 135, 84, 0.14);
    color: var(--astro-text);
}

.alert-danger {
    background: rgba(220, 53, 69, 0.14);
    color: var(--astro-text);
}

.alert-warning {
    background: rgba(245, 191, 45, 0.16);
    border-color: rgba(245, 191, 45, 0.3);
    color: var(--astro-text);
}

.app-toast-stack {
    z-index: 1095;
    width: min(calc(100vw - 1.5rem), 350px);
}

.app-toast {
    width: 100%;
}

.app-toast .toast-header {
    border-bottom: 0;
}

.app-toast__body {
    white-space: normal;
}

.app-toast__message {
    white-space: pre-line;
}

.app-payment-success-modal__dialog {
    max-width: 540px;
}

.app-payment-success-modal {
    border: 0;
    border-radius: 1.9rem;
    overflow: hidden;
    background:
        radial-gradient(circle at top, rgba(80, 23, 128, 0.08), transparent 46%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(252, 248, 241, 0.98) 100%);
    box-shadow: 0 28px 70px rgba(43, 18, 71, 0.18);
}

.app-payment-success-modal__close-row {
    display: flex;
    justify-content: flex-end;
    padding: 1rem 1rem 0;
}

.app-payment-success-modal__close {
    opacity: .55;
}

.app-payment-success-modal__close:hover,
.app-payment-success-modal__close:focus {
    opacity: .85;
}

.app-payment-success-modal__body {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1rem;
    padding: .5rem 2.25rem 2.4rem;
}

.app-payment-success-modal__icon {
    width: 5.75rem;
    height: 5.75rem;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(180deg, #5fcb62 0%, #34a853 100%);
    box-shadow:
        0 16px 30px rgba(52, 168, 83, 0.25),
        inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

.app-payment-success-modal__icon-check {
    width: 1.2rem;
    height: 2.1rem;
    border-right: .28rem solid #fff;
    border-bottom: .28rem solid #fff;
    transform: rotate(40deg) translate(-.06rem, -.1rem);
    border-radius: .08rem;
}

.app-payment-success-modal__title {
    font-size: clamp(1.7rem, 2.4vw, 2rem);
    line-height: 1.15;
    font-weight: 700;
    color: var(--astro-text);
}

.app-payment-success-modal__message {
    max-width: 28rem;
    font-size: 1rem;
    line-height: 1.65;
    color: rgba(44, 51, 64, 0.88);
    white-space: pre-line;
}

.app-payment-success-modal__button {
    min-width: 11rem;
    border: 0;
    border-radius: .95rem;
    padding: .78rem 1.4rem;
    background: linear-gradient(180deg, #5fcb62 0%, #34a853 100%);
    color: #fff;
    font-weight: 700;
    box-shadow: 0 14px 28px rgba(52, 168, 83, 0.2);
}

.app-payment-success-modal__button:hover,
.app-payment-success-modal__button:focus {
    background: linear-gradient(180deg, #58bf5b 0%, #2f9a4b 100%);
    color: #fff;
}

[data-theme="dark"] .app-payment-success-modal {
    background:
        radial-gradient(circle at top, rgba(255, 199, 37, 0.12), transparent 42%),
        linear-gradient(180deg, rgba(28, 19, 40, 0.98) 0%, rgba(18, 12, 28, 0.98) 100%);
    box-shadow: 0 28px 70px rgba(0, 0, 0, 0.42);
}

[data-theme="dark"] .app-payment-success-modal__message {
    color: rgba(242, 238, 248, 0.9);
}

@media (max-width: 575.98px) {
    .app-payment-success-modal__dialog {
        width: calc(100vw - 1.2rem);
        max-width: calc(100vw - 1.2rem);
        margin: .6rem auto;
    }

    .app-payment-success-modal {
        border-radius: 1.5rem;
    }

    .app-payment-success-modal__close-row {
        padding: .8rem .8rem 0;
    }

    .app-payment-success-modal__body {
        padding: .25rem 1.2rem 1.8rem;
        gap: .85rem;
    }

    .app-payment-success-modal__icon {
        width: 5rem;
        height: 5rem;
    }

    .app-payment-success-modal__title {
        font-size: 1.5rem;
    }

    .app-payment-success-modal__message {
        font-size: .95rem;
        line-height: 1.75;
    }

    .app-payment-success-modal__button {
        width: 100%;
        min-width: 0;
    }

    #userQuestionDetailModal .question-meta-card {
        padding: 1rem !important;
        border-radius: 1.2rem;
    }

    #userQuestionDetailModal .question-meta-card__header {
        margin-bottom: 1rem;
    }

    #userQuestionDetailModal .question-meta-card__header-icon {
        width: 2.75rem;
        height: 2.75rem;
        border-radius: .95rem;
    }

    #userQuestionDetailModal .question-meta-card__amount {
        padding: 1rem 1.05rem;
        border-radius: 1rem;
    }

    #userQuestionDetailModal .question-meta-card__amount-value {
        font-size: 1.55rem;
    }

    #userQuestionDetailModal .question-meta-card__grid {
        grid-template-columns: 1fr;
        gap: .75rem;
    }

    #userQuestionDetailModal .question-meta-item {
        padding: .9rem;
    }

    #userQuestionDetailModal .question-meta-jyotishi {
        flex-wrap: wrap;
        align-items: center;
    }

    #userQuestionDetailModal .question-meta-jyotishi__button {
        width: auto;
    }

    .app-toast-stack {
        width: min(calc(100vw - 1rem), 350px);
    }

    #userQuestionJyotishiProfileModal .modal-dialog {
        width: calc(100vw - 1rem);
        max-width: calc(100vw - 1rem);
        margin: 4.75rem auto 1rem;
    }

    .astrologer-profile-modal {
        border-radius: 1.25rem;
    }

    .astrologer-profile-modal__header {
        padding: 1rem 1rem .85rem;
        align-items: flex-start;
    }

    .astrologer-profile-modal__header .btn-close {
        top: .85rem;
        right: .85rem;
        width: 2.25rem;
        height: 2.25rem;
    }

    .astrologer-profile-modal__body {
        padding: .9rem;
    }

    .question-meta-jyotishi-profile {
        grid-template-columns: 96px minmax(0, 1fr);
        align-items: flex-start;
        text-align: left;
        gap: .75rem;
    }

    .question-meta-jyotishi-profile::before {
        display: none;
    }

    .question-meta-jyotishi-profile__avatar {
        grid-column: 1;
        grid-row: 1;
        width: 96px;
        height: 96px;
        border-radius: 1.15rem;
        margin-top: 0;
        justify-self: start;
    }

    .question-meta-jyotishi-profile__content {
        grid-column: 2;
        grid-row: 1;
        align-self: stretch;
        width: 100%;
        padding-top: 0;
        min-width: 0;
    }

    .question-meta-jyotishi-profile__content h5 {
        font-size: 1.35rem;
        margin-bottom: .2rem !important;
    }

    .question-meta-jyotishi-profile__content [data-user-question-jyotishi-profile-designation] {
        justify-content: flex-start;
        margin-top: 0;
    }

    .question-meta-jyotishi-profile__details {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: .6rem;
        margin-top: .75rem;
    }

    .question-meta-jyotishi-profile__detail--specialization {
        grid-column: 1 / -1;
    }

    .question-meta-jyotishi-profile__detail,
    .question-meta-jyotishi-profile__bio {
        padding: .85rem .9rem;
        border-radius: .95rem;
        text-align: left;
    }

    .question-meta-jyotishi-profile__detail strong {
        font-size: .74rem;
    }

    .question-meta-jyotishi-profile__bio {
        margin-top: .75rem !important;
    }
}

.badge.bg-light {
    background: rgba(255, 255, 255, 0.88) !important;
    color: #1e243b !important;
}

.list-group-item {
    background: var(--surface-strong);
    color: var(--astro-text);
    border-color: var(--astro-border);
}

.pagination {
    --bs-pagination-bg: var(--surface-strong);
    --bs-pagination-color: var(--astro-text);
    --bs-pagination-border-color: var(--astro-border);
    --bs-pagination-hover-bg: var(--surface-soft);
    --bs-pagination-hover-color: var(--astro-text);
    --bs-pagination-hover-border-color: var(--astro-border);
    --bs-pagination-active-bg: #d9892b;
    --bs-pagination-active-border-color: #d9892b;
}

.modal-content,
.offcanvas {
    background: var(--surface-strong);
    color: var(--astro-text);
    border-color: var(--astro-border);
}

.modal {
    --app-modal-top-gap: max(5rem, calc(4.25rem + env(safe-area-inset-top, 0)));
    --app-modal-bottom-gap: 1.5rem;
}

.modal .modal-dialog {
    margin-top: var(--app-modal-top-gap);
    margin-bottom: var(--app-modal-bottom-gap);
}

.modal .modal-dialog.modal-dialog-centered {
    align-items: flex-start;
    min-height: calc(100% - var(--app-modal-top-gap) - var(--app-modal-bottom-gap));
}

.notification-sound-modal .modal-dialog {
    margin-top: auto;
    margin-bottom: auto;
}

.notification-sound-modal .modal-dialog.modal-dialog-centered {
    align-items: center;
    min-height: 100vh;
}

.modal-header,
.modal-footer,
hr {
    border-color: var(--astro-border);
}

.btn-close {
    filter: none;
}

.chart-wrap,
canvas {
    max-width: 100%;
}

[data-theme="dark"] .navbar-toggler {
    border-color: rgba(255, 255, 255, 0.16);
}


[data-theme="dark"] .text-muted,
[data-theme="dark"] .small.text-muted {
    color: var(--astro-muted) !important;
}

[data-theme="dark"] .accordion-button,
[data-theme="dark"] .accordion-body,
[data-theme="dark"] .accordion-item {
    background: transparent;
    color: var(--astro-text);
}

[data-theme="dark"] .accordion-button::after {
    filter: invert(1) brightness(1.6);
}

[data-theme="dark"] .btn-outline-dark {
    border-color: rgba(255, 255, 255, 0.24);
    color: var(--astro-text);
}

[data-theme="dark"] .btn-primary {
    background: #f3bc67;
    border-color: #f3bc67;
    color: #1f1706;
}

[data-theme="dark"] .btn-primary:hover,
[data-theme="dark"] .btn-primary:focus {
    background: #ffcb7f;
    border-color: #ffcb7f;
    color: #1f1706;
}

[data-theme="dark"] .btn-outline-light {
    border-color: rgba(255, 255, 255, 0.28);
}

[data-theme="dark"] .theme-switcher {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 255, 255, 0.12);
}

[data-theme="dark"] .theme-switcher-btn {
    color: rgba(255, 255, 255, 0.74);
}

[data-theme="dark"] .theme-switcher-btn.is-active {
    background: #f3bc67;
    color: #1f1706;
    border-color: #f3bc67;
}

[data-theme="dark"] .theme-toggle-single {
    background: #f3bc67;
    border-color: #f3bc67;
    color: #241608;
}

[data-theme="dark"] .btn-light {
    background: var(--surface-strong);
    border-color: var(--astro-border);
    color: var(--astro-text);
}

[data-theme="dark"] .btn-light:hover,
[data-theme="dark"] .btn-outline-dark:hover {
    background: rgba(255, 255, 255, 0.08);
    color: var(--astro-text);
    border-color: rgba(255, 255, 255, 0.22);
}

[data-theme="dark"] .badge.bg-light {
    background: rgba(255, 255, 255, 0.12) !important;
    color: var(--astro-text) !important;
}

[data-theme="dark"] .answer-reference-panel {
    background: rgba(19, 12, 31, 0.96);
    border-color: rgba(243, 188, 103, 0.32);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.02);
}

[data-theme="dark"] .answer-reference-title {
    background: #1a1028;
    color: #ffe0b2;
}

[data-theme="dark"] .answer-reference-title i {
    color: #f3bc67;
}

[data-theme="dark"] .answer-reference-body {
    color: #f3ecff;
}

[data-theme="dark"] .answer-review-notice {
    border-color: rgba(243, 188, 103, 0.18);
    background:
        radial-gradient(circle at top right, rgba(245, 191, 45, 0.12), transparent 34%),
        linear-gradient(180deg, rgba(38, 24, 58, 0.96), rgba(25, 16, 40, 0.98));
    box-shadow: 0 18px 34px rgba(0, 0, 0, 0.24);
}

[data-theme="dark"] .answer-review-notice__icon {
    background: linear-gradient(135deg, rgba(255, 211, 140, 0.14), rgba(124, 77, 255, 0.16));
    color: #ffd38c;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

[data-theme="dark"] .answer-review-notice__eyebrow {
    color: #ffe0b2;
}

[data-theme="dark"] .answer-review-notice__text {
    color: #f3ecff;
}

[data-theme="dark"] .answer-review-notice--pending {
    background:
        radial-gradient(circle at top right, rgba(124, 77, 255, 0.12), transparent 34%),
        linear-gradient(180deg, rgba(36, 23, 55, 0.96), rgba(23, 15, 36, 0.98));
}

[data-theme="dark"] .answer-review-notice--pending .answer-review-notice__icon,
[data-theme="dark"] .answer-review-notice--pending .answer-review-notice__eyebrow {
    color: #d8c9f5;
}

[data-theme="dark"] .question-meta-jyotishi__button {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.08);
    color: #fff1d6;
}

[data-theme="dark"] .question-meta-jyotishi__button:hover,
[data-theme="dark"] .question-meta-jyotishi__button:focus {
    background: rgba(255, 255, 255, 0.08);
    color: #fff1d6;
}

[data-theme="dark"] .support-panel {
    background:
        radial-gradient(circle at top right, rgba(245, 191, 45, 0.1), transparent 26%),
        linear-gradient(180deg, rgba(35, 23, 53, 0.96), rgba(22, 14, 34, 0.98));
    border-color: rgba(255, 255, 255, 0.08);
}

[data-theme="dark"] .question-customer-meta__item {
    background: rgba(255, 255, 255, 0.03);
    border-color: rgba(243, 188, 103, 0.12);
}

[data-theme="dark"] .question-customer-meta__label {
    color: #e6c58e;
}

[data-theme="dark"] .question-customer-meta__value {
    color: #f3ecff;
}

[data-theme="dark"] .question-customer-meta__value details[open] > .profile-audit-badge__panel,
[data-theme="dark"] #adminUserProfileModal .profile-summary-row__value details[open] > .profile-audit-badge__panel {
    background: rgba(33, 20, 46, 0.96);
    color: #f6ecff;
    border: 1px solid rgba(214, 184, 255, 0.18);
    box-shadow: 0 18px 36px rgba(0, 0, 0, 0.42);
}

[data-theme="dark"] .question-body-reference__eyebrow {
    background: linear-gradient(135deg, rgba(243, 188, 103, 0.18), rgba(113, 70, 173, 0.24));
    color: #ffe3af;
}

[data-theme="dark"] .question-kundali-card {
    border-color: rgba(243, 188, 103, 0.16);
    background:
        radial-gradient(circle at top right, rgba(243, 188, 103, 0.12), transparent 32%),
        linear-gradient(180deg, rgba(38, 24, 58, 0.98), rgba(24, 16, 39, 0.98));
    box-shadow: 0 18px 34px rgba(0, 0, 0, 0.22);
}

[data-theme="dark"] .question-kundali-card__badge {
    background: rgba(255, 255, 255, 0.08);
    color: #ead6ff;
}

[data-theme="dark"] .question-kundali-card__name,
[data-theme="dark"] .question-kundali-card__value,
[data-theme="dark"] .question-kundali-note__body {
    color: #f3ecff;
}

[data-theme="dark"] .question-kundali-card__field {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(243, 188, 103, 0.12);
}

[data-theme="dark"] .question-kundali-card__label {
    color: #d6c1ef;
}

[data-theme="dark"] .question-kundali-note {
    background:
        linear-gradient(180deg, rgba(58, 45, 24, 0.82), rgba(41, 29, 16, 0.88));
    border-color: rgba(243, 188, 103, 0.18);
}

[data-theme="dark"] .question-kundali-note__label {
    color: #ffd38c;
}

[data-theme="dark"] .customer-answer-report__note {
    color: rgba(243, 236, 255, 0.88);
}

[data-theme="dark"] .customer-answer-report__support {
    background: linear-gradient(180deg, rgba(28, 49, 45, 0.98), rgba(21, 37, 35, 0.98));
    border-color: rgba(143, 190, 173, 0.22);
}

[data-theme="dark"] .customer-answer-report__support-copy,
[data-theme="dark"] .customer-answer-report__support-item,
[data-theme="dark"] .customer-answer-report__support-item i {
    color: #eefaf5 !important;
}

[data-theme="dark"] .customer-answer-report__support-copy {
    border-bottom-color: rgba(143, 190, 173, 0.2);
}

[data-theme="dark"] .customer-answer-report__support-item:hover,
[data-theme="dark"] .customer-answer-report__support-item:focus {
    color: #c9f3e2 !important;
}

[data-theme="dark"] .verification-pending-card__lead,
[data-theme="dark"] .verification-pending-card__footnote {
    color: rgba(243, 236, 255, 0.82) !important;
}

[data-theme="dark"] .verification-pending-card__alert {
    background: rgba(117, 74, 31, 0.42);
    border-color: rgba(255, 209, 122, 0.2);
    color: #ffe7ba;
}

[data-theme="dark"] .verification-pending-card__label {
    color: #f3ecff;
}

[data-theme="dark"] .verification-pending-card__linkbox {
    background: rgba(30, 20, 43, 0.92);
    border-color: rgba(255, 255, 255, 0.12);
    color: #f7f0ff;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.02);
}

[data-theme="dark"] .verification-pending-card__secondary-btn {
    background: rgba(255, 255, 255, 0.02);
    border-color: rgba(255, 255, 255, 0.16);
    color: #f3ecff;
}

[data-theme="dark"] .verification-pending-card__secondary-btn:hover,
[data-theme="dark"] .verification-pending-card__secondary-btn:focus {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.24);
    color: #ffffff;
}

[data-theme="dark"] .jyotishi-customer-history__item {
    background: linear-gradient(180deg, rgba(20, 24, 34, 0.98), rgba(15, 18, 28, 0.98));
    border-color: rgba(255, 255, 255, 0.08);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.22);
}

[data-theme="dark"] .jyotishi-customer-history__meta-item {
    background: rgba(255, 255, 255, 0.035);
    border-color: rgba(255, 255, 255, 0.06);
    box-shadow: none;
}

[data-theme="dark"] .jyotishi-customer-history__meta-divider {
    background: rgba(255, 255, 255, 0.08);
}

[data-theme="dark"] .jyotishi-customer-history__meta-icon {
    background: rgba(243, 188, 103, 0.12);
    color: #f3bc67;
}

[data-theme="dark"] .jyotishi-customer-history__meta-label {
    color: #9fb8d4;
}

[data-theme="dark"] .jyotishi-customer-history__tag {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.08);
    color: #d6deea;
}

[data-theme="dark"] .jyotishi-customer-history__tag strong {
    background: rgba(255, 255, 255, 0.1);
    color: #eef4ff;
}

[data-theme="dark"] .jyotishi-customer-history__tag.is-active {
    color: #fff;
    background: #294766;
    border-color: #294766;
}

[data-theme="dark"] .jyotishi-customer-history__empty {
    background: rgba(255, 255, 255, 0.03);
    border-color: rgba(255, 255, 255, 0.08);
}

[data-theme="dark"] .jyotishi-customer-history__eyebrow {
    color: #dbe6f5;
}

[data-theme="dark"] .jyotishi-customer-history__eyebrow span,
[data-theme="dark"] .jyotishi-customer-history__meta {
    color: rgba(243, 236, 255, 0.72);
}

[data-theme="dark"] .jyotishi-customer-history__eyebrow span {
    background: rgba(255, 255, 255, 0.06);
}

[data-theme="dark"] .jyotishi-customer-history__title,
[data-theme="dark"] .jyotishi-customer-history__meta-value,
[data-theme="dark"] .jyotishi-customer-history__section-body {
    color: #f3ecff;
}

[data-theme="dark"] .jyotishi-customer-history__status.text-bg-success {
    background: rgba(34, 197, 94, 0.16) !important;
    color: #86efac !important;
}

[data-theme="dark"] .jyotishi-customer-history__status.text-bg-warning {
    background: rgba(245, 158, 11, 0.16) !important;
    color: #fcd34d !important;
}

[data-theme="dark"] .jyotishi-customer-history__status.text-bg-danger {
    background: rgba(239, 68, 68, 0.16) !important;
    color: #fca5a5 !important;
}

[data-theme="dark"] .jyotishi-customer-history__status.text-bg-secondary,
[data-theme="dark"] .jyotishi-customer-history__status.text-bg-info,
[data-theme="dark"] .jyotishi-customer-history__status.text-bg-review {
    background: rgba(148, 163, 184, 0.14) !important;
    color: #dbeafe !important;
}

[data-theme="dark"] .jyotishi-customer-history__section-label {
    color: #9fb8d4;
}

[data-theme="dark"] .jyotishi-history-table tbody tr.is-active > * {
    background: rgba(243, 188, 103, 0.08);
}

[data-theme="dark"] .jyotishi-history-pill,
[data-theme="dark"] .jyotishi-history-chip,
[data-theme="dark"] .jyotishi-history-group__label span,
[data-theme="dark"] .jyotishi-history-card__section-body {
    background: rgba(255, 255, 255, 0.05);
    color: #f3ecff;
}

[data-theme="dark"] .jyotishi-history-chip--soft {
    background: rgba(243, 188, 103, 0.14);
    color: #f6d39d;
}

[data-theme="dark"] .jyotishi-history-card {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.02));
    border-color: rgba(243, 188, 103, 0.14);
    box-shadow: 0 18px 36px rgba(0, 0, 0, 0.26);
}

[data-theme="dark"] .jyotishi-history-card__title,
[data-theme="dark"] .jyotishi-history-card__meta strong,
[data-theme="dark"] .jyotishi-history-summary__name,
[data-theme="dark"] .jyotishi-history-summary__value,
[data-theme="dark"] .jyotishi-history-empty strong {
    color: #f3ecff;
}

[data-theme="dark"] .jyotishi-history-customer__meta,
[data-theme="dark"] .jyotishi-history-summary__contact,
[data-theme="dark"] .jyotishi-history-summary__label,
[data-theme="dark"] .jyotishi-history-card__meta,
[data-theme="dark"] .jyotishi-history-empty,
[data-theme="dark"] .jyotishi-history-table thead th {
    color: rgba(243, 236, 255, 0.72);
}

[data-theme="dark"] .jyotishi-history-card__section-title {
    color: #f3bc67;
}

[data-theme="dark"] .jyotishi-history-table td,
[data-theme="dark"] .jyotishi-history-customer__name,
[data-theme="dark"] .jyotishi-history-pill [data-nepali-datetime],
[data-theme="dark"] .jyotishi-history-card__meta [data-nepali-datetime],
[data-theme="dark"] .jyotishi-history-table [data-nepali-datetime] {
    color: #f3ecff;
}

[data-theme="dark"] .jyotishi-history-summary {
    background: var(--surface-bg);
    border-color: rgba(243, 188, 103, 0.14);
}

[data-theme="dark"] .jyotishi-history-summary__row {
    border-bottom-color: rgba(243, 188, 103, 0.12);
}

[data-theme="dark"] .jyotishi-history-summary__icon {
    background: rgba(243, 188, 103, 0.12);
    color: #f3bc67;
}

[data-theme="dark"] .jyotishi-history-empty {
    border-color: rgba(243, 188, 103, 0.16);
    background: rgba(255, 255, 255, 0.03);
}

[data-theme="dark"] .answer-editor-textarea,
[data-theme="dark"] .answer-editor-textarea:focus {
    color: #f3ecff;
    background: transparent;
}

[data-theme="dark"] .answer-editor-textarea::placeholder {
    color: rgba(243, 236, 255, 0.5);
}

[data-theme="dark"] .answer-reference-attachments .btn-light {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.16);
    color: #f7f1ff;
}

[data-theme="dark"] .answer-reference-attachments .btn-light:hover,
[data-theme="dark"] .answer-reference-attachments .btn-light:focus {
    background: rgba(255, 255, 255, 0.14);
    border-color: rgba(255, 255, 255, 0.24);
    color: #ffffff;
}

[data-theme="dark"] .user-rating-card,
[data-theme="dark"] .jyotishi-rating-month-card,
[data-theme="dark"] .jyotishi-rating-list__item {
    background:
        radial-gradient(circle at top right, rgba(243, 188, 103, 0.08), transparent 28%),
        linear-gradient(180deg, rgba(31, 21, 47, 0.98), rgba(18, 12, 28, 0.98));
    border-color: rgba(243, 188, 103, 0.14);
    box-shadow: 0 18px 34px rgba(0, 0, 0, 0.24);
}

[data-theme="dark"] .jyotishi-rating-month-card.is-active {
    background:
        radial-gradient(circle at top right, rgba(243, 188, 103, 0.12), transparent 32%),
        linear-gradient(180deg, rgba(62, 36, 92, 0.98), rgba(24, 14, 36, 0.98));
    border-color: rgba(216, 171, 255, 0.26);
}

[data-theme="dark"] .user-rating-card__label,
[data-theme="dark"] .jyotishi-rating-month-card__label,
[data-theme="dark"] .jyotishi-rating-month-card__meta,
[data-theme="dark"] .jyotishi-rating-summary__meta span,
[data-theme="dark"] .jyotishi-rating-list__meta,
[data-theme="dark"] .jyotishi-rating-list__empty {
    color: rgba(243, 236, 255, 0.72);
}

[data-theme="dark"] .jyotishi-rating-month-card__value,
[data-theme="dark"] .jyotishi-rating-summary__meta strong,
[data-theme="dark"] .jyotishi-rating-list__title,
[data-theme="dark"] .jyotishi-rating-list__score,
[data-theme="dark"] .jyotishi-rating-list__body {
    color: #f7ecff;
}

[data-theme="dark"] .jyotishi-rating-list__empty {
    background: rgba(255, 255, 255, 0.03);
    border-color: rgba(243, 188, 103, 0.14);
}

[data-theme="dark"] .jyotishi-earnings-log__footer {
    background: linear-gradient(180deg, rgba(34, 54, 45, 0.96), rgba(24, 40, 34, 0.98));
    border-top-color: rgba(143, 190, 173, 0.2);
    box-shadow: 0 -14px 28px rgba(0, 0, 0, 0.26);
}

[data-theme="dark"] .jyotishi-earnings-log__footer-label,
[data-theme="dark"] .jyotishi-earnings-log__footer-amount {
    color: #eefaf5;
}

[data-theme="dark"] .jyotishi-earnings-log__footer-note {
    color: rgba(238, 250, 245, 0.8);
}

[data-theme="dark"] .jyotishi-earnings-log__footer--highlight {
    background:
        radial-gradient(circle at top left, rgba(243, 188, 103, 0.16), transparent 34%),
        linear-gradient(135deg, rgba(73, 55, 19, 0.96) 0%, rgba(56, 39, 11, 0.98) 46%, rgba(42, 29, 8, 0.99) 100%);
    border-top-color: rgba(243, 188, 103, 0.24);
    box-shadow: 0 -16px 30px rgba(0, 0, 0, 0.28);
}

[data-theme="dark"] .jyotishi-earnings-log__footer--highlight .jyotishi-earnings-log__footer-label {
    color: #ffe8b5;
}

[data-theme="dark"] .jyotishi-earnings-log__footer--highlight .jyotishi-earnings-log__footer-note {
    color: rgba(255, 236, 194, 0.82);
}

[data-theme="dark"] .jyotishi-earnings-log__footer--highlight .jyotishi-earnings-log__footer-amount {
    color: #ffd36b;
}

[data-theme="dark"] .question-meta-card {
    background:
        radial-gradient(circle at top right, rgba(255, 199, 37, 0.14), transparent 30%),
        linear-gradient(180deg, rgba(38, 22, 57, 0.98), rgba(27, 15, 43, 0.96));
    border-color: rgba(243, 188, 103, 0.16);
}

[data-theme="dark"] .question-meta-item {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(243, 188, 103, 0.12);
    box-shadow: none;
}

[data-theme="dark"] .question-meta-item__icon {
    background: rgba(243, 188, 103, 0.12);
    color: #ffd89f;
}

[data-theme="dark"] .question-meta-card__header-icon {
    background: linear-gradient(135deg, rgba(255, 199, 37, 0.2), rgba(210, 164, 255, 0.16));
    color: #ffd89f;
}

[data-theme="dark"] .question-meta-item__label {
    color: #d7c4f1;
}

[data-theme="dark"] .question-meta-item__value,
[data-theme="dark"] .question-meta-jyotishi__name,
[data-theme="dark"] .question-meta-jyotishi-profile h5,
[data-theme="dark"] .question-meta-jyotishi-profile p,
[data-theme="dark"] .question-meta-jyotishi-profile span,
[data-theme="dark"] .question-meta-jyotishi-profile strong {
    color: #f6efe5;
}

[data-theme="dark"] .question-meta-jyotishi__designation,
[data-theme="dark"] .question-meta-jyotishi-profile__detail,
[data-theme="dark"] .question-meta-jyotishi-profile__bio {
    color: rgba(232, 221, 244, 0.84);
}

[data-theme="dark"] .question-meta-card__amount {
    box-shadow: 0 18px 28px rgba(0, 0, 0, 0.24);
}

[data-theme="dark"] .question-meta-jyotishi {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.03));
    border-color: rgba(243, 188, 103, 0.12);
    box-shadow: none;
}

[data-theme="dark"] .question-meta-jyotishi__avatar,
[data-theme="dark"] .question-meta-jyotishi-profile__avatar {
    border-color: rgba(243, 188, 103, 0.22);
    background: rgba(243, 188, 103, 0.08);
}

[data-theme="dark"] .question-meta-jyotishi-profile {
    background:
        radial-gradient(circle at top right, rgba(255, 199, 37, 0.12), transparent 32%),
        linear-gradient(180deg, rgba(38, 22, 57, 0.98), rgba(27, 15, 43, 0.96));
    border-color: rgba(243, 188, 103, 0.16);
    box-shadow: 0 18px 28px rgba(0, 0, 0, 0.22);
}

[data-theme="dark"] .astrologer-profile-modal {
    color: #f6efe5;
    background:
        radial-gradient(circle at top right, rgba(255, 199, 37, 0.14), transparent 28%),
        radial-gradient(circle at left center, rgba(124, 74, 196, 0.2), transparent 34%),
        linear-gradient(180deg, rgba(45, 26, 67, 0.99), rgba(26, 14, 42, 0.98));
    box-shadow: 0 34px 70px rgba(0, 0, 0, 0.4);
}

[data-theme="dark"] .astrologer-profile-modal__header {
    border-bottom-color: rgba(243, 188, 103, 0.14);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0.04));
}

[data-theme="dark"] .astrologer-profile-modal__header .small,
[data-theme="dark"] .astrologer-profile-modal__header .modal-title {
    color: #f6efe5 !important;
}

[data-theme="dark"] .astrologer-profile-modal__header .btn-close {
    background-color: rgba(255, 255, 255, 0.16);
    box-shadow:
        0 10px 24px rgba(0, 0, 0, 0.24),
        inset 0 0 0 1px rgba(243, 188, 103, 0.2);
    filter: invert(1) grayscale(1);
}

[data-theme="dark"] .question-meta-jyotishi-profile__detail strong {
    color: #ffd89f;
}

[data-theme="dark"] .question-meta-jyotishi-profile__content h5 {
    color: #fff7ec;
}

[data-theme="dark"] .question-meta-jyotishi-profile__content [data-user-question-jyotishi-profile-designation] {
    background: rgba(255, 216, 159, 0.14);
    color: #ffe7bd !important;
}

[data-theme="dark"] .question-meta-jyotishi-profile__detail {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.06));
    border-color: rgba(243, 188, 103, 0.2);
    box-shadow:
        0 14px 26px rgba(0, 0, 0, 0.18),
        inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

[data-theme="dark"] .question-meta-jyotishi-profile__detail--specialization span,
[data-theme="dark"] .question-meta-jyotishi-profile__detail--experience span {
    color: #fff4dd;
}

[data-theme="dark"] .question-meta-jyotishi-profile__bio {
    background: linear-gradient(180deg, rgba(255, 216, 159, 0.1), rgba(255, 255, 255, 0.05));
    border-color: rgba(243, 188, 103, 0.18);
    color: #f6efe5;
}

[data-theme="dark"] #userQuestionDetailModal .question-meta-card,
[data-theme="dark"] #paymentRecordDetailModal .question-meta-card {
    background:
        radial-gradient(circle at top right, rgba(255, 199, 37, 0.14), transparent 30%),
        linear-gradient(180deg, rgba(38, 22, 57, 0.98), rgba(27, 15, 43, 0.96));
    box-shadow: 0 22px 44px rgba(0, 0, 0, 0.24);
}

[data-theme="dark"] #userQuestionDetailModal .question-meta-item,
[data-theme="dark"] #paymentRecordDetailModal .question-meta-item {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(243, 188, 103, 0.12);
    box-shadow: none;
}

[data-theme="dark"] #userQuestionDetailModal .question-meta-item--jyotishi,
[data-theme="dark"] #paymentRecordDetailModal .question-meta-item--jyotishi {
    background: transparent;
}

[data-theme="dark"] #userQuestionDetailModal .question-meta-jyotishi,
[data-theme="dark"] #paymentRecordDetailModal .question-meta-jyotishi {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.03));
    border-color: rgba(243, 188, 103, 0.12);
    box-shadow: none;
}

[data-theme="dark"] #userQuestionDetailModal .question-meta-item__label,
[data-theme="dark"] #paymentRecordDetailModal .question-meta-item__label,
[data-theme="dark"] #userQuestionDetailModal .small.text-muted,
[data-theme="dark"] #paymentRecordDetailModal .small.text-muted {
    color: #d7c4f1 !important;
}

[data-theme="dark"] #userQuestionDetailModal .question-meta-item__value,
[data-theme="dark"] #paymentRecordDetailModal .question-meta-item__value,
[data-theme="dark"] #userQuestionDetailModal .question-meta-jyotishi__name,
[data-theme="dark"] #paymentRecordDetailModal .question-meta-jyotishi__name,
[data-theme="dark"] #userQuestionDetailModal [data-user-question-modal-subject],
[data-theme="dark"] #userQuestionDetailModal [data-user-question-modal-created],
[data-theme="dark"] #paymentRecordDetailModal [data-payment-modal-invoice],
[data-theme="dark"] #paymentRecordDetailModal [data-payment-modal-method],
[data-theme="dark"] #paymentRecordDetailModal [data-payment-modal-created] {
    color: #f6efe5 !important;
}

[data-theme="dark"] #userQuestionDetailModal .question-meta-card h4,
[data-theme="dark"] #paymentRecordDetailModal .question-meta-card h4,
[data-theme="dark"] #userQuestionDetailModal .question-meta-jyotishi__designation,
[data-theme="dark"] #paymentRecordDetailModal .question-meta-jyotishi__designation {
    color: rgba(232, 221, 244, 0.88);
}

[data-theme="dark"] .payment-record-detail-card__reason {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 255, 255, 0.08);
}

[data-theme="dark"] .payment-confirm-modal__icon {
    background: rgba(255, 255, 255, 0.08);
    color: #f5d58a;
}

[data-theme="dark"] .payment-confirm-modal__summary {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 255, 255, 0.08);
}

[data-theme="dark"] .jyotishi-floating-timer {
    border-color: rgba(243, 188, 103, 0.14);
    background:
        radial-gradient(circle at top right, rgba(245, 191, 45, 0.18), transparent 32%),
        linear-gradient(180deg, rgba(38, 22, 57, 0.96), rgba(27, 15, 43, 0.96));
    box-shadow: 0 24px 40px rgba(0, 0, 0, 0.28);
}

[data-theme="dark"] .jyotishi-floating-timer__countdown {
    background: linear-gradient(180deg, #f0c33c 0%, #d9a726 100%);
    color: #2b1500;
}

[data-theme="dark"] .jyotishi-floating-timer__countdown-label,
[data-theme="dark"] .jyotishi-floating-timer__countdown-suffix {
    color: #4f2f00;
}

[data-theme="dark"] .jyotishi-floating-timer__countdown-value {
    color: #8b0000;
}

[data-theme="dark"] .jyotishi-question-modal-body {
    background: rgba(255, 255, 255, 0.02);
}

[data-theme="dark"] .bg-white,
[data-theme="dark"] .bg-light,
[data-theme="dark"] .content-card.bg-white,
[data-theme="dark"] .content-card.bg-light {
    background: var(--surface-strong) !important;
}

[data-theme="dark"] .hero-card .content-card,
[data-theme="dark"] .metric-card,
[data-theme="dark"] .astro-card,
[data-theme="dark"] .content-card {
    box-shadow: 0 18px 44px rgba(0, 0, 0, 0.28);
}

[data-theme="dark"] .admin-live-map-card__stat,
[data-theme="dark"] .admin-live-country-chip,
[data-theme="dark"] .admin-live-activity-item,
[data-theme="dark"] .admin-live-map-card__empty,
[data-theme="dark"] .admin-live-activity-empty,
[data-theme="dark"] .admin-live-country-summary__empty {
    background: linear-gradient(160deg, rgba(26, 26, 39, 0.96), rgba(16, 16, 26, 0.98));
    border-color: rgba(255, 255, 255, 0.08);
    color: var(--astro-text);
}

[data-theme="dark"] .admin-live-map-card__surface {
    background:
        radial-gradient(circle at 20% 15%, rgba(245, 191, 45, 0.2), transparent 28%),
        radial-gradient(circle at 85% 20%, rgba(148, 92, 255, 0.18), transparent 26%),
        linear-gradient(140deg, rgba(24, 24, 36, 0.98), rgba(14, 14, 24, 0.98));
    border-color: rgba(255, 255, 255, 0.08);
}

[data-theme="dark"] .admin-live-map-card__visual {
    background: #0f1320;
    border-color: rgba(112, 134, 182, 0.14);
}

[data-theme="dark"] .admin-live-map-card__canvas .leaflet-container {
    background: #0f1320;
    outline: none;
}

[data-theme="dark"] .admin-live-map-card__canvas .leaflet-tile {
    filter: brightness(1.14) contrast(0.9) saturate(0.86);
}

[data-theme="dark"] .admin-live-map-card__canvas .leaflet-control-attribution {
    background: rgba(17, 24, 39, 0.84);
    color: rgba(226, 232, 240, 0.88);
}

[data-theme="dark"] .admin-live-map-card__canvas .leaflet-control-attribution a {
    color: #7dd3fc;
}

[data-theme="dark"] .stats-strip .stat-box,
[data-theme="dark"] .filter-chip,
[data-theme="dark"] .badge-soft,
[data-theme="dark"] .astro-card .price-chip,
[data-theme="dark"] .ask-summary-panel,
[data-theme="dark"] .selection-chip {
    background: rgba(255, 255, 255, 0.06);
    color: var(--astro-text);
    border-color: var(--astro-border);
}

[data-theme="dark"] .ask-category-body {
    background: var(--surface-strong);
}

[data-theme="dark"] .ask-category-option.is-selected .ask-category-body,
[data-theme="dark"] .ask-category-option input:checked + .ask-category-body {
    background:
        linear-gradient(135deg, rgba(255, 199, 37, 0.18), rgba(255, 255, 255, 0.04)),
        #261537;
    border-color: rgba(255, 199, 37, 0.82);
    box-shadow: 0 20px 34px rgba(255, 199, 37, 0.18);
}

[data-theme="dark"] .ask-category-option.is-selected .ask-category-icon,
[data-theme="dark"] .ask-category-option input:checked + .ask-category-body .ask-category-icon {
    background: linear-gradient(135deg, #ffd38c, #ffc725);
    color: #35144f;
}

[data-theme="dark"] .ask-category-option.is-selected .ask-category-copy strong,
[data-theme="dark"] .ask-category-option input:checked + .ask-category-body .ask-category-copy strong,
[data-theme="dark"] .ask-category-option.is-selected .ask-category-price,
[data-theme="dark"] .ask-category-option input:checked + .ask-category-body .ask-category-price {
    color: #ffe0b2;
}

[data-theme="dark"] .ask-category-option.is-selected .ask-category-copy small,
[data-theme="dark"] .ask-category-option input:checked + .ask-category-body .ask-category-copy small {
    color: rgba(255, 230, 190, 0.88);
}

[data-theme="dark"] .ask-category-option.is-selected .ask-category-price,
[data-theme="dark"] .ask-category-option input:checked + .ask-category-body .ask-category-price {
    background: rgba(240, 181, 95, 0.18);
}

[data-theme="dark"] .ask-category-option.is-disabled .ask-category-copy strong,
[data-theme="dark"] .ask-category-option.is-disabled .ask-category-copy small {
    color: rgba(222, 215, 238, 0.7);
}

[data-theme="dark"] .ask-payment-method-option__status {
    background: rgba(255, 255, 255, 0.1);
    color: rgba(240, 235, 250, 0.86);
}

[data-theme="dark"] .ask-category-cta-panel {
    background: transparent;
}

[data-theme="dark"] .kundali-person-card {
    background:
        linear-gradient(180deg, rgba(38, 25, 58, 0.96), rgba(27, 18, 43, 0.98)),
        #1d142c;
    border-color: rgba(255, 214, 121, 0.16) !important;
    box-shadow: 0 18px 34px rgba(0, 0, 0, 0.22);
}

[data-theme="dark"] .kundali-person-card .form-label,
[data-theme="dark"] .kundali-person-card .h6,
[data-theme="dark"] .kundali-person-card .fw-bold,
[data-theme="dark"] .kundali-person-card strong,
[data-theme="dark"] .kundali-person-card span:not(.profile-radio-option span):not(.birth-time-picker__slot) {
    color: rgba(247, 242, 255, 0.96);
}

[data-theme="dark"] .kundali-person-card__subtitle {
    color: rgba(210, 197, 232, 0.78);
}

[data-theme="dark"] .kundali-person-card__header {
    border-color: rgba(255, 255, 255, 0.08);
}

[data-theme="dark"] .kundali-person-card--male .kundali-person-card__header {
    background: linear-gradient(135deg, rgba(74, 134, 232, 0.24), rgba(255, 255, 255, 0.06));
}

[data-theme="dark"] .kundali-person-card--female .kundali-person-card__header {
    background: linear-gradient(135deg, rgba(237, 101, 157, 0.26), rgba(255, 255, 255, 0.06));
}

[data-theme="dark"] .ready-question-picker__title {
    color: rgba(255, 244, 232, 0.96);
}

[data-theme="dark"] .ready-question-picker__subtitle {
    color: rgba(247, 242, 255, 0.94);
    border-color: rgba(255, 199, 37, 0.18);
    background:
        linear-gradient(180deg, rgba(45, 32, 62, 0.96), rgba(29, 21, 42, 0.98)),
        linear-gradient(135deg, rgba(245, 191, 45, 0.08), rgba(80, 23, 128, 0.08));
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.2);
}

[data-theme="dark"] .ready-question-picker__chip {
    border-color: rgba(255, 255, 255, 0.08);
    background:
        linear-gradient(180deg, rgba(39, 27, 58, 0.96), rgba(29, 19, 45, 0.96)),
        linear-gradient(135deg, rgba(255, 199, 37, 0.08), rgba(255, 255, 255, 0.02));
    color: rgba(255, 245, 236, 0.94);
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.22);
}

[data-theme="dark"] .ready-question-picker__chip:hover,
[data-theme="dark"] .ready-question-picker__chip:focus,
[data-theme="dark"] .ready-question-picker__chip:has(input:focus-visible) {
    border-color: rgba(255, 199, 37, 0.36);
    box-shadow: 0 18px 32px rgba(0, 0, 0, 0.28);
}

[data-theme="dark"] .ready-question-picker__chip.is-active,
[data-theme="dark"] .ready-question-picker__chip:has(input:checked) {
    border-color: rgba(255, 199, 37, 0.68);
    background:
        linear-gradient(135deg, rgba(255, 199, 37, 0.18), rgba(255, 255, 255, 0.04)),
        #261537;
    color: #fff7ea;
    box-shadow: 0 18px 34px rgba(255, 199, 37, 0.14);
}

[data-theme="dark"] .ready-question-picker__chip-index {
    color: #ffd38c;
}

[data-theme="dark"] .ready-question-picker__chip-check {
    background: rgba(255, 211, 140, 0.16);
    color: #ffd38c;
}

[data-theme="dark"] .ask-santan-flow__block {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 255, 255, 0.08);
}

[data-theme="dark"] .ask-santan-panel {
    background:
        radial-gradient(circle at top right, rgba(255, 196, 70, 0.09), transparent 24%),
        linear-gradient(180deg, rgba(29, 19, 45, 0.98), rgba(20, 14, 33, 0.98));
    border-color: rgba(255, 255, 255, 0.08);
}

[data-theme="dark"] .ask-santan-flow__header h3,
[data-theme="dark"] .ask-santan-flow__block h4,
[data-theme="dark"] .ask-santan-flow .form-label {
    color: rgba(247, 242, 255, 0.96);
}

[data-theme="dark"] .ask-santan-flow .text-muted,
[data-theme="dark"] .ask-santan-flow__hint {
    color: rgba(210, 197, 232, 0.82) !important;
}

[data-theme="dark"] .ask-santan-flow__hint {
    background: rgba(255, 199, 37, 0.12);
    border-color: rgba(255, 199, 37, 0.16);
}

[data-theme="dark"] .ask-santan-flow .form-control,
[data-theme="dark"] .ask-santan-flow .form-select {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.1);
    color: rgba(247, 242, 255, 0.96);
}

[data-theme="dark"] .ask-santan-flow .form-control::placeholder {
    color: rgba(210, 197, 232, 0.62);
}

[data-theme="dark"] .ask-santan-flow .birth-time-picker__slot {
    color: rgba(247, 242, 255, 0.9);
}

.ask-santan-child-birth-grid .birth-time-picker__slot {
    width: 100%;
    justify-content: center;
    margin-top: 0.15rem;
}

.ask-santan-child-birth-grid [data-santan-child-date-converted-label] {
    margin-top: .75rem;
}

.ask-santan-child-birth-details > .profile-radio-group {
    margin-bottom: 1rem;
}

.ask-santan-child-birth-details > .row {
    --bs-gutter-y: .9rem;
}

.ask-santan-child-birth-place {
    margin-top: .35rem;
}

[data-theme="dark"] .profile-radio-option {
    border-color: rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.05);
    box-shadow: none;
}

[data-theme="dark"] .profile-radio-option span {
    color: rgba(247, 242, 255, 0.96);
}

[data-theme="dark"] .profile-radio-option:hover,
[data-theme="dark"] .profile-radio-option:has(input:focus-visible),
[data-theme="dark"] .profile-radio-option:has(input:checked) {
    border-color: rgba(255, 199, 37, 0.42);
    background: rgba(255, 199, 37, 0.14);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.18);
}

[data-theme="dark"] .ask-santan-flow .btn-outline-dark {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.12);
    color: rgba(247, 242, 255, 0.96);
}

[data-theme="dark"] .ask-santan-flow .btn-outline-dark:hover,
[data-theme="dark"] .ask-santan-flow .btn-outline-dark:focus {
    background: rgba(255, 199, 37, 0.12);
    border-color: rgba(255, 199, 37, 0.36);
    color: rgba(255, 248, 236, 0.98);
}

[data-theme="dark"] .ask-santan-child-birth-grid .native-date-input,
[data-theme="dark"] .ask-santan-child-birth-grid .date-dropdown-field__display,
[data-theme="dark"] .ask-santan-child-birth-grid .date-dropdown-field__select,
[data-theme="dark"] .ask-santan-child-birth-grid .ad-date-picker-field__display {
    color: rgba(247, 242, 255, 0.96);
}

@media (max-width: 767.98px) {
    .ask-santan-child-birth-grid > [class*="col-"] {
        width: 100%;
        flex: 0 0 100%;
    }

    .ask-santan-child-birth-grid [data-santan-child-date-group] .profile-dob-group > [class*="col-"] {
        width: 100%;
        flex: 0 0 100%;
    }

    .ask-santan-child-birth-grid [data-santan-child-date-group] .date-dropdown-field {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: .45rem;
    }

    .ask-santan-child-birth-grid [data-santan-child-date-group] .date-dropdown-field__select,
    .ask-santan-child-birth-time .birth-time-picker__field .form-select {
        min-height: 44px;
        padding-left: .8rem;
        padding-right: .8rem;
        font-size: .95rem;
    }

    .ask-santan-child-birth-time {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: .45rem;
        align-items: stretch;
    }

    .ask-santan-child-birth-time .birth-time-picker__field--meridiem {
        grid-column: auto;
    }

    .ask-santan-flow__actions {
        flex-direction: column;
        align-items: stretch;
    }

    .ask-santan-flow__actions .btn {
        width: 100%;
    }
}

[data-theme="dark"] .payment-summary-table-wrap {
    border-color: rgba(255, 255, 255, 0.08);
    background: rgba(15, 23, 42, 0.72);
}

[data-theme="dark"] .payment-total-note {
    background: linear-gradient(135deg, rgba(245, 212, 107, 0.12), rgba(91, 52, 198, 0.18));
    border-color: rgba(245, 212, 107, 0.22);
    color: rgba(247, 242, 255, 0.96);
}

[data-theme="dark"] .payment-total-note strong {
    background: linear-gradient(135deg, #f1c75b, #d89a1f);
    color: #231400;
}

[data-theme="dark"] .payment-summary-table thead th {
    background: rgba(255, 255, 255, 0.08);
    border-bottom-color: rgba(255, 255, 255, 0.08);
}

[data-theme="dark"] .payment-summary-table tbody td {
    color: rgba(247, 242, 255, 0.96);
    border-bottom-color: rgba(255, 255, 255, 0.06);
}

[data-theme="dark"] .payment-summary-table tbody tr:nth-child(even) td {
    background: rgba(255, 255, 255, 0.03);
}

[data-theme="dark"] .payment-summary-table tbody tr:nth-child(odd) td {
    background: rgba(255, 255, 255, 0.015);
}

[data-theme="dark"] .payment-summary-table__payable {
    background: linear-gradient(135deg, #8b5cf6, #6d28d9);
    color: #f8f5ff;
    box-shadow: 0 12px 28px rgba(91, 52, 198, 0.38);
}

[data-theme="dark"] .payment-summary-table__payable--total {
    background: linear-gradient(135deg, #f1c75b, #d89a1f);
    color: #231400;
    box-shadow: 0 12px 28px rgba(216, 154, 31, 0.28);
}

[data-theme="dark"] .payment-summary-table tfoot td {
    color: rgba(255, 248, 236, 0.96);
    border-top-color: rgba(255, 255, 255, 0.1);
    background: linear-gradient(135deg, rgba(245, 212, 107, 0.14), rgba(139, 92, 246, 0.14));
}

[data-theme="dark"] .payment-summary-table tbody td.fw-semibold,
[data-theme="dark"] .payment-summary-table tfoot td.fw-bold,
[data-theme="dark"] .payment-summary-table__total-title {
    color: #ffffff;
}

[data-theme="dark"] .payment-summary-table tbody td::before,
[data-theme="dark"] .payment-summary-table tfoot td::before {
    color: rgba(221, 208, 240, 0.78);
}

[data-theme="dark"] .family-profile-card__name {
    color: #fff3df;
}

[data-theme="dark"] #questionProfilePreviewModal .modal-content {
    border-color: rgba(255, 255, 255, 0.1);
    background:
        radial-gradient(circle at top right, rgba(245, 191, 45, 0.14), transparent 30%),
        linear-gradient(180deg, rgba(38, 26, 55, 0.98), rgba(24, 16, 37, 0.99));
    box-shadow: 0 28px 60px rgba(0, 0, 0, 0.42);
}

[data-theme="dark"] #questionProfilePreviewModal .modal-header .text-muted,
[data-theme="dark"] #questionProfilePreviewModal .profile-preview-modal__body .text-muted {
    color: #d2c2ea !important;
}

[data-theme="dark"] #questionProfilePreviewModal .modal-title,
[data-theme="dark"] #questionProfilePreviewModal [data-question-profile-preview-name-top],
[data-theme="dark"] #questionProfilePreviewModal .profile-summary-row__value {
    color: #fff3df;
}

[data-theme="dark"] #questionProfilePreviewModal .profile-preview-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

[data-theme="dark"] #questionProfilePreviewModal .profile-summary-row__label {
    color: #f7e0a3;
}

[data-theme="dark"] #questionProfilePreviewModal .profile-summary-row__label i {
    color: #ffc725;
}

[data-theme="dark"] #questionProfilePreviewModal .btn-close {
    filter: invert(1) grayscale(1) brightness(200%);
    opacity: 0.9;
}

[data-theme="dark"] #questionProfilePreviewModal .btn-close:hover,
[data-theme="dark"] #questionProfilePreviewModal .btn-close:focus {
    opacity: 1;
}

[data-theme="dark"] .family-profile-card__relation,
[data-theme="dark"] .family-profile-card__toggle-copy .small.text-muted {
    color: #d2c2ea !important;
}

[data-theme="dark"] .account-questions-panel {
    background:
        radial-gradient(circle at top right, rgba(245, 191, 45, 0.14), transparent 28%),
        linear-gradient(180deg, rgba(31, 21, 46, 0.96), rgba(20, 13, 31, 0.98));
    border-color: rgba(255, 255, 255, 0.08);
}

[data-theme="dark"] .account-questions-hero {
    border-color: rgba(255, 255, 255, 0.08);
    background:
        radial-gradient(circle at left top, rgba(245, 191, 45, 0.14), transparent 30%),
        linear-gradient(180deg, rgba(43, 28, 64, 0.94), rgba(28, 18, 44, 0.96));
}

[data-theme="dark"] .account-questions-hero .text-muted,
[data-theme="dark"] .account-questions-subhead__text,
[data-theme="dark"] .account-history-item__summary-cell .text-muted,
[data-theme="dark"] .question-category-stack__en,
[data-theme="dark"] .account-questions-empty .text-muted {
    color: #d2c2ea !important;
}

[data-theme="dark"] .account-questions-stat {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.08);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

[data-theme="dark"] .account-questions-stat__label {
    color: #cdb9ea;
}

[data-theme="dark"] .account-questions-stat__value,
[data-theme="dark"] .account-questions-subhead__title,
[data-theme="dark"] .question-category-stack__np,
[data-theme="dark"] .account-questions-empty h4 {
    color: #fff3df;
}

[data-theme="dark"] .account-questions-table-wrap--panel {
    background: rgba(255, 255, 255, 0.03);
}

[data-theme="dark"] .tooltip {
    --bs-tooltip-bg: rgba(255, 244, 223, 0.98);
    --bs-tooltip-color: #241433;
}

[data-theme="dark"] .tooltip .tooltip-inner {
    background: rgba(255, 244, 223, 0.98);
    color: #241433;
}

[data-theme="dark"] .profile-audit-badge__panel {
    background: rgba(33, 20, 46, 0.96);
    color: #f6ecff;
    border: 1px solid rgba(214, 184, 255, 0.18);
    box-shadow: 0 18px 36px rgba(0, 0, 0, 0.42);
}

[data-theme="dark"] .profile-audit-badge__panel strong {
    color: #d7beff;
}

[data-theme="dark"] .bs-tooltip-top .tooltip-arrow::before,
[data-theme="dark"] .bs-tooltip-auto[data-popper-placement^="top"] .tooltip-arrow::before {
    border-top-color: rgba(255, 244, 223, 0.98);
}

[data-theme="dark"] .bs-tooltip-end .tooltip-arrow::before,
[data-theme="dark"] .bs-tooltip-auto[data-popper-placement^="right"] .tooltip-arrow::before {
    border-right-color: rgba(255, 244, 223, 0.98);
}

[data-theme="dark"] .bs-tooltip-bottom .tooltip-arrow::before,
[data-theme="dark"] .bs-tooltip-auto[data-popper-placement^="bottom"] .tooltip-arrow::before {
    border-bottom-color: rgba(255, 244, 223, 0.98);
}

[data-theme="dark"] .bs-tooltip-start .tooltip-arrow::before,
[data-theme="dark"] .bs-tooltip-auto[data-popper-placement^="left"] .tooltip-arrow::before {
    border-left-color: rgba(255, 244, 223, 0.98);
}

[data-theme="dark"] .account-questions-table {
    --bs-table-bg: transparent;
    --bs-table-color: #f7ecff;
    border-color: rgba(255, 255, 255, 0.08);
}

[data-theme="dark"] .account-questions-table thead th {
    background: linear-gradient(180deg, #4a1f67 0%, #34154b 100%);
    color: #fff4df;
    border-right-color: rgba(255, 255, 255, 0.08);
    border-bottom-color: rgba(255, 255, 255, 0.08);
}

[data-theme="dark"] .account-questions-table-wrap .account-questions-table thead th {
    background: linear-gradient(180deg, #4a1f67 0%, #34154b 100%);
    color: #fff4df;
}

[data-theme="dark"] .account-questions-table tbody td {
    background: rgba(255, 255, 255, 0.02);
    color: #f7ecff;
    border-right-color: rgba(255, 255, 255, 0.08);
    border-bottom-color: rgba(255, 255, 255, 0.08);
}

[data-theme="dark"] .account-questions-table tbody tr:hover td {
    background: rgba(255, 255, 255, 0.045);
}

[data-theme="dark"] .account-question-time-filter__toggle {
    border-color: rgba(255, 255, 255, 0.14);
    background: rgba(255, 255, 255, 0.04);
    color: #fff1d6;
}

[data-theme="dark"] .account-question-time-filter__toggle:hover,
[data-theme="dark"] .account-question-time-filter__toggle:focus {
    background: rgba(255, 255, 255, 0.08);
    color: #fff1d6;
}

[data-theme="dark"] .account-question-time-filter__menu {
    background: #241733;
    border-color: rgba(255, 255, 255, 0.08);
}

[data-theme="dark"] .account-question-time-filter__menu .dropdown-item {
    color: #f7ecff;
}

[data-theme="dark"] .account-question-time-filter__menu .dropdown-item:hover {
    background: rgba(255, 255, 255, 0.06);
}

[data-theme="dark"] .account-history-item__toggle {
    color: #ffd38c;
}

[data-theme="dark"] .ask-question-action-btn,
[data-theme="dark"] .ask-remove-category-btn {
    color: #fff;
}

[data-theme="dark"] .home-category-selectable.is-selected {
    background: linear-gradient(180deg, #ffd465 0%, #efb64f 100%);
    border-color: rgba(240, 181, 95, 0.78);
    box-shadow: 0 22px 34px rgba(240, 181, 95, 0.16);
}

[data-theme="dark"] .admin-question-assignment {
    background:
        radial-gradient(circle at top right, rgba(243, 188, 103, 0.14), transparent 28%),
        linear-gradient(180deg, rgba(31, 21, 46, 0.96), rgba(24, 16, 38, 0.98));
}

[data-theme="dark"] .admin-question-audit-item {
    background:
        radial-gradient(circle at top right, rgba(243, 188, 103, 0.1), transparent 34%),
        linear-gradient(180deg, rgba(31, 21, 46, 0.94), rgba(24, 16, 38, 0.98));
    box-shadow:
        0 14px 28px rgba(7, 4, 14, 0.24),
        inset 0 0 0 1px rgba(255, 255, 255, 0.05);
}

[data-theme="dark"] .admin-question-assignment__select {
    background: rgba(255, 255, 255, 0.05);
}

[data-theme="dark"] .admin-question-modal-header {
    background:
        radial-gradient(circle at top right, rgba(243, 188, 103, 0.16), transparent 28%),
        linear-gradient(180deg, rgba(33, 21, 49, 0.98), rgba(22, 14, 35, 0.98));
}

[data-theme="dark"] .admin-question-modal-header .btn-close {
    background-color: rgba(255, 255, 255, 0.08);
    box-shadow: inset 0 0 0 1px rgba(243, 188, 103, 0.12);
}

[data-theme="dark"] .admin-question-modal-body {
    background:
        linear-gradient(180deg, rgba(40, 24, 59, 0.76), rgba(18, 12, 29, 0) 18rem),
        var(--surface-strong);
}

[data-theme="dark"] .question-workspace__toolbar {
    background:
        radial-gradient(circle at top right, rgba(243, 188, 103, 0.14), transparent 24%),
        linear-gradient(180deg, rgba(24, 16, 38, 0.96), rgba(20, 14, 32, 0.98));
}

[data-theme="dark"] .question-workspace__toolbar-title {
    color: #f6ecff;
}

[data-theme="dark"] .question-workspace__toolbar-eyebrow {
    color: #c9b6df;
}

[data-theme="dark"] .question-workspace__toggle {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(243, 188, 103, 0.14);
    color: #f3ecff;
}

[data-theme="dark"] .question-workspace__toggle.is-active {
    background: linear-gradient(135deg, #295ce6, #4f86ff);
    color: #fff;
}

[data-theme="dark"] .question-workspace__sheet {
    background: rgba(26, 18, 41, 0.98);
    border-color: rgba(243, 188, 103, 0.12);
    box-shadow: 0 22px 44px rgba(0, 0, 0, 0.28);
}

[data-theme="dark"] .question-workspace__sheet-header {
    background: linear-gradient(180deg, rgba(39, 26, 59, 0.94), rgba(24, 16, 38, 0.98));
    border-bottom-color: rgba(243, 188, 103, 0.1);
}

[data-theme="dark"] .question-workspace__sheet-eyebrow {
    color: #d6c1ef;
}

[data-theme="dark"] .question-workspace__sheet-title {
    color: #f3ecff;
}

[data-theme="dark"] .question-workspace__sheet .btn-close,
[data-theme="dark"] .question-workspace__sheet [data-question-workspace-close] {
    background-color: rgba(255, 255, 255, 0.08);
    border-radius: 999px;
    box-shadow: inset 0 0 0 1px rgba(243, 188, 103, 0.12);
    opacity: 1;
}

[data-theme="dark"] .admin-question-summary__card,
[data-theme="dark"] .admin-question-audit-item,
[data-theme="dark"] .admin-question-panel {
    background: rgba(26, 18, 41, 0.96);
    border-color: rgba(243, 188, 103, 0.12);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.22);
}

[data-theme="dark"] .admin-question-summary__card {
    background:
        radial-gradient(circle at top right, rgba(243, 188, 103, 0.12), transparent 32%),
        linear-gradient(180deg, rgba(30, 20, 46, 0.98), rgba(23, 15, 37, 0.98));
}

[data-theme="dark"] .admin-question-summary__title,
[data-theme="dark"] .admin-question-summary__fact-value,
[data-theme="dark"] .admin-question-audit-item__value,
[data-theme="dark"] .admin-question-assignment__current-value,
[data-theme="dark"] .admin-question-assignment__title,
[data-theme="dark"] .admin-question-panel__body--question {
    color: #f3ecff;
}

[data-theme="dark"] .admin-question-summary__eyebrow,
[data-theme="dark"] .admin-question-summary__status-label,
[data-theme="dark"] .admin-question-summary__fact-label,
[data-theme="dark"] .admin-question-audit-item__label,
[data-theme="dark"] .admin-question-assignment__current-label {
    color: #d6c1ef;
}

[data-theme="dark"] .admin-question-summary__status,
[data-theme="dark"] .admin-question-summary__fact,
[data-theme="dark"] .admin-question-assignment__current {
    background: rgba(255, 255, 255, 0.05);
    box-shadow: inset 0 0 0 1px rgba(243, 188, 103, 0.1);
}

[data-theme="dark"] .admin-question-panel__header {
    background: linear-gradient(180deg, rgba(39, 26, 59, 0.94), rgba(24, 16, 38, 0.98));
    border-bottom-color: rgba(243, 188, 103, 0.1);
}

[data-theme="dark"] .admin-question-assignment__text {
    color: #c8b7df;
}

[data-theme="dark"] .admin-question-assignment__submit {
    background: linear-gradient(135deg, #f0b84d, #d88b2f);
    color: #2f1b00;
    box-shadow: 0 16px 30px rgba(216, 139, 47, 0.2);
}

[data-theme="dark"] .admin-question-assignment__icon,
[data-theme="dark"] .admin-question-summary__status-value {
    box-shadow: none;
}

[data-theme="dark"] .admin-question-answer-input {
    background: rgba(255, 214, 153, 0.08);
}

[data-theme="dark"] .admin-question-reassign-remark-input {
    background: rgba(255, 214, 153, 0.06);
}

[data-theme="dark"] .admin-question-action-btn--save:disabled {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.12);
    color: rgba(255, 255, 255, 0.55);
}

[data-theme="dark"] .admin-question-action-btn--complete:disabled {
    background: rgba(115, 169, 255, 0.2);
    border-color: rgba(115, 169, 255, 0.2);
    color: rgba(191, 220, 255, 0.75);
}

[data-theme="dark"] .admin-question-action-btn--reassign:disabled {
    background: rgba(255, 204, 102, 0.16);
    border-color: rgba(255, 204, 102, 0.16);
    color: rgba(255, 222, 154, 0.78);
}

[data-theme="dark"] .panel-topbar,
[data-theme="dark"] .metric-card,
[data-theme="dark"] .dropdown-menu,
[data-theme="dark"] .form-control,
[data-theme="dark"] .form-select {
    box-shadow: none;
}

[data-theme="dark"] .panel-mode-toggle__button {
    background: linear-gradient(135deg, rgba(31, 50, 78, 0.92) 0%, rgba(19, 37, 63, 0.94) 100%);
    color: #e7f1ff;
    border-color: rgba(113, 155, 230, 0.18);
    box-shadow: none;
}

[data-theme="dark"] .panel-mode-toggle__button.is-demo {
    background: linear-gradient(135deg, rgba(93, 52, 9, 0.95) 0%, rgba(74, 40, 8, 0.96) 100%);
    color: #ffe7c2;
    border-color: rgba(245, 158, 11, 0.18);
}

[data-theme="dark"] .panel-mode-toggle__eyebrow {
    color: #9bb7d6;
}

[data-theme="dark"] .settings-social-row {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(243, 188, 103, 0.16);
}

[data-theme="dark"] .settings-social-platform-preview {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(243, 188, 103, 0.14);
}

[data-theme="dark"] .settings-social-platform-preview__icon {
    background: rgba(255, 255, 255, 0.08);
    color: #f3d9ff;
}

[data-theme="dark"] .settings-social-platform-preview__label,
[data-theme="dark"] .settings-field__label {
    color: #f3edf9;
}

[data-theme="dark"] .settings-field__control {
    background: rgba(17, 24, 39, 0.88);
    border-color: rgba(243, 188, 103, 0.16);
    color: #f7f2ff;
}

[data-theme="dark"] .settings-field__control::placeholder {
    color: rgba(243, 237, 249, 0.52);
}

[data-theme="dark"] .settings-social-remove {
    border-color: rgba(255, 122, 145, 0.5);
    color: #ff9aac;
    background: rgba(255, 122, 145, 0.08);
}

[data-theme="dark"] .settings-social-remove:hover,
[data-theme="dark"] .settings-social-remove:focus {
    border-color: rgba(255, 122, 145, 0.7);
    color: #ffd5dc;
    background: rgba(255, 122, 145, 0.16);
}

[data-theme="dark"] .input-group-text {
    background: var(--surface-soft);
}

[data-theme="dark"] .email-validation-hint[data-email-state="valid"] {
    color: #6fe3a3;
}

[data-theme="dark"] .email-validation-hint[data-email-state="invalid"] {
    color: #ff8f9b;
}

[data-theme="dark"] .form-control.email-validation-valid {
    border-color: rgba(111, 227, 163, 0.48);
    box-shadow: 0 0 0 0.16rem rgba(111, 227, 163, 0.14);
}

[data-theme="dark"] .form-control.email-validation-invalid {
    border-color: rgba(255, 143, 155, 0.52);
    box-shadow: 0 0 0 0.16rem rgba(255, 143, 155, 0.14);
}

[data-theme="dark"] select option {
    background: #101728;
    color: #eef3ff;
}

[data-theme="dark"] .text-dark,
[data-theme="dark"] .fw-semibold,
[data-theme="dark"] .fw-bold,
[data-theme="dark"] .h1,
[data-theme="dark"] .h2,
[data-theme="dark"] .h3,
[data-theme="dark"] .h4,
[data-theme="dark"] .h5,
[data-theme="dark"] .h6,
[data-theme="dark"] h1,
[data-theme="dark"] h2,
[data-theme="dark"] h3,
[data-theme="dark"] h4,
[data-theme="dark"] h5,
[data-theme="dark"] h6,
[data-theme="dark"] td,
[data-theme="dark"] th,
[data-theme="dark"] label,
[data-theme="dark"] p,
[data-theme="dark"] div,
[data-theme="dark"] span {
    color: inherit;
}

[data-theme="dark"] .btn-close {
    filter: invert(1) grayscale(100%) brightness(200%);
}

[data-theme="dark"] .home-ask-auth-modal .modal-content {
    box-shadow: 0 1.5rem 3rem rgba(0, 0, 0, 0.42);
}

[data-theme="dark"] .home-ask-auth-modal__icon {
    color: #f3bc67;
    background: linear-gradient(135deg, rgba(243, 188, 103, 0.18), rgba(123, 92, 255, 0.2));
}

[data-theme="dark"] .alert-success,
[data-theme="dark"] .alert-danger,
[data-theme="dark"] .alert-warning {
    border-color: var(--astro-border);
}

[data-theme="dark"] .app-toast {
    background: linear-gradient(145deg, #2b183d 0%, #20122f 48%, #1a1027 100%);
    border-color: rgba(255, 196, 92, 0.18);
    box-shadow: 0 1.5rem 3rem rgba(0, 0, 0, 0.42);
}

[data-theme="dark"] .app-toast__body {
    color: #f9f0ff;
}

[data-theme="dark"] .app-toast--success {
    background: linear-gradient(145deg, #173c2c 0%, #1d4b35 52%, #153625 100%);
    border-color: rgba(74, 200, 130, 0.28);
}

[data-theme="dark"] .app-toast__body .btn-close {
    background-color: rgba(255, 255, 255, 0.12);
}

[data-theme="dark"] .notification-item {
    background: rgba(255, 255, 255, 0.03);
}

[data-theme="dark"] .account-notifications__hero {
    border-color: rgba(255, 255, 255, 0.08);
    background:
        radial-gradient(circle at top right, rgba(245, 191, 45, 0.14), transparent 24%),
        radial-gradient(circle at bottom left, rgba(124, 58, 237, 0.16), transparent 28%),
        linear-gradient(135deg, rgba(21, 26, 41, 0.94), rgba(15, 23, 42, 0.96));
}

[data-theme="dark"] .account-notification-stat {
    border-color: rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.04);
    box-shadow: none;
}

[data-theme="dark"] .account-notifications__empty {
    border-color: rgba(255, 255, 255, 0.12);
    background: linear-gradient(180deg, rgba(21, 26, 41, 0.92), rgba(15, 23, 42, 0.96));
}

[data-theme="dark"] .account-notification-card {
    border-color: rgba(255, 255, 255, 0.08);
    background: linear-gradient(180deg, rgba(21, 26, 41, 0.96), rgba(15, 23, 42, 0.98));
    box-shadow: none;
}

[data-theme="dark"] .account-notification-card.is-unread {
    border-color: rgba(124, 58, 237, 0.24);
}

[data-theme="dark"] .account-notification-card__icon {
    background: color-mix(in srgb, var(--notification-accent, var(--astro-primary)) 18%, rgba(255, 255, 255, 0.06));
    box-shadow: none;
}

[data-theme="dark"] .account-notification-card__state {
    background: rgba(255, 255, 255, 0.08);
}

[data-theme="dark"] .account-notification-card__state.is-unread {
    background: rgba(124, 58, 237, 0.18);
}

[data-theme="dark"] .account-notification-card__tag {
    background: color-mix(in srgb, var(--notification-accent, var(--astro-primary)) 18%, rgba(255, 255, 255, 0.06));
}

@media (max-width: 991.98px) {
    .account-notifications__hero.account-questions-hero {
        grid-template-columns: 1fr;
    }

    .account-notifications__hero .account-panel-head__actions--question-history {
        grid-column: auto;
        width: fit-content;
        max-width: 100%;
        justify-content: flex-start;
        justify-self: start;
        margin-right: 0;
        gap: .55rem !important;
    }
}

@media (max-width: 767.98px) {
    .account-notifications__hero.account-questions-hero {
        padding: .95rem;
        margin-bottom: .85rem;
        row-gap: .7rem;
        grid-template-columns: 1fr;
    }

    .account-notifications__hero.account-questions-hero .account-questions-hero__copy {
        max-width: 100%;
    }

    .account-notifications__stats {
        width: 100%;
        min-width: 0;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .account-notifications__feed {
        max-height: calc(100vh - 20rem);
    }

    .account-notifications__hero.account-questions-hero .account-panel-head__actions--question-history {
        grid-column: auto;
        width: fit-content;
        max-width: 100%;
        justify-content: flex-start;
        justify-self: start;
        margin-right: 0;
        gap: .55rem !important;
    }

    .account-notifications__hero.account-questions-hero .account-panel-head__actions--question-history .account-question-time-filter,
    .account-notifications__hero.account-questions-hero .account-panel-head__actions--question-history .account-question-new-btn {
        width: auto;
        min-width: 0;
    }

    .account-notifications__hero.account-questions-hero .account-question-time-filter {
        min-width: 0;
    }

    .account-notifications__hero.account-questions-hero .account-panel-head__actions--question-history .account-question-time-filter__toggle {
        width: auto;
        min-width: 0;
        max-width: none;
        min-height: 42px;
        padding-inline: .9rem;
        font-size: .92rem;
    }

    .account-notifications__hero.account-questions-hero .account-panel-head__actions--question-history .account-question-new-btn {
        width: auto;
        min-width: 122px;
        min-height: 42px;
        padding-inline: .9rem;
        font-size: .92rem;
    }

    .account-notification-card {
        grid-template-columns: 1fr;
    }

    .account-notification-card__header {
        flex-direction: column;
    }

    .account-notification-card__action {
        width: 100%;
    }
}

[data-theme="dark"] .home-category-section {
    background:
        radial-gradient(circle at 20% 20%, rgba(255, 199, 37, 0.14), transparent 28%),
        radial-gradient(circle at 80% 15%, rgba(132, 76, 196, 0.18), transparent 24%),
        radial-gradient(circle at 50% 70%, rgba(255, 255, 255, 0.08), transparent 24%),
        linear-gradient(135deg, #12081e 0%, #24113a 34%, #43106e 68%, #0a0612 100%);
}

[data-theme="dark"] .home-cosmic-page .home-category-section {
    background: transparent;
}

@media (max-width: 767.98px) {
    .home-category-title {
        font-size: 1.22rem;
    }

    .home-category-subtitle {
        font-size: .92rem;
    }

    .home-category-icon {
        width: 52px;
        height: 52px;
        flex-basis: 52px;
        font-size: 1.65rem;
    }

    .home-cosmic-page .home-category-section,
    .ask-page-section {
        overflow: visible;
    }

    .home-cosmic-page .home-category-selection {
        z-index: 1100;
        padding-bottom: calc(7.75rem + env(safe-area-inset-bottom, 0));
    }

    .home-floating-ask {
        left: 0;
        right: 0;
        top: auto;
        bottom: 0;
        align-items: stretch;
        width: auto;
        min-width: 0;
        border-radius: 1rem 1rem 0 0;
        text-align: center;
        transform: none !important;
        transition: none !important;
        animation: none !important;
        filter: none;
        overflow: hidden;
        z-index: 1190;
    }

    .home-floating-ask__price {
        margin-bottom: 0;
        border-radius: 1rem 1rem 0 0;
    }

    .home-floating-ask__price,
    .home-floating-ask__discount-wrap,
    .home-floating-ask__discount,
    .home-floating-ask__cta,
    .ask-category-inline-cta,
    .ask-category-inline-cta span,
    .ask-category-inline-cta strong,
    .btn-guided-glow,
    .btn-guided-glow span,
    .btn-guided-glow strong,
    .btn-guided-blink-twice,
    .btn-guided-blink-twice span,
    .btn-guided-blink-twice strong,
    .btn-guided-blink-finish,
    .btn-guided-blink-finish span,
    .btn-guided-blink-finish strong {
        transform: none !important;
        transition: none !important;
        animation: none !important;
    }

    .home-floating-ask__cta {
        border-radius: 0;
    }

    .home-floating-ask__discount-wrap.d-none + .home-floating-ask__cta {
        padding-top: 1rem;
        padding-bottom: 1rem;
        border-top-left-radius: 0;
        border-top-right-radius: 0;
    }

    .home-floating-ask.is-visible {
        transform: none !important;
        transition: none !important;
        animation: none !important;
    }

    .home-feature-links {
        padding-top: var(--home-section-space);
        padding-bottom: var(--home-section-space);
    }

    .home-category-selection > .container {
        padding-bottom: 1rem !important;
    }

    .ask-page-section {
        padding-bottom: calc(7.75rem + env(safe-area-inset-bottom, 0));
    }

    .ask-auth-card {
        padding: 1.5rem;
    }

    .ask-category-grid {
        --bs-gutter-x: .85rem;
        --bs-gutter-y: .85rem;
    }

    .ask-category-grid .ask-category-body {
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        text-align: center;
        gap: .7rem;
        min-height: 10.75rem;
        padding: 1rem .75rem;
    }

    .ask-category-grid .ask-category-icon {
        width: 3rem;
        height: 3rem;
        flex-basis: 3rem;
    }

    .ask-category-grid .ask-category-copy {
        flex: 0 0 auto;
        align-items: center;
        text-align: center;
    }

    .ask-category-grid .ask-category-copy small {
        display: block;
        margin-top: .28rem;
        font-size: .74rem;
        line-height: 1.35;
        text-align: center;
    }

    .ask-category-grid .ask-category-price {
        margin-left: 0;
        margin-top: auto;
        text-align: center;
    }

    .ask-category-cta-panel {
        display: none !important;
    }

    .ask-category-cta-panel__title,
    .ask-category-cta-panel__text {
        text-align: center;
    }

    .ask-category-inline-cta {
        width: 100%;
        min-width: 0;
    }

    .ask-question-box-head {
        align-items: flex-start !important;
    }

    .ask-question-actions {
        display: grid;
        grid-template-columns: max-content;
        align-items: stretch;
        justify-content: flex-end;
        gap: .45rem;
        width: auto;
        margin-left: auto;
    }

    .ask-question-action-btn {
        width: auto;
        min-width: 0;
        padding: .58rem .72rem;
        font-size: .78rem;
        font-weight: 700;
        line-height: 1.2;
        text-align: center;
        box-shadow: 0 10px 20px rgba(24, 15, 37, 0.1);
    }

    .sidebar-stack {
        gap: 1.25rem;
    }
}

@media (max-width: 991.98px) {
    .home-floating-ask,
    .home-floating-ask *,
    .home-floating-ask::before,
    .home-floating-ask::after {
        animation: none !important;
        transition: none !important;
        transform: none !important;
        will-change: auto !important;
    }

    .home-floating-ask,
    .home-floating-ask:hover,
    .home-floating-ask:focus,
    .home-floating-ask:active,
    .home-floating-ask:focus-visible,
    .home-floating-ask.is-visible {
        position: fixed !important;
        left: 1rem !important;
        right: 1rem !important;
        top: auto !important;
        bottom: calc(.85rem + env(safe-area-inset-bottom, 0px)) !important;
        width: auto !important;
        max-width: none !important;
        min-width: 0 !important;
        margin: 0 !important;
        opacity: 1 !important;
        visibility: visible !important;
        animation: none !important;
        transition: none !important;
        transform: none !important;
    }

    .home-floating-ask:not(.is-visible) {
        display: none !important;
    }

    .home-floating-ask.is-visible {
        display: flex !important;
        pointer-events: auto !important;
        flex-direction: column !important;
        height: 6.75rem !important;
        min-height: 6.75rem !important;
        max-height: 6.75rem !important;
        overflow: hidden !important;
        border-radius: .85rem !important;
    }

    .home-floating-ask__price {
        min-height: 3.25rem !important;
        height: 3.25rem !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        padding: 0 1rem !important;
        border-radius: .85rem .85rem 0 0 !important;
    }

    .home-floating-ask__discount-wrap,
    .home-floating-ask__discount-wrap.d-none {
        display: none !important;
    }

    .home-floating-ask__cta {
        min-height: 3.5rem !important;
        height: 3.5rem !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        padding: 0 1rem !important;
        border-radius: 0 0 .85rem .85rem !important;
    }

    .home-floating-ask__price,
    .home-floating-ask:hover .home-floating-ask__price,
    .home-floating-ask:focus .home-floating-ask__price,
    .home-floating-ask:active .home-floating-ask__price {
        background: #f04438 !important;
    }

    .home-floating-ask__discount-wrap,
    .home-floating-ask:hover .home-floating-ask__discount-wrap,
    .home-floating-ask:focus .home-floating-ask__discount-wrap,
    .home-floating-ask:active .home-floating-ask__discount-wrap {
        background: #ef4f3f !important;
    }

    .home-floating-ask__discount,
    .home-floating-ask:hover .home-floating-ask__discount,
    .home-floating-ask:focus .home-floating-ask__discount,
    .home-floating-ask:active .home-floating-ask__discount {
        background: rgba(126, 22, 14, 0.38) !important;
    }

    .home-floating-ask__cta,
    .home-floating-ask:hover .home-floating-ask__cta,
    .home-floating-ask:focus .home-floating-ask__cta,
    .home-floating-ask:active .home-floating-ask__cta {
        background: #f2c94c !important;
        color: #241300 !important;
    }

    html body .home-floating-ask,
    html body .home-floating-ask.is-visible,
    html body .home-floating-ask:hover,
    html body .home-floating-ask:focus,
    html body .home-floating-ask:active,
    html body .home-floating-ask:focus-visible,
    html body .home-floating-ask.btn,
    html body .home-floating-ask.btn-warning {
        animation-name: none !important;
        animation-duration: 0s !important;
        animation-delay: 0s !important;
        animation-iteration-count: 1 !important;
        transition-property: none !important;
        transition-duration: 0s !important;
        transition-delay: 0s !important;
        transform: none !important;
        translate: none !important;
        scale: none !important;
        rotate: none !important;
    }

    html body .home-floating-ask *,
    html body .home-floating-ask *::before,
    html body .home-floating-ask *::after {
        animation-name: none !important;
        animation-duration: 0s !important;
        animation-delay: 0s !important;
        animation-iteration-count: 1 !important;
        transition-property: none !important;
        transition-duration: 0s !important;
        transition-delay: 0s !important;
        transform: none !important;
        translate: none !important;
        scale: none !important;
        rotate: none !important;
    }
}

@media (max-width: 599.98px) {
    html body .home-floating-ask,
    html body .home-floating-ask.is-visible,
    html body .home-floating-ask:hover,
    html body .home-floating-ask:focus,
    html body .home-floating-ask:active {
        position: fixed !important;
        inset-inline: .75rem !important;
        inset-block-start: auto !important;
        inset-block-end: calc(.75rem + env(safe-area-inset-bottom, 0px)) !important;
        width: auto !important;
        height: 6.5rem !important;
        min-height: 6.5rem !important;
        max-height: 6.5rem !important;
        margin: 0 !important;
        border-radius: .8rem !important;
        overflow: hidden !important;
        animation: none !important;
        transition: none !important;
        transform: none !important;
        translate: none !important;
        will-change: auto !important;
    }

    html body .home-floating-ask.is-visible {
        display: flex !important;
        flex-direction: column !important;
    }

    html body .home-floating-ask__price,
    html body .home-floating-ask__cta {
        white-space: nowrap !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
        animation: none !important;
        transition: none !important;
        transform: none !important;
        translate: none !important;
    }

    html body .home-floating-ask__price {
        height: 3.1rem !important;
        min-height: 3.1rem !important;
        max-height: 3.1rem !important;
        font-size: clamp(.95rem, 4.2vw, 1.08rem) !important;
    }

    html body .home-floating-ask__cta {
        height: 3.4rem !important;
        min-height: 3.4rem !important;
        max-height: 3.4rem !important;
        font-size: clamp(.95rem, 4vw, 1.04rem) !important;
    }
}

@media (max-width: 991.98px) {
    #jyotishiQuestionViewModal .modal-dialog {
        width: min(calc(100vw - 1rem), 100%);
        max-width: min(calc(100vw - 1rem), 100%);
    }

    #jyotishiQuestionViewModal .modal-dialog-scrollable .modal-content {
        height: min(calc(100vh - 2rem), 52rem);
    }

    .question-workspace__toolbar {
        flex-wrap: wrap;
        align-items: stretch;
        padding: .95rem 1rem;
    }

    .question-workspace {
        display: block;
        height: min(76vh, 52rem);
    }

    .question-workspace__main {
        height: 100%;
        padding-right: 0;
    }

    .question-workspace__side {
        position: absolute;
        inset: 0;
        width: auto;
        z-index: 7;
    }

    .question-workspace__sheet {
        position: absolute;
        inset: 0 0 0 auto;
        width: 100%;
        max-width: 100%;
        border-radius: 1.1rem;
    }

    .question-workspace.is-panel-open {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .question-workspace__toolbar-spacer {
        display: none;
    }

    .question-workspace__toolbar-copy,
    .question-workspace__toolbar-nav,
    .jyotishi-floating-timer--toolbar {
        width: 100%;
    }

    .jyotishi-floating-timer--toolbar {
        width: 100%;
    }

    .jyotishi-floating-timer--toolbar .jyotishi-floating-timer__countdown {
        width: 100%;
    }

    .admin-question-summary__grid,
    .admin-question-audit-grid,
    .admin-question-action-bar {
        grid-template-columns: 1fr;
    }

    .admin-question-assignment__form {
        grid-template-columns: 1fr;
    }

    .admin-question-summary__topline,
    .admin-question-panel__header {
        flex-direction: column;
        align-items: flex-start;
    }

    .admin-question-assignment__submit,
    .admin-question-action-btn {
        width: 100%;
    }

    .admin-question-answer-meta {
        text-align: left;
        justify-content: flex-start;
    }

    .admin-question-modal-body {
        padding: 1rem;
    }

    .admin-question-modal-shell,
    .jyotishi-question-modal-panel {
        height: min(72vh, 48rem);
    }

    .admin-question-panel__body,
    .admin-question-panel__header,
    .admin-question-summary__card,
    .admin-question-assignment,
    .admin-question-audit-item {
        padding-inline: 1rem;
    }

    .admin-question-summary__status {
        width: 100%;
    }

    .admin-question-summary__facts {
        grid-template-columns: 1fr;
    }

    .jyotishi-floating-timer {
        top: auto;
        right: 1rem;
        bottom: 1rem;
        transform: none;
        width: calc(100vw - 2rem);
        max-width: 24rem;
    }

    .jyotishi-question-table__subject {
        max-width: none;
    }

    .panel-sidebar-column {
        display: none;
    }

    .panel-sidebar-backdrop {
        display: none !important;
    }

    .panel-main {
        padding: 1rem;
        width: 100%;
        max-width: 100%;
        flex: 0 0 100%;
    }

    .panel-topbar {
        display: none;
        padding: 1rem;
    }

    .hero-section {
        padding-top: 3rem;
    }

    .panel-sidebar {
        min-height: 100vh;
    }
}

@media (max-width: 991.98px) {
    .panel-mobile-menu__user {
        flex-direction: column;
        align-items: flex-start;
    }

    .panel-mobile-menu__user > .d-flex:last-child {
        width: 100%;
        justify-content: flex-start;
    }

    .panel-mode-toggle__meta {
        display: none;
    }

    .admin-live-map-card__header,
    .admin-live-feed-card__header,
    .admin-live-map-card__stats,
    .admin-live-activity-item__top,
    .admin-live-activity-item__meta {
        flex-direction: column;
        align-items: flex-start;
    }

    .admin-live-map-card__stat {
        min-width: 0;
        width: 100%;
    }

    .admin-live-map-card__visual,
    .admin-live-map-card__canvas {
        min-height: 300px;
    }

    .admin-live-nepal-focus {
        width: min(230px, calc(100% - 1.2rem));
        left: .6rem;
        bottom: .6rem;
        padding: .75rem;
    }

    .admin-live-nepal-focus__map {
        height: 96px;
    }
}

@media (max-width: 991.98px) {
    html body a.home-floating-ask,
    html body a.home-floating-ask.btn,
    html body a.home-floating-ask.btn-warning,
    html body a.home-floating-ask.is-visible,
    html body a.home-floating-ask:hover,
    html body a.home-floating-ask:focus,
    html body a.home-floating-ask:active,
    html body a.home-floating-ask:focus-visible {
        position: fixed !important;
        left: 0 !important;
        right: 0 !important;
        top: auto !important;
        bottom: 0 !important;
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        height: auto !important;
        min-height: 0 !important;
        max-height: none !important;
        margin: 0 !important;
        display: none !important;
        flex-direction: column !important;
        align-items: stretch !important;
        border-radius: 1rem 1rem 0 0 !important;
        overflow: hidden !important;
        opacity: 0 !important;
        visibility: hidden !important;
        pointer-events: none !important;
        transform: none !important;
        translate: none !important;
        scale: none !important;
        rotate: none !important;
        animation: none !important;
        transition: none !important;
        z-index: 9999 !important;
    }

    html body a.home-floating-ask.is-visible {
        display: flex !important;
        opacity: 1 !important;
        visibility: visible !important;
        pointer-events: auto !important;
    }

    html body a.home-floating-ask *,
    html body a.home-floating-ask *::before,
    html body a.home-floating-ask *::after {
        transform: none !important;
        animation: none !important;
        transition: none !important;
    }

    html body a.home-floating-ask .home-floating-ask__price {
        border-radius: 1rem 1rem 0 0 !important;
    }

    html body a.home-floating-ask .home-floating-ask__cta {
        border-radius: 0 !important;
    }

    .home-cosmic-page .home-category-selection,
    .ask-page-section {
        padding-bottom: 1.25rem !important;
    }
}

@media (min-width: 992px) {
    html body a.home-floating-ask,
    html body a.home-floating-ask.btn,
    html body a.home-floating-ask.btn-warning,
    html body a.home-floating-ask.is-visible {
        z-index: 9999 !important;
    }
}

@media (max-width: 991.98px), (hover: none), (pointer: coarse) {
    html body [data-home-floating-ask],
    html body [data-home-floating-ask].btn,
    html body [data-home-floating-ask].btn-warning,
    html body [data-home-floating-ask].is-visible,
    html body [data-home-floating-ask]:hover,
    html body [data-home-floating-ask]:focus,
    html body [data-home-floating-ask]:active,
    html body [data-home-floating-ask]:focus-visible,
    html body [data-home-floating-ask] *,
    html body [data-home-floating-ask] *::before,
    html body [data-home-floating-ask] *::after {
        animation: none !important;
        animation-name: none !important;
        animation-duration: 0s !important;
        animation-delay: 0s !important;
        animation-iteration-count: 1 !important;
        animation-play-state: paused !important;
        transition: none !important;
        transition-property: none !important;
        transition-duration: 0s !important;
        transition-delay: 0s !important;
        transform: none !important;
        translate: none !important;
        scale: none !important;
        rotate: none !important;
        will-change: auto !important;
    }

    html body [data-home-floating-ask],
    html body [data-home-floating-ask].btn,
    html body [data-home-floating-ask].btn-warning {
        position: fixed !important;
        left: 0 !important;
        right: 0 !important;
        top: auto !important;
        bottom: 0 !important;
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        height: auto !important;
        min-height: 0 !important;
        max-height: none !important;
        margin: 0 !important;
        flex-direction: column !important;
        align-items: stretch !important;
        border-radius: 1rem 1rem 0 0 !important;
        overflow: hidden !important;
        z-index: 9999 !important;
    }

    html body [data-home-floating-ask]:not(.is-visible) {
        display: none !important;
        opacity: 0 !important;
        visibility: hidden !important;
        pointer-events: none !important;
    }

    html body [data-home-floating-ask].is-visible {
        display: flex !important;
        opacity: 1 !important;
        visibility: visible !important;
        pointer-events: auto !important;
    }
}

html.gg-mobile-static-floating-ask body [data-home-floating-ask],
html.gg-mobile-static-floating-ask body [data-home-floating-ask].btn,
html.gg-mobile-static-floating-ask body [data-home-floating-ask].btn-warning,
html.gg-mobile-static-floating-ask body [data-home-floating-ask].is-visible,
html.gg-mobile-static-floating-ask body [data-home-floating-ask]:hover,
html.gg-mobile-static-floating-ask body [data-home-floating-ask]:focus,
html.gg-mobile-static-floating-ask body [data-home-floating-ask]:active,
html.gg-mobile-static-floating-ask body [data-home-floating-ask]:focus-visible,
html.gg-mobile-static-floating-ask body [data-home-floating-ask] *,
html.gg-mobile-static-floating-ask body [data-home-floating-ask] *::before,
html.gg-mobile-static-floating-ask body [data-home-floating-ask] *::after {
    animation: none !important;
    animation-name: none !important;
    animation-duration: 0s !important;
    animation-delay: 0s !important;
    animation-iteration-count: 1 !important;
    animation-play-state: paused !important;
    transition: none !important;
    transition-property: none !important;
    transition-duration: 0s !important;
    transition-delay: 0s !important;
    transform: none !important;
    translate: none !important;
    scale: none !important;
    rotate: none !important;
    will-change: auto !important;
}

html.gg-mobile-static-floating-ask body [data-home-floating-ask],
html.gg-mobile-static-floating-ask body [data-home-floating-ask].btn,
html.gg-mobile-static-floating-ask body [data-home-floating-ask].btn-warning {
    position: fixed !important;
    left: 0 !important;
    right: 0 !important;
    top: auto !important;
    bottom: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    margin: 0 !important;
    flex-direction: column !important;
    align-items: stretch !important;
    border-radius: 1rem 1rem 0 0 !important;
    overflow: hidden !important;
    z-index: 9999 !important;
}

html.gg-mobile-static-floating-ask body [data-home-floating-ask]:not(.is-visible) {
    display: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
}

html.gg-mobile-static-floating-ask body [data-home-floating-ask].is-visible {
    display: flex !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
}

html body [data-home-floating-ask].is-visible .home-floating-ask__discount-wrap:not(.d-none),
html.gg-mobile-static-floating-ask body [data-home-floating-ask].is-visible .home-floating-ask__discount-wrap:not(.d-none) {
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
}

html.gg-mobile-static-floating-ask body [data-home-floating-ask],
html.gg-mobile-static-floating-ask body [data-home-floating-ask].is-visible,
html.gg-mobile-static-floating-ask body [data-home-floating-ask] *,
html.gg-mobile-static-floating-ask body [data-home-floating-ask] *::before,
html.gg-mobile-static-floating-ask body [data-home-floating-ask] *::after {
    animation: none !important;
    transition: none !important;
}

@media screen and (max-width: 991.98px), screen and (hover: none) and (pointer: coarse) {
    html body [data-home-inline-ask-wrap].ask-category-cta-panel:not(.d-none) {
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
        width: 100% !important;
        margin: 1.25rem 0 0 !important;
        padding: 0 !important;
    }

    html body [data-home-inline-ask-wrap].ask-category-cta-panel.d-none {
        display: none !important;
    }

    html body [data-home-inline-ask-wrap] .ask-category-inline-cta {
        width: auto !important;
        min-width: 180px !important;
        max-width: calc(100vw - 3rem) !important;
        padding: .85rem 1.5rem !important;
        border-radius: 1rem !important;
    }

    html body a.home-floating-ask.btn.btn-warning[data-home-floating-ask],
    html body a.home-floating-ask.btn.btn-warning[data-home-floating-ask].is-visible,
    html body a.home-floating-ask.btn.btn-warning[data-home-floating-ask]:hover,
    html body a.home-floating-ask.btn.btn-warning[data-home-floating-ask]:focus,
    html body a.home-floating-ask.btn.btn-warning[data-home-floating-ask]:active,
    html body a.home-floating-ask.btn.btn-warning[data-home-floating-ask]:focus-visible {
        position: fixed !important;
        inset: auto 0 0 0 !important;
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        padding: 0 !important;
        margin: 0 !important;
        border: 0 !important;
        background: transparent !important;
        box-shadow: none !important;
        flex-direction: column !important;
        align-items: stretch !important;
        border-radius: 1rem 1rem 0 0 !important;
        overflow: hidden !important;
        z-index: 9999 !important;
        animation: none !important;
        animation-name: none !important;
        animation-duration: 0s !important;
        animation-delay: 0s !important;
        animation-iteration-count: 1 !important;
        animation-play-state: paused !important;
        transition: none !important;
        transition-property: none !important;
        transition-duration: 0s !important;
        transition-delay: 0s !important;
        transform: none !important;
        translate: none !important;
        scale: none !important;
        rotate: none !important;
        will-change: auto !important;
    }

    html body a.home-floating-ask.btn.btn-warning[data-home-floating-ask]:not(.is-visible) {
        display: none !important;
        opacity: 0 !important;
        visibility: hidden !important;
        pointer-events: none !important;
    }

    html body a.home-floating-ask.btn.btn-warning[data-home-floating-ask].is-visible {
        display: flex !important;
        opacity: 1 !important;
        visibility: visible !important;
        pointer-events: auto !important;
    }

    html body a.home-floating-ask.btn.btn-warning[data-home-floating-ask] *,
    html body a.home-floating-ask.btn.btn-warning[data-home-floating-ask] *::before,
    html body a.home-floating-ask.btn.btn-warning[data-home-floating-ask] *::after {
        animation: none !important;
        animation-name: none !important;
        transition: none !important;
        transition-property: none !important;
        transform: none !important;
        translate: none !important;
        scale: none !important;
        rotate: none !important;
        will-change: auto !important;
    }

    html body a.home-floating-ask.btn.btn-warning[data-home-floating-ask].is-visible .home-floating-ask__discount-wrap:not(.d-none) {
        display: block !important;
        opacity: 1 !important;
        visibility: visible !important;
    }

    html body a.home-floating-ask.btn.btn-warning[data-home-floating-ask] .home-floating-ask__price,
    html body a.home-floating-ask.btn.btn-warning[data-home-floating-ask] .home-floating-ask__discount-wrap,
    html body a.home-floating-ask.btn.btn-warning[data-home-floating-ask] .home-floating-ask__discount,
    html body a.home-floating-ask.btn.btn-warning[data-home-floating-ask] .home-floating-ask__cta {
        height: auto !important;
        min-height: 0 !important;
        max-height: none !important;
        overflow: visible !important;
        white-space: normal !important;
        text-overflow: clip !important;
    }

    html body a.home-floating-ask.btn.btn-warning[data-home-floating-ask] .home-floating-ask__price {
        padding: .82rem 1rem !important;
        border-radius: 1rem 1rem 0 0 !important;
    }

    html body a.home-floating-ask.btn.btn-warning[data-home-floating-ask] .home-floating-ask__discount-wrap {
        padding: .18rem 1rem .48rem !important;
    }

    html body a.home-floating-ask.btn.btn-warning[data-home-floating-ask] .home-floating-ask__cta {
        display: block !important;
        padding: .88rem 1rem .95rem !important;
        border-radius: 0 !important;
        line-height: 1.2 !important;
    }

    html body a.home-floating-ask.btn.btn-warning[data-home-floating-ask],
    html body a.home-floating-ask.btn.btn-warning[data-home-floating-ask].is-visible {
        bottom: 0 !important;
        height: auto !important;
        min-height: 0 !important;
        max-height: none !important;
    }
}
