/* ==========================================================================
   VATBAE TECH PACK SPECIFICATION STUDIO - STYLESHEET
   Scoped under #vatbae-tech-pack and .tp- namespace
   Matches VATBAE Brand Identity: Warm Cream (#f8f6f0), Espresso (#231b15), Cognac (#8c5e3c)
   ========================================================================== */

/* Multi-weight Font-Face declarations for iOS Safari Compatibility */
@font-face {
  font-family: 'Anton';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('https://fonts.gstatic.com/s/anton/v27/1Ptgg87LROyAm3Kz-C8CSKlv.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Anton';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('https://fonts.gstatic.com/s/anton/v27/1Ptgg87LROyAm3Kz-C8CSKlv.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Anton';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url('https://fonts.gstatic.com/s/anton/v27/1Ptgg87LROyAm3Kz-C8CSKlv.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Anton';
  font-style: normal;
  font-weight: 900;
  font-display: swap;
  src: url('https://fonts.gstatic.com/s/anton/v27/1Ptgg87LROyAm3Kz-C8CSKlv.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --tp-cream: #f8f6f0;
  --tp-cream-light: #fdfbf7;
  --tp-card: #f2efe8;
  --tp-card-subtle: #ede9e1;
  --tp-card-hover: #e6e1d5;
  --tp-card-active: #e2dbcd;

  --tp-dark: #231b15;
  --tp-dark-card: #2c221c;
  --tp-dark-hover: #382c24;
  --tp-dark-accent: #17110e;

  --tp-white: #ffffff;
  --tp-text-dark: #231b15;
  --tp-text-muted: #6b584c;
  --tp-text-dim: #8a786d;
  --tp-text-light: #f8f6f0;

  --tp-cognac: #8c5e3c;
  --tp-cognac-light: #a9754f;
  --tp-cognac-subtle: rgba(140, 94, 60, 0.12);
  --tp-gold: #b8860b;
  --tp-warm-gold: #c89d56;
  --tp-tape-yellow: #d4a017;

  --tp-shear-red: #d3202f;
  --tp-shear-red-light: #ff4d5a;
  --tp-success-green: #2e7d32;
  --tp-success-bg: rgba(46, 125, 50, 0.1);

  --tp-border: rgba(35, 27, 21, 0.11);
  --tp-border-strong: rgba(35, 27, 21, 0.22);
  --tp-border-dashed: 2px dashed rgba(35, 27, 21, 0.25);
  --tp-border-active: #8c5e3c;

  --tp-radius-xs: 4px;
  --tp-radius-sm: 8px;
  --tp-radius-md: 14px;
  --tp-radius-lg: 20px;
  --tp-radius-pill: 9999px;

  --tp-shadow-sm: 0 4px 12px rgba(35, 27, 21, 0.04);
  --tp-shadow-md: 0 10px 30px rgba(35, 27, 21, 0.08);
  --tp-shadow-lg: 0 20px 45px rgba(35, 27, 21, 0.14);

  --tp-font-logo: 'Anton', 'Impact', 'Arial Black', sans-serif;
  --tp-font-heading: 'Outfit', 'Plus Jakarta Sans', sans-serif;
  --tp-font-body: 'Plus Jakarta Sans', sans-serif;
  --tp-font-mono: 'Space Grotesk', monospace;
}

/* Base resets within Tech Pack Page */
body.tp-body {
  background-color: var(--tp-cream);
  color: var(--tp-text-dark);
  font-family: var(--tp-font-body);
  margin: 0;
  padding: 0;
  min-height: 100vh;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

#vatbae-tech-pack {
  font-family: var(--tp-font-body);
  color: var(--tp-text-dark);
  width: 100%;
  position: relative;
  box-sizing: border-box;
}

#vatbae-tech-pack * {
  box-sizing: border-box;
}

/* ==========================================================================
   TOP MEASURING TAPE STRIP
   ========================================================================== */
.tp-tape-bar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: rgba(212, 160, 23, 0.2);
  z-index: 9999;
}

.tp-tape-fill {
  height: 100%;
  width: 12.5%;
  background: linear-gradient(90deg, #b8860b, #d4a017, #f3c242);
  box-shadow: 0 0 10px rgba(212, 160, 23, 0.7);
  transition: width 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ==========================================================================
   SITE HEADER (STANDALONE TECH PACK)
   ========================================================================== */
.tp-header {
  position: sticky;
  top: 0;
  background: rgba(248, 246, 240, 0.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--tp-border);
  padding: 14px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 1000;
  transition: all 0.25s ease;
}

.tp-header-left {
  display: flex;
  align-items: center;
  gap: 20px;
}

.tp-header-back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--tp-text-muted);
  text-decoration: none;
  padding: 6px 14px;
  border-radius: var(--tp-radius-pill);
  background: var(--tp-card);
  border: 1px solid var(--tp-border);
  transition: all 0.2s ease;
}

.tp-header-back-link:hover {
  background: var(--tp-dark);
  color: var(--tp-white);
  border-color: var(--tp-dark);
  transform: translateX(-2px);
}

.tp-header-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--tp-text-dark);
}

.tp-header-logo-icon {
  width: 36px;
  height: 36px;
  object-fit: contain;
}

.tp-header-brand-name {
  font-family: var(--tp-font-logo) !important;
  font-weight: 400 !important;
  font-style: normal;
  font-size: 1.8rem;
  letter-spacing: 0.06em;
  line-height: 1;
  color: var(--tp-dark);
}

