
/* Fahs — component styles. Every colour, space and radius is a token from tokens.css. */
.fh-root, .fh-root * { box-sizing: border-box; }
.fh-root { font-family: var(--font-sans); color: var(--ink); background: var(--surface-100); font-size: 16px; line-height: 26px; }
.fh-icon { flex: none; display: block; }
.fh-stack { display: flex; flex-direction: column; gap: var(--space-4); }
.fh-row { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-3); }

/* tones shared by pills and results */
.fh-tone--genuine  { --fh-fg: var(--genuine);  --fh-bg: var(--genuine-soft); }
.fh-tone--sold     { --fh-fg: var(--caution);  --fh-bg: var(--caution-soft); }
.fh-tone--mismatch { --fh-fg: var(--danger);   --fh-bg: var(--danger-soft); }
.fh-tone--unknown  { --fh-fg: var(--unknown);  --fh-bg: var(--unknown-soft); }

/* Button */
.fh-btn { display: inline-flex; align-items: center; justify-content: center; gap: var(--space-2); border: 1px solid transparent; border-radius: var(--radius-md); font: inherit; font-weight: 600; cursor: pointer; transition: background .15s, border-color .15s; }
.fh-btn--md { min-height: 44px; padding: 0 var(--space-4); font-size: 15px; }
.fh-btn--lg { min-height: 52px; padding: 0 var(--space-6); font-size: 17px; }
.fh-btn--block { width: 100%; }
.fh-btn--primary { background: var(--brand); color: var(--on-fill); }
.fh-btn--secondary { background: var(--surface-000); color: var(--ink); border-color: var(--line); }
.fh-btn--secondary:hover { background: var(--surface-200); }
.fh-btn--ghost { background: transparent; color: var(--brand); }
.fh-btn--ghost:hover { background: var(--brand-soft); }
.fh-btn--danger { background: var(--danger); color: var(--on-fill); }
.fh-btn:focus-visible, .fh-scan:focus-visible, .fh-field__input:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
.fh-btn:disabled { opacity: .45; cursor: not-allowed; }

/* ScanButton */
.fh-scan { display: flex; align-items: center; gap: var(--space-4); width: 100%; padding: var(--space-3) var(--space-3) var(--space-3) var(--space-6); border: 0; border-radius: var(--radius-pill); background: var(--brand); color: var(--on-fill); font: inherit; text-align: start; cursor: pointer; }
.fh-scan__ring { display: grid; place-items: center; width: 56px; height: 56px; border-radius: var(--radius-pill); background: var(--genuine); color: var(--on-fill); flex: none; }
.fh-scan__text { display: flex; flex-direction: column; }
.fh-scan__label { font-size: 18px; line-height: 26px; font-weight: 700; }
.fh-scan__hint { font-size: 13px; line-height: 18px; opacity: .85; }

/* StatusPill */
.fh-pill { display: inline-flex; align-items: center; gap: var(--space-1); padding: 2px var(--space-3) 2px var(--space-2); border-radius: var(--radius-pill); background: var(--fh-bg); color: var(--fh-fg); font-size: 13px; line-height: 22px; font-weight: 600; }

/* SerialCode */
.fh-serial { display: inline-flex; gap: 0; font-family: var(--font-mono); font-weight: 600; color: var(--ink); letter-spacing: .04em; direction: ltr; unicode-bidi: isolate; }
.fh-serial--md { font-size: 18px; line-height: 24px; }
.fh-serial--sm { font-size: 14px; line-height: 20px; }
.fh-serial--lg { font-size: 24px; line-height: 30px; }

