/* Gerrani design tokens. Change colours here; everything else follows. */
:root {
  --bg: #faf8f3;
  --surface: #ffffff;
  --ink: #1c1917;
  --body: #44403c;
  --sub: #78716c;
  --faint: #a8a29e;
  --line: #e7e2d9;
  --soft: #f0ece4;
  --pri: #0f6b5c;
  --pri-strong: #0b5548;
  --pri-soft: #e3f1ed;
  --on-pri: #ffffff;
  --hl: #fdeeb0;
  --callout: #eef5f1;
  --green: #15803d;
  --amber: #d97706;
  --amber-soft: #fdf0d5;
  --brown: #8a4b0f;
  --spark: #f5b53d;
  --shadow: 0 1px 2px rgba(20, 22, 31, 0.04), 0 12px 40px rgba(20, 22, 31, 0.08);
  --shadow-sm: 0 1px 2px rgba(20, 22, 31, 0.05), 0 4px 14px rgba(20, 22, 31, 0.06);
  --display: "Fraunces", "Noto Sans Devanagari", Georgia, serif;
  --sans: Inter, "Noto Sans Devanagari", system-ui, -apple-system, "Segoe UI", sans-serif;
}

:root[data-theme="dark"] {
  --bg: #151412;
  --surface: #1e1c19;
  --ink: #f5f2ec;
  --body: #d1cbc1;
  --sub: #9c958a;
  --faint: #6f695f;
  --line: #2e2b26;
  --soft: #262320;
  --pri: #5fcfb6;
  --pri-strong: #7adcc6;
  --pri-soft: #1c3a34;
  --on-pri: #10201c;
  --hl: rgba(253, 224, 120, 0.25);
  --callout: #1b2925;
  --green: #4ade80;
  --amber: #f5b53d;
  --amber-soft: #3a2f14;
  --brown: #f5cf8a;
  --spark: #f5b53d;
  --shadow: 0 1px 2px rgba(0, 0, 0, 0.3), 0 12px 40px rgba(0, 0, 0, 0.45);
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.3), 0 4px 14px rgba(0, 0, 0, 0.3);
}

* { box-sizing: border-box; }

html, body { height: 100%; margin: 0; }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 14px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a { color: inherit; text-decoration: none; }
button, select, input { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, p, ul, ol { margin: 0; }
:focus-visible { outline: 2px solid var(--pri); outline-offset: 2px; border-radius: 6px; }

.label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--faint);
  text-transform: uppercase;
}

.link { color: var(--pri); font-weight: 500; font-size: 13px; }
.link:hover { text-decoration: underline; text-underline-offset: 3px; }

