:root {
    --page-bg: #3a3a3a;
    --panel-bg: #4F000B;
    --card-bg: #f8f5f3;
    --stroke: #f2e6df;
    --gold: #d7b16a;
    --gold-soft: #e4cc95;
    --text-light: #fff7f2;
    --muted: rgba(255, 247, 242, 0.72);
    --shadow: 0 28px 55px rgba(18, 0, 0, 0.32);
    --radius-xl: 24px;
    --radius-lg: 18px;
    opacity: var(--dashboard-text-opacity, 1);
    --tab-active: #cda85d;
}

@font-face {
    font-family: "Yekan Bakh VF";
    src: url("../font/YekanBakhFaNum-VF.woff2") format("woff2"),
        url("../font/YekanBakhFaNum-VF.woff") format("woff"),
        url("../font/YekanBakhFaNum-VF.ttf") format("truetype");
    font-style: normal;
    font-weight: 100 900;
    font-display: swap;
}

* {
    box-sizing: border-box;
}

body {
    min-height: 100%;
    height: 100%;
}

body {
    margin: 0;
    background: #fff;
    color: var(--text-light);
    font-family: "Yekan Bakh VF", Tahoma, "Segoe UI", sans-serif;
    font-variation-settings: "wght" 560;
    overflow-x: hidden;
}

body.is-page-loading {
    overflow: hidden;
}

body.modal-open {
    overflow: hidden;
    overscroll-behavior: none;
    padding-right: 0 !important;
}

body.dashboard-drawer-open {
    overflow: hidden;
    overscroll-behavior: none;
    touch-action: none;
}

html.dashboard-drawer-open {
    overflow: hidden;
    overscroll-behavior: none;
}

html.dashboard-drawer-open body {
    overflow: hidden;
    overscroll-behavior: none;
}

html.app-theme-dark {
    background: #3d3d3d;
}

body[data-app-landing-page],
body[data-app-landing-page].app-theme-dark,
body.app-surface-page {
    background: var(--panel-bg) !important;
    color: var(--text-light);
}

html[data-app-landing-page],
html.app-surface-page {
    background: var(--panel-bg);
}

html[data-app-landing-page] body[data-app-landing-page] .page-shell,
html[data-app-landing-page] body[data-app-landing-page] .mobile-stage,
html[data-app-landing-page] body[data-app-landing-page].app-theme-dark .page-shell,
html[data-app-landing-page] body[data-app-landing-page].app-theme-dark .mobile-stage,
body.app-surface-page .page-shell,
body.app-surface-page .mobile-stage {
    background: var(--panel-bg) !important;
}

.page-shell {
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: stretch;
}

.mobile-stage {
    width: min(100%, 500px);
    min-height: 100vh;
    position: relative;
    overflow: hidden;
}

.page-loader {
    position: fixed;
    inset: 0;
    z-index: 4000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px 16px;
    background: rgba(248, 246, 243, 0.84);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.22s ease, visibility 0.22s ease;
}

.modal {
    overscroll-behavior: contain;
}

body.is-page-loading .page-loader {
    opacity: 1;
    visibility: visible;
    pointer-events: none;
}

.page-loader-panel {
    width: min(100%, 420px);
    display: grid;
    justify-items: center;
    gap: 16px;
    padding: 28px 24px;
    border-radius: 28px;
    border: 1px solid rgba(111, 0, 18, 0.08);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(250, 243, 230, 0.98) 100%);
    box-shadow: 0 24px 55px rgba(79, 0, 11, 0.16);
    text-align: center;
}

.page-loader-mark {
    width: 72px;
    height: 72px;
    border-radius: 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #6f0012 0%, #8f1026 100%);
    box-shadow: 0 18px 36px rgba(111, 0, 18, 0.24);
}

.page-loader-spinner {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: 3px solid rgba(255, 243, 223, 0.28);
    border-top-color: #fff3df;
    animation: page-loader-spin 0.85s linear infinite;
}

.page-loader-copy {
    display: grid;
    gap: 6px;
}

.page-loader-title {
    margin: 0;
    color: #4f000b;
    font-family: "Yekan Bakh VF", Tahoma, "Segoe UI", sans-serif;
    font-size: 20px;
    font-weight: 800;
}

.page-loader-text {
    margin: 0;
    color: #7e5f2b;
    font-family: "Yekan Bakh VF", Tahoma, "Segoe UI", sans-serif;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.8;
}

@keyframes page-loader-spin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.project-label {
    color: rgba(255, 255, 255, 0.7);
    font-size: 15px;
    margin-right: 2px;
}

.app-install-banner {
    position: fixed;
    left: 50%;
    bottom: 20px;
    width: min(90vw, 420px);
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 12px;
    align-items: center;
    padding: 14px 16px;
    border: 1px solid rgba(213, 187, 134, 0.34);
    border-radius: 22px;
    background: linear-gradient(135deg, rgba(255, 250, 240, 0.98) 0%, rgba(255, 244, 223, 0.98) 100%);
    box-shadow: 0 22px 54px rgba(79, 0, 11, 0.18);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    color: #3f383c;
    z-index: 2600;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateX(-50%) translateY(16px);
    transition: opacity 0.24s ease, transform 0.24s ease, visibility 0.24s ease;
}

.app-install-banner::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: linear-gradient(135deg, rgba(111, 0, 18, 0.08) 0%, rgba(213, 187, 134, 0.04) 55%, rgba(255, 255, 255, 0) 100%);
    pointer-events: none;
}

.app-install-banner.is-visible {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
}

.app-install-banner-mark,
.app-install-banner-copy,
.app-install-banner-actions,
.app-install-banner-close {
    position: relative;
    z-index: 1;
}

.app-install-banner-mark {
    width: 44px;
    height: 44px;
    border-radius: 15px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #6f0012 0%, #8f1026 100%);
    color: #f6d894;
    box-shadow: 0 16px 28px rgba(111, 0, 18, 0.24);
    flex-shrink: 0;
}

.app-install-banner-copy {
    display: grid;
    gap: 3px;
    min-width: 0;
}

.app-install-banner-title {
    color: #352d31;
    font-size: 15px;
    font-weight: 800;
    line-height: 1.4;
}

.app-install-banner-text,
.app-install-banner-hint {
    margin: 0;
    color: #6a5a44;
    font-size: 11px;
    font-weight: 600;
    line-height: 1.7;
}

.app-install-banner-hint {
    color: #7b632d;
}

.app-install-banner-actions {
    display: inline-flex;
    align-items: center;
}