.tp-header-badge {
  display: inline-block;
  font-family: var(--tp-font-mono);
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 4px 10px;
  background: var(--tp-dark);
  color: var(--tp-warm-gold);
  border-radius: var(--tp-radius-pill);
  margin-left: 8px;
}

.tp-header-right {
  display: flex;
  align-items: center;
  gap: 16px;
}

.tp-header-nav-link {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--tp-text-muted);
  text-decoration: none;
  padding: 8px 12px;
  transition: color 0.2s ease;
}

.tp-header-nav-link:hover {
  color: var(--tp-dark);
}

.tp-header-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--tp-dark);
  color: var(--tp-white);
  padding: 9px 20px;
  font-size: 0.85rem;
  font-weight: 700;
  border-radius: var(--tp-radius-pill);
  text-decoration: none;
  border: 1px solid var(--tp-dark);
  transition: all 0.25s ease;
}

.tp-header-cta:hover {
  background: var(--tp-cognac);
  border-color: var(--tp-cognac);
  transform: translateY(-1px);
  box-shadow: var(--tp-shadow-sm);
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.tp-hero {
  position: relative;
  padding: 60px 24px 50px;
  text-align: center;
  background: radial-gradient(circle at 50% 20%, rgba(200, 157, 86, 0.12) 0%, transparent 70%);
  border-bottom: 1px solid var(--tp-border);
  overflow: hidden;
}

.tp-hero-container {
  max-width: 960px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.tp-hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--tp-font-mono);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--tp-cognac);
  background: var(--tp-cognac-subtle);
  padding: 6px 16px;
  border-radius: var(--tp-radius-pill);
  margin-bottom: 20px;
  border: 1px solid rgba(140, 94, 60, 0.2);
}

.tp-hero-eyebrow i {
  color: var(--tp-shear-red);
}

.tp-hero-title {
  font-family: var(--tp-font-logo) !important;
  font-weight: 400 !important;
  font-style: normal;
  font-size: clamp(2.8rem, 7vw, 4.8rem);
  line-height: 0.96;
  letter-spacing: 0.03em;
  color: var(--tp-dark);
  text-transform: uppercase;
  margin-bottom: 16px;
}

.tp-hero-tagline {
  font-family: var(--tp-font-heading);
  font-size: clamp(1.15rem, 2.5vw, 1.45rem);
  font-weight: 700;
  color: var(--tp-cognac);
  margin-bottom: 14px;
  font-style: italic;
}

.tp-hero-desc {
  font-size: clamp(0.96rem, 1.8vw, 1.08rem);
  color: var(--tp-text-muted);
  max-width: 680px;
  margin: 0 auto 28px;
  line-height: 1.65;
}

.tp-hero-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.tp-hero-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: var(--tp-dark);
  color: var(--tp-white);
  padding: 16px 38px;
  border-radius: var(--tp-radius-pill);
  font-family: var(--tp-font-heading);
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  border: none;
  box-shadow: 0 12px 28px rgba(35, 27, 21, 0.2);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.tp-hero-cta-btn:hover {
  background: var(--tp-cognac);
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 18px 38px rgba(140, 94, 60, 0.3);
}

.tp-hero-cta-btn i {
  transition: transform 0.25s ease;
}

.tp-hero-cta-btn:hover i {
  transform: translateY(3px);
}

.tp-hero-subtext {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--tp-text-dim);
  display: flex;
  align-items: center;
  gap: 8px;
}

.tp-hero-subtext i {
  color: var(--tp-warm-gold);
}

/* Value Props Strip */
.tp-hero-props {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 40px;
  padding-top: 30px;
  border-top: 1px dashed var(--tp-border-strong);
}