/* ------------------------------------------------------------ Brand */
.brand { display: inline-flex; align-items: center; gap: 10px; font-family: var(--display); font-size: 21px; font-weight: 600; letter-spacing: -0.01em; color: var(--ink); }
.mark { width: 30px; height: 30px; flex: none; }
.mark rect { fill: var(--pri); }
.mark path { fill: none; stroke: var(--on-pri); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.mark circle { fill: var(--spark); }

/* ------------------------------------------------------------ Buttons, chips, controls */
.btn { border: 0; border-radius: 12px; font-weight: 600; padding: 11px 20px; font-size: 14px; transition: background 0.15s, transform 0.05s; }
.btn:active { transform: translateY(1px); }
.btn-sm { padding: 7px 13px; font-size: 12px; border-radius: 9px; }
.btn-primary { background: var(--pri); color: var(--on-pri); }
.btn-primary:hover { background: var(--pri-strong); }
.btn-primary:disabled { background: var(--soft); color: var(--faint); cursor: default; }
.btn-ghost { background: var(--surface); color: var(--ink); border: 1px solid var(--line); }
.btn-ghost:hover { border-color: var(--pri); color: var(--pri); }
.btn-text { border: 0; background: none; color: var(--sub); font-size: 13px; font-weight: 500; padding: 0; }
.btn-text:hover { color: var(--ink); }

.chip { background: var(--surface); border: 1px solid var(--line); border-radius: 999px; padding: 6px 13px; font-size: 13px; font-weight: 500; color: var(--body); transition: all 0.15s; }
button.chip:hover, .chip.on { background: var(--pri-soft); color: var(--pri); border-color: var(--pri); }

.controls { display: flex; align-items: center; gap: 10px; }
.seg { display: inline-flex; padding: 3px; border-radius: 11px; background: var(--soft); }
.seg button { border: 0; background: none; padding: 6px 13px; border-radius: 8px; font-size: 12.5px; font-weight: 600; color: var(--sub); }
.seg button.on { background: var(--surface); color: var(--ink); box-shadow: var(--shadow-sm); }
.select {
  appearance: none;
  border: 1px solid var(--line); border-radius: 10px;
  background: var(--surface) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%238a8f9c' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat right 11px center;
  padding: 7px 30px 7px 12px; font-size: 12.5px; font-weight: 600; color: var(--ink);
}
.icon-btn { width: 34px; height: 34px; border-radius: 10px; border: 1px solid var(--line); background: var(--surface); font-size: 15px; display: grid; place-items: center; color: var(--body); }
.icon-btn:hover { border-color: var(--pri); color: var(--pri); }

/* ------------------------------------------------------------ Top bar (Home, History, New course) */
.topbar { display: flex; justify-content: space-between; align-items: center; padding: 22px 36px; }
.topnav { display: flex; align-items: center; gap: 26px; font-size: 13.5px; font-weight: 500; color: var(--sub); }
.topnav a:hover { color: var(--ink); }
.topnav a.active { color: var(--ink); font-weight: 600; }

.page { max-width: 920px; margin: 0 auto; padding: 0 20px 80px; }

/* ------------------------------------------------------------ Composer */
.composer { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow); padding: 12px 12px 12px 20px; display: flex; flex-direction: column; gap: 10px; transition: border-color 0.15s; }
.composer:focus-within { border-color: var(--pri); }
.composer-row { display: flex; align-items: center; gap: 12px; }
.composer input { flex: 1; min-width: 0; border: 0; outline: 0; font-size: 16px; color: var(--ink); background: transparent; }
.composer input::placeholder { color: var(--faint); }
.send { width: 42px; height: 42px; flex: none; border: 0; border-radius: 14px; background: var(--pri); color: var(--on-pri); font-size: 18px; font-weight: 700; transition: background 0.15s; }
.send:hover { background: var(--pri-strong); }
.attached { align-self: flex-start; max-width: 100%; display: flex; align-items: center; gap: 8px; background: var(--amber-soft); color: var(--brown); border-radius: 999px; padding: 5px 11px; font-size: 12px; font-weight: 500; }
.attached span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.attached button { border: 0; background: none; color: inherit; padding: 0; font-size: 12px; }
#attached-slot:empty { display: none; }

/* ------------------------------------------------------------ Home */
.hero { text-align: center; padding-top: 72px; display: flex; flex-direction: column; gap: 22px; align-items: center; }
.hero h1 { font-family: var(--display); font-size: 52px; line-height: 58px; font-weight: 500; letter-spacing: -0.02em; max-width: 720px; }
.hero h1 em { font-style: italic; color: var(--pri); }
.hero > p { font-size: 17px; line-height: 28px; color: var(--sub); max-width: 560px; }
.hero .composer { width: 100%; max-width: 760px; text-align: left; margin-top: 6px; }
.hero-row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; justify-content: center; }
.hero-row .label { letter-spacing: 0.04em; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.privacy { font-size: 12px; line-height: 18px; color: var(--faint); max-width: 600px; margin: 0 auto; }
.messages .privacy { margin: 12px 0 0; }

.section { margin-top: 72px; }
.section-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; }

