/* GustEstate Piaci Körkép. Az oldal css/style.css-e után töltődik: a színeket, betűket és a fejlécet onnan veszi,
   ezért minden szabály a .kk-page alá van zárva, hogy a közös fejlécet és láblécet ne érje.
   Az olvasói nézet cikkszerű: szűk szövegoszlop, nagy betű, sok levegő, egyszerre egy gondolat. */
.kk-page {
    --card: var(--dark-card);
    --border: var(--dark-border);
    --ivory: var(--white);
    --ease: 0.2s ease;
    --read-width: 760px;
    color-scheme: dark;
    font-size: 1.0625rem;
    line-height: 1.85;
    overflow-wrap: anywhere;
    font-variant-numeric: lining-nums; /* a Cormorant alapból hullámzó magasságú számokat ír */
}

/* A :where nem növeli a specificitást, így a .kk-* osztályok felülírják ezeket. */
:where(.kk-page) *, :where(.kk-page) *::before, :where(.kk-page) *::after { border-radius: 0; }
:where(.kk-page) a { color: inherit; }
:where(.kk-page) ul { list-style: none; }
:where(.kk-page) button { font: inherit; color: inherit; cursor: pointer; background: none; border: 0; }

.kk-page :focus-visible { outline: 2px solid var(--gold-light); outline-offset: 2px; }

.kk-visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

.kk-wrap {
    width: 100%;
    max-width: var(--container-width);
    margin-inline: auto;
    padding-left: max(40px, env(safe-area-inset-left, 0px));
    padding-right: max(40px, env(safe-area-inset-right, 0px));
}

.kk-main { padding-block: calc(var(--header-height) + 80px) 96px; min-height: 60vh; }
.kk-account { display: flex; justify-content: flex-end; padding-block: 0 40px; }
.kk-read { width: 100%; max-width: var(--read-width); margin-inline: auto; }

/* Tipográfiai elemek */
.kk-eyebrow, .kk-label {
    display: block;
    font-size: 0.72rem;
    font-weight: 500;
    line-height: 1.6;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: var(--gray);
}
.kk-eyebrow { color: var(--gold); }
.kk-lead { color: var(--white); font-size: 1.2rem; line-height: 1.75; }

.kk-section {
    margin-bottom: 28px;
    font-family: var(--font-heading);
    font-size: 1.55rem;
    font-weight: 300;
    line-height: 1.3;
    letter-spacing: 8px;
    text-transform: uppercase;
    color: var(--gold);
}

.kk-link {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--gold);
    transition: color var(--ease);
}
.kk-link:hover { color: var(--gold-light); text-decoration: underline; text-underline-offset: 4px; }

.kk-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 12px 28px;
    background: transparent;
    border: 1px solid var(--gold);
    color: var(--gold);
    font-family: var(--font-body);
    font-size: 0.72rem;
    font-weight: 500;
    line-height: 1.4;
    letter-spacing: 2.5px;
    text-align: center;
    text-transform: uppercase;
    transition: background var(--ease), color var(--ease);
}
.kk-btn:hover { background: var(--gold); color: var(--black); }
.kk-btn--wide { width: 100%; }

