/* TRENDO trading workspace — light surfaces, violet and electric blue. */
:root{color-scheme:light;--bg:#f5f5fc;--panel:#fff;--line:#e1e1ef;--muted:#676b83;--text:#22253e;--gold:#6d43ed;--green:#078369;--paper:#fff;--ink:#242b43;--ux-focus:#7042ed;--ux-muted:#676b83}
body{background:#f5f5fc;color:#22253e}::selection{background:#dbd0ff;color:#3e2194}button:hover{filter:none}
.sidebar{background:#fff;border-color:#e5e3f2;box-shadow:8px 0 40px #4224a104}.sidebar .brand{color:#272542;font-weight:750;letter-spacing:2px}.brand-mark{color:#fff;background:linear-gradient(140deg,#7546f4,#4269ef);border-radius:13px;box-shadow:0 6px 16px #7546f42b}.brand-sub{color:#7b7696}.nav-label{color:#8b879e}
.nav-link{color:#696780;font-weight:500}.nav-link:hover{background:#f3efff;color:#6841d9}.nav-link.active{color:#fff;background:linear-gradient(105deg,#7544eb,#5b65ed);box-shadow:0 6px 18px #714aee25}.nav-link .count{background:#ffffff30;color:#fff}.mini-brand{color:#30334d}.mini-brand span{color:#7449e7}.sidebar-note,.user small{color:#7b8095}.user{border-color:#e5e3f2}.avatar{background:#eee7ff;border-color:#d9cbff;color:#6841cf}
.workspace{background:radial-gradient(ellipse at 100% 0%,#e0eaff75,transparent 42%),#f5f5fc}header{background:#ffffffd9;border-color:#e6e5f2}.crumb{color:#73758c}.crumb strong{color:#2b2f4c}.local-badge{background:#e8faf1;border-color:#bee8d4;color:#137c59}.local-badge i{background:#17a976}.title-row h1{color:#25283f;font-weight:720;letter-spacing:-1.8px}.serif{color:#7548e4;font-weight:520}.eyebrow{color:#7950d7}.title-row .eyebrow::before{background:#8a59f0}.title-row .intro,.intro,.muted{color:#6b7088}.quiet-label{color:#76718e;background:#fff;border-color:#e1ddef}
.panel,.quiz,.term,.analysis-output,.plan-result,.journal-filter{background:#fff;border:1px solid #e0e3ef;border-radius:20px;box-shadow:0 8px 32px #3a377b05}.panel h2,.panel h3,.quiz h2{color:#292c48}
.btn,.submit,.broker-button{color:#fff;background:linear-gradient(110deg,#7547ec,#5868ec);box-shadow:0 5px 14px #7153dd20;border:1px solid transparent;border-radius:11px;font-weight:650}.btn:hover,.submit:hover:not(:disabled),.broker-button:hover{background:linear-gradient(110deg,#6733dd,#4659e0);color:#fff;box-shadow:0 7px 22px #7153dd35}.btn.secondary{background:#f2effc;color:#6347ac;border-color:#ded4f4}.btn.secondary:hover{color:#53329e;background:#e9e1fb}.back,.text-button,.register-link{color:#6a43d0}.iconbox{background:#eee8ff;color:#7b4be2;border-color:#e2d8fb;border-radius:13px}
.search,select,input,textarea{background:#fff;color:#2c3451;border-color:#d7dcec;color-scheme:light}.search::placeholder,input::placeholder,textarea::placeholder{color:#8a90a5}input:focus,select:focus,textarea:focus{border-color:#9272ec;box-shadow:0 0 0 3px #8a64e81a}.notice{background:#f1f4ff;color:#666d8d;border-color:#dce4f8}
.filters,.analysis-mode{background:#ececf7;border-color:#dfdfef}.filters button,.analysis-mode button{color:#73728c}.filters button.active,.analysis-mode button.active{background:#fff;color:#6942d5;border-color:#e3dbfa;box-shadow:0 3px 9px #42376e0d}
.aurum-hero{gap:22px}.hero{background:radial-gradient(ellipse at 85% 20%,#d088ff75,transparent 55%),linear-gradient(125deg,#6b35dc,#7950e9 53%,#4b73ed);border:0;border-radius:24px;box-shadow:0 15px 32px #6847d52b;min-height:360px}.hero-copy{width:80%}.hero h2{color:#fff;font-weight:650}.hero h2 em{color:#d9f78d;font-weight:500}.hero p{color:#eeebff}.hero .eyebrow{color:#e5dcff}.hero .btn{background:#d8f786;color:#30401b;box-shadow:0 6px 16px #28195720}.hero .btn:hover{background:#e7ffb0;color:#233610}.hero-foot,.edition{color:#e2d8ff}.hero-foot{border-color:#ffffff26}.hero-foot span+span:before{color:#d6c4ff}.aurum-monogram{opacity:.25;right:-48px;transform:rotate(9deg);width:305px;height:305px}
.terminal-preview{background:radial-gradient(ellipse at 90% 0%,#37c1ed35,transparent 60%),linear-gradient(145deg,#143775,#16335e);border:1px solid #285992;border-radius:24px;box-shadow:0 15px 30px #264b8217}.terminal-preview .terminal-top,.terminal-bottom{color:#c8def5}.terminal-preview .terminal-top i{background:#73f0d1}.terminal-preview .terminal-title,.terminal-preview .terminal-title span{color:#fff;font-weight:550}.terminal-bottom small{color:#99c0e9}.circle-btn{background:#8ee6ff;color:#15456d;border-radius:13px}.terminal-preview .hero-art{opacity:.8}
.metrics{gap:15px}.metric{border:1px solid #e3e3f2;background:#fff;border-radius:18px;box-shadow:0 6px 25px #514b8005}.metric+.metric{border-left:1px solid #e3e3f2}.metric strong{color:#292c49;font-weight:650}.metric strong span{color:#9a9db0}.metric small{color:#777b91}.metric:nth-child(2) .iconbox{background:#e4f7ff;color:#1686bd;border-color:#cfecf7}.metric:nth-child(3) .iconbox{background:#fff1dc;color:#b87a21;border-color:#f3e4c9}
.action-strip{background:#fff;border-color:#e2e3f1;border-radius:18px}.action-strip button,.action-strip button+button{border-color:#e5e5f0}.action-strip button:hover{background:#f7f3ff}.action-strip strong{color:#393452}.action-strip small{color:#7c7c95}.strip-num,.strip-arrow{color:#8056e4}
.module-card,.module-card:nth-child(3n+2),.module-card:nth-child(3n+3),.module-card:nth-child(1){background:#fff;border:1px solid #e3e4f0;border-radius:20px;box-shadow:0 5px 24px #37326b05;position:relative;overflow:hidden}.module-card:before{content:'';position:absolute;left:0;top:0;bottom:0;width:4px;background:#a682fa}.module-card:nth-child(3n+2):before{background:#4bc5e8}.module-card:nth-child(3n+3):before{background:#efa856}.module-card:nth-child(3n+2) .iconbox{background:#e4f8fe;color:#258ead;border-color:#cfeff8}.module-card:nth-child(3n+3) .iconbox{background:#fff2e2;color:#b87a2d;border-color:#f4e5d1}.module-card:hover{background:#fdfcff;border-color:#b9a2f0;box-shadow:0 12px 28px #6a4caf10;transform:translateY(-3px)}.module-card h3{color:#30334e}.module-card p{color:#74788e}.card-number{color:#9691a9}.card-bottom{color:#7c7e94;border-color:#eeedf6}.card-bottom .arrow{color:#7c52df}.card-bottom .done{color:#178263}
.progress-track{background:#e6e4f5}.progress-track>div{background:linear-gradient(90deg,#8352ef,#35b9e8)}
.analysis-input,.plan-input,.journal-input,.live-controls,.admin-settings,.gate-step.current{background:#fff;border-color:#dfdff0;color:#323752;border-radius:20px}.analysis-input h2,.plan-input h2,.journal-input h2,.live-controls h2,.admin-settings h2,.gate-step.current h2{color:#30354f}.analysis-input .eyebrow,.plan-input .eyebrow,.journal-input .eyebrow,.admin-settings .eyebrow,.gate-step.current .eyebrow{color:#7c58cb}.analysis-input .horizon-label,.analysis-input .horizon-label .muted,.plan-input>p,.plan-field,.plan-field>small,.plan-input form>small,.journal-manual-note,.journal-result-hint,.live-controls .muted,.admin-settings label,.admin-settings .muted,.gate-step.current p{color:#70758b}
.plan-field input,.journal-input input,.journal-input select,.journal-input textarea,.admin-settings input,.gate-step.current input{background:#f8f8fd;color:#30354f;border-color:#dcdfee}.analysis-input .chart-upload{background:#f7f3ff;border:1px dashed #b39bdf}.analysis-input .chart-upload strong{color:#60449a}.analysis-input .chart-upload>span,.analysis-input .chart-upload small,.analysis-input .upload-privacy{color:#81739c}.analysis-input .horizon-tabs{background:#f0edf9;border-color:#e2dbf0}.analysis-input .horizon-tabs button{color:#77718a}.analysis-input .horizon-tabs button.active{background:#7547e7;color:#fff;border-color:#7547e7}.analysis-input .analyze-button,.plan-input .btn,.journal-input .btn,.admin-settings .btn{background:linear-gradient(110deg,#7547ec,#5868ec);color:#fff}
.result-empty h2,.plan-empty h2,.live-empty h2{color:#373553}.result-empty h2 .serif{color:#8055dd}.result-empty p,.plan-empty p,.live-empty p{color:#808198}.empty-orbit{background:#f0e9ff;color:#8a5fe6;border-color:#ddcff7}.empty-orbit:before,.empty-orbit:after{border-color:#e5dcf7}.empty-result-labels span{color:#8677a3;border-color:#e4dbf3;background:#faf7ff}
.gate-step{border-color:#e2e3ee}.gate-step.current .step-number{color:#784fce;background:#f0e9ff;border-color:#e5daf7}.gate-step.current label{color:#535770}.gate-preview{background:linear-gradient(145deg,#7549e5,#4e7fdd);border:0;color:#fff}.gate-preview h2{color:#fff}.gate-preview h2 em{color:#dafa9d}.gate-preview .eyebrow,.gate-preview .gate-benefits,.gate-preview .gate-progress{color:#e8eaff}.gate-lock{color:#c9f4ff;border-color:#ffffff40;background:#ffffff12}
.live-panel{background:#fff;border-color:#dfe4f1}.live-chart-wrap{background:#f8faff;border-radius:14px;padding:14px}.live-price strong{color:#293d5b}.live-status.online{color:#138768}.live-status.online i{background:#20af89}.chart-grid{stroke:#dde6f3}.live-chart text{fill:#8797ac}.candle-up{fill:#14a382;stroke:#14a382}.candle-down{fill:#e86b89;stroke:#e86b89}.live-chart-foot{border-color:#e3e8f2;color:#7b8ba0}.live-empty .gate-lock{color:#6b8ddd;border-color:#dae3fa;background:#edf3ff}
.term h3{color:#7951cb}.term p,.lesson-content{color:#646b82}.lesson-content.paper{background:#fff;color:#4d566d;border-color:#e2e5f1}.lesson-content.paper h2{color:#5e4c95}.lesson-content.paper li{color:#606980}.lesson-content.paper .btn{background:#7547e7;color:#fff}.lesson-content:not(.paper) h2{color:#694eb1}.option{background:#f7f6fc;color:#5c6079;border-color:#e0dfee}.option:hover:not(:disabled){background:#f0eafa}.option.correct{background:#e1f7eb;color:#247f55;border-color:#91cfad}.option.wrong{background:#ffedf0;color:#b95569;border-color:#e9a4b2}.stats-row{border-color:#e8e7f2}.stats-row strong{color:#7453c1}
.plan-hero-number>strong,.plan-summary strong{color:#7251c6}.plan-day.selected,.plan-day.goal{background:#f0e9ff;border-color:#b49ada}.plan-day.selected strong,.plan-day.goal strong{color:#7954c1}.plan-check input{accent-color:#8057d9}.plan-curve path[stroke]{stroke:#8057d9}.plan-warning{color:#9c701f;background:#fff7e4;border-color:#f2e0b7}.recovery-help,.recovery-guide,.recovery-example{border-color:#e1e0ef}.journal-input .back{color:#8057c6}.journal-content .positive{color:#158461}.journal-content .negative{color:#ce5372}
.aurum-report{color:#444f68;--signal:#22896d;--signal-wash:#1c9c7809}.report-down{--signal:#d15f7c;--signal-wash:#d15f7c09}.report-wait{--signal:#a97a25;--signal-wash:#cb9e3509}.report-insight,.report-condition{background:#f6f7fc;border-color:#e1e5f1}.report-section-number{color:#9164d7}.report-summary{color:#626b82}.report-topline,.report-limits{border-color:#e4e7f0}.aurum-report h3{color:#48526c}
.admin-metric{background:#fff;border-color:#e3e5f1}.admin-metric:first-child{background:linear-gradient(120deg,#7c4ce7,#5c72ec)}.admin-metric:first-child strong,.admin-metric:first-child>span,.admin-metric:first-child small{color:#fff}.admin-table th,.admin-table td{border-color:#e5e7f1}.admin-table td strong{color:#494e69}
footer{border-color:#e5e5f1;color:#8c8ba1}.skip-link{background:#e3d8ff;color:#5a3997}#toast{background:#33304d;color:#fff;box-shadow:0 8px 28px #332d4e25}
/* Bright account entry */
body:has(.entry){background:#f8f7fe}.story{background:radial-gradient(ellipse at 15% 15%,#bf93ff7a,transparent 65%),linear-gradient(155deg,#7441e3,#5479ea);border-color:#6f64d7;color:#fff}.story .brand{color:#fff}.story .brand span{color:#dedcff}.story .eyebrow{color:#e6ddff}.story h1{color:#fff;font-weight:620}.story em{color:#dcf893}.story p{color:#e5eaff}.story-foot{color:#dadfff}.story .mark{opacity:.22}.form-side{background:radial-gradient(ellipse at 100% 0%,#e4eaff80,transparent 65%),#faf9ff}.entry-form h2{color:#31314d}.entry-form .eyebrow{color:#8c65d0}.entry-form>p,.entry-form .hint,.registration-steps p,#password-guide p{color:#777b92}.entry-form label{color:#575b76}.entry-form input{background:#fff;color:#343a55;border-color:#ddddec}.entry-form input:focus{border-color:#9970e8;box-shadow:0 0 0 3px #9970e81a}.password-wrap button{color:#8863ca}.tabs{background:#eeebf7;border-color:#e2ddef}.tabs button{color:#8a819e}.tabs button.active{background:#fff;color:#7852bd;box-shadow:0 3px 8px #50406708}.registration-steps{background:#f4f0ff;border-color:#e2d6f8}.registration-steps h3,#password-guide h3{color:#594386}.registration-steps .submit{background:#e8dff9;color:#6d4aab;border-color:#d5c2f0}.registration-steps .submit:hover{background:#dcd0f3;color:#56368f}.signup-progress li{color:#9c94ad;border-color:#e3ddee}.signup-progress .current{color:#8052ca;border-color:#9461df}.signup-progress .complete{color:#47987a;border-color:#79c6a8}.id-instructions{color:#75718b}#password-guide strong{color:#8158c7}.foot{color:#9891a8}#error{color:#cc5275}
@media(max-width:720px){.sidebar{background:#fff;border-color:#e4e1f1}.sidebar .nav-link.active{background:linear-gradient(120deg,#8753e7,#6373e8);color:#fff;box-shadow:none}.sidebar nav{scrollbar-color:#c9b5eb transparent}.hero{border-radius:20px}.hero-copy{width:100%}.aurum-monogram{opacity:.14}.terminal-preview{border-radius:20px}.metric{border-radius:15px}.title-row h1{font-size:34px}.header-right{gap:8px}.header-right .btn{box-shadow:none}.entry-form .submit,.broker-button{min-height:54px}}
