/* TWR storefront UI kit: design tokens and the reusable components every page builds on.
   Loaded on every storefront page after Dawn's CSS, so it can override Dawn where needed.
   Mobile first; desktop tweaks start at 750px and 990px. Plain CSS, no build step.

   Sections: 1 Dawn variables (the design tokens are in tokens.css) . 2 base . 3 Dawn overrides (buttons, header, footer) . 4 tab bar . 5 buttons . 6 chips and pills .
             7 rows and cards . 8 section header and segmented control . 9 sheet . 10 action bar . 11 utilities */

/* ---------- 1. Dawn variables ---------- */
/* The colour, type, shape and layout tokens are in tokens.css, linked before this file (the admin uses them too). */
:root {
  /* Dawn: square corners become soft ones, so every Dawn button and form matches the kit */
  --buttons-radius: 10px;
  --buttons-radius-outset: 10px;
  --inputs-radius: 10px;
  --inputs-radius-outset: 10px;
}

/* ---------- 2. Base ---------- */
body {
  font-family: var(--ui-font-body);
  font-size: 1.6rem;
  line-height: 1.5;
  letter-spacing: 0;
  color: rgba(var(--color-foreground), 0.92);
  -webkit-text-size-adjust: 100%;
}
@media screen and (min-width: 750px) { body { font-size: 1.7rem; } }

/* Source Code Pro carries headings, labels, prices, codes and the nav */
h1, h2, h3, h4, h5, h6, .h0, .h1, .h2, .h3, .h4, .h5 {
  font-family: var(--ui-font-mono);
  font-weight: 700;
  letter-spacing: 0;
}
.price, .price-item, .price__container, .cart-item__price-wrapper, .totals__total-value, .totals__subtotal-value,
.caption-with-letter-spacing, .badge, .product__text, .quantity__input, .cart-count-bubble {
  font-family: var(--ui-font-mono);
}
.price, .price-item { font-weight: 600; }
.ui-mono, code, kbd, samp { font-family: var(--ui-font-mono); }

:focus-visible { outline: 2px solid var(--ui-signal); outline-offset: 2px; }
.focus-inset:focus-visible { outline-offset: -2px; }

/* Reduced motion, for everything on every page (Dawn's transitions, the spinner, smooth scrolling, the sheets): no animation, no easing, no smooth scroll */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; animation-delay: 0s !important;
    transition-duration: 0.01ms !important; transition-delay: 0s !important; scroll-behavior: auto !important; }
}

/* ---------- 3. Dawn overrides ---------- */

/* Buttons: one primary style (green, black text) everywhere Dawn draws a .button. Colours come from the colour
   schemes in layout.html; this sets the shape, type and the visible outline on secondary buttons. */