/* VerifyResult */
.fh-result { background: var(--surface-000); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
.fh-result__head { display: flex; gap: var(--space-4); align-items: flex-start; padding: var(--space-6) var(--space-4); background: var(--fh-bg); color: var(--ink); }
.fh-result__seal { display: grid; place-items: center; width: 52px; height: 52px; border-radius: var(--radius-pill); background: var(--surface-000); color: var(--fh-fg); border: 2px solid var(--fh-fg); flex: none; }
.fh-result__title { margin: 0; font-size: 22px; line-height: 30px; font-weight: 700; color: var(--fh-fg); }
.fh-result__msg { margin: var(--space-1) 0 0; font-size: 14px; line-height: 22px; color: var(--ink); }
.fh-result__rows { padding: var(--space-2) var(--space-4); }
.fh-result__row { display: flex; justify-content: space-between; align-items: center; gap: var(--space-4); padding: var(--space-3) 0; border-bottom: 1px solid var(--line); }
.fh-result__row:last-child { border-bottom: 0; }
.fh-result__key { font-size: 13px; line-height: 18px; font-weight: 600; color: var(--ink-muted); }
.fh-result__val { font-size: 15px; font-weight: 600; text-align: end; }
.fh-result__action { padding: 0 var(--space-4) var(--space-4); }

/* ShopPlaque */
.fh-plaque { display: inline-flex; flex-direction: column; gap: var(--space-2); min-width: 220px; padding: var(--space-4) var(--space-6); border-radius: var(--radius-lg); background: var(--brand); color: var(--on-fill); text-align: center; }
.fh-plaque__top { display: flex; justify-content: space-between; align-items: center; gap: var(--space-3); font-size: 13px; font-weight: 600; }
.fh-plaque__brand, .fh-plaque__ok { display: inline-flex; align-items: center; gap: var(--space-1); }
.fh-plaque__ok { padding: 0 var(--space-2); border-radius: var(--radius-pill); background: var(--genuine); color: var(--on-fill); }
.fh-plaque__num { font-family: var(--font-mono); font-size: 44px; line-height: 48px; font-weight: 600; letter-spacing: .02em; }
.fh-plaque__name { font-size: 16px; font-weight: 700; }
.fh-plaque__foot { font-size: 12px; line-height: 18px; opacity: .85; border-top: 1px solid currentColor; padding-top: var(--space-2); }

/* CustodyChain */
.fh-chain { list-style: none; margin: 0; padding: 0; }
.fh-chain__step { position: relative; display: flex; gap: var(--space-3); padding-bottom: var(--space-6); }
.fh-chain__step:last-child { padding-bottom: 0; }
.fh-chain__step::before { content: ''; position: absolute; inset-inline-start: 19px; top: 40px; bottom: 0; width: 2px; background: var(--genuine); }
.fh-chain__step:last-child::before { display: none; }
.fh-chain__step--current::before, .fh-chain__step--pending::before { background: var(--line); }
.fh-chain__node { display: grid; place-items: center; width: 40px; height: 40px; border-radius: var(--radius-pill); flex: none; background: var(--genuine-soft); color: var(--genuine); border: 2px solid var(--genuine); }
.fh-chain__step--current .fh-chain__node { background: var(--brand); color: var(--on-fill); border-color: var(--brand); }
.fh-chain__step--pending .fh-chain__node { background: var(--surface-200); color: var(--ink-muted); border: 2px dashed var(--line); }
.fh-chain__body { padding-top: 2px; }
.fh-chain__name { display: flex; align-items: center; gap: var(--space-2); font-weight: 700; font-size: 16px; line-height: 24px; }
.fh-chain__code { font-family: var(--font-mono); font-size: 13px; padding: 0 var(--space-2); border-radius: var(--radius-sm); background: var(--surface-200); color: var(--ink); }
.fh-chain__meta { font-size: 13px; line-height: 20px; color: var(--ink-muted); }
.fh-chain__step--pending .fh-chain__name { color: var(--ink-muted); }

/* PartLabel — the printed sticker */
.fh-label { width: 320px; border-radius: var(--radius-lg); background: var(--surface-000); color: var(--ink); border: 1px solid var(--line); overflow: hidden; }
.fh-label__main { display: flex; gap: var(--space-3); padding: var(--space-3); align-items: center; }
.fh-qr { width: 92px; height: 92px; flex: none; fill: var(--ink); background: var(--surface-000); }
.fh-label__info { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.fh-label__brand { display: inline-flex; align-items: center; gap: var(--space-1); font-size: 12px; font-weight: 700; color: var(--genuine); }
.fh-label__part { font-size: 15px; font-weight: 700; line-height: 22px; }
.fh-label__issuer { font-size: 12px; color: var(--ink-muted); }
.fh-label__scratch { margin: 0 var(--space-3); height: 36px; display: grid; place-items: center; border-radius: var(--radius-sm); font-size: 12px; font-weight: 600; color: var(--ink); background: repeating-linear-gradient(135deg, var(--surface-200) 0 6px, var(--line) 6px 12px); }
.fh-label__scratch.is-open { background: var(--surface-200); }
.fh-label__pin { font-family: var(--font-mono); font-size: 18px; letter-spacing: .3em; font-weight: 600; }
.fh-label__tamper { margin-top: var(--space-2); padding: var(--space-1) var(--space-3); font-size: 11px; line-height: 16px; color: var(--ink-muted); border-top: 1px dashed var(--line); text-align: center; }

/* TextField */
.fh-field { display: flex; flex-direction: column; gap: var(--space-1); }
.fh-field__label { font-size: 13px; line-height: 18px; font-weight: 600; color: var(--ink); }
.fh-field__input { min-height: 48px; padding: 0 var(--space-3); border: 1px solid var(--line); border-radius: var(--radius-md); background: var(--surface-000); color: var(--ink); font: inherit; font-size: 16px; }
.fh-field__input::placeholder { color: var(--ink-muted); }
.fh-field__input--mono { font-family: var(--font-mono); letter-spacing: .08em; text-align: left; }
.fh-field.is-error .fh-field__input { border-color: var(--danger); }
.fh-field__hint { font-size: 13px; color: var(--ink-muted); }
.fh-field__error { display: inline-flex; align-items: center; gap: var(--space-1); font-size: 13px; color: var(--danger); font-weight: 600; }

/* PointsCard */
.fh-points { display: flex; flex-direction: column; gap: var(--space-4); padding: var(--space-4); border-radius: var(--radius-lg); background: var(--surface-000); border: 1px solid var(--line); }
.fh-points__head { display: flex; gap: var(--space-3); align-items: center; }
.fh-points__coin { display: grid; place-items: center; width: 44px; height: 44px; border-radius: var(--radius-pill); background: var(--reward); color: var(--ink-on-reward); flex: none; }
.fh-points__who { font-weight: 700; }
.fh-points__sub { font-size: 13px; line-height: 18px; color: var(--ink-muted); }
.fh-points__num { display: flex; align-items: baseline; gap: var(--space-2); font-family: var(--font-mono); font-size: 40px; line-height: 44px; font-weight: 600; }
.fh-points__num small { font-family: var(--font-sans); font-size: 15px; font-weight: 600; color: var(--ink-muted); }
.fh-points__sar { margin-inline-start: auto; font-family: var(--font-sans); font-size: 15px; font-weight: 700; padding: 2px var(--space-3); border-radius: var(--radius-pill); background: var(--reward); color: var(--ink-on-reward); }
.fh-points__bar { height: 8px; border-radius: var(--radius-pill); background: var(--surface-200); overflow: hidden; }
.fh-points__bar span { display: block; height: 100%; background: var(--reward); border-radius: var(--radius-pill); }

.fh-mono { font-family: var(--font-mono); font-weight: 600; direction: ltr; unicode-bidi: isolate; }

/* Stepper */
.fh-steps { list-style: none; margin: 0; padding: 0; display: flex; gap: var(--space-2); }
.fh-steps__item { flex: 1; display: flex; flex-direction: column; align-items: center; gap: var(--space-1); position: relative; text-align: center; }
.fh-steps__item:not(:last-child)::after { content: ''; position: absolute; top: 15px; inset-inline-start: calc(50% + 20px); inset-inline-end: calc(-50% + 12px); height: 2px; background: var(--line); }
.fh-steps__item--done:not(:last-child)::after { background: var(--genuine); }
.fh-steps__dot { display: grid; place-items: center; width: 32px; height: 32px; border-radius: var(--radius-pill); font-family: var(--font-mono); font-size: 14px; font-weight: 600; background: var(--surface-200); color: var(--ink-muted); border: 2px solid var(--line); }
.fh-steps__item--done .fh-steps__dot { background: var(--genuine); color: var(--on-fill); border-color: var(--genuine); }
.fh-steps__item--current .fh-steps__dot { background: var(--brand); color: var(--on-fill); border-color: var(--brand); }
.fh-steps__label { font-size: 13px; line-height: 18px; font-weight: 600; color: var(--ink-muted); }
.fh-steps__item--current .fh-steps__label { color: var(--ink); }

/* InvoiceCheck */
.fh-invoice { border-radius: var(--radius-lg); background: var(--surface-000); border: 1px solid var(--line); overflow: hidden; }
.fh-invoice--empty { width: 100%; display: flex; flex-direction: column; align-items: center; gap: var(--space-2); padding: var(--space-8) var(--space-4); border: 2px dashed var(--line); background: var(--surface-000); color: var(--ink); font: inherit; cursor: pointer; }
.fh-invoice--empty:disabled { cursor: progress; }
.fh-invoice__icon { display: grid; place-items: center; width: 56px; height: 56px; border-radius: var(--radius-pill); background: var(--brand-soft); color: var(--brand); }
.fh-invoice__label { font-size: 17px; font-weight: 700; }
.fh-invoice__hint { font-size: 13px; line-height: 18px; color: var(--ink-muted); }
.fh-invoice__head { display: flex; align-items: center; gap: var(--space-2); padding: var(--space-3) var(--space-4); background: var(--fh-bg); color: var(--fh-fg); }
.fh-invoice__title { font-weight: 700; color: var(--ink); margin-inline-end: auto; }
.fh-invoice__head .fh-pill { background: var(--surface-000); }
.fh-invoice__note { margin: 0; padding: 0 var(--space-4) var(--space-4); font-size: 13px; line-height: 20px; color: var(--ink-muted); }

/* RewardCard */
.fh-rewardcard { display: flex; flex-direction: column; gap: var(--space-3); padding: var(--space-4); border-radius: var(--radius-lg); background: var(--surface-000); border: 1px solid var(--line); }
.fh-rewardcard__top { display: flex; align-items: center; gap: var(--space-3); }
.fh-rewardcard__coin { display: grid; place-items: center; width: 44px; height: 44px; border-radius: var(--radius-pill); background: var(--reward); color: var(--ink-on-reward); flex: none; }
.fh-rewardcard__bal { display: flex; flex-direction: column; margin-inline-end: auto; }
.fh-rewardcard__bal > span { font-size: 13px; line-height: 18px; font-weight: 600; color: var(--ink-muted); }
.fh-rewardcard__bal b { display: flex; align-items: baseline; gap: var(--space-1); font-family: var(--font-mono); font-size: 26px; line-height: 30px; }
.fh-rewardcard__bal small { font-family: var(--font-sans); font-size: 14px; font-weight: 600; color: var(--ink-muted); }
.fh-rewardcard__earned { padding: 2px var(--space-3); border-radius: var(--radius-pill); background: var(--reward); color: var(--ink-on-reward); font-size: 13px; font-weight: 700; white-space: nowrap; }
.fh-rewardcard__next { display: flex; flex-direction: column; gap: var(--space-1); }
.fh-rewardcard__nextrow { display: flex; justify-content: space-between; gap: var(--space-2); font-size: 13px; line-height: 20px; }
.fh-rewardcard__nextrow .fh-mono { color: var(--ink-muted); }
.fh-rewardcard__bar { height: 8px; border-radius: var(--radius-pill); background: var(--surface-200); overflow: hidden; }
.fh-rewardcard__bar span { display: block; height: 100%; border-radius: var(--radius-pill); background: var(--reward); }
.fh-rewardcard__list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-2); }
.fh-rewardcard__item { display: flex; flex-direction: column; align-items: center; gap: 2px; min-height: 56px; padding: var(--space-2) var(--space-1); border: 1px solid var(--line); border-radius: var(--radius-md); background: var(--surface-100); color: var(--ink); font: inherit; text-align: center; cursor: default; }
.fh-rewardcard__item b { font-size: 12px; line-height: 16px; }
.fh-rewardcard__item .fh-mono { font-size: 12px; color: var(--ink-muted); }
.fh-rewardcard__item.is-ready { background: var(--reward); border-color: var(--reward); color: var(--ink-on-reward); cursor: pointer; }
.fh-rewardcard__item.is-ready .fh-mono { color: var(--ink-on-reward); }
.fh-rewardcard__item:disabled { opacity: 1; }
.fh-rewardcard__item:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }

