/* ==========================================================================
   /badges — v2 restyle PREVIEW (round 1 + round 2 merged, Oct 30 2026)
   Loaded ONLY when the URL has ?style=v2 (one conditional line in
   resources/views/customer/design/badges.blade.php). Normal visitors and
   Google never receive this file. Go-live = drop the @if; rollback = delete
   the line / this file.
   Daniel's changes vs. the round-2 mockup:
   - DESKTOP ONLY: the phone stepper block (old 12b, the one rule that added
     layout at <=575px) is removed. The stepper stays hidden on phones as today.
     Phone button rules below are colour/radius/font only (no layout).
   - price row in the quantity grid is normal weight, dark ink (was 800).
   - no best-value highlight: the 1000+ column looks like every other column
     (Daniel, Oct 30: "makes no sense").
   --------------------------------------------------------------------------
   Rules this file obeys:
   - every selector is scoped under #designTool (or #help-video-modal)
   - ONLY color / background / border-color / border-radius / font-family /
     box-shadow. Never width/height/padding/margin/position/overflow.
   - never targets anything inside [x-ref="itemScope"] (badge preview that
     html2canvas photographs) — all selectors live in #options, the tab row,
     the mobile bars/drawer, or the modal.
   - Upload Logo: the <input type=file> is never targeted; its <button> gets
     a corner radius only (colour is already #F97316).
   - colour pickers (namebadge.js) never targeted; .finishedBtn class is only
     read as a selector, never renamed.
   Tokens: blue #1B8FE0 (hover #0c7cb4), orange #F97316 (hover #ea580c),
   tints #f0f8ff / #dbeefc, 12px radius, Plus Jakarta Sans.
   ROUND 4 palette (Oct 30, Daniel: "colors dont match"): every colour below is
   now a v2-kit token (same as the approved account/checkout v2 pages):
   blue #1b8fe0 · ink #0c7cb4 · deep #0a6a9a · tints #f0f8ff / #dbeefc / #b9dcf7
   greys #0f172a / #334155 / #64748b / #cbd5e1 / #e2e8f0 / #f1f5f9 / #f8fafc.
   Off-kit #DBEAFE, #c7defb, #cfe3f7, #eef2f7, #0EA5E9, #ff961d removed.
   Blue = selection/interaction; orange = Finished Designing (+ live Add Logo);
   green #22C55E = Add Text + selected check only; red = delete only.
   ========================================================================== */

/* ---------- 1. Design tabs (Size/Shape · Background · Border · Fastener · Dome)
   Segmented control: one outline group, selected = solid blue + white text. */
#designTool .design-tabs > button {
  font-family: "Plus Jakarta Sans", -apple-system, "Segoe UI", Roboto, sans-serif;
  border-radius: 0;
}
#designTool .design-tabs > button:first-child { border-radius: 12px 0 0 12px; }
#designTool .design-tabs > button:last-child  { border-radius: 0 12px 12px 0; }

#designTool .design-tabs > button.inactive-tab {
  background: #ffffff;
  border-color: #cbd5e1;
  color: #334155;
  box-shadow: none !important;           /* beats Tailwind !shadow + #body rule */
}
#designTool .design-tabs > button.inactive-tab:hover {
  background: #f0f8ff;
  border-color: #b9dcf7;
  color: #0c7cb4;
}
#designTool .design-tabs > button.active-tab {
  background: #0c7cb4;                   /* blue ink: white text passes AA at 14px */
  border-color: #0c7cb4;
  color: #ffffff;
  box-shadow: 0 1px 3px rgba(15, 23, 42, .10) !important;
}
#designTool .design-tabs > button.active-tab:hover { background: #0a6a9a; border-color: #0a6a9a; }

/* ---------- 2. Add Text / Add Logo / Add Clipart (desktop, right column) */
#designTool #options > div:first-child button.bg-green-500,
#designTool #options > div:first-child button.bg-orange-500,
#designTool #options > div:first-child button.bg-blue-500 {
  font-family: "Plus Jakarta Sans", -apple-system, "Segoe UI", Roboto, sans-serif;
  border-radius: 12px;
}
#designTool #options > div:first-child button.bg-orange-500,
#designTool #options > div:first-child button.bg-blue-500 {
  box-shadow: 0 1px 2px rgba(15, 23, 42, .06), 0 2px 6px rgba(15, 23, 42, .08);
}
/* Add Text — NO colour override (Daniel r2, Oct 30): original live green
   #22C55E (Tailwind green-500, application.css), no hover change, '+' #22C55E. */
/* Add Logo — brand orange, flat */
#designTool #options > div:first-child button.bg-orange-500 { background: #F97316; }
#designTool #options > div:first-child button.bg-orange-500:hover { background: #ea580c; }
/* Add Clipart — site blue ink (#1B8FE0 + white text is only 3.4:1) */
#designTool #options > div:first-child button.bg-blue-500 { background: #0c7cb4; }   /* AA with white 14px text */
#designTool #options > div:first-child button.bg-blue-500:hover { background: #0a6a9a; }

/* active-tab arrow + panel top border follow the same colours */
#designTool .add-section-tab-active.logo-tab::after    { border-color: #F97316; }
#designTool .add-section-tab-active.clipart-tab::after { border-color: #0c7cb4; }
#designTool #options .options-box.add-logo-active    { border-top-color: #F97316; }
#designTool #options .options-box.add-clipart-active { border-top-color: #0c7cb4; }

/* options panel card — kit card radius/shadow (no size change) */
#designTool #options .options-box {
  border-radius: 12px;
  border-color: #e2e8f0;
  color: #334155;
}
#designTool #options .options-box h2 { color: #0f172a; border-color: #e2e8f0; }

/* ---------- 3. Panel buttons inside the options box */
/* Add Text (inside text panel) — radius only; colour stays original
   (#22C55E, hover #16A34A from its own Tailwind classes) */
