/* =====================================================================
   Rosetta additions (plain CSS on top of the compiled Tailwind build):
   numerals, start screen, home button, full-screen form sheet, wellness
   assessment, results, video countdown and the booking calendar.
   ===================================================================== */

/* ---------- Numbers: STIX Two Text (made for mathematical typesetting) ---------- */
@font-face {
    font-family: 'RoDigits';
    src: url('fonts/stix-two-text.woff2') format('woff2');
    font-weight: 400 700;
    font-style: normal;
    font-display: swap;
    unicode-range: U+0030-0039, U+0024, U+0025, U+002B, U+2212;
}
body, .font-body, input, textarea, button { font-family: 'RoDigits', Poppins, sans-serif; }
.font-display { font-family: 'RoDigits', 'Cormorant Garamond', serif; }
body { font-variant-numeric: lining-nums tabular-nums; }
html, body { max-width: 100%; overflow-x: hidden; }
.ro-gate { width: 100%; max-width: 100vw; box-sizing: border-box; }

:root {
    --ro-gold: #D4AF37;
    --ro-gold-l: #F4E4BC;
    --ro-teal: #00D9C0;
    --ro-blue: #2E86DE;
    --ro-bg: #050505;
    --ro-line: rgba(255, 255, 255, 0.1);
    --ro-soft: rgba(255, 255, 255, 0.05);
    --ro-mute: rgba(255, 255, 255, 0.55);
}

/* ---------- Always-visible way back to the main site ---------- */
.ro-home {
    position: fixed; top: 10px; left: 10px; z-index: 160;
    display: inline-flex; align-items: center; gap: 6px;
    padding: 7px 13px; border-radius: 999px;
    font-size: 12px; font-weight: 500; letter-spacing: 0.02em; color: #fff; text-decoration: none;
    background: rgba(5, 5, 5, 0.55); border: 1px solid rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
    transition: background .2s, border-color .2s;
}
.ro-home:hover { background: rgba(46, 134, 222, 0.35); border-color: rgba(127, 216, 255, 0.5); }
@media (min-width: 768px) { .ro-home { top: auto; bottom: 16px; left: 16px; } }

