/* =========================================================================
 * BSN App — components (Playfair Display + Poppins, navy + amber, soft glass)
 * Layout chrome lives in layout.css, motion in motion.css.
 * ========================================================================= */

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); max-width: 100%; overflow-x: clip; }
body {
	margin: 0;
	min-height: 100vh;
	min-height: 100dvh;
	max-width: 100%;
	overflow-x: clip;
	background: var(--warm-white);
	color: var(--charcoal);
	font-family: var(--font-sans);
	font-size: var(--fs-15);
	line-height: var(--lh-body);
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	-webkit-tap-highlight-color: transparent;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--slate-500); text-decoration: none; }
a:hover { color: var(--navy-700); }
h1, h2, h3, h4 { margin: 0; color: var(--navy-900); line-height: var(--lh-tight); letter-spacing: var(--tracking-tight); font-weight: 600; overflow-wrap: anywhere; }
p { margin: 0 0 var(--s-4); }
p:last-child { margin-bottom: 0; }
button { font: inherit; color: inherit; }
[hidden] { display: none !important; }
:focus { outline: none; }
:focus-visible { outline: none; box-shadow: var(--focus); border-radius: var(--r-sm); }
::selection { background: var(--gold-soft); color: var(--navy-900); }

.icon { width: 20px; height: 20px; flex: none; stroke: currentColor; fill: none; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.icon--sm { width: 16px; height: 16px; }
.icon--lg { width: 24px; height: 24px; }

.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 12px; top: -100px; z-index: 100; padding: 10px 16px; background: var(--navy-700); color: var(--white); border-radius: var(--r-md); }
.skip-link:focus { top: 12px; }

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }
.wrap--auth { max-width: 470px; }
.wrap--mid { max-width: 1040px; }
.wrap--wide { max-width: 1180px; }
.wrap > *, .stack > * { min-width: 0; }

.display, .display-title { font-family: var(--font-display); font-weight: 700; letter-spacing: -0.01em; line-height: 1.1; }
.display-title { font-size: clamp(1.7rem, 3vw, 2.3rem); color: var(--navy-900); }
.eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-size: var(--fs-12);
	font-weight: 600;
	letter-spacing: var(--tracking-caps);
	text-transform: uppercase;
	color: var(--gold-deep);
}
.eyebrow::before { content: ""; width: 18px; height: 2px; border-radius: 1px; background: var(--gold); }