.kk-input {
    width: 100%;
    min-height: 46px;
    padding: 10px 14px;
    background: var(--card);
    border: 1px solid var(--border);
    color: var(--ivory);
    font-family: var(--font-body);
    font-size: 1rem; /* 16 px alatt az iOS ráközelít a mezőre */
    transition: border-color var(--ease);
    -webkit-appearance: none;
    appearance: none;
}
.kk-input:focus { outline: none; border-color: var(--gold); }
.kk-input::placeholder { color: #7d7d7d; }

/* Nyitóoldal */
/* Teljes szélességű fotó a fix fejléc alatt, az Ingatlan oldal fejlécéhez hasonlóan. */
.kk-hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100vw;
    min-height: 62vh;
    margin: calc(-1 * (var(--header-height) + 80px)) calc(50% - 50vw) 96px;
    padding: calc(var(--header-height) + 40px) 20px 64px;
    background: linear-gradient(rgba(10, 10, 10, 0.68), rgba(10, 10, 10, 0.64) 60%, var(--black)), url('hero.webp') center 45% / cover no-repeat var(--black);
    text-align: center;
}
.kk-hero__title {
    margin-block: 10px 18px;
    font-family: var(--font-heading);
    font-size: clamp(2.8rem, 8vw, 4.75rem);
    font-weight: 300;
    line-height: 1.02;
    letter-spacing: 3px;
    text-transform: uppercase;
}
.kk-hero__title em { font-weight: 300; font-style: italic; letter-spacing: 0; text-transform: none; color: var(--gold); }
.kk-hero__title--small { font-size: 2.6rem; }
.kk-hero__meta { margin-top: 14px; color: var(--gray); font-size: 0.88rem; }
.kk-hero__meta strong { font-weight: 500; color: var(--ivory); }

.kk-featured { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 400px); align-items: center; gap: 64px; max-width: 1120px; margin: 0 auto 120px; }
.kk-featured[hidden] { display: none; }
.kk-featured__text { display: flex; flex-direction: column; align-items: flex-start; gap: 22px; min-width: 0; }
.kk-featured__image img { width: 100%; border: 1px solid var(--border); transition: border-color var(--ease); }
.kk-featured__image:hover img { border-color: var(--gold); }
.kk-featured__title { font-family: var(--font-heading); font-size: clamp(2rem, 4.4vw, 3rem); font-weight: 300; line-height: 1.15; text-wrap: balance; }
.kk-featured__title a { transition: color var(--ease); }
.kk-featured__title a:hover { color: var(--gold-light); }

.kk-archive { max-width: 1120px; margin-inline: auto; }

.kk-search__row { display: flex; gap: 10px; }
.kk-search__row .kk-input { flex: 1; min-width: 0; }

.kk-filters { display: flex; flex-direction: column; gap: 10px; margin-top: 16px; }
.kk-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.kk-chip {
    display: inline-flex;
    align-items: center;
    min-height: 36px;
    padding: 6px 12px;
    border: 1px solid var(--border);
    color: var(--gray);
    font-size: 0.66rem;
    font-weight: 500;
    line-height: 1.4;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    white-space: nowrap;
    transition: border-color var(--ease), color var(--ease), background var(--ease);
}
.kk-chip:hover { border-color: var(--gold); color: var(--gold); }
.kk-chip[aria-current] { background: var(--gold); border-color: var(--gold); color: var(--black); }

.kk-resultline { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 20px; margin-top: 24px; color: var(--gray); font-size: 0.88rem; }

.kk-month {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-block: 56px 8px;
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 300;
    line-height: 1.4;
    letter-spacing: 6px;
    text-transform: uppercase;
    color: var(--gold);
}
.kk-month::after { content: ''; flex: 1; height: 1px; background: linear-gradient(90deg, var(--gold), transparent); }