.button, .shopify-challenge__button, .customer button, button.shopify-payment-button__button--unbranded {
  min-height: 48px;
  font-family: var(--ui-font-mono);
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

/* The search panel in the header (Dawn's predictive search) */
.predictive-search__item { min-height: 44px; }
.predictive-search__image { width: 56px; height: 56px; object-fit: cover; border-radius: 8px; background: var(--ui-surface); }
.predictive-search__item-price { margin: 2px 0 0; font-family: var(--ui-font-mono); font-size: 1.3rem; font-weight: 600; color: var(--ui-muted); }

/* Header: 56px, small logo on the left, search and bag on the right. Desktop adds the menu links. */
.header-wrapper { background: var(--ui-ink); border-bottom: 1px solid var(--ui-line); }
.header.site-header {
  display: grid;
  grid-template-areas: "heading icons";
  grid-template-columns: 1fr auto;
  align-items: center;
  height: var(--ui-header-h);
  padding: 0 8px 0 var(--ui-gutter);
}
.site-header .header__heading, .site-header .header__heading-link { grid-area: heading; justify-self: start; margin: 0; }
.site-header .header__heading-link {
  display: flex; align-items: center; min-height: var(--ui-tap); padding: 6px 12px 6px 0;
}
/* The logo file has about 45% empty margin around the mark, so the image is drawn larger than its 32px slot */
.site-header .header__heading-logo-wrapper,
.scrolled-past-header .site-header .header__heading-logo-wrapper { width: 32px; height: 32px; display: block; transition: none; }
.site-header .header__heading-logo { width: 56px; height: 56px; margin: -12px; max-width: none; object-fit: contain; display: block; }
.site-header .header__icons { grid-area: icons; display: flex; align-items: center; padding: 0; gap: 0; }
.site-header .header__icon, .site-header .header__icon--cart .icon { width: var(--ui-tap); height: var(--ui-tap); }
.site-header .header__icon--cart { margin: 0; }
.site-header .header__icon--account { display: none; }
.site-header .header__inline-menu { display: none; grid-area: nav; margin: 0; }
.site-header .header__icon .icon { width: 22px; height: 22px; }
.site-header .header__icon--cart .icon { width: var(--ui-tap); height: var(--ui-tap); }   /* the bag artwork sits inside a 40px box */
.list-menu { list-style: none; padding: 0; margin: 0; }
.list-menu--inline { display: inline-flex; flex-wrap: wrap; }
.list-menu__item { display: flex; align-items: center; }
.site-header .cart-count-bubble {
  background: var(--ui-signal); color: var(--ui-on-signal);
  font-weight: 700; font-size: 1.1rem; min-width: 1.8rem; height: 1.8rem; line-height: 1.8rem;
  bottom: 0.6rem; left: 2.2rem;
}
.header__icon--summary .modal__toggle-close { display: none; }
/* Dawn's .header.page-width pads the header 32px (tablet) and 50px (desktop) and caps it at 120rem; the header takes the same 32px gutter and
   130rem cap as the page content, so the logo sits on the content's left edge at every width */
@media screen and (min-width: 750px) {
  .header.site-header:not(.drawer-menu) { max-width: 130rem; padding: 0 24px 0 32px; }
}
@media screen and (min-width: 990px) {
  .header.site-header:not(.drawer-menu) {
    grid-template-areas: "heading nav icons";
    grid-template-columns: auto 1fr auto;
    column-gap: 20px;
    padding: 0 24px 0 32px;
  }
  .site-header .header__heading-logo-wrapper,
  .scrolled-past-header .site-header .header__heading-logo-wrapper { width: 36px; height: 36px; }
  .site-header .header__heading-logo { width: 58px; height: 58px; margin: -11px; }
  .site-header .header__inline-menu { display: block; }
  .site-header .header__icon--account { display: flex; }
  .site-header .list-menu--inline { flex-wrap: nowrap; }
  .site-header .header__menu-item {
    font-family: var(--ui-font-mono); font-weight: 600; font-size: 1.3rem; letter-spacing: 0.04em;
    padding: 1.2rem 1rem; color: var(--ui-muted);
  }
  .site-header .header__menu-item:hover, .site-header .header__menu-item[aria-current="page"] { color: var(--ui-text); }
  .site-header .header__active-menu-item { text-decoration-color: var(--ui-signal); text-decoration-thickness: 2px; text-underline-offset: 6px; }
}

/* Footer: compact, links to the pages that aren't in the tab bar */
.site-footer { background: var(--ui-ink); border-top: 1px solid var(--ui-line); color: var(--ui-muted); }
.site-footer__inner { padding: 20px var(--ui-gutter) 24px; }
.site-footer__links { display: flex; flex-wrap: wrap; gap: 0 22px; }
.site-footer__link {
  display: inline-flex; align-items: center; gap: 8px; min-height: var(--ui-tap);
  font-family: var(--ui-font-mono); font-weight: 600; font-size: 1.4rem; color: var(--ui-text); text-decoration: none;
}
.site-footer__link:hover { text-decoration: underline; text-underline-offset: 4px; }
.site-footer__social .icon { width: 18px; height: 18px; }
.site-footer__copy { margin: 4px 0 0; font-size: 1.3rem; color: var(--ui-muted); }
.site-footer__copy a { color: inherit; }
@media screen and (min-width: 750px) { .site-footer__inner { padding: 24px 32px 28px; } }

/* Room for the tab bar and any action bar, so nothing is ever hidden behind them */
@media screen and (max-width: 989px) {
  body { padding-bottom: calc(var(--ui-tabbar-h) + var(--ui-safe-bottom) + var(--ui-bar-pad)); }
}
@media screen and (min-width: 990px) {
  body { padding-bottom: var(--ui-bar-pad); }
}

/* ---------- 4. Tab bar (phones and small tablets) ---------- */
.ui-tabbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: var(--ui-z-tabbar);
  display: grid; grid-template-columns: repeat(4, 1fr);
  height: calc(var(--ui-tabbar-h) + var(--ui-safe-bottom));
  padding-bottom: var(--ui-safe-bottom);
  background: var(--ui-ink); border-top: 1px solid var(--ui-line);
}
.ui-tab {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px;
  min-height: var(--ui-tabbar-h); color: var(--ui-muted); text-decoration: none;
  font-family: var(--ui-font-mono); font-size: 1.2rem; font-weight: 600; letter-spacing: 0.02em;
  -webkit-tap-highlight-color: transparent;
}
.ui-tab__icon { width: 24px; height: 24px; }
.ui-tab.is-active { color: var(--ui-signal); }
.ui-tab:focus-visible { outline-offset: -4px; }
@media screen and (min-width: 990px) { .ui-tabbar { display: none; } }
/* the search panel covers the header; hide the bar under it so results aren't cut off */
body:has(.header__search details[open]) .ui-tabbar { display: none; }
@media print { .ui-tabbar, .site-header, .ui-bar { display: none !important; } body { padding-bottom: 0 !important; } }

