/* ============================================================================
   RISHI WEB, "with depth"  (body[data-skin="web"])
   The web twin of the iOS depth redesign. Every value is lifted from her boards
   (design-src/v2-depth/*.dc.html <helmet>) and the iOS port (Components/
   DepthKit.swift DepthTokens, Components/PageKit.swift PageTokens):

     CSS here          iOS                         board
     --d-e1/e2/e3      DepthTokens.e1/e2/e3        --e1/--e2/--e3
     .dp-well          .well(_:in:)                .well / --wellsh
     .dp-raise(2)      .raise(_:in:level:)         .raise / .raise2
     .dp-lesson        .litCard(_:radius:)         .lesson
     #tabbar (glass)   .depthGlass + GlossyOrb     .dtabs / .orb
     .dp-sheet         .depthSheet(_:)             .sheet
     .dp-sky           PageSkyHeader / *SkyHeader   <header> sky

   Type: the iOS app is SF (KarmicFont = .system); the web uses the system stack
   (SF on Apple devices, Inter elsewhere) at the same sizes, in rem so browser
   zoom works. Scoped to the web skin so the older skins stay untouched.
   ========================================================================== */

/* ---------- TOKENS: Night ---------- */
body[data-skin="web"]{
  --d-bg:#0B0D14; --d-card:#11141D; --d-raised:#181C27; --d-line:#2A2F3C;
  --d-ink:#EDE6D6; --d-body:#DCD4C3; --d-t2:#B5AE9F; --d-t3:#9A9484;
  --d-moon:#A9B8D0; --d-accent:#D9BC85; --d-brass:#C8A46A;
  --d-btn:#EDE6D6; --d-btnfg:#0B0D14; --d-good:#8CC3A0; --d-care:#E39A78;
  --d-sky:linear-gradient(180deg,#04060C 0%,#0B1429 40%,#1A2B4E 78%,#22365C 100%);
  --d-skyfg:#EDE6D6; --d-sky2:#B9C3D6; --d-skyacc:#E6CC95;
  --d-hill1:#14203A; --d-hill2:#0F1728; --d-stars:1;
  --d-well:#06080D; --d-wellsh:inset 0 2px 8px rgba(0,0,0,.9),inset 0 -1px 0 rgba(255,255,255,.06);
  --d-e1:0 1px 0 rgba(255,255,255,.07) inset,0 1px 2px rgba(0,0,0,.5),0 8px 16px -6px rgba(0,0,0,.7);
  --d-e2:0 1px 0 rgba(255,255,255,.09) inset,0 2px 4px rgba(0,0,0,.5),0 22px 36px -14px rgba(0,0,0,.9);
  --d-e3:0 1px 0 rgba(255,255,255,.12) inset,0 3px 0 #000,0 40px 60px -24px #000;
  --d-moonlit:#FFF6DD; --d-moonsh:#D8C592; --d-moondark:rgba(60,80,120,.45);
  --d-glass:rgba(17,20,29,.78); --d-grain:.35;
  --d-shadow:0 18px 40px -22px rgba(0,0,0,.8);
  --d-font:-apple-system,BlinkMacSystemFont,'SF Pro Text','SF Pro Display','Inter',system-ui,'Segoe UI',Roboto,'Helvetica Neue',Arial,sans-serif;
  /* the existing web tokens follow the app's PageTokens so every other web surface
     (sheets, paywall, readings) lands on the same palette */
  --w-ground:#0B0D14; --w-surface:#11141D; --w-raised:#181C27; --w-hair:#2A2F3C;
  --w-head:#EDE6D6; --w-body:#DCD4C3; --w-t2:#B5AE9F; --w-t3:#9A9484; --w-moon:#A9B8D0;
}
/* ---------- TOKENS: Vellum ---------- */
body[data-skin="web"][data-tone="vellum"]{
  --d-bg:#F4EFE6; --d-card:#FBF8F2; --d-raised:#FFFFFF; --d-line:#E2DACB;
  --d-ink:#17161C; --d-body:#2A2722; --d-t2:#4F4A3F; --d-t3:#6E6858;
  --d-moon:#4E5F7D; --d-accent:#7A5C28; --d-brass:#A8864C;
  --d-btn:#0B0D14; --d-btnfg:#F4EFE6; --d-good:#2F6B4A; --d-care:#9A4526;
  --d-sky:linear-gradient(180deg,#9FB3D4 0%,#C6D2E4 34%,#EBDDC6 70%,#F1E6D3 100%);
  --d-skyfg:#17161C; --d-sky2:#3C4658; --d-skyacc:#5B4318;
  --d-hill1:#B9C3D2; --d-hill2:#D8CFBC; --d-stars:0;
  --d-well:#EAE2D2; --d-wellsh:inset 0 2px 6px rgba(70,52,20,.22),inset 0 -1px 0 rgba(255,255,255,.8);
  --d-e1:0 1px 0 rgba(255,255,255,.9) inset,0 1px 2px rgba(70,52,20,.12),0 6px 14px -6px rgba(70,52,20,.22);
  --d-e2:0 1px 0 rgba(255,255,255,.9) inset,0 2px 4px rgba(70,52,20,.12),0 18px 34px -14px rgba(70,52,20,.38);
  --d-e3:0 3px 0 #000,0 14px 22px -10px rgba(30,22,8,.5),0 40px 60px -28px rgba(30,22,8,.6);
  --d-moonlit:#FFFDF6; --d-moonsh:#D9CDB4; --d-moondark:rgba(120,140,175,.35);
  --d-glass:rgba(251,248,242,.78); --d-grain:.5;
  --d-shadow:0 18px 40px -22px rgba(60,45,20,.35);
  --w-ground:#F4EFE6; --w-surface:#FBF8F2; --w-raised:#FFFFFF; --w-hair:#E2DACB;
  --w-head:#17161C; --w-body:#2A2722; --w-t2:#4F4A3F; --w-t3:#6E6858; --w-moon:#4E5F7D;
}

/* ---------- TYPE: the system stack (SF), one family like the app ---------- */
body[data-skin="web"],
body[data-skin="web"] *{ font-family:var(--d-font); }
body[data-skin="web"] .serif, body[data-skin="web"] .mono,
body[data-skin="web"] [style*="Newsreader"], body[data-skin="web"] [style*="DM Mono"],
body[data-skin="web"] .wt-h1, body[data-skin="web"] .wc-h1, body[data-skin="web"] .ww-h1,
body[data-skin="web"] .wy-name, body[data-skin="web"] .wk-empty-h, body[data-skin="web"] .wc-cap-t,
body[data-skin="web"] .wy-h2, body[data-skin="web"] .ww-d-h{ font-family:var(--d-font) !important; }
body[data-skin="web"]{ background:var(--d-bg); }
body[data-skin="web"] #phone{ background:var(--d-bg); }

/* ---------- SCREEN: the depth page owns its scroll + bottom clearance ---------- */
body[data-skin="web"] .screen:has(> .dp){ padding:0 0 calc(132px + env(safe-area-inset-bottom)); background:var(--d-bg); }
.dp{ position:relative; color:var(--d-body); font-size:1rem; line-height:1.5; -webkit-font-smoothing:antialiased; min-height:100%; }
.dp p, .dp h1, .dp h2, .dp h3{ margin:0; }
.dp::before{ /* film grain (.d::before) */
  content:""; position:absolute; inset:0; z-index:5; pointer-events:none;
  background-image:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  0 0 0 .55 0'/></filter><rect width='180' height='180' filter='url(%23n)'/></svg>");
  opacity:var(--d-grain); mix-blend-mode:soft-light;
}
.dp-pad{ padding-left:24px; padding-right:24px; }

/* ---------- TYPE SCALE (.ov .h1 .h2 .sm) ---------- */
.dp-ov{ display:inline-block; font-weight:700; font-size:.8125rem; line-height:1.3; letter-spacing:.08em; text-transform:uppercase; color:var(--d-accent); }
.dp-ov.dp-q, .dp-q{ color:var(--d-t3); }
.dp-h1{ font-weight:700; font-size:1.9375rem; line-height:1.1; letter-spacing:-.02em; color:var(--d-ink); }
.dp-h2{ font-weight:700; font-size:1.375rem; line-height:1.2; letter-spacing:-.01em; color:var(--d-ink); }
.dp-sm{ font-size:.9375rem; line-height:1.5; color:var(--d-t2); }
.dp-p{ font-size:1rem; line-height:1.6; color:var(--d-body); }

/* ---------- SURFACES ---------- */
.dp-raise{ background:var(--d-raised); border:1px solid var(--d-line); box-shadow:var(--d-e1); }
.dp-raise2{ background:var(--d-raised); border:1px solid var(--d-line); box-shadow:var(--d-e2); }
.dp-well{ background:var(--d-well); box-shadow:var(--d-wellsh); border-radius:24px; }
.dp-markdisc{ display:inline-flex; flex:none; border-radius:50%; background:#0B0D14; align-items:center; justify-content:center; }
.dp .tap, .dp-sheet .tap{ background:none; border:0; padding:0; font:inherit; color:inherit; text-align:left; cursor:pointer; text-decoration:none; display:block; width:100%; }

/* buttons (.btn, .d .btn): a 2px ledge + soft drop; sink on press */
.dp-btn{ display:inline-flex; align-items:center; justify-content:center; gap:8px; min-height:48px; padding:0 22px; border-radius:128px;
  border:1px solid transparent; font:inherit; font-weight:500; font-size:1rem; cursor:pointer; text-decoration:none;
  box-shadow:0 2px 0 rgba(0,0,0,.35),0 10px 18px -8px rgba(0,0,0,.45); transition:transform .15s ease,box-shadow .15s ease; }
.dp-btn:active{ transform:translateY(2px) scale(.97); box-shadow:0 0 0 rgba(0,0,0,.35),0 4px 8px -4px rgba(0,0,0,.45); }
.dp-btn-pri{ background:var(--d-btn); color:var(--d-btnfg); }
.dp-btn-ghost{ background:transparent; color:var(--d-ink); border-color:var(--d-line); box-shadow:none; }
.dp-btn-onp{ background:#EDE6D6; color:#0B0D14; flex:1; }
.dp-btn-ghostp{ background:transparent; color:#EDE6D6; border-color:#4A4F5E; box-shadow:none; }
.dp-btn:disabled{ opacity:.55; cursor:default; }
.dp-wide{ width:100%; }
.dp-link{ color:var(--d-accent); font-weight:500; font-size:.9375rem; text-decoration:underline; text-underline-offset:4px; background:none; border:0; padding:8px 0; font-family:inherit; cursor:pointer; min-height:44px; display:inline-flex; align-items:center; }
.dp-link-sm{ font-size:.875rem; min-height:32px; padding:0; }
.dp-btn:focus-visible, .dp .tap:focus-visible, .dp-sheet button:focus-visible, .dp-link:focus-visible,
body[data-skin="web"] #tabbar .tab:focus-visible{ outline:2px solid var(--d-accent); outline-offset:3px; }

/* motion (.draw .breathe .write .lift), all still under Reduce Motion */
.dp-draw{ stroke-dasharray:1; animation:dpDraw 1.6s cubic-bezier(.65,0,.35,1) both; }
@keyframes dpDraw{ from{ stroke-dashoffset:1 } to{ stroke-dashoffset:0 } }
.dp-breathe{ transform-box:fill-box; transform-origin:center; animation:dpBreathe 6s ease-in-out infinite; }
@keyframes dpBreathe{ 0%,100%{ transform:scale(1) } 50%{ transform:scale(1.04) } }
.dp-write{ animation:dpWrite .6s cubic-bezier(.22,1,.36,1) both; }
@keyframes dpWrite{ from{ opacity:0; transform:translateY(10px) } to{ opacity:1; transform:none } }
.dp-layer{ transition:transform .35s cubic-bezier(.22,1,.36,1); will-change:transform; }
.dp-dots{ padding:10px 0; }
.dp-dots span{ display:inline-block; width:7px; height:7px; margin-right:5px; border-radius:50%; background:var(--d-brass); animation:dpDot 1s ease-in-out infinite; }
.dp-dots span:nth-child(2){ animation-delay:.15s } .dp-dots span:nth-child(3){ animation-delay:.3s }
@keyframes dpDot{ 0%,100%{ opacity:.3 } 50%{ opacity:1 } }
.dp-lift, .dp-askpill, .dp-karma, .dp-cover{ transition:transform .35s cubic-bezier(.22,1,.36,1),box-shadow .35s ease; }
@media (hover:hover){ .dp-askpill:hover, .dp-karma:hover, .dp-cover:hover{ transform:translateY(-4px); } }

/* ---------- THE SKY ---------- */
.dp-sky{ position:relative; background:var(--d-sky); color:var(--d-skyfg); overflow:hidden; }
.dp-sky .dp-scene{ position:absolute; inset:0; width:100%; height:100%; }
.dp-stars{ opacity:var(--d-stars); }
.dp-ew{ font-size:13px; font-weight:700; letter-spacing:1px; fill:var(--d-sky2); }
.dp-sky-tall{ min-height:500px; }
.dp-sky-band{ min-height:calc(var(--skyh) * 1px); }
.dp-skycopy{ position:relative; padding:64px 24px 0; display:flex; flex-direction:column; gap:10px; }
.dp-skycopy-band{ gap:8px; max-width:378px; padding-bottom:60px; }
.dp-skyacc{ color:var(--d-skyacc) !important; }
.dp-greet{ font-size:1.0625rem; color:var(--d-sky2); }
.dp-hero-h1{ color:var(--d-skyfg); font-size:2.125rem; max-width:300px; }
.dp-sky .dp-h1{ color:var(--d-skyfg); }
.dp-moonmeta{ font-size:.9375rem; font-weight:700; line-height:1.45; color:var(--d-sky2); max-width:190px; margin-top:6px !important; }
.dp-skysub{ font-size:1rem; line-height:1.5; color:var(--d-sky2); }
/* the Moon is a button: tap to switch day / night (the app's sky toggle) */
.dp-moontap{ pointer-events:all; cursor:pointer; }
.dp-sky .dp-scene{ pointer-events:none; }
.dp-moonhit{ position:absolute; z-index:3; top:12px; right:12px; width:44px; height:44px; border-radius:50%; background:none; border:0; opacity:0; cursor:pointer; }
.dp-moonhit:focus-visible{ opacity:1; outline:2px solid var(--d-skyacc); outline-offset:2px; }

/* ---------- THE SHEET (rises over the sky) ---------- */
.dp-sheet{ position:relative; z-index:2; margin-top:-44px; padding-top:30px; background:var(--d-bg); border-radius:34px 34px 0 0;
  box-shadow:0 -1px 0 rgba(255,255,255,.35) inset,0 -22px 40px -18px rgba(10,14,30,.45);
  display:flex; flex-direction:column; gap:38px; }
.dp-sheet > :empty{ display:none; }
.dp-sheet > [hidden]{ display:none !important; }

/* ---------- SEGMENTED (Today / This week / This month), a well ---------- */
body[data-skin="web"] .dp-seg.wt-scopes{
  position:relative; display:grid; grid-template-columns:repeat(3,1fr); padding:5px; margin:0; border:0;
  border-radius:128px; background:var(--d-well); box-shadow:var(--d-wellsh); width:auto; max-width:none; gap:0; }
body[data-skin="web"] .dp-seg .wt-thumb{ position:absolute; left:0; top:5px; bottom:5px; height:auto; border-radius:128px;
  background:var(--d-btn); box-shadow:none; border:0; transition:transform .25s cubic-bezier(.22,1,.36,1),width .25s; z-index:0; }
body[data-skin="web"] .dp-seg .wt-scope{ position:relative; z-index:1; min-height:40px; border:0; border-radius:128px; background:transparent !important;
  font:inherit; font-size:.9375rem; font-weight:500; color:var(--d-t2) !important; cursor:pointer; padding:0 4px; box-shadow:none !important; white-space:nowrap; }
body[data-skin="web"] .dp-seg .wt-scope.on{ color:var(--d-btnfg) !important; }
body[data-skin="web"] .dp-seg .wt-scope:active{ transform:scale(.97); }

/* ---------- A NOTE FROM RISHI ---------- */
.dp-note{ display:flex; flex-direction:column; gap:12px; }
.dp-note-h{ display:flex; align-items:center; gap:10px; }
body[data-skin="web"] .dp-note-lead, body[data-skin="web"] .dp-note-lead p{ font-size:1.0625rem; line-height:1.6; color:var(--d-body); margin:0; font-style:normal; }
body[data-skin="web"] .dp-note-lead p + p{ margin-top:12px; }
body[data-skin="web"] .dp-note .dp-read:empty{ display:none; }
/* the reading cards streamed into #todaycards: flat, the page is the card */
body[data-skin="web"] .dp-read .card, body[data-skin="web"] .dp-read .readcard, body[data-skin="web"] .dp-read .tcard{
  background:transparent !important; border:0 !important; box-shadow:none !important; padding:0 !important; margin:0 0 8px !important; border-radius:0 !important; }
body[data-skin="web"] .dp-read .reading, body[data-skin="web"] .dp-read .reading p, body[data-skin="web"] .dp-read .tcbody, body[data-skin="web"] .dp-read p{
  font-size:1.0625rem; line-height:1.6; color:var(--d-body); font-style:normal; }
body[data-skin="web"] .dp-read b, body[data-skin="web"] .dp-read strong, body[data-skin="web"] .dp-note-lead b, body[data-skin="web"] .dp-note-lead strong{ color:var(--d-accent); font-weight:700; }
body[data-skin="web"] .dp-read h2, body[data-skin="web"] .dp-read h3, body[data-skin="web"] .dp-read .tctitle{ font-size:1.0625rem; font-weight:700; color:var(--d-ink); letter-spacing:0; text-transform:none; }
body[data-skin="web"] .dp-read .tchead{ display:flex; align-items:center; gap:8px; margin:6px 0 8px; }
body[data-skin="web"] .dp-read .tcicon{ display:none; }
/* free: the soft wall inside the note */
body[data-skin="web"] .dp-note .plock, body[data-skin="web"] .dp-read .teaser-card{ margin-top:4px; }
body[data-skin="web"] .dp-note .plock-fade, body[data-skin="web"] .dp-read .teaser-fade{ font-size:1.0625rem; line-height:1.6; color:var(--d-t2); font-style:normal;
  -webkit-mask-image:linear-gradient(180deg,#000 10%,transparent 95%); mask-image:linear-gradient(180deg,#000 10%,transparent 95%); }
body[data-skin="web"] .dp-note .btn-ink, body[data-skin="web"] .dp-read .btn-ink, body[data-skin="web"] .dp-read .teaser-cta{
  display:flex; align-items:center; justify-content:center; width:100%; min-height:48px; padding:0 22px; margin:14px 0 6px; border-radius:128px; border:0;
  background:var(--d-btn) !important; color:var(--d-btnfg) !important; font:inherit; font-weight:500; font-size:1rem;
  box-shadow:0 2px 0 rgba(0,0,0,.35),0 10px 18px -8px rgba(0,0,0,.45); }
body[data-skin="web"] .dp-note .plock-sub, body[data-skin="web"] .dp-read .teaser-sub{ text-align:center; font-size:.8125rem; color:var(--d-t3); }
/* free users see one wall, not two: the note's own wall is enough */
body[data-skin="web"] .dp-note:has(.plock) .dp-read .teaser-card{ display:none; }

/* ---------- THE LIT CARD (.lesson) ---------- */
.dp-lesson-wrap{ perspective:1000px; }
.dp-lesson{ position:relative; border-radius:30px; padding:26px 24px; color:#EDE6D6; overflow:hidden;
  background:radial-gradient(130% 90% at 12% 0%,#28304A 0%,#131827 42%,#0B0D14 78%);
  border:1px solid #4A3F28; box-shadow:var(--d-e3); }
.dp-lesson::before{ content:""; position:absolute; left:24px; right:24px; top:0; height:2px; z-index:1;
  background:linear-gradient(90deg,transparent,#E6CC95 30%,#FFF3CF 50%,#C8A46A 70%,transparent); }
.dp-lesson:empty{ min-height:220px; }
.dp-orbit{ position:absolute; right:-70px; top:-60px; opacity:.5; pointer-events:none; }
.dp-sheen{ position:absolute; inset:0; pointer-events:none; background:radial-gradient(60% 50% at 50% 20%,rgba(255,243,207,.16),transparent 70%); }
.dp-lesson-in{ position:relative; display:flex; flex-direction:column; gap:18px; }
.dp-lesson .dp-ov{ color:#E6CC95; }
.dp-lk{ display:flex; flex-direction:column; gap:10px; }
.dp-lesson-h{ font-weight:700; font-size:1.6875rem; line-height:1.15; letter-spacing:-.02em; color:#EDE6D6; }
.dp-lesson-p{ font-size:1.125rem; line-height:1.45; color:#EDE6D6; }
.dp-lesson-s{ font-size:1rem; line-height:1.5; color:#B5AE9F; }
.dp-med{ font-weight:500; }
.dp-lmove{ display:flex; flex-direction:column; gap:10px; padding:16px 0; border-top:1px solid rgba(230,204,149,.22); border-bottom:1px solid rgba(230,204,149,.22); }
.dp-did{ display:flex; align-items:center; gap:12px; min-height:48px; background:none; border:0; padding:0; font:inherit; color:#EDE6D6; cursor:pointer; text-align:left; }
.dp-did-c{ flex:none; width:26px; height:26px; border-radius:50%; border:1.5px solid #E6CC95; display:flex; align-items:center; justify-content:center; transition:background-color .2s ease; }
.dp-did.on .dp-did-c{ background:#E6CC95; }
.dp-did-t{ flex:1; font-size:1rem; font-weight:500; }
.dp-did-p{ font-size:.9375rem; font-weight:700; color:#E6CC95; }
.dp-row2{ display:flex; gap:10px; }
.dp-passed{ display:flex; align-items:center; gap:8px; font-size:.9375rem; color:#EDE6D6; }
.dp-ticks{ display:flex; gap:4px; }
.dp-why{ display:flex; flex-direction:column; gap:12px; margin-top:4px; }
.dp-why-r{ display:grid; grid-template-columns:96px 1fr; gap:12px; font-size:.9375rem; line-height:1.5; }
.dp-why-r b{ color:#E6CC95; }
.dp-link-p{ color:#E6CC95; align-self:flex-start; }
/* the karma tests ("Your tests") live inside the lit card */
body[data-skin="web"] .dp-lesson #ktcard:empty{ display:none; }
body[data-skin="web"] .dp-lesson .kt-card{ background:transparent !important; border:0 !important; box-shadow:none !important; padding:0 !important; margin:0 !important; color:#EDE6D6; }
body[data-skin="web"] .dp-lesson .kt-head{ display:flex; justify-content:space-between; align-items:baseline; gap:10px; margin-bottom:10px; }
body[data-skin="web"] .dp-lesson .kt-over{ font-weight:700; font-size:.8125rem; letter-spacing:.08em; text-transform:uppercase; color:#E6CC95 !important; }
body[data-skin="web"] .dp-lesson .kt-called{ font-size:.8125rem; color:#B5AE9F; }
body[data-skin="web"] .dp-lesson .kt-list{ list-style:none; margin:0; padding:0; display:flex; flex-direction:column; gap:12px; }
body[data-skin="web"] .dp-lesson .kt-item{ display:grid; gap:2px; padding:0 0 12px; border-bottom:1px solid rgba(230,204,149,.22); font-size:.9375rem; line-height:1.5; color:#EDE6D6; }
body[data-skin="web"] .dp-lesson .kt-iday{ font-weight:700; font-size:.8125rem; letter-spacing:.06em; text-transform:uppercase; color:#B5AE9F; }
body[data-skin="web"] .dp-lesson .kt-item b{ color:#E6CC95; font-weight:700; }
body[data-skin="web"] .dp-lesson .kt-note, body[data-skin="web"] .dp-lesson .kt-total{ font-size:.9375rem; line-height:1.5; color:#B5AE9F; margin:10px 0 0; }

/* Rishi checks in (the next-day check-back): a raised card on the sheet */
body[data-skin="web"] #ktcheck .kt-check{ background:var(--d-raised) !important; border:1px solid var(--d-line) !important; box-shadow:var(--d-e2) !important;
  border-radius:24px; padding:20px !important; margin:0 !important; color:var(--d-body); }
body[data-skin="web"] #ktcheck .kt-over{ font-weight:700; font-size:.8125rem; letter-spacing:.08em; text-transform:uppercase; color:var(--d-accent) !important; }
body[data-skin="web"] #ktcheck .kt-q{ font-size:1.125rem; line-height:1.45; font-weight:500; color:var(--d-ink); margin:8px 0 4px; }
body[data-skin="web"] #ktcheck .kt-day, body[data-skin="web"] #ktcheck .kt-line, body[data-skin="web"] #ktcheck .kt-called, body[data-skin="web"] #ktcheck .kt-total{ font-size:.9375rem; color:var(--d-t2); }
body[data-skin="web"] #ktcheck .kt-row, body[data-skin="web"] #ktcheck .kt-foot{ display:flex; gap:8px; align-items:center; margin-top:12px; flex-wrap:wrap; }
body[data-skin="web"] #ktcheck .kt-foot{ justify-content:space-between; }
body[data-skin="web"] #ktcheck .kt-btn{ min-height:44px; padding:0 18px; border-radius:128px; font:inherit; font-size:.9375rem; font-weight:500; cursor:pointer; }
body[data-skin="web"] #ktcheck .kt-pri{ background:var(--d-btn) !important; color:var(--d-btnfg) !important; border:0 !important; box-shadow:0 2px 0 rgba(0,0,0,.35),0 10px 18px -8px rgba(0,0,0,.45); }
body[data-skin="web"] #ktcheck .kt-ghost{ background:transparent !important; color:var(--d-ink) !important; border:1px solid var(--d-line) !important; }
body[data-skin="web"] #ktcheck .kt-plus{ color:var(--d-accent); font-weight:700; font-size:1.375rem; margin-right:8px; }
body[data-skin="web"] #ktcheck .kt-passt{ color:var(--d-ink); font-weight:700; font-size:1.375rem; }

/* ---------- GLANCES (a well of three dials) ---------- */
.dp-gl-well{ display:flex; padding:18px 8px; }
.dp-gl{ flex:1; display:flex; flex-direction:column; align-items:center; text-align:center; gap:2px; padding:0 6px; }
.dp-gl-w{ font-size:1.25rem; font-weight:700; color:var(--d-ink); }
.dp-gl-r{ font-size:.9375rem; line-height:1.3; color:var(--d-t2); }

/* ---------- COMING UP ---------- */
.dp-comingup{ display:flex; flex-direction:column; gap:6px; }
.dp-cu-head{ display:flex; justify-content:space-between; align-items:center; }
.dp-cu{ display:grid !important; grid-template-columns:60px 1fr 22px; gap:16px; align-items:center; padding:12px 0 !important; border-bottom:1px solid var(--d-line) !important; }
.dp-tile{ display:flex; flex-direction:column; align-items:stretch; border-radius:14px; overflow:hidden; text-align:center; width:60px; flex:none; }
.dp-tile-m{ color:var(--d-bg); font-size:.8125rem; font-weight:700; letter-spacing:.08em; padding:2px 0; }
.dp-tile-d{ font-size:1.625rem; font-weight:700; line-height:1.35; color:var(--d-ink); font-variant-numeric:tabular-nums; }
.dp-tile-d2{ font-size:1.5625rem; line-height:34px; }
.dp-cu-c{ display:flex; flex-direction:column; gap:2px; min-width:0; }
.dp-cu-k{ display:flex; align-items:center; gap:6px; font-size:.8125rem; font-weight:700; letter-spacing:.08em; text-transform:uppercase; }
.dp-cu-t{ font-size:1.125rem; font-weight:700; line-height:1.25; color:var(--d-ink); }
.dp-cu-w{ font-size:.9375rem; color:var(--d-t2); }
.dp-chev{ color:var(--d-t3); flex:none; }

/* ---------- WHAT I'M NOTICING (reflect) ---------- */
body[data-skin="web"] #reflectslot .reflectcard{ background:transparent !important; border:0 !important; box-shadow:none !important; padding:0 0 0 18px !important; margin:0 !important;
  border-left:2px solid var(--d-brass) !important; border-radius:0 !important; }
body[data-skin="web"] #reflectslot .micro{ font-weight:700; font-size:.8125rem; letter-spacing:.08em; text-transform:uppercase; color:var(--d-t3) !important; }
body[data-skin="web"] #reflectslot p{ font-size:1.375rem !important; font-weight:500; line-height:1.35 !important; letter-spacing:-.01em; color:var(--d-ink) !important; font-style:normal !important; margin:8px 0 14px !important; }
body[data-skin="web"] #reflectslot .reflectbtns{ display:flex; gap:10px; flex-wrap:wrap; }
body[data-skin="web"] #reflectslot .rbtn, body[data-skin="web"] #reflectslot .btn-ink{ min-height:44px; padding:0 18px; border-radius:128px; font:inherit; font-size:.9375rem; font-weight:500; cursor:pointer;
  background:var(--d-btn) !important; color:var(--d-btnfg) !important; border:1px solid transparent !important; }
body[data-skin="web"] #reflectslot .rbtn.ghost{ background:transparent !important; color:var(--d-ink) !important; border-color:var(--d-line) !important; }
body[data-skin="web"] #reflectslot .reflectin{ width:100%; border-radius:16px; padding:12px 14px; font:inherit; font-size:1rem; border:0; background:var(--d-well); box-shadow:var(--d-wellsh); color:var(--d-ink); }

/* ---------- ASK RISHI pill ---------- */
.dp-askpill{ display:flex !important; align-items:center; gap:12px; padding:10px 10px 10px 20px !important; border-radius:128px !important; }
.dp-askpill-c{ flex:1; display:flex; flex-direction:column; min-width:0; }
.dp-askpill-t{ font-size:1rem; font-weight:500; color:var(--d-ink); line-height:1.4; }
.dp-orbbtn{ flex:none; width:48px; height:48px; border-radius:50%; display:flex; align-items:center; justify-content:center; color:#EDE6D6;
  background:radial-gradient(circle at 34% 28%,#3A4463 0%,#141927 50%,#05060A 100%);
  box-shadow:inset 0 1px 1px rgba(255,255,255,.3),0 6px 10px -4px rgba(0,0,0,.6); }
.dp-closer{ font-size:.9375rem; color:var(--d-t3); }

/* ---------- SHEETS opened from depth screens (Tell Rishi, karma) ---------- */
.dp-tell{ padding:6px 4px 18px; display:flex; flex-direction:column; gap:8px; color:var(--d-body); }
.dp-tell-in{ width:100%; margin-top:10px; border:0; border-radius:20px; padding:14px 16px; font:inherit; font-size:1rem; line-height:1.5; resize:vertical;
  background:var(--d-well); box-shadow:var(--d-wellsh); color:var(--d-ink); }
.dp-tell-err{ min-height:1em; font-size:.875rem; color:var(--d-care); }
.dp-user-bub{ align-self:flex-end; max-width:88%; padding:14px 18px; border-radius:20px 20px 4px 20px; background:var(--d-btn); color:var(--d-btnfg); font-size:1rem; line-height:1.5; }
.dp-verdict{ padding-left:16px; border-left:2px solid var(--d-brass); display:flex; flex-direction:column; gap:6px; margin:10px 0; }
.dp-verdict h3{ font-size:1.375rem; font-weight:700; color:var(--d-ink); margin:0; }
.dp-verdict p{ font-size:1.0625rem; line-height:1.6; color:var(--d-body); margin:0; }
.dp-reward{ font-size:1.125rem; font-weight:700; color:var(--d-accent); margin:0 0 8px; }
.dp-how{ display:flex; flex-direction:column; gap:10px; margin:10px 0; }
.dp-how div{ display:grid; grid-template-columns:96px 1fr; gap:12px; font-size:.9375rem; line-height:1.5; color:var(--d-body); }
.dp-how b{ color:var(--d-accent); }

/* ---------- THE FLOATING GLASS TAB BAR (phone) ---------- */
@media (max-width:1023px){
  body[data-skin="web"] #tabbar{
    left:14px !important; right:14px !important; bottom:calc(16px + env(safe-area-inset-bottom)) !important;
    display:grid !important; grid-template-columns:1fr 1fr 76px 1fr 1fr; align-items:end; justify-content:initial;
    padding:8px 6px !important; border-radius:34px;
    background:var(--d-glass) !important; background-image:none !important;
    -webkit-backdrop-filter:blur(18px) saturate(1.4) !important; backdrop-filter:blur(18px) saturate(1.4) !important;
    border:1px solid var(--d-line) !important; box-shadow:var(--d-e2) !important; }
  body[data-skin="web"].inapp #tabbar[style*="none"]{ display:none !important; }
  body[data-skin="web"] #tabbar .tab{ display:flex; flex-direction:column; align-items:center; justify-content:center; gap:4px; min-height:48px; padding:0;
    color:var(--d-t3) !important; font-size:13px; font-weight:500; letter-spacing:0; text-transform:none; }
  body[data-skin="web"] #tabbar .tab svg{ width:24px; height:24px; margin:0; stroke:currentColor !important; fill:none; }
  body[data-skin="web"] #tabbar .tab .dp-tablab{ font-size:13px; line-height:1.15; }
  body[data-skin="web"] #tabbar .tab.active{ color:var(--d-ink) !important; font-weight:700; }
  body[data-skin="web"] #tabbar .tab.center{ order:0; }
  body[data-skin="web"] #tabbar .tab[data-tab="today"]{ order:1; } body[data-skin="web"] #tabbar .tab[data-tab="windows"]{ order:2; }
  body[data-skin="web"] #tabbar .tab.center{ order:3; } body[data-skin="web"] #tabbar .tab[data-tab="chart"]{ order:4; }
  body[data-skin="web"] #tabbar .tab[data-tab="account"]{ order:5; }
  body[data-skin="web"] #tabbar .tab.center .orb{ width:64px; height:64px; margin:-34px auto 0; border-radius:50%;
    background:radial-gradient(circle at 34% 28%,#3A4463 0%,#141927 45%,#05060A 100%) !important; border:1px solid #C8A46A !important;
    box-shadow:inset 0 1px 1px rgba(255,255,255,.35),inset 0 -6px 10px rgba(0,0,0,.6),0 14px 22px -8px rgba(0,0,0,.7) !important;
    display:flex; align-items:center; justify-content:center; transition:transform .15s ease; }
  body[data-skin="web"] #tabbar .tab.center .orb::before, body[data-skin="web"] #tabbar .tab.center .orb::after{ content:none !important; display:none !important; }
  body[data-skin="web"] #tabbar .tab.center .orb > svg{ display:none; }
  body[data-skin="web"] #tabbar .tab.center .dp-orbmark{ display:flex; }
  body[data-skin="web"] #tabbar .tab.center .dp-orbmark svg{ width:34px; height:34px; stroke:none !important; }
  body[data-skin="web"] #tabbar .tab.center:active .orb{ transform:scale(.97); }
  body[data-skin="web"] #tabbar .tab.center::after{ content:none !important; }
  /* the keyboard is up: the bar steps aside so the composer can sit on the keys */
  body[data-skin="web"].dp-kb #tabbar{ display:none !important; }
}
.dp-orbmark{ display:none; }

/* ---------- PHONE-WIDTH COLUMN on tablets (no stretched cards) ---------- */
@media (min-width:600px) and (max-width:1023px){
  body[data-skin="web"] .dp-sheet{ padding-left:calc((100% - 600px) / 2); padding-right:calc((100% - 600px) / 2); }
  body[data-skin="web"] .dp-skycopy{ padding-left:calc((100% - 552px) / 2); }
  body[data-skin="web"] #tabbar{ left:calc(50% - 300px) !important; right:calc(50% - 300px) !important; }
}

/* ---------- DESKTOP (>=1024): the sidebar stays, the page centres ---------- */
@media (min-width:1024px){
  body[data-skin="web"].inapp #view > .screen:has(> .dp){ padding:0 0 96px; min-height:100vh; }
  body[data-skin="web"] .dp-sheet{ --col:min(640px, calc(100% - 96px)); padding-left:calc((100% - var(--col)) / 2 - 24px); padding-right:calc((100% - var(--col)) / 2 - 24px); }
  body[data-skin="web"] .dp-skycopy{ padding-left:calc((100% - min(640px, calc(100% - 96px))) / 2); padding-top:72px; }
  body[data-skin="web"] .dp-sky-tall{ min-height:460px; }
  body[data-skin="web"] .dp-hero-h1{ font-size:2.75rem; max-width:520px; }
  body[data-skin="web"] .dp-moonmeta{ max-width:320px; }
  body[data-skin="web"] .dp-moonhit{ right:calc(50% - 160px); bottom:120px; }
  body[data-skin="web"] .dp-sky-band .dp-h1{ font-size:2.5rem; }
  body[data-skin="web"] .dp-skycopy-band{ max-width:none; }
  /* sidebar: the brand colours of the depth palette */
  body[data-skin="web"].inapp #tabbar .dp-tablab{ font-size:15px; }
  body[data-skin="web"].inapp #tabbar .tab.center .dp-orbmark{ display:none; }
}

@media (prefers-reduced-motion:reduce){
  .dp-draw, .dp-breathe, .dp-write, .dp-dots span{ animation:none !important; stroke-dasharray:none; }
  .dp-layer, .dp-askpill, .dp-karma, .dp-cover, .dp-btn{ transition:none !important; }
}

/* ============================== WINDOWS ============================== */
.dp-wbody{ display:flex; flex-direction:column; gap:38px; }
.dp-chips{ display:flex; flex-wrap:wrap; gap:8px; }
.dp-fchip{ min-height:40px; padding:0 16px; border-radius:128px; font:inherit; font-size:.9375rem; font-weight:500; cursor:pointer; margin:2px 0;
  background:var(--d-raised); color:var(--d-ink); border:1px solid var(--d-line); box-shadow:var(--d-e1); transition:transform .15s ease,background-color .2s ease; }
.dp-fchip.on{ background:var(--d-btn); color:var(--d-btnfg); border-color:transparent; box-shadow:none; }
.dp-fchip:active{ transform:scale(.97); }
.dp-sec{ display:flex; flex-direction:column; gap:12px; }
.dp-sechead{ display:flex; flex-direction:column; gap:4px; }
/* the timeline well */
.dp-tl{ position:relative; padding:34px 14px 14px; }
.dp-tl-sk{ min-height:200px; }
.dp-tl-months{ position:absolute; left:14px; right:14px; top:10px; height:16px; }
.dp-tl-months span{ position:absolute; font-size:.8125rem; font-weight:700; letter-spacing:.08em; color:var(--d-t3); }
.dp-tl-plot{ position:relative; display:flex; flex-direction:column; gap:12px; }
.dp-tl-today{ position:absolute; left:0; top:-6px; bottom:-4px; width:2px; border-radius:1px; background:var(--d-ink); }
.dp-lane{ position:relative; display:block; width:100%; height:35px; background:none; border:0; padding:0; cursor:pointer; text-align:left; }
.dp-lane-l{ position:absolute; top:0; left:clamp(0px, var(--a), calc(100% - 13ch)); padding-left:6px; max-width:100%; white-space:nowrap; overflow:hidden; text-overflow:ellipsis;
  font-size:.8125rem; font-weight:700; line-height:17px; }
.dp-lane.good .dp-lane-l{ color:var(--d-good); } .dp-lane.care .dp-lane-l{ color:var(--d-care); }
.dp-lane-track{ position:absolute; left:0; right:0; bottom:0; height:14px; }
.dp-bar{ position:absolute; left:var(--a); width:max(14px, var(--w)); top:0; height:14px; border-radius:7px;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.4),0 3px 6px rgba(0,0,0,.4); transform-origin:left center; animation:dpGrow 1.6s cubic-bezier(.65,0,.35,1) both; }
@keyframes dpGrow{ from{ transform:scaleX(.02) } to{ transform:none } }
.dp-lane.good .dp-bar{ background:var(--d-good); }
.dp-lane.care .dp-bar{ background:var(--d-card) repeating-linear-gradient(135deg,var(--d-care) 0 6px,transparent 6px 10px); }
.dp-lane:active .dp-bar{ filter:brightness(1.08); }
.dp-tl-turns{ position:relative; height:16px; }
.dp-turn{ position:absolute; top:-6px; width:28px; height:28px; margin-left:-14px; background:none; border:0; padding:0; cursor:pointer; display:flex; align-items:center; justify-content:center; }
.dp-turn i{ width:11px; height:11px; background:var(--d-accent); transform:rotate(45deg); border-radius:1px; }
.dp-legend{ display:flex; flex-wrap:wrap; gap:6px 14px; padding-top:16px; font-size:.8125rem; color:var(--d-t2); }
.dp-legend span{ display:inline-flex; align-items:center; gap:5px; }
.dp-legend i{ display:inline-block; }
.lg-good{ width:9px; height:9px; border-radius:50%; background:var(--d-good); }
.lg-care{ width:10px; height:10px; border:1px solid var(--d-care); background:repeating-linear-gradient(135deg,var(--d-care) 0 2.5px,transparent 2.5px 4px); }
.lg-turn{ width:8px; height:8px; background:var(--d-accent); transform:rotate(45deg); }
.lg-today{ width:1.5px; height:12px; background:var(--d-ink); }
/* window cards */
.dp-wcard{ border-radius:22px; overflow:hidden; }
.dp-wcard-h{ display:flex; align-items:stretch; gap:14px; width:100%; padding:16px; background:none; border:0; font:inherit; color:inherit; text-align:left; cursor:pointer; }
.dp-wcard-h > .dp-tile{ align-self:center; }
.dp-wcard-c{ flex:1; display:flex; flex-direction:column; gap:2px; min-width:0; }
.dp-wcard-t{ font-size:1.1875rem; font-weight:700; line-height:1.25; color:var(--d-ink); }
.dp-wcard-w{ font-size:.9375rem; line-height:1.45; color:var(--d-t2); }
.dp-wbar{ flex:none; width:6px; border-radius:3px; }
.dp-wbar.good{ background:var(--d-good); }
.dp-wbar.care{ background:repeating-linear-gradient(135deg,var(--d-care) 0 5px,transparent 5px 9px); }
.dp-chevd{ flex:none; align-self:center; color:var(--d-t3); transition:transform .25s ease; }
.dp-wcard.open .dp-chevd{ transform:rotate(180deg); }
.dp-wcard-b{ display:flex; flex-direction:column; gap:14px; padding:0 16px 18px; }
.dp-move{ padding:14px 16px; border-radius:16px; display:flex; flex-direction:column; gap:2px; }
.dp-move p{ font-size:1.0625rem; font-weight:500; color:var(--d-ink); line-height:1.45; }
.dp-wcard-b .dp-link{ align-self:center; min-height:36px; padding:0; }
.dp-every{ display:flex; flex-direction:column; gap:18px; }
/* the full calendar (canonical list) inside "See every date" */
body[data-skin="web"] .dp-callist .monthhead{ font-weight:700; font-size:.8125rem; letter-spacing:.08em; text-transform:uppercase; color:var(--d-t3); padding:18px 0 6px; }
body[data-skin="web"] .dp-callist .winhero-lab{ display:none; }
body[data-skin="web"] .dp-callist .winhero{ display:none; }
body[data-skin="web"] .dp-callist .evcard, body[data-skin="web"] .dp-callist .card{ background:transparent !important; border:0 !important; border-top:1px solid var(--d-line) !important;
  box-shadow:none !important; border-radius:0 !important; margin:0 !important; padding:12px 0 !important; }

/* ============================== ASK (chat) ============================== */
body[data-skin="web"] .screen:has(> .dp-ask){ padding-bottom:calc(250px + env(safe-area-inset-bottom)); }
.dp-ask{ min-height:100%; }
.dp-askhead{ position:sticky; top:0; z-index:6; display:flex; align-items:center; gap:12px; padding:calc(18px + env(safe-area-inset-top)) 24px 14px;
  background:color-mix(in srgb,var(--d-bg) 88%,transparent); -webkit-backdrop-filter:blur(14px); backdrop-filter:blur(14px); border-bottom:1px solid var(--d-line); }
.dp-orbav{ flex:none; width:48px; height:48px; border-radius:50%; display:flex; align-items:center; justify-content:center;
  background:radial-gradient(circle at 34% 28%,#3A4463 0%,#141927 45%,#05060A 100%); border:1px solid #C8A46A;
  box-shadow:inset 0 1px 1px rgba(255,255,255,.35),inset 0 -6px 10px rgba(0,0,0,.6),0 10px 18px -8px rgba(0,0,0,.7); }
.dp-askhead-c{ flex:1; display:flex; flex-direction:column; min-width:0; }
.dp-askhead-n{ font-size:1.25rem; font-weight:700; color:var(--d-ink); line-height:1.2; }
.dp-askhead-s{ font-size:.9375rem; color:var(--d-t2); }
.dp-free{ flex:none; font-size:.8125rem; font-weight:700; color:var(--d-ink); padding:6px 12px; border-radius:128px; background:var(--d-raised); border:1px solid var(--d-line); box-shadow:var(--d-e1); }
.dp-askbody{ padding:20px 24px 0; display:flex; flex-direction:column; gap:24px; }
.dp-ask:has(#chatlog .msg-u) .dp-askempty{ display:none; }
.dp-askempty{ display:flex; flex-direction:column; gap:16px; }
.dp-askempty-h{ font-size:1.375rem; font-weight:700; line-height:1.25; letter-spacing:-.01em; color:var(--d-ink); }
.dp-qrows{ display:flex; flex-direction:column; gap:10px; }
.dp-qrow{ display:flex; align-items:center; justify-content:space-between; gap:12px; min-height:56px; padding:12px 14px 12px 16px; border-radius:18px;
  font:inherit; font-size:1rem; font-weight:500; color:var(--d-ink); text-align:left; cursor:pointer; transition:transform .15s ease; }
.dp-qrow:active{ transform:scale(.98); }
/* the conversation */
body[data-skin="web"] .dp-log{ display:flex; flex-direction:column; gap:14px; padding:0 !important; margin:0 !important; height:auto !important; overflow:visible !important; }
body[data-skin="web"] .dp-log .msg-u{ align-self:flex-end; max-width:86% !important; width:fit-content; margin:0 !important; padding:14px 18px !important;
  background:var(--d-btn) !important; color:var(--d-btnfg) !important; border:0 !important; border-radius:20px 20px 4px 20px !important; box-shadow:var(--d-e1) !important;
  font-size:1rem; line-height:1.5; font-weight:500; }
body[data-skin="web"] .dp-log .msg-a{ align-self:stretch; max-width:none !important; margin:0 !important; padding:16px 18px !important; border-radius:6px 22px 22px 22px !important;
  background:var(--d-raised) !important; border:1px solid var(--d-line) !important; box-shadow:var(--d-e1) !important; }
body[data-skin="web"] .dp-log .msg-a .reading, body[data-skin="web"] .dp-log .msg-a .reading p, body[data-skin="web"] .dp-log .msg-a p{
  font-size:1rem !important; line-height:1.6 !important; color:var(--d-body) !important; font-style:normal !important; font-weight:400 !important; }
body[data-skin="web"] .dp-log .msg-a .reading p + p{ margin-top:12px; }
body[data-skin="web"] .dp-log .msg-a b, body[data-skin="web"] .dp-log .msg-a strong{ color:var(--d-accent) !important; font-weight:700 !important; }
body[data-skin="web"] .dp-log .rememberlabel{ font-size:.8125rem; font-weight:700; letter-spacing:.08em; text-transform:uppercase; color:var(--d-t3); }
body[data-skin="web"] .dp-log .followups{ display:flex; flex-wrap:wrap; gap:8px; }
body[data-skin="web"] .dp-log .fumicro{ width:100%; font-size:.8125rem; font-weight:700; letter-spacing:.08em; text-transform:uppercase; color:var(--d-t3); }
body[data-skin="web"] .dp-log .fuchip{ min-height:40px; padding:6px 14px; border-radius:18px; font:inherit; font-size:.9375rem; font-weight:500; text-align:left; cursor:pointer;
  background:var(--d-raised); color:var(--d-ink); border:1px solid var(--d-line); box-shadow:var(--d-e1); }
/* the composer: chips row + a raised pill holding the well input, mic and send orb */
body[data-skin="web"] #chatbar{ background:none !important; padding:0 !important; gap:8px; }
@media (max-width:1023px){
  body[data-skin="web"] #chatbar{ left:14px !important; right:14px !important; bottom:calc(98px + env(safe-area-inset-bottom)); }
  body[data-skin="web"].dp-kb #chatbar:not([style*="bottom"]){ bottom:10px; }
}
@media (min-width:600px) and (max-width:1023px){ body[data-skin="web"] #chatbar{ left:calc(50% - 300px) !important; right:calc(50% - 300px) !important; } }
body[data-skin="web"] #chatbar #chatchips{ display:flex; gap:8px; overflow-x:auto; padding:2px 2px 4px; margin:0; scrollbar-width:none; flex-wrap:nowrap; }
body[data-skin="web"] #chatbar #chatchips::-webkit-scrollbar{ display:none; }
body[data-skin="web"] #chatbar #chatchips .chip{ flex:none; min-height:36px; display:inline-flex; align-items:center; padding:0 14px; border-radius:128px; white-space:nowrap;
  font-size:.9375rem; font-weight:500; letter-spacing:0; text-transform:none; background:var(--d-raised) !important; color:var(--d-ink) !important; border:1px solid var(--d-line) !important; box-shadow:var(--d-e1); }
body[data-skin="web"] #chatbar #chatchips .chip.qchip{ color:var(--d-accent) !important; font-weight:700; }
body[data-skin="web"] #chatbar .inputrow{ display:flex; align-items:flex-end; gap:8px; padding:8px !important; border-radius:34px;
  background:var(--d-raised); border:1px solid var(--d-line); box-shadow:var(--d-e2); }
body[data-skin="web"] #chatbar textarea{ flex:1; min-height:48px; border:0 !important; outline:0; border-radius:24px !important; padding:13px 16px !important;
  background:var(--d-well) !important; box-shadow:var(--d-wellsh) !important; color:var(--d-ink) !important; font:inherit; font-size:1rem !important; line-height:1.4; resize:none; }
body[data-skin="web"] #chatbar textarea::placeholder{ color:var(--d-t3); }
body[data-skin="web"] #chatbar textarea:focus-visible{ box-shadow:var(--d-wellsh),0 0 0 2px var(--d-accent) !important; }
body[data-skin="web"] #chatbar #micbtn{ flex:none; width:48px; height:48px; border-radius:50%; display:flex; align-items:center; justify-content:center; padding:0;
  background:var(--d-raised) !important; border:1px solid var(--d-line) !important; box-shadow:var(--d-e1) !important; color:var(--d-ink); }
body[data-skin="web"] #chatbar #micbtn svg{ width:22px; height:22px; fill:none; stroke:currentColor; stroke-width:1.6; }
body[data-skin="web"] #chatbar #sendbtn{ flex:none; width:48px; height:48px; border-radius:50%; display:flex; align-items:center; justify-content:center; padding:0; border:0 !important;
  background:radial-gradient(circle at 34% 28%,#3A4463 0%,#141927 50%,#05060A 100%) !important; color:#EDE6D6;
  box-shadow:inset 0 1px 1px rgba(255,255,255,.3),0 6px 10px -4px rgba(0,0,0,.6) !important; }
body[data-skin="web"] #chatbar #sendbtn svg{ display:none; }
body[data-skin="web"] #chatbar #sendbtn::after{ content:""; width:22px; height:22px; background:currentColor;
  -webkit-mask:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'><path d='M12 19V5M6 11l6-6 6 6'/></svg>") center/contain no-repeat;
          mask:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'><path d='M12 19V5M6 11l6-6 6 6'/></svg>") center/contain no-repeat; }
body[data-skin="web"] #chatbar #chatdown{ background:var(--d-raised); border:1px solid var(--d-line); box-shadow:var(--d-e2); color:var(--d-ink); }
@media (min-width:1024px){
  body[data-skin="web"] .dp-askhead{ padding:22px max(24px, calc((100% - 640px) / 2)) 16px; }
  body[data-skin="web"] .dp-askbody{ max-width:640px; margin:0 auto; padding:28px 0 0; }
  body[data-skin="web"].inapp #chatbar{ left:calc(260px + (100% - 260px - 640px) / 2) !important; right:auto !important; width:640px; bottom:24px !important; }
}

/* ============================== MY CHART ============================== */
.dp-seg2{ display:grid; grid-template-columns:1fr 1fr; padding:5px; border-radius:128px; background:var(--d-well); box-shadow:var(--d-wellsh); }
.dp-seg2 button{ min-height:40px; border:0; border-radius:128px; background:transparent; color:var(--d-t2); font:inherit; font-size:.9375rem; font-weight:500; cursor:pointer; transition:background-color .2s ease,color .2s ease,transform .15s ease; }
.dp-seg2 button.on{ background:var(--d-btn); color:var(--d-btnfg); }
.dp-seg2 button:active{ transform:scale(.97); }
/* the chart plate: always night (the chart field is night-locked in the app) */
body[data-skin="web"] .dp-plate{ position:relative; border-radius:30px; padding:18px; overflow:hidden;
  background:radial-gradient(130% 90% at 12% 0%,#28304A 0%,#131827 42%,#0B0D14 78%) !important; border:1px solid #4A3F28; box-shadow:var(--d-e3) !important;
  --w-head:#EDE6D6; --w-t2:#B5AE9F; --w-t3:#9A9484; --w-brass:#C8A46A; --w-brassHi:#E6CC95; --w-hair:#3A3F4D; --w-ground:#0B0D14; --w-raised:#181C27;
  --ink:#EDE6D6; --sec:#B5AE9F; --gold:#C8A46A; --goldBright:#E6CC95; --goldText:#E6CC95; --parch:#EDE6D6; --card:#131827; --hair:#3A3F4D; }
body[data-skin="web"] .dp-plate::before{ content:""; position:absolute; left:24px; right:24px; top:0; height:2px; z-index:1;
  background:linear-gradient(90deg,transparent,#E6CC95 30%,#FFF3CF 50%,#C8A46A 70%,transparent); }
body[data-skin="web"] .dp-plate > svg:not(.twinklefield){ display:block; width:100% !important; height:auto !important; max-width:none; margin:0 auto; }
.dp-shift:empty{ display:none; }
body[data-skin="web"] .dp-shift .wc-shift{ background:var(--d-raised) !important; border:1px solid var(--d-line) !important; box-shadow:var(--d-e1) !important; border-radius:22px !important; margin:0 !important; }
/* the ten readings as book covers (.face) */
.dp-covers{ display:grid; grid-template-columns:1fr 1fr; gap:14px; }
.dp-cover{ display:flex !important; flex-direction:column; justify-content:space-between; gap:8px; aspect-ratio:3/4.3; padding:14px 12px 12px 18px !important;
  border-radius:6px 18px 18px 6px; border:1px solid var(--d-line) !important; background:var(--d-raised) !important;
  box-shadow:inset 5px 0 0 var(--d-well),inset 6px 0 0 var(--d-line),3px 3px 0 -1px var(--d-card),4px 4px 0 -1px var(--d-line),var(--d-e2) !important; overflow:hidden; }
.dp-cover-top{ display:flex; justify-content:space-between; font-size:.8125rem; font-weight:700; letter-spacing:.08em; color:var(--d-t3); }
.dp-cover-art{ width:78%; align-self:center; height:auto; }
.dp-cover-t{ font-size:1.125rem; font-weight:700; line-height:1.2; color:var(--d-ink); }
.dp-cover-s{ display:flex; align-items:center; justify-content:space-between; font-size:.875rem; font-weight:700; color:var(--d-ink); }
.dp-cover-s .dp-chev{ width:16px; height:16px; color:var(--d-ink); }

.dp-cover .dp-isread{ color:var(--d-good); }
/* row cards (Deep reports, The Two of You) */
.dp-rowcard{ display:flex !important; align-items:center; gap:16px; padding:16px 16px 16px 18px !important; border-radius:22px; }
.dp-rc-ic{ flex:none; width:58px; height:58px; border-radius:12px; display:flex; align-items:center; justify-content:center; font-size:1.0625rem; font-weight:700; color:var(--d-accent); }
.dp-rc-art{ flex:none; }
.dp-rc-c{ flex:1; display:flex; flex-direction:column; gap:2px; min-width:0; }
.dp-rc-t{ font-size:1.1875rem; font-weight:700; color:var(--d-ink); }
.dp-rc-s{ font-size:.9375rem; color:var(--d-t2); line-height:1.4; }
/* chart details accordions */
.dp-accs{ display:flex; flex-direction:column; }
.dp-acc{ border-top:1px solid var(--d-line); }
.dp-acc:last-child{ border-bottom:1px solid var(--d-line); }
.dp-acc-h{ display:flex; align-items:center; gap:12px; width:100%; min-height:60px; padding:10px 0; background:none; border:0; font:inherit; color:inherit; text-align:left; cursor:pointer; }
.dp-acc-h > span{ flex:1; display:flex; flex-direction:column; }
.dp-acc-h b{ font-size:1.0625rem; color:var(--d-ink); }
.dp-acc-h span span{ font-size:.9375rem; color:var(--d-t2); }
.dp-acc.open .dp-chevd{ transform:rotate(180deg); }
.dp-acc-b{ padding:0 0 14px; display:flex; flex-direction:column; }
.dp-dt-r{ display:grid; grid-template-columns:96px 1fr; gap:12px; padding:6px 0; font-size:.9375rem; color:var(--d-body); }
.dp-dt-r b{ color:var(--d-ink); }
@media (min-width:1024px){ .dp-covers{ grid-template-columns:repeat(3,1fr); } }

/* ============================== YOU ============================== */
.dp-ychips{ display:flex; flex-wrap:wrap; gap:8px; }
.dp-ychip{ display:inline-flex; align-items:center; min-height:36px; padding:0 14px; border-radius:128px; font-size:.9375rem; font-weight:500; color:var(--d-ink); }
.dp-ident{ display:flex; flex-direction:column; gap:12px; }
.dp-ident .dp-link{ align-self:flex-start; }
.dp-member{ display:flex !important; align-items:center; gap:8px; min-height:58px; padding:0 14px 0 18px !important; border-radius:22px; font-size:1rem; }
.dp-member b{ color:var(--d-ink); } .dp-member .dp-mdot{ color:var(--d-t3); }
.dp-member .dp-mgo{ flex:1; color:var(--d-accent); font-weight:500; }
.dp-member.paid{ background:radial-gradient(120% 100% at 100% 0%,#28304A 0%,#0B0D14 62%) !important; border:1px solid #4A3F28 !important; color:#EDE6D6; }
.dp-member.paid .dp-mgo{ color:#EDE6D6; }
.dp-karma{ display:flex !important; flex-direction:column; gap:12px; padding:22px !important; border-radius:28px; }
.dp-karma-row{ display:flex; align-items:center; gap:18px; }
.dp-karma-n{ display:block; font-size:2.5rem; font-weight:700; line-height:1; color:var(--d-ink); font-variant-numeric:tabular-nums; }
.dp-karma-l{ display:block; font-size:1.1875rem; font-weight:500; color:var(--d-accent); margin-top:4px; }
.dp-karma-bar{ display:block; height:8px; border-radius:4px; background:var(--d-line); overflow:hidden; }
.dp-karma-bar i{ display:block; height:100%; border-radius:4px; background:var(--d-accent); }
.dp-karma .dp-link{ min-height:24px; padding:0; }
/* the existing You sections, re-dressed as depth cards */
body[data-skin="web"] .dp-you .wy-nav{ display:none !important; }
body[data-skin="web"] .dp-you .wy-card, body[data-skin="web"] .dp-you .w-card{
  background:var(--d-raised) !important; border:1px solid var(--d-line) !important; box-shadow:var(--d-e1) !important; border-radius:24px !important;
  margin:0 !important; padding:18px 18px !important; width:auto !important; max-width:none !important; }
body[data-skin="web"] .dp-you .wy-sect-h, body[data-skin="web"] .dp-you .w-over{ font-weight:700; font-size:.8125rem; letter-spacing:.08em; text-transform:uppercase; color:var(--d-t3) !important; }
body[data-skin="web"] .dp-you .wy-h2{ font-size:1.375rem !important; font-weight:700 !important; color:var(--d-ink) !important; letter-spacing:-.01em; margin:0; }
body[data-skin="web"] .dp-you .wy-set-t, body[data-skin="web"] .dp-you .wy-data-row > span:not(.wy-set-c){ font-size:1rem; font-weight:500; color:var(--d-ink); }
body[data-skin="web"] .dp-you .wy-set-s, body[data-skin="web"] .dp-you .w-t2, body[data-skin="web"] .dp-you .wy-card-sub{ font-size:.9375rem; color:var(--d-t2) !important; }
body[data-skin="web"] .dp-you .wy-data-row, body[data-skin="web"] .dp-you .wy-set-row{ min-height:56px; border-top:1px solid var(--d-line) !important; }
body[data-skin="web"] .dp-you .wy-data-list > :first-child, body[data-skin="web"] .dp-you .wy-sect-h + .wy-set-row{ border-top:0 !important; }
body[data-skin="web"] .dp-you .wy-danger, body[data-skin="web"] .dp-you .wy-danger span{ color:var(--d-care) !important; }
body[data-skin="web"] .dp-you .wy-add, body[data-skin="web"] .dp-you .wy-edit{ color:var(--d-accent) !important; font-weight:500; text-decoration:underline; text-underline-offset:4px; }
body[data-skin="web"] .dp-you .wy-switch{ background:var(--d-well) !important; box-shadow:var(--d-wellsh); border:0 !important; }
body[data-skin="web"] .dp-you .wy-switch.on{ background:var(--d-good) !important; }
body[data-skin="web"] .dp-you .wy-person{ border-top:1px solid var(--d-line); }
body[data-skin="web"] .dp-you .wy-person:first-child{ border-top:0; }
body[data-skin="web"] .dp-you .wy-person-av{ width:52px; height:52px; border-radius:50%; background:var(--d-raised) !important; border:1px solid var(--d-line) !important; box-shadow:var(--d-e1);
  display:flex; align-items:center; justify-content:center; font-weight:700; font-size:1.0625rem; color:var(--d-ink); }
body[data-skin="web"] .dp-you .wy-person-av::after{ content:attr(data-i); }
body[data-skin="web"] .dp-you .wy-foot{ font-size:.8125rem; color:var(--d-t3); }
body[data-skin="web"] .dp-you .wy-foot a{ color:var(--d-t2); }
body[data-skin="web"] .dp-you .wy-member .wy-goldcard{ margin:0 0 14px; }
.dp-acc-b[hidden]{ display:none; }
body[data-skin="web"] .dp-you .wy-count-pill{ display:none; }
.dp-ask .dp-chips{ flex-wrap:nowrap; overflow-x:auto; scrollbar-width:none; margin:0 -24px; padding:2px 24px 6px; }
.dp-ask .dp-chips::-webkit-scrollbar{ display:none; }
.dp-ask .dp-fchip{ flex:none; }
body[data-skin="web"] #chatbar #chatdown[hidden]{ display:none !important; }
body[data-skin="web"] #chatbar textarea{ order:1; } body[data-skin="web"] #chatbar #micbtn{ order:2; } body[data-skin="web"] #chatbar #sendbtn{ order:3; }
body[data-skin="web"] .dp-read p + p, body[data-skin="web"] .dp-read .reading p + p{ margin-top:12px; }

/* ---------- desktop polish ---------- */
@media (min-width:1024px){
  body[data-skin="web"].inapp #tabbar{ background:var(--d-card) !important; border-right:1px solid var(--d-line) !important; }
  body[data-skin="web"].inapp #tabbar .tab.active{ background:var(--d-raised) !important; box-shadow:var(--d-e1) !important; outline:1px solid var(--d-line); color:var(--d-ink) !important; }
  body[data-skin="web"] .dp-plate{ max-width:460px; margin:0 auto; }
  body[data-skin="web"] .dp-skysub{ max-width:560px; }
}
body[data-skin="web"] .dp-you .wy-row-btn{ display:block; width:100% !important; text-align:left; font:inherit; color:inherit; cursor:pointer; }

/* the square chart (dpSquareChart) */
.dp-sq{ display:block; width:100%; height:auto; }
.dp-sq-s{ font-size:13px; font-weight:700; letter-spacing:1px; fill:#9A9484; }
.dp-sq-s.on{ fill:#E6CC95; }
.dp-sq-p{ font-size:16px; font-weight:700; fill:#EDE6D6; }
.dp-sq-p .gtap[data-planet]{ cursor:pointer; }
.dp-sq-r{ font-size:10px; }
.dp-sq-n{ font-size:16px; fill:#DCD4C3; }
.dp-sq-a{ font-size:13px; fill:#9A9484; }

/* ---------- fixes from the side-by-side ---------- */
body[data-skin="web"] .dp-log .msg-a > .reading::before{ content:none; display:none; }
body[data-skin="web"] #reflectslot .reflectcard::before{ content:none; display:none; }
body[data-skin="web"] .dp-plate.chartpanel{ margin:0 !important; width:auto !important; }
@media (min-width:1024px){ body[data-skin="web"] .dp-plate.chartpanel{ margin:0 auto !important; } }
@media (max-width:1023px){ body[data-skin="web"] .dp-sky-band .dp-h1{ max-width:290px; } }

/* tablets / small laptops: the app fills the window (no phone frame); the depth
   column keeps phone proportions instead (see "PHONE-WIDTH COLUMN" above) */
@media (min-width:480px) and (max-width:1023px){
  body[data-skin="web"].inapp{ padding:0; background:var(--d-bg); }
  body[data-skin="web"].inapp #phone{ height:100dvh; border-radius:0; box-shadow:none; border:0; }
}

/* ===== Value first (Nov 2026): locked chapter preview, partner card, nudge ===== */
.dp-cover.locked .dp-cover-art{ opacity:.5; }
.dp-cover .dp-islock{ display:inline-flex; align-items:center; gap:6px; color:var(--d-t2); }
.dp-cover .dp-islock svg{ width:11px; height:13px; }
.dp-cover.free .dp-cover-top span:last-child{ color:var(--d-accent); }
.wr-nav-row.locked .wr-nav-t{ opacity:.7; }
.wr-nav-lk{ margin-left:auto; color:var(--d-t3, #8A8475); display:inline-flex; }
.vf-preview{ margin:22px 0 8px; padding:22px 20px 20px; border-radius:22px; background:var(--d-raised, var(--card)); border:1px solid var(--d-line, var(--hair)); box-shadow:var(--d-e1, none); }
.vf-pv-ov{ font-weight:700; font-size:.8125rem; letter-spacing:.08em; text-transform:uppercase; color:var(--d-accent, var(--goldText)); }
.vf-pv-facts{ list-style:none; margin:12px 0 0; padding:0; }
.vf-pv-facts li{ position:relative; padding-left:20px; margin:10px 0 0; font-size:1.0625rem; line-height:1.55; color:var(--d-ink, var(--ink)); }
.vf-pv-facts li::before{ content:'\2726'; position:absolute; left:0; top:.15em; font-size:.7rem; color:var(--d-accent, var(--goldText)); }
.vf-pv-line{ margin:14px 0 0; font-size:.9375rem; line-height:1.6; color:var(--d-t2, var(--sec)); }
.vf-pv-fade{ display:flex; flex-direction:column; gap:9px; margin:18px 0 20px; }
.vf-pv-fade span{ display:block; height:11px; border-radius:6px; background:linear-gradient(90deg, var(--d-line, rgba(0,0,0,.08)), transparent); }
.vf-pv-fade span:nth-child(2){ width:86%; }
.vf-pv-fade span:nth-child(3){ width:62%; }
.vf-pv-cta{ min-height:48px; }
.vf-pv-alt{ display:block; width:100%; margin-top:10px; min-height:44px; background:none; border:none; font:inherit; font-size:.9375rem; font-weight:600; color:var(--d-accent, var(--goldText)); cursor:pointer; text-decoration:underline; text-underline-offset:3px; }
.vf-partner{ padding:20px; border-radius:22px; }
.vf-partner-t{ margin:10px 0 16px; font-size:1.0625rem; line-height:1.55; color:var(--d-ink); }
.vf-partner-s{ margin:10px 0 0; font-size:.8125rem; color:var(--d-t2); text-align:center; }
.vf-nudge{ position:fixed; left:0; right:0; bottom:0; z-index:9400; display:flex; justify-content:center; padding:0 16px calc(92px + env(safe-area-inset-bottom)); pointer-events:none; }
.vf-nudge-card{ pointer-events:auto; width:100%; max-width:420px; padding:20px 20px 16px; border-radius:22px; background:var(--d-raised, #FBF8F2); color:var(--d-ink, #17161C); border:1px solid var(--d-line, #E2DACB); box-shadow:var(--d-e3, 0 20px 50px rgba(0,0,0,.35));
  transform:translateY(24px); opacity:0; transition:transform .45s cubic-bezier(.22,1,.36,1), opacity .3s ease; }
.vf-nudge.in .vf-nudge-card{ transform:none; opacity:1; }
.vf-nudge-t{ margin:8px 0 4px; font-size:1.25rem; font-weight:700; line-height:1.3; }
.vf-nudge-b{ margin:0 0 16px; font-size:.9375rem; line-height:1.55; color:var(--d-t2, #4F4A3F); }
.vf-nudge-acts{ display:flex; gap:10px; align-items:center; }
.vf-nudge-no{ flex:0 0 auto; min-height:44px; padding:0 14px; background:none; border:none; font:inherit; font-size:.9375rem; font-weight:600; color:var(--d-t2, #4F4A3F); cursor:pointer; }
.vf-nudge-yes{ flex:1; min-height:46px; margin:0; }
@media (min-width:1024px){ .vf-nudge{ padding-bottom:28px; } }
@media (prefers-reduced-motion: reduce){ .vf-nudge-card{ transition:none; } }

/* ---------- TOAST ("✦ remembered" etc.) ----------
   The base #toast is var(--ink) on var(--goldBright). In the web skin --ink
   remaps to --w-head (cream in Night) and --goldBright to the light accent, so
   it rendered gold on a cream pill (contrast ~1.3, live QA 27 Nov). Use the
   raised-card surface + the tone's accent ink instead: Night #D9BC85 on
   #181C27 = 9.3:1, Vellum #7A5C28 on #FFFFFF = 6.2:1. */
body[data-skin="web"] #toast{ background:var(--d-raised); color:var(--d-accent);
  border:1px solid var(--d-line); box-shadow:var(--d-e2); }