/* Stamp — the ink mark each holder leaves in a part's passport */
.fh-stamp { position: relative; display: inline-grid; place-items: center; flex: none; box-sizing: border-box; border-radius: var(--radius-pill); font-family: var(--font-sans); }
.fh-stamp--ink { color: var(--brand); }
.fh-stamp--current { color: var(--genuine); }
.fh-stamp--void { color: var(--danger); }
.fh-stamp__ring { position: absolute; inset: 0; width: 100%; height: 100%; }
.fh-stamp__body { position: relative; display: flex; flex-direction: column; align-items: center; gap: 1px; max-width: 72%; text-align: center; }
.fh-stamp__role { font-weight: 700; line-height: 1.2; }
.fh-stamp__num { font-family: var(--font-mono); font-weight: 600; line-height: 1; letter-spacing: .02em; }
.fh-stamp__meta { line-height: 1.3; }
.fh-stamp--sm .fh-stamp__role, .fh-stamp--sm .fh-stamp__meta { font-size: 9px; }
.fh-stamp--sm .fh-stamp__num { font-size: 22px; }
.fh-stamp--md .fh-stamp__role, .fh-stamp--md .fh-stamp__meta { font-size: 11px; }
.fh-stamp--md .fh-stamp__num { font-size: 32px; }
.fh-stamp--lg .fh-stamp__role { font-size: 15px; }
.fh-stamp--lg .fh-stamp__num { font-size: 64px; }
.fh-stamp--lg .fh-stamp__meta { font-size: 13px; }
.fh-stamp--empty { display: inline-flex; flex-direction: column; align-items: center; justify-content: center; gap: var(--space-1); border: 2px dashed var(--line); color: var(--ink-muted); text-align: center; }
.fh-stamp--empty b { color: var(--ink); font-size: 13px; }
.fh-stamp--empty span { font-size: 11px; }
.fh-stamp__void { position: absolute; top: 50%; left: -6%; right: -6%; transform: translateY(-50%) rotate(-24deg); padding: 2px 0; border-top: 2px solid currentColor; border-bottom: 2px solid currentColor; background: var(--surface-000); font-size: 13px; font-weight: 700; letter-spacing: .1em; text-align: center; }

