
/* ---- the 12 looks (colours from the studio's partials/studio_theme_css.html) ---- */
:root:root[data-wdt="plainwhite"] { --wdt-bg: #f6f7fb; --wdt-s1: #ffffff; --wdt-s2: #eef1f7; --wdt-border: rgba(15,23,42,0.11); --wdt-text: #1a1a2e;
    --wdt-muted: #555b6e; --wdt-input: #ffffff; --wdt-top: rgba(255,255,255,0.92); --wdt-glass: #ffffff; --wdt-glow1: rgba(236,72,153,0.07);
    --wdt-glow2: rgba(99,102,241,0.07); --wdt-shadow: 0 8px 24px rgba(15,23,42,0.07); --wdt-scheme: light; }
:root:root[data-wdt="cartoon"] { --wdt-bg: #fbf5ff; --wdt-s1: #ffffff; --wdt-s2: #f3ecfb; --wdt-border: rgba(0,0,0,0.12); --wdt-text: #2d3436;
    --wdt-muted: #5a5563; --wdt-input: #ffffff; --wdt-top: rgba(255,255,255,0.92); --wdt-glass: rgba(255,255,255,0.96); --wdt-glow1: rgba(108,92,231,0.13);
    --wdt-glow2: rgba(232,67,147,0.11); --wdt-shadow: 0 8px 22px rgba(108,92,231,0.10); --wdt-a1: #6c5ce7; --wdt-a2: #e84393; --wdt-link: #5b4bd6; --wdt-scheme: light; }
:root:root[data-wdt="day"] { --wdt-bg: #f3f3f3; --wdt-s1: #ffffff; --wdt-s2: #ececec; --wdt-border: rgba(0,0,0,0.13); --wdt-text: #111111;
    --wdt-muted: #444444; --wdt-input: #ffffff; --wdt-top: rgba(255,255,255,0.95); --wdt-glass: #ffffff; --wdt-glow1: rgba(179,139,34,0.08);
    --wdt-glow2: rgba(192,57,43,0.05); --wdt-shadow: 0 6px 18px rgba(0,0,0,0.08); --wdt-a1: #846410; --wdt-a2: #b03325; --wdt-link: #7d5e10; --wdt-scheme: light; }
:root:root[data-wdt="plainblack"] { --wdt-bg: #0c0c10; --wdt-s1: #131317; --wdt-s2: #1b1b21; --wdt-border: rgba(255,255,255,0.08); --wdt-text: #f0f0f5;
    --wdt-muted: #a1a6b3; --wdt-input: #16161b; --wdt-top: rgba(12,12,16,0.94); --wdt-glass: rgba(19,19,23,0.97); --wdt-glow1: transparent;
    --wdt-glow2: transparent; --wdt-shadow: 0 8px 24px rgba(0,0,0,0.4); --wdt-scheme: dark; }
:root:root[data-wdt="night"] { --wdt-bg: #050505; --wdt-s1: #0f0f0f; --wdt-s2: #191919; --wdt-border: rgba(255,255,255,0.08); --wdt-text: #ffffff;
    --wdt-muted: #aaaaaa; --wdt-input: #0a0a0a; --wdt-top: rgba(5,5,5,0.92); --wdt-glass: rgba(15,15,15,0.88); --wdt-glow1: rgba(255,107,157,0.07);
    --wdt-glow2: rgba(212,175,55,0.05); --wdt-shadow: 0 10px 30px rgba(0,0,0,0.5); --wdt-scheme: dark; }
:root:root[data-wdt="neon"] { --wdt-bg: #0a0014; --wdt-s1: #13061f; --wdt-s2: #1d0b2f; --wdt-border: rgba(255,0,127,0.30); --wdt-text: #ffffff;
    --wdt-muted: #f8a5c2; --wdt-input: #0d0418; --wdt-top: rgba(10,0,20,0.90); --wdt-glass: rgba(16,6,30,0.86); --wdt-glow1: rgba(255,0,127,0.20);
    --wdt-glow2: rgba(0,229,255,0.15); --wdt-shadow: 0 14px 40px rgba(0,0,0,0.45); --wdt-a1: #ff007f; --wdt-a2: #00b8d4; --wdt-on-acc: #0a0014; --wdt-link: #ff7ab4; --wdt-scheme: dark; }
:root:root[data-wdt="royal"] { --wdt-bg: #0a0500; --wdt-s1: #160e02; --wdt-s2: #211707; --wdt-border: rgba(212,175,55,0.30); --wdt-text: #ffffff;
    --wdt-muted: #d6d0c2; --wdt-input: #0f0a02; --wdt-top: rgba(10,5,0,0.92); --wdt-glass: rgba(18,12,2,0.90); --wdt-glow1: rgba(212,175,55,0.16);
    --wdt-glow2: rgba(253,203,110,0.08); --wdt-shadow: 0 14px 40px rgba(0,0,0,0.5); --wdt-a1: #d4af37; --wdt-a2: #b8860b; --wdt-on-acc: #1a1200; --wdt-link: #f5d27a; --wdt-scheme: dark; }
:root:root[data-wdt="space"] { --wdt-bg: #05050f; --wdt-s1: #0c0c1e; --wdt-s2: #15152c; --wdt-border: rgba(150,100,255,0.22); --wdt-text: #ffffff;
    --wdt-muted: #b4adff; --wdt-input: #08081a; --wdt-top: rgba(0,0,10,0.90); --wdt-glass: rgba(8,8,22,0.88); --wdt-glow1: rgba(162,155,254,0.18);
    --wdt-glow2: rgba(253,121,168,0.12); --wdt-shadow: 0 14px 40px rgba(0,0,0,0.5); --wdt-a1: #6c5ce7; --wdt-a2: #e8508f; --wdt-link: #b4adff; --wdt-scheme: dark; }
:root:root[data-wdt="sunset"] { --wdt-bg: #140800; --wdt-s1: #1f1005; --wdt-s2: #2b170a; --wdt-border: rgba(255,150,50,0.22); --wdt-text: #ffffff;
    --wdt-muted: #ffda79; --wdt-input: #180a02; --wdt-top: rgba(30,10,0,0.92); --wdt-glass: rgba(32,16,6,0.88); --wdt-glow1: rgba(255,159,67,0.18);
    --wdt-glow2: rgba(255,118,117,0.14); --wdt-shadow: 0 14px 40px rgba(0,0,0,0.5); --wdt-a1: #e1603f; --wdt-a2: #e58a2e; --wdt-on-acc: #1a0800; --wdt-link: #ffb37a; --wdt-scheme: dark; }
:root:root[data-wdt="ocean"] { --wdt-bg: #00101e; --wdt-s1: #05172c; --wdt-s2: #0b2139; --wdt-border: rgba(0,210,255,0.22); --wdt-text: #ffffff;
    --wdt-muted: #8ff0f0; --wdt-input: #031222; --wdt-top: rgba(0,10,30,0.92); --wdt-glass: rgba(6,18,34,0.86); --wdt-glow1: rgba(0,210,255,0.16);
    --wdt-glow2: rgba(0,206,201,0.12); --wdt-shadow: 0 14px 40px rgba(0,0,0,0.5); --wdt-a1: #0773c5; --wdt-a2: #00807c; --wdt-link: #74d7ff; --wdt-scheme: dark; }
:root:root[data-wdt="matrix"] { --wdt-bg: #000a00; --wdt-s1: #001300; --wdt-s2: #001d05; --wdt-border: rgba(0,255,0,0.30); --wdt-text: #00ff00;
    --wdt-muted: #66ff66; --wdt-input: #001400; --wdt-top: rgba(0,15,0,0.92); --wdt-glass: rgba(0,16,0,0.90); --wdt-glow1: rgba(0,255,0,0.10);
    --wdt-glow2: rgba(0,184,148,0.08); --wdt-shadow: 0 14px 40px rgba(0,0,0,0.5); --wdt-a1: #00b894; --wdt-a2: #00e676; --wdt-on-acc: #001a06; --wdt-link: #55ff55; --wdt-scheme: dark; }

/* light looks: darker brand colours so text and small icons stay readable on white */
:root:root:is([data-wdt="plainwhite"], [data-wdt="cartoon"], [data-wdt="day"]) {
    --wdt-acc-c: #d61f69; --wdt-acc2-c: #2563eb; --wdt-acc-b: #c026d3; --wdt-acc2-b: #7c3aed;
    --wdt-link-c: #c2185b; --wdt-logo1: #c026d3; --wdt-logo2: #0e7490; --wdt-brand: #1a1a2e; --wdt-pill: #7d5600;
    --wdt-ok: #047857; --wdt-warn: #b45309; --wdt-danger: #c81e1e; --wdt-topline: rgba(15,23,42,0.10);
}

/* ---- one mapping onto the tokens the pages use; 'custom' keeps the page's own look ---- */
:root:root[data-wdt]:not([data-wdt="custom"]) {
    color-scheme: var(--wdt-scheme);
    --bk-bg: var(--wdt-bg); --bk-surface: var(--wdt-s1); --bk-surface-2: var(--wdt-s2); --bk-border: var(--wdt-border);
    --bk-text: var(--wdt-text); --bk-muted: var(--wdt-muted); --bk-input: var(--wdt-input);
    --bk-gold: var(--wdt-a1, var(--wdt-acc-c, #e0287a)); --bk-gold-2: var(--wdt-a2, var(--wdt-acc2-c, #3d7bf0)); --bk-on-gold: var(--wdt-on-acc, #fff);
    --bk-pink: var(--wdt-logo1, #ff00ff); --bk-cyan: var(--wdt-logo2, #00ffff);
    --bk-ok: var(--wdt-ok, #34d399); --bk-warn: var(--wdt-warn, #f59e0b); --bk-danger: var(--wdt-danger, #ef4444);
    --bk-link: var(--wdt-link, var(--wdt-link-c, #ff7ab4));
    --ev-bg: var(--wdt-bg); --ev-surface: var(--wdt-s1); --ev-surface-2: var(--wdt-s2); --ev-border: var(--wdt-border);
    --ev-text: var(--wdt-text); --ev-muted: var(--wdt-muted); --ev-input: var(--wdt-input);
    --ev-accent: var(--wdt-a1, var(--wdt-acc-b, #ff2bd6)); --ev-a2: var(--wdt-a2, var(--wdt-acc2-b, #a855f7)); --ev-on-accent: var(--wdt-on-acc, #fff);
    --ev-ok: var(--wdt-ok, #10b981); --ev-warn: var(--wdt-warn, #f59e0b); --ev-danger: var(--wdt-danger, #ef4444);
}

/* status badges carry their own colours (made for dark): readable versions on the light looks */
:root:root:is([data-wdt="plainwhite"], [data-wdt="cartoon"], [data-wdt="day"]) .st-requested,
:root:root:is([data-wdt="plainwhite"], [data-wdt="cartoon"], [data-wdt="day"]) .stg-new { color: #b45309; }
:root:root:is([data-wdt="plainwhite"], [data-wdt="cartoon"], [data-wdt="day"]) .st-quoted,
:root:root:is([data-wdt="plainwhite"], [data-wdt="cartoon"], [data-wdt="day"]) .stg-talking { color: #1d4ed8; }
:root:root:is([data-wdt="plainwhite"], [data-wdt="cartoon"], [data-wdt="day"]) .stg-quoted { color: #6d28d9; }
:root:root:is([data-wdt="plainwhite"], [data-wdt="cartoon"], [data-wdt="day"]) .st-confirmed,
:root:root:is([data-wdt="plainwhite"], [data-wdt="cartoon"], [data-wdt="day"]) .st-completed,
:root:root:is([data-wdt="plainwhite"], [data-wdt="cartoon"], [data-wdt="day"]) .stg-booked,
:root:root:is([data-wdt="plainwhite"], [data-wdt="cartoon"], [data-wdt="day"]) .stg-done,
:root:root:is([data-wdt="plainwhite"], [data-wdt="cartoon"], [data-wdt="day"]) .ev-verified { color: #047857; }
:root:root:is([data-wdt="plainwhite"], [data-wdt="cartoon"], [data-wdt="day"]) .st-declined,
:root:root:is([data-wdt="plainwhite"], [data-wdt="cartoon"], [data-wdt="day"]) .st-cancelled,
:root:root:is([data-wdt="plainwhite"], [data-wdt="cartoon"], [data-wdt="day"]) .stg-lost { color: #475569; }
:root:root:is([data-wdt="plainwhite"], [data-wdt="cartoon"], [data-wdt="day"]) .ev-stars,
:root:root:is([data-wdt="plainwhite"], [data-wdt="cartoon"], [data-wdt="day"]) .bk-stars { color: #d97706; }
/* audit 2026-10-17: the open tab's label on the dark looks, a touch lighter so it reads (pink / violet on navy) */
:root:not(:is([data-wdt="plainwhite"], [data-wdt="cartoon"], [data-wdt="day"])) .bk-bnav.bk-float a.active { color: color-mix(in srgb, var(--bk-gold) 72%, #fff); }
:root:not(:is([data-wdt="plainwhite"], [data-wdt="cartoon"], [data-wdt="day"])) .ev-bnav.ev-float a.active { color: color-mix(in srgb, var(--ev-accent) 72%, #fff); }
/* Hindi: wide letter-spacing splits the vowel marks off their letters */
html[lang="hi"] :is(.bk-brand small, .bkm-sec h3, .evm-sec h3, .wdp-card-l, .wdp-foot, .wdp-sec-t) {
    letter-spacing: .3px; font-family: 'Noto Sans Devanagari', 'Poppins', sans-serif; text-transform: none; }