.app-install-banner-button {
    min-width: 108px;
    min-height: 42px;
    border: 0;
    border-radius: 14px;
    padding: 0 14px;
    background: linear-gradient(135deg, #6f0012 0%, #92152e 100%);
    color: #fffaf1;
    font-size: 12px;
    font-weight: 800;
    box-shadow: 0 16px 30px rgba(111, 0, 18, 0.22);
}

@media(min-width: 768px) {
    .app-install-banner-button {
        margin-top: 35px;
    }

}

.app-install-banner-close {
    position: absolute;
    top: 6px;
    left: 6px;
    width: 40px;
    height: 40px;
    border: 0;
    border-radius: 14px;
    background: rgba(111, 0, 18, 0.08);
    color: #7f6b52;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    z-index: 5;
    cursor: pointer;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
}

.app-install-banner-close svg,
.app-install-banner-close path {
    pointer-events: none;
}

body[data-market-page] .app-install-banner {
    bottom: 96px;
}

html.is-native-app .app-install-banner,
html[data-native-app] .app-install-banner {
    display: none !important;
    visibility: hidden !important;
    pointer-events: none !important;
}

html.is-native-app .mobile-stage {
    min-height: 100dvh;
    background: var(--panel-bg);
}

html.is-native-app .page-shell:has(.app-panel) {
    background: var(--panel-bg);
}

html.is-native-app .page-shell,
html.is-native-app .dashboard-shell,
html.is-native-app .dashboard-stage {
    padding-top: 0;
    padding-bottom: 0;
    margin-top: 0;
    margin-bottom: 0;
}

html.is-native-app {
    --app-safe-top: env(safe-area-inset-top, 24px);
    --app-safe-bottom: env(safe-area-inset-bottom, 0px);
    --app-safe-left: env(safe-area-inset-left, 0px);
    --app-safe-right: env(safe-area-inset-right, 0px);
}

html.is-native-app .app-panel {
    padding-top: calc(12px + var(--app-safe-top, env(safe-area-inset-top, 24px)));
    padding-bottom: calc(24px + var(--app-safe-bottom, env(safe-area-inset-bottom, 0px)));
}

html.is-native-app .dashboard-page {
    padding-top: calc(8px + var(--app-safe-top, env(safe-area-inset-top, 24px)));
    padding-bottom: calc(100px + var(--app-safe-bottom, env(safe-area-inset-bottom, 0px)));
    padding-left: 10px;
    padding-right: 10px;
}

html.is-native-app .dashboard-topbar {
    margin-top: 0;
    margin-bottom: 8px;
}

html.is-native-app .calculator-page,
html.is-native-app .archive-page {
    padding-top: calc(8px + var(--app-safe-top, env(safe-area-inset-top, 24px)));
}

html.is-native-app .calculator-section {
    margin-top: 12px;
}

html.is-native-app .dashboard-bottom-nav {
    bottom: calc(8px + var(--app-safe-bottom, env(safe-area-inset-bottom, 0px)));
    left: max(8px, calc(50% - 250px + 8px));
    right: max(8px, calc(50% - 250px + 8px));
}

html.is-native-app .site-footer {
    padding-bottom: calc(8px + var(--app-safe-bottom, env(safe-area-inset-bottom, 0px)));
}

html.is-native-app .auth-footer {
    padding-bottom: calc(8px + var(--app-safe-bottom, env(safe-area-inset-bottom, 0px)));
}

@media (max-width: 460px) {
    html.is-native-app .dashboard-page {
        padding-bottom: calc(100px + var(--app-safe-bottom, env(safe-area-inset-bottom, 0px)));
    }

    html.is-native-app .dashboard-bottom-nav {
        left: 8px;
        right: 8px;
    }
}

html.is-native-app .auth-content {
    padding-top: 16px;
    padding-bottom: 16px;
}

html.is-native-app .identity-page .auth-content {
    padding-top: 8px;
    padding-bottom: 88px;
}

html.is-native-app .dashboard-drawer-panel,
html.is-native-app .dashboard-profile-drawer-panel {
    min-height: 100%;
    max-height: 100%;
    padding-top: 18px;
    padding-bottom: 24px;
}

@media (min-width: 821px) {
    .app-install-banner {
        width: min(calc(100vw - 40px), 460px);
    }
}

@media (max-width: 520px) {
    .app-install-banner {
        grid-template-columns: auto minmax(0, 1fr);
        width: 90vw;
        gap: 10px;
        padding: 12px 12px;
    }

    .app-install-banner-copy {
        padding-left: 10px;
    }

    .app-install-banner-actions {
        grid-column: 1 / -1;
        width: 100%;
    }

    .app-install-banner-button {
        width: 100%;
        min-width: 0;
    }
}

.app-panel {
    background: #4F000B;
    border-radius: 0;
    box-shadow: var(--shadow);
    padding: 16px 16px 28px;
    position: relative;
    overflow: hidden;
    min-height: 100vh;
    min-height: 100dvh;
}

.auth-panel {
    justify-content: space-between;
    min-height: 100dvh;
}

.dashboard-shell {
    position: relative;
    background: #ffffff;
}

.dashboard-stage {
    background: linear-gradient(180deg, #f8f6f3 0%, #ffffff 100%);
    overflow: visible;
}

.app-panel::before {
    content: "";
    position: absolute;
    inset: -30% auto auto -20%;
    width: 220px;
    height: 220px;
    background: radial-gradient(circle, rgba(255, 209, 122, 0.07), transparent 68%);
    pointer-events: none;
}

.topbar {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: stretch;
    flex-wrap: nowrap;
    gap: 12px;
}

.profile-chip {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    border: 0;
    background: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    flex-shrink: 0;
    flex: 0 0 56px;
    box-shadow: 0 8px 22px rgba(40, 0, 5, 0.18);
    text-decoration: none;
}

.profile-chip svg,
.status-icon svg,
.footer-icon svg {
    width: 35px;
    height: 35px;
    fill: none;
    /*stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round; */
}

.profile-chip svg {
    color: var(--gold);
}

.status-card {
    border: 1.5px solid rgba(255, 251, 247, 0.92);
    border-radius: 16px;
    min-height: 56px;
    padding: 10px 16px;
    color: var(--text-light);
    background: rgba(255, 255, 255, 0.03);
    flex: 1 1 0;
    min-width: 0;
}

.status-icon {
    color: var(--text-light);
    opacity: 0.92;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-right: 12px;
}

.status-meta {
    font-weight: 700;
    font-size: 16px;
    letter-spacing: -0.02em;
    line-height: 1.2;
    flex: 1 1 auto;
    min-width: 0;
}

.status-meta span {
    white-space: nowrap;
}

.status-meta .d-flex {
    flex-wrap: wrap;
}

.price-tabs {
    border-bottom: 0;
    gap: 6px;
}

.price-tabs .nav-item {
    flex: 1;
}

.price-tabs .nav-link {
    width: 100%;
    padding: 14px 4px 16px;
    background: transparent;
    color: var(--text-light);
    border: 0;
    border-radius: 0;
    font-size: 18px;
    font-weight: 400;
    position: relative;
    box-shadow: none;
}

.price-tabs .nav-link::after {
    content: "";
    position: absolute;
    right: 18%;
    left: 18%;
    bottom: 4px;
    height: 4px;
    border-radius: 999px;
    background: transparent;
    transition: background-color 0.2s ease, transform 0.2s ease;
    transform: scaleX(0.45);
}

.price-tabs .nav-link.active {
    color: var(--gold-soft);
    background: transparent;
}

.price-tabs .show>.nav-link,
.price-tabs .nav-link.active::after {
    background: var(--gold-soft);
    transform: scaleX(1);
}

.price-tabs .show>.nav-link,
.price-tabs .nav-link:focus,
.price-tabs .nav-link:hover {
    color: var(--gold-soft);
    background: transparent;
}

.price-content {
    margin-top: 5px;
}

.dashboard-overlay {
    position: fixed;
    top: 0;
    right: max(0px, calc((100vw - 500px) / 2));
    bottom: 0;
    width: min(100vw, 500px);
    background: rgba(79, 0, 11, 0.28);
    z-index: 1060;
    opacity: 0;
    visibility: hidden;
    touch-action: none;
    transition: opacity 0.24s ease;
}

html.is-native-app .dashboard-overlay {
    top: var(--app-safe-top, env(safe-area-inset-top, 0px));
    bottom: var(--app-safe-bottom, env(safe-area-inset-bottom, 0px));
    right: 0;
    left: 0;
    width: auto;
    height: auto;
}

.dashboard-overlay.is-visible {
    opacity: 1;
    visibility: visible;
}

.dashboard-drawer {
    position: fixed;
    top: 0;
    right: max(0px, calc((100vw - 500px) / 2));
    bottom: 0;
    width: min(calc(100vw - 54px), 446px);
    z-index: 1061;
    visibility: hidden;
    pointer-events: none;
}

html.is-native-app .dashboard-drawer {
    top: var(--app-safe-top, env(safe-area-inset-top, 0px));
    bottom: var(--app-safe-bottom, env(safe-area-inset-bottom, 0px));
    right: var(--app-safe-right, env(safe-area-inset-right, 0px));
    left: auto;
    height: auto;
    width: min(calc(100vw - 54px - var(--app-safe-left, 0px) - var(--app-safe-right, 0px)), 446px);
}

html.is-native-app .dashboard-drawer-left {
    left: var(--app-safe-left, env(safe-area-inset-left, 0px));
    right: auto;
}

.dashboard-drawer.is-open {
    visibility: visible;
    pointer-events: auto;
}

.dashboard-drawer-panel {
    height: 100%;
    min-height: 100dvh;
    max-height: 100dvh;
    background: #f7f4f2;
    color: #333333;
    padding: 18px 14px 24px;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    box-shadow: -16px 0 40px rgba(44, 12, 16, 0.18);
    opacity: 0;
    transform: translateX(28px);
    transition: transform 0.26s ease, opacity 0.26s ease;
}

.dashboard-drawer-left {
    right: auto;
    left: max(0px, calc((100vw - 500px) / 2));
}

.dashboard-drawer-left .dashboard-drawer-panel {
    box-shadow: 16px 0 40px rgba(44, 12, 16, 0.18);
    transform: translateX(-28px);
}

.dashboard-drawer.is-open .dashboard-drawer-panel {
    opacity: 1;
    transform: translateX(0);
}

.dashboard-drawer-header {
    display: flex;
    justify-content: flex-start;
    margin-bottom: 18px;
}

.dashboard-drawer-header-reverse {
    justify-content: flex-end;
}

.dashboard-drawer-close {
    width: 34px;
    height: 34px;
    border: 0;
    background: transparent;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.dashboard-drawer-menu {
    display: grid;
    gap: 8px;
}

.dashboard-account-card {
    background: linear-gradient(180deg, #ffffff 0%, #fcfaf8 100%);
    border: 1px solid rgba(213, 187, 134, 0.42);
    border-radius: 18px;
    padding: 14px;
    margin-bottom: 18px;
    box-shadow: 0 8px 22px rgba(90, 31, 15, 0.07);
}

.dashboard-profile-card {
    padding: 16px;
}

.dashboard-profile-card-header {
    align-items: flex-start;
}

.dashboard-profile-card-identity {
    flex: 1;
    min-width: 0;
}

.dashboard-profile-card-title-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.dashboard-profile-mobile {
    color: #5d5559;
    font-size: 13px;
    direction: ltr;
    text-align: left;
    flex-shrink: 0;
    margin-top: 0;
}

.dashboard-profile-card-subtitle-row {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 4px;
    margin-top: 3px;
}

.dashboard-profile-city {
    color: #9a9196;
    font-size: 11px;
    margin-top: 0;
}

.dashboard-profile-profession {
    display: block;
    color: #5d5559;
    font-size: 13px;
    margin-top: 5px;
}

.dashboard-profile-membership {
    display: block;
    margin-top: 3px;
}

.dashboard-profile-avatar {
    width: 58px;
    height: 58px;
    border-radius: 18px;
}

.dashboard-profile-meta-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.dashboard-account-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
}

.dashboard-account-avatar {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: #6f0012;
    color: #f8f3ef;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    overflow: hidden;
}

.dashboard-account-avatar svg,
.dashboard-profile-avatar svg {
    width: 28px;
    height: 28px;
    display: block;
    flex-shrink: 0;
}

.dashboard-account-header strong,
.dashboard-account-header small,
.dashboard-account-header span {
    display: block;
}

.dashboard-account-header strong {
    color: #1e2933;
    font-size: 15px;
    font-weight: 760;
}

.dashboard-account-header small {
    color: #80777c;
    font-size: 12px;
    margin-top: 3px;
}

.dashboard-account-header span {
    color: #5d5559;
    font-size: 13px;
    direction: ltr;
    text-align: right;
    margin-top: 5px;
}

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

.dashboard-account-chip {
    background: #f7f2ea;
    border-radius: 14px;
    padding: 10px 12px;
    display: grid;
    gap: 4px;
}

.dashboard-account-chip span {
    color: #8a8084;
    font-size: 11px;
}

.dashboard-account-chip strong {
    color: #6f0012;
    font-size: 13px;
    font-weight: 760;
}

.dashboard-account-chip strong.wallet-balance {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    width: 100%;
    text-align: right;
    gap: 4px;
    color: #c6382c;
}

.wallet-balance-number {
    direction: ltr;
    color: #c6382c;
    font-size: 16px;
    font-weight: 820;
    line-height: 1;
}

.wallet-balance-unit {
    direction: rtl;
    color: #c6382c;
    font-size: 12px;
    font-weight: 760;
}

.dashboard-account-chip strong.identity-complete-status {
    color: #16a34a;
}

.dashboard-subscription-summary {
    margin-top: 12px;
    padding: 12px;
    border-radius: 16px;
    background: linear-gradient(180deg, #fff8ed 0%, #f8efe1 100%);
    border: 1px solid rgba(213, 187, 134, 0.42);
    display: grid;
    gap: 10px;
}

.dashboard-subscription-summary-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.dashboard-subscription-summary-head span,
.dashboard-subscription-summary-item span {
    color: #8a8084;
    font-size: 11px;
}

.dashboard-subscription-summary-head strong,
.dashboard-subscription-summary-item strong {
    color: #6f0012;
    font-size: 13px;
    font-weight: 780;
}

.dashboard-subscription-summary-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.dashboard-subscription-summary-item {
    display: grid;
    gap: 4px;
    padding: 10px 12px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.56);
}

.dashboard-menu-item {
    min-height: 44px;
    border-radius: 14px;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 14px;
    color: #333333;
    text-decoration: none;
    border: 0;
    width: 100%;
}

.dashboard-menu-item-button {
    font: inherit;
}

.dashboard-menu-main {
    display: inline-flex;
    align-items: center;
    gap: 12px;
}

.dashboard-menu-main svg,
.dashboard-menu-meta svg {
    flex-shrink: 0;
}

.dashboard-menu-main svg {
    width: 25px;
    height: 25px;
}

.dashboard-menu-label {
    font-size: 14px;
    font-weight: 550;
}

.dashboard-menu-meta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.dashboard-drawer-footer {
    margin-top: auto;
    padding-top: 24px;
    text-align: center;
    color: #6b0011;
}

.dashboard-profile-drawer-footer {
    margin-top: auto;
    padding-top: 8px;
}

.dashboard-profile-drawer-menu {
    gap: 7px;
}

.dashboard-profile-logout {
    min-height: 40px;
    color: #6b0011;
    border: 1px solid rgba(107, 0, 17, 0.1);
}

.dashboard-profile-drawer-panel {
    height: 100dvh;
    overflow-y: auto;
    padding: 10px 10px 12px;
}

.dashboard-profile-drawer-panel .dashboard-drawer-header {
    margin-bottom: 8px;
}

.dashboard-profile-drawer-panel .dashboard-account-card {
    margin-bottom: 9px;
}

.dashboard-profile-drawer-panel .dashboard-menu-item {
    min-height: 38px;
    border-radius: 12px;
    padding: 7px 10px;
}

.dashboard-profile-drawer-panel .dashboard-menu-label {
    font-size: 13px;
}

.dashboard-profile-drawer-panel .dashboard-menu-main {
    gap: 9px;
}

.dashboard-profile-drawer-panel .dashboard-menu-main svg {
    width: 21px;
    height: 21px;
}

.dashboard-profile-card {
    padding: 10px;
}

.dashboard-profile-avatar {
    width: 44px;
    height: 44px;
    border-radius: 14px;
}

.dashboard-profile-card-header,
.dashboard-account-header {
    gap: 9px;
    margin-bottom: 9px;
}

.dashboard-profile-meta-grid,
.dashboard-account-meta {
    gap: 7px;
}

.dashboard-account-chip {
    border-radius: 12px;
    padding: 7px 9px;
}

.dashboard-account-chip strong.identity-complete-status.is-incomplete {
    color: #b42318;
}

.dashboard-profile-drawer-panel .dashboard-subscription-summary {
    margin-top: 7px;
    padding: 8px;
    gap: 6px;
}

.dashboard-profile-drawer-panel .dashboard-subscription-summary-grid {
    gap: 6px;
}

.dashboard-profile-drawer-panel .dashboard-subscription-summary-item {
    padding: 6px 8px;
}

@media (max-height: 700px) {
    .dashboard-profile-drawer-panel .dashboard-subscription-summary {
        display: none;
    }
}

.dashboard-drawer-footer p,
.dashboard-drawer-footer strong {
    margin: 0;
}

.dashboard-drawer-footer p {
    font-size: 14px;
    margin-bottom: 8px;
}

.dashboard-drawer-footer strong {
    font-size: 18px;
    font-weight: 700;
}

.dashboard-page {
    min-height: 100vh;
    background: linear-gradient(180deg, #f4f3f1 0%, #ffffff 100%);
    padding: 16px 10px 100px;
    color: #4a4145;
}

.dashboard-menu-group {
    display: grid;
    gap: 8px;
}

.dashboard-menu-item-button {
    cursor: pointer;
}

.dashboard-menu-item-button .dashboard-menu-meta svg {
    transition: transform 0.2s ease;
}

.dashboard-menu-item-button.is-expanded .dashboard-menu-meta svg {
    transform: rotate(-90deg);
}

.dashboard-settings-submenu {
    display: grid;
    gap: 10px;
    padding-right: 22px;
}

.dashboard-settings-subitem {
    min-height: 44px;
    border-radius: 14px;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 14px;
    color: #333333;
    text-decoration: none;
    border: 0;
}

.dashboard-settings-subitem-main {
    display: inline-flex;
    align-items: center;
    gap: 12px;
}

.dashboard-settings-subitem-copy {
    color: #3a3135;
    font-size: 15px;
    font-weight: 560;
}

.dashboard-settings-subitem-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #d5bb86;
    flex-shrink: 0;
}

.dashboard-settings-subitem-toggle {
    cursor: pointer;
}

.settings-toggle-shell {
    flex-shrink: 0;
}

.settings-toggle-track {
    width: 66px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: flex-start;
    padding: 5px;
    border-radius: 999px;
    background: #d9bb71;
    transition: background-color 0.2s ease, justify-content 0.2s ease;
}

.settings-toggle-thumb {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #ffffff;
    box-shadow: 0 6px 18px rgba(79, 0, 11, 0.18);
}

html.app-theme-dark .settings-toggle-track {
    justify-content: flex-end;
    background: #8d1427;
}

html.app-theme-dark body.board-customizable-page .dashboard-stage,
html.app-theme-dark body.board-customizable-page .dashboard-page {
    background: var(--dashboard-board-surface, #3d3d3d);
}

html.app-theme-dark body.board-customizable-page .dashboard-topbar,
html.app-theme-dark body.board-customizable-page .board-customization-toolbar,
html.app-theme-dark body.board-customizable-page .board-customization-logo-card {
    background: var(--dashboard-card-bg, #1f1f1f);
}

html.app-theme-dark body.board-customizable-page .dashboard-brand-card,
html.app-theme-dark body.board-customizable-page .dashboard-market-card,
html.app-theme-dark body.board-customizable-page .dashboard-currency-card {
    background: var(--dashboard-card-surface, #1f1f1f);
}

html.app-theme-dark .board-customization-toolbar-title,
html.app-theme-dark .board-customization-picker-copy strong,
html.app-theme-dark .board-customization-preview-hint,
html.app-theme-dark .board-customization-logo-preview,
html.app-theme-dark .board-customization-title {
    color: var(--dashboard-title-color, #f1ece5);
}

html.app-theme-dark .board-customization-toolbar-icon {
    color: #d5bb86;
}

html.app-theme-dark .board-customization-picker,
html.app-theme-dark .board-customization-logo-preview,
html.app-theme-dark .board-customization-stepper,
html.app-theme-dark .board-customization-select {
    background: #2a2a2a;
    border-color: rgba(255, 255, 255, 0.08);
}

html.app-theme-dark .board-customization-select-input {
    background: #232323;
    border-color: rgba(255, 255, 255, 0.08);
    color: #f1ece5;
}

html.app-theme-dark .board-customization-stepper-input {
    background: #232323;
    border-color: rgba(255, 255, 255, 0.08);
    color: #f1ece5;
}

html.app-theme-dark .board-customization-stepper-button {
    background: rgba(213, 187, 134, 0.18);
    color: #f1ece5;
}

html.app-theme-dark .board-customization-picker-copy small {
    color: #d5bb86;
}

html.app-theme-dark .board-customization-preview-badge {
    background: rgba(213, 187, 134, 0.12);
    color: #d5bb86;
}

html.app-theme-dark .board-customization-logo-edit {
    background: rgba(213, 187, 134, 0.12);
    color: #d5bb86;
}

html.app-theme-dark .board-customization-add-circle {
    border-color: rgba(241, 236, 229, 0.92);
    color: #f1ece5;
}

@media (max-width: 991px) {
    .board-customization-stage {
        width: 100%;
        max-width: none;
    }

    .board-customization-page {
        padding: 16px 12px 150px;
    }

    .board-customization-actions {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .board-customization-market-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .board-customization-add-card {
        min-height: 120px;
    }

    body.board-customizable-page .dashboard-currency-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    body.board-customizable-page .dashboard-currency-item:nth-child(odd) {
        border-left: 1px solid rgba(214, 201, 194, 0.72);
    }

    body.board-customizable-page .dashboard-currency-item:nth-child(6n) {
        border-left: 1px solid rgba(214, 201, 194, 0.72);
    }
}

html.app-theme-dark .dashboard-shell {
    background: #3d3d3d;
}

html.app-theme-dark .dashboard-stage,
html.app-theme-dark .dashboard-page {
    background: #3d3d3d;
    color: #ffffff;
}

html.app-theme-dark .dashboard-brand-card,
html.app-theme-dark .dashboard-market-card,
html.app-theme-dark .dashboard-currency-card,
html.app-theme-dark .dashboard-bubble-card,
html.app-theme-dark .archive-card,
html.app-theme-dark .dashboard-settings-subitem {
    background: #1f1f1f;
    border: 1px solid rgba(255, 255, 255, 0.06);
    box-shadow: 0 14px 32px rgba(0, 0, 0, 0.24);
}

html.app-theme-dark .dashboard-brand-card h1,
html.app-theme-dark .dashboard-price-row,
html.app-theme-dark .dashboard-currency-title,
html.app-theme-dark .dashboard-currency-item strong,
html.app-theme-dark .dashboard-footer-copy,
html.app-theme-dark .dashboard-account-header strong,
html.app-theme-dark .dashboard-account-header small,
html.app-theme-dark .dashboard-account-header span,
html.app-theme-dark .dashboard-profile-mobile,
html.app-theme-dark .dashboard-profile-profession,
html.app-theme-dark .dashboard-profile-city,
html.app-theme-dark .dashboard-menu-label,
html.app-theme-dark .dashboard-settings-subitem-copy,
html.app-theme-dark .archive-card-head h1,
html.app-theme-dark .archive-card-head p,
html.app-theme-dark .archive-card,
html.app-theme-dark .analytical-ai-head h2,
html.app-theme-dark .analytical-ai-text,
html.app-theme-dark .analytical-signals-head strong,
html.app-theme-dark .analytical-signal-item span,
html.app-theme-dark .analytical-history-head h1,
html.app-theme-dark .analytical-history-head p,
html.app-theme-dark .analytical-history-item-head h2,
html.app-theme-dark .analytical-history-cta,
html.app-theme-dark .analytical-history-meta-item strong,
html.app-theme-dark .analytical-history-detail-block p,
html.app-theme-dark .analytical-history-level-item strong,
html.app-theme-dark .support-hero-head h1,
html.app-theme-dark .support-hero-head p,
html.app-theme-dark .support-register-copy strong,
html.app-theme-dark .support-register-copy small,
html.app-theme-dark .support-tab-button,
html.app-theme-dark .support-table tbody td,
html.app-theme-dark .support-table-meta,
html.app-theme-dark .support-thread-head h2,
html.app-theme-dark .support-ticket-summary-card h1,
html.app-theme-dark .support-ticket-summary-card p,
html.app-theme-dark .support-ticket-summary-item strong,
html.app-theme-dark .support-ticket-summary-item span,
html.app-theme-dark .support-thread-text,
html.app-theme-dark .support-thread-meta,
html.app-theme-dark .support-field span {
    color: var(--dashboard-text-color, #f1ece5);
}

html.app-theme-dark .dashboard-status-row,
html.app-theme-dark .dashboard-tabs .nav-link,
html.app-theme-dark .dashboard-currency-item span,
html.app-theme-dark .dashboard-bubble-label,
html.app-theme-dark .dashboard-bubble-head p,
html.app-theme-dark .dashboard-bubble-head h2,
html.app-theme-dark .dashboard-bubble-value,
html.app-theme-dark .dashboard-card-head,
html.app-theme-dark .dashboard-currency-head,
html.app-theme-dark .dashboard-price-value,
html.app-theme-dark .dashboard-special-box strong,
html.app-theme-dark .archive-filter-label,
html.app-theme-dark .analytical-trend-badge,
html.app-theme-dark .dashboard-settings-subitem,
html.app-theme-dark .dashboard-settings-subitem-icon,
html.app-theme-dark .support-kicker,
html.app-theme-dark .analytical-history-date,
html.app-theme-dark .analytical-history-meta-item span,
html.app-theme-dark .analytical-history-detail-block span,
html.app-theme-dark .analytical-history-level-item span {
    color: var(--dashboard-title-color, #ffffff);
}

html.app-theme-dark .dashboard-price-row {
    border-top-color: rgba(255, 255, 255, 0.15);
}

html.app-theme-dark .dashboard-currency-item,
html.app-theme-dark .dashboard-currency-item:nth-child(odd),
html.app-theme-dark .dashboard-bubble-item {
    border-color: rgba(255, 255, 255, 0.12);
}

html.app-theme-dark .dashboard-special-box,
html.app-theme-dark .dashboard-bubble-item,
html.app-theme-dark .dashboard-account-chip,
html.app-theme-dark .analytical-signals,
html.app-theme-dark .analytical-signal-item,
html.app-theme-dark .archive-filter-field,
html.app-theme-dark .support-register-card,
html.app-theme-dark .support-search-field,
html.app-theme-dark .support-table-wrap,
html.app-theme-dark .support-ticket-summary-item,
html.app-theme-dark .support-thread-card,
html.app-theme-dark .support-thread-bubble,
html.app-theme-dark .support-thread-attachment,
html.app-theme-dark .support-field input,
html.app-theme-dark .support-field select,
html.app-theme-dark .support-field textarea,
html.app-theme-dark .support-upload-field,
html.app-theme-dark .analytical-history-meta-item,
html.app-theme-dark .analytical-history-detail-block,
html.app-theme-dark .analytical-history-level-item,
html.app-theme-dark .analytical-history-item {
    background: #2a2a2a;
    border-color: rgba(255, 255, 255, 0.08);
}

html.app-theme-dark .dashboard-bottom-nav {
    background: var(--dashboard-bottom-nav-bg, #7a0518);
    box-shadow: 0 16px 32px rgba(0, 0, 0, 0.35);
}

html.app-theme-dark .dashboard-menu-item,
html.app-theme-dark .dashboard-drawer-panel {
    background: #1f1f1f;
    color: #ffffff;
}

html.app-theme-dark .dashboard-drawer-panel {
    box-shadow: -16px 0 40px rgba(0, 0, 0, 0.35);
}

html.app-theme-dark .dashboard-account-card {
    background: #1f1f1f;
    border-color: rgba(255, 255, 255, 0.06);
}

html.app-theme-dark .dashboard-account-chip strong,
html.app-theme-dark .dashboard-account-chip strong.wallet-balance {
    color: #cd2440;
}

html.app-theme-dark .dashboard-topbar {
    background: #1f1f1f;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.03);
}

html.app-theme-dark .dashboard-menu-meta svg path,
html.app-theme-dark .dashboard-top-button svg rect,
html.app-theme-dark .dashboard-top-button svg path {
    stroke: #ad0017 !important;
}

html.app-theme-dark .dashboard-top-logo {
    filter: brightness(1.02);
}

.calculator-page {
    padding-top: 14px;
}

.calculator-section {
    margin-top: 30px;
}

.calculator-form {
    display: grid;
    gap: 18px;
}

.calculator-choice-block {
    display: grid;
    gap: 14px;
}

.calculator-field {
    border-radius: 16px;
    background: #ffffff;
    box-shadow: 0 8px 24px rgba(74, 39, 24, 0.06);
}

.calculator-field {
    padding: 14px 16px;
    display: grid;
    gap: 12px;
}

.calculator-field.is-disabled {
    opacity: 0.72;
}

.calculator-field.is-disabled input,
.calculator-field.is-disabled .calculator-inline-unit {
    color: #a49b96;
}

.calculator-select-card {
    padding-top: 12px;
}

.calculator-field-label {
    color: #b7b1ae;
    font-size: 15px;
    font-weight: 560;
    text-align: right;
}

.calculator-field-control {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
}

.calculator-custom-select {
    position: relative;
    width: 100%;
}

.calculator-custom-select-compact {
    width: auto;
    min-width: 0;
}

.calculator-custom-select-trigger {
    width: 100%;
    min-height: 44px;
    border: 1px solid #efe8e3;
    border-radius: 14px;
    background: #ffffff;
    color: #2d2628;
    font: inherit;
    font-size: 16px;
    font-weight: 560;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 0 14px;
    text-align: right;
    box-shadow: 0 8px 18px rgba(74, 39, 24, 0.05);
}

.calculator-custom-select-trigger:focus,
.calculator-custom-select-trigger:focus-visible {
    outline: none;
    box-shadow: none;
    border-color: #efe8e3;
}

.calculator-custom-select-trigger-compact {
    min-height: 24px;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    padding: 0;
    width: 100%;
    gap: 4px;
    justify-content: flex-end;
    color: #2d2628;
}

.calculator-custom-select-trigger svg {
    flex-shrink: 0;
    transition: transform 0.18s ease;
}

.calculator-custom-select.is-open .calculator-custom-select-trigger svg {
    transform: rotate(180deg);
}

.calculator-custom-select-menu {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    left: 0;
    background: #ffffff;
    border: 1px solid #efe8e3;
    border-radius: 16px;
    box-shadow: 0 16px 36px rgba(44, 20, 17, 0.14);
    padding: 8px;
    z-index: 8;
    display: grid;
    gap: 4px;
}

.calculator-custom-select-menu-compact {
    left: auto;
    min-width: 116px;
}

.calculator-custom-option {
    width: 100%;
    border: 0;
    border-radius: 12px;
    background: #ffffff;
    color: #2d2628;
    font: inherit;
    font-size: 15px;
    font-weight: 560;
    text-align: right;
    padding: 12px 14px;
}

.calculator-custom-option:hover,
.calculator-custom-option.is-selected {
    background: #f6f1e9;
    color: #6b0011;
}

.calculator-field-control input,
.calculator-field-unit-wrap select {
    border: 0;
    background: transparent;
    color: #2d2628;
    font: inherit;
    outline: 0;
}

.calculator-field-control input {
    flex: 1;
    min-width: 0;
    font-size: 20px;
    font-weight: 600;
    direction: ltr;
    text-align: right;
}

#pricePerGramInput {
    color: #7d724f;
}

.calculator-field-control input::placeholder {
    color: #c1bbb8;
}

.calculator-field-unit-wrap {
    display: inline-flex;
    align-items: center;
    gap: 2px;
    color: #2d2628;
    flex-shrink: 0;
    min-width: 58px;
    justify-content: flex-end;
    position: relative;
}

.calculator-field-unit-wrap select {
    appearance: none;
    padding-left: 18px;
    font-size: 16px;
    font-weight: 560;
    cursor: pointer;
    text-align: right;
}

.calculator-field-unit-wrap svg {
    flex-shrink: 0;
    pointer-events: none;
}

.calculator-field-control-text {
    align-items: center;
}

.calculator-inline-unit {
    color: #2d2628;
    font-size: 16px;
    font-weight: 560;
    flex-shrink: 0;
    min-width: 58px;
    text-align: left;
}

.calculator-error {
    margin: -4px 4px 0 0;
    color: #af2430;
    font-size: 14px;
}

.calculator-submit {
    border: 0;
    border-radius: 22px;
    background: #d5bb86;
    color: #3b3024;
    min-height: 48px;
    font: inherit;
    font-size: 18px;
    font-weight: 700;
    box-shadow: 0 10px 20px rgba(196, 166, 104, 0.3);
}

.calculator-result-modal {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    padding: 0 10px;
}

.calculator-result-modal .modal-dialog {
    margin: 0 auto;
    width: 100%;
    max-width: none;
    min-height: 100%;
    display: flex;
    align-items: flex-end;
    transform: translateY(100%);
    transition: transform 0.28s ease-out;
}

.calculator-result-modal.fade .modal-dialog {
    transform: translateY(100%);
}

.calculator-result-modal.show .modal-dialog {
    transform: translateY(0);
}

.calculator-result-modal .modal-content {
    width: 100%;
    border: 0;
    border-radius: 28px 28px 0 0;
    background: #ffffff;
    box-shadow: 0 -14px 40px rgba(49, 23, 16, 0.18);
}

.calculator-result-modal .modal-body,
.calculator-result-modal .modal-header,
.calculator-result-modal .modal-footer {
    border: 0;
}

.calculator-result-sheet {
    padding: 18px 16px 24px;
}

.calculator-result-sheet-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 16px;
}

.calculator-result-sheet-title {
    margin: 0;
    color: #241f22;
    font-size: 24px;
    font-weight: 700;
}

.calculator-result-close {
    border: 0;
    background: transparent;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.calculator-result-panel,
.calculator-guide-card {
    border-radius: 18px;
    background: #ffffff;
    box-shadow: 0 8px 24px rgba(74, 39, 24, 0.06);
}

.calculator-result-panel {
    padding: 12px 14px;
}

.calculator-result-line {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 16px 0;
    color: #1f1b1d;
    font-size: 16px;
}

.calculator-result-line+.calculator-result-line {
    border-top: 1px dashed #d9b66a;
}

.calculator-result-line strong {
    color: #242124;
    font-size: 16px;
    font-weight: 560;
}

.calculator-guide-card {
    margin-top: 22px;
    padding: 18px 16px 20px;
}

.calculator-guide-head {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 10px;
    margin-bottom: 14px;
    color: #6b0011;
}

.calculator-guide-head strong {
    font-size: 22px;
    font-weight: 700;
}

.calculator-guide-text {
    color: #aca8aa;
    font-size: 14px;
    line-height: 2;
    text-align: right;
}

.calculator-guide-text p {
    margin: 0;
}

.dashboard-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 12px;
    background: #ffffff;
    border-radius: 12px;
    padding: 8px 12px;
    box-shadow: 0 8px 22px rgba(90, 31, 15, 0.05);
}

.dashboard-topbar-actions {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.dashboard-top-button {
    border: 0;
    background: transparent;
    color: #4F000B;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    line-height: 0;
}

.dashboard-top-button svg {
    display: block;
}

.dashboard-top-logo {
    width: 62px;
    height: auto;
    display: block;
}

.dashboard-brand-logo {
    display: block;
    max-width: 110px;
    max-height: 82px;
    object-fit: contain;
}

body.board-customizable-page .dashboard-stage {
    width: min(100%, 1280px);
    max-width: 1280px;
    margin-right: auto;
    margin-left: auto;
    overflow: visible;
    background: var(--dashboard-board-surface, linear-gradient(180deg, var(--dashboard-board-bg, #f8f6f3) 0%, var(--dashboard-board-bg, #ffffff) 100%));
}

body.board-customizable-page .dashboard-overlay {
    right: max(0px, calc((100vw - 1280px) / 2));
    width: min(100vw, 1280px);
}

body.board-customizable-page .dashboard-drawer {
    right: max(0px, calc((100vw - 1280px) / 2));
}

body.board-customizable-page .dashboard-drawer-left {
    left: max(0px, calc((100vw - 1280px) / 2));
    right: auto;
}

body.board-customizable-page .dashboard-page {
    background: var(--dashboard-board-surface, linear-gradient(180deg, var(--dashboard-board-bg, #f4f3f1) 0%, var(--dashboard-board-bg, #ffffff) 100%));
}

body.board-customizable-page,
body.board-customizable-page .dashboard-shell {
    background: var(--dashboard-board-surface, var(--dashboard-board-bg, #f4f3f1));
}

body.board-customizable-page .dashboard-topbar,
body.board-customizable-page .board-customization-toolbar,
body.board-customizable-page .board-customization-logo-card {
    background: var(--dashboard-card-bg, #ffffff);
}

body.board-customizable-page .dashboard-brand-card,
body.board-customizable-page .dashboard-market-card,
body.board-customizable-page .dashboard-currency-card {
    background: var(--dashboard-card-surface, #ffffff);
    backdrop-filter: blur(18px);
}

.dashboard-brand-mark,
.dashboard-top-logo,
.dashboard-brand-logo {
    transform-origin: center;
}

.dashboard-brand-card {
    position: relative;
    background: #ffffff;
    border-radius: 12px;
    padding: 24px 78px 24px 78px;
    text-align: center;
    box-shadow: 0 10px 24px rgba(90, 31, 15, 0.06);
    min-height: 136px;
}

.dashboard-capture-frame {
    position: relative;
}

.dashboard-brand-content {
    min-height: 88px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.dashboard-brand-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    width: min(100%, 260px);
}

.dashboard-brand-mark svg,
.dashboard-brand-logo {
    width: 100%;
    max-width: 230px;
    max-height: 114px;
    height: auto;
}

.dashboard-brand-actions {
    position: absolute;
    top: 50%;
    left: 14px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    transform: translateY(-50%);
}

.dashboard-brand-action-button {
    width: 48px;
    height: 48px;
    border: 0;
    border-radius: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(180deg, rgba(226, 196, 128, 0.96) 0%, rgba(210, 167, 83, 0.96) 100%);
    box-shadow: 0 12px 28px rgba(121, 73, 18, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.55);
    transition: transform 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease;
}

.dashboard-brand-action-button:hover,
.dashboard-brand-action-button:focus-visible {
    transform: translateY(-1px) scale(1.03);
    box-shadow: 0 16px 34px rgba(121, 73, 18, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.62);
    filter: saturate(1.06);
}

.dashboard-brand-action-button:focus-visible {
    outline: 2px solid rgba(111, 0, 18, 0.24);
    outline-offset: 3px;
}

.dashboard-brand-action-button:disabled {
    cursor: wait;
    opacity: 0.7;
}

.dashboard-brand-action-button svg {
    display: block;
}

.dashboard-brand-action-button-secondary {
    background: linear-gradient(180deg, rgba(255, 251, 241, 0.98) 0%, rgba(241, 228, 190, 0.98) 100%);
}

.dashboard-is-capturing .dashboard-brand-actions {
    opacity: 0;
    pointer-events: none;
}

.dashboard-story-capture-animating .dashboard-topbar,
.dashboard-story-capture-animating .dashboard-footer-copy,
.dashboard-story-capture-animating .dashboard-bottom-nav,
.dashboard-story-capture-animating .dashboard-currency-card,
.dashboard-story-capture-animating .app-install-banner,
.dashboard-story-capture-animating .dashboard-brand-actions {
    transition: opacity 0.22s ease, transform 0.22s ease, filter 0.22s ease;
}

body.dashboard-story-capture-prepare .dashboard-topbar,
body.dashboard-story-capture-prepare .dashboard-footer-copy,
body.dashboard-story-capture-prepare .dashboard-bottom-nav,
body.dashboard-story-capture-prepare .dashboard-currency-card,
body.dashboard-story-capture-prepare .app-install-banner,
body.dashboard-story-capture-prepare .dashboard-brand-actions {
    opacity: 0;
    pointer-events: none;
    filter: blur(8px);
}

body.dashboard-story-capture-prepare .dashboard-topbar,
body.dashboard-story-capture-prepare .dashboard-brand-actions {
    transform: translateY(-12px);
}

body.dashboard-story-capture-prepare .dashboard-footer-copy,
body.dashboard-story-capture-prepare .dashboard-bottom-nav,
body.dashboard-story-capture-prepare .dashboard-currency-card,
body.dashboard-story-capture-prepare .app-install-banner {
    transform: translateY(12px);
}

body.dashboard-story-capture-hide .dashboard-topbar,
body.dashboard-story-capture-hide .dashboard-footer-copy,
body.dashboard-story-capture-hide .dashboard-bottom-nav,
body.dashboard-story-capture-hide .dashboard-currency-card,
body.dashboard-story-capture-hide .app-install-banner,
body.dashboard-story-capture-hide .dashboard-brand-actions {
    display: none !important;
}

.dashboard-status-row {
    display: flex;
    align-items: center;
    direction: rtl;
    opacity: var(--dashboard-text-opacity, 1);
    justify-content: space-between;
    gap: 8px;
    margin: 22px 2px 16px;
    color: var(--dashboard-title-color, #6f0012);
    font-size: var(--dashboard-text-size, 16px);
    font-weight: 720;
}

.dashboard-status-group {
    display: inline-flex;
    align-items: center;
    opacity: var(--dashboard-text-opacity, 1);
    gap: 6px;
    min-width: 0;
    white-space: nowrap;
}

.dashboard-status-group svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.dashboard-status-group>span {
    white-space: nowrap;
}

.dashboard-status-group-time {
    justify-content: flex-start;
}

.dashboard-status-group-date {
    justify-content: flex-end;
}

.dashboard-status-label {
    margin: 0;
}

.dashboard-market-section {
    margin-top: 8px;
}

@media (max-width: 575.98px) {
    .dashboard-brand-card {
        padding: 22px 66px 22px 66px;
        min-height: 124px;
    }

    .dashboard-brand-mark {
        width: min(100%, 208px);
    }

    .dashboard-brand-mark svg,
    .dashboard-brand-logo {
        max-width: 184px;
        max-height: 96px;
    }

    .dashboard-brand-actions {
        left: 10px;
        gap: 10px;
    }

    .dashboard-brand-action-button {
        width: 42px;
        height: 42px;
        border-radius: 16px;
    }
}

.dashboard-tabs {
    display: flex;
    opacity: var(--dashboard-text-opacity, 1);
    gap: 6px;
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 0;
    scrollbar-width: none;
}

.dashboard-tabs::-webkit-scrollbar {
    display: none;
}

.dashboard-tabs .nav-item {
    flex: 1 0 auto;
}

.dashboard-tabs .nav-link {
    min-width: 62px;
    border-radius: 0;
    border: 0;
    background: transparent;
    color: rgba(111, 0, 18, 0.64);
    padding: 10px 8px 14px;
    font-size: 16px;
    font-weight: 700;
    position: relative;
    box-shadow: none;
}

.dashboard-tabs .nav-link::after {
    content: "";
    position: absolute;
    right: 18%;
    left: 18%;
    bottom: 2px;
    height: 3px;
    border-radius: 999px;
    background: transparent;
    transform: scaleX(0.45);
    transition: background-color 0.2s ease, transform 0.2s ease;
}

.dashboard-tabs .nav-link.active,
.dashboard-tabs .show>.nav-link {
    color: #6f0012;
    background: transparent;
}

.dashboard-tabs .nav-link.active::after,
.dashboard-tabs .show>.nav-link::after {
    background: #d5bb86;
    transform: scaleX(1);
}

.dashboard-tabs .nav-link:focus,
.dashboard-tabs .nav-link:hover {
    color: #6f0012;
    background: transparent;
}

.dashboard-tab-content {
    margin-top: 14px;
}

.dashboard-market-card,
.dashboard-currency-card {
    background: #ffffff;
    border-radius: 12px;
    padding: 14px 14px 10px;
    box-shadow: 0 10px 24px rgba(90, 31, 15, 0.06);
}

.dashboard-card-head,
.dashboard-currency-head {
    display: flex;
    align-items: flex-start;
    color: var(--dashboard-title-color, var(--gold));
    font-size: clamp(14px, calc(var(--dashboard-title-size, 18px) * 0.78), 24px);
    font-weight: 720;
    margin-bottom: 6px;
}

.dashboard-card-head {
    flex-direction: row;
    justify-content: flex-start;
    gap: 10px;
}

.dashboard-card-head>div:first-child {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    text-align: right;
}

.dashboard-card-head span {
    font-size: 16px !important;
}

.dashboard-card-subtitle {
    display: block;
    color: #9f96a0;
    font-size: clamp(10px, calc(var(--dashboard-text-size, 16px) * 0.72), 18px);
    font-weight: 600;
    opacity: var(--dashboard-text-opacity, 1);
    text-align: right;
}

.dashboard-currency-head {
    justify-content: flex-start;
}

.dashboard-currency-title {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: var(--dashboard-title-color, #3A3A3A);
}

.dashboard-card-icon,
.dashboard-currency-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    order: -1;
    color: var(--dashboard-icon-color, var(--gold));
}

.dashboard-card-icon svg [fill]:not([fill="none"]),
.dashboard-currency-icon svg [fill]:not([fill="none"]),
.dashboard-top-button svg [fill]:not([fill="none"]),
.board-customization-logo-edit svg [fill]:not([fill="none"]),
.board-customization-toolbar-icon svg [fill]:not([fill="none"]) {
    fill: currentColor;
}

.dashboard-card-icon svg [stroke]:not([stroke="none"]),
.dashboard-currency-icon svg [stroke]:not([stroke="none"]),
.dashboard-top-button svg [stroke]:not([stroke="none"]),
.board-customization-logo-edit svg [stroke]:not([stroke="none"]),
.board-customization-toolbar-icon svg [stroke]:not([stroke="none"]) {
    stroke: currentColor;
}

.dashboard-price-list {
    display: grid;
}

.dashboard-price-table {
    gap: 0;
}

.dashboard-price-table > .dashboard-price-head + .dashboard-price-row {
    border-top: none;
}

.dashboard-price-head,
.dashboard-price-row-table {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(90px, 1fr) minmax(90px, 1fr);
    align-items: center;
    justify-items: center;
    column-gap: 10px;
}

.dashboard-price-head {
    background: rgba(228, 204, 149, 0.18);
    border-radius: 12px;
    padding: 8px 10px;
    color: var(--dashboard-title-color, #7d5920);
    font-size: clamp(12px, calc(var(--dashboard-text-size, 16px) * 0.84), 18px);
    font-weight: 760;
}

.dashboard-price-head-title,
.dashboard-price-title-cell {
    width: 100%;
    text-align: right;
    justify-self: stretch;
}

.dashboard-price-title-cell {
    display: inline-flex;
    align-items: center;
    justify-content: flex-start;
    gap: 6px;
    min-width: 0;
}

.dashboard-price-title-label {
    color: var(--dashboard-text-color, #3f383c);
    font-size: var(--dashboard-text-size, 16px);
    font-weight: 700;
    white-space: nowrap;
}

.dashboard-price-cell,
.dashboard-price-head-buy,
.dashboard-price-head-sell {
    text-align: center;
    justify-self: stretch;
}

.dashboard-price-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 0;
    border-top: 1px dashed rgba(122, 0, 19, 0.62);
    color: var(--dashboard-text-color, #3f383c);
    font-size: var(--dashboard-text-size, 16px);
    font-weight: 700;
    opacity: var(--dashboard-text-opacity, 1);
}

.dashboard-price-row-table {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(90px, 1fr) minmax(90px, 1fr);
    align-items: center;
    justify-items: center;
    column-gap: 10px;
    padding: 10px 0;
}

.dashboard-price-value {
    color: var(--dashboard-text-color, var(--gold));
    font-weight: 760;
    direction: ltr;
    display: inline-flex;
    align-items: center;
    flex-direction: row-reverse;
    gap: 4px;
    white-space: nowrap;
    opacity: var(--dashboard-text-opacity, 1);
}

.dashboard-price-cell .dashboard-price-value {
    justify-content: center;
    width: 100%;
    text-align: center;
}

.dashboard-price-cell.is-wide .dashboard-price-value,
.dashboard-price-head-sell.is-wide {
    justify-content: flex-end;
    text-align: left;
}

.dashboard-price-number {
    font-size: clamp(14px, calc(var(--dashboard-text-size, 16px) * 1.06), 30px);
    font-weight: 760;
    white-space: nowrap;
}

.dashboard-price-value small {
    font-size: 0.92em;
    margin-left: 0;
}

.dashboard-price-value .price-trend {
    order: -1;
}

.dashboard-price-title-cell .price-trend {
    order: 0;
}

.dashboard-price-value.is-loading,
.dashboard-currency-item.is-loading .dashboard-currency-value {
    position: relative;
    color: #bba980;
    overflow: hidden;
}

.dashboard-price-value.is-loading .dashboard-price-number,
.dashboard-currency-item.is-loading .dashboard-currency-number {
    font-size: 11px;
    font-weight: 600;
    white-space: nowrap;
    direction: rtl;
    unicode-bidi: plaintext;
    text-align: right;
}

.dashboard-price-value.is-loading::after,
.dashboard-currency-item.is-loading .dashboard-currency-value::after {
    content: "";
    position: absolute;
    inset: -2px;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0) 0%, rgba(255, 247, 220, 0.92) 50%, rgba(255, 255, 255, 0) 100%);
    transform: translateX(100%);
    animation: archiveLoadingSweep 1.3s linear infinite;
}

.dashboard-special-card {
    padding-bottom: 14px;
}

.dashboard-special-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin-top: 8px;
}

.dashboard-special-box {
    background: #faf8f5;
    border-radius: 14px;
    padding: 14px 12px;
    min-height: 88px;
    display: grid;
    gap: 6px;
}

.dashboard-special-box-icon {
    width: 38px;
    height: 38px;
    border-radius: 12px;
    background: linear-gradient(180deg, rgba(213, 187, 134, 0.2) 0%, rgba(213, 187, 134, 0.06) 100%);
    color: #8c1225;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: inset 0 0 0 1px rgba(213, 187, 134, 0.22);
}

.dashboard-special-box strong {
    color: #6f0012;
    font-size: 14px;
}

.dashboard-special-box span {
    color: #6b6769;
    font-size: 12px;
}

.dashboard-custom-list {
    max-height: 350px;
    overflow: auto;
    margin-top: 10px;
    display: grid;
}

.dashboard-custom-list-row {
    display: flex;
    align-items: center;
    flex-direction: row-reverse;
    justify-content: flex-start;
    gap: 14px;
    padding: 14px 0;
    border-top: 1px dashed rgba(111, 0, 18, 0.42);
}

.dashboard-custom-list-row:first-child {
    border-top: 0;
    padding-top: 4px;
}

.dashboard-currency-card {
    margin-top: 18px;
}

.dashboard-bubble-card {
    margin-top: 18px;
    border-radius: 18px;
    padding: 16px;
    background:
        linear-gradient(135deg, rgba(213, 187, 134, 0.18) 0%, rgba(255, 255, 255, 0) 42%),
        #ffffff;
    box-shadow: 0 10px 24px rgba(90, 31, 15, 0.06);
    border: 1px solid rgba(213, 187, 134, 0.16);
}

.dashboard-bubble-head {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 14px;
}

.dashboard-bubble-icon {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    color: #7a0013;
    background: linear-gradient(180deg, #fff6de 0%, #f7e4b6 100%);
    box-shadow: inset 0 0 0 1px rgba(213, 187, 134, 0.34);
}

.dashboard-bubble-kicker {
    display: block;
    color: #8a6830;
    font-size: 11px;
    font-weight: 850;
    margin-bottom: 3px;
}

.dashboard-bubble-head h2 {
    margin: 0;
    color: #4f000b;
    font-size: 18px;
    font-weight: 850;
}

.dashboard-bubble-head p {
    margin: 5px 0 0;
    color: #756d70;
    font-size: 12px;
    font-weight: 650;
    line-height: 1.8;
}

.dashboard-bubble-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.dashboard-bubble-item {
    min-height: 92px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 10px;
    padding: 12px;
    border-radius: 14px;
    border: 1px solid rgba(213, 187, 134, 0.22);
    background: rgba(255, 252, 244, 0.86);
}

.dashboard-bubble-label {
    color: #6c5f64;
    font-size: 12px;
    font-weight: 760;
    line-height: 1.7;
}

.dashboard-bubble-metrics {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    min-width: 0;
}

.dashboard-bubble-value {
    display: inline-flex;
    align-items: baseline;
    justify-content: flex-end;
    flex: 1 1 auto;
    min-width: 0;
    gap: 4px;
    color: #6f0012;
    font-size: clamp(13px, 3vw, 16px);
    font-weight: 850;
    line-height: 1.4;
    direction: rtl;
    white-space: nowrap;
}

.dashboard-bubble-value small {
    font-size: 10px;
    font-weight: 750;
    color: #8a6830;
}

.dashboard-bubble-percent {
    display: inline-flex;
    align-items: baseline;
    justify-content: center;
    flex: 0 0 auto;
    gap: 4px;
    padding: 5px 7px;
    border-radius: 999px;
    background: rgba(213, 187, 134, 0.14);
    color: #7a0013;
    font-size: 12px;
    font-weight: 850;
    line-height: 1.2;
    direction: rtl;
    white-space: nowrap;
}

.dashboard-bubble-percent small {
    font-size: 9px;
    font-weight: 800;
}

.dashboard-bubble-item.is-negative .dashboard-bubble-value {
    color: #0f7a49;
}

.dashboard-bubble-item.is-negative .dashboard-bubble-percent {
    color: #0f7a49;
    background: rgba(15, 122, 73, 0.1);
}

.dashboard-bubble-item.is-loading .dashboard-bubble-value {
    color: #bba980;
    font-size: 12px;
    direction: rtl;
}

.dashboard-profit-card {
    position: relative;
    margin-top: 18px;
    overflow: hidden;
    border-radius: 20px;
    padding: 18px;
    color: #fff8ed;
    background:
        radial-gradient(circle at 12% 0%, rgba(213, 187, 134, 0.38), transparent 34%),
        linear-gradient(135deg, #4f000b 0%, #74111f 52%, #1f1715 100%);
    box-shadow: 0 20px 42px rgba(79, 0, 11, 0.2);
}

.dashboard-profit-glow {
    position: absolute;
    inset: auto -44px -74px auto;
    width: 190px;
    height: 190px;
    border-radius: 999px;
    background: rgba(213, 187, 134, 0.18);
    filter: blur(4px);
    pointer-events: none;
}

.dashboard-profit-head,
.dashboard-profit-form,
.dashboard-profit-result {
    position: relative;
    z-index: 1;
}

.dashboard-profit-head {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    margin-bottom: 16px;
}

.dashboard-profit-icon {
    width: 46px;
    height: 46px;
    flex: 0 0 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    color: #4f000b;
    background: linear-gradient(180deg, #f5d991 0%, #d5bb86 100%);
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.18);
}

.dashboard-profit-kicker {
    display: inline-flex;
    width: fit-content;
    margin-bottom: 5px;
    padding: 4px 10px;
    border-radius: 999px;
    color: #ffe7ad;
    background: rgba(255, 255, 255, 0.1);
    font-size: 11px;
    font-weight: 800;
}

.dashboard-profit-head h2 {
    margin: 0;
    color: #fffaf2;
    font-size: 16px;
    font-weight: 860;
    line-height: 1.8;
}

.dashboard-profit-head p {
    margin: 5px 0 0;
    color: rgba(255, 248, 237, 0.76);
    font-size: 12px;
    font-weight: 600;
    line-height: 1.9;
}

.dashboard-profit-form {
    display: grid;
    gap: 12px;
}

.dashboard-profit-mode-toggle {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    padding: 4px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 226, 161, 0.18);
}

.dashboard-profit-mode-toggle label {
    margin: 0;
}

.dashboard-profit-mode-toggle input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.dashboard-profit-mode-toggle span {
    min-height: 38px;
    display: grid;
    place-items: center;
    border-radius: 12px;
    color: rgba(255, 248, 237, 0.82);
    font-size: 13px;
    font-weight: 780;
}

.dashboard-profit-mode-toggle input:checked+span {
    background: rgba(255, 248, 237, 0.95);
    color: #6f0012;
}

.dashboard-profit-fields-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.dashboard-profit-field {
    display: grid;
    gap: 7px;
}

.dashboard-profit-field>span {
    color: rgba(255, 248, 237, 0.84);
    font-size: 12px;
    font-weight: 760;
}

.dashboard-profit-field input,
.dashboard-profit-field select {
    width: 100%;
    min-height: 46px;
    border: 1px solid rgba(255, 226, 161, 0.2);
    border-radius: 15px;
    outline: none;
    background: rgba(255, 255, 255, 0.96);
    color: #2f272a;
    padding: 0 13px;
    font: inherit;
    font-size: 14px;
    font-weight: 720;
}

.dashboard-profit-field select {
    appearance: none;
    background-image: linear-gradient(45deg, transparent 50%, #7b5a21 50%), linear-gradient(135deg, #7b5a21 50%, transparent 50%);
    background-position: left 18px center, left 12px center;
    background-size: 6px 6px, 6px 6px;
    background-repeat: no-repeat;
    padding-left: 34px;
}

.dashboard-profit-field input:focus,
.dashboard-profit-field select:focus {
    border-color: rgba(245, 217, 145, 0.86);
    box-shadow: 0 0 0 3px rgba(245, 217, 145, 0.16);
}

.dashboard-profit-amount-wrap {
    position: relative;
}

.dashboard-profit-amount-wrap input {
    direction: ltr;
    text-align: left;
    padding-left: 60px;
    appearance: textfield;
    -moz-appearance: textfield;
}

.dashboard-profit-amount-wrap input::-webkit-outer-spin-button,
.dashboard-profit-amount-wrap input::-webkit-inner-spin-button {
    margin: 0;
    -webkit-appearance: none;
}

.dashboard-profit-amount-wrap small {
    position: absolute;
    left: 13px;
    top: 50%;
    transform: translateY(-50%);
    color: #8a6830;
    font-size: 12px;
    font-weight: 800;
    pointer-events: none;
}

.dashboard-profit-submit {
    min-height: 48px;
    border: 0;
    border-radius: 16px;
    color: #4f000b;
    background: linear-gradient(180deg, #f5d991 0%, #d5bb86 100%);
    font-size: 15px;
    font-weight: 880;
    box-shadow: 0 15px 28px rgba(0, 0, 0, 0.18);
}

.dashboard-profit-submit:disabled {
    cursor: wait;
    opacity: 0.72;
}

.dashboard-profit-result {
    margin-top: 14px;
    border-radius: 18px;
    padding: 14px;
    background: rgba(255, 255, 255, 0.96);
    color: #342c30;
}

.dashboard-profit-result.is-error {
    border: 1px solid rgba(198, 56, 44, 0.22);
}

.dashboard-profit-result.is-error strong {
    color: #b42318;
}

.dashboard-profit-result.is-error p {
    margin: 6px 0 0;
    color: #6f4d4d;
    font-size: 13px;
    font-weight: 650;
    line-height: 1.8;
}

.dashboard-profit-result-main {
    display: grid;
    gap: 4px;
    margin-bottom: 12px;
}

.dashboard-profit-result-main span {
    color: #7a666c;
    font-size: 12px;
    font-weight: 700;
}

.dashboard-profit-result-main strong {
    color: #12814a;
    font-size: 28px;
    font-weight: 900;
    direction: ltr;
    text-align: right;
}

.dashboard-profit-result-main small {
    color: #5f5559;
    font-size: 12px;
    font-weight: 650;
}

.dashboard-profit-result-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
}

.dashboard-profit-result-grid div {
    display: grid;
    gap: 3px;
    padding: 10px;
    border-radius: 13px;
    background: #f8f2e8;
}

.dashboard-profit-result-grid span {
    color: #86747a;
    font-size: 11px;
    font-weight: 700;
}

.dashboard-profit-result-grid strong {
    color: #3d3337;
    font-size: 13px;
    font-weight: 820;
    text-align: right;
}

.dashboard-profit-result-grid small {
    color: #8a6830;
    font-size: 10px;
}

.dashboard-profit-value {
    direction: ltr;
    unicode-bidi: isolate;
    display: inline-flex;
    flex-direction: row-reverse;
    align-items: baseline;
    gap: 4px;
    white-space: nowrap;
}

.dashboard-profit-value bdi {
    unicode-bidi: isolate;
}

.dashboard-profit-note-value {
    display: inline-flex;
    vertical-align: baseline;
    font-weight: 800;
}

.dashboard-profit-result-note {
    margin: 11px 0 0;
    color: #574c50;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.8;
}

.dashboard-profit-result-note b {
    color: #12814a;
    direction: ltr;
    unicode-bidi: plaintext;
}

@media (max-width: 420px) {
    .dashboard-bubble-grid {
        grid-template-columns: 1fr;
    }

    .dashboard-bubble-item {
        min-height: 72px;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }

    .dashboard-bubble-label {
        flex: 1 1 auto;
        min-width: 0;
        padding-left: 10px;
    }

    .dashboard-bubble-metrics {
        flex: 0 0 auto;
        justify-content: flex-end;
        gap: 8px;
    }

    .dashboard-bubble-value {
        flex: 0 1 auto;
        font-size: 13px;
    }

    .dashboard-bubble-percent {
        padding: 5px 8px;
        font-size: 11px;
    }

    .dashboard-profit-card {
        padding: 16px 14px;
    }

    .dashboard-profit-fields-grid,
    .dashboard-profit-result-grid {
        grid-template-columns: 1fr;
    }
}

@media (min-width: 421px) and (max-width: 768px) {
    .dashboard-bubble-grid {
        grid-template-columns: 1fr;
    }

    .dashboard-bubble-item {
        min-height: 76px;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }

    .dashboard-bubble-label {
        flex: 1 1 auto;
        min-width: 0;
        padding-left: 12px;
    }

    .dashboard-bubble-metrics {
        flex: 0 0 auto;
        justify-content: flex-end;
    }

    .dashboard-bubble-value {
        flex: 0 1 auto;
    }
}

.board-customization-page {
    padding: 14px 26px 170px;
}

.board-customization-layout {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.board-customization-layout>.board-customization-preview-card {
    margin-top: 4px;
}

.board-reorder-modal .modal-dialog {
    width: min(920px, calc(100vw - 24px));
    max-width: min(920px, calc(100vw - 24px));
    margin: 1rem auto;
}

.board-reorder-modal-content {
    border: 0;
    border-radius: 24px;
    padding: 18px 22px 22px;
    background: #f6f4f1;
    box-shadow: 0 28px 54px rgba(47, 15, 22, 0.24);
    overflow-x: hidden;
}

.board-reorder-modal-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    direction: ltr;
    gap: 18px;
}

.board-reorder-modal-copy {
    display: grid;
    gap: 8px;
    direction: rtl;
    text-align: center;
    flex: 1;
}

.board-reorder-modal-copy h2 {
    margin: 0;
    color: #2f2630;
    font-size: 28px;
    font-weight: 780;
}

.board-reorder-modal-copy p {
    margin: 0;
    color: #4c4347;
    font-size: 15px;
    line-height: 2;
}

.board-reorder-modal-close {
    width: 42px;
    height: 42px;
    border: 0;
    background: transparent;
    color: #22304b;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.board-reorder-modal-body {
    display: grid;
    gap: 18px;
    margin-top: 18px;
}

.board-reorder-modal-field {
    display: grid;
    gap: 10px;
}

.board-reorder-modal-field span {
    color: #4c4347;
    font-size: 15px;
    font-weight: 700;
}

.board-reorder-modal-field input {
    width: 100%;
    min-height: 54px;
    border: 1px solid rgba(111, 0, 18, 0.12);
    border-radius: 16px;
    background: #ffffff;
    color: #322930;
    padding: 0 16px;
    font-size: 16px;
    outline: none;
}

.board-reorder-modal-field input:focus {
    border-color: rgba(111, 0, 18, 0.4);
    box-shadow: 0 0 0 4px rgba(111, 0, 18, 0.08);
}

.board-reorder-list-wrap {
    max-height: min(58vh, 560px);
    overflow: auto;
    overflow-x: hidden;
    border-radius: 22px;
    background: #ffffff;
    padding: 10px 14px;
}

.board-reorder-list {
    display: grid;
    min-width: 0;
}

.board-reorder-item {
    display: flex;
    align-items: center;
    direction: rtl;
    justify-content: space-between;
    gap: 16px;
    min-height: 72px;
    padding: 0 8px;
    border-top: 1px dashed rgba(111, 0, 18, 0.55);
    cursor: grab;
    transition: background-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
    min-width: 0;
}

.board-reorder-item:first-child {
    border-top: 0;
}

.board-reorder-item.is-dragging {
    opacity: 0.48;
}

.board-reorder-item.is-drop-before {
    box-shadow: inset 0 3px 0 #6f0012;
}

.board-reorder-item.is-drop-after {
    box-shadow: inset 0 -3px 0 #6f0012;
}

.board-reorder-item-main {
    display: inline-flex;
    align-items: center;
    direction: rtl;
    gap: 14px;
    color: #332b30;
    font-size: 17px;
    min-width: 0;
    flex: 1 1 auto;
}

.board-reorder-item-main strong {
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.board-reorder-item-toggle {
    width: 34px;
    height: 34px;
    border: 1px solid rgba(111, 0, 18, 0.12);
    border-radius: 10px;
    background: linear-gradient(180deg, #fff7f8 0%, #f7e8eb 100%);
    color: #7a0f20;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 8px 18px rgba(111, 0, 18, 0.08);
    transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}

.board-reorder-item-toggle:hover {
    transform: translateY(-1px);
    box-shadow: 0 12px 20px rgba(111, 0, 18, 0.12);
}

.board-reorder-item-toggle.is-off {
    background: linear-gradient(180deg, #f6f2f2 0%, #ece6e6 100%);
    color: #a59191;
    box-shadow: none;
}

.board-reorder-item.is-disabled .board-reorder-item-main,
.board-reorder-item.is-disabled .board-reorder-item-handle,
.board-reorder-item.is-disabled .board-reorder-item-toggle {
    opacity: 0.45;
}

.board-reorder-item-handle {
    color: #7a0f20;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.board-reorder-modal-footer {
    margin-top: 16px;
    display: flex;
    justify-content: flex-start;
    gap: 12px;
}

.board-reorder-hide {
    min-width: 220px;
    min-height: 52px;
    border: 1px solid rgba(111, 0, 18, 0.16);
    border-radius: 999px;
    background: linear-gradient(180deg, #ffffff 0%, #f8f1f2 100%);
    color: #6f0012;
    font-size: 18px;
    font-weight: 760;
    padding: 0 28px;
    box-shadow: 0 10px 20px rgba(111, 0, 18, 0.06);
    transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.board-reorder-hide:hover,
.board-reorder-save:hover {
    transform: translateY(-1px);
}

.board-reorder-hide:hover {
    box-shadow: 0 14px 24px rgba(111, 0, 18, 0.1);
}

.board-reorder-save {
    min-width: 280px;
    min-height: 52px;
    border: 0;
    border-radius: 999px;
    background: #d8bc7a;
    color: #3c3129;
    font-size: 20px;
    font-weight: 760;
    padding: 0 30px;
    box-shadow: 0 14px 24px rgba(216, 188, 122, 0.28);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.board-reorder-save:hover {
    box-shadow: 0 18px 26px rgba(216, 188, 122, 0.38);
}

.board-customization-stage {
    width: min(100%, 1080px);
    max-width: 1080px;
    margin-right: auto;
    margin-left: auto;
    overflow: visible;
}

.board-customization-toolbar,
.board-customization-logo-card {
    border-radius: 14px;
    padding: 10px 14px;
    box-shadow: 0 8px 18px rgba(90, 31, 15, 0.05);
}

.board-customization-toolbar-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    color: #40373b;
    font-size: 16px;
    font-weight: 760;
}

.board-customization-toolbar-title-main {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    direction: rtl;
}

.board-customization-toolbar-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.board-customization-toolbar-icon-art rect {
    fill: #d5bb86 !important;
}

.board-customization-toolbar-icon-art path {
    fill: #ffffff !important;
    stroke: none !important;
}

.board-customization-toolbar-reset {
    border: 0;
    background: transparent;
    color: #8b8186;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 0;
    flex-shrink: 0;
}

.board-customization-toolbar-reset-copy {
    display: grid;
    text-align: left;
}

.board-customization-toolbar-reset-copy small {
    color: inherit;
    font-size: 11px;
    line-height: 1.5;
}

.board-customization-toolbar-reset-icon {
    width: 34px;
    height: 34px;
    border-radius: 12px;
    border: 1px solid rgba(213, 187, 134, 0.26);
    background: #fffaf1;
    color: #b0842d;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 18px rgba(90, 31, 15, 0.08);
}

.board-customization-actions {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 10px;
    margin-top: 10px;
}

.board-customization-mobile-strip-hint {
    display: none;
    margin: 10px 2px 0;
    color: #8b8186;
    font-size: 11px;
    text-align: center;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.board-customization-mobile-strip-hint-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #b0842d;
    animation: boardCustomizationSwipeHint 1.6s ease-in-out infinite;
    transform: translateX(0);
}

@keyframes boardCustomizationSwipeHint {

    0%,
    100% {
        transform: translateX(0);
        opacity: 0.72;
    }

    25% {
        transform: translateX(4px);
        opacity: 1;
    }

    75% {
        transform: translateX(-4px);
        opacity: 1;
    }
}

@media (max-width: 1200px) {
    .board-customization-actions {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

@media (max-width: 991px) {
    .board-reorder-modal .modal-dialog {
        width: calc(100vw - 16px);
        max-width: calc(100vw - 16px);
        margin: 0.75rem auto;
    }

    .board-reorder-modal-content {
        padding: 16px;
    }

    .board-reorder-modal-copy h2 {
        font-size: 22px;
    }

    .board-reorder-item {
        min-height: 64px;
        gap: 10px;
    }

    .board-reorder-item-main {
        font-size: 15px;
        gap: 10px;
    }

    .board-reorder-save {
        width: 100%;
        min-width: 0;
    }
}

.board-customization-picker {
    width: 100%;
    border: 1px solid rgba(213, 187, 134, 0.26);
    border-radius: 12px;
    background: #fffaf1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 12px;
    text-align: right;
    color: #3a3135;
}

.board-customization-select {
    width: 100%;
    border: 1px solid rgba(213, 187, 134, 0.26);
    border-radius: 12px;
    background: #fffaf1;
    display: grid;
    gap: 10px;
    padding: 10px 12px;
    color: #3a3135;
}

.board-customization-select-input {
    width: 100%;
    min-width: 0;
    height: 38px;
    border: 1px solid rgba(213, 187, 134, 0.28);
    border-radius: 10px;
    background: #ffffff;
    color: #3a3135;
    padding: 0 12px;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
}

.board-customization-stepper {
    width: 100%;
    border: 1px solid rgba(213, 187, 134, 0.26);
    border-radius: 12px;
    background: #fffaf1;
    display: grid;
    gap: 10px;
    padding: 10px 12px;
    color: #3a3135;
}

.board-customization-stepper-controls {
    display: grid;
    grid-template-columns: 36px minmax(0, 1fr) 36px;
    gap: 8px;
    align-items: center;
}

.board-customization-stepper-input {
    width: 100%;
    min-width: 0;
    height: 36px;
    border: 1px solid rgba(213, 187, 134, 0.28);
    border-radius: 10px;
    background: #ffffff;
    color: #3a3135;
    text-align: center;
    font-size: 14px;
    font-weight: 700;
    appearance: textfield;
    -moz-appearance: textfield;
}

.board-customization-stepper-input::-webkit-outer-spin-button,
.board-customization-stepper-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.board-customization-stepper-button {
    width: 36px;
    height: 36px;
    border: 0;
    border-radius: 10px;
    background: #d5bb86;
    color: #3a3135;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    line-height: 1;
    font-weight: 500;
}

.board-customization-picker-copy {
    display: grid;
    gap: 4px;
}

.board-customization-picker-copy strong {
    font-size: 14px;
    font-weight: 700;
}

.board-customization-picker-copy small {
    color: #8b8186;
    direction: ltr;
    text-align: right;
    font-size: 11px;
}

.board-customization-picker-swatch {
    width: 30px;
    height: 30px;
    border-radius: 10px;
    border: 3px solid #ffffff;
    box-shadow: 0 8px 18px rgba(90, 31, 15, 0.12);
    flex-shrink: 0;
}

.board-customization-preview-card {
    position: relative;
}

.board-customization-hero-card {
    min-height: 210px;
    padding: 18px 22px 16px;
    display: grid;
    justify-items: center;
    align-content: center;
}

.board-customization-logo-edit {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 34px;
    height: 34px;
    border: 0;
    border-radius: 10px;
    background: #fff6e3;
    color: #d5bb86;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 18px rgba(90, 31, 15, 0.08);
}

.dashboard-special-link-box {
    text-decoration: none;
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}
.dashboard-special-link-box:hover,
.dashboard-special-link-box:focus-visible {
    transform: translateY(-2px);
    border-color: rgba(213, 187, 134, 0.4);
    box-shadow: 0 14px 30px rgba(90, 31, 15, 0.1);
}
.dashboard-special-link-box:focus-visible {
    outline: 2px solid rgba(111, 0, 18, 0.18);
    outline-offset: 3px;
}

.dashboard-prices-sheet-modal {
    padding: 0 !important;
    align-items: flex-end;
}

.dashboard-prices-sheet-modal.show {
    display: flex !important;
    align-items: flex-end;
}

.dashboard-prices-sheet-modal .modal-dialog {
    width: min(520px, calc(100vw - 12px));
    max-width: min(520px, calc(100vw - 12px));
    max-height: calc(100dvh - 6px);
    min-height: auto;
    margin: auto auto 0;
    display: flex;
    align-items: flex-end;
}

.dashboard-prices-sheet-content {
    width: 100%;
    border: 0;
    border-radius: 28px 28px 0 0;
    background: #f7f5f4;
    box-shadow: 0 -18px 48px rgba(43, 24, 30, 0.18);
    overflow: hidden;
    max-height: calc(100dvh - 6px);
    display: flex;
    flex-direction: column;
}

.dashboard-prices-sheet-handle {
    width: 54px;
    height: 5px;
    border-radius: 999px;
    background: rgba(95, 85, 89, 0.18);
    margin: 10px auto 2px;
}

.dashboard-prices-sheet-header {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 12px;
    padding: 8px 12px 10px;
}

.dashboard-prices-sheet-title-wrap {
    display: grid;
    justify-items: center;
    align-items: center;
    gap: 4px;
    min-width: 0;
    text-align: center;
}

.dashboard-prices-sheet-logo {
    width: 46px;
    height: 46px;
    object-fit: contain;
    flex-shrink: 0;
}

.dashboard-prices-sheet-title-line {
    margin: 0;
    color: #2d2126;
    font-size: 11px;
    font-weight: 700;
    line-height: 1.35;
    white-space: nowrap;
}

.dashboard-prices-sheet-close,
.dashboard-prices-sheet-capture {
    width: 36px;
    height: 36px;
    border-radius: 999px;
    border: 1px solid rgba(95, 85, 89, 0.18);
    background: #ffffff;
    color: #4a3c42;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.dashboard-prices-sheet-capture {
    background: linear-gradient(180deg, rgba(226, 196, 128, 0.96) 0%, rgba(210, 167, 83, 0.96) 100%);
    color: #4f000b;
    box-shadow: 0 10px 24px rgba(121, 73, 18, 0.18);
}

.dashboard-prices-sheet-body {
    padding: 0 8px 8px;
    display: grid;
    gap: 6px;
    min-height: 0;
    overflow-y: auto;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
}

.dashboard-prices-sheet-section {
    border-radius: 16px;
    background: #ffffff;
    padding: 7px 10px;
    box-shadow: inset 0 0 0 1px rgba(95, 85, 89, 0.05);
}

.dashboard-prices-sheet-export-root {
    position: fixed;
    inset: 0;
    display: grid;
    justify-items: center;
    align-content: start;
    padding-top: 28px;
    left: auto;
    top: 0;
    width: 100vw;
    padding: 0;
    margin: 0;
    pointer-events: none;
    overflow: visible;
    opacity: 0;
    visibility: hidden;
    z-index: -1;
}

.dashboard-prices-sheet-export-surface {
    width: 520px;
    max-width: 520px;
    max-height: none;
    overflow: visible;
    display: block;
}

.dashboard-prices-sheet-header-export {
    grid-template-columns: 36px 1fr 36px;
}

.dashboard-prices-sheet-header-spacer {
    width: 36px;
    height: 36px;
}

.dashboard-prices-export-mode {
    background: #fdfbf8;
    box-shadow: none;
}

.dashboard-prices-export-mode .dashboard-prices-sheet-body {
    gap: 10px;
    overflow: visible;
}

.dashboard-prices-export-mode .dashboard-prices-sheet-section {
    box-shadow: none;
    border: 1px solid rgba(111, 0, 18, 0.08);
}

.dashboard-prices-export-mode .dashboard-prices-sheet-section-head {
    margin-bottom: 6px;
}

.dashboard-prices-export-mode .dashboard-prices-sheet-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 10px;
}

.dashboard-prices-export-mode .dashboard-prices-sheet-row-main {
    display: block;
}

.dashboard-prices-export-mode .dashboard-prices-sheet-row-value {
    display: inline-flex;
    align-items: center;
    gap: 3px;
}

body.dashboard-prices-sheet-export-active .dashboard-prices-sheet-export-root {
    opacity: 1;
    visibility: visible;
    z-index: 1040;
}

.dashboard-prices-sheet-snapshot {
    width: 520px !important;
    max-width: 520px !important;
    max-height: none !important;
    overflow: visible !important;
}

.dashboard-prices-sheet-section-currency .dashboard-prices-sheet-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
}

.dashboard-prices-sheet-section-currency .dashboard-prices-sheet-currency-item:last-child:nth-child(odd) {
    grid-column: 1 / -1;
}

.dashboard-prices-sheet-section-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 4px;
    padding-bottom: 4px;
    border-bottom: 1px dashed rgba(111, 0, 18, 0.18);
}

.dashboard-prices-sheet-section-head span {
    color: #4f000b;
    font-size: 18px;
    font-weight: 820;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.dashboard-prices-sheet-section-icon {
    width: 30px;
    height: 30px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #d4ab47;
    flex-shrink: 0;
}

.dashboard-prices-sheet-section-silver .dashboard-prices-sheet-section-icon {
    color: #d4ab47;
}

.dashboard-prices-sheet-list {
    display: grid;
    gap: 0;
}

.dashboard-prices-sheet-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 4px 0;
}

.dashboard-prices-sheet-row + .dashboard-prices-sheet-row {
    border-top: 1px solid rgba(111, 0, 18, 0.08);
}

.dashboard-prices-sheet-row-main {
    display: grid;
    gap: 1px;
    min-width: 0;
}

.dashboard-prices-sheet-row-main strong {
    color: #2f262a;
    font-size: 12px;
    font-weight: 760;
    line-height: 1.2;
}

.dashboard-prices-sheet-row-value {
    color: #c79b41;
    font-size: 12px;
    font-weight: 820;
    white-space: nowrap;
    line-height: 1.15;
}

.dashboard-prices-sheet-row-value small,
.dashboard-prices-sheet-currency-value small {
    color: #978b90;
    font-size: 9px;
    font-weight: 700;
    margin-right: 3px;
}

.dashboard-prices-sheet-currency-item {
    min-width: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 10px 10px;
    border-radius: 12px;
    background: #fcfaf6;
    box-shadow: inset 0 0 0 1px rgba(111, 0, 18, 0.08);
}

.dashboard-prices-sheet-currency-label {
    min-width: 0;
    color: #2f262a;
    font-size: 12px;
    font-weight: 760;
    line-height: 1.2;
}

.dashboard-prices-sheet-currency-value {
    color: #c79b41;
    font-size: 12px;
    font-weight: 820;
    line-height: 1.15;
    white-space: nowrap;
}

.dashboard-prices-sheet-empty {
    color: #8a7d82;
    font-size: 12px;
    text-align: center;
    padding: 8px 0 4px;
}

.dashboard-prices-sheet-is-capturing .dashboard-prices-sheet-close,
.dashboard-prices-sheet-is-capturing .dashboard-prices-sheet-capture {
    opacity: 0;
    pointer-events: none;
}

@media (max-width: 575.98px) {
    .dashboard-prices-sheet-modal .modal-dialog {
        width: calc(100vw - 8px);
        max-width: calc(100vw - 8px);
    }

    .dashboard-prices-sheet-header {
        gap: 10px;
        padding-inline: 12px;
    }

    .dashboard-prices-sheet-body {
        padding-inline: 8px;
        padding-bottom: 8px;
    }

    .dashboard-prices-sheet-logo {
        width: 40px;
        height: 40px;
    }

    .dashboard-prices-sheet-title-line {
        font-size: 9.5px;
    }

    .dashboard-prices-sheet-section-head span {
        font-size: 16px;
    }

    .dashboard-prices-sheet-section-icon {
        width: 26px;
        height: 26px;
    }

    .dashboard-prices-sheet-section-currency .dashboard-prices-sheet-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}
.board-customization-logo-edit-art rect {
    fill: #d5bb86 !important;
}

.board-customization-logo-edit-art path {
    stroke: #ffffff !important;
    fill: none !important;
}

.board-customization-hero-card .dashboard-brand-mark {
    cursor: pointer;
}

.board-customization-title {
    margin: 6px 0 0;
    color: var(--dashboard-title-color, #40373b);
    font-size: var(--dashboard-site-title-size, 22px);
    font-weight: 780;
    line-height: 1.5;
    outline: 0;
    cursor: text;
    text-align: center;
}

.board-customization-title:focus {
    color: var(--dashboard-title-color, #6b0011);
}

.board-customization-preview-badge {
    position: absolute;
    top: 14px;
    left: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 28px;
    padding: 4px 12px;
    border-radius: 999px;
    background: #fff6e3;
    color: #b0842d;
    font-size: 12px;
    font-weight: 700;
}

.board-customization-preview-hint {
    margin: 8px 0 0;
    color: #8b8186;
    font-size: 11px;
    text-align: center;
    opacity: var(--dashboard-text-opacity, 1);
}

@keyframes boardLogoFlash {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.35;
    }
}

@keyframes boardLogoShake {

    0%,
    100% {
        transform: translateX(0);
    }

    20% {
        transform: translateX(-4px) rotate(-2deg);
    }

    40% {
        transform: translateX(4px) rotate(2deg);
    }

    60% {
        transform: translateX(-3px) rotate(-1deg);
    }

    80% {
        transform: translateX(3px) rotate(1deg);
    }
}

@keyframes boardLogoFloat {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-8px);
    }
}

@keyframes boardLogoPulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.08);
    }
}

@keyframes boardLogoWiggle {

    0%,
    100% {
        transform: rotate(0deg);
    }

    25% {
        transform: rotate(-6deg);
    }

    50% {
        transform: rotate(5deg);
    }

    75% {
        transform: rotate(-3deg);
    }
}

@keyframes boardLogoGlow {

    0%,
    100% {
        filter: drop-shadow(0 0 0 rgba(213, 187, 134, 0));
    }

    50% {
        filter: drop-shadow(0 0 18px rgba(213, 187, 134, 0.75));
    }
}

body.board-logo-effect-flash .dashboard-brand-mark,
body.board-logo-effect-flash .dashboard-brand-mark>* {
    animation: boardLogoFlash 1.4s ease-in-out infinite;
}

body.board-logo-effect-shake .dashboard-brand-mark,
body.board-logo-effect-shake .dashboard-brand-mark>* {
    animation: boardLogoShake 1.6s ease-in-out infinite;
}

body.board-logo-effect-float .dashboard-brand-mark,
body.board-logo-effect-float .dashboard-brand-mark>* {
    animation: boardLogoFloat 2.3s ease-in-out infinite;
}

body.board-logo-effect-pulse .dashboard-brand-mark,
body.board-logo-effect-pulse .dashboard-brand-mark>* {
    animation: boardLogoPulse 1.7s ease-in-out infinite;
}

body.board-logo-effect-wiggle .dashboard-brand-mark,
body.board-logo-effect-wiggle .dashboard-brand-mark>* {
    animation: boardLogoWiggle 1.8s ease-in-out infinite;
}

body.board-logo-effect-glow .dashboard-brand-mark,
body.board-logo-effect-glow .dashboard-brand-mark>* {
    animation: boardLogoGlow 1.8s ease-in-out infinite;
}

.board-customization-status-row {
    margin: 0;
    padding: 0 8px;
}

.board-customization-market-section {
    margin-top: 2px;
}

.board-customization-market-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    align-items: stretch;
}

.board-customization-market-grid.has-custom-card {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    align-items: stretch;
}

.board-customization-market-grid>* {
    min-width: 0;
}

.board-customization-market-grid.has-custom-card>* {
    min-width: 0;
}

.board-preview-card {
    margin-top: 0;
    min-height: 318px;
    height: 100%;
    padding: 12px 10px 10px;
    border-radius: 16px;
}

.board-preview-card-head {
    margin-bottom: 4px;
}

.board-preview-card-head span {
    font-size: clamp(12px, calc(var(--dashboard-title-size, 18px) * 0.72), 22px);
}

.board-preview-card .dashboard-card-icon {
    width: 26px;
    height: 26px;
}

.board-preview-card .dashboard-card-icon svg {
    width: 22px;
    height: 22px;
}

.board-preview-price-list {
    gap: 0;
}

.board-preview-price-table {
    gap: 0;
}

.board-preview-price-table .dashboard-price-head {
    padding: 8px 8px;
    margin-bottom: 2px;
}

.board-preview-price-table .dashboard-price-row {
    padding: 10px 0 8px;
    gap: 8px;
}

.board-preview-price-table .dashboard-price-head-title,
.board-preview-price-table .dashboard-price-head-buy,
.board-preview-price-table .dashboard-price-head-sell,
.board-preview-price-table .dashboard-price-title-label {
    font-size: clamp(11px, calc(var(--dashboard-text-size, 16px) * 0.78), 20px);
}

.board-preview-price-table .dashboard-price-value {
    font-size: clamp(10px, calc(var(--dashboard-text-size, 16px) * 0.74), 18px);
}

.board-preview-price-table .dashboard-price-number {
    font-size: clamp(11px, calc(var(--dashboard-text-size, 16px) * 0.82), 22px);
}

.board-preview-price-table .dashboard-price-value small {
    font-size: clamp(9px, calc(var(--dashboard-text-size, 16px) * 0.66), 16px);
}

.board-preview-card .dashboard-price-head,
.board-preview-card .dashboard-price-row-table {
    grid-template-columns: minmax(58px, 0.95fr) minmax(0, 1fr) minmax(0, 1fr);
    column-gap: 6px;
}

.board-preview-card .dashboard-price-head {
    padding: 8px 8px;
    margin-bottom: 2px;
}

.board-preview-card .dashboard-price-row {
    padding: 10px 0 8px;
    gap: 8px;
}

.board-preview-card .dashboard-price-title-label,
.board-preview-card .dashboard-price-head-title,
.board-preview-card .dashboard-price-head-buy,
.board-preview-card .dashboard-price-head-sell {
    font-size: clamp(11px, calc(var(--dashboard-text-size, 16px) * 0.78), 18px);
}

.board-preview-card .dashboard-price-cell {
    min-width: 0;
}

.board-preview-card .dashboard-price-cell .dashboard-price-value {
    width: 100%;
    min-width: 0;
    display: grid;
    justify-items: center;
    align-items: center;
    gap: 2px;
    direction: rtl;
    white-space: normal;
    line-height: 1.18;
}

.board-preview-card .dashboard-price-number {
    max-width: 100%;
    direction: ltr;
    unicode-bidi: plaintext;
    font-size: clamp(11px, calc(var(--dashboard-text-size, 16px) * 0.82), 20px);
    line-height: 1.15;
}

.board-preview-card .dashboard-price-value small {
    display: block;
    max-width: 100%;
    margin: 0;
    font-size: clamp(9px, calc(var(--dashboard-text-size, 16px) * 0.62), 14px);
    line-height: 1.1;
}

.board-preview-card .dashboard-price-cell.is-wide .dashboard-price-value,
.board-preview-card .dashboard-price-head-sell.is-wide {
    justify-content: center;
    text-align: center;
}

.board-customization-custom-edit {
    width: 32px;
    height: 32px;
    border: 0;
    border-radius: 10px;
    background: rgba(213, 187, 134, 0.18);
    color: var(--dashboard-icon-color, #d5bb86);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.board-reorder-list-wrap::-webkit-scrollbar,
.dashboard-custom-list::-webkit-scrollbar {
    width: 8px;
}

.board-reorder-list-wrap::-webkit-scrollbar-thumb,
.dashboard-custom-list::-webkit-scrollbar-thumb {
    background: rgba(111, 0, 18, 0.22);
    border-radius: 999px;
}

.board-custom-list-row {
    gap: 10px;
    justify-content: space-between;
}

.custom-board-display-main {
    padding-bottom: 88px;
}

body.custom-board-display-page .dashboard-page {
    background: transparent;
}

.custom-board-display-hero {
    margin-top: 10px;
    margin-bottom: 12px;
}

.custom-board-display-status,
.custom-board-display-market,
.custom-board-display-currency,
.custom-board-display-footer {
    margin-right: 8px;
    margin-left: 8px;
}

.custom-board-display-status {
    margin-top: 14px;
    margin-bottom: 20px;
}

.custom-board-display-market {
    margin-top: 0;
}

.custom-board-display-currency {
    margin-top: 14px;
}

.custom-board-market-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: stretch;
}

.custom-board-market-grid.has-custom-card {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
}

.custom-board-market-grid>* {
    min-width: 0;
}

.custom-board-market-grid>* {
    min-width: 0;
}

.board-custom-list-row-main,
.dashboard-custom-list-row-main {
    display: inline-flex;
    align-items: center;
    direction: rtl;
    gap: 8px;
    min-width: 0;
}

.board-custom-list-row .dashboard-price-value,
.dashboard-custom-list-row .dashboard-price-value {
    text-align: left;
}

.board-custom-list-empty {
    padding: 16px 0 8px;
    color: rgba(63, 56, 60, 0.68);
    font-size: 13px;
    text-align: center;
}

.board-custom-list-empty-dashboard {
    padding: 18px 0 6px;
}

.board-custom-list-row-main>span:last-child,
.dashboard-custom-list-row-main>span:last-child {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.board-custom-row-trend,
.dashboard-custom-row-trend {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.board-custom-row-trend.is-up,
.dashboard-custom-row-trend.is-up {
    color: #27c46b;
}

.board-custom-row-trend.is-down,
.dashboard-custom-row-trend.is-down {
    color: #ff3f47;
}

.board-customization-currency-card {
    margin-top: 10px;
}

.board-customization-currency-card .dashboard-currency-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.board-customization-ticker-shell {
    margin-top: 10px;
}

.board-customization-ticker-track {
    animation-duration: 34s;
}

.board-dashboard-ticker-item {
    min-width: 170px;
}

.board-dashboard-ticker-item::before {
    width: 3px;
    height: 34px;
    background: rgba(111, 0, 18, 0.24);
    box-shadow: 0 0 0 1px rgba(213, 187, 134, 0.16);
}

.board-dashboard-ticker-item .ticker-value-number {
    color: var(--dashboard-text-color, var(--gold));
}

.board-dashboard-ticker-item .ticker-side-label {
    color: rgba(63, 56, 60, 0.88);
    font-weight: 800;
}

body.board-customizable-page .board-dashboard-ticker-item .ticker-title,
body.board-customizable-page .board-dashboard-ticker-item .ticker-side-label,
body.board-customizable-page .board-dashboard-ticker-item .ticker-value-number {
    opacity: var(--dashboard-text-opacity, 1);
}

.board-customization-footer-copy {
    margin-top: 6px;
}

body.board-customizable-page .board-dashboard-ticker-item .ticker-title,
body.board-customizable-page .board-dashboard-ticker-item .ticker-side-label,
body.board-customizable-page .board-dashboard-ticker-item .ticker-value-number,
body.board-customizable-page .dashboard-footer-copy,
body.board-customizable-page .dashboard-footer-copy a,
body.board-customizable-page .board-custom-list-empty,
body.board-customizable-page .dashboard-card-head>div,
body.board-customizable-page .dashboard-card-head>span,
body.board-customizable-page .dashboard-currency-title {
    opacity: var(--dashboard-text-opacity, 1);
}

body.board-customizable-page .dashboard-bottom-nav {
    width: min(calc(100% - 48px), 760px);
    left: 50%;
    right: auto;
    transform: translateX(-50%);
}

@media (max-width: 820px) {
    .board-customization-page {
        padding: 14px 14px 152px;
    }

    .board-customization-stage {
        width: 100%;
        max-width: 100%;
    }

    .board-customization-market-grid,
    .board-customization-market-grid.has-custom-card,
    .custom-board-market-grid,
    .custom-board-market-grid.has-custom-card {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }

    .custom-board-display-status,
    .custom-board-display-market,
    .custom-board-display-currency,
    .custom-board-display-footer {
        margin-right: 0;
        margin-left: 0;
    }

    body.board-customizable-page .dashboard-bottom-nav {
        width: calc(100% - 24px);
    }
}

@media (max-width: 640px) {

    .board-customization-page,
    .custom-board-display-main {
        padding-right: 10px;
        padding-left: 10px;
    }

    .board-customization-page {
        padding-bottom: 148px;
    }

    .custom-board-display-main {
        padding-bottom: 120px;
    }

    .board-customization-toolbar,
    .board-customization-preview-card,
    .custom-board-display-hero,
    .board-customization-currency-card {
        border-radius: 18px;
    }

    .board-customization-toolbar-title {
        align-items: stretch;
        flex-direction: column;
    }

    .board-customization-toolbar-title-main {
        width: 100%;
        justify-content: flex-start;
    }

    .board-customization-toolbar-reset {
        width: 100%;
        justify-content: space-between;
    }

    .board-customization-actions {
        display: grid;
        grid-auto-flow: column;
        grid-auto-columns: calc((100% - 12px) / 2);
        grid-template-columns: none;
        gap: 12px;
        overflow-x: auto;
        overflow-y: hidden;
        padding: 2px 4px 8px;
        margin-inline: -4px;
        scroll-snap-type: x mandatory;
        scroll-padding-inline: 4px;
        overscroll-behavior-inline: contain;
        -webkit-overflow-scrolling: touch;
    }

    .board-customization-actions::-webkit-scrollbar {
        display: none;
    }

    .board-customization-actions {
        scrollbar-width: none;
    }

    .board-customization-actions > * {
        min-width: 0;
        min-height: 124px;
        scroll-snap-align: start;
    }

    .board-customization-picker,
    .board-customization-select,
    .board-customization-stepper {
        height: 100%;
        align-content: start;
    }

    .board-customization-mobile-strip-hint {
        display: inline-flex;
    }

    .board-customization-market-grid,
    .board-customization-market-grid.has-custom-card,
    .custom-board-market-grid,
    .custom-board-market-grid.has-custom-card {
        gap: 10px;
    }

    .board-preview-card,
    .board-preview-card {
        min-height: auto;
        padding: 12px 12px 10px;
    }

    .board-preview-card-head span {
        font-size: clamp(12px, calc(var(--dashboard-title-size, 18px) * 0.72), 20px);
    }

    .board-preview-price-table .dashboard-price-row {
        padding: 8px 0 7px;
    }

    .board-preview-price-table .dashboard-price-head-title,
    .board-preview-price-table .dashboard-price-head-buy,
    .board-preview-price-table .dashboard-price-head-sell,
    .board-preview-price-table .dashboard-price-title-label {
        font-size: clamp(10px, calc(var(--dashboard-text-size, 16px) * 0.74), 18px);
    }

    .board-preview-price-table .dashboard-price-value {
        font-size: clamp(9px, calc(var(--dashboard-text-size, 16px) * 0.7), 16px);
    }

    .board-preview-price-table .dashboard-price-number {
        font-size: clamp(10px, calc(var(--dashboard-text-size, 16px) * 0.76), 20px);
    }

    .board-customization-hero-card,
    .custom-board-display-hero {
        min-height: unset;
        padding: 18px 16px 14px;
    }

    .board-customization-title,
    .custom-board-display-hero h1 {
        font-size: clamp(20px, calc(var(--dashboard-site-title-size, 22px) * 0.9), 30px);
    }

    .board-customization-status-row,
    .custom-board-display-status {
        flex-wrap: nowrap;
        justify-content: space-between;
        gap: 8px;
        padding: 0 2px;
        text-align: right;
        font-size: clamp(11px, calc(var(--dashboard-text-size, 16px) * 0.76), 18px);
        line-height: 1.1;
    }

    .board-customization-status-row .dashboard-status-group,
    .custom-board-display-status .dashboard-status-group {
        justify-content: flex-start;
        width: auto;
        max-width: calc(50% - 4px);
        gap: 3px;
        font-size: inherit;
    }

    .board-customization-status-row .dashboard-status-group-date,
    .custom-board-display-status .dashboard-status-group-date {
        justify-content: flex-end;
    }

    .board-customization-status-row .dashboard-status-group svg,
    .custom-board-display-status .dashboard-status-group svg {
        width: 14px;
        height: 14px;
    }

    .board-customization-status-row #currentTime,
    .board-customization-status-row #currentDate,
    .custom-board-display-status #currentTime,
    .custom-board-display-status #currentDate {
        overflow: hidden;
        text-overflow: ellipsis;
        font-size: clamp(11px, calc(var(--dashboard-text-size, 16px) * 0.76), 18px);
        font-weight: 700;
    }

    .board-customization-status-row .dashboard-status-label,
    .custom-board-display-status .dashboard-status-label {
        font-size: clamp(9px, calc(var(--dashboard-text-size, 16px) * 0.64), 14px);
    }

    .board-dashboard-ticker-item {
        min-width: 148px;
    }
}

@media (max-width: 420px) {

    .board-customization-page,
    .custom-board-display-main {
        padding-right: 8px;
        padding-left: 8px;
    }

    .board-customization-market-grid,
    .board-customization-market-grid.has-custom-card,
    .custom-board-market-grid,
    .custom-board-market-grid.has-custom-card {
        grid-template-columns: minmax(0, 1fr) !important;
    }

    .board-customization-title,
    .custom-board-display-hero h1 {
        font-size: clamp(18px, calc(var(--dashboard-site-title-size, 22px) * 0.84), 28px);
    }

    .board-customization-status-row,
    .custom-board-display-status {
        gap: 4px;
        font-size: clamp(10px, calc(var(--dashboard-text-size, 16px) * 0.7), 16px);
    }

    .board-customization-status-row .dashboard-status-group,
    .custom-board-display-status .dashboard-status-group {
        gap: 2px;
        max-width: calc(50% - 3px);
    }

    .board-customization-status-row .dashboard-status-group svg,
    .custom-board-display-status .dashboard-status-group svg {
        width: 12px;
        height: 12px;
    }

    .board-customization-status-row .dashboard-status-label,
    .custom-board-display-status .dashboard-status-label {
        font-size: clamp(8px, calc(var(--dashboard-text-size, 16px) * 0.58), 13px);
    }

    .board-customization-status-row #currentTime,
    .board-customization-status-row #currentDate,
    .custom-board-display-status #currentTime,
    .custom-board-display-status #currentDate {
        font-size: clamp(10px, calc(var(--dashboard-text-size, 16px) * 0.7), 16px);
    }

    .board-customization-preview-hint,
    .board-customization-toolbar-reset-copy small,
    .board-customization-picker-copy small {
        font-size: 10px;
    }

    .board-dashboard-ticker-item {
        min-width: 136px;
    }
}

.board-customization-logo-card {
    display: grid;
    gap: 14px;
}

.board-customization-logo-head {
    display: grid;
    gap: 4px;
}

.board-customization-logo-head strong {
    color: #40373b;
    font-size: 18px;
    font-weight: 760;
}

.board-customization-logo-head small {
    color: #8b8186;
    font-size: 12px;
}

.board-customization-logo-preview {
    min-height: 180px;
    border-radius: 18px;
    border: 1.5px dashed rgba(213, 187, 134, 0.42);
    background: #fffaf1;
    display: grid;
    place-items: center;
    padding: 20px;
    text-align: center;
    color: #8b8186;
    font-size: 14px;
    line-height: 1.9;
}

.board-customization-logo-preview img {
    display: block;
    max-width: 170px;
    max-height: 120px;
    object-fit: contain;
}

.board-customization-upload {
    border: 0;
    border-radius: 16px;
    background: #d5bb86;
    color: #3f3427;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 0 18px;
    font-size: 15px;
    font-weight: 760;
    text-decoration: none;
    justify-self: flex-start;
    cursor: pointer;
}

.dashboard-currency-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.dashboard-currency-item {
    padding: 14px 10px;
    min-height: 62px;
    display: grid;
    gap: 8px;
    border-top: 1px solid rgba(214, 201, 194, 0.72);
}

.dashboard-currency-item:nth-child(odd) {
    border-left: 1px solid rgba(214, 201, 194, 0.72);
}

.dashboard-currency-item span {
    color: var(--gold);
    font-size: clamp(12px, calc(var(--dashboard-text-size, 16px) * 0.88), 20px);
}

.dashboard-currency-item strong {
    color: #4f474b;
    font-size: clamp(13px, var(--dashboard-text-size, 16px), 24px);
    font-weight: 700;
    direction: ltr;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.dashboard-currency-number {
    font-size: clamp(14px, calc(var(--dashboard-text-size, 16px) * 1.06), 28px);
    font-weight: 760;
    white-space: nowrap;
}

.dashboard-footer-copy {
    text-align: center;
    color: #5d5559;
    font-size: 11px;
    line-height: 1.9;
    margin-top: 18px;
}

.dashboard-footer-copy p {
    margin: 0 0 4px;
}

.dashboard-footer-copy a {
    color: inherit;
    text-decoration: none;
}

@media (max-width: 420px) {

    .dashboard-price-head,
    .dashboard-price-row-table {
        grid-template-columns: minmax(0, 1.2fr) minmax(78px, 1fr) minmax(78px, 1fr);
        column-gap: 8px;
    }
}

.footer-link-trigger {
    width: 100%;
    border: 0;
    background: transparent;
    color: inherit;
    padding: 0;
    text-align: inherit;
}

.footer-phone-line {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}

.footer-phone-value {
    direction: ltr !important;
    unicode-bidi: isolate;
    text-align: left !important;
    display: inline-flex;
    justify-content: flex-start;
    text-decoration: none;
}

.terms-sheet-modal .modal-dialog {
    width: min(500px, calc(100vw - 16px));
    max-width: min(500px, calc(100vw - 16px));
    min-height: 100dvh;
    margin: auto auto 0;
    display: flex;
    align-items: flex-end;
}

.terms-sheet-modal {
    padding: 0 !important;
    align-items: flex-end;
}

.terms-sheet-modal.show {
    display: flex !important;
    align-items: flex-end;
}

.terms-sheet-content {
    width: 100%;
    border: none;
    border-radius: 26px 26px 0 0;
    background: #f7f5f4;
    box-shadow: 0 -18px 48px rgba(43, 24, 30, 0.18);
    overflow: hidden;
}

.terms-sheet-handle {
    width: 54px;
    height: 5px;
    border-radius: 999px;
    background: rgba(95, 85, 89, 0.2);
    margin: 10px auto 2px;
}

.terms-sheet-header {
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: center;
    gap: 12px;
    padding: 8px 14px 12px;
    direction: ltr;
}

.terms-sheet-title-wrap {
    display: inline-flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
    color: #2d2126;
    direction: rtl;
    min-width: 0;
    width: auto;
    justify-self: end;
    flex: 0 0 auto;
}

.terms-sheet-title-wrap h2 {
    margin: 0;
    font-size: 20px;
    font-weight: 820;
}

.terms-sheet-title-icon {
    display: inline-flex;
    color: #7f1d2b;
}

.terms-sheet-close {
    width: 38px;
    height: 38px;
    border-radius: 999px;
    border: 1px solid rgba(95, 85, 89, 0.22);
    background: #ffffff;
    color: #4a3c42;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    justify-self: start;
}

.terms-sheet-body {
    padding: 0 14px 18px;
}

.terms-sheet-modal.show .modal-dialog {
    transform: none;
}

@media (max-width: 575.98px) {
    .terms-sheet-modal .modal-dialog {
        width: calc(100vw - 12px);
        max-width: calc(100vw - 12px);
    }

    .terms-sheet-header {
        padding-inline: 12px;
    }

    .terms-sheet-body {
        padding-inline: 12px;
        padding-bottom: 14px;
    }
}

.terms-sheet-panel {
    border-radius: 22px;
    background: #ffffff;
    padding: 18px 16px;
    color: #6c6065;
    font-size: 14px;
    line-height: 2.15;
    text-align: right;
    box-shadow: inset 0 0 0 1px rgba(95, 85, 89, 0.05);
}

.terms-sheet-panel p {
    margin: 0;
}

.terms-sheet-panel p+p {
    margin-top: 12px;
}

.dashboard-bottom-nav {
    position: fixed;
    right: max(10px, calc(50% - 250px + 10px));
    left: max(10px, calc(50% - 250px + 10px));
    bottom: 10px;
    z-index: 45;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
    padding: 10px 12px;
    border-radius: 16px;
    background: var(--dashboard-bottom-nav-bg, #6f0012);
    color: #f8f3ef;
    box-shadow: 0 16px 32px rgba(64, 0, 10, 0.28);
}

.dashboard-bottom-item {
    color: inherit;
    text-decoration: none;
    display: grid;
    justify-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 650;
}

.dashboard-bottom-item svg {
    width: 24px;
    height: 24px;
}

.dashboard-bottom-item.active {
    color: var(--dashboard-icon-color, #D5BB86);
}

.archive-page {
    padding-top: 14px;
}

.archive-section {
    margin-top: 8px;
}

.archive-primary-tabs {
    display: flex;
    justify-content: flex-start;
    gap: 20px;
    margin: 0 4px 12px;
    padding: 0;
}

.archive-primary-tabs .nav-link {
    border: 0;
    border-radius: 0;
    background: transparent;
    color: rgba(111, 0, 18, 0.68);
    padding: 6px 4px 12px;
    font-size: 16px;
    font-weight: 700;
    position: relative;
}

.archive-primary-tabs .nav-link::after {
    content: "";
    position: absolute;
    right: 0;
    left: 0;
    bottom: 0;
    height: 2.5px;
    border-radius: 999px;
    background: transparent;
}

.archive-primary-tabs .nav-link.active,
.archive-primary-tabs .show>.nav-link {
    color: #d5bb86;
    background: transparent;
}

.archive-primary-tabs .nav-link.active::after,
.archive-primary-tabs .show>.nav-link::after {
    background: #d5bb86;
}

.archive-tab-content {
    margin-top: 0;
}

.archive-card {
    min-height: 845px;
    background: #ffffff;
    border-radius: 16px;
    padding: 16px 18px 22px;
    box-shadow: 0 10px 24px rgba(90, 31, 15, 0.06);
}

.archive-card-placeholder {
    display: grid;
    place-items: center;
    color: #867f82;
    text-align: center;
    font-size: 15px;
}

.archive-card-placeholder p {
    margin: 0;
}

.archive-card-head {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 14px;
}

.archive-filter-field {
    display: grid;
    gap: 10px;
    margin-bottom: 14px;
    margin-top: 4px;
}

.archive-filter-label {
    color: #b7b1ae;
    font-size: 14px;
    font-weight: 560;
}

.archive-subject-select {
    width: 100%;
}

.archive-subject-trigger {
    min-height: 46px;
}

.archive-subject-menu {
    z-index: 12;
}

.archive-card-head h1 {
    margin: 0;
    color: #2e2529;
    font-size: 18px;
    font-weight: 760;
}

.archive-range-tabs {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    border: 1.5px solid #d5bb86;
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 22px;
}

.archive-range-tab {
    min-height: 46px;
    border: 0;
    border-left: 1px solid rgba(213, 187, 134, 0.18);
    background: #ffffff;
    color: #5b5155;
    font: inherit;
    font-size: 17px;
    font-weight: 620;
}

.archive-range-tab:last-child {
    border-left: 0;
}

.archive-range-tab.active {
    background: #f8f4ea;
    color: #d5bb86;
}

.archive-summary-grid {
    display: grid;
    gap: 10px;
    margin-bottom: 12px;
}

.archive-summary-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    color: #2e2529;
    font-size: 17px;
    font-weight: 690;
}

.archive-summary-row strong {
    color: #2e2529;
    font-size: 17px;
    font-weight: 740;
    direction: ltr;
}

.archive-summary-row-date {
    padding-bottom: 14px;
    border-bottom: 1px solid rgba(213, 187, 134, 0.76);
    margin-bottom: 2px;
}

.archive-summary-row-last {
    margin-bottom: 8px;
}

.archive-chart-wrap {
    margin: 18px 0;
    padding-inline: 2px;
}

.archive-chart-toolbar {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 12px;
    margin-bottom: 10px;
}

.archive-chart-unit-copy {
    color: #8b8186;
    font-size: 10px;
    font-weight: 600;
}

.archive-chart-viewport {
    overflow: visible;
    overflow-y: visible;
    height: auto;
    min-height: 255px;
    padding-bottom: 4px;
    padding-inline: 2px;
    scrollbar-width: none;
    cursor: default;
    user-select: none;
}

.archive-chart-viewport::-webkit-scrollbar {
    display: none;
}

.archive-chart-stage {
    position: relative;
    width: 100%;
    min-width: 100%;
    height: auto;
    min-height: 255px;
    overflow: visible;
}

.archive-chart-wrap.is-loading .archive-chart-stage {
    filter: saturate(0.88);
}

.archive-chart-loading {
    position: absolute;
    inset: 0;
    border-radius: 20px;
    background: linear-gradient(90deg, rgba(255, 249, 236, 0.88) 0%, rgba(246, 235, 205, 0.98) 50%, rgba(255, 249, 236, 0.88) 100%);
    display: none;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: #7f6a3a;
    font-size: 14px;
    font-weight: 700;
    direction: rtl;
    text-align: right;
    box-shadow: inset 0 0 0 1px rgba(213, 187, 134, 0.22);
    backdrop-filter: blur(2px);
    z-index: 3;
}

.archive-chart-wrap.is-loading .archive-chart-loading {
    display: inline-flex;
}

.archive-chart-loading-dot {
    width: 10px;
    height: 10px;
    border-radius: 999px;
    background: #d5bb86;
    animation: archiveLoadingPulse 1s ease-in-out infinite;
}

.archive-chart-wrap.is-loading .archive-chart-svg,
.archive-chart-wrap.is-loading .archive-chart-guide,
.archive-chart-wrap.is-loading .archive-chart-tooltip {
    opacity: 0;
}

.archive-range-tab:focus,
.archive-range-tab:focus-visible,
.archive-primary-tabs .nav-link:focus,
.archive-primary-tabs .nav-link:focus-visible,
#archive-chart-panel:focus,
#archive-chart-panel:focus-visible,
#archive-table-panel:focus,
#archive-table-panel:focus-visible {
    outline: none;
    box-shadow: none;
}

.archive-summary-value.is-loading {
    position: relative;
    color: #bba980;
    overflow: hidden;
    direction: rtl !important;
    unicode-bidi: plaintext;
    text-align: right;
}

.archive-summary-value.is-loading::after {
    content: "";
    position: absolute;
    inset: -2px;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0) 0%, rgba(255, 247, 220, 0.92) 50%, rgba(255, 255, 255, 0) 100%);
    transform: translateX(100%);
    animation: archiveLoadingSweep 1.3s linear infinite;
}

@keyframes archiveLoadingSweep {
    from {
        transform: translateX(100%);
    }

    to {
        transform: translateX(-100%);
    }
}

@keyframes archiveLoadingPulse {

    0%,
    100% {
        opacity: 0.35;
        transform: scale(0.86);
    }

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

.archive-chart-svg {
    width: 100%;
    height: auto;
    min-height: 255px;
    display: block;
    overflow: visible;
}

.archive-chart-guide {
    position: absolute;
    top: 22px;
    bottom: 34px;
    width: 1px;
    background: rgba(137, 132, 134, 0.32);
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.18s ease, inset-inline-start 0.18s ease;
    z-index: 3;
}

.archive-chart-guide.is-visible {
    opacity: 1;
}

.archive-chart-tooltip {
    position: absolute;
    --archive-chart-tooltip-arrow-left: 50%;
    min-width: 104px;
    max-width: 122px;
    padding: 10px 12px 11px;
    border-radius: 26px;
    background: #efd07d;
    box-shadow: 0 10px 22px rgba(168, 125, 37, 0.2);
    display: grid;
    gap: 1px;
    text-align: center;
    pointer-events: none;
    transform: none;
    opacity: 0;
    transition: opacity 0.18s ease, top 0.18s ease, left 0.18s ease;
    z-index: 4;
}

.archive-chart-tooltip.is-below {
    transform: none;
}

.archive-chart-tooltip::after {
    content: "";
    position: absolute;
    left: var(--archive-chart-tooltip-arrow-left);
    bottom: -9px;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-right: 8px solid transparent;
    border-left: 8px solid transparent;
    border-top: 10px solid #efd07d;
}

.archive-chart-tooltip.is-below::after {
    left: var(--archive-chart-tooltip-arrow-left);
    top: -9px;
    bottom: auto;
    border-top: 0;
    border-bottom: 10px solid #efd07d;
}

.archive-chart-tooltip.is-visible {
    opacity: 1;
}

.archive-chart-tooltip-label {
    color: #6d7a87;
    font-size: 11px;
    font-weight: 720;
    white-space: nowrap;
}

.archive-chart-tooltip-value {
    color: #1f1715;
    font-size: 17px;
    font-weight: 820;
    direction: ltr;
}

.archive-chart-hit-point {
    fill: transparent;
    stroke: transparent;
    cursor: pointer;
    pointer-events: all;
}

.archive-chart-dot {
    transition: r 0.18s ease, stroke-width 0.18s ease;
}

.archive-chart-labels {
    fill: #7f7579;
    font-size: 11px;
    font-weight: 620;
}

.archive-chart-labels-y text {
    text-anchor: end;
    font-size: 11px;
    font-weight: 700;
    fill: #5f5559;
    letter-spacing: 0;
}

.archive-chart-labels-x text {
    text-anchor: middle;
    font-size: 10px;
    fill: #7f7579;
}

@media (max-width: 480px) {
    .archive-chart-viewport,
    .archive-chart-stage,
    .archive-chart-svg {
        min-height: 240px;
    }

    .archive-chart-labels-y text {
        font-size: 10px;
    }

    .archive-chart-labels-x text {
        font-size: 9px;
    }
}

html.is-native-app .archive-chart-wrap {
    margin-inline: 0;
    padding-inline: 0;
}

html.is-native-app .archive-chart-viewport {
    padding-inline: 4px;
}

.archive-stats-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 12px;
}

.archive-stat {
    min-width: 120px;
    border-radius: 6px;
    padding: 8px 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 760;
}

.archive-stat strong {
    direction: ltr;
}

.archive-stat-min {
    background: #f0aaaa;
    color: #d11f1f;
}

.archive-stat-max {
    background: #bde4bf;
    color: #1f8e2c;
}

.archive-table-card {
    min-height: 845px;
}

.archive-chart-stage>#analyticalChartPoints {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.archive-chart-point {
    position: absolute;
    left: calc(var(--point-left, 0) * 1%);
    top: calc(var(--point-top, 0) * 1%);
    width: 32px;
    height: 32px;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: transparent;
    transform: translate(-50%, -50%);
    cursor: pointer;
    pointer-events: all;
    z-index: 5;
}

.archive-chart-point:focus-visible {
    outline: 2px solid rgba(213, 187, 134, 0.65);
    outline-offset: 2px;
}

.analytical-card {
    min-height: auto;
}

.analytical-summary-bar {
    display: grid;
    gap: 8px;
    margin-bottom: 12px;
}

.analytical-summary-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    color: #5f5559;
    font-size: 14px;
    font-weight: 680;
}

.analytical-summary-row strong {
    color: #2e2529;
    direction: ltr;
}

.analytical-summary-row-price {
    padding-bottom: 14px;
    border-bottom: 1px solid rgba(213, 187, 134, 0.76);
}

.analytical-stats-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin-top: 10px;
}

.analytical-stat-card {
    background: #faf8f5;
    border-radius: 14px;
    padding: 12px 14px;
    display: grid;
    gap: 6px;
}

.analytical-stat-card span {
    color: #8a8084;
    font-size: 12px;
    font-weight: 620;
}

.analytical-stat-card strong {
    color: #2e2529;
    direction: ltr;
    font-size: 17px;
    font-weight: 760;
}

.analytical-stat-card-min {
    background: #eff8f0;
}

.analytical-stat-card-max {
    background: #fbefef;
}

.analytical-stat-card-close {
    grid-column: 1 / -1;
    background: #f8f4ea;
}

.analytical-ai-card {
    margin-top: 18px;
    padding-top: 18px;
    border-top: 1px dashed rgba(213, 187, 134, 0.52);
    display: grid;
    gap: 12px;
}

.analytical-ai-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.analytical-ai-head h2 {
    margin: 0;
    color: #2e2529;
    font-size: 18px;
    font-weight: 760;
}

.analytical-trend-badge {
    border-radius: 999px;
    padding: 7px 12px;
    font-size: 12px;
    font-weight: 760;
    white-space: nowrap;
}

.analytical-trend-badge.is-positive {
    color: #1d7e38;
    background: #e7f4e9;
}

.analytical-trend-badge.is-negative {
    color: #bb2f2f;
    background: #fbe9e9;
}

.analytical-ai-text {
    margin: 0;
    color: #5c5357;
    font-size: 14px;
    line-height: 2;
}

.analytical-signals {
    background: #fcfbf9;
    border-radius: 16px;
    padding: 14px;
    border: 1px solid rgba(213, 187, 134, 0.28);
}

.analytical-signals-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 10px;
}

.analytical-signals-head strong {
    color: #2e2529;
    font-size: 15px;
}

.analytical-signals-head span {
    color: #8a8084;
    font-size: 12px;
}

.analytical-signals-list {
    display: grid;
    gap: 10px;
}

.analytical-history-button {
    width: 100%;
    min-height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 0 16px;
    border-radius: 18px;
    background: linear-gradient(135deg, #6f0012 0%, #8d1427 100%);
    color: #fff9f0;
    font-size: 15px;
    font-weight: 780;
    text-decoration: none;
    box-shadow: 0 16px 34px rgba(111, 0, 18, 0.18);
}

.analytical-history-button-icon {
    width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.14);
}

.analytical-history-section {
    padding-bottom: 96px;
}

.analytical-history-card {
    min-height: auto;
    display: grid;
    gap: 14px;
}

.analytical-history-head h1 {
    margin: 0 0 8px;
    color: #2e2529;
    font-size: 24px;
    font-weight: 820;
}

.analytical-history-head p {
    margin: 0;
    color: #655b5f;
    font-size: 13px;
    line-height: 2;
}

.analytical-history-list {
    display: grid;
    gap: 12px;
}

.analytical-history-item {
    display: grid;
    gap: 12px;
    padding: 16px;
    border-radius: 22px;
    background: linear-gradient(180deg, #fffefb 0%, #fff8ee 100%);
    border: 1px solid rgba(213, 187, 134, 0.24);
    box-shadow: 0 14px 32px rgba(79, 0, 11, 0.07);
}

.analytical-history-item-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 10px;
}

.analytical-history-item-head h2 {
    margin: 0;
    color: #2e2529;
    font-size: 18px;
    font-weight: 780;
    line-height: 1.8;
}

.analytical-history-date {
    color: #8d7f84;
    font-size: 12px;
    font-weight: 740;
}

.analytical-history-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.analytical-history-pills {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.analytical-history-pill,
.analytical-history-status {
    min-height: 32px;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    border-radius: 999px;
    padding: 5px 12px;
    font-size: 12px;
    font-weight: 760;
}

.analytical-history-pill {
    background: #faf5ea;
    color: #7e6b3f;
}

.analytical-history-status.is-success {
    background: #ebf7ef;
    color: #1d8740;
}

.analytical-history-status.is-failed {
    background: #fdeeee;
    color: #bc3636;
}

.analytical-history-status-icon {
    width: 18px;
    height: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.analytical-history-cta {
    color: #6f0012;
    font-size: 13px;
    font-weight: 780;
}

.analytical-history-detail-card {
    gap: 16px;
}

.analytical-history-back {
    margin-bottom: 2px;
}

.analytical-history-detail-head {
    display: grid;
    gap: 10px;
}

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

.analytical-history-meta-item,
.analytical-history-detail-block,
.analytical-history-level-item {
    display: grid;
    gap: 6px;
    padding: 14px;
    border-radius: 18px;
    background: #fcfbf9;
    border: 1px solid rgba(213, 187, 134, 0.24);
}

.analytical-history-meta-item span,
.analytical-history-detail-block span,
.analytical-history-level-item span {
    color: #8d7f84;
    font-size: 12px;
    font-weight: 740;
}

.analytical-history-meta-item strong,
.analytical-history-level-item strong {
    color: #2e2529;
    font-size: 14px;
    font-weight: 780;
}

.analytical-history-detail-block p {
    margin: 0;
    color: #5c5357;
    font-size: 14px;
    line-height: 2;
}

.analytical-history-detail-levels {
    display: grid;
    gap: 10px;
}

.analytical-signal-item {
    background: #ffffff;
    border-radius: 14px;
    padding: 12px 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.analytical-signal-item span {
    color: #6a6064;
    font-size: 13px;
    font-weight: 620;
}

.analytical-signal-item strong {
    color: #6f0012;
    font-size: 16px;
    font-weight: 760;
    direction: ltr;
}

@media (max-width: 767px) {

    .analytical-history-item-head,
    .analytical-history-row {
        flex-direction: column;
        align-items: stretch;
    }

    .analytical-history-meta-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    header .status-card {
        padding: 10px 5px !important;
    }

    .status-icon {
        margin-right: 5px !important;
    }

    .status-meta .d-flex {
        flex-wrap: nowrap;
    }

    .status-meta {
        font-weight: 600;
        font-size: 13px;
    }

    header {
        gap: 8px !important;
    }

}

.authenticity-section {
    padding-bottom: 96px;
}

.authenticity-card {
    background: linear-gradient(180deg, #fffefb 0%, #fffaf0 100%);
    border: 1px solid rgba(213, 187, 134, 0.22);
    border-radius: 28px;
    padding: 18px 16px 20px;
    box-shadow: 0 18px 40px rgba(79, 0, 11, 0.08);
}

.authenticity-hero {
    display: grid;
    gap: 16px;
    margin-bottom: 18px;
}

.authenticity-hero-illustration {
    display: grid;
    place-items: center;
    background: radial-gradient(circle at top right, rgba(213, 187, 134, 0.28), transparent 55%), linear-gradient(180deg, #fffaf0 0%, #fff4df 100%);
    border-radius: 24px;
    min-height: 160px;
    overflow: hidden;
}

.authenticity-hero-copy {
    display: grid;
    gap: 10px;
}

.authenticity-chip {
    width: fit-content;
    padding: 7px 12px;
    border-radius: 999px;
    background: rgba(111, 0, 18, 0.08);
    color: #6f0012;
    font-size: 12px;
    font-weight: 780;
}

.authenticity-hero-copy h1 {
    margin: 0;
    color: #341f24;
    font-size: 24px;
    font-weight: 820;
    line-height: 1.6;
}

.authenticity-hero-copy p {
    margin: 0;
    color: #61565b;
    font-size: 14px;
    line-height: 2;
}

.authenticity-form {
    display: grid;
    gap: 12px;
}

.authenticity-field {
    display: grid;
    gap: 8px;
}

.authenticity-label {
    color: #554b4f;
    font-size: 14px;
    font-weight: 720;
}

.authenticity-input {
    width: 100%;
    min-height: 54px;
    border-radius: 18px;
    border: 1px solid rgba(111, 0, 18, 0.12);
    background: #ffffff;
    padding: 0 16px;
    color: #2f2429;
    font-size: 15px;
    font-weight: 680;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.authenticity-input::placeholder {
    color: #b1a6aa;
}

.authenticity-input:focus {
    border-color: rgba(111, 0, 18, 0.4);
    box-shadow: 0 0 0 4px rgba(111, 0, 18, 0.08);
}

.authenticity-submit {
    min-height: 54px;
    border: none;
    border-radius: 18px;
    background: linear-gradient(135deg, #6f0012 0%, #8e1627 100%);
    color: #fff8f0;
    font-size: 15px;
    font-weight: 780;
    box-shadow: 0 16px 28px rgba(111, 0, 18, 0.22);
}

.authenticity-feedback {
    margin: 12px 0 0;
    padding: 12px 14px;
    border-radius: 16px;
    background: #fff4e8;
    border: 1px solid rgba(214, 162, 80, 0.28);
    color: #8f4e16;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.9;
}

.authenticity-feedback.is-error {
    background: #fbecec;
    border-color: rgba(190, 48, 48, 0.22);
    color: #a02d2d;
}

.authenticity-feedback.is-success {
    background: #edf7ee;
    border-color: rgba(27, 123, 54, 0.2);
    color: #1b7b36;
}

.authenticity-swal-popup {
    width: min(26rem, 80vw) !important;
    max-width: 80vw !important;
    padding: 1.25rem 1rem 1rem !important;
    border-radius: 20px !important;
}

.authenticity-swal-title {
    font-size: 1.55rem !important;
    line-height: 1.8 !important;
}

.authenticity-swal-text {
    font-size: 0.95rem !important;
    line-height: 2 !important;
    margin-top: 0.35rem !important;
}

.subscription-swal-copy {
    text-align: right;
}

.subscription-swal-copy p {
    margin: 0 0 0.65rem;
}

.subscription-swal-countdown {
    margin-top: 0.15rem !important;
    color: #8a8084;
    font-size: 0.92rem;
}

.subscription-swal-countdown strong {
    color: #6f0012;
    font-size: 1rem;
}

.subscription-swal-field {
    display: grid;
    gap: 0.45rem;
    margin-top: 0.85rem;
    text-align: right;
}

.subscription-swal-field span {
    font-size: 0.88rem;
    color: #6f5d58;
}

.subscription-swal-input {
    width: 100%;
    border: 1px solid rgba(111, 0, 18, 0.14);
    border-radius: 14px;
    padding: 0.72rem 0.85rem;
    font: inherit;
    background: #fff;
    color: #2b1814;
}

.authenticity-swal-close {
    width: 2rem !important;
    height: 2rem !important;
    margin: 0.35rem 0.35rem 0 0 !important;
    border-radius: 999px !important;
    color: #8a7268 !important;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.authenticity-swal-close:hover,
.authenticity-swal-close:focus {
    background: rgba(111, 0, 18, 0.08) !important;
    color: #6f0012 !important;
}

.swal2-actions {
    gap: 10px !important;
    margin-top: 1.1rem !important;
}

.authenticity-swal-confirm,
.authenticity-swal-cancel {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-width: 110px !important;
    border-radius: 12px !important;
    font-size: 0.92rem !important;
    font-weight: 780 !important;
    padding: 0.7rem 1rem !important;
    border: 0 !important;
    transition: transform 0.18s ease, box-shadow 0.18s ease, opacity 0.18s ease !important;
}

.authenticity-swal-confirm {
    background: linear-gradient(135deg, #17985d 0%, #12784a 100%) !important;
    color: #ffffff !important;
    box-shadow: 0 12px 24px rgba(23, 152, 93, 0.22) !important;
}

.authenticity-swal-cancel {
    background: linear-gradient(135deg, #d94b4b 0%, #b83333 100%) !important;
    color: #ffffff !important;
    box-shadow: 0 12px 24px rgba(185, 51, 51, 0.2) !important;
}

.authenticity-swal-confirm:hover,
.authenticity-swal-cancel:hover {
    transform: translateY(-1px) !important;
}

.authenticity-swal-confirm:focus,
.authenticity-swal-cancel:focus {
    outline: none !important;
    box-shadow: 0 0 0 3px rgba(111, 0, 18, 0.12), 0 12px 24px rgba(79, 0, 11, 0.16) !important;
}

@media (max-width: 640px) {
    .authenticity-swal-popup {
        width: min(22rem, 80vw) !important;
        padding: 1rem 0.85rem 0.85rem !important;
    }

    .authenticity-swal-title {
        font-size: 1.3rem !important;
    }

    .authenticity-swal-text {
        font-size: 0.88rem !important;
        line-height: 1.9 !important;
    }

    .authenticity-swal-confirm,
    .authenticity-swal-cancel {
        min-width: 96px !important;
        font-size: 0.85rem !important;
        padding: 0.62rem 0.9rem !important;
    }

    .swal2-actions {
        gap: 8px !important;
        margin-top: 0.95rem !important;
    }
}

.authenticity-result {
    margin-top: 16px;
    padding: 16px;
    border-radius: 22px;
    background: #ffffff;
    border: 1px solid rgba(213, 187, 134, 0.3);
    display: grid;
    gap: 14px;
}

.authenticity-result-brand {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(213, 187, 134, 0.24);
    color: #6f0012;
    font-size: 14px;
    font-weight: 820;
    direction: ltr;
}

.authenticity-result-brand img {
    width: 38px;
    height: auto;
    display: block;
}

.authenticity-result-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
}

.authenticity-result-label {
    display: block;
    margin-bottom: 5px;
    color: #928488;
    font-size: 12px;
    font-weight: 680;
}

.authenticity-result-head strong {
    color: #2f2429;
    font-size: 18px;
    font-weight: 800;
}

.authenticity-status {
    flex-shrink: 0;
    padding: 8px 12px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 780;
}

.authenticity-status.is-valid {
    background: #e8f5ea;
    color: #1b7b36;
}

.authenticity-status.is-old {
    background: #fff1dc;
    color: #a54800;
}

.authenticity-status.is-invalid {
    background: #fbe8e8;
    color: #be3030;
}

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

.authenticity-result-item {
    padding: 12px;
    border-radius: 16px;
    background: #fbf9f5;
    display: grid;
    gap: 6px;
}

.authenticity-result-item span {
    color: #8c8185;
    font-size: 12px;
    font-weight: 640;
}

.card-to-iban-result-head {
    align-items: center;
    padding: 12px;
    border-radius: 18px;
    background: linear-gradient(135deg, rgba(213, 187, 134, 0.15), rgba(255, 255, 255, 0.7));
}

.card-to-iban-bank-block {
    display: grid;
    gap: 6px;
    min-width: 0;
}

.card-to-iban-bank-name {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    min-width: 0;
}

.card-to-iban-bank-icon {
    width: 38px;
    height: 38px;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #6f0012;
    background: #fff4d7;
    box-shadow: inset 0 0 0 1px rgba(213, 187, 134, 0.38);
    flex: 0 0 auto;
}

.card-to-iban-bank-name strong {
    color: #342328;
    font-size: 19px;
    font-weight: 850;
    line-height: 1.6;
}

.card-to-iban-result-item {
    display: grid;
    gap: 0.65rem;
    padding: 14px;
    border: 1px solid rgba(213, 187, 134, 0.18);
}

.card-to-iban-result-grid {
    grid-template-columns: 1fr !important;
    gap: 10px;
}

.card-to-iban-copy-row {
    display: grid;
    direction: ltr;
    grid-template-columns: 42px minmax(0, 1fr);
    align-items: center;
    gap: 10px;
    min-width: 0;
}

.card-to-iban-copy-row strong {
    min-width: 0;
    justify-self: stretch;
    color: #201719;
    font-size: 14px;
    font-weight: 820;
    text-align: right;
    direction: ltr;
    unicode-bidi: isolate;
    overflow-wrap: anywhere;
}

.card-to-iban-copy-button {
    width: 42px;
    height: 42px;
    border: 0;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    background: linear-gradient(135deg, #6f0012 0%, #9c1127 100%);
    box-shadow: 0 10px 20px rgba(111, 0, 18, 0.16);
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.card-to-iban-copy-button:hover,
.card-to-iban-copy-button:focus-visible {
    transform: translateY(-1px);
    box-shadow: 0 12px 24px rgba(111, 0, 18, 0.22);
}

.authenticity-result-item strong {
    color: #342328;
    font-size: 15px;
    font-weight: 780;
}

.card-to-iban-result-item .card-to-iban-copy-row strong {
    color: #201719;
    font-size: 14px;
    font-weight: 820;
    text-align: right;
}

.authenticity-result-note {
    margin: 0;
    color: #5d5257;
    font-size: 13px;
    line-height: 2;
}

.authenticity-result-actions {
    display: flex;
    justify-content: center;
    padding-top: 2px;
}

.authenticity-screenshot-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 44px;
    border: 0;
    border-radius: 14px;
    padding: 0 16px;
    background: linear-gradient(135deg, #6f0012 0%, #8e1627 100%);
    color: #fff8f0;
    font-size: 13px;
    font-weight: 780;
    box-shadow: 0 12px 22px rgba(111, 0, 18, 0.2);
    transition: transform 0.18s ease, opacity 0.18s ease;
}

.authenticity-screenshot-button:hover {
    transform: translateY(-1px);
}

.authenticity-screenshot-button:disabled {
    cursor: wait;
    opacity: 0.72;
    transform: none;
}

.authenticity-result.is-capturing .authenticity-result-actions {
    display: none;
}

.customer-inquiry-card {
    background: linear-gradient(180deg, #fffefb 0%, #fff8ef 100%);
}

.customer-inquiry-locked {
    display: grid;
    gap: 16px;
    padding: 18px;
    border-radius: 20px;
    background: #fff7e8;
    border: 1px solid rgba(213, 187, 134, 0.36);
}

.customer-inquiry-locked h2 {
    margin: 6px 0 8px;
    color: #341f24;
    font-size: 19px;
    font-weight: 820;
    line-height: 1.8;
}

.customer-inquiry-locked p {
    margin: 0;
    color: #6d5f64;
    font-size: 14px;
    font-weight: 680;
    line-height: 1.9;
}

.customer-inquiry-locked-link {
    display: grid;
    place-items: center;
    text-decoration: none;
}

.customer-inquiry-hero-illustration {
    min-height: 160px;
}

.customer-inquiry-chip {
    background: rgba(213, 187, 134, 0.18);
    color: #7a5b13;
}

.customer-inquiry-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.customer-inquiry-field-wide {
    grid-column: 1 / -1;
}

.customer-inquiry-mode-switch {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin-top: 18px;
}

.customer-inquiry-mode-tab {
    min-height: 48px;
    border-radius: 18px;
    border: 1px solid rgba(111, 0, 18, 0.12);
    background: rgba(255, 255, 255, 0.78);
    color: #6f0012;
    font-size: 14px;
    font-weight: 820;
    transition: background-color 0.18s ease, color 0.18s ease, box-shadow 0.18s ease;
}

.customer-inquiry-mode-tab.is-active {
    border-color: transparent;
    background: linear-gradient(135deg, #6f0012 0%, #8d1325 100%);
    color: #fff8f0;
    box-shadow: 0 16px 28px rgba(111, 0, 18, 0.16);
}

.customer-inquiry-panel {
    margin-top: 18px;
}

.customer-inquiry-panel[hidden] {
    display: none !important;
}

.customer-inquiry-form-help {
    margin-top: 0;
}

#customerPrimaryInput {
    direction: ltr;
    text-align: left;
    unicode-bidi: plaintext;
}

.customer-inquiry-scanner {
    margin-top: 18px;
    padding: 18px;
    border-radius: 24px;
    border: 1px solid rgba(213, 187, 134, 0.24);
    background: linear-gradient(180deg, rgba(255, 252, 246, 0.96) 0%, rgba(255, 246, 232, 0.9) 100%);
    display: grid;
    gap: 14px;
}

.customer-inquiry-scanner-head {
    display: grid;
    gap: 6px;
}

.customer-inquiry-scanner-head h2 {
    margin: 0;
    color: #2f1d22;
    font-size: 20px;
    font-weight: 820;
}

.customer-inquiry-scanner-head p {
    margin: 0;
    color: #6b5b5e;
    font-size: 13px;
    line-height: 1.9;
}

.customer-inquiry-scan-modes {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.customer-inquiry-scan-mode {
    min-height: 40px;
    padding: 0 14px;
    border-radius: 999px;
    border: 1px solid rgba(111, 0, 18, 0.14);
    background: rgba(255, 255, 255, 0.74);
    color: #6f0012;
    font-size: 13px;
    font-weight: 760;
}

.customer-inquiry-scan-mode.is-active {
    border-color: transparent;
    background: linear-gradient(135deg, #6f0012 0%, #8d1325 100%);
    color: #fff8f0;
    box-shadow: 0 12px 24px rgba(111, 0, 18, 0.18);
}

.customer-inquiry-camera-shell {
    display: grid;
}

.customer-inquiry-camera-frame {
    position: relative;
    overflow: hidden;
    min-height: 320px;
    border-radius: 26px;
    background: radial-gradient(circle at top, rgba(255, 247, 231, 0.84), rgba(103, 15, 28, 0.92));
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12), 0 20px 40px rgba(75, 2, 13, 0.16);
}

.customer-inquiry-camera-video,
.customer-inquiry-camera-preview {
    width: 100%;
    height: 100%;
    min-height: 320px;
    object-fit: cover;
    display: block;
}

.customer-inquiry-camera-preview {
    transform: scaleX(-1);
}

.customer-inquiry-scanner[data-mode="national_card_front"] .customer-inquiry-camera-preview,
.customer-inquiry-scanner[data-mode="national_card_back"] .customer-inquiry-camera-preview {
    transform: none;
}

.customer-inquiry-camera-placeholder {
    position: absolute;
    inset: 0;
    display: grid;
    place-content: center;
    gap: 8px;
    padding: 20px;
    text-align: center;
    color: #fff6e8;
    background: linear-gradient(180deg, rgba(73, 0, 12, 0.48) 0%, rgba(39, 6, 11, 0.74) 100%);
}

.customer-inquiry-camera-placeholder strong {
    font-size: 18px;
    font-weight: 820;
}

.customer-inquiry-camera-placeholder span {
    font-size: 13px;
    line-height: 1.9;
    color: rgba(255, 243, 223, 0.88);
}

.customer-inquiry-camera-overlay {
    position: absolute;
    inset: 0;
    pointer-events: none;
    display: grid;
    place-items: center;
    padding: 22px;
}

.customer-inquiry-camera-guide {
    width: min(84%, 300px);
    aspect-ratio: 1.58 / 1;
    border-radius: 24px;
    border: 3px solid rgba(255, 244, 222, 0.94);
    box-shadow: 0 0 0 999px rgba(26, 4, 9, 0.42);
    position: relative;
}

.customer-inquiry-camera-guide::before,
.customer-inquiry-camera-guide::after {
    content: "";
    position: absolute;
    inset: 14px;
    border-radius: 18px;
    border: 1px dashed rgba(255, 236, 207, 0.64);
}

.customer-inquiry-scanner[data-mode="face"] .customer-inquiry-camera-guide {
    aspect-ratio: 1 / 1.18;
    width: min(70%, 240px);
    border-radius: 999px;
}

.customer-inquiry-scanner[data-mode="face"] .customer-inquiry-camera-guide::before,
.customer-inquiry-scanner[data-mode="face"] .customer-inquiry-camera-guide::after {
    border-radius: 999px;
}

.customer-inquiry-camera-tip {
    position: absolute;
    right: 18px;
    left: 18px;
    bottom: 16px;
    padding: 11px 14px;
    border-radius: 16px;
    background: rgba(31, 8, 12, 0.62);
    color: #fff2dd;
    font-size: 13px;
    font-weight: 720;
    text-align: center;
    backdrop-filter: blur(10px);
}

.customer-inquiry-scan-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.customer-inquiry-scan-action {
    min-height: 48px;
    box-shadow: none;
}

.customer-inquiry-scan-action.is-secondary {
    background: #fffdf8;
    color: #6f0012;
    border: 1px solid rgba(111, 0, 18, 0.12);
}

.customer-inquiry-scan-status-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.customer-inquiry-scan-status-item {
    padding: 12px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.74);
    border: 1px solid rgba(213, 187, 134, 0.2);
    display: grid;
    gap: 6px;
}

.customer-inquiry-scan-status-item span {
    color: #8b7a7e;
    font-size: 12px;
    font-weight: 680;
}

.customer-inquiry-scan-status-item strong {
    color: #3a2429;
    font-size: 14px;
    font-weight: 800;
}

.customer-inquiry-scan-feedback {
    margin: 0;
}

.customer-inquiry-result {
    gap: 16px;
    margin-top: 18px;
}

.customer-inquiry-status-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.customer-inquiry-status-item-card {
    gap: 10px;
}

.customer-inquiry-status-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: fit-content;
    min-width: 94px;
    padding: 8px 14px;
    border-radius: 999px;
    font-size: 13px !important;
    font-weight: 860 !important;
    line-height: 1.4 !important;
    background: rgba(126, 106, 80, 0.12);
    color: #6e5b4c;
}

.customer-inquiry-status-pill.is-valid {
    background: rgba(25, 135, 84, 0.14);
    color: #13724a;
}

.customer-inquiry-status-pill.is-invalid {
    background: rgba(192, 57, 43, 0.14);
    color: #b02a1b;
}

.customer-inquiry-status-pill.is-pending {
    background: rgba(143, 113, 70, 0.14);
    color: #8b6a38;
}

.customer-inquiry-profile {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px;
    border-radius: 18px;
    background: linear-gradient(135deg, rgba(111, 0, 18, 0.06) 0%, rgba(213, 187, 134, 0.14) 100%);
}

.customer-inquiry-avatar {
    width: 48px;
    height: 48px;
    border-radius: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #6f0012;
    color: #fff3df;
    flex-shrink: 0;
}

.customer-inquiry-profile-copy {
    display: grid;
    gap: 4px;
}

.customer-inquiry-profile-copy strong {
    color: #321f24;
    font-size: 15px;
    font-weight: 800;
}

.customer-inquiry-profile-copy span {
    color: #6f0012;
    font-size: 13px;
    font-weight: 700;
}

.customer-inquiry-result-grid .authenticity-result-item strong {
    font-size: 14px;
    line-height: 1.8;
    word-break: break-word;
}

@media (max-width: 640px) {

    .customer-inquiry-mode-switch,
    .customer-inquiry-form-grid,
    .customer-inquiry-status-grid,
    .customer-inquiry-result-grid,
    .customer-inquiry-scan-status-grid,
    .customer-inquiry-scan-actions {
        grid-template-columns: minmax(0, 1fr);
    }

    .customer-inquiry-camera-frame,
    .customer-inquiry-camera-video,
    .customer-inquiry-camera-preview {
        min-height: 280px;
    }
}

.wallet-section {
    display: grid;
    gap: 12px;
    padding-bottom: 96px;
}

.wallet-card {
    background: linear-gradient(180deg, #fffefb 0%, #fff9ef 100%);
    border: 1px solid rgba(213, 187, 134, 0.22);
    border-radius: 22px;
    padding: 14px 14px 16px;
    box-shadow: 0 12px 28px rgba(79, 0, 11, 0.07);
}

.wallet-card-head {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.wallet-card-head h1,
.wallet-card-head h2 {
    margin: 0;
    color: #341f24;
    font-size: 22px;
    font-weight: 820;
}

.wallet-card-kicker {
    display: block;
    margin-bottom: 5px;
    color: #8a6d49;
    font-size: 12px;
    font-weight: 760;
}

.wallet-card-icon {
    width: 44px;
    height: 44px;
    border-radius: 16px;
    display: grid;
    place-items: center;
    flex-shrink: 0;
}

.wallet-card-icon-balance {
    background: linear-gradient(180deg, #fff0cd 0%, #ffe6b0 100%);
}

.wallet-card-icon-subscription {
    background: linear-gradient(180deg, #fff4d7 0%, #ffe7bd 100%);
}

.wallet-balance-strip {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 16px;
    border-radius: 18px;
    background: #6f0012;
    color: #fff5eb;
    margin-bottom: 12px;
}

.wallet-balance-strip span {
    font-size: 13px;
    font-weight: 680;
}

.wallet-balance-strip strong {
    font-size: 18px;
    font-weight: 820;
}

.wallet-topup-form {
    display: grid;
    gap: 10px;
}

.wallet-topup-field {
    display: grid;
    gap: 6px;
}

.wallet-topup-field span {
    color: #554b4f;
    font-size: 14px;
    font-weight: 720;
}

.wallet-topup-input-wrap {
    position: relative;
}

.wallet-topup-input {
    width: 100%;
    min-height: 48px;
    border-radius: 15px;
    border: 1px solid rgba(111, 0, 18, 0.12);
    background: #ffffff;
    padding: 0 16px 0 82px;
    color: #2f2429;
    font-size: 16px;
    font-weight: 780;
    outline: none;
    direction: ltr;
    text-align: left;
}

.wallet-topup-input:focus {
    border-color: rgba(111, 0, 18, 0.36);
    box-shadow: 0 0 0 4px rgba(111, 0, 18, 0.08);
}

.wallet-topup-input::placeholder {
    color: #b1a6aa;
}

.wallet-topup-unit {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: #7d7175;
    font-size: 13px;
    font-weight: 720;
    pointer-events: none;
}

.wallet-quick-amounts {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.wallet-quick-amount {
    min-height: 48px;
    border-radius: 16px;
    border: 1px solid rgba(213, 187, 134, 0.45);
    background: #fffdf8;
    color: #5f4f53;
    font-size: 13px;
    font-weight: 760;
}

.wallet-quick-amount.is-selected {
    border-color: #6f0012;
    background: #fff2f2;
    color: #6f0012;
}

.wallet-submit {
    min-height: 50px;
    border: none;
    border-radius: 16px;
    background: linear-gradient(135deg, #6f0012 0%, #8e1627 100%);
    color: #fff8f0;
    font-size: 15px;
    font-weight: 780;
    box-shadow: 0 16px 28px rgba(111, 0, 18, 0.22);
}

.wallet-identity-submit,
.wallet-bank-card-submit {
    width: min(250px, 100%);
    justify-self: center;
    margin-top: 4px;
    padding-inline: 28px;
}

.wallet-submit-locked {
    width: 100%;
}

.wallet-submit:disabled {
    opacity: 0.55;
    cursor: not-allowed;
    box-shadow: none;
}

.wallet-submit-link {
    display: grid;
    place-items: center;
    text-decoration: none;
}

.wallet-verification-form {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.wallet-bank-card-entry-form {
    grid-template-columns: minmax(0, 1fr);
}

.wallet-verification-form .wallet-submit,
.wallet-verification-form .wallet-form-error,
.wallet-verification-form .wallet-form-note {
    grid-column: 1 / -1;
}

.wallet-identity-grid,
.wallet-bank-card-list {
    display: grid;
    gap: 10px;
    margin-bottom: 12px;
}

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

.wallet-form-error,
.wallet-form-note {
    border-radius: 14px;
    padding: 10px 12px;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.8;
}

.wallet-identity-verified-mini {
    display: grid;
    gap: 3px;
    padding: 10px 12px;
    border-radius: 16px;
    background: #eefaf1;
    border: 1px solid rgba(31, 138, 67, 0.16);
}

.wallet-identity-verified-mini strong {
    color: #16743a;
    font-size: 13px;
    font-weight: 820;
}

.wallet-identity-verified-mini span {
    color: #30252a;
    font-size: 14px;
    font-weight: 780;
}

.wallet-identity-verified-mini small {
    color: #6b6266;
    font-size: 11px;
    font-weight: 650;
}

.wallet-form-error {
    background: #fff1f2;
    color: #9f1239;
    border: 1px solid #fecdd3;
}

.wallet-form-note {
    background: #fff8e6;
    color: #7a4f00;
    border: 1px solid rgba(213, 187, 134, 0.35);
}

.subscription-status-badge.is-muted {
    background: #f5f5f4;
    color: #78716c;
}

.wallet-bank-card-item {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 12px;
    align-items: center;
    padding: 14px;
    border-radius: 18px;
    border: 1px solid rgba(213, 187, 134, 0.24);
    background: #fffdf8;
}

.wallet-bank-card-item strong,
.wallet-bank-card-item span,
.wallet-bank-card-item small {
    display: block;
    line-height: 1.8;
}

.wallet-bank-card-item strong {
    color: #341f24;
    font-size: 15px;
}

.wallet-bank-card-item span {
    color: #5f4f53;
    font-weight: 800;
}

.wallet-bank-card-item small {
    color: #8b7f84;
    word-break: break-all;
}

.wallet-bank-card-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
}

.wallet-card-toggle {
    min-height: 38px;
    border-radius: 12px;
    border: 1px solid rgba(111, 0, 18, 0.18);
    background: #fff;
    color: #6f0012;
    padding: 0 12px;
    font-size: 12px;
    font-weight: 800;
}

.admin-user-card-list {
    display: grid;
    gap: 10px;
}

.admin-user-card-item {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px;
    align-items: center;
    padding: 12px;
    border: 1px solid #e5e9f2;
    border-radius: 14px;
    background: #fff;
}

.admin-user-card-item strong,
.admin-user-card-item span,
.admin-user-card-item small {
    display: block;
    line-height: 1.7;
}

.admin-user-card-status {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    justify-content: flex-end;
    align-items: center;
}

select.wallet-topup-input {
    direction: rtl;
    text-align: right;
    padding-left: 16px;
}

@media (max-width: 575px) {
    .wallet-verification-form,
    .wallet-identity-grid,
    .wallet-bank-card-item,
    .admin-user-card-item {
        grid-template-columns: 1fr;
    }

    .wallet-bank-card-actions,
    .admin-user-card-status {
        justify-content: flex-start;
    }
}

.subscription-status-card .wallet-card-head {
    align-items: flex-start;
}

.subscription-status-badge {
    margin-inline-start: auto;
    border-radius: 999px;
    padding: 8px 12px;
    background: #e9f6ec;
    color: #1f8a43;
    font-size: 12px;
    font-weight: 780;
}

.profile-edit-section {
    display: grid;
    gap: 18px;
}

.profile-edit-card {
    padding: 18px;
}

.profile-edit-head {
    margin-bottom: 18px;
}

.profile-edit-head p {
    margin: 6px 0 0;
    color: #8b7f84;
    font-size: 14px;
}

.profile-edit-form {
    display: grid;
    gap: 18px;
}

.profile-avatar-field {
    display: grid;
    gap: 10px;
}

.profile-avatar-input {
    display: none;
}

.profile-avatar-button {
    width: 100%;
    border: 1px solid rgba(111, 0, 18, 0.12);
    background: #fffdfb;
    border-radius: 22px;
    padding: 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
}

.profile-avatar-preview {
    width: 92px;
    height: 92px;
    border-radius: 24px;
    background: linear-gradient(180deg, #fff4da 0%, #fffaf2 100%);
    color: #6f0012;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    flex-shrink: 0;
}

.profile-avatar-preview img,
.dashboard-profile-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.profile-avatar-preview svg {
    width: 46px;
    height: 46px;
    display: block;
    flex-shrink: 0;
}

.profile-avatar-copy {
    flex: 1;
    display: grid;
    gap: 6px;
    text-align: right;
}

.profile-avatar-copy strong {
    color: #332a2e;
    font-size: 16px;
    font-weight: 780;
}

.profile-avatar-copy small {
    color: #8b7f84;
    font-size: 13px;
}

.profile-avatar-actions {
    display: flex;
    justify-content: flex-end;
}

.profile-avatar-remove {
    border: 1px solid rgba(198, 56, 44, 0.18);
    background: #fff6f4;
    color: #b42318;
    border-radius: 999px;
    padding: 8px 14px;
    font-size: 12px;
    font-weight: 760;
}

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

.profile-edit-input {
    padding-inline: 14px;
}

.profile-edit-select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='8' viewBox='0 0 14 8' fill='none'%3E%3Cpath d='M1 1L7 7L13 1' stroke='%238b7f84' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: left 14px center;
    background-size: 14px 8px;
    cursor: pointer;
    padding-left: 40px;
    text-align: right;
    direction: rtl;
}

.profile-edit-page .wallet-card-head h1 {
    font-size: 20px;
    font-weight: 760;
}

.profile-edit-page .wallet-topup-field span {
    font-size: 12px;
    font-weight: 600;
}

.profile-edit-page .wallet-topup-input {
    min-height: 54px;
    color: #4a3f43;
    font-size: 15px;
    font-weight: 500;
    direction: rtl;
    text-align: right;
    padding: 0 14px;
}

.profile-edit-page .wallet-topup-input::placeholder {
    color: #b7abae;
}

.profile-edit-page .wallet-topup-field {
    align-content: start;
}

.subscription-current-grid {
    display: grid;
    gap: 10px;
}

.subscription-current-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 16px;
    border-radius: 18px;
    background: #ffffff;
    border: 1px solid rgba(213, 187, 134, 0.22);
}

.subscription-current-item span {
    color: #7f7276;
    font-size: 13px;
    font-weight: 680;
}

.subscription-current-item strong {
    color: #341f24;
    font-size: 15px;
    font-weight: 800;
}

.plans-head {
    display: grid;
    gap: 8px;
    margin-bottom: 14px;
}

.plans-head h2 {
    margin: 0;
    color: #341f24;
    font-size: 20px;
    font-weight: 820;
}

.plans-head p {
    margin: 0;
    color: #665b5f;
    font-size: 13px;
    line-height: 2;
}

.subscription-plans-grid {
    display: grid;
    gap: 12px;
}

.subscription-plan {
    border-radius: 22px;
    padding: 16px;
    border: 1px solid rgba(213, 187, 134, 0.24);
    background: #fffdf9;
}

.subscription-plan-silver {
    background: linear-gradient(180deg, #fafafc 0%, #f3f3f7 100%);
}

.subscription-plan-gold {
    background: linear-gradient(180deg, #fff6de 0%, #ffefca 100%);
}

.subscription-plan-diamond {
    background: linear-gradient(180deg, #f9f2fb 0%, #f0e3f7 100%);
}

.subscription-plan.is-recommended {
    border-color: rgba(111, 0, 18, 0.3);
    box-shadow: 0 16px 30px rgba(111, 0, 18, 0.09);
}

.subscription-plan-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 12px;
}

.subscription-plan-top strong {
    color: #341f24;
    font-size: 15px;
    font-weight: 800;
}

.subscription-plan-badge {
    width: fit-content;
    padding: 7px 12px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 800;
    color: #6f0012;
    background: rgba(255, 255, 255, 0.7);
}

.subscription-plan-features {
    margin: 0 0 14px;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 10px;
}

.subscription-plan-features li {
    position: relative;
    padding-right: 18px;
    color: #554c50;
    font-size: 13px;
    line-height: 1.9;
}

.subscription-plan-features li::before {
    content: "";
    position: absolute;
    right: 0;
    top: 8px;
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: #6f0012;
}

.subscription-plan-action {
    width: 100%;
    min-height: 48px;
    border: 1px solid rgba(111, 0, 18, 0.22);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.76);
    color: #6f0012;
    font-size: 14px;
    font-weight: 780;
}

.finance-section {
    display: grid;
    gap: 16px;
    min-width: 0;
    padding-bottom: 96px;
}

.finance-hero-card,
.finance-table-card {
    min-width: 0;
    background: linear-gradient(180deg, #fffefc 0%, #fff9ef 100%);
    border: 1px solid rgba(213, 187, 134, 0.24);
    border-radius: 28px;
    padding: 18px 16px 20px;
    box-shadow: 0 18px 40px rgba(79, 0, 11, 0.08);
}

.finance-hero-head {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 18px;
}

.finance-hero-icon {
    width: 54px;
    height: 54px;
    flex-shrink: 0;
    display: grid;
    place-items: center;
    border-radius: 18px;
    background: linear-gradient(180deg, #fff0cd 0%, #ffe5ae 100%);
}

.finance-kicker {
    display: block;
    margin-bottom: 5px;
    color: #8a6d49;
    font-size: 12px;
    font-weight: 760;
}

.finance-hero-head h1 {
    margin: 0 0 8px;
    color: #341f24;
    font-size: 24px;
    font-weight: 840;
}

.finance-hero-head p {
    margin: 0;
    color: #665b5f;
    font-size: 13px;
    line-height: 2;
}

.finance-toolbar {
    display: grid;
    gap: 12px;
    margin-bottom: 14px;
}

.finance-filter-row {
    display: grid;
    gap: 10px;
}

.finance-filter-row-dates {
    grid-template-columns: repeat(auto-fit, minmax(138px, 1fr));
}

.finance-filter-row-actions {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: end;
}

.finance-filter-field {
    min-width: 0;
    display: grid;
    gap: 7px;
    padding: 10px 14px;
    border-radius: 18px;
    background: #ffffff;
    border: 1px solid rgba(111, 0, 18, 0.12);
}

.finance-filter-field span {
    color: #8c7c82;
    font-size: 12px;
    font-weight: 760;
}

.finance-filter-field input,
.finance-filter-field select {
    width: 100%;
    min-width: 0;
    border: none;
    outline: none;
    background: transparent;
    color: #2f2429;
    font-size: 14px;
    font-weight: 720;
}

.finance-filter-field select {
    appearance: none;
    cursor: pointer;
}

.finance-filter-field input::placeholder {
    color: #ac9ea4;
}

.finance-toolbar-button {
    width: 100%;
    min-width: 0;
    min-height: 52px;
    border: none;
    border-radius: 16px;
    padding: 0 16px;
    background: linear-gradient(135deg, #6f0012 0%, #8d1427 100%);
    color: #fff9f1;
    font-size: 13px;
    font-weight: 770;
    white-space: nowrap;
}

.finance-filter-submit {
    grid-column: 1 / span 2;
    min-width: 0;
    min-height: 60px;
    border-radius: 18px;
    font-size: 15px;
}

.finance-toolbar-button-light {
    background: #fffaf2;
    color: #6f0012;
    border: 1px solid rgba(111, 0, 18, 0.14);
}

.finance-export-button {
    grid-column: 3 / 4;
    justify-self: end;
    width: 60px;
    min-width: 60px;
    height: 60px;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #6f0012;
}

.finance-export-button svg {
    flex-shrink: 0;
}

.finance-table-wrap {
    overflow-x: auto;
    border-radius: 22px;
    border: 1px solid rgba(213, 187, 134, 0.2);
    background: #ffffff;
}

.finance-table {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
}

.finance-table thead th:nth-child(1),
.finance-table tbody td:nth-child(1) {
    width: 28%;
}

.finance-table thead th:nth-child(2),
.finance-table tbody td:nth-child(2) {
    width: 26%;
}

.finance-table thead th:nth-child(3),
.finance-table tbody td:nth-child(3) {
    width: 28%;
}

.finance-table thead th:nth-child(4),
.finance-table tbody td:nth-child(4) {
    width: 18%;
}

.finance-table thead th {
    padding: 18px 18px;
    background: #fff7e7;
    color: #5a464c;
    font-size: 13px;
    font-weight: 800;
    white-space: nowrap;
    text-align: center;
}

.finance-table tbody td {
    padding: 18px 18px;
    border-top: 1px solid rgba(213, 187, 134, 0.18);
    color: #403337;
    font-size: 13px;
    vertical-align: middle;
    text-align: center;
}

.finance-table tbody tr:hover {
    background: #fffdfa;
}

.finance-date-cell {
    white-space: nowrap;
    color: #6e6166;
    font-weight: 720;
}

.finance-table tbody td[data-label="جزئیات"] {
    text-align: center;
}

.finance-type-badge,
.finance-status-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 32px;
    border-radius: 999px;
    padding: 4px 12px;
    font-size: 12px;
    font-weight: 770;
    white-space: nowrap;
}

.finance-type-badge.is-charge {
    background: #e9f6ec;
    color: #1f8a43;
}

.finance-type-badge.is-subscription {
    background: #fff3d6;
    color: #946400;
}

.finance-type-badge.is-deduction {
    background: #fff0f0;
    color: #9e2434;
}

.finance-amount {
    white-space: nowrap;
    font-weight: 800;
}

.finance-amount.is-credit {
    color: #1f8a43;
}

.finance-amount.is-debit {
    color: #9e2434;
}

.finance-status-badge.is-success {
    background: #ebf8ef;
    color: #1f8a43;
}

.finance-status-badge.is-pending {
    background: #fff7df;
    color: #a67200;
}

.finance-status-badge.is-failed {
    background: #fff0f2;
    color: #a11f31;
}

.finance-reference {
    color: #7d7175;
    font-weight: 720;
    direction: ltr;
    text-align: left;
}

.finance-details-button {
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    border: 1px solid rgba(111, 0, 18, 0.14);
    background: #fff7f7;
    color: #6f0012;
}

.finance-details-content {
    width: 100%;
    border: none;
    border-radius: 28px;
    background: linear-gradient(180deg, #fffefc 0%, #fff8ed 100%);
    box-shadow: 0 24px 50px rgba(79, 0, 11, 0.12);
}

.finance-details-modal .modal-dialog {
    width: min(420px, calc(100vw - 32px));
    max-width: calc(100vw - 32px);
    margin: 1.75rem auto;
}

.finance-details-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    padding: 18px 18px 0;
}

.finance-details-header h2 {
    margin: 0;
    color: #341f24;
    font-size: 21px;
    font-weight: 830;
}

.finance-details-close {
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    border: 1px solid rgba(111, 0, 18, 0.14);
    background: #ffffff;
    color: #6f0012;
}

.finance-details-grid {
    display: grid;
    gap: 10px;
    padding: 16px 18px 18px;
}

.finance-detail-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 16px;
    border-radius: 18px;
    background: #ffffff;
    border: 1px solid rgba(213, 187, 134, 0.22);
}

.finance-detail-item span {
    color: #7d7175;
    font-size: 13px;
    font-weight: 730;
}

.finance-detail-item strong {
    color: #341f24;
    font-size: 14px;
    font-weight: 800;
}

.finance-description {
    min-width: 220px;
    line-height: 1.9;
}

.finance-table-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 14px;
}

.finance-table-meta {
    margin: 0;
    color: #74676c;
    font-size: 13px;
    font-weight: 720;
}

.finance-pagination {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.finance-page-button {
    min-width: 38px;
    height: 38px;
    border-radius: 12px;
    border: 1px solid rgba(111, 0, 18, 0.12);
    background: #ffffff;
    color: #59484e;
    font-size: 13px;
    font-weight: 760;
}

.finance-page-button.is-active {
    background: #6f0012;
    border-color: #6f0012;
    color: #fff8ef;
}

.finance-page-button:disabled {
    opacity: 0.45;
}

.finance-table-empty {
    text-align: center;
    color: #7d7175;
    font-weight: 720;
}

@media (max-width: 767px) {
    .finance-hero-head {
        align-items: flex-start;
    }

    .finance-table-footer {
        flex-direction: column;
        align-items: stretch;
    }

    .finance-filter-row-dates {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .finance-filter-row-actions {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .finance-table-wrap {
        overflow: visible;
        border: none;
        background: transparent;
    }

    .finance-table {
        min-width: 0;
    }

    .finance-table thead {
        display: none;
    }

    .finance-table tbody {
        display: grid;
        gap: 12px;
    }

    .finance-table tbody tr {
        display: grid;
        gap: 10px;
        padding: 14px;
        border-radius: 20px;
        border: 1px solid rgba(213, 187, 134, 0.2);
        background: #ffffff;
        box-shadow: 0 10px 24px rgba(79, 0, 11, 0.05);
    }

    .finance-table tbody td {
        display: flex;
        align-items: flex-start;
        justify-content: space-between;
        gap: 12px;
        width: 100%;
        padding: 0;
        border-top: none;
        text-align: left;
    }

    .finance-table tbody td::before {
        content: attr(data-label);
        flex: 0 0 96px;
        color: #7d7175;
        font-size: 12px;
        font-weight: 780;
        text-align: right;
    }

    .finance-description,
    .finance-reference,
    .finance-date-cell,
    .finance-amount {
        flex: 1 1 auto;
        min-width: 0;
    }

    .finance-description {
        min-width: 0;
        text-align: right;
    }

    .finance-reference {
        text-align: left;
        direction: ltr;
    }

    .finance-details-modal .modal-dialog {
        width: min(392px, calc(100vw - 24px));
        max-width: calc(100vw - 24px);
        margin: 1rem auto;
    }

    .finance-details-content {
        border-radius: 26px;
    }

    .finance-detail-item {
        align-items: flex-start;
        flex-direction: column;
    }
}

.support-section {
    display: grid;
    gap: 16px;
    padding-bottom: 96px;
}

.support-hero-card,
.support-table-card {
    background: linear-gradient(180deg, #fffefc 0%, #fff9ef 100%);
    border: 1px solid rgba(213, 187, 134, 0.24);
    border-radius: 28px;
    padding: 18px 16px 20px;
    box-shadow: 0 18px 40px rgba(79, 0, 11, 0.08);
}

.support-hero-head {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 14px;
}

.support-hero-icon {
    width: 54px;
    height: 54px;
    flex-shrink: 0;
    display: grid;
    place-items: center;
    border-radius: 18px;
    background: linear-gradient(180deg, #fff0cd 0%, #ffe5ae 100%);
}

.support-kicker {
    display: block;
    margin-bottom: 5px;
    color: #8a6d49;
    font-size: 12px;
    font-weight: 760;
}

.support-hero-head h1 {
    margin: 0 0 8px;
    color: #341f24;
    font-size: 24px;
    font-weight: 840;
}

.support-hero-head p {
    margin: 0;
    color: #665b5f;
    font-size: 13px;
    line-height: 2;
}

.support-register-card {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 14px;
    border: 1px solid rgba(111, 0, 18, 0.12);
    border-radius: 22px;
    background: #ffffff;
    padding: 16px;
}

.support-register-icon {
    width: 54px;
    height: 54px;
    border-radius: 18px;
    flex-shrink: 0;
    display: grid;
    place-items: center;
    background: linear-gradient(180deg, #fff1df 0%, #ffebc9 100%);
}

.support-register-copy {
    display: grid;
    gap: 4px;
    text-align: right;
}

.support-register-copy strong {
    color: #341f24;
    font-size: 17px;
    font-weight: 820;
}

.support-register-copy small {
    color: #7d7175;
    font-size: 12px;
    font-weight: 700;
}

.support-tabs {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin-bottom: 14px;
}

.support-tab-button {
    min-height: 48px;
    border-radius: 16px;
    border: 1px solid rgba(111, 0, 18, 0.14);
    background: #fffdf8;
    color: #6d575e;
    font-size: 14px;
    font-weight: 780;
}

.support-tab-button.is-active {
    background: #6f0012;
    border-color: #6f0012;
    color: #fff8ef;
}

.support-toolbar {
    display: block;
    width: 100%;
    margin-bottom: 14px;
}

.support-toolbar-form,
.support-filter-grid {
    display: block;
    width: 100%;
    min-width: 0;
    box-sizing: border-box;
}

.support-filter-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    grid-template-areas:
        "search search"
        "apply filter";
    gap: 10px;
    direction: ltr;
    justify-items: stretch;
}

.support-search-field {
    width: 100%;
    min-width: 0;
    box-sizing: border-box;
    grid-area: search;
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 54px;
    padding: 0 14px;
    border-radius: 18px;
    background: #ffffff;
    border: 1px solid rgba(111, 0, 18, 0.12);
    direction: rtl;
}

.support-search-field input {
    width: 100%;
    border: none;
    outline: none;
    background: transparent;
    color: #2f2429;
    font-size: 14px;
}

.support-search-field input::placeholder {
    color: #ac9ea4;
}

.support-filter-select,
.support-filter-submit {
    min-height: 52px;
    border-radius: 16px;
    font: inherit;
    font-size: 14px;
    font-weight: 760;
}

.support-filter-select {
    grid-area: filter;
    width: 100%;
    min-width: 0;
    box-sizing: border-box;
    border: 1px solid rgba(111, 0, 18, 0.12);
    background: #ffffff;
    color: #2f2429;
    padding: 0 14px;
    direction: rtl;
}

.support-filter-submit {
    grid-area: apply;
    width: 100%;
    min-width: 0;
    box-sizing: border-box;
    border: none;
    background: #6f0012;
    color: #fff8ef;
    padding: 0 18px;
}

.support-table-wrap {
    overflow: hidden;
    border-radius: 22px;
    border: 1px solid rgba(213, 187, 134, 0.2);
    background: #ffffff;
}

.support-table {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
}

.support-table thead th {
    padding: 16px 14px;
    background: #fff7e7;
    color: #5a464c;
    font-size: 13px;
    font-weight: 800;
    text-align: center;
}

.support-table tbody td {
    padding: 16px 14px;
    border-top: 1px solid rgba(213, 187, 134, 0.18);
    color: #403337;
    font-size: 13px;
    text-align: center;
    vertical-align: middle;
}

.support-ticket-row {
    cursor: pointer;
    transition: transform 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease;
}

.support-ticket-row:hover {
    background: #fffaf0;
}

.support-ticket-row:active {
    transform: scale(0.992);
}

.support-ticket-title {
    color: #341f24;
    font-weight: 780;
    line-height: 1.9;
}

.support-department-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 32px;
    border-radius: 999px;
    padding: 4px 12px;
    font-size: 12px;
    font-weight: 770;
    white-space: nowrap;
}

.support-department-badge.is-financial {
    background: #fff3d6;
    color: #946400;
}

.support-department-badge.is-technical {
    background: #eaf2ff;
    color: #2857b3;
}

.support-department-badge.is-subscription {
    background: #f5eefe;
    color: #7b45b2;
}

.support-department-badge.is-identity {
    background: #e9f6ec;
    color: #1f8a43;
}

.support-ticket-code {
    color: #6e6166;
    font-weight: 760;
    direction: ltr;
}

.support-table-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 14px;
}

.support-table-meta {
    margin: 0;
    color: #74676c;
    font-size: 13px;
    font-weight: 720;
}

.support-pagination {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.support-page-button {
    min-width: 38px;
    height: 38px;
    border-radius: 12px;
    border: 1px solid rgba(111, 0, 18, 0.12);
    background: #ffffff;
    color: #59484e;
    font-size: 13px;
    font-weight: 760;
}

.support-page-button.is-active {
    background: #6f0012;
    border-color: #6f0012;
    color: #fff8ef;
}

.support-page-button:disabled {
    opacity: 0.45;
}

.support-table-empty {
    color: #7d7175;
    font-weight: 720;
}

.support-ticket-content {
    width: 100%;
    border: none;
    border-radius: 24px;
    background: linear-gradient(180deg, #fffefc 0%, #fff8ed 100%);
    box-shadow: 0 24px 50px rgba(79, 0, 11, 0.12);
}

.support-ticket-modal .modal-dialog {
    width: min(392px, calc(100vw - 32px));
    max-width: calc(100vw - 32px);
    margin: 1.75rem auto;
}

.support-ticket-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    padding: 16px 16px 0;
}

.support-ticket-header h2 {
    margin: 0;
    color: #341f24;
    font-size: 19px;
    font-weight: 830;
}

.support-ticket-close {
    width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    border: 1px solid rgba(111, 0, 18, 0.14);
    background: #ffffff;
    color: #6f0012;
}

.support-ticket-form {
    display: grid;
    gap: 10px;
    padding: 14px 16px 16px;
}

.support-field {
    display: grid;
    gap: 6px;
}

.support-field span {
    color: #65595e;
    font-size: 13px;
    font-weight: 760;
}

.support-field input,
.support-field select,
.support-field textarea {
    width: 100%;
    border-radius: 15px;
    border: 1px solid rgba(111, 0, 18, 0.12);
    background: #ffffff;
    padding: 11px 14px;
    color: #2f2429;
    font-size: 14px;
    outline: none;
}

.support-field textarea {
    min-height: 108px;
    resize: none;
}

.support-field input:focus,
.support-field select:focus,
.support-field textarea:focus {
    border-color: rgba(111, 0, 18, 0.36);
    box-shadow: 0 0 0 4px rgba(111, 0, 18, 0.08);
}

.support-upload-field {
    display: flex;
    align-items: center;
    gap: 12px;
    border-radius: 16px;
    border: 1px dashed rgba(111, 0, 18, 0.26);
    background: #fffdf8;
    padding: 11px 14px;
    cursor: pointer;
}

.support-upload-icon {
    width: 42px;
    height: 42px;
    border-radius: 14px;
    flex-shrink: 0;
    display: grid;
    place-items: center;
    background: #fff2ef;
}

.support-upload-copy {
    display: grid;
    gap: 4px;
}

.support-upload-copy strong {
    color: #341f24;
    font-size: 15px;
    font-weight: 800;
}

.support-upload-copy small {
    color: #7d7175;
    font-size: 12px;
    font-weight: 700;
}

.support-submit-button {
    min-height: 50px;
    border: none;
    border-radius: 16px;
    background: linear-gradient(135deg, #6f0012 0%, #8d1427 100%);
    color: #fff8ef;
    font-size: 15px;
    font-weight: 790;
}

.support-ticket-detail-section {
    display: grid;
    gap: 14px;
    padding-bottom: 96px;
}

.support-ticket-back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    width: fit-content;
    min-height: 42px;
    padding: 0 14px;
    border-radius: 999px;
    background: rgba(255, 248, 237, 0.88);
    border: 1px solid rgba(213, 187, 134, 0.28);
    color: #6f0012;
    font-size: 13px;
    font-weight: 780;
}

.support-ticket-summary-card,
.support-thread-card {
    background: linear-gradient(180deg, #fffefc 0%, #fff9ef 100%);
    border: 1px solid rgba(213, 187, 134, 0.24);
    border-radius: 28px;
    padding: 18px 16px 20px;
    box-shadow: 0 18px 40px rgba(79, 0, 11, 0.08);
}

.support-ticket-summary-card h1 {
    margin: 0 0 8px;
    color: #341f24;
    font-size: 24px;
    font-weight: 840;
    line-height: 1.8;
}

.support-ticket-summary-card p {
    margin: 0 0 14px;
    color: #695b60;
    font-size: 13px;
    line-height: 2;
}

.support-ticket-summary-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.support-ticket-summary-item {
    display: grid;
    gap: 5px;
    min-height: 74px;
    padding: 13px 14px;
    border-radius: 18px;
    background: #ffffff;
    border: 1px solid rgba(111, 0, 18, 0.1);
}

.support-ticket-summary-item span {
    color: #8a7b7f;
    font-size: 12px;
    font-weight: 740;
}

.support-ticket-summary-item strong {
    color: #341f24;
    font-size: 14px;
    font-weight: 800;
}

.support-thread-head h2 {
    margin: 0;
    color: #341f24;
    font-size: 21px;
    font-weight: 830;
}

.support-thread-list {
    display: grid;
    gap: 14px;
    margin-top: 14px;
}

.support-reply-form {
    padding: 14px 0 0;
}

.support-thread-message {
    display: grid;
    gap: 8px;
}

.support-thread-message.is-user {
    justify-items: start;
}

.support-thread-message.is-admin {
    justify-items: end;
}

.support-thread-bubble {
    width: min(100%, 320px);
    display: grid;
    gap: 10px;
    padding: 14px;
    border-radius: 22px;
    box-shadow: 0 12px 28px rgba(79, 0, 11, 0.07);
}

.support-thread-message.is-user .support-thread-bubble {
    background: #ffffff;
    color: #3c3035;
    border: 1px solid rgba(213, 187, 134, 0.22);
    border-bottom-right-radius: 8px;
}

.support-thread-message.is-admin .support-thread-bubble {
    background: linear-gradient(135deg, #7d0015 0%, #980f26 100%);
    color: #fff7ee;
    border-bottom-left-radius: 8px;
}

.support-thread-author {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    font-weight: 800;
}

.support-thread-author-badge {
    width: 30px;
    height: 30px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    flex-shrink: 0;
    font-size: 11px;
}

.support-thread-message.is-user .support-thread-author-badge {
    background: #fff2de;
    color: #7f0015;
}

.support-thread-message.is-admin .support-thread-author-badge {
    background: rgba(255, 255, 255, 0.16);
    color: #fff8ef;
}

.support-thread-text {
    margin: 0;
    font-size: 13px;
    line-height: 2;
}

.support-thread-attachments {
    display: grid;
    gap: 8px;
}

.support-thread-attachment {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 48px;
    padding: 10px 12px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.12);
    color: inherit;
}

.support-thread-message.is-user .support-thread-attachment {
    background: #fff7e8;
}

.support-thread-message.is-admin .support-thread-attachment {
    background: rgba(255, 255, 255, 0.12);
}

.support-thread-attachment-icon {
    width: 34px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    flex-shrink: 0;
}

.support-thread-message.is-user .support-thread-attachment-icon {
    background: #ffffff;
}

.support-thread-message.is-admin .support-thread-attachment-icon {
    background: rgba(255, 255, 255, 0.14);
}

.support-thread-attachment-copy {
    display: grid;
    gap: 3px;
}

.support-thread-attachment-copy strong {
    font-size: 12px;
    font-weight: 780;
}

.support-thread-attachment-copy span {
    font-size: 11px;
    opacity: 0.82;
}

.support-thread-meta {
    color: #8e8085;
    font-size: 11px;
    font-weight: 760;
}

@media (max-width: 767px) {

    .support-toolbar,
    .support-table-footer {
        flex-direction: column;
        align-items: stretch;
    }

    .support-table-wrap {
        overflow: visible;
        border: none;
        background: transparent;
    }

    .support-table thead {
        display: none;
    }

    .support-table tbody {
        display: grid;
        gap: 12px;
    }

    .support-table tbody tr {
        display: grid;
        gap: 10px;
        padding: 14px;
        border-radius: 20px;
        border: 1px solid rgba(213, 187, 134, 0.2);
        background: #ffffff;
        box-shadow: 0 10px 24px rgba(79, 0, 11, 0.05);
    }

    .support-table tbody td {
        display: flex;
        align-items: flex-start;
        justify-content: space-between;
        gap: 12px;
        padding: 0;
        border-top: none;
        text-align: left;
    }

    .support-ticket-summary-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .support-thread-bubble {
        width: 100%;
    }

    .support-table tbody td::before {
        content: attr(data-label);
        flex: 0 0 90px;
        color: #7d7175;
        font-size: 12px;
        font-weight: 780;
        text-align: right;
    }

    .support-ticket-title,
    .support-ticket-code {
        flex: 1 1 auto;
        min-width: 0;
    }

    .support-ticket-modal .modal-dialog {
        width: min(372px, calc(100vw - 24px));
        max-width: calc(100vw - 24px);
        margin: 0.75rem auto;
    }

    .support-ticket-content {
        border-radius: 22px;
        max-height: calc(100vh - 24px);
    }

    .support-ticket-header {
        padding: 14px 14px 0;
    }

    .support-ticket-form {
        gap: 9px;
        padding: 12px 14px 14px;
    }

    .support-field input,
    .support-field select,
    .support-field textarea {
        padding: 10px 12px;
    }

    .support-field textarea {
        min-height: 96px;
    }

    .support-upload-field {
        padding: 10px 12px;
    }

    .support-submit-button {
        min-height: 48px;
    }
}

.archive-table-filter-box {
    background: linear-gradient(180deg, #fbf7f4 0%, #f5efea 100%);
    border-radius: 14px;
    padding: 14px;
    margin-top: 10px;
    border: 1px solid rgba(224, 214, 206, 0.9);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.72);
}

.archive-table-form {
    display: grid;
    gap: 12px;
}

.archive-table-date-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.archive-table-date-field {
    min-height: 42px;
    border: 1px solid rgba(191, 179, 170, 0.8);
    border-radius: 11px;
    background: rgba(255, 255, 255, 0.92);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 0 10px;
}

.archive-table-date-field input {
    width: 100%;
    border: 0;
    background: transparent;
    color: #4c4347;
    font: inherit;
    font-size: 12px;
    font-weight: 650;
    outline: 0;
    text-align: right;
}

.archive-table-date-field input::placeholder {
    color: #8f878a;
}

.archive-table-access-note {
    border-radius: 10px;
    background: rgba(213, 187, 134, 0.12);
    border: 1px solid rgba(213, 187, 134, 0.28);
    color: #5f4c27;
    font-size: 12px;
    font-weight: 640;
    line-height: 1.9;
    padding: 8px 10px;
}

.archive-table-submit {
    min-height: 44px;
    border: 0;
    border-radius: 12px;
    background: #dec386;
    color: #211714;
    font: inherit;
    font-size: 15px;
    font-weight: 760;
    box-shadow: 0 8px 16px rgba(121, 83, 22, 0.14);
    transition: opacity 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.archive-table-submit:disabled,
.archive-table-submit.is-loading {
    opacity: 0.78;
    cursor: wait;
    transform: none;
    box-shadow: 0 6px 14px rgba(121, 83, 22, 0.1);
}

.archive-table-form.is-loading .archive-table-date-field {
    opacity: 0.82;
}

.archive-table-results {
    margin-top: 14px;
    background: #ffffff;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 10px 24px rgba(90, 31, 15, 0.08);
    border: 1px solid rgba(216, 208, 202, 0.78);
}

.archive-table-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 10px 12px 8px;
    direction: ltr;
    background: linear-gradient(180deg, #fffaf5 0%, #fff6ed 100%);
    border-bottom: 1px solid rgba(227, 220, 214, 0.7);
}

.archive-table-toolbar-actions {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.archive-table-toolbar-button {
    width: 34px;
    height: 34px;
    border: 1px solid rgba(213, 187, 134, 0.38);
    border-radius: 10px;
    background: #ffffff;
    color: #a77d2c;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 18px rgba(121, 83, 22, 0.08);
}

.archive-table-toolbar-copy {
    direction: rtl;
    color: #6f615c;
    font-size: 11px;
    font-weight: 720;
}

.archive-table-scroll {
    overflow: hidden;
}

.archive-table-head,
.archive-table-row {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    align-items: center;
    gap: 4px;
    width: 100%;
}

.archive-table-head {
    min-height: 36px;
    background: #f6f1ed;
    color: #514344;
    font-size: 12px;
    font-weight: 780;
    padding: 0 8px;
}

.archive-table-head span,
.archive-table-row span {
    text-align: center;
    min-width: 0;
}

.archive-table-sort {
    border: 0;
    background: transparent;
    min-width: 0;
    width: 100%;
    min-height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    color: inherit;
    font: inherit;
    padding: 0;
}

.archive-table-sort-arrows {
    display: inline-grid;
    gap: 2px;
}

.archive-table-sort-arrows i {
    width: 0;
    height: 0;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    opacity: 0.36;
}

.archive-table-sort-arrows i:first-child {
    border-bottom: 5px solid currentColor;
}

.archive-table-sort-arrows i:last-child {
    border-top: 5px solid currentColor;
}

.archive-table-sort.is-active {
    color: #7a0013;
}

.archive-table-sort.is-active[data-sort-direction="asc"] .archive-table-sort-arrows i:first-child,
.archive-table-sort.is-active[data-sort-direction="desc"] .archive-table-sort-arrows i:last-child {
    opacity: 1;
}

.archive-table-body {
    background: #ffffff;
}

.archive-table-row {
    min-height: 36px;
    padding: 0 8px;
    color: #1f1715;
    font-size: 12px;
    font-weight: 670;
    border-top: 1px solid rgba(227, 220, 214, 0.8);
}

.archive-table-empty-row {
    min-height: 40px;
    display: grid;
    place-items: center;
    color: #666064;
    font-size: 12px;
    font-weight: 600;
    padding: 0 12px;
    border-top: 1px solid rgba(227, 220, 214, 0.8);
    direction: rtl;
    unicode-bidi: plaintext;
    text-align: right;
}

.archive-table-row .archive-table-number,
.archive-table-row .archive-table-date {
    direction: ltr;
}

.archive-access-alert-open {
    overflow: hidden;
}

.archive-access-alert {
    position: fixed;
    inset: 0;
    z-index: 1200;
}

.archive-access-alert-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(22, 18, 17, 0.52);
    backdrop-filter: blur(3px);
}

.archive-access-alert-dialog {
    position: relative;
    width: min(420px, calc(100vw - 28px));
    margin: min(14vh, 110px) auto 0;
    border-radius: 24px;
    background: linear-gradient(180deg, #fffdfa 0%, #f7f1ea 100%);
    border: 1px solid rgba(214, 194, 157, 0.9);
    box-shadow: 0 24px 60px rgba(41, 25, 18, 0.24);
    padding: 22px 20px 18px;
    text-align: center;
}

.archive-access-alert-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 32px;
    padding: 0 14px;
    border-radius: 999px;
    background: rgba(213, 187, 134, 0.18);
    color: #8a6531;
    font-size: 11px;
    font-weight: 780;
    margin-bottom: 12px;
}

.archive-access-alert-title {
    margin: 0;
    color: #2b201e;
    font-size: 18px;
    font-weight: 800;
    line-height: 1.7;
}

.archive-access-alert-text {
    margin: 12px 0 18px;
    color: #5a4d49;
    font-size: 13px;
    font-weight: 620;
    line-height: 2;
}

.archive-access-alert-button {
    min-width: 152px;
    min-height: 42px;
    border: 0;
    border-radius: 12px;
    background: #d5bb86;
    color: #241a17;
    font: inherit;
    font-size: 14px;
    font-weight: 780;
    box-shadow: 0 10px 18px rgba(121, 83, 22, 0.16);
}

@media (max-width: 640px) {
    .archive-table-date-grid {
        grid-template-columns: 1fr;
    }

    .archive-table-head,
    .archive-table-row,
    .archive-table-empty-row {
        padding-left: 5px;
        padding-right: 5px;
    }

    .archive-table-head {
        font-size: 9px;
        gap: 2px;
        min-height: 34px;
    }

    .archive-table-row {
        font-size: 9px;
        gap: 2px;
        min-height: 34px;
    }

    .archive-table-sort {
        gap: 2px;
    }

    .archive-table-sort-arrows i {
        border-left-width: 3px;
        border-right-width: 3px;
    }

    .archive-table-sort-arrows i:first-child {
        border-bottom-width: 4px;
    }

    .archive-table-sort-arrows i:last-child {
        border-top-width: 4px;
    }

    .archive-table-toolbar {
        padding: 10px;
    }

    .archive-table-toolbar-copy {
        font-size: 10px;
    }

    .archive-access-alert-dialog {
        padding: 20px 16px 16px;
    }

    .archive-access-alert-title {
        font-size: 16px;
    }
}

@media (max-width: 768px) {
    .dashboard-price-row,
    .dashboard-price-row-table,
    .dashboard-price-value,
    .dashboard-price-number,
    .dashboard-price-value small {
        font-size: 13px !important;
    }

    .dashboard-price-row {
        gap: 8px;
    }
}

jdp-container {
    color: #1f1715;
    font-family: "Yekan Bakh VF", Tahoma, "Segoe UI", sans-serif;
    font-variation-settings: "wght" 560;
}

jdp-container .jdp-days,
jdp-container .jdp-day,
jdp-container .jdp-day-name,
jdp-container .jdp-month,
jdp-container .jdp-year,
jdp-container .jdp-btn-today,
jdp-container .jdp-btn-empty,
jdp-container .jdp-btn-close {
    font-family: inherit;
}

jdp-container .jdp-day,
jdp-container .jdp-day-name {
    color: #1f1715 !important;
    font-size: 14px;
    font-weight: 600;
    line-height: 31px;
    text-indent: 0;
}

jdp-container .jdp-day-name {
    font-weight: 760;
}

jdp-container .jdp-day.selected,
jdp-container .jdp-day-name.selected {
    color: #ffffff !important;
}

jdp-container .jdp-day.holly-day,
jdp-container .jdp-day.last-week,
jdp-container .jdp-day-name.holly-day,
jdp-container .jdp-day-name.last-week {
    color: #c6382c !important;
}

.auth-content {
    padding: 42px 0 24px;
}

.identity-page .auth-content {
    padding: 14px 16px 120px;
}

.identity-page .auth-card {
    min-height: auto;
    padding: 20px 16px 18px;
    justify-content: flex-start;
}

.info-card {
    background: linear-gradient(180deg, #fcfbfa 0%, #f8f3ef 100%);
    color: #312d31;
    border-radius: 22px;
    padding: 24px 20px 20px;
    min-height: 382px;
    border: 1px solid rgba(215, 177, 106, 0.14);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.65);
}

.auth-card {
    min-height: 380px;
    max-width: 100%;
    padding: 38px 26px 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.auth-otp-card {
    min-height: 380px;
}

.auth-verify-card {
    min-height: 438px;
    display: grid;
    gap: 16px;
}

.auth-form {
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.auth-verify-form {
    gap: 18px;
}

.auth-title {
    margin: 0;
    text-align: center;
    color: #454046;
    font-size: 18px;
    font-weight: 720;
}

.auth-step-alert,
.auth-step-note,
.auth-step-error {
    border-radius: 14px;
    padding: 10px 12px;
    font-size: 13px;
    font-weight: 720;
    line-height: 1.8;
}

.auth-step-alert.is-success,
.auth-step-note.is-success {
    color: #166534;
    background: #eefaf1;
    border: 1px solid rgba(31, 138, 67, 0.18);
}

.auth-step-alert.is-error,
.auth-step-error {
    color: #9f1239;
    background: #fff1f2;
    border: 1px solid #fecdd3;
}

.auth-step-summary,
.auth-step-card {
    border-radius: 18px;
    border: 1px solid rgba(213, 187, 134, 0.28);
    background: #fffdf8;
    padding: 14px;
}

.auth-step-summary {
    display: grid;
    gap: 14px;
    background: linear-gradient(135deg, #fffdf8 0%, #fff8ec 100%);
}

.auth-step-summary span,
.auth-step-head span,
.auth-step-field span,
.auth-step-amount span {
    color: #8a6d49;
    font-size: 12px;
    font-weight: 780;
}

.auth-step-summary-head,
.auth-step-title-wrap {
    display: flex;
    align-items: center;
    gap: 12px;
}

.auth-step-summary-icon,
.auth-step-marker {
    width: 42px;
    height: 42px;
    border-radius: 15px;
    display: grid;
    place-items: center;
    flex-shrink: 0;
}

.auth-step-summary-icon {
    color: #6f0012;
    background: linear-gradient(180deg, #fff0cd 0%, #ffe4ae 100%);
    box-shadow: inset 0 0 0 1px rgba(213, 187, 134, 0.35);
}

.auth-step-marker {
    color: #6f0012;
    background: #fff4d7;
    border: 1px solid rgba(213, 187, 134, 0.5);
    font-size: 18px;
    font-weight: 900;
}

.auth-step-card.is-done .auth-step-marker {
    color: #16743a;
    background: #eefaf1;
    border-color: rgba(31, 138, 67, 0.2);
}

.auth-step-card.is-active .auth-step-marker {
    color: #fff8f0;
    background: linear-gradient(135deg, #6f0012 0%, #8e1627 100%);
    border-color: transparent;
    box-shadow: 0 10px 20px rgba(111, 0, 18, 0.18);
}

.auth-step-card.is-locked .auth-step-marker {
    color: #9b8d83;
    background: #f5eee6;
    border-color: rgba(188, 171, 153, 0.35);
}

.auth-step-summary strong,
.auth-step-head strong {
    color: #341f24;
    font-size: 16px;
    font-weight: 840;
}

.auth-user-info-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
}

.auth-user-info-item {
    display: grid;
    gap: 5px;
    min-width: 0;
    padding: 10px 12px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(213, 187, 134, 0.24);
}

.auth-user-info-item strong {
    color: #34282d;
    font-size: 13px;
    font-weight: 820;
    line-height: 1.7;
    overflow-wrap: anywhere;
}

.auth-step-summary small {
    color: #6f6468;
    font-size: 12px;
    font-weight: 650;
    line-height: 1.8;
}

.auth-step-list,
.auth-step-form,
.auth-card-list {
    display: grid;
    gap: 12px;
}

.auth-step-card {
    display: grid;
    gap: 12px;
}

.auth-step-card.is-done {
    border-color: rgba(31, 138, 67, 0.18);
    background: #fbfffc;
}

.auth-step-card.is-locked {
    opacity: 0.72;
}

.auth-step-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.auth-step-field {
    display: grid;
    gap: 6px;
}

.auth-step-form .auth-input {
    text-align: left;
    direction: ltr;
    font-size: 16px;
    font-weight: 760;
}

.auth-step-form .auth-select {
    text-align: right;
    direction: rtl;
}

.auth-step-amount {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    border-radius: 16px;
    background: #6f0012;
    color: #fff8f0;
    padding: 12px 14px;
}

.auth-step-amount span,
.auth-step-amount strong {
    color: inherit;
}

.auth-step-amount strong {
    font-size: 16px;
    font-weight: 840;
}

.auth-card-list-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 10px 12px;
    border-radius: 14px;
    background: #fff8e6;
    color: #5f4f53;
    font-size: 13px;
    font-weight: 760;
}

@media (max-width: 575px) {
    .auth-user-info-grid {
        grid-template-columns: 1fr;
    }
}

.auth-field-wrap {
    display: grid;
    gap: 10px;
}

.auth-input {
    width: 100%;
    height: 46px;
    border: 1.5px solid rgba(213, 187, 134, 0.72);
    border-radius: 14px;
    background: #fff;
    color: #3f3b40;
    padding: 0 16px;
    font-size: 18px;
    text-align: center;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.auth-input-right {
    text-align: right;
}

.auth-select-wrap {
    position: relative;
}

.auth-select-wrap::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 16px;
    width: 10px;
    height: 10px;
    border-left: 2px solid rgba(213, 187, 134, 0.92);
    border-bottom: 2px solid rgba(213, 187, 134, 0.92);
    transform: translateY(-65%) rotate(-45deg);
    pointer-events: none;
}

.auth-select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    padding-left: 42px;
    text-align: right;
    text-align-last: right;
    color: #4a4448;
}

.auth-select:disabled {
    color: rgba(74, 68, 72, 0.45);
    background: #fcfcfc;
}

.auth-input:focus,
.otp-input:focus {
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(213, 187, 134, 0.18);
}

.auth-submit {
    width: 100%;
    min-height: 46px;
    border: 0;
    border-radius: 999px;
    background: linear-gradient(180deg, #e1c687 0%, #d4b168 100%);
    color: #4c4346;
    font-size: 18px;
    font-weight: 560;
    padding: 10px 18px;
}

.auth-submit:disabled,
.auth-submit.is-loading {
    cursor: wait;
    opacity: 0.72;
    box-shadow: none;
}

.auth-submit.is-loading {
    background: linear-gradient(180deg, #d8bf80 0%, #c8a85f 100%);
}

.auth-error {
    margin: 0;
    color: #b53b3b;
    font-size: 13px;
    text-align: center;
}

.auth-success {
    margin: 0;
    color: #2f7d4a;
    font-size: 13px;
    text-align: center;
}

.otp-inputs {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.otp-input:-webkit-autofill {
    animation-name: onAutoFillStart;
    animation-duration: 0.001s;
}

@keyframes onAutoFillStart {
    from {
        opacity: 0.01;
    }

    to {
        opacity: 0.01;
    }
}

.otp-input {
    width: 46px;
    height: 46px;
    border: 1.5px solid rgba(213, 187, 134, 0.72);
    border-radius: 12px;
    background: #fff;
    text-align: center;
    font-size: 22px;
    color: #3f3b40;
    outline: none;
}

.auth-links {
    margin-top: 28px;
    display: grid;
    gap: 22px;
}

.auth-links a {
    color: #2c86ff;
    text-decoration: none;
    font-size: 16px;
    font-weight: 650;
}

.auth-footer {
    margin-top: auto;
}

.info-card-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
}

.gold-card-header {
    min-height: 40px;
    gap: 10px;
    justify-content: flex-end;
}

.gold-card-title-block {
    width: 100%;
    display: grid;
    justify-items: start;
    text-align: right;
}

.section-title-row {
    width: fit-content;
    max-width: 100%;
    display: inline-flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    gap: 8px;
    margin-left: 0;
    justify-self: start;
}

.section-card-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.section-card-icon svg {
    display: block;
}

.section-title {
    font-size: 19px;
    font-weight: 780;
    color: #343034;
}

.section-subtitle {
    color: rgba(52, 48, 52, 0.56);
    font-size: 12px;
    font-variation-settings: "wght" 420;
    width: fit-content;
    margin-left: 0;
    justify-self: start;
    text-align: right;
}

.gold-mark {
    width: fit-content;
    max-width: 100%;
    display: inline-flex;
    align-items: center;
    justify-content: flex-start;
    align-self: flex-start;
    flex-shrink: 0;
}

.gold-mark svg {
    width: auto;
    height: auto;
    display: block;
    max-width: 100%;
}

.gold-mark span,
.brand-icon span {
    display: block;
    background: linear-gradient(180deg, var(--gold-soft) 0%, var(--gold) 100%);
    border-radius: 2px;
}

.gold-mark span:nth-child(1) {
    grid-column: 2;
    height: 8px;
}

.gold-mark span:nth-child(2),
.gold-mark span:nth-child(3) {
    height: 8px;
}

.gold-mark span:nth-child(4) {
    grid-column: span 3;
    height: 10px;
}

.price-list {
    margin-top: 5px;
    display: grid;
    gap: 22px;
}

.new-list {
    margin-top: 5px;
    gap: 14px;
}

.new-price-head,
.new-price-row {
    display: grid;
    direction: rtl;
    grid-template-columns: minmax(0, 1.4fr) minmax(120px, 1fr) minmax(120px, 1fr);
    align-items: center;
    justify-items: stretch;
    column-gap: 12px;
}

.new-price-head {
    background: rgba(228, 204, 149, 0.25);
    border-radius: 14px;
    padding: 10px 14px;
    color: #6f5120;
    font-size: 16px;
    font-weight: 780;
}

.new-price-row {
    padding: 0 6px;
}

.new-price-title,
.new-price-title-head {
    width: 100%;
    text-align: right;
    justify-self: stretch;
}

.new-price-title {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 4px;
    min-width: 0;
}

.new-price-label {
    font-size: 16px;
    font-weight: 780;
    color: #3f3b40;
    white-space: nowrap;
}

.new-price-cell,
.new-price-cell-head {
    text-align: center;
}

.new-price-cell.is-hidden,
.new-price-cell-head.is-hidden,
.dashboard-price-cell.is-hidden,
.dashboard-price-head-buy.is-hidden,
.ticker-side-value.is-hidden {
    display: none;
}

.new-price-cell.is-wide,
.new-price-cell-head.is-wide,
.dashboard-price-cell.is-wide,
.dashboard-price-head-sell.is-wide {
    grid-column: 2 / 4;
}

.new-price-cell-head {
    justify-self: stretch;
}

.new-list .item-value {
    width: 100%;
    justify-content: center;
    text-align: center;
    color: var(--gold);
}

.new-price-cell.is-wide .item-value,
.new-price-cell-head.is-wide {
    justify-content: flex-end;
    text-align: left;
}

.new-list .item-value-number {
    color: inherit;
}

.new-list .price-trend {
    order: 0;
    margin-right: 0;
    min-width: 18px;
    width: 18px;
    height: 18px;
    font-size: 11px;
}

.new-list .price-trend.is-flat {
    background: rgba(213, 187, 134, 0.18);
    color: #9a7b3a;
}

.price-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.item-name {
    font-size: 18px;
    font-weight: 780;
    color: #3f3b40;
}

.item-value {
    font-size: 17px;
    font-weight: 760;
    color: var(--gold);
    text-align: left;
    direction: ltr;
    display: inline-flex;
    align-items: center;
    flex-direction: row-reverse;
    gap: 6px;
}

.item-value-number {
    font-size: 17px;
    font-weight: 760;
    white-space: nowrap;
}

.item-value small {
    font-size: 0.88em;
    font-weight: 700;
    margin-left: 0;
}

.price-trend,
.ticker-trend {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 20px;
    width: 20px;
    height: 20px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 900;
    line-height: 1;
    flex-shrink: 0;
}

.price-trend {
    order: -1;
}

.price-trend.is-up,
.ticker-trend.is-up {
    background: rgba(16, 185, 129, 0.14);
    color: #10b981;
}

.price-trend.is-down,
.ticker-trend.is-down {
    background: rgba(239, 68, 68, 0.14);
    color: #ef4444;
}

.item-value.is-loading,
.ticker-item.is-loading .ticker-value-wrap {
    position: relative;
    color: #bba980;
    overflow: hidden;
}

.item-value.is-loading .item-value-number,
.ticker-item.is-loading .ticker-value-number {
    font-size: 11px;
    font-weight: 600;
    white-space: nowrap;
    direction: rtl;
    unicode-bidi: plaintext;
    text-align: right;
}

.item-value.is-loading::after,
.ticker-item.is-loading .ticker-value-wrap::after {
    content: "";
    position: absolute;
    inset: -2px;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0) 0%, rgba(255, 247, 220, 0.92) 50%, rgba(255, 255, 255, 0) 100%);
    transform: translateX(100%);
    animation: archiveLoadingSweep 1.3s linear infinite;
}

.price-trend.is-flat,
.ticker-trend.is-flat {
    background: rgba(255, 255, 255, 0.12);
    color: rgba(255, 247, 242, 0.82);
}

.category-pill {
    background: rgba(215, 177, 106, 0.16);
    color: #7d5920;
    font-weight: 700;
    padding: 8px 11px;
}

.special-card {
    min-height: auto;
}

@media (max-width: 520px) {

    .profile-edit-grid {
        grid-template-columns: 1fr;
    }

    .profile-avatar-button {
        align-items: flex-start;
    }

    .profile-avatar-preview {
        width: 80px;
        height: 80px;
        border-radius: 20px;
    }

    .new-price-head,
    .new-price-row {
        grid-template-columns: minmax(0, 1.2fr) minmax(100px, 1fr) minmax(100px, 1fr);
        column-gap: 8px;
    }

    .new-price-head {
        padding: 9px 10px;
        font-size: 14px;
    }

    .new-price-label {
        font-size: 16px;
    }

    .new-list .item-value,
    .new-list .item-value-number {
        font-size: 15px;
    }
}

.special-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin-top: 10px;
}

.special-box {
    background: #fff;
    border: 1px solid rgba(122, 57, 21, 0.08);
    border-radius: 18px;
    padding: 16px;
    min-height: 108px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: 0 10px 24px rgba(90, 31, 15, 0.05);
}

.special-box strong {
    color: #4a3638;
    font-size: 15px;
}

.special-box span {
    color: rgba(61, 48, 49, 0.64);
    font-size: 13px;
    line-height: 1.8;
}

.landing-special-guest-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    background: linear-gradient(180deg, rgba(255, 250, 241, 0.98) 0%, rgba(249, 240, 218, 0.98) 100%);
    border: 1px solid rgba(213, 187, 134, 0.26);
    border-radius: 18px;
    padding: 14px 16px;
    color: #5c4648;
    font-size: 13px;
    font-weight: 700;
    margin-top: 6px;
}

.landing-special-guest-link {
    flex-shrink: 0;
    min-width: 92px;
    text-align: center;
    text-decoration: none;
    border-radius: 12px;
    background: linear-gradient(180deg, #7b0718 0%, #5b0010 100%);
    color: #ffffff;
    padding: 10px 14px;
    box-shadow: 0 10px 24px rgba(91, 0, 16, 0.18);
}

.landing-special-grid {
    margin-top: 14px;
}

.landing-special-box {
    background: linear-gradient(180deg, #ffffff 0%, #fffaf3 100%);
    border-color: rgba(213, 187, 134, 0.18);
    min-height: 124px;
}

.landing-special-box strong {
    color: #4b3437;
    font-size: 15px;
    line-height: 1.7;
}

.landing-special-box span {
    color: rgba(76, 58, 60, 0.72);
}

.section-label {
    color: var(--text-light);
    font-size: 19px;
    font-weight: 800;
}

.currency-dot {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: linear-gradient(180deg, #f2d391 0%, #d6aa59 100%);
    color: #6c1220;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 21px;
    font-weight: 800;
}

.ticker-shell {
    overflow: hidden;
    border-top: 1px solid rgba(255, 247, 242, 0.42);
    border-bottom: 1px solid rgba(255, 247, 242, 0.42);
    padding: 14px 0;
}

.ticker-track {
    display: flex;
    align-items: center;
    gap: 18px;
    width: max-content;
    animation: ticker-rtl 14s linear infinite;
    will-change: transform;
}

.ticker-item {
    display: inline-flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
    white-space: nowrap;
    padding: 0 14px 0 0;
    position: relative;
}

.ticker-item::before {
    content: "";
    width: 2px;
    height: 30px;
    border-radius: 999px;
    background: rgba(255, 247, 242, 0.96);
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
}

.ticker-title-row {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.ticker-title {
    color: var(--gold-soft);
    font-size: 15px;
    font-weight: 700;
}

.ticker-item strong {
    color: var(--text-light);
    font-size: 17px;
    font-weight: 800;
    letter-spacing: 0.01em;
}

.ticker-value-wrap {
    display: inline-flex;
    align-items: center;
    gap: 12px;
}

.ticker-item.is-single-price .ticker-value-wrap {
    gap: 0;
}

.ticker-side-value {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.ticker-side-label {
    color: rgba(255, 247, 242, 0.82);
    font-size: 13px;
    font-weight: 700;
}

.footer-row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    color: var(--text-light);
}

.footer-row p,
.footer-row a,
.footer-row span,
.footer-link-trigger {
    margin: 0;
    color: var(--text-light);
    text-decoration: none;
    font-size: 14px;
    line-height: 1.9;
}

.footer-link-row a {
    font-weight: 700;
}

.footer-icon {
    width: 30px;
    height: 38px;
    flex-shrink: 0;
    color: var(--text-light);
}

.site-footer-brand {
    margin-top: 22px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.site-footer-brand svg {
    width: 107px;
    max-width: 100%;
    height: auto;
    display: block;
}

.filled-dot {
    fill: currentColor;
    stroke: none;
}

.brand-icon {
    width: 56px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 4px;
}

.brand-icon span {
    height: 16px;
}

.brand-name {
    color: var(--gold);
    font-size: 28px;
    font-weight: 800;
    letter-spacing: 0.18em;
}

@keyframes ticker-rtl {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(50%);
    }
}

@media (max-width: 460px) {
    .page-shell {
        padding-inline: 0;
        padding-top: 0;
    }

    .dashboard-page {
        padding: 14px 10px 100px;
    }

    .dashboard-status-row {
        font-size: 14px;
    }

    .dashboard-tabs .nav-link {
        min-width: 66px;
        padding: 10px 12px;
        font-size: 14px;
    }

    .dashboard-price-row {
        font-size: 14px;
    }

    .dashboard-bottom-nav {
        right: 10px;
        left: 10px;
        gap: 4px;
        padding-inline: 8px;
    }

    .project-label {
        padding: 14px 16px 0;
    }

    .app-panel {
        border-radius: 0;
        min-height: calc(100vh - 30px);
        padding: 16px 16px 28px;
    }
}

@media (max-width: 360px) {
    .topbar {
        gap: 6px !important;
    }

    .dashboard-drawer {
        width: calc(100% - 42px);
    }

    .profile-chip {
        width: 44px;
        height: 44px;
        flex-basis: 44px;
        border-radius: 14px;
    }

    .profile-chip svg {
        width: 28px;
        height: 28px;
    }

    .status-card {
        min-height: 44px;
        padding: 8px 8px !important;
        border-radius: 14px;
    }

    .status-icon {
        flex: 0 0 24px;
        margin-right: 3px !important;
    }

    .status-icon svg {
        width: 24px;
        height: 24px;
    }

    .status-meta {
        font-size: 12px;
    }

    .status-meta .d-flex {
        gap: 8px !important;
    }

    .price-tabs .nav-link {
        font-size: 15px;
        padding-bottom: 14px;
    }

    .item-name,
    .item-value {
        font-size: 16px;
    }

    .info-card {
        padding-inline: 16px;
    }

    .auth-card {
        padding: 28px 18px 24px;
    }

    .otp-inputs {
        gap: 8px;
    }

    .otp-input {
        width: 40px;
        height: 40px;
    }

    .special-grid {
        grid-template-columns: 1fr;
    }

    .landing-special-guest-cta {
        flex-direction: column;
        align-items: stretch;
        text-align: center;
    }

    .landing-special-guest-link {
        width: 100%;
    }

    .footer-row p,
    .footer-row a,
    .footer-row span,
    .footer-link-trigger {
        font-size: 13px;
    }
}

.bills-page {
    display: flex;
    flex-direction: column;
}

.bills-card {
    min-height: calc(100vh - 132px);
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 10px 24px rgba(90, 31, 15, 0.06);
    padding: 28px 24px 26px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.bills-copy {
    color: #1f2a35;
    font-size: 18px;
    font-weight: 720;
    line-height: 2;
    margin-bottom: 34px;
}

.bills-copy p {
    margin: 0;
}

.bills-illustration {
    width: min(100%, 320px);
    margin-bottom: 40px;
}

.bills-illustration svg {
    width: 100%;
    height: auto;
    display: block;
}

.bills-back-button {
    width: 100%;
    min-height: 50px;
    border-radius: 999px;
    background: #d5bb86;
    color: #182230;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: 760;
    box-shadow: 0 10px 22px rgba(121, 83, 22, 0.14);
}

.dashboard-menu-item-sub {
    min-height: 44px;
    padding-right: 14px;
}

.dashboard-menu-item-sub .dashboard-menu-label {
    font-size: 14px;
    font-weight: 550;
}

.dashboard-menu-item.active,
.dashboard-menu-item.is-active {
    border: 1px dashed rgba(213, 187, 134, 0.46);
    background: #fcfbf9;
    color: var(--dashboard-icon-color, currentColor);
}

.dashboard-bottom-item svg [stroke]:not([stroke="none"]) {
    stroke: currentColor;
}

.dashboard-bottom-item svg [fill]:not([fill="none"]) {
    fill: currentColor;
}

html.app-theme-dark .dashboard-menu-item.active,
html.app-theme-dark .dashboard-menu-item.is-active {
    background: #2a2a2a;
    border: 1px dashed rgba(255, 255, 255, 0.18);
    color: #ffffff;
}

html.app-theme-dark .dashboard-menu-main svg [stroke]:not([stroke="none"]),
html.app-theme-dark .dashboard-drawer-close svg [stroke]:not([stroke="none"]) {
    stroke: #ffffff;
}

html.app-theme-dark .dashboard-menu-main svg [fill]:not([fill="none"]) {
    fill: #ffffff;
}

html.app-theme-dark .dashboard-drawer-footer,
html.app-theme-dark .dashboard-profile-logout {
    color: #ffffff;
}

html.app-theme-dark .dashboard-account-chip span {
    color: rgba(255, 255, 255, 0.72);
}

html.app-theme-dark .dashboard-subscription-summary {
    background: linear-gradient(180deg, rgba(213, 187, 134, 0.12) 0%, #2a2a2a 100%);
    border-color: rgba(213, 187, 134, 0.22);
}

html.app-theme-dark .dashboard-subscription-summary-item {
    background: #1f1f1f;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

html.app-theme-dark .dashboard-subscription-summary-head span,
html.app-theme-dark .dashboard-subscription-summary-item span {
    color: rgba(255, 255, 255, 0.62);
}

html.app-theme-dark .dashboard-subscription-summary-head strong,
html.app-theme-dark .dashboard-subscription-summary-item strong {
    color: var(--dashboard-accent-red);
}

html.app-theme-dark .dashboard-menu-label {
    color: #ffffff;
}

html.app-theme-dark .dashboard-brand-card h1,
html.app-theme-dark .dashboard-currency-title,
html.app-theme-dark .dashboard-currency-item strong,
html.app-theme-dark .dashboard-price-row {
    color: #ffffff;
}

.price-alerts-section {
    display: grid;
    gap: 14px;
    min-width: 0;
    padding-bottom: 8px;
}

/* ── Web gate hero ── */
.price-alerts-hero {
    position: relative;
    overflow: hidden;
    padding: 22px 18px 20px;
    border-radius: 28px;
    background: linear-gradient(165deg, #fffefb 0%, #fff4df 48%, #ffe9c4 100%);
    border: 1px solid rgba(213, 187, 134, 0.32);
    box-shadow: 0 20px 44px rgba(79, 0, 11, 0.1);
    text-align: center;
}

.price-alerts-hero-glow {
    position: absolute;
    inset: -40% auto auto 50%;
    width: 280px;
    height: 280px;
    transform: translateX(-50%);
    border-radius: 50%;
    background: radial-gradient(circle, rgba(246, 216, 148, 0.55) 0%, rgba(246, 216, 148, 0) 70%);
    pointer-events: none;
}

.price-alerts-hero-badge {
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: 999px;
    background: rgba(111, 0, 18, 0.08);
    color: #6f0012;
    font-size: 11px;
    font-weight: 800;
}

.price-alerts-hero-badges {
    position: relative;
    z-index: 1;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 14px;
}

.price-alerts-hero-badge--ios {
    background: rgba(90, 98, 120, 0.1);
    color: #5a6278;
}

.price-alerts-hero-icon {
    position: relative;
    z-index: 1;
    width: 68px;
    height: 68px;
    margin: 0 auto 14px;
    display: grid;
    place-items: center;
    border-radius: 22px;
    background: linear-gradient(145deg, #6f0012 0%, #9a1a32 100%);
    color: #f6d894;
    box-shadow: 0 12px 28px rgba(111, 0, 18, 0.28);
}

.price-alerts-hero-title {
    position: relative;
    z-index: 1;
    margin: 0 0 10px;
    color: #341f24;
    font-size: clamp(22px, 5vw, 26px);
    font-weight: 900;
    line-height: 1.45;
}

.price-alerts-hero-lead {
    position: relative;
    z-index: 1;
    margin: 0;
    color: #665b5f;
    font-size: 13px;
    line-height: 2;
    max-width: 340px;
    margin-inline: auto;
}

.price-alerts-web-gate {
    display: grid;
    gap: 16px;
    padding-top: 4px;
    padding-bottom: 12px;
}

/* ── Feature cards (web gate) ── */
.price-alerts-feature-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
}

.price-alerts-feature-card {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 16px;
    border-radius: 20px;
    background: #ffffff;
    border: 1px solid rgba(213, 187, 134, 0.28);
    box-shadow: 0 10px 26px rgba(79, 0, 11, 0.06);
}

.price-alerts-feature-card h2 {
    margin: 0 0 4px;
    color: #3f383c;
    font-size: 14px;
    font-weight: 840;
}

.price-alerts-feature-card p {
    margin: 0;
    color: #7a6e72;
    font-size: 12px;
    line-height: 1.85;
}

.price-alerts-feature-icon {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    border-radius: 14px;
}

.price-alerts-feature-icon--open {
    background: linear-gradient(180deg, #fff4d6 0%, #ffe8ad 100%);
    color: #b8860b;
}

.price-alerts-feature-icon--close {
    background: linear-gradient(180deg, #ede8ff 0%, #ddd4ff 100%);
    color: #5b4b8a;
}

.price-alerts-feature-icon--alert {
    background: linear-gradient(180deg, #ffe8ec 0%, #ffd0d8 100%);
    color: #6f0012;
}

/* ── Download card ── */
.price-alerts-download-card {
    padding: 16px;
    border-radius: 24px;
    background: linear-gradient(180deg, #ffffff 0%, #fff9ef 100%);
    border: 1px solid rgba(213, 187, 134, 0.3);
    box-shadow: 0 16px 36px rgba(79, 0, 11, 0.08);
}

.price-alerts-download-head {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
}

.price-alerts-download-icon {
    width: 48px;
    height: 48px;
    flex-shrink: 0;
    display: grid;
    place-items: center;
    border-radius: 16px;
    background: linear-gradient(145deg, #6f0012 0%, #92152e 100%);
    color: #f6d894;
}

.price-alerts-download-head h2 {
    margin: 0 0 3px;
    color: #341f24;
    font-size: 15px;
    font-weight: 860;
}

.price-alerts-download-head p {
    margin: 0;
    color: #8a7a80;
    font-size: 12px;
}

.price-alerts-download-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    min-height: 52px;
    margin-bottom: 16px;
    border-radius: 16px;
    background: linear-gradient(135deg, #6f0012 0%, #9a1a32 100%);
    color: #fffaf1;
    font-size: 14px;
    font-weight: 860;
    text-decoration: none;
    box-shadow: 0 10px 24px rgba(111, 0, 18, 0.24);
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.price-alerts-download-icon--bazaar {
    background: linear-gradient(145deg, #00c471 0%, #00a862 100%);
    border: none;
    color: #ffffff;
}

.price-alerts-bazaar-icon {
    display: block;
    width: 26px;
    height: 26px;
    max-width: 26px;
    max-height: 26px;
    object-fit: contain;
    flex-shrink: 0;
}

.price-alerts-download-icon--bazaar .price-alerts-bazaar-icon {
    filter: brightness(0) invert(1);
}

.price-alerts-bazaar-btn {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    min-height: 56px;
    margin-bottom: 16px;
    padding: 10px 14px;
    border-radius: 16px;
    background: linear-gradient(135deg, #00c471 0%, #00a862 55%, #008f54 100%);
    color: #ffffff;
    text-decoration: none;
    box-shadow: 0 10px 24px rgba(0, 143, 84, 0.28);
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.price-alerts-bazaar-btn:active {
    transform: scale(0.98);
}

.price-alerts-bazaar-btn__icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    display: grid;
    place-items: center;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.22);
}

.price-alerts-bazaar-btn__icon .price-alerts-bazaar-icon {
    width: 22px;
    height: 22px;
    filter: brightness(0) invert(1);
}

.price-alerts-bazaar-btn__copy {
    flex: 1;
    min-width: 0;
    display: grid;
    gap: 2px;
    text-align: right;
}

.price-alerts-bazaar-btn__copy strong {
    font-size: 14px;
    font-weight: 860;
    line-height: 1.4;
}

.price-alerts-bazaar-btn__copy small {
    font-size: 11px;
    font-weight: 600;
    opacity: 0.88;
}

.price-alerts-bazaar-btn__chevron {
    flex-shrink: 0;
    opacity: 0.9;
}

.price-alerts-webapp-divider {
    height: 1px;
    margin: 18px 0 16px;
    background: linear-gradient(90deg, transparent, rgba(213, 187, 134, 0.45), transparent);
}

.price-alerts-webapp-block {
    display: grid;
    gap: 10px;
}

.price-alerts-webapp-note {
    margin: 0;
    text-align: center;
    color: #7a6e72;
    font-size: 13px;
    font-weight: 760;
    line-height: 1.8;
}

.price-alerts-download-btn--webapp {
    background: linear-gradient(135deg, #6f0012 0%, #9a1a32 100%);
    color: #fffaf1;
    box-shadow: 0 10px 24px rgba(111, 0, 18, 0.2);
    border: none;
    cursor: pointer;
    font-family: inherit;
}

.price-alerts-download-btn:active,
.price-alerts-download-btn--webapp:active {
    transform: scale(0.98);
}

.price-alerts-install-steps {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 10px;
}

.price-alerts-install-steps li {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #5f5348;
    font-size: 12px;
    line-height: 1.7;
}

.price-alerts-step-num {
    flex-shrink: 0;
    width: 26px;
    height: 26px;
    display: grid;
    place-items: center;
    border-radius: 999px;
    background: rgba(111, 0, 18, 0.08);
    color: #6f0012;
    font-size: 11px;
    font-weight: 900;
}

/* ── Native app hero ── */
.price-alerts-app-shell {
    position: relative;
    display: grid;
    gap: 12px;
}

.price-alerts-app-shell.is-loading {
    pointer-events: none;
}

.price-alerts-loading {
    position: absolute;
    inset: 0;
    z-index: 4;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    border-radius: 24px;
    background: rgba(255, 251, 245, 0.88);
    backdrop-filter: blur(4px);
    color: #6f0012;
    font-size: 13px;
    font-weight: 780;
}

.price-alerts-loading-spinner,
.price-alerts-btn-spinner {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    border: 2px solid rgba(111, 0, 18, 0.18);
    border-top-color: #6f0012;
    animation: price-alerts-spin 0.7s linear infinite;
}

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

.price-alerts-app-hero {
    display: grid;
    gap: 14px;
    padding: 18px 16px;
    border-radius: 26px;
    background: linear-gradient(165deg, #fffefb 0%, #fff4df 55%, #ffe9c4 100%);
    border: 1px solid rgba(213, 187, 134, 0.3);
    box-shadow: 0 18px 40px rgba(79, 0, 11, 0.08);
}

.price-alerts-app-hero-top {
    display: flex;
    align-items: flex-start;
    gap: 14px;
}

.price-alerts-app-hero-copy {
    flex: 1;
    min-width: 0;
}

.price-alerts-app-hero-icon {
    flex-shrink: 0;
    width: 56px;
    height: 56px;
    display: grid;
    place-items: center;
    border-radius: 18px;
    background: linear-gradient(145deg, #6f0012 0%, #9a1a32 100%);
    color: #f6d894;
    box-shadow: 0 10px 22px rgba(111, 0, 18, 0.22);
}

.price-alerts-kicker {
    display: block;
    margin-bottom: 4px;
    color: #8a6d49;
    font-size: 11px;
    font-weight: 780;
}

.price-alerts-app-title {
    margin: 0 0 6px;
    color: #341f24;
    font-size: 22px;
    font-weight: 900;
}

.price-alerts-app-lead {
    margin: 0;
    color: #665b5f;
    font-size: 12px;
    line-height: 1.85;
}

.price-alerts-entitlement-note {
    margin: 10px 0 0;
    padding: 10px 12px;
    border-radius: 14px;
    background: rgba(255, 247, 230, 0.92);
    border: 1px solid rgba(213, 187, 134, 0.42);
    color: #7a5a24;
    font-size: 12px;
    line-height: 1.85;
    text-align: right;
}

.price-alerts-switch.is-disabled,
.price-alerts-panel.is-disabled .price-alerts-form {
    opacity: 0.58;
    pointer-events: none;
}

.price-alerts-switch.is-disabled {
    filter: grayscale(0.15);
}

.price-alerts-quick-stats {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
}

.price-alerts-stat {
    display: grid;
    gap: 2px;
    padding: 10px 12px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(213, 187, 134, 0.28);
    text-align: center;
}

.price-alerts-stat-icon {
    display: flex;
    justify-content: center;
    color: #b8860b;
    margin-bottom: 2px;
}

.price-alerts-stat-value {
    color: #6f0012;
    font-size: 20px;
    font-weight: 900;
    line-height: 1.2;
}

.price-alerts-stat-label {
    color: #8a7a80;
    font-size: 10px;
    font-weight: 760;
}

.price-alerts-slot-track {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 8px 10px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.55);
}

.price-alerts-slot {
    width: 36px;
    height: 8px;
    border-radius: 999px;
    background: rgba(111, 0, 18, 0.12);
    transition: background 0.2s ease, transform 0.2s ease;
}

.price-alerts-slot.is-filled {
    background: linear-gradient(90deg, #6f0012 0%, #9a1a32 100%);
    transform: scaleY(1.15);
}

/* ── Panels ── */
.price-alerts-panel {
    padding: 16px;
    border-radius: 24px;
    background: #ffffff;
    border: 1px solid rgba(213, 187, 134, 0.28);
    box-shadow: 0 14px 32px rgba(79, 0, 11, 0.06);
}

.price-alerts-panel-head {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 14px;
}

.price-alerts-panel-head-row {
    flex: 1;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 10px;
    min-width: 0;
}

.price-alerts-panel-icon {
    flex-shrink: 0;
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border-radius: 14px;
}

.price-alerts-panel-icon--market {
    background: linear-gradient(180deg, #fff4d6 0%, #ffe8ad 100%);
    color: #b8860b;
}

.price-alerts-panel-icon--alert {
    background: linear-gradient(180deg, #ffe8ec 0%, #ffd0d8 100%);
    color: #6f0012;
}

.price-alerts-panel-title {
    margin: 0 0 4px;
    color: #3f383c;
    font-size: 15px;
    font-weight: 860;
}

.price-alerts-panel-text {
    margin: 0;
    color: #7a6e72;
    font-size: 12px;
    line-height: 1.8;
}

.price-alerts-badge {
    flex-shrink: 0;
    padding: 5px 11px;
    border-radius: 999px;
    background: rgba(111, 0, 18, 0.08);
    color: #6f0012;
    font-size: 11px;
    font-weight: 860;
}

/* ── Custom switches ── */
.price-alerts-switch-list {
    display: grid;
    gap: 10px;
    margin-bottom: 14px;
}

.price-alerts-switch {
    position: relative;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    border-radius: 18px;
    background: linear-gradient(180deg, #fffcf7 0%, #fff6ea 100%);
    border: 1px solid rgba(213, 187, 134, 0.22);
    cursor: pointer;
    user-select: none;
}

.price-alerts-switch input {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.price-alerts-switch-track {
    flex-shrink: 0;
    width: 46px;
    height: 28px;
    border-radius: 999px;
    background: #d8cfcf;
    transition: background 0.2s ease;
    position: relative;
}

.price-alerts-switch-track::after {
    content: "";
    position: absolute;
    top: 3px;
    right: 3px;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #ffffff;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
    transition: transform 0.2s ease;
}

.price-alerts-switch input:checked + .price-alerts-switch-track {
    background: linear-gradient(135deg, #6f0012 0%, #9a1a32 100%);
}

.price-alerts-switch input:checked + .price-alerts-switch-track::after {
    transform: translateX(-18px);
}

.price-alerts-switch-copy {
    flex: 1;
    min-width: 0;
    display: grid;
    gap: 2px;
}

.price-alerts-switch-copy strong {
    color: #3f383c;
    font-size: 13px;
    font-weight: 780;
}

.price-alerts-switch-copy small {
    color: #9a8e92;
    font-size: 11px;
}

.price-alerts-switch-icon {
    flex-shrink: 0;
    color: #b8a8ae;
}

.price-alerts-switch input:checked ~ .price-alerts-switch-icon {
    color: #6f0012;
}

.price-alerts-schedule {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 12px;
    padding: 10px 12px;
    border-radius: 14px;
    background: rgba(111, 0, 18, 0.05);
    color: #6a5a44;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.6;
}

.price-alerts-schedule.is-ready {
    background: rgba(25, 135, 84, 0.08);
    color: #1f6b42;
}

.price-alerts-schedule strong {
    font-weight: 860;
}

/* ── Form ── */
.price-alerts-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-bottom: 14px;
}

.price-alerts-field {
    display: grid;
    gap: 7px;
    padding: 10px 12px;
    border-radius: 16px;
    background: #fffcf7;
    border: 1px solid rgba(111, 0, 18, 0.1);
}

.price-alerts-field--wide {
    grid-column: 1 / -1;
}

.price-alerts-field > span {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: #8c7c82;
    font-size: 11px;
    font-weight: 780;
}

.price-alerts-field select,
.price-alerts-field input {
    width: 100%;
    min-height: 36px;
    border: none;
    outline: none;
    background: transparent;
    color: #2f2429;
    font-size: 14px;
    font-weight: 720;
}

.price-alerts-field select {
    appearance: none;
    cursor: pointer;
}

.price-alerts-field input::placeholder {
    color: #ac9ea4;
}

.price-alerts-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 48px;
    padding: 0 18px;
    border: none;
    border-radius: 16px;
    font-size: 13px;
    font-weight: 860;
    cursor: pointer;
    transition: transform 0.12s ease;
}

.price-alerts-btn:active {
    transform: scale(0.98);
}

.price-alerts-btn--primary {
    grid-column: 1 / -1;
    background: linear-gradient(135deg, #6f0012 0%, #9a1a32 100%);
    color: #fffaf1;
    box-shadow: 0 8px 20px rgba(111, 0, 18, 0.2);
}

.price-alerts-btn--save {
    width: 100%;
}

.price-alerts-btn.is-loading {
    opacity: 0.88;
    pointer-events: none;
}

.price-alerts-btn--ghost {
    width: 100%;
    background: rgba(111, 0, 18, 0.07);
    color: #6f0012;
}

/* ── Alert list ── */
.price-alerts-list {
    display: grid;
    gap: 8px;
}

.price-alerts-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px;
    border-radius: 16px;
    background: linear-gradient(180deg, #fffcf7 0%, #fff6ea 100%);
    border: 1px solid rgba(213, 187, 134, 0.22);
}

.price-alerts-item-icon {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    display: grid;
    place-items: center;
    border-radius: 12px;
    background: rgba(111, 0, 18, 0.08);
    color: #6f0012;
}

.price-alerts-item-copy {
    flex: 1;
    min-width: 0;
    display: grid;
    gap: 3px;
}

.price-alerts-item-copy strong {
    color: #3f383c;
    font-size: 13px;
    font-weight: 780;
}

.price-alerts-item-copy span {
    color: #8a7a80;
    font-size: 11px;
}

.price-alerts-item-remove {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    display: grid;
    place-items: center;
    border: none;
    border-radius: 12px;
    background: rgba(180, 35, 24, 0.08);
    color: #b42318;
    cursor: pointer;
}

.price-alerts-empty-state {
    display: grid;
    justify-items: center;
    gap: 6px;
    padding: 24px 16px;
    border-radius: 18px;
    border: 1px dashed rgba(213, 187, 134, 0.45);
    text-align: center;
}

.price-alerts-empty-icon {
    width: 52px;
    height: 52px;
    display: grid;
    place-items: center;
    border-radius: 16px;
    background: rgba(111, 0, 18, 0.06);
    color: #9a8e92;
    margin-bottom: 4px;
}

.price-alerts-empty-state p {
    margin: 0;
    color: #5f5348;
    font-size: 13px;
    font-weight: 780;
}

.price-alerts-empty-state small {
    color: #9a8e92;
    font-size: 11px;
}

.price-alerts-status {
    min-height: 20px;
    padding: 0 4px;
    font-size: 12px;
    font-weight: 780;
    color: #2f7a42;
}

.price-alerts-status.is-error {
    color: #b42318;
}

/* ── Dark theme ── */
html.app-theme-dark .price-alerts-hero,
html.app-theme-dark .price-alerts-app-hero {
    background: linear-gradient(165deg, #3a3a3a 0%, #333333 55%, #2e2e2e 100%);
    border-color: rgba(213, 187, 134, 0.18);
}

html.app-theme-dark .price-alerts-hero-title,
html.app-theme-dark .price-alerts-app-title,
html.app-theme-dark .price-alerts-download-head h2,
html.app-theme-dark .price-alerts-feature-card h2,
html.app-theme-dark .price-alerts-panel-title,
html.app-theme-dark .price-alerts-item-copy strong,
html.app-theme-dark .price-alerts-switch-copy strong {
    color: #f6d894;
}

html.app-theme-dark .price-alerts-hero-lead,
html.app-theme-dark .price-alerts-app-lead,
html.app-theme-dark .price-alerts-feature-card p,
html.app-theme-dark .price-alerts-panel-text,
html.app-theme-dark .price-alerts-download-head p,
html.app-theme-dark .price-alerts-item-copy span,
html.app-theme-dark .price-alerts-switch-copy small,
html.app-theme-dark .price-alerts-empty-state p {
    color: #c8c0c4;
}

html.app-theme-dark .price-alerts-feature-card,
html.app-theme-dark .price-alerts-download-card,
html.app-theme-dark .price-alerts-panel {
    background: #4a4a4a;
    border-color: rgba(213, 187, 134, 0.18);
}

html.app-theme-dark .price-alerts-switch,
html.app-theme-dark .price-alerts-item,
html.app-theme-dark .price-alerts-field {
    background: #3f3f3f;
    border-color: rgba(213, 187, 134, 0.15);
}

html.app-theme-dark .price-alerts-field select,
html.app-theme-dark .price-alerts-field input {
    color: #ffffff;
}

html.app-theme-dark .price-alerts-install-steps li {
    color: #c8c0c4;
}

html.app-theme-dark .price-alerts-hero-badge--ios {
    background: rgba(255, 255, 255, 0.08);
    color: #c8c0c4;
}

html.app-theme-dark .price-alerts-webapp-note {
    color: #c8c0c4;
}

html.app-theme-dark .price-alerts-download-icon--bazaar {
    background: linear-gradient(145deg, #00c471 0%, #00a862 100%);
    border: none;
}

html.app-theme-dark .price-alerts-schedule {
    background: rgba(246, 216, 148, 0.08);
    color: #e8d4a0;
}

@media (min-width: 720px) {
    .price-alerts-feature-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 14px;
    }

    .price-alerts-feature-card {
        flex-direction: column;
        align-items: stretch;
        text-align: center;
        padding: 18px 14px;
    }

    .price-alerts-feature-icon {
        margin-inline: auto;
    }
}

/* ── Native app mobile polish ── */
html.is-native-app .price-alerts-page {
    background: linear-gradient(180deg, #faf8f4 0%, #f3efe8 100%);
}

html.is-native-app .price-alerts-section {
    gap: 12px;
    padding-bottom: 4px;
}

html.is-native-app .price-alerts-form {
    grid-template-columns: 1fr;
}

html.is-native-app .price-alerts-field--wide,
html.is-native-app .price-alerts-btn--primary {
    grid-column: auto;
}

html.is-native-app .price-alerts-panel {
    border-radius: 22px;
    padding: 14px;
}

html.is-native-app .price-alerts-switch {
    padding: 14px;
    -webkit-tap-highlight-color: transparent;
}

html.is-native-app .price-alerts-switch:active {
    transform: scale(0.99);
}

html.is-native-app .price-alerts-btn {
    min-height: 50px;
    font-size: 14px;
}

html.is-native-app .price-alerts-field select,
html.is-native-app .price-alerts-field input {
    min-height: 40px;
    font-size: 15px;
}

html.is-native-app .app-toast-stack {
    top: calc(16px + var(--app-safe-top, env(safe-area-inset-top, 24px)));
    right: calc(12px + var(--app-safe-right, env(safe-area-inset-right, 0px)));
    left: auto;
    width: min(340px, calc(100vw - 24px - var(--app-safe-left, 0px) - var(--app-safe-right, 0px)));
    max-width: min(340px, calc(100vw - 24px - var(--app-safe-left, 0px) - var(--app-safe-right, 0px)));
}

html.app-theme-dark.is-native-app .price-alerts-page {
    background: linear-gradient(180deg, #2e2e2e 0%, #262626 100%);
}

html.app-theme-dark.is-native-app .price-alerts-loading {
    background: rgba(58, 58, 58, 0.9);
    color: #f6d894;
}

html.app-theme-dark.is-native-app .price-alerts-stat {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(213, 187, 134, 0.15);
}

html.app-theme-dark.is-native-app .price-alerts-slot-track {
    background: rgba(255, 255, 255, 0.05);
}

html.app-theme-dark.is-native-app .price-alerts-schedule.is-ready {
    background: rgba(25, 135, 84, 0.15);
    color: #7dcea0;
}

.app-release-notice-modal .modal-dialog,
.app-release-notice-dialog {
    width: min(420px, calc(100vw - 24px - var(--app-safe-left, 0px) - var(--app-safe-right, 0px)));
    max-width: min(420px, calc(100vw - 24px - var(--app-safe-left, 0px) - var(--app-safe-right, 0px)));
    margin: max(1.5rem, var(--app-safe-top, 0px)) auto max(1.5rem, var(--app-safe-bottom, 0px));
}

.app-release-notice-modal .modal-backdrop {
    background: rgba(31, 12, 18, 0.72);
}

.app-release-notice-content {
    overflow: hidden;
    border: 0;
    border-radius: 24px;
    background: #ffffff !important;
    box-shadow: 0 28px 64px rgba(43, 24, 30, 0.28);
    padding: 0;
    color: #2d2126 !important;
}

.app-release-notice-hero {
    position: relative;
    display: grid;
    justify-items: center;
    gap: 12px;
    padding: 28px 24px 22px;
    background: linear-gradient(180deg, #7a0014 0%, #6f0012 52%, #4f000b 100%);
    color: #fff8f2;
}

.app-release-notice-art {
    display: grid;
    place-items: center;
    width: 120px;
    height: 120px;
}

.app-release-notice-art-svg {
    display: block;
    filter: drop-shadow(0 10px 24px rgba(0, 0, 0, 0.22));
}

.app-release-notice-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 28px;
    padding: 0 12px;
    border-radius: 999px;
    border: 1px solid rgba(213, 187, 134, 0.45);
    background: rgba(255, 255, 255, 0.12);
    color: #f8f3ef;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.app-release-notice-body {
    padding: 20px 20px 18px;
}

.app-release-notice-title {
    margin: 0 0 6px;
    color: #2d2126 !important;
    font-size: 17px;
    font-weight: 800;
    line-height: 1.5;
    text-align: center;
}

.app-release-notice-subtitle {
    margin: 0 0 14px;
    color: #6f5f66 !important;
    font-size: 12px;
    font-weight: 700;
    text-align: center;
}

.app-release-notice-list {
    margin: 0 0 20px;
    padding: 0;
    list-style: none;
}

.app-release-notice-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 10px 12px;
    border-radius: 14px;
    background: #faf6f1;
    color: #3a2d33 !important;
    font-size: 13px;
    line-height: 1.65;
}

.app-release-notice-item + .app-release-notice-item {
    margin-top: 8px;
}

.app-release-notice-item-icon {
    flex-shrink: 0;
    margin-top: 2px;
}

.app-release-notice-item-text {
    flex: 1;
    min-width: 0;
}

.app-release-notice-button {
    width: 100%;
    min-height: 46px;
    border: 0;
    border-radius: 14px;
    background: linear-gradient(180deg, #7a0014 0%, #6f0012 100%);
    color: #fff !important;
    font-size: 14px;
    font-weight: 700;
    box-shadow: 0 12px 24px rgba(111, 0, 18, 0.24);
    transition: transform 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease;
}

.app-release-notice-button:hover,
.app-release-notice-button:focus {
    background: linear-gradient(180deg, #680011 0%, #58000e 100%);
    color: #fff !important;
    transform: translateY(-1px);
    box-shadow: 0 16px 28px rgba(111, 0, 18, 0.28);
}

.native-launch-screen {
    position: fixed;
    inset: 0;
    z-index: 5000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 24px 16px;
    background: #6f0012;
}

.native-launch-screen-inner {
    display: grid;
    justify-items: center;
    gap: 18px;
    text-align: center;
}

.native-launch-screen-logo-wrap {
    display: grid;
    place-items: center;
    width: 200px;
    height: 175px;
}

.native-launch-screen-logo {
    width: 200px;
    height: auto;
    display: block;
    filter: drop-shadow(0 14px 28px rgba(0, 0, 0, 0.24));
}

.native-launch-screen-text {
    margin: 0;
    color: #fff3df;
    font-family: "Yekan Bakh VF", Tahoma, "Segoe UI", sans-serif;
    font-size: 26px;
    font-weight: 400;
    font-variation-settings: "wght" 400;
    letter-spacing: 0;
    line-height: 1.65;
}

.native-launch-screen-spinner {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: 3px solid rgba(255, 243, 223, 0.24);
    border-top-color: #fff3df;
    animation: page-loader-spin 0.85s linear infinite;
}

html.is-native-app .page-loader {
    z-index: 4600;
}

