/* Teradix Design System — applied to NCH Auction (v0) */

@font-face {
  font-family: "Segoe UI";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/fonts/segoe-ui/segoeuithis.ttf") format("truetype");
}
@font-face {
  font-family: "Segoe UI";
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/fonts/segoe-ui/segoeuithisi.ttf") format("truetype");
}
@font-face {
  font-family: "Segoe UI";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/assets/fonts/segoe-ui/segoeuithibd.ttf") format("truetype");
}
@font-face {
  font-family: "Segoe UI";
  font-style: italic;
  font-weight: 700;
  font-display: swap;
  src: url("/assets/fonts/segoe-ui/segoeuithisz.ttf") format("truetype");
}

:root {
  --t-primary: #0047DE;
  --t-primary-soft: #E7EEFF;
  --t-primary-tint: rgba(0, 71, 222, 0.08);
  --t-primary-2: #DBE5FA;
  --t-text: #001A52;
  --t-text-strong: #001645;
  --t-text-muted: rgba(0, 22, 69, 0.75);
  --t-text-soft: rgba(0, 22, 69, 0.7);
  --t-text-faint: rgba(0, 22, 69, 0.5);
  --t-text-fainter: rgba(0, 22, 69, 0.4);
  --t-border: rgba(0, 22, 69, 0.2);
  --t-border-soft: rgba(0, 22, 69, 0.1);
  --t-bg: #FFFFFF;
  --t-bg-subtle: #F2F3F6;
  --t-strip: #E1E4EB;
  --t-row: rgba(0, 22, 69, 0.05);
  --t-divider: #EBEDF1;
  --t-light-border: rgba(192, 200, 215, 0.6);
  --t-text-secondary: #546282;
  --t-success: #28A745;
  --t-warning: #F09B3E;
  --t-danger: #E51414;
  --t-danger-strong: #FF0000;
  --t-info: #17A2B8;
  --t-help: #25D366;
  --t-overlay-strong: rgb(0, 22, 69);

  --t-font-sans: "Segoe UI", "Sailec", -apple-system, system-ui, Roboto, "Helvetica Neue", Arial, sans-serif;

  --t-radius-sm: 4px;
  --t-radius-md: 8px;
  --t-radius-lg: 12px;
  --t-radius-pill: 80px;

  --t-shadow-card: 0 4px 15px 0 rgba(0, 0, 0, 0.1);
  --t-shadow-pop: 0 0 40px 7px rgba(0, 0, 0, 0.2);

  --t-duration: 200ms;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--t-bg);
  color: var(--t-text);
  font-family: var(--t-font-sans);
  font-size: 16px;
  line-height: 24px;
  letter-spacing: -0.48px;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
}

[dir="rtl"] body { text-align: start; }

a {
  color: var(--t-primary);
  text-decoration: none;
}
a:hover { text-decoration: underline; }

h1, h2, h3, h4, h5 {
  color: var(--t-text-strong);
  font-weight: 600;
  letter-spacing: -0.48px;
  margin: 0 0 12px;
}
h1 { font-size: 28px; line-height: 32px; }
h2 { font-size: 24px; line-height: 28px; }
h3 { font-size: 22px; line-height: 26px; }
h4 { font-size: 18px; line-height: 24px; }
h5 { font-size: 17px; line-height: 20px; }

p { margin: 0 0 12px; color: var(--t-text-muted); }

/* === Layout === */

.page-wrapper {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--t-bg);
}

.container {
  width: 100%;
  max-width: 960px;
  margin-inline: auto;
  padding-inline: 16px;
}

.container-fluid {
  width: 100%;
  padding-inline: 16px;
}

/* === Header === */

