/* ==========================================================================
   Build your Cory — premium configurator styles (v2 redesign)

   A self-contained "studio" art direction: the configurator carries its own
   deep, warm, gold-lit theme so the product images and gold accents read as
   premium in both the site's light and dark modes. Everything is scoped under
   #byc-modal / .byc- so it can never leak into the page.
   ========================================================================== */

/* -- local design tokens (studio palette) --------------------------------- */
#byc-modal .byc-shell{
  --b-grad:linear-gradient(135deg,#f6e5a8,#d4af37 52%,#b8860b);
  --b-grad-soft:linear-gradient(150deg,#f2d187,#d6a027);
  --b-gold:#d8b24a;
  --b-gold-bright:#f0d380;
  --b-gold-deep:#b8860b;
  --b-ink:#f6efe1;
  --b-ink-2:#cabd9f;
  --b-ink-3:#93886f;
  --b-tile:rgba(92,76,48,.55);
  --b-tile-2:rgba(70,57,35,.5);
  --b-tile-solid:#3a2e1c;
  --b-line:rgba(228,206,142,.14);
  --b-line-2:rgba(228,206,142,.30);
  --b-line-3:rgba(228,206,142,.5);
  --b-shadow:0 24px 60px -34px rgba(0,0,0,.85);
  --b-radius:18px;
  --b-pad:clamp(18px,3vw,32px);
  --b-x-reserve:60px;
  --b-ease:cubic-bezier(.2,.7,.2,1);
}

/* ==========================================================================
   1. Overlay + shell
   ========================================================================== */
/* Self-positioning overlay — do NOT rely on the host page's .modal class
   (the builder is embedded in other pages, e.g. the sales quote builder,
   whose .modal is a small card). The #id beats any host .modal rules. */
#byc-modal{
  position:fixed !important;
  top:0 !important; right:0 !important; bottom:0 !important; left:0 !important;
  inset:0 !important;
  z-index:2147483000 !important;
  display:none;
  align-items:center !important; justify-content:center !important;
  width:auto !important; height:auto !important; max-width:none !important; min-width:0 !important; margin:0 !important;
  border:0 !important; border-radius:0 !important; box-shadow:none !important;
  background:rgba(16,11,6,.66);
  -webkit-backdrop-filter:blur(12px) saturate(1.08);
  backdrop-filter:blur(12px) saturate(1.08);
  padding:16px;
}
#byc-modal.open{ display:flex !important; }

#byc-modal .byc-shell{
  position:relative;
  width:min(1040px,100%);
  max-height:min(92dvh,900px);
  display:flex;
  flex-direction:column;
  padding:0;
  overflow:hidden;
  color:var(--b-ink);
  font-family:var(--sans);
  border:1px solid var(--b-line-2);
  border-radius:24px;
  background:
    radial-gradient(135% 100% at 6% -10%, rgba(224,186,72,.26), transparent 54%),
    radial-gradient(120% 90% at 100% -6%, rgba(196,146,26,.22), transparent 48%),
    radial-gradient(150% 130% at 50% 118%, rgba(168,126,54,.22), transparent 62%),
    linear-gradient(168deg,#3a2f1e 0%,#2c2216 55%,#241b10 100%);
  box-shadow:
    0 0 0 1px rgba(0,0,0,.4),
    0 50px 120px -34px rgba(0,0,0,.85),
    inset 0 1px 0 rgba(255,240,205,.08);
  animation:bycIn .5s var(--b-ease) both;
}
/* soft specular top-glow layer */
.byc-glow{
  position:absolute; top:-40%; left:50%; width:120%; height:80%;
  transform:translateX(-50%);
  background:radial-gradient(60% 100% at 50% 0%, rgba(240,211,128,.14), transparent 70%);
  pointer-events:none; z-index:0;
  animation:bycGlow 9s ease-in-out infinite alternate;
}
/* thin gold hairline along the very top edge */
.byc-shell::before{
  content:""; position:absolute; top:0; left:0; right:0; height:1px; z-index:3;
  background:linear-gradient(90deg,transparent, rgba(240,211,128,.7) 22%, rgba(255,247,220,.9) 50%, rgba(240,211,128,.7) 78%, transparent);
  opacity:.7;
}
.byc-shell > *{ position:relative; z-index:1; }