.tp-prop-item {
  display: flex;
  align-items: center;
  gap: 14px;
  text-align: left;
  background: var(--tp-card, #fbf7f1);
  padding: 16px 18px;
  border-radius: 18px;
  border: 1.5px solid rgba(140, 94, 60, 0.2);
  box-shadow: 0 4px 16px rgba(35, 27, 21, 0.05);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.tp-prop-item:hover {
  transform: translateY(-2px);
  border-color: var(--tp-warm-gold, #c89d56);
  box-shadow: 0 8px 24px rgba(140, 94, 60, 0.12);
}

.tp-prop-icon {
  width: 44px;
  height: 44px;
  border-radius: 13px;
  background: var(--tp-dark, #231b15);
  color: var(--tp-warm-gold, #c89d56);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.18);
}

.tp-prop-icon svg {
  width: 22px;
  height: 22px;
}

.tp-prop-text {
  display: flex;
  flex-direction: column;
  line-height: 1.35;
}

.tp-prop-title {
  font-family: var(--tp-font-heading, 'Outfit', sans-serif);
  font-size: 0.98rem;
  font-weight: 800;
  color: var(--tp-dark, #231b15);
  letter-spacing: -0.01em;
}

.tp-prop-sub {
  color: var(--tp-text-dim, #736254);
  font-size: 0.8rem;
  margin-top: 2px;
  font-weight: 500;
}

/* ==========================================================================
   APP WORKSPACE CONTAINER
   ========================================================================== */
.tp-app-layout {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 24px 80px;
}

/* ==========================================================================
   STEP PROGRESS BAR (DESKTOP / TABLET)
   ========================================================================== */
.tp-progress-wrapper {
  background: var(--tp-card);
  border: 1px solid var(--tp-border);
  border-radius: var(--tp-radius-lg);
  padding: 20px 24px;
  margin-bottom: 36px;
  box-shadow: var(--tp-shadow-sm);
}

.tp-progress-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.tp-progress-title {
  font-family: var(--tp-font-mono);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--tp-dark);
  display: flex;
  align-items: center;
  gap: 8px;
}

.tp-progress-pct {
  font-family: var(--tp-font-mono);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--tp-cognac);
  background: var(--tp-cream);
  padding: 3px 12px;
  border-radius: var(--tp-radius-pill);
  border: 1px solid var(--tp-border);
}

.tp-step-indicators {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 8px;
  position: relative;
}

.tp-step-indicator-btn {
  background: var(--tp-cream);
  border: 1px solid var(--tp-border);
  border-radius: var(--tp-radius-md);
  padding: 10px 8px;
  text-align: center;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  outline: none;
}

.tp-step-num {
  font-family: var(--tp-font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--tp-text-dim);
  transition: color 0.2s ease;
}

.tp-step-label {
  font-family: var(--tp-font-heading);
  font-size: 0.74rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--tp-text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}

.tp-step-indicator-btn:hover:not(:disabled) {
  background: var(--tp-card-hover);
  border-color: var(--tp-cognac);
  transform: translateY(-2px);
}

.tp-step-indicator-btn.is-active {
  background: var(--tp-dark);
  border-color: var(--tp-dark);
  box-shadow: 0 6px 16px rgba(35, 27, 21, 0.2);
}

.tp-step-indicator-btn.is-active .tp-step-num {
  color: var(--tp-warm-gold);
}

.tp-step-indicator-btn.is-active .tp-step-label {
  color: var(--tp-white);
}

.tp-step-indicator-btn.is-completed {
  background: var(--tp-cream);
  border-color: var(--tp-cognac);
}

.tp-step-indicator-btn.is-completed .tp-step-num {
  color: var(--tp-cognac);
}

.tp-step-indicator-btn.is-completed .tp-step-label {
  color: var(--tp-dark);
}

.tp-step-indicator-btn:disabled {
  opacity: 0.65;
  cursor: not-allowed;
}

/* Compact Mobile Step Bar */
.tp-mobile-step-bar {
  display: none;
  background: var(--tp-card);
  border: 1px solid var(--tp-border);
  border-radius: var(--tp-radius-md);
  padding: 12px 16px;
  margin-bottom: 24px;
}

.tp-mobile-step-info {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}

.tp-mobile-step-name {
  font-family: var(--tp-font-heading);
  font-size: 0.92rem;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--tp-dark);
}

.tp-mobile-step-count {
  font-family: var(--tp-font-mono);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--tp-cognac);
}

.tp-mobile-step-progress-track {
  height: 6px;
  background: var(--tp-card-subtle);
  border-radius: var(--tp-radius-pill);
  overflow: hidden;
}

.tp-mobile-step-progress-bar {
  height: 100%;
  width: 12.5%;
  background: linear-gradient(90deg, #8c5e3c, #b8860b);
  border-radius: var(--tp-radius-pill);
  transition: width 0.3s ease;
}

/* ==========================================================================
   FORM STEP PANELS & CARDS
   ========================================================================== */
.tp-step-panel {
  display: none;
  background: var(--tp-white);
  border: 1px solid var(--tp-border);
  border-radius: var(--tp-radius-lg);
  padding: 36px 40px;
  box-shadow: var(--tp-shadow-md);
  position: relative;
  animation: tpFadeIn 0.35s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.tp-step-panel.is-visible {
  display: block;
}

@keyframes tpFadeIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.tp-step-header {
  border-bottom: 1px solid var(--tp-border);
  padding-bottom: 20px;
  margin-bottom: 32px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.tp-step-header-left {
  flex: 1;
}

.tp-step-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--tp-font-mono);
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--tp-cognac);
  margin-bottom: 6px;
}

.tp-step-heading {
  font-family: var(--tp-font-heading);
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--tp-dark);
  line-height: 1.15;
  margin: 0 0 6px 0;
}

.tp-step-instruction {
  font-size: 0.92rem;
  color: var(--tp-text-muted);
  margin: 0;
}

/* Section Subheads within Steps */
.tp-sub-section {
  margin-bottom: 32px;
}

.tp-sub-title {
  font-family: var(--tp-font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--tp-dark);
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.tp-sub-title i {
  color: var(--tp-cognac);
  font-size: 0.95rem;
}

/* ==========================================================================
   FORM INPUTS & GRID CONTROLS
   ========================================================================== */
.tp-form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-bottom: 28px;
}

.tp-form-grid.tp-grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

.tp-form-grid.tp-grid-1 {
  grid-template-columns: 1fr;
}

.tp-form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.tp-form-group.tp-full-width {
  grid-column: 1 / -1;
}

.tp-label {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--tp-dark);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.tp-req-star {
  color: var(--tp-shear-red);
  margin-left: 2px;
}

.tp-helper-text {
  font-size: 0.78rem;
  color: var(--tp-text-dim);
  line-height: 1.35;
}

/* Inputs, Selects, Textareas */
.tp-input,
.tp-select,
.tp-textarea {
  width: 100%;
  padding: 13px 16px;
  background: var(--tp-cream);
  border: 1px solid var(--tp-border);
  border-radius: var(--tp-radius-sm);
  font-family: var(--tp-font-body);
  font-size: 0.92rem;
  color: var(--tp-dark);
  transition: all 0.2s ease;
  box-sizing: border-box;
}

.tp-input:focus,
.tp-select:focus,
.tp-textarea:focus {
  background: var(--tp-white);
  border-color: var(--tp-cognac);
  box-shadow: 0 0 0 3px rgba(140, 94, 60, 0.15);
  outline: none;
}

.tp-input.is-invalid,
.tp-select.is-invalid,
.tp-textarea.is-invalid {
  border-color: var(--tp-shear-red);
  background: #fff8f8;
}

.tp-textarea {
  resize: vertical;
  min-height: 95px;
  line-height: 1.5;
}

/* Preset Quick Select Chips (e.g. Quantities, GSM) */
.tp-chip-group {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 6px;
}

.tp-chip-btn {
  background: var(--tp-card);
  border: 1px solid var(--tp-border);
  padding: 6px 14px;
  border-radius: var(--tp-radius-pill);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--tp-text-dark);
  cursor: pointer;
  transition: all 0.2s ease;
}

.tp-chip-btn:hover {
  background: var(--tp-card-hover);
  border-color: var(--tp-cognac);
}

.tp-chip-btn.is-selected {
  background: var(--tp-dark);
  color: var(--tp-white);
  border-color: var(--tp-dark);
}

/* ==========================================================================
   SELECTABLE CARDS & SEGMENTED CONTROLS
   ========================================================================== */
.tp-card-selector-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 12px;
}