/* Az archívum sorai: dátum, cím, hírek száma. A teljes sor kattintható. */
.kk-row { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 400px); align-items: center; gap: 48px; padding-block: 32px; border-bottom: 1px solid var(--border); }
.kk-row__image { width: 140px; height: auto; margin-left: auto; border: 1px solid var(--border); transition: border-color var(--ease); }
.kk-row:hover .kk-row__image { border-color: var(--gold); }
.kk-row__body { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.kk-row__visual { min-width: 0; }

/* A lista kis grafikonja: figyelemfelkeltő, de a teljes sor kattintható marad. */
.kk-mini { position: relative; display: flex; flex-direction: column; gap: 12px; padding: 20px 22px; background: var(--card); border: 1px solid var(--border); transition: border-color var(--ease); }
.kk-mini::before { content: ''; position: absolute; top: -1px; left: -1px; border-top: 12px solid var(--gold); border-right: 12px solid transparent; }
.kk-row:hover .kk-mini { border-color: var(--gold); }
.kk-mini__title { font-family: var(--font-heading); font-size: 1.12rem; line-height: 1.25; text-wrap: balance; }
.kk-mini__bars { display: flex; flex-direction: column; gap: 9px; }
.kk-mini__bar { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 3px 10px; font-size: 0.78rem; line-height: 1.3; }
.kk-mini__value { font-weight: 500; white-space: nowrap; font-variant-numeric: tabular-nums; }
.kk-mini__track { position: relative; grid-column: 1 / -1; height: 6px; background: rgba(245, 240, 232, 0.05); }
.kk-mini__track span { position: absolute; top: 0; bottom: 0; background: var(--gold); }
.kk-mini__latest { font-family: var(--font-heading); font-size: 2.1rem; font-weight: 500; line-height: 1; }
.kk-mini__plot { position: relative; height: 78px; margin-inline: 4px; }
.kk-mini__plot svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.kk-mini__range { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 2px 12px; color: var(--gray); font-size: 0.72rem; line-height: 1.4; }
.kk-row__date { font-size: 0.72rem; font-weight: 500; line-height: 1.6; letter-spacing: 1.5px; text-transform: uppercase; color: var(--gray); }
.kk-row__title { font-family: var(--font-heading); font-size: 1.6rem; font-weight: 400; line-height: 1.25; text-wrap: balance; transition: color var(--ease); }
.kk-row__title a::after { content: ''; position: absolute; inset: 0; }
.kk-row:hover .kk-row__title { color: var(--gold-light); }
.kk-row__match { font-size: 0.88rem; line-height: 1.5; color: var(--gray); }
.kk-row__match span { color: var(--gold); }
.kk-row__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; margin-top: 2px; }
.kk-count { font-size: 0.82rem; color: var(--gray); font-variant-numeric: tabular-nums; }

.kk-badge {
    display: inline-block;
    padding: 3px 8px;
    border: 1px solid var(--border);
    color: var(--gray);
    font-size: 0.62rem;
    font-weight: 500;
    line-height: 1.5;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    white-space: nowrap;
}
.kk-badge--posted { background: var(--gold); border-color: var(--gold); color: var(--black); }

.kk-empty { margin-top: 40px; padding: 56px 24px; border: 1px solid var(--border); background: var(--card); text-align: center; color: var(--gray); }
.kk-empty__title { margin-bottom: 8px; font-family: var(--font-heading); font-size: 1.8rem; font-weight: 300; font-style: italic; color: var(--gold); }
.kk-empty--page { display: flex; flex-direction: column; align-items: center; gap: 12px; margin-top: 8vh; }

.kk-pager { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 12px; margin-top: 48px; }
.kk-pager > :first-child { justify-self: start; }
.kk-pager > :last-child { justify-self: end; }
.kk-pager__where { color: var(--gray); font-size: 0.8rem; font-variant-numeric: tabular-nums; }

/* Napi oldal: egymás után következő hírek, mint egy cikk fejezetei */
.kk-dayhead { margin-block: 40px 48px; }
.kk-dayimage { max-width: 520px; margin: 0 auto 88px; }
.kk-dayimage img { width: 100%; border: 1px solid var(--border); }
.kk-dayhead__title {
    margin-block: 14px 26px;
    font-family: var(--font-heading);
    font-size: clamp(2.2rem, 5vw, 3.4rem);
    font-weight: 300;
    line-height: 1.12;
    text-wrap: balance;
}

.kk-story { display: flex; flex-direction: column; align-items: flex-start; gap: 22px; padding-bottom: 88px; }
.kk-story__title { font-family: var(--font-heading); font-size: clamp(1.7rem, 3.4vw, 2.15rem); font-weight: 400; line-height: 1.2; text-wrap: balance; }
.kk-story__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; }
.kk-story .kk-chart { align-self: stretch; margin-top: 18px; }

.kk-callout { padding-left: 20px; border-left: 1px solid var(--gold); }

