/* ============================================================================
   coach-stone.css — "Stone" (approved 2026-11-24, operator: "the stone version you propose")
   The DEFAULT coach look. Replaces coach-forest-bloom.css rule-for-rule (same selectors,
   Stone values). LOOK ONLY: no markup, ids, data-*, handlers or APIs.
   Scope: every rule hangs off html.cs-on, set by coach-stone.js on the default palette.
   Direction: Randall's Stone studio — bone ground, white cards, ink as the only dark,
   lime = active / needs you, smoke stone slabs, Jost + Archivo caps + Cormorant numbers.
   Blue: never a fill. Only a faint frost glow in one corner of the field.
   Proposal: claude-review/2026-11-24-coach-stone/ (v2)
   ========================================================================== */

/* ---- tokens ---------------------------------------------------------------- */
html.cs-on:root{
  --cs-ink:#1C1B19; --cs-ink2:#55504A; --cs-muted:#5E5A55; --cs-faint:#8A837B;
  --cs-bone:#EDE7DF; --cs-sand:#E4DCD1; --cs-card:#FBF9F6; --cs-line:rgba(28,27,25,.09);
  --cs-lime:#D3DE9E; --cs-lime-hi:#E3EAC0; --cs-lime-ink:#4A521F; --cs-on:#F4EFE8; --cs-on2:rgba(244,239,232,.86);
  --cs-card-shadow:0 12px 30px -16px rgba(28,27,25,.24),inset 0 1px 0 rgba(255,255,255,.6);
  --cs-smoke:linear-gradient(158deg,#3B3A38 0%,#2B2A28 52%,#1F1E1C 100%);
  --cs-smoke-shadow:0 22px 40px -22px rgba(28,27,25,.6),inset 0 1px 0 rgba(255,255,255,.18);
  --cs-solid:#1C1B19;
  --cs-solid-shadow:0 10px 22px -12px rgba(28,27,25,.6);
  --cs-paint:radial-gradient(42% 30% at 12% 0%,rgba(220,231,242,.35),transparent 72%),#EDE7DF;
  --cs-caps:'Archivo',system-ui,sans-serif; --cs-num:'Cormorant Garamond',Georgia,serif; --cs-body:'Jost',system-ui,sans-serif;
  --bg:#EDE7DF; --primary:#1C1B19; --accent:#D3DE9E; --on-accent:#1C1B19; --line:rgba(28,27,25,.10);
}

/* ---- the field: bone + one faint frost glow (the only blue) ---------------- */
html.cs-on{background:#EDE7DF!important} /* skin-ok: Stone is the coach app's fixed default look */
html.cs-on body{background:transparent!important;font-family:var(--cs-body)}
html.cs-on .csf{position:fixed;inset:0;z-index:-1;overflow:hidden;pointer-events:none;
  background:radial-gradient(48% 30% at 8% 0%,rgba(220,231,242,.42),transparent 72%),#EDE7DF} /* skin-ok: Stone fixed default */
html.cs-on .csf .grain{position:absolute;inset:0;opacity:.05;mix-blend-mode:multiply;background-image:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>")}
@keyframes csgrow{from{transform:scaleX(0)}}

/* page containers go see-through so the field shows */
html.cs-on .shell,html.cs-on .topspace,html.cs-on .scroll,html.cs-on #home.view,
html.cs-on .csh-frame,html.cs-on .csh-tab-loading{background:transparent!important}

/* ============================== SHELL: dock + AI orb ======================= */
html.cs-on .csh-nav{background:rgba(28,27,25,.94)!important; /* skin-ok: Stone fixed default */
  -webkit-backdrop-filter:blur(16px)!important;backdrop-filter:blur(16px)!important;
  border-radius:999px!important;border:0!important;box-shadow:0 18px 36px -16px rgba(28,27,25,.6)!important} /* skin-ok: Stone fixed default */
html.cs-on .csh-nav::before{display:none!important}
html.cs-on .csh-nav-item{color:rgba(244,239,232,.62)!important;font-family:var(--cs-body)!important;font-weight:500!important;border-radius:999px!important; /* skin-ok: Stone fixed default */
  transition:color .3s!important}
html.cs-on .csh-nav-item.active{color:#1C1B19!important;transform:none!important} /* skin-ok: Stone fixed default */
html.cs-on .csh-nav-item.active svg{filter:none!important}
/* 11-27 (operator's proposal image: "I want the navigation bar to be like this"): the same bar as her client app.
   Black plate, light icons, the tab you are on = a round pistachio button, no names on screen (they stay for screen readers).
   The lens is 52 px wide (coach-shell.html csh-lens-js), so a 52 px high pill settles into a circle and still stretches between tabs. */
html.cs-on .csh-nav{padding:7px 8px!important;box-shadow:0 18px 36px -16px rgba(28,27,25,.62),0 2px 8px -2px rgba(28,27,25,.3)!important} /* skin-ok: Stone fixed default */
html.cs-on .csh-nav-item{height:52px!important;padding:0!important;gap:0!important;justify-content:center!important;color:rgba(242,239,233,.88)!important} /* skin-ok: Stone fixed default */
html.cs-on .csh-nav-item svg{stroke-width:1.75!important}
html.cs-on .csh-nav-item > span[data-i18n]{position:absolute!important;width:1px!important;height:1px!important;margin:0!important;padding:0!important;overflow:hidden!important;clip-path:inset(50%)!important;white-space:nowrap!important}
html.cs-on .csh-nav-item .csh-barind{display:none!important}
html.cs-on .csh-nav-item:active .csh-iconwrap{transform:scale(.92)}
html.cs-on .csh-nav-item .csh-iconwrap{transition:transform .18s cubic-bezier(.22,.8,.24,1)}
html.cs-on .csh-lens{border-radius:999px!important;top:50%!important;bottom:auto!important;height:52px!important;
  background:#D6DDA4!important;transform:translateY(-50%)!important;box-shadow:none!important} /* skin-ok: Stone fixed default (the client app's pistachio) */
/* the unread count: an ink dot with a pistachio number, as in the proposal (reads on the plate and on the pistachio circle) */
html.cs-on .csh-nbadge:not(#al){top:-8px!important;left:calc(50% + 5px)!important;min-width:17px!important;height:17px!important;padding:0 4px!important;border-radius:999px!important;background:#1C1B19!important;color:#D6DDA4!important;font:600 10px/1 var(--cs-body)!important;box-shadow:0 0 0 2px rgba(28,27,25,.94)!important} /* skin-ok: Stone fixed default */
html.cs-on .csh-nbadge{background:var(--cs-lime)!important;color:var(--cs-ink)!important;box-shadow:0 0 0 2px #1C1B19!important} /* skin-ok: Stone fixed default */
/* the AI orb: a white stone with a frost core, ink spark */
html.cs-on .cai-orb{width:66px!important;height:66px!important;border-radius:50%!important;
  background:#FDFCFA!important;border:0!important; /* skin-ok: Stone fixed default · 11-27 flat white, no ring, no tint (operator: the AI button stays WHITE) */
  box-shadow:0 10px 24px -10px rgba(28,27,25,.3),0 2px 6px -2px rgba(28,27,25,.12)!important} /* skin-ok: Stone fixed default */
html.cs-on .cai-orb .cai-aur{display:none!important}
html.cs-on .cai-orb > svg{fill:var(--cs-ink)!important;filter:none!important}
html.cs-on .cai-orb::before{display:none!important}
html.cs-on .cai-orb .cai-lk{box-shadow:0 0 0 2px #FBF9F6!important} /* skin-ok: Stone fixed default */
html.cs-on .cai-sheet{background:var(--cs-paint)!important}
html.cs-on .cai-tile,html.cs-on .cai-ai,html.cs-on .cai-card,html.cs-on .cai-typing{background:var(--cs-card)!important;box-shadow:var(--cs-card-shadow)!important;border:1px solid var(--cs-line)!important}
html.cs-on .cai-me,html.cs-on .cai-cta:not(.cai-danger),html.cs-on .cai-spark{background:var(--cs-solid)!important;color:var(--cs-on)!important;box-shadow:var(--cs-solid-shadow)!important}
html.cs-on .cai-veil{background:rgba(28,27,25,.32)!important;-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px)} /* skin-ok: Stone fixed default */

/* ============================== shared chrome =============================== */
/* icon buttons: solid = the one ink action (lime icon) · plain = white stone */
html.cs-on .hv2-plus,html.cs-on .cv2-ib.solid,html.cs-on .lv2-ib.solid,html.cs-on .iv2-ib.solid,html.cs-on .lh-ib.solid{
  background:#FBF9F6!important;box-shadow:0 0 0 1px rgba(28,27,25,.09),0 10px 24px -16px rgba(28,27,25,.3)!important;color:#1C1B19!important} /* skin-ok: Stone fixed default — top-bar actions are white; the hero slab is the one dark element */
html.cs-on .hv2-plus svg,html.cs-on .cv2-ib.solid svg,html.cs-on .lv2-ib.solid svg,html.cs-on .iv2-ib.solid svg,html.cs-on .lh-ib.solid svg{stroke:#1C1B19!important} /* skin-ok: Stone fixed default */
html.cs-on .cv2-ib:not(.solid),html.cs-on .lv2-ib:not(.solid),html.cs-on .iv2-ib:not(.solid),html.cs-on .lh-ib:not(.solid),html.cs-on .chome .bell,html.cs-on .coach-acct-btn{
  background:rgba(251,249,246,.9)!important;-webkit-backdrop-filter:none;backdrop-filter:none; /* skin-ok: Stone fixed default */
  box-shadow:0 0 0 1px rgba(28,27,25,.09),0 10px 24px -16px rgba(28,27,25,.3)!important;border:0!important;border-radius:50%!important;color:var(--cs-ink)!important} /* skin-ok: Stone fixed default */
html.cs-on .coach-acct-btn{width:44px!important;height:44px!important}
/* section labels / meta text */
html.cs-on .chome>.subline,html.cs-on .chome .sec-head .link,html.cs-on .cv3-h span,html.cs-on .lv2-sec span{color:var(--cs-muted)!important}
html.cs-on .chome .sec-head h2,html.cs-on .chome .hv2-studio h2,html.cs-on .cv3-h b,html.cs-on .lv2-sec h2,html.cs-on #home .lh-sec h2{font-family:var(--cs-body)!important;font-weight:500!important;font-size:20px!important;letter-spacing:-.01em!important;color:var(--cs-ink)!important}
/* toast */
html.cs-on #toast,html.cs-on .toast{background:#1C1B19!important;color:#F4EFE8!important;-webkit-backdrop-filter:none;backdrop-filter:none;box-shadow:0 14px 30px -14px rgba(28,27,25,.5)!important} /* skin-ok: Stone fixed default */
/* scrims + bottom sheets */
html.cs-on .hv2-scrim,html.cs-on .coach-sb-overlay,html.cs-on .cw2-scrim{background:rgba(28,27,25,.32)!important;-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px)} /* skin-ok: Stone fixed default */
html.cs-on .hv2-sheet{background:#FBF9F6!important;-webkit-backdrop-filter:none;backdrop-filter:none; /* skin-ok: Stone fixed default */
  left:8px!important;right:8px!important;bottom:8px!important;border-radius:36px!important;box-shadow:0 30px 60px -20px rgba(28,27,25,.45)!important} /* skin-ok: Stone fixed default */
html.cs-on .hv2-opt i{background:#E4DCD1!important;box-shadow:none!important;color:#1C1B19} /* skin-ok: Stone fixed default */

/* ============================== cards ======================================= */
html.cs-on .chome .stack,html.cs-on .chome>.hv3-studio,html.cs-on #convList:not(:empty),html.cs-on .chub-ai,html.cs-on .chub-rows,html.cs-on .lh-next{
  position:relative;background:var(--cs-card)!important;-webkit-backdrop-filter:none;backdrop-filter:none;
  box-shadow:var(--cs-card-shadow),0 0 0 1px var(--cs-line)!important;border:0!important}
html.cs-on .chome .stack::after,html.cs-on .chome>.hv3-studio::after,html.cs-on .chub-ai::after,html.cs-on .chub-rows::after,html.cs-on .lh-next::after{display:none!important}
html.cs-on .chome .stack,html.cs-on .chome>.hv3-studio{margin:6px 14px 0!important;padding:2px 14px!important;border-radius:26px!important;overflow:visible!important}
html.cs-on .chome .stack:empty{display:none}
html.cs-on .chome .stack .row,html.cs-on .chome .hv3-row{border-color:var(--cs-line)!important}
html.cs-on .chome .stack .row+.row{border-top:1px solid var(--cs-line)!important}

/* rows that are siblings under a heading: white SEGMENTS that read as one card */
html.cs-on #clientList .client-row,html.cs-on #lv2Home .lv2-row,html.cs-on #sec-messages .iv4-groups{
  background:var(--cs-card)!important;-webkit-backdrop-filter:none;backdrop-filter:none;
  margin:0 -6px!important;padding-left:14px!important;padding-right:14px!important;width:calc(100% + 12px)!important;box-sizing:border-box!important;
  border-radius:0!important;border-bottom:1px solid var(--cs-line)!important;box-shadow:inset 1px 0 0 var(--cs-line),inset -1px 0 0 var(--cs-line)!important}
html.cs-on #clientList .cv3-h+.client-row,html.cs-on #clientList>.client-row:first-child,
html.cs-on #lv2Home .lv2-sec+.lv2-row,html.cs-on #sec-messages .iv4-groups{border-top-left-radius:26px!important;border-top-right-radius:26px!important;
  box-shadow:inset 0 1px 0 var(--cs-line),inset 1px 0 0 var(--cs-line),inset -1px 0 0 var(--cs-line)!important}
html.cs-on #clientList .client-row:has(+ .cv3-h),html.cs-on #clientList .client-row:last-child,
html.cs-on #lv2Home .lv2-row:has(+ .lv2-sec),html.cs-on #lv2Home .lv2-row:has(+ :not(.lv2-row)),html.cs-on #lv2Home .lv2-row:last-child{
  border-bottom:0!important;border-bottom-left-radius:26px!important;border-bottom-right-radius:26px!important;
  box-shadow:inset 1px 0 0 var(--cs-line),inset -1px 0 0 var(--cs-line),inset 0 -1px 0 var(--cs-line),0 18px 30px -22px rgba(28,27,25,.28)!important} /* skin-ok: Stone fixed default */
html.cs-on #clientList .cv3-h+.client-row:has(+ .cv3-h),html.cs-on #clientList .cv3-h+.client-row:last-child,
html.cs-on #lv2Home .lv2-sec+.lv2-row:has(+ .lv2-sec),html.cs-on #lv2Home .lv2-sec+.lv2-row:last-child{border-radius:26px!important;
  box-shadow:var(--cs-card-shadow),0 0 0 1px var(--cs-line)!important}
/* inbox: groups row + the conversation list read as one card */
html.cs-on #sec-messages .iv4-groups{margin:6px 14px 0!important;width:calc(100% - 28px)!important;border-bottom:1px solid var(--cs-line)!important}
html.cs-on #sec-messages .iv4-groups+#convList:not(:empty){border-top-left-radius:0!important;border-top-right-radius:0!important}
html.cs-on #convList:not(:empty){margin:0 14px!important;padding:0 14px!important;border-radius:0 0 26px 26px!important}
html.cs-on #sec-messages>#convList:first-child{border-radius:26px!important}
html.cs-on #convList .conv-row{border-bottom-color:var(--cs-line)!important}
html.cs-on #convList .conv-row:last-child{border-bottom:0!important}

/* tiles (dark → sand, cream → soft lime) and avatars */
html.cs-on .hv3-tile:not(.cream),html.cs-on .lv2-th.tile:not(.cream),html.cs-on .chub-t:not(.c){background:#E4DCD1!important;box-shadow:none!important;color:#1C1B19!important} /* skin-ok: Stone fixed default */
html.cs-on .hv3-tile:not(.cream) svg,html.cs-on .lv2-th.tile:not(.cream) svg,html.cs-on .chub-t:not(.c) svg{filter:none!important;stroke:#1C1B19!important;color:#1C1B19!important} /* skin-ok: Stone fixed default */
html.cs-on .hv3-tile.cream,html.cs-on .lv2-th.tile.cream,html.cs-on .chub-t.c,html.cs-on .iv4-groups .t{background:var(--cs-lime-hi)!important;color:var(--cs-lime-ink)!important}
html.cs-on .lv2-th:not(.tile){border-radius:18px!important;box-shadow:0 10px 22px -14px rgba(28,27,25,.5)!important;filter:saturate(.85)} /* skin-ok: Stone fixed default */
html.cs-on .chome .stack .row .av.sm,html.cs-on .client-row .cl-av,html.cs-on .conv-av,html.cs-on .cf-av{
  box-shadow:0 0 0 1px rgba(28,27,25,.08)!important} /* skin-ok: Stone fixed default */
html.cs-on .client-row .cl-dot{box-shadow:0 0 0 3px #FBF9F6!important;border:0!important} /* skin-ok: Stone fixed default */

/* smoke stone slabs: home pulse · Lab promise · client AI bar (the Randall "Readiness" card) */
html.cs-on .chome .snap,html.cs-on .lh-promise,html.cs-on .cf-askai{position:relative;overflow:hidden;isolation:isolate;
  background:var(--cs-smoke)!important;box-shadow:var(--cs-smoke-shadow)!important;border:0!important;color:var(--cs-on)!important}
html.cs-on .chome .snap,html.cs-on .lh-promise{border-radius:28px!important}
html.cs-on .cf-askai{border-radius:999px!important}
html.cs-on .chome .snap::after,html.cs-on .lh-promise::after{content:"";position:absolute;inset:0;z-index:-1;pointer-events:none;
  background:radial-gradient(60% 50% at 88% 0%,rgba(220,231,242,.16),transparent 70%)} /* skin-ok: Stone fixed default */
html.cs-on .chome .snap .spill .v{font-family:var(--cs-num)!important;font-weight:500!important;font-size:46px!important;letter-spacing:-.01em!important;font-variant-numeric:lining-nums}
html.cs-on .chome .snap .spill.alert .v{color:var(--cs-lime)!important;text-shadow:none!important}
html.cs-on .chome .snap .spill+.spill{border-left-color:rgba(244,239,232,.2)!important} /* skin-ok: Stone fixed default */
html.cs-on .chome .snap .spill .l,html.cs-on .chome .snap .spill span{color:var(--cs-on2)!important}
html.cs-on .lh-promise h3{font-family:var(--cs-caps)!important;font-stretch:72%;font-weight:850!important;text-transform:uppercase;letter-spacing:-.01em!important;word-spacing:.14em;line-height:.92!important}
html.cs-on .lh-promise h3 em{color:var(--cs-lime)!important;font-style:normal!important;text-shadow:none!important}
html.cs-on .cf-askai-ic{background:rgba(211,222,158,.18)!important} /* skin-ok: Stone fixed default */

/* chips + underline tabs */
html.cs-on .cfq button{background:var(--cs-card)!important;border:0!important;border-radius:999px!important;box-shadow:0 0 0 1px var(--cs-line)!important;color:var(--cs-ink)!important}
html.cs-on .fpill.active::after,html.cs-on .stab.active::after{background:var(--cs-ink)!important;box-shadow:none!important}
html.cs-on .stab.active .tab-badge{background:var(--cs-lime)!important;color:var(--cs-ink)!important}
html.cs-on .chome .row .rev,html.cs-on .lh-next .go{box-shadow:none!important}
html.cs-on .lh-next .go{background:var(--cs-lime)!important;color:var(--cs-ink)!important}

/* ============================== client detail =============================== */
html.cs-on .detail-sheet{background:var(--cs-paint)!important}
html.cs-on .detail-sheet .main-panel{background:transparent!important}
html.cs-on .detail-sheet .sh-header{background:rgba(237,231,223,.82)!important;-webkit-backdrop-filter:blur(20px);backdrop-filter:blur(20px)} /* skin-ok: Stone fixed default */
html.cs-on .chub-ai{border-radius:26px!important}
html.cs-on .chub-rows{border-radius:26px!important;padding:2px 14px!important;margin:0 -6px!important}
html.cs-on .chub-row{border-bottom-color:var(--cs-line)!important}
html.cs-on .chub-rows .chub-row:last-child{border-bottom:0!important}

/* ============================== Lab ========================================= */
html.cs-on .lh-next{border-radius:24px!important;overflow:hidden!important}
html.cs-on .lh-promise .lh-steps>div{background:rgba(244,239,232,.08)!important;box-shadow:inset 0 1px 0 rgba(255,255,255,.12)!important} /* skin-ok: Stone fixed default */
html.cs-on .lh-promise .bar i,html.cs-on .lh-promise .bar>*{background:var(--cs-lime)!important;box-shadow:none!important}

@media (prefers-reduced-motion:reduce){
  html.cs-on .csf *{animation:none!important}
}

/* avatar buttons are never the dark action: white stone, ink letter */
html.cs-on .hv2-av,html.cs-on .coach-acct-btn{background:#FBF9F6!important;color:#1C1B19!important;box-shadow:0 0 0 1px rgba(28,27,25,.09),0 10px 24px -16px rgba(28,27,25,.3)!important} /* skin-ok: Stone fixed default */

/* hero stat strip: the alert stat is a <button> — strip the UA box so all three stats read the same */
html.cs-on .chome .snap button.spill{border:0!important;border-left:1px solid rgba(244,239,232,.2)!important;border-radius:0!important;background:none!important;outline:0!important;-webkit-appearance:none;appearance:none} /* skin-ok: Stone fixed default */