.tp-card-selector-grid.tp-cols-2 {
  grid-template-columns: repeat(2, 1fr);
}

.tp-card-selector-grid.tp-cols-3 {
  grid-template-columns: repeat(3, 1fr);
}

.tp-card-selector-grid.tp-cols-4 {
  grid-template-columns: repeat(4, 1fr);
}

.tp-choice-card {
  position: relative;
  background: var(--tp-cream);
  border: 1.5px solid var(--tp-border);
  border-radius: var(--tp-radius-md);
  padding: 16px 14px;
  text-align: center;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  user-select: none;
}

.tp-choice-card:hover {
  background: var(--tp-card-hover);
  border-color: var(--tp-cognac);
  transform: translateY(-2px);
  box-shadow: var(--tp-shadow-sm);
}

.tp-choice-card.is-selected {
  background: var(--tp-white);
  border-color: var(--tp-cognac);
  box-shadow: 0 0 0 2px var(--tp-cognac), var(--tp-shadow-sm);
}

.tp-choice-card.is-selected::after {
  content: '✓';
  position: absolute;
  top: 8px;
  right: 8px;
  width: 18px;
  height: 18px;
  background: var(--tp-cognac);
  color: var(--tp-white);
  border-radius: var(--tp-radius-pill);
  font-size: 0.68rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}

.tp-choice-icon {
  font-size: 1.35rem;
  color: var(--tp-cognac);
}

.tp-choice-title {
  font-family: var(--tp-font-heading);
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--tp-dark);
  line-height: 1.25;
}

.tp-choice-desc {
  font-size: 0.72rem;
  color: var(--tp-text-dim);
  line-height: 1.2;
}

