/* ===== MONEYTRELLIS: money desk — warm paper, ink black, gold accent, emerald for gains ===== */
:root{
 --font:'Inter',system-ui,sans-serif;
 --font-head:'Fraunces','Inter',system-ui,sans-serif;
 --r-s:3px;--r-m:6px;--r-l:10px;
 --accent:#0d9488;--ai:#0d9488;--live:#0e7a5b;--bg:#f4f7f5;--fg:#0f1f1a;--muted:#58665f;--line:#dbe5df;--card:#ffffff;--topbar-bg:#08261f;--topbar-fg:#e8f3ee;--head-bg:rgba(244,247,245,.93);--nav-bg:#ffffff;--nav-fg:#0f1f1a;--ticker-bg:#08261f;--ticker-fg:#e8f3ee;--chip-bg:#dcf5ea;--chip-fg:#0b5c42;--cover-base:#08261f;--brief-bg:linear-gradient(120deg,#08261f,#0d3b30 60%,#0e7a5b);--brief-fg:#eaf6f0;--brief-line:#0e9f6e;--foot-bg:#08261f;--foot-fg:#aecabd;
 --shadow:0 14px 30px -16px rgba(8,38,31,.4);
--accent2:#eab308;}
@media(prefers-color-scheme:dark){html[data-theme=auto]{--bg:#0b1511;--fg:#eaf3ee;--muted:#8ea59a;--line:#1d2e27;--card:#101c17;--head-bg:rgba(11,21,17,.93);--nav-bg:#0d1a15;--nav-fg:#eaf3ee;--chip-bg:#12372c;--chip-fg:#7ee0b8;--cover-base:#060d0a}}
html[data-theme=dark]{--bg:#0b1511;--fg:#eaf3ee;--muted:#8ea59a;--line:#1d2e27;--card:#101c17;--head-bg:rgba(11,21,17,.93);--nav-bg:#0d1a15;--nav-fg:#eaf3ee;--chip-bg:#12372c;--chip-fg:#7ee0b8;--cover-base:#060d0a}
html[data-theme=light]{}
.theme-moneytrellis .brand-name{font-family:var(--font-head);font-weight:700;letter-spacing:-.03em}
.theme-moneytrellis .brand-name em{color:var(--accent);font-style:normal}
.theme-moneytrellis .brand-mark{background:var(--accent);color:#08261f;font-weight:800;border-radius:50%}
.theme-moneytrellis .catnav a{font-weight:600;letter-spacing:.01em}
.theme-moneytrellis .card,.theme-moneytrellis .art-card{border-radius:var(--r-m);border-top:2px solid var(--accent)}
.theme-moneytrellis .art h1,.theme-moneytrellis h1{font-family:var(--font-head);letter-spacing:-.02em}
.theme-moneytrellis .takeaway{margin:22px 0;padding:16px 18px;border-left:4px solid var(--accent);background:var(--chip-bg);border-radius:var(--r-m)}

/* ===== moneyvault v2: private-bank look. Ink panels, gold rules, tabular numbers ===== */
.theme-moneytrellis{font-feature-settings:"tnum" 1,"lnum" 1}
.theme-moneytrellis h1,.theme-moneytrellis h2,.theme-moneytrellis h3{font-family:var(--font-head);letter-spacing:-.015em}
.theme-moneytrellis .site-head{border-bottom:0;background:var(--head-bg)}
.theme-moneytrellis .brand-name{font-size:32px;font-weight:700}
.theme-moneytrellis .brand-mark{width:34px;height:34px;display:inline-grid;place-items:center;font-size:20px;box-shadow:0 0 0 3px #08261f,0 0 0 4px var(--accent)}
.theme-moneytrellis .brand-tag{border-left:1px solid var(--line);padding-left:14px;font:italic 400 13.5px var(--font);color:var(--muted)}
.theme-moneytrellis .catnav{background:#08261f;border:0;border-bottom:3px solid var(--accent)}
.theme-moneytrellis .catnav-in{gap:2px;flex-wrap:wrap}
.theme-moneytrellis .catnav a{color:#e8f3ee;border-radius:0;padding:11px 12px;font:600 12.5px var(--font-head);text-transform:uppercase;letter-spacing:.07em;background:none;border:0;border-bottom:3px solid transparent;margin-bottom:-3px}
.theme-moneytrellis .catnav a .ci{display:none}
.theme-moneytrellis .catnav a:hover,.theme-moneytrellis .catnav a.on{background:rgba(14,159,110,.18);color:#e6c767;border-bottom-color:#e6c767}
.theme-moneytrellis .catnav a.ai{color:#e6c767}
.theme-moneytrellis .ticker{background:#041611;color:#e8f3ee;border-bottom:1px solid #16473a}
.theme-moneytrellis .ticker-label{color:#e6c767}
.theme-moneytrellis .ticker a time{color:#d4b04a;font-weight:700}
.theme-moneytrellis .topbar{background:#041611;border-bottom:1px solid #16473a}
.theme-moneytrellis .search input{border-radius:0;background:var(--card)}
.theme-moneytrellis .search button{border-radius:0;background:var(--accent);color:#08261f}
.theme-moneytrellis .chip{border-radius:2px;text-transform:uppercase;letter-spacing:.07em;font-size:10.5px;font-weight:700}
.theme-moneytrellis .flag{background:var(--accent);color:#08261f;border-radius:2px;font-weight:800}
.theme-moneytrellis .card,.theme-moneytrellis .box{border-radius:var(--r-s);box-shadow:none;border:1px solid var(--line)}
.theme-moneytrellis .card{border-top:3px solid var(--accent)}
.theme-moneytrellis .card:hover{box-shadow:var(--shadow)}
.theme-moneytrellis .box-title{font:700 12px var(--font-head);text-transform:uppercase;letter-spacing:.12em;color:var(--accent);border-bottom:1px solid var(--line);padding-bottom:9px}
.theme-moneytrellis .btn{border-radius:2px;background:var(--fg);color:var(--bg)}
.theme-moneytrellis .brief{border-radius:var(--r-s);border-left:5px solid var(--accent)}
.theme-moneytrellis .ai-badge{background:var(--accent);color:#08261f;border-radius:2px}
.theme-moneytrellis .cover{border-radius:var(--r-s)}

/* article */
.theme-moneytrellis .art h1{font-size:clamp(30px,4vw,46px);line-height:1.1;font-weight:700}
.theme-moneytrellis .body{font-size:18px;line-height:1.75}
.theme-moneytrellis .body h2{font:700 13px var(--font-head);text-transform:uppercase;letter-spacing:.12em;color:var(--accent);border-top:2px solid var(--fg);padding-top:10px;margin-top:30px}
.theme-moneytrellis .body h2:last-of-type{background:var(--chip-bg);border-top-color:var(--accent);padding:12px 16px 0;margin-bottom:0}
.theme-moneytrellis .body ul{list-style:none;padding:0;border-left:4px solid var(--accent);background:var(--chip-bg);padding:12px 16px}
.theme-moneytrellis .body ul li{margin:0 0 .5em;padding-left:18px;position:relative}
.theme-moneytrellis .body ul li::before{content:"▸";position:absolute;left:0;color:var(--accent)}

/* front page */
.rw-dateline{display:flex;justify-content:space-between;gap:12px;padding:11px 0;border-bottom:1px solid var(--line);font:600 11.5px var(--font-head);text-transform:uppercase;letter-spacing:.09em;color:var(--muted)}
.rw-dateline a{color:var(--accent)}
.rw-top{display:grid;grid-template-columns:1.9fr 1fr;gap:0;margin-top:20px;background:#08261f;color:#e8f3ee;border-radius:var(--r-s);overflow:hidden;border-bottom:4px solid var(--accent)}
.rw-lead{display:grid;grid-template-columns:1fr;position:relative}
.rw-lead-cover .cover{aspect-ratio:16/8.2;border-radius:0;display:block;width:100%}
.rw-lead-body{padding:20px 26px 26px}
.rw-lead h1{font-size:clamp(26px,3vw,40px);line-height:1.1;margin:10px 0;color:#fff;font-weight:700}
.rw-lead p{margin:0;color:#aecabd;font-size:16.5px;line-height:1.55}
.rw-lead .meta{color:#9ab5a9}.rw-lead .chip{background:rgba(230,199,103,.14)!important;color:#e6c767!important}
.rw-tape{padding:20px 22px;border-left:1px solid #16473a;background:#0d1813}
.rw-tape-h{font:700 12px var(--font-head);text-transform:uppercase;letter-spacing:.14em;color:#e6c767;margin:0 0 6px;display:flex;align-items:center;gap:8px}
.rw-tape ol{list-style:none;margin:0;padding:0}
.rw-tape li{display:grid;grid-template-columns:26px 1fr;gap:8px;padding:11px 0;border-bottom:1px solid #22302a}
.rw-tape li:last-child{border:0}
.rw-tape li b{font:700 15px var(--font-head);color:var(--accent)}
.rw-tape li a{color:#eaf3ee;font-weight:600;line-height:1.3;font-size:14.5px}
.rw-tape li a:hover{color:#e6c767}
.rw-tape li small{display:block;margin-top:3px;color:#7a9488;font-size:11px;text-transform:uppercase;letter-spacing:.06em}
.rw-guide{display:grid;grid-template-columns:repeat(6,1fr);gap:0;margin-top:22px;border:1px solid var(--line);background:var(--card)}
.rw-guide a{display:flex;flex-direction:column;gap:3px;padding:16px 16px 18px;border-right:1px solid var(--line);transition:background .2s}
.rw-guide a:last-child{border-right:0}
.rw-guide a:hover{background:var(--chip-bg)}
.rw-guide i{font-style:normal;font-size:22px}
.rw-guide b{font:700 14.5px var(--font-head)}
.rw-guide small{color:var(--muted);font-size:12px;line-height:1.35}
.rw-main{margin-top:34px}
.rw-sect{margin-bottom:38px}
.rw-sect-h{display:flex;justify-content:space-between;align-items:baseline;border-bottom:2px solid var(--fg);padding-bottom:8px;margin-bottom:16px;position:relative}
.rw-sect-h::after{content:"";position:absolute;left:0;bottom:-2px;width:64px;height:2px;background:var(--accent)}
.rw-sect-h h2{margin:0;font-size:22px}
.rw-sect-h .more{font:700 11.5px var(--font-head);text-transform:uppercase;letter-spacing:.1em;color:var(--accent)}
.rw-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}
.rw-card .cover{aspect-ratio:16/10;border-radius:var(--r-s)}
.rw-card h3{font-size:17px;line-height:1.25;margin:10px 0 4px;font-weight:700}
.rw-card a:hover{color:var(--accent)}
.rw-card time{font-size:12px;color:var(--muted)}
.rw-more{list-style:none;margin:16px 0 0;padding:0;border-top:1px solid var(--line)}
.rw-more li{display:flex;justify-content:space-between;gap:14px;padding:10px 0;border-bottom:1px solid var(--line)}
.rw-more a{font-weight:600;line-height:1.3}.rw-more a:hover{color:var(--accent)}
.rw-more time{color:var(--muted);font-size:12px;white-space:nowrap}
.rw-explain p{margin:0;font-size:14.5px;color:var(--muted);line-height:1.55}
.rw-explain b{color:var(--accent)}
@media(max-width:1000px){.rw-top{grid-template-columns:1fr}.rw-tape{border-left:0;border-top:1px solid #16473a}.rw-guide{grid-template-columns:repeat(3,1fr)}.rw-guide a:nth-child(3){border-right:0}.rw-guide a:nth-child(-n+3){border-bottom:1px solid var(--line)}}
@media(max-width:700px){.rw-grid{grid-template-columns:1fr}.rw-guide{grid-template-columns:1fr 1fr}.rw-guide a{border-right:0!important;border-bottom:1px solid var(--line)}.rw-dateline .rw-dl-mid{display:none}.theme-moneytrellis .brand-tag{display:none}}
.rw-top.wrap{padding:0}
.rw-lead{align-content:start}
.rw-lead-cover{display:block}
.rw-lead-cover .cover .chip,.rw-lead-cover .cover [class*=badge]{display:none}
.theme-moneytrellis .catnav-in{justify-content:center;text-align:center}
.theme-moneytrellis nav.catnav .catnav-in{display:flex!important;flex-wrap:wrap!important;justify-content:center!important;text-align:center}