/* Passport — a part's identity: cover + a page of stamps + the verdict */
.fh-passport { display: flex; flex-direction: column; border-radius: var(--radius-lg); overflow: hidden; background: var(--brand); box-shadow: var(--shadow-card); }
.fh-passport__cover { display: flex; flex-direction: column; gap: var(--space-3); padding: var(--space-4) var(--space-4) var(--space-6); color: var(--on-fill); }
.fh-passport__brand { display: flex; justify-content: space-between; align-items: center; font-size: 14px; font-weight: 700; }
.fh-passport__brand > span:first-child { display: inline-flex; align-items: center; gap: 6px; }
.fh-passport__kind { font-size: 12px; font-weight: 600; opacity: .8; }
.fh-passport__id { display: flex; justify-content: space-between; align-items: flex-end; gap: var(--space-3); }
.fh-passport__part { font-size: 24px; line-height: 32px; font-weight: 700; }
.fh-passport__oem { font-size: 13px; line-height: 20px; opacity: .85; }
.fh-passport__serial { font-family: var(--font-mono); font-size: 12px; font-weight: 600; letter-spacing: .06em; padding: 4px 8px; border: 1px solid currentColor; border-radius: var(--radius-sm); white-space: nowrap; }
.fh-passport__page { display: flex; flex-direction: column; gap: var(--space-4); margin-top: calc(-1 * var(--space-2)); padding: var(--space-4); border-radius: var(--radius-lg) var(--radius-lg) 0 0; background-color: var(--surface-000); background-image: repeating-linear-gradient(0deg, transparent 0 27px, var(--surface-200) 27px 28px); color: var(--ink); }
.fh-passport__head { display: flex; justify-content: space-between; align-items: baseline; }
.fh-passport__head b { font-size: 17px; }
.fh-passport__head span { font-size: 12px; color: var(--ink-muted); }
.fh-passport__stamps { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-3) var(--space-2); justify-items: center; }
.fh-passport__verdict { display: flex; align-items: center; gap: var(--space-3); padding: var(--space-3); border-radius: var(--radius-lg); background: var(--fh-bg); }
.fh-passport__seal { display: grid; place-items: center; width: 36px; height: 36px; border-radius: var(--radius-pill); background: var(--fh-fg); color: var(--on-fill); flex: none; }
.fh-passport__verdict b { display: block; color: var(--fh-fg); font-size: 16px; line-height: 24px; }
.fh-passport__verdict span { font-size: 13px; line-height: 20px; color: var(--ink); }