/* Pill Multi-Selectors (e.g. Sizes XS, S, M, L...) */
.tp-pill-group {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.tp-pill-option {
  position: relative;
  cursor: pointer;
}

.tp-pill-option input[type="checkbox"],
.tp-pill-option input[type="radio"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.tp-pill-box {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 48px;
  padding: 10px 18px;
  background: var(--tp-cream);
  border: 1.5px solid var(--tp-border);
  border-radius: var(--tp-radius-pill);
  font-family: var(--tp-font-heading);
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--tp-dark);
  transition: all 0.2s ease;
  user-select: none;
}

.tp-pill-option input:checked+.tp-pill-box {
  background: var(--tp-dark);
  color: var(--tp-white);
  border-color: var(--tp-dark);
  box-shadow: 0 4px 12px rgba(35, 27, 21, 0.15);
}

.tp-pill-option:hover .tp-pill-box {
  border-color: var(--tp-cognac);
  transform: translateY(-1px);
}

/* ==========================================================================
   DRAG & DROP FILE UPLOADERS & PREVIEWS
   ========================================================================== */
.tp-upload-dropzone {
  border: var(--tp-border-dashed);
  border-radius: var(--tp-radius-md);
  background: var(--tp-cream-light);
  padding: 28px 20px;
  text-align: center;
  cursor: pointer;
  transition: all 0.25s ease;
  position: relative;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

.tp-upload-dropzone:hover,
.tp-upload-dropzone.is-dragover {
  border-color: var(--tp-cognac);
  background: var(--tp-card);
  transform: scale(1.005);
}

.tp-upload-icon {
  font-size: 2rem;
  color: var(--tp-cognac);
  margin-bottom: 10px;
}

.tp-upload-title {
  font-family: var(--tp-font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--tp-dark);
  margin-bottom: 4px;
  word-break: break-word;
  overflow-wrap: break-word;
}

.tp-upload-sub {
  font-size: 0.78rem;
  color: var(--tp-text-dim);
  word-break: break-word;
  overflow-wrap: break-word;
}

.tp-file-input {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
}

/* File Preview Card - Robust Responsive Layout Preventing Alignment Shifts */
.tp-upload-preview-card {
  display: none;
  background: var(--tp-card);
  border: 1px solid var(--tp-border);
  border-radius: var(--tp-radius-md);
  padding: 12px 14px;
  margin-top: 12px;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

.tp-upload-preview-card.is-visible {
  display: flex;
}

.tp-preview-left {
  display: flex;
  align-items: center;
  gap: 12px;
  overflow: hidden;
  min-width: 0;
  flex: 1 1 auto;
}

.tp-preview-thumb {
  width: 48px;
  height: 48px;
  min-width: 48px;
  min-height: 48px;
  max-width: 48px;
  max-height: 48px;
  border-radius: var(--tp-radius-sm);
  object-fit: cover;
  background: var(--tp-white);
  border: 1px solid var(--tp-border);
  flex-shrink: 0;
}

.tp-preview-meta {
  overflow: hidden;
  min-width: 0;
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.tp-preview-filename {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--tp-dark);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
  display: block;
}

.tp-preview-filesize {
  font-size: 0.74rem;
  color: var(--tp-text-dim);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.tp-preview-remove-btn {
  background: none;
  border: 1px solid rgba(211, 32, 47, 0.25);
  color: var(--tp-shear-red);
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
  padding: 7px 12px;
  border-radius: var(--tp-radius-sm);
  transition: all 0.2s ease;
  flex-shrink: 0;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.tp-preview-remove-btn:hover {
  background: rgba(211, 32, 47, 0.1);
  border-color: var(--tp-shear-red);
}

/* ==========================================================================
   NAVIGATION BUTTONS (FOOTER OF PANELS)
   ========================================================================== */
.tp-panel-actions {
  border-top: 1px solid var(--tp-border);
  padding-top: 24px;
  margin-top: 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.tp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 30px;
  border-radius: var(--tp-radius-pill);
  font-family: var(--tp-font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  border: none;
  outline: none;
  user-select: none;
}

.tp-btn-secondary {
  background: var(--tp-card);
  color: var(--tp-dark);
  border: 1px solid var(--tp-border-strong);
}

.tp-btn-secondary:hover {
  background: var(--tp-card-hover);
  border-color: var(--tp-dark);
}

.tp-btn-primary {
  background: var(--tp-dark);
  color: var(--tp-white);
  box-shadow: 0 8px 20px rgba(35, 27, 21, 0.15);
}

.tp-btn-primary:hover {
  background: var(--tp-cognac);
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(140, 94, 60, 0.25);
}

.tp-btn-primary:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.tp-btn-gold {
  background: linear-gradient(135deg, #b8860b, #c89d56);
  color: var(--tp-white);
  box-shadow: 0 8px 24px rgba(184, 134, 11, 0.3);
}

.tp-btn-gold:hover {
  background: linear-gradient(135deg, #a07406, #b8860b);
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(184, 134, 11, 0.4);
}

/* Customer Helper Info Banner */
.tp-info-note {
  background: #fdfbf7;
  border: 1px solid rgba(200, 157, 86, 0.35);
  border-radius: var(--tp-radius-md);
  padding: 12px 16px;
  font-size: 0.82rem;
  color: var(--tp-text-dark);
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 22px;
  line-height: 1.45;
}

.tp-info-note i {
  color: var(--tp-cognac);
  font-size: 1rem;
  margin-top: 2px;
  flex-shrink: 0;
}

/* Inline Validation Alert */
.tp-validation-banner {
  display: none;
  background: #fff1f2;
  border: 1px solid #fecdd3;
  color: #9f1239;
  border-radius: var(--tp-radius-md);
  padding: 12px 18px;
  font-size: 0.88rem;
  font-weight: 600;
  margin-bottom: 20px;
  align-items: center;
  gap: 10px;
  animation: tpShake 0.35s ease;
}

.tp-validation-banner.is-visible {
  display: flex;
}

@keyframes tpShake {

  0%,
  100% {
    transform: translateX(0);
  }

  25% {
    transform: translateX(-6px);
  }

  75% {
    transform: translateX(6px);
  }
}

/* ==========================================================================
   STEP 08 — REVIEW SPECIFICATION CARDS
   ========================================================================== */
.tp-review-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  margin-bottom: 32px;
}

.tp-review-card {
  background: var(--tp-cream);
  border: 1px solid var(--tp-border);
  border-radius: var(--tp-radius-md);
  padding: 20px;
  position: relative;
}

.tp-review-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--tp-border);
  padding-bottom: 10px;
  margin-bottom: 14px;
}

.tp-review-card-title {
  font-family: var(--tp-font-mono);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--tp-cognac);
  display: flex;
  align-items: center;
  gap: 6px;
}

.tp-review-edit-btn {
  background: none;
  border: none;
  color: var(--tp-dark);
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
  text-decoration: underline;
  padding: 2px 6px;
  transition: color 0.2s ease;
}

.tp-review-edit-btn:hover {
  color: var(--tp-cognac);
}

.tp-review-item-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.tp-review-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  font-size: 0.85rem;
  gap: 12px;
  min-width: 0;
  max-width: 100%;
}

.tp-review-k {
  color: var(--tp-text-dim);
  font-weight: 600;
  min-width: 95px;
  flex-shrink: 0;
}

.tp-review-v {
  color: var(--tp-dark);
  font-weight: 700;
  text-align: right;
  word-break: break-word;
  overflow-wrap: break-word;
  min-width: 0;
  flex: 1 1 auto;
}

.tp-review-thumbs-row {
  display: flex;
  gap: 12px;
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px dashed var(--tp-border);
  flex-wrap: wrap;
  max-width: 100%;
}

.tp-review-thumb-item {
  width: 88px;
  height: 88px;
  border-radius: var(--tp-radius-md);
  border: 1.5px solid var(--tp-border-strong);
  object-fit: contain;
  background: #ffffff;
  padding: 4px;
  box-shadow: var(--tp-shadow-sm);
  flex-shrink: 0;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.tp-review-thumb-item:hover {
  transform: scale(1.05);
  box-shadow: var(--tp-shadow-md);
}

/* Customer Details Section in Review Step */
.tp-customer-box {
  background: var(--tp-cream-light);
  border: 1.5px solid var(--tp-border-strong);
  border-radius: var(--tp-radius-lg);
  padding: 28px 32px;
  margin-bottom: 28px;
}

.tp-customer-box-title {
  font-family: var(--tp-font-heading);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--tp-dark);
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.tp-confirm-checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  cursor: pointer;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--tp-text-dark);
  margin-top: 20px;
  padding: 14px 18px;
  background: var(--tp-card);
  border-radius: var(--tp-radius-md);
  border: 1px solid var(--tp-border);
}

.tp-confirm-checkbox-label input {
  width: 18px;
  height: 18px;
  accent-color: var(--tp-cognac);
  margin-top: 2px;
  flex-shrink: 0;
}

/* ==========================================================================
   SUCCESS STATE / PDF READY MODAL
   ========================================================================== */
.tp-success-view {
  display: none;
  background: var(--tp-white);
  border: 1px solid var(--tp-border);
  border-radius: var(--tp-radius-lg);
  padding: 48px 40px;
  box-shadow: var(--tp-shadow-lg);
  text-align: center;
  animation: tpFadeIn 0.4s ease forwards;
}

.tp-success-view.is-visible {
  display: block;
}

.tp-success-badge-icon {
  width: 76px;
  height: 76px;
  border-radius: var(--tp-radius-pill);
  background: var(--tp-dark);
  color: var(--tp-warm-gold);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 2.2rem;
  margin-bottom: 20px;
  box-shadow: 0 10px 25px rgba(35, 27, 21, 0.2);
}

.tp-success-title {
  font-family: var(--tp-font-heading);
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  font-weight: 800;
  color: var(--tp-dark);
  margin-bottom: 8px;
}

.tp-success-id-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--tp-font-mono);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--tp-cognac);
  background: var(--tp-cognac-subtle);
  padding: 6px 18px;
  border-radius: var(--tp-radius-pill);
  border: 1px solid rgba(140, 94, 60, 0.2);
  margin-bottom: 24px;
}

