@font-face {
	font-family: "Satoshi";
	src: url("../fonts/satoshi-var.woff2") format("woff2");
	font-weight: 300 900;
	font-style: normal;
	font-display: swap;
}

:root {
	--ink: #15181B;
	--ink-2: #3A3F44;
	--muted: #62676C;
	--faint: #9AA0A6;
	--line: rgba(21, 24, 27, .12);
	--line-2: rgba(21, 24, 27, .08);
	--line-3: rgba(21, 24, 27, .16);
	--bg: #FFFFFF;
	--soft: #F1F3F4;
	--soft-2: #F7F8F9;
	--soft-3: #E8EBED;
	--field: #E3E6E8;
	--accent: #FFCB2E;
	--accent-2: #EDB100;
	--accent-soft: #FFF3C4;
	--accent-ink: #6B5200;
	--select: #FFE48A;
	--good: #17804B;
	--good-bg: #E5F2EA;
	--bad: #B3361E;
	--bad-bg: #F8E8E4;
	--maxw: 1264px;
	--gut: clamp(16px, 3vw, 32px);
	--sec: clamp(56px, 7vw, 96px);
	--r-sm: 12px;
	--r: 14px;
	--r-md: 20px;
	--r-lg: 22px;
	--r-xl: 28px;
	--shadow-hover: 0 18px 36px -26px rgba(21, 24, 27, .55);
	--shadow-pop: 0 32px 64px -32px rgba(21, 24, 27, .42);
	--font: "Satoshi", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	--ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; }
body {
	margin: 0;
	background: var(--bg);
	color: var(--ink);
	font: 400 16px/1.55 var(--font);
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
	overflow-x: hidden;
}
img, picture, svg, video { max-width: 100%; height: auto; display: block; }
a { color: var(--ink); text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
input::-webkit-search-cancel-button { display: none; }
::selection { background: var(--select); color: var(--ink); }
::placeholder { color: #6B7075; opacity: 1; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
h1, h2, h3, h4 { margin: 0; text-wrap: balance; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; }
table { border-collapse: collapse; }
[hidden] { display: none !important; }
.num { font-variant-numeric: tabular-nums; }

@keyframes etkPulse { 0% { transform: scale(1); opacity: .55; } 100% { transform: scale(2.8); opacity: 0; } }
@keyframes etkIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}

.screen-reader-text {
	position: absolute !important;
	width: 1px; height: 1px;
	overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	white-space: nowrap;
}
.skip-link {
	position: absolute; left: -9999px; top: 8px; z-index: 100;
	padding: 12px 16px; background: var(--ink); color: #fff; border-radius: 12px; font-weight: 700; font-size: 14px;
}
.skip-link:focus { left: 16px; color: #fff; }

.site { min-height: 100vh; display: flex; flex-direction: column; }
.site-main { flex: 1; }
.wrap { max-width: var(--maxw); width: 100%; margin: 0 auto; padding-inline: var(--gut); }
.sec { padding-top: var(--sec); }

/* Type */
.eyebrow { margin: 0 0 10px; display: flex; align-items: center; gap: 8px; font-weight: 700; font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-2); }
.h2 { font-weight: 700; font-size: clamp(30px, 3.4vw, 46px); line-height: 1.02; letter-spacing: -.035em; }
.h3 { font-weight: 700; font-size: 20px; letter-spacing: -.02em; }
.cap { font-weight: 700; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2); }
.muted { color: var(--muted); }
.link-caps { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-weight: 700; font-size: 12px; letter-spacing: .04em; text-transform: uppercase; }
.link-caps:hover { text-decoration: underline; text-underline-offset: 4px; }
.sec-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 12px 24px; flex-wrap: wrap; margin-bottom: 24px; }