.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 20px; display: flex; flex-direction: column; gap: 10px; transition: transform 0.15s, box-shadow 0.15s, border-color 0.15s; }
.card:hover { transform: translateY(-2px); box-shadow: var(--shadow); border-color: transparent; }
.card .emoji { font-size: 26px; line-height: 1; margin-bottom: 4px; }
.card .title { font-size: 16px; line-height: 22px; font-weight: 600; }
.card .meta { font-size: 12.5px; color: var(--sub); }

.track { height: 5px; border-radius: 3px; background: var(--soft); overflow: hidden; }
.track > div { height: 100%; border-radius: 3px; background: var(--green); }
.track.thin { width: 120px; height: 4px; }

.two { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 48px; margin-top: 44px; }
.row { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.row .title { font-size: 15px; font-weight: 600; }
.row .meta { font-size: 12.5px; color: var(--sub); }
.row:hover .title { color: var(--pri); }
.row-left { display: flex; align-items: center; gap: 14px; min-width: 0; }
.row-right { display: flex; align-items: center; gap: 16px; flex: none; }
.row .emoji { font-size: 22px; }

.stats { display: flex; gap: 36px; margin-top: 14px; }
.stats b { display: block; font-family: var(--display); font-size: 34px; line-height: 40px; font-weight: 500; }
.stats span { font-size: 12.5px; color: var(--sub); }

.empty { font-size: 15px; line-height: 24px; color: var(--sub); }

/* ------------------------------------------------------------ History */
.history h1 { font-family: var(--display); font-size: 42px; line-height: 50px; font-weight: 500; letter-spacing: -0.02em; margin: 40px 0 20px; }
.search { width: 100%; border: 1px solid var(--line); outline: 0; background: var(--surface); border-radius: 14px; padding: 14px 18px; font-size: 14.5px; margin-bottom: 8px; }
.search:focus { border-color: var(--pri); }

/* ------------------------------------------------------------ New course */
.building { display: grid; grid-template-columns: minmax(0, 1fr) 480px; gap: 80px; max-width: 1080px; margin: 0 auto; padding: 72px 20px; align-items: start; }
.building blockquote { margin: 14px 0 36px; font-family: var(--display); font-size: 24px; line-height: 34px; font-weight: 500; }
.building h1 { font-family: var(--display); font-size: 34px; line-height: 42px; font-weight: 500; letter-spacing: -0.01em; }
.building .note { color: var(--sub); font-size: 15px; line-height: 24px; margin-top: 10px; }
.outline { background: var(--surface); border: 1px solid var(--line); border-radius: 22px; box-shadow: var(--shadow); padding: 28px; }
.outline h2 { font-size: 17px; font-weight: 600; }
.outline .meta { font-size: 12.5px; color: var(--sub); margin: 2px 0 16px; }
.outline ol { list-style: none; padding: 0; margin: 0 0 24px; }
.outline li { display: flex; font-size: 14.5px; line-height: 22px; padding: 7px 0; color: var(--body); border-bottom: 1px solid var(--soft); animation: fade 0.3s ease; }
.outline li > span { flex: none; width: 26px; color: var(--faint); font-variant-numeric: tabular-nums; }
.outline li em { margin-left: auto; padding-left: 12px; font-style: normal; font-size: 12px; color: var(--faint); white-space: nowrap; }
.outline li em.ok { color: var(--green); }
@keyframes fade { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }

.q { margin-bottom: 24px; }
.q-text { font-size: 15px; font-weight: 600; margin-bottom: 10px; }
.q-options { display: flex; flex-wrap: wrap; gap: 8px; }
.q-actions { display: flex; align-items: center; gap: 18px; margin-top: 4px; }

/* ------------------------------------------------------------ Lesson layout */
.lesson { height: 100vh; display: grid; grid-template-columns: 276px minmax(0, 1fr) 500px; }

/* Left: the whole course */
.side { height: 100vh; overflow-y: auto; padding: 22px 12px 32px 22px; display: flex; flex-direction: column; gap: 24px; scrollbar-width: none; }
.side::-webkit-scrollbar { display: none; }
.side-course { display: flex; flex-direction: column; gap: 10px; padding: 0 10px; }
.side-title { font-size: 15px; line-height: 22px; font-weight: 650; }
.side-meta { font-size: 12px; color: var(--sub); }
.lessons { display: flex; flex-direction: column; gap: 2px; }
.lessons > .label { padding: 0 10px 8px; }

/* One lesson row: number, title, and a tick at the right once it has been opened. */
.l-item { display: grid; grid-template-columns: 20px minmax(0, 1fr) 14px; column-gap: 10px; align-items: start; padding: 9px 10px; border-radius: 10px; font-size: 13.5px; line-height: 20px; font-weight: 500; color: var(--body); transition: background 0.12s, color 0.12s; }
.l-item:hover { background: var(--soft); color: var(--ink); }
.l-num { font-size: 12.5px; font-weight: 600; font-variant-numeric: tabular-nums; color: var(--faint); }
.l-check { font-size: 12px; font-weight: 700; color: var(--green); }

/* The lesson being read and its sections share one card, so they read as one group. */
.l-group { margin: 6px 0; padding: 3px 0 12px; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow-sm); }
.l-group .l-item { font-weight: 650; color: var(--ink); }
.l-group .l-item:hover { background: none; }
.l-group .l-num { color: var(--pri); }
.l-sections { display: flex; flex-direction: column; margin: 2px 12px 0 40px; }
.l-sections:empty { display: none; }
.l-sections a { padding: 5px 0 5px 12px; border-left: 2px solid var(--line); font-size: 12.5px; line-height: 18px; font-weight: 400; color: var(--sub); }
.l-sections a:hover { color: var(--ink); }
.l-sections a.now { border-left-color: var(--pri); color: var(--ink); font-weight: 500; }