.tp-success-desc {
  font-size: 1rem;
  color: var(--tp-text-muted);
  max-width: 620px;
  margin: 0 auto 32px;
  line-height: 1.6;
}

.tp-action-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 960px;
  margin: 0 auto 36px;
  text-align: left;
}

.tp-action-card {
  background: var(--tp-cream);
  border: 1.5px solid var(--tp-border);
  border-radius: var(--tp-radius-md);
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 16px;
  transition: all 0.25s ease;
}

.tp-action-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--tp-shadow-sm);
  border-color: var(--tp-cognac);
}

.tp-action-card.tp-highlight-card {
  background: #fdfaf3;
  border-color: var(--tp-warm-gold);
}

.tp-action-card-head {
  display: flex;
  align-items: center;
  gap: 12px;
}

.tp-action-card-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--tp-radius-sm);
  background: var(--tp-dark);
  color: var(--tp-white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.tp-action-card-icon.tp-wa-icon {
  background: #25d366;
  color: #ffffff;
}

.tp-action-card-icon.tp-email-icon {
  background: #8c5e3c;
  color: #ffffff;
}

.tp-action-card-title {
  font-family: var(--tp-font-heading);
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--tp-dark);
}

.tp-action-card-body {
  font-size: 0.82rem;
  color: var(--tp-text-muted);
  line-height: 1.45;
}

.tp-action-card-note {
  font-size: 0.74rem;
  font-weight: 700;
  color: var(--tp-cognac);
  background: var(--tp-white);
  padding: 6px 10px;
  border-radius: var(--tp-radius-xs);
  border: 1px dashed var(--tp-border-strong);
}

/* Reset / Start New button */
.tp-restart-box {
  margin-top: 36px;
  padding-top: 24px;
  border-top: 1px dashed var(--tp-border-strong);
}

/* ==========================================================================
   LOADING OVERLAY
   ========================================================================== */
.tp-loading-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(35, 27, 21, 0.75);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 10000;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 18px;
  color: var(--tp-white);
}

.tp-loading-overlay.is-active {
  display: flex;
}

.tp-spinner {
  width: 54px;
  height: 54px;
  border: 4px solid rgba(255, 255, 255, 0.2);
  border-top-color: var(--tp-warm-gold);
  border-radius: 50%;
  animation: tpSpin 0.85s linear infinite;
}

@keyframes tpSpin {
  to {
    transform: rotate(360deg);
  }
}

.tp-loading-text {
  font-family: var(--tp-font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

/* ==========================================================================
   FOOTER (STANDALONE TECH PACK)
   ========================================================================== */
.tp-footer {
  background: var(--tp-dark);
  color: var(--tp-white);
  padding: 50px 24px 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: 60px;
}

.tp-footer-container {
  max-width: 1200px;
  margin: 0 auto;
}

.tp-footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1.2fr;
  gap: 40px;
  margin-bottom: 40px;
}

.tp-footer-brand-title {
  font-family: var(--tp-font-logo) !important;
  font-weight: 400 !important;
  font-style: normal;
  font-size: 2.2rem;
  letter-spacing: 0.06em;
  color: var(--tp-cream);
  margin-bottom: 12px;
}

.tp-footer-brand-desc {
  font-size: 0.88rem;
  color: #bfb2a8;
  max-width: 420px;
  line-height: 1.6;
}

.tp-footer-col-title {
  font-family: var(--tp-font-heading);
  font-size: 0.92rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--tp-warm-gold);
  margin-bottom: 16px;
}

.tp-footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.tp-footer-links a {
  color: #bfb2a8;
  font-size: 0.88rem;
  text-decoration: none;
  transition: color 0.2s ease;
}

