/* ============================================================
   e-Ukraine — self-hosted (the Diia state app typeface).
   Free for commercial use. Cyrillic + Latin. woff2 in assets/fonts/.
   e-Ukraine     -> text family (everything)
   e-Ukraine Head -> display sibling (hero / brand wordmark only)
   ============================================================ */
@font-face {
	font-family: 'e-Ukraine';
	font-style: normal;
	font-weight: 400;
	font-display: swap;
	src: url('../fonts/e-Ukraine-Regular.woff2') format('woff2');
}

@font-face {
	font-family: 'e-Ukraine';
	font-style: normal;
	font-weight: 500;
	font-display: swap;
	src: url('../fonts/e-Ukraine-Medium.woff2') format('woff2');
}

@font-face {
	font-family: 'e-Ukraine';
	font-style: normal;
	font-weight: 700;
	font-display: swap;
	src: url('../fonts/e-Ukraine-Bold.woff2') format('woff2');
}

@font-face {
	font-family: 'e-Ukraine Head';
	font-style: normal;
	font-weight: 500;
	font-display: swap;
	src: url('../fonts/e-UkraineHead-Medium.woff2') format('woff2');
}

/* Menu icon fonts copied from the original Salient export. */
@font-face {
	font-family: 'bORDER FontAwesome';
	font-style: normal;
	font-weight: 400;
	font-display: block;
	src: url('../fonts/fontawesome-webfont.woff') format('woff');
}

@font-face {
	font-family: 'bORDER Salient Icons';
	font-style: normal;
	font-weight: 400;
	font-display: block;
	src: url('../fonts/icomoon.woff') format('woff');
}

@font-face {
	font-family: 'e-Ukraine Head';
	font-style: normal;
	font-weight: 700;
	font-display: swap;
	src: url('../fonts/e-UkraineHead-Bold.woff2') format('woff2');
}

:root {
	--border-palette-0: #c8c4bc;
	--border-palette-1: #e1ddd3;
	--border-palette-2: #faf6eb;
	--border-palette-3: #fefaef;
	--border-bg: var(--border-palette-2);
	--border-bg-soft: var(--border-palette-3);
	--border-bg-muted: var(--border-palette-1);
	--border-text: #0f1115;
	--border-muted: #69717d;
	--border-faint: #99a0ab;   /* lower-emphasis than muted — secondary links/hints */
	--border-accent: #0057b7;
	--border-telegram: #229ed9;
	--border-line: rgba(200, 196, 188, 0.82);
	--border-radius: 24px;
	--border-shadow: 0 18px 48px rgba(15, 17, 21, 0.08);
	--border-container: 1120px;
	--border-work-surface: 756px;
	--border-space: clamp(40px, 8vw, 96px);
	--border-font-display: 'e-Ukraine Head', 'e-Ukraine', sans-serif;
	--border-font-ui: 'e-Ukraine', sans-serif;
	--border-font-mono: var(--border-font-ui);
	--border-font: 'e-Ukraine', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
	/* --- Type scale — Diia / design.gov.ua 8pt grid ---
	   Sizes snap to a 4/8px grid (12 14 16 18 20 24 28 32 40),
	   line-heights are grid multiples. Body 16/24 = 1.5.
	   Hero is intentionally oversized (brand wordmark), off-grid. */
	--border-text-xs: 12px;                            /* caption  12/16 */
	--border-text-sm: 14px;                            /* small    14/20 */
	--border-text-meta: 14px;                          /* small    14/20 */
	--border-text-base: 16px;                          /* body     16/24 */
	--border-text-md: 18px;                            /* body L   18/28 */
	--border-text-lg: 20px;                            /* H5       20/28 */
	--border-text-tagline: clamp(18px, 3.5vw, 24px);   /* H4       24/32 */
	--border-text-subtitle: clamp(20px, 4vw, 24px);    /* H4       24/32 */
	--border-text-xl: clamp(28px, 5vw, 40px);          /* H2       40/48 */
	--border-text-hero: clamp(22px, 7.5vw, 88px);      /* brand wordmark (off-grid, one line w/ nowrap) */
	--border-weight-regular: 400;
	--border-weight-medium: 500;
	--border-weight-semibold: 600;
	--border-weight-bold: 700;
	--border-weight-extra: 800;
	--border-leading-title: 1.2;   /* H2 — grid 48 on 40 */
	--border-leading-tight: 1.3;   /* H4/H5 — grid 32 on 24, 28 on 20 */
	--border-leading-copy: 1.45;   /* small / dense copy */
	--border-leading-body: 1.5;    /* body — Diia 16/24 */
	--border-salient-container: calc(var(--border-container) + var(--container-padding, 90px) + var(--container-padding, 90px));
	--container-width: var(--border-salient-container);
}

html body {
	--wp--style--global--content-size: var(--border-salient-container);
	--wp--style--global--wide-size: var(--border-salient-container);
}

body .container,
body .post-area.standard-minimal.full-width-content .post .inner-wrap,
body.material #search-outer #search {
	max-width: var(--border-salient-container) !important;
}

body .wpb_raw_code.wpb_raw_html,
body .wpb_text_column:not(:has(.border-page)) {
	box-sizing: border-box;
	margin-left: auto;
	margin-right: auto;
	max-width: var(--border-container);
	padding-left: 20px;
	padding-right: 20px;
	width: 100%;
}

body .wpb_raw_code.wpb_raw_html:has(.border-request-wrap) {
	padding-top: 40px;
}

body,
button,
input,
select,
textarea {
	font-family: var(--border-font);
}

.border-page,
.border-page * {
	box-sizing: border-box;
}

/* Daily random logo rotation (0/90/180/270 — same for everyone, re-rolled per day). */
#header-outer #logo img,
header#top #logo img,
.border-logo-mark {
	transform: rotate(var(--border-logo-rotation, 0deg));
	transform-origin: 50% 50%;
}

.border-page {
	background: var(--border-bg);
	color: var(--border-text);
	font-family: var(--border-font);
	font-size: var(--border-text-base);
	font-weight: var(--border-weight-regular);
	line-height: var(--border-leading-body);
	min-height: 100vh;
	padding: 40px 0;
}

.border-container {
	margin: 0 auto;
	max-width: var(--border-container);
	padding: 0 20px;
	width: 100%;
}

.border-hero {
	display: flex;
	flex-direction: column;
	gap: 24px;
	padding: 56px 0 40px;
}

.border-logo {
	align-items: baseline;
	color: var(--border-text);
	display: inline-flex;
	font-size: var(--border-text-hero);
	font-weight: var(--border-weight-extra);
	gap: 0.02em;
	letter-spacing: 0;
	line-height: 0.95;
	margin: 0;
	white-space: nowrap;
}

.border-logo .border-logo-mark {
	display: inline-block;
	flex: 0 0 auto;
	height: 1em !important;
	margin: 0 !important;
	max-width: none !important;
	object-fit: contain;
	transform: translate(-4px, calc(0.07em - 4px));
	width: auto !important;
}

.border-logo .border-logo-image {
	display: block;
	height: 1em !important;
	margin: 0 !important;
	max-width: min(100%, 8.45em) !important;
	object-fit: contain;
	width: auto !important;
}

.border-tagline {
	color: var(--border-muted);
	font-size: var(--border-text-tagline);
	font-weight: var(--border-weight-medium);
	line-height: 1.25;
	margin: 0;
	max-width: 720px;
}

.border-subtitle {
	color: var(--border-text);
	font-size: var(--border-text-subtitle);
	font-weight: var(--border-weight-bold);
	letter-spacing: 0;
	line-height: 1.2;
	margin: 0;
}