.kk-tag {
    padding: 3px 8px;
    background: var(--dark);
    border: 1px solid var(--border);
    color: var(--ivory);
    font-size: 0.62rem;
    font-weight: 500;
    line-height: 1.6;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    transition: border-color var(--ease);
}
.kk-tag:hover { border-color: var(--gold); }
.kk-source { color: var(--gray); font-size: 0.82rem; transition: color var(--ease); }
.kk-source:hover { color: var(--gold-light); }

/* Kulcsszám és irány. Az irányt az alak és a kitöltés mondja meg, nem jó/rossz szín:
   a csökkenő kamat jó hír, a csökkenő kereslet rossz. */
.kk-figure__value { display: flex; align-items: center; gap: 12px; font-family: var(--font-heading); font-size: 2.4rem; font-weight: 500; line-height: 1.1; }
.kk-figure__label { margin-top: 6px; color: var(--gray); font-size: 0.7rem; font-weight: 500; letter-spacing: 1.2px; line-height: 1.5; text-transform: uppercase; }
.kk-arrow { display: inline-flex; flex: none; align-items: center; justify-content: center; width: 28px; height: 28px; border: 1px solid; }
.kk-arrow svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: square; }
.kk-arrow--up { background: var(--gold); border-color: var(--gold); color: var(--black); }
.kk-arrow--down { border-color: var(--gold); color: var(--gold); }
.kk-arrow--flat { border-color: var(--border); color: var(--gray); }

.kk-dayfoot { padding-top: 40px; border-top: 1px solid var(--border); color: var(--gray); font-size: 0.88rem; line-height: 1.7; }
.kk-sources { display: flex; flex-wrap: wrap; gap: 4px 22px; margin-top: 10px; }
.kk-sources a { transition: color var(--ease); }
.kk-sources a:hover { color: var(--gold-light); }
.kk-generated { margin-top: 12px; font-size: 0.8rem; }
.kk-daynav { display: flex; justify-content: space-between; gap: 10px 24px; margin-top: 48px; }