.tp-footer-links a:hover {
  color: var(--tp-white);
}

.tp-footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.8rem;
  color: #8a786d;
}

/* ==========================================================================
   TOAST NOTIFICATION SYSTEM
   ========================================================================== */
.tp-toast-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 10001;
  display: flex;
  flex-direction: column;
  gap: 10px;
  pointer-events: none;
  max-width: calc(100vw - 32px);
}

.tp-toast {
  background: var(--tp-dark);
  color: var(--tp-white);
  padding: 14px 18px;
  border-radius: var(--tp-radius-md);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.88rem;
  border-left: 4px solid var(--tp-warm-gold);
  pointer-events: auto;
  animation: tpToastSlideIn 0.35s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  max-width: 440px;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.tp-toast.is-leaving {
  opacity: 0;
  transform: translateY(20px);
}

.tp-toast-icon {
  font-size: 1.3rem;
  color: var(--tp-warm-gold);
  flex-shrink: 0;
}

.tp-toast-icon.wa {
  color: #25d366;
}

.tp-toast-icon.pdf {
  color: #e53935;
}

.tp-toast-body {
  flex: 1 1 auto;
  min-width: 0;
  line-height: 1.4;
}

.tp-toast-title {
  font-weight: 700;
  font-family: var(--tp-font-heading);
  font-size: 0.92rem;
  margin-bottom: 2px;
  color: var(--tp-white);
}

.tp-toast-desc {
  font-size: 0.78rem;
  color: #d1c7be;
}

@keyframes tpToastSlideIn {
  from {
    transform: translateY(30px);
    opacity: 0;
  }

  to {
    transform: translateY(0);
    opacity: 1;
  }
}

/* ==========================================================================
   RESPONSIVE BREAKPOINTS (360px, 414px, 768px, 1024px, 1440px)
   ========================================================================== */
@media (max-width: 1024px) {
  .tp-step-indicators {
    grid-template-columns: repeat(4, 1fr);
  }

  .tp-hero-props {
    grid-template-columns: repeat(2, 1fr);
  }

  .tp-action-cards-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  #vatbae-tech-pack {
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
  }

  .tp-container {
    padding: 0 12px;
    max-width: 100%;
    box-sizing: border-box;
    overflow-x: hidden;
  }

  .tp-header {
    padding: 10px 14px;
    gap: 8px;
  }

  .tp-header-brand-name {
    font-size: 1.5rem;
  }

  .tp-header-badge {
    display: none;
  }

  .tp-header-back-link span {
    display: none;
  }

  .tp-header-back-link {
    padding: 6px 10px;
  }

  .tp-header-cta {
    padding: 7px 14px;
    font-size: 0.78rem;
  }

  .tp-header-cta span {
    display: inline;
  }

  .tp-header-nav-link {
    display: none;
  }

  .tp-progress-wrapper {
    display: none;
  }

  .tp-mobile-step-bar {
    display: block;
  }

  .tp-step-panel {
    padding: 18px 12px;
    border-radius: 14px;
    max-width: 100%;
    box-sizing: border-box;
    overflow-x: hidden;
  }

  .tp-step-header {
    padding-bottom: 10px;
    margin-bottom: 16px;
  }

  .tp-step-heading {
    font-size: 1.35rem;
    margin-bottom: 4px;
  }

  .tp-step-instruction {
    font-size: 0.8rem;
    line-height: 1.35;
  }

  .tp-info-note {
    padding: 10px 12px;
    font-size: 0.78rem;
    line-height: 1.35;
    border-radius: 10px;
    margin-bottom: 16px;
  }

  .tp-hero-cta-btn {
    padding: 12px 24px;
    font-size: 0.88rem;
    gap: 8px;
    letter-spacing: 0.03em;
    max-width: 88%;
    box-sizing: border-box;
    justify-content: center;
  }

  /* Form Grid: Single Column for Inputs to Ensure 100% Vertical Alignment */
  .tp-form-grid,
  .tp-form-grid.tp-grid-3 {
    grid-template-columns: 1fr;
    gap: 14px;
    margin-bottom: 20px;
    max-width: 100%;
  }

  .tp-form-grid.tp-grid-1 {
    grid-template-columns: 1fr;
  }

  .tp-form-group.tp-full-width {
    grid-column: 1 / -1;
  }

  .tp-form-group {
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
    gap: 5px;
  }

  .tp-label {
    font-size: 0.82rem;
    font-weight: 700;
    line-height: 1.25;
    color: var(--tp-dark);
  }

  .tp-helper-text {
    font-size: 0.72rem;
    color: var(--tp-text-dim);
    line-height: 1.3;
    margin-top: 2px;
  }

  .tp-input,
  .tp-select {
    height: 42px;
    padding: 0 12px;
    font-size: 0.86rem;
    border-radius: 10px;
    box-sizing: border-box;
    min-width: 0;
    width: 100%;
  }

  .tp-textarea {
    min-height: 80px;
    padding: 10px 12px;
    font-size: 0.86rem;
    border-radius: 10px;
    box-sizing: border-box;
    min-width: 0;
    width: 100%;
  }

  /* Choice Cards Grid: 2 Columns on Mobile */
  .tp-card-selector-grid,
  .tp-card-selector-grid.tp-cols-3,
  .tp-card-selector-grid.tp-cols-4 {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }

  .tp-review-grid {
    grid-template-columns: 1fr;
    max-width: 100%;
  }

  .tp-review-card {
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
    overflow: hidden;
  }

  .tp-hero-props {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin-top: 22px;
    padding-top: 18px;
  }

  .tp-prop-item {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 8px;
    padding: 10px 8px;
    border-radius: 14px;
    background: #fbf7f1;
    border: 1.5px solid rgba(140, 94, 60, 0.18);
    box-shadow: 0 3px 10px rgba(35, 27, 21, 0.04);
    min-width: 0;
  }

  .tp-prop-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    font-size: 1rem;
    flex-shrink: 0;
  }

  .tp-prop-icon svg {
    width: 18px;
    height: 18px;
  }

  .tp-prop-text {
    min-width: 0;
    flex: 1;
    overflow: hidden;
  }

  .tp-prop-title {
    font-size: 0.78rem;
    font-weight: 800;
    line-height: 1.2;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .tp-prop-sub {
    font-size: 0.66rem;
    line-height: 1.2;
    margin-top: 1px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .tp-footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .tp-footer-bottom {
    flex-direction: column;
    gap: 10px;
    text-align: center;
  }

  .tp-panel-actions {
    flex-direction: column-reverse;
  }

  .tp-success-view {
    padding: 24px 14px;
    border-radius: 16px;
    box-sizing: border-box;
    width: 100%;
    max-width: 100%;
  }

  .tp-success-badge-icon {
    width: 54px;
    height: 54px;
    font-size: 1.5rem;
    margin-bottom: 12px;
  }

  .tp-success-title {
    font-size: 1.35rem;
    line-height: 1.2;
    margin-bottom: 6px;
  }

  .tp-success-id-pill {
    font-size: 0.78rem;
    padding: 4px 12px;
    margin-bottom: 14px;
  }

  .tp-success-desc {
    font-size: 0.82rem;
    line-height: 1.4;
    margin: 0 auto 20px;
    max-width: 100%;
    text-align: center;
  }

  .tp-action-cards-grid {
    grid-template-columns: 1fr;
    gap: 14px;
    margin: 0 auto 20px;
    width: 100%;
    box-sizing: border-box;
  }

  .tp-action-card {
    padding: 16px 14px;
    border-radius: 14px;
    gap: 12px;
    box-sizing: border-box;
    width: 100%;
  }

  .tp-action-card-head {
    gap: 10px;
    align-items: center;
  }

  .tp-action-card-icon {
    width: 38px;
    height: 38px;
    font-size: 1.1rem;
    border-radius: 10px;
    flex-shrink: 0;
  }

  .tp-action-card-title {
    font-size: 0.95rem;
    font-weight: 800;
  }

  .tp-action-card-body {
    font-size: 0.78rem;
    line-height: 1.35;
    margin-top: 6px !important;
  }

  .tp-action-card-note {
    font-size: 0.72rem;
    padding: 6px 10px;
    border-radius: 6px;
    margin-top: 8px !important;
  }

  .tp-restart-box {
    margin-top: 16px;
  }

  #tp-start-new-btn {
    padding: 12px 20px;
    font-size: 0.86rem;
    border-radius: 999px;
    width: 100%;
    justify-content: center;
  }

  .tp-btn {
    width: 100%;
    padding: 11px 16px;
    font-size: 0.85rem;
    border-radius: 999px;
    justify-content: center;
  }

  .tp-customer-box {
    padding: 20px 14px;
    max-width: 100%;
    box-sizing: border-box;
  }

  .tp-toast-container {
    bottom: 16px;
    right: 12px;
    left: 12px;
    max-width: calc(100vw - 24px);
  }

  .tp-toast {
    max-width: 100%;
  }
}