/* ---------- 5. Buttons ---------- */
.ui-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 22px; border: 0; border-radius: var(--ui-radius-sm);
  font-family: var(--ui-font-mono); font-size: 1.5rem; font-weight: 600; letter-spacing: 0.02em; line-height: 1.2;
  text-align: center; text-decoration: none; cursor: pointer; -webkit-appearance: none; appearance: none;
  background: var(--ui-signal); color: var(--ui-on-signal);
  transition: transform 0.12s ease, background-color 0.12s ease, box-shadow 0.12s ease;
}
.ui-btn:active { transform: scale(0.98); }
.ui-btn:hover { background: #33ff33; }
.ui-btn[disabled], .ui-btn[aria-disabled="true"] { opacity: 0.45; cursor: not-allowed; transform: none; }
.ui-btn--secondary {
  background: transparent; color: var(--ui-text); box-shadow: inset 0 0 0 1px var(--ui-line-strong);
}
.ui-btn--secondary:hover { background: var(--ui-surface-2); box-shadow: inset 0 0 0 1px var(--ui-text); }
.ui-btn--quiet {
  background: transparent; color: var(--ui-text); padding: 0 12px; min-height: var(--ui-tap);
  text-decoration: underline; text-underline-offset: 4px; text-decoration-color: var(--ui-line-strong);
}
.ui-btn--quiet:hover { background: transparent; text-decoration-color: var(--ui-text); }
.ui-btn--small { min-height: var(--ui-tap); padding: 0 16px; font-size: 1.4rem; }
.ui-btn--block { display: flex; width: 100%; }
@media (prefers-reduced-motion: reduce) { .ui-btn, .ui-btn:active { transition: none; transform: none; } }

/* ---------- 6. Chips and status pills ---------- */
.ui-chips { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; margin: 0 calc(var(--ui-gutter) * -1); padding: 2px var(--ui-gutter); -webkit-overflow-scrolling: touch; }
.ui-chips::-webkit-scrollbar { display: none; }
.ui-chip {
  position: relative; flex: none; display: inline-flex; align-items: center; gap: 6px;
  min-height: 36px; padding: 0 14px; border-radius: var(--ui-pill);
  border: 1px solid var(--ui-line-strong); background: transparent; color: var(--ui-text);
  font-family: var(--ui-font-mono); font-size: 1.3rem; font-weight: 600; text-decoration: none; white-space: nowrap; cursor: pointer;
}
.ui-chip::before { content: ""; position: absolute; inset: -5px 0; }  /* 44px tap area around a 34px chip (36px less its borders) */
.ui-chip:hover { border-color: var(--ui-text); }
.ui-chip.is-active, .ui-chip[aria-pressed="true"], .ui-chip[aria-current="true"] {
  background: var(--ui-text); color: var(--ui-ink); border-color: var(--ui-text);
}

.ui-pill {
  display: inline-flex; align-items: center; gap: 5px; vertical-align: middle;
  padding: 3px 9px; border-radius: var(--ui-pill); white-space: nowrap;
  font-family: var(--ui-font-mono); font-size: 1.1rem; font-weight: 700; letter-spacing: 0.03em; line-height: 1.4; text-transform: uppercase;
  background: var(--ui-surface-2); color: var(--ui-muted);
}
.ui-pill--valid { background: var(--ui-signal-tint); color: var(--ui-signal); }
.ui-pill--warn { background: var(--ui-warn-tint); color: var(--ui-warn); }
.ui-pill--bad { background: var(--ui-bad-tint); color: var(--ui-bad); }
.ui-pill--neutral { background: var(--ui-surface-2); color: var(--ui-muted); }

/* ---------- 7. List rows and cards ---------- */
.ui-list { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--ui-line); }
.ui-row {
  display: flex; align-items: center; gap: 14px; min-height: 60px; padding: 10px 0;
  border-bottom: 1px solid var(--ui-line); color: var(--ui-text); text-decoration: none; background: none; width: 100%;
  font: inherit; text-align: left; cursor: pointer;
}
.ui-list--inset .ui-row, .ui-card .ui-row { padding-left: var(--ui-gutter); padding-right: var(--ui-gutter); }
.ui-row__lead { flex: none; width: 40px; height: 40px; display: grid; place-items: center; color: var(--ui-muted); }
.ui-row__main { flex: 1; min-width: 0; }
.ui-row__title { display: block; font-family: var(--ui-font-mono); font-weight: 600; font-size: 1.5rem; line-height: 1.3; overflow-wrap: anywhere; }
.ui-row__sub { display: block; margin-top: 2px; font-size: 1.4rem; color: var(--ui-muted); overflow-wrap: anywhere; }
.ui-row__value { flex: none; font-family: var(--ui-font-mono); font-weight: 600; font-size: 1.4rem; color: var(--ui-muted); }
a.ui-row::after, button.ui-row::after, .ui-row--link::after {   /* the chevron */
  content: ""; flex: none; width: 18px; height: 18px; background: var(--ui-muted);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 5l7 7-7 7'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 5l7 7-7 7'/%3E%3C/svg%3E") center / contain no-repeat;
}
.ui-row--plain::after { display: none; }
a.ui-row:hover, button.ui-row:hover { background: var(--ui-surface); }

