/*
Theme Name: leginoi
Theme URI: https://leginoi.ro
Description: Tema leginoi.ro: Palatul Parlamentului desenat în pixeli, ziua și noaptea; cifrele pe o tabelă de vot cu cifre pixel desenate pentru site; grafice care numără în pătrate. Litera Archivo și cifrele găzduite local, fără resurse externe, cu mod întunecat complet. Lucrează împreună cu pluginul leginoi.
Version: 0.20.0
Author: Asociația Curaj Înainte
Requires at least: 6.2
Requires PHP: 7.4
License: GPL-2.0-or-later
Text Domain: leginoi
*/

/*
 * One grid for everything: the Palace is drawn in square pixels, so is the rest. Panels have a
 * 2 px frame with notched corners (corner-shape: notch; a plain small radius where browsers lack
 * it), raised things cast a hard shadow without blur, charts count in squares, display numbers use
 * the site's own 5 × 7 pixel numerals. One bold element per page: the board under the Palace on
 * the home page (navy, yellow digits, like the plenary's vote board). Dark mode is the same page
 * at night: other values for the same tokens, and the Palace with its windows lit.
 */
:root {
	--paper: #F4F8FD;
	--surface: #FFFFFF;
	--soft: #EDF3FB;
	--soft-2: #E3ECF7;
	--ink: #0D2144;
	--ink-2: #263B5C;
	--muted: #55698A;
	--line: #DCE5F1;
	--frame: #CDDCEE;
	--field: #7A8DAA; /* form field borders: 3:1 against the surface (WCAG 1.4.11) */
	--shade: #C3D5EC;
	--accent: #1262F3;
	--accent-2: #0B4FD0;
	--accent-ink: #FFFFFF;
	--accent-soft: #E8F0FF;
	--mark: #FFC525;
	--mark-soft: rgba(255, 197, 37, .5);
	--yes: #137A52;
	--no: #B3362B;
	--open: #9A5B00;
	--focus: #1262F3;
	--foot: #0D2144;
	--foot-ink: #D6DFEC;
	--sky: #E5F1FE;
	--sky-line: #CFE0F4;
	--board: #0D2144;
	--board-2: #1A3462;
	--board-ink: #FFC525;
	--board-label: #C3D2E8;
	--palace: url('assets/palat-zi.png');

	--max: 1320px;
	--head-h: 68px;
	--font: "Archivo", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
	--font-num: "leginoi cifre", "Archivo", system-ui, sans-serif;
	--n: 4px;
	--n-sm: 3px;
	--btn-shade: #0D2144;
	--lift: 4px 4px 0 var(--shade);
	--lift-sm: 3px 3px 0 var(--shade);
	/* chart hues: fixed order, validated for colour-blind separation per mode (see leginoi.css) */
	--c-lege: #008300;
	--c-respins: #e34948;
	--c-retras: #6250d6;
	--c-blocat-r: #9a5b00;
	--c-blocat: #eda100;
	--c-blue: #2a78d6;
	--c-aqua: #1baf7a;
	--c-orange: #eb6834;
	color-scheme: light;
}
@media (prefers-color-scheme: dark) {
	:root:not([data-theme="light"]) {
		--paper: #0B1424;
		--surface: #121F33;
		--soft: #172741;
		--soft-2: #1D3150;
		--ink: #E8EEF8;
		--ink-2: #C9D5E7;
		--muted: #9FB0C8;
		--line: #263A55;
		--frame: #2B4163;
		--field: #647C9F;
		--shade: #050A14;
		--accent: #6EA4FF;
		--accent-2: #8DB8FF;
		--accent-ink: #0B1424;
		--accent-soft: #1A2F52;
		--mark-soft: rgba(255, 197, 37, .38);
		--yes: #4CC38A;
		--no: #F08075;
		--open: #E2AA4F;
		--focus: #8DB8FF;
		--foot: #070E1A;
		--foot-ink: #B9C6D8;
		--sky: #0B1630;
		--sky-line: #1A2C50;
		--board: #050B17;
		--board-2: #15284A;
		--board-label: #A9BAD3;
		--palace: url('assets/palat-noapte.png');
		--btn-shade: #02060E;
		--c-lege: #1c9c5c;
		--c-respins: #e66767;
		--c-retras: #9085e9;
		--c-blocat-r: #8a5000;
		--c-blocat: #c98500;
		--c-blue: #3987e5;
		--c-aqua: #199e70;
		--c-orange: #d95926;
		color-scheme: dark;
	}
}
:root[data-theme="dark"] {
	--paper: #0B1424;
	--surface: #121F33;
	--soft: #172741;
	--soft-2: #1D3150;
	--ink: #E8EEF8;
	--ink-2: #C9D5E7;
	--muted: #9FB0C8;
	--line: #263A55;
	--frame: #2B4163;
	--field: #647C9F;
	--shade: #050A14;
	--accent: #6EA4FF;
	--accent-2: #8DB8FF;
	--accent-ink: #0B1424;
	--accent-soft: #1A2F52;
	--mark-soft: rgba(255, 197, 37, .38);
	--yes: #4CC38A;
	--no: #F08075;
	--open: #E2AA4F;
	--focus: #8DB8FF;
	--foot: #070E1A;
	--foot-ink: #B9C6D8;
	--sky: #0B1630;
	--sky-line: #1A2C50;
	--board: #050B17;
	--board-2: #15284A;
	--board-label: #A9BAD3;
	--palace: url('assets/palat-noapte.png');
	--btn-shade: #02060E;
	--c-lege: #1c9c5c;
	--c-respins: #e66767;
	--c-retras: #9085e9;
	--c-blocat-r: #8a5000;
	--c-blocat: #c98500;
	--c-blue: #3987e5;
	--c-aqua: #199e70;
	--c-orange: #d95926;
	color-scheme: dark;
}

/* ---------------------------------------------------------------- base */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--head-h) + 64px); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
	margin: 0;
	background: var(--paper);
	color: var(--ink);
	font-family: var(--font);
	font-size: 1.0625rem;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}