/* Buttons */
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 18px;
	border-radius: var(--r); border: 0; background: var(--ink); color: #fff;
	font-weight: 700; font-size: 12px; letter-spacing: .04em; text-transform: uppercase; white-space: nowrap;
	transition: background .15s;
}
.btn:hover { background: #2A2F33; color: #fff; }
.btn--arrow { padding: 0 8px 0 18px; }
.btn__arrow { width: 32px; height: 32px; border-radius: 10px; background: var(--accent); color: var(--ink); display: grid; place-items: center; font-size: 15px; }
.btn--ghost { background: transparent; color: var(--ink); border: 1px solid var(--line-3); }
.btn--ghost:hover { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn--yellow { background: var(--accent); color: var(--ink); }
.btn--yellow:hover { background: #FFD65C; color: var(--ink); }
.icon-btn { width: 48px; height: 48px; border-radius: var(--r); border: 0; background: transparent; display: grid; place-items: center; }
.icon-btn:hover, .icon-btn[aria-expanded="true"] { background: var(--soft); }
.ico { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.ico--s { width: 16px; height: 16px; }
.ico-tile { flex: none; width: 44px; height: 44px; border-radius: 13px; background: var(--soft); display: grid; place-items: center; color: var(--ink); }
.ico-tile .ico { width: 21px; height: 21px; }

/* ---------- Header ---------- */
.hd { position: sticky; top: 12px; z-index: 60; padding: 0 12px; margin-top: 12px; transition: transform .28s var(--ease); }
.hd.is-hidden { transform: translateY(calc(-100% - 24px)); }
.hd__in { position: relative; max-width: var(--maxw); margin: 0 auto; }
.hd__bar {
	height: 56px; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 16px; padding: 0 4px 0 16px;
	background: rgba(255, 255, 255, .94); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
	border: 1px solid var(--line); border-radius: 20px; box-shadow: 0 8px 24px -18px rgba(21, 24, 27, .3);
}
.logo { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 18px; letter-spacing: -.03em; white-space: nowrap; }
.logo__mark { position: relative; width: 30px; height: 30px; border-radius: 9px; background: var(--ink); flex: none; }
.logo__mark::after { content: ""; position: absolute; right: 6px; bottom: 6px; width: 9px; height: 9px; border-radius: 50%; background: var(--accent); }
.nav { display: none; justify-content: center; gap: 2px; min-width: 0; }
.nav__btn {
	display: inline-flex; align-items: center; gap: 6px; height: 40px; padding: 0 12px; border: 0; border-radius: var(--r-sm); background: transparent;
	font-weight: 700; font-size: 12px; letter-spacing: .04em; text-transform: uppercase; white-space: nowrap;
}
.nav__btn:hover, .nav__btn[aria-expanded="true"] { background: var(--soft); }
.nav__btn svg { width: 10px; height: 10px; transition: transform .2s; }
.nav__btn[aria-expanded="true"] svg { transform: rotate(180deg); }
.nav__link { display: inline-flex; align-items: center; height: 40px; padding: 0 12px; border-radius: var(--r-sm); font-weight: 700; font-size: 12px; letter-spacing: .04em; text-transform: uppercase; }
.nav__link:hover { background: var(--soft); }
.hd__tools { grid-column: 3; display: flex; align-items: center; justify-content: flex-end; gap: 4px; }
.hd__search {
	display: none; align-items: center; gap: 10px; height: 46px; width: 248px; padding: 0 8px 0 14px; border-radius: var(--r);
	border: 1px solid var(--line-3); background: var(--soft-2); color: #62676C; font-size: 14px; text-align: left;
}
.hd__search:hover { border-color: var(--ink); }
.hd__search span:first-of-type { flex: 1; }
.kbd { display: inline-grid; place-items: center; min-width: 26px; height: 26px; padding: 0 6px; border-radius: 8px; border: 1px solid var(--line-3); background: #fff; font-size: 12px; font-weight: 700; color: var(--ink-2); }

.mega {
	position: absolute; left: 0; right: 0; top: calc(100% + 8px); background: #fff; border: 1px solid var(--line); border-radius: 24px;
	box-shadow: var(--shadow-pop); padding: 28px; display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 2fr) minmax(0, .95fr); gap: 32px;
	animation: etkIn .18s var(--ease);
}
.mega::before { content: ""; position: absolute; left: 0; right: 0; bottom: 100%; height: 10px; }
.mega__intro { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.mega__title { font-weight: 700; font-size: 26px; line-height: 1.05; letter-spacing: -.03em; }
.mega__desc { font-size: 14.5px; color: var(--ink-2); text-wrap: pretty; }
.mega__all { margin-top: auto; }
.mega__list { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2px 20px; align-content: start; }
.mega__list a { display: flex; flex-direction: column; gap: 1px; padding: 10px 12px; border-radius: var(--r); }
.mega__list a:hover { background: var(--soft); }
.mega__list b { font-weight: 700; font-size: 15px; }
.mega__list span { font-size: 13px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mega__feat { display: flex; flex-direction: column; gap: 8px; padding: 20px; border-radius: 20px; background: var(--ink); color: #fff; min-width: 0; }
.mega__feat:hover { background: #262A2E; color: #fff; }
.mega__feat .cap { color: var(--accent); }
.mega__feat b { font-weight: 700; font-size: 21px; line-height: 1.15; letter-spacing: -.02em; }
.mega__feat span:not(.cap) { font-size: 14px; color: #C9CDD1; }
.mega__feat em { margin-top: auto; padding-top: 12px; font-style: normal; font-weight: 700; font-size: 12px; letter-spacing: .04em; text-transform: uppercase; }

.mnav {
	position: absolute; left: 0; right: 0; top: calc(100% + 8px); max-height: calc(100vh - 96px); overflow: auto; background: #fff;
	border: 1px solid var(--line); border-radius: 24px; box-shadow: var(--shadow-pop); padding: 8px; animation: etkIn .18s var(--ease);
}
.mnav__pillar { padding: 12px 12px 8px; border-bottom: 1px solid var(--line-2); }
.mnav__head { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 44px; }
.mnav__head > span { display: flex; align-items: center; gap: 12px; font-weight: 700; font-size: 17px; letter-spacing: -.01em; }
.mnav__head .ico-tile { width: 36px; height: 36px; border-radius: 11px; }
.mnav__head .ico-tile .ico { width: 18px; height: 18px; }
.mnav__head small { font-size: 13px; color: var(--muted); }
.mnav__chips { display: flex; flex-wrap: wrap; gap: 6px; padding: 6px 0 4px 48px; }
.chip { display: inline-flex; align-items: center; min-height: 36px; padding: 0 12px; border-radius: 999px; background: var(--soft); font-size: 13.5px; font-weight: 500; }
.chip:hover { background: var(--soft-3); }
.mnav__all { display: flex; justify-content: center; align-items: center; min-height: 52px; margin: 8px; border-radius: 16px; background: var(--ink); color: #fff; font-weight: 700; font-size: 12px; letter-spacing: .04em; text-transform: uppercase; }
.mnav__all:hover { color: #fff; }
.mnav__extra { display: flex; flex-wrap: wrap; gap: 6px; padding: 12px; }

@media (min-width: 640px) { .hd__bar { height: 60px; } }
@media (min-width: 1080px) {
	.nav { display: flex; }
	.hd__search { display: flex; }
	.hd__menu, .hd__find { display: none; }
}

/* ---------- Search (hero + palette) ---------- */
.search { position: relative; max-width: 700px; }
.search__box {
	display: flex; align-items: center; gap: 12px; height: 64px; padding: 0 10px 0 20px; background: #fff; border: 1.5px solid var(--ink); border-radius: 20px;
	box-shadow: 0 14px 34px -22px rgba(21, 24, 27, .55); transition: box-shadow .15s;
}
.search__box:focus-within { box-shadow: 0 0 0 5px var(--select); }
.search__box .ico { width: 22px; height: 22px; stroke-width: 2.2; }
.search__input { flex: 1; min-width: 0; height: 100%; border: 0; outline: none; background: transparent; font-size: 18px; font-weight: 500; }
.search__clear { width: 36px; height: 36px; border-radius: 10px; border: 0; background: var(--soft); display: grid; place-items: center; flex: none; }
.results {
	position: absolute; left: 0; right: 0; top: calc(100% + 8px); z-index: 40; background: #fff; border: 1px solid var(--line); border-radius: 20px;
	box-shadow: 0 32px 64px -30px rgba(21, 24, 27, .45); padding: 8px; max-height: min(480px, 62vh); overflow: auto;
}
.results__group { margin: 0; padding: 10px 12px 6px; font-weight: 700; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.results__opt { display: grid; grid-template-columns: 40px minmax(0, 1fr) auto; align-items: center; gap: 14px; padding: 9px 12px; border-radius: var(--r); }
.results__opt .ico-tile { width: 40px; height: 40px; border-radius: 12px; }
.results__opt .ico-tile .ico { width: 20px; height: 20px; }
.results__opt[aria-selected="true"] { background: var(--soft); }
.results__opt[aria-selected="true"] .ico-tile { background: var(--accent); }
.results__name { display: block; font-weight: 700; font-size: 15.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.results__sub { display: block; font-size: 13px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.results__enter { font-size: 12px; font-weight: 700; color: var(--ink-2); opacity: 0; }
.results__opt[aria-selected="true"] .results__enter { opacity: 1; }
.results__none { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin: 4px 4px 6px; padding: 14px 16px; border-radius: var(--r); background: var(--accent-soft); font-size: 14.5px; }
.results__none button { min-height: 36px; padding: 0 14px; border-radius: 10px; border: 1px solid var(--ink); background: #fff; font-weight: 700; font-size: 12px; letter-spacing: .04em; text-transform: uppercase; }
.results__hint { margin: 6px 0 0; padding: 10px 12px 4px; border-top: 1px solid var(--line-2); font-size: 12px; color: var(--muted); }

.palette { position: fixed; inset: 0; z-index: 90; background: rgba(21, 24, 27, .45); display: flex; justify-content: center; align-items: flex-start; padding: 0; }
.palette__box { width: 100%; max-width: 680px; height: 100%; background: #fff; display: flex; flex-direction: column; overflow: hidden; box-shadow: 0 40px 100px -40px rgba(0, 0, 0, .6); }
.palette__head { display: flex; align-items: center; gap: 12px; height: 68px; padding: 0 10px 0 20px; border-bottom: 1px solid var(--line); flex: none; }
.palette__head .ico { width: 22px; height: 22px; stroke-width: 2.2; }
.palette__close { flex: none; min-height: 40px; padding: 0 12px; border-radius: 10px; border: 1px solid var(--line-3); background: var(--soft-2); font-weight: 700; font-size: 12px; letter-spacing: .04em; text-transform: uppercase; }
.palette__list { flex: 1; overflow: auto; padding: 8px; }
.palette__foot { margin: 0; padding: 12px 20px; border-top: 1px solid var(--line); font-size: 12px; color: var(--muted); flex: none; display: none; }
@media (min-width: 640px) {
	.palette { padding: 11vh 16px 16px; }
	.palette__box { height: auto; max-height: min(600px, 78vh); border-radius: 24px; }
	.palette__foot { display: block; }
}

/* ---------- Home: hero ---------- */
.hero { padding-top: clamp(32px, 5vw, 72px); }
.hero__grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(32px, 4vw, 64px); align-items: center; }
.hero__date { margin: 0 0 20px; display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; font-size: 14px; color: var(--ink-2); }
.hero__date b { font-weight: 700; color: var(--ink); }
.live-dot { position: relative; width: 8px; height: 8px; display: inline-block; }
.live-dot::before, .live-dot::after { content: ""; position: absolute; inset: 0; border-radius: 50%; }
.live-dot::before { background: #E3A600; animation: etkPulse 1.8s ease-out infinite; }
.live-dot::after { background: var(--ink); }
.hero__h1 { font-weight: 500; font-size: clamp(40px, 5.2vw, 74px); line-height: 1; letter-spacing: -.05em; max-width: 14ch; }
.hero__h1 span { color: var(--accent-2); }
.hero__lead { margin: 20px 0 30px; max-width: 54ch; font-size: clamp(16px, 1.4vw, 18.5px); line-height: 1.5; color: var(--ink-2); text-wrap: pretty; }
.chips { display: flex; align-items: center; gap: 0 18px; margin: 12px -16px 0; padding: 0 16px 0 20px; overflow-x: auto; scrollbar-width: none; }
.chips::-webkit-scrollbar { display: none; }
.chips > span { flex: none; font-size: 14px; color: var(--muted); white-space: nowrap; }
.chips a {
	flex: none; display: inline-flex; align-items: center; min-height: 44px; font-weight: 700; font-size: 14.5px; white-space: nowrap;
	text-decoration: underline; text-decoration-color: rgba(21, 24, 27, .25); text-decoration-thickness: 1px; text-underline-offset: 4px; transition: text-decoration-color .15s;
}
.chips a:hover { text-decoration-color: var(--ink); }
.chips a.is-season::before { content: ""; width: 7px; height: 7px; margin-right: 7px; border-radius: 50%; background: var(--accent-2); }
/* Phones swipe the row (the faded edge shows there is more); wider screens wrap it, so nothing hides off-screen. */
@media (max-width: 759px) { .chips { -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 40px), transparent); mask-image: linear-gradient(90deg, #000 calc(100% - 40px), transparent); padding-right: 40px; } }
@media (min-width: 760px) {
	.chips { flex-wrap: wrap; overflow: visible; margin: 14px 0 0; padding: 0 0 0 4px; gap: 2px 20px; }
	.chips a { min-height: 34px; }
}
@media (min-width: 1000px) { .hero__grid--calc { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); } }

/* Quick calc + calculator card */
.card-calc { min-width: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--r-xl); box-shadow: 0 44px 90px -60px rgba(21, 24, 27, .6); padding: clamp(18px, 2vw, 26px); display: flex; flex-direction: column; gap: 18px; }
.card-calc__head { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.card-calc__head > span:first-child { font-weight: 700; font-size: 12px; letter-spacing: .06em; text-transform: uppercase; }
.card-calc__head > span:last-child { font-size: 12.5px; color: var(--muted); }
.tabs { display: flex; gap: 2px; padding: 4px; background: var(--soft); border-radius: 16px; }
.tabs button { flex: 1; min-height: 42px; padding: 0 10px; border: 0; border-radius: var(--r-sm); background: transparent; color: var(--ink-2); font-weight: 700; font-size: 14px; white-space: nowrap; }
.tabs button:hover { color: var(--ink); }
.tabs button[aria-selected="true"] { background: #fff; color: var(--ink); box-shadow: 0 1px 3px rgba(21, 24, 27, .14); }
.panel { display: flex; flex-direction: column; gap: 14px; }
.panel__foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.panel__foot > span { font-size: 12.5px; line-height: 1.4; color: var(--muted); max-width: 32ch; }

.field { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.field__label { font-weight: 700; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2); }
.field__hint { font-size: 12.5px; color: var(--muted); }
.field__box { display: flex; align-items: center; height: 58px; padding: 0 18px; border: 1px solid var(--field); border-radius: 16px; background: var(--soft); transition: border-color .15s, background .15s; }
.field__box:focus-within { border-color: var(--ink); background: #fff; }
.field__box input, .field__box select { flex: 1; min-width: 0; border: 0; outline: none; background: transparent; font-size: 24px; font-weight: 700; font-variant-numeric: tabular-nums; letter-spacing: -.02em; }
.field__box select { font-size: 17px; letter-spacing: 0; appearance: none; }
.field__unit { font-size: 16px; font-weight: 700; color: var(--muted); white-space: nowrap; padding-left: 8px; }
.field--s .field__box { height: 54px; padding: 0 14px; }
.field--s .field__box input { font-size: 20px; }
.field--s .field__unit { font-size: 14px; }
.fields-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.fields-x { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px; align-items: end; }
.pills { display: flex; gap: 6px; flex-wrap: wrap; }
.pill { min-height: 36px; padding: 0 12px; border-radius: 999px; border: 1px solid var(--line-3); background: #fff; color: var(--ink); font-weight: 600; font-size: 13px; font-variant-numeric: tabular-nums; }
.pill:hover { border-color: var(--ink); }
.pill[aria-pressed="true"], .pill[aria-checked="true"] { border-color: var(--ink); background: var(--ink); color: #fff; }
.swap { width: 58px; height: 58px; border-radius: 16px; border: 1px solid rgba(21, 24, 27, .18); background: #fff; display: grid; place-items: center; }
.swap:hover { border-color: var(--ink); }
.stepper { display: inline-flex; align-items: center; border: 1px solid var(--field); border-radius: var(--r); background: var(--soft); }
.stepper button { width: 44px; height: 44px; border: 0; background: transparent; font-size: 20px; font-weight: 700; border-radius: var(--r); }
.stepper button:hover { background: var(--soft-3); }
.stepper output { min-width: 32px; text-align: center; font-weight: 700; font-size: 17px; font-variant-numeric: tabular-nums; }
.opt-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 10px 0; border-top: 1px solid var(--line-2); font-size: 15px; }
.opt-row:first-child { border-top: 0; }
.check { display: flex; align-items: flex-start; gap: 10px; padding: 8px 0; font-size: 15px; cursor: pointer; }
.check input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--ink); flex: none; }
.more { border-top: 1px solid var(--line-2); padding-top: 4px; }
.more > summary { list-style: none; display: flex; align-items: center; justify-content: space-between; min-height: 44px; font-weight: 700; font-size: 14px; cursor: pointer; }
.more > summary::-webkit-details-marker { display: none; }
.more > summary::after { content: "+"; font-size: 20px; font-weight: 500; }
.more[open] > summary::after { content: "−"; }

.result { padding: 18px; border-radius: 20px; background: var(--soft); display: flex; flex-direction: column; gap: 14px; }
.result__top { display: flex; justify-content: space-between; align-items: flex-end; gap: 8px 12px; flex-wrap: wrap; }
.result__main { display: flex; flex-direction: column; gap: 6px; }
.result__big { font-weight: 700; font-size: clamp(40px, 4vw, 54px); line-height: .95; letter-spacing: -.045em; font-variant-numeric: tabular-nums; white-space: nowrap; }
.result__big small { font-size: .48em; letter-spacing: 0; color: var(--ink-2); font-weight: 700; }
.result__side { font-size: 13px; line-height: 1.45; color: var(--ink-2); text-align: right; }
.result__line { font-size: 13px; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.result--good .result__big { color: var(--good); }
.result--bad .result__big { color: var(--bad); }
.bar { display: flex; height: 10px; gap: 2px; border-radius: 6px; overflow: hidden; }
.bar span { transition: width .25s; }
.bar__a { background: var(--ink); }
.bar__b { background: var(--faint); }
.bar__c { background: var(--accent); }
.rows { display: flex; flex-direction: column; }
.rows__r { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 6px 0; font-size: 14px; }
.rows__r > span { display: flex; align-items: center; gap: 8px; color: var(--ink-2); }
.rows__r b { font-weight: 700; font-variant-numeric: tabular-nums; white-space: nowrap; }
.rows__r--sum { border-top: 1px solid var(--line); margin-top: 4px; padding-top: 10px; }
.rows__r--sum > span { color: var(--ink); font-weight: 700; }
.dot { width: 9px; height: 9px; border-radius: 3px; flex: none; }
.dot--a { background: var(--ink); }
.dot--b { background: var(--faint); }
.dot--c { background: var(--accent); }
.warn { padding: 10px 14px; border-radius: var(--r); background: var(--accent-soft); color: var(--accent-ink); font-size: 13.5px; }

/* ---------- Home: numbers ---------- */
.nums { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
@media (min-width: 760px) { .nums { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1180px) { .nums--6 { grid-template-columns: repeat(6, minmax(0, 1fr)); } }
.ncard {
	display: flex; flex-direction: column; gap: 10px; min-height: 212px; padding: 16px 16px 14px; border-radius: var(--r-lg); border: 1px solid var(--line);
	background: #fff; min-width: 0; transition: border-color .15s, box-shadow .15s;
}
a.ncard:hover { border-color: var(--ink); box-shadow: var(--shadow-hover); }
.ncard__head { display: flex; justify-content: space-between; align-items: center; gap: 8px; font-weight: 700; font-size: 14px; }
.ncard__head span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ncard__head svg { width: 14px; height: 14px; color: var(--muted); flex: none; }
.ncard__val { display: flex; align-items: baseline; gap: 5px; flex-wrap: wrap; }
.ncard__val b { font-weight: 700; font-size: clamp(27px, 2.3vw, 33px); line-height: 1; letter-spacing: -.04em; font-variant-numeric: tabular-nums; white-space: nowrap; }
.ncard__val span { font-weight: 700; font-size: 13px; color: var(--muted); white-space: nowrap; }
.tag { align-self: flex-start; display: inline-flex; align-items: center; gap: 4px; padding: 3px 8px; border-radius: 999px; background: var(--soft); color: var(--ink-2); font-weight: 700; font-size: 12.5px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.tag--good { background: var(--good-bg); color: var(--good); }
.tag--bad { background: var(--bad-bg); color: var(--bad); }
.tag--warn { background: var(--accent-soft); color: var(--accent-ink); }
.tag svg { width: 10px; height: 10px; fill: currentColor; stroke: none; }
.spark { margin-top: auto; display: flex; flex-direction: column; gap: 5px; }
.spark__row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px; }
.spark__plot { position: relative; height: 44px; }
.spark__plot svg { width: 100%; height: 44px; overflow: visible; }
.spark__dot { position: absolute; left: 100%; width: 7px; height: 7px; margin: -3.5px 0 0 -3.5px; border-radius: 50%; background: var(--ink); box-shadow: 0 0 0 2px #fff; }
.spark__axis { display: flex; flex-direction: column; justify-content: space-between; font-size: 10.5px; line-height: 1; color: var(--muted); font-variant-numeric: tabular-nums; text-align: right; white-space: nowrap; }
.spark__x { display: flex; justify-content: space-between; font-size: 10.5px; color: var(--muted); }
.ncard__meta { margin-top: auto; font-size: 12px; line-height: 1.35; color: var(--muted); }
.ncard__skel { display: block; height: 30px; width: 78%; border-radius: 8px; background: var(--soft-3); }

.countdown {
	margin-top: 12px; display: grid; grid-template-columns: minmax(0, 1fr); align-items: center; gap: 12px 28px; padding: 16px 16px 16px 22px;
	border-radius: var(--r-lg); border: 1px solid var(--line); background: #fff; transition: border-color .15s, box-shadow .15s;
}
.countdown:hover { border-color: var(--ink); box-shadow: var(--shadow-hover); }
.countdown__txt { display: flex; align-items: baseline; gap: 4px 12px; flex-wrap: wrap; min-width: 0; }
.countdown__txt b { font-weight: 700; font-size: 16px; }
.countdown__txt span { font-size: 14px; color: var(--muted); }
.countdown__time { display: flex; align-items: baseline; gap: 10px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.countdown__time > span:first-child { font-size: 14px; color: var(--muted); }
.countdown__time b { font-weight: 700; font-size: 24px; line-height: 1; letter-spacing: -.03em; }
.countdown__time i { font-style: normal; font-weight: 500; font-size: 13px; color: var(--muted); margin-left: 3px; }
.countdown__cta { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 4px 0 14px; border-radius: var(--r-sm); border: 1px solid var(--line-3); font-weight: 700; font-size: 14px; white-space: nowrap; justify-self: start; }
.countdown__cta span { width: 30px; height: 30px; border-radius: 9px; background: var(--accent); display: grid; place-items: center; }
@media (min-width: 760px) { .countdown { grid-template-columns: minmax(0, 1fr) auto auto; } }

/* ---------- Ads ---------- */
.ad-wrap { padding-top: clamp(40px, 5vw, 64px); }
.ad { position: relative; min-height: 280px; border-radius: 20px; background: var(--soft-2); display: grid; place-items: center; overflow: hidden; }
.ad::before { content: "Oglas"; position: absolute; top: 10px; left: 14px; font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.ad ins { display: block; width: 100%; min-height: 250px; padding-top: 28px; }
.ad--side { min-height: 600px; }
@media (min-width: 760px) { .ad { min-height: 250px; } .ad ins { min-height: 222px; } }

/* ---------- Home: season & deadlines ---------- */
.split { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; align-items: stretch; }
@media (min-width: 960px) { .split { grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); } }
.spot { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(20px, 3vw, 36px); padding: clamp(22px, 3vw, 36px); border-radius: var(--r-xl); border: 1px solid transparent; min-width: 0; transition: border-color .15s; }
.spot:hover { border-color: var(--ink); }
@media (min-width: 760px) and (max-width: 959px), (min-width: 1180px) { .spot { grid-template-columns: minmax(0, 1.25fr) minmax(0, .9fr); } }
.spot__main { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.spot__meta { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font-size: 13.5px; color: var(--ink-2); }
.spot__meta b { font-weight: 700; }
.spot__meta i { width: 3px; height: 3px; border-radius: 50%; background: var(--faint); }
.spot__title { font-weight: 700; font-size: clamp(28px, 3vw, 42px); line-height: 1.04; letter-spacing: -.035em; }
.spot__text { font-size: 16px; line-height: 1.55; color: var(--ink-2); max-width: 46ch; text-wrap: pretty; }
.spot__cta { margin-top: auto; display: inline-flex; align-self: flex-start; align-items: center; gap: 10px; min-height: 50px; padding: 0 6px 0 18px; border-radius: 15px; background: var(--ink); color: #fff; font-weight: 700; font-size: 14.5px; }
.spot__cta span { width: 36px; height: 36px; border-radius: 11px; background: #fff; color: var(--ink); display: grid; place-items: center; }
.spot__facts { display: flex; flex-direction: column; align-self: stretch; padding: 6px 18px; border-radius: 20px; background: #fff; min-width: 0; }
.spot__fact { display: flex; flex-direction: column; gap: 3px; padding: 14px 0; border-top: 1px solid var(--line-2); }
.spot__fact:first-child { border-top: 0; }
.spot__fact span { font-size: 12.5px; color: var(--muted); }
.spot__fact b { font-weight: 700; font-size: 22px; line-height: 1.1; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.spot__fact small { font-size: 12.5px; color: var(--ink-2); }
.box { display: flex; flex-direction: column; padding: clamp(20px, 2.4vw, 28px); border-radius: var(--r-xl); border: 1px solid var(--line); background: #fff; min-width: 0; }
.box__head { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; margin-bottom: 8px; }
.box__head span { font-size: 12.5px; color: var(--muted); }
.dl { display: grid; grid-template-columns: 56px minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 14px 6px; border-top: 1px solid rgba(21, 24, 27, .1); border-radius: 4px; }
a.dl:hover { background: var(--soft-2); }
.dl__date { display: flex; flex-direction: column; align-items: center; justify-content: center; height: 56px; border-radius: var(--r); background: var(--soft); }
.dl__date b { font-weight: 700; font-size: 21px; line-height: 1; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.dl__date span { font-weight: 700; font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2); }
.dl__txt { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.dl__txt b { font-weight: 700; font-size: 15.5px; line-height: 1.25; text-wrap: pretty; }
.dl__txt span { font-size: 13px; color: var(--muted); }
.dl__when { padding: 4px 10px; border-radius: 999px; background: var(--soft); font-weight: 700; font-size: 12.5px; white-space: nowrap; font-variant-numeric: tabular-nums; }
.dl__when--soon { background: var(--accent-soft); }

/* ---------- Tool tiles & pillars ---------- */
.tiles { list-style: none; display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; }
@media (min-width: 560px) { .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .tiles--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } .tiles--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.tiles > li { display: flex; min-width: 0; }
.tile { flex: 1; display: flex; flex-direction: column; gap: 14px; min-height: 220px; padding: 18px; border-radius: var(--r-lg); border: 1px solid var(--line); background: #fff; min-width: 0; transition: border-color .15s, box-shadow .15s; }
.tile:hover { border-color: var(--ink); box-shadow: var(--shadow-hover); }
.tile__top { display: flex; justify-content: space-between; align-items: flex-start; gap: 8px; }
.tile__rank { font-weight: 700; font-size: 12px; color: var(--faint); font-variant-numeric: tabular-nums; }
.tile__body { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.tile__pillar { font-weight: 700; font-size: 12px; }
.tile__title { font-weight: 700; font-size: 17px; line-height: 1.22; letter-spacing: -.02em; text-wrap: balance; }
.tile__desc { font-size: 13.5px; line-height: 1.4; color: var(--muted); text-wrap: pretty; }
.tile__foot { margin-top: auto; display: flex; justify-content: space-between; align-items: flex-end; gap: 10px; padding-top: 12px; border-top: 1px solid var(--line-2); }
.tile__val { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.tile__val b { align-self: flex-start; padding: 3px 9px; border-radius: 9px; font-weight: 700; font-size: 15.5px; letter-spacing: -.015em; font-variant-numeric: tabular-nums; white-space: nowrap; }
.tile__val span { font-size: 12px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tile--s { min-height: 0; }
.has-tint .ico-tile { background: var(--tint, var(--soft)); color: var(--pink, var(--ink)); }
.has-tint .tile__pillar { color: var(--pink, var(--ink)); }
.has-tint .tile__val b { background: var(--tint, var(--soft)); color: var(--pink, var(--ink)); }
.page-head__pill { background: var(--tint, var(--soft)); color: var(--pink, var(--ink)); }

.pillars { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); gap: 12px; }
.pcard { display: flex; flex-direction: column; padding: 22px 22px 8px; border-radius: 24px; border: 1px solid var(--line); background: #fff; min-width: 0; }
.pcard__head { display: flex; align-items: center; gap: 14px; margin-bottom: 12px; }
.pcard__head .ico-tile { width: 46px; height: 46px; border-radius: var(--r); }
.pcard__head .ico-tile .ico { width: 22px; height: 22px; }
.pcard__head h3 { font-weight: 700; font-size: 21px; letter-spacing: -.025em; }
.pcard__head span { font-size: 13.5px; color: var(--muted); }
.pcard ul { list-style: none; }
.pcard li a { display: flex; justify-content: space-between; align-items: center; gap: 10px; min-height: 46px; padding: 0 2px; border-top: 1px solid var(--line-2); font-size: 15px; font-weight: 500; }
.pcard li a:hover { text-decoration: underline; text-underline-offset: 4px; }
.badge { flex: none; font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: 3px 8px; border-radius: 999px; background: var(--soft); color: var(--ink-2); }
.pcard__all { margin-top: auto; display: flex; justify-content: space-between; align-items: center; min-height: 52px; border-top: 1px solid var(--line); font-weight: 700; font-size: 12px; letter-spacing: .04em; text-transform: uppercase; }
.pcard__all:hover { text-decoration: underline; text-underline-offset: 4px; }

/* ---------- Trust ---------- */
.trust-wrap { padding: var(--sec) 12px 0; }
.trust { max-width: var(--maxw); margin: 0 auto; background: var(--soft); border-radius: 36px; padding: clamp(28px, 4.6vw, 64px) clamp(20px, 4vw, 56px); display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(28px, 4vw, 64px); align-items: start; }
@media (min-width: 960px) { .trust { grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); } }
.trust__main { min-width: 0; display: flex; flex-direction: column; gap: 18px; }
.trust__title { font-weight: 700; font-size: clamp(30px, 3.6vw, 50px); line-height: 1; letter-spacing: -.04em; }
.trust__lead { max-width: 48ch; font-size: 16.5px; line-height: 1.55; color: var(--ink-2); text-wrap: pretty; }
.ticks { list-style: none; display: flex; flex-direction: column; border-top: 1px solid rgba(21, 24, 27, .14); }
.ticks li { display: flex; align-items: center; gap: 12px; padding: 13px 0; border-bottom: 1px solid rgba(21, 24, 27, .14); font-size: 15.5px; }
.ticks svg { width: 16px; height: 16px; stroke-width: 2.6; }
.review { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: 20px; background: #fff; }
.review .ico-tile { background: var(--accent-soft); }
.review span { display: flex; flex-direction: column; gap: 2px; min-width: 0; font-size: 14px; color: var(--ink-2); }
.review b { font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.review img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; flex: none; }
.btns { display: flex; gap: 8px; flex-wrap: wrap; }
.srcs { min-width: 0; background: #fff; border-radius: 24px; padding: 8px clamp(16px, 2vw, 24px); }
.srcs__head, .srcs__row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 12px; }
.srcs__head { padding: 14px 0 10px; font-weight: 700; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.srcs__row { align-items: center; padding: 15px 0; border-top: 1px solid rgba(21, 24, 27, .1); }
.srcs__row span { display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.srcs__row b { font-weight: 700; font-size: 16px; }
.srcs__row small { font-size: 13.5px; color: var(--ink-2); }
.srcs__row > b:last-child { font-size: 14px; font-variant-numeric: tabular-nums; white-space: nowrap; }

/* ---------- Guide cards ---------- */
.guides { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 262px), 1fr)); gap: 28px 16px; }
.gcard { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.gcard__img { position: relative; display: block; aspect-ratio: 16 / 9; border-radius: 20px; overflow: hidden; background: var(--soft-3); }
.gcard__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s var(--ease); }
.gcard:hover .gcard__img img { transform: scale(1.03); }
.gcard__img--empty { display: grid; place-items: center; }
.gcard__img--empty .ico { width: 34px; height: 34px; color: var(--faint); }
.gcard__tag { position: absolute; top: 12px; left: 12px; padding: 5px 10px; border-radius: 999px; background: rgba(255, 255, 255, .95); font-weight: 700; font-size: 11px; letter-spacing: .06em; text-transform: uppercase; }
.gcard__body { display: flex; flex-direction: column; gap: 6px; padding: 0 2px; }
.gcard__meta { font-size: 12.5px; color: var(--muted); font-variant-numeric: tabular-nums; }
.gcard__title { font-weight: 700; font-size: 18.5px; line-height: 1.2; letter-spacing: -.02em; text-wrap: pretty; }
.gcard:hover .gcard__title { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }

/* ---------- Footer ---------- */
.ft { padding: clamp(64px, 8vw, 112px) 12px 12px; }
.ft__in { max-width: var(--maxw); margin: 0 auto; background: var(--ink); color: #fff; border-radius: 32px; padding: clamp(28px, 4.4vw, 60px) clamp(20px, 4vw, 56px) 24px; }
.ft a { color: #B9BDC1; }
.ft a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.ft__top { padding-bottom: clamp(32px, 4vw, 48px); border-bottom: 1px solid rgba(255, 255, 255, .14); display: flex; flex-direction: column; gap: 14px; }
.ft__claim { font-weight: 700; font-size: clamp(26px, 3vw, 40px); line-height: 1.04; letter-spacing: -.035em; max-width: 22ch; }
.ft__claim span { color: var(--accent); }
.ft__cols { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 168px), 1fr)); gap: 32px 24px; padding: clamp(32px, 4vw, 48px) 0; }
.ft__cols h3 { margin: 0 0 12px; font-weight: 700; font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: #fff; }
.ft__cols ul { list-style: none; }
.ft__cols li a { display: block; padding: 5px 0; font-size: 14px; line-height: 1.35; }
.ft__note { padding: 16px 18px; border-radius: 16px; background: rgba(255, 255, 255, .06); font-size: 13.5px; line-height: 1.5; color: #C9CDD1; }
.ft__bottom { display: flex; justify-content: space-between; align-items: center; gap: 14px 24px; flex-wrap: wrap; padding-top: 20px; }
.ft__copy { display: flex; align-items: center; gap: 10px; font-size: 13px; color: #B9BDC1; }
.ft__mark { position: relative; width: 24px; height: 24px; border-radius: 7px; background: #fff; flex: none; }
.ft__mark::after { content: ""; position: absolute; right: 5px; bottom: 5px; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 1.5px var(--ink); }
.ft__legal { display: flex; gap: 4px 18px; flex-wrap: wrap; align-items: center; }
.ft__legal a, .ft__legal button { display: inline-flex; align-items: center; min-height: 36px; font-size: 13px; }
.ft__legal button { padding: 0; border: 0; background: transparent; font-weight: 700; color: #fff; text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Consent & toast ---------- */
.cmp {
	position: fixed; z-index: 80; left: 8px; right: 8px; bottom: 8px; max-height: 40vh; overflow: auto; background: #fff; border: 1px solid rgba(21, 24, 27, .14);
	border-radius: 24px; box-shadow: 0 30px 70px -30px rgba(21, 24, 27, .55); padding: 20px; display: flex; flex-direction: column; gap: 12px; animation: etkIn .2s var(--ease);
}
@media (min-width: 640px) { .cmp { left: 20px; right: auto; bottom: 20px; width: 420px; } }
.cmp__title { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 17px; }
.cmp__title i { position: relative; width: 22px; height: 22px; border-radius: 7px; background: var(--ink); flex: none; }
.cmp__title i::after { content: ""; position: absolute; right: 4px; bottom: 4px; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }
.cmp p { font-size: 14px; line-height: 1.5; color: var(--ink-2); }
.cmp p a { text-decoration: underline; text-underline-offset: 3px; }
.cmp__btns { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.toast {
	position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); z-index: 95; display: flex; align-items: center; gap: 12px; max-width: calc(100% - 32px);
	padding: 12px 18px 12px 14px; border-radius: 16px; background: var(--ink); color: #fff; box-shadow: 0 20px 40px -16px rgba(0, 0, 0, .5); font-size: 14px; animation: etkIn .2s var(--ease);
}
.toast::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); flex: none; }

/* ---------- Inner pages ---------- */
.crumbs { padding-top: clamp(24px, 3vw, 40px); }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; font-size: 13.5px; color: var(--muted); }
.crumbs li:not(:last-child)::after { content: "/"; margin-left: 8px; color: var(--faint); }
.crumbs a { color: var(--ink-2); }
.crumbs a:hover { text-decoration: underline; text-underline-offset: 3px; }
.crumbs [aria-current] { color: var(--ink); font-weight: 500; }

.page-head { padding-top: 18px; display: flex; flex-direction: column; gap: 16px; max-width: 900px; }
.page-head__pill { align-self: flex-start; display: inline-flex; align-items: center; gap: 8px; padding: 4px 12px 4px 6px; border-radius: 999px; font-weight: 700; font-size: 13px; }
.page-head__pill .ico-tile { width: 26px; height: 26px; border-radius: 8px; background: rgba(255, 255, 255, .7); }
.page-head__pill .ico-tile .ico { width: 15px; height: 15px; }
.page-title { font-weight: 700; font-size: clamp(34px, 4.4vw, 58px); line-height: 1.02; letter-spacing: -.045em; }
.page-lead { max-width: 62ch; font-size: clamp(17px, 1.5vw, 19.5px); line-height: 1.5; color: var(--ink-2); text-wrap: pretty; }
.page-lead strong, .page-lead b { color: var(--ink); }
.page-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; font-size: 13.5px; color: var(--muted); }
.page-meta a { color: var(--ink-2); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(21, 24, 27, .3); }
.page-meta svg { width: 15px; height: 15px; }
.page-meta > span { display: inline-flex; align-items: center; gap: 6px; }

/* Tool */
.calc { margin-top: clamp(24px, 3vw, 36px); display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; padding: clamp(16px, 2vw, 24px); border-radius: var(--r-xl); border: 1px solid var(--line); background: #fff; box-shadow: 0 44px 90px -70px rgba(21, 24, 27, .6); }
@media (min-width: 960px) {
	.calc { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px; }
	.calc__out { position: sticky; top: 96px; align-self: start; }
}
.calc__in { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.calc__out { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.calc__actions { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; justify-content: space-between; font-size: 12.5px; color: var(--muted); }
.calc__actions button { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 0 12px; border-radius: var(--r-sm); border: 1px solid var(--line-3); background: #fff; font-weight: 700; font-size: 12px; letter-spacing: .04em; text-transform: uppercase; }
.calc__actions button:hover { border-color: var(--ink); }

.facts { margin-top: 16px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
@media (min-width: 900px) { .facts { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.fact { display: flex; flex-direction: column; gap: 4px; padding: 16px; border-radius: var(--r-md); background: var(--soft); min-width: 0; }
.fact span { font-size: 12.5px; color: var(--muted); }
.fact b { font-weight: 700; font-size: clamp(18px, 1.8vw, 22px); line-height: 1.1; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.fact small { font-size: 12.5px; color: var(--ink-2); }

.layout { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(32px, 4vw, 56px); padding-top: clamp(40px, 5vw, 64px); }
@media (min-width: 1180px) { .layout--aside { grid-template-columns: minmax(0, 1fr) 320px; } }
@media (max-width: 1179px) { .layout--aside .aside { display: none; } }
.aside { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.aside__sticky { position: sticky; top: 96px; display: flex; flex-direction: column; gap: 16px; }
.aside .box { padding: 18px; }
.aside__list { list-style: none; }
.aside__list a { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-top: 1px solid var(--line-2); font-weight: 500; font-size: 14.5px; }
.aside__list li:first-child a { border-top: 0; }
.aside__list a:hover { text-decoration: underline; text-underline-offset: 3px; }
.aside__list .ico-tile { width: 34px; height: 34px; border-radius: 10px; }
.aside__list .ico-tile .ico { width: 17px; height: 17px; }
.toc ol { list-style: none; counter-reset: toc; }
.toc a { display: block; padding: 7px 0; font-size: 14px; color: var(--ink-2); }
.toc a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }

/* Prose */
.prose { max-width: 760px; font-size: 17px; line-height: 1.7; color: #23272B; }
.prose > * + * { margin-top: 1.1em; }
.prose h2 { margin-top: 2em; font-weight: 700; font-size: clamp(25px, 2.4vw, 32px); line-height: 1.12; letter-spacing: -.03em; color: var(--ink); scroll-margin-top: 96px; }
.prose h3 { margin-top: 1.7em; font-weight: 700; font-size: 21px; line-height: 1.25; letter-spacing: -.02em; color: var(--ink); scroll-margin-top: 96px; }
.prose h2 + *, .prose h3 + * { margin-top: .6em; }
.prose a { text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(21, 24, 27, .35); }
.prose a:hover { text-decoration-color: var(--ink); }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li + li { margin-top: .4em; }
.prose li::marker { color: var(--muted); }
.prose strong { font-weight: 700; color: var(--ink); }
.prose blockquote { margin-inline: 0; padding: 4px 0 4px 20px; border-left: 3px solid var(--accent); color: var(--ink-2); }
.prose img { border-radius: var(--r-md); }
.prose figure { margin-inline: 0; }
.prose figcaption { margin-top: 8px; font-size: 13px; color: var(--muted); }
.prose hr { border: 0; border-top: 1px solid var(--line); margin: 2.4em 0; }
.prose code { padding: 2px 6px; border-radius: 6px; background: var(--soft); font-size: .9em; }
.table-wrap, .prose .wp-block-table { overflow-x: auto; margin-inline: 0; border: 1px solid var(--line); border-radius: var(--r-md); }
.prose table, .tbl { width: 100%; font-size: 15px; line-height: 1.45; font-variant-numeric: tabular-nums; }
.prose th, .prose td, .tbl th, .tbl td { padding: 12px 14px; text-align: left; border-top: 1px solid var(--line-2); vertical-align: top; }
.prose thead th, .tbl thead th { border-top: 0; background: var(--soft-2); font-weight: 700; font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-2); }
.tbl td.r, .tbl th.r { text-align: right; white-space: nowrap; }
.tbl tbody tr:hover { background: var(--soft-2); }
.tbl caption { caption-side: bottom; padding: 10px 14px; text-align: left; font-size: 13px; color: var(--muted); }
.tbl tr.is-hl td { background: var(--accent-soft); font-weight: 700; }
.prose .wp-block-details, .faq details {
	border: 1px solid var(--line); border-radius: var(--r-md); padding: 0 18px; background: #fff;
}
.faq { display: flex; flex-direction: column; gap: 10px; }
.faq summary, .prose .wp-block-details summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 60px; font-weight: 700; font-size: 17px; line-height: 1.3; cursor: pointer; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after, .prose .wp-block-details summary::after { content: "+"; flex: none; width: 30px; height: 30px; border-radius: 9px; background: var(--soft); display: grid; place-items: center; font-weight: 500; font-size: 18px; }
.faq details[open] summary::after, .prose .wp-block-details[open] summary::after { content: "−"; }
.faq__a { padding: 0 0 18px; font-size: 16px; line-height: 1.65; color: var(--ink-2); }
.faq__a a { text-decoration: underline; text-underline-offset: 3px; }
.block-title { font-weight: 700; font-size: clamp(25px, 2.4vw, 32px); line-height: 1.12; letter-spacing: -.03em; margin-bottom: 16px; scroll-margin-top: 96px; }
.block { margin-top: clamp(40px, 5vw, 56px); max-width: 760px; }
.block--wide { max-width: none; }
.sources-list { list-style: none; display: flex; flex-direction: column; border-top: 1px solid var(--line); }
.sources-list li { display: flex; justify-content: space-between; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.sources-list a { font-weight: 500; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(21, 24, 27, .3); }
.sources-list small { color: var(--muted); white-space: nowrap; }
.note { margin-top: 16px; padding: 14px 16px; border-radius: var(--r); background: var(--soft); font-size: 14px; color: var(--ink-2); }
.guide-hero { margin: 28px 0 0; }
@media (min-width: 1180px) { .guide-hero { max-width: calc(100% - 376px); } }
.guide .layout { padding-top: clamp(28px, 4vw, 48px); }
.guide-hero img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--r-xl); background: var(--soft-3); }
.guide-credit { margin-top: 8px; font-size: 12.5px; color: var(--muted); }

/* Guide (single post) */
.readbar { position: fixed; inset: 0 0 auto; height: 3px; z-index: 80; pointer-events: none; }
.readbar span { display: block; height: 100%; background: var(--accent-2); transform: scaleX(0); transform-origin: 0 50%; }
.guide-head { gap: 18px; }
a.page-head__pill:hover { filter: brightness(.97); }
.byline { display: flex; align-items: center; gap: 12px; max-width: 760px; }
.byline__mark { position: relative; flex: none; width: 38px; height: 38px; border-radius: 12px; background: var(--ink); }
.byline__mark::after { content: ""; position: absolute; right: 7px; bottom: 7px; width: 11px; height: 11px; border-radius: 50%; background: var(--accent); }
.byline__text { display: flex; flex-direction: column; gap: 1px; min-width: 0; line-height: 1.3; }
.byline__who { font-weight: 700; font-size: 14.5px; }
.byline__who a:hover { text-decoration: underline; text-underline-offset: 3px; }
.byline__meta { display: flex; flex-wrap: wrap; gap: 0 6px; font-size: 13.5px; color: var(--muted); font-variant-numeric: tabular-nums; }
.byline__share { margin-left: auto; display: inline-flex; align-items: center; gap: 8px; min-height: 42px; padding: 0 16px; border: 1px solid var(--line-3); border-radius: 999px; background: #fff; font-weight: 700; font-size: 13.5px; color: var(--ink); }
.byline__share:hover { border-color: var(--ink); }
.byline__share .ico { width: 17px; height: 17px; }
.trustline { display: flex; align-items: flex-start; gap: 10px; max-width: 760px; padding: 12px 16px; border-radius: var(--r); background: var(--good-bg); color: #14532F; font-size: 14px; line-height: 1.5; }
.trustline .ico { margin-top: 2px; }
.trustline a { margin-left: 8px; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(20, 83, 47, .35); white-space: nowrap; }
.guide-main { min-width: 0; }
.tldr { max-width: 760px; margin-bottom: 32px; padding: 22px 24px 24px; border-radius: var(--r-lg); background: var(--accent-soft); border: 1px solid rgba(237, 177, 0, .35); }
.tldr__title { margin-bottom: 12px; font-weight: 700; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--accent-ink); }
.tldr ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.tldr li { position: relative; padding-left: 32px; font-size: 16.5px; line-height: 1.55; color: var(--ink); text-wrap: pretty; }
.tldr li::before { content: ""; position: absolute; left: 0; top: 2px; width: 22px; height: 22px; border-radius: 50%; background: var(--ink) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23FFCB2E' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center / 12px no-repeat; }
.tldr a { text-decoration: underline; text-underline-offset: 3px; }
.toc-m { max-width: 760px; margin-bottom: 32px; border: 1px solid var(--line); border-radius: var(--r-md); background: #fff; }
.toc-m summary { list-style: none; display: flex; align-items: center; gap: 10px; min-height: 54px; padding: 0 16px; font-weight: 700; font-size: 15px; cursor: pointer; }
.toc-m summary::-webkit-details-marker { display: none; }
.toc-m summary::after { content: "+"; margin-left: auto; width: 30px; height: 30px; border-radius: 9px; background: var(--soft); display: grid; place-items: center; font-weight: 500; font-size: 18px; }
.toc-m[open] summary::after { content: "−"; }
.toc-m ol { margin: 0 16px 10px; padding-left: 22px; }
.toc-m li { padding: 2px 0; border-top: 1px solid var(--line-2); }
.toc-m li::marker { color: var(--muted); font-size: 14px; }
.toc-m a { display: block; padding: 9px 0; font-size: 15px; line-height: 1.35; color: var(--ink-2); }
@media (min-width: 1180px) { .toc-m { display: none; } }
.toc a { position: relative; padding-left: 12px; transition: color .15s; }
.toc a::before { content: ""; position: absolute; left: 0; top: 8px; bottom: 8px; width: 2px; border-radius: 2px; background: transparent; transition: background .15s; }
.toc a.is-active { color: var(--ink); font-weight: 700; }
.toc a.is-active::before { background: var(--accent-2); }
.prose--guide { font-size: 18px; line-height: 1.72; }
.prose--guide > p:first-child { font-size: 19px; line-height: 1.65; color: var(--ink); }
.prose ol.koraki { list-style: none; padding: 0; counter-reset: k; display: flex; flex-direction: column; gap: 12px; }
.prose ol.koraki > li { counter-increment: k; position: relative; margin: 0; padding: 16px 18px 16px 64px; border: 1px solid var(--line); border-radius: var(--r-md); background: #fff; font-size: 16.5px; line-height: 1.6; }
.prose ol.koraki > li::before { content: counter(k); position: absolute; left: 16px; top: 14px; width: 32px; height: 32px; border-radius: 10px; background: var(--ink); color: #fff; display: grid; place-items: center; font-weight: 700; font-size: 15px; }
.prose ol.koraki > li > strong:first-child { display: block; margin-bottom: 2px; }
.prose .nasvet, .prose .opozorilo { position: relative; padding: 16px 18px 16px 56px; border-radius: var(--r-md); font-size: 16.5px; line-height: 1.6; }
.prose .nasvet { background: var(--accent-soft); color: var(--ink); }
.prose .opozorilo { background: var(--bad-bg); color: #5C1D10; }
.prose .nasvet::before, .prose .opozorilo::before { content: ""; position: absolute; left: 16px; top: 15px; width: 26px; height: 26px; border-radius: 8px; background: center / 16px no-repeat; }
.prose .nasvet::before { background-color: var(--ink); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23FFCB2E' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 18h6M10 21h4M12 3a6 6 0 0 0-3.5 10.9c.6.4 1 1.1 1 1.8V16h5v-.3c0-.7.4-1.4 1-1.8A6 6 0 0 0 12 3z'/%3E%3C/svg%3E"); }
.prose .opozorilo::before { background-color: var(--bad); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 8v5M12 17h.01'/%3E%3C/svg%3E"); }
.prose .nasvet > * + *, .prose .opozorilo > * + *, .prose .primer > * + * { margin-top: .6em; }
.prose .primer { padding: 18px 20px; border-radius: var(--r-md); background: var(--soft-2); border: 1px solid var(--line); font-size: 16.5px; line-height: 1.6; }
.prose .primer > p:first-child strong:first-child { display: block; margin-bottom: 2px; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2); }
.prose a.tool-cta { text-decoration: none; }
.prose .tool-cta { margin-top: 1.6em; }
.tool-cta { display: flex; align-items: center; gap: 16px; padding: 16px 18px; border-radius: var(--r-lg); background: var(--tint, var(--soft)); color: var(--ink); transition: box-shadow .2s var(--ease), transform .2s var(--ease); }
.tool-cta:hover { box-shadow: var(--shadow-hover); transform: translateY(-1px); }
.tool-cta .ico-tile { width: 50px; height: 50px; border-radius: 15px; background: rgba(255, 255, 255, .8); }
.tool-cta__body { display: flex; flex-direction: column; gap: 2px; flex: 1; min-width: 0; line-height: 1.35; }
.tool-cta__cap { font-weight: 700; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--pink, var(--ink-2)); }
.tool-cta b { font-weight: 700; font-size: 17px; line-height: 1.25; }
.tool-cta__body > span:last-child { font-size: 14px; color: var(--ink-2); }
.tool-cta__go { flex: none; display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 42px; padding: 0 18px; border-radius: 999px; background: var(--ink); color: #fff; font-weight: 700; font-size: 14px; }
@media (max-width: 559px) { .tool-cta { flex-wrap: wrap; } .tool-cta__body { flex-basis: calc(100% - 66px); } .tool-cta__go { width: 100%; } }
.editorial { display: flex; align-items: flex-start; gap: 14px; max-width: 760px; margin-top: clamp(40px, 5vw, 56px); padding: 18px 20px; border-radius: var(--r-md); background: var(--soft-2); border: 1px solid var(--line-2); font-size: 14.5px; line-height: 1.55; color: var(--ink-2); }
.editorial .byline__mark { width: 32px; height: 32px; border-radius: 10px; }
.editorial .byline__mark::after { right: 6px; bottom: 6px; width: 9px; height: 9px; }
.editorial a { font-weight: 700; color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 639px) {
	.prose--guide { font-size: 17px; }
	.prose--guide > p:first-child { font-size: 18px; }
	.tldr { padding: 18px 18px 20px; border-radius: var(--r-md); }
	.tldr li { font-size: 16px; }
	.byline__share span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
	.byline__share { width: 42px; padding: 0; justify-content: center; }
	.trustline a { display: inline-block; margin: 4px 12px 0 0; }
	.prose ol.koraki > li { padding: 14px 14px 14px 56px; }
	.prose ol.koraki > li::before { left: 12px; }
}
@media print { .readbar, .byline__share, .toc-m, .tool-cta, .editorial { display: none !important; } }
@media (prefers-reduced-motion: reduce) { .tool-cta { transition: none; } .tool-cta:hover { transform: none; } }

/* A–Ž list */
.az { columns: 1; column-gap: 32px; }
@media (min-width: 700px) { .az { columns: 2; } }
@media (min-width: 1100px) { .az { columns: 3; } }
.az section { break-inside: avoid; margin-bottom: 24px; }
.az h2 { font-weight: 700; font-size: 26px; letter-spacing: -.03em; margin-bottom: 4px; }
.az ul { list-style: none; }
.az a { display: flex; flex-direction: column; padding: 9px 0; border-top: 1px solid var(--line-2); }
.az a b { font-weight: 700; font-size: 15.5px; }
.az a span { font-size: 13px; color: var(--muted); }
.az a:hover b { text-decoration: underline; text-underline-offset: 3px; }

/* Pagination */
.pager { margin-top: 40px; }
.pager .nav-links { display: flex; gap: 6px; flex-wrap: wrap; }
.pager .page-numbers { display: inline-grid; place-items: center; min-width: 44px; height: 44px; padding: 0 12px; border-radius: var(--r-sm); border: 1px solid var(--line-3); font-weight: 700; font-size: 14px; }
.pager .page-numbers.current { background: var(--ink); color: #fff; border-color: var(--ink); }

/* 404 */
.empty { padding-top: var(--sec); max-width: 720px; display: flex; flex-direction: column; gap: 18px; }
.empty__code { font-weight: 700; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }

/* Block editor alignment */
.prose .alignwide { max-width: none; }
.prose .wp-block-buttons { display: flex; gap: 8px; flex-wrap: wrap; }
.prose .wp-block-button__link { display: inline-flex; align-items: center; min-height: 48px; padding: 0 18px; border-radius: var(--r); background: var(--ink); color: #fff; text-decoration: none; font-weight: 700; font-size: 14px; }
.prose .has-text-align-center { text-align: center; }
.callout { padding: 18px 20px; border-radius: var(--r-md); background: var(--accent-soft); color: var(--ink); }
.callout > * + * { margin-top: .6em; }

@media print {
	.hd, .ft, .ad-wrap, .ad, .aside, .cmp, .toast, .palette, .calc__actions { display: none !important; }
	.calc { box-shadow: none; }
	body { font-size: 12pt; }
}

/* Calculator (kalkulator) */
.calc--wide { grid-template-columns: minmax(0, 1fr) !important; }
.kdisp { position: relative; display: flex; flex-direction: column; align-items: flex-end; gap: 4px; padding: 18px 56px 18px 20px; border-radius: 20px; background: var(--soft); min-height: 112px; justify-content: flex-end; }
.kdisp__expr { width: 100%; border: 0; outline: none; background: transparent; text-align: right; font-size: 18px; font-weight: 500; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.kdisp__res { font-weight: 700; font-size: clamp(34px, 4vw, 48px); line-height: 1; letter-spacing: -.04em; font-variant-numeric: tabular-nums; max-width: 100%; overflow-wrap: anywhere; text-align: right; }
.kdisp__res.is-err { font-size: 20px; color: var(--bad); letter-spacing: 0; }
.kdisp__back { position: absolute; top: 12px; right: 10px; width: 40px; height: 40px; border-radius: 12px; border: 0; background: #fff; font-size: 18px; }
.kpad { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.k { min-height: 60px; border-radius: 16px; border: 1px solid var(--line); background: #fff; font-weight: 600; font-size: 22px; font-variant-numeric: tabular-nums; transition: background .1s, transform .05s; }
.k:hover { background: var(--soft-2); }
.k:active, .k.is-press { transform: scale(.97); background: var(--soft); }
.k--op { background: var(--soft); font-size: 24px; }
.k--fn { color: var(--ink-2); font-size: 18px; }
.k--eq { background: var(--accent); border-color: var(--accent); font-size: 26px; }
.k--eq:hover { background: #FFD65C; }
.khist { list-style: none; display: flex; flex-direction: column; max-height: 360px; overflow: auto; }
.khist li { border-top: 1px solid var(--line-2); }
.khist li:first-child { border-top: 0; }
.khist button { width: 100%; display: flex; justify-content: space-between; gap: 12px; padding: 10px 2px; border: 0; background: transparent; text-align: left; font-size: 15px; font-variant-numeric: tabular-nums; }
.khist button:hover { background: var(--soft-2); }
.khist button span { color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.khist button b { white-space: nowrap; }

/* Exchange rate table */
.tec-tools { display: flex; flex-wrap: wrap; gap: 8px 24px; align-items: flex-end; }
.tbl--fx td, .tbl--fx th { vertical-align: middle; }
.mspark { width: 90px; height: 24px; display: inline-block; }
@media (max-width: 700px) { .tbl__spark { display: none; } }

/* Service periods */
.period { margin: 0; padding: 12px; border: 1px solid var(--line); border-radius: var(--r-md); display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.period__foot { grid-column: 1 / -1; display: flex; align-items: center; gap: 12px; }
.period__foot .field__hint { margin-left: auto; font-variant-numeric: tabular-nums; }
.period__del { width: 36px; height: 36px; border-radius: 10px; border: 1px solid var(--line-3); background: #fff; font-size: 18px; }
.period__del:hover { border-color: var(--ink); }
.period input[type="date"] { font-size: 16px !important; letter-spacing: 0 !important; }

/* ---------- Touch and small screens ---------- */
html { -webkit-tap-highlight-color: transparent; text-size-adjust: 100%; }
.table-wrap { position: relative; }
html.is-mnav { overflow: hidden; }
.mnav { max-height: calc(100dvh - 96px); overscroll-behavior: contain; -webkit-overflow-scrolling: touch; }
.cmp { bottom: max(8px, env(safe-area-inset-bottom)); }
.toast { bottom: max(24px, calc(env(safe-area-inset-bottom) + 12px)); }
.gcard__tag:empty { display: none; }
@media (pointer: coarse) {
	.pill, .chip { min-height: 44px; }
	.pill { padding: 0 14px; font-size: 14px; }
	.crumbs a { display: inline-flex; align-items: center; min-height: 32px; }
	.ft__legal a, .ft__legal button { min-height: 44px; }
	.check input[type="checkbox"] { width: 22px; height: 22px; }
	button:active, .pill:active, .chip:active, .tile:active { transform: scale(.98); }
}
@media (max-width: 639px) {
	.spark__axis, .spark__x, .dl__date span { font-size: 12px; }
	.dl { grid-template-columns: 56px minmax(0, 1fr); row-gap: 6px; }
	.dl__date { grid-row: span 2; }
	.dl__when { grid-column: 2; justify-self: start; }

	/* Home on a phone: short scannable rows instead of tall cards. */
	.tiles { gap: 8px; }
	.tile { display: grid; grid-template-columns: 40px minmax(0, 1fr) auto; align-items: center; gap: 2px 12px; min-height: 0; padding: 12px 14px; border-radius: var(--r); }
	.tile .ico-tile { width: 40px; height: 40px; border-radius: 12px; }
	.tile__top { grid-row: span 2; }
	.tile__rank, .tile__pillar, .tile__desc, .tile__foot > span[aria-hidden] { display: none; }
	.tile__title { font-size: 16px; }
	.tile__foot { grid-column: 2; margin: 0; padding: 0; border: 0; }
	.tile__val { flex-direction: row; align-items: baseline; gap: 6px; }
	.tile__val b { padding: 1px 7px; font-size: 14px; }
	.tile::after { content: "→"; grid-column: 3; grid-row: 1 / span 2; color: var(--muted); }
	.pcard { padding: 16px 16px 4px; border-radius: 20px; }
	.pcard li:nth-child(n+4) { display: none; }
	.pcard__head h3 { font-size: 19px; }
	.trust { border-radius: 24px; padding: 24px 18px; }
	.trust-wrap { padding-inline: 8px; }
	.ft__cols { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 16px; }
	.ft__cols li:nth-child(n+6) { display: none; }
	.field__hint { font-size: 13px; }
	.wrap { padding-inline: max(var(--gut), env(safe-area-inset-left)) max(var(--gut), env(safe-area-inset-right)); }
}

/* Result dock: the main result follows the user while they edit inputs on a phone. */
.calc-dock {
	position: fixed; z-index: 70; left: 8px; right: 8px; bottom: max(8px, env(safe-area-inset-bottom)); display: flex; align-items: center; gap: 12px;
	padding: 10px 10px 10px 18px; border-radius: 20px; background: var(--ink); color: #fff; box-shadow: 0 20px 44px -18px rgba(0, 0, 0, .6);
	transform: translateY(calc(100% + 24px)); transition: transform .22s var(--ease); pointer-events: none;
}
.calc-dock.is-on { transform: none; pointer-events: auto; }
.calc-dock__txt { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.calc-dock__cap { font-weight: 700; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: #C9CDD1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.calc-dock__val { font-weight: 700; font-size: 22px; letter-spacing: -.02em; font-variant-numeric: tabular-nums; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.calc-dock__btn { flex: none; min-height: 44px; padding: 0 16px; border: 0; border-radius: 14px; background: var(--accent); color: var(--ink); font-weight: 700; font-size: 14px; }
@media (min-width: 1024px) { .calc-dock { display: none; } }
@media (prefers-reduced-motion: reduce) { .calc-dock { transition: none; } }
@media print { .calc-dock { display: none !important; } }
/* Long reference tables scroll inside their box with the header kept in view. */
.table-wrap--tall { max-height: min(70vh, 640px); overflow: auto; overscroll-behavior: contain; }
.table-wrap--tall thead th { position: sticky; top: 0; z-index: 1; }

/* Live prices (fuel, metals) and the price chart */
.prices { margin-top: clamp(24px, 3vw, 32px); display: flex; flex-direction: column; gap: 14px; }
.prices__grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; }
@media (min-width: 640px) { .prices__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.price-card { display: flex; flex-direction: column; gap: 10px; min-width: 0; padding: 18px 20px; border-radius: var(--r-lg); border: 1px solid var(--line); background: #fff; }
.price-card--main { background: var(--ink); border-color: var(--ink); color: #fff; }
.price-card--main .cap { color: var(--accent); }
.price-card--main .price-card__big small, .price-card--main .price-card__meta { color: #C9CDD1; }
.price-card__big { font-weight: 700; font-size: clamp(34px, 3.4vw, 44px); line-height: 1; letter-spacing: -.04em; font-variant-numeric: tabular-nums; white-space: nowrap; }
.price-card__big small { font-size: .45em; letter-spacing: 0; color: var(--ink-2); }
.price-card__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; font-size: 13px; color: var(--muted); font-variant-numeric: tabular-nums; }
.price-card .spark { margin-top: 4px; }
.price-card.is-stale .price-card__big { color: var(--faint); }
.prices__note { display: flex; align-items: flex-start; gap: 8px; max-width: 900px; font-size: 13.5px; line-height: 1.5; color: var(--ink-2); }
.prices__note .ico { margin-top: 2px; color: var(--muted); }
.prices__note a { margin-left: 4px; text-decoration: underline; text-underline-offset: 3px; color: var(--muted); }
.prices + .calc { margin-top: 20px; }
.pchart { position: relative; margin: 0; padding: 16px 18px 14px; border: 1px solid var(--line); border-radius: var(--r-lg); background: #fff; }
.pchart__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 10px 16px; margin-bottom: 8px; }
.pchart__legend { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: 13.5px; font-weight: 500; }
.pchart__legend span, .pchart__tip span { display: inline-flex; align-items: center; gap: 6px; }
.pchart__legend i, .pchart__tip i { width: 10px; height: 10px; border-radius: 3px; flex: none; }
.pchart__ranges .pill { min-height: 34px; padding: 0 12px; font-size: 13px; }
.pchart__plot { position: relative; width: 100%; touch-action: pan-y; cursor: crosshair; }
.pchart__plot svg { display: block; width: 100%; height: auto; overflow: visible; }
.pchart__grid { stroke: #E8EBED; stroke-width: 1; }
.pchart__lab { fill: var(--muted); font-size: 11.5px; font-variant-numeric: tabular-nums; }
.pchart__cross { stroke: var(--ink); stroke-width: 1; stroke-dasharray: 3 3; }
.pchart__tip { position: absolute; top: 52px; z-index: 2; display: flex; flex-direction: column; gap: 3px; padding: 8px 12px; border-radius: 12px; background: var(--ink); color: #fff; font-size: 13px; line-height: 1.35; white-space: nowrap; pointer-events: none; box-shadow: var(--shadow-pop); }
.pchart__tip b { margin-left: 4px; font-variant-numeric: tabular-nums; }
.pchart__date { font-size: 11.5px; letter-spacing: .04em; color: #C9CDD1; }
.pchart figcaption { margin-top: 6px; font-size: 12.5px; color: var(--muted); }
@media print { .pchart__ranges, .pchart__tip { display: none !important; } }
@media (max-width: 639px) {
	.prices__grid { gap: 8px; }
	.price-card { display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "cap big" "meta big"; align-items: center; gap: 4px 12px; padding: 14px 16px; }
	.price-card .cap { grid-area: cap; }
	.price-card__big { grid-area: big; font-size: 32px; }
	.price-card__meta { grid-area: meta; font-size: 12.5px; }
	.price-card .spark { display: none; }
	.pchart { padding: 12px 12px 10px; }
	.pchart__head { flex-direction: column; align-items: flex-start; }
}
@media (min-width: 900px) { .prices__grid--4 { grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr)); } }
@media (min-width: 640px) and (max-width: 899px) { .prices__grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.price-card--small .price-card__big { font-size: clamp(26px, 2.4vw, 32px); }
.price-card__big--pct.is-up, .tbl .is-up { color: var(--good); }
.price-card__big--pct.is-down, .tbl .is-down { color: var(--bad); }
.price-card__big--pct small { color: inherit; opacity: .7; }
.tbl .muted { color: var(--muted); font-size: 12.5px; }
@media (max-width: 639px) {
	.prices__grid--4 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.prices__grid--4 .price-card--main { grid-column: 1 / -1; }
	.price-card--small { display: flex; padding: 12px; gap: 4px; }
	.price-card--small .price-card__big { font-size: 20px; }
	.price-card--small .cap { font-size: 10px; }
}
.credit { color: var(--muted); text-decoration: underline; text-underline-offset: 3px; }
.credit:hover { color: var(--ink); }
.nums__credit { margin-top: 10px; font-size: 12.5px; text-align: right; }
.block--first { margin-top: clamp(24px, 3vw, 32px); }

/* Asset switcher and main price card (crypto, metals) */
.asset-tabs { display: flex; gap: 8px; margin-top: clamp(20px, 3vw, 28px); overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.asset-tabs::-webkit-scrollbar { display: none; }
.asset-tab { flex: none; display: flex; flex-direction: column; gap: 2px; min-width: 128px; padding: 10px 14px; border: 1px solid var(--line); border-radius: 16px; background: #fff; transition: border-color .15s; }
.asset-tab:hover { border-color: var(--ink); }
.asset-tab b { font-weight: 700; font-size: 14px; }
.asset-tab span { font-size: 12.5px; color: var(--muted); font-variant-numeric: tabular-nums; white-space: nowrap; }
.asset-tab i { font-style: normal; font-weight: 700; margin-left: 4px; }
.asset-tab.is-active { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); background: var(--soft-2); }
.asset-tab .is-up, .asset .is-up { color: var(--good); }
.asset-tab .is-down, .asset .is-down { color: var(--bad); }
.asset { margin-top: 12px; display: flex; flex-direction: column; gap: 18px; padding: clamp(18px, 2.4vw, 28px); border: 1px solid var(--line); border-radius: var(--r-xl); background: #fff; box-shadow: 0 18px 40px -32px rgba(21, 24, 27, .35); }
.asset__main { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; align-items: end; }
@media (min-width: 760px) { .asset__main { grid-template-columns: minmax(0, 1fr) minmax(220px, 38%); } }
.asset__price { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.asset__name { font-weight: 700; font-size: 14px; color: var(--ink-2); }
.asset__name b { margin-left: 4px; padding: 2px 8px; border-radius: 999px; background: var(--soft); font-size: 12px; color: var(--ink); }
.asset__big { font-weight: 700; font-size: clamp(44px, 5.4vw, 68px); line-height: .95; letter-spacing: -.045em; font-variant-numeric: tabular-nums; white-space: nowrap; }
.asset__big small { font-size: .42em; letter-spacing: 0; color: var(--ink-2); }
.asset__chg { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 4px 6px; font-weight: 700; font-size: 15px; font-variant-numeric: tabular-nums; }
.asset__chg span { font-weight: 500; color: var(--muted); }
.asset__sub { font-size: 14px; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.asset.is-stale .asset__big { color: var(--faint); }
.asset__spark { margin: 0; display: flex; flex-direction: column; gap: 4px; }
.asset__spark svg { display: block; width: 100%; height: 84px; }
.asset__line { fill: none; stroke-width: 2; vector-effect: non-scaling-stroke; stroke-linejoin: round; }
.asset__spark.is-up .asset__line { stroke: var(--good); }
.asset__spark.is-up .asset__area { fill: var(--good); opacity: .09; }
.asset__spark.is-down .asset__line { stroke: var(--bad); }
.asset__spark.is-down .asset__area { fill: var(--bad); opacity: .08; }
.asset__spark figcaption { font-size: 12px; color: var(--muted); text-align: right; }
.asset__perf { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 0; padding-top: 16px; border-top: 1px solid var(--line-2); }
.asset__perf > div { display: flex; flex-direction: column; gap: 2px; padding: 0 14px; border-left: 1px solid var(--line-2); }
.asset__perf > div:first-child { padding-left: 0; border-left: 0; }
.asset__perf dt { font-weight: 700; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.asset__perf dd { margin: 0; font-weight: 700; font-size: 20px; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.asset__range { display: flex; flex-direction: column; gap: 8px; }
.asset__range-cap { font-weight: 700; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.asset__range-row { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 12px; font-size: 13.5px; color: var(--ink-2); font-variant-numeric: tabular-nums; white-space: nowrap; }
.asset__bar { position: relative; height: 6px; border-radius: 999px; background: linear-gradient(90deg, var(--bad-bg), var(--soft-3) 50%, var(--good-bg)); }
.asset__bar i { position: absolute; top: 50%; width: 16px; height: 16px; border-radius: 50%; background: var(--ink); border: 3px solid #fff; box-shadow: 0 0 0 1px var(--ink); transform: translate(-50%, -50%); }
.asset__note { display: flex; align-items: flex-start; gap: 8px; font-size: 13px; line-height: 1.5; color: var(--ink-2); }
.asset__note .ico { margin-top: 2px; color: var(--muted); flex: none; }
.asset + .calc, .asset-tabs + .block { margin-top: 20px; }
@media (max-width: 639px) {
	.asset-tab { min-width: 108px; padding: 9px 12px; }
	.asset__big { font-size: 44px; }
	.asset__perf > div { padding: 0 10px; }
	.asset__perf dd { font-size: 17px; }
	.asset__range-row { font-size: 12.5px; gap: 8px; }
}
@media print { .asset-tabs { display: none !important; } }
/* Converter inside the price card */
.asset__aside { min-width: 0; }
.pair { display: flex; flex-direction: column; gap: 8px; padding: 16px; border-radius: var(--r-lg); background: var(--soft-2); border: 1px solid var(--line-2); }
.pair__cap { font-weight: 700; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.pair__row { display: flex; align-items: center; gap: 10px; height: 54px; padding: 0 14px; border-radius: var(--r); border: 1px solid var(--line-3); background: #fff; cursor: text; transition: border-color .15s, box-shadow .15s; }
.pair__row:focus-within { border-color: var(--ink); box-shadow: 0 0 0 3px var(--select); }
.pair__row input { flex: 1; min-width: 0; height: 100%; border: 0; outline: 0; background: transparent; font: inherit; font-weight: 700; font-size: 22px; letter-spacing: -.02em; font-variant-numeric: tabular-nums; color: var(--ink); }
.pair__row b { flex: none; font-size: 13px; letter-spacing: .04em; color: var(--ink-2); }
.pair__eq { align-self: center; font-weight: 700; color: var(--muted); line-height: 1; }
.pair__note { font-size: 12.5px; line-height: 1.45; color: var(--muted); }
.asset + .pchart { margin-top: 14px; }
@media (min-width: 760px) { .asset__main:has(.asset__aside) { align-items: start; } }

/* Calculator dropdown (calc.js xsel): drawn over the native select on mouse devices */
.field__box select:not(.xsel__native) { padding-right: 26px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2362676C' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") no-repeat right center / 18px; cursor: pointer; }
.xsel { position: relative; cursor: pointer; }
.xsel.is-open { border-color: var(--ink); background: #fff; }
.xsel__native { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.xsel__btn { flex: 1; display: flex; align-items: center; gap: 10px; min-width: 0; height: 100%; padding: 0; border: 0; background: none; color: var(--ink); font-size: 17px; font-weight: 700; text-align: left; cursor: pointer; }
.xsel__btn:focus-visible { outline: none; }
.xsel__val { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.xsel__chev { flex: none; width: 18px; height: 18px; color: var(--muted); transition: transform .15s; }
.xsel.is-open .xsel__chev { transform: rotate(180deg); color: var(--ink); }
.xsel__pop { position: absolute; left: -1px; right: -1px; top: calc(100% + 6px); z-index: 40; padding: 6px; border: 1px solid var(--line-3); border-radius: 16px; background: #fff; box-shadow: var(--shadow-pop), 0 2px 8px rgba(21, 24, 27, .06); cursor: default; }
.xsel__pop.is-up { top: auto; bottom: calc(100% + 6px); }
.xsel .xsel__q { display: block; flex: none; width: 100%; height: 42px; margin: 0 0 6px; padding: 0 12px; border: 1px solid var(--line-3); border-radius: var(--r-sm); background: var(--soft-2); font-size: 15px; font-weight: 500; letter-spacing: 0; outline: none; }
.xsel .xsel__q:focus { border-color: var(--ink); background: #fff; }
.xsel__list { max-height: min(340px, 50vh); margin: 0; padding: 0; overflow-y: auto; overscroll-behavior: contain; list-style: none; outline: none; }
.xsel__grp { padding: 12px 10px 4px; font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.xsel__grp:first-child { padding-top: 6px; }
.xsel__opt { display: flex; align-items: center; gap: 10px; min-height: 40px; padding: 0 10px; border-radius: 10px; font-size: 15px; font-weight: 600; color: var(--ink-2); cursor: pointer; }
.xsel__opt.is-active { background: var(--soft); color: var(--ink); }
.xsel__opt[aria-selected="true"] { color: var(--ink); font-weight: 700; }
.xsel__opt[hidden], .xsel__grp[hidden] { display: none; }
.xsel__t { flex: 1; min-width: 0; }
.xsel__h { flex: none; font-size: 13.5px; font-weight: 600; color: var(--muted); font-variant-numeric: tabular-nums; white-space: nowrap; }
.xsel__check { flex: none; width: 16px; height: 16px; visibility: hidden; }
.xsel__opt[aria-selected="true"] .xsel__check { visibility: visible; }
.xsel__empty { margin: 0; padding: 12px 10px; font-size: 14px; color: var(--muted); }