.ui-card {
  background: var(--ui-surface); border: 1px solid var(--ui-line); border-radius: var(--ui-radius);
  padding: var(--ui-gutter); color: var(--ui-text);
}
.ui-card > .ui-list { margin: 0 calc(var(--ui-gutter) * -1); border-top: 0; }
.ui-card > .ui-list > .ui-row:last-child { border-bottom: 0; }
a.ui-card { display: block; text-decoration: none; }
a.ui-card:hover { border-color: var(--ui-line-strong); }

/* ---------- 8. Section header and segmented control ---------- */
.ui-section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin: 28px 0 12px; }
.ui-section-head__title { margin: 0; font-size: 1.8rem; line-height: 1.3; }
.ui-section-head__link {
  font-family: var(--ui-font-mono); font-size: 1.3rem; font-weight: 600; color: var(--ui-text);
  text-underline-offset: 4px; display: inline-flex; align-items: center; min-height: var(--ui-tap); margin: -12px 0;
}

.ui-seg {
  display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 2px; padding: 3px;
  background: var(--ui-surface); border: 1px solid var(--ui-line); border-radius: var(--ui-radius-sm);
}
.ui-seg__item {
  display: flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 12px; margin: 0;
  border: 0; border-radius: 8px; background: transparent; color: var(--ui-muted); cursor: pointer; text-align: center;
  font-family: var(--ui-font-mono); font-size: 1.3rem; font-weight: 600; text-decoration: none;
}
.ui-seg__item input { position: absolute; opacity: 0; pointer-events: none; }
.ui-seg__item:hover { color: var(--ui-text); }
.ui-seg__item.is-active, .ui-seg__item[aria-selected="true"], .ui-seg__item[aria-pressed="true"], .ui-seg__item:has(input:checked) {
  background: var(--ui-text); color: var(--ui-ink);
}
.ui-seg__item:has(input:focus-visible) { outline: 2px solid var(--ui-signal); outline-offset: 2px; }

