
    .xs { padding: 48px 0 8px; } /* 04/11 (Daniel: "not let empty space much here") */
    .xs-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; margin-bottom: 18px; }
    .xs-head h2 { margin-bottom: 12px !important; }
    .xs-tabs { display: inline-flex; gap: 4px; background: #fff; border-radius: 999px; padding: 4px; box-shadow: 0 2px 8px rgba(30, 27, 75, .06); }
    .xs-tabs button { border: 0; background: transparent; border-radius: 999px; padding: 7px 14px; font-weight: 700; font-size: 14px; color: #5B5880; }
    /* 10/11 (Daniel, phone): the tabs fill the row; «Ver los N expertos» closes the block under the cards. */
    @media (max-width: 767.98px) {
        .xs-head { margin-bottom: 10px; }
        .xs-head > div:first-child { width: 100%; }
        .xs-head .xs-right { display: none; }
        .xs-tabs { display: flex; width: 100%; }
        .xs-tabs button { flex: 1 1 auto; padding: 7px 8px; font-size: 13px; white-space: nowrap; }
        .xs-all--end { display: flex !important; align-items: center; justify-content: center; margin-top: 12px; height: 44px; line-height: 1.2; padding: 0 16px !important; text-align: center; } /* 10/11: the text sat low (line-height 44 + the 9 px padding of .xs-all) */
    }
    @media (max-width: 420px) { .xs-tabs { gap: 0; } .xs-tabs button { padding: 7px 6px; font-size: 12px; } } @media (max-width: 380px) { .xs-tabs button { padding: 7px 4px; font-size: 11.5px; } .xs-tabs button span { padding: 0 5px; } } /* 1/12: four tabs (with «Ocupados») fit a 390 px phone */
    .xs-tabs button span { background: #15803D; color: #fff; border-radius: 999px; padding: 0 6px; font-size: 12px; margin-left: 2px; } .xs-tabs button span.is-busy { background: #C2410C; } /* 1/12: busy = the orange of the tile's dot */
    .xs-tabs button[aria-selected="true"] { background: #1E1B4B; color: #fff; }
    .xs-right { display: flex; align-items: center; gap: 12px; }
    .xs-all { border-radius: 999px; padding: 9px 16px; font-weight: 600; font-size: 14px; color: #1E1B4B; text-decoration: none; background: #fff; box-shadow: 0 2px 8px rgba(30, 27, 75, .06); }
    .xs-nav { display: flex; gap: 8px; }
    .xs-nav button { width: 40px; height: 40px; border-radius: 50%; border: 0; background: #fff; color: #1E1B4B; display: grid; place-items: center; box-shadow: 0 2px 8px rgba(30, 27, 75, .06); }
    .xs-nav button:disabled { opacity: .35; }
    .xs-row { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; padding: 4px 2px 8px; }
    .xs-row::-webkit-scrollbar { display: none; }
    .xs-row.is-top .xs-c { order: var(--rank); }
    .xs-more { flex: 0 0 180px; order: 99; scroll-snap-align: start; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; padding: 20px 14px; border: 1.5px dashed #C9C2F5; border-radius: 24px; background: #F6F3FF; color: #1E1B4B; text-align: center; text-decoration: none; }
    .xs-more-n { display: inline-flex; align-items: center; gap: 10px; font-size: 36px; font-weight: 700; line-height: 1.1; } .xs-more-n i { width: 12px; height: 12px; border-radius: 50%; background: #16A34A; } .xs-more b { font-size: 15px; font-weight: 600; }
    .xs-more em { display: inline-flex; align-items: center; gap: 6px; margin-top: 14px; padding: 9px 18px; border-radius: 999px; background: #4F46E5; color: #fff; font-style: normal; font-weight: 700; font-size: 14px; }
    html[data-theme="dark"] .xs-more { background: rgba(255, 255, 255, .03); border-color: #3A3570; color: #EDE8FF; } html[data-theme="dark"] .xs-more em { background: #E8C878; color: #1A1440; }
    .xs-empty { flex: 1 0 100%; margin: 0; padding: 28px; text-align: center; color: #5B5880; background: #fff; border-radius: 24px; }
    .xs-empty p { margin: 0 0 16px; }
    .xs-eb { display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; }
    .xs-eb a, .xs-eb button { display: inline-flex; align-items: center; justify-content: center; height: 44px; padding: 0 20px; border-radius: 999px; font-weight: 700; font-size: 14px; text-decoration: none; }
    .xs-eb-main { background: #4F46E5; color: #fff; border: 1px solid #4F46E5; }
    .xs-eb-alt { background: transparent; color: #1E1B4B; border: 1px solid #E7E5F0; }
    @media (max-width: 575.98px) { .xs-empty { padding: 20px 16px; } .xs-eb a, .xs-eb button { flex: 1 1 100%; } }
    html[data-theme="dark"] .xs-eb-main { background: #E8C878; border-color: #E8C878; color: #1A1440; }
    html[data-theme="dark"] .xs-eb-alt { color: #E8C878; border-color: rgba(232, 200, 120, .4); }
    html[data-theme="dark"] .xs-tabs button { color: #B4ADDB; }
    html[data-theme="dark"] .xs-tabs button[aria-selected="true"] { background: #E8C878; color: #1A1440; }
        .xs-nav { display: none; }


    .xs-c { flex: 0 0 200px; scroll-snap-align: start; display: flex; flex-direction: column; align-items: center; text-align: center; background: #fff; border-radius: 24px; padding: 18px 14px 14px; min-width: 0; box-shadow: 0 2px 8px rgba(30, 27, 75, .06); transition: transform .2s, box-shadow .2s; }
    .xs-c:hover { transform: translateY(-3px); box-shadow: 0 14px 34px rgba(79, 70, 229, .14); }
    .xs-c[hidden] { display: none; }
    .xs-c { position: relative; overflow: hidden; }
    .xs-tint { position: absolute; left: 0; right: 0; top: 0; height: 64px; background: var(--tint); }
    .xs-ph, .xs-n, .xs-c small, .xs-ch, .xs-st, .xs-pr, .xs-go { position: relative; }
    .xs-ph img { box-shadow: 0 0 0 4px #fff; }
    .xs-lv { position: absolute; top: 10px; right: 10px; z-index: 1; font-size: 12px; font-weight: 600; border-radius: 999px; padding: 2px 8px; background: #fff; color: #4F46E5; }
    .xs-bell { position: absolute; top: 10px; left: 10px; z-index: 1; width: 30px; height: 30px; border-radius: 50%; border: 0; display: grid; place-items: center; background: #fff; color: #4F46E5; box-shadow: 0 1px 4px rgba(30, 27, 75, .12); cursor: pointer; }
    .xs-bell.is-on { background: #4F46E5; color: #fff; }
    html[data-theme="dark"] .xs-bell { background: #241D52; color: #E8C878; box-shadow: none; }
    html[data-theme="dark"] .xs-bell.is-on { background: #E8C878; color: #1A1440; }
    #expert-list.is-list .xs-bell { top: 12px; left: auto; right: 12px; }
    .xs-lv--elite { background: #1E1B4B; color: #FCD34D; }
    .xs-lv--top { background: #FFF4DB; color: #92400E; }
    .xs-lv--boost { display: inline-flex; align-items: center; gap: 4px; background: #4F46E5; color: #fff; } .xs-lv--boost svg { width: 12px !important; height: 12px !important; } /* 2/12: boost tier mark */
    html[data-theme="dark"] body:not(#x#y) main .xs-lv.xs-lv--boost { background: #E8C878 !important; color: #1A1440 !important; } /* beats calm-styles W16.12 (all night pills violet): the boost is gold at night */
    .xs-ok { color: #4F46E5; vertical-align: -2px; width: 14px !important; height: 14px !important; } /* 04/11: a phone rule stretched it to 30 px tall, so the shield floated above the name */
    .xs-ch { display: flex; gap: 6px; margin-top: 8px; }
    .xs-i { width: 30px; height: 30px; border-radius: 8px; display: grid; place-items: center; font-style: normal; text-decoration: none; transition: transform .15s, box-shadow .15s; }
    a.xs-i:hover { transform: translateY(-2px); box-shadow: 0 6px 14px rgba(30, 27, 75, .14); }
    a.xs-i:focus-visible { outline: 2px solid #4F46E5; outline-offset: 2px; }
    .xs-i--chat { background: #EEEAFF; color: #5B4FE8; } .xs-i--call { background: #E3F5EA; color: #0F7A50; } .xs-i--video { background: #E6EDFE; color: #2F5BC4; }
    .xs-i.off { background: #F4F3F8; color: #D6D3E4; }
    html[data-theme="dark"] .xs-tint { opacity: .14; }
    html[data-theme="dark"] .xs-ph img { box-shadow: 0 0 0 4px #1B1640; }
    html[data-theme="dark"] .xs-ok { color: #E8C878; }
    .xs-fd { display: inline-flex; margin-left: 3px; color: #B45309; vertical-align: -2px; cursor: help; } .xs-fd svg { width: 14px !important; height: 14px !important; } /* 28/11: founder medal */
    html[data-theme="dark"] .xs-fd { color: #E8C878; }
    html[data-theme="dark"] .xs-i--chat { background: rgba(124, 108, 255, .18); color: #B9B0FF; } html[data-theme="dark"] .xs-i--call { background: rgba(59, 224, 160, .14); color: #3BE0A0; } html[data-theme="dark"] .xs-i--video { background: rgba(96, 140, 255, .16); color: #8FB0FF; }
    html[data-theme="dark"] .xs-i.off { background: rgba(255, 255, 255, .04); color: #3B3374; }
    .xs-ph { position: relative; display: block; margin-bottom: 10px; }
    .xs-ph img { width: 76px; height: 76px; border-radius: 50%; object-fit: cover; display: block; }
    .xs-ph i { position: absolute; right: 3px; bottom: 3px; width: 14px; height: 14px; border-radius: 50%; background: #15803D; border: 3px solid #fff; }
    .xs-ph i.is-busy { background: #D97706; } /* W05.7: busy says itself on the card, like the online dot */
    .xs-n { font-size: 16px; font-weight: 600; color: #1E1B4B; text-decoration: none; max-width: 100%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
    .xs-c small { font-size: 12px; color: #5B5880; max-width: 100%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
    .xs-st { margin: 8px 0 4px; font-size: 12px; font-weight: 600; color: #4F46E5; }
    .xs-st.is-on { color: #15803D; }
    .xs-pr { font-size: 18px; font-weight: 700; color: #1E1B4B; margin-bottom: 12px; }
    .xs-pr em { font-style: normal; font-size: 12px; font-weight: 600; color: #5B5880; }
    .xs-from { display: flex; align-items: baseline; justify-content: center; gap: 3px; margin: 8px 0 2px; color: #5B5880; }
    .xs-off { display: flex; align-items: center; justify-content: center; gap: 6px; min-height: 20px; margin-bottom: 10px; }
    .xs-off.is-none { visibility: hidden; }
    .xs-off s { font-size: 12px; font-weight: 600; color: var(--oq-mutetx, #6B6890); }
    .xs-off em { font-style: normal; font-size: 12px; font-weight: 600; color: #fff; background: #E11D48; border-radius: 999px; padding: 1px 8px; white-space: nowrap; }
    html[data-theme="dark"] .xs-off s { color: #8A86AE; }
    .xs-from small { font-size: 12px; font-weight: 600; }
    .xs-from b { font-size: 16px; font-weight: 600; /* 16/11 (Daniel: «a little smaller»): 18 → 16 */ color: #1E1B4B; white-space: nowrap; }
    .xs-from em { font-style: normal; font-size: 12px; font-weight: 600; }
    html[data-theme="dark"] .xs-from { color: #B4ADDB; } html[data-theme="dark"] .xs-from b { color: #EDE8FF; }
    .xs-free { display: inline-flex; align-items: center; gap: 4px; margin-top: 10px; font-size: 12px; font-weight: 600; color: #0F7A50; background: #E2F5EC; border-radius: 999px; padding: 2px 10px; }
    .xs-free.is-none { visibility: hidden; }
    html[data-theme="dark"] .xs-free { color: #5BD3A0; background: #123327; }
    /* 10/11: a long topic shortens, the rating always stays (Sora is wider) */
    .xs-c small.xs-meta { display: flex; justify-content: center; }
    .xs-sk { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
    /* 12/11: the rating pill just outside the photo's lower right edge (the online dot stays inside the photo) */
    .xs-rt { position: absolute; left: calc(100% - 4px); bottom: 2px; display: inline-flex; align-items: center; gap: 2px; padding: 2px 7px 2px 5px; border-radius: 999px;
        background: #fff; box-shadow: 0 2px 8px rgba(30, 27, 75, .12); font-size: 12px; font-weight: 600; line-height: 1.2; white-space: nowrap; color: #1E1B4B; } /* desktop: the first version (Daniel: «in web put this as first version») */
    .xs-rt svg { color: #F59E0B; }
    html[data-theme="dark"] .xs-rt { background: #241D52; color: #EDE8FF; box-shadow: none; }
    .xs-rt2 { display: none; flex: none; align-items: center; gap: 4px; margin-left: 5px; white-space: nowrap; font-weight: 600; color: #1E1B4B; } /* the list view shows the rating on this line */
    .xs-rt2 svg { color: #F59E0B; } html[data-theme="dark"] .xs-rt2 { color: #EDE8FF; }
    /* 12/11 (Daniel: «I like that pill but that circle is big and ugly»): on phones a smaller photo with a thin ring */
    @media (max-width: 575.98px) { .xs-c .xs-ph img { width: 56px; height: 56px; box-shadow: 0 0 0 2px #fff; } html[data-theme="dark"] .xs-c .xs-ph img { box-shadow: 0 0 0 2px #1B1640; } .xs-c .xs-ph i { right: 1px; bottom: 1px; width: 12px; height: 12px; border-width: 2px; }
        /* Daniel: «smaller in mobile», «put in same position as in web» — the web place, a smaller pill */
        .xs-c .xs-ph .xs-rt { gap: 1px; padding: 0 4px 0 3px; font-size: 12px; line-height: 1.35; box-shadow: 0 1px 4px rgba(30, 27, 75, .12); } .xs-c .xs-ph .xs-rt svg { width: 9px; height: 9px; } }
    .xs-go { margin-top: auto; width: 100%; border-radius: 999px; padding: 8px; font-weight: 600; font-size: 14px; text-decoration: none; color: #1E1B4B; border: 1px solid #E7E5F0; }
    .xs-go.is-on { background: #4F46E5; border-color: #4F46E5; color: #fff; }
    .xs-go.is-paused { color: #8A87A8; border-style: dashed; } html[data-theme="dark"] .xs-go.is-paused { color: #8A87A8; border-color: rgba(255, 255, 255, .18); }
    html[data-theme="dark"] .xs-n, html[data-theme="dark"] .xs-pr { color: #EDE8FF; }
    html[data-theme="dark"] .xs-c small, html[data-theme="dark"] .xs-pr em, html[data-theme="dark"] .xs-empty { color: #B4ADDB; }
    html[data-theme="dark"] :is(.xs-c, .xs-tabs, .xs-all, .xs-nav button, .xs-empty) { background: #1B1640; border: 1px solid rgba(232, 200, 120, .2); color: #EDE8FF; box-shadow: none; }
    html[data-theme="dark"] .xs-ph i { border-color: #1B1640; }
    html[data-theme="dark"] .xs-st { color: #E8C878; }
    html[data-theme="dark"] .xs-st.is-on { color: #3BE0A0; }
    html[data-theme="dark"] .xs-go { color: #E8C878; border-color: rgba(232, 200, 120, .4); }
    html[data-theme="dark"] .xs-go.is-on { background: #E8C878; border-color: #E8C878; color: #1A1440; }
    /* 12/11 (Daniel: «in mobile these buttons are very big, must be smaller»): «Consultar» / «Reservar» 39 → 32 px on phones */
    @media (max-width: 575.98px) { .xs-go { padding: 5px 8px; font-size: 13px; line-height: 20px; } }
    @media (max-width: 991px) {
        .xs-c { flex-basis: 168px; padding-left: 10px; padding-right: 10px; }
        .xs-n { font-size: 14px; } /* 10/11: «María Jacaranda» fits in Sora; 12/11 (#844): 14, on the scale */
        .xs-ph img { width: 68px; height: 68px; }
    }

    /* in a grid (lists): the card fills its cell */
    .xs-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 16px; }
    .xs-grid .xs-c { flex: none; width: auto; }


        .xr-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-bottom: 18px; }
        .xr-stat { --bg: #F1EEFF; --c: #5B4FE8; display: flex; flex-direction: column; gap: 4px; padding: 16px 18px; border-radius: 16px; background: var(--bg); }
        .xr-stat.is-pending { --bg: #FFF4D6; --c: #B45309; } .xr-stat.is-delivered { --bg: #EAF7EE; --c: #15803D; } .xr-stat.is-declined { --bg: #FDECEF; --c: #BE123C; }
        .xr-stat small { color: var(--c); font-size: 12px; font-weight: 600; letter-spacing: .6px; text-transform: uppercase; } .xr-stat b { color: #1E1B4B; font-size: 24px; font-weight: 700; } /* 12/11 (#844): the scale, was 26 */
        .xr-stat b img { width: 20px !important; height: 20px !important; vertical-align: -2px; }
        /* 26/10: the wallet's tiles (Daniel liked them) for the other lists — richer colour, an icon, a sub-line. */
        .xr-stats.is-rich .xr-stat { position: relative; --bg: #E4E0FF; --c: #4338CA; }
        .xr-stats.is-rich .xr-stat.is-delivered { --bg: #DCF2E3; --c: #0F6B32; } .xr-stats.is-rich .xr-stat.is-pending { --bg: #FFEBC2; --c: #9A4A06; } .xr-stats.is-rich .xr-stat.is-blue { --bg: #D9E8FC; --c: #1D5FB3; }
        .xr-st-ic { position: absolute; top: 14px; right: 14px; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 8px; background: #fff; color: var(--c); }
        .xr-stat em { font-style: normal; color: #5B5880; font-size: 12px; font-weight: 600; }
        /* 05/11 (Kent, S-53): the tile labels in light tints by night — the day colours were under 4.5:1 on the dark tiles */
        html[data-theme="dark"] .xr-stat small { color: #C9C3FF; } html[data-theme="dark"] .xr-stat.is-pending small { color: #FCD34D; } html[data-theme="dark"] .xr-stat.is-delivered small { color: #86EFAC; }
        html[data-theme="dark"] .xr-stat.is-declined small { color: #FDA4AF; } html[data-theme="dark"] .xr-stat.is-blue small { color: #93C5FD; }
        html[data-theme="dark"] .xr-st-ic { background: rgba(255, 255, 255, .08); } html[data-theme="dark"] .xr-stat em { color: #9C99BD; }
        /* Day groups (the wallet's look): a day line with the day's total, the day's cards in one white box. */
        .xr-day + .xr-day { margin-top: 16px; } .xr-day h3 { display: flex; justify-content: space-between; gap: 10px; margin: 0 4px 8px; color: #1E1B4B; font-size: 14px; font-weight: 700; }
        .xr-day h3 span { color: var(--oq-mutetx, #6B6890); font-weight: 600; } .xr-day h3 span img { width: 14px !important; height: 14px !important; vertical-align: -2px; }
        .xr-day-box { border-radius: 16px; background: #fff; border: 1px solid #ECE9FB; overflow: hidden; }
        .xr-day-box > .xr-card { border: 0; border-radius: 0; } .xr-day-box > .xr-card + .xr-card { border-top: 1px solid #F1EFFC; }
        .xr-card > img.is-round { border-radius: 50%; }
        .xr-links { display: flex; flex-wrap: wrap; gap: 4px 14px; margin-top: 6px; }
        .xr-links :is(a, button) { display: inline-flex; align-items: center; gap: 5px; padding: 0; border: 0; background: none; color: #4F46E5 !important; font-size: 12px; font-weight: 600; text-decoration: none !important; }
        @media (hover: none) and (pointer: coarse) { .xr-links :is(a, button) { min-height: 36px; } .xr-links { row-gap: 0; } } /* 10/11: the links were 26 px to tap on a phone */
        .xr-links :is(a, button):hover { color: #4F46E5 !important; text-decoration: underline !important; }
        .xr-count { margin: 0 0 0 12px; color: #5B5880; font-size: 14px; font-weight: 700; } html[data-theme="dark"] .xr-count { color: #C4C0FF; }
        /* grid cards are narrow: the chat-again button shows its icon only, links and the price label align left */
        .xr-list.is-grid .xr-btn:has(.xr-lbl) { flex: none !important; width: 40px; padding: 0; justify-content: center; } .xr-list.is-grid .xr-lbl { display: none; }
        .xr-list.is-grid .xr-links { flex-direction: column; gap: 6px; } .xr-list.is-grid .xr-links :is(a, button) { text-align: left; align-items: center; line-height: 1.25; } .xr-list.is-grid .xr-links svg { flex: none; }
        .xr-list.is-grid .xr-money small { text-align: left; }
        .xr-money small { display: block; color: var(--oq-mutetx, #6B6890); font-size: 12px; font-weight: 600; text-align: right; }
        /* Day groups in grid view: the list stays one column (the toggle's grid laid the day sections side by side), the
           grid is inside each day. */
        .xr-list.is-grid:has(> .xr-day, > .xr-day-box) { grid-template-columns: minmax(0, 1fr) !important; }
        .xr-list.is-grid .xr-day-box { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); background: transparent; border: 0; gap: 10px; overflow: visible; }
        .xr-list.is-grid .xr-day-box > .xr-card { border: 1px solid #ECE9FB; border-radius: 16px; flex-wrap: wrap; } .xr-list.is-grid .xr-day-box > .xr-card .xr-side { width: 100%; justify-content: space-between; }
        html[data-theme="dark"] .xr-day h3 { color: #fff; } html[data-theme="dark"] .xr-day-box { background: #1E1B4B; border-color: #2A2650; } html[data-theme="dark"] .xr-day-box > .xr-card + .xr-card { border-top-color: #221E44; }
        html[data-theme="dark"] .xr-links :is(a, button) { color: #C4C0FF !important; } html[data-theme="dark"] .xr-list.is-grid .xr-day-box { background: transparent; } html[data-theme="dark"] .xr-list.is-grid .xr-day-box > .xr-card { border-color: #2A2650; }
        .xr-bar { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; margin-bottom: 14px; }
        .xr-bar-end { display: flex; align-items: center; gap: 8px; }
        .xr-tabs { display: inline-flex; flex-wrap: wrap; gap: 4px; padding: 5px; border-radius: 999px; background: #F8F6FF; border: 1px solid #ECE9FB; }
        .xr-tabs :is(button, a) { display: inline-flex; align-items: center; gap: 6px; height: 38px; padding: 0 16px; border: 0; border-radius: 999px; background: transparent; color: #5B5880; font-size: 14px; font-weight: 700; }
        .xr-tabs :is(button, a) em { font-style: normal; font-size: 12px; opacity: .7; } .xr-tabs :is(button, a).is-on { background: #4F46E5; color: #fff; }
        /* Daniel 25/10 ("improve this in both"): the bar is one white toolbar — tabs with a coloured dot per state and the
           count as a small badge, the view switch and the action on the right. */
        .xr-bar { padding: 6px; border-radius: 24px; background: #fff; border: 1px solid #ECE9FB; box-shadow: 0 2px 8px rgba(30, 27, 75, 0.08); }
        .xr-bar .xr-tabs { padding: 0; background: transparent; border: 0; }
        .xr-tabs :is(button, a) i { width: 8px; height: 8px; border-radius: 50%; background: #F59E0B; } .xr-tabs :is(button, a)[data-state="delivered"] i { background: #22C55E; } .xr-tabs :is(button, a)[data-state="declined"] i { background: #E11D48; }
        .xr-tabs :is(button, a).is-on i { background: #fff; }
        .xr-tabs :is(button, a) em { min-width: 22px; height: 20px; padding: 0 6px; display: inline-grid; place-items: center; border-radius: 999px; background: #F8F6FF; color: #5B5880; opacity: 1; font-weight: 700; }
        .xr-tabs :is(button, a).is-on em { background: rgba(255, 255, 255, .22); color: #fff; }
        .xr-tabs :is(button, a):not(.is-on):hover { background: #F8F6FF; }
        .xr-bar .lv-toggle { background: #F8F6FF; }
        html[data-theme="dark"] .xr-bar { background: #1E1B4B; border-color: #2A2650; box-shadow: none; } html[data-theme="dark"] .xr-bar .xr-tabs { background: transparent; }
        html[data-theme="dark"] .xr-tabs :is(button, a):not(.is-on) em { background: #1E1B4B; color: #C4C0FF; } html[data-theme="dark"] .xr-tabs :is(button, a):not(.is-on):hover { background: #1E1B4B; } html[data-theme="dark"] .xr-bar .lv-toggle { background: #1E1B4B; }
        .xr-list { display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; } /* minmax: a long name or button row widened the column past the phone screen */
        .xr-card { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: 16px; background: #fff; border: 1px solid #ECE9FB; }
        .xr-card > img { flex: none; width: 56px; height: 56px; border-radius: 16px; object-fit: cover; }
        .xr-main { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
        .xr-top { display: flex; align-items: center; gap: 8px; } .xr-top a { text-decoration: none; min-width: 0; } .xr-top b { color: #1E1B4B; font-size: 16px; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; display: block; }
        .xr-pill { flex: none; padding: 2px 10px; border-radius: 999px; font-size: 12px; font-weight: 600; }
        .xr-pill.is-pending { background: #FFF4D6; color: #B45309; } .xr-pill.is-delivered { background: #EAF7EE; color: #15803D; } .xr-pill.is-declined { background: #EEEBFF; color: #BE123C; }
        .xr-pill.is-pack { display: inline-flex; align-items: center; gap: 4px; background: #EEEBFF; color: #BE185D; } /* #796 saver pack */
        html[data-theme="dark"] .xr-pill.is-pack { background: rgba(229, 72, 125, .18); color: #F9A8D4; }
        .xr-type { color: #4F46E5; font-size: 14px; font-weight: 600; } .xr-main small { color: var(--oq-mutetx, #6B6890); font-size: 12px; }
        .xr-main > .xr-type { width: fit-content !important; max-width: 100%; align-self: flex-start !important; display: inline-flex !important; } /* 04/11 (#812 restart): the pill stretched across the whole row */
        .xr-note { display: block; margin: 4px 0 0; color: #5B5880; font-size: 13px; line-height: 1.5; } .xr-note svg { display: inline-block; margin: 0 4px 0 0; vertical-align: -2px; color: #B45309; }
        /* 25/10 (Daniel: "this can't be here"): the way to another expert is a small button under the note, not a link in the text. */
        .xr-again { display: inline-flex; align-self: flex-start; width: fit-content; align-items: center; gap: 6px; margin-top: 8px; height: 34px; padding: 0 14px; border-radius: 999px; background: #F8F6FF; color: #4F46E5 !important; font-size: 12px; font-weight: 600; text-decoration: none !important; }
        .xr-again:hover { background: #EEEBFF; } html[data-theme="dark"] .xr-again { background: #1E1B4B; color: #C4C0FF !important; }
        .xr-note.is-refund svg { color: #15803D; } .xr-note i { color: var(--oq-mutetx, #6B6890); } .xr-note img { width: 14px !important; height: 14px !important; vertical-align: -2px; }
        /* 01/11: the facts of a history card as small chips (type, time, minutes, your stars). */
        .xr-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: 2px; }
        .xr-meta > span { display: inline-flex; align-items: center; gap: 4px; padding: 2px 9px; border-radius: 999px; background: #F8F6FF; color: #5B5880; font-size: 12px; font-weight: 600; }
        .xr-meta > span.is-type { background: #EEEBFF; color: #4F46E5; } .xr-meta .xr-stars { padding: 2px 8px; background: #FFF6E0; color: #D97706; }
        html[data-theme="dark"] .xr-meta > span { background: #1E1B4B; color: #C4C0FF; }
        .xr-side { flex: none; display: flex; align-items: center; gap: 12px; }
        .xr-money.is-earn { color: #15803D; }
        .xr-money { color: #1E1B4B; font-size: 16px; font-weight: 700; white-space: nowrap; } .xr-money img { width: 16px !important; height: 16px !important; vertical-align: -2px; } .xr-money.is-off { color: var(--oq-mutetx, #6B6890); text-decoration: line-through; }
        .xr-btn { display: inline-flex; align-items: center; gap: 6px; height: 40px; padding: 0 16px; border-radius: 8px; background: #F8F6FF; color: #4F46E5 !important; font-size: 14px; font-weight: 700; text-decoration: none !important; white-space: nowrap; }
        .xr-btn.is-primary { background: #4F46E5; color: #fff !important; box-shadow: 0 2px 8px rgba(30, 27, 75, 0.08); } .xr-btn.is-primary:hover { background: #4F46E5; }
        .xr-empty { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 48px 20px; border-radius: 24px; background: #fff; border: 1px solid #ECE9FB; text-align: center; }
        .xr-empty > span { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 16px; background: #EEEBFF; color: #4F46E5; }
        .xr-empty b { color: #1E1B4B; font-size: 18px; } .xr-empty p { max-width: 46ch; margin: 0 0 8px; color: #5B5880; }
        /* 30/10: phones — a long label wraps beside the corner icon instead of being cut ("GANADO EN LLAMA…") */
        @media (max-width: 575.98px) { .xr-stats.is-rich .xr-stat small { display: block; padding-right: 40px; font-size: 12px; letter-spacing: .3px; line-height: 1.3; } }
        html[data-theme="dark"] .xr-stat { background: color-mix(in srgb, var(--c) 18%, #15122C); } html[data-theme="dark"] .xr-stat b, html[data-theme="dark"] .xr-money:not(.is-off) { color: #fff; } html[data-theme="dark"] .xr-money.is-earn { color: #4ADE80; }
        html[data-theme="dark"] .xr-tabs { background: #1E1B4B; border-color: #2C2752; } html[data-theme="dark"] .xr-tabs :is(button, a) { color: #9C99BD; } html[data-theme="dark"] .xr-tabs :is(button, a).is-on { background: #4F46E5; color: #fff; }
        html[data-theme="dark"] :is(.xr-card, .xr-empty) { background: #1E1B4B; border-color: #2A2650; } html[data-theme="dark"] :is(.xr-top b, .xr-empty b) { color: #fff; }
        html[data-theme="dark"] .xr-type { color: #C4C0FF; } html[data-theme="dark"] .xr-note { color: #9C99BD; }
        @media (max-width: 767.98px) {
            .xr-stats { grid-template-columns: 1fr 1fr; gap: 8px; } .xr-stat { padding: 12px 14px; } .xr-stat b { font-size: 20px; }
            .xr-bar { flex-direction: column; align-items: stretch; } .xr-bar > * { min-width: 0; max-width: 100%; } .xr-bar-end { flex-wrap: wrap; } .xr-bar-end .xr-btn { flex: 1; justify-content: center; } /* 10/11: wrap, «Eliminar todo» went off screen */ .xr-tabs { display: flex; flex-wrap: nowrap; overflow-x: auto; border-radius: 16px; scrollbar-width: none; } .xr-tabs::-webkit-scrollbar { display: none; } .xr-tabs :is(button, a) { flex: none; padding: 0 12px; font-size: 12px; }
            .xr-card { flex-wrap: wrap; align-items: flex-start; } .xr-side { width: 100%; justify-content: space-between; padding-left: 70px; }
            .xr-st-ic { top: 10px; right: 10px; width: 28px; height: 28px; border-radius: 8px; } .xr-stat em { font-size: 12px; }
            .xr-list.is-grid .xr-day-box { grid-template-columns: repeat(2, minmax(0, 1fr)); } .xr-day-box .xr-side { padding-left: 0; } .xr-day-box .xr-side .xr-btn { flex: 1; justify-content: center; } .xr-day-box .xr-side .xr-btn:has(.xr-lbl) { flex: none; width: 44px; padding: 0; } .xr-lbl { display: none; }
            /* 04/11 (#812 item 66): amount + two buttons did not fit 390 px ("Ficha del cliente" ran to the edge) — the amount takes its own line */
            .xr-day-box .xr-side:has(.xr-btn + .xr-btn) { flex-wrap: wrap; row-gap: 8px; } .xr-day-box .xr-side:has(.xr-btn + .xr-btn) > .xr-money { flex: 0 0 100%; display: flex; align-items: baseline; gap: 6px; text-align: left; }
            /* 12/11 (#825): the count and the view switch on one row, filters and the main button full width under them — a long
               button («Nuevo chat con OraqIA», «Nueva llamada») wrapped the bar unevenly */
            .xr-bar:has(.xr-count) { display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-auto-flow: row dense; align-items: center; row-gap: 8px; } .xr-bar:has(.xr-count) .xr-bar-end { display: contents; }
            .xr-bar:has(.xr-count) :is(.xr-filters, .xr-bar-end > :not(.lv-toggle)) { grid-column: 1 / -1; } /* dense: the view switch fills row 1 next to the count */
        }
    html[data-theme="dark"] .xr-btn:not(.is-primary) { background: #1E1B4B; color: #C4C0FF !important; }
    /* 27/10: the apps' call type pill (audio indigo, video teal) and review stars, on the call lists. */
    .xr-type { display: inline-flex; align-items: center; gap: 4px; padding: 2px 9px; border-radius: 999px; font-size: 12px; font-weight: 600; background: #EEEBFF; color: #4F46E5; }
    .xr-type.is-video { background: #EEEBFF; color: #0F766E; }
    html[data-theme="dark"] .xr-type { background: rgba(124,108,255,.18); color: #C7C2FF; }
    html[data-theme="dark"] .xr-type.is-video { background: rgba(45,212,191,.15); color: #5EEAD4; }
    .xr-stars { display: flex; gap: 1px; margin-top: 3px; color: #F5A623; } /* own line under the time */
    .xr-links > span { display: inline-flex; align-items: center; white-space: nowrap; gap: 5px; color: #5B5880; font-size: 12px; font-weight: 600; } /* plain facts beside the links */
    html[data-theme="dark"] .xr-links > span { color: #9C99BD; }
    /* 29/10 (#791 item 15): a card head — the name (one line, cut with …) and a status pill with an icon, as the app's chips. */
    .ap-top { display: flex; align-items: center; gap: 8px; min-width: 0; }
    .ap-name { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: #1E1B4B !important; font-size: 16px; font-weight: 600; text-decoration: none !important; }
    .ap-st { display: inline-flex; flex: none; align-items: center; gap: 4px; padding: 3px 9px; border-radius: 999px; font-size: 12px; font-weight: 600; white-space: nowrap; }
    .ap-st.is-delivered { background: #DDF5E8; color: #166534; } .ap-st.is-pending { background: #FFF1D6; color: #92400E; }
    .ap-st.is-declined { background: #FDE4E7; color: #B4232F; } .ap-st.is-done { background: #F8F6FF; color: #5B5880; }
    html[data-theme="dark"] .ap-st.is-delivered { background: rgba(34, 197, 94, .16); color: #86EFAC; } html[data-theme="dark"] .ap-st.is-pending { background: rgba(245, 158, 11, .16); color: #FCD34D; }
    html[data-theme="dark"] .ap-st.is-declined { background: rgba(239, 68, 68, .16); color: #FCA5A5; } html[data-theme="dark"] .ap-st.is-done { background: rgba(255, 255, 255, .07); color: #9C99BD; }
    html[data-theme="dark"] .ap-name { color: #F4F2FF !important; }
    .xr-tabs a { text-decoration: none !important; } /* 29/10: chips that are links (server-side filters) */


    /* 26/10 (Daniel: "wtf is this color"): the light head wherever this partial is used — the expert layout has no
       theme-styles, so its own navy hero stayed under the built head. Same rules as theme-styles (customer pages). */
    main.wrapper .tch { background: transparent !important; color: var(--tc-ink, #1E1B4B) !important; border-radius: 0 !important; box-shadow: none !important; }
    main.wrapper .tch :is(h1, h2, .bc-hero-title) { font-weight: 700; letter-spacing: -1.2px; color: var(--tc-ink, #1E1B4B) !important; }
    main.wrapper .tch :is(p, .lead, .bc-sub, .bc-hero-sub) { color: var(--tc-muted, #5B5880) !important; }
    html[data-theme="dark"] main.wrapper .tch :is(h1, h2, .bc-hero-title) { color: #fff !important; -webkit-text-fill-color: #fff !important; }
    html[data-theme="dark"] main.wrapper .tch :is(p, .lead, .bc-sub, .bc-hero-sub) { color: #9C99BD !important; }
    main.wrapper .tch + .bc-hero-divider { display: none !important; }
    @media (max-width: 767.98px) {
        html:root body main.wrapper .tch { padding-bottom: 8px !important; margin-bottom: 4px !important; }
        html:root body main.wrapper .tch .oq-tarot-hero-grid { row-gap: 0 !important; }
        main.wrapper .tch .oq-tarot-fan.tch-fan { display: none !important; }
        .tch .oq-tarot-hero-grid { grid-template-rows: auto auto !important; grid-auto-rows: auto !important; min-height: 0 !important; }
    }
    .tch { position: relative; }
    .tch-built { margin-bottom: 26px; }
    /* Daniel 24/10 ("less gradient"): the head button in solid violet. */
    main.wrapper .tch .tch-go { background: #4F46E5 !important; border-color: #5B4FE8 !important; box-shadow: 0 2px 8px rgba(30, 27, 75, 0.08) !important; }
    main.wrapper .tch .tch-go:hover { background: #4F46E5 !important; }
    /* Text starts at the same height on every page, whatever its length (Daniel 21/10: "same position"). */
    .tch .oq-tarot-hero-grid > div:first-child { align-self: start; padding-top: 4px; }
    /* Compact heads (Daniel 21/10: "more compact and the images smaller"). */
    main.wrapper .oq-tarot-hero.tch { padding: 14px 0 40px !important; }
    main.wrapper .tch .oq-tarot-fan { height: 250px !important; }
    main.wrapper .tch .oq-tarot-fan img { width: 140px !important; }
    main.wrapper .tch h1 { font-size: clamp(28px, 3.4vw, 40px) !important; }
    main.wrapper .tch .oq-crumbs, main.wrapper .tch .content-crumbs { margin-bottom: 6px !important; }
    .tch-built .oq-cm-stats { color: var(--tc-muted, #5B5880); margin-top: 18px; }
    .tch-built .oq-cm-stats b { color: var(--tc-violet-ink, #4F46E5); }
    html[data-theme="dark"] .tch-built .oq-cm-stats { color: #C4C0FF; }
    .tch-built .bc-hero-title::before { display: none !important; }
    /* 10/11 (Daniel: pages first showed the old head with the zodiac wheel): a page head is finished by the script above, so it stays
       hidden until then. If the script never runs it shows after 1.5 s. */
    main.wrapper :is(.bc-hero, .oq-tarot-hero, .oq-sign-hero, .gc-hero, .oq-cm-hero):not(.tch) { visibility: hidden; animation: tch-show 0s 1.5s forwards; }
    @keyframes tch-show { to { visibility: visible; } }
    .tch > :not(.tch-art) { position: relative; z-index: 1; }
    /* No gold (Daniel 21/10: "not our colour"): the title dash and the bottom line in violet. */
    main.wrapper .bc-hero .bc-hero-title, main.wrapper .bc-hero h1 { color: var(--tc-ink, #1E1B4B) !important; -webkit-text-fill-color: var(--tc-ink, #1E1B4B) !important; }
    html[data-theme="dark"] main.wrapper .bc-hero .bc-hero-title, html[data-theme="dark"] main.wrapper .bc-hero h1 { color: #fff !important; -webkit-text-fill-color: #fff !important; }
    main.wrapper .bc-hero .bc-hero-title::before { background: linear-gradient(90deg, #6C63FF, #E5487D) !important; box-shadow: none !important; }
    main.wrapper .bc-hero::after { background: linear-gradient(90deg, transparent, #6C63FF55, #E5487D44, transparent) !important; }
    /* Breadcrumbs on the light heads: grey links, the current page in violet, small capitals (like Astrotalk). */
    main.wrapper .oq-crumbs, main.wrapper .breadcrumbs, main.wrapper .breadcrumbtext { color: var(--tc-violet-ink, #4F46E5) !important; font-size: 12px; font-weight: 600; letter-spacing: 1px; text-transform: uppercase; }
    main.wrapper .oq-crumbs, main.wrapper .oq-crumbs * { -webkit-text-fill-color: currentColor; }
    main.wrapper .oq-crumbs a, main.wrapper .breadcrumbs a { color: var(--tc-muted, #5B5880) !important; }
    html[data-theme="dark"] main.wrapper .oq-crumbs { color: #C4C0FF !important; }
    html[data-theme="dark"] main.wrapper .oq-crumbs a { color: #9C99BD !important; }
    main.wrapper .eyebrow, main.wrapper .oq-reading-eyebrow { color: var(--tc-violet-ink, #4F46E5) !important; -webkit-text-fill-color: currentColor; }
    /* Daniel 27/10 ("I like this header, why don't you use it across the web"): the page titles end like the home's
       section titles — the last word light, italic, violet (.tc-acc) — no gradient. */
    .tch-accent { font-weight: 400 !important; font-style: italic; color: #4F46E5 !important; -webkit-text-fill-color: currentColor !important; background: none !important; }
    html[data-theme="dark"] .tch-accent { color: #A5A0FF !important; }
    /* 28/10: the same section titles on the expert pages (theme-styles, which has them, is customer-only). */
    main.wrapper h2:has(> em.tc-acc) { font-weight: 600; letter-spacing: -.4px; color: #1E1B4B; }
    html[data-theme="dark"] main.wrapper h2:has(> em.tc-acc) { color: #F4F2FF; }
    main h2 em.tc-acc { font-weight: 400; color: #4F46E5; -webkit-text-fill-color: currentColor; background: none; }
    html[data-theme="dark"] main h2 em.tc-acc { color: #A5A0FF; }
    .oq-tarot-fan img { animation: tch-deal .9s cubic-bezier(.2, .8, .2, 1) both; animation-delay: calc((var(--i) + 2) * 90ms); }
    @keyframes tch-deal { from { opacity: 0; transform: translateX(-50%) rotate(0deg) translateY(40px) scale(.9); } }
    .oq-tarot-fan:hover img { animation: none; }
    @media (prefers-reduced-motion: reduce) { .oq-tarot-fan img { animation: none; } }
    @keyframes tcc-beat { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.18); } }

