:root {
    --onepixel-orange: #f97316;
    --onepixel-amber: #fbbf24;
    --onepixel-charcoal: #0e1219;
    --onepixel-charcoal-panel: #1a202c;
    --onepixel-charcoal-sidebar: #141822;
}

/* Super admin workspace polish shared across dashboard and management screens. */
body.admin-theme {
    background-color: #f4f7fb;
    background-image: radial-gradient(ellipse at 92% 0%, rgb(249 115 22 / .055), transparent 34%);
}

body.admin-theme .vendor-sidebar {
    border-right-color: #e7ebf2;
    background-image: linear-gradient(180deg, #fff 0%, #fbfcfe 100%);
    box-shadow: 12px 0 34px -32px rgb(15 23 42 / .38);
}

body.admin-theme .vendor-sidebar::before {
    height: 5px;
    background: linear-gradient(90deg, #f97316, #fbbf24 48%, #f97316);
}

body.admin-theme .vendor-sidebar > div.flex-1.overflow-y-auto > a,
body.admin-theme .vendor-sidebar .mobile-navigation-list > a {
    min-height: 2.75rem;
    margin-block: .2rem;
    border: 1px solid transparent;
    border-radius: .85rem;
    color: #475569;
    transition: background-color .18s ease, border-color .18s ease, color .18s ease, transform .18s ease;
}

body.admin-theme .vendor-sidebar > div.flex-1.overflow-y-auto > a:hover,
body.admin-theme .vendor-sidebar .mobile-navigation-list > a:hover {
    transform: translateX(2px);
    border-color: #ffedd5;
    background: #fff7ed !important;
    color: #9a3412 !important;
}

body.admin-theme .vendor-sidebar > div.flex-1.overflow-y-auto > a.bg-orange-50,
body.admin-theme .vendor-sidebar .mobile-navigation-list > a.bg-orange-50 {
    border-color: #fed7aa;
    background: linear-gradient(100deg, #fff1e6, #fff8eb) !important;
    color: #9a3412 !important;
    box-shadow: 0 8px 18px -16px rgb(234 88 12 / .65);
}

body.admin-theme .vendor-sidebar > div.flex-1.overflow-y-auto > a > svg,
body.admin-theme .vendor-sidebar .mobile-navigation-list > a > svg {
    flex: 0 0 auto;
    color: #c2410c;
}

body.admin-theme .vendor-sidebar [class*="uppercase"][class*="tracking-"] {
    color: #a45124;
}

body.admin-theme .app-topbar {
    border-bottom-color: #e7ebf2;
    background-color: rgb(255 255 255 / .94);
    box-shadow: 0 8px 24px -24px rgb(15 23 42 / .5);
}

body.admin-theme main > .dashboard-shell,
body.admin-theme main > .space-y-6,
body.admin-theme main > .space-y-5 {
    animation: website-content-enter .3s ease-out both;
}

body.admin-theme main :is(.bg-white, [class*="bg-white/"])[class*="rounded-"][class*="border"] {
    border-color: #e7ebf2;
    box-shadow: 0 12px 30px -26px rgb(15 23 42 / .28), 0 1px 3px rgb(15 23 42 / .035);
}

body.admin-theme main :is(input:not([type="checkbox"]):not([type="radio"]), select, textarea) {
    border-color: #dbe2ec;
    border-radius: .75rem;
    transition: border-color .18s ease, box-shadow .18s ease, background-color .18s ease;
}

body.admin-theme main :is(input:not([type="checkbox"]):not([type="radio"]), select, textarea):focus {
    border-color: #f97316 !important;
    box-shadow: 0 0 0 3px rgb(249 115 22 / .14) !important;
    outline: none;
}

body.admin-theme main table thead {
    background: linear-gradient(90deg, #fff7ed, #fffaf5 76%);
}

body.admin-theme main table thead th {
    color: #9a3412;
}

body.admin-theme main table tbody tr {
    transition: background-color .16s ease;
}

body.admin-theme main table tbody tr:hover {
    background-color: #fffaf5;
}

body.admin-theme main :is(button, a):focus-visible {
    outline: 2px solid #f97316;
    outline-offset: 2px;
}

html.dark body.admin-theme {
    background-color: #0e1219;
    background-image: radial-gradient(ellipse at 92% 0%, rgb(249 115 22 / .07), transparent 36%);
}

html.dark body.admin-theme .vendor-sidebar {
    border-right-color: #30343d;
    background-image: linear-gradient(180deg, #141822, #0e1219);
}

html.dark body.admin-theme .vendor-sidebar > div.flex-1.overflow-y-auto > a,
html.dark body.admin-theme .vendor-sidebar .mobile-navigation-list > a {
    color: #cbd5e1;
}

html.dark body.admin-theme .vendor-sidebar > div.flex-1.overflow-y-auto > a:hover,
html.dark body.admin-theme .vendor-sidebar .mobile-navigation-list > a:hover {
    border-color: #4a3328;
    background: #2a211d !important;
    color: #fdba74 !important;
}

html.dark body.admin-theme .vendor-sidebar > div.flex-1.overflow-y-auto > a.bg-orange-50,
html.dark body.admin-theme .vendor-sidebar .mobile-navigation-list > a.bg-orange-50 {
    border-color: #69452e;
    background: linear-gradient(100deg, #39261e, #2b211b) !important;
    color: #fdba74 !important;
}

html.dark body.admin-theme .vendor-sidebar > div.flex-1.overflow-y-auto > a > svg,
html.dark body.admin-theme .vendor-sidebar .mobile-navigation-list > a > svg {
    color: #fb923c;
}

html.dark body.admin-theme .app-topbar {
    border-bottom-color: #30343d;
    background-color: rgb(20 24 34 / .94);
}

html.dark body.admin-theme main table thead {
    background: #11151d;
}

html.dark body.admin-theme main table thead th {
    color: #fdba74;
}

html.dark body.admin-theme main table tbody tr:hover {
    background-color: #202733;
}

@media (prefers-reduced-motion: reduce) {
    body.admin-theme .vendor-sidebar > div.flex-1.overflow-y-auto > a,
    body.admin-theme .vendor-sidebar .mobile-navigation-list > a {
        transition: none;
    }
}

/* Light mode: keep the website's orange and amber brand on clean surfaces. */
body.vendor-theme main > :is(section, div) > :is(.rounded-2xl, .rounded-3xl):is(.bg-white, [class*="bg-white/"]) {
    border-color: #fed7aa;
    box-shadow: 0 14px 36px -30px rgb(234 88 12 / .22), 0 1px 3px rgb(15 23 42 / .05);
}

body.vendor-theme main :is(input:not([type="checkbox"]):not([type="radio"]), select, textarea):focus,
body.portal-experience :is(input:not([type="checkbox"]):not([type="radio"]), select, textarea):focus,
body.auth-experience .auth-card :is(input:not([type="checkbox"]):not([type="radio"]), select, textarea):focus {
    border-color: var(--onepixel-orange) !important;
    box-shadow: 0 0 0 4px rgb(249 115 22 / .15) !important;
    outline: none;
}

body.vendor-theme main table thead,
body.portal-experience table thead {
    background: linear-gradient(90deg, #fff7ed, #fffaf5 72%);
}

body.vendor-theme main table thead th,
body.portal-experience table thead th {
    color: #9a3412;
}

.vendor-sidebar a.upgrade-plan-link {
    isolation: isolate;
    border: 1px solid color-mix(in srgb, var(--brand-primary, #FF6B00) 18%, white) !important;
    background: linear-gradient(125deg, color-mix(in srgb, var(--brand-primary, #FF6B00) 8%, white), color-mix(in srgb, var(--brand-secondary, #FFB000) 15%, white)) !important;
    box-shadow: inset 3px 0 var(--brand-primary, #FF6B00), 0 10px 22px color-mix(in srgb, var(--brand-primary, #FF6B00) 10%, transparent) !important;
    color: #431407 !important;
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.vendor-sidebar a.upgrade-plan-link::after {
    position: absolute;
    z-index: -1;
    inset: 1px;
    border: 1px solid rgb(255 255 255 / .08);
    border-radius: inherit;
    content: "";
    pointer-events: none;
}

.vendor-sidebar a.upgrade-plan-link:hover {
    transform: translateY(-2px);
    border-color: color-mix(in srgb, var(--brand-primary, #FF6B00) 38%, white) !important;
    box-shadow: inset 3px 0 var(--brand-primary, #FF6B00), 0 14px 26px color-mix(in srgb, var(--brand-primary, #FF6B00) 18%, transparent) !important;
}

.vendor-sidebar a.upgrade-plan-link .upgrade-plan-icon {
    color: var(--brand-primary, #FF6B00);
    background: color-mix(in srgb, var(--brand-primary, #FF6B00) 12%, white);
    border-color: color-mix(in srgb, var(--brand-primary, #FF6B00) 16%, white);
}

.vendor-sidebar a.upgrade-plan-link .upgrade-plan-eyebrow {
    color: color-mix(in srgb, var(--brand-primary, #FF6B00) 78%, #7c2d12);
    font-size: .58rem;
    font-weight: 800;
    letter-spacing: .1em;
    line-height: 1.2;
    text-transform: uppercase;
}

.vendor-sidebar a.upgrade-plan-link .upgrade-plan-name {
    color: #431407;
    font-size: .88rem;
    font-weight: 800;
    letter-spacing: -.015em;
    line-height: 1.25;
}

.vendor-sidebar a.upgrade-plan-link .upgrade-plan-action {
    border-color: color-mix(in srgb, var(--brand-primary, #FF6B00) 18%, white);
    color: #78716c;
    font-size: .62rem;
    font-weight: 700;
    line-height: 1.2;
}

.vendor-sidebar a.upgrade-plan-link .upgrade-plan-badge {
    color: #fff;
    background: var(--brand-primary, #FF6B00);
}

.vendor-sidebar a.upgrade-plan-link .upgrade-plan-arrow {
    color: color-mix(in srgb, var(--brand-primary, #FF6B00) 76%, white);
    transition: transform .2s ease, color .2s ease;
}

.vendor-sidebar a.upgrade-plan-link:hover .upgrade-plan-arrow {
    color: var(--brand-secondary, #FFB000);
    transform: translateX(3px);
}

.vendor-sidebar a.upgrade-plan-link:focus-visible {
    outline: 3px solid #fdba74;
    outline-offset: 3px;
}

html.dark .vendor-sidebar a.upgrade-plan-link {
    border-color: color-mix(in srgb, var(--brand-primary, #FF6B00) 42%, #29374d) !important;
    background: linear-gradient(125deg, color-mix(in srgb, var(--brand-primary, #FF6B00) 18%, #111827), color-mix(in srgb, var(--brand-secondary, #FFB000) 12%, #111827)) !important;
    box-shadow: inset 3px 0 var(--brand-primary, #FF6B00), 0 12px 26px rgb(0 0 0 / .32) !important;
    color: #f8fafc !important;
}

html.dark .vendor-sidebar a.upgrade-plan-link:hover {
    box-shadow: inset 3px 0 var(--brand-primary, #FF6B00), 0 16px 30px rgb(0 0 0 / .4) !important;
}

html.dark .vendor-sidebar a.upgrade-plan-link .upgrade-plan-name {
    color: #f8fafc;
}

html.dark .vendor-sidebar a.upgrade-plan-link .upgrade-plan-action {
    border-color: color-mix(in srgb, var(--brand-primary, #FF6B00) 32%, #29374d);
    color: #cbd5e1;
}

body.vendor-theme .vendor-subscription-page .subscription-hero {
    border: 1px solid rgb(255 255 255 / .25);
}

body.vendor-theme .vendor-subscription-page .subscription-hero-glow {
    background: rgb(255 255 255 / .12);
}

body.vendor-theme .vendor-subscription-page .subscription-hero .subscription-primary-action {
    border: 1px solid rgb(255 255 255 / .75);
    background: #fff !important;
    box-shadow: 0 10px 22px rgb(124 45 18 / .2) !important;
}

body.vendor-theme .vendor-subscription-page .subscription-hero .subscription-primary-action:hover {
    border-color: #ffedd5;
    background: #fff7ed !important;
    box-shadow: 0 14px 26px rgb(124 45 18 / .26) !important;
}

body.auth-experience {
    position: relative;
    isolation: isolate;
}

body.auth-experience::before {
    position: fixed;
    z-index: -1;
    inset: 0;
    background: radial-gradient(ellipse at 8% 10%, rgb(249 115 22 / .12), transparent 38%), radial-gradient(ellipse at 92% 88%, rgb(251 191 36 / .1), transparent 34%);
    content: "";
    pointer-events: none;
}

body.auth-experience .auth-card {
    border-color: #fed7aa;
    box-shadow: 0 28px 70px -38px rgb(234 88 12 / .22), 0 14px 34px -28px rgb(15 23 42 / .12);
}

body.auth-experience .auth-card :is(input:not([type="checkbox"]):not([type="radio"]), select, textarea) {
    transition: border-color .18s ease, box-shadow .18s ease, background-color .18s ease;
}

body.auth-experience .auth-card form > button[type="submit"] {
    box-shadow: 0 12px 26px -14px rgb(234 88 12 / .52), 0 8px 20px -14px rgb(15 23 42 / .22);
    transition: transform .18s ease, box-shadow .18s ease, filter .18s ease;
}

body.auth-experience .auth-card form > button[type="submit"]:hover {
    transform: translateY(-1px);
    filter: saturate(1.08);
}

body.portal-experience {
    background-image: radial-gradient(ellipse at 88% 0%, rgb(255 237 213 / .6), transparent 40%);
}

body.portal-experience > aside {
    border-right-color: #fed7aa;
    box-shadow: 12px 0 38px -34px rgb(234 88 12 / .48);
}

body.portal-experience main > :is(section, div) > :is(.rounded-2xl, .rounded-3xl):is(.bg-white, [class*="bg-white/"]) {
    box-shadow: 0 16px 38px -32px rgb(234 88 12 / .24), 0 1px 3px rgb(15 23 42 / .05);
}

.auth-theme-toggle {
    position: fixed;
    z-index: 100;
    top: 1rem;
    right: 1rem;
    display: inline-flex;
    width: 2.75rem;
    height: 2.75rem;
    align-items: center;
    justify-content: center;
    border: 1px solid #fed7aa;
    border-radius: .9rem;
    background: #fff;
    color: #9a3412;
    box-shadow: 0 10px 24px -16px rgb(234 88 12 / .6);
    cursor: pointer;
}

body.auth-experience .auth-language-picker {
    position: fixed;
    z-index: 100;
    top: 1rem;
    left: 1rem;
    margin: 0;
}

body.auth-experience .auth-language-picker select {
    min-width: 6rem;
    height: 2.75rem;
    border-color: #fed7aa;
    border-radius: .9rem;
    background-color: #fff;
    color: #7c2d12;
    box-shadow: 0 10px 24px -16px rgb(234 88 12 / .6);
}

body.auth-experience .auth-login-tabs {
    overflow: hidden;
    border-color: #e2e8f0;
    box-shadow: 0 12px 30px -24px rgb(15 23 42 / .35);
}

body.auth-experience .auth-login-tabs :is(button, a) {
    min-width: 0;
    text-decoration: none;
}

body.auth-experience .auth-login-tabs :is(button, a):focus-visible {
    outline: 2px solid #f97316;
    outline-offset: 2px;
}

body.auth-experience .auth-login-tabs a[href*="customer"] {
    background-color: #fff7ed;
    color: #c2410c;
}

/* Dark mode: use the same charcoal palette as the public website. */
html.dark body:not(.portal-experience):not(.auth-experience),
html.dark body.vendor-theme,
html.dark body.portal-experience,
html.dark body.auth-experience:not(.auth-admin) {
    background-color: var(--onepixel-charcoal) !important;
    background-image: radial-gradient(ellipse at 88% 0%, rgb(249 115 22 / .07), transparent 38%) !important;
    color: #e5e7eb !important;
}

html.dark body.vendor-theme .vendor-sidebar,
html.dark body.admin-theme .vendor-sidebar,
html.dark body.vendor-theme header,
html.dark body.admin-theme header,
html.dark body.portal-experience > aside,
html.dark body.portal-experience header,
html.dark body.portal-experience [x-show="mobileMenuOpen"] > aside {
    background-color: var(--onepixel-charcoal-sidebar) !important;
    background-image: linear-gradient(180deg, #141822, #0e1219) !important;
    border-color: #30343d !important;
    color: #e5e7eb !important;
}

html.dark body.vendor-theme main > :is(section, div) > :is(.rounded-xl, .rounded-2xl, .rounded-3xl):is(.bg-white, [class*="bg-white/"]),
html.dark body.admin-theme main :is(.bg-white, [class*="bg-white/"]),
html.dark body.portal-experience main :is(.bg-white, [class*="bg-white/"]) {
    background-color: var(--onepixel-charcoal-panel) !important;
    border-color: #30343d !important;
    color: #e5e7eb !important;
    box-shadow: 0 20px 50px -40px rgb(0 0 0 / .85), 0 1px 3px rgb(255 255 255 / .025) !important;
}

html.dark body:is(.vendor-theme, .admin-theme, .portal-experience) :is(.bg-white, .bg-white\/90, .bg-white\/80, .bg-white\/70, .bg-slate-50, .bg-slate-100, .bg-slate-50\/50, .bg-slate-50\/60, .bg-slate-50\/70) {
    background-color: #1a202c !important;
}

html.dark body:is(.vendor-theme, .admin-theme, .portal-experience) :is(.border-slate-100, .border-slate-200, .border-slate-300) {
    border-color: #30343d !important;
}

html.dark body:is(.vendor-theme, .admin-theme, .portal-experience) :is(.divide-slate-100, .divide-slate-200) > :not([hidden]) ~ :not([hidden]) {
    border-color: #30343d !important;
}

html.dark body:is(.vendor-theme, .admin-theme, .portal-experience) :is(.bg-slate-800, .bg-slate-900) {
    background-color: #141822 !important;
}

html.dark body:is(.vendor-theme, .admin-theme, .portal-experience) :is(.text-slate-900, .text-slate-800, .text-slate-700, .text-slate-600) {
    color: #e5e7eb !important;
}

html.dark body:is(.vendor-theme, .admin-theme, .portal-experience) :is(.text-gray-900, .text-gray-800, .text-gray-700, .text-gray-600, .text-neutral-900, .text-neutral-800) {
    color: #e5e7eb !important;
}

html.dark body:is(.vendor-theme, .admin-theme, .portal-experience) :is(.text-slate-500, .text-slate-400, .text-gray-500, .text-gray-400, .text-neutral-500, .text-neutral-400) {
    color: #a8b3c5 !important;
}

html.dark body:is(.vendor-theme, .admin-theme, .portal-experience, .auth-experience) :is([class*="bg-blue-50"], [class*="bg-indigo-50"]) {
    background-color: #242833 !important;
    border-color: #3b414d !important;
}

html.dark body:is(.vendor-theme, .admin-theme, .portal-experience, .auth-experience) :is([class*="text-blue-"], [class*="text-indigo-"]) {
    color: #fdba74 !important;
}

html.dark body.vendor-theme .vendor-sidebar a:not(.upgrade-plan-link),
html.dark body.admin-theme .vendor-sidebar a,
html.dark body.portal-experience :is(nav a, nav button) {
    color: #cbd5e1 !important;
}

html.dark body.vendor-theme .vendor-sidebar a:not(.upgrade-plan-link):hover,
html.dark body.vendor-theme .vendor-sidebar a.bg-orange-50:not(.upgrade-plan-link),
html.dark body.admin-theme .vendor-sidebar a:hover,
html.dark body.admin-theme .vendor-sidebar a.bg-orange-50,
html.dark body.portal-experience :is(nav a:hover, nav button:hover),
html.dark body.portal-experience :is(nav a.bg-orange-50, nav button.bg-orange-50, nav button[class*="bg-orange-950"]) {
    background: linear-gradient(100deg, #39261e, #29231d) !important;
    border-color: #69452e !important;
    color: #fdba74 !important;
}

html.dark body:is(.vendor-theme, .admin-theme) .vendor-sidebar a:not(.upgrade-plan-link) i {
    color: #fb923c !important;
}

html.dark body:is(.vendor-theme, .admin-theme) .vendor-sidebar [class*="uppercase"][class*="tracking-"] {
    color: #c49a7b !important;
}

html.dark body.vendor-theme main :is(input:not([type="checkbox"]):not([type="radio"]), select, textarea),
html.dark body.admin-theme main :is(input:not([type="checkbox"]):not([type="radio"]), select, textarea),
html.dark body.portal-experience :is(input:not([type="checkbox"]):not([type="radio"]), select, textarea) {
    background-color: #11151d !important;
    border-color: #3b414d !important;
    color: #f3f4f6 !important;
}

html.dark body.vendor-theme main :is(input:not([type="checkbox"]):not([type="radio"]), select, textarea):focus,
html.dark body.admin-theme main :is(input:not([type="checkbox"]):not([type="radio"]), select, textarea):focus,
html.dark body.portal-experience :is(input:not([type="checkbox"]):not([type="radio"]), select, textarea):focus,
html.dark body.auth-experience .auth-card :is(input:not([type="checkbox"]):not([type="radio"]), select, textarea):focus {
    border-color: #f97316 !important;
    box-shadow: 0 0 0 4px rgb(249 115 22 / .18) !important;
}

html.dark body:is(.vendor-theme, .admin-theme, .portal-experience) table thead {
    background: #11151d !important;
}

html.dark body:is(.vendor-theme, .admin-theme, .portal-experience) table thead th {
    color: #fdba74 !important;
}

html.dark body:is(.vendor-theme, .admin-theme, .portal-experience) table tbody tr {
    border-color: #30343d !important;
}

html.dark body:is(.vendor-theme, .admin-theme, .portal-experience) table tbody tr:hover {
    background-color: #232833 !important;
}

html.dark body.portal-experience :is(.bg-orange-50, .bg-orange-100, .bg-blue-50, .bg-indigo-50) {
    background-color: #30231d !important;
}

html.dark body.portal-experience :is(.border-orange-100, .border-orange-200, .border-orange-300, .border-blue-100, .border-blue-200, .border-indigo-100) {
    border-color: #69452e !important;
}

html.dark body.auth-experience:not(.auth-admin)::before {
    background: radial-gradient(ellipse at 8% 10%, rgb(249 115 22 / .15), transparent 38%), radial-gradient(ellipse at 92% 88%, rgb(251 191 36 / .08), transparent 34%), linear-gradient(145deg, #080a0e, #141822 72%);
}

html.dark body.auth-experience:not(.auth-admin) .auth-card {
    background: linear-gradient(145deg, rgb(26 32 44 / .98), rgb(20 24 34 / .98)) !important;
    border-color: #30343d !important;
    color: #e5e7eb !important;
    box-shadow: 0 30px 76px -48px rgb(0 0 0 / .9), 0 10px 34px -26px rgb(249 115 22 / .16) !important;
}

html.dark body.auth-experience:not(.auth-admin) .auth-card :is(.text-slate-900, .text-slate-800, .text-slate-700, .text-slate-600) {
    color: #e5e7eb !important;
}

html.dark body.auth-experience:not(.auth-admin) .auth-card :is(.text-slate-500, .text-slate-400) {
    color: #a8b3c5 !important;
}

html.dark body.auth-experience:not(.auth-admin) .auth-card :is(.bg-white, [class*="bg-white/"], .bg-slate-50, .bg-slate-100) {
    background-color: #141822 !important;
    border-color: #30343d !important;
    color: #e5e7eb !important;
}

html.dark body.auth-experience:not(.auth-admin) .auth-card :is(input:not([type="checkbox"]):not([type="radio"]), select, textarea) {
    background: #0e1219 !important;
    border-color: #3b414d !important;
    color: #f3f4f6 !important;
}

html:not(.dark) body.auth-admin {
    background: #f1f5f9 !important;
    color: #1e293b !important;
}

html:not(.dark) body.auth-admin .auth-card {
    background: #fff !important;
    border-color: #fed7aa !important;
    color: #1e293b !important;
}

html:not(.dark) body.auth-admin .auth-card :is(.text-slate-100, .text-slate-300, .text-slate-400),
html:not(.dark) body.auth-admin h1.text-white,
html:not(.dark) body.auth-admin .auth-card label {
    color: #334155 !important;
}

html:not(.dark) body.auth-admin .auth-card :is(input:not([type="checkbox"]):not([type="radio"]), select, textarea) {
    background: #f8fafc !important;
    border-color: #cbd5e1 !important;
    color: #0f172a !important;
}

html.dark body.auth-admin {
    background: #0e1219 !important;
}

html.dark body.auth-admin .auth-card {
    border-color: #30343d !important;
    box-shadow: 0 30px 76px -48px rgb(0 0 0 / .9), 0 10px 34px -26px rgb(249 115 22 / .16) !important;
}

html.dark body.vendor-theme .measurement-vault-page :is(.text-slate-900, .text-slate-800, .text-slate-700, .text-slate-600) {
    color: #f1f5f9 !important;
}

html.dark body.vendor-theme .measurement-vault-page :is(.text-slate-500, .text-slate-400) {
    color: #b6c0ce !important;
}

html.dark body.vendor-theme .measurement-vault-page :is([class*="bg-blue-50"], [class*="bg-fuchsia-50"]) {
    background-color: #30231d !important;
    border-color: #69452e !important;
}

html.dark body.vendor-theme .measurement-vault-page :is([class*="text-blue-"], [class*="text-fuchsia-"]) {
    color: #fdba74 !important;
}

html.dark body.vendor-theme .measurement-vault-page :is(.measurement-gender-badge-unisex, .measurement-category-unisex-badge) {
    background-color: #343b48 !important;
    border: 1px solid #525b69 !important;
    color: #f1f5f9 !important;
}

html.dark .auth-theme-toggle {
    border-color: #69452e;
    background: #1a202c;
    color: #fdba74;
}

html.dark body.auth-experience .auth-language-picker select {
    border-color: #475569;
    background-color: #1a202c;
    color: #f1f5f9;
}

html.dark body.auth-experience .auth-login-tabs {
    border-color: #374151;
    background-color: #1a202c;
}

html.dark body.auth-experience .auth-login-tabs :is(button, a) {
    color: #cbd5e1;
}

html.dark body.auth-experience .auth-login-tabs a[href*="customer"] {
    background-color: #3b281b;
    color: #fdba74;
}

/* Keep the document canvas charcoal even when the page content is shorter than the viewport. */
html.dark {
    min-height: 100%;
    background-color: #0e1219 !important;
}

html.dark body.vendor-theme,
html.dark body.admin-theme {
    min-height: 100vh;
    background-color: #0e1219 !important;
}

/* Laravel's default Tailwind paginator uses gray-200 for the current page. */
html.dark body:is(.vendor-theme, .admin-theme, .portal-experience) main nav[role="navigation"] [aria-current="page"] > span {
    border-color: #9a3412 !important;
    background-color: #f97316 !important;
    color: #fff !important;
}

html.dark body:is(.vendor-theme, .admin-theme, .portal-experience) main nav[role="navigation"] a,
html.dark body:is(.vendor-theme, .admin-theme, .portal-experience) main nav[role="navigation"] [aria-disabled="true"] > span {
    border-color: #3b414d !important;
    background-color: #1a202c !important;
    color: #e5e7eb !important;
}

html.dark body:is(.vendor-theme, .admin-theme, .portal-experience) main nav[role="navigation"] a:hover {
    background-color: #30231d !important;
    color: #fdba74 !important;
}

@media (prefers-reduced-motion: reduce) {
    .vendor-sidebar a.upgrade-plan-link,
    body.auth-experience .auth-card form > button[type="submit"] {
        transition: none;
    }
}