/* ---------- 9. Bottom sheet ---------- */
/* <div class="ui-sheet" id="x" role="dialog" aria-modal="true" aria-labelledby="x-title" hidden>
     <div class="ui-sheet__backdrop" data-sheet-close></div>
     <div class="ui-sheet__panel" tabindex="-1">
       <div class="ui-sheet__header"><h2 class="ui-sheet__title" id="x-title">Title</h2>
         <button type="button" class="ui-sheet__close" data-sheet-close aria-label="Close">...</button></div>
       <div class="ui-sheet__body">...</div>
       <div class="ui-sheet__footer">...</div></div></div>
   Open with <button data-sheet-open="x">. */
.ui-sheet { position: fixed; inset: 0; z-index: var(--ui-z-sheet); display: flex; align-items: flex-end; justify-content: center; }
.ui-sheet[hidden] { display: none; }
.ui-sheet > .ui-sheet__backdrop { display: block; position: absolute; inset: 0; background: var(--ui-backdrop); opacity: 0; transition: opacity 0.22s ease; }
.ui-sheet__panel {
  position: relative; display: flex; flex-direction: column; width: 100%; max-height: 88vh; max-height: 88dvh;
  background: var(--ui-surface); color: var(--ui-text); border: 1px solid var(--ui-line); border-bottom: 0;
  border-radius: 20px 20px 0 0; padding-bottom: var(--ui-safe-bottom);
  transform: translateY(100%); transition: transform 0.26s cubic-bezier(0.2, 0.8, 0.2, 1); outline: none;
}
.ui-sheet.is-open > .ui-sheet__backdrop { opacity: 1; }
.ui-sheet.is-open .ui-sheet__panel { transform: none; }
.ui-sheet__panel::before {   /* grab handle */
  content: ""; flex: none; width: 36px; height: 4px; margin: 8px auto 0; border-radius: 2px; background: var(--ui-line-strong);
}
.ui-sheet__header { flex: none; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 4px 8px 4px var(--ui-gutter); min-height: 52px; }
.ui-sheet__title { margin: 0; font-size: 1.8rem; line-height: 1.3; }
.ui-sheet__close {
  flex: none; display: grid; place-items: center; width: var(--ui-tap); height: var(--ui-tap); padding: 0;
  border: 0; border-radius: 50%; background: transparent; color: var(--ui-text); cursor: pointer;
}
.ui-sheet__close:hover { background: var(--ui-surface-2); }
.ui-sheet__close svg { width: 20px; height: 20px; }
.ui-sheet__body { flex: 1 1 auto; min-height: 0; overflow-y: auto; overscroll-behavior: contain; padding: 4px var(--ui-gutter) var(--ui-gutter); -webkit-overflow-scrolling: touch; }
.ui-sheet__footer { flex: none; display: flex; gap: 12px; padding: 12px var(--ui-gutter); border-top: 1px solid var(--ui-line); }
.ui-sheet__footer > * { flex: 1; }
html.ui-sheet-open, html.ui-sheet-open body { overflow: hidden; }
@media screen and (min-width: 750px) {
  .ui-sheet { align-items: center; }
  .ui-sheet__panel { width: 520px; max-width: calc(100vw - 48px); border-bottom: 1px solid var(--ui-line); border-radius: 20px; padding-bottom: 0; transform: translateY(24px); opacity: 0; transition: transform 0.26s cubic-bezier(0.2, 0.8, 0.2, 1), opacity 0.2s ease; }
  .ui-sheet.is-open .ui-sheet__panel { opacity: 1; }
  .ui-sheet__panel::before { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .ui-sheet__backdrop, .ui-sheet__panel { transition: none; }
}

/* ---------- 10. Sticky action bar ("Get tickets", "Add to bag", "Place order") ---------- */
/* <div class="ui-bar" data-ui-bar> <button class="ui-btn">Get tickets</button> </div>
   On phones it sits just above the tab bar; ui.js adds its height to the page's bottom padding. */
.ui-bar {
  position: fixed; left: 0; right: 0; z-index: var(--ui-z-bar);
  bottom: calc(var(--ui-tabbar-h) + var(--ui-safe-bottom));
  display: flex; align-items: center; gap: 12px; padding: 10px var(--ui-gutter);
  background: var(--ui-ink); border-top: 1px solid var(--ui-line);
}
.ui-bar > .ui-btn { flex: 1 1 auto; white-space: nowrap; max-width: 320px; margin-left: auto; }
.ui-bar > .ui-btn:only-child { max-width: none; }
.ui-bar--flush { bottom: 0; padding-bottom: calc(10px + var(--ui-safe-bottom)); }   /* pages without the tab bar, e.g. checkout */
@media screen and (min-width: 990px) {
  .ui-bar { bottom: 0; padding-bottom: calc(10px + var(--ui-safe-bottom)); }
}

/* ---------- 11. Utilities ---------- */
.ui-sr { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0, 0, 0, 0); clip-path: inset(50%); white-space: nowrap; border: 0; }   /* for screen readers only */
.ui-page { padding: 20px var(--ui-gutter) 32px; max-width: 72rem; margin: 0 auto; }
@media screen and (min-width: 750px) { .ui-page { padding: 32px 32px 48px; } }