/* close button */
.byc-x{
  position:absolute; top:16px; right:16px; z-index:6;
  width:38px; height:38px; border-radius:50%; cursor:pointer;
  display:flex; align-items:center; justify-content:center;
  color:var(--b-ink-2);
  background:rgba(58,46,28,.5); border:1px solid var(--b-line-2);
  -webkit-backdrop-filter:blur(6px); backdrop-filter:blur(6px);
  transition:color .2s, background .2s, border-color .2s, transform .2s var(--b-ease);
}
.byc-x:hover{ color:#1a1206; background:var(--b-gold); border-color:transparent; transform:rotate(90deg); }

/* ==========================================================================
   2. Topbar / eyebrow
   ========================================================================== */
.byc-topbar{
  flex:0 0 auto;
  padding:22px var(--b-pad) 6px;
  padding-right:max(var(--b-pad),var(--b-x-reserve));
}
.byc-eyebrow{
  display:inline-flex; align-items:center; gap:12px;
  font-family:var(--mono); font-size:12px; font-weight:600;
  letter-spacing:.26em; text-transform:uppercase;
  background:var(--b-grad); -webkit-background-clip:text; background-clip:text; color:transparent;
}
.byc-eyebrow::before{
  content:""; width:26px; height:1.5px; border-radius:2px;
  background:linear-gradient(90deg,var(--b-gold-deep),var(--b-gold-bright));
}

/* ==========================================================================
   3. Tabs
   ========================================================================== */
.byc-tabs{
  flex:0 0 auto;
  display:flex; gap:2px;
  padding:10px var(--b-pad) 0;
  /* reserve the top-right corner for the close button; trailing scroll space
     keeps the last tab from resting under it while the row still scrolls */
  padding-right:max(var(--b-pad),var(--b-x-reserve));
  scroll-padding-right:var(--b-x-reserve);
  border-bottom:1px solid var(--b-line);
  overflow-x:auto; scrollbar-width:none; -ms-overflow-style:none;
  scroll-snap-type:x proximity;
}
.byc-tabs::-webkit-scrollbar{ display:none; }
.byc-tab{
  flex:0 0 auto; scroll-snap-align:start;
  appearance:none; -webkit-appearance:none; font:inherit; cursor:pointer;
  background:none; border:0; white-space:nowrap;
  font-family:var(--mono); font-size:11.5px; letter-spacing:.1em; text-transform:uppercase;
  color:var(--b-ink-3);
  display:inline-flex; align-items:center; gap:9px;
  padding:11px 14px 13px; border-radius:11px 11px 0 0; position:relative;
  transition:color .22s var(--b-ease);
}
.byc-tab:hover{ color:var(--b-ink-2); }
.byc-tab[aria-selected="true"]{ color:var(--b-gold-bright); }
.byc-tab[aria-selected="true"]::after{
  content:""; position:absolute; left:14px; right:14px; bottom:-1px; height:2px; border-radius:2px;
  background:var(--b-grad); box-shadow:0 0 12px -1px rgba(240,211,128,.6);
}
.byc-tab-n{
  display:inline-flex; align-items:center; justify-content:center;
  width:20px; height:20px; border-radius:50%; font-size:10.5px; font-weight:700;
  background:rgba(228,206,142,.08); color:var(--b-ink-3);
  border:1px solid var(--b-line-2); transition:.22s var(--b-ease);
}
.byc-tab[aria-selected="true"] .byc-tab-n{
  background:var(--b-grad); color:#1a1206; border-color:transparent;
  box-shadow:0 2px 10px -2px rgba(216,178,74,.7);
}
.byc-tab[aria-disabled="true"]{ opacity:.4; cursor:not-allowed; }
.byc-tab--skipped{ text-decoration:line-through; text-decoration-color:var(--b-line-2); }
/* first tab sits flush with the shared gutter so its badge lines up under the
   title / progress bar at every width */
.byc-tab:first-child{ padding-left:0; }
.byc-tab:first-child[aria-selected="true"]::after{ left:2px; }
/* Desktop: distribute the 5 tabs into equal columns so each dash below lines up
   under its step (the progress bar is a matching 5-column grid). */
@media (min-width:721px){
  .byc-tabs{ display:grid; grid-template-columns:repeat(5,1fr); overflow:visible; }
  .byc-tab{ justify-content:center; padding-left:14px; }
  .byc-tab:first-child{ padding-left:14px; }
  .byc-tab:first-child[aria-selected="true"]::after{ left:14px; }
  .byc-progress{ padding-right:max(var(--b-pad),var(--b-x-reserve)); }
}

/* ==========================================================================
   4. Progress
   ========================================================================== */
.byc-progress{
  flex:0 0 auto;
  display:flex; flex-direction:column; gap:7px;
  padding:14px var(--b-pad) 2px;
}
.byc-prog-bar{ display:grid; grid-template-columns:repeat(5,1fr); gap:6px; height:4px; }
.byc-prog-seg{
  flex:1 1 0; min-width:0; height:100%; position:relative; overflow:hidden;
  background:rgba(228,206,142,.10); border-radius:99px;
}
.byc-prog-seg::after{
  content:""; position:absolute; inset:0; border-radius:99px;
  transform:scaleX(0); transform-origin:left;
  transition:transform .55s var(--b-ease);
}
.byc-prog-seg--done::after{ background:var(--b-gold-deep); transform:scaleX(1); }
.byc-prog-seg--on::after{
  background:var(--b-grad); transform:scaleX(1);
  box-shadow:0 0 12px -2px rgba(240,211,128,.7);
}
.byc-prog-label{
  font-family:var(--mono); font-size:10px; letter-spacing:.18em; text-transform:uppercase;
  color:var(--b-ink-3);
}

/* ==========================================================================
   5. Body + step
   ========================================================================== */
.byc-body{
  flex:1 1 auto; min-height:0;
  overflow-y:auto; overflow-x:hidden; -webkit-overflow-scrolling:touch;
  padding:var(--b-pad);
}
.byc-body::-webkit-scrollbar{ width:10px; }
.byc-body::-webkit-scrollbar-thumb{ background:rgba(228,206,142,.16); border-radius:99px; border:3px solid transparent; background-clip:content-box; }
.byc-body::-webkit-scrollbar-thumb:hover{ background:rgba(228,206,142,.28); background-clip:content-box; }

.byc-step{ display:flex; flex-direction:column; gap:clamp(16px,2.2vw,22px); }
.byc-step-in{ animation:bycStepIn .42s var(--b-ease) both; }

.byc-step-head{ display:flex; flex-direction:column; gap:6px; }
.byc-step-title{
  font-size:clamp(1.35rem,3vw,1.7rem); font-weight:750; letter-spacing:-.025em;
  line-height:1.1; color:var(--b-ink); text-wrap:balance;
}
.byc-step-help{
  color:var(--b-ink-2); font-size:.98rem; line-height:1.5; max-width:62ch; margin:0;
}
.byc-fine{
  font-size:.82rem; line-height:1.5; color:var(--b-ink-3); margin:2px 0 0; max-width:70ch;
}

/* card grids */
.byc-cards{ display:grid; gap:16px; }
.byc-cards--robot{ grid-template-columns:repeat(auto-fit,minmax(min(300px,100%),1fr)); }
.byc-cards--hands{ grid-template-columns:repeat(auto-fit,minmax(min(220px,100%),1fr)); }
.byc-cards--acc{ grid-template-columns:repeat(auto-fit,minmax(min(230px,100%),1fr)); }

/* ==========================================================================
   6. Cards
   ========================================================================== */
.byc-card{
  position:relative; min-width:0; isolation:isolate;
  display:flex; flex-direction:column; gap:16px;
  width:100%; text-align:left; font:inherit; color:var(--b-ink);
  appearance:none; -webkit-appearance:none; cursor:pointer;
  border:1px solid var(--b-line); border-radius:var(--b-radius);
  padding:16px;
  background:linear-gradient(162deg,var(--b-tile),var(--b-tile-2));
  -webkit-backdrop-filter:blur(6px); backdrop-filter:blur(6px);
  box-shadow:inset 0 1px 0 rgba(255,244,214,.06), var(--b-shadow);
  overflow:hidden;
  transition:transform .28s var(--b-ease), box-shadow .3s, border-color .3s, background .3s;
}
.byc-card:hover{
  transform:translateY(-5px);
  border-color:var(--b-line-2);
  box-shadow:inset 0 1px 0 rgba(255,244,214,.08), 0 34px 70px -34px rgba(0,0,0,.9);
}
.byc-card:active{ transform:translateY(-2px) scale(.995); }
.byc-card.selected{
  border-color:var(--b-gold);
  background:linear-gradient(162deg,rgba(122,98,50,.62),rgba(92,72,38,.55));
  box-shadow:
    0 0 0 1px var(--b-gold),
    0 0 32px -6px rgba(216,178,74,.45),
    inset 0 1px 0 rgba(255,244,214,.12);
}

/* gold sheen sweep on hover */
.byc-sheen{
  position:absolute; inset:0; z-index:2; pointer-events:none; border-radius:inherit;
  background:linear-gradient(115deg,transparent 30%, rgba(255,246,214,.14) 46%, rgba(255,246,214,.05) 54%, transparent 66%);
  transform:translateX(-120%); opacity:0;
  transition:opacity .2s;
}
.byc-card:hover .byc-sheen{ opacity:1; animation:bycSheen .9s var(--b-ease); }

/* selected check badge */
.byc-check{
  position:absolute; top:12px; right:12px; z-index:4;
  width:26px; height:26px; border-radius:50%;
  display:flex; align-items:center; justify-content:center;
  color:#1a1206; background:var(--b-grad);
  box-shadow:0 3px 12px -2px rgba(216,178,74,.7);
  transform:scale(0); opacity:0;
  transition:transform .3s var(--b-ease), opacity .2s;
}
.byc-card.selected .byc-check{ transform:scale(1); opacity:1; }

/* media frames */
.byc-media{ position:relative; border-radius:14px; overflow:hidden; }
.byc-media--photo{
  aspect-ratio:4/3;
  background:linear-gradient(160deg,#33291a,#221a10);
  border:1px solid var(--b-line);
}
.byc-media--photo::after{
  content:""; position:absolute; inset:0; pointer-events:none;
  background:linear-gradient(180deg,transparent 55%, rgba(12,9,5,.5));
}
.byc-media--photo .byc-media-img{
  width:100%; height:100%; object-fit:cover; object-position:center;
  display:block;
}
.byc-media--icon{
  aspect-ratio:16/10;
  display:flex; align-items:center; justify-content:center;
  background:radial-gradient(70% 90% at 50% 45%, rgba(100,82,48,.6), rgba(46,36,21,.72));
  border:1px solid var(--b-line);
}
.byc-media-plate{
  position:absolute; width:64%; height:78%; border-radius:50%;
  background:radial-gradient(circle, rgba(240,211,128,.20), transparent 66%);
  filter:blur(2px);
}
.byc-media--icon .byc-media-img{
  position:relative; width:56%; height:72%; object-fit:contain; display:block;
  filter:drop-shadow(0 6px 14px rgba(0,0,0,.5));
}
.byc-media-img{ animation:bycReveal .6s var(--b-ease) both; }

.byc-card-body{ display:flex; flex-direction:column; gap:11px; }
.byc-card-head{
  display:flex; align-items:baseline; justify-content:space-between; gap:8px 12px;
  flex-wrap:wrap; padding-right:20px;
}
.byc-card-name{
  font-size:1.14rem; font-weight:700; letter-spacing:-.02em; line-height:1.15;
  color:var(--b-ink); overflow-wrap:anywhere; min-width:0;
}
.byc-card-price{
  font-family:var(--mono); font-size:1.02rem; font-weight:700; letter-spacing:-.01em;
  color:var(--b-gold-bright); white-space:nowrap; font-variant-numeric:tabular-nums;
}

/* spec lists — gold diamond bullets */
.byc-specs{ list-style:none; margin:0; padding:0; display:grid; gap:8px; }
.byc-specs li{
  display:flex; gap:11px; min-width:0;
  color:var(--b-ink-2); font-size:.92rem; line-height:1.42; overflow-wrap:anywhere;
}
.byc-specs li::before{
  content:""; width:7px; height:7px; margin-top:6px; flex:0 0 auto;
  border-radius:2px; background:var(--b-grad); transform:rotate(45deg);
  box-shadow:0 0 8px -2px rgba(216,178,74,.7);
}
.byc-specs b{ color:var(--b-ink); font-weight:700; font-variant-numeric:tabular-nums; white-space:nowrap; }
.byc-stat{ min-width:0; }
.byc-specs--hand li{ align-items:baseline; }

/* feature list — subtle check bullets, divided from specs */
.byc-feat-wrap{ padding-top:12px; margin-top:1px; border-top:1px solid var(--b-line); }
.byc-features{ list-style:none; margin:0; padding:0; display:grid; gap:8px; }
.byc-features li{
  display:flex; gap:10px; min-width:0;
  color:var(--b-ink-2); font-size:.9rem; line-height:1.42; overflow-wrap:anywhere;
}
.byc-features li::before{
  content:""; width:14px; height:14px; margin-top:2px; flex:0 0 auto;
  background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23d8b24a' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center/13px no-repeat;
}

/* warranty pill */
.byc-warranty{
  display:inline-flex; align-items:center; gap:7px; align-self:flex-start;
  font-family:var(--mono); font-size:10px; font-weight:600; letter-spacing:.12em; text-transform:uppercase;
  color:var(--b-gold-bright);
  background:rgba(228,206,142,.08);
  border:1px solid var(--b-line-2); border-radius:20px; padding:4px 11px;
}
.byc-warranty::before{
  content:""; width:12px; height:12px; flex:0 0 auto;
  background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23f0d380' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 2 4 6v6c0 5 3.5 8 8 10 4.5-2 8-5 8-10V6z'/%3E%3C/svg%3E") center/contain no-repeat;
}

/* hand: delta chip + type tags */
.byc-delta{
  display:inline-flex; align-items:center; align-self:flex-start;
  font-family:var(--mono); font-size:12px; font-weight:700; letter-spacing:.01em;
  color:#1a1206; background:var(--b-grad-soft);
  padding:4px 11px; border-radius:20px; white-space:nowrap;
  box-shadow:0 3px 10px -3px rgba(216,178,74,.7);
}
.byc-tagrow{ display:flex; align-items:center; gap:9px; flex-wrap:wrap; }
.byc-tag{
  display:inline-flex; align-items:center; gap:6px;
  font-family:var(--mono); font-size:10px; font-weight:600; letter-spacing:.1em; text-transform:uppercase;
  border-radius:20px; padding:3px 10px; white-space:nowrap;
}
.byc-tag::before{ content:""; width:6px; height:6px; border-radius:50%; flex:0 0 auto; }
.byc-tag--grip{ color:#e7d5a0; background:rgba(216,178,74,.12); border:1px solid var(--b-line-2); }
.byc-tag--grip::before{ background:var(--b-gold); }
.byc-tag--prec{ color:#cfe0e6; background:rgba(120,170,190,.12); border:1px solid rgba(150,190,205,.28); }
.byc-tag--prec::before{ background:#8fc0d2; }
.byc-tag-blurb{ font-size:.82rem; color:var(--b-ink-3); }

/* accessory price pill + desc */
.byc-acc-price{
  display:inline-flex; align-self:flex-start;
  font-family:var(--mono); font-size:10.5px; font-weight:600; letter-spacing:.08em; text-transform:uppercase;
  color:var(--b-ink-2); background:rgba(228,206,142,.06);
  border:1px dashed var(--b-line-2); border-radius:20px; padding:4px 11px;
}
.byc-acc-desc{ color:var(--b-ink-2); font-size:.88rem; line-height:1.45; margin:0; }

/* ==========================================================================
   6b. Hand tiers, locked/upsell cards, manufacturer + tactile notes
   ========================================================================== */

/* stacked, labelled hand-tier groups */
.byc-hand-groups{ display:flex; flex-direction:column; gap:clamp(18px,2.4vw,26px); }
.byc-hand-group{ display:flex; flex-direction:column; gap:14px; min-width:0; }
.byc-hand-group-head{
  display:flex; align-items:baseline; justify-content:space-between;
  gap:8px 18px; flex-wrap:wrap;
}
.byc-hand-group-title{
  display:inline-flex; align-items:center; gap:10px; min-width:0;
  font-family:var(--mono); font-size:12px; font-weight:600;
  letter-spacing:.2em; text-transform:uppercase;
  background:var(--b-grad); -webkit-background-clip:text; background-clip:text; color:transparent;
}
.byc-hand-group-title::before{
  content:""; width:22px; height:1.5px; border-radius:2px; flex:0 0 auto;
  background:linear-gradient(90deg,var(--b-gold-deep),var(--b-gold-bright));
}
.byc-hand-group-note{
  color:var(--b-ink-3); font-size:.85rem; line-height:1.45; min-width:0; max-width:56ch;
}

/* small manufacturer/model line under a hand name — e.g. "Unitree · Dex3-1" */
.byc-hand-mfr{
  font-family:var(--mono); font-size:11px; letter-spacing:.03em; line-height:1.3;
  color:var(--b-ink-3); margin-top:-5px; overflow-wrap:anywhere;
}

/* tactile-feedback explainer inside a touch-capable hand card */
.byc-touch-note{
  display:flex; gap:8px; align-items:flex-start;
  font-size:.84rem; line-height:1.4; color:var(--b-gold-bright); overflow-wrap:anywhere;
  background:rgba(216,178,74,.09); border:1px solid var(--b-line-2);
  border-radius:12px; padding:9px 12px;
}
.byc-touch-note::before{
  content:""; width:14px; height:14px; margin-top:1px; flex:0 0 auto;
  background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23f0d380' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M8 13V5a2 2 0 0 1 4 0v6'/%3E%3Cpath d='M12 11V4a2 2 0 0 1 4 0v9'/%3E%3Cpath d='M16 8a2 2 0 0 1 4 0v6a7 7 0 0 1-7 7h-2a7 7 0 0 1-6-4l-2-4a2 2 0 0 1 3.4-2L8 13'/%3E%3C/svg%3E") center/contain no-repeat;
}

/* locked / upsell hand card — dimmed but fully visible, clickable to upgrade */
.byc-card--locked{ opacity:.6; }
.byc-card--locked .byc-media-img{ filter:grayscale(.9) brightness(.94); }
.byc-card--locked:hover{
  opacity:.82; transform:translateY(-3px); border-color:var(--b-line-3);
  box-shadow:
    0 0 0 1px var(--b-line-3),
    0 0 26px -10px rgba(216,178,74,.5),
    0 30px 60px -34px rgba(0,0,0,.9);
}
.byc-lock-badge{
  position:absolute; top:12px; left:12px; z-index:4;
  display:inline-flex; align-items:center; gap:6px; max-width:calc(100% - 24px);
  font-family:var(--mono); font-size:9.5px; font-weight:600; letter-spacing:.1em; text-transform:uppercase;
  color:var(--b-gold-bright);
  background:rgba(20,14,8,.74); border:1px solid var(--b-line-2); border-radius:20px;
  padding:4px 10px 4px 8px;
  -webkit-backdrop-filter:blur(6px); backdrop-filter:blur(6px);
}
.byc-lock-badge::before{
  content:""; width:11px; height:11px; flex:0 0 auto;
  background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23f0d380' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='11' width='18' height='11' rx='2'/%3E%3Cpath d='M7 11V7a5 5 0 0 1 10 0v4'/%3E%3C/svg%3E") center/contain no-repeat;
}
.byc-lock-badge span{ overflow:hidden; text-overflow:ellipsis; white-space:nowrap; min-width:0; }

/* full-width upgrade callout beneath a locked group */
.byc-upsell-note{
  display:flex; align-items:center; gap:12px;
  border:1px solid var(--b-line-2); border-radius:15px; padding:13px 17px;
  background:linear-gradient(150deg,rgba(216,178,74,.15),rgba(184,134,11,.07));
  color:var(--b-ink); font-size:.92rem; line-height:1.45;
}
.byc-upsell-note::before{
  content:""; width:20px; height:20px; flex:0 0 auto;
  background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23f0d380' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3l2.6 5.7 6.2.6-4.7 4.1 1.4 6.1L12 17.3 6.3 19.6l1.4-6.1L3 9.4l6.2-.6z'/%3E%3C/svg%3E") center/contain no-repeat;
}
.byc-upsell-note b{ color:var(--b-gold-bright); font-weight:700; }

/* ==========================================================================
   6c. Dual currency (USD primary / CAD secondary)
   ========================================================================== */
.byc-price-dual{
  display:inline-flex; flex-direction:column; align-items:flex-end;
  gap:0; line-height:1.1; text-align:right; vertical-align:baseline; min-width:0;
}
.byc-usd{ font-variant-numeric:tabular-nums; white-space:nowrap; }
.byc-cad{
  font-size:.8em; font-weight:600; letter-spacing:0; white-space:nowrap;
  color:var(--b-ink-3); -webkit-text-fill-color:var(--b-ink-3);
  font-variant-numeric:tabular-nums;
}
/* keep gradient-clipped totals rendering the USD half as gold */
.byc-quote-total .byc-usd,
.byc-total-amt .byc-usd{
  background:var(--b-grad); -webkit-background-clip:text; background-clip:text;
  color:transparent; -webkit-text-fill-color:transparent;
}
/* delta chip is dark-on-gold: keep both currencies legible, CAD stacks under */
.byc-delta{ white-space:normal; }
.byc-delta .byc-price-dual{ align-items:center; }
.byc-delta .byc-usd{ color:#1a1206; }
.byc-delta .byc-cad{
  font-size:.78em; color:rgba(26,18,6,.72); -webkit-text-fill-color:rgba(26,18,6,.72);
}
/* where there's room, lay the small mono prices out as US$… · CA$… on one row */
@media (min-width:820px){
  .byc-card-price .byc-price-dual,
  .byc-care-amt .byc-price-dual{ flex-direction:row; align-items:baseline; gap:7px; }
  .byc-card-price .byc-cad::before,
  .byc-care-amt .byc-cad::before{
    content:"\00B7"; margin-right:7px; color:var(--b-ink-3); font-weight:400;
  }
}

/* ==========================================================================
   7. Cory Care step
   ========================================================================== */
.byc-care-intro{
  display:flex; align-items:center; gap:18px;
  border:1px solid var(--b-line); border-radius:var(--b-radius);
  padding:18px 20px;
  background:linear-gradient(150deg,rgba(100,82,48,.42),rgba(60,47,27,.4));
}
.byc-care-badge{ flex:0 0 auto; width:78px; }
.byc-care-badge .byc-media{ aspect-ratio:1/1; border-radius:16px; }
.byc-care-badge .byc-media--icon .byc-media-img{ width:62%; height:62%; }
.byc-care-lead{ min-width:0; }
.byc-care-title{ font-size:1.16rem; font-weight:750; letter-spacing:-.02em; color:var(--b-ink); margin:0 0 4px; }
.byc-care-blurb{ color:var(--b-ink-2); font-size:.94rem; line-height:1.5; margin:0; }

.byc-care-opts{ display:flex; flex-direction:column; gap:12px; }
.byc-care-opt{
  position:relative; width:100%; text-align:left; font:inherit; color:var(--b-ink); cursor:pointer;
  appearance:none; -webkit-appearance:none;
  display:flex; align-items:center; gap:16px;
  border:1px solid var(--b-line); border-radius:15px; padding:16px 18px;
  background:linear-gradient(162deg,var(--b-tile),var(--b-tile-2));
  box-shadow:inset 0 1px 0 rgba(255,244,214,.05);
  transition:transform .22s var(--b-ease), border-color .3s, background .3s, box-shadow .3s;
}
.byc-care-opt:hover{ transform:translateY(-2px); border-color:var(--b-line-2); }
.byc-care-opt.selected{
  border-color:var(--b-gold);
  background:linear-gradient(162deg,rgba(120,96,48,.55),rgba(90,70,37,.5));
  box-shadow:0 0 0 1px var(--b-gold), 0 0 26px -8px rgba(216,178,74,.4);
}
.byc-radio{
  flex:0 0 auto; width:22px; height:22px; border-radius:50%;
  border:2px solid var(--b-line-3); position:relative; transition:border-color .25s;
}
.byc-care-opt.selected .byc-radio{ border-color:var(--b-gold); }
.byc-radio::after{
  content:""; position:absolute; inset:3px; border-radius:50%;
  background:var(--b-grad); transform:scale(0); transition:transform .25s var(--b-ease);
}
.byc-care-opt.selected .byc-radio::after{ transform:scale(1); }
.byc-care-text{ display:flex; flex-direction:column; gap:3px; min-width:0; flex:1 1 auto; }
.byc-care-name{ font-size:1.02rem; font-weight:700; letter-spacing:-.01em; color:var(--b-ink); }
.byc-care-sub{ font-size:.86rem; color:var(--b-ink-2); line-height:1.4; }
.byc-care-price{ display:flex; align-items:baseline; gap:5px; white-space:nowrap; text-align:right; }
.byc-care-amt{ font-family:var(--mono); font-size:1.12rem; font-weight:800; color:var(--b-gold-bright); font-variant-numeric:tabular-nums; }
.byc-care-per{ font-family:var(--mono); font-size:.76rem; color:var(--b-ink-3); }
.byc-care-free{ font-family:var(--mono); font-size:10px; font-weight:600; letter-spacing:.1em; text-transform:uppercase; color:var(--b-ink-3); }

/* ==========================================================================
   8. Quote step
   ========================================================================== */
.byc-quote{ gap:20px; }
.byc-quote-hero{
  display:flex; align-items:center; gap:22px;
  border:1px solid var(--b-line-2); border-radius:var(--b-radius);
  padding:18px; overflow:hidden;
  background:
    radial-gradient(120% 140% at 100% 0%, rgba(212,175,55,.18), transparent 55%),
    linear-gradient(150deg,rgba(100,82,48,.44),rgba(58,45,26,.42));
}
.byc-quote-hero .byc-media{ flex:0 0 auto; width:min(190px,38%); aspect-ratio:4/3; }
.byc-quote-hero-body{ min-width:0; display:flex; flex-direction:column; gap:5px; }
.byc-spec-kicker{
  font-family:var(--mono); font-size:10.5px; font-weight:600; letter-spacing:.16em; text-transform:uppercase;
  color:var(--b-gold-bright);
}
.byc-quote-name{ font-size:1.22rem; font-weight:750; letter-spacing:-.02em; color:var(--b-ink); line-height:1.2; }
.byc-quote-total{
  font-size:clamp(1.8rem,4.6vw,2.5rem); font-weight:800; letter-spacing:-.03em; line-height:1.05;
  font-variant-numeric:tabular-nums; margin-top:4px;
  background:var(--b-grad); -webkit-background-clip:text; background-clip:text; color:transparent;
}
.byc-quote-ccy{ font-size:.42em; font-weight:700; letter-spacing:.06em; color:var(--b-ink-3); -webkit-text-fill-color:var(--b-ink-3); }
.byc-quote-monthly{ font-family:var(--mono); font-size:.86rem; color:var(--b-gold-bright); margin-top:2px; }

.byc-quote-cols{ display:grid; grid-template-columns:1.15fr .85fr; gap:18px; align-items:start; }

.byc-spec-sheet{ display:flex; flex-direction:column; gap:12px; }
.byc-spec-block{
  display:flex; flex-direction:column; gap:8px;
  border:1px solid var(--b-line); border-radius:15px; padding:16px 18px;
  background:linear-gradient(162deg,var(--b-tile),var(--b-tile-2));
}
.byc-spec-block .byc-spec-h{ font-size:1.05rem; font-weight:700; letter-spacing:-.01em; color:var(--b-ink); line-height:1.2; }

/* breakdown */
.byc-breakdown{
  display:flex; flex-direction:column; gap:2px;
  border:1px solid var(--b-line-2); border-radius:15px; padding:16px 18px;
  background:linear-gradient(162deg,rgba(84,68,40,.5),rgba(54,42,25,.5));
  align-self:start;
}
.byc-breakdown .byc-spec-kicker{ margin-bottom:8px; }
.byc-bd-row{
  display:flex; align-items:baseline; justify-content:space-between; gap:16px;
  padding:10px 0; border-bottom:1px solid var(--b-line); min-width:0;
}
.byc-bd-label{ color:var(--b-ink-2); font-size:.94rem; min-width:0; overflow-wrap:anywhere; }
.byc-bd-val{ color:var(--b-ink); font-weight:600; font-variant-numeric:tabular-nums; white-space:nowrap; text-align:right; }
.byc-bd-total{
  display:flex; align-items:baseline; justify-content:space-between; gap:16px;
  padding:14px 0 4px; margin-top:4px; border-top:2px solid var(--b-line-2);
}
.byc-bd-total > span:first-child{
  font-family:var(--mono); font-size:11px; font-weight:600; letter-spacing:.14em; text-transform:uppercase; color:var(--b-ink-2);
}
.byc-bd-total > span:last-child{
  font-size:1.4rem; font-weight:800; letter-spacing:-.02em; color:var(--b-gold-bright);
  font-variant-numeric:tabular-nums; white-space:nowrap;
}
.byc-bd-ccy{ font-size:.6rem; font-weight:700; letter-spacing:.06em; color:var(--b-ink-3); }
.byc-bd-monthly{
  display:flex; align-items:baseline; justify-content:space-between; gap:16px;
  padding:8px 0 0; font-family:var(--mono); font-size:.82rem; color:var(--b-gold-bright);
}
.byc-breakdown .byc-fine{ margin-top:10px; }

/* actions */
.byc-quote-actions{ display:grid; gap:18px; }
.byc-save{ display:flex; flex-direction:column; align-items:flex-start; gap:10px; }
.byc-save-row{ display:flex; flex-wrap:wrap; gap:10px; }
.byc-btn-line{ color:var(--b-ink); background:transparent; border-color:var(--b-line-3); text-decoration:none; }
.byc-btn-line:hover{ border-color:var(--b-gold-bright, #d4af37); transform:translateY(-2px); }
.byc-fin-build{ border:1px solid var(--b-line-2); border-radius:14px; padding:16px 18px; display:grid; gap:8px; max-width:560px; }
.byc-fin-line{ display:flex; gap:12px; font-size:.92rem; line-height:1.45; }
.byc-fin-k{ flex:0 0 auto; min-width:86px; color:var(--b-ink-3); font-family:var(--mono); font-size:.78rem; letter-spacing:.04em; text-transform:uppercase; padding-top:2px; }
.byc-fin-v{ color:var(--b-ink); }
.byc-fin-copyrow{ display:flex; align-items:center; gap:12px; flex-wrap:wrap; margin-top:2px; }
.byc-fin-copy{ padding:10px 18px; font-size:14px; }
.byc-fin-copied{ font-size:.88rem; color:var(--b-gold-bright); }
.byc-fin-copied:empty{ display:none; }
.byc-save-result,.byc-contact-result{ font-size:.92rem; line-height:1.45; }
.byc-save-result:empty,.byc-contact-result:empty{ display:none; }
.byc-ok{ color:var(--b-gold-bright); font-weight:600; }
.byc-ok b{ font-family:var(--mono); letter-spacing:.04em; }
.byc-warn{ color:#e8a07a; font-weight:600; }
.byc-quote-link{ margin-left:2px; color:var(--b-gold-bright); font-weight:600; text-decoration:underline; text-underline-offset:2px; }

/* contact form */
.byc-contact{
  display:flex; flex-direction:column; gap:14px;
  border:1px solid var(--b-line-2); border-radius:var(--b-radius); padding:22px;
  background:linear-gradient(162deg,rgba(84,68,40,.46),rgba(54,42,25,.44));
}
.byc-contact-head{ display:flex; flex-direction:column; gap:5px; }
.byc-contact-h{ font-size:1.16rem; font-weight:750; letter-spacing:-.02em; color:var(--b-ink); margin:0; }
.byc-contact-intro{ color:var(--b-ink-2); font-size:.92rem; line-height:1.5; margin:0; }
.byc-contact-grid{ display:grid; grid-template-columns:1fr 1fr; gap:14px; }
.byc-fieldrow{ display:flex; flex-direction:column; gap:6px; min-width:0; }
.byc-fieldrow--full{ grid-column:1/-1; }
.byc-field-lbl{
  display:flex; align-items:center; justify-content:space-between; gap:8px;
  font-family:var(--mono); font-size:10.5px; font-weight:600; letter-spacing:.1em; text-transform:uppercase;
  color:var(--b-ink-2);
}
.byc-req{ color:var(--b-gold-bright); }
.byc-opt{ color:var(--b-ink-3); }
.byc-in{
  width:100%; font:inherit; font-size:15px; color:var(--b-ink);
  background:rgba(30,22,12,.55); border:1px solid var(--b-line-2); border-radius:12px;
  padding:12px 14px; outline:none;
  transition:border-color .2s, box-shadow .2s, background .2s;
}
textarea.byc-in{ min-height:92px; resize:vertical; }
.byc-in::placeholder{ color:var(--b-ink-3); }
.byc-in:focus{ border-color:var(--b-gold); box-shadow:0 0 0 3px rgba(216,178,74,.18); background:rgba(36,27,15,.62); }

.byc-contact-done{ display:flex; flex-direction:column; align-items:center; text-align:center; gap:8px; padding:12px 6px; }
.byc-contact-done-ic{
  width:52px; height:52px; border-radius:50%; display:flex; align-items:center; justify-content:center;
  color:#1a1206; background:var(--b-grad); box-shadow:0 6px 20px -6px rgba(216,178,74,.7);
  animation:bycPop .4s var(--b-ease) both;
}
.byc-contact-done h4{ font-size:1.14rem; font-weight:750; color:var(--b-ink); margin:0; }
.byc-contact-done p{ color:var(--b-ink-2); font-size:.94rem; line-height:1.5; margin:0; max-width:44ch; }

/* ==========================================================================
   9. Buttons (shared gold pill)
   ========================================================================== */
.byc-btn{
  appearance:none; -webkit-appearance:none; font:inherit; cursor:pointer;
  font-family:var(--sans); font-size:15px; font-weight:650; letter-spacing:-.006em; line-height:1;
  display:inline-flex; align-items:center; justify-content:center; gap:9px;
  padding:14px 26px; border-radius:13px; border:1px solid transparent; white-space:nowrap;
  transition:transform .2s var(--b-ease), box-shadow .3s, filter .2s;
}
.byc-btn-gold{
  color:#1a1206; background:var(--b-grad);
  box-shadow:0 12px 30px -12px rgba(216,178,74,.6), inset 0 1px 0 rgba(255,255,255,.35);
}
.byc-btn-gold:hover{ transform:translateY(-2px); box-shadow:0 20px 44px -14px rgba(216,178,74,.7), inset 0 1px 0 rgba(255,255,255,.4); }
.byc-btn-gold:active{ transform:translateY(0) scale(.985); }
.byc-btn.is-busy,.byc-btn:disabled{ opacity:.6; cursor:not-allowed; transform:none; box-shadow:none; }

/* ==========================================================================
   10. Footer — compact combined total + nav (fixes the whitespace)
   ========================================================================== */
.byc-foot{
  flex:0 0 auto;
  display:flex; align-items:center; justify-content:space-between; gap:14px 22px; flex-wrap:wrap;
  padding:14px var(--b-pad) calc(14px + env(safe-area-inset-bottom,0px));
  border-top:1px solid var(--b-line-2);
  background:linear-gradient(180deg,rgba(38,29,17,0),rgba(26,20,11,.5));
}
.byc-foot-info{ display:flex; flex-direction:column; gap:3px; min-width:0; flex:1 1 auto; }
.byc-total-line{ display:flex; align-items:baseline; gap:9px; }
.byc-total-label{
  font-family:var(--mono); font-size:10.5px; font-weight:600; letter-spacing:.16em; text-transform:uppercase;
  color:var(--b-ink-3);
}
.byc-total-amt{
  font-size:clamp(1.4rem,3.4vw,1.75rem); font-weight:800; letter-spacing:-.03em; line-height:1;
  font-variant-numeric:tabular-nums; white-space:nowrap;
  background:var(--b-grad); -webkit-background-clip:text; background-clip:text; color:transparent;
}
.byc-total-ccy{ font-family:var(--mono); font-size:.72rem; font-weight:700; letter-spacing:.05em; color:var(--b-ink-3); }
.byc-total-config{
  font-family:var(--mono); font-size:11px; letter-spacing:.04em; color:var(--b-ink-3);
  min-width:0; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; max-width:56ch;
}
.byc-total-monthly{ font-family:var(--mono); font-size:11px; color:var(--b-gold-bright); }

.byc-foot-actions{ display:flex; align-items:center; gap:11px; flex:0 0 auto; }
.byc-back,.byc-next{
  appearance:none; -webkit-appearance:none; font:inherit; cursor:pointer;
  font-family:var(--sans); font-size:15px; font-weight:650; letter-spacing:-.006em; line-height:1; white-space:nowrap;
  display:inline-flex; align-items:center; gap:8px;
  padding:13px 22px; border-radius:13px; border:1px solid transparent;
  transition:transform .2s var(--b-ease), box-shadow .3s, background .2s, border-color .2s, color .2s;
}
.byc-back{ background:rgba(228,206,142,.04); border-color:var(--b-line-2); color:var(--b-ink-2); }
.byc-back:hover{ color:var(--b-ink); border-color:var(--b-line-3); background:rgba(228,206,142,.09); }
.byc-back svg{ opacity:.8; }
.byc-next{
  color:#1a1206; background:var(--b-grad);
  box-shadow:0 12px 30px -12px rgba(216,178,74,.6), inset 0 1px 0 rgba(255,255,255,.35);
}
.byc-next:hover{ transform:translateY(-2px); box-shadow:0 20px 46px -14px rgba(216,178,74,.75), inset 0 1px 0 rgba(255,255,255,.4); }
.byc-back:active,.byc-next:active{ transform:translateY(0) scale(.985); }
.byc-next[disabled],.byc-next:disabled{ opacity:.45; cursor:not-allowed; transform:none; box-shadow:none; filter:grayscale(.3); }

/* ==========================================================================
   11. Loading / error
   ========================================================================== */
.byc-loading,.byc-error{
  display:flex; flex-direction:column; align-items:center; justify-content:center; gap:16px;
  min-height:240px; padding:24px; text-align:center; color:var(--b-ink-2);
}
.byc-spinner{
  width:38px; height:38px; border-radius:50%;
  border:3px solid rgba(228,206,142,.18); border-top-color:var(--b-gold);
  animation:bycSpin .8s linear infinite;
}
.byc-error p{ color:var(--b-ink); font-size:1rem; margin:0; }

/* ==========================================================================
   12. Visible keyboard focus
   ========================================================================== */
.byc-tab:focus-visible,
.byc-card:focus-visible,
.byc-care-opt:focus-visible,
.byc-back:focus-visible,
.byc-next:focus-visible,
.byc-btn:focus-visible,
.byc-quote-link:focus-visible,
.byc-x:focus-visible{
  outline:2px solid var(--b-gold-bright); outline-offset:3px;
}
.byc-in:focus-visible{ outline:none; }

/* ==========================================================================
   13. Responsive
   ========================================================================== */
/* desktop half-screen / narrow-desktop: tighten before anything can break */
@media (max-width:1000px){
  .byc-quote-hero .byc-media{ width:min(180px,38%); }
}
@media (max-width:900px){
  #byc-modal .byc-shell{ --b-x-reserve:56px; }
  .byc-tab{ padding:10px 12px 12px; font-size:11px; letter-spacing:.08em; }
  .byc-tab-n{ width:19px; height:19px; }
  .byc-quote-cols{ gap:14px; }
}
@media (max-width:760px){
  .byc-quote-cols{ grid-template-columns:1fr; }
}
@media (max-width:680px){
  #byc-modal .byc-shell{ --b-pad:clamp(15px,3.6vw,22px); }
  .byc-hand-group-head{ gap:6px 12px; }
  .byc-hand-group-note{ max-width:none; }
}
@media (max-width:620px){
  #byc-modal .byc-shell{ max-height:min(96dvh,900px); border-radius:20px; }
  .byc-cards--robot,.byc-cards--hands,.byc-cards--acc{ grid-template-columns:1fr; }
  .byc-contact-grid{ grid-template-columns:1fr; }
  .byc-quote-hero{ flex-direction:column; align-items:stretch; text-align:left; }
  .byc-quote-hero .byc-media{ width:100%; aspect-ratio:16/9; }
  .byc-foot{ gap:12px; }
  .byc-foot-actions{ width:100%; }
  .byc-back{ flex:0 0 auto; }
  .byc-next{ flex:1 1 auto; justify-content:center; }
  .byc-care-intro{ flex-direction:column; text-align:center; align-items:center; }
}
@media (max-width:520px){
  #byc-modal .byc-shell{ --b-x-reserve:54px; }
  .byc-foot{ align-items:flex-start; }
  .byc-total-amt{ font-size:clamp(1.35rem,6vw,1.6rem); }
  .byc-upsell-note{ align-items:flex-start; }
}
@media (max-width:400px){
  #byc-modal{ padding:0; }
  #byc-modal .byc-shell{ max-height:100dvh; border-radius:0; border:0; }
  #byc-modal .byc-shell{ --b-pad:16px; --b-x-reserve:54px; }
  .byc-care-opt{ gap:12px; padding:14px; }
  .byc-care-price{ flex-direction:column; align-items:flex-end; gap:0; }
  .byc-back,.byc-next{ padding:12px 16px; font-size:14px; }
}
/* short viewports (e.g. a vertically split screen): compress the fixed chrome
   so the header/tabs/progress/footer never crowd out the scrollable body */
@media (max-height:640px){
  .byc-topbar{ padding-top:15px; padding-bottom:4px; }
  .byc-tabs{ padding-top:8px; }
  .byc-progress{ padding-top:10px; padding-bottom:0; }
  .byc-foot{ padding-top:11px; padding-bottom:calc(11px + env(safe-area-inset-bottom,0px)); }
}

/* ==========================================================================
   14. Keyframes
   ========================================================================== */
@keyframes bycIn{ from{ opacity:0; transform:translateY(18px) scale(.98); } to{ opacity:1; transform:none; } }
@keyframes bycGlow{ from{ opacity:.6; } to{ opacity:1; } }
@keyframes bycStepIn{ from{ opacity:0; transform:translateY(14px); } to{ opacity:1; transform:none; } }
@keyframes bycReveal{ from{ opacity:0; transform:scale(1.05); } to{ opacity:1; transform:none; } }
@keyframes bycSheen{ from{ transform:translateX(-120%); } to{ transform:translateX(120%); } }
@keyframes bycPop{ 0%{ transform:scale(.6); } 60%{ transform:scale(1.12); } 100%{ transform:scale(1); } }
@keyframes bycSpin{ to{ transform:rotate(360deg); } }
.byc-pop{ animation:bycPop .38s var(--b-ease); }

/* ==========================================================================
   15. Reduced motion
   ========================================================================== */
@media (prefers-reduced-motion:reduce){
  #byc-modal .byc-shell,.byc-glow,.byc-step-in,.byc-media-img,.byc-pop,.byc-contact-done-ic{ animation:none !important; }
  .byc-card,.byc-care-opt,.byc-back,.byc-next,.byc-btn,.byc-x,.byc-tab,.byc-prog-seg::after{ transition:none !important; }
  .byc-card:hover,.byc-care-opt:hover,.byc-back:hover,.byc-next:hover,.byc-btn-gold:hover{ transform:none !important; }
  .byc-card:hover .byc-sheen{ animation:none !important; opacity:0 !important; }
}

/* ==========================================================================
   6c2. Compact hands — denser grid + shorter media so the step doesn't scroll
   ========================================================================== */
.byc-hand-groups{ display:flex; flex-direction:column; gap:clamp(14px,2vw,20px); }
.byc-hand-group{ display:flex; flex-direction:column; gap:10px; }
.byc-hand-group-head{ display:flex; flex-direction:column; gap:2px; }
.byc-cards--hands{ grid-template-columns:repeat(auto-fit,minmax(min(240px,100%),1fr)); gap:14px; }
.byc-card--hand{ gap:11px; padding:13px; }
.byc-card--hand .byc-media--icon{ aspect-ratio:auto; height:118px; }
.byc-card--hand .byc-media--icon .byc-media-img{ width:auto; max-width:82%; height:80%; }
.byc-card--hand .byc-card-body{ gap:8px; }
.byc-card--hand .byc-specs--hand{ gap:6px; }
.byc-card--hand .byc-specs--hand li{ font-size:.86rem; }

/* base + Touch variant sit side by side on one row */
.byc-hand-group{ gap:13px; }
.byc-hand-pair{ display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:14px; }
.byc-hand-pair--solo{ grid-template-columns:minmax(0,calc(50% - 7px)); }
@media (max-width:640px){
  .byc-hand-pair,.byc-hand-pair--solo{ grid-template-columns:1fr; }
}

/* clear "which robot gets which hands" divider before the upgrade tiers */
.byc-hands-divider{
  display:flex; align-items:center; gap:12px; margin:4px 0 2px;
  font-family:var(--mono); font-size:11px; font-weight:600; letter-spacing:.14em; text-transform:uppercase;
  color:var(--b-gold-bright); white-space:nowrap;
}
.byc-hands-divider::after{ content:""; flex:1 1 auto; height:1px; background:var(--b-line-2); }

/* ==========================================================================
   6d. Stock (included) hand — compact so the upgrade tiers stay in view
   ========================================================================== */
.byc-cards--stock{ grid-template-columns:minmax(0,1fr); max-width:600px; }
.byc-cards--stock .byc-card--hand{ flex-direction:row; align-items:center; gap:16px; padding:14px 16px; }
.byc-cards--stock .byc-media{ flex:0 0 auto; width:104px; height:80px; aspect-ratio:auto; }
.byc-cards--stock .byc-media--icon .byc-media-img{ width:60%; height:66%; }
.byc-cards--stock .byc-card-body{ flex:1 1 auto; gap:7px; }
.byc-cards--stock .byc-card-head{ padding-right:44px; }
.byc-cards--stock .byc-check{ top:50%; right:14px; transform:translateY(-50%) scale(0); }
.byc-cards--stock .byc-card.selected .byc-check{ transform:translateY(-50%) scale(1); }
.byc-cards--stock .byc-lock-badge{ position:static; align-self:flex-start; margin-bottom:2px; }
@media (max-width:520px){
  .byc-cards--stock .byc-card--hand{ flex-direction:column; align-items:stretch; }
  .byc-cards--stock .byc-media{ width:100%; height:120px; }
  .byc-cards--stock .byc-check{ top:12px; right:12px; transform:scale(0); }
  .byc-cards--stock .byc-card.selected .byc-check{ transform:scale(1); }
}

/* ==========================================================================
   6e. Upgrade toast (fires when a locked hand switches the robot to Advanced)
   ========================================================================== */
.byc-toast{
  position:absolute; left:50%; bottom:88px; z-index:8; transform:translate(-50%,14px);
  display:inline-flex; align-items:center; gap:9px; white-space:nowrap;
  padding:11px 18px; border-radius:99px;
  font-family:var(--sans); font-size:14px; font-weight:650; color:#1a1206;
  background:var(--b-grad); border:1px solid rgba(255,247,220,.5);
  box-shadow:0 16px 40px -12px rgba(0,0,0,.7), 0 0 0 1px rgba(0,0,0,.25);
  opacity:0; pointer-events:none;
  transition:opacity .32s var(--b-ease), transform .32s var(--b-ease);
}
.byc-toast svg{ color:#1a1206; }
.byc-toast--in{ opacity:1; transform:translate(-50%,0); }
@media (prefers-reduced-motion:reduce){ .byc-toast{ transition:opacity .2s !important; } }

/* ==========================================================================
   16. Print — the shell shouldn't normally be printed (a dedicated /quote page
   exists), but if the user prints with it open, drop chrome and go ink-on-white.
   ========================================================================== */
@media print{
  body:has(#byc-modal.open) > *:not(#byc-modal){ display:none !important; }
  #byc-modal{ position:static !important; inset:auto !important; display:block !important;
    padding:0 !important; background:#fff !important; backdrop-filter:none !important; -webkit-backdrop-filter:none !important; }
  #byc-modal .byc-shell{
    width:100% !important; max-width:100% !important; max-height:none !important; overflow:visible !important;
    border:0 !important; border-radius:0 !important; box-shadow:none !important; animation:none !important;
    background:#fff !important; color:#111 !important;
  }
  .byc-glow,.byc-x,.byc-tabs,.byc-progress,.byc-foot,.byc-sheen,.byc-check,
  .byc-quote-actions,.byc-step-help{ display:none !important; }
  .byc-body{ overflow:visible !important; padding:0 !important; }
  .byc-quote *,.byc-spec-block,.byc-breakdown,.byc-quote-hero{ color:#111 !important; background:#fff !important; border-color:#ccc !important; }
  .byc-quote-total,.byc-bd-total > span:last-child,.byc-quote-name,.byc-spec-kicker{ color:#111 !important; -webkit-text-fill-color:#111 !important; }
  .byc-price-dual .byc-usd,.byc-price-dual .byc-cad{ color:#111 !important; -webkit-text-fill-color:#111 !important; background:none !important; }
  .byc-specs li::before{ background:#333 !important; box-shadow:none !important; }
}

/* footer financing link on the final step */
.byc-foot-fin{ text-decoration:none; display:inline-flex; align-items:center; justify-content:center; }

/* ---------------------------------------------------------------- i18n
 * es: Spanish runs ~25% longer than English, so let the footer buttons and
 *     tabs wrap or shrink a touch on phones instead of clipping.
 * zh: CJK glyphs need no tracking; undo the negative letter-spacing used on
 *     Latin headings and let lines break between characters.
 */
html[lang="es"] .byc-back,
html[lang="es"] .byc-next{ white-space:normal; }
@media (max-width:480px){
  html[lang="es"] .byc-btn,
  html[lang="es"] .byc-back,
  html[lang="es"] .byc-next{ font-size:14px; }
  html[lang="es"] .byc-tab{ padding:10px 9px 12px; font-size:10.5px; letter-spacing:.05em; }
}
html[lang^="zh"] .byc-step-title,
html[lang^="zh"] .byc-card-name,
html[lang^="zh"] .byc-care-title,
html[lang^="zh"] .byc-care-name,
html[lang^="zh"] .byc-quote-name,
html[lang^="zh"] .byc-spec-block .byc-spec-h,
html[lang^="zh"] .byc-contact-h,
html[lang^="zh"] .byc-btn,
html[lang^="zh"] .byc-back,
html[lang^="zh"] .byc-next,
html[lang^="zh"] .byc-tab,
html[lang^="zh"] .byc-eyebrow,
html[lang^="zh"] .byc-spec-kicker,
html[lang^="zh"] .byc-tag,
html[lang^="zh"] .byc-lock-badge,
html[lang^="zh"] .byc-hands-divider,
html[lang^="zh"] .byc-hand-group-title,
html[lang^="zh"] .byc-field-lbl,
html[lang^="zh"] .byc-fin-k,
html[lang^="zh"] .byc-care-free,
html[lang^="zh"] .byc-care-per,
html[lang^="zh"] .byc-total-label{ letter-spacing:0; }
html[lang^="zh"] .byc-shell{ line-break:auto; word-break:normal; }
