/* Wealth Atelier 08 — Emerald Gloss. Design-only layer; all financial behavior stays in V07 JS. */
:root{color-scheme:dark;--bg:#081a16;--panel:#15382e;--line:#bba27738;--text:#f8f4e9;--muted:#b6cbbd;--purple:#d9b579;--mint:#62dfb3;--gold:#e0bf88;--radius:20px;--wa-deep:#081a16;--wa-forest:#123428;--wa-green:#1c604a;--wa-bronze:#d2a66e;--wa-ivory:#f8f4e9}
html{scroll-padding-top:95px}body{background:radial-gradient(ellipse 85% 32% at 85% -8%,#2b6d4b65,transparent 70%),radial-gradient(ellipse 70% 25% at -10% 38%,#a37f3533,transparent 78%),linear-gradient(155deg,#081713,#0e281f 52%,#081a16);color:var(--text);font-family:Vazirmatn,Tahoma,sans-serif;font-feature-settings:'ss01' on;line-height:1.9;min-height:100vh}
body:before{content:"";position:fixed;inset:0;pointer-events:none;z-index:-1;opacity:.2;background:radial-gradient(circle at 30% 12%,#b9a06925,transparent 27%),repeating-linear-gradient(120deg,transparent 0 120px,#ffffff05 121px,transparent 122px)}
::selection{background:#c8aa7280;color:#071913}.a1{background:radial-gradient(circle,#40a87b,transparent 65%);opacity:.23}.a2{background:radial-gradient(circle,#c59854,transparent 70%);opacity:.20}
.header{background:linear-gradient(110deg,#092018f0,#153629ed 45%,#0c211af0);border-bottom:1px solid #d8b87850;box-shadow:0 14px 36px #03100cb0,inset 0 1px #ffffff20;backdrop-filter:blur(22px)}
.brand{font-family:Inter,Arial,sans-serif;letter-spacing:1.3px;color:#f9efda}.brand b{color:#e3bd82;text-shadow:0 0 19px #e4b66d45}.brand small{color:#bcd2c4;letter-spacing:0}
.brand-mark{position:relative;overflow:hidden;border:1px solid #f3d19b91!important;background:linear-gradient(140deg,#1a5b44,#103327 55%,#4b3823)!important;box-shadow:inset 0 1px #ffffff80,0 8px 22px #020f0a90,0 0 25px #c69d4a1f!important;color:#e8c18a!important;border-radius:14px;flex:none}
.brand-mark svg{width:31px;height:31px;filter:drop-shadow(0 2px 2px #0008)}
.brand-mark:after,.btn-primary:after{content:"";position:absolute;inset:-100% auto -100% -125%;width:60%;background:linear-gradient(100deg,transparent,#ffffff38,transparent);transform:skewX(-22deg);pointer-events:none;transition:left .65s ease}.brand:hover .brand-mark:after,.btn-primary:hover:after{left:165%}
.nav nav{color:#d2e4d7}.nav nav a{transition:color .2s}.nav nav a:hover,.text-link:hover{color:#e7c58b}.demo-dot{color:#a8efd2;background:#155b4126;border:1px solid #5bb99155}
.btn{border-radius:14px;transition:transform .22s ease,box-shadow .22s ease,background .22s ease;min-height:44px}
.btn:focus-visible,button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:2px solid #edcb94!important;outline-offset:3px}
.btn-primary{position:relative;overflow:hidden;background:linear-gradient(115deg,#a77b49 0%,#eacc99 28%,#c3975d 61%,#f3d5a0 100%);color:#152a20;border:1px solid #e7ca93;box-shadow:0 10px 28px #c6a26a35,inset 0 1px #fff8,inset 0 -2px #70482542;text-shadow:none}
.btn-primary:hover{background:linear-gradient(115deg,#bb8c54,#ffe0a8,#c69557);box-shadow:0 14px 36px #c6a26a60,inset 0 1px #fff9}
.btn-outline,.btn-quiet{background:linear-gradient(160deg,#24513b94,#143326c9);border:1px solid #bba0736b;color:#f6e9d5;box-shadow:inset 0 1px #ffffff1a,0 5px 17px #030d0a55}
.btn-outline:hover,.btn-quiet:hover{border-color:#e7c48c;background:#285842}
.hero h1 em,.section h2 em{background:linear-gradient(110deg,#fff0c9,#e4b978 43%,#85e5bb 100%);color:transparent;background-clip:text}.eyebrow,.v5-eyebrow,.v6-heading>span,.trade-eyebrow{color:#e2bc7f}.hero-copy>p,.section-head p{color:#bed0c3}
.glass-panel{background:linear-gradient(143deg,#33644cdb,#1a3b2de8 52%,#0e281ed9);border:1px solid #f0ca8b7b;box-shadow:0 36px 90px #030e0bbb,inset 0 2px #ffffff48,inset 0 -1px #c29e6955;backdrop-filter:blur(26px)}.panel-top{color:#ebf6ec}.panel-badge{color:#ffe3ae;border-color:#e6bd7975;background:#2f503c}.ring{background:conic-gradient(#dcb880 0 46%,#5fd7aa 46% 77%,#f7e0b0 77% 94%,#ffffff22 94%);box-shadow:0 0 45px #c8a76d38}.ring>div{background:radial-gradient(circle,#24523d,#122e23)}.visual-orbit{border-color:#b7d5a528}.floating-float{background:#153b30e8;border:1px solid #d6b17c7a;color:#83e5bb;box-shadow:0 15px 35px #02110b95}
.trust{color:#cfddcf}.journey-section,.portfolio-section{background:linear-gradient(130deg,#102f25,#091d17 60%,#122920);border-color:#d3b98428}
/* Gloss surfaces throughout both investor and company portals */
.v5-card,.v5-mini,.glass-panel,.product-card,.journey-side,.journey-content,.trade-panel,.position-card,.portfolio-stats article,.admin-stats>div,.admin-editor,.v5-dialog,.v6-stat,.login-card,.how-grid article,.option,.portfolio-empty,.trade-position,.trade-gateway,.v7-asset,.v7-product,.v7-pricebox,.v7-explain,.v7-live>div,.v7-mini-cards>div,.v7-review,.v7-pay,.v7-success,.v7-scenario-result{background:linear-gradient(145deg,#25513d,#16392d 38%,#0c261e 100%)!important;border:1px solid #d3ae744f!important;box-shadow:inset 0 1px 0 #ffffff30,0 15px 42px #020d0980,0 0 0 1px #0d32261c!important;color:#f8f4e9}
.v5-card,.product-card,.trade-panel,.journey-content,.journey-side,.v5-dialog,.login-card{position:relative;isolation:isolate}
.v5-card:before,.product-card:after,.trade-panel:before,.journey-content:before,.v5-dialog:before{content:"";position:absolute;top:0;left:11%;right:11%;height:1px;background:linear-gradient(90deg,transparent,#f5dbac95,transparent);pointer-events:none}
.v5-card h2,.v5-dialog h2,.product-card h3,.portfolio-heading,.trade-positions-panel h3{color:#f8f3e9}.v5-card p,.product-card p,.v5-help,.v6-heading p,.trade-muted{color:#bbd0c0}.v5-mini,.v5-status{background:linear-gradient(105deg,#194836,#18372b);border-color:#997e556e;color:#f1e9d7}.v5-status.ok,.trade-success{background:linear-gradient(120deg,#175a42,#0e3c2c);border-color:#5abc92;color:#baf4d4}
.product-card{transition:transform .28s ease,box-shadow .28s ease,border-color .28s ease}.product-card:hover{transform:translateY(-6px);border-color:#e5c18e!important;box-shadow:0 25px 65px #020e0abb,0 0 28px #b7954830!important}.product-card .subtitle,.text-link,.product-foot button{color:#ebc487}.p-icon{border:1px solid #d7ae745a;background:linear-gradient(155deg,#5b6740,#173d31)!important;box-shadow:inset 0 1px #ffffff35}.product-card .category,.product-foot{color:#aec7b5}
.step .num{border-color:#a9a27170;background:#1d4534}.step.active .num,.admin-tabs button.on{background:linear-gradient(140deg,#e7c993,#b7854d);color:#14271c;border-color:#e7c993;box-shadow:0 3px 17px #ba996749}.step.done .num{background:#215c45;color:#a6f4c8}.step.active{color:#f8f3e9}
.trade-price-badge,.demo-note{background:linear-gradient(100deg,#174d37,#253d2b);border:1px solid #d0aa6c88;color:#efdfa7}.quote-hero{background:linear-gradient(110deg,#336b4c,#18412f);border:1px solid #d3b77870}.quote-hero strong,.portfolio-stats strong,.admin-stats strong,.v7-live strong,.v7-mini-cards b,.position-units{color:#efcf93}.trade-disclaimer{background:#32402a;border-right-color:#e0b87d;color:#f2dfbf}.trade-check{color:#c9dacb}.trade-gateway{background:linear-gradient(145deg,#2b5740,#123c2c)}
.trade-position{background:linear-gradient(135deg,#20523c,#102e23)}.portfolio-stats small,.portfolio-stats span,.position-card p{color:#bcd0c1}.portfolio-empty{border-style:dashed!important}
/* Admin tables, tabs, forms */
.admin-tabs button{background:#143b2c;border:1px solid #6d855b65;color:#dceadb;border-radius:12px}.admin-tabs button:hover{background:#28533c}.admin-table-wrap,.v5-table-wrap{border:1px solid #aa90635c;border-radius:15px;overflow:auto;background:#102a21}.admin-table th,.v5-table-wrap th{background:#27533d;color:#f1e2bd}.admin-table td,.v5-table-wrap td{color:#e2eee3;border-color:#b3a47725}.admin-table button{background:#385d43;border:1px solid #caad7d;color:#f4e1bd}
input,select,textarea,.trade-fields select,.trade-panel select,.trade-panel input,.v5-field input,.v7-amount,.v7-form-label input{background:#102b22!important;border:1px solid #9eb18d70!important;color:#f8f4e9!important;border-radius:13px!important;min-height:46px;box-shadow:inset 0 2px 8px #03100a8c!important}input:focus,select:focus,textarea:focus{border-color:#e4c18a!important;box-shadow:0 0 0 3px #d0ad7530,inset 0 2px 8px #03100a8c!important}input::placeholder,textarea::placeholder{color:#a5bcae}
.v5-modal,.modal-backdrop{background:#04120fdb;backdrop-filter:blur(15px)}.v5-dialog,.login-card{background:linear-gradient(148deg,#276047,#0e271e)!important}.v5-close,.x-btn{background:#2c5844;color:#f7e4c5;border:1px solid #c8ac7d80}.v6-stat strong{color:#f4dfb4}
/* Journey V07 component compatibility */
.v7-dot{background:linear-gradient(150deg,#1c4935,#113124)!important;border-color:#bc9f6b75!important;color:#d8e2d6!important}.v7-dot.active,.v7-dot.on,.v7-dot.current{background:linear-gradient(145deg,#d9b981,#a87848)!important;color:#14271d!important}.v7-asset.selected,.v7-product.selected,.v7-scenario.chosen{border-color:#eccb92!important;background:linear-gradient(135deg,#396b4a,#204e38)!important;box-shadow:0 0 0 2px #dbb67d38,inset 0 1px #fff5!important}.v7-asset:hover,.v7-product:hover{border-color:#d9b981!important}.v7-product-icon{background:linear-gradient(135deg,#3a7151,#1d4c38)!important;color:#f3d9a7!important}.v7-kicker,.v7-explain span,.v7-product em{color:#e8c48b!important}.v7-pricebox strong,.v7-scenario-result strong{color:#f5d9a2!important}.v7-chips button{background:#21533c!important;border:1px solid #bc9e6c80!important;color:#f4ebd8!important}.v7-chips button.active{background:linear-gradient(110deg,#b5844f,#e6c58b)!important;color:#12251c!important}.v7-scenario-track{background:#132e22!important}.v7-scenario-track i{background:linear-gradient(90deg,#337a56,#bfa06a)!important}.v7-pay-symbol{color:#f5d7a0!important}
/* Consistent focus + small-screen usability */
button{touch-action:manipulation} .btn:active,.v7-asset:active,.v7-product:active{transform:scale(.985)}
@media(max-width:720px){.header{background:#0c281fe8}.hero{padding-top:36px}.hero h1{font-size:clamp(33px,10vw,44px)}.v5-card,.journey-content,.trade-panel{padding:19px}.brand{letter-spacing:.7px}.btn{min-height:46px}.glass-panel{max-width:90%}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important;animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}}
