/* visitsyria-accounts: assets/css/accounts.css */
/*
 * Accounts (Docs/pages/P24-login.md, P25-register.md; phase 2 batch 3): the header account controls and search icon
 * (1034:9718), and the sign-in / register card (desktop 1121:99130 / 1121:116770, mobile 1121:119132 / 1121:119960).
 * Mobile first; the photo stage from 1024 px; the desktop header from 1200 px (main.css). Tokens only.
 */

/* Header: search icon (24 px in the bar, 32 px on desktop as designed), 44 px target. Below 1200 px it gives back
   only 2 px on each side, so its target never overlaps the menu toggle's (whose -10 px fill the 12–16 px gap;
   HDR-FE-1). */

.vs-header__search {
	display: inline-grid;
	flex: none;
	place-items: center;
	width: 44px;
	height: 44px;
	margin-block: -10px;
	margin-inline: -2px;
	border-radius: 8px;
	color: var(--vs-primary);
}

.vs-header__search .vs-icon {
	width: 24px;
	height: 24px;
}

.vs-header__search:focus-visible,
.vs-account__toggle:focus-visible,
.vs-nav__logout:focus-visible,
.vs-account__logout:focus-visible,
.vs-auth__close:focus-visible,
.vs-auth__eye:focus-visible {
	outline: none;
	box-shadow: var(--vs-focus);
}

@media (hover: hover) {
	.vs-header__search:hover {
		background: rgba(5, 66, 57, 0.08);
	}
}

/* Below 1200 px the account items live in the menu panel. */
.vs-header__register,
.vs-account {
	display: none;
}

.vs-nav__account {
	margin-block-start: 4px;
	padding-block-start: 4px;
	border-block-start: 1px solid rgba(5, 66, 57, 0.15);
}

.vs-nav__user {
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 12px 16px;
	color: var(--vs-primary-text);
	font-weight: 700;
	overflow-wrap: anywhere;
}

.vs-nav__logout {
	display: block;
	width: 100%;
	padding: 12px 16px;
	border: 0;
	border-radius: 8px;
	background: transparent;
	color: var(--vs-primary);
	font: inherit;
	font-size: 16px;
	line-height: 19px;
	text-align: start;
	cursor: pointer;
}

@media (hover: hover) {
	.vs-nav__logout:hover {
		text-decoration: underline;
		text-underline-offset: 6px;
	}
}

.vs-account__avatar {
	display: inline-grid;
	flex: none;
	place-items: center;
	width: 28px;
	height: 28px;
	border-radius: 50%;
	background: var(--vs-gold-soft);
	color: var(--vs-primary-text);
	font-size: 14px;
	font-weight: 700;
	line-height: 1;
}

@media (max-width: 359px) {
	.vs-header__actions {
		gap: 12px;
	}
}

@media (min-width: 1200px) {
	.vs-nav__account {
		display: none;
	}

	.vs-header__search .vs-icon {
		width: 32px;
		height: 32px;
	}

	.vs-header__search {
		width: 48px;
		height: 48px;
		margin: -8px;
	}

	.vs-header__register {
		display: inline-flex;
		min-height: 45px;
		padding: 14px 20px;
		border-radius: 16px;
	}


	.vs-account {
		position: relative;
		display: block;
		flex: none;
	}

	.vs-account__toggle {
		display: grid;
		place-items: center;
		width: 44px;
		height: 44px;
		margin: -2px;
		border-radius: 50%;
		list-style: none;
		cursor: pointer;
	}

	.vs-account__toggle::-webkit-details-marker {
		display: none;
	}

	.vs-account__toggle .vs-account__avatar {
		width: 40px;
		height: 40px;
		font-size: 18px;
	}

	.vs-account__menu {
		position: absolute;
		inset-block-start: calc(100% + 12px);
		inset-inline-end: 0;
		z-index: 2;
		display: grid;
		gap: 4px;
		min-width: 200px;
		max-width: 280px;
		padding: 10px 8px;
		border-radius: 16px;
		background: var(--wp--custom--menu-surface);
		box-shadow: var(--wp--custom--shadow-card);
	}

	.vs-account__name {
		margin: 0;
		padding: 8px 12px;
		color: var(--vs-primary-text);
		font-weight: 700;
		overflow-wrap: anywhere;
		/* The name's own direction (R2-P12-R1-11b: «Sanne d.V.» showed as «.Sanne d.V»), kept on the menu's start side. */
		unicode-bidi: plaintext;
		text-align: right;
	}

	.vs-account__logout {
		display: block;
		width: 100%;
		min-height: 44px;
		padding: 8px 12px;
		border: 0;
		border-radius: 8px;
		background: transparent;
		color: var(--vs-primary);
		font: inherit;
		font-size: 16px;
		text-align: start;
		cursor: pointer;
	}

	@media (hover: hover) {
		.vs-account__logout:hover {
			background: rgba(5, 66, 57, 0.08);
		}
	}
}

@media (forced-colors: active) {
	.vs-account__menu {
		outline: 1px solid CanvasText;
	}
}

/* Account pages: an opaque header bar over the dark stage, so the nav links keep 4.5:1 (P24-FE-5). Body classes vs-tpl-* (white label, 2026-11-16). */
.vs-tpl-login .vs-header__bar,
.vs-tpl-register .vs-header__bar,
.vs-tpl-reset-password .vs-header__bar {
	background: var(--vs-surface);
}

/* One-time notice after sign-out or a phone sign-up (header.php, vs_acc_flash_notice()): a bar at the bottom. */
.vs-flash {
	position: fixed;
	inset-block-end: 16px;
	inset-inline: 16px;
	z-index: 120;
	display: flex;
	align-items: center;
	gap: 8px;
	max-width: 560px;
	margin-inline: auto;
	padding: 12px 16px;
	border-radius: 12px;
	background: var(--vs-primary-text);
	color: var(--vs-bg);
	box-shadow: var(--wp--custom--shadow-card);
	font-size: 15px;
	line-height: 1.5;
}

.vs-flash p {
	flex: 1;
	margin: 0;
}

.vs-flash[hidden] {
	display: none;
}

/* Focused once on load (accounts.js) so it is announced; the ring shows for keyboard users only. */
.vs-flash:focus {
	outline: none;
}

.vs-flash:focus-visible {
	box-shadow: var(--vs-focus), var(--wp--custom--shadow-card);
}

.vs-flash__close {
	display: grid;
	flex: none;
	place-items: center;
	width: 44px;
	height: 44px;
	margin: -10px;
	padding: 0;
	border: 0;
	border-radius: 8px;
	background: transparent;
	color: inherit;
	cursor: pointer;
}

.vs-flash__close svg {
	width: 20px;
	height: 20px;
}

.vs-flash__close:focus-visible {
	outline: 2px solid var(--vs-bg);
	outline-offset: -2px;
}

@media (forced-colors: active) {
	.vs-flash {
		outline: 1px solid CanvasText;
	}
}

/* Sign-in / register page: the stage. Mobile: the card on the page background, as in the mobile frames. */

.vs-auth__stage {
	position: relative;
	display: grid;
	place-items: center;
	padding: calc(104px + var(--wp-admin--admin-bar--height, 0px)) 16px 0;
}

.vs-auth__bg {
	display: none;
}

.vs-auth__card {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 16px;
	width: 100%;
	max-width: 500px;
	min-width: 0;
	padding: 16px;
	border-radius: var(--wp--custom--radius-md);
	background: var(--vs-bg);
}

.vs-auth__close {
	display: none;
}

.vs-auth__logo {
	align-self: flex-start;
	width: 97px;
	height: auto;
}

.vs-auth__head {
	display: grid;
	gap: 8px;
	text-align: center;
}

.vs-auth__title {
	margin: 0;
	color: var(--vs-primary-text);
	font-size: 24px;
	font-weight: 700;
	line-height: 1.3;
}

.vs-auth__intro {
	margin: 0;
	color: var(--vs-primary-text); /* #002623 [Primary Text] (1121:118764). */
	font-size: 14px;
	line-height: 1.5;
}

.vs-auth .vs-staff-note {
	margin: 0;
}

.vs-auth__status {
	margin: 0;
	padding: 12px 16px;
	border-radius: 12px;
	background: #e3efe9;
	color: var(--vs-primary-text);
	font-size: 15px;
	line-height: 1.6;
}

.vs-auth__status p {
	margin: 0;
}

.vs-auth__status p + p {
	margin-block-start: 8px;
}

.vs-auth__status--error {
	background: #fbeceb;
	color: #8c1d18;
}

.vs-auth__status-link {
	margin-block-start: 8px;
}

.vs-auth__status-link a {
	color: inherit;
	font-weight: 700;
}

.vs-auth__status:focus-visible {
	outline: none;
	box-shadow: var(--vs-focus);
}

.vs-auth__form {
	gap: 16px;
}

.vs-auth .vs-field__label {
	font-size: 14px;
}

.vs-auth .vs-field input:not([type="checkbox"]):not([type="file"]) {
	border-radius: 10px;
}

.vs-auth .vs-field.has-error input,
.vs-auth .vs-field input[aria-invalid="true"] {
	border-color: #b3261e;
}

/* Register (47:3874, desktop and mobile): the fields are filled with BG like the card. The edge is the shared
   field edge (audit r2 UX2-02, fix round 4: ≥ 3 : 1 on the beige fill; P19/P20, P24-FE-12). */
.vs-auth__card--register .vs-field input:not([type="checkbox"]):not([type="file"]),
.vs-auth__card--register .vs-phone__toggle,
.vs-auth__card--register .vs-phone__cc select {
	background: var(--vs-bg);
}

/* A missing consent marks the box itself, not only the line below (P25-FE-10). */
.vs-auth__consent.has-error .vs-auth__check input,
.vs-auth__check input[aria-invalid="true"] {
	outline: 2px solid #b3261e;
	outline-offset: 1px;
}

/* Passwords are typed left to right, like e-mail addresses, and keep room for the eye button. */
.vs-auth .vs-field input[type="password"],
.vs-auth .vs-field input[data-vs-password] {
	direction: ltr;
	text-align: right;
}

.vs-auth .vs-field input[data-vs-password]::placeholder {
	direction: rtl;
}

.vs-js .vs-auth .vs-field input[data-vs-password] {
	padding-inline-end: 52px;
}

.vs-auth__eye {
	position: absolute;
	inset-block-start: 6px;
	inset-inline-end: 6px;
	display: grid;
	place-items: center;
	width: 44px;
	height: 44px;
	padding: 0;
	border: 0;
	border-radius: 8px;
	background: transparent;
	color: var(--vs-secondary-text);
	cursor: pointer;
}

.vs-auth__eye svg {
	width: 20px;
	height: 20px;
}

@media (hover: hover) {
	.vs-auth__eye:hover {
		background: rgba(5, 66, 57, 0.08);
	}
}

.vs-auth__row {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: 16px;
	min-height: 24px;
}

.vs-auth__check {
	display: inline-flex;
	align-items: flex-start;
	gap: 8px;
	color: var(--vs-secondary-text);
	font-size: 14px;
	line-height: 1.5;
	cursor: pointer;
}

.vs-auth__check input {
	flex: none;
	width: 18px;
	height: 18px;
	margin: 2px 0 0;
	accent-color: var(--vs-primary);
}

.vs-auth__check a {
	color: var(--vs-primary);
	font-weight: 700;
}

.vs-auth__consent .vs-auth__check {
	color: var(--vs-dark-text);
}

.vs-auth__submit {
	width: 100%;
	min-height: 49px;
	border-radius: 16px;
}

/* The design's label: Bold 14 in BG (2:30). */
.vs-auth .vs-btn--primary.vs-auth__submit {
	color: var(--vs-bg);
	font-size: 14px;
	font-weight: 700;
}

/* «تذكرني» to the button: 32 px as designed (1121:101125; the form gap gives 16). */
.vs-auth__row + .vs-auth__submit {
	margin-block-start: 16px;
}

.vs-auth__or {
	display: flex;
	align-items: center;
	gap: 8px;
	color: var(--vs-secondary-text);
	font-size: 20px;
	line-height: 1.4;
}

.vs-auth__or::before,
.vs-auth__or::after {
	content: "";
	flex: 1;
	height: 1px;
	background: #d7d7d7;
}

