/* Food Vault — scoped under .fv so themes are left alone. */
.fv {
	--fv-accent: #1F4D3F;
	--fv-hl: #E9A23B;
	--fv-ink: #17201C;
	--fv-muted: #55605A;
	--fv-ground: #F5F6F2;
	--fv-line: #DDE1DA;
	--fv-line-strong: #A9B2AA;
	--fv-amber: #9A5A0E;
	--fv-amber-bg: #FBEBD3;
	--fv-amber-fg: #6B3E07;
	--fv-ok-bg: #DCEBE3;
	--fv-ok-fg: #143429;
	--fv-bad-bg: #FDE2DF;
	--fv-bad-fg: #8A1C12;
	--fv-blue: #2B6CB0;
	--fv-radius: 16px;
	color: var(--fv-ink);
	font-size: 15px;
	line-height: 1.5;
	box-sizing: border-box;
}
.fv *, .fv *::before, .fv *::after { box-sizing: border-box; }
.fv p { margin: 0; }
.fv a { color: var(--fv-accent); }
.fv h1, .fv h2, .fv h3 { color: inherit; letter-spacing: -0.01em; }

/* App container: full width of its parent, responsive to its own width. */
.fv-app { container-type: inline-size; container-name: fv; width: 100%; max-width: 1080px; margin: 32px auto 48px; padding: 0 24px; }
/* Signed-out view: same centered column as the app. */
.fv-guest { width: 100%; max-width: 1080px; margin: 32px auto 48px; padding: 0 24px; }
/* Win over themes' own .alignwide widths so the column is the same everywhere. */
.fv.fv-app.alignwide, .fv.fv-guest.alignwide { max-width: 1080px; margin-left: auto; margin-right: auto; }
.fv-guest > .fv-calc { max-width: none; }
.fv-app .fv-loading { padding: 32px; color: var(--fv-muted); }
.fv-shell { background: var(--fv-ground); border-radius: var(--fv-radius); overflow: hidden; }