#designTool #options .options-box button.bg-green-500:not(.border-2) { border-radius: 12px; }
/* Apply colour — kit blue ink (r4: green is reserved for Add Text) */
#designTool #options .options-box button.bg-green-500.border-2 {
  background: #0c7cb4;
  border-color: #0c7cb4;
  border-radius: 12px;
  box-shadow: 0 1px 2px rgba(15, 23, 42, .06);
}
#designTool #options .options-box button.bg-green-500.border-2:hover {
  background: #0a6a9a;
  border-color: #0a6a9a;
}
/* Cancel (colour pop) — outline secondary */
#designTool #options .options-box button.border-slate-200.bg-white {
  border-color: #cbd5e1;
  color: #334155;
  border-radius: 12px;
}
#designTool #options .options-box button.border-slate-200.bg-white:hover {
  background: #f8fafc;
  border-color: #94a3b8;
  color: #0f172a;
}
/* Center — light blue tint secondary */
#designTool #options .options-box button.bg-blue-50 {
  background: #f0f8ff;
  color: #0c7cb4;
  border-radius: 12px;
}
#designTool #options .options-box button.bg-blue-50 svg { color: #0c7cb4; }
#designTool #options .options-box button.bg-blue-50:hover { background: #dbeefc; color: #0a6a9a; }
#designTool #options .options-box button.bg-blue-50:hover svg { color: #0a6a9a; }
/* Delete — kit danger tint */
#designTool #options .options-box button.bg-red-100 {
  background: #fef2f2;
  color: #b91c1c;
  border-radius: 12px;
  box-shadow: inset 0 0 0 1px #fecaca;
}
#designTool #options .options-box button.bg-red-100 svg { color: #b91c1c; }
#designTool #options .options-box button.bg-red-100:hover { background: #fecaca; }
/* Font family dropdown trigger */
#designTool #options .options-box button.bg-slate-200 {
  background: #f8fafc;
  border-color: #cbd5e1;
  color: #0f172a;
  border-radius: 10px;
}
#designTool #options .options-box button.bg-slate-200:hover {
  background: #ffffff;
  border-color: #b9dcf7;
}
/* Upload Logo button: corner radius ONLY (input untouched, colour already #F97316) */
#designTool #options .options-box button.relative.rounded-lg.text-white { border-radius: 12px; }

/* ---------- 4. Sub-tabs: Material / Color / Custom + clipart categories
   pill segmented control, selected = solid blue */
#designTool [\@click^="activeBgTab"] {
  border-radius: 10px;
  font-family: "Plus Jakarta Sans", -apple-system, "Segoe UI", Roboto, sans-serif;
}
/* track (desktop bg-slate-100 / phone bg-blue-200) -> one kit grey */
#designTool div:has(> [\@click^="activeBgTab"]) { background: #f8fafc; }
#designTool [\@click^="activeBgTab"].border-transparent { background: #ffffff; border-color: #cbd5e1; color: #334155; }
#designTool [\@click^="activeBgTab"].border-transparent:hover { background: #f0f8ff; border-color: #b9dcf7; color: #0c7cb4; }
#designTool [\@click^="activeBgTab"].border-blue-500 {
  background: #0c7cb4;
  border-color: #0c7cb4;
  color: #ffffff;
  box-shadow: 0 1px 2px rgba(15, 23, 42, .10);
}
#designTool [\@click^="activeBgTab"].border-blue-500:hover { background: #0a6a9a; border-color: #0a6a9a; }
#designTool [\@click^="activeClipTab"] { border-radius: 10px; }
#designTool [\@click^="activeClipTab"].border-transparent { background: #ffffff; border-color: #cbd5e1; color: #334155; }
#designTool [\@click^="activeClipTab"].border-transparent:hover { background: #f0f8ff; border-color: #b9dcf7; color: #0c7cb4; }
#designTool [\@click^="activeClipTab"].border-blue-500 {
  background: #0c7cb4;
  border-color: #0c7cb4;
  color: #ffffff;
}
#designTool [\@click^="activeClipTab"].border-blue-500:hover { background: #0a6a9a; border-color: #0a6a9a; }

/* ---------- 5. Swatch / option tiles: selected outline (colour + ring only) */
#designTool #options .options-boder,
#designTool #content .options-boder {
  border-color: #1B8FE0;
  box-shadow: 0 0 0 3px #dbeefc;
}
#designTool #options .options-boder-hover:hover,
#designTool #content .options-boder-hover:hover { border-color: #1B8FE0; }

/* ---------- 6. Finished Designing (desktop) -> see section 13 (round 2) */

/* ---------- 7. Mobile: Add Text / Upload Logo / Add Clipart row */
#designTool #content button.bg-green-500.h-8,
#designTool #content button.bg-blue-500.h-8 {
  border-radius: 12px;
  font-family: "Plus Jakarta Sans", -apple-system, "Segoe UI", Roboto, sans-serif;
}
#designTool #content button.bg-blue-500.h-8 { background: #0c7cb4; }
/* mobile Upload Logo: radius ONLY */
#designTool #content button.bg-orange-500.h-8 { border-radius: 12px; }

/* ---------- 8. Mobile option bar (Size · Background · Border · Fastener · Dome) */
#designTool #content .grid-flow-col.from-blue-600 {
  background: #f8fafc;
  border-color: #e2e8f0;
}
#designTool #content .grid-flow-col.from-blue-600 > .bg-blue-600 {
  background: #f8fafc;
  border-color: #e2e8f0;
  color: #334155;
}
#designTool #content .grid-flow-col.from-blue-600 > .bg-sky-700 {
  background: #0c7cb4;                   /* r4: filled kit blue, same as desktop selected tab */
  border-color: #e2e8f0;
  color: #ffffff;
  box-shadow: inset 0 3px 0 #0a6a9a;
}

/* mobile drawer panel (colours only) */
#designTool #content .rounded-t-xl.bg-blue-200 {
  background: #ffffff;                   /* r4: white card like the desktop options box */
  border-color: #e2e8f0;
  color: #334155;
  box-shadow: 0 -1px 3px rgba(15, 23, 42, .08);
}
#designTool #content .rounded-t-xl.bg-blue-200 > .text-sky-600 { color: #0f172a; }
#designTool #content .rounded-t-xl.bg-blue-200 > .text-sky-600 > svg { color: #64748b; }

/* ---------- 9. Mobile "I am finished designing" -> see section 13 (round 2) */

/* ---------- 10. Delete / confirm pop-up */
#designTool [role="dialog"] .\!border-t-\[\#e74c3c\],
#designTool .\!border-t-\[\#e74c3c\] { border-top-color: #dc2626 !important; border-radius: 14px; }
#designTool button.\!bg-\[\#e74c3c\] {
  background: #dc2626 !important;
  border-radius: 12px;
  font-family: "Plus Jakarta Sans", -apple-system, "Segoe UI", Roboto, sans-serif;
  box-shadow: 0 1px 2px rgba(15, 23, 42, .08);
}
#designTool button.\!bg-\[\#e74c3c\]:hover { background: #b91c1c !important; }
#designTool button.\!bg-\[\#ecf0f1\] {
  background: #ffffff !important;
  color: #334155;
  border-radius: 12px;
  font-family: "Plus Jakarta Sans", -apple-system, "Segoe UI", Roboto, sans-serif;
  box-shadow: inset 0 0 0 1px #cbd5e1;
}
#designTool button.\!bg-\[\#ecf0f1\]:hover { background: #f8fafc !important; }
/* clipart-modal scroll arrows */
#designTool .clipart-tab-scroll > div.group:hover { background: #1B8FE0; border-color: #1B8FE0; }