/* ---------- Buttons ---------- */
.btn {
	--btn-bg: var(--white);
	--btn-fg: var(--navy-700);
	--btn-border: var(--border-strong);
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: 48px;
	padding: 0 22px;
	border-radius: var(--r-pill);
	border: 1px solid var(--btn-border);
	background: var(--btn-bg);
	color: var(--btn-fg);
	font-size: var(--fs-15);
	font-weight: 600;
	line-height: 1;
	text-decoration: none;
	cursor: pointer;
	user-select: none;
	white-space: nowrap;
	transition: transform var(--t-fast) var(--ease), background var(--t-fast) var(--ease), box-shadow var(--t) var(--ease), border-color var(--t-fast) var(--ease), color var(--t-fast) var(--ease);
}
.btn:hover { color: var(--btn-fg); border-color: var(--slate-300); }
.btn:active { transform: translateY(1px) scale(0.99); }
.btn:focus-visible { box-shadow: var(--focus); border-radius: var(--r-pill); }
.btn[disabled], .btn[aria-disabled="true"] { opacity: 0.55; cursor: not-allowed; transform: none; }
.btn--primary {
	--btn-bg: var(--navy-800);
	--btn-fg: var(--white);
	--btn-border: var(--navy-800);
	background: linear-gradient(180deg, var(--navy-700), var(--navy-900));
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12), 0 8px 20px -10px rgba(11, 34, 57, 0.7);
}
.btn--primary:hover { --btn-fg: var(--white); background: linear-gradient(180deg, var(--navy-600), var(--navy-800)); border-color: var(--navy-900); }
.btn--gold { --btn-bg: var(--gold); --btn-fg: var(--navy-950); --btn-border: var(--gold); box-shadow: var(--shadow-gold); }
.btn--gold:hover { --btn-fg: var(--navy-950); background: var(--gold-deep); border-color: var(--gold-deep); }
.btn--wa { --btn-bg: var(--whatsapp); --btn-fg: var(--white); --btn-border: var(--whatsapp); }
.btn--wa:hover { --btn-fg: var(--white); background: #178a45; }
.btn--outline { --btn-bg: transparent; --btn-border: var(--border-strong); }
.btn--ghost { --btn-bg: transparent; --btn-border: transparent; }
.btn--ghost:hover { background: rgba(11, 34, 57, 0.05); border-color: transparent; }
.btn--dashed { --btn-bg: transparent; border-style: dashed; }
.btn--save[aria-pressed="true"] { --btn-fg: var(--gold-ink); --btn-border: var(--gold); background: var(--gold-soft); }
.btn--primary.btn--save[aria-pressed="true"] { --btn-fg: var(--navy-950); background: var(--gold); border-color: var(--gold); }
.btn--save[aria-pressed="true"] .icon { fill: currentColor; }
.btn--block { width: 100%; }
.btn--sm { min-height: 40px; padding: 0 16px; font-size: var(--fs-14); }
.btn--lg { min-height: 54px; font-size: var(--fs-16); }
.btn .spinner { display: none; }
.btn.is-loading { color: transparent !important; pointer-events: none; }
.btn.is-loading .spinner { display: block; position: absolute; inset: 0; margin: auto; width: 18px; height: 18px; border-radius: 50%; border: 2px solid var(--white); border-color: var(--white) var(--white) transparent transparent; animation: spin 0.7s linear infinite; }
.btn:not(.btn--primary).is-loading .spinner { border-color: var(--navy-700) var(--navy-700) transparent transparent; }
@keyframes spin { to { transform: rotate(360deg); } }
.link-btn { padding: 0; border: 0; background: none; color: var(--gold-deep); font-weight: 600; cursor: pointer; }
.link-btn:hover { color: var(--navy-700); }

.icon-btn {
	display: inline-grid;
	place-items: center;
	width: 44px;
	height: 44px;
	flex: none;
	border-radius: var(--r-pill);
	border: 0;
	background: transparent;
	color: var(--navy-800);
	cursor: pointer;
	text-decoration: none;
	transition: background var(--t-fast) var(--ease);
}
.icon-btn:hover { background: rgba(11, 34, 57, 0.06); color: var(--navy-800); }
.glass-btn {
	display: inline-grid;
	place-items: center;
	width: 42px;
	height: 42px;
	border-radius: 50%;
	border: 1px solid rgba(255, 255, 255, 0.55);
	background: rgba(255, 255, 255, 0.78);
	-webkit-backdrop-filter: saturate(170%) blur(14px);
	backdrop-filter: saturate(170%) blur(14px);
	color: var(--navy-900);
	box-shadow: 0 6px 18px -8px rgba(0, 0, 0, 0.4);
	cursor: pointer;
}

/* ---------- Forms ---------- */
.field { position: relative; display: grid; grid-template-columns: minmax(0, 1fr); gap: 6px; margin-bottom: var(--s-4); }
.field__label { font-size: var(--fs-14); font-weight: 600; color: var(--navy-900); }
.field__label .opt { font-weight: 400; color: var(--ink-500); }
.field__hint { font-size: var(--fs-13); color: var(--ink-500); }
.field__error { font-size: var(--fs-13); font-weight: 500; color: var(--danger); }
.field__error:empty { display: none; }
.field__count { justify-self: end; margin-top: -2px; font-size: var(--fs-12); color: var(--ink-400); font-variant-numeric: tabular-nums; }

.input, .select, .textarea {
	width: 100%;
	min-width: 0;
	min-height: 52px;
	padding: 13px 16px;
	border-radius: var(--r-md);
	border: 1px solid var(--border);
	background: var(--white);
	color: var(--charcoal);
	font: inherit;
	font-size: var(--fs-16); /* 16px prevents iOS zoom */
	box-shadow: 0 1px 2px rgba(11, 34, 57, 0.03);
	transition: border-color var(--t-fast) var(--ease), box-shadow var(--t) var(--ease);
	-webkit-appearance: none;
	appearance: none;
}
.input::placeholder, .textarea::placeholder { color: var(--ink-400); }
.input:hover, .select:hover, .textarea:hover { border-color: var(--border-strong); }
.input:focus, .select:focus, .textarea:focus { border-color: var(--slate-500); box-shadow: var(--focus); }
.input[aria-invalid="true"], .select[aria-invalid="true"], .textarea[aria-invalid="true"] { border-color: var(--danger); }
.textarea { min-height: 140px; resize: vertical; line-height: var(--lh-body); }
.select {
	padding-right: 42px;
	text-overflow: ellipsis;
	white-space: nowrap;
	overflow: hidden;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%23163a5f' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 14px center;
	cursor: pointer;
}
.input--readonly { display: flex; align-items: center; background: var(--slate-50); color: var(--ink-600); overflow-wrap: anywhere; }

.input-group {
	display: flex;
	align-items: stretch;
	min-width: 0;
	border-radius: var(--r-md);
	border: 1px solid var(--border);
	background: var(--white);
	box-shadow: 0 1px 2px rgba(11, 34, 57, 0.03);
	transition: border-color var(--t-fast) var(--ease), box-shadow var(--t) var(--ease);
}
.input-group:focus-within { border-color: var(--slate-500); box-shadow: var(--focus); }
.input-group.is-invalid { border-color: var(--danger); }
.input-group__addon { display: flex; align-items: center; gap: 8px; padding: 0 4px 0 16px; color: var(--navy-700); font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; }
.input-group__addon .icon { color: var(--ink-500); }
.input-group .input { border: 0; box-shadow: none; background: transparent; }
.input-group .input:focus { box-shadow: none; }
.input-group__btn { display: grid; place-items: center; width: 48px; flex: none; border: 0; background: none; color: var(--ink-500); cursor: pointer; border-radius: var(--r-md); }
.input-group__btn:hover { color: var(--navy-700); }
.input--pin { letter-spacing: 0.3em; font-variant-numeric: tabular-nums; }
.input--pin::placeholder { letter-spacing: 0; }

/* Icon-led rows (registration, like the mockup) */
.field-stack { display: grid; gap: 10px; }
.field--row {
	grid-template-columns: 44px minmax(0, 1fr);
	align-items: center;
	gap: 0;
	margin: 0;
	padding: 6px 12px 6px 6px;
	border-radius: var(--r-md);
	border: 1px solid var(--border);
	background: var(--white);
	transition: border-color var(--t-fast) var(--ease), box-shadow var(--t) var(--ease);
}
.field--row:focus-within { border-color: var(--slate-500); box-shadow: var(--focus); }
.field--row .field__icon { display: grid; place-items: center; color: var(--navy-700); }
.field--row .field__main { display: grid; min-width: 0; padding: 4px 0; }
.field--row .field__label { font-size: var(--fs-13); }
.input--bare, .select--bare { min-height: 30px; padding: 2px 0; border: 0; box-shadow: none !important; background-color: transparent; border-radius: 0; font-size: var(--fs-15); }
.select--bare { background-position: right 0 center; padding-right: 28px; }
.input-inline { display: flex; align-items: center; }
.input-inline .input-group__btn { width: 40px; height: 32px; }
.field--row .field__hint, .field--row .field__error { font-size: var(--fs-12); }

.check { display: inline-flex; gap: 10px; align-items: center; font-size: var(--fs-14); color: var(--ink-600); cursor: pointer; }
.check input { width: 20px; height: 20px; margin: 0; accent-color: var(--navy-800); }
.switch-row { display: flex; align-items: center; justify-content: space-between; gap: var(--s-4); font-weight: 500; color: var(--navy-900); cursor: pointer; }
.switch { position: relative; width: 50px; height: 30px; flex: none; margin: 0; border-radius: 15px; background: var(--border-strong); -webkit-appearance: none; appearance: none; cursor: pointer; transition: background var(--t) var(--ease); }
.switch::after { content: ""; position: absolute; top: 3px; left: 3px; width: 24px; height: 24px; border-radius: 50%; background: var(--white); box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2); transition: transform var(--t) var(--ease-spring); }
.switch:checked { background: var(--gold); }
.switch:checked::after { transform: translateX(20px); }

