/* CoFoundr · app shell with depth: floating glass sidebar, a feed of 3D-tilting cards, a live 3D orb, an Ask chat bar.
   A slow WebGL gradient flows behind everything. Cards morph into their pages (cross-document View Transitions). */
@view-transition { navigation: auto; }

:root {
  --ink: #15120f; --ink-2: #4e4943; --muted: #8f8880; --line: rgba(21, 18, 15, .08); --line-2: rgba(21, 18, 15, .14);
  --accent: #c07a45; --accent-2: #e8c3a0; --accent-bg: #f7ebdf;
  --sage: #4b7a5b; --sage-bg: #e6f0e9; --rust: #c0533a; --rust-bg: #f9e6df; --amber: #a46d1c; --amber-bg: #f8eedb;
  --sky: #3e5c80; --sky-bg: #e8eef6; --wa: #e2f3dc;
  /* Apple's typeface where it exists (SF Pro on Mac/iPhone), Inter elsewhere: one clean sans, weight does the work */
  --display: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Inter", "Helvetica Neue", Arial, sans-serif;
  --sans: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Inter", "Helvetica Neue", Arial, sans-serif;
  /* glassmorphism: see-through panes, strong blur + saturation, a hairline rim and a bright top edge */
  --glass: rgba(255, 255, 255, .46); --glass-strong: rgba(255, 255, 255, .72); --glass-soft: rgba(255, 255, 255, .32);
  --blur: blur(32px) saturate(1.9);
  --edge: inset 0 0 0 1px rgba(255, 255, 255, .62), inset 0 1px 0 rgba(255, 255, 255, .95), inset 0 -1px 0 rgba(255, 255, 255, .22);
  /* layered "real" shadows: contact + key + ambient, so cards sit above the page */
  --lift-1: 0 1px 1px rgba(70, 45, 25, .04), 0 4px 10px -4px rgba(70, 45, 25, .08), 0 18px 36px -22px rgba(70, 45, 25, .28);
  --lift-2: 0 2px 3px rgba(70, 45, 25, .05), 0 12px 24px -10px rgba(70, 45, 25, .14), 0 36px 64px -28px rgba(70, 45, 25, .38);
  --ease: cubic-bezier(.2, .8, .2, 1); --spring: cubic-bezier(.34, 1.4, .64, 1);
  --side: 252px;
  color-scheme: light;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; interpolate-size: allow-keywords; }
body { margin: 0; background: #f4f1eb; color: var(--ink); font: 15.5px/1.55 var(--sans); -webkit-font-smoothing: antialiased;
  letter-spacing: -.011em; min-height: 100vh; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; color: inherit; }
