@font-face{font-family:"Vazirmatn";font-style:normal;font-display:swap;font-weight:400;src:url("/assets/fonts/vazirmatn-latin-400-normal.woff2?v=5.2.8") format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:"Vazirmatn";font-style:normal;font-display:swap;font-weight:500;src:url("/assets/fonts/vazirmatn-latin-500-normal.woff2?v=5.2.8") format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:"Vazirmatn";font-style:normal;font-display:swap;font-weight:700;src:url("/assets/fonts/vazirmatn-latin-700-normal.woff2?v=5.2.8") format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:"Vazirmatn";font-style:normal;font-display:swap;font-weight:800;src:url("/assets/fonts/vazirmatn-latin-800-normal.woff2?v=5.2.8") format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:"Vazirmatn";font-style:normal;font-display:swap;font-weight:900;src:url("/assets/fonts/vazirmatn-latin-900-normal.woff2?v=5.2.8") format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:"Vazirmatn";font-style:normal;font-display:swap;font-weight:400;src:url("/assets/fonts/vazirmatn-arabic-400-normal.woff2?v=5.2.8") format("woff2");unicode-range:U+0600-06FF,U+0750-077F,U+0870-088E,U+0890-0891,U+0897-08E1,U+08E3-08FF,U+200C-200E,U+2010-2011,U+204F,U+2E41,U+FB50-FDFF,U+FE70-FE74,U+FE76-FEFC}
@font-face{font-family:"Vazirmatn";font-style:normal;font-display:swap;font-weight:500;src:url("/assets/fonts/vazirmatn-arabic-500-normal.woff2?v=5.2.8") format("woff2");unicode-range:U+0600-06FF,U+0750-077F,U+0870-088E,U+0890-0891,U+0897-08E1,U+08E3-08FF,U+200C-200E,U+2010-2011,U+204F,U+2E41,U+FB50-FDFF,U+FE70-FE74,U+FE76-FEFC}
@font-face{font-family:"Vazirmatn";font-style:normal;font-display:swap;font-weight:700;src:url("/assets/fonts/vazirmatn-arabic-700-normal.woff2?v=5.2.8") format("woff2");unicode-range:U+0600-06FF,U+0750-077F,U+0870-088E,U+0890-0891,U+0897-08E1,U+08E3-08FF,U+200C-200E,U+2010-2011,U+204F,U+2E41,U+FB50-FDFF,U+FE70-FE74,U+FE76-FEFC}
@font-face{font-family:"Vazirmatn";font-style:normal;font-display:swap;font-weight:800;src:url("/assets/fonts/vazirmatn-arabic-800-normal.woff2?v=5.2.8") format("woff2");unicode-range:U+0600-06FF,U+0750-077F,U+0870-088E,U+0890-0891,U+0897-08E1,U+08E3-08FF,U+200C-200E,U+2010-2011,U+204F,U+2E41,U+FB50-FDFF,U+FE70-FE74,U+FE76-FEFC}
@font-face{font-family:"Vazirmatn";font-style:normal;font-display:swap;font-weight:900;src:url("/assets/fonts/vazirmatn-arabic-900-normal.woff2?v=5.2.8") format("woff2");unicode-range:U+0600-06FF,U+0750-077F,U+0870-088E,U+0890-0891,U+0897-08E1,U+08E3-08FF,U+200C-200E,U+2010-2011,U+204F,U+2E41,U+FB50-FDFF,U+FE70-FE74,U+FE76-FEFC}
@font-face{font-family:RenFa;src:local("Vazirmatn"),local("Inter"),local("IRANSansX"),local("IRANSans"),local("Segoe UI");font-display:swap}
:root{--font-ui:"Vazirmatn","Inter",sans-serif;--ink:#111827;--deep:#0f172a;--paper:#f4f7f6;--pearl:#ffffff;--teal:#0f766e;--teal-2:#134e4a;--bronze:#b38b59;--moss:#5f7668;--line:rgba(17,24,39,.10);--muted:#667085;--soft:rgba(255,255,255,.72);--blue:#2962ff;--green:#089981;--panel:#ffffff}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--paper);color:var(--ink);font-family:var(--font-ui)}html[dir=rtl] body{font-family:var(--font-ui)}
a{color:inherit}.site-header{position:sticky;top:0;z-index:50;display:flex;align-items:center;gap:1rem;min-height:72px;padding:0 clamp(1rem,4vw,3rem);border-bottom:1px solid rgba(255,255,255,.16);background:rgba(238,240,232,.78);backdrop-filter:blur(20px)}
.brand{display:flex;align-items:center;gap:.7rem;text-decoration:none}.brand img{width:42px;height:42px;border-radius:50%;object-fit:cover}.brand strong{display:block;font-weight:900}.brand small{color:var(--muted);font-size:.72rem}.main-nav{display:flex;align-items:center;gap:1rem;margin-inline:auto}.main-nav>a,.nav-group>button{border:0;background:transparent;color:#213033;font:inherit;font-weight:850;text-decoration:none;cursor:pointer}.nav-group{position:relative}.nav-group>div{position:absolute;top:calc(100% + 1rem);inset-inline-start:50%;display:none;min-width:250px;transform:translateX(-50%);padding:.55rem;border:1px solid var(--line);border-radius:14px;background:rgba(248,245,236,.97);box-shadow:0 24px 70px rgba(6,21,23,.16)}.nav-group:hover>div,.nav-group:focus-within>div{display:grid}.nav-group a{padding:.7rem .8rem;border-radius:10px;text-decoration:none;color:#223336}.nav-group a:hover{background:rgba(15,77,82,.08);color:var(--teal)}
.header-actions{display:flex;align-items:center;gap:.7rem}.start-link,.primary{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:.75rem 1.05rem;border:0;border-radius:999px;background:linear-gradient(135deg,var(--teal),#0d666c);color:white;text-decoration:none;font-weight:900;box-shadow:0 16px 40px rgba(15,77,82,.24);cursor:pointer}.lang-link,.secondary{display:inline-flex;align-items:center;justify-content:center;min-height:42px;padding:.68rem .95rem;border:1px solid var(--line);border-radius:999px;background:rgba(255,255,255,.48);color:#243638;text-decoration:none;font-weight:850}.secondary.light{border-color:rgba(255,255,255,.22);background:rgba(255,255,255,.08);color:#f2efe7}
.hero{position:relative;overflow:hidden;min-height:calc(100vh - 72px);padding:clamp(2rem,5vw,5.5rem) clamp(1rem,4vw,3rem)}.underwater{background:radial-gradient(circle at 20% 15%,rgba(76,135,141,.28),transparent 26rem),radial-gradient(circle at 80% 18%,rgba(181,147,99,.20),transparent 30rem),linear-gradient(145deg,#edf2ed 0%,#dfe9e0 46%,#c9d8cc 100%)}.water-field{position:absolute;inset:-10%;filter:blur(12px);opacity:.75}.water-field span{position:absolute;border-radius:50%;border:1px solid rgba(15,77,82,.10);background:radial-gradient(circle,rgba(255,255,255,.35),transparent 60%);animation:drift 16s ease-in-out infinite alternate}.water-field span:nth-child(1){width:42rem;height:42rem;left:6%;top:5%}.water-field span:nth-child(2){width:34rem;height:34rem;right:8%;top:18%;animation-duration:19s}.water-field span:nth-child(3){width:28rem;height:28rem;left:45%;bottom:0;animation-duration:22s}
@keyframes drift{to{transform:translate3d(2rem,-1.4rem,0) rotate(9deg)}}.hero-inner{position:relative;z-index:1;display:grid;grid-template-columns:minmax(280px,.58fr) minmax(560px,1fr);gap:clamp(2rem,5vw,4.5rem);align-items:center;max-width:1240px;margin:0 auto}.kicker{display:inline-flex;align-items:center;gap:.5rem;color:var(--teal);font-weight:950;font-size:.78rem;letter-spacing:.08em;text-transform:uppercase}.kicker:before{content:"";width:.48rem;height:.48rem;border-radius:50%;background:var(--bronze);box-shadow:0 0 0 6px rgba(181,147,99,.13)}h1{font-family:var(--font-ui);margin:1rem 0 .85rem;font-size:clamp(2.5rem,5vw,5.8rem);line-height:1.05;letter-spacing:0}p{line-height:1.9;color:#4f625d}.hero-copy p{font-size:clamp(1rem,1.2vw,1.16rem);max-width:620px}.actions{display:flex;gap:.8rem;flex-wrap:wrap;margin-top:1.35rem}
.roadmap{position:relative;display:grid;gap:1.15rem;padding:1rem 1.5rem}.roadmap:before{content:"";position:absolute;inset:4% 50% 4% auto;width:2px;background:linear-gradient(180deg,transparent,rgba(15,77,82,.34),rgba(181,147,99,.30),transparent);transform:translateX(-1px)}.station{position:relative;display:grid;grid-template-columns:auto 1fr;grid-template-areas:"icon no" "icon name" "icon title" "icon body";gap:.08rem .75rem;width:min(31rem,88%);min-height:88px;padding:.85rem .95rem;border:1px solid rgba(16,27,28,.10);border-radius:8px;background:rgba(248,245,236,.55);backdrop-filter:blur(14px);box-shadow:0 14px 38px rgba(7,21,23,.08);text-decoration:none;transition:transform .2s ease,background .2s ease,border-color .2s ease}.station:hover{transform:translateY(-3px);background:rgba(248,245,236,.78);border-color:rgba(15,77,82,.24)}.station:nth-child(odd){margin-inline-start:auto}.station:nth-child(even){margin-inline-end:auto}.station-icon{grid-area:icon;display:grid;place-items:center;width:2.65rem;height:2.65rem;border-radius:50%;background:var(--teal);color:white;box-shadow:0 0 0 7px rgba(15,77,82,.08)}.station-icon svg{width:1.35rem;height:1.35rem;fill:none;stroke:currentColor;stroke-width:3;stroke-linecap:round;stroke-linejoin:round}.station b{grid-area:no;color:#85918d;font-size:.68rem}.station strong{grid-area:name;font-size:1rem}.station em{grid-area:title;color:var(--teal);font-style:normal;font-weight:900;font-size:.86rem}.station small{grid-area:body;color:#51635f;margin-top:.25rem;line-height:1.45;font-size:.78rem}
.section{padding:clamp(3rem,6vw,6rem) clamp(1rem,4vw,3rem);max-width:1180px;margin:0 auto}.section-head h2,.page-hero h1{font-size:clamp(2.1rem,3.4vw,4rem)}.product-row a{display:block;padding:1.2rem 0;border-top:1px solid var(--line);text-decoration:none}.product-row strong{display:block;font-size:1.35rem}.product-row span{display:block;color:var(--teal);font-weight:900;margin:.18rem 0}.product-row p{margin:0;max-width:760px}.dark-guide{max-width:none;background:var(--deep);color:#f5f1e8}.dark-guide p{max-width:760px;color:#bfd0cd}.page{background:linear-gradient(145deg,#f3f1e8,#dce7df);min-height:70vh}.page-hero{padding:clamp(3rem,7vw,7rem) clamp(1rem,5vw,5rem);max-width:980px}.page-hero p{max-width:720px}.product-detail,.seo-copy{background:rgba(255,255,255,.28);border-top:1px solid var(--line);max-width:none}.feature-list{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1rem;max-width:1180px}.feature-list article{padding:1.1rem;border:1px solid var(--line);border-radius:12px;background:rgba(255,255,255,.44)}
.auth-page{min-height:calc(100vh - 72px);display:grid;place-items:center;padding:2rem;background:radial-gradient(circle at 20% 15%,rgba(76,135,141,.25),transparent 25rem),linear-gradient(145deg,#edf2ed,#d1dfd5)}.auth-panel{width:min(520px,100%);padding:2rem;border:1px solid var(--line);border-radius:18px;background:rgba(248,245,236,.76);backdrop-filter:blur(18px);box-shadow:0 26px 80px rgba(7,21,23,.14)}form{display:grid;gap:1rem}label{display:grid;gap:.4rem;font-weight:850}input{min-height:46px;border:1px solid var(--line);border-radius:12px;padding:0 .9rem;background:rgba(255,255,255,.62);font:inherit}.assessment{max-width:820px;margin:0 auto 5rem;padding:0 1rem;display:grid;gap:1rem}.assessment fieldset{border:1px solid var(--line);border-radius:14px;background:rgba(255,255,255,.4);padding:1rem}.assessment label{display:flex;align-items:center;gap:.55rem;margin:.55rem 0}.result-card{display:grid;grid-template-columns:280px 1fr;gap:2rem;align-items:center;max-width:980px;margin:clamp(2rem,6vw,6rem) auto;padding:1.4rem;border:1px solid var(--line);border-radius:18px;background:rgba(248,245,236,.78)}.result-card img{width:100%;border-radius:14px}.result-card dl{display:grid;grid-template-columns:auto 1fr;gap:.7rem 1rem}.result-card dt{color:var(--teal);font-weight:950}.site-footer{display:flex;justify-content:space-between;gap:2rem;padding:2rem clamp(1rem,4vw,3rem);background:#071517;color:#dce5df}.site-footer p{color:#aebfba}.site-footer nav{display:flex;flex-wrap:wrap;gap:.85rem}.site-footer a{color:#dce5df;text-decoration:none}

/* TradingView-inspired product surface */
.site-header{background:rgba(255,255,255,.86);border-bottom:1px solid rgba(17,24,39,.08);box-shadow:0 1px 0 rgba(17,24,39,.03)}.brand img{border-radius:10px}.start-link,.primary{background:#2962ff;box-shadow:0 10px 24px rgba(41,98,255,.22)}.primary:hover,.start-link:hover{background:#1f4fd1}.secondary{background:#fff}.trading-hero{min-height:calc(100vh - 72px);background:radial-gradient(circle at 22% 14%,rgba(41,98,255,.10),transparent 24rem),radial-gradient(circle at 74% 18%,rgba(8,153,129,.13),transparent 28rem),linear-gradient(180deg,#fbfcff 0%,#eef5f3 100%)}.trading-hero .water-field{opacity:.45;filter:blur(18px)}.trading-hero .hero-inner{grid-template-columns:minmax(330px,.42fr) minmax(660px,1fr);max-width:1380px;gap:clamp(1.5rem,4vw,4rem)}.trading-hero h1{font-family:var(--font-ui);font-size:clamp(2.7rem,4.5vw,5.2rem);font-weight:950;line-height:1.08;color:#111827}.trading-hero .kicker{color:#2962ff}.trading-hero .kicker:before{background:#089981;box-shadow:0 0 0 6px rgba(8,153,129,.12)}.hero-copy p{color:#425466}.value-tape{display:grid;gap:.55rem;margin:1.1rem 0 0;max-width:520px}.value-tape span{display:flex;align-items:center;justify-content:space-between;gap:1rem;min-height:42px;padding:.55rem .75rem;border:1px solid rgba(17,24,39,.08);border-radius:8px;background:rgba(255,255,255,.72);box-shadow:0 10px 28px rgba(17,24,39,.05);color:#475467}.value-tape b{color:#111827;font-size:.78rem;letter-spacing:.04em}.market-console{overflow:hidden;border:1px solid rgba(17,24,39,.10);border-radius:12px;background:#fff;box-shadow:0 28px 90px rgba(17,24,39,.16)}.console-top{display:flex;align-items:center;gap:.55rem;min-height:44px;padding:0 .85rem;border-bottom:1px solid rgba(17,24,39,.08);background:#fbfdff;color:#475467;font-size:.74rem;white-space:nowrap}.console-top strong{margin-inline-end:auto;color:#111827;font-size:.82rem}.console-top span{padding:.22rem .5rem;border:1px solid rgba(17,24,39,.08);border-radius:999px;background:#fff}.chart-zone{position:relative;min-height:455px;padding:1rem 1rem 1.2rem;background:linear-gradient(180deg,#fff,#f8fbfd)}.chart-zone:before{content:"";position:absolute;inset:3.3rem 1rem 1.2rem;background:repeating-linear-gradient(0deg,transparent 0 58px,rgba(17,24,39,.045) 59px 60px),repeating-linear-gradient(90deg,transparent 0 86px,rgba(17,24,39,.035) 87px 88px);mask-image:linear-gradient(180deg,transparent,black 12%,black 88%,transparent);opacity:.8}.chart-head{position:relative;z-index:2;display:flex;align-items:flex-start;justify-content:space-between;gap:1rem}.chart-head span{color:#667085;font-size:.82rem;font-weight:850}.chart-head b{max-width:360px;text-align:end;color:#101828;font-size:.96rem}.candles{position:absolute;z-index:1;inset:auto 1.2rem 2rem 1.2rem;display:flex;align-items:flex-end;gap:clamp(.55rem,1.2vw,1rem);height:300px;direction:ltr}.candles i{position:relative;width:10px;height:var(--h);margin-bottom:var(--y);border-radius:3px;background:#089981;animation:candleRise 2.8s ease-in-out infinite alternate;animation-delay:var(--d)}.candles i:nth-child(3n),.candles i:nth-child(5n){background:#ef5350;opacity:.72}.candles i:before{content:"";position:absolute;left:50%;top:-18px;bottom:-18px;width:1px;background:currentColor;transform:translateX(-50%);opacity:.45}.trading-hero .roadmap{position:relative;z-index:3;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:.7rem;margin-top:2.3rem;padding:0}.trading-hero .roadmap:before{display:none}.trading-hero .station{width:auto;min-height:170px;margin:0;padding:.8rem;grid-template-columns:1fr;grid-template-areas:"no" "icon" "name" "title" "body";align-content:start;border-radius:10px;background:rgba(255,255,255,.84);box-shadow:0 16px 42px rgba(17,24,39,.10)}.trading-hero .station-icon{width:2.35rem;height:2.35rem;margin:.2rem 0 .65rem}.trading-hero .station b{font-size:.72rem;color:#98a2b3}.trading-hero .station strong{font-size:.92rem}.trading-hero .station em{font-size:.78rem;color:#2962ff}.trading-hero .station small{font-size:.72rem;color:#667085}.console-panels{display:grid;grid-template-columns:repeat(3,1fr);border-top:1px solid rgba(17,24,39,.08);background:#fbfdff}.console-panels article{padding:.9rem 1rem;border-inline-start:1px solid rgba(17,24,39,.08)}.console-panels article:first-child{border-inline-start:0}.console-panels span{display:block;color:#667085;font-size:.76rem}.console-panels strong{display:block;margin-top:.18rem;color:#111827;font-size:1rem}.product-flow{max-width:1240px}.product-flow .section-head{display:flex;align-items:end;justify-content:space-between;gap:2rem}.product-flow .section-head h2{max-width:620px;margin:.4rem 0 1.2rem}.product-row a{display:grid;grid-template-columns:160px 220px 1fr;align-items:center;gap:1rem;margin:.65rem 0;padding:1rem;border:1px solid rgba(17,24,39,.08);border-radius:10px;background:#fff;box-shadow:0 10px 30px rgba(17,24,39,.05)}.product-row strong{font-size:1.05rem}.product-row span{margin:0;color:#2962ff}.product-row p{max-width:none;color:#667085;line-height:1.65}.dark-guide{background:#0f172a}.dark-guide .kicker{color:#7dd3fc}@keyframes candleRise{to{transform:translateY(-10px)}}
@media(max-width:960px){.main-nav{display:none}.hero-inner,.result-card{grid-template-columns:1fr}.feature-list{grid-template-columns:1fr}.station:nth-child(n){margin:0}.site-footer{display:grid}.roadmap:before{display:none}.trading-hero .hero-inner{grid-template-columns:1fr}.trading-hero .roadmap{grid-template-columns:repeat(2,minmax(0,1fr))}.chart-zone{min-height:560px}.product-row a{grid-template-columns:1fr}.product-flow .section-head{display:block}}@media(max-width:560px){h1{font-size:clamp(2.2rem,12vw,3.6rem)}.header-actions .lang-link{display:none}.trading-hero{padding-inline:.8rem}.market-console{border-radius:10px}.console-top{overflow:auto}.trading-hero .roadmap{grid-template-columns:1fr}.trading-hero .station{min-height:116px}.console-panels{grid-template-columns:1fr}.console-panels article{border-inline-start:0;border-top:1px solid rgba(17,24,39,.08)}.candles{gap:.45rem}.candles i{width:8px}}
@media(prefers-reduced-motion:reduce){.water-field span{animation:none}}
.candles i:nth-child(3n),.candles i:nth-child(5n){background:#b38b59;opacity:.78}

/* Ren direction: warm, minimal, eastern, product-first */
:root{--ink:#171612;--deep:#181713;--paper:#f1eee5;--pearl:#fbfaf4;--teal:#265f5a;--teal-2:#1d4744;--bronze:#a9824f;--moss:#687868;--line:rgba(23,22,18,.12);--muted:#746f63;--soft:rgba(255,255,255,.64);--blue:#265f5a;--green:#2f7465;--panel:#fbfaf4}
body{background:var(--paper);color:var(--ink)}
.site-header{direction:ltr;min-height:70px;background:rgba(251,250,244,.88);border-bottom:1px solid rgba(23,22,18,.10);box-shadow:0 10px 28px rgba(23,22,18,.04)}
.brand{order:0;min-width:210px}.brand img{border-radius:50%;border:1px solid rgba(38,95,90,.18)}.brand span{direction:ltr}.main-nav{direction:ltr;gap:.35rem}.nav-group>button{padding:.65rem .8rem;border-radius:999px;color:#29261f}.nav-group>button:hover{background:rgba(38,95,90,.08)}.nav-group>div{top:calc(100% + .35rem);min-width:285px;padding:.55rem;border-radius:10px;background:rgba(251,250,244,.98);box-shadow:0 18px 48px rgba(23,22,18,.14);transform:translateX(-50%)}.nav-group a{display:grid;gap:.14rem;padding:.75rem .85rem;border-radius:8px}.nav-group a strong{font-size:.9rem}.nav-group a span{color:var(--muted);font-size:.76rem;line-height:1.45}.header-actions{direction:ltr}.start-link,.primary{background:linear-gradient(135deg,#265f5a,#1d4744);box-shadow:0 14px 34px rgba(38,95,90,.24)}.primary:hover,.start-link:hover{background:#1d4744}.secondary{background:rgba(251,250,244,.72)}
.trading-hero{background:radial-gradient(circle at 76% 20%,rgba(169,130,79,.16),transparent 23rem),radial-gradient(circle at 18% 10%,rgba(38,95,90,.18),transparent 26rem),linear-gradient(135deg,#f7f3ea 0%,#ebe8dd 47%,#dce5dd 100%)}.trading-hero:before,.trading-hero:after{content:"";position:absolute;pointer-events:none}.trading-hero:before{inset:0;background:linear-gradient(90deg,rgba(23,22,18,.035) 1px,transparent 1px),linear-gradient(0deg,rgba(23,22,18,.026) 1px,transparent 1px);background-size:96px 96px;mask-image:linear-gradient(90deg,transparent,black 22%,black 78%,transparent);opacity:.55;animation:paperDrift 16s ease-in-out infinite alternate}.trading-hero:after{width:48rem;height:48rem;left:-18rem;bottom:-20rem;border-radius:50%;border:1px solid rgba(38,95,90,.16);box-shadow:0 0 0 4rem rgba(38,95,90,.035),0 0 0 9rem rgba(169,130,79,.035);animation:ensoFloat 18s ease-in-out infinite alternate}.water-field{opacity:.9;filter:blur(20px)}.water-field span{border-color:rgba(38,95,90,.10);background:radial-gradient(circle,rgba(255,255,255,.48),transparent 62%)}.trading-hero .hero-inner{grid-template-columns:minmax(340px,.45fr) minmax(620px,1fr);max-width:1320px}.trading-hero h1{color:#171612;font-size:clamp(2.5rem,4.2vw,4.9rem);font-weight:920;line-height:1.12}.trading-hero .kicker{color:#265f5a}.trading-hero .kicker:before{background:#a9824f;box-shadow:0 0 0 6px rgba(169,130,79,.12)}.hero-copy p{color:#5e5a50}.value-tape span{background:rgba(251,250,244,.68);border-color:rgba(23,22,18,.10);box-shadow:none}.value-tape b{color:#265f5a}.market-console{position:relative;overflow:hidden;border-radius:14px;background:rgba(251,250,244,.68);border:1px solid rgba(23,22,18,.12);box-shadow:0 30px 80px rgba(23,22,18,.13);backdrop-filter:blur(18px)}.market-console:before{content:"";position:absolute;inset:-30%;background:radial-gradient(circle at 30% 50%,rgba(38,95,90,.13),transparent 16rem),radial-gradient(circle at 75% 20%,rgba(169,130,79,.14),transparent 18rem);animation:underCurrent 13s ease-in-out infinite alternate}.console-top{position:relative;z-index:2;background:rgba(251,250,244,.74);border-bottom:1px solid rgba(23,22,18,.10);color:#6e695e}.console-top strong{color:#171612}.console-top span{background:rgba(255,255,255,.42);border-color:rgba(23,22,18,.10)}.chart-zone{position:relative;z-index:1;min-height:430px;background:transparent}.chart-zone:before{display:none}.chart-head{position:relative;z-index:4}.chart-head span{color:#746f63}.chart-head b{color:#29261f}.candles{display:none!important}.trading-hero .roadmap{grid-template-columns:repeat(5,minmax(0,1fr));gap:.8rem;margin-top:3.2rem}.trading-hero .roadmap:after{content:"";position:absolute;z-index:-1;left:4%;right:4%;top:50%;height:2px;background:linear-gradient(90deg,transparent,rgba(38,95,90,.35),rgba(169,130,79,.38),rgba(38,95,90,.35),transparent);animation:pathBreath 5.8s ease-in-out infinite}.trading-hero .station{min-height:178px;background:rgba(251,250,244,.74);border:1px solid rgba(23,22,18,.10);box-shadow:0 14px 38px rgba(23,22,18,.08);transform:translateY(var(--step,0))}.trading-hero .station:nth-child(2){--step:28px}.trading-hero .station:nth-child(3){--step:-4px}.trading-hero .station:nth-child(4){--step:34px}.trading-hero .station:nth-child(5){--step:8px}.trading-hero .station:hover{transform:translateY(calc(var(--step,0) - 5px));border-color:rgba(38,95,90,.26)}.trading-hero .station-icon{background:#265f5a;box-shadow:0 0 0 7px rgba(38,95,90,.09)}.trading-hero .station em{color:#265f5a}.console-panels{position:relative;z-index:3;background:rgba(251,250,244,.78);border-top:1px solid rgba(23,22,18,.10)}.console-panels article{border-inline-start:1px solid rgba(23,22,18,.10)}.console-panels span{color:#746f63}.console-panels strong{color:#171612}.product-row a{background:rgba(251,250,244,.78);border-color:rgba(23,22,18,.10);box-shadow:none}.product-row span{color:#265f5a}.dark-guide{background:#181713}.dark-guide .kicker{color:#c8a46e}
@keyframes paperDrift{to{background-position:18px -22px;opacity:.35}}@keyframes ensoFloat{to{transform:translate3d(2.5rem,-1.5rem,0) scale(1.04)}}@keyframes underCurrent{to{transform:translate3d(2rem,-1rem,0) rotate(2deg)}}@keyframes pathBreath{50%{opacity:.48;transform:scaleX(.94)}}
@media(max-width:960px){.site-header{direction:ltr}.brand{min-width:170px}.trading-hero .roadmap{grid-template-columns:repeat(2,minmax(0,1fr));margin-top:1.3rem}.trading-hero .station:nth-child(n){--step:0}.trading-hero .roadmap:after{display:none}.chart-zone{min-height:auto}.nav-group>div{display:none}}@media(max-width:560px){.brand small{display:none}.brand{min-width:auto}.trading-hero .roadmap{grid-template-columns:1fr}.market-console{border-radius:12px}.chart-head{display:grid}.chart-head b{text-align:start}}
@media(prefers-reduced-motion:reduce){.trading-hero:before,.trading-hero:after,.market-console:before,.trading-hero .roadmap:after{animation:none}}
.trading-hero:before{background:radial-gradient(ellipse at 20% 18%,rgba(38,95,90,.08),transparent 28rem),radial-gradient(ellipse at 72% 32%,rgba(169,130,79,.09),transparent 32rem);background-size:auto;mask-image:none;opacity:.9;animation:paperDrift 18s ease-in-out infinite alternate}
.chart-zone:after{content:"";position:absolute;z-index:0;inset:16% 3% 18%;border-radius:50%;border:1px solid rgba(38,95,90,.13);box-shadow:0 0 0 3rem rgba(38,95,90,.035),0 0 0 7rem rgba(169,130,79,.028);animation:underCurrent 12s ease-in-out infinite alternate}
.trading-hero .roadmap{z-index:3}

/* Paper-map refinement from the visual reference */
.market-console{overflow:visible;border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;backdrop-filter:none!important}
.market-console:before{display:none}
.console-top,.console-panels{display:none!important}
.chart-zone{min-height:390px;padding:1.4rem 0 0;background:transparent!important}
.chart-zone:after{inset:8% -2% 10%;border-color:rgba(38,95,90,.10);box-shadow:0 0 0 4rem rgba(38,95,90,.026),0 0 0 9rem rgba(169,130,79,.022)}
.chart-head{justify-content:flex-end;padding-inline:1rem}.chart-head span{display:none}.chart-head b{max-width:420px;color:#3f3b33;font-size:.94rem;font-weight:700}
.trading-hero .roadmap{gap:1.05rem;margin-top:2.7rem;padding:0 .6rem}.trading-hero .roadmap:after{top:46%;height:1px;background:linear-gradient(90deg,transparent,rgba(38,95,90,.20),rgba(169,130,79,.32),rgba(38,95,90,.20),transparent)}
.trading-hero .station{place-items:center;text-align:center;min-height:180px;padding:1rem .85rem;border-radius:8px;background:rgba(251,248,239,.62);border:1px solid rgba(96,78,45,.14);box-shadow:0 18px 42px rgba(74,61,38,.08);backdrop-filter:blur(8px)}
.trading-hero .station:before{content:"";position:absolute;inset:7px;border-radius:6px;border:1px solid rgba(169,130,79,.08);pointer-events:none}
.trading-hero .station-icon{position:relative;width:4.5rem;height:4.5rem;margin:.15rem auto .55rem;background:transparent;color:#173b37;box-shadow:none}
.trading-hero .station-icon:after{content:"";position:absolute;top:.35rem;right:.25rem;width:.82rem;height:.82rem;border-radius:50%;background:#bd954f;box-shadow:0 0 0 6px rgba(189,149,79,.12)}
.trading-hero .station-icon svg{width:4.15rem;height:4.15rem;stroke-width:2.05}
.trading-hero .station b{font-size:.66rem;color:#b7ac98;font-weight:800}.trading-hero .station strong{font-size:1rem;color:#171612;margin-top:.18rem}.trading-hero .station em{color:#265f5a;font-size:.82rem}.trading-hero .station small{max-width:12ch;color:#716b5f;font-size:.72rem;line-height:1.5}
.trading-hero .station:nth-child(2){--step:18px}.trading-hero .station:nth-child(3){--step:-10px}.trading-hero .station:nth-child(4){--step:20px}.trading-hero .station:nth-child(5){--step:-4px}
.trading-hero .station:hover{background:rgba(251,248,239,.82);border-color:rgba(169,130,79,.28)}
.trading-hero{background-color:#f3ecdc;background-image:radial-gradient(circle at 70% 24%,rgba(169,130,79,.10),transparent 22rem),radial-gradient(circle at 15% 22%,rgba(38,95,90,.10),transparent 25rem),linear-gradient(135deg,#f8f1e3 0%,#eee7d7 52%,#e4e8dc 100%)}
.trading-hero .hero-inner{align-items:center}
@media(max-width:960px){.chart-zone{min-height:auto}.chart-head{justify-content:flex-start;padding-inline:0}.trading-hero .station-icon{width:3.7rem;height:3.7rem}.trading-hero .station-icon svg{width:3.35rem;height:3.35rem}}

/* Ink-kata ambience: unified, quieter, paper-first */
body{background:#f2eadb;background-image:radial-gradient(circle at 18% 12%,rgba(23,22,18,.035),transparent 20rem),radial-gradient(circle at 82% 18%,rgba(169,130,79,.09),transparent 26rem),linear-gradient(135deg,#f8f0e0 0%,#efe6d5 55%,#e7e7da 100%)}
.page,.auth-page,.trading-hero{background-color:#f2eadb;background-image:radial-gradient(circle at 16% 20%,rgba(23,22,18,.06),transparent 21rem),radial-gradient(circle at 82% 26%,rgba(169,130,79,.10),transparent 25rem),linear-gradient(135deg,#f8f0e0 0%,#efe6d5 55%,#e7e7da 100%)}
.trading-hero:before{inset:-12%;opacity:.82;background:radial-gradient(ellipse at 12% 42%,rgba(24,23,19,.18),transparent 18rem),radial-gradient(ellipse at 18% 47%,rgba(38,95,90,.10),transparent 22rem),radial-gradient(ellipse at 90% 37%,rgba(24,23,19,.11),transparent 17rem),radial-gradient(circle at 72% 26%,rgba(169,130,79,.13),transparent 11rem);filter:blur(10px);transform-origin:18% 44%;animation:inkKata 10s ease-in-out infinite alternate}
.trading-hero:after{left:auto;right:-20rem;bottom:-18rem;width:42rem;height:42rem;border-color:rgba(38,95,90,.09);box-shadow:0 0 0 5rem rgba(38,95,90,.024),0 0 0 10rem rgba(169,130,79,.018);animation:ensoFloat 20s ease-in-out infinite alternate}
.water-field{display:none}
.value-tape,.chart-head{display:none!important}
.trading-hero .hero-inner{grid-template-columns:minmax(330px,.42fr) minmax(620px,1fr);gap:clamp(2rem,5vw,5rem)}
.trading-hero h1{max-width:610px}.hero-copy p{max-width:560px}.hero-copy .actions{margin-top:1.45rem}
.chart-zone{padding-top:0;min-height:370px}.chart-zone:after{inset:7% -4% 8%;border-color:rgba(24,23,19,.09);box-shadow:0 0 0 4rem rgba(38,95,90,.018),0 0 0 9rem rgba(169,130,79,.016);animation:inkCurrent 12s ease-in-out infinite alternate}
.trading-hero .roadmap{margin-top:1.8rem}.trading-hero .roadmap:after{background:linear-gradient(90deg,transparent,rgba(24,23,19,.14),rgba(169,130,79,.28),rgba(24,23,19,.14),transparent)}
.trading-hero .station{background:rgba(252,247,236,.64);box-shadow:0 16px 38px rgba(48,39,24,.07)}
.section,.page-hero,.auth-page{position:relative}.section:before,.page-hero:before,.auth-page:before{content:"";position:absolute;pointer-events:none;inset:0;background:radial-gradient(ellipse at 8% 16%,rgba(24,23,19,.06),transparent 18rem),radial-gradient(ellipse at 86% 22%,rgba(38,95,90,.045),transparent 22rem);opacity:.65}
.section>* , .page-hero>* , .auth-page>*{position:relative}
@keyframes inkKata{0%{transform:translate3d(-1rem,.8rem,0) rotate(-2deg) scale(.96);opacity:.62}48%{transform:translate3d(1.2rem,-.3rem,0) rotate(1.2deg) scale(1.02);opacity:.88}100%{transform:translate3d(2rem,-1rem,0) rotate(2.4deg) scale(1.05);opacity:.72}}@keyframes inkCurrent{to{transform:translate3d(1.2rem,-.8rem,0) rotate(-1.5deg)}}
@media(max-width:960px){.trading-hero .hero-inner{grid-template-columns:1fr}.trading-hero .roadmap{margin-top:1.2rem}.chart-zone{min-height:auto}.value-tape{display:none!important}}@media(prefers-reduced-motion:reduce){.trading-hero:before,.chart-zone:after{animation:none}}

/* Skiper-inspired luxury stage */
.trading-hero{min-height:calc(100vh - 70px);padding:clamp(2.2rem,4vw,4.2rem) clamp(1rem,4vw,3rem);background:#f5efe2;background-image:radial-gradient(circle at 50% 12%,rgba(255,255,255,.65),transparent 22rem),linear-gradient(135deg,#faf3e6 0%,#efe5d2 52%,#e6e5d7 100%)}
.trading-hero:before{inset:0;background:radial-gradient(ellipse at 16% 56%,rgba(16,16,14,.34),transparent 18rem),radial-gradient(ellipse at 21% 52%,rgba(16,16,14,.18),transparent 24rem),radial-gradient(circle at 10% 42%,rgba(16,16,14,.18),transparent 4.5rem),radial-gradient(circle at 29% 37%,rgba(169,130,79,.18),transparent 2.4rem),radial-gradient(circle at 33% 66%,rgba(16,16,14,.10),transparent 3.2rem),radial-gradient(ellipse at 86% 42%,rgba(16,16,14,.16),transparent 16rem),radial-gradient(circle at 91% 30%,rgba(169,130,79,.16),transparent 2rem);filter:blur(12px);opacity:.72;animation:katanaInk 9s ease-in-out infinite alternate}
.trading-hero:after{right:auto;left:50%;top:46%;bottom:auto;width:min(72vw,58rem);height:min(40vw,31rem);border-radius:50%;border:1px solid rgba(33,52,47,.10);box-shadow:0 0 0 5rem rgba(33,52,47,.024),0 0 0 10rem rgba(169,130,79,.018);transform:translate(-50%,-50%);animation:stageBreath 12s ease-in-out infinite alternate}
.trading-hero .hero-inner{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:clamp(1.6rem,3.5vw,3rem);max-width:1320px;min-height:calc(100vh - 160px)}
.hero-copy{position:relative;z-index:4;text-align:center;display:grid;justify-items:center;max-width:820px}.trading-hero .kicker{font-size:.72rem}.trading-hero h1{max-width:780px;margin:.8rem 0 .55rem;font-size:clamp(3rem,6vw,6.6rem);line-height:1.03;letter-spacing:0}.hero-copy p{max-width:620px;margin:.25rem 0 0;color:#524d43;font-size:clamp(.96rem,1.1vw,1.08rem)}.hero-copy .actions{justify-content:center;margin-top:1.15rem}
.market-console{width:min(1100px,100%);position:relative;z-index:3}.chart-zone{min-height:auto;padding:0}.chart-zone:after{inset:-2rem 3% -1.6rem;border-color:rgba(33,52,47,.08);box-shadow:0 0 0 3.6rem rgba(33,52,47,.018),0 0 0 8rem rgba(169,130,79,.016);animation:stageBreath 10s ease-in-out infinite alternate}
.trading-hero .roadmap{display:grid;grid-template-columns:repeat(5,minmax(128px,1fr));align-items:center;gap:clamp(.75rem,1.5vw,1.25rem);margin:0;padding:0}.trading-hero .roadmap:after{top:50%;left:7%;right:7%;height:1px;background:linear-gradient(90deg,transparent,rgba(33,52,47,.16),rgba(169,130,79,.34),rgba(33,52,47,.16),transparent)}
.trading-hero .station{min-height:168px;border:1px solid rgba(101,79,44,.13);background:rgba(250,246,236,.58);box-shadow:0 24px 58px rgba(38,31,20,.08);transition:transform .28s ease,border-color .28s ease,background .28s ease,box-shadow .28s ease}.trading-hero .station:nth-child(1){--step:8px}.trading-hero .station:nth-child(2){--step:34px}.trading-hero .station:nth-child(3){--step:-8px}.trading-hero .station:nth-child(4){--step:28px}.trading-hero .station:nth-child(5){--step:2px}.trading-hero .station:hover{background:rgba(252,248,238,.82);box-shadow:0 30px 70px rgba(38,31,20,.12);border-color:rgba(169,130,79,.30)}
.trading-hero .station-icon{width:4.25rem;height:4.25rem}.trading-hero .station-icon svg{width:3.95rem;height:3.95rem}.trading-hero .station strong{font-size:.98rem}.trading-hero .station small{display:none}.trading-hero .station em{font-size:.8rem}.product-flow,.dark-guide{background:transparent}
.page,.auth-page{background:#f5efe2;background-image:radial-gradient(ellipse at 12% 24%,rgba(16,16,14,.10),transparent 20rem),radial-gradient(ellipse at 86% 22%,rgba(169,130,79,.12),transparent 24rem),linear-gradient(135deg,#faf3e6 0%,#efe5d2 52%,#e6e5d7 100%)}
@keyframes katanaInk{0%{transform:translate3d(-1.2rem,.6rem,0) rotate(-2deg) scale(.96);opacity:.56}45%{transform:translate3d(.8rem,-.3rem,0) rotate(.8deg) scale(1.02);opacity:.78}100%{transform:translate3d(1.8rem,-.9rem,0) rotate(2.3deg) scale(1.05);opacity:.66}}@keyframes stageBreath{to{transform:translate(-50%,-50%) scale(1.035);opacity:.72}}
@media(max-width:960px){.trading-hero .hero-inner{min-height:auto}.trading-hero .roadmap{grid-template-columns:repeat(2,minmax(0,1fr))}.trading-hero .station:nth-child(n){--step:0}.trading-hero .roadmap:after{display:none}.trading-hero h1{font-size:clamp(2.5rem,10vw,4.6rem)}}@media(max-width:560px){.trading-hero .roadmap{grid-template-columns:1fr}.trading-hero .station{min-height:140px}.hero-copy p{display:none}.trading-hero:before{opacity:.52}}@media(prefers-reduced-motion:reduce){.trading-hero:before,.trading-hero:after,.chart-zone:after{animation:none}}

/* Skiper42-inspired user panel */
.account-page{min-height:calc(100vh - 70px);padding:clamp(1rem,3vw,2.2rem)}
.account-shell{position:relative;display:grid;grid-template-columns:128px minmax(0,1fr);gap:clamp(1rem,2.4vw,2rem);max-width:1280px;margin:0 auto;padding:clamp(1rem,2vw,1.5rem);border:1px solid rgba(101,79,44,.12);border-radius:18px;background:rgba(250,246,236,.54);box-shadow:0 30px 90px rgba(38,31,20,.10);backdrop-filter:blur(18px)}
.account-shell:before{content:"";position:absolute;inset:-2rem;z-index:0;border-radius:26px;background:radial-gradient(ellipse at 8% 22%,rgba(16,16,14,.12),transparent 18rem),radial-gradient(ellipse at 88% 18%,rgba(169,130,79,.12),transparent 22rem);filter:blur(18px);pointer-events:none}
.account-shell>*{position:relative;z-index:1}.account-rail{display:grid;align-content:start;gap:.75rem;padding:.5rem}.rail-action{display:grid;justify-items:center;gap:.28rem;min-height:104px;padding:.75rem .45rem;border:1px solid rgba(101,79,44,.12);border-radius:14px;background:rgba(252,248,238,.62);text-decoration:none;box-shadow:0 12px 30px rgba(38,31,20,.06);transition:transform .22s ease,border-color .22s ease,background .22s ease}.rail-action span{display:grid;place-items:center;width:2.9rem;height:2.9rem;color:#173b37;transition:transform .26s ease}.rail-action svg{width:2.35rem;height:2.35rem;fill:none;stroke:currentColor;stroke-width:2.3;stroke-linecap:round;stroke-linejoin:round}.rail-action b{font-size:.75rem}.rail-action small{color:#746f63;font-size:.66rem;text-align:center;line-height:1.35}.rail-action:hover{transform:translateY(-4px);border-color:rgba(169,130,79,.32);background:rgba(252,248,238,.86)}.rail-action:hover span{transform:rotate(-4deg) scale(1.08)}.rail-action:active span{transform:scale(.92)}
.account-main{display:grid;gap:1rem}.account-hero{min-height:230px;padding:clamp(1.2rem,3vw,2.4rem);border-radius:14px;background:linear-gradient(135deg,rgba(252,248,238,.72),rgba(238,230,212,.54));border:1px solid rgba(101,79,44,.10)}.account-hero h1{margin:.65rem 0 .35rem;font-size:clamp(2.4rem,5vw,5.4rem);line-height:1.05}.account-hero p{max-width:620px;color:#5d574d}
.profile-panel{display:grid;grid-template-columns:1.2fr 1fr 1fr;gap:1rem}.profile-panel article,.task-card{border:1px solid rgba(101,79,44,.12);border-radius:14px;background:rgba(252,248,238,.66);box-shadow:0 14px 34px rgba(38,31,20,.06)}.profile-panel article{padding:1rem}.profile-panel span{display:block;color:#746f63;font-size:.78rem;font-weight:800}.profile-panel strong{display:block;margin:.2rem 0;color:#171612;font-size:1.1rem}.profile-panel small{color:#746f63}.profile-card{display:flex;align-items:center;gap:1rem}.profile-card img{width:74px;height:74px;object-fit:cover;border-radius:14px;filter:grayscale(.15) contrast(1.05)}
.task-strip{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:1rem}.task-card{display:grid;gap:.25rem;min-height:132px;padding:1rem;text-decoration:none;transition:transform .22s ease,border-color .22s ease}.task-card span{display:grid;place-items:center;width:3.4rem;height:3.4rem;color:#173b37;transition:transform .26s ease}.task-card svg{width:3rem;height:3rem;fill:none;stroke:currentColor;stroke-width:2.1;stroke-linecap:round;stroke-linejoin:round}.task-card strong{margin-top:.2rem}.task-card small{color:#746f63}.task-card:hover{transform:translateY(-4px);border-color:rgba(169,130,79,.32)}.task-card:hover span{transform:translateX(-3px) rotate(3deg)}
@media(max-width:960px){.account-shell{grid-template-columns:1fr}.account-rail{grid-template-columns:repeat(5,minmax(0,1fr));overflow:auto}.profile-panel,.task-strip{grid-template-columns:1fr 1fr}}@media(max-width:560px){.account-page{padding:.75rem}.account-shell{padding:.75rem}.account-rail{grid-template-columns:repeat(5,92px)}.profile-panel,.task-strip{grid-template-columns:1fr}.account-hero h1{font-size:clamp(2.2rem,12vw,3.8rem)}}

/* Complete commerce pages */
.station-method,.tool-grid,.pricing-grid,.trust-list{display:grid;gap:1rem}.station-method{grid-template-columns:repeat(3,minmax(0,1fr));max-width:1180px}.station-method article,.tool-card,.pricing-grid article,.trust-list article{position:relative;padding:1.2rem;border:1px solid rgba(101,79,44,.12);border-radius:14px;background:rgba(252,248,238,.62);box-shadow:0 16px 42px rgba(38,31,20,.06);backdrop-filter:blur(10px)}.station-method span,.pricing-grid span{color:#a9824f;font-weight:900}.station-method h2,.pricing-grid h2{font-size:1.35rem;margin:.35rem 0}.tool-grid{grid-template-columns:repeat(5,minmax(0,1fr));max-width:1320px}.tool-card{display:grid;align-content:start;gap:.55rem;min-height:280px}.tool-icon{display:grid;place-items:center;width:4.4rem;height:4.4rem;color:#173b37}.tool-icon svg{width:4rem;height:4rem;fill:none;stroke:currentColor;stroke-width:2.1;stroke-linecap:round;stroke-linejoin:round}.tool-card strong{font-size:1.05rem}.tool-card p{margin:0;color:#625c51;line-height:1.7}.tool-card div{display:flex;align-items:center;justify-content:space-between;gap:.75rem;margin-top:auto}.tool-card b{font-size:1.15rem;color:#171612}.pricing-grid{grid-template-columns:repeat(3,minmax(0,1fr));max-width:1120px}.pricing-grid article{min-height:320px;display:grid;align-content:start}.pricing-grid strong{font-size:2rem;margin:1rem 0;color:#173b37}.pricing-grid .primary{justify-self:start;margin-top:auto}.trust-list{grid-template-columns:repeat(3,minmax(0,1fr));max-width:1120px}.trust-list strong{font-size:1.1rem}.trust-list p{margin:.35rem 0 0}.station-page .seo-copy p+p{margin-top:.65rem;color:#746f63}
@media(max-width:1100px){.tool-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.station-method,.pricing-grid,.trust-list{grid-template-columns:1fr 1fr}}@media(max-width:640px){.tool-grid,.station-method,.pricing-grid,.trust-list{grid-template-columns:1fr}.tool-card{min-height:auto}.pricing-grid article{min-height:auto}}

/* Completion pass: product popovers, PRISM timer/radar, admin */
.station-pop{position:absolute;z-index:20;left:50%;bottom:calc(100% + .7rem);width:min(280px,80vw);padding:.85rem;border:1px solid rgba(101,79,44,.14);border-radius:12px;background:rgba(252,248,238,.96);box-shadow:0 22px 54px rgba(38,31,20,.16);color:#4d473e;font-size:.78rem;line-height:1.7;opacity:0;pointer-events:none;transform:translate(-50%,.4rem);transition:opacity .2s ease,transform .2s ease;text-align:start}.station-pop:after{content:"";position:absolute;left:50%;bottom:-7px;width:12px;height:12px;background:inherit;border-right:1px solid rgba(101,79,44,.14);border-bottom:1px solid rgba(101,79,44,.14);transform:translateX(-50%) rotate(45deg)}.station:hover .station-pop,.station:focus-visible .station-pop{opacity:1;transform:translate(-50%,0)}
.assessment-hero .assessment-meta{display:flex;gap:.7rem;flex-wrap:wrap;margin-top:1rem}.assessment-meta span{padding:.5rem .75rem;border:1px solid rgba(101,79,44,.13);border-radius:999px;background:rgba(252,248,238,.65);color:#5e584e}.assessment-meta b{color:#173b37}.assessment fieldset{background:rgba(252,248,238,.68);border-color:rgba(101,79,44,.14)}.assessment legend{font-weight:900;line-height:1.7}.assessment legend span{display:inline-grid;place-items:center;width:2rem;height:2rem;margin-inline-end:.5rem;border-radius:50%;background:#173b37;color:#faf3e6;font-size:.78rem}.assessment label{padding:.75rem;border:1px solid rgba(101,79,44,.10);border-radius:10px;background:rgba(255,255,255,.28);cursor:pointer}.assessment input{min-height:auto}
.radar-section{display:grid;grid-template-columns:minmax(240px,.7fr) minmax(300px,1fr);align-items:center;gap:2rem}.radar-chart{width:min(520px,100%);justify-self:center;overflow:visible}.radar-grid polygon,.radar-grid line{fill:none;stroke:rgba(23,22,18,.18);stroke-width:1}.radar-fill{fill:rgba(38,95,90,.20);stroke:#173b37;stroke-width:3}.radar-dots circle{fill:#bd954f}.radar-chart text{font:700 12px RenFa,Inter,sans-serif;fill:#4d473e;text-anchor:middle}
.admin-page{padding:clamp(1rem,3vw,2.2rem)}.admin-shell{max-width:1280px;margin:0 auto;padding:clamp(1rem,2.5vw,2rem);border:1px solid rgba(101,79,44,.12);border-radius:18px;background:rgba(250,246,236,.58);box-shadow:0 30px 90px rgba(38,31,20,.10)}.admin-head h1{font-size:clamp(2.6rem,5vw,5.4rem);margin:.6rem 0}.admin-head p{max-width:720px}.admin-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:1rem;margin:1.5rem 0}.admin-stats article,.admin-grid article{padding:1rem;border:1px solid rgba(101,79,44,.12);border-radius:14px;background:rgba(252,248,238,.65)}.admin-stats span{color:#746f63}.admin-stats strong{display:block;font-size:1.8rem;color:#173b37}.admin-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:1rem}.admin-grid h2{font-size:1.15rem}.admin-grid button{justify-self:start;padding:.65rem .95rem;border:1px solid rgba(101,79,44,.16);border-radius:999px;background:#173b37;color:#faf3e6;font:inherit;font-weight:900;cursor:pointer}
.tool-card b,.pricing-grid strong{font-size:1rem;color:#746f63}.pricing-grid strong{line-height:1.5}
@media(max-width:900px){.radar-section,.admin-grid,.admin-stats{grid-template-columns:1fr 1fr}}@media(max-width:640px){.station-pop{display:none}.radar-section,.admin-grid,.admin-stats{grid-template-columns:1fr}}

/* Protected product catalog */
.tool-hero{
  padding-bottom:clamp(2rem,4vw,3rem);
}

/* TT-PROD-0001: first Manager-licensed indicator product page. */
.indicator-detail-page .product-hero-visual img{
  aspect-ratio:16/9;
  object-fit:cover;
}
.indicator-detail-page .product-article-main{
  min-width:0;
  width:100%;
  max-width:100%;
  grid-template-columns:minmax(0,1fr);
}
.indicator-detail-page .product-article-main>*{min-width:0;max-width:100%}
.indicator-detail-page .indicator-editions .plan-compare-table{width:100%;max-width:100%}
.indicator-detail-page .license-note,
.indicator-detail-page .indicator-price-card{
  overflow-wrap:anywhere;
}
.indicator-price-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:16px;
  margin-top:22px;
}
.indicator-price-card{
  display:flex;
  min-width:0;
  flex-direction:column;
  gap:12px;
  padding:24px;
  border:1px solid var(--line);
  border-radius:22px;
  background:color-mix(in srgb,var(--panel) 92%,transparent);
}
.indicator-price-card--featured{
  border-color:color-mix(in srgb,var(--accent) 68%,var(--line));
  box-shadow:0 20px 52px color-mix(in srgb,var(--accent) 12%,transparent);
}
.indicator-price-card>span{
  color:var(--muted);
  font-weight:700;
}
.indicator-price-card>strong{
  color:var(--ink);
  font-size:clamp(1.65rem,4vw,2.35rem);
  font-variant-numeric:tabular-nums;
}
.indicator-price-card>p{
  flex:1;
  margin:0;
}
.indicator-price-card>a{
  min-height:44px;
  justify-content:center;
}
.indicator-price-note{
  margin-top:18px!important;
  color:var(--muted)!important;
  font-size:.92rem;
}
.indicator-product-hero{
  position:relative;
  overflow:hidden;
}
.indicator-product-hero>a{
  display:block;
  background:#f7f7f5;
}
.indicator-product-hero>a:focus-visible,
.indicator-shot-card>a:focus-visible,
.indicator-free-showcase>a:focus-visible{
  outline:3px solid var(--accent);
  outline-offset:-3px;
}
.indicator-edition-badge{
  display:inline-flex;
  min-height:28px;
  align-items:center;
  justify-content:center;
  padding:4px 10px;
  border:1px solid transparent;
  border-radius:999px;
  font-size:.76rem;
  font-weight:900;
  letter-spacing:.04em;
  line-height:1;
}
.indicator-product-hero>.indicator-edition-badge{
  position:absolute;
  z-index:2;
  top:14px;
  inset-inline-start:14px;
  box-shadow:0 8px 24px rgba(0,0,0,.28);
}
.indicator-edition-badge--pro{
  border-color:rgba(226,198,122,.46);
  color:#fff5d7;
  background:#5a477e;
}
.indicator-edition-badge--free{
  border-color:rgba(91,180,163,.42);
  color:#dcfff7;
  background:#235f56;
}
.indicator-product-gallery{
  scroll-margin-top:110px;
}
.indicator-gallery-heading{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:18px;
  margin-bottom:18px;
}
.indicator-gallery-heading h2{
  margin:.3rem 0 0;
}
.indicator-gallery-heading p{
  max-width:340px;
  margin:0;
  color:var(--muted);
  font-size:.92rem;
}
.indicator-section-kicker{
  color:var(--accent);
  font-size:.8rem;
  font-weight:900;
}
.indicator-shot-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:16px;
}
.indicator-shot-grid--three{
  grid-template-columns:repeat(3,minmax(0,1fr));
}
.indicator-price-grid--two{
  grid-template-columns:repeat(2,minmax(0,1fr));
}
.indicator-shot-card{
  min-width:0;
  overflow:hidden;
  margin:0;
  border:1px solid var(--line);
  border-radius:20px;
  background:color-mix(in srgb,var(--panel) 94%,transparent);
}
.indicator-shot-card>a{
  display:grid;
  min-height:270px;
  place-items:center;
  padding:12px;
  background:#23272d;
}
.indicator-shot-card img{
  display:block;
  width:100%;
  max-height:410px;
  object-fit:contain;
}
.indicator-shot-card figcaption{
  display:grid;
  grid-template-columns:auto 1fr;
  gap:7px 10px;
  align-items:center;
  padding:14px;
}
.indicator-shot-card figcaption strong{
  color:var(--ink);
  font-size:1rem;
}
.indicator-shot-card figcaption small{
  grid-column:1/-1;
  color:var(--muted);
  font-size:.85rem;
  line-height:1.65;
}
.indicator-free-showcase{
  display:grid;
  gap:16px;
  margin-top:22px;
  overflow:hidden;
  border:1px solid var(--line);
  border-radius:22px;
  background:color-mix(in srgb,var(--panel) 94%,transparent);
}
.indicator-free-copy{
  padding:20px 20px 0;
}
.indicator-free-copy h2{
  margin:.65rem 0 .35rem;
}
.indicator-free-copy p{
  max-width:780px;
  margin:0;
  color:var(--muted);
}
.indicator-free-showcase>a{
  display:block;
  background:#f7f7f5;
}
.indicator-free-showcase img{
  display:block;
  width:100%;
  height:auto;
}
.indicator-edition-showcase{
  display:grid;
  grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);
  gap:22px;
  align-items:center;
  overflow:hidden;
  border:1px solid var(--line);
  border-radius:22px;
  background:color-mix(in srgb,var(--panel) 96%,white 4%);
}
.indicator-edition-showcase>div{
  padding:24px;
}
.indicator-edition-showcase h2{
  margin:.55rem 0 .65rem;
}
.indicator-edition-showcase p{
  margin:0 0 1rem;
  color:var(--muted);
}
.indicator-edition-showcase figure{
  position:relative;
  margin:0;
  overflow:hidden;
  background:#f7f7f5;
}
.indicator-edition-showcase figure>.indicator-edition-badge{
  position:absolute;
  z-index:2;
  top:12px;
  inset-inline-start:12px;
  color:#dcfff7;
  background:#235f56;
}
.indicator-edition-showcase figure>a,
.indicator-edition-showcase figure img{
  display:block;
  width:100%;
}
.indicator-edition-showcase figcaption{
  padding:12px 16px;
  color:#433b2d;
  background:#f1eee7;
}
.indicator-compare-table{
  overflow:hidden;
  border:1px solid var(--line);
  border-radius:18px;
  background:color-mix(in srgb,var(--panel) 96%,white 4%);
}
.indicator-compare-table>[role="row"]{
  display:grid;
  grid-template-columns:minmax(150px,.9fr) minmax(120px,.8fr) minmax(170px,1.3fr);
}
.indicator-compare-table>[role="row"]+div{
  border-top:1px solid var(--line);
}
.indicator-compare-table>[role="row"]>*{
  min-width:0;
  padding:13px 15px;
  overflow-wrap:anywhere;
  line-height:1.65;
}
.indicator-compare-table>[role="row"]>*+*{
  border-inline-start:1px solid var(--line);
}
.indicator-compare-table>[role="row"]:first-child{
  color:#fff5dd;
  background:#5a477e;
}
.indicator-compare-table>[role="row"]:nth-child(even){
  background:color-mix(in srgb,var(--panel) 90%,var(--accent) 10%);
}
html[data-theme="dark"] .indicator-shot-card,
html[data-theme="dark"] .indicator-free-showcase,
html[data-theme="dark"] .indicator-edition-showcase,
html[data-theme="dark"] .indicator-compare-table{
  border-color:rgba(207,190,156,.22);
  background:linear-gradient(145deg,rgba(55,52,43,.96),rgba(39,38,32,.94));
  box-shadow:0 22px 62px rgba(0,0,0,.2);
}
html[data-theme="dark"] .indicator-shot-card figcaption strong,
html[data-theme="dark"] .indicator-free-copy h2{
  color:#fff5dd;
}
html[data-theme="dark"] .indicator-shot-card figcaption small,
html[data-theme="dark"] .indicator-free-copy p{
  color:#d4c8af;
}
@media (max-width:900px){
  .indicator-price-grid,
  .indicator-shot-grid--three{grid-template-columns:1fr}
}
@media (max-width:1180px){
  .indicator-detail-page .product-article-shell{grid-template-columns:1fr}
  .indicator-detail-page .product-article-side{
    position:static;
    order:-1;
    grid-template-columns:minmax(0,2fr) minmax(240px,1fr);
  }
  .indicator-detail-page .product-article-side .toc-box:first-child{
    grid-template-columns:repeat(3,minmax(0,1fr));
  }
  .indicator-detail-page .product-article-side .toc-box:first-child h2{
    grid-column:1/-1;
  }
}
@media (max-width:720px){
  .indicator-detail-page .product-article-side{grid-template-columns:1fr}
  .indicator-detail-page .product-article-side .toc-box:first-child{grid-template-columns:repeat(2,minmax(0,1fr))}
  .indicator-gallery-heading{
    align-items:flex-start;
    flex-direction:column;
  }
  .indicator-shot-grid{grid-template-columns:1fr}
  .indicator-edition-showcase{grid-template-columns:1fr}
  .indicator-edition-showcase>div{padding:20px}
  .indicator-compare-table{overflow-x:auto}
  .indicator-compare-table>[role="row"]{
    min-width:620px;
    grid-template-columns:180px 160px 280px;
  }
  .indicator-shot-card>a{min-height:0}
  .indicator-product-hero>.indicator-edition-badge{
    top:10px;
    inset-inline-start:10px;
  }
}

.disabled-link{pointer-events:none;opacity:.68;filter:saturate(.7)}
.war-countdown{display:flex;flex-wrap:wrap;align-items:center;gap:.75rem;margin:1.5rem auto;justify-content:center}
.war-countdown strong,.war-countdown span{border:1px solid var(--line);border-radius:999px;background:rgba(255,250,241,.78);padding:.75rem 1rem;box-shadow:0 16px 44px rgba(27,22,15,.08)}
.war-countdown b{font-size:1.2rem;color:var(--teal)}
.war-release-section{
  position:relative;
  overflow:hidden;
  border-radius:22px;
}
.war-release-section:before{
  content:"";
  position:absolute;
  inset:1rem;
  border:1px solid rgba(189,149,79,.14);
  border-radius:18px;
  pointer-events:none;
}
.war-readiness-path{
  position:relative;
  margin:clamp(1.5rem,4vw,2.5rem) auto 1rem;
  max-width:1120px;
}
.war-readiness-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:1rem;
}
.war-readiness-grid a{
  display:grid;
  gap:.55rem;
  min-height:190px;
  padding:1.15rem;
  border:1px solid var(--line);
  border-radius:18px;
  background:rgba(255,250,241,.72);
  color:inherit;
  text-decoration:none;
  box-shadow:0 18px 54px rgba(27,22,15,.08);
  transition:transform .22s ease,border-color .22s ease;
}
.war-readiness-grid a:hover{
  transform:translateY(-4px);
  border-color:rgba(189,149,79,.38);
}
.war-readiness-grid span{
  color:var(--gold);
  font-weight:950;
}
.war-readiness-grid strong{
  font-size:1.2rem;
  color:var(--ink);
}
.war-readiness-grid p{
  margin:0;
  color:var(--muted);
  line-height:1.85;
}
.war-release-section button.disabled-link{
  border:1px dashed rgba(101,79,44,.34);
  cursor:not-allowed;
}
.checkout-mini-meta{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.75rem;margin-top:1rem}
.checkout-mini-meta div{border:1px solid var(--line);border-radius:12px;padding:.75rem;background:rgba(255,250,241,.56)}
.checkout-mini-meta dt{font-weight:850;color:var(--muted)}
.checkout-mini-meta dd{margin:0;font-weight:950}
.contact-grid{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(280px,.7fr);gap:clamp(1rem,3vw,2rem);align-items:start}
.contact-help-card{border:1px solid var(--line);border-radius:18px;padding:clamp(1rem,2.5vw,2rem);background:rgba(255,250,241,.68);box-shadow:0 20px 60px rgba(27,22,15,.08)}
.contact-help-card ul{display:grid;gap:.75rem;margin:1rem 0;padding-inline-start:1.2rem}
.protected-reading body{user-select:none}
.protected-reading input,.protected-reading textarea,.protected-reading select{user-select:text}
.zeton-card{position:relative;overflow:hidden}
.zeton-coin{display:grid;place-items:center;width:3.25rem;height:3.25rem;border-radius:50%;margin-bottom:.75rem;background:radial-gradient(circle at 35% 25%,#fff5c8,#c79a42 52%,#5b4524);color:#1d1710!important;font-weight:950;box-shadow:inset 0 0 0 2px rgba(255,255,255,.38),0 12px 30px rgba(77,56,25,.18)}
.zeton-card:after{content:"";position:absolute;inset:auto -20% -35% 10%;height:5rem;background:radial-gradient(circle,rgba(199,154,66,.20),transparent 64%);pointer-events:none}
@media(max-width:860px){.contact-grid{grid-template-columns:1fr}.checkout-mini-meta{grid-template-columns:1fr}}
@media(max-width:860px){.war-readiness-grid{grid-template-columns:1fr}}
.protected-tools-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:1rem;
  max-width:1240px;
  padding-top:1rem;
}
.tool-choice-guide{max-width:1240px}
.tool-guide-grid{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:1rem;
}
.tool-guide-grid article{
  min-height:160px;
  padding:1rem;
  border:1px solid var(--line);
  border-radius:16px;
  background:rgba(255,250,241,.68);
  box-shadow:0 18px 46px rgba(27,22,15,.07);
}
.tool-guide-grid strong{
  display:block;
  margin-bottom:.45rem;
  color:var(--teal);
  font-size:1rem;
}
.tool-guide-grid p{margin:0;line-height:1.85}
.info-detail-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:1rem;
  max-width:1180px;
}
.info-detail-grid article{
  min-height:220px;
  padding:1.15rem;
  border:1px solid var(--line);
  border-radius:16px;
  background:rgba(255,250,241,.68);
  box-shadow:0 18px 46px rgba(27,22,15,.07);
}
.info-detail-grid span{
  display:inline-flex;
  margin-bottom:.55rem;
  color:var(--gold);
  font-size:.78rem;
  font-weight:900;
}
.info-detail-grid h2{margin:.2rem 0 .55rem;font-size:1.25rem}
.info-detail-grid p{margin:0;line-height:1.9}
.info-faq{max-width:980px}
.protected-tool-card{
  overflow:hidden;
  display:grid;
  grid-template-columns:minmax(220px,.78fr) minmax(260px,1fr);
  direction:ltr;
  min-height:300px;
  border:1px solid rgba(101,79,44,.14);
  border-radius:18px;
  background:rgba(252,248,238,.70);
  box-shadow:0 22px 70px rgba(38,31,20,.09);
  backdrop-filter:blur(14px);
}
.protected-tool-card img{
  width:100%;
  height:100%;
  min-height:300px;
  object-fit:cover;
  background:#eee2ce;
}
.protected-tool-card[data-tool-product="tt-prod-0001"]>img{object-position:40% center}
.protected-tool-copy{
  display:grid;
  align-content:start;
  gap:.65rem;
  padding:1.1rem;
  direction:ltr;
  text-align:left;
}
html[dir="rtl"] .protected-tool-copy{
  direction:rtl;
  text-align:right;
}
.protected-tool-copy>span{
  color:#a9824f;
  font-size:.74rem;
  font-weight:950;
  letter-spacing:.03em;
}
.protected-tool-copy h2{
  margin:0;
  font-size:clamp(1.25rem,2vw,1.8rem);
}
.protected-tool-copy p{
  margin:0;
  color:#625c51;
  line-height:1.7;
}
.protected-tool-copy ul{
  display:grid;
  gap:.38rem;
  margin:.1rem 0 0;
  padding:0;
  list-style:none;
  color:#514b43;
  font-size:.9rem;
}
.protected-tool-copy li{
  position:relative;
  padding-inline-start:1rem;
}
.protected-tool-copy li:before{
  content:"";
  position:absolute;
  inset-inline-start:0;
  top:.72em;
  width:.34rem;
  height:.34rem;
  border-radius:999px;
  background:#a9824f;
}
.protected-tool-actions{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:.55rem;
  margin-top:auto;
}
.access-state{
  display:inline-flex;
  align-items:center;
  min-height:38px;
  padding:.55rem .75rem;
  border:1px solid rgba(101,79,44,.14);
  border-radius:999px;
  background:rgba(255,255,255,.52);
  color:#746f63;
  font-size:.82rem;
  font-weight:850;
}
.protected-empty{
  grid-column:1/-1;
  padding:clamp(1.2rem,4vw,2rem);
  border:1px solid rgba(101,79,44,.14);
  border-radius:18px;
  background:rgba(252,248,238,.70);
}
@media(max-width:1050px){
  .protected-tools-grid{grid-template-columns:1fr}
}
@media(max-width:640px){
  .protected-tool-card{grid-template-columns:1fr}
  .protected-tool-card img{min-height:220px}
}

/* Trading reference formation: quick links and ecosystem rotation */
.utility-nav{
  position:relative;
  z-index:8;
  display:flex;
  gap:.25rem;
  overflow:auto;
  padding:.62rem clamp(1rem,4vw,3rem);
  border-bottom:1px solid rgba(101,79,44,.10);
  background:rgba(238,232,218,.72);
  scrollbar-width:none;
}
.utility-nav::-webkit-scrollbar{display:none}
.utility-nav a{
  flex:0 0 auto;
  padding:.45rem .75rem;
  border-radius:999px;
  color:#2f2a22;
  text-decoration:none;
  font-size:.9rem;
  font-weight:760;
  white-space:nowrap;
}
.utility-nav a:hover{background:rgba(255,255,255,.6)}
.ecosystem-ribbon{
  position:relative;
  z-index:7;
  overflow:hidden;
  border-bottom:1px solid rgba(101,79,44,.08);
  background:linear-gradient(90deg,rgba(251,247,236,.92),rgba(229,219,198,.74));
}
.ribbon-track{
  display:grid;
  grid-auto-flow:column;
  grid-auto-columns:minmax(260px,1fr);
  gap:.8rem;
  overflow:auto;
  padding:1rem clamp(1rem,4vw,3rem);
  scrollbar-width:none;
}
.ribbon-track::-webkit-scrollbar{display:none}
.ribbon-card{
  display:grid;
  grid-template-columns:48px 1fr;
  grid-template-areas:"icon title" "icon desc";
  align-items:center;
  gap:.12rem .75rem;
  min-height:82px;
  padding:.85rem;
  border:1px solid rgba(101,79,44,.12);
  border-radius:14px;
  background:rgba(255,255,255,.50);
  color:#1f1b15;
  text-decoration:none;
  box-shadow:0 12px 34px rgba(38,31,20,.06);
  transition:transform .18s ease,background .18s ease,border-color .18s ease;
}
.ribbon-card span{grid-area:icon;display:grid;place-items:center;width:48px;height:48px;color:#173b37}
.ribbon-card svg{width:42px;height:42px;fill:none;stroke:currentColor;stroke-width:2.1;stroke-linecap:round;stroke-linejoin:round}
.ribbon-card strong{grid-area:title;font-size:1rem}
.ribbon-card small{grid-area:desc;color:#6d6558;line-height:1.45}
.ribbon-card:hover{border-color:rgba(38,95,90,.24);background:rgba(255,255,255,.72);transform:translateY(-1px)}
.site-header .main-nav{display:none}
.site-header{min-height:70px}
.site-header .header-actions{margin-inline-start:auto}
.reference-footer{
  display:grid;
  grid-template-columns:minmax(260px,1fr) minmax(260px,.8fr) minmax(260px,.9fr);
  align-items:start;
  gap:2rem;
  padding:clamp(2rem,5vw,4rem) clamp(1rem,5vw,5rem);
}
.footer-brand-block strong{font-size:1.25rem}
.footer-brand-block p{max-width:440px;line-height:1.8}
.footer-link-grid{
  display:grid!important;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:.65rem 1rem!important;
}
.footer-link-grid a{
  padding:.45rem 0;
  border-bottom:1px solid rgba(220,229,223,.12);
}
.footer-social{
  padding:1rem;
  border:1px solid rgba(220,229,223,.12);
  border-radius:16px;
  background:rgba(255,255,255,.04);
}
.footer-social h2{
  margin:.1rem 0 1rem;
  font-size:1.15rem;
}
.footer-social div{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:.55rem;
}
.footer-social a{
  display:grid;
  place-items:center;
  min-height:42px;
  border:1px solid rgba(220,229,223,.14);
  border-radius:8px;
  background:rgba(255,255,255,.05);
  font-weight:850;
}
@media(max-width:900px){
  .reference-footer{grid-template-columns:1fr}
}

/* Product article detail pages inspired by trader reference hubs */
.product-article-page{
  padding:clamp(1rem,4vw,3rem);
}
.product-article-shell{
  display:grid;
  grid-template-columns:minmax(0,1fr) 320px;
  gap:clamp(1rem,3vw,2rem);
  max-width:1240px;
  margin:0 auto;
  align-items:start;
}
.product-article-main{
  display:grid;
  gap:1.2rem;
}
.breadcrumbs,.article-meta{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:.5rem .7rem;
  color:#6d6558;
  font-size:.9rem;
}
.breadcrumbs a{color:#173b37;text-decoration:none;font-weight:850}
.breadcrumbs strong{color:#2f2a22}
.article-meta span{
  padding:.38rem .58rem;
  border:1px solid rgba(101,79,44,.12);
  border-radius:999px;
  background:rgba(255,255,255,.42);
}
.product-article-main h1{
  margin:.2rem 0;
  font-size:clamp(2.2rem,4vw,4.2rem);
  line-height:1.12;
}
.article-lead{
  max-width:760px;
  color:#514b43;
  font-size:1.1rem;
  line-height:1.9;
}
.platform-tabs{
  display:flex;
  flex-wrap:wrap;
  gap:.45rem;
}
.platform-tabs span,.platform-tabs strong{
  min-height:46px;
  display:inline-flex;
  align-items:center;
  padding:.7rem 1rem;
  border:1px solid rgba(101,79,44,.12);
  border-radius:10px;
  background:rgba(255,255,255,.42);
}
.platform-tabs strong{
  color:#173b37;
  background:#fff;
  box-shadow:0 10px 24px rgba(38,31,20,.08);
}
.license-note{
  display:grid;
  grid-template-columns:160px 1fr;
  gap:.75rem;
  padding:1rem;
  border:1px solid rgba(101,79,44,.14);
  border-radius:14px;
  background:rgba(252,248,238,.68);
}
.license-note b{color:#173b37}
.product-hero-visual{
  margin:0;
  overflow:hidden;
  border:1px solid rgba(101,79,44,.14);
  border-radius:18px;
  background:rgba(252,248,238,.68);
  box-shadow:0 24px 70px rgba(38,31,20,.10);
}
.product-hero-visual img{
  display:block;
  width:100%;
  aspect-ratio:16/8;
  object-fit:cover;
}
.product-hero-visual figcaption{
  padding:.8rem 1rem;
  color:#746f63;
  font-size:.9rem;
}
.product-article-main section{
  padding:1.2rem;
  border:1px solid rgba(101,79,44,.12);
  border-radius:16px;
  background:rgba(252,248,238,.54);
}
.product-article-main section h2{margin-top:0}
.article-feature-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:.75rem;
}
.article-feature-grid article{
  padding:.9rem;
  border:1px solid rgba(101,79,44,.11);
  border-radius:12px;
  background:rgba(255,255,255,.38);
}
.spec-table{
  width:100%;
  border-collapse:collapse;
  overflow:hidden;
  border-radius:12px;
}
.spec-table th,.spec-table td{
  padding:.85rem;
  border-bottom:1px solid rgba(101,79,44,.12);
  text-align:start;
}
.spec-table th{width:180px;color:#173b37}
.product-article-side{
  position:sticky;
  top:92px;
  display:grid;
  gap:1rem;
}
.toc-box{
  display:grid;
  gap:.45rem;
  padding:1rem;
  border:1px solid rgba(101,79,44,.12);
  border-radius:16px;
  background:rgba(252,248,238,.72);
  box-shadow:0 16px 45px rgba(38,31,20,.08);
}
.toc-box h2{
  margin:.1rem 0 .65rem;
  font-size:1.1rem;
}
.toc-box a{
  padding:.65rem .75rem;
  border-radius:10px;
  background:rgba(255,255,255,.38);
  color:#2f2a22;
  text-decoration:none;
  font-weight:760;
}
.toc-box a:hover{background:#fff}
@media(max-width:980px){
  .product-article-shell{grid-template-columns:1fr}
  .product-article-side{position:static}
  .article-feature-grid{grid-template-columns:1fr}
  .license-note{grid-template-columns:1fr}
  .tool-guide-grid{grid-template-columns:1fr 1fr}
  .info-detail-grid{grid-template-columns:1fr}
}

/* Visual regression Pack 1: PRISM hero, scoped light controls, Academy surface. */
.product-storyline[data-product="prism"] .story-visual-stage::before{
  content:none!important;
  display:none!important;
}

.academy-content-page{
  position:relative;
  isolation:isolate;
  min-height:100vh;
  background:
    radial-gradient(circle at 84% 8%,rgba(205,173,112,.10),transparent 24rem),
    radial-gradient(circle at 12% 42%,rgba(38,95,90,.12),transparent 30rem),
    linear-gradient(180deg,#11130f 0%,#171812 48%,#10120f 100%);
  background-repeat:no-repeat;
  background-size:cover;
}
html[data-theme="light"] .academy-content-page{
  background:
    radial-gradient(circle at 84% 8%,rgba(155,122,69,.13),transparent 24rem),
    radial-gradient(circle at 12% 42%,rgba(38,95,90,.11),transparent 30rem),
    linear-gradient(180deg,#f8f3e9 0%,#eee7da 48%,#f7f1e7 100%)!important;
}

html[data-theme="light"] .site-header .header-actions .primary,
html[data-theme="light"] .home .trading-hero .actions .primary,
html[data-theme="light"] .product-storyline .story-copy .actions .primary,
html[data-theme="light"] .station-page .next-station>.primary,
html[data-theme="light"] .academy-home-hero .actions .primary,
html[data-theme="light"] .prism-assessment-page .assessment-actions .primary,
html[data-theme="light"] .product-plan-section .plan-actions .primary{
  color:#fffaf0!important;
  background:#173b37!important;
  border-color:#173b37!important;
  opacity:1!important;
  text-shadow:none!important;
}
html[data-theme="light"] .product-storyline .story-copy .actions .secondary,
html[data-theme="light"] .station-page .next-station .secondary,
html[data-theme="light"] .academy-home-hero .actions .secondary,
html[data-theme="light"] .prism-assessment-page .assessment-actions .secondary,
html[data-theme="light"] .product-plan-section .plan-actions .secondary{
  color:#173b37!important;
  background:#fffaf0!important;
  border-color:rgba(23,59,55,.42)!important;
  opacity:1!important;
  text-shadow:none!important;
}
html[data-theme="light"] .story-proof span{
  color:#3f3528!important;
  background:rgba(255,250,240,.92)!important;
  border-color:rgba(111,82,37,.30)!important;
  opacity:1!important;
}
html[data-theme="light"] .product-plan-section .plan-actions th{
  color:#2c261d!important;
  background:rgba(238,226,204,.92)!important;
  opacity:1!important;
}
html[data-theme="light"] .product-plan-section .plan-actions .monetization-disabled-cta,
html[data-theme="light"] .product-plan-section .plan-actions .readonly-plan-disabled,
html[data-theme="light"] .account-safe-actions .monetization-disabled-cta,
html[data-theme="light"] .prism-locked-action[aria-disabled="true"]{
  color:#615746!important;
  background:#e7dfd1!important;
  border:1px dashed rgba(72,62,47,.42)!important;
  opacity:1!important;
  filter:saturate(.45)!important;
  cursor:not-allowed!important;
  box-shadow:none!important;
}
html[data-theme="light"] .site-header .header-actions .primary:hover,
html[data-theme="light"] .home .trading-hero .actions .primary:hover,
html[data-theme="light"] .product-storyline .story-copy .actions .primary:hover,
html[data-theme="light"] .station-page .next-station>.primary:hover,
html[data-theme="light"] .academy-home-hero .actions .primary:hover,
html[data-theme="light"] .prism-assessment-page .assessment-actions .primary:hover,
html[data-theme="light"] .product-plan-section .plan-actions .primary:hover{
  color:#fffdf6!important;
  background:#24564f!important;
  border-color:#24564f!important;
}
html[data-theme="light"] .product-storyline .story-copy .actions .secondary:hover,
html[data-theme="light"] .station-page .next-station .secondary:hover,
html[data-theme="light"] .academy-home-hero .actions .secondary:hover,
html[data-theme="light"] .prism-assessment-page .assessment-actions .secondary:hover,
html[data-theme="light"] .product-plan-section .plan-actions .secondary:hover{
  color:#102f2b!important;
  background:#f1e6d3!important;
  border-color:#24564f!important;
}
html[data-theme="light"] .site-header .header-actions .primary:focus-visible,
html[data-theme="light"] .home .trading-hero .actions a:focus-visible,
html[data-theme="light"] .product-storyline .story-copy .actions a:focus-visible,
html[data-theme="light"] .station-page .next-station a:focus-visible,
html[data-theme="light"] .academy-home-hero .actions a:focus-visible,
html[data-theme="light"] .prism-assessment-page .assessment-actions button:focus-visible,
html[data-theme="light"] .product-plan-section .plan-actions a:focus-visible{
  outline:3px solid #a36f16!important;
  outline-offset:3px!important;
}
html[data-theme="light"] .site-header .header-actions .primary:active,
html[data-theme="light"] .home .trading-hero .actions .primary:active,
html[data-theme="light"] .product-storyline .story-copy .actions .primary:active,
html[data-theme="light"] .station-page .next-station>.primary:active,
html[data-theme="light"] .academy-home-hero .actions .primary:active,
html[data-theme="light"] .prism-assessment-page .assessment-actions .primary:active,
html[data-theme="light"] .product-plan-section .plan-actions .primary:active{
  background:#102f2b!important;
  transform:translateY(1px);
}
html[data-theme="light"] .prism-assessment-page .assessment-actions button:disabled,
html[data-theme="light"] .prism-assessment-page .assessment-actions button[aria-disabled="true"]{
  color:#665e50!important;
  background:#ddd5c8!important;
  border-color:rgba(72,62,47,.30)!important;
  opacity:1!important;
  filter:saturate(.35)!important;
  cursor:not-allowed!important;
}

@media(max-width:720px){
  .academy-content-page{
    min-height:100svh;
    background-position:center top;
  }
}
@media(max-width:640px){.tool-guide-grid{grid-template-columns:1fr}}

/* De-duplication pass: one header, one roadmap, vertical guide access */
.site-header{
  display:flex;
  align-items:center;
}
.site-header .brand{order:0}
.site-header .main-nav:not(.primary-nav){display:none!important}
.site-header .primary-nav{
  order:1;
  display:flex!important;
  margin-inline:auto 1rem;
  gap:.35rem;
}
.site-header .header-actions{order:2;margin-inline-start:0}
.primary-nav .mega-panel{
  grid-template-columns:1fr;
}
.primary-nav .mega-panel a{
  min-height:48px;
}
.guide-rail{
  position:fixed;
  z-index:30;
  inset-inline-end:1rem;
  top:5.4rem;
  display:grid;
  gap:.45rem;
  padding:.45rem;
  border:1px solid rgba(101,79,44,.13);
  border-radius:18px;
  background:rgba(251,247,236,.78);
  box-shadow:0 18px 44px rgba(38,31,20,.12);
  backdrop-filter:blur(16px);
}
.guide-rail a{
  min-width:92px;
  padding:.58rem .7rem;
  border-radius:12px;
  background:rgba(255,255,255,.54);
  color:#2f2a22;
  text-align:center;
  text-decoration:none;
  font-size:.82rem;
  font-weight:850;
}
.guide-rail a:hover{background:#fff;color:#173b37}
.home .value-tape,
.home .console-top span,
.home .console-panels{
  display:none!important;
}
.ops-diagrams{
  max-width:1240px;
  margin:0 auto;
  padding:clamp(1.2rem,3vw,2.4rem) clamp(1rem,4vw,3rem) clamp(2rem,4vw,3.2rem);
}
.ops-diagrams:not(.launch-path-strip) article{
  position:relative;
  overflow:hidden;
  min-height:330px;
  padding:clamp(1rem,3vw,1.5rem);
  border:1px solid rgba(101,79,44,.13);
  border-radius:20px;
  background:rgba(252,248,238,.68);
  box-shadow:0 24px 70px rgba(38,31,20,.09);
}
.ops-diagrams:not(.launch-path-strip) h2{
  max-width:520px;
  margin:.5rem 0 1.2rem;
  font-size:clamp(1.6rem,2.8vw,2.7rem);
  line-height:1.15;
}
.launch-path-strip{
  display:grid!important;
  gap:1rem;
}
.launch-path-head{
  display:grid;
  gap:.35rem;
  max-width:760px;
  margin:0 auto;
  text-align:center;
}
.launch-path-head h2{
  margin:0;
  font-size:clamp(1.35rem,2.2vw,2.2rem);
  line-height:1.35;
}
.launch-path-head p{
  margin:0;
  color:#625846;
  line-height:1.8;
}
.launch-path-line{
  position:relative;
  display:grid;
  grid-template-columns:repeat(5,minmax(0,1fr));
  gap:.7rem;
  padding:1rem;
  border:1px solid rgba(96,78,45,.12);
  border-radius:24px;
  background:rgba(255,252,244,.56);
  box-shadow:0 18px 50px rgba(55,43,24,.07);
  overflow:hidden;
}
.launch-path-line:before{
  content:"";
  position:absolute;
  left:7%;
  right:7%;
  top:50%;
  height:1px;
  background:linear-gradient(90deg,transparent,rgba(169,130,79,.34),rgba(38,95,90,.24),transparent);
}
.launch-path-line a{
  position:relative;
  z-index:1;
  display:grid;
  align-content:start;
  justify-items:center;
  gap:.28rem;
  min-height:142px;
  padding:.85rem .7rem;
  border:1px solid rgba(96,78,45,.12);
  border-radius:18px;
  background:rgba(255,252,244,.78);
  color:#27231d;
  text-align:center;
  text-decoration:none;
  transition:transform .2s ease,border-color .2s ease,background .2s ease;
}
.launch-path-line a:hover{
  transform:translateY(-3px);
  border-color:rgba(38,95,90,.28);
  background:rgba(255,252,244,.95);
}
.launch-path-line a span{
  color:#b58d48;
  font-weight:950;
  font-size:.72rem;
}
.launch-path-line a i{
  display:grid;
  place-items:center;
  width:2.6rem;
  height:2.6rem;
  color:#214f48;
}
.launch-path-line a svg{
  width:2.15rem;
  height:2.15rem;
  fill:none;
  stroke:currentColor;
  stroke-width:2.1;
  stroke-linecap:round;
  stroke-linejoin:round;
}
.launch-path-line a strong{
  font-size:.98rem;
}
.launch-path-line a small{
  max-width:16ch;
  color:#655843;
  line-height:1.45;
  font-size:.76rem;
}
.war-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:.8rem;
  margin-top:2rem;
}
.war-grid b{
  display:grid;
  place-items:center;
  min-height:92px;
  border:1px solid rgba(38,95,90,.16);
  border-radius:16px;
  background:linear-gradient(135deg,rgba(255,255,255,.62),rgba(229,219,198,.52));
  color:#173b37;
  font-size:1.05rem;
}
.war-diagram:after{
  content:"";
  position:absolute;
  width:240px;
  height:240px;
  inset-inline-end:-72px;
  bottom:-80px;
  border:1px solid rgba(38,95,90,.18);
  border-radius:50%;
  box-shadow:0 0 0 46px rgba(38,95,90,.045);
}
.neural-map{
  position:relative;
  display:grid;
  grid-template-columns:repeat(5,minmax(0,1fr));
  gap:.8rem;
  min-height:190px;
  align-items:center;
}
.neural-map:before{
  content:"";
  position:absolute;
  inset-inline:5%;
  top:50%;
  height:2px;
  background:linear-gradient(90deg,rgba(38,95,90,.18),rgba(169,130,79,.42),rgba(38,95,90,.18));
}
.neural-map span{
  position:relative;
  z-index:1;
  display:grid;
  place-items:center;
  gap:.24rem;
  min-height:112px;
  padding:.75rem;
  border:1px solid rgba(101,79,44,.14);
  border-radius:999px;
  background:#fbf7ec;
  box-shadow:0 12px 34px rgba(38,31,20,.08);
  transform:translateY(calc((var(--i) - 2) * 8px));
}
.neural-map strong{color:#173b37;font-size:.9rem}
.neural-map small{color:#746f63;font-size:.72rem}
@media(max-width:980px){
  .site-header .primary-nav{display:none!important}
  .guide-rail{
    position:static;
    display:grid;
    grid-template-columns:repeat(4,minmax(0,1fr));
    margin:0;
    border-radius:0;
    border-inline:0;
    box-shadow:none;
  }
  .ops-diagrams{grid-template-columns:1fr}
  .launch-path-line{grid-template-columns:1fr 1fr}
  .launch-path-line:before{display:none}
  .neural-map{grid-template-columns:1fr;min-height:auto}
  .neural-map:before{display:none}
  .neural-map span{border-radius:16px;transform:none}
}

/* Gap fix pass: clearer path, PRISM steps, checkout, support */
.trading-hero .roadmap{position:relative;isolation:isolate}
.trading-hero .roadmap:before{
  content:"";
  position:absolute;
  z-index:-2;
  left:5%;
  right:5%;
  top:50%;
  height:72px;
  border-top:2px solid rgba(39,58,52,.22);
  border-radius:50%;
  transform:translateY(-52%) rotate(-1deg);
  filter:drop-shadow(0 18px 20px rgba(54,43,27,.08));
  display:block;
}
.trading-hero .roadmap:after{
  z-index:-1;
  top:50%;
  height:14px;
  background:radial-gradient(circle,rgba(169,130,79,.46) 0 2px,transparent 3px) repeat-x center/58px 14px;
  opacity:.68;
}
.trading-hero .station{overflow:visible}
.trading-hero .station:nth-child(1){--step:20px}
.trading-hero .station:nth-child(2){--step:-18px}
.trading-hero .station:nth-child(3){--step:32px}
.trading-hero .station:nth-child(4){--step:-12px}
.trading-hero .station:nth-child(5){--step:22px}

.auth-flow,.checkout-shell,.support-shell,.prism-assessment-shell{
  width:min(1120px,100%);
  margin:auto;
  display:grid;
  grid-template-columns:minmax(280px,.82fr) minmax(320px,1fr);
  gap:clamp(1rem,3vw,2rem);
  align-items:center;
}
.auth-copy,.checkout-copy,.support-copy{
  padding:clamp(1rem,3vw,2rem);
}
.auth-copy h1,.checkout-copy h1,.support-copy h1{
  font-size:clamp(2.5rem,5vw,5.4rem);
  line-height:1.05;
}
.auth-steps,.payment-steps,.support-chips{
  display:flex;
  flex-wrap:wrap;
  gap:.55rem;
  margin-top:1rem;
}
.auth-steps span,.payment-steps span,.support-chips button{
  border:1px solid rgba(101,79,44,.14);
  border-radius:999px;
  padding:.55rem .75rem;
  background:rgba(252,248,238,.62);
  color:#514b42;
  font:inherit;
  font-weight:850;
}
.payment-preview,.checkout-card,.support-chat{
  border:1px solid rgba(101,79,44,.13);
  border-radius:18px;
  background:rgba(252,248,238,.68);
  box-shadow:0 26px 80px rgba(38,31,20,.10);
  backdrop-filter:blur(18px);
}
.payment-preview{
  display:grid;
  gap:.25rem;
  margin-top:1.2rem;
  padding:1rem;
}
.payment-preview strong,.checkout-card b,.checkout-card strong{color:#173b37}
.payment-preview span{color:#746f63;line-height:1.7}
.checkout-page,.support-page{padding:clamp(1rem,4vw,4rem)}
.checkout-card{display:grid;gap:1rem;padding:clamp(1rem,3vw,1.6rem)}
.checkout-card article{
  padding:1rem;
  border:1px solid rgba(101,79,44,.11);
  border-radius:12px;
  background:rgba(255,255,255,.25);
}
.checkout-card strong{
  display:block;
  margin:.35rem 0;
  font-size:1.2rem;
}
.payment-steps span.active{background:#173b37;color:#faf3e6}

.prism-assessment-shell{
  grid-template-columns:240px minmax(0,760px);
  align-items:start;
  padding:0 clamp(1rem,4vw,3rem) clamp(3rem,6vw,5rem);
  max-width:1120px;
}
.prism-steps{
  list-style:none;
  display:grid;
  gap:.75rem;
  margin:0;
  padding:0;
}
.prism-steps li{
  display:flex;
  align-items:center;
  gap:.7rem;
  min-height:64px;
  padding:.7rem;
  border:1px solid rgba(101,79,44,.11);
  border-radius:14px;
  background:rgba(252,248,238,.44);
  color:#746f63;
}
.prism-steps li span{
  display:grid;
  place-items:center;
  width:2.4rem;
  height:2.4rem;
  border-radius:50%;
  border:1px solid rgba(101,79,44,.16);
  color:#173b37;
  font-weight:950;
}
.prism-steps li.active{
  background:rgba(252,248,238,.82);
  border-color:rgba(169,130,79,.30);
  color:#171612;
}
.assessment-stepped{
  max-width:none;
  margin:0;
  padding:1.1rem;
  border:1px solid rgba(101,79,44,.12);
  border-radius:18px;
  background:rgba(252,248,238,.56);
  box-shadow:0 26px 80px rgba(38,31,20,.10);
}
.assessment-progress{
  height:7px;
  overflow:hidden;
  border-radius:999px;
  background:rgba(101,79,44,.12);
}
.assessment-progress i{
  display:block;
  width:20%;
  height:100%;
  border-radius:inherit;
  background:linear-gradient(90deg,#173b37,#a9824f);
  transition:width .25s ease;
}
.assessment-step{
  min-height:0;
  display:block;
}
.assessment-step[hidden]{display:none}
.assessment-step legend{
  font-size:clamp(1.25rem,2vw,1.8rem);
  color:#171612;
}
.assessment-actions{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:.7rem;
  flex-wrap:wrap;
  margin-top:1rem;
}
.assessment-actions [hidden]{display:none}
.assessment-actions button:disabled{opacity:.42;cursor:not-allowed}

.support-chat{display:grid;gap:1rem;padding:1rem}
.support-log{
  min-height:260px;
  max-height:360px;
  overflow:auto;
  display:grid;
  align-content:start;
  gap:.75rem;
}
.support-log p{
  max-width:82%;
  margin:0;
  padding:.8rem .9rem;
  border:1px solid rgba(101,79,44,.12);
  border-radius:14px;
  background:rgba(255,255,255,.32);
  color:#514b42;
}
.support-log p b{display:block;color:#173b37}
.support-log .user-line{justify-self:end;background:rgba(23,59,55,.08)}
.support-input{
  display:grid;
  grid-template-columns:1fr auto;
  gap:.7rem;
}
.support-faq{
  grid-column:1/-1;
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:1rem;
}
.support-faq article{
  padding:1rem;
  border:1px solid rgba(101,79,44,.12);
  border-radius:14px;
  background:rgba(252,248,238,.58);
}

@media(max-width:960px){
  .auth-flow,.checkout-shell,.support-shell,.prism-assessment-shell{grid-template-columns:1fr}
  .prism-steps{grid-template-columns:repeat(5,160px);overflow:auto;padding-bottom:.3rem}
  .support-faq{grid-template-columns:1fr}
  .trading-hero .roadmap:before,.trading-hero .roadmap:after{display:none}
}
@media(max-width:560px){
  .auth-page{padding:1rem}
  .auth-copy,.checkout-copy,.support-copy{padding:.2rem}
  .support-input{grid-template-columns:1fr}
  .support-log p{max-width:100%}
  .prism-steps{grid-template-columns:repeat(5,132px)}
}

/* Navigation and cleanup pass */
.nav-group>div.mega-panel{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:.35rem;
  min-width:min(560px,92vw);
  padding:.8rem;
  opacity:0;
  visibility:hidden;
  pointer-events:none;
  transform:translateX(-50%) translateY(.45rem);
  transition:opacity .18s ease,transform .18s ease,visibility .18s ease;
}
.nav-group:hover>div.mega-panel,
.nav-group:focus-within>div.mega-panel,
.nav-group.is-open>div.mega-panel{
  display:grid;
  opacity:1;
  visibility:visible;
  pointer-events:auto;
  transform:translateX(-50%) translateY(0);
}
.mega-panel>span{
  grid-column:1/-1;
  padding:.45rem .65rem .55rem;
  color:#a9824f;
  font-size:.72rem;
  font-weight:950;
  letter-spacing:.03em;
}
.mega-panel a{
  min-height:76px;
  border:1px solid rgba(101,79,44,.10);
  background:rgba(255,255,255,.22);
}
.mega-panel a:hover{
  border-color:rgba(169,130,79,.28);
  background:rgba(255,255,255,.42);
}
.station-pop{
  top:calc(100% + .7rem);
  bottom:auto;
  transform:translate(-50%,-.35rem);
}
.station-pop:after{
  top:-7px;
  bottom:auto;
  border-right:0;
  border-bottom:0;
  border-left:1px solid rgba(101,79,44,.14);
  border-top:1px solid rgba(101,79,44,.14);
}
.station:hover .station-pop,.station:focus-visible .station-pop{
  transform:translate(-50%,0);
}
.clean-info-page{
  min-height:calc(100vh - 250px);
}
.clean-info-page .page-hero{
  max-width:1040px;
  padding-bottom:clamp(5rem,11vw,10rem);
}
.support-shell{
  align-items:start;
  padding-top:clamp(1rem,4vw,4rem);
}
.support-chat{
  max-width:620px;
  justify-self:stretch;
}
@media(max-width:700px){
  .nav-group>div.mega-panel{grid-template-columns:1fr;min-width:min(340px,92vw)}
}

/* Locked IA: team request ticket */
select,textarea{
  border:1px solid var(--line);
  border-radius:12px;
  padding:.85rem .9rem;
  background:rgba(255,255,255,.62);
  color:var(--ink);
  font:inherit;
}
textarea{resize:vertical;line-height:1.8}
.team-page{padding:clamp(1rem,4vw,4rem)}
.team-request-shell{
  width:min(1120px,100%);
  margin:auto;
  display:grid;
  grid-template-columns:minmax(280px,.85fr) minmax(320px,1fr);
  gap:clamp(1rem,3vw,2rem);
  align-items:center;
}
.team-request-copy{padding:clamp(1rem,3vw,2rem)}
.team-request-copy h1{
  font-size:clamp(2.5rem,5vw,5.4rem);
  line-height:1.05;
}
.team-ticket{
  padding:clamp(1rem,3vw,1.6rem);
  border:1px solid rgba(101,79,44,.13);
  border-radius:18px;
  background:rgba(252,248,238,.68);
  box-shadow:0 26px 80px rgba(38,31,20,.10);
  backdrop-filter:blur(18px);
}
.team-ticket p{
  margin:.25rem 0 0;
  color:#746f63;
  font-size:.9rem;
}
@media(max-width:960px){
  .team-request-shell{grid-template-columns:1fr}
}

/* Refinement lock: calmer hero, non-duplicated account panel, contained roadmap popovers */
.trading-hero{
  padding-bottom:clamp(6rem,9vw,9rem);
}
.trading-hero h1{
  max-width:none;
  white-space:nowrap;
  font-size:clamp(2.35rem,4.35vw,4.65rem);
  font-weight:760;
  line-height:1.14;
}
.trading-hero .hero-inner{
  gap:clamp(1.2rem,2.6vw,2.2rem);
}
.market-console{
  padding-bottom:2.4rem;
}
.chart-zone{
  padding-bottom:2.2rem;
}
.station-pop{
  z-index:100;
  width:min(240px,72vw);
  max-height:132px;
  overflow:auto;
  padding:.72rem .78rem;
  font-size:.72rem;
  line-height:1.55;
  background:#fbf6ea;
  color:#201b14;
  box-shadow:0 18px 44px rgba(38,31,20,.22);
}
.trading-hero .station:hover,
.trading-hero .station:focus-visible{
  z-index:80;
}
.account-shell{
  grid-template-columns:1fr;
  max-width:1180px;
}
.account-main{
  width:100%;
}
.task-strip{
  grid-template-columns:repeat(4,minmax(0,1fr));
}
@media(max-width:960px){
  .trading-hero{padding-bottom:clamp(3rem,8vw,5rem)}
  .market-console,.chart-zone{padding-bottom:0}
  .trading-hero h1{white-space:normal}
}

/* Neural ecosystem pass: vertical system rail, darker premium palette */
:root{
  --deep-bg:#242018;
  --deep-panel:#2f2a20;
  --deep-panel-soft:rgba(49,43,32,.70);
  --deep-line:rgba(216,191,145,.18);
  --deep-ink:#f1e6d2;
  --deep-muted:#c1b49d;
  --deep-gold:#b99558;
  --deep-moss:#5e6f59;
}
body{
  background:var(--deep-bg);
  color:var(--deep-ink);
}
.page,
.auth-page,
.admin-page,
.account-page,
.team-page,
.clean-info-page,
.station-page,
.tool-catalog-page,
.tool-detail-page,
.prism-assessment-shell,
.support-shell{
  background-color:var(--deep-bg)!important;
  background-image:
    radial-gradient(ellipse at 18% 22%,rgba(185,149,88,.12),transparent 25rem),
    radial-gradient(ellipse at 82% 18%,rgba(94,111,89,.18),transparent 28rem),
    linear-gradient(135deg,#242018 0%,#302a20 54%,#20241c 100%)!important;
  color:var(--deep-ink)!important;
}
.page p,
.auth-page p,
.admin-page p,
.account-page p,
.team-page p,
.station-page p{
  color:var(--deep-muted)!important;
}
.site-header{
  background:rgba(36,32,24,.90)!important;
  border-bottom:1px solid var(--deep-line)!important;
  box-shadow:0 16px 48px rgba(0,0,0,.18)!important;
}
.brand strong,
.site-header .primary-nav button{
  color:var(--deep-ink)!important;
}
.brand small{
  color:var(--deep-muted)!important;
}
.site-header .primary-nav{
  position:absolute;
  left:50%;
  transform:translateX(-50%);
  margin:0!important;
  justify-content:center;
  gap:.5rem;
}
.site-header .header-actions{
  margin-inline-start:auto!important;
}
.primary-nav .mega-panel{
  background:rgba(47,42,32,.96)!important;
  border:1px solid var(--deep-line)!important;
  box-shadow:0 28px 90px rgba(0,0,0,.34)!important;
}
.primary-nav .mega-panel a{
  color:var(--deep-ink)!important;
  background:rgba(244,234,216,.05)!important;
  border-color:var(--deep-line)!important;
}
.primary-nav .mega-panel a:hover{
  background:rgba(197,161,94,.12)!important;
}
.start-link,
.primary{
  background:linear-gradient(135deg,#6a775c,#4f604d)!important;
  box-shadow:0 14px 34px rgba(50,53,38,.24)!important;
}
.start-link:hover,
.primary:hover{
  background:#58684f!important;
}
.secondary,
.lang-link{
  background:rgba(241,230,210,.70)!important;
  color:#2d281f!important;
  border-color:rgba(216,191,145,.26)!important;
}
.reference-footer,
.site-footer{
  background:#1e241d!important;
  color:var(--deep-ink)!important;
}
.reference-footer p,
.site-footer p{
  color:var(--deep-muted)!important;
}
.footer-link-grid a,
.site-footer a{
  color:var(--deep-ink)!important;
  border-color:rgba(216,191,145,.12)!important;
}
.footer-social{
  background:rgba(241,230,210,.035)!important;
  border-color:rgba(216,191,145,.14)!important;
}
.footer-social a{
  background:rgba(241,230,210,.060)!important;
  border-color:rgba(216,191,145,.16)!important;
}
.guide-rail{
  display:none!important;
}
.home .ops-diagrams{
  display:none!important;
}
.trading-hero{
  background-color:var(--deep-bg)!important;
  background-image:
    radial-gradient(ellipse at 16% 34%,rgba(185,149,88,.16),transparent 24rem),
    radial-gradient(ellipse at 78% 28%,rgba(94,111,89,.24),transparent 28rem),
    radial-gradient(ellipse at 50% 92%,rgba(43,35,25,.34),transparent 34rem),
    linear-gradient(135deg,#242018 0%,#312b21 52%,#22261e 100%)!important;
}
.trading-hero:before{
  opacity:.42!important;
  background:
    radial-gradient(ellipse at 18% 50%,rgba(44,34,22,.38),transparent 18rem),
    radial-gradient(ellipse at 23% 54%,rgba(185,149,88,.14),transparent 11rem),
    radial-gradient(ellipse at 88% 46%,rgba(32,38,30,.34),transparent 20rem)!important;
  filter:blur(18px)!important;
}
.trading-hero:after{
  border-color:rgba(185,149,88,.10)!important;
  box-shadow:0 0 0 5rem rgba(185,149,88,.022),0 0 0 10rem rgba(94,111,89,.022)!important;
}
.trading-hero .hero-inner{
  display:grid!important;
  grid-template-columns:1fr!important;
  gap:clamp(1.1rem,2.6vw,2.4rem)!important;
  align-items:center!important;
  justify-items:center!important;
  width:100%;
  max-width:none!important;
  direction:ltr;
}
.hero-copy{
  grid-column:1;
  grid-row:1;
}
html[dir="rtl"] .hero-copy,
html[dir="rtl"] .system-side-rail,
html[dir="rtl"] .market-console{
  direction:rtl;
}
html[dir="ltr"] .hero-copy,
html[dir="ltr"] .system-side-rail,
html[dir="ltr"] .market-console{
  direction:ltr;
}
.trading-hero h1{
  color:var(--deep-ink)!important;
  font-size:clamp(2.6rem,4.7vw,5.25rem)!important;
  font-weight:580!important;
  line-height:1.18!important;
  text-shadow:0 18px 52px rgba(0,0,0,.25);
}
.hero-copy p{
  color:var(--deep-muted)!important;
}
.trading-hero .kicker{
  color:var(--deep-gold)!important;
}
.trading-hero .kicker:before{
  background:var(--deep-moss)!important;
  box-shadow:0 0 0 6px rgba(185,149,88,.10)!important;
}
.system-side-rail{
  position:relative;
  z-index:5;
  grid-column:1;
  grid-row:2;
  justify-self:start;
  display:grid;
  gap:.72rem;
  align-self:stretch;
  width:230px;
  min-height:520px;
  padding:.7rem;
  border:1px solid var(--deep-line);
  border-radius:18px;
  background:linear-gradient(180deg,rgba(244,234,216,.07),rgba(244,234,216,.025));
  box-shadow:0 30px 80px rgba(0,0,0,.22);
  backdrop-filter:blur(18px);
}
.system-side-rail:before{
  content:"";
  position:absolute;
  inset:1.3rem auto 1.3rem 50%;
  width:1px;
  background:linear-gradient(180deg,transparent,rgba(197,161,94,.38),rgba(33,77,71,.38),transparent);
  transform:translateX(-50%);
}
.system-rail-card{
  position:relative;
  z-index:1;
  display:grid;
  grid-template-columns:auto 1fr;
  grid-template-areas:"icon index" "icon title" "icon body";
  align-content:center;
  gap:.05rem .72rem;
  min-height:86px;
  padding:.75rem;
  color:var(--deep-ink);
  text-decoration:none;
  border:1px solid rgba(218,196,151,.13);
  border-radius:12px;
  background:rgba(15,14,10,.48);
  transition:transform .22s ease,border-color .22s ease,background .22s ease;
}
.system-rail-card:hover,
.system-rail-card:focus-visible{
  transform:translateX(-4px);
  border-color:rgba(185,149,88,.36);
  background:rgba(185,149,88,.08);
}
.system-rail-card i{
  grid-area:icon;
  display:grid;
  place-items:center;
  width:2.65rem;
  height:2.65rem;
  color:var(--deep-gold);
}
.system-rail-card svg{
  width:2.25rem;
  height:2.25rem;
  fill:none;
  stroke:currentColor;
  stroke-width:2.2;
  stroke-linecap:round;
  stroke-linejoin:round;
}
.rail-index{
  grid-area:index;
  color:rgba(244,234,216,.42);
  font-size:.66rem;
  font-weight:900;
}
.system-rail-card strong{
  grid-area:title;
  font-size:.92rem;
}
.system-rail-card small{
  grid-area:body;
  color:var(--deep-muted);
  font-size:.72rem;
}
.market-console{
  grid-column:1;
  grid-row:2;
  justify-self:center;
  width:min(1110px, calc(100vw - 560px))!important;
  align-self:stretch;
}
.console-top{
  display:none!important;
}
.chart-zone{
  min-height:560px!important;
  padding:0!important;
}
.chart-head{
  padding:.4rem .2rem 1rem;
}
.chart-head span{
  color:var(--deep-gold)!important;
}
.chart-head b{
  color:var(--deep-muted)!important;
}
.neural-system-map{
  position:relative;
  z-index:4;
  min-height:500px;
  border:1px solid var(--deep-line);
  border-radius:22px;
  overflow:hidden;
  background:
    radial-gradient(circle at 50% 50%,rgba(185,149,88,.14),transparent 9rem),
    radial-gradient(circle at 50% 50%,rgba(94,111,89,.17),transparent 20rem),
    linear-gradient(135deg,rgba(241,230,210,.060),rgba(241,230,210,.025));
  box-shadow:0 34px 95px rgba(0,0,0,.24);
}
.neural-system-map:after{
  content:"";
  position:absolute;
  inset:12%;
  border:1px solid rgba(197,161,94,.13);
  border-radius:50%;
  box-shadow:0 0 0 4.4rem rgba(185,149,88,.016),0 0 0 8.4rem rgba(94,111,89,.020);
  pointer-events:none;
}
.neural-system-map:before{
  content:"";
  position:absolute;
  inset:-30%;
  background:
    radial-gradient(circle at 38% 44%,rgba(185,149,88,.11),transparent 3.2rem),
    radial-gradient(circle at 64% 48%,rgba(94,111,89,.16),transparent 4.2rem),
    radial-gradient(circle at 52% 70%,rgba(241,230,210,.08),transparent 5rem);
  filter:blur(24px);
  animation:underCurrent 13s ease-in-out infinite alternate;
}
.neural-lines{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  overflow:visible;
  z-index:1;
}
.neural-lines path{
  fill:none;
  stroke:rgba(185,149,88,.56);
  stroke-width:.30;
  stroke-linecap:round;
  stroke-dasharray:1.2 1.05;
  filter:drop-shadow(0 0 5px rgba(185,149,88,.20));
  animation:neuralPulse 6s ease-in-out infinite alternate;
}
.neural-lines .axon-branch path{
  stroke:rgba(193,180,157,.34);
  stroke-width:.20;
  stroke-dasharray:.7 1.45;
  animation-duration:8.5s;
}
.neural-lines .synapse-dots circle{
  fill:rgba(185,149,88,.88);
  filter:drop-shadow(0 0 4px rgba(185,149,88,.38));
  animation:synapseBlink 4.8s ease-in-out infinite alternate;
}
.neural-lines .synapse-dots circle:nth-child(3n){
  animation-delay:1.1s;
}
.neural-lines .synapse-dots circle:nth-child(4n){
  animation-delay:2s;
}
.neural-core,
.neural-node{
  position:absolute;
  z-index:2;
  color:var(--deep-ink);
}
.neural-core{
  left:50%;
  top:50%;
  display:grid;
  place-items:center;
  width:11rem;
  height:11rem;
  border:1px solid rgba(185,149,88,.30);
  border-radius:50%;
  background:radial-gradient(circle,rgba(185,149,88,.16),rgba(37,32,24,.78) 62%);
  transform:translate(-50%,-50%);
  box-shadow:0 0 0 1rem rgba(185,149,88,.028),0 0 0 2rem rgba(94,111,89,.030);
  text-align:center;
}
.neural-core span{
  color:var(--deep-gold);
  font-size:.95rem;
  font-weight:950;
  letter-spacing:0;
}
.neural-core strong{
  margin-top:-3rem;
  font-size:1rem;
}
.neural-node{
  display:grid;
  place-items:center;
  min-width:8.8rem;
  min-height:4.7rem;
  padding:.72rem .9rem;
  text-align:center;
  text-decoration:none;
  border:1px solid rgba(218,196,151,.15);
  border-radius:14px;
  background:rgba(15,14,10,.66);
  box-shadow:0 18px 46px rgba(0,0,0,.22);
  backdrop-filter:blur(12px);
  transition:transform .22s ease,border-color .22s ease,background .22s ease;
}
.neural-node:before{
  content:"";
  position:absolute;
  left:50%;
  top:-.42rem;
  width:.72rem;
  height:.72rem;
  border-radius:50%;
  background:var(--deep-gold);
  box-shadow:0 0 0 6px rgba(185,149,88,.10),0 0 22px rgba(185,149,88,.32);
  transform:translateX(-50%);
}
.neural-node:hover,
.neural-node:focus-visible{
  transform:translateY(-4px);
  border-color:rgba(185,149,88,.42);
  background:rgba(185,149,88,.09);
}
.neural-node strong{
  font-size:.98rem;
}
.neural-node small{
  color:var(--deep-muted);
  font-size:.74rem;
}
.node-self{left:18%;top:15%}
.node-path{left:50%;top:5%;transform:translateX(-50%)}
.node-evidence{right:13%;top:18%}
.node-practice{right:7%;top:46%}
.node-control{right:15%;bottom:12%}
.node-tools{left:48%;bottom:5%;transform:translateX(-50%)}
.node-panel{left:9%;bottom:15%}
.node-mentor{left:8%;top:45%}
.node-path:hover,
.node-path:focus-visible,
.node-tools:hover,
.node-tools:focus-visible{
  transform:translateX(-50%) translateY(-4px);
}
@keyframes neuralPulse{
  from{stroke-opacity:.42;stroke-dashoffset:0}
  to{stroke-opacity:.86;stroke-dashoffset:-7}
}
@keyframes synapseBlink{
  from{opacity:.34;transform:scale(.82);transform-origin:center}
  to{opacity:.95;transform:scale(1.18);transform-origin:center}
}
.trading-hero .roadmap,
.trading-hero .station{
  display:revert;
}
@media(max-width:1100px){
  .trading-hero .hero-inner{
    grid-template-columns:1fr!important;
  }
  .system-side-rail{
    grid-row:auto;
    justify-self:stretch;
    width:100%;
    min-height:auto;
    grid-template-columns:repeat(6,minmax(135px,1fr));
    overflow:auto;
  }
  .system-side-rail:before{display:none}
  .market-console{
    grid-row:auto;
    width:100%!important;
    min-width:0;
  }
}

/* PRISM result final readability pass */
.prism-result-page{
  display:grid;
  gap:clamp(1.2rem,3vw,2.4rem);
}
.prism-result-hero{
  display:grid!important;
  grid-template-columns:minmax(180px,320px) minmax(0,1fr)!important;
  gap:clamp(1rem,3vw,2.4rem)!important;
  align-items:center!important;
  border:1px solid rgba(214,185,119,.18)!important;
  background:linear-gradient(135deg,rgba(255,248,236,.08),rgba(38,95,90,.08))!important;
}
.prism-result-hero img{
  width:100%!important;
  max-width:320px!important;
  aspect-ratio:1/1!important;
  object-fit:cover!important;
  border-radius:28px!important;
  border:1px solid rgba(214,185,119,.18)!important;
  box-shadow:0 24px 70px rgba(0,0,0,.18)!important;
}
.prism-result-hero h1{
  margin:.45rem 0 .8rem!important;
  font-size:clamp(1.9rem,4vw,2.7rem)!important;
  line-height:1.14!important;
}
.prism-result-archetype-section{
  margin-top:-.25rem;
  border:1px solid rgba(214,185,119,.2)!important;
  border-radius:22px;
  background:linear-gradient(135deg,rgba(255,248,236,.08),rgba(38,95,90,.08))!important;
  padding:clamp(.9rem,2.5vw,1.3rem)!important;
}
.prism-result-archetype{
  display:grid!important;
  grid-template-columns:minmax(220px,320px) minmax(0,1fr)!important;
  gap:clamp(.9rem,2.7vw,1.8rem)!important;
  align-items:center!important;
}
.prism-archetype-preview-trigger{
  width:100%;
  min-width:0;
  border-radius:18px;
  border:1px solid rgba(214,185,119,.22)!important;
  padding:0;
  background:transparent;
  cursor:pointer;
  position:relative;
  display:block;
  overflow:hidden;
  outline:none;
}
.prism-archetype-preview-trigger img{
  width:100%;
  max-height:360px;
  aspect-ratio:4/5;
  object-fit:cover!important;
  border-radius:16px;
  display:block;
  box-shadow:0 16px 34px rgba(17,24,39,.18);
  transition:transform .18s ease;
}
.prism-archetype-preview-trigger:hover img,
.prism-archetype-preview-trigger:focus-visible img{
  transform:scale(1.04);
}
.prism-archetype-fallback-card{
  display:grid;
  place-items:center;
  gap:.45rem;
  min-height:300px;
  aspect-ratio:4/5;
  padding:1rem;
  border-radius:16px;
  background:
    radial-gradient(circle at 30% 20%,rgba(200,169,94,.28),transparent 42%),
    linear-gradient(145deg,rgba(31,54,49,.96),rgba(15,24,21,.94));
  color:#fff5dd;
  text-align:center;
}
.prism-archetype-fallback-card strong{
  color:#f5d891;
  font-size:1.55rem;
  letter-spacing:.08em;
}
.prism-archetype-fallback-card em{
  color:#d9c8a0;
  font-style:normal;
  line-height:1.6;
}
.prism-result-archetype-section.is-legacy-result-card{
  display:none!important;
}
.prism-archetype-preview-trigger:focus-visible{
  box-shadow:0 0 0 2px rgba(255,244,223,.34), 0 18px 60px rgba(0,0,0,.2);
}
.prism-result-archetype h2{
  margin:.22rem 0 .6rem!important;
  font-size:clamp(1.15rem,2.4vw,1.85rem)!important;
  line-height:1.15!important;
}
.prism-result-archetype p{
  margin:0;
  line-height:1.82!important;
}
.prism-result-archetype .kicker{
  color:#1f4f4a!important;
}
.prism-character-selector-section{
  border:1px solid rgba(214,185,119,.2)!important;
  border-radius:24px;
  padding:clamp(1rem,3vw,1.5rem)!important;
  background:linear-gradient(135deg,rgba(255,248,236,.1),rgba(38,95,90,.07))!important;
}
.prism-character-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:clamp(.8rem,2vw,1.2rem);
  margin-top:1rem;
}
.prism-character-option{
  display:grid;
  gap:.75rem;
  padding:.75rem;
  border:1px solid rgba(214,185,119,.18);
  border-radius:20px;
  background:rgba(255,255,255,.28);
}
.prism-character-option.is-selected{
  border-color:rgba(38,95,90,.6);
  box-shadow:0 0 0 2px rgba(38,95,90,.13);
}
.prism-character-preview img{
  object-fit:contain!important;
  aspect-ratio:4/5;
  background:rgba(255,248,236,.42);
}
.prism-character-choice,
.prism-character-clear{
  display:flex;
  align-items:center;
  gap:.55rem;
  font-weight:800;
  cursor:pointer;
}
.prism-character-choice input,
.prism-character-clear input{
  inline-size:1.05rem;
  block-size:1.05rem;
  accent-color:#265f5a;
}
.prism-character-controls{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:.8rem 1rem;
  margin-top:1rem;
}
.prism-character-status{
  min-height:1.4em;
  color:#265f5a;
  font-weight:800;
}

.prism-archetype-lightbox{
  position:fixed;
  inset:0;
  z-index:1205;
  display:grid;
  place-items:center;
  padding:clamp(1rem,3vw,2rem);
  background:rgba(10,11,11,.78);
  backdrop-filter:blur(8px);
}
.prism-archetype-lightbox[hidden]{
  display:none;
}
.prism-archetype-lightbox-panel{
  width:min(1120px,100%);
  max-height:92vh;
  display:flex;
  align-items:center;
  justify-content:center;
  position:relative;
  border-radius:24px;
  padding:1rem;
  border:1px solid rgba(232,205,154,.18);
  background:linear-gradient(180deg,rgba(20,17,12,.96),rgba(13,12,10,.95));
  box-shadow:0 24px 74px rgba(0,0,0,.34);
}
.prism-archetype-lightbox-panel img{
  display:block;
  max-width:100%;
  max-height:82vh;
  width:auto;
  height:auto;
  object-fit:contain;
  border-radius:18px;
  border:1px solid rgba(232,205,154,.22);
}
.prism-archetype-close{
  position:absolute;
  top:.7rem;
  inset-inline-end:.7rem;
  border:none;
  border-radius:999px;
  width:2.15rem;
  height:2.15rem;
  display:grid;
  place-items:center;
  background:rgba(255,244,223,.12);
  color:var(--read-ink,#f5ecda);
  cursor:pointer;
  font:700 1.15rem/1 Inter, sans-serif;
}
.prism-archetype-close:hover,
.prism-archetype-close:focus-visible{
  background:rgba(205,173,112,.2);
}
@media(max-width:760px){
  .prism-character-grid{
    grid-template-columns:1fr;
  }
}
.result-safety{
  margin-top:1rem!important;
  padding:.9rem 1rem!important;
  border-radius:18px!important;
  background:rgba(255,248,236,.08)!important;
  border:1px solid rgba(214,185,119,.14)!important;
  font-size:.95rem!important;
}
.prism-radar-section{
  grid-template-columns:minmax(260px,.8fr) minmax(320px,1fr)!important;
  border:1px solid rgba(214,185,119,.18)!important;
}
.prism-radar-chart{
  width:min(520px,100%)!important;
  min-height:360px!important;
}
.prism-radar-chart .radar-grid polygon,
.prism-radar-chart .radar-grid line{
  fill:none!important;
  stroke:rgba(214,185,119,.24)!important;
  stroke-width:1.2!important;
}
.prism-radar-chart .radar-fill{
  fill:rgba(38,95,90,.34)!important;
  stroke:#d6b977!important;
  stroke-width:3!important;
}
.prism-radar-chart .radar-dots circle{
  fill:#f4d27e!important;
  stroke:#173b37!important;
  stroke-width:2!important;
}
.prism-radar-chart text{
  font:800 13px RenFa,Inter,sans-serif!important;
  fill:#fff4df!important;
  text-anchor:middle!important;
}
.result-insight-grid{
  display:grid!important;
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  gap:1rem!important;
}
.result-insight-grid article{
  min-height:100%!important;
  padding:1.35rem!important;
  border-radius:24px!important;
  background:rgba(255,248,236,.07)!important;
  border:1px solid rgba(214,185,119,.16)!important;
  box-shadow:0 20px 50px rgba(0,0,0,.12)!important;
}
.result-insight-grid article>span{
  color:#d6b977!important;
  font-weight:900!important;
}
.result-insight-grid h2{
  margin:.45rem 0 .9rem!important;
  font-size:clamp(1.15rem,2vw,1.5rem)!important;
}
.result-insight-grid ul{
  margin:0!important;
  padding-inline-start:1.1rem!important;
  color:var(--muted)!important;
  line-height:2!important;
}
.prism-result-usage{
  max-width:1180px!important;
}
.prism-result-usage .tool-guide-grid{
  margin-top:1rem!important;
}
.prism-result-usage .tool-guide-grid article{
  min-height:190px!important;
}
.zeton-result-card{
  position:relative!important;
  overflow:hidden!important;
}
.zeton-result-card::after{
  content:"";
  position:absolute;
  inset:auto -30px -42px auto;
  width:150px;
  height:150px;
  border-radius:50%;
  background:radial-gradient(circle,rgba(214,185,119,.32),transparent 66%);
}
.zeton-coin{
  width:58px!important;
  height:58px!important;
  display:grid!important;
  place-items:center!important;
  border-radius:50%!important;
  background:linear-gradient(135deg,#f6d789,#8c6730)!important;
  color:#172f2b!important;
  font-weight:950!important;
  box-shadow:0 16px 32px rgba(0,0,0,.22)!important;
  border:2px solid rgba(255,248,236,.6)!important;
}
.result-next-grid article{
  text-align:inherit!important;
}

html[data-theme="light"] .prism-result-hero,
html[data-theme="light"] .prism-radar-section,
html[data-theme="light"] .result-insight-grid article{
  background:rgba(255,252,246,.78)!important;
  border-color:rgba(78,66,48,.14)!important;
  box-shadow:0 24px 70px rgba(72,56,34,.10)!important;
}
html[data-theme="light"] .result-safety{
  background:rgba(244,236,222,.8)!important;
  border-color:rgba(78,66,48,.14)!important;
  color:#4b4235!important;
}
html[data-theme="light"] .prism-radar-chart .radar-grid polygon,
html[data-theme="light"] .prism-radar-chart .radar-grid line{
  stroke:rgba(78,66,48,.22)!important;
}
html[data-theme="light"] .prism-radar-chart .radar-fill{
  fill:rgba(38,95,90,.20)!important;
  stroke:#24564f!important;
}
html[data-theme="light"] .prism-radar-chart .radar-dots circle{
  fill:#b88a3b!important;
  stroke:#fffaf0!important;
}
html[data-theme="light"] .prism-radar-chart text{
  fill:#27231d!important;
}
html[data-theme="light"] .result-insight-grid ul{
  color:#5b5143!important;
}

@media(max-width:860px){
  .prism-result-hero,
  .prism-result-archetype,
  .prism-radar-section,
  .result-insight-grid{
    grid-template-columns:1fr!important;
  }
  .prism-result-hero img,
  .prism-result-archetype img{
    max-width:220px!important;
  }
}

html.content-protected body,
html.content-protected main,
html.content-protected section,
html.content-protected article{
  -webkit-user-select:none;
  user-select:none;
}
html.content-protected input,
html.content-protected textarea,
html.content-protected [contenteditable="true"]{
  -webkit-user-select:text;
  user-select:text;
}
@media(max-width:760px){
  .chart-zone{min-height:auto!important}
  .neural-system-map{
    min-height:auto;
    display:grid;
    gap:.7rem;
    padding:1rem;
  }
  .neural-lines,
  .neural-core{
    display:none;
  }
  .neural-node{
    position:relative;
    inset:auto!important;
    transform:none!important;
    min-width:0;
  }
  .system-side-rail{
    grid-template-columns:1fr;
  }
  .chart-head{
    display:grid;
    gap:.4rem;
  }
  .chart-head b{text-align:start}
}

/* Senior critique pass: trust, outputs, measurable journey */
.home-trust-band,
.home-outcome-band,
.home-guardrail-band{
  position:relative;
  color:var(--deep-ink);
}
.home-trust-band{
  display:grid;
  grid-template-columns:minmax(260px,.85fr) minmax(360px,1.15fr);
  gap:clamp(1.2rem,4vw,4rem);
  align-items:center;
  padding:clamp(4rem,7vw,7rem) clamp(1rem,6vw,6rem);
  background:
    radial-gradient(ellipse at 20% 15%,rgba(185,149,88,.10),transparent 22rem),
    linear-gradient(180deg,#20241d 0%,#242018 100%);
  border-top:1px solid rgba(216,191,145,.10);
}
.home-trust-copy{
  max-width:680px;
}
.home-trust-copy h2,
.section-lead h2{
  margin:.75rem 0 .8rem;
  font-size:clamp(2rem,3.8vw,4.4rem);
  line-height:1.16;
  font-weight:620;
}
.home-trust-copy p,
.section-lead p{
  max-width:620px;
  color:var(--deep-muted);
}
.trust-principles{
  display:grid;
  gap:.75rem;
}
.trust-principles article{
  padding:1rem 1.05rem;
  border:1px solid rgba(216,191,145,.14);
  border-radius:14px;
  background:rgba(241,230,210,.045);
  box-shadow:0 18px 50px rgba(0,0,0,.12);
}
.trust-principles strong{
  display:block;
  font-size:1rem;
}
.trust-principles p{
  margin:.35rem 0 0;
  color:var(--deep-muted);
  font-size:.9rem;
  line-height:1.8;
}
.home-outcome-band{
  padding:clamp(3.5rem,6vw,6rem) clamp(1rem,6vw,6rem);
  background:
    radial-gradient(ellipse at 80% 15%,rgba(94,111,89,.16),transparent 28rem),
    linear-gradient(180deg,#242018 0%,#282319 100%);
}
.section-lead{
  display:grid;
  justify-items:center;
  text-align:center;
  margin:0 auto clamp(1.5rem,4vw,3rem);
  max-width:860px;
}
.outcome-flow{
  display:grid;
  grid-template-columns:repeat(5,minmax(0,1fr));
  gap:.8rem;
  max-width:1240px;
  margin:auto;
}
.outcome-flow a{
  position:relative;
  display:grid;
  align-content:start;
  gap:.28rem;
  min-height:156px;
  padding:1rem;
  text-decoration:none;
  border:1px solid rgba(216,191,145,.13);
  border-radius:14px;
  background:rgba(18,17,13,.46);
  box-shadow:0 18px 48px rgba(0,0,0,.15);
  transition:transform .22s ease,border-color .22s ease,background .22s ease;
}
.outcome-flow a:after{
  content:"";
  position:absolute;
  inset-inline-end:-.55rem;
  top:50%;
  width:.9rem;
  height:1px;
  background:rgba(185,149,88,.34);
}
.outcome-flow a:last-child:after{display:none}
.outcome-flow a:hover,
.outcome-flow a:focus-visible{
  transform:translateY(-4px);
  border-color:rgba(185,149,88,.38);
  background:rgba(185,149,88,.075);
}
.outcome-flow span{
  color:rgba(241,230,210,.42);
  font-size:.72rem;
  font-weight:950;
}
.outcome-flow strong{
  font-size:1.05rem;
}
.outcome-flow small{
  color:var(--deep-muted);
  line-height:1.65;
}
.home-guardrail-band{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:clamp(1rem,3vw,2rem);
  padding:1.2rem clamp(1rem,6vw,6rem);
  background:#1f241d;
  border-top:1px solid rgba(216,191,145,.10);
  border-bottom:1px solid rgba(216,191,145,.10);
}
.home-guardrail-band>strong{
  color:var(--deep-gold);
  white-space:nowrap;
}
.home-guardrail-band div{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:.65rem;
  flex-wrap:wrap;
}
.home-guardrail-band span{
  display:inline-flex;
  align-items:center;
  min-height:34px;
  padding:.42rem .75rem;
  border:1px solid rgba(216,191,145,.13);
  border-radius:999px;
  color:var(--deep-muted);
  background:rgba(241,230,210,.035);
  font-size:.86rem;
}
@media(max-width:980px){
  .home-trust-band{
    grid-template-columns:1fr;
  }
  .outcome-flow{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
  .outcome-flow a:after{display:none}
  .home-guardrail-band{
    align-items:flex-start;
    flex-direction:column;
  }
}
@media(max-width:560px){
  .home-trust-band,
  .home-outcome-band{
    padding-inline:1rem;
  }
  .outcome-flow{
    grid-template-columns:1fr;
  }
  .home-trust-copy h2,
  .section-lead h2{
    font-size:clamp(1.8rem,9vw,2.6rem);
  }
}

/* Accessibility contrast pass: keep the warm dark brand, raise legibility everywhere */
:root{
  --read-ink:#fff4df;
  --read-text:#eadcc3;
  --read-muted:#d7c7aa;
  --read-soft:#bca984;
  --read-panel:rgba(25,23,18,.74);
  --read-panel-strong:rgba(18,17,13,.86);
  --read-line:rgba(232,205,154,.24);
  --read-gold:#d2ad68;
}
.page,
.station-page,
.product-article-page,
.tool-catalog-page,
.tool-detail-page,
.admin-page,
.account-page,
.auth-page,
.support-page,
.team-page{
  color:var(--read-ink)!important;
}
.page p,
.station-page p,
.product-article-page p,
.tool-catalog-page p,
.tool-detail-page p,
.admin-page p,
.account-page p,
.auth-page p,
.support-page p,
.team-page p,
.article-lead,
.product-hero-visual figcaption,
.protected-tool-copy p,
.tool-card p,
.feature-list p,
.station-method p,
.seo-copy p,
.profile-panel small,
.task-card small{
  color:var(--read-muted)!important;
}
.page h1,
.page h2,
.page h3,
.page strong,
.product-article-main h1,
.product-article-main h2,
.product-article-main h3,
.toc-box h2,
.protected-tool-copy h2,
.tool-card strong{
  color:var(--read-ink)!important;
}
.kicker,
.breadcrumbs,
.article-meta,
.article-meta span,
.access-state,
.product-article-main section li,
.protected-tool-copy li{
  color:var(--read-soft)!important;
}
.breadcrumbs a,
.breadcrumbs strong,
.spec-table th,
.license-note b,
.payment-preview strong,
.checkout-card b,
.checkout-card strong,
.support-log p b{
  color:var(--read-gold)!important;
}
.article-meta span,
.platform-tabs span,
.platform-tabs strong,
.license-note,
.product-hero-visual,
.product-article-main section,
.article-feature-grid article,
.toc-box,
.protected-tool-card,
.protected-empty,
.tool-card,
.station-method article,
.feature-list article,
.pricing-grid article,
.trust-list article,
.team-ticket,
.checkout-card,
.payment-preview,
.support-chat,
.support-faq article,
.assessment-stepped,
.prism-steps li,
.profile-panel article,
.task-card,
.admin-grid article,
.admin-stats article{
  background:var(--read-panel)!important;
  border-color:var(--read-line)!important;
  color:var(--read-ink)!important;
  box-shadow:0 18px 58px rgba(0,0,0,.18)!important;
}
.platform-tabs strong,
.platform-tabs span:hover,
.toc-box a:hover{
  background:rgba(232,205,154,.16)!important;
  color:var(--read-ink)!important;
}
.toc-box a,
.product-article-side a,
.related-tools a,
.article-feature-grid article,
.protected-tool-actions .access-state{
  background:rgba(255,244,223,.075)!important;
  color:var(--read-ink)!important;
  border-color:rgba(232,205,154,.16)!important;
}
.spec-table th,
.spec-table td{
  color:var(--read-ink)!important;
  border-bottom-color:rgba(232,205,154,.18)!important;
}
.spec-table th{
  color:var(--read-gold)!important;
}
.platform-tabs span{
  color:var(--read-muted)!important;
}
.license-note,
.product-article-main section{
  background:linear-gradient(135deg,rgba(255,244,223,.09),rgba(255,244,223,.035))!important;
}
.product-hero-visual{
  background:rgba(18,17,13,.72)!important;
}
.product-hero-visual img{
  filter:saturate(.96) contrast(1.04);
}
input,
select,
textarea{
  background:rgba(255,244,223,.10)!important;
  color:var(--read-ink)!important;
  border-color:var(--read-line)!important;
}
input::placeholder,
textarea::placeholder{
  color:rgba(215,199,170,.72)!important;
}
.secondary{
  background:rgba(255,244,223,.82)!important;
  color:#282216!important;
}
.primary,
.start-link{
  color:#fff8ea!important;
}
@media(max-width:760px){
  .article-meta span,
  .platform-tabs span,
  .platform-tabs strong{
    color:var(--read-ink)!important;
  }
}

/* Content and SEO import pass */
.actions{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:.8rem;
  flex-wrap:wrap;
}
.content-feature-list article{
  min-height:180px;
}
.seo-faq,
.academy-spine,
.info-pillars,
.next-station{
  width:min(1180px,calc(100% - 2rem));
  margin-inline:auto;
}
.faq-grid,
.info-pillars{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:1rem;
}
.faq-grid article,
.info-pillars article,
.academy-spine article,
.next-station{
  background:linear-gradient(135deg,rgba(255,244,223,.085),rgba(255,244,223,.035));
  border:1px solid rgba(232,205,154,.18);
  border-radius:18px;
  box-shadow:0 18px 58px rgba(0,0,0,.16);
  color:var(--read-ink);
}
.faq-grid article,
.info-pillars article{
  padding:1.15rem;
}
.faq-grid h3,
.info-pillars h2,
.academy-spine h3{
  margin:0 0 .55rem;
  color:var(--read-ink);
  font-size:1.04rem;
}
.faq-grid p,
.info-pillars p,
.academy-spine p,
.next-station p{
  color:var(--read-muted)!important;
  margin:0;
  line-height:1.85;
}
.academy-spine{
  display:grid;
  grid-template-columns:repeat(5,minmax(0,1fr));
  gap:1rem;
}
.academy-spine .section-lead{
  grid-column:1/-1;
}
.academy-spine article{
  min-height:240px;
  padding:1.1rem;
  display:grid;
  align-content:start;
  gap:.55rem;
}
.academy-spine article span{
  color:var(--read-gold);
  font-weight:950;
  letter-spacing:.08em;
}
.academy-spine article a{
  align-self:end;
  color:var(--read-gold);
  text-decoration:none;
  font-weight:850;
  margin-top:.5rem;
}
.academy-map-intro{
  width:min(1180px,calc(100% - 2rem));
  margin-inline:auto;
  display:grid;
  grid-template-columns:minmax(0,.9fr) minmax(320px,1.1fr);
  gap:clamp(1rem,2.6vw,2rem);
  align-items:end;
  padding-bottom:clamp(.5rem,1.2vw,1rem);
}
.academy-map-intro .section-lead{
  margin:0;
  max-width:720px;
}
.academy-map-notes{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:.75rem;
}
.academy-map-notes article{
  min-height:112px;
  display:grid;
  align-content:start;
  gap:.35rem;
  padding:1rem;
  border-radius:18px;
  border:1px solid rgba(232,205,154,.13);
  background:
    radial-gradient(circle at 88% 14%,rgba(185,149,88,.10),transparent 5rem),
    rgba(255,244,223,.045);
  box-shadow:0 16px 38px rgba(0,0,0,.10);
}
.academy-map-notes strong{
  color:var(--read-ink);
  font-size:.98rem;
}
.academy-map-notes span{
  color:var(--read-muted);
  line-height:1.75;
  font-size:.88rem;
}
.next-station{
  display:grid;
  justify-items:center;
  text-align:center;
  gap:.7rem;
  padding:clamp(1.25rem,3vw,2rem);
}
.next-station span{
  color:var(--read-gold);
  font-weight:900;
}
.next-station h2{
  margin:0;
  color:var(--read-ink);
  font-size:clamp(1.6rem,4vw,2.8rem);
}
.clean-info-page .page-hero,
.academy-content-page .page-hero{
  max-width:1040px;
}
.academy-lesson-hero{
  width:min(1180px,calc(100% - 2rem));
  margin:clamp(2rem,6vw,4rem) auto 1.2rem;
  padding:clamp(1.35rem,4vw,2.4rem);
  display:grid;
  grid-template-columns:minmax(0,1fr) 220px;
  gap:1rem;
  align-items:end;
  background:
    radial-gradient(circle at 14% 20%,rgba(187,151,83,.16),transparent 36%),
    linear-gradient(135deg,rgba(255,244,223,.09),rgba(255,244,223,.035));
  border:1px solid rgba(232,205,154,.2);
  border-radius:24px;
  box-shadow:0 24px 70px rgba(0,0,0,.24);
}
.academy-lesson-hero h1{
  margin:.35rem 0 .75rem;
  color:var(--read-ink);
  font-size:clamp(2.3rem,5.8vw,5.4rem);
  font-weight:850;
  line-height:1.12;
}
.academy-lesson-hero p{
  max-width:850px;
  margin:0 0 1.2rem;
  color:var(--read-muted);
  line-height:1.95;
}
.academy-lesson-hero aside{
  display:grid;
  gap:.55rem;
  padding:1rem;
  border-radius:18px;
  background:rgba(10,14,10,.44);
  border:1px solid rgba(232,205,154,.18);
  color:var(--read-muted);
}
.academy-lesson-hero aside strong{
  color:var(--read-ink);
  font-size:1.12rem;
}
.lesson-shell{
  width:min(1180px,calc(100% - 2rem));
  margin:0 auto clamp(2rem,6vw,4rem);
  display:grid;
  grid-template-columns:190px minmax(0,1fr);
  gap:1rem;
  align-items:start;
}
.lesson-sidebar{
  position:sticky;
  top:92px;
  display:grid;
  gap:.55rem;
  padding:.75rem;
  border:1px solid rgba(232,205,154,.18);
  border-radius:18px;
  background:rgba(12,14,10,.58);
}
.lesson-sidebar a{
  padding:.7rem .8rem;
  border-radius:12px;
  color:var(--read-muted);
  text-decoration:none;
  font-weight:850;
}
.lesson-sidebar a:hover{
  background:rgba(232,205,154,.1);
  color:var(--read-ink);
}
.lesson-main{
  display:grid;
  gap:1rem;
  min-width:0;
}
.lesson-video-slot,
.lesson-document,
.lesson-figure-card,
.lesson-learning-kit article,
.lesson-journal-box{
  border:1px solid rgba(232,205,154,.18);
  border-radius:22px;
  background:linear-gradient(135deg,rgba(255,244,223,.085),rgba(255,244,223,.035));
  box-shadow:0 18px 58px rgba(0,0,0,.18);
}
.lesson-video-slot{
  min-height:150px;
  display:grid;
  place-items:center;
  text-align:center;
  padding:1.4rem;
}
.lesson-video-slot span,
.lesson-journal-box span,
.lesson-learning-kit article span{
  color:var(--read-gold);
  font-weight:950;
}
.lesson-video-slot p{
  max-width:520px;
  margin:.4rem 0 0;
  color:var(--read-muted);
}
.lesson-document{
  padding:clamp(1.15rem,3vw,2.4rem);
  color:var(--read-muted);
  line-height:2.05;
}
.lesson-document h2,
.lesson-document h3,
.lesson-document h4{
  color:var(--read-ink);
  line-height:1.45;
  margin:1.4rem 0 .7rem;
}
.lesson-document h2{
  font-size:clamp(1.55rem,3vw,2.25rem);
}
.lesson-document p{
  margin:.75rem 0;
}
.lesson-document ul{
  padding-inline-start:1.2rem;
}
.lesson-document li{
  margin:.38rem 0;
}
.lesson-figure-card{
  padding:clamp(1rem,3vw,1.4rem);
  display:grid;
  grid-template-columns:minmax(260px,.8fr) minmax(0,1.2fr);
  gap:1rem;
  align-items:center;
}
.lesson-figure-card h2{
  margin:.25rem 0 .7rem;
  color:var(--read-ink);
}
.lesson-figure-card p,
.lesson-figure-card figcaption{
  color:var(--read-muted);
  line-height:1.85;
}
.lesson-figure-card figure{
  margin:0;
}
.lesson-figure-card img{
  width:100%;
  display:block;
  border-radius:16px;
  border:1px solid rgba(232,205,154,.18);
}
.lesson-concept-card{
  grid-template-columns:minmax(260px,.9fr) minmax(280px,1.1fr);
}
.concept-visual{
  min-height:260px;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:.9rem;
  flex-wrap:wrap;
  border-radius:18px;
  border:1px solid rgba(232,205,154,.18);
  background:
    radial-gradient(circle at 25% 35%,rgba(195,157,83,.16),transparent 28%),
    radial-gradient(circle at 75% 70%,rgba(92,119,88,.22),transparent 28%),
    rgba(11,14,10,.42);
}
.concept-visual b{
  min-width:110px;
  text-align:center;
  padding:.8rem 1rem;
  border-radius:999px;
  color:var(--read-ink);
  background:rgba(255,244,223,.08);
  border:1px solid rgba(232,205,154,.2);
}
.concept-visual i{
  width:42px;
  height:1px;
  background:linear-gradient(90deg,transparent,rgba(232,205,154,.65),transparent);
}
.lesson-learning-kit{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:1rem;
}
.lesson-learning-kit article,
.lesson-journal-box{
  padding:1.1rem;
}
.lesson-learning-kit h2,
.lesson-journal-box h2{
  margin:.35rem 0 .7rem;
  color:var(--read-ink);
  font-size:1.2rem;
}
.lesson-pager{
  display:flex;
  justify-content:space-between;
  gap:1rem;
  flex-wrap:wrap;
}
.academy-hub-shell{
  width:min(1180px,calc(100% - 2rem));
  margin:0 auto 1.4rem;
  display:grid;
  gap:1.2rem;
}
.academy-path-nav{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:1rem;
}
.academy-path-nav a,
.academy-spine-block{
  border:1px solid rgba(232,205,154,.18);
  border-radius:22px;
  background:linear-gradient(135deg,rgba(255,244,223,.085),rgba(255,244,223,.035));
  box-shadow:0 18px 58px rgba(0,0,0,.16);
}
.academy-path-nav a{
  padding:1rem;
  display:grid;
  gap:.35rem;
  text-decoration:none;
}
.academy-path-nav strong{
  color:var(--read-gold);
  font-size:1.15rem;
}
.academy-path-nav span{
  color:var(--read-ink);
  font-weight:850;
  line-height:1.7;
}
.academy-path-nav small{
  color:var(--read-muted);
}
.academy-spine-block{
  padding:1.2rem;
}
.academy-catalog-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:1rem;
}
.academy-catalog-card{
  padding:1rem;
  border-radius:18px;
  border:1px solid rgba(232,205,154,.14);
  background:rgba(10,12,9,.32);
  display:grid;
  gap:.45rem;
}
.academy-catalog-card span{
  color:var(--read-gold);
  font-weight:950;
}
.academy-catalog-card small{
  color:var(--read-muted);
}
.academy-catalog-card h3{
  margin:0;
  color:var(--read-ink);
  line-height:1.65;
}
.academy-catalog-card p{
  margin:0;
  color:var(--read-muted);
  line-height:1.85;
}
.academy-catalog-card a{
  color:var(--read-gold);
  text-decoration:none;
  font-weight:850;
}
.lesson-context-strip{
  display:flex;
  justify-content:flex-start;
  margin-bottom:.45rem;
}
.lesson-context-chip{
  display:grid;
  gap:.2rem;
  min-width:min(420px,100%);
  padding:.85rem 1rem;
  text-decoration:none;
  border-radius:18px;
  border:1px solid rgba(232,205,154,.12);
  background:rgba(12,13,10,.32);
  transition:border-color .18s ease,background .18s ease,transform .18s ease;
}
.lesson-context-chip:hover,
.lesson-context-chip:focus-visible{
  transform:translateY(-2px);
  border-color:rgba(205,173,112,.26);
  background:rgba(205,173,112,.08);
}
.lesson-context-chip strong{
  color:var(--read-ink);
  font-size:1rem;
  line-height:1.65;
}
.lesson-context-chip small{
  color:var(--read-muted);
  font-size:.86rem;
}
.academy-tree-shell,
.academy-neural-shell{
  width:min(1240px,calc(100% - 2rem));
  margin:0 auto 1.6rem;
  padding:clamp(1.3rem,2.4vw,2rem);
  border-radius:32px;
  border:1px solid rgba(232,205,154,.12);
  background:
    radial-gradient(circle at 50% 14%,rgba(202,173,118,.07),transparent 28%),
    linear-gradient(180deg,rgba(255,248,236,.05),rgba(255,248,236,.015));
  box-shadow:0 24px 60px rgba(0,0,0,.18);
}
.academy-tree-shell{
  overflow:hidden;
}
.academy-tree-core,
.academy-neural-core{
  display:grid;
  place-items:center;
  text-align:center;
  min-height:216px;
  padding:1.2rem 1.4rem;
  border-radius:999px;
  border:1px solid rgba(232,205,154,.12);
  background:
    radial-gradient(circle at 50% 44%,rgba(191,160,101,.12),transparent 62%),
    linear-gradient(180deg,rgba(21,19,14,.82),rgba(17,15,11,.9));
  color:var(--read-ink);
  position:relative;
  overflow:hidden;
  box-shadow:
    inset 0 0 0 1px rgba(255,244,223,.03),
    0 10px 30px rgba(0,0,0,.12);
}
.academy-tree-core::before,
.academy-neural-core::before{
  content:"";
  position:absolute;
  inset:12px;
  border-radius:inherit;
  border:1px solid rgba(232,205,154,.08);
}
.academy-tree-core span,
.academy-neural-core span{
  color:var(--read-gold);
  font-size:.76rem;
  font-weight:900;
  letter-spacing:.14em;
  text-transform:uppercase;
}
.academy-tree-core strong,
.academy-neural-core strong{
  position:relative;
  z-index:1;
  color:var(--read-ink);
  font-size:clamp(1.35rem,2.3vw,2rem);
  line-height:1.28;
}
.academy-tree-core small,
.academy-neural-core small{
  position:relative;
  z-index:1;
  max-width:15rem;
  color:var(--read-muted);
  line-height:1.8;
  font-size:.95rem;
}
.academy-neural-core p{
  position:relative;
  z-index:1;
  margin:.2rem 0 0;
  max-width:17rem;
  color:var(--read-soft);
  line-height:1.78;
  font-size:.84rem;
}
.academy-tree-diagram{
  position:relative;
  width:min(980px,100%);
  min-height:var(--tree-height,1280px);
  margin:0 auto;
}
.academy-tree-lines,
.academy-neural-lines{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  pointer-events:none;
}
.academy-tree-lines .tree-grid ellipse{
  fill:none;
  stroke:rgba(232,205,154,.045);
  stroke-width:1.2;
}
.academy-tree-lines .tree-links line,
.academy-tree-lines .tree-links path{
  fill:none;
  stroke:rgba(205,173,112,.28);
  stroke-width:1.8;
  stroke-linecap:round;
}
.academy-tree-lines .tree-links circle{
  fill:rgba(204,172,109,.46);
  stroke:rgba(255,245,220,.28);
  stroke-width:1;
}
.academy-tree-core{
  position:absolute;
  top:34px;
  left:50%;
  width:280px;
  min-height:188px;
  transform:translateX(-50%);
  z-index:2;
}
.academy-tree-node,
.academy-neural-node{
  position:relative;
  display:grid;
  gap:.4rem;
  text-decoration:none;
  padding:1rem 1.05rem;
  border-radius:20px;
  border:1px solid rgba(232,205,154,.14);
  background:rgba(10,12,9,.34);
  box-shadow:0 12px 36px rgba(0,0,0,.16);
  transition:transform .2s ease,border-color .2s ease,background .2s ease;
}
.academy-tree-branch{
  position:absolute;
  width:290px;
  min-height:108px;
  padding:1rem 1.05rem 1rem;
  background:linear-gradient(180deg,rgba(17,15,11,.86),rgba(17,15,11,.72));
  border-color:rgba(232,205,154,.1);
  box-shadow:
    inset 0 0 0 1px rgba(255,244,223,.02),
    0 16px 30px rgba(0,0,0,.16);
}
.academy-tree-branch::after,
.academy-neural-node::before{
  content:"";
  position:absolute;
  top:50%;
  width:12px;
  height:12px;
  transform:translateY(-50%);
  border-radius:999px;
  border:1px solid rgba(232,205,154,.22);
  background:rgba(187,151,83,.18);
  box-shadow:0 0 0 4px rgba(187,151,83,.04);
}
.academy-tree-branch.branch-left::after{
  right:-23px;
}
.academy-tree-branch.branch-right::after{
  left:-23px;
}
.academy-tree-node:hover{
  transform:translateY(-3px);
  border-color:rgba(232,205,154,.26);
  background:linear-gradient(180deg,rgba(24,21,15,.9),rgba(18,16,12,.78));
}
.academy-neural-node:hover,
.academy-neural-node:focus-visible{
  border-color:rgba(232,205,154,.26);
  background:linear-gradient(180deg,rgba(25,22,16,.92),rgba(17,15,11,.82));
}
.academy-tree-node span,
.academy-neural-node span{
  color:var(--read-gold);
  font-size:.76rem;
  font-weight:950;
  letter-spacing:.08em;
}
.academy-tree-node strong,
.academy-neural-node strong{
  color:var(--read-ink);
  font-size:1rem;
  line-height:1.55;
}
.academy-tree-node small,
.academy-neural-node small{
  color:var(--read-muted);
  line-height:1.7;
  font-size:.92rem;
}
.academy-tree-node.locked{
  opacity:.6;
  pointer-events:none;
}
.academy-neural-shell{
  position:relative;
  overflow:visible;
  padding-top:1.1rem;
}
.academy-neural-diagram{
  position:relative;
  width:min(1180px,100%);
  min-height:680px;
  margin:0 auto;
}
.academy-neural-lines .neural-orbits circle{
  fill:none;
  stroke:rgba(232,205,154,.045);
  stroke-width:.9;
  animation:neuralOrbitPulse 10s ease-in-out infinite;
}
.academy-neural-lines .neural-orbits ellipse{
  fill:none;
  stroke:rgba(232,205,154,.05);
  stroke-width:1;
  animation:neuralOrbitPulse 10s ease-in-out infinite;
}
.academy-neural-lines .neural-links path{
  fill:none;
  stroke:rgba(204,172,109,.15);
  stroke-width:1.05;
  stroke-linecap:round;
  stroke-dasharray:6 13;
}
.academy-neural-lines .neural-links circle{
  fill:rgba(204,172,109,.28);
  stroke:rgba(255,244,223,.14);
  stroke-width:.9;
}
.academy-neural-core{
  position:absolute;
  top:50%;
  left:50%;
  width:308px;
  min-height:188px;
  transform:translate(-50%,-50%);
  z-index:3;
  border-radius:30px;
  animation:neuralCoreFloat 11s ease-in-out infinite;
}
.academy-neural-node{
  position:absolute;
  width:156px;
  min-height:84px;
  padding:.78rem .9rem;
  background:linear-gradient(180deg,rgba(24,21,16,.64),rgba(16,14,10,.52));
  border-color:rgba(232,205,154,.08);
  box-shadow:
    inset 0 0 0 1px rgba(255,244,223,.02),
    0 5px 14px rgba(0,0,0,.10);
  z-index:2;
  text-align:center;
  align-content:center;
  backdrop-filter:blur(5px);
  animation:neuralNodeFloat var(--float-duration,9s) ease-in-out infinite;
  animation-delay:var(--float-delay,0s);
}
.academy-neural-node::before{
  left:50%;
  margin-left:-6px;
}
.academy-neural-node strong{
  display:-webkit-box;
  -webkit-line-clamp:2;
  -webkit-box-orient:vertical;
  overflow:hidden;
  font-size:.92rem;
  line-height:1.45;
}
.academy-neural-node small{
  display:none;
}
.academy-neural-popover{
  position:absolute;
  right:50%;
  bottom:calc(100% + 16px);
  width:220px;
  padding:.8rem .9rem;
  border-radius:18px;
  border:1px solid rgba(232,205,154,.10);
  background:linear-gradient(180deg,rgba(23,20,15,.9),rgba(16,14,10,.88));
  box-shadow:0 12px 30px rgba(0,0,0,.22);
  opacity:0;
  transform:translate(50%,10px) scale(.98);
  pointer-events:none;
  transition:opacity .18s ease,transform .18s ease;
  z-index:8;
}
.academy-neural-popover b{
  display:block;
  color:var(--read-ink);
  font-size:.88rem;
  line-height:1.65;
  margin-bottom:.35rem;
}
.academy-neural-popover p{
  margin:0;
  color:var(--read-muted);
  font-size:.77rem;
  line-height:1.75;
}
.academy-neural-popover em{
  display:block;
  margin-top:.45rem;
  color:var(--read-gold);
  font-style:normal;
  font-size:.73rem;
  font-weight:800;
}
.academy-neural-node:hover,
.academy-neural-node:focus-visible{
  z-index:9;
}
.academy-neural-node:hover .academy-neural-popover,
.academy-neural-node:focus-visible .academy-neural-popover{
  opacity:1;
  transform:translate(50%,0) scale(1);
}
.academy-lesson-index{
  width:min(1240px,calc(100% - 2rem));
  margin:0 auto 2rem;
}
.academy-galaxy-shell{
  width:min(1240px,calc(100% - 2rem));
  margin:0 auto 2.4rem;
  display:grid;
  gap:1.6rem;
}
.academy-galaxy-diagram{
  position:relative;
  min-height:980px;
  border-radius:36px;
  border:1px solid rgba(232,205,154,.12);
  background:
    radial-gradient(circle at 50% 50%, rgba(186,151,91,.16), transparent 28%),
    radial-gradient(circle at 50% 50%, rgba(255,244,223,.04), transparent 18%),
    linear-gradient(180deg, rgba(23,21,17,.88), rgba(16,14,11,.82));
  overflow:hidden;
  box-shadow:0 18px 54px rgba(0,0,0,.18);
}
.academy-galaxy-lines{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  pointer-events:none;
}
.academy-galaxy-lines .galaxy-orbits ellipse{
  fill:none;
  stroke:rgba(232,205,154,.06);
  stroke-width:1;
  animation:neuralOrbitPulse 12s ease-in-out infinite;
}
.academy-galaxy-lines .galaxy-links path{
  fill:none;
  stroke:rgba(205,173,112,.18);
  stroke-width:1.2;
  stroke-dasharray:8 12;
  stroke-linecap:round;
  animation:galaxyLinkPulse 8s ease-in-out infinite;
}
.academy-galaxy-core{
  position:absolute;
  top:50%;
  left:50%;
  width:264px;
  min-height:188px;
  transform:translate(-50%,-50%);
  display:grid;
  align-content:center;
  gap:.55rem;
  padding:1.05rem 1.15rem;
  text-align:center;
  border-radius:34px;
  border:1px solid rgba(232,205,154,.14);
  background:linear-gradient(180deg,rgba(20,18,14,.94),rgba(14,13,10,.9));
  box-shadow:0 14px 36px rgba(0,0,0,.2);
  z-index:2;
  animation:neuralCoreFloat 12s ease-in-out infinite;
  pointer-events:none;
}
.academy-galaxy-core span,
.academy-cluster-header span{
  color:var(--read-gold);
  font-size:.78rem;
  font-weight:900;
  letter-spacing:.08em;
}
.academy-galaxy-core strong{
  color:var(--read-ink);
  font-size:clamp(1.7rem,2.5vw,2.35rem);
  line-height:1.35;
}
.academy-galaxy-core small{
  color:var(--read-muted);
  font-size:.92rem;
}
.academy-galaxy-core p{
  margin:0;
  color:var(--read-muted);
  line-height:1.85;
  font-size:.92rem;
}
.academy-galaxy-node{
  position:absolute;
  width:clamp(160px,12vw,184px);
  min-height:94px;
  display:grid;
  gap:.26rem;
  align-content:center;
  padding:.72rem .82rem;
  text-decoration:none;
  border-radius:24px;
  border:1px solid rgba(232,205,154,.12);
  background:linear-gradient(180deg,rgba(26,23,18,.88),rgba(16,14,11,.8));
  box-shadow:0 12px 28px rgba(0,0,0,.16);
  transition:transform .2s ease,border-color .2s ease,background .2s ease,box-shadow .2s ease;
  z-index:3;
  animation:galaxyNodeFloat var(--galaxy-float-duration,12s) ease-in-out infinite;
  animation-delay:var(--galaxy-float-delay,0s);
  text-align:center;
  cursor:pointer;
  pointer-events:auto;
}
.academy-galaxy-node:hover,
.academy-galaxy-node:focus-visible{
  transform:translate3d(0,-4px,0);
  border-color:rgba(232,205,154,.28);
  background:linear-gradient(180deg,rgba(30,27,21,.92),rgba(17,15,12,.86));
  box-shadow:0 18px 34px rgba(0,0,0,.2);
}
.academy-galaxy-node span{
  color:var(--read-gold);
  font-size:.76rem;
  font-weight:900;
}
.academy-galaxy-node strong{
  color:var(--read-ink);
  font-size:.98rem;
  line-height:1.45;
}
.academy-galaxy-node small{
  color:var(--read-gold);
  font-size:.78rem;
  font-weight:800;
}
.academy-galaxy-popover{
  position:absolute;
  right:50%;
  top:calc(100% + 14px);
  width:230px;
  padding:.8rem .88rem;
  border-radius:18px;
  border:1px solid rgba(232,205,154,.12);
  background:linear-gradient(180deg,rgba(23,20,15,.94),rgba(16,14,10,.92));
  box-shadow:0 14px 34px rgba(0,0,0,.24);
  opacity:0;
  transform:translate(calc(50% + var(--popover-shift-x, 0px)),calc(-10px + var(--popover-shift-y, 0px))) scale(.98);
  pointer-events:none;
  transition:opacity .18s ease,transform .18s ease;
  z-index:10;
  text-align:right;
}
.academy-galaxy-node.popover-top .academy-galaxy-popover{
  top:auto;
  bottom:calc(100% + 14px);
  transform:translate(calc(50% + var(--popover-shift-x, 0px)),calc(10px + var(--popover-shift-y, 0px))) scale(.98);
}
.academy-galaxy-node.popover-bottom .academy-galaxy-popover{
  top:calc(100% + 14px);
  bottom:auto;
  transform:translate(calc(50% + var(--popover-shift-x, 0px)),calc(-10px + var(--popover-shift-y, 0px))) scale(.98);
}
.academy-galaxy-node.popover-right .academy-galaxy-popover{
  top:50%;
  right:auto;
  left:calc(100% + 14px);
  bottom:auto;
  transform:translate(calc(-10px + var(--popover-shift-x, 0px)),calc(-50% + var(--popover-shift-y, 0px))) scale(.98);
}
.academy-galaxy-node.popover-left .academy-galaxy-popover{
  top:50%;
  left:auto;
  right:calc(100% + 14px);
  bottom:auto;
  transform:translate(calc(10px + var(--popover-shift-x, 0px)),calc(-50% + var(--popover-shift-y, 0px))) scale(.98);
}
.academy-galaxy-popover b{
  display:block;
  color:var(--read-ink);
  font-size:.87rem;
  line-height:1.6;
  margin-bottom:.35rem;
}
.academy-galaxy-popover p{
  margin:0;
  color:var(--read-muted);
  font-size:.77rem;
  line-height:1.8;
}
.academy-galaxy-popover em{
  display:block;
  margin-top:.42rem;
  color:var(--read-gold);
  font-style:normal;
  font-size:.72rem;
  font-weight:800;
}
.academy-galaxy-node:hover .academy-galaxy-popover,
.academy-galaxy-node:focus-visible .academy-galaxy-popover{
  opacity:1;
}
.academy-galaxy-node.popover-top:hover .academy-galaxy-popover,
.academy-galaxy-node.popover-top:focus-visible .academy-galaxy-popover{
  transform:translate(calc(50% + var(--popover-shift-x, 0px)),var(--popover-shift-y, 0px)) scale(1);
}
.academy-galaxy-node.popover-bottom:hover .academy-galaxy-popover,
.academy-galaxy-node.popover-bottom:focus-visible .academy-galaxy-popover{
  transform:translate(calc(50% + var(--popover-shift-x, 0px)),var(--popover-shift-y, 0px)) scale(1);
}
.academy-galaxy-node.popover-right:hover .academy-galaxy-popover,
.academy-galaxy-node.popover-right:focus-visible .academy-galaxy-popover{
  transform:translate(var(--popover-shift-x, 0px),calc(-50% + var(--popover-shift-y, 0px))) scale(1);
}
.academy-galaxy-node.popover-left:hover .academy-galaxy-popover,
.academy-galaxy-node.popover-left:focus-visible .academy-galaxy-popover{
  transform:translate(var(--popover-shift-x, 0px),calc(-50% + var(--popover-shift-y, 0px))) scale(1);
}
.academy-cluster-stack{
  display:grid;
  gap:1rem;
}
.academy-cluster-section{
  padding:1.1rem 1.1rem 1.2rem;
  border-radius:28px;
  border:1px solid rgba(232,205,154,.12);
  background:linear-gradient(180deg,rgba(21,19,15,.78),rgba(13,12,10,.68));
  box-shadow:0 14px 36px rgba(0,0,0,.12);
  scroll-margin-top:110px;
}
.academy-cluster-header{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:1rem;
  margin-bottom:.95rem;
}
.academy-cluster-header h2{
  margin:.2rem 0 .35rem;
  color:var(--read-ink);
  font-size:1.26rem;
  line-height:1.45;
}
.academy-cluster-header p{
  margin:0;
  color:var(--read-muted);
  line-height:1.85;
}
.academy-cluster-header small{
  color:var(--read-gold);
  font-size:.84rem;
  font-weight:900;
  white-space:nowrap;
}
.academy-cluster-lesson-grid{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:.8rem;
}
.academy-cluster-lesson-card{
  display:grid;
  gap:.32rem;
  padding:.9rem .95rem;
  text-decoration:none;
  border-radius:18px;
  border:1px solid rgba(232,205,154,.1);
  background:rgba(255,244,223,.03);
  transition:transform .18s ease,border-color .18s ease,background .18s ease;
}
.academy-cluster-lesson-card:hover,
.academy-cluster-lesson-card:focus-visible{
  transform:translateY(-2px);
  border-color:rgba(205,173,112,.22);
  background:rgba(205,173,112,.06);
}
.academy-cluster-lesson-card span{
  color:var(--read-gold);
  font-size:.74rem;
  font-weight:900;
}
.academy-cluster-lesson-card strong{
  color:var(--read-ink);
  font-size:.92rem;
  line-height:1.75;
}
.accent-sage{
  background-image:linear-gradient(180deg,rgba(30,35,26,.9),rgba(16,14,11,.8));
}
.accent-sand{
  background-image:linear-gradient(180deg,rgba(40,31,20,.88),rgba(16,14,11,.8));
}
.accent-olive{
  background-image:linear-gradient(180deg,rgba(35,36,24,.9),rgba(16,14,11,.8));
}
.accent-bronze{
  background-image:linear-gradient(180deg,rgba(44,29,18,.9),rgba(16,14,11,.8));
}
.accent-mist{
  background-image:linear-gradient(180deg,rgba(27,31,31,.9),rgba(16,14,11,.8));
}
.accent-ink{
  background-image:linear-gradient(180deg,rgba(23,25,30,.9),rgba(16,14,11,.8));
}
.accent-stone{
  background-image:linear-gradient(180deg,rgba(31,29,25,.9),rgba(16,14,11,.8));
}
.accent-gold{
  background-image:linear-gradient(180deg,rgba(42,34,19,.9),rgba(16,14,11,.8));
}
@keyframes galaxyNodeFloat{
  0%,100%{ transform:translate3d(0,0,0); }
  50%{ transform:translate3d(var(--galaxy-float-x,0px),calc(var(--galaxy-float-y,7px) * -1),0); }
}
@keyframes galaxyLinkPulse{
  0%,100%{ opacity:.65; }
  50%{ opacity:1; }
}
.academy-index-grid{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:.8rem;
}
.academy-index-card{
  display:grid;
  gap:.35rem;
  padding:.9rem 1rem;
  text-decoration:none;
  border-radius:18px;
  border:1px solid rgba(232,205,154,.12);
  background:rgba(13,14,10,.28);
  transition:transform .18s ease,border-color .18s ease,background .18s ease;
}
.academy-index-card:hover,
.academy-index-card:focus-visible{
  transform:translateY(-2px);
  border-color:rgba(205,173,112,.28);
  background:rgba(205,173,112,.08);
}
.academy-index-card span{
  color:var(--read-gold);
  font-size:.76rem;
  font-weight:900;
}
.academy-index-card strong{
  color:var(--read-ink);
  font-size:.95rem;
  line-height:1.7;
}

@keyframes neuralNodeFloat{
  0%,100%{ transform:translate3d(0,0,0); }
  50%{ transform:translate3d(var(--float-x,0px),calc(var(--float-y,10px) * -1),0); }
}
@keyframes neuralCoreFloat{
  0%,100%{ transform:translate(-50%,-50%); }
  50%{ transform:translate(-50%,calc(-50% - 8px)); }
}
@keyframes neuralOrbitPulse{
  0%,100%{ opacity:.85; }
  50%{ opacity:.45; }
}
.lesson-opening-line,
.lesson-replay-box,
.lesson-quiz-shell,
.lesson-journal-box{
  border:1px solid rgba(232,205,154,.16);
  border-radius:24px;
  background:linear-gradient(135deg,rgba(255,244,223,.08),rgba(255,244,223,.03));
  box-shadow:0 18px 54px rgba(0,0,0,.16);
}
.lesson-opening-line{
  display:grid;
  gap:.55rem;
  padding:1.2rem 1.25rem;
}
.lesson-opening-line span{
  color:var(--read-gold);
  font-size:.82rem;
  font-weight:900;
  letter-spacing:.08em;
}
.lesson-opening-line blockquote{
  margin:0;
  color:var(--read-ink);
  font-size:clamp(1.1rem,2vw,1.4rem);
  line-height:2;
}
.lesson-opening-line small{
  color:var(--read-muted);
}
.lesson-replay-box,
.lesson-quiz-shell{
  padding:1.2rem;
}
.lesson-replay-grid,
.lesson-quiz-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:1rem;
}
.lesson-replay-grid article,
.lesson-quiz-card{
  padding:1rem;
  border-radius:20px;
  border:1px solid rgba(232,205,154,.14);
  background:rgba(10,12,9,.34);
}
.lesson-replay-grid span,
.lesson-quiz-card span{
  color:var(--read-gold);
  font-size:.8rem;
  font-weight:950;
  letter-spacing:.08em;
}
.lesson-replay-grid h3,
.lesson-quiz-card h3{
  margin:.45rem 0 .65rem;
  color:var(--read-ink);
}
.lesson-replay-grid p,
.lesson-quiz-card p{
  color:var(--read-muted);
  line-height:1.9;
}
.lesson-quiz-clue{
  margin:-.15rem 0 .15rem;
  font-size:.88rem;
  color:rgba(236,223,198,.76);
}
.lesson-replay-chart{
  margin-top:1rem;
  min-height:240px;
  display:grid;
  gap:.85rem;
  padding:1rem;
  border-radius:18px;
  border:1px solid rgba(232,205,154,.12);
  background:rgba(7,9,7,.36);
  cursor:zoom-in;
  position:relative;
}
.lesson-replay-chart--rich{
  align-items:start;
}
.lesson-replay-chart::after,
.lesson-asset-chart::after,
.lesson-diagram-card::after{
  content:attr(data-expand-label);
  position:absolute;
  top:14px;
  left:14px;
  padding:.34rem .62rem;
  border-radius:999px;
  border:1px solid rgba(232,205,154,.16);
  background:rgba(10,12,9,.74);
  color:var(--read-ink);
  font-size:.74rem;
  font-weight:850;
  opacity:0;
  transform:translateY(4px);
  transition:opacity .18s ease,transform .18s ease;
  pointer-events:none;
}
.lesson-replay-chart:hover::after,
.lesson-replay-chart:focus-visible::after,
.lesson-asset-chart:hover::after,
.lesson-asset-chart:focus-visible::after,
.lesson-diagram-card:hover::after,
.lesson-diagram-card:focus-visible::after{
  opacity:1;
  transform:translateY(0);
}
.lesson-chart-svg{
  width:100%;
  height:auto;
  border-radius:18px;
  background:
    radial-gradient(circle at 50% 30%,rgba(185,149,88,.08),transparent 48%),
    linear-gradient(180deg,rgba(255,255,255,.015),rgba(255,255,255,.01));
}
.lesson-chart-svg rect{
  fill:rgba(13,14,10,.72);
  stroke:rgba(232,205,154,.12);
}
.lesson-chart-svg .chart-axis-tick line{
  stroke:rgba(255,244,223,.08);
  stroke-width:1;
  stroke-dasharray:5 8;
}
.lesson-chart-svg .chart-axis-tick text,
.lesson-chart-svg .chart-time-tick,
.lesson-chart-svg .chart-callout text{
  fill:rgba(240,228,205,.82);
  font-size:11px;
  font-weight:700;
}
.lesson-chart-svg .chart-axis-tick text{
  text-anchor:end;
}
.lesson-chart-svg .chart-time-tick,
.lesson-chart-svg .chart-callout text{
  text-anchor:middle;
}
.lesson-chart-svg .chart-base line{
  stroke:rgba(232,205,154,.26);
  stroke-width:1.1;
}
.lesson-chart-svg .overlay-window rect,
.lesson-chart-svg .overlay-zone rect{
  fill:rgba(201,170,106,.08);
  stroke:rgba(201,170,106,.22);
}
.lesson-chart-svg .overlay-focus line,
.lesson-chart-svg .overlay-focus circle{
  stroke:rgba(210,182,124,.74);
  fill:rgba(210,182,124,.16);
  stroke-width:1.6;
}
.lesson-chart-svg .overlay-focus line{
  stroke-dasharray:7 8;
}
.lesson-chart-svg .series-candles .candle line{
  stroke-width:1.55;
  opacity:.96;
}
.lesson-chart-svg .series-candles .candle rect{
  stroke-width:1.15;
}
.lesson-chart-svg .series-main .candle.is-up line,
.lesson-chart-svg .series-main .candle.is-up rect{
  stroke:rgba(210,181,120,.96);
  fill:rgba(210,181,120,.26);
}
.lesson-chart-svg .series-main .candle.is-down line,
.lesson-chart-svg .series-main .candle.is-down rect{
  stroke:rgba(150,112,102,.92);
  fill:rgba(150,112,102,.22);
}
.lesson-chart-svg .chart-callout path{
  stroke:rgba(210,182,124,.44);
  stroke-width:1.2;
  fill:none;
}
.lesson-chart-svg .chart-callout rect{
  fill:rgba(18,19,14,.92);
  stroke:rgba(232,205,154,.16);
}
.lesson-chart-svg .chart-callout--1 rect{
  fill:rgba(50,60,46,.92);
}
.lesson-chart-svg .chart-callout--2 rect{
  fill:rgba(74,61,36,.92);
}
.lesson-chart-svg .chart-callout--3 rect{
  fill:rgba(45,50,60,.92);
}
.lesson-replay-chart figcaption{
  display:grid;
  gap:.35rem;
}
.lesson-replay-chart figcaption strong{
  color:var(--read-ink);
  font-size:1rem;
}
.lesson-replay-chart figcaption p{
  margin:0;
  color:var(--read-muted);
  line-height:1.9;
}
.lesson-asset-chart{
  display:grid;
  gap:.85rem;
  margin-top:1rem;
  cursor:zoom-in;
  position:relative;
}
.lesson-asset-chart-frame{
  position:relative;
  overflow:hidden;
  border-radius:18px;
  border:1px solid rgba(232,205,154,.12);
  background:rgba(10,11,9,.88);
  box-shadow:0 20px 46px rgba(0,0,0,.24);
}
.lesson-asset-chart-frame img{
  display:block;
  width:100%;
  height:auto;
}
.lesson-diagram-card{
  position:relative;
  cursor:zoom-in;
}
.lesson-expandable{
  outline:none;
}
.lesson-expandable:focus-visible{
  box-shadow:0 0 0 2px rgba(232,205,154,.28), 0 18px 54px rgba(0,0,0,.16);
}
.lesson-visual-modal{
  position:fixed;
  inset:0;
  z-index:1200;
  display:grid;
  place-items:center;
  padding:clamp(1rem,3vw,2rem);
  background:rgba(4,5,4,.78);
  backdrop-filter:blur(8px);
}
.lesson-visual-modal[hidden]{
  display:none;
}
.lesson-visual-modal-dialog{
  width:min(1240px,100%);
  max-height:92vh;
  overflow:auto;
  padding:1rem;
  border-radius:28px;
  border:1px solid rgba(232,205,154,.16);
  background:linear-gradient(180deg,rgba(19,17,13,.96),rgba(11,10,8,.94));
  box-shadow:0 24px 72px rgba(0,0,0,.34);
}
.lesson-visual-modal-toolbar{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:1rem;
  margin-bottom:.9rem;
}
.lesson-visual-modal-toolbar strong{
  color:var(--read-ink);
  font-size:1rem;
}
.lesson-visual-modal-close{
  border:none;
  border-radius:999px;
  padding:.62rem .92rem;
  background:rgba(255,244,223,.1);
  color:var(--read-ink);
  cursor:pointer;
  font:inherit;
  font-weight:850;
}
.lesson-visual-modal-close:hover,
.lesson-visual-modal-close:focus-visible{
  background:rgba(205,173,112,.18);
}
.lesson-visual-modal-body{
  display:grid;
  gap:1rem;
}
.lesson-visual-modal-body .lesson-replay-chart,
.lesson-visual-modal-body .lesson-asset-chart,
.lesson-visual-modal-body .lesson-diagram-card{
  cursor:default;
  margin-top:0;
}
.lesson-visual-modal-body .lesson-chart-svg,
.lesson-visual-modal-body .lesson-diagram-svg{
  width:100%;
  max-height:78vh;
}
.lesson-visual-modal-body .lesson-asset-chart-frame img{
  max-height:78vh;
  object-fit:contain;
}
.lesson-visual-modal-body .lesson-replay-chart::after,
.lesson-visual-modal-body .lesson-asset-chart::after,
.lesson-visual-modal-body .lesson-diagram-card::after{
  display:none;
}
.lesson-asset-pin{
  position:absolute;
  transform:translate(-50%,-50%);
  border:0;
  padding:0;
  background:transparent;
  cursor:default;
}
.lesson-asset-pin::before{
  content:"";
  display:block;
  width:14px;
  height:14px;
  margin:auto;
  border-radius:999px;
  background:rgba(209,180,119,.96);
  box-shadow:0 0 0 6px rgba(209,180,119,.14);
}
.lesson-asset-pin span{
  display:inline-flex;
  margin-top:.5rem;
  padding:.32rem .65rem;
  border-radius:999px;
  border:1px solid rgba(232,205,154,.18);
  background:rgba(15,16,12,.92);
  color:var(--read-ink);
  font-size:.8rem;
  white-space:nowrap;
  box-shadow:0 10px 26px rgba(0,0,0,.2);
}
.lesson-asset-chart figcaption{
  display:grid;
  gap:.35rem;
}
.lesson-asset-chart figcaption strong{
  color:var(--read-ink);
}
.lesson-asset-chart figcaption p{
  margin:0;
  color:var(--read-muted);
  line-height:1.85;
}
.lesson-diagram-card{
  margin-top:1rem;
  display:grid;
  gap:.85rem;
  padding:1rem;
  border-radius:18px;
  border:1px solid rgba(232,205,154,.12);
  background:rgba(7,9,7,.36);
}
.lesson-diagram-svg{
  width:100%;
  height:auto;
  border-radius:18px;
  background:
    radial-gradient(circle at 50% 30%,rgba(185,149,88,.08),transparent 48%),
    linear-gradient(180deg,rgba(255,255,255,.015),rgba(255,255,255,.01));
}
.lesson-diagram-orbit{
  fill:none;
  stroke:rgba(232,205,154,.1);
  stroke-width:1.2;
}
.lesson-diagram-orbit--outer{
  stroke:rgba(232,205,154,.06);
}
.lesson-diagram-links path{
  fill:none;
  stroke:rgba(201,170,106,.32);
  stroke-width:2.2;
  stroke-dasharray:9 10;
}
.lesson-diagram-core rect,
.lesson-diagram-node rect{
  fill:rgba(14,15,11,.82);
  stroke:rgba(232,205,154,.14);
}
.lesson-diagram-core text,
.lesson-diagram-node text{
  fill:#f3ead7;
  text-anchor:middle;
  font-family:var(--font-ui);
  font-weight:800;
}
.lesson-diagram-core text:nth-of-type(1){
  font-size:20px;
}
.lesson-diagram-core text:nth-of-type(2),
.lesson-diagram-core text:nth-of-type(3),
.lesson-diagram-node text:nth-of-type(2){
  fill:rgba(230,212,180,.78);
  font-size:12px;
  font-weight:700;
}
.lesson-diagram-node text:nth-of-type(1){
  font-size:16px;
}
.lesson-diagram-card--sage .lesson-diagram-core rect,
.lesson-diagram-card--sage .lesson-diagram-node rect{stroke:rgba(122,164,122,.26)}
.lesson-diagram-card--mist .lesson-diagram-core rect,
.lesson-diagram-card--mist .lesson-diagram-node rect{stroke:rgba(112,142,158,.26)}
.lesson-diagram-card--sand .lesson-diagram-core rect,
.lesson-diagram-card--sand .lesson-diagram-node rect{stroke:rgba(193,163,101,.26)}
.lesson-diagram-card--olive .lesson-diagram-core rect,
.lesson-diagram-card--olive .lesson-diagram-node rect{stroke:rgba(121,136,92,.26)}
.lesson-diagram-card--bronze .lesson-diagram-core rect,
.lesson-diagram-card--bronze .lesson-diagram-node rect{stroke:rgba(170,124,88,.26)}
.lesson-diagram-card--gold .lesson-diagram-core rect,
.lesson-diagram-card--gold .lesson-diagram-node rect{stroke:rgba(201,170,106,.26)}
.lesson-diagram-card--ink .lesson-diagram-core rect,
.lesson-diagram-card--ink .lesson-diagram-node rect{stroke:rgba(140,138,180,.24)}
.lesson-quiz-card{
  display:grid;
  gap:.75rem;
}
.lesson-quiz-card textarea{
  width:100%;
  resize:vertical;
  min-height:120px;
  padding:.9rem 1rem;
  border-radius:16px;
  border:1px solid rgba(232,205,154,.14);
  background:rgba(255,248,236,.92);
  color:#30281d;
  font:inherit;
  line-height:1.9;
}
.lesson-quiz-card button{
  justify-self:start;
}
.lesson-quiz-result{
  min-height:52px;
  padding:.8rem .9rem;
  border-radius:14px;
  border:1px dashed rgba(232,205,154,.18);
  color:var(--read-muted);
  line-height:1.9;
}
.lesson-quiz-result strong,
.lesson-quiz-result small{
  display:block;
}
.lesson-quiz-result small{
  margin-top:.45rem;
  color:var(--read-ink);
}
.lesson-quiz-result.is-good{
  border-style:solid;
  border-color:rgba(122,164,122,.3);
  background:rgba(84,118,84,.14);
  color:#dce9d8;
}
.lesson-quiz-result.is-fix{
  border-style:solid;
  border-color:rgba(193,163,101,.3);
  background:rgba(193,163,101,.1);
  color:var(--read-ink);
}
.lesson-learning-kit p,
.lesson-learning-kit li,
.lesson-journal-box p{
  color:var(--read-muted);
  line-height:1.9;
}
.lesson-flow{
  display:flex;
  align-items:center;
  gap:.55rem;
  flex-wrap:wrap;
}
.lesson-flow b{
  padding:.55rem .7rem;
  border-radius:999px;
  background:rgba(232,205,154,.1);
  color:var(--read-ink);
}
.lesson-flow i{
  width:24px;
  height:1px;
  background:rgba(232,205,154,.42);
}
.product-kit-section{
  width:min(1180px,calc(100% - 2rem));
  margin-inline:auto;
}
.kit-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:1rem;
}
.kit-grid article,
.kit-steps{
  border:1px solid rgba(232,205,154,.18);
  border-radius:20px;
  background:linear-gradient(135deg,rgba(255,244,223,.085),rgba(255,244,223,.035));
  box-shadow:0 18px 58px rgba(0,0,0,.16);
  color:var(--read-ink);
}
.kit-grid article{
  padding:1.1rem;
}
.kit-grid article span{
  color:var(--read-gold);
  font-weight:950;
  letter-spacing:.08em;
}
.kit-grid h3,
.kit-steps h3{
  margin:.45rem 0 .75rem;
  color:var(--read-ink);
}
.kit-grid p,
.kit-grid li,
.kit-steps li{
  color:var(--read-muted);
  line-height:1.9;
}
.kit-grid code{
  display:block;
  white-space:normal;
  direction:ltr;
  text-align:left;
  margin-top:.7rem;
  padding:.75rem;
  border-radius:12px;
  background:rgba(5,8,6,.38);
  color:var(--read-gold);
  border:1px solid rgba(232,205,154,.15);
}
.kit-steps{
  margin-top:1rem;
  padding:1.2rem;
}
.kit-steps ol{
  margin:.5rem 0 0;
  padding-inline-start:1.2rem;
}
.kit-actions{
  display:flex;
  gap:.8rem;
  flex-wrap:wrap;
  margin-top:1rem;
}
.free-tool-page{
  padding-bottom:3rem;
}
.free-tool-hero{
  width:min(1180px,calc(100% - 2rem));
  margin:clamp(2rem,6vw,4rem) auto 1.2rem;
  padding:clamp(1.35rem,4vw,2.4rem);
  display:grid;
  grid-template-columns:minmax(0,1fr) 220px;
  gap:1rem;
  align-items:end;
  background:
    radial-gradient(circle at 18% 24%,rgba(187,151,83,.15),transparent 34%),
    linear-gradient(135deg,rgba(255,244,223,.09),rgba(255,244,223,.035));
  border:1px solid rgba(232,205,154,.2);
  border-radius:24px;
  box-shadow:0 24px 70px rgba(0,0,0,.2);
}
.free-tool-hero h1{
  margin:.35rem 0 .75rem;
  color:var(--read-ink);
  font-size:clamp(2.25rem,5vw,4.6rem);
}
.free-tool-hero p{
  margin:0;
  color:var(--read-muted);
  line-height:1.95;
}
.free-tool-hero aside{
  display:grid;
  gap:.55rem;
  padding:1rem;
  border-radius:18px;
  background:rgba(10,14,10,.44);
  border:1px solid rgba(232,205,154,.18);
  color:var(--read-muted);
}
.free-tool-hero aside strong{
  color:var(--read-ink);
}
.journal-builder,
.journal-preview-section,
.replay-free-shell{
  width:min(1180px,calc(100% - 2rem));
  margin:0 auto 1rem;
}
.journal-builder{
  display:grid;
  grid-template-columns:minmax(0,1.2fr) 320px;
  gap:1rem;
}
.journal-form-grid,
.journal-builder-side,
.journal-record,
.journal-empty,
.replay-frame{
  border:1px solid rgba(232,205,154,.18);
  border-radius:22px;
  background:linear-gradient(135deg,rgba(255,244,223,.085),rgba(255,244,223,.035));
  box-shadow:0 18px 58px rgba(0,0,0,.16);
}
.journal-form-grid{
  padding:1.1rem;
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:1rem;
}
.journal-form-grid label{
  display:grid;
  gap:.45rem;
}
.journal-form-grid label.wide{
  grid-column:1/-1;
}
.journal-form-grid span{
  color:var(--read-ink);
  font-weight:800;
}
.journal-form-grid input,
.journal-form-grid textarea{
  width:100%;
  border-radius:14px;
  border:1px solid rgba(232,205,154,.18);
  background:rgba(10,12,9,.52);
  color:var(--read-ink);
  padding:.85rem 1rem;
  font:inherit;
}
.journal-builder-side{
  padding:1rem;
  display:grid;
  align-content:start;
  gap:1rem;
}
.journal-list{
  display:grid;
  gap:1rem;
}
.journal-record,
.journal-empty{
  padding:1rem;
}
.journal-record strong{
  color:var(--read-ink);
}
.journal-record span,
.journal-record p,
.journal-empty{
  color:var(--read-muted);
}
.journal-record button{
  margin-top:.75rem;
}
.replay-free-shell{
  display:grid;
  gap:1rem;
}
.replay-frame{
  width:100%;
  min-height:960px;
}
@media(max-width:1100px){
  .academy-spine{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
  .academy-map-intro{
    grid-template-columns:1fr;
    align-items:start;
  }
  .faq-grid,
  .info-pillars{
    grid-template-columns:1fr 1fr;
  }
}
@media(max-width:680px){
  .actions{
    align-items:stretch;
    flex-direction:column;
  }
  .actions a{
    width:100%;
    justify-content:center;
  }
  .academy-spine,
  .academy-map-notes,
  .faq-grid,
  .info-pillars{
    grid-template-columns:1fr;
  }
  .academy-spine article{
    min-height:auto;
  }
  .academy-lesson-hero,
  .lesson-shell,
  .lesson-figure-card,
  .lesson-learning-kit,
  .kit-grid,
  .free-tool-hero,
  .journal-builder,
  .academy-path-nav,
  .academy-catalog-grid,
  .lesson-replay-grid,
  .lesson-quiz-grid{
    grid-template-columns:1fr;
  }
  .lesson-sidebar{
    position:relative;
    top:auto;
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
  .academy-tree-shell,
  .academy-neural-shell,
  .academy-galaxy-shell{
    padding-inline:1rem;
  }
  .academy-tree-diagram{
    min-height:auto;
    display:grid;
    gap:.9rem;
  }
  .academy-tree-lines{
    display:none;
  }
  .academy-tree-core{
    position:relative;
    inset:auto;
    transform:none;
    width:100%;
    min-height:220px;
    border-radius:32px;
  }
  .academy-tree-node,
  .academy-tree-branch{
    position:relative;
    inset:auto !important;
    width:100%;
    padding-inline:1rem;
  }
  .academy-tree-node::after,
  .academy-tree-branch.branch-left::after,
  .academy-tree-branch.branch-right::after{
    left:14px;
    right:auto;
  }
  .academy-neural-diagram{
    min-height:auto;
    display:grid;
    gap:.9rem;
    padding-top:.4rem;
  }
  .academy-neural-lines{
    display:none;
  }
  .academy-neural-core{
    position:relative;
    inset:auto;
    transform:none;
    width:100%;
    min-height:172px;
    animation:none;
  }
  .academy-neural-node{
    position:relative;
    inset:auto !important;
    width:100%;
    animation:none;
  }
  .academy-neural-popover{
    display:none;
  }
  .academy-galaxy-diagram{
    min-height:auto;
    display:grid;
    gap:.9rem;
    padding:1rem;
  }
  .academy-galaxy-lines{
    display:none;
  }
  .academy-galaxy-core{
    position:relative;
    inset:auto;
    transform:none;
    width:100%;
    min-height:180px;
  }
  .academy-galaxy-node{
    position:relative;
    inset:auto !important;
    width:100%;
    min-height:auto;
  }
  .academy-galaxy-popover{
    display:none;
  }
  .academy-cluster-lesson-grid{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
  .academy-cluster-header{
    flex-direction:column;
  }
  .academy-index-grid{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
  .lesson-replay-chart{
    min-height:200px;
    gap:.35rem;
  }
  .lesson-visual-modal{
    padding:.7rem;
  }
  .lesson-visual-modal-dialog{
    max-height:94vh;
    padding:.85rem;
    border-radius:22px;
  }
  .lesson-visual-modal-toolbar{
    align-items:flex-start;
  }
  .candle{
    width:14px;
  }
  .academy-lesson-hero h1{
    font-size:clamp(2rem,12vw,3.1rem);
  }
.journal-form-grid{
  grid-template-columns:1fr;
}
}
@media(max-width:520px){
  .academy-cluster-lesson-grid,
  .academy-index-grid{
    grid-template-columns:1fr;
  }
  .academy-galaxy-core strong{
    font-size:1.55rem;
  }
}

/* PRISM Core 80Q experience */
.assessment-hero{
  max-width:1120px;
  padding-bottom:clamp(1rem,4vw,2rem);
}
.assessment-hero h1{
  max-width:980px;
}
.assessment-meta{
  display:flex;
  justify-content:center;
  gap:.65rem;
  flex-wrap:wrap;
  margin-top:1rem;
}
.assessment-meta span{
  display:inline-flex;
  align-items:center;
  min-height:38px;
  padding:.5rem .8rem;
  border:1px solid rgba(232,205,154,.18);
  border-radius:999px;
  background:rgba(255,244,223,.10);
  color:var(--read-muted);
  font-weight:850;
}
.assessment-meta b{
  color:var(--read-gold);
}
.prism-tier-strip{
  width:min(1120px,calc(100% - 2rem));
  margin:0 auto clamp(1.2rem,3vw,2rem);
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:.8rem;
}
.prism-tier-strip article{
  padding:1rem;
  border:1px solid rgba(232,205,154,.16);
  border-radius:16px;
  background:rgba(18,17,13,.72);
  box-shadow:0 18px 54px rgba(0,0,0,.16);
}
.prism-tier-strip article.active{
  border-color:rgba(210,173,104,.46);
  background:linear-gradient(135deg,rgba(92,106,78,.46),rgba(18,17,13,.82));
}
.prism-tier-strip strong{
  display:block;
  color:var(--read-ink);
}
.prism-tier-strip span{
  display:inline-block;
  margin:.35rem 0;
  color:var(--read-gold);
  font-weight:900;
}
.prism-tier-strip p{
  margin:0;
  color:var(--read-muted)!important;
  line-height:1.65;
  font-size:.92rem;
}
.prism-core-shell{
  grid-template-columns:260px minmax(0,1fr);
  gap:1rem;
}
.prism-core-shell .prism-steps{
  position:sticky;
  top:92px;
  align-self:start;
  max-height:calc(100vh - 120px);
  overflow:auto;
  padding-inline-end:.15rem;
}
.prism-core-shell .prism-steps li{
  min-height:54px;
  background:rgba(18,17,13,.68)!important;
}
.prism-core-shell .prism-steps li b{
  color:var(--read-muted);
  font-size:.86rem;
}
.prism-core-shell .prism-steps li.active{
  background:rgba(92,106,78,.40)!important;
}
.prism-core-shell .prism-steps li.active b{
  color:var(--read-ink);
}
.prism-core-section{
  min-height:unset;
  align-content:start;
  padding-top:1rem;
}
.prism-core-section legend{
  width:100%;
  color:var(--read-ink)!important;
  font-size:clamp(1.6rem,3vw,2.8rem)!important;
  margin-bottom:.3rem;
}
.prism-core-section legend span{
  color:var(--read-gold);
  margin-inline-end:.55rem;
}
.assessment-section-note{
  margin:.2rem 0 1rem;
  color:var(--read-muted)!important;
}
.core-question-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:.8rem;
}
.core-question{
  padding:1rem;
  border:1px solid rgba(232,205,154,.16);
  border-radius:16px;
  background:rgba(255,244,223,.075);
}
.core-question h3{
  display:flex;
  align-items:flex-start;
  gap:.55rem;
  margin:0 0 .75rem;
  color:var(--read-ink);
  font-size:1rem;
  line-height:1.65;
}
.core-question h3 span{
  flex:0 0 auto;
  color:var(--read-gold);
  font-weight:950;
}
.core-question label{
  display:flex;
  align-items:flex-start;
  gap:.55rem;
  margin:.45rem 0;
  padding:.55rem .65rem;
  border:1px solid rgba(232,205,154,.11);
  border-radius:12px;
  background:rgba(255,244,223,.07);
  color:var(--read-muted);
  line-height:1.5;
}
.core-question input{
  flex:0 0 auto;
  margin-top:.25rem;
}
.assessment-actions{
  margin-top:1rem;
}
.assessment-actions a.secondary{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  text-decoration:none;
}
@media(max-width:1020px){
  .prism-core-shell{
    grid-template-columns:1fr;
  }
  .prism-core-shell .prism-steps{
    position:static;
    grid-template-columns:repeat(10,160px);
    overflow:auto;
    max-height:none;
    padding-bottom:.4rem;
  }
  .core-question-grid{
    grid-template-columns:1fr;
  }
}
@media(max-width:680px){
  .prism-tier-strip{
    grid-template-columns:1fr;
  }
  .assessment-stepped{
    padding:.8rem!important;
  }
  .core-question{
    padding:.85rem;
  }
  .core-question h3{
    font-size:.96rem;
  }
}

/* Auth and account refinement pass */
.auth-refined-page{
  min-height:calc(100vh - 70px);
  display:grid;
  align-items:center;
}
.auth-refined-flow{
  width:min(1120px,calc(100% - 2rem));
}
.auth-refined-flow .auth-copy{
  align-self:center;
}
.auth-refined-flow .auth-copy h1{
  color:var(--read-ink)!important;
  font-size:clamp(2.8rem,5vw,5.6rem);
  max-width:620px;
}
.auth-refined-flow .auth-copy p{
  max-width:560px;
  color:var(--read-muted)!important;
  font-size:1.02rem;
}
.auth-refined-flow .auth-panel{
  background:linear-gradient(145deg,rgba(18,17,13,.92),rgba(39,36,28,.86))!important;
  border:1px solid rgba(232,205,154,.22)!important;
  box-shadow:0 34px 90px rgba(0,0,0,.30)!important;
  color:var(--read-ink)!important;
}
.auth-refined-flow .auth-panel label{
  color:var(--read-gold)!important;
  font-weight:900;
}
.auth-refined-flow .auth-panel input{
  background:rgba(255,244,223,.12)!important;
  border-color:rgba(232,205,154,.22)!important;
  color:var(--read-ink)!important;
  min-height:54px;
}
.auth-refined-flow .auth-panel input::placeholder{
  color:rgba(234,220,195,.62)!important;
}
.auth-password-label{
  display:grid!important;
  gap:.42rem!important;
}
.auth-password-field{
  position:relative;
  display:block;
}
.auth-password-field input{
  width:100%;
  padding-inline-end:3.5rem!important;
}
html[dir="rtl"] .auth-password-field input{
  padding-inline-start:3.5rem!important;
  padding-inline-end:1rem!important;
}
.auth-password-toggle{
  position:absolute;
  inset-block:50% auto;
  inset-inline-end:.52rem;
  display:grid;
  place-items:center;
  width:2.75rem;
  height:2.75rem;
  padding:0;
  border:0;
  border-radius:999px;
  background:transparent;
  color:rgba(255,217,138,.86);
  cursor:pointer;
  transform:translateY(-50%);
}
html[dir="rtl"] .auth-password-toggle{
  inset-inline-end:auto;
  inset-inline-start:.52rem;
}
.auth-password-toggle:hover,
.auth-password-toggle:focus-visible{
  background:rgba(255,217,138,.12);
  outline:2px solid rgba(255,217,138,.42);
  outline-offset:2px;
}
.auth-password-toggle svg{
  width:1.15rem;
  height:1.15rem;
  fill:none;
  stroke:currentColor;
  stroke-width:1.9;
  stroke-linecap:round;
  stroke-linejoin:round;
  pointer-events:none;
}
.auth-refined-flow .auth-panel p a,
.auth-refined-flow .auth-panel .secondary{
  color:#2b2417!important;
}
.auth-refined-flow:after{
  content:"PRISM Core · 80Q · Free";
  display:flex;
  align-items:center;
  justify-content:center;
  min-height:42px;
  padding:.55rem .9rem;
  border:1px solid rgba(232,205,154,.18);
  border-radius:999px;
  background:rgba(255,244,223,.08);
  color:var(--read-gold);
  font-weight:950;
  justify-self:start;
}
[dir="rtl"] .auth-refined-flow:after{
  content:"PRISM Core · رایگان · ۸۰ سوال";
}

/* Final user-facing clarity pass */
.auth-refined-flow:after{
  display:none!important;
}
.home-guardrail-band{
  display:none!important;
}
.prism-assessment-page .assessment-stepped{
  background:rgba(18,17,13,.94)!important;
  border-color:rgba(210,173,104,.24)!important;
  box-shadow:0 34px 100px rgba(0,0,0,.34)!important;
}
.prism-assessment-page .assessment-step,
.prism-assessment-page .prism-core-section{
  background:transparent!important;
  border:0!important;
  padding:clamp(1rem,2vw,1.4rem)!important;
}
.prism-assessment-page .prism-core-section legend{
  float:none!important;
  width:auto!important;
  display:flex!important;
  align-items:center!important;
  justify-content:flex-end!important;
  gap:.7rem!important;
  margin:0 0 1rem!important;
  padding:0!important;
  font-size:clamp(1.35rem,2.2vw,2.25rem)!important;
  line-height:1.15!important;
  letter-spacing:0!important;
  text-align:end!important;
}
.prism-assessment-page .prism-core-section legend span{
  width:34px!important;
  height:34px!important;
  border-radius:999px!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  background:rgba(20,76,68,.9)!important;
  color:#fff8ea!important;
  font-size:.9rem!important;
  flex:0 0 auto!important;
}
.prism-assessment-page .assessment-progress{
  background:rgba(255,244,223,.08)!important;
}
.prism-assessment-page .core-question{
  background:rgba(255,244,223,.055)!important;
  border:1px solid rgba(232,205,154,.13)!important;
  box-shadow:0 20px 60px rgba(0,0,0,.18)!important;
  padding:1rem!important;
}
.prism-assessment-page .core-question h3,
.prism-assessment-page .prism-core-section legend{
  color:var(--read-ink)!important;
}
.prism-assessment-page .core-question h3{
  display:flex!important;
  align-items:flex-start!important;
  justify-content:flex-end!important;
  gap:.6rem!important;
  margin:0 0 .8rem!important;
  font-size:clamp(1rem,1.25vw,1.18rem)!important;
  line-height:1.7!important;
  text-align:end!important;
}
.prism-assessment-page .core-question h3 span{
  color:var(--read-gold)!important;
  font-size:.82rem!important;
  flex:0 0 auto!important;
}
.prism-assessment-page .assessment-section-note{
  color:rgba(234,220,195,.78)!important;
}
.prism-assessment-page .core-question label{
  background:rgba(10,10,8,.58)!important;
  border:1px solid rgba(232,205,154,.11)!important;
  color:rgba(255,246,228,.93)!important;
  line-height:1.7!important;
  min-height:48px!important;
}
.prism-assessment-page .core-question label:has(input:checked){
  background:linear-gradient(135deg,rgba(92,106,78,.58),rgba(20,48,43,.42))!important;
  border-color:rgba(210,173,104,.52)!important;
  color:#fff8ea!important;
}
.prism-assessment-page .prism-steps li{
  background:rgba(18,17,13,.76)!important;
  color:rgba(255,246,228,.9)!important;
}
.prism-assessment-page .prism-steps li.active{
  background:rgba(92,106,78,.46)!important;
}
.prism-assessment-page .prism-steps li.complete{
  border-color:rgba(143,174,129,.32)!important;
  background:rgba(38,95,90,.34)!important;
}
.prism-assessment-page .assessment-actions button:disabled,
.prism-assessment-page .assessment-actions button[aria-disabled="true"]{
  opacity:.58!important;
  cursor:not-allowed!important;
  filter:saturate(.65);
  box-shadow:none!important;
}
.prism-assessment-page .assessment-status{
  display:inline-flex;
  align-items:center;
  min-height:42px;
  flex:1 1 240px;
  color:#f3ddb0;
  font-weight:850;
  line-height:1.5;
}
.product-detail,
.seo-faq,
.academy-content-page .page-hero,
.academy-content-page .academy-spine,
.support-page .seo-faq{
  background:transparent!important;
}
.station-page .next-station p{
  color:rgba(234,220,195,.82)!important;
}
@media(max-width:760px){
  .prism-assessment-page .prism-core-section legend{
    font-size:1.35rem!important;
  }
  .prism-assessment-page .core-question-grid{
    grid-template-columns:1fr!important;
  }
}

/* TupTrader user-facing refinement pass */
.mega-parent-block{
  display:grid;
  gap:.45rem;
}
.mega-parent-block>span{
  display:flex!important;
  flex-wrap:wrap;
  gap:.35rem;
}
.mega-parent-block>span a{
  display:inline-flex;
  align-items:center;
  min-height:26px;
  padding:.22rem .48rem;
  border:1px solid rgba(210,173,104,.22);
  border-radius:999px;
  color:var(--read-gold);
  font-size:.76rem;
  font-weight:900;
  text-decoration:none;
}
.faq-accordion{
  width:min(920px,100%);
  display:grid;
  gap:.75rem;
}
.faq-item{
  border:1px solid rgba(210,173,104,.18);
  border-radius:16px;
  background:rgba(18,17,13,.66);
  overflow:hidden;
  box-shadow:0 18px 48px rgba(0,0,0,.15);
}
.faq-item summary{
  cursor:pointer;
  list-style:none;
  padding:1rem 1.1rem;
  color:var(--read-ink);
  font-weight:950;
}
.faq-item summary::-webkit-details-marker{
  display:none;
}
.faq-item summary:after{
  content:"+";
  float:inline-end;
  color:var(--read-gold);
  font-size:1.1rem;
}
.faq-item[open] summary:after{
  content:"-";
}
.faq-item p{
  margin:0;
  padding:0 1.1rem 1.1rem;
  color:rgba(234,220,195,.84)!important;
}
.product-guide-grid,
.support-templates{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:1rem;
}
.product-guide-grid .section-lead,
.support-templates .section-lead{
  grid-column:1/-1;
}
.product-guide-grid article,
.support-templates article{
  border:1px solid rgba(210,173,104,.16);
  border-radius:16px;
  padding:1rem;
  background:rgba(18,17,13,.58);
}
.product-guide-grid h3,
.support-templates h3{
  margin:.1rem 0 .45rem;
  color:var(--read-ink);
}
.product-guide-grid p,
.support-templates p{
  color:rgba(234,220,195,.8)!important;
  margin:0;
}
.reference-footer{
  display:grid!important;
  grid-template-columns:1.5fr .75fr .75fr 1fr;
  align-items:start;
  gap:clamp(1.2rem,3vw,2.4rem);
  border-top:1px solid rgba(210,173,104,.18);
  background:linear-gradient(135deg,rgba(11,18,16,.98),rgba(20,24,18,.96))!important;
}
.footer-column,
.footer-social{
  display:grid!important;
  gap:.45rem!important;
}
.footer-column h2,
.footer-social h2{
  margin:0 0 .35rem;
  color:var(--read-gold);
  font-size:.9rem;
}
.footer-column a,
.footer-social a{
  color:rgba(245,236,218,.82)!important;
  font-weight:800;
}
.radar-section{
  background:linear-gradient(135deg,rgba(246,236,214,.92),rgba(222,213,190,.86))!important;
  border:1px solid rgba(210,173,104,.28);
  border-radius:22px;
  width:min(1120px,calc(100% - 2rem));
  color:#1b1710;
}
.result-page .result-card{
  background:linear-gradient(135deg,rgba(246,236,214,.94),rgba(218,210,190,.9))!important;
  border:1px solid rgba(82,67,38,.18)!important;
  color:#1b1710!important;
}
.result-page .result-card h1,
.result-page .result-card p,
.result-page .result-card dd{
  color:#1b1710!important;
}
.result-page .result-card dt,
.result-page .result-card .kicker{
  color:#0f4f4a!important;
}
.result-page .result-card .kicker:before{
  background:#b98d3f!important;
}
.radar-section h2,
.radar-section p{
  color:#1b1710!important;
}
.radar-chart{
  background:rgba(255,252,242,.78);
  border:1px solid rgba(82,67,38,.15);
  border-radius:20px;
  padding:1rem;
}
.radar-grid polygon,
.radar-grid line{
  stroke:rgba(31,27,18,.34)!important;
  stroke-width:1.2!important;
}
.radar-fill{
  fill:rgba(38,95,90,.26)!important;
  stroke:#0f4f4a!important;
  stroke-width:3.2!important;
}
.radar-chart text{
  fill:#1b1710!important;
  font-weight:950!important;
  font-size:13px!important;
}
.radar-dots circle{
  fill:#b98d3f!important;
  stroke:#fff7e6;
  stroke-width:1.8;
}
.neural-system-map{
  min-height:clamp(560px,64vh,760px)!important;
  width:min(1180px,100%)!important;
  border-radius:28px!important;
}
.home-neural-stage{
  min-height:clamp(620px,72vh,820px)!important;
}
.neural-node{
  box-shadow:0 24px 70px rgba(0,0,0,.18)!important;
}
.home-trust-band{
  background:transparent!important;
}
@media(max-width:900px){
  .product-guide-grid,
  .support-templates,
  .reference-footer{
    grid-template-columns:1fr!important;
  }
  .radar-section{
    grid-template-columns:1fr!important;
  }
}
.account-refined-shell{
  grid-template-columns:1fr!important;
  background:linear-gradient(145deg,rgba(22,21,16,.82),rgba(47,43,34,.72))!important;
  border-color:rgba(232,205,154,.18)!important;
  box-shadow:0 36px 110px rgba(0,0,0,.28)!important;
}
.account-refined-shell .account-main{
  display:grid;
  gap:1rem;
}
.account-refined-shell .account-hero{
  display:grid;
  justify-items:start;
  text-align:start;
  padding:clamp(1rem,3vw,1.5rem);
  border:1px solid rgba(232,205,154,.14);
  border-radius:18px;
  background:linear-gradient(135deg,rgba(255,244,223,.10),rgba(255,244,223,.035));
}
.account-refined-shell .account-hero h1{
  color:var(--read-ink)!important;
  font-size:clamp(2.2rem,5vw,4.6rem);
}
.account-refined-shell .account-hero p{
  max-width:760px;
  color:var(--read-muted)!important;
}
.account-refined-shell .profile-panel{
  display:grid;
  grid-template-columns:1.4fr 1fr 1fr;
  gap:1rem;
}
.account-refined-shell .profile-panel article,
.account-refined-shell .task-card{
  background:rgba(18,17,13,.74)!important;
  border-color:rgba(232,205,154,.18)!important;
}
.account-refined-shell .profile-panel article:first-child{
  grid-row:span 2;
  align-items:center;
}
.account-refined-shell .profile-panel span,
.account-refined-shell .task-card small{
  color:var(--read-soft)!important;
}
.account-refined-shell .profile-panel strong,
.account-refined-shell .task-card strong{
  color:var(--read-ink)!important;
}
.account-refined-shell .task-card{
  align-content:start;
  grid-template-rows:auto auto 1fr;
  min-height:188px;
}
.account-refined-shell .task-card span{
  width:3rem;
  height:3rem;
  font-size:1.05rem;
  font-weight:800;
}
.account-refined-shell .task-card strong{
  font-size:1.02rem;
  line-height:1.6;
  overflow-wrap:anywhere;
}
.account-refined-shell .task-card small{
  line-height:1.6;
}
.account-refined-shell .profile-card img{
  width:112px;
  height:112px;
  border-radius:20px;
  border:1px solid rgba(232,205,154,.25);
}
.account-refined-shell .task-strip{
  grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
}
.account-status-strip{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(180px,1fr));
  gap:1rem;
}
.account-status-strip article,
.account-license-card{
  border:1px solid rgba(232,205,154,.18);
  border-radius:18px;
  background:rgba(18,17,13,.74);
  padding:1rem 1.05rem;
}
.account-status-strip span,
.account-license-card span,
.account-license-card dt{
  display:block;
  color:var(--read-soft);
  font-size:.78rem;
  font-weight:800;
}
.account-status-strip strong,
.account-license-card strong,
.account-license-card dd{
  color:var(--read-ink);
}
.account-status-strip strong{
  display:block;
  margin:.3rem 0;
  font-size:1.2rem;
}
.account-status-strip small,
.account-license-card small{
  color:var(--read-soft);
  line-height:1.6;
}
.account-license-card{
  display:grid;
  gap:.35rem;
  align-content:start;
}
.account-license-card dl{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:.65rem;
  margin:.4rem 0 0;
}
.account-license-card dl div{
  padding-top:.55rem;
  border-top:1px solid rgba(232,205,154,.12);
}
.account-license-card dd{
  margin:.22rem 0 0;
  font-size:.95rem;
  line-height:1.5;
}
@media(max-width:900px){
  .auth-refined-flow{
    grid-template-columns:1fr;
  }
  .auth-refined-flow:after{
    justify-self:stretch;
  }
  .account-refined-shell .profile-panel,
  .account-refined-shell .task-strip{
    grid-template-columns:1fr 1fr;
  }
  .account-license-card dl{
    grid-template-columns:1fr;
  }
}
@media(max-width:620px){
  html,
  body,
  .account-page,
  .auth-page,
  .prism-assessment-page{
    max-width:100%;
    overflow-x:hidden;
  }
  .account-refined-shell .profile-panel,
  .account-refined-shell .task-strip{
    grid-template-columns:1fr;
  }
}

/* Final UX and access overrides */
.nav-toggle{display:none;flex-direction:column;justify-content:center;gap:4px;min-width:44px;min-height:44px;padding:0;border:1px solid rgba(214,185,119,.22);border-radius:999px;background:rgba(255,248,235,.6);cursor:pointer}
.nav-toggle span{display:block;width:18px;height:2px;margin-inline:auto;border-radius:99px;background:#e9dcc3}
.cart-link{display:inline-flex;align-items:center;justify-content:center;min-height:42px;padding:.62rem .92rem;border:1px solid rgba(214,185,119,.18);border-radius:999px;background:rgba(19,18,16,.56);color:#f3ead6;text-decoration:none;font-weight:800}
.product-plan-section .section-lead,.product-pricing-group .section-lead{max-width:760px}
.product-pricing-groups{display:grid;gap:1.6rem}
.product-pricing-group{display:grid;gap:1rem;padding:1.4rem;border:1px solid rgba(214,185,119,.14);border-radius:24px;background:rgba(12,11,10,.38)}
.product-pricing-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:1rem}
.product-pricing-grid article{display:grid;gap:.7rem;padding:1.15rem;border:1px solid rgba(214,185,119,.14);border-radius:20px;background:rgba(24,22,19,.78)}
.product-pricing-grid h3{margin:0;font-size:1.06rem;color:#f7eedc}
.product-pricing-grid p{margin:0;color:#d8cdb4;line-height:1.9}
.product-pricing-grid strong{color:#bda36c;font-size:.82rem}
.consent-check{display:flex;align-items:flex-start;gap:.7rem;margin:.15rem 0 .2rem;color:#d9ccb1;font-size:.92rem;line-height:1.8}
.consent-check input{margin-top:.35rem}
.consent-check a{color:#f0d28d}
.account-locked-shell .page-hero{max-width:760px;margin-inline:auto;text-align:center}
body .no-copy-zone,
body .page,
body .station-page,
body .academy-content-page,
body .site-footer,
body .site-header,
body .trading-hero{user-select:none;-webkit-user-select:none}
input,textarea,[contenteditable="true"]{user-select:text!important;-webkit-user-select:text!important}
@media (max-width: 960px){
  .site-header{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:.8rem;padding:.85rem 1rem}
  .nav-toggle{display:flex;order:3}
  .site-header .brand{min-width:auto}
  .site-header .main-nav{display:none;grid-column:1/-1;order:4;flex-direction:column;align-items:stretch;gap:.5rem;margin:0;padding:.5rem 0 .25rem}
  .site-header .main-nav.is-open{display:flex}
  .site-header .nav-group{width:100%}
  .site-header .nav-group>button{width:100%;display:flex;align-items:center;justify-content:space-between;padding:.85rem 1rem;border-radius:16px;background:rgba(255,248,235,.06)}
  .site-header .nav-group>div,.site-header .nav-group:hover>div,.site-header .nav-group:focus-within>div,.site-header .nav-group.is-open>div{position:static;display:grid;transform:none;min-width:0;margin-top:.45rem}
  .site-header .header-actions{margin-inline-start:auto;gap:.45rem}
  .site-header .header-actions .start-link,.site-header .header-actions .cart-link{min-height:40px;padding:.6rem .82rem;font-size:.88rem}
}
@media (max-width: 680px){
  .site-header{grid-template-columns:auto 1fr auto}
  .site-header .header-actions{display:flex;justify-content:flex-end}
  .site-header .header-actions .cart-link{display:none!important}
  .site-header .lang-link{display:inline-flex!important}
  .product-pricing-group{padding:1rem;border-radius:18px}
  .product-pricing-grid{grid-template-columns:1fr}
}

/* Light theme preview */
.theme-toggle{display:inline-flex;align-items:center;justify-content:center;min-height:42px;padding:.62rem .9rem;border:1px solid rgba(214,185,119,.2);border-radius:999px;background:rgba(255,248,235,.58);color:#f3ead6;font:inherit;font-weight:850;cursor:pointer}
html[data-theme="light"] body{background:#f5f0e5;color:#211f19}
html[data-theme="light"] .site-header{background:rgba(246,240,228,.92);border-bottom-color:rgba(41,36,26,.14)}
html[data-theme="light"] .brand strong,html[data-theme="light"] .main-nav>*,html[data-theme="light"] .nav-group>button{color:#1e211b}
html[data-theme="light"] .brand small{color:#6d6659}
html[data-theme="light"] .theme-toggle,html[data-theme="light"] .lang-link,html[data-theme="light"] .secondary,html[data-theme="light"] .cart-link{background:rgba(255,255,255,.72);color:#1f261f;border-color:rgba(55,48,35,.16)}
html[data-theme="light"] .page,html[data-theme="light"] .trading-hero,html[data-theme="light"] .auth-page{background:radial-gradient(circle at 50% 18%,rgba(195,164,93,.16),transparent 30rem),linear-gradient(180deg,#f6f0e4,#ece4d4)}
html[data-theme="light"] .page-hero,html[data-theme="light"] .account-shell,html[data-theme="light"] .product-pricing-group,html[data-theme="light"] .product-pricing-grid article,html[data-theme="light"] .profile-panel article,html[data-theme="light"] .account-status-strip article,html[data-theme="light"] .support-chat,html[data-theme="light"] .auth-panel{background:rgba(255,252,244,.78);border-color:rgba(69,58,38,.16);color:#201e19}
html[data-theme="light"] h1,html[data-theme="light"] h2,html[data-theme="light"] h3,html[data-theme="light"] strong{color:#1f241e}
html[data-theme="light"] p,html[data-theme="light"] small,html[data-theme="light"] .product-pricing-grid p{color:#5f5749}
html[data-theme="light"] .kicker,html[data-theme="light"] .product-pricing-grid strong{color:#8f6f2c}
html[data-theme="light"] .neural-system-map,html[data-theme="light"] .market-console,html[data-theme="light"] .chart-zone{background:rgba(255,252,244,.55);border-color:rgba(69,58,38,.12)}
html[data-theme="light"] .site-footer{background:#171b17;color:#efe7d4}
@media(max-width:680px){.theme-toggle{display:none}}

/* Final polish: professional cart action and warmer light theme */
.header-actions{
  align-items:center;
}
.cart-link{
  position:relative;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:.48rem;
  min-height:42px;
  padding:.6rem .9rem;
  border:1px solid rgba(196,158,91,.26);
  border-radius:999px;
  background:linear-gradient(180deg,rgba(255,246,229,.12),rgba(23,22,18,.58));
  color:#f4ead7;
  text-decoration:none;
  font-weight:900;
  font-size:.88rem;
  line-height:1;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.08),0 12px 28px rgba(0,0,0,.14);
}
.cart-link:before{
  content:"";
  width:1.05rem;
  height:1.05rem;
  display:inline-block;
  background:currentColor;
  -webkit-mask:url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M6 7h15l-1.6 8.2a2 2 0 0 1-2 1.6H8.3a2 2 0 0 1-2-1.6L4.8 4H2'/%3E%3Ccircle cx='9' cy='20' r='1'/%3E%3Ccircle cx='18' cy='20' r='1'/%3E%3C/svg%3E") center/contain no-repeat;
  mask:url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M6 7h15l-1.6 8.2a2 2 0 0 1-2 1.6H8.3a2 2 0 0 1-2-1.6L4.8 4H2'/%3E%3Ccircle cx='9' cy='20' r='1'/%3E%3Ccircle cx='18' cy='20' r='1'/%3E%3C/svg%3E") center/contain no-repeat;
}
.cart-link:hover{
  border-color:rgba(214,178,111,.48);
  background:linear-gradient(180deg,rgba(77,63,38,.72),rgba(24,23,19,.84));
  transform:translateY(-1px);
}

html[data-theme="light"]{
  --ink:#1d1b16;
  --paper:#f7f1e5;
  --pearl:#fffaf0;
  --teal:#244f49;
  --teal-2:#183b37;
  --bronze:#9b7439;
  --moss:#697466;
  --line:rgba(68,55,35,.16);
  --muted:#6c6457;
}
html[data-theme="light"] body{
  background:#f4ecdd;
  color:#1d1b16;
}
html[data-theme="light"] .site-header{
  background:rgba(248,241,226,.94);
  border-bottom-color:rgba(68,55,35,.16);
  box-shadow:0 10px 34px rgba(58,45,25,.07);
}
html[data-theme="light"] .brand strong,
html[data-theme="light"] .nav-group>button,
html[data-theme="light"] .main-nav>a{
  color:#211f19;
}
html[data-theme="light"] .brand small,
html[data-theme="light"] .nav-group a span{
  color:#756b5a;
}
html[data-theme="light"] .nav-group>div{
  background:rgba(255,249,238,.98);
  border-color:rgba(68,55,35,.14);
  box-shadow:0 22px 58px rgba(64,49,27,.13);
}
html[data-theme="light"] .nav-group a:hover{
  background:rgba(36,79,73,.08);
}
html[data-theme="light"] .trading-hero,
html[data-theme="light"] .page,
html[data-theme="light"] .auth-page{
  background:
    radial-gradient(ellipse at 16% 34%,rgba(42,38,29,.12),transparent 22rem),
    radial-gradient(ellipse at 86% 18%,rgba(155,116,57,.14),transparent 24rem),
    radial-gradient(circle at 50% 10%,rgba(255,252,244,.82),transparent 21rem),
    linear-gradient(135deg,#fbf3e4 0%,#f0e5d0 52%,#e6dfcf 100%);
}
html[data-theme="light"] .trading-hero:before{
  opacity:.42;
  filter:blur(13px);
}
html[data-theme="light"] .trading-hero h1,
html[data-theme="light"] h1,
html[data-theme="light"] h2,
html[data-theme="light"] h3,
html[data-theme="light"] strong{
  color:#1e1b15;
}
html[data-theme="light"] p,
html[data-theme="light"] small,
html[data-theme="light"] .hero-copy p,
html[data-theme="light"] .product-pricing-grid p{
  color:#5f5548;
}
html[data-theme="light"] .kicker,
html[data-theme="light"] .product-pricing-grid strong{
  color:#7e5f2f;
}
html[data-theme="light"] .start-link,
html[data-theme="light"] .primary{
  background:linear-gradient(135deg,#244f49,#173934);
  color:#fff8ec;
  box-shadow:0 14px 34px rgba(36,79,73,.22);
}
html[data-theme="light"] .theme-toggle,
html[data-theme="light"] .lang-link,
html[data-theme="light"] .secondary{
  background:rgba(255,251,243,.76);
  color:#242019;
  border-color:rgba(68,55,35,.18);
  box-shadow:0 8px 22px rgba(64,49,27,.06);
}
html[data-theme="light"] .cart-link{
  background:linear-gradient(180deg,#fff8ec,#efe1c8);
  color:#24433f;
  border-color:rgba(126,95,47,.28);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.75),0 10px 24px rgba(64,49,27,.10);
}
html[data-theme="light"] .cart-link:hover{
  background:linear-gradient(180deg,#fffaf2,#e8d5b4);
  border-color:rgba(126,95,47,.44);
}
html[data-theme="light"] .neural-system-map,
html[data-theme="light"] .market-console,
html[data-theme="light"] .chart-zone,
html[data-theme="light"] .page-hero,
html[data-theme="light"] .account-shell,
html[data-theme="light"] .product-pricing-group,
html[data-theme="light"] .product-pricing-grid article,
html[data-theme="light"] .profile-panel article,
html[data-theme="light"] .account-status-strip article,
html[data-theme="light"] .support-chat,
html[data-theme="light"] .auth-panel,
html[data-theme="light"] .station,
html[data-theme="light"] .tool-card,
html[data-theme="light"] .pricing-grid article,
html[data-theme="light"] .trust-list article{
  background:rgba(255,250,240,.70);
  border-color:rgba(68,55,35,.15);
  color:#211f19;
  box-shadow:0 18px 48px rgba(64,49,27,.07);
}
html[data-theme="light"] .site-footer{
  background:#171b17;
  color:#f1e7d4;
}
html[data-theme="light"] .site-footer p,
html[data-theme="light"] .site-footer a{
  color:#e4dac7;
}

@media(max-width:680px){
  .site-header .header-actions .cart-link{
    display:none!important;
  }
}

/* Monetization and product clarity pass */
.google-auth{
  width:100%;
  min-height:48px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:.65rem;
  border:1px solid rgba(214,185,119,.22);
  border-radius:999px;
  background:rgba(255,248,235,.08);
  color:#f6ecd8;
  font:inherit;
  font-weight:850;
  cursor:pointer;
}
.google-auth span{
  width:1.45rem;
  height:1.45rem;
  display:inline-grid;
  place-items:center;
  border-radius:50%;
  background:#f8efe0;
  color:#1d1a14;
  font-weight:950;
}
.auth-divider{
  display:grid;
  grid-template-columns:1fr auto 1fr;
  align-items:center;
  gap:.75rem;
  color:#b7aa91;
  font-size:.82rem;
}
.auth-divider:before,
.auth-divider:after{
  content:"";
  height:1px;
  background:rgba(214,185,119,.16);
}
.auth-switch-row{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:.45rem;
  flex-wrap:wrap;
  margin:.15rem 0 0;
  color:#cfc0a4;
}
.auth-switch-row a{
  color:#f1d48d;
  font-weight:900;
  text-decoration:none;
}
.consent-check{
  align-items:center;
  padding:.72rem .82rem;
  border:1px solid rgba(214,185,119,.14);
  border-radius:16px;
  background:rgba(255,248,235,.05);
}
.consent-check input{
  flex:0 0 auto;
  width:1.1rem;
  height:1.1rem;
  margin:0;
  accent-color:#6f8067;
}
.feature-accordion{
  display:grid;
  gap:.75rem;
}
.feature-accordion-item{
  border:1px solid rgba(214,185,119,.16);
  border-radius:18px;
  background:rgba(18,16,13,.58);
  overflow:hidden;
}
.feature-accordion-item summary{
  list-style:none;
  cursor:pointer;
  display:flex;
  align-items:center;
  gap:.8rem;
  padding:1rem 1.1rem;
}
.feature-accordion-item summary::-webkit-details-marker{display:none}
.feature-accordion-item summary span{
  color:#c9a863;
  font-weight:950;
  font-size:.82rem;
}
.feature-accordion-item p{
  margin:0;
  padding:0 1.1rem 1.05rem;
  color:#d8cbb3;
  line-height:1.9;
}
.plan-compare-table{
  overflow:auto;
  border:1px solid rgba(214,185,119,.16);
  border-radius:22px;
  background:rgba(13,12,10,.64);
}
.plan-compare-table table{
  width:100%;
  min-width:760px;
  border-collapse:collapse;
}
.plan-compare-table th,
.plan-compare-table td{
  padding:1rem;
  border-bottom:1px solid rgba(214,185,119,.12);
  text-align:start;
  vertical-align:top;
  color:#e8ddc7;
}
.plan-compare-table thead th{
  color:#f6ecd8;
  background:rgba(255,248,235,.06);
}
.plan-compare-table tbody th{
  width:9rem;
  color:#c9a863;
  font-weight:950;
}
.plan-compare-table tr:last-child th,
.plan-compare-table tr:last-child td{
  border-bottom:0;
}
.plan-actions .secondary{
  white-space:nowrap;
}
.journal-compare-table td{
  text-align:center;
}
.journal-compare-table tbody th{
  min-width:13rem;
}
.plan-check{
  width:2rem;
  height:2rem;
  display:inline-grid;
  place-items:center;
  margin-inline:auto;
  border-radius:50%;
  font-size:1.25rem;
  font-weight:950;
  line-height:1;
}
.plan-check.yes{
  color:#f7efd8;
  background:rgba(105,128,97,.72);
  border:1px solid rgba(178,211,159,.22);
}
.plan-check.no{
  color:#c9baa0;
  background:rgba(255,248,235,.06);
  border:1px solid rgba(214,185,119,.14);
}
.plan-note{
  display:inline-block;
  max-width:14rem;
  color:#e1d3b8;
  font-size:.88rem;
  line-height:1.65;
}
.journal-compare-table .plan-actions td{
  text-align:center;
  white-space:nowrap;
}
.journal-compare-section .section-lead{
  max-width:860px;
}
.reference-footer{
  grid-template-columns:minmax(220px,1.35fr) repeat(4,minmax(130px,.8fr)) minmax(210px,1fr);
  gap:1rem;
}
.site-footer h2,
.reference-footer h2{
  color:#f4ead7;
  font-size:.96rem;
}
.site-footer a,
.reference-footer a{
  color:#ded2bc;
  text-decoration:none;
}
.footer-column{
  min-width:0;
}
.footer-social{
  min-width:0;
}
.footer-social div{
  display:flex;
  align-items:center;
  flex-wrap:wrap;
  gap:.48rem;
}
.footer-social a{
  max-width:100%;
  padding:.48rem .65rem;
  border:1px solid rgba(214,185,119,.16);
  border-radius:999px;
  background:rgba(255,248,235,.05);
  font-size:.84rem;
  white-space:nowrap;
}
html[data-theme="light"] .google-auth,
html[data-theme="light"] .feature-accordion-item,
html[data-theme="light"] .plan-compare-table{
  background:rgba(255,250,240,.72);
  border-color:rgba(68,55,35,.16);
  color:#211f19;
}
html[data-theme="light"] .feature-accordion-item p,
html[data-theme="light"] .plan-compare-table th,
html[data-theme="light"] .plan-compare-table td{
  color:#4f473b;
}
html[data-theme="light"] .plan-compare-table thead th{
  color:#1d1b16;
  background:rgba(36,79,73,.06);
}
html[data-theme="light"] .plan-compare-table tbody th,
html[data-theme="light"] .feature-accordion-item summary span{
  color:#8a682e;
}
html[data-theme="light"] .plan-check.yes{
  color:#fff8ec;
  background:#55705b;
}
html[data-theme="light"] .plan-check.no{
  color:#7b705f;
  background:rgba(68,55,35,.06);
  border-color:rgba(68,55,35,.15);
}
html[data-theme="light"] .plan-note{
  color:#5d5244;
}
html[data-theme="light"] .auth-switch-row,
html[data-theme="light"] .auth-divider{
  color:#6c6252;
}
html[data-theme="light"] .auth-switch-row a{
  color:#244f49;
}
html[data-theme="light"] .consent-check{
  background:rgba(255,255,255,.54);
  border-color:rgba(68,55,35,.16);
}
html[data-theme="light"] .site-footer h2,
html[data-theme="light"] .reference-footer h2{
  color:#fff5df;
}
html[data-theme="light"] .footer-social a{
  color:#f0e5cf;
  border-color:rgba(232,205,154,.18);
  background:rgba(255,248,235,.06);
}
@media(max-width:1050px){
  .reference-footer{
    grid-template-columns:1fr 1fr;
  }
}
@media(max-width:680px){
  .reference-footer{
    grid-template-columns:1fr;
  }
  .plan-compare-table{
    border-radius:16px;
  }
}

/* Stage 2: conversion path, pricing tables, auth and footer polish */
.pricing-page .product-pricing-groups{
  max-width:1240px;
}
.pricing-compare-group{
  gap:1.1rem;
  padding:clamp(1rem,2vw,1.45rem);
  border-radius:22px;
}
.pricing-compare-group .section-lead{
  display:grid;
  gap:.25rem;
}
.pricing-compare-group .section-lead h2{
  margin:.1rem 0;
  font-size:clamp(1.35rem,2vw,2rem);
}
.pricing-compare-group .section-lead h2 a{
  color:inherit;
  text-decoration:none;
}
.product-pricing-table table{
  min-width:820px;
}
.product-pricing-table td{
  text-align:center;
}
.product-pricing-table tbody th{
  min-width:12rem;
}
.product-pricing-table .plan-actions td{
  white-space:nowrap;
}
.cart-link{
  min-width:106px;
}
.cart-link:before{
  opacity:.9;
}
.auth-refined-page .auth-panel{
  gap:.95rem;
}
.google-auth{
  border-color:rgba(214,185,119,.22);
  background:linear-gradient(180deg,rgba(255,248,235,.10),rgba(255,248,235,.045));
  color:#f7eedc;
}
.google-auth:hover{
  border-color:rgba(214,185,119,.42);
  transform:translateY(-1px);
}
.consent-check{
  display:grid;
  grid-template-columns:auto 1fr;
  align-items:start;
  gap:.65rem;
}
.consent-check span{
  min-width:0;
}
.consent-check input{
  margin-top:.25rem;
}
.reference-footer{
  align-items:start;
}
.footer-brand-block{
  min-width:0;
}
.footer-column a{
  display:block;
  padding:.28rem 0;
}
.footer-social div{
  max-width:100%;
}
.footer-social a{
  overflow:hidden;
  text-overflow:ellipsis;
}
html[data-theme="light"] .pricing-compare-group,
html[data-theme="light"] .product-pricing-table,
html[data-theme="light"] .auth-refined-page .auth-panel{
  background:rgba(255,250,240,.72);
  border-color:rgba(68,55,35,.16);
}
html[data-theme="light"] .google-auth{
  background:linear-gradient(180deg,#fffdf7,#f2e7d4);
  color:#211f19;
  border-color:rgba(68,55,35,.18);
}
html[data-theme="light"] .cart-link{
  min-width:106px;
}
@media(max-width:760px){
  .product-pricing-table table{
    min-width:720px;
  }
  .pricing-compare-group{
    padding:.9rem;
  }
}

/* Stage 4: neutral nude light theme, separate from the dark brand palette */
html[data-theme="light"]{
  --ink:#25221d;
  --deep:#2b2720;
  --paper:#eee6d8;
  --pearl:#fff9ee;
  --teal:#4f493f;
  --teal-2:#302c25;
  --bronze:#8f7650;
  --moss:#766f62;
  --line:rgba(63,52,37,.15);
  --muted:#756c5e;
  --soft:rgba(255,249,238,.72);
  --panel:#fff8ec;
}
html[data-theme="light"] body{
  background:#eee5d6;
  color:#25221d;
}
html[data-theme="light"] .site-header{
  background:rgba(244,236,222,.94);
  border-bottom-color:rgba(63,52,37,.14);
  box-shadow:0 10px 32px rgba(63,52,37,.07);
}
html[data-theme="light"] .brand img{
  border-color:rgba(63,52,37,.16);
}
html[data-theme="light"] .brand strong,
html[data-theme="light"] .nav-group>button,
html[data-theme="light"] .main-nav>a{
  color:#25221d;
}
html[data-theme="light"] .brand small,
html[data-theme="light"] .nav-group a span{
  color:#746b5d;
}
html[data-theme="light"] .nav-group>button:hover{
  background:rgba(63,52,37,.07);
}
html[data-theme="light"] .nav-group>div{
  background:rgba(255,249,238,.98);
  border-color:rgba(63,52,37,.14);
  box-shadow:0 20px 54px rgba(63,52,37,.12);
}
html[data-theme="light"] .nav-group a:hover{
  background:rgba(63,52,37,.06);
  color:#2f2a22;
}
html[data-theme="light"] .trading-hero,
html[data-theme="light"] .page,
html[data-theme="light"] .auth-page{
  background:
    radial-gradient(ellipse at 12% 20%,rgba(81,71,58,.10),transparent 24rem),
    radial-gradient(ellipse at 84% 16%,rgba(143,118,80,.12),transparent 24rem),
    radial-gradient(circle at 54% 10%,rgba(255,250,241,.82),transparent 24rem),
    linear-gradient(135deg,#f7efe2 0%,#eee4d2 48%,#e4dccd 100%);
}
html[data-theme="light"] .trading-hero:before{
  background:
    linear-gradient(90deg,rgba(63,52,37,.026) 1px,transparent 1px),
    linear-gradient(0deg,rgba(63,52,37,.022) 1px,transparent 1px);
  opacity:.34;
}
html[data-theme="light"] .trading-hero:after{
  border-color:rgba(63,52,37,.10);
  box-shadow:0 0 0 4rem rgba(63,52,37,.025),0 0 0 9rem rgba(143,118,80,.024);
}
html[data-theme="light"] .water-field{
  opacity:.36;
  filter:blur(24px);
}
html[data-theme="light"] h1,
html[data-theme="light"] h2,
html[data-theme="light"] h3,
html[data-theme="light"] strong,
html[data-theme="light"] .trading-hero h1{
  color:#25221d;
}
html[data-theme="light"] p,
html[data-theme="light"] small,
html[data-theme="light"] .hero-copy p,
html[data-theme="light"] .product-pricing-grid p,
html[data-theme="light"] .console-panels span{
  color:#665d50;
}
html[data-theme="light"] .kicker,
html[data-theme="light"] .product-row span,
html[data-theme="light"] .station em,
html[data-theme="light"] .product-pricing-grid strong{
  color:#7c6749;
}
html[data-theme="light"] .kicker:before,
html[data-theme="light"] .trading-hero .kicker:before{
  background:#927550;
  box-shadow:0 0 0 6px rgba(146,117,80,.12);
}
html[data-theme="light"] .start-link,
html[data-theme="light"] .primary{
  background:linear-gradient(135deg,#343027,#26231d);
  color:#fff7e9;
  box-shadow:0 14px 34px rgba(63,52,37,.18);
}
html[data-theme="light"] .start-link:hover,
html[data-theme="light"] .primary:hover{
  background:#201d18;
}
html[data-theme="light"] .secondary,
html[data-theme="light"] .lang-link,
html[data-theme="light"] .theme-toggle,
html[data-theme="light"] .google-auth{
  background:rgba(255,249,238,.76);
  color:#2c2821;
  border-color:rgba(63,52,37,.17);
  box-shadow:0 8px 20px rgba(63,52,37,.055);
}
html[data-theme="light"] .cart-link{
  background:linear-gradient(180deg,#fff8ec,#eadbc3);
  color:#2c2821;
  border-color:rgba(143,118,80,.28);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.76),0 10px 22px rgba(63,52,37,.10);
}
html[data-theme="light"] .page-hero,
html[data-theme="light"] .market-console,
html[data-theme="light"] .neural-system-map,
html[data-theme="light"] .chart-zone,
html[data-theme="light"] .value-tape span,
html[data-theme="light"] .station,
html[data-theme="light"] .account-shell,
html[data-theme="light"] .product-pricing-group,
html[data-theme="light"] .pricing-compare-group,
html[data-theme="light"] .product-pricing-table,
html[data-theme="light"] .product-pricing-grid article,
html[data-theme="light"] .profile-panel article,
html[data-theme="light"] .account-status-strip article,
html[data-theme="light"] .support-chat,
html[data-theme="light"] .auth-panel,
html[data-theme="light"] .tool-card,
html[data-theme="light"] .trust-list article,
html[data-theme="light"] .feature-accordion-item,
html[data-theme="light"] .plan-compare-table,
html[data-theme="light"] .journal-builder,
html[data-theme="light"] .journal-preview-section,
html[data-theme="light"] .replay-free-shell,
html[data-theme="light"] .academy-tree-shell,
html[data-theme="light"] .academy-galaxy-shell,
html[data-theme="light"] .academy-cluster-section,
html[data-theme="light"] .lesson-replay-box,
html[data-theme="light"] .lesson-quiz-card,
html[data-theme="light"] .lesson-journal-box{
  background:rgba(255,249,238,.68);
  border-color:rgba(63,52,37,.14);
  color:#25221d;
  box-shadow:0 18px 46px rgba(63,52,37,.065);
}
html[data-theme="light"] .market-console:before,
html[data-theme="light"] .neural-system-map:before,
html[data-theme="light"] .neural-system-map:after{
  opacity:.28;
  filter:saturate(.35);
}
html[data-theme="light"] .console-top,
html[data-theme="light"] .console-panels{
  background:rgba(250,243,230,.76);
  border-color:rgba(63,52,37,.12);
}
html[data-theme="light"] .console-top strong,
html[data-theme="light"] .console-panels strong,
html[data-theme="light"] .value-tape b{
  color:#25221d;
}
html[data-theme="light"] .console-top span,
html[data-theme="light"] input,
html[data-theme="light"] textarea,
html[data-theme="light"] select{
  background:rgba(255,252,246,.72);
  color:#25221d;
  border-color:rgba(63,52,37,.16);
}
html[data-theme="light"] .plan-compare-table thead th{
  background:rgba(63,52,37,.045);
  color:#25221d;
}
html[data-theme="light"] .plan-compare-table th,
html[data-theme="light"] .plan-compare-table td,
html[data-theme="light"] .feature-accordion-item p{
  color:#4f463a;
  border-color:rgba(63,52,37,.11);
}
html[data-theme="light"] .plan-compare-table tbody th,
html[data-theme="light"] .feature-accordion-item summary span{
  color:#7c6749;
}
html[data-theme="light"] .plan-check.yes{
  background:#6f6a5d;
  color:#fff8ec;
  border-color:rgba(63,52,37,.16);
}
html[data-theme="light"] .plan-check.no{
  background:rgba(63,52,37,.055);
  color:#867b69;
  border-color:rgba(63,52,37,.12);
}
html[data-theme="light"] .plan-note{
  color:#5d5346;
}
html[data-theme="light"] .faq-item{
  background:rgba(255,249,238,.70);
  border-color:rgba(63,52,37,.14);
  box-shadow:0 16px 38px rgba(63,52,37,.06);
}
html[data-theme="light"] .faq-item summary{
  color:#25221d;
}
html[data-theme="light"] .faq-item p{
  color:#5f5548!important;
}
html[data-theme="light"] .site-footer{
  background:#25221d!important;
  color:#f7eddb;
}
html[data-theme="light"] .site-footer p,
html[data-theme="light"] .site-footer a{
  color:#e8ddca;
}

/* Stage 4 enforcement: make light mode truly nude, not a brighter dark theme */
html[data-theme="light"] .trading-hero,
html[data-theme="light"] body .trading-hero,
html[data-theme="light"] .page,
html[data-theme="light"] body .page,
html[data-theme="light"] .auth-page{
  background:
    radial-gradient(ellipse at 12% 20%,rgba(81,71,58,.10),transparent 24rem),
    radial-gradient(ellipse at 84% 16%,rgba(143,118,80,.12),transparent 24rem),
    radial-gradient(circle at 54% 10%,rgba(255,250,241,.82),transparent 24rem),
    linear-gradient(135deg,#f7efe2 0%,#eee4d2 48%,#e4dccd 100%)!important;
}
html[data-theme="light"] .start-link,
html[data-theme="light"] .primary,
html[data-theme="light"] body .start-link,
html[data-theme="light"] body .primary{
  background:linear-gradient(135deg,#343027,#26231d)!important;
  color:#fff7e9!important;
  box-shadow:0 14px 34px rgba(63,52,37,.18)!important;
}
html[data-theme="light"] .trading-hero h1,
html[data-theme="light"] body .trading-hero h1,
html[data-theme="light"] .hero-copy p,
html[data-theme="light"] body .hero-copy p{
  color:inherit;
}
html[data-theme="light"] .hero-copy p{
  color:#665d50!important;
}

/* Stage 5: hard readability pass for the neutral light theme */
html[data-theme="light"]{
  color-scheme:light;
  --tt-bg:#eee7da;
  --tt-text:#25221d;
  --tt-muted:#665d50;
  --tt-muted-strong:#3f392f;
  --tt-surface:rgba(255,249,238,.78);
  --tt-surface-strong:rgba(255,252,246,.92);
  --tt-border:rgba(63,52,37,.16);
  --tt-gold:#9b7a45;
  --tt-green:#4f493f;
}
html[data-theme="light"] body{
  color:#25221d!important;
  background:
    radial-gradient(ellipse at 14% 18%,rgba(96,82,62,.12),transparent 28rem),
    radial-gradient(ellipse at 86% 20%,rgba(150,122,80,.12),transparent 30rem),
    linear-gradient(180deg,#f4ecdf 0%,#ece3d5 48%,#e3dacb 100%)!important;
}
html[data-theme="light"] .site-header{
  background:rgba(246,238,224,.92)!important;
  color:#25221d!important;
  border-bottom:1px solid rgba(63,52,37,.14)!important;
  box-shadow:0 1px 0 rgba(255,255,255,.55),0 14px 34px rgba(63,52,37,.06)!important;
  backdrop-filter:blur(18px)!important;
}
html[data-theme="light"] .brand,
html[data-theme="light"] .brand strong,
html[data-theme="light"] .main-nav,
html[data-theme="light"] .main-nav button,
html[data-theme="light"] .nav-group>button{
  color:#25221d!important;
}
html[data-theme="light"] .brand small{
  color:#746a5b!important;
}
html[data-theme="light"] .mega-panel,
html[data-theme="light"] .mobile-nav-panel{
  background:rgba(255,249,238,.96)!important;
  color:#25221d!important;
  border-color:rgba(63,52,37,.16)!important;
  box-shadow:0 28px 70px rgba(63,52,37,.16)!important;
}
html[data-theme="light"] .mega-panel span,
html[data-theme="light"] .mega-panel a span{
  color:#665d50!important;
}
html[data-theme="light"] .mega-panel strong,
html[data-theme="light"] .mega-panel a strong{
  color:#25221d!important;
}
html[data-theme="light"] .theme-toggle,
html[data-theme="light"] .lang-link,
html[data-theme="light"] .cart-link{
  background:rgba(255,249,238,.84)!important;
  color:#2c2821!important;
  border-color:rgba(63,52,37,.16)!important;
  box-shadow:0 10px 24px rgba(63,52,37,.08)!important;
}
html[data-theme="light"] .trading-hero h1,
html[data-theme="light"] body .trading-hero h1,
html[data-theme="light"] .page-hero h1,
html[data-theme="light"] .product-page-head h1{
  color:#25221d!important;
  text-shadow:none!important;
}
html[data-theme="light"] .trading-hero .hero-copy{
  width:100%!important;
  max-width:min(1220px,calc(100vw - 2rem))!important;
}
html[data-theme="light"] .trading-hero h1,
html[data-theme="light"] body .trading-hero h1{
  width:max-content!important;
  max-width:calc(100vw - 3rem)!important;
  margin-inline:auto!important;
  font-size:clamp(2.35rem,4.25vw,4.7rem)!important;
  line-height:1.08!important;
  white-space:nowrap!important;
  overflow:visible!important;
}
@media(max-width:980px){
  html[data-theme="light"] .trading-hero h1,
  html[data-theme="light"] body .trading-hero h1{
    width:auto!important;
    white-space:normal!important;
    font-size:clamp(2.25rem,9vw,4.3rem)!important;
  }
}
html[data-theme="light"] .trading-hero .kicker,
html[data-theme="light"] .page-hero .kicker,
html[data-theme="light"] .product-code{
  color:#8d713f!important;
}
html[data-theme="light"] .system-rail-card,
html[data-theme="light"] .neural-node,
html[data-theme="light"] .station,
html[data-theme="light"] .product-row a,
html[data-theme="light"] .growth-card,
html[data-theme="light"] .product-card,
html[data-theme="light"] .card{
  background:
    radial-gradient(circle at 86% 16%,rgba(155,122,69,.08),transparent 9rem),
    rgba(255,249,238,.84)!important;
  border-color:rgba(63,52,37,.15)!important;
  color:#25221d!important;
  box-shadow:0 18px 44px rgba(63,52,37,.075)!important;
}
html[data-theme="light"] .system-rail-card *,
html[data-theme="light"] .neural-node *,
html[data-theme="light"] .station *,
html[data-theme="light"] .product-row a *,
html[data-theme="light"] .growth-card *,
html[data-theme="light"] .product-card *,
html[data-theme="light"] .card *{
  color:inherit;
}
html[data-theme="light"] .system-rail-card strong,
html[data-theme="light"] .neural-node strong,
html[data-theme="light"] .station strong,
html[data-theme="light"] .card strong{
  color:#25221d!important;
}
html[data-theme="light"] .system-rail-card small,
html[data-theme="light"] .neural-node small,
html[data-theme="light"] .station small,
html[data-theme="light"] .card p,
html[data-theme="light"] .card small{
  color:#665d50!important;
}
html[data-theme="light"] .rail-index,
html[data-theme="light"] .station b{
  color:#9b7a45!important;
}
html[data-theme="light"] .neural-core,
html[data-theme="light"] .academy-galaxy-core{
  background:linear-gradient(180deg,#fff8ec,#e8dcc8)!important;
  color:#25221d!important;
  border-color:rgba(63,52,37,.18)!important;
  box-shadow:0 20px 50px rgba(63,52,37,.10)!important;
}
html[data-theme="light"] .neural-core *,
html[data-theme="light"] .academy-galaxy-core *{
  color:#25221d!important;
}
html[data-theme="light"] .secondary,
html[data-theme="light"] .button.secondary{
  background:rgba(255,249,238,.88)!important;
  color:#2b251b!important;
  border-color:rgba(63,52,37,.18)!important;
}
html[data-theme="light"] .auth-refined-page,
html[data-theme="light"] .support-page{
  background:
    radial-gradient(ellipse at 16% 18%,rgba(96,82,62,.10),transparent 28rem),
    radial-gradient(ellipse at 84% 26%,rgba(150,122,80,.12),transparent 30rem),
    linear-gradient(180deg,#f4ecdf 0%,#ece3d5 52%,#e3dacb 100%)!important;
  color:#25221d!important;
}
html[data-theme="light"] .auth-refined-flow .auth-copy h1,
html[data-theme="light"] .auth-refined-flow .auth-copy p,
html[data-theme="light"] .support-copy h1,
html[data-theme="light"] .support-copy p{
  color:#25221d!important;
  opacity:1!important;
  text-shadow:none!important;
}
html[data-theme="light"] .auth-refined-flow .auth-copy p,
html[data-theme="light"] .support-copy p{
  color:#665d50!important;
}
html[data-theme="light"] .auth-refined-flow .auth-panel,
html[data-theme="light"] .support-chat{
  background:
    radial-gradient(circle at 84% 14%,rgba(155,122,69,.08),transparent 12rem),
    rgba(255,249,238,.84)!important;
  color:#25221d!important;
  border-color:rgba(63,52,37,.16)!important;
  box-shadow:0 22px 60px rgba(63,52,37,.10)!important;
}
html[data-theme="light"] .auth-refined-flow .auth-panel label,
html[data-theme="light"] .auth-refined-flow .auth-panel p,
html[data-theme="light"] .auth-refined-flow .auth-panel a,
html[data-theme="light"] .support-log p,
html[data-theme="light"] .support-log p b{
  color:#25221d!important;
}
html[data-theme="light"] .auth-refined-flow .auth-panel input,
html[data-theme="light"] .support-input input{
  background:rgba(255,252,246,.82)!important;
  color:#25221d!important;
  border-color:rgba(63,52,37,.18)!important;
}
html[data-theme="light"] .auth-refined-flow .auth-panel input::placeholder,
html[data-theme="light"] .support-input input::placeholder{
  color:#8d8373!important;
}
html[data-theme="light"] .support-chips button,
html[data-theme="light"] .support-faq article,
html[data-theme="light"] .support-templates article{
  background:rgba(255,249,238,.76)!important;
  color:#25221d!important;
  border-color:rgba(63,52,37,.15)!important;
}

/* Phase 7 visual QA: Help page light mode must read as calm, not washed out */
html[data-theme="light"] .support-page .section-lead h2,
html[data-theme="light"] .support-page .seo-faq h2{
  color:#25221d!important;
  text-shadow:none!important;
}
html[data-theme="light"] .support-page .section-lead p,
html[data-theme="light"] .support-page .seo-faq p{
  color:#5a5145!important;
  opacity:1!important;
}
html[data-theme="light"] .product-guide-grid article,
html[data-theme="light"] .support-templates article{
  background:
    radial-gradient(circle at 82% 14%,rgba(155,122,69,.08),transparent 9rem),
    rgba(255,249,238,.82)!important;
  border-color:rgba(63,52,37,.16)!important;
  color:#25221d!important;
  box-shadow:0 18px 42px rgba(63,52,37,.08)!important;
}
html[data-theme="light"] .product-guide-grid h3,
html[data-theme="light"] .support-templates h3{
  color:#25221d!important;
}
html[data-theme="light"] .product-guide-grid p,
html[data-theme="light"] .support-templates p{
  color:#5a5145!important;
  opacity:1!important;
}
html[data-theme="light"] .support-shell{
  border-color:rgba(63,52,37,.12)!important;
  background:
    radial-gradient(circle at 18% 22%,rgba(155,122,69,.08),transparent 18rem),
    rgba(255,249,238,.30)!important;
}
html[data-theme="light"] .support-input .primary{
  box-shadow:none!important;
}

/* Phase 7 visual QA: normalize light-mode interiors across product and academy pages */
html[data-theme="light"] .station-page .product-detail,
html[data-theme="light"] .station-page .seo-faq,
html[data-theme="light"] .station-page .product-plan-section,
html[data-theme="light"] .station-page .tool-access-compare,
html[data-theme="light"] .academy-page .section,
html[data-theme="light"] .academy-content-page .section{
  color:#25221d!important;
}
html[data-theme="light"] .station-page .section-lead h2,
html[data-theme="light"] .station-page .section-head h2,
html[data-theme="light"] .station-page .product-detail h2,
html[data-theme="light"] .station-page .seo-faq h2,
html[data-theme="light"] .academy-page .section-lead h2,
html[data-theme="light"] .academy-page .section-head h2,
html[data-theme="light"] .academy-page .page-hero h1,
html[data-theme="light"] .academy-content-page .section-lead h2,
html[data-theme="light"] .academy-content-page .section-head h2,
html[data-theme="light"] .academy-content-page .page-hero h1{
  color:#25221d!important;
  text-shadow:none!important;
}
html[data-theme="light"] .station-page .section-lead p,
html[data-theme="light"] .station-page .section-head p,
html[data-theme="light"] .station-page .product-detail p,
html[data-theme="light"] .station-page .seo-faq p,
html[data-theme="light"] .academy-page .page-hero p,
html[data-theme="light"] .academy-page .section-lead p,
html[data-theme="light"] .academy-page .section-head p,
html[data-theme="light"] .academy-content-page .page-hero p,
html[data-theme="light"] .academy-content-page .section-lead p,
html[data-theme="light"] .academy-content-page .section-head p{
  color:#5a5145!important;
  opacity:1!important;
}
html[data-theme="light"] .feature-accordion-item,
html[data-theme="light"] .faq-item,
html[data-theme="light"] .station-method article,
html[data-theme="light"] .protected-tool-card,
html[data-theme="light"] .protected-tools-grid article,
html[data-theme="light"] .academy-page article,
html[data-theme="light"] .academy-content-page .academy-spine article,
html[data-theme="light"] .academy-content-page .academy-tree-node,
html[data-theme="light"] .academy-content-page .academy-index-card{
  background:
    radial-gradient(circle at 86% 16%,rgba(155,122,69,.08),transparent 9rem),
    rgba(255,249,238,.84)!important;
  border-color:rgba(63,52,37,.16)!important;
  color:#25221d!important;
  box-shadow:0 18px 42px rgba(63,52,37,.08)!important;
}
html[data-theme="light"] .feature-accordion-item summary,
html[data-theme="light"] .feature-accordion-item summary strong,
html[data-theme="light"] .faq-item summary,
html[data-theme="light"] .station-method h2,
html[data-theme="light"] .protected-tool-card h2,
html[data-theme="light"] .protected-tools-grid h2,
html[data-theme="light"] .academy-page article h2,
html[data-theme="light"] .academy-page article h3,
html[data-theme="light"] .academy-page article strong,
html[data-theme="light"] .academy-content-page .academy-spine h3,
html[data-theme="light"] .academy-content-page .academy-tree-node strong,
html[data-theme="light"] .academy-content-page .academy-index-card strong{
  color:#25221d!important;
}
html[data-theme="light"] .feature-accordion-item p,
html[data-theme="light"] .faq-item p,
html[data-theme="light"] .station-method p,
html[data-theme="light"] .protected-tool-card p,
html[data-theme="light"] .protected-tools-grid p,
html[data-theme="light"] .academy-page article p,
html[data-theme="light"] .academy-page article small,
html[data-theme="light"] .academy-content-page .academy-spine p,
html[data-theme="light"] .academy-content-page .academy-tree-node small,
html[data-theme="light"] .academy-content-page .academy-index-card small{
  color:#5a5145!important;
  opacity:1!important;
}
html[data-theme="light"] .feature-accordion-item summary span,
html[data-theme="light"] .station-method span,
html[data-theme="light"] .academy-page article span,
html[data-theme="light"] .academy-content-page .academy-spine article span,
html[data-theme="light"] .academy-content-page .academy-tree-node span,
html[data-theme="light"] .academy-content-page .academy-index-card span{
  color:#8d713f!important;
}

html[data-theme="light"] .academy-content-page .academy-spine,
html[data-theme="light"] .academy-content-page .academy-tree-shell{
  color:#25221d!important;
}

html[data-theme="light"] .academy-content-page .academy-tree-core,
html[data-theme="light"] .academy-content-page .academy-galaxy-core{
  background:
    radial-gradient(circle at 50% 18%,rgba(155,122,69,.12),transparent 8rem),
    linear-gradient(180deg,rgba(255,252,246,.94),rgba(246,237,220,.88))!important;
  border-color:rgba(63,52,37,.18)!important;
  color:#25221d!important;
  box-shadow:0 24px 62px rgba(63,52,37,.11)!important;
}

html[data-theme="light"] .academy-content-page .academy-tree-core *,
html[data-theme="light"] .academy-content-page .academy-galaxy-core *{
  color:inherit!important;
  text-shadow:none!important;
}
html[data-theme="light"] .academy-map-notes article{
  background:
    radial-gradient(circle at 86% 12%,rgba(155,122,69,.09),transparent 7rem),
    rgba(255,249,238,.82)!important;
  border-color:rgba(63,52,37,.15)!important;
  color:#25221d!important;
  box-shadow:0 18px 42px rgba(63,52,37,.08)!important;
}
html[data-theme="light"] .academy-map-notes strong{
  color:#25221d!important;
}
html[data-theme="light"] .academy-map-notes span{
  color:#5a5145!important;
}
html[data-theme="light"] .plan-compare-table{
  background:rgba(255,249,238,.86)!important;
  border-color:rgba(63,52,37,.16)!important;
  box-shadow:0 18px 46px rgba(63,52,37,.08)!important;
}
html[data-theme="light"] .plan-compare-table th,
html[data-theme="light"] .plan-compare-table td{
  color:#3f382f!important;
  border-bottom-color:rgba(63,52,37,.12)!important;
}
html[data-theme="light"] .plan-compare-table thead th{
  background:rgba(255,252,246,.72)!important;
  color:#25221d!important;
}
html[data-theme="light"] .plan-compare-table tbody th,
html[data-theme="light"] .plan-note{
  color:#725d37!important;
}
html[data-theme="light"] .plan-check.yes{
  color:#fff8ea!important;
  background:#637456!important;
  border-color:rgba(63,52,37,.18)!important;
}
html[data-theme="light"] .plan-check.no{
  color:#7a6f5f!important;
  background:rgba(63,52,37,.06)!important;
  border-color:rgba(63,52,37,.14)!important;
}
html[data-theme="light"] .free-tool-page{
  background:
    radial-gradient(ellipse at 16% 18%,rgba(96,82,62,.10),transparent 28rem),
    radial-gradient(ellipse at 84% 26%,rgba(150,122,80,.12),transparent 30rem),
    linear-gradient(180deg,#f4ecdf 0%,#ece3d5 52%,#e3dacb 100%)!important;
  color:#25221d!important;
}
html[data-theme="light"] .free-tool-hero,
html[data-theme="light"] .journal-form-grid,
html[data-theme="light"] .journal-builder-side,
html[data-theme="light"] .journal-record,
html[data-theme="light"] .journal-empty,
html[data-theme="light"] .replay-frame,
html[data-theme="light"] .kit-grid article,
html[data-theme="light"] .kit-steps{
  background:
    radial-gradient(circle at 84% 14%,rgba(155,122,69,.08),transparent 12rem),
    rgba(255,249,238,.84)!important;
  color:#25221d!important;
  border-color:rgba(63,52,37,.16)!important;
  box-shadow:0 18px 48px rgba(63,52,37,.08)!important;
}
html[data-theme="light"] .free-tool-hero h1,
html[data-theme="light"] .free-tool-hero aside strong,
html[data-theme="light"] .kit-grid h3,
html[data-theme="light"] .kit-steps h3,
html[data-theme="light"] .journal-form-grid span,
html[data-theme="light"] .journal-record strong{
  color:#25221d!important;
}
html[data-theme="light"] .free-tool-hero p,
html[data-theme="light"] .free-tool-hero aside,
html[data-theme="light"] .kit-grid p,
html[data-theme="light"] .kit-grid li,
html[data-theme="light"] .kit-steps li,
html[data-theme="light"] .journal-record span,
html[data-theme="light"] .journal-record p,
html[data-theme="light"] .journal-empty{
  color:#665d50!important;
}
html[data-theme="light"] .free-tool-hero aside{
  background:rgba(244,235,219,.86)!important;
  border-color:rgba(63,52,37,.14)!important;
}
html[data-theme="light"] .journal-form-grid input,
html[data-theme="light"] .journal-form-grid textarea{
  background:rgba(255,252,246,.84)!important;
  color:#25221d!important;
  border-color:rgba(63,52,37,.18)!important;
}
html[data-theme="light"] .journal-form-grid input::placeholder,
html[data-theme="light"] .journal-form-grid textarea::placeholder{
  color:#8d8373!important;
}

/* Phase 3: reliable desktop/mobile navigation and route-aware language UI */
.site-header .primary-nav{
  display:flex!important;
  align-items:center;
  justify-content:center;
}
.site-header .primary-nav .nav-group.is-open>.mega-panel{
  display:grid;
}
.site-header .mega-panel{
  gap:.35rem;
}
.site-header .mega-panel>span{
  padding:.45rem .75rem .35rem;
  color:rgba(245,236,218,.72);
  font-size:.76rem;
  font-weight:900;
}
.site-header .nav-group>button{
  white-space:nowrap;
}
.site-header .nav-group>button:after{
  content:"";
  display:inline-block;
  width:.38rem;
  height:.38rem;
  margin-inline-start:.45rem;
  border-inline-end:2px solid currentColor;
  border-block-end:2px solid currentColor;
  transform:rotate(45deg) translateY(-.12rem);
  opacity:.58;
}
.site-header .nav-group.is-open>button:after{
  transform:rotate(225deg) translateY(-.05rem);
}
@media(max-width:960px){
  .site-header{
    grid-template-columns:auto 1fr auto;
  }
  .site-header .primary-nav{
    display:none!important;
    grid-column:1/-1;
    order:4;
    position:static!important;
    inset:auto!important;
    transform:none!important;
    width:100%;
    max-height:calc(100vh - 86px);
    overflow:auto;
    padding:.7rem;
    border:1px solid rgba(214,185,119,.16);
    border-radius:20px;
    background:rgba(18,17,13,.94);
    box-shadow:0 22px 60px rgba(0,0,0,.28);
  }
  .site-header .primary-nav.is-open{
    display:grid!important;
  }
  .site-header .primary-nav .nav-group{
    width:100%;
  }
  .site-header .primary-nav .nav-group>button{
    width:100%;
    color:#f6ecd9;
    background:rgba(255,248,235,.06);
    border:1px solid rgba(214,185,119,.12);
  }
  .site-header .primary-nav .mega-panel,
  .site-header .primary-nav .nav-group:hover>.mega-panel,
  .site-header .primary-nav .nav-group:focus-within>.mega-panel{
    display:none;
    position:static;
    min-width:0;
    width:100%;
    margin:.45rem 0 .15rem;
    transform:none;
    background:rgba(255,248,235,.08);
    border-color:rgba(214,185,119,.12);
    box-shadow:none;
  }
  .site-header .primary-nav .nav-group.is-open>.mega-panel{
    display:grid;
  }
  .site-header .primary-nav .mega-panel a{
    color:#f6ecd9;
    background:rgba(255,248,235,.045);
  }
  .site-header .primary-nav .mega-panel a span{
    color:rgba(246,236,217,.72);
  }
}
@media(max-width:560px){
  .site-header{
    padding:.72rem .78rem;
    gap:.45rem;
  }
  .brand img{
    width:38px;
    height:38px;
  }
  .header-actions{
    gap:.35rem;
  }
  .header-actions .start-link{
    max-width:118px;
    overflow:hidden;
    text-overflow:ellipsis;
    white-space:nowrap;
  }
  .lang-link{
    min-width:42px;
    padding:.55rem .7rem;
  }
}
html[data-theme="light"] .site-header .primary-nav{
  background:rgba(255,249,238,.96);
}
@media(max-width:960px){
  html[data-theme="light"] .site-header .primary-nav{
    background:rgba(255,249,238,.98);
    border-color:rgba(63,52,37,.16);
    box-shadow:0 24px 64px rgba(63,52,37,.16);
  }
  html[data-theme="light"] .site-header .primary-nav .nav-group>button,
  html[data-theme="light"] .site-header .primary-nav .mega-panel a{
    color:#25221d;
    background:rgba(63,52,37,.045);
    border-color:rgba(63,52,37,.12);
  }
  html[data-theme="light"] .site-header .primary-nav .mega-panel{
    background:rgba(255,255,250,.82);
    border-color:rgba(63,52,37,.12);
  }
  html[data-theme="light"] .site-header .primary-nav .mega-panel a span{
    color:#665d50;
  }
}
html[data-theme="light"] .site-header .primary-nav .mega-panel a span{
  color:#665d50;
}

/* Phase 7 visual QA: desktop mega menu must not keep dark-theme link colors in light mode */
html[data-theme="light"] .site-header .primary-nav .mega-panel a{
  color:#25221d!important;
  background:rgba(255,252,246,.72)!important;
  border-color:rgba(63,52,37,.12)!important;
}

html[data-theme="light"] .site-header .primary-nav .mega-panel a strong{
  color:#25221d!important;
}

html[data-theme="light"] .site-header .primary-nav .mega-panel a:hover{
  background:rgba(155,122,69,.10)!important;
  color:#25221d!important;
}

/* Pricing page polish: light theme must read as a finished commerce page */
.pricing-page{
  --pricing-ink:#24211b;
  --pricing-muted:#5f5648;
  --pricing-soft:#f7efe2;
  --pricing-surface:#fff8ec;
  --pricing-surface-2:#efe3cf;
  --pricing-line:rgba(62,52,38,.16);
  --pricing-accent:#776144;
  background:
    radial-gradient(ellipse at 14% 12%,rgba(77,67,53,.12),transparent 28rem),
    radial-gradient(ellipse at 82% 22%,rgba(143,118,80,.13),transparent 30rem),
    linear-gradient(135deg,#f6eddf 0%,#eee2d0 48%,#e4dccd 100%)!important;
  color:var(--pricing-ink)!important;
}
.pricing-page .page-hero{
  width:min(1180px,calc(100% - 2rem));
  max-width:none;
  margin:clamp(1.25rem,3vw,2.5rem) auto clamp(1.8rem,4vw,3.2rem);
  padding:clamp(2rem,4vw,4rem);
  border:1px solid var(--pricing-line);
  border-radius:28px;
  background:
    linear-gradient(135deg,rgba(255,250,241,.92),rgba(239,227,207,.72)),
    radial-gradient(circle at 88% 18%,rgba(119,97,68,.12),transparent 18rem);
  box-shadow:0 24px 70px rgba(62,52,38,.10);
}
.pricing-page .page-hero:before{
  opacity:.42;
  background:
    radial-gradient(ellipse at 12% 22%,rgba(62,52,38,.10),transparent 16rem),
    radial-gradient(ellipse at 92% 18%,rgba(143,118,80,.12),transparent 18rem);
}
.pricing-page .page-hero h1{
  max-width:940px;
  margin:.75rem 0 .9rem;
  color:var(--pricing-ink)!important;
  font-size:clamp(2.7rem,4.1vw,4rem);
  line-height:1.08;
  text-shadow:none!important;
}
.pricing-page .page-hero p{
  max-width:700px;
  color:var(--pricing-muted)!important;
  font-size:clamp(1rem,1.2vw,1.12rem);
  line-height:1.95;
}
.pricing-page .kicker{
  color:var(--pricing-accent)!important;
}
.pricing-page .product-pricing-groups{
  width:min(1180px,calc(100% - 2rem));
  max-width:none;
  padding:0 0 clamp(3rem,6vw,6rem);
}
.pricing-page .product-pricing-groups>.section-lead{
  max-width:840px;
  margin:0 auto clamp(1.4rem,3vw,2.2rem);
  text-align:center;
}
.pricing-page .product-pricing-groups>.section-lead h2{
  margin:.6rem 0 .7rem;
  color:var(--pricing-ink)!important;
  font-size:clamp(1.85rem,2.8vw,3rem);
  line-height:1.16;
}
.pricing-page .product-pricing-groups>.section-lead p{
  color:var(--pricing-muted)!important;
}
.pricing-page .pricing-compare-group{
  overflow:hidden;
  padding:0;
  border:1px solid var(--pricing-line)!important;
  border-radius:24px;
  background:rgba(255,248,236,.82)!important;
  box-shadow:0 22px 58px rgba(62,52,38,.09)!important;
}
.pricing-page .pricing-compare-group .section-lead{
  max-width:none;
  padding:1.25rem 1.35rem 1rem;
  border-bottom:1px solid rgba(62,52,38,.12);
  background:linear-gradient(135deg,rgba(255,250,241,.74),rgba(239,227,207,.52));
}
.pricing-page .pricing-compare-group .section-lead h2{
  margin:.35rem 0 .3rem;
  font-size:clamp(1.25rem,2vw,1.65rem);
  line-height:1.3;
}
.pricing-page .pricing-compare-group .section-lead h2 a{
  color:var(--pricing-ink)!important;
  text-decoration:none;
}
.pricing-page .pricing-compare-group .section-lead p{
  margin:0;
  color:var(--pricing-muted)!important;
}
.pricing-page .product-pricing-table,
.pricing-page .plan-compare-table{
  margin:0;
  border:0!important;
  border-radius:0;
  background:#fffaf1!important;
  box-shadow:none!important;
}
.pricing-page .plan-compare-table table{
  min-width:760px;
}
.pricing-page .plan-compare-table thead th{
  background:#ebe0cc!important;
  color:#27231c!important;
  font-weight:950;
}
.pricing-page .plan-compare-table th,
.pricing-page .plan-compare-table td{
  color:#3f382f!important;
  border-color:rgba(62,52,38,.13)!important;
}
.pricing-page .plan-compare-table tbody th{
  color:#6f5b3f!important;
  font-weight:900;
}
.pricing-page .plan-check{
  width:2rem;
  height:2rem;
  margin-inline:auto;
  font-size:1.1rem;
}
.pricing-page .plan-check.yes{
  background:#2f5f54!important;
  color:#fff8ec!important;
}
.pricing-page .plan-check.no{
  background:#eee4d2!important;
  color:#8b7d68!important;
}
.pricing-page .plan-note{
  color:#4f4639!important;
  font-weight:850;
}
.pricing-page .plan-actions .primary,
.pricing-page .plan-actions .secondary{
  min-height:38px;
  padding:.62rem .82rem;
  white-space:nowrap;
}
.pricing-page .no-signal-note{
  width:min(1180px,calc(100% - 2rem));
  max-width:none;
  margin:0 auto clamp(3rem,6vw,6rem);
  padding:clamp(1.6rem,3vw,2.4rem);
  border:1px solid rgba(62,52,38,.14);
  border-radius:24px;
  background:rgba(255,248,236,.68);
}
.pricing-page .no-signal-note .section-lead{
  max-width:850px;
}
.pricing-page .no-signal-note h2{
  color:var(--pricing-ink)!important;
}
.pricing-page .no-signal-note p{
  color:var(--pricing-muted)!important;
}
html[data-theme="light"] .pricing-page h1,
html[data-theme="light"] .pricing-page h2,
html[data-theme="light"] .pricing-page h3,
html[data-theme="light"] .pricing-page strong{
  color:var(--pricing-ink)!important;
}
html[data-theme="light"] .pricing-page p,
html[data-theme="light"] .pricing-page small{
  color:var(--pricing-muted)!important;
}
@media(max-width:760px){
  .pricing-page .page-hero,
  .pricing-page .product-pricing-groups,
  .pricing-page .no-signal-note{
    width:min(100% - 1rem,1180px);
  }
  .pricing-page .page-hero{
    padding:2rem 1.15rem;
    border-radius:22px;
  }
  .pricing-page .page-hero h1{
    font-size:clamp(2.35rem,11vw,3.7rem);
  }
  .pricing-page .product-pricing-groups>.section-lead{
    text-align:start;
  }
  .pricing-page .plan-compare-table{
    overflow:auto;
    -webkit-overflow-scrolling:touch;
  }
}

/* Pricing dark-mode parity after the light commerce polish */
html:not([data-theme="light"]) .pricing-page{
  --pricing-ink:#fff4df;
  --pricing-muted:#cfc3ab;
  --pricing-line:rgba(214,185,119,.17);
  --pricing-accent:#d6b977;
  background:
    radial-gradient(ellipse at 14% 12%,rgba(214,185,119,.09),transparent 28rem),
    radial-gradient(ellipse at 82% 22%,rgba(38,95,90,.12),transparent 30rem),
    linear-gradient(135deg,#1f1b14 0%,#242016 48%,#161b15 100%)!important;
  color:#fff4df!important;
}
html:not([data-theme="light"]) .pricing-page .page-hero{
  background:
    linear-gradient(135deg,rgba(31,28,21,.86),rgba(18,17,13,.76)),
    radial-gradient(circle at 88% 18%,rgba(214,185,119,.10),transparent 18rem)!important;
  border-color:rgba(214,185,119,.16)!important;
  box-shadow:0 24px 70px rgba(0,0,0,.22)!important;
}
html:not([data-theme="light"]) .pricing-page .page-hero h1,
html:not([data-theme="light"]) .pricing-page .product-pricing-groups>.section-lead h2,
html:not([data-theme="light"]) .pricing-page .pricing-compare-group .section-lead h2 a,
html:not([data-theme="light"]) .pricing-page .no-signal-note h2{
  color:#fff4df!important;
}
html:not([data-theme="light"]) .pricing-page .page-hero p,
html:not([data-theme="light"]) .pricing-page .product-pricing-groups>.section-lead p,
html:not([data-theme="light"]) .pricing-page .pricing-compare-group .section-lead p,
html:not([data-theme="light"]) .pricing-page .no-signal-note p{
  color:#cfc3ab!important;
}
html:not([data-theme="light"]) .pricing-page .kicker{
  color:#d6b977!important;
}
html:not([data-theme="light"]) .pricing-page .pricing-compare-group,
html:not([data-theme="light"]) .pricing-page .no-signal-note{
  background:rgba(20,18,14,.76)!important;
  border-color:rgba(214,185,119,.16)!important;
  box-shadow:0 22px 58px rgba(0,0,0,.24)!important;
}
html:not([data-theme="light"]) .pricing-page .pricing-compare-group .section-lead{
  background:linear-gradient(135deg,rgba(31,28,21,.84),rgba(20,18,14,.66))!important;
  border-bottom-color:rgba(214,185,119,.14)!important;
}
html:not([data-theme="light"]) .pricing-page .product-pricing-table,
html:not([data-theme="light"]) .pricing-page .plan-compare-table{
  background:#15130f!important;
}
html:not([data-theme="light"]) .pricing-page .plan-compare-table thead th{
  background:#272117!important;
  color:#fff4df!important;
}
html:not([data-theme="light"]) .pricing-page .plan-compare-table th,
html:not([data-theme="light"]) .pricing-page .plan-compare-table td{
  color:#e8dcc4!important;
  border-color:rgba(214,185,119,.13)!important;
}
html:not([data-theme="light"]) .pricing-page .plan-compare-table tbody th,
html:not([data-theme="light"]) .pricing-page .plan-note{
  color:#d6b977!important;
}
html:not([data-theme="light"]) .pricing-page .plan-check.yes{
  background:#315f54!important;
  color:#fff8ec!important;
}
html:not([data-theme="light"]) .pricing-page .plan-check.no{
  background:rgba(255,248,236,.06)!important;
  color:#9c917e!important;
}

.academy-full-checkout-page,.academy-payment-page{background:linear-gradient(145deg,#f5f2e8,#e2ebe4);min-height:70vh}.academy-offer-section{max-width:1180px}.academy-offer-layout{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(260px,.8fr);gap:1rem}.academy-offer-card{display:grid;gap:.65rem;padding:1.15rem;border:1px solid var(--line);border-radius:12px;background:rgba(255,255,255,.68);box-shadow:0 18px 48px rgba(34,43,38,.08)}.academy-offer-main{grid-row:span 2}.academy-offer-card span,.academy-offer-card small{color:var(--teal);font-weight:850}.academy-offer-card h2,.academy-offer-card h3{margin:.1rem 0;color:var(--deep)}.academy-offer-facts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.65rem;margin:.6rem 0}.academy-offer-facts div{padding:.65rem;border:1px solid var(--line);border-radius:8px;background:rgba(255,255,255,.5)}.academy-offer-facts dt{color:var(--muted);font-size:.78rem;font-weight:850}.academy-offer-facts dd{margin:0;font-weight:900;overflow-wrap:anywhere}.academy-offer-list{display:grid;gap:.45rem;margin:.4rem 0 0;padding:0;list-style:none}.academy-offer-list li{padding:.55rem .7rem;border:1px solid var(--line);border-radius:8px;background:rgba(255,255,255,.48);font-weight:850}.academy-offer-list small{display:block;font-weight:650}.academy-offer-value{display:flex;align-items:center;justify-content:space-between;gap:1rem;padding:.85rem;border-radius:10px;background:rgba(15,118,110,.08)}.academy-offer-value strong{font-size:1.45rem}.academy-offer-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:1rem}.academy-offer-status{min-height:1.6rem;font-weight:850;color:var(--teal)}.academy-offer-actions{display:flex;gap:.75rem;flex-wrap:wrap}.academy-payment-status{max-width:780px}.account-commerce-summary,.account-discounts-summary{margin-top:1rem}.account-commerce-summary .academy-offer-facts{grid-template-columns:repeat(4,minmax(0,1fr))}.account-discounts-list{display:grid;gap:.7rem;margin-top:.75rem}.account-discount-card{display:flex;align-items:center;justify-content:space-between;gap:1rem;padding:.85rem;border:1px solid var(--line);border-radius:10px;background:rgba(255,255,255,.55)}.account-discount-card span{color:var(--teal);font-weight:900}.account-discount-card strong{display:block;margin:.2rem 0;color:var(--deep);font-size:1.05rem}.account-discount-card p{margin:.15rem 0 0;color:var(--muted);font-weight:750}.account-discount-actions{display:grid;justify-items:end;gap:.5rem;min-width:130px}.account-discount-actions em{font-style:normal;font-weight:900;color:var(--teal)}
html:not([data-theme="light"]) .academy-full-checkout-page,html:not([data-theme="light"]) .academy-payment-page{background:linear-gradient(145deg,#171b18,#23251f)}html:not([data-theme="light"]) .academy-offer-card{background:linear-gradient(145deg,rgba(32,31,27,.94),rgba(22,24,21,.9));border-color:rgba(207,190,156,.22);color:#f7f0df}html:not([data-theme="light"]) .academy-offer-card h2,html:not([data-theme="light"]) .academy-offer-card h3,html:not([data-theme="light"]) .academy-offer-card strong,html:not([data-theme="light"]) .academy-offer-facts dd{color:#fff5dd}html:not([data-theme="light"]) .academy-offer-card p,html:not([data-theme="light"]) .academy-offer-facts dt{color:#d4c8af}html:not([data-theme="light"]) .academy-offer-list li,html:not([data-theme="light"]) .academy-offer-facts div{background:rgba(255,255,255,.05);border-color:rgba(207,190,156,.18)}
@media(max-width:900px){.academy-offer-layout,.academy-offer-grid{grid-template-columns:1fr}.academy-offer-main{grid-row:auto}.account-commerce-summary .academy-offer-facts{grid-template-columns:1fr}.account-discount-card{display:grid}.account-discount-actions{justify-items:stretch}}@media(max-width:640px){.academy-offer-facts{grid-template-columns:1fr}.academy-offer-value{display:grid}.academy-offer-actions .primary,.academy-offer-actions .secondary{width:100%}}
.commerce-coupon-panel{display:grid;gap:.55rem;margin-top:.25rem;padding:.8rem;border:1px solid rgba(15,118,110,.18);border-radius:10px;background:rgba(15,118,110,.06)}.commerce-coupon-panel label{display:grid;gap:.35rem}.commerce-coupon-panel input{width:100%;padding:.72rem .8rem;border:1px solid var(--line);border-radius:8px;background:rgba(255,255,255,.72);color:inherit;font:inherit;font-weight:800}.commerce-coupon-actions{display:flex;gap:.5rem;flex-wrap:wrap}.commerce-coupon-status{min-height:1.35rem;margin:0;color:var(--teal);font-weight:900}.commerce-coupon-preview{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.45rem;margin:0}.commerce-coupon-preview div{padding:.55rem;border:1px solid var(--line);border-radius:8px;background:rgba(255,255,255,.5)}.commerce-coupon-preview dt{font-size:.75rem;color:var(--muted);font-weight:850}.commerce-coupon-preview dd{margin:0;font-weight:950}.ton-checkout-layout{display:grid;grid-template-columns:minmax(320px,.92fr) minmax(360px,1.08fr);gap:1rem;align-items:stretch}.ton-checkout-primary,.ton-checkout-summary{min-height:100%}.ton-checkout-primary{place-items:center;text-align:center}.ton-checkout-primary>span,.ton-checkout-primary>strong,.ton-checkout-primary>p{justify-self:stretch}.ton-countdown{display:flex;align-items:center;justify-content:center;gap:.65rem;padding:.55rem .8rem;border-radius:999px;background:rgba(15,118,110,.10);font-weight:900}.ton-countdown span{color:var(--muted)}.ton-countdown b{color:var(--deep);font-size:1.08rem}.ton-qr-frame{display:grid;place-items:center;width:min(100%,330px);min-height:310px;padding:1rem;border:1px solid var(--line);border-radius:14px;background:rgba(255,255,255,.74)}.ton-qr-frame img{display:block;width:clamp(260px,28vw,300px);height:clamp(260px,28vw,300px);object-fit:contain}.ton-qr-fallback{display:grid;place-items:center;gap:.65rem;min-height:260px;color:var(--muted);font-weight:850}.ton-wallet-button{width:min(100%,330px);text-align:center}.ton-summary-facts,.ton-payment-facts{grid-template-columns:repeat(2,minmax(0,1fr))}.ton-payment-facts dd{font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-size:.86rem;line-height:1.5;overflow-wrap:anywhere;word-break:break-word}.ton-copy-actions{display:grid;grid-template-columns:repeat(3,minmax(0,1fr))}.ton-warning-list li{font-size:.9rem;line-height:1.45}.ton-wallet-button.is-disabled{opacity:.48;pointer-events:none}html:not([data-theme="light"]) .commerce-coupon-panel{background:rgba(255,255,255,.045);border-color:rgba(207,190,156,.18)}html:not([data-theme="light"]) .commerce-coupon-panel input{background:rgba(255,255,255,.07);border-color:rgba(207,190,156,.2);color:#fff5dd}html:not([data-theme="light"]) .commerce-coupon-preview div,html:not([data-theme="light"]) .ton-qr-frame{background:rgba(255,255,255,.06);border-color:rgba(207,190,156,.18)}html:not([data-theme="light"]) .ton-countdown{background:rgba(200,169,94,.12)}html:not([data-theme="light"]) .ton-countdown b{color:#fff5dd}@media(max-width:980px){.ton-checkout-layout{grid-template-columns:1fr}.ton-summary-facts,.ton-payment-facts{grid-template-columns:1fr}.commerce-coupon-preview{grid-template-columns:1fr}.ton-copy-actions{grid-template-columns:1fr}}@media(max-width:520px){.ton-qr-frame{min-height:270px}.ton-qr-frame img{width:240px;height:240px}.ton-checkout-primary{place-items:stretch}.ton-wallet-button{width:100%}}

/* Keep the payment QR scannable in both themes: no overlay and a white canvas. */
.ton-qr-frame{background:#fff!important}
.product-detail-facts{display:flex;flex-wrap:wrap;gap:.5rem;margin:1rem 0 0;padding:0;list-style:none}.product-detail-facts li{padding:.5rem .68rem;border:1px solid var(--line);border-radius:999px;background:rgba(255,255,255,.52);font-weight:850;color:var(--deep)}.cart-review-layout{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(320px,.8fr);gap:1rem;align-items:start}.cart-items-panel{display:grid;gap:.8rem}.cart-item{display:flex;justify-content:space-between;gap:1rem;padding:1rem;border:1px solid var(--line);border-radius:12px;background:rgba(255,255,255,.68);box-shadow:0 18px 48px rgba(34,43,38,.06)}.cart-item span,.cart-summary-panel>span{color:var(--teal);font-weight:900}.cart-item strong{display:block;margin:.2rem 0;color:var(--deep);font-size:1.05rem}.cart-item p{margin:.25rem 0 0;color:var(--muted);font-weight:750}.cart-item-side{display:grid;justify-items:end;gap:.55rem;min-width:130px}.cart-total-facts{grid-template-columns:1fr}.cart-checkout-button{width:100%}.commerce-cart-link[hidden]{display:none!important}html:not([data-theme="light"]) .product-detail-facts li,html:not([data-theme="light"]) .cart-item{background:rgba(255,255,255,.06);border-color:rgba(207,190,156,.18);color:#fff5dd}@media(max-width:980px){.cart-review-layout{grid-template-columns:1fr}.cart-item{display:grid}.cart-item-side{justify-items:stretch}.site-header .header-actions .commerce-cart-link:not([hidden]){display:inline-flex!important}}@media(max-width:560px){.product-detail-facts{display:grid}.cart-item-side{min-width:0}}

.commerce-product-checkout .academy-offer-section{padding:clamp(1.75rem,3.5vw,3rem) clamp(1rem,4vw,3rem) clamp(3rem,6vw,5rem)}
.commerce-product-checkout-heading{gap:.35rem;margin:0 auto clamp(1.25rem,2.5vw,2rem)}
.commerce-product-checkout-heading h1{margin:0;color:var(--deep);font-size:clamp(2.2rem,4vw,4rem);line-height:1.15}
.commerce-product-checkout-heading h2{margin:0;color:var(--muted);font-size:clamp(1.05rem,1.5vw,1.3rem);line-height:1.6}
.commerce-product-checkout .academy-offer-status:empty{display:none}
html:not([data-theme="light"]) .commerce-product-checkout-heading h1{color:#fff5dd}
html:not([data-theme="light"]) .commerce-product-checkout-heading h2{color:#d4c8af}
@media(max-width:640px){.commerce-product-checkout .academy-offer-section{padding-top:1.25rem}.commerce-product-checkout-heading{margin-bottom:1rem}.commerce-product-checkout-heading h1{font-size:clamp(2rem,11vw,3rem)}}

/* Homepage hero guardrail: Persian titles must never crop outside the viewport */
.trading-hero{
  overflow:hidden;
}
.trading-hero .hero-copy{
  width:min(100%,1100px)!important;
  max-width:calc(100vw - clamp(2rem,8vw,8rem))!important;
  min-width:0!important;
  margin-inline:auto!important;
}
.trading-hero h1,
body .trading-hero h1,
html[data-theme="light"] .trading-hero h1,
html[data-theme="light"] body .trading-hero h1{
  width:auto!important;
  max-width:min(1100px,calc(100vw - clamp(2rem,8vw,8rem)))!important;
  margin-inline:auto!important;
  white-space:normal!important;
  overflow-wrap:normal!important;
  word-break:normal!important;
  text-wrap:balance;
}
html[dir="rtl"] .trading-hero h1,
html[dir="rtl"] body .trading-hero h1{
  font-size:clamp(2.7rem,4.35vw,5rem)!important;
  line-height:1.2!important;
}
@media(max-width:760px){
  .trading-hero .hero-copy,
  .trading-hero h1,
  body .trading-hero h1,
  html[data-theme="light"] .trading-hero h1,
  html[data-theme="light"] body .trading-hero h1{
    max-width:calc(100vw - 1.5rem)!important;
  }
  html[dir="rtl"] .trading-hero h1,
  html[dir="rtl"] body .trading-hero h1{
    font-size:clamp(2.25rem,10vw,3.8rem)!important;
  }
}

/* Help page: separate quick chat from real support tickets */
#product-guide,
#ticket,
#faq{
  scroll-margin-top:96px;
}
.support-mode-label{
  display:inline-flex;
  width:max-content;
  padding:.35rem .62rem;
  border:1px solid rgba(214,185,119,.16);
  border-radius:999px;
  color:#d6b977;
  font-size:.76rem;
  font-weight:900;
}
.support-ticket-section{
  display:grid;
  grid-template-columns:minmax(260px,.45fr) minmax(320px,.75fr);
  gap:clamp(1rem,3vw,2rem);
  align-items:start;
}
.support-ticket-form{
  display:grid;
  gap:1rem;
  padding:clamp(1rem,2.2vw,1.6rem);
  border:1px solid rgba(214,185,119,.16);
  border-radius:24px;
  background:rgba(20,18,14,.70);
  box-shadow:0 22px 58px rgba(0,0,0,.22);
}
.support-ticket-form label{
  display:grid;
  gap:.45rem;
  color:#fff4df;
  font-weight:900;
}
.support-ticket-form input,
.support-ticket-form select,
.support-ticket-form textarea{
  width:100%;
  min-height:46px;
  padding:.85rem .95rem;
  border:1px solid rgba(214,185,119,.16);
  border-radius:14px;
  background:rgba(255,248,236,.06);
  color:#fff4df;
  font:inherit;
}
.support-ticket-form textarea{
  resize:vertical;
  line-height:1.8;
}
.support-ticket-form .primary{
  min-height:48px;
  font-size:.95rem;
  font-weight:900;
}
.ticket-status{
  margin:0;
  color:#cfc3ab;
  font-size:.92rem;
}
.ticket-status strong{
  color:#d6b977;
}
html[data-theme="light"] .support-mode-label{
  color:#776144;
  border-color:rgba(62,52,38,.16);
}
html[data-theme="light"] .support-ticket-form{
  background:
    radial-gradient(circle at 84% 16%,rgba(155,122,69,.08),transparent 12rem),
    rgba(255,249,238,.90)!important;
  border-color:rgba(63,52,37,.18)!important;
  box-shadow:0 22px 58px rgba(63,52,37,.11)!important;
}
html[data-theme="light"] .support-ticket-form label{
  color:#25221d!important;
}
html[data-theme="light"] .support-ticket-form input,
html[data-theme="light"] .support-ticket-form select,
html[data-theme="light"] .support-ticket-form textarea{
  background:rgba(255,252,246,.92)!important;
  color:#25221d!important;
  border-color:rgba(63,52,37,.18)!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.5)!important;
}
html[data-theme="light"] .support-ticket-form input::placeholder,
html[data-theme="light"] .support-ticket-form textarea::placeholder{
  color:#7a6f5f!important;
  opacity:1!important;
  font-weight:650;
}
html[data-theme="light"] .ticket-status{
  color:#5a5145!important;
}
html[data-theme="light"] .ticket-status strong{
  color:#776144!important;
}
@media(max-width:860px){
  .support-ticket-section{
    grid-template-columns:1fr;
  }
}

/* Phase 6 QA: product hero copy must stay readable on warm light backgrounds */
html[data-theme="light"] .station-page .page-hero p,
html[data-theme="light"] .product-article-page .page-hero p,
html[data-theme="light"] .free-tool-page .free-tool-hero p{
  color:#4f473b!important;
  opacity:1!important;
}
@media(max-width:680px){
  html[data-theme="light"] .station-page .page-hero p{
    color:#463f35!important;
    font-weight:650;
  }
}
/* Light theme footer safety override to avoid inherited dark blocks from previous stages */
html[data-theme="light"] .site-footer,
html[data-theme="light"] .reference-footer,
html[data-theme="light"] footer {
  background: #f8f5ee !important;
  color: #2f2a21 !important;
}

html[data-theme="light"] .site-footer a,
html[data-theme="light"] .reference-footer a,
html[data-theme="light"] footer a,
html[data-theme="light"] .site-footer h2,
html[data-theme="light"] .reference-footer h2,
html[data-theme="light"] .footer-column h2,
html[data-theme="light"] .footer-social h2,
html[data-theme="light"] .site-footer p,
html[data-theme="light"] .reference-footer p {
  color: #2f2a21 !important;
}

html[data-theme="light"] .site-footer .footer-social a,
html[data-theme="light"] .reference-footer .footer-social a,
html[data-theme="light"] .site-footer .footer-link-grid a,
html[data-theme="light"] .reference-footer .footer-link-grid a,
html[data-theme="light"] .footer-column a {
  color: #27445d !important;
}

/* TupTrader light harmony pass: one neutral/nude system for all surfaces */
html[data-theme="light"]{
  --ink:#27231d;
  --deep:#27231d;
  --paper:#f3eee4;
  --pearl:#fffaf1;
  --panel:#fff9ee;
  --soft:rgba(255,249,238,.82);
  --line:rgba(78,66,48,.16);
  --muted:#6c6254;
  --teal:#244f49;
  --teal-2:#183b36;
  --bronze:#9b784a;
  --moss:#6d7865;
  color-scheme:light;
}

html[data-theme="light"],
html[data-theme="light"] body{
  background:#f3eee4!important;
  background-image:
    radial-gradient(ellipse at 14% 8%,rgba(155,120,74,.10),transparent 30rem),
    radial-gradient(ellipse at 86% 18%,rgba(36,79,73,.08),transparent 34rem),
    linear-gradient(135deg,#f7f1e7 0%,#f0e8db 52%,#e7e6d8 100%)!important;
  color:#27231d!important;
}

html[data-theme="light"] .site-header{
  background:rgba(250,246,237,.88)!important;
  border-bottom:1px solid rgba(78,66,48,.14)!important;
  box-shadow:0 10px 32px rgba(66,54,38,.07)!important;
}

html[data-theme="light"] .page,
html[data-theme="light"] .auth-page,
html[data-theme="light"] .trading-hero,
html[data-theme="light"] .academy-content-page,
html[data-theme="light"] .station-page,
html[data-theme="light"] .pricing-page,
html[data-theme="light"] .free-tool-page,
html[data-theme="light"] .account-page,
html[data-theme="light"] .admin-page{
  background:transparent!important;
  color:#27231d!important;
}

html[data-theme="light"] .page-hero,
html[data-theme="light"] .section,
html[data-theme="light"] .product-detail,
html[data-theme="light"] .seo-copy,
html[data-theme="light"] .dark-guide,
html[data-theme="light"] .home-trust-band,
html[data-theme="light"] .home-outcome-band,
html[data-theme="light"] .ops-diagrams{
  background:transparent!important;
  background-image:none!important;
  color:#27231d!important;
}

html[data-theme="light"] .hero-shell,
html[data-theme="light"] .market-console,
html[data-theme="light"] .account-shell,
html[data-theme="light"] .admin-shell,
html[data-theme="light"] .auth-panel,
html[data-theme="light"] .auth-refined-flow .auth-panel,
html[data-theme="light"] .support-ticket-form,
html[data-theme="light"] .support-chat,
html[data-theme="light"] .support-shell,
html[data-theme="light"] .faq-shell,
html[data-theme="light"] .station,
html[data-theme="light"] .card,
html[data-theme="light"] .signal-card,
html[data-theme="light"] .tool-card,
html[data-theme="light"] .tt-product-card,
html[data-theme="light"] .product-card,
html[data-theme="light"] .growth-card,
html[data-theme="light"] .protected-tool-card,
html[data-theme="light"] .pricing-compare-group,
html[data-theme="light"] .product-pricing-table,
html[data-theme="light"] .plan-compare-table,
html[data-theme="light"] .feature-list article,
html[data-theme="light"] .feature-accordion-item,
html[data-theme="light"] .faq-item,
html[data-theme="light"] .support-faq article,
html[data-theme="light"] .support-templates article,
html[data-theme="light"] .product-guide-grid article,
html[data-theme="light"] .trust-list article,
html[data-theme="light"] .academy-tree-node,
html[data-theme="light"] .academy-index-card,
html[data-theme="light"] .academy-tree-core,
html[data-theme="light"] .academy-galaxy-core,
html[data-theme="light"] .neural-system-map,
html[data-theme="light"] .neural-core,
html[data-theme="light"] .lesson-quiz-card,
html[data-theme="light"] .lesson-journal-box,
html[data-theme="light"] .journal-builder,
html[data-theme="light"] .journal-builder-side,
html[data-theme="light"] .journal-record,
html[data-theme="light"] .journal-preview-section,
html[data-theme="light"] .replay-free-shell,
html[data-theme="light"] .replay-frame,
html[data-theme="light"] .profile-panel article,
html[data-theme="light"] .task-card,
html[data-theme="light"] .rail-action,
html[data-theme="light"] .account-status-strip article,
html[data-theme="light"] .product-row a,
html[data-theme="light"] .kit-grid article,
html[data-theme="light"] .kit-steps article,
html[data-theme="light"] .system-rail-card{
  background:linear-gradient(135deg,rgba(255,250,241,.86),rgba(246,239,226,.72))!important;
  border-color:rgba(78,66,48,.16)!important;
  box-shadow:0 18px 52px rgba(67,55,38,.08)!important;
  color:#27231d!important;
}

html[data-theme="light"] .home-trust-band,
html[data-theme="light"] .home-outcome-band{
  background:linear-gradient(135deg,rgba(247,241,231,.88),rgba(232,226,214,.70))!important;
  border-block:1px solid rgba(78,66,48,.12)!important;
}

html[data-theme="light"] .home-trust-band *,
html[data-theme="light"] .home-outcome-band *{
  color:#27231d!important;
}

html[data-theme="light"] .home-outcome-band .outcome-flow a,
html[data-theme="light"] .home-trust-band a,
html[data-theme="light"] .home-trust-band article{
  background:linear-gradient(135deg,rgba(255,250,241,.88),rgba(238,231,217,.76))!important;
  border-color:rgba(78,66,48,.16)!important;
  box-shadow:0 16px 42px rgba(67,55,38,.08)!important;
}

/* PRISM assessment light parity: no dark panels inside the light theme */
html[data-theme="light"] .prism-assessment-page{
  --read-ink:#27231d;
  --read-muted:#62594b;
  --read-gold:#8e6d3f;
  --read-line:rgba(78,66,48,.16);
}

html[data-theme="light"] .prism-assessment-page .assessment-meta span{
  background:rgba(255,250,241,.76)!important;
  border-color:rgba(78,66,48,.16)!important;
  color:#62594b!important;
  box-shadow:0 10px 26px rgba(67,55,38,.06)!important;
}

html[data-theme="light"] .prism-assessment-page .prism-tier-strip article,
html[data-theme="light"] .prism-assessment-page .prism-tier-strip article.active,
html[data-theme="light"] .prism-assessment-page .prism-tier-strip article.locked{
  background:linear-gradient(135deg,rgba(255,250,241,.88),rgba(238,231,217,.74))!important;
  border-color:rgba(78,66,48,.16)!important;
  box-shadow:0 16px 44px rgba(67,55,38,.08)!important;
  color:#27231d!important;
}

html[data-theme="light"] .prism-assessment-page .prism-tier-strip article.active{
  border-color:rgba(142,109,63,.34)!important;
  background:linear-gradient(135deg,rgba(252,247,237,.95),rgba(230,224,209,.78))!important;
}

html[data-theme="light"] .prism-assessment-page .prism-tier-strip strong,
html[data-theme="light"] .prism-assessment-page .prism-tier-strip span,
html[data-theme="light"] .prism-assessment-page .prism-tier-strip p{
  color:#27231d!important;
}

html[data-theme="light"] .prism-assessment-page .prism-tier-strip span{
  color:#8e6d3f!important;
}

html[data-theme="light"] .prism-assessment-page .prism-assessment-shell,
html[data-theme="light"] .prism-assessment-page .prism-core-shell{
  background:linear-gradient(135deg,rgba(255,250,241,.86),rgba(238,231,217,.72))!important;
  border-color:rgba(78,66,48,.16)!important;
  box-shadow:0 24px 70px rgba(67,55,38,.10)!important;
  color:#27231d!important;
}

html[data-theme="light"] .prism-assessment-page .assessment-stepped{
  background:rgba(255,250,241,.78)!important;
  border-color:rgba(78,66,48,.16)!important;
  box-shadow:0 18px 52px rgba(67,55,38,.08)!important;
  color:#27231d!important;
}

html[data-theme="light"] .prism-assessment-page .assessment-progress{
  background:rgba(78,66,48,.12)!important;
}

html[data-theme="light"] .prism-assessment-page .assessment-progress i{
  background:linear-gradient(90deg,#244f49,#9b784a)!important;
}

html[data-theme="light"] .prism-assessment-page .prism-core-section legend,
html[data-theme="light"] .prism-assessment-page .core-question h3{
  color:#27231d!important;
}

html[data-theme="light"] .prism-assessment-page .prism-core-section legend span{
  background:#244f49!important;
  color:#fffaf1!important;
}

html[data-theme="light"] .prism-assessment-page .assessment-section-note{
  color:#62594b!important;
}

html[data-theme="light"] .prism-assessment-page .core-question{
  background:linear-gradient(135deg,rgba(255,252,246,.90),rgba(246,239,226,.76))!important;
  border-color:rgba(78,66,48,.16)!important;
  box-shadow:0 14px 36px rgba(67,55,38,.07)!important;
  color:#27231d!important;
}

html[data-theme="light"] .prism-assessment-page .core-question label{
  background:rgba(255,250,241,.82)!important;
  border-color:rgba(78,66,48,.16)!important;
  color:#3e382f!important;
  box-shadow:none!important;
}

html[data-theme="light"] .prism-assessment-page .core-question label:has(input:checked){
  background:linear-gradient(135deg,rgba(224,232,220,.92),rgba(213,222,207,.82))!important;
  border-color:rgba(36,79,73,.34)!important;
  color:#183b36!important;
  box-shadow:0 10px 26px rgba(36,79,73,.10)!important;
}

html[data-theme="light"] .prism-assessment-page .prism-steps li{
  background:rgba(255,250,241,.78)!important;
  border-color:rgba(78,66,48,.16)!important;
  color:#62594b!important;
  box-shadow:0 10px 26px rgba(67,55,38,.06)!important;
}

html[data-theme="light"] .prism-assessment-page .prism-steps li b{
  color:#62594b!important;
}

html[data-theme="light"] .prism-assessment-page .prism-steps li span{
  background:rgba(155,120,74,.10)!important;
  color:#8e6d3f!important;
  border-color:rgba(142,109,63,.18)!important;
}

html[data-theme="light"] .prism-assessment-page .prism-steps li.active{
  background:linear-gradient(135deg,rgba(224,232,220,.92),rgba(213,222,207,.82))!important;
  border-color:rgba(36,79,73,.28)!important;
}

html[data-theme="light"] .prism-assessment-page .prism-steps li.active b{
  color:#183b36!important;
}

html[data-theme="light"] .prism-assessment-page .prism-steps li.complete{
  background:rgba(36,79,73,.12)!important;
  border-color:rgba(36,79,73,.22)!important;
}

html[data-theme="light"] .prism-assessment-page .assessment-status{
  color:#6c4d19!important;
}

html[data-theme="light"] .nav-group>div,
html[data-theme="light"] .mega-panel,
html[data-theme="light"] .mobile-nav-panel{
  background:rgba(255,250,241,.98)!important;
  border-color:rgba(78,66,48,.16)!important;
  box-shadow:0 22px 58px rgba(67,55,38,.14)!important;
}

html[data-theme="light"] h1,
html[data-theme="light"] h2,
html[data-theme="light"] h3,
html[data-theme="light"] h4,
html[data-theme="light"] strong,
html[data-theme="light"] b,
html[data-theme="light"] .brand strong,
html[data-theme="light"] .tt-product-title,
html[data-theme="light"] .section-head h2,
html[data-theme="light"] .page-hero h1{
  color:#27231d!important;
}

html[data-theme="light"] p,
html[data-theme="light"] small,
html[data-theme="light"] li,
html[data-theme="light"] dd,
html[data-theme="light"] .brand small,
html[data-theme="light"] .hero-copy p,
html[data-theme="light"] .page-hero p,
html[data-theme="light"] .section-head p,
html[data-theme="light"] .section-lead p,
html[data-theme="light"] .tt-product-summary,
html[data-theme="light"] .ticket-status{
  color:#62594b!important;
}

html[data-theme="light"] a,
html[data-theme="light"] .nav-group>button,
html[data-theme="light"] .main-nav>a,
html[data-theme="light"] .nav-group a,
html[data-theme="light"] .mobile-nav-panel a,
html[data-theme="light"] .footer-column a,
html[data-theme="light"] .footer-link-grid a{
  color:#244f49!important;
}

html[data-theme="light"] .primary,
html[data-theme="light"] .start-link,
html[data-theme="light"] button.primary,
html[data-theme="light"] .button.primary{
  background:linear-gradient(135deg,#244f49,#183b36)!important;
  color:#fffaf1!important;
  border-color:rgba(24,59,54,.18)!important;
  box-shadow:0 14px 34px rgba(36,79,73,.18)!important;
}

html[data-theme="light"] .secondary,
html[data-theme="light"] .lang-link,
html[data-theme="light"] .theme-toggle,
html[data-theme="light"] .cart-link,
html[data-theme="light"] .login-link,
html[data-theme="light"] .google-auth,
html[data-theme="light"] .auth-switch-row a{
  background:rgba(255,250,241,.88)!important;
  color:#244f49!important;
  border-color:rgba(78,66,48,.18)!important;
  box-shadow:0 10px 26px rgba(67,55,38,.06)!important;
}

html[data-theme="light"] input,
html[data-theme="light"] textarea,
html[data-theme="light"] select{
  background:rgba(255,252,246,.94)!important;
  color:#27231d!important;
  border-color:rgba(78,66,48,.18)!important;
}

html[data-theme="light"] .site-footer,
html[data-theme="light"] .reference-footer,
html[data-theme="light"] footer{
  background:linear-gradient(135deg,#efe7d8,#e5dfd0)!important;
  border-top:1px solid rgba(78,66,48,.16)!important;
  color:#27231d!important;
}

html[data-theme="light"] .footer-social,
html[data-theme="light"] .footer-social div{
  background:rgba(255,250,241,.52)!important;
  border-color:rgba(78,66,48,.14)!important;
}

/* Site-wide harmony polish: keep the light theme coherent beyond PRISM */
html[data-theme="light"] body{
  background:
    radial-gradient(circle at 18% 12%, rgba(196,174,132,.20), transparent 26rem),
    radial-gradient(circle at 88% 18%, rgba(92,114,92,.10), transparent 30rem),
    linear-gradient(180deg,#f4eddf 0%,#e9dfcf 100%)!important;
}

html[data-theme="light"] .site-header{
  background:rgba(248,241,228,.86)!important;
  border-bottom-color:rgba(78,66,48,.14)!important;
  box-shadow:0 10px 34px rgba(67,55,38,.08)!important;
}

html[data-theme="light"] .site-footer,
html[data-theme="light"] .reference-footer,
html[data-theme="light"] footer{
  background:
    linear-gradient(180deg,rgba(235,226,211,.76),rgba(224,216,201,.92))!important;
  border-top:1px solid rgba(78,66,48,.14)!important;
  box-shadow:inset 0 1px 0 rgba(255,250,241,.62)!important;
}

html[data-theme="light"] .site-footer h2,
html[data-theme="light"] .site-footer strong{
  color:#27231d!important;
}

html[data-theme="light"] .site-footer p,
html[data-theme="light"] .site-footer small{
  color:#62594b!important;
}

html[data-theme="light"] .site-footer a{
  color:#244f49!important;
}

html[data-theme="light"] .footer-social{
  background:linear-gradient(135deg,rgba(255,250,241,.66),rgba(238,231,217,.54))!important;
  border:1px solid rgba(78,66,48,.14)!important;
  box-shadow:0 16px 40px rgba(67,55,38,.06)!important;
}

html[data-theme="light"] .footer-social div{
  background:transparent!important;
  border:0!important;
  box-shadow:none!important;
}

html[data-theme="light"] .footer-social a{
  background:rgba(255,250,241,.72)!important;
  border:1px solid rgba(78,66,48,.14)!important;
  color:#244f49!important;
  box-shadow:0 8px 18px rgba(67,55,38,.05)!important;
}

@media(max-width:960px){
  .site-header .primary-nav{
    gap:.55rem!important;
    align-content:start!important;
    justify-items:stretch!important;
  }

  .site-header .primary-nav.is-open{
    display:grid!important;
  }

  html[data-theme="light"] .site-header .primary-nav{
    background:linear-gradient(180deg,rgba(255,250,241,.94),rgba(242,234,219,.90))!important;
    border-color:rgba(78,66,48,.14)!important;
    box-shadow:0 22px 54px rgba(67,55,38,.12)!important;
  }

  html[data-theme="light"] .site-header .primary-nav .nav-group>button{
    background:rgba(255,252,246,.72)!important;
    color:#244f49!important;
    border-color:rgba(78,66,48,.14)!important;
    box-shadow:0 8px 18px rgba(67,55,38,.05)!important;
  }

  html[data-theme="light"] .site-header .primary-nav .mega-panel{
    background:rgba(255,250,241,.70)!important;
  }

  html[data-theme="light"] .site-header .primary-nav .mega-panel a{
    background:rgba(255,252,246,.66)!important;
  }
}

@media(max-width:560px){
  html[data-theme="light"] .site-header .primary-nav{
    border-radius:22px!important;
    padding:.75rem!important;
    margin-top:.25rem!important;
  }

  html[data-theme="light"] .site-footer{
    gap:1.4rem!important;
    padding-block:2rem!important;
  }
}

/* Context-aware guide bar used across the whole site */
.context-guide{
  position:fixed;
  inset:auto clamp(.8rem,2vw,1.5rem) clamp(.8rem,2vw,1.5rem) auto;
  z-index:70;
  display:grid;
  justify-items:end;
  gap:.55rem;
  pointer-events:none;
}

[dir="rtl"] .context-guide{
  inset:auto auto clamp(.8rem,2vw,1.5rem) clamp(.8rem,2vw,1.5rem);
  justify-items:start;
}

.context-guide-toggle,
.context-guide-panel{
  pointer-events:auto;
}

.context-guide-toggle{
  min-height:44px;
  padding:.75rem 1rem;
  border:1px solid rgba(214,185,119,.22);
  border-radius:999px;
  background:linear-gradient(135deg,rgba(36,79,73,.96),rgba(24,59,54,.96));
  color:#fffaf1;
  font:inherit;
  font-weight:900;
  box-shadow:0 18px 46px rgba(0,0,0,.22);
  cursor:pointer;
}

.context-guide-panel{
  width:min(360px,calc(100vw - 1.6rem));
  display:none;
  gap:.65rem;
  padding:1rem;
  border:1px solid rgba(214,185,119,.18);
  border-radius:18px;
  background:rgba(18,17,13,.94);
  color:#f6ecd9;
  box-shadow:0 22px 60px rgba(0,0,0,.28);
  backdrop-filter:blur(18px);
}

.context-guide.is-open .context-guide-panel{
  display:grid;
}

.context-guide-panel strong{
  color:#fffaf1;
}

.context-guide-panel p{
  margin:0;
  color:rgba(246,236,217,.74);
  line-height:1.8;
}

.context-guide-chips{
  display:flex;
  flex-wrap:wrap;
  gap:.45rem;
}

.context-guide-chips button,
.context-guide-link{
  border:1px solid rgba(214,185,119,.14);
  border-radius:999px;
  background:rgba(255,248,235,.08);
  color:#f6ecd9;
  padding:.55rem .75rem;
  font:inherit;
  font-weight:800;
  text-decoration:none;
  cursor:pointer;
}

.context-guide-link{
  justify-self:start;
  background:rgba(214,185,119,.14);
}

html[data-theme="light"] .context-guide-toggle{
  background:linear-gradient(135deg,#244f49,#183b36);
  color:#fffaf1;
  border-color:rgba(36,79,73,.18);
  box-shadow:0 16px 40px rgba(36,79,73,.16);
}

html[data-theme="light"] .context-guide-panel{
  background:linear-gradient(135deg,rgba(255,250,241,.94),rgba(242,234,219,.90));
  border-color:rgba(78,66,48,.14);
  box-shadow:0 22px 54px rgba(67,55,38,.12);
  color:#27231d;
}

html[data-theme="light"] .context-guide-panel strong{
  color:#27231d;
}

html[data-theme="light"] .context-guide-panel p{
  color:#62594b;
}

html[data-theme="light"] .context-guide-chips button,
html[data-theme="light"] .context-guide-link{
  background:rgba(255,252,246,.72);
  color:#244f49;
  border-color:rgba(78,66,48,.14);
}

@media(max-width:680px){
  .context-guide{
    inset:auto .75rem .75rem auto;
    justify-items:end;
  }

  [dir="rtl"] .context-guide{
    inset:auto auto .75rem .75rem;
    justify-items:start;
  }

  .context-guide-toggle{
    width:auto;
    max-width:calc(100vw - 1.5rem);
  }

  .context-guide-panel{
    width:100%;
    min-width:min(360px,calc(100vw - 1.5rem));
  }
}

/* Master Ren reward token shown only inside account and checkout surfaces */
.master-ren-reward-card{
  display:flex!important;
  align-items:center;
  justify-content:flex-start!important;
  gap:1rem;
  min-height:142px;
  padding:1rem!important;
  border:1px solid rgba(214,185,119,.20)!important;
  border-radius:20px!important;
  background:
    radial-gradient(circle at 12% 20%,rgba(214,185,119,.16),transparent 34%),
    linear-gradient(135deg,rgba(32,27,18,.92),rgba(20,18,13,.86))!important;
  box-shadow:0 20px 54px rgba(0,0,0,.18);
}

.master-ren-reward-card>div:last-child{
  min-width:0;
  text-align:start!important;
}

.ren-standing-token{
  width:86px;
  height:86px;
  flex:0 0 86px;
  position:relative;
  border-radius:50%;
  border:4px solid #c8a45c;
  overflow:hidden;
  background:
    radial-gradient(circle at 34% 24%,#fff4c8 0 9%,#d8b45f 10% 31%,#9a6f28 46%,#3f2d13 73%,#16120b 100%);
  box-shadow:
    inset 0 0 0 6px rgba(20,15,8,.86),
    inset 0 0 0 9px rgba(232,204,137,.30),
    0 14px 28px rgba(0,0,0,.22);
}

.ren-standing-token::before{
  content:"";
  position:absolute;
  inset:16px;
  border-radius:50%;
  border:1px solid rgba(255,239,187,.72);
  box-shadow:
    inset 0 0 0 6px rgba(20,15,8,.28),
    inset 0 0 22px rgba(0,0,0,.22);
}

.ren-standing-token::after{
  content:"";
  position:absolute;
  inset:0;
  background:
    linear-gradient(120deg,transparent 34%,rgba(255,248,217,.40) 47%,transparent 60%),
    radial-gradient(circle at 50% 114%,rgba(0,0,0,.68),transparent 36%);
  pointer-events:none;
}

.master-ren-reward-card span{
  display:block;
  color:#d8b45f;
  font-size:.78rem;
  font-weight:900;
}

.master-ren-reward-card strong{
  display:block;
  margin:.14rem 0 .2rem;
  color:#fff4da;
  font-size:1.08rem;
}

.master-ren-reward-card small{
  display:block;
  max-width:42ch;
  color:rgba(255,244,218,.66);
  line-height:1.75;
}

html[data-theme="light"] .master-ren-reward-card{
  background:
    radial-gradient(circle at 12% 20%,rgba(177,134,59,.14),transparent 34%),
    linear-gradient(135deg,rgba(255,250,241,.88),rgba(231,222,205,.72))!important;
  border-color:rgba(78,66,48,.14)!important;
  box-shadow:0 14px 34px rgba(67,55,38,.08);
}

html[data-theme="light"] .master-ren-reward-card strong{
  color:#27231d;
}

html[data-theme="light"] .master-ren-reward-card small{
  color:#62594b;
}

html[data-theme="light"] .ren-standing-token{
  border-color:#b98e3f;
  background:
    radial-gradient(circle at 34% 24%,#fff7d5 0 10%,#d7ad52 11% 32%,#a0732a 47%,#5d421b 74%,#24190e 100%);
  box-shadow:
    inset 0 0 0 6px rgba(255,250,241,.72),
    inset 0 0 0 9px rgba(107,75,25,.18),
    0 12px 24px rgba(67,55,38,.12);
}

@media(max-width:560px){
  .master-ren-reward-card{
    align-items:flex-start;
  }

  .ren-standing-token{
    width:72px;
    height:72px;
    flex-basis:72px;
  }
}

/* Cinematic product storyline */
.cinematic-product-page{
  overflow:clip;
}

.product-storyline{
  position:relative;
  width:100%;
  min-height:calc(118vh - 76px);
  margin:0 auto clamp(2.4rem,6vw,5rem);
  display:grid;
  grid-template-columns:minmax(280px,1fr) minmax(300px,1fr);
  grid-template-areas:
    "copy steps"
    "note steps";
  gap:clamp(1rem,3vw,2.4rem);
  align-items:center;
  padding:clamp(5rem,9vw,8rem) max(1rem,calc((100vw - 1240px)/2)) clamp(3rem,7vw,6rem);
  isolation:isolate;
}

.story-visual-stage{
  position:absolute;
  inset:0;
  z-index:-1;
  min-height:100%;
  border:0;
  border-radius:0;
  overflow:hidden;
  background:
    radial-gradient(circle at 68% 45%,rgba(214,185,119,.22),transparent 22rem),
    radial-gradient(circle at 22% 22%,rgba(111,130,102,.16),transparent 28rem),
    linear-gradient(145deg,rgba(18,17,12,.98),rgba(43,36,23,.94));
  box-shadow:none;
}

.story-visual-stage::after{
  content:"";
  position:absolute;
  inset:0;
  z-index:2;
  background:
    linear-gradient(90deg,rgba(20,18,13,.94) 0%,rgba(20,18,13,.76) 32%,rgba(20,18,13,.20) 58%,rgba(20,18,13,.66) 100%),
    linear-gradient(180deg,rgba(20,18,13,.92),transparent 18%,transparent 72%,rgba(20,18,13,.96));
  pointer-events:none;
}

.story-webgl{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  display:block;
}

.story-light-rays{
  display:none;
}

.story-light-rays i{
  position:absolute;
  left:50%;
  top:48%;
  width:46vw;
  height:2px;
  transform-origin:left center;
  background:linear-gradient(90deg,rgba(255,246,213,.0),rgba(255,246,213,.86),rgba(255,246,213,.0));
  filter:blur(.2px);
  opacity:.42;
}

.story-light-rays i:nth-child(1){transform:rotate(-24deg);background:linear-gradient(90deg,transparent,rgba(238,84,73,.58),transparent)}
.story-light-rays i:nth-child(2){transform:rotate(-12deg);background:linear-gradient(90deg,transparent,rgba(230,180,74,.70),transparent)}
.story-light-rays i:nth-child(3){transform:rotate(0deg);background:linear-gradient(90deg,transparent,rgba(255,244,209,.86),transparent)}
.story-light-rays i:nth-child(4){transform:rotate(12deg);background:linear-gradient(90deg,transparent,rgba(111,130,102,.70),transparent)}
.story-light-rays i:nth-child(5){transform:rotate(24deg);background:linear-gradient(90deg,transparent,rgba(91,150,180,.56),transparent)}

.story-visual-fallback{
  display:none;
}

.story-orbit-system{
  position:absolute;
  top:clamp(5.8rem,8vw,7.4rem);
  left:clamp(1.1rem,3.6vw,3.2rem);
  z-index:6;
  width:128px;
  height:128px;
  pointer-events:none;
}

[dir="rtl"] .story-orbit-system{
  left:clamp(1.1rem,3.6vw,3.2rem);
  right:auto;
}

.story-planet{
  position:absolute;
  inset:35px;
  display:grid;
  place-items:center;
  border-radius:50%;
  background:
    radial-gradient(circle at 35% 28%,rgba(249,232,166,.88),transparent 0 14%,rgba(27,79,68,.96) 15% 58%,#091711 100%);
  border:1px solid rgba(216,180,95,.72);
  box-shadow:
    0 0 0 7px rgba(216,180,95,.08),
    0 18px 36px rgba(0,0,0,.22),
    inset -10px -12px 22px rgba(0,0,0,.34);
}

.story-planet::before,
.story-planet::after{
  content:"";
  position:absolute;
  top:17px;
  width:16px;
  height:23px;
  border-top:3px solid rgba(246,221,142,.92);
  border-radius:50% 50% 0 0;
}

.story-planet::before{
  left:13px;
  transform:rotate(-34deg);
}

.story-planet::after{
  right:13px;
  transform:rotate(34deg);
}

.story-planet i{
  font-style:normal;
  font-size:.58rem;
  letter-spacing:.08em;
  color:#f5de9a;
  opacity:.86;
}

.story-orbit-ring{
  position:absolute;
  inset:8px;
  border:1px solid rgba(216,180,95,.28);
  border-radius:50%;
  animation:story-orbit-spin 11s linear infinite;
  transform-origin:center;
}

.story-orbit-ring::before{
  content:"";
  position:absolute;
  inset:16px -4px;
  border-top:1px solid rgba(255,239,183,.2);
  border-radius:50%;
  transform:rotate(-18deg);
}

.story-orbit-ring b{
  position:absolute;
  top:-8px;
  left:50%;
  width:34px;
  height:34px;
  margin-left:-17px;
  display:grid;
  place-items:center;
  border-radius:50%;
  background:linear-gradient(145deg,rgba(255,247,219,.94),rgba(191,151,67,.86));
  color:#1b1710;
  border:1px solid rgba(255,255,255,.45);
  box-shadow:0 10px 22px rgba(0,0,0,.2);
}

.story-orbit-ring svg{
  width:19px;
  height:19px;
  fill:none;
  stroke:currentColor;
  stroke-width:2.2;
  stroke-linecap:round;
  stroke-linejoin:round;
}

@keyframes story-orbit-spin{
  to{transform:rotate(360deg)}
}

.story-war-countdown{
  justify-content:flex-start;
  margin:.2rem 0 .4rem;
}

[dir="rtl"] .story-war-countdown{
  justify-content:flex-end;
}

.story-war-countdown strong,
.story-war-countdown span{
  background:rgba(255,244,215,.09);
  border-color:rgba(216,180,95,.2);
  color:#fff3d5;
  box-shadow:none;
}

.story-war-countdown b{
  color:#d8b45f;
}

.story-visual-fallback strong{
  position:absolute;
  top:1.2rem;
  inset-inline-start:1.2rem;
  color:#d8b45f;
  font-size:.85rem;
  letter-spacing:.12em;
}

.story-visual-fallback span{
  width:min(38%,190px);
  aspect-ratio:1;
}

.story-visual-fallback svg{
  width:100%;
  height:100%;
  fill:none;
  stroke:currentColor;
  stroke-width:1.8;
}

.story-sound-toggle{
  position:absolute;
  z-index:5;
  inset:auto 1rem 1rem auto;
  min-height:42px;
  padding:.65rem .9rem;
  border:1px solid rgba(214,185,119,.22);
  border-radius:999px;
  background:rgba(12,10,7,.58);
  color:#fff4da;
  font:inherit;
  font-weight:900;
  cursor:pointer;
  backdrop-filter:blur(12px);
}

[dir="rtl"] .story-sound-toggle{
  inset:auto auto 1rem 1rem;
}

.story-sound-toggle.is-on{
  background:rgba(111,130,102,.74);
}

.story-copy{
  grid-area:copy;
  position:relative;
  z-index:4;
  display:grid;
  gap:1rem;
  align-content:center;
  max-width:720px;
}

.story-copy h1{
  margin:0;
  font-size:clamp(2.5rem,5.2vw,5.7rem);
  line-height:1.04;
  letter-spacing:0;
}

.story-copy .hero-lead{
  max-width:68ch;
  margin:0;
  color:var(--muted);
  line-height:2;
}

.story-proof{
  display:flex;
  flex-wrap:wrap;
  gap:.55rem;
}

.story-proof span{
  padding:.5rem .74rem;
  border:1px solid rgba(214,185,119,.14);
  border-radius:999px;
  background:rgba(255,250,241,.06);
  color:var(--muted);
  font-size:.86rem;
  font-weight:800;
}

.story-scroll-sections{
  grid-area:steps;
  position:relative;
  z-index:4;
  display:grid;
  gap:1rem;
}

.story-step{
  min-height:190px;
  display:grid;
  align-content:center;
  gap:.45rem;
  padding:clamp(1rem,2.6vw,1.6rem);
  border:1px solid rgba(214,185,119,.14);
  border-radius:24px;
  background:rgba(20,18,13,.54);
  box-shadow:0 22px 64px rgba(0,0,0,.12), inset 0 1px 0 rgba(255,250,241,.05);
  backdrop-filter:blur(16px);
}

.story-step span{
  color:#d8b45f;
  font-weight:950;
  font-size:.86rem;
}

.story-step h2{
  margin:0;
  font-size:clamp(1.35rem,2.2vw,2rem);
}

.story-step p{
  margin:0;
  color:var(--muted);
  line-height:1.9;
}

.story-product-note{
  grid-area:note;
  position:relative;
  z-index:4;
  max-width:520px;
  padding:1rem;
  border:1px solid rgba(214,185,119,.12);
  border-radius:22px;
  background:rgba(111,130,102,.10);
}

.story-product-note strong{
  color:#d8b45f;
}

.story-product-note p{
  margin:.35rem 0 0;
  color:var(--muted);
  line-height:1.8;
}

.product-deep-explainer{
  margin-top:0;
}

html[data-theme="light"] .story-visual-stage{
  background:
    radial-gradient(circle at 68% 45%,rgba(177,134,59,.18),transparent 24rem),
    radial-gradient(circle at 22% 22%,rgba(111,130,102,.12),transparent 28rem),
    linear-gradient(145deg,rgba(255,250,241,.98),rgba(226,216,197,.92));
}

html[data-theme="light"] .story-visual-stage::after{
  background:
    linear-gradient(90deg,rgba(246,238,222,.92) 0%,rgba(246,238,222,.72) 30%,rgba(246,238,222,.14) 58%,rgba(246,238,222,.58) 100%),
    linear-gradient(180deg,rgba(246,238,222,.92),transparent 18%,transparent 72%,rgba(246,238,222,.96));
}

html[data-theme="light"] .story-proof span,
html[data-theme="light"] .story-step,
html[data-theme="light"] .story-product-note{
  background:rgba(255,252,246,.66);
  border-color:rgba(78,66,48,.13);
}

html[data-theme="light"] .story-sound-toggle{
  background:rgba(255,250,241,.78);
  color:#27231d;
  border-color:rgba(78,66,48,.16);
}

@media(max-width:980px){
  .product-storyline{
    grid-template-columns:1fr;
    grid-template-areas:"copy" "note" "steps";
    min-height:auto;
  }

  .story-visual-stage{
    position:absolute;
    top:auto;
    min-height:100%;
  }
}

@media(max-width:560px){
  .product-storyline{
    width:min(100% - 1rem,1240px);
    padding-top:1rem;
  }

  .story-copy h1{
    font-size:clamp(2.2rem,12vw,3.8rem);
  }

  .story-visual-stage{
    position:absolute;
    inset:0;
    min-height:100%;
    border-radius:22px;
  }

  .story-step{
    min-height:150px;
    border-radius:18px;
  }
}

/* Academy chapter map: light theme readability and product-grade visual */
html[data-theme="light"] .academy-galaxy-shell{
  width:min(1240px,calc(100% - 2rem));
}
html[data-theme="light"] .academy-galaxy-diagram{
  background:
    radial-gradient(circle at 50% 50%,rgba(184,143,75,.14),transparent 25%),
    radial-gradient(circle at 18% 24%,rgba(36,79,73,.055),transparent 22rem),
    linear-gradient(180deg,rgba(255,250,241,.88),rgba(244,236,221,.78))!important;
  border:1px solid rgba(84,68,42,.15)!important;
  box-shadow:0 22px 64px rgba(72,56,34,.10)!important;
}
html[data-theme="light"] .academy-galaxy-lines .galaxy-orbits ellipse{
  stroke:rgba(128,98,55,.13)!important;
}
html[data-theme="light"] .academy-galaxy-lines .galaxy-links path{
  stroke:rgba(145,111,58,.28)!important;
}
html[data-theme="light"] .academy-galaxy-core{
  background:
    radial-gradient(circle at 50% 18%,rgba(161,124,65,.12),transparent 9rem),
    linear-gradient(180deg,rgba(255,252,246,.98),rgba(245,237,222,.94))!important;
  border-color:rgba(82,66,43,.18)!important;
  color:#25221d!important;
  box-shadow:0 26px 70px rgba(72,56,34,.15)!important;
}
html[data-theme="light"] .academy-galaxy-core span{
  color:#8d713f!important;
}
html[data-theme="light"] .academy-galaxy-core strong{
  color:#25221d!important;
}
html[data-theme="light"] .academy-galaxy-core small,
html[data-theme="light"] .academy-galaxy-core p{
  color:#5a5145!important;
}
html[data-theme="light"] .academy-galaxy-node{
  background:
    radial-gradient(circle at 84% 10%,rgba(155,122,69,.10),transparent 5rem),
    linear-gradient(180deg,rgba(255,251,244,.96),rgba(244,236,221,.90))!important;
  border-color:rgba(82,66,43,.18)!important;
  color:#25221d!important;
  box-shadow:0 18px 46px rgba(72,56,34,.12)!important;
  opacity:1!important;
}
html[data-theme="light"] .academy-galaxy-node:hover,
html[data-theme="light"] .academy-galaxy-node:focus-visible{
  background:
    radial-gradient(circle at 84% 10%,rgba(155,122,69,.14),transparent 5rem),
    linear-gradient(180deg,rgba(255,253,248,.99),rgba(241,231,212,.95))!important;
  border-color:rgba(132,100,52,.30)!important;
  box-shadow:0 24px 58px rgba(72,56,34,.16)!important;
}
html[data-theme="light"] .academy-galaxy-node span,
html[data-theme="light"] .academy-galaxy-node small{
  color:#8d713f!important;
}
html[data-theme="light"] .academy-galaxy-node strong{
  color:#25221d!important;
  text-shadow:none!important;
}
html[data-theme="light"] .academy-galaxy-popover{
  background:
    radial-gradient(circle at 90% 12%,rgba(155,122,69,.10),transparent 5rem),
    linear-gradient(180deg,rgba(255,252,247,.98),rgba(245,237,223,.96))!important;
  border-color:rgba(82,66,43,.18)!important;
  box-shadow:0 18px 46px rgba(72,56,34,.16)!important;
}
html[data-theme="light"] .academy-galaxy-popover b{
  color:#25221d!important;
}
html[data-theme="light"] .academy-galaxy-popover p{
  color:#5a5145!important;
}
html[data-theme="light"] .academy-galaxy-popover em{
  color:#1f5a50!important;
}

/* Header/footer final pass: overrides accumulated prototype styles */
.site-header{
  position:sticky!important;
  top:0!important;
  z-index:1000!important;
  display:grid!important;
  grid-template-columns:auto minmax(420px,1fr) auto!important;
  align-items:center!important;
  gap:clamp(.8rem,2vw,1.4rem)!important;
  min-height:70px!important;
  padding:.62rem clamp(1rem,3vw,2.6rem)!important;
  border-bottom:1px solid rgba(214,185,119,.16)!important;
  background:rgba(35,31,24,.86)!important;
  color:#f6ead7!important;
  box-shadow:0 16px 46px rgba(0,0,0,.18)!important;
  backdrop-filter:blur(18px)!important;
}
.site-header .brand{
  display:flex!important;
  align-items:center!important;
  gap:.7rem!important;
  min-width:0!important;
  text-decoration:none!important;
  color:inherit!important;
}
.site-header .brand img{
  width:44px!important;
  height:44px!important;
  object-fit:contain!important;
  border-radius:50%!important;
  border:1px solid rgba(214,185,119,.25)!important;
}
.site-header .brand span{
  display:grid!important;
  gap:.1rem!important;
  direction:ltr!important;
}
.site-header .brand strong{
  color:#f6ead7!important;
  font-size:1.02rem!important;
  line-height:1.1!important;
}
.site-header .brand small{
  color:#cdbd9f!important;
  font-size:.72rem!important;
  white-space:nowrap!important;
}
.site-header .primary-nav{
  position:static!important;
  transform:none!important;
  margin:0 auto!important;
  width:max-content!important;
  max-width:100%!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:.35rem!important;
  direction:rtl!important;
  padding:.25rem!important;
  border:1px solid rgba(214,185,119,.11)!important;
  border-radius:999px!important;
  background:rgba(255,248,236,.055)!important;
}
.site-header .primary-nav .nav-group{
  position:relative!important;
}
.site-header .primary-nav .nav-group>button{
  min-height:40px!important;
  padding:.56rem .84rem!important;
  border:0!important;
  border-radius:999px!important;
  background:transparent!important;
  color:#f6ead7!important;
  font:inherit!important;
  font-size:.94rem!important;
  font-weight:900!important;
  cursor:pointer!important;
}
.site-header .primary-nav .nav-group>button:hover,
.site-header .primary-nav .nav-group:focus-within>button{
  background:rgba(214,185,119,.13)!important;
}
.site-header .primary-nav .mega-panel{
  position:absolute!important;
  top:calc(100% + .72rem)!important;
  left:50%!important;
  right:auto!important;
  transform:translateX(-50%) translateY(8px)!important;
  width:min(640px,92vw)!important;
  min-width:min(440px,92vw)!important;
  display:grid!important;
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:.55rem!important;
  padding:.7rem!important;
  border:1px solid rgba(214,185,119,.18)!important;
  border-radius:20px!important;
  background:rgba(37,33,25,.97)!important;
  box-shadow:0 30px 86px rgba(0,0,0,.34)!important;
  opacity:0!important;
  visibility:hidden!important;
  pointer-events:none!important;
  transition:opacity .16s ease,transform .16s ease,visibility .16s ease!important;
}
.site-header .primary-nav .nav-group:hover>.mega-panel,
.site-header .primary-nav .nav-group:focus-within>.mega-panel,
.site-header .primary-nav .nav-group.is-open>.mega-panel{
  opacity:1!important;
  visibility:visible!important;
  pointer-events:auto!important;
  transform:translateX(-50%) translateY(0)!important;
}
.site-header .primary-nav .mega-panel>span{
  grid-column:1/-1!important;
  color:#caa562!important;
  font-size:.72rem!important;
  font-weight:950!important;
  padding:.25rem .35rem!important;
}
.site-header .primary-nav .mega-panel a{
  display:grid!important;
  gap:.24rem!important;
  min-height:76px!important;
  padding:.78rem .86rem!important;
  border:1px solid rgba(214,185,119,.12)!important;
  border-radius:14px!important;
  background:rgba(255,248,236,.055)!important;
  color:#f7ecd8!important;
  text-decoration:none!important;
}
.site-header .primary-nav .mega-panel a:hover{
  border-color:rgba(214,185,119,.28)!important;
  background:rgba(214,185,119,.10)!important;
}
.site-header .primary-nav .mega-panel a strong{
  color:#fff5e3!important;
  font-size:.94rem!important;
}
.site-header .primary-nav .mega-panel a span{
  color:#cdbd9f!important;
  font-size:.77rem!important;
  line-height:1.55!important;
}
.site-header .header-actions{
  display:flex!important;
  align-items:center!important;
  justify-content:flex-end!important;
  gap:.48rem!important;
  margin:0!important;
  direction:rtl!important;
}
.site-header .cart-link,
.site-header .theme-toggle,
.site-header .lang-link,
.site-header .start-link{
  min-height:42px!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  padding:.62rem .9rem!important;
  border-radius:999px!important;
  font-size:.9rem!important;
  font-weight:900!important;
  text-decoration:none!important;
  white-space:nowrap!important;
}
.site-header .start-link{
  border:1px solid rgba(214,185,119,.24)!important;
  background:#f7eddd!important;
  color:#29231b!important;
  box-shadow:0 14px 36px rgba(0,0,0,.18)!important;
}
.site-header .cart-link,
.site-header .theme-toggle,
.site-header .lang-link{
  border:1px solid rgba(214,185,119,.18)!important;
  background:rgba(255,248,236,.08)!important;
  color:#f6ead7!important;
  box-shadow:none!important;
}

.reference-footer.site-footer{
  display:grid!important;
  grid-template-columns:minmax(240px,1.15fr) repeat(4,minmax(150px,.8fr))!important;
  gap:clamp(1rem,2.4vw,1.7rem)!important;
  align-items:start!important;
  padding:clamp(2rem,4vw,3.4rem) clamp(1rem,4vw,3.2rem)!important;
  border-top:1px solid rgba(214,185,119,.16)!important;
  background:
    radial-gradient(circle at 12% 15%,rgba(184,143,75,.12),transparent 18rem),
    linear-gradient(180deg,#242018,#1c1a15)!important;
  color:#f2e7d2!important;
}
.reference-footer .footer-block{
  min-width:0!important;
}
.reference-footer .footer-brand-block{
  display:grid!important;
  gap:.72rem!important;
}
.reference-footer .footer-brand-block strong{
  color:#fff1da!important;
  font-size:1.25rem!important;
}
.reference-footer .footer-brand-block p,
.reference-footer .footer-bottom-note{
  margin:0!important;
  color:#c9b99a!important;
  line-height:1.8!important;
  font-size:.92rem!important;
}
.reference-footer .footer-primary-link{
  width:max-content!important;
  display:inline-flex!important;
  align-items:center!important;
  min-height:38px!important;
  padding:.55rem .85rem!important;
  border-radius:999px!important;
  border:1px solid rgba(214,185,119,.22)!important;
  background:rgba(214,185,119,.10)!important;
  color:#fff4df!important;
  text-decoration:none!important;
  font-weight:900!important;
}
.reference-footer .footer-column,
.reference-footer .footer-social{
  display:grid!important;
  align-content:start!important;
  gap:.55rem!important;
}
.reference-footer .footer-social{
  grid-column:1/-1!important;
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:1rem!important;
  padding-top:1rem!important;
  border-top:1px solid rgba(214,185,119,.12)!important;
}
.reference-footer h2{
  margin:0 0 .35rem!important;
  color:#caa562!important;
  font-size:.82rem!important;
  font-weight:950!important;
}
.reference-footer a{
  color:#f4ead8!important;
  text-decoration:none!important;
  font-weight:850!important;
  line-height:1.7!important;
}
.reference-footer a:hover{
  color:#fff!important;
}
.reference-footer .footer-social div{
  display:flex!important;
  flex-wrap:wrap!important;
  gap:.45rem!important;
  justify-content:flex-end!important;
}
.reference-footer .footer-social a{
  min-height:34px!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  padding:.4rem .65rem!important;
  border-radius:999px!important;
  border:1px solid rgba(214,185,119,.18)!important;
  background:rgba(255,248,236,.06)!important;
  font-size:.82rem!important;
}
.reference-footer .footer-bottom-note{
  grid-column:1/-1!important;
  padding-top:0!important;
  border-top:1px solid rgba(214,185,119,.12)!important;
  text-align:center!important;
}

html[data-theme="light"] .site-header{
  background:rgba(248,241,228,.92)!important;
  color:#27231d!important;
  border-bottom-color:rgba(78,66,48,.14)!important;
  box-shadow:0 12px 36px rgba(72,56,34,.08)!important;
}
html[data-theme="light"] .site-header .brand strong,
html[data-theme="light"] .site-header .primary-nav .nav-group>button{
  color:#27231d!important;
}
html[data-theme="light"] .site-header .brand small{
  color:#6b5d47!important;
}
html[data-theme="light"] .site-header .primary-nav{
  background:rgba(255,252,246,.68)!important;
  border-color:rgba(78,66,48,.12)!important;
}
html[data-theme="light"] .site-header .primary-nav .nav-group>button:hover,
html[data-theme="light"] .site-header .primary-nav .nav-group:focus-within>button{
  background:rgba(36,79,73,.08)!important;
}
html[data-theme="light"] .site-header .primary-nav .mega-panel{
  background:rgba(255,252,246,.98)!important;
  border-color:rgba(78,66,48,.16)!important;
  box-shadow:0 30px 76px rgba(72,56,34,.16)!important;
}
html[data-theme="light"] .site-header .primary-nav .mega-panel a{
  background:rgba(244,236,222,.76)!important;
  color:#27231d!important;
  border-color:rgba(78,66,48,.12)!important;
}
html[data-theme="light"] .site-header .primary-nav .mega-panel a strong{
  color:#27231d!important;
}
html[data-theme="light"] .site-header .primary-nav .mega-panel a span{
  color:#655843!important;
}
html[data-theme="light"] .site-header .cart-link,
html[data-theme="light"] .site-header .theme-toggle,
html[data-theme="light"] .site-header .lang-link{
  background:rgba(255,252,246,.78)!important;
  color:#214f48!important;
  border-color:rgba(78,66,48,.16)!important;
}
html[data-theme="light"] .site-header .start-link{
  background:#29231b!important;
  color:#fff5e5!important;
  border-color:#29231b!important;
}
html[data-theme="light"] .reference-footer.site-footer{
  background:
    radial-gradient(circle at 12% 15%,rgba(155,122,69,.08),transparent 18rem),
    linear-gradient(180deg,#eee5d5,#e4dccd)!important;
  color:#27231d!important;
  border-top-color:rgba(78,66,48,.14)!important;
}
html[data-theme="light"] .reference-footer h2{
  color:#80633b!important;
}
html[data-theme="light"] .reference-footer a,
html[data-theme="light"] .reference-footer .footer-brand-block strong{
  color:#214f48!important;
}
html[data-theme="light"] .reference-footer .footer-brand-block p,
html[data-theme="light"] .reference-footer .footer-bottom-note{
  color:#5b5143!important;
}
html[data-theme="light"] .reference-footer .footer-primary-link,
html[data-theme="light"] .reference-footer .footer-social a{
  background:rgba(255,252,246,.62)!important;
  border-color:rgba(78,66,48,.14)!important;
  color:#214f48!important;
}

@media(max-width:1080px){
  .site-header{
    grid-template-columns:auto auto auto!important;
  }
  .site-header .primary-nav{
    display:none!important;
  }
  .site-header .primary-nav.is-open{
    position:absolute!important;
    top:calc(100% + .5rem)!important;
    left:1rem!important;
    right:1rem!important;
    width:auto!important;
    display:grid!important;
    border-radius:22px!important;
    background:rgba(37,33,25,.97)!important;
    padding:.8rem!important;
  }
  .site-header .primary-nav.is-open .nav-group{
    width:100%!important;
  }
  .site-header .primary-nav.is-open .nav-group>button{
    width:100%!important;
    justify-content:flex-start!important;
  }
  .site-header .primary-nav.is-open .mega-panel{
    position:static!important;
    width:100%!important;
    min-width:0!important;
    transform:none!important;
    grid-template-columns:1fr!important;
    margin-top:.4rem!important;
  }
  .reference-footer.site-footer{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
  }
  .reference-footer .footer-brand-block,
  .reference-footer .footer-social,
  .reference-footer .footer-bottom-note{
    grid-column:1/-1!important;
  }
}
@media(max-width:640px){
  .site-header{
    grid-template-columns:1fr auto!important;
    grid-template-areas:
      "brand toggle"
      "actions actions"!important;
    gap:.6rem!important;
    min-height:auto!important;
    padding:.65rem .85rem!important;
  }
  .site-header .brand{
    grid-area:brand!important;
  }
  .site-header .brand img{
    width:46px!important;
    height:46px!important;
  }
  .site-header .nav-toggle{
    grid-area:toggle!important;
    display:inline-flex!important;
    width:48px!important;
    height:48px!important;
    min-width:48px!important;
    min-height:48px!important;
    padding:0!important;
    align-items:center!important;
    justify-content:center!important;
    border-radius:999px!important;
    border:1px solid rgba(214,185,119,.18)!important;
    background:rgba(255,248,236,.08)!important;
    color:inherit!important;
  }
  .site-header .nav-toggle span{
    width:18px!important;
    height:2px!important;
    display:block!important;
    margin:2px 0!important;
    border-radius:99px!important;
    background:currentColor!important;
  }
  .site-header .brand small,
  .site-header .cart-link{
    display:none!important;
  }
  .site-header .header-actions{
    grid-area:actions!important;
    grid-column:1/-1!important;
    width:100%!important;
    justify-content:flex-start!important;
    gap:.45rem!important;
  }
  .site-header .header-actions .start-link{
    flex:1!important;
  }
  .site-header .header-actions .theme-toggle,
  .site-header .header-actions .lang-link,
  .site-header .header-actions .start-link{
    min-height:42px!important;
    padding:.55rem .72rem!important;
    font-size:.88rem!important;
  }
  .site-header .primary-nav.is-open{
    top:calc(100% + .35rem)!important;
  }
  .reference-footer.site-footer{
    grid-template-columns:1fr!important;
  }
  .reference-footer .footer-social{
    display:grid!important;
    justify-items:start!important;
  }
  .reference-footer .footer-social div{
    justify-content:flex-start!important;
  }
}

/* Home hero refinement: empathy-first copy and cleaner ecosystem map */
.trading-hero .home-hero-refined{
  display:grid!important;
  grid-template-columns:minmax(390px,.78fr) minmax(520px,1fr)!important;
  max-width:1240px;
  gap:clamp(2.2rem,5vw,5rem);
  align-items:center;
}
.home-hero-refined .hero-copy{
  align-self:center;
  max-width:680px!important;
  justify-items:start!important;
  text-align:start!important;
}
.home-hero-refined .hero-copy h1{
  max-width:660px;
  font-size:clamp(2.8rem,5.15vw,5.7rem);
  line-height:1.08;
  text-align:start!important;
}
.home-hero-refined .hero-copy>p{
  max-width:650px;
  font-size:clamp(1.02rem,1.22vw,1.18rem);
  line-height:2.05;
  text-align:start!important;
}
.empathy-tape{
  display:grid!important;
  max-width:650px!important;
  width:100%!important;
  grid-template-columns:1fr!important;
  gap:.7rem;
}
.home .empathy-tape{
  display:grid!important;
}
.home .ops-diagrams{
  display:grid!important;
}
.home .trading-hero h1{
  max-width:820px!important;
  font-size:clamp(2.45rem,4.45vw,4.85rem)!important;
  line-height:1.12!important;
}
.home .trading-hero .hero-copy p{
  max-width:650px!important;
  font-size:clamp(.96rem,1.05vw,1.08rem)!important;
  line-height:1.9!important;
}
.home .trading-hero .hero-copy .actions{
  margin-top:.95rem!important;
}
.empathy-tape span{
  min-height:48px;
  display:grid;
  grid-template-columns:minmax(7.5rem,auto) 1fr;
  align-items:center;
  border-radius:999px;
  padding:.6rem .95rem;
  background:rgba(255,248,232,.08);
  border-color:rgba(214,185,119,.18);
  color:rgba(246,241,229,.78);
}
.empathy-tape b{
  color:#f1dfac;
  font-size:.82rem;
}
.hero-trust-note{
  max-width:620px!important;
  margin:.2rem 0 0!important;
  color:rgba(246,241,229,.62)!important;
  font-size:.9rem!important;
  line-height:1.85!important;
}
.home-hero-refined .actions{
  justify-content:flex-start!important;
}
.home-map-card{
  position:relative;
  overflow:hidden;
  border:1px solid rgba(214,185,119,.18);
  border-radius:2rem;
  padding:clamp(1.1rem,2.6vw,2rem);
  background:
    radial-gradient(ellipse at 20% 18%,rgba(214,185,119,.13),transparent 20rem),
    radial-gradient(ellipse at 78% 74%,rgba(35,94,84,.16),transparent 22rem),
    rgba(20,23,18,.58);
  box-shadow:0 34px 90px rgba(8,10,8,.26);
  backdrop-filter:blur(18px);
}
.home-map-card:before{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  background:linear-gradient(135deg,rgba(255,255,255,.08),transparent 42%,rgba(214,185,119,.08));
}
.home-map-card>*{
  position:relative;
}
.home-map-head{
  display:grid;
  gap:.45rem;
  max-width:560px;
  margin:0 auto 1rem;
  text-align:center;
}
.home-map-head h2{
  margin:0;
  font-size:clamp(1.35rem,2.2vw,2.35rem);
  line-height:1.35;
}
.home-map-head p{
  margin:0;
  color:rgba(246,241,229,.7);
  line-height:1.85;
}
.home-path-steps{
  display:grid;
  gap:.72rem;
}
.home-path-steps a{
  position:relative;
  display:grid;
  grid-template-columns:auto auto minmax(7rem,.72fr) minmax(0,1fr);
  align-items:center;
  gap:.75rem;
  min-height:68px;
  padding:.68rem .82rem;
  border:1px solid rgba(214,185,119,.14);
  border-radius:1.1rem;
  background:rgba(255,248,232,.07);
  color:#fff5dd;
  text-decoration:none;
  transition:transform .2s ease,border-color .2s ease,background .2s ease;
}
.home-path-steps a:hover{
  transform:translateY(-2px);
  border-color:rgba(214,185,119,.34);
  background:rgba(255,248,232,.12);
}
.home-path-steps a span{
  color:#caa75d;
  font-weight:950;
  font-size:.76rem;
}
.home-path-steps a i{
  display:grid;
  place-items:center;
  width:2.75rem;
  height:2.75rem;
  color:#f1dfac;
}
.home-path-steps a svg{
  width:2.25rem;
  height:2.25rem;
  fill:none;
  stroke:currentColor;
  stroke-width:2.15;
  stroke-linecap:round;
  stroke-linejoin:round;
}
.home-path-steps a strong{
  font-size:1.02rem;
}
.home-path-steps a small{
  color:#f1dfac;
  font-weight:850;
}
.home-path-steps a p{
  margin:0;
  color:rgba(246,241,229,.64);
  font-size:.82rem;
  line-height:1.45;
}
html[data-theme="light"] .empathy-tape span{
  background:rgba(255,252,244,.78);
  border-color:rgba(96,78,45,.14);
  color:#5b5143;
}
html[data-theme="light"] .empathy-tape b{
  color:#214f48;
}
html[data-theme="light"] .hero-trust-note{
  color:#6b5f4c!important;
}
html[data-theme="light"] .home-map-card{
  background:
    radial-gradient(ellipse at 20% 18%,rgba(155,122,69,.12),transparent 20rem),
    radial-gradient(ellipse at 78% 74%,rgba(35,94,84,.09),transparent 22rem),
    rgba(255,252,244,.74);
  border-color:rgba(96,78,45,.16);
  box-shadow:0 28px 80px rgba(73,59,34,.12);
}
html[data-theme="light"] .home-map-head p{
  color:#655843;
}
html[data-theme="light"] .home-path-steps a{
  background:rgba(255,252,244,.78);
  border-color:rgba(96,78,45,.13);
  color:#27231d;
}
html[data-theme="light"] .home-path-steps a small,
html[data-theme="light"] .home-path-steps a i{
  color:#214f48;
}
html[data-theme="light"] .home-path-steps a p{
  color:#655843;
}
@media(max-width:980px){
  .trading-hero .home-hero-refined{
    grid-template-columns:1fr!important;
  }
  .home-hero-refined .hero-copy{
    justify-items:center!important;
    text-align:center!important;
    margin-inline:auto!important;
  }
  .home-hero-refined .hero-copy h1,
  .home-hero-refined .hero-copy>p{
    text-align:center!important;
  }
  .home-hero-refined .actions{
    justify-content:center!important;
  }
}
@media(max-width:640px){
  .empathy-tape span{
    grid-template-columns:1fr;
    border-radius:18px;
  }
  .home-map-card{
    border-radius:1.25rem;
    padding:1rem .8rem;
  }
  .home-path-steps a{
    grid-template-columns:auto 1fr;
    align-items:start;
  }
  .home-path-steps a i{
    grid-row:span 3;
  }
  .home-path-steps a p{
    grid-column:2;
  }
}
/* Product launch pages: clearer hero, tighter user-facing story */
.product-hero-v2{
  position:relative;
  max-width:1180px;
  margin:0 auto;
  padding:clamp(3.5rem,7vw,7rem) clamp(1rem,4vw,3rem) clamp(2.5rem,5vw,4.5rem);
  display:grid;
  grid-template-columns:minmax(0,1.08fr) minmax(310px,.72fr);
  gap:clamp(1.4rem,4vw,4rem);
  align-items:center;
}
.product-hero-v2:before{
  content:"";
  position:absolute;
  inset:1.5rem clamp(1rem,4vw,3rem);
  pointer-events:none;
  border-radius:2rem;
  background:
    radial-gradient(ellipse at 20% 12%,rgba(192,154,80,.12),transparent 22rem),
    radial-gradient(ellipse at 80% 76%,rgba(24,84,78,.1),transparent 24rem);
  opacity:.75;
}
.product-hero-v2>*{position:relative}
.product-hero-copy{
  display:grid;
  gap:1rem;
  justify-items:start;
}
.product-hero-v2 h1{
  max-width:820px;
  margin:0;
  font-size:clamp(2.75rem,5.6vw,6.35rem);
  line-height:1.04;
  letter-spacing:0;
}
.product-hero-v2 .hero-lead{
  max-width:760px;
  margin:0;
  font-size:clamp(1.02rem,1.35vw,1.28rem);
  line-height:2;
  color:rgba(246,241,229,.78);
}
.product-hero-proof{
  display:flex;
  flex-wrap:wrap;
  gap:.65rem;
  margin:.35rem 0 .1rem;
}
.product-hero-proof span{
  display:inline-flex;
  align-items:center;
  min-height:2.4rem;
  padding:.48rem .88rem;
  border:1px solid rgba(209,178,111,.24);
  border-radius:999px;
  background:rgba(246,241,229,.06);
  color:#f1dfac;
  font-weight:900;
  font-size:.9rem;
}
.product-safety-line{
  max-width:620px;
  margin:.2rem 0 0;
  color:rgba(246,241,229,.58);
  font-size:.88rem;
  line-height:1.85;
}
.product-outcome-panel{
  align-self:stretch;
  display:grid;
  align-content:center;
  gap:1rem;
  min-height:420px;
  padding:clamp(1.25rem,3vw,2rem);
  border:1px solid rgba(209,178,111,.22);
  border-radius:1.7rem;
  background:linear-gradient(145deg,rgba(246,241,229,.09),rgba(19,26,22,.58));
  box-shadow:0 28px 80px rgba(8,10,9,.28);
  backdrop-filter:blur(16px);
}
.product-outcome-panel>span{
  color:#c8a24c;
  font-weight:900;
  font-size:.86rem;
}
.product-outcome-panel h2{
  margin:0;
  max-width:420px;
  font-size:clamp(1.35rem,2vw,2.2rem);
  line-height:1.35;
}
.outcome-row{
  padding:1rem 0 0;
  border-top:1px solid rgba(246,241,229,.12);
}
.outcome-row strong{
  display:block;
  color:#f1dfac;
  margin-bottom:.35rem;
}
.outcome-row p{
  margin:0;
  color:rgba(246,241,229,.74);
  line-height:1.9;
}
.product-story-grid article{
  min-height:230px;
  padding:1.4rem;
}
.product-story-grid h2{
  font-size:clamp(1.25rem,1.8vw,1.75rem);
}
.product-story-grid p{
  font-size:1rem;
  line-height:1.95;
}
html[data-theme="light"] .product-hero-v2 .hero-lead{
  color:rgba(43,38,29,.78);
}
html[data-theme="light"] .product-safety-line{
  color:rgba(78,68,51,.72);
}
html[data-theme="light"] .product-hero-proof span{
  background:rgba(255,252,244,.76);
  border-color:rgba(117,91,45,.18);
  color:#245b53;
}
html[data-theme="light"] .product-outcome-panel{
  background:linear-gradient(145deg,rgba(255,252,244,.92),rgba(235,225,204,.74));
  border-color:rgba(117,91,45,.18);
  box-shadow:0 26px 70px rgba(82,67,40,.13);
}
html[data-theme="light"] .product-outcome-panel>span,
html[data-theme="light"] .outcome-row strong{
  color:#856831;
}
html[data-theme="light"] .outcome-row{
  border-top-color:rgba(117,91,45,.16);
}
html[data-theme="light"] .outcome-row p{
  color:rgba(43,38,29,.75);
}
@media(max-width:900px){
  .product-hero-v2{
    grid-template-columns:1fr;
    padding-top:3rem;
  }
  .product-outcome-panel{
    min-height:auto;
  }
  .product-hero-v2 h1{
    font-size:clamp(2.35rem,12vw,4rem);
  }
}

/* Launch typography polish: calmer Persian reading rhythm */
body,
button,
input,
textarea,
select{
  font-family:"Vazirmatn","Inter",sans-serif!important;
  font-weight:500;
  text-rendering:optimizeLegibility;
  -webkit-font-smoothing:antialiased;
  -moz-osx-font-smoothing:grayscale;
}
h1,
h2,
h3,
h4,
.page-hero h1,
.product-hero-v2 h1,
.home .trading-hero h1,
.home-hero-refined .hero-copy h1,
.section-head h2,
.section-lead h2{
  font-family:"Vazirmatn","Inter",sans-serif!important;
  font-weight:760!important;
  letter-spacing:0!important;
}
.product-hero-v2 h1,
.page-hero h1{
  line-height:1.18!important;
}
.home .trading-hero h1,
.home-hero-refined .hero-copy h1{
  line-height:1.22!important;
}
p,
li,
small,
.page-hero p,
.product-hero-v2 p,
.section-lead p,
.section-head p,
.info-detail-grid p,
.info-pillars p,
.faq-item p{
  font-weight:500!important;
  line-height:2.05!important;
}
.brand strong,
.main-nav>a,
.nav-group>button,
.primary,
.secondary,
.start-link,
.cart-link{
  font-weight:760!important;
}
.kicker,
.info-detail-grid span,
.product-code{
  font-weight:760!important;
  letter-spacing:.04em!important;
}
.clean-info-page .page-hero{
  max-width:1120px;
}
.clean-info-page .page-hero p{
  max-width:900px;
  font-size:clamp(1.02rem,1.22vw,1.18rem);
}
.clean-info-page .info-pillars,
.clean-info-page .info-detail-grid{
  width:min(1180px,calc(100% - 2rem));
}
.clean-info-page .info-pillars article,
.clean-info-page .info-detail-grid article{
  padding:clamp(1.25rem,2.2vw,1.85rem);
  background:rgba(255,250,241,.76);
}
.clean-info-page .info-detail-grid{
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:1.15rem;
}
.clean-info-page .about-product-map{
  grid-template-columns:repeat(3,minmax(0,1fr));
}
.clean-info-page .info-detail-grid h2{
  font-size:clamp(1.18rem,1.55vw,1.48rem);
  line-height:1.45;
}
.clean-info-page .info-detail-grid p{
  color:#4f4639!important;
}
html:not([data-theme="light"]) .clean-info-page .info-pillars article,
html:not([data-theme="light"]) .clean-info-page .info-detail-grid article{
  background:rgba(33,30,24,.76);
}
html:not([data-theme="light"]) .clean-info-page .info-detail-grid p,
html:not([data-theme="light"]) .clean-info-page .info-pillars p{
  color:#d8cbb3!important;
}
@media(max-width:900px){
  .clean-info-page .info-detail-grid,
  .clean-info-page .about-product-map{
    grid-template-columns:1fr;
  }
}

/* Launch path strip final theme/responsive polish */
html:not([data-theme="light"]) .launch-path-head p{
  color:rgba(246,241,229,.68);
}
html:not([data-theme="light"]) .launch-path-line{
  background:rgba(22,22,18,.54);
  border-color:rgba(216,191,145,.16);
  box-shadow:0 20px 60px rgba(0,0,0,.18);
}
html:not([data-theme="light"]) .launch-path-line a{
  background:rgba(255,248,232,.07);
  border-color:rgba(216,191,145,.14);
  color:#fff5dd;
}
html:not([data-theme="light"]) .launch-path-line a small{
  color:rgba(246,241,229,.62);
}
html:not([data-theme="light"]) .launch-path-line a i{
  color:#f1dfac;
}
@media(max-width:640px){
  .launch-path-line{
    grid-template-columns:1fr!important;
    padding:.75rem;
  }
  .launch-path-line a{
    min-height:auto;
    grid-template-columns:auto auto 1fr;
    justify-items:start;
    text-align:start;
    align-items:center;
  }
  .launch-path-line a small{
    grid-column:3;
  }
}

/* Global typography harmonization pass */
:root{
  --font-ui:"Vazirmatn","Inter",sans-serif;
  --reading-line:1.92;
  --reading-measure:72ch;
}
html{
  font-family:var(--font-ui);
  font-feature-settings:"ss01" 1,"ss02" 1,"cv11" 1;
}
body,
button,
input,
textarea,
select,
summary{
  font-family:var(--font-ui)!important;
  font-kerning:normal;
}
body{
  font-weight:500;
  line-height:var(--reading-line);
}
h1,
h2,
h3,
h4,
h5,
h6{
  font-family:var(--font-ui)!important;
  letter-spacing:0!important;
  text-wrap:balance;
}
h1{font-weight:780!important}
h2{font-weight:750!important}
h3,
h4{font-weight:700!important}
p,
li,
dd,
small{
  max-width:var(--reading-measure);
}
.site-header .brand strong,
.site-header .primary-nav .nav-group>button,
.site-header .header-actions a,
.site-header .header-actions button{
  font-weight:720!important;
}
.site-header .brand small,
.site-header .primary-nav .mega-panel a span{
  line-height:1.6!important;
}
.site-header .primary-nav .mega-panel a strong{
  font-weight:760!important;
}
.home .trading-hero h1,
.home-hero-refined .hero-copy h1,
.story-copy h1,
.product-hero-v2 h1,
.page-hero h1,
.auth-refined-flow .auth-copy h1,
.account-hero h1{
  font-weight:780!important;
  line-height:1.16!important;
}
.home .trading-hero p,
.home-hero-refined .hero-copy p,
.story-copy p,
.product-hero-v2 p,
.page-hero p,
.auth-refined-flow .auth-copy p,
.account-hero p,
.section-lead p,
.section-head p{
  max-width:64ch;
  line-height:1.95!important;
  color:inherit;
  opacity:.88;
}
.section-lead h2,
.section-head h2,
.product-outcome-panel h2,
.product-story-grid h2,
.info-detail-grid h2,
.reference-footer h2{
  font-weight:740!important;
  line-height:1.32!important;
}
.faq-item summary,
.support-faq summary,
.product-faq details summary{
  font-weight:700!important;
  line-height:1.7!important;
}
.faq-item p,
.support-faq p,
.product-faq details p{
  line-height:1.95!important;
}
.auth-panel label,
.auth-refined-flow .auth-panel label,
.assessment legend,
.assessment .core-question h3{
  font-weight:700!important;
  line-height:1.6!important;
}
.auth-panel input,
.auth-refined-flow .auth-panel input,
textarea,
select{
  font-weight:500!important;
}
.consent-check{
  grid-template-columns:1fr auto!important;
  align-items:center!important;
  gap:.8rem!important;
}
.consent-check span{
  display:block;
  line-height:1.85!important;
}
.consent-check input{
  width:1.08rem;
  height:1.08rem;
  margin:0!important;
  accent-color:#b79252;
}
.consent-check a{
  font-weight:700!important;
}
.product-pricing-table th,
.product-pricing-table td,
.plan-compare-table th,
.plan-compare-table td,
.account-shell th,
.account-shell td{
  line-height:1.75!important;
}
.academy-tree-node,
.academy-index-card,
.academy-galaxy-node,
.rail-action,
.feature-list article,
.clean-info-page .info-pillars article,
.clean-info-page .info-detail-grid article{
  line-height:1.72!important;
}
.academy-galaxy-node strong,
.academy-tree-node strong,
.academy-index-card strong,
.rail-action b{
  font-weight:720!important;
}
.academy-galaxy-node small,
.academy-tree-node small,
.academy-index-card small,
.rail-action small{
  line-height:1.55!important;
}
.reference-footer,
.reference-footer p,
.reference-footer a,
.reference-footer small,
.site-footer,
.site-footer p,
.site-footer a{
  font-family:var(--font-ui)!important;
}
@media(max-width:900px){
  .home .trading-hero h1,
  .home-hero-refined .hero-copy h1,
  .story-copy h1,
  .product-hero-v2 h1,
  .page-hero h1,
  .auth-refined-flow .auth-copy h1,
  .account-hero h1{
    line-height:1.22!important;
  }
  .site-header .primary-nav .nav-group>button,
  .site-header .header-actions a,
  .site-header .header-actions button{
    font-weight:700!important;
  }
}

/* Final light-mode harmony pass: quieter background, clearer surfaces, unified footer */
html[data-theme="light"]{
  --light-ink:#26221c;
  --light-muted:#655b4c;
  --light-line:rgba(98,84,63,.14);
  --light-panel-a:rgba(255,252,245,.92);
  --light-panel-b:rgba(246,239,226,.84);
  --light-shadow:0 18px 48px rgba(74,58,38,.08);
  --light-footer:#eee4d2;
  --light-footer-ink:#2f2a21;
}
html[data-theme="light"],
html[data-theme="light"] body{
  background:#f5efe4!important;
  background-image:
    radial-gradient(circle at 18% 10%,rgba(176,146,96,.08),transparent 22rem),
    radial-gradient(circle at 82% 16%,rgba(49,92,85,.06),transparent 24rem),
    linear-gradient(180deg,#f8f3ea 0%,#f1eadf 52%,#ece4d7 100%)!important;
  color:var(--light-ink)!important;
}
html[data-theme="light"] .site-header{
  background:rgba(252,248,241,.94)!important;
  border-bottom:1px solid var(--light-line)!important;
  box-shadow:0 10px 28px rgba(74,58,38,.06)!important;
}
html[data-theme="light"] .trading-hero,
html[data-theme="light"] .page,
html[data-theme="light"] .auth-page,
html[data-theme="light"] .page-hero,
html[data-theme="light"] .section,
html[data-theme="light"] .academy-content-page,
html[data-theme="light"] .station-page,
html[data-theme="light"] .pricing-page,
html[data-theme="light"] .account-page{
  background:transparent!important;
  background-image:none!important;
}
html[data-theme="light"] .hero-shell,
html[data-theme="light"] .market-console,
html[data-theme="light"] .account-shell,
html[data-theme="light"] .auth-panel,
html[data-theme="light"] .auth-refined-flow .auth-panel,
html[data-theme="light"] .faq-item,
html[data-theme="light"] .support-faq article,
html[data-theme="light"] .support-templates article,
html[data-theme="light"] .product-guide-grid article,
html[data-theme="light"] .pricing-compare-group,
html[data-theme="light"] .product-pricing-table,
html[data-theme="light"] .plan-compare-table,
html[data-theme="light"] .product-row a,
html[data-theme="light"] .academy-tree-node,
html[data-theme="light"] .academy-index-card,
html[data-theme="light"] .academy-tree-core,
html[data-theme="light"] .academy-galaxy-core,
html[data-theme="light"] .profile-panel article,
html[data-theme="light"] .account-status-strip article,
html[data-theme="light"] .feature-list article,
html[data-theme="light"] .rail-action,
html[data-theme="light"] .clean-info-page .info-pillars article,
html[data-theme="light"] .clean-info-page .info-detail-grid article{
  background:linear-gradient(180deg,var(--light-panel-a),var(--light-panel-b))!important;
  border-color:var(--light-line)!important;
  box-shadow:var(--light-shadow)!important;
}
html[data-theme="light"] .home .trading-hero .station,
html[data-theme="light"] .launch-path-line a,
html[data-theme="light"] .home-trust-band article,
html[data-theme="light"] .home-outcome-band .outcome-flow a{
  background:linear-gradient(180deg,rgba(255,252,246,.96),rgba(243,235,222,.88))!important;
  border-color:var(--light-line)!important;
  box-shadow:0 12px 34px rgba(74,58,38,.07)!important;
}
html[data-theme="light"] .home .trading-hero .station *,
html[data-theme="light"] .page-hero *,
html[data-theme="light"] .section-lead *,
html[data-theme="light"] .section-head *{
  color:var(--light-ink)!important;
}
html[data-theme="light"] p,
html[data-theme="light"] small,
html[data-theme="light"] .page-hero p,
html[data-theme="light"] .section-lead p,
html[data-theme="light"] .section-head p,
html[data-theme="light"] .faq-item p,
html[data-theme="light"] .support-faq p{
  color:var(--light-muted)!important;
}
html[data-theme="light"] .trading-hero .roadmap:after,
html[data-theme="light"] .academy-galaxy-lines .galaxy-links path,
html[data-theme="light"] .academy-galaxy-lines .galaxy-orbits ellipse{
  opacity:.62!important;
  stroke:rgba(157,128,81,.32)!important;
}
html[data-theme="light"] .neural-system-map,
html[data-theme="light"] .academy-tree-shell,
html[data-theme="light"] .academy-galaxy-shell{
  filter:none!important;
}
html[data-theme="light"] .site-footer,
html[data-theme="light"] .reference-footer.site-footer{
  background:linear-gradient(180deg,var(--light-footer),#e9deca)!important;
  border-top:1px solid rgba(98,84,63,.12)!important;
  color:var(--light-footer-ink)!important;
  box-shadow:none!important;
}
html[data-theme="light"] .site-footer *,
html[data-theme="light"] .reference-footer *{
  color:var(--light-footer-ink)!important;
}
html[data-theme="light"] .reference-footer .footer-social a,
html[data-theme="light"] .site-footer .footer-social a{
  background:rgba(255,252,246,.82)!important;
  border-color:rgba(98,84,63,.14)!important;
}
html[data-theme="light"] .primary,
html[data-theme="light"] .start-link{
  background:#2b2924!important;
  color:#fff9f0!important;
  border-color:#2b2924!important;
  box-shadow:0 12px 28px rgba(43,41,36,.14)!important;
}
html[data-theme="light"] .secondary,
html[data-theme="light"] .lang-link,
html[data-theme="light"] .theme-toggle,
html[data-theme="light"] .cart-link,
html[data-theme="light"] .google-auth{
  background:rgba(255,252,246,.92)!important;
  color:#244f49!important;
  border-color:rgba(98,84,63,.15)!important;
}
/* Account panel v2 */
.account-v2{padding:clamp(1rem,3vw,2.4rem)}
.account-v2-shell{max-width:1180px;margin:0 auto;display:grid;gap:1.15rem}
.account-v2-hero,.account-v2-summary article,.account-quick-card,.account-v2-status article,.account-v2-section,.account-access-card,.account-empty-card,.account-zeton-grid article{border:1px solid rgba(207,190,156,.22);background:linear-gradient(145deg,rgba(32,31,27,.94),rgba(22,24,21,.9));color:#f7f0df;box-shadow:0 22px 70px rgba(0,0,0,.18)}
.account-v2-hero{display:grid;grid-template-columns:minmax(0,1fr) 360px;gap:1rem;align-items:stretch;padding:clamp(1.1rem,3vw,2.1rem);border-radius:24px}
.account-v2-hero h1{margin:.2rem 0;font-size:clamp(2.6rem,6vw,5.2rem);line-height:.95;color:#fff4d8}
.account-v2-hero p{max-width:760px;color:#d9cfb8;line-height:2}
.account-identity-card{display:flex;gap:1rem;align-items:center;padding:1rem;border-radius:20px;background:rgba(255,248,228,.07);border:1px solid rgba(255,242,198,.14)}
.account-identity-card img{width:96px;height:96px;object-fit:cover;border-radius:18px;border:1px solid rgba(255,244,210,.25)}
.account-identity-card span,.account-v2-summary span,.account-v2-status span,.account-access-card span,.account-empty-card span,.account-zeton-grid span{display:block;color:#c8a95e;font-weight:900;font-size:.82rem}
.account-identity-card strong,.account-v2-summary strong,.account-v2-status strong,.account-access-card strong,.account-empty-card strong{display:block;color:#fff5dd;font-size:1.18rem;margin:.2rem 0}
.account-identity-card small,.account-v2-summary small,.account-v2-status small,.account-access-card small,.account-empty-card p,.account-zeton-grid p{color:#d4c8af;line-height:1.8}
.account-v2-summary,.account-v2-status{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1rem}
.account-v2-status{grid-template-columns:repeat(4,minmax(0,1fr))}
.account-v2-summary article,.account-v2-status article{padding:1.05rem;border-radius:18px}
.account-v2-quick-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:.9rem}
.account-quick-card{position:relative;min-height:150px;padding:1rem;border-radius:20px;text-decoration:none;display:flex;flex-direction:column;justify-content:space-between;overflow:hidden}
.account-quick-card i{width:42px;height:42px;color:#d1b064}
.account-quick-card svg{width:100%;height:100%;fill:none;stroke:currentColor;stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round}
.account-quick-card strong{color:#fff5dd;font-size:1.05rem}
.account-quick-card small{color:#d4c8af;line-height:1.65}
.account-quick-card.is-primary{background:linear-gradient(145deg,#1e4f48,#17231f);border-color:rgba(91,184,159,.34)}
.account-quick-card.is-locked{opacity:.78}
.account-quick-card em{position:absolute;top:.75rem;left:.75rem;padding:.18rem .55rem;border-radius:999px;background:rgba(255,255,255,.1);color:#f4dfaa;font-style:normal;font-size:.72rem}
.account-v2-section{padding:clamp(1rem,2vw,1.5rem);border-radius:24px}
.account-v2-section .section-lead h2{color:#fff5dd}
.account-v2-section .section-lead p{color:#d8cdb6}
.account-access-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem}
.account-access-card,.account-empty-card{display:block;text-decoration:none;padding:1rem;border-radius:18px}
.account-download-library{display:grid;gap:1rem}
.account-download-toolbar{display:grid;grid-template-columns:minmax(0,1fr) minmax(180px,240px);gap:.85rem;padding:1rem;border:1px solid rgba(211,190,150,.16);border-radius:18px;background:rgba(255,248,228,.035)}
.account-download-search,.account-download-status-filter{display:grid;gap:.42rem;color:#d9caa9;font-size:.8rem;font-weight:800}
.account-download-search input,.account-download-status-filter select{width:100%;min-height:46px;padding:.7rem .9rem;border:1px solid rgba(211,190,150,.25);border-radius:13px;background:#181915;color:#fff5dd;font:inherit;outline:none}
.account-download-search input:focus-visible,.account-download-status-filter select:focus-visible{border-color:#c6a858;box-shadow:0 0 0 3px rgba(198,168,88,.18)}
.account-download-categories{display:flex;gap:.55rem;overflow-x:auto;padding:.1rem .05rem .3rem;scrollbar-width:thin}
.account-download-categories button{display:inline-flex;align-items:center;gap:.48rem;flex:0 0 auto;min-height:42px;padding:.55rem .9rem;border:1px solid rgba(211,190,150,.19);border-radius:999px;background:rgba(255,248,228,.045);color:#d9cdb7;font:inherit;font-size:.82rem;font-weight:850;cursor:pointer}
.account-download-categories button small{display:grid;place-items:center;min-width:1.45rem;height:1.45rem;padding:0 .3rem;border-radius:999px;background:rgba(255,255,255,.08);color:inherit}
.account-download-categories button[aria-pressed="true"]{border-color:rgba(121,184,158,.52);background:linear-gradient(145deg,#245a50,#1c3f39);color:#f7f0df;box-shadow:0 8px 25px rgba(0,0,0,.15)}
.account-download-categories button:focus-visible{outline:2px solid #d7b75f;outline-offset:2px}
.account-download-result-count{margin:0;color:#bbae95;font-size:.82rem}
.account-license-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem}
.account-license-download{display:grid!important;gap:.8rem;align-content:start;overflow:hidden}
.account-license-download[hidden],.account-download-variant[hidden],.account-download-no-results[hidden]{display:none!important}
.account-license-download__head{display:flex;align-items:center;justify-content:space-between;gap:.75rem}
.account-license-download__head>span{color:#d8b95f!important}
.account-license-download__head>small{color:#b9ddcd;font-size:.75rem;font-weight:850}
.account-download-variants{display:grid;gap:.7rem;margin-top:.15rem}
.account-download-variant{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:.85rem;align-items:center;padding:.8rem;border:1px solid rgba(211,190,150,.14);border-radius:14px;background:rgba(255,255,255,.025)}
.account-download-variant__info{display:grid;gap:.28rem;min-width:0}
.account-download-variant__info>span{color:#f3dfad!important;font-size:.78rem;font-weight:900}
.account-download-variant__info p{overflow-wrap:anywhere;margin:0;color:#d6ccb9;font-size:.78rem;line-height:1.65}
.account-download-validity{display:inline-flex!important;align-items:center;width:max-content;max-width:100%;padding:.25rem .58rem;border:1px solid rgba(104,168,145,.42);border-radius:999px;background:rgba(28,108,86,.22);color:#bde4d1!important;font-size:.72rem!important;font-weight:850;line-height:1.4!important}
.account-download-validity.is-expiring{border-color:rgba(217,185,95,.46);background:rgba(139,100,22,.2);color:#f0d58b!important}
.account-download-validity.is-expired{border-color:rgba(191,100,91,.38);background:rgba(128,50,45,.18);color:#efb8b2!important}
.account-license-download__actions{display:grid;justify-items:stretch;gap:.38rem;width:min(170px,100%)}
.account-license-download__actions .primary{min-height:42px;white-space:nowrap}
.account-license-download__actions .primary:disabled{cursor:not-allowed;opacity:.55}
.account-license-download__actions [data-protected-download-status]{color:#bfb39e;font-size:.7rem;line-height:1.55;text-align:center}
.account-download-no-results{text-align:center}
html[data-theme="light"] .account-download-toolbar,html[data-theme="light"] .account-download-variant{background:rgba(83,70,44,.035);border-color:rgba(83,70,44,.14)}
html[data-theme="light"] .account-download-search,html[data-theme="light"] .account-download-status-filter,html[data-theme="light"] .account-download-result-count{color:#625a4c}
html[data-theme="light"] .account-download-search input,html[data-theme="light"] .account-download-status-filter select{background:#fffdf8;border-color:rgba(83,70,44,.22);color:#27231c}
html[data-theme="light"] .account-download-categories button{background:#fffaf0;border-color:rgba(83,70,44,.18);color:#514a3f}
html[data-theme="light"] .account-download-categories button[aria-pressed="true"]{background:linear-gradient(145deg,#286253,#1f4e43);color:#fff}
html[data-theme="light"] .account-download-validity{border-color:rgba(31,104,82,.28);background:rgba(31,104,82,.09);color:#1f6852!important}
html[data-theme="light"] .account-download-validity.is-expiring{border-color:rgba(146,105,24,.3);background:rgba(183,137,44,.1);color:#7d5a12!important}
html[data-theme="light"] .account-download-validity.is-expired{border-color:rgba(142,60,54,.25);background:rgba(172,67,58,.08);color:#8c3d37!important}
.account-access-card dl{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.65rem;margin:1rem 0 0}
.account-access-card dt{color:#aa9a78;font-size:.72rem}.account-access-card dd{margin:0;color:#fff1d2;font-weight:800}
.account-zeton-grid{display:grid;grid-template-columns:1.2fr repeat(4,minmax(0,1fr));gap:.9rem}
.account-zeton-grid article{padding:1rem;border-radius:18px}
.account-zeton-balance{display:grid;place-items:center;text-align:center}
.account-zeton-balance strong{font-size:2.8rem;color:#fff2cc}
.zeton-coin{display:grid!important;place-items:center;width:56px;height:56px;border-radius:50%;background:radial-gradient(circle at 35% 28%,#fff4c2,#c99b3f 45%,#5d431c 100%);color:#1b1610!important;border:2px solid rgba(255,255,255,.42);box-shadow:0 14px 26px rgba(0,0,0,.18)}
html[data-theme="light"] .account-v2{background:linear-gradient(180deg,#f5efe2,#e8deca)!important;color:#28231a}
html[data-theme="light"] .account-v2-hero,html[data-theme="light"] .account-v2-summary article,html[data-theme="light"] .account-quick-card,html[data-theme="light"] .account-v2-status article,html[data-theme="light"] .account-v2-section,html[data-theme="light"] .account-access-card,html[data-theme="light"] .account-empty-card,html[data-theme="light"] .account-zeton-grid article{background:linear-gradient(145deg,rgba(255,253,247,.96),rgba(242,234,219,.92))!important;border-color:rgba(79,67,45,.18)!important;color:#28231a!important;box-shadow:0 20px 56px rgba(70,56,28,.11)!important}
html[data-theme="light"] .account-v2-hero h1,html[data-theme="light"] .account-v2-section .section-lead h2,html[data-theme="light"] .account-identity-card strong,html[data-theme="light"] .account-v2-summary strong,html[data-theme="light"] .account-v2-status strong,html[data-theme="light"] .account-access-card strong,html[data-theme="light"] .account-empty-card strong,html[data-theme="light"] .account-quick-card strong{color:#27231c!important}
html[data-theme="light"] .account-v2-hero p,html[data-theme="light"] .account-v2-section .section-lead p,html[data-theme="light"] .account-identity-card small,html[data-theme="light"] .account-v2-summary small,html[data-theme="light"] .account-v2-status small,html[data-theme="light"] .account-access-card small,html[data-theme="light"] .account-empty-card p,html[data-theme="light"] .account-quick-card small,html[data-theme="light"] .account-zeton-grid p{color:#5d5547!important}
html[data-theme="light"] .account-identity-card,html[data-theme="light"] .account-quick-card.is-primary{background:linear-gradient(145deg,#fffaf0,#eee3cd)!important}
html[data-theme="light"] .account-identity-card span,html[data-theme="light"] .account-v2-summary span,html[data-theme="light"] .account-v2-status span,html[data-theme="light"] .account-access-card span,html[data-theme="light"] .account-empty-card span,html[data-theme="light"] .account-zeton-grid span{color:#8b6a24!important}
html[data-theme="light"] .account-access-card dd{color:#2b251c!important}
html[data-theme="light"] .account-quick-card i{color:#205b50!important}
html[data-theme="light"] .account-quick-card em{background:#2b271f;color:#fff4d9}
@media(max-width:980px){.account-v2-hero{grid-template-columns:1fr}.account-v2-quick-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.account-v2-status,.account-v2-summary{grid-template-columns:repeat(2,minmax(0,1fr))}.account-zeton-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:720px){.account-download-toolbar{grid-template-columns:1fr}.account-license-list{grid-template-columns:1fr}.account-download-variant{grid-template-columns:1fr}.account-license-download__actions{width:100%}}
@media(max-width:620px){.account-v2-quick-grid,.account-v2-status,.account-v2-summary,.account-access-grid,.account-license-list,.account-zeton-grid{grid-template-columns:1fr}.account-v2-hero h1{font-size:2.6rem}.account-license-download__head{align-items:flex-start;flex-direction:column}.account-download-categories button{min-height:44px}}

/* Checkout v2: calm order review instead of a crowded catalog */
.checkout-v2{padding:clamp(1rem,4vw,3rem);display:grid;gap:1.1rem;max-width:1180px;margin:0 auto;background:linear-gradient(180deg,#151512,#202019);color:#f6efdf}
.checkout-v2-hero,.checkout-v2-card{border:1px solid rgba(211,190,150,.18);background:linear-gradient(145deg,rgba(35,34,29,.95),rgba(22,23,20,.92));border-radius:24px;box-shadow:0 24px 70px rgba(0,0,0,.20);color:#f6efdf}
.checkout-v2-hero{display:grid;grid-template-columns:minmax(0,1fr) 330px;gap:1rem;align-items:end;padding:clamp(1.2rem,4vw,2.2rem)}
.checkout-v2-hero h1{max-width:760px;margin:.35rem 0;font-size:clamp(2.25rem,5vw,4.6rem);line-height:1.04;color:#fff4d8}
.checkout-v2-hero p{max-width:760px;color:#d8cbb2;line-height:2}
.checkout-v2-hero aside{padding:1rem;border-radius:18px;background:rgba(255,248,228,.07);border:1px solid rgba(255,242,200,.13)}
.checkout-v2-hero aside strong,.checkout-card-head strong,.checkout-side-card strong,.checkout-next-step h2{display:block;color:#fff4d8}
.checkout-v2-hero aside small,.checkout-side-card p,.checkout-next-step p,.checkout-order-card p{color:#d8cbb2;line-height:1.85}
.checkout-v2-grid{display:grid;grid-template-columns:minmax(0,1fr) 360px;gap:1rem;align-items:start}
.checkout-v2-card{padding:clamp(1rem,3vw,1.55rem)}
.checkout-card-head{display:flex;align-items:start;justify-content:space-between;gap:1rem;margin-bottom:1rem}
.checkout-card-head span,.checkout-side-card span,.checkout-next-step span{color:#c7a45e;font-weight:900;font-size:.82rem}
.checkout-summary-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.75rem;margin:1.2rem 0 0}
.checkout-summary-list div{padding:.85rem;border-radius:16px;background:rgba(255,248,228,.06);border:1px solid rgba(255,242,200,.12)}
.checkout-summary-list dt{color:#b9a784;font-size:.76rem;font-weight:850}.checkout-summary-list dd{margin:.15rem 0 0;color:#fff2d2;font-weight:950}
.checkout-safe-notes{display:grid;gap:.55rem;margin-top:1rem}.checkout-safe-notes small{padding:.62rem .75rem;border-radius:999px;background:rgba(255,248,228,.07);border:1px solid rgba(255,242,200,.12);color:#e4d8bf}
.checkout-next-step{display:flex;justify-content:space-between;gap:1rem;align-items:end}.checkout-next-step h2{margin:.25rem 0;font-size:clamp(1.7rem,3vw,2.6rem)}
.checkout-v2-actions,.checkout-empty-actions{display:flex;gap:.65rem;flex-wrap:wrap}
html[data-theme="light"] .checkout-v2{background:linear-gradient(180deg,#f5efe3,#e9dfce)!important;color:#27231d!important}
html[data-theme="light"] .checkout-v2-hero,html[data-theme="light"] .checkout-v2-card{background:linear-gradient(145deg,rgba(255,252,245,.96),rgba(240,231,215,.88))!important;border-color:rgba(78,66,48,.17)!important;box-shadow:0 20px 54px rgba(64,52,35,.10)!important;color:#27231d!important}
html[data-theme="light"] .checkout-v2-hero h1,html[data-theme="light"] .checkout-v2-hero aside strong,html[data-theme="light"] .checkout-card-head strong,html[data-theme="light"] .checkout-side-card strong,html[data-theme="light"] .checkout-next-step h2,html[data-theme="light"] .checkout-summary-list dd{color:#27231d!important}
html[data-theme="light"] .checkout-v2-hero p,html[data-theme="light"] .checkout-v2-hero aside small,html[data-theme="light"] .checkout-side-card p,html[data-theme="light"] .checkout-next-step p,html[data-theme="light"] .checkout-order-card p{color:#5f5547!important}
html[data-theme="light"] .checkout-card-head span,html[data-theme="light"] .checkout-side-card span,html[data-theme="light"] .checkout-next-step span,html[data-theme="light"] .checkout-summary-list dt{color:#8c6a29!important}
html[data-theme="light"] .checkout-v2-hero aside,html[data-theme="light"] .checkout-summary-list div,html[data-theme="light"] .checkout-safe-notes small{background:rgba(255,250,241,.70)!important;border-color:rgba(78,66,48,.15)!important;color:#244f49!important}
@media(max-width:900px){.checkout-v2-hero,.checkout-v2-grid{grid-template-columns:1fr}.checkout-next-step{display:grid}.checkout-summary-list{grid-template-columns:1fr}}

/* Account de-clutter pass: make the user panel a decision center, not a card wall */
.account-v2-shell{gap:.9rem!important}
.account-v2-hero{grid-template-columns:minmax(0,1fr) 300px!important;padding:clamp(1rem,2.4vw,1.65rem)!important;min-height:auto!important}
.account-v2-hero h1{font-size:clamp(2.1rem,4.2vw,4rem)!important;line-height:1.02!important}
.account-v2-hero p{max-width:680px!important;line-height:1.75!important}
.account-identity-card{padding:.85rem!important}
.account-identity-card img{width:72px!important;height:72px!important;border-radius:16px!important}
.account-v2-summary{grid-template-columns:1.25fr 1fr!important}
.account-v2-summary article:nth-child(3){display:none!important}
.account-v2-summary article,.account-v2-status article{padding:.9rem!important}
.account-v2-quick-grid{grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:.75rem!important}
.account-quick-card{min-height:118px!important;padding:.85rem!important;border-radius:18px!important}
.account-quick-card:nth-child(4),.account-quick-card:nth-child(5){display:none!important}
.account-quick-card i{width:32px!important;height:32px!important}
.account-quick-card small{line-height:1.45!important}
.account-v2-status{grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:.65rem!important}
.account-v2-status article strong{font-size:1rem!important}
.account-v2-status article small{display:none!important}
.account-v2-section{padding:clamp(.95rem,1.7vw,1.25rem)!important}
.account-v2-section .section-lead{margin-bottom:.85rem!important}
.account-v2-section .section-lead h2{font-size:clamp(1.45rem,2.6vw,2.25rem)!important;margin:.2rem 0!important}
.account-v2-section .section-lead p{max-width:720px!important;line-height:1.7!important}
.account-access-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:.8rem!important}
.account-access-card,.account-empty-card{padding:.9rem!important;border-radius:17px!important}
.account-workspace-shell{
  max-width:1280px!important;
  grid-template-columns:230px minmax(0,1fr);
  align-items:start;
  gap:1rem!important;
  direction:ltr;
  position:relative;
}
html[dir="rtl"] .account-workspace-shell{
  grid-template-columns:minmax(0,1fr) 230px;
}
.account-workspace-main{
  grid-column:2;
  grid-row:1;
  width:100%;
  max-width:100%;
  min-width:0;
  display:grid;
  grid-template-columns:minmax(0,1fr);
  gap:.9rem;
  direction:ltr;
}
.account-workspace-main > *{
  min-width:0;
  max-width:100%;
}
.account-prism-runtime{
  width:100%;
  max-width:none;
  min-height:720px;
  display:flex;
  flex-direction:column;
  gap:12px;
}
.account-prism-runtime-frame{
  display:block;
  width:100%;
  min-height:720px;
}
.prism-immersive-body{
  height:100dvh;
  min-height:100dvh;
  overflow:hidden;
  background:#070807;
}
html:has(body.prism-immersive-body){
  overflow:hidden;
}
.prism-immersive-body .site-header,
.prism-immersive-body .site-footer,
.prism-immersive-body .reference-footer{
  display:none!important;
}
.account-prism-immersive{
  position:fixed;
  inset:0;
  width:100%;
  height:100dvh;
  min-height:100dvh;
  background:linear-gradient(180deg,#101412,#070807);
  color:#f7f0df;
  display:grid;
  grid-template-rows:auto minmax(0,1fr);
  overflow:hidden;
  contain:layout size;
}
.account-prism-immersive__toolbar{
  min-height:52px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:1rem;
  padding:.45rem clamp(.75rem,1.6vw,1rem);
  border-bottom:1px solid rgba(207,190,156,.18);
  background:rgba(10,12,11,.92);
  min-width:0;
}
.account-prism-immersive__toolbar strong{color:#fff5dd;font-size:1rem}
.account-prism-immersive__toolbar span{color:#c8a95e;font-size:.86rem;font-weight:800}
.account-prism-immersive__toolbar nav{display:flex;align-items:center;gap:.55rem;flex-wrap:wrap}
.account-prism-immersive__toolbar .secondary{padding:.45rem .7rem;border-radius:10px;font-size:.86rem}
.account-prism-immersive__identity{display:grid;gap:.1rem;flex:0 0 auto}
.account-prism-immersive__toolbar .prism-observatory-nav{
  --prism-bg:transparent;
  --prism-ink:#fff5dd;
  --prism-muted:#c9c0ae;
  --prism-line:rgba(207,190,156,.18);
  position:static;
  flex:1 1 auto;
  justify-content:center;
  overflow-x:auto;
  padding:0;
  border:0;
  background:transparent;
}
.account-prism-immersive__toolbar .prism-observatory-nav a{min-height:40px}
.account-prism-immersive__controls{flex:0 0 auto}
.account-prism-immersive__viewport{
  width:100%;
  max-width:none;
  height:100%;
  min-height:0;
  overflow:hidden;
  display:block;
  position:relative;
  align-self:stretch;
}
.account-prism-immersive__viewport:fullscreen{
  background:#070807;
  width:100%;
  height:100%;
  min-height:0;
  overflow:hidden;
}
.account-prism-immersive .account-prism-runtime{
  position:relative;
  display:block;
  width:100%;
  height:100%;
  min-height:0;
  overflow:hidden;
}
.account-prism-immersive .account-prism-runtime-frame{
  display:block;
  width:100%!important;
  max-width:none!important;
  height:100%!important;
  min-height:0!important;
  border:0!important;
  border-radius:0!important;
}
.account-prism-immersive__viewport:fullscreen .account-prism-runtime,
.account-prism-immersive__viewport:fullscreen .account-prism-runtime-frame{
  width:100%!important;
  height:100%!important;
  min-height:0!important;
  max-height:none!important;
}
.account-prism-runtime-error{
  position:absolute;
  inset:50% auto auto 50%;
  transform:translate(-50%,-50%);
  z-index:5;
  width:min(440px,calc(100% - 2rem));
  display:grid;
  gap:.85rem;
  padding:1rem;
  border:1px solid rgba(248,113,113,.45);
  border-radius:18px;
  background:rgba(10,12,11,.9);
  color:#ffe4e6;
  box-shadow:0 24px 80px rgba(0,0,0,.45);
}
.account-prism-runtime-error p{
  margin:0;
  color:inherit;
  line-height:1.7;
}
.account-prism-runtime-error.account-prism-runtime-success{
  border-color:rgba(52,211,153,.55);
  background:rgba(7,24,19,.94);
  color:#d1fae5;
}
html[dir="rtl"] .account-prism-immersive__toolbar{direction:rtl}
@media(max-width:720px){
  .account-prism-immersive__toolbar{align-items:flex-start;flex-direction:column}
  .account-prism-immersive__toolbar .prism-observatory-nav{width:100%;justify-content:flex-start;flex-wrap:nowrap}
  .account-prism-immersive__viewport{height:100%;min-height:0}
}
.account-workspace-sidebar{
  grid-column:1;
  grid-row:1;
  position:sticky;
  top:92px;
  align-self:start;
  min-width:0;
  padding:.85rem;
  border:1px solid rgba(207,190,156,.22);
  border-radius:22px;
  background:linear-gradient(145deg,rgba(30,29,25,.95),rgba(18,20,18,.92));
  box-shadow:0 22px 60px rgba(0,0,0,.18);
  color:#f7f0df;
  transition:opacity .18s ease,transform .18s ease,padding .18s ease,border-color .18s ease;
  direction:ltr;
  text-align:left;
}
html[dir="rtl"] .account-workspace-main{
  grid-column:1;
  direction:rtl;
  text-align:right;
}
html[dir="rtl"] .account-workspace-sidebar{
  grid-column:2;
  direction:rtl;
  text-align:right;
}
.account-workspace-sidebar-head{
  display:grid;
  gap:.15rem;
  padding:.25rem .25rem .75rem;
  border-bottom:1px solid rgba(207,190,156,.16);
}
.account-workspace-sidebar-head span{
  color:#c8a95e;
  font-size:.76rem;
  font-weight:900;
}
.account-workspace-sidebar-head strong{
  color:#fff5dd;
  font-size:1rem;
}
.account-workspace-sidebar-products{
  margin-top:1rem;
}
.account-workspace-nav{
  display:grid;
  gap:.28rem;
  padding-top:.75rem;
}
.account-workspace-nav-account{
  padding-bottom:.85rem;
  border-bottom:1px solid rgba(207,190,156,.14);
}
.account-workspace-nav a{
  display:flex;
  align-items:center;
  min-height:44px;
  padding:.55rem .68rem;
  border-radius:14px;
  color:#d8cdb6;
  text-decoration:none;
  border:1px solid transparent;
  overflow-wrap:anywhere;
}
.account-workspace-nav a:hover,
.account-workspace-nav a:focus-visible,
.account-workspace-nav a.is-active{
  color:#fff5dd;
  border-color:rgba(207,190,156,.26);
  background:rgba(255,244,210,.08);
}
.account-roadmap-overview{
  min-height:clamp(420px,62vh,680px);
  display:grid;
}
.account-roadmap-canvas{
  min-height:inherit;
  display:grid;
  align-content:start;
  gap:.45rem;
  padding:clamp(1rem,3vw,2rem);
  border:1px solid rgba(207,190,156,.14);
  border-radius:24px;
  background:linear-gradient(145deg,rgba(32,31,27,.42),rgba(22,24,21,.26));
  box-shadow:0 22px 70px rgba(0,0,0,.10);
}
.account-roadmap-canvas h1{
  margin:0;
  color:#fff5dd;
  font-size:clamp(1.35rem,2.4vw,2rem);
  line-height:1.2;
}
.account-roadmap-canvas p{
  max-width:520px;
  margin:0;
  color:#d4c8af;
  line-height:1.8;
}
.account-profile-section{
  display:grid;
  gap:1rem;
  padding:clamp(1rem,2.4vw,1.65rem);
  border:1px solid rgba(207,190,156,.22);
  border-radius:24px;
  background:linear-gradient(145deg,rgba(32,31,27,.94),rgba(22,24,21,.9));
  color:#f7f0df;
  box-shadow:0 22px 70px rgba(0,0,0,.18);
}
.account-profile-heading{
  display:flex;
  align-items:center;
  gap:1rem;
}
.account-profile-mark{
  display:grid;
  place-items:center;
  width:76px;
  height:76px;
  flex:0 0 auto;
  border-radius:22px;
  border:1px solid rgba(207,190,156,.24);
  background:linear-gradient(145deg,rgba(255,244,210,.13),rgba(37,84,75,.16));
  color:#fff5dd;
  box-shadow:0 18px 42px rgba(0,0,0,.14);
}
.account-profile-initial{
  font-size:2rem;
  font-weight:950;
  line-height:1;
}
.account-profile-heading h1{
  margin:.2rem 0;
  color:#fff5dd;
  font-size:clamp(2rem,4vw,3.5rem);
  line-height:1.05;
}
.account-profile-heading p,
.account-profile-note{
  margin:0;
  color:#d4c8af;
  line-height:1.8;
}
.account-profile-details{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:.8rem;
  margin:0;
}
.account-profile-details div{
  padding:.9rem;
  border:1px solid rgba(207,190,156,.16);
  border-radius:17px;
  background:rgba(255,248,228,.06);
}
.account-profile-details dt{
  color:#c8a95e;
  font-size:.78rem;
  font-weight:900;
}
.account-profile-details dd{
  margin:.25rem 0 0;
  color:#fff5dd;
  font-weight:850;
  overflow-wrap:anywhere;
}
.account-profile-actions{
  display:flex;
  justify-content:flex-start;
}
html[dir="rtl"] .account-profile-actions{
  justify-content:flex-end;
}
.account-sidebar-toggle{
  grid-column:1;
  grid-row:1;
  justify-self:start;
  align-self:start;
  position:sticky;
  top:92px;
  z-index:6;
  transform:translateX(calc(-100% - .28rem));
  inline-size:44px;
  block-size:44px;
  min-height:44px;
  padding:0!important;
  display:inline-grid;
  place-items:center;
  border:1px solid rgba(207,190,156,.28);
  border-radius:999px;
  background:linear-gradient(145deg,rgba(30,29,25,.96),rgba(18,20,18,.94));
  color:#f7f0df;
  box-shadow:0 12px 30px rgba(0,0,0,.28);
}
html[dir="rtl"] .account-sidebar-toggle{
  grid-column:2;
  justify-self:end;
  transform:translateX(calc(100% + .28rem));
}
.account-sidebar-toggle svg{
  inline-size:18px;
  block-size:18px;
  fill:none;
  stroke:currentColor;
  stroke-width:2.4;
  stroke-linecap:round;
  stroke-linejoin:round;
  transition:transform .18s ease;
}
.account-sidebar-toggle:focus-visible{
  outline:3px solid rgba(198,163,82,.55);
  outline-offset:3px;
}
html[dir="rtl"] .account-sidebar-toggle svg{
  transform:scaleX(-1);
}
.account-workspace.is-sidebar-collapsed .account-sidebar-toggle svg,
.account-workspace.is-focus-mode .account-sidebar-toggle svg{
  transform:scaleX(-1);
}
html[dir="rtl"] .account-workspace.is-sidebar-collapsed .account-sidebar-toggle svg,
html[dir="rtl"] .account-workspace.is-focus-mode .account-sidebar-toggle svg{
  transform:none;
}
.account-workspace-card{
  min-height:126px;
}
.account-workspace-action{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:max-content;
  max-width:100%;
  margin-top:.85rem;
  padding:.35rem .68rem;
  border-radius:999px;
  background:rgba(255,244,210,.1);
  color:#f5d891;
  font-size:.78rem;
  font-weight:800;
  line-height:1.2;
}
.account-quick-card.is-active-access,
.account-workspace-card.is-active-access{
  border-color:rgba(91,184,159,.42);
  background:linear-gradient(145deg,rgba(29,74,66,.94),rgba(22,38,32,.92));
}
.account-quick-card.is-active-access em,
.account-workspace-card.is-active-access strong,
.account-workspace-card.is-active-access .account-workspace-action{
  color:#c8f5dc;
}
.account-workspace.is-sidebar-collapsed .account-workspace-shell,
.account-workspace.is-focus-mode .account-workspace-shell{
  grid-template-columns:0 minmax(0,1fr);
}
html[dir="rtl"] .account-workspace.is-sidebar-collapsed .account-workspace-shell,
html[dir="rtl"] .account-workspace.is-focus-mode .account-workspace-shell{
  grid-template-columns:minmax(0,1fr) 0;
}
.account-workspace.is-sidebar-collapsed .account-workspace-sidebar,
.account-workspace.is-focus-mode .account-workspace-sidebar{
  opacity:0;
  visibility:hidden;
  pointer-events:none;
  transform:translateX(-10px);
  padding:0;
  border-color:transparent;
  overflow:hidden;
}
html[dir="rtl"] .account-workspace.is-sidebar-collapsed .account-workspace-sidebar,
html[dir="rtl"] .account-workspace.is-focus-mode .account-workspace-sidebar{
  transform:translateX(10px);
}
html[data-theme="light"] .account-workspace-sidebar{
  background:linear-gradient(145deg,rgba(255,253,247,.96),rgba(242,234,219,.92))!important;
  border-color:rgba(79,67,45,.18)!important;
  color:#28231a!important;
  box-shadow:0 20px 56px rgba(70,56,28,.11)!important;
}
html[data-theme="light"] .account-workspace-sidebar-head strong,
html[data-theme="light"] .account-workspace-nav a.is-active{
  color:#27231c!important;
}
html[data-theme="light"] .account-workspace-sidebar-head span{
  color:#8b6a24!important;
}
html[data-theme="light"] .account-roadmap-canvas,
html[data-theme="light"] .account-profile-section{
  background:linear-gradient(145deg,rgba(255,253,247,.72),rgba(242,234,219,.50))!important;
  border-color:rgba(79,67,45,.14)!important;
  color:#28231a!important;
  box-shadow:0 20px 56px rgba(70,56,28,.08)!important;
}
html[data-theme="light"] .account-roadmap-canvas h1,
html[data-theme="light"] .account-profile-heading h1,
html[data-theme="light"] .account-profile-details dd{
  color:#27231c!important;
}
html[data-theme="light"] .account-roadmap-canvas p,
html[data-theme="light"] .account-profile-heading p,
html[data-theme="light"] .account-profile-note{
  color:#5d5547!important;
}
html[data-theme="light"] .account-profile-details div{
  background:rgba(255,253,247,.56)!important;
  border-color:rgba(79,67,45,.14)!important;
}
html[data-theme="light"] .account-profile-mark{
  background:linear-gradient(145deg,#fffaf0,#eee3cd)!important;
  color:#173f3b!important;
  border-color:rgba(79,67,45,.16)!important;
}
html[data-theme="light"] .account-workspace-nav a{
  color:#5d5547!important;
}
html[data-theme="light"] .account-workspace-nav a:hover,
html[data-theme="light"] .account-workspace-nav a:focus-visible,
html[data-theme="light"] .account-workspace-nav a.is-active{
  background:rgba(36,79,73,.07)!important;
  border-color:rgba(36,79,73,.14)!important;
}
@media(max-width:980px){
  .account-workspace-shell,
  html[dir="rtl"] .account-workspace-shell{
    grid-template-columns:1fr;
  }
  .account-workspace-main,
  html[dir="rtl"] .account-workspace-main{
    grid-column:1;
    grid-row:1;
  }
  .account-profile-details{
    grid-template-columns:1fr;
  }
  .account-workspace-sidebar,
  html[dir="rtl"] .account-workspace-sidebar{
    grid-column:1;
    grid-row:2;
  }
  .account-workspace-sidebar{
    position:relative;
    top:auto;
  }
  .account-workspace.is-sidebar-collapsed .account-workspace-shell,
  .account-workspace.is-focus-mode .account-workspace-shell,
  html[dir="rtl"] .account-workspace.is-sidebar-collapsed .account-workspace-shell,
  html[dir="rtl"] .account-workspace.is-focus-mode .account-workspace-shell{
    grid-template-columns:1fr;
  }
  .account-workspace.is-sidebar-collapsed .account-workspace-sidebar,
  .account-workspace.is-focus-mode .account-workspace-sidebar{
    display:none;
  }
}
@media(max-width:620px){
  .account-workspace{
    overflow-x:hidden;
  }
  .account-workspace-sidebar,
  .account-workspace-main{
    width:100%;
    max-width:100%;
    box-sizing:border-box;
  }
  .account-sidebar-toggle{
    grid-column:1;
    grid-row:auto;
    position:relative;
    top:auto;
    transform:none;
    justify-self:start;
  }
  html[dir="rtl"] .account-sidebar-toggle{
    grid-column:1;
    transform:none;
  }
}

.account-profile-edit-form,
.account-password-change-section{
  display:grid;
  gap:1rem;
  margin-top:1rem;
  padding:1rem;
  border:1px solid rgba(207,190,156,.16);
  border-radius:18px;
  background:rgba(20,19,17,.42);
}
.account-profile-edit-form h2,
.account-password-change-section h2{
  margin:0;
  color:#fff5dd;
  font-size:1.15rem;
}
.account-profile-form-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:.8rem;
}
.account-profile-edit-form label,
.account-password-form label{
  display:grid;
  gap:.35rem;
  color:#d8cdb6;
  font-weight:800;
}
.account-profile-edit-form input,
.account-password-form input{
  min-height:42px;
  border:1px solid rgba(207,190,156,.22);
  border-radius:12px;
  padding:.65rem .75rem;
  background:rgba(9,10,9,.58);
  color:#fff5dd;
}
.account-profile-edit-form input[readonly]{
  opacity:.72;
}
.account-password-form{
  display:grid;
  gap:.8rem;
}
.account-form-status{
  min-height:1.5em;
  margin:0;
  color:#c8a95e;
}
.account-growth-roadmap{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:.8rem;
}
.account-growth-node{
  padding:.95rem;
  border:1px solid rgba(207,190,156,.17);
  border-radius:18px;
  background:rgba(20,19,17,.48);
}
.account-growth-node.is-complete{
  border-color:rgba(87,178,132,.38);
}
.account-growth-node ul{
  margin:.45rem 0 0;
  padding-inline-start:1.1rem;
}

/* Final focused Account/PRISM UX pass */
.prism-assessment-page .prism-assessment-shell,
.prism-assessment-page .prism-core-shell,
.prism-assessment-page .assessment-stepped,
.prism-assessment-page .assessment-step,
.prism-assessment-page .prism-core-section{
  height:auto!important;
  min-height:0!important;
  max-height:none!important;
  overflow:visible!important;
}
.prism-assessment-page .assessment-stepped{
  margin-block-end:1.5rem!important;
}
.prism-assessment-page .assessment-actions{
  justify-content:space-between!important;
  align-items:center!important;
  margin-block-start:1rem!important;
  padding-block-end:0!important;
}
.prism-assessment-page .assessment-actions button[hidden]{
  display:none!important;
}
.prism-locked-action[aria-disabled="true"]{
  pointer-events:none;
  opacity:.72;
  cursor:not-allowed;
}
.result-card.prism-result-hero{
  margin-block:clamp(1.2rem,3vw,2.5rem)!important;
}
.result-save-note,
.result-session-note{
  color:#f7ebd0;
  font-weight:850;
}
html[data-theme="light"] .result-save-note,
html[data-theme="light"] .result-session-note,
html[data-theme="light"] .result-insight-grid article,
html[data-theme="light"] .result-insight-grid li,
html[data-theme="light"] .result-bridge p,
html[data-theme="light"] .prism-result-archetype p{
  color:#28231b!important;
}
html[data-theme="light"] .result-insight-grid h2,
html[data-theme="light"] .result-bridge h2,
html[data-theme="light"] .prism-result-archetype h2{
  color:#171612!important;
}
.account-growth-roadmap{
  position:relative;
  align-items:stretch;
}
.account-growth-roadmap:before{
  content:"";
  position:absolute;
  inset-inline:8%;
  top:50%;
  height:2px;
  background:linear-gradient(90deg,rgba(143,174,129,.22),rgba(210,173,104,.62),rgba(143,174,129,.22));
  pointer-events:none;
  z-index:0;
}
html[dir="rtl"] .account-growth-roadmap:before{
  background:linear-gradient(270deg,rgba(143,174,129,.22),rgba(210,173,104,.62),rgba(143,174,129,.22));
}
.account-growth-node{
  position:relative;
  z-index:2;
  display:grid;
  align-content:start;
  gap:.45rem;
  background:linear-gradient(145deg,rgba(21,34,30,.98),rgba(13,22,20,.98));
  color:#f7ecd8;
}
.account-growth-node span,
.account-growth-node strong,
.account-growth-node p,
.account-growth-node li{
  overflow-wrap:anywhere;
}
.account-growth-node span{
  color:#e8c66f;
  font-weight:900;
}
.account-growth-node strong{
  color:#fff7e6;
}
html[data-theme="light"] .account-growth-node{
  background:rgba(252,248,238,.92);
  color:#28231b;
}
html[data-theme="light"] .account-growth-node strong{
  color:#171612;
}
.account-sidebar-toggle{
  position:sticky!important;
}
@media(max-width:760px){
  .account-growth-roadmap:before{
    display:none;
  }
}
@media(max-width:760px){
  .account-profile-form-grid,
  .account-growth-roadmap{
    grid-template-columns:1fr;
  }
}

/* Account overview: decision path command center */
.account-path-dashboard{
  --path-gold:var(--read-gold);
  --path-gold-soft:var(--read-text);
  --path-ink:var(--read-ink);
  --path-panel:var(--read-panel);
  --path-panel-soft:var(--read-panel-strong);
  --path-line:var(--read-line);
  --path-muted:var(--read-muted);
  position:relative;
  isolation:isolate;
  display:grid;
  gap:clamp(1rem,2vw,1.35rem);
  padding:clamp(1rem,2.4vw,1.8rem);
  overflow:hidden;
  border:1px solid rgba(202,187,145,.22);
  border-radius:28px;
  color:var(--path-ink);
  background:
    radial-gradient(circle at 12% -8%,rgba(197,154,69,.13),transparent 32rem),
    radial-gradient(circle at 92% 18%,rgba(214,177,91,.08),transparent 22rem),
    linear-gradient(145deg,var(--deep-panel) 0%,var(--deep-bg) 58%,var(--deep-panel-soft) 100%);
  box-shadow:0 28px 82px rgba(0,0,0,.24);
}
.account-path-dashboard:before{
  content:"";
  position:absolute;
  z-index:-1;
  inset:0;
  pointer-events:none;
  background-image:
    linear-gradient(rgba(232,205,154,.03) 1px,transparent 1px),
    linear-gradient(90deg,rgba(232,205,154,.03) 1px,transparent 1px);
  background-size:84px 84px;
  mask-image:linear-gradient(180deg,rgba(0,0,0,.8),transparent 84%);
}
.account-path-dashboard svg{
  display:block;
  width:20px;
  height:20px;
  fill:none;
  stroke:currentColor;
  stroke-width:1.8;
  stroke-linecap:round;
  stroke-linejoin:round;
}
.account-path-hero{
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(150px,188px);
  align-items:center;
  gap:clamp(1.2rem,3vw,2.5rem);
  padding:clamp(.5rem,1vw,1rem) clamp(.25rem,1vw,.75rem) clamp(1.2rem,2vw,1.6rem);
  border-bottom:1px solid var(--path-line);
}
.account-path-hero-copy{
  display:grid;
  gap:.65rem;
  max-width:760px;
}
.account-path-eyebrow,
.account-path-card-label{
  display:inline-flex;
  align-items:center;
  gap:.5rem;
  width:max-content;
  max-width:100%;
  color:var(--path-gold);
  font-size:.76rem;
  font-weight:950;
  letter-spacing:.02em;
}
.account-path-eyebrow svg,
.account-path-card-label svg{
  width:18px;
  height:18px;
}
.account-path-hero h1{
  max-width:820px;
  margin:0;
  color:var(--path-ink);
  font-size:clamp(2rem,4.1vw,4rem);
  font-weight:950;
  line-height:1.13;
  letter-spacing:-.035em;
  text-wrap:balance;
}
html[dir="rtl"] .account-path-hero h1{
  letter-spacing:0;
}
.account-path-hero p{
  max-width:670px;
  margin:0;
  color:var(--path-muted);
  font-size:clamp(.94rem,1.35vw,1.08rem);
  line-height:1.9;
}
.account-path-completion{
  position:relative;
  display:grid;
  justify-items:center;
  gap:.25rem;
  min-height:158px;
  padding:1.1rem .75rem;
  border:1px solid rgba(231,201,121,.26);
  border-radius:24px;
  background:linear-gradient(145deg,rgba(247,225,170,.1),var(--path-panel));
  box-shadow:inset 0 1px 0 rgba(255,255,255,.05),0 18px 50px rgba(0,0,0,.14);
  text-align:center;
}
.account-path-completion:after{
  content:"";
  position:absolute;
  inset:8px;
  border:1px solid rgba(255,255,255,.045);
  border-radius:18px;
  pointer-events:none;
}
.account-path-completion span{
  color:var(--path-muted);
  font-size:.74rem;
  font-weight:850;
}
.account-path-completion strong{
  color:var(--path-gold-soft);
  font-size:clamp(2.6rem,5vw,3.8rem);
  line-height:1;
}
.account-path-completion strong small{
  margin-inline-start:.15rem;
  color:var(--path-muted);
  font-size:.95rem;
  font-weight:800;
}
.account-path-completion em{
  color:var(--path-muted);
  font-size:.76rem;
  font-style:normal;
  font-weight:850;
}
.account-path-primary-grid{
  display:grid;
  grid-template-columns:minmax(0,1.35fr) minmax(270px,.65fr);
  gap:1rem;
}
.account-path-insight,
.account-path-next{
  position:relative;
  display:grid;
  align-content:start;
  min-width:0;
  padding:clamp(1.15rem,2vw,1.55rem);
  border:1px solid var(--path-line);
  border-radius:23px;
  background:linear-gradient(145deg,var(--path-panel),var(--path-panel-soft));
}
.account-path-insight{
  min-height:270px;
  grid-template-rows:auto auto 1fr auto;
  box-shadow:inset 3px 0 0 rgba(231,201,121,.78);
}
html[dir="rtl"] .account-path-insight{
  box-shadow:inset -3px 0 0 rgba(231,201,121,.78);
}
.account-path-insight h2,
.account-path-next h2{
  margin:.8rem 0 .55rem;
  color:var(--path-ink);
  text-wrap:balance;
}
.account-path-insight h2{
  max-width:750px;
  font-size:clamp(1.45rem,2.75vw,2.5rem);
  line-height:1.3;
}
.account-path-next h2{
  font-size:clamp(1.2rem,1.9vw,1.55rem);
  line-height:1.4;
}
.account-path-insight p,
.account-path-next p{
  margin:0;
  color:var(--path-muted);
  line-height:1.85;
}
.account-path-insight-footer{
  display:flex;
  align-items:center;
  gap:.9rem;
  flex-wrap:wrap;
  margin-top:1.2rem;
}
.account-path-insight-footer .primary{
  min-height:46px;
  padding:.72rem 1.05rem;
  border:1px solid rgba(255,245,218,.38);
  color:var(--deep-bg);
  background:linear-gradient(135deg,#f5e7c4,#d9bc72);
  box-shadow:0 14px 32px rgba(0,0,0,.18);
}
.account-path-insight-footer .primary:hover,
.account-path-insight-footer .primary:focus-visible{
  color:var(--deep-bg);
  background:#fff1ca;
}
.account-path-insight-footer span{
  max-width:280px;
  color:var(--path-muted);
  font-size:.74rem;
  line-height:1.65;
}
.account-path-next{
  min-height:270px;
  grid-template-rows:auto auto 1fr auto;
  background:linear-gradient(145deg,var(--deep-panel-soft),var(--path-panel-soft));
}
.account-path-next-link{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:.7rem;
  min-height:46px;
  margin-top:1.15rem;
  padding:.65rem .8rem;
  border-top:1px solid rgba(231,201,121,.2);
  color:#f5da91;
  text-decoration:none;
  font-size:.85rem;
  font-weight:900;
}
.account-path-next-link svg,
.account-path-tool-arrow{
  width:17px;
  height:17px;
  transition:transform .18s ease;
}
html[dir="rtl"] .account-path-next-link svg,
html[dir="rtl"] .account-path-tool-arrow{
  transform:scaleX(-1);
}
.account-path-next-link:hover svg,
.account-path-next-link:focus-visible svg,
.account-path-tools a:hover .account-path-tool-arrow,
.account-path-tools a:focus-visible .account-path-tool-arrow{
  transform:translateX(3px);
}
html[dir="rtl"] .account-path-next-link:hover svg,
html[dir="rtl"] .account-path-next-link:focus-visible svg,
html[dir="rtl"] .account-path-tools a:hover .account-path-tool-arrow,
html[dir="rtl"] .account-path-tools a:focus-visible .account-path-tool-arrow{
  transform:scaleX(-1) translateX(3px);
}
.account-path-rail{
  padding:clamp(1rem,2vw,1.35rem);
  border:1px solid var(--path-line);
  border-radius:23px;
  background:var(--path-panel);
}
.account-path-section-heading{
  display:flex;
  align-items:end;
  justify-content:space-between;
  gap:1rem;
  margin-bottom:1rem;
}
.account-path-section-heading div{
  display:grid;
  gap:.25rem;
}
.account-path-section-heading span{
  color:var(--path-gold);
  font-size:.7rem;
  font-weight:900;
}
.account-path-section-heading h2{
  margin:0;
  color:var(--path-ink);
  font-size:clamp(1.15rem,1.8vw,1.45rem);
}
.account-path-section-heading>a{
  min-height:44px;
  display:inline-flex;
  align-items:center;
  color:var(--path-gold-soft);
  text-decoration:none;
  font-size:.78rem;
  font-weight:850;
}
.account-path-rail ol{
  position:relative;
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:.8rem;
  margin:0;
  padding:0;
  list-style:none;
}
.account-path-rail ol:before{
  content:"";
  position:absolute;
  z-index:0;
  top:29px;
  inset-inline:10%;
  height:1px;
  background:linear-gradient(90deg,rgba(231,201,121,.5),rgba(214,185,119,.3),var(--path-line));
}
html[dir="rtl"] .account-path-rail ol:before{
  background:linear-gradient(270deg,rgba(231,201,121,.5),rgba(214,185,119,.3),var(--path-line));
}
.account-path-step{
  position:relative;
  z-index:1;
  min-width:0;
}
.account-path-step a{
  display:grid;
  grid-template-columns:auto minmax(0,1fr);
  grid-template-areas:
    "index copy"
    "index state"
    "time time";
  align-items:center;
  gap:.2rem .7rem;
  min-height:118px;
  padding:.85rem;
  border:1px solid var(--path-line);
  border-radius:18px;
  color:inherit;
  text-decoration:none;
  background:linear-gradient(145deg,var(--path-panel),var(--path-panel-soft));
  transition:border-color .18s ease,transform .18s ease,background .18s ease;
}
.account-path-step a:hover,
.account-path-step a:focus-visible{
  transform:translateY(-2px);
  border-color:rgba(231,201,121,.38);
  background:linear-gradient(145deg,rgba(197,154,69,.09),var(--path-panel-soft));
}
.account-path-step-index{
  grid-area:index;
  display:grid;
  place-items:center;
  width:42px;
  height:42px;
  border:1px solid var(--path-line);
  border-radius:50%;
  color:var(--path-muted);
  background:var(--deep-panel);
  font-size:.8rem;
  font-weight:950;
}
.account-path-step-copy{
  grid-area:copy;
  display:grid;
  gap:.1rem;
  min-width:0;
}
.account-path-step-copy strong{
  color:var(--path-ink);
  font-size:.94rem;
}
.account-path-step-copy small,
.account-path-step time{
  color:var(--path-muted);
  font-size:.7rem;
}
.account-path-step-state{
  grid-area:state;
  display:flex;
  align-items:center;
  gap:.35rem;
  color:var(--path-muted);
  font-size:.7rem;
  font-weight:850;
}
.account-path-step-state svg{
  width:15px;
  height:15px;
}
.account-path-step time{
  grid-area:time;
  padding-top:.45rem;
  border-top:1px solid var(--path-line);
}
.account-path-step.is-complete a{
  border-color:rgba(91,184,147,.28);
}
.account-path-step.is-complete .account-path-step-index{
  border-color:rgba(109,218,172,.38);
  color:#c8f5dc;
  background:#123b30;
}
.account-path-step.is-complete .account-path-step-state{
  color:#a9e5c9;
}
.account-path-step.is-active a{
  border-color:rgba(231,201,121,.42);
}
.account-path-step.is-active .account-path-step-index{
  border-color:rgba(231,201,121,.54);
  color:#fff0bd;
  background:#423a21;
}
.account-path-step.is-active .account-path-step-state{
  color:#f1d98f;
}
.account-path-step.is-locked{
  opacity:.74;
}
.account-path-tools{
  display:flex;
  align-items:center;
  gap:1rem;
  padding:.15rem .2rem 0;
}
.account-path-tools>span{
  flex:0 0 auto;
  color:var(--path-muted);
  font-size:.72rem;
  font-weight:850;
}
.account-path-tools>div{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:.65rem;
  width:100%;
}
.account-path-tools a{
  display:grid;
  grid-template-columns:auto minmax(0,1fr) auto;
  align-items:center;
  gap:.55rem;
  min-height:62px;
  padding:.55rem .65rem;
  border:1px solid var(--path-line);
  border-radius:16px;
  color:var(--path-ink);
  text-decoration:none;
  background:rgba(255,255,255,.035);
  transition:border-color .18s ease,background .18s ease;
}
.account-path-tools a:hover,
.account-path-tools a:focus-visible{
  border-color:rgba(231,201,121,.34);
  background:rgba(231,201,121,.07);
}
.account-path-tool-icon{
  display:grid;
  place-items:center;
  width:36px;
  height:36px;
  border-radius:11px;
  color:#e7c979;
  background:rgba(231,201,121,.09);
}
.account-path-tool-icon svg{
  width:18px;
  height:18px;
}
.account-path-tools a>span:nth-child(2){
  display:grid;
  gap:.08rem;
  min-width:0;
}
.account-path-tools strong{
  color:var(--path-ink);
  font-size:.8rem;
}
.account-path-tools small{
  color:var(--path-muted);
  font-size:.66rem;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}
.account-path-tools .account-path-tool-arrow{
  color:var(--path-muted);
  width:15px;
  height:15px;
}
.account-path-dashboard a:focus-visible{
  outline:3px solid rgba(231,201,121,.46);
  outline-offset:3px;
}
html[data-theme="light"] .account-path-dashboard{
  --path-gold:#8e6d3f;
  --path-gold-soft:#6f5734;
  --path-ink:#27231d;
  --path-panel:rgba(255,250,241,.86);
  --path-panel-soft:rgba(246,239,226,.82);
  --path-line:rgba(78,66,48,.16);
  --path-muted:#62594b;
  color:var(--path-ink);
  border-color:var(--path-line);
  background:
    radial-gradient(circle at 12% -8%,rgba(196,155,63,.12),transparent 32rem),
    radial-gradient(circle at 92% 18%,rgba(196,155,63,.13),transparent 22rem),
    linear-gradient(145deg,#f5efe2 0%,#e8deca 100%);
  box-shadow:0 24px 68px rgba(70,56,28,.11);
}
html[data-theme="light"] .account-path-dashboard:before{
  background-image:
    linear-gradient(rgba(78,66,48,.04) 1px,transparent 1px),
    linear-gradient(90deg,rgba(78,66,48,.04) 1px,transparent 1px);
}
html[data-theme="light"] .account-path-hero h1,
html[data-theme="light"] .account-path-insight h2,
html[data-theme="light"] .account-path-next h2,
html[data-theme="light"] .account-path-section-heading h2{
  color:var(--path-ink)!important;
}
html[data-theme="light"] .account-path-eyebrow,
html[data-theme="light"] .account-path-card-label,
html[data-theme="light"] .account-path-section-heading span{
  color:#89681f!important;
}
html[data-theme="light"] .account-path-completion{
  border-color:rgba(142,109,63,.22);
  background:linear-gradient(145deg,var(--path-panel),var(--path-panel-soft));
}
html[data-theme="light"] .account-path-completion span,
html[data-theme="light"] .account-path-completion em{
  color:var(--path-muted);
}
html[data-theme="light"] .account-path-completion strong{
  color:var(--path-gold-soft);
}
html[data-theme="light"] .account-path-completion strong small{
  color:var(--path-muted);
}
html[data-theme="light"] .account-path-insight,
html[data-theme="light"] .account-path-next{
  border-color:var(--path-line);
  background:linear-gradient(145deg,var(--path-panel),var(--path-panel-soft));
  box-shadow:none;
}
html[data-theme="light"] .account-path-insight{
  box-shadow:inset 3px 0 0 rgba(166,124,37,.58);
}
html[dir="rtl"][data-theme="light"] .account-path-insight{
  box-shadow:inset -3px 0 0 rgba(166,124,37,.58);
}
html[data-theme="light"] .account-path-insight p,
html[data-theme="light"] .account-path-next p,
html[data-theme="light"] .account-path-insight-footer span{
  color:var(--path-muted)!important;
}
html[data-theme="light"] .account-path-rail{
  border-color:var(--path-line);
  background:var(--path-panel);
}
html[data-theme="light"] .account-path-step a{
  border-color:var(--path-line);
  color:var(--path-ink);
  background:linear-gradient(145deg,var(--path-panel),var(--path-panel-soft));
}
html[data-theme="light"] .account-path-step-index{
  color:var(--path-muted);
  background:#eee3cd;
}
html[data-theme="light"] .account-path-step-copy strong,
html[data-theme="light"] .account-path-tools strong{
  color:var(--path-ink);
}
html[data-theme="light"] .account-path-step-copy small,
html[data-theme="light"] .account-path-step time,
html[data-theme="light"] .account-path-step-state,
html[data-theme="light"] .account-path-tools small,
html[data-theme="light"] .account-path-tools>span{
  color:var(--path-muted);
}
html[data-theme="light"] .account-path-tools a{
  border-color:var(--path-line);
  color:var(--path-ink);
  background:var(--path-panel);
}
html[data-theme="light"] .account-path-tool-icon{
  color:#7d6020;
  background:rgba(164,125,39,.1);
}
@media(max-width:900px){
  .account-path-hero,
  .account-path-primary-grid{
    grid-template-columns:1fr;
  }
  .account-path-completion{
    grid-template-columns:1fr auto auto;
    justify-items:start;
    align-items:center;
    min-height:0;
    text-align:start;
  }
  .account-path-completion strong{
    font-size:2rem;
  }
  .account-path-tools{
    align-items:flex-start;
    flex-direction:column;
  }
  .account-path-tools>div{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
}
@media(max-width:680px){
  .account-path-dashboard{
    border-radius:20px;
  }
  .account-path-hero{
    padding-inline:0;
  }
  .account-path-hero h1{
    font-size:clamp(1.8rem,9vw,2.65rem);
  }
  .account-path-insight,
  .account-path-next{
    min-height:0;
    border-radius:18px;
  }
  .account-path-insight-footer{
    align-items:stretch;
    flex-direction:column;
  }
  .account-path-insight-footer .primary{
    width:100%;
  }
  .account-path-section-heading{
    align-items:start;
    flex-direction:column;
  }
  .account-path-rail ol{
    grid-template-columns:1fr;
  }
  .account-path-rail ol:before{
    top:8%;
    bottom:8%;
    inset-inline-start:35px;
    inset-inline-end:auto;
    width:1px;
    height:auto;
    background:linear-gradient(180deg,rgba(231,201,121,.5),rgba(214,185,119,.3),var(--path-line));
  }
  .account-path-tools>div{
    grid-template-columns:1fr;
  }
}
@media(prefers-reduced-motion:reduce){
  .account-path-dashboard *,
  .account-path-dashboard *:before,
  .account-path-dashboard *:after{
    scroll-behavior:auto!important;
    transition-duration:.01ms!important;
  }
}

.setup-page .setup-hero,
.setup-detail-page .product-article-main{
  position:relative;
}
.setup-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(310px,1fr));
  gap:1.1rem;
}
.setup-card{
  display:grid;
  grid-template-columns:minmax(180px,.8fr) 1.2fr;
  gap:1rem;
  padding:1rem;
  border:1px solid rgba(207,190,156,.22);
  border-radius:24px;
  background:linear-gradient(145deg,rgba(32,31,27,.94),rgba(22,24,21,.9));
  box-shadow:0 24px 70px rgba(0,0,0,.18);
}
.setup-card img{
  width:100%;
  height:100%;
  min-height:250px;
  object-fit:contain;
  border-radius:18px;
  border:1px solid rgba(216,198,163,.22);
  background:#efe3c9;
}
.setup-card span,
.setup-detail-page .article-meta span{
  color:#c8a95e;
  font-weight:900;
}
.setup-card h2{
  color:#fff5dd;
  margin:.35rem 0;
}
.setup-card p,
.setup-card li{
  color:#d4c8af;
  line-height:1.85;
}
.setup-card ul{
  margin:1rem 0;
  padding-inline-start:1.2rem;
}
.setup-rule-list{
  display:grid;
  gap:.65rem;
  margin:1rem 0 0;
  padding-inline-start:1.25rem;
}
.setup-rule-list li{
  line-height:1.9;
}
.setup-detail-page .setup-visual img{
  height:auto;
  aspect-ratio:auto;
  object-fit:contain;
  background:#050706;
}
.indicator-detail-page .indicator-product-hero img{
  height:auto;
  aspect-ratio:auto;
  object-fit:contain;
}
.setup-chart-examples>p{
  max-width:820px;
  color:var(--muted);
  line-height:1.85;
}
.setup-chart-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:1rem;
  margin-top:1.1rem;
}
.setup-product-gallery-grid{
  grid-template-columns:repeat(3,minmax(0,1fr));
}
.setup-chart-card{
  overflow:hidden;
  border:1px solid rgba(207,190,156,.2);
  border-radius:22px;
  background:linear-gradient(145deg,rgba(32,31,27,.94),rgba(18,18,15,.9));
  box-shadow:0 22px 62px rgba(0,0,0,.18);
}
.setup-chart-card a{
  display:block;
  background:#efe5d2;
}
.setup-screenshot-card a{
  display:grid;
  place-items:center;
  padding:.7rem;
  background:#080b0f;
}
.setup-chart-card img{
  display:block;
  width:100%;
  aspect-ratio:1120/680;
  object-fit:cover;
}
.setup-screenshot-card img{
  aspect-ratio:400/432;
  object-fit:contain;
  transition:transform .2s ease;
}
.setup-screenshot-card a:hover img,
.setup-screenshot-card a:focus-visible img{
  transform:scale(1.015);
}
.setup-screenshot-card a:focus-visible{
  outline:2px solid #c8a95e;
  outline-offset:-2px;
}
.setup-chart-card div{
  padding:1rem 1.05rem 1.15rem;
}
.setup-chart-card span{
  color:#c8a95e;
  font-weight:900;
  font-size:.83rem;
}
.setup-chart-card h3{
  margin:.35rem 0 .4rem;
  color:#fff5dd;
  font-size:1.15rem;
}
.setup-chart-card p{
  margin:0;
  color:#d4c8af;
  line-height:1.75;
}
html[data-theme="light"] .setup-card{
  background:linear-gradient(145deg,rgba(255,253,247,.96),rgba(242,234,219,.92))!important;
  border-color:rgba(79,67,45,.18)!important;
  color:#28231a!important;
  box-shadow:0 20px 56px rgba(70,56,28,.11)!important;
}
html[data-theme="light"] .setup-card h2{
  color:#27231c!important;
}
html[data-theme="light"] .setup-card p,
html[data-theme="light"] .setup-card li{
  color:#5d5547!important;
}
html[data-theme="light"] .setup-card span{
  color:#8b6a24!important;
}
html[data-theme="light"] .setup-chart-card{
  background:linear-gradient(145deg,rgba(255,253,247,.97),rgba(242,234,219,.94))!important;
  border-color:rgba(79,67,45,.16)!important;
  box-shadow:0 20px 56px rgba(70,56,28,.11)!important;
}
html[data-theme="light"] .setup-chart-card h3{
  color:#27231c!important;
}
html[data-theme="light"] .setup-chart-card p{
  color:#5d5547!important;
}
html[data-theme="light"] .setup-chart-card span{
  color:#8b6a24!important;
}
@media (max-width:760px){
  .setup-card{
    grid-template-columns:1fr;
  }
  .setup-card img{
    min-height:220px;
  }
  .setup-chart-grid{
    grid-template-columns:1fr;
  }
}
@media (min-width:761px) and (max-width:1060px){
  .setup-product-gallery-grid{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
}
.account-zeton-section .section-lead p{display:none!important}
.account-zeton-grid{grid-template-columns:1fr repeat(4,minmax(0,.72fr))!important;gap:.7rem!important}
.account-zeton-grid article{min-height:116px!important;padding:.8rem!important}
.account-zeton-grid p{line-height:1.45!important}
.account-zeton-balance strong{font-size:2rem!important}
.zeton-coin{width:46px!important;height:46px!important}
@media(max-width:980px){.account-v2-hero,.account-v2-summary,.account-v2-quick-grid,.account-v2-status,.account-access-grid,.account-zeton-grid{grid-template-columns:1fr!important}.account-quick-card:nth-child(4){display:flex!important}.account-v2-summary article:nth-child(3),.account-quick-card:nth-child(5){display:none!important}}

/* Vengeance-inspired polish layer: lightweight CSS equivalents, TupTrader identity preserved */
:root{
  --vx-ink:#24211b;
  --vx-deep:#12120f;
  --vx-moss:#184d45;
  --vx-gold:#c59a45;
  --vx-paper:#f6efe2;
  --vx-soft:#ede2cf;
  --vx-line:rgba(199,164,94,.24);
  --vx-glow:rgba(197,154,69,.26);
  --vx-ease:cubic-bezier(.2,.8,.2,1);
}
html,
body{
  overflow-x:clip;
}

@keyframes tupRaySweep{
  0%{transform:translate3d(-4%,0,0) rotate(-8deg);opacity:.28}
  50%{transform:translate3d(4%,1%,0) rotate(8deg);opacity:.48}
  100%{transform:translate3d(-4%,0,0) rotate(-8deg);opacity:.28}
}
@keyframes tupButtonShine{
  from{transform:translateX(-120%) skewX(-18deg)}
  to{transform:translateX(150%) skewX(-18deg)}
}
@keyframes tupFlipFade{
  from{opacity:0;transform:translateY(18px) rotateX(-74deg);filter:blur(10px)}
  to{opacity:1;transform:translateY(0) rotateX(0);filter:blur(0)}
}
@keyframes tupFooterGlitch{
  0%,100%{text-shadow:0 0 0 transparent}
  35%{text-shadow:2px 0 rgba(24,77,69,.34),-2px 0 rgba(197,154,69,.34)}
  65%{text-shadow:-1px 0 rgba(24,77,69,.28),1px 0 rgba(197,154,69,.28)}
}
@keyframes tupFloatCard{
  0%,100%{transform:translateY(0)}
  50%{transform:translateY(-5px)}
}

.site-header,
.home-hero-refined,
.home .trading-hero,
.page-hero,
.product-storyline{
  position:relative;
  overflow:hidden;
}
.site-header{
  overflow:visible;
}
.site-header::after,
.home-hero-refined::before,
.home .trading-hero::before,
.page-hero::before,
.product-storyline::after{
  content:"";
  position:absolute;
  inset:-24%;
  pointer-events:none;
  z-index:0;
  background:
    conic-gradient(from 130deg at 18% 8%, transparent 0 9deg, rgba(197,154,69,.13) 10deg 12deg, transparent 13deg 31deg, rgba(24,77,69,.08) 32deg 34deg, transparent 35deg 100deg),
    radial-gradient(circle at 12% 12%, rgba(255,243,210,.16), transparent 18rem);
  mix-blend-mode:soft-light;
  animation:tupRaySweep 16s var(--vx-ease) infinite;
}
.site-header>*,
.home-hero-refined>*,
.home .trading-hero>*,
.page-hero>*,
.product-storyline>*{
  position:relative;
  z-index:1;
}

.site-header .primary-nav{
  position:relative;
  isolation:isolate;
  border-radius:0;
  background:
    radial-gradient(180px circle at var(--nav-x,50%) var(--nav-y,50%), rgba(197,154,69,.18), transparent 45%),
    rgba(255,255,255,.025);
}
.site-header .primary-nav .nav-group>button{
  min-height:44px;
  border-radius:14px;
  transition:background .22s var(--vx-ease), transform .22s var(--vx-ease), color .22s var(--vx-ease), box-shadow .22s var(--vx-ease);
}
.site-header .primary-nav .nav-group:hover>button,
.site-header .primary-nav .nav-group:focus-within>button{
  transform:translateY(-1px);
  background:rgba(197,154,69,.12);
  box-shadow:inset 0 0 0 1px rgba(197,154,69,.22),0 12px 30px rgba(0,0,0,.08);
}
.site-header .mega-panel{
  transform-origin:top center;
  transition:opacity .2s var(--vx-ease), transform .22s var(--vx-ease), filter .22s var(--vx-ease);
  box-shadow:0 22px 60px rgba(0,0,0,.18), inset 0 1px rgba(255,255,255,.08);
}
.site-header .mega-panel a{
  border-radius:12px;
  transition:background .18s var(--vx-ease), transform .18s var(--vx-ease);
}
.site-header .mega-panel a:hover,
.site-header .mega-panel a:focus-visible{
  transform:translateX(-3px);
  background:rgba(197,154,69,.12);
}

.primary,
.secondary,
.start-link,
.cart-link,
.theme-toggle,
.lang-link,
.google-auth,
.plan-actions a,
.checkout-v2-actions a,
.checkout-empty-actions a{
  position:relative;
  isolation:isolate;
  overflow:hidden;
  min-height:44px;
  touch-action:manipulation;
  transition:transform .18s var(--vx-ease), box-shadow .18s var(--vx-ease), border-color .18s var(--vx-ease), background .18s var(--vx-ease);
}
.primary::before,
.secondary::before,
.start-link::before,
.cart-link::before,
.theme-toggle::before,
.lang-link::before,
.google-auth::before,
.plan-actions a::before,
.checkout-v2-actions a::before,
.checkout-empty-actions a::before{
  content:"";
  position:absolute;
  inset:-20% auto -20% -55%;
  width:48%;
  z-index:-1;
  background:linear-gradient(90deg,transparent,rgba(255,255,255,.28),transparent);
  transform:translateX(-120%) skewX(-18deg);
}
.primary:hover,
.secondary:hover,
.start-link:hover,
.cart-link:hover,
.theme-toggle:hover,
.lang-link:hover,
.google-auth:hover,
.plan-actions a:hover,
.checkout-v2-actions a:hover,
.checkout-empty-actions a:hover{
  transform:translateY(-2px);
  box-shadow:0 16px 34px rgba(20,18,14,.14);
}
.primary:hover::before,
.secondary:hover::before,
.start-link:hover::before,
.cart-link:hover::before,
.theme-toggle:hover::before,
.lang-link:hover::before,
.google-auth:hover::before,
.plan-actions a:hover::before,
.checkout-v2-actions a:hover::before,
.checkout-empty-actions a:hover::before{
  animation:tupButtonShine .72s var(--vx-ease);
}
.primary:active,
.secondary:active,
.start-link:active,
.cart-link:active,
.theme-toggle:active,
.lang-link:active,
.google-auth:active,
.plan-actions a:active{
  transform:translateY(0) scale(.985);
}

.pricing-page .product-pricing-group,
.product-plan-section .plan-compare-table,
.journal-compare-section .plan-compare-table{
  position:relative;
  isolation:isolate;
  overflow:hidden;
  border-radius:26px;
  background:
    radial-gradient(460px circle at var(--card-x,50%) var(--card-y,18%), rgba(197,154,69,.18), transparent 45%),
    linear-gradient(145deg, rgba(30,29,25,.82), rgba(14,15,13,.72));
  box-shadow:0 26px 80px rgba(0,0,0,.18), inset 0 1px rgba(255,255,255,.05);
}
.pricing-page .product-pricing-group::before,
.product-plan-section .plan-compare-table::before,
.journal-compare-section .plan-compare-table::before{
  content:"";
  position:absolute;
  inset:0;
  z-index:-1;
  border-radius:inherit;
  padding:1px;
  background:linear-gradient(125deg, rgba(197,154,69,.55), rgba(24,77,69,.18), transparent 58%, rgba(255,255,255,.12));
  -webkit-mask:linear-gradient(#000 0 0) content-box,linear-gradient(#000 0 0);
  -webkit-mask-composite:xor;
  mask-composite:exclude;
}
.pricing-page .product-pricing-group:hover,
.product-plan-section .plan-compare-table:hover,
.journal-compare-section .plan-compare-table:hover{
  transform:translateY(-2px);
  box-shadow:0 30px 90px rgba(0,0,0,.22),0 0 0 1px rgba(197,154,69,.10);
}
.plan-compare-table thead th{
  position:sticky;
  top:0;
  z-index:1;
}
.plan-compare-table td,
.plan-compare-table th{
  transition:background .18s var(--vx-ease), color .18s var(--vx-ease);
}
.plan-compare-table tbody tr:hover td,
.plan-compare-table tbody tr:hover th{
  background:rgba(197,154,69,.08);
}

.story-copy h1.flip-fade-ready{
  perspective:900px;
}
.story-copy h1.flip-fade-ready .flip-word{
  display:inline-block;
  transform-origin:50% 80%;
  opacity:0;
  animation:tupFlipFade .68s var(--vx-ease) forwards;
  animation-delay:calc(var(--i,0) * 42ms);
  will-change:transform,opacity,filter;
}
.product-story-grid article,
.product-outcome-panel,
.feature-accordion-item,
.clean-info-page .info-pillars article,
.clean-info-page .info-detail-grid article,
.account-quick-card,
.admin-grid article,
.faq-accordion details,
.faq-item{
  position:relative;
  isolation:isolate;
  overflow:hidden;
}
.product-story-grid article::after,
.product-outcome-panel::after,
.feature-accordion-item::after,
.clean-info-page .info-pillars article::after,
.clean-info-page .info-detail-grid article::after,
.account-quick-card::after,
.admin-grid article::after,
.faq-accordion details::after,
.faq-item::after{
  content:"";
  position:absolute;
  inset:0;
  z-index:-1;
  opacity:0;
  transition:opacity .2s var(--vx-ease);
  background:radial-gradient(220px circle at var(--card-x,50%) var(--card-y,50%), rgba(197,154,69,.18), transparent 58%);
}
.product-story-grid article:hover::after,
.product-outcome-panel:hover::after,
.feature-accordion-item:hover::after,
.clean-info-page .info-pillars article:hover::after,
.clean-info-page .info-detail-grid article:hover::after,
.account-quick-card:hover::after,
.admin-grid article:hover::after,
.faq-accordion details:hover::after,
.faq-item:hover::after{
  opacity:1;
}

.account-v2-quick-grid,
.admin-grid{
  grid-auto-flow:dense;
}
.account-quick-card:nth-child(1),
.admin-grid article:nth-child(1){
  grid-column:span 2;
}
.account-quick-card:nth-child(2),
.admin-grid article:nth-child(4){
  grid-row:span 2;
}
.account-quick-card:hover,
.admin-grid article:hover{
  transform:translateY(-4px);
  border-color:rgba(197,154,69,.36)!important;
}
.admin-grid article{
  min-height:180px;
  display:flex;
  flex-direction:column;
  justify-content:space-between;
  transition:transform .22s var(--vx-ease), border-color .22s var(--vx-ease), box-shadow .22s var(--vx-ease);
}

.launch-path-line{
  perspective:1000px;
}
.launch-path-line a{
  transform-style:preserve-3d;
  transition:transform .24s var(--vx-ease), box-shadow .24s var(--vx-ease), border-color .24s var(--vx-ease);
}
.launch-path-line a::after{
  content:"";
  position:absolute;
  inset:8px;
  z-index:-1;
  border-radius:inherit;
  border:1px solid rgba(197,154,69,.12);
  transform:translate3d(-10px,10px,-18px);
  opacity:.72;
}
.launch-path-line a:hover{
  transform:translateY(-4px) rotateX(4deg) rotateY(-3deg);
}

.faq-accordion details{
  transition:border-color .2s var(--vx-ease), background .2s var(--vx-ease), transform .2s var(--vx-ease);
}
.faq-accordion details:hover{
  transform:translateY(-1px);
}
.faq-accordion summary{
  cursor:pointer;
  list-style:none;
  min-height:48px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:1rem;
}
.faq-accordion summary::-webkit-details-marker{display:none}
.faq-accordion summary::after{
  content:"+";
  flex:0 0 auto;
  display:grid;
  place-items:center;
  width:30px;
  height:30px;
  border-radius:999px;
  border:1px solid rgba(197,154,69,.28);
  color:var(--vx-gold);
  transition:transform .2s var(--vx-ease), background .2s var(--vx-ease);
}
.faq-accordion details[open] summary::after{
  content:"-";
  transform:rotate(180deg);
  background:rgba(197,154,69,.12);
}

.reference-footer.site-footer{
  position:relative;
  isolation:isolate;
  overflow:hidden;
}
.reference-footer.site-footer::before{
  content:"T U P T R A D E R";
  position:absolute;
  inset:auto 2rem 1.2rem auto;
  z-index:0;
  font:900 clamp(2.2rem,8vw,8rem)/1 var(--font-ui);
  letter-spacing:.18em;
  color:rgba(197,154,69,.07);
  pointer-events:none;
  white-space:nowrap;
}
.reference-footer.site-footer>*{
  position:relative;
  z-index:1;
}
.reference-footer h2{
  position:relative;
  display:inline-block;
}
.reference-footer h2:hover{
  animation:tupFooterGlitch .42s steps(2,end);
}
.reference-footer .footer-social a{
  position:relative;
  display:inline-grid;
  place-items:center;
  min-width:72px;
  min-height:44px;
  transform-style:preserve-3d;
  transition:transform .24s var(--vx-ease), box-shadow .24s var(--vx-ease);
}
.reference-footer .footer-social a::after{
  content:attr(aria-label);
  position:absolute;
  inset:0;
  display:grid;
  place-items:center;
  border-radius:inherit;
  background:#1b1a16;
  color:#fff5dd;
  transform:rotateX(90deg) translateY(50%);
  transform-origin:bottom;
  backface-visibility:hidden;
  font-size:.78rem;
}
.reference-footer .footer-social a:hover{
  transform:rotateX(-84deg) translateY(-2px);
}

html[data-theme="light"] .site-header .primary-nav{
  background:
    radial-gradient(180px circle at var(--nav-x,50%) var(--nav-y,50%), rgba(197,154,69,.15), transparent 48%),
    rgba(255,252,246,.7);
}
html[data-theme="light"] .pricing-page .product-pricing-group,
html[data-theme="light"] .product-plan-section .plan-compare-table,
html[data-theme="light"] .journal-compare-section .plan-compare-table{
  background:
    radial-gradient(460px circle at var(--card-x,50%) var(--card-y,18%), rgba(197,154,69,.16), transparent 48%),
    linear-gradient(145deg,rgba(255,253,247,.96),rgba(241,232,216,.90))!important;
  color:#28231a!important;
}
html[data-theme="light"] .reference-footer .footer-social a::after{
  background:#2b2924;
  color:#fff9f0;
}
html[data-theme="light"] .reference-footer.site-footer::before{
  color:rgba(83,66,33,.08);
}

@media(max-width:980px){
  .account-quick-card:nth-child(1),
  .admin-grid article:nth-child(1),
  .account-quick-card:nth-child(2),
  .admin-grid article:nth-child(4){
    grid-column:auto!important;
    grid-row:auto!important;
  }
  .site-header::after,
  .home-hero-refined::before,
  .home .trading-hero::before,
  .page-hero::before,
  .product-storyline::after{
    opacity:.55;
  }
}
@media(prefers-reduced-motion:reduce){
  .site-header::after,
  .home-hero-refined::before,
  .home .trading-hero::before,
  .page-hero::before,
  .product-storyline::after,
  .story-copy h1.flip-fade-ready .flip-word{
    animation:none!important;
  }
  .story-copy h1.flip-fade-ready .flip-word{
    opacity:1!important;
    transform:none!important;
    filter:none!important;
  }
}

/* Vengeance exact adaptation v2 */
@keyframes vxBorderSpin{
  to{transform:rotate(1turn)}
}
@keyframes vxRaySlide{
  0%{transform:translateX(-16%) rotate(-10deg);opacity:.22}
  50%{transform:translateX(12%) rotate(7deg);opacity:.48}
  100%{transform:translateX(-16%) rotate(-10deg);opacity:.22}
}
@keyframes vxFlipIn{
  0%{opacity:0;transform:rotateX(90deg) translateY(12px);filter:blur(8px)}
  100%{opacity:1;transform:rotateX(0) translateY(0);filter:blur(0)}
}
@keyframes vxAsciiNoise{
  0%,100%{clip-path:inset(0 0 0 0);transform:translate(0)}
  25%{clip-path:inset(18% 0 48% 0);transform:translate(1px,-1px)}
  50%{clip-path:inset(58% 0 12% 0);transform:translate(-1px,1px)}
  75%{clip-path:inset(34% 0 28% 0);transform:translate(1px,1px)}
}

.vx-generate-button{
  --btn-radius:999px;
  position:relative!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:.52rem!important;
  border-radius:var(--btn-radius)!important;
  overflow:hidden!important;
  isolation:isolate!important;
  transform:translateZ(0);
}
.vx-generate-button::after{
  content:"";
  position:absolute;
  inset:-220% -40%;
  z-index:-2;
  background:conic-gradient(from 0deg, transparent 0 18%, rgba(197,154,69,.88) 21%, transparent 26% 48%, rgba(24,77,69,.7) 52%, transparent 58% 100%);
  opacity:0;
  transition:opacity .24s var(--vx-ease);
  animation:vxBorderSpin 2.4s linear infinite paused;
}
.vx-generate-button::before{
  z-index:-1!important;
}
.vx-generate-button:hover::after,
.vx-generate-button:focus-visible::after{
  opacity:.78;
  animation-play-state:running;
}
.vx-generate-button .vx-letter{
  display:inline-block;
  transform:translateY(0);
  transition:transform .28s var(--vx-ease), opacity .28s var(--vx-ease);
  transition-delay:calc(var(--i,0) * 18ms);
}
.vx-generate-button:hover .vx-letter{
  transform:translateY(-115%) rotateX(85deg);
  opacity:.18;
}
.vx-generate-button .vx-letter-clone{
  position:absolute;
  inset:0;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:.02em;
  pointer-events:none;
}
.vx-generate-button .vx-letter-clone span{
  display:inline-block;
  transform:translateY(120%) rotateX(-85deg);
  opacity:0;
  transition:transform .28s var(--vx-ease), opacity .28s var(--vx-ease);
  transition-delay:calc(var(--i,0) * 18ms);
}
.vx-generate-button:hover .vx-letter-clone span{
  transform:translateY(0) rotateX(0);
  opacity:1;
}

.site-header .primary-nav{
  border:1px solid rgba(197,154,69,.18);
  box-shadow:inset 0 1px rgba(255,255,255,.06),0 16px 44px rgba(0,0,0,.12);
}
.site-header .primary-nav::before{
  content:"";
  position:absolute;
  inset:0;
  border-radius:inherit;
  pointer-events:none;
  background:radial-gradient(220px circle at var(--nav-x,50%) var(--nav-y,50%), rgba(255,244,204,.18), transparent 55%);
  opacity:.9;
}
.site-header .nav-group{
  position:relative;
}
.site-header .nav-group>button::after{
  content:"";
  position:absolute;
  inset:auto 16px 6px;
  height:1px;
  background:linear-gradient(90deg, transparent, rgba(197,154,69,.76), transparent);
  transform:scaleX(0);
  transform-origin:center;
  transition:transform .24s var(--vx-ease);
}
.site-header .nav-group:hover>button::after,
.site-header .nav-group:focus-within>button::after{
  transform:scaleX(1);
}

.home-hero-refined::after,
.home .trading-hero::after,
.page-hero::after,
.product-storyline::before{
  content:"";
  position:absolute;
  inset:-18% -22%;
  z-index:0;
  pointer-events:none;
  background:
    repeating-linear-gradient(100deg, transparent 0 40px, rgba(197,154,69,.055) 42px 44px, transparent 46px 92px),
    linear-gradient(100deg, transparent, rgba(255,244,210,.08), transparent);
  mask-image:radial-gradient(ellipse at center, #000 0 58%, transparent 76%);
  animation:vxRaySlide 18s var(--vx-ease) infinite;
}

.pricing-page .product-pricing-group{
  display:grid!important;
  grid-template-columns:minmax(240px,.62fr) minmax(0,1.38fr)!important;
  align-items:stretch!important;
  min-height:360px;
  padding:0!important;
  margin-inline:auto;
  max-width:1180px;
}
.pricing-page .product-pricing-group>.section-lead{
  padding:clamp(1.1rem,2.4vw,2rem)!important;
  align-content:center;
  border-inline-end:1px solid rgba(197,154,69,.14);
  background:
    radial-gradient(circle at 20% 12%, rgba(197,154,69,.18), transparent 16rem),
    linear-gradient(180deg, rgba(255,255,255,.04), transparent);
}
.pricing-page .product-pricing-group>.section-lead h2{
  font-size:clamp(1.8rem,3.3vw,3.4rem)!important;
}
.pricing-page .product-pricing-table{
  border:0!important;
  border-radius:0!important;
  box-shadow:none!important;
  background:transparent!important;
  overflow:auto;
  align-self:stretch;
}
.pricing-page .product-pricing-table::before{
  display:none!important;
}
.pricing-page .plan-actions a{
  width:100%;
  justify-content:center;
}
.pricing-page .product-pricing-table table{
  min-width:720px;
}
.pricing-page .product-pricing-table thead th{
  background:rgba(197,154,69,.08)!important;
}
.pricing-page .product-pricing-table td,
.pricing-page .product-pricing-table th{
  padding:1rem .9rem!important;
}

.admin-shell{
  background:linear-gradient(145deg,rgba(33,31,27,.96),rgba(17,18,15,.94))!important;
  border-color:rgba(197,154,69,.20)!important;
  box-shadow:0 30px 90px rgba(0,0,0,.28), inset 0 1px rgba(255,255,255,.07)!important;
}
.admin-head h1,
.admin-grid h2,
.admin-stats strong{
  color:#fff4d8!important;
}
.admin-head p,
.admin-grid p,
.admin-stats span{
  color:#d8ccb4!important;
}
.admin-stats article{
  background:linear-gradient(145deg,rgba(255,248,226,.08),rgba(255,248,226,.035))!important;
  border-color:rgba(197,154,69,.16)!important;
}

.vx-cursor-card{
  transform:perspective(900px) rotateX(var(--rx,0deg)) rotateY(var(--ry,0deg)) translateZ(0);
  transition:transform .14s var(--vx-ease), border-color .18s var(--vx-ease), box-shadow .18s var(--vx-ease);
}
.vx-cursor-card:hover{
  box-shadow:0 24px 70px rgba(0,0,0,.20),0 0 0 1px rgba(197,154,69,.18);
}

.account-v2-quick-grid,
.admin-grid{
  grid-template-columns:repeat(12,minmax(0,1fr))!important;
  gap:1rem!important;
}
.account-quick-card,
.admin-grid article{
  grid-column:span 3!important;
  min-height:190px!important;
  border-radius:26px!important;
  padding:1.1rem!important;
  overflow:hidden!important;
}
.account-quick-card:nth-child(1),
.admin-grid article:nth-child(1){
  grid-column:span 6!important;
  grid-row:span 2!important;
  min-height:390px!important;
}
.account-quick-card:nth-child(2),
.admin-grid article:nth-child(2){
  grid-column:span 3!important;
  grid-row:span 2!important;
  min-height:390px!important;
}
.account-quick-card:nth-child(3),
.admin-grid article:nth-child(3){
  grid-column:span 3!important;
}
.account-quick-card::before,
.admin-grid article::before{
  content:"";
  position:absolute;
  inset:12px;
  border-radius:20px;
  pointer-events:none;
  background:
    radial-gradient(circle at 80% 18%, rgba(197,154,69,.24), transparent 4.5rem),
    repeating-linear-gradient(135deg, rgba(255,255,255,.08) 0 1px, transparent 1px 18px);
  opacity:.42;
}
.account-quick-card i,
.admin-grid .tool-icon{
  position:relative;
  z-index:1;
  display:grid!important;
  place-items:center;
  width:54px!important;
  height:54px!important;
  border-radius:18px;
  background:rgba(197,154,69,.12);
  border:1px solid rgba(197,154,69,.18);
}

.launch-path-line{
  display:flex!important;
  flex-direction:column!important;
  align-items:stretch!important;
}
.launch-path-line a{
  min-height:104px;
  margin-top:-10px;
}
.launch-path-line a:first-child{margin-top:0}
.launch-path-line a:hover{
  z-index:4;
  transform:translateX(-10px) scale(1.02)!important;
}

.faq-accordion{
  display:grid;
  gap:.75rem;
}
.faq-accordion details{
  border-radius:18px!important;
  border-inline-start:3px solid rgba(197,154,69,.45)!important;
}
.faq-accordion details[open]{
  border-inline-start-color:#c59a45!important;
  background:linear-gradient(135deg, rgba(197,154,69,.12), rgba(24,77,69,.08))!important;
}
.faq-accordion details>*:not(summary){
  animation:vxFlipIn .28s var(--vx-ease);
}

.reference-footer .footer-social div{
  display:flex!important;
  flex-wrap:wrap;
  gap:.55rem!important;
}
.vx-social-word{
  display:flex;
  gap:.24rem;
  flex-wrap:wrap;
  margin:.3rem 0 .7rem;
  perspective:900px;
  direction:ltr;
  justify-content:center;
}
.vx-social-letter{
  position:relative;
  display:grid;
  place-items:center;
  width:42px;
  height:42px;
  border-radius:12px;
  border:1px solid rgba(197,154,69,.24);
  background:rgba(255,255,255,.045);
  color:#f7ead0;
  font-weight:950;
  text-decoration:none;
  transform-style:preserve-3d;
  transition:transform .26s var(--vx-ease), background .26s var(--vx-ease);
}
.reference-footer .footer-social div.vx-social-word{
  direction:ltr;
  justify-content:center;
}
.reference-footer .footer-social div.vx-social-word .vx-social-letter{
  min-width:42px;
}

.logout-link{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:42px;
  padding:.65rem .9rem;
  border:1px solid rgba(197,154,69,.28);
  border-radius:999px;
  background:rgba(255,255,255,.08);
  color:var(--text);
  text-decoration:none;
  font-weight:850;
  white-space:nowrap;
}
.logout-link:hover{
  border-color:rgba(197,154,69,.52);
  background:rgba(197,154,69,.12);
}
.account-hero-actions{
  display:flex;
  align-items:center;
  gap:.7rem;
  margin-top:1rem;
}
.account-profile-progress{
  display:grid;
  grid-template-columns:auto minmax(120px,1fr) auto;
  align-items:center;
  gap:.75rem 1rem;
  margin:1rem 0 1.15rem;
  padding:1rem 1.15rem;
  border:1px solid rgba(197,154,69,.22);
  border-radius:18px;
  background:linear-gradient(135deg,rgba(255,255,255,.08),rgba(197,154,69,.07));
  color:var(--text);
  text-decoration:none;
  box-shadow:0 18px 46px rgba(0,0,0,.12);
}
.account-profile-progress span{
  font-weight:900;
}
.account-profile-progress strong{
  justify-self:end;
  color:var(--gold);
  font-size:1.15rem;
}
.account-profile-progress i{
  grid-column:1 / -1;
  display:block;
  height:9px;
  overflow:hidden;
  border-radius:999px;
  background:rgba(255,255,255,.12);
  box-shadow:inset 0 0 0 1px rgba(197,154,69,.12);
}
.account-profile-progress i b{
  display:block;
  width:var(--progress);
  height:100%;
  border-radius:inherit;
  background:linear-gradient(90deg,#265f5a,#c59a45);
  box-shadow:0 0 24px rgba(197,154,69,.28);
}
.account-profile-progress small{
  grid-column:1 / -1;
  color:var(--muted);
}
.account-profile-progress:hover{
  transform:translateY(-1px);
  border-color:rgba(197,154,69,.44);
}
html[data-theme="light"] .logout-link{
  background:#fffaf0;
  color:#173f3b;
  border-color:rgba(84,68,42,.18);
}
html[data-theme="light"] .account-profile-progress{
  background:linear-gradient(135deg,#fffdf7,#efe5d4);
  border-color:rgba(84,68,42,.16);
  color:#2b261e;
  box-shadow:0 16px 38px rgba(84,68,42,.08);
}
html[data-theme="light"] .account-profile-progress i{
  background:rgba(84,68,42,.10);
}
.vx-social-letter::after{
  content:attr(data-label);
  position:absolute;
  inset:0;
  display:grid;
  place-items:center;
  border-radius:inherit;
  background:#c59a45;
  color:#17130e;
  transform:rotateX(90deg);
  transform-origin:bottom;
  backface-visibility:hidden;
}
.vx-social-letter:hover{
  transform:rotateX(-90deg);
}
.reference-footer .footer-column a{
  position:relative;
}
.reference-footer .footer-column a::before{
  content:"///";
  position:absolute;
  inset-inline-start:-1.2rem;
  color:rgba(197,154,69,.0);
  transition:color .16s var(--vx-ease), transform .16s var(--vx-ease);
}
.reference-footer .footer-column a:hover::before{
  color:rgba(197,154,69,.75);
  transform:translateX(-2px);
  animation:vxAsciiNoise .28s steps(2,end);
}

html[data-theme="light"] .vx-social-letter{
  background:rgba(255,252,246,.92);
  color:#254f48;
  border-color:rgba(85,72,48,.18);
}
html[data-theme="light"] .vx-social-letter::after{
  background:#2b2924;
  color:#fff9f0;
}
html[data-theme="light"] .pricing-page .product-pricing-group>.section-lead{
  background:
    radial-gradient(circle at 20% 12%, rgba(197,154,69,.16), transparent 16rem),
    linear-gradient(180deg, rgba(255,255,255,.64), transparent);
  border-inline-end-color:rgba(85,72,48,.14);
}
html[data-theme="light"] .account-quick-card::before,
html[data-theme="light"] .admin-grid article::before{
  background:
    radial-gradient(circle at 80% 18%, rgba(197,154,69,.18), transparent 4.5rem),
    repeating-linear-gradient(135deg, rgba(82,67,39,.065) 0 1px, transparent 1px 18px);
}
html[data-theme="light"] .admin-shell{
  background:linear-gradient(145deg,rgba(255,252,245,.96),rgba(238,229,212,.92))!important;
  border-color:rgba(85,72,48,.16)!important;
  box-shadow:0 24px 72px rgba(74,58,38,.12)!important;
}

/* Footer social clarity: TUPTRADER letters reveal their network without broken 3D flips. */
.reference-footer .footer-social h2{
  white-space:nowrap;
}
.reference-footer .footer-social div.vx-social-word{
  display:grid!important;
  grid-template-columns:repeat(9,minmax(54px,1fr));
  gap:.62rem!important;
  width:100%;
  direction:ltr;
  align-items:center;
  justify-content:stretch;
}
.reference-footer .footer-social div.vx-social-word .vx-social-letter{
  width:100%!important;
  min-width:54px!important;
  height:48px!important;
  border-radius:999px!important;
  overflow:hidden;
  transform:none!important;
  transition:background .2s var(--vx-ease), border-color .2s var(--vx-ease), box-shadow .2s var(--vx-ease), color .2s var(--vx-ease)!important;
}
.vx-social-front,
.vx-social-back{
  position:absolute;
  inset:0;
  display:grid;
  place-items:center;
  transition:opacity .2s var(--vx-ease), transform .2s var(--vx-ease);
  backface-visibility:hidden;
}
.vx-social-front{
  opacity:1;
  transform:translateY(0);
  font-size:.95rem;
}
.vx-social-back{
  opacity:0;
  transform:translateY(10px);
  padding-inline:.45rem;
  font-size:.72rem;
  line-height:1.1;
  white-space:nowrap;
}
.vx-social-letter::after{
  display:none!important;
}
.vx-social-letter:hover,
.vx-social-letter:focus-visible{
  transform:none!important;
  background:linear-gradient(135deg,#c59a45,#f1d391)!important;
  border-color:rgba(255,236,181,.72)!important;
  color:#17130e!important;
  box-shadow:0 14px 30px rgba(197,154,69,.18);
  outline:none;
}
.vx-social-letter:hover .vx-social-front,
.vx-social-letter:focus-visible .vx-social-front{
  opacity:0;
  transform:translateY(-10px);
}
.vx-social-letter:hover .vx-social-back,
.vx-social-letter:focus-visible .vx-social-back{
  opacity:1;
  transform:translateY(0);
}
html[data-theme="light"] .vx-social-letter:hover,
html[data-theme="light"] .vx-social-letter:focus-visible{
  background:linear-gradient(135deg,#2b2924,#4d473b)!important;
  color:#fff9f0!important;
  border-color:rgba(43,41,36,.32)!important;
}
@media(max-width:760px){
  .reference-footer .footer-social div.vx-social-word{
    grid-template-columns:repeat(3,minmax(0,1fr));
  }
  .reference-footer .footer-social h2{
    white-space:normal;
  }
}

/* Academy overview: real entry page before the chapter tree. */
.academy-home-hero{
  max-width:1040px!important;
  text-align:center;
  padding-bottom:clamp(1.6rem,4vw,2.6rem)!important;
}
.academy-home-hero h1{
  max-width:980px;
  margin-inline:auto;
}
.academy-home-hero p{
  max-width:760px;
  margin-inline:auto;
}
.academy-home-hero .actions{
  justify-content:center;
}
.academy-home-intro{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:1rem;
  max-width:1160px;
  padding-top:0!important;
}
.academy-home-intro article{
  position:relative;
  min-height:190px;
  padding:1.25rem;
  border:1px solid rgba(207,190,156,.20);
  border-radius:20px;
  background:
    radial-gradient(circle at 88% 12%,rgba(197,154,69,.16),transparent 5.5rem),
    linear-gradient(145deg,rgba(32,31,27,.94),rgba(22,24,21,.9));
  box-shadow:0 22px 64px rgba(0,0,0,.15);
}
.academy-home-intro span{
  display:inline-grid;
  place-items:center;
  width:42px;
  height:42px;
  border-radius:999px;
  border:1px solid rgba(197,154,69,.26);
  color:#c8a95e;
  font-weight:950;
}
.academy-home-intro strong{
  display:block;
  margin:.9rem 0 .45rem;
  color:#fff5dd;
  font-size:1.15rem;
}
.academy-home-intro p{
  margin:0;
  color:#d4c8af;
  line-height:1.85;
}
html[data-theme="light"] .academy-home-intro article{
  background:
    radial-gradient(circle at 88% 12%,rgba(197,154,69,.14),transparent 5.5rem),
    linear-gradient(145deg,rgba(255,253,247,.96),rgba(242,234,219,.92))!important;
  border-color:rgba(79,67,45,.16)!important;
  box-shadow:0 20px 56px rgba(70,56,28,.10)!important;
}
html[data-theme="light"] .academy-home-intro strong{
  color:#27231c!important;
}
html[data-theme="light"] .academy-home-intro p{
  color:#5d5547!important;
}
@media(max-width:860px){
  .academy-home-intro{
    grid-template-columns:1fr;
  }
}
html[data-theme="light"] .admin-head h1,
html[data-theme="light"] .admin-grid h2,
html[data-theme="light"] .admin-stats strong{
  color:#27231c!important;
}
html[data-theme="light"] .admin-head p,
html[data-theme="light"] .admin-grid p,
html[data-theme="light"] .admin-stats span{
  color:#5f5547!important;
}

@media(max-width:980px){
  .pricing-page .product-pricing-group{
    grid-template-columns:1fr!important;
  }
  .pricing-page .product-pricing-group>.section-lead{
    border-inline-end:0;
    border-bottom:1px solid rgba(197,154,69,.14);
  }
  .account-v2-quick-grid,
  .admin-grid{
    grid-template-columns:1fr!important;
  }
  .account-quick-card,
  .admin-grid article,
  .account-quick-card:nth-child(1),
  .admin-grid article:nth-child(1),
  .account-quick-card:nth-child(2),
  .admin-grid article:nth-child(2),
  .account-quick-card:nth-child(3),
  .admin-grid article:nth-child(3){
    grid-column:auto!important;
    grid-row:auto!important;
    min-height:160px!important;
  }
}

/* Product story repair: full-background motion, no sound control, clean planet orbit */
.product-storyline{
  min-height:calc(112vh - 76px)!important;
  grid-template-columns:minmax(320px,.9fr) minmax(340px,.82fr)!important;
  grid-template-areas:
    "copy steps"
    "note steps"!important;
  padding-top:clamp(6.5rem,11vw,9.5rem)!important;
  overflow:hidden!important;
  background:
    radial-gradient(circle at 18% 12%, rgba(197,154,69,.12), transparent 18rem),
    radial-gradient(circle at 78% 18%, rgba(111,130,102,.13), transparent 22rem),
    linear-gradient(145deg, #15140f 0%, #242217 48%, #111410 100%)!important;
}
.product-storyline::before{
  z-index:0!important;
  inset:-28% -18%!important;
  background:
    repeating-linear-gradient(104deg, transparent 0 54px, rgba(197,154,69,.075) 55px 57px, transparent 58px 118px),
    radial-gradient(ellipse at 62% 42%, rgba(255,241,191,.12), transparent 32%),
    linear-gradient(110deg, transparent 0 20%, rgba(111,130,102,.10) 44%, rgba(197,154,69,.10) 58%, transparent 78%)!important;
  filter:blur(.1px);
  opacity:.86;
}
.product-storyline::after{
  z-index:0!important;
  inset:0!important;
  background:
    radial-gradient(circle at 68% 42%, transparent 0 22%, rgba(15,14,10,.28) 42%, rgba(15,14,10,.78) 100%),
    linear-gradient(90deg, rgba(13,13,10,.94), rgba(13,13,10,.52) 46%, rgba(13,13,10,.84))!important;
  animation:none!important;
  mix-blend-mode:normal!important;
}
.story-visual-stage{
  z-index:1!important;
  background:transparent!important;
  opacity:.94;
}
.story-visual-stage::after{
  background:
    radial-gradient(circle at 62% 44%, transparent 0 20%, rgba(18,17,12,.30) 42%, rgba(18,17,12,.86) 100%),
    linear-gradient(90deg,rgba(18,17,12,.88) 0%,rgba(18,17,12,.42) 34%,rgba(18,17,12,.08) 58%,rgba(18,17,12,.64) 100%)!important;
}
.story-webgl{
  opacity:.78;
  filter:saturate(.98) contrast(1.05);
}
.story-prism-backdrop{
  display:none;
}
.product-storyline[data-product="prism"] .story-prism-backdrop{
  position:absolute;
  inset:0;
  z-index:4;
  display:block;
  pointer-events:none;
  opacity:.92;
}
.product-storyline[data-product="prism"] .story-prism-backdrop b{
  position:absolute;
  top:clamp(7.5rem,20vh,12rem);
  left:clamp(43%,48vw,53%);
  width:clamp(160px,20vw,300px);
  aspect-ratio:.72;
  clip-path:polygon(50% 0,100% 86%,50% 100%,0 86%);
  background:
    linear-gradient(115deg, rgba(255,255,255,.82), rgba(255,255,255,.08) 24%, rgba(216,180,95,.36) 48%, rgba(111,130,102,.2) 74%, rgba(255,255,255,.42)),
    radial-gradient(circle at 50% 18%, rgba(255,246,213,.98), transparent 20%),
    linear-gradient(180deg, rgba(255,246,213,.2), rgba(255,255,255,.05));
  box-shadow:0 0 54px rgba(216,180,95,.34), inset 0 0 30px rgba(255,255,255,.2);
}
.product-storyline[data-product="prism"] .story-prism-backdrop i{
  position:absolute;
  top:clamp(14rem,35vh,20rem);
  left:clamp(52%,56vw,60%);
  width:clamp(280px,34vw,560px);
  height:clamp(10px,1.3vw,18px);
  border-radius:999px;
  transform-origin:left center;
  filter:blur(.35px);
  mix-blend-mode:screen;
}
.product-storyline[data-product="prism"] .story-prism-backdrop i:nth-child(1){transform:rotate(-18deg);background:linear-gradient(90deg,rgba(232,66,58,.92),rgba(232,66,58,.12),transparent)}
.product-storyline[data-product="prism"] .story-prism-backdrop i:nth-child(2){transform:rotate(-9deg);background:linear-gradient(90deg,rgba(226,176,72,.94),rgba(226,176,72,.12),transparent)}
.product-storyline[data-product="prism"] .story-prism-backdrop i:nth-child(3){transform:rotate(0deg);background:linear-gradient(90deg,rgba(255,244,210,.98),rgba(255,244,210,.14),transparent)}
.product-storyline[data-product="prism"] .story-prism-backdrop i:nth-child(4){transform:rotate(9deg);background:linear-gradient(90deg,rgba(111,130,102,.92),rgba(111,130,102,.12),transparent)}
.product-storyline[data-product="prism"] .story-prism-backdrop i:nth-child(5){transform:rotate(18deg);background:linear-gradient(90deg,rgba(88,146,176,.86),rgba(88,146,176,.10),transparent)}
.product-storyline .story-copy h1.flip-fade-ready .flip-word{
  animation:none!important;
  opacity:1!important;
  transform:none!important;
  filter:none!important;
}
.product-storyline[data-product="prism"] .story-visual-stage{
  background:
    linear-gradient(7deg, transparent 0 47%, rgba(230,66,58,.42) 48% 50%, transparent 51% 100%),
    linear-gradient(1deg, transparent 0 47%, rgba(226,176,72,.52) 48% 51%, transparent 52% 100%),
    linear-gradient(-5deg, transparent 0 47%, rgba(255,244,210,.58) 48% 51%, transparent 52% 100%),
    linear-gradient(-11deg, transparent 0 47%, rgba(111,130,102,.50) 48% 51%, transparent 52% 100%),
    linear-gradient(-17deg, transparent 0 47%, rgba(88,146,176,.38) 48% 50%, transparent 51% 100%),
    radial-gradient(circle at 57% 44%, rgba(255,238,188,.18), transparent 18rem),
    radial-gradient(circle at 18% 50%, rgba(255,244,210,.12), transparent 24rem)!important;
  background-size:58% 100%,58% 100%,58% 100%,58% 100%,58% 100%,100% 100%,100% 100%!important;
  background-position:54% 44%,54% 44%,54% 44%,54% 44%,54% 44%,center,center!important;
  background-repeat:no-repeat!important;
}
.product-storyline[data-product="prism"] .story-visual-stage::before{
  content:"";
  position:absolute;
  z-index:4;
  top:clamp(7rem,18vh,12rem);
  left:clamp(34%,46vw,52%);
  width:clamp(150px,19vw,280px);
  aspect-ratio:.72;
  clip-path:polygon(50% 0,100% 86%,50% 100%,0 86%);
  background:
    linear-gradient(115deg, rgba(255,255,255,.72), rgba(255,255,255,.06) 24%, rgba(216,180,95,.32) 48%, rgba(111,130,102,.18) 74%, rgba(255,255,255,.36)),
    radial-gradient(circle at 50% 18%, rgba(255,246,213,.9), transparent 20%),
    linear-gradient(180deg, rgba(255,246,213,.18), rgba(255,255,255,.04));
  border:1px solid rgba(255,244,210,.55);
  box-shadow:
    0 0 46px rgba(216,180,95,.28),
    inset 0 0 28px rgba(255,255,255,.18);
  opacity:.82;
  transform:rotate(0deg);
  pointer-events:none;
}
.product-storyline[data-product="prism"] .story-visual-stage::after{
  z-index:2!important;
  background:
    radial-gradient(circle at 48% 40%, transparent 0 16%, rgba(18,17,12,.12) 34%, rgba(18,17,12,.56) 100%),
    linear-gradient(90deg,rgba(18,17,12,.78) 0%,rgba(18,17,12,.30) 34%,rgba(18,17,12,.04) 58%,rgba(18,17,12,.50) 100%)!important;
}
.product-storyline[data-product="prism"]::after{
  background:
    radial-gradient(circle at 54% 42%, transparent 0 18%, rgba(15,14,10,.18) 42%, rgba(15,14,10,.66) 100%),
    linear-gradient(90deg, rgba(13,13,10,.82), rgba(13,13,10,.34) 46%, rgba(13,13,10,.70))!important;
}
.product-storyline[data-product="prism"] .story-webgl{
  opacity:.48;
  filter:saturate(1.12) contrast(1.08) blur(.15px);
}
.story-sound-toggle{
  display:none!important;
}
.story-copy,
.story-scroll-sections,
.story-product-note{
  z-index:5!important;
}
.story-copy{
  max-width:760px!important;
}
.story-copy h1{
  text-wrap:balance;
  text-shadow:0 12px 38px rgba(0,0,0,.22);
}
.story-step{
  background:linear-gradient(145deg,rgba(24,23,18,.72),rgba(14,15,12,.58))!important;
  border-color:rgba(224,188,105,.18)!important;
  box-shadow:0 24px 80px rgba(0,0,0,.22), inset 0 1px rgba(255,250,241,.06)!important;
}
.story-orbit-system{
  top:clamp(5.9rem,7.8vw,7.2rem)!important;
  left:clamp(1.2rem,2.6vw,2.5rem)!important;
  right:auto!important;
  z-index:7!important;
  width:108px!important;
  height:108px!important;
  opacity:.94;
  filter:drop-shadow(0 18px 28px rgba(0,0,0,.18));
}
[dir="rtl"] .story-orbit-system{
  left:clamp(1rem,2.2vw,2rem)!important;
  right:auto!important;
}
.story-planet{
  inset:30px!important;
  background:
    radial-gradient(circle at 35% 28%, rgba(255,239,170,.95) 0 8%, transparent 9%),
    radial-gradient(circle at 43% 34%, #245d52 0 30%, #12372f 52%, #071510 100%)!important;
  border:1px solid rgba(227,190,104,.8)!important;
  box-shadow:
    0 0 0 6px rgba(216,180,95,.08),
    0 0 42px rgba(197,154,69,.16),
    inset -12px -14px 24px rgba(0,0,0,.42),
    inset 8px 7px 14px rgba(255,234,168,.08)!important;
}
.product-storyline[data-product="prism"] .story-orbit-system{
  opacity:.62;
  transform:scale(.82);
}
.story-planet::before,
.story-planet::after{
  top:11px!important;
  width:14px!important;
  height:20px!important;
  border-top:3px solid rgba(246,221,142,.96)!important;
}
.story-planet::before{
  left:8px!important;
}
.story-planet::after{
  right:8px!important;
}
.story-planet i{
  display:none!important;
}
.story-orbit-ring{
  inset:9px!important;
  border-color:rgba(216,180,95,.20)!important;
  animation:story-orbit-spin 16s linear infinite!important;
}
.story-orbit-ring b{
  width:28px!important;
  height:28px!important;
  top:-6px!important;
  margin-left:-14px!important;
  background:linear-gradient(145deg,rgba(255,246,212,.92),rgba(197,154,69,.82))!important;
}
.story-orbit-ring svg{
  width:16px!important;
  height:16px!important;
}
html[data-theme="light"] .product-storyline{
  background:
    radial-gradient(circle at 18% 12%, rgba(197,154,69,.13), transparent 18rem),
    radial-gradient(circle at 78% 18%, rgba(111,130,102,.11), transparent 22rem),
    linear-gradient(145deg, #f7f0e3 0%, #e8deca 50%, #f4ead9 100%)!important;
}
html[data-theme="light"] .product-storyline::after{
  background:
    radial-gradient(circle at 68% 42%, transparent 0 22%, rgba(247,240,227,.22) 42%, rgba(247,240,227,.72) 100%),
    linear-gradient(90deg,rgba(247,240,227,.88) 0%,rgba(247,240,227,.44) 34%,rgba(247,240,227,.14) 58%,rgba(247,240,227,.66) 100%)!important;
}
html[data-theme="light"] .story-visual-stage::after{
  background:
    radial-gradient(circle at 62% 44%, transparent 0 20%, rgba(247,240,227,.18) 42%, rgba(247,240,227,.78) 100%),
    linear-gradient(90deg,rgba(247,240,227,.86) 0%,rgba(247,240,227,.36) 34%,rgba(247,240,227,.08) 58%,rgba(247,240,227,.58) 100%)!important;
}
html[data-theme="light"] .story-step{
  background:linear-gradient(145deg,rgba(255,253,247,.76),rgba(240,231,215,.62))!important;
  border-color:rgba(84,68,42,.16)!important;
}
@media(max-width:980px){
  .product-storyline{
    grid-template-columns:1fr!important;
    grid-template-areas:"copy" "note" "steps"!important;
    padding-top:clamp(6.4rem,18vw,8rem)!important;
  }
  .story-orbit-system{
    width:90px!important;
    height:90px!important;
    top:5rem!important;
  }
}

/* Product full-bleed visual law: the product symbol belongs to the background, not a corner. */
.product-storyline{
  min-height:calc(124vh - 76px)!important;
  background:#17150f!important;
}
.story-visual-stage{
  position:absolute!important;
  inset:0!important;
  z-index:1!important;
  min-height:100%!important;
  opacity:1!important;
  overflow:hidden!important;
  pointer-events:none!important;
}
.story-webgl{
  position:absolute!important;
  inset:-8% -10% -8% -10%!important;
  width:120%!important;
  height:116%!important;
  opacity:.82!important;
  filter:saturate(1.04) contrast(1.08)!important;
}
.story-visual-stage::before{
  content:""!important;
  position:absolute!important;
  inset:0!important;
  z-index:1!important;
  pointer-events:none!important;
  opacity:.88!important;
}
.story-visual-stage::after{
  z-index:4!important;
  pointer-events:none!important;
  background:
    linear-gradient(90deg,rgba(18,16,11,.96) 0%,rgba(18,16,11,.78) 27%,rgba(18,16,11,.24) 56%,rgba(18,16,11,.66) 100%),
    linear-gradient(180deg,rgba(18,16,11,.96),transparent 18%,transparent 68%,rgba(18,16,11,.96))!important;
}
.product-storyline .story-copy,
.product-storyline .story-scroll-sections,
.product-storyline .story-product-note,
.product-storyline .story-orbit-system{
  position:relative;
  z-index:8!important;
}
.product-storyline[data-product="prism"] .story-webgl{
  opacity:.56!important;
}
.product-storyline[data-product="prism"] .story-prism-backdrop{
  position:absolute!important;
  inset:0!important;
  z-index:3!important;
  display:block!important;
  opacity:1!important;
}
.product-storyline[data-product="prism"] .story-prism-backdrop b{
  top:50%!important;
  left:58%!important;
  width:clamp(260px,34vw,560px)!important;
  transform:translate(-50%,-50%)!important;
  clip-path:polygon(50% 0,100% 84%,50% 100%,0 84%)!important;
  opacity:.86!important;
}
.product-storyline[data-product="prism"] .story-prism-backdrop i{
  top:50%!important;
  left:61%!important;
  width:clamp(440px,48vw,860px)!important;
  height:clamp(18px,2.1vw,34px)!important;
  filter:blur(.2px) drop-shadow(0 0 16px currentColor)!important;
  opacity:.92!important;
}
.product-storyline[data-product="prism"] .story-prism-backdrop i:nth-child(1){transform:translateY(-72px) rotate(-18deg)!important}
.product-storyline[data-product="prism"] .story-prism-backdrop i:nth-child(2){transform:translateY(-36px) rotate(-9deg)!important}
.product-storyline[data-product="prism"] .story-prism-backdrop i:nth-child(3){transform:translateY(0) rotate(0deg)!important}
.product-storyline[data-product="prism"] .story-prism-backdrop i:nth-child(4){transform:translateY(36px) rotate(9deg)!important}
.product-storyline[data-product="prism"] .story-prism-backdrop i:nth-child(5){transform:translateY(72px) rotate(18deg)!important}
.product-storyline[data-product="replay"] .story-visual-stage::before{
  background:
    radial-gradient(circle at 64% 48%,rgba(216,180,95,.20),transparent 0 13%,rgba(216,180,95,.06) 14% 15%,transparent 16%),
    conic-gradient(from 210deg at 65% 50%,transparent 0 8%,rgba(216,180,95,.24) 8% 12%,transparent 12% 100%),
    radial-gradient(circle at 65% 50%,transparent 0 19%,rgba(143,163,131,.28) 20% 21%,transparent 22% 31%,rgba(216,180,95,.16) 32% 33%,transparent 34%),
    radial-gradient(circle at 72% 42%,rgba(143,163,131,.28),transparent 24rem)!important;
}
.product-storyline[data-product="journal"] .story-visual-stage::before{
  background:
    linear-gradient(112deg,transparent 0 54%,rgba(200,164,110,.18) 55% 56%,transparent 57%),
    repeating-linear-gradient(0deg,transparent 0 34px,rgba(244,234,216,.12) 35px 36px),
    radial-gradient(ellipse at 66% 50%,rgba(200,164,110,.24),transparent 26rem)!important;
}
.product-storyline[data-product="academy"] .story-visual-stage::before{
  background:
    radial-gradient(circle at 68% 36%,rgba(215,195,160,.20),transparent 10rem),
    linear-gradient(140deg,transparent 0 46%,rgba(111,130,102,.18) 47% 48%,transparent 49%),
    linear-gradient(28deg,transparent 0 50%,rgba(216,180,95,.14) 51% 52%,transparent 53%),
    repeating-linear-gradient(90deg,transparent 0 96px,rgba(215,195,160,.06) 97px 98px)!important;
}
.product-storyline[data-product="war-room"] .story-visual-stage::before{
  background:
    radial-gradient(circle at 66% 48%,rgba(36,93,82,.42),transparent 0 18%,rgba(216,180,95,.10) 19% 20%,transparent 21% 34%,rgba(216,180,95,.10) 35% 36%,transparent 37%),
    radial-gradient(circle at 65% 48%,rgba(216,180,95,.22),transparent 28rem)!important;
}
html[data-theme="light"] .product-storyline{
  background:#efe5d4!important;
}
html[data-theme="light"] .story-visual-stage::after{
  background:
    linear-gradient(90deg,rgba(247,240,227,.96) 0%,rgba(247,240,227,.78) 27%,rgba(247,240,227,.22) 56%,rgba(247,240,227,.66) 100%),
    linear-gradient(180deg,rgba(247,240,227,.95),transparent 18%,transparent 68%,rgba(247,240,227,.95))!important;
}
html[data-theme="light"] .story-webgl{
  opacity:.66!important;
  filter:saturate(.96) contrast(1.02)!important;
}
@media(max-width:980px){
  .story-webgl{
    inset:0 -34% 0 -18%!important;
    width:152%!important;
    height:100%!important;
    opacity:.42!important;
  }
  .product-storyline[data-product="prism"] .story-prism-backdrop b{
    left:62%!important;
    width:clamp(210px,58vw,360px)!important;
  }
  .product-storyline[data-product="prism"] .story-prism-backdrop i{
    left:58%!important;
    width:clamp(300px,88vw,540px)!important;
  }
}

/* Product story polish v2: cleaner PRISM composition + visible fixed TupTrader planet. */
.product-storyline .story-orbit-system{
  position:fixed!important;
  top:92px!important;
  left:34px!important;
  right:auto!important;
  z-index:42!important;
  width:132px!important;
  height:132px!important;
  opacity:1!important;
  transform:none!important;
  filter:drop-shadow(0 18px 28px rgba(0,0,0,.26)) drop-shadow(0 0 22px rgba(197,154,69,.16))!important;
}
[dir="rtl"] .product-storyline .story-orbit-system{
  left:34px!important;
  right:auto!important;
}
.product-storyline .story-planet{
  inset:32px!important;
  overflow:hidden;
  background:#071510!important;
  border:1px solid rgba(236,201,123,.92)!important;
  box-shadow:
    0 0 0 7px rgba(216,180,95,.10),
    0 0 42px rgba(216,180,95,.18),
    0 18px 30px rgba(0,0,0,.28)!important;
}
.product-storyline .story-planet::before,
.product-storyline .story-planet::after{
  display:none!important;
}
.product-storyline .story-planet img{
  display:block;
  width:100%;
  height:100%;
  border-radius:50%;
  object-fit:cover;
  filter:drop-shadow(0 4px 8px rgba(0,0,0,.18));
}
.product-storyline .story-orbit-ring{
  inset:8px!important;
  border-color:rgba(236,201,123,.30)!important;
}
.product-storyline .story-orbit-ring b{
  width:32px!important;
  height:32px!important;
  top:-8px!important;
  margin-left:-16px!important;
  box-shadow:0 0 22px rgba(216,180,95,.28)!important;
}
.product-storyline[data-product="prism"] .story-webgl{
  opacity:.18!important;
  filter:saturate(.9) contrast(.95) blur(.2px)!important;
}
.product-storyline[data-product="prism"] .story-visual-stage::before{
  clip-path:none!important;
  top:0!important;
  left:0!important;
  width:auto!important;
  height:auto!important;
  aspect-ratio:auto!important;
  border:0!important;
  box-shadow:none!important;
  opacity:.72!important;
  transform:none!important;
  background:
    radial-gradient(ellipse at 54% 50%,rgba(255,238,188,.15),transparent 24rem),
    linear-gradient(118deg,transparent 0 34%,rgba(255,239,184,.14) 35% 36%,transparent 37%),
    linear-gradient(104deg,transparent 0 49%,rgba(197,154,69,.10) 50% 51%,transparent 52%)!important;
}
.product-storyline[data-product="prism"] .story-prism-backdrop{
  z-index:3!important;
  opacity:.96!important;
}
.product-storyline[data-product="prism"] .story-prism-backdrop b{
  left:56%!important;
  top:51%!important;
  width:clamp(250px,29vw,460px)!important;
  opacity:.72!important;
  border:1px solid rgba(255,244,210,.42)!important;
  background:
    linear-gradient(118deg,rgba(255,255,255,.62),rgba(255,255,255,.08) 25%,rgba(216,180,95,.34) 48%,rgba(111,130,102,.16) 72%,rgba(255,255,255,.36)),
    radial-gradient(circle at 48% 16%,rgba(255,246,213,.74),transparent 18%),
    linear-gradient(180deg,rgba(255,246,213,.14),rgba(255,255,255,.03))!important;
  box-shadow:
    0 0 52px rgba(216,180,95,.24),
    inset 0 0 24px rgba(255,255,255,.12)!important;
}
.product-storyline[data-product="prism"] .story-prism-backdrop i{
  left:57.5%!important;
  top:51%!important;
  width:clamp(430px,44vw,760px)!important;
  height:clamp(15px,1.55vw,25px)!important;
  opacity:.76!important;
  filter:blur(.1px) drop-shadow(0 0 11px rgba(216,180,95,.12))!important;
}
.product-storyline[data-product="prism"] .story-prism-backdrop i:nth-child(1){transform:translateY(-58px) rotate(-16deg)!important}
.product-storyline[data-product="prism"] .story-prism-backdrop i:nth-child(2){transform:translateY(-29px) rotate(-8deg)!important}
.product-storyline[data-product="prism"] .story-prism-backdrop i:nth-child(3){transform:translateY(0) rotate(0deg)!important}
.product-storyline[data-product="prism"] .story-prism-backdrop i:nth-child(4){transform:translateY(29px) rotate(8deg)!important}
.product-storyline[data-product="prism"] .story-prism-backdrop i:nth-child(5){transform:translateY(58px) rotate(16deg)!important}
.product-storyline[data-product="prism"] .story-visual-stage::after{
  background:
    linear-gradient(90deg,rgba(18,16,11,.98) 0%,rgba(18,16,11,.86) 29%,rgba(18,16,11,.34) 55%,rgba(18,16,11,.72) 100%),
    linear-gradient(180deg,rgba(18,16,11,.98),rgba(18,16,11,.20) 24%,rgba(18,16,11,.34) 68%,rgba(18,16,11,.98))!important;
}
.product-storyline[data-product="prism"] .story-copy{
  max-width:680px!important;
}
.product-storyline[data-product="prism"] .story-copy h1{
  text-shadow:0 16px 44px rgba(0,0,0,.42)!important;
}
html[data-theme="light"] .product-storyline .story-orbit-system{
  filter:drop-shadow(0 18px 28px rgba(84,68,42,.18))!important;
}
html[data-theme="light"] .product-storyline[data-product="prism"] .story-visual-stage::after{
  background:
    linear-gradient(90deg,rgba(247,240,227,.98) 0%,rgba(247,240,227,.88) 29%,rgba(247,240,227,.34) 55%,rgba(247,240,227,.72) 100%),
    linear-gradient(180deg,rgba(247,240,227,.98),rgba(247,240,227,.22) 24%,rgba(247,240,227,.34) 68%,rgba(247,240,227,.98))!important;
}
@media(max-width:980px){
  .product-storyline .story-orbit-system{
    position:absolute!important;
    top:5.2rem!important;
    left:1rem!important;
    width:96px!important;
    height:96px!important;
  }
  .product-storyline .story-planet{
    inset:24px!important;
  }
  .product-storyline[data-product="prism"] .story-prism-backdrop b{
    left:60%!important;
    opacity:.52!important;
  }
  .product-storyline[data-product="prism"] .story-prism-backdrop i{
    left:57%!important;
    opacity:.48!important;
  }
}

/* Product visual motion v1: clearer full-background symbols for PRISM, Journal, Replay. */
.product-storyline[data-product="prism"] .story-webgl{
  opacity:.72!important;
  filter:saturate(1.12) contrast(1.08)!important;
}
.product-storyline[data-product="prism"] .story-prism-backdrop b{
  clip-path:polygon(50% 0,92% 100%,8% 100%)!important;
  aspect-ratio:.82!important;
  opacity:.52!important;
  animation:prismBreath 7s ease-in-out infinite!important;
  transform:translate(-50%,-50%) rotate(.001deg)!important;
}
.product-storyline[data-product="prism"] .story-prism-backdrop i{
  border-radius:999px!important;
  transform-origin:left center!important;
  animation:prismRayPulse 5.8s ease-in-out infinite!important;
  opacity:.82!important;
}
.product-storyline[data-product="prism"] .story-prism-backdrop i:nth-child(1){transform:translateY(-66px) rotate(-17deg)!important;animation-delay:-.4s!important}
.product-storyline[data-product="prism"] .story-prism-backdrop i:nth-child(2){transform:translateY(-33px) rotate(-8.5deg)!important;animation-delay:-.9s!important}
.product-storyline[data-product="prism"] .story-prism-backdrop i:nth-child(3){transform:translateY(0) rotate(0deg)!important;animation-delay:-1.4s!important}
.product-storyline[data-product="prism"] .story-prism-backdrop i:nth-child(4){transform:translateY(33px) rotate(8.5deg)!important;animation-delay:-1.9s!important}
.product-storyline[data-product="prism"] .story-prism-backdrop i:nth-child(5){transform:translateY(66px) rotate(17deg)!important;animation-delay:-2.4s!important}
.product-storyline[data-product="journal"] .story-webgl,
.product-storyline[data-product="replay"] .story-webgl{
  opacity:.76!important;
  filter:saturate(1.02) contrast(1.06)!important;
}
.product-storyline[data-product="journal"] .story-visual-stage::before{
  background:
    radial-gradient(ellipse at 63% 50%,rgba(200,164,110,.28),transparent 0 20%,rgba(200,164,110,.08) 21%,transparent 36%),
    radial-gradient(circle at 72% 34%,rgba(244,234,216,.18),transparent 18rem),
    radial-gradient(circle at 57% 63%,rgba(36,79,73,.16),transparent 22rem)!important;
}
.product-storyline[data-product="replay"] .story-visual-stage::before{
  background:
    radial-gradient(circle at 64% 48%,rgba(216,180,95,.22),transparent 0 12%,rgba(143,163,131,.16) 13%,transparent 28%),
    conic-gradient(from 225deg at 64% 48%,transparent 0 11%,rgba(216,180,95,.20) 11% 15%,transparent 15% 100%),
    radial-gradient(circle at 72% 42%,rgba(143,163,131,.24),transparent 24rem)!important;
}
.product-storyline[data-product="journal"] .story-visual-stage::after,
.product-storyline[data-product="replay"] .story-visual-stage::after{
  background:
    linear-gradient(90deg,rgba(18,16,11,.96) 0%,rgba(18,16,11,.76) 25%,rgba(18,16,11,.20) 54%,rgba(18,16,11,.62) 100%),
    linear-gradient(180deg,rgba(18,16,11,.96),transparent 20%,transparent 70%,rgba(18,16,11,.96))!important;
}
html[data-theme="light"] .product-storyline[data-product="prism"] .story-webgl,
html[data-theme="light"] .product-storyline[data-product="journal"] .story-webgl,
html[data-theme="light"] .product-storyline[data-product="replay"] .story-webgl{
  opacity:.62!important;
  filter:saturate(.98) contrast(1.04)!important;
}
html[data-theme="light"] .product-storyline[data-product="journal"] .story-visual-stage::before{
  background:
    radial-gradient(ellipse at 63% 50%,rgba(180,134,58,.22),transparent 0 20%,rgba(180,134,58,.08) 21%,transparent 36%),
    radial-gradient(circle at 72% 34%,rgba(255,251,242,.36),transparent 18rem),
    radial-gradient(circle at 57% 63%,rgba(36,79,73,.10),transparent 22rem)!important;
}
html[data-theme="light"] .product-storyline[data-product="replay"] .story-visual-stage::before{
  background:
    radial-gradient(circle at 64% 48%,rgba(180,134,58,.20),transparent 0 12%,rgba(111,130,102,.14) 13%,transparent 28%),
    conic-gradient(from 225deg at 64% 48%,transparent 0 11%,rgba(180,134,58,.18) 11% 15%,transparent 15% 100%),
    radial-gradient(circle at 72% 42%,rgba(111,130,102,.16),transparent 24rem)!important;
}
html[data-theme="light"] .product-storyline[data-product="journal"] .story-visual-stage::after,
html[data-theme="light"] .product-storyline[data-product="replay"] .story-visual-stage::after{
  background:
    linear-gradient(90deg,rgba(247,240,227,.96) 0%,rgba(247,240,227,.78) 25%,rgba(247,240,227,.20) 54%,rgba(247,240,227,.64) 100%),
    linear-gradient(180deg,rgba(247,240,227,.96),transparent 20%,transparent 70%,rgba(247,240,227,.96))!important;
}
@keyframes prismBreath{
  0%,100%{filter:brightness(.96) saturate(.96);opacity:.46}
  50%{filter:brightness(1.18) saturate(1.12);opacity:.64}
}
@keyframes prismRayPulse{
  0%,100%{filter:blur(.1px) drop-shadow(0 0 9px rgba(216,180,95,.10));opacity:.68}
  50%{filter:blur(.35px) drop-shadow(0 0 18px rgba(255,226,148,.28));opacity:.92}
}

/* Pricing v2: clear product comparison cards, TupTrader identity preserved. */
.pricing-page-v2{
  --plan-bg:#090f13;
  --plan-card:rgba(13,20,25,.78);
  --plan-card-2:rgba(17,26,32,.62);
  --plan-line:rgba(202,220,228,.14);
  --plan-text:#f6f1e6;
  --plan-muted:#c9c0ad;
  --plan-gold:#d7b66f;
  color:var(--plan-text)!important;
  background:
    radial-gradient(circle at 50% 0,rgba(216,180,95,.10),transparent 22rem),
    radial-gradient(circle at 8% 18%,rgba(43,90,84,.18),transparent 25rem),
    linear-gradient(180deg,#070b0f 0%,#0c1317 55%,#080c10 100%)!important;
}
.pricing-compare-hero{
  max-width:1120px;
  margin:0 auto;
  padding:clamp(3.2rem,5.6vw,5.2rem) 1.2rem 1.15rem;
  text-align:center;
}
.pricing-compare-hero h1{
  margin:.25rem 0 .5rem;
  font-size:clamp(2.5rem,5vw,4.8rem);
  line-height:1.08;
  color:var(--plan-text)!important;
  letter-spacing:0;
}
.pricing-compare-hero p{
  max-width:760px;
  margin:0 auto;
  color:var(--plan-muted)!important;
  font-size:clamp(1rem,1.35vw,1.18rem);
  line-height:2;
}
.pricing-compare-hero .kicker{
  color:var(--plan-gold)!important;
}
.products-index-hero{
  max-width:980px;
  padding:clamp(2.05rem,3.8vw,3.55rem) 1.2rem .55rem;
}
.products-index-hero h1{
  font-size:clamp(2rem,3.7vw,3.55rem);
  line-height:1.08;
}
.products-index-hero p{
  max-width:660px;
  line-height:1.75;
}
.products-index-hero .actions{
  display:flex;
  justify-content:center;
  gap:.8rem;
  flex-wrap:wrap;
  margin-top:1rem;
}
.products-index-hero .actions a{
  min-width:172px;
  justify-content:center;
}
.plan-product-matrix{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:1rem;
  max-width:1320px;
  margin:0 auto;
  padding-top:.65rem;
}
.plan-product-card{
  --card-accent:#d7b66f;
  position:relative;
  display:grid;
  gap:.78rem;
  min-height:318px;
  padding:1.08rem;
  overflow:hidden;
  border:1px solid color-mix(in srgb,var(--card-accent) 42%,transparent);
  border-radius:8px;
  background:
    linear-gradient(145deg,rgba(255,255,255,.035),transparent 42%),
    radial-gradient(circle at 12% 10%,color-mix(in srgb,var(--card-accent) 18%,transparent),transparent 9rem),
    var(--plan-card);
  box-shadow:0 24px 70px rgba(0,0,0,.24), inset 0 1px rgba(255,255,255,.05);
}
.plan-product-card::before{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  background:linear-gradient(90deg,transparent,rgba(255,255,255,.06),transparent);
  opacity:.42;
  transform:translateX(55%);
}
.plan-card-head{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:1rem;
}
.plan-product-icon{
  display:grid;
  place-items:center;
  width:64px;
  height:64px;
  color:var(--card-accent);
  border:1px solid color-mix(in srgb,var(--card-accent) 46%,transparent);
  border-radius:18px;
  background:linear-gradient(145deg,color-mix(in srgb,var(--card-accent) 10%,transparent),rgba(255,255,255,.025));
  box-shadow:inset 0 1px rgba(255,255,255,.06),0 16px 36px rgba(0,0,0,.18);
}
.plan-product-icon svg{
  width:36px;
  height:36px;
  fill:none;
  stroke:currentColor;
  stroke-width:1.8;
  stroke-linecap:round;
  stroke-linejoin:round;
}
.plan-card-head b{
  padding:.38rem .8rem;
  color:var(--card-accent)!important;
  border:1px solid color-mix(in srgb,var(--card-accent) 56%,transparent);
  border-radius:999px;
  background:color-mix(in srgb,var(--card-accent) 11%,transparent);
  font-size:.88rem;
}
.plan-product-card h2{
  margin:.15rem 0 0;
  color:var(--plan-text)!important;
  font-size:clamp(1.25rem,1.8vw,1.75rem);
  line-height:1.2;
}
.plan-card-subtitle{
  min-height:1.7em;
  margin:0;
  color:var(--plan-muted)!important;
  line-height:1.8;
}
.plan-product-card dl{
  display:grid;
  gap:0;
  margin:.35rem 0 0;
  border-top:1px solid var(--plan-line);
}
.plan-product-card dl div{
  display:grid;
  grid-template-columns:minmax(0,1fr) 9.4rem;
  gap:.85rem;
  align-items:start;
  padding:.58rem 0;
  border-bottom:1px solid var(--plan-line);
}
.plan-product-card dt{
  color:#f1eadb;
  font-weight:900;
  white-space:nowrap;
  grid-column:2;
  grid-row:1;
  min-width:0;
}
.plan-product-card dd{
  grid-column:1;
  grid-row:1;
  margin:0;
  color:var(--plan-muted);
  line-height:1.7;
  min-width:0;
}
[dir="ltr"] .plan-product-card dl div{
  grid-template-columns:9.4rem minmax(0,1fr);
}
[dir="ltr"] .plan-product-card dt{grid-column:1;grid-row:1}
[dir="ltr"] .plan-product-card dd{grid-column:2;grid-row:1}
.plan-card-action{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:.5rem;
  min-height:44px;
  max-height:48px;
  margin-top:auto;
  padding:.68rem 1.05rem;
  inline-size:max-content;
  max-inline-size:100%;
  flex:0 0 auto;
  align-self:flex-start;
  color:var(--card-accent)!important;
  border:1px solid color-mix(in srgb,var(--card-accent) 62%,transparent);
  border-radius:8px;
  background:linear-gradient(90deg,color-mix(in srgb,var(--card-accent) 10%,transparent),transparent);
  font-weight:950;
  line-height:1.1;
  text-decoration:none;
}
.plan-card-action::before{
  content:"‹";
  font-size:1.4rem;
  line-height:1;
}
[dir="ltr"] .plan-card-action::before{
  content:"›";
}
.academy-offer-card .pricing-card-action{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:44px;
  max-height:48px;
  height:auto;
  inline-size:max-content;
  max-inline-size:100%;
  flex:0 0 auto;
  align-self:end;
  justify-self:start;
  padding:.68rem 1.05rem;
  border-radius:8px;
  line-height:1.1;
  white-space:nowrap;
}
.admin-pricing-panel{
  max-width:100%;
  overflow:hidden;
}
.admin-pricing-panel [hidden]{
  display:none!important;
}
.admin-pricing-head{
  align-items:flex-start;
  gap:1rem;
}
.admin-pricing-head-meta{
  display:grid;
  justify-items:end;
  gap:.45rem;
  min-width:fit-content;
}
.admin-pricing-authority{
  display:inline-flex;
  align-items:center;
  min-height:32px;
  padding:.34rem .7rem;
  border:1px solid rgba(103,215,122,.28);
  border-radius:8px;
  color:#bff1c7;
  background:rgba(103,215,122,.08);
  font-size:.82rem;
  font-weight:850;
}
.admin-pricing-toolbar{
  display:grid;
  grid-template-columns:minmax(260px,1fr) minmax(160px,220px) auto;
  gap:.75rem;
  align-items:end;
  padding:.85rem;
  margin:.9rem 0 1rem;
  border:1px solid rgba(214,185,119,.14);
  border-radius:8px;
  background:rgba(255,255,255,.035);
}
.admin-pricing-toolbar label{
  display:grid;
  gap:.38rem;
  margin:0;
}
.admin-pricing-toolbar input,
.admin-pricing-toolbar select,
.admin-pricing-toolbar button,
.admin-pricing-pending-bar button,
.admin-pricing-panel input,
.admin-pricing-panel textarea{
  min-height:44px;
}
.admin-pricing-table-wrap{
  max-width:100%;
  overflow:auto;
  overscroll-behavior-x:contain;
}
.admin-pricing-table-wrap table{
  min-width:1060px;
  table-layout:auto;
  border-collapse:separate;
  border-spacing:0;
}
.admin-pricing-table-wrap thead th{
  position:sticky;
  top:0;
  z-index:2;
  background:#15130f;
}
.admin-pricing-table-wrap tbody tr{
  transition:background .16s ease,border-color .16s ease;
}
.admin-pricing-table-wrap tbody tr:hover,
.admin-pricing-table-wrap tbody tr:focus-within{
  background:rgba(214,185,119,.055);
}
.admin-pricing-table-wrap tbody tr.is-modified{
  box-shadow:inset 4px 0 #d6b977;
  background:rgba(214,185,119,.08);
}
[dir="rtl"] .admin-pricing-table-wrap tbody tr.is-modified{
  box-shadow:inset -4px 0 #d6b977;
}
.admin-pricing-identity{
  position:sticky;
  inset-inline-start:0;
  z-index:1;
  min-width:230px;
  max-width:300px;
  background:inherit;
  vertical-align:top;
}
.admin-pricing-identity strong,
.admin-pricing-identity span{
  display:block;
}
.admin-pricing-identity span{
  margin-top:.24rem;
  color:#bcb09a;
  font-size:.86rem;
}
.admin-pricing-nowrap,
.admin-pricing-ltr,
.admin-pricing-code,
.admin-pricing-money-cell,
.admin-pricing-chip{
  white-space:nowrap;
  word-break:normal;
  overflow-wrap:normal;
}
.admin-pricing-ltr{
  direction:ltr;
  unicode-bidi:isolate;
  font-variant-numeric:tabular-nums;
}
.admin-pricing-money-cell{
  min-width:150px;
  vertical-align:top;
}
.admin-pricing-money-cell input{
  width:8.4rem;
  max-width:100%;
  font-variant-numeric:tabular-nums;
  text-align:end;
}
.admin-pricing-money-cell small{
  display:block;
  max-width:12rem;
  min-height:1.15rem;
  margin-top:.2rem;
  color:#ffb4a8;
  line-height:1.35;
  white-space:normal;
}
.admin-pricing-currency{
  display:inline-flex;
  margin-inline-end:.38rem;
  color:#a99f89;
  font-size:.78rem;
  font-weight:850;
  vertical-align:middle;
}
.admin-pricing-field-invalid{
  border-color:#ff8a7a!important;
  box-shadow:0 0 0 3px rgba(255,138,122,.16)!important;
}
.admin-pricing-chip-list{
  display:flex;
  flex-wrap:wrap;
  gap:.3rem;
}
.admin-pricing-chip{
  display:inline-flex;
  align-items:center;
  min-height:28px;
  margin:.1rem .15rem .1rem 0;
  padding:.22rem .5rem;
  border:1px solid rgba(214,185,119,.18);
  border-radius:8px;
  background:rgba(255,255,255,.045);
  color:#f1eadb;
  font-size:.78rem;
  font-weight:850;
  unicode-bidi:isolate;
}
.admin-pricing-chip.is-technical{
  direction:ltr;
  unicode-bidi:isolate;
}
.admin-pricing-chip.is-warning{
  border-color:rgba(255,190,105,.38);
  color:#ffd9a0;
  background:rgba(255,190,105,.11);
}
.admin-pricing-chip.is-dirty{
  border-color:rgba(103,215,122,.35);
  color:#c9f7ce;
  background:rgba(103,215,122,.1);
}
.admin-pricing-chip.is-muted,
.admin-pricing-muted{
  color:#a99f89;
}
.admin-pricing-details-cell{
  min-width:220px;
}
.admin-pricing-details-cell details{
  max-width:360px;
}
.admin-pricing-details-cell summary{
  min-height:44px;
  display:inline-flex;
  align-items:center;
  cursor:pointer;
  color:#e8d8b8;
  font-weight:900;
}
.admin-pricing-details-cell dl{
  display:grid;
  grid-template-columns:max-content minmax(0,1fr);
  gap:.35rem .6rem;
  margin:.45rem 0 0;
}
.admin-pricing-details-cell dt{
  color:#a99f89;
  font-size:.76rem;
}
.admin-pricing-details-cell dd{
  margin:0;
  min-width:0;
}
.admin-pricing-pending-bar{
  position:sticky;
  bottom:.75rem;
  z-index:8;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:.85rem;
  padding:.75rem .85rem;
  margin:1rem 0;
  border:1px solid rgba(214,185,119,.24);
  border-radius:8px;
  background:rgba(19,17,14,.96);
  box-shadow:0 18px 44px rgba(0,0,0,.32);
}
.admin-pricing-pending-bar>div{
  display:flex;
  flex-wrap:wrap;
  gap:.55rem;
}
.admin-pricing-empty-state{
  margin:.8rem 0 1rem;
  color:#a99f89;
}
.admin-pricing-dialog{
  width:min(920px,calc(100vw - 2rem));
  max-height:min(84vh,760px);
  padding:0;
  border:1px solid rgba(214,185,119,.22);
  border-radius:8px;
  color:#f6eedf;
  background:#15130f;
}
.admin-pricing-dialog::backdrop{
  background:rgba(0,0,0,.62);
}
.admin-pricing-dialog-shell{
  display:grid;
  gap:1rem;
  padding:1rem;
}
.admin-pricing-dialog .admin-table-wrap{
  max-height:280px;
  overflow:auto;
}
.admin-pricing-dialog textarea{
  width:100%;
  min-height:92px;
}
.admin-pricing-dialog .auth-password-field{
  max-width:360px;
}
.admin-pricing-error-summary{
  padding:.7rem .8rem;
  border:1px solid rgba(255,138,122,.38);
  border-radius:8px;
  color:#ffd5ce;
  background:rgba(255,138,122,.1);
  font-weight:800;
}
html[data-theme="light"] .admin-pricing-authority{
  color:#246c32;
  background:rgba(54,150,72,.1);
  border-color:rgba(54,150,72,.24);
}
html[data-theme="light"] .admin-pricing-toolbar,
html[data-theme="light"] .admin-pricing-pending-bar{
  background:rgba(255,252,244,.92);
}
html[data-theme="light"] .admin-pricing-table-wrap thead th,
html[data-theme="light"] .admin-pricing-dialog{
  background:#fffaf0;
  color:#201e19;
}
html[data-theme="light"] .admin-pricing-identity span,
html[data-theme="light"] .admin-pricing-muted,
html[data-theme="light"] .admin-pricing-chip.is-muted{
  color:#625947;
}
html[data-theme="light"] .admin-pricing-currency,
html[data-theme="light"] .admin-pricing-details-cell dt,
html[data-theme="light"] .admin-pricing-empty-state,
html[data-theme="light"] .admin-pricing-table-wrap td[data-label]::before{
  color:#625947;
}
html[data-theme="light"] .admin-pricing-error-summary{
  color:#7f1d1d;
  background:#fff3ee;
  border-color:#b91c1c;
}
html[data-theme="light"] .admin-pricing-chip{
  color:#282318;
  background:rgba(69,58,38,.055);
  border-color:rgba(69,58,38,.16);
}
@media (max-width:900px){
  .admin-pricing-head{
    grid-template-columns:1fr;
  }
  .admin-pricing-head-meta{
    justify-items:start;
  }
  .admin-pricing-toolbar{
    grid-template-columns:1fr;
  }
  .admin-pricing-table-wrap{
    overflow:visible;
  }
  .admin-pricing-table-wrap table,
  .admin-pricing-table-wrap thead,
  .admin-pricing-table-wrap tbody,
  .admin-pricing-table-wrap tr,
  .admin-pricing-table-wrap th,
  .admin-pricing-table-wrap td{
    display:block;
    min-width:0;
    width:100%;
  }
  .admin-pricing-table-wrap thead{
    position:absolute;
    inline-size:1px;
    block-size:1px;
    overflow:hidden;
    clip:rect(0 0 0 0);
  }
  .admin-pricing-table-wrap tbody tr{
    padding:.85rem;
    margin:0 0 .8rem;
    border:1px solid rgba(214,185,119,.16);
    border-radius:8px;
    background:rgba(255,255,255,.035);
  }
  .admin-pricing-identity{
    position:static;
    max-width:none;
    padding-bottom:.65rem;
  }
  .admin-pricing-table-wrap td[data-label]{
    display:grid;
    grid-template-columns:minmax(7.5rem,38%) minmax(0,1fr);
    align-items:center;
    gap:.55rem;
    padding:.55rem 0;
  }
  .admin-pricing-table-wrap td[data-label]::before{
    content:attr(data-label);
    color:#a99f89;
    font-size:.78rem;
    font-weight:900;
    line-height:1.35;
    white-space:normal;
  }
  .admin-pricing-table-wrap td[data-label].admin-pricing-details-cell{
    display:block;
  }
  .admin-pricing-table-wrap td[data-label].admin-pricing-details-cell::before{
    display:none;
  }
  .admin-pricing-money-cell{
    display:grid!important;
    grid-template-columns:minmax(7.5rem,38%) auto minmax(0,1fr);
    align-items:center;
    gap:.35rem;
    min-width:0;
  }
  .admin-pricing-money-cell small{
    grid-column:1 / -1;
  }
  .admin-pricing-money-cell input{
    width:100%;
  }
  .admin-pricing-details-cell details{
    max-width:none;
  }
  .admin-pricing-pending-bar{
    align-items:stretch;
    flex-direction:column;
  }
}
.plan-product-card--blue{--card-accent:#66a7e8}
.plan-product-card--green{--card-accent:#67d77a}
.plan-product-card--violet{--card-accent:#bd83ff}
.plan-product-card--gold{--card-accent:#e0a93f}
.plan-product-card--red{--card-accent:#ee5555}
.plan-product-card--cyan{--card-accent:#45c7ec}
.products-index-page .products-core-matrix{
  align-items:stretch;
}
.products-index-page .product-index-section,
.products-index-page .product-index-commercial,
.products-index-page .product-index-relationship,
.products-index-page .product-index-ecosystem{
  padding-inline:1rem;
}
.products-index-page .product-index-section,
.products-index-page .product-index-commercial,
.products-index-page .product-index-ecosystem{
  padding-top:clamp(1.6rem,3vw,2.8rem);
  padding-bottom:0;
}
.products-index-page .section-lead{
  margin-bottom:clamp(.9rem,2vw,1.45rem);
}
.products-index-page .section-lead h2{
  font-size:clamp(1.45rem,2.7vw,3.15rem);
  line-height:1.16;
}
.products-index-page .section-lead p{
  max-width:600px;
  line-height:1.75;
}
.products-index-page .products-core-matrix .plan-product-card{
  min-height:292px;
  gap:.62rem;
}
.products-index-page .products-core-matrix .plan-product-icon{
  width:56px;
  height:56px;
  border-radius:14px;
}
.products-index-page .products-core-matrix .plan-product-icon svg{
  width:31px;
  height:31px;
}
.products-index-page .products-core-matrix .plan-product-card dl div{
  padding:.48rem 0;
}
.products-index-page .products-core-matrix .plan-card-action{
  align-self:flex-start;
}
.product-index-commercial-layout{
  display:grid;
  gap:1rem;
  max-width:1180px;
  margin:0 auto;
}
.product-index-commercial-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:1rem;
  max-width:none;
  margin:0;
}
.product-index-commercial-card{
  --card-accent:#d7b66f;
  position:relative;
  display:grid;
  gap:.76rem;
  align-content:start;
  min-height:274px;
  padding:1rem;
  overflow:hidden;
  border:1px solid color-mix(in srgb,var(--card-accent) 38%,transparent);
  border-radius:8px;
  background:
    linear-gradient(155deg,color-mix(in srgb,var(--card-accent) 10%,transparent),transparent 32%),
    linear-gradient(180deg,rgba(18,28,34,.84),rgba(10,15,19,.72));
  box-shadow:0 24px 70px rgba(0,0,0,.25), inset 0 1px rgba(255,255,255,.05);
}
.product-index-commercial-featured{
  grid-template-columns:minmax(0,1.45fr) minmax(280px,.85fr);
  align-items:stretch;
  min-height:230px;
  padding:1.15rem;
}
.product-index-commercial-featured .product-featured-main,
.product-index-commercial-featured .product-featured-summary{
  display:grid;
  align-content:start;
  gap:.72rem;
  min-width:0;
}
.product-index-commercial-featured .product-featured-summary{
  align-content:stretch;
  padding-inline-start:1rem;
  border-inline-start:1px solid color-mix(in srgb,var(--card-accent) 28%,transparent);
}
.product-index-commercial-featured .product-featured-summary .plan-card-action{
  align-self:flex-start;
}
.product-index-commercial-standard{
  min-height:260px;
}
.product-index-commercial-card--blue{--card-accent:#66a7e8}
.product-index-commercial-card--green{--card-accent:#67d77a}
.product-index-commercial-card--violet{--card-accent:#bd83ff}
.product-index-commercial-card--gold{--card-accent:#e0a93f}
.product-index-commercial-card--cyan{--card-accent:#45c7ec}
.product-index-commercial-card h3{
  margin:.15rem 0 0;
  color:var(--plan-text);
  font-size:clamp(1.18rem,1.45vw,1.48rem);
  line-height:1.22;
}
.product-index-commercial-card p{
  margin:0;
  color:var(--plan-muted);
  line-height:1.75;
}
.product-index-commercial-card ul{
  display:grid;
  gap:.42rem;
  margin:.15rem 0 0;
  padding:0;
  list-style:none;
}
.product-index-commercial-card li{
  position:relative;
  padding-inline-start:1.05rem;
  color:rgba(246,241,230,.82);
  font-size:.92rem;
  line-height:1.55;
}
.product-index-commercial-featured li{
  font-size:.95rem;
}
.product-index-commercial-card li::before{
  content:"";
  position:absolute;
  inset-inline-start:0;
  top:.72em;
  width:.42rem;
  height:.42rem;
  border-radius:999px;
  background:var(--card-accent);
  box-shadow:0 0 0 3px color-mix(in srgb,var(--card-accent) 14%,transparent);
}
.product-index-commercial-card .plan-card-action{
  align-self:flex-start;
  margin-top:.2rem;
}
.product-index-relationship{
  max-width:1180px;
  margin:1rem auto 0;
  padding-top:0!important;
}
.product-relationship-strip{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:.65rem;
  padding:.72rem;
  border:1px solid var(--plan-line);
  border-radius:10px;
  background:rgba(13,20,25,.46);
}
.product-relationship-chip{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:.45rem;
  min-height:48px;
  padding:.52rem .7rem;
  border:1px solid rgba(214,185,119,.16);
  border-radius:8px;
  background:rgba(214,185,119,.045);
  color:var(--plan-muted);
  text-align:center;
  line-height:1.35;
}
.product-relationship-chip strong{
  color:var(--plan-text);
  font-size:.86rem;
}
.product-relationship-chip i{
  color:var(--plan-gold);
  font-style:normal;
}
.product-relationship-chip em{
  color:var(--plan-muted);
  font-style:normal;
  font-size:.82rem;
}
.product-index-ecosystem-grid{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:.78rem;
  max-width:1180px;
  margin:0 auto;
}
.product-index-ecosystem-card{
  position:relative;
  display:grid;
  gap:.46rem;
  align-content:start;
  min-height:210px;
  padding:.86rem;
  border:1px solid var(--plan-line);
  border-radius:8px;
  background:rgba(13,20,25,.58);
  box-shadow:0 18px 50px rgba(0,0,0,.22);
}
.product-index-ecosystem-card .rail-index{
  color:#d6b977;
  font-size:.76rem;
  letter-spacing:.08em;
}
.product-index-ecosystem-card i{
  width:2rem;
  height:2rem;
  display:grid;
  place-items:center;
  color:#d6b977;
  border:1px solid rgba(214,185,119,.22);
  border-radius:8px;
  background:rgba(214,185,119,.06);
}
.product-index-ecosystem-card svg{
  width:1.15rem;
  height:1.15rem;
}
.product-index-ecosystem-card strong{
  color:var(--plan-text);
  font-size:1.05rem;
}
.product-index-ecosystem-card em{
  justify-self:start;
  padding:.22rem .58rem;
  color:#d6b977;
  border:1px solid rgba(214,185,119,.22);
  border-radius:999px;
  background:rgba(214,185,119,.06);
  font-style:normal;
  font-size:.76rem;
  font-weight:900;
  line-height:1.5;
}
.product-index-ecosystem-card small{
  color:var(--plan-muted);
  line-height:1.5;
}
.product-index-ecosystem-card p{
  margin:0;
  color:rgba(244,237,219,.74);
  line-height:1.62;
  font-size:.9rem;
}
.product-index-ecosystem-card .plan-card-action{
  align-self:flex-start;
  min-height:38px;
  margin-top:.2rem;
}
html[data-theme="light"] .product-index-ecosystem-card p{
  color:#5f5749;
}
.pricing-page-v2 .no-signal-note{
  max-width:1320px;
  margin:2rem auto 0;
  border-radius:10px;
  background:rgba(13,20,25,.52)!important;
  border-color:var(--plan-line)!important;
}
.pricing-page-v2 .no-signal-note h2{
  color:var(--plan-text)!important;
}
.pricing-page-v2 .no-signal-note p{
  color:var(--plan-muted)!important;
}
html[data-theme="light"] .pricing-page-v2{
  --plan-bg:#efe7d8;
  --plan-card:rgba(255,252,244,.84);
  --plan-card-2:rgba(244,236,222,.70);
  --plan-line:rgba(80,67,45,.13);
  --plan-text:#24211b;
  --plan-muted:#62584a;
  --plan-gold:#8f6f2c;
  background:
    radial-gradient(circle at 50% 0,rgba(180,134,58,.14),transparent 22rem),
    radial-gradient(circle at 8% 18%,rgba(43,90,84,.09),transparent 25rem),
    linear-gradient(180deg,#f7f0e4 0%,#eadfce 55%,#f5ecdd 100%)!important;
}
html[data-theme="light"] .plan-product-card{
  background:
    linear-gradient(145deg,rgba(255,255,255,.74),transparent 44%),
    radial-gradient(circle at 12% 10%,color-mix(in srgb,var(--card-accent) 14%,transparent),transparent 9rem),
    var(--plan-card);
  box-shadow:0 22px 58px rgba(93,76,47,.10), inset 0 1px rgba(255,255,255,.65);
}
html[data-theme="light"] .product-index-commercial-card{
  background:
    linear-gradient(155deg,color-mix(in srgb,var(--card-accent) 15%,transparent),transparent 38%),
    linear-gradient(180deg,rgba(255,252,244,.86),rgba(244,236,222,.72));
}
html[data-theme="light"] .product-index-commercial-card li{
  color:#4f473b;
}
html[data-theme="light"] .product-index-ecosystem-card em{
  color:#7b6127;
  border-color:rgba(123,97,39,.24);
  background:rgba(123,97,39,.07);
}
html[data-theme="light"] .product-relationship-strip{
  background:rgba(255,252,244,.62);
}
html[data-theme="light"] .product-relationship-chip{
  background:rgba(123,97,39,.05);
  border-color:rgba(123,97,39,.16);
}
html[data-theme="light"] .plan-product-card dt{
  color:#2d281f;
}
html[data-theme="light"] .plan-product-card dd,
html[data-theme="light"] .plan-card-subtitle{
  color:var(--plan-muted)!important;
}
html[data-theme="light"] .pricing-page-v2 .no-signal-note{
  background:rgba(255,252,244,.72)!important;
}
@media(max-width:1080px){
  .plan-product-matrix{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
  .product-index-commercial-grid{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
  .product-index-commercial-featured{
    grid-template-columns:1fr;
  }
  .product-index-commercial-featured .product-featured-summary{
    padding-inline-start:0;
    padding-top:.85rem;
    border-inline-start:0;
    border-top:1px solid color-mix(in srgb,var(--card-accent) 28%,transparent);
  }
  .product-relationship-strip,
  .product-index-ecosystem-grid{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
}
@media(max-width:720px){
  .pricing-page-v2{
    overflow:hidden;
  }
  .pricing-compare-hero,
  .plan-product-matrix,
  .product-index-commercial-layout,
  .product-index-commercial-grid,
  .product-relationship-strip,
  .product-index-ecosystem-grid{
    width:100%;
    max-width:100%;
    box-sizing:border-box;
  }
  .products-index-hero{
    padding:1.65rem 1rem .4rem;
  }
  .products-index-hero h1{
    font-size:clamp(1.85rem,9vw,2.4rem);
  }
  .products-index-hero .actions{
    justify-content:stretch;
    gap:.55rem;
  }
  .products-index-hero .actions a{
    flex:1 1 150px;
    min-width:0;
  }
  .plan-product-matrix{
    grid-template-columns:1fr;
    overflow:hidden;
  }
  .product-index-commercial-grid{
    grid-template-columns:1fr;
    overflow:hidden;
  }
  .product-relationship-strip,
  .product-index-ecosystem-grid{
    grid-template-columns:1fr;
  }
  .plan-product-card{
    min-height:auto;
    width:100%;
    max-width:100%;
    min-width:0;
    box-sizing:border-box;
    overflow:hidden;
  }
  .product-index-commercial-card{
    min-height:auto;
    width:100%;
    max-width:100%;
    min-width:0;
    box-sizing:border-box;
  }
  .product-index-commercial-featured{
    padding:.95rem;
  }
  .product-relationship-chip{
    justify-content:flex-start;
    text-align:start;
  }
  .product-index-ecosystem-card{
    min-height:auto;
  }
  .plan-product-card dl div{
    grid-template-columns:1fr;
    gap:.25rem;
  }
  .plan-product-card dt,
  .plan-product-card dd,
  [dir="ltr"] .plan-product-card dt,
  [dir="ltr"] .plan-product-card dd{
    grid-column:1;
    grid-row:auto;
    white-space:normal;
    overflow-wrap:anywhere;
  }
  .pricing-compare-hero{
    text-align:start;
  }
  .pricing-compare-hero h1,
  .pricing-compare-hero p,
  .plan-product-card h2,
  .product-index-commercial-card h3,
  .product-index-commercial-card p,
  .product-index-commercial-card li,
  .plan-card-subtitle,
  .plan-card-action{
    max-width:100%;
    overflow-wrap:anywhere;
  }
  .plan-card-head{
    min-width:0;
  }
  .plan-card-head b{
    min-width:0;
    max-width:100%;
    overflow:hidden;
    text-overflow:ellipsis;
    white-space:normal;
  }
}


/* Phase 3D-C: read-only admin users UX hardening. */
.admin-users-toolbar{
  margin:0 0 1rem;
  padding:.8rem;
  border:1px solid rgba(207,190,156,.18);
  border-radius:16px;
  background:rgba(15,18,16,.42);
}
.admin-users-toolbar label{
  display:grid;
  gap:.4rem;
  color:#d8bd78;
  font-size:.82rem;
  font-weight:900;
}
.admin-users-toolbar input{
  width:100%;
  min-height:44px;
  border:1px solid rgba(216,180,95,.24);
  border-radius:999px;
  background:rgba(6,10,9,.58);
  color:#fff6df;
  padding:.72rem 1rem;
  font:inherit;
  outline:none;
}
.admin-users-toolbar input:focus{
  border-color:rgba(216,180,95,.62);
  box-shadow:0 0 0 4px rgba(216,180,95,.11);
}
[data-admin-users-list].account-access-grid{
  grid-template-columns:1fr!important;
}
.admin-user-card{
  display:grid;
  gap:.9rem;
  padding:1rem;
  border:1px solid rgba(207,190,156,.20);
  border-radius:18px;
  background:linear-gradient(145deg,rgba(32,31,27,.94),rgba(16,19,17,.90));
  color:#f7f0df;
  overflow:hidden;
}
.admin-user-main{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:1rem;
  min-width:0;
}
.admin-user-main strong{
  min-width:0;
  color:#fff5dd;
  font-size:1.05rem;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}
.admin-user-main small{
  max-width:min(48vw,520px);
  color:#d4c8af;
  direction:ltr;
  text-align:left;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}
.admin-user-fields{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:.65rem;
  margin:0;
}
.admin-user-fields div{
  min-width:0;
  padding:.7rem;
  border-radius:14px;
  background:rgba(255,255,255,.035);
}
.admin-user-fields dt{
  color:#aa9a78;
  font-size:.72rem;
  font-weight:900;
}
.admin-user-fields dd{
  margin:.15rem 0 0;
  color:#fff1d2;
  font-weight:800;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}
.admin-user-refs{
  display:grid;
  gap:.35rem;
  padding:.7rem;
  border-radius:14px;
  background:rgba(0,0,0,.16);
}
.admin-user-refs span{
  display:block;
  color:#b9ad92;
  font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;
  font-size:.72rem;
  direction:ltr;
  text-align:left;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}
.admin-users-empty{
  grid-column:1/-1;
}
html[data-theme="light"] .admin-users-toolbar,
html[data-theme="light"] .admin-user-card{
  background:linear-gradient(145deg,rgba(255,253,247,.96),rgba(242,234,219,.92));
  border-color:rgba(79,67,45,.18);
  color:#28231a;
}
html[data-theme="light"] .admin-users-toolbar input{
  background:rgba(255,255,255,.72);
  color:#28231a;
  border-color:rgba(79,67,45,.20);
}
html[data-theme="light"] .admin-user-main strong,
html[data-theme="light"] .admin-user-fields dd{
  color:#27231c;
}
html[data-theme="light"] .admin-user-main small,
html[data-theme="light"] .admin-user-refs span{
  color:#5d5547;
}
html[data-theme="light"] .admin-user-fields div,
html[data-theme="light"] .admin-user-refs{
  background:rgba(80,65,36,.055);
}
@media(max-width:760px){
  .admin-user-main{
    display:grid;
  }
  .admin-user-main small{
    max-width:100%;
  }
  .admin-user-fields{
    grid-template-columns:1fr 1fr;
  }
}
@media(max-width:520px){
  .admin-user-fields{
    grid-template-columns:1fr;
  }
}


/* Phase 3D-D: admin dashboard Users card link. */
.admin-card-action{
  justify-self:start;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:.65rem .95rem;
  border:1px solid rgba(101,79,44,.16);
  border-radius:999px;
  background:#173b37;
  color:#faf3e6;
  font:inherit;
  font-weight:900;
  text-decoration:none;
}
.admin-card-action:hover{
  background:#24564f;
}

/* Phase 3H-UI-B: disabled unsafe checkout/payment CTAs until secure backend payment is active. */
.monetization-disabled-cta {
  cursor: not-allowed !important;
  opacity: 0.68;
  filter: saturate(0.72);
  pointer-events: none;
  text-decoration: none !important;
}

.checkout-disabled-page {
  max-width: 980px;
  margin: 0 auto;
  text-align: center;
}

.checkout-disabled-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  justify-content: center;
  margin-top: 1.5rem;
}

.checkout-disabled-note {
  margin-top: 1.25rem;
  color: rgba(238, 229, 208, 0.72);
}

/* LIVE-HOTFIX-LOGO-A: ensure header badge renders from /brand without cropping. */
.site-header .brand img{
  display:block!important;
  width:44px!important;
  height:44px!important;
  padding:4px!important;
  box-sizing:border-box!important;
  object-fit:contain!important;
  object-position:center center!important;
  border-radius:50%!important;
  background:radial-gradient(circle at 50% 45%, rgba(246,234,215,.96), rgba(214,185,119,.34))!important;
  border:1px solid rgba(214,185,119,.38)!important;
  opacity:1!important;
  visibility:visible!important;
}
@media(max-width:560px){
  .site-header .brand img{
    width:40px!important;
    height:40px!important;
    padding:4px!important;
  }
}



/* LIVE-POST-DEPLOY-FIX-A: logo fit, safe auth UI, and mobile Home polish. */
.site-header .brand img{
  width:48px!important;
  height:48px!important;
  padding:0!important;
  box-sizing:border-box!important;
  object-fit:contain!important;
  object-position:center!important;
  border-radius:50%!important;
  background:radial-gradient(circle at 50% 45%, rgba(246,234,215,.98), rgba(214,185,119,.28))!important;
  border:1px solid rgba(214,185,119,.42)!important;
  box-shadow:0 0 0 1px rgba(255,248,232,.10) inset, 0 10px 22px rgba(0,0,0,.18)!important;
  opacity:1!important;
  visibility:visible!important;
}
.google-auth[disabled],
.google-auth[aria-disabled="true"]{
  cursor:not-allowed!important;
  opacity:1!important;
  color:#f6ecd8!important;
  background:linear-gradient(135deg, rgba(255,248,235,.10), rgba(214,185,119,.08))!important;
  border-color:rgba(214,185,119,.28)!important;
  letter-spacing:0!important;
  pointer-events:none!important;
}
.google-auth[disabled] span,
.google-auth[aria-disabled="true"] span{
  display:none!important;
}
.auth-switch-row{
  margin:.35rem 0 0!important;
  color:#efe1c2!important;
  font-size:.95rem!important;
}
.auth-switch-row a{
  color:#ffd98a!important;
  text-decoration:underline!important;
  text-decoration-thickness:1px!important;
  text-underline-offset:.22em!important;
}
.auth-switch-row a:hover,
.auth-switch-row a:focus-visible{
  color:#fff2c7!important;
}
.auth-status[data-state="error"]{
  color:#ffd2c7!important;
}
@media(max-width:640px){
  .site-header .brand img{
    width:44px!important;
    height:44px!important;
    padding:0!important;
  }
  .home .trading-hero .hero-copy .actions,
  .home .trading-hero .actions{
    width:100%!important;
    display:flex!important;
    flex-wrap:wrap!important;
    justify-content:center!important;
    gap:.55rem!important;
  }
  .home .trading-hero .hero-copy .actions a,
  .home .trading-hero .actions a,
  .home .trading-hero .primary,
  .home .trading-hero .secondary{
    max-width:100%!important;
    min-width:0!important;
    flex:1 1 15rem!important;
    padding:.78rem .9rem!important;
    font-size:.9rem!important;
    line-height:1.35!important;
    letter-spacing:0!important;
    white-space:normal!important;
    overflow-wrap:normal!important;
    text-align:center!important;
  }
  html[lang="en"] .home .trading-hero .hero-copy .actions a,
  html[lang="en"] .home .trading-hero .actions a{
    letter-spacing:0!important;
    text-transform:none!important;
  }
  .home .home-map-card{
    display:block!important;
    visibility:visible!important;
    opacity:1!important;
    max-width:100%!important;
    width:100%!important;
    margin-inline:auto!important;
    overflow:hidden!important;
    border-radius:1.1rem!important;
    padding:.85rem!important;
  }
  .home .home-map-head{
    display:grid!important;
    text-align:start!important;
    margin-bottom:.8rem!important;
  }
  .home .home-path-steps{
    display:grid!important;
    grid-template-columns:1fr!important;
    gap:.65rem!important;
    max-width:100%!important;
  }
  .home .home-path-steps a{
    display:grid!important;
    grid-template-columns:2.4rem minmax(0,1fr)!important;
    grid-template-areas:"icon name" "icon title" "icon body"!important;
    gap:.35rem .65rem!important;
    min-height:0!important;
    max-width:100%!important;
    padding:.72rem!important;
    overflow:hidden!important;
  }
  .home .home-path-steps a span{grid-area:name!important;}
  .home .home-path-steps a i{grid-area:icon!important;width:2.35rem!important;height:2.35rem!important;}
  .home .home-path-steps a strong{grid-area:title!important;min-width:0!important;}
  .home .home-path-steps a p{grid-area:body!important;grid-column:auto!important;min-width:0!important;}
}


/* LIVE-POST-DEPLOY-FIX-A2: force mobile ecosystem relationship panel to remain visible. */
@media(max-width:640px){
  .home .system-side-rail,
  .home .market-console,
  .home .chart-zone,
  .home .neural-system-map{
    display:grid!important;
    visibility:visible!important;
    opacity:1!important;
    max-width:100%!important;
    width:100%!important;
    overflow:hidden!important;
  }
  .home .system-side-rail{
    grid-template-columns:1fr!important;
    gap:.65rem!important;
    margin:.8rem 0!important;
  }
  .home .market-console{
    min-width:0!important;
  }
  .home .chart-zone{
    min-height:auto!important;
    padding:.85rem!important;
  }
  .home .neural-system-map{
    grid-template-columns:1fr!important;
    gap:.62rem!important;
    min-height:auto!important;
    padding:.8rem!important;
  }
  .home .neural-node{
    position:relative!important;
    inset:auto!important;
    transform:none!important;
    max-width:100%!important;
    min-width:0!important;
  }
}


/* LIVE-POST-DEPLOY-AUTH-FIX-B: make auth switch links unmistakably visible. */
.auth-refined-page .auth-switch-row,
.auth-refined-flow .auth-switch-row,
.auth-panel .auth-switch-row{
  margin:.72rem 0 0!important;
  padding:.72rem .85rem!important;
  border:1px solid rgba(255,217,138,.22)!important;
  border-radius:16px!important;
  background:rgba(0,0,0,.20)!important;
  color:#fff0cf!important;
  font-size:1rem!important;
  font-weight:850!important;
  line-height:1.7!important;
  opacity:1!important;
  text-align:center!important;
}
.auth-refined-page .auth-switch-row span,
.auth-refined-flow .auth-switch-row span,
.auth-panel .auth-switch-row span{
  color:#fff0cf!important;
  opacity:1!important;
}
.auth-refined-page .auth-switch-row a,
.auth-refined-flow .auth-switch-row a,
.auth-panel .auth-switch-row a{
  color:#ffe08d!important;
  opacity:1!important;
  font-weight:950!important;
  text-decoration:underline!important;
  text-decoration-thickness:2px!important;
  text-underline-offset:.24em!important;
  text-shadow:0 1px 10px rgba(0,0,0,.38)!important;
}
.auth-refined-page .auth-switch-row a:hover,
.auth-refined-page .auth-switch-row a:focus-visible,
.auth-refined-flow .auth-switch-row a:hover,
.auth-refined-flow .auth-switch-row a:focus-visible,
.auth-panel .auth-switch-row a:hover,
.auth-panel .auth-switch-row a:focus-visible{
  color:#fff7d8!important;
  outline:2px solid rgba(255,224,141,.45)!important;
  outline-offset:3px!important;
}
html[data-theme="light"] .auth-refined-page .auth-switch-row,
html[data-theme="light"] .auth-refined-flow .auth-switch-row,
html[data-theme="light"] .auth-panel .auth-switch-row{
  background:rgba(37,30,18,.08)!important;
  border-color:rgba(117,82,24,.24)!important;
  color:#2a2113!important;
}
html[data-theme="light"] .auth-refined-page .auth-switch-row span,
html[data-theme="light"] .auth-refined-flow .auth-switch-row span,
html[data-theme="light"] .auth-panel .auth-switch-row span{
  color:#2a2113!important;
}
html[data-theme="light"] .auth-refined-page .auth-switch-row a,
html[data-theme="light"] .auth-refined-flow .auth-switch-row a,
html[data-theme="light"] .auth-panel .auth-switch-row a{
  color:#715000!important;
  text-shadow:none!important;
}


/* LIVE-MOBILE-HOME-UX-A: compact mobile Home hero and CTA layout. */
@media(max-width:640px){
  html,
  body{
    max-width:100%;
    overflow-x:hidden!important;
  }
  body.home .site-header{
    max-width:100vw!important;
  }
  .home .trading-hero{
    min-height:auto!important;
    padding:1.05rem .86rem 1.25rem!important;
    overflow:hidden!important;
  }
  .home .trading-hero .hero-inner{
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    gap:1rem!important;
    align-items:start!important;
  }
  .home .trading-hero .hero-copy{
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    justify-items:center!important;
    text-align:center!important;
    padding:0!important;
  }
  .home .trading-hero .kicker{
    margin-bottom:.15rem!important;
    font-size:.66rem!important;
    line-height:1.25!important;
    letter-spacing:.045em!important;
  }
  .home .trading-hero h1,
  .home-hero-refined .hero-copy h1{
    width:100%!important;
    max-width:100%!important;
    margin:.48rem auto .46rem!important;
    font-size:clamp(2rem,9.2vw,2.85rem)!important;
    line-height:1.13!important;
    letter-spacing:-.018em!important;
    text-align:center!important;
    text-wrap:balance;
  }
  html[lang="fa"] .home .trading-hero h1,
  html[lang="fa"] .home-hero-refined .hero-copy h1{
    font-size:clamp(1.9rem,8.6vw,2.65rem)!important;
    line-height:1.22!important;
    letter-spacing:0!important;
  }
  .home .trading-hero .hero-copy p,
  .home-hero-refined .hero-copy>p{
    display:block!important;
    max-width:32rem!important;
    margin:0 auto!important;
    font-size:.92rem!important;
    line-height:1.72!important;
    text-align:center!important;
  }
  .home .trading-hero .hero-copy .actions,
  .home .trading-hero .actions{
    width:100%!important;
    max-width:27rem!important;
    margin:.72rem auto 0!important;
    display:grid!important;
    grid-template-columns:1fr!important;
    gap:.46rem!important;
    justify-items:stretch!important;
    align-items:stretch!important;
  }
  .home .trading-hero .hero-copy .actions a,
  .home .trading-hero .actions a,
  .home .trading-hero .primary,
  .home .trading-hero .secondary{
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    min-height:38px!important;
    height:auto!important;
    flex:none!important;
    display:inline-flex!important;
    align-items:center!important;
    justify-content:center!important;
    padding:.58rem .78rem!important;
    border-radius:14px!important;
    font-size:.86rem!important;
    line-height:1.25!important;
    letter-spacing:0!important;
    word-spacing:0!important;
    text-transform:none!important;
    white-space:normal!important;
    overflow-wrap:normal!important;
    text-align:center!important;
  }
  html[lang="en"] .home .trading-hero .hero-copy .actions a,
  html[lang="en"] .home .trading-hero .actions a{
    font-size:.84rem!important;
    letter-spacing:0!important;
    word-spacing:0!important;
  }
  .home .trading-hero .actions a .vx-letter,
  .home .trading-hero .hero-copy .actions a .vx-letter{
    display:inline!important;
    transform:none!important;
    opacity:1!important;
    margin:0!important;
    padding:0!important;
    letter-spacing:0!important;
    transition:none!important;
  }
  .home .trading-hero .actions a .vx-letter-clone,
  .home .trading-hero .hero-copy .actions a .vx-letter-clone{
    display:none!important;
  }
  .home .value-tape{
    display:none!important;
  }
  .home .system-side-rail{
    margin:.75rem 0!important;
  }
  .home .market-console{
    margin-top:.25rem!important;
  }
  .home .console-top{
    min-height:36px!important;
    padding:.36rem .55rem!important;
    gap:.32rem!important;
    overflow:hidden!important;
    white-space:normal!important;
    font-size:.66rem!important;
  }
  .home .console-top span{
    padding:.16rem .34rem!important;
  }
  .home .chart-head{
    gap:.25rem!important;
  }
  .home .chart-head b{
    font-size:.82rem!important;
    line-height:1.45!important;
  }
  .home .neural-node,
  .home .console-panels article{
    min-width:0!important;
  }
}
@media(max-width:430px){
  .home .trading-hero{
    padding-inline:.72rem!important;
  }
  .home .trading-hero h1,
  .home-hero-refined .hero-copy h1{
    font-size:clamp(1.85rem,9vw,2.42rem)!important;
  }
  html[lang="fa"] .home .trading-hero h1,
  html[lang="fa"] .home-hero-refined .hero-copy h1{
    font-size:clamp(1.75rem,8.6vw,2.28rem)!important;
  }
  .home .trading-hero .hero-copy p,
  .home-hero-refined .hero-copy>p{
    font-size:.88rem!important;
    line-height:1.68!important;
  }
  .home .trading-hero .hero-copy .actions,
  .home .trading-hero .actions{
    max-width:22.5rem!important;
  }
  .home .trading-hero .hero-copy .actions a,
  .home .trading-hero .actions a,
  .home .trading-hero .primary,
  .home .trading-hero .secondary{
    min-height:36px!important;
    padding:.52rem .68rem!important;
    border-radius:13px!important;
    font-size:.82rem!important;
  }
}

/* LIVE-MOBILE-HERO-CTA-OVERFLOW-FIX-2: keep Home header and split-letter CTAs inside mobile viewports. */
@media(max-width:640px){
  body.home .site-header{
    width:100%!important;
    max-width:100vw!important;
    box-sizing:border-box!important;
    display:grid!important;
    grid-template-columns:minmax(0,1fr) auto 48px!important;
    grid-template-areas:
      "brand actions toggle"
      "nav nav nav"!important;
    overflow:visible!important;
  }
  body.home .site-header .brand{grid-area:brand!important}
  body.home .site-header .nav-toggle{grid-area:toggle!important}
  body.home .site-header .primary-nav{grid-area:nav!important}
  body.home .site-header .brand{
    min-width:0!important;
    max-width:100%!important;
  }
  body.home .site-header .brand span,
  body.home .site-header .brand strong{
    min-width:0!important;
    max-width:100%!important;
    overflow:hidden!important;
    text-overflow:ellipsis!important;
    white-space:nowrap!important;
  }
  body.home .site-header .header-actions{
    grid-area:actions!important;
    display:flex!important;
    align-items:center!important;
    justify-content:flex-end!important;
    gap:.38rem!important;
    width:auto!important;
    max-width:100%!important;
    min-width:0!important;
    overflow:visible!important;
  }
  body.home .site-header .header-actions .cart-link,
  body.home .site-header .header-actions .theme-toggle{
    display:none!important;
  }
  body.home .site-header .header-actions .lang-link,
  body.home .site-header .header-actions .theme-toggle,
  body.home .site-header .header-actions .start-link{
    width:auto!important;
    max-width:100%!important;
    min-width:0!important;
    box-sizing:border-box!important;
    padding:.52rem .58rem!important;
    overflow:hidden!important;
    text-align:center!important;
    white-space:normal!important;
    overflow-wrap:anywhere!important;
    line-height:1.18!important;
  }
  body.home .site-header .header-actions .lang-link{
    display:inline-flex!important;
    flex:0 0 auto!important;
    min-width:42px!important;
    min-height:38px!important;
    padding:.42rem .58rem!important;
    border-color:rgba(255,255,255,.30)!important;
    background:rgba(18,25,23,.82)!important;
    color:#fff7df!important;
    box-shadow:0 10px 24px rgba(0,0,0,.18)!important;
  }
  body.home .site-header .header-actions .start-link{
    padding-inline:.62rem!important;
    display:none!important;
  }
  body.home .site-header .header-actions .theme-toggle{
    min-width:0!important;
  }
  html[lang="en"] .home .trading-hero h1,
  html[lang="en"] .home-hero-refined .hero-copy h1{
    max-width:21rem!important;
    font-size:clamp(1.64rem,6.6vw,2rem)!important;
    line-height:1.18!important;
  }
  body.home .site-header .header-actions .vx-letter,
  body.home .site-header .header-actions .vx-letter-clone,
  .home .trading-hero .actions .vx-letter,
  .home .trading-hero .hero-copy .actions .vx-letter,
  .home .trading-hero .actions .vx-letter-clone,
  .home .trading-hero .hero-copy .actions .vx-letter-clone{
    position:static!important;
    inset:auto!important;
    transform:none!important;
    transition:none!important;
    animation:none!important;
    opacity:1!important;
    letter-spacing:0!important;
  }
  body.home .site-header .header-actions .vx-letter,
  .home .trading-hero .actions .vx-letter,
  .home .trading-hero .hero-copy .actions .vx-letter{
    display:contents!important;
    margin:0!important;
    padding:0!important;
  }
  body.home .site-header .header-actions .vx-letter-clone,
  .home .trading-hero .actions .vx-letter-clone,
  .home .trading-hero .hero-copy .actions .vx-letter-clone{
    display:none!important;
  }
  .home .trading-hero .hero-copy .actions,
  .home .trading-hero .actions{
    box-sizing:border-box!important;
    width:100%!important;
    max-width:min(100%,27rem)!important;
    min-width:0!important;
    overflow:visible!important;
  }
  .home .trading-hero .hero-copy .actions a,
  .home .trading-hero .actions a,
  .home .trading-hero .primary,
  .home .trading-hero .secondary{
    box-sizing:border-box!important;
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    overflow:hidden!important;
    white-space:normal!important;
    overflow-wrap:anywhere!important;
    word-break:normal!important;
    letter-spacing:0!important;
  }
  html[lang="en"] .home .trading-hero .hero-copy .actions a,
  html[lang="en"] .home .trading-hero .actions a{
    font-size:.8rem!important;
    line-height:1.18!important;
  }
  body.home .site-header .header-actions .vx-generate-button,
  .home .trading-hero .hero-copy .actions .vx-generate-button,
  .home .trading-hero .actions .vx-generate-button{
    display:block!important;
    contain:layout paint!important;
  }
  body.home .site-header .header-actions .cart-link{
    display:none!important;
  }
  .home .trading-hero:before,
  .home .trading-hero:after,
  .home .trading-hero .water-field{
    left:0!important;
    right:0!important;
    width:auto!important;
    max-width:100%!important;
    transform:none!important;
  }
  .home .trading-hero:after{
    box-shadow:none!important;
  }
}
@media(max-width:380px){
  body.home .site-header{
    padding-inline:.62rem!important;
  }
  body.home .site-header .header-actions{
    display:block!important;
  }
  body.home .site-header .header-actions .lang-link,
  body.home .site-header .header-actions .theme-toggle,
  body.home .site-header .header-actions .start-link{
    padding-inline:.46rem!important;
    font-size:.78rem!important;
  }
  .home .trading-hero .hero-copy .actions,
  .home .trading-hero .actions{
    max-width:100%!important;
  }
}

/* FRONTEND-3H-E: keep non-home mobile header actions inside pricing/product pages. */
@media(max-width:640px){
  body:not(.home) .site-header{
    display:grid!important;
    grid-template-columns:minmax(0,1fr) 48px!important;
    grid-template-areas:
      "brand toggle"
      "actions actions"!important;
    width:100%!important;
    max-width:100vw!important;
    min-width:0!important;
    box-sizing:border-box!important;
    overflow:visible!important;
  }
  body:not(.home) .site-header .brand{
    min-width:0!important;
    max-width:100%!important;
  }
  body:not(.home) .site-header .brand span,
  body:not(.home) .site-header .brand strong{
    min-width:0!important;
    max-width:100%!important;
    overflow:hidden!important;
    text-overflow:ellipsis!important;
    white-space:nowrap!important;
  }
  body:not(.home) .site-header .header-actions{
    display:grid!important;
    grid-template-columns:auto auto minmax(0,1fr)!important;
    align-items:stretch!important;
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    overflow:visible!important;
  }
  body:not(.home) .site-header .header-actions .cart-link{
    display:none!important;
  }
  body:not(.home) .site-header .header-actions .lang-link,
  body:not(.home) .site-header .header-actions .theme-toggle,
  body:not(.home) .site-header .header-actions .start-link{
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    box-sizing:border-box!important;
    padding:.52rem .62rem!important;
    overflow:hidden!important;
    text-align:center!important;
    white-space:normal!important;
    overflow-wrap:anywhere!important;
    line-height:1.18!important;
  }
  body:not(.home) .site-header .header-actions .start-link{
    display:flex!important;
  }
}

/* MOBILE-NAV-LANGUAGE-FIX-3H-G: bounded mobile navigation sheet and visible language switch. */
@media(max-width:980px){
  .site-header{
    position:sticky!important;
    width:100%!important;
    max-width:100vw!important;
    min-width:0!important;
    box-sizing:border-box!important;
    overflow:visible!important;
  }
  .site-header .brand,
  .site-header .brand span,
  .site-header .brand strong,
  .site-header .header-actions,
  .site-header .primary-nav,
  .site-header .nav-group,
  .site-header .nav-group > button,
  .site-header .mega-panel,
  .site-header .mega-panel a,
  .site-header .mega-panel span{
    min-width:0!important;
    box-sizing:border-box!important;
  }
  .site-header .nav-toggle{
    display:inline-grid!important;
    place-items:center!important;
    justify-self:end!important;
    width:42px!important;
    height:42px!important;
    min-width:42px!important;
    border:1px solid rgba(255,255,255,.24)!important;
    border-radius:12px!important;
    background:rgba(18,25,23,.72)!important;
    color:#fff7df!important;
  }
  .site-header .nav-toggle span{
    width:18px!important;
    height:2px!important;
    margin:2px 0!important;
    border-radius:999px!important;
    background:currentColor!important;
  }
  .site-header .primary-nav,
  .site-header .primary-nav.is-open{
    position:static!important;
    display:none!important;
    width:100%!important;
    max-width:calc(100vw - 1.25rem)!important;
    max-height:min(72vh,640px)!important;
    margin:.58rem auto 0!important;
    padding:.62rem!important;
    overflow-y:auto!important;
    overflow-x:hidden!important;
    overscroll-behavior:contain!important;
    border:1px solid rgba(255,255,255,.18)!important;
    border-radius:16px!important;
    background:rgba(17,22,20,.96)!important;
    box-shadow:0 24px 70px rgba(0,0,0,.28)!important;
    backdrop-filter:blur(18px)!important;
  }
  .site-header .primary-nav.is-open{
    display:grid!important;
    gap:.52rem!important;
  }
  .site-header .primary-nav > a,
  .site-header .nav-group > button{
    display:flex!important;
    align-items:center!important;
    justify-content:space-between!important;
    width:100%!important;
    min-height:44px!important;
    padding:.72rem .78rem!important;
    border:1px solid rgba(255,255,255,.12)!important;
    border-radius:12px!important;
    background:rgba(255,255,255,.06)!important;
    color:#fff7df!important;
    text-align:start!important;
    white-space:normal!important;
    overflow-wrap:anywhere!important;
    line-height:1.25!important;
  }
  .site-header .nav-group{
    position:static!important;
    display:grid!important;
    gap:.42rem!important;
    width:100%!important;
    max-width:100%!important;
  }
  .site-header .nav-group > .mega-panel{
    position:static!important;
    inset:auto!important;
    display:none!important;
    width:100%!important;
    min-width:0!important;
    max-width:100%!important;
    transform:none!important;
    margin:0!important;
    padding:.48rem!important;
    overflow:visible!important;
    border:1px solid rgba(255,255,255,.12)!important;
    border-radius:13px!important;
    background:rgba(255,255,255,.06)!important;
    box-shadow:none!important;
  }
  .site-header .nav-group.is-open > .mega-panel,
  .site-header .nav-group:focus-within > .mega-panel{
    display:grid!important;
    gap:.42rem!important;
  }
  .site-header .mega-panel > span{
    display:block!important;
    max-width:100%!important;
    padding:.42rem .48rem!important;
    color:#dfd2ad!important;
    font-size:.78rem!important;
    font-weight:900!important;
    line-height:1.35!important;
    white-space:normal!important;
    overflow-wrap:anywhere!important;
  }
  .site-header .mega-panel a{
    display:grid!important;
    gap:.18rem!important;
    width:100%!important;
    max-width:100%!important;
    min-height:54px!important;
    padding:.62rem .68rem!important;
    border-radius:10px!important;
    background:rgba(255,255,255,.08)!important;
    color:#fff7df!important;
    text-decoration:none!important;
    overflow:hidden!important;
  }
  .site-header .mega-panel a strong,
  .site-header .mega-panel a span{
    display:block!important;
    max-width:100%!important;
    overflow:visible!important;
    white-space:normal!important;
    overflow-wrap:anywhere!important;
    word-break:normal!important;
    text-overflow:clip!important;
    line-height:1.32!important;
  }
  .site-header .mega-panel a span{
    color:#d7cdb8!important;
    font-size:.78rem!important;
  }
  .site-header .header-actions .lang-link{
    display:inline-flex!important;
    align-items:center!important;
    justify-content:center!important;
    flex:0 0 auto!important;
    min-width:42px!important;
    min-height:38px!important;
    max-width:4.5rem!important;
    padding:.42rem .58rem!important;
    border:1px solid rgba(255,255,255,.28)!important;
    border-radius:999px!important;
    background:rgba(18,25,23,.82)!important;
    color:#fff7df!important;
    font-size:.82rem!important;
    font-weight:950!important;
    line-height:1!important;
    text-decoration:none!important;
    white-space:nowrap!important;
  }
  html[data-theme="light"] .site-header .primary-nav,
  html[data-theme="light"] .site-header .primary-nav.is-open{
    background:rgba(250,246,236,.98)!important;
    border-color:rgba(23,22,18,.12)!important;
    box-shadow:0 24px 70px rgba(38,31,20,.18)!important;
  }
  html[data-theme="light"] .site-header .primary-nav > a,
  html[data-theme="light"] .site-header .nav-group > button,
  html[data-theme="light"] .site-header .mega-panel a{
    background:rgba(255,255,255,.70)!important;
    border-color:rgba(23,22,18,.10)!important;
    color:#171612!important;
  }
  html[data-theme="light"] .site-header .mega-panel,
  html[data-theme="light"] .site-header .nav-group > .mega-panel{
    background:rgba(23,22,18,.04)!important;
    border-color:rgba(23,22,18,.10)!important;
  }
  html[data-theme="light"] .site-header .mega-panel > span,
  html[data-theme="light"] .site-header .mega-panel a span{
    color:#625c51!important;
  }
  html[data-theme="light"] .site-header .header-actions .lang-link,
  html[data-theme="light"] .site-header .nav-toggle{
    background:#173b37!important;
    border-color:rgba(23,22,18,.16)!important;
    color:#fff7df!important;
  }
}

@media(max-width:640px){
  .site-header{
    gap:.45rem!important;
    padding-inline:.7rem!important;
  }
  .site-header .brand img{
    width:36px!important;
    height:36px!important;
  }
  .site-header .header-actions{
    gap:.36rem!important;
  }
  .site-header .header-actions .theme-toggle,
  .site-header .header-actions .cart-link{
    display:none!important;
  }
  .site-header .primary-nav,
  .site-header .primary-nav.is-open{
    max-width:calc(100vw - 1rem)!important;
    padding:.52rem!important;
  }
  .home .trading-hero .primary,
  .home .trading-hero .secondary,
  .home .trading-hero .actions a,
  .monetization-disabled-cta,
  .product-plan-section .plan-actions .monetization-disabled-cta{
    color:#fff7df!important;
    background:#173b37!important;
    border-color:rgba(255,255,255,.20)!important;
  }
  .home .trading-hero .secondary,
  .monetization-disabled-cta,
  .product-plan-section .plan-actions .monetization-disabled-cta{
    background:#2e332e!important;
    color:#f7efd8!important;
    opacity:1!important;
  }
}

/* FRONTEND-3H-E: read-only Platform monetization display. */
.readonly-monetization-section{
  max-width:1240px;
}
.readonly-monetization-section .section-lead small{
  display:inline-flex;
  width:max-content;
  max-width:100%;
  margin-top:.65rem;
  padding:.36rem .62rem;
  border:1px solid rgba(207,190,156,.22);
  border-radius:999px;
  color:#d9c89f;
  background:rgba(255,248,228,.06);
  font-weight:850;
  line-height:1.45;
}
.readonly-monetization-grid{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:.9rem;
  margin-top:1.2rem;
}
.readonly-monetization-card{
  display:flex;
  min-width:0;
  min-height:100%;
  flex-direction:column;
  gap:.8rem;
  padding:1rem;
  border:1px solid rgba(207,190,156,.18);
  border-radius:14px;
  background:linear-gradient(145deg,rgba(35,34,29,.94),rgba(22,23,20,.9));
  color:#f7f0df;
  box-shadow:0 18px 52px rgba(0,0,0,.15);
}
.readonly-monetization-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:.65rem;
  min-width:0;
}
.readonly-monetization-head span,
.readonly-monetization-head b{
  display:inline-flex;
  align-items:center;
  min-height:28px;
  min-width:0;
  padding:.24rem .52rem;
  border-radius:999px;
  border:1px solid rgba(207,190,156,.16);
  background:rgba(255,248,228,.06);
  color:#d8c698;
  font-size:.68rem;
  font-weight:950;
  line-height:1.25;
  overflow:hidden;
  text-overflow:ellipsis;
}
.readonly-monetization-card h3{
  margin:0;
  color:#fff4d8;
  font-size:1.2rem;
  line-height:1.18;
}
.readonly-monetization-card p{
  margin:0;
  color:#d3c8ad;
  font-size:.88rem;
  line-height:1.7;
}
.readonly-monetization-card ul{
  display:grid;
  gap:.52rem;
  margin:.15rem 0 0;
  padding:0;
  list-style:none;
}
.readonly-monetization-card li{
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  gap:.45rem .7rem;
  align-items:center;
  min-width:0;
  padding:.62rem;
  border:1px solid rgba(207,190,156,.13);
  border-radius:10px;
  background:rgba(255,248,228,.045);
}
.readonly-monetization-card li div{
  display:grid;
  min-width:0;
  gap:.18rem;
}
.readonly-monetization-card li strong,
.readonly-monetization-card li span,
.readonly-monetization-card li b,
.readonly-monetization-card li em{
  min-width:0;
  overflow-wrap:anywhere;
}
.readonly-monetization-card li strong{
  color:#fff1cf;
  font-size:.86rem;
  line-height:1.25;
}
.readonly-monetization-card li span{
  color:#bfb295;
  font-size:.74rem;
  line-height:1.35;
}
.readonly-monetization-card li b{
  color:#e1c16d;
  font-size:.82rem;
  line-height:1.25;
  text-align:end;
}
.readonly-monetization-card li em{
  grid-column:1/-1;
  color:#a79c84;
  font-size:.72rem;
  font-style:normal;
  line-height:1.35;
}
.readonly-monetization-actions{
  display:grid;
  grid-template-columns:1fr;
  gap:.48rem;
  margin-top:auto;
}
.readonly-monetization-actions .secondary,
.readonly-monetization-actions .monetization-disabled-cta{
  width:100%;
  min-width:0;
  max-width:100%;
  box-sizing:border-box;
  white-space:normal;
  overflow-wrap:anywhere;
}
.readonly-monetization-actions .monetization-disabled-cta{
  opacity:1!important;
  filter:none!important;
  border:1px dashed rgba(207,190,156,.28);
  background:rgba(255,248,228,.09);
  color:#d7c8a5;
  font:inherit;
  font-weight:900;
}
.readonly-monetization-actions .vx-letter,
.readonly-monetization-actions .vx-letter-clone{
  position:static!important;
  inset:auto!important;
  transform:none!important;
  transition:none!important;
  animation:none!important;
  opacity:1!important;
  letter-spacing:0!important;
}
.readonly-monetization-actions .vx-letter{
  display:contents!important;
  margin:0!important;
  padding:0!important;
}
.readonly-monetization-actions .vx-letter-clone{
  display:none!important;
}
.readonly-monetization-boundary{
  display:flex;
  align-items:center;
  gap:.75rem;
  margin-top:1rem;
  padding:.85rem 1rem;
  border:1px solid rgba(207,190,156,.16);
  border-radius:12px;
  background:rgba(255,248,228,.055);
  color:#d5c7aa;
}
.readonly-monetization-boundary strong{
  color:#f4d487;
  white-space:nowrap;
}
.readonly-monetization-boundary span{
  min-width:0;
  line-height:1.65;
}
.readonly-product-boundary{
  display:flex;
  align-items:center;
  gap:.75rem;
  margin-top:.9rem;
  padding:.82rem 1rem;
  border:1px solid rgba(207,190,156,.16);
  border-radius:12px;
  background:rgba(255,248,228,.055);
  color:#d5c7aa;
}
.readonly-product-boundary strong{
  color:#f4d487;
  white-space:nowrap;
}
.readonly-product-boundary span{
  min-width:0;
  line-height:1.65;
}
.readonly-plan-disabled{
  width:100%;
  min-width:0;
  max-width:100%;
  min-height:42px;
  box-sizing:border-box;
  padding:.62rem .78rem;
  border-radius:9px;
  white-space:normal;
  overflow-wrap:anywhere;
}
.plan-actions .readonly-plan-disabled{
  font-size:.82rem;
}
.account-readonly-placeholder .secondary{
  width:max-content;
  max-width:100%;
  margin-top:.6rem;
  box-sizing:border-box;
  white-space:normal;
  overflow-wrap:anywhere;
}
.account-readonly-state{
  position:relative;
}
.account-safe-actions{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:.65rem;
  margin-top:1rem;
}
.account-safe-actions .secondary,
.account-safe-actions .monetization-disabled-cta{
  max-width:100%;
  min-width:0;
  box-sizing:border-box;
  white-space:normal;
  overflow-wrap:anywhere;
}
html[data-theme="light"] .readonly-monetization-section .section-lead small,
html[data-theme="light"] .readonly-monetization-card,
html[data-theme="light"] .readonly-monetization-card li,
html[data-theme="light"] .readonly-monetization-boundary,
html[data-theme="light"] .readonly-product-boundary{
  background:rgba(255,252,245,.78)!important;
  border-color:rgba(78,66,48,.16)!important;
  color:#30291f!important;
  box-shadow:0 16px 42px rgba(64,52,35,.08)!important;
}
html[data-theme="light"] .readonly-monetization-card h3,
html[data-theme="light"] .readonly-monetization-card li strong,
html[data-theme="light"] .readonly-monetization-boundary strong,
html[data-theme="light"] .readonly-product-boundary strong{
  color:#27231d!important;
}
html[data-theme="light"] .readonly-monetization-card p,
html[data-theme="light"] .readonly-monetization-card li span,
html[data-theme="light"] .readonly-monetization-card li em,
html[data-theme="light"] .readonly-monetization-boundary span,
html[data-theme="light"] .readonly-product-boundary span{
  color:#5f5547!important;
}
html[data-theme="light"] .readonly-monetization-head span,
html[data-theme="light"] .readonly-monetization-head b{
  color:#244f49!important;
  background:rgba(36,79,73,.07)!important;
  border-color:rgba(36,79,73,.14)!important;
}
html[data-theme="light"] .readonly-monetization-actions .monetization-disabled-cta{
  color:#665b48!important;
  background:rgba(58,47,31,.07)!important;
  border-color:rgba(58,47,31,.18)!important;
}
html[data-theme="light"] .account-safe-actions .secondary{
  border-color:rgba(63,52,37,.18);
}
@media(max-width:1080px){
  .readonly-monetization-grid{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
}
@media(max-width:640px){
  .readonly-monetization-section{
    overflow:hidden;
  }
  .readonly-monetization-section .section-lead small{
    width:100%;
    border-radius:12px;
  }
  .readonly-monetization-grid{
    grid-template-columns:1fr;
    gap:.7rem;
  }
  .readonly-monetization-card{
    padding:.86rem;
    border-radius:12px;
  }
  .readonly-monetization-card li{
    grid-template-columns:1fr;
  }
  .readonly-monetization-card li b{
    text-align:start;
  }
  .readonly-monetization-boundary{
    display:grid;
    gap:.35rem;
    padding:.78rem;
  }
  .readonly-product-boundary{
    display:grid;
    gap:.35rem;
    padding:.78rem;
  }
  .readonly-monetization-boundary strong,
  .readonly-product-boundary strong{
    white-space:normal;
  }
  .account-safe-actions{
    display:grid;
    grid-template-columns:1fr;
  }
  .account-safe-actions .secondary,
  .account-safe-actions .monetization-disabled-cta{
    width:100%;
    justify-content:center;
  }
  .product-plan-section .plan-compare-table,
  .journal-compare-section .plan-compare-table,
  .tool-access-compare .plan-compare-table{
    width:100%;
    max-width:100%;
    overflow:hidden;
    box-sizing:border-box;
  }
  .product-plan-section .plan-compare-table table,
  .journal-compare-section .plan-compare-table table,
  .tool-access-compare .plan-compare-table table{
    width:100%;
    min-width:0;
    table-layout:fixed;
  }
  .product-plan-section .plan-compare-table th,
  .product-plan-section .plan-compare-table td,
  .journal-compare-section .plan-compare-table th,
  .journal-compare-section .plan-compare-table td,
  .tool-access-compare .plan-compare-table th,
  .tool-access-compare .plan-compare-table td{
    width:auto;
    min-width:0;
    padding:.68rem .42rem;
    font-size:.78rem;
    line-height:1.55;
    white-space:normal;
    overflow-wrap:anywhere;
    word-break:normal;
  }
  .product-plan-section .plan-compare-table tbody th,
  .journal-compare-section .plan-compare-table tbody th,
  .tool-access-compare .plan-compare-table tbody th{
    width:auto;
    min-width:0;
  }
  .product-plan-section .plan-actions .primary,
  .product-plan-section .plan-actions .secondary,
  .product-plan-section .plan-actions .monetization-disabled-cta,
  .journal-compare-section .plan-actions .primary,
  .journal-compare-section .plan-actions .secondary,
  .journal-compare-section .plan-actions .monetization-disabled-cta,
  .tool-access-compare .plan-actions .primary,
  .tool-access-compare .plan-actions .secondary,
  .tool-access-compare .plan-actions .monetization-disabled-cta{
    width:100%;
    max-width:100%;
    min-width:0;
    min-height:40px;
    padding:.58rem .4rem;
    font-size:.7rem;
    line-height:1.35;
    white-space:normal;
    overflow-wrap:anywhere;
    box-sizing:border-box;
  }
  .product-plan-section .plan-note,
  .journal-compare-section .plan-note,
  .tool-access-compare .plan-note{
    max-width:100%;
    font-size:.74rem;
    line-height:1.55;
  }
  .plan-actions .readonly-plan-disabled{
    font-size:.78rem;
    line-height:1.25;
  }
}

/* MOBILE-NAV-LANGUAGE-FIX-3H-G-B: final cascade guard for older desktop mega-panel transforms. */
@media(max-width:980px){
  .site-header .primary-nav.is-open .nav-group > div.mega-panel,
  .site-header .primary-nav.is-open .nav-group:hover > div.mega-panel,
  .site-header .primary-nav.is-open .nav-group:focus-within > div.mega-panel,
  .site-header .primary-nav.is-open .nav-group.is-open > div.mega-panel{
    position:static!important;
    inset:auto!important;
    left:auto!important;
    right:auto!important;
    top:auto!important;
    bottom:auto!important;
    display:none!important;
    width:100%!important;
    min-width:0!important;
    max-width:100%!important;
    margin:.42rem 0 0!important;
    transform:none!important;
    translate:none!important;
    overflow:visible!important;
  }
  .site-header .primary-nav.is-open .nav-group.is-open > div.mega-panel,
  .site-header .primary-nav.is-open .nav-group:focus-within > div.mega-panel{
    display:grid!important;
  }
}

@media(max-width:640px){
  .product-storyline,
  .product-storyline .story-visual-stage{
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    box-sizing:border-box!important;
    overflow:hidden!important;
  }
  .product-storyline .story-webgl,
  .product-storyline[data-product="prism"] .story-webgl,
  .product-storyline[data-product="journal"] .story-webgl,
  .product-storyline[data-product="replay"] .story-webgl{
    inset:0!important;
    width:100%!important;
    max-width:100%!important;
    height:100%!important;
    transform:none!important;
  }
  .product-storyline[data-product="prism"] .story-prism-backdrop{
    inset:0!important;
    overflow:hidden!important;
    max-width:100%!important;
  }
  .product-storyline[data-product="prism"] .story-prism-backdrop b{
    left:50%!important;
    width:min(72vw,260px)!important;
    max-width:72vw!important;
  }
  .product-storyline[data-product="prism"] .story-prism-backdrop i{
    left:50%!important;
    width:min(82vw,330px)!important;
    max-width:82vw!important;
    transform-origin:center center!important;
    display:none!important;
  }
  .product-storyline .vx-letter,
  .station-page .vx-letter,
  .page-hero .vx-letter{
    position:static!important;
    inset:auto!important;
    display:contents!important;
    transform:none!important;
    transition:none!important;
    animation:none!important;
    letter-spacing:0!important;
  }
  .product-storyline .vx-letter-clone,
  .station-page .vx-letter-clone,
  .page-hero .vx-letter-clone{
    display:none!important;
  }
  .product-storyline .actions,
  .product-storyline .story-copy .actions,
  .station-page .actions,
  .page-hero .actions,
  .product-detail .actions,
  .section .plan-actions{
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    box-sizing:border-box!important;
    overflow:visible!important;
  }
  .product-storyline .actions a,
  .product-storyline .story-copy .actions a,
  .station-page .actions a,
  .page-hero .actions a,
  .product-detail .actions a,
  .section .plan-actions a,
  .product-storyline .primary,
  .product-storyline .secondary,
  .station-page .primary,
  .station-page .secondary,
  .page-hero .primary,
  .page-hero .secondary{
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    box-sizing:border-box!important;
    justify-content:center!important;
    padding:.68rem .78rem!important;
    white-space:normal!important;
    overflow-wrap:anywhere!important;
    word-break:normal!important;
    line-height:1.2!important;
    text-align:center!important;
    overflow:hidden!important;
  }
  .product-storyline .actions .vx-letter,
  .product-storyline .story-copy .actions .vx-letter,
  .station-page .actions .vx-letter,
  .page-hero .actions .vx-letter,
  .product-storyline .actions .vx-letter-clone,
  .product-storyline .story-copy .actions .vx-letter-clone,
  .station-page .actions .vx-letter-clone,
  .page-hero .actions .vx-letter-clone{
    position:static!important;
    inset:auto!important;
    transform:none!important;
    transition:none!important;
    animation:none!important;
    letter-spacing:0!important;
  }
  .product-storyline .actions .vx-letter,
  .product-storyline .story-copy .actions .vx-letter,
  .station-page .actions .vx-letter,
  .page-hero .actions .vx-letter{
    display:contents!important;
  }
  .product-storyline .actions .vx-letter-clone,
  .product-storyline .story-copy .actions .vx-letter-clone,
  .station-page .actions .vx-letter-clone,
  .page-hero .actions .vx-letter-clone{
    display:none!important;
  }
}

/* Homepage desktop layout refinement: reserve rail/map columns without changing source markup. */
@media (min-width: 1101px){
  .home .trading-hero{
    padding-block:clamp(2.2rem,4vh,3.5rem) clamp(2.25rem,4.5vh,3.75rem)!important;
  }
  .home .trading-hero .hero-inner{
    display:grid!important;
    grid-template-columns:minmax(220px,240px) minmax(0,1fr)!important;
    max-width:1280px!important;
    column-gap:clamp(1rem,2.2vw,2rem)!important;
    row-gap:clamp(1rem,2vh,1.75rem)!important;
    align-items:center!important;
    justify-items:stretch!important;
  }
  html[dir="ltr"] .home .trading-hero .hero-inner{
    grid-template-columns:minmax(220px,240px) minmax(0,1fr)!important;
    grid-template-areas:
      "copy copy"
      "rail map";
  }
  html[dir="rtl"] .home .trading-hero .hero-inner{
    grid-template-columns:minmax(0,1fr) minmax(220px,240px)!important;
    grid-template-areas:
      "copy copy"
      "map rail";
  }
  .home .trading-hero .hero-copy{
    grid-area:copy;
    justify-self:center;
  }
  .home .system-side-rail{
    grid-area:rail;
    justify-self:stretch;
    align-self:stretch;
    width:100%;
    min-height:auto;
    gap:.55rem;
    padding:.6rem;
    overflow:visible;
  }
  .home .system-rail-card{
    min-height:74px;
    padding:.62rem .68rem;
  }
  .home .market-console{
    --home-map-bottom-extension:30px;
    grid-area:map;
    display:grid!important;
    grid-template-rows:1fr!important;
    justify-self:stretch;
    align-self:start;
    width:100%!important;
    height:calc(100% + var(--home-map-bottom-extension));
    min-width:0;
  }
  .home .chart-zone{
    display:grid!important;
    grid-template-rows:1fr!important;
    align-self:stretch;
    height:100%;
    min-height:auto!important;
  }
  .home .neural-system-map{
    min-height:100%!important;
    height:100%!important;
  }
  .home .trading-hero h1{
    font-size:clamp(2.2rem,3.6vw,4.25rem)!important;
    line-height:1.14!important;
  }
  html[lang="fa"] .home .trading-hero h1,
  html[dir="rtl"] .home .trading-hero h1{
    font-size:clamp(2.1rem,3.35vw,3.9rem)!important;
    line-height:1.18!important;
  }
}

@media (max-width: 1100px){
  .home .trading-hero .hero-inner{
    grid-template-columns:1fr!important;
    grid-template-areas:
      "copy"
      "rail"
      "map";
  }
}

/* Auth desktop layout and form readability refinement. */
@media (min-width: 961px){
  .auth-refined-page{
    padding:clamp(2rem,4vh,3.5rem) clamp(1.25rem,4vw,3.5rem);
  }
  .auth-refined-flow{
    width:min(1220px,calc(100% - 3rem));
    grid-template-columns:minmax(440px,.95fr) minmax(460px,1fr);
    gap:clamp(1.35rem,2.2vw,2.5rem);
    align-items:center;
  }
  .auth-refined-flow .auth-copy{
    padding:clamp(.75rem,1.5vw,1.5rem);
  }
  .auth-refined-flow .auth-panel{
    width:min(570px,100%);
    padding:clamp(2.1rem,2.6vw,2.65rem);
    gap:1.05rem;
    justify-self:stretch;
  }
  .auth-refined-flow .auth-panel input{
    min-height:58px;
    padding-inline:1rem;
  }
  .auth-refined-flow .auth-panel .primary,
  .auth-refined-flow .auth-panel .google-auth{
    min-height:52px;
  }
}

html[dir="rtl"] .auth-refined-flow .auth-panel input[type="email"]{
  direction:ltr;
  text-align:left;
  unicode-bidi:plaintext;
}

.admin-access-gate-page{
  min-height:calc(100vh - 72px);
  display:grid;
  place-items:center;
  padding:clamp(1rem,4vw,3rem);
}
.admin-access-gate{
  width:min(760px,100%);
}
.admin-access-card{
  padding:clamp(1.4rem,4vw,2.5rem);
  border:1px solid rgba(214,185,119,.18);
  border-radius:12px;
  background:rgba(18,16,13,.72);
  box-shadow:0 22px 70px rgba(0,0,0,.22);
}
.admin-access-card h1{
  margin:.65rem 0 .75rem;
  font-size:clamp(2rem,4vw,3.4rem);
  line-height:1.15;
  letter-spacing:0;
}
.admin-access-card p{
  max-width:58ch;
}
.admin-access-actions{
  direction:inherit;
}
.admin-access-actions a{
  direction:inherit;
  unicode-bidi:isolate;
  letter-spacing:0!important;
  transform:none!important;
}
html[lang="fa"] .admin-access-actions a[href*="/login/"],
html[dir="rtl"] .admin-access-actions a[href*="/login/"]{
  direction:rtl;
}
html[lang="en"] .admin-access-actions,
html[lang="en"] .admin-access-actions a{
  direction:ltr;
}

.auth-refined-flow .auth-switch-row,
.auth-panel .auth-switch-row{
  display:flex!important;
  flex-wrap:wrap!important;
  align-items:center!important;
  justify-content:center!important;
  gap:.35rem .55rem!important;
  background:rgba(0,0,0,.34)!important;
  border-color:rgba(255,217,138,.34)!important;
}

.auth-refined-flow .auth-switch-row span,
.auth-panel .auth-switch-row span{
  color:#fff6df!important;
  opacity:1!important;
}

.auth-refined-flow .auth-switch-row a,
.auth-panel .auth-switch-row a{
  color:#ffdf75!important;
  opacity:1!important;
  text-shadow:0 1px 12px rgba(0,0,0,.55)!important;
}

.auth-refined-flow .auth-switch-row a:visited,
.auth-panel .auth-switch-row a:visited{
  color:#ffdf75!important;
}

html[data-theme="light"] .auth-refined-flow .auth-switch-row,
html[data-theme="light"] .auth-panel .auth-switch-row{
  background:rgba(255,250,241,.94)!important;
  border-color:rgba(113,80,0,.30)!important;
}

html[data-theme="light"] .auth-refined-flow .auth-switch-row span,
html[data-theme="light"] .auth-panel .auth-switch-row span{
  color:#2a2113!important;
}

html[data-theme="light"] .auth-refined-flow .auth-switch-row a,
html[data-theme="light"] .auth-panel .auth-switch-row a{
  color:#244f49!important;
  text-shadow:none!important;
}

html[data-theme="light"] .auth-refined-flow .auth-switch-row a:visited,
html[data-theme="light"] .auth-panel .auth-switch-row a:visited{
  color:#244f49!important;
}

.site-header .header-actions .commerce-cart-link:not([hidden]){
  display:inline-flex!important;
}

.admin-money-field{
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  align-items:center;
  gap:8px;
}

.admin-money-field em{
  color:var(--muted);
  font-style:normal;
  font-size:.86rem;
}

.admin-coupon-preview{
  border:1px solid rgba(255,255,255,.12);
  border-radius:8px;
  padding:10px 12px;
  background:rgba(255,255,255,.035);
}

.admin-coupon-preview dl{
  display:grid;
  gap:6px;
  margin:8px 0 0;
}

.admin-coupon-preview dl div{
  display:flex;
  justify-content:space-between;
  gap:12px;
}

.ton-success-actions[hidden],
.ton-success-actions [hidden]{
  display:none!important;
}

/* PRISM Observatory: editorial intelligence workspace */
.prism-observatory {
  --prism-bg: #07100f;
  --prism-ink: #f2eee4;
  --prism-muted: #9baaa5;
  --prism-line: #263633;
  --prism-core: #bda36c;
  --prism-pro: #2da68e;
  --prism-expert: #517b94;
  width: min(100%, 1320px);
  margin: 0 auto;
  padding: clamp(1.5rem, 3vw, 3.5rem);
  color: var(--prism-ink);
  background:
    linear-gradient(90deg, transparent 0, transparent calc(100% - 1px), rgba(255,255,255,.025) calc(100% - 1px)),
    var(--prism-bg);
  background-size: min(24vw, 18rem) 100%;
  border: 1px solid var(--prism-line);
  border-radius: 2px;
}
.prism-observatory * { box-sizing: border-box; }
.prism-observatory-hero { padding: clamp(2rem, 7vw, 7rem) 0 clamp(2.25rem, 5vw, 4.5rem); max-width: 68rem; }
.prism-observatory-eyebrow,
.prism-section-label {
  margin: 0 0 .85rem;
  color: var(--prism-muted);
  font-size: .73rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.prism-observatory h1 {
  margin: 0;
  max-width: 15ch;
  color: var(--prism-ink);
  font-size: clamp(2.8rem, 7vw, 7rem);
  font-weight: 560;
  letter-spacing: -.055em;
  line-height: .94;
}
.prism-observatory-lead {
  max-width: 48rem;
  margin: clamp(1.5rem, 3vw, 2.75rem) 0 0;
  color: var(--prism-muted);
  font-size: clamp(1rem, 1.5vw, 1.35rem);
  line-height: 1.85;
}
.prism-observatory-nav {
  position: sticky;
  z-index: 8;
  top: 0;
  display: flex;
  gap: clamp(1rem, 3vw, 2.75rem);
  overflow-x: auto;
  padding: .7rem 0;
  background: rgba(7,16,15,.96);
  border-block: 1px solid var(--prism-line);
  scrollbar-width: thin;
}
.prism-observatory-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--prism-muted);
  white-space: nowrap;
  text-decoration: none;
}
.prism-observatory-nav a[aria-current="page"] { color: var(--prism-ink); border-bottom: 2px solid currentColor; }
.prism-chapter { padding: clamp(3rem, 7vw, 7.5rem) 0; border-bottom: 1px solid var(--prism-line); }
.prism-chapter-heading { max-width: 52rem; margin-bottom: clamp(1.5rem, 4vw, 3rem); }
.prism-chapter h2,
.prism-disclosure h2,
.prism-report-narrative h2,
.prism-profile-overview h2 {
  margin: 0;
  color: var(--prism-ink);
  font-size: clamp(1.65rem, 3.6vw, 3.6rem);
  font-weight: 560;
  letter-spacing: -.035em;
  line-height: 1.12;
}
.prism-product-ledger { border-top: 1px solid var(--prism-line); }
.prism-product-row {
  display: grid;
  grid-template-columns: 4.5rem minmax(0, 1fr) minmax(9rem, .28fr) auto;
  gap: clamp(1rem, 2.5vw, 2.5rem);
  align-items: center;
  min-height: 11rem;
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--prism-line);
}
.prism-product-index { color: var(--prism-muted); font-variant-numeric: tabular-nums; }
.prism-product-copy h2 { margin: 0 0 .6rem; color: var(--prism-ink); font-size: clamp(1.5rem, 2.6vw, 2.8rem); font-weight: 560; }
.prism-product-copy p,
.prism-primary-line p,
.prism-disclosure p,
.prism-authority-note p,
.prism-honest-empty p,
.prism-report-lead { margin: 0; color: var(--prism-muted); line-height: 1.8; }
.prism-product-state { display: grid; gap: .35rem; }
.prism-product-state span { color: var(--prism-muted); font-size: .76rem; text-transform: uppercase; letter-spacing: .08em; }
.prism-product-state strong { font-weight: 600; }
.prism-product-row--core .prism-product-state strong,
.prism-observatory--core .prism-section-label { color: var(--prism-core); }
.prism-product-row--pro .prism-product-state strong,
.prism-observatory--pro .prism-section-label { color: var(--prism-pro); }
.prism-product-row--expert .prism-product-state strong,
.prism-observatory--expert .prism-section-label { color: var(--prism-expert); }
.prism-product-state .is-unavailable { color: var(--prism-muted); }
.prism-text-action,
.prism-inline-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
  padding: .55rem .1rem;
  color: var(--prism-ink);
  background: transparent;
  border: 0;
  border-bottom: 1px solid currentColor;
  border-radius: 0;
  font: inherit;
  font-weight: 650;
  text-decoration: none;
  cursor: pointer;
}
.prism-profile-passage,
.prism-primary-line {
  display: flex;
  gap: 2rem;
  align-items: end;
  justify-content: space-between;
}
.prism-data-ledger { margin: 0; border-top: 1px solid var(--prism-line); }
.prism-data-ledger > div {
  display: grid;
  grid-template-columns: minmax(9rem, .38fr) 1fr;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--prism-line);
}
.prism-data-ledger dt { color: var(--prism-muted); }
.prism-data-ledger dd { margin: 0; color: var(--prism-ink); font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.prism-narrative { max-width: 56rem; padding: clamp(2rem, 5vw, 5rem) 0; color: var(--prism-ink); font-size: clamp(1.2rem, 2vw, 1.8rem); line-height: 1.8; }
.prism-workspace-shell { padding: clamp(2.5rem, 6vw, 6rem) 0; border-bottom: 1px solid var(--prism-line); }
.prism-workspace-tabs {
  display: flex;
  gap: .2rem;
  overflow-x: auto;
  border-bottom: 1px solid var(--prism-line);
}
.prism-workspace-tabs button {
  min-height: 48px;
  padding: .7rem 1rem;
  color: var(--prism-muted);
  background: transparent;
  border: 0;
  border-bottom: 2px solid transparent;
  font: inherit;
  white-space: nowrap;
  cursor: pointer;
}
.prism-workspace-tabs button[aria-selected="true"] { color: var(--prism-ink); border-bottom-color: var(--prism-pro); }
.prism-server-status { min-height: 3rem; padding: 1rem 0; color: var(--prism-muted); }
.prism-workspace-stage { min-height: 22rem; }
.prism-state-message { padding: clamp(3rem, 8vw, 8rem) 0; max-width: 52rem; }
.prism-state-message h2 { margin: 0 0 2rem; color: var(--prism-ink); font-size: clamp(1.5rem, 3vw, 3rem); font-weight: 560; }
.prism-progress-line { height: 3px; margin: 0 0 2rem; background: var(--prism-line); overflow: hidden; }
.prism-progress-line span { display: block; height: 100%; background: var(--prism-pro); transition: width .25s ease; }
.prism-runtime-frame { width: 100%; min-height: 74vh; margin-top: 2rem; border: 1px solid var(--prism-line); background: #050908; }
.prism-report-narrative,
.prism-methodology { padding: clamp(2.5rem, 6vw, 6rem) 0; }
.prism-report-lead { max-width: 54rem; margin: 1.5rem 0 3rem; font-size: clamp(1.05rem, 1.7vw, 1.4rem); }
.prism-dimension-lines,
.prism-evidence-list { padding: 3rem 0 0; }
.prism-dimension-lines h3,
.prism-evidence-list h3 { margin: 0 0 1rem; color: var(--prism-ink); font-size: 1.1rem; font-weight: 650; }
.prism-evidence-list details { border-top: 1px solid var(--prism-line); }
.prism-evidence-list details:last-child { border-bottom: 1px solid var(--prism-line); }
.prism-evidence-list summary { min-height: 52px; padding: 1rem 0; color: var(--prism-ink); cursor: pointer; }
.prism-evidence-list details p { max-width: 58rem; padding: 0 0 1.5rem; color: var(--prism-muted); line-height: 1.75; }
.prism-history-line { margin: 0; padding: clamp(2rem, 5vw, 5rem) 0; list-style: none; }
.prism-history-line li {
  position: relative;
  display: grid;
  grid-template-columns: 1rem 1fr auto;
  gap: 1.25rem;
  align-items: center;
  min-height: 6rem;
  border-bottom: 1px solid var(--prism-line);
}
.prism-history-marker { width: .55rem; height: .55rem; background: var(--prism-pro); border-radius: 50%; }
.prism-history-line strong,
.prism-history-line time { display: block; }
.prism-history-line time { margin-top: .35rem; color: var(--prism-muted); font-variant-numeric: tabular-nums; }
.prism-observatory--profile {
  --prism-profile-surface: #0a1513;
  --prism-profile-surface-raised: #0e1c19;
  border-color: #30413d;
  border-radius: 18px;
  background:
    radial-gradient(circle at 88% 0, rgba(45,166,142,.12), transparent 30rem),
    radial-gradient(circle at 8% 80%, rgba(189,163,108,.08), transparent 28rem),
    linear-gradient(90deg, transparent 0, transparent calc(100% - 1px), rgba(255,255,255,.022) calc(100% - 1px)),
    var(--prism-bg);
  background-size: auto, auto, min(24vw, 18rem) 100%, auto;
  box-shadow: 0 28px 90px rgba(0,0,0,.2);
}
.prism-decision-profile {
  padding: clamp(1.25rem, 3vw, 2rem) 0 2rem;
  border-bottom: 0;
}
.prism-decision-profile .prism-server-status {
  min-height: 0;
  padding: 0 0 1rem;
}
.prism-decision-profile .prism-server-status:empty { display: none; }
.prism-profile-intelligence { min-height: 22rem; }
.prism-profile-overview {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: clamp(1.5rem, 4vw, 4rem);
  align-items: center;
  margin-bottom: 1rem;
  padding: clamp(1.25rem, 2.6vw, 2rem);
  border: 1px solid rgba(126,159,150,.24);
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(18,38,34,.94), rgba(9,22,19,.84));
  box-shadow: inset 0 1px rgba(255,255,255,.035);
}
.prism-profile-overview h2 {
  font-size: clamp(1.55rem, 2.8vw, 2.45rem);
  letter-spacing: -.025em;
}
.prism-profile-overview > div:first-child > p:last-child {
  max-width: 46rem;
  margin: .75rem 0 0;
  color: #b1bfba;
  line-height: 1.8;
}
.prism-profile-completion {
  display: grid;
  min-width: 10rem;
  padding-inline-start: clamp(1rem, 2.5vw, 2.25rem);
  border-inline-start: 1px solid rgba(126,159,150,.22);
}
.prism-profile-completion strong {
  color: var(--prism-ink);
  font-size: clamp(2rem, 4vw, 3.4rem);
  font-weight: 620;
  font-variant-numeric: tabular-nums;
  line-height: 1;
}
.prism-profile-completion strong span {
  color: #7e948e;
  font-size: .48em;
  font-weight: 500;
}
.prism-profile-completion > span {
  margin-top: .55rem;
  color: var(--prism-muted);
  font-size: .78rem;
}
.prism-profile-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}
.prism-profile-card {
  --prism-profile-accent: var(--prism-muted);
  position: relative;
  display: flex;
  min-width: 0;
  min-height: 34rem;
  flex-direction: column;
  overflow: hidden;
  padding: clamp(1.15rem, 2vw, 1.55rem);
  border: 1px solid rgba(126,159,150,.2);
  border-radius: 20px;
  background:
    linear-gradient(155deg, color-mix(in srgb, var(--prism-profile-accent) 7%, transparent), transparent 36%),
    rgba(10,21,19,.9);
  box-shadow: inset 0 1px rgba(255,255,255,.03), 0 18px 44px rgba(0,0,0,.12);
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.prism-profile-card::before {
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  background: var(--prism-profile-accent);
  content: "";
}
.prism-profile-card--core { --prism-profile-accent: var(--prism-core); }
.prism-profile-card--pro { --prism-profile-accent: var(--prism-pro); }
.prism-profile-card--expert { --prism-profile-accent: var(--prism-expert); }
.prism-profile-card.is-empty {
  min-height: 16rem;
  opacity: .78;
}
.prism-profile-card-header {
  display: flex;
  gap: .8rem;
  align-items: flex-start;
  justify-content: space-between;
}
.prism-profile-product {
  display: grid;
  min-width: 0;
  grid-template-columns: 2.35rem minmax(0, 1fr);
  gap: .75rem;
  align-items: center;
}
.prism-profile-index {
  display: grid;
  width: 2.35rem;
  height: 2.35rem;
  place-items: center;
  border: 1px solid color-mix(in srgb, var(--prism-profile-accent) 38%, transparent);
  border-radius: 50%;
  color: var(--prism-profile-accent);
  background: color-mix(in srgb, var(--prism-profile-accent) 8%, transparent);
  font-size: .7rem;
  font-variant-numeric: tabular-nums;
}
.prism-profile-product .prism-section-label {
  margin-bottom: .25rem;
  color: var(--prism-profile-accent);
}
.prism-profile-product h3 {
  margin: 0;
  color: var(--prism-ink);
  font-size: clamp(1.15rem, 1.8vw, 1.45rem);
  font-weight: 620;
  line-height: 1.28;
  overflow-wrap: anywhere;
}
.prism-profile-status {
  display: inline-flex;
  min-height: 30px;
  flex: 0 0 auto;
  gap: .35rem;
  align-items: center;
  padding: .32rem .55rem;
  border: 1px solid rgba(79,177,135,.25);
  border-radius: 999px;
  color: #a8d9bd;
  background: rgba(36,122,87,.12);
  font-size: .7rem;
  font-weight: 650;
  white-space: nowrap;
}
.prism-profile-status svg {
  width: .95rem;
  height: .95rem;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}
.prism-profile-context {
  min-height: 3.6em;
  margin: 1rem 0 0;
  color: #aab8b3;
  font-size: .86rem;
  line-height: 1.8;
}
.prism-profile-facts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(7rem, 1fr));
  gap: .5rem;
  margin: 1rem 0 0;
}
.prism-profile-facts > div {
  min-width: 0;
  padding: .7rem;
  border: 1px solid rgba(126,159,150,.14);
  border-radius: 12px;
  background: rgba(255,255,255,.018);
}
.prism-profile-facts dt {
  color: var(--prism-muted);
  font-size: .68rem;
}
.prism-profile-facts dd {
  margin: .28rem 0 0;
  color: var(--prism-ink);
  font-size: .82rem;
  font-weight: 600;
  overflow-wrap: anywhere;
}
.prism-profile-metrics {
  margin-top: 1.2rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(126,159,150,.17);
}
.prism-profile-metrics h4 {
  margin: 0 0 .9rem;
  color: #d9e2de;
  font-size: .78rem;
  font-weight: 650;
}
.prism-profile-metric-list { display: grid; gap: .82rem; }
.prism-profile-metric-copy {
  display: flex;
  gap: .75rem;
  align-items: baseline;
  justify-content: space-between;
}
.prism-profile-metric-copy span {
  min-width: 0;
  color: #aebbb7;
  font-size: .76rem;
  overflow-wrap: anywhere;
}
.prism-profile-metric-copy strong {
  color: var(--prism-ink);
  font-size: .82rem;
  font-variant-numeric: tabular-nums;
}
.prism-profile-meter {
  height: 5px;
  margin-top: .38rem;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(151,174,167,.14);
}
.prism-profile-meter i {
  display: block;
  width: var(--prism-profile-score);
  height: 100%;
  border-radius: inherit;
  background: var(--prism-profile-accent);
  box-shadow: 0 0 14px color-mix(in srgb, var(--prism-profile-accent) 42%, transparent);
}
.prism-profile-card-empty {
  margin: 1.3rem 0 0;
  color: var(--prism-muted);
  font-size: .82rem;
  line-height: 1.75;
}
.prism-profile-card-footer {
  display: flex;
  gap: 1rem;
  align-items: flex-end;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 1.1rem;
  border-top: 1px solid rgba(126,159,150,.17);
}
.prism-profile-date {
  display: grid;
  min-width: 0;
  gap: .25rem;
}
.prism-profile-date span {
  color: #748a84;
  font-size: .65rem;
}
.prism-profile-date time {
  color: #adbbb6;
  font-size: .7rem;
  font-variant-numeric: tabular-nums;
}
.prism-profile-action {
  display: inline-flex;
  min-height: 44px;
  flex: 0 0 auto;
  gap: .45rem;
  align-items: center;
  justify-content: center;
  padding: .58rem .8rem;
  border: 1px solid color-mix(in srgb, var(--prism-profile-accent) 35%, transparent);
  border-radius: 12px;
  color: var(--prism-ink);
  background: color-mix(in srgb, var(--prism-profile-accent) 10%, transparent);
  font-size: .75rem;
  font-weight: 650;
  text-decoration: none;
  touch-action: manipulation;
  transition: color .18s ease, background .18s ease, border-color .18s ease;
}
.prism-profile-action svg {
  width: 1rem;
  height: 1rem;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}
.prism-profile-action:hover {
  border-color: var(--prism-profile-accent);
  background: color-mix(in srgb, var(--prism-profile-accent) 18%, transparent);
}
.prism-profile-boundary {
  display: flex;
  gap: .8rem;
  align-items: center;
  margin-top: 1rem;
  padding: 1rem 1.1rem;
  border: 1px solid rgba(126,159,150,.16);
  border-radius: 14px;
  color: var(--prism-muted);
  background: rgba(255,255,255,.018);
}
.prism-profile-boundary svg {
  width: 1.25rem;
  height: 1.25rem;
  flex: 0 0 auto;
  fill: none;
  stroke: var(--prism-core);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}
.prism-profile-boundary div {
  display: flex;
  min-width: 0;
  gap: .65rem;
  align-items: baseline;
}
.prism-profile-boundary strong {
  color: #d9ccb0;
  font-size: .75rem;
  white-space: nowrap;
}
.prism-profile-boundary span {
  font-size: .76rem;
  line-height: 1.7;
}
.prism-profile-synthesis {
  --prism-synthesis-accent: #d7b86e;
  position: relative;
  overflow: hidden;
  margin-top: 1rem;
  padding: clamp(1.25rem, 3vw, 2.25rem);
  border: 1px solid rgba(215,184,110,.24);
  border-radius: 22px;
  background:
    radial-gradient(circle at 12% 0%, rgba(38,128,98,.16), transparent 34%),
    radial-gradient(circle at 88% 0%, rgba(215,184,110,.12), transparent 30%),
    linear-gradient(145deg, rgba(15,34,30,.97), rgba(8,20,18,.96));
  box-shadow: inset 0 1px rgba(255,255,255,.04), 0 24px 60px rgba(0,0,0,.16);
}
.prism-profile-synthesis::before {
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  background: linear-gradient(90deg, var(--prism-core), var(--prism-pro), var(--prism-expert));
  content: "";
}
.prism-profile-synthesis.is-empty {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}
.prism-profile-synthesis.is-empty h2 {
  margin: .25rem 0 .6rem;
  color: var(--prism-ink);
  font-size: clamp(1.35rem, 2.5vw, 2rem);
}
.prism-profile-synthesis.is-empty p:last-child {
  margin: 0;
  color: var(--prism-muted);
  line-height: 1.8;
}
.prism-synthesis-hero {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: clamp(1rem, 2.5vw, 1.7rem);
  align-items: start;
  padding-bottom: clamp(1.3rem, 3vw, 2rem);
  border-bottom: 1px solid rgba(126,159,150,.17);
}
.prism-synthesis-symbol {
  display: grid;
  width: 3rem;
  height: 3rem;
  place-items: center;
  border: 1px solid rgba(215,184,110,.28);
  border-radius: 16px;
  color: #e2c989;
  background: rgba(215,184,110,.08);
}
.prism-synthesis-symbol svg {
  width: 1.45rem;
  height: 1.45rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
}
.prism-synthesis-copy h2 {
  max-width: 34ch;
  margin: .25rem 0 0;
  color: var(--prism-ink);
  font-size: clamp(1.55rem, 3vw, 2.65rem);
  font-weight: 620;
  letter-spacing: -.028em;
  line-height: 1.3;
}
.prism-synthesis-copy > p:last-child {
  max-width: 62rem;
  margin: .8rem 0 0;
  color: #b6c3bf;
  font-size: .92rem;
  line-height: 1.9;
}
.prism-synthesis-coverage {
  display: grid;
  min-width: 8.5rem;
  justify-items: end;
  padding-inline-start: 1.4rem;
  border-inline-start: 1px solid rgba(126,159,150,.18);
}
.prism-synthesis-coverage strong {
  color: var(--prism-ink);
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 620;
  font-variant-numeric: tabular-nums;
  line-height: 1;
}
.prism-synthesis-coverage strong span {
  color: #78918a;
  font-size: .52em;
  font-weight: 500;
}
.prism-synthesis-coverage > span {
  margin-top: .5rem;
  color: var(--prism-muted);
  font-size: .7rem;
}
.prism-synthesis-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .8rem;
  margin-top: 1rem;
}
.prism-synthesis-finding {
  --prism-finding-accent: #8aaba1;
  min-width: 0;
  padding: 1.15rem;
  border: 1px solid color-mix(in srgb, var(--prism-finding-accent) 22%, transparent);
  border-radius: 16px;
  background: color-mix(in srgb, var(--prism-finding-accent) 4%, rgba(7,17,15,.76));
}
.prism-synthesis-finding--aligned { --prism-finding-accent: #65b791; }
.prism-synthesis-finding--contrast { --prism-finding-accent: #ddb96b; }
.prism-synthesis-finding--growth { --prism-finding-accent: #cf8f71; }
.prism-synthesis-finding > header {
  display: flex;
  gap: .7rem;
  align-items: center;
  justify-content: space-between;
}
.prism-synthesis-status {
  color: var(--prism-finding-accent);
  font-size: .68rem;
  font-weight: 700;
}
.prism-synthesis-confidence {
  color: #738b84;
  font-size: .64rem;
}
.prism-synthesis-finding h3 {
  margin: .7rem 0 0;
  color: var(--prism-ink);
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  font-weight: 620;
}
.prism-synthesis-finding > p {
  margin: .55rem 0 0;
  color: #aebdb8;
  font-size: .82rem;
  line-height: 1.85;
}
.prism-synthesis-finding details {
  margin-top: .95rem;
  padding-top: .8rem;
  border-top: 1px solid rgba(126,159,150,.14);
}
.prism-synthesis-finding summary {
  width: fit-content;
  color: #d8c99f;
  cursor: pointer;
  font-size: .7rem;
  font-weight: 650;
}
.prism-synthesis-finding ul {
  display: grid;
  gap: .4rem;
  margin: .75rem 0 0;
  padding: 0;
  list-style: none;
}
.prism-synthesis-evidence {
  display: grid;
  min-width: 0;
  grid-template-columns: minmax(6.5rem, auto) minmax(0, 1fr) auto;
  gap: .55rem;
  align-items: center;
  padding: .48rem .58rem;
  border-radius: 9px;
  color: #95aaa4;
  background: rgba(255,255,255,.02);
  font-size: .66rem;
}
.prism-synthesis-evidence > span:nth-child(2) {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.prism-synthesis-evidence strong {
  color: var(--prism-ink);
  font-size: .72rem;
  font-variant-numeric: tabular-nums;
}
.prism-synthesis-source {
  display: inline-flex;
  gap: .38rem;
  align-items: center;
  color: #bdcac6;
}
.prism-synthesis-source i {
  width: .45rem;
  height: .45rem;
  flex: 0 0 auto;
  border-radius: 50%;
  background: #879b95;
}
.prism-synthesis-evidence--core .prism-synthesis-source i { background: var(--prism-core); }
.prism-synthesis-evidence--pro .prism-synthesis-source i { background: var(--prism-pro); }
.prism-synthesis-evidence--expert .prism-synthesis-source i { background: var(--prism-expert); }
.prism-synthesis-practice {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: .9rem;
  align-items: start;
  margin-top: 1rem;
  padding: 1.15rem;
  border: 1px solid rgba(215,184,110,.2);
  border-radius: 16px;
  background: rgba(215,184,110,.045);
}
.prism-synthesis-practice-icon {
  display: grid;
  width: 2.35rem;
  height: 2.35rem;
  place-items: center;
  border: 1px solid rgba(215,184,110,.25);
  border-radius: 12px;
  color: #e0c47f;
}
.prism-synthesis-practice-icon svg {
  width: 1rem;
  height: 1rem;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}
.prism-synthesis-practice h3 {
  margin: .28rem 0 0;
  color: var(--prism-ink);
  font-size: 1rem;
  font-weight: 620;
}
.prism-synthesis-practice p:last-child {
  margin: .48rem 0 0;
  color: #aebdb8;
  font-size: .8rem;
  line-height: 1.8;
}
.prism-synthesis-boundary {
  display: flex;
  gap: .55rem;
  align-items: center;
  margin-top: 1rem;
  color: #758d86;
  font-size: .68rem;
  line-height: 1.7;
}
.prism-synthesis-boundary svg {
  width: 1rem;
  height: 1rem;
  flex: 0 0 auto;
  fill: none;
  stroke: #83aa9d;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}
.prism-observed-behavior {
  margin-top: 1.1rem;
  overflow: hidden;
  border: 1px solid rgba(126,159,150,.24);
  border-radius: 1.15rem;
  background:
    linear-gradient(135deg, rgba(126,159,150,.08), transparent 38%),
    rgba(8,18,18,.44);
  box-shadow: inset 0 1px rgba(255,255,255,.035);
}
.prism-observed-behavior.is-unavailable {
  padding: clamp(1.25rem, 3vw, 2rem);
  border-style: dashed;
}
.prism-observed-behavior.is-unavailable h2 {
  margin: .25rem 0 .6rem;
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.2vw, 1.9rem);
}
.prism-observed-behavior.is-unavailable > p:last-of-type {
  max-width: 68ch;
  margin: 0;
  color: var(--text-muted);
}
.prism-matrix-header {
  padding: clamp(1.35rem, 3vw, 2.35rem);
  border-bottom: 1px solid rgba(126,159,150,.19);
}
.prism-matrix-header > div { max-width: 72ch; }
.prism-matrix-header h2 {
  margin: .28rem 0 .65rem;
  font-family: var(--font-display);
  font-size: clamp(1.65rem, 3vw, 2.55rem);
  line-height: 1.12;
}
.prism-matrix-header p:last-child {
  margin: 0;
  color: var(--text-muted);
  line-height: 1.7;
}
.prism-matrix-evidence {
  padding: 1rem clamp(1.35rem, 3vw, 2.35rem) 1.25rem;
  border-bottom: 1px solid rgba(126,159,150,.19);
  background: rgba(255,255,255,.018);
}
.prism-matrix-evidence-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: .85rem;
}
.prism-matrix-evidence-heading h3 {
  margin: 0;
  font-size: .76rem;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.prism-matrix-partial {
  display: inline-flex;
  align-items: center;
  min-height: 1.8rem;
  padding: .25rem .68rem;
  border: 1px solid rgba(221,185,107,.42);
  border-radius: 999px;
  color: #e5c885;
  background: rgba(221,185,107,.08);
  font-size: .72rem;
  font-weight: 750;
}
.prism-matrix-evidence-list {
  display: flex;
  flex-wrap: wrap;
  gap: .45rem;
  margin: 0;
}
.prism-matrix-evidence-list > div {
  display: inline-flex;
  align-items: baseline;
  gap: .42rem;
  padding: .44rem .62rem;
  border: 1px solid rgba(126,159,150,.18);
  border-radius: .5rem;
  background: rgba(0,0,0,.1);
}
.prism-matrix-evidence-list dt {
  color: var(--text-muted);
  font-size: .7rem;
}
.prism-matrix-evidence-list dd {
  margin: 0;
  color: var(--text);
  font-size: .78rem;
  font-weight: 720;
}
.prism-matrix-global-sources {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: .5rem .75rem;
  margin-top: .85rem;
  font-size: .76rem;
}
.prism-matrix-global-sources > strong { color: var(--text-muted); }
.prism-matrix-global-sources ul,
.prism-matrix-sources ul {
  display: flex;
  flex-wrap: wrap;
  gap: .35rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.prism-matrix-global-sources li,
.prism-matrix-sources li {
  padding: .24rem .48rem;
  border-radius: .35rem;
  color: #b9d2cb;
  background: rgba(126,159,150,.1);
}
.prism-matrix-notice,
.prism-matrix-insufficient {
  margin: 1rem 0 0;
  padding: .75rem .9rem;
  border-inline-start: 3px solid #bda871;
  color: #d7d0ba;
  background: rgba(189,168,113,.07);
  font-size: .85rem;
  line-height: 1.65;
}
.prism-matrix-insufficient {
  margin: 0;
  padding: 1rem clamp(1.35rem, 3vw, 2.35rem);
  border-inline-start: 0;
  border-bottom: 1px solid rgba(126,159,150,.18);
}
.prism-matrix-lanes {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: stretch;
}
.prism-matrix-lane {
  --prism-matrix-accent: #7e9f96;
  min-width: 0;
}
.prism-matrix-lane + .prism-matrix-lane { border-inline-start: 1px solid rgba(126,159,150,.19); }
.prism-matrix-lane--fact { --prism-matrix-accent: #68b995; }
.prism-matrix-lane--inference { --prism-matrix-accent: #7fa8c9; }
.prism-matrix-lane--hypothesis { --prism-matrix-accent: #d1ad68; }
.prism-matrix-lane--recommendation { --prism-matrix-accent: #78b7ad; }
.prism-matrix-lane > header {
  min-height: 8.25rem;
  padding: 1rem;
  border-top: 3px solid var(--prism-matrix-accent);
  border-bottom: 1px solid rgba(126,159,150,.17);
  background: color-mix(in srgb, var(--prism-matrix-accent) 5%, transparent);
}
.prism-matrix-lane > header > span {
  color: var(--prism-matrix-accent);
  font-family: var(--font-display);
  font-size: .72rem;
  font-weight: 800;
}
.prism-matrix-lane h3 {
  min-height: 2.8em;
  margin: .42rem 0 .5rem;
  font-family: var(--font-display);
  font-size: 1rem;
  line-height: 1.38;
}
.prism-matrix-lane code {
  color: var(--text-muted);
  font-family: inherit;
  font-size: .66rem;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.prism-matrix-findings { min-height: 9rem; }
.prism-matrix-finding {
  padding: 1rem;
  border-bottom: 1px solid rgba(126,159,150,.15);
  border-inline-start: 2px solid color-mix(in srgb, var(--prism-matrix-accent) 64%, transparent);
}
.is-partial .prism-matrix-finding {
  border-inline-start-style: dashed;
  background: linear-gradient(90deg, rgba(221,185,107,.025), transparent 45%);
}
.prism-matrix-finding h4 {
  margin: 0 0 .55rem;
  color: var(--text);
  font-family: var(--font-display);
  font-size: .98rem;
  line-height: 1.45;
}
.prism-matrix-finding > p {
  margin: 0;
  color: var(--text-muted);
  font-size: .82rem;
  line-height: 1.68;
}
.prism-matrix-meta {
  display: grid;
  gap: .38rem;
  margin: .9rem 0 0;
}
.prism-matrix-meta > div {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: .5rem;
  padding-top: .38rem;
  border-top: 1px solid rgba(126,159,150,.11);
}
.prism-matrix-meta dt {
  color: var(--text-muted);
  font-size: .67rem;
}
.prism-matrix-meta dd {
  margin: 0;
  overflow-wrap: anywhere;
  color: #d5e2de;
  font-size: .7rem;
  font-weight: 680;
}
.prism-matrix-sources {
  display: grid;
  gap: .48rem;
  margin-top: .9rem;
  color: var(--text-muted);
  font-size: .68rem;
}
.prism-matrix-sources > span { color: var(--text-muted); }
.prism-matrix-metrics {
  margin-top: .75rem;
  border-top: 1px solid rgba(126,159,150,.14);
}
.prism-matrix-metrics summary {
  display: flex;
  align-items: center;
  min-height: 44px;
  color: #a9c5bd;
  cursor: pointer;
  font-size: .72rem;
  font-weight: 720;
}
.prism-matrix-metrics summary span { margin-inline-start: .35rem; color: var(--text-muted); }
.prism-matrix-metrics summary:focus-visible {
  outline: 2px solid #88b9ac;
  outline-offset: 3px;
  border-radius: .25rem;
}
.prism-matrix-metrics ul {
  display: grid;
  gap: .35rem;
  margin: 0 0 .4rem;
  padding: 0;
  list-style: none;
}
.prism-matrix-metrics li {
  display: grid;
  gap: .18rem;
  padding: .45rem .55rem;
  border-radius: .35rem;
  background: rgba(126,159,150,.07);
}
.prism-matrix-metrics li span {
  overflow-wrap: anywhere;
  color: #b9cbc6;
  font-size: .67rem;
}
.prism-matrix-metrics p { color: var(--text-muted); font-size: .7rem; }
.prism-matrix-lane-empty {
  margin: 0;
  padding: 1.2rem 1rem;
  color: var(--text-muted);
  font-size: .78rem;
  line-height: 1.6;
}
.prism-matrix-boundary {
  padding: 1rem clamp(1.35rem, 3vw, 2.35rem);
  border-top: 1px solid rgba(126,159,150,.2);
  color: #9fb5af;
  background: rgba(0,0,0,.1);
  font-size: .76rem;
  line-height: 1.7;
}
html[dir="rtl"] .prism-observed-behavior { text-align: right; }
@media (max-width: 900px) {
  .prism-matrix-lanes { grid-template-columns: minmax(0, 1fr); }
  .prism-matrix-lane + .prism-matrix-lane {
    border-inline-start: 0;
    border-top: 1px solid rgba(126,159,150,.19);
  }
  .prism-matrix-lane > header { min-height: 0; }
  .prism-matrix-lane h3 { min-height: 0; }
  .prism-matrix-findings { min-height: 0; }
}
@media (max-width: 540px) {
  .prism-matrix-evidence-heading { align-items: flex-start; flex-direction: column; }
  .prism-matrix-evidence-list { display: grid; grid-template-columns: minmax(0, 1fr); }
  .prism-matrix-evidence-list > div { justify-content: space-between; }
}
@media (hover: hover) and (pointer: fine) {
  .prism-profile-card:hover {
    transform: translateY(-2px);
    border-color: color-mix(in srgb, var(--prism-profile-accent) 38%, transparent);
    box-shadow: inset 0 1px rgba(255,255,255,.04), 0 22px 52px rgba(0,0,0,.18);
  }
}
.prism-honest-reason { max-width: 45rem; margin: 1.5rem 0 0; color: var(--prism-muted); line-height: 1.75; }
.prism-authority-note,
.prism-disclosure { padding: clamp(2.5rem, 5vw, 5rem) 0; border-bottom: 1px solid var(--prism-line); }
.prism-expert-runtime { padding: 2rem 0; border-bottom: 1px solid var(--prism-line); }
.prism-expert-report { padding: clamp(2.5rem, 6vw, 6rem) 0 0; }
.prism-expert-report-hero {
  max-width: 62rem;
  padding-bottom: clamp(2.5rem, 6vw, 5rem);
}
.prism-expert-report-hero h1 {
  max-width: 18ch;
  font-size: clamp(2.6rem, 6vw, 6.2rem);
}
.prism-expert-report-hero > p:last-child {
  max-width: 52rem;
  margin: 1.5rem 0 0;
  color: var(--prism-muted);
  font-size: clamp(1.05rem, 1.7vw, 1.4rem);
  line-height: 1.9;
}
.prism-expert-score-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  margin-bottom: clamp(3rem, 7vw, 7rem);
  background: var(--prism-line);
  border: 1px solid var(--prism-line);
}
.prism-expert-score {
  min-width: 0;
  padding: clamp(1.4rem, 3vw, 2.5rem);
  background: var(--prism-bg);
}
.prism-expert-score strong {
  display: block;
  color: var(--prism-ink);
  font-size: clamp(2.2rem, 4vw, 4.5rem);
  font-weight: 560;
  font-variant-numeric: tabular-nums;
  line-height: 1;
}
.prism-expert-score span {
  display: block;
  min-height: 3.2em;
  margin-top: 1rem;
  color: var(--prism-muted);
  line-height: 1.6;
}
.prism-expert-score > div {
  height: 3px;
  margin-top: 1.3rem;
  overflow: hidden;
  background: var(--prism-line);
}
.prism-expert-score i {
  display: block;
  height: 100%;
  background: var(--prism-expert);
}
.prism-expert-insights {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1.5rem, 4vw, 4rem);
  padding: 0 0 clamp(3rem, 7vw, 7rem);
  border-bottom: 1px solid var(--prism-line);
}
.prism-expert-insights article {
  min-width: 0;
  padding-top: 1.5rem;
  border-top: 1px solid var(--prism-line);
}
.prism-expert-insights :where(p, li) {
  color: var(--prism-muted);
  line-height: 1.9;
}
.prism-expert-insights ul {
  display: grid;
  gap: 1rem;
  margin: 0;
  padding-inline-start: 1.2rem;
}
.prism-expert-chasing {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid var(--prism-line);
  color: var(--prism-muted);
}
.prism-expert-chasing strong {
  color: var(--prism-ink);
  font-size: 1.5rem;
  font-variant-numeric: tabular-nums;
}
.prism-expert-facts { padding: clamp(3rem, 7vw, 6rem) 0; }
.prism-expert-return { padding: 0 0 clamp(3rem, 6vw, 6rem); }
.prism-profile-scores {
  padding: 2.5rem 0 1.5rem;
}
.prism-profile-scores h3 {
  margin: 0 0 1rem;
  color: var(--prism-ink);
  font-size: 1rem;
  font-weight: 650;
}
.prism-profile-band > .prism-text-action {
  margin-top: 2rem;
}
.prism-observatory :where(a, button, summary):focus-visible { outline: 3px solid #f0d58f; outline-offset: 4px; }

html[dir="rtl"] .prism-observatory-eyebrow,
html[dir="rtl"] .prism-section-label { letter-spacing: 0; }
html[dir="rtl"] .prism-text-action span { transform: scaleX(-1); }
html[dir="rtl"] .prism-profile-action svg { transform: scaleX(-1); }

@media (max-width: 1080px) {
  .prism-profile-grid { grid-template-columns: 1fr; }
  .prism-profile-card { min-height: 0; }
  .prism-profile-metric-list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem 1.5rem; }
  .prism-profile-card-footer { margin-top: 1.4rem; }
}
@media (max-width: 820px) {
  .prism-observatory { padding: 1.25rem; background-size: 50% 100%; }
  .prism-observatory h1 { font-size: clamp(2.6rem, 15vw, 5.3rem); }
  .prism-product-row { grid-template-columns: 2.5rem 1fr; min-height: 0; padding: 2rem 0; }
  .prism-product-state,
  .prism-product-row > .prism-text-action { grid-column: 2; }
  .prism-profile-passage,
  .prism-primary-line { align-items: start; flex-direction: column; }
  .prism-data-ledger > div { grid-template-columns: 1fr; gap: .35rem; }
  .prism-history-line li { grid-template-columns: 1rem 1fr; padding: 1rem 0; }
  .prism-history-line .prism-inline-button { grid-column: 2; justify-self: start; }
  .prism-runtime-frame { min-height: 68vh; }
  .prism-expert-score-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .prism-expert-insights { grid-template-columns: 1fr; }
  .prism-profile-overview { grid-template-columns: 1fr; }
  .prism-profile-completion {
    min-width: 0;
    grid-template-columns: auto 1fr;
    gap: .75rem;
    align-items: end;
    padding: 1rem 0 0;
    border-inline-start: 0;
    border-top: 1px solid rgba(126,159,150,.22);
  }
  .prism-profile-completion > span { margin: 0 0 .2rem; }
  .prism-profile-context { min-height: 0; font-size: .95rem; }
  .prism-profile-metrics h4,
  .prism-profile-metric-copy strong { font-size: .9rem; }
  .prism-profile-metric-copy span,
  .prism-profile-facts dd { font-size: .86rem; }
  .prism-profile-facts dt,
  .prism-profile-date :where(span, time) { font-size: .78rem; }
  .prism-profile-metric-list { grid-template-columns: 1fr; }
  .prism-profile-boundary div { display: grid; gap: .25rem; }
  .prism-synthesis-hero { grid-template-columns: auto minmax(0, 1fr); }
  .prism-synthesis-coverage {
    grid-column: 2;
    min-width: 0;
    grid-template-columns: auto 1fr;
    gap: .6rem;
    align-items: baseline;
    justify-items: start;
    padding: .8rem 0 0;
    border-inline-start: 0;
    border-top: 1px solid rgba(126,159,150,.18);
  }
  .prism-synthesis-grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .prism-expert-score-grid { grid-template-columns: 1fr; }
  .prism-expert-score span { min-height: 0; }
  .prism-profile-card-header,
  .prism-profile-card-footer { align-items: stretch; flex-direction: column; }
  .prism-profile-status { align-self: flex-start; }
  .prism-profile-action { width: 100%; }
  .prism-profile-synthesis.is-empty { display: grid; }
  .prism-synthesis-hero { grid-template-columns: 1fr; }
  .prism-synthesis-coverage { grid-column: 1; }
  .prism-synthesis-evidence { grid-template-columns: 1fr auto; }
  .prism-synthesis-evidence > span:nth-child(2) {
    grid-column: 1 / -1;
    grid-row: 2;
  }
}

@media (prefers-reduced-motion: reduce) {
  .prism-observatory *,
  .prism-observatory *::before,
  .prism-observatory *::after { scroll-behavior: auto !important; transition: none !important; animation: none !important; }
}

/* PRISM Observatory responsive containment */
.prism-observatory {
  box-sizing: border-box;
  max-width: 100%;
  overflow-x: clip;
}
.prism-observatory h1,
.prism-product-copy,
.prism-profile-passage h2 { overflow-wrap: anywhere; }

@media (max-width: 820px) {
  .prism-observatory h1 { font-size: clamp(2.2rem, 11.5vw, 4.2rem); }
}

/* Account report theme alignment: reuse the warm account-shell tokens. */
html:not([data-theme="light"]) .account-workspace-main .prism-observatory {
  --prism-bg: var(--deep-bg);
  --prism-ink: var(--read-ink);
  --prism-muted: var(--read-muted);
  --prism-line: var(--read-line);
  --prism-core: var(--read-gold);
  --prism-pro: var(--deep-gold);
  --prism-expert: var(--read-soft);
  --prism-profile-surface: var(--read-panel);
  --prism-profile-surface-raised: var(--read-panel-strong);
  border-color: var(--read-line);
  border-radius: 22px;
  color: var(--read-ink);
  background:
    radial-gradient(circle at 88% 0, rgba(197,154,69,.09), transparent 30rem),
    linear-gradient(145deg, var(--read-panel-strong), var(--deep-panel-soft));
  box-shadow: 0 22px 60px rgba(0,0,0,.18);
  font-family: var(--font-ui);
}
html:not([data-theme="light"]) .account-workspace-main .prism-observatory-nav {
  border-color: var(--read-line);
  background: var(--read-panel-strong);
}
html:not([data-theme="light"]) .account-workspace-main .prism-observatory-nav a[aria-current="page"],
html:not([data-theme="light"]) .account-workspace-main .prism-workspace-tabs button[aria-selected="true"] {
  color: var(--read-gold);
  border-bottom-color: var(--read-gold);
}
html:not([data-theme="light"]) .account-workspace-main .prism-progress-line span,
html:not([data-theme="light"]) .account-workspace-main .prism-history-marker {
  background: var(--read-gold);
}
html:not([data-theme="light"]) .account-workspace-main :is(
  .prism-profile-overview,
  .prism-profile-card,
  .prism-profile-synthesis,
  .prism-observed-behavior,
  .prism-expert-score,
  .prism-expert-insights article,
  .prism-report-narrative,
  .prism-methodology
) {
  border-color: var(--read-line);
  color: var(--read-ink);
  background: var(--read-panel);
  box-shadow: inset 0 1px rgba(255,255,255,.03), 0 18px 44px rgba(0,0,0,.12);
}
html:not([data-theme="light"]) .account-workspace-main .prism-profile-card {
  --prism-profile-accent: var(--read-gold);
}
html:not([data-theme="light"]) .account-workspace-main .prism-profile-card--pro {
  --prism-profile-accent: var(--deep-gold);
}
html:not([data-theme="light"]) .account-workspace-main .prism-profile-card--expert {
  --prism-profile-accent: var(--read-soft);
}
html:not([data-theme="light"]) .account-workspace-main :is(
  .prism-profile-overview > div:first-child > p:last-child,
  .prism-profile-context,
  .prism-profile-metric-copy span,
  .prism-profile-date span,
  .prism-profile-date time,
  .prism-synthesis-copy > p:last-child,
  .prism-synthesis-finding > p,
  .prism-synthesis-practice p:last-child,
  .prism-matrix-unavailable,
  .prism-matrix-finding > p,
  .prism-matrix-meta dt,
  .prism-matrix-sources,
  .prism-matrix-lane-empty,
  .prism-matrix-boundary
) {
  color: var(--read-muted);
}
html:not([data-theme="light"]) .account-workspace-main :is(
  .prism-profile-product h3,
  .prism-profile-facts dd,
  .prism-profile-metric-copy strong,
  .prism-synthesis-copy h2,
  .prism-synthesis-finding h3,
  .prism-synthesis-practice h3,
  .prism-matrix-page-heading h1,
  .prism-matrix-finding h4,
  .prism-matrix-meta dd
) {
  color: var(--read-ink);
}
html:not([data-theme="light"]) .account-workspace-main .prism-profile-synthesis::before {
  background: var(--read-gold);
}
html:not([data-theme="light"]) .account-workspace-main .prism-synthesis-finding {
  --prism-finding-accent: var(--read-gold);
  border-color: var(--read-line);
  background: rgba(255,255,255,.025);
}
html:not([data-theme="light"]) .account-workspace-main .prism-synthesis-finding--contrast {
  --prism-finding-accent: var(--deep-gold);
}
html:not([data-theme="light"]) .account-workspace-main .prism-synthesis-finding--growth {
  --prism-finding-accent: var(--read-soft);
}
html:not([data-theme="light"]) .account-workspace-main .prism-matrix-evidence,
html:not([data-theme="light"]) .account-workspace-main .prism-matrix-boundary {
  border-color: var(--read-line);
  background: rgba(255,255,255,.025);
}
html:not([data-theme="light"]) .account-workspace-main .prism-matrix-evidence-list > div {
  border-color: var(--read-line);
  background: rgba(0,0,0,.12);
}
html:not([data-theme="light"]) .account-workspace-main .prism-matrix-global-sources li,
html:not([data-theme="light"]) .account-workspace-main .prism-matrix-sources li {
  color: var(--read-text);
  background: rgba(197,154,69,.09);
}
html:not([data-theme="light"]) .account-workspace-main .prism-matrix-lanes {
  overflow: hidden;
  background: var(--read-panel-strong);
}
html:not([data-theme="light"]) .account-workspace-main .prism-matrix-lane {
  --prism-matrix-accent: var(--read-gold);
}
html:not([data-theme="light"]) .account-workspace-main .prism-matrix-lane--inference {
  --prism-matrix-accent: var(--read-soft);
}
html:not([data-theme="light"]) .account-workspace-main .prism-matrix-lane--hypothesis {
  --prism-matrix-accent: var(--deep-gold);
}
html:not([data-theme="light"]) .account-workspace-main .prism-matrix-lane--recommendation {
  --prism-matrix-accent: var(--deep-muted);
}
html:not([data-theme="light"]) .account-workspace-main .prism-matrix-lane + .prism-matrix-lane,
html:not([data-theme="light"]) .account-workspace-main .prism-matrix-lane > header,
html:not([data-theme="light"]) .account-workspace-main .prism-matrix-finding,
html:not([data-theme="light"]) .account-workspace-main .prism-matrix-meta > div,
html:not([data-theme="light"]) .account-workspace-main .prism-matrix-metrics {
  border-color: var(--read-line);
}
html:not([data-theme="light"]) .account-workspace-main .prism-matrix-lane > header,
html:not([data-theme="light"]) .account-workspace-main .is-partial .prism-matrix-finding {
  background: rgba(255,255,255,.018);
}
html:not([data-theme="light"]) .account-workspace-main .prism-matrix-finding {
  border-inline-start-color: var(--prism-matrix-accent);
}
html:not([data-theme="light"]) .account-workspace-main .prism-matrix-metrics summary {
  color: var(--read-gold);
}
.prism-matrix-technical {
  display: grid;
  gap: .35rem;
  margin: 0 0 .75rem;
}
.prism-matrix-technical > div {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: .5rem;
}
.prism-matrix-technical :is(dt, dd) {
  margin: 0;
  overflow-wrap: anywhere;
  color: var(--prism-muted);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: .66rem;
}
.prism-matrix-metrics > strong {
  display: block;
  margin-bottom: .45rem;
  color: var(--prism-muted);
  font-size: .68rem;
}
.prism-matrix-metrics li span {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

html:not([data-theme="light"]) .account-workspace-panel :is(
  .prism-result-hero,
  .prism-result-archetype-section,
  .prism-character-selector-section,
  .prism-radar-section,
  .result-insight-grid article,
  .prism-related-archetypes,
  .prism-related-archetype-card
) {
  border-color: var(--read-line) !important;
  background: var(--read-panel) !important;
  color: var(--read-ink);
}
html:not([data-theme="light"]) .account-workspace-panel .prism-result-hero-archetypes .prism-related-archetype-media,
html:not([data-theme="light"]) .account-workspace-panel .prism-result-hero-archetypes .prism-related-archetype-card,
html:not([data-theme="light"]) .account-workspace-panel .prism-related-archetype-variant-grid figure {
  border-color: var(--read-line);
  background: var(--deep-panel);
}

html[data-theme="light"] .account-workspace-main .prism-observatory {
  --prism-bg: var(--paper);
  --prism-ink: var(--ink);
  --prism-muted: var(--muted);
  --prism-line: var(--line);
  --prism-core: var(--bronze);
  --prism-pro: var(--bronze);
  --prism-expert: var(--muted);
  --prism-profile-surface: var(--pearl);
  --prism-profile-surface-raised: var(--paper);
  border-color: var(--line);
  border-radius: 22px;
  color: var(--ink);
  background:
    radial-gradient(circle at 88% 0, rgba(155,116,57,.1), transparent 30rem),
    linear-gradient(145deg,var(--pearl),var(--paper));
  box-shadow:0 22px 60px rgba(70,56,28,.1);
  font-family:var(--font-ui);
}
html[data-theme="light"] .account-workspace-main .prism-observatory-nav {
  border-color:var(--line);
  background:var(--pearl);
}
html[data-theme="light"] .account-workspace-main .prism-observatory-nav a[aria-current="page"],
html[data-theme="light"] .account-workspace-main .prism-workspace-tabs button[aria-selected="true"] {
  color:var(--bronze);
  border-bottom-color:var(--bronze);
}
html[data-theme="light"] .account-workspace-main .prism-progress-line span,
html[data-theme="light"] .account-workspace-main .prism-history-marker {
  background:var(--bronze);
}
html[data-theme="light"] .account-workspace-main :is(
  .prism-profile-card,
  .prism-profile-synthesis,
  .prism-observed-behavior,
  .prism-expert-score,
  .prism-expert-insights article,
  .prism-report-narrative,
  .prism-methodology
) {
  border-color:var(--line);
  color:var(--ink);
  background:var(--pearl);
  box-shadow:inset 0 1px rgba(255,255,255,.62),0 18px 44px rgba(70,56,28,.08);
}
html[data-theme="light"] .account-workspace-main :is(
  .prism-profile-context,
  .prism-profile-metric-copy span,
  .prism-profile-date span,
  .prism-profile-date time,
  .prism-synthesis-copy > p:last-child,
  .prism-synthesis-finding > p,
  .prism-synthesis-practice p:last-child,
  .prism-matrix-unavailable,
  .prism-matrix-finding > p,
  .prism-matrix-meta dt,
  .prism-matrix-sources,
  .prism-matrix-lane-empty,
  .prism-matrix-boundary
) {
  color:var(--muted);
}
html[data-theme="light"] .account-workspace-main :is(
  .prism-profile-product h3,
  .prism-profile-facts dd,
  .prism-profile-metric-copy strong,
  .prism-synthesis-copy h2,
  .prism-synthesis-finding h3,
  .prism-synthesis-practice h3,
  .prism-matrix-page-heading h1,
  .prism-matrix-finding h4,
  .prism-matrix-meta dd
) {
  color:var(--ink);
}
html[data-theme="light"] .account-workspace-main .prism-profile-card,
html[data-theme="light"] .account-workspace-main .prism-synthesis-finding {
  --prism-profile-accent:var(--bronze);
  --prism-finding-accent:var(--bronze);
}
html[data-theme="light"] .account-workspace-main .prism-profile-synthesis::before {
  background:var(--bronze);
}
html[data-theme="light"] .account-workspace-main .prism-synthesis-finding,
html[data-theme="light"] .account-workspace-main .prism-matrix-boundary {
  border-color:var(--line);
  background:rgba(155,116,57,.045);
}
html[data-theme="light"] .account-workspace-main .prism-matrix-sources li {
  color:var(--ink);
  background:rgba(155,116,57,.09);
}
html[data-theme="light"] .account-workspace-main .prism-matrix-lanes {
  overflow:hidden;
  border-color:var(--line);
  background:var(--paper);
}
html[data-theme="light"] .account-workspace-main .prism-matrix-lane {
  --prism-matrix-accent:var(--bronze);
}
html[data-theme="light"] .account-workspace-main .prism-matrix-lane--inference,
html[data-theme="light"] .account-workspace-main .prism-matrix-lane--recommendation {
  --prism-matrix-accent:var(--muted);
}
html[data-theme="light"] .account-workspace-main .prism-matrix-lane + .prism-matrix-lane,
html[data-theme="light"] .account-workspace-main .prism-matrix-lane > header,
html[data-theme="light"] .account-workspace-main .prism-matrix-finding,
html[data-theme="light"] .account-workspace-main .prism-matrix-meta > div,
html[data-theme="light"] .account-workspace-main .prism-matrix-metrics {
  border-color:var(--line);
}
html[data-theme="light"] .account-workspace-main .prism-matrix-lane > header,
html[data-theme="light"] .account-workspace-main .is-partial .prism-matrix-finding {
  background:rgba(155,116,57,.035);
}
html[data-theme="light"] .account-workspace-main .prism-matrix-finding {
  border-inline-start-color:var(--prism-matrix-accent);
}
html[data-theme="light"] .account-workspace-main .prism-matrix-metrics summary {
  color:var(--bronze);
}
html[data-theme="light"] .account-workspace-panel :is(
  .prism-result-hero,
  .prism-result-archetype-section,
  .prism-character-selector-section,
  .prism-radar-section,
  .result-insight-grid article,
  .prism-related-archetypes,
  .prism-related-archetype-card
) {
  border-color:var(--line) !important;
  background:var(--pearl) !important;
  color:var(--ink);
}
html[data-theme="light"] .account-workspace-panel .prism-result-hero-archetypes .prism-related-archetype-media,
html[data-theme="light"] .account-workspace-panel .prism-result-hero-archetypes .prism-related-archetype-card,
html[data-theme="light"] .account-workspace-panel .prism-related-archetype-variant-grid figure {
  border-color:var(--line);
  background:var(--paper);
}

/* Decision Matrix route: human summary first, full evidence on demand. */
.account-workspace-main .prism-decision-profile .prism-observed-behavior {
  margin:0;
  overflow:visible;
  border:0;
  border-radius:0;
  background:transparent;
  box-shadow:none;
}
.account-workspace-main .prism-decision-profile .prism-observed-behavior.is-unavailable {
  padding:0;
}
.account-workspace-main .prism-decision-profile .prism-matrix-page-heading {
  padding:clamp(.25rem,1vw,.75rem) 0 clamp(1rem,2vw,1.4rem);
}
.account-workspace-main .prism-decision-profile .prism-matrix-page-heading h1 {
  max-width:24ch;
  margin:0;
  color:var(--prism-ink);
  font-family:var(--font-display);
  font-size:clamp(1.8rem,3.4vw,3rem);
  line-height:1.18;
  text-wrap:balance;
}
.account-workspace-main .prism-decision-profile .prism-matrix-human-summary {
  display:grid;
  grid-template-columns:minmax(0,1fr);
  gap:.35rem;
  max-width:74ch;
  margin:0 0 .85rem;
  padding:0 0 .9rem;
  border-bottom:1px solid var(--prism-line);
}
.account-workspace-main .prism-decision-profile .prism-matrix-human-summary h2 {
  margin:0;
  color:var(--prism-core);
  font-size:.78rem;
  font-weight:800;
  letter-spacing:.02em;
}
.account-workspace-main .prism-decision-profile .prism-matrix-human-summary p {
  margin:0;
  color:var(--prism-muted);
  font-size:clamp(.88rem,1.2vw,.98rem);
  line-height:1.8;
}
.account-workspace-main .prism-decision-profile .prism-combined-synthesis {
  position:relative;
  isolation:isolate;
  margin:clamp(1rem,2vw,1.5rem) 0;
  padding:clamp(1rem,2.4vw,1.65rem);
  overflow:hidden;
  border:1px solid color-mix(in srgb,var(--prism-core) 24%,var(--prism-line));
  border-radius:1.35rem;
  color:var(--prism-ink);
  background:
    radial-gradient(circle at 13% 4%,color-mix(in srgb,var(--prism-core) 13%,transparent),transparent 31%),
    radial-gradient(circle at 92% 87%,rgba(63,156,214,.1),transparent 34%),
    linear-gradient(145deg,color-mix(in srgb,var(--prism-profile-surface) 96%,#111),color-mix(in srgb,var(--prism-profile-surface) 88%,#07090d));
  box-shadow:0 24px 70px rgba(4,7,11,.22),inset 0 1px 0 rgba(255,255,255,.06);
}
.account-workspace-main .prism-decision-profile .prism-combined-synthesis::before {
  content:"";
  position:absolute;
  z-index:-1;
  inset:0;
  pointer-events:none;
  background-image:linear-gradient(rgba(255,255,255,.018) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.018) 1px,transparent 1px);
  background-size:32px 32px;
  mask-image:linear-gradient(to bottom,black,transparent 82%);
}
.account-workspace-main .prism-decision-profile .prism-combined-synthesis-header {
  display:grid;
  grid-template-columns:minmax(260px,.78fr) minmax(360px,1.22fr);
  align-items:end;
  gap:.75rem 2rem;
  padding-bottom:1rem;
  border-bottom:1px solid var(--prism-line);
}
.account-workspace-main .prism-decision-profile .prism-combined-synthesis-header h2 {
  margin:.18rem 0 0;
  color:var(--prism-ink);
  font-family:var(--font-display);
  font-size:clamp(1.35rem,2.15vw,2rem);
  line-height:1.25;
}
.account-workspace-main .prism-decision-profile .prism-combined-synthesis-header > p {
  max-width:66ch;
  margin:0;
  color:var(--prism-muted);
  font-size:.84rem;
  line-height:1.75;
}
.account-workspace-main .prism-decision-profile .prism-combined-synthesis-layout {
  display:grid;
  grid-template-columns:minmax(310px,.78fr) minmax(440px,1.22fr);
  align-items:center;
  gap:clamp(1rem,2.5vw,2rem);
  padding-top:1rem;
}
.account-workspace-main .prism-decision-profile .prism-synthesis-figure {
  display:grid;
  justify-items:center;
  min-width:0;
  margin:0;
}
.account-workspace-main .prism-decision-profile .prism-synthesis-wheel {
  display:block;
  width:min(100%,420px);
  height:auto;
  overflow:visible;
}
.account-workspace-main .prism-decision-profile .prism-synthesis-segment-track {
  fill:rgba(255,255,255,.045);
  stroke:rgba(255,255,255,.08);
  stroke-width:1;
}
.account-workspace-main .prism-decision-profile .prism-synthesis-segment-depth {
  opacity:.78;
  stroke:rgba(0,0,0,.22);
  stroke-width:1;
}
.account-workspace-main .prism-decision-profile .prism-synthesis-segment-top {
  stroke:rgba(255,255,255,.32);
  stroke-width:1;
  paint-order:stroke fill;
}
.account-workspace-main .prism-decision-profile .prism-synthesis-segment-pending {
  stroke:rgba(255,255,255,.13);
  stroke-width:1;
}
.account-workspace-main .prism-decision-profile .prism-synthesis-segment text {
  fill:var(--prism-muted);
  font-family:var(--font-display);
  font-size:9px;
  font-weight:800;
  letter-spacing:.08em;
}
.account-workspace-main .prism-decision-profile .prism-synthesis-segment.is-pending text {
  opacity:.5;
}
.account-workspace-main .prism-decision-profile .prism-synthesis-hub-depth {
  fill:rgba(0,0,0,.55);
}
.account-workspace-main .prism-decision-profile .prism-synthesis-hub-face {
  fill:color-mix(in srgb,var(--prism-profile-surface) 82%,#080b10);
  stroke:color-mix(in srgb,var(--prism-core) 52%,var(--prism-line));
  stroke-width:1.5;
}
.account-workspace-main .prism-decision-profile .prism-synthesis-hub-count {
  fill:var(--prism-ink);
  font-family:var(--font-display);
  font-size:23px;
  font-weight:800;
}
.account-workspace-main .prism-decision-profile .prism-synthesis-hub-label {
  fill:var(--prism-muted);
  font-size:9px;
  font-weight:750;
}
.account-workspace-main .prism-decision-profile .prism-synthesis-figure figcaption {
  max-width:50ch;
  margin:-.2rem auto 0;
  padding:.65rem .8rem;
  border-inline-start:2px solid var(--prism-core);
  color:var(--prism-muted);
  font-size:.75rem;
  line-height:1.7;
}
.account-workspace-main .prism-decision-profile .prism-synthesis-legend {
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:.5rem;
  min-width:0;
  margin:0;
  padding:0;
  list-style:none;
}
.account-workspace-main .prism-decision-profile .prism-synthesis-legend-item {
  position:relative;
  display:grid;
  grid-template-columns:auto minmax(0,1fr) auto;
  align-items:center;
  gap:.55rem;
  min-width:0;
  min-height:4.25rem;
  padding:.62rem .7rem;
  overflow:hidden;
  border:1px solid var(--prism-line);
  border-radius:.75rem;
  background:color-mix(in srgb,var(--prism-profile-surface) 90%,transparent);
}
.account-workspace-main .prism-decision-profile .prism-synthesis-legend-item::before {
  content:"";
  position:absolute;
  inset-block:0;
  inset-inline-start:0;
  width:3px;
  background:var(--segment-color);
  box-shadow:0 0 16px color-mix(in srgb,var(--segment-color) 70%,transparent);
}
.account-workspace-main .prism-decision-profile .prism-synthesis-legend-item.is-pending::before {
  opacity:.28;
}
.account-workspace-main .prism-decision-profile .prism-synthesis-legend-index {
  display:grid;
  place-items:center;
  width:1.7rem;
  height:1.7rem;
  border:1px solid color-mix(in srgb,var(--segment-color) 42%,var(--prism-line));
  border-radius:50%;
  color:var(--segment-color);
  font-size:.58rem;
  font-weight:850;
}
.account-workspace-main .prism-decision-profile .prism-synthesis-legend-copy {
  display:grid;
  gap:.18rem;
  min-width:0;
}
.account-workspace-main .prism-decision-profile .prism-synthesis-legend-copy strong {
  overflow-wrap:anywhere;
  color:var(--prism-ink);
  font-size:.76rem;
  line-height:1.4;
}
.account-workspace-main .prism-decision-profile .prism-synthesis-legend-copy small {
  overflow:hidden;
  color:var(--prism-muted);
  font-size:.6rem;
  line-height:1.35;
  text-overflow:ellipsis;
  white-space:nowrap;
}
.account-workspace-main .prism-decision-profile .prism-synthesis-legend-value {
  display:flex;
  align-items:baseline;
  justify-content:flex-end;
  gap:.1rem;
  color:var(--prism-muted);
  font-size:.56rem;
  text-align:end;
}
.account-workspace-main .prism-decision-profile .prism-synthesis-legend-value data {
  color:var(--segment-color);
  font-family:var(--font-display);
  font-size:1.02rem;
  font-weight:850;
}
.account-workspace-main .prism-decision-profile .prism-synthesis-pending-label {
  display:block;
  max-width:7rem;
  color:var(--prism-muted);
  font-size:.58rem;
  line-height:1.35;
}
html[data-theme="light"] .account-workspace-main .prism-decision-profile .prism-combined-synthesis {
  background:radial-gradient(circle at 13% 4%,rgba(170,120,40,.1),transparent 31%),linear-gradient(145deg,#fff,#f7f2e9);
  box-shadow:0 18px 50px rgba(51,42,27,.1),inset 0 1px 0 #fff;
}
html[data-theme="light"] .account-workspace-main .prism-decision-profile .prism-synthesis-segment-track {
  fill:rgba(56,48,36,.045);
  stroke:rgba(56,48,36,.09);
}
html[data-theme="light"] .account-workspace-main .prism-decision-profile .prism-synthesis-hub-face {
  fill:#fffaf0;
}
@media(max-width:1100px){
  .account-workspace-main .prism-decision-profile .prism-combined-synthesis-header,
  .account-workspace-main .prism-decision-profile .prism-combined-synthesis-layout{
    grid-template-columns:minmax(0,1fr);
  }
}
@media(max-width:620px){
  .account-workspace-main .prism-decision-profile .prism-synthesis-legend{
    grid-template-columns:minmax(0,1fr);
  }
  .account-workspace-main .prism-decision-profile .prism-combined-synthesis{
    padding:.85rem;
    border-radius:1rem;
  }
  .account-workspace-main .prism-decision-profile .prism-synthesis-wheel{
    width:min(100%,360px);
  }
}
.account-workspace-main .prism-decision-profile .prism-matrix-notice,
.account-workspace-main .prism-decision-profile .prism-matrix-unavailable {
  max-width:72ch;
  margin:0 0 1rem;
  padding:.35rem 0 .35rem .75rem;
  border-inline-start:2px solid var(--prism-core);
  color:var(--prism-muted);
  background:transparent;
  font-size:.78rem;
  line-height:1.65;
}
html[dir="rtl"] .account-workspace-main .prism-decision-profile .prism-matrix-notice,
html[dir="rtl"] .account-workspace-main .prism-decision-profile .prism-matrix-unavailable {
  padding:.35rem .75rem .35rem 0;
}
.account-workspace-main .prism-decision-profile .prism-matrix-insufficient {
  margin:0 0 .75rem;
  padding:.75rem 1rem;
  border:1px solid var(--prism-line);
  border-radius:.7rem;
  color:var(--prism-muted);
  background:transparent;
}
.account-workspace-main .prism-decision-profile .prism-matrix-compact-list {
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:1px;
  overflow:hidden;
  border:1px solid var(--prism-line);
  border-radius:1rem;
  background:var(--prism-line);
}
.account-workspace-main .prism-decision-profile .prism-matrix-compact-item {
  display:grid;
  grid-template-columns:auto minmax(0,1fr) auto;
  align-items:start;
  gap:.35rem .8rem;
  min-width:0;
  min-height:8.25rem;
  padding:1rem;
  color:var(--prism-ink);
  background:var(--prism-profile-surface);
}
.account-workspace-main .prism-decision-profile .prism-matrix-compact-index {
  display:grid;
  place-items:center;
  width:2rem;
  height:2rem;
  border:1px solid var(--prism-line);
  border-radius:50%;
  color:var(--prism-core);
  font-family:var(--font-display);
  font-size:.68rem;
  font-weight:800;
}
.account-workspace-main .prism-decision-profile .prism-matrix-compact-item > div {
  min-width:0;
}
.account-workspace-main .prism-decision-profile .prism-matrix-compact-item h3 {
  margin:.15rem 0 .4rem;
  color:var(--prism-ink);
  font-family:var(--font-display);
  font-size:1rem;
  line-height:1.4;
}
.account-workspace-main .prism-decision-profile .prism-matrix-compact-item p {
  margin:0;
  overflow-wrap:anywhere;
  color:var(--prism-muted);
  font-size:.82rem;
  line-height:1.7;
}
.account-workspace-main .prism-decision-profile .prism-matrix-compact-confidence {
  align-self:start;
  max-width:9rem;
  padding:.28rem .48rem;
  border:1px solid var(--prism-line);
  border-radius:999px;
  color:var(--prism-muted);
  background:color-mix(in srgb,var(--prism-core) 7%,transparent);
  font-size:.66rem;
  font-weight:750;
  line-height:1.35;
  text-align:center;
}
.account-workspace-main .prism-decision-profile .prism-matrix-evidence-details {
  margin-top:.75rem;
  border:1px solid var(--prism-line);
  border-radius:.8rem;
  background:transparent;
}
.account-workspace-main .prism-decision-profile .prism-matrix-evidence-details > summary {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:1rem;
  min-height:48px;
  padding:.65rem .9rem;
  color:var(--prism-core);
  cursor:pointer;
  font-size:.78rem;
  font-weight:800;
  list-style:none;
}
.account-workspace-main .prism-decision-profile .prism-matrix-evidence-details > summary::-webkit-details-marker {
  display:none;
}
.account-workspace-main .prism-decision-profile .prism-matrix-evidence-details > summary::after {
  content:"+";
  display:grid;
  place-items:center;
  width:1.5rem;
  height:1.5rem;
  border:1px solid var(--prism-line);
  border-radius:50%;
  color:var(--prism-muted);
  font-size:.9rem;
  line-height:1;
}
.account-workspace-main .prism-decision-profile .prism-matrix-evidence-details[open] > summary::after {
  content:"−";
}
.account-workspace-main .prism-decision-profile .prism-matrix-evidence-details > summary:focus-visible {
  outline:3px solid var(--prism-core);
  outline-offset:3px;
}
.account-workspace-main .prism-decision-profile .prism-matrix-lanes {
  overflow:hidden;
  margin:.15rem;
  border:1px solid var(--prism-line);
  border-radius:1rem;
}
.account-workspace-main .prism-decision-profile .prism-matrix-boundary {
  margin-top:.85rem;
  border:1px solid var(--prism-line);
  border-radius:.7rem;
}
.account-workspace-main .prism-decision-profile .prism-profile-grid {
  margin-top:clamp(1.5rem,3vw,2.5rem);
}
@media(max-width:680px){
  .account-workspace-main .prism-decision-profile .prism-matrix-compact-list{
    grid-template-columns:minmax(0,1fr);
  }
  .account-workspace-main .prism-decision-profile .prism-matrix-compact-item{
    min-height:0;
    grid-template-columns:auto minmax(0,1fr);
  }
  .account-workspace-main .prism-decision-profile .prism-matrix-compact-confidence{
    grid-column:2;
    justify-self:start;
  }
}


/* PRISM Core result: landscape account presentation */
.account-workspace-panel:has(.prism-result-page) {
  width: 100%;
  max-width: none;
}
.account-workspace-panel .prism-result-page {
  width: 100% !important;
  max-width: none !important;
  display: grid !important;
  grid-template-columns: minmax(0, 1.08fr) minmax(380px, .92fr) !important;
  gap: clamp(1rem, 2vw, 1.6rem) !important;
  align-items: stretch;
  padding: 0 !important;
}
.account-workspace-panel .prism-result-page > * {
  min-width: 0;
  grid-column: 1 / -1;
}
.account-workspace-panel .prism-result-page > .prism-result-hero {
  grid-column: 1;
  grid-row: 1;
  grid-template-columns: minmax(0, 1fr) !important;
  align-content: center !important;
  min-height: 100%;
  margin: 0 !important;
  padding: clamp(1.5rem, 3vw, 3rem) !important;
  border-radius: 24px !important;
}
.account-workspace-panel .prism-result-page > .prism-related-archetypes {
  grid-column: 2;
  grid-row: 1;
  margin: 0;
  padding: clamp(1.2rem, 2.4vw, 2rem) !important;
  border: 1px solid rgba(214,185,119,.2);
  border-radius: 24px;
  background: rgba(10,18,17,.68);
}
.prism-related-archetypes .section-lead {
  margin-bottom: 1rem;
}
.prism-related-archetypes .section-lead h2 {
  margin: .35rem 0 .65rem;
  font-size: clamp(1.45rem, 2.4vw, 2.25rem);
}
.prism-related-archetypes .section-lead p {
  margin: 0;
  color: var(--muted);
  line-height: 1.75;
}
.prism-related-archetype-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .9rem;
}
.prism-related-archetype-card {
  overflow: hidden;
  min-width: 0;
  border: 1px solid rgba(214,185,119,.18);
  border-radius: 18px;
  background: rgba(255,248,236,.055);
}
.prism-related-archetype-card img,
.prism-related-archetype-fallback {
  display: grid;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  place-items: center;
  background: rgba(214,185,119,.08);
  color: #f7ebd0;
  font-size: 1.05rem;
  font-weight: 850;
}
.prism-related-archetype-card > div {
  padding: 1rem;
}
.prism-related-archetype-card h3 {
  margin: .3rem 0 .55rem;
  color: #fff4df;
  font-size: 1.15rem;
}
.prism-related-archetype-card p {
  margin: 0;
  color: #cfc3aa;
  font-size: .86rem;
  line-height: 1.75;
}
.account-workspace-panel .prism-result-page > .prism-character-selector-section {
  display: grid;
  grid-template-columns: minmax(300px, .72fr) minmax(0, 1.28fr);
  gap: clamp(1rem, 2.5vw, 2rem);
  align-items: center;
}
.account-workspace-panel .prism-character-selector-section .prism-character-grid {
  margin-top: 0;
}
.account-workspace-panel .prism-character-selector-section .prism-character-controls {
  grid-column: 1 / -1;
}
.account-workspace-panel .prism-result-page > .prism-radar-section {
  grid-template-columns: minmax(300px, .72fr) minmax(0, 1.28fr) !important;
}
html[data-theme="light"] .prism-related-archetypes {
  background: rgba(255,252,246,.78) !important;
  border-color: rgba(78,66,48,.14) !important;
}
html[data-theme="light"] .prism-related-archetype-card {
  background: rgba(244,236,222,.72);
  border-color: rgba(78,66,48,.14);
}
html[data-theme="light"] .prism-related-archetype-card h3,
html[data-theme="light"] .prism-related-archetype-fallback {
  color: #171612;
}
html[data-theme="light"] .prism-related-archetype-card p {
  color: #5b5143;
}

@media (max-width: 1180px) {
  .account-workspace-panel .prism-result-page {
    grid-template-columns: 1fr !important;
  }
  .account-workspace-panel .prism-result-page > .prism-result-hero,
  .account-workspace-panel .prism-result-page > .prism-related-archetypes {
    grid-column: 1;
    grid-row: auto;
  }
}

@media (max-width: 760px) {
  .prism-related-archetype-list,
  .account-workspace-panel .prism-result-page > .prism-character-selector-section,
  .account-workspace-panel .prism-result-page > .prism-radar-section {
    grid-template-columns: 1fr !important;
  }
}


/* PRISM Core result: one landscape result surface */
.account-workspace-panel .prism-result-page {
  grid-template-columns: minmax(0, 1fr) !important;
}
.account-workspace-panel .prism-result-page > .prism-related-archetypes {
  display: none !important;
}
.account-workspace-panel .prism-result-page > .prism-result-hero {
  grid-column: 1 / -1;
  grid-row: auto;
  display: grid !important;
  grid-template-columns: minmax(0, 1.12fr) minmax(360px, .88fr) !important;
  gap: clamp(1.5rem, 3vw, 3.5rem) !important;
  align-items: center !important;
  min-height: 0;
}
.prism-result-hero-archetypes {
  min-width: 0;
  padding-inline-start: clamp(1rem, 2vw, 2rem);
  border-inline-start: 1px solid rgba(82,67,38,.16);
}
.prism-result-hero-archetypes > .kicker {
  display: block;
  margin-bottom: .8rem;
}
.prism-result-hero-archetypes .prism-related-archetype-list {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.prism-result-hero-archetypes .prism-related-archetype-card {
  background: rgba(29,32,27,.92);
  border-color: rgba(82,67,38,.22);
}
.prism-result-hero-archetypes .prism-related-archetype-card img {
  aspect-ratio: 4 / 3;
}
.prism-result-hero-archetypes .prism-related-archetype-card p {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
}
html[data-theme="light"] .prism-result-hero-archetypes {
  border-inline-start-color: rgba(78,66,48,.14);
}

@media (max-width: 980px) {
  .account-workspace-panel .prism-result-page > .prism-result-hero {
    grid-template-columns: 1fr !important;
  }
  .prism-result-hero-archetypes {
    padding-inline-start: 0;
    padding-top: 1.25rem;
    border-inline-start: 0;
    border-top: 1px solid rgba(82,67,38,.16);
  }
}

@media (max-width: 560px) {
  .prism-result-hero-archetypes .prism-related-archetype-list {
    grid-template-columns: 1fr;
  }
}


/* PRISM result refinement: authoritative archetypes and balanced landscape */
.account-workspace-panel .prism-result-hero {
  grid-template-columns: minmax(0, 1.25fr) minmax(330px, .75fr) !important;
  align-items: stretch !important;
}

.account-workspace-panel .prism-result-hero-archetypes {
  display: flex;
  min-width: 0;
  flex-direction: column;
  justify-content: center;
}

.account-workspace-panel .prism-result-hero-archetypes .prism-related-archetype-list {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) !important;
  gap: 16px;
}

.account-workspace-panel .prism-result-hero-archetypes .prism-related-archetype-card {
  display: grid !important;
  min-height: 210px;
  grid-template-columns: minmax(125px, .72fr) minmax(0, 1.28fr);
  overflow: hidden;
  border: 1px solid rgba(224, 191, 116, .3);
  border-radius: 28px;
  background: #17231f;
  box-shadow: none;
}

.account-workspace-panel .prism-result-hero-archetypes .prism-related-archetype-media {
  min-height: 210px;
  overflow: hidden;
  background:
    radial-gradient(circle at 30% 25%, rgba(218, 177, 87, .26), transparent 42%),
    linear-gradient(145deg, #254037, #101815);
}

.account-workspace-panel .prism-result-hero-archetypes .prism-related-archetype-media img {
  width: 100%;
  height: 100%;
  min-height: 210px;
  object-fit: cover;
  object-position: center;
}

.account-workspace-panel .prism-result-hero-archetypes .prism-related-archetype-fallback {
  display: grid;
  width: 100%;
  height: 100%;
  min-height: 210px;
  place-items: center;
  color: #eed99d;
  font-size: clamp(3.6rem, 7vw, 6rem);
  font-weight: 800;
  line-height: 1;
}

.account-workspace-panel .prism-result-hero-archetypes .prism-related-archetype-copy {
  display: flex;
  min-width: 0;
  flex-direction: column;
  justify-content: center;
  padding: 24px 22px;
  text-align: start;
}

.account-workspace-panel .prism-result-hero-archetypes .prism-related-archetype-copy > span {
  color: #cfad61;
  font-size: .78rem;
  font-weight: 800;
}

.account-workspace-panel .prism-result-hero-archetypes .prism-related-archetype-copy h3 {
  margin: 8px 0 10px;
  color: #fff5dd !important;
  font-size: clamp(1.2rem, 2vw, 1.7rem);
}

.account-workspace-panel .prism-result-hero-archetypes .prism-related-archetype-copy p {
  margin: 0;
  color: #d8cdb5 !important;
  font-size: .9rem;
  line-height: 1.85;
}

html[data-theme="light"] .account-workspace-panel .prism-result-hero-archetypes .prism-related-archetype-card {
  border-color: rgba(37, 72, 62, .2);
  background: #f2ead8;
}

html[data-theme="light"] .account-workspace-panel .prism-result-hero-archetypes .prism-related-archetype-media {
  background:
    radial-gradient(circle at 30% 25%, rgba(181, 137, 52, .24), transparent 42%),
    linear-gradient(145deg, #d8dfd2, #b7c6b7);
}

html[data-theme="light"] .account-workspace-panel .prism-result-hero-archetypes .prism-related-archetype-fallback {
  color: #234b40;
}

html[data-theme="light"] .account-workspace-panel .prism-result-hero-archetypes .prism-related-archetype-copy > span {
  color: #8b6623;
}

html[data-theme="light"] .account-workspace-panel .prism-result-hero-archetypes .prism-related-archetype-copy h3 {
  color: #17211d !important;
}

html[data-theme="light"] .account-workspace-panel .prism-result-hero-archetypes .prism-related-archetype-copy p {
  color: #45524b !important;
}

@media (max-width: 1100px) {
  .account-workspace-panel .prism-result-hero-archetypes .prism-related-archetype-card {
    grid-template-columns: minmax(110px, .62fr) minmax(0, 1.38fr);
  }
}

@media (max-width: 980px) {
  .account-workspace-panel .prism-result-hero {
    grid-template-columns: minmax(0, 1fr) !important;
  }

  .account-workspace-panel .prism-result-hero-archetypes {
    padding-inline-start: 0 !important;
    border-inline-start: 0 !important;
    padding-top: 24px;
    border-top: 1px solid rgba(40, 77, 67, .16);
  }
}

@media (max-width: 560px) {
  .account-workspace-panel .prism-result-hero-archetypes .prism-related-archetype-card {
    grid-template-columns: minmax(0, 1fr);
  }

  .account-workspace-panel .prism-result-hero-archetypes .prism-related-archetype-media,
  .account-workspace-panel .prism-result-hero-archetypes .prism-related-archetype-media img,
  .account-workspace-panel .prism-result-hero-archetypes .prism-related-archetype-fallback {
    min-height: 180px;
    max-height: 220px;
  }
}


/* PRISM authoritative archetype variant sheets */
.account-workspace-panel .prism-related-archetype-variant-grid {
  display: grid;
  width: 100%;
  height: 100%;
  min-height: 210px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-auto-rows: minmax(105px, 1fr);
  gap: 2px;
  background: rgba(207, 173, 97, .22);
}

.account-workspace-panel .prism-related-archetype-variant-grid.prism-related-archetype-variant-count-1 {
  grid-template-columns: minmax(0, 1fr);
}

.account-workspace-panel .prism-related-archetype-variant-grid figure {
  position: relative;
  min-width: 0;
  min-height: 105px;
  margin: 0;
  overflow: hidden;
  background: #13201c;
}

.account-workspace-panel .prism-result-hero-archetypes .prism-related-archetype-variant-grid img {
  width: 100%;
  height: 100% !important;
  min-height: 0 !important;
  object-fit: cover;
  object-position: center top;
  transition: transform .35s ease;
}

.account-workspace-panel .prism-related-archetype-variant-grid figure:hover img {
  transform: scale(1.035);
}

.account-workspace-panel .prism-related-archetype-variant-grid figcaption {
  position: absolute;
  inset-inline: 7px;
  bottom: 7px;
  padding: 5px 8px;
  border: 1px solid rgba(255, 238, 194, .22);
  border-radius: 999px;
  background: rgba(8, 16, 14, .82);
  color: #fff1cc;
  font-size: .65rem;
  font-weight: 800;
  line-height: 1.2;
  text-align: center;
  backdrop-filter: blur(8px);
}

.account-workspace-panel .prism-result-hero-archetypes .prism-related-archetype-card {
  grid-template-columns: minmax(210px, .95fr) minmax(0, 1.05fr);
}

@media (max-width: 1100px) {
  .account-workspace-panel .prism-result-hero-archetypes .prism-related-archetype-card {
    grid-template-columns: minmax(180px, .82fr) minmax(0, 1.18fr);
  }
}

@media (max-width: 560px) {
  .account-workspace-panel .prism-related-archetype-variant-grid {
    min-height: 260px;
  }
}


/* PRISM result archetype: one image, no in-card copy */
.account-workspace-panel .prism-result-hero-archetypes .prism-related-archetype-card {
  display: block !important;
  min-height: 0;
  overflow: hidden;
  background: #13201c;
}

.account-workspace-panel .prism-result-hero-archetypes .prism-related-archetype-media {
  display: grid;
  width: 100%;
  min-height: 0;
  aspect-ratio: 4 / 5;
  place-items: center;
  background: #13201c;
}

.account-workspace-panel .prism-result-hero-archetypes .prism-related-archetype-media > img {
  width: 100%;
  height: 100% !important;
  min-height: 0 !important;
  object-fit: contain;
  object-position: center;
}

.account-workspace-panel .prism-result-hero-archetypes .prism-related-archetype-copy,
.account-workspace-panel .prism-result-hero-archetypes .prism-related-archetype-variant-grid {
  display: none !important;
}

html[data-theme="light"] .account-workspace-panel .prism-result-hero-archetypes .prism-related-archetype-card,
html[data-theme="light"] .account-workspace-panel .prism-result-hero-archetypes .prism-related-archetype-media {
  background: #e8dfcb;
}

@media (max-width: 980px) {
  .account-workspace-panel .prism-result-hero-archetypes .prism-related-archetype-media {
    max-height: 620px;
  }
}

html:not([data-theme="light"]) .account-workspace-panel .prism-result-hero-archetypes .prism-related-archetype-card,
html:not([data-theme="light"]) .account-workspace-panel .prism-result-hero-archetypes .prism-related-archetype-media,
html:not([data-theme="light"]) .account-workspace-panel .prism-related-archetype-variant-grid figure {
  border-color: var(--read-line);
  background: var(--deep-panel);
}

/* Verified-provider passwordless authentication */
.telegram-auth-page {
  background:
    radial-gradient(circle at 12% 18%, rgba(36, 161, 222, .14), transparent 27rem),
    radial-gradient(circle at 88% 80%, rgba(196, 154, 69, .12), transparent 30rem),
    var(--read-bg, #0a1513);
}

.telegram-auth-flow {
  align-items: center;
}

.telegram-auth-flow .auth-copy h1 {
  max-width: 10ch;
  line-height: 1.02;
}

.telegram-auth-proof {
  display: flex;
  flex-wrap: wrap;
  gap: .55rem;
  margin-top: 1.4rem;
}

.telegram-auth-proof span {
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  padding: .48rem .76rem;
  border: 1px solid rgba(224, 193, 125, .24);
  border-radius: 9px;
  background: rgba(7, 21, 23, .48);
  color: #f4dfae;
  font-size: .82rem;
  font-weight: 850;
}

.telegram-auth-card {
  display: grid;
  gap: 1rem;
  overflow: hidden;
  position: relative;
  padding: clamp(1.45rem, 3.2vw, 2.55rem) !important;
  border-radius: 20px !important;
}

.telegram-auth-card::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(128deg, rgba(255, 255, 255, .055), transparent 35%);
}

.telegram-auth-mark {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: linear-gradient(145deg, #35ace7, #168dcc);
  color: #fff;
  box-shadow: 0 14px 36px rgba(34, 158, 217, .25);
}

.telegram-auth-mark svg {
  width: 30px;
  height: 30px;
  fill: currentColor;
}

.telegram-auth-mark.auth-security-mark {
  background: linear-gradient(145deg, #15866f, #0f6357);
  box-shadow: 0 14px 36px rgba(20, 132, 109, .24);
}

.telegram-auth-eyebrow {
  color: #e1bd71;
  font-size: .78rem;
  font-weight: 950;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.telegram-auth-card h2 {
  margin: -.3rem 0 0;
  color: #fff7e8;
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  line-height: 1.15;
}

.telegram-auth-card > p {
  margin: 0;
  color: rgba(241, 230, 207, .78) !important;
  line-height: 1.75;
}

.telegram-auth-button {
  min-height: 56px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .65rem;
  padding: .85rem 1.15rem;
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 12px;
  background: linear-gradient(145deg, #2aa8e6, #188fc9);
  color: #fff !important;
  font-weight: 950;
  text-decoration: none;
  box-shadow: 0 16px 34px rgba(25, 145, 201, .22);
  transition: transform .18s ease, box-shadow .18s ease, filter .18s ease;
}

.auth-provider-options {
  display: grid;
  gap: .72rem;
}

.google-auth-button {
  border-color: rgba(255, 255, 255, .24);
  background: #fff;
  color: #17211f !important;
  box-shadow: 0 14px 32px rgba(0, 0, 0, .18);
}

.google-auth-button:hover {
  box-shadow: 0 18px 38px rgba(0, 0, 0, .24);
}

.google-auth-button svg path:nth-child(1) { fill: #4285f4 !important; }
.google-auth-button svg path:nth-child(2) { fill: #34a853 !important; }
.google-auth-button svg path:nth-child(3) { fill: #fbbc05 !important; }
.google-auth-button svg path:nth-child(4) { fill: #ea4335 !important; }

.auth-provider-divider {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: .7rem;
  color: rgba(236, 226, 205, .55);
  font-size: .76rem;
  font-weight: 800;
}

.auth-provider-divider::before,
.auth-provider-divider::after {
  content: "";
  height: 1px;
  background: rgba(224, 193, 125, .16);
}

.telegram-auth-button svg {
  width: 23px;
  height: 23px;
  flex: 0 0 auto;
  fill: currentColor;
}

.telegram-auth-button:hover {
  transform: translateY(-2px);
  filter: brightness(1.06);
  box-shadow: 0 20px 42px rgba(25, 145, 201, .3);
}

.telegram-auth-button:focus-visible {
  outline: 3px solid #f4cf7b;
  outline-offset: 4px;
}

.telegram-auth-button[aria-busy="true"] {
  pointer-events: none;
  filter: saturate(.72);
}

.telegram-auth-details {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .65rem;
}

.telegram-auth-details > div {
  display: grid;
  gap: .32rem;
  min-height: 104px;
  padding: .85rem;
  border: 1px solid rgba(224, 193, 125, .16);
  border-radius: 12px;
  background: rgba(4, 16, 16, .34);
}

.telegram-auth-details strong {
  color: #f5dda8;
  font-size: .82rem;
}

.telegram-auth-details span {
  color: rgba(236, 226, 205, .68);
  font-size: .78rem;
  line-height: 1.65;
}

.telegram-auth-consent {
  font-size: .76rem !important;
  line-height: 1.65 !important;
}

.telegram-auth-consent a {
  color: #8ed8f8 !important;
  text-underline-offset: 3px;
}

.telegram-auth-alert {
  padding: .8rem .9rem;
  border: 1px solid rgba(255, 181, 100, .42);
  border-radius: 10px;
  background: rgba(103, 49, 15, .34);
  color: #ffe0b3;
  font-size: .86rem;
  font-weight: 800;
  line-height: 1.6;
}

html[data-theme="light"] .telegram-auth-page {
  background:
    radial-gradient(circle at 12% 18%, rgba(36, 161, 222, .12), transparent 27rem),
    radial-gradient(circle at 88% 80%, rgba(196, 154, 69, .1), transparent 30rem),
    #eee7da;
}

html[data-theme="light"] .telegram-auth-card h2 {
  color: #182521;
}

html[data-theme="light"] .telegram-auth-card > p,
html[data-theme="light"] .telegram-auth-details span {
  color: #5d5a50 !important;
}

html[data-theme="light"] .telegram-auth-proof span,
html[data-theme="light"] .telegram-auth-details > div {
  border-color: rgba(71, 88, 78, .18);
  background: rgba(255, 252, 244, .68);
  color: #385d56;
}

html[data-theme="light"] .telegram-auth-details strong {
  color: #685024;
}

html[data-theme="light"] .telegram-auth-consent a {
  color: #126e95 !important;
}

html[data-theme="light"] .auth-provider-divider {
  color: #67635a;
}

html[data-theme="light"] .auth-provider-divider::before,
html[data-theme="light"] .auth-provider-divider::after {
  background: rgba(71, 88, 78, .18);
}

@media (max-width: 720px) {
  .telegram-auth-page {
    padding: 1rem;
  }

  .telegram-auth-card {
    order: -1;
    gap: .75rem;
    padding: 1.25rem !important;
  }

  .telegram-auth-flow .auth-copy {
    order: 2;
  }

  .telegram-auth-mark {
    width: 48px;
    height: 48px;
    border-radius: 14px;
  }

  .telegram-auth-mark svg {
    width: 26px;
    height: 26px;
  }

  .telegram-auth-details {
    grid-template-columns: 1fr;
  }

  .telegram-auth-details > div {
    min-height: 0;
  }

  .telegram-auth-button {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .telegram-auth-button {
    transition: none;
  }
}
/* Mobile account/PRISM containment: keep every workspace track inside the visible viewport. */
.account-workspace-main .prism-observatory,
.account-workspace-main .prism-workspace-shell,
.account-workspace-main .prism-profile-intelligence{
  min-width:0;
  max-width:100%;
}
@media(max-width:980px){
  .account-sidebar-toggle,
  html[dir="rtl"] .account-sidebar-toggle{
    grid-column:1!important;
    grid-row:1!important;
    position:relative!important;
    top:auto!important;
    transform:none!important;
    margin-block-end:.25rem;
  }
  .account-sidebar-toggle{
    justify-self:start!important;
  }
  html[dir="rtl"] .account-sidebar-toggle{
    justify-self:end!important;
  }
  .account-workspace-main{
    grid-column:1!important;
    grid-row:2!important;
    grid-template-columns:minmax(0,1fr)!important;
  }
  .account-workspace-sidebar,
  html[dir="rtl"] .account-workspace-sidebar{
    grid-column:1!important;
    grid-row:3!important;
  }
  .account-workspace-main .prism-observatory{
    width:100%;
    max-width:100%;
  }
  .account-workspace-main .prism-observatory-nav{
    width:100%;
    max-width:100%;
    overscroll-behavior-inline:contain;
    scroll-snap-type:inline proximity;
    scrollbar-width:none;
    -webkit-overflow-scrolling:touch;
    -webkit-mask-image:linear-gradient(90deg,transparent 0,#000 1rem,#000 calc(100% - 1rem),transparent 100%);
    mask-image:linear-gradient(90deg,transparent 0,#000 1rem,#000 calc(100% - 1rem),transparent 100%);
  }
  .account-workspace-main .prism-observatory-nav::-webkit-scrollbar,
  .prism-assessment-page .prism-assessment-map .prism-steps::-webkit-scrollbar{
    display:none;
  }
  .account-workspace-main .prism-observatory-nav a{
    flex:0 0 auto;
    scroll-snap-align:start;
  }
  .prism-assessment-page .prism-assessment-map .prism-steps{
    scroll-snap-type:inline mandatory;
    scrollbar-width:none;
    -webkit-overflow-scrolling:touch;
    -webkit-mask-image:linear-gradient(90deg,transparent 0,#000 1rem,#000 calc(100% - 1rem),transparent 100%);
    mask-image:linear-gradient(90deg,transparent 0,#000 1rem,#000 calc(100% - 1rem),transparent 100%);
  }
  .prism-assessment-page .prism-assessment-map .prism-steps li{
    scroll-snap-align:start;
  }
  .prism-decision-profile summary{
    display:flex;
    align-items:center;
    min-height:44px;
  }
  .site-header .brand,
  .site-header .nav-toggle,
  .site-header .header-actions .lang-link,
  .reference-footer a,
  .site-footer a{
    min-height:44px!important;
  }
  .site-header .nav-toggle{
    width:44px!important;
    height:44px!important;
    min-width:44px!important;
  }
  .site-header .header-actions .lang-link{
    min-width:44px!important;
  }
}
/* Keep the account/login action visible on mobile; only the commerce cart is intentionally hidden in the compact header. */
@media(max-width:980px){
  body .site-header .header-actions .cart-link[data-login-link],
  body .site-header .header-actions .cart-link[data-account-link]{
    display:inline-flex!important;
    align-items:center!important;
    justify-content:center!important;
    min-width:44px!important;
    min-height:44px!important;
    max-width:9rem!important;
    padding:.46rem .68rem!important;
    overflow:hidden!important;
    white-space:nowrap!important;
    text-overflow:ellipsis!important;
  }
  body .site-header .header-actions .cart-link[data-account-link] .account-action-name,
  body .site-header .header-actions .cart-link[data-account-link] .account-action-separator{
    display:none!important;
  }
  body .site-header .header-actions .logout-link{
    display:none!important;
  }
  body .site-header .primary-nav .mobile-account-actions{
    display:grid!important;
    grid-template-columns:1fr;
    gap:.5rem;
    margin-top:.4rem;
    padding-top:.75rem;
    border-top:1px solid rgba(214,185,119,.18);
  }
  body .site-header .primary-nav .mobile-account-actions[hidden]{
    display:none!important;
  }
  body .site-header .primary-nav .mobile-account-panel,
  body .site-header .primary-nav .mobile-logout-link{
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    min-height:44px!important;
    padding:.62rem .8rem!important;
    border-radius:12px!important;
    text-decoration:none!important;
    font-weight:850!important;
  }
  body .site-header .primary-nav .mobile-account-panel{
    border:1px solid rgba(214,185,119,.28)!important;
    background:rgba(214,185,119,.12)!important;
    color:inherit!important;
  }
}
.mobile-account-actions{display:none}
.ton-checkout-flow[hidden],.ton-receipt-view[hidden]{display:none}.ton-receipt-view{display:grid;place-items:center;min-height:68vh}.ton-receipt-card{display:grid;justify-items:center;gap:1rem;width:min(100%,720px);padding:clamp(1.4rem,4vw,3rem);text-align:center;border:1px solid var(--line);border-radius:18px;background:linear-gradient(145deg,rgba(255,255,255,.82),rgba(255,255,255,.62));box-shadow:0 22px 70px rgba(34,43,38,.12)}.ton-receipt-mark{display:grid;place-items:center;width:64px;height:64px;border-radius:50%;color:#fff;background:var(--teal);box-shadow:0 10px 24px rgba(15,118,110,.22)}.ton-receipt-mark svg{width:34px;height:34px}.ton-receipt-card h1{margin:0;color:var(--deep)}.ton-receipt-card>p{max-width:54ch;margin:0;color:var(--muted);font-weight:750}.ton-receipt-facts{width:100%;margin:1rem 0}.ton-receipt-actions{justify-content:center}.ton-receipt-note{font-size:.86rem!important;font-weight:650!important}.account-payment-history{margin-top:1rem}.account-payment-history-list{display:grid;gap:.6rem}.account-payment-history-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:.55rem 1rem;padding:.85rem;border:1px solid var(--line);border-radius:10px;background:rgba(255,255,255,.45)}.account-payment-history-row>div{display:grid;gap:.2rem}.account-payment-history-row strong{color:var(--deep)}.account-payment-history-row small,.account-payment-history-row code{color:var(--muted);font-size:.8rem}.account-payment-history-row b{color:var(--teal);text-align:end}.account-payment-history-row span{font-weight:850;text-align:end}.account-payment-history-row code{grid-column:1/-1;overflow-wrap:anywhere}@media(max-width:520px){.ton-receipt-actions{width:100%;display:grid}.ton-receipt-actions>*{width:100%;text-align:center}.account-payment-history-row{grid-template-columns:1fr}.account-payment-history-row b,.account-payment-history-row span{text-align:start}}html:not([data-theme="light"]) .ton-receipt-card{background:linear-gradient(145deg,rgba(32,31,27,.96),rgba(22,24,21,.94));border-color:rgba(207,190,156,.22)}html:not([data-theme="light"]) .ton-receipt-card h1,html:not([data-theme="light"]) .ton-receipt-card strong,html:not([data-theme="light"]) .account-payment-history-row strong{color:#fff5dd}html:not([data-theme="light"]) .account-payment-history-row{background:rgba(255,255,255,.05);border-color:rgba(207,190,156,.18)}
@media print{body *{visibility:hidden!important}body{background:#fff!important}body [data-ton-receipt],body [data-ton-receipt] *{visibility:visible!important}.ton-receipt-view{position:absolute!important;inset:0!important;display:grid!important;min-height:0!important;padding:0!important;background:#fff!important}.ton-receipt-card{width:100%!important;max-width:760px!important;color:#111!important;background:#fff!important;border:1px solid #bbb!important;box-shadow:none!important}.ton-receipt-card h1,.ton-receipt-card strong,.ton-receipt-card dd{color:#111!important}.ton-receipt-actions,.ton-receipt-note{display:none!important}.ton-receipt-card dt,.ton-receipt-card p{color:#444!important}}

/* Live Journal analytical workspace and account-level Decision Matrix entry point. */
.account-decision-matrix-summary{
  overflow:hidden;
  margin-top:1rem;
  border:1px solid rgba(212,181,107,.24);
  border-radius:16px;
  background:linear-gradient(115deg,rgba(212,181,107,.075),rgba(255,255,255,.025));
}
.account-decision-matrix-summary>header{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:1rem;
  padding:1rem 1.15rem;
  border-bottom:1px solid rgba(207,190,156,.16);
}
.account-decision-matrix-summary>header>div{min-width:0}
.account-decision-matrix-summary>header span{display:block;color:#d4b56b;font-size:.72rem;font-weight:900}
.account-decision-matrix-summary h2{margin:.15rem 0;color:inherit;font-size:1.08rem}
.account-decision-matrix-summary p{margin:0;color:var(--muted);font-size:.8rem;line-height:1.6}
.account-decision-matrix-summary .primary{flex:0 0 auto;min-height:44px}
.account-decision-matrix-summary>dl{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));margin:0}
.account-decision-matrix-summary>dl>div{min-width:0;padding:.75rem 1rem;border-inline-end:1px solid rgba(207,190,156,.13)}
.account-decision-matrix-summary>dl>div:last-child{border-inline-end:0}
.account-decision-matrix-summary dt{color:var(--muted);font-size:.7rem;font-weight:800}
.account-decision-matrix-summary dd{margin:.18rem 0 0;color:inherit;font-family:"IBM Plex Mono","Courier New",monospace;font-size:1rem;font-weight:850}

.account-workspace-main .journal-workspace{
  max-width:100%;
  min-width:0;
  gap:.75rem;
  margin-top:.25rem;
  overflow:hidden;
  font-family:Vazirmatn,Tahoma,"Segoe UI",sans-serif;
}
.account-workspace-main .journal-account-state,
.account-workspace-main .journal-analysis-panel,
.account-workspace-main .journal-market-evidence,
.account-workspace-main .journal-ledger,
.account-workspace-main .journal-section-tabs{
  border:1px solid var(--journal-line);
  border-radius:14px;
  background:linear-gradient(145deg,rgba(27,29,26,.97),rgba(15,18,16,.96));
}
.account-workspace-main .journal-account-header{
  display:grid;
  grid-template-columns:minmax(180px,.6fr) minmax(0,1.4fr);
  align-items:center;
  gap:1rem;
  padding:.85rem 1rem;
  border-bottom:1px solid var(--journal-line);
  background:linear-gradient(90deg,rgba(212,181,107,.07),transparent 55%);
}
.account-workspace-main .journal-account-header>div>span,
.account-workspace-main .journal-section-heading span{
  display:block;
  color:var(--journal-gold);
  font-size:.7rem;
  font-weight:900;
}
.account-workspace-main .journal-account-header h2{margin:.1rem 0 0;color:var(--journal-ink);font-size:1.15rem}
.account-workspace-main .journal-account-meta{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));margin:0}
.account-workspace-main .journal-account-meta>div{min-width:0;padding:.25rem .8rem;border-inline-start:1px solid var(--journal-line)}
.account-workspace-main .journal-account-meta dt{color:var(--journal-muted);font-size:.66rem;font-weight:800}
.account-workspace-main .journal-account-meta dd{display:flex;align-items:center;gap:.35rem;margin:.18rem 0 0;overflow:hidden;color:var(--journal-ink);font-family:"IBM Plex Mono","Courier New",monospace;font-size:.73rem;font-weight:800;text-overflow:ellipsis;white-space:nowrap}
.account-workspace-main .journal-account-meta dd.is-connected{color:var(--journal-positive)}
.account-workspace-main .journal-account-meta dd i{width:7px;height:7px;border-radius:50%;background:currentColor;box-shadow:0 0 0 4px rgba(115,199,155,.09)}
.account-workspace-main .journal-account-state-scroll,
.account-workspace-main .journal-statistics-scroll,
.account-workspace-main .journal-table-shell{max-width:100%;overflow-x:auto;overscroll-behavior-inline:contain}
.account-workspace-main .journal-account-state-table{width:100%;min-width:720px;border-collapse:collapse;table-layout:fixed}
.account-workspace-main .journal-account-state-table th{padding:.55rem .75rem;color:var(--journal-muted);font-size:.67rem;text-align:start;background:rgba(212,181,107,.035)}
.account-workspace-main .journal-account-state-table td{padding:.7rem .75rem;border-top:1px solid var(--journal-line);color:var(--journal-ink);font-family:"IBM Plex Mono","Courier New",monospace;font-size:.78rem;font-weight:800;white-space:nowrap}
.account-workspace-main .journal-section-tabs{display:flex;max-width:100%;overflow-x:auto;scrollbar-width:thin}
.account-workspace-main .journal-section-tabs a{display:flex;align-items:center;justify-content:center;flex:1 0 auto;min-height:44px;padding:.55rem .95rem;border-inline-end:1px solid var(--journal-line);color:var(--journal-muted);font-size:.76rem;font-weight:850;text-decoration:none;white-space:nowrap;transition:background .18s ease,color .18s ease}
.account-workspace-main .journal-section-tabs a:last-child{border-inline-end:0}
.account-workspace-main .journal-section-tabs a:hover,
.account-workspace-main .journal-section-tabs a:focus-visible{color:var(--journal-ink);background:rgba(212,181,107,.09)}
.account-workspace-main .journal-section-tabs a:focus-visible{outline:3px solid #f0d58f;outline-offset:-3px}
.account-workspace-main .journal-analysis-panel,
.account-workspace-main .journal-market-evidence{overflow:hidden}
.account-workspace-main .journal-section-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:1rem;padding:.75rem 1rem;border-bottom:1px solid var(--journal-line)}
.account-workspace-main .journal-section-heading h3{margin:.1rem 0 0;color:var(--journal-ink);font-size:1rem}
.account-workspace-main .journal-section-heading p{max-width:48ch;margin:0;color:var(--journal-muted);font-size:.72rem;text-align:end}
.account-workspace-main .journal-overview-grid{display:grid;grid-template-columns:minmax(0,1.8fr) minmax(260px,.7fr);min-width:0;border-bottom:1px solid var(--journal-line)}
.account-workspace-main .journal-chart-region{min-width:0;border-inline-end:1px solid var(--journal-line)}
.account-workspace-main .journal-equity-chart{min-height:100%;padding:.8rem 1rem .35rem;background:linear-gradient(rgba(207,190,156,.035) 1px,transparent 1px),linear-gradient(90deg,rgba(207,190,156,.03) 1px,transparent 1px),rgba(12,16,14,.42);background-size:100% 42px,64px 100%,auto}
.account-workspace-main .journal-equity-chart svg{min-height:210px}
.account-workspace-main .journal-overview-kpis{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-content:stretch;margin:0}
.account-workspace-main .journal-overview-kpis>div{min-width:0;padding:.65rem .75rem;border-inline-end:1px solid var(--journal-line);border-bottom:1px solid var(--journal-line)}
.account-workspace-main .journal-overview-kpis>div:nth-child(even){border-inline-end:0}
.account-workspace-main .journal-overview-kpis>div:nth-last-child(-n+2){border-bottom:0}
.account-workspace-main .journal-overview-kpis dt{color:var(--journal-muted);font-size:.67rem;font-weight:800}
.account-workspace-main .journal-overview-kpis dd{margin:.2rem 0 0;overflow-wrap:anywhere;color:var(--journal-ink);font-family:"IBM Plex Mono","Courier New",monospace;font-size:.83rem;font-weight:850}
.account-workspace-main .journal-statistics-section{scroll-margin-top:1rem}
.account-workspace-main .journal-statistics-table{width:100%;border-collapse:collapse;table-layout:fixed}
.account-workspace-main .journal-statistics-table .journal-stat-group{width:18%}
.account-workspace-main .journal-statistics-table .journal-stat-label{width:42%}
.account-workspace-main .journal-statistics-table .journal-stat-value{width:40%}
.account-workspace-main .journal-statistics-table th,
.account-workspace-main .journal-statistics-table td{padding:.52rem .85rem;border-bottom:1px solid rgba(207,190,156,.1);text-align:start;vertical-align:top}
.account-workspace-main .journal-statistics-table thead th{color:var(--journal-muted);font-size:.66rem;background:rgba(212,181,107,.045)}
.account-workspace-main .journal-statistics-table tbody td:first-child{color:var(--journal-gold);font-size:.67rem;font-weight:850}
.account-workspace-main .journal-statistics-table tbody th{color:var(--journal-muted);font-size:.74rem;font-weight:750}
.account-workspace-main .journal-statistics-table tbody td:last-child{color:var(--journal-ink);font-family:"IBM Plex Mono","Courier New",monospace;font-size:.76rem}
.account-workspace-main .journal-statistics-table tbody+tbody tr:first-child>*{border-top:2px solid rgba(212,181,107,.2)}
.account-workspace-main .journal-sharpe-value>strong{display:block;font-family:Vazirmatn,Tahoma,"Segoe UI",sans-serif;font-size:.75rem;line-height:1.65}
.account-workspace-main .journal-technical-details{margin-top:.25rem;font-family:Vazirmatn,Tahoma,"Segoe UI",sans-serif}
.account-workspace-main .journal-technical-details summary{min-height:32px;color:var(--journal-gold);cursor:pointer;font-size:.68rem;font-weight:800}
.account-workspace-main .journal-technical-details dl{display:grid;gap:.25rem;margin:.2rem 0 0}
.account-workspace-main .journal-technical-details dl>div{display:flex;justify-content:space-between;gap:.5rem}
.account-workspace-main .journal-technical-details dt,
.account-workspace-main .journal-technical-details dd{margin:0;color:var(--journal-muted);font-size:.66rem}
.account-workspace-main .journal-technical-details dd{display:flex;gap:.4rem;flex-wrap:wrap;justify-content:flex-end}
.account-workspace-main .journal-technical-details code{color:var(--journal-ink);font-size:.64rem}
.account-workspace-main .journal-market-evidence{scroll-margin-top:1rem}
.account-workspace-main .journal-market-evidence>dl{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));margin:0}
.account-workspace-main .journal-market-evidence>dl>div{min-width:0;padding:.7rem .85rem;border-inline-end:1px solid var(--journal-line)}
.account-workspace-main .journal-market-evidence>dl>div:last-child{border-inline-end:0}
.account-workspace-main .journal-market-evidence dt{color:var(--journal-muted);font-size:.66rem;font-weight:800}
.account-workspace-main .journal-market-evidence dd{margin:.2rem 0 0;color:var(--journal-ink);font-family:"IBM Plex Mono","Courier New",monospace;font-size:.76rem;font-weight:800;overflow-wrap:anywhere}
.account-workspace-main .journal-ledger{scroll-margin-top:1rem}
html[dir="rtl"] .account-workspace-main .journal-workspace{text-align:right}
html[data-theme="light"] .account-workspace-main .journal-account-state,
html[data-theme="light"] .account-workspace-main .journal-analysis-panel,
html[data-theme="light"] .account-workspace-main .journal-market-evidence,
html[data-theme="light"] .account-workspace-main .journal-ledger,
html[data-theme="light"] .account-workspace-main .journal-section-tabs{background:linear-gradient(145deg,#fffdf7,#f4ecdc)}
html[data-theme="light"] .account-decision-matrix-summary{background:linear-gradient(115deg,rgba(212,181,107,.11),rgba(212,181,107,.035))}

@media(max-width:900px){
  .account-decision-matrix-summary>dl{grid-template-columns:repeat(2,minmax(0,1fr))}
  .account-decision-matrix-summary>dl>div:nth-child(2){border-inline-end:0}
  .account-decision-matrix-summary>dl>div:nth-child(-n+2){border-bottom:1px solid rgba(207,190,156,.13)}
  .account-workspace-main .journal-account-header{grid-template-columns:1fr}
  .account-workspace-main .journal-account-meta>div:first-child{border-inline-start:0}
  .account-workspace-main .journal-overview-grid{grid-template-columns:1fr}
  .account-workspace-main .journal-chart-region{border-inline-end:0;border-bottom:1px solid var(--journal-line)}
  .account-workspace-main .journal-market-evidence>dl{grid-template-columns:repeat(2,minmax(0,1fr))}
  .account-workspace-main .journal-market-evidence>dl>div:nth-child(2){border-inline-end:0}
  .account-workspace-main .journal-market-evidence>dl>div:nth-child(-n+2){border-bottom:1px solid var(--journal-line)}
}
@media(max-width:600px){
  .account-decision-matrix-summary>header{align-items:stretch;flex-direction:column}
  .account-decision-matrix-summary .primary{width:100%}
  .account-workspace-main .journal-account-meta{grid-template-columns:1fr}
  .account-workspace-main .journal-account-meta>div{padding:.45rem 0;border-top:1px solid var(--journal-line);border-inline-start:0}
  .account-workspace-main .journal-section-heading{align-items:flex-start;flex-direction:column;gap:.35rem}
  .account-workspace-main .journal-section-heading p{text-align:start}
  .account-workspace-main .journal-statistics-table thead th:first-child,
  .account-workspace-main .journal-statistics-table tbody td:first-child{display:none}
  .account-workspace-main .journal-statistics-table .journal-stat-label{width:52%}
  .account-workspace-main .journal-statistics-table .journal-stat-value{width:48%}
  .account-workspace-main .journal-statistics-table th,
  .account-workspace-main .journal-statistics-table td{padding:.55rem .65rem}
  .account-workspace-main .journal-market-evidence>dl{grid-template-columns:1fr}
  .account-workspace-main .journal-market-evidence>dl>div{border-inline-end:0;border-bottom:1px solid var(--journal-line)}
  .account-workspace-main .journal-market-evidence>dl>div:last-child{border-bottom:0}
}
@media(max-width:390px){
  .account-decision-matrix-summary>dl{grid-template-columns:1fr}
  .account-decision-matrix-summary>dl>div{border-inline-end:0;border-bottom:1px solid rgba(207,190,156,.13)}
  .account-decision-matrix-summary>dl>div:last-child{border-bottom:0}
  .account-workspace-main .journal-overview-kpis{grid-template-columns:1fr}
  .account-workspace-main .journal-overview-kpis>div{border-inline-end:0!important;border-bottom:1px solid var(--journal-line)!important}
  .account-workspace-main .journal-overview-kpis>div:last-child{border-bottom:0!important}
}
@media(prefers-reduced-motion:reduce){
  .account-workspace-main .journal-section-tabs a{transition:none}
}

/* Render-path performance: reserve below-fold space and start decorative motion after load. */
.home .home-trust-band{
  content-visibility:auto;
  contain-intrinsic-size:auto 680px;
}
.home .water-field span,
.home .trading-hero::before,
.home .trading-hero::after,
.home .market-console::before,
.home .chart-zone::after,
.home .trading-hero .roadmap::after,
.home .neural-system-map::before,
.home .neural-lines path,
.home .neural-lines .synapse-dots circle{
  animation-play-state:paused!important;
}
html.visual-motion-ready .home .water-field span,
html.visual-motion-ready .home .trading-hero::before,
html.visual-motion-ready .home .trading-hero::after,
html.visual-motion-ready .home .market-console::before,
html.visual-motion-ready .home .chart-zone::after,
html.visual-motion-ready .home .trading-hero .roadmap::after,
html.visual-motion-ready .home .neural-system-map::before,
html.visual-motion-ready .home .neural-lines path,
html.visual-motion-ready .home .neural-lines .synapse-dots circle{
  animation-play-state:running!important;
}
@media (max-width:960px), (prefers-reduced-motion:reduce){
  .home .water-field span,
  .home .trading-hero::before,
  .home .trading-hero::after,
  .home .market-console::before,
  .home .chart-zone::after,
  .home .trading-hero .roadmap::after,
  .home .neural-system-map::before,
  .home .neural-lines path,
  .home .neural-lines .synapse-dots circle{
    animation:none!important;
  }
}

/* Shared completed-result grammar for PRISM Core, Pro, and Expert. */
.prism-observatory {
  --prism-result-radius: 24px;
  --prism-result-surface: color-mix(in srgb, var(--prism-bg) 88%, var(--prism-ink) 12%);
  --prism-result-surface-soft: color-mix(in srgb, var(--prism-bg) 94%, var(--prism-ink) 6%);
  --prism-result-ink: #f2eee4;
  --prism-result-muted: #aeb8b4;
  --prism-result-accent: var(--prism-core);
}
.prism-observatory--pro { --prism-result-accent: var(--prism-pro); }
.prism-observatory--expert { --prism-result-accent: var(--prism-expert); }
.prism-observatory--core-result,
.prism-observatory--pro,
.prism-observatory--expert-result {
  width: min(100%, 1320px);
}
.prism-observatory--pro .prism-workspace-shell {
  padding: clamp(.75rem, 1.5vw, 1.1rem) 0 0;
}
.prism-observatory--pro .prism-server-status:empty { display: none; }
.prism-observatory--pro .prism-workspace-stage { min-height: 0; }
.prism-unified-result.prism-report-narrative,
.prism-unified-result.prism-expert-report {
  padding: clamp(.85rem, 1.6vw, 1.25rem) 0 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}
.prism-unified-result-header {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(1.25rem, 3vw, 3rem);
  align-items: center;
  margin: 0;
  padding: clamp(1.4rem, 2.5vw, 2.25rem);
  border: 1px solid var(--prism-line);
  border-radius: var(--prism-result-radius);
  color: var(--prism-result-ink);
  background:
    radial-gradient(circle at 100% 0, color-mix(in srgb, var(--prism-result-accent) 13%, transparent), transparent 24rem),
    var(--prism-result-surface);
  box-shadow: inset 0 1px rgba(255,255,255,.035), 0 20px 48px rgba(0,0,0,.12);
}
.prism-unified-result-header--core {
  grid-template-columns: minmax(0, 1.12fr) minmax(300px, .88fr);
}
.prism-unified-result-heading { min-width: 0; }
.prism-observatory .prism-unified-result-heading h1 {
  max-width: 20ch;
  margin: 0;
  color: var(--prism-result-ink) !important;
  font-family: var(--font-display, inherit);
  font-size: clamp(2rem, 3.4vw, 3.35rem);
  font-weight: 620;
  letter-spacing: -.035em;
  line-height: 1.06;
  overflow-wrap: anywhere;
  text-wrap: balance;
}
.prism-observatory .prism-unified-result-header--pro .prism-unified-result-heading h1,
.prism-observatory .prism-unified-result-header--expert .prism-unified-result-heading h1 {
  max-width: 28ch;
  font-size: clamp(1.1rem, 1.7vw, 1.53rem);
}
.prism-unified-result-summary {
  max-width: 66ch;
  margin: 1rem 0 0;
  color: var(--prism-result-muted) !important;
  font-size: clamp(1rem, 1.35vw, 1.2rem);
  line-height: 1.8;
}
.prism-unified-result-heading :where(.result-safety, .result-session-note, .result-save-note) {
  max-width: 66ch;
  color: var(--prism-result-muted) !important;
}
.prism-unified-result-header .prism-section-label,
.prism-unified-radar-panel .prism-section-label {
  color: var(--prism-result-accent) !important;
}
.account-workspace-panel .prism-result-hero :where(.prism-section-label, .prism-unified-result-summary, .result-safety, .result-session-note, .result-save-note) {
  color: var(--prism-result-muted) !important;
}
.account-workspace-panel .prism-result-hero .prism-unified-result-heading :is(
  p.prism-unified-result-summary,
  p.result-safety,
  p.result-session-note,
  p.result-save-note
) { color: var(--prism-result-muted) !important; }
.account-workspace-panel .prism-result-hero .prism-section-label { color: var(--prism-result-accent) !important; }
.prism-unified-result-heading .actions {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  margin-top: 1.25rem;
}
.prism-unified-result-heading .actions :where(a, button) { min-height: 44px; }
.prism-unified-radar-panel,
.account-workspace-panel .prism-result-page > .prism-unified-radar-panel {
  display: block !important;
  margin: clamp(1rem, 2vw, 1.5rem) 0 0;
  padding: clamp(1.25rem, 2.4vw, 2rem) !important;
  border: 1px solid var(--prism-line) !important;
  border-radius: var(--prism-result-radius) !important;
  color: var(--prism-result-ink);
  background: var(--prism-result-surface) !important;
  box-shadow: inset 0 1px rgba(255,255,255,.03), 0 18px 42px rgba(0,0,0,.1);
}
.prism-unified-section-heading {
  max-width: 72ch;
  margin: 0 0 clamp(1rem, 1.8vw, 1.5rem);
}
.prism-unified-section-heading h2 {
  margin: 0;
  color: var(--prism-result-ink) !important;
  font-family: var(--font-display, inherit);
  font-size: clamp(1.45rem, 2.2vw, 2.1rem);
  font-weight: 620;
  letter-spacing: -.02em;
  line-height: 1.2;
  text-wrap: balance;
}
.prism-unified-section-heading > p:last-child {
  margin: .75rem 0 0;
  color: var(--prism-result-muted) !important;
  line-height: 1.75;
}
.prism-unified-radar-layout {
  display: grid;
  grid-template-columns: minmax(280px, .82fr) minmax(0, 1.18fr);
  gap: clamp(1.25rem, 3vw, 3rem);
  align-items: center;
}
.prism-unified-radar-layout figure {
  min-width: 0;
  width: 100%;
  max-width: 440px;
  margin: 0 auto;
}
.prism-unified-radar {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  overflow: visible;
}
.prism-unified-radar-grid :where(polygon, line) {
  fill: none;
  stroke: color-mix(in srgb, var(--prism-result-muted) 35%, transparent);
  stroke-width: 1;
  vector-effect: non-scaling-stroke;
}
.prism-unified-radar-shape {
  fill: color-mix(in srgb, var(--prism-result-accent) 20%, transparent);
  stroke: var(--prism-result-accent);
  stroke-width: 2.5;
  vector-effect: non-scaling-stroke;
}
.prism-unified-radar-dots circle {
  fill: var(--prism-result-accent);
  stroke: var(--prism-result-surface);
  stroke-width: 2;
  vector-effect: non-scaling-stroke;
}
.prism-unified-radar-labels text {
  fill: var(--prism-result-muted);
  font-family: var(--font-ui, inherit);
  font-size: 14px;
  font-weight: 700;
  text-anchor: middle;
  font-variant-numeric: tabular-nums;
}
.prism-unified-radar-labels tspan:first-child { fill: var(--prism-result-ink); }
.prism-unified-metric-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 1.25rem;
  min-width: 0;
  margin: 0;
  border-top: 1px solid var(--prism-line);
}
.prism-unified-metric-grid > div {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: .45rem 1rem;
  align-content: start;
  min-width: 0;
  padding: 1rem 0;
  border-bottom: 1px solid var(--prism-line);
}
.prism-unified-metric-grid dt {
  display: flex;
  gap: .65rem;
  min-width: 0;
  margin: 0;
  color: var(--prism-result-ink) !important;
  line-height: 1.45;
}
.prism-unified-metric-grid dt span {
  color: var(--prism-result-accent);
  font-size: .68rem;
  font-variant-numeric: tabular-nums;
  letter-spacing: .08em;
}
.prism-unified-metric-grid dt strong {
  min-width: 0;
  font-size: .9rem;
  font-weight: 650;
  overflow-wrap: anywhere;
}
.prism-unified-metric-grid dd {
  margin: 0;
  color: var(--prism-result-ink) !important;
  font-size: 1.25rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  line-height: 1.2;
}
.prism-unified-metric-track {
  grid-column: 1 / -1;
  height: 3px;
  overflow: hidden;
  background: var(--prism-line);
}
.prism-unified-metric-track i {
  display: block;
  height: 100%;
  background: var(--prism-result-accent);
}
.prism-unified-metric-grid > div > p {
  grid-column: 1 / -1;
  margin: .15rem 0 0;
  color: var(--prism-result-muted) !important;
  font-size: .84rem;
  line-height: 1.65;
}
.prism-unified-result-context,
.prism-report-source-summary,
.prism-unified-supporting-sections > section,
.prism-unified-result--expert :where(.prism-expert-insights, .prism-expert-facts) {
  border: 1px solid var(--prism-line);
  border-radius: var(--prism-result-radius);
  background: var(--prism-result-surface-soft);
}
.prism-unified-result-context {
  margin-top: clamp(1rem, 2vw, 1.5rem);
  padding: 0 clamp(1.25rem, 2.4vw, 2rem);
}
.prism-unified-result-context .prism-data-ledger {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 0;
}
.prism-unified-result-context .prism-data-ledger > div {
  grid-template-columns: minmax(0, 1fr);
  gap: .35rem;
  border-bottom: 0;
  border-inline-end: 1px solid var(--prism-line);
}
.prism-unified-result-context .prism-data-ledger > div:last-child { border-inline-end: 0; }
.prism-report-source-summary {
  margin-top: clamp(1rem, 2vw, 1.5rem);
  padding: clamp(1.25rem, 2.4vw, 2rem);
}
.prism-report-source-summary h2 {
  margin: 0 0 .65rem;
  font-size: 1rem;
  letter-spacing: 0;
}
.prism-report-source-summary p {
  margin: 0;
  color: var(--prism-result-muted);
  line-height: 1.8;
}
.prism-unified-supporting-sections {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1rem, 2vw, 1.5rem);
  margin-top: clamp(1rem, 2vw, 1.5rem);
}
.prism-unified-supporting-sections > section,
.prism-unified-result--expert :where(.prism-expert-insights, .prism-expert-facts) {
  min-width: 0;
  padding: clamp(1.25rem, 2.5vw, 2rem);
}
.prism-unified-supporting-sections .prism-evidence-list,
.prism-unified-supporting-sections .prism-honest-empty { padding-top: clamp(1.25rem, 2.5vw, 2rem); }
.prism-unified-result--expert :where(.prism-expert-insights, .prism-expert-facts) { margin-top: clamp(1rem, 2vw, 1.5rem); }
.prism-unified-result--expert .prism-expert-insights { gap: clamp(1rem, 2.5vw, 2.25rem); }
.prism-unified-result--expert .prism-expert-return { padding: clamp(1.5rem, 3vw, 2.5rem) 0; }
.prism-result-hero-archetypes { min-width: 0; }
html:not([data-theme="light"]) .account-workspace-main .prism-observatory {
  --prism-result-surface: var(--read-panel);
  --prism-result-surface-soft: var(--read-panel-strong);
  --prism-result-ink: #fff4df;
  --prism-result-muted: #cfc3aa;
}
html[data-theme="light"] .account-workspace-main .prism-observatory {
  --prism-result-surface: var(--pearl);
  --prism-result-surface-soft: var(--paper);
  --prism-result-ink: var(--ink);
  --prism-result-muted: var(--muted);
}
html[data-theme="light"] .account-workspace-main :is(.prism-unified-result-header, .prism-unified-radar-panel) {
  box-shadow: inset 0 1px rgba(255,255,255,.68), 0 18px 44px rgba(70,56,28,.08);
}
@media(min-width:901px){
  .prism-unified-result--pro,
  .prism-unified-result--expert {
    display: grid;
    grid-template-columns: minmax(240px, .72fr) minmax(0, 1.28fr);
    gap: clamp(1rem, 2vw, 1.5rem);
    align-items: start;
  }
  .prism-unified-result--pro > .prism-unified-result-header,
  .prism-unified-result--expert > .prism-unified-result-header,
  .prism-unified-result--pro > .prism-unified-radar-panel,
  .prism-unified-result--expert > .prism-unified-radar-panel { margin-top: 0; }
  .prism-unified-result--pro > .prism-unified-result-header,
  .prism-unified-result--expert > .prism-unified-result-header {
    grid-column: 1;
    padding: clamp(1.15rem, 2vw, 1.6rem);
  }
  .prism-unified-result--pro > .prism-unified-radar-panel,
  .prism-unified-result--expert > .prism-unified-radar-panel {
    grid-column: 2;
    padding: clamp(1.1rem, 1.8vw, 1.45rem) !important;
  }
  .prism-unified-result--pro > :not(.prism-unified-result-header):not(.prism-unified-radar-panel),
  .prism-unified-result--expert > :not(.prism-unified-result-header):not(.prism-unified-radar-panel) { grid-column: 1 / -1; }
  .prism-unified-result--pro .prism-unified-result-summary,
  .prism-unified-result--expert .prism-unified-result-summary {
    font-size: .98rem;
    line-height: 1.72;
  }
  .prism-unified-result--pro .prism-unified-section-heading,
  .prism-unified-result--expert .prism-unified-section-heading { margin-bottom: .9rem; }
  .prism-unified-result--pro .prism-unified-section-heading h2,
  .prism-unified-result--expert .prism-unified-section-heading h2 {
    font-size: clamp(1.2rem, 1.8vw, 1.6rem);
  }
  .prism-unified-result--pro .prism-unified-section-heading > p:last-child,
  .prism-unified-result--expert .prism-unified-section-heading > p:last-child {
    margin-top: .55rem;
    font-size: .9rem;
    line-height: 1.65;
  }
  .prism-unified-result--pro .prism-unified-radar-layout,
  .prism-unified-result--expert .prism-unified-radar-layout {
    grid-template-columns: minmax(190px, .92fr) minmax(0, 1.08fr);
    gap: 1rem;
  }
  .prism-unified-result--pro .prism-unified-radar-layout figure,
  .prism-unified-result--expert .prism-unified-radar-layout figure { max-width: 240px; }
  .prism-unified-result--pro .prism-unified-metric-grid,
  .prism-unified-result--expert .prism-unified-metric-grid { gap: 0 .85rem; }
  .prism-unified-result--pro .prism-unified-metric-grid > div,
  .prism-unified-result--expert .prism-unified-metric-grid > div { padding: .72rem 0; }
  .prism-unified-result--pro .prism-unified-metric-grid dt strong,
  .prism-unified-result--expert .prism-unified-metric-grid dt strong { font-size: .82rem; }
  .prism-unified-result--pro .prism-unified-metric-grid > div > p,
  .prism-unified-result--expert .prism-unified-metric-grid > div > p { font-size: .76rem; }
}
@media(max-width:900px){
  .prism-unified-result-header--core,
  .prism-unified-radar-layout { grid-template-columns: minmax(0, 1fr); }
  .prism-result-hero-archetypes {
    padding: 1.25rem 0 0;
    border-inline-start: 0;
    border-top: 1px solid var(--prism-line);
  }
  .prism-unified-radar-layout figure { max-width: 390px; }
  .prism-unified-supporting-sections { grid-template-columns: minmax(0, 1fr); }
}
@media(max-width:640px){
  .prism-observatory {
    --prism-result-radius: 18px;
    padding: .8rem;
  }
  .account-workspace-main .prism-observatory-nav,
  .prism-observatory-nav {
    position: static;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .5rem;
    overflow: visible;
    padding: .45rem 0;
    -webkit-mask-image: none;
    mask-image: none;
    scroll-snap-type: none;
  }
  .account-workspace-main .prism-observatory-nav a,
  .prism-observatory-nav a {
    justify-content: flex-start;
    min-width: 0;
    min-height: 44px;
    padding: .45rem .55rem;
    border: 1px solid transparent;
    white-space: normal;
    line-height: 1.35;
  }
  .prism-observatory-nav a[aria-current="page"] {
    border-color: var(--prism-line);
    border-bottom-color: var(--prism-result-accent);
    background: var(--prism-result-surface-soft);
  }
  .prism-workspace-tabs {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .5rem;
    overflow: visible;
  }
  .prism-workspace-tabs button {
    min-width: 0;
    min-height: 44px;
    white-space: normal;
    line-height: 1.35;
  }
  .prism-unified-result.prism-report-narrative,
  .prism-unified-result.prism-expert-report { padding-top: .85rem; }
  .prism-unified-result-header { padding: 1.15rem; }
  .prism-observatory .prism-unified-result-heading h1 {
    font-size: clamp(1.85rem, 9vw, 2.65rem);
    line-height: 1.12;
  }
  .prism-observatory .prism-unified-result-header--pro .prism-unified-result-heading h1,
  .prism-observatory .prism-unified-result-header--expert .prism-unified-result-heading h1 {
    max-width: 20ch;
    font-size: clamp(1.097rem, 4.5vw, 1.2rem);
  }
  .prism-unified-result-context .prism-data-ledger { grid-template-columns: minmax(0, 1fr); }
  .prism-unified-result-context .prism-data-ledger > div {
    border-inline-end: 0;
    border-bottom: 1px solid var(--prism-line);
  }
  .prism-unified-result-context .prism-data-ledger > div:last-child { border-bottom: 0; }
  .prism-unified-radar-panel,
  .account-workspace-panel .prism-result-page > .prism-unified-radar-panel { padding: 1.1rem !important; }
  .prism-unified-section-heading h2 { font-size: clamp(1.3rem, 7vw, 1.8rem); }
  .prism-unified-radar-layout { gap: .85rem; }
  .prism-unified-radar-layout figure { max-width: 340px; }
  .prism-unified-metric-grid { grid-template-columns: minmax(0, 1fr); }
  .prism-unified-result-heading .actions { display: grid; grid-template-columns: minmax(0, 1fr); }
  .prism-unified-result-heading .actions :where(a, button) { width: 100%; }
  .prism-result-page :where(a.primary, a.secondary, button.primary, button.secondary) {
    height: auto;
    white-space: normal;
    overflow-wrap: anywhere;
    text-align: center;
  }
  .prism-unified-result--expert :where(.prism-expert-insights, .prism-expert-facts),
  .prism-unified-supporting-sections > section { padding: 1.1rem; }
}


/* Site audit fixes: stable mixed-direction labels and compact mobile footer. */
[dir="rtl"] .rtl-mixed-label{
  direction:rtl;
  unicode-bidi:plaintext;
}
@media(max-width:640px){
  .reference-footer.site-footer{
    grid-template-columns:minmax(0,1fr)!important;
    gap:.8rem!important;
    align-items:start!important;
    padding:1.4rem .85rem!important;
  }
  .reference-footer.site-footer::before{
    display:none!important;
  }
  .reference-footer .footer-block,
  .reference-footer .footer-brand-block,
  .reference-footer .footer-column,
  .reference-footer .footer-social,
  .reference-footer .footer-bottom-note{
    grid-column:1!important;
    min-width:0!important;
    min-height:0!important;
    height:auto!important;
    margin:0!important;
    align-self:start!important;
  }
  .reference-footer .footer-brand-block{
    gap:.35rem!important;
    padding-bottom:.35rem!important;
  }
  .reference-footer .footer-brand-block p{
    line-height:1.55!important;
    font-size:.84rem!important;
  }
  .reference-footer .footer-brand-block .footer-primary-link{
    display:none!important;
  }
  .reference-footer .footer-column{
    display:grid!important;
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:.35rem .5rem!important;
    width:100%!important;
    padding:.75rem 0 0!important;
    border-top:1px solid rgba(214,185,119,.12)!important;
  }
  .reference-footer .footer-column h2{
    grid-column:1/-1!important;
    margin:0 0 .15rem!important;
    font-size:.78rem!important;
    line-height:1.35!important;
  }
  .reference-footer .footer-column a{
    display:flex!important;
    align-items:center!important;
    justify-content:flex-start!important;
    min-width:0!important;
    min-height:38px!important;
    padding:.42rem .58rem!important;
    border:1px solid rgba(214,185,119,.11)!important;
    border-radius:11px!important;
    background:rgba(255,248,236,.035)!important;
    font-size:.84rem!important;
    line-height:1.35!important;
    overflow-wrap:anywhere!important;
  }
  .reference-footer .footer-column>a:last-child:nth-child(even){
    grid-column:1/-1!important;
    justify-content:center!important;
  }
  .reference-footer .footer-social{
    gap:.55rem!important;
    padding-top:.7rem!important;
  }
  .reference-footer .footer-social div{
    justify-content:flex-start!important;
  }
  .reference-footer .footer-bottom-note{
    padding-top:.7rem!important;
    font-size:.78rem!important;
    line-height:1.55!important;
  }
}

/* Keep the direct Free tools link visually aligned with the button-based nav items. */
.site-header .primary-nav>a.free-tools-nav-link{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:44px;
  padding:.56rem .84rem;
  border-radius:14px;
  color:#f6ead7!important;
  font-weight:900;
  text-decoration:none;
  transition:background .22s var(--vx-ease),color .22s var(--vx-ease),box-shadow .22s var(--vx-ease),transform .22s var(--vx-ease);
}
.site-header .primary-nav>a.free-tools-nav-link:hover,
.site-header .primary-nav>a.free-tools-nav-link:focus-visible{
  color:#fff8e8!important;
  background:rgba(214,185,119,.13);
  box-shadow:inset 0 0 0 1px rgba(197,154,69,.22),0 12px 30px rgba(0,0,0,.08);
  transform:translateY(-1px);
}
html[data-theme="light"] .site-header .primary-nav>a.free-tools-nav-link{
  color:#27231d!important;
}
html[data-theme="light"] .site-header .primary-nav>a.free-tools-nav-link:hover,
html[data-theme="light"] .site-header .primary-nav>a.free-tools-nav-link:focus-visible{
  color:#244f49!important;
  background:rgba(36,79,73,.08);
}
@media(max-width:960px){
  .site-header .primary-nav.is-open>a.free-tools-nav-link{
    width:100%;
    min-height:48px!important;
    justify-content:flex-start;
    padding:.85rem 1rem;
    background:rgba(255,248,235,.06);
    color:#f6ead7!important;
  }
  html[data-theme="light"] .site-header .primary-nav.is-open>a.free-tools-nav-link{
    background:rgba(63,52,37,.045);
    color:#27231d!important;
  }
}

/* Setup 01 launch: five-product pricing and a real account workspace card. */
.pricing-page .product-offer-matrix{
  grid-template-columns:repeat(5,minmax(0,1fr));
}
.account-setup-showcase{
  display:grid;
  grid-template-columns:minmax(280px,.9fr) minmax(0,1.1fr);
  gap:clamp(1rem,2.4vw,1.6rem);
  overflow:hidden;
  border:1px solid rgba(207,190,156,.22);
  border-radius:22px;
  background:linear-gradient(145deg,rgba(32,31,27,.96),rgba(18,20,18,.94));
  box-shadow:0 24px 70px rgba(0,0,0,.2);
}
.account-setup-showcase.is-active-access{border-color:rgba(91,184,147,.45)}
.account-setup-showcase__visual{display:block;min-height:100%;background:#050605;overflow:hidden}
.account-setup-showcase__visual img{display:block;width:100%;height:100%;min-height:300px;object-fit:contain;object-position:center;background:#fff}
.account-setup-showcase__content{display:grid;align-content:center;gap:.85rem;padding:clamp(1.1rem,2.4vw,1.7rem)}
.account-setup-showcase__eyebrow{display:flex;align-items:center;justify-content:space-between;gap:.75rem;flex-wrap:wrap}
.account-setup-showcase__eyebrow span,.account-setup-showcase__eyebrow strong{padding:.3rem .65rem;border-radius:999px;font-size:.76rem;font-weight:900}
.account-setup-showcase__eyebrow span{background:rgba(214,185,119,.12);color:#e7ca83}
.account-setup-showcase__eyebrow strong{background:rgba(255,255,255,.06);color:#fff0c9}
.account-setup-showcase.is-active-access .account-setup-showcase__eyebrow strong{background:rgba(91,184,147,.14);color:#8fe0bf}
.account-setup-showcase h3{margin:0;color:#fff5dd;font-size:clamp(1.35rem,2.5vw,2rem);line-height:1.35}
.account-setup-showcase p{margin:0;color:#d4c8af;line-height:1.85}
.account-setup-showcase__facts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.65rem;margin:.2rem 0}
.account-setup-showcase__facts div{padding:.7rem;border:1px solid rgba(207,190,156,.16);border-radius:11px;background:rgba(255,255,255,.04)}
.account-setup-showcase__facts dt{color:#a99d85;font-size:.73rem;font-weight:850}
.account-setup-showcase__facts dd{margin:.24rem 0 0;color:#fff0cf;font-weight:900}
.account-setup-showcase__actions{display:flex;gap:.6rem;flex-wrap:wrap;align-items:center}
.account-setup-showcase__actions .primary,.account-setup-showcase__actions .secondary{min-height:42px}
.account-setup-showcase [data-setup-trial-status]{grid-column:1/-1;margin:0}
.account-indicator-products{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:clamp(.9rem,2vw,1.25rem)}
.account-indicator-products+.account-indicator-products{margin-top:clamp(1rem,2vw,1.4rem)}
.account-indicator-card{display:grid;grid-template-rows:auto 1fr;min-width:0;overflow:hidden;border:1px solid rgba(207,190,156,.2);border-radius:18px;background:linear-gradient(145deg,rgba(34,32,43,.98),rgba(17,18,23,.98));box-shadow:0 22px 60px rgba(0,0,0,.2)}
.account-indicator-card.is-active-access{border-color:rgba(91,184,147,.48)}
.account-indicator-card--pro{border-color:rgba(216,184,111,.42)}
.account-indicator-card__visual{display:block;aspect-ratio:16/8.7;overflow:hidden;background:#f4f4f2}
.account-indicator-card__visual img{display:block;width:100%;height:100%;object-fit:cover;object-position:center}
.account-indicator-card__content{display:grid;align-content:start;gap:.85rem;padding:clamp(1rem,2vw,1.4rem)}
.account-indicator-card__eyebrow{display:flex;align-items:center;justify-content:space-between;gap:.65rem;flex-wrap:wrap}
.account-indicator-card__eyebrow span,.account-indicator-card__eyebrow strong{padding:.3rem .65rem;border-radius:999px;font-size:.74rem;font-weight:900}
.account-indicator-card__eyebrow span{background:rgba(214,185,119,.12);color:#e7ca83}
.account-indicator-card__eyebrow strong{background:rgba(255,255,255,.07);color:#fff0c9}
.account-indicator-card.is-active-access .account-indicator-card__eyebrow strong{background:rgba(91,184,147,.14);color:#8fe0bf}
.account-indicator-card h3{margin:0;color:#fff5dd;font-size:clamp(1.15rem,2vw,1.55rem);line-height:1.45}
.account-indicator-card p{margin:0;color:#d4c8af;line-height:1.85}
.account-indicator-card__facts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.6rem;margin:0}
.account-indicator-card__facts div{padding:.7rem;border:1px solid rgba(207,190,156,.16);border-radius:11px;background:rgba(255,255,255,.04)}
.account-indicator-card__facts dt{color:#a99d85;font-size:.72rem;font-weight:850}
.account-indicator-card__facts dd{margin:.22rem 0 0;color:#fff0cf;font-weight:900}
.account-indicator-card__actions{display:flex;gap:.55rem;flex-wrap:wrap;align-items:center}
.account-indicator-card__actions .primary,.account-indicator-card__actions .secondary{min-height:44px;box-sizing:border-box}
.account-indicator-card [data-product-action-status]{min-height:1.4em;margin:0}
html[data-theme="light"] .account-indicator-card{border-color:rgba(78,66,48,.16);background:linear-gradient(145deg,#fffaf1,#eee3d1);box-shadow:0 24px 70px rgba(56,45,28,.12)}
html[data-theme="light"] .account-indicator-card--pro{border-color:rgba(143,105,36,.35)}
html[data-theme="light"] .account-indicator-card h3{color:#2b251c}
html[data-theme="light"] .account-indicator-card p{color:#625846}
html[data-theme="light"] .account-indicator-card__eyebrow span{background:rgba(143,105,36,.1);color:#7a581c}
html[data-theme="light"] .account-indicator-card__eyebrow strong{background:rgba(43,37,28,.08);color:#403728}
html[data-theme="light"] .account-indicator-card__facts div{border-color:rgba(78,66,48,.14);background:rgba(255,255,255,.58)}
html[data-theme="light"] .account-indicator-card__facts dt{color:#756a57}
html[data-theme="light"] .account-indicator-card__facts dd{color:#2b251c}
html[data-theme="light"] .account-setup-showcase{border-color:rgba(78,66,48,.16);background:linear-gradient(145deg,#fffaf1,#eee3d1);box-shadow:0 24px 70px rgba(56,45,28,.12)}
html[data-theme="light"] .account-setup-showcase h3{color:#2b251c}
html[data-theme="light"] .account-setup-showcase p{color:#625846}
html[data-theme="light"] .account-setup-showcase__eyebrow span{background:rgba(143,105,36,.1);color:#7a581c}
html[data-theme="light"] .account-setup-showcase__eyebrow strong{background:rgba(43,37,28,.08);color:#403728}
html[data-theme="light"] .account-setup-showcase__facts div{border-color:rgba(78,66,48,.14);background:rgba(255,255,255,.58)}
html[data-theme="light"] .account-setup-showcase__facts dt{color:#756a57}
html[data-theme="light"] .account-setup-showcase__facts dd{color:#2b251c}
@media(max-width:1180px){.pricing-page .product-offer-matrix{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:900px){.pricing-page .product-offer-matrix{grid-template-columns:repeat(2,minmax(0,1fr))}.account-setup-showcase,.account-indicator-products{grid-template-columns:1fr}.account-setup-showcase__visual img{height:auto;min-height:0;aspect-ratio:auto;object-fit:contain}}
@media(max-width:620px){.pricing-page .product-offer-matrix,.account-setup-showcase__facts,.account-indicator-card__facts{grid-template-columns:1fr}.account-setup-showcase__actions,.account-indicator-card__actions{display:grid}.account-setup-showcase__actions>*,.account-indicator-card__actions>*{width:100%;box-sizing:border-box;text-align:center}}
.account-indicator-products--single{grid-template-columns:minmax(0,1fr);max-width:920px}
.indicator-price-grid--two{grid-template-columns:repeat(2,minmax(0,1fr))}
@media(max-width:760px){.indicator-price-grid--two{grid-template-columns:1fr}}

.account-mt5-manager{display:grid;gap:1rem}.account-mt5-manager__hero,.account-mt5-manager__pairing,.account-mt5-manager__connections{border:1px solid rgba(207,190,156,.18);border-radius:16px;background:linear-gradient(145deg,rgba(15,18,16,.97),rgba(24,25,20,.94));padding:clamp(1rem,2.5vw,1.6rem)}.account-mt5-manager__hero{display:flex;align-items:center;justify-content:space-between;gap:1rem}.account-mt5-manager__hero>div{max-width:780px}.account-mt5-manager__hero span{color:#d7b45d;font-size:.78rem;font-weight:900;letter-spacing:.08em}.account-mt5-manager__hero h3,.account-mt5-manager__connections h3{margin:.3rem 0;color:#fff5dd;font-size:clamp(1.3rem,2.3vw,1.9rem)}.account-mt5-manager__hero p,.account-mt5-manager__connections p{margin:0;color:#cfc4ad;line-height:1.9}.account-mt5-manager__steps{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.75rem;margin:0;padding:0;list-style:none;counter-reset:none}.account-mt5-manager__steps li{display:grid;gap:.5rem;border:1px solid rgba(207,190,156,.16);border-radius:14px;background:rgba(255,255,255,.035);padding:1rem}.account-mt5-manager__steps strong{color:#f4d98d}.account-mt5-manager__steps span{color:#c8bea8;line-height:1.75;font-size:.9rem}.account-mt5-manager__pairing{display:grid;justify-items:start;gap:1rem}.account-mt5-manager__consent{display:flex!important;align-items:flex-start!important;gap:.7rem;max-width:960px;color:#d5cbb8;line-height:1.85}.account-mt5-manager__consent input{inline-size:1.1rem!important;block-size:1.1rem;margin-top:.35rem;accent-color:#cba64f;flex:0 0 auto}.account-mt5-manager__code{display:grid;grid-template-columns:auto auto;align-items:center;gap:.45rem .8rem;border:1px solid rgba(215,180,93,.4);border-radius:14px;background:#090b0a;padding:1rem;min-width:min(100%,340px)}.account-mt5-manager__code>span,.account-mt5-manager__code>small{color:#a99e88}.account-mt5-manager__code>strong{grid-column:1/-1;color:#ffe8a8;font-family:ui-monospace,SFMono-Regular,Consolas,monospace;font-size:clamp(1.7rem,5vw,2.7rem);letter-spacing:.14em}.account-mt5-manager__code>button{grid-column:1/-1}.account-mt5-manager__status{min-height:1.5rem;margin:0;color:#e6cf8d}.account-mt5-manager__connections .section-lead{margin-bottom:1rem}.account-mt5-manager__connections>[data-mt5-manager-installations]{display:grid;gap:.65rem}.account-mt5-manager__installation{display:flex;align-items:center;justify-content:space-between;gap:1rem;border:1px solid rgba(207,190,156,.15);border-radius:12px;background:rgba(255,255,255,.035);padding:.9rem 1rem}.account-mt5-manager__installation span{display:block;color:#a99e88;font-size:.78rem}.account-mt5-manager__installation strong{display:block;color:#8fe0bf;margin:.25rem 0}.account-mt5-manager__installation p{font-size:.84rem}.account-mt5-manager button:disabled{opacity:.5;cursor:not-allowed}
html[data-theme="light"] .account-mt5-manager__hero,html[data-theme="light"] .account-mt5-manager__pairing,html[data-theme="light"] .account-mt5-manager__connections{border-color:rgba(78,66,48,.17);background:linear-gradient(145deg,#fffaf1,#eee3d1)}html[data-theme="light"] .account-mt5-manager__hero h3,html[data-theme="light"] .account-mt5-manager__connections h3{color:#2b251c}html[data-theme="light"] .account-mt5-manager__hero p,html[data-theme="light"] .account-mt5-manager__connections p,html[data-theme="light"] .account-mt5-manager__consent,html[data-theme="light"] .account-mt5-manager__steps span{color:#625846}html[data-theme="light"] .account-mt5-manager__steps li,html[data-theme="light"] .account-mt5-manager__installation{border-color:rgba(78,66,48,.14);background:rgba(255,255,255,.58)}html[data-theme="light"] .account-mt5-manager__code{background:#fffdf7;border-color:rgba(143,105,36,.35)}html[data-theme="light"] .account-mt5-manager__code>strong{color:#6d4f18}
@media(max-width:800px){.account-mt5-manager__hero,.account-mt5-manager__installation{align-items:stretch;flex-direction:column}.account-mt5-manager__steps{grid-template-columns:1fr}.account-mt5-manager__hero>a,.account-mt5-manager__installation>button{width:100%;box-sizing:border-box;text-align:center}}

/* Console account workspace: compact status and progressively disclosed setup. */
.account-console{
  --console-border:rgba(207,190,156,.18);
  --console-heading:#fff5dd;
  --console-text:#ded4c0;
  --console-muted:#bdb29d;
  --console-value:#f4d98d;
  --console-surface:rgba(255,255,255,.025);
  --console-danger:#efb0a6;
  --console-connected:#9ce8c8;
  display:grid;gap:.8rem;color:var(--console-text)
}
.account-console [hidden]{display:none!important}
.account-console__header{display:grid;gap:.2rem;padding:0 0 .55rem;border-bottom:1px solid var(--console-border);background:none}
.account-console__header h2{margin:0;color:var(--console-heading);font-size:clamp(1.55rem,2.5vw,2rem);line-height:1.3}
.account-console__header>.kicker{line-height:1.5}
.account-console__header p{max-width:780px;margin:0;color:var(--console-muted);line-height:1.6!important}
.account-console__header .account-console__subtitle{color:var(--console-text);font-weight:750;line-height:1.5!important}
.account-console__limits{display:flex;flex-wrap:wrap;gap:.35rem .9rem;padding:0;margin:.25rem 0 0;list-style:none;font-size:.84rem;color:var(--console-value)}
.account-console__limits li+li{border-inline-start:1px solid var(--console-border);padding-inline-start:.9rem}
.account-console__current{display:flex;align-items:center;flex-wrap:wrap;gap:.3rem .9rem;font-size:.85rem}
.account-console__current>strong{color:var(--console-value)}
.account-console__network-error{display:flex;align-items:center;flex-wrap:wrap;gap:.55rem;color:var(--console-danger)}
.account-console__network-error .secondary{min-block-size:36px;padding:.4rem .75rem}
.account-console[data-connection-state="connected"] .account-console__current>strong{display:inline-flex;align-items:center;gap:.45rem}
.account-console[data-connection-state="connected"] .account-console__current>strong::before{content:"";inline-size:6px;block-size:6px;border-radius:50%;background:var(--console-connected);flex:0 0 auto}
.account-console__notice{margin:0;color:var(--console-muted);line-height:1.6}
.account-console__notice:empty{display:none}
.account-console__status{display:grid;grid-template-columns:minmax(0,1.5fr) repeat(2,minmax(0,1fr));border-block:1px solid var(--console-border)}
.account-console__status>div{display:grid;align-content:start;gap:.15rem;padding:.65rem .75rem;border-inline-end:1px solid var(--console-border);min-width:0}
.account-console__status>div:last-child{border-inline-end:0}
.account-console__status span,.account-console__status small{color:var(--console-muted);font-size:.78rem;overflow-wrap:anywhere}
.account-console__status strong{color:var(--console-value);font-size:1rem;font-variant-numeric:tabular-nums}
.account-console__download-row,.account-console__action-row{display:flex;align-items:center;flex-wrap:wrap;gap:.7rem 1rem}
.account-console__download{display:inline-grid;place-items:center;min-height:48px;text-align:center;padding:.65rem 1.1rem}
.account-console__download-row small{color:var(--console-muted)}
.account-console__actions{display:grid;gap:.65rem}
.account-console__action-row>button{min-height:48px}
.account-console__redownload,.account-console__text-link{color:var(--console-value);font-size:.84rem;text-decoration:underline;text-underline-offset:3px}
.account-console__redownload{display:inline-flex;align-items:center;min-height:44px}
.account-console__section-head{margin:0 0 .5rem}
.account-console h3{margin:0;color:var(--console-heading);font-size:1rem;line-height:1.5}
.account-console__connections>[data-mt5-manager-installations]{display:grid;gap:.5rem}
.account-console__empty{margin:0;padding:.65rem;border:1px dashed var(--console-border);border-radius:10px;color:var(--console-muted)}
.account-console__setup,.account-console__pairing,.account-console__troubleshooting{padding:.25rem 0;border-block-start:1px solid var(--console-border)}
.account-console__setup>summary,.account-console__pairing>summary,.account-console__troubleshooting>summary,.account-console__mt5-help>summary{
  display:flex;align-items:center;justify-content:space-between;gap:.8rem;min-height:44px;cursor:pointer;color:var(--console-text);font-weight:750
}
.account-console details>summary::after{content:"+";font-size:1.1rem;font-weight:500;flex:0 0 auto;color:var(--console-value)}
.account-console details[open]>summary::after{content:"−"}
.account-console details>summary:focus-visible,.account-console button:focus-visible,.account-console a:focus-visible{outline:2px solid var(--console-value);outline-offset:3px}
.account-console__pairing>summary{justify-content:flex-start}
.account-console__pairing>summary::after{margin-inline-start:auto}
.account-console__pairing-toggle{font-weight:500;color:var(--console-value);font-size:.8rem}
.account-console__pairing-body{display:grid;gap:.65rem;padding:.4rem 0 .75rem}
.account-console__pairing-body>p{margin:0;font-size:.85rem;color:var(--console-muted);line-height:1.7}
.account-console .account-mt5-manager__consent{padding:.65rem;border-radius:10px;gap:.6rem;background:var(--console-surface)}
.account-console .account-mt5-manager__consent>span{font-size:.85rem;line-height:1.7;color:var(--console-text)}
.account-console .account-mt5-manager__pairing-actions{gap:.6rem}
.account-console .account-mt5-manager__status:empty{display:none}
.account-console__progress{display:grid;grid-template-columns:1fr;gap:0;margin:0;padding:0;list-style:none}
.account-console__progress li{display:grid;grid-template-columns:26px minmax(0,1fr);gap:.6rem;padding:.6rem 0;border-block-start:1px solid var(--console-border);background:none}
.account-console__progress b{display:grid;place-items:center;inline-size:26px;block-size:26px;border-radius:50%;background:var(--console-surface);color:var(--console-value);font-size:.8rem}
.account-console__progress li>div{display:grid;gap:.15rem;min-width:0}
.account-console__progress strong{color:var(--console-text);font-size:.9rem}
.account-console__progress span,.account-console__attach,.account-console__mt5-help{color:var(--console-muted);font-size:.84rem;line-height:1.65}
.account-console__progress li.is-current{border-inline-start:2px solid var(--console-value);padding-inline-start:.5rem}
.account-console__progress li.is-complete{background:none}
.account-console__attach{margin:.45rem 0}
.account-console__text-action{justify-self:start;min-height:44px;padding:.25rem 0;border:0;background:none;color:var(--console-value);font:inherit;font-size:.84rem;cursor:pointer;text-decoration:underline}
.account-console__mt5-help>summary{font-size:.84rem;font-weight:500;justify-content:flex-start}
.account-console__mt5-help ul,.account-console__troubleshooting ul{margin:.25rem 0;padding-inline-start:1.2rem}
.account-console__about{padding:.65rem 0;border-block-start:1px solid var(--console-border)}
.account-console__about>p{margin:.3rem 0;color:var(--console-muted);font-size:.85rem;line-height:1.7}
.account-console__about dl{margin:0}
.account-console__about dl>div{display:grid;grid-template-columns:130px minmax(0,1fr);gap:.6rem;padding:.35rem 0}
.account-console__about dt{color:var(--console-text);font-weight:650;font-size:.84rem}
.account-console__about dd{margin:0;color:var(--console-muted);font-size:.84rem;line-height:1.6}
.account-console__coming-soon{display:inline-flex;align-items:center;padding:.1rem .45rem;border:1px solid var(--console-border);border-radius:999px;color:var(--console-value);background:var(--console-surface);font-size:.78rem}
.account-console__troubleshooting>div{display:grid;justify-items:start;gap:.6rem;padding:.25rem 0 .7rem;color:var(--console-muted);font-size:.85rem;line-height:1.7}
.account-console__troubleshooting p{margin:0}
.account-console .account-mt5-manager__installation{padding:.6rem .75rem;border-color:var(--console-border);background:var(--console-surface);box-shadow:none;gap:.7rem}
.account-console .account-mt5-manager__installation-main{gap:.65rem;min-width:0}
.account-console .account-mt5-manager__device-icon{inline-size:32px;block-size:32px;border-radius:9px;box-shadow:none;color:var(--console-connected)}
.account-console .account-mt5-manager__device-icon svg{inline-size:20px;block-size:20px}
.account-console .account-mt5-manager__installation-head{align-items:start;gap:.6rem}
.account-console .account-mt5-manager__installation-head strong{margin:0;color:var(--console-text);font-size:.9rem}
.account-console .account-mt5-manager__installation-head span{color:var(--console-muted);font-size:.78rem}
.account-console .account-mt5-manager__installation[data-connection-state="active"] .account-mt5-manager__connection-status{padding:.2rem .45rem;white-space:nowrap;color:var(--console-connected)!important}
.account-console .account-mt5-manager__installation-facts{grid-template-columns:repeat(3,minmax(0,1fr));gap:.4rem .75rem;margin:.4rem 0 0}
.account-console .account-mt5-manager__installation-facts>div{padding:0;border:0;border-radius:0;background:none}
.account-console .account-mt5-manager__installation-facts dt{font-size:.7rem;color:var(--console-muted)}
.account-console .account-mt5-manager__installation-facts dd{margin:0;font-size:.78rem;color:var(--console-text);overflow-wrap:anywhere}
.account-console .account-mt5-manager__account-number{color:var(--console-text)!important}
.account-console__row-actions{flex:0 0 auto}
.account-console .account-console__remove{min-height:44px;width:auto;padding:.3rem .45rem;border:0;background:none!important;box-shadow:none;color:var(--console-danger)!important;font-size:.78rem;text-decoration:underline;text-underline-offset:3px;cursor:pointer}
html[data-theme="light"] .account-console{--console-border:rgba(78,66,48,.17);--console-heading:#2b251c;--console-text:#3f3527;--console-muted:#625846;--console-value:#73561d;--console-surface:rgba(78,66,48,.025);--console-danger:#914238;--console-connected:#27614e}
@media(max-width:760px){
  .account-console__header{gap:.1rem;padding-bottom:.3rem}
  .account-console__header h2{line-height:1.25}
  .account-console__header>.kicker{line-height:1.4}
  .account-console__header p:not(.account-console__subtitle){line-height:1.5!important}
  .account-console__limits{margin-top:.1rem}
  .account-console__status{grid-template-columns:repeat(2,minmax(0,1fr))}
  .account-console__status>div:first-child{grid-column:1/-1;border-inline-end:0;border-bottom:1px solid var(--console-border)}
  .account-console__action-row{align-items:start}
  .account-console__action-row>button{width:100%}
  .account-console .account-mt5-manager__installation{align-items:stretch;gap:.3rem}
  .account-console .account-mt5-manager__installation-facts{grid-template-columns:1fr 1fr}
  .account-console .account-mt5-manager__installation-facts>div:last-child{grid-column:1/-1}
  .account-console__row-actions{align-self:flex-end}
  .account-console__about dl>div{grid-template-columns:100px minmax(0,1fr)}
}
.admin-console-trial__summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:.65rem;margin-bottom:1rem}.admin-console-trial__summary>div{display:grid;gap:.3rem;padding:.85rem;border:1px solid rgba(207,190,156,.16);border-radius:12px}.admin-console-trial__summary span{color:#9f9582;font-size:.75rem}.admin-console-trial__summary strong{overflow-wrap:anywhere}.admin-console-trial__form{display:grid;grid-template-columns:minmax(150px,.7fr) minmax(180px,.8fr) minmax(240px,1.5fr) auto;align-items:end}.admin-console-trial__form>p{grid-column:1/-1}.admin-console-trial [hidden]{display:none!important}@media(max-width:900px){.admin-console-trial__summary{grid-template-columns:repeat(2,minmax(0,1fr))}.admin-console-trial__form{grid-template-columns:1fr 1fr}.admin-console-trial__form label:last-of-type{grid-column:1/-1}}@media(max-width:560px){.admin-console-trial__summary,.admin-console-trial__form{grid-template-columns:1fr}.admin-console-trial__form label:last-of-type{grid-column:auto}}

/* MT5 Manager pairing and connected-device polish */
.account-mt5-manager__pairing{
  position:relative;
  isolation:isolate;
  overflow:hidden;
  justify-items:stretch;
  gap:1.1rem;
  background:
    radial-gradient(440px circle at 92% 0%,rgba(200,169,94,.12),transparent 60%),
    linear-gradient(145deg,rgba(15,18,16,.98),rgba(24,25,20,.95));
}
.account-mt5-manager__pairing::before{
  content:"";
  position:absolute;
  inset:0;
  z-index:-1;
  pointer-events:none;
  background:linear-gradient(115deg,rgba(255,255,255,.025),transparent 42%);
}
.account-mt5-manager__pairing-head{
  display:flex;
  align-items:flex-start;
  gap:.9rem;
  padding-bottom:1rem;
  border-bottom:1px solid rgba(207,190,156,.14);
}
.account-mt5-manager__security-icon,
.account-mt5-manager__device-icon{
  display:grid;
  place-items:center;
  flex:0 0 auto;
  inline-size:48px;
  block-size:48px;
  border:1px solid rgba(215,180,93,.3);
  border-radius:14px;
  background:linear-gradient(145deg,rgba(215,180,93,.16),rgba(215,180,93,.06));
  color:#f2ce74;
  box-shadow:inset 0 1px rgba(255,255,255,.06),0 12px 28px rgba(0,0,0,.16);
}
.account-mt5-manager__security-icon svg,
.account-mt5-manager__device-icon svg{
  inline-size:25px;
  block-size:25px;
  stroke:currentColor;
  stroke-width:1.8;
  stroke-linecap:round;
  stroke-linejoin:round;
}
.account-mt5-manager__eyebrow{
  display:block;
  margin-bottom:.2rem;
  color:#d7b45d;
  font-size:.76rem;
  font-weight:900;
}
.account-mt5-manager__pairing-head h3{
  margin:0;
  color:#fff5dd;
  font-size:clamp(1.15rem,2.1vw,1.55rem);
  line-height:1.5;
}
.account-mt5-manager__pairing-head p{
  margin:.25rem 0 0;
  max-width:720px;
  color:#bdb29d;
  font-size:.88rem;
  line-height:1.75;
}
.account-mt5-manager__consent{
  display:grid!important;
  grid-template-columns:24px minmax(0,1fr);
  align-items:start!important;
  gap:.8rem;
  max-width:none;
  margin:0;
  padding:1rem;
  border:1px solid rgba(207,190,156,.16);
  border-radius:14px;
  background:rgba(255,255,255,.035);
  color:#ded4c0;
  cursor:pointer;
  transition:border-color .18s ease,background .18s ease,transform .18s ease;
}
.account-mt5-manager__consent:hover{
  border-color:rgba(215,180,93,.34);
  background:rgba(215,180,93,.055);
}
.account-mt5-manager__consent input{
  -webkit-appearance:none;
  appearance:none;
  display:grid;
  place-content:center;
  inline-size:24px!important;
  block-size:24px!important;
  min-inline-size:24px!important;
  min-block-size:24px!important;
  min-width:24px!important;
  min-height:24px!important;
  margin:.2rem 0 0;
  padding:0!important;
  border:1px solid rgba(215,180,93,.52);
  border-radius:7px;
  background:#111411;
  box-shadow:inset 0 1px 2px rgba(0,0,0,.34);
  cursor:pointer;
  transition:background .16s ease,border-color .16s ease,box-shadow .16s ease;
}
.account-mt5-manager__consent input::after{
  content:"";
  inline-size:10px;
  block-size:6px;
  border-left:2px solid #17150e;
  border-bottom:2px solid #17150e;
  transform:translateY(-1px) rotate(-45deg) scale(0);
  transform-origin:center;
  transition:transform .16s ease;
}
.account-mt5-manager__consent input:checked{
  border-color:#e4c46f;
  background:#d7b45d;
  box-shadow:0 0 0 3px rgba(215,180,93,.13);
}
.account-mt5-manager__consent input:checked::after{
  transform:translateY(-1px) rotate(-45deg) scale(1);
}
.account-mt5-manager__consent input:focus-visible{
  outline:3px solid rgba(143,224,191,.55);
  outline-offset:3px;
}
.account-mt5-manager__consent>span{
  font-size:.92rem;
  font-weight:650;
  line-height:1.95;
}
.account-mt5-manager__pairing-actions{
  display:flex;
  align-items:center;
  gap:.8rem;
  flex-wrap:wrap;
}
.account-mt5-manager__pairing-actions .primary{
  min-width:190px;
  min-height:48px;
  padding:.7rem 1.25rem;
  border-radius:12px;
  text-align:center;
}
.account-mt5-manager__pairing-actions small{
  color:#9f9582;
  font-size:.78rem;
  font-weight:750;
}
.account-mt5-manager__connections{
  background:
    radial-gradient(420px circle at 8% 100%,rgba(45,125,102,.09),transparent 62%),
    linear-gradient(145deg,rgba(15,18,16,.97),rgba(24,25,20,.94));
}
.account-mt5-manager__connections .section-lead{
  margin-bottom:1rem;
  padding-bottom:1rem;
  border-bottom:1px solid rgba(207,190,156,.14);
}
.account-mt5-manager__installation{
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  align-items:center;
  gap:1rem;
  padding:1rem;
  border:1px solid rgba(143,224,191,.18);
  border-radius:16px;
  background:linear-gradient(145deg,rgba(27,38,33,.72),rgba(16,19,17,.74));
  box-shadow:inset 0 1px rgba(255,255,255,.035);
}
.account-mt5-manager__installation-main{
  display:grid;
  grid-template-columns:48px minmax(0,1fr);
  align-items:center;
  gap:.9rem;
  min-width:0;
}
.account-mt5-manager__device-icon{
  border-color:rgba(143,224,191,.24);
  background:linear-gradient(145deg,rgba(45,125,102,.2),rgba(45,125,102,.07));
  color:#8fe0bf;
}
.account-mt5-manager__installation-details{min-width:0}
.account-mt5-manager__installation-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:.75rem;
}
.account-mt5-manager__installation-head>div{
  display:flex;
  align-items:baseline;
  gap:.55rem;
  min-width:0;
}
.account-mt5-manager__installation-head strong{
  margin:0;
  color:#fff5dd;
  font-size:1rem;
  line-height:1.5;
}
.account-mt5-manager__installation-head>div>span{
  color:#9f9582;
  font-size:.74rem;
  white-space:nowrap;
}
.account-mt5-manager__connection-status{
  display:inline-flex!important;
  align-items:center;
  gap:.4rem;
  width:max-content;
  padding:.32rem .62rem;
  border:1px solid rgba(143,224,191,.28);
  border-radius:999px;
  background:rgba(45,125,102,.15);
  color:#9ce8c8!important;
  font-size:.74rem!important;
  font-weight:900;
  white-space:nowrap;
}
.account-mt5-manager__connection-status::before{
  content:"";
  inline-size:7px;
  block-size:7px;
  border-radius:50%;
  background:#63d4a7;
  box-shadow:0 0 0 3px rgba(99,212,167,.12);
}
.account-mt5-manager__installation[data-connection-state="inactive"]{
  border-color:rgba(207,190,156,.14);
  background:rgba(255,255,255,.028);
}
.account-mt5-manager__installation[data-connection-state="inactive"] .account-mt5-manager__connection-status{
  border-color:rgba(207,190,156,.18);
  background:rgba(255,255,255,.05);
  color:#b9ae99!important;
}
.account-mt5-manager__installation[data-connection-state="inactive"] .account-mt5-manager__connection-status::before{
  background:#8e8779;
  box-shadow:none;
}
.account-mt5-manager__installation-facts{
  display:grid;
  grid-template-columns:minmax(0,1.45fr) minmax(140px,1fr) minmax(100px,.55fr);
  gap:.55rem;
  margin:.75rem 0 0;
}
.account-mt5-manager__installation-facts>div{
  min-width:0;
  padding:.65rem .75rem;
  border:1px solid rgba(207,190,156,.11);
  border-radius:11px;
  background:rgba(0,0,0,.12);
}
.account-mt5-manager__installation-facts dt{
  color:#9f9582;
  font-size:.7rem;
  font-weight:800;
}
.account-mt5-manager__installation-facts dd{
  margin:.18rem 0 0;
  color:#e9dfca;
  font-size:.84rem;
  font-weight:850;
  line-height:1.55;
  overflow-wrap:anywhere;
}
.account-mt5-manager__account-number{
  color:#f3d986!important;
  font-family:ui-monospace,SFMono-Regular,Consolas,monospace;
  letter-spacing:.04em;
  text-align:start;
  unicode-bidi:plaintext;
}
.account-mt5-manager__revoke{
  min-height:44px;
  border-color:rgba(248,113,113,.28)!important;
  color:#fecaca!important;
  background:rgba(127,29,29,.1)!important;
  white-space:nowrap;
}
.account-mt5-manager__revoke:hover,
.account-mt5-manager__revoke:focus-visible{
  border-color:rgba(248,113,113,.52)!important;
  background:rgba(127,29,29,.2)!important;
}
html[data-theme="light"] .account-mt5-manager__pairing{
  background:radial-gradient(440px circle at 92% 0%,rgba(143,105,36,.1),transparent 60%),linear-gradient(145deg,#fffaf1,#eee3d1);
}
html[data-theme="light"] .account-mt5-manager__pairing-head h3,
html[data-theme="light"] .account-mt5-manager__installation-head strong{color:#2b251c}
html[data-theme="light"] .account-mt5-manager__pairing-head p,
html[data-theme="light"] .account-mt5-manager__pairing-actions small{color:#6b604f}
html[data-theme="light"] .account-mt5-manager__consent{
  border-color:rgba(78,66,48,.16);
  background:rgba(255,255,255,.58);
  color:#4f4638;
}
html[data-theme="light"] .account-mt5-manager__consent input{background:#fffdf7}
html[data-theme="light"] .account-mt5-manager__consent input:checked{background:#b88d36}
html[data-theme="light"] .account-mt5-manager__connections{
  background:radial-gradient(420px circle at 8% 100%,rgba(45,125,102,.08),transparent 62%),linear-gradient(145deg,#fffaf1,#eee3d1);
}
html[data-theme="light"] .account-mt5-manager__installation{
  border-color:rgba(40,108,88,.18);
  background:linear-gradient(145deg,rgba(242,249,244,.9),rgba(255,255,255,.7));
}
html[data-theme="light"] .account-mt5-manager__installation-facts>div{
  border-color:rgba(78,66,48,.12);
  background:rgba(255,255,255,.68);
}
html[data-theme="light"] .account-mt5-manager__installation-facts dt,
html[data-theme="light"] .account-mt5-manager__installation-head>div>span{color:#716653}
html[data-theme="light"] .account-mt5-manager__installation-facts dd{color:#332d24}
@media(max-width:700px){
  .account-mt5-manager__pairing-head{align-items:center}
  .account-mt5-manager__consent{padding:.85rem}
  .account-mt5-manager__pairing-actions{display:grid;grid-template-columns:1fr}
  .account-mt5-manager__pairing-actions .primary{width:100%;min-width:0}
  .account-mt5-manager__installation{grid-template-columns:1fr;align-items:stretch}
  .account-mt5-manager__installation-main{grid-template-columns:42px minmax(0,1fr);align-items:start}
  .account-mt5-manager__device-icon{inline-size:42px;block-size:42px;border-radius:12px}
  .account-mt5-manager__installation-head{display:grid;justify-items:start}
  .account-mt5-manager__installation-head>div{display:grid;gap:.05rem}
  .account-mt5-manager__installation-facts{grid-template-columns:1fr}
  .account-mt5-manager__revoke{width:100%;box-sizing:border-box;text-align:center}
}

/* Indicator product light-theme contrast must override the legacy dark product surface. */
html[data-theme="light"] .indicator-detail-page .license-note,
html[data-theme="light"] .indicator-detail-page .product-hero-visual,
html[data-theme="light"] .indicator-detail-page .product-article-main section,
html[data-theme="light"] .indicator-detail-page .article-feature-grid article,
html[data-theme="light"] .indicator-detail-page .indicator-price-card,
html[data-theme="light"] .indicator-detail-page .toc-box{
  background:rgba(255,252,245,.92)!important;
  border-color:rgba(78,66,48,.18)!important;
  color:#26221c!important;
  box-shadow:0 18px 48px rgba(74,58,38,.08)!important;
}
html[data-theme="light"] .indicator-detail-page .article-meta span,
html[data-theme="light"] .indicator-detail-page .toc-box a{
  background:rgba(36,79,73,.07)!important;
  border-color:rgba(36,79,73,.14)!important;
  color:#254b46!important;
}
html[data-theme="light"] .indicator-detail-page .toc-box a:hover,
html[data-theme="light"] .indicator-detail-page .toc-box a:focus-visible{
  background:rgba(36,79,73,.14)!important;
  color:#183b36!important;
}
html[data-theme="light"] .indicator-detail-page h1,
html[data-theme="light"] .indicator-detail-page h2,
html[data-theme="light"] .indicator-detail-page h3,
html[data-theme="light"] .indicator-detail-page strong,
html[data-theme="light"] .indicator-detail-page th,
html[data-theme="light"] .indicator-detail-page td{
  color:#26221c!important;
}
html[data-theme="light"] .indicator-detail-page p,
html[data-theme="light"] .indicator-detail-page figcaption,
html[data-theme="light"] .indicator-detail-page li{
  color:#5f5547!important;
}
html[data-theme="light"] .indicator-detail-page .indicator-price-card--featured{
  border-color:rgba(36,79,73,.42)!important;
  box-shadow:0 20px 52px rgba(36,79,73,.13)!important;
}

/* TT_CIT price cards stay dark in dark mode so price and supporting copy remain readable. */
html:not([data-theme="light"]) .expert-cit-detail .indicator-price-card{
  background:linear-gradient(145deg,#211f1a,#181713)!important;
  border-color:rgba(207,190,156,.24)!important;
  color:#eadcc3!important;
}
html:not([data-theme="light"]) .expert-cit-detail .indicator-price-card>span,
html:not([data-theme="light"]) .expert-cit-detail .indicator-price-card>p{
  color:#d7c7aa!important;
}
html:not([data-theme="light"]) .expert-cit-detail .indicator-price-card>strong{
  color:#fff5dd!important;
}

/* Product access actions: explicit contrast for Free/Pro choices. */
html .protected-tool-actions .access-state{
  background:#e8cf98!important;
  border-color:#9d762f!important;
  color:#3d2a0f!important;
  font-weight:950!important;
}
html .protected-tool-actions .primary,
html .indicator-price-card .primary,
html[data-theme="light"] body .protected-tool-actions .primary,
html[data-theme="light"] body .indicator-price-card .primary{
  background:#124f49!important;
  border:2px solid #124f49!important;
  color:#fffdf7!important;
  text-shadow:none!important;
  box-shadow:0 12px 28px rgba(18,79,73,.28)!important;
}
html .protected-tool-actions .secondary,
html .indicator-price-card .secondary,
html[data-theme="light"] body .protected-tool-actions .secondary,
html[data-theme="light"] body .indicator-price-card .secondary{
  background:#fffaf0!important;
  border:2px solid #245f58!important;
  color:#123d39!important;
  text-shadow:none!important;
  box-shadow:0 10px 24px rgba(18,61,57,.13)!important;
}
html .protected-tool-actions .primary:hover,
html .indicator-price-card .primary:hover,
html[data-theme="light"] body .protected-tool-actions .primary:hover,
html[data-theme="light"] body .indicator-price-card .primary:hover{
  background:#0a3b36!important;
  border-color:#0a3b36!important;
  color:#ffffff!important;
}
html .protected-tool-actions .secondary:hover,
html .indicator-price-card .secondary:hover,
html[data-theme="light"] body .protected-tool-actions .secondary:hover,
html[data-theme="light"] body .indicator-price-card .secondary:hover{
  background:#e8f2ee!important;
  border-color:#123d39!important;
  color:#0a302d!important;
}

/* Opt-in browser-to-MT5 installer preview (?mt5_install_preview=1). */
.account-browser-install-preview{border-color:rgba(215,180,93,.48)!important;color:#f3d88e!important}
html[data-theme="light"] .account-browser-install-preview{border-color:rgba(18,79,73,.45)!important;color:#124f49!important;background:#fffaf0!important}
.account-browser-installer{width:min(760px,calc(100% - 2rem));max-height:min(820px,calc(100dvh - 2rem));padding:0;border:1px solid rgba(211,190,150,.32);border-radius:22px;background:#111512;color:#f7edd5;box-shadow:0 28px 90px rgba(0,0,0,.55)}
.account-browser-installer::backdrop{background:rgba(4,8,7,.78);backdrop-filter:blur(6px)}
.account-browser-installer__panel{display:grid;gap:1rem;margin:0;padding:clamp(1rem,3vw,1.5rem)}
.account-browser-installer__panel>header{display:flex;align-items:flex-start;justify-content:space-between;gap:1rem;border-bottom:1px solid rgba(211,190,150,.16);padding-bottom:1rem}
.account-browser-installer__panel>header span{display:inline-flex;border-radius:999px;background:#d6b55e;color:#17201d;padding:.28rem .6rem;font-size:.72rem;font-weight:950}
.account-browser-installer__panel>header h2{margin:.55rem 0 .3rem;color:#fff5dd;font-size:clamp(1.25rem,3vw,1.75rem)}
.account-browser-installer__panel>header p,.account-browser-installer__privacy{margin:0;color:#c9bea7;line-height:1.8}
.account-browser-installer__close{display:grid;place-items:center;flex:0 0 auto;width:40px;height:40px;border:1px solid rgba(211,190,150,.25);border-radius:12px;background:transparent;color:#f7edd5;font-size:1.6rem;cursor:pointer}
.account-browser-installer__privacy{border:1px solid rgba(126,208,175,.25);border-radius:12px;background:rgba(64,139,111,.1);padding:.7rem .85rem;font-size:.82rem}
.account-browser-installer__helper{display:flex;align-items:center;justify-content:space-between;gap:1rem;border:1px solid rgba(211,180,93,.24);border-radius:14px;background:rgba(211,180,93,.07);padding:.8rem .9rem}.account-browser-installer__helper div{display:grid;gap:.2rem}.account-browser-installer__helper strong{color:#f8eac6;font-size:.86rem}.account-browser-installer__helper small{color:#aea38e;font-size:.75rem}.account-browser-installer__helper a{flex:0 0 auto;text-decoration:none}
.account-browser-installer__targets{display:grid;gap:.7rem;max-height:45dvh;overflow:auto;padding-inline-end:.2rem}
.account-browser-installer__target{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:.75rem 1rem;border:1px solid rgba(211,190,150,.17);border-radius:15px;background:rgba(255,255,255,.035);padding:.9rem}
.account-browser-installer__target-check{display:flex!important;align-items:center!important;gap:.7rem}.account-browser-installer__target-check input{inline-size:1.15rem!important;block-size:1.15rem;accent-color:#c9a44d}.account-browser-installer__target-check strong,.account-browser-installer__target-check small{display:block}.account-browser-installer__target-check strong{color:#f8eac6}.account-browser-installer__target-check small{margin-top:.2rem;color:#aea38e;font-size:.74rem}
.account-browser-installer__target dl{display:grid;gap:.55rem;margin:0}.account-browser-installer__target dl div{display:grid;gap:.2rem}.account-browser-installer__target dt{color:#a99f8c;font-size:.72rem}.account-browser-installer__target dd{margin:0;color:#e6d9bb;font-size:.82rem;font-weight:800}.account-browser-installer__target .account-browser-installer__path{grid-column:1/-1}.account-browser-installer__target .account-browser-installer__path dd{max-width:100%;overflow-wrap:anywhere;font-family:ui-monospace,SFMono-Regular,Consolas,monospace;font-size:.72rem;font-weight:650;text-align:left}
.account-browser-installer__folder-actions{grid-column:1/-1;display:flex;align-items:center;gap:.7rem}.account-browser-installer__folder-actions button{min-width:170px}.account-browser-installer__folder-actions small{color:#b7ad99}.account-browser-installer__folder-actions small[data-tone="success"]{color:#86d9b7}
.account-browser-installer__target>[data-mt5-install-result]{grid-column:1/-1;min-height:1.3rem;margin:0;color:#c8bea9;font-size:.78rem}.account-browser-installer__target>[data-mt5-install-result][data-tone="success"]{color:#8ce0bd}.account-browser-installer__target>[data-mt5-install-result][data-tone="error"]{color:#ffaaa4}
.account-browser-installer__empty{margin:0;border:1px dashed rgba(211,190,150,.24);border-radius:14px;padding:1.2rem;color:#c8bea9;text-align:center}
.account-browser-installer__panel>footer{display:grid;gap:.75rem;border-top:1px solid rgba(211,190,150,.16);padding-top:1rem}.account-browser-installer__panel>footer>p{min-height:1.4rem;margin:0;color:#c8bea9}.account-browser-installer__panel>footer>p[data-tone="success"]{color:#8ce0bd}.account-browser-installer__panel>footer>p[data-tone="error"]{color:#ffaaa4}.account-browser-installer__panel>footer>div{display:flex;justify-content:flex-end;gap:.6rem}.account-browser-installer__panel>footer button{min-height:42px}
html[data-theme="light"] .account-browser-installer{border-color:rgba(85,68,38,.2);background:#fffaf0;color:#2d281f;box-shadow:0 28px 90px rgba(64,47,20,.28)}
html[data-theme="light"] .account-browser-installer::backdrop{background:rgba(44,37,26,.52)}
html[data-theme="light"] .account-browser-installer__panel>header,html[data-theme="light"] .account-browser-installer__panel>footer{border-color:rgba(85,68,38,.14)}
html[data-theme="light"] .account-browser-installer__panel>header h2,html[data-theme="light"] .account-browser-installer__target-check strong,html[data-theme="light"] .account-browser-installer__helper strong{color:#29231a}
html[data-theme="light"] .account-browser-installer__panel>header p,html[data-theme="light"] .account-browser-installer__privacy,html[data-theme="light"] .account-browser-installer__target-check small,html[data-theme="light"] .account-browser-installer__folder-actions small,html[data-theme="light"] .account-browser-installer__panel>footer>p,html[data-theme="light"] .account-browser-installer__helper small{color:#665b49}
html[data-theme="light"] .account-browser-installer__close{border-color:rgba(85,68,38,.22);color:#2d281f}
html[data-theme="light"] .account-browser-installer__privacy{border-color:rgba(18,79,73,.22);background:rgba(18,79,73,.06)}
html[data-theme="light"] .account-browser-installer__helper{border-color:rgba(154,111,30,.22);background:rgba(211,180,93,.09)}
html[data-theme="light"] .account-browser-installer__target{border-color:rgba(85,68,38,.15);background:rgba(255,255,255,.66)}
html[data-theme="light"] .account-browser-installer__target dt{color:#716551}html[data-theme="light"] .account-browser-installer__target dd{color:#3d3529}
@media(max-width:640px){.account-browser-installer__target{grid-template-columns:1fr}.account-browser-installer__helper{align-items:stretch;flex-direction:column}.account-browser-installer__helper a{width:100%;text-align:center}.account-browser-installer__folder-actions{align-items:stretch;flex-direction:column}.account-browser-installer__folder-actions button{width:100%}.account-browser-installer__panel>footer>div{display:grid;grid-template-columns:1fr}.account-browser-installer__panel>footer button{width:100%}}


/* INDICATOR-CATALOG-LAYOUT-V1 */
.station-page .tool-choice-guide .tool-guide-grid article{
  border-color:rgba(215,180,93,.42);
  background:linear-gradient(145deg,#5a655f,#45514c);
  box-shadow:0 18px 44px rgba(0,0,0,.24),inset 0 1px rgba(255,255,255,.045);
}
.station-page .tool-choice-guide .tool-guide-grid strong{
  color:#ffe3a0!important;
  text-shadow:none;
}
.station-page .tool-choice-guide .tool-guide-grid p{
  color:#fffaf0!important;
  text-shadow:none;
}
@media (min-width:641px){
  html[dir="ltr"] .protected-tool-card>img{
    grid-column:2;
    grid-row:1;
  }
  html[dir="ltr"] .protected-tool-card>.protected-tool-copy{
    grid-column:1;
    grid-row:1;
  }
}
.protected-tool-actions .primary,
.protected-tool-actions .secondary{
  box-sizing:border-box;
  flex:0 1 auto;
  width:auto;
  max-width:100%;
  min-height:40px;
  padding:.5rem .72rem;
  font-size:.78rem;
  line-height:1.3;
  letter-spacing:0!important;
  white-space:normal;
  overflow-wrap:anywhere;
  text-align:center;
  justify-content:center;
}
@media (max-width:640px){
  .protected-tool-card>img,
  .protected-tool-card>.protected-tool-copy{
    grid-column:1;
  }
  .protected-tool-actions .primary,
  .protected-tool-actions .secondary{
    min-width:0;
  }
}


/* Mobile layout audit: September 2026. */
.mobile-theme-toggle,
.indicator-catalog-mobile-heading{display:none}
.indicator-edition-showcase figure img{height:auto;object-fit:contain}
@media(max-width:1180px){
  .indicator-detail-page .product-article-side{order:0;width:100%;min-width:0}
}
@media(max-width:980px){
  html body .site-header:not(.site-header-compact){
    display:grid!important;
    grid-template-columns:minmax(0,1fr) auto 44px!important;
    grid-template-areas:"brand actions toggle"!important;
    gap:8px!important;
    padding:10px 12px!important;
    align-items:center!important;
    direction:ltr!important;
  }
  html body .site-header .brand{gap:8px!important;min-width:0!important}
  html body .site-header .brand img{width:36px!important;height:36px!important;flex-shrink:0}
  html body .site-header .brand strong{font-size:15px!important}
  html body .site-header .header-actions{
    grid-area:actions!important;
    grid-column:2!important;
    grid-row:1!important;
    display:flex!important;
    width:auto!important;
    gap:8px!important;
    align-items:center!important;
    justify-content:flex-end!important;
  }
  html body .site-header:not(.site-header-compact) .header-actions .lang-link{
    width:44px!important;min-width:44px!important;height:44px!important;padding:8px!important;
  }
  html body .site-header .header-actions .theme-toggle{display:none!important}
  html body .site-header .nav-toggle{
    display:flex!important;flex-direction:column!important;gap:4px!important;
    width:44px!important;height:44px!important;min-height:44px!important;padding:10px!important;
  }
  html body .site-header .nav-toggle span{margin:0!important;transition:transform .15s ease,opacity .15s ease}
  html body .site-header .nav-toggle[aria-expanded="true"] span:first-child{transform:translateY(6px) rotate(45deg)}
  html body .site-header .nav-toggle[aria-expanded="true"] span:nth-child(2){opacity:0}
  html body .site-header .nav-toggle[aria-expanded="true"] span:last-child{transform:translateY(-6px) rotate(-45deg)}
  html body .site-header:not(.site-header-compact) .primary-nav,
  html body .site-header:not(.site-header-compact) .primary-nav.is-open{
    position:absolute!important;inset:100% 8px auto!important;
    width:auto!important;max-width:none!important;margin:4px 0 0!important;
    grid-template-columns:minmax(0,1fr)!important;justify-content:stretch!important;justify-items:stretch!important;
    max-height:calc(100vh - 88px)!important;max-height:calc(100dvh - 88px)!important;
    padding:12px!important;overscroll-behavior:contain!important;overflow-y:auto!important;
  }
  html[dir="rtl"] body .site-header .primary-nav{direction:rtl!important}
  html body .site-header .primary-nav.is-open .nav-group:not(.is-open)>div.mega-panel{display:none!important}
  html body .site-header .primary-nav .nav-group>button,
  html body .site-header .primary-nav>a,
  html body .site-header .primary-nav>.mobile-theme-toggle{
    display:flex!important;align-items:center!important;justify-content:flex-start!important;
    width:100%!important;min-height:48px!important;padding:12px!important;
    border:1px solid var(--line)!important;border-radius:12px!important;
    color:inherit!important;background:rgba(215,180,93,.08)!important;font:inherit!important;font-weight:750!important;
    text-align:start!important;
  }
  html body .site-header .primary-nav .nav-group>button::after{
    content:"+"!important;margin-inline-start:auto;font-size:22px;line-height:1;
    display:block!important;position:static!important;width:auto!important;height:auto!important;
    background:none!important;border:0!important;padding:0!important;box-shadow:none!important;transform:none!important;opacity:1!important;
  }
  html body .site-header .primary-nav .nav-group.is-open>button::after{content:"−"!important}
  html:not([data-theme="light"]) body .site-header .primary-nav{color:#f6ead7!important;background:#1c221f!important}
  html[data-theme="light"] body .site-header .primary-nav{color:#27231d!important;background:#fffaf1!important}
  html[data-theme="light"] body .site-header:not(.site-header-compact) .primary-nav.is-open{background:#fffaf1!important;background-image:none!important}
  html[data-theme="light"] body .site-header .nav-toggle span{background:#fffaf1!important}
  html:not([data-theme="light"]) .academy-offer-card span,
  html:not([data-theme="light"]) .academy-offer-card small{color:#9cd8c6}
  .academy-offer-card .primary{min-height:48px;font-size:.95rem}
  .home .trading-hero .actions .primary,
  .home .trading-hero .actions .secondary{min-height:44px!important}
  .indicator-detail-page .product-article-main h1{font-size:clamp(1.65rem,6.8vw,2.4rem);line-height:1.45;overflow-wrap:break-word}
  .indicator-detail-page .indicator-shot-card img{height:auto;min-height:0;max-height:none;object-fit:contain}
  .indicator-detail-page .indicator-shot-card>a{min-height:0;padding:0}
  .indicator-detail-page .product-hero-visual,
  .indicator-detail-page .indicator-shot-card,
  .indicator-detail-page .indicator-edition-showcase figure{display:flex;flex-direction:column}
  .indicator-detail-page .product-hero-visual>a,
  .indicator-detail-page .indicator-shot-card>a,
  .indicator-detail-page .indicator-edition-showcase figure>a{flex:none}
  .indicator-detail-page figure figcaption{position:static;flex:none;margin:0;transform:none}
  .indicator-detail-page .product-article-main>section{scroll-margin-top:88px}
  .indicator-detail-page .primary,
  .indicator-detail-page .secondary,
  .protected-tool-actions .primary,
  .protected-tool-actions .secondary{min-height:48px!important;line-height:1.55;font-size:.9rem}
  .indicator-detail-page .toc-box .primary,
  .indicator-detail-page .toc-box .secondary{display:flex;justify-content:center;align-items:center}
}
@media(max-width:720px){
  .indicator-catalog-page{display:flex;flex-direction:column}
  .indicator-catalog-page>.indicator-catalog-mobile-heading{display:grid;gap:8px;order:0;padding:20px 16px 4px}
  .indicator-catalog-mobile-heading h1{margin:0;font-size:2rem;line-height:1.4}
  .indicator-catalog-mobile-heading p{margin:0;font-size:1rem;line-height:1.75;color:var(--muted)}
  .indicator-catalog-mobile-heading a{display:inline-flex;align-items:center;min-height:44px;font-weight:800;text-decoration:underline;text-underline-offset:4px}
  .indicator-catalog-page>#tool-catalog{order:1;padding-top:16px}
  .indicator-catalog-page>.tool-choice-guide{order:2}
  .indicator-catalog-page>#access-levels{order:3}
  .indicator-detail-page .product-article-main>section{padding:16px}
  .indicator-detail-page .article-lead{font-size:1rem;line-height:1.85;margin:0}
  .indicator-detail-page .product-article-main{gap:16px}
  .indicator-detail-page .article-meta{font-size:.8rem;gap:6px}
  .indicator-detail-page .indicator-price-card{padding:20px}
  .indicator-detail-page .indicator-editions .plan-compare-table,
  .indicator-detail-page .indicator-compare-table{width:100%;min-width:0;max-width:100%;overflow:visible;border:0;box-shadow:none;background:transparent}
  .indicator-detail-page .indicator-editions table{display:block;width:100%;min-width:0;max-width:100%}
  .indicator-detail-page .indicator-editions thead,
  .indicator-detail-page .indicator-compare-table>[role="row"]:first-child{
    position:absolute;width:1px;min-width:0;max-width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;
  }
  .indicator-detail-page .indicator-editions tbody{display:grid;gap:12px}
  .indicator-detail-page .indicator-editions tbody tr,
  .indicator-detail-page .indicator-compare-table>[role="row"]:not(:first-child){
    display:grid;grid-template-columns:repeat(2,minmax(0,1fr));min-width:0;width:100%;
    border:1px solid var(--line);border-radius:12px;overflow:hidden;margin:0 0 12px;
  }
  .indicator-detail-page .indicator-editions tbody th,
  .indicator-detail-page .indicator-editions tbody td,
  .indicator-detail-page .indicator-compare-table>[role="row"]>span{
    display:block;min-width:0;width:auto;padding:12px;font-size:.9rem;line-height:1.75;overflow-wrap:anywhere;text-align:start;
  }
  .indicator-detail-page .indicator-editions tbody th,
  .indicator-detail-page .indicator-compare-table>[role="row"]>span:first-child{
    grid-column:1/-1;font-weight:850;background:rgba(215,180,93,.12);border-bottom:1px solid var(--line);
  }
  .indicator-detail-page .indicator-editions tbody td::before,
  .indicator-detail-page .indicator-compare-table>[role="row"]>span:not(:first-child)::before{
    display:block;margin-bottom:4px;font-weight:900;font-size:.85rem;
  }
  .indicator-detail-page .indicator-editions tbody td:nth-child(2)::before,
  .indicator-detail-page .indicator-compare-table>[role="row"]>span:nth-child(2)::before{content:"Free"}
  .indicator-detail-page .indicator-editions tbody td:nth-child(3)::before,
  .indicator-detail-page .indicator-compare-table>[role="row"]>span:nth-child(3)::before{content:"Pro"}
  html body .free-tools-page .free-tools-jump{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));padding:8px;gap:8px}
  html body .free-tools-page .free-tools-jump a{min-width:0;min-height:48px;padding:8px;font-size:.85rem;white-space:normal;line-height:1.6}
}
@media(max-width:640px){
  .protected-tool-card{display:flex;flex-direction:column;grid-template-columns:minmax(0,1fr)}
  .protected-tool-card>img{display:block;flex:none;width:100%;height:auto;min-height:0;max-height:none;object-fit:contain}
  .protected-tool-copy{position:static;flex:none;min-width:0;padding:16px}
  .protected-tool-actions{gap:8px}
  .protected-tool-actions .primary,
  .protected-tool-actions .secondary{width:100%;padding:12px;min-height:48px!important}
  .protected-tool-actions .access-state{width:100%;box-sizing:border-box;border-radius:12px;line-height:1.75;white-space:normal}
}
@media(max-width:360px){
  html body .site-header .brand{gap:5px!important}
  html body .site-header .brand strong{font-size:13px!important}
  html body .site-header:not(.site-header-compact){gap:6px!important;padding-inline:8px!important}
  html body .site-header .header-actions{gap:6px!important}
}

/* Product catalog and account download layout: September 2026. */
.indicator-catalog-page .protected-tools-grid{align-items:start}
.indicator-catalog-page .protected-tool-card{
  display:grid;
  grid-template-columns:minmax(0,1fr);
  grid-template-rows:auto 1fr;
  min-width:0;
  min-height:0;
}
.indicator-catalog-page .protected-tool-card>img{
  display:block;
  grid-column:1!important;
  grid-row:1!important;
  width:100%;
  max-width:100%;
  height:auto;
  min-width:0;
  min-height:0;
  object-fit:contain;
}
.indicator-catalog-page .protected-tool-card>.protected-tool-copy{
  grid-column:1!important;
  grid-row:2!important;
  min-width:0;
  padding:clamp(1rem,2vw,1.35rem);
}
.indicator-catalog-page .protected-tool-actions{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  align-items:stretch;
  gap:.65rem;
  width:100%;
  min-width:0;
  margin-top:.25rem;
}
.indicator-catalog-page .protected-tool-actions .access-state{
  grid-column:1/-1;
  width:100%;
  min-width:0;
  min-height:44px;
  box-sizing:border-box;
  justify-content:flex-start;
  border-radius:12px;
  white-space:normal;
}
.indicator-catalog-page .protected-tool-actions .primary,
.indicator-catalog-page .protected-tool-actions .secondary{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:100%;
  min-width:0;
  min-height:48px;
  box-sizing:border-box;
  padding:.7rem .9rem;
  border-radius:12px;
  font-size:.9rem;
  font-weight:850;
  line-height:1.4;
  letter-spacing:0!important;
  white-space:normal;
  overflow-wrap:normal;
  word-break:normal;
  text-align:center;
  text-decoration:none;
}
.indicator-catalog-page .protected-tool-actions .vx-generate-button,
.account-license-download__actions .vx-generate-button{gap:0!important}
.indicator-catalog-page .protected-tool-actions .vx-letter,
.account-license-download__actions .vx-letter{
  display:inline!important;
  margin:0!important;
  padding:0!important;
  transform:none!important;
  opacity:1!important;
  transition:none!important;
}
.indicator-catalog-page .protected-tool-actions .vx-letter-clone,
.account-license-download__actions .vx-letter-clone{display:none!important}
.indicator-catalog-page .protected-tool-actions .primary{
  border:1px solid #257d70!important;
  background:#155e55!important;
  color:#fff!important;
  box-shadow:0 10px 24px rgba(21,94,85,.2)!important;
}
.indicator-catalog-page .protected-tool-actions .secondary{
  border:1px solid #a98543!important;
  background:#fff9ed!important;
  color:#214c45!important;
  box-shadow:none!important;
}
.indicator-catalog-page .protected-tool-actions .primary:hover{background:#104f48!important}
.indicator-catalog-page .protected-tool-actions .secondary:hover{background:#f7ecd7!important}
.indicator-catalog-page .protected-tool-actions .primary:focus-visible,
.indicator-catalog-page .protected-tool-actions .secondary:focus-visible{
  outline:3px solid #d7b45d;
  outline-offset:3px;
}
html[data-theme] body .indicator-catalog-page .protected-tool-actions a.primary{
  border-color:#257d70!important;
  background-color:#155e55!important;
  background-image:none!important;
  color:#fff!important;
}
html[data-theme] body .indicator-catalog-page .protected-tool-actions a.secondary{
  border-color:#a98543!important;
  background-color:#fff9ed!important;
  background-image:none!important;
  color:#214c45!important;
}

.account-download-variant{
  grid-template-columns:minmax(0,1fr) minmax(160px,190px);
  align-items:start;
  min-width:0;
}
.account-license-download__actions{
  position:static;
  align-self:start;
  width:100%;
  min-width:0;
  gap:.5rem;
}
.account-license-download__actions .primary,
.account-license-download__actions .secondary{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:100%!important;
  min-width:0;
  min-height:46px;
  box-sizing:border-box;
  padding:.65rem .8rem;
  border-radius:12px;
  font-size:.82rem;
  font-weight:850;
  line-height:1.35;
  letter-spacing:0!important;
  white-space:normal!important;
  overflow-wrap:normal;
  word-break:normal;
  text-align:center;
}
.account-license-download__actions .primary{
  border:1px solid #257d70!important;
  background:#155e55!important;
  color:#fff!important;
  box-shadow:0 9px 22px rgba(21,94,85,.18)!important;
}
.account-license-download__actions .secondary{
  border:1px solid #9f7d3d!important;
  background:#fff9ed!important;
  color:#214c45!important;
  box-shadow:none!important;
}
.account-license-download__actions .primary:hover{background:#104f48!important}
.account-license-download__actions .secondary:hover{background:#f7ecd7!important}
.account-license-download__actions .primary:focus-visible,
.account-license-download__actions .secondary:focus-visible{
  outline:3px solid #d7b45d;
  outline-offset:2px;
}
html[data-theme] body .account-workspace-main .account-license-download__actions button.primary{
  border-color:#257d70!important;
  background-color:#155e55!important;
  background-image:none!important;
  color:#fff!important;
}
html[data-theme] body .account-workspace-main .account-license-download__actions button.secondary{
  border-color:#9f7d3d!important;
  background-color:#fff9ed!important;
  background-image:none!important;
  color:#214c45!important;
}
.account-license-download__actions [data-protected-download-status]{
  position:static;
  display:block;
  width:100%;
  margin:0;
}
@media(max-width:1180px){
  .account-license-list{grid-template-columns:1fr}
}
@media(max-width:720px){
  .account-download-variant{grid-template-columns:1fr}
  .indicator-catalog-page .protected-tool-actions{grid-template-columns:1fr}
  .indicator-catalog-page .protected-tool-actions .access-state{grid-column:1}
}

/* TupTrader Manager onboarding and product-download readiness */
.account-download-readiness{
  display:grid;
  grid-template-columns:56px minmax(0,1fr) minmax(230px,280px);
  align-items:center;
  gap:1rem;
  margin-bottom:1rem;
  padding:1rem;
  border:1px solid rgba(215,180,93,.28);
  border-radius:16px;
  background:linear-gradient(145deg,rgba(36,34,25,.96),rgba(18,26,23,.96));
  box-shadow:0 14px 32px rgba(0,0,0,.12);
}
.account-download-readiness__icon{
  display:grid;
  place-items:center;
  inline-size:56px;
  block-size:56px;
  border:1px solid rgba(215,180,93,.28);
  border-radius:15px;
  background:rgba(215,180,93,.1);
  color:#f0cf79;
}
.account-download-readiness__icon svg{inline-size:30px;block-size:30px;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.account-download-readiness__copy{display:grid;gap:.28rem;min-width:0}
.account-download-readiness__copy>span{color:#d7b45d;font-size:.74rem;font-weight:900}
.account-download-readiness__copy>strong{color:#fff5dd;font-size:1.05rem;line-height:1.55}
.account-download-readiness__copy>p{margin:0;color:#c7bda8;font-size:.86rem;line-height:1.75}
.account-download-readiness__actions{display:grid;gap:.5rem;justify-items:stretch}
.account-download-readiness__actions>span{justify-self:start;padding:.28rem .58rem;border-radius:999px;background:rgba(215,180,93,.12);color:#efd483;font-size:.72rem;font-weight:900}
.account-download-readiness__links{display:grid;grid-template-columns:1fr;gap:.5rem}
.account-download-readiness__actions .primary,.account-download-readiness__actions .secondary{display:grid;place-items:center;min-height:48px;text-align:center}
.account-download-readiness__actions .primary,.account-mt5-manager__hero-download .primary,.account-mt5-manager__next .primary{border-color:#257d70!important;background:#155e55!important;color:#fff!important}
.account-download-readiness__actions .secondary,.account-mt5-manager__hero-download .secondary,.account-mt5-manager__next .secondary{border-color:#9f7d3d!important;background:#fff9ed!important;color:#214c45!important}
.account-download-readiness__actions small{color:#a99e88;font-size:.72rem;line-height:1.55}
.account-download-readiness[data-state="connected"]{border-color:rgba(99,212,167,.32);background:linear-gradient(145deg,rgba(18,39,32,.96),rgba(16,27,24,.96))}
.account-download-readiness[data-state="connected"] .account-download-readiness__icon{border-color:rgba(99,212,167,.3);background:rgba(45,125,102,.16);color:#8fe0bf}
.account-download-readiness[data-state="connected"] .account-download-readiness__actions>span{background:rgba(45,125,102,.2);color:#9ce8c8}

.account-mt5-manager__hero{display:grid;grid-template-columns:minmax(0,1fr) minmax(240px,320px);align-items:center}
.account-mt5-manager__hero-copy{max-width:760px}
.account-mt5-manager__hero-download{display:grid;gap:.55rem;justify-items:stretch}
.account-mt5-manager__hero-download .primary,.account-mt5-manager__hero-download .secondary{display:grid;place-items:center;min-height:50px;text-align:center}
.account-mt5-manager__hero-download small{color:#a99e88;font-size:.75rem;line-height:1.6;text-align:center}
.account-mt5-manager__availability{
  display:grid;
  grid-template-columns:minmax(180px,.7fr) minmax(0,1.6fr) auto;
  align-items:center;
  gap:1rem;
  padding:1rem;
  border:1px solid rgba(215,180,93,.2);
  border-radius:14px;
  background:rgba(215,180,93,.055);
}
.account-mt5-manager__availability strong{color:#f4d98d;font-size:.9rem}
.account-mt5-manager__availability p{margin:0;color:#c8bea8;font-size:.84rem;line-height:1.7}
.account-mt5-manager__availability .secondary{display:grid;place-items:center;min-height:46px;text-align:center}
.account-mt5-manager__progress{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:.5rem}
.account-mt5-manager__progress>span{display:flex;align-items:center;gap:.55rem;min-height:48px;padding:.55rem .7rem;border:1px solid rgba(207,190,156,.14);border-radius:12px;background:rgba(255,255,255,.025);color:#9f9582;font-size:.76rem;font-weight:850}
.account-mt5-manager__progress b{display:grid;place-items:center;inline-size:28px;block-size:28px;flex:0 0 auto;border-radius:50%;background:rgba(255,255,255,.06);color:#c8bea8}
.account-mt5-manager__progress>span.is-current{border-color:rgba(215,180,93,.38);background:rgba(215,180,93,.09);color:#f4d98d}
.account-mt5-manager__progress>span.is-current b{background:#d7b45d;color:#1d1a12}
.account-mt5-manager__progress>span.is-complete{border-color:rgba(99,212,167,.3);background:rgba(45,125,102,.12);color:#9ce8c8}
.account-mt5-manager__progress>span.is-complete b{background:#2d7d66;color:#fff}
.account-mt5-manager__steps{grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem}
.account-mt5-manager__steps li{grid-template-columns:140px minmax(0,1fr);align-items:stretch;gap:1rem;padding:0;overflow:hidden}
.account-mt5-manager__steps li>div:last-child{display:grid;align-content:start;gap:.42rem;padding:1rem 1rem 1rem 0}
[dir="rtl"] .account-mt5-manager__steps li>div:last-child{padding:1rem 0 1rem 1rem}
.account-mt5-manager__steps li>div:last-child>span{color:#d7b45d;font-size:.72rem;font-weight:900;line-height:1.3}
.account-mt5-manager__steps li>div:last-child>strong{color:#fff5dd;line-height:1.55}
.account-mt5-manager__steps li>div:last-child>p{margin:0;color:#c8bea8;font-size:.84rem;line-height:1.75}
.account-mt5-manager__steps li>div:last-child>a{justify-self:start;margin-top:.2rem;color:#8fe0bf;font-size:.78rem;font-weight:900;text-decoration:underline;text-underline-offset:3px}
.account-mt5-manager__step-visual{display:grid;place-items:center;align-content:center;gap:.55rem;min-height:164px;border-inline-end:1px solid rgba(207,190,156,.12);background:linear-gradient(145deg,rgba(45,125,102,.13),rgba(215,180,93,.08));color:#e6c971}
.account-mt5-manager__step-visual svg{inline-size:72px;block-size:56px;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.account-mt5-manager__step-visual small{max-width:120px;color:#bdb29d;font-size:.66rem;font-weight:800;line-height:1.45;text-align:center;direction:ltr}
.account-mt5-manager__ready{display:grid;justify-items:start;gap:.45rem;padding:1.1rem;border:1px solid rgba(99,212,167,.34);border-radius:16px;background:linear-gradient(145deg,rgba(27,74,60,.28),rgba(18,39,32,.75))}
.account-mt5-manager__ready[hidden]{display:none}
.account-mt5-manager__ready>span{color:#8fe0bf;font-size:.74rem;font-weight:900}
.account-mt5-manager__ready>strong{color:#eafff5;font-size:1.05rem}
.account-mt5-manager__ready>p{margin:0;color:#bfe4d4;line-height:1.7}
.account-mt5-manager__ready .primary{margin-top:.25rem;min-height:46px}
.account-mt5-manager__next{display:grid;gap:.5rem;padding:1.1rem;border:1px solid rgba(215,180,93,.22);border-radius:16px;background:rgba(215,180,93,.06)}
.account-mt5-manager__next>strong{color:#f4d98d}.account-mt5-manager__next>p{margin:0;color:#c8bea8;line-height:1.7}
.account-mt5-manager__next>div{display:flex;flex-wrap:wrap;gap:.55rem}.account-mt5-manager__next a{min-height:46px}
.product-account-action{display:grid;gap:.45rem}.product-account-action>button{width:100%;min-height:48px}
.product-account-action .academy-offer-status{margin:0}.product-action-download-link{font-weight:900;text-decoration:underline;text-underline-offset:3px}

html[data-theme="light"] .account-download-readiness{border-color:rgba(143,105,36,.22);background:linear-gradient(145deg,#fffaf1,#f1e7d6);box-shadow:0 14px 30px rgba(78,66,48,.08)}
html[data-theme="light"] .account-download-readiness__icon{border-color:rgba(143,105,36,.22);background:rgba(184,141,54,.09);color:#80601f}
html[data-theme="light"] .account-download-readiness__copy>span{color:#856520}
html[data-theme="light"] .account-download-readiness__copy>strong{color:#2b251c}
html[data-theme="light"] .account-download-readiness__copy>p,html[data-theme="light"] .account-download-readiness__actions small{color:#665b49}
html[data-theme="light"] .account-download-readiness__actions>span{background:rgba(184,141,54,.12);color:#73561d}
html[data-theme="light"] .account-download-readiness[data-state="connected"]{border-color:rgba(40,108,88,.24);background:linear-gradient(145deg,#f0f8f3,#fffaf1)}
html[data-theme="light"] .account-download-readiness[data-state="connected"] .account-download-readiness__icon{border-color:rgba(40,108,88,.22);background:rgba(40,108,88,.09);color:#24634f}
html[data-theme="light"] .account-download-readiness[data-state="connected"] .account-download-readiness__actions>span{background:rgba(40,108,88,.1);color:#225d4b}
html[data-theme="light"] .account-mt5-manager__hero-download small{color:#6b604f}
html[data-theme="light"] .account-mt5-manager__availability{border-color:rgba(143,105,36,.2);background:rgba(184,141,54,.07)}
html[data-theme="light"] .account-mt5-manager__availability strong{color:#73561d}
html[data-theme="light"] .account-mt5-manager__availability p{color:#625846}
html[data-theme="light"] .account-mt5-manager__progress>span{border-color:rgba(78,66,48,.13);background:rgba(255,255,255,.58);color:#716653}
html[data-theme="light"] .account-mt5-manager__progress b{background:#eee4d2;color:#5e5547}
html[data-theme="light"] .account-mt5-manager__progress>span.is-current{border-color:rgba(143,105,36,.34);background:#fff4d8;color:#6f531c}
html[data-theme="light"] .account-mt5-manager__progress>span.is-complete{border-color:rgba(40,108,88,.22);background:#edf8f1;color:#225d4b}
html[data-theme="light"] .account-mt5-manager__steps li>div:last-child>strong{color:#2b251c}
html[data-theme="light"] .account-mt5-manager__steps li>div:last-child>p{color:#625846}
html[data-theme="light"] .account-mt5-manager__steps li>div:last-child>a{color:#225d4b}
html[data-theme="light"] .account-mt5-manager__step-visual{border-color:rgba(78,66,48,.1);background:linear-gradient(145deg,rgba(40,108,88,.08),rgba(184,141,54,.08));color:#80601f}
html[data-theme="light"] .account-mt5-manager__step-visual small{color:#685e4d}
html[data-theme="light"] .account-mt5-manager__ready{border-color:rgba(40,108,88,.24);background:linear-gradient(145deg,#edf8f1,#fffaf1)}
html[data-theme="light"] .account-mt5-manager__ready>span{color:#24634f}
html[data-theme="light"] .account-mt5-manager__ready>strong{color:#24332d}
html[data-theme="light"] .account-mt5-manager__ready>p{color:#4e655c}
html[data-theme="light"] .account-mt5-manager__next{border-color:rgba(143,105,36,.2);background:rgba(184,141,54,.07)}
html[data-theme="light"] .account-mt5-manager__next>strong{color:#73561d}html[data-theme="light"] .account-mt5-manager__next>p{color:#625846}

@media(max-width:1100px){
  .account-download-readiness{grid-template-columns:56px minmax(0,1fr)}
  .account-download-readiness__actions{grid-column:1/-1;grid-template-columns:minmax(0,280px) minmax(0,1fr);align-items:center}
  .account-download-readiness__actions>span{grid-column:1/-1}
  .account-mt5-manager__steps{grid-template-columns:1fr}
}
@media(max-width:760px){
  .account-download-readiness{grid-template-columns:1fr;justify-items:start}
  .account-download-readiness__actions{grid-column:auto;grid-template-columns:1fr;width:100%}
  .account-download-readiness__actions>span{grid-column:auto}
  .account-mt5-manager__hero{grid-template-columns:1fr}
  .account-mt5-manager__hero-download{width:100%}
  .account-mt5-manager__availability{grid-template-columns:1fr;align-items:start}
  .account-mt5-manager__availability .secondary{width:100%}
  .account-mt5-manager__progress{grid-template-columns:repeat(2,minmax(0,1fr))}
  .account-mt5-manager__steps li{grid-template-columns:1fr}
  .account-mt5-manager__step-visual{min-height:112px;border-inline-end:0;border-bottom:1px solid rgba(207,190,156,.12)}
  .account-mt5-manager__steps li>div:last-child,[dir="rtl"] .account-mt5-manager__steps li>div:last-child{padding:1rem}
}

.analytics-consent-banner {
  position: fixed;
  inset: auto 0 0 0;
  z-index: 1200;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  justify-items: center;
  padding: .65rem clamp(.65rem, 2vw, 1rem);
  pointer-events: none;
}

.analytics-consent-banner__content {
  pointer-events: auto;
  width: min(1080px, 100%);
  display: flex;
  align-items: center;
  gap: .75rem 1rem;
  padding: .72rem .85rem;
  border: 1px solid rgba(215,180,93,.22);
  border-radius: 12px;
  background: rgba(10, 20, 18, .96);
  color: #e7dfce;
  box-shadow: 0 10px 24px rgba(0, 0, 0, .22);
}

[dir="rtl"] .analytics-consent-banner__content,
html[dir="rtl"] .analytics-consent-banner__content {
  direction: rtl;
  text-align: right;
}

[dir="ltr"] .analytics-consent-banner__content,
html[dir="ltr"] .analytics-consent-banner__content {
  direction: ltr;
  text-align: left;
}

.analytics-consent-banner__title {
  margin: 0;
  color: #f5d98d;
  font-size: .95rem;
  line-height: 1.3;
  white-space: nowrap;
}

.analytics-consent-banner__message {
  margin: 0;
  color: #ddd2bf;
  line-height: 1.55;
  font-size: .9rem;
  flex: 1 1 auto;
}

.analytics-consent-banner__actions {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: .55rem;
  flex: 0 0 auto;
}

.analytics-consent-banner__actions button {
  border: 1px solid rgba(245, 217, 141, .35);
  border-radius: 10px;
  padding: .5rem .85rem;
  min-height: 40px;
  min-width: 116px;
  cursor: pointer;
  font-weight: 800;
  font-size: .85rem;
  transition: .2s ease;
}

.analytics-consent-banner__btn--primary {
  background: #f4d98d;
  color: #221d16;
}

.analytics-consent-banner__btn--secondary {
  background: transparent;
  color: #f3d98d;
}

.analytics-consent-banner__btn:focus-visible {
  outline: 3px solid rgba(245, 217, 141, .85);
  outline-offset: 3px;
}

.analytics-consent-banner__btn:hover {
  transform: translateY(-1px);
}

.analytics-consent-banner[hidden] {
  display: none;
}

html[data-theme="light"] .analytics-consent-banner__content {
  border-color: rgba(112, 90, 38, .18);
  background: rgba(255, 250, 242, .96);
  color: #42382b;
  box-shadow: 0 10px 24px rgba(82, 65, 33, .10);
}

html[data-theme="light"] .analytics-consent-banner__title {
  color: #5f4318;
}

html[data-theme="light"] .analytics-consent-banner__message,
html[data-theme="light"] .analytics-consent-banner__btn--secondary {
  color: #6e5a32;
}

html[data-theme="light"] .analytics-consent-banner__btn--secondary {
  border-color: rgba(112, 89, 45, .44);
}

html[data-theme="light"] .analytics-consent-banner__btn:focus-visible {
  outline-color: rgba(105, 73, 20, .9);
}

@media (max-width: 680px) {
  .analytics-consent-banner {
    inset: auto 0 0 0;
    padding: .35rem .35rem .5rem;
  }

  .analytics-consent-banner__content {
    width: 100%;
    display: grid;
    gap: .34rem;
    border-radius: 11px;
    padding: .55rem;
  }

  .analytics-consent-banner__title {
    white-space: normal;
    font-size: .86rem;
  }

  .analytics-consent-banner__message {
    font-size: .76rem;
    line-height: 1.36;
  }

  .analytics-consent-banner__actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .45rem;
  }

  .analytics-consent-banner__actions button {
    min-width: 0;
    width: 100%;
    min-height: 40px;
    padding-inline: .55rem;
  }
}

.footer-cookie-settings {
  appearance: none;
  border: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
  display: inline;
  font: inherit;
  margin: 0;
  padding: 0;
  text-decoration: underline;
  text-underline-offset: .18em;
}

.footer-cookie-settings:hover {
  text-decoration-thickness: 2px;
}

.footer-cookie-settings:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 3px;
  border-radius: 4px;
}

/* TT-PROD-CHART-001 uses wide, real MT5 captures and an Expert-specific menu. */
.expert-cit-detail .product-hero-visual img{aspect-ratio:auto;object-fit:contain}
.expert-cit-detail .indicator-product-hero>a,
.expert-cit-detail .indicator-shot-card>a{background:#f8f7f2}
.expert-cit-shot-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
.expert-cit-detail .indicator-shot-card>a{min-height:0;padding:0}
.expert-cit-detail .indicator-shot-card img{height:auto;max-height:none;object-fit:contain}
.expert-cit-manage-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
@media(max-width:820px){.expert-cit-shot-grid,.expert-cit-manage-grid{grid-template-columns:1fr}}
