/* Battai v2 palette: burgundy lead, graphite text, teal supporting UI. */
:root{--editorial-shadow:0 10px 40px #24282d06}
.daily-rail{gap:10px;height:40px}.daily-trigger{gap:8px;border-radius:5px;margin:3px 0;padding:0 12px;cursor:pointer;transition:background 180ms,box-shadow 180ms}.daily-trigger:first-child{padding-left:8px}.daily-trigger .tool-go{display:grid;place-items:center;flex:none;width:18px;height:18px;font-size:13px;border-radius:50%;background:#ffffff18;transition:transform 180ms}.daily-trigger:hover .tool-go{transform:translate(1px,-1px);background:#ffffff30}.daily-tools .daily-trigger>svg{width:22px;height:22px;stroke:#fff;stroke-width:1.4;border-radius:6px;padding:2px;background:#ffffff16}.daily-tools [data-tool=weather]>svg circle{fill:#e4b5c4;stroke:#e4b5c4}.daily-tools [data-tool=weather]>svg path{fill:#f6f2f2;stroke:#f6f2f2}.daily-tools [data-tool=rates]>svg{background:var(--battai-teal)}.daily-tools [data-tool=horoscope]>svg{background:#ffffff20}.daily-tools .tool-name{font-weight:700;font-size:11px}.daily-trigger small{opacity:.8}.daily-trigger[aria-current=page]{background:#ffffff18}.masthead{height:100px}.header-search{border-radius:24px;transition:border-color 180ms,background 180ms}.header-search:focus-within{background:var(--surface);outline-width:1px}.nav{font-size:13px;gap:27px}.nav a:hover{color:var(--brand)}.nav a.active:after{border-radius:3px 3px 0 0}.page-heading h1{font-size:clamp(30px,3.7vw,46px);line-height:1.25;max-width:950px}.page-heading>p{font-size:15px;line-height:1.85}.official-lead,.brief-card,.data-board,.fx-history,.fx-converter{box-shadow:var(--editorial-shadow)}.brief-card{border-radius:12px;padding:26px;border-top-width:2px}.brief-card h3{line-height:1.5;font-size:22px}.real-feed .news-grid{gap:20px}.brief-card-foot{padding-top:18px}.ask-invite{border-radius:12px;padding:30px 34px}.ask-invite button{border-radius:30px}.ask-invite h2{font-size:28px}.empty{padding:65px 28px;border-style:solid;background:linear-gradient(145deg,var(--surface),var(--teal-tint));border-radius:16px}.empty h2{line-height:1.5}.about-content .page-heading h1{font-size:clamp(30px,3.4vw,43px)}.article-content{overflow-wrap:break-word}.article-content>p{line-height:1.95}.data-real-entry{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:30px 32px;border:1px solid var(--line);border-radius:16px;background:var(--surface);border-left:3px solid var(--battai-teal);margin:8px 0 40px}.data-real-entry h2{font-size:26px;line-height:1.4;margin-bottom:10px}.data-real-entry p{font-size:13px;color:var(--muted);margin:0}.data-real-entry .button{flex:none}.site-footer .footer-links a:hover{text-decoration:underline;text-underline-offset:5px}.tool-heading .text-link,.fx-heading>.text-link{margin-bottom:22px}
.fx-heading h1{margin:14px 0 20px;font-size:clamp(30px,3.9vw,49px);line-height:1.25}.fx-heading h1>span{color:var(--muted)}.fx-heading p{font-size:14px;margin-bottom:0}.fx-status{display:flex;align-items:center;gap:9px;flex-wrap:wrap;color:var(--muted);font-size:11px;line-height:1.8;margin:0 0 26px}.fx-status>span:last-child{font-size:10px}.fx-bank-tabs{display:flex;gap:9px;flex-wrap:wrap;margin:0 0 20px}.fx-bank-tabs button{display:flex;align-items:center;gap:10px;border:1px solid var(--line);border-radius:9px;padding:10px 17px;background:var(--surface);font-size:12px;min-height:48px;transition:background 180ms,border-color 180ms}.bank-monogram{display:grid;place-items:center;font-size:9px;font-weight:700;width:26px;height:26px;border-radius:50%;background:var(--teal-tint);color:var(--battai-teal)}.fx-bank-tabs button[aria-pressed=true]{background:var(--battai-burgundy);border-color:var(--battai-burgundy);color:#fff}.fx-bank-tabs button[aria-pressed=true] .bank-monogram{background:#ffffff18;color:#fff}.currency-tabs{gap:6px;margin-bottom:24px}.currency-tabs button{min-width:59px;background:var(--surface);border-radius:7px;color:var(--muted);padding:8px 13px}.currency-tabs button[aria-pressed=true]{background:var(--teal-tint);color:var(--battai-teal);border-color:var(--battai-teal)}.fx-layout{grid-template-columns:minmax(0,1fr) 300px;align-items:start;gap:22px}.fx-history{min-width:0;padding:28px;background:var(--surface);border:1px solid var(--line);border-radius:14px}.fx-price{gap:20px;margin-bottom:28px;align-items:start}.fx-price strong{font-size:44px;line-height:1.2;margin:10px 0 12px;font-variant-numeric:tabular-nums}.fx-price small{font-size:22px}.fx-price .fx-change{display:block;font-size:12px;color:var(--battai-teal)}.fx-change small{font-size:10px;color:var(--muted);margin-left:6px}.fx-unit{display:grid;justify-items:end;gap:10px;text-align:right}.fx-unit small{font-size:10px;color:var(--muted)}.currency-emblem{display:grid;place-items:center;width:60px;height:60px;background:var(--teal-tint);border-radius:16px;color:var(--battai-teal);font-size:30px;font-weight:400}.fx-chart-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;border-top:1px solid var(--line);padding-top:18px;margin-bottom:20px}.fx-segment{display:flex;align-items:center;gap:3px;padding:3px;border:1px solid var(--line);border-radius:8px;max-width:100%}.fx-segment button{padding:8px 11px;border-radius:5px;font-size:11px;min-height:36px;white-space:nowrap}.fx-segment button[aria-pressed=true]{background:var(--teal-tint);color:var(--ink);font-weight:700}.fx-periods{display:flex;gap:5px;flex-wrap:wrap;margin-bottom:16px}.fx-periods button{font-size:11px;padding:8px 12px;min-height:36px;color:var(--muted);border-radius:5px;border:1px solid transparent}.fx-periods button[aria-pressed=true]{background:var(--soft);color:var(--brand);border-color:var(--line);font-weight:700}.fx-date-range{display:flex;gap:12px;align-items:center;flex-wrap:wrap;margin:0 0 15px;font-size:11px;color:var(--muted)}.fx-date-range label{display:flex;align-items:center;gap:8px}.fx-date-range input{font:inherit;min-height:36px;padding:6px 9px;background:var(--surface);color:var(--ink);border:1px solid var(--line);border-radius:6px;max-width:145px}.fx-chart-stage{position:relative;min-height:190px}.fx-chart{margin-top:0;min-height:180px;touch-action:pan-y}.fx-chart text{font-size:13px;fill:var(--muted);font-family:var(--battai-font)}.fx-grid-line{stroke:var(--line);stroke-dasharray:3 5;fill:none}.fx-crossline{fill:none;stroke:var(--muted);stroke-dasharray:3 3;stroke-width:1}#fx-crosshair[hidden]{display:none}.fx-tooltip{position:absolute;right:15px;top:10px;background:var(--surface);box-shadow:0 6px 24px #24282d18;border:1px solid var(--line);border-radius:8px;padding:13px 16px;pointer-events:none;font-size:11px;min-width:165px;z-index:2}.fx-tooltip[hidden]{display:none}.fx-tooltip strong{display:block;margin-bottom:8px;font-size:11px}.fx-tooltip span{display:flex;justify-content:space-between;gap:15px;margin-top:7px;color:var(--muted)}.fx-tooltip b{color:var(--ink);font-variant-numeric:tabular-nums}.fx-overview{border-top:1px solid var(--line);padding:12px 0 4px;margin-top:10px}.fx-mini{width:100%;height:38px;display:block;background:var(--teal-tint);border-radius:6px;opacity:.8}.fx-window-label{display:flex;justify-content:space-between;color:var(--muted);font-size:10px;margin:10px 0}.fx-navigator{display:grid;grid-template-columns:1fr 1fr;gap:20px;font-size:10px;color:var(--muted)}.fx-navigator label{display:grid;gap:5px}.fx-navigator input{width:100%;accent-color:var(--battai-teal);min-height:30px;margin:0}.fx-chart-caption{display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap;margin:15px 0 18px;font-size:10px}.fx-chart-caption>small{font-size:10px;color:var(--muted)}.fx-legend{display:flex;align-items:center;gap:7px}.fx-legend i{width:16px;height:3px;background:var(--battai-teal);display:inline-block;border-radius:2px}.fx-legend i.sell{background:var(--brand);margin-left:10px}.fx-history:has(.fx-price .fx-change) .fx-legend i{background:var(--brand)}.fx-no-history{padding:42px 18px;text-align:center;background:var(--bg);border:1px dashed var(--line);border-radius:9px;margin:22px 0}.fx-no-history>span{display:inline-grid;place-items:center;width:40px;height:40px;border-radius:50%;background:var(--teal-tint);color:var(--battai-teal);font-size:23px;margin-bottom:18px}.fx-no-history h3{font-size:17px;line-height:1.6;margin:0 0 12px}.fx-no-history p{max-width:460px;margin:0 auto;font-size:12px;color:var(--muted)}.fx-no-history .text-link{margin-top:15px}.fx-converter{padding:25px;border-radius:14px;min-width:0}.fx-converter h2{font-size:21px;margin:8px 0 18px}.fx-converter .eyebrow{font-size:10px}.fx-converter output{font-size:28px}.fx-converter>.text-link{font-size:11px;margin-top:17px;border-top:1px solid var(--line);width:100%;padding-top:15px}.fx-comparison{margin-top:45px;background:var(--surface);border:1px solid var(--line);border-radius:14px;padding:26px 28px}.fx-comparison .section-heading{align-items:center;flex-wrap:wrap}.fx-comparison .eyebrow{font-size:10px;margin-bottom:7px}.fx-comparison h2{font-size:24px}.bank-comparison th,.bank-comparison td{padding:16px 14px;white-space:nowrap;font-size:13px}.bank-comparison th small{white-space:normal;max-width:320px;line-height:1.7}.bank-comparison th:first-child{position:sticky;left:0;z-index:1;background:var(--surface)}.bank-comparison thead th:first-child{background:var(--soft)}.bank-comparison tbody tr:hover>th,.bank-comparison tbody tr:hover>td{background:var(--teal-tint)}.bank-comparison td:nth-of-type(even){background:color-mix(in srgb,var(--teal-tint) 40%,transparent)}.bank-comparison tbody th{min-width:215px}.table-bank{display:inline-flex;align-items:center;gap:8px;padding:0;color:var(--brand);font-weight:700;min-height:35px;text-align:left;font-size:12px}.table-bank>small{margin:0;color:var(--muted)}.currency-mark{display:inline-grid;place-items:center;width:25px;height:25px;border-radius:50%;color:var(--battai-teal);background:var(--teal-tint);font-size:13px}.official-table-rate{text-align:right}.official-table-rate small{display:block;font-size:10px;color:var(--muted);margin-top:6px}.fx-history-table{max-height:360px;overflow:auto;border:1px solid var(--line);border-radius:8px;margin:20px 0}.fx-history-table table{width:100%;border-collapse:collapse;font-size:12px;font-variant-numeric:tabular-nums}.fx-history-table caption{padding:14px;text-align:left;font-size:11px;color:var(--muted)}.fx-history-table th,.fx-history-table td{padding:13px 16px;border-bottom:1px solid var(--line);text-align:right}.fx-history-table th:first-child{text-align:left}.fx-history-table thead{position:sticky;top:0;background:var(--teal-tint)}.weather-now{background:linear-gradient(140deg,var(--battai-burgundy),var(--battai-graphite));border-radius:14px}.forecast-day{background:var(--surface);border-radius:12px;transition:transform 180ms,border-color 180ms}.forecast-day:hover{transform:translateY(-3px);border-color:var(--battai-teal)}.calendar-card,.horoscope-selection{padding:28px;border-radius:14px;border:1px solid var(--line);background:var(--surface)}.calendar-layout{gap:25px}.calendar-card{max-width:none}.sign-grid button{transition:background 180ms,transform 180ms}.sign-grid button:hover{background:var(--teal-tint);transform:translateY(-2px)}
@media(max-width:1100px){.nav{gap:19px;font-size:12px}.fx-layout{grid-template-columns:minmax(0,1fr) 260px;gap:16px}.fx-history{padding:22px}.daily-rail{gap:0}.daily-trigger{padding:0 8px}}
@media(max-width:900px){.fx-layout{grid-template-columns:1fr}.fx-converter{display:grid;grid-template-columns:1fr 1fr;column-gap:20px}.fx-converter h2,.fx-converter .eyebrow,.fx-converter>p,.fx-converter>output,.fx-converter>small,.fx-converter>.text-link{grid-column:1/-1}.fx-converter label{margin-top:10px}.fx-converter input,.fx-converter select{grid-row:5}.fx-converter label[for=rates-direction]{grid-column:2;grid-row:4}.fx-converter label[for=rates-amount]{grid-column:1;grid-row:4}.nav{gap:17px}.nav .nav-brief{display:none}}
@media(max-width:760px){.daily-rail{padding:0 10px;gap:0;overflow:visible;height:40px;justify-content:space-between}.daily-trigger{gap:5px;padding:0 5px;flex-shrink:1;min-width:0;margin:3px 0;min-height:34px}.daily-trigger:first-child{margin-right:0;padding-left:3px}.daily-tools .daily-trigger .tool-name{font-size:10px}.daily-trigger #today-date,.daily-trigger .rate-symbols,.daily-trigger #weather-summary-city,.daily-trigger small{display:none}.daily-trigger .tool-go{display:inline-grid;width:15px;height:15px;font-size:11px}.daily-tools .daily-trigger>svg{width:21px;height:21px}.daily-trigger+.daily-trigger:before{display:none}.daily-tools:after{width:12px}.masthead{height:80px}.masthead .logo{width:165px}.header-actions{gap:5px}.nav{gap:23px;font-size:12px}.page-heading{margin:10px 0 26px}.page-heading>p{font-size:13px}.fx-heading h1{font-size:30px}.fx-status{font-size:10px;margin-bottom:20px}.fx-status>span:last-child{display:block}.fx-bank-tabs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;margin-bottom:16px}.fx-bank-tabs button{padding:9px 7px;gap:5px;font-size:10px;min-height:43px;justify-content:center}.bank-monogram{width:20px;height:20px;font-size:8px;flex:none}.currency-tabs{gap:5px}.currency-tabs button{min-width:46px;min-height:38px;font-size:10px;padding:8px 9px}.fx-history{padding:19px 15px;border-radius:12px}.fx-price{gap:12px;margin-bottom:22px}.fx-price strong{font-size:35px}.fx-price small{font-size:18px}.fx-price span{font-size:11px}.fx-price .fx-change{font-size:11px}.fx-unit small{font-size:9px;max-width:110px}.currency-emblem{width:46px;height:46px;font-size:25px;border-radius:12px}.fx-chart-toolbar{gap:10px}.fx-segment button{font-size:10px;padding:7px 9px;min-height:34px}.fx-periods{gap:2px}.fx-periods button{padding:7px 9px;font-size:10px}.fx-date-range{gap:7px;font-size:10px}.fx-date-range label{gap:5px;flex:1}.fx-date-range input{max-width:125px;width:100%;min-height:38px;font-size:11px;padding:6px}.fx-chart{min-height:185px}.fx-chart text{font-size:14px}.fx-tooltip{right:5px;top:5px;font-size:10px;padding:10px 12px;min-width:140px}.fx-chart-caption{margin:15px 0;font-size:10px}.fx-chart-caption>small{font-size:9px}.fx-navigator{gap:16px}.fx-converter{padding:22px 20px}.fx-comparison{padding:22px 15px;margin-top:26px}.fx-comparison h2{font-size:22px}.fx-comparison .section-heading{gap:18px}.bank-comparison table{min-width:610px}.bank-comparison th,.bank-comparison td{padding:13px 12px;font-size:12px}.bank-comparison tbody th{min-width:175px;max-width:190px}.bank-comparison th small{font-size:9px;max-width:166px}.brief-card{padding:23px}.brief-card h3{font-size:22px}.ask-invite{padding:27px 24px}.ask-invite h2{font-size:25px}.calendar-card,.horoscope-selection{padding:22px 18px}.calendar-controls h2{font-size:18px}.data-real-entry{padding:25px 22px;display:block}.data-real-entry h2{font-size:24px}.data-real-entry .button{margin-top:20px}.article-content>p{font-size:16px;line-height:1.9}.reader-launcher{font-size:10px;padding:11px 13px}.forecast-day .forecast-symbol{font-size:27px}}
@media(max-width:360px){.daily-tools .daily-trigger .tool-name{font-size:9px}.daily-trigger{gap:4px;padding:0 3px}.masthead .logo{width:150px}.fx-bank-tabs{grid-template-columns:repeat(2,minmax(0,1fr))}.fx-converter{display:block}.fx-periods button{padding:7px}.fx-date-range>span{display:none}.fx-date-range label{font-size:9px}.fx-date-range input{max-width:112px}.fx-price strong{font-size:31px}.fx-price .fx-change small{display:block;margin:4px 0 0}.fx-navigator{gap:12px}}
@media(prefers-reduced-motion:reduce){*{transition:none!important}}
/* Isolate the background so the ornament stays above the body paint on mobile. */
body,body.dark{background-image:none;min-height:100dvh;position:relative;isolation:isolate}
body::before{content:'';position:fixed;inset:0;z-index:-1;background:url('./patterns/tumennast-reference.jpg') repeat;background-size:380px auto;filter:grayscale(1);opacity:.085;pointer-events:none}
body.dark::before{filter:grayscale(1) invert(1);opacity:.065}
.heritage-ribbon{height:28px;position:relative;overflow:hidden;border-bottom:1px solid var(--line);background:var(--bg)}
.heritage-ribbon::before{content:'';position:absolute;inset:0;background:url('./patterns/tumennast-reference.jpg') center 40%/240px auto repeat;filter:grayscale(1);opacity:.18}
.dark .heritage-ribbon::before{filter:grayscale(1) invert(1);opacity:.17}
.brand-lockup{display:flex;align-items:center;gap:24px;flex-shrink:0}
.brand-slogan{font-size:13px;font-weight:600;color:var(--muted);border-left:1px solid var(--line);padding-left:22px;line-height:1.5;max-width:155px}
.ask-invite:before{background-image:none}.site-footer{margin-bottom:0}.site-footer .footer-grid{position:relative}
.news-visual{margin:0 0 28px;border-radius:12px;overflow:hidden;background:var(--surface);border:1px solid var(--line)}
.news-visual img{display:block;width:100%;height:auto;aspect-ratio:3/2;object-fit:cover}
.news-visual figcaption{padding:10px 14px;font-size:10px;line-height:1.6;color:var(--muted)}
.news-visual figcaption>span{font-weight:700;color:var(--battai-teal)}
.news-visual-card{margin:-26px -26px 20px;border-radius:11px 11px 0 0;border-width:0 0 1px}
.news-visual-card figcaption{padding:8px 14px;font-size:9px}.brief-card{overflow:hidden}
@media(max-width:1100px){.brand-lockup{gap:14px}.brand-slogan{font-size:11px;max-width:135px;padding-left:14px}.masthead .logo{width:185px}}
@media(max-width:760px){.masthead{height:101px}.brand-lockup{display:flex;flex-direction:column;align-items:flex-start;gap:7px}.brand-slogan{display:block;max-width:none;border:0;padding:0;font-size:10px;letter-spacing:.01em;color:var(--battai-teal)}.heritage-ribbon{height:25px}.news-visual-card{margin:-23px -23px 18px}.news-visual figcaption{font-size:10px}.news-visual-card figcaption{font-size:9px}.masthead .logo{width:165px}.ask-invite{margin-top:30px}}
@media(max-width:360px){.masthead .logo{width:150px}.brand-slogan{font-size:9px}}

.brief-card>.policy-visual{padding:20px;margin-bottom:20px}.brief-card>.policy-visual .policy-year{font-size:60px}.about-content>.policy-visual{margin-bottom:30px}
.masthead .brand-lockup .logo{margin:0}
@media(min-width:761px) and (max-width:900px){.header-actions .profile-link{display:none}.masthead{gap:18px}}