/* Grafikonok: vékony jelek, halk rács. Az érték szövegszínű, a jel arany. */
.kk-chart { position: relative; display: flex; flex-direction: column; gap: 26px; min-width: 0; padding: 32px; background: var(--card); border: 1px solid var(--border); }
.kk-chart::before { content: ''; position: absolute; top: -1px; left: -1px; border-top: 14px solid var(--gold); border-right: 14px solid transparent; }
.kk-chart__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; }
.kk-chart__heading { min-width: 0; }
.kk-chart__latest { flex: none; line-height: 1.3; text-align: right; }
.kk-chart__latest strong { display: block; font-family: var(--font-heading); font-size: 2rem; font-weight: 500; line-height: 1.1; white-space: nowrap; }
.kk-chart__latest span { color: var(--gray); font-size: 0.72rem; }
.kk-chart__title { font-family: var(--font-heading); font-size: 1.5rem; font-weight: 400; line-height: 1.2; text-wrap: balance; }
.kk-chart__subtitle { margin-top: 6px; color: var(--gray); font-size: 0.82rem; line-height: 1.5; }
.kk-chart__foot { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 20px; margin-top: auto; padding-top: 14px; border-top: 1px solid var(--border); color: var(--gray); font-size: 0.76rem; line-height: 1.6; }
.kk-chart__source { color: var(--gray); transition: color var(--ease); }
.kk-chart__source:hover { color: var(--gold-light); }
.kk-chart__table summary { cursor: pointer; }
.kk-chart__table summary:hover { color: var(--gold-light); }
.kk-chart__table table { width: 100%; margin-top: 10px; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.kk-chart__table th, .kk-chart__table td { padding: 5px 0; border-top: 1px solid var(--border); font-weight: 400; text-align: left; }
.kk-chart__table td { padding-left: 16px; text-align: right; white-space: nowrap; color: var(--ivory); }

.kk-bars { display: flex; flex-direction: column; gap: 6px; }
.kk-bar { display: grid; grid-template-columns: minmax(0, 150px) minmax(0, 1fr) auto; align-items: center; gap: 14px; padding-block: 9px; }
.kk-bar__label { font-size: 0.88rem; line-height: 1.3; }
.kk-bar__track { position: relative; height: 8px; background: rgba(245, 240, 232, 0.05); }
.kk-bar__fill { position: absolute; top: 0; bottom: 0; background: var(--gold); transition: background var(--ease); }
.kk-bar__zero { position: absolute; top: -5px; bottom: -5px; width: 1px; background: var(--gray); }
.kk-bar__value { min-width: 78px; font-size: 0.9rem; font-weight: 500; line-height: 1.3; text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.kk-bar:hover .kk-bar__fill, .kk-bar:focus-visible .kk-bar__fill { background: var(--gold-light); }

.kk-line { padding-top: 10px; }
.kk-line__plot { position: relative; height: 230px; margin-inline: 5px; }
.kk-line__grid { position: absolute; left: -5px; right: -5px; height: 1px; background: var(--border); }
.kk-line__tick { position: absolute; left: -5px; margin-bottom: 3px; color: var(--gray); font-size: 0.68rem; line-height: 1; font-variant-numeric: tabular-nums; }
.kk-line__svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.kk-line__area { fill: var(--gold); opacity: 0.1; }
.kk-line__stroke { fill: none; stroke: var(--gold); stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.kk-point { position: absolute; width: 12px; height: 12px; margin: 0 0 -6px -6px; background: var(--gold); border: 2px solid var(--card); border-radius: 50%; opacity: 0; pointer-events: none; }
.kk-point[data-end] { opacity: 1; }
.kk-line__hit { position: absolute; top: 0; bottom: 0; cursor: crosshair; }
.kk-line__hit::before { content: ''; position: absolute; top: 0; bottom: 0; left: var(--x); width: 1px; background: var(--gray); opacity: 0; }
.kk-line__hit:hover::before, .kk-line__hit:focus-visible::before { opacity: 0.6; }
.kk-point:has(+ .kk-line__hit:hover), .kk-point:has(+ .kk-line__hit:focus-visible) { opacity: 1; }
.kk-line__x { position: relative; height: 22px; margin: 10px 5px 0; color: var(--gray); font-size: 0.72rem; line-height: 1.5; }
.kk-line__xlabel { position: absolute; transform: translateX(-50%); white-space: nowrap; }
.kk-line__xlabel[data-first] { transform: translateX(-5px); }
.kk-line__xlabel[data-last] { transform: translateX(calc(-100% + 5px)); }

.kk-tip { position: fixed; z-index: 1100; padding: 6px 10px; transform: translateX(-50%); background: var(--black); border: 1px solid var(--gold); color: var(--white); font-family: var(--font-body); font-size: 0.78rem; font-weight: 500; line-height: 1.4; white-space: nowrap; pointer-events: none; }

/* Csak belépve: posztolás */
.kk-admin { max-width: 1120px; margin: 0 auto 88px; border: 1px solid var(--gold); background: var(--black-soft); font-size: 0.95rem; line-height: 1.65; }
.kk-admin summary { padding: 16px 20px; font-size: 0.72rem; font-weight: 500; letter-spacing: 2.5px; text-transform: uppercase; color: var(--gold); cursor: pointer; }
.kk-admin summary small { margin-left: 10px; font-size: 0.68rem; letter-spacing: 1px; text-transform: none; color: var(--gray); }
.kk-admin__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 340px)); align-items: start; gap: 24px; padding: 4px 20px 20px; }

.kk-panel { position: relative; padding: 20px; background: var(--card); border: 1px solid var(--border); }