.form-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0 var(--s-4); }
@media (min-width: 640px) { .form-grid--2 { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } .form-grid .span-2 { grid-column: 1 / -1; } }
.form-section { padding: var(--s-6); border-radius: var(--r-xl); background: var(--white); border: 1px solid var(--border); box-shadow: var(--shadow-1); margin-bottom: var(--s-5); }
.form-section__title { display: flex; align-items: center; gap: 10px; margin-bottom: var(--s-5); font-size: var(--fs-16); }
.form-section__title .step { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--gold-soft); color: var(--gold-ink); font-size: var(--fs-13); font-weight: 700; }
.form-message { margin-bottom: var(--s-4); }
.form-message:empty { display: none; }
.hp-field { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.subhead { margin: var(--s-5) 0 var(--s-3); font-size: var(--fs-15); }

/* ---------- Search bar (mockup: white field + navy round button) ---------- */
.searchbar {
	display: flex;
	align-items: center;
	gap: 10px;
	min-height: 54px;
	padding: 5px 5px 5px 18px;
	border-radius: var(--r-pill);
	background: var(--white);
	border: 1px solid var(--border);
	box-shadow: var(--shadow-2);
	color: var(--ink-400);
	transition: border-color var(--t) var(--ease), box-shadow var(--t) var(--ease);
}
.searchbar:focus-within { border-color: var(--slate-300); box-shadow: var(--shadow-2), var(--focus); }
.searchbar input { flex: 1; min-width: 0; height: 44px; border: 0; background: transparent; color: var(--charcoal); font: inherit; font-size: var(--fs-16); }
.searchbar input::placeholder { color: var(--ink-400); }
.searchbar input:focus { box-shadow: none; }
.searchbar__go { display: grid; place-items: center; width: 44px; height: 44px; flex: none; border: 0; border-radius: 50%; background: var(--navy-800); color: var(--white); cursor: pointer; box-shadow: 0 6px 14px -6px rgba(11, 34, 57, 0.7); transition: transform var(--t-fast) var(--ease); }
.searchbar__go:active { transform: scale(0.94); }
.mini-search { display: flex; align-items: center; gap: 8px; height: 42px; padding: 0 14px; border-radius: var(--r-pill); background: var(--white); border: 1px solid var(--border); color: var(--ink-400); }
.mini-search input { flex: 1; min-width: 0; border: 0; background: none; font: inherit; font-size: var(--fs-15); color: var(--charcoal); }
.mini-search input:focus { box-shadow: none; }

/* ---------- Chips ---------- */
.chip-row { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; padding: 2px 0; }
.chip-row::-webkit-scrollbar { display: none; }
.chip {
	flex: none;
	display: inline-flex;
	align-items: center;
	gap: 6px;
	height: 38px;
	padding: 0 14px;
	border-radius: var(--r-pill);
	border: 1px solid var(--border);
	background: var(--white);
	color: var(--navy-800);
	font-size: var(--fs-14);
	font-weight: 500;
	white-space: nowrap;
	cursor: pointer;
	transition: border-color var(--t-fast) var(--ease), background var(--t-fast) var(--ease), color var(--t-fast) var(--ease);
}
.chip:hover { border-color: var(--slate-300); color: var(--navy-800); }
.chip .count { color: var(--ink-400); font-weight: 400; }
.chip.is-active, .chip[aria-pressed="true"] { background: var(--navy-800); border-color: var(--navy-800); color: var(--white); }
.chip.is-active .count { color: rgba(255, 255, 255, 0.7); }
.chip--verified .icon { color: var(--gold); }
.chip--verified[aria-pressed="true"] .icon { color: var(--gold); fill: rgba(242, 168, 29, 0.25); }
.link-chips { display: flex; flex-wrap: wrap; gap: 8px; }

/* ---------- Verified badge ---------- */
.vbadge { display: inline-flex; vertical-align: -2px; color: var(--gold); }
.vbadge .icon { fill: var(--gold); stroke: var(--white); stroke-width: 1.6; }
.vbadge--lg .icon { width: 22px; height: 22px; }

/* ---------- Category tiles (mockup: icon in soft gold square + label) ---------- */
.cat-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px 8px; }
.cat-tile { display: grid; justify-items: center; gap: 8px; color: var(--navy-900); text-align: center; text-decoration: none; }
.cat-tile__icon {
	display: grid;
	place-items: center;
	width: 58px;
	height: 58px;
	border-radius: 16px;
	background: linear-gradient(160deg, #fff8e7, var(--gold-soft));
	border: 1px solid rgba(242, 168, 29, 0.25);
	color: var(--gold-deep);
	box-shadow: 0 6px 14px -10px rgba(217, 142, 7, 0.6);
	transition: transform var(--t) var(--ease-spring), box-shadow var(--t) var(--ease);
}
.cat-tile__icon .icon { width: 26px; height: 26px; stroke-width: 1.6; }
.cat-tile:hover .cat-tile__icon { transform: translateY(-3px); box-shadow: 0 10px 20px -10px rgba(217, 142, 7, 0.7); }
.cat-tile__name { max-width: 100%; font-size: var(--fs-12); font-weight: 500; line-height: 1.25; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
@media (min-width: 1024px) { .cat-grid { grid-template-columns: repeat(8, minmax(0, 1fr)); } }

/* ---------- Business cards ---------- */
.bgrid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; }
.bcard {
	position: relative;
	display: grid;
	grid-template-columns: 84px minmax(0, 1fr) auto;
	align-items: center;
	gap: 14px;
	padding: 10px;
	border-radius: var(--r-lg);
	background: var(--white);
	border: 1px solid var(--border);
	box-shadow: var(--shadow-1);
	transition: transform var(--t) var(--ease), box-shadow var(--t) var(--ease), border-color var(--t) var(--ease);
}
.bcard:hover { transform: translateY(-2px); box-shadow: var(--shadow-3); border-color: #e2ded4; }
.bcard__media { position: relative; display: block; width: 84px; height: 84px; border-radius: 12px; overflow: hidden; background: var(--slate-50); }
.bcard__media img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--t-slow) var(--ease); }
.bcard:hover .bcard__media img { transform: scale(1.04); }
.bcard__fallback {
	position: relative;
	display: grid;
	place-items: center;
	width: 100%;
	height: 100%;
	background:
		url("../img/kerala-art.svg") center 120% / 220% auto no-repeat,
		linear-gradient(150deg, var(--navy-700), var(--navy-950));
}
.bcard__fallback .monogram { background: none; font-size: 26px; }
.bcard__fallback .monogram::after { display: none; }
.bcard__body { min-width: 0; display: grid; gap: 4px; }
.bcard__title { font-family: var(--font-sans); font-size: var(--fs-15); font-weight: 600; line-height: 1.3; letter-spacing: 0; }
.bcard__link { color: var(--navy-900); }
.bcard__link::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.bcard__link:focus-visible { box-shadow: none; }
.bcard__link:focus-visible::after { box-shadow: var(--focus); }
.bcard__meta { display: flex; align-items: center; gap: 6px; min-width: 0; margin: 0; font-size: var(--fs-13); color: var(--ink-500); }
.bcard__meta span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bcard__meta .icon { color: var(--gold); }
.bcard__save { position: relative; z-index: 2; align-self: center; }
@media (min-width: 640px) { .bgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; } }
@media (min-width: 1024px) {
	.bgrid { grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 18px; }
	.bcard { grid-template-columns: minmax(0, 1fr); align-items: stretch; gap: 0; padding: 0; overflow: hidden; }
	.bcard__media { width: 100%; height: auto; aspect-ratio: 16 / 11; border-radius: 0; }
	.bcard__body { padding: 14px 16px 16px; }
	.bcard__save { position: absolute; top: 10px; right: 10px; background: rgba(255, 255, 255, 0.94); }
}