/* Centre: the lesson */
.reader { overflow-y: auto; scrollbar-width: none; }
.reader::-webkit-scrollbar { display: none; }
.readbar { position: sticky; top: 0; z-index: 2; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 44px 14px 28px; background: linear-gradient(var(--bg) 78%, transparent); font-size: 12.5px; color: var(--sub); }
.article { padding: 22px 44px 96px 28px; }
.article h1 { font-family: var(--display); font-size: 42px; line-height: 50px; font-weight: 500; letter-spacing: -0.02em; margin-bottom: 18px; }
.article .lead { font-size: 19px; line-height: 32px; color: var(--ink); margin-bottom: 4px; }
.article h2 { font-size: 22px; line-height: 30px; font-weight: 650; letter-spacing: -0.01em; margin: 46px 0 14px; scroll-margin-top: 84px; }
.article p { font-size: 17px; line-height: 30px; color: var(--body); margin-bottom: 16px; }
.article strong { font-weight: 600; color: var(--ink); }
.article em { font-style: italic; }
.article .hl, .reply-body .hl { background: var(--hl); color: inherit; border-radius: 4px; padding: 1px 3px; box-decoration-break: clone; -webkit-box-decoration-break: clone; }
.article a, .reply-body a { color: var(--pri); font-weight: 500; text-decoration: underline; text-decoration-color: color-mix(in srgb, var(--pri) 35%, transparent); text-underline-offset: 3px; }
.article a:hover, .reply-body a:hover { text-decoration-color: var(--pri); }
.article a[target]::after { content: " ↗"; font-size: 0.8em; }

.article ul, .article ol { list-style: none; padding: 0; margin: 4px 0 18px; display: flex; flex-direction: column; gap: 10px; }
.article li { position: relative; font-size: 17px; line-height: 28px; color: var(--body); padding-left: 30px; }
.article ul li::before { content: ""; position: absolute; left: 9px; top: 11px; width: 7px; height: 7px; border-radius: 50%; background: var(--pri); }
.article ol { counter-reset: step; gap: 12px; }
.article ol li { counter-increment: step; padding-left: 42px; }
.article ol li::before { content: counter(step); position: absolute; left: 0; top: 1px; width: 27px; height: 27px; border-radius: 50%; display: grid; place-items: center; background: var(--pri-soft); color: var(--pri); font-size: 13px; font-weight: 700; }
.callout { margin: 6px 0 20px; padding: 16px 20px; border-radius: 14px; background: var(--callout); border-left: 3px solid var(--pri); font-size: 16px; line-height: 27px; color: var(--ink); }