.kk-status { display: flex; flex-direction: column; gap: 14px; }
.kk-status__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.kk-status__form { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.kk-toggle {
    min-height: 46px;
    padding: 8px 6px;
    border: 1px solid var(--border);
    color: var(--ivory);
    font-size: 0.68rem;
    font-weight: 500;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    transition: border-color var(--ease), background var(--ease), color var(--ease), opacity var(--ease);
}
.kk-toggle:hover { border-color: var(--gold); color: var(--gold); }
.kk-toggle[aria-pressed="true"] { background: var(--gold); border-color: var(--gold); color: var(--black); }
.kk-toggle[aria-pressed="true"]::before { content: '✓ '; }
.kk-toggle[disabled] { opacity: 0.6; cursor: progress; }
.kk-status__hint { color: var(--gray); font-size: 0.8rem; line-height: 1.5; }
.kk-status__hint--error { color: var(--gold-light); }

.kk-poster { display: flex; flex-direction: column; gap: 12px; }
.kk-poster img { width: 100%; border: 1px solid var(--border); }

/* Belépés */
.kk-login { max-width: 400px; margin: 5vh auto 0; font-size: 0.95rem; line-height: 1.65; }
.kk-login__note { margin-bottom: 24px; color: var(--gray); }
.kk-login__form { display: flex; flex-direction: column; gap: 18px; }
.kk-login__form .kk-label { margin-bottom: 8px; }
.kk-alert--off { position: relative; z-index: 1; max-width: var(--read-width); margin-inline: auto; }
.kk-alert { margin-bottom: 18px; padding: 12px 14px; border: 1px solid var(--gold); color: var(--gold-light); font-size: 0.88rem; }

@media (max-width: 900px) {
    .kk-featured { grid-template-columns: minmax(0, 1fr); gap: 36px; max-width: var(--read-width); }
    .kk-featured__image { max-width: 480px; }
    .kk-archive { max-width: var(--read-width); }
    .kk-row { grid-template-columns: minmax(0, 1fr); gap: 18px; }
    .kk-poster { max-width: 480px; }
}

@media (max-width: 768px) {
    .kk-wrap {
        padding-left: max(20px, env(safe-area-inset-left, 0px));
        padding-right: max(20px, env(safe-area-inset-right, 0px));
    }
}

@media (max-width: 640px) {
    .kk-page { font-size: 1rem; line-height: 1.8; }
    .kk-main { padding-block: calc(var(--header-height) + 40px) 64px; }
    .kk-lead { font-size: 1.08rem; line-height: 1.7; }
    .kk-hero { min-height: 52vh; margin-top: calc(-1 * (var(--header-height) + 40px)); margin-bottom: 64px; padding-top: calc(var(--header-height) + 24px); padding-bottom: 48px; }
    .kk-hero__title { letter-spacing: 2px; }
    .kk-featured { margin-bottom: 80px; }
    .kk-dayhead { margin-block: 28px 36px; }
    .kk-dayimage { margin-bottom: 64px; }
    .kk-story { padding-bottom: 64px; }
    .kk-section { letter-spacing: 6px; font-size: 1.4rem; }
    .kk-row { padding-block: 24px; }
    .kk-row__image { width: 120px; margin-left: 0; }
    .kk-row__title { font-size: 1.4rem; }

    .kk-chart { padding: 24px 16px 18px; }
    .kk-chart__latest strong { font-size: 1.7rem; }
    /* Telefonon a sáv a név és az érték alá kerül, hogy a hossza olvasható maradjon. */
    .kk-bar { grid-template-columns: minmax(0, 1fr) auto; gap: 6px 12px; }
    .kk-bar__track { grid-column: 1 / -1; grid-row: 2; }
    .kk-bar__value { min-width: 0; }
    .kk-line__xlabel--optional { display: none; }

    /* A szűrők telefonon vízszintesen görgethetők. */
    .kk-chips {
        flex-wrap: nowrap;
        overflow-x: auto;
        margin-inline: -20px;
        padding-inline: 20px;
        scrollbar-width: none;
    }
    .kk-chips::-webkit-scrollbar { display: none; }

    .kk-month { margin-block: 44px 4px; }
    .kk-pager { grid-template-columns: 1fr 1fr; }
    .kk-pager__where { display: none; }
    .kk-pager .kk-btn { padding-inline: 12px; letter-spacing: 1.5px; }
}

@media (prefers-reduced-motion: reduce) {
    .kk-page * { transition: none !important; }
}