/* ---------- Buttons ---------- */
.ro-btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    min-height: 44px; padding: 10px 20px; border-radius: 999px;
    font-size: 14px; font-weight: 500; line-height: 1.2; cursor: pointer;
    border: 1px solid transparent; transition: background .2s, border-color .2s, opacity .2s, transform .15s;
}
.ro-btn:active { transform: scale(.98); }
.ro-btn:disabled { opacity: .35; cursor: not-allowed; }
.ro-btn-primary { background: var(--ro-blue); color: #fff; box-shadow: 0 12px 34px rgba(46, 134, 222, 0.3); }
.ro-btn-primary:hover:not(:disabled) { background: #4A9FF5; }
.ro-btn-ghost { background: var(--ro-soft); color: rgba(255, 255, 255, 0.8); border-color: var(--ro-line); }
.ro-btn-ghost:hover:not(:disabled) { border-color: rgba(255, 255, 255, 0.3); }

/* ---------- Start screen ---------- */
.ro-gate {
    position: fixed; inset: 0; z-index: 300; display: flex; align-items: center; justify-content: center; padding: 24px;
    background: radial-gradient(circle at 50% 38%, rgba(46, 134, 222, 0.22), transparent 55%), radial-gradient(circle at 50% 100%, rgba(212, 175, 55, 0.12), transparent 50%), #050505;
    transition: opacity .6s ease, visibility .6s;
}
.ro-gate.is-out { opacity: 0; visibility: hidden; }
.ro-gate-inner { width: 100%; max-width: 380px; text-align: center; display: flex; flex-direction: column; align-items: center; }
.ro-gate-orb { margin-bottom: 26px; }
.ro-gate-kicker { font-size: 10px; letter-spacing: .3em; text-transform: uppercase; color: rgba(0, 217, 192, 0.85); margin-bottom: 10px; }
.ro-gate-title { font-family: 'Cormorant Garamond', serif; font-size: 34px; line-height: 1.1; color: #fff; margin: 0 0 10px; font-weight: 500; }
.ro-gate-copy { font-size: 14px; line-height: 1.6; color: var(--ro-mute); margin: 0 0 24px; }
.ro-gate-actions { display: flex; flex-direction: column; gap: 10px; width: 100%; }
.ro-gate-actions .ro-btn { width: 100%; }
.ro-gate-home { margin-top: 18px; font-size: 12px; color: rgba(255, 255, 255, 0.45); text-decoration: none; }
.ro-gate-home:hover { color: #fff; }

/* ---------- Full-screen sheet ---------- */
html.ro-sheet-open, html.ro-sheet-open body { overflow: hidden; }
.ro-sheet {
    position: fixed; inset: 0; z-index: 250; display: flex; flex-direction: column;
    height: 100vh; height: 100dvh; background: #07090d; color: #fff;
    animation: roSheetIn .32s cubic-bezier(.2, .8, .2, 1);
}
.ro-sheet.is-leaving { animation: roSheetOut .26s ease forwards; }
@keyframes roSheetIn { from { transform: translateY(24px); opacity: 0; } }
@keyframes roSheetOut { to { transform: translateY(24px); opacity: 0; } }
.ro-sheet-head {
    display: flex; align-items: center; justify-content: space-between; gap: 12px;
    padding: 12px 16px; padding-top: max(12px, env(safe-area-inset-top));
    border-bottom: 1px solid var(--ro-line); background: rgba(10, 12, 16, 0.92);
    backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); flex-shrink: 0;
}
.ro-sheet-title { display: flex; flex-direction: column; font-size: 16px; font-weight: 500; line-height: 1.25; }
.ro-sheet-kicker { font-size: 10px; letter-spacing: .2em; text-transform: uppercase; color: rgba(0, 217, 192, 0.8); margin-bottom: 2px; }
.ro-sheet-x {
    width: 36px; height: 36px; flex-shrink: 0; border-radius: 50%;
    border: 1px solid var(--ro-line); background: var(--ro-soft); color: rgba(255, 255, 255, 0.75); font-size: 14px; cursor: pointer;
}
.ro-sheet-body {
    flex: 1; overflow-y: auto; -webkit-overflow-scrolling: touch; overscroll-behavior: contain;
    padding: 16px 16px max(20px, env(safe-area-inset-bottom));
    font-size: 14px;
}
.ro-sheet-body > * { max-width: 560px; margin-left: auto; margin-right: auto; }
/* Forms built for the panels, made compact inside the sheet */
.ro-sheet-body form,
.ro-sheet-body .glass { padding: 0 !important; background: none !important; border: 0 !important; backdrop-filter: none !important; box-shadow: none !important; max-width: 560px; gap: 10px !important; }
.ro-sheet-body input,
.ro-sheet-body textarea { font-size: 16px !important; padding: 11px 14px !important; } /* 16px: iOS does not zoom */
.ro-sheet-body > div.h-full { height: auto !important; min-height: 0 !important; padding: 0 !important; background: none !important; overflow: visible !important; display: block !important; }
.ro-sheet-body .font-display.text-xl,
.ro-sheet-body .font-display.text-2xl { font-size: 20px !important; }

/* ---------- Launcher card (phone panels) ---------- */
.ro-launch {
    border: 1px solid var(--ro-line); background: rgba(10, 12, 16, 0.75); border-radius: 18px; padding: 14px 16px;
    backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
    display: flex; flex-direction: column; align-items: flex-start; gap: 6px; max-width: 460px;
}
.ro-launch-inline { margin-top: 2px; }
.ro-launch-kicker { font-size: 10px; letter-spacing: .18em; text-transform: uppercase; color: rgba(0, 217, 192, 0.85); }
.ro-launch-title { font-family: 'RoDigits', 'Cormorant Garamond', serif; font-size: 21px; line-height: 1.2; color: #fff; }
.ro-launch-copy { font-size: 12.5px; line-height: 1.55; color: var(--ro-mute); margin: 0 0 4px; }
.ro-launch .ro-btn { margin-top: 4px; }

/* ---------- Wellness assessment ---------- */
.ro-wa { display: flex; flex-direction: column; min-height: calc(100dvh - 120px); }
.ro-wa-progress { display: flex; align-items: center; gap: 10px; margin-bottom: 18px; }
.ro-wa-bar { position: relative; flex: 1; height: 4px; border-radius: 4px; background: rgba(255, 255, 255, 0.08); overflow: hidden; }
.ro-wa-bar i { position: absolute; inset: 0; transform-origin: 0 50%; transform: scaleX(0); background: linear-gradient(90deg, var(--ro-teal), var(--ro-blue)); transition: transform .35s ease; }
.ro-wa-count { font-size: 12px; color: var(--ro-mute); min-width: 52px; text-align: right; }
.ro-wa-stage { flex: 1; }
.ro-wa-q { animation: roQIn .3s ease; }
.ro-wa-q.from-left { animation-name: roQInL; }
@keyframes roQIn { from { opacity: 0; transform: translateX(18px); } }
@keyframes roQInL { from { opacity: 0; transform: translateX(-18px); } }
.ro-wa-sec {
    display: inline-flex; align-items: center; gap: 7px; font-size: 11px; letter-spacing: .08em; text-transform: uppercase;
    color: var(--c, var(--ro-teal)); padding: 5px 10px; border-radius: 999px; border: 1px solid currentColor; margin-bottom: 14px; opacity: .9;
}
.ro-wa-sec i { width: 6px; height: 6px; border-radius: 50%; background: currentColor; box-shadow: 0 0 10px currentColor; }
.ro-wa-text { font-family: 'RoDigits', 'Cormorant Garamond', serif; font-size: 23px; line-height: 1.25; color: #fff; margin: 0 0 18px; }
.ro-wa-scale { display: flex; flex-direction: column; gap: 8px; }
.ro-scale-btn {
    display: flex; align-items: center; gap: 12px; width: 100%; min-height: 46px; padding: 10px 14px;
    border-radius: 14px; border: 1px solid var(--ro-line); background: var(--ro-soft); color: rgba(255, 255, 255, 0.85);
    font-size: 14.5px; text-align: left; cursor: pointer; transition: border-color .15s, background .15s;
}
.ro-scale-btn:hover { border-color: rgba(0, 217, 192, 0.45); }
.ro-scale-dot { width: 16px; height: 16px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, 0.3); flex-shrink: 0; transition: all .15s; }
.ro-scale-btn.is-on { border-color: var(--ro-teal); background: rgba(0, 217, 192, 0.1); color: #fff; }
.ro-scale-btn.is-on .ro-scale-dot { border-color: var(--ro-teal); background: var(--ro-teal); box-shadow: 0 0 0 3px rgba(0, 217, 192, 0.2); }
.ro-wa-chips { display: flex; flex-wrap: wrap; gap: 7px; }
.ro-chip {
    padding: 8px 12px; border-radius: 999px; border: 1px solid var(--ro-line); background: var(--ro-soft);
    color: rgba(255, 255, 255, 0.78); font-size: 13px; cursor: pointer; transition: all .15s;
}
.ro-chip.is-on { border-color: var(--ro-gold); background: rgba(212, 175, 55, 0.15); color: var(--ro-gold-l); }
.ro-wa-nav { display: flex; justify-content: space-between; gap: 10px; padding-top: 18px; margin-top: 18px; border-top: 1px solid var(--ro-line); }
.ro-wa-nav .ro-btn { min-width: 110px; }

/* In the desktop panel the launcher sits under Rosetta's line */
@media (min-width: 1024px) {
    .ro-wa { min-height: 0; }
}

/* ---------- Results ---------- */
.ro-wr {
    height: 100%; width: 100%; overflow-y: auto; padding: 22px 18px;
    background: radial-gradient(circle at 20% 0%, rgba(0, 217, 192, 0.14), transparent 50%), radial-gradient(circle at 100% 100%, rgba(46, 134, 222, 0.16), transparent 55%), #050505;
}
.ro-wr-head { display: flex; align-items: center; gap: 18px; margin-bottom: 18px; }
.ro-wr-dial { position: relative; width: 120px; height: 120px; flex-shrink: 0; }
.ro-wr-ring { width: 100%; height: 100%; }
.ro-wr-center { position: absolute; inset: 0; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; align-content: center; text-align: center; }
.ro-wr-num { font-family: 'RoDigits', serif; font-size: 36px; font-weight: 600; color: #fff; line-height: 1; }
.ro-wr-pct { font-family: 'RoDigits', serif; font-size: 18px; color: var(--ro-teal); margin-left: 2px; }
.ro-wr-center small { width: 100%; font-size: 9px; letter-spacing: .14em; text-transform: uppercase; color: var(--ro-mute); margin-top: 4px; }
.ro-wr-kicker { font-size: 10px; letter-spacing: .2em; text-transform: uppercase; color: var(--ro-gold); margin-bottom: 4px; }
.ro-wr-planname { font-family: 'Cormorant Garamond', serif; font-size: 25px; color: #fff; line-height: 1.1; }
.ro-wr-price { font-family: 'RoDigits', sans-serif; font-size: 15px; color: var(--ro-gold-l); margin-top: 4px; }
.ro-wr-bars { display: grid; gap: 10px; }
.ro-wr-label { display: flex; justify-content: space-between; font-size: 12.5px; color: rgba(255, 255, 255, 0.78); margin-bottom: 5px; }
.ro-wr-label b { font-family: 'RoDigits', sans-serif; font-weight: 600; color: #fff; }
.ro-wr-track { height: 6px; border-radius: 6px; background: rgba(255, 255, 255, 0.07); overflow: hidden; }
.ro-wr-track i { display: block; height: 100%; border-radius: 6px; transform-origin: 0 50%; transform: scaleX(0); transition: transform 1s cubic-bezier(.2, .8, .2, 1); }
@media (min-width: 1024px) {
    .ro-wr { padding: 48px; display: flex; flex-direction: column; justify-content: center; }
    .ro-wr-dial { width: 170px; height: 170px; }
    .ro-wr-num { font-size: 52px; }
    .ro-wr-planname { font-size: 34px; }
    .ro-wr-bars { max-width: 560px; gap: 14px; }
}

/* ---------- "Meet Cesar in 3… 2… 1" ---------- */
.ro-count {
    position: absolute; inset: 0; z-index: 20; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px;
    background: radial-gradient(circle at 50% 50%, rgba(5, 5, 5, 0.35), rgba(5, 5, 5, 0.82)); transition: opacity .45s ease;
}
.ro-count.is-out { opacity: 0; }
.ro-count-label { font-family: 'Cormorant Garamond', serif; font-style: italic; font-size: 22px; color: #fff; text-shadow: 0 2px 20px rgba(0, 0, 0, 0.6); }
.ro-count-dial { position: relative; width: 96px; height: 96px; display: flex; align-items: center; justify-content: center; }
.ro-count-ring {
    position: absolute; inset: 0; border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.12); border-top-color: var(--ro-gold); border-right-color: var(--ro-teal);
    animation: roSpin 1s linear infinite;
}
.ro-count-num { font-family: 'RoDigits', serif; font-size: 52px; font-weight: 600; color: #fff; line-height: 1; }
.ro-count-num.is-tick { animation: roTick .5s cubic-bezier(.2, .8, .2, 1); }
.ro-count-sub { font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--ro-mute); min-height: 14px; }
@keyframes roSpin { to { transform: rotate(360deg); } }
@keyframes roTick { from { transform: scale(1.6); opacity: 0; } }
@media (min-width: 768px) {
    .ro-count-label { font-size: 30px; }
    .ro-count-dial { width: 130px; height: 130px; }
    .ro-count-num { font-size: 72px; }
}

/* ---------- Booking: steps, calendar, slots ---------- */
.ro-step-label { font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: rgba(0, 217, 192, 0.8); margin: 4px 0 10px; }
.ro-seg { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 18px; }
.ro-seg-btn {
    display: flex; flex-direction: column; align-items: flex-start; gap: 3px; padding: 11px 12px; border-radius: 14px; cursor: pointer;
    border: 1px solid var(--ro-line); background: var(--ro-soft); color: #fff; text-align: left; transition: all .15s;
}
.ro-seg-title { font-size: 13.5px; font-weight: 500; }
.ro-seg-meta { font-size: 12px; color: var(--ro-mute); }
.ro-seg-btn.is-picked { border-color: var(--ro-gold); background: rgba(212, 175, 55, 0.12); box-shadow: 0 10px 30px rgba(212, 175, 55, 0.15); }
.ro-seg-btn.is-picked .ro-seg-meta { color: var(--ro-gold-l); }

.ro-cal { border: 1px solid var(--ro-line); border-radius: 18px; background: rgba(255, 255, 255, 0.03); padding: 12px 12px 10px; margin-bottom: 18px; }
.ro-cal-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.ro-cal-month { font-family: 'RoDigits', 'Cormorant Garamond', serif; font-size: 19px; color: #fff; }
.ro-cal-nav {
    width: 32px; height: 32px; border-radius: 50%; border: 1px solid var(--ro-line); background: var(--ro-soft);
    color: #fff; font-size: 18px; line-height: 1; cursor: pointer;
}
.ro-cal-nav:disabled { opacity: .25; cursor: default; }
.ro-cal-week, .ro-cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; }
.ro-cal-week span { text-align: center; font-size: 10.5px; letter-spacing: .06em; color: rgba(255, 255, 255, 0.4); padding: 4px 0; }
.ro-cal-cell {
    position: relative; aspect-ratio: 1 / 1; display: flex; flex-direction: column; align-items: center; justify-content: center;
    border-radius: 12px; border: 1px solid transparent; background: none; color: rgba(255, 255, 255, 0.22); font-size: 14px;
}
.ro-cal-cell b { font-family: 'RoDigits', sans-serif; font-weight: 500; }
.ro-cal-cell.is-pad { visibility: hidden; }
.ro-cal-cell.is-open { color: #fff; background: rgba(0, 217, 192, 0.07); border-color: rgba(0, 217, 192, 0.25); cursor: pointer; transition: all .15s; }
.ro-cal-cell.is-open:hover { border-color: var(--ro-teal); }
.ro-cal-cell.is-today { box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.35); }
.ro-cal-cell.is-picked { background: var(--ro-gold); border-color: var(--ro-gold); color: #111; box-shadow: 0 8px 22px rgba(212, 175, 55, 0.35); }
.ro-cal-dots { position: absolute; bottom: 3px; font-style: normal; font-size: 8px; letter-spacing: 1px; color: var(--ro-teal); line-height: 1; }
.ro-cal-cell.is-picked .ro-cal-dots { color: #111; }
.ro-cal-legend { display: flex; gap: 14px; justify-content: flex-end; margin-top: 8px; font-size: 10.5px; color: var(--ro-mute); }
.ro-cal-legend span::before { content: ''; display: inline-block; width: 8px; height: 8px; border-radius: 3px; margin-right: 5px; vertical-align: -1px; }
.ro-cal-legend .is-open::before { background: rgba(0, 217, 192, 0.35); }
.ro-cal-legend .is-picked::before { background: var(--ro-gold); }

.ro-slots { display: grid; gap: 12px; margin-bottom: 18px; }
.ro-slot-label { font-size: 11px; color: var(--ro-mute); margin-bottom: 6px; }
.ro-slot-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 7px; }
.ro-slot {
    min-height: 40px; border-radius: 12px; border: 1px solid var(--ro-line); background: var(--ro-soft);
    color: #fff; font-size: 13.5px; cursor: pointer; transition: all .15s;
}
.ro-slot:hover { border-color: rgba(212, 175, 55, 0.5); }
.ro-slot.is-picked { background: rgba(212, 175, 55, 0.16); border-color: var(--ro-gold); color: var(--ro-gold-l); }
.ro-fields { display: grid; gap: 8px; margin-bottom: 14px; }
.ro-fields input { font-size: 16px !important; }
.ro-confirm-bar { position: sticky; bottom: -1px; padding: 12px 0 2px; background: linear-gradient(to top, #07090d 70%, rgba(7, 9, 13, 0)); }
.bg-sanctuary-bg .ro-confirm-bar, .ro-confirm-bar { z-index: 2; }

/* ---------- Phones: compact Rosetta ---------- */
@media (max-width: 767px) {
    .ro-right { height: 36vh !important; }
    #rosettaPanel { padding: 12px 14px 16px !important; }
    #leftBody { gap: 12px !important; padding-top: 10px !important; padding-bottom: 10px !important; }
    .ro-line { font-size: 17px !important; line-height: 1.4 !important; }
    .ro-opt { padding: 9px 14px !important; font-size: 13.5px !important; }
}


/* ---------- Rosetta orb: 3D sphere, shifting gradients, living waves ---------- */
@property --ro-hue { syntax: '<angle>'; inherits: false; initial-value: 0deg; }
.ro-orb3d { position: relative; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.ro-sphere {
    position: relative; border-radius: 50%; overflow: hidden; z-index: 2;
    background: radial-gradient(circle at 50% 50%, #1b4f8f 0%, #0a1c33 70%);
    box-shadow: 0 0 42px 6px rgba(46, 134, 222, 0.45), 0 0 90px 18px rgba(0, 217, 192, 0.18);
    animation: roBreath 5s ease-in-out infinite;
}
.ro-sphere-swirl {
    position: absolute; inset: -30%; border-radius: 50%;
    background: conic-gradient(from var(--ro-hue), #2E86DE, #00D9C0, #7b6cff, #D4AF37, #4fd1ff, #2E86DE);
    filter: blur(10px) saturate(1.2);
    animation: roHue 9s linear infinite, roSpin 16s linear infinite reverse;
}
.ro-sphere-shade {
    position: absolute; inset: 0; border-radius: 50%;
    background: radial-gradient(circle at 34% 28%, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0) 38%, rgba(4, 12, 28, 0.55) 78%, rgba(2, 6, 16, 0.85) 100%);
    box-shadow: inset -8px -10px 18px rgba(0, 0, 0, 0.45), inset 6px 6px 14px rgba(255, 255, 255, 0.18);
}
.ro-sphere-gloss {
    position: absolute; left: 18%; top: 12%; width: 42%; height: 30%; border-radius: 50%;
    background: radial-gradient(ellipse at 50% 40%, rgba(255, 255, 255, 0.85), rgba(255, 255, 255, 0) 70%);
    filter: blur(1px); transform: rotate(-24deg);
}
.ro-orb-waves { position: absolute; inset: -6%; width: 112%; height: 112%; z-index: 1; overflow: visible; }
.ro-wave { fill: none; stroke-width: 0.9; stroke-linejoin: round; }
.ro-wave-a { stroke: rgba(0, 217, 192, 0.75); filter: drop-shadow(0 0 2px rgba(0, 217, 192, 0.8)); }
.ro-wave-b { stroke: rgba(127, 175, 255, 0.55); }
.ro-orb3d.is-speaking .ro-wave-a { stroke: rgba(0, 217, 192, 0.95); }
.ro-ripple {
    position: absolute; inset: 14%; border-radius: 50%; border: 1px solid rgba(74, 159, 245, 0.45);
    animation: roRipple 2.4s ease-out infinite; z-index: 0;
}
.ro-orb3d.is-speaking .ro-ripple { animation-duration: 1.3s; border-color: rgba(0, 217, 192, 0.6); }
.ro-orb3d.is-speaking .ro-sphere { animation-duration: 1.6s; }
@keyframes roHue { to { --ro-hue: 360deg; } }
@keyframes roBreath { 50% { transform: scale(1.05); filter: brightness(1.12); } }
@keyframes roRipple { from { transform: scale(0.8); opacity: 0.9; } to { transform: scale(1.45); opacity: 0; } }
@supports not (background: conic-gradient(red, blue)) { .ro-sphere-swirl { background: radial-gradient(circle at 35% 30%, #7fd8ff, #2E86DE 45%, #00D9C0 80%); } }
@media (prefers-reduced-motion: reduce) { .ro-sphere, .ro-sphere-swirl, .ro-ripple { animation: none; } }

/* Phones: no voice, so no Voice toggle; lines appear instantly */
@media (max-width: 1023px) { #btnVoice { display: none !important; } }
.ro-line-instant { animation: roLineIn .35s ease both; margin: 0 0 6px; }
@keyframes roLineIn { from { opacity: 0; transform: translateY(6px); } }

/* ======================================================================
   Booking wizard — one screen per step, nothing below the fold.
   ====================================================================== */
.ro-bk {
    position: relative; display: flex; flex-direction: column; gap: 12px; width: 100%; height: 100%; max-width: 520px; margin: 0 auto;
    padding: 18px 18px 14px; font-family: 'RoDigits', Manrope, Poppins, sans-serif; color: #fff;
}
.ro-sheet-body:has(> .ro-bk) { padding: 0 !important; overflow: hidden; }
.ro-sheet-body > .ro-bk { max-width: 560px; height: 100%; }
.ro-bk-head { display: flex; align-items: center; gap: 10px; }
.ro-bk-head img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 2px #05080d, 0 0 0 3.5px rgba(0, 217, 192, .7); }
.ro-bk-who { display: flex; flex-direction: column; line-height: 1.2; min-width: 0; flex: 1; }
.ro-bk-who b { font-size: 14px; font-weight: 700; }
.ro-bk-who small { font-size: 11.5px; color: rgba(255, 255, 255, .5); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ro-bk-secure { font-size: 10.5px; font-weight: 600; letter-spacing: .04em; color: rgba(255, 255, 255, .6); padding: 5px 10px; border-radius: 999px; background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .08); }

/* progress */
.ro-bk-steps { --p: 0; position: relative; display: flex; justify-content: space-between; padding: 0 2px; }
.ro-bk-steps::before, .ro-bk-steps::after { content: ''; position: absolute; left: 14px; right: 14px; top: 11px; height: 2px; border-radius: 2px; background: rgba(255, 255, 255, .08); }
.ro-bk-steps::after { right: auto; width: calc((100% - 28px) * var(--p)); background: linear-gradient(90deg, #2E86DE, #00D9C0); transition: width .45s cubic-bezier(.2, .8, .2, 1); }
.ro-bk-step { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; gap: 4px; }
.ro-bk-step span { width: 24px; height: 24px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 11px; font-weight: 700;
    background: #0b1018; border: 1.5px solid rgba(255, 255, 255, .16); color: rgba(255, 255, 255, .5); transition: all .3s; }
.ro-bk-step em { font-style: normal; font-size: 10px; letter-spacing: .04em; color: rgba(255, 255, 255, .4); }
.ro-bk-step.is-done span { background: linear-gradient(135deg, #2E86DE, #00D9C0); border-color: transparent; color: #fff; }
.ro-bk-step.is-on span { border-color: #00D9C0; color: #fff; box-shadow: 0 0 0 4px rgba(0, 217, 192, .16); }
.ro-bk-step.is-on em { color: #fff; font-weight: 600; }

/* stage */
.ro-bk-stage { position: relative; flex: 1; min-height: 0; overflow: hidden; }
.ro-bk-pane { position: absolute; inset: 0; overflow-y: auto; scrollbar-width: none; padding: 2px 2px 6px; display: flex; flex-direction: column; gap: 12px; animation: roPaneR .38s cubic-bezier(.2, .8, .2, 1); }
.ro-bk-pane::-webkit-scrollbar { display: none; }
.ro-bk-pane.from-l { animation-name: roPaneL; }
@keyframes roPaneR { from { opacity: 0; transform: translateX(28px); } }
@keyframes roPaneL { from { opacity: 0; transform: translateX(-28px); } }
.ro-bk-title h3 { margin: 0; font: 500 22px/1.15 'Cormorant Garamond', serif; color: #fff; }
.ro-bk-title p { margin: 4px 0 0; font-size: 12.5px; line-height: 1.45; color: rgba(255, 255, 255, .55); }
.ro-bk-loading { margin: auto; display: flex; flex-direction: column; align-items: center; gap: 12px; font-size: 13px; color: rgba(255, 255, 255, .55); }
.ro-bk-spin { width: 34px; height: 34px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .1); border-top-color: #00D9C0; border-right-color: #2E86DE; animation: roSpin .9s linear infinite; }

/* step 1: session */
.ro-bk-opts { display: grid; gap: 10px; }
.ro-bk-opt { display: grid; grid-template-columns: 40px 1fr auto 20px; align-items: center; gap: 12px; padding: 14px; border-radius: 16px; text-align: left; cursor: pointer;
    color: #fff; background: rgba(255, 255, 255, .035); border: 1px solid rgba(255, 255, 255, .09); transition: border-color .2s, background .2s; }
.ro-bk-opt:hover { border-color: rgba(0, 217, 192, .45); }
.ro-bk-opt.is-on { border-color: #00D9C0; background: linear-gradient(135deg, rgba(46, 134, 222, .16), rgba(0, 217, 192, .08)); }
.ro-bk-opt-ico { width: 40px; height: 40px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 17px; background: rgba(46, 134, 222, .18); border: 1px solid rgba(46, 134, 222, .35); color: #9cd0ff; }
.ro-bk-opt-txt { display: flex; flex-direction: column; gap: 2px; }
.ro-bk-opt-txt b { font-size: 14.5px; }
.ro-bk-opt-txt small { font-size: 11.5px; color: rgba(255, 255, 255, .55); }
.ro-bk-opt-price { font: 600 18px/1 'RoDigits', 'Cormorant Garamond', serif; color: #F4E4BC; }
.ro-bk-radio { width: 18px; height: 18px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .3); }
.ro-bk-opt.is-on .ro-bk-radio { border-color: #00D9C0; background: radial-gradient(circle, #00D9C0 45%, transparent 50%); }

/* step 2: calendar */
.ro-mc { width: 100%; max-width: 320px; margin: 0 auto; padding: 12px 12px 10px; border-radius: 20px;
    background: linear-gradient(180deg, rgba(255, 255, 255, .06), rgba(255, 255, 255, .02)); border: 1px solid rgba(255, 255, 255, .09);
    box-shadow: 0 24px 60px rgba(0, 0, 0, .35), inset 0 1px 0 rgba(255, 255, 255, .06); }
.ro-mc-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.ro-mc-head b { font: 600 16px/1 'RoDigits', 'Cormorant Garamond', serif; letter-spacing: .02em; }
.ro-mc-nav { width: 28px; height: 28px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .12); background: rgba(255, 255, 255, .04); color: #fff; font-size: 16px; line-height: 1; cursor: pointer; }
.ro-mc-nav:disabled { opacity: .25; cursor: default; }
.ro-mc-week, .ro-mc-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 3px; }
.ro-mc-week span { text-align: center; font-size: 10px; font-weight: 700; letter-spacing: .08em; color: rgba(255, 255, 255, .35); padding: 2px 0 4px; }
.ro-mc-d { position: relative; aspect-ratio: 1 / 1; max-height: 38px; display: flex; align-items: center; justify-content: center; border-radius: 50%;
    font-size: 13px; font-weight: 600; color: rgba(255, 255, 255, .22); background: none; border: 0; }
.ro-mc-d.is-pad { visibility: hidden; }
.ro-mc-d.is-open { color: #fff; cursor: pointer; background: rgba(0, 217, 192, .08); transition: background .2s, transform .15s; }
.ro-mc-d.is-open:hover { background: rgba(0, 217, 192, .2); transform: scale(1.06); }
.ro-mc-d.is-open i { position: absolute; bottom: 3px; width: 4px; height: 4px; border-radius: 50%; background: #00D9C0; }
.ro-mc-d.is-today { box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .35); }
.ro-mc-d.is-on { color: #fff; background: linear-gradient(135deg, #2E86DE, #00b9a5) !important; box-shadow: 0 8px 22px rgba(46, 134, 222, .45); }
.ro-mc-d.is-on i { background: #fff; }
.ro-bk-chip { align-self: center; padding: 7px 14px; border-radius: 999px; font-size: 12px; font-weight: 600; color: #F4E4BC; cursor: pointer;
    background: rgba(212, 175, 55, .1); border: 1px solid rgba(212, 175, 55, .35); }

/* step 3: time */
.ro-bk-slots { display: grid; gap: 12px; }
.ro-bk-group small { display: block; font-size: 10.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: rgba(255, 255, 255, .45); margin-bottom: 6px; }
.ro-bk-times { display: grid; grid-template-columns: repeat(3, 1fr); gap: 7px; }
.ro-bk-time { height: 40px; border-radius: 12px; font-size: 13.5px; font-weight: 600; color: #fff; cursor: pointer; background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .1); transition: all .2s; }
.ro-bk-time:hover { border-color: rgba(0, 217, 192, .5); }
.ro-bk-time.is-on { background: linear-gradient(135deg, #2E86DE, #00b9a5); border-color: transparent; box-shadow: 0 8px 20px rgba(46, 134, 222, .35); }
.ro-bk-note { margin: auto 0 0; text-align: center; font-size: 11px; color: rgba(255, 255, 255, .4); }

/* step 4: details */
.ro-bk-fields { display: grid; gap: 9px; }
.ro-in { width: 100%; height: 48px; padding: 0 14px; border-radius: 13px; font-size: 16px; color: #fff; background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .12); outline: none; transition: border-color .2s, background .2s; }
.ro-in::placeholder { color: rgba(255, 255, 255, .35); }
.ro-in:focus { border-color: #00D9C0; background: rgba(0, 217, 192, .05); }

/* step 5: review */
.ro-bk-review { border-radius: 18px; padding: 6px 14px; background: rgba(255, 255, 255, .035); border: 1px solid rgba(255, 255, 255, .09); }
.ro-bk-row, .ro-bk-total { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; font-size: 13px; }
.ro-bk-row + .ro-bk-row { border-top: 1px solid rgba(255, 255, 255, .06); }
.ro-bk-row span { color: rgba(255, 255, 255, .5); }
.ro-bk-row b { font-weight: 600; text-align: right; overflow-wrap: anywhere; }
.ro-bk-total { margin-top: 2px; padding-top: 12px; border-top: 1px dashed rgba(255, 255, 255, .15); font-size: 14px; }
.ro-bk-total b { font: 700 22px/1 'RoDigits', 'Cormorant Garamond', serif; color: #F4E4BC; }

/* nav */
.ro-bk-nav { display: grid; grid-template-columns: auto 1fr; gap: 10px; padding-top: 4px; }
.ro-bk-back { height: 48px; padding: 0 16px; border-radius: 14px; font-size: 13.5px; font-weight: 600; color: rgba(255, 255, 255, .75); background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .1); cursor: pointer; }
.ro-bk-next { height: 48px; border-radius: 14px; border: 0; font-size: 14.5px; font-weight: 700; color: #fff; cursor: pointer;
    background: linear-gradient(135deg, #2E86DE, #1b6cc0 60%, #00b9a5); box-shadow: 0 14px 30px rgba(46, 134, 222, .35); transition: opacity .2s; }
.ro-bk-next:disabled { opacity: .35; cursor: not-allowed; box-shadow: none; }
.ro-bk-next.is-pay { color: #1b1404; background: linear-gradient(135deg, #F4D77A, #D4AF37 55%, #b8902a); box-shadow: 0 14px 30px rgba(212, 175, 55, .35); }
@media (min-width: 1024px) { .ro-bk { padding: 32px 28px 24px; } }

/* ======================================================================
   Rosetta sphere: a live ocean — deep blues, cloud-white swirls, glint
   ====================================================================== */
.ro-sphere { background: radial-gradient(circle at 50% 55%, #1d6fd6 0%, #0b3f8f 60%, #041a3f 100%) !important;
    box-shadow: 0 0 46px 8px rgba(46, 134, 222, .5), 0 0 100px 22px rgba(30, 120, 220, .2) !important; }
.ro-sphere-swirl {
    inset: -35% !important; filter: blur(6px) !important;
    background:
        radial-gradient(40% 26% at 30% 38%, rgba(255, 255, 255, .95), rgba(255, 255, 255, 0) 70%),
        radial-gradient(34% 22% at 68% 62%, rgba(214, 238, 255, .85), rgba(214, 238, 255, 0) 70%),
        radial-gradient(50% 36% at 55% 30%, rgba(120, 190, 255, .9), rgba(120, 190, 255, 0) 70%),
        conic-gradient(from var(--ro-hue), #0e5fc4, #3aa0ff, #bfe3ff, #2f86e6, #0a4aa8, #5cb6ff, #0e5fc4) !important;
    animation: roHue 12s linear infinite, roDrift 7s ease-in-out infinite alternate !important;
}
@keyframes roDrift { from { transform: rotate(0deg) translate(-4%, 2%) scale(1); } to { transform: rotate(160deg) translate(4%, -3%) scale(1.08); } }
.ro-sphere-shade { background: radial-gradient(circle at 32% 26%, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0) 40%, rgba(2, 18, 48, .45) 78%, rgba(1, 10, 30, .78) 100%) !important;
    box-shadow: inset -8px -10px 18px rgba(0, 10, 40, .5), inset 6px 6px 14px rgba(200, 230, 255, .25) !important; }
.ro-sphere-gloss { background: radial-gradient(ellipse at 50% 40%, rgba(255, 255, 255, .95), rgba(255, 255, 255, 0) 70%) !important; }

/* ======================================================================
   Rosetta — phone pass 3 (from the owner's screenshots)
   ====================================================================== */
.ro-home-chip { display: none; }
.ro-field { position: relative; display: block; }
.ro-field > i { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); font-size: 18px; color: #6fd8ff; pointer-events: none; }
.ro-field > .ro-in, .ro-sheet-body .ro-field > .ro-in { padding-left: 44px !important; }

/* compact bottom sheet (short forms) */
.ro-sheet-scrim { position: fixed; inset: 0; z-index: 249; background: rgba(2, 5, 10, .62); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); animation: roFadeIn .25s ease; }
.ro-sheet-scrim.is-leaving { opacity: 0; transition: opacity .25s; }
@keyframes roFadeIn { from { opacity: 0; } }
/* compact dialog (short forms): a centred card over the blurred conversation */
.ro-sheet.is-compact { inset: auto !important; top: 50% !important; left: 50% !important; transform: translate(-50%, -50%); width: min(380px, calc(100vw - 32px));
    height: auto !important; max-height: calc(100dvh - 48px); border-radius: 26px; overflow: hidden;
    background: radial-gradient(120% 80% at 50% 0%, rgba(46, 134, 222, .22), rgba(0, 0, 0, 0) 60%), linear-gradient(180deg, #0d1422, #070a12);
    border: 1px solid rgba(127, 190, 255, .16); box-shadow: 0 40px 90px rgba(0, 0, 0, .65), 0 0 0 1px rgba(0, 217, 192, .06) inset;
    animation: roDialogIn .42s cubic-bezier(.16, 1.2, .3, 1); }
.ro-sheet.is-compact.is-leaving { animation: roDialogOut .24s ease forwards; }
@keyframes roDialogIn { from { transform: translate(-50%, -46%) scale(.96); opacity: 0; } }
@keyframes roDialogOut { to { transform: translate(-50%, -48%) scale(.97); opacity: 0; } }
.ro-sheet.is-compact .ro-sheet-head { border-bottom: 0; background: transparent; padding: 22px 20px 4px; align-items: flex-start; backdrop-filter: none; -webkit-backdrop-filter: none; }
.ro-sheet.is-compact .ro-sheet-title { font-family: 'Cormorant Garamond', Georgia, serif; font-size: 26px; font-weight: 500; line-height: 1.1; }
.ro-sheet.is-compact .ro-sheet-kicker { font-family: Poppins, sans-serif; font-size: 9.5px; letter-spacing: .24em; margin-bottom: 6px; }
.ro-sheet.is-compact .ro-sheet-x { width: 34px; height: 34px; font-size: 12px; }
.ro-sheet.is-compact .ro-sheet-body { flex: none; padding: 6px 20px 22px; overflow-y: auto; }

/* identity form (inline on desktop, in the dialog on phones) */
.ro-id { display: flex; flex-direction: column; gap: 12px; width: 100%; max-width: 420px; }
.ro-id-lead { display: flex; gap: 8px; align-items: flex-start; margin: 0 0 2px; font-size: 13px; line-height: 1.5; color: rgba(255, 255, 255, .62); }
.ro-id-lead i { color: #00D9C0; font-size: 16px; margin-top: 1px; }
.ro-id-row { display: grid; grid-template-columns: minmax(0, 1fr) 96px; gap: 8px; }
.ro-id-field { position: relative; display: block; min-width: 0; }
.ro-id-field > i { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); font-size: 18px; color: #6fd8ff; pointer-events: none; }
.ro-id-in, .ro-sheet-body .ro-id-in { width: 100%; min-width: 0; height: 50px; box-sizing: border-box; padding: 0 12px 0 42px !important; border-radius: 14px !important;
    background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .12); color: #fff; font: 500 16px Poppins, system-ui, sans-serif !important; outline: none;
    transition: border-color .2s, background .2s, box-shadow .2s; }
.ro-id-in::placeholder { color: rgba(255, 255, 255, .35); font-weight: 400; }
.ro-id-in:focus { border-color: rgba(0, 217, 192, .6); background: rgba(0, 217, 192, .06); box-shadow: 0 0 0 4px rgba(0, 217, 192, .12); }
.ro-id-age .ro-id-in, .ro-sheet-body .ro-id-age .ro-id-in { padding-left: 38px !important; }
.ro-id-age > i { left: 12px; }
.ro-id-label { margin-top: 4px; font-size: 10.5px; letter-spacing: .18em; text-transform: uppercase; color: rgba(255, 255, 255, .45); font-weight: 600; }
.ro-id-chips { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.ro-id-chip { display: flex; align-items: center; justify-content: center; gap: 7px; min-height: 44px; padding: 8px 10px; border-radius: 13px; cursor: pointer;
    background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .1); color: rgba(255, 255, 255, .72); font: 500 13px Poppins, system-ui, sans-serif;
    transition: border-color .2s, background .2s, color .2s, transform .15s; }
.ro-id-chip i { font-size: 17px; color: rgba(111, 216, 255, .85); }
.ro-id-chip:active { transform: scale(.97); }
.ro-id-chip.is-on { background: rgba(0, 217, 192, .13); border-color: rgba(0, 217, 192, .7); color: #fff; box-shadow: 0 0 0 3px rgba(0, 217, 192, .1); }
.ro-id-chip.is-on i { color: #00D9C0; }
.ro-id-go { margin-top: 6px; display: flex; align-items: center; justify-content: center; gap: 10px; height: 52px; border: 0; border-radius: 16px; cursor: pointer;
    background: linear-gradient(135deg, #2E86DE, #00B8A9); color: #fff; font: 600 15px Poppins, system-ui, sans-serif; letter-spacing: .01em;
    box-shadow: 0 14px 30px -12px rgba(0, 184, 169, .8); transition: opacity .2s, transform .15s, filter .2s; }
.ro-id-go i { font-size: 18px; transition: transform .2s; }
.ro-id-go:hover:not(:disabled) i { transform: translateX(3px); }
.ro-id-go:active:not(:disabled) { transform: scale(.98); }
.ro-id-go:disabled { opacity: .35; filter: grayscale(.4); cursor: not-allowed; box-shadow: none; }

@media (max-width: 767px) {
    /* the floating "Main site" pill is replaced by one inside Rosetta's header */
    .ro-home { display: none !important; }
    .ro-logo { display: none; }
    .ro-home-chip { display: inline-flex; align-items: center; height: 30px; padding: 0 12px; border-radius: 999px; font-size: 12px; font-weight: 600; color: #fff;
        background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .16); }
    #rosettaPanel .flex.items-center.gap-2 > button { padding: 6px 10px !important; font-size: 10.5px !important; }

    /* Rosetta's line and her options: compact chips that wrap, not full-width bars */
    #leftBody { gap: 10px !important; }
    .ro-line, .ro-line-instant { font-size: 16.5px !important; line-height: 1.45 !important; }
    #leftBody div:has(> .ro-opt) { flex-direction: row !important; flex-wrap: wrap !important; justify-content: center !important; gap: 8px !important; }
    #leftBody .ro-opt { width: auto !important; display: inline-flex; align-items: center; min-height: 38px; padding: 8px 14px !important; font-size: 13px !important; line-height: 1.25 !important; border-radius: 999px !important; }
    #leftBody .ro-launch-inline { padding: 12px 14px; }
    #leftBody .ro-launch-inline .ro-launch-title { font-size: 18px; }

    /* Results: everything fits the panel — small dial, plan, bars in two columns */
    .ro-wr { padding: 52px 14px 12px !important; }
    .ro-wr-head { gap: 12px !important; margin-bottom: 10px !important; }
    .ro-wr-dial { width: 78px !important; height: 78px !important; }
    .ro-wr-num { font-size: 24px !important; }
    .ro-wr-pct { font-size: 12px !important; }
    .ro-wr-center small { display: none; }
    .ro-wr-kicker { font-size: 9px !important; margin-bottom: 2px !important; }
    .ro-wr-planname { font-size: 20px !important; }
    .ro-wr-price { font-size: 13px !important; margin-top: 2px !important; }
    .ro-wr-bars { grid-template-columns: 1fr 1fr; gap: 6px 12px !important; }
    .ro-wr-label { font-size: 10.5px !important; margin-bottom: 3px !important; }
    .ro-wr-label span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 120px; }
    .ro-wr-track { height: 4px !important; }

    /* Booking launcher in the panel: pinned to the bottom, clear of everything */
    .ro-launch { padding: 12px 14px; border-radius: 16px; }
    .ro-launch-title { font-size: 18px; }
    .ro-launch .ro-btn { min-height: 40px; padding: 8px 16px; font-size: 13px; }

    /* Booking steps: tighter fields */
    .ro-bk { gap: 10px; padding: 14px 16px 12px; }
    .ro-bk-title h3 { font-size: 20px; }
    .ro-in { height: 46px; border-radius: 12px; font-size: 15.5px; }
    .ro-bk-next, .ro-bk-back { height: 46px; }
}

/* identity form inline in the panel (desktop) */
#leftBody .ro-id { padding: 20px; border-radius: 22px; background: rgba(255, 255, 255, .035); border: 1px solid rgba(255, 255, 255, .09); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
