
    .cw-wrap { max-width: 720px; }
    .cw-card { background: var(--oq-card); border: 1px solid var(--oq-line); border-radius: 16px; padding: 1.2rem 1.3rem; box-shadow: 0 2px 8px rgba(30, 27, 75, 0.08); margin-bottom: 1rem; color: var(--oq-text); }
    .cw-card h2, .cw-card h3 { color: var(--oq-title); font-size: 16px; font-weight: 700; margin: 0 0 .4rem; }
    .cw-muted { color: var(--oq-muted); font-size: 14px; line-height: 1.5; }
    .cw-row { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .85rem 0; border-top: 1px solid var(--oq-line); }
    .cw-row:first-of-type { border-top: 0; }
    .cw-row > div:first-child { min-width: 0; }
    .cw-row strong { color: var(--oq-title); display: block; }
    .cw-btn { display: inline-flex; align-items: center; justify-content: center; gap: .4rem; border: 0; border-radius: 8px; padding: .6rem 1.1rem; font-weight: 600; background: var(--oq-violet); color: #fff; cursor: pointer; text-decoration: none; }
    .cw-btn:hover { background: var(--oq-violet-dark); color: #fff; }
    .cw-btn:disabled { opacity: .55; cursor: default; }
    .cw-btn--ghost { background: transparent; color: var(--oq-violet); border: 1.5px solid var(--oq-line); }
    .cw-btn--ghost:hover { background: var(--oq-tint-violet); color: var(--oq-violet); }
    .cw-link { background: none; border: 0; padding: 0; color: var(--oq-violet); font-weight: 600; cursor: pointer; text-decoration: none; font-size: 14px; }
    .cw-link:hover { text-decoration: underline; }
    .cw-input { width: 100%; border: 1px solid var(--oq-line); border-radius: 8px; padding: .65rem .85rem; background: var(--oq-card); color: var(--oq-title); }
    .cw-input:focus { outline: 2px solid var(--oq-violet); outline-offset: 1px; }
    .cw-msg { margin-top: .6rem; font-size: 14px; min-height: 1.2em; }
    .cw-msg--ok { color: var(--oq-ink-green); } .cw-msg--err { color: #d6336c; }
    .cw-switch { position: relative; width: 46px; height: 26px; flex: 0 0 auto; }
    .cw-switch input { position: absolute; inset: 0; opacity: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; z-index: 2; }
    .cw-switch span { position: absolute; inset: 0; border-radius: 999px; background: #cfcbe6; transition: background .15s; }
    .cw-switch span::after { content: ''; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; transition: transform .15s; box-shadow: 0 2px 8px rgba(30, 27, 75, 0.08); }
    .cw-switch input:checked + span { background: var(--oq-violet); }
    .cw-switch input:checked + span::after { transform: translateX(20px); }
    .cw-switch input:focus-visible + span { outline: 2px solid var(--oq-violet); outline-offset: 2px; }
    .cw-switch input:disabled { cursor: default; } .cw-switch input:disabled + span { opacity: .5; }
    .cw-bubble { max-width: 85%; padding: .6rem .85rem; border-radius: 16px; margin-bottom: .5rem; background: var(--oq-tint-violet); color: var(--oq-title); white-space: pre-wrap; word-break: break-word; }
    .cw-bubble--mine { margin-left: auto; background: var(--oq-violet); color: #fff; }
    .cw-event { text-align: center; margin: .6rem 0; }
    .cw-big { font-size: 40px; font-weight: 700; line-height: 1.1; color: var(--oq-title); }
    .cw-bar { height: 8px; border-radius: 999px; background: var(--oq-tint-violet); overflow: hidden; margin: .8rem 0 .4rem; }
    .cw-bar > i { display: block; height: 100%; background: var(--oq-violet); border-radius: 999px; }
    .cw-empty { text-align: center; padding: 2.2rem 1rem; }
    .cw-empty h3 { margin-bottom: .3rem; }
    /* 26/10 (Daniel: "improve this too"): solid sheet (the theme card colour was see-through in dark), icon badge,
       close button, pill buttons side by side, blurred backdrop. */
    .cw-modal-back { position: fixed; inset: 0; background: rgba(20, 16, 51, .55); backdrop-filter: blur(4px); z-index: 2000; display: none; align-items: center; justify-content: center; padding: 16px; }
    .cw-modal-back.open { display: flex; }
    .cw-modal { position: relative; background: #fff; color: #5B5880; border-radius: 16px; padding: 26px 24px 22px; max-width: 460px; width: 100%; max-height: 90vh; overflow: auto; box-shadow: 0 2px 8px rgba(30, 27, 75, 0.08); }
    .cw-modal h3 { color: #1E1B4B; font-size: 1.25rem; font-weight: 700; margin: 0 40px 6px 0; }
    .cw-modal .cw-muted { color: #5B5880; line-height: 1.6; }
    .cw-modal-ic { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 8px; margin-bottom: 14px; background: #EEEBFF; color: #4F46E5; }
    .cw-modal-ic.is-pink { background: #EEEBFF; color: #BE185D; } .cw-modal-ic.is-green { background: #DCF2E3; color: #0F6B32; }
    .cw-modal-x { position: absolute; top: 16px; right: 16px; display: grid; place-items: center; width: 36px; height: 36px; border: 0; border-radius: 50%; background: #EEEBFF; color: #4F46E5; cursor: pointer; }
    .cw-modal .cw-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 14px !important; }
    .cw-modal .cw-btn { height: 48px; border-radius: 8px; background: #4F46E5; }
    .cw-modal .cw-btn--ghost { background: #fff; color: #4F46E5; border: 1.5px solid #DCD6FF; }
    .cw-modal-link { color: #4F46E5 !important; font-size: 13px; font-weight: 600; text-decoration: none !important; }
    html[data-theme="dark"] .cw-modal-link { color: #C7C2FF !important; }
    .cw-modal .cw-input { border-radius: 8px; background: #F8F6FF; border-color: #ECE9FB; color: #1E1B4B; }
    html[data-theme="dark"] .cw-modal { background: #1E1B4B; color: #D6D3F0; box-shadow: 0 2px 8px rgba(30, 27, 75, 0.08); }
    html[data-theme="dark"] .cw-modal h3 { color: #fff; } html[data-theme="dark"] .cw-modal .cw-muted { color: #9C99BD; }
    html[data-theme="dark"] .cw-modal-ic, html[data-theme="dark"] .cw-modal-x { background: rgba(108, 99, 255, .2); color: #C7C2FF; }
    html[data-theme="dark"] .cw-modal-ic.is-pink { background: rgba(190, 24, 93, .22); color: #F9A8D4; } html[data-theme="dark"] .cw-modal-ic.is-green { background: rgba(15, 107, 50, .3); color: #86EFAC; }
    html[data-theme="dark"] .cw-modal .cw-btn--ghost { background: transparent; color: #C7C2FF; border-color: #3A3470; }
    html[data-theme="dark"] .cw-modal .cw-input { background: #1E1B4B; border-color: #2A2650; color: #fff; }
    /* 26/10 (Daniel: "all web dialogs consistent with the apps"): the app's ModernModalDialog — 24 px white card, a 4 px
       coloured bar on top, the round 34 px icon beside the title, 44 px buttons with 14 px corners. */
    .cw-modal { border-radius: 24px; padding: 20px 20px 18px; overflow: hidden; }
    .cw-modal::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: #4F46E5; }
    .cw-modal-ic { float: left; width: 34px; height: 34px; margin: 0 12px 4px 0; border-radius: 50%; }
    .cw-modal-ic svg { width: 18px; height: 18px; }
    .cw-modal h3 { padding-top: 5px; font-size: 16px; font-weight: 700; }
    .cw-modal h3 + .cw-muted, .cw-modal h3 + p { clear: none; }
    .cw-modal .cw-actions { clear: both; } .cw-modal .cw-btn { height: 44px; border-radius: 16px; }
    .cw-modal:has(.cw-modal-ic.is-pink)::before { background: #DB2777; } .cw-modal:has(.cw-modal-ic.is-green)::before { background: #10B981; }
    .cw-actions { display: flex; flex-wrap: wrap; gap: .5rem; }
    .cw-code { font-size: 28px; font-weight: 700; letter-spacing: .12em; color: var(--oq-title); }
    @media (max-width: 575px) { .cw-card { padding: 1rem; } .cw-big { font-size: 32px; } .cw-row { flex-wrap: wrap; } }


    /* 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); } }