/* ===== Identity v2 overrides (Nov 2026) =====
   Ink + Cobalt carry the identity. Green, yellow and red appear only in scan results.
   Rules here come last on purpose: they override the earlier ones above. */
.fh-tone--genuine { --fh-fg: var(--genuine); --fh-bg: var(--genuine-soft); --fh-fill: var(--genuine); --fh-on: var(--on-fill); }
.fh-tone--review, .fh-tone--mismatch { --fh-fg: var(--caution); --fh-bg: var(--caution-soft); --fh-fill: var(--caution-fill); --fh-on: var(--ink-on-caution); }
.fh-tone--sold, .fh-tone--cancelled, .fh-tone--unknown { --fh-fg: var(--danger); --fh-bg: var(--danger-soft); --fh-fill: var(--danger); --fh-on: var(--on-fill); }
.fh-mark { flex: none; display: block; }
.fh-btn--danger { background: var(--ink); color: var(--surface-000); }
.fh-scan__ring { background: var(--on-fill); color: var(--brand); }
.fh-pill { border-radius: var(--radius-sm); font-size: 14px; }
.fh-result__head { background: var(--fh-fill); color: var(--fh-on); }
.fh-result__seal { width: 44px; height: 44px; background: transparent; border: 0; color: inherit; }
.fh-result__seal .fh-icon { width: 44px; height: 44px; }
.fh-result__title { color: inherit; font-size: 26px; line-height: 34px; }
.fh-result__msg { color: inherit; font-size: 16px; line-height: 26px; }
.fh-result__key { font-size: 14px; }
.fh-plaque { background: var(--ink); color: var(--surface-000); }
.fh-plaque__ok { background: var(--brand); color: var(--on-fill); border-radius: var(--radius-sm); }
.fh-chain__step::before { background: var(--ink); }
.fh-chain__step--current::before, .fh-chain__step--pending::before { background: var(--line); }
.fh-chain__node { background: var(--surface-000); color: var(--ink); border-color: var(--ink); }
.fh-label__brand { color: var(--ink); }
.fh-steps__item--done:not(:last-child)::after { background: var(--ink); }
.fh-steps__item--done .fh-steps__dot { background: var(--ink); color: var(--surface-000); border-color: var(--ink); }
.fh-points__bar span, .fh-rewardcard__bar span { background: var(--brand); }
.fh-points__coin, .fh-rewardcard__coin { color: var(--brand); }
.fh-stamp--ink { color: var(--ink); }
.fh-stamp--current { color: var(--brand); }
.fh-passport { background: var(--ink); }
.fh-passport__cover { color: var(--surface-000); }
.fh-passport__seal { background: var(--fh-fill); color: var(--fh-on); }

