/* ==========================================================================
   Santa Barbara County — prototype v2
   Clean magazine layout: Crostan (caps) for headlines & rubrics, Source Serif for reading (Medium-style),
   grotesk for UI. No dividers between blocks — white space does the work.
   Gray boxes = image placeholders.
   ========================================================================== */

@font-face { font-family: "Crostan"; src: url("../fonts/Crostan-Light.woff2") format("woff2"); font-weight: 300; font-display: swap; }
@font-face { font-family: "Crostan"; src: url("../fonts/Crostan-Regular.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Crostan"; src: url("../fonts/Crostan-Medium.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Crostan"; src: url("../fonts/Crostan-SemiBold.woff2") format("woff2"); font-weight: 600; font-display: swap; }
/* Cyrillic for Crostan (caps-only Latin face): Advent Pro, OFL — same height, width and stroke. Used only for Russian letters. */
@font-face { font-family: "Crostan"; src: url("../fonts/AdventPro-Cyrillic-300.woff2") format("woff2"); font-weight: 300; font-display: swap; unicode-range: U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Crostan"; src: url("../fonts/AdventPro-Cyrillic-400.woff2") format("woff2"); font-weight: 400; font-display: swap; unicode-range: U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Crostan"; src: url("../fonts/AdventPro-Cyrillic-500.woff2") format("woff2"); font-weight: 500; font-display: swap; unicode-range: U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Crostan"; src: url("../fonts/AdventPro-Cyrillic-600.woff2") format("woff2"); font-weight: 600; font-display: swap; unicode-range: U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "SBC Serif"; src: url("../fonts/SourceSerif4.ttf") format("truetype"); font-weight: 200 900; font-display: swap; }
@font-face { font-family: "SBC Serif"; src: url("../fonts/SourceSerif4-Italic.ttf") format("truetype"); font-weight: 200 900; font-style: italic; font-display: swap; }
@font-face { font-family: "SBC Sans"; src: url("../fonts/Inter.ttf") format("truetype"); font-weight: 100 900; font-display: swap; }

:root {
	--sbj-display: "Crostan", "Helvetica Neue", Arial, sans-serif;   /* ALL headlines, rubrics, section heads, logo (caps-only face) */
	--sbj-serif: "SBC Serif", "Source Serif 4", "Source Serif Pro", Georgia, Cambria, serif;  /* reading text — same family Medium uses */
	--sbj-sans: "SBC Sans", "Inter", "Helvetica Neue", Arial, sans-serif;

	--sbj-ink: #111;
	--sbj-ink-2: #3c3c3c;
	--sbj-muted: #757575;
	--sbj-red: #d4202c;      /* rubrics */
		--sbj-ph: #dedede;       /* image placeholder */
	--sbj-ad: #cdcdcd;       /* ad placeholder — darker than image placeholders */
	--sbj-hair: #e6e6e6;     /* only: under header, in footer */
	--sbj-foot: #141414;

	--sbj-wrap: 1472px;
	--sbj-pad: 48px;
	--sbj-gut: 32px;
	--sbj-block: 112px;      /* vertical rhythm between home modules */
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: #fff; color: var(--sbj-ink); font: 400 18px/1.58 var(--sbj-serif); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; font-variant-ligatures: common-ligatures; font-feature-settings: "dlig" 0, "hlig" 0; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
.wrap { max-width: calc(var(--sbj-wrap) + var(--sbj-pad) * 2); margin: 0 auto; padding: 0 var(--sbj-pad); }
.narrow { max-width: calc(1100px + var(--sbj-pad) * 2); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.block { margin-top: var(--sbj-block); }

/* ---------- Placeholders ---------- */
.ph { background: var(--sbj-ph); width: 100%; position: relative; display: block; }
.ph::after { content: attr(data-r); position: absolute; left: 10px; bottom: 8px; font: 500 10px/1 var(--sbj-sans); letter-spacing: .06em; color: #a9a9a9; }
.r-3x2 { aspect-ratio: 3/2; } .r-4x3 { aspect-ratio: 4/3; } .r-16x9 { aspect-ratio: 16/9; } .r-1x1 { aspect-ratio: 1/1; }
.r-3x4 { aspect-ratio: 3/4; } .r-4x5 { aspect-ratio: 4/5; } .r-21x9 { aspect-ratio: 21/9; } .r-8x9 { aspect-ratio: 8/9; }
.ph--round { border-radius: 50%; }
.ph--illo { background: #efefef; }
.audio { position: absolute; right: 10px; bottom: 10px; width: 26px; height: 26px; border-radius: 6px; background: rgba(255,255,255,.92); display: grid; place-items: center; }
.audio svg { width: 15px; height: 15px; }

/* ---------- Type ---------- */
.rubric { display: block; font: 400 15px/1.2 var(--sbj-display); letter-spacing: .08em; color: #8a8a8a; text-transform: uppercase; margin: 0 0 10px; }
.rubric--ink { color: var(--sbj-ink); }
.rubric--white { color: #fff; }
.caps { font-family: var(--sbj-display); font-weight: 400; letter-spacing: .035em; text-transform: uppercase; letter-spacing: .005em; margin: 0; }
.caps--xxl { font-size: clamp(38px, 3.6vw, 56px); line-height: 1.04; }
.caps--xl { font-size: clamp(32px, 2.9vw, 44px); line-height: 1.06; }
.caps--l { font-size: 34px; line-height: 1.1; }
.hed { font-family: var(--sbj-display); font-weight: 500; margin: 0; letter-spacing: .015em; text-transform: uppercase; }
.hed--l { font-size: 26px; line-height: 1.16; }
.hed--m { font-size: 21px; line-height: 1.2; }
.hed--s { font-size: 18px; line-height: 1.22; }
/* UNDERLINE TOKEN — one rule for the whole site:
   2px bar under the text; on hover a black bar fills it left → right (GSAP).
   .ul = link with a visible grey base line; headline / menu links have the same bar with no base (hover only). */
.ul, .hed a, .caps a, .nav a, .foot li a {
	--sbj-ul-base: transparent; --sbj-ul-fill: var(--sbj-ink);
	text-decoration: none; padding-bottom: 3px; -webkit-box-decoration-break: clone; box-decoration-break: clone;
	background-image: linear-gradient(var(--sbj-ul-fill), var(--sbj-ul-fill)), linear-gradient(var(--sbj-ul-base), var(--sbj-ul-base));
	background-size: 0% 2px, 100% 2px; background-position: 0 100%, 0 100%; background-repeat: no-repeat; }
.ul { --sbj-ul-base: #cfcfcf; }
.foot li a { --sbj-ul-fill: #fff; }
.nav a.is-active { background-size: 100% 2px, 100% 2px; }
.no-gsap .ul, .no-gsap .hed a, .no-gsap .caps a, .no-gsap .nav a, .no-gsap .foot li a { transition: background-size .45s cubic-bezier(.2,.8,.2,1); }
.no-gsap .ul:hover, .no-gsap .hed a:hover, .no-gsap .caps a:hover, .no-gsap .nav a:hover, .no-gsap .foot li a:hover { background-size: 100% 2px, 100% 2px; }
.dek { font-family: var(--sbj-serif); color: var(--sbj-ink-2); margin: 12px 0 0; }
.dek--l { font-size: 21px; line-height: 1.45; }
.dek--m { font-size: 16.5px; line-height: 1.55; }
.dek b, .dek strong { font-family: var(--sbj-sans); font-weight: 650; color: var(--sbj-ink); font-size: .92em; }
.byline { font: 650 14px/1.4 var(--sbj-sans); color: var(--sbj-ink); margin: 14px 0 0; }
.byline .src { font-weight: 500; color: var(--sbj-muted); }
.byline { display: flex; align-items: center; gap: 8px; }
.av { width: 24px; height: 24px; border-radius: 50%; background: #cfcfcf; flex: none; background-size: cover; background-position: center; }
.card--center .byline, .split__text .byline, .art-head .byline { justify-content: center; }


.meta { font: 500 13px/1.5 var(--sbj-sans); color: var(--sbj-muted); }
.link { color: var(--sbj-ink); }

.listen { display: inline-flex; align-items: center; gap: 9px; margin-top: 22px; padding: 10px 18px 10px 14px; border: 1px solid #dcdcdc; border-radius: 999px; font: 600 14px/1 var(--sbj-sans); background: #fff; }
.listen svg { width: 22px; height: 22px; }
.listen:hover { border-color: var(--sbj-ink); }
.listen.is-playing { border-color: var(--sbj-ink); }
.listen .dur { font-weight: 500; color: var(--sbj-muted); }

/* ---------- Ads ---------- */
.ad { position: relative; text-align: center; }
.ad__label { position: absolute; top: 9px; right: 12px; z-index: 1; font: 600 9.5px/1 var(--sbj-sans); letter-spacing: .16em; text-transform: uppercase; color: #5f5f5f; }
.ad__box { margin: 0 auto; background: var(--sbj-ad); display: grid; place-items: center; font: 500 12px/1 var(--sbj-sans); color: #7d7d7d; letter-spacing: .04em; }
.ad--mpu, .ad--half { width: max-content; margin: 0 auto; }
/* Horizontal placements: one thin strip across the content width */
.ad--strip .ad__box { width: 100%; height: 250px; }
.ad--top .ad__box { height: 250px; }   /* edge-to-edge banner above the header */
.ad--bottom { margin-top: var(--sbj-block); }   /* edge-to-edge banner glued to the footer */
.ad--bottom + .foot { margin-top: 0; }
.issue + .foot { margin-top: var(--sbj-block); }
.ad--mpu .ad__box { width: 300px; height: 250px; }
.ad--half .ad__box { width: 300px; height: 600px; }
.ad--inline { margin: 44px 0; }
.ad-slot { margin-top: var(--sbj-block); }

/* ---------- Header ---------- */
.site-head { position: sticky; top: 0; z-index: 50; background: #fff; border-bottom: 1px solid var(--sbj-hair); }
.site-head__bar { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; height: 62px; padding: 0 24px; }
.site-head__left { display: flex; align-items: center; gap: 18px; }
.site-head__right { display: flex; align-items: center; justify-content: flex-end; gap: 16px; font: 600 13px/1 var(--sbj-sans); }
.logo { font: 500 26px/1 var(--sbj-display); letter-spacing: .04em; text-transform: uppercase; text-align: center; white-space: nowrap; }
.logo small { display: block; font: 400 10.5px/1 var(--sbj-display); letter-spacing: .28em; margin-bottom: 3px; }
.btn-sub { display: inline-flex; align-items: center; padding: 10px 18px; border: 1px solid var(--sbj-ink); border-radius: 999px; background: var(--sbj-ink); color: #fff; font: 600 14px/1 var(--sbj-sans); }
.btn-sub:hover { background: #333; border-color: #333; }
.icon-btn { display: inline-grid; place-items: center; width: 28px; height: 28px; }
.icon-btn svg { width: 18px; height: 18px; }
.burger-btn { display: none; }

.nav { background: #fff; position: sticky; top: 63px; z-index: 45; border-bottom: 1px solid var(--sbj-hair); }
.nav ul { display: flex; justify-content: center; gap: 18px; list-style: none; margin: 0; padding: 0 24px; height: 48px; align-items: center; overflow-x: auto; scrollbar-width: none; }
.nav ul::-webkit-scrollbar { display: none; }
.nav a { font: 600 13px/1 var(--sbj-sans); white-space: nowrap; padding: 6px 0; }
.nav--home { position: sticky; }

/* Drawer & search */
.drawer, .sidebar { position: fixed; inset: 0; z-index: 100; visibility: hidden; }
.drawer.is-open, .sidebar.is-open { visibility: visible; }
.drawer__shade, .sidebar__shade { position: absolute; inset: 0; background: rgba(0,0,0,.3); }
.drawer__panel { position: absolute; inset: 0 auto 0 0; width: min(380px, 90vw); background: #fff; overflow-y: auto; scrollbar-width: none; padding: 22px 28px 40px; }
.drawer__panel::-webkit-scrollbar, .sidebar__panel::-webkit-scrollbar { display: none; }
.drawer__close { font: 600 13px/1 var(--sbj-sans); margin-bottom: 24px; }
.drawer ul { list-style: none; margin: 0; padding: 0; }
.drawer .rubric { margin-top: 32px; }
.search-ov { position: fixed; inset: 0; z-index: 110; background: #fff; visibility: hidden; padding-top: 110px; }
.search-ov.is-open { visibility: visible; }
.search-ov form { max-width: 900px; margin: 0 auto; padding: 0 var(--sbj-pad); }
.search-ov input, .search-big { width: 100%; border: 0; border-bottom: 1.5px solid var(--sbj-ink); font: 400 40px/1.2 var(--sbj-display); text-transform: uppercase; letter-spacing: .02em; padding: 10px 0; outline: none; background: transparent; }
.search-ov .close { position: absolute; right: 32px; top: 26px; font: 600 13px/1 var(--sbj-sans); }
.search-ov .hint { font: 500 13px/1.5 var(--sbj-sans); color: var(--sbj-muted); margin-top: 14px; }
.field { display: flex; border: 1px solid #cfcfcf; border-radius: 2px; overflow: hidden; background: #fff; }
.field input { flex: 1; border: 0; padding: 14px 16px; outline: none; min-width: 0; }
.field input, .add-biz__field input, .add-biz__ph { font: 400 16px var(--sbj-sans); }
.field button { background: var(--sbj-ink); color: #fff; padding: 0 22px; font: 650 14px/1 var(--sbj-sans); }

/* ---------- Split block: text centered on the left, image on the right ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split__text { text-align: center; max-width: 560px; margin: 0 auto; }
.split__text .dek { margin-top: 16px; }
.split--reverse .split__media { order: -1; }
.split--portrait { grid-template-columns: 1.15fr .85fr; }
.split--portrait .split__media { max-width: 440px; justify-self: center; width: 100%; }
.hero { padding-top: 0; }
.hero__text { padding: 60px 24px; }
.hero .split { min-height: 560px; }
.hero .split__media { align-self: stretch; }
.hero .split__media .ph { height: 100%; min-height: 520px; }
.mosaic { display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px 40px; padding: 0 30px; }

/* Promo strip */
.promo { display: flex; justify-content: center; align-items: center; gap: 16px; padding: 30px 0 0; font: 500 14px/1.4 var(--sbj-sans); }
.promo .ph, .promo__icon { width: 46px; height: 46px; border-radius: 22%; flex: none; object-fit: cover; display: block; }
.promo b { font-weight: 650; }
.promo a { font-weight: 650; }

/* Section heading */
.sec { text-align: center; margin: 0 0 52px; }
.sec h2 { font: 500 36px/1.1 var(--sbj-display); text-transform: uppercase; margin: 0; letter-spacing: .03em; }
.sec p { font: 400 19px/1.45 var(--sbj-serif); margin: 14px 0 0; color: var(--sbj-ink); }
.sec .illo { width: 300px; height: 84px; margin: 0 auto 18px; }
.sec .illo--under { margin: 20px auto 0; }

/* Grids */
.grid { display: grid; gap: 56px var(--sbj-gut); }
.g-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.g-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 56px 64px; }
.g-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.card .media { position: relative; margin-bottom: 18px; display: block; }
.card--center { text-align: center; }
.card--center .media { width: 62%; margin-left: auto; margin-right: auto; }
.when { font: 650 13px/1.3 var(--sbj-sans); margin: 0 0 8px; }
.when span { color: var(--sbj-muted); font-weight: 500; }
.card .venue { font: 650 13px/1.3 var(--sbj-sans); color: var(--sbj-ink); margin: 8px 0 0; }

/* Carousel */
.rail-wrap { position: relative; }
.rail { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - var(--sbj-gut) * 3) / 4); gap: var(--sbj-gut); overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.no-gsap .rail { scroll-behavior: smooth; }
.rail::-webkit-scrollbar { display: none; }
.rail > * { scroll-snap-align: start; }
.rail-btn { position: absolute; top: 50%; transform: translateY(-50%); width: 40px; height: 40px; border-radius: 50%; background: #fff; border: 1px solid #dcdcdc; display: grid; place-items: center; z-index: 2; }
.rail-btn:hover { border-color: var(--sbj-ink); }
.rail-btn svg { width: 18px; height: 18px; }
/* Arrows sit in the middle of the gap between the screen edge and the content edge */
.rail-wrap { --sbj-side: max(var(--sbj-pad), calc((100vw - var(--sbj-wrap)) / 2)); --sbj-mid: max(calc(var(--sbj-side) / 2), 22px); }
.rail-btn--prev { left: calc(var(--sbj-mid) - var(--sbj-side) - 20px); }
.rail-btn--next { right: calc(var(--sbj-mid) - var(--sbj-side) - 20px); }
.rail-btn[disabled] { opacity: .3; cursor: default; }
.dots { display: flex; justify-content: center; gap: 12px; margin-top: 40px; }
.dots button { width: 7px; height: 7px; border-radius: 50%; background: #d4d4d4; }
.dots button.is-active { background: var(--sbj-ink); }

/* In case you missed it */
.icymi > h3 { font: 500 24px/1 var(--sbj-display); text-transform: uppercase; letter-spacing: .03em; text-align: center; margin: 0 0 30px; }
.icymi__row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--sbj-gut); }
.mini { display: grid; grid-template-columns: 1fr 64px; gap: 16px; align-items: start; }
.mini .hed { font-size: 16px; line-height: 1.25; }
.mini .byline { margin-top: 10px; font-size: 13.5px; }
.mini--sponsored { background: #f3f3f3; padding: 12px 10px 14px; }
.mini--sponsored .kicker { font: 600 11.5px/1 var(--sbj-sans); color: var(--sbj-muted); text-transform: uppercase; letter-spacing: .03em; display: block; margin-bottom: 8px; }
.mini--sponsored .hed { font: 600 15px/1.4 var(--sbj-sans); text-transform: none; letter-spacing: 0; }
.mini--sponsored .by { font: 500 11.5px/1 var(--sbj-sans); color: var(--sbj-muted); text-transform: uppercase; display: block; margin-top: 8px; }
.mini--sponsored .adtag { font: 500 10px/1 var(--sbj-sans); color: var(--sbj-muted); display: block; margin-bottom: 2px; }

/* Excerpt block */
.excerpt { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.excerpt__left { text-align: center; }
.excerpt__left .ph { width: 52%; margin: 22px auto 0; }
.excerpt__text { font-size: 20px; line-height: 1.6; max-width: 600px; padding-top: 30px; }
.excerpt__text p { margin: 0; }
.dropcap::first-letter { font-family: var(--sbj-display); font-weight: 500; float: left; font-size: 80px; line-height: .78; margin: 8px 12px 0 0; text-transform: uppercase; }

/* ---------- Footer ---------- */
.foot { background: var(--sbj-foot); color: #cfcfcf; margin-top: var(--sbj-block); padding: 34px 0 40px; }
.foot .logo { color: #fff; display: block; font-size: 25px; }
.foot__rule { border: 0; border-top: 1px solid #3a3a3a; margin: 30px 0; }
.foot__rule--blank { border-top-color: transparent; }   /* spacing kept, line removed */
.foot__cols { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--sbj-gut); }
.foot h4 { font: 500 15px/1 var(--sbj-display); letter-spacing: .05em; color: #fff; text-transform: uppercase; margin: 0 0 14px; }
.foot h4.ghost { visibility: hidden; }
.foot ul { list-style: none; margin: 0; padding: 0; }
.foot li { font: 500 14px/1.75 var(--sbj-sans); }
.foot li a:hover { color: #fff; }
.foot__legal { display: flex; justify-content: space-between; align-items: center; gap: 30px; }
.foot__legal p { font: 400 10.5px/1.5 var(--sbj-sans); margin: 0; max-width: 960px; }
.foot .foot__legal a.ul { --sbj-ul-base: #4a4a4a; --sbj-ul-fill: #fff; }
.social { display: flex; gap: 18px; }
.social a { width: 30px; height: 30px; display: grid; place-items: center; color: #fff; }
.social svg { width: 26px; height: 26px; }
.foot__end { height: 13px; }   /* keeps the former bottom distance */

/* ---------- Inner pages ---------- */
.page-head { text-align: center; padding: 64px 0 8px; }
.page-head h1 { font: 400 clamp(44px, 5vw, 72px)/1 var(--sbj-display); text-transform: uppercase; margin: 0; }
.page-head p { font: 400 20px/1.5 var(--sbj-serif); margin: 16px auto 0; max-width: 680px; }
.chips { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; margin: 30px 0 0; }
.chip { font: 600 13px/1 var(--sbj-sans); padding: 9px 15px; border-radius: 999px; border: 1px solid #d6d6d6; background: #fff; }
.chip:hover { border-color: var(--sbj-ink); }
.chip.is-active { background: var(--sbj-ink); border-color: var(--sbj-ink); color: #fff; }
.layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 72px; }
.aside-sticky { position: sticky; top: 132px; display: grid; gap: 48px; }
.river { list-style: none; margin: 0; padding: 0; display: grid; gap: 48px; }
.river li { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 40px; align-items: start; }
.river--time li { grid-template-columns: 110px minmax(0, 1fr) 220px; }
.river .time { font: 650 13px/1.5 var(--sbj-sans); padding-top: 4px; }
.more-btn { display: block; margin: 56px auto 0; font: 650 14px/1 var(--sbj-sans); padding: 14px 26px; border: 1px solid var(--sbj-ink); border-radius: 999px; }
.more-btn:hover { background: var(--sbj-ink); color: #fff; }
.pager { display: flex; justify-content: center; gap: 8px; margin-top: 56px; font: 600 14px/1 var(--sbj-sans); }
.pager a, .pager span { padding: 10px 14px; border-radius: 999px; }
.pager .is-cur { background: var(--sbj-ink); color: #fff; }
.filters { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; align-items: center; margin: 30px 0 0; }
.filters select, .filters input[type=date] { font: 600 13px var(--sbj-sans); border: 1px solid #d6d6d6; border-radius: 999px; padding: 8px 14px; background: #fff; }

/* Article */
.art-head { text-align: center; max-width: 980px; margin: 0 auto; padding: 64px 0 0; }
.art-head .caps { font-size: clamp(40px, 4.6vw, 66px); line-height: 1.03; }
.art-head .dek { font-size: 23px; line-height: 1.42; margin-top: 22px; }
.art-head .byline { font-size: 15px; margin-top: 22px; }
.art-head .meta { margin-top: 6px; }
.art-tools { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 10px; margin-top: 22px; }
.art-tools .listen { margin: 0; }
.tool { font: 600 13px/1 var(--sbj-sans); padding: 12px 16px; border-radius: 999px; border: 1px solid #dcdcdc; }
.tool:hover { border-color: var(--sbj-ink); }
.art-hero { max-width: 1240px; margin: 48px auto 0; }
.caption { font: 400 13px/1.5 var(--sbj-sans); color: var(--sbj-muted); margin-top: 10px; }
.body { max-width: 680px; margin: 56px auto 0; font-size: 20px; line-height: 1.6; letter-spacing: -.003em; }
.body p { margin: 0 0 1.2em; }
.body .dropcap::first-letter { font-size: 96px; }
.body .sc { font-variant: small-caps; letter-spacing: .03em; }
.body h2 { font: 400 28px/1.2 var(--sbj-display); text-transform: uppercase; margin: 1.8em 0 .7em; text-align: center; }
.pull { font: 500 30px/1.25 var(--sbj-display); text-transform: uppercase; letter-spacing: .03em; text-align: center; margin: 52px -60px; color: var(--sbj-ink); }
.fig { margin: 44px 0; }
.fig--wide { margin: 52px -160px; }
.endmark { display: inline-block; width: 11px; height: 11px; background: var(--sbj-ink); margin-left: 6px; }
.bio { max-width: 680px; margin: 40px auto 0; font: 400 18px/1.55 var(--sbj-serif); color: var(--sbj-ink-2); }
.bio a { font-family: var(--sbj-sans); font-weight: 650; font-size: .9em; color: var(--sbj-ink); }
.tags { max-width: 680px; margin: 28px auto 0; display: flex; flex-wrap: wrap; gap: 8px; }

/* Brief (aggregated summary) */
.attrib { max-width: 680px; margin: 40px auto 0; text-align: center; }
.attrib .src-name { font: 650 14px/1.4 var(--sbj-sans); }
.btn-orig { display: inline-flex; align-items: center; gap: 8px; margin-top: 18px; padding: 14px 24px; background: var(--sbj-ink); color: #fff; font: 650 14px/1 var(--sbj-sans); border-radius: 999px; }
.btn-orig:hover { background: #333; }
.also { margin-top: 20px; font: 500 14px/1.6 var(--sbj-sans); color: var(--sbj-muted); }
.also a { color: var(--sbj-ink); margin: 0 6px; }
.note { font: 400 12.5px/1.6 var(--sbj-sans); color: var(--sbj-muted); margin-top: 22px; }
.when-where { max-width: 680px; margin: 40px auto 0; display: grid; grid-template-columns: 1fr 1fr; gap: 32px; text-align: center; }
.when-where span { display: block; font: 400 14px/1 var(--sbj-display); text-transform: uppercase; letter-spacing: .08em; color: #8a8a8a; margin-bottom: 10px; }
.when-where div { font-size: 19px; line-height: 1.45; }

/* Events */
.day { margin-bottom: 72px; }
.day h3 { font: 400 26px/1 var(--sbj-display); text-transform: uppercase; text-align: center; margin: 0 0 36px; }
.ev-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 40px; }
.ev-list li { display: grid; grid-template-columns: 120px minmax(0,1fr) 220px; gap: 36px; align-items: start; }
.ev-list .t { font: 650 14px/1.4 var(--sbj-sans); padding-top: 4px; }

/* Author */
.author { text-align: center; padding: 64px 0 0; max-width: 760px; margin: 0 auto; }
.author .ph { width: 140px; margin: 0 auto 26px; }
.author h1 { font: 400 52px/1 var(--sbj-display); text-transform: uppercase; margin: 0; }
.author p { font: 400 20px/1.5 var(--sbj-serif); margin: 16px 0 0; }

/* Newsletters */
.nl-card { text-align: center; }
.nl-card .ph { margin-bottom: 20px; }
.nl-card .freq { font: 600 13px/1 var(--sbj-sans); color: var(--sbj-muted); margin-top: 12px; display: block; }
.nl-card .chip { margin-top: 18px; }
.ok-msg { display: none; font: 650 14px/1.4 var(--sbj-sans); margin-top: 14px; text-align: center; }
.is-sent .ok-msg { display: block; }

/* Sources */
.src-list { columns: 3; column-gap: 64px; list-style: none; margin: 0; padding: 0; }
.src-list li { break-inside: avoid; margin-bottom: 18px; }
.src-list b { display: block; font: 500 17px/1.3 var(--sbj-display); text-transform: uppercase; letter-spacing: .02em; }
.src-list span { font: 500 13px/1.4 var(--sbj-sans); color: var(--sbj-muted); }

.nf { text-align: center; padding: 96px 0 0; }
.nf h1 { font: 400 120px/1 var(--sbj-display); margin: 0; }
.nf p { font: 400 22px/1.4 var(--sbj-serif); }

.proto-note { position: fixed; right: 14px; bottom: 14px; z-index: 90; background: var(--sbj-ink); color: #fff; font: 500 11px/1.4 var(--sbj-sans); padding: 8px 12px; border-radius: 3px; }
.proto-note a { text-decoration: underline; }

/* ---------- Responsive ---------- */
@media (max-width: 1280px) {
	:root { --sbj-pad: 32px; --sbj-block: 96px; }
	.g-4, .icymi__row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.g-5 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.rail { grid-auto-columns: calc((100% - var(--sbj-gut) * 2) / 3); }
	.fig--wide { margin: 52px 0; }
	.pull { margin: 52px 0; }
}
@media (max-width: 900px) {
	:root { --sbj-pad: 20px; --sbj-gut: 20px; --sbj-block: 72px; }
	.site-head__bar { height: 54px; padding: 0 12px; }
	.burger-btn { display: inline-grid; }
	.site-head__right .hide-m { display: none; }
	.logo { font-size: 20px; }
	.logo small { font-size: 8.5px; }
	.nav { top: 55px; }
	.nav ul { justify-content: flex-start; }
	.split, .split--portrait, .excerpt { grid-template-columns: 1fr; gap: 26px; }
	.split__media { order: -1; }
	.hero .split { min-height: 0; }
	.hero .split__media .ph { min-height: 0; aspect-ratio: 4/3; height: auto; }
	.g-3 { grid-template-columns: 1fr; }
	.g-5 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.layout { grid-template-columns: 1fr; }
	.aside-sticky { position: static; justify-items: center; }
	.river li { grid-template-columns: minmax(0, 1fr) 120px; gap: 18px; }
	.river--time li { grid-template-columns: 64px minmax(0, 1fr); }
	.river--time li .ph { display: none; }
	.ev-list li { grid-template-columns: 80px minmax(0, 1fr); }
	.ev-list li .ph { display: none; }
	.rail { grid-auto-columns: 100%; }
	.rail-btn { display: none; }
	.foot__cols { grid-template-columns: 1fr 1fr; }
	.foot__legal { flex-direction: column; align-items: flex-start; }
	.src-list { columns: 1; }
	.ad--strip .ad__box, .ad--top .ad__box { height: 250px; }
	.body { font-size: 19px; }
	.sec h2 { font-size: 28px; }
	.when-where { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
	.g-4, .icymi__row, .g-5 { grid-template-columns: 1fr; }
	.card--center .media { width: 75%; }
	.site-head__right { gap: 8px; }
	.site-head__bar { padding: 0 16px; column-gap: 12px; }
	.logo { font-size: 14px; letter-spacing: .02em; }
	.btn-sub { font-size: 12.5px; padding: 8px 11px; }
	.hero__text { padding: 30px 20px 0; }
}

/* App promo (hero) */
.app-icon { width: 84px; height: 84px; margin: 0 auto 26px; display: block; border-radius: 22%; object-fit: cover; }
.app-tag { font: 650 14px/1.4 var(--sbj-sans); margin: 18px 0 0; }
.store-row { display: flex; justify-content: center; gap: 10px; margin-top: 22px; flex-wrap: wrap; }
.store { display: inline-flex; align-items: center; gap: 8px; padding: 11px 18px; border-radius: 999px; background: var(--sbj-ink); color: #fff; font: 600 14px/1 var(--sbj-sans); }
.store--ghost { background: #fff; color: var(--sbj-ink); border: 1px solid #dcdcdc; }
.store--ghost:hover { border-color: var(--sbj-ink); }
.store svg { width: 16px; height: 16px; }

/* Issue hero (Kinfolk mechanics): title, full-bleed slider, click halves / drag, cursor counter */
.issue { margin-top: var(--sbj-block); text-align: center; }
.issue__head { padding: 0 var(--sbj-pad); margin-bottom: 56px; }
.issue__slider { position: relative; height: 600px; overflow: hidden; cursor: pointer; touch-action: pan-y; user-select: none; }
.issue__slider.is-dragging { cursor: grabbing; }
.issue__track { display: flex; height: 100%; will-change: transform; }
.no-gsap .issue__track { transition: transform .7s cubic-bezier(.25, 1, .5, 1); }
.issue__slider.is-dragging .issue__track { transition: none; }
.issue__slide { flex: 0 0 100%; height: 100%; display: grid; place-items: center; }
.issue__slide .ph { height: 100%; width: auto; max-width: calc(100% - var(--sbj-pad) * 2); }
.issue__half { position: absolute; top: 0; bottom: 0; width: 50%; background: transparent; cursor: inherit; }
.issue__half--prev { left: 0; } .issue__half--next { right: 0; }
.issue__count { position: fixed; left: 0; top: 0; z-index: 60; pointer-events: none; opacity: 0; font: 600 14px/1 var(--sbj-sans); white-space: nowrap; }
.no-gsap .issue__count { transition: opacity .3s; }
.no-gsap .issue__count.is-on { opacity: 1; }
.issue__links { display: flex; justify-content: center; align-items: center; gap: 14px; margin: 40px 0 0; font: 600 14px/1.4 var(--sbj-sans); }
.issue__links span { color: var(--sbj-muted); font-weight: 400; }
@media (hover: none) { .issue__count { position: static; display: block; opacity: 1; margin-top: 18px; } }
@media (max-width: 900px) { .issue__slider { height: 420px; } .issue__head { margin-bottom: 36px; } }
.issue__count b { font-weight: inherit; }

/* Sign-in sidebar (right) */
.sidebar__panel { position: absolute; top: 0; right: 0; bottom: 0; width: min(440px, 92vw); background: #fff; overflow-y: auto; scrollbar-width: none; padding: 22px 32px 40px; display: flex; flex-direction: column; gap: 18px; }
.sidebar__panel .drawer__close { align-self: flex-end; margin-bottom: 18px; }
.sidebar__btns { display: grid; gap: 10px; margin-top: 8px; }
.btn-pill { display: flex; justify-content: center; align-items: center; padding: 13px 18px; border-radius: 999px; background: var(--sbj-ink); color: #fff; border: 1px solid var(--sbj-ink); font: 600 14px/1 var(--sbj-sans); }
.btn-pill--ghost { background: #fff; color: var(--sbj-ink); border-color: #dcdcdc; }
.btn-pill--ghost:hover { border-color: var(--sbj-ink); }
.sidebar__form .field button { border-radius: 0; }
.sidebar__foot { font: 500 14px/1.4 var(--sbj-sans); margin: 4px 0 0; }

/* Infinite scroll switch (header, top-left) */
.feed-switch { display: inline-flex; align-items: center; gap: 8px; font: 600 13px/1 var(--sbj-sans); }
.feed-switch__track { position: relative; width: 30px; height: 18px; border-radius: 999px; background: var(--sbj-ink); flex: none; }
.feed-switch__knob { position: absolute; top: 2px; left: 2px; width: 14px; height: 14px; border-radius: 50%; background: #fff; transform: translateX(12px); }
.feed-switch[aria-checked="false"] .feed-switch__track { background: #cfcfcf; }
.feed-switch[aria-checked="false"] .feed-switch__knob { transform: translateX(0); }
.no-gsap .feed-switch__track { transition: background .25s; }
.no-gsap .feed-switch__knob { transition: transform .25s; }
@media (max-width: 560px) { .feed-switch__lbl { display: none; } .site-head__left { gap: 10px; } .site-head__bar { padding: 0 12px; column-gap: 10px; } }

/* Infinite feed on article pages */
.feed > .story { margin-top: var(--sbj-block); }
.body .ad--inline .ad__box { width: 100%; height: 250px; }

/* ---------- City Guide (directory) ---------- */
.g-search { max-width: 640px; margin: 30px auto 0; }
.guide { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 64px; }
.guide ul { list-style: none; margin: 0; padding: 0; }
.guide .hed { margin-bottom: 16px; }
.g-pop { margin-bottom: 72px; }
.g-pop ul { display: flex; flex-wrap: wrap; gap: 12px 28px; }
.guide__cats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 64px var(--sbj-gut); }
.g-cat li, .g-pop li, .guide__side li { font: 400 17px/1.6 var(--sbj-serif); }
.g-cat li + li { margin-top: 6px; }
.guide__side > ul li + li { margin-top: 16px; }
.guide__side .ad { margin-top: 56px; }
.g-add { display: inline-flex; align-items: center; gap: 12px; font: 600 15px/1 var(--sbj-sans); margin-bottom: 40px; }
.g-add__plus { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--sbj-ink); color: #fff; font: 500 18px/1 var(--sbj-sans); }

/* ---------- Media Kit quiz ---------- */
.quiz { position: relative; min-height: calc(100vh - 63px); display: grid; align-items: center; text-align: center; padding: 72px 0 var(--sbj-block); overflow: hidden; }
.quiz__q { max-width: 980px; margin: 0 auto; }
.quiz__q .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .06em; }
.quiz__q .w > span { display: inline-block; }
.quiz__dek { max-width: 640px; margin: 22px auto 0; }
.quiz__opts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; max-width: 1180px; margin: 56px auto 0; text-align: left; }
.opt { position: relative; display: flex; flex-direction: column; gap: 10px; min-height: 164px; padding: 22px 22px 24px; border: 1px solid #dcdcdc; border-radius: 2px; background: #fff; color: var(--sbj-ink); }
.opt__key { display: grid; place-items: center; width: 24px; height: 24px; border: 1px solid #cfcfcf; border-radius: 2px; font: 600 12px/1 var(--sbj-sans); color: var(--sbj-muted); margin-bottom: 8px; }
.opt__desc { font: 400 15px/1.45 var(--sbj-serif); color: var(--sbj-ink-2); }
.opt.is-picked, .opt.is-picked .opt__desc, .opt.is-picked .opt__key { color: #fff; border-color: #fff; }
.no-gsap .opt { transition: border-color .2s; }
.no-gsap .opt:hover, .opt:focus-visible { border-color: var(--sbj-ink); outline: none; }
.no-gsap .opt.is-picked { background: var(--sbj-ink); border-color: var(--sbj-ink); }
.quiz__hint { margin-top: 28px; }
.quiz__done { position: fixed; inset: 63px 0 0; z-index: 40; background: #fff; display: grid; place-content: center; justify-items: center; gap: 0; padding: 0 var(--sbj-pad); visibility: hidden; opacity: 0; }
.quiz__done .caps { max-width: 900px; }
.quiz__bar { display: block; width: 320px; max-width: 70vw; height: 2px; margin-top: 36px; background: #cfcfcf; }
.quiz__bar span { display: block; height: 100%; width: 0; background: var(--sbj-ink); }

/* ---------- Media Kit landing ---------- */
.mk-head h1 { max-width: 1100px; margin: 0 auto; }
.mk-head .rubric { margin-bottom: 18px; }
.mk-actions { display: flex; justify-content: center; align-items: center; gap: 28px; margin-top: 32px; font: 600 14px/1 var(--sbj-sans); }
.mk-head + .art-hero { margin-top: 64px; }
.mk-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--sbj-gut); text-align: center; }
.mk-stat b { display: block; font: 400 clamp(44px, 4.4vw, 64px)/1 var(--sbj-display); text-transform: uppercase; }
.mk-stat .meta { display: block; margin-top: 12px; }
.mk-made .hed { margin-top: 18px; }
.mk-pack { text-align: center; display: flex; flex-direction: column; align-items: center; }
.mk-pack .meta { margin-top: 10px; }
.mk-pack ul { list-style: none; margin: 24px 0 28px; padding: 0; font: 400 16.5px/1.5 var(--sbj-serif); color: var(--sbj-ink-2); flex: 1; }
.mk-pack li + li { margin-top: 10px; }
.mk-pack .btn-pill { min-width: 220px; }
.mk-form { display: grid; gap: 12px; max-width: 560px; margin: 0 auto; }
.mk-form input, .mk-form textarea { width: 100%; border: 1px solid #cfcfcf; border-radius: 2px; padding: 14px 16px; font: 400 16px/1.4 var(--sbj-sans); outline: none; background: #fff; resize: vertical; }
.mk-form input:focus, .mk-form textarea:focus { border-color: var(--sbj-ink); }
.mk-form .btn-pill { margin-top: 8px; }

/* ---------- UI Kit ---------- */
.kit-sws { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px var(--sbj-gut); }
.kit-sw > span:first-child { display: block; height: 96px; border: 1px solid var(--sbj-hair); margin-bottom: 12px; }
.kit-sw b { display: block; font: 600 14px/1.3 var(--sbj-sans); }
.kit-row { display: grid; grid-template-columns: 240px minmax(0, 1fr); min-width: 0; gap: 32px; align-items: start; padding: 22px 0; }
.kit-label { font: 500 13px/1.4 var(--sbj-sans); color: var(--sbj-muted); }
.kit-inline { min-width: 0; display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.kit-inline .listen { margin-top: 0; }

@media (max-width: 1100px) {
	.guide { grid-template-columns: 1fr; }
	.guide__cats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.quiz__opts { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.mk-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 48px; }
}
@media (max-width: 760px) {
	.quiz__opts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.kit-row { grid-template-columns: minmax(0, 1fr); gap: 10px; }
	.kit-row .field input { width: 0; }
	.kit-sws { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
	.guide__cats { grid-template-columns: 1fr; gap: 48px; }
	.quiz__opts { grid-template-columns: 1fr; }
	.opt { min-height: 0; }
	.mk-actions { flex-direction: column; gap: 20px; }
}
.kit-row .app-icon { margin: 0; }

/* ---------- City Guide › category & business ---------- */
.crumbs { margin: 0 0 22px; }
.crumbs span { color: #b5b5b5; margin: 0 4px; }
.page-head .crumbs { font-size: 13px; margin: 0 0 22px; max-width: none; }
.gc-actions { display: flex; justify-content: center; margin-top: 26px; }
.gc-actions .btn-pill { min-width: 200px; }
.places { list-style: none; margin: 0; padding: 0; }
.place { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: var(--sbj-gut); }
.place + .place { margin-top: 64px; }
.place__body .rubric { display: inline-block; }
.place__status { font: 600 14px/1.4 var(--sbj-sans); margin: 10px 0 0; }
.place-head .place__status { margin-top: 16px; font-size: 15px; }
.place-head .rubric { margin-bottom: 14px; }
.place__facts { margin: 18px 0 0; display: grid; gap: 8px; }
.place__facts div, .hours div { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 16px; }
.place__facts dt, .hours dt { font: 500 13px/1.6 var(--sbj-sans); color: var(--sbj-muted); }
.place__facts dd, .hours dd { margin: 0; font: 400 16.5px/1.6 var(--sbj-serif); color: var(--sbj-ink-2); }
.place__side .place__facts div, .place__side .hours div { grid-template-columns: 100px minmax(0, 1fr); }
.place__side .hed { margin-bottom: 10px; }
.hours { margin: 0; display: grid; gap: 2px; }
.pager { display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 16px; margin-top: 80px; font-size: 14px; }
.pager > a:not(.ul) { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; font-weight: 600; color: var(--sbj-ink); }
.pager > a.is-cur { background: var(--sbj-ink); color: #fff; }
.pager > a:not(.ul):not(.is-cur):hover { box-shadow: inset 0 0 0 1px var(--sbj-ink); }
.good { list-style: none; margin: 0; padding: 0; columns: 2; column-gap: var(--sbj-gut); font: 400 17px/1.6 var(--sbj-serif); }
.good li { break-inside: avoid; margin-bottom: 6px; }
.offers { display: grid; gap: 48px; }
.offer .meta { margin-top: 10px; }
.reviews { list-style: none; margin: 0; padding: 0; display: grid; gap: 40px; }
.review .byline { margin: 0; }
.review .byline b { font: 600 14px/1 var(--sbj-sans); }
.review .dek { margin-top: 12px; }
.reviews + .more-btn { margin: 56px 0 0; }
.photos { gap: var(--sbj-gut); }
@media (max-width: 760px) {
	.place { grid-template-columns: 1fr; gap: 18px; }
	.place__facts div, .hours div { grid-template-columns: 104px minmax(0, 1fr); gap: 12px; }
	.good { columns: 1; }
	.photos { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.tabs { flex-wrap: nowrap; overflow-x: auto; }
}

/* ---------- Add Your Business (Vesna mechanics): black pill sticky at bottom center; black plate with a live field above the footer.
   Type and buttons come from the UI kit: .btn-pill + .hed--m, .sec, Field font. Only layout lives here. ---------- */
.add-biz { margin-top: var(--sbj-block); min-height: 80vh; background: #000; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 64px var(--sbj-pad); text-align: center; }
.add-biz ~ .foot { margin-top: 0; }
.add-biz .sec { margin-bottom: 36px; }
.add-biz .sec h2 { color: #fff; }
.add-biz__field { position: relative; width: min(583px, 100%); height: 52px; border-radius: 60px; background: rgba(255,255,255,.1); display: flex; align-items: center; justify-content: center; cursor: text; }
.add-biz__field input { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; outline: none; background: transparent; color: #fff; text-align: center; padding: 0 28px; border-radius: 60px; caret-color: #fff; }
.add-biz__ph { color: rgba(255,255,255,.3); margin-left: 3px; pointer-events: none; }
.add-biz__field.is-typing .add-biz__ph { display: none; }
.add-biz__field:hover { background: rgba(255,255,255,.14); }
.add-biz__caret { width: 2px; height: 26px; background: #fff; pointer-events: none; }
.add-biz__field.is-typing .add-biz__caret { display: none; }
.no-gsap .add-biz__caret { animation: sbj-caret 1.06s steps(1) infinite; }
@keyframes sbj-caret { 50% { opacity: 0; } }
.add-fab { position: fixed; left: 50%; bottom: 22px; z-index: 45; transform: translateX(-50%); height: 49px; padding: 0 26px; white-space: nowrap; }
.add-fab .hed { line-height: 1; padding-top: 2px; }
.add-fab.is-hidden { pointer-events: none; }
.no-gsap .add-fab { transition: opacity .3s; }
.no-gsap .add-fab.is-hidden { opacity: 0; }

/* City Guide › category: filters sidebar + sticky icon between the columns; paid listing star */
.guide--filters { grid-template-columns: minmax(0, 1fr) 28px 300px; gap: 64px 40px; }
.gf-col { position: relative; }
.gf-btn { position: sticky; top: 135px; }
.gf-label { margin-top: 18px; }
.gf-chips { justify-content: flex-start; margin: 0; }
.gf-apply { margin-top: 18px; }
.chip--tag { display: inline-block; margin-left: 10px; vertical-align: 1px; padding: 6px 11px; pointer-events: none; }
.place { position: relative; }
.place.is-paid .place__body { padding-right: 52px; }
.paid-star { position: absolute; top: 0; right: 0; height: 28px; display: inline-flex; align-items: center; gap: 3px; cursor: default; z-index: 2; }
.paid-star b { font: 400 20px/1 var(--sbj-display); }
.paid-star svg { width: 18px; height: 18px; fill: var(--sbj-ink); }
.tip { display: none; position: absolute; right: 0; bottom: calc(100% + 8px); width: max-content; max-width: min(240px, calc(100vw - 32px)); padding: 9px 12px; border-radius: 2px; background: var(--sbj-ink); color: #fff; font: 500 13px/1.4 var(--sbj-sans); visibility: hidden; opacity: 0; pointer-events: none; text-align: left; }
.no-gsap .tip { transition: opacity .2s, visibility .2s; }
.no-gsap .paid-star:hover .tip, .no-gsap .paid-star:focus .tip { display: block; visibility: visible; opacity: 1; }
@media (max-width: 1100px) {
	.guide--filters { grid-template-columns: 1fr; }
	.gf-col { order: -1; position: sticky; top: 116px; align-self: start; height: 0; z-index: 3; }
	.gf-btn { position: absolute; top: 0; right: 0; background: #fff; border-radius: 50%; width: 40px; height: 40px; }
}

/* Journey Verified mark (next to business names) */
.verified { position: relative; display: inline-grid; place-items: center; width: .82em; height: .82em; margin-left: .32em; vertical-align: -.04em; cursor: default; }
.verified svg { width: 100%; height: 100%; fill: var(--sbj-ink); }
.page-head h1 .verified { width: .5em; height: .5em; margin-left: .22em; vertical-align: .02em; }
.verified .tip, .paid-star .tip { text-transform: none; letter-spacing: normal; font: 500 13px/1.4 var(--sbj-sans); }
.verified .tip { left: 50%; right: auto; margin-left: -120px; width: 240px; max-width: none; }
.no-gsap .verified:hover .tip, .no-gsap .verified:focus .tip { display: block; visibility: visible; opacity: 1; }
.mk-made .rubric { margin-top: 18px; } .mk-made .rubric + .hed { margin-top: 0; }

/* ---------- Advertise: campaign builder (kit components only: opt, chip, feed-switch, btn-pill, hed, rubric, meta) ---------- */
.adv-plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; max-width: 1180px; margin: 0 auto; }
.adv-plan { text-align: left; cursor: pointer; }
.adv-plan .rubric { margin: 0; }
.adv-plan__price { margin-top: auto; padding-top: 14px; font: 400 34px/1 var(--sbj-display); }
.adv-plan.is-active { border-color: var(--sbj-ink); box-shadow: inset 0 0 0 1px var(--sbj-ink); }
.adv { display: grid; grid-template-columns: minmax(0, 1fr) 400px; gap: 64px; align-items: start; }
.adv__list .sec { text-align: left; }
.adv-item { border: 1px solid #dcdcdc; border-radius: 2px; padding: 26px 28px; }
.adv-item + .adv-item { margin-top: 16px; }
.adv-item.is-on { border-color: var(--sbj-ink); }
.adv-item__head { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 20px; align-items: start; }
.adv-item__head .rubric { margin-bottom: 6px; }
.adv-item__head .dek { margin-top: 8px; max-width: 560px; }
.adv-toggle { margin-top: 4px; }
.adv-price { text-align: right; white-space: nowrap; }
.adv-price b { display: block; font: 400 28px/1 var(--sbj-display); }
.adv-price .meta { display: block; margin-top: 6px; }
.adv-item__body { display: none; margin: 22px 0 0 50px; gap: 18px; }
.adv-item.is-on .adv-item__body { display: grid; }
.adv-ctl { display: grid; gap: 10px; }
.adv-ctl .chips { justify-content: flex-start; margin: 0; }
.adv-days { display: inline-flex; align-items: center; gap: 14px; }
.adv-days b { min-width: 34px; text-align: center; font: 400 28px/1 var(--sbj-display); }
.adv-days .chip { width: 36px; height: 36px; padding: 0; display: grid; place-items: center; font-size: 16px; }
.adv-quick { margin-top: 4px !important; }
.adv-taken { color: var(--sbj-muted); font-weight: 500; }
.chip.is-disabled { color: #b5b5b5; border-color: #ececec; cursor: not-allowed; }
.adv__sticky { position: sticky; top: 135px; }
.adv__sticky > .rubric { margin: 0 0 6px; }
.adv-pv { position: relative; margin-top: 14px; height: 190px; background: var(--sbj-ph); border-radius: 2px; overflow: hidden; }
.pv { position: absolute; inset: 18px; display: none; flex-direction: column; gap: 8px; }
.pv.is-on { display: flex; }
.pv i, .pv-bar, .pv-h, .pv-ad, .pv-title, .pv-hero, .pv-lines i { display: block; background: #fff; border-radius: 2px; font-style: normal; }
.pv-bar { height: 14px; }
.pv-h { height: 10px; width: 40%; margin: 4px auto 2px; }
.pv-list { display: grid; gap: 7px; }
.pv-list i { height: 20px; position: relative; display: flex; align-items: center; padding: 0 10px; font-size: 12px; color: transparent; }
.pv-list i span { display: block; width: 46%; height: 6px; background: #e4e4e4; border-radius: 2px; }
.pv--spot .pv-list i:not(.pv-free) { color: #cfcfcf; justify-content: space-between; }
.pv-list i.is-hl, .pv-hl { background: var(--sbj-ink) !important; color: #fff !important; }
.pv-list i.is-hl span, .pv-hl span { background: #555 !important; }
.pv-ad { height: 34px; }
.pv-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 7px; }
.pv-grid i { height: 30px; }
.pv-day { font: 400 13px/1 var(--sbj-display); text-transform: uppercase; letter-spacing: .06em; color: #6f6f6f; margin: 4px 0 2px; }
.pv-phone { width: 128px; height: 100%; margin: 0 auto; background: #fff; border-radius: 18px; padding: 8px; }
.pv-map { position: relative; height: 100%; border-radius: 12px; background: #ececec; }
.pv-dot { position: absolute; width: 10px; height: 10px; border-radius: 50%; background: #bdbdbd; }
.pv-pin { position: absolute; left: 46%; top: 44%; width: 20px; height: 20px; border-radius: 50% 50% 50% 0; transform: rotate(-45deg); }
.pv-tag { font: 600 11px/1 var(--sbj-sans); color: #6f6f6f; margin-top: 4px; }
.pv-title { height: 22px; width: 78%; }
.pv-hero { height: 40px; }
.pv-lines { display: grid; gap: 6px; }
.pv-lines i { height: 6px; }
.adv-sum { margin-top: 24px; }
.adv-lines { list-style: none; margin: 16px 0 0; padding: 0; display: grid; gap: 12px; }
.adv-lines li:not(.adv-empty) { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 12px; font: 400 16.5px/1.45 var(--sbj-serif); color: var(--sbj-ink-2); }
.adv-lines li b { font: 600 14px/1.6 var(--sbj-sans); color: var(--sbj-ink); }
.adv-lines small { display: block; font: 500 13px/1.4 var(--sbj-sans); color: var(--sbj-muted); }
.adv-total { display: flex; justify-content: space-between; align-items: baseline; margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--sbj-hair); }
.adv-total b { font: 400 40px/1 var(--sbj-display); }
.adv-perday { margin: 6px 0 0; text-align: right; }
.adv-start { display: flex; justify-content: space-between; align-items: center; margin: 16px 0 14px; }
.adv-date { border: 1px solid #cfcfcf; border-radius: 2px; padding: 9px 12px; font: 400 16px var(--sbj-sans); background: #fff; }
.adv-note { margin-top: 12px; text-align: center; }
@media (max-width: 1100px) {
	.adv { grid-template-columns: 1fr; }
	.adv__sticky { position: static; }
}
@media (max-width: 760px) {
	.adv-plans { grid-template-columns: 1fr; }
	.adv-item { padding: 22px 20px; }
	.adv-item__head { grid-template-columns: auto minmax(0, 1fr); }
	.adv-price { grid-column: 2; text-align: left; }
	.adv-item__body { margin-left: 0; }
}
.adv__side { align-self: stretch; }

/* Language switch (technical, next to Infinite scroll) */
.lang-sw { display: inline-flex; align-items: center; gap: 6px; font: 600 13px/1 var(--sbj-sans); margin-left: 6px; }
.lang-sw button { color: #9a9a9a; padding: 4px 0; }
.lang-sw button.is-active { color: var(--sbj-ink); }
.lang-sw span { color: #cfcfcf; }
.drawer .lang-sw { display: none; margin: 0 0 24px; font-size: 15px; gap: 10px; }
@media (max-width: 560px) {
	.site-head .lang-sw { display: none; }
	.drawer .lang-sw { display: flex; }
}
.guide__main, .guide__side { min-width: 0; }
@media (max-width: 560px) { html[lang="ru"] h1, html[lang="ru"] h2, html[lang="ru"] h3, html[lang="ru"] .pull, html[lang="ru"] .caps { hyphens: auto; overflow-wrap: break-word; } }

/* Advertise v2: tag input, banner placement tiles, number days */
.tagin { position: relative; }
.tagin__box { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; min-height: 48px; padding: 6px 8px; border: 1px solid #cfcfcf; border-radius: 2px; background: #fff; cursor: text; }
.tagin__box:focus-within { border-color: var(--sbj-ink); }
.tagin__list { display: contents; }
.tagin__tag { display: inline-flex; align-items: center; gap: 6px; padding: 7px 8px 7px 12px; border-radius: 999px; background: var(--sbj-ink); color: #fff; font: 600 13px/1 var(--sbj-sans); }
.tagin__tag button { color: #fff; opacity: .7; font: 600 13px/1 var(--sbj-sans); padding: 0 2px; }
.tagin__tag button:hover { opacity: 1; }
.tagin__in { flex: 1; min-width: 160px; border: 0; outline: none; font: 400 16px var(--sbj-sans); padding: 6px 4px; background: transparent; }
.tagin__menu { position: absolute; z-index: 20; left: 0; right: 0; top: calc(100% + 4px); max-height: 260px; overflow-y: auto; background: #fff; border: 1px solid var(--sbj-ink); border-radius: 2px; padding: 6px; }
.tagin__opt { display: block; width: 100%; text-align: left; padding: 9px 10px; border-radius: 2px; font: 500 14px/1.3 var(--sbj-sans); }
.tagin__opt:hover, .tagin__opt.is-focus { background: #f2f2f2; }
.tagin__opt[disabled] { color: #b5b5b5; cursor: not-allowed; }
.tagin__opt[hidden] { display: none; }
.adv-num { width: 72px; height: 44px; border: 1px solid #cfcfcf; border-radius: 2px; text-align: center; font: 400 26px/1 var(--sbj-display); -moz-appearance: textfield; background: #fff; }
.adv-num::-webkit-outer-spin-button, .adv-num::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.adv-num:focus { outline: none; border-color: var(--sbj-ink); }
.adv-days { gap: 10px; flex-wrap: wrap; }
.adv-min { margin-left: 6px; }
.bpls { display: grid; grid-template-columns: repeat(auto-fill, minmax(168px, 1fr)); gap: 12px; }
.bpl { display: flex; flex-direction: column; gap: 4px; text-align: left; padding: 12px; border: 1px solid #dcdcdc; border-radius: 2px; background: #fff; }
.bpl:hover { border-color: #9a9a9a; }
.bpl.is-active { border-color: var(--sbj-ink); box-shadow: inset 0 0 0 1px var(--sbj-ink); }
.bpl__name { font: 500 16px/1.2 var(--sbj-display); text-transform: uppercase; letter-spacing: .015em; margin-top: 8px; }
.bpl__price { font: 400 22px/1 var(--sbj-display); margin-top: 6px; }
.bpl__price .meta { font-size: 12px; }
.thumb { display: flex; flex-direction: column; gap: 4px; height: 86px; padding: 7px; background: var(--sbj-ph); border-radius: 2px; overflow: hidden; }
.thumb i { display: block; background: #fff; border-radius: 1px; font-style: normal; }
.thumb .t-bar { height: 6px; }
.thumb .t-row { flex: 1; }
.thumb .t-ln { height: 5px; width: 70%; margin: 0 auto; }
.thumb .t-ad { height: 14px; background: #bdbdbd; }
.thumb .t-ad--full { margin: 0 -7px; }
.thumb .t-ad--narrow { width: 70%; margin: 0 auto; }
.thumb .t-foot { height: 14px; background: #4a4a4a; margin: 0 -7px -7px; }
.thumb .is-hl { background: var(--sbj-ink) !important; }
.thumb .t-cols { flex: 1; display: grid; grid-template-columns: 1fr 34%; gap: 5px; }
.thumb .t-main { display: grid; gap: 4px; }
.thumb .t-side { height: 34%; }
.thumb .t-side--half { height: 78%; }
.pv-thumb, .pv-thumb .thumb { height: 100%; }
.pv-thumb .thumb { padding: 0; background: transparent; gap: 8px; }
.pv-thumb .thumb .t-bar { height: 14px; } .pv-thumb .thumb .t-ad { height: 30px; } .pv-thumb .thumb .t-ln { height: 7px; } .pv-thumb .thumb .t-foot { height: 30px; margin: 0 -18px -18px; } .pv-thumb .thumb .t-ad--full { margin: 0 -18px; }
.pv-num i { gap: 10px; justify-content: flex-start !important; }
.pv-num b { font: 400 14px/1 var(--sbj-display); color: #9a9a9a; }
.pv-num i.is-hl b { color: #fff; }
.pv-rel { color: #fff !important; font: 600 11px/1 var(--sbj-sans) !important; justify-content: space-between; }

/* Ask (AI agent) */
.ask__chat { max-width: 760px; margin: 64px auto 0; display: grid; gap: 22px; }
.msg { max-width: 86%; }
.msg[hidden] { display: none; }
.msg--me { justify-self: end; background: var(--sbj-ink); color: #fff; padding: 14px 18px; border-radius: 18px 18px 4px 18px; font: 400 17px/1.5 var(--sbj-sans); }
.msg--me p { margin: 0; }
.msg--ai { justify-self: start; width: 100%; max-width: 100%; }
.msg--ai > p { font: 400 18px/1.55 var(--sbj-serif); color: var(--sbj-ink-2); margin: 8px 0 0; }
.ask__plan { margin-top: 18px; }
.dots { display: inline-flex; gap: 6px; padding: 16px 18px; background: #f2f2f2; border-radius: 18px; }
.dots i { width: 7px; height: 7px; border-radius: 50%; background: #9a9a9a; }
.ask__form { max-width: 760px; margin: 48px auto 0; }
@media (max-width: 760px) { .bpls { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; } .bpl { padding: 10px; } .bpl .meta + .meta { display: none; } }

/* Business Plans */
.plans { max-width: 980px; }
.plans__cards { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.plan { border: 1px solid #dcdcdc; border-radius: 2px; padding: 30px 28px; display: flex; flex-direction: column; gap: 6px; }
.plan--pro { border-color: var(--sbj-ink); }
.plan .rubric { margin: 0; }
.plan__price { font: 400 56px/1 var(--sbj-display); margin-top: 8px; }
.plan .dek { flex: 1; margin-bottom: 18px; }
.plans__table { width: 100%; border-collapse: collapse; margin-top: 56px; font: 400 16.5px/1.4 var(--sbj-serif); }
.plans__table th, .plans__table td { padding: 14px 8px; border-bottom: 1px solid var(--sbj-hair); text-align: center; }
.plans__table th[scope="row"] { text-align: left; font-weight: 400; color: var(--sbj-ink-2); }
.plans__table thead th { font: 500 18px/1 var(--sbj-display); text-transform: uppercase; letter-spacing: .02em; border-bottom: 1px solid var(--sbj-ink); }
.plans__table td { width: 22%; }
.plans__table b { font: 600 14px/1 var(--sbj-sans); }
.plans__table .ck { width: 20px; height: 20px; color: var(--sbj-ink); vertical-align: middle; }
.plans__table .no { color: #b5b5b5; }
.plans__note { margin-top: 28px; text-align: center; }

/* File a Complaint: calm step-by-step */
.cw-head { max-width: 680px; text-align: center; padding-top: 72px; }
.cw-head .rubric { margin-bottom: 14px; }
.cw-head .dek { margin-top: 14px; }
.cw-progress { display: flex; align-items: center; gap: 16px; margin: 44px auto 0; max-width: 440px; }
.cw-bar { flex: 1; height: 2px; background: #e3e3e3; border-radius: 2px; overflow: hidden; }
.cw-bar span { display: block; height: 100%; width: 20%; background: var(--sbj-ink); }
.cw-count { white-space: nowrap; }
.cw-count b { font-weight: 600; color: var(--sbj-ink); }
.cw-form { max-width: 680px; margin: 56px auto 0; gap: 0; }
.cw-step { display: grid; gap: 14px; }
.cw-step[hidden] { display: none; }
.cw-q { text-align: center; margin-bottom: 22px; }
.cw-types { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.cw-types .opt { min-height: 0; padding: 20px 22px; text-align: left; }
.cw-types .opt:last-child { grid-column: 1 / -1; }
.cw-type.is-picked { border-color: var(--sbj-ink); box-shadow: inset 0 0 0 1px var(--sbj-ink); }
.cw-help { margin: 2px 0 0; }
.cw-asks { justify-content: flex-start; margin: 0; }
.cw-role { display: flex; gap: 28px; flex-wrap: wrap; padding: 4px 2px; }
.cw-legal { display: grid; gap: 14px; }
.cw-done { text-align: center; justify-items: center; }
.cw-nav { display: flex; justify-content: space-between; align-items: center; margin-top: 36px; }
.cw-nav .btn-pill { min-width: 180px; }
.cw-back { font: 600 14px/1 var(--sbj-sans); }
.cw-back[hidden], .cw-nav[hidden] { visibility: hidden; display: flex; }
.cw-form input.is-err, .cw-form textarea.is-err { border-color: var(--sbj-ink); box-shadow: inset 0 0 0 1px var(--sbj-ink); }
.cw-foot { max-width: 680px; margin: 96px auto 0; text-align: center; color: #9a9a9a; display: grid; gap: 8px; }
.cw-foot p { margin: 0; }
.cp-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.cp-opt, .cp-check { display: flex; gap: 10px; align-items: flex-start; font: 400 16px/1.5 var(--sbj-serif); color: var(--sbj-ink-2); }
.cp-check .chip { flex: none; }
[data-dmca][hidden], [data-nondmca][hidden] { display: none !important; }
@media (max-width: 560px) { .cw-types { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .plans__cards, .cp-grid { grid-template-columns: 1fr; } }
.cw-type:hover { border-color: #9a9a9a; } .cw-type { transition: none; }

/* ---------- Mobile bottom bar: the header controls (kit: icon-btn, feed-switch, btn-sub), docked at the bottom ---------- */
.mbar { display: none; }
@media (max-width: 760px) {
	.site-head__left, .site-head__right { display: none; }
	.site-head__bar { grid-template-columns: 1fr; justify-items: center; }
	.site-head__bar .logo { font-size: min(28px, 7.4vw); letter-spacing: .03em; }
	.nav { display: none; }
	.mbar { position: fixed; z-index: 60; left: 0; right: 0; bottom: 0; display: flex; align-items: center; justify-content: space-between; height: 62px; padding: 0 16px env(safe-area-inset-bottom); background: #fff; border-top: 1px solid var(--sbj-hair); }
	.foot { padding-bottom: calc(102px + env(safe-area-inset-bottom)); }
	.add-fab { bottom: calc(76px + env(safe-area-inset-bottom)) !important; }
	.proto-note { display: none; }
}
@media (min-width: 901px) and (max-width: 1280px) {
	.split { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
	.split--portrait { grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); }
	.hero .split { grid-template-columns: minmax(0, .8fr) minmax(0, 1fr); }
}
.adv-mtotal { display: none; }
@media (max-width: 1100px) {
	.adv-mtotal { position: sticky; top: 111px; z-index: 40; display: flex; justify-content: space-between; align-items: center; margin: 24px var(--sbj-pad) 0; padding: 12px 16px; background: #fff; border: 1px solid var(--sbj-ink); border-radius: 2px; }
	.adv-mtotal b { font: 400 26px/1 var(--sbj-display); }
}
@media (min-width: 761px) and (max-width: 1100px) { .adv-mtotal { top: 111px; } }
@media (min-width: 561px) and (max-width: 900px) { .rail { grid-auto-columns: calc((100% - var(--sbj-gut)) / 2); } }
@media (max-width: 560px) { .rail { grid-auto-columns: 86%; } }
/* Members-only pages: content for signed-in members, a sign-in prompt for guests */
html:not(.is-member) .members-only-page, html.is-member .members-gate { display: none; }
/* Cookie consent bar (kit: meta, ul, btn-pill--ghost) */
.consent { position: fixed; z-index: 80; left: 0; right: 0; bottom: 0; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 16px var(--sbj-pad); background: #fff; border-top: 1px solid var(--sbj-hair); }
.consent[hidden] { display: none; }
.consent .meta { margin: 0; max-width: 760px; }
.consent__btns { display: flex; gap: 10px; flex: none; }
@media (max-width: 760px) { .consent { bottom: calc(62px + env(safe-area-inset-bottom)); flex-direction: column; align-items: stretch; gap: 12px; padding: 14px 16px; } .consent__btns .btn-pill { flex: 1; } }
[data-other][hidden] { display: none; }
html.has-consent .proto-note { bottom: 92px; }
/* 21+ mark on age-restricted ads */
.ad__age { display: inline-grid; place-items: center; width: 22px; height: 22px; margin-left: 6px; border: 1px solid currentColor; border-radius: 50%; letter-spacing: 0; vertical-align: middle; }
a.ad__label { text-decoration: none; }
.adv-ctl[hidden] { display: none; }
.adv-photog .av { width: 56px; height: 56px; }

/* ---------- Business dashboard: an app layout (sidebar, cards, table) built from the kit tokens ---------- */
.dash { display: grid; grid-template-columns: 232px minmax(0, 1fr); gap: 40px; padding-top: 32px; padding-bottom: 96px; }
.dash__main { min-width: 0; }
.dash__side { position: sticky; top: 24px; align-self: start; display: flex; flex-direction: column; gap: 24px; }
.dash__who { display: grid; grid-template-columns: 44px 1fr; gap: 12px; align-items: center; }
.dash__who .ph { width: 44px; aspect-ratio: 1/1; border-radius: 50%; }
.dash__who b { display: block; font: 600 14px/1.3 var(--sbj-sans); }
.dash__who .verified { width: 15px; height: 15px; vertical-align: -2px; margin-left: 4px; }
.dash__who span { font: 500 12.5px/1.4 var(--sbj-sans); color: var(--sbj-muted); }
.dash__nav { display: grid; gap: 2px; }
.dash__nav button { display: flex; justify-content: space-between; align-items: center; width: 100%; text-align: left; padding: 10px 12px; border-radius: 2px; font: 600 14px/1.2 var(--sbj-sans); color: var(--sbj-ink-2); background: none; border: 0; cursor: pointer; }
.dash__nav button:hover { background: #f4f4f4; }
.dash__nav button.is-active { background: var(--sbj-ink); color: #fff; }
.dash__nav small { font: 600 12px/1 var(--sbj-sans); opacity: .6; }
.dash__plan { border: 1px solid #dcdcdc; border-radius: 2px; padding: 18px; display: grid; gap: 4px; }
.dash__plan b { font: 400 32px/1 var(--sbj-display); }
.dash__plan .btn-pill { margin-top: 12px; min-width: 0; padding: 11px 14px; }
.dash__top { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; margin-bottom: 24px; }
.dash__top h1 { font: 400 40px/1 var(--sbj-display); text-transform: uppercase; margin: 0; }
.dash__top .meta { display: block; margin-top: 8px; }
.dash__tools { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.dash__tools .chips { margin: 0; justify-content: flex-end; }
.dash__tools .chip { margin: 0; }
.dash-alerts { display: grid; gap: 8px; margin-bottom: 24px; }
.dash-alert { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 14px 18px; border: 1px solid #dcdcdc; border-left: 3px solid var(--sbj-ink); border-radius: 2px; font: 500 14px/1.45 var(--sbj-sans); }
.dash-alert small { display: block; color: var(--sbj-muted); font: 500 13px/1.4 var(--sbj-sans); }
.dash-alert a { font-weight: 650; white-space: nowrap; }
.dash-grid { display: grid; gap: 16px; }
.dash-grid--kpi { grid-template-columns: repeat(4, minmax(0, 1fr)); margin-bottom: 16px; }
.dash-grid--main { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); margin-bottom: 16px; }
.dash-card { border: 1px solid #dcdcdc; border-radius: 2px; padding: 20px; min-width: 0; }
.dash-card__head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 16px; }
.dash-card__head h2 { font: 600 15px/1.3 var(--sbj-sans); margin: 0; }
.dash-card__head a, .dash-card__head .meta { font: 600 13px/1.3 var(--sbj-sans); margin: 0; }
.kpi__label { font: 500 13px/1.3 var(--sbj-sans); color: var(--sbj-muted); }
.kpi__value { display: block; font: 400 40px/1 var(--sbj-display); margin: 10px 0 8px; }
.kpi__delta { font: 600 12.5px/1 var(--sbj-sans); color: var(--sbj-ink); }
.kpi__delta.is-down { color: var(--sbj-muted); }
.kpi svg { display: block; width: 100%; height: 36px; margin-top: 14px; }
.dash-chart svg { display: block; width: 100%; height: 240px; }
.dash-chart .legend { display: flex; gap: 16px; font: 500 12.5px/1 var(--sbj-sans); color: var(--sbj-muted); }
.dash-chart .legend i { display: inline-block; width: 18px; height: 2px; background: var(--sbj-ink); vertical-align: middle; margin-right: 6px; }
.dash-chart .legend i.is-2 { background: #b5b5b5; }
.dash-rows { list-style: none; margin: 0; padding: 0; }
.dash-rows li { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-top: 1px solid var(--sbj-hair); font: 500 14px/1.4 var(--sbj-sans); }
.dash-rows li:first-child { border-top: 0; padding-top: 0; }
.dash-rows span { color: var(--sbj-muted); }
.dash-rows b { font-weight: 650; text-align: right; }
.dash-big { font: 400 40px/1 var(--sbj-display); display: block; margin: 4px 0 6px; }
.dash-table { width: 100%; border-collapse: collapse; font: 500 14px/1.4 var(--sbj-sans); }
.dash-table th { text-align: left; font: 600 12px/1.2 var(--sbj-sans); color: var(--sbj-muted); padding: 0 10px 10px; border-bottom: 1px solid #dcdcdc; white-space: nowrap; }
.dash-table td { padding: 12px 10px; border-bottom: 1px solid var(--sbj-hair); vertical-align: middle; }
.dash-table th:first-child, .dash-table td:first-child { padding-left: 0; }
.dash-table th:last-child, .dash-table td:last-child { padding-right: 0; text-align: right; }
.dash-table .num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.dash-table .ph { width: 64px; aspect-ratio: 16/9; flex: none; }
.dash-camp { display: flex; align-items: center; gap: 12px; }
.dash-camp b { display: block; font-weight: 650; }
.dash-camp small { color: var(--sbj-muted); font: 500 12.5px/1.3 var(--sbj-sans); }
.dash-table td a { font-weight: 650; white-space: nowrap; }
.status { display: inline-block; font: 600 12px/1 var(--sbj-sans); padding: 6px 10px; border-radius: 999px; border: 1px solid #d6d6d6; white-space: nowrap; }
.status--now { background: var(--sbj-ink); border-color: var(--sbj-ink); color: #fff; }
.status--action { border-color: var(--sbj-ink); }
.status--past { color: var(--sbj-muted); }
.dash-panel .chips { justify-content: flex-start; margin: 0 0 16px; }
.dash-panel .chips .chip { margin: 0; }
.dash-panel .mk-form { margin: 0; max-width: 680px; }
@media (max-width: 1100px) { .dash-grid--kpi { grid-template-columns: repeat(2, minmax(0, 1fr)); } .dash-grid--main { grid-template-columns: 1fr; } }
@media (max-width: 900px) {
  .dash { grid-template-columns: minmax(0, 1fr); gap: 20px; padding-top: 20px; }
  .dash__side, .dash__nav { min-width: 0; }
  .dash__side { position: static; }
  .dash__nav { display: flex; overflow-x: auto; gap: 6px; }
  .dash__nav button { width: auto; flex: none; border: 1px solid #d6d6d6; border-radius: 999px; padding: 9px 14px; gap: 8px; }
  .dash__nav button.is-active { border-color: var(--sbj-ink); }
  .dash__plan { display: none; }
  .dash__top h1 { font-size: 32px; }
  .dash-table-wrap { overflow-x: auto; }
  .dash-table { min-width: 720px; }
}
@media (max-width: 560px) { .dash-grid--kpi { grid-template-columns: 1fr 1fr; gap: 10px; } .dash-card { padding: 16px; } .kpi__value { font-size: 32px; } .dash-alert { flex-direction: column; align-items: flex-start; } }
.dash__tools .chips { margin: 0; gap: 8px; flex-wrap: nowrap; }
.dash__tools .chip, .dash__tools .btn-sub { display: inline-flex; align-items: center; justify-content: center; height: 36px; padding: 0 16px; margin: 0; font: 600 13px/1 var(--sbj-sans); box-sizing: border-box; vertical-align: middle; }