::selection { background: var(--accent-2); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 10px; }
.ico { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.num { font-variant-numeric: tabular-nums; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.muted { color: var(--muted); }

/* ---------- Living backdrop ---------- */
.backdrop { position: fixed; inset: 0; z-index: -2; pointer-events: none; view-transition-name: backdrop;
  background: radial-gradient(60vw 50vh at 12% 8%, #f3d2b3 0%, transparent 60%), radial-gradient(55vw 55vh at 88% 18%, #dfe7ef 0%, transparent 60%),
    radial-gradient(60vw 60vh at 70% 92%, #d9e5d6 0%, transparent 62%), radial-gradient(50vw 50vh at 20% 85%, #efd9d3 0%, transparent 60%), #f4f1eb; }
.backdrop canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.grain { position: fixed; inset: -50%; z-index: -1; pointer-events: none; opacity: .07; mix-blend-mode: multiply; view-transition-name: grain;
  background-image: 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='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 .9 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }

/* ---------- Glass ---------- */
.glass { background: linear-gradient(155deg, rgba(255, 255, 255, .58), var(--glass) 42%, rgba(255, 255, 255, .34));
  backdrop-filter: var(--blur); -webkit-backdrop-filter: var(--blur); box-shadow: var(--edge), var(--lift-1); }
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) { .glass { background: rgba(255, 255, 255, .93); } }

/* ---------- App shell ---------- */
.app { display: grid; grid-template-columns: var(--side) minmax(0, 1fr); gap: 28px; padding: 18px 28px 0 18px; max-width: 1440px; margin: 0 auto; }
.side { view-transition-name: side; position: sticky; top: 18px; height: calc(100vh - 36px); border-radius: 28px; padding: 22px 14px 14px; display: flex; flex-direction: column; gap: 4px; }
.logo { display: flex; align-items: baseline; gap: 1px; padding: 0 10px 18px; font: 700 26px/1 var(--display); letter-spacing: -.04em; }
.logo i { color: var(--accent); font-style: normal; }
.nav { display: grid; gap: 3px; }
.nav a { position: relative; display: flex; align-items: center; gap: 12px; padding: 9px 10px; border-radius: 16px; font-weight: 500; color: var(--ink-2);
  transition: background .25s, color .25s, transform .35s var(--spring), box-shadow .3s; }
.nav a:hover { background: rgba(255, 255, 255, .55); color: var(--ink); transform: translateX(2px); }
.nav a.is-on { background: rgba(255, 255, 255, .92); color: var(--ink); box-shadow: var(--edge), 0 1px 2px rgba(70, 45, 25, .06), 0 10px 22px -12px rgba(70, 45, 25, .35); }
.nav__ico { width: 34px; height: 34px; border-radius: 11px; display: grid; place-items: center; background: rgba(255, 255, 255, .55);
  box-shadow: inset 0 1px 0 #fff, inset 0 0 0 1px rgba(21, 18, 15, .05); transition: background .25s, color .25s, box-shadow .25s; }
.nav__ico .ico { width: 17px; height: 17px; }
.nav a.is-on .nav__ico { background: linear-gradient(150deg, #f6dcc3, var(--accent)); color: #fff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .6), 0 6px 12px -6px rgba(192, 122, 69, .8); }
.nav .count { margin-left: auto; min-width: 22px; height: 22px; padding: 0 7px; border-radius: 99px; background: var(--ink); color: #fff; font-size: 12px; font-weight: 600;
  display: grid; place-items: center; }
.side__foot { margin-top: auto; display: grid; gap: 8px; padding-top: 12px; }
.status { display: flex; align-items: center; gap: 8px; padding: 0 10px; font-size: 12.5px; color: var(--muted); }
.dot { position: relative; width: 7px; height: 7px; border-radius: 50%; background: #c9c2b9; flex: none; }
.dot--live { background: #3fa56a; }
.dot--live::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 2px solid #3fa56a; opacity: 0; animation: ping 2.4s var(--ease) infinite; }
.dot--warn { background: var(--amber); }
@keyframes ping { 0% { transform: scale(.5); opacity: .8; } 80%, 100% { transform: scale(1.7); opacity: 0; } }
.me { display: flex; align-items: center; gap: 10px; padding: 10px; border-radius: 18px; background: rgba(255, 255, 255, .5); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .7); }
.me__avatar { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; font: 600 19px var(--display); color: #fff;
  background: radial-gradient(circle at 30% 25%, #f0c9a3, var(--accent) 60%, #8a5330); box-shadow: inset 0 1px 1px rgba(255, 255, 255, .5), 0 4px 10px -4px rgba(138, 83, 48, .6); }
.me b { display: block; font-size: 14px; } .me small { color: var(--muted); font-size: 12px; }

.main { min-width: 0; padding: 26px 0 140px; max-width: 1020px; width: 100%; }

/* ---------- Home ---------- */
.hello { margin: 4px 0 22px; animation: rise .7s var(--ease) backwards; }
.hello p { margin: 0 0 6px; font-size: 14px; color: var(--muted); font-weight: 500; }
.hello h1 { margin: 0; font: 700 clamp(40px, 4.8vw, 62px)/1.02 var(--display); letter-spacing: -.035em; }
.hello h1 em { font-style: normal; background: linear-gradient(100deg, #b5703f 0%, #d79a6a 35%, #b77a8e 65%, #b5703f 100%); background-size: 220% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent; animation: sheen-text 9s ease-in-out infinite; padding-right: .06em; }
@keyframes sheen-text { 50% { background-position: 100% 0; } }

/* 3D tilt (JS sets --rx/--ry/--gx/--gy); glare follows the cursor */
.tilt { --rx: 0deg; --ry: 0deg; --gx: 50%; --gy: 50%; position: relative; isolation: isolate;
  transform: perspective(1200px) rotateX(var(--rx)) rotateY(var(--ry)) translateY(var(--ty, 0)); transition: transform .6s var(--ease), box-shadow .4s var(--ease); }
.tilt.is-tilting { transition: transform .12s linear, box-shadow .4s var(--ease); }
.tilt::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity .35s; mix-blend-mode: soft-light;
  background: radial-gradient(520px circle at var(--gx) var(--gy), rgba(255, 255, 255, .95), rgba(255, 255, 255, 0) 55%); }
.tilt:hover { --ty: -4px; box-shadow: var(--edge), var(--lift-2); }
.tilt:hover::after { opacity: 1; }
.tilt:active { --ty: -1px; }

.hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 28px; padding: 30px 32px 26px; border-radius: 32px; min-height: 330px;
  view-transition-class: morph; animation: rise .8s var(--ease) .08s backwards; }
.hero__copy { display: flex; flex-direction: column; gap: 10px; position: relative; z-index: 1; }
.kicker { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; color: var(--ink-2); }
.kicker .ico { width: 16px; height: 16px; color: var(--accent); }
.hero h2 { margin: 2px 0 0; font: 600 clamp(26px, 2.6vw, 34px)/1.12 var(--display); letter-spacing: -.01em; text-wrap: balance; }
.hero h2 b { font-weight: 400; color: var(--accent); }
.hero p { margin: 0; color: var(--ink-2); max-width: 46ch; }
.hero__stats { display: flex; gap: 26px; margin-top: auto; padding-top: 14px; flex-wrap: wrap; }
.hero__stats b { display: block; font: 600 30px/1 var(--display); }
.hero__stats span { font-size: 12.5px; color: var(--muted); }
.hero__viz { position: relative; display: flex; flex-direction: column; justify-content: flex-end; min-height: 250px; }
.orb { position: absolute; top: -92px; right: -46px; width: 250px; height: 250px; pointer-events: none; z-index: 2; animation: float 7s ease-in-out infinite; }
.orb canvas { width: 100%; height: 100%; display: block; }
.orb::after { content: ""; position: absolute; left: 22%; right: 22%; bottom: -6px; height: 26px; border-radius: 50%; background: rgba(110, 70, 40, .22); filter: blur(14px); z-index: -1;
  animation: shadow 7s ease-in-out infinite; }
@keyframes float { 50% { transform: translateY(-12px); } }
@keyframes shadow { 50% { transform: scale(.85); opacity: .7; } }
.chart { position: relative; height: 130px; margin-top: auto; }
.chart svg { width: 100%; height: 100%; overflow: visible; display: block; }
.chart .area { fill: url(#g-area); }
.chart svg { animation: reveal 1.5s var(--ease) .35s backwards; }
@keyframes reveal { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }
.chart .line { fill: none; stroke: var(--accent); stroke-width: 2.4; vector-effect: non-scaling-stroke; stroke-linecap: round; stroke-linejoin: round; }
.chart .fc { fill: none; stroke: #9c8bb0; stroke-width: 2.2; stroke-dasharray: 5 6; vector-effect: non-scaling-stroke; stroke-linecap: round; opacity: 0;
  animation: fade .6s ease 1.7s forwards; }
@keyframes fade { to { opacity: 1; } }
.chart__now { position: absolute; top: 0; bottom: 18px; width: 1px; background: linear-gradient(transparent, var(--line-2)); }
.chart__dot { position: absolute; width: 12px; height: 12px; margin: -6px 0 0 -6px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 3px var(--accent), 0 4px 10px rgba(192, 122, 69, .5); }
.chart__legend { display: flex; gap: 16px; font-size: 12px; color: var(--muted); margin-top: 8px; }
.chart__legend i { display: inline-block; width: 14px; height: 2px; vertical-align: middle; margin-right: 6px; background: var(--accent); }
.chart__legend i.fc { background: repeating-linear-gradient(90deg, #9c8bb0 0 4px, transparent 4px 7px); }

.feed { display: grid; gap: 14px; margin-top: 16px; }
.card { display: grid; grid-template-columns: 56px minmax(0, 1fr) auto; gap: 18px; align-items: center; padding: 18px 20px; border-radius: 26px;
  view-transition-class: morph; animation: rise .7s var(--ease) backwards; animation-delay: calc(var(--i, 0) * 70ms + 200ms); }
.card h3 { margin: 0; font: 600 23px/1.15 var(--display); letter-spacing: -.005em; }
.card p { margin: 3px 0 0; color: var(--ink-2); font-size: 14.5px; }
.card form { margin: 0; }
.card--quiet h3 { font-size: 20px; }
.gem { width: 56px; height: 56px; border-radius: 18px; display: grid; place-items: center; color: var(--c3, var(--accent));
  background: linear-gradient(150deg, #fff 0%, var(--c1, #f6e3cf) 100%);
  box-shadow: inset 0 1px 0 #fff, inset 0 -3px 8px rgba(70, 45, 25, .07), 0 2px 3px rgba(70, 45, 25, .06), 0 12px 20px -12px var(--c2, rgba(192, 122, 69, .9));
  transition: transform .5s var(--spring); }
.gem .ico { width: 24px; height: 24px; stroke-width: 1.7; }
.tilt:hover .gem { transform: translateY(-2px) rotate(-6deg) scale(1.04); }
.gem--sage { --c1: #d6e8da; --c2: rgba(75, 122, 91, .85); --c3: var(--sage); }
.gem--sky { --c1: #d8e3f1; --c2: rgba(62, 92, 128, .8); --c3: var(--sky); }
.gem--rose { --c1: #f1d9d6; --c2: rgba(192, 83, 58, .8); --c3: var(--rust); }
.gem--lilac { --c1: #e6dcef; --c2: rgba(122, 90, 150, .8); --c3: #7a5a96; }
@keyframes rise { from { opacity: 0; transform: translateY(16px); } }

/* ---------- Buttons + chips ---------- */
.btn { --bg: var(--ink); --fg: #fff; position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 0;
  border-radius: 99px; padding: 11px 18px; background: var(--bg); color: var(--fg); font-weight: 600; font-size: 14.5px; cursor: pointer; white-space: nowrap; overflow: hidden;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .18), 0 1px 2px rgba(0, 0, 0, .12), 0 8px 18px -10px rgba(21, 18, 15, .55);
  transition: transform .3s var(--spring), box-shadow .25s, background .2s; }
.btn::before { content: ""; position: absolute; inset: 0; border-radius: inherit; background: linear-gradient(180deg, rgba(255, 255, 255, .16), transparent 55%); pointer-events: none; }
.btn:hover { transform: translateY(-2px); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .18), 0 2px 4px rgba(0, 0, 0, .12), 0 14px 26px -12px rgba(21, 18, 15, .6); }
.btn:active { transform: translateY(0) scale(.97); transition-duration: .08s; }
.btn .ico { width: 16px; height: 16px; transition: transform .35s var(--spring); }
.btn:hover .ico--go { transform: translateX(3px); }
.btn--approve { --bg: var(--sage); }
.btn--accent { --bg: var(--accent); }
.btn--soft { --bg: rgba(255, 255, 255, .85); --fg: var(--ink); box-shadow: inset 0 0 0 1px var(--line), 0 1px 2px rgba(0, 0, 0, .04), 0 8px 16px -12px rgba(70, 45, 25, .4); }
.btn--soft::before { display: none; }
.btn--text { --bg: transparent; --fg: var(--ink-2); padding-inline: 10px; box-shadow: none; }
.btn--text::before { display: none; }
.btn--text:hover { --fg: var(--rust); box-shadow: none; transform: none; }
.btn.is-busy { pointer-events: none; color: transparent; }
.btn.is-busy::after { content: attr(data-busy); position: absolute; inset: 0; display: grid; place-items: center; color: var(--fg);
  background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .3) 50%, transparent 70%) var(--bg); background-size: 220% 100%; animation: shimmer 1.3s linear infinite; }
@keyframes shimmer { to { background-position: -220% 0; } }
.chip { display: inline-flex; align-items: center; gap: 5px; padding: 3px 10px; border-radius: 99px; font-size: 12.5px; font-weight: 500;
  background: rgba(255, 255, 255, .6); color: var(--ink-2); box-shadow: inset 0 0 0 1px var(--line); white-space: nowrap; }
.chip .ico { width: 14px; height: 14px; }
.chip--rust { background: var(--rust-bg); color: var(--rust); box-shadow: none; }
.chip--amber { background: var(--amber-bg); color: var(--amber); box-shadow: none; }
.chip--sage { background: var(--sage-bg); color: var(--sage); box-shadow: none; }
.chip--sky { background: var(--sky-bg); color: var(--sky); box-shadow: none; }
.chip--ai { background: linear-gradient(120deg, #f7ebdf, #f1e6f0 60%, #e8eaf6); color: #6a4a78; box-shadow: none; }
.tone { display: inline-flex; gap: 3px; margin-left: 3px; }
.tone i { width: 12px; height: 4px; border-radius: 3px; background: currentColor; opacity: .25; }
.tone i.on { opacity: 1; }
.empty { display: flex; align-items: center; gap: 14px; padding: 22px; border-radius: 18px; background: var(--glass-soft); color: var(--ink-2); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .8); }
.empty .ico { width: 26px; height: 26px; color: var(--sage); }
.empty b { display: block; color: var(--ink); font: 600 22px var(--display); }

/* ---------- Ask chat bar ---------- */
.chatbar { position: sticky; bottom: 22px; z-index: 20; margin-top: 26px; display: flex; align-items: center; gap: 12px; padding: 8px 8px 8px 10px; border-radius: 99px;
  background: rgba(255, 255, 255, .72); backdrop-filter: var(--blur); -webkit-backdrop-filter: var(--blur); box-shadow: var(--edge), var(--lift-2);
  animation: rise .8s var(--ease) .5s backwards; transition: box-shadow .3s, transform .4s var(--spring); }
.chatbar:focus-within { transform: translateY(-2px); box-shadow: var(--edge), 0 0 0 4px rgba(192, 122, 69, .14), var(--lift-2); }
.chatbar__who { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; flex: none; color: #fff; font: 600 19px var(--display);
  background: radial-gradient(circle at 30% 25%, #b6d8bf, var(--sage) 65%, #2f5a3d); box-shadow: inset 0 1px 1px rgba(255, 255, 255, .5), 0 4px 10px -4px rgba(47, 90, 61, .6); }
.chatbar input { flex: 1; min-width: 0; border: 0; background: none; outline: none; font-size: 15.5px; padding: 8px 2px; }
.chatbar input::placeholder { color: var(--muted); }
.chatbar .send { width: 44px; height: 44px; padding: 0; border-radius: 50%; }
.chatbar .send .ico { width: 18px; height: 18px; }

/* ---------- Pages (a card, opened) ---------- */
.sheet { view-transition-class: morph; position: relative; border-radius: 32px; padding: clamp(22px, 3.2vw, 40px); margin-top: 4px; }
.sheet__back { display: inline-flex; align-items: center; gap: 6px; margin-bottom: 16px; font-size: 13.5px; font-weight: 500; color: var(--ink-2); }
.sheet__back .ico { width: 16px; height: 16px; transition: transform .3s var(--spring); }
.sheet__back:hover .ico { transform: translateX(-3px); }
.sheet__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; flex-wrap: wrap; padding-bottom: clamp(18px, 2.4vw, 26px);
  border-bottom: 1px solid var(--line); margin-bottom: clamp(18px, 2.4vw, 26px); }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 13.5px; font-weight: 600; color: var(--ink-2); margin: 0 0 10px; }
.eyebrow .ico { color: var(--accent); }
.sheet h1 { margin: 0; font: 700 clamp(36px, 4.2vw, 56px)/1.02 var(--display); letter-spacing: -.035em; }
.lede { margin: 10px 0 0; color: var(--ink-2); max-width: 62ch; text-wrap: pretty; }
.sheet code { font-size: .9em; background: rgba(255, 255, 255, .7); padding: 1px 6px; border-radius: 6px; box-shadow: inset 0 0 0 1px var(--line); }
.stats { display: flex; gap: clamp(18px, 3vw, 40px); flex-wrap: wrap; }
.stat b { display: block; font: 600 clamp(30px, 3vw, 40px)/1 var(--display); letter-spacing: -.01em; }
.stat span { font-size: 13px; color: var(--muted); }
.block + .block, .two + .block { margin-top: clamp(30px, 4vw, 46px); }
.block h2 { margin: 0 0 14px; font: 600 28px/1.1 var(--display); }
.block h2 small { font: 400 14px var(--sans); color: var(--muted); margin-left: 8px; }
.page-in > * { animation: rise .6s var(--ease) backwards; animation-delay: calc(var(--i, 0) * 70ms + 150ms); }

/* approvals */
.asks { display: grid; gap: 14px; }
.ask { display: grid; grid-template-columns: 52px minmax(0, 1fr); gap: 18px; padding: 22px; border-radius: 22px; background: var(--glass-soft);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .8); transition: box-shadow .3s, background .3s; }
.ask:hover { background: var(--glass-strong); box-shadow: var(--edge), var(--lift-1); }
.ask__ref { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; font: 600 26px/1 var(--display); color: var(--accent);
  background: linear-gradient(150deg, #fff, var(--accent-bg)); box-shadow: inset 0 1px 0 #fff, 0 8px 16px -10px rgba(192, 122, 69, .8); }
.ask__top { display: flex; justify-content: space-between; align-items: flex-start; gap: 14px; flex-wrap: wrap; }
.ask__kind { margin: 0 0 2px; font-size: 12.5px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.ask__who { margin: 0; font: 600 28px/1.1 var(--display); }
.ask__amt { font: 600 32px/1 var(--display); }
.ask__why { margin: 10px 0 0; color: var(--ink-2); }
.chips { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 12px; }
.draft { margin-top: 14px; }
.draft summary { list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: 14px; color: var(--ink-2); }
.draft summary::-webkit-details-marker { display: none; }
.draft summary .ico { width: 15px; height: 15px; transition: transform .35s var(--spring); }
.draft[open] summary .ico { transform: rotate(90deg); }
.draft::details-content { block-size: 0; overflow: hidden; transition: block-size .4s var(--ease), content-visibility .4s allow-discrete; }
.draft[open]::details-content { block-size: auto; }
.draft__meta { margin: 12px 0 8px; font-size: 13.5px; color: var(--ink-2); display: grid; gap: 2px; }
.draft__meta b { color: var(--ink); }
.draft textarea { width: 100%; min-height: 150px; padding: 14px; border-radius: 14px; border: 1px solid var(--line); background: rgba(255, 255, 255, .9); font-size: 14.5px; line-height: 1.6;
  resize: vertical; transition: border-color .2s, box-shadow .2s; }
.draft textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px rgba(192, 122, 69, .14); }
.ask__actions { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; margin-top: 16px; }
.ask__hint { margin-left: auto; font-size: 12.5px; color: var(--muted); }
html.js .js-edited { display: none; }
html.js .ask.is-edited .js-edited { display: inline-flex; animation: pop .35s var(--spring); }
@keyframes pop { from { transform: scale(.85); opacity: 0; } }

/* sales */
.week { display: grid; grid-template-columns: repeat(7, minmax(80px, 1fr)); gap: 10px; padding-top: 10px; }
.day { position: relative; display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 14px 6px 12px; border-radius: 18px; text-align: center; transition: background .2s; }
.day:hover, .day:focus-visible, .day--today { background: rgba(255, 255, 255, .6); }
.day--today { box-shadow: inset 0 0 0 1.5px var(--accent); }
.day__badge { position: absolute; top: -9px; left: 50%; transform: translateX(-50%); font-size: 10.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  background: var(--accent); color: #fff; padding: 2px 8px; border-radius: 99px; }
.day__name { font-size: 13px; font-weight: 600; }
.day__date { font-size: 12px; color: var(--muted); margin-top: -4px; }
.day__wx { color: var(--ink-2); height: 28px; display: grid; place-items: center; }
.day__wx .ico { width: 26px; height: 26px; stroke-width: 1.4; transition: transform .4s var(--spring); }
.day:hover .day__wx .ico { transform: translateY(-2px) scale(1.08); }
.day__temp { font-size: 12.5px; color: var(--muted); } .day__temp b { color: var(--ink); font-weight: 600; }
.bar { position: relative; width: min(40px, 70%); height: 150px; display: flex; align-items: flex-end; }
.bar__range { position: absolute; left: -5px; right: -5px; bottom: var(--lo); height: calc(var(--hi) - var(--lo)); border-radius: 8px;
  background: repeating-linear-gradient(135deg, rgba(192, 122, 69, .2) 0 3px, transparent 3px 7px); }
.bar__fill { position: relative; width: 100%; height: var(--h); border-radius: 12px 12px 5px 5px; background: linear-gradient(180deg, #f3d5b8, var(--accent));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .6), 0 10px 18px -10px rgba(192, 122, 69, .9); transform-origin: bottom; animation: grow 1s var(--ease) backwards;
  animation-delay: calc(var(--i, 0) * 60ms + 250ms); }
@keyframes grow { from { transform: scaleY(0); } }
.day--closed .bar__fill { height: 5px; background: var(--line); box-shadow: none; }
.day__value { font: 600 21px var(--display); }
.day--closed .day__value { font: 500 12.5px var(--sans); color: var(--muted); }
.tip { position: absolute; z-index: 5; bottom: calc(100% - 4px); left: 50%; width: 220px; padding: 12px 14px; border-radius: 14px; text-align: left; background: var(--ink);
  color: #fff; font-size: 12.5px; box-shadow: 0 18px 40px -14px rgba(21, 18, 15, .45); opacity: 0; pointer-events: none;
  transform: translate(-50%, 6px) scale(.97); transition: opacity .18s, transform .28s var(--spring); }
.tip b { display: block; font: 600 18px var(--display); margin-bottom: 4px; }
.tip ul { margin: 6px 0 0; padding: 0; list-style: none; display: grid; gap: 2px; }
.tip li { display: flex; justify-content: space-between; gap: 10px; color: rgba(255, 255, 255, .82); }
.tip .muted { color: rgba(255, 255, 255, .6); }
.day:hover .tip, .day:focus-visible .tip, .hist__col:hover .tip { opacity: 1; transform: translate(-50%, 0) scale(1); }
.day:first-child .tip, .hist__col:nth-child(-n+3) .tip { left: 0; transform: translate(0, 6px); }
.day:first-child:hover .tip, .day:first-child:focus-visible .tip, .hist__col:nth-child(-n+3):hover .tip { transform: translate(0, 0); }
.day:last-child .tip, .hist__col:nth-last-child(-n+3) .tip { left: auto; right: 0; transform: translate(0, 6px); }
.day:last-child:hover .tip, .day:last-child:focus-visible .tip, .hist__col:nth-last-child(-n+3):hover .tip { transform: translate(0, 0); }
.note { display: flex; gap: 8px; align-items: flex-start; margin-top: 16px; font-size: 13.5px; color: var(--ink-2); }
.note .ico { color: #7b5a8b; margin-top: 2px; }
.hist { display: flex; align-items: flex-end; gap: 4px; height: 170px; padding-top: 8px; }
.hist__col { position: relative; flex: 1; height: 100%; display: flex; align-items: flex-end; }
.hist__bar { width: 100%; height: var(--h); min-height: 2px; border-radius: 6px 6px 2px 2px; background: linear-gradient(180deg, #f3d5b8, #e3b48c); transform-origin: bottom;
  animation: grow .9s var(--ease) backwards; animation-delay: calc(var(--i, 0) * 18ms + 300ms); transition: background .2s; }
.hist__col:hover .hist__bar { background: var(--accent); }
.hist__col--off .hist__bar { background: var(--line); }
.hist__axis { display: flex; justify-content: space-between; font-size: 12px; color: var(--muted); margin-top: 8px; }

/* invoices + inventory rows */
.filters { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 8px; }
.filters input { position: absolute; opacity: 0; pointer-events: none; }
.filters label { padding: 7px 13px; border-radius: 99px; font-size: 13.5px; font-weight: 500; cursor: pointer; color: var(--ink-2); background: rgba(255, 255, 255, .55);
  box-shadow: inset 0 0 0 1px var(--line); transition: background .2s, color .2s, transform .25s var(--spring); }
.filters label:active { transform: scale(.96); }
.filters input:checked + label { background: var(--ink); color: #fff; box-shadow: 0 6px 14px -8px rgba(21, 18, 15, .6); }
.filters input:focus-visible + label { outline: 2px solid var(--accent); outline-offset: 2px; }
.filters label span { opacity: .55; margin-left: 4px; }
.rows { list-style: none; margin: 0; padding: 0; }
.row { display: grid; grid-template-columns: 40px minmax(0, 1.6fr) minmax(0, 1fr) minmax(100px, auto) minmax(84px, auto); gap: 14px; align-items: center;
  padding: 13px 8px; border-bottom: 1px solid var(--line); transition: background .2s; }
.row:hover { background: rgba(255, 255, 255, .55); border-radius: 14px; }
.row:last-child { border-bottom: 0; }
.avatar { width: 40px; height: 40px; border-radius: 13px; display: grid; place-items: center; font: 600 20px var(--display); color: var(--ink-2);
  background: linear-gradient(150deg, #fff, #efe8de); box-shadow: inset 0 1px 0 #fff, 0 6px 12px -8px rgba(70, 45, 25, .5); }
.row--in .avatar { background: linear-gradient(150deg, #fff, var(--sage-bg)); color: var(--sage); }
.row--low .avatar { background: linear-gradient(150deg, #fff, var(--rust-bg)); color: var(--rust); }
.row__who { font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.row__sub { display: flex; gap: 6px; align-items: center; font-size: 12.5px; color: var(--muted); flex-wrap: wrap; margin-top: 1px; }
.src { display: inline-flex; align-items: center; gap: 4px; font-size: 11.5px; padding: 1px 7px; border-radius: 99px; background: rgba(255, 255, 255, .7); color: var(--ink-2);
  box-shadow: inset 0 0 0 1px var(--line); }
.src .ico { width: 12px; height: 12px; }
.src--email { background: var(--sky-bg); color: var(--sky); box-shadow: none; }
.row__due { font-size: 13.5px; color: var(--ink-2); }
.row__due--late { color: var(--rust); font-weight: 600; }
.row__amt { font: 600 21px var(--display); text-align: right; }
.row__amt small { display: block; font: 500 11.5px var(--sans); color: var(--muted); }
.row__status { justify-self: end; }
.row__issue { grid-column: 2 / -1; margin: -4px 0 0; font-size: 13px; color: var(--amber); display: flex; gap: 6px; }
.row__issue .ico { width: 15px; height: 15px; margin-top: 2px; }
.meter { height: 6px; border-radius: 99px; background: var(--line); overflow: hidden; margin-top: 6px; max-width: 220px; }
.meter i { display: block; height: 100%; width: var(--w); border-radius: 99px; background: linear-gradient(90deg, #e3b48c, var(--accent)); }
.row--low .meter i { background: linear-gradient(90deg, #f0a48f, var(--rust)); }
.books:has(#f-overdue:checked) .row:not([data-overdue]), .books:has(#f-in:checked) .row:not([data-dir=receivable]),
.books:has(#f-out:checked) .row:not([data-dir=payable]), .books:has(#f-review:checked) .row:not([data-review]),
.books:has(#f-low:checked) .row:not([data-low]) { display: none; }

/* inbox */
.two { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 14px; }
.drop { position: relative; display: grid; place-items: center; text-align: center; gap: 10px; min-height: 270px; padding: 28px; border-radius: 22px;
  border: 1.5px dashed var(--line-2); background: var(--glass-soft); cursor: pointer; transition: border-color .25s, background .25s, transform .35s var(--spring); }
.drop:hover, .drop.is-over { border-color: var(--accent); background: rgba(255, 250, 245, .8); }
.drop.is-over { transform: scale(1.01); }
.drop input[type=file] { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.drop h3 { margin: 0; font: 600 28px var(--display); }
.drop p { margin: 0; color: var(--ink-2); font-size: 14px; }
.drop__file { font-weight: 600; color: var(--accent); min-height: 1.4em; }
.drop .btn { position: relative; z-index: 1; }
.mail { padding: 24px; border-radius: 22px; background: var(--glass-soft); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .8); display: flex; flex-direction: column; gap: 12px; }
.mail h3 { margin: 0; font: 600 28px var(--display); }
.mail p { margin: 0; color: var(--ink-2); font-size: 14px; }
.address { display: flex; align-items: center; gap: 8px; padding: 5px 5px 5px 12px; border-radius: 99px; background: rgba(255, 255, 255, .85); box-shadow: inset 0 0 0 1px var(--line); font-size: 14px; min-width: 0; }
.address span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; flex: 1; }
.address .btn { padding: 6px 12px; font-size: 12.5px; }
.actions { display: flex; gap: 8px; flex-wrap: wrap; margin-top: auto; }
.opps { display: grid; gap: 10px; }

/* activity */
.timeline { list-style: none; margin: 0; padding: 0; position: relative; max-width: 820px; }
.timeline::before { content: ""; position: absolute; left: 21px; top: 8px; bottom: 8px; width: 1.5px; background: var(--line-2); }
.event { position: relative; display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 14px; padding: 8px 0 16px; }
.event .gem { width: 44px; height: 44px; border-radius: 14px; }
.event .gem .ico { width: 19px; height: 19px; }
.event:hover .gem { transform: scale(1.08) rotate(-4deg); }
.event__head { display: flex; gap: 10px; align-items: baseline; flex-wrap: wrap; }
.event__label { font-weight: 600; }
.event__ago { font-size: 12.5px; color: var(--muted); }
.event__text { margin: 2px 0 0; color: var(--ink-2); overflow-wrap: anywhere; }

/* ask (phone mock-up) */
.phone-layout { display: grid; grid-template-columns: minmax(0, 380px) minmax(0, 1fr); gap: clamp(20px, 4vw, 52px); align-items: start; }
.phone { width: min(100%, 360px); padding: 12px; border-radius: 46px; background: linear-gradient(160deg, #2a241f, #0f0c0a);
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, .15), 0 2px 4px rgba(0, 0, 0, .2), 0 40px 70px -30px rgba(21, 18, 15, .6); transform: perspective(1400px) rotateY(-8deg) rotateX(3deg); }
.phone__screen { border-radius: 35px; overflow: hidden; background: #efeae2; }
.phone__bar { display: flex; align-items: center; gap: 10px; padding: 16px 16px 12px; background: #fff; border-bottom: 1px solid var(--line); }
.phone__bar small { display: block; color: var(--muted); font-size: 12px; }
.phone__chat { padding: 14px 12px 18px; display: grid; gap: 8px; max-height: 560px; overflow-y: auto; }
.bubble { max-width: 92%; padding: 9px 11px 18px; border-radius: 4px 14px 14px 14px; background: #fff; font-size: 13.5px; line-height: 1.45; white-space: pre-wrap;
  position: relative; box-shadow: 0 1px 1px rgba(0, 0, 0, .06); overflow-wrap: anywhere; animation: rise .5s var(--ease) backwards; animation-delay: calc(var(--i, 0) * 350ms + 350ms); }
.bubble time { position: absolute; right: 9px; bottom: 3px; font-size: 10.5px; color: var(--muted); }
.bubble--me { justify-self: end; background: var(--wa); border-radius: 14px 4px 14px 14px; padding-bottom: 9px; }
.cmds { display: grid; gap: 10px; align-content: start; }
.cmd { padding: 14px 16px; border-radius: 18px; background: var(--glass-soft); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .8); }
.cmd p { margin: 4px 0 0; font-size: 13.5px; color: var(--ink-2); }

/* settings */
.settings { display: grid; gap: 12px; max-width: 720px; }
.setting { display: grid; grid-template-columns: 44px minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 16px 18px; border-radius: 20px;
  background: var(--glass-soft); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .8); }
.setting .gem { width: 44px; height: 44px; border-radius: 14px; }
.setting b { display: block; } .setting span { font-size: 13.5px; color: var(--ink-2); }

/* ---------- Toast ---------- */
.toast { position: fixed; z-index: 40; top: calc(20px + env(safe-area-inset-top, 0px)); left: 50%; transform: translateX(-50%); width: min(540px, calc(100vw - 32px));
  display: flex; gap: 10px; align-items: flex-start; padding: 13px 12px 13px 16px; border-radius: 18px; background: rgba(21, 18, 15, .92); color: #fff;
  backdrop-filter: blur(12px); box-shadow: 0 20px 50px -18px rgba(21, 18, 15, .5); animation: toast-in .55s var(--spring) both; view-transition-name: toast; }
.toast .ico { color: #9fd9b1; margin-top: 2px; }
.toast p { margin: 0; flex: 1; font-size: 14.5px; white-space: pre-line; } /* keep the assistant's one-line-per-item answers */
.toast button { border: 0; background: none; color: rgba(255, 255, 255, .6); cursor: pointer; font-size: 20px; line-height: 1; padding: 0 6px; border-radius: 8px; }
.toast.is-leaving { animation: toast-out .35s var(--ease) forwards; }
@keyframes toast-in { from { opacity: 0; transform: translate(-50%, -20px) scale(.96); } }
@keyframes toast-out { to { opacity: 0; transform: translate(-50%, -12px) scale(.97); } }

/* ---------- View transitions ---------- */
::view-transition-group(*) { animation-duration: .5s; animation-timing-function: cubic-bezier(.2, .8, .2, 1); }
::view-transition-group(*.morph) { overflow: clip; border-radius: 30px; }
::view-transition-old(*.morph), ::view-transition-new(*.morph) { height: 100%; width: 100%; object-fit: cover; object-position: top left; }
::view-transition-old(*.morph) { animation: vt-out .2s ease both; }
::view-transition-new(*.morph) { animation: vt-in .36s .12s ease both; }
::view-transition-old(root) { animation: vt-out .22s ease both; }
::view-transition-new(root) { animation: vt-in .32s .1s ease both; }
::view-transition-group(backdrop), ::view-transition-group(grain), ::view-transition-group(side) { animation: none; }
::view-transition-old(backdrop), ::view-transition-old(grain), ::view-transition-old(side) { display: none; }
::view-transition-new(backdrop), ::view-transition-new(grain), ::view-transition-new(side) { animation: none; }
@keyframes vt-out { to { opacity: 0; } }
@keyframes vt-in { from { opacity: 0; } }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .hero { grid-template-columns: 1fr; }
  .orb { width: 220px; height: 220px; top: -40px; right: -20px; }
  .two, .phone-layout { grid-template-columns: 1fr; }
  .phone { margin: 0 auto; transform: none; }
}
@media (max-width: 860px) {
  .app { grid-template-columns: 1fr; padding: 10px 14px 0; gap: 10px; }
  .side { position: sticky; top: 10px; z-index: 25; height: auto; flex-direction: row; align-items: center; padding: 8px; border-radius: 22px; overflow-x: auto; scrollbar-width: none; }
  .logo { padding: 0 8px; font-size: 24px; }
  .nav { display: flex; gap: 2px; }
  .nav a { padding: 6px 8px; gap: 6px; } .nav a:hover { transform: none; }
  .nav__ico { width: 30px; height: 30px; }
  .nav a span.label { display: none; } .nav a.is-on span.label { display: inline; font-size: 13.5px; }
  .side__foot, .nav .count { display: none; }
  .main { padding-top: 8px; }
}
@media (max-width: 640px) {
  .hero { padding: 22px; border-radius: 26px; }
  .orb { width: 150px; height: 150px; top: -26px; right: -8px; }
  .card { grid-template-columns: 48px minmax(0, 1fr); padding: 16px; }
  .card > :last-child { grid-column: 1 / -1; }
  .gem { width: 48px; height: 48px; border-radius: 15px; }
  .ask { grid-template-columns: 1fr; padding: 18px; }
  .ask__hint { margin-left: 0; width: 100%; }
  .week { grid-template-columns: repeat(7, 80px); overflow-x: auto; scroll-snap-type: x proximity; padding-bottom: 6px; }
  .day { scroll-snap-align: start; } .tip { display: none; }
  .row { grid-template-columns: 36px minmax(0, 1fr) auto; }
  .row__due { grid-column: 2; grid-row: 2; margin-top: -8px; }
  .row__status { grid-column: 3; grid-row: 2; margin-top: -8px; }
  .row__issue { grid-column: 1 / -1; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-delay: 0s !important; transition-duration: .01ms !important; }
  .chart .fc { opacity: 1; }
  @view-transition { navigation: none; }
}

/* payment safety: first-time suppliers + arriving from "Pay now" */
.warn { display: flex; gap: 10px; align-items: flex-start; margin: 12px 0 0; padding: 12px 14px; border-radius: 14px; background: var(--amber-bg); color: #6b4512; font-size: 14px; }
.warn .ico { width: 18px; height: 18px; color: var(--amber); margin-top: 1px; }
.warn b { display: block; color: #4d300a; }
.warn-line { display: flex; gap: 6px; align-items: center; color: var(--amber) !important; font-weight: 500; }
.warn-line .ico { width: 15px; height: 15px; }
.ask:target, .ask.is-focus { background: var(--glass-strong); box-shadow: 0 0 0 2px var(--accent), var(--lift-2); animation: pulse-ring 1.6s var(--ease) 2; }
@keyframes pulse-ring { 50% { box-shadow: 0 0 0 6px rgba(192, 122, 69, .25), var(--lift-2); } }

/* Home: "While you were away" + "Do first" lists, and the folded "More from me" */
.card--list { align-items: start; }
.proof { list-style: none; margin: 10px 0 0; padding: 0; display: grid; gap: 8px; }
.proof li, .proof a { display: flex; gap: 10px; align-items: flex-start; color: var(--ink-2); font-size: 14.5px; text-decoration: none; }
.proof a:hover span { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.proof .ico { flex: none; width: 16px; height: 16px; margin-top: 2px; color: var(--sage, #6f8f6a); }
.proof--ranked { counter-reset: r; }
.proof--ranked li::before { counter-increment: r; content: counter(r); flex: none; width: 22px; height: 22px; border-radius: 50%;
  display: grid; place-items: center; font-size: 12px; font-weight: 600; background: var(--glass-soft); color: var(--ink); }
.proof--ranked b { color: var(--ink); font-weight: 500; }
.more { margin-top: 4px; }
.more > summary { cursor: pointer; padding: 6px 4px; }
.more > .card { margin-top: 10px; }

/* Board: what the database check corrected, shown up front */
.fixes { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.fix { display: inline-flex; gap: 6px; align-items: center; padding: 3px 10px; border-radius: 999px; font-size: 13.5px;
  background: var(--sage-bg); color: var(--ink); }
.fix s { color: var(--rust); text-decoration-thickness: 2px; }

/* Finances: Atlas hybrid search box */
.search { display: flex; gap: 10px; align-items: center; margin: 0 0 18px; padding: 8px 8px 8px 16px; border-radius: 999px;
  background: var(--glass-soft); box-shadow: inset 0 0 0 1px var(--line-2); }
.search .ico { width: 18px; height: 18px; color: var(--muted); flex: none; }
.search input { flex: 1; min-width: 0; border: 0; background: transparent; font: inherit; color: var(--ink); outline: none; }
.search__results .chip { margin-left: 6px; }

.wind-warning { margin: 8px 0 0; font-weight: 600; color: var(--ink); }

/* Atlas Search: matched words, facets (Sunil, Sun 25 Oct) */
mark { background: var(--amber-bg); color: inherit; border-radius: 3px; padding: 0 2px; }
.row__hl { font-size: 13px; color: var(--muted); margin-top: 2px; overflow-wrap: anywhere; }
.facets { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin: -6px 0 18px; }
.facets__label { font-size: 13px; color: var(--muted); margin-right: 4px; }
.facets__label small { display: block; font-size: 11px; }
.chip--facet { text-decoration: none; color: var(--ink); }
.chip--facet b { font-weight: 600; margin-left: 2px; }
.chip--on { background: var(--sage-bg); color: var(--sage); }
.row--news .row__who a { color: inherit; text-decoration: none; }
.row--news .row__who a:hover { text-decoration: underline; }
.row--news .row__sub span + span { margin-left: 8px; }

/* ---------- chat panel: the conversation stays up until the owner closes it ---------- */
.chat { position: fixed; z-index: 45; right: 22px; bottom: 22px; width: min(420px, calc(100vw - 32px)); max-height: min(72vh, 680px);
  display: flex; flex-direction: column; border-radius: 26px; overflow: hidden; box-shadow: var(--edge), var(--lift-2);
  background: rgba(255, 255, 255, .62); backdrop-filter: var(--blur); -webkit-backdrop-filter: var(--blur); }
.chat__head { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-bottom: 1px solid rgba(0, 0, 0, .06); }
.chat__head div { flex: 1; min-width: 0; display: flex; flex-direction: column; line-height: 1.2; }
.chat__head small { color: var(--muted); font-size: 12px; }
.chat__close { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; font-size: 22px; line-height: 1; color: var(--ink); text-decoration: none; }
.chat__close:hover, .chat__close:focus-visible { background: rgba(0, 0, 0, .06); }
.chat__log { flex: 1; overflow-y: auto; padding: 14px; display: flex; flex-direction: column; gap: 8px; }
.chat__me, .chat__them { margin: 0; padding: 9px 13px; border-radius: 18px; max-width: 86%; font-size: 14.5px; line-height: 1.45;
  white-space: pre-line; overflow-wrap: anywhere; }
.chat__me { align-self: flex-end; background: #2a241f; color: #fff; border-bottom-right-radius: 6px; }
.chat__them { align-self: flex-start; background: rgba(255, 255, 255, .78); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .9); color: var(--ink); border-bottom-left-radius: 6px; }
.chat__form { display: flex; gap: 8px; padding: 10px; border-top: 1px solid rgba(0, 0, 0, .06); }
.chat__form input { flex: 1; min-width: 0; border: 0; background: rgba(0, 0, 0, .04); border-radius: 99px; padding: 10px 14px; font-size: 15px; outline: none; }
@media (max-width: 640px) { .chat { right: 16px; left: 16px; bottom: 16px; width: auto; max-height: 78vh; } }

/* ---------- Loading screen: liquid light on black, swelling into the cream dashboard ---------- */
.splash { display: none; }
.splash-on .splash { display: block; position: fixed; inset: 0; z-index: 100; background: #0a0806; color: #fff; cursor: pointer;
  animation: splash-failsafe .01s 4.5s forwards; }  /* if the script never runs, it still gets out of the way */
.splash canvas { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; transition: opacity 1s var(--ease); }
.splash canvas.is-live { opacity: 1; }
.splash__inner { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 14px; text-align: center; }
.splash__mark { font: 700 clamp(46px, 8vw, 96px)/1 var(--display); letter-spacing: -.055em; display: flex; }
.splash__mark b { font-weight: inherit; display: inline-block; opacity: 0; filter: blur(14px); transform: translateY(.18em) scale(1.04);
  animation: splash-letter .9s var(--ease) forwards; animation-delay: calc(.25s + var(--i) * .055s); }
.splash__mark i { font-style: normal; color: var(--accent-2); opacity: 0; animation: splash-letter .9s var(--ease) .78s forwards; }
.splash__tag { font: 500 13px/1 var(--sans); letter-spacing: .32em; text-transform: uppercase; color: rgba(255, 255, 255, .62);
  opacity: 0; animation: splash-letter 1s var(--ease) .95s forwards; }
.splash__bar { width: min(220px, 50vw); height: 1px; margin-top: 18px; background: rgba(255, 255, 255, .14); overflow: hidden; border-radius: 1px; }
.splash__bar i { display: block; height: 100%; width: 100%; transform-origin: left; transform: scaleX(0);
  background: linear-gradient(90deg, rgba(255, 255, 255, .2), #fff); animation: splash-bar 1.7s cubic-bezier(.65, 0, .35, 1) .3s forwards; }
.splash.is-leaving .splash__inner { transition: opacity .5s var(--ease), transform .9s var(--ease), filter .6s; opacity: 0; transform: scale(1.06); filter: blur(10px); }
.splash.is-gone { opacity: 0; visibility: hidden; transition: opacity .7s var(--ease), visibility 0s .7s; }
@keyframes splash-letter { to { opacity: 1; filter: blur(0); transform: none; } }
@keyframes splash-bar { to { transform: scaleX(1); } }
@keyframes splash-failsafe { to { opacity: 0; visibility: hidden; pointer-events: none; } }
.splash-on body { overflow: hidden; }
.addlink { display: flex; flex-wrap: wrap; gap: 8px; }
.addlink input, .addlink select { flex: 1 1 160px; min-width: 0; border: 1px solid var(--line-2); border-radius: 12px; padding: 9px 12px; font: inherit; background: transparent; color: var(--ink); }
.btn--small { font-size: 12.5px; padding: 2px 0; }

/* ---------- Home: what needs a yes comes first, then the numbers ---------- */
.feed--urgent { margin: 0 0 16px; }
.section-label { margin: 0 0 -4px 4px; font: 600 12px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.hero { min-height: 0; }
.hero__viz { min-height: 200px; }
.hello__brief { margin-top: 14px; }
.hello__brief .btn { gap: 8px; }
.nav__group { margin: 14px 10px 4px; font: 600 11px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }

/* ---------- Backdrop: the owner's own photo of the GAIA van, colours untouched ----------
   Anchored at the van's centre (51% across, 55% down in the photo), so "cover" crops around it and the van stays in the
   middle of the screen at any size. Fixed, so it doesn't jump between pages; the glass panes blur it. */
.backdrop { background: #ece6db url("/static/gaia-van.webp?v=2") 51% 55% / cover no-repeat; }
/* Readable over a real photo without tinting it: slightly more solid panes, and the text that sat straight on the photo
   (greeting, section label) gets its own frosted panel */
.glass { background: linear-gradient(155deg, rgba(255, 255, 255, .74), rgba(255, 255, 255, .62) 42%, rgba(255, 255, 255, .54)); }
.hello { display: inline-block; padding: 16px 22px 18px; border-radius: 28px; background: rgba(255, 255, 255, .62);
  backdrop-filter: var(--blur); -webkit-backdrop-filter: var(--blur); box-shadow: var(--edge), var(--lift-1); }
.hello p { color: var(--ink-2); }
.section-label { display: inline-block; margin: 0 0 -2px; padding: 6px 11px; border-radius: 99px; color: var(--ink-2);
  background: rgba(255, 255, 255, .66); backdrop-filter: var(--blur); -webkit-backdrop-filter: var(--blur); box-shadow: var(--edge); justify-self: start; }
.side { overflow-y: auto; scrollbar-width: none; }  /* never cut off the footer: on short screens it scrolls */
.side::-webkit-scrollbar { display: none; }
.side .status { color: var(--ink-2); }
@media (max-height: 860px) {  /* laptops: tighter sidebar so everything fits without scrolling */
  .logo { padding-bottom: 12px; }
  .nav a { padding: 6px 10px; }
  .nav__ico { width: 30px; height: 30px; border-radius: 10px; }
  .nav__group { margin-top: 10px; }
}

/* ---------- Photo palette: colours taken from the van photo, glass kept ----------
   butter cream (the van) · sunlit warm white (the brick) · leaf green (the trees) · ochre (the sun on the paint) · charcoal
   (road, pipes, railings). Overrides the older copper/rose/sky/lilac accents. */
:root {
  --leaf: #4f6a3a; --leaf-2: #6f8a52; --ochre: #a77f34; --butter: #e9dcb8; --charcoal: #2e2f31;
  --accent: var(--leaf); --accent-2: var(--butter); --accent-bg: #ebe7d4;
  --sage: var(--leaf); --sage-bg: #e4e8d5;
  --sky: #45494e; --sky-bg: #e9e6df;            /* slate-charcoal instead of blue */
  --rust: #a24a2f; --rust-bg: #f3e1d5;          /* brick red for "overdue": still warm, still urgent */
  --amber: var(--ochre); --amber-bg: #f4ead2;
  --ink: #1c1d1b; --ink-2: #474842;
}
/* warm sunlight in the glass instead of pure white */
.glass { background: linear-gradient(155deg, rgba(253, 249, 239, .78), rgba(250, 245, 233, .64) 42%, rgba(247, 241, 227, .56)); }
.hello { background: rgba(252, 248, 238, .66); }
.section-label { background: rgba(252, 248, 238, .7); }
.chat { background: rgba(252, 248, 238, .66); }
.chat__them { background: rgba(255, 252, 245, .82); }
.chat__me { background: var(--charcoal); }
.hello h1 em { background-image: linear-gradient(100deg, var(--ochre) 0%, #c9a35a 32%, var(--leaf-2) 66%, var(--ochre) 100%); }
.hero h2 b { color: var(--ochre); }
.nav a.is-on .nav__ico { background: linear-gradient(150deg, var(--butter), var(--leaf)); }
.nav .count { background: var(--charcoal); }
.chart { color: var(--leaf); }                 /* the takings area fill follows the line colour */
.chart .fc { stroke: var(--ochre); }
.btn--accent { --bg: var(--leaf); }
.gem--sky { --c1: #e6e3dc; --c2: rgba(55, 58, 62, .82); --c3: var(--sky); }
.gem--lilac { --c1: #efe3c2; --c2: rgba(167, 127, 52, .85); --c3: var(--ochre); }
.gem--rose { --c1: #f1dccf; --c2: rgba(162, 74, 47, .82); --c3: var(--rust); }
.gem--sage { --c1: #dfe6cf; --c2: rgba(79, 106, 58, .85); --c3: var(--leaf); }
.row--low .meter i { background: linear-gradient(90deg, #d9a07f, var(--rust)); }
::selection { background: var(--butter); }
.gem:not([class*="gem--"]) { --c1: var(--butter); --c2: rgba(167, 127, 52, .7); --c3: var(--ochre); }
.chart__legend i.fc { background: repeating-linear-gradient(90deg, var(--ochre) 0 4px, transparent 4px 7px); }
.chip--ai { background: linear-gradient(120deg, #f4ead2, #e7ecd9); color: var(--leaf); }  /* "Drafted by Gemini": sun to leaf */

/* ---------- Contrast (measured against the photo's darkest area, the road) ----------
   Text: grey labels were 2.8-3.1:1 on the light parts and 1.4:1 over the road; now ~6:1 on light parts and ≥4.5:1 over the
   road, because panes are a little more solid at their lower edge (blur + rim keep the glass look). */
:root { --ink: #151613; --ink-2: #3a3b36; --muted: #5f5b52; }
.glass { background: linear-gradient(155deg, rgba(253, 249, 239, .86), rgba(250, 245, 233, .8) 42%, rgba(247, 241, 227, .8)); }
/* Hierarchy: what needs a yes is the most solid and lifted; the rest sits quieter behind it */
.feed--urgent .card { background: linear-gradient(155deg, rgba(255, 253, 247, .96), rgba(252, 248, 238, .92));
  box-shadow: var(--edge), var(--lift-2), 0 0 0 1px rgba(60, 50, 30, .06); }
.feed--urgent .card h3 { font-weight: 700; }
.feed:not(.feed--urgent) .card { box-shadow: var(--edge), 0 1px 2px rgba(70, 45, 25, .05), 0 10px 24px -18px rgba(70, 45, 25, .3); }
.section-label { color: var(--ink); }

/* ---------- Accent pair: navy (main) + mustard (highlight), replacing the leaf green ----------
   navy #1f3a5f: buttons, selected nav, chart line, "Drafted by Gemini" (white on it 11.5:1)
   mustard: #c9962b for lines and fills; #a8781a for big highlighted text (3.6:1 on cream, ≥3:1 needed for large text) */
:root {
  --navy: #1f3a5f; --navy-2: #3c5a82; --navy-bg: #e3e8ef; --mustard: #c9962b; --mustard-text: #a8781a; --mustard-bg: #f6ecd2;
  --accent: var(--navy); --accent-bg: var(--navy-bg);
  --sage: var(--navy); --sage-bg: var(--navy-bg);   /* "fine / done" states follow the main accent, not green */
  --ochre: var(--mustard-text); --amber: var(--mustard-text); --amber-bg: var(--mustard-bg);
}
.hello h1 em { background-image: linear-gradient(100deg, var(--mustard-text) 0%, var(--mustard) 38%, var(--navy-2) 72%, var(--mustard-text) 100%); }
.hero h2 b { color: var(--mustard-text); }
.nav a.is-on .nav__ico { background: linear-gradient(150deg, #f3dfa8, var(--navy)); }
.chart { color: var(--navy); }
.chart .fc { stroke: var(--mustard); }
.chart__legend i.fc { background: repeating-linear-gradient(90deg, var(--mustard) 0 4px, transparent 4px 7px); }
.btn--accent { --bg: var(--navy); }
.chip--ai { background: linear-gradient(120deg, var(--mustard-bg), var(--navy-bg)); color: var(--navy); }
.gem--sage { --c1: #dde4ee; --c2: rgba(31, 58, 95, .82); --c3: var(--navy); }
.gem--lilac, .gem:not([class*="gem--"]) { --c1: #f4e6bf; --c2: rgba(201, 150, 43, .8); --c3: var(--mustard-text); }
/* mustard into navy turns olive where they blend: keep the greeting all gold */
.hello h1 em { background-image: linear-gradient(100deg, var(--mustard-text) 0%, #c08d24 40%, #b07d1d 70%, var(--mustard-text) 100%); }
/* Page switch: the main panel morphs between pages, but the browser's snapshots can't include the frosted blur, so for a
   moment the panel was see-through tint over the sharp photo (a brown-orange flash). A solid cream backing under the
   morphing snapshots keeps it looking frosted all the way through. */
::view-transition-group(*.morph) { background: rgba(250, 246, 236, .97); }

/* ---------- Page switch: a focus pull, like a camera refocusing on the next page ----------
   The old panel softens out of focus as it fades; the new one comes into focus with a small settle. Its direction follows
   the sidebar (html[data-vt], set on pagereveal in base.html): down the list → rises from below, up → drops from above. */
::view-transition-old(*.morph) { animation: vt-focus-out .26s cubic-bezier(.4, 0, .2, 1) both; }
::view-transition-new(*.morph) { animation: vt-focus-in .44s .08s cubic-bezier(.2, .8, .2, 1) both; }
html[data-vt="down"]::view-transition-old(*.morph) { animation-name: vt-focus-out-up; }
html[data-vt="down"]::view-transition-new(*.morph) { animation-name: vt-focus-in-from-below; }
html[data-vt="up"]::view-transition-old(*.morph) { animation-name: vt-focus-out-down; }
html[data-vt="up"]::view-transition-new(*.morph) { animation-name: vt-focus-in-from-above; }
@keyframes vt-focus-out { to { opacity: 0; filter: blur(10px); transform: scale(.99); } }
@keyframes vt-focus-in { from { opacity: 0; filter: blur(14px); transform: scale(1.012); } }
@keyframes vt-focus-out-up { to { opacity: 0; filter: blur(10px); transform: translateY(-12px) scale(.99); } }
@keyframes vt-focus-out-down { to { opacity: 0; filter: blur(10px); transform: translateY(12px) scale(.99); } }
@keyframes vt-focus-in-from-below { from { opacity: 0; filter: blur(14px); transform: translateY(22px) scale(1.01); } }
@keyframes vt-focus-in-from-above { from { opacity: 0; filter: blur(14px); transform: translateY(-22px) scale(1.01); } }

/* Home greeting typed out (cofoundr.js): a thin blinking caret that fades once the greeting is complete */
.hello h1 .caret { display: inline-block; width: .06em; height: .82em; margin-left: .06em; vertical-align: -.04em; border-radius: 2px;
  background: var(--mustard-text); animation: caret-blink 1s steps(1) infinite; transition: opacity .6s var(--ease); }
.hello h1 .caret.is-done { opacity: 0; }
@keyframes caret-blink { 50% { background: transparent; } }

/* ---------- Loading screen, light: the van photo frosted with cream, then a focus pull into the dashboard ----------
   (replaces the dark liquid-light screen above; same markup classes) */
.splash-on .splash { background: #f3ece0; color: var(--ink); }
.splash__photo { position: absolute; inset: -6%; background: #ece6db url("/static/gaia-van.webp?v=2") 51% 55% / cover no-repeat;
  filter: blur(26px) saturate(1.05); transform: scale(1.06); transition: filter 1.1s var(--ease), transform 1.3s var(--ease); }
.splash__photo::after { content: ""; position: absolute; inset: 0; background: rgba(250, 246, 236, .58); transition: opacity 1s var(--ease); }
.splash__mark { color: var(--charcoal, #2e2f31); }
.splash__mark i { color: var(--mustard, #c9962b); }
.splash__tag { color: var(--ink-2); }
.splash__bar { background: rgba(28, 29, 27, .12); height: 2px; border-radius: 2px; }
.splash__bar i { background: linear-gradient(90deg, var(--navy, #1f3a5f), var(--mustard, #c9962b)); }
.splash.is-leaving .splash__photo { filter: blur(0) saturate(1); transform: scale(1); }   /* the focus pull */
.splash.is-leaving .splash__photo::after { opacity: 0; }
.splash.is-gone { transition: opacity .75s var(--ease), visibility 0s .75s; }

/* Chat without reloading: the panel slides open, "Thinking" with moving dots, then the answer fades in */
.chat[hidden] { display: none; }
.chat.is-opening { animation: chat-open .38s var(--ease) both; }
.chat__them.is-thinking { color: var(--muted); font-style: normal; }
.chat__them .dots i { display: inline-block; font-style: normal; animation: dot-bounce 1.2s ease-in-out infinite; }
.chat__them .dots i:nth-child(2) { animation-delay: .15s; }
.chat__them .dots i:nth-child(3) { animation-delay: .3s; }
.chat__them.is-new { animation: chat-in .35s var(--ease) both; }
.chat__me:last-child { animation: chat-in .25s var(--ease) both; }
@keyframes dot-bounce { 0%, 60%, 100% { transform: translateY(0); opacity: .35; } 30% { transform: translateY(-3px); opacity: 1; } }
@keyframes chat-in { from { opacity: 0; transform: translateY(6px); } }
@keyframes chat-open { from { opacity: 0; transform: translateY(14px) scale(.98); } }
@media (prefers-reduced-motion: reduce) { .chat__them .dots i, .chat.is-opening, .chat__them.is-new, .chat__me:last-child { animation: none; } }
/* Owner-decision memory on the approval cards (backend/memory.py) + the "Under the hood" MongoDB page */
.recall { margin: 12px 0 0; padding: 10px 14px; border-radius: 14px; background: var(--glass-soft); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .7); }
.recall__head { display: flex; align-items: center; gap: 6px; margin: 0 0 6px; font-weight: 600; font-size: 14px; }
.recall__head small { font-weight: 400; color: var(--muted); }
.recall ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 6px; font-size: 14px; color: var(--ink-2); }
.recall__note { display: grid; gap: 4px; margin: 12px 0 0; font-size: 13.5px; color: var(--ink-2); }
.recall__note small { color: var(--muted); }
.recall__note input { font: inherit; padding: 8px 12px; border-radius: 12px; border: 1px solid rgba(28, 29, 27, .14); background: rgba(255, 255, 255, .7); }
.hood { display: grid; gap: 18px; }
.hood__card { padding: 18px 20px; border-radius: 22px; background: var(--glass-soft); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .8); }
.hood__card h3 { margin: 0; font: 600 22px/1.2 var(--display); }
.hood__card p { margin: 6px 0 0; color: var(--ink-2); }
.hood__meta { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.hood__card ol { margin: 10px 0 0; padding-left: 20px; display: grid; gap: 4px; font-size: 14.5px; }
.hood__card pre { margin: 8px 0 0; padding: 12px; border-radius: 12px; overflow-x: auto; max-height: 340px; font-size: 12px; line-height: 1.45;
  background: rgba(28, 29, 27, .86); color: #f3efe6; }
.hood__card details summary { cursor: pointer; margin-top: 10px; font-size: 13.5px; color: var(--ink-2); }

/* While the chat panel is open, the long bar tucks away (the panel has its own box); it comes back when it closes */
.chatbar { transition: opacity .3s var(--ease), transform .35s var(--ease); }
.chat-is-open .chatbar { opacity: 0; transform: translateY(24px) scale(.98); pointer-events: none; }
.chat-is-open .chatbar:focus-within { opacity: 0; }

/* The chat panel stays open across pages until ×: restored before the first frame (html.chat-restore, base.html) and held
   still during the page switch, like the sidebar */
.chat-restore .chat[hidden] { display: flex; }
.chat-restore .chatbar { opacity: 0; transform: translateY(24px) scale(.98); pointer-events: none; }
.chat { view-transition-name: chat; }
::view-transition-group(chat), ::view-transition-new(chat) { animation: none; }
::view-transition-old(chat) { display: none; }
::view-transition-group(chat) { z-index: 50; }  /* above the morphing main panel while pages switch */

/* ---------- Key facts marked in long text (view.highlight): money, %, deadlines, dates ---------- */
mark.hl { background: linear-gradient(transparent 58%, rgba(201, 150, 43, .32) 58%); color: inherit; font-weight: 600; padding: 0 1px; border-radius: 2px; }
.muted mark.hl { color: var(--ink-2); }

/* ---------- To-do list on every page: a frosted pill top-right that expands into the list ---------- */
.todo { position: fixed; top: 18px; right: 22px; z-index: 30; width: min(360px, calc(100vw - 32px)); border-radius: 22px; view-transition-name: todo; }
.todo summary { display: flex; align-items: center; gap: 8px; padding: 10px 14px; cursor: pointer; list-style: none; font-size: 14.5px; }
.todo summary::-webkit-details-marker { display: none; }
.todo:not([open]) { width: auto; border-radius: 99px; }
.todo__count { min-width: 22px; height: 22px; padding: 0 7px; border-radius: 99px; display: grid; place-items: center; background: var(--navy, var(--ink)); color: #fff; font-size: 12px; font-weight: 600; }
.todo__chev { margin-left: auto; transform: rotate(90deg); transition: transform .3s var(--ease); }
.todo[open] .todo__chev { transform: rotate(-90deg); }
.todo__list { margin: 0; padding: 0 10px 10px 10px; list-style: none; display: grid; gap: 4px; counter-reset: todo; max-height: min(60vh, 520px); overflow-y: auto; }
.todo__item a { display: grid; gap: 2px; padding: 9px 12px 9px 38px; border-radius: 14px; position: relative; color: var(--ink); transition: background .2s; }
.todo__item a:hover { background: rgba(255, 255, 255, .7); }
.todo__item a::before { counter-increment: todo; content: counter(todo); position: absolute; left: 10px; top: 10px; width: 20px; height: 20px; border-radius: 50%;
  display: grid; place-items: center; font-size: 11.5px; font-weight: 700; background: var(--mustard-bg, #f4ead2); color: var(--mustard-text, var(--ochre)); }
.todo__item--approve a::before { background: var(--navy, var(--ink)); color: #fff; }
.todo__item b { font-size: 14px; font-weight: 600; line-height: 1.3; }
.todo__item small { font-size: 12.5px; color: var(--muted); line-height: 1.35; }
.todo__more { display: block; padding: 0 14px 12px 48px; font-size: 13px; color: var(--ink-2); }
.todo[open] summary { border-bottom: 1px solid var(--line); margin-bottom: 8px; }
::view-transition-group(todo), ::view-transition-new(todo) { animation: none; }
::view-transition-old(todo) { display: none; }
@media (max-width: 900px) { .todo { top: 10px; right: 10px; } }

/* To-do pill in its own row (base.html .topbar): never on top of a module when minimised; open = a dropdown */
.topbar { display: flex; justify-content: flex-end; min-height: 42px; margin: 0 0 12px; position: relative; z-index: 35; }
.todo { position: relative; top: auto; right: auto; width: auto; border-radius: 99px; }
.todo[open] { border-radius: 99px; }
.todo[open] summary { border-bottom: 0; margin-bottom: 0; }
.todo__drop { position: absolute; right: 0; top: calc(100% + 8px); width: min(360px, calc(100vw - 32px)); border-radius: 22px; padding-top: 10px; }
@media (max-width: 900px) { .todo { top: auto; right: auto; } }
/* Logo: "Co" in mustard gold, "Foundr" charcoal, the dot navy */
.logo { color: var(--charcoal, var(--ink)); }
.logo .logo__co { color: var(--mustard-text, #a8781a); }
.logo i { color: var(--navy, var(--accent)); }
.heading__lead { color: var(--mustard-text, #a8781a); }  /* Board page: "Our latest board meeting:" before the memo headline */
/* The owner's to-do list on Home (backend/todos.py) */
.mine { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 6px; }
.mine li { display: flex; align-items: center; gap: 10px; font-size: 14.5px; }
.mine form { margin: 0; }
.mine__tick { width: 26px; height: 26px; border-radius: 50%; border: 1.5px solid var(--sage); background: transparent; color: var(--sage);
  display: grid; place-items: center; cursor: pointer; padding: 0; }
.mine__tick .ico { width: 14px; height: 14px; opacity: 0; transition: opacity .15s; }
.mine__tick:hover .ico, .mine__tick:focus-visible .ico { opacity: 1; }
.mine__add { display: flex; gap: 8px; margin-top: 10px; }
.mine__add input { flex: 1; min-width: 0; font: inherit; padding: 8px 12px; border-radius: 12px; border: 1px solid rgba(28, 29, 27, .14); background: rgba(255, 255, 255, .7); }