/* ---------- 11. Watch help video circle + close button */
/* r4: help is secondary -> kit blue, not a third orange. The <a> carries a
   layered Tailwind !text-[#ff961d] that wins over unlayered !important, so
   the colour is set on the play-icon <svg> itself (path fill = currentColor). */
#designTool a.video_youtube.rounded-full {
  background: #ffffff;
  border-color: #e2e8f0;
  color: #0c7cb4 !important;
  box-shadow: 0 1px 2px rgba(15, 23, 42, .05);
}
#designTool a.video_youtube.rounded-full > svg { color: #0c7cb4; }
#designTool a.video_youtube.rounded-full:hover {
  background: #f0f8ff;
  border-color: #b9dcf7;
}
#designTool a.video_youtube.rounded-full:hover > svg { color: #0a6a9a; }
#designTool a.video_youtube:not(.rounded-full) { color: #0f172a; }
#help-video-modal #close-help-video:hover { background: #0c7cb4; border-color: #0c7cb4; }

/* ==========================================================================
   ROUND 2 (Oct 30) — (stepper reverted r2) · Finished Designing · quantity price grid
   Same rules as above: scoped, colour/background/border-colour/radius/font/
   shadow only on existing boxes; decorations are ::before / ::after only.
   (The round-2 phone stepper, 12b, is intentionally not included: desktop only.)
   ========================================================================== */

/* ---------- 12. Stepper (#crumbs) — NO v2 styling (Daniel r2, Oct 30).
   Renders exactly as live /badges (main.css #crumbs). A unified step bar for
   badges/names/populate is designed separately. Passive indicator only:
   no pointer cursor, no hover change, no link styling. */
#designTool #crumbs,
#designTool #crumbs * { cursor: default; }

/* ---------- 13. Finished Designing — desktop button + phone bottom bar
   Colour / radius / shadow / font only. Heights unchanged (desktop h-12 = 48px,
   phone pill 42px, phone bar h-16). Class .finishedBtn only used as a selector. */
#designTool .finish-design-btn {
  background: #F97316;
  border-radius: 12px;
  font-family: "Plus Jakarta Sans", -apple-system, "Segoe UI", Roboto, sans-serif;
  font-weight: 800;
  letter-spacing: .01em;
  box-shadow: 0 1px 2px rgba(15, 23, 42, .06), 0 6px 16px -6px #fed7aa;
  transition: background-color .15s ease, box-shadow .15s ease;
}
#designTool .finish-design-btn:hover {
  background: #ea580c;
  box-shadow: 0 1px 2px rgba(15, 23, 42, .08), 0 8px 20px -6px #fed7aa;
}
#designTool .finish-design-btn:focus-visible { outline: 3px solid rgba(27, 143, 224, .45); outline-offset: 2px; }
/* the "Price: $x each" beside it — v2 ink, same size */
#designTool span.text-sky-500 { color: #0c7cb4; }
#designTool div.bg-white.p-4:has(> .finish-design-btn) > span.text-sky-500 {
  color: #0c7cb4;
  font-family: "Plus Jakarta Sans", -apple-system, "Segoe UI", Roboto, sans-serif;
  font-weight: 700;
}

/* phone bar */
#designTool #content .bg-gradient-to-t.from-green-600 {
  background: #ffffff;
  border-color: #e2e8f0;
  box-shadow: 0 -4px 12px rgba(15, 23, 42, .06);
}
#designTool #content div.finishedBtn.rounded-full {
  background: #F97316;
  border-color: #F97316;
  color: #ffffff;
  border-radius: 12px;
  font-family: "Plus Jakarta Sans", -apple-system, "Segoe UI", Roboto, sans-serif;
  font-weight: 800;
  box-shadow: 0 1px 2px rgba(15, 23, 42, .06), 0 6px 16px -6px #fed7aa;
}
#designTool #content div.finishedBtn.rounded-full:hover,
#designTool #content div.finishedBtn.rounded-full:active { background: #ea580c; border-color: #ea580c; }

/* ---------- 14. Quantity price grid (desktop only — the block is `hidden lg:block`)
   Transposed table: row 1 = QTY tiers, row 2 = prices. Text untouched.
   zebra = QTY row tinted / price row white; price row normal weight, dark ink.
   Every tier looks the same: no column is highlighted (Daniel, Oct 30). */
#designTool .hidden.lg\:block > .overflow-hidden {
  border-radius: 12px;
  background: #ffffff;
  box-shadow: 0 0 0 1px #e2e8f0, 0 1px 2px rgba(15, 23, 42, .04), 0 6px 16px -8px rgba(15, 23, 42, .10) !important;
}
#designTool .hidden.lg\:block > .overflow-hidden > div:first-child {
  background: #f8fafc;
  border-color: transparent transparent #e2e8f0;
}
#designTool .hidden.lg\:block > .overflow-hidden > div:first-child > span:first-child {
  color: #0f172a;
  font-family: "Plus Jakarta Sans", -apple-system, "Segoe UI", Roboto, sans-serif;
  font-weight: 700;
}
#designTool .hidden.lg\:block > .overflow-hidden > div:first-child > span + span {
  color: #64748b;
  font-family: "Plus Jakarta Sans", -apple-system, "Segoe UI", Roboto, sans-serif;
}
#designTool .hidden.lg\:block > .overflow-hidden table td {
  font-family: "Plus Jakarta Sans", -apple-system, "Segoe UI", Roboto, sans-serif;
  border-color: #e2e8f0;
}
#designTool .hidden.lg\:block > .overflow-hidden table td:first-child { border-left-color: transparent; }
#designTool .hidden.lg\:block > .overflow-hidden table td:last-child  { border-right-color: transparent; }
#designTool .hidden.lg\:block > .overflow-hidden table tr:last-child td { border-bottom-color: transparent; }
/* zebra: QTY row tinted */
#designTool .hidden.lg\:block > .overflow-hidden table tr:first-child td {
  background: #f8fafc;
  color: #334155;
  font-weight: 600;
}
/* price row: normal weight, dark ink (Daniel: prices NOT bold) */
#designTool .hidden.lg\:block > .overflow-hidden table tr:last-child td {
  background: #ffffff;
  color: #0f172a;
  font-weight: 400;
}
/* row labels "QTY" / "Price" */
#designTool .hidden.lg\:block > .overflow-hidden table tr td:first-child {
  color: #64748b;
  font-weight: 700;
  background: #f1f5f9;
}

