/* ================================================================
   MintRV Towbar v8.2.7
   
   Changes in v8.2.7:
   - "actually fits" now gold (#d4a843) per CTA accent discipline
   - manufacturer/make_name persisted into cookie via updateRvCookie()
   - Fixes title reverting to full name after page navigation (click Go)
   - enrichRvManufacturer also updates cookie after enrichment

   Changes in v8.2.6:
   - Fixed manufacturer count suffix "(105)" not stripped from dropdown text
   - Now captures make_name (brand) from brand dropdown for shorter titles
   - Year extracted from title as fallback when not a separate field
   - Clears _rvMakeName on RV clear

   Changes in v8.2.5:
   - Step tags: removed gold, now subtle white (rgba 0.08/0.55)
   - Step hover: gold border (rgba 212,168,67,0.5) per CTA discipline
   - Fixed overlap: slots now flex-shrink:1, gap 4px→6px
   - Done chip max-width: 230px→260px, text 200px→230px for bigger fonts
   - RV title: prefers year+make_name+trim over manufacturer stripping
   - Enrichment now grabs make_name, trim, year for shorter display

   Changes in v8.2.4:
   - Full readability pass: bumped all towbar font sizes for older demographics
   - Steps: 7px→9px tags, 11px→13px titles, added bordered box treatment
   - Tour: 10px→12px, Badges: 10px→11px, Gear chip: 10px→12px
   - Done chips: label 7px→9px, title 12px→13px, specs 9.5px→11px
   - Go CTA: 12px→13px, MPG: 9px→11px, Garage: 10px→12px
   - Arrows: 8px→10px

   Changes in v8.2.3:
   - Go button changed from mint to gold (CTA accent discipline)

   Changes in v8.2.0:
   - Bigger font sizes on done chips (title 12px, specs 9.5px)
   - Removed manufacturer from vehicle & RV display titles
   - Added "Go" CTA button when both vehicle + RV selected
   - Fixed gear-action-btn hover color
   - Row height bumped for readability
   ================================================================ */

/* Base container */
.mintrv-towbar-v8 {
    background: #083c49;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    position: sticky;
    top: 0;
    z-index: 1050;
    font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
}
.mintrv-towbar-v8.not-sticky { position: relative; }
.towbar-hidden { display: none !important; }

/* ================================================================
   DESKTOP LAYOUT
   ================================================================ */
.tb-desktop { display: block; }
.tb-inner {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 20px;
    min-height: 54px;
    gap: 0;
}

