/* OwlMechanics — the OwlScholar desk (warm paper, icon rail, cards) with OwlDiary's Obsidian touches. */
:root {
  --bg: #f5f4ef;
  --bg-2: #efeee8;
  --panel: #ffffff;
  --panel-2: #fafaf7;
  --line: #e6e4dc;
  --line-2: #d9d6cc;
  --text: #1f1e1b;
  --text-2: #5b5a55;
  --text-3: #8c8a83;
  --accent: #c96442;
  --accent-soft: #fbeee8;
  --blue: #2f6feb;
  --blue-soft: #e8f0fe;
  --ok: #1a8f5a;
  --ok-soft: #e4f5ec;
  --warn: #b7791f;
  --warn-soft: #fdf3e1;
  --err: #c53030;
  --err-soft: #fdeaea;
  --ai: #7c5cff;
  --ai-soft: #f1edff;
  --hover: rgba(0, 0, 0, 0.045);
  --active: rgba(0, 0, 0, 0.075);
  --shadow: 0 1px 2px rgba(20, 20, 10, 0.05), 0 4px 16px rgba(20, 20, 10, 0.06);
  --shadow-lg: 0 10px 40px rgba(20, 20, 10, 0.16);
  --radius: 12px;
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', 'Noto Sans SC', sans-serif;
  --mono: 'JetBrains Mono', 'SF Mono', Consolas, 'Cascadia Code', monospace;
  /* figure colours (core/draw.js PALETTE) */
  --c-ink: #1f1e1b;
  --c-muted: #6b6a64;
  --c-faint: #b9b7ae;
  --c-paper: #ffffff;
  --c-fill: #e9e6dc;
  --c-fill2: #f4f2ea;
  --c-vel: #d43d3d;
  --c-acc: #2f6feb;
  --c-rel: #14905a;
  --c-e: #d97a1a;
  --c-cor: #8a4fe0;
  --c-ic: #0e9aa7;
  --c-accent: #c96442;
  --c-sel: #2f6feb;
  --c-pos: #d43d3d;
  --c-neg: #2f6feb;
  --c-grid: #ebe9e2;
  color-scheme: light;
}
:root[data-theme='dark'] {
  --bg: #1c1c1a; --bg-2: #232321; --panel: #262624; --panel-2: #2b2b29; --line: #393936; --line-2: #4a4a46;
  --text: #ecebe6; --text-2: #b4b2aa; --text-3: #85837c; --accent: #e08a6a; --accent-soft: #3a2820; --blue: #6ea0ff; --blue-soft: #1e2a44;
  --ok: #4cc38a; --ok-soft: #173326; --warn: #e0b050; --warn-soft: #3a3020; --err: #f07070; --err-soft: #3d1f1f; --ai: #a08cff; --ai-soft: #2b2545;
  --hover: rgba(255, 255, 255, 0.06); --active: rgba(255, 255, 255, 0.1);
  --c-ink: #ecebe6; --c-muted: #b4b2aa; --c-faint: #5f5d57; --c-paper: #262624; --c-fill: #3a3935; --c-fill2: #2f2e2b;
  --c-vel: #ff6b6b; --c-acc: #6ea0ff; --c-rel: #4cc38a; --c-e: #f0a050; --c-cor: #b394ff; --c-ic: #3cc7d3; --c-accent: #e08a6a; --c-sel: #6ea0ff;
  --c-pos: #ff7b7b; --c-neg: #7eaaff; --c-grid: #302f2c;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html, body, #app { height: 100%; margin: 0; }
body { background: var(--bg); color: var(--text); font: 13.5px/1.55 var(--font); -webkit-font-smoothing: antialiased; overflow: hidden; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
input, textarea, select { font: inherit; color: inherit; }
::selection { background: rgba(47, 111, 235, 0.22); }
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-thumb { background: var(--line-2); border-radius: 10px; border: 3px solid transparent; background-clip: content-box; }
a { color: var(--blue); }
.ico { flex: none; }
.muted { color: var(--text-3); }
.small { font-size: 12px; }
.grow { flex: 1; min-width: 0; }
.row { display: flex; align-items: center; gap: 8px; }
.wrap { flex-wrap: wrap; }
.ell { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mono { font-family: var(--mono); }

/* ---------- frame ---------- */
.app { display: flex; flex-direction: column; height: 100%; }
.titlebar { height: 44px; flex: none; display: flex; align-items: center; gap: 10px; padding: 0 12px 0 14px; user-select: none; }
.titlebar .logo { display: flex; align-items: center; gap: 8px; font-weight: 650; font-size: 13.5px; }
.titlebar .logo img { width: 22px; height: 22px; }
.titlebar .logo .cn { color: var(--text-3); font-weight: 500; font-size: 12px; }
.titlebar .crumb { color: var(--text-3); font-size: 12.5px; display: flex; align-items: center; gap: 4px; min-width: 0; }
.titlebar .crumb b { color: var(--text-2); font-weight: 550; }
.body { flex: 1; display: flex; min-height: 0; padding: 0 10px 10px 0; gap: 8px; }
.rail { width: 54px; flex: none; display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 2px 0 6px; overflow-y: auto; }
.rail .sep { width: 22px; height: 1px; background: var(--line-2); margin: 6px 0; flex: none; }
.rail .grp { font-size: 9.5px; color: var(--text-3); letter-spacing: 0.04em; margin-top: 4px; }
.rail .sp { flex: 1; }
.rail-btn { width: 38px; height: 38px; flex: none; display: grid; place-items: center; border-radius: 10px; color: var(--text-2); position: relative; }
.rail-btn:hover { background: var(--hover); color: var(--text); }
.rail-btn.on { background: var(--panel); color: var(--accent); box-shadow: var(--shadow); }
.rail-btn[data-tip]:hover::after { content: attr(data-tip); position: absolute; left: 46px; top: 50%; transform: translateY(-50%); background: var(--text); color: var(--bg); font-size: 12px; padding: 4px 8px; border-radius: 6px; white-space: nowrap; z-index: 50; pointer-events: none; }

.side { width: 236px; flex: none; display: flex; flex-direction: column; min-height: 0; }
.side .head { padding: 2px 6px 8px; }
.side .head h2 { margin: 0; font-size: 15px; font-weight: 650; display: flex; align-items: center; gap: 6px; }
.side .head .desc { color: var(--text-3); font-size: 12px; margin-top: 3px; line-height: 1.45; }
.side .list { flex: 1; overflow: auto; padding-right: 2px; }
.side .grp-h { display: flex; align-items: center; gap: 6px; padding: 10px 8px 4px; font-size: 11px; color: var(--text-3); font-weight: 600; letter-spacing: 0.04em; }
.doc { display: flex; flex-direction: column; gap: 1px; padding: 7px 9px; border-radius: 9px; cursor: pointer; color: var(--text-2); position: relative; }
.doc:hover { background: var(--hover); color: var(--text); }
.doc.on { background: var(--panel); color: var(--text); box-shadow: var(--shadow); }
.doc .t { font-weight: 550; font-size: 13px; padding-right: 22px; }
.doc .d { font-size: 11.5px; color: var(--text-3); line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.doc .del { position: absolute; right: 6px; top: 6px; display: none; }
.doc:hover .del { display: inline-grid; }

.work { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 8px; min-height: 0; }
.card { background: var(--panel); border: 1px solid var(--line); border-radius: 14px; min-height: 0; display: flex; flex-direction: column; overflow: hidden; }
.stage { flex: 1.35; position: relative; }
.lower { flex: 1; }
.right { width: 410px; flex: none; }
.card-h { display: flex; align-items: center; gap: 6px; padding: 7px 10px; border-bottom: 1px solid var(--line); flex: none; min-height: 42px; flex-wrap: wrap; }
.card-h .ttl { font-weight: 650; font-size: 13.5px; display: flex; align-items: center; gap: 6px; }
.card-b { flex: 1; min-height: 0; overflow: auto; position: relative; }
.split-h { height: 6px; margin: -7px 0; cursor: row-resize; flex: none; z-index: 5; }
.split-v { width: 6px; margin: 0 -7px; cursor: col-resize; flex: none; z-index: 5; }

/* ---------- controls ---------- */
.btn { display: inline-flex; align-items: center; gap: 6px; height: 30px; padding: 0 11px; border-radius: 8px; border: 1px solid var(--line); background: var(--panel); font-size: 13px; white-space: nowrap; }
.btn:hover { background: var(--panel-2); border-color: var(--line-2); }
.btn.primary { background: var(--text); color: var(--bg); border-color: var(--text); }
.btn.accent { background: var(--accent); color: #fff; border-color: var(--accent); }
.btn.ghost { border-color: transparent; background: transparent; }
.btn.ghost:hover { background: var(--hover); }
.btn.sm { height: 26px; padding: 0 9px; font-size: 12.5px; border-radius: 7px; }
.btn.on { background: var(--accent-soft); border-color: var(--accent); color: var(--accent); }
.btn:disabled { opacity: 0.45; cursor: default; }
.icon-btn { width: 28px; height: 28px; display: inline-grid; place-items: center; border-radius: 7px; color: var(--text-2); flex: none; }
.icon-btn:hover { background: var(--hover); color: var(--text); }
.icon-btn.sm { width: 22px; height: 22px; border-radius: 6px; }
.icon-btn.on { background: var(--active); color: var(--text); }
.input, .select { height: 28px; border: 1px solid var(--line); background: var(--panel); border-radius: 7px; padding: 0 8px; outline: none; min-width: 0; }
.input:focus, .select:focus { border-color: var(--blue); box-shadow: 0 0 0 3px var(--blue-soft); }
textarea.input { height: auto; padding: 6px 8px; resize: vertical; font-family: var(--mono); font-size: 12px; line-height: 1.5; }
.seg { display: inline-flex; padding: 2px; background: var(--bg-2); border-radius: 9px; gap: 2px; flex-wrap: wrap; }
.seg button { height: 26px; padding: 0 10px; border-radius: 7px; color: var(--text-2); font-size: 12.5px; display: inline-flex; align-items: center; gap: 5px; white-space: nowrap; }
.seg button:hover { color: var(--text); }
.seg button.on { background: var(--panel); color: var(--text); box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08); font-weight: 550; }
.chip { display: inline-flex; align-items: center; gap: 5px; height: 24px; padding: 0 8px; border-radius: 999px; border: 1px solid var(--line); background: var(--panel); font-size: 12px; color: var(--text-2); white-space: nowrap; }
.chip input { margin: 0; }
.badge { display: inline-flex; align-items: center; height: 19px; padding: 0 7px; border-radius: 5px; font-size: 11px; background: var(--bg-2); color: var(--text-2); white-space: nowrap; font-weight: 550; }
.badge.ok { background: var(--ok-soft); color: var(--ok); }
.badge.warn { background: var(--warn-soft); color: var(--warn); }
.badge.err { background: var(--err-soft); color: var(--err); }
.badge.acc { background: var(--accent-soft); color: var(--accent); }
.badge.blue { background: var(--blue-soft); color: var(--blue); }
.kbd { font: 11px var(--mono); padding: 1px 5px; border: 1px solid var(--line); border-radius: 4px; background: var(--panel-2); color: var(--text-2); }

/* ---------- canvas ---------- */
.canvas { position: absolute; inset: 0; touch-action: none; user-select: none; }
.canvas svg { width: 100%; height: 100%; display: block; }
.canvas.tool-select { cursor: default; }
.canvas.tool-pan, .canvas.panning { cursor: grab; }
.canvas.tool-add { cursor: crosshair; }
.canvas .pt { cursor: pointer; }
.canvas [data-id]:hover { filter: drop-shadow(0 0 2px var(--c-sel)); }
.palette { position: absolute; left: 10px; top: 10px; bottom: 10px; display: flex; flex-direction: column; gap: 2px; background: var(--panel); border: 1px solid var(--line); border-radius: 12px; padding: 5px; box-shadow: var(--shadow); overflow-y: auto; z-index: 3; scrollbar-width: none; }
.palette::-webkit-scrollbar { display: none; }
.palette .sep { height: 1px; background: var(--line); margin: 3px 2px; flex: none; }
.tool { width: 34px; height: 34px; flex: none; display: grid; place-items: center; border-radius: 8px; color: var(--text-2); position: relative; }
.tool:hover { background: var(--hover); color: var(--text); }
.tool.on { background: var(--accent-soft); color: var(--accent); }
.tool[data-tip]:hover::after { content: attr(data-tip); position: absolute; left: 42px; top: 50%; transform: translateY(-50%); background: var(--text); color: var(--bg); font-size: 12px; padding: 4px 8px; border-radius: 6px; white-space: nowrap; z-index: 50; pointer-events: none; }
.hint { position: absolute; left: 60px; bottom: 10px; right: 10px; display: flex; gap: 8px; align-items: center; pointer-events: none; z-index: 2; }
.hint > span { background: color-mix(in srgb, var(--panel) 88%, transparent); border: 1px solid var(--line); border-radius: 8px; padding: 4px 9px; color: var(--text-2); font-size: 12px; pointer-events: auto; }
.inspector { position: absolute; right: 10px; top: 10px; width: 238px; max-height: calc(100% - 20px); overflow: auto; background: var(--panel); border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow-lg); z-index: 4; padding: 10px 12px 12px; }
.inspector h4 { margin: 0 0 8px; font-size: 13px; display: flex; align-items: center; gap: 6px; }
.field { display: grid; grid-template-columns: 74px 1fr; align-items: center; gap: 6px; margin: 5px 0; font-size: 12.5px; color: var(--text-2); }
.field .pair { display: flex; gap: 4px; min-width: 0; }
.field .pair .input { width: 50%; }
.field .input, .field .select { width: 100%; }
.field.full { grid-template-columns: 1fr; }
.stage-status { position: absolute; right: 12px; bottom: 10px; z-index: 2; display: flex; gap: 6px; align-items: center; }
.zoom { position: absolute; right: 10px; bottom: 44px; display: flex; flex-direction: column; gap: 2px; background: var(--panel); border: 1px solid var(--line); border-radius: 10px; padding: 3px; box-shadow: var(--shadow); z-index: 3; }

/* ---------- lower diagrams ---------- */
.dg { position: relative; height: 100%; min-height: 160px; }
.dg svg { width: 100%; height: 100%; display: block; }
.dg-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 8px; padding: 10px; }
.dg-cell { border: 1px solid var(--line); border-radius: 10px; background: var(--panel-2); overflow: hidden; cursor: pointer; }
.dg-cell.on { border-color: var(--accent); box-shadow: 0 0 0 2px var(--accent-soft); }
.dg-cell .cap { padding: 5px 9px; font-size: 12px; color: var(--text-2); border-bottom: 1px solid var(--line); display: flex; gap: 6px; align-items: center; }
.dg-cell svg { width: 100%; height: 190px; display: block; }
.legend { display: flex; gap: 10px; flex-wrap: wrap; font-size: 11.5px; color: var(--text-2); }
.legend i { display: inline-block; width: 14px; height: 3px; border-radius: 2px; vertical-align: middle; margin-right: 4px; }

/* ---------- right: solution ---------- */
.sol { padding: 12px 14px 30px; font-size: 13px; }
.sol h3 { font-size: 13.5px; margin: 16px 0 6px; display: flex; align-items: center; gap: 6px; }
.sol h3:first-child { margin-top: 2px; }
.sol h3 .n { width: 20px; height: 20px; border-radius: 6px; background: var(--text); color: var(--bg); display: grid; place-items: center; font-size: 11px; flex: none; }
.sol p { margin: 4px 0 8px; color: var(--text-2); }
.sol ul { margin: 4px 0 8px; padding-left: 18px; color: var(--text-2); }
.sol li { margin: 2px 0; }
.step { border: 1px solid var(--line); border-radius: 11px; margin: 8px 0; background: var(--panel); overflow: hidden; }
.step.on { border-color: var(--accent); box-shadow: 0 0 0 2px var(--accent-soft); }
.step > .sh { display: flex; align-items: center; gap: 7px; padding: 7px 10px; background: var(--panel-2); border-bottom: 1px solid var(--line); cursor: pointer; font-weight: 600; font-size: 12.8px; }
.step > .sh .k { font-size: 10.5px; padding: 1px 6px; border-radius: 5px; background: var(--blue-soft); color: var(--blue); font-weight: 600; }
.step > .sh .k.a { background: var(--ai-soft); color: var(--ai); }
.step > .sb { padding: 8px 11px 10px; }
.why { background: var(--warn-soft); border-left: 3px solid var(--warn); padding: 6px 9px; border-radius: 0 7px 7px 0; color: var(--text); font-size: 12.5px; margin: 2px 0 8px; }
.why b:first-child { color: var(--warn); }
.tip { background: var(--blue-soft); border-left: 3px solid var(--blue); padding: 5px 9px; border-radius: 0 7px 7px 0; font-size: 12px; margin: 6px 0; color: var(--text-2); }
.eq { overflow-x: auto; overflow-y: hidden; padding: 2px 0; }
.eq .katex-display { margin: 6px 0; }
.vt { border-collapse: collapse; font-size: 12px; margin: 6px 0; width: 100%; }
.vt th, .vt td { border: 1px solid var(--line); padding: 3px 6px; text-align: center; vertical-align: middle; }
.vt th { background: var(--panel-2); font-weight: 500; }
.vt td.q { color: var(--err); font-weight: 700; }
.vt td small { color: var(--text-3); }
.proj { font-size: 12.5px; color: var(--text-2); margin-top: 6px; }
.res { background: var(--ok-soft); border-radius: 8px; padding: 4px 9px; margin-top: 6px; }
.res .neg { color: var(--err); font-size: 11.5px; }
.ic { background: color-mix(in srgb, var(--c-ic) 10%, transparent); border-radius: 8px; padding: 5px 9px; margin-top: 6px; font-size: 12.5px; }
.sum { width: 100%; border-collapse: collapse; font-size: 12.5px; }
.sum td, .sum th { border-bottom: 1px solid var(--line); padding: 4px 5px; text-align: left; }
.sum th { color: var(--text-3); font-weight: 500; font-size: 11.5px; }
.callout { border-radius: 10px; padding: 8px 11px; margin: 8px 0; border: 1px solid var(--line); background: var(--panel-2); font-size: 12.5px; }
.callout.err { background: var(--err-soft); border-color: transparent; color: var(--err); }
.callout.warn { background: var(--warn-soft); border-color: transparent; }
.callout.ok { background: var(--ok-soft); border-color: transparent; }
pre.code { background: var(--bg-2); padding: 10px 12px; border-radius: 9px; overflow: auto; font: 12px/1.5 var(--mono); max-height: 62vh; margin: 0; white-space: pre; }
details.more summary { cursor: pointer; color: var(--text-2); font-size: 12.5px; margin: 6px 0; }

/* ---------- notes ---------- */
.notes { padding: 22px 34px 60px; max-width: 900px; margin: 0 auto; font-size: 14px; line-height: 1.75; }
.notes h1 { font-size: 24px; margin: 4px 0 6px; }
.notes h2 { font-size: 18px; margin: 26px 0 8px; padding-bottom: 4px; border-bottom: 1px solid var(--line); }
.notes h3 { font-size: 15px; margin: 18px 0 6px; }
.notes p, .notes li { color: var(--text); }
.notes .katex-display { margin: 8px 0; overflow-x: auto; overflow-y: hidden; padding: 2px 0; }
.notes table { border-collapse: collapse; margin: 8px 0; font-size: 13px; }
.notes td, .notes th { border: 1px solid var(--line); padding: 4px 9px; }
.notes th { background: var(--panel-2); }
.notes .open { display: inline-flex; gap: 6px; align-items: center; }
.toc a { display: block; padding: 4px 12px; color: var(--text-2); text-decoration: none; font-size: 12.5px; border-radius: 6px; }
.toc a:hover { background: var(--hover); color: var(--text); }
.toc a.h3 { padding-left: 24px; font-size: 12px; }

/* ---------- popups ---------- */
.modal-bg { position: fixed; inset: 0; background: rgba(20, 20, 15, 0.35); z-index: 900; display: grid; place-items: center; backdrop-filter: blur(2px); animation: fade 0.15s; }
.modal { background: var(--panel); border-radius: 16px; box-shadow: var(--shadow-lg); width: min(640px, 94vw); max-height: 88vh; display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--line); }
.modal.wide { width: min(960px, 94vw); }
.modal-h { padding: 14px 18px 8px; display: flex; align-items: center; gap: 10px; }
.modal-h h3 { margin: 0; font-size: 15.5px; }
.modal-b { padding: 4px 18px 18px; overflow: auto; }
@keyframes fade { from { opacity: 0; } }
.toast { position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%); background: var(--text); color: var(--bg); padding: 9px 16px; border-radius: 10px; z-index: 2000; box-shadow: var(--shadow-lg); font-size: 13px; }
.toast.err { background: var(--err); color: #fff; }
.empty { display: grid; place-items: center; text-align: center; color: var(--text-3); padding: 30px 20px; gap: 8px; height: 100%; }

/* ---------- responsive ---------- */
.mob-only { display: none; }
@media (max-width: 1280px) { .right { width: 360px; } .side { width: 210px; } }
@media (max-width: 1080px) {
  body { overflow: auto; }
  .app { height: auto; min-height: 100%; }
  .body { flex-wrap: wrap; padding: 0 8px 8px; }
  .work { flex-basis: calc(100% - 62px); }
  .stage { flex: none; height: 62vh; }
  .lower { flex: none; height: 46vh; }
  .right { width: 100%; flex: none; max-height: none; margin-left: 62px; }
  .right .card-b { overflow: visible; }
  .split-h, .split-v { display: none; }
  .side { position: fixed; left: 0; top: 0; bottom: 0; width: 280px; z-index: 600; background: var(--bg); padding: 10px; box-shadow: var(--shadow-lg); transform: translateX(-105%); transition: transform 0.2s; }
  .app.drawer .side { transform: none; }
  .mob-only { display: inline-grid; }
}
@media (max-width: 640px) {
  .rail { position: fixed; bottom: 0; left: 0; right: 0; height: 56px; width: auto; flex-direction: row; z-index: 500; background: var(--bg); border-top: 1px solid var(--line); padding: 8px; overflow-x: auto; overflow-y: hidden; }
  .rail .sep { width: 1px; height: 22px; margin: 0 4px; }
  .rail .grp, .rail .sp { display: none; }
  .rail-btn[data-tip]:hover::after { display: none; }
  .work { flex-basis: 100%; }
  .right { margin-left: 0; margin-bottom: 64px; }
  .titlebar .logo .cn, .titlebar .crumb .hide-sm { display: none; }
  .inspector { width: auto; left: 58px; top: auto; bottom: 46px; max-height: 45%; }
  .notes { padding: 14px 16px 80px; }
}
.pop { position: fixed; z-index: 1000; background: var(--panel); border: 1px solid var(--line); border-radius: 10px; box-shadow: var(--shadow-lg); padding: 5px; min-width: 200px; }
.pop .item { display: flex; align-items: center; gap: 8px; width: 100%; padding: 6px 9px; border-radius: 7px; text-align: left; font-size: 13px; }
.pop .item:hover { background: var(--hover); }
.pop .item:disabled { opacity: 0.4; }
.pop .group { padding: 6px 9px 4px; font-size: 11px; color: var(--text-3); font-weight: 600; }
.pop .sep { height: 1px; background: var(--line); margin: 4px 2px; }
.help h4 { margin: 14px 0 4px; font-size: 13.5px; }
.help p, .help li { font-size: 13px; color: var(--text-2); line-height: 1.7; }
.side .head .help-btn { margin-top: 6px; }
.toolcard { position: absolute; left: 58px; top: 10px; width: 280px; max-height: calc(100% - 20px); overflow: auto; background: var(--panel); border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow-lg); padding: 10px 12px; z-index: 5; font-size: 12.5px; animation: fade 0.15s; }
.toolcard b { display: inline-flex; align-items: center; gap: 6px; font-size: 13.5px; color: var(--accent); }
.toolcard p { margin: 6px 0; color: var(--text); }
.toolcard ol { margin: 4px 0; padding-left: 18px; color: var(--text-2); }
.toolcard li { margin: 3px 0; }
