:root {
  --bg: #f3f6fb;
  --bg-alt: #e8eef7;
  --surface: #ffffff;
  --surface-2: #f1f5f9;
  --ink: #0e1726;
  --ink-2: #475569;
  --ink-3: #64748b;
  --line: rgba(14, 23, 38, 0.09);
  --line-strong: rgba(14, 23, 38, 0.16);
  --brand: #0ea5e9;
  --brand-dark: #0284c7;
  --brand-soft: rgba(14, 165, 233, 0.11);
  --coral: #ff5a1f;
  --coral-dark: #e04812;
  --mint: #10b981;
  --gold: #e59a24;
  --tg: #229ed9;
  --max-c: #5b4df5;
  --shadow-sm: 0 6px 24px rgba(9, 17, 30, 0.05);
  --shadow-md: 0 16px 44px rgba(9, 17, 30, 0.09);
  --shadow-lg: 0 28px 70px rgba(9, 17, 30, 0.16);
  --r-xl: 26px;
  --r-lg: 20px;
  --r-md: 14px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

html[data-theme="dark"] {
  --bg: #070b13;
  --bg-alt: #0d1321;
  --surface: #11192b;
  --surface-2: #18233a;
  --ink: #f1f5f9;
  --ink-2: #cbd5e1;
  --ink-3: #94a3b8;
  --line: rgba(255, 255, 255, 0.09);
  --line-strong: rgba(255, 255, 255, 0.18);
  --brand: #38bdf8;
  --brand-dark: #7dd3fc;
  --brand-soft: rgba(56, 189, 248, 0.14);
  --shadow-sm: 0 8px 28px rgba(0, 0, 0, 0.35);
  --shadow-md: 0 18px 48px rgba(0, 0, 0, 0.48);
  --shadow-lg: 0 30px 76px rgba(0, 0, 0, 0.62);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: clip; }
body {
  margin: 0;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.5;
  transition: background 0.25s var(--ease), color 0.25s var(--ease);
}
h1, h2, h3, h4 { font-family: "Manrope", "Inter", sans-serif; margin: 0; letter-spacing: -0.025em; }
img { max-width: 100%; display: block; }
button, input, select { font: inherit; color: inherit; }
a { color: inherit; text-decoration: none; }
code { padding: 2px 7px; border-radius: 7px; background: var(--brand-soft); color: var(--brand-dark); font-size: 0.9em; font-weight: 600; }

.lab-wrap { width: min(1320px, calc(100% - 32px)); margin-inline: auto; }
@media (min-width: 768px) { .lab-wrap { width: min(1320px, calc(100% - 56px)); } }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 7px;
  padding: 11px 18px; border-radius: 999px; font-weight: 700; font-size: 13.5px; line-height: 1;
  border: 1px solid transparent; cursor: pointer; white-space: nowrap;
  transition: transform 0.2s var(--ease), background 0.2s, border-color 0.2s, color 0.2s;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn--coral { background: var(--coral); color: #fff; box-shadow: 0 10px 24px rgba(255, 90, 31, 0.3); }
.btn--coral:hover { background: var(--coral-dark); }
.btn--primary { background: var(--brand); color: #fff; }
.btn--tg { background: var(--tg); color: #fff; }
.btn--max { background: var(--max-c); color: #fff; }
.btn--ghost { background: var(--surface); color: var(--ink); border-color: var(--line-strong); }
.btn--ghost:hover { border-color: var(--brand); color: var(--brand); }
.btn--sm { padding: 8px 13px; font-size: 12.5px; }

/* Header */
.lab-header {
  position: sticky; top: 0; z-index: 100;
  background: color-mix(in srgb, var(--surface) 88%, transparent);
  backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--line);
}
.lab-header__in {
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
  padding: 12px 0 8px; flex-wrap: wrap;
}
.lab-brand { display: flex; align-items: center; gap: 12px; }
.lab-logo-box {
  height: 40px; padding: 5px 10px; border-radius: 12px; background: #fff;
  border: 1px solid rgba(14, 23, 38, 0.1); display: inline-flex; align-items: center;
}
.lab-logo-box img { height: 26px; width: auto; }
.lab-brand__title { font-family: "Manrope", sans-serif; font-weight: 800; font-size: 16px; display: flex; align-items: center; gap: 8px; }
.lab-badge { padding: 3px 9px; border-radius: 999px; background: var(--coral); color: #fff; font-size: 11px; font-weight: 800; letter-spacing: 0.04em; }
.lab-brand__sub { font-size: 12px; color: var(--ink-3); }

.lab-controls { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.lab-search {
  display: inline-flex; align-items: center; gap: 7px; padding: 0 12px; height: 36px;
  border-radius: 999px; background: var(--bg); border: 1px solid var(--line-strong); color: var(--ink-2);
}
.lab-search input { border: none; background: transparent; outline: none; width: 155px; font-size: 13px; color: var(--ink); }

.lab-seg { display: inline-flex; padding: 3px; border-radius: 999px; background: var(--bg); border: 1px solid var(--line-strong); }
.lab-seg__btn {
  border: none; background: transparent; padding: 6px 12px; border-radius: 999px;
  font-size: 12.5px; font-weight: 700; color: var(--ink-2); cursor: pointer;
}
.lab-seg__btn.is-on { background: var(--ink); color: var(--bg); }
@media (max-width: 540px) { .lab-seg { display: none; } .lab-search input { width: 120px; } }

.lab-icon-btn {
  width: 36px; height: 36px; border-radius: 999px; border: 1px solid var(--line-strong);
  background: var(--surface); display: inline-flex; align-items: center; justify-content: center; cursor: pointer;
}

.lab-filters {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 6px 0 11px; flex-wrap: wrap;
}
.lab-chips { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; }
.lab-chips::-webkit-scrollbar { display: none; }
.lab-chip {
  padding: 6px 13px; border-radius: 999px; border: 1px solid var(--line-strong);
  background: var(--surface); color: var(--ink-2); font-size: 12.5px; font-weight: 700;
  cursor: pointer; white-space: nowrap; display: inline-flex; align-items: center; gap: 6px;
}
.lab-chip span { padding: 1px 6px; border-radius: 999px; background: var(--bg); font-size: 11px; }
.lab-chip.is-on { background: var(--brand); color: #fff; border-color: var(--brand); }
.lab-chip.is-on span { background: rgba(255,255,255,0.22); color: #fff; }
.lab-status { font-size: 12.5px; font-weight: 600; color: var(--ink-3); }

/* Hero */
.lab-main { padding: 26px 0 72px; }
.lab-hero {
  background: linear-gradient(125deg, color-mix(in srgb, var(--brand) 14%, var(--surface)) 0%, var(--surface) 60%, color-mix(in srgb, var(--coral) 9%, var(--surface)) 100%);
  border: 1px solid var(--line); border-radius: var(--r-xl); padding: clamp(20px, 3vw, 34px);
  box-shadow: var(--shadow-sm); margin-bottom: 24px;
  display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
}
.lab-kicker { display: inline-block; font-size: 11.5px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: var(--brand-dark); margin-bottom: 8px; }
.lab-hero h1 { font-size: clamp(24px, 3.2vw, 38px); line-height: 1.1; font-weight: 800; margin-bottom: 10px; }
.lab-hero p { margin: 0; max-width: 660px; font-size: 14.5px; color: var(--ink-2); }
.lab-hero__stats { display: flex; gap: 14px; flex-wrap: wrap; }
.lab-stat {
  min-width: 110px; padding: 14px 18px; border-radius: 18px;
  background: var(--surface); border: 1px solid var(--line); text-align: center;
}
.lab-stat strong { display: block; font-family: "Manrope", sans-serif; font-size: 26px; font-weight: 800; color: var(--coral); line-height: 1; }
.lab-stat span { display: block; font-size: 11.5px; color: var(--ink-3); margin-top: 5px; font-weight: 600; }

/* Board layouts */
.widget-board { display: grid; gap: 22px; }
.widget-board[data-view="bento"] { grid-template-columns: 1fr; }
@media (min-width: 980px) {
  .widget-board[data-view="bento"] { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .widget-board[data-view="bento"] .widget-shell--wide { grid-column: 1 / -1; }
}
.widget-board[data-view="feed"] { grid-template-columns: minmax(0, 920px); justify-content: center; }
.widget-board[data-view="mobile"] { grid-template-columns: 390px; justify-content: center; }
.widget-board[data-view="mobile"] .widget-shell { border-radius: 30px; box-shadow: var(--shadow-lg); }

/* Widget shell */
.widget-shell {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-xl);
  box-shadow: var(--shadow-sm); overflow: hidden; display: flex; flex-direction: column;
  min-width: 0;
}
.widget-shell__head {
  padding: 16px 20px; border-bottom: 1px solid var(--line);
  display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap;
}
.widget-shell__meta { display: flex; align-items: center; gap: 10px; min-width: 0; }
.w-id {
  padding: 4px 9px; border-radius: 999px; background: var(--ink); color: var(--bg);
  font-family: "Manrope", sans-serif; font-size: 11px; font-weight: 800; letter-spacing: 0.05em; flex-shrink: 0;
}
.widget-shell__title { font-size: 16px; font-weight: 800; line-height: 1.2; }
.widget-shell__sub { font-size: 12.5px; color: var(--ink-3); margin-top: 2px; }
.widget-shell__actions { display: flex; align-items: center; gap: 6px; }
.w-cat-tag {
  padding: 4px 10px; border-radius: 999px; background: var(--brand-soft); color: var(--brand-dark);
  font-size: 11px; font-weight: 700;
}
.widget-stage { padding: 20px; flex: 1; min-width: 0; max-width: 100%; }
.widget-board[data-view="mobile"] .widget-stage { padding: 14px; }
.widget-shell--frameless { background: transparent; border-color: transparent; box-shadow: none; overflow: visible; }
.widget-shell--frameless .widget-shell__head { border-bottom: none; padding: 6px 4px 0; }
.widget-shell--frameless .widget-stage { padding: 0; }

/* Add new widget footer card */
.lab-add-card {
  margin-top: 28px; padding: 26px 28px; border-radius: var(--r-xl);
  border: 2px dashed var(--line-strong); background: var(--surface);
  display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap;
}
.lab-add-card h2 { font-size: 20px; margin-bottom: 6px; }
.lab-add-card p { margin: 0; font-size: 13.5px; color: var(--ink-2); max-width: 680px; }

/* Modal solo preview */
.lab-modal { position: fixed; inset: 0; z-index: 200; display: flex; align-items: center; justify-content: center; padding: 20px; }
.lab-modal[hidden] { display: none; }
.lab-modal__backdrop { position: absolute; inset: 0; background: rgba(5, 10, 18, 0.68); backdrop-filter: blur(6px); }
.lab-modal__dialog {
  position: relative; z-index: 2; width: min(1060px, 100%); max-height: 90vh; overflow-y: auto;
  background: var(--surface); border: 1px solid var(--line-strong); border-radius: var(--r-xl); box-shadow: var(--shadow-lg);
}
.lab-modal__head {
  position: sticky; top: 0; z-index: 5; background: var(--surface);
  padding: 16px 22px; border-bottom: 1px solid var(--line);
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
}
.lab-modal__head > div { display: flex; align-items: center; gap: 10px; }
.lab-modal__body { padding: 24px; }

.lab-toast {
  position: fixed; left: 50%; bottom: 26px; transform: translateX(-50%) translateY(14px);
  background: #0b1324; color: #fff; padding: 11px 20px; border-radius: 999px;
  font-size: 13px; font-weight: 700; box-shadow: var(--shadow-lg);
  opacity: 0; pointer-events: none; transition: opacity 0.22s, transform 0.22s var(--ease); z-index: 300;
}
.lab-toast.is-show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* =====================================================
   WIDGET-SPECIFIC STYLES (clean, responsive, theme-aware)
   ===================================================== */

/* W01 Before/After Slider */
.ba-wrap { display: grid; gap: 14px; }
.ba-tabs { display: flex; flex-wrap: wrap; gap: 7px; }
.ba-tab { padding: 7px 13px; border-radius: 999px; border: 1px solid var(--line-strong); background: var(--bg); font-size: 12.5px; font-weight: 700; cursor: pointer; }
.ba-tab.is-on { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.ba-box {
  position: relative; height: 310px; border-radius: 20px; overflow: hidden;
  background: #0a101d; user-select: none; touch-action: none; cursor: ew-resize;
  border: 1px solid var(--line);
}
.ba-layer { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; background: #0a101d; }
.ba-layer img { width: 100%; height: 100%; object-fit: cover; object-position: center center; pointer-events: none; }
.ba-layer--after { clip-path: inset(0 0 0 50%); }
.ba-divider { position: absolute; top: 0; bottom: 0; left: 50%; width: 3px; background: #fff; box-shadow: 0 0 18px rgba(0,0,0,0.45); pointer-events: none; z-index: 5; }
.ba-handle {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 44px; height: 44px; border-radius: 50%; background: var(--coral); color: #fff;
  border: 3px solid #fff; box-shadow: 0 8px 24px rgba(0,0,0,0.35);
  display: flex; align-items: center; justify-content: center; font-weight: 900; font-size: 16px; pointer-events: none; z-index: 6;
}
.ba-label { position: absolute; top: 12px; padding: 5px 12px; border-radius: 999px; background: rgba(14,23,38,0.82); color: #fff; font-size: 11.5px; font-weight: 800; z-index: 4; }
.ba-label--l { left: 12px; }
.ba-label--r { right: 12px; background: var(--coral); }
.ba-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: 13px; color: var(--ink-2); }

/* W02 Implant Calculator */
.calc-grid { display: grid; grid-template-columns: 1fr; gap: 16px; }
@media (min-width: 720px) { .calc-grid { grid-template-columns: 1.2fr 0.8fr; } }
.widget-board[data-view="mobile"] .calc-grid { grid-template-columns: 1fr; }
.calc-brands { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.calc-brand {
  padding: 12px 10px; border-radius: 16px; border: 1.5px solid var(--line-strong);
  background: var(--bg); cursor: pointer; text-align: left; display: grid; gap: 3px;
}
.calc-brand strong { font-size: 13.5px; }
.calc-brand span { font-size: 11.5px; color: var(--ink-3); }
.calc-brand.is-on { border-color: var(--brand); background: var(--brand-soft); }
.calc-range { width: 100%; accent-color: var(--coral); cursor: pointer; }
.calc-toggles { display: flex; flex-wrap: wrap; gap: 8px; }
.calc-toggle {
  display: inline-flex; align-items: center; gap: 7px; padding: 8px 13px; border-radius: 12px;
  background: var(--bg); border: 1px solid var(--line-strong); font-size: 12.5px; font-weight: 600; cursor: pointer;
}
.calc-summary {
  padding: 20px; border-radius: 20px; background: linear-gradient(155deg, #0b1324 0%, #15243e 100%);
  color: #fff; display: flex; flex-direction: column; justify-content: space-between; gap: 14px;
}
.calc-total { font-family: "Manrope", sans-serif; font-size: 34px; font-weight: 800; color: var(--coral); line-height: 1; }
.calc-monthly { font-size: 13px; color: #7dd3fc; font-weight: 700; margin-top: 6px; }

/* W03 Interactive Dental Tooth Map */
.tmap-grid { display: grid; grid-template-columns: 1fr; gap: 18px; align-items: center; }
@media (min-width: 720px) { .tmap-grid { grid-template-columns: 1.05fr 0.95fr; } }
.widget-board[data-view="mobile"] .tmap-grid { grid-template-columns: 1fr; }
.tmap-stage {
  background: radial-gradient(circle at 50% 50%, #102038 0%, #070c17 100%);
  border-radius: 22px; padding: 20px; display: flex; flex-direction: column; align-items: center; gap: 10px;
}
.tmap-svg { width: 100%; max-width: 380px; height: auto; }
.tooth-node { cursor: pointer; transition: transform 0.2s, fill 0.2s; transform-box: fill-box; transform-origin: center; }
.tooth-node:hover { filter: brightness(1.18); }
.tooth-node.is-on rect, .tooth-node.is-on path { fill: #ff5a1f !important; stroke: #ffffff !important; stroke-width: 2.2 !important; }
.tmap-info { background: var(--bg); border: 1px solid var(--line); border-radius: 20px; padding: 18px; display: grid; gap: 12px; }
.tmap-rec { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 12px; border-radius: 13px; background: var(--surface); border: 1px solid var(--line); font-size: 13px; }

/* W04 Apple Bento Dashboard */
.bento-wall {
  background: linear-gradient(155deg, #215e86 0%, #113550 55%, #091c2c 100%);
  background-image: linear-gradient(rgba(255,255,255,0.08) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.08) 1px, transparent 1px), linear-gradient(155deg, #215e86 0%, #091c2c 100%);
  background-size: 40px 40px, 40px 40px, 100% 100%;
  border-radius: 22px; padding: 16px; display: grid; gap: 12px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.widget-board[data-view="mobile"] .bento-wall { grid-template-columns: 1fr; }
@media (max-width: 680px) { .bento-wall { grid-template-columns: 1fr; } }
.btile { border-radius: 20px; padding: 16px; box-shadow: 0 14px 32px rgba(0,0,0,0.28); }
.btile--dark { background: #0a0f19; color: #fff; border: 1px solid rgba(255,255,255,0.12); }
.btile--sky { background: linear-gradient(150deg, #38bdf8, #0284c7); color: #fff; }
.btile--light { background: #f2f8ff; color: #0e1726; }
.btile--span2 { grid-column: span 2; }
.widget-board[data-view="mobile"] .btile--span2 { grid-column: auto; }
@media (max-width: 680px) { .btile--span2 { grid-column: auto; } }
.bento-cal { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; margin-top: 10px; }
.bento-day {
  height: 34px; border-radius: 10px; border: 1px solid rgba(255,255,255,0.1);
  background: rgba(255,255,255,0.06); color: #fff; font-weight: 700; font-size: 12.5px; cursor: pointer;
}
.bento-day.is-free { background: rgba(16,185,129,0.22); border-color: #10b981; }
.bento-day.is-on { background: var(--coral); border-color: #fff; box-shadow: 0 0 14px rgba(255,90,31,0.65); }

/* W05 Neon Orbit */
.norb-grid { display: grid; grid-template-columns: 1fr; gap: 14px; align-items: stretch; }
@media (min-width: 720px) { .norb-grid { grid-template-columns: 1fr 1fr; } }
.widget-board[data-view="mobile"] .norb-grid { grid-template-columns: 1fr; }
.norb-stage {
  position: relative; height: 320px; border-radius: 22px; background: #060912;
  border: 1px solid rgba(255,255,255,0.12); overflow: hidden;
  display: flex; align-items: center; justify-content: center;
}
.norb-tile {
  position: absolute; width: 76px; height: 76px; border-radius: 20px; padding: 2px; border: none; cursor: pointer;
  background: linear-gradient(145deg, var(--c1, #38bdf8), rgba(255,255,255,0.12), #a855f7);
  transition: transform 0.55s var(--ease), opacity 0.35s;
}
.norb-tile__in {
  width: 100%; height: 100%; border-radius: 18px; background: #0b101d; color: #f8fafc;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; font-size: 10px; font-weight: 700;
}
.norb-tile.is-on { box-shadow: 0 0 28px var(--c1, #38bdf8); z-index: 6; }
.norb-cube {
  position: absolute; z-index: 9; width: 78px; height: 78px; border-radius: 20px;
  background: linear-gradient(145deg, #f59e0b, #a855f7, #38bdf8); padding: 2.5px;
  opacity: 0; transform: scale(0.3); pointer-events: none; transition: all 0.32s var(--ease);
}
.norb-stage.is-morph .norb-cube { opacity: 1; transform: scale(1.06); }
.norb-stage.is-morph .norb-tile { opacity: 0; transform: translate(0, 0) scale(0.2) !important; }
.norb-cube__in { width: 100%; height: 100%; border-radius: 18px; background: #05070e; color: #fff; display: flex; align-items: center; justify-content: center; font-size: 22px; font-weight: 800; }

/* W06 Jitter Word Wheel */
.jwh-grid { display: grid; grid-template-columns: 1fr; gap: 14px; }
@media (min-width: 720px) { .jwh-grid { grid-template-columns: 1.1fr 0.9fr; } }
.widget-board[data-view="mobile"] .jwh-grid { grid-template-columns: 1fr; }
.jwh-stage { position: relative; height: 230px; border-radius: 20px; background: #05080f; overflow: hidden; border: 1px solid rgba(255,255,255,0.1); }
.jwh-stage::before, .jwh-stage::after { content: ""; position: absolute; left: 0; right: 0; height: 28px; z-index: 12; pointer-events: none; }
.jwh-stage::before { top: 0; background: linear-gradient(180deg, rgba(5,8,15,0.9), transparent); }
.jwh-stage::after { bottom: 0; background: linear-gradient(0deg, rgba(5,8,15,0.9), transparent); }
.jwh-arrow { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); color: #fff; font-size: 24px; font-weight: 800; z-index: 14; pointer-events: none; }
.jwh-item {
  position: absolute; left: 50px; right: 14px; top: 50%; padding: 5px 0;
  font-family: "Manrope", sans-serif; font-size: 21px; font-weight: 800; color: #fff;
  white-space: nowrap; cursor: pointer; transform-origin: -110px center;
  transition: transform 0.55s var(--ease), opacity 0.45s var(--ease), filter 0.45s var(--ease);
}

/* W07 Doctor Quiz */
.quiz-opts { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.quiz-opt {
  padding: 9px 14px; border-radius: 13px; border: 1.5px solid var(--line-strong);
  background: var(--bg); font-size: 13px; font-weight: 700; cursor: pointer;
}
.quiz-opt.is-on { background: var(--coral); color: #fff; border-color: var(--coral); }
.quiz-res {
  display: flex; align-items: center; gap: 16px; padding: 16px; border-radius: 18px;
  background: var(--bg); border: 1px solid var(--line); flex-wrap: wrap;
}
.quiz-avatar { width: 76px; height: 76px; border-radius: 18px; overflow: hidden; flex-shrink: 0; background: linear-gradient(145deg, #0d223c, #0ea5e9); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 24px; }
.quiz-avatar img { width: 100%; height: 100%; object-fit: cover; object-position: center 15%; }

/* W08 Live Slots */
.slots-days { display: flex; gap: 7px; margin-bottom: 12px; flex-wrap: wrap; }
.slot-day { padding: 8px 13px; border-radius: 12px; border: 1px solid var(--line-strong); background: var(--bg); font-size: 12.5px; font-weight: 700; cursor: pointer; }
.slot-day.is-on { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.slots-times { display: grid; grid-template-columns: repeat(auto-fill, minmax(84px, 1fr)); gap: 8px; margin-bottom: 14px; }
.slot-time {
  padding: 10px 8px; border-radius: 12px; border: 1.5px solid var(--line-strong);
  background: var(--surface); font-weight: 800; font-size: 13.5px; cursor: pointer; text-align: center;
}
.slot-time.is-busy { opacity: 0.35; text-decoration: line-through; cursor: not-allowed; }
.slot-time.is-on { background: var(--mint); border-color: var(--mint); color: #052e16; }

/* W09 Warranty Timeline */
.wt-list { display: grid; gap: 10px; }
.wt-row {
  padding: 11px 14px; border-radius: 14px; background: var(--bg); border: 1px solid var(--line);
  cursor: pointer; transition: border-color 0.2s;
}
.wt-row.is-on { border-color: var(--coral); background: var(--brand-soft); }
.wt-row__top { display: flex; justify-content: space-between; gap: 10px; font-size: 13px; font-weight: 700; margin-bottom: 7px; }
.wt-bar { height: 8px; border-radius: 999px; background: var(--line); overflow: hidden; }
.wt-bar__fill { height: 100%; border-radius: 999px; background: linear-gradient(90deg, var(--brand), var(--coral)); transition: width 0.5s var(--ease); }

/* W10 Floating Smart Dock Preview */
.dock-stage {
  background: linear-gradient(135deg, #c6edff 0%, #e7f6ff 55%, #f4f7ff 100%);
  border-radius: 22px; padding: 36px 16px 26px; display: flex; flex-direction: column; align-items: center; gap: 18px;
}
html[data-theme="dark"] .dock-stage { background: linear-gradient(135deg, #0d1d34 0%, #0b1424 100%); }
.mac-dock {
  display: inline-flex; align-items: center; gap: 8px; padding: 10px 12px; border-radius: 24px;
  background: rgba(15, 23, 42, 0.86); backdrop-filter: blur(18px); border: 1px solid rgba(255,255,255,0.16);
  box-shadow: 0 22px 50px rgba(0,0,0,0.34); flex-wrap: wrap; justify-content: center;
}
.mac-dock__item {
  display: inline-flex; align-items: center; gap: 7px; padding: 10px 14px; border-radius: 16px;
  border: 1px solid rgba(255,255,255,0.12); background: rgba(255,255,255,0.08); color: #fff;
  font-size: 12.5px; font-weight: 700; cursor: pointer;
  transition: transform 0.2s var(--ease), background 0.2s;
}
.mac-dock__item:hover { transform: translateY(-5px) scale(1.07); background: rgba(255,255,255,0.18); }
.mac-dock__item--cta { background: var(--coral); border-color: var(--coral); }
.mac-dock__item--cta:hover { background: var(--coral-dark); }