.t-header {
  height: 64px;
  background: var(--t-bg);
  border-block-end: 1px solid var(--t-border-soft);
  display: flex;
  align-items: center;
  padding-inline: 24px;
  gap: 16px;
}
.t-header__brand {
  font-weight: 600;
  font-size: 17px;
  color: var(--t-primary);
  letter-spacing: -0.48px;
}
.t-header__sub {
  color: var(--t-text-muted);
  font-size: 14px;
}
.t-header__spacer { flex: 1; }
.t-header__user {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  color: var(--t-text);
}

/* === Project strip (context bar) === */

.project-strip {
  background: var(--t-strip);
  padding: 16px 24px;
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  border-block-end: 1px solid var(--t-border-soft);
}
.project-strip__title {
  background: var(--t-primary-tint);
  color: var(--t-text);
  font-weight: 400;
  padding: 16px 24px;
  display: block;
  font-size: 17px;
  border-radius: 0;
}

/* === Buttons === */

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--t-font-sans);
  font-weight: 500;
  font-size: 16px;
  line-height: 1;
  padding: 12px 24px;
  border-radius: var(--t-radius-sm);
  border: none;
  cursor: pointer;
  transition: background var(--t-duration) ease, color var(--t-duration) ease, border-color var(--t-duration) ease, box-shadow var(--t-duration) ease;
  text-decoration: none;
  white-space: nowrap;
}
.button:disabled, .button[aria-disabled="true"] {
  opacity: 0.55;
  cursor: not-allowed;
}
.button:focus-visible {
  outline: 1px solid #47A4F5;
  outline-offset: 2px;
  box-shadow: 0 0 0 3px rgba(119, 186, 248, 0.5);
}