/* ---------- 12. Quantity stepper and banner ---------- */
/* <div class="ui-stepper" role="group" aria-label="Quantity"><button type="button" aria-label="Fewer">−</button><output>0</output><button type="button" aria-label="More">+</button></div> */
.ui-stepper { display: inline-flex; align-items: center; flex: none; border: 1px solid var(--ui-line-strong); border-radius: var(--ui-pill); background: var(--ui-ink); }
.ui-stepper button {
  display: grid; place-items: center; width: var(--ui-tap); height: var(--ui-tap); padding: 0; border: 0; border-radius: 50%;
  background: transparent; color: var(--ui-text); font-family: var(--ui-font-mono); font-size: 2rem; line-height: 1; cursor: pointer;
}
.ui-stepper button:hover:not([disabled]) { background: var(--ui-surface-2); }
.ui-stepper button[disabled] { color: var(--ui-line-strong); cursor: not-allowed; }
.ui-stepper output { min-width: 28px; text-align: center; font-family: var(--ui-font-mono); font-weight: 700; font-size: 1.6rem; }

/* A message about where the viewer stands: "Members only", "Your request is in review", "No tickets are available to you".
   <div class="ui-banner" role="status"><p class="ui-banner__title">…</p><p class="ui-banner__text">…</p><div class="ui-banner__actions">…</div></div> */
