/*
 * Hlavni (verejna) stranka - App\Presentation\Home.
 *
 * Vlastni stylopis, zamerne oddeleny od app.css: verejna stranka nema
 * sidebar ani topbar aplikace a ma vlastni sadu barevnych tokenu. Nacita
 * ji jen layout presenteru Home, takze do aplikace nezasahuje.
 *
 * Zadny webfont: CSP ma default-src 'self' a font-src 'self' data:, a
 * stranka sama slibuje, ze aplikace nic netahne z CDN. Pisma jsou systemova.
 */

:root,
:root[data-theme="light"] {
	--paper:        #f1f3f7;
	--sheet:        #ffffff;
	--sheet-sunk:   #e9ecf2;
	--ink:          #131a2a;
	--ink-2:        #4a536b;
	--ink-3:        #5f687a;
	--rule:         #dbe0e9;
	--rule-strong:  #c3cad7;
	--accent:       #363ba6;
	--accent-ink:   #ffffff;
	--accent-soft:  #e6e8f7;
	--accent-line:  #b9bde9;
	--section-tint: #e8ebf2;
	--section-warm: #f7f3ed;
	--stamp:        #a82d25;
	--stamp-soft:   #f7e6e4;
	--shadow-sm:    0 1px 0 rgba(19, 26, 42, .04), 0 6px 18px -12px rgba(19, 26, 42, .28);
	--shadow-lg:    0 2px 4px rgba(19, 26, 42, .05), 0 22px 50px -28px rgba(19, 26, 42, .42);

	/* Pisma jsou systemova: aplikace nesmi nic tahat z CDN a CSP ma
	   font-src 'self' data:. Zadny webfont se tedy nenacita. */
	--f-display: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, "Times New Roman", serif;
	--f-body:    system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
	--f-mono:    ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;
}

@media (prefers-color-scheme: dark) {
	:root:not([data-theme]) {
		--paper:       #0e1118;
		--sheet:       #161b26;
		--sheet-sunk:  #1b212e;
		--ink:         #e8ebf2;
		--ink-2:       #a6afc2;
		--ink-3:       #838c9f;
		--rule:        #262d3c;
		--rule-strong: #364054;
		--accent:      #a9aef8;
		--accent-ink:  #10132b;
		--accent-soft: #1d2140;
		--accent-line: #3d4479;
		--section-tint:#131925;
		--section-warm:#18191e;
		--stamp:       #f0897e;
		--stamp-soft:  #34191a;
		--shadow-sm:   0 1px 0 rgba(0, 0, 0, .35), 0 8px 22px -14px rgba(0, 0, 0, .8);
		--shadow-lg:   0 2px 4px rgba(0, 0, 0, .4), 0 26px 56px -30px rgba(0, 0, 0, .9);
	}
}

:root[data-theme="dark"] {
	--paper:       #0e1118;
	--sheet:       #161b26;
	--sheet-sunk:  #1b212e;
	--ink:         #e8ebf2;
	--ink-2:       #a6afc2;
	--ink-3:       #838c9f;
	--rule:        #262d3c;
	--rule-strong: #364054;
	--accent:      #a9aef8;
	--accent-ink:  #10132b;
	--accent-soft: #1d2140;
	--accent-line: #3d4479;
	--section-tint:#131925;
	--section-warm:#18191e;
	--stamp:       #f0897e;
	--stamp-soft:  #34191a;
	--shadow-sm:   0 1px 0 rgba(0, 0, 0, .35), 0 8px 22px -14px rgba(0, 0, 0, .8);
	--shadow-lg:   0 2px 4px rgba(0, 0, 0, .4), 0 26px 56px -30px rgba(0, 0, 0, .9);
}

* { box-sizing: border-box; }

body {
	margin: 0;
	background: var(--paper);
	color: var(--ink);
	font-family: var(--f-body);
	font-size: 16px;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
	overflow-x: clip;
}