/* ==========================================================================
   ROUND 3 (Oct 30) — phone option bar reads as tappable buttons (Daniel:
   "I don't know if people know that they can click on them").
   Phone only (< 640px). Colour / border-colour / shadow / font-weight /
   animation only — no height, padding, margin or position change.
   Selected state (.bg-sky-700, section 8) is untouched.
   ========================================================================== */
@media (max-width: 639.98px) {
  /* 15a. idle buttons: white key with a visible slate edge + dark label */
  #designTool #content .grid-flow-col.from-blue-600 {
    background: #f8fafc;
    border-color: #cbd5e1;
  }
  #designTool #content .grid-flow-col.from-blue-600 > .bg-blue-600 {
    background: #ffffff;
    border-color: #cbd5e1;
    color: #334155;
    box-shadow: inset 0 -2px 0 #e2e8f0;
  }
  #designTool #content .grid-flow-col.from-blue-600 > .bg-blue-600 > svg  { color: #0c7cb4; }
  #designTool #content .grid-flow-col.from-blue-600 > .bg-blue-600 > span { font-weight: 600; }

  /* 15c. ROUND 5 (Astra pick): RAISED keys idle, PRESSED key when selected.
     Inset shadows only (no size/position change, nothing spills onto the
     neighbours or the badge preview). Idle = light key with a 1px edge, a
     white top highlight and a 3px bottom lip; selected = kit blue pressed in. */
  #designTool #content .grid-flow-col.from-blue-600 > .bg-blue-600 {
    background: #f8fafc;
    box-shadow: inset 0 0 0 1px #cbd5e1, inset 0 2px 0 #ffffff, inset 0 -3px 0 #cbd5e1;
  }
  #designTool #content .grid-flow-col.from-blue-600 > .bg-sky-700 {
    background: #0c7cb4;
    color: #ffffff;
    box-shadow: inset 0 0 0 1px #0a6a9a, inset 0 3px 5px rgba(15, 23, 42, .28);
  }

  /* 15b. affordance pulse — FIRST button only, 3 soft breaths (~4.2s) then
     stops on its own (iteration-count 3, fill none). Bound to the element
     (not to its .bg-blue-600 state class) so toggling the drawer never
     restarts it. Only box-shadow is animated. */
  #designTool #content .grid-flow-col.from-blue-600 > div:first-child {
    animation: nbv2-tap-pulse 1.4s ease-in-out 0s 3;
  }
  /* ...and freezes for good once the customer opens ANY option:
     - while a bar button is selected (.bg-sky-700), and
     - after: the bar's drawer panels (x-ref btmShape/btmBackground/btmBorder/
       btmDome/btmFastener) lose x-show's display:none once editType is set,
       and editType stays set after the drawer closes.
     (btmText is NOT used: the tool sets editType='text' itself on load.)
     Paused + !important shadow = the button keeps its normal look, idle or
     selected (selected shadow copied verbatim from section 8).
     Browsers without :has() drop these rules and keep the 3-cycle auto-stop. */
  #designTool #content .grid-flow-col.from-blue-600:has(> .bg-sky-700) > div:first-child,
  #designTool:has(#content .rounded-t-xl.bg-blue-200 :is([x-ref="btmShape"], [x-ref="btmBackground"], [x-ref="btmBorder"], [x-ref="btmDome"], [x-ref="btmFastener"]):not([style*="display: none"])) #content .grid-flow-col.from-blue-600 > div:first-child {
    animation-play-state: paused;
  }
  #designTool #content .grid-flow-col.from-blue-600:has(> .bg-sky-700) > .bg-blue-600:first-child,
  #designTool:has(#content .rounded-t-xl.bg-blue-200 :is([x-ref="btmShape"], [x-ref="btmBackground"], [x-ref="btmBorder"], [x-ref="btmDome"], [x-ref="btmFastener"]):not([style*="display: none"])) #content .grid-flow-col.from-blue-600 > .bg-blue-600:first-child {
    box-shadow: inset 0 0 0 1px #cbd5e1, inset 0 2px 0 #ffffff, inset 0 -3px 0 #cbd5e1 !important;
  }
  #designTool #content .grid-flow-col.from-blue-600 > .bg-sky-700:first-child {
    box-shadow: inset 0 0 0 1px #0a6a9a, inset 0 3px 5px rgba(15, 23, 42, .28) !important;
  }
}
@keyframes nbv2-tap-pulse {
  /* inset glow only: the button sits flush in the bar (screen edge + neighbours),
     so an outer ring would show only as a stray strip above it */
  /* r5: base layers = the raised-key shadow from 15c */
  0%, 100% { box-shadow: inset 0 0 0 1px #cbd5e1, inset 0 2px 0 #ffffff, inset 0 -3px 0 #cbd5e1, inset 0 0 0 0 rgba(27, 143, 224, 0); }
  50%      { box-shadow: inset 0 0 0 1px #1b8fe0, inset 0 2px 0 #ffffff, inset 0 -3px 0 #cbd5e1, inset 0 0 16px 3px rgba(27, 143, 224, .32); }
}
@media (max-width: 639.98px) and (prefers-reduced-motion: reduce) {
  #designTool #content .grid-flow-col.from-blue-600 > div:first-child { animation: none !important; }
}

/* ==========================================================================
   ROUND 7 (Oct 31) — r6 reverted. Daniel: "I liked your previous badges design
   better", "the mock-sheet-2.png was better", "your mobile has no separation
   on the slide up cards ... it blends in too much."
   (a) DESKTOP back toward the approved round-2 mockup (MOCK-SHEET-2) where r4
       had drifted, keeping Daniel's later calls: Add Text #22C55E, price row
       normal weight, no 1000+ highlight, live step bar.
   (b) PHONE: the slide-up drawer is a white card that clearly sits above the
       key bar (blue cap, strong upward shadow, title divider) and the key bar
       sits on its own slate band.
   Paint only (colour / border-colour / radius / box-shadow). Every bounding
   box in #designTool verified identical before/after at 1280 + 390.
   ========================================================================== */

/* ---- (a) desktop: round-2 mockup values ---- */
#designTool .design-tabs > button.inactive-tab,
#designTool .design-tabs > button.inactive-tab:hover { border-color: #cfe3f7; }

#designTool #options > div:first-child button.bg-green-500 {
  box-shadow: 0 1px 2px rgba(15, 23, 42, .06), 0 2px 6px rgba(15, 23, 42, .08);
}
/* open panel keeps the colour cue of the button that opened it */
#designTool .add-section-tab-active.text-tab::after { border-color: #22C55E; }
#designTool #options .options-box.add-text-active  { border-top-color: #22C55E; }

/* Center: light blue tint; Apply colour: green (same green as Add Text) */
#designTool #options .options-box button.bg-blue-50 { background: #DBEAFE; }
#designTool #options .options-box button.bg-blue-50:hover { background: #c7defb; }
#designTool #options .options-box button.bg-green-500.border-2 { background: #22C55E; border-color: #22C55E; }
#designTool #options .options-box button.bg-green-500.border-2:hover { background: #16A34A; border-color: #16A34A; }

/* sub-tabs: grey segmented track, idle tabs sit IN the track, selected solid blue */
#designTool div:has(> [\@click^="activeBgTab"]) { background: #f1f5f9; }
#designTool [\@click^="activeBgTab"].border-transparent { background: #f1f5f9; border-color: transparent; color: #475569; }
#designTool [\@click^="activeBgTab"].border-transparent:hover { background: #f1f5f9; border-color: transparent; color: #0c7cb4; }
#designTool [\@click^="activeClipTab"].border-transparent { background: #f1f5f9; border-color: transparent; color: #475569; }
#designTool [\@click^="activeClipTab"].border-transparent:hover { background: #f1f5f9; border-color: #b9dcf7; color: #0c7cb4; }

/* selected tile: site blue edge + soft blue ring */
#designTool #options .options-boder,
#designTool #content .options-boder {
  border-color: #1B8FE0;
  box-shadow: 0 0 0 3px rgba(27, 143, 224, .20);
}
#designTool #options .options-boder-hover:hover,
#designTool #content .options-boder-hover:hover { border-color: #1B8FE0; }

