/* CoinTrivo v6.0 — unified dark-only design and responsive layout */
:root{color-scheme:dark;--cc-bg:#07111f;--cc-panel:#0d1a2b;--cc-panel2:#102239;--cc-line:#233b56;--cc-text:#edf5ff;--cc-muted:#a9bad0;--cc-cyan:#43d9ff;--cc-blue:#438dff;--cc-violet:#8c7bff;--cc-green:#40d9a0;--cc-danger:#ff6b82;--cc-radius:16px}
html,body{background:#07111f!important;color:#edf5ff!important;max-width:100%;overflow-x:clip}body{min-height:100vh}*,*:before,*:after{box-sizing:border-box}
body,button,input,select,textarea{font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}
body :is(.card,.stat-card,.settings-row,.loan-calc,.modal,.auth-box,.sidebar,.topbar,.notif-panel,.chat-shell,.chat-list-pane,.chat-room-pane,.admin-card,.asset-card,.trade-card,.loan-card,.panel,.dropdown-menu,.select-menu,.table-wrap,.table-responsive,.verification-card,.upload-card,.support-card){background-color:#0d1a2b!important;color:#edf5ff!important;border-color:#233b56!important}
body :is(.card,.stat-card,.loan-calc,.auth-box,.admin-card,.asset-card,.trade-card,.loan-card,.verification-card,.upload-card){box-shadow:0 14px 38px rgba(0,0,0,.18)}
body :is(input,select,textarea){background:#091525!important;color:#edf5ff!important;border:1px solid #2a4360!important;border-radius:10px}body :is(input,select,textarea)::placeholder{color:#7f95af!important}body :is(input,select,textarea):focus{outline:0;border-color:#43d9ff!important;box-shadow:0 0 0 3px rgba(67,217,255,.14)!important}
body select option{background:#091525!important;color:#edf5ff!important}body :is(.btn-primary,.btn-green,.btn-outline,.cc-support-link){transition:filter .18s ease,transform .18s ease}body .btn-primary{background:linear-gradient(110deg,#12bce6,#438dff 58%,#8c7bff)!important;color:#fff!important;border:0!important}body .btn-green{background:linear-gradient(110deg,#16b981,#2dd4bf)!important;color:#031a17!important}body .btn-outline{background:#102239!important;color:#d9f4ff!important;border-color:#31506f!important}
body :is(.muted,.small,.text-muted,.help-text){color:#a9bad0!important}body a{color:#70dfff}body a:hover{color:#b5f2ff}body :is(table,thead,tbody,tr,td,th){color:#edf5ff}body table{width:100%;border-collapse:collapse}body th{background:#12243a!important;color:#b9dfff!important}body td,body th{border-color:#263e59!important}body tr:nth-child(even) td{background:rgba(16,34,57,.48)}body :is(.modal-overlay,.overlay){background:rgba(1,7,16,.82)!important;backdrop-filter:blur(8px)}
:root[data-theme="light"]{color-scheme:dark!important}html[data-theme="light"],html[data-theme="light"] body{background:#07111f!important;color:#edf5ff!important}html[data-theme="light"] body *{color-scheme:dark}html[data-theme="light"] body :is(.card,.stat-card,.settings-row,.loan-calc,.modal,.auth-box,.sidebar,.topbar,.notif-panel,input,select,textarea,table,td,th){background-color:#0d1a2b!important;color:#edf5ff!important;border-color:#233b56!important}
.cc-consent-block{display:grid;gap:12px;margin:16px 0;padding:14px;border:1px solid #29445f;border-radius:13px;background:#091525}.cc-check-row{display:grid!important;grid-template-columns:20px minmax(0,1fr);gap:10px;align-items:start;font-size:12px;line-height:1.55;color:#d4e4f5!important;font-weight:450!important;letter-spacing:0!important}.cc-check-row input[type=checkbox]{width:18px!important;height:18px!important;min-height:18px!important;margin:2px 0 0;accent-color:#43d9ff}.cc-check-row a{color:#65dfff;text-decoration:underline}.cc-check-row strong{color:#ffd28a}.cc-check-row em{display:block;color:#9db2c9;font-style:normal;margin-top:3px}
.cc-support-dock{position:fixed;z-index:9998;right:18px;bottom:18px;width:190px;padding:12px;background:rgba(9,21,37,.96);border:1px solid #2a4765;border-radius:16px;box-shadow:0 16px 42px rgba(0,0,0,.38);backdrop-filter:blur(14px);display:grid;gap:8px;color:#edf5ff}.cc-support-title{display:grid;grid-template-columns:9px 1fr;align-items:center;column-gap:7px;font-size:13px;font-weight:800}.cc-support-title small{grid-column:2;color:#9fb4cb;font-size:10px;font-weight:500}.cc-support-pulse{width:8px;height:8px;background:#40d9a0;border-radius:50%;box-shadow:0 0 12px rgba(64,217,160,.6)}.cc-support-link{display:flex;align-items:center;justify-content:center;gap:8px;padding:9px 10px;border-radius:10px;text-decoration:none!important;font-size:12px;font-weight:750;border:1px solid #2c4c6d}.cc-support-email{background:#122b46;color:#d9f5ff!important}.cc-support-wa{background:linear-gradient(110deg,#0f8f70,#16a085);color:#fff!important;border-color:#21b99a}.cc-support-link:hover{filter:brightness(1.12);transform:translateY(-1px)}
.cc-legal-page{padding:clamp(14px,4vw,36px);background:radial-gradient(ellipse at 12% 0%,rgba(67,141,255,.14),transparent 42%),#07111f!important}.cc-legal-card{width:min(100%,850px);margin:0 auto;padding:clamp(20px,5vw,48px);border:1px solid #233b56;border-radius:22px;background:#0d1a2b;box-shadow:0 24px 70px rgba(0,0,0,.25);line-height:1.75}.cc-legal-brand{display:block;margin-bottom:26px}.cc-legal-brand img{width:210px;max-width:70%;height:auto}.cc-legal-card h1{font-size:clamp(30px,5vw,44px);line-height:1.12;margin:8px 0 12px}.cc-legal-card h2{font-size:19px;margin:28px 0 8px}.cc-legal-card p,.cc-legal-card li{color:#bdcde0}.cc-legal-updated,.cc-eyebrow{font-size:12px;color:#75dcff!important;letter-spacing:.08em}.cc-legal-note{border-left:3px solid #438dff;padding:10px 14px;background:#102239;border-radius:0 10px 10px 0;font-size:12px;margin:24px 0}
@media(max-width:800px){.admin-grid{grid-template-columns:minmax(0,1fr)!important}.main-content,.content,.page-content{min-width:0!important;width:100%;max-width:100%}body .card{min-width:0}body :is(.table-wrap,.table-responsive,.admin-table-wrap){overflow-x:auto!important;max-width:100%;-webkit-overflow-scrolling:touch}body table{min-width:620px}body :is(.topbar,.topbar-lang,.flex.items-center){flex-wrap:wrap;min-width:0}.cc-support-dock{right:10px;bottom:10px;width:164px;padding:9px;gap:6px}.cc-support-link{padding:8px;font-size:11px}.cc-support-title{font-size:12px}.cc-legal-card{border-radius:16px}}
@media(max-width:480px){.cc-support-dock{right:8px;bottom:8px;width:148px;border-radius:13px}.cc-support-link{padding:8px 6px}.auth-box{max-height:calc(100dvh - 16px)!important;overflow-y:auto!important}.cc-consent-block{padding:11px}.cc-check-row{font-size:11px}.cc-legal-card{padding:20px 16px}.cc-legal-brand img{width:175px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important;transition:none!important;animation:none!important}}

/* Legacy standalone verification templates: force dark variables and readable status text. */
:root{--vr-bg:#07111f!important;--vr-card:#0d1a2b!important;--vr-ink:#edf5ff!important;--vr-muted:#a9bad0!important;--vr-blue:#70dfff!important;--vr-line:#233b56!important;--vr-shadow:0 14px 42px rgba(0,0,0,.28)!important;--bg:#07111f!important;--card:#0d1a2b!important;--ink:#edf5ff!important;--muted:#a9bad0!important;--blue:#70dfff!important;--line:#233b56!important}
body :is(.panel,.card,.note,.empty,.loading,.error,.notice){background:#0d1a2b!important;color:#edf5ff!important;border-color:#233b56!important}body :is(.person strong,.details,.intro,.muted,.back,.eyebrow,.cc-legal-card p){color:#bdcde0!important}body .status{background:#1b2b40!important;color:#ffd28a!important;border-color:#3e526b!important}body .status.verified{background:#0c332d!important;color:#6ee7b7!important}body .status.unverified{background:#3a1d2a!important;color:#ff9dad!important}body .status.pending{background:#3b2d18!important;color:#ffd28a!important}body .view,body .btn.secondary{background:#142b45!important;color:#d9f5ff!important;border-color:#31506f!important}body .approve{background:#13855d!important;color:#fff!important}body .deny{background:#542332!important;color:#ffc0cb!important}body .empty{color:#bdcde0!important}body .error{background:#3a1d2a!important;color:#ffb6c1!important}body .notice{background:#102239!important;color:#bdcde0!important}body input[type=file]{background:#091525!important;color:#edf5ff!important;border-color:#2a4360!important}
/* Catch common legacy inline light surfaces throughout older templates. */
body [style*="background:#fff"],body [style*="background: #fff"],body [style*="background-color:#fff"],body [style*="background-color: #fff"],body [style*="background:#ffffff"],body [style*="background: #ffffff"],body [style*="background-color:#ffffff"],body [style*="background-color: #ffffff"],body [style*="background:white"],body [style*="background: white"],body [style*="background-color:white"],body [style*="background-color: white"],body [style*="background:rgb(255,255,255)"],body [style*="background: rgb(255,255,255)"]{background:#0d1a2b!important;color:#edf5ff!important;border-color:#233b56!important}
.cc-support-dock{z-index:900!important}


/* CoinTrivo v6.0.1 — deeper midnight-blue dashboard surfaces and mobile polish */
html,body,.coincredo-dashboard,.coincredo-dashboard .main-content{background:#061326!important;color:#eaf4ff!important}
.coincredo-dashboard .sidebar,.coincredo-dashboard .topbar{background:rgba(7,20,39,.97)!important;border-color:#203c5c!important;color:#eaf4ff!important}
.coincredo-dashboard .portfolio-hero{background:radial-gradient(ellipse at 90% 5%,rgba(35,123,220,.20),transparent 42%),linear-gradient(145deg,#0b2442 0%,#0a1c34 58%,#07172b 100%)!important;border-color:#23486e!important;box-shadow:0 18px 46px rgba(0,0,0,.22),inset 0 1px 0 rgba(116,190,255,.07)!important}
.coincredo-dashboard .stat-card,.coincredo-dashboard .card,.coincredo-dashboard .panel,.coincredo-dashboard .loan-calc,.coincredo-dashboard .settings-row,.coincredo-dashboard .trade-card,.coincredo-dashboard .asset-card,.coincredo-dashboard .admin-card,.coincredo-dashboard .table-wrap,.coincredo-dashboard .table-responsive{background:#0a1c32!important;border-color:#1d3a5a!important;color:#eaf4ff!important}
.coincredo-dashboard .invite-strip{background:linear-gradient(100deg,rgba(21,87,151,.28),rgba(8,28,50,.88))!important;border-color:#21456a!important;border-left-color:#3aa8ff!important;color:#eaf4ff!important}
.coincredo-dashboard .nav-item.active{background:rgba(37,119,205,.20)!important;color:#9bd5ff!important}
.coincredo-dashboard .nav-item.active:before{background:#4bb9ff!important}
.coincredo-dashboard .hero-btn-icon{background:#102c4b!important;border-color:#2b5278!important;color:#a8ddff!important}
.coincredo-dashboard .rate-option,.coincredo-dashboard .dropdown-menu,.coincredo-dashboard .select-menu{background:#0a1b30!important;color:#eaf4ff!important;border-color:#23415f!important}
.coincredo-dashboard .balance-label,.coincredo-dashboard .stat-label,.coincredo-dashboard .hero-btn-label{color:#a8bfd8!important}
.coincredo-dashboard .balance-amount,.coincredo-dashboard .stat-value{color:#f2f8ff!important}
.coincredo-dashboard :is(input,select,textarea){background:#07172a!important;color:#eaf4ff!important;border-color:#254566!important}
.coincredo-dashboard :is(button,.btn-primary){touch-action:manipulation}
@media(max-width:768px){.coincredo-dashboard .sidebar{background:#07172b!important}.coincredo-dashboard .page-body{padding-left:clamp(10px,3vw,16px)!important;padding-right:clamp(10px,3vw,16px)!important}.coincredo-dashboard .portfolio-hero{padding:clamp(16px,4vw,22px)!important}.coincredo-dashboard .stats-grid{gap:8px!important}.coincredo-dashboard .stat-card{min-width:0!important;overflow-wrap:anywhere}.coincredo-dashboard .hero-actions{gap:7px!important}}
@media(max-width:380px){.coincredo-dashboard .hero-btn-label{font-size:8px}.coincredo-dashboard .balance-amount{font-size:clamp(24px,8vw,31px)}.coincredo-dashboard .stats-grid{grid-template-columns:minmax(0,1fr)!important}}

/* CoinTrivo v6.1 — loan terms review, selected plan clarity, and responsive layouts */
.rate-option{cursor:pointer;transition:background .16s ease,border-color .16s ease,box-shadow .16s ease,transform .16s ease}
.rate-option.selected{background:linear-gradient(145deg,rgba(28,107,190,.34),rgba(28,65,116,.52))!important;border:1px solid #58b9ff!important;box-shadow:0 0 0 2px rgba(88,185,255,.16),inset 0 1px 0 rgba(255,255,255,.07);color:#f2f8ff;transform:translateY(-1px)}
.rate-option.selected .rate-pct{color:#8ed5ff!important}.rate-option.selected .rate-dur{color:#d4e8ff!important}
.cc-loan-review-modal{width:min(540px,calc(100vw - 24px));max-height:min(88dvh,760px);overflow:auto;background:#0b1728!important;border:1px solid #294663!important;color:#eef6ff!important;padding:clamp(18px,3vw,28px)!important;box-sizing:border-box}
.cc-loan-review-modal h2{font-size:clamp(19px,3.5vw,24px);line-height:1.25;color:#f4f8ff;margin:0}
.cc-loan-review-summary{background:#101f34!important;border:1px solid #294663!important;padding:12px 14px!important;border-radius:14px!important}
.cc-loan-review-summary .summary-row{gap:12px;align-items:flex-start;padding:8px 0}.cc-loan-review-summary .summary-row strong{text-align:right;overflow-wrap:anywhere;color:#f4f8ff}.cc-loan-review-summary .cc-loan-total{color:#8bd5ff}
.cc-loan-accept-row{display:flex;gap:11px;align-items:flex-start;padding:13px;border:1px solid #315273;border-radius:12px;background:#10233b;color:#e6f0ff;font-size:13px;line-height:1.55}.cc-loan-accept-row input{flex:0 0 auto;width:18px;height:18px;margin-top:2px;accent-color:#38bdf8}
.cc-loan-review-actions{display:grid;grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr);gap:10px;margin-top:18px}.cc-loan-review-actions button{min-width:0;white-space:normal;min-height:44px}.cc-loan-review-actions button:disabled{opacity:.45;cursor:not-allowed;filter:saturate(.5)}
@media(max-width:560px){.cc-loan-review-modal{width:calc(100vw - 16px);max-height:90dvh;border-radius:16px!important;padding:18px 14px!important}.cc-loan-review-actions{grid-template-columns:1fr}.cc-loan-review-actions button{width:100%}.cc-loan-review-summary{padding:9px 11px!important}.cc-loan-review-summary .summary-row{font-size:13px}}
@media(prefers-reduced-motion:reduce){.rate-option{transition:none;transform:none!important}}


/* CoinTrivo v6.2 brand system and accessible slide-in support dock */
:root{--ct-cyan:#55d9ff;--ct-blue:#438dff;--ct-violet:#9a7bff;--ct-navy:#07111f;--ct-panel:#0d1a2b}
.ct-support-dock{position:fixed;z-index:99999;right:16px;bottom:18px;width:214px;padding:12px;display:block;background:rgba(7,20,37,.97);border:1px solid #2b5278;border-radius:16px;box-shadow:0 18px 48px rgba(0,0,0,.42);backdrop-filter:blur(16px);color:#edf5ff;transform:translateX(0);transition:transform .28s cubic-bezier(.2,.8,.2,1),box-shadow .2s ease;isolation:isolate}
.ct-support-panel{display:grid;gap:8px;min-width:0;transition:opacity .16s ease}.ct-support-title{display:grid;grid-template-columns:9px minmax(0,1fr);align-items:center;column-gap:7px;font-size:13px;font-weight:800;line-height:1.35}.ct-support-title small{grid-column:2;color:#9fb4cb;font-size:10px;font-weight:500}.ct-support-pulse{width:8px;height:8px;background:#40d9a0;border-radius:50%;box-shadow:0 0 12px rgba(64,217,160,.6)}.ct-support-link{display:flex;align-items:center;justify-content:center;gap:8px;min-height:40px;padding:9px 10px;border-radius:10px;text-decoration:none!important;font-size:12px;font-weight:750;border:1px solid #2c4c6d;transition:filter .18s ease,transform .18s ease}.ct-support-email{background:#122b46;color:#d9f5ff!important}.ct-support-wa{background:linear-gradient(110deg,#0f8f70,#16a085);color:#fff!important;border-color:#21b99a}.ct-support-link:hover{filter:brightness(1.12);transform:translateY(-1px)}.ct-support-toggle{position:absolute;left:-18px;top:18px;width:38px;height:42px;border:1px solid #3b7db0;border-radius:12px 0 0 12px;background:linear-gradient(145deg,#138fda,#4a7fff 65%,#8b72ef);color:#fff;display:grid;place-items:center;font:800 27px/1 system-ui,sans-serif;cursor:pointer;box-shadow:0 6px 20px rgba(20,140,230,.28);touch-action:manipulation}.ct-support-toggle:focus-visible{outline:3px solid #9aeaff;outline-offset:3px}.ct-support-arrow{display:block;transform:translateX(-1px);line-height:1}.ct-support-dock.is-collapsed{transform:translateX(calc(100% - 18px));box-shadow:none}.ct-support-dock.is-collapsed .ct-support-panel{opacity:0;pointer-events:none;visibility:hidden}.ct-support-dock.is-collapsed .ct-support-toggle{pointer-events:auto}.ct-support-dock:not(.is-collapsed) .ct-support-arrow{transform:translateX(1px)}
@media(max-width:600px){.ct-support-dock{right:10px;bottom:calc(10px + env(safe-area-inset-bottom));width:min(202px,calc(100vw - 32px));padding:10px}.ct-support-toggle{top:14px}.ct-support-link{min-height:42px}.ct-support-dock.is-collapsed{transform:translateX(calc(100% - 18px))}}
@media(prefers-reduced-motion:reduce){.ct-support-dock,.ct-support-panel,.ct-support-link{transition:none!important}}


/* CoinTrivo v6.3 — dashboard-matched design system */
:root{color-scheme:dark;--ct63-bg:#061326;--ct63-panel:#0a1c32;--ct63-panel2:#102844;--ct63-border:#234563;--ct63-text:#edf6ff;--ct63-muted:#a8bfd8;--ct63-blue:#168cff;--ct63-cyan:#55d9ff;--ct63-violet:#8b7bff}
html,body{background:var(--ct63-bg)!important;color:var(--ct63-text)!important;max-width:100%;overflow-x:clip}
body :is(.card,.panel,.stat-card,.asset-card,.trade-card,.loan-card,.loan-calc,.settings-row,.admin-card,.table-wrap,.table-responsive,.verification-card,.upload-card,.auth-box,.modal,.sidebar,.topbar,.page-header,.section-card,.content-card){background-color:var(--ct63-panel)!important;color:var(--ct63-text)!important;border-color:var(--ct63-border)!important}
body :is(input,select,textarea){background:#07172a!important;color:var(--ct63-text)!important;border-color:#2a4b6d!important}body select option{background:#07172a!important;color:var(--ct63-text)!important}
body :is(button,.btn,.btn-primary,.btn-secondary,.btn-green,.btn-warning,.btn-yellow,.btn-gold,.btn-outline,.action-btn){background:linear-gradient(110deg,#087fce,#2878f0 65%,#6e70f5)!important;color:#fff!important;border:1px solid #328fe4!important;box-shadow:none!important}
body :is(.tag-brass,.warning,.alert-warning,.badge-warning,.text-warning,.status-pending){background:#153657!important;color:#9cddff!important;border-color:#2a5d85!important}
body :is(.muted,.text-muted,.small,.help-text,.form-hint){color:var(--ct63-muted)!important}body a{color:#69dfff}body a:hover{color:#c0f3ff}
body table{width:100%;border-collapse:collapse;color:var(--ct63-text)}body :is(th,thead){background:#122a45!important;color:#bce8ff!important}body :is(td,th){border-color:#234563!important}body tr:nth-child(even) td{background:rgba(16,40,68,.35)}
/* Messages are the intentional brighter surface for readability; other app surfaces stay dark. */
body :is(.messages-grid,.messages-panel,.chat-room-pane,.chat-list-pane,.message-thread,.message-compose,.inbox-panel){background:#12385b!important;color:#f4faff!important;border-color:#2d6c9c!important}
body :is(.messages-grid,.messages-panel,.chat-room-pane,.chat-list-pane,.message-thread,.inbox-panel) :is(.message,.message-bubble,.chat-message,.conversation-item,.message-item){background:#17466e!important;color:#f5fbff!important;border-color:#347aa9!important}
body :is(.messages-grid,.messages-panel,.chat-room-pane,.chat-list-pane,.message-thread,.inbox-panel) :is(input,textarea){background:#0c2945!important;color:#f5fbff!important}
body :is(.modal-overlay,.overlay){background:rgba(1,7,16,.84)!important;backdrop-filter:blur(8px)}
@media(max-width:800px){body :is(.main-content,.content,.page-content,.page-body){min-width:0!important;width:100%;max-width:100%}body :is(.table-wrap,.table-responsive,.admin-table-wrap){overflow-x:auto!important;max-width:100%;-webkit-overflow-scrolling:touch}body table{min-width:620px}body :is(.admin-grid,.messages-grid,.stats-grid,.loans-grid,.invoices-grid){grid-template-columns:minmax(0,1fr)!important}body :is(.topbar,.topbar-lang){flex-wrap:wrap;min-width:0}}
@media(max-width:480px){body :is(.auth-box,.modal){max-width:calc(100vw - 16px)!important}body :is(button,.btn){min-height:40px;max-width:100%;white-space:normal}}

/* v6.3 legacy accent normalization: no gold/yellow legacy controls */
:root{--brass:#438dff;--brass-soft:#8bdcff;--brass-dim:rgba(67,141,255,.16);--green:#43d9ff;--green-dim:rgba(67,217,255,.14)}
body :is(.btn-green,.cc-support-wa){background:linear-gradient(110deg,#087fce,#168cff)!important;color:#fff!important;border-color:#328fe4!important}
body .admin-badge{background:#12385b!important;color:#a8e4ff!important}
body .bubble-out{background:linear-gradient(135deg,#087fce,#2878f0)!important;color:#fff!important}
body .msg-item.unread,body .conversation-item.active{background:#12385b!important;border-color:#2d6c9c!important}


/* CoinTrivo v6.5 — guided actions and responsive polish */
:root{color-scheme:dark;--ct-primary:#178cff;--ct-accent:#35d5ff;--ct-panel:#0b1a2d;--ct-panel-2:#10243b;--ct-border:rgba(102,190,255,.2)}
.btn-primary,.button-primary,[type=submit].btn-primary{background:linear-gradient(115deg,#0879f9,#19b9f5)!important;color:#fff!important;border-color:#168df6!important;box-shadow:0 7px 22px rgba(14,137,255,.2)}
.btn-primary:hover,.button-primary:hover{filter:brightness(1.08);transform:translateY(-1px)}
.ct-guidance{display:flex;align-items:center;gap:.55rem;color:#a9d9ff;font-size:.88rem;margin:.55rem 0 .8rem;line-height:1.45}
.ct-guidance .ct-arrow{display:inline-flex;align-items:center;justify-content:center;flex:0 0 1.8rem;width:1.8rem;height:1.8rem;border-radius:50%;background:#123c62;color:#71dcff;font-size:1.1rem;animation:ct-nudge 1.8s ease-in-out infinite}
@keyframes ct-nudge{0%,100%{transform:translateX(0)}50%{transform:translateX(4px)}}
@media(prefers-reduced-motion:reduce){.ct-guidance .ct-arrow{animation:none}}
@media(max-width:760px){.container,.dashboard-container,.main-content{max-width:100%;width:100%;min-width:0}.card,.panel,.auth-box{min-width:0;overflow-wrap:anywhere}.table-responsive,.table-wrap{max-width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch}.btn,.button{min-height:42px}.grid,.stats-grid,.dashboard-grid{grid-template-columns:minmax(0,1fr)!important}}
@media(max-width:420px){.auth-box{padding:20px 14px!important}.auth-brand-logo{max-width:160px;height:auto}.page-title,h1{overflow-wrap:anywhere}}

/* CoinTrivo v6.7 final override: dashboard-matched blue theme across inner pages */
:root{color-scheme:dark;--brass:#438dff;--brass-soft:#8bdcff;--brass-dim:rgba(67,141,255,.16);--progress-gold:#438dff;--progress-bg:#061326;--progress-panel:#0a1c32;--progress-panel-2:#102844;--progress-border:#234563}
html,body{background:#061326!important;color:#edf6ff!important;max-width:100%;overflow-x:clip}
body :is(.card,.panel,.stat-card,.asset-card,.trade-card,.loan-card,.loan-calc,.settings-row,.admin-card,.table-wrap,.table-responsive,.verification-card,.upload-card,.auth-box,.modal,.sidebar,.topbar,.page-header,.section-card,.content-card,.withdraw-card,.loading-card,.progress-card){background-color:#0a1c32!important;color:#edf6ff!important;border-color:#234563!important}
body :is(button,.btn,.btn-primary,.btn-secondary,.btn-green,.btn-warning,.btn-yellow,.btn-gold,.btn-outline,.action-btn,[type=submit]){background:linear-gradient(110deg,#087fce,#2878f0 65%,#6e70f5)!important;color:#fff!important;border-color:#328fe4!important;box-shadow:none!important}
body :is(.warning,.alert-warning,.badge-warning,.text-warning,.status-pending,.tag-brass,.btn-warning,.btn-yellow,.btn-gold){background:#12385b!important;color:#9cddff!important;border-color:#2a5d85!important}
body :is(.loading,.progress-bar,.progress-fill,.spinner-border,.loader,.withdraw-progress){border-color:#328fe4!important;color:#70dfff!important}body .progress-bar,body .progress-fill{background:linear-gradient(90deg,#087fce,#55d9ff)!important}
.auth-method-picker{display:grid;gap:10px;margin-top:18px}.auth-method-heading{font-weight:750;font-size:16px;text-align:center;margin:4px 0 8px;color:#edf6ff}.auth-method-picker .btn{width:100%;min-height:46px}.auth-method-picker .cc-consent-block{margin:8px 0!important}
@media(max-width:760px){body :is(.container,.dashboard-container,.main-content,.content,.page-content,.page-body){max-width:100%;width:100%;min-width:0}body :is(.table-responsive,.table-wrap,.admin-table-wrap){max-width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch}body table{min-width:600px}.auth-box{max-width:calc(100vw - 20px)!important;max-height:calc(100dvh - 20px)!important;overflow:auto!important}}
@media(max-width:420px){.auth-box{padding:18px 13px!important}.auth-method-heading{font-size:14px}.auth-method-picker .btn{min-height:46px}}
