/* OGL site, Cortex v4 skin (2026-11-11).
   Loaded LAST on every page, after the original ct.css / ct-app.css and the generated auto-*.css colour overrides.
   Rule of this file: paint only. No width, height, margin, padding, gap, font-size, line-height, display or position
   changes, so every box keeps the base-design-matched geometry.
   Kit: ~/bb-work/ogl-brandkit/brand/v4/tokens.md + match/measurements.md + Nico's sheet cortex-brand-kit-NICO-LATEST-1141.jpg.
   No yellow, gold, amber, orange or #FF4F00 anywhere. Status: info Blue, needs-you Purple, late Pink deep. */

:root {
  /* kit roles */
  --v4-ink: #1A1726;
  --v4-ink2: #57536B;
  --v4-blue: #0B5FFF;
  --v4-purple: #A855F7;
  --v4-purple-deep: #A855F7;   /* v4.1: deep purple dropped, Purple only */
  --v4-pink: #FF4ED8;            /* glow only */
  --v4-pink-deep: #D6338F;
  --v4-pink-text: #8F1D5E;       /* v4.1 Alert ink for words (7:1); #C42A85 kept for fills only */
  --v4-peach: #FFB36B;           /* glow only */
  --v4-sky: #7FD8FF;             /* glow only */
  --v4-lavender: #D6CCFF;
  --v4-periwinkle: #B7C7FF;
  --v4-misty: #CDE8FF;
  --v4-soft-pink: #FFD6F0;
  --v4-warm-peach: #FFE1C2;
  --v4-paper: #FFF7E6;           /* v4.1 paper = Cream, under the mesh */
  /* v4.1: bands are a frosted veil over the page mesh plus their own kit blobs; no flat tints */
  --v4-veil: rgba(255, 255, 255, 0);  /* bands carry their blobs only, so the page mesh runs through with no band edge */
  --v4-band-misty: var(--v4-veil);
  --v4-band-pink: var(--v4-veil);
  --v4-band-white: var(--v4-veil);
  /* primary action: measured 88deg sweep, end stops darkened so the white label passes AA everywhere (min 4.76:1) */
  /* v4.1 primary (tokens.json primaryPill, 88.3deg) without the orange end stop #D9622E (no orange on this site): warm end at #E0565C */
  --v4-action: linear-gradient(88.3deg, #0088FB 0%, #9454FF 25%, #DB3FB5 50%, #E0565C 75%, #D9622E 100%);  /* tokens.json primaryPill.stops, one value everywhere; OPEN CALL 1 */
  --v4-action-sheen: radial-gradient(ellipse 26% 70% at 4% -20%, rgba(216, 255, 255, .30), rgba(216, 255, 255, 0) 70%),
                     radial-gradient(ellipse 22% 70% at 97% -30%, rgba(255, 194, 236, .22), rgba(255, 194, 236, 0) 70%);
  /* blurred copy of the gradient, as layered coloured shadows (no pseudo-element, so no layout risk) */
  --v4-action-glow: -14px 5px 18px -6px rgba(0, 136, 251, .50), 0 5px 20px -6px rgba(148, 84, 255, .52), 14px 5px 18px -6px rgba(217, 98, 46, .40);
  --v4-accent-text: linear-gradient(90deg, #0B5FFF 0%, #7B3FF2 52%, #C42A85 100%);
  --v4-progress: linear-gradient(90deg, #5DD5FD, #49B3FC 18%, #4A94FD 34%, #6B77FD 52%, #9370FC 68%, #B869FC 84%, #D486FC);
  /* depth: purple-tinted (tokens: small y3 b13, card y8 b34, floating y13 b55) */
  --v4-sh-small: 0 3px 13px rgba(110, 48, 90, .10);
  --v4-sh-card: 0 8px 34px rgba(110, 48, 90, .14);
  --v4-sh-float: 0 13px 55px rgba(110, 48, 90, .18);
  --v4-glass: linear-gradient(180deg, rgba(255, 255, 255, .62) 0%, rgba(255, 255, 255, 0) 42%);  /* sheen over a .62 white fill */
  --v4-glass-edge: inset 0 1px 0 rgba(255, 255, 255, .95), inset 0 0 21px rgba(255, 255, 255, .32), 0 0 0 1px rgba(255, 255, 255, .24);
  --ease: cubic-bezier(.16, 1, .3, 1);

  /* the original theme variables, remapped to the kit (HSL triplets, same format as ct.css) */
  --brand: 219.3 100% 52.2%;
  --brand-light: 270.7 91% 65.1%;
  --brand-pale: 253.6 100% 95.7%;
  --primary: 219.3 100% 52.2%;
  --ring: 270.7 91% 65.1%;
  --sidebar-primary: 219.3 100% 52.2%;
  --sidebar-accent-foreground: 219.3 100% 52.2%;
  --sidebar-ring: 270.7 91% 65.1%;
  --glass-teal: 219.3 100% 52.2%;
  --chart-1: 219.3 100% 52.2%;
  --chart-2: 270.7 91% 65.1%;
  --chart-4: 326.1 66.5% 52%;
  --chart-5: 265.8 85.5% 59.4%;
  --accent: 270.7 91% 65.1%;
  --accent-foreground: 252 24.6% 12%;
  --ink: 252 24.6% 12%;
  --ink-black: 253.8 33.3% 7.6%;
  --slate: 249.2 19.4% 26.3%;
  --foreground: 252 24.6% 12%;
  --card-foreground: 252 24.6% 12%;
  --popover-foreground: 252 24.6% 12%;
  --sidebar-foreground: 252 24.6% 12%;
  --secondary: 249.2 19.4% 26.3%;
  --muted-foreground: 250 12.6% 37.3%;
  --muted-gray: 250 12.6% 37.3%;
  --muted: 257.1 43.8% 93.7%;
  --border: 255 34.8% 91%;
  --border-light: 255 34.8% 91%;
  --input: 253.8 100% 97.5%;
  --sidebar-border: 255 34.8% 91%;
  --popover-border: 255 34.8% 91%;
  --card-border: 255 34.8% 94%;
  --background: 0 53.8% 97.5%;
  --cream: 0 53.8% 97.5%;
  --cream-dark: 330 41.7% 95.3%;
  --destructive: 326.1 66.5% 52%;
  --v5-lilac: 270.7 91% 65.1%;
  --v5-lilac-light: 253.6 100% 88%;
  --lilac-pale: 253.8 100% 97.5%;
  --coral: 326.1 66.5% 52%;
  --coral-light: 322 100% 80%;
  --coral-pale: 322 100% 96%;
  --sunny: 322 100% 92%;          /* yellow role -> Soft pink */
  --sunny-light: 322 100% 94%;
  --sunny-pale: 253.8 100% 97.5%;
  --v5-stone: 250 12.6% 37.3%;    /* body grey -> Ink 2 */
  --v5-stone-light: 252 14% 62%;
  --shadow-teal: var(--v4-action-glow);
  --shadow-lilac: 0 8px 24px rgba(168, 85, 247, .25);
}

html, body { background-color: var(--v4-paper); }
::selection { background: rgba(168, 85, 247, .22); }

/* ---------------------------------------------------------------- WARM HUES: one swappable block (OPEN CALL 1 + 2, Nico deciding butter/gold).
   Every warm tint on the site reads these three triplets. Default = kit peach (tokens color.peach #FFB36B, mesh_v42 corner #FFBE8C, tint.warmPeach #FFE1C2).
   To try his printed butter/gold, swap the three lines (e.g. 254, 164, 0 for his #FEA400) and nothing else. */
:root {
  --v4-warm-hot: 255, 179, 107;   /* #FFB36B  peach hot spot (mesh_v42 has #FF7B00 at .44 here) */
  --v4-warm-glow: 255, 190, 140;  /* #FFBE8C  (mesh_v42 has #FF8000 at .32/.25: printed butter, peach stand-in) */
  --v4-warm-soft: 255, 225, 194;  /* #FFE1C2  warm peach */
  --v4-warm-btn: 255, 152, 88;      /* #FF9858  primary pill warm end (his button sheet #FE9B31, held under the R6 40-70 deg band) */
  --v4-warm-btn-soft: 255, 221, 200; /* #FFDDC8 secondary chip warm end (his sheet #FEE5AE is butter, peach stand-in) */
}

/* ---------------------------------------------------------------- buttons: Nico's button sheet (brand/v4/final/BUTTONS.md, nico-refs/buttons-crop-NICO.png)
   Primary: diffused multi-blob fill over the linear base, thin bright white rim (brightest on top), top sheen,
   coloured glow under. Paint only: the glow is the gradient's colours as stacked blurred shadows (no pseudo-element,
   no position change, so 0 px drift). Secondary: soft two-tone lavender to warm, faint rim, soft warm shadow, ink label. */
:root {
  --v4-btn-base: linear-gradient(90deg, #3A7BFE 0%, #5E66FD 13%, #8F5BFB 27%, #C157F5 40%, #F25FDE 53%, #FE69C0 64%, #FE7A9C 76%, #FE8A7A 87%, rgb(var(--v4-warm-btn)) 100%);
  --v4-btn-fill:
    linear-gradient(180deg, rgba(255, 255, 255, .25) 0%, rgba(255, 255, 255, 0) 40%),
    linear-gradient(0deg, rgba(70, 30, 160, .14) 0%, rgba(70, 30, 160, 0) 42%),
    radial-gradient(ellipse 22% 80% at 4% 50%, rgba(80, 170, 255, .75), rgba(80, 170, 255, 0) 72%),
    radial-gradient(ellipse 24% 90% at 26% 72%, rgba(118, 80, 255, .55), rgba(118, 80, 255, 0) 72%),
    radial-gradient(ellipse 26% 110% at 52% 64%, rgba(255, 86, 214, .62), rgba(255, 86, 214, 0) 72%),
    radial-gradient(ellipse 22% 70% at 70% 18%, rgba(255, 170, 214, .45), rgba(255, 170, 214, 0) 72%),
    radial-gradient(ellipse 26% 110% at 94% 72%, rgba(var(--v4-warm-btn), 1), rgba(var(--v4-warm-btn), 0) 72%),
    radial-gradient(ellipse 18% 60% at 92% 12%, rgba(255, 196, 150, .5), rgba(255, 196, 150, 0) 72%),
    var(--v4-btn-base);
  --v4-btn-rim: inset 0 0 0 1px rgba(255, 255, 255, .9), inset 0 1.5px 1px rgba(255, 255, 255, .95), inset 0 0 8px rgba(255, 255, 255, .22);
  --v4-btn-glow: -18px 8px 26px -8px rgba(58, 123, 254, .42), 0 9px 28px -6px rgba(193, 87, 245, .40),
    10px 9px 28px -6px rgba(242, 95, 222, .36), 22px 8px 26px -8px rgba(var(--v4-warm-btn), .40);
  --v4-chip-fill:
    linear-gradient(180deg, rgba(255, 255, 255, .34) 0%, rgba(255, 255, 255, 0) 45%),
    radial-gradient(ellipse 34% 120% at 72% 92%, rgba(250, 150, 222, .55), rgba(250, 150, 222, 0) 72%),
    radial-gradient(ellipse 30% 110% at 42% 100%, rgba(180, 130, 255, .45), rgba(180, 130, 255, 0) 72%),
    radial-gradient(ellipse 30% 120% at 100% 50%, rgba(var(--v4-warm-btn-soft), 1), rgba(var(--v4-warm-btn-soft), 0) 74%),
    radial-gradient(ellipse 30% 120% at 0% 50%, rgba(208, 220, 255, .9), rgba(208, 220, 255, 0) 74%),
    linear-gradient(90deg, #CBD2FD 0%, #C8C1FD 22%, #D2B3FD 45%, #E7BEFB 62%, #F7CAEC 80%, rgb(var(--v4-warm-btn-soft)) 100%);
  --v4-chip-edge: inset 0 0 0 1px rgba(255, 255, 255, .6), inset 0 1px 0 rgba(255, 255, 255, .9), inset 0 0 8px rgba(255, 255, 255, .3),
    0 6px 18px -5px rgba(178, 112, 214, .34), 0 2px 5px rgba(110, 48, 90, .06);
  --v4-action-glow: var(--v4-btn-glow);
}

/* ---------------------------------------------------------------- canvas: his mesh (tokens.json v4.1 canvas) */
/* Painted on the page wrapper (background only: no box, no layout). Hero layer = his 1024x1280 sheet scaled to the page width;
   below it a seamless continuation tile of lavender / misty blue / soft pink / warm peach so the mesh carries down the page.
   Dot grid (white .35, 21px) and grain (~5%) over all of it. */
:root {
  --v4-dots: radial-gradient(circle at 1px 1px, rgba(255, 255, 255, .35) 1px, rgba(255, 255, 255, 0) 1.6px);
  --v4-grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='1.6' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .42 0 0 0 0 .36 0 0 0 0 .45 0 0 0 .09 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
#root > div.min-h-screen, body > div.min-h-screen, #root > div.min-h-screen.bg-cream, body > div.min-h-screen.bg-cream {
  background-color: #FCF6F5;
  background-image:
    var(--v4-grain),
    var(--v4-dots),
    radial-gradient(circle 35vw at 73.5% 50.2vw, rgba(255, 255, 255, .26) 0%, rgba(236, 226, 255, .40) 80%, rgba(220, 206, 255, .46) 95.4%, rgba(255, 255, 255, 1) 96.3%, rgba(255, 255, 255, .62) 97.4%, rgba(255, 255, 255, .22) 98.8%, rgba(255, 255, 255, 0) 100%),
    radial-gradient(circle 20.5vw at 18.4% 82.6vw, rgba(255, 249, 255, .30) 0%, rgba(255, 249, 255, .40) 93.5%, rgba(255, 255, 255, .85) 95.8%, rgba(255, 255, 255, .30) 97.8%, rgba(255, 255, 255, 0) 100%),
    radial-gradient(ellipse 29.3vw 32.2vw at 98.6% 62.5vw, rgba(201, 180, 255, 0.620) 0%, rgba(201, 180, 255, 0.546) 20%, rgba(201, 180, 255, 0.372) 40%, rgba(201, 180, 255, 0.192) 60%, rgba(201, 180, 255, 0.062) 80%, rgba(201, 180, 255, 0.000) 100%),
    radial-gradient(ellipse 42.2vw 35.7vw at 2.1% 23.9vw, rgba(255, 255, 255, 0.770) 0%, rgba(255, 255, 255, 0.678) 20%, rgba(255, 255, 255, 0.462) 40%, rgba(255, 255, 255, 0.239) 60%, rgba(255, 255, 255, 0.077) 80%, rgba(255, 255, 255, 0.000) 100%),
    radial-gradient(ellipse 39.2vw 18.0vw at 21.4% 107.6vw, rgba(255, 203, 255, 0.800) 0%, rgba(255, 203, 255, 0.704) 20%, rgba(255, 203, 255, 0.480) 40%, rgba(255, 203, 255, 0.248) 60%, rgba(255, 203, 255, 0.080) 80%, rgba(255, 203, 255, 0.000) 100%),
    radial-gradient(ellipse 27.2vw 18.8vw at 92.4% 125.0vw, rgba(var(--v4-warm-soft), 0.670) 0%, rgba(var(--v4-warm-soft), 0.590) 20%, rgba(var(--v4-warm-soft), 0.402) 40%, rgba(var(--v4-warm-soft), 0.208) 60%, rgba(var(--v4-warm-soft), 0.067) 80%, rgba(var(--v4-warm-soft), 0.000) 100%),
    radial-gradient(ellipse 25.3vw 1.9vw at 26.6% 129.2vw, rgba(244, 215, 255, 0.090) 0%, rgba(244, 215, 255, 0.079) 20%, rgba(244, 215, 255, 0.054) 40%, rgba(244, 215, 255, 0.028) 60%, rgba(244, 215, 255, 0.009) 80%, rgba(244, 215, 255, 0.000) 100%),
    radial-gradient(ellipse 41.3vw 16.9vw at 5.9% 105.5vw, rgba(69, 201, 255, 0.790) 0%, rgba(69, 201, 255, 0.695) 20%, rgba(69, 201, 255, 0.474) 40%, rgba(69, 201, 255, 0.245) 60%, rgba(69, 201, 255, 0.079) 80%, rgba(69, 201, 255, 0.000) 100%),
    radial-gradient(ellipse 41.9vw 65.0vw at -4.9% 41.8%, rgba(192, 222, 255, 0.790) 0%, rgba(192, 222, 255, 0.695) 20%, rgba(192, 222, 255, 0.474) 40%, rgba(192, 222, 255, 0.245) 60%, rgba(192, 222, 255, 0.079) 80%, rgba(192, 222, 255, 0.000) 100%),
    radial-gradient(ellipse 29.3vw 18.8vw at 103.6% 24.1vw, rgba(var(--v4-warm-glow), 0.250) 0%, rgba(var(--v4-warm-glow), 0.220) 20%, rgba(var(--v4-warm-glow), 0.150) 40%, rgba(var(--v4-warm-glow), 0.077) 60%, rgba(var(--v4-warm-glow), 0.025) 80%, rgba(var(--v4-warm-glow), 0.000) 100%),
    radial-gradient(ellipse 17.5vw 14.7vw at 68.6% 2.1vw, rgba(var(--v4-warm-glow), 0.320) 0%, rgba(var(--v4-warm-glow), 0.282) 20%, rgba(var(--v4-warm-glow), 0.192) 40%, rgba(var(--v4-warm-glow), 0.099) 60%, rgba(var(--v4-warm-glow), 0.032) 80%, rgba(var(--v4-warm-glow), 0.000) 100%),
    radial-gradient(ellipse 14.7vw 18.7vw at 94.6% 12.8vw, rgba(var(--v4-warm-hot), 0.440) 0%, rgba(var(--v4-warm-hot), 0.387) 20%, rgba(var(--v4-warm-hot), 0.264) 40%, rgba(var(--v4-warm-hot), 0.136) 60%, rgba(var(--v4-warm-hot), 0.044) 80%, rgba(var(--v4-warm-hot), 0.000) 100%),
    radial-gradient(ellipse 22.8vw 18.3vw at 86.5% 3.9vw, rgba(255, 164, 255, 1.000) 0%, rgba(255, 164, 255, 0.880) 20%, rgba(255, 164, 255, 0.600) 40%, rgba(255, 164, 255, 0.310) 60%, rgba(255, 164, 255, 0.100) 80%, rgba(255, 164, 255, 0.000) 100%),
    radial-gradient(ellipse 29.3vw 25.4vw at 97.7% 23.4%, rgba(201, 184, 255, 0.700) 0%, rgba(201, 184, 255, 0.616) 20%, rgba(201, 184, 255, 0.420) 40%, rgba(201, 184, 255, 0.217) 60%, rgba(201, 184, 255, 0.070) 80%, rgba(201, 184, 255, 0.000) 100%),
    radial-gradient(ellipse 35.2vw 29.3vw at 2.9% 42.2%, rgba(181, 219, 255, 0.780) 0%, rgba(181, 219, 255, 0.686) 20%, rgba(181, 219, 255, 0.468) 40%, rgba(181, 219, 255, 0.242) 60%, rgba(181, 219, 255, 0.078) 80%, rgba(181, 219, 255, 0.000) 100%),
    radial-gradient(ellipse 32.2vw 25.4vw at 81.1% 68.8%, rgba(255, 194, 236, 0.700) 0%, rgba(255, 194, 236, 0.616) 20%, rgba(255, 194, 236, 0.420) 40%, rgba(255, 194, 236, 0.217) 60%, rgba(255, 194, 236, 0.070) 80%, rgba(255, 194, 236, 0.000) 100%),
    radial-gradient(ellipse 29.3vw 21.5vw at 41.0% 70.3%, rgba(169, 185, 255, 0.550) 0%, rgba(169, 185, 255, 0.484) 20%, rgba(169, 185, 255, 0.330) 40%, rgba(169, 185, 255, 0.171) 60%, rgba(169, 185, 255, 0.055) 80%, rgba(169, 185, 255, 0.000) 100%),
    radial-gradient(ellipse 27.3vw 17.6vw at 32.2% 14.1%, rgba(var(--v4-warm-soft), 0.420) 0%, rgba(var(--v4-warm-soft), 0.370) 20%, rgba(var(--v4-warm-soft), 0.252) 40%, rgba(var(--v4-warm-soft), 0.130) 60%, rgba(var(--v4-warm-soft), 0.042) 80%, rgba(var(--v4-warm-soft), 0.000) 100%),
    radial-gradient(ellipse 25.4vw 23.4vw at 98.6% 50.0%, rgba(159, 220, 255, 0.550) 0%, rgba(159, 220, 255, 0.484) 20%, rgba(159, 220, 255, 0.330) 40%, rgba(159, 220, 255, 0.171) 60%, rgba(159, 220, 255, 0.055) 80%, rgba(159, 220, 255, 0.000) 100%),
    radial-gradient(ellipse 32.2vw 16.6vw at 11.7% 76.6%, rgba(249, 184, 240, 0.500) 0%, rgba(249, 184, 240, 0.440) 20%, rgba(249, 184, 240, 0.300) 40%, rgba(249, 184, 240, 0.155) 60%, rgba(249, 184, 240, 0.050) 80%, rgba(249, 184, 240, 0.000) 100%);
  background-size: 180px 180px, 21px 21px, 100% 160vw, 100% 160vw, 100% 160vw, 100% 160vw, 100% 160vw, 100% 160vw, 100% 160vw, 100% 160vw, 100% 160vw, 100% 160vw, 100% 160vw, 100% 160vw, 100% 160vw, 100% 125vw, 100% 125vw, 100% 125vw, 100% 125vw, 100% 125vw, 100% 125vw, 100% 125vw;
  background-repeat: repeat, repeat, no-repeat, no-repeat, no-repeat, no-repeat, no-repeat, no-repeat, no-repeat, no-repeat, no-repeat, no-repeat, no-repeat, no-repeat, no-repeat, repeat-y, repeat-y, repeat-y, repeat-y, repeat-y, repeat-y, repeat-y;
  background-position: 0 0, 0 0, 0 0, 0 0, 0 0, 0 0, 0 0, 0 0, 0 0, 0 0, 0 0, 0 0, 0 0, 0 0, 0 0, 0 0, 0 0, 0 0, 0 0, 0 0, 0 0, 0 0;
}
.bg-cream { background-color: transparent; }
/* the old orange/lilac/yellow hero blurs -> kit glows */
.bg-brand\/5.blur-3xl { background-color: rgba(127, 216, 255, .16); }
.bg-v5-lilac\/5.blur-3xl { background-color: rgba(201, 184, 255, .30); }
.bg-sunny\/5.blur-3xl { background-color: rgba(255, 194, 236, .30); }

/* ---------------------------------------------------------------- bands: paper + three kit blobs (.45-.55) + dot grid + grain; blobs fade out before the edges so waves meet flat paper */
section.bg-\[\#F3F4F6\] {
  background-color: var(--v4-veil);
  background-image:
    radial-gradient(ellipse 44% 36% at 14% 50%, rgba(201, 184, 255, 0.72) 0%, rgba(201, 184, 255, 0.43) 40%, rgba(201, 184, 255, 0.00) 100%),
    radial-gradient(ellipse 40% 34% at 60% 46%, rgba(181, 219, 255, 0.80) 0%, rgba(181, 219, 255, 0.48) 40%, rgba(181, 219, 255, 0.00) 100%),
    radial-gradient(ellipse 38% 34% at 90% 54%, rgba(255, 194, 236, 0.65) 0%, rgba(255, 194, 236, 0.39) 40%, rgba(255, 194, 236, 0.00) 100%);
  background-size: 100% 100%;
  background-repeat: no-repeat;
}
.bg-\[\#F3F4F6\]:not(section) { background-color: rgba(255, 255, 255, .5); }
section.bg-brand-pale {
  background-color: var(--v4-veil);
  background-image:
    radial-gradient(ellipse 42% 36% at 86% 50%, rgba(255, 194, 236, 0.80) 0%, rgba(255, 194, 236, 0.48) 40%, rgba(255, 194, 236, 0.00) 100%),
    radial-gradient(ellipse 40% 34% at 12% 54%, rgba(201, 184, 255, 0.72) 0%, rgba(201, 184, 255, 0.43) 40%, rgba(201, 184, 255, 0.00) 100%),
    radial-gradient(ellipse 34% 30% at 50% 48%, rgba(var(--v4-warm-soft), 0.45) 0%, rgba(var(--v4-warm-soft), 0.27) 40%, rgba(var(--v4-warm-soft), 0) 100%);
  background-size: 100% 100%;
  background-repeat: no-repeat;
}
section.bg-white {
  background-color: var(--v4-veil);
  background-image:
    radial-gradient(ellipse 40% 34% at 10% 48%, rgba(181, 219, 255, 0.72) 0%, rgba(181, 219, 255, 0.43) 40%, rgba(181, 219, 255, 0.00) 100%),
    radial-gradient(ellipse 36% 32% at 52% 54%, rgba(169, 185, 255, 0.65) 0%, rgba(169, 185, 255, 0.39) 40%, rgba(169, 185, 255, 0.00) 100%),
    radial-gradient(ellipse 40% 34% at 92% 48%, rgba(255, 194, 236, 0.72) 0%, rgba(255, 194, 236, 0.43) 40%, rgba(255, 194, 236, 0.00) 100%);
  background-size: 100% 100%;
  background-repeat: no-repeat;
}

/* wave divider strips: inline background + rect/path fills */
div.w-full.overflow-hidden[style*="background-color: rgb(255, 252, 247)"] { background-color: transparent !important; }
div.w-full.overflow-hidden[style*="background-color: rgb(255, 255, 255)"] { background-color: var(--v4-band-white) !important; }
div.w-full.overflow-hidden[style*="background-color: rgb(243, 244, 246)"] { background-color: var(--v4-band-misty) !important; }
div.w-full.overflow-hidden[style*="background-color: rgb(255, 230, 219)"] { background-color: var(--v4-band-pink) !important; }
div.w-full.overflow-hidden > svg > :is(rect, path)[fill="#FFFCF7" i] { fill: transparent; }
div.w-full.overflow-hidden > svg > path[fill="#FFFFFF" i] { fill: var(--v4-veil); }
/* strips overlap their neighbours by 1px (margin -1px); clip that row so the veil is never painted twice (no seam line) */
div.w-full.overflow-hidden[style*="margin-top: -1px"] { clip-path: inset(1px 0); }
div.w-full.overflow-hidden > svg > rect[fill="#FFFFFF" i] { fill: var(--v4-band-white); }
div.w-full.overflow-hidden > svg > :is(rect, path)[fill="#F3F4F6" i] { fill: var(--v4-band-misty); }
div.w-full.overflow-hidden > svg > :is(rect, path)[fill="#FFE6DB" i] { fill: #FDEAF6; }
div.w-full.overflow-hidden > svg > :is(rect, path)[fill="#FFE6DB" i] { fill: var(--v4-veil); }
div.w-full.overflow-hidden > svg > path[fill="#1F242E" i] { fill: var(--v4-veil); }  /* footer is a light veil now */

/* ---------------------------------------------------------------- primary action: gradient pill */
.bg-brand.text-white, .bg-primary.text-primary-foreground, .bg-primary.text-white,
.bg-\[\#FF4F00\].text-white, .bg-blue-500.text-white {
  background-color: #9454FF;
  background-image: var(--v4-btn-fill);
  color: #fff;
  text-shadow: 0 1px 3px rgba(70, 20, 110, .32);
  box-shadow: var(--v4-btn-rim), var(--v4-btn-glow);
}
.bg-brand.text-white.shadow-lg, .bg-brand.text-white.shadow-xl, .bg-brand.text-white.shadow-teal {
  box-shadow: var(--v4-btn-rim), var(--v4-btn-glow);
}
.hover\:bg-brand\/90:hover.bg-brand, .bg-brand.text-white:hover { filter: saturate(1.08) brightness(1.03); }
/* tiny round "selected" dots and decorative brand fills stay solid Blue */
.bg-brand:not(.text-white) { background-color: var(--v4-blue); }

/* progress fills */
:is(.h-1, .h-1\.5, .h-2, .h-\[3px\], .h-\[4px\], .h-\[6px\]).bg-brand,
:is(.h-1, .h-1\.5, .h-2).rounded-full.bg-brand { background-image: var(--v4-progress); }

/* ---------------------------------------------------------------- accent words in headings: gradient ink */
:is(h1, h2, h3) .text-brand, :is(h1, h2, h3).text-brand, .text-brand.font-display, .ct-accent {
  background-image: var(--v4-accent-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}
/* squiggle underline */
svg.squiggle path, path[stroke="#A98BFC" i] { stroke: var(--v4-purple); }

/* ---------------------------------------------------------------- secondary chips: frosted lavender, ink label */
.bg-brand-pale.text-brand, .bg-brand\/10.text-brand, .bg-brand\/10 .text-brand {
  color: #1A1726;
}
span.bg-brand-pale.rounded-full, div.bg-brand\/10.rounded-full, span.bg-brand\/10.rounded-full {
  background-color: #EFE9FE;
  background-image: var(--v4-chip-fill);
  box-shadow: var(--v4-chip-edge);
}
/* nav hover + selected */
.hover\:bg-brand-pale:hover { background-color: rgba(201, 184, 255, .42); }
.hover\:text-brand:hover { color: var(--v4-blue); }

/* ---------------------------------------------------------------- icon tiles: kit gradient tiles, white glyph */
div.rounded-xl.bg-brand-pale:is(.w-8, .w-9, .w-10, .w-11, .w-12, .w-14),
div.rounded-2xl.bg-brand-pale:is(.w-10, .w-12, .w-14, .w-16) {
  background-image:
    radial-gradient(ellipse 82% 120% at -2% -12%, rgba(0, 212, 254, .9), rgba(0, 212, 254, 0)),
    linear-gradient(40deg, #A2EDFF 0%, #7271FD 25%, #B38BFD 50%, #FD84FB 75%, #DF55FC 100%);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .45), inset 0 0 9px rgba(255, 255, 255, .18), 0 8px 13px rgba(2, 64, 255, .10);
}
div.rounded-xl.bg-brand-pale:is(.w-8, .w-9, .w-10, .w-11, .w-12, .w-14) svg,
div.rounded-xl.bg-brand-pale:is(.w-8, .w-9, .w-10, .w-11, .w-12, .w-14) svg [stroke],
div.rounded-2xl.bg-brand-pale:is(.w-10, .w-12, .w-14, .w-16) svg,
div.rounded-2xl.bg-brand-pale:is(.w-10, .w-12, .w-14, .w-16) svg [stroke] { stroke: #fff; color: #fff; }

/* ---------------------------------------------------------------- glass cards */
.bg-white:is(.rounded-2xl, .rounded-3xl, .rounded-\[20px\], .rounded-\[24px\], .rounded-\[28px\], .rounded-\[32px\]):not(button):not(.rounded-full) {
  background-color: rgba(255, 255, 255, .56);
  background-image: var(--v4-glass);
  -webkit-backdrop-filter: blur(26px) saturate(1.8);
  backdrop-filter: blur(26px) saturate(1.8);
  border-color: rgba(255, 255, 255, .24);
  box-shadow: var(--v4-glass-edge), var(--v4-sh-small);
}
.bg-white.rounded-2xl:not(button):not(.rounded-full) { border-radius: 30px; }
.bg-white.rounded-3xl:not(button):not(.rounded-full) { border-radius: 30px; }
.bg-white.rounded-2xl.rounded-br-sm, .bg-brand.rounded-2xl.rounded-br-sm { border-bottom-right-radius: 4px; }
/* hairline greys -> lavender hairlines */
[class*="border-v5-stone-light"], .border-gray-100, .border-gray-200, [class*="border-border"] { border-color: rgba(167, 150, 214, .22); }
.bg-gray-50 { background-color: #F7F5FD; }
.bg-gray-100 { background-color: #EFECF8; }

/* ---------------------------------------------------------------- shadows: purple-tinted */
.shadow-sm { --tw-shadow: 0 1px 3px rgba(110, 48, 90, .06), 0 3px 13px rgba(110, 48, 90, .08); }
.shadow, .shadow-md { --tw-shadow: 0 3px 13px rgba(110, 48, 90, .10); }
.shadow-lg { --tw-shadow: 0 8px 34px rgba(110, 48, 90, .14); }
.shadow-xl { --tw-shadow: 0 13px 40px rgba(110, 48, 90, .16); }
.shadow-2xl { --tw-shadow: 0 13px 55px rgba(110, 48, 90, .18); }
.hover\:shadow-xl:hover { --tw-shadow: 0 13px 40px rgba(110, 48, 90, .18); }
.hover\:shadow-md:hover { --tw-shadow: 0 5px 21px rgba(110, 48, 90, .13); }
.bg-white:is(.rounded-2xl, .rounded-3xl):is(.shadow-sm, .shadow, .shadow-md, .shadow-lg, .shadow-xl, .shadow-2xl):not(button):not(.rounded-full) {
  box-shadow: var(--v4-glass-edge), var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
}

/* ---------------------------------------------------------------- inline SVG / inline style colours (home mockups) */
[stroke="#FF4F00" i] { stroke: var(--v4-blue); }
[fill="#FF4F00" i] { fill: var(--v4-blue); }
[stroke="#FCD34D" i] { stroke: var(--v4-pink-deep); }  /* a stroke in Soft pink vanishes; icons take Pink deep */
[fill="#FCD34D" i] { fill: var(--v4-soft-pink); }
[stroke="#F97066" i] { stroke: var(--v4-pink-deep); }
[fill="#F97066" i] { fill: var(--v4-pink-deep); }
[stroke="#A78BFA" i] { stroke: var(--v4-purple); }
[fill="#A78BFA" i] { fill: var(--v4-purple); }
[fill="#FFF1EB" i] { fill: #EEE9FF; }
[fill="#FFF1F0" i] { fill: #FDE8F4; }
[fill="#FFE6DB" i] { fill: #FDEAF6; }
div.w-full.overflow-hidden > svg > :is(rect, path)[fill="#FFE6DB" i] { fill: var(--v4-veil); }
[stop-color="#FF4F00" i] { stop-color: var(--v4-blue); }
[style*="rgb(255, 79, 0)"] { background-color: var(--v4-blue) !important; }
[style*="background:#FF4F00" i], [style*="background: #FF4F00" i] { background: var(--v4-blue) !important; }
[style*="rgb(252, 211, 77)"] { background-color: var(--v4-soft-pink) !important; }
[style*="rgb(249, 112, 102)"] { background-color: var(--v4-pink-deep) !important; }
[style*="rgba(255, 79, 0, 0.06)"] { background-color: rgba(168, 85, 247, .07) !important; }
[style*="rgb(255, 230, 219)"]:not(.w-full) { background-color: #FDEAF6 !important; }
.text-sunny, .text-yellow-400, .text-yellow-500, .text-amber-500 { color: var(--v4-purple); }
.bg-sunny { background-color: var(--v4-soft-pink); }

/* ---------------------------------------------------------------- footer (dark band in the original: kept, in kit Ink) */
footer .text-brand { color: var(--v4-periwinkle); }
footer [stroke="#FF4F00" i] { stroke: var(--v4-periwinkle); }
footer .hover\:text-brand:hover { color: var(--v4-sky); }

/* focus ring: Purple (tokens) */
:focus-visible { outline-color: var(--v4-purple); }

/* ---------------------------------------------------------------- hero dashboard mock: chart + headline number in kit colours */
.text-2xl.font-extrabold.text-v5-mint:has(> [data-ct-count]) {
  background-image: var(--v4-accent-text);
  -webkit-background-clip: text; background-clip: text;
  color: transparent; -webkit-text-fill-color: transparent;
}
.text-2xl.font-extrabold.text-v5-mint:has(> [data-ct-count]) + svg { stroke: var(--v4-purple-deep); }
path.recharts-curve[stroke="#34D399" i] { stroke: var(--v4-blue); }
linearGradient[id^="heroAreaGradient"] stop { stop-color: #7B3FF2; }

/* ---------------------------------------------------------------- inner page wrappers: let the canvas show */
main > div.min-h-screen:is(.bg-background, .bg-cream) { background-color: transparent; }
/* sticky filter bar (tools): glass over the canvas instead of an 80% paper slab */
.bg-cream\/80 { background-color: rgba(252, 245, 245, 0); -webkit-backdrop-filter: blur(26px) saturate(1.2); backdrop-filter: blur(26px) saturate(1.2); }
section.bg-cream-dark {
  background-color: var(--v4-veil);
  background-image:
    radial-gradient(ellipse 44% 40% at 14% 50%, rgba(255, 194, 236, 0.80) 0%, rgba(255, 194, 236, 0.48) 40%, rgba(255, 194, 236, 0.00) 100%),
    radial-gradient(ellipse 40% 38% at 86% 50%, rgba(181, 219, 255, 0.80) 0%, rgba(181, 219, 255, 0.48) 40%, rgba(181, 219, 255, 0.00) 100%);
  background-repeat: no-repeat;
}
section.bg-sunny-pale {
  background-color: var(--v4-veil);
  background-image:
    radial-gradient(ellipse 44% 40% at 84% 50%, rgba(201, 184, 255, 0.85) 0%, rgba(201, 184, 255, 0.52) 40%, rgba(201, 184, 255, 0.00) 100%),
    radial-gradient(ellipse 40% 38% at 16% 50%, rgba(169, 185, 255, 0.65) 0%, rgba(169, 185, 255, 0.39) 40%, rgba(169, 185, 255, 0.00) 100%),
    radial-gradient(ellipse 30% 34% at 50% 50%, rgba(var(--v4-warm-soft), .35) 0%, rgba(var(--v4-warm-soft), .21) 40%, rgba(var(--v4-warm-soft), 0) 100%);
  background-repeat: no-repeat;
}
section.bg-brand-pale\/30 { background-color: rgba(255, 255, 255, .30); }

/* ---------------------------------------------------------------- buttons: pills fully round (kit), secondary = frosted lavender chip */
.bg-brand.text-white.rounded-xl:not(.w-10):not(.w-16) { border-radius: 9999px; }
button.bg-gray-100.text-ink, a.bg-gray-100.text-ink {
  border-radius: 9999px;
  color: #1A1726;
  background-color: #E9B0FE;
  background-image: var(--v4-chip-fill);
  box-shadow: var(--v4-chip-edge);
}
button.bg-gray-100.text-ink:hover, a.bg-gray-100.text-ink:hover { filter: saturate(1.1); }

/* Blue text sitting on a lavender tint: deepen so small text passes 4.5:1 */
:is(.bg-brand-pale, [class*="bg-brand\/"], .bg-lilac-pale, .bg-sunny-pale, section.bg-brand-pale) .text-brand:not(:is(h1, h2, h3) *),
.bg-brand\/10.text-brand, [class*="bg-brand\/"].text-brand { color: #0A4FD6; }

/* ================================================================ v4.1 richer pass (2026-11-11): paint only, layout untouched */

/* accent words: the primary sweep as ink, Blue -> Purple -> Pink deep (no orange) */
:root { --v4-accent-text: linear-gradient(90deg, #0B5FFF 0%, #8A4DF7 50%, #C42A85 100%); }

/* footer: was a dark Ink slab; the kit has no dark surfaces. Paper + mesh, ink words. */
footer.from-ink {
  --tw-gradient-from: transparent; --tw-gradient-to: transparent; --tw-gradient-stops: transparent, transparent;
  background-color: var(--v4-veil);
  background-image:
    radial-gradient(ellipse 40% 40% at 8% 50%, rgba(181, 219, 255, 0.85) 0%, rgba(181, 219, 255, 0.52) 40%, rgba(181, 219, 255, 0.00) 100%),
    radial-gradient(ellipse 36% 38% at 52% 56%, rgba(201, 184, 255, 0.72) 0%, rgba(201, 184, 255, 0.43) 40%, rgba(201, 184, 255, 0.00) 100%),
    radial-gradient(ellipse 38% 40% at 94% 50%, rgba(255, 194, 236, 0.80) 0%, rgba(255, 194, 236, 0.48) 40%, rgba(255, 194, 236, 0.00) 100%);
  background-size: 100% 100%;
  background-repeat: no-repeat;
}
footer .text-cream { color: var(--v4-ink); }
footer :is(.text-cream\/70, .text-cream\/60, .text-cream\/50) { color: var(--v4-ink2); }
footer .border-cream\/10 { border-color: rgba(167, 150, 214, .22); }
footer .bg-cream\/5 {
  background-color: rgba(255, 255, 255, .56);
  background-image: var(--v4-glass);
  -webkit-backdrop-filter: blur(26px) saturate(1.8); backdrop-filter: blur(26px) saturate(1.8);
  border-color: rgba(255, 255, 255, .24);
  box-shadow: var(--v4-glass-edge), var(--v4-sh-small);
}
footer .text-brand, footer .text-brand\/80 { color: #0A4FD6; }
footer [stroke="#FF4F00" i] { stroke: #0A4FD6; }
footer .hover\:text-brand:hover { color: #0A4FD6; }

/* glass inside glass: inner surfaces get the inner corner (18) and lose the drop shadow; no dark outlines */
:is(.bg-white, .bg-gray-50):is(.rounded-xl):not(button):not(.rounded-full):not([class*="w-8"]):not([class*="w-9"]):not([class*="w-10"]) { border-radius: 18px; }
.bg-gray-50:is(.rounded-xl, .rounded-2xl) { background-color: rgba(255, 255, 255, .58); border-color: rgba(255, 255, 255, .24); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .95); }
.bg-white.rounded-2xl.rounded-bl-sm, .bg-gray-50.rounded-2xl.rounded-bl-sm { border-bottom-left-radius: 4px; }
.bg-white.rounded-2xl.rounded-br-sm, .bg-brand.rounded-2xl.rounded-br-sm { border-bottom-right-radius: 4px; }
.border-ink, .border-ink-black, .border-gray-300, .border-gray-400 { border-color: rgba(167, 150, 214, .30); }

/* motion: calm exponential ease-out (kit), only when the visitor allows motion */
@media (prefers-reduced-motion: no-preference) {
  .transition-all, .transition-colors, .transition-shadow, .transition-transform, .transition-opacity { transition-duration: 233ms; transition-timing-function: var(--ease); }
  .duration-300 { transition-duration: 377ms; }
  .duration-500 { transition-duration: 610ms; }
}
@media (prefers-reduced-motion: reduce) {
  .bg-brand.text-white:hover, button.bg-gray-100.text-ink:hover, a.bg-gray-100.text-ink:hover { transition: none; }
  *, *::before, *::after { scroll-behavior: auto !important; }
}

/* marquee edge fades: the original paints cream boxes over the ends; on the mesh those show as pale slabs. Fade with a mask instead. */
.absolute.from-cream.to-transparent { opacity: 0; }
.relative.overflow-hidden:has(> .absolute.from-cream.to-transparent) {
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 64px, #000 calc(100% - 64px), transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0, #000 64px, #000 calc(100% - 64px), transparent 100%);
}

/* wave strips over the veil: the strip box paints nothing itself (its SVG does), and where both sides are the same veil
   the wave path is not painted again (a second veil would read as a bright stripe). Canvas-to-band strips keep their wave. */
div.w-full.overflow-hidden[style*="margin-top: -1px"] { background-color: transparent !important; }
div.w-full.overflow-hidden > svg > rect:is([fill="#FFFFFF" i], [fill="#F3F4F6" i], [fill="#FFE6DB" i]) + path { fill: transparent; }

/* selected / featured surfaces: never a coloured ring (kit). Glass rises to white .78 and gets a Purple mark at its leading edge. */
.bg-brand-pale.rounded-xl.border-2:is(.border-brand\/20) {
  background-color: rgba(255, 255, 255, .78);
  border-color: rgba(255, 255, 255, .24);
  box-shadow: inset 3px 0 0 var(--v4-purple), var(--v4-glass-edge), var(--v4-sh-small);
}
.bg-white.rounded-xl.border-2.border-brand\/30 { border-color: rgba(255, 255, 255, .24); box-shadow: var(--v4-glass-edge), var(--v4-sh-card); }
.bg-white.rounded-2xl.border-2.border-brand:not(button) {
  border-color: rgba(255, 255, 255, .24);
  background-color: rgba(255, 255, 255, .78);
  box-shadow: var(--v4-glass-edge), var(--v4-sh-float);   /* featured: lifts (float shadow, white .78); its badge names it. A 3px top bar on a 30 corner read as a coloured ring. */
}
.rounded-2xl.border-2.border-brand\/10, .rounded-3xl.border-2.border-brand\/10 { border-color: rgba(255, 255, 255, .24); }
.rounded-full.border-2.border-brand\/20, .rounded-full.border-4.border-brand\/20 { border-color: rgba(255, 255, 255, .7); }
.border-dashed.border-brand\/20 { border-color: rgba(168, 85, 247, .28); }

/* form fields: frosted white with a soft lavender hairline so they still read as fields on glass */
:is(input, textarea, select).border-input, :is(input, textarea, select)[class*="border-v5-stone-light"] {
  background-color: rgba(255, 255, 255, .72);
  border-color: rgba(167, 150, 214, .38);
}
:is(input, textarea, select).border-input:focus, :is(input, textarea, select)[class*="border-v5-stone-light"]:focus { border-color: var(--v4-purple); }
/* outlined secondary buttons -> the kit's secondary lavender chip (same box, same border width) */
:is(a, button).rounded-full.border-brand.text-brand, :is(a, button).rounded-full.border.border-brand {
  color: #1A1726;
  border-color: rgba(255, 255, 255, .6);
  background-color: #E9B0FE;
  background-image: var(--v4-chip-fill);
  box-shadow: var(--v4-chip-edge);
}

/* shadcn glass panels (grade): frosted white glass instead of a tinted slab; coloured ring -> white .24 */
.shadcn-card.glass-panel {
  background-color: rgba(255, 255, 255, .56);
  background-image: var(--v4-glass);
  -webkit-backdrop-filter: blur(26px) saturate(1.8); backdrop-filter: blur(26px) saturate(1.8);
  border-color: rgba(255, 255, 255, .24);
  border-radius: 30px;
  box-shadow: var(--v4-glass-edge), var(--v4-sh-card);
}
.shadcn-card.glass-panel.shadow-teal { background-color: rgba(255, 255, 255, .78); box-shadow: var(--v4-glass-edge), var(--v4-sh-float); }
.shadcn-card.glass-panel:hover { border-color: rgba(255, 255, 255, .24); }
/* leftover yellow text roles -> ink (no yellow words) */
.text-yellow-800 { color: #2C2148; }
.text-yellow-700 { color: var(--v4-ink2); }

/* ================================================================ DESIGN-RULES pass (R9 R13 R22 R24), paint only */
/* R9: the body itself carries the texture + a soft wash, so no layer of the page is a flat colour */
html body {
  background-color: var(--v4-paper);
  background-image: var(--v4-grain), var(--v4-dots),
    radial-gradient(ellipse 60vw 60vw at 0% 30%, rgba(193, 222, 255, .55), rgba(193, 222, 255, 0) 70%),
    radial-gradient(ellipse 50vw 50vw at 100% 0%, rgba(255, 169, 255, .40), rgba(255, 169, 255, 0) 70%);
  background-size: 180px 180px, 21px 21px, 100% 100%, 100% 100%;
  background-repeat: repeat, repeat, no-repeat, no-repeat;
}
/* R13: no all-round ring above white .24; fields keep their read through fill + a soft inner shade */
:is(input, textarea, select).border-input, :is(input, textarea, select)[class*="border-v5-stone-light"], input.border, textarea.border {
  border-color: rgba(255, 255, 255, .24);
  background-color: rgba(255, 255, 255, .78);
  box-shadow: inset 0 1px 3px rgba(110, 48, 90, .12), inset 0 0 0 1px rgba(167, 150, 214, .18);
}
:is(a, button).rounded-full.border-brand.text-brand, :is(a, button).rounded-full.border.border-brand { border-color: rgba(255, 255, 255, .6); }
.rounded-full.border-2.border-brand\/20, .rounded-full.border-4.border-brand\/20 { border-color: rgba(255, 255, 255, .24); }
/* R22 corners: card 30, inner 18, small 13, pill round. R24: buttons are pills. */
.rounded, .rounded-md, .rounded-lg, .rounded-xl { border-radius: 13px; }
.rounded-2xl { border-radius: 18px; }
.rounded-3xl { border-radius: 30px; }
@media (min-width: 768px) { .md\:rounded-2xl { border-radius: 18px; } .md\:rounded-3xl { border-radius: 30px; } }
.rounded-r-lg { border-radius: 0 13px 13px 0; }
button:is(.rounded, .rounded-md, .rounded-lg, .rounded-xl):not([role="checkbox"]):not([data-ct-faq]), a:is(.rounded-md, .rounded-lg) { border-radius: 9999px; }
/* surfaces that are cards (panels on the canvas) take the card corner */
:is(.bg-white, .bg-card, .glass-panel, .bg-cream\/5, .bg-brand-pale, .bg-sunny-pale, .bg-gray-50):is(.rounded-2xl, .rounded-3xl):not(button):not(.rounded-full),
.rounded-2xl.border:not(button):not(.rounded-full) { border-radius: 30px; }
/* things that sit on glass: inner corner */
:is(.bg-white, .bg-card, .glass-panel, .bg-cream\/5) :is(.bg-white, .bg-gray-50, .bg-brand-pale):is(.rounded-xl, .rounded-2xl):not(button):not(.rounded-full) { border-radius: 18px; }
/* chat bubbles keep their tail corner */
.rounded-2xl.rounded-bl-sm, .rounded-2xl.rounded-bl-md { border-bottom-left-radius: 5px; }
.rounded-2xl.rounded-br-sm { border-bottom-right-radius: 5px; }
/* square icon tiles: small corner (13); 64px tiles inner (18) */
:is(.w-8, .w-9, .w-10, .w-11, .w-12):is(.rounded-lg, .rounded-xl, .rounded-md) { border-radius: 13px; }
.w-16.h-16:is(.rounded-xl, .rounded-2xl) { border-radius: 18px; }