/* PartLabel v2 — the 30 x 30 mm label artwork. Inside it 1em = 1mm. Print colours are fixed (black on white) in both themes. */
.fh-label2 { position: relative; box-sizing: border-box; flex: none; direction: rtl; background: #fff; color: #000; border: 1px solid var(--line); border-radius: 1.5em; font-family: var(--font-sans); line-height: 1; overflow: hidden; }
.fh-label2 > div { position: absolute; white-space: nowrap; }
.fh-label2 i { display: inline-grid; place-items: center; flex: none; width: 1.3em; height: 1.3em; background: #000; color: #fff; font-family: var(--font-mono); font-style: normal; font-weight: 500; font-size: 1.7em; }
.fh-label2__logo { top: 1.5em; right: 1.8em; display: flex; align-items: center; gap: 1.3em; }
.fh-label2__logo span { font-size: 3.4em; font-weight: 700; line-height: .8; }
.fh-label2__qr { top: 7.4em; left: 2.4em; width: 13.5em; height: 13.5em; }
.fh-label2__qr .fh-qr { display: block; width: 100%; height: 100%; fill: #000; background: #fff; }
.fh-label2__s2 { top: 7.5em; right: 1.8em; display: flex; align-items: center; gap: .6em; }
.fh-label2__s2 b { font-size: 2.1em; font-weight: 700; }
.fh-label2__s2b { top: 10.7em; right: 1.8em; }
.fh-label2__s2b span { font-size: 1.55em; font-weight: 500; }
.fh-label2__scratch { top: 13.3em; right: 1.8em; width: 10.2em; height: 7.6em; display: grid; place-items: center; background: repeating-linear-gradient(135deg, #a7adb8 0 .32em, #8e95a2 .32em .64em); }
.fh-label2__scratch span { font-size: 1.6em; font-weight: 700; padding: .3em .6em; background: #a7adb8; }
.fh-label2__scratch.is-open { background: #fff; outline: .2em dashed #000; outline-offset: -.2em; }
.fh-label2__scratch.is-open span { padding: 0; background: none; font-family: var(--font-mono); font-size: 2.5em; font-weight: 500; line-height: 1.2; text-align: center; }
.fh-label2__s1 { top: 22.6em; left: 2.4em; width: 13.5em; display: flex; align-items: center; gap: .6em; }
.fh-label2__s1 span { font-size: 1.6em; font-weight: 500; }
.fh-label2__serial { bottom: 1.8em; left: 2.4em; }
.fh-label2__serial span { font-family: var(--font-mono); font-size: 2.1em; font-weight: 500; }
.fh-label2__sn { bottom: 1.9em; right: 1.8em; }
.fh-label2__sn span { font-size: 1.35em; font-weight: 500; }