.border-page .border-button,
.border-page .border-button-secondary,
.border-button.border-button,
.border-button-secondary.border-button-secondary {
	align-items: center;
	appearance: none;
	border-radius: 999px;
	cursor: pointer;
	display: inline-flex;
	font: inherit;
	font-weight: var(--border-weight-bold);
	gap: 10px;
	justify-content: center;
	line-height: 1.2;
	min-height: 48px;
	padding: 14px 22px;
	text-align: center;
	text-decoration: none;
	transition: background-color 180ms ease, border-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.border-page .border-button,
.border-button.border-button {
	background: var(--border-text);
	border: 1px solid var(--border-text);
	color: var(--border-bg-soft);
}

.border-page .border-button-secondary,
.border-button-secondary.border-button-secondary {
	background: var(--border-bg-soft);
	border: 1px solid var(--border-line);
	color: var(--border-text);
}

.border-page .border-button:hover,
.border-page .border-button:focus-visible,
.border-page .border-button-secondary:hover,
.border-page .border-button-secondary:focus-visible,
.border-button.border-button:hover,
.border-button.border-button:focus-visible,
.border-button-secondary.border-button-secondary:hover,
.border-button-secondary.border-button-secondary:focus-visible {
	text-decoration: none;
	transform: translateY(-1px);
}

.border-page .border-button:hover,
.border-page .border-button:focus-visible,
.border-button.border-button:hover,
.border-button.border-button:focus-visible {
	background: var(--border-accent);
	border-color: var(--border-accent);
	color: #ffffff;
}

.border-page .border-button-secondary:hover,
.border-page .border-button-secondary:focus-visible,
.border-button-secondary.border-button-secondary:hover,
.border-button-secondary.border-button-secondary:focus-visible {
	border-color: rgba(0, 87, 183, 0.35);
	color: var(--border-accent);
}

body #ajax-content-wrap .nectar-button,
body #ajax-content-wrap .wp-block-button__link,
body #ajax-content-wrap .vc_btn3.vc_btn3,
body .container-wrap input[type="submit"],
body .container-wrap button[type="submit"]:not(.search-widget-btn):not(.border-link-add):not(.border-link-remove):not(.border-pwa-install) {
	align-items: center !important;
	appearance: none;
	background: var(--border-text) !important;
	border: 1px solid var(--border-text) !important;
	border-radius: 999px !important;
	box-shadow: none !important;
	color: var(--border-bg-soft) !important;
	cursor: pointer;
	display: inline-flex !important;
	font-family: var(--border-font) !important;
	font-size: var(--border-text-base) !important;
	font-weight: var(--border-weight-bold) !important;
	gap: 10px;
	justify-content: center;
	letter-spacing: 0 !important;
	line-height: 1.2 !important;
	min-height: 48px;
	padding: 14px 22px !important;
	text-align: center;
	text-decoration: none !important;
	text-transform: none !important;
	transition: background-color 180ms ease, border-color 180ms ease, color 180ms ease, transform 180ms ease !important;
}

body #ajax-content-wrap .nectar-button:hover,
body #ajax-content-wrap .nectar-button:focus-visible,
body #ajax-content-wrap .wp-block-button__link:hover,
body #ajax-content-wrap .wp-block-button__link:focus-visible,
body #ajax-content-wrap .vc_btn3.vc_btn3:hover,
body #ajax-content-wrap .vc_btn3.vc_btn3:focus-visible,
body .container-wrap input[type="submit"]:hover,
body .container-wrap input[type="submit"]:focus-visible,
body .container-wrap button[type="submit"]:not(.search-widget-btn):not(.border-link-add):not(.border-link-remove):not(.border-pwa-install):hover,
body .container-wrap button[type="submit"]:not(.search-widget-btn):not(.border-link-add):not(.border-link-remove):not(.border-pwa-install):focus-visible {
	background: var(--border-accent) !important;
	border-color: var(--border-accent) !important;
	color: #ffffff !important;
	text-decoration: none !important;
	transform: translateY(-1px);
}

body #ajax-content-wrap .nectar-button[class*="see-through"],
body #ajax-content-wrap .nectar-button.transparent,
body #ajax-content-wrap .wp-block-button.is-style-outline .wp-block-button__link,
body #ajax-content-wrap .vc_btn3.vc_btn3-style-outline,
body #ajax-content-wrap .vc_btn3.vc_btn3-style-outline-custom {
	background: var(--border-bg-soft) !important;
	border-color: var(--border-line) !important;
	color: var(--border-text) !important;
}

body #ajax-content-wrap .nectar-button[class*="see-through"]:hover,
body #ajax-content-wrap .nectar-button[class*="see-through"]:focus-visible,
body #ajax-content-wrap .nectar-button.transparent:hover,
body #ajax-content-wrap .nectar-button.transparent:focus-visible,
body #ajax-content-wrap .wp-block-button.is-style-outline .wp-block-button__link:hover,
body #ajax-content-wrap .wp-block-button.is-style-outline .wp-block-button__link:focus-visible,
body #ajax-content-wrap .vc_btn3.vc_btn3-style-outline:hover,
body #ajax-content-wrap .vc_btn3.vc_btn3-style-outline:focus-visible,
body #ajax-content-wrap .vc_btn3.vc_btn3-style-outline-custom:hover,
body #ajax-content-wrap .vc_btn3.vc_btn3-style-outline-custom:focus-visible {
	background: var(--border-bg-soft) !important;
	border-color: rgba(0, 87, 183, 0.35) !important;
	color: var(--border-accent) !important;
}

.border-card {
	background: var(--border-bg-soft);
	border: 1px solid var(--border-line);
	border-radius: var(--border-radius);
	box-shadow: var(--border-shadow);
	color: var(--border-text);
	padding: 24px;
}

.border-grid {
	display: grid;
	gap: 18px;
	grid-template-columns: 1fr;
}

.border-muted {
	color: var(--border-muted);
}

.border-status-dot {
	background: var(--border-accent);
	border-radius: 50%;
	box-shadow: 0 0 0 6px rgba(0, 87, 183, 0.12);
	display: inline-block;
	flex: 0 0 auto;
	height: 10px;
	vertical-align: middle;
	width: 10px;
}

.border-status-dot.is-active {
	background: var(--border-accent);
	box-shadow: 0 0 0 6px rgba(0, 87, 183, 0.12);
}

.border-status-dot.is-pending {
	background: transparent;
	border: 2px solid rgba(105, 113, 125, 0.36);
	box-shadow: none;
}

.border-status-dot.is-done {
	background: #12a36d;
	box-shadow: 0 0 0 6px rgba(18, 163, 109, 0.12);
}

.border-page .border-status-dot.is-pending {
	height: 10px;
	width: 10px;
}

.border-page h1,
.border-page h2,
.border-page h3,
.border-page p {
	margin-top: 0;
}

.border-page a {
	color: inherit;
}

.border-section {
	padding: calc(var(--border-space) * 0.55) 0;
}

.border-section-header {
	align-items: flex-start;
	display: flex;
	flex-direction: column;
	gap: 10px;
	margin-bottom: 22px;
}

.border-section-title {
	color: var(--border-text);
	font-size: var(--border-text-xl);
	font-weight: var(--border-weight-bold);
	letter-spacing: 0;
	line-height: var(--border-leading-title);
	margin-bottom: 0;
}

.border-section-text {
	color: var(--border-muted);
	font-size: var(--border-text-md);
	font-weight: var(--border-weight-regular);
	line-height: var(--border-leading-copy);
	margin-bottom: 0;
	max-width: 620px;
}

.border-kicker,
.border-card-label,
.border-status-label {
	align-items: center;
	color: var(--border-muted);
	display: inline-flex;
	font-size: var(--border-text-sm);
	font-weight: var(--border-weight-semibold);
	gap: 10px;
	letter-spacing: 0.08em;
	line-height: 1.2;
	text-transform: uppercase;
}

.border-actions {
	display: flex;
	flex-direction: column;
	gap: 12px;
	width: 100%;
}

.border-actions .border-button,
.border-actions .border-button-secondary {
	width: 100%;
}

.border-card h3 {
	color: var(--border-text);
	font-size: var(--border-text-lg);
	font-weight: var(--border-weight-bold);
	letter-spacing: 0;
	line-height: var(--border-leading-tight);
	margin-bottom: 10px;
}

.border-card p:last-child {
	margin-bottom: 0;
}

.border-step {
	align-items: center;
	background: var(--border-bg);
	border: 1px solid var(--border-line);
	border-radius: 999px;
	color: var(--border-muted);
	display: inline-flex;
	font-size: var(--border-text-xs);
	font-weight: var(--border-weight-semibold);
	height: 32px;
	justify-content: center;
	line-height: 1;
	margin-bottom: 22px;
	width: 48px;
}

.border-step-card {
	display: flex;
	flex-direction: column;
}

.border-step-card-top {
	align-items: flex-start;
	display: flex;
	justify-content: space-between;
	margin-bottom: 20px;
	min-height: 104px;
}

.border-step-card .border-step {
	margin-bottom: 0;
}

.border-step-illustration {
	display: block;
	height: 104px;
	mix-blend-mode: multiply;
	object-fit: contain;
	opacity: 0.88;
	width: 104px;
}

.border-source-grid {
	display: grid;
	gap: 12px;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	list-style: none;
	margin: 0;
	padding: 0;
}