h1, h2, h3, h4 { font-family: var(--f-display); text-wrap: balance; margin: 0; }
h1 em {
	font-style: normal;
	font-weight: 700;
	background: linear-gradient(135deg, #1d4ed8 0%, #0284c7 60%, #38bdf8 100%);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
}
@media (prefers-color-scheme: dark) {
	h1 em {
		background: linear-gradient(135deg, #60a5fa 0%, #38bdf8 60%, #93c5fd 100%);
		-webkit-background-clip: text;
		-webkit-text-fill-color: transparent;
	}
}
:root[data-theme="dark"] h1 em {
	background: linear-gradient(135deg, #60a5fa 0%, #38bdf8 60%, #93c5fd 100%);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
}
h2 { font-size: clamp(1.5rem, 3vw, 2.05rem); font-weight: 600; letter-spacing: -.015em; line-height: 1.14; }
h3 { font-size: 1.06rem; font-weight: 600; letter-spacing: -.006em; }
h4 { font-size: .95rem; font-weight: 600; }
p { margin: 0; }

.eyebrow {
	font-family: var(--f-mono);
	font-size: .71rem;
	font-weight: 600;
	letter-spacing: .17em;
	text-transform: uppercase;
	color: var(--accent);
}

.lead {
	font-family: var(--f-display);
	font-size: clamp(1.1rem, 2.1vw, 1.3rem);
	line-height: 1.55;
	color: var(--ink-2);
	max-width: 56ch;
}

.note { font-size: .86rem; line-height: 1.55; color: var(--ink-3); max-width: 70ch; }
.note strong, .note b { color: var(--ink-2); font-weight: 600; }

code, .mono { font-family: var(--f-mono); font-size: .87em; }
.param {
	font-family: var(--f-mono);
	font-size: .82em;
	background: var(--accent-soft);
	color: var(--accent);
	padding: .12em .42em;
	border-radius: 4px;
	border: 1px solid var(--accent-line);
	white-space: nowrap;
	display: inline-block;
	font-weight: 600;
	box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03);
	transition: background-color 0.15s ease, border-color 0.15s ease;
}
.param:hover {
	border-color: var(--accent);
}

a { color: var(--accent); text-decoration-thickness: 1px; text-underline-offset: .18em; }
a:focus-visible, button:focus-visible, [tabindex]:focus-visible {
	outline: 2px solid var(--accent);
	outline-offset: 3px;
	border-radius: 4px;
}

.wrap { max-width: 1120px; margin: 0 auto; padding: 0 clamp(1.1rem, 4vw, 2.5rem); }

/* --- horni lista --------------------------------------------------------- */

.topbar {
	position: sticky;
	top: 0;
	z-index: 10;
	background: var(--paper);
	background: color-mix(in srgb, var(--paper) 88%, transparent);
	backdrop-filter: blur(12px);
	-webkit-backdrop-filter: blur(12px);
	border-bottom: 1px solid var(--rule);
	box-shadow: 0 1px 3px rgba(0, 0, 0, .03);
}
.topbar__in { display: flex; align-items: center; gap: 1.4rem; height: 60px; }

.wordmark {
	font-family: var(--f-display);
	font-size: 1.2rem;
	font-weight: 700;
	letter-spacing: -.02em;
	color: var(--ink);
	text-decoration: none;
	display: flex;
	align-items: center;
	gap: .5rem;
}
.wordmark span.mk {
	display: inline-grid;
	place-items: center;
	width: 24px;
	height: 28px;
	border: 1.5px solid var(--accent);
	border-radius: 4px;
	font-family: var(--f-mono);
	font-size: .66rem;
	font-weight: 700;
	color: var(--accent);
	background: var(--accent-soft);
}

.topnav { display: flex; gap: 1.35rem; margin-left: auto; }
.topnav a { font-size: .87rem; color: var(--ink-2); text-decoration: none; font-weight: 500; transition: color .15s ease; }
.topnav a:hover { color: var(--accent); }
@media (max-width: 780px) { .topnav { display: none; } }

.btn {
	display: inline-flex;
	align-items: center;
	gap: .45rem;
	font-family: var(--f-body);
	font-size: .88rem;
	font-weight: 600;
	padding: .52rem 1.05rem;
	border-radius: 6px;
	text-decoration: none;
	border: 1px solid transparent;
	cursor: pointer;
	transition: all .2s cubic-bezier(.16, 1, .3, 1);
	box-shadow: 0 1px 2px rgba(0, 0, 0, .04);
}
.btn--fill {
	background: linear-gradient(135deg, #1d4ed8 0%, #2563eb 100%);
	color: #ffffff;
	border-color: #1d4ed8;
	box-shadow: 0 4px 12px rgba(37, 99, 235, 0.25);
}
.btn--fill:hover {
	background: linear-gradient(135deg, #1e40af 0%, #1d4ed8 100%);
	transform: translateY(-1px);
	box-shadow: 0 6px 18px rgba(37, 99, 235, 0.35);
}
.btn--line {
	border-color: var(--rule-strong);
	color: var(--ink);
	background: var(--sheet);
}
.btn--line:hover {
	border-color: var(--accent);
	color: var(--accent);
	transform: translateY(-1px);
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}
.topbar .btn { flex: none; }

/* --- hero ---------------------------------------------------------------- */

.hero {
	padding: clamp(3rem, 7vw, 5.8rem) 0 clamp(3.2rem, 7vw, 5rem);
	position: relative;
	isolation: isolate;
}
.hero::before {
	content: "";
	position: absolute;
	z-index: -1;
	inset: 0 50%;
	width: 100vw;
	transform: translateX(-50%);
	background:
		radial-gradient(circle at 75% 20%, var(--accent-soft) 0, transparent 35%),
		radial-gradient(circle at 20% 80%, rgba(56, 189, 248, 0.08) 0, transparent 40%),
		linear-gradient(180deg, var(--paper), color-mix(in srgb, var(--paper) 76%, var(--sheet)));
}
.hero__grid { display: grid; gap: clamp(2.2rem, 5vw, 4rem); grid-template-columns: minmax(0, 1fr) minmax(0, 400px); align-items: start; }
@media (max-width: 900px) { .hero__grid { grid-template-columns: minmax(0, 1fr); } }

.hero__text { display: flex; flex-direction: column; gap: 1.35rem; }
.hero__cta { display: flex; flex-wrap: wrap; gap: .75rem; align-items: center; }
.hero__cta .btn { padding: .65rem 1.25rem; font-size: .94rem; border-radius: 8px; }

.facts {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 1rem;
	margin-top: .6rem;
	padding-top: 1.2rem;
	border-top: 1px solid var(--rule);
}
@media (max-width: 560px) { .facts { grid-template-columns: 1fr; } }
.facts div {
	display: flex;
	flex-direction: column;
	gap: .2rem;
	background: var(--sheet);
	padding: .8rem 1rem;
	border-radius: 8px;
	border: 1px solid var(--rule);
	box-shadow: var(--shadow-sm);
	transition: all .2s ease;
}
.facts div:hover {
	transform: translateY(-2px);
	border-color: var(--accent-line);
	box-shadow: var(--shadow-lg);
}
.facts dt { font-family: var(--f-mono); font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); font-weight: 700; }
.facts dd { margin: 0; font-family: var(--f-body); font-size: .95rem; font-weight: 600; color: var(--ink); }

/* --- listina A4 v hero --------------------------------------------------- */

.sheetbox { position: relative; padding: 26px 0 0 30px; }

.dim {
	position: absolute;
	font-family: var(--f-mono);
	font-size: .62rem;
	letter-spacing: .08em;
	color: var(--ink-3);
}
.dim--top {
	top: 0;
	left: 30px;
	right: 0;
	height: 18px;
	text-align: center;
	border-left: 1px solid var(--rule-strong);
	border-right: 1px solid var(--rule-strong);
}
.dim--top::after {
	content: "";
	position: absolute;
	left: 0; right: 0; top: 9px;
	border-top: 1px dashed var(--rule-strong);
	z-index: -1;
}
.dim--top span { background: var(--paper); padding: 0 .4rem; position: relative; }
.dim--left {
	left: 0;
	top: 26px;
	bottom: 0;
	width: 18px;
	border-top: 1px solid var(--rule-strong);
	border-bottom: 1px solid var(--rule-strong);
	display: grid;
	place-items: center;
}
.dim--left span {
	writing-mode: vertical-rl;
	transform: rotate(180deg);
	background: var(--paper);
	padding: .4rem 0;
}
.dim--left::after {
	content: "";
	position: absolute;
	top: 0; bottom: 0; left: 9px;
	border-left: 1px dashed var(--rule-strong);
	z-index: -1;
}

.preview-label {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	font-family: var(--f-mono);
	font-size: 0.72rem;
	font-weight: 600;
	color: var(--ink-2);
	background: var(--sheet);
	border: 1px solid var(--rule-strong);
	border-bottom: 0;
	padding: 0.35rem 0.75rem;
	border-radius: 6px 6px 0 0;
	margin-bottom: 0;
	box-shadow: 0 -2px 6px rgba(0, 0, 0, 0.03);
}
.preview-label span {
	background: linear-gradient(135deg, #1d4ed8 0%, #0284c7 100%);
	color: #ffffff;
	font-size: 0.6rem;
	padding: 0.12rem 0.38rem;
	border-radius: 3px;
	font-weight: 700;
	letter-spacing: 0.05em;
}
.preview-label small {
	color: var(--ink-3);
	font-weight: 500;
	font-size: 0.64rem;
}

.sheet {
	background: var(--sheet);
	border: 1px solid var(--rule);
	border-radius: 4px;
	box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 20px 40px -15px rgba(15, 23, 42, 0.16), 0 0 0 1px var(--rule);
	padding: 8.5% 9% 7%;
	font-size: .78rem;
	line-height: 1.62;
	color: var(--ink-2);
	position: relative;
	overflow: hidden;
	transition: box-shadow 0.3s ease, transform 0.3s ease;
}
.sheet:hover {
	box-shadow: 0 8px 16px -2px rgba(0, 0, 0, 0.06), 0 28px 50px -15px rgba(15, 23, 42, 0.22), 0 0 0 1px var(--accent-line);
	transform: translateY(-2px);
}
.sheet::after {
	content: "VZOR";
	position: absolute;
	inset: 0;
	display: grid;
	place-items: center;
	font-family: var(--f-display);
	font-size: 4.6rem;
	font-weight: 700;
	letter-spacing: .12em;
	color: var(--ink);
	opacity: .045;
	transform: rotate(-24deg);
	pointer-events: none;
}
.sheet__kicker { font-family: var(--f-mono); font-size: .58rem; letter-spacing: .2em; text-transform: uppercase; color: var(--ink-3); text-align: center; }
.sheet h4 {
	font-size: 1.12rem;
	text-align: center;
	letter-spacing: .04em;
	color: var(--ink);
	margin: .5rem 0 .1rem;
	text-transform: uppercase;
}
.sheet__sub { text-align: center; font-size: .68rem; color: var(--ink-3); margin-bottom: 1.15rem; }
.sheet p + p { margin-top: .5rem; }
.sheet__rule { height: 1px; background: var(--rule); margin: 1.05rem 0; }
.sheet__sign { display: flex; justify-content: space-between; align-items: flex-end; gap: 1rem; margin-top: 1.5rem; }
.sheet__line { flex: 1; }
.sheet__line i { display: block; border-top: 1px solid var(--rule-strong); margin-bottom: .25rem; }
.sheet__line small { font-size: .6rem; color: var(--ink-3); }
.sheet__stamp {
	flex: none;
	width: 62px;
	height: 62px;
	border: 1.5px solid var(--stamp);
	border-radius: 50%;
	display: grid;
	place-items: center;
	text-align: center;
	font-family: var(--f-mono);
	font-size: .44rem;
	line-height: 1.25;
	letter-spacing: .06em;
	color: var(--stamp);
	transform: rotate(-9deg);
	opacity: .82;
}

.sheetbox__cap { margin-top: .85rem; font-size: .76rem; color: var(--ink-3); line-height: 1.5; }

/* --- sekce --------------------------------------------------------------- */

.home-section {
	padding: clamp(3.5rem, 7vw, 5.8rem) 0;
	position: relative;
	isolation: isolate;
}
.home-section::before {
	content: "";
	position: absolute;
	z-index: -1;
	inset: 0 50%;
	width: 100vw;
	transform: translateX(-50%);
	background: var(--section-bg, var(--paper));
	border-top: 1px solid var(--rule);
}
.home-section--principles,
.home-section--editor,
.home-section--formats,
.home-section--operations { --section-bg: var(--sheet); }
.home-section--workflow,
.home-section--team { --section-bg: var(--section-tint); }
.home-section--calculator { --section-bg: var(--paper); }
.home-section--parameters { --section-bg: var(--section-warm); }
.home-section--cta { --section-bg: var(--accent-soft); }

.sec-head { display: flex; flex-direction: column; gap: .55rem; margin-bottom: clamp(2rem, 4vw, 3rem); max-width: 62ch; }
.sec-head h2 { margin-top: .2rem; }

.sec-label {
	font-family: var(--f-mono);
	font-size: .65rem;
	font-weight: 700;
	letter-spacing: .14em;
	text-transform: uppercase;
	color: var(--accent);
	margin-bottom: .15rem;
}

.ticks {
	height: 9px;
	border-top: 1px solid var(--rule-strong);
	background-image: repeating-linear-gradient(90deg, var(--rule-strong) 0 1px, transparent 1px 9px);
	background-size: 100% 5px;
	background-repeat: no-repeat;
	max-width: 170px;
}

/* --- ctyri zaklady ------------------------------------------------------- */

.pillars { display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fit, minmax(238px, 1fr)); }
.pillar {
	background: var(--sheet);
	border: 1px solid var(--rule);
	border-radius: 8px;
	padding: 1.35rem 1.35rem 1.4rem;
	box-shadow: var(--shadow-sm);
	border-top: 3px solid var(--accent);
	transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.pillar:hover {
	transform: translateY(-3px);
	box-shadow: var(--shadow-lg);
	border-color: var(--accent-line);
}
.pillar h3 { margin-bottom: .5rem; }
.pillar p { font-size: .88rem; line-height: 1.6; color: var(--ink-2); }
.pillar__no {
	font-family: var(--f-mono);
	font-size: .68rem;
	font-weight: 700;
	letter-spacing: .12em;
	color: var(--accent);
	display: inline-block;
	margin-bottom: .8rem;
	background: var(--accent-soft);
	padding: 0.18rem 0.5rem;
	border-radius: 4px;
	border: 1px solid var(--accent-line);
}

/* --- postup (opravdova posloupnost) ------------------------------------- */

.steps { display: grid; gap: 0; }
.step {
	display: grid;
	grid-template-columns: 2.8rem minmax(0, 15ch) minmax(0, 1fr);
	gap: 1.2rem;
	padding: 1.35rem 0;
	border-top: 1px solid var(--rule);
	align-items: baseline;
	transition: background-color 0.15s ease;
}
.step:first-child { border-top: 0; }
@media (max-width: 720px) { .step { grid-template-columns: 2.4rem minmax(0, 1fr); } .step p { grid-column: 2; } }
.step__no {
	font-family: var(--f-mono);
	font-size: .78rem;
	font-weight: 700;
	color: var(--accent);
	font-variant-numeric: tabular-nums;
	width: 2.2rem;
	height: 2.2rem;
	border-radius: 50%;
	background: var(--accent-soft);
	border: 1px solid var(--accent-line);
	display: grid;
	place-items: center;
}
.step h3 { line-height: 1.3; }
.step p { font-size: .89rem; line-height: 1.6; color: var(--ink-2); }
.step p + p { margin-top: .45rem; }

/* --- dvousloupec s vypisem ---------------------------------------------- */

.duo { display: grid; gap: clamp(1.6rem, 4vw, 3rem); grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); align-items: start; }

.deflist { display: flex; flex-direction: column; gap: 0; }
.deflist > div { padding: .78rem 0; border-top: 1px solid var(--rule); }
.deflist > div:first-child { border-top: 0; padding-top: 0; }
.deflist dt { font-size: .89rem; font-weight: 600; color: var(--ink); margin-bottom: .18rem; }
.deflist dd { margin: 0; font-size: .85rem; line-height: 1.55; color: var(--ink-2); }

.chips { display: flex; flex-wrap: wrap; gap: .38rem; }
.chip {
	font-family: var(--f-mono);
	font-size: .72rem;
	padding: .25rem .5rem;
	border: 1px solid var(--rule-strong);
	border-radius: 2px;
	color: var(--ink-2);
	background: var(--sheet);
}
.chip--on { border-color: var(--accent-line); color: var(--accent); background: var(--accent-soft); }

/* --- prepis parametru --------------------------------------------------- */

.rewrite { display: flex; flex-direction: column; gap: 0; background: var(--sheet); border: 1px solid var(--rule); border-radius: 8px; overflow: hidden; box-shadow: var(--shadow-sm); }
.rewrite__row { display: grid; grid-template-columns: minmax(0, 1fr) 2rem minmax(0, 1fr); gap: 1rem; align-items: center; padding: .95rem 1.25rem; border-top: 1px solid var(--rule); font-size: .84rem; transition: background-color 0.15s ease; }
.rewrite__row:first-child { border-top: 0; }
.rewrite__row:hover { background-color: var(--sheet-sunk); }
.rewrite__row .arrow { font-family: var(--f-mono); color: var(--accent); font-weight: 700; text-align: center; font-size: 1.1rem; }
.rewrite__from { color: var(--ink-2); font-family: var(--f-display); font-size: .92rem; }
.rewrite__to { font-family: var(--f-mono); font-size: .78rem; color: var(--ink); line-height: 1.5; }
@media (max-width: 620px) {
	.rewrite__row { grid-template-columns: minmax(0, 1fr); gap: .3rem; }
	.rewrite__row .arrow { text-align: left; }
}

/* --- tabulky ------------------------------------------------------------- */

.scroller { overflow-x: auto; border: 1px solid var(--rule); border-radius: 8px; background: var(--sheet); box-shadow: var(--shadow-sm); }
table { border-collapse: collapse; width: 100%; min-width: 560px; font-size: .83rem; }
th, td { text-align: left; padding: .65rem .85rem; border-bottom: 1px solid var(--rule); vertical-align: middle; }
thead th {
	font-family: var(--f-mono);
	font-size: .65rem;
	font-weight: 600;
	letter-spacing: .1em;
	text-transform: uppercase;
	color: var(--ink-3);
	background: var(--sheet-sunk);
	white-space: nowrap;
}
tbody th { font-weight: 600; color: var(--ink); white-space: nowrap; }
td { color: var(--ink-2); font-variant-numeric: tabular-nums; }
tbody tr { transition: background-color 0.15s ease; }
tbody tr:hover { background-color: var(--sheet-sunk); }
tbody tr:last-child th, tbody tr:last-child td { border-bottom: 0; }

/* --- kod a terminal window ---------------------------------------------- */

pre {
	margin: 0;
	background: var(--sheet);
	border: 1px solid var(--rule);
	border-radius: 6px;
	padding: 1rem 1.1rem;
	overflow-x: auto;
	font-family: var(--f-mono);
	font-size: .77rem;
	line-height: 1.7;
	color: var(--ink-2);
}
pre b { color: var(--accent); font-weight: 600; }
pre i { color: var(--ink-3); font-style: normal; }

.terminal-card {
	background: #090d16;
	background: linear-gradient(180deg, #0f172a 0%, #090d16 100%);
	border: 1px solid #1e293b;
	border-radius: 8px;
	overflow: hidden;
	box-shadow: 0 12px 30px -8px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(255, 255, 255, 0.05);
}

.terminal-header {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	padding: 0.65rem 1rem;
	background: #111827;
	border-bottom: 1px solid #1f2937;
}

.terminal-dots {
	display: flex;
	align-items: center;
	gap: 6px;
}

.terminal-dot {
	width: 10px;
	height: 10px;
	border-radius: 50%;
	display: inline-block;
}

.terminal-dot--red { background: #ef4444; }
.terminal-dot--yellow { background: #f59e0b; }
.terminal-dot--green { background: #10b981; }

.terminal-title {
	font-family: var(--f-mono);
	font-size: 0.72rem;
	color: #94a3b8;
	flex: 1;
}

.terminal-badge {
	font-family: var(--f-mono);
	font-size: 0.65rem;
	font-weight: 600;
	color: #38bdf8;
	background: rgba(56, 189, 248, 0.12);
	border: 1px solid rgba(56, 189, 248, 0.25);
	padding: 0.12rem 0.45rem;
	border-radius: 4px;
}

.terminal-card pre {
	margin: 0;
	background: transparent;
	border: 0;
	border-radius: 0;
	padding: 1.15rem 1.25rem;
	overflow-x: auto;
	font-family: var(--f-mono);
	font-size: .8rem;
	line-height: 1.75;
	color: #cbd5e1;
}

.terminal-card pre b {
	color: #38bdf8;
	font-weight: 700;
	letter-spacing: 0.04em;
}

.terminal-card pre i {
	color: #64748b;
	font-style: normal;
}

/* --- plany --------------------------------------------------------------- */

.plans { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(212px, 1fr)); }
.plan { background: var(--sheet); border: 1px solid var(--rule); border-radius: 3px; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; }
.plan__band { height: 3px; background: var(--rule-strong); }
.plan--pick { border-color: var(--accent-line); }
.plan--pick .plan__band { background: var(--accent); }
.plan__body { padding: 1.05rem 1.1rem 1.2rem; display: flex; flex-direction: column; gap: .75rem; flex: 1; }
.plan__top { display: flex; align-items: baseline; justify-content: space-between; gap: .5rem; }
.stamp-badge {
	font-family: var(--f-mono);
	font-size: .55rem;
	font-weight: 600;
	letter-spacing: .13em;
	text-transform: uppercase;
	color: var(--accent);
	border: 1.5px solid var(--accent-line);
	border-radius: 3px;
	padding: .18rem .34rem;
	transform: rotate(-3deg);
	white-space: nowrap;
	flex: none;
}
.plan__price { display: flex; align-items: baseline; gap: .3rem; flex-wrap: wrap; }
.plan__price b { font-family: var(--f-display); font-size: 1.72rem; font-weight: 600; letter-spacing: -.02em; line-height: 1; font-variant-numeric: tabular-nums; }
.plan__price span { font-size: .78rem; color: var(--ink-3); }
.plan ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: .35rem; }
.plan li { font-size: .84rem; line-height: 1.45; color: var(--ink-2); padding-left: 1rem; position: relative; }
.plan li::before { content: ""; position: absolute; left: 0; top: .55em; width: 6px; height: 1.5px; background: var(--rule-strong); }
.plan li b { color: var(--ink); font-weight: 600; }

/* --- zaver --------------------------------------------------------------- */

.closer {
	background: color-mix(in srgb, var(--sheet) 88%, transparent);
	border: 1px solid var(--rule);
	border-radius: 4px;
	padding: clamp(1.5rem, 4vw, 2.4rem);
	display: flex;
	flex-wrap: wrap;
	gap: 1.4rem;
	align-items: center;
	justify-content: space-between;
	box-shadow: var(--shadow-sm);
}
.closer h2 { max-width: 34ch; }
.closer .note { margin-top: .5rem; }

footer { border-top: 1px solid var(--rule); padding: 1.75rem 0 2.5rem; }
.footer__in { display: flex; flex-wrap: wrap; gap: 1.25rem 2rem; justify-content: space-between; align-items: center; }
.footer__devs { font-size: .8rem; color: var(--ink-3); max-width: 48ch; line-height: 1.55; margin: 0; text-align: right; }

/* --- nabeh --------------------------------------------------------------- */

.rise { animation: rise .62s cubic-bezier(.22, .7, .3, 1) both; }
.rise:nth-child(1) { animation-delay: .02s; }
.rise:nth-child(2) { animation-delay: .09s; }
.rise:nth-child(3) { animation-delay: .16s; }
.rise:nth-child(4) { animation-delay: .23s; }
.rise:nth-child(5) { animation-delay: .30s; }
@keyframes rise { from { opacity: 0; transform: translateY(11px); } to { opacity: 1; transform: none; } }
.sheetbox { animation: rise .8s cubic-bezier(.22, .7, .3, 1) .18s both; }
@media (prefers-reduced-motion: reduce) {
	.rise, .sheetbox { animation: none; }
}

/* --- doplnky pro beh v aplikaci ------------------------------------------ */

/* Na uzkem displeji uz se vedle vyzvy druhe tlacitko nevejde. */
@media (max-width: 560px) {
	.topbar__login { display: none; }
}

/* Hlasky (napr. po odhlaseni) - app.css se tu nenacita, tak minimum vlastniho. */
.flashes { max-width: 1120px; margin: 0 auto; padding: .9rem clamp(1.1rem, 4vw, 2.5rem) 0; display: flex; flex-direction: column; gap: .5rem; }
.alert { padding: .7rem .9rem; border-radius: 3px; font-size: .87rem; border: 1px solid var(--rule); background: var(--sheet); color: var(--ink-2); }
.alert--success { border-color: var(--accent-line); background: var(--accent-soft); color: var(--accent); }
.alert--error, .alert--danger { border-color: var(--stamp); background: var(--stamp-soft); color: var(--stamp); }

/* Samostatny cenik a kalkulacka */
.pricing-hero { padding: clamp(3.2rem, 8vw, 6.5rem) 0 2.5rem; text-align: center; }
.pricing-hero .eyebrow { display: block; margin-bottom: 1rem; }
.pricing-hero h1 { max-width: 16ch; margin-inline: auto; }
.pricing-hero .lead { margin: 1.1rem auto 0; max-width: 62ch; }
.pricing-plans { margin-top: 1.8rem; }
.plan__cta { margin-top: auto; padding-top: .25rem; }
.plan__cta .btn { width: 100%; justify-content: center; }
.pricing-note { margin-top: 1rem; border-left: 3px solid var(--accent); padding: .8rem 1rem; background: var(--accent-soft); color: var(--ink-2); font-size: .84rem; }
.calculator {
	display: grid;
	grid-template-columns: minmax(0, .95fr) minmax(300px, 1.05fr);
	gap: clamp(1.5rem, 5vw, 3.5rem);
	background: var(--sheet);
	border: 1px solid var(--rule);
	border-radius: 12px;
	padding: clamp(1.4rem, 4vw, 2.5rem);
	box-shadow: var(--shadow-lg);
}
.calculator__form { display: flex; flex-direction: column; gap: 1.35rem; }
.calc-field { display: grid; grid-template-columns: 1fr auto; gap: .4rem 1rem; align-items: center; }
.calc-field label { font-size: .9rem; font-weight: 600; color: var(--ink); }
.calc-field output {
	font: 700 .85rem var(--f-mono);
	color: var(--accent);
	background: var(--accent-soft);
	padding: 0.15rem 0.55rem;
	border-radius: 4px;
	border: 1px solid var(--accent-line);
}
.calc-field input[type="range"] {
	grid-column: 1/-1;
	width: 100%;
	accent-color: var(--accent);
	cursor: pointer;
	height: 6px;
	border-radius: 3px;
}
.calc-field small { grid-column: 1/-1; color: var(--ink-3); font-size: .75rem; }
.calculator__result {
	background: linear-gradient(145deg, var(--accent-soft) 0%, rgba(255, 255, 255, 0.5) 100%);
	border: 1px solid var(--accent-line);
	border-radius: 10px;
	padding: 1.6rem;
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 1.25rem;
	box-shadow: 0 4px 16px rgba(54, 59, 166, 0.06);
}
.calc-result { display: grid; grid-template-columns: 1fr auto; gap: .35rem 1rem; padding-bottom: .95rem; border-bottom: 1px solid var(--accent-line); align-items: baseline; }
.calc-result:last-of-type {
	background: var(--sheet);
	padding: 0.95rem 1.1rem;
	border-radius: 8px;
	border: 1px solid var(--accent);
	box-shadow: 0 2px 8px rgba(54, 59, 166, 0.1);
}
.calc-result span { color: var(--ink-2); font-size: .86rem; font-weight: 500; }
.calc-result strong { font-family: var(--f-display); font-size: 1.4rem; text-align: right; color: var(--ink); }
.calc-result:last-of-type strong { color: var(--accent); font-size: 1.55rem; font-weight: 700; }
.calc-result small { grid-column: 1/-1; color: var(--ink-3); font-size: .73rem; }
.calculator__note { font-size: .74rem; color: var(--ink-3); line-height: 1.5; }
.comparison td:not(:first-child), .comparison th:not(:first-child) { text-align: center; }
.comparison .yes { color: var(--accent); font-weight: 700; }
@media (max-width:760px) { .calculator { grid-template-columns: 1fr; } .pricing-plans .plans { grid-template-columns: 1fr; } }

/* ==========================================================================
   Reprezentativní úpravy, stav vývoje & Powered by service101.cz
   ========================================================================== */

/* --- Indikátory vývoje a pulzující tečky --- */
.pulse-dot {
	display: inline-block;
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: #10b981;
	box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
	animation: pulse-green 2s infinite;
	vertical-align: middle;
}
.pulse-dot--amber {
	background: #f59e0b;
	box-shadow: 0 0 0 0 rgba(245, 158, 11, 0.7);
	animation: pulse-amber 2s infinite;
}
@keyframes pulse-green {
	0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
	70% { transform: scale(1); box-shadow: 0 0 0 7px rgba(16, 185, 129, 0); }
	100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}
@keyframes pulse-amber {
	0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(245, 158, 11, 0.7); }
	70% { transform: scale(1); box-shadow: 0 0 0 7px rgba(245, 158, 11, 0); }
	100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(245, 158, 11, 0); }
}

/* --- Horní vývojová lišta (Ribbon) --- */
.dev-ribbon {
	background: linear-gradient(90deg, #0b1120 0%, #1e293b 50%, #0b1120 100%);
	color: #f8fafc;
	font-size: 0.81rem;
	padding: 0.48rem 1rem;
	border-bottom: 1px solid rgba(255, 255, 255, 0.1);
	position: relative;
	z-index: 60;
}
.dev-ribbon__in {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 0.75rem;
	flex-wrap: wrap;
	text-align: center;
}
.dev-ribbon__tag {
	background: rgba(245, 158, 11, 0.22);
	border: 1px solid rgba(245, 158, 11, 0.55);
	color: #fbbf24;
	font-weight: 700;
	font-size: 0.68rem;
	padding: 0.15rem 0.6rem;
	border-radius: 9999px;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
}
.dev-ribbon__msg {
	color: #cbd5e1;
	font-size: 0.82rem;
}
.dev-ribbon__cta {
	color: #38bdf8;
	font-weight: 600;
	text-decoration: none;
	font-size: 0.82rem;
	transition: color 0.15s ease;
}
.dev-ribbon__cta:hover {
	color: #93c5fd;
	text-decoration: underline;
}

/* --- Odznáček v topbaru --- */
.topbar__dev-badge {
	display: inline-block;
	font-size: 0.68rem;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	padding: 0.15rem 0.5rem;
	border-radius: 4px;
	background: var(--accent-soft);
	color: var(--accent);
	border: 1px solid var(--accent-line);
	margin-left: 0.5rem;
	vertical-align: middle;
}

/* --- Vývojová pilulka v Hero sekci --- */
.dev-hero-pill {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	background: var(--sheet);
	border: 1px solid var(--rule-strong);
	border-radius: 9999px;
	padding: 0.32rem 0.95rem;
	font-size: 0.82rem;
	color: var(--ink);
	box-shadow: var(--shadow-sm);
	margin-bottom: 0.95rem;
	text-decoration: none;
	transition: all 0.2s ease;
}
.dev-hero-pill:hover {
	border-color: var(--accent);
	transform: translateY(-1px);
	box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
}
.dev-hero-pill__status {
	font-weight: 700;
	color: #d97706;
	letter-spacing: 0.05em;
	font-size: 0.74rem;
}
.dev-hero-pill__sep {
	color: var(--rule-strong);
}
.dev-hero-pill__ver {
	color: var(--ink-2);
	font-weight: 500;
}
.dev-hero-pill__arrow {
	color: var(--accent);
	font-weight: 600;
	transition: transform 0.15s ease;
}
.dev-hero-pill:hover .dev-hero-pill__arrow {
	transform: translateX(2px);
}

/* --- Sekce Ekosystém S1Edit & S1Text --- */
.ecosystem-section {
	padding: clamp(2.4rem, 5vw, 4.2rem) 0;
	border-top: 1px solid var(--rule);
	background: var(--sheet-sunk);
}
.ecosystem-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
	gap: 1.6rem;
	margin-top: 2rem;
}
.ecosystem-card {
	background: var(--sheet);
	border: 1px solid var(--rule);
	border-radius: 8px;
	padding: 1.8rem;
	box-shadow: var(--shadow-sm);
	position: relative;
	transition: all 0.22s ease;
}
.ecosystem-card:hover {
	transform: translateY(-2px);
	box-shadow: var(--shadow-lg);
	border-color: var(--accent-line);
}
.ecosystem-card--s1edit {
	border-top: 4px solid #2563eb;
}
.ecosystem-card--s1text {
	border-top: 4px solid #10b981;
}
.ecosystem-card__badge {
	display: inline-block;
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	padding: 0.2rem 0.6rem;
	border-radius: 4px;
	margin-bottom: 0.9rem;
}
.ecosystem-card--s1edit .ecosystem-card__badge {
	background: #eff6ff;
	color: #1d4ed8;
	border: 1px solid #bfdbfe;
}
.ecosystem-card--s1text .ecosystem-card__badge {
	background: #ecfdf5;
	color: #047857;
	border: 1px solid #a7f3d0;
}
.ecosystem-card h3 {
	font-size: 1.32rem;
	margin-bottom: 0.6rem;
	display: flex;
	align-items: center;
	gap: 0.5rem;
}
.ecosystem-card p {
	font-size: 0.91rem;
	color: var(--ink-2);
	line-height: 1.6;
	margin-bottom: 1.3rem;
}
.ecosystem-card__features {
	list-style: none;
	padding: 0;
	margin: 0;
	display: flex;
	flex-direction: column;
	gap: 0.55rem;
}
.ecosystem-card__features li {
	font-size: 0.86rem;
	color: var(--ink-2);
	display: flex;
	align-items: baseline;
	gap: 0.55rem;
}
.ecosystem-card__features li span {
	color: var(--accent);
	font-weight: 700;
}

/* --- Vylepšený panel vývoje --- */
.development-panel {
	background: var(--sheet);
	border: 1px solid var(--rule);
	border-radius: 6px;
	padding: clamp(1.4rem, 4vw, 2.4rem);
	box-shadow: var(--shadow-sm);
	margin: 2.2rem 0;
	display: grid;
	grid-template-columns: auto 1fr auto;
	gap: 1.5rem;
	align-items: center;
}
@media (max-width: 760px) {
	.development-panel {
		grid-template-columns: 1fr;
	}
}
.development-panel__symbol {
	font-size: 2.2rem;
	line-height: 1;
	background: var(--accent-soft);
	color: var(--accent);
	width: 54px;
	height: 54px;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 12px;
	border: 1px solid var(--accent-line);
}
.development-panel__status {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	font-size: 0.78rem;
	color: #d97706;
	margin-bottom: 0.4rem;
	letter-spacing: 0.04em;
}
.development-panel h2 {
	margin-bottom: 0.5rem;
}
.development-panel p {
	color: var(--ink-2);
	font-size: 0.92rem;
	line-height: 1.6;
	margin: 0;
}
.development-panel__link {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	font-weight: 600;
	color: var(--accent);
	text-decoration: none;
	padding: 0.6rem 1.1rem;
	border-radius: 4px;
	border: 1px solid var(--accent-line);
	background: var(--accent-soft);
	white-space: nowrap;
	transition: all 0.15s ease;
}
.development-panel__link:hover {
	background: var(--accent);
	color: var(--accent-ink);
}

.dev-metrics {
	display: flex;
	flex-wrap: wrap;
	gap: 1.5rem;
	margin-top: 1.1rem;
	padding-top: 1rem;
	border-top: 1px solid var(--rule);
}
.dev-metric {
	display: flex;
	flex-direction: column;
	gap: 2px;
}
.dev-metric__num {
	font-family: var(--f-mono);
	font-size: 1.15rem;
	font-weight: 700;
	color: var(--accent);
}
.dev-metric__lbl {
	font-size: 0.76rem;
	color: var(--ink-3);
}

/* ==========================================================================
   POWERED BY SERVICE101.CZ – Patička
   ========================================================================== */

.footer__partner {
	display: flex;
	align-items: center;
}

.footer__partner-link {
	display: inline-flex;
	align-items: center;
	gap: 0.85rem;
	background: #090d16;
	background: linear-gradient(135deg, rgba(15, 23, 42, 0.96) 0%, rgba(30, 41, 59, 0.92) 100%);
	padding: 0.48rem 0.9rem;
	border-radius: 8px;
	text-decoration: none;
	color: #ffffff;
	border: 1px solid rgba(255, 255, 255, 0.15);
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
	transition: all 0.2s ease;
}

.footer__partner-link:hover {
	border-color: #38bdf8;
	transform: translateY(-1px);
	box-shadow: 0 4px 16px rgba(14, 165, 233, 0.25);
}

.footer__partner-logo {
	height: 26px;
	width: auto;
	object-fit: contain;
	display: block;
}

.footer__partner-info {
	display: flex;
	flex-direction: column;
	gap: 1px;
}

.footer__partner-pwr {
	font-size: 0.58rem;
	letter-spacing: 0.12em;
	color: #94a3b8;
	font-weight: 700;
	line-height: 1;
}

.footer__partner-name {
	font-size: 0.82rem;
	font-weight: 600;
	color: #38bdf8;
	line-height: 1.2;
}

.footer__brand {
	display: flex;
	align-items: center;
	gap: 0.8rem;
}

.footer__badge {
	font-size: 0.7rem;
	color: #d97706;
	background: rgba(245, 158, 11, 0.12);
	border: 1px solid rgba(245, 158, 11, 0.35);
	padding: 0.15rem 0.5rem;
	border-radius: 4px;
	font-weight: 600;
}

@media (max-width: 860px) {
	.footer__in {
		flex-direction: column;
		align-items: center;
		text-align: center;
		gap: 1.25rem;
	}
	.footer__devs {
		text-align: center;
		max-width: 100%;
	}
}

/* Společná navigace veřejných stránek a stručný rozcestník. */
.topbar__in { height: auto; min-height: 68px; flex-wrap: wrap; padding-block: .75rem; gap: .85rem 1.25rem; }
.topnav { gap: .9rem; }
.topnav a { padding-block: .6rem; }
.topnav a[aria-current="page"] { color: var(--accent); text-decoration: underline; text-underline-offset: .45rem; }
.page-intro { padding: clamp(2.5rem, 6vw, 4.5rem) 0 2rem; }
.page-intro .eyebrow { display: block; margin: 1.5rem 0 .75rem; }
.page-intro h1 { font-size: clamp(2rem, 5vw, 3.4rem); max-width: 24ch; line-height: 1.15; }
.page-intro .lead { max-width: 65ch; margin-top: 1rem; }
.page-back { color: var(--ink-2); font-size: .9rem; }
.explore-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.explore-card { display: flex; flex-direction: column; padding: 1.6rem; border: 1px solid var(--rule); border-radius: 8px; background: var(--sheet); color: var(--ink); text-decoration: none; }
.explore-card:hover { border-color: var(--accent); background: var(--accent-soft); }
.explore-card h3 { margin-top: .7rem; font-size: 1.3rem; }
.explore-card p { color: var(--ink-2); line-height: 1.65; font-size: .93rem; }
.explore-card__link { margin-top: auto; padding-top: .75rem; color: var(--accent); font-weight: 600; }
.skip-link { position: fixed; top: .5rem; left: 1rem; transform: translateY(-200%); z-index: 100; padding: .8rem 1rem; background: var(--sheet); color: var(--ink); }
.skip-link:focus { transform: translateY(0); }
.landing a:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
.ecosystem-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 1100px) {
	.topnav { display: flex; order: 3; width: 100%; flex-wrap: wrap; margin-left: 0; gap: .3rem 1.2rem; }
	.topbar__in > .btn { margin-left: auto; }
}
@media (max-width: 720px) {
	.explore-grid, .ecosystem-grid { grid-template-columns: 1fr; }
	.topbar { position: relative; }
	.development-panel__status { flex-wrap: wrap; }
}
@media (max-width: 380px) {
	.topbar__dev-badge { display: none; }
	.topbar__in { gap: .65rem; }
	.topbar__in > .btn { padding-inline: .65rem; font-size: .8rem; }
}

/* Přepínač jazyků a státní vlaječky pro veřejné stránky */
.flag-icon {
	width: 20px;
	height: 15px;
	border-radius: 2px;
	display: inline-block;
	vertical-align: middle;
	flex-shrink: 0;
	box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.12);
	overflow: hidden;
}

.locale-switcher {
	position: relative;
	display: inline-block;
}

.locale-switcher__toggle {
	display: inline-flex;
	align-items: center;
	gap: 0.45rem;
	padding: 0.35rem 0.65rem;
	background: var(--sheet, #ffffff);
	border: 1px solid var(--rule, #e2e8f0);
	border-radius: 6px;
	color: var(--ink, #0f172a);
	font-size: 0.82rem;
	font-weight: 600;
	cursor: pointer;
	list-style: none;
	user-select: none;
	transition: all 0.15s ease;
}

.locale-switcher__toggle::-webkit-details-marker {
	display: none;
}

.locale-switcher__toggle:hover,
.locale-switcher[open] .locale-switcher__toggle {
	border-color: var(--accent, #2563eb);
}

.locale-switcher__flag {
	display: inline-flex;
	align-items: center;
}

.locale-switcher__code {
	font-family: monospace;
	letter-spacing: 0.04em;
	font-size: 0.78rem;
}

.locale-switcher__arrow {
	font-size: 0.7rem;
	color: var(--ink-2, #64748b);
	transition: transform 0.15s ease;
}

.locale-switcher[open] .locale-switcher__arrow {
	transform: rotate(180deg);
}

.locale-switcher__dropdown {
	position: absolute;
	top: calc(100% + 6px);
	right: 0;
	z-index: 100;
	min-width: 220px;
	background: var(--sheet, #ffffff);
	border: 1px solid var(--rule, #e2e8f0);
	border-radius: 8px;
	box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
	padding: 0.35rem 0;
}

.locale-switcher__header {
	padding: 0.4rem 0.85rem 0.3rem;
	font-size: 0.7rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	color: var(--ink-2, #64748b);
	border-bottom: 1px solid var(--rule, #e2e8f0);
	margin-bottom: 0.25rem;
}

.locale-switcher__list {
	list-style: none;
	margin: 0;
	padding: 0;
	max-height: 280px;
	overflow-y: auto;
}

.locale-switcher__item {
	margin: 0;
	padding: 0;
}

.locale-switcher__link {
	display: flex;
	align-items: center;
	gap: 0.65rem;
	padding: 0.45rem 0.85rem;
	color: var(--ink, #0f172a);
	text-decoration: none;
	font-size: 0.84rem;
	transition: background 0.12s ease;
}

.locale-switcher__link:hover {
	background: rgba(37, 99, 235, 0.08);
	color: var(--accent, #2563eb);
}

.locale-switcher__item.is-active .locale-switcher__link {
	background: rgba(37, 99, 235, 0.12);
	color: var(--accent, #2563eb);
	font-weight: 600;
}

.locale-switcher__name {
	flex: 1;
	white-space: nowrap;
}

.locale-switcher__country {
	font-size: 0.72rem;
	color: var(--ink-2, #64748b);
	white-space: nowrap;
}

.locale-switcher__check {
	font-size: 0.85rem;
	font-weight: 700;
	color: var(--accent, #2563eb);
}
