/*
 * Inyosi theme for Tabler 1.6.1.
 * Tabler supplies every component. This file only sets brand tokens (colour, type, radius)
 * and a few portal pieces Tabler has no component for. Nothing here restyles a Tabler
 * component's structure; if a page needs a new look, use a Tabler component first.
 *
 * Brand source: Inyosi design-system audit, 21 Oct 2026.
 *   Yellow #FFC812 (fills only, never text on white), yellow-family text on white #8A6500,
 *   ink #111111, Montserrat, status: success #1E7F4F, danger #B71C1C, warning #B45309, info #0057B8.
 *   Dark mode is Direction B (warm charcoal, #252324 family).
 */

@font-face {
  font-family: "Montserrat";
  src: url("assets/montserrat-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}
@font-face { font-family: "Montserrat-fallback"; src: local("Arial"); size-adjust: 112%; ascent-override: 92%; descent-override: 24%; line-gap-override: 0%; }

:root,
[data-bs-theme=light],
[data-bs-theme=dark] {
  --tblr-font-sans-serif: "Montserrat", "Montserrat-fallback", system-ui, sans-serif;
  --tblr-body-font-size: 0.875rem;

  /* Brand */
  --tblr-primary: #FFC812;
  --tblr-primary-rgb: 255, 200, 18;
  --tblr-primary-fg: #111111;
  --tblr-primary-darken: #E6B100;
  --tblr-primary-lt: color-mix(in oklab, #FFC812 16%, transparent);
  --tblr-primary-200: color-mix(in oklab, #FFC812 28%, transparent);
  --ihv-accent-text: light-dark(#8A6500, #FFC812);

  /* Status, readable on both grounds */
  --tblr-success: light-dark(#166534, #4CC38A);
  --tblr-danger: light-dark(#B71C1C, #FF8A80);
  --tblr-warning: light-dark(#92400E, #F5A524);
  --tblr-info: light-dark(#0057B8, #6EA8FE);
  --tblr-success-fg: light-dark(#FFFFFF, #111111);
  --tblr-danger-fg: light-dark(#FFFFFF, #111111);
  --tblr-warning-fg: light-dark(#FFFFFF, #111111);
  --tblr-info-fg: light-dark(#FFFFFF, #111111);

  /* Grounds: warm neutrals, Direction B charcoal in dark */
  --tblr-body-bg: light-dark(#FAFAF9, #0F0E0E);
  --tblr-bg-surface: light-dark(#FFFFFF, #181717);
  --tblr-bg-surface-secondary: light-dark(#F5F5F4, #222120);
  --tblr-bg-surface-tertiary: light-dark(#F5F5F4, #222120);
  --tblr-bg-forms: light-dark(#FFFFFF, #131212);
  --tblr-body-color: light-dark(#1F1E1C, #EDEBE6);
  --tblr-heading-color: light-dark(#111111, #FFFFFF);
  --tblr-secondary: light-dark(#6B6560, #A8A29E);
  --tblr-secondary-color: light-dark(#6B6560, #A8A29E);
  --tblr-muted: light-dark(#6B6560, #A8A29E);
  --tblr-border-color: light-dark(#E7E5E4, #2A2827);
  --tblr-border-color-translucent: light-dark(rgba(17, 17, 17, .1), rgba(255, 255, 255, .1));

  --tblr-link-color: light-dark(#8A6500, #FFC812);
  --tblr-link-hover-color: light-dark(#5E4500, #FFD84D);
  --tblr-link-hover-decoration: none;

  --tblr-border-radius: 8px;
  --tblr-border-radius-sm: 6px;
  --tblr-border-radius-lg: 12px;
  --tblr-border-radius-pill: 999px;
  --ihv-shadow-xs: 0 1px 2px rgba(17, 17, 17, .05);
  --ihv-shadow-sm: 0 1px 3px rgba(17, 17, 17, .06), 0 1px 2px rgba(17, 17, 17, .04);
}

[data-bs-theme=dark] { --tblr-link-color-rgb: 255, 200, 18; --tblr-link-hover-color-rgb: 255, 216, 77; }

body { font-feature-settings: "tnum" 0; }

/* Rule from Aldo: no underlined buttons or links, anywhere. */
a, a:hover, a:focus, .btn, .btn:hover, .nav-link, .nav-link:hover { text-decoration: none !important; }

/* Yellow is a fill colour. Where Tabler uses "primary" as text, use the readable accent instead. */
.text-primary, .bg-primary-lt, .btn-ghost-primary, .btn-outline-primary { color: var(--ihv-accent-text) !important; }
.btn-outline-primary { --tblr-btn-border-color: var(--ihv-accent-text); }
.btn-outline-primary:hover { color: #111111 !important; }

/* Sentence-case labels. Tabler's uppercase micro labels read as generated UI here. */
.table thead th, .datagrid-title, .subheader, .page-pretitle, .card-table thead th {
  text-transform: none; letter-spacing: 0; font-size: .8125rem;
}
.table thead th { color: var(--tblr-secondary); font-weight: 600; }

/* Sidebar: Inyosi black in both modes */
.navbar-vertical { --tblr-navbar-bg: #111111; background: #111111; }
.navbar-vertical .navbar-brand img { height: 3.25rem; width: auto; } /* Erin, 2 Nov 2026: larger iHive logo */
/* Supplier logos in place of initials (Erin, 2 Nov 2026): white plate so dark and transparent logos read in both themes. */
/* Tabler's avatar sizes the cards and profile use; the purged portal subset only keeps .avatar-sm. Values from tabler.min.css. */
.avatar-lg { --tblr-avatar-size: 3rem; --tblr-avatar-font-size: 1.25rem; --tblr-avatar-icon-size: 2rem; }
.avatar-xl { --tblr-avatar-size: 5rem; --tblr-avatar-font-size: 2rem; --tblr-avatar-icon-size: 3rem; }
/* Logos sit in a rounded square, not a circle, so wide wordmarks use the whole box. */
.avatar.avatar-logo { --tblr-avatar-border-radius: var(--tblr-border-radius); position: relative; overflow: hidden; background: #fff; color: transparent; box-shadow: inset 0 0 0 1px rgba(0,0,0,.08); }
.avatar.avatar-logo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; padding: 3px; border-radius: inherit; }
/* About text keeps the supplier's paragraphs and bullets. */
.ihv-about p { margin-bottom: .75rem; } .ihv-about ul { padding-left: 1.25rem; margin-bottom: .75rem; } .ihv-about li { margin-bottom: .25rem; } .ihv-about > :last-child { margin-bottom: 0; }
.navbar-vertical .nav-link.active, .navbar-vertical .nav-item.active > .nav-link { color: #FFC812 !important; }
.navbar-vertical .nav-link.active .nav-link-icon { color: #FFC812; }
.navbar-vertical .nav-section-title { color: #9C978F; font-size: .75rem; padding: 1.25rem 1rem .25rem; }
/* The sidebar is fixed to the window. On long pages (search results) paint the same black strip down
   the whole page too, so it never reads as a short block that has slid down (full-page captures, overscroll). */
@media (min-width: 992px) {
    .page:has(> .navbar-vertical.navbar-expand-lg) { background: linear-gradient(to right, #111111 var(--tblr-sidebar-width, 15rem), transparent 0); }
}
.ihv-brand-name { color: #FFFFFF; font-weight: 700; font-size: 1rem; line-height: 1.1; }
.ihv-brand-name small { display: block; color: #9C978F; font-weight: 500; font-size: .75rem; }

/* Without JS the phone menu stays open rather than unreachable */
html:not(.js) .navbar-vertical .navbar-collapse { display: block !important; }

/* Verified mark: the one place yellow fills a badge */
.badge-verified { background: #FFC812 !important; color: #111111 !important; }

/* Avatars: initials on warm grey, verified suppliers on yellow */
.avatar { --tblr-avatar-bg: light-dark(#EFEDE8, #3A3738); color: var(--tblr-body-color); font-weight: 700; }
.avatar.avatar-verified { --tblr-avatar-bg: #FFC812; color: #111111; }

/* Search box with type-ahead (Tabler has no suggest list) */
.ihv-search { position: relative; }
.ihv-suggest { position: absolute; z-index: 1040; left: 0; right: 0; top: calc(100% + 4px); margin: 0; padding: .25rem 0; list-style: none;
  background: var(--tblr-bg-surface); border: 1px solid var(--tblr-border-color); border-radius: var(--tblr-border-radius); box-shadow: var(--tblr-box-shadow-dropdown, var(--tblr-box-shadow)); }
.ihv-suggest a { display: flex; justify-content: space-between; gap: 1rem; padding: .5rem .75rem; color: var(--tblr-body-color); }
.ihv-suggest a:hover, .ihv-suggest a[aria-selected=true] { background: var(--tblr-bg-surface-secondary); }
.ihv-suggest .ihv-suggest-kind { color: var(--tblr-secondary); font-size: .75rem; }
.ihv-search mark { padding: 0; background: none; color: inherit; font-weight: 700; }
mark { padding: 0 .1em; background: var(--tblr-primary-lt); color: inherit; }

/* Bars in a table cell (sector and province breakdowns) */
.ihv-bar { min-width: 4rem; }

/* Filter panel on phones and narrow tablets: full-screen sheet (see app.js) */
.ihv-filters > summary { list-style: none; cursor: pointer; }
.ihv-filters > summary::-webkit-details-marker { display: none; }
@media (min-width: 1200px) { .ihv-filters > summary { display: none; } }
@media (max-width: 1199px) {
  .ihv-filters { margin-bottom: 1rem; }
  .ihv-filters[data-sheet][open] > .ihv-filters-panel { position: fixed; inset: 0; z-index: 1050; overflow-y: auto; background: var(--tblr-bg-surface); padding: 1rem 1rem 6rem; }
  .ihv-filters[data-sheet] .ihv-filters-apply { position: fixed; left: 0; right: 0; bottom: 0; padding: .75rem 1rem; background: var(--tblr-bg-surface); border-top: 1px solid var(--tblr-border-color); }
}
.ihv-filters-apply.ihv-js-hide { display: none; }
html:not(.js) .ihv-filters-apply.ihv-js-hide { display: block; }
.ihv-filters .form-check { display: flex; gap: .5rem; align-items: center; }
.ihv-filters .form-check .form-check-input { margin-top: 0; }
.ihv-filters .form-check-label { flex: 1; }
.ihv-filters .form-check .ihv-n { color: var(--tblr-secondary); font-variant-numeric: tabular-nums; font-size: .8125rem; }

/* Demo strip: plain, not decorative */
.ihv-demo { margin: 0; padding: .375rem 1rem; text-align: center; font-size: .75rem; background: #FFC812; color: #111111; }

/* Sign-in cover photo */
.ihv-cover { background: #111111 center / cover no-repeat; min-height: 100%; }

/* Data numbers line up */
.tabular { font-variant-numeric: tabular-nums; }

/* Visually hidden helper kept for older markup and tests */
.ds-visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

@media print {
  .navbar-vertical, .ihv-demo, .page-header .btn-list { display: none !important; }
  .page-wrapper { margin: 0 !important; }
  :root, [data-bs-theme] { color-scheme: light !important; }
  body, .page, .page-wrapper { background: #FFFFFF !important; }
  .card { break-inside: avoid; box-shadow: none !important; }
  .col-lg-8, .col-lg-4 { flex: 0 0 100% !important; max-width: 100% !important; }
}

/* Tags as links (search examples, services, active filters) */
a.tag { color: var(--tblr-body-color); }
a.tag:hover { border-color: var(--ihv-accent-text); color: var(--tblr-body-color); }
.tag-primary { border-color: var(--tblr-primary); background: var(--tblr-primary-lt); }
.tag-list { display: flex; flex-wrap: wrap; gap: .5rem; margin: 0; padding: 0; list-style: none; }

/* Sign-in logo: official black artwork on light ground, white artwork on dark ground (no plate). */
.ihv-auth-logo { height: 4.5rem; width: auto; }
.ihv-logo-on-dark, [data-bs-theme=dark] .ihv-logo-on-light { display: none; }
[data-bs-theme=dark] .ihv-logo-on-dark { display: inline; }
.datagrid-content { font-weight: 600; }

/* Focus: always visible, Inyosi accent */
:focus-visible { outline: 2px solid var(--ihv-accent-text); outline-offset: 2px; }
.form-control:focus-visible, .form-select:focus-visible, .form-check-input:focus-visible { outline: 2px solid var(--ihv-accent-text) !important; outline-offset: 1px; }
.footer { color: var(--tblr-secondary); }

/* Selected segment in a button group (period picker, theme switch) */
.btn-group .btn.active { background: var(--tblr-primary); color: #111111; border-color: var(--tblr-primary); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}

/* Status pills never wrap mid-label */
.status { white-space: nowrap; }
.avatar { flex-shrink: 0; }
/* Phones: keep result cards scannable */
@media (max-width: 575.98px) { .ihv-snippet { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; } }
@media (max-width: 575.98px) { .datagrid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* Supplier-entered names can be one very long word: wrap them instead of widening the page */
.page-title, .card-title, .supplier-name, .fw-semibold, .datagrid-content, .small { overflow-wrap: anywhere; }
.d-flex > div { min-width: 0; }
.col, [class*="col-"] { min-width: 0; }
.table-responsive { position: relative; }
/* Inside scrolling tables, wrap only at spaces when sizing columns (anywhere collapses name columns to one letter per line on phones) */
.card-table td, .card-table td * { overflow-wrap: break-word; }

/* ---------------------------------------------------------------------------
 * Clean product look (Aldo, 23 Oct 2026: keep Tabler, give it a shadcn-style finish).
 * Same Tabler components; only surface, rhythm and type change.
 * ------------------------------------------------------------------------- */
.page-header { margin-bottom: 1.5rem; }
.page-title { font-size: 1.625rem; font-weight: 700; letter-spacing: -.025em; }
.card { border: 1px solid var(--tblr-border-color); border-radius: var(--tblr-border-radius-lg); box-shadow: var(--ihv-shadow-sm); }
.card-header { border-bottom: 0; padding: 1.25rem 1.5rem .75rem; min-height: 0; }
.card-header + .card-body { padding-top: .25rem; }
.card-body { padding: 1.25rem 1.5rem 1.5rem; }
.card-footer { padding: 1rem 1.5rem; background: var(--tblr-bg-surface-secondary); border-top: 1px solid var(--tblr-border-color); }
.card-title { font-size: .9375rem; font-weight: 650; letter-spacing: -.01em; }
.card-subtitle { color: var(--tblr-secondary); font-size: .8125rem; }
.card-link:hover { border-color: light-dark(#D6D3D1, #3A3736); box-shadow: 0 4px 12px rgba(17, 17, 17, .08); }
.ihv-kpi-value { font-size: 2rem; font-weight: 700; letter-spacing: -.035em; line-height: 1.1; }
.ihv-kpi-icon { color: var(--tblr-secondary); }
.table thead th, .card-table thead th { background: transparent; font-weight: 500; border-bottom: 1px solid var(--tblr-border-color); }
.card-table td:first-child, .card-table th:first-child { padding-left: 1.5rem; }
.card-table td:last-child, .card-table th:last-child { padding-right: 1.5rem; }
.card-table tbody tr:hover { background: var(--tblr-bg-surface-secondary); }
.btn { font-weight: 600; box-shadow: var(--ihv-shadow-xs); }
.btn-ghost-secondary, .btn-link { box-shadow: none; }
.btn:not([class*="btn-primary"]):not([class*="btn-ghost"]):not([class*="btn-danger"]) { border-color: var(--tblr-border-color); background: var(--tblr-bg-surface); }
.btn:not([class*="btn-primary"]):not([class*="btn-ghost"]):not([class*="btn-danger"]):hover { background: var(--tblr-bg-surface-secondary); }
.form-control, .form-select { box-shadow: var(--ihv-shadow-xs); }
.tag { border-radius: var(--tblr-border-radius-pill); padding-inline: .75rem; }
.badge { border-radius: 6px; font-weight: 600; }
.navbar-vertical .nav-link { border-radius: var(--tblr-border-radius); margin: 1px .5rem; }
.navbar-vertical .nav-link.active, .navbar-vertical .nav-item.active > .nav-link { background: #1F1E1D; }
.list-group-item { padding: 1rem 1.5rem; }
.datagrid-title { color: var(--tblr-secondary); }

/* Main search: 1px gap, then a 1px yellow ring and a soft glow, so search is the obvious thing to do */
.ihv-search-hero .input-group { border-radius: calc(var(--tblr-border-radius) + 2px); outline: 1px solid color-mix(in oklab, var(--tblr-primary) 70%, transparent); outline-offset: 2px;
  box-shadow: 0 0 0 4px color-mix(in oklab, var(--tblr-primary) 0%, transparent), 0 0 22px color-mix(in oklab, var(--tblr-primary) 28%, transparent); transition: box-shadow .2s, outline-color .2s; }
.ihv-search-hero .input-group:focus-within { outline-color: var(--tblr-primary); box-shadow: 0 0 28px color-mix(in oklab, var(--tblr-primary) 45%, transparent); }
.ihv-search-hero .form-control:focus-visible { outline: 2px solid var(--ihv-accent-text) !important; outline-offset: -2px; }
.ihv-search-hero .input-group > .form-control, .ihv-search-hero .input-group > .input-group-text { background: var(--tblr-bg-forms); }

/* Inyosi hexagon field behind the Find suppliers card; cells light up near the pointer (app.js) */
.ihv-hexcard { position: relative; overflow: hidden; isolation: isolate; }
.ihv-hexfield { position: absolute; inset: 0; z-index: -1; pointer-events: none; color: var(--tblr-border-color);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,.35) 45%, #000 100%); mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,.35) 45%, #000 100%); }
.ihv-hexfield polygon { fill: transparent; stroke: currentColor; stroke-width: 1; transition: fill .6s ease-out, stroke .6s ease-out; }
.ihv-hexfield polygon.on { fill: color-mix(in oklab, #FFC812 32%, transparent); stroke: #FFC812; transition-duration: .08s; }
.ihv-hexfield polygon.near { fill: color-mix(in oklab, #FFC812 12%, transparent); stroke: color-mix(in oklab, #FFC812 60%, transparent); transition-duration: .15s; }
@media (prefers-reduced-motion: reduce) { .ihv-hexfield polygon.on, .ihv-hexfield polygon.near { fill: transparent; stroke: currentColor; } }
.btn-group .btn.active, .btn-group .btn.active:hover { background: var(--tblr-primary) !important; color: #111111 !important; border-color: var(--tblr-primary) !important; }
/* Touch target: 44px minimum for links and buttons that people tap on phones (WCAG 2.5.5 / 2.5.8). */
.ihv-tap { display: inline-flex; align-items: center; min-height: 44px; }
a.ihv-tap:not(.btn) { text-decoration: none; }
a.ihv-tap:not(.btn):hover > span, a.ihv-tap:not(.btn):focus-visible > span { color: var(--tblr-link-hover-color); }

/* ---------------------------------------------------------------------------
 * Phones, tablets and the installed app (25 Oct 2026).
 * Form text is 16px everywhere, so iPhone Safari never zooms into a field.
 * Stand-alone links, chips, pagination and checkbox rows are at least 24px on desktop (WCAG 2.2 AA)
 * and 44px wherever people tap (below 1024px or on a touch screen).
 * ------------------------------------------------------------------------- */
.form-control, .form-select, .input-group-sm > .form-control, .form-control-sm { font-size: 1rem; }
/* Supplier and saved-search names in lists: a 24px row to hit, still truncating with an ellipsis */
a.text-body.fw-semibold { display: inline-block; max-width: 100%; padding-block: 3px; vertical-align: middle; }
.card-actions > a, .footer a, [data-testid=back-to-results], [data-testid=clear-filters], a.badge, .page-link {
  display: inline-flex; align-items: center; justify-content: center; min-height: 24px; }
label.form-check { display: flex; align-items: center; gap: .5rem; min-height: 24px; padding-left: 0; margin-bottom: 0; }
label.form-check > .form-check-input { float: none; margin: 0; flex-shrink: 0; }
@media (max-width: 1023.98px), (pointer: coarse) {
  .btn, .form-control, .form-select, a.tag, .card-actions > a, .footer a, [data-testid=back-to-results], [data-testid=clear-filters],
  a.badge, .page-link, .navbar-brand > a, label.form-check, .ihv-tap { min-height: 44px; }
  .input-group-sm > .form-control, .input-group-sm > .btn, .btn-sm { min-height: 44px; }
  a.text-body.fw-semibold { padding-block: 13px; }
  .btn-icon, .navbar-toggler, .page-link { min-width: 44px; }
  .navbar-toggler { min-height: 44px; }
  a.tag { display: inline-flex; align-items: center; }
}

/* Installed app (standalone): the iPhone status bar is translucent over the page, so the black top bar
   grows under it, and content keeps clear of the notch (landscape) and the home bar. */
@media (display-mode: standalone) {
  .navbar-vertical { padding-top: env(safe-area-inset-top); padding-left: env(safe-area-inset-left); }
  .page-wrapper { padding-right: env(safe-area-inset-right); }
  .footer { padding-bottom: calc(1rem + env(safe-area-inset-bottom)); }
}
@media (display-mode: standalone) and (min-width: 992px) { .page-wrapper { padding-top: env(safe-area-inset-top); } }
@media (display-mode: standalone) and (max-width: 991.98px) { .page-wrapper { padding-left: env(safe-area-inset-left); } }

/* Shortlist on phones: each row becomes a card (name and remove on top, note below), no sideways table. */
.ihv-note-cell { min-width: 15rem; }
@media (max-width: 767.98px) {
  .ihv-stack-sm, .ihv-stack-sm tbody { display: block; }
  .ihv-stack-sm thead { display: none; }
  .ihv-stack-sm tr { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: .5rem; align-items: center; padding: .75rem 1rem; border-bottom: 1px solid var(--tblr-border-color); }
  .ihv-stack-sm tr:last-child { border-bottom: 0; }
  .ihv-stack-sm td { display: block; padding: 0 !important; border: 0; }
  .ihv-stack-sm td:last-child { grid-column: 2; grid-row: 1; }
  .ihv-stack-sm .ihv-note-cell { grid-column: 1 / -1; min-width: 0; }
}
/* Report tables on phones (Insights): each row becomes a small label/value list, so no column hides off-screen.
   The first cell is the row's name; every other cell carries its column name in data-label. */
@media (max-width: 575.98px) {
  .ihv-stack-xs, .ihv-stack-xs tbody, .ihv-stack-xs tr { display: block; }
  .ihv-stack-xs thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .ihv-stack-xs tr { padding: .75rem 1.5rem; border-bottom: 1px solid var(--tblr-border-color); }
  .ihv-stack-xs tr:last-child { border-bottom: 0; }
  .ihv-stack-xs td { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: .125rem 0 !important; border: 0; }
  .ihv-stack-xs td::before { content: attr(data-label); color: var(--tblr-secondary); text-align: left; }
  .ihv-stack-xs td:first-child { display: block; font-weight: 600; padding-bottom: .25rem !important; }
  .ihv-stack-xs td:first-child::before { content: none; }
  .ihv-stack-xs td:first-child .small { font-weight: 400; }
  .ihv-stack-xs td > .d-flex { flex: 0 1 60%; }
}
/* Compare on phones: the attribute column stays put while the suppliers scroll sideways.
   Supplier columns are capped so a long name wraps instead of pushing the others away, and the
   "Swipe to see" line (compare view) says more suppliers sit to the right. */
@media (max-width: 767.98px) {
  [data-testid=compare] th[scope=row], [data-testid=compare] thead th:first-child { position: sticky; left: 0; z-index: 1; background: var(--tblr-bg-surface); width: 7.5rem !important; min-width: 7.5rem; box-shadow: 1px 0 0 var(--tblr-border-color); }
  [data-testid=compare] td, [data-testid=compare] thead th:not(:first-child) { min-width: 11rem; width: 12rem; white-space: normal; }
}
@media (min-width: 768px) { .ihv-swipe-hint { display: none; } }
.card-actions > a { white-space: nowrap; }

/* ---------------------------------------------------------------------------
 * Sign-in pages (29 Oct 2026): /, /loginbyotp, /login, password reset.
 * One card on the Inyosi ground, logo above, hex field around it that wakes near the pointer (app.js).
 * Craft reference: _refs/design-library/reference-sites/elevenlabs-signin.
 * ------------------------------------------------------------------------- */
body.ihv-auth { background: radial-gradient(60rem 32rem at 50% -8rem, color-mix(in oklab, #FFC812 12%, transparent), transparent 70%), var(--tblr-body-bg); }
.ihv-auth-main { position: relative; isolation: isolate; overflow: hidden; min-height: 100vh; min-height: 100dvh; display: grid; place-items: center;
  padding: max(2rem, env(safe-area-inset-top)) max(1rem, env(safe-area-inset-right)) max(2rem, env(safe-area-inset-bottom)) max(1rem, env(safe-area-inset-left)); }
.ihv-auth-main > .ihv-hexfield { position: absolute; inset: 0; z-index: -1; pointer-events: none; color: var(--tblr-border-color);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 45%, transparent 35%, #000 95%); mask-image: radial-gradient(ellipse 70% 60% at 50% 45%, transparent 35%, #000 95%); }
.ihv-auth-col { width: min(100%, 25rem); display: flex; flex-direction: column; gap: 1.5rem; }
.ihv-auth-brand { align-self: center; display: inline-flex; border-radius: var(--tblr-border-radius); }
.ihv-auth-card { box-shadow: 0 1px 2px rgba(17, 17, 17, .06), 0 4px 12px light-dark(rgba(17, 17, 17, .05), rgba(0, 0, 0, .35)); }
.ihv-auth-card .card-body { padding: 2rem; }
@media (max-width: 400px) { .ihv-auth-card .card-body { padding: 1.5rem 1.25rem; } }
.ihv-auth-title { font-size: 1.5rem; font-weight: 700; letter-spacing: -.025em; margin: 0 0 .375rem; }
.ihv-auth-title:focus { outline: none; }
.ihv-auth-sub { color: var(--tblr-secondary); font-size: .9375rem; margin: 0 0 1.5rem; }
.ihv-auth .form-label { font-weight: 600; }
.ihv-auth .form-control, .ihv-auth .btn { min-height: 44px; }
.ihv-auth .alert { margin-bottom: 1.25rem; }
.ihv-auth-link { padding: 0; min-height: 44px !important; border: 0; background: none !important; box-shadow: none; color: var(--ihv-accent-text); font-weight: 600; font-size: .875rem; }
.ihv-auth-link:hover { color: var(--tblr-link-hover-color); }.ihv-auth-pw .btn { min-width: 4.5rem; }
.ihv-otp { font-size: 1.25rem !important; letter-spacing: .4em; font-variant-numeric: tabular-nums; }
.ihv-auth-or { display: flex; align-items: center; gap: .75rem; margin: 1.25rem 0; color: var(--tblr-secondary); font-size: .8125rem; }
.ihv-auth-or::before, .ihv-auth-or::after { content: ""; flex: 1; border-top: 1px solid var(--tblr-border-color); }
.ihv-auth-foot .btn { min-width: 44px; min-height: 44px; }
/* One honey fill per screen (the primary button): the active theme is marked in ink, not yellow. */
.ihv-auth-foot .btn-group .btn.active, .ihv-auth-foot .btn-group .btn.active:hover { background: var(--tblr-bg-surface-secondary) !important; color: var(--tblr-body-color) !important; border-color: var(--tblr-border-color) !important; box-shadow: inset 0 -2px 0 var(--tblr-body-color); }
.ihv-auth-foot { display: flex; flex-direction: column; align-items: center; gap: .75rem; color: var(--tblr-secondary); font-size: .8125rem; text-align: center; }
/* Account chooser after a valid code: the server sends inline-styled links, so these rules override them. */
.ihv-auth-profiles h3 { font-size: 1.25rem !important; font-weight: 700; text-align: left !important; margin: 0 0 1rem; }
.ihv-auth-profiles a { display: flex !important; align-items: center; min-height: 44px; padding: .625rem 1rem; margin-bottom: .5rem; font-size: 1rem !important; font-weight: 600;
  text-align: left !important; color: var(--tblr-body-color); border: 1px solid var(--tblr-border-color); border-radius: var(--tblr-border-radius); background: var(--tblr-bg-surface); }
.ihv-auth-profiles a:hover { border-color: #FFC812; background: var(--tblr-primary-lt); color: var(--tblr-body-color); }
.ihv-auth-profiles br { display: none; }

/* Supplier cards and profile header (30 Oct 2026): sector on its own row, location on a second row with a pin. */
.ihv-sector { color: var(--tblr-body-color); font-size: .875rem; }
.ihv-location { display: flex; align-items: flex-start; gap: .375rem; color: var(--tblr-secondary); font-size: .8125rem; margin-top: .25rem; }
.ihv-location .icon { flex-shrink: 0; margin-top: .125rem; color: var(--ihv-accent-text); }