/* Finished Designing: orange glow shadow from the mockup */
#designTool .finish-design-btn,
#designTool #content div.finishedBtn.rounded-full {
  box-shadow: 0 1px 2px rgba(15, 23, 42, .06), 0 6px 16px -6px rgba(249, 115, 22, .55);
}
#designTool .finish-design-btn:hover {
  box-shadow: 0 1px 2px rgba(15, 23, 42, .08), 0 8px 20px -6px rgba(234, 88, 12, .60);
}

/* Watch help video: orange play circle (hover = filled orange) */
#designTool a.video_youtube.rounded-full { background: #ffffff; border-color: #e2e8f0; }
#designTool a.video_youtube.rounded-full > svg { color: #F97316; }
#designTool a.video_youtube.rounded-full:hover { background: #F97316; border-color: #F97316; }
#designTool a.video_youtube.rounded-full:hover > svg { color: #ffffff; }
#help-video-modal #close-help-video:hover { background: #F97316; border-color: #F97316; }

/* B / I / U + alignment toggles (desktop panel + phone drawer): enabled =
   slate ink, not disabled-grey. Their active state swaps text-slate-400 for
   text-blue-600 / adds !border-blue-600, so active stays blue. */
#designTool #options .options-box button.bg-white.text-slate-400,
#designTool #options .options-box button.bg-white.text-gray-400,
#designTool #content .rounded-t-xl.bg-blue-200 button.bg-white.text-slate-400,
#designTool #content .rounded-t-xl.bg-blue-200 button.bg-white.text-gray-400 { color: #475569; }
#designTool #options .options-box button.bg-white.text-slate-400:hover,
#designTool #options .options-box button.bg-white.text-gray-400:hover,
#designTool #content .rounded-t-xl.bg-blue-200 button.bg-white.text-slate-400:hover,
#designTool #content .rounded-t-xl.bg-blue-200 button.bg-white.text-gray-400:hover { color: #0c7cb4; }

/* phone font-family trigger: readable slate ink on its grey chip */
#designTool #content .rounded-t-xl.bg-blue-200 button.bg-slate-200 { color: #475569; }

/* quantity grid: softer internal cell lines */
#designTool .hidden.lg\:block > .overflow-hidden table td { border-color: #eef2f7; }
#designTool .hidden.lg\:block > .overflow-hidden table td:first-child { border-left-color: transparent; }
#designTool .hidden.lg\:block > .overflow-hidden table td:last-child  { border-right-color: transparent; }
#designTool .hidden.lg\:block > .overflow-hidden table tr:last-child td { border-bottom-color: transparent; }

/* ---- (b) phone: drawer clearly separated from the key bar ---- */
@media (max-width: 1023.98px) {
  /* slide-up drawer = white card with a blue cap + strong upward shadow */
  #designTool #content .rounded-t-xl.bg-blue-200 {
    background: #ffffff;
    border-radius: 16px 16px 0 0;
    color: #334155;
    box-shadow: inset 0 3px 0 #0c7cb4, 0 -8px 24px rgba(15, 23, 42, .18);
  }
  /* title row: dark title + a grey divider on the row's own bottom edge
     (inset, so it never reaches the ® © ™ helper that starts just below) */
  #designTool #content .rounded-t-xl.bg-blue-200 > .text-sky-600 {
    color: #0f172a;
    box-shadow: inset 0 -1px 0 #e2e8f0;
  }
  #designTool #content .rounded-t-xl.bg-blue-200 > .text-sky-600 > svg { color: #64748b; }
  /* sub-tab track inside the drawer: same grey as desktop */
  #designTool #content .rounded-t-xl.bg-blue-200 div:has(> [\@click^="activeBgTab"]) { background: #f1f5f9; }
  /* key bar = slate band with a visible top line */
  #designTool #content .grid-flow-col.from-blue-600 {
    background: #e2e8f0;
    border-color: #cbd5e1;
    box-shadow: inset 0 1px 0 #cbd5e1;
  }
  /* finish bar: white, 1px slate line on top, no extra shadow */
  #designTool #content .bg-gradient-to-t.from-green-600 {
    background: #ffffff;
    border-color: #cbd5e1;
    box-shadow: none;
  }
}

/* ==========================================================================
   15. Guided editor entry + finish group (Daniel, Oct 31: "re-skin a little of the editor to make the
   Finished Designing, guided editor and stuff fit better, without messing it up"). Astra r3 picked the
   tab "ear" (rendered by quick-start/designer-line, outside the tool's markup). Same rules as above:
   colour / radius / shadow only, scoped under #designTool, nothing in [x-ref="itemScope"], .finishedBtn
   only read. Zero bounding-box shift verified at 1280 + 390 (report in CLAUDE-CHATS/_current/quick-start).
   Tokens = quick-start/tokens.blade.php (STYLE-TOKENS.md): ink #0f172a, hairline #e2e8f0, card radius 16.
   ========================================================================== */