img, svg { max-width: 100%; height: auto; }
a { color: var(--accent); text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
h1, h2, h3, h4 { color: var(--ink); line-height: 1.15; text-wrap: balance; font-stretch: 112%; letter-spacing: -.015em; }
h1 { font-size: clamp(2rem, 1.3rem + 2.6vw, 3rem); font-weight: 790; margin: .3em 0 .4em; }
h2 { font-size: clamp(1.3rem, 1.1rem + .8vw, 1.6rem); font-weight: 740; margin: 1.6em 0 .5em; }
h3 { font-size: 1.12rem; font-weight: 700; }
p, li { text-wrap: pretty; }
strong, b { font-weight: 700; }
mark { background: var(--mark-soft); color: inherit; padding: 0 .1em; }
code { font-size: .9em; }
.wrap { width: min(calc(100% - 32px), var(--max)); margin: 0 auto; }
@media (min-width: 720px) { .wrap { width: min(calc(100% - 56px), var(--max)); } }
@media (min-width: 1640px) { :root { --max: 1440px; } }
@media (min-width: 2200px) { :root { --max: 1560px; } }

.skip { position: absolute; left: -9999px; top: 0; z-index: 100; background: var(--ink); color: var(--paper); padding: 10px 14px; }
.skip:focus { left: 8px; top: 8px; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* pixel icons: 12 cells, shown at whole multiples */
.px-icon { display: block; width: 24px; height: 24px; flex: none; }

/* ---------------------------------------------------------------- shapes
   Everything that has an edge gets a notched corner: a square bite out of each corner, the way a
   pixel drawing rounds a box. Browsers without corner-shape show a small rounding instead. */
.panel, .page-card, .toc, .route, .metric, .support-card, .btn, .tool, .ln-box, .ln-card, .ln-filters,
.ln-map, .ln-comisie, .ln-tile, .ln-kpi, .ln-fate:not(.is-full):not(.is-compact), .ln-cifre-now, .ln-agenda-filter,
input, select, textarea, button, .ln .ln-button, .ln-copy, .head-search input, .head-search button {
	border-radius: var(--n);
	corner-shape: notch;
}
.ln-badge, .ln-chip, .ln-topics a, .ln-topics span, .ln-years, .ln-years a, .ln-parties li, .subnav a, .nav a, .ln-mini-map i {
	border-radius: var(--n-sm);
	corner-shape: notch;
}

/* ---------------------------------------------------------------- forms */
input, select, textarea { font: inherit; color: var(--ink); background: var(--surface); border: 2px solid var(--field); padding: 9px 12px; min-height: 46px; }
input::placeholder { color: var(--muted); opacity: 1; }
input:focus, select:focus, textarea:focus { border-color: var(--accent); outline: 0; }
button, input[type="submit"] { font: inherit; }
.ln-filters button, input[type="submit"], form[role="search"] button, .btn, .btn:visited, .ln .ln-button {
	display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 0 20px;
	border: 0; background: var(--accent); color: var(--accent-ink); font-weight: 700; text-decoration: none; cursor: pointer;
	box-shadow: 3px 3px 0 var(--btn-shade);
	transition: transform .08s steps(2), box-shadow .08s steps(2);
}
.ln-filters button:hover, input[type="submit"]:hover, form[role="search"] button:hover, .btn:hover, .ln .ln-button:hover { background: var(--accent-2); color: var(--accent-ink); text-decoration: none; transform: translate(1px, 1px); box-shadow: 2px 2px 0 var(--btn-shade); }
.ln-filters button:active, input[type="submit"]:active, form[role="search"] button:active, .btn:active, .ln .ln-button:active { transform: translate(3px, 3px); box-shadow: 0 0 0 var(--btn-shade); }

/* ---------------------------------------------------------------- header */
.site-head { position: sticky; top: 0; z-index: 20; background: var(--surface); border-bottom: 2px solid var(--frame); }
.head-row { display: flex; align-items: center; gap: 14px; min-height: var(--head-h); }
.brand { display: inline-flex; flex-shrink: 0; align-items: flex-end; gap: 9px; color: var(--ink); text-decoration: none; margin-right: auto; padding: 8px 0; }
.brand-mark { width: 84px; height: auto; display: block; color: var(--ink); shape-rendering: crispEdges; }
.mark .mark-base { fill: var(--mark); }
.brand-name { font-weight: 800; font-stretch: 118%; font-size: 1.5rem; letter-spacing: -.03em; line-height: .8; }
.brand-name span { font-weight: 500; color: var(--muted); }

.head-tools { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.tool {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	height: 42px; min-width: 42px; padding: 0 14px;
	border: 2px solid var(--frame); background: var(--surface); color: var(--ink);
	font: 700 .92rem/1 var(--font); cursor: pointer; text-decoration: none;
}
.tool:hover { border-color: var(--ink); text-decoration: none; }
.search-btn, .mode, .menu-btn { padding: 0; width: 42px; }
.search-btn[aria-expanded="true"] { background: var(--soft); border-color: var(--ink); }
.site-head .support-btn, .site-head .support-btn:visited { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); box-shadow: 3px 3px 0 var(--btn-shade); }
.site-head .support-btn:hover { background: var(--accent-2); border-color: var(--accent-2); color: var(--accent-ink); transform: translate(1px, 1px); box-shadow: 2px 2px 0 var(--btn-shade); }
.mode { display: none; }
.js .mode { display: inline-flex; }
.menu-btn { display: none; }
.mode .i-sun, .menu-btn .i-close { display: none; }
:root[data-theme="dark"] .mode .i-sun { display: block; }
:root[data-theme="dark"] .mode .i-moon { display: none; }
@media (prefers-color-scheme: dark) {
	:root:not([data-theme="light"]) .mode .i-sun { display: block; }
	:root:not([data-theme="light"]) .mode .i-moon { display: none; }
}
.is-open .menu-btn .i-open { display: none; }
.is-open .menu-btn .i-close { display: block; }

/* The search bar under the header: opened by the magnifier (or "/"); without JS the magnifier is a link. */
.head-search { border-top: 2px solid var(--frame); background: var(--surface); }
.head-search form { display: flex; gap: 10px; padding: 12px 0; }
.head-search input { flex: 1 1 auto; min-width: 0; height: 48px; padding: 0 16px; background: var(--paper); font-size: 1rem; }
.head-search button { height: 48px; }

.nav ul { list-style: none; margin: 0; padding: 0; }
.nav a { color: var(--ink); text-decoration: none; font-weight: 650; }
.nav .current-menu-item > a, .nav .current_page_item > a { color: var(--ink); }
.nav-support { display: none; }

/* ---------------------------------------------------------------- heroes
   The sky band. On the home page and the lists, the Palace stands at its right edge, drawn
   pixel for pixel (315 × 129 px, shown at 1 × to 3 ×); its left and top edges are dithered
   into the sky. The bill page has its own drawing (the plugin's map) instead. */
.hero {
	position: relative;
	background: var(--sky);
	border-bottom: 2px solid var(--sky-line);
}
.hero--home, .hero--page {
	background: var(--palace) right bottom / 788px 323px no-repeat, var(--sky);
	image-rendering: pixelated;
}
.hero--page { background-size: 630px 258px; }
@media (min-width: 1700px) { .hero--home { background-size: 945px 387px; } }
.hero-inner { display: flex; align-items: center; min-height: 258px; padding: 34px 0; }
.hero-copy { width: min(56%, 760px); }
.hero-copy h1 { margin: 0; font-size: clamp(2.4rem, 1.6rem + 2.6vw, 3.9rem); line-height: .98; font-weight: 820; letter-spacing: -.045em; }
.hero-copy p { margin: 12px 0 0; max-width: 40em; color: var(--ink-2); font-size: 1.1rem; }

/* Home: the hero is the day's vote; the Palace stands on the board below. */
.hero--home { border-bottom: 0; }
.hero--home .hero-inner { min-height: 323px; padding: 40px 0 44px; align-items: flex-start; }
.hero--home .hero-copy { width: min(48%, 760px); }
@media (min-width: 1700px) { .hero--home .hero-inner { min-height: 387px; } }
.hero--home .ln-azi-title { margin: 0 0 14px; color: var(--ink-2); font-size: 1rem; font-weight: 650; font-stretch: 108%; letter-spacing: 0; line-height: 1.3; }
.hero--home .ln-azi-title time { display: inline; color: var(--ink); font-weight: 760; }
.hero--home .ln-azi-lede { margin: 0; max-width: 24em; color: var(--ink); font-size: clamp(1.7rem, 1.1rem + 1.9vw, 2.65rem); line-height: 1.1; font-weight: 780; font-stretch: 108%; letter-spacing: -.028em; }
.hero--home .ln-azi-lede.is-second { margin-top: .6em; max-width: 36em; color: var(--ink-2); font-size: clamp(1.05rem, .95rem + .45vw, 1.3rem); line-height: 1.35; font-weight: 600; letter-spacing: -.005em; }
.hero--home .ln-azi-lede.is-empty { color: var(--muted); font-weight: 600; }
.hero--home .ln-azi-facts { margin: 18px 0 0; max-width: 46em; color: var(--ink-2); font-size: .95rem; }
.hero--home .ln-azi-facts a { font-weight: 700; }

/* Bill page: no art, the bill's own drawing sits on the right. */
.hero--bill .hero-inner { display: block; min-height: 0; padding: 26px 0 30px; }

/* ---------------------------------------------------------------- the board (home)
   The plenary's vote board: navy, yellow pixel numerals, labels in light ink. */
.board { background: var(--board); color: var(--board-label); border-top: 4px solid var(--mark); }
.board-inner { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 3fr); gap: 18px 40px; padding: 22px 0 24px; }
.board-group { min-width: 0; }
.board-group.is-now { padding-left: 40px; border-left: 2px dashed var(--board-2); }
.board-h { margin: 0 0 12px; color: #fff; font-size: .95rem; font-weight: 700; font-stretch: 108%; letter-spacing: 0; }
.board-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 14px 22px; margin: 0; }
.board-item { display: flex; flex-direction: column; gap: 8px; min-width: 0; margin: 0; }
.board-item dt { order: 2; font-size: .86rem; line-height: 1.3; color: var(--board-label); }
.board-item dt a { color: inherit; text-decoration-color: color-mix(in srgb, currentColor 50%, transparent); }
.board-item dt a:hover { color: #fff; }
.board-at { display: block; margin-top: 2px; color: var(--board-label); font-size: .76rem; font-weight: 500; line-height: 1.3; }
.board-n { order: 1; margin: 0; color: var(--board-ink); font: 400 40px/1 var(--font-num); letter-spacing: 0; white-space: nowrap; }

/* ---------------------------------------------------------------- routes (home) */
.routes { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-top: 28px; }
.routes .route { flex-direction: row; align-items: center; }
.route, .route:visited {
	min-width: 0; display: flex; flex-direction: column; gap: 12px; padding: 14px 14px 13px;
	border: 2px solid var(--frame); background: var(--surface); box-shadow: var(--lift);
	color: var(--ink); text-decoration: none;
	transition: transform .08s steps(2), box-shadow .08s steps(2), border-color .08s steps(2);
}
.route:hover { transform: translate(2px, 2px); box-shadow: 2px 2px 0 var(--shade); border-color: var(--ink); color: var(--ink); text-decoration: none; }
.route:active { transform: translate(4px, 4px); box-shadow: 0 0 0 var(--shade); }
.route-icon { display: grid; place-items: center; width: 44px; height: 44px; color: var(--accent); background: var(--accent-soft); border-radius: var(--n-sm); corner-shape: notch; }
.route-icon .px-icon { width: 36px; height: 36px; }
.route-text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.route-text strong { font-size: .98rem; line-height: 1.2; font-stretch: 106%; letter-spacing: -.01em; }
.route-text small { color: var(--muted); font-size: .8rem; line-height: 1.3; }

/* ---------------------------------------------------------------- dashboard (home) */
.dash { display: grid; grid-template-columns: minmax(0, 1fr) minmax(300px, 380px); gap: 22px; margin-top: 30px; align-items: start; }
.dash-side { display: grid; gap: 18px; min-width: 0; }
.panel { min-width: 0; background: var(--surface); border: 2px solid var(--frame); padding: 20px 22px; }
.panel-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 16px; margin: 0 0 12px; }
.panel-head h2 { margin: 0; font-size: 1.25rem; font-stretch: 110%; }
.panel-head a { flex: none; font-size: .92rem; font-weight: 700; text-decoration: none; }
.panel-head a:hover { text-decoration: underline; }
.panel-note { margin: -4px 0 12px; color: var(--muted); font-size: .95rem; }
.panel-foot { margin: 12px 0 0; font-size: .92rem; font-weight: 650; }

/* metric tiles (statistics page): the same board, inside the panel */
.metrics { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; margin: 0; padding: 18px 0; background: var(--board); color: var(--board-label); border-top: 4px solid var(--mark); border-radius: var(--n); corner-shape: notch; }
.metric { min-width: 0; margin: 0; padding: 4px 22px; display: flex; flex-direction: column; gap: 8px; border-left: 2px dashed var(--board-2); }
.metric:first-child { border-left: 0; }
.metric dt { order: 2; color: var(--board-label); font-size: .86rem; line-height: 1.3; }
.metric dd { margin: 0; }
.metric .metric-n { order: 1; color: var(--board-ink); font: 400 40px/1 var(--font-num); white-space: nowrap; }
.metric .metric-note { order: 3; color: var(--board-label); opacity: .8; font-size: .8rem; line-height: 1.3; }
.metrics.is-compact { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 0; }
.metrics.is-compact .metric:nth-child(odd) { border-left: 0; }
.metrics.is-compact .metric .metric-n { font-size: 30px; }
.metrics-year { margin: 10px 0 0; color: var(--muted); font-size: .88rem; }

.support-card { display: grid; gap: 14px; padding: 18px 20px; background: var(--accent-soft); border: 2px solid var(--frame); }
.support-card p { margin: 0; color: var(--ink); }
.support-card strong { font-stretch: 106%; }
.support-card .btn { justify-self: start; }

/* ---------------------------------------------------------------- inner pages */
main { display: block; padding: 0 0 64px; }
.page-shell { padding-top: 26px; }
.page-card { background: var(--surface); border: 2px solid var(--frame); padding: clamp(18px, 2vw, 28px); }
.page-card > .entry > h1:first-child { display: none; }
.page-card > h2:first-child { margin-top: 0; }
.page-card + .page-card { margin-top: 16px; }
.entry { max-width: 44em; }
.entry h2 { font-size: 1.35rem; }
.entry table { border-collapse: collapse; width: 100%; font-size: .92rem; display: block; overflow-x: auto; }
.entry th, .entry td { border-bottom: 1px solid var(--line); padding: 8px 10px; text-align: left; vertical-align: top; }
.page-full .entry { max-width: none; }
.page-card.page-full { background: transparent; border: 0; padding: 0; }
.ln-legal-date { color: var(--muted); font-size: .92rem; }
.search-404 { display: flex; gap: 10px; max-width: 720px; }
.search-404 input { flex: 1 1 auto; min-width: 0; }

/* statistics: a sticky table of contents under the hero; the section being read is underlined in yellow */
.subnav { position: sticky; top: var(--head-h); z-index: 15; background: var(--surface); border-bottom: 2px solid var(--frame); }
.subnav ul { display: flex; gap: 4px; margin: 0 auto; padding: 8px 0; list-style: none; overflow-x: auto; scrollbar-width: none; }
.subnav ul::-webkit-scrollbar { display: none; }
.subnav a { display: block; padding: 8px 12px; color: var(--ink-2); font-size: .9rem; font-weight: 650; white-space: nowrap; text-decoration: none; }
.subnav a:hover { background: var(--soft); color: var(--ink); }
.subnav a[aria-current="true"] { color: var(--ink); background: linear-gradient(var(--mark), var(--mark)) left bottom / 100% 4px no-repeat; }
/* the year selector controls the tiles, so it sits in the panel's head, on the right */
.stats-year { margin-bottom: 18px; padding: 24px 28px; }
.stats-year .panel-head { align-items: center; margin-bottom: 16px; }
.stats-year .panel-head .ln-years { margin: 0; }
.stats-year .metrics { margin-bottom: 24px; }
.stats-year > .ln > .ln-cifre > .ln-years { display: none; }

/* ---------------------------------------------------------------- footer */
.site-foot { background: var(--foot); color: var(--foot-ink); padding: 48px 0 40px; font-size: .95rem; border-top: 4px solid var(--mark); }
.site-foot a { color: var(--foot-ink); }
.site-foot a:hover { color: #fff; }
.foot-grid { display: grid; gap: 28px; }
@media (min-width: 900px) { .foot-grid { grid-template-columns: 1.3fr 1fr; align-items: start; } }
.foot-mark { width: 220px; color: #DCE5F1; display: block; margin-bottom: 14px; shape-rendering: crispEdges; }
.foot-name { font-weight: 800; font-stretch: 118%; font-size: 1.5rem; letter-spacing: -.02em; color: #fff; margin: 0 0 4px; }
.foot-name span { font-weight: 500; opacity: .6; }
.foot-brand p { margin: 4px 0; max-width: 34em; }
.foot-nav ul { list-style: none; margin: 0; padding: 0; columns: 2; column-gap: 24px; }
.foot-nav li { margin: 0 0 8px; break-inside: avoid; }
.foot-legal { grid-column: 1 / -1; margin: 0; padding-top: 18px; border-top: 2px dashed rgba(255, 255, 255, .14); display: flex; flex-wrap: wrap; gap: 6px 22px; font-size: .88rem; opacity: .85; }

/* ================================================================ plugin output, in this theme's voice */
.ln {
	--ln-line: var(--line);
	--ln-soft: var(--soft);
	--ln-yes: var(--yes);
	--ln-no: var(--no);
	--ln-open: var(--open);
	--ln-radius: var(--n);
	--ln-surface: var(--surface);
	--ln-sticky-top: calc(var(--head-h) + 16px);
	--ln-font-num: var(--font-num);
	--ln-c-lege: var(--c-lege);
	--ln-c-respins: var(--c-respins);
	--ln-c-retras: var(--c-retras);
	--ln-c-blocat-r: var(--c-blocat-r);
	--ln-c-blocat: var(--c-blocat);
	--ln-c-lucru: var(--c-blue);
	--ln-c-mp: var(--c-blue);
	--ln-c-gov: var(--c-aqua);
	--ln-c-ord: var(--c-blocat);
	--ln-c-putere: var(--c-blue);
	--ln-c-opozitie: var(--c-orange);
	--ln-c-mixt: var(--c-aqua);
	--ln-c-neaf: var(--c-retras);
}
.ln-muted { color: var(--muted); opacity: 1; }

/* subjects highlighted like marked text; in the dark, the words carry the yellow */
.ln-hl { color: inherit; text-decoration: none; background: linear-gradient(transparent 58%, var(--mark-soft) 58%, var(--mark-soft) 92%, transparent 92%); padding: 0 .06em; }
a.ln-hl:hover { background: var(--mark-soft); }
:root[data-theme="dark"] .ln-hl { background: none; color: #FFD75E; box-shadow: inset 0 -2px 0 rgba(255, 197, 37, .55); }
:root[data-theme="dark"] a.ln-hl:hover { background: rgba(255, 197, 37, .18); }
@media (prefers-color-scheme: dark) {
	:root:not([data-theme="light"]) .ln-hl { background: none; color: #FFD75E; box-shadow: inset 0 -2px 0 rgba(255, 197, 37, .55); }
	:root:not([data-theme="light"]) a.ln-hl:hover { background: rgba(255, 197, 37, .18); }
}

/* "Ce votează Parlamentul azi" outside the hero */
.ln-azi { border: 0; padding: 0; }
.ln-azi-title { margin: 0 0 14px; font-size: 1.1rem; font-weight: 650; font-stretch: 110%; color: var(--muted); letter-spacing: 0; }
.ln-azi-title time { display: block; color: var(--ink); font-weight: 760; }
.ln-azi-lede { margin: 0; max-width: 24em; font-size: clamp(1.5rem, 1rem + 2vw, 2.4rem); line-height: 1.15; font-weight: 700; font-stretch: 106%; letter-spacing: -.02em; }
.ln-azi-lede.is-second { margin-top: .55em; max-width: 34em; font-size: clamp(1.1rem, .95rem + .8vw, 1.4rem); line-height: 1.3; font-weight: 600; }
.ln-azi-lede.is-empty { color: var(--muted); font-weight: 500; }
.ln-azi-facts { margin: 18px 0 0; color: var(--muted); }
.ln-azi-facts a { font-weight: 650; margin-left: .2em; }
.ln-azi-week { border: 0; margin: 0; padding: 0; }
.ln-azi-week h2, .ln-azi-week h3 { margin: 0 0 4px; font-size: 1.12rem; font-stretch: 110%; }
.ln-azi-week p { margin: 0; color: var(--muted); font-size: .92rem; }

/* subject chips */
.ln-topics { gap: 8px; margin: 12px 0 0; }
.ln-topics a, .ln-topics span { background: var(--soft); border: 2px solid transparent; min-height: 34px; padding: 4px 11px; font-size: .88rem; font-weight: 600; color: var(--ink); }
.ln-topics a:hover { background: var(--mark-soft); border-color: transparent; }
.ln-topics b { color: var(--muted); opacity: 1; font-weight: 700; }
.ln-topics .is-more a, .ln-topics .is-more span { background: transparent; border-color: var(--frame); color: var(--muted); }
.ln-chip { background: var(--soft); border: 0; padding: 2px 9px; font-size: .8rem; color: var(--ink); }

/* the year in numbers */
.ln-years { gap: 2px; padding: 3px; background: var(--soft); display: inline-flex; margin: 0 0 14px; }
.ln-years a { border: 0; padding: 7px 12px 6px; color: var(--ink); font: 700 20px/1 var(--font-num); text-decoration: none; }
.ln-years a:hover { background: var(--soft-2); }
.ln-years a.is-on { background: var(--surface); box-shadow: 2px 2px 0 var(--shade); }
.ln-cifre-lede { font-size: clamp(1.1rem, 1rem + .45vw, 1.28rem); line-height: 1.5; margin: 0 0 16px; color: var(--ink); }
.ln-num { font-weight: 800; font-stretch: 115%; font-variant-numeric: tabular-nums; }
.ln-cifre-now { margin: 0 0 14px; padding: 14px 16px; background: var(--soft); color: var(--ink-2); }
.ln-cifre-now > strong:first-child { color: var(--ink); }
.ln-cifre-viz { padding: 4px 0 0; }
.ln-fig figcaption { color: var(--ink); font-weight: 700; font-size: .92rem; font-stretch: 106%; }
.ln-fig figcaption .ln-muted { font-weight: 500; }
.ln-split { height: 14px; margin: 0 0 10px; }
.ln-split-legend { color: var(--ink-2); margin: 0; gap: 4px 18px; font-size: .9rem; }
.ln-split-legend b { color: var(--ink); }
.ln-parties { gap: 6px; margin: 0; }
.ln-parties li { background: var(--surface); border: 2px solid var(--frame); padding: 3px 11px; }
.ln-cifre-notes { color: var(--muted); }

/* the fate of 100 bills: 100 squares beside the sentence; on the home page, a strip of 100 */
.ln-fate { margin: 0; padding: 0; background: transparent; color: var(--ink); border: 0; }
.ln-fate-lede { margin: 0 0 14px; font-size: clamp(1.05rem, .98rem + .4vw, 1.25rem); line-height: 1.5; font-weight: 500; }
.ln-fate .ln-num { font-weight: 800; }
.ln-fate-legend { list-style: none; margin: 12px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 20px; font-size: .9rem; color: var(--ink-2); }
.ln-fate-legend i { display: inline-block; width: 10px; height: 10px; margin-right: 7px; vertical-align: 0; }
.ln-fate-legend b { font-weight: 800; color: var(--ink); }
.ln-fate-legend.is-big { color: var(--ink-2); font-size: .95rem; }
.ln-fate-legend.is-big b { font: 700 30px/1 var(--font-num); color: var(--ink); }
.ln-fate-note, .ln-fate-basis { margin: 12px 0 0; font-size: .88rem; color: var(--muted); opacity: 1; }
.ln-waffle { gap: 3px; max-width: 250px; }
.ln-sides h3, .ln-reflect h3 { color: var(--ink); }
.ln-side-k { color: var(--ink-2); }
.ln-side-k b { color: var(--ink); }
.dash-side .ln-fate-lede { font-size: 1rem; line-height: 1.5; }
.dash-side .ln-fate-legend { font-size: .86rem; gap: 4px 14px; }

/* political make-up: party colours, power first, opposition hatched */
.ln-pb { gap: 2px; }
.ln-card .ln-pb { margin: 8px 0 4px; height: 6px; }
.ln-pb.is-full { height: 20px; }
.ln-pb-legend { font-size: .93rem; margin: 2px 0 10px; }
.ln-pb-camp-l { color: var(--muted); font-weight: 700; text-transform: none; }
.ln-party i { width: 10px; height: 10px; }
.ln-who-lede { font-size: 1.02rem; }
.ln-who-camp { color: var(--muted); font-size: .9rem; letter-spacing: .02em; }
.ln-who-camp.is-putere { color: var(--ink); }
.ln-who-list a { color: var(--ink); text-decoration: none; font-weight: 600; }
.ln-who-list a:hover { color: var(--accent); text-decoration: underline; }
.ln-mail { color: var(--accent); }
.ln-copy { border: 2px solid var(--frame); background: var(--surface); color: var(--ink); padding: 6px 14px; min-height: 36px; font-weight: 650; }
.ln-copy:hover { border-color: var(--ink); }

/* statistics: each section a panel that lays itself out by its own width (leginoi.css) */
.ln-sec { padding: 24px 28px 26px; margin: 0 0 18px; }
.ln-sec > h2 { margin: 0 0 14px; font-size: clamp(1.25rem, 1.1rem + .5vw, 1.5rem); font-stretch: 110%; }
.ln-sec h3 { font-size: 1.02rem; font-stretch: 106%; color: var(--ink); }
.ln-sec-lede { color: var(--ink-2); font-size: 1.02rem; }
.ln-sec-cols { border-top: 2px dashed var(--line); }
.ln-factor { border-top: 2px dashed var(--line); }
.ln-rate { font-size: .93rem; }
.ln-rate-label { color: var(--ink); }
.ln-rate-val small { color: var(--muted); opacity: 1; }
.ln-more > summary { color: var(--accent); }
.ln-table-wrap { overflow-x: auto; }
.ln-table { width: 100%; border-collapse: collapse; font-size: .92rem; }
.ln-table th, .ln-table td { padding: 9px 10px; border-bottom: 1px solid var(--line); text-align: left; font-variant-numeric: tabular-nums; }
.ln-table thead th { color: var(--muted); font-weight: 650; font-size: .82rem; border-bottom: 2px solid var(--frame); }
.ln-table tbody th { color: var(--ink); font-weight: 750; }
.ln-table td small { color: var(--muted); opacity: 1; }
.ln-table caption { color: var(--ink); font-stretch: 106%; }
.ln-tile { background: var(--paper); border: 2px solid var(--frame); }
.ln-tile dt { color: var(--muted); opacity: 1; }
.ln-tile dd b { font: 700 30px/1 var(--font-num); color: var(--ink); }
.ln-tile .ln-tile-n { color: var(--muted); opacity: 1; }
.ln-calib { color: var(--ink-2); }
.ln-calib-fig figcaption { font-weight: 400; font-size: .86rem; color: var(--muted); }
.ln-stats-foot { color: var(--muted); }
.page-full .ln-stats { margin-top: 0; }

/* pixel numerals at whole multiples of their pixel (10 px = 1 px per cell) */
.ln-sim-pct b { font-size: 20px; font-weight: 700; line-height: 1; }
.ln-card > .ln-chance .ln-chance-txt strong { font-size: 30px; font-weight: 700; letter-spacing: 0; }
.ln-sim-pct small { font-family: var(--font); }

/* AI summary: visibly labelled, never dressed up as fact */
.ln-ai { box-shadow: inset 6px 0 0 #6B3FA0; }
.ln-ai-what { font-size: 1.06rem; line-height: 1.5; }
.ln-ai-label { color: var(--muted); border-top: 2px dashed var(--line); padding-top: 10px; }

/* repertoire: a reading list, not a dashboard */
.ln-rep-search input { background: var(--surface); padding: 12px 16px; }
.ln-rep-search button { min-height: 46px; }
.ln-rep-laws-list { columns: 1; }
@media (min-width: 900px) { .ln-rep-laws-list, .ln-rep-acts-list { columns: 2; column-gap: 40px; } .ln-rep-laws-list li, .ln-rep-acts-list li { break-inside: avoid; } }
.ln-rep-laws-list li, .ln-rep-acts-list li { padding: 6px 0; border-bottom: 1px solid var(--line); }
.ln-rep-laws-list a, .ln-rep-acts-list a { text-decoration: none; }
.ln-rep-laws-list a:hover strong, .ln-rep-acts-list a:hover strong { text-decoration: underline; }
.ln-rep-acts-list a strong { color: var(--accent); }
.ln-rep-title { font-size: clamp(1.4rem, 1.1rem + 1.2vw, 2rem); letter-spacing: -.01em; }
.ln-rep-title .ln-rep-name { display: block; font-size: .6em; color: var(--muted); margin-top: 4px; }

/* about page, buttons from the plugin */
.ln-despre h2 { margin-top: 1.8em; }
.ln-glossary { display: block; }
.ln-glossary dt { margin-top: 14px; font-weight: 700; }
.ln-glossary dd { margin: 2px 0 0; color: var(--ink); }
.ln .ln-button { color: var(--accent-ink) !important; padding: 0 22px; }
.entry .ln-despre { max-width: 44em; }

/* subject cloud, related bills */
.ln-cloud { margin: 22px 0 8px; }
.ln-cloud h2 { font-size: 1.15rem; margin: 0 0 4px; }
.ln-badge.is-topic { background: var(--mark-soft); border-color: transparent; color: var(--ink); text-decoration: none; font-weight: 700; }
.ln-badge.is-topic:hover { background: var(--mark); color: #0D2144; }
.ln-related h3 { margin: 14px 0 4px; font-size: 1.02rem; }
.ln-related p { margin: 0 0 8px; }
.ln-rel-list li { padding: 8px 0; border-top: 1px solid var(--line); }
.ln-rel-list .ln-badge { font-size: .78rem; }
.ln-rel-list a { color: var(--ink); text-decoration: none; }
.ln-rel-list a:hover { color: var(--accent); text-decoration: underline; }

/* lists of bills: rows with a status rail on the left */
.ln-filters { padding: 14px; border: 2px solid var(--frame); background: var(--surface); }
.ln-cards { gap: 12px; }
.ln-card { position: relative; background: var(--surface); border: 2px solid var(--frame); padding: 14px 16px 14px 22px; }
.ln-card::before { content: ""; position: absolute; left: 4px; top: 4px; bottom: 4px; width: 6px; border-radius: 0; background: var(--open); }
.ln-card.is-yes::before { background: var(--yes); }
.ln-card.is-no::before { background: var(--no); }
.ln-card-meta { gap: 4px 12px; margin-bottom: 4px; font-size: .86rem; }
.ln-card .ln-badge { border: 0; padding: 0; font-size: .86rem; font-weight: 700; }
.ln-card .ln-badge.is-dim { font-weight: 500; color: var(--muted); opacity: 1; }
.ln-card .ln-date { color: var(--muted); opacity: 1; font-size: .86rem; }
.ln-card-title { font-size: 1.06rem; line-height: 1.32; font-weight: 680; margin: 0 0 4px; }
.ln-card-title a { color: var(--ink); }
.ln-card-title a:hover { color: var(--accent); }
.ln-card-who { color: var(--muted); opacity: 1; font-size: .94rem; }
.ln-card-nr { display: flex; flex-wrap: wrap; gap: 2px 14px; color: var(--muted); opacity: 1; }

/* boxes on the bill and statistics pages */
.ln-box { background: var(--surface); border: 2px solid var(--frame); padding: 18px 20px; }
.ln-box h2 { margin-top: 0; font-size: 1.2rem; font-stretch: 110%; }
.ln-path { border: 2px solid var(--ink); box-shadow: var(--lift); }

/* the bill page head, in the sky band */
.hero--bill .ln-fisa-top { margin: 0; }
.ln-crumbs { color: var(--muted); }
.ln-crumbs a { color: var(--ink-2); }
.ln-fisa-title { margin: 8px 0 8px; color: var(--ink); font-size: clamp(1.6rem, 1.1rem + 1.8vw, 2.5rem); line-height: 1.12; font-stretch: 110%; font-weight: 780; letter-spacing: -.02em; }
.ln-official { color: var(--ink-2); }
.hero--bill .ln-map { background: var(--surface); border: 2px solid var(--frame); box-shadow: var(--lift); }
@media (min-width: 1060px) {
	.hero--bill .ln-fisa-top { grid-template-columns: minmax(0, 1fr) minmax(380px, 470px); gap: 28px; align-items: center; }
	.hero--bill .ln-fisa-head { margin: 0; }
}

/* agenda */
.ln-agenda-day h3 { font-size: 1.2rem; font-stretch: 110%; margin: 26px 0 8px; }
.ln-agenda-cam { text-transform: none; letter-spacing: 0; font-size: 1rem; color: var(--muted); }
.ln-agenda-list { border-left: 4px solid var(--frame); }
.ln-agenda-item { padding: 10px 0 10px 14px; }
.ln-agenda-item .ln-agenda-title { font-weight: 650; }
.ln-agenda-item a.ln-agenda-title { color: var(--ink); }
.ln-agenda-item a.ln-agenda-title:hover { color: var(--accent); }
.ln-agenda-meta, .ln-agenda-meta > span { color: var(--muted); opacity: 1; }
.ln-agenda-meta { display: flex; flex-wrap: wrap; gap: 2px 14px; }
.ln-agenda-filter { background: var(--mark-soft); color: var(--ink); }
.ln-comisie { background: var(--surface); border: 2px solid var(--frame); }

/* the week of laws: a list with a status rail, not a wall of cards */
.ln-week-lede { margin: 0 0 6px; color: var(--ink-2); }
.ln-week-h { margin: 18px 0 6px; font-size: 1rem; font-stretch: 108%; color: var(--muted); font-weight: 700; }
.ln-week-list { display: block; margin: 0; padding: 0; list-style: none; }
.ln-week-item { position: relative; margin: 0; padding: 12px 0 12px 18px; border: 0; border-top: 1px solid var(--line); border-radius: 0; background: transparent; }
.ln-week-item::before { content: ""; position: absolute; left: 0; top: 14px; bottom: 14px; width: 6px; background: var(--open); }
.ln-week-item.is-yes::before { background: var(--yes); }
.ln-week-item.is-no::before { background: var(--no); }
.ln-week-item h3 { margin: 2px 0 6px; font-size: 1.04rem; line-height: 1.3; font-stretch: 104%; }
.ln-week-item h3 a { color: var(--ink); text-decoration: none; }
.ln-week-item h3 a:hover { color: var(--accent); text-decoration: underline; }
.ln-week-meta { margin: 0; font-size: .84rem; color: var(--muted); }
.ln-week-meta .ln-badge { border: 0; padding: 0; font-weight: 700; }
.ln-week-dl { font-size: .9rem; }
.ln-week-dl dt { color: var(--muted); opacity: 1; }
.ln-week-more { margin: 10px 0 0; }
.ln-week-who { margin-top: 18px; padding-top: 14px; border-top: 2px dashed var(--line); }
.ln-week-who .ln-week-h { margin-top: 0; }

/* lists: the filters become a sticky column beside the results (leginoi.css decides when) */
.ln-list-side .ln-filters { padding: 16px; gap: 10px; }
.ln-list-side .ln-filters input, .ln-list-side .ln-filters select { width: 100%; }
.ln-list-main > .ln-count { margin: 4px 0 12px; color: var(--ink-2); }
.ln-pager { display: flex; flex-wrap: wrap; gap: 8px 18px; align-items: center; margin: 18px 0 0; }
.ln-pager a { font-weight: 700; }

/* text pages: a reading measure; on wide screens the headings sit in a sticky column on the left */
.page-text { max-width: 54rem; }
.toc { display: none; }
@media (min-width: 1100px) {
	.page-text { padding: clamp(24px, 2.6vw, 40px); }
	.page-shell.has-toc { display: grid; grid-template-columns: 250px minmax(0, 54rem); gap: 28px; align-items: start; }
	.toc { display: block; position: sticky; top: calc(var(--head-h) + 20px); max-height: calc(100vh - var(--head-h) - 40px); overflow: auto; padding: 18px 20px; border: 2px solid var(--frame); background: var(--surface); }
	.toc-h { margin: 0 0 8px; color: var(--muted); font-size: .88rem; font-weight: 700; }
	.toc ol { list-style: none; margin: 0; padding: 0; counter-reset: toc; }
	.toc li { margin: 0; }
	.toc a { display: block; padding: 6px 0; color: var(--ink-2); font-size: .92rem; line-height: 1.3; text-decoration: none; }
	.toc a:hover { color: var(--accent); }
}
.entry h2[id] { scroll-margin-top: calc(var(--head-h) + 20px); }

/* agenda on wide screens: subject · title · what happened, in columns */
@media (min-width: 1100px) {
	.ln-agenda-item { display: grid; grid-template-columns: 12.5rem minmax(0, 1fr) minmax(14rem, 18rem); gap: 2px 22px; align-items: baseline; }
	.ln-agenda-item > .ln-chip { justify-self: start; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
	.ln-agenda-item > .ln-agenda-meta { justify-content: flex-end; text-align: right; margin: 0; }
}

/* ---------------------------------------------------------------- wide screens */
/* Six menu items, the search, "Susține" and the switch fit in one row from 1200 px; below, the menu folds. */
@media (min-width: 1200px) {
	.nav { order: 2; margin-right: 6px; }
	.nav ul { display: flex; gap: 2px; }
	.nav a { display: block; padding: 10px 12px 9px; font-size: .95rem; white-space: nowrap; }
	.nav a:hover { background: var(--soft); }
	/* the current page: a yellow bar under it, like the base under the Palace in the logo */
	.nav .current-menu-item > a, .nav .current_page_item > a { background: linear-gradient(var(--mark), var(--mark)) left bottom / 100% 4px no-repeat; }
	.nav .current-menu-item > a:hover, .nav .current_page_item > a:hover { background: linear-gradient(var(--mark), var(--mark)) left bottom / 100% 4px no-repeat, var(--soft); }
	.head-tools { order: 3; }
	.nav .nav-support { display: none; }
}

/* ---------------------------------------------------------------- below desktop */
@media (max-width: 1199px) {
	.routes { grid-template-columns: repeat(4, minmax(0, 1fr)); }
	.board-inner { grid-template-columns: minmax(0, 1fr); }
	.board-group.is-now { padding: 18px 0 0; border-left: 0; border-top: 2px dashed var(--board-2); }
	.head-row { flex-wrap: wrap; }
	.nav { flex: 1 1 100%; order: 5; }
	.nav ul { display: flex; flex-wrap: wrap; gap: 0 18px; padding: 0 0 10px; }
	.nav a { display: inline-block; padding: 8px 0; }
	.nav .current-menu-item > a, .nav .current_page_item > a { box-shadow: inset 0 -4px 0 var(--mark); }
	.support-btn { display: none; }
	.nav .nav-support { display: block; padding: 14px 0; color: var(--accent); font-weight: 700; text-decoration: none; }
	.js .menu-btn { display: inline-flex; }
	.js .nav { display: none; }
	.js .is-open .nav { display: block; }
	.js .is-open .nav ul { flex-direction: column; gap: 0; padding: 4px 0 0; }
	.js .is-open .nav li + li, .js .is-open .nav .nav-support { border-top: 2px dashed var(--line); }
	.js .is-open .nav a { display: block; padding: 14px 0; font-size: 1.15rem; font-stretch: 108%; }
	.js .is-open .nav .current-menu-item > a, .js .is-open .nav .current_page_item > a { box-shadow: inset 6px 0 0 var(--mark); padding-left: 16px; }
	.js .is-open .nav .nav-support { margin-bottom: 10px; }
}
@media (max-width: 1059px) {
	.dash { grid-template-columns: minmax(0, 1fr); }
	.dash-side { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
	.hero--home .hero-copy { width: min(60%, 760px); }
	.hero--home { background-size: 630px 258px; }
	.hero--home .hero-inner { min-height: 300px; }
}
@media (max-width: 860px) {
	/* the Palace moves under the words */
	.hero--home, .hero--page { background-size: 473px 194px; }
	.hero-inner { align-items: flex-start; min-height: 0; padding: 30px 0 204px; }
	.hero-copy, .hero--home .hero-copy { width: 100%; }
	.hero--home .hero-inner { min-height: 0; padding: 28px 0 210px; }
	.hero--bill .hero-inner { padding: 20px 0 22px; }
	.routes { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 22px; }
	.route { gap: 10px; padding: 10px 12px; }
	.route-text small { display: none; }
	.route-icon { width: 36px; height: 36px; }
	.route-icon .px-icon { width: 24px; height: 24px; }
	.metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 0; }
	.metric:nth-child(odd) { border-left: 0; }
	.board-n { font-size: 30px; }
}
@media (max-width: 560px) {
	:root { --head-h: 60px; }
	/* on phones the inner pages show the Palace at its own size, so the list starts sooner */
	.hero--page { background-size: 315px 129px; }
	.hero--page .hero-inner { padding-bottom: 140px; }
	body { font-size: 1rem; }
	.head-row { gap: 8px; }
	.brand-mark { width: 64px; }
	.brand-name { font-size: 1.22rem; }
	.tool { height: 40px; min-width: 40px; }
	.search-btn, .mode, .menu-btn { width: 40px; }
	.hero-copy h1 { font-size: 2.3rem; }
	.hero--home .ln-azi-lede { font-size: 1.62rem; line-height: 1.12; }
	.panel { padding: 16px; }
	.search-404 { flex-direction: column; }
	.ln-box { padding: 16px; }
	.board-inner { padding: 18px 0 20px; }
	.board-list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 18px; }
	.metric { padding: 4px 16px; }
	.metric .metric-n { font-size: 30px; }
}

/* ---------------------------------------------------------------- motion, print */
@media (prefers-reduced-motion: reduce) { * { scroll-behavior: auto !important; transition: none !important; animation: none !important; } }
@media print {
	.site-head, .subnav, .routes, .site-foot, .support-card, .ln-filters, .ln-pager, .board { display: none !important; }
	.hero { background: none !important; border: 0; }
	body, .ln-card, .ln-box, .panel, .page-card { background: #fff !important; color: #000 !important; box-shadow: none !important; }
	.ln-hl { background: none; text-decoration: underline; }
}