.ui-banner { padding: 16px; background: var(--ui-surface); border: 1px solid var(--ui-line); border-left: 3px solid var(--ui-line-strong); border-radius: var(--ui-radius-sm); }
.ui-banner--warn { border-left-color: var(--ui-warn); }
.ui-banner--bad { border-left-color: var(--ui-bad); }
.ui-banner--ok { border-left-color: var(--ui-signal); }
.ui-banner__title { margin: 0; font-family: var(--ui-font-mono); font-weight: 700; font-size: 1.6rem; line-height: 1.35; }
.ui-banner__text { margin: 6px 0 0; color: var(--ui-muted); font-size: 1.5rem; }
.ui-banner__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }

/* ---------- 13. Form fields and notices ---------- */
/* <div class="ui-field"><label class="ui-label" for="x">Phone</label><input class="ui-input" id="x" ...><p class="ui-hint">…</p><p class="ui-error">…</p></div> */
.ui-field { margin: 0 0 16px; }
.ui-label { display: block; margin: 0 0 6px; font-family: var(--ui-font-mono); font-weight: 600; font-size: 1.3rem; color: var(--ui-muted); }
.ui-input {
  display: block; width: 100%; min-height: 48px; padding: 10px 14px; margin: 0;
  background: var(--ui-surface-2); color: var(--ui-text); border: 1px solid var(--ui-line-strong); border-radius: var(--ui-radius-sm);
  font: inherit; font-size: 16px; line-height: 1.4; -webkit-appearance: none; appearance: none;
}
.ui-input::placeholder { color: var(--ui-muted); opacity: 1; }
.ui-input:focus { outline: 2px solid var(--ui-signal); outline-offset: 1px; border-color: var(--ui-signal); }
.ui-input[aria-invalid="true"] { border-color: var(--ui-bad); }
/* a file field: <input class="ui-input ui-input--file" type="file">. The browser's own button is drawn like a small kit button. */
.ui-input--file { margin-top: 6px; padding: 7px 10px; cursor: pointer; }      /* sits inside its label, so the label is the tap target */
.ui-input--file::file-selector-button {
  margin: 0 12px 0 0; min-height: 32px; padding: 0 14px; border: 1px solid var(--ui-line-strong); border-radius: 8px;
  background: transparent; color: var(--ui-text); font-family: var(--ui-font-mono); font-size: 1.3rem; font-weight: 600; cursor: pointer;
}
.ui-input--file:hover::file-selector-button { border-color: var(--ui-text); }
.ui-hint { margin: 6px 0 0; font-size: 1.4rem; color: var(--ui-muted); }
.ui-error { margin: 6px 0 0; font-size: 1.4rem; color: var(--ui-bad); }
.ui-check { display: flex; align-items: center; gap: 10px; min-height: var(--ui-tap); cursor: pointer; font-size: 1.5rem; }
.ui-check input { flex: none; width: 22px; height: 22px; margin: 0; accent-color: var(--ui-signal); }
/* a short confirmation or error shown after an action: "Contact details saved." */
.ui-notice { margin: 0 0 16px; padding: 12px 14px; background: var(--ui-signal-tint); border-radius: var(--ui-radius-sm); font-size: 1.5rem; }
.ui-notice--bad { background: var(--ui-bad-tint); }
/* a text link that is a button (forms that look like links) */
.ui-link { display: inline-flex; align-items: center; min-height: var(--ui-tap); padding: 0; border: 0; background: none; color: var(--ui-text); font: inherit; font-size: 1.5rem; text-decoration: underline; text-underline-offset: 4px; text-decoration-color: var(--ui-line-strong); cursor: pointer; }
.ui-link:hover { text-decoration-color: var(--ui-text); }