/* --- LEFT: headline + badges stacked --- */
.tb-left {
    display: flex;
    flex-direction: column;
    justify-content: center;
    flex-shrink: 1;
    min-width: 0;
    padding: 5px 0;
    gap: 2px;
}
.tb-headline {
    font-family: 'Outfit', sans-serif;
    font-size: 13px;
    font-weight: 700;
    color: #c0dce3;
    white-space: nowrap;
    line-height: 1.2;
}
.tb-headline em { color: #d4a843; font-style: italic; }

.tb-badges {
    display: flex;
    align-items: center;
    gap: 10px;
}
.tb-badge {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    color: rgba(255,255,255,0.45);
    font-size: 11px;
    white-space: nowrap;
}
.tb-badge i { color: #4ade80; font-size: 9px; }

/* --- Watch Tour --- */
.tb-tour {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(33,185,167,0.1);
    border: 1px solid rgba(33,185,167,0.22);
    color: #21b9a7;
    font-size: 12px;
    font-weight: 700;
    padding: 5px 12px;
    border-radius: 5px;
    text-decoration: none;
    white-space: nowrap;
    flex-shrink: 0;
    margin-left: 10px;
    transition: all 0.15s;
}
.tb-tour:hover { background: rgba(33,185,167,0.18); color: #21b9a7; }
.tb-tour i { font-size: 8px; }

/* --- Vertical dividers --- */
.tb-vbar {
    width: 1px;
    align-self: stretch;
    margin: 8px 10px;
    background: rgba(255,255,255,0.1);
    flex-shrink: 0;
}

/* --- Steps area — fills middle, centers when empty, left-aligns when populated --- */
.tb-steps {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    flex: 1;
    min-width: 0;
}

/* Slot (wrapper for step or done chip) */
.tb-slot {
    display: flex;
    align-items: center;
    flex-shrink: 1;
    min-width: 0;
}

/* Step box */
.tb-step {
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 5px 12px;
    border-radius: 7px;
    cursor: pointer;
    transition: all 0.15s;
    white-space: nowrap;
    flex-shrink: 0;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
}
.tb-step:hover { background: rgba(212,168,67,0.06); border-color: rgba(212,168,67,0.5); }

/* Step tag */
.tb-stag {
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    padding: 2px 7px;
    border-radius: 3px;
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.tb-stag-yellow { background: rgba(255,255,255,0.08); color: rgba(255,255,255,0.55); }
.tb-stag-green { background: rgba(74,222,128,0.12); color: #4ade80; }
.tb-stag-green i { font-size: 9px; }

.tb-step-title {
    font-size: 13px;
    font-weight: 600;
    color: #c0dce3;
    display: flex;
    align-items: center;
    gap: 5px;
    white-space: nowrap;
}
.tb-step-title i { color: #21b9a7; font-size: 11px; }
.tb-step-sub { font-size: 11px; margin-top: 1px; white-space: nowrap; }
.tb-sub-yellow { color: #8ab8c8; }
.tb-sub-muted { color: #6a9aaa; }

/* PDP glow */
.tb-step-glow {
    border: 1px solid rgba(33,185,167,0.3);
    box-shadow: 0 0 8px rgba(33,185,167,0.15);
    background: rgba(33,185,167,0.04);
}

/* Arrow between steps */
.tb-arrow {
    color: rgba(33,185,167,0.18);
    font-size: 10px;
    flex-shrink: 0;
}

/* --- Done chip --- */
.tb-done {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 4px 10px;
    background: rgba(74,222,128,0.04);
    border: 1px solid rgba(74,222,128,0.14);
    border-radius: 5px;
    cursor: pointer;
    flex-shrink: 0;
    white-space: nowrap;
    transition: all 0.15s;
    max-width: 260px;
}
.tb-done:hover { background: rgba(74,222,128,0.08); }

.tb-done-check {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #4ade80;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.tb-done-check i { font-size: 8px; color: #083c49; }

.tb-done-info {
    line-height: 1.2;
    min-width: 0;
    overflow: hidden;
}
.tb-done-label {
    font-size: 9px;
    font-weight: 700;
    color: #6a9aaa;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}
.tb-done-text {
    font-size: 13px;
    font-weight: 600;
    color: #c0dce3;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 230px;
}
.tb-done-specs {
    font-size: 11px;
    color: #6a9aaa;
    white-space: nowrap;
    margin-top: 1px;
}
.tb-done-x {
    font-size: 9px;
    color: #6a9aaa;
    margin-left: 2px;
    opacity: 0;
    transition: opacity 0.15s;
    cursor: pointer;
    flex-shrink: 0;
}
.tb-done:hover .tb-done-x { opacity: 1; }

/* Gear done chip */
.tb-done-gear {
    border-color: rgba(33,185,167,0.18);
    background: rgba(33,185,167,0.03);
}
.tb-done-gear:hover { background: rgba(33,185,167,0.08); }

/* --- Gear chip (unfilled) --- */
.tb-gear-chip {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 3px 8px;
    background: rgba(33,185,167,0.06);
    border: 1px solid rgba(33,185,167,0.16);
    border-radius: 5px;
    color: #21b9a7;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
    flex-shrink: 0;
    transition: all 0.15s;
}
.tb-gear-chip:hover { background: rgba(33,185,167,0.12); }
.tb-gear-chip i { font-size: 10px; }

/* --- Calculate CTA button (shown when vehicle + RV selected) --- */
.tb-cta-calc {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 6px 14px;
    background: #d4a843;
    border: none;
    border-radius: 5px;
    color: #0a1f2e;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    white-space: nowrap;
    flex-shrink: 0;
    text-decoration: none;
    transition: all 0.15s;
}
.tb-cta-calc:hover { background: #c49a35; color: #0a1f2e; }
.tb-cta-calc i { font-size: 11px; }

/* --- Capacity bar --- */
.tb-cap {
    display: flex;
    align-items: center;
    gap: 5px;
    flex-shrink: 0;
    margin-left: 2px;
}
.tb-pct {
    font-family: 'Outfit', sans-serif;
    font-size: 14px;
    font-weight: 700;
    line-height: 1;
}
.tb-pct.green { color: #4ade80; }
.tb-pct.yellow { color: #fbbf24; }
.tb-pct.red { color: #ef4444; }

.tb-bar-wrap {
    width: 45px;
    height: 5px;
    background: rgba(255,255,255,0.06);
    border-radius: 3px;
    position: relative;
}
.tb-bar-fill {
    height: 100%;
    border-radius: 3px;
    transition: width 0.4s;
}
.tb-bar-fill.green { background: #4ade80; }
.tb-bar-fill.yellow { background: #fbbf24; }
.tb-bar-fill.red { background: #ef4444; }
.tb-bar-marker {
    position: absolute;
    left: 80%;
    top: -2px;
    bottom: -2px;
    width: 2px;
    background: #fbbf24;
    border-radius: 1px;
}

.tb-mpg {
    font-size: 11px;
    color: #6a9aaa;
    white-space: nowrap;
}
.tb-mpg strong { color: #8ab8c8; font-weight: 700; }

/* --- Garage button --- */
.tb-garage {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 5px 12px;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 5px;
    color: #8ab8c8;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
    flex-shrink: 0;
    transition: all 0.15s;
    position: relative;
}
.tb-garage:hover { background: rgba(255,255,255,0.08); }
.tb-garage.active { background: rgba(33,185,167,0.08); border-color: rgba(33,185,167,0.25); color: #21b9a7; }
.tb-garage-chev { font-size: 9px; margin-left: 1px; transition: transform 0.15s; }
.tb-garage.active .tb-garage-chev { transform: rotate(180deg); }

/* ================================================================
   DROPDOWNS
   ================================================================ */
.tb-dropdown {
    display: none;
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    max-width: 520px;
    min-width: 380px;
    background: #0a3440;
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 8px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.4);
    z-index: 1100;
    overflow: hidden;
}
.tb-dropdown.show { display: block; }

/* Garage dropdown — positioned by JS relative to garage button */
.tb-dropdown-garage {
    left: auto;
    right: 20px;
    transform: none;
    max-width: 420px;
    min-width: 340px;
}

/* Mobile inline dropdown — flows in document, no absolute */
.tb-dropdown.tb-mobile-inline {
    position: relative !important;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    transform: none !important;
    max-width: none !important;
    min-width: 0 !important;
    margin: 0 0 6px 0;
    border-radius: 0 0 8px 8px;
    border-top: none;
    box-shadow: none;
    border-color: rgba(255,255,255,0.08);
}

.dropdown-tabs {
    display: flex;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}
.dropdown-tab {
    flex: 1;
    padding: 10px 12px;
    background: none;
    border: none;
    color: rgba(255,255,255,0.42);
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    text-align: center;
    border-bottom: 2px solid transparent;
    transition: all 0.15s;
    font-family: inherit;
}
.dropdown-tab:hover { color: rgba(255,255,255,0.75); }
.dropdown-tab.active { color: #21b9a7; border-bottom-color: #21b9a7; }

.tab-content { max-height: 320px; overflow-y: auto; }
.tb-loading { color: rgba(255,255,255,0.5); text-align: center; padding: 1rem; font-size: 0.85rem; }

/* Enter form */
.enter-form { padding: 12px; display: flex; flex-direction: column; gap: 7px; }
.form-row { display: flex; gap: 6px; }
.form-row.full select { width: 100%; }
.enter-form select {
    flex: 1;
    padding: 9px 12px;
    border-radius: 5px;
    border: 1px solid rgba(255,255,255,0.12);
    background: rgba(255,255,255,0.06);
    color: #c0dce3;
    font-size: 13px;
    font-family: inherit;
    appearance: auto;
    min-width: 0;
}
.enter-form select:disabled { opacity: 0.4; }
.enter-form select:focus { outline: none; border-color: #21b9a7; }

.form-buttons { display: flex; gap: 8px; margin-top: 4px; }
.form-btn {
    flex: 1;
    padding: 9px 14px;
    border-radius: 5px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    border: 1px solid transparent;
    font-family: inherit;
    transition: all 0.15s;
    text-decoration: none;
    text-align: center;
}
.form-btn.primary { background: #21b9a7; color: #fff; }
.form-btn.primary:hover { background: #1aa394; }
.form-btn.secondary { background: rgba(255,255,255,0.06); color: #8ab8c8; border-color: rgba(255,255,255,0.1); }
.form-btn.secondary:hover { background: rgba(255,255,255,0.1); }

/* Dropdown items */
.dropdown-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    cursor: pointer;
    transition: background 0.1s;
    text-decoration: none;
    color: inherit;
}
.dropdown-item:hover { background: rgba(255,255,255,0.04); }
.item-info { min-width: 0; flex: 1; }
.item-title { font-size: 13px; color: #c0dce3; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.item-meta { font-size: 11px; color: #6a9aaa; }
.item-check { margin-left: auto; color: #4ade80; font-size: 11px; flex-shrink: 0; }
.item-status { margin-left: auto; font-size: 10px; font-weight: 700; flex-shrink: 0; }
.item-status.safe { color: #4ade80; }
.item-status.caution { color: #fbbf24; }
.item-status.over { color: #ef4444; }
.item-icon { color: #4a7a88; font-size: 12px; width: 20px; text-align: center; flex-shrink: 0; }
.item-add-btn {
    background: none; border: none; color: #21b9a7; font-size: 10px;
    cursor: pointer; padding: 4px 6px; border-radius: 4px;
    transition: background 0.15s; flex-shrink: 0;
}
.item-add-btn:hover { background: rgba(33,185,167,0.15); }

/* Garage tabs content */
.garage-list { max-height: 260px; overflow-y: auto; padding: 4px; }
.garage-add { padding: 6px 8px; border-top: 1px solid rgba(255,255,255,0.05); text-align: center; }
.garage-add a { color: #21b9a7; font-size: 11px; font-weight: 600; text-decoration: none; }
.garage-add a i { font-size: 9px; }
.garage-empty { text-align: center; padding: 16px 8px; color: #6a9aaa; font-size: 12px; }

/* Search link panel */
.tb-search-link-panel { padding: 20px 16px; text-align: center; }
.tb-search-link-icon {
    width: 40px; height: 40px; border-radius: 50%;
    background: rgba(33,185,167,0.1);
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 10px;
}
.tb-search-link-icon i { color: #21b9a7; font-size: 16px; }
.tb-search-link-panel p { color: #8ab8c8; font-size: 12px; line-height: 1.5; margin: 0 0 14px; }
.tb-search-link-btn {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 9px 20px; background: #21b9a7; color: #fff;
    border-radius: 5px; font-size: 13px; font-weight: 600; text-decoration: none;
    transition: background 0.15s;
}
.tb-search-link-btn:hover { background: #1aa394; color: #fff; }

/* Gear dropdown */
.gear-presets-list { max-height: 200px; overflow-y: auto; padding: 4px; }
.gear-empty { text-align: center; padding: 1.5rem 1rem; color: rgba(255,255,255,0.5); font-size: 12px; }
.gear-empty a { color: #21b9a7; }
.create-preset-link { color: #21b9a7; text-decoration: none; display: inline-flex; align-items: center; gap: 4px; margin-top: 6px; }
.gear-actions { padding: 16px; text-align: center; }
.gear-action-btn {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 10px 20px; background: rgba(33,185,167,0.1); color: #21b9a7;
    border-radius: 5px; font-size: 13px; font-weight: 600; text-decoration: none;
    border: 1px solid rgba(33,185,167,0.2);
    transition: all 0.15s;
}
.gear-action-btn:hover { background: rgba(33,185,167,0.18); color: #fff; }
.gear-actions-sub {
    color: #6a9aaa; font-size: 11px; margin: 10px 0 0; line-height: 1.4;
}

/* ================================================================
   TOAST
   ================================================================ */
.tb-toast {
    position: fixed; bottom: 20px; left: 50%; transform: translateX(-50%);
    background: #0a3440; color: #c0dce3; padding: 10px 20px;
    border-radius: 6px; font-size: 13px; font-weight: 600;
    border: 1px solid rgba(33,185,167,0.3);
    box-shadow: 0 4px 16px rgba(0,0,0,0.3);
    opacity: 0; pointer-events: none; transition: opacity 0.3s;
    z-index: 9999;
}
.tb-toast.show { opacity: 1; }

/* ================================================================
   MODALS
   ================================================================ */
.tb-modal {
    display: none; position: fixed; top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.6); z-index: 9998;
    align-items: center; justify-content: center;
}
.tb-modal.show { display: flex; }
.tb-modal-content {
    background: #0a3440; border-radius: 10px; max-width: 400px; width: 90%;
    border: 1px solid rgba(255,255,255,0.1);
}
.tb-modal-header {
    display: flex; justify-content: space-between; align-items: center;
    padding: 14px 18px; border-bottom: 1px solid rgba(255,255,255,0.08);
    color: #c0dce3; font-weight: 700; font-size: 14px;
}
.tb-modal-close {
    background: none; border: none; color: #6a9aaa; font-size: 20px; cursor: pointer;
}
.tb-modal-body { padding: 18px; }
.tb-modal-body p { color: #8ab8c8; font-size: 13px; margin-bottom: 14px; }
.tb-modal-label { color: #8ab8c8; font-size: 12px; font-weight: 600; display: block; margin-bottom: 6px; }
.tb-modal-input {
    width: 100%; padding: 8px 12px; border-radius: 5px;
    border: 1px solid rgba(255,255,255,0.15); background: rgba(255,255,255,0.06);
    color: #c0dce3; font-size: 13px; font-family: inherit; margin-bottom: 14px;
    box-sizing: border-box;
}
.tb-modal-btns { display: flex; gap: 8px; }

/* ================================================================
   RESPONSIVE — Desktop content scaling
   ================================================================ */

/* Wide screens: show full title */
@media (min-width: 1500px) {
    .tb-done-text { max-width: 240px; }
    .tb-done { max-width: 280px; }
}

/* Badges disappear first when tight */
@media (max-width: 1350px) {
    .tb-badges { display: none; }
    .tb-left { padding: 8px 0; }
}

/* Tour hides, headline shrinks */
@media (max-width: 1150px) {
    .tb-tour { display: none; }
    .tb-headline { font-size: 11px; }
    .tb-done-text { max-width: 150px; }
    .tb-done { max-width: 200px; }
    .tb-step-title { font-size: 11px; }
    .tb-stag { font-size: 8px; }
    .tb-vbar { margin: 8px 6px; }
    .tb-cta-calc { padding: 5px 10px; font-size: 12px; }
    .tb-garage { font-size: 11px; padding: 4px 10px; }
}

/* Tight: hide left section entirely, just show steps */
@media (max-width: 950px) {
    .tb-left { display: none; }
    .tb-vbar:first-of-type { display: none; }
    .tb-done-text { max-width: 120px; }
}

/* ================================================================
   MOBILE (≤768px)
   ================================================================ */
@media (max-width: 768px) {
    .tb-desktop { display: none; }
    .tb-mobile { display: block; }

    /* Non-inline dropdowns still get full width on mobile */
    .tb-dropdown:not(.tb-mobile-inline) {
        left: 8px !important;
        right: 8px !important;
        transform: none !important;
        max-width: none !important;
        min-width: 0 !important;
    }

    /* Mobile collapsed bar */
    .tb-m-collapsed {
        display: flex;
        align-items: center;
        padding: 8px 14px;
        gap: 10px;
        cursor: pointer;
        border: 2px solid #21b9a7;
        border-radius: 0 0 10px 10px;
        margin: 0 8px 8px;
        background: rgba(33,185,167,0.03);
    }

    /* Icons — clean layout, no overlap */
    .tb-m-icons {
        display: flex;
        align-items: center;
        gap: 4px;
        flex-shrink: 0;
    }
    .tb-m-icon-rv { color: #21b9a7; font-size: 14px; }
    .tb-m-icon-trk { color: #8ab8c8; font-size: 12px; }

    .tb-m-text { flex: 1; min-width: 0; }
    .tb-m-t1 { font-family: 'Outfit', sans-serif; font-size: 13px; font-weight: 700; color: #c0dce3; }
    .tb-m-t1 em { color: #21b9a7; font-style: italic; }
    .tb-m-t2 { font-size: 10px; color: #6a9aaa; }
    .tb-m-free {
        padding: 2px 7px; border-radius: 3px; font-size: 9px; font-weight: 700;
        color: #21b9a7; background: rgba(33,185,167,0.12); border: 1px solid rgba(33,185,167,0.25);
        flex-shrink: 0;
    }
    .tb-m-chevron { color: #21b9a7; font-size: 12px; flex-shrink: 0; }

    /* Mobile expanded */
    .tb-m-expanded { display: none; padding: 0 14px 14px; }
    .mintrv-towbar-v8.mobile-open .tb-m-collapsed { display: none; }
    .mintrv-towbar-v8.mobile-open .tb-m-expanded { display: block; }

    .tb-m-head {
        display: flex; align-items: center; gap: 10px; padding: 10px 0; cursor: pointer;
    }
    .tb-m-sep { height: 1px; background: rgba(255,255,255,0.08); margin: 0 0 10px; }
    .tb-m-intro { color: #8ab8c8; font-size: 12px; line-height: 1.5; margin-bottom: 14px; }
    .tb-m-intro strong { color: #c0dce3; }

    /* Mobile steps */
    .tb-m-steps { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; }
    .tb-m-step {
        display: flex;
        align-items: center;
        gap: 8px;
        padding: 10px 12px;
        background: rgba(255,255,255,0.02);
        border: 1px solid rgba(255,255,255,0.06);
        border-radius: 8px;
        cursor: pointer;
        transition: all 0.15s;
    }
    .tb-m-step:hover { background: rgba(255,255,255,0.04); }
    .tb-m-step-body { flex: 1; min-width: 0; }

    /* Chevron on mobile steps — click affordance */
    .tb-m-step-chev {
        color: #21b9a7;
        font-size: 10px;
        flex-shrink: 0;
        transition: transform 0.2s;
        opacity: 0.6;
    }

    /* When step's dropdown is open, rotate the chevron */
    .tb-m-step + .tb-dropdown.tb-mobile-inline {
        /* This sibling selector highlights that dropdown is inline */
    }

    /* Mobile step text overrides for selected state */
    .tb-m-step .tb-step-title {
        font-size: 12px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .tb-m-actions { display: flex; gap: 8px; }
    .tb-m-btn-tour {
        flex: 1; display: flex; align-items: center; justify-content: center; gap: 5px;
        padding: 10px; border-radius: 6px; font-size: 13px; font-weight: 600;
        background: rgba(33,185,167,0.08); color: #21b9a7;
        border: 1px solid rgba(33,185,167,0.2); text-decoration: none;
    }
    .tb-m-btn-acct {
        flex: 1; display: flex; align-items: center; justify-content: center; gap: 5px;
        padding: 10px; border-radius: 6px; font-size: 13px; font-weight: 600;
        background: #21b9a7; color: #fff; text-decoration: none;
    }
}

/* Desktop only: hide mobile */
@media (min-width: 769px) {
    .tb-mobile { display: none; }
}