/* the ear sits on the tab group's top-right corner: square that one corner so they read as one piece */
html.nbqs-ear #designTool .design-tabs > button:last-child { border-top-right-radius: 0; }
/* Price + Finished Designing = one composed card (inset ring instead of a border: no box-size change) */
#designTool div.bg-white.p-4:has(> .finish-design-btn) {
  border-radius: 16px;
  box-shadow: inset 0 0 0 1px #e2e8f0, 0 1px 2px rgba(15, 23, 42, .04), 0 8px 24px rgba(15, 23, 42, .05);
}
#designTool div.bg-white.p-4:has(> .finish-design-btn) > span.text-sky-500,
#designTool div.bg-white.p-4:has(> .finish-design-btn) > span.text-sky-500 font { color: #0f172a; }

/* ==== r8 (Nov 1, Daniel): 8px corners everywhere + light grey page outside the tool on desktop. Tabs untouched. ==== */
/* ==========================================================================
   /badges ?style=v2 — ROUND 2, MINIMUM (Nov 1 2026). MOCK ONLY, NOT DEPLOYED.
   Loads after the live badges-v2.css (r7). Replaces M2+ entirely (nothing
   from M1/M2/M2+ is carried over).
   Daniel: "my tool is good ... it's getting excessive" + "slight curves, not
   crazy wide curves all over". So this sheet does ONLY:
     1. one corner radius, 8px = his own buttons
     2. desktop tabs: tab shape + hover tint (active colour = his live blue)
     3. phone tabs: his original blue, darker blue on the open tab
     (4. R2b only: a subtle light-grey page)
   NOT touched: font weight / size / wording, his colours (green Add Text,
   orange Add Logo / Upload Logo / FINISHED DESIGNING, blue Add Clipart, red
   helper words), swatches + sub-tabs beyond radius, no new shadows, no
   labels/pills/checks, nothing inside [x-ref="itemScope"] (the badge).
   ========================================================================== */

/* ---- 1. RADIUS = 8px everywhere in the tool.
   Measured on his live page (plain /badges, getComputedStyle): Add Text /
   Add Logo / Add Clipart = 8px (rounded-lg), phone Add Text / Upload Logo /
   Add Clipart = 8px, options panel = 8px, Material/Color/Custom = 8px.
   r7 had pushed these to 10-16px. Everything rectangular in the tool that is
   over 8px comes back to 8px. Left as they are: true circles (colour dots,
   colour wheel, help-video dot, step numbers), the colour slider, and the
   size tiles (they draw the badge's own corner / oval). */
#designTool#designTool#designTool :is(
  .rounded-lg, .rounded-md, .rounded-xl, .rounded-t-xl, [class*="rounded-[0.125in]"],
  .options-box, .finish-design-btn, .finishedBtn, div.bg-white.p-4:has(> .finish-design-btn),
  .lg\:my-10.overflow-hidden, input.h-10
):not([x-ref="itemScope"] *):not(.rounded-full):not([class*="Iro"]) { border-radius: 8px; }
#designTool#designTool#designTool .rounded-t-xl.bg-blue-200 { border-radius: 8px 8px 0 0; }
#designTool#designTool#designTool input.h-10.rounded-l-lg,
#designTool#designTool#designTool .rounded-l-lg:not([x-ref="itemScope"] *) { border-radius: 8px 0 0 8px; }
#designTool#designTool#designTool .rounded-r-lg:not([x-ref="itemScope"] *) { border-radius: 0 8px 8px 0; }
/* phone text box: its 10px left corners are an inline style, so !important is the only way to reach it */
#designTool #myTextMobile { border-top-left-radius: 8px !important; border-bottom-left-radius: 8px !important; }
/* the phone finish button is a pill on his plain page; r7 made it 12px: 8px like his other buttons */
#designTool#designTool#designTool #content div.finishedBtn.rounded-full { border-radius: 8px; }



/* ---- 4. R2b ONLY: subtle light-grey page behind the tool (#f1f3f5), desktop only.
   Cards / panels / buttons keep their live colours. On phone the badge sits
   directly on the page (no card behind it), so grey there would tint the area
   around the badge preview: phone page stays as live. */