.button--primary {
  background: var(--t-primary);
  color: #fff;
}
.button--primary:hover:not(:disabled) { background: #003BB5; }

.button--primary-bordered {
  background: transparent;
  color: var(--t-primary);
  border: 2px solid var(--t-primary);
}
.button--primary-bordered:hover:not(:disabled) { background: var(--t-primary-tint); }

.button--light {
  background: var(--t-bg-subtle);
  color: var(--t-text-secondary);
  border: 2px solid var(--t-light-border);
}
.button--light:hover:not(:disabled) { background: #E5E7EB; }

.button--danger {
  background: var(--t-danger);
  color: #fff;
}
.button--danger:hover:not(:disabled) { background: #B30E0E; }

.button--no-border {
  background: transparent;
  color: var(--t-primary);
  padding: 8px 12px;
}

.button--sm { font-size: 14px; height: 32px; padding: 0 14px; }
.button--block { width: 100%; }

/* === Labels / Pills === */

.ulabel {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  border-radius: 20px;
  padding: 3px 8px;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.4;
  background: var(--t-bg-subtle);
  color: var(--t-text);
}
.ulabel--sm { font-size: 12px; }
.ulabel--success { background: var(--t-success); color: #fff; }
.ulabel--warn { background: var(--t-warning); color: #fff; }
.ulabel--danger { background: var(--t-danger); color: #fff; }
.ulabel--new { background: var(--t-text-strong); color: #fff; }
.ulabel--border-darkblue {
  background: transparent; color: var(--t-text-strong);
  border: 2px solid var(--t-text-strong);
}
.ulabel--border-white {
  background: #fff; color: var(--t-text-soft);
  border: 2px solid var(--t-border-soft);
}
.ulabel--lowest { background: #16A34A; color: #fff; }

/* === Cards === */

.card {
  background: #fff;
  border: 1px solid var(--t-border-soft);
  border-radius: var(--t-radius-md);
  padding: 24px;
  transition: box-shadow var(--t-duration) ease;
}
.card:hover { box-shadow: var(--t-shadow-card); }
.card--inert:hover { box-shadow: none; }
.card__title {
  font-size: 17px;
  font-weight: 500;
  color: var(--t-text);
  margin: 0 0 8px;
}
.card__meta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  color: var(--t-text-muted);
  font-size: 14px;
}

/* === Forms === */

.form-group {
  display: block;
  margin-block-end: 16px;
}
.form-label {
  display: block;
  font-size: 14px;
  font-weight: 500;
  color: var(--t-text);
  margin-block-end: 6px;
}
.form-input {
  display: block;
  width: 100%;
  height: 44px;
  padding: 0 12px;
  font-family: var(--t-font-sans);
  font-size: 16px;
  color: var(--t-text);
  background: #fff;
  border: 1px solid #C7C7C7;
  border-radius: var(--t-radius-sm);
  transition: border-color var(--t-duration) ease, box-shadow var(--t-duration) ease;
}
.form-input:focus {
  outline: none;
  border-color: #47A4F5;
  box-shadow: 0 0 0 3px rgba(119, 186, 248, 0.5);
}
.form-input--lg { height: 52px; font-size: 18px; }
.form-input::placeholder { color: #707070; }
.form-input:disabled { background: #F2F2F2; }
.form-input.is-error { border-color: #DB3700; box-shadow: 0 0 0 3px rgba(255, 64, 31, 0.3); }

.form-help {
  font-size: 13px;
  color: var(--t-text-faint);
  margin-block-start: 6px;
}
.form-error {
  font-size: 13px;
  color: var(--t-danger);
  margin-block-start: 6px;
}

/* === Tables === */

.global-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
}
.global-table thead th {
  background: transparent;
  color: var(--t-text-fainter);
  font-weight: 600;
  font-size: 15px;
  padding: 12px 16px;
  text-align: start;
  border: none;
}
.global-table tbody td {
  padding: 12px 16px;
  color: var(--t-text);
  font-weight: 400;
  border-block-start: 1px solid var(--t-border-soft);
}
.global-table tbody tr:nth-child(odd) td { background: var(--t-row); }
.global-table tbody tr.is-lowest td { background: rgba(40, 167, 69, 0.08); }
.global-table tbody tr.is-mine td { font-weight: 500; }

/* === Stat tiles === */

.stat-tile {
  background: var(--t-primary-soft);
  border-radius: var(--t-radius-md);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.stat-tile__label {
  color: var(--t-text-muted);
  font-size: 13px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0;
}
.stat-tile__value {
  color: var(--t-primary);
  font-size: 28px;
  font-weight: 600;
  line-height: 32px;
  font-variant-numeric: tabular-nums;
}

/* === Countdown timer pill (legacy — kept for backward compat) === */

.timer-pill {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  background: var(--t-overlay-strong);
  color: #fff;
  padding: 12px 24px;
  border-radius: var(--t-radius-md);
  font-variant-numeric: tabular-nums;
  font-weight: 600;
  font-size: 22px;
}
.timer-pill .timer-label {
  font-size: 11px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.7);
  margin-inline-start: 4px;
  letter-spacing: 0;
}
.timer-pill.is-warn { background: var(--t-warning); }
.timer-pill.is-urgent { background: var(--t-danger); animation: pulse 1.2s ease-in-out infinite; }
@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.04); }
}

/* === Unified countdown timer (.t-timer) ============================
   A single solid card with two stripes:
     • Top stripe (state bar): coloured pill ("مباشر" / "تحذير" / "آخر دقيقة")
       and a status label ("تنتهي الممارسة خلال…").
     • Bottom face: clock icon on the leading edge, then HH : MM : SS in
       big bold digits with sub-labels (س / د / ث).
   Designed to look like one solid object — not separate digit blocks.
   Three sizes: --sm (admin tile), --md (supplier hero), --lg (public TV).
   States (set on the root): .is-warn / .is-urgent / .is-paused / .is-ended.
=================================================================== */

.t-timer {
  --tt-card-bg: #4A5568;
  --tt-card-fg: #FFFFFF;
  --tt-bar-bg: #28A745;
  --tt-bar-fg: #FFFFFF;
  --tt-pill-bg: rgba(255, 255, 255, 0.18);
  --tt-pill-fg: #FFFFFF;
  --tt-icon-bg: rgba(255, 255, 255, 0.12);
  --tt-label-fg: rgba(255, 255, 255, 0.55);
  --tt-sep-fg: rgba(255, 255, 255, 0.45);

  --tt-radius: 14px;
  --tt-bar-pad-y: 6px;
  --tt-bar-pad-x: 14px;
  --tt-bar-font: 12px;
  --tt-pill-font: 10px;
  --tt-face-pad-y: 14px;
  --tt-face-pad-x: 18px;
  --tt-digit-size: 36px;
  --tt-label-size: 10px;
  --tt-sep-size: 28px;
  --tt-icon-size: 32px;
  --tt-icon-glyph: 18px;
  --tt-gap: 14px;

  display: inline-flex;
  flex-direction: column;
  background: var(--tt-card-bg);
  color: var(--tt-card-fg);
  border-radius: var(--tt-radius);
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(0, 22, 69, 0.18);
  font-variant-numeric: tabular-nums;
  user-select: none;
  transition: background 200ms ease, box-shadow 200ms ease;
  min-width: 0;
}

.t-timer__bar {
  background: var(--tt-bar-bg);
  color: var(--tt-bar-fg);
  padding: var(--tt-bar-pad-y) var(--tt-bar-pad-x);
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: var(--tt-bar-font);
  font-weight: 600;
  letter-spacing: -0.2px;
  direction: rtl;
}

.t-timer__bar-pill {
  background: var(--tt-pill-bg);
  color: var(--tt-pill-fg);
  padding: 2px 10px;
  border-radius: 999px;
  font-size: var(--tt-pill-font);
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  white-space: nowrap;
}

.t-timer__bar-text {
  font-weight: 500;
  opacity: 0.95;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.t-timer__face {
  display: flex;
  align-items: center;
  gap: var(--tt-gap);
  padding: var(--tt-face-pad-y) var(--tt-face-pad-x);
  direction: ltr; /* HH:MM:SS always reads LTR */
}

.t-timer__icon {
  width: var(--tt-icon-size);
  height: var(--tt-icon-size);
  border-radius: 50%;
  background: var(--tt-icon-bg);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.t-timer__icon svg {
  width: var(--tt-icon-glyph);
  height: var(--tt-icon-glyph);
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.t-timer__digits {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  flex: 1;
  justify-content: center;
}

.t-timer__group {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  min-width: calc(var(--tt-digit-size) * 1.2);
}

.t-timer__digit {
  font-size: var(--tt-digit-size);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -1px;
  color: var(--tt-card-fg);
}

.t-timer__sub {
  font-size: var(--tt-label-size);
  color: var(--tt-label-fg);
  font-weight: 500;
  letter-spacing: 0.4px;
  text-transform: uppercase;
}

.t-timer__sep {
  font-size: var(--tt-sep-size);
  color: var(--tt-sep-fg);
  font-weight: 700;
  line-height: 1;
  margin-top: calc((var(--tt-digit-size) - var(--tt-sep-size)) / 2 - 2px);
  animation: t-timer-blink 1s steps(2, start) infinite;
}

@keyframes t-timer-blink {
  0%, 100% { opacity: 1; }
  50%      { opacity: 0.4; }
}

/* Sizes -------------------------------------------------------- */
.t-timer--sm {
  --tt-radius: 10px;
  --tt-bar-pad-y: 4px;
  --tt-bar-pad-x: 10px;
  --tt-bar-font: 10px;
  --tt-pill-font: 8px;
  --tt-face-pad-y: 8px;
  --tt-face-pad-x: 10px;
  --tt-digit-size: 22px;
  --tt-label-size: 8px;
  --tt-sep-size: 18px;
  --tt-icon-size: 22px;
  --tt-icon-glyph: 13px;
  --tt-gap: 8px;
}

.t-timer--md {
  --tt-radius: 14px;
  --tt-bar-pad-y: 6px;
  --tt-bar-pad-x: 14px;
  --tt-bar-font: 12px;
  --tt-pill-font: 10px;
  --tt-face-pad-y: 14px;
  --tt-face-pad-x: 18px;
  --tt-digit-size: 38px;
  --tt-label-size: 10px;
  --tt-sep-size: 26px;
  --tt-icon-size: 36px;
  --tt-icon-glyph: 20px;
  --tt-gap: 14px;
}

.t-timer--lg {
  --tt-radius: clamp(12px, 1.6vmin, 20px);
  --tt-bar-pad-y: clamp(6px, 0.9vmin, 12px);
  --tt-bar-pad-x: clamp(14px, 2vmin, 24px);
  --tt-bar-font: clamp(13px, 1.6vmin, 22px);
  --tt-pill-font: clamp(10px, 1.2vmin, 16px);
  --tt-face-pad-y: clamp(18px, 2.6vmin, 36px);
  --tt-face-pad-x: clamp(22px, 3vmin, 42px);
  --tt-digit-size: clamp(60px, 10vmin, 140px);
  --tt-label-size: clamp(11px, 1.3vmin, 18px);
  --tt-sep-size: clamp(44px, 7vmin, 100px);
  --tt-icon-size: clamp(48px, 6vmin, 88px);
  --tt-icon-glyph: clamp(26px, 3.4vmin, 50px);
  --tt-gap: clamp(14px, 2vmin, 32px);
}

/* States ------------------------------------------------------- */
.t-timer.is-warn {
  --tt-bar-bg: #F09B3E;
}
.t-timer.is-urgent {
  --tt-bar-bg: #E51414;
  animation: t-timer-pulse 1.2s ease-in-out infinite;
}
.t-timer.is-paused {
  --tt-bar-bg: #B86A14;
  --tt-card-bg: #4A4538;
}
.t-timer.is-paused .t-timer__sep { animation: none; opacity: 0.5; }
.t-timer.is-ended {
  --tt-bar-bg: #6B7280;
  --tt-card-bg: #3F4858;
}
.t-timer.is-ended .t-timer__sep { animation: none; opacity: 0.4; }

@keyframes t-timer-pulse {
  0%, 100% { box-shadow: 0 6px 20px rgba(229, 20, 20, 0.25); }
  50%      { box-shadow: 0 8px 28px rgba(229, 20, 20, 0.55); }
}

/* Block-level fill for surfaces that want the timer to span full width */
.t-timer--block { display: flex; width: 100%; }
.t-timer--block .t-timer__digits { flex: 1; }

/* === Toast === */

.toast {
  position: fixed;
  inset-block-start: 16px;
  inset-inline-end: 16px;
  background: var(--t-text-strong);
  color: #fff;
  padding: 12px 20px;
  border-radius: var(--t-radius-md);
  box-shadow: var(--t-shadow-card);
  z-index: 100;
  font-size: 14px;
  max-width: 360px;
  animation: toastIn var(--t-duration) ease;
}
.toast.is-success { background: var(--t-success); }
.toast.is-error { background: var(--t-danger); }
@keyframes toastIn {
  from { transform: translateY(-12px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

/* === Auth screen === */

.auth-shell {
  min-height: 100vh;
  display: grid;
  place-items: center;
  background: linear-gradient(180deg, var(--t-bg-subtle) 0%, #fff 100%);
  padding: 32px 16px;
}
.auth-card {
  background: #fff;
  border: 1px solid var(--t-border-soft);
  border-radius: var(--t-radius-lg);
  box-shadow: var(--t-shadow-card);
  padding: 40px;
  width: 100%;
  max-width: 420px;
}
.auth-brand {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-block-end: 24px;
  color: var(--t-primary);
  font-weight: 600;
  font-size: 22px;
  letter-spacing: -0.48px;
}
.auth-title {
  text-align: center;
  margin-block-end: 8px;
}
.auth-subtitle {
  text-align: center;
  color: var(--t-text-muted);
  font-size: 14px;
  margin-block-end: 24px;
}
.auth-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: var(--t-bg-subtle);
  border-radius: var(--t-radius-md);
  padding: 4px;
  margin-block-end: 24px;
}
.auth-tab {
  padding: 10px 16px;
  border: none;
  background: transparent;
  border-radius: 6px;
  font-family: var(--t-font-sans);
  font-size: 14px;
  font-weight: 500;
  color: var(--t-text-soft);
  cursor: pointer;
  transition: background var(--t-duration) ease, color var(--t-duration) ease;
}
.auth-tab.is-active {
  background: #fff;
  color: var(--t-primary);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
}

/* === Auction live screen === */

.live-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
@media (min-width: 992px) {
  .live-grid { grid-template-columns: 1fr 2fr; }
}

.alt-card {
  background: #fff;
  border: 1px solid var(--t-border-soft);
  border-radius: var(--t-radius-md);
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: border-color var(--t-duration) ease;
}
.alt-card.is-lowest {
  border-color: var(--t-success);
  background: rgba(40, 167, 69, 0.04);
}
.alt-card__head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 8px;
}
.alt-card__title {
  font-size: 15px;
  font-weight: 500;
  color: var(--t-text);
}
.alt-card__price {
  font-size: 22px;
  font-weight: 600;
  color: var(--t-primary);
  font-variant-numeric: tabular-nums;
}
.alt-card__hint {
  font-size: 12px;
  color: var(--t-text-faint);
}
.alt-card__form {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
}

.lowest-strip {
  background: var(--t-primary);
  color: #fff;
  border-radius: var(--t-radius-md);
  padding: 16px 24px;
  text-align: center;
  font-weight: 600;
  font-size: 24px;
  font-variant-numeric: tabular-nums;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.lowest-strip .lowest-label {
  font-size: 13px;
  font-weight: 400;
  opacity: 0.85;
}

.connection-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--t-success);
  display: inline-block;
}
.connection-dot.is-stale { background: var(--t-warning); }
.connection-dot.is-offline { background: var(--t-danger); }

/* === Utilities === */

.row { display: flex; gap: 16px; flex-wrap: wrap; }
.row > * { flex: 1; min-width: 0; }
.stack { display: flex; flex-direction: column; gap: 16px; }
.stack-sm { display: flex; flex-direction: column; gap: 8px; }
.center { display: flex; align-items: center; justify-content: center; }
.muted { color: var(--t-text-muted); }
.text-faint { color: var(--t-text-faint); }
.text-success { color: var(--t-success); }
.text-danger { color: var(--t-danger); }
.text-primary { color: var(--t-primary); }
.tabular { font-variant-numeric: tabular-nums; }
.text-end { text-align: end; }
.text-center { text-align: center; }
.mt-0 { margin-block-start: 0; }
.mt-2 { margin-block-start: 8px; }
.mt-4 { margin-block-start: 16px; }
.mt-6 { margin-block-start: 24px; }
.mb-0 { margin-block-end: 0; }
.mb-2 { margin-block-end: 8px; }
.mb-4 { margin-block-end: 16px; }
.mb-6 { margin-block-end: 24px; }
.hidden { display: none !important; }
.flex { display: flex; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.gap-2 { gap: 8px; }
.gap-3 { gap: 12px; }
.gap-4 { gap: 16px; }

/* Help FAB */
.help-fab {
  position: fixed;
  inset-block-end: 24px;
  inset-inline-end: 24px;
  background: var(--t-help);
  color: #fff;
  padding: 12px 20px;
  border-radius: var(--t-radius-pill);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  box-shadow: var(--t-shadow-card);
  font-weight: 500;
  font-size: 14px;
  z-index: 50;
}