@media (max-width: 480px) {
  .tp-header {
    padding: 8px 10px;
  }

  .tp-header-brand-name {
    font-size: 1.35rem;
  }

  .tp-header-logo-icon {
    width: 28px;
    height: 28px;
  }

  .tp-header-cta span {
    display: none;
  }

  .tp-header-cta {
    padding: 7px 10px;
    font-size: 0.9rem;
  }

  .tp-card-selector-grid,
  .tp-card-selector-grid.tp-cols-2,
  .tp-card-selector-grid.tp-cols-3,
  .tp-card-selector-grid.tp-cols-4 {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }

  .tp-choice-card {
    padding: 10px 6px;
    gap: 3px;
  }

  .tp-choice-icon {
    font-size: 1.1rem;
    margin-bottom: 2px;
  }

  .tp-choice-title {
    font-size: 0.78rem;
    font-weight: 700;
  }

  .tp-choice-desc {
    font-size: 0.65rem;
    line-height: 1.15;
  }

  .tp-upload-dropzone {
    padding: 18px 12px;
  }

  .tp-upload-icon {
    font-size: 1.6rem;
    margin-bottom: 6px;
  }

  .tp-upload-title {
    font-size: 0.88rem;
  }

  .tp-upload-sub {
    font-size: 0.72rem;
  }

  .tp-upload-preview-card {
    padding: 10px;
    gap: 8px;
  }

  .tp-preview-thumb {
    width: 40px;
    height: 40px;
    min-width: 40px;
    min-height: 40px;
    max-width: 40px;
    max-height: 40px;
  }

  .tp-preview-filename {
    font-size: 0.8rem;
  }

  .tp-preview-filesize {
    font-size: 0.7rem;
  }

  .tp-preview-remove-btn {
    padding: 6px 8px;
    font-size: 0.75rem;
    gap: 4px;
  }

  .tp-review-card {
    padding: 16px 12px;
  }

  .tp-review-row {
    font-size: 0.8rem;
  }

  .tp-review-k {
    min-width: 80px;
  }
}