/* V6.1 theme: loaded AFTER legacy light theme and Claims Feast CSS. */
:root {color-scheme:light;--purple:#6637e7;--deep:#4520ab;--text:#221536;--muted:#655c79;--line:#e6daf7;--paper:#ffffff;--bg:#faf7ff;--shadow:0 10px 28px rgba(86,45,165,.09)}
body.theme-root {background:#faf7ff;color:#211735}
body.theme-root .shell-body,body.theme-root .public-main{background:linear-gradient(180deg,#faf7ff 0%,#fffdf3 100%)}
body.theme-root .sidebar {background:linear-gradient(175deg,#241148,#482285 76%,#5a3695)!important;color:#fff;border-right:1px solid #6841a2}
body.theme-root .sidebar .brand,body.theme-root .sidebar .brand:visited {color:#fff}
body.theme-root .sidebar .workspace-label{color:#e2d2ff}
body.theme-root .sidebar .nav-link{color:#f1eaff}
body.theme-root .sidebar .nav-ico{color:#ffdf65}
body.theme-root .sidebar .nav-link:hover{color:#fff;background:#7651b8;border-color:#9874cd}
body.theme-root .sidebar .nav-link.active{background:linear-gradient(90deg,#ffe371,#f3bf35)!important;color:#271148!important;border-color:#f9d85b;box-shadow:0 6px 15px rgba(20,7,42,.22)}
body.theme-root .sidebar .nav-link.active .nav-ico{color:#38136c}
body.theme-root .sidebar .sidebar-bottom{border-top-color:#7955ac}
body.theme-root .sidebar .member-mini{background:#4a2b7b;border-color:#7152a0;color:#fff}
body.theme-root .sidebar .member-mini small{color:#e4d2ff}
body.theme-root .sidebar .member-mini .avatar{background:#ffde62;color:#2b1350}
body.theme-root .sidebar-signout .nav-link {color:#fff}
body.theme-root .topbar{background:#fff6d5;border-bottom-color:#eed999;box-shadow:0 3px 12px rgba(102,55,231,.06)}
body.theme-root .topbar .crumb {color:#37145f}
body.theme-root .top-pill{background:#f0e7ff;color:#503087}
body.theme-root .panel,body.theme-root .stat-card,body.theme-root .partner-card,body.theme-root .earning-card,body.theme-root .auth-card,body.theme-root .admin-shortcuts .shortcut{background:#fff;border-color:#e8dafa;box-shadow:0 12px 24px rgba(88,42,164,.07)}
body.theme-root .panel h2,body.theme-root .panel h3,body.theme-root .stat-value,body.theme-root .page-heading h1{color:#2c174e}
body.theme-root .note-card{background:#fff7d8;border-color:#f1e3a3;color:#402657}
body.theme-root input:not([type=checkbox]):not([type=radio]),body.theme-root select,body.theme-root textarea{background:#fff;color:#2b1a45;border-color:#dcccfa}
body.theme-root input:focus-visible,body.theme-root textarea:focus-visible,body.theme-root select:focus-visible,body.theme-root button:focus-visible,body.theme-root a:focus-visible{outline:3px solid #d6ab35;outline-offset:2px}
body.theme-root .btn,body.theme-root .v5-home .v5-button-primary{background:#6637e7;border-color:#6637e7;color:#fff!important;box-shadow:0 4px 0 #3e1d91,0 9px 20px rgba(90,48,196,.16)}
body.theme-root .btn:hover,body.theme-root .v5-home .v5-button-primary:hover{background:#5527c5;color:#fff!important}
body.theme-root .btn-outline,body.theme-root .btn-light,body.theme-root .v5-home .v5-button-secondary{background:#ffe06a;color:#33204c!important;border-color:#e6bd3d;box-shadow:none}
body.theme-root .btn-outline:hover,body.theme-root .btn-light:hover{background:#f8cc43;color:#241438!important}
body.theme-root .tag-admin{background:#ffedb4;color:#593e09}
body.theme-root .tag-active{background:#e4f8ec;color:#17633d}
body.theme-root .text-link,body.theme-root a:not(.btn):not(.nav-link):not(.chat-fab):not(.brand):not(.icon-btn){color:#5829ba}
body.theme-root .sidebar a:not(.btn):not(.nav-link):not(.chat-fab):not(.brand):not(.icon-btn){color:#f5eaff}
body.theme-root .table-wrap,body.theme-root .table-wrap table{background:#fff}
body.theme-root table th{background:#f4eaff;color:#3c1e67}
body.theme-root table td{color:#37274d;border-color:#efe5fc}
body.theme-root .public-header{background:linear-gradient(90deg,#3c197e 0%,#6637e7 76%,#7f51df)!important}
body.theme-root .public-header a,body.theme-root .public-header nav a:not(.btn){color:#fff!important}
body.theme-root .public-header nav a.btn{background:#ffdb52!important;color:#241338!important;border-color:#ffdb52;box-shadow:none}
body.theme-root .v5-home{background:#fffdf6;color:#241836}
body.theme-root .v5-home .v5-hero,body.theme-root .v5-home .v5-how{background:linear-gradient(135deg,#f2eaff,#fff4c9)}
body.theme-root .v5-home .v5-hero h1,body.theme-root .v5-home .v5-section-title h2{color:#301456}
body.theme-root .v5-home .v5-hero p,body.theme-root .v5-home .v5-section-title p{color:#55446a}
body.theme-root .v5-home .v5-card{background:#fff;border:1px solid #e6dafa;box-shadow:0 8px 22px rgba(86,46,167,.06)}
body.theme-root .v5-home .v5-card h3{color:#311652}
body.theme-root .v5-home .v5-card-link,body.theme-root .v5-home .v5-card-symbol{color:#6637e7!important}
body.theme-root .v5-home .v5-steps span{background:#ffe276;color:#33134e}
body.theme-root .v5-home .v5-faq-list{background:#fff;border-color:#e6dafa}
body.theme-root .v5-home .v5-faq-list summary{color:#2c184a}
body.theme-root .v5-home .v5-faq-list details p{color:#514263}
body.theme-root .dash-footer-v44{background:#25133f;color:#f6edff;border-color:#6a468e}
body.theme-root .dash-footer-v44 strong,body.theme-root .dash-footer-v44 a{color:#ffe47e}
body.theme-root .premium-footer{background:#25133f;color:#f4ebff}
body.theme-root .premium-footer strong,body.theme-root .premium-footer a{color:#ffdf78}
body.theme-root .premium-footer p,body.theme-root .premium-footer-bottom{color:#e2d8ee}
body.theme-root .icon-btn,body.theme-root .theme-toggle{background:#fff;color:#4f20ac;border-color:#d8bdf1}
body.theme-root .chat-fab{background:linear-gradient(145deg,#6637e7,#ffdc58);color:#281248}

/* Dark theme uses high-contrast surfaces and legible light text. */
body.theme-root[data-theme="dark"]{color-scheme:dark;--bg:#110c20;--paper:#20162e;--text:#fbf8ff;--muted:#d4cbe4;--line:#463254;--purple:#c0a1ff;--deep:#a57dff;background:#110c20;color:#fbf8ff}
body.theme-root[data-theme="dark"] .shell-body,body.theme-root[data-theme="dark"] .public-main{background:#120d22!important}
body.theme-root[data-theme="dark"] .topbar{background:#241535!important;border-color:#594472}
body.theme-root[data-theme="dark"] .topbar .crumb{color:#fff}
body.theme-root[data-theme="dark"] .panel,body.theme-root[data-theme="dark"] .stat-card,body.theme-root[data-theme="dark"] .partner-card,body.theme-root[data-theme="dark"] .earning-card,body.theme-root[data-theme="dark"] .auth-card,body.theme-root[data-theme="dark"] .admin-shortcuts .shortcut,body.theme-root[data-theme="dark"] .v5-card,body.theme-root[data-theme="dark"] .chat-thread,body.theme-root[data-theme="dark"] .chat-bubble,body.theme-root[data-theme="dark"] .notice-item,body.theme-root[data-theme="dark"] .v5-faq-list{background:#22182f!important;color:#faf6ff!important;border-color:#503b67!important;box-shadow:0 8px 26px rgba(0,0,0,.22)}
body.theme-root[data-theme="dark"] h1,body.theme-root[data-theme="dark"] h2,body.theme-root[data-theme="dark"] h3,body.theme-root[data-theme="dark"] h4,body.theme-root[data-theme="dark"] .page-heading h1,body.theme-root[data-theme="dark"] .panel h2,body.theme-root[data-theme="dark"] .panel h3,body.theme-root[data-theme="dark"] .stat-value,body.theme-root[data-theme="dark"] .v5-home .v5-hero h1,body.theme-root[data-theme="dark"] .v5-home .v5-section-title h2,body.theme-root[data-theme="dark"] .v5-home .v5-card h3,body.theme-root[data-theme="dark"] .v5-home .v5-faq-list summary{color:#fff!important}
body.theme-root[data-theme="dark"] p,body.theme-root[data-theme="dark"] .muted,body.theme-root[data-theme="dark"] small,body.theme-root[data-theme="dark"] .v5-home .v5-hero p,body.theme-root[data-theme="dark"] .v5-home .v5-card p,body.theme-root[data-theme="dark"] .v5-home .v5-faq-list details p{color:#d8cfe5!important}
body.theme-root[data-theme="dark"] input:not([type=checkbox]):not([type=radio]),body.theme-root[data-theme="dark"] select,body.theme-root[data-theme="dark"] textarea{background:#171023!important;color:#fff!important;border-color:#634a7b!important}
body.theme-root[data-theme="dark"] input::placeholder,body.theme-root[data-theme="dark"] textarea::placeholder{color:#bfb1d2}
body.theme-root[data-theme="dark"] .v5-home{background:#120d22;color:#fff}
body.theme-root[data-theme="dark"] .v5-home .v5-hero,body.theme-root[data-theme="dark"] .v5-home .v5-how{background:linear-gradient(130deg,#2d1b48,#201729)!important;border-color:#503b67}
body.theme-root[data-theme="dark"] .v5-home .v5-extra{background:#261b38!important;border-color:#503b67}
body.theme-root[data-theme="dark"] .v5-home .v5-steps span{background:#ffdc58;color:#28153a}
body.theme-root[data-theme="dark"] .note-card{background:#372b25!important;color:#f8e6b0!important;border-color:#806d40}
body.theme-root[data-theme="dark"] .top-pill{background:#3a2954;color:#ffe9a8}
body.theme-root[data-theme="dark"] .table-wrap,body.theme-root[data-theme="dark"] .table-wrap table,body.theme-root[data-theme="dark"] table td,body.theme-root[data-theme="dark"] table th{background:#22182f!important;color:#f6efff!important;border-color:#503b67!important}
body.theme-root[data-theme="dark"] .sidebar{background:linear-gradient(175deg,#10091e,#24123e)!important}
body.theme-root[data-theme="dark"] .chat-messages{background:#160f25!important;border-color:#503b67}
body.theme-root[data-theme="dark"] .chat-bubble.mine{background:#39245d!important}
body.theme-root[data-theme="dark"] .chat-bubble.other{background:#251a36!important}
body.theme-root[data-theme="dark"] .chat-bubble p{color:#fff!important}
body.theme-root[data-theme="dark"] .theme-toggle,body.theme-root[data-theme="dark"] .icon-btn{background:#38254c;color:#ffe78c;border-color:#795f8f}
body.theme-root[data-theme="dark"] .v5-home .v5-button-secondary{background:#ffdf68!important;color:#29163e!important}
body.theme-root[data-theme="dark"] .v5-home .v5-card-link{color:#ffe078!important}
@media(max-width:700px){body.theme-root .topbar{padding-inline:13px}body.theme-root .top-actions{gap:6px}}
