/* The editorial desk shares the landing page's glass, ink and accent tokens. */
.editorial-section {padding-top:84px}
.editor-heading {display:flex;justify-content:space-between;align-items:end;gap:20px;margin-bottom:24px}
.editor-heading h2,.previous-title,.story-copy h2,.story-copy h3,.day-card h2,.day-card h3 {margin:0}
.editor-heading p,.story-header>p,.brief-side li,.longread p,.longread li,.scenarios dd,.editor-cta p {color:var(--muted)}
.editor-heading .btn {flex:none}
.news-grid,.day-grid {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.news-card,.day-card {border-radius:22px;min-width:0}
.news-card {overflow:hidden;display:flex;flex-direction:column}
.news-card[hidden] {display:none}
.news-card:focus-within,.day-card:focus-within,.news-card:hover,.day-card:hover {border-color:#8ef3b790}
.news-card h2,.news-card h3,.day-card h2,.day-card h3 {font-size:clamp(20px,2vw,26px);letter-spacing:-.04em;line-height:1.16}
.news-card h2 a::after,.news-card h3 a::after,.day-card h3 a::after {content:"";position:absolute;inset:0}
.editor-art {--wire:#8df1b9;--wash:#23483e;position:relative;isolation:isolate;display:grid;place-items:center;height:125px;overflow:hidden;
  background:radial-gradient(ellipse at 38% 105%,var(--wash),transparent 65%),linear-gradient(130deg,#202c2c,#111b20);border-bottom:1px solid #ffffff14}
.editor-art.amber {--wire:#ffcf75;--wash:#51452b;background-color:#22231f}
.editor-art.iris {--wire:#b9afff;--wash:#433953}
.editor-art::before {content:"";position:absolute;inset:0;background-image:linear-gradient(#ffffff08 1px,transparent 1px),linear-gradient(90deg,#ffffff09 1px,transparent 1px);background-size:24px 24px;mask-image:radial-gradient(ellipse,#000 20%,transparent 82%)}
.editor-art svg {position:relative;width:150px;height:90%;fill:none;stroke:var(--wire);stroke-width:2.7;stroke-linejoin:round;filter:drop-shadow(0 3px 8px var(--wash))}
.editor-art circle {fill:var(--wash)}
.story-copy {padding:20px;display:flex;flex:1;flex-direction:column;gap:12px}
.story-copy p,.editor-heading p {margin:0;font-size:15px;line-height:1.5}
.story-copy p {color:#b1c5bc}
.editor-meta,.byline,.filters,.pager,.share,.changes {display:flex;align-items:center;flex-wrap:wrap;gap:10px}
.editor-meta,.byline,.crumbs,.category,.sample {font-size:13px}
.category {color:#b4d4c4;font-weight:650}
.sample,.bias {display:inline-flex;align-items:center;font-size:12px;line-height:1.25;padding:4px 8px;border:1px solid #cacdb736;border-radius:90px;background:#dae4c908;color:#d8dfd3}
.byline {margin-top:auto;color:#9aacaa}
.rail-count {display:none}
.brief-card {display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,.9fr);gap:0;border-radius:26px;overflow:hidden;background:radial-gradient(ellipse at 10% 0%,#153d32aa,transparent 70%),linear-gradient(140deg,#202e2d,#101a1c)}
.brief-main,.brief-side {padding:30px}
.brief-main>h3 {font-size:clamp(25px,3vw,38px);line-height:1.08;letter-spacing:-.05em;margin:17px 0 20px;max-width:22ch}
.brief-side {display:flex;flex-direction:column;align-items:flex-start;border-inline-start:1px solid var(--line);background:#07121038}
.brief-side h3 {font-size:20px;letter-spacing:-.035em;margin:0}
.brief-side ul,.longread ul {padding-inline-start:1.2rem}.brief-side li+li,.longread li+li {margin-top:9px}
.brief-side li::marker,.longread li::marker {color:var(--green)}
.brief-numbers {display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:14px}
.changes {gap:clamp(16px,3vw,38px);font-variant-numeric:tabular-nums}
.changes small,.changes strong {display:block}.changes small,.levels caption {color:#bed2c8;font-size:13px}
.changes strong {font-size:clamp(22px,2.5vw,32px);letter-spacing:-.052em}
.gain,.bias-bullish {color:#92efbc}.loss,.bias-bearish {color:#ffa899}.bias-sideways {color:#ffda89;background:#a47b2015}
.mood {position:relative;width:144px;text-align:center;flex:none}
.mood svg {display:block;width:100%;height:auto;stroke:none}.mood svg path {fill:none;stroke-width:5;stroke-linecap:round}
.gauge-number {margin-top:-31%;font-size:26px;font-weight:650;line-height:1;letter-spacing:-.045em}
.gauge-number small {font-size:12px;color:var(--muted);margin-inline-start:2px}
.mood>span {font-size:12px;color:#bee6ca}
.levels {width:100%;border-collapse:collapse;text-align:end;font-size:14px;font-variant-numeric:tabular-nums}
.levels caption {text-align:start;margin:0 0 4px}
.levels th,.levels td {padding:8px 0 8px 7px;border-bottom:1px solid var(--line)}
.levels thead th {font-weight:500;color:var(--muted);font-size:13px}
.levels th:first-child {text-align:start;padding-inline-start:0}
.nfa {font-size:14px;color:#dcd6bc!important;line-height:1.5;border-inline-start:2px solid #c9a55a;padding-block:2px;padding-inline:12px 0}
.editor-link {font-weight:650;color:var(--green);padding:12px 0;margin-top:auto}
.previous-title {font-size:23px;letter-spacing:-.04em;margin:30px 0 14px}
.day-grid {grid-template-columns:repeat(2,minmax(0,1fr))}
.day-card {padding:22px}.day-card h3,.day-card h2 {margin:12px 0}
.editor-page #main {padding-bottom:64px;min-height:65vh}
.editor-page h1 {font-size:clamp(38px,5.1vw,72px);line-height:1.01;letter-spacing:-.065em;margin:0 0 14px}
.crumbs {display:flex;gap:9px;margin:30px 0;color:var(--muted)}.crumbs a:hover,.editor-link:hover {text-decoration:underline}
.filters {margin:20px 0}
.filters button,.pager button {border:1px solid var(--line);background:#192523;border-radius:100px;color:#d1dfd8;padding:8px 16px;min-height:44px}
.filters [aria-pressed=true] {background:#24583e;border-color:#67db9877;color:#ceffdc}
.pager {justify-content:center;margin:30px 0;color:var(--muted)}
.pager button:disabled {opacity:.45;cursor:default}
.longread {max-width:740px;margin:0 auto}.story-header {background:transparent;border:0;z-index:auto}
.story-header .editor-meta {margin:0 0 16px}
.story-header>p {font-size:19px;margin:14px 0}.story-header .byline {margin:12px 0 24px}
.longread>.editor-art {height:215px;border-radius:22px}.longread>.editor-art svg {width:240px}
.longread section,.takeaways {margin:30px 0}.longread h2,.editor-cta h2 {font-size:clamp(24px,3vw,34px);letter-spacing:-.045em;margin:0 0 10px;line-height:1.1}
.longread p,.longread li,.scenarios dd {line-height:1.7}.longread .changes,.longread .levels {margin:20px 0}
.takeaways,.editor-cta,.sentiment-section {padding:24px;border-radius:20px}
.takeaways ul {margin-bottom:0}.share {margin:24px 0}.share span {font-size:14px}
.sentiment-section,.editor-cta {display:flex;align-items:center;gap:25px}
.scenarios {margin:0}.scenarios>div {display:grid;grid-template-columns:44px 1fr;gap:18px;padding:12px 0;border-top:1px solid var(--line)}.scenarios dt {color:var(--green)}.scenarios dd {margin:0}
.editor-cta {margin-top:36px;justify-content:space-between}.editor-cta .btn {flex:none}
@media(min-width:701px) and (max-width:1050px){.nav nav{gap:12px}.nav{gap:10px}.nav nav a{font-size:13px}.nav .brand{width:110px}.nav .top-cta{padding:10px 12px}}
@media(max-width:820px){.brief-main,.brief-side {padding:20px}.news-grid {gap:12px}.story-copy{padding:15px}}
@media(max-width:700px){
  .editorial-section {padding-top:50px}.editor-heading {align-items:start;flex-wrap:wrap;gap:10px;margin-bottom:16px}
  .news-grid,.day-grid,.brief-card {grid-template-columns:1fr}
  .news-rail {display:flex;position:relative;overflow-x:auto;scroll-snap-type:x mandatory;overscroll-behavior-x:contain;gap:12px;padding-bottom:8px;scrollbar-width:thin;scrollbar-color:#4a695b transparent}
  .news-rail .news-card {flex:0 0 86%;scroll-snap-align:start}.news-rail .news-card:last-child {scroll-snap-align:end}
  .rail-count {display:block;text-align:end;color:#b8ccbe;font:13px/1.6 ui-monospace,monospace}
  .editor-art {height:112px}.brief-side {border-inline-start:0;border-top:1px solid var(--line)}.brief-numbers {gap:5px}
  .brief-numbers .changes {gap:12px}.mood {width:106px}.gauge-number {font-size:21px}.brief-main .levels {font-size:13px}
  .day-card {padding:17px}.crumbs {margin:20px 0}.takeaways,.editor-cta,.sentiment-section {padding:17px}
  .sentiment-section,.editor-cta {flex-direction:column;align-items:flex-start}.longread>.editor-art {height:145px}
}
@media(max-width:360px){.brief-main,.brief-side {padding:14px}.brief-numbers{flex-wrap:wrap}.brief-numbers .changes{gap:8px}}
.story-copy>p {display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden}
.news-banner {display:block;width:100%;height:auto;aspect-ratio:16/9;object-fit:cover;flex:none}
.news-card>.news-banner {border-bottom:1px solid var(--line)}
.longread>.news-banner {border-radius:22px}

/* Academy reading layouts */
.academy-intro {padding:clamp(22px,4vw,58px) 0 32px;display:flex;align-items:end;justify-content:space-between;gap:36px;border-bottom:1px solid var(--line)}
.academy-intro .eyebrow,.academy-guide .story-header .eyebrow {margin:0 0 14px;color:var(--green);font-size:12px;line-height:1.4}
.academy-intro h1 {max-width:13ch}
.academy-intro>div>p:last-child {max-width:58ch;color:var(--muted);font-size:18px}
.academy-intro nav {display:grid;gap:8px;flex:none}
.academy-intro nav a,.forthcoming a,.guide-related a {color:var(--green)}
.academy-shelf {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}
.academy-topic {display:flex;flex-direction:column;gap:12px;min-width:0}
.academy-topic[hidden] {display:none}
.academy-topic>h2 {font-size:18px;letter-spacing:-.025em}
.academy-topic .academy-card {flex:1}
.academy-shelf .forthcoming {order:1;grid-column:1/-1;border-top:1px solid var(--line);padding-top:20px}
.academy-shelf .forthcoming p {color:var(--muted)}
.academy-card .news-banner {background:#070a0b}
.academy-guide .story-header {position:static}
.academy-guide .story-header .byline {margin:5px 0}
.academy-guide>.news-banner,.academy-guide>.editor-art {margin:22px 0}
.academy-guide p,.academy-guide details {margin:14px 0}
.academy-guide section {margin:40px 0}
.academy-guide section h3 {margin:22px 0 8px;font-size:21px;line-height:1.3;letter-spacing:-.025em}
.academy-guide p a,.academy-guide li a,.academy-guide .byline a {color:#a1e6c3;text-decoration:underline;text-decoration-color:#70a58a80;text-underline-offset:3px}
.guide-toc {border-block:1px solid var(--line);padding:22px 0}
.guide-toc ol {padding-inline-start:1.6em;margin-bottom:0}
.guide-table {table-layout:fixed;text-align:start;line-height:1.45;overflow-wrap:anywhere}
.guide-table th,.guide-table td {vertical-align:top;padding:10px 8px}
.academy-guide summary {cursor:pointer;font-weight:600;padding:12px 0}
.academy-guide details {border-bottom:1px solid var(--line);margin:0}
.guide-related {margin-top:36px}
.crumbs {flex-wrap:wrap;align-items:baseline;row-gap:3px}
@media(max-width:700px){
 .academy-intro {display:block;padding-top:10px}.academy-intro nav {display:flex;flex-wrap:wrap;gap:8px 16px;margin-top:16px;font-size:14px}
 .academy-shelf {grid-template-columns:1fr}.guide-table {font-size:13px}
 .academy-guide .story-header .byline {gap:5px}
}

.academy-offer {max-width:740px;margin:28px auto;padding:clamp(18px,3vw,28px);border-radius:20px;border-color:#65b68b53;background:linear-gradient(118deg,#182e28ec,#152023eb 66%,#182124ed)}
.offer-head,.offer-actions {display:flex;align-items:center;gap:12px 20px;flex-wrap:wrap}
.offer-head {justify-content:space-between;gap:4px 14px}
.academy-offer h2 {margin:0;font-size:clamp(20px,2.2vw,26px);line-height:1.15;letter-spacing:-.035em}
.academy-offer p {margin:6px 0 0;color:var(--muted);line-height:1.5}
.offer-code {display:flex;align-items:center;gap:5px;color:var(--green)}
.offer-code .copy {margin:0;min-height:44px;user-select:text}
.offer-actions {margin:16px 0;font-size:14px}
.offer-actions>a:not(.btn) {color:#c3e5d3;text-decoration:underline;text-underline-offset:3px}
.offer-terms {border-top:1px solid var(--line);padding-top:10px;font-size:13px;line-height:1.45}
.offer-terms strong {font-weight:550;color:#d6e3dd}.offer-terms p {margin:4px 0 0}
.academy-offer[data-placement=takeaways] {padding:16px 20px}
@media(max-width:700px){.offer-actions {gap:12px}.offer-head h2 {flex:1 1 175px}.offer-code {flex-wrap:wrap}.academy-offer .btn {min-height:44px}}

.language-picker {position:relative;flex:none;color:var(--ink);font-size:14px}
.language-picker summary {display:flex;align-items:center;gap:6px;cursor:pointer;list-style:none;min-height:40px;font-weight:600}
.language-picker summary::-webkit-details-marker {display:none}
.language-picker summary svg {width:17px;height:17px}
.language-picker summary span {color:var(--muted)}
.language-picker>div {position:absolute;inset-inline-end:0;top:100%;z-index:12;min-width:max-content;padding:6px;border-radius:14px;background:#141d20;border:1px solid var(--line);box-shadow:0 10px 30px #0005}
.nav .language-picker a {display:block;padding:10px 14px;border-radius:8px}
.nav .language-picker a[aria-current] {color:var(--green);background:#19e68c12}
.residence-note,.market-note {color:var(--muted);font-size:.875rem}
.offer-terms .market-note,.offer-terms .residence-note {margin:.4em 0}
@media(min-width:701px) {.nav #nav {gap:clamp(9px,1.2vw,22px)}}
@media(max-width:1100px) {
  .nav .hamb {display:grid;place-items:center;width:44px;padding:8px;background:none;border:none}
  .nav #nav {display:none;position:absolute;inset:100% 0 auto;background:#121a1c;border-block:1px solid var(--line);padding:12px 20px}
  .nav #nav.open {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0}
  .nav #nav>a,.language-picker summary {padding:10px 12px}
  .language-picker>div {position:relative;min-width:0;border:none;background:none;box-shadow:none}
}
.language-picker {border:0}
.language-picker summary::after {display:none}
html:not([lang="en"]) .hero h1 {text-wrap:balance}
.nav .top-cta {white-space:nowrap}

.mobile-languages {display:none}
@media(max-width:1100px) {
  .nav .language-picker {display:none}
  .nav #nav.open {align-items:start;max-height:calc(100dvh - 70px);overflow-y:auto;overscroll-behavior:contain}
  .mobile-languages {display:grid;grid-column:1/-1;gap:0;margin-top:6px;padding-top:6px;border-top:1px solid var(--line)}
  #language-label {display:flex;align-items:center;gap:8px;padding:8px 12px;color:var(--muted);font-size:.875rem}
  #language-label svg {width:17px;height:17px}
  .nav .mobile-languages a {display:flex;align-items:center;justify-content:space-between;min-height:44px;padding:8px 12px;border-radius:8px}
  .nav .mobile-languages a[aria-current] {color:var(--green);background:#19e68c12}
  .nav .mobile-languages a[aria-current]::after {content:"✓"}
}
html:lang(zh-Hans) body {font-family:"PingFang SC","Noto Sans SC","Microsoft YaHei",system-ui,sans-serif}
html:lang(zh-Hant) body {font-family:"PingFang TC","Noto Sans TC","Microsoft JhengHei",system-ui,sans-serif}
html:lang(zh) body :is(h1,h2,h3,h4) {letter-spacing:normal;line-height:1.22}
html:lang(zh) .academy-guide p,html:lang(zh) .academy-guide li {line-height:1.82}
.market-note a {text-decoration:underline;text-underline-offset:3px}
html:lang(ko) body {font-family:"Apple SD Gothic Neo","Malgun Gothic","Noto Sans KR",system-ui,sans-serif;word-break:keep-all;overflow-wrap:anywhere}
html:lang(ko) body :is(h1,h2,h3,h4) {letter-spacing:normal;line-height:1.25}

/* Currency suffixes stay on one line, even with Korean word-breaking rules. */
.input > b, .result strong > small {flex-shrink:0;white-space:nowrap}
:lang(ar) body {font-family:"Noto Sans Arabic","Geeza Pro","Segoe UI",Tahoma,Arial,sans-serif;line-height:1.72}
html[dir=rtl] body * {letter-spacing:normal}
html:lang(ar) body :is(h1,h2,h3,h4) {line-height:1.4}
html:lang(ar) .hero h1 {font-size:clamp(40px,5vw,76px)}
html:lang(ar) .longread :is(p,li,td,th),html:lang(ar) .btn {line-height:1.65}
html[dir=rtl] .btn {flex-wrap:wrap}
html[dir=rtl] .nav .btn {flex-wrap:nowrap}
html[dir=rtl] svg:has(> use:is([href="#out"],[href="#arrow"])) {transform:scaleX(-1)}
html[dir=rtl] .bots-art img {object-position:left center}
html[dir=rtl] :is(.receipt-line strong,.result strong,.rail-count,.balances strong) {direction:ltr;unicode-bidi:isolate;text-align:right}
html[dir=rtl] .crumbs span[aria-hidden] {direction:ltr;unicode-bidi:isolate}

html:lang(th) body {font-family:"Noto Sans Thai",Thonburi,"Leelawadee UI",Tahoma,sans-serif;line-height:1.75;word-break:normal}
html:lang(th) body :is(h1,h2,h3,h4,.eyebrow,.btn,summary) {letter-spacing:normal;line-height:1.45}
html:lang(th) .hero h1 {font-size:clamp(40px,5.3vw,76px)}
html:lang(th) .longread :is(p,li,th,td) {line-height:1.8;word-break:normal;overflow-wrap:break-word}
html:lang(ur) body {font-family:"Noto Nastaliq Urdu","Jameel Noori Nastaleeq","Noto Nastaliq Urdu UI","Noto Naskh Arabic","Geeza Pro",Tahoma,serif;line-height:2.2}
html:lang(ur) body :is(h1,h2,h3,h4) {line-height:1.95}
html:lang(ur) .hero h1 {font-size:clamp(34px,4.4vw,64px)}
html:lang(ur) body :is(p,li,th,td,summary,.btn,.category,.eyebrow,label,.tag,nav a,.byline) {line-height:2.1}
html:lang(ur) bdi[dir=ltr],html:lang(ur) input[dir=ltr] {font-family:system-ui,sans-serif}

/* Share the available header width with translated labels in either direction. */
@media (max-width:480px) {
  .wrap.nav {width:calc(100% - 24px);gap:6px}
  .nav > a:first-child {min-inline-size:0;flex:0 1 122px}
  .nav .brand {inline-size:100%;block-size:auto}
  .nav-right {min-inline-size:0;max-inline-size:70%}
  .nav .top-cta {min-inline-size:0;white-space:normal;text-align:center;padding-inline:10px}
  .nav .hamb {flex:0 0 44px}
  .nav #nav.open > a {overflow-wrap:anywhere}
}