.vs-auth__social,
.vs-auth__links {
	display: grid;
	gap: 12px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.vs-auth__sso {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: 56px;
	padding: 16px 32px;
	border-radius: 16px;
	box-shadow: inset 0 0 0 1px var(--vs-primary);
	color: var(--vs-primary);
	font-size: 14px;
	font-weight: 700;
	text-decoration: none;
}

.vs-auth__sso--apple {
	box-shadow: inset 0 0 0 1px #000;
	color: #000;
}

.vs-auth__sso:focus-visible {
	outline: none;
	box-shadow: inset 0 0 0 1px var(--vs-primary), var(--vs-focus);
}

.vs-auth__mark {
	flex: none;
	width: 24px;
	height: 24px;
}

@media (hover: hover) {
	.vs-auth__sso:hover {
		background: color-mix(in srgb, var(--vs-primary) 6%, var(--vs-bg));
	}
}

.vs-auth__switch {
	margin: 0;
	color: var(--vs-dark-text);
	font-size: 14px;
	line-height: 1.5;
	text-align: center;
}

.vs-auth__switch a,
.vs-auth__link {
	color: var(--vs-dark-text);
	font-weight: 700;
}

.vs-auth__links {
	text-align: center;
}

.vs-auth__links .vs-btn {
	box-sizing: border-box;
}

.vs-auth__email {
	margin: 0;
	color: var(--vs-dark-text);
	font-size: 15px;
	text-align: center;
	overflow-wrap: anywhere;
}

/* Wide screens: the design's modal look over a dimmed photo. */
@media (min-width: 1024px) {
	.vs-auth__stage {
		min-height: 852px;
		padding: calc(160px + var(--wp-admin--admin-bar--height, 0px)) 16px 72px;
		overflow: hidden;
	}

	/* The home hero's composition (P24-FE-4, P25-FE-8): the page colour is the sky behind the cut-out photo, which
	   is drawn at the home geometry (home.css «Hero», 173 % wide, anchored to the bottom), then the design's veil. */
	.vs-auth__stage {
		background: var(--vs-bg);
	}

	.vs-auth__media {
		position: absolute;
		inset-block: 0;
		left: 50%;
		z-index: 0;
		display: block;
		width: min(100%, 1920px);
		overflow: hidden;
		transform: translateX(-50%);
		container-type: inline-size;
	}

	.vs-auth__bg {
		position: absolute;
		bottom: calc(-75 / 1440 * 100cqw);
		left: calc(-0.142 / 0.5803 * 100%);
		display: block;
		width: calc(100% / 0.5803);
		max-width: none;
		height: auto;
		aspect-ratio: 1920 / 720;
	}

	@media (min-width: 1921px) {
		.vs-auth__media {
			-webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
			mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
		}
	}

	/* 1121:118682: #000 at 75 % with a 12 px background blur where supported. */
	.vs-auth__stage::before {
		content: "";
		position: absolute;
		inset: 0;
		z-index: 1;
		background: rgba(0, 0, 0, 0.75);
		-webkit-backdrop-filter: blur(12px);
		backdrop-filter: blur(12px);
	}

	.vs-auth__card {
		z-index: 2;
		padding: 32px;
		box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
	}

	/* The close «×» on its own row at the top right (inline start), above the logo: 24 px icon, 16 px gap, the logo
	   72 px from the top (1121:101044; P24-FE-2, P25-FE-7). The 44 px target takes only the icon's space. */
	.vs-auth__close {
		position: relative;
		display: grid;
		flex: none;
		align-self: flex-start;
		place-items: center;
		width: 44px;
		height: 44px;
		margin: -10px;
		border-radius: 8px;
		color: var(--vs-dark-text);
	}

	.vs-auth__close .vs-icon {
		width: 24px;
		height: 24px;
	}

	@media (hover: hover) {
		.vs-auth__close:hover {
			background: rgba(5, 66, 57, 0.08);
		}
	}

	.vs-auth__title {
		font-size: 28px;
	}

	.vs-auth .vs-footer,
	.vs-auth + .vs-footer {
		margin-block-start: 88px;
	}

	/* With the photo the stage runs into the footer (P25-FE-12). */
	.vs-auth--photo + .vs-footer {
		margin-block-start: 0;
	}
}

@media (forced-colors: active) {
	.vs-auth__card,
	.vs-auth__sso {
		outline: 1px solid CanvasText;
	}
}

/* Phone field: country code then the number, left to right (P24 §3.8). */

.vs-phone__row {
	display: flex;
	gap: 8px;
	min-width: 0;
}

.vs-phone__cc {
	position: relative;
	flex: none;
}

.vs-phone__cc select {
	width: 9.5em;
	max-width: 40vw; /* Leaves the number room at 320 px without JavaScript (P24-FE-8). */
	min-height: 56px;
	padding: 14px 12px;
	border: 1px solid var(--vs-field-edge, #7d776d); /* UX2-02 (fix round 4): the shared field edge. */
	border-radius: 10px;
	background: var(--vs-surface);
	color: var(--vs-dark-text);
	font: inherit;
	font-size: 15px;
}

/* Without JavaScript, below 360 px the plain select takes its own line so the number keeps its full width. */
@media (max-width: 359px) {
	html:not(.vs-js) .vs-phone__row {
		flex-wrap: wrap;
	}

	html:not(.vs-js) .vs-phone__cc {
		flex: 1 1 100%;
	}

	html:not(.vs-js) .vs-phone__cc select {
		width: 100%;
		max-width: none;
	}
}

.vs-phone__row input[type="tel"] {
	flex: 1;
	min-width: 0;
	min-height: 56px;
	padding: 14px 16px;
	border: 1px solid var(--vs-field-edge, #7d776d); /* UX2-02 (fix round 4): the shared field edge. */
	border-radius: 10px;
	background: var(--vs-surface);
	color: var(--vs-dark-text);
	font: inherit;
	font-size: 16px;
	direction: ltr;
	text-align: left;
}

.vs-phone__row input[type="tel"]::placeholder {
	color: #6b666d;
	opacity: 1;
}

.vs-phone__row input:focus-visible,
.vs-phone__cc select:focus-visible,
.vs-phone__toggle:focus-visible,
.vs-phone__search:focus-visible {
	border-color: var(--vs-primary);
	outline: none;
	box-shadow: var(--vs-focus);
}

.vs-phone.has-error input[type="tel"] {
	border-color: #b3261e;
}

/* The error is about the country (a national number with none chosen, C4-FE-02): the country control is marked too. */
.vs-phone__cc.has-error .vs-phone__toggle,
.vs-phone__cc.has-error select {
	border-color: #b3261e;
}

.vs-phone__cc.has-error .vs-phone__dial--none {
	color: #b3261e;
}

.vs-phone__toggle {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	min-height: 56px;
	padding: 0 12px;
	border: 1px solid var(--vs-field-edge, #7d776d); /* UX2-02 (fix round 4): the shared field edge. */
	border-radius: 10px;
	background: var(--vs-surface);
	color: var(--vs-dark-text);
	font: inherit;
	font-size: 16px;
	cursor: pointer;
}

/* No country chosen yet (an optional number, R2-P05-R1-12): the words, in the muted field colour. */
.vs-phone__dial--none {
	direction: rtl;
	color: var(--vs-secondary-text);
	font-size: 15px;
	white-space: nowrap;
}

.vs-phone__toggle::after {
	content: "";
	width: 8px;
	height: 8px;
	margin-inline-start: 2px;
	border-block-end: 1.5px solid var(--vs-primary);
	border-inline-end: 1.5px solid var(--vs-primary);
	transform: translateY(-2px) rotate(45deg);
}

.vs-phone__panel {
	position: absolute;
	inset-block-start: calc(100% + 6px);
	left: 0; /* The row is left to right and the code sits at its left: the list opens towards the number. */
	z-index: 5;
	display: grid;
	gap: 8px;
	width: min(320px, calc(100vw - 64px));
	padding: 10px;
	border-radius: 12px;
	background: var(--vs-surface);
	box-shadow: var(--wp--custom--shadow-card);
}

.vs-phone__panel[hidden] {
	display: none;
}

.vs-phone__search {
	width: 100%;
	min-height: 44px;
	padding: 8px 12px;
	border: 1px solid var(--vs-field-edge, #7d776d); /* UX2-02 (fix round 4): the shared field edge. */
	border-radius: 8px;
	font: inherit;
	font-size: 16px;
}

.vs-phone__list {
	max-height: 240px;
	margin: 0;
	padding: 0;
	overflow-y: auto;
	list-style: none;
}

.vs-phone__option {
	display: flex;
	align-items: center;
	gap: 8px;
	min-height: 40px;
	padding: 6px 10px;
	border-radius: 8px;
	color: var(--vs-dark-text);
	cursor: pointer;
}

/* The bdi is dir=ltr, so a logical margin would resolve to its own left: the physical margin pushes the code to the
   list's far (left) edge, one column for all (P24-FE-9). */
.vs-phone__option bdi {
	margin-right: auto;
	color: var(--vs-secondary-text);
}

.vs-phone__group,
.vs-phone__empty {
	padding: 8px 10px 4px;
	color: var(--vs-secondary-text);
	font-size: 13px;
	font-weight: 700;
	line-height: 1.4;
}

.vs-phone__empty {
	padding-block: 10px;
	font-weight: 400;
	text-align: center;
}

.vs-phone__option.is-active,
.vs-phone__option[aria-selected="true"] {
	background: color-mix(in srgb, var(--vs-primary) 10%, var(--vs-surface));
}

.vs-phone__option.is-active {
	outline: 2px solid var(--vs-primary);
	outline-offset: -2px;
}

/* The code step. */

.vs-auth__lead {
	margin: 0;
	color: var(--vs-dark-text);
	font-size: 15px;
	line-height: 1.6;
	text-align: center;
}

.vs-auth .vs-otp__code {
	font-size: 22px;
	letter-spacing: 0.3em;
	text-align: center;
	direction: ltr;
}

.vs-otp__resend {
	display: grid;
	gap: 4px;
	justify-items: center;
	text-align: center;
}

.vs-otp__wait {
	margin: 0;
	color: var(--vs-secondary-text);
	font-size: 14px;
}

.vs-otp__actions {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 4px 16px;
}

.vs-auth__textbtn {
	min-height: 44px;
	padding: 8px 4px;
	border: 0;
	background: transparent;
	color: var(--vs-primary);
	font: inherit;
	font-size: 14px;
	font-weight: 700;
	text-decoration: underline;
	text-underline-offset: 4px;
	cursor: pointer;
}

.vs-auth__textbtn:disabled {
	color: var(--vs-secondary-text);
	text-decoration: none;
	cursor: default;
}

.vs-auth__textbtn:focus-visible {
	outline: none;
	box-shadow: var(--vs-focus);
}

.vs-auth .vs-btn--secondary.vs-auth__submit {
	border-radius: 16px;
}

@media (forced-colors: active) {
	.vs-phone__panel {
		outline: 1px solid CanvasText;
	}

	.vs-phone__option.is-active {
		outline-color: Highlight;
	}
}

.vs-auth__lead bdi,
.vs-auth__email bdi {
	white-space: nowrap;
}

/*
 * Phase 2 batch 4 (Docs/pages/P26-reset-password.md, P23-account.md).
 */

/* Sign-in: «هل نسيت كلمة المرور؟» at the start of the «تذكرني» row (1121:101133), Regular 14 in secondary text. */
.vs-auth__forgot {
	margin-inline-end: auto;
	color: var(--vs-secondary-text);
	font-size: 14px;
	line-height: 1.5;
}

.vs-auth__forgot:focus-visible {
	border-radius: 4px;
	outline: none;
	box-shadow: var(--vs-focus);
}

/* Reset card (1121:119787): four 4 px bars 15 px apart, the current one in the logo green, then the step's icon in a
   48 px box (BG, 0.5 px Primary edge, radius 10) and the heading at the start. */
.vs-steps {
	display: flex;
	gap: 15px;
	padding: 12px;
}

.vs-steps span {
	flex: 1;
	height: 4px;
	border-radius: 999px;
	background: #c3c3c3;
}

.vs-steps .is-current {
	background: var(--wp--preset--color--logo-green);
}

.vs-auth__head--start {
	justify-items: start;
	gap: 8px;
	text-align: start;
}

.vs-auth__icon {
	display: grid;
	place-items: center;
	width: 48px;
	height: 48px;
	margin-block-end: 4px;
	border-radius: 10px;
	background: var(--vs-bg);
	box-shadow: inset 0 0 0 0.5px var(--vs-primary);
	color: var(--vs-primary);
}

.vs-auth__icon svg {
	width: 24px;
	height: 24px;
}

.vs-auth__note {
	margin: 0;
	color: var(--vs-secondary-text);
	font-size: 14px;
	line-height: 1.6;
}

.vs-auth__note a {
	color: var(--vs-primary);
	font-weight: 700;
}

/* «بإنشاء حسابك توافق على شروط الاستخدام.» (fix 16): a taller line and a taller hit area for its one link (review F16-03). */
.vs-auth__terms {
	line-height: 2;
}

.vs-auth__terms a {
	padding-block: 10px;
}

.vs-auth__again {
	margin: 0;
}

.vs-auth__card--reset .vs-auth__status bdi {
	overflow-wrap: anywhere;
}

@media (forced-colors: active) {
	.vs-steps span {
		outline: 1px solid CanvasText;
	}

	.vs-steps .is-current {
		background: Highlight;
	}
}

/* Header: «حسابي» in the avatar menu and in the menu panel. */
.vs-nav__mine {
	display: block;
	padding: 12px 16px;
	border-radius: 8px;
	color: var(--vs-primary);
	font-size: 16px;
	line-height: 19px;
}

.vs-nav__mine[aria-current="page"] {
	font-weight: 700;
}

@media (min-width: 1200px) {
	.vs-account__mine {
		display: block;
		padding: 10px 12px;
		border-radius: 8px;
		color: var(--vs-primary);
		font-size: 15px;
		line-height: 1.4;
		text-decoration: none;
	}

	.vs-account__mine[aria-current="page"] {
		font-weight: 700;
	}

	.vs-account__mine:focus-visible,
	.vs-nav__mine:focus-visible {
		outline: none;
		box-shadow: var(--vs-focus);
	}

	@media (hover: hover) {
		.vs-account__mine:hover {
			background: rgba(5, 66, 57, 0.08);
		}
	}
}

/* The account page (1064:33533, 1071:13417; mobile 1088:21531). Mobile first; the two columns from 1024 px. */
.vs-acct__wrap {
	display: grid;
	gap: 0;
	padding-block: calc(104px + var(--wp-admin--admin-bar--height, 0px)) 72px;
}

.vs-acct__title {
	margin: 0 0 16px;
	color: var(--vs-primary-text);
	font-size: 28px;
}

/* The head: the initial and the name 8 px apart on phones, 24 px from 768 (1088:21538, 1077:13592); «تعديل» at the
   far end. When the name would get narrower than 6em the button wraps to its own line instead of breaking the name,
   and the button keeps one width in both states, so nothing moves when it is toggled (P23-FE-4). */
.vs-acct__head {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 16px 8px;
	padding-block-end: 32px;
}

.vs-acct__avatar {
	display: grid;
	flex: none;
	place-items: center;
	width: 80px;
	height: 80px;
	border-radius: 50%;
	background: var(--vs-gold-soft);
	color: var(--vs-primary-text);
	font-size: 32px;
	font-weight: 700;
	line-height: 1;
}

.vs-acct__name {
	flex: 1 1 6em;
	min-width: 0;
	margin: 0;
	margin-inline-end: 16px;
	color: var(--vs-dark-text);
	font-size: 20px;
	font-weight: 700;
	line-height: 1.2;
	overflow-wrap: break-word;
}

.vs-acct__edit {
	flex: none;
	min-width: 103px;
	margin-inline-start: auto;
	min-height: 41px;
	padding: 12px 32px;
	border-radius: 12px;
}

.vs-acct__notice {
	margin-block-end: 24px;
}

.vs-acct__confirm {
	display: grid;
	gap: 12px;
	margin-block-end: 24px;
	padding: 16px;
	border-radius: 12px;
	background: var(--vs-surface);
	color: var(--vs-dark-text);
	font-size: 15px;
	line-height: 1.6;
}

.vs-acct__confirm p {
	margin: 0;
}

.vs-acct__confirm-title {
	margin: 0;
	color: var(--vs-primary);
	font-size: 18px;
	font-weight: 700;
}

.vs-acct__section {
	display: grid;
	gap: 24px;
	padding-block: 32px;
	border-block-start: 1px solid #bcbcbc;
	scroll-margin-block-start: 112px;
}

.vs-acct__intro {
	display: grid;
	gap: 12px;
	align-content: start;
}

.vs-acct__heading {
	margin: 0;
	color: var(--vs-primary);
	font-size: 24px;
	font-weight: 500;
	line-height: 1.2;
}

.vs-acct__lead {
	margin: 0;
	color: var(--vs-secondary-text);
	font-size: 16px;
	line-height: 1.2;
}

/* The design's view state (1064:33533): labels and leads in Primary Text and a faint gradient line between the
   sections. The edit state (1071:13417) and the page without JavaScript keep the grey labels (#5D585F for contrast,
   in place of the design's #878787) and the 1 px #BCBCBC lines (P23-FE-10). */
.vs-js [data-vs-acct]:not([data-vs-acct-editing]) .vs-acct__lead,
.vs-js [data-vs-acct]:not([data-vs-acct-editing]) .vs-acct__item > .vs-field__label,
.vs-js [data-vs-acct]:not([data-vs-acct-editing]) .vs-acct__form > .vs-field > .vs-field__label {
	color: var(--vs-primary-text);
}

.vs-js [data-vs-acct]:not([data-vs-acct-editing]) .vs-acct__section {
	border-image: linear-gradient(90deg, var(--vs-bg), var(--vs-primary), var(--vs-bg)) 1;
}

.vs-acct__body {
	display: grid;
	gap: 16px;
	min-width: 0;
}

.vs-acct__form {
	gap: 16px;
}

.vs-acct__item {
	display: grid;
	gap: 8px;
	min-width: 0;
	scroll-margin-block-start: 112px;
}

.vs-acct .vs-field__label {
	color: var(--vs-secondary-text);
}

.vs-acct .vs-field input:not([type="checkbox"]):not([type="file"]),
.vs-acct__value {
	border-radius: 10px;
}

.vs-acct .vs-field input[readonly] {
	cursor: default;
}

/* Field values in the design's Medium (1071:13745). */
.vs-acct .vs-field input:not([type="checkbox"]):not([type="file"]) {
	font-weight: 500;
}

.vs-acct__value {
	box-sizing: border-box;
	min-height: 56px;
	margin: 0;
	padding: 15px 14px;
	border: 1px solid #d4d0c4;
	background: var(--vs-surface);
	color: var(--vs-dark-text);
	font-size: 16px;
	font-weight: 500;
	line-height: 24px;
	overflow-wrap: anywhere;
}

/* An empty e-mail or phone: plain text, not a field-like box (owner decision, P23-FE-N3). */
.vs-acct__empty {
	margin: 0;
	color: var(--vs-dark-text);
	font-size: 16px;
	font-weight: 500;
	line-height: 24px;
}

.vs-acct__pending,
.vs-acct__hint {
	margin: 0;
	color: var(--vs-secondary-text);
	font-size: 14px;
	line-height: 1.6;
	overflow-wrap: anywhere;
}

.vs-acct__hint a,
.vs-acct__pending a {
	color: var(--vs-primary);
	font-weight: 700;
}

.vs-acct__hint.vs-field__error {
	color: #b3261e;
}

.vs-acct__sub {
	margin: 0;
	color: var(--vs-dark-text);
	font-size: 16px;
	font-weight: 700;
	line-height: 1.4;
}

.vs-acct__btn {
	width: 100%;
	min-height: 41px;
	padding: 12px 32px;
	border-radius: 12px;
	white-space: normal;
	text-align: center;
	line-height: 1.3;
}

.vs-acct__btn--danger {
	background: #b3261e;
	color: var(--vs-surface);
}

@media (hover: hover) {
	.vs-acct__btn--danger:hover {
		background: color-mix(in srgb, #b3261e 88%, #000);
	}
}

.vs-acct__buttons {
	display: grid;
	gap: 12px;
}

.vs-acct__more {
	display: grid;
	gap: 12px;
}

.vs-acct__more > summary {
	display: inline-flex;
	align-items: center;
	width: fit-content;
	min-height: 44px;
	color: var(--vs-primary);
	font-size: 14px;
	font-weight: 700;
	text-decoration: underline;
	text-underline-offset: 4px;
	cursor: pointer;
	list-style: none;
}

.vs-acct__more > summary::-webkit-details-marker {
	display: none;
}

.vs-acct__more > summary::after {
	content: "";
	width: 8px;
	height: 8px;
	margin-inline-start: 10px;
	border-block-end: 1.5px solid currentColor;
	border-inline-end: 1.5px solid currentColor;
	transform: translateY(-2px) rotate(45deg);
}

.vs-acct__more[open] > summary::after {
	transform: translateY(2px) rotate(-135deg);
}

.vs-acct__more > summary:focus-visible {
	border-radius: 4px;
	outline: none;
	box-shadow: var(--vs-focus);
}

.vs-acct__more[open] > .vs-acct__form {
	padding: 16px;
	border-radius: 12px;
	background: var(--vs-surface);
}

.vs-acct__methods {
	display: grid;
	gap: 0;
	margin: 0;
	padding: 0;
	list-style: none;
}

.vs-acct__methods > li {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 4px 12px;
	padding-block: 12px;
	border-block-end: 1px solid rgba(5, 66, 57, 0.12);
	color: var(--vs-dark-text);
	font-size: 15px;
	line-height: 1.5;
}

.vs-acct__methods .vs-acct__more {
	flex-basis: 100%;
}

.vs-acct__state {
	color: var(--vs-secondary-text);
	font-size: 14px;
}

.vs-acct__danger {
	display: grid;
	gap: 12px;
	padding: 16px;
	border-radius: 12px;
	background: #fbeceb;
	color: #5c1410;
	font-size: 15px;
	line-height: 1.6;
}

.vs-acct__danger p {
	margin: 0;
}

.vs-acct__code {
	display: grid;
	gap: 12px;
	padding: 16px;
	border-radius: 12px;
	background: var(--vs-surface);
}

.vs-acct .vs-otp__code {
	font-size: 22px;
	letter-spacing: 0.3em;
	text-align: center;
	direction: ltr;
}

/* Passwords on the account page: left to right, with room for the eye (as on the sign-in card). */
.vs-acct .vs-field input[data-vs-password] {
	direction: ltr;
	text-align: right;
}

.vs-acct .vs-field input[data-vs-password]::placeholder {
	direction: rtl;
}

.vs-js .vs-acct .vs-field input[data-vs-password] {
	padding-inline-end: 52px;
}

/* The design's view state (with JavaScript): fields read-only, the edit-only controls hidden until «تعديل». */
.vs-js [data-vs-acct]:not([data-vs-acct-editing]) [data-vs-acct-editable],
.vs-js [data-vs-acct][data-vs-acct-editing] [data-vs-acct-view] {
	display: none;
}

html:not(.vs-js) [data-vs-acct-view] {
	display: none;
}

@media (min-width: 1024px) {
	.vs-acct__wrap {
		padding-block-start: calc(171px + var(--wp-admin--admin-bar--height, 0px));
	}

	.vs-acct__head {
		padding-block-end: 40px;
	}

	.vs-acct__edit {
		min-width: 140px;
	}

	.vs-acct__section {
		grid-template-columns: 215px minmax(0, 402px);
		justify-content: start;
		gap: 100px;
		padding-block: 40px;
	}

	.vs-acct__confirm,
	.vs-acct__notice {
		max-width: 717px;
	}
}

@media (forced-colors: active) {
	.vs-acct__value,
	.vs-acct__confirm,
	.vs-acct__danger,
	.vs-acct__code,
	.vs-acct__more[open] > .vs-acct__form {
		outline: 1px solid CanvasText;
	}
}

/* The label and the value of a shown item: the value box starts 28 px below the label's top, like a field
   (1071:13430; the item's 8 px gap less 2). */
.vs-acct__item > .vs-field__label {
	margin: 0 0 -2px;
}

@media (min-width: 768px) {
	.vs-acct__head {
		column-gap: 24px;
	}

	.vs-acct__name {
		margin-inline-end: 0;
	}
}

/* A phone number in a sentence stays on one line. */
.vs-acct__confirm bdi,
.vs-acct__code bdi {
	white-space: nowrap;
}

/* ------------------------------------------------------------------------------------------------------------------
 * 2026-11-03 — «المحفوظات» on the account page (Docs/pages/P29-likes-and-saves.md; not in the P23 design, drawn in its
 * language): the section's title column, a wider body for the list from 1024 px, type chips, rows with the photo,
 * type, title and date, and «إزالة».
 * ---------------------------------------------------------------------------------------------------------------- */

.vs-acct__count {
	color: var(--vs-secondary-text);
	font-size: 18px;
	font-weight: 400;
}

.vs-saved__filter ul {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.vs-saved__filter .vs-chip {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	min-height: 44px;
	padding-block: 10px;
	font-size: 14px;
	text-decoration: none;
}

@media (hover: hover) {
	.vs-saved__filter .vs-chip:not(.is-active):hover {
		text-decoration: underline;
	}
}

.vs-saved__n {
	font-weight: 400;
}

/* The governorate chips under the type chips (R1-P09-16), and the item's governorate after its type. */
.vs-saved__filter--gov {
	margin-block-start: -8px;
}

.vs-saved__kind {
	line-height: 1.3;
}

.vs-saved__place {
	color: var(--vs-secondary-text);
	font-size: 12px;
	font-weight: 400;
}

.vs-saved {
	display: grid;
	gap: 12px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.vs-saved__item {
	display: flex;
	align-items: center;
	gap: 8px;
	min-width: 0;
	padding: 12px;
	border: 1px solid #d4d0c4;
	border-radius: 16px;
	background: var(--vs-surface);
}

.vs-saved__link {
	display: flex;
	flex: 1;
	align-items: center;
	gap: 12px;
	min-width: 0;
	border-radius: 12px;
	color: var(--vs-dark-text);
	text-decoration: none;
}

.vs-saved__link:focus-visible {
	outline: 2px solid transparent;
	box-shadow: var(--vs-focus);
}

.vs-saved__media {
	display: block;
	flex: none;
	width: 72px;
	height: 72px;
	overflow: hidden;
	border-radius: 12px;
	background: var(--vs-img-placeholder);
}

.vs-saved__media img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.vs-saved__text {
	display: grid;
	gap: 4px;
	min-width: 0;
}

.vs-saved__type {
	color: var(--vs-primary);
	font-size: 12px;
	font-weight: 700;
	line-height: 1.3;
}

.vs-saved__title {
	display: -webkit-box;
	overflow: hidden;
	font-size: 16px;
	font-weight: 500;
	line-height: 1.35;
	overflow-wrap: anywhere;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
}

.vs-saved__date {
	color: var(--vs-secondary-text);
	font-size: 12px;
	line-height: 1.3;
}

.vs-saved__remove {
	flex: none;
	min-width: 44px;
	min-height: 44px;
	margin: 0;
	padding: 8px 10px;
	border: 0;
	border-radius: 10px;
	background: transparent;
	color: #b3261e;
	font: inherit;
	font-size: 14px;
	font-weight: 700;
	text-decoration: underline;
	text-underline-offset: 3px;
	cursor: pointer;
}

.vs-saved__remove:focus-visible {
	outline: 2px solid transparent;
	box-shadow: var(--vs-focus);
}

@media (hover: hover) {
	.vs-saved__link:hover .vs-saved__title {
		text-decoration: underline;
	}

	.vs-saved__remove:hover {
		background: rgba(179, 38, 30, 0.08);
	}
}

.vs-saved__pages {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 12px;
}

.vs-saved__pages .vs-acct__btn {
	width: auto;
}

.vs-saved__empty {
	display: grid;
	gap: 12px;
}

.vs-saved__links {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 24px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.vs-saved__links .vs-link-arrow {
	min-height: 44px;
}

@media (min-width: 768px) {
	.vs-saved {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (min-width: 1024px) {
	.vs-acct__section--saves {
		grid-template-columns: 215px minmax(0, 717px);
	}
}

@media (forced-colors: active) {
	.vs-saved__item {
		outline: 1px solid CanvasText;
	}
}

/* Review fixes 2026-11-03 (P29 §8): an event's state after its date (SAV-FE-10), the way back from an empty filter
   (SAV-FE-3). */
.vs-saved__state {
	display: inline-block;
	margin-inline-start: 4px;
	padding: 1px 8px;
	border-radius: var(--wp--custom--radius-pill, 999px);
	background: var(--vs-secondary-text);
	color: var(--vs-surface);
	font-size: 12px;
	font-weight: 700;
	line-height: 1.4;
}

.vs-saved__all {
	margin: 8px 0 0;
}

.vs-saved__all .vs-link-arrow {
	min-height: 44px;
}

/* Staff second sign-in step (P0-4, parts/accounts/twofactor.php): the recovery code behind a disclosure. */
.vs-auth__more {
	display: grid;
	gap: 12px;
	font-size: 14px;
}

.vs-auth__more > summary {
	min-height: 44px;
	padding: 10px 0;
	color: var(--vs-primary);
	font-weight: 700;
	cursor: pointer;
}

/* ------------------------------------------------------------------------------------------------------------------
 * 2026-11-17 — «تقييماتي» on the account page (persona fix R1-P04-16): in the language of «المحفوظات», one row per
 * review (place, stars and date, state). «قيد المراجعة» in the accent, «منشور» in the primary green.
 * ---------------------------------------------------------------------------------------------------------------- */

.vs-myreviews {
	display: grid;
	gap: 12px;
	margin: 12px 0 0;
	padding: 0;
	list-style: none;
}

.vs-myreviews__item {
	position: relative; /* The place link covers the row (C4-FE-06), as the whole card of «المحفوظات». */
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	gap: 4px 12px;
	align-items: center;
	min-height: 44px;
	padding: 12px 16px;
	border: 1px solid #d4d0c4;
	border-radius: 16px;
	background: var(--vs-surface);
}

.vs-myreviews__place {
	min-width: 0;
	color: var(--vs-dark-text);
	font-weight: 700;
	overflow-wrap: anywhere;
}

.vs-myreviews__place a {
	color: inherit;
}

.vs-myreviews__place a::after {
	content: "";
	position: absolute;
	inset: 0;
	border-radius: 16px;
}

.vs-myreviews__place a:focus-visible {
	outline: none;
}

.vs-myreviews__place a:focus-visible::after {
	box-shadow: var(--vs-focus);
}

@media (hover: hover) {
	.vs-myreviews__item:has(a:hover) {
		border-color: var(--vs-primary);
	}
}

.vs-myreviews__meta {
	grid-column: 1;
	color: var(--vs-secondary-text);
	font-size: 14px;
}

.vs-myreviews__meta time {
	white-space: nowrap; /* «أُرسل في 17 نوفمبر 2026» on one line (C4-FE-06). */
}

/* Narrow rows: the state pill drops under the place and date instead of squeezing them (C4-FE-06). */
@media (max-width: 599px) {
	.vs-myreviews__item {
		grid-template-columns: minmax(0, 1fr);
	}

	.vs-myreviews__item .vs-myreviews__state {
		grid-column: 1;
		grid-row: auto;
		justify-self: start;
	}
}

.vs-myreviews__state {
	grid-column: 2;
	grid-row: 1 / span 2;
	padding: 2px 10px;
	border-radius: var(--wp--custom--radius-pill, 999px);
	background: var(--vs-secondary-text);
	color: var(--vs-surface);
	font-size: 13px;
	font-weight: 700;
	white-space: nowrap;
}

.vs-myreviews__state--new {
	background: #f3e7c4;
	color: #5c4300;
}

.vs-myreviews__state--approved {
	background: var(--vs-primary);
}

@media (min-width: 1024px) {
	.vs-acct__section--reviews {
		grid-template-columns: 215px minmax(0, 717px);
	}
}

@media (forced-colors: active) {
	.vs-myreviews__item,
	.vs-myreviews__state {
		outline: 1px solid CanvasText;
	}
}

/* ------------------------------------------------------------------------------------------------------------------
 * Fix 9 (persona round R2, 2026-11-17).
 * R2-P1-S3-01: «إزالة» in «المحفوظات» asks first: the Arabic <dialog> (accounts.js) and, without JavaScript, the confirm
 * step above the list (#vs-saved-confirm), both in the account's confirm language (.vs-acct__confirm, the danger button).
 * R2-P06-R2-06: the links under a sign-in notice («أنشئ حساباً أولاً», «ارجع إلى الصفحة») are 44 px touch targets.
 * ---------------------------------------------------------------------------------------------------------------- */
.vs-saved__confirm .vs-acct__buttons,
.vs-saved-dialog__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
}

.vs-saved__confirm .vs-acct__btn,
.vs-saved-dialog__actions .vs-acct__btn {
	width: auto;
	min-width: 120px;
	min-height: 44px;
}

/* Fix 9 C1-FE-R5: the step is reached by #vs-saved-confirm, where browsers skip autofocus. «إلغاء» comes first in the
   markup, so the first Tab reaches the safe choice; «إزالة» keeps its place first on screen. Room above it, so the
   heading «المحفوظات» stays in view. */
.vs-saved__confirm {
	scroll-margin-top: 24px;
}

.vs-saved__confirm .vs-acct__btn--danger {
	order: -1;
}

.vs-saved-dialog {
	box-sizing: border-box;
	width: min(420px, calc(100vw - 32px));
	max-width: none;
	margin: auto;
	padding: 0;
	border: 0;
	border-radius: 16px;
	background: var(--vs-surface);
	color: var(--vs-dark-text);
	box-shadow: 0 16px 48px rgba(0, 20, 18, 0.24);
}

.vs-saved-dialog::backdrop {
	background: rgba(0, 20, 18, 0.55);
}

.vs-saved-dialog__box {
	display: grid;
	gap: 12px;
	margin: 0;
	padding: 24px;
}

.vs-saved-dialog__title {
	margin: 0;
	color: var(--vs-primary);
	font-size: 18px;
	font-weight: 700;
	line-height: 1.5;
	overflow-wrap: anywhere;
}

.vs-saved-dialog__text {
	margin: 0;
	font-size: 15px;
	line-height: 1.6;
}

.vs-saved-dialog__actions {
	margin-block-start: 8px;
}

/* Fix 9 C1-FE-R6: the text links under «تحقّق من بريدك» («العودة إلى الصفحة», «العودة إلى الصفحة الرئيسية») too. */
.vs-auth__links .vs-auth__link,
.vs-auth__status-link a {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	padding-inline: 4px;
	margin-inline: -4px;
	text-underline-offset: 3px;
}

.vs-auth__status-link {
	margin-block-start: 4px;
}

.vs-auth__status-link + .vs-auth__status-link {
	margin-block-start: 0;
}

.vs-auth__pending {
	font-weight: 700;
}

@media (forced-colors: active) {
	.vs-saved-dialog {
		outline: 1px solid CanvasText;
	}
}

/*
 * «حفظ» while signed out (persona fix R3-P06-S3-02, 2026-11-17): a small popover under the button (accounts.js), with
 * «سجّل الدخول للحفظ» and «انسخ رابط الصفحة»; on phones it stays within the 16 px gutters.
 */
.vs-save-pop {
	position: absolute;
	z-index: 60;
	display: grid;
	gap: 10px;
	width: 320px;
	max-width: calc(100vw - 32px);
	padding: 18px 18px 14px;
	border-radius: var(--wp--custom--radius-md, 12px);
	background: var(--vs-surface, #fff);
	color: var(--vs-dark-text);
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.18);
	text-align: start;
}

.vs-save-pop__title {
	margin: 0;
	padding-inline-end: 36px; /* Clear of the 44 px «إغلاق» at its 8 px inset (the popover's own padding is 18 px). */
	font-size: 16px;
	font-weight: 700;
}

.vs-save-pop__text {
	margin: 0;
	color: var(--vs-secondary-text);
	font-size: 14px;
	line-height: 1.7;
}

.vs-save-pop__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.vs-save-pop__actions .vs-btn {
	flex: 1 1 auto;
	min-height: 44px;
}

.vs-save-pop__close {
	position: absolute;
	inset-block-start: 8px;
	inset-inline-end: 8px;
	width: 44px; /* The site's 44 px touch target (persona fix D-FE-06). */
	min-width: 44px;
	height: 44px;
	min-height: 44px;
	border: 0;
	border-radius: 50%;
	background: transparent;
	color: var(--vs-secondary-text);
	font-size: 22px;
	line-height: 1;
	cursor: pointer;
}

.vs-save-pop__close:hover {
	background: var(--vs-bg);
}

.vs-save-pop__close:focus-visible {
	outline: none;
	box-shadow: var(--vs-focus);
}

.vs-save-pop__done {
	margin: 0;
	font-size: 13px;
}

.vs-save-pop__done:empty {
	display: none;
}

@media (forced-colors: active) {
	.vs-save-pop {
		outline: 1px solid CanvasText;
	}
}

@media print {
	.vs-save-pop {
		display: none;
	}
}

/* visitsyria-forms: assets/css/forms.css */
/*
 * Contact Us (Docs/pages/P19-contact.md; desktop 190:6444, mobile 991:49987) and Suggest a Place (P20-suggest.md;
 * desktop 190:313, mobile 1237:33398). Mobile first; desktop from 1024 px (UX-SW-10). Contact cards and social links reuse
 * restaurant.css. Placeholders #6B666D (design #878787 is below 4.5:1 on white).
 */

/* Fields */

.vs-form {
	display: grid;
	gap: 16px;
}

.vs-field {
	display: grid;
	gap: 6px;
	min-width: 0;
}

.vs-field__label {
	color: var(--vs-dark-text);
	font-size: 16px;
	line-height: 1.4;
}

.vs-field__optional {
	color: var(--vs-secondary-text);
	font-size: 14px;
}

.vs-field__control {
	position: relative;
}

.vs-field input:not([type="checkbox"]):not([type="file"]),
.vs-field select,
.vs-field textarea {
	width: 100%;
	min-height: 56px;
	padding: 14px 16px;
	border: 1px solid var(--vs-field-edge, #7d776d); /* UX2-02 (fix round 4): the shared field edge, ≥ 3 : 1. */
	border-radius: 12px;
	background: var(--vs-surface);
	color: var(--vs-dark-text);
	font: inherit;
	font-size: 16px;
	line-height: 1.5;
}

.vs-field textarea {
	min-height: 166px;
	resize: vertical;
}

.vs-field select {
	padding-inline-start: 16px;
	padding-inline-end: 48px;
	appearance: none;
}

.vs-field ::placeholder {
	color: #6b666d;
	opacity: 1;
}

.vs-field input:focus-visible,
.vs-field select:focus-visible,
.vs-field textarea:focus-visible {
	border-color: var(--vs-primary);
	outline: none;
	box-shadow: var(--vs-focus);
}

.vs-field .vs-field__control.has-icon input:not([type="checkbox"]):not([type="file"]) {
	padding-inline-start: 48px;
}

/* E-mail and phone are typed left to right but sit on the right like the other fields. */
.vs-field input[type="email"],
.vs-field input[type="tel"] {
	direction: ltr;
	text-align: right;
}

.vs-field input[type="email"]::placeholder,
.vs-field input[type="tel"]::placeholder {
	direction: rtl;
}

/* Free text with dir="auto" (fix 9 R2-P12-R1-11a; parts/forms/field.php). Chrome gives an empty dir="auto" field the
   direction ltr, so the Arabic placeholder, the caret and the resize grip went to the left (review C3-FE-01). The field
   stays right to left like the form, and each line takes the direction of its own text (plaintext): a Latin name or
   message still reads and aligns left to right once typed. */
.vs-field input[dir="auto"],
.vs-field textarea[dir="auto"] {
	direction: rtl;
	unicode-bidi: plaintext;
	text-align: start;
}

.vs-field__icon,
.vs-field__chevron {
	position: absolute;
	inset-block-start: 16px;
	width: 24px;
	height: 24px;
	color: var(--vs-secondary-text);
	pointer-events: none;
}

.vs-field__icon {
	inset-inline-start: 16px;
}

.vs-field__chevron {
	inset-inline-end: 16px;
}

.vs-field__icon .vs-icon,
.vs-field__chevron .vs-icon {
	width: 24px;
	height: 24px;
}

.vs-field__hint {
	margin: 0;
	color: var(--vs-secondary-text);
	font-size: 14px;
}


.vs-field__error {
	margin: 0;
	color: #b3261e;
	font-size: 14px;
	font-weight: 500;
}

/* Honeypot: out of sight and out of the tab order. */
.vs-form__trap {
	position: absolute;
	inset-inline-start: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.vs-form__subject {
	margin: 0;
	padding: 12px 16px;
	border-radius: 12px;
	background: var(--vs-surface);
	font-size: 15px;
}

/* Who answers an availability question (persona study R2, P0-1): read before the fields, in the form's own surface
   with an accent edge on the reading start. */
.vs-form__note {
	margin: 0;
	padding: 4px 12px;
	border-inline-start: 3px solid var(--vs-primary);
	border-radius: 0; /* A straight accent edge, and no field-like box (review FE-12). */
	background: transparent;
	font-size: 15px;
	line-height: 1.6;
}

.vs-form__submit {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	width: 100%;
	min-height: 48px;
	border-radius: 12px;
	font-size: 16px;
	font-weight: 700;
}

.vs-form__submit .vs-icon {
	width: 16px;
	height: 16px;
}

.vs-form-status {
	margin-block-end: 16px;
	padding: 16px;
	border-radius: 12px;
	font-size: 16px;
	line-height: 1.5;
}

.vs-form-status p {
	margin: 0;
}

.vs-form-status ul {
	margin: 8px 0 0;
	padding-inline-start: 20px;
}

.vs-form-status a {
	color: inherit;
}

.vs-form-status--ok {
	background: #e3efe9;
	color: var(--vs-primary-text);
}

.vs-form-status--error {
	background: #fbeceb;
	color: #8c1d18;
}

.vs-form-status:focus-visible {
	outline: none;
	box-shadow: var(--vs-focus);
}

/* Image drop zone */

.vs-drop {
	position: relative;
	display: grid;
	justify-items: center;
	gap: 8px;
	padding: 32px 16px;
	border: 1px solid var(--vs-field-edge, #7d776d); /* UX2-02 (fix round 4): the shared field edge, ≥ 3 : 1. */
	border-radius: 12px;
	background: var(--vs-surface);
	text-align: center;
}

.vs-drop.is-over {
	border-color: var(--vs-primary);
	background: #f5f8f4;
}

.vs-drop__icon .vs-icon {
	width: 32px;
	height: 32px;
	color: var(--vs-primary);
}

.vs-drop__text,
.vs-drop__name {
	margin: 0;
	color: var(--vs-secondary-text);
	font-size: 14px;
}

/* «اسحب الصورة هنا» only once the script handles a drop on the whole zone (P20 review round 2). */
.vs-drop:not(.is-enhanced) .vs-drop__text {
	display: none;
}

.vs-drop__button {
	display: none;
	padding: 6px 12px;
	border: 1px solid var(--vs-primary);
	border-radius: 12px;
	color: var(--vs-primary);
	font-size: 12px;
}

/* «إزالة الصورة» (added by forms.js once an image is chosen): above the field that covers the zone. */
.vs-drop__remove {
	position: relative;
	z-index: 1;
	min-height: 32px;
	padding: 4px 12px;
	border: 0;
	border-radius: 12px;
	background: transparent;
	color: var(--wp--custom--accent-strong);
	font: inherit;
	font-size: 14px;
	font-weight: 700;
	text-decoration: underline;
	text-underline-offset: 3px;
	cursor: pointer;
}

.vs-drop__remove[hidden] {
	display: none;
}

.vs-drop__remove:focus-visible {
	outline: none;
	box-shadow: var(--vs-focus);
}

/* With JavaScript the native field covers the zone (it stays the real, labelled control). */
.vs-drop.is-enhanced .vs-drop__button {
	display: inline-block;
}

.vs-drop.is-enhanced .vs-drop__input {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	opacity: 0;
	cursor: pointer;
}

.vs-drop.is-enhanced:focus-within {
	border-color: var(--vs-primary);
	box-shadow: var(--vs-focus);
}

/* P19 contact */

.vs-contact {
	padding-block: calc(110px + var(--wp-admin--admin-bar--height, 0px)) 24px;
}

.vs-contact__title {
	margin: 0;
	color: var(--vs-primary-text);
	font-size: 24px;
	font-weight: 700;
	line-height: 1.3;
}

.vs-contact__intro {
	margin: 4px 0 0;
	color: var(--vs-secondary-text);
	font-size: 14px;
}

.vs-contact__grid {
	display: grid;
	gap: 32px;
	margin-block-start: 24px;
}

.vs-contact__heading {
	margin: 0;
	color: var(--vs-primary-text);
	font-size: 24px;
	font-weight: 700;
	line-height: 1.3;
}

.vs-contact__heading span {
	color: var(--wp--custom--gold-text); /* #6E5F42: the design's gold is 2.9:1 at this size. */
}

.vs-contact__details-intro {
	margin: 8px 0 0;
	color: var(--vs-secondary-text);
	font-size: 14px;
}

.vs-contact .vs-contact-cards {
	margin-block-start: 24px;
}

/* P19 cards (227:3242, badge 227:3179): their own look over the shared restaurant card. */
.vs-contact .vs-contact-card {
	padding: 18px 16px;
	border-color: rgba(5, 66, 57, 0.4);
	border-radius: var(--wp--custom--radius-md);
	background: var(--wp--preset--color--bg-alt);
}

.vs-contact .vs-contact-card__icon {
	background: var(--wp--preset--color--bg);
}

.vs-contact .vs-contact-card__text {
	overflow-wrap: break-word;
}

/* Fix 9 R2-P01-S1-05 (2026-11-17): the e-mail address stays on one line (it broke after «@» at 1440 px): a little
   smaller in a narrow card, and if it still does not fit it breaks before «@» (the template's two parts), never inside
   a part; only the narrowest phones may break it anywhere rather than overflow the card. */
.vs-contact .vs-contact-card {
	container-type: inline-size;
}

.vs-contact .vs-contact-card__email > span {
	white-space: nowrap;
}

@container (max-width: 300px) {
	.vs-contact .vs-contact-card__email {
		font-size: 15px;
	}
}

@media (max-width: 359px) {
	.vs-contact .vs-contact-card__email > span {
		white-space: normal;
		overflow-wrap: anywhere;
	}
}

.vs-contact__social {
	border: 0;
}

.vs-form-card {
	padding: 16px;
	border-radius: 16px;
	background: var(--wp--preset--color--bg-alt);
}

.vs-form-card__title {
	margin: 0 0 16px;
	color: var(--vs-primary-text);
	font-size: 22px;
	font-weight: 700;
}

/* The design's borderless white fields measured 1.36 : 1 on the beige card (audit r2 UX2-02): they keep the shared
   field edge now (fix round 4, 2026-11-15); only the corner radius is the design's. */
.vs-contact .vs-field input:not([type="checkbox"]),
.vs-contact .vs-field textarea {
	border-radius: var(--wp--custom--radius-sm); /* 47:3874 */
}

.vs-contact .vs-form__submit {
	border-radius: var(--wp--custom--radius-md); /* 231:3678 */
	font-size: 14px;
}

/* P20 suggest */

.vs-suggest {
	padding-block: calc(98px + var(--wp-admin--admin-bar--height, 0px)) 24px;
}

.vs-suggest__card {
	padding: 24px 16px;
	border-radius: 24px;
	background: var(--vs-surface);
}

.vs-suggest__title {
	margin: 0;
	color: var(--vs-primary-text);
	font-size: 22px;
	font-weight: 700;
	line-height: 1.3;
}

.vs-suggest__intro {
	margin: 8px 0 16px;
	color: var(--vs-secondary-text);
	font-size: 15px;
	line-height: 1.5;
}

/* The suggest form passed first (#878787, 3.59 : 1 on white; the design's #D7D7D7 is 1.4 : 1); since fix round 4
   (audit r2 UX2-02, 2026-11-15) it takes the one shared field edge like every other form. */
.vs-suggest .vs-field input:not([type="file"]),
.vs-suggest .vs-field select,
.vs-suggest .vs-field textarea,
.vs-suggest .vs-drop {
	border-color: var(--vs-field-edge, #7d776d);
}

/* Fields in error, after the page overrides above so the red edge is not lost (P19/P20 review round 2). */
.vs-field.has-error input,
.vs-field.has-error select,
.vs-field.has-error textarea,
.vs-field.has-error .vs-drop,
.vs-contact .vs-field.has-error input:not([type="checkbox"]),
.vs-contact .vs-field.has-error textarea,
.vs-suggest .vs-field.has-error input:not([type="file"]),
.vs-suggest .vs-field.has-error select,
.vs-suggest .vs-field.has-error textarea {
	border-color: #b3261e;
}

.vs-suggest__notice {
	margin: 0;
	color: var(--vs-dark-text);
	font-size: 16px;
	line-height: 1.5;
}

/* Under the success message: the way back to the form or the home page. */
.vs-form-status__links {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 24px;
	margin: 12px 0 0;
	padding: 0;
	list-style: none;
}

.vs-form-status__links a {
	font-weight: 700;
	text-underline-offset: 3px;
}

/* Tablet and desktop */

@media (min-width: 768px) {
	.vs-form--grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 16px; /* 1237:32127 */
	}

	/* Four cards in two rows of two, not three and one (P19 review round 2). */
	.vs-contact .vs-contact-cards {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.vs-form--grid > .vs-field--wide,
	.vs-form--grid > .vs-form-status,
	.vs-form--grid > .vs-suggest__notice {
		grid-column: 1 / -1;
	}

	/* Two fields side by side line up at the top when only one has a hint (review C3-FE-03: «ساعات العمل» beside
	   «هاتف المكان»). */
	.vs-form--grid > .vs-field {
		align-content: start;
	}

	.vs-form--grid > .vs-form__submit {
		grid-column: 1 / -1;
		justify-self: center;
		width: 261px;
	}
}

@media (min-width: 1024px) {
	.vs-contact {
		padding-block: calc(230px + var(--wp-admin--admin-bar--height, 0px)) 0;
	}

	.vs-contact__title {
		font-size: 96px; /* 190:6836 */
		line-height: 1.2;
	}

	.vs-contact__intro {
		margin-block-start: 24px;
		font-size: 32px;
	}

	.vs-contact__grid {
		grid-template-columns: minmax(0, 590fr) minmax(0, 542fr);
		align-items: start;
		gap: 68px;
		margin-block-start: 90px;
	}

	.vs-contact__heading {
		font-size: 48px;
	}

	.vs-contact__details-intro {
		margin-block-start: 24px;
		font-size: 20px; /* 229:3311 */
	}

	.vs-contact .vs-contact-cards {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 20px;
		margin-block-start: 48px;
	}

	.vs-contact__social {
		grid-template-columns: 1fr auto;
		margin-block-start: 48px;
		padding-block-start: 0;
	}

	.vs-form-card {
		padding: 24px;
	}

	.vs-form-card__title {
		margin-block-end: 40px;
		font-size: 48px; /* 231:4198 */
	}

	.vs-contact .vs-form {
		gap: 20px;
	}

	.vs-contact .vs-form__submit {
		margin-block-start: 12px;
	}

	.vs-suggest {
		padding-block: calc(195px + var(--wp-admin--admin-bar--height, 0px)) 64px;
	}

	.vs-suggest__card {
		padding: 48px;
	}

	.vs-suggest__title {
		font-size: 48px;
	}

	.vs-suggest__intro {
		margin-block: 24px 32px;
		font-size: 20px;
	}
}

/* 1024–1199: the details column is about 480 px wide, too narrow for two cards side by side (the e-mail address
   ran out of its card), so the four cards stack beside the form. */
@media (min-width: 1024px) and (max-width: 1199px) {
	.vs-contact .vs-contact-cards {
		grid-template-columns: minmax(0, 1fr);
	}
}

.vs-form__subject input[type="checkbox"] {
	accent-color: var(--wp--preset--color--primary);
}

[data-vs-drop-name].is-error {
	color: var(--wp--custom--accent-strong);
	font-weight: 700;
}

/* Sending state (review round 3, UX-SW-3; forms.js): the button keeps its colour and size, shows a 16 px ring and
   «جارٍ الإرسال…» and stops taking clicks. The ring turns only when motion is allowed. */
.vs-form[aria-busy="true"] .vs-form__submit {
	cursor: progress;
}

.vs-spinner {
	flex: none;
	width: 16px;
	height: 16px;
	border: 2px solid currentColor;
	border-inline-end-color: transparent;
	border-radius: 50%;
}

@media (prefers-reduced-motion: no-preference) {
	.vs-spinner {
		animation: vs-spin 0.8s linear infinite;
	}
}

@keyframes vs-spin {
	to {
		rotate: 1turn;
	}
}

/* A tick with its label (the review declaration, the suggestion photo's consent). FR1-FE-01 (2026-11-07): moved from
   reviews.css, which /suggest/ does not load, so the consent tick is a 24 px box beside its label there too. */

.vs-field--check {
	grid-template-columns: auto minmax(0, 1fr);
	align-items: start;
	gap: 6px 12px;
	font-size: 15px;
	line-height: 1.6;
}

.vs-field--check input[type="checkbox"] {
	width: 24px;
	height: 24px;
	margin: 2px 0 0;
	accent-color: var(--vs-primary);
}

.vs-field--check label {
	color: var(--vs-dark-text);
}

.vs-field--check .vs-field__error,
.vs-field--check .vs-field__hint {
	grid-column: 1 / -1;
}

.vs-field--check a {
	color: var(--vs-primary);
	text-underline-offset: 3px;
}

/* Review FE-02 (2026-11-17): «كيف نُعِدّ المعلومات» after the owner tick's fee sentence is a 44 px target. */
.vs-field__note a {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	white-space: nowrap;
}

/* FR1-FE-14 (2026-11-07): the two addresses of «تواصل معنا», one list item each, with a small gap. */
.vs-contact .vs-contact-card__list {
	display: grid;
	gap: 6px;
	margin: 0;
	padding: 0;
	list-style: none;
}

/* Fix 9 (persona round R2, 2026-11-17). R1-P04-10: the subject a link chose is text with a small «إزالة» link, no
   longer a tick. Review C3-FE-04: «إزالة» stands alone, so it is a 44 × 44 px target. */
.vs-form__subject {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 4px 12px;
}

.vs-form__subject-remove {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 44px;
	min-inline-size: 44px;
	padding-inline: 4px;
	color: var(--wp--custom--accent-strong);
	font-size: 14px;
	font-weight: 700;
	text-underline-offset: 3px;
}

.vs-form__subject-remove:focus-visible,
.vs-form__privacy a:focus-visible {
	outline: none;
	border-radius: 4px;
	box-shadow: var(--vs-focus);
}

/* R2-P03-R1-08: the privacy line sits under «إرسال»; its link is a 32 px target. */
.vs-form__privacy a {
	display: inline-block;
	min-height: 32px;
	padding-block: 4px;
	color: var(--vs-primary);
	text-underline-offset: 3px;
}

/* A sentence shown only for one message type (data-vs-when, forms.js) and the optional mark switched with it. */
[data-vs-when][hidden],
[data-vs-optional-mark][hidden] {
	display: none;
}

/* «انقطع الاتصال» and «أُرسلت هذه الرسالة» (forms.js): the form's own note style. */
.vs-form__offline,
.vs-form__done {
	margin: 0;
	padding: 8px 12px;
	border-radius: 12px;
	font-size: 15px;
}

.vs-form__offline {
	background: #fbeceb;
	color: #8c1d18;
}

.vs-form__done,
.vs-form__offline.is-back { /* Fix 9 C1-FE-R4: «عاد الاتصال…» is good news, in the success colours. */
	background: #e3efe9;
	color: var(--vs-primary-text);
}

/* Above the form (a return after a send, or an expired confirmation page): the same space below as a status box
   (review C3-FE-05). */
.vs-form-card > .vs-form__done {
	margin-block-end: 16px;
}

/* R1-P02-06: a touch screen has nothing to drag onto: no «اسحب الصورة هنا أو», and the button reads «اختر صورة». */
.vs-drop__coarse {
	display: none;
}

@media (pointer: coarse) {
	.vs-drop.is-enhanced .vs-drop__text,
	.vs-drop__fine {
		display: none;
	}

	.vs-drop__coarse {
		display: inline;
	}
}

/* visitsyria-planner: plugins/visitsyria-ai/assets/css/planner.css */
/*
 * «خطط رحلتك», the AI trip planner (2026-11-05; Docs/AI-TRIP-PLANNER.md). Loaded on page-templates/trip-planner.php
 * (after forms.css) and on the account page («خطط رحلاتي»). Tokens from theme.json and main.css; the band and head
 * follow the live pages (live.css); the form fields are forms.css. Error red: the brand's error token --vs-error (main.css;
 * the staff skin's --vsa-due), owner decision 2026-11-17 (was an off-palette red). A plan reads as a traveller's notebook: one card per
 * day with a timeline spine, gold notes for tips, a dashed plan B. Print: the plan only, one day per page break.
 */

.vs-planner {
	position: relative;
	padding-block: calc(132px + var(--wp-admin--admin-bar--height, 0px)) 96px;
}

.vs-planner__band {
	position: absolute;
	inset: 0 0 auto;
	z-index: -1;
	height: 258px;
	background: var(--vs-pl-band, none) center top / auto 100% repeat-x; /* The theme's image, set by planner-theme.php (review AP-BE-6). */
	opacity: 0.3;
	pointer-events: none;
}

.vs-planner__head {
	display: grid;
	gap: 8px;
	padding-block-end: 24px;
	border-block-end: 1px solid transparent;
	border-image: linear-gradient(90deg, var(--vs-bg), var(--vs-gold), var(--vs-bg)) 1;
}

.vs-planner__kicker,
.vs-plan__kicker {
	margin: 0;
	color: #6f5c37; /* The gold darkened for text: 4.6:1 on the page background (review PL-FE-8). */
	font-size: 14px;
	font-weight: 700;
}

.vs-planner__title {
	margin: 0;
	color: var(--vs-primary-text);
	font-size: clamp(28px, 4vw, 40px);
	font-weight: 700;
	line-height: 1.25;
}

.vs-planner__intro {
	max-width: 720px;
	margin: 0;
	color: var(--vs-secondary-text);
	font-size: 17px;
	line-height: 1.7;
}

/* Status line */

.vs-pl-status {
	margin-block-start: 24px;
	padding: 12px 16px;
	border-inline-start: 4px solid var(--vs-primary);
	border-radius: var(--wp--custom--radius-sm);
	background: var(--vs-surface);
	color: var(--vs-dark-text);
	font-size: 15px;
	line-height: 1.6;
}

.vs-pl-status p {
	margin: 0;
}

.vs-pl-status--error {
	border-inline-start-color: var(--vs-error, #b42318);
	background: #fdeceb;
	color: #7a1610;
}

.vs-pl-status:focus {
	outline: none;
}

/* «لديك خطة لم تُحفظ بعد… أكمل خطتك» on the form page (planner.js, persona fix R1P1-09). */
.vs-pl-resume a {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	color: var(--vs-primary-text, var(--vs-primary));
	font-weight: 700;
	text-decoration: underline;
	text-underline-offset: 4px;
}

/* Cards and layout */

.vs-pl-card {
	padding: 24px;
	border-radius: var(--wp--custom--radius-md);
	background: var(--vs-surface);
	box-shadow: var(--wp--custom--shadow-search);
}

.vs-pl-card__title {
	margin: 0 0 20px;
	color: var(--vs-primary-text);
	font-size: 24px;
	font-weight: 700;
	line-height: 1.3;
}

.vs-pl-off {
	margin-block-start: 32px;
}

.vs-pl-off__links {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
}

.vs-pl-layout[hidden],
.vs-pl-writing[hidden],
.vs-pl-out[hidden],
.vs-pl-status[hidden],
[data-vs-pl-ideas][hidden] {
	display: none;
}

.vs-pl-layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 320px;
	gap: 32px;
	align-items: start;
	margin-block-start: 32px;
}

@media (max-width: 960px) {
	.vs-pl-layout {
		grid-template-columns: 1fr;
	}
}

.vs-pl-how {
	position: sticky;
	top: calc(120px + var(--wp-admin--admin-bar--height, 0px));
	padding: 24px;
	border-radius: var(--wp--custom--radius-md);
	background: var(--wp--custom--guide-surface, #e2dccb);
	color: var(--vs-dark-text);
}

@media (max-width: 960px) {
	.vs-pl-how {
		position: static; /* After the form on phones, so the first screen holds the first field (PL-FE-21). */
	}
}

.vs-pl-how__title {
	margin: 0 0 12px;
	color: var(--vs-primary);
	font-size: 20px;
	font-weight: 700;
}

.vs-pl-how__list {
	display: grid;
	gap: 12px;
	margin: 0;
	padding-inline-start: 20px;
	font-size: 15px;
	line-height: 1.6;
}

.vs-pl-how__list strong {
	color: var(--vs-primary-text);
}

.vs-pl-how__note {
	margin: 16px 0 0;
	color: var(--vs-secondary-text);
	font-size: 13px;
	line-height: 1.6;
}

.vs-pl-off__staff {
	padding: 10px 14px;
	border-inline-start: 3px solid var(--vs-gold);
	border-radius: 4px;
	background: var(--vs-bg);
	font-size: 14px;
}

/* The form */

.vs-pl-form {
	display: grid;
	gap: 20px;
}

.vs-pl-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 16px 20px;
}

@media (max-width: 640px) {
	.vs-pl-grid {
		grid-template-columns: 1fr;
	}
}

.vs-pl-field {
	display: grid;
	gap: 10px;
	min-width: 0;
	margin: 0;
	padding: 0;
	border: 0;
}

.vs-pl-field > legend {
	margin-block-end: 10px;
	padding: 0;
}

.vs-pl-chips {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.vs-pl-chip {
	position: relative;
	display: inline-flex;
	cursor: pointer;
}

.vs-pl-chip input {
	position: absolute;
	inset: 0;
	opacity: 0;
	cursor: pointer;
}

.vs-pl-chip span,
.vs-pl-chip--btn {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	min-height: 44px; /* C3-FE-09: the site's 44 px touch target. */
	padding: 8px 14px;
	border-radius: 999px;
	background: var(--vs-bg);
	box-shadow: inset 0 0 0 1px #c9c1ab;
	color: var(--vs-dark-text);
	font: 500 14px/1.2 var(--wp--preset--font-family--tajawal);
	transition: background-color var(--vs-dur-fast) var(--vs-ease-std), box-shadow var(--vs-dur-fast) var(--vs-ease-std);
}

.vs-pl-chip--btn {
	border: 0;
	cursor: pointer;
}

.vs-pl-chip input:checked + span {
	background: var(--vs-primary);
	box-shadow: none;
	color: var(--vs-surface);
}

.vs-pl-chip input:checked + span::before {
	content: "✓";
	font-weight: 700;
}

.vs-pl-chip input:focus-visible + span,
.vs-pl-chip--btn:focus-visible {
	box-shadow: inset 0 0 0 1px #c9c1ab, var(--vs-focus);
	outline: none;
}

@media (hover: hover) {
	.vs-pl-chip:hover span,
	.vs-pl-chip--btn:hover {
		box-shadow: inset 0 0 0 1.5px var(--vs-primary);
	}
}

.vs-pl-seg__row {
	display: flex;
	flex-wrap: wrap;
	gap: 1px; /* Lines between options, also between wrapped rows (PL-FE-27). */
	border-radius: var(--wp--custom--radius-md);
	background: #d8d0bb;
	box-shadow: inset 0 0 0 1px #c9c1ab;
	overflow: hidden;
}

.vs-pl-seg__opt {
	position: relative;
	flex: 1 1 auto;
	cursor: pointer;
}

.vs-pl-seg__opt input {
	position: absolute;
	inset: 0;
	opacity: 0;
	cursor: pointer;
}

.vs-pl-seg__opt span {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 44px;
	background: var(--vs-bg);
	padding: 8px 12px;
	color: var(--vs-dark-text);
	font-size: 14px;
	font-weight: 500;
	text-align: center;
}

.vs-pl-seg__opt + .vs-pl-seg__opt span {
	border-inline-start: 1px solid #d8d0bb;
}

.vs-pl-seg__opt input:checked + span {
	background: var(--vs-primary);
	color: var(--vs-surface);
}

.vs-pl-seg__opt input:focus-visible + span {
	box-shadow: inset 0 0 0 3px var(--vs-gold);
}

/* R2-P09-R2-S3-05: one line per budget level under its options (no prices). */
.vs-pl-seg__notes {
	display: grid;
	gap: 4px;
	margin: 8px 0 0;
	padding: 0;
	list-style: none;
	color: var(--vs-secondary-text);
	font-size: 14px;
	line-height: 1.6;
}

.vs-pl-seg__notes strong {
	color: var(--vs-dark-text);
	font-weight: 600;
}

.vs-pl-check {
	margin: -8px 0 0;
	font-size: 15px;
}

.vs-pl-check input {
	width: 18px;
	height: 18px;
	margin-inline-end: 6px;
	vertical-align: -3px;
	accent-color: var(--vs-primary);
}

.vs-pl-privacy {
	margin: 0;
}

.vs-pl-submit {
	justify-self: start;
	min-width: 200px;
	min-height: 52px;
	font-size: 16px;
}

.vs-pl-submit[aria-busy="true"] {
	opacity: 0.7;
	cursor: progress;
}

/* The steps (owner, 2026-11-05): with JavaScript one step at a time; without it all of them, one under the other. */

.vs-pl-steps {
	display: flex;
	gap: 8px;
	margin: -4px 0 24px;
	padding: 0;
	list-style: none;
}

.vs-pl-steps[hidden] {
	display: none;
}

.vs-pl-steps__item {
	display: flex;
	flex: 1 1 0;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px 6px;
	min-width: 0;
	color: var(--vs-secondary-text);
	font-size: 13px;
	line-height: 1.35;
}

.vs-pl-steps__item::before {
	content: "";
	flex: 0 0 100%;
	height: 4px;
	border-radius: 2px;
	background: #e4dccb;
}

.vs-pl-steps__item.is-done::before,
.vs-pl-steps__item.is-now::before {
	background: var(--vs-primary);
}

.vs-pl-steps__n {
	display: inline-grid;
	flex: 0 0 auto;
	place-items: center;
	width: 24px;
	height: 24px;
	border-radius: 50%;
	background: #efe9da;
	color: var(--vs-dark-text);
	font-size: 12px;
	font-weight: 700;
}

.vs-pl-steps__item.is-done .vs-pl-steps__n {
	background: var(--vs-gold-soft);
	color: var(--vs-primary-text);
}

.vs-pl-steps__item.is-now .vs-pl-steps__n {
	background: var(--vs-primary);
	color: var(--vs-surface);
}

.vs-pl-steps__label {
	flex: 1 1 0;
	min-width: 0;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.vs-pl-steps__item.is-now .vs-pl-steps__label {
	color: var(--vs-dark-text);
	font-weight: 700;
}

@media (max-width: 560px) {
	/* On a phone only the current step keeps its name. */
	.vs-pl-steps__item:not(.is-now) .vs-pl-steps__label {
		position: absolute;
		width: 1px;
		height: 1px;
		overflow: hidden;
		clip-path: inset(50%);
		white-space: nowrap;
	}

	.vs-pl-steps__item.is-now {
		flex-grow: 3;
	}
}

.vs-pl-step {
	display: grid;
	gap: 20px;
	min-width: 0;
	margin: 0;
	padding: 0;
	border: 0;
}

.vs-pl-step[hidden],
.vs-pl-branch[hidden],
.vs-pl-summary[hidden],
.vs-pl-nav [hidden] {
	display: none;
}

.vs-pl-step__title {
	float: left; /* Not the fieldset's drawn legend but its first grid item: the line above a step stays above it. */
	width: 100%;
	margin: 0;
	padding: 0;
	color: var(--vs-primary-text);
	font-size: 20px;
	font-weight: 700;
	line-height: 1.4;
}

.vs-pl-step__title:focus {
	outline: none;
}

.vs-pl-step__title:focus-visible {
	border-radius: 4px;
	outline: 2px solid var(--vs-primary);
	outline-offset: 4px; /* Not against the text (review PW-FE-10). */
}

.vs-pl-step__count {
	display: block;
	margin-block-end: 2px;
	color: var(--vs-secondary-text);
	font-size: 13px;
	font-weight: 500;
}

.vs-pl-form:not(.is-wizard) .vs-pl-step + .vs-pl-step {
	padding-block-start: 24px;
	border-top: 1px solid #e4dccb;
}

.vs-pl-where {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 12px;
}

@media (max-width: 560px) {
	.vs-pl-where {
		grid-template-columns: 1fr;
	}
}

.vs-pl-where__opt {
	position: relative;
	display: flex;
	cursor: pointer;
}

.vs-pl-where__opt input {
	position: absolute;
	inset: 0;
	opacity: 0;
	cursor: pointer;
}

.vs-pl-where__card {
	display: grid;
	align-content: start;
	gap: 6px;
	width: 100%;
	padding: 18px 20px;
	padding-inline-start: 52px;
	border-radius: var(--wp--custom--radius-md);
	background: var(--vs-bg);
	box-shadow: inset 0 0 0 1px #c9c1ab;
	color: var(--vs-secondary-text);
	font-size: 14px;
	line-height: 1.6;
	transition: box-shadow var(--vs-dur-fast) var(--vs-ease-std), background-color var(--vs-dur-fast) var(--vs-ease-std);
}

.vs-pl-where__card::before {
	content: "";
	position: absolute;
	inset-block-start: 22px;
	inset-inline-start: 20px;
	width: 18px;
	height: 18px;
	border-radius: 50%;
	box-shadow: inset 0 0 0 2px #6f6650; /* 3:1 or more on the card (review PW-FE-5). */
	background: var(--vs-surface);
}

.vs-pl-where__card strong {
	color: var(--vs-dark-text);
	font-size: 18px;
	line-height: 1.4;
}

.vs-pl-where__opt input:checked + .vs-pl-where__card {
	background: var(--vs-surface);
	box-shadow: inset 0 0 0 2px var(--vs-primary);
}

.vs-pl-where__opt input:checked + .vs-pl-where__card::before {
	box-shadow: inset 0 0 0 5px var(--vs-primary);
}

.vs-pl-where__opt input:focus-visible + .vs-pl-where__card {
	box-shadow: inset 0 0 0 2px var(--vs-primary), var(--vs-focus);
}

@media (hover: hover) {
	.vs-pl-where__opt:hover .vs-pl-where__card {
		box-shadow: inset 0 0 0 1.5px var(--vs-primary);
	}

	.vs-pl-where__opt:hover input:checked + .vs-pl-where__card {
		box-shadow: inset 0 0 0 2px var(--vs-primary);
	}
}

.vs-pl-grid__full {
	grid-column: 1 / -1;
}

/* The date in error keeps its red edge (forms.css's field rule is more specific; review PW-FE-3). */
.vs-pl-form .vs-field.has-error input:not([type="checkbox"]):not([type="radio"]),
.vs-pl-form .vs-field.has-error select {
	border-color: var(--vs-error, #b42318);
}

.vs-pl-branch {
	display: grid;
	gap: 20px;
}

/* Blocks for one answer only (owner, 2026-11-06): their own spacing, so a checkbox never rides on the field above. */
.vs-pl-when {
	display: grid;
	gap: 20px;
}

.vs-pl-when[hidden] {
	display: none;
}

.vs-pl-when .vs-pl-check,
.vs-pl-branch .vs-pl-check,
.vs-acct-travel .vs-pl-check {
	margin: 0;
}

.vs-acct-travel {
	display: grid;
	gap: 20px;
}

.vs-acct-travel__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin: 0;
}

.vs-pl-profile-note {
	margin: 0 0 12px;
	font-size: 14px;
}

/* «الدخول إلى سوريا» and «تقدير تقريبي للكلفة» in a plan (owner, 2026-11-06). */
.vs-pl-entry,
.vs-pl-cost {
	display: grid;
	gap: 10px;
	padding: 18px 20px;
	border-radius: var(--wp--custom--radius-md);
	background: var(--vs-surface);
}

.vs-pl-entry__list {
	display: grid;
	grid-template-columns: max-content 1fr;
	gap: 8px 16px;
	margin: 0;
}

.vs-pl-entry__list dt {
	font-weight: 700;
}

.vs-pl-entry__list dd {
	margin: 0;
	line-height: 1.8;
}

.vs-pl-entry__date,
.vs-pl-entry__note,
.vs-pl-cost__lead,
.vs-pl-cost__out {
	margin: 0;
	color: var(--vs-secondary-text);
	font-size: 14px;
}

/* The dual-nationality line and the airport guide's link in «الدخول إلى سوريا» (persona fixes 9 D, 2026-11-17). */
.vs-pl-entry__dual {
	margin: 0;
	font-size: 14px;
}

.vs-pl-entry__dual a,
.vs-pl-entry .vs-pl-more {
	color: var(--vs-primary);
	font-weight: 700;
}

.vs-pl-cost__table {
	width: 100%;
	border-collapse: collapse;
	font-size: 15px;
}

.vs-pl-cost__table th,
.vs-pl-cost__table td {
	padding: 8px 6px;
	border-bottom: 1px solid var(--vs-bg);
	text-align: start;
	vertical-align: top;
}

.vs-pl-cost__table tfoot th,
.vs-pl-cost__table tfoot td {
	border-bottom: 0;
	font-weight: 700;
}

@media (max-width: 600px) {
	.vs-pl-entry__list {
		grid-template-columns: 1fr;
	}

	.vs-pl-cost__table {
		font-size: 14px; /* Every column stays, the basis of each item and the total included (review PT-FE-1). */
	}
}

/* Without JavaScript every block shows, each under its title; with it, one block at a time and no title (PT-FE-3). */
.vs-pl-when__title {
	margin: 0;
	color: var(--vs-primary-text);
	font-size: 15px;
	font-weight: 700;
}

.is-wizard .vs-pl-when__title {
	display: none;
}

.vs-pl-branch__title {
	margin: 0;
	color: var(--vs-primary-text);
	font-size: 15px;
	font-weight: 700;
}

.vs-pl-form:not(.is-wizard) .vs-pl-branch {
	padding: 16px;
	border-radius: var(--wp--custom--radius-md);
	box-shadow: inset 0 0 0 1px #e4dccb;
}

.is-wizard .vs-pl-branch__title {
	display: none;
}

.vs-pl-summary {
	padding: 16px;
	border-radius: var(--wp--custom--radius-md);
	background: var(--vs-bg);
}

.vs-pl-summary__title {
	margin: 0 0 10px;
	color: var(--vs-primary-text);
	font-size: 15px;
	font-weight: 700;
}

.vs-pl-summary__chips {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.vs-pl-summary__edit {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	min-height: 36px;
	padding: 6px 12px;
	border: 0;
	border-radius: 999px;
	background: var(--vs-surface);
	box-shadow: inset 0 0 0 1px #c9c1ab;
	color: var(--vs-dark-text);
	font: 500 13px/1.2 var(--wp--preset--font-family--tajawal);
	cursor: pointer;
}

.vs-pl-summary__edit::after {
	content: "✎";
	color: var(--vs-secondary-text);
	font-size: 12px;
}

.vs-pl-summary__edit:focus-visible {
	box-shadow: inset 0 0 0 1px #c9c1ab, var(--vs-focus);
	outline: none;
}

@media (hover: hover) {
	.vs-pl-summary__edit:hover {
		box-shadow: inset 0 0 0 1.5px var(--vs-primary);
	}
}

.vs-pl-nav {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 12px;
}

.is-wizard .vs-pl-nav {
	padding-block-start: 20px;
	border-top: 1px solid #e4dccb;
}

.is-wizard .vs-pl-nav [data-vs-pl-next],
.is-wizard .vs-pl-nav .vs-pl-submit {
	margin-inline-start: auto;
}

.vs-pl-nav [data-vs-pl-next],
.vs-pl-nav [data-vs-pl-prev] {
	min-width: 140px;
	min-height: 52px;
	font-size: 16px;
}

@media (max-width: 480px) {
	.is-wizard .vs-pl-nav > * {
		flex: 1 1 0;
		min-width: 0;
	}
}

/* Writing state */

.vs-pl-writing {
	margin-block-start: 32px;
}

.vs-pl-writing__card {
	display: grid;
	justify-items: center;
	gap: 12px;
	max-width: 560px;
	margin-inline: auto;
	padding: 40px 24px;
	border-radius: var(--wp--custom--radius-md);
	background: var(--vs-surface);
	box-shadow: var(--wp--custom--shadow-search);
	text-align: center;
}

.vs-pl-writing__pen {
	width: 56px;
	height: 56px;
	border-radius: 50%;
	background: conic-gradient(var(--vs-gold) 0 25%, transparent 0) , var(--vs-bg);
	animation: vs-pl-spin 1.2s linear infinite;
	mask: radial-gradient(circle, transparent 54%, #000 56%);
}

@keyframes vs-pl-spin {
	to {
		transform: rotate(360deg);
	}
}

.vs-pl-writing__title {
	margin: 0;
	color: var(--vs-primary-text);
	font-size: 20px;
	font-weight: 700;
}

.vs-pl-writing__steps {
	display: grid;
	gap: 6px;
	margin: 0;
	padding: 0;
	color: var(--vs-secondary-text);
	font-size: 15px;
	list-style: none;
}

.vs-pl-writing__steps li.is-done {
	color: var(--vs-primary);
}

.vs-pl-writing__steps li.is-done::before {
	content: "✓ ";
}

.vs-pl-writing__steps li.is-now {
	color: var(--vs-primary-text);
	font-weight: 700;
}

.vs-pl-writing__note {
	margin: 0;
	color: var(--vs-secondary-text);
	font-size: 13px;
}

/* The plan */

.vs-pl-out {
	margin-block-start: 32px;
}

.vs-plan {
	display: grid;
	gap: 24px;
}

.vs-plan:focus {
	outline: none;
}

.vs-plan__head {
	display: grid;
	gap: 10px;
	padding: 28px;
	border-radius: var(--wp--custom--radius-md);
	background: var(--vs-primary);
	color: var(--vs-surface);
}

.vs-plan__head .vs-plan__kicker {
	color: var(--vs-gold-soft, #e6cf9c);
}

.vs-plan__title {
	margin: 0;
	color: var(--vs-surface);
	font-size: clamp(24px, 3vw, 34px);
	font-weight: 700;
	line-height: 1.3;
}

.vs-plan__summary {
	max-width: 820px;
	margin: 0;
	font-size: 17px;
	line-height: 1.75;
	opacity: 0.95;
}

.vs-plan__route {
	display: flex;
	align-items: center;
	gap: 8px;
	margin: 0;
	font-size: 15px;
	font-weight: 500;
}

.vs-plan__route .vs-icon {
	width: 18px;
	height: 18px;
	flex: none;
}

.vs-plan__chips {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 6px 0 0;
	padding: 0;
	list-style: none;
}

.vs-plan__chips li {
	padding: 6px 12px;
	border-radius: 999px;
	background: color-mix(in srgb, var(--vs-surface) 14%, transparent);
	font-size: 13px;
	font-weight: 500;
}

.vs-plan__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	align-items: center;
}

.vs-plan__actions form {
	margin: 0;
}

.vs-plan__actions .vs-icon,
.vs-plan__actions svg {
	width: 18px;
	height: 18px;
	flex: none;
}

.vs-btn[disabled] {
	opacity: 0.5;
	cursor: not-allowed;
}

/* «محفوظة في حسابك» (persona fix D-FE-03): a status at full contrast, still in the tab order (aria-disabled). */
.vs-btn.vs-pl-saved,
.vs-btn.vs-pl-saved:hover {
	background: color-mix(in srgb, var(--vs-primary) 8%, var(--vs-bg));
	cursor: default;
}

.vs-btn--ghost {
	background: transparent;
	color: var(--vs-primary);
	text-decoration: underline;
	text-underline-offset: 4px;
}

.vs-btn--ghost:focus-visible {
	box-shadow: var(--vs-focus);
	outline: none;
}

.vs-plan__wait-note {
	margin: -12px 0 0;
	color: var(--vs-secondary-text);
	font-size: 13px;
}

.vs-plan__share {
	display: grid;
	gap: 8px;
	padding: 16px;
	border-radius: var(--wp--custom--radius-md);
	background: var(--vs-surface);
}

.vs-plan__share[hidden] {
	display: none;
}

.vs-plan__share-row {
	display: flex;
	gap: 8px;
}

.vs-plan__share-row input {
	flex: 1;
	min-width: 0;
	min-height: 45px;
	padding: 8px 12px;
	border: 1px solid #c9c1ab;
	border-radius: var(--wp--custom--radius-sm);
	background: var(--vs-bg);
	font: 14px/1.4 ui-monospace, monospace;
}

/* Safety box */

.vs-pl-safety {
	padding: 18px 20px;
	border-inline-start: 4px solid var(--vs-primary);
	border-radius: var(--wp--custom--radius-sm);
	background: var(--vs-surface);
	color: var(--vs-dark-text);
	font-size: 15px;
	line-height: 1.65;
}

.vs-pl-safety--caution {
	border-inline-start-color: #c26a00;
	background: #fff3e0;
}

.vs-pl-safety--unsafe {
	border-inline-start-color: var(--vs-error, #b42318);
	background: #fdeceb;
}

.vs-pl-safety__title {
	display: flex;
	align-items: center;
	gap: 8px;
	margin: 0 0 6px;
	color: var(--vs-primary-text);
	font-size: 17px;
	font-weight: 700;
}

.vs-pl-safety p {
	margin: 0;
}

.vs-pl-safety__list {
	display: grid;
	gap: 6px;
	margin: 10px 0 0;
	padding-inline-start: 20px;
}

.vs-pl-safety__day {
	color: var(--vs-secondary-text);
	font-size: 13px;
}

.vs-pl-safety a {
	color: inherit;
}

/* Days at a glance */

.vs-plan__glance ol {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
	gap: 10px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.vs-plan__glance a {
	display: grid;
	grid-template-columns: auto 1fr;
	gap: 2px 10px;
	align-items: center;
	height: 100%;
	padding: 12px;
	border-radius: var(--wp--custom--radius-sm);
	background: var(--vs-surface);
	color: var(--vs-dark-text);
	text-decoration: none;
	transition: box-shadow var(--vs-dur-fast) var(--vs-ease-std);
}

@media (hover: hover) {
	.vs-plan__glance a:hover {
		box-shadow: inset 0 0 0 1.5px var(--vs-gold);
	}
}

.vs-plan__glance a:focus-visible {
	box-shadow: var(--vs-focus);
	outline: none;
}

.vs-plan__glance-n {
	grid-row: span 2;
	display: grid;
	place-items: center;
	width: 34px;
	height: 34px;
	border-radius: 50%;
	background: var(--vs-primary); /* White on green, 11:1 (PL-FE-8). */
	color: var(--vs-surface);
	font-weight: 700;
}

.vs-plan__glance-t {
	font-size: 14px;
	font-weight: 700;
	line-height: 1.35;
}

.vs-plan__glance-g {
	color: var(--vs-secondary-text);
	font-size: 12px;
}

/* A day */

.vs-plan__days {
	display: grid;
	gap: 24px;
}

.vs-pl-day {
	display: grid;
	gap: 18px;
	padding: 24px;
	border-radius: var(--wp--custom--radius-md);
	background: var(--vs-surface);
	box-shadow: var(--wp--custom--shadow-search);
	scroll-margin-block-start: 120px;
}

.vs-pl-day__head {
	display: grid;
	grid-template-columns: auto 1fr;
	gap: 16px;
	align-items: start;
}

.vs-pl-day__num {
	display: grid;
	justify-items: center;
	min-width: 64px;
	margin: 0;
	padding: 8px 10px;
	border-radius: var(--wp--custom--radius-sm);
	background: var(--vs-bg);
	box-shadow: inset 0 0 0 1px var(--vs-gold);
	color: var(--vs-gold);
	line-height: 1.1;
}

.vs-pl-day__num span {
	color: #6f5c37; /* PL-FE-8. */
	font-size: 12px;
	font-weight: 500;
}

.vs-pl-day__num strong {
	color: var(--vs-primary);
	font-size: 30px;
}

.vs-pl-day__heading {
	display: grid;
	gap: 6px;
	min-width: 0;
}

.vs-pl-day__title {
	margin: 0;
	color: var(--vs-primary-text);
	font-size: 22px;
	font-weight: 700;
	line-height: 1.35;
}

.vs-pl-day__meta {
	display: flex;
	flex-wrap: wrap;
	gap: 6px 16px;
	margin: 0;
	color: var(--vs-secondary-text);
	font-size: 14px;
}

.vs-pl-day__meta > span {
	display: inline-flex;
	align-items: center;
	gap: 6px;
}

.vs-pl-day__meta .vs-icon,
.vs-pl-day__friday .vs-icon,
.vs-pl-item__travel .vs-icon,
.vs-pl-item__time .vs-icon,
.vs-pl-note__title .vs-icon,
.vs-pl-ess__title .vs-icon,
.vs-pl-events__when .vs-icon {
	width: 18px;
	height: 18px;
	flex: none;
	color: var(--vs-gold);
}

.vs-pl-day__meta a {
	color: var(--vs-primary);
}

.vs-pl-day__hijri {
	color: var(--vs-secondary-text);
}

.vs-pl-day__friday {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	justify-self: start;
	margin: 0;
	padding: 4px 10px;
	border-radius: 999px;
	background: var(--vs-bg);
	color: var(--vs-dark-text);
	font-size: 13px;
}

.vs-pl-day__theme {
	margin: 0;
	padding-inline-start: 10px;
	border-inline-start: 3px solid var(--vs-gold); /* No slanted Arabic (PL-FE-18). */
	color: var(--vs-secondary-text);
	font-size: 15px;
	font-weight: 500;
}

.vs-pl-day__intro {
	margin: 0;
	color: var(--vs-dark-text);
	font-size: 16px;
	line-height: 1.85;
}

.vs-pl-day__wait {
	display: grid;
	gap: 10px;
}

.vs-pl-day__wait-label {
	margin: 0;
	color: var(--vs-secondary-text);
	font-size: 14px;
}

.vs-pl-day__stops {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.vs-pl-day__writing {
	display: flex;
	align-items: center;
	gap: 10px;
	margin: 0;
	color: var(--vs-secondary-text);
	font-size: 15px;
}

.vs-pl-day.is-failed .vs-pl-day__writing {
	color: #7a1610;
}

.vs-pl-dots {
	display: inline-flex;
	gap: 4px;
}

.vs-pl-dots i {
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: var(--vs-gold);
	animation: vs-pl-dot 1s var(--vs-ease-std) infinite alternate;
}

.vs-pl-dots i:nth-child(2) {
	animation-delay: 0.2s;
}

.vs-pl-dots i:nth-child(3) {
	animation-delay: 0.4s;
}

@keyframes vs-pl-dot {
	from {
		opacity: 0.25;
	}

	to {
		opacity: 1;
	}
}

@media (prefers-reduced-motion: reduce) {
	.vs-pl-dots i,
	.vs-pl-writing__pen {
		animation: none;
	}
}

/* Timeline */

.vs-pl-timeline {
	display: grid;
	gap: 18px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.vs-pl-block {
	position: relative;
	padding-inline-start: 28px;
}

.vs-pl-block::before {
	content: "";
	position: absolute;
	inset-block: 10px -18px;
	inset-inline-start: 8px;
	border-inline-start: 2px dotted #c9b98f;
}

.vs-pl-block:last-child::before {
	inset-block-end: 0;
}

.vs-pl-block::after {
	content: "";
	position: absolute;
	inset-block-start: 4px;
	inset-inline-start: 2px;
	width: 14px;
	height: 14px;
	border-radius: 50%;
	background: var(--vs-gold);
	box-shadow: 0 0 0 4px var(--vs-surface);
}

.vs-pl-block--afternoon::after {
	background: #c26a00;
}

.vs-pl-block--evening::after {
	background: var(--vs-primary);
}

.vs-pl-block__label {
	margin: 0 0 10px;
	color: var(--vs-primary);
	font-size: 16px;
	font-weight: 700;
}

.vs-pl-items {
	display: grid;
	gap: 14px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.vs-pl-item {
	display: grid;
	gap: 6px;
}

.vs-pl-item__travel,
.vs-pl-item__time {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	margin: 0;
	color: var(--vs-secondary-text);
	font-size: 13px;
}

.vs-pl-item__travel {
	padding: 4px 10px;
	justify-self: start;
	border-radius: 999px;
	background: var(--vs-bg);
}

.vs-pl-item__text {
	margin: 0;
	color: var(--vs-dark-text);
	font-size: 15px;
	line-height: 1.8;
}

/* A record */

.vs-pl-ref {
	display: flex;
	align-items: center;
	gap: 12px;
	min-width: 0;
}

.vs-pl-ref__img img {
	display: block;
	width: 72px;
	height: 56px;
	border-radius: var(--wp--custom--radius-sm);
	background: var(--vs-img-placeholder);
	object-fit: cover;
}

.vs-pl-ref__body {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 2px 8px;
	min-width: 0;
}

.vs-pl-ref__meta {
	flex-basis: 100%;
	color: var(--vs-secondary-text);
	font-size: 12px;
}

.vs-pl-ref__title {
	color: var(--vs-primary);
	font-size: 16px;
	font-weight: 700;
	text-underline-offset: 3px;
}

.vs-pl-ref--compact {
	display: inline-flex;
	padding: 4px 10px;
	border-radius: 999px;
	background: var(--vs-bg);
}

.vs-pl-ref--compact .vs-pl-ref__meta {
	display: none;
}

.vs-pl-ref--compact .vs-pl-ref__title {
	font-size: 14px;
}

.vs-pl-ref--gone {
	margin: 0;
	color: var(--vs-secondary-text);
	font-size: 14px;
}

.vs-pl-ref--unsafe .vs-pl-ref__title {
	color: #7a1610;
	text-decoration: line-through;
}

/* Notes of a day */

.vs-pl-day__grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
	gap: 12px;
}

.vs-pl-note {
	display: grid;
	align-content: start;
	gap: 8px;
	padding: 14px 16px;
	border-radius: var(--wp--custom--radius-sm);
	background: var(--vs-bg);
	color: var(--vs-dark-text);
	font-size: 14px;
	line-height: 1.7;
}

.vs-pl-note p,
.vs-pl-note ul {
	margin: 0;
}

.vs-pl-note ul {
	display: grid;
	gap: 8px;
	padding: 0;
	list-style: none;
}

.vs-pl-note__title {
	display: flex;
	align-items: center;
	gap: 8px;
	margin: 0;
	color: var(--vs-primary-text);
	font-size: 15px;
	font-weight: 700;
}

.vs-pl-note--tip {
	border-inline-start: 4px solid var(--vs-gold);
	background: #f6ecd2;
}

.vs-pl-note--planb {
	border: 1.5px dashed #b9a679;
	background: transparent;
}

/* Desktop: the timeline, and the day's notes in a side column. */
.vs-pl-day__body {
	display: grid;
	gap: 20px;
}

@media (min-width: 960px) {
	.vs-pl-day__body {
		grid-template-columns: minmax(0, 1.7fr) minmax(280px, 1fr);
		align-items: start;
	}

	.vs-pl-day__body .vs-pl-day__grid {
		grid-template-columns: 1fr;
	}
}

.vs-pl-caution {
	padding: 12px 16px;
	border-inline-start: 4px solid #c26a00;
	border-radius: var(--wp--custom--radius-sm);
	background: #fff3e0;
	color: #6b3a00;
	font-size: 14px;
	line-height: 1.6;
}

.vs-pl-caution p,
.vs-pl-caution ul {
	margin: 0;
}

.vs-pl-caution ul {
	padding-inline-start: 18px;
}

/* Sections after the days */

.vs-pl-section-title {
	margin: 0 0 16px;
	color: var(--vs-primary-text);
	font-size: 24px;
	font-weight: 700;
}

.vs-pl-events__list {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
	gap: 12px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.vs-pl-events__item {
	display: grid;
	gap: 8px;
	padding: 14px;
	border-radius: var(--wp--custom--radius-sm);
	background: var(--vs-surface);
}

.vs-pl-events__when {
	display: flex;
	align-items: center;
	gap: 6px;
	margin: 0;
	color: var(--vs-secondary-text);
	font-size: 13px;
}

.vs-pl-ess__grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
	gap: 12px;
}

.vs-pl-ess__card {
	display: grid;
	align-content: start;
	gap: 8px;
	padding: 16px 18px;
	border-radius: var(--wp--custom--radius-md);
	background: var(--vs-surface);
	color: var(--vs-dark-text);
	font-size: 14px;
	line-height: 1.7;
}

.vs-pl-ess__card ul {
	display: grid;
	gap: 4px;
	margin: 0;
	padding-inline-start: 18px;
}

.vs-pl-ess__title {
	display: flex;
	align-items: center;
	gap: 8px;
	margin: 0;
	color: var(--vs-primary);
	font-size: 16px;
	font-weight: 700;
}

.vs-pl-ess__link {
	margin: 4px 0 0;
}

.vs-pl-ess__link a {
	display: inline-flex; /* A standalone link: a 44 px target, as «أكمل خطتك» (persona fix D-FE-07). */
	align-items: center;
	min-height: 44px;
	color: var(--vs-primary);
	font-weight: 700;
}

.vs-pl-ess__card--phrases dl {
	display: grid;
	gap: 2px;
	margin: 0;
}

.vs-pl-ess__card--phrases dt {
	margin-block-start: 6px;
	color: var(--vs-primary-text);
	font-weight: 700;
}

.vs-pl-ess__card--phrases dd {
	margin: 0;
	color: var(--vs-secondary-text);
}

/* Refining */

.vs-pl-talk {
	display: grid;
	gap: 12px;
	padding: 24px;
	border-radius: var(--wp--custom--radius-md);
	background: var(--vs-surface);
	scroll-margin-block-start: 120px;
}

.vs-pl-talk .vs-pl-section-title {
	margin: 0;
}

.vs-pl-talk__log {
	display: grid;
	gap: 8px;
	max-height: 360px;
	margin: 0;
	padding: 0;
	overflow-y: auto;
	list-style: none;
}

.vs-pl-talk__msg {
	max-width: 80%;
	padding: 10px 14px;
	border-radius: 14px;
	font-size: 15px;
	line-height: 1.6;
}

.vs-pl-talk__msg--you {
	justify-self: start;
	background: var(--vs-primary);
	color: var(--vs-surface);
}

.vs-pl-talk__msg--planner {
	justify-self: end;
	background: var(--vs-bg);
	color: var(--vs-dark-text);
}

.vs-pl-talk__msg.is-thinking {
	color: var(--vs-secondary-text);
}

.vs-pl-talk__form {
	display: grid;
	gap: 8px;
}

.vs-pl-talk__ideas {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.vs-pl-talk__row {
	display: flex;
	gap: 8px;
	align-items: stretch;
}

.vs-pl-talk__row textarea {
	flex: 1;
	min-width: 0;
	min-height: 52px;
	padding: 12px 14px;
	border: 1px solid #c9c1ab;
	border-radius: var(--wp--custom--radius-md);
	background: var(--vs-bg);
	color: var(--vs-dark-text);
	font: 15px/1.5 var(--wp--preset--font-family--tajawal);
	resize: vertical;
}

.vs-pl-talk__row textarea:focus-visible {
	box-shadow: var(--vs-focus);
	outline: none;
}

.vs-pl-talk__row .vs-icon {
	width: 18px;
	height: 18px;
}

@media (max-width: 560px) {
	.vs-pl-talk__row {
		flex-direction: column;
	}
}

.vs-plan__foot {
	padding-block-start: 12px;
	border-block-start: 1px solid #d8d0bb;
	color: var(--vs-secondary-text);
	font-size: 13px;
	line-height: 1.7;
}

.vs-plan__foot p {
	margin: 0;
}

/* Fragments arriving */

.vs-pl-day.is-new,
.vs-pl-ess.is-new {
	animation: vs-pl-in var(--vs-dur-slow) var(--vs-ease-out);
}

@keyframes vs-pl-in {
	from {
		opacity: 0;
		transform: translateY(12px);
	}

	to {
		opacity: 1;
		transform: none;
	}
}

@media (prefers-reduced-motion: reduce) {
	.vs-pl-day.is-new,
	.vs-pl-ess.is-new {
		animation: none;
	}
}

@media (max-width: 640px) {
	.vs-pl-day,
	.vs-pl-talk,
	.vs-pl-card,
	.vs-plan__head {
		padding: 18px 16px;
	}

	.vs-pl-day__head {
		grid-template-columns: 1fr;
	}

	.vs-pl-day__num {
		grid-auto-flow: column;
		gap: 6px;
		justify-self: start;
		align-items: baseline;
	}

	.vs-pl-day__num strong {
		font-size: 22px;
	}
}

/* «خطط رحلاتي» on the account page */

.vs-acct-trips {
	display: grid;
	gap: 12px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.vs-acct-trips__item {
	display: flex;
	flex-wrap: wrap;
	gap: 12px 16px;
	align-items: center;
	justify-content: space-between;
	padding: 16px;
	border-radius: var(--wp--custom--radius-md);
	background: var(--vs-surface);
}

.vs-acct-trips__main {
	display: grid;
	gap: 4px;
	min-width: 0;
	flex: 1 1 280px;
}

.vs-acct-trips__title {
	color: var(--vs-primary);
	font-size: 17px;
	font-weight: 700;
}

.vs-acct-trips__meta,
.vs-acct-trips__share {
	margin: 0;
	color: var(--vs-secondary-text);
	font-size: 13px;
	overflow-wrap: anywhere;
}

.vs-acct-trips__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	align-items: center;
}

.vs-acct-trips__actions form {
	margin: 0;
}

.vs-acct-trips__delete {
	color: var(--vs-error, #b42318);
}

.vs-acct-trips__empty {
	margin: 0;
}

/* Signed out: the outline, then a box to sign in for the whole plan (owner, 2026-11-05) */

.vs-pl-gate {
	display: grid;
	gap: 10px;
	padding: 20px 22px;
	border-radius: var(--wp--custom--radius-md);
	border-inline-start: 4px solid var(--vs-primary);
	background: var(--vs-surface);
	color: var(--vs-dark-text);
}

.vs-pl-gate__title {
	margin: 0;
	font-size: 19px;
	line-height: 1.4;
}

.vs-pl-gate__text {
	margin: 0;
	font-size: 15px;
	line-height: 1.8;
}

.vs-pl-gate__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin: 4px 0 0;
}

.vs-pl-day__locked {
	display: flex;
	align-items: center;
	gap: 8px;
	margin: 0;
	color: var(--vs-secondary-text);
	font-size: 15px;
}

.vs-pl-day__locked .vs-icon {
	flex: none;
	width: 18px;
	height: 18px;
}

/* «رصيد المخطِّط هذا الشهر» on the account page */

.vs-acct-credits {
	display: grid;
	gap: 8px;
	margin: 0 0 20px;
	padding: 16px 18px;
	border-radius: var(--wp--custom--radius-md);
	background: var(--vs-surface);
}

.vs-acct-credits__title {
	margin: 0;
	font-size: 16px;
}

.vs-acct-credits__nums,
.vs-acct-credits__note {
	margin: 0;
}

.vs-acct-credits__note {
	color: var(--vs-secondary-text);
	font-size: 13px;
}

.vs-acct-credits__meter {
	appearance: none;
	width: 100%;
	height: 10px;
	border: 0;
	border-radius: 5px;
	background: var(--vs-bg);
}

.vs-acct-credits__meter::-webkit-meter-bar {
	border: 0;
	border-radius: 5px;
	background: var(--vs-bg);
}

.vs-acct-credits__meter::-webkit-meter-optimum-value,
.vs-acct-credits__meter::-webkit-meter-suboptimum-value {
	border-radius: 5px;
	background: var(--vs-primary);
}

.vs-acct-credits__meter::-webkit-meter-even-less-good-value {
	border-radius: 5px;
	background: var(--vs-gold);
}

.vs-acct-credits__meter::-moz-meter-bar {
	border-radius: 5px;
	background: var(--vs-primary);
}

.vs-acct-credits__meter:-moz-meter-sub-sub-optimum::-moz-meter-bar {
	background: var(--vs-gold);
}

.vs-pl-gate--end {
	margin-top: 8px;
}

.vs-pl-account-note {
	margin: 10px 0 0;
}

@media print {
	.vs-pl-gate__actions {
		display: none;
	}
}

/* Print: the plan only */

@media print {
	.vs-site-header,
	.vs-header,
	.vs-footer,
	.vs-site-footer,
	header.vs-header,
	.vs-planner__band,
	.vs-planner__head,
	[data-vs-pl-status-wrap],
	[data-vs-pl-act-status],
	.vs-plan .vs-pl-status,
	.vs-plan__actions,
	.vs-plan__wait-note,
	.vs-plan__share,
	.vs-plan__glance,
	.vs-pl-talk,
	.vs-pl-day__wait,
	.vs-pl-ref__img,
	#wpadminbar {
		display: none !important;
	}

	.vs-planner {
		padding: 0;
	}

	body {
		background: #fff;
	}

	.vs-plan__head {
		border: 1px solid #333;
		background: #fff;
		color: #000;
	}

	.vs-plan__head .vs-plan__title,
	.vs-plan__head .vs-plan__kicker,
	.vs-plan__foot {
		color: #000 !important; /* The title and the disclaimer print (PL-FE-1, PL-FE-9). */
	}

	.vs-plan__chips li {
		border: 1px solid #999;
	}

	.vs-pl-day,
	.vs-pl-ess__card,
	.vs-pl-note,
	.vs-pl-events__item {
		box-shadow: none;
		border: 1px solid #bbb;
		background: #fff;
		break-inside: avoid-page;
	}

	.vs-pl-day {
		break-inside: auto; /* No near-empty first page; a day may run on (PL-FE-10). */
	}

	.vs-pl-day__head,
	.vs-pl-block {
		break-inside: avoid;
		break-after: avoid;
	}

	.vs-pl-ref__title {
		color: #000;
		text-decoration: none;
	}

	.vs-pl-ref:not(.vs-pl-ref--compact) .vs-pl-ref__title[href]::after {
		content: " " attr(href);
		direction: ltr;
		unicode-bidi: isolate; /* The address reads left to right inside the Arabic line (PL-FE-10). */
		font-size: 10px;
		font-weight: 400;
		word-break: break-all;
	}
}

/* Without JavaScript (review PL-BE-4): a form per pending part instead of the «writing» line; with it, the line. */
.vs-pl-nojs {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 12px;
	align-items: center;
	margin: 0;
}

.vs-js .vs-pl-nojs,
html:not(.vs-js) .vs-pl-day__writing {
	display: none;
}

/* A place rated unsafe since the plan was written: the whole slot dimmed (review PL-FE-7). */
.vs-pl-item.is-unsafe > :not(.vs-pl-ref) {
	opacity: 0.55;
}

.vs-pl-ref__dont {
	color: #7a1610;
	font-size: 13px;
	font-weight: 700;
}

.vs-pl-safety__fix {
	margin: 12px 0 0;
}

/* Phones: the Hijri date on its own line (review PL-FE-20). */
@media (max-width: 640px) {
	.vs-pl-day__meta > span:first-child {
		flex-wrap: wrap;
	}

	.vs-pl-day__hijri {
		display: block;
		flex-basis: 100%;
		padding-inline-start: 24px;
	}
}

/* «خطط رحلاتي»: the empty line as the saves' (review PL-FE-26). */
.vs-acct-trips__empty {
	color: var(--vs-secondary-text);
	font-size: 13px;
}

/* visitsyria-planner-chat: plugins/visitsyria-ai/assets/css/planner-chat.css */
/*
 * «خطط رحلتك» as a chat (owner 2026-11-17; Docs/pages/PLANNER-CHAT-PROPOSAL.md §7, Phase A): templates/planner/chat*.php.
 * RTL with logical properties only; 390 px first; every chip and button at least 44 px; the composer text 16 px (no
 * zoom on iOS); no typing animation under reduced motion; print shows the plan only (the chat's chrome is hidden).
 * The site's tokens (theme.json and planner.css), with the same fallbacks.
 */

.vs-pl-layout--chat {
	grid-template-columns: minmax(0, 1fr) 300px;
}

@media (max-width: 960px) {
	.vs-pl-layout--chat {
		grid-template-columns: 1fr;
	}
}

.vs-pl-main {
	display: grid;
	gap: 24px;
	min-inline-size: 0;
}

.vs-pl-chatpage {
	margin-block-start: 24px;
}

/* The six-step form behind «أفضّل النموذج خطوة خطوة». */
.vs-pl-formbox {
	border-radius: var(--wp--custom--radius-md, 16px);
	background: var(--vs-surface, #fff);
	box-shadow: var(--wp--custom--shadow-search, 0 0 20px rgba(11, 86, 48, 0.12));
}

.vs-pl-formbox__summary {
	display: flex;
	align-items: center;
	gap: 8px;
	min-block-size: 48px;
	padding: 10px 18px;
	color: var(--vs-primary, #054239);
	font-weight: 700;
	cursor: pointer;
	list-style: none;
}

.vs-pl-formbox__summary::-webkit-details-marker {
	display: none;
}

.vs-pl-formbox__summary::after {
	content: "";
	inline-size: 8px;
	block-size: 8px;
	margin-inline-start: auto;
	border-inline-end: 2px solid currentColor;
	border-block-end: 2px solid currentColor;
	transform: rotate(45deg);
}

.vs-pl-formbox[open] .vs-pl-formbox__summary::after {
	transform: rotate(-135deg);
}

.vs-pl-formbox[open] .vs-pl-formbox__summary {
	border-block-end: 1px solid var(--vs-bg, #edebe0);
}

.vs-pl-formbox > .vs-pl-form-card {
	box-shadow: none;
}

/* The chat. */
.vs-chat {
	display: grid;
	gap: 12px;
	min-inline-size: 0;
}

.vs-chat__thread {
	display: grid;
	gap: 12px;
	min-inline-size: 0;
}

.vs-chat__meter {
	display: grid;
	gap: 6px;
	padding: 10px 14px;
	border-radius: var(--wp--custom--radius-sm, 10px);
	background: var(--vs-surface, #fff);
	box-shadow: var(--wp--custom--shadow-search, 0 0 20px rgba(11, 86, 48, 0.12));
	font-size: 14px;
}

.vs-chat__meter[hidden],
.vs-chat__typing[hidden],
.vs-chat__retry[hidden],
.vs-chat__plan[hidden] {
	display: none;
}

.vs-chat__meter p {
	margin: 0;
	color: var(--vs-dark-text, #161616);
}

.vs-chat__meter-bar {
	display: block;
	block-size: 6px;
	border-radius: 999px;
	background: var(--vs-bg, #edebe0);
	overflow: hidden;
}

.vs-chat__meter-bar i {
	display: block;
	block-size: 100%;
	border-radius: 999px;
	background: var(--vs-primary, #054239);
}

.vs-chat__log {
	display: grid;
	gap: 14px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.vs-chat__msg {
	display: flex;
	gap: 8px;
	align-items: flex-start;
	min-inline-size: 0;
	scroll-margin-block: 96px 200px; /* Clear of the site header above and the sticky composer below. */
}

.vs-chat__av {
	flex: none;
	display: grid;
	place-items: center;
	inline-size: 32px;
	block-size: 32px;
	border-radius: 999px;
	background: var(--vs-primary, #054239);
	color: var(--vs-gold-soft, #b9a779);
}

.vs-chat__body {
	min-inline-size: 0;
	max-inline-size: calc(100% - 40px);
	padding: 12px 14px;
	border-radius: 4px var(--wp--custom--radius-md, 16px) var(--wp--custom--radius-md, 16px) var(--wp--custom--radius-md, 16px);
	background: var(--vs-surface, #fff);
	box-shadow: var(--wp--custom--shadow-search, 0 0 20px rgba(11, 86, 48, 0.12));
	color: var(--vs-dark-text, #161616);
	font-size: 16px;
	line-height: 1.6;
	overflow-wrap: anywhere;
}

[dir="rtl"] .vs-chat__msg--planner .vs-chat__body {
	border-start-start-radius: 4px;
}

.vs-chat__body > p,
.vs-chat__body p {
	margin: 0;
}

.vs-chat__body > * + *,
.vs-chat__chips-form > * + * {
	margin-block-start: 10px;
}

.vs-chat__msg--wide .vs-chat__body {
	flex: 1;
}

.vs-chat__msg--you {
	justify-content: flex-end;
}

.vs-chat__msg--you .vs-chat__body {
	max-inline-size: 82%;
	border-radius: var(--wp--custom--radius-md, 16px);
	border-end-end-radius: 4px;
	background: var(--vs-primary, #054239);
	box-shadow: none;
	color: #fff;
}

.vs-chat__msg--chip .vs-chat__body {
	background: #145850;
}

.vs-chat__msg.is-pending .vs-chat__body {
	opacity: 0.75;
}

/* Questions and chips. */
.vs-chat__q {
	color: var(--vs-primary-text, #002623);
	font-size: 17px;
	font-weight: 700;
}

.vs-chat__why {
	display: block;
	color: var(--vs-secondary-text, #5d585f);
	font-size: 14px;
	font-weight: 400;
}

.vs-chat__hint,
.vs-chat__muted {
	color: var(--vs-secondary-text, #5d585f);
	font-size: 14px;
	font-weight: 400;
}

.vs-chat__chips {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.vs-chat__chip {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	min-block-size: 44px;
	padding: 8px 14px;
	border: 0;
	border-radius: 999px;
	background: var(--vs-bg, #edebe0);
	box-shadow: inset 0 0 0 1px #c9c1ab;
	color: var(--vs-dark-text, #161616);
	font: inherit;
	font-size: 15px;
	font-weight: 500;
	line-height: 1.3;
	text-align: start;
	cursor: pointer;
}

.vs-chat__chip:hover {
	box-shadow: inset 0 0 0 1.5px var(--vs-primary, #054239);
}

.vs-chat__chip.is-on,
.vs-chat__chip.is-chosen,
.vs-chat__chip[aria-pressed="true"] {
	background: var(--vs-primary, #054239);
	box-shadow: none;
	color: #fff;
}

.vs-chat__chip--ghost {
	background: transparent;
	box-shadow: inset 0 0 0 1.5px var(--vs-field-edge, #7d776d);
}

.vs-chat__chip--go {
	background: var(--vs-primary, #054239);
	box-shadow: none;
	color: #fff;
	font-weight: 700;
}

.vs-chat__chip:focus-visible,
.vs-chat__fact:focus-visible,
.vs-chat__link:focus-visible,
.vs-pl-formbox__summary:focus-visible {
	outline: none;
	box-shadow: var(--vs-focus, 0 0 0 2px #edebe0, 0 0 0 4px #054239);
}

.vs-chat__facts {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.vs-chat__fact {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	min-block-size: 44px;
	padding: 4px 12px;
	border: 0;
	border-radius: 999px;
	background: var(--wp--custom--tag-mint, #bfdcd8);
	color: var(--vs-primary-text, #002623);
	font: inherit;
	font-size: 14px;
	font-weight: 700;
	cursor: pointer;
}

span.vs-chat__fact {
	cursor: default;
}

.vs-chat__more > summary {
	list-style: none;
}

.vs-chat__more > summary::-webkit-details-marker {
	display: none;
}

.vs-chat__fields {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	align-items: flex-end;
	margin-block-start: 10px;
}

.vs-chat__fields label {
	display: grid;
	gap: 4px;
	font-size: 14px;
	font-weight: 700;
	color: var(--vs-dark-text, #161616);
}

.vs-chat__fields input,
.vs-chat__fields select {
	min-block-size: 44px;
	padding: 8px 12px;
	border: 1px solid var(--vs-field-edge, #7d776d);
	border-radius: 10px;
	background: #fff;
	font: inherit;
	font-size: 16px;
}

.vs-chat__fields .vs-btn,
.vs-chat__actions .vs-btn,
.vs-chat__go .vs-btn {
	min-block-size: 44px;
}

.vs-chat__diff {
	display: grid;
	gap: 4px;
	margin: 0;
	padding: 0;
	list-style: none;
	font-size: 15px;
}

.vs-chat__links {
	display: flex;
	flex-wrap: wrap;
	gap: 4px 16px;
}

.vs-chat__links a {
	display: inline-flex;
	align-items: center;
	min-block-size: 44px;
	color: var(--vs-primary, #054239);
	font-weight: 700;
}

.vs-chat__charged {
	color: var(--vs-secondary-text, #5d585f);
	font-size: 14px;
}

.vs-chat__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

/* The summary card. */
.vs-chat__card {
	padding: 4px 0 0;
}

/* Review FE-15: the card's parts breathe evenly (above `.vs-chat__body p`, which zeroes paragraph margins). */
.vs-chat__body .vs-chat__card > * + * {
	margin-block-start: 10px;
}

/* Review FE-08: «المصدر … · آخر تحقق …» on its own muted line. */
.vs-chat__src {
	color: var(--vs-secondary-text, #5d585f);
	font-size: 13px;
	line-height: 1.5;
}

/* Review FE-17: the chip chosen, kept in an older message. */
.vs-chat__chosen {
	margin: 0;
}

.vs-chat__chip.is-chosen {
	cursor: default;
}

/* Review FE-14: a chip tapped while the planner is still answering shows it was seen. */
.vs-chat__chip.is-waiting {
	opacity: 0.6;
}

/* Review FE-14: the visitor's message that got no answer stays, marked. */
.vs-chat__msg--you.is-failed .vs-chat__body {
	outline: 2px dashed var(--vs-error, #8a1f11);
	outline-offset: 2px;
}

/* Review FE-02: why typing closed, visible in the composer. */
.vs-chat__cap {
	margin: 0;
	color: var(--vs-primary-text, #002623);
	font-size: 14px;
	font-weight: 700;
	line-height: 1.5;
}

.vs-chat__cap a {
	display: inline-flex;
	align-items: center;
	min-block-size: 44px;
	color: var(--vs-primary, #054239);
}

.vs-chat__card-title {
	margin: 0 0 6px;
	color: var(--vs-primary-text, #002623);
	font-size: 19px;
	font-weight: 800;
}

.vs-chat__sum-list {
	display: grid;
	margin: 0;
}

.vs-chat__sum-list > div {
	display: grid;
	grid-template-columns: 1fr auto;
	gap: 0 10px;
	align-items: center;
	padding: 8px 0;
	border-block-end: 1px solid var(--vs-bg, #edebe0);
}

.vs-chat__sum-list dt {
	grid-column: 1 / -1;
	color: var(--vs-secondary-text, #5d585f);
	font-size: 13px;
	font-weight: 700;
}

.vs-chat__sum-list dd {
	margin: 0;
	font-size: 15px;
	font-weight: 700;
}

.vs-chat__link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-block-size: 44px;
	min-inline-size: 44px;
	padding: 0 6px;
	border: 0;
	background: none;
	color: var(--vs-primary, #054239);
	font: inherit;
	font-size: 14px;
	font-weight: 700;
	text-decoration: underline;
	text-underline-offset: 3px;
	cursor: pointer;
}

.vs-chat__extra {
	font-size: 15px;
	font-weight: 700;
}

.vs-chat__note-box {
	padding: 10px 12px;
	border-radius: 10px;
	background: var(--wp--custom--guide-surface, #f6e9da);
	font-size: 14px;
	line-height: 1.5;
}

.vs-chat__go {
	display: grid;
	gap: 6px;
}

.vs-chat__write {
	inline-size: 100%;
	justify-content: center;
}

.vs-chat__cost {
	color: var(--vs-secondary-text, #5d585f);
	font-size: 14px;
	text-align: center;
}

.vs-chat__cost strong {
	color: var(--vs-primary, #054239);
}

/* Typing, retry, resume. */
.vs-chat__typing,
.vs-chat__retry,
.vs-chat__resume {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
	margin: 0;
	color: var(--vs-primary-text, #002623);
	font-weight: 700;
}

.vs-chat__retry {
	padding: 10px 12px;
	border-radius: 10px;
	background: #fbe9e4;
	color: var(--vs-error, #8a1f11);
}

.vs-chat__resume {
	padding: 10px 12px;
	border-radius: 10px;
	background: var(--vs-surface, #fff);
	font-weight: 500;
}

.vs-chat__dots {
	display: inline-flex;
	gap: 4px;
}

.vs-chat__dots i {
	inline-size: 7px;
	block-size: 7px;
	border-radius: 999px;
	background: var(--vs-gold, #988561);
	animation: vs-chat-blink 1.2s infinite;
}

.vs-chat__dots i:nth-child(2) {
	animation-delay: 0.2s;
}

.vs-chat__dots i:nth-child(3) {
	animation-delay: 0.4s;
}

@keyframes vs-chat-blink {
	0%,
	80%,
	100% {
		opacity: 0.25;
	}

	40% {
		opacity: 1;
	}
}

@media (prefers-reduced-motion: reduce) {
	.vs-chat__dots i {
		animation: none;
		opacity: 0.7;
	}
}

/* The composer: sticky at the bottom of the screen on phones. */
.vs-chat__composer {
	display: grid;
	gap: 6px;
	padding: 10px 12px calc(10px + env(safe-area-inset-bottom, 0px));
	border-radius: var(--wp--custom--radius-md, 16px);
	background: rgba(255, 252, 246, 0.96);
	box-shadow: var(--wp--custom--shadow-search, 0 0 20px rgba(11, 86, 48, 0.12));
}

@media (max-width: 960px) {
	.vs-chat__composer {
		position: sticky;
		inset-block-end: 0;
		z-index: 5;
		margin-inline: -4px;
	}
}

/* Square bottom corners only where the composer meets the screen's edge (phones); review FE-17: rounded at 783 px. */
@media (max-width: 600px) {
	.vs-chat__composer {
		border-end-start-radius: 0;
		border-end-end-radius: 0;
	}
}

/* Review FE-16: short screens (a phone on its side, a keyboard open): no visible label, less padding. */
@media (max-height: 500px) {
	.vs-chat__composer {
		gap: 4px;
		padding-block: 6px calc(6px + env(safe-area-inset-bottom, 0px));
	}

	.vs-chat__label {
		position: absolute;
		inline-size: 1px;
		block-size: 1px;
		overflow: hidden;
		clip: rect(0 0 0 0);
		white-space: nowrap;
	}
}

.vs-chat__label {
	font-size: 14px;
	font-weight: 700;
	color: var(--vs-primary-text, #002623);
}

.vs-chat__row {
	display: flex;
	gap: 8px;
	align-items: flex-end;
}

.vs-chat__row textarea {
	flex: 1;
	min-inline-size: 0;
	min-block-size: 48px;
	max-block-size: 160px;
	padding: 12px 14px;
	border: 1px solid var(--vs-field-edge, #7d776d);
	border-radius: 12px;
	background: #fff;
	font: inherit;
	font-size: 16px;
	line-height: 1.4;
	resize: none;
}

.vs-chat__send {
	min-block-size: 48px;
	min-inline-size: 48px;
}

[dir="rtl"] .vs-chat__send svg {
	transform: scaleX(-1);
}

@media (max-width: 480px) {
	.vs-chat__send-t {
		position: absolute;
		inline-size: 1px;
		block-size: 1px;
		overflow: hidden;
		clip: rect(0 0 0 0);
		white-space: nowrap;
	}
}

.vs-chat__note {
	margin: 0;
	color: var(--vs-secondary-text, #5d585f);
	font-size: 13px;
	line-height: 1.45;
}

.vs-chat__plan {
	margin-block-start: 12px;
}

/* Phones: once a conversation exists, the privacy line (read before the first send) leaves the sticky composer. */
@media (max-width: 960px) {
	.vs-chat:not([data-vs-chat-id=""]) .vs-chat__note {
		position: absolute;
		inline-size: 1px;
		block-size: 1px;
		overflow: hidden;
		clip: rect(0 0 0 0);
		white-space: nowrap;
	}
}

/* Print: the plan only, as today (the chat's bubbles, chips and composer never print). */
@media print {
	.vs-chat__meter,
	.vs-chat__log,
	.vs-chat__typing,
	.vs-chat__retry,
	.vs-chat__resume,
	.vs-chat__composer,
	.vs-pl-formbox,
	.vs-pl-how {
		display: none !important;
	}

	.vs-chat__plan {
		margin: 0;
	}
}

/* visitsyria-motion: assets/css/motion.css */
/*
 * Motion and micro-interactions (review round 3, Docs/reviews/round3/UX.md M2–M7, M9). Tokens are in main.css
 * :root. Loaded last on every page, so its hover and press rules replace the page files' older ones.
 * Every movement sits inside prefers-reduced-motion: no-preference. Content is hidden only under html.vs-motion,
 * which motion.js sets after marking the first screen as shown: never without JavaScript or with reduced motion.
 */

/* Placeholder colour behind lazy photos that had none (UX measurements; P04, P12–P14, blog bylines, slider
   thumbnails). On the image itself, so it follows the image's own corners; such images do not fade (M3). */
:where(.vs-about-mosaic__grid, .vs-about-gallery__grid, .vs-about-strip, .vs-about-geo__photo, .vs-about-hosp__photo, .vs-mosaic, .vs-shop-story__media, .vs-shop-gallery__track, .vs-shop-dir__map, .vs-slider__thumb) img,
img:where(.vs-dish__img, .vs-offer__bg, .vs-facility__img, .vs-shop-closing__img),
img.vs-byline__photo:not([src$=".png"]) {
	background-color: var(--vs-img-placeholder);
}

/* Activity card overlay (home.css): the gradient's darkness is a registered number, so it can ease. The listing's
   stronger scrim reaches the same solid 0.7 on hover. */
@property --vs-act-shade {
	syntax: "<number>";
	inherits: false;
	initial-value: 0;
}

.vs-listing .vs-activity-card__link::after {
	background: linear-gradient(180deg, rgba(0, 0, 0, var(--vs-act-shade, 0)) 30%, rgba(0, 0, 0, calc(0.5 + var(--vs-act-shade, 0) * 0.2857)) 55%, rgba(0, 0, 0, calc(0.82 - var(--vs-act-shade, 0) * 0.1714)) 100%);
}

@media (hover: hover) {
	.vs-listing .vs-activity-card__link:hover::after,
	.vs-listing .vs-activity-card__link:focus-visible::after {
		background: linear-gradient(180deg, rgba(0, 0, 0, var(--vs-act-shade, 0)) 30%, rgba(0, 0, 0, calc(0.5 + var(--vs-act-shade, 0) * 0.2857)) 55%, rgba(0, 0, 0, calc(0.82 - var(--vs-act-shade, 0) * 0.1714)) 100%);
	}
}

@media (prefers-reduced-motion: reduce) {
	.vs-activity-card__link::after {
		transition: none; /* main.css's "* { transition: none }" does not reach pseudo-elements. */
	}
}

/* M7: the counting copy keeps the final number's width, so nothing beside it moves. */
.vs-count {
	display: inline-block;
	font-variant-numeric: tabular-nums;
	text-align: center;
}

@media (prefers-reduced-motion: no-preference) {

	/* M2 scroll reveal: fade and a short rise, once; split text from the inline start (the right in RTL),
	   media from 0.98. motion.js sets data-vs-reveal and --vs-i (stagger index, at most 5). */
	.vs-motion [data-vs-reveal]:not(.is-in) {
		opacity: 0;
		translate: 0 var(--vs-rise);
	}

	.vs-motion [data-vs-reveal="start"]:not(.is-in) {
		translate: calc(var(--vs-start) * var(--vs-slide)) 0;
	}

	.vs-motion [data-vs-reveal="media"]:not(.is-in) {
		translate: none;
		scale: 0.98;
	}

	.vs-motion [data-vs-reveal] {
		transition: opacity var(--vs-dur-slow) var(--vs-ease-out), translate 480ms var(--vs-ease-out), scale 480ms var(--vs-ease-out);
		transition-delay: calc(var(--vs-i, 0) * var(--vs-stagger));
	}

	/* Focus, print and anchors reveal at once. */
	.vs-motion .vs-now {
		transition: none !important;
	}

	/* A split block arriving from the side never widens the page. */
	.vs-motion main {
		overflow-x: clip;
	}

	/* M3 lazy images: fade in over the wrapper's placeholder, only while loading (motion.js). */
	.vs-motion img[loading="lazy"] {
		transition: opacity var(--vs-dur-base) var(--vs-ease-std), filter var(--vs-dur-fade-hover) var(--vs-ease-std); /* Keeps the M4 hover fade soft on lazy card photos (2026-11-02). */
	}

	.vs-motion img.is-loading {
		opacity: 0;
	}

	/* M5 tab panels (governorate.js marks the box after the first change): the new panel fades in. */
	.vs-tabs.is-changed .vs-tabs__panel:not([hidden]) {
		animation: vs-fade-in 160ms var(--vs-ease-std);
	}

	/* UX-P01-5: cards left by an activity filter fade in (carousel.js). */
	.vs-activity-card.is-filtered {
		animation: vs-fade-in 150ms var(--vs-ease-std);
	}
}

@keyframes vs-fade-in {
	from {
		opacity: 0;
	}
}

@media print {
	[data-vs-reveal],
	img.is-loading {
		transition: none !important;
		opacity: 1 !important;
		translate: none !important;
		scale: none !important;
	}
}

/* M4 hover: one language for every photo card. The photo fades softly (a gentle dim, no zoom: the user found the
   zoom harsh, 2026-11-02); bordered cards also lift. Pointer devices only. Activity pills keep their own dark
   overlay fade (home.css), so their photo is not dimmed twice. */
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
	.vs-gov-card__media img,
	.vs-place-card__media img,
	.vs-activity-card__media img,
	.vs-article-card__media img,
	.vs-guide-card__media img,
	.vs-gov-hl__photo img,
	.vs-todo-card__arch img,
	.vs-near-card__media img,
	.vs-ho-card__media img,
	.vs-ho-room__media img,
	.vs-type-card__media img,
	.vs-cuisine__photo img,
	.vs-shop-card > img,
	.vs-inv-sector > img,
	img.vs-offer__bg,
	img.vs-dish__img {
		transition: filter var(--vs-dur-fade-hover) var(--vs-ease-std), opacity var(--vs-dur-base) var(--vs-ease-std);
	}

	.vs-gov-card:hover .vs-gov-card__media img,
	.vs-place-card__link:hover .vs-place-card__media img,
	.vs-article-card__link:hover .vs-article-card__media img,
	.vs-guide-card__link:hover .vs-guide-card__media img,
	.vs-gov-hl:hover .vs-gov-hl__photo img,
	.vs-todo-card__arch:has(a:hover) img,
	.vs-near-card:hover .vs-near-card__media img,
	.vs-ho-card:hover .vs-ho-card__media img,
	.vs-ho-room:hover .vs-ho-room__media img,
	.vs-type-card:hover .vs-type-card__media img,
	.vs-cuisine__card:hover .vs-cuisine__photo img,
	.vs-shop-card:hover > img,
	.vs-inv-sector:hover > img,
	.vs-offer:hover .vs-offer__bg,
	.vs-dish:hover .vs-dish__img {
		filter: brightness(var(--vs-hover-dim));
	}

	.vs-blog-card,
	.vs-inv-sector {
		transition: translate var(--vs-dur-fast) var(--vs-ease-std), box-shadow var(--vs-dur-fast) var(--vs-ease-std);
	}

	.vs-blog-card:hover,
	.vs-inv-sector:hover {
		translate: 0 -2px;
		box-shadow: 0 10px 24px rgb(5 66 57 / 0.1);
	}

	/* Arrow links: the icon nudges 3 px toward the reading direction (left in RTL). */
	.vs-link-arrow .vs-icon,
	.vs-pill-link__arrow {
		transition: translate var(--vs-dur-fast) var(--vs-ease-std);
	}

	.vs-link-arrow:hover .vs-icon,
	.vs-pill-link:hover .vs-pill-link__arrow {
		translate: calc(var(--vs-start) * -3px) 0;
	}

	/* Activity card «المزيد»: fades and rises 4 px instead of popping (the overlay itself: home.css). */
	.vs-activity-card__more {
		opacity: 0;
		translate: 0 4px;
		transition-property: opacity, translate, display;
		transition-duration: var(--vs-dur-fast);
		transition-timing-function: var(--vs-ease-out);
		transition-behavior: allow-discrete;
	}

	.vs-activity-card__link:is(:hover, :focus-visible) .vs-activity-card__more {
		opacity: 1;
		translate: 0 0;
	}

	@starting-style {
		.vs-activity-card__link:is(:hover, :focus-visible) .vs-activity-card__more {
			opacity: 0;
			translate: 0 4px;
		}
	}
}

/* Colour changes: chips, pager, carousel arrows and submit buttons (focus rings stay instant). */
.vs-chip,
.vs-pager__link,
.vs-arrow,
.vs-input-group__submit,
.vs-hero-search__submit,
.vs-search__submit,
.vs-nav-toggle {
	transition: background-color var(--vs-dur-fast) var(--vs-ease-std), color var(--vs-dur-fast) var(--vs-ease-std), scale var(--vs-dur-press) var(--vs-ease-std);
}

/* Press feedback (UX-SW-4): every control darkens; with motion allowed it also shrinks slightly. */
.vs-btn--primary:active,
.vs-arrow:not(:disabled):active,
.vs-input-group__submit:active,
.vs-hero-search__submit:active,
.vs-search__submit:active {
	background-color: color-mix(in srgb, var(--vs-primary) 82%, #000);
}

.vs-btn--secondary:active,
.vs-chip:not(.is-active):not([aria-pressed="true"]):active,
.vs-pill-link:active {
	background-color: color-mix(in srgb, var(--vs-primary) 14%, var(--vs-bg));
}

@media (prefers-reduced-motion: no-preference) {
	.vs-btn:active,
	.vs-arrow:not(:disabled):active,
	.vs-chip:active,
	.vs-pill-link:active,
	.vs-pager__link:active,
	.vs-input-group__submit:active,
	.vs-hero-search__submit:active,
	.vs-search__submit:active,
	:is(.vs-gov-card, .vs-place-card, .vs-activity-card, .vs-article-card, .vs-guide-card, .vs-gov-hl, .vs-near-card, .vs-todo-card, .vs-type-card, .vs-blog-card, .vs-ho-card, .vs-ho-room):has(a:active) {
		scale: var(--vs-press);
	}

	.vs-pill-link,
	.vs-pager__link,
	:is(.vs-gov-card, .vs-place-card, .vs-activity-card, .vs-article-card, .vs-guide-card, .vs-gov-hl, .vs-near-card, .vs-todo-card, .vs-type-card, .vs-ho-card, .vs-ho-room) {
		transition: scale var(--vs-dur-press) var(--vs-ease-std);
	}
}

/* M5 mobile menu: 180 ms fade and 8 px drop when opening, 140 ms when closing; the toggle icons crossfade.
   Browsers without @starting-style keep the instant toggle. */
@media (max-width: 1199px) and (prefers-reduced-motion: no-preference) {
	.vs-js .vs-nav {
		opacity: 0;
		translate: 0 -8px;
		transition-property: opacity, translate, display;
		transition-duration: 140ms;
		transition-timing-function: var(--vs-ease-in);
		transition-behavior: allow-discrete;
	}

	.vs-js .vs-nav.is-open {
		opacity: 1;
		translate: 0 0;
		transition-duration: var(--vs-dur-fast);
		transition-timing-function: var(--vs-ease-out);
	}

	@starting-style {
		.vs-js .vs-nav.is-open {
			opacity: 0;
			translate: 0 -8px;
		}
	}

	.vs-nav-toggle > .vs-icon {
		grid-area: 1 / 1;
		transition: opacity var(--vs-dur-press) var(--vs-ease-std);
	}

	.vs-nav-toggle .vs-nav-toggle__close,
	.vs-nav-toggle[aria-expanded="true"] .vs-nav-toggle__open {
		display: block;
		opacity: 0;
	}

	.vs-nav-toggle[aria-expanded="true"] .vs-nav-toggle__close {
		opacity: 1;
	}
}

/* ==========================================================================
   M6 header on scroll (UX M6; owner decision approved 2026-11-01). motion.js sets html.vs-scrolled past 120 px
   (kept back to the very top, where the static header sits at the same place), html.vs-header-hidden while
   scrolling down, and html.vs-header-anim one frame after the switch, so the switch to fixed never slides.
   Without JavaScript none is set and the static header of the design stays. Screen only: print keeps it static.
   ========================================================================== */
@media screen {
	/* Anchors (#vs-reviews …), focus and in-page jumps stop below the fixed header: its top offset, the bar and
	   16 px. Set from the first paint (html.vs-js comes from the inline head script), before any jump. */
	html.vs-js {
		scroll-padding-block-start: calc(24px + 56px + 16px + var(--wp-admin--admin-bar--height, 0px));
	}

	/* The scroll padding replaces the 120 px margin of the governorate's jump targets (governorate.css), which
	   would otherwise add up to a 216–249 px gap above «مطاعم» and «كنوز». */
	html.vs-js .vs-gov-places,
	html.vs-js .vs-gov-treasures {
		scroll-margin-block-start: 0;
	}

	/* Out of the flow already (absolute), so turning fixed moves nothing on the page. Only the bar takes clicks:
	   the full-width wrapper must not cover the content beside it. */
	.vs-scrolled .vs-header {
		position: fixed;
		pointer-events: none;
	}

	.vs-scrolled .vs-header__bar {
		pointer-events: auto;
		/* The header surface laid over the page background: solid, the same tone as over a plain section. */
		background: linear-gradient(var(--wp--custom--header-surface), var(--wp--custom--header-surface)), var(--vs-bg);
		box-shadow: var(--wp--custom--shadow-search);
		-webkit-backdrop-filter: none;
		backdrop-filter: none;
	}

	/* Off screen with its shadow: the bar, the top offset (24/30 px), the shadow and the admin bar. */
	.vs-header-hidden .vs-header {
		translate: 0 calc(-100% - 64px - var(--wp-admin--admin-bar--height, 0px));
	}

	@media (min-width: 1200px) {
		html.vs-js {
			scroll-padding-block-start: calc(30px + 83px + 16px + var(--wp-admin--admin-bar--height, 0px));
		}
	}

	/* Up to 600 px the admin bar scrolls away with the page (WordPress core), so the fixed header ignores it. */
	@media (max-width: 600px) {
		html.vs-js {
			scroll-padding-block-start: 96px;
		}

		.vs-scrolled .vs-header {
			inset-block-start: 24px;
		}
	}
}

/* The slide: hiding 240 ms ease-in, showing 280 ms ease-out. With reduced motion it shows and hides at once. */
@media screen and (prefers-reduced-motion: no-preference) {
	.vs-header-anim .vs-header {
		transition: translate 280ms var(--vs-ease-out);
	}

	.vs-header-anim.vs-header-hidden .vs-header {
		transition: translate 240ms var(--vs-ease-in);
	}
}

/* visitsyria-consent: assets/css/consent.css */
/*
 * Consent banner for optional third-party tools (committee P0-5; parts/measure/consent.php). Loaded only while a
 * tool works on the site. With two categories (2026-11-20) one unticked choice each and three answers. A bar at the bottom of the viewport, above the content but not covering it entirely; the two
 * answers have the same style and size (declining is as easy as accepting).
 */

.vs-consent {
	position: fixed;
	inset-inline: 0;
	bottom: 0;
	z-index: 1000;
	padding: 16px 0 calc(16px + env(safe-area-inset-bottom, 0px));
	background: var(--vs-surface);
	box-shadow: 0 -4px 24px rgb(0 0 0 / 12%);
	color: var(--vs-dark-text);
	font-family: var(--wp--preset--font-family--tajawal);
	/* Never taller than the screen, whatever the text size or orientation: it scrolls inside (review FX21-FE-3). */
	max-height: 85vh;
	max-height: 85dvh;
	overflow-y: auto;
	overscroll-behavior: contain;
}

.vs-consent[hidden] {
	display: none;
}

.vs-consent__box {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 12px 24px;
}

.vs-consent__body {
	flex: 1 1 420px;
}

.vs-consent__title {
	margin: 0 0 4px;
	font-size: 16px;
	font-weight: 700;
	line-height: 1.5;
}

.vs-consent__text,
.vs-consent__staff {
	margin: 0;
	color: var(--vs-secondary-text);
	font-size: 14px;
	line-height: 1.7;
}

.vs-consent__text a {
	color: var(--vs-primary);
}

.vs-consent__staff {
	margin-top: 4px;
	font-size: 13px;
}

.vs-consent__actions {
	display: flex;
	gap: 12px;
}

.vs-consent__choice {
	min-width: 120px;
}

.vs-consent:focus-visible {
	outline: 2px solid var(--vs-primary);
	outline-offset: -2px;
}

.vs-consent__current {
	margin: 4px 0 0;
	color: var(--vs-dark-text);
	font-size: 14px;
	font-weight: 700;
}

.vs-consent__cats {
	display: grid;
	gap: 8px;
	margin: 8px 0 0;
	padding: 0;
	border: 0;
}

.vs-consent__cat {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-start;
	gap: 0 10px;
	color: var(--vs-secondary-text);
	font-size: 14px;
	line-height: 1.7;
}

.vs-consent__cat label {
	color: var(--vs-dark-text);
	cursor: pointer;
}

.vs-consent__why {
	flex: 1 1 200px;
}

.vs-consent__details {
	margin: 8px 0 0;
	color: var(--vs-secondary-text);
	font-size: 13px;
	line-height: 1.7;
}

.vs-consent__details summary {
	color: var(--vs-primary);
	font-size: 14px;
	cursor: pointer;
}

.vs-consent__details summary:focus-visible {
	outline: 2px solid var(--vs-primary);
	outline-offset: 2px;
}

.vs-consent__details p {
	margin: 4px 0 0;
}

.vs-consent__check {
	flex: none;
	width: 20px;
	height: 20px;
	margin: 3px 0 0;
	accent-color: var(--vs-primary);
}

.vs-consent__check:focus-visible {
	outline: 2px solid var(--vs-primary);
	outline-offset: 2px;
}

/* While the banner is open the page reserves its height (measure.js sets --vs-consent-h), so it never hides the
   focused element or the end of the page (review FE-1, FE-2), and the save toast rises above it. */
html.vs-consent-open {
	scroll-padding-bottom: calc(var(--vs-consent-h, 0px) + 8px);
}

html.vs-consent-open body {
	padding-bottom: var(--vs-consent-h, 0px);
}

html.vs-consent-open .vs-saves-toast {
	inset-block-end: calc(16px + var(--vs-consent-h, 0px));
	z-index: 1001;
}

/* «خيارات التحليلات» or «خيارات الخصوصية»: one of the footer legal links, same size, colour and 36 px row (FE-8). */
.vs-footer__legal .vs-footer__consent {
	display: inline-block;
	padding: 6px 0;
	border: 0;
	background: none;
	color: var(--vs-primary);
	font: inherit;
	font-size: 14px;
	line-height: 24px;
	cursor: pointer;
	transition: color var(--vs-dur-fast, 180ms) ease;
}

@media (hover: hover) {
	.vs-footer__legal .vs-footer__consent:hover {
		color: var(--wp--custom--gold-text);
		text-decoration: underline;
		text-underline-offset: 6px;
	}
}

.vs-footer__legal .vs-footer__consent:focus-visible {
	outline: 2px solid currentcolor;
	outline-offset: 2px;
}

@media (max-width: 767px) {
	.vs-consent__actions {
		flex-wrap: wrap;
		width: 100%;
	}

	/* Three answers: one per row, all the same size (review FX21-FE-6). */
	.vs-consent--cats .vs-consent__actions {
		flex-direction: column;
		gap: 8px;
	}

	.vs-consent--cats .vs-consent__choice {
		flex: none;
		width: 100%;
	}

	.vs-consent__choice {
		flex: 1 1 0;
	}
}