.fv-top { background: var(--fv-ink); color: #F5F6F2; }
.fv-top-in { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 20px; padding: 10px 20px; }
.fv-brand { display: flex; align-items: center; gap: 10px; color: #F5F6F2 !important; text-decoration: none !important; font-weight: 700; font-size: 19px; }
.fv-brand svg { color: var(--fv-hl); }
.fv-nav { display: flex; gap: 2px; flex: 1 1 auto; overflow-x: auto; scrollbar-width: none; }
.fv-nav::-webkit-scrollbar { display: none; }
.fv-nav-spacer { flex: 1; }
.fv-nav a { padding: 10px 14px; border-radius: 8px; color: #C9D1CB !important; text-decoration: none !important; font-weight: 500; white-space: nowrap; }
.fv-nav a:hover { background: rgba(255, 255, 255, 0.12); color: #fff !important; }
.fv-nav a.is-on { background: rgba(255, 255, 255, 0.12); color: #fff !important; font-weight: 600; }
.fv-me { display: flex; align-items: center; gap: 10px; }
.fv-hh-switch { background: rgba(255, 255, 255, 0.12); color: #fff; border: 1px solid rgba(255, 255, 255, 0.3); border-radius: 8px; padding: 6px 8px; font: inherit; font-size: 14px; max-width: 180px; }
.fv-avatar { width: 34px; height: 34px; border-radius: 50%; background: var(--fv-hl); color: var(--fv-ink); display: inline-flex; align-items: center; justify-content: center; font-weight: 700; flex: none; }
.fv-avatar-soft { background: #D7E6DD; }

.fv-main { padding: 28px 24px 40px; display: flex; flex-direction: column; gap: 20px; max-width: 1200px; margin: 0 auto; }
.fv-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px; }
.fv-h1 { margin: 0; font-size: 32px; line-height: 1.15; font-weight: 700; }
.fv-h2 { margin: 0; font-size: 20px; line-height: 1.25; font-weight: 700; }
.fv-h3 { margin: 0; font-size: 17px; font-weight: 700; }
.fv-eyebrow { font-size: 12px !important; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--fv-muted); margin-bottom: 4px !important; }
.fv-muted { color: var(--fv-muted); }
.fv-small { font-size: 13px; }
.fv-strong { font-weight: 600; }
.fv-block { display: block; }
.fv-nowrap { white-space: nowrap; }
.fv-amber { color: var(--fv-amber); }
.fv-blue { color: var(--fv-blue); display: inline-flex; }
.fv-big { font-size: 38px !important; font-weight: 700; line-height: 1.1; }
.fv-big .fv-muted { font-size: 16px; font-weight: 500; }
.fv-num { text-align: right; font-variant-numeric: tabular-nums; }
.fv-sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.fv-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Layout helpers */
.fv-row { display: flex; align-items: center; gap: 10px; }
.fv-wrap { flex-wrap: wrap; }
.fv-between { justify-content: space-between; }
.fv-end { justify-content: flex-end; }
.fv-center { justify-content: center; }
.fv-align-end { align-items: flex-end; }
.fv-grow { flex: 1 1 200px; min-width: 0; }
.fv-mt { margin-top: 10px; }
.fv-mr-auto { margin-right: auto; }
.fv-stack { display: flex; flex-direction: column; gap: 14px; }
.fv-stack-sm { display: flex; flex-direction: column; gap: 8px; }
.fv-narrow { max-width: 640px; }
.fv-narrow-wide { max-width: 860px; }
.fv-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.fv-span-2 { grid-column: span 2; }
.fv-grid:has(> :nth-child(2):last-child):not(:has(.fv-span-2)) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.fv-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.35fr); gap: 20px; align-items: start; }
.fv-split-wide { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); }

/* Cards */
.fv-card { background: #fff; border: 1px solid var(--fv-line); border-radius: var(--fv-radius); padding: 24px; }
.fv-card-dark { background: var(--fv-ink); color: #F5F6F2; border-color: var(--fv-ink); }
.fv-card-dark strong { color: #fff; }
.fv-card-dark .fv-pill { background: transparent; color: #F5F6F2; border-color: #55605A; }
.fv-card-dark .fv-pill.is-on { background: var(--fv-hl); border-color: var(--fv-hl); color: var(--fv-ink); }
.fv-empty { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 36px 24px; }
.fv-pad { padding: 18px 22px; }
.fv-subtle { background: #F9FAF7; border-top: 1px solid #EEF0EB; }
.fv-note { padding: 12px 14px; background: var(--fv-ground); border-radius: 10px; font-size: 14px; }
.fv-callout { padding: 14px 16px; border-radius: 12px; font-size: 14px; }
.fv-callout-warn { background: var(--fv-amber-bg); color: #4A2B05; }
.fv-callout-warn a { color: #4A2B05; font-weight: 700; }

/* Buttons */
.fv-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 10px 16px; border-radius: 10px; border: 1px solid #C9CFC6; background: #fff; color: var(--fv-ink) !important; font: inherit; font-weight: 600; text-decoration: none !important; cursor: pointer; line-height: 1.2; }
.fv-btn:hover { border-color: var(--fv-ink); }
.fv-btn:disabled { opacity: 0.5; cursor: not-allowed; }
.fv-btn-primary { background: var(--fv-accent); border-color: var(--fv-accent); color: #fff !important; }
.fv-btn-primary:hover { filter: brightness(0.9); border-color: var(--fv-accent); }
.fv-btn-danger { color: var(--fv-bad-fg) !important; border-color: #E8B4AE; }
.fv-btn-dashed { border-style: dashed; border-width: 1.5px; border-color: var(--fv-line-strong); }
.fv-btn-sm { min-height: 40px; padding: 8px 12px; font-size: 13px; }
.fv-btn-block { width: 100%; }
.fv-icon-btn { width: 44px; height: 44px; border-radius: 8px; border: 1px solid var(--fv-line); background: #fff; color: #3A4540; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; flex: none; padding: 0; }
.fv-icon-btn:hover { border-color: var(--fv-ink); }
.fv-link { background: none; border: 0; padding: 8px 0; color: var(--fv-accent); font: inherit; font-weight: 600; cursor: pointer; text-align: left; margin-top: auto; }
.fv :focus-visible { outline: 3px solid var(--fv-hl); outline-offset: 2px; }

/* Pills & chips */
.fv-pills { display: flex; flex-wrap: wrap; gap: 8px; }
.fv-pill { min-height: 44px; padding: 8px 14px; border-radius: 999px; border: 1.5px solid #C9CFC6; background: #fff; color: var(--fv-ink); font: inherit; font-size: 14px; font-weight: 600; cursor: pointer; }
.fv-pill.is-on { background: var(--fv-accent); border-color: var(--fv-accent); color: #fff; }
.fv-pill-attn { color: var(--fv-bad-fg); border-color: #E8B4AE; }
.fv-pill-attn.is-on { background: var(--fv-bad-fg); border-color: var(--fv-bad-fg); color: #fff; }
.fv-chip { display: inline-block; padding: 4px 10px; border-radius: 999px; font-size: 12px; font-weight: 700; white-space: nowrap; }
.fv-chip-ok { background: var(--fv-ok-bg); color: var(--fv-ok-fg); }
.fv-chip-warn { background: var(--fv-amber-bg); color: var(--fv-amber-fg); }
.fv-chip-bad { background: var(--fv-bad-bg); color: var(--fv-bad-fg); }
.fv-chip-todo { border: 1px dashed var(--fv-line-strong); color: var(--fv-muted); }

/* Forms */
.fv-field { display: flex; flex-direction: column; gap: 6px; border: 0; padding: 0; margin: 0; min-width: 0; }
.fv-label { font-weight: 600; font-size: 14px; padding: 0; }
legend.fv-label { margin-bottom: 8px; }
.fv-input { min-height: 44px; padding: 10px 14px; border-radius: 10px; border: 1.5px solid var(--fv-line-strong); background: #fff; color: var(--fv-ink); font: inherit; font-size: 16px; width: 100%; max-width: 100%; }
.fv-input:focus { border-color: var(--fv-accent); outline: none; box-shadow: 0 0 0 3px rgba(31, 77, 63, 0.18); }
.fv-input-sm { min-height: 40px; padding: 6px 10px; font-size: 15px; width: auto; }
.fv-input-lg { min-height: 52px; font-size: 17px; }
.fv-w-num { width: 120px; }
.fv-w-age { width: 80px; }
.fv-w-price { width: 90px; }
.fv-money { display: inline-flex; align-items: center; gap: 4px; }
.fv-check { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; cursor: pointer; }
.fv-check input { width: 20px; height: 20px; margin: 1px 0 0; flex: none; accent-color: var(--fv-accent); }
.fv-error { color: var(--fv-bad-fg); font-weight: 600; font-size: 14px; }
.fv-stepper { display: inline-flex; align-items: stretch; border: 1.5px solid var(--fv-line-strong); border-radius: 12px; overflow: hidden; background: #fff; }
.fv-stepper button { width: 48px; min-height: 48px; border: 0; background: var(--fv-ground); font-size: 22px; cursor: pointer; color: var(--fv-ink); }
.fv-stepper input { width: 80px; border: 0; text-align: center; font: inherit; font-size: 20px; font-weight: 700; color: var(--fv-ink); -moz-appearance: textfield; }
.fv-stepper input::-webkit-inner-spin-button { -webkit-appearance: none; }
.fv-goal { display: flex; flex-direction: column; gap: 12px; }
.fv-goal-out { font-weight: 700; }

/* Dashboard */
.fv-supply { display: flex; flex-wrap: wrap; gap: 28px; align-items: center; }
.fv-ring { --p: 0; width: 210px; height: 210px; border-radius: 50%; background: conic-gradient(var(--fv-accent) calc(var(--p) * 1%), #E3E7DF 0); display: flex; align-items: center; justify-content: center; flex: none; }
.fv-ring-in { width: 168px; height: 168px; border-radius: 50%; background: #fff; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; color: var(--fv-muted); font-size: 14px; }
.fv-ring-in strong { font-size: 52px; line-height: 1; color: var(--fv-ink); font-weight: 700; }
.fv-stats { display: flex; flex-wrap: wrap; gap: 16px 28px; }
.fv-stat { display: flex; flex-direction: column; }
.fv-stat span { font-size: 13px; color: var(--fv-muted); }
.fv-stat strong { font-size: 22px; font-weight: 700; font-variant-numeric: tabular-nums; }
.fv-card-dark .fv-stat span { color: #C9D1CB; }
.fv-bar { display: flex; flex-direction: column; gap: 6px; font-size: 14px; }
.fv-track { position: relative; height: 10px; border-radius: 999px; background: #EEF0EB; overflow: hidden; }
.fv-track-range { overflow: visible; }
.fv-fill { height: 100%; background: var(--fv-accent); border-radius: 999px; }
.fv-fill-blue { background: var(--fv-blue); }
.fv-range { position: absolute; top: 0; bottom: 0; background: #CFE3D8; border-radius: 999px; }
.fv-marker { position: absolute; top: -4px; width: 4px; height: 18px; margin-left: -2px; border-radius: 2px; background: var(--fv-ink); }
.fv-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.fv-list > li + li { border-top: 1px solid #EEF0EB; }
.fv-list-row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; padding: 12px 0; }
.fv-activity { flex-wrap: nowrap; align-items: flex-start; }
.fv-sign { width: 28px; height: 28px; border-radius: 8px; display: inline-flex; align-items: center; justify-content: center; font-weight: 700; flex: none; }
.fv-sign-add { background: var(--fv-ok-bg); color: var(--fv-ok-fg); }
.fv-sign-use { background: var(--fv-bad-bg); color: var(--fv-bad-fg); }
.fv-sign-edit { background: #EEF0EB; color: var(--fv-muted); }

/* Tables */
.fv-table-wrap { padding: 0; overflow-x: auto; }
.fv-table { width: 100%; border-collapse: collapse; font-size: 14px; margin: 0; }
.fv-table th { text-align: left; font-size: 12px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--fv-muted); font-weight: 600; padding: 12px; background: #F9FAF7; border: 0; }
.fv-table td { padding: 12px; border: 0; border-top: 1px solid #EEF0EB; vertical-align: middle; }
.fv-table th:first-child, .fv-table td:first-child { padding-left: 20px; }
.fv-table th:last-child, .fv-table td:last-child { padding-right: 20px; }
.fv-table .fv-num { text-align: right; }
.fv-table-compact td { padding: 8px 12px; }
.fv-actions { white-space: nowrap; text-align: right; }
.fv-actions > * + * { margin-left: 6px; }
.fv-total td { border-top: 2px solid var(--fv-ink); font-weight: 700; }
.fv-filters { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; padding: 14px; }
.fv-filters .fv-input.fv-grow { flex: 1 1 220px; width: auto; }

/* Add food */
.fv-results { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; max-height: 560px; overflow-y: auto; }
.fv-result { width: 100%; text-align: left; padding: 12px 14px; min-height: 56px; border-radius: 10px; border: 1.5px solid var(--fv-line); background: #fff; font: inherit; color: var(--fv-ink); cursor: pointer; display: flex; justify-content: space-between; gap: 12px; align-items: center; }
.fv-result .fv-grow { flex: 1 1 180px; }
.fv-result:hover { border-color: var(--fv-line-strong); }
.fv-result.is-on { border-color: var(--fv-accent); background: #EEF5F1; }
.fv-result-panel { display: flex; flex-wrap: wrap; gap: 12px; padding: 18px 20px; border-radius: 14px; background: var(--fv-ink); color: #F5F6F2; }
.fv-result-panel > div { flex: 1 1 140px; display: flex; flex-direction: column; }
.fv-result-panel span { font-size: 13px; color: #C9D1CB; }
.fv-result-panel strong { font-size: 28px; font-weight: 700; line-height: 1.2; color: #fff; }
.fv-result-panel strong.fv-amber { color: var(--fv-hl); }

/* Scan */
.fv-scan-box { position: relative; aspect-ratio: 4 / 3; background: #1E2622; border-radius: 12px; overflow: hidden; }
.fv-video { width: 100%; height: 100%; object-fit: cover; display: block; }
.fv-scan-frame { position: absolute; inset: 22% 12%; border: 3px solid var(--fv-hl); border-radius: 12px; box-shadow: 0 0 0 999px rgba(0, 0, 0, 0.25); }

/* Toast & dialog */
.fv-toast { position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 20px); background: var(--fv-ink); color: #fff; padding: 12px 18px; border-radius: 12px; font-weight: 600; opacity: 0; pointer-events: none; transition: opacity 0.2s, transform 0.2s; z-index: 100000; max-width: calc(100vw - 32px); }
.fv-toast.is-on { opacity: 1; transform: translate(-50%, 0); }
.fv-toast.is-error { background: var(--fv-bad-fg); }
.fv-dialog { border: 0; border-radius: var(--fv-radius); padding: 24px; width: min(560px, calc(100vw - 24px)); max-height: calc(100vh - 32px); overflow: auto; color: var(--fv-ink); font-family: inherit; }
.fv-dialog::backdrop { background: rgba(14, 20, 17, 0.55); }
@media (prefers-reduced-motion: reduce) { .fv-toast { transition: none; } }

/* Read-only members */
.fv-readonly [data-use], .fv-readonly [data-edit-item] { display: none !important; }

/* Sign-up & calculator & badge */
.fv-signup-wrap { max-width: 460px; }
.fv-signup { display: block; }
.fv-signup-step { display: flex; flex-direction: column; gap: 14px; }
.fv-signup-step[hidden] { display: none; }
.fv-signed-in { display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }
.fv-calc { max-width: 760px; }
.fv-calc-person { padding: 8px 0; border-bottom: 1px solid #EEF0EB; }
.fv-badge { display: inline-flex; gap: 6px; align-items: baseline; padding: 8px 14px; border-radius: 999px; background: var(--fv-ok-bg); color: var(--fv-ok-fg) !important; text-decoration: none !important; font-size: 14px; }
.fv-badge strong { font-size: 18px; }

/* Responsive to the app's own width (works inside any theme column). */
@container fv (max-width: 900px) {
	.fv-grid { grid-template-columns: minmax(0, 1fr); }
	.fv-grid:has(> :nth-child(2):last-child):not(:has(.fv-span-2)) { grid-template-columns: minmax(0, 1fr); }
	.fv-span-2 { grid-column: auto; }
	.fv-split, .fv-split-wide { grid-template-columns: minmax(0, 1fr); }
	.fv-results { max-height: 340px; }
}
@container fv (max-width: 560px) {
	.fv-main { padding: 20px 14px 32px; }
	.fv-card { padding: 18px; }
	.fv-h1 { font-size: 26px; }
	.fv-ring { width: 170px; height: 170px; }
	.fv-ring-in { width: 136px; height: 136px; }
	.fv-ring-in strong { font-size: 42px; }
	.fv-supply { justify-content: center; }
	.fv-me .fv-hh-switch { max-width: 130px; }
	.fv-top-in { padding: 8px 12px; }
	.fv-nav { order: 3; flex-basis: 100%; }
	.fv-table th:first-child, .fv-table td:first-child { padding-left: 14px; }
	.fv-result { flex-wrap: wrap; gap: 4px 12px; }
	.fv-result .fv-grow { flex-basis: 100%; }
	.fv-result .fv-nowrap { white-space: normal; }
}
.fv h1[tabindex="-1"]:focus, .fv h2[tabindex="-1"]:focus { outline: none; }

/* Footer note, companion guide link, signed-out calculator + sign-up */
.fv-foot { display: flex; flex-direction: column; gap: 6px; padding-top: 8px; border-top: 1px solid var(--fv-line); font-size: 13px; color: var(--fv-muted); }
.fv-companion a { font-weight: 700; font-size: 15px; }
.fv-guest { display: flex; flex-wrap: wrap; gap: 24px; align-items: flex-start; }
.fv-guest > .fv-calc { flex: 2 1 480px; min-width: 0; }
.fv-guest > .fv-signup-wrap { flex: 1 1 300px; scroll-margin-top: 80px; }
@media (max-width: 600px) {
	.fv-calc-person { gap: 8px; }
	.fv-calc-person select[data-k="sex"] { width: 104px; }
	.fv-calc-person .fv-icon-btn { order: 1; margin-left: auto; }
	.fv-calc-person select[data-k="activity"] { order: 2; flex: 1 1 150px; }
	.fv-calc-person .fv-num { order: 3; }
}

/* Offline notice (shown when the Shield Tools App serves a saved copy). */
.fv-offline { background: var(--fv-amber-bg); color: #4A2B05; padding: 10px 20px; font-size: 14px; border-bottom: 1px solid #E8C99A; }

/* Sign-in code (for the app added to a phone's home screen). */
.fv-code { margin: 18px 0 14px; padding-top: 16px; border-top: 1px solid var(--fv-line); display: flex; flex-direction: column; gap: 8px; }
.fv-code .fv-row { display: flex; gap: 8px; }
.fv-code-input { flex: 1 1 auto; min-width: 0; font-size: 20px; letter-spacing: 0.2em; font-variant-numeric: tabular-nums; }
.fv-code .fv-btn { flex: none; }

/* Field Tools app card on the dashboard. */
.fv-appcard { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 20px; border-left: 4px solid var(--fv-accent); }
.fv-appcard-txt { flex: 1 1 320px; display: flex; flex-direction: column; gap: 4px; }

/* ==========================================================================
   Shield Field Guides look (1.2.2)
   Square corners, Barlow Condensed uppercase labels and buttons, Anton
   headings, navy and red, so the Food Vault matches the other tools.
   ========================================================================== */
.fv {
	--fv-radius: 4px;
	--fv-red: #e01b24;
	--fv-cond: "Barlow Condensed", "Arial Narrow", Arial, sans-serif;
	--fv-display: Anton, Impact, "Arial Narrow", Arial, sans-serif;
	font-family: Barlow, "Helvetica Neue", Arial, sans-serif;
}
.fv .fv-h1 { font-family: var(--fv-display); font-size: 40px; font-weight: 400; text-transform: uppercase; letter-spacing: .4px; line-height: 1.05; text-wrap: balance; }
.fv .fv-h2 { font-family: var(--fv-display); font-weight: 400; text-transform: uppercase; letter-spacing: .4px; line-height: 1.1; }
.fv .fv-h3 { font-family: var(--fv-cond); font-weight: 700; text-transform: uppercase; letter-spacing: .6px; }
.fv .fv-eyebrow { font-family: var(--fv-cond); letter-spacing: 2px; color: var(--fv-accent); }
.fv .fv-label { font-weight: 700; }

/* Buttons, pills, chips */
.fv .fv-btn { border-radius: 3px; border-width: 1.5px; border-color: var(--fv-line-strong); font-family: var(--fv-cond); font-size: 15px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; padding: 10px 18px; }
.fv .fv-btn:hover { border-color: var(--fv-ink); }
.fv .fv-btn-primary { border-color: var(--fv-accent); }
.fv .fv-btn-primary:hover { filter: none; background: #7f161b; border-color: #7f161b; }
.fv .fv-btn-danger { border-color: #E8B4AE; }
.fv .fv-btn-sm { font-size: 13px; padding: 8px 12px; }
.fv .fv-icon-btn { border-radius: 3px; }
.fv .fv-pill { border-radius: 3px; font-family: var(--fv-cond); font-size: 14px; font-weight: 700; letter-spacing: .6px; text-transform: uppercase; }
.fv .fv-chip { border-radius: 3px; font-family: var(--fv-cond); font-size: 12px; letter-spacing: .6px; text-transform: uppercase; }
.fv .fv-badge { border-radius: 3px; }

/* Fields and panels */
.fv .fv-input { border-radius: 3px; }
.fv .fv-input:focus { box-shadow: 0 0 0 3px rgba(159, 29, 34, .16); }
.fv .fv-stepper { border-radius: 3px; }
.fv .fv-result { border-radius: 3px; }
.fv .fv-result-panel, .fv .fv-scan-box, .fv .fv-scan-frame { border-radius: 4px; }
.fv .fv-note, .fv .fv-callout { border-radius: 3px; }
.fv-toast, .fv-dialog { border-radius: 4px; }
.fv :focus-visible { outline-color: var(--fv-red); }

/* Header: brand row, then the section tabs */
.fv .fv-top-in { min-height: 56px; padding: 6px 16px; }
.fv .fv-brand { font-family: var(--fv-cond); font-size: 20px; font-weight: 700; letter-spacing: .6px; text-transform: uppercase; }
.fv .fv-brand svg { color: var(--fv-red); }
.fv .fv-avatar { background: var(--fv-accent); color: #fff; font-family: var(--fv-cond); font-size: 17px; }
.fv .fv-avatar-soft { background: #e6e2d8; color: var(--fv-ink); }
.fv .fv-nav a { padding: 15px 12px 12px; border-radius: 0; border-bottom: 3px solid transparent; font-family: var(--fv-cond); font-size: 15px; font-weight: 600; letter-spacing: .8px; text-transform: uppercase; }
.fv .fv-nav a:hover { background: rgba(255, 255, 255, .06); }
.fv .fv-nav a.is-on { background: none; color: #fff !important; border-bottom-color: var(--fv-red); font-weight: 700; }
.fv .fv-hh-switch { border-radius: 3px; }

@container fv (max-width: 560px) {
	/* Five equal tabs on their own row, so none is cut off. */
	.fv .fv-top-in { padding: 0 12px; column-gap: 12px; row-gap: 0; }
	.fv .fv-brand { font-size: 18px; min-height: 52px; }
	.fv .fv-nav { order: 3; flex-basis: calc(100% + 24px); margin: 0 -12px; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0; overflow: visible; border-top: 1px solid rgba(255, 255, 255, .1); }
	.fv .fv-nav a { padding: 13px 2px 10px; text-align: center; font-size: 13px; letter-spacing: .3px; }
	.fv .fv-h1 { font-size: 30px; }
	/* With a household switcher, keep brand icon + switcher + avatar on one row. */
	.fv .fv-top-in:has(.fv-hh-switch) .fv-brand span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
	.fv .fv-me { margin-left: auto; }
	.fv .fv-me .fv-hh-switch { max-width: 170px; }
}