.article ::selection { background: var(--amber-soft); color: var(--brown); }
.article mark, .flash { background: var(--amber-soft); color: var(--brown); border-radius: 4px; }
.flash { transition: background 0.3s; box-shadow: 0 0 0 6px var(--amber-soft); }
.writing { color: var(--sub) !important; }
.lesson-foot { display: flex; justify-content: space-between; gap: 12px; margin-top: 56px; padding-top: 28px; border-top: 1px solid var(--line); }
.lesson-foot .btn { max-width: 48%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* Right: the chat */
.chat-wrap { padding: 20px 20px 20px 0; height: 100vh; position: relative; z-index: 3; }
.chat { height: 100%; background: var(--surface); border: 1px solid var(--line); border-radius: 24px; box-shadow: var(--shadow); display: flex; flex-direction: column; padding: 26px; }
.chat-head { display: flex; align-items: center; gap: 10px; margin-bottom: 18px; }
.chat-head h2 { font-size: 17px; font-weight: 600; }
.chat-head span { font-size: 12px; color: var(--faint); }
.dot { width: 22px; height: 22px; border-radius: 7px; background: var(--pri); }
.messages { flex: 1; overflow-y: auto; display: flex; flex-direction: column; gap: 18px; padding-bottom: 18px; scrollbar-width: thin; scrollbar-color: var(--line) transparent; }
.messages::-webkit-scrollbar { width: 6px; }
.messages::-webkit-scrollbar-thumb { background: var(--line); border-radius: 3px; }
.quote { border: 0; border-left: 3px solid var(--amber); background: none; padding: 0 0 0 12px; text-align: left; font-size: 13.5px; line-height: 20px; font-weight: 500; color: var(--brown); }
.quote small { display: block; font-size: 12px; font-weight: 400; color: var(--sub); }
.bubble { align-self: flex-end; max-width: 85%; background: var(--pri); color: var(--on-pri); border-radius: 18px 6px 18px 18px; padding: 10px 16px; font-size: 14.5px; line-height: 22px; white-space: pre-wrap; }
.reply .who { display: flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 600; margin-bottom: 8px; }
.reply .who i { width: 18px; height: 18px; border-radius: 6px; background: var(--pri); }
.reply-body p { font-size: 15px; line-height: 25px; color: var(--body); margin-bottom: 8px; }
.reply-body ul { padding-left: 20px; margin-bottom: 8px; display: flex; flex-direction: column; gap: 4px; }
.reply-body li { font-size: 15px; line-height: 24px; color: var(--body); }
.reply-body li::marker { color: var(--pri); }
.reply-body strong { color: var(--ink); font-weight: 600; }
.reply.typing .reply-body p { color: var(--faint); }
.chat .composer { box-shadow: none; background: var(--bg); border-radius: 18px; padding: 8px 8px 8px 16px; }
.chat .composer input { font-size: 15px; }
.chat .send { width: 38px; height: 38px; border-radius: 12px; }

/* ------------------------------------------------------------ Selection card, toast, loading */
.selection-card { position: fixed; z-index: 10; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow); padding: 8px; max-width: 290px; display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.selection-card[hidden] { display: none; }
.selection-meaning { padding: 8px 8px 0; font-size: 13.5px; line-height: 21px; color: var(--body); }
.selection-meaning:empty { display: none; }
.selection-meaning b { display: block; font-size: 15px; color: var(--ink); margin-bottom: 4px; }
.selection-meaning .hi { margin-top: 9px; padding-top: 9px; border-top: 1px solid var(--line); color: var(--ink); }
.selection-meaning .hi small { display: block; font-size: 10px; font-weight: 600; letter-spacing: 0.08em; color: var(--faint); }

.toast { position: fixed; left: 50%; bottom: 32px; transform: translateX(-50%); background: var(--ink); color: var(--bg); border-radius: 12px; padding: 11px 18px; font-size: 13.5px; box-shadow: var(--shadow); z-index: 20; max-width: 90vw; }
.toast[hidden] { display: none; }

.skeleton { height: 14px; border-radius: 5px; margin: 16px 0; background: var(--soft); animation: pulse 1.2s ease-in-out infinite; }
.skeleton.short { width: 60%; }
.outline li.skeleton { border: 0; padding: 0; height: 12px; }
@keyframes pulse { 50% { opacity: 0.45; } }

/* ------------------------------------------------------------ Smaller screens */
@media (max-width: 1180px) {
  .lesson { grid-template-columns: minmax(0, 1fr) 440px; }
  .side { display: none; }
  .article, .readbar { padding-left: 36px; padding-right: 36px; }
}
@media (max-width: 860px) {
  .lesson { grid-template-columns: 1fr; height: auto; }
  .reader { overflow: visible; }
  .chat-wrap { padding: 16px; height: 80vh; }
  .article, .readbar { padding-left: 20px; padding-right: 20px; }
  .readbar > span { display: none; }
  .cards, .two, .building { grid-template-columns: 1fr; }
  .building { gap: 32px; padding-top: 32px; }
  .hero { padding-top: 40px; }
  .hero h1 { font-size: 36px; line-height: 42px; }
  .article h1 { font-size: 32px; line-height: 40px; }
  .topbar { padding: 18px 20px; }
}

/* Buttons inside the lesson keep button colours, not link colours. */
.article a.btn { text-decoration: none; font-weight: 600; }
.article a.btn-primary { color: var(--on-pri); }
.article a.btn-ghost { color: var(--ink); }
.article a.btn-ghost:hover { color: var(--pri); }
.hero > p.privacy { font-size: 12px; line-height: 18px; color: var(--faint); max-width: 600px; }

/* ------------------------------------------------------------ Lesson graphics */
.article figure { margin: 10px 0 24px; }
.article figcaption { margin-top: 10px; font-size: 13.5px; line-height: 20px; color: var(--sub); text-align: center; }

/* Flow: stages of a process, joined by arrows. */
.flow-row { display: flex; flex-wrap: wrap; align-items: stretch; gap: 8px; }
.flow-step { flex: 1 1 130px; display: flex; flex-direction: column; gap: 8px; padding: 16px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); font-size: 15px; line-height: 22px; color: var(--ink); }
.flow-step b { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: var(--pri); color: var(--on-pri); font-size: 13px; font-weight: 700; }
.flow-arrow { align-self: center; color: var(--faint); font-size: 18px; }

/* Compare: two things side by side. */
.compare { width: 100%; border-collapse: separate; border-spacing: 0; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; background: var(--surface); }
.compare th { width: 50%; text-align: left; padding: 12px 18px; font-size: 14px; font-weight: 650; color: var(--ink); background: var(--pri-soft); }
.compare td { padding: 12px 18px; font-size: 15.5px; line-height: 24px; color: var(--body); border-top: 1px solid var(--line); vertical-align: top; }
.compare th + th, .compare td + td { border-left: 1px solid var(--line); }

/* Cards: a few things to tell apart at a glance. */
.vcards { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 12px; }
.vcard { padding: 18px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line); display: flex; flex-direction: column; gap: 6px; }
.vcard .v-icon { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--pri-soft); font-size: 20px; margin-bottom: 4px; }
.vcard .v-name { font-size: 15.5px; font-weight: 650; color: var(--ink); }
.vcard .v-text { font-size: 14.5px; line-height: 22px; color: var(--body); }