/* Feature cards (horizontal rows) */
.hscroll { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(200px, 62%); gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 2px 2px 10px; margin: 0 calc(-1 * var(--gutter)); padding-left: var(--gutter); padding-right: var(--gutter); scroll-padding: 0 var(--gutter); }
.hscroll::-webkit-scrollbar { display: none; }
.fcard { scroll-snap-align: start; display: grid; border-radius: var(--r-lg); overflow: hidden; background: var(--white); border: 1px solid var(--border); box-shadow: var(--shadow-1); color: inherit; transition: transform var(--t) var(--ease), box-shadow var(--t) var(--ease); }
.fcard:hover { transform: translateY(-2px); box-shadow: var(--shadow-3); color: inherit; }
.fcard__media { display: block; aspect-ratio: 16 / 10; background: var(--slate-50); overflow: hidden; }
.fcard__media img { width: 100%; height: 100%; object-fit: cover; }
.fcard__body { display: grid; gap: 3px; padding: 12px 14px 14px; min-width: 0; }
.fcard__title { font-size: var(--fs-14); font-weight: 600; color: var(--navy-900); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fcard__meta { display: flex; align-items: center; gap: 4px; font-size: var(--fs-12); color: var(--ink-500); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fcard__meta--loc .icon { color: var(--gold); }
@media (min-width: 1024px) { .hscroll { grid-auto-columns: minmax(220px, 1fr); grid-auto-flow: column; margin: 0; padding: 2px 2px 12px; } }

/* Logo tile + monogram */
.logo-tile { position: relative; flex: none; width: 60px; height: 60px; border-radius: 14px; overflow: hidden; background: var(--slate-50); box-shadow: 0 0 0 1px rgba(11, 34, 57, 0.06); }
.logo-tile img { width: 100%; height: 100%; object-fit: cover; }
.monogram {
	display: grid;
	place-items: center;
	width: 100%;
	height: 100%;
	background: radial-gradient(120% 90% at 20% 0%, rgba(255, 255, 255, 0.16), transparent 55%), linear-gradient(150deg, var(--navy-700), var(--navy-950));
	color: var(--gold);
	font-family: var(--font-display);
	font-weight: 700;
	font-size: 24px;
	letter-spacing: 0.02em;
}
.logo-tile .monogram::after { content: ""; position: absolute; inset: 5px; border-radius: 10px; border: 1px solid rgba(242, 168, 29, 0.35); pointer-events: none; }
.logo-tile--lg { width: 104px; height: 104px; border-radius: 24px; }
.logo-tile--lg .monogram { font-size: 40px; }
.logo-tile--lg .monogram::after { inset: 7px; border-radius: 18px; }

/* Save (heart) */
.save-btn { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; border: 0; background: transparent; color: var(--ink-400); cursor: pointer; transition: color var(--t-fast) var(--ease), background var(--t-fast) var(--ease), transform var(--t) var(--ease-spring); }
.save-btn:hover { background: var(--slate-50); color: var(--navy-700); }
.save-btn[aria-pressed="true"] { color: var(--gold); }
.save-btn[aria-pressed="true"] .icon { fill: currentColor; }
.save-btn:active { transform: scale(0.85); }

/* Skeletons */
.skeleton-card { pointer-events: none; }
.sk-block, .sk-line { background: linear-gradient(90deg, #efede7 0%, #f7f6f2 40%, #efede7 80%); background-size: 200% 100%; animation: shimmer 1.3s ease-in-out infinite; }
.sk-line { height: 12px; border-radius: 6px; margin-top: 8px; }
.sk-line:first-child { margin-top: 2px; height: 15px; width: 72%; }
.sk-line.w-50 { width: 50%; }
@keyframes shimmer { to { background-position: -200% 0; } }

/* ---------- Panels, sections, states ---------- */
.panel { padding: var(--s-5); border-radius: var(--r-xl); background: var(--white); border: 1px solid var(--border); box-shadow: var(--shadow-1); }
.panel__title { margin-bottom: var(--s-3); font-family: var(--font-sans); font-size: var(--fs-16); font-weight: 600; letter-spacing: 0; }
.section { padding-top: var(--s-6); }
.section__head { display: flex; align-items: center; justify-content: space-between; gap: var(--s-4); margin-bottom: var(--s-3); }
.section__head h2 { font-family: var(--font-sans); font-size: var(--fs-18); font-weight: 600; letter-spacing: 0; }
.section__head a { font-size: var(--fs-14); font-weight: 600; color: var(--navy-700); white-space: nowrap; }
.state { display: grid; justify-items: center; grid-template-columns: minmax(0, 1fr); gap: var(--s-3); padding: var(--s-10) var(--s-5); text-align: center; border-radius: var(--r-xl); border: 1px dashed var(--border-strong); background: rgba(255, 255, 255, 0.6); }
.state--inline { padding: var(--s-6) var(--s-4); }
.state__icon { display: grid; place-items: center; width: 58px; height: 58px; border-radius: 18px; background: var(--gold-soft); color: var(--gold-deep); }
.state__icon .icon { width: 26px; height: 26px; }
.state h2, .state h3 { font-size: var(--fs-18); font-family: var(--font-sans); letter-spacing: 0; }
.state p { max-width: 42ch; color: var(--ink-600); }
.state .actions { display: flex; gap: var(--s-2); flex-wrap: wrap; justify-content: center; }

.note { display: flex; gap: 10px; padding: 12px 14px; margin-bottom: var(--s-4); border-radius: var(--r-md); background: var(--slate-50); border: 1px solid var(--slate-100); color: var(--ink-600); font-size: var(--fs-14); }
.note .icon { color: var(--slate-500); margin-top: 2px; }
.note--warn { background: var(--warn-soft); border-color: #f1e2b3; color: #5f4500; }
.note--warn .icon { color: var(--warn); }
.note--ok { background: var(--ok-soft); border-color: #cbe8da; color: #134e36; }
.note--ok .icon { color: var(--ok); }
.note--danger { background: var(--danger-soft); border-color: #f6c9c4; color: #7a1a12; }
.note--danger .icon { color: var(--danger); }

.status-pill { display: inline-flex; align-items: center; gap: 6px; height: 24px; padding: 0 10px; border-radius: var(--r-pill); font-size: var(--fs-12); font-weight: 600; white-space: nowrap; }
.status-pill::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.status-pill--ok { background: var(--ok-soft); color: var(--ok); }
.status-pill--warn { background: var(--warn-soft); color: var(--warn); }
.status-pill--muted { background: var(--slate-50); color: var(--ink-500); }
.status-pill--danger { background: var(--danger-soft); color: var(--danger); }
.meter { height: 6px; border-radius: 3px; background: var(--slate-100); overflow: hidden; margin-top: 10px; }
.meter span { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--gold), var(--gold-deep)); }

.pagination { display: flex; align-items: center; justify-content: center; gap: 6px; margin-top: var(--s-8); }
.pagination a, .pagination span { display: inline-grid; place-items: center; min-width: 44px; height: 44px; padding: 0 12px; border-radius: var(--r-pill); border: 1px solid var(--border); background: var(--white); color: var(--navy-800); font-weight: 600; }
.pagination [aria-current="page"] { background: var(--navy-800); border-color: var(--navy-800); color: var(--white); }
.pagination .is-disabled { opacity: 0.4; pointer-events: none; }

/* List groups (settings) */
.list-group { border-radius: var(--r-xl); background: var(--white); border: 1px solid var(--border); box-shadow: var(--shadow-1); overflow: hidden; }
.list-group__title { padding: var(--s-5) var(--s-5) var(--s-2); font-size: var(--fs-12); font-weight: 600; letter-spacing: var(--tracking-caps); text-transform: uppercase; color: var(--ink-500); }
.list-item { display: flex; align-items: center; gap: 14px; min-height: 60px; padding: 12px var(--s-5); color: var(--charcoal); border-top: 1px solid var(--border); transition: background var(--t-fast) var(--ease); }
.list-item:first-child { border-top: 0; }
a.list-item:hover, button.list-item:hover { background: var(--warm-white); color: var(--charcoal); }
button.list-item { width: 100%; border-left: 0; border-right: 0; border-bottom: 0; background: none; text-align: left; cursor: pointer; font: inherit; }
.list-item__icon { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 12px; background: var(--slate-50); color: var(--navy-700); flex: none; }
.list-item__body { flex: 1; min-width: 0; display: grid; }
.list-item__title { font-weight: 500; font-size: var(--fs-15); }
.list-item__sub { font-size: var(--fs-13); color: var(--ink-500); }
.chev { color: var(--ink-400); }

/* ---------- Utilities ---------- */
.stack > * + * { margin-top: var(--s-4); }
.stack-sm > * + * { margin-top: var(--s-2); }
.row { display: flex; gap: var(--s-3); align-items: center; flex-wrap: wrap; }
.muted { color: var(--ink-500); }
.small { font-size: var(--fs-13); }
.center { text-align: center; }
.mt-2 { margin-top: var(--s-2); }
.mt-4 { margin-top: var(--s-4); }
.mt-6 { margin-top: var(--s-6); }
.mb-0 { margin-bottom: 0; }
.nowrap { white-space: nowrap; }
@media (max-width: 1023px) { .only-desktop { display: none !important; } }
@media (min-width: 1024px) { .only-mobile, .only-mobile-flex { display: none !important; } }
.only-mobile-flex { display: flex; }
.image-uploader { display: flex; gap: var(--s-4); align-items: center; }
.image-uploader input[type="file"], .logo-card input[type="file"] { position: absolute; width: 1px; height: 1px; opacity: 0; }

/* ---------- Preserved components ---------- */
/* ---------- PIN field ---------- */
.pin {
	position: relative;
	display: grid;
	grid-template-columns: repeat(6, minmax(0, 1fr));
	gap: clamp(5px, 2vw, 8px);
	max-width: 360px;
}
.pin__cell {
	display: grid;
	place-items: center;
	aspect-ratio: 0.86;
	min-width: 0;
	min-height: 0;
	border-radius: var(--r-md);
	border: 1px solid var(--border-strong);
	background: var(--white);
	box-shadow: inset 0 1px 1px rgba(7, 24, 39, 0.03);
	font-size: clamp(18px, 5.5vw, 24px);
	font-weight: 600;
	font-variant-numeric: tabular-nums;
	color: var(--navy-900);
	transition: border-color var(--t-fast) var(--ease), box-shadow var(--t) var(--ease), transform var(--t-fast) var(--ease);
}
.pin__cell.is-filled { border-color: var(--slate-300); }
.pin__cell.is-active { border-color: var(--slate-500); box-shadow: var(--focus); }
.pin__cell .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--navy-700); }
.pin__cell.is-active:not(.is-filled)::after {
	content: "";
	width: 2px;
	height: 24px;
	background: var(--slate-500);
	animation: caret 1s steps(1) infinite;
}
@keyframes caret { 50% { opacity: 0; } }
.pin__input {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	opacity: 0;
	border: 0;
	padding: 0;
	font-size: 16px;
	color: transparent;
	background: transparent;
	caret-color: transparent;
	cursor: text;
	letter-spacing: 2em;
}
.pin.is-invalid .pin__cell { border-color: var(--danger); }
.pin.is-shake { animation: shake 0.36s var(--ease); }
@keyframes shake {
	20% { transform: translateX(-6px); }
	40% { transform: translateX(6px); }
	60% { transform: translateX(-3px); }
	80% { transform: translateX(3px); }
}
.pin-toggle { margin-top: 10px; display: inline-flex; align-items: center; gap: 6px; font-size: var(--fs-14); }

/* ---------- Feedback: toast ---------- */
.toast-region {
	position: fixed;
	left: 0;
	right: 0;
	bottom: calc(var(--bottom-nav-h) + var(--safe-bottom) + 22px);
	z-index: 80;
	display: grid;
	justify-items: center;
	gap: 8px;
	padding: 0 16px;
	pointer-events: none;
}
@media (min-width: 960px) { .toast-region { bottom: 28px; } }
.toast {
	display: flex;
	align-items: center;
	gap: 10px;
	max-width: 520px;
	padding: 12px 16px;
	border-radius: var(--r-md);
	background: rgba(7, 24, 39, 0.92);
	-webkit-backdrop-filter: blur(12px);
	backdrop-filter: blur(12px);
	color: var(--white);
	font-size: var(--fs-14);
	font-weight: 500;
	box-shadow: var(--shadow-float);
	pointer-events: auto;
	animation: toast-in var(--t-slow) var(--ease-spring);
}
.toast .icon { color: var(--gold); }
.toast--error .icon { color: #ff9b91; }
.toast button { margin-left: 6px; color: var(--gold); background: none; border: 0; font-weight: 650; cursor: pointer; padding: 4px; }
@keyframes toast-in { from { opacity: 0; transform: translateY(10px) scale(0.98); } to { opacity: 1; transform: none; } }

.offline-banner {
	position: sticky;
	top: var(--header-h);
	z-index: 30;
	display: flex;
	justify-content: center;
	gap: 8px;
	padding: 8px 16px;
	background: var(--warn-soft);
	color: #5f4500;
	font-size: var(--fs-13);
	font-weight: 600;
	border-bottom: 1px solid #f1e2b3;
}

/* ---------- Modal / sheet ---------- */
.sheet {
	position: fixed;
	inset: 0;
	z-index: 90;
	display: grid;
	align-items: end;
	justify-items: center;
	background: rgba(7, 24, 39, 0.5);
	animation: fade-in var(--t) var(--ease);
}
@media (min-width: 640px) { .sheet { align-items: center; } }
.sheet__panel {
	width: 100%;
	max-width: 420px;
	max-height: 92dvh;
	overflow: auto;
	padding: var(--s-6);
	padding-bottom: calc(var(--s-6) + var(--safe-bottom));
	border-radius: var(--r-xl) var(--r-xl) 0 0;
	background: var(--white);
	box-shadow: var(--shadow-float);
	animation: sheet-in var(--t-slow) var(--ease-spring);
}
@media (min-width: 640px) { .sheet__panel { border-radius: var(--r-xl); padding-bottom: var(--s-6); } }
.sheet__panel--wide { max-width: 860px; padding: var(--s-3); }
.sheet__head { display: flex; justify-content: space-between; align-items: center; margin-bottom: var(--s-4); }
.sheet__head h2 { font-size: var(--fs-18); }
.qr-box { display: grid; place-items: center; padding: var(--s-5); border-radius: var(--r-lg); background: var(--warm-white); border: 1px solid var(--border); }
.qr-box img, .qr-box svg { width: 220px; height: 220px; image-rendering: pixelated; }
@keyframes fade-in { from { opacity: 0; } }
@keyframes sheet-in { from { transform: translateY(24px); opacity: 0.6; } }

/* ---------- Install the app ---------- */
.install-banner {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 12px 12px 12px 14px;
	border-radius: var(--r-lg);
	background: var(--white);
	border: 1px solid rgba(201, 162, 39, 0.38);
	box-shadow: var(--shadow-2);
}
.install-banner img { flex: none; width: 44px; height: 44px; border-radius: 12px; box-shadow: 0 0 0 1px rgba(7, 24, 39, 0.06); }
.install-banner__text { flex: 1; min-width: 0; display: grid; line-height: 1.3; }
.install-banner__text strong { font-size: var(--fs-15); color: var(--navy-900); }
.install-banner__text span { font-size: var(--fs-13); color: var(--ink-500); }
.install-banner__close { width: 36px; height: 36px; color: var(--ink-400); }

.install-hero {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 12px;
	margin-bottom: var(--s-5);
	border-radius: var(--r-lg);
	background: var(--warm-white);
	border: 1px solid var(--border);
}
.install-hero img { width: 56px; height: 56px; border-radius: 14px; box-shadow: var(--shadow-1); }
.install-hero div { display: grid; line-height: 1.3; }
.install-hero strong { color: var(--navy-900); }
.install-hero span { font-size: var(--fs-13); color: var(--ink-500); }

.install-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.install-step {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 12px;
	border-radius: var(--r-md);
	border: 1px solid var(--border);
	font-size: var(--fs-15);
	line-height: 1.45;
}
.install-step__n {
	flex: none;
	display: grid;
	place-items: center;
	width: 28px;
	height: 28px;
	border-radius: 50%;
	background: var(--navy-700);
	color: var(--white);
	font-size: var(--fs-13);
	font-weight: 700;
}
.install-step__body { flex: 1; min-width: 0; color: var(--charcoal); }
.install-step__body b { color: var(--navy-900); }
.install-step__icon {
	flex: none;
	display: grid;
	place-items: center;
	width: 38px;
	height: 38px;
	border-radius: 10px;
	background: var(--slate-50);
	color: #0a84ff; /* the colour of Safari's own toolbar icons */
}
.install-step__icon .icon { width: 22px; height: 22px; }

.install-pointer {
	position: fixed;
	z-index: 95;
	display: grid;
	place-items: center;
	width: 52px;
	height: 52px;
	border-radius: 50%;
	background: var(--gold);
	color: var(--navy-900);
	font-size: 28px;
	font-weight: 700;
	box-shadow: 0 8px 24px -6px rgba(7, 24, 39, 0.45);
	pointer-events: none;
	animation: pointer-bob 1.1s var(--ease) infinite alternate;
}
.install-pointer--bottom { left: 50%; bottom: calc(10px + var(--safe-bottom)); margin-left: -26px; }
.install-pointer--top { top: 10px; right: 14px; }
@keyframes pointer-bob { from { transform: translateY(0); } to { transform: translateY(8px); } }
.install-pointer--top { animation-name: pointer-bob-up; }
@keyframes pointer-bob-up { from { transform: translateY(0); } to { transform: translateY(-8px); } }
.sheet--top { align-items: start; padding: calc(10px + env(safe-area-inset-top, 0px)) 10px 0; }
.sheet--top .sheet__panel { border-radius: var(--r-xl); max-height: calc(100dvh - 120px); }

/* ---------- iPhone install guide: large print, one step at a time ---------- */
.ios-guide { font-size: 19px; line-height: 1.5; }
.ios-guide:lang(ml) { font-size: 18px; line-height: 1.65; }
.ios-guide__top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
.ios-guide__lang { display: inline-flex; padding: 3px; border-radius: var(--r-pill); background: var(--slate-50); border: 1px solid var(--border); }
.ios-guide__lang button {
	min-height: 40px;
	padding: 0 14px;
	border: 0;
	border-radius: var(--r-pill);
	background: transparent;
	color: var(--ink-600);
	font-size: 15px;
	font-weight: 650;
	cursor: pointer;
}
.ios-guide__lang button[aria-pressed="true"] { background: var(--navy-700); color: var(--white); }
.ios-guide__title { font-size: 23px; line-height: 1.25; margin-bottom: 6px; }
.ios-guide__progress { margin: 0; font-size: 15px; font-weight: 650; color: var(--slate-500); }
.ios-guide__dots { display: flex; gap: 6px; margin: 8px 0 12px; }
.ios-guide__dots span { flex: 1; height: 6px; border-radius: 3px; background: var(--slate-100); }
.ios-guide__dots span.on { background: var(--gold); }
.ios-guide__art { display: block; width: 100%; height: auto; margin: 4px 0 14px; }
.ios-guide__ring { animation: ring-pulse 1.2s ease-in-out infinite; transform-box: fill-box; transform-origin: center; }
@keyframes ring-pulse { 50% { opacity: 0.35; } }
.ios-guide__text { margin: 0 0 6px; font-weight: 600; color: var(--navy-900); }
.ios-guide__text b, .ios-guide__note b { color: var(--navy-700); }
.ios-guide__note { margin: 0 0 6px; font-size: 16px; color: var(--ink-600); }
.ios-guide__nav { display: flex; gap: 10px; margin-top: 18px; }
.ios-guide__btn { flex: 1; min-height: 58px; font-size: 19px; border-radius: 14px; }
.ios-guide__help { min-height: 52px; margin-top: 12px; font-size: 16px; color: #128c4a; }
.ios-guide__help .icon { width: 22px; height: 22px; }

/* ---------- Personal profile ---------- */
.person {
	position: relative;
	display: inline-grid;
	place-items: center;
	flex: none;
	width: 48px;
	height: 48px;
	border-radius: 50%;
	overflow: hidden;
	background: var(--slate-50);
}
.person img { width: 100%; height: 100%; object-fit: cover; }
.person .monogram { border-radius: 50%; font-size: 20px; }
.person .monogram::after { display: none; }
.person--sm { width: 36px; height: 36px; }
.person--sm .monogram { font-size: 15px; }
.person--xl { width: 104px; height: 104px; box-shadow: 0 0 0 4px var(--white), 0 0 0 5px rgba(201, 162, 39, 0.5), var(--shadow-2); }
.person--xl .monogram { font-size: 42px; }

.profile-card {
	position: relative;
	margin-top: var(--s-5);
	border-radius: var(--r-xl);
	background: var(--white);
	border: 1px solid var(--border);
	box-shadow: var(--shadow-2);
	overflow: hidden;
}
.profile-card__cover {
	height: 92px;
	background:
		radial-gradient(90% 160% at 100% 0%, rgba(46, 94, 140, 0.6), transparent 60%),
		linear-gradient(160deg, var(--navy-700), var(--navy-900));
	border-bottom: 1px solid rgba(201, 162, 39, 0.35);
}
.profile-card__body {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	gap: var(--s-4);
	padding: 0 var(--s-5) var(--s-5);
}
.profile-card__photo { position: relative; margin-top: -52px; }
.profile-card__photo input[type="file"] { position: absolute; width: 1px; height: 1px; opacity: 0; }
.profile-card__camera {
	position: absolute;
	right: 0;
	bottom: 2px;
	display: grid;
	place-items: center;
	width: 36px;
	height: 36px;
	border-radius: 50%;
	background: var(--navy-700);
	color: var(--white);
	border: 2px solid var(--white);
	box-shadow: var(--shadow-2);
	cursor: pointer;
}
.profile-card__camera.is-loading { opacity: 0.6; pointer-events: none; }
.profile-card__id { flex: 1 1 220px; min-width: 0; }
.profile-card__id h1 { font-size: clamp(1.35rem, 5vw, 1.75rem); }
.profile-card__meta { gap: 8px; margin: 6px 0 0; color: var(--ink-500); font-size: var(--fs-14); }
.profile-card__meta .icon { color: var(--ink-400); }
.profile-card__bio { margin: 10px 0 0; color: var(--ink-600); font-size: var(--fs-15); }
.profile-card__actions { display: flex; flex-wrap: wrap; gap: 8px; }
.profile-card__progress {
	display: grid;
	gap: 6px;
	padding: 12px var(--s-5);
	border-top: 1px solid var(--border);
	background: linear-gradient(180deg, #fffdf6, var(--white));
	color: var(--ink-600);
	font-size: var(--fs-14);
	text-decoration: none;
}
.profile-card__progress:hover { color: var(--navy-700); }
.profile-card__progress .meter { margin-top: 0; }
.profile-card + .note, .profile-card + .account-grid { margin-top: var(--s-5); }
.account-grid { margin-top: var(--s-5); }
@media (max-width: 559px) {
	.profile-card__body { flex-direction: column; align-items: flex-start; }
	.profile-card__actions { width: 100%; }
	.profile-card__actions .btn { flex: 1; }
}

.input--readonly { display: flex; align-items: center; background: var(--slate-50); color: var(--ink-600); overflow-wrap: anywhere; }

.link-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.link-chips .chip { height: 40px; }

.gallery-manager { margin-top: var(--s-5); padding-top: var(--s-5); border-top: 1px solid var(--border); }
.gallery-manager__head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
.gallery-manager__grid {
	list-style: none;
	margin: 0 0 10px;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(min(100%, 140px), 1fr));
	gap: 10px;
}
.gallery-manager__item, .gallery-manager__add {
	position: relative;
	aspect-ratio: 1;
	border-radius: var(--r-md);
	overflow: hidden;
	background: var(--slate-50);
	border: 1px solid var(--border);
}
.gallery-manager__item img { width: 100%; height: 100%; object-fit: cover; }
.gallery-manager__item.is-uploading img { opacity: 0.5; }
.gallery-manager__item.is-uploading::after {
	content: "";
	position: absolute;
	inset: 0;
	margin: auto;
	width: 26px;
	height: 26px;
	border-radius: 50%;
	border: 3px solid var(--navy-700);
	border-color: var(--navy-700) var(--navy-700) transparent transparent;
	animation: spin 0.7s linear infinite;
}
.gallery-manager__item.is-uploading .gallery-manager__tools { display: none; }
.gallery-manager__badge {
	position: absolute;
	top: 6px;
	left: 6px;
	display: none;
	padding: 2px 8px;
	border-radius: var(--r-pill);
	background: var(--gold);
	color: var(--navy-900);
	font-size: 11px;
	font-weight: 700;
}
.gallery-manager__item.is-main { border: 2px solid var(--gold); }
.gallery-manager__item.is-main .gallery-manager__badge { display: block; }
.gallery-manager__item.is-main [data-photo-main] { display: none; }
.gallery-manager__tools {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 4px;
	padding: 6px;
	background: linear-gradient(0deg, rgba(7, 24, 39, 0.65), transparent);
}
.gallery-manager__tools .btn { min-height: 32px; padding: 0 10px; font-size: 12px; }
.gallery-manager__tools .icon-btn { width: 32px; height: 32px; margin-left: auto; background: rgba(255, 255, 255, 0.92); color: var(--danger); }
.gallery-manager__add { border-style: dashed; border-color: var(--border-strong); background: var(--white); }
.gallery-manager__add label {
	display: grid;
	place-items: center;
	align-content: center;
	gap: 6px;
	width: 100%;
	height: 100%;
	color: var(--slate-500);
	font-size: var(--fs-14);
	font-weight: 600;
	cursor: pointer;
}
.gallery-manager__add input { position: absolute; width: 1px; height: 1px; opacity: 0; }

.map-pin {
	display: grid;
	gap: 10px;
	padding: 14px;
	border-radius: var(--r-md);
	background: var(--warm-white);
	border: 1px solid var(--border);
}
.map-pin__status { display: flex; align-items: center; gap: 8px; font-size: var(--fs-14); font-weight: 600; color: var(--navy-900); }
.map-pin__status .icon { color: var(--gold-ink); }

/* Buttons that are labels (file pickers) show a spinner too. */
label.btn.is-loading { color: transparent !important; }
label.btn.is-loading::after {
	content: "";
	position: absolute;
	inset: 0;
	margin: auto;
	width: 18px;
	height: 18px;
	border-radius: 50%;
	border: 2px solid var(--navy-700);
	border-color: var(--navy-700) var(--navy-700) transparent transparent;
	animation: spin 0.7s linear infinite;
}