.border-page .border-source {
	align-items: center;
	background: #282020;
	border: 1px solid #282020;
	border-radius: 12px;
	color: var(--border-bg-soft);
	display: flex;
	font-size: var(--border-text-base);
	font-weight: var(--border-weight-bold);
	justify-content: center;
	line-height: var(--border-leading-tight);
	min-height: 78px;
	padding: 18px;
	text-align: center;
	text-decoration: none;
	transition: background-color 180ms ease, border-color 180ms ease, color 180ms ease, transform 180ms ease;
	width: 100%;
}

.border-source[href]:hover,
.border-source[href]:focus-visible {
	background: var(--border-source-hover-background, #282020);
	border-color: var(--border-source-hover-background, #282020);
	color: var(--border-source-hover-foreground, var(--border-bg-soft));
	outline: 2px solid var(--border-text);
	outline-offset: 3px;
	transform: translateY(-2px);
}

.border-source-more {
	min-width: 0;
}

.border-source-more button:hover,
.border-source-more button:focus-visible {
	background: #0f1115;
	border-color: #0f1115;
	outline: none;
}

.border-source-extra-wrap {
	grid-column: 1 / -1;
	display: grid;
	grid-template-rows: minmax(0, 0fr);
	min-height: 0;
	transition: grid-template-rows 280ms ease, margin-top 280ms ease;
}

.border-source-extra-wrap.is-expanded {
	grid-template-rows: minmax(0, 1fr);
	margin-top: 4px;
}

.border-source-extra-grid {
	display: grid;
	gap: 12px;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	list-style: none;
	margin: 0;
	min-height: 0;
	opacity: 0;
	overflow: hidden;
	padding: 0;
	transform: translateY(-8px);
	transition: opacity 180ms ease, transform 280ms ease;
}

.border-source-extra-wrap.is-expanded .border-source-extra-grid {
	opacity: 1;
	transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
	.border-source-extra-wrap,
	.border-source-extra-grid {
		transition: none;
	}
}

.border-direction-card {
	display: flex;
	flex-direction: column;
	min-height: 244px;
	padding: 28px;
}

.border-direction-card .border-card-label {
	margin-bottom: 30px;
}

.border-direction-card h3 {
	font-size: clamp(24px, 4vw, 32px);
	margin-bottom: 12px;
}

.border-direction-card .border-muted {
	max-width: 390px;
}

.border-route-graphic {
	align-items: center;
	display: flex;
	gap: 10px;
	margin-top: auto;
	padding-top: 32px;
}

.border-route-graphic span {
	background: var(--border-text);
	border-radius: 50%;
	display: block;
	height: 8px;
	width: 8px;
}

.border-route-graphic span:last-child {
	background: var(--border-palette-0);
}

/* Design system reference ------------------------------------------------ */
.border-design-system {
	padding-top: 88px;
}

.border-ds-intro {
	border-bottom: 1px solid var(--border-line);
	margin-bottom: 56px;
	max-width: 760px;
	padding-bottom: 40px;
}

.border-ds-intro .border-kicker {
	margin-bottom: 18px;
}

.border-ds-intro h1 {
	font-family: var(--border-font-display);
	font-size: clamp(40px, 7vw, 72px);
	line-height: 1;
	margin: 0 0 18px;
}

.border-ds-intro > p:last-child {
	color: var(--border-muted);
	font-size: var(--border-text-md);
	margin: 0;
	max-width: 580px;
}

.border-ds-section {
	border-bottom: 1px solid var(--border-line);
	padding: 48px 0;
}

.border-ds-section:last-child {
	border-bottom: 0;
}

.border-ds-swatch-grid,
.border-ds-surface-grid {
	display: grid;
	gap: 12px;
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.border-ds-swatch {
	aspect-ratio: 1.45;
	border: 1px solid var(--border-line);
	border-radius: 12px;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	padding: 16px;
}

.border-ds-swatch span,
.border-ds-type-list > div > span,
.border-ds-dark-card > p {
	font-size: var(--border-text-xs);
	font-weight: var(--border-weight-semibold);
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

.border-ds-swatch strong {
	font-size: var(--border-text-sm);
}

.border-ds-swatch--0 { background: var(--border-palette-0); }
.border-ds-swatch--1 { background: var(--border-palette-1); }
.border-ds-swatch--2 { background: var(--border-palette-2); }
.border-ds-swatch--3 { background: var(--border-palette-3); }
.border-ds-swatch--ink,
.border-ds-swatch--footer { background: #282020; color: var(--border-bg-soft); }

.border-ds-type-list {
	display: grid;
	gap: 22px;
}

.border-ds-type-list > div {
	border-bottom: 1px solid var(--border-line);
	padding-bottom: 22px;
}

.border-ds-type-list > div:last-child {
	border-bottom: 0;
	padding-bottom: 0;
}

.border-ds-type-list p {
	margin: 8px 0 0;
}

.border-ds-display { font-family: var(--border-font-display); font-size: clamp(32px, 5vw, 56px); line-height: 1.05; }
.border-ds-heading { font-size: var(--border-text-xl); font-weight: var(--border-weight-bold); line-height: var(--border-leading-title); }
.border-ds-body { font-size: var(--border-text-base); max-width: 620px; }
.border-ds-meta { color: var(--border-muted); font-size: var(--border-text-meta); font-weight: var(--border-weight-medium); }

.border-ds-actions {
	display: flex;
	flex-direction: column;
	gap: 12px;
	max-width: 360px;
}

.border-ds-actions button:disabled {
	cursor: wait;
	opacity: 0.64;
}

.border-ds-form-grid {
	display: grid;
	gap: 18px;
	max-width: var(--border-work-surface);
}

.border-ds-surface-grid {
	grid-template-columns: 1fr;
}

.border-ds-dark-card {
	background: #282020;
	border-radius: 12px;
	color: var(--border-bg-soft);
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	min-height: 200px;
	padding: 24px;
}

.border-ds-dark-card > p,
.border-ds-dark-card h3,
.border-ds-dark-card span {
	margin: 0;
}

.border-ds-dark-card h3 {
	font-size: var(--border-text-xl);
}

.border-ds-dark-card span {
	color: rgba(254, 250, 239, 0.68);
	font-size: var(--border-text-sm);
}

.border-ds-rules {
	display: grid;
	gap: 12px;
	list-style: none;
	margin: 0;
	max-width: 760px;
	padding: 0;
}

.border-ds-rules li {
	border-bottom: 1px solid var(--border-line);
	padding: 0 0 12px 26px;
	position: relative;
}

.border-ds-rules li::before {
	background: var(--border-text);
	border-radius: 50%;
	content: "";
	height: 7px;
	left: 0;
	position: absolute;
	top: 0.5em;
	width: 7px;
}

@media (min-width: 768px) {
	.border-ds-section {
		padding: 64px 0;
	}

	.border-ds-swatch-grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.border-ds-actions {
		align-items: center;
		flex-direction: row;
		max-width: none;
	}

	.border-ds-form-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.border-ds-form-grid .border-field:last-child {
		grid-column: 1 / -1;
	}

	.border-ds-surface-grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

.border-route-graphic i {
	background: var(--border-line);
	display: block;
	height: 1px;
	max-width: 190px;
	width: 42%;
}

.border-status-list {
	display: grid;
	gap: 16px;
	grid-template-columns: 1fr;
}

.border-status-card {
	box-shadow: none;
}

.border-status-head {
	align-items: center;
	display: flex;
	justify-content: space-between;
	margin-bottom: 24px;
}

.border-status-meta {
	color: var(--border-muted);
	font-size: var(--border-text-sm);
	font-weight: var(--border-weight-medium);
}

.border-status-line {
	background: var(--border-line);
	border-radius: 999px;
	height: 8px;
	overflow: hidden;
	width: 100%;
}

.border-status-progress {
	background: var(--border-accent);
	border-radius: inherit;
	display: block;
	height: 100%;
	width: 40%;
}

.border-status-progress--crossing {
	width: 68%;
}

.border-status-progress--delivered {
	width: 100%;
}

.border-status-dot--requested {
	background: #69717d;
	box-shadow: 0 0 0 6px rgba(105, 113, 125, 0.12);
}

.border-status-dot--crossing {
	background: var(--border-accent);
}

.border-status-dot--delivered {
	background: #12a36d;
	box-shadow: 0 0 0 6px rgba(18, 163, 109, 0.12);
}

.border-final-cta {
	align-items: flex-start;
	background: var(--border-text);
	border-radius: var(--border-radius);
	color: #ffffff;
	display: flex;
	flex-direction: column;
	gap: 22px;
	margin-top: 44px;
	padding: 28px;
}

.border-final-cta .border-section-title,
.border-final-cta .border-muted {
	color: inherit;
}

.border-final-cta .border-button {
	background: var(--border-bg-soft);
	border-color: var(--border-bg-soft);
	color: var(--border-text);
}

.border-final-cta .border-button:hover,
.border-final-cta .border-button:focus-visible {
	background: var(--border-accent);
	border-color: var(--border-accent);
	color: #ffffff;
}

.border-home-status-card {
	box-shadow: none;
	margin: 0 auto;
	max-width: 720px;
}

.border-home-status-top {
	align-items: flex-start;
	display: flex;
	flex-direction: column;
	gap: 12px;
	margin-bottom: 22px;
}

.border-home-status-top h3 {
	margin-bottom: 0;
}

.border-home-status-list {
	display: grid;
	gap: 10px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.border-home-status-list li {
	align-items: center;
	background: var(--border-bg);
	border: 1px solid var(--border-line);
	border-radius: 18px;
	display: grid;
	gap: 12px;
	grid-template-columns: auto minmax(0, 1fr) auto;
	min-height: 56px;
	padding: 14px 16px;
}

.border-home-status-list span:not(.border-status-dot) {
	color: var(--border-text);
	font-size: var(--border-text-sm);
	font-weight: var(--border-weight-semibold);
	letter-spacing: 0.06em;
	line-height: 1.2;
	text-transform: uppercase;
}

.border-home-status-list em {
	color: var(--border-muted);
	font-size: var(--border-text-sm);
	font-style: normal;
	font-weight: var(--border-weight-medium);
	line-height: 1.2;
}

.border-request-wrap {
	margin: 0 auto;
	max-width: var(--border-work-surface);
	padding: 0 0 32px;
}

.border-request-card {
	box-shadow: var(--border-shadow);
}

.border-request-header {
	margin-bottom: 24px;
}

.border-request-form {
	display: flex;
	flex-direction: column;
	gap: 18px;
}

.border-form-grid {
	display: grid;
	gap: 18px;
	grid-template-columns: 1fr;
}

.border-field {
	color: var(--border-text);
	display: flex;
	flex-direction: column;
	gap: 8px;
	margin: 0;
}

.border-field span {
	color: var(--border-muted);
	font-size: var(--border-text-sm);
	font-weight: var(--border-weight-semibold);
	letter-spacing: 0.04em;
	line-height: 1.2;
	text-transform: uppercase;
}

.border-field-head {
	align-items: center;
	display: flex;
	gap: 12px;
	justify-content: space-between;
}

.border-link-remove {
	align-items: center;
	appearance: none;
	background: var(--border-bg);
	border: 1px solid var(--border-line);
	border-radius: 999px;
	color: var(--border-text);
	cursor: pointer;
	display: inline-flex;
	flex: 0 0 auto;
	font: inherit;
	font-size: 22px;
	font-weight: var(--border-weight-semibold);
	height: 40px;
	justify-content: center;
	line-height: 1;
	padding: 0;
	transition: background-color 180ms ease, border-color 180ms ease, color 180ms ease, opacity 180ms ease, transform 180ms ease;
	width: 40px;
}

/* Full-width "add link" affordance under the link list. */
.border-link-add {
	align-items: center;
	appearance: none;
	background: var(--border-bg);
	border: 1px dashed var(--border-line);
	border-radius: 18px;
	color: var(--border-muted);
	cursor: pointer;
	display: flex;
	font: inherit;
	font-size: var(--border-text-sm);
	font-weight: var(--border-weight-medium);
	gap: 8px;
	justify-content: center;
	line-height: 1;
	margin-top: 10px;
	min-height: 48px;
	padding: 12px 16px;
	transition: background-color 180ms ease, border-color 180ms ease, color 180ms ease, opacity 180ms ease;
	width: 100%;
}

.border-link-add-icon {
	color: inherit;
	font-size: 20px;
	font-weight: var(--border-weight-semibold);
	line-height: 1;
}

.border-link-add:hover,
.border-link-add:focus-visible {
	background: var(--border-bg-soft);
	border-color: var(--border-text);
	color: var(--border-text);
	outline: none;
}

.border-link-remove:hover,
.border-link-remove:focus-visible {
	background: var(--border-text);
	border-color: var(--border-text);
	color: #ffffff;
	outline: none;
	transform: translateY(-1px);
}

.border-link-add:disabled,
.border-link-add[aria-disabled="true"] {
	cursor: not-allowed;
	opacity: 0.42;
}

.border-link-add:disabled:hover,
.border-link-add[aria-disabled="true"]:hover {
	background: var(--border-bg);
	border-color: var(--border-line);
	color: var(--border-muted);
}

/* Salient's `body[data-button-style*="slightly_rounded"] button` forces 4px !important
   (specificity 0,1,2). Beat it with a more specific selector so the add button's
   radius matches the form inputs (18px). */
body .border-links-field .border-link-add {
	border-radius: 18px !important;
}

.border-link-list {
	display: grid;
	gap: 10px;
}

.border-link-row {
	align-items: center;
	display: grid;
	gap: 10px;
	grid-template-columns: minmax(0, 1fr) auto;
}

.border-link-row:first-child {
	grid-template-columns: minmax(0, 1fr);
}

.border-link-remove {
	font-size: 24px;
}

.border-link-remove[hidden] {
	display: none;
}

.border-field input,
.border-field select,
.border-field textarea {
	appearance: none;
	background: var(--border-bg-muted);
	border: 1px solid var(--border-line);
	border-radius: 18px;
	color: var(--border-text);
	font: inherit;
	font-size: var(--border-text-base);
	line-height: 1.35;
	min-height: 58px;
	outline: none;
	padding: 16px 18px;
	transition: background-color 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
	width: 100%;
}

.border-field select {
	background-image: linear-gradient(45deg, transparent 50%, var(--border-muted) 50%), linear-gradient(135deg, var(--border-muted) 50%, transparent 50%);
	background-position: calc(100% - 22px) 25px, calc(100% - 16px) 25px;
	background-repeat: no-repeat;
	background-size: 6px 6px, 6px 6px;
	padding-right: 44px;
}

.border-field textarea {
	min-height: 148px;
	resize: vertical;
}

.border-field input::placeholder,
.border-field textarea::placeholder {
	color: rgba(105, 113, 125, 0.74);
}

.border-field input:focus,
.border-field select:focus,
.border-field textarea:focus {
	background: var(--border-bg-soft);
	border-color: rgba(0, 87, 183, 0.45);
	box-shadow: 0 0 0 4px rgba(0, 87, 183, 0.1);
}

.border-file-field input[type="file"] {
	cursor: pointer;
	padding: 14px;
}

.border-file-field input[type="file"]::file-selector-button {
	background: var(--border-bg-soft);
	border: 1px solid var(--border-line);
	border-radius: 999px;
	color: var(--border-text);
	cursor: pointer;
	font: inherit;
	font-size: var(--border-text-meta);
	font-weight: var(--border-weight-semibold);
	margin-right: 12px;
	padding: 10px 14px;
}

.border-form-footer {
	align-items: stretch;
	display: flex;
	flex-direction: column;
	gap: 12px;
	padding-top: 6px;
}

.border-form-state {
	color: var(--border-muted);
	font-size: var(--border-text-meta);
	font-weight: var(--border-weight-medium);
	margin-bottom: 0;
}

.border-field.is-invalid input,
.border-field.is-invalid select,
.border-field.is-invalid textarea {
	background: var(--border-bg-soft);
	border-color: #b94242;
	box-shadow: 0 0 0 4px rgba(185, 66, 66, 0.1);
}

.border-submit-button {
	width: 100%;
}

.border-submit-button:disabled {
	cursor: wait;
	opacity: 0.72;
	transform: none;
}

.border-submit-button.is-loading {
	background: var(--border-accent);
	border-color: var(--border-accent);
	color: #ffffff;
}

/* Progressive disclosure (hero form): the rest of the fields collapse to a
   single link field + submit until the visitor engages. The 0fr -> 1fr grid
   gives a smooth reveal without a hardcoded height; JS toggles .is-collapsed,
   so visitors without JS still get the full form. */
.border-form-rest {
	display: grid;
	grid-template-rows: 1fr;
	transition: grid-template-rows 0.35s ease, opacity 0.3s ease;
}

.border-form-rest.is-collapsed {
	grid-template-rows: 0fr;
	opacity: 0;
	pointer-events: none;
}

.border-form-rest-inner {
	display: flex;
	flex-direction: column;
	gap: 18px;
	min-height: 0;
	overflow: hidden;
}

@media (prefers-reduced-motion: reduce) {
	.border-form-rest {
		transition: none;
	}
}

/* Hero order form: the form is the homepage's primary call to action. */
.border-hero-form {
	margin-top: 4px;
	width: 100%;
}

.border-request-wrap--hero {
	margin: 0;
	max-width: var(--border-work-surface);
	padding: 0;
}

.border-request-wrap--hero .border-request-card {
	box-shadow: var(--border-shadow);
}

.border-request-success {
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.border-request-success .border-kicker,
.border-request-success .border-section-title,
.border-request-success .border-muted {
	margin-bottom: 0;
}

.border-request-success-code {
	align-items: flex-start;
	background: var(--border-bg-muted);
	border: 1px solid var(--border-line);
	border-radius: 18px;
	display: flex;
	flex-direction: column;
	gap: 6px;
	padding: 16px 18px;
}

.border-request-success-code span {
	color: var(--border-muted);
	font-size: var(--border-text-xs);
	font-weight: var(--border-weight-semibold);
	letter-spacing: 0.06em;
	line-height: 1.2;
	text-transform: uppercase;
}

.border-request-success-code .border-tracking-code {
	color: var(--border-text);
	font-family: var(--border-font-mono);
	font-size: var(--border-text-md);
	letter-spacing: 0.04em;
}

.border-request-success-actions {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.border-request-success-actions .border-button,
.border-request-success-actions .border-button-secondary {
	width: 100%;
}

/* Hero kicker line: the "Ukraine ↔ EU" status label with the "how it works"
   orient link inline, right after it — a one-second explainer before the form,
   not a redundant anchor below it. The link lives inside the same <p>, so it
   inherits the kicker's size/weight/tracking/uppercase and just needs a quieter
   colour (--border-faint) and no underline. The line scales down on a narrow
   phone (clamp) and wraps only if it truly must; desktop keeps the full 14px. */
.border-hero-kicker {
	flex-wrap: wrap;
	font-size: clamp(11px, 3vw, 14px);
	gap: 6px 10px;
	letter-spacing: 0.05em;
	margin: 0;
}

.border-page .border-hero-howlink {
	color: var(--border-faint);
	text-decoration: none;
}

.border-page .border-hero-howlink:hover,
.border-page .border-hero-howlink:focus-visible {
	color: var(--border-muted);
}

.border-form-notice {
	border: 1px solid var(--border-line);
	border-radius: 18px;
	font-weight: var(--border-weight-semibold);
	margin-bottom: 20px;
	padding: 14px 16px;
}

.border-form-notice p {
	margin-bottom: 8px;
}

.border-form-notice p:last-child {
	margin-bottom: 0;
}

.border-form-notice a {
	text-decoration: underline;
	text-underline-offset: 3px;
}

.border-form-notice--success {
	background: rgba(18, 163, 109, 0.1);
	border-color: rgba(18, 163, 109, 0.24);
	color: #08784e;
}

.border-form-notice--error {
	background: rgba(214, 64, 69, 0.1);
	border-color: rgba(214, 64, 69, 0.24);
	color: #a12c31;
}

.border-contact-buttons {
	display: flex;
	flex-direction: column;
	gap: 10px;
	margin: 18px 0;
}

.border-contact-buttons .border-button-secondary {
	width: 100%;
}

.border-order-status {
	display: flex;
	flex-direction: column;
	gap: 18px;
	margin: 0 auto;
	max-width: 920px;
	padding: 32px 0;
}

.border-order-summary {
	display: flex;
	flex-direction: column;
	gap: 24px;
}

.border-order-meta {
	display: grid;
	gap: 12px;
	grid-template-columns: 1fr;
}

.border-order-meta div {
	background: var(--border-bg);
	border: 1px solid var(--border-line);
	border-radius: 18px;
	padding: 16px;
}

.border-order-meta span,
.border-order-meta dt,
.border-progress-head span {
	color: var(--border-muted);
	display: block;
	font-size: var(--border-text-xs);
	font-weight: var(--border-weight-semibold);
	letter-spacing: 0.08em;
	line-height: 1.2;
	margin-bottom: 6px;
	text-transform: uppercase;
}

.border-order-meta strong,
.border-order-meta dd,
.border-progress-head strong {
	color: var(--border-text);
	display: block;
	font-size: var(--border-text-md);
	font-weight: var(--border-weight-bold);
	line-height: 1.2;
}

.border-order-meta dt,
.border-order-meta dd {
	margin: 0;
}

.border-progress-card {
	box-shadow: none;
	padding: 20px;
}

.border-progress-head {
	align-items: center;
	display: flex;
	justify-content: space-between;
	margin-bottom: 14px;
}

.border-progress-head span {
	margin-bottom: 0;
}

.border-order-progress,
.border-progress {
	background: var(--border-line);
	border-radius: 999px;
	height: 10px;
	overflow: hidden;
	width: 100%;
}

.border-order-progress span,
.border-progress span {
	background: var(--border-accent);
	border-radius: inherit;
	display: block;
	height: 100%;
}

.border-timeline,
.border-order-timeline {
	display: grid;
	gap: 14px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.border-timeline-item,
.border-status-item {
	position: relative;
}

.border-status-stage {
	align-items: flex-start;
	box-shadow: none;
	display: grid;
	gap: 16px;
	grid-template-columns: auto minmax(0, 1fr);
	padding: 20px;
}

.border-status-stage .border-status-label {
	color: var(--border-text);
	margin-bottom: 6px;
}

.border-status-stage .border-muted {
	font-size: var(--border-text-base);
	line-height: var(--border-leading-copy);
	margin-bottom: 0;
}

.border-status-history {
	display: grid;
	gap: 10px;
	margin-top: 12px;
}

.border-status-history-entry {
	background: var(--border-bg);
	border: 1px solid var(--border-line);
	border-radius: 14px;
	padding: 12px;
}

.border-status-history-entry time {
	color: var(--border-muted);
	display: block;
	font-size: var(--border-text-xs);
	font-weight: var(--border-weight-semibold);
	letter-spacing: 0.08em;
	line-height: 1.2;
	margin-bottom: 6px;
	text-transform: uppercase;
}

.border-status-history-entry p {
	color: var(--border-text);
	font-size: var(--border-text-meta);
	line-height: var(--border-leading-copy);
	margin-bottom: 0;
}

.border-stage-dot {
	border-radius: 50%;
	height: 14px;
	margin-top: 3px;
	width: 14px;
}

.border-stage-dot--completed {
	background: #12a36d;
	box-shadow: 0 0 0 7px rgba(18, 163, 109, 0.12);
}

.border-stage-dot--active {
	background: var(--border-accent);
	box-shadow: 0 0 0 7px rgba(0, 87, 183, 0.14);
}

@keyframes border-status-pulse {
	0% {
		box-shadow: 0 0 0 0 rgba(0, 87, 183, 0.22);
	}

	70% {
		box-shadow: 0 0 0 10px rgba(0, 87, 183, 0);
	}

	100% {
		box-shadow: 0 0 0 0 rgba(0, 87, 183, 0);
	}
}

.border-status-dot.is-active,
.border-stage-dot--active {
	animation: border-status-pulse 1.8s ease-out infinite;
}

/* Hero "live" dot (Ukraine ↔ EU): solid core + steady halo (base box-shadow)
   plus a radiating ring via ::after, for a calm living pulse. */
.border-status-dot--live {
	position: relative;
}

.border-status-dot--live::after {
	border-radius: 50%;
	content: "";
	inset: 0;
	pointer-events: none;
	position: absolute;
	animation: border-status-ping 2s ease-out infinite;
}

@keyframes border-status-ping {
	0% {
		box-shadow: 0 0 0 0 rgba(0, 87, 183, 0.35);
	}

	70% {
		box-shadow: 0 0 0 12px rgba(0, 87, 183, 0);
	}

	100% {
		box-shadow: 0 0 0 0 rgba(0, 87, 183, 0);
	}
}

@media (prefers-reduced-motion: reduce) {
	.border-status-dot--live::after,
	.border-status-dot.is-active,
	.border-stage-dot--active {
		animation: none;
	}
}

.border-stage-dot--pending {
	background: transparent;
	border: 2px solid rgba(105, 113, 125, 0.34);
	box-shadow: none;
}

.border-timeline-item--active .border-status-stage,
.border-status-item--active .border-status-stage {
	border-color: rgba(0, 87, 183, 0.34);
}

.border-timeline-item--pending .border-status-stage,
.border-status-item--pending .border-status-stage {
	background: color-mix(in srgb, var(--border-bg-soft) 66%, transparent);
}

.border-timeline-item--pending .border-status-label,
.border-timeline-item--pending .border-muted,
.border-status-item--pending .border-status-label,
.border-status-item--pending .border-status-meta {
	color: var(--border-muted);
}

.border-status-item--completed .border-status-meta {
	color: #08784e;
}

.border-status-item--active .border-status-meta {
	color: var(--border-accent);
}

.border-order-details h3 {
	margin-bottom: 18px;
}

.border-order-meta--details {
	margin: 0;
}

.border-order-cta {
	margin-top: 0;
}

.border-pwa-install {
	background: color-mix(in srgb, var(--border-bg-soft) 82%, transparent);
	box-shadow: 0 10px 30px rgba(15, 17, 21, 0.06);
	min-height: 46px;
	padding: 12px 18px;
}

.border-pwa-install[hidden] {
	display: none;
}

.border-pwa-install-wrap {
	align-items: flex-start;
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.border-pwa-ios-note {
	background: color-mix(in srgb, var(--border-bg-soft) 82%, transparent);
	border: 1px solid var(--border-line);
	border-radius: 999px;
	font-size: var(--border-text-meta);
	font-weight: var(--border-weight-medium);
	margin: 0;
	padding: 12px 16px;
}

.border-pwa-ios-note[hidden] {
	display: none;
}

@media (min-width: 768px) {
	.border-page {
		padding: 64px 0;
	}

	.border-container {
		padding: 0 32px;
	}

	body .wpb_raw_code.wpb_raw_html,
	body .wpb_text_column:not(:has(.border-page)) {
		padding-left: 32px;
		padding-right: 32px;
	}

	.border-hero {
		gap: 32px;
		padding: 88px 0 64px;
	}

	.border-card {
		padding: 32px;
	}

	.border-direction-card {
		min-height: 280px;
		padding: 40px;
	}

	.border-step-card-top {
		min-height: 120px;
	}

	.border-step-illustration {
		height: 120px;
		width: 120px;
	}

	.border-grid {
		gap: 24px;
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.border-section {
		padding: 64px 0;
	}

	.border-section-header {
		/* Stay stacked on desktop too: description sits directly under the
		   title (no two-column row), consistent with section + form headers. */
		gap: 12px;
		margin-bottom: 28px;
	}

	.border-actions {
		flex-direction: row;
		width: auto;
	}

	.border-actions .border-button,
	.border-actions .border-button-secondary {
		width: auto;
	}

	.border-source-grid {
		gap: 12px;
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}

	.border-source-extra-grid {
		gap: 12px;
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}

	.border-sources-section .border-section-header {
		margin-bottom: 20px;
	}

	.border-source {
		font-size: var(--border-text-lg);
	}

	.border-status-list {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.border-order-timeline {
		grid-template-columns: 1fr;
	}

	.border-final-cta {
		align-items: center;
		flex-direction: row;
		justify-content: space-between;
		padding: 40px;
	}

	.border-home-status-top {
		align-items: center;
		flex-direction: row;
		justify-content: space-between;
	}

	body .wpb_raw_code.wpb_raw_html:has(.border-request-wrap) {
		padding-top: 64px;
	}

	.border-request-wrap {
		padding: 0 0 48px;
	}

	.border-form-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.border-form-footer {
		align-items: center;
		flex-direction: row;
		justify-content: space-between;
	}

	.border-request-success-actions {
		align-items: center;
		flex-direction: row;
	}

	.border-request-success-actions .border-button,
	.border-request-success-actions .border-button-secondary {
		width: auto;
	}

	.border-contact-buttons {
		flex-direction: row;
		flex-wrap: wrap;
	}

	.border-contact-buttons .border-button-secondary {
		width: auto;
	}

	.border-submit-button {
		margin-left: auto;
		width: auto;
	}

	.border-order-status {
		gap: 22px;
		padding: 48px 0;
	}

	.border-order-summary {
		align-items: flex-end;
		flex-direction: row;
		justify-content: space-between;
	}

	.border-order-meta {
		grid-template-columns: repeat(2, minmax(160px, 1fr));
		min-width: 420px;
	}

	.border-order-meta--details {
		min-width: 0;
	}

	.border-timeline,
	.border-order-timeline {
		gap: 0;
	}

	.border-timeline-item,
	.border-status-item {
		padding-left: 28px;
	}

	.border-timeline-item::before,
	.border-status-item::before {
		background: var(--border-line);
		bottom: -1px;
		content: "";
		left: 6px;
		position: absolute;
		top: 0;
		width: 2px;
	}

	.border-timeline-item:last-child::before,
	.border-status-item:last-child::before {
		display: none;
	}

	.border-status-stage {
		margin-bottom: 14px;
	}

	.border-stage-dot {
		left: 0;
		position: absolute;
		top: 24px;
		z-index: 1;
	}
}

@media (prefers-reduced-motion: reduce) {
	.border-status-dot.is-active,
	.border-stage-dot--active {
		animation: none;
	}
}

@media (min-width: 1024px) {
	.border-grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.border-grid-two {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.border-grid-four {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}
}

/* Front-end manager dashboard
   ----------------------------------------------------------------------- */

.border-manager {
	display: flex;
	flex-direction: column;
	gap: 18px;
	margin: 0 auto;
	max-width: var(--border-container);
	padding: 24px 0 40px;
}

.border-manager-header {
	align-items: flex-start;
	display: flex;
	flex-direction: column;
	gap: 14px;
	justify-content: space-between;
}

.border-manager-header .border-section-title {
	margin-bottom: 0;
}

.border-manager-header-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.border-manager-count {
	align-items: center;
	background: var(--border-accent);
	border-radius: 999px;
	color: #ffffff;
	display: inline-flex;
	font-size: var(--border-text-meta);
	font-weight: var(--border-weight-bold);
	justify-content: center;
	line-height: 1;
	margin-left: 10px;
	min-width: 28px;
	padding: 6px 10px;
	vertical-align: middle;
}

.border-manager-tag-new {
	align-items: center;
	background: var(--border-accent);
	border-radius: 999px;
	color: #ffffff;
	display: inline-flex;
	font-size: var(--border-text-xs);
	font-weight: var(--border-weight-bold);
	letter-spacing: 0.08em;
	line-height: 1;
	padding: 6px 10px;
}

.border-manager-row--new {
	border-color: rgba(0, 87, 183, 0.34);
	box-shadow: inset 4px 0 0 var(--border-accent);
}

.border-manager-toolbar {
	margin: 0;
	max-width: 360px;
}

.border-manager-list {
	display: grid;
	gap: 12px;
	grid-template-columns: 1fr;
}

.border-manager-row {
	align-items: flex-start;
	display: flex;
	flex-direction: column;
	gap: 12px;
	padding: 18px 20px;
	text-decoration: none;
	transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.border-manager-row:hover,
.border-manager-row:focus-visible {
	border-color: rgba(0, 87, 183, 0.34);
	box-shadow: var(--border-shadow);
	transform: translateY(-1px);
}

.border-manager-row-main {
	align-items: center;
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
}

.border-manager-row-code {
	color: var(--border-text);
	font-size: var(--border-text-base);
	font-weight: var(--border-weight-bold);
}

.border-manager-row-dir {
	color: var(--border-muted);
	font-size: var(--border-text-meta);
	font-weight: var(--border-weight-medium);
}

.border-manager-row-meta {
	align-items: center;
	color: var(--border-muted);
	display: flex;
	flex-wrap: wrap;
	font-size: var(--border-text-meta);
	gap: 8px 16px;
}

.border-manager-row-meta time {
	font-weight: var(--border-weight-semibold);
	letter-spacing: 0.04em;
}

.border-status-badge {
	align-items: center;
	border: 1px solid var(--border-line);
	border-radius: 999px;
	display: inline-flex;
	font-size: var(--border-text-xs);
	font-weight: var(--border-weight-semibold);
	letter-spacing: 0.06em;
	line-height: 1;
	padding: 7px 12px;
	text-transform: uppercase;
	white-space: nowrap;
}

.border-status-badge--new {
	background: rgba(105, 113, 125, 0.1);
	border-color: rgba(105, 113, 125, 0.24);
	color: var(--border-muted);
}

.border-status-badge--active {
	background: rgba(0, 87, 183, 0.1);
	border-color: rgba(0, 87, 183, 0.28);
	color: var(--border-accent);
}

.border-status-badge--done {
	background: rgba(18, 163, 109, 0.12);
	border-color: rgba(18, 163, 109, 0.26);
	color: #08784e;
}

.border-status-badge--cancelled {
	background: rgba(214, 64, 69, 0.1);
	border-color: rgba(214, 64, 69, 0.26);
	color: #a12c31;
}

.border-manager-trackline {
	align-items: flex-start;
	display: flex;
	flex-direction: column;
	gap: 4px;
	padding: 16px 20px;
}

.border-manager-trackline span {
	font-size: var(--border-text-xs);
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.border-manager-trackline a {
	color: var(--border-accent);
	font-weight: var(--border-weight-semibold);
	word-break: break-all;
}

.border-manager-form .border-card {
	display: flex;
	flex-direction: column;
	gap: 18px;
}

@media (min-width: 768px) {
	.border-manager-header {
		align-items: flex-end;
		flex-direction: row;
	}

	.border-manager-row {
		align-items: center;
		flex-direction: row;
		justify-content: space-between;
	}
}

/* ============================================================
   Typography system — one voice: e-Ukraine (the Diia typeface).
   e-Ukraine Head -> display (hero / brand wordmark only)
   e-Ukraine      -> everything else (body, forms, cards, menu,
                     CTA, footer); hierarchy is built with weight.
   System-facing values use the same e-Ukraine family with tabular numbers.
   Mobile-first; Cyrillic + Latin.
   ============================================================ */

/* --- Base font assignment (human-facing default) --- */
.border-ui-font {
	font-family: var(--border-font-ui);
}

/* --- Technical values keep the shared family and tabular numerals. --- */
.border-mono,
.border-order-id,
.border-tracking-code,
.border-status-label,
.border-timestamp,
.border-micro-label {
	font-family: var(--border-font-mono);
	font-variant-numeric: tabular-nums;
	font-feature-settings: "tnum" 1;
}

/* --- Order ID: BORD-A7K92Q / #000123 --- */
.border-order-id {
	font-weight: var(--border-weight-semibold);
	letter-spacing: 0.01em;
}

/* --- Tracking code --- */
.border-tracking-code {
	font-weight: var(--border-weight-semibold);
	letter-spacing: 0.04em;
}

/* --- Status labels: REQUESTED / CROSSING / DELIVERED --- */
.border-status-label {
	font-weight: var(--border-weight-medium);
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

/* --- Timestamps: 14.06.2026 13:42 --- Mono 400 --- */
.border-timestamp {
	color: var(--border-muted);
	font-weight: var(--border-weight-regular);
	letter-spacing: 0.01em;
}

/* --- Micro labels: small technical captions --- Mono 400 --- */
.border-micro-label {
	color: var(--border-muted);
	font-size: var(--border-text-xs);
	font-weight: var(--border-weight-regular);
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

/* --- Visual hierarchy ---
   Hero / brand wordmark -> e-Ukraine Head (display).
   Section titles + body -> e-Ukraine; hierarchy via weight.
   e-Ukraine ships 400 / 500 / 700 (no 600 -> 600 resolves to 700). */
.border-logo {
	font-family: var(--border-font-ui);
	font-weight: var(--border-weight-bold);
	letter-spacing: -0.01em;
}

.border-section-title {
	font-family: var(--border-font-ui);
	font-weight: var(--border-weight-bold);
	letter-spacing: -0.005em;
}

/* ============================================================
   Salient shell — header menu + footer in e-Ukraine.
   No mono here anymore: mono is reserved for codes/IDs only.
   Scoped to Salient shell IDs; !important only to win over
   Salient's own nav/footer font rules (core files untouched).
   ============================================================ */

/* --- Header navigation (desktop, secondary + off-canvas) --- */
#header-outer #top nav .sf-menu > li > a,
#header-outer #top nav .sf-menu > li > a .menu-title-text,
#header-outer #top nav .sf-menu ul li a,
#header-secondary-outer #top nav .sf-menu > li > a,
#slide-out-widget-area .inner .menu li > a,
#slide-out-widget-area .off-canvas-menu-container li > a,
#slide-out-widget-area .menu-title-text {
	font-family: var(--border-font-ui) !important;
	font-weight: var(--border-weight-medium) !important;
}

/* --- Footer: all e-Ukraine --- */
#footer-outer,
#footer-outer p,
#footer-outer .widget,
#footer-outer .widget p,
#footer-outer li,
#footer-outer #copyright,
#footer-outer #copyright p,
#footer-outer nav .menu li a,
#footer-outer .social li a {
	font-family: var(--border-font-ui) !important;
}

#footer-outer .widget-title {
	font-weight: var(--border-weight-medium);
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

/* bORDER standalone theme shell. */
html {
	scroll-behavior: smooth;
}

html.lenis {
	scroll-behavior: auto;
}

html.lenis,
html.lenis body {
	height: auto;
}

.lenis.lenis-smooth [data-lenis-prevent] {
	overscroll-behavior: contain;
}

body.border-theme {
	background: var(--border-bg);
	color: var(--border-text);
	margin: 0;
}

body.border-theme .border-container {
	box-sizing: border-box;
}

.border-site-header {
	background: var(--border-bg-soft);
	box-shadow: 0 8px 24px rgba(15, 17, 21, 0.08);
	position: sticky;
	top: 0;
	transition: background-color 0.3s ease, box-shadow 0.3s ease;
	z-index: 30;
}

.border-site-header.is-condensed {
	box-shadow: 0 5px 18px rgba(15, 17, 21, 0.1);
}

.border-site-header-inner {
	align-items: center;
	display: flex;
	min-height: 86px;
	position: relative;
	transition: min-height 0.38s cubic-bezier(0.3, 1, 0.3, 1);
}

.border-site-header.is-condensed .border-site-header-inner {
	min-height: 64px;
}

.border-site-brand {
	align-items: center;
	color: var(--border-text);
	display: inline-flex;
	font-family: var(--border-font-display);
	font-size: 20px;
	font-weight: 700;
	letter-spacing: 0;
	left: 20px;
	position: absolute;
	text-decoration: none;
	top: 50%;
	transform: translateY(-50%);
	z-index: 2;
}

.border-site-logo {
	display: block;
	height: 28px;
	max-width: 180px;
	transform: rotate(var(--border-logo-rotation, 0deg));
	transform-origin: 50% 50%;
	transition: height 0.38s cubic-bezier(0.3, 1, 0.3, 1);
	width: auto;
}

.border-site-header.is-condensed .border-site-logo {
	height: 24px;
}

.border-site-nav {
	left: 50%;
	position: absolute;
	top: 50%;
	transform: translate(-50%, -50%);
	z-index: 1;
}

.border-site-nav ul {
	display: flex;
	gap: 4px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.border-site-nav a {
	color: var(--border-muted);
	display: block;
	font-size: 15px;
	font-weight: 500;
	padding: 12px 18px;
	text-decoration: none;
	transition: color 0.2s ease, padding 0.38s cubic-bezier(0.3, 1, 0.3, 1);
}

.border-site-header.is-condensed .border-site-nav a {
	padding-bottom: 9px;
	padding-top: 9px;
}

.border-export-fa,
.border-export-user {
	display: inline-block;
	font-style: normal;
	font-weight: 400;
	line-height: 1;
}

.border-export-fa {
	font-family: 'bORDER FontAwesome';
	font-size: 14px;
	margin-right: 7px;
}

.border-export-fa--basket::before {
	content: '\f291';
}

.border-export-fa--map::before {
	content: '\f277';
}

.border-export-fa--close {
	margin-right: 0;
}

.border-export-fa--close::before {
	content: '\f00d';
}

.border-export-user {
	font-family: 'bORDER Salient Icons';
	font-size: 20px;
	transition: color 0.2s ease, opacity 0.2s ease;
}

.border-export-user::before {
	content: '\e074';
}

.border-site-nav a:hover,
.border-site-nav a:focus-visible {
	color: var(--border-text);
}

.border-header-tools {
	align-items: center;
	display: flex;
	gap: 2px;
	position: absolute;
	right: 20px;
	top: 50%;
	transform: translateY(-50%);
	z-index: 2;
}

.border-header-icon {
	align-items: center;
	background: transparent;
	border: 0;
	color: var(--border-text);
	cursor: pointer;
	display: inline-flex;
	height: 44px;
	justify-content: center;
	padding: 0;
	transition: color 0.2s ease, height 0.38s cubic-bezier(0.3, 1, 0.3, 1), width 0.38s cubic-bezier(0.3, 1, 0.3, 1);
	width: 44px;
}

.border-site-header.is-condensed .border-header-icon {
	height: 40px;
	width: 40px;
}

.border-header-icon:hover,
.border-header-icon:focus-visible {
	color: var(--border-accent);
}

.border-export-menu-lines,
.border-export-menu-lines::before,
.border-export-menu-lines::after {
	background: currentColor;
	display: block;
	height: 2px;
	position: absolute;
	width: 18px;
}

.border-export-menu-lines {
	position: relative;
	transition: background 0.2s ease, opacity 0.2s ease;
}

.border-export-menu-lines::before,
.border-export-menu-lines::after {
	content: '';
	left: 0;
	transform-origin: 50% 50%;
	transition: top 0.4s 0.45s ease, transform 0.3s ease, background-color 0.2s ease, opacity 0.2s ease;
}

.border-export-menu-lines::before {
	top: -6px;
}

.border-export-menu-lines::after {
	top: 6px;
}

.border-menu-toggle[aria-expanded="true"] .border-export-menu-lines {
	background: transparent;
}

.border-menu-toggle[aria-expanded="true"] .border-export-menu-lines::before,
.border-menu-toggle[aria-expanded="true"] .border-export-menu-lines::after {
	top: 0;
	transition: top 0.4s ease, transform 0.3s 0.45s ease, background-color 0.2s ease, opacity 0.2s ease;
}

.border-menu-toggle[aria-expanded="true"] .border-export-menu-lines::before {
	transform: rotate(45deg);
}

.border-menu-toggle[aria-expanded="true"] .border-export-menu-lines::after {
	transform: rotate(-45deg);
}

.border-menu-overlay {
	background: rgba(15, 17, 21, 0.38);
	inset: 0;
	opacity: 0;
	position: fixed;
	transition: opacity 0.35s ease;
	z-index: 40;
}

.border-menu-overlay.is-visible {
	opacity: 1;
}

.border-offcanvas-menu {
	background: #282020;
	box-sizing: border-box;
	height: 100dvh;
	overflow-y: auto;
	padding: 116px 48px 48px;
	position: fixed;
	right: 0;
	top: 0;
	transform: translateX(100%);
	transition: transform 0.47s cubic-bezier(0.3, 1, 0.3, 0.95);
	width: min(420px, 100%);
	z-index: 41;
}

.border-offcanvas-menu.is-open {
	transform: translateX(0);
}

.border-offcanvas-close {
	align-items: center;
	background: transparent;
	border: 0;
	color: #fff;
	cursor: pointer;
	display: inline-flex;
	height: 44px;
	justify-content: center;
	padding: 0;
	position: absolute;
	right: 20px;
	top: 20px;
	width: 44px;
}

.border-offcanvas-close .border-export-fa {
	font-size: 18px;
}

.border-offcanvas-menu nav {
	display: grid;
	gap: 8px;
}

.border-offcanvas-menu a {
	color: rgba(255, 255, 255, 0.72);
	font-size: 22px;
	font-weight: 700;
	line-height: 1.36;
	padding: 8px 0;
	text-decoration: none;
	transition: color 0.2s ease;
}

.border-offcanvas-menu a:hover,
.border-offcanvas-menu a:focus-visible {
	color: #fff;
}

body.border-menu-open {
	overflow: hidden;
}

.border-site-footer {
	background: #282020;
	color: rgba(254, 250, 239, 0.64);
	font-size: var(--border-text-sm);
	padding: 64px 0 48px;
}

.border-footer-grid {
	display: grid;
	gap: 40px;
	grid-template-columns: minmax(0, 1.5fr) repeat(2, minmax(0, 1fr));
}

.border-site-footer p,
.border-site-footer a {
	margin: 0;
}

.border-footer-brand {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.border-footer-logo {
	color: #fefaef;
	font-family: var(--border-font-display);
	font-size: 24px;
	font-weight: 700;
	line-height: 1;
}

.border-footer-column {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.border-footer-title {
	color: #fefaef;
	font-size: var(--border-text-xs);
	font-weight: 700;
	letter-spacing: 0.08em;
	margin-bottom: 4px !important;
	text-transform: uppercase;
}

.border-site-footer a {
	color: rgba(254, 250, 239, 0.64);
	text-decoration: none;
	transition: color 0.2s ease;
}

.border-site-footer a:hover,
.border-site-footer a:focus-visible {
	color: #fefaef;
}

.border-content {
	max-width: 820px;
}

.border-content .border-section-title {
	margin: 0 0 28px;
}

@media (max-width: 999px) {
	.border-site-header-inner {
		min-height: 47px;
	}

	.border-site-header.is-condensed .border-site-header-inner {
		min-height: 47px;
	}

	.border-site-logo {
		height: 24px;
	}

	.border-site-nav {
		display: none;
	}

	.border-header-tools {
		right: 12px;
	}

	.border-site-brand {
		left: 20px;
	}

	.border-header-icon {
		height: 40px;
		width: 40px;
	}

	.border-offcanvas-menu {
		padding: 88px 28px 32px;
	}

	.border-site-footer {
		padding: 48px 0 40px;
	}

	.border-footer-grid {
		gap: 32px;
		grid-template-columns: 1fr;
	}
}

/* "Ваши заказы" — device-local order memory (built by border-ui.js) */
.border-my-orders {
	margin: 28px auto 0;
	max-width: 860px;
	width: 100%;
}

.border-my-orders[hidden] {
	display: none !important;
}

.border-my-orders .border-kicker {
	margin-bottom: 12px;
}

.border-my-orders-list {
	display: grid;
	gap: 10px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.border-my-order {
	align-items: center;
	display: flex;
	gap: 10px;
}

.border-my-order-link {
	align-items: center;
	background: var(--border-bg-soft);
	border: 1px solid var(--border-line);
	border-radius: 14px;
	color: var(--border-text);
	display: flex;
	flex: 1 1 auto;
	gap: 14px;
	justify-content: space-between;
	min-height: 56px;
	padding: 12px 16px;
	text-decoration: none;
	transition: border-color 0.15s ease;
}

.border-my-order-link:hover,
.border-my-order-link:focus-visible {
	border-color: var(--border-text);
}

.border-my-order-id {
	font-weight: var(--border-weight-medium);
}

.border-my-order-code {
	color: var(--border-muted);
	font-size: var(--border-text-sm);
}

.border-my-order-forget {
	background: transparent;
	border: 0;
	border-radius: 50%;
	color: var(--border-muted);
	cursor: pointer;
	flex: 0 0 auto;
	font-size: 22px;
	height: 36px;
	line-height: 1;
	padding: 0;
	transition: color 0.15s ease, background 0.15s ease;
	width: 36px;
}

.border-my-order-forget:hover,
.border-my-order-forget:focus-visible {
	background: rgba(15, 17, 21, 0.06);
	color: var(--border-text);
}

/*
 * Telegram connect button — a quiet Telegram-blue accent on the neutral
 * secondary button. The paper-plane icon carries the brand colour; the
 * surface only warms up on hover/focus so it stays in the monochrome system.
 */
.border-tg-connect {
	align-items: center;
	display: inline-flex;
	gap: 8px;
	transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.border-tg-connect .border-tg-connect-icon {
	color: var(--border-telegram);
	flex: 0 0 auto;
	transition: color 0.15s ease;
}

.border-tg-connect:hover,
.border-tg-connect:focus-visible {
	background: rgba(34, 158, 217, 0.08);
	border-color: var(--border-telegram);
	color: var(--border-telegram);
}

.border-tg-connect:hover .border-tg-connect-icon,
.border-tg-connect:focus-visible .border-tg-connect-icon {
	color: var(--border-telegram);
}
.border-source-more button {
	align-items: center;
	appearance: none;
	background: #282020;
	border: 1px solid #282020;
	border-radius: 12px;
	color: var(--border-bg-soft);
	cursor: pointer;
	display: flex;
	font: inherit;
	font-size: var(--border-text-base);
	font-weight: var(--border-weight-bold);
	justify-content: center;
	line-height: var(--border-leading-tight);
	min-height: 78px;
	padding: 18px;
	text-align: center;
	width: 100%;
}