@media (min-width: 1024px) {
body:has(#designTool),
main.toolmain:has(#designTool),
main.toolmain:has(#designTool) div.bg-white.w-full:has(> .container > #designTool) { background: #f1f3f5; }
/* the badge canvas has its own white surface; without this the grey would frame it as a
   loose white box. The column it sits in stays white as it is today (8px corners, no shadow). */
#designTool #content > [x-ref="leftSide"] { background: #ffffff; border-radius: 8px; }
}

/* ==== r8b (Nov 1, Daniel): less bold. Price and the words under the badge card back to normal weights. ==== */
#designTool div.bg-white.p-4:has(> .finish-design-btn) > span.text-sky-500 { font-weight: 500; }
#designTool div.bg-white.p-4:has(> .finish-design-btn) > span.text-sky-500 font { font-weight: 500; }
#designTool strong.text-base { font-weight: 600; }
#designTool a.video_youtube { font-weight: 500; }

/* ==== r8c (Nov 1, Daniel + Astra pick A): help row leaves the white card: one quiet line on the grey page under the price card, desktop only. ==== */
@media (min-width: 1024px) {
/* A: row sits on the grey page under the white card, one line, 13px grey */
.design-left > .flex.flex-col.lg\:min-h-\[31rem\]{position:relative !important;margin-bottom:44px !important;overflow:visible !important}
.design-left .flex-col.lg\:min-h-\[31rem\] > div.mt-\[30px\].table.w-full{position:absolute !important;top:100% !important;left:0 !important;right:0 !important;margin:0 !important;padding:12px 16px 0 !important;background:transparent !important;border:0 !important;box-shadow:none !important;display:flex !important;align-items:center !important;font-size:13px !important;color:#475569 !important;white-space:nowrap}
.design-left div.mt-\[30px\].table.w-full > span{display:inline-flex !important;align-items:center;margin:0 !important;padding:0 !important;border:0 !important;font-size:13px !important;font-weight:400 !important;color:#475569 !important;line-height:24px}
.design-left div.mt-\[30px\].table.w-full > span:first-child a.video_youtube:first-child{width:24px !important;height:24px !important;margin-right:8px !important}
.design-left div.mt-\[30px\].table.w-full > span:first-child a.video_youtube:first-child svg{width:9px;height:9px}
.design-left div.mt-\[30px\].table.w-full > span:first-child a:last-child{color:#475569 !important;font-size:13px !important;font-weight:400 !important}
.design-left div.mt-\[30px\].table.w-full > span:last-child::before{content:"\00B7";margin:0 10px;color:#475569;font-size:13px}
.design-left div.mt-\[30px\].table.w-full strong,.design-left div.mt-\[30px\].table.w-full br{display:none !important}
.design-left div.mt-\[30px\].table.w-full > span:last-child{font-size:0 !important}
.design-left div.mt-\[30px\].table.w-full > span:last-child::after{content:"Badge shown larger than actual size";font-size:13px;color:#475569;font-weight:400}
}

/* ==== r8d (Nov 1, Daniel): the price line was huge; calmer. ==== */
#designTool div.bg-white.p-4:has(> .finish-design-btn) > span.text-sky-500,
#designTool div.bg-white.p-4:has(> .finish-design-btn) > span.text-sky-500 font { font-size: 18px; font-weight: 500; color: #334155; letter-spacing: 0; }

/* ==== r8e (Nov 1, Astra design pass): consistency only, desktop ==== */
@media (min-width: 1024px) {
  /* 1. all option-panel titles the same: sentence case, normal weight, no rule (Text/Logo/Clipart already look like this) */
  #designTool #options .options-box h2 { font-weight: 400; text-transform: none; letter-spacing: 0; border-bottom: 0; }
  /* 2. no green top edge on the panel at first load; neutral hairline */
  #designTool #options .options-box, #designTool #options .options-box.add-text-active { border-top-color: #e2e8f0; }
  /* 3. Quantity Price header inset = the price card's 16px */
  #designTool .hidden.lg\:block > .overflow-hidden > div:first-child { padding-left: 16px; padding-right: 16px; }
  /* 5. rectangles inside panels all 8px (size tiles were 7.2px) */
  /* (Nov 12) the oval size tile (rounded-[50%]) keeps its oval: Sagar saw it drawn as a rectangle on desktop v2/v23 */
  #designTool #options .options-box [class*="rounded-"]:not(.rounded-full):not(.rounded-\[50\%\]) { border-radius: 8px; }
  /* 6. (Daniel) the empty white block under the badge: let the badge card fit its content */
  .design-left > .flex.flex-col.lg\:min-h-\[31rem\] { min-height: 0 !important; }
}

/* ==== r8f (Nov 1, Daniel): price + Finished card is its own card, 16px below the badge card, no overlap/seam ==== */
@media (min-width: 1024px) {
  #designTool div.bg-white.p-4:has(> .finish-design-btn) { margin-top: 16px; border-radius: 8px; }
  #designTool #content > [x-ref="leftSide"] { border-radius: 8px; }
}

/* ==== r8g (Nov 1, Daniel): the three top buttons identical in build; Add Text's "+" was a 16px circle with an &nbsp; gap, the others 20px icons with 8px gap ==== */
@media (min-width: 1024px) {
  #designTool #options > div:first-child button.bg-green-500,
  #designTool #options > div:first-child button.bg-orange-500,
  #designTool #options > div:first-child button.bg-blue-500 { display: inline-flex; align-items: center; justify-content: center; gap: 0; padding: 0 12px; line-height: 1; }
  #designTool #options > div:first-child button.bg-green-500 > span { width: 20px; height: 20px; margin-right: 4px; font-size: 18px; line-height: 20px; }
  #designTool #options > div:first-child button.bg-green-500 { box-shadow: 0 1px 2px rgba(15, 23, 42, .06), 0 2px 6px rgba(15, 23, 42, .08); }
  /* badge card: a little room under the Add Text line so the badge doesn't sit on the card's edge */
  .design-left > .flex.flex-col.lg\:min-h-\[31rem\] { padding-bottom: 12px; }
}

/* ==== r8h (Nov 1, Daniel): step bar spans the full tool width (was 1080px max, 100px short on the right); no shadows on buttons ==== */
@media (min-width: 1024px) {
  .populate-page #flow-steps, .names-pages #flow-steps { max-width: none; }
  #designTool #options > div:first-child button.bg-green-500,
  #designTool #options > div:first-child button.bg-orange-500,
  #designTool #options > div:first-child button.bg-blue-500 { box-shadow: none; }
  #designTool .finish-design-btn, #designTool div.bg-white.p-4:has(> .finish-design-btn) > .finish-design-btn { box-shadow: none !important; }
  #designTool .design-tabs > button { box-shadow: none; }
}

/* ==== r8i (Nov 1, Daniel): page backdrop = the Quick Start page's soft blue-grey gradient (livewire quick-start), desktop only ==== */
@media (min-width: 1024px) {
  body:has(#designTool), main.toolmain:has(#designTool),
  main.toolmain:has(#designTool) div.bg-white.w-full:has(> .container > #designTool) { background: linear-gradient(180deg, #f5f9fd 0%, #f8fafc 60%); }
}

/* ==== r8j (Nov 1, Daniel): price + Finished card directly below the design block with a tiny gap ==== */
@media (min-width: 1024px) {
  #designTool div.bg-white.p-4:has(> .finish-design-btn) { margin-top: 8px; }
  .design-left > .flex.flex-col.lg\:min-h-\[31rem\] { padding-bottom: 4px; }
}

/* ==== r8k (Nov 1, Daniel): badge block and price block are two separate white cards; the page shows between them ==== */
@media (min-width: 1024px) {
  #designTool #content > [x-ref="leftSide"] { background: transparent; box-shadow: none; }
  .design-left > .flex.flex-col.lg\:min-h-\[31rem\] { background: #ffffff; border-radius: 8px; padding: 16px 16px 8px; }
  #designTool div.bg-white.p-4:has(> .finish-design-btn) { margin-top: 8px; border-radius: 8px; }
}

/* ==== r8l (Nov 1): r8k dropped the badge card; restore it. Badge block = white card again; the price card sits 8px below with the page colour showing between ==== */
@media (min-width: 1024px) {
  #designTool #content > [x-ref="leftSide"] { background: #ffffff; border-radius: 8px; padding-bottom: 8px; }
  #designTool div.bg-white.p-4:has(> .finish-design-btn) { margin-top: 8px; border-radius: 8px; box-shadow: 0 0 0 8px #f6f9fd, inset 0 0 0 1px #e2e8f0; }
}

/* ==== r8m (Nov 1): clean version. Column transparent; badge + its helper line = one white card; price card = its own white card 8px below ==== */
@media (min-width: 1024px) {
  #designTool #content > [x-ref="leftSide"] { background: transparent; box-shadow: none; padding-bottom: 0; }
  #designTool #content > [x-ref="leftSide"] > .tool-size-ipad { background: #ffffff; border-radius: 8px 8px 0 0; padding: 16px 16px 0; margin-top: 0; box-shadow: inset 1px 1px 0 #e2e8f0, inset -1px 0 0 #e2e8f0; }
  #designTool #content > [x-ref="leftSide"] > p { background: #ffffff; border-radius: 0 0 8px 8px; padding: 10px 16px 16px; margin: 0; box-shadow: inset 1px -1px 0 #e2e8f0, inset -1px 0 0 #e2e8f0; }
  #designTool div.bg-white.p-4:has(> .finish-design-btn) { margin-top: 8px; border-radius: 8px; box-shadow: inset 0 0 0 1px #e2e8f0; }
}

/* ==== r8n (Nov 1): badge card = the whole badge block incl. its helper line, full column width like the tab strip; price card 8px below ==== */
@media (min-width: 1024px) {
  #designTool #content > [x-ref="leftSide"] { padding-left: 0; padding-right: 0; }
  #designTool #content > [x-ref="leftSide"] > .tool-size-ipad { border-radius: 8px; padding: 16px 16px 16px; box-shadow: inset 0 0 0 1px #e2e8f0; }
  #designTool #content > [x-ref="leftSide"] > .flex-col.pt-6 { padding-top: 0; }
  #designTool div.bg-white.p-4:has(> .finish-design-btn) { margin-top: 8px; }
}

/* ==== r8o (Nov 1, Daniel): badge card top aligned with the options panel top (both 16px under their button rows); options panel gets a thin blue strip on top like the active tab ==== */
@media (min-width: 1024px) {
  #designTool #content > [x-ref="leftSide"] > .tool-size-ipad { margin-top: 0 !important; }
  #designTool #options .options-box, #designTool #options .options-box.add-text-active { border-top: 3px solid #0c7cb4; border-radius: 8px; }
}

/* ==== r8p (Nov 1): the 16px offset was the column's own top padding ==== */
@media (min-width: 1024px) {
  #designTool #content > [x-ref="leftSide"] { padding-top: 0 !important; margin-top: 0 !important; }
}

/* ==== r8q (Nov 1 night, pre-launch): PHONE = Daniel's pick P4: page stays white, slide-up blue-grey, white tab bar with blue icons, open tab filled blue; price text greyed while it still reads $0 ==== */
/* R4 phone / narrow (<1024px): colour separation. Grey page, white badge card, tinted bottom tab bar with hover + active, drawer lifted. Tabs stay tabs. */
@media (max-width: 1023.98px) {
  body:has(#designTool), main.toolmain:has(#designTool),
  main.toolmain:has(#designTool) div.bg-white.w-full:has(> .container > #designTool) { background: #ffffff; }
  /* badge area card */
  /* bottom tab bar: light tint, blue active, hover tint, hairline on top */
  #designTool#designTool#designTool #content .grid-flow-col.from-blue-600 { background: #ffffff; border-color: #e2e8f0; box-shadow: 0 -1px 0 #e2e8f0; }
  #designTool#designTool#designTool #content .grid-flow-col.from-blue-600 > div.bg-blue-600 { background: #ffffff; border-color: #e2e8f0; color: #0f172a; box-shadow: none; }
  #designTool#designTool#designTool #content .grid-flow-col.from-blue-600 > div.bg-blue-600 > svg { color: #0c7cb4; }
  #designTool#designTool#designTool #content .grid-flow-col.from-blue-600 > div.bg-blue-600 > svg,
  #designTool#designTool#designTool #content .grid-flow-col.from-blue-600 > div.bg-blue-600 > span { color: #1e3a5f; }
  #designTool#designTool#designTool #content .grid-flow-col.from-blue-600 > div.bg-blue-600:hover { background: #dbeafe; }
  #designTool#designTool#designTool #content .grid-flow-col.from-blue-600 > div.bg-blue-600:hover > svg,
  #designTool#designTool#designTool #content .grid-flow-col.from-blue-600 > div.bg-blue-600:hover > span { color: #0c7cb4; }
  #designTool#designTool#designTool #content .grid-flow-col.from-blue-600 > div.bg-sky-700 { background: #0c7cb4; border-color: #0c7cb4; color: #fff; }
  #designTool#designTool#designTool #content .grid-flow-col.from-blue-600 > div.bg-sky-700 > svg,
  #designTool#designTool#designTool #content .grid-flow-col.from-blue-600 > div.bg-sky-700 > span { color: #fff; }
  /* drawer: white, lifted off the grey page */
  #designTool #content .rounded-t-xl.bg-blue-200 { background: #ffffff; box-shadow: 0 -6px 20px rgba(15,23,42,.10); border-top: 1px solid #e2e8f0; border-radius: 8px 8px 0 0; }
}
@media (max-width: 1023.98px) {
  /* R4b: white tab bar, blue icons, dark labels; drawer loses the blue top edge */
  #designTool#designTool#designTool #content .grid-flow-col.from-blue-600 > div.bg-blue-600 > svg { color: #0c7cb4; }
  #designTool#designTool#designTool #content .grid-flow-col.from-blue-600 > div.bg-blue-600 > span { color: #0f172a; }
  #designTool #content .rounded-t-xl.bg-blue-200 { border-top: 1px solid #e2e8f0 !important; }
}
@media (max-width: 1023.98px) {
  /* P4: page stays white (no card wrapped around the tool); the slide-up is blue-grey so it never blends; tab bar white with a hairline */
  #designTool #content .rounded-t-xl.bg-blue-200 { background: #e8eef6 !important; border-top: 1px solid #d5deea !important; box-shadow: 0 -6px 20px rgba(15,23,42,.12) !important; }
}

#designTool .nb-price-loading { color: #94a3b8 !important; }

/* ==== r8r (Nov 2, Daniel): phone slide-up = today's white card with the BLUE strip on top as the separator (not blue-grey); white tab bar with blue icons stays ==== */
@media (max-width: 1023.98px) {
  #designTool #content .rounded-t-xl.bg-blue-200 { background: #ffffff !important; border-top: 3px solid #0c7cb4 !important; box-shadow: 0 -6px 20px rgba(15,23,42,.10) !important; border-radius: 8px 8px 0 0; }
}
