
/* ==========================================================================
   ORIVAEL — Design System "Ink & Seal"
   Quiet-luxury enterprise aesthetic: ink black, bone white, mint seal accent,
   serif display type, hairline borders, film grain.
   Drop-in replacement for style.css — defines every --var the templates use.
   ========================================================================== */

:root {
  /* ── Palette ─────────────────────────────────────────────────────── */
  --bg:        #0a0b0e;
  --ink:       #0a0b0e;
  --fg:        #e9e8e2;
  --white:     #f5f4ef;
  --muted:     #8f939c;
  --border:    rgba(244, 244, 238, 0.10);
  --line:      rgba(244, 244, 238, 0.10);
  --card:      rgba(244, 244, 238, 0.028);
  --panel:     rgba(244, 244, 238, 0.04);
  --green:     #72f0cf;
  --cyan:      #72f0cf;
  --accent:    #72f0cf;
  --red:       #e4695f;
  --error:     #e4695f;
  --success:   #58c98a;
  --violet:    #b3a4ef;

  /* ── Type ────────────────────────────────────────────────────────── */
  --font-display: "Fraunces", "Iowan Old Style", Georgia, serif;
  --font-sans: "Inter", -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-mono: "JetBrains Mono", "SF Mono", ui-monospace, Menlo, Consolas, monospace;

  --radius: 10px;
  --radius-lg: 18px;
  --hairline: 1px solid var(--border);
  --shadow-lift: 0 24px 60px -24px rgba(0, 0, 0, 0.7);
  --glow: 0 0 0 1px rgba(114, 240, 207, 0.18), 0 0 44px -8px rgba(114, 240, 207, 0.22);
}

/* ── Reset ─────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  min-height: 100vh;
  background-image:
    radial-gradient(1100px 520px at 85% -10%, rgba(114, 240, 207, 0.055), transparent 60%),
    radial-gradient(900px 600px at -10% 110%, rgba(114, 240, 207, 0.035), transparent 55%);
  background-attachment: fixed;
}
/* film grain */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 2000;
  pointer-events: none;
  opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)' opacity='0.6'/%3E%3C/svg%3E");
}
::selection { background: rgba(114, 240, 207, 0.85); color: #07110d; }
a { color: inherit; }
img { max-width: 100%; }
code, pre, kbd, samp { font-family: var(--font-mono); }
pre {
  background: rgba(244, 244, 238, 0.03);
  border: var(--hairline);
  border-radius: var(--radius);
  padding: 1rem 1.15rem;
  overflow-x: auto;
  font-size: 0.82rem;
  line-height: 1.65;
  color: #c9e9dd;
}
code {
  font-size: 0.86em;
  background: rgba(244, 244, 238, 0.06);
  border: 1px solid rgba(244, 244, 238, 0.07);
  padding: 0.1em 0.38em;
  border-radius: 5px;
  color: #b9f2df;
}
pre code { background: none; border: 0; padding: 0; color: inherit; }

/* scrollbar */
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: rgba(244,244,238,0.12); border-radius: 6px; border: 2px solid var(--bg); }
::-webkit-scrollbar-thumb:hover { background: rgba(244,244,238,0.22); }

/* focus */
:focus-visible { outline: 2px solid rgba(114, 240, 207, 0.6); outline-offset: 2px; border-radius: 4px; }

/* ── Header / Nav ──────────────────────────────────────────────────── */
header {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 0 clamp(1.25rem, 4vw, 3rem);
  height: 68px;
  background: rgba(10, 11, 14, 0.72);
  backdrop-filter: blur(18px) saturate(1.4);
  -webkit-backdrop-filter: blur(18px) saturate(1.4);
  border-bottom: var(--hairline);
}
.brand {
  font-family: var(--font-sans);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--white);
  white-space: nowrap;
}
.brand:hover { color: var(--green); }
header nav {
  display: flex;
  align-items: center;
  gap: clamp(0.9rem, 2vw, 1.6rem);
  flex-wrap: wrap;
  justify-content: flex-end;
}
header nav a {
  font-size: 0.83rem;
  font-weight: 500;
  color: var(--muted);
  text-decoration: none;
  letter-spacing: 0.01em;
  transition: color 0.18s;
}
header nav a:hover { color: var(--white); }
header nav a.cta {
  color: #07110d;
  background: var(--white);
  padding: 0.5rem 1.15rem;
  border-radius: 999px;
  font-weight: 600;
  transition: background 0.18s, transform 0.18s;
}
header nav a.cta:hover { background: var(--green); transform: translateY(-1px); }
header nav .link {
  background: none; border: 0; color: var(--muted); cursor: pointer;
  font: inherit; font-size: 0.83rem; padding: 0;
}
header nav .link:hover { color: var(--white); }
form.inline { display: inline; margin: 0; }
.model-pill {
  display: inline-flex; align-items: center; gap: 7px;
  font-family: var(--font-mono); font-size: 0.7rem;
  background: rgba(114, 240, 207, 0.06);
  border: 1px solid rgba(114, 240, 207, 0.22);
  border-radius: 999px; padding: 0.28rem 0.8rem;
  color: rgba(185, 242, 223, 0.9); white-space: nowrap;
}
.model-pill .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 8px rgba(114, 240, 207, 0.8);
  animation: pulse 2.4s ease-in-out infinite;
}
@keyframes pulse { 50% { opacity: 0.45; } }

/* ── Main & Footer ─────────────────────────────────────────────────── */
main { min-height: calc(100vh - 220px); }
footer {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 2.5rem;
  align-items: center;
  justify-content: space-between;
  padding: 2.4rem clamp(1.25rem, 4vw, 3rem) 3rem;
  margin-top: 4rem;
  border-top: var(--hairline);
  color: var(--muted);
  font-size: 0.8rem;
}
footer a { color: var(--muted); text-decoration: none; }
footer a:hover { color: var(--green); }
footer span { display: inline-flex; gap: 0.5rem; align-items: center; }
.beta-badge strong {
  color: var(--green); font-weight: 600; letter-spacing: 0.06em;
  text-transform: uppercase; font-size: 0.72rem;
}

/* ── Typography helpers ────────────────────────────────────────────── */
h1, h2, h3 { color: var(--white); line-height: 1.15; letter-spacing: -0.01em; }
main h1 { font-size: clamp(1.7rem, 3.4vw, 2.4rem); font-weight: 600; margin: 0 0 0.6rem; }
main h2 { font-size: 1.15rem; font-weight: 600; margin: 2.4rem 0 0.8rem; }
main h3 { font-size: 0.98rem; font-weight: 600; }

/* ── Buttons ───────────────────────────────────────────────────────── */
button, .cta-button {
  font-family: var(--font-sans);
  font-size: 0.88rem;
  font-weight: 600;
  border-radius: 999px;
  cursor: pointer;
  transition: transform 0.16s, background 0.16s, border-color 0.16s, color 0.16s, box-shadow 0.16s;
}
.cta-button, button.cta-button {
  display: inline-block;
  background: var(--white);
  color: #0a0b0e;
  border: 1px solid var(--white);
  padding: 0.72rem 1.6rem;
  text-decoration: none;
  letter-spacing: 0.01em;
}
.cta-button:hover { background: var(--green); border-color: var(--green); transform: translateY(-1px); box-shadow: 0 10px 30px -12px rgba(114, 240, 207, 0.45); }
main button:not(.link):not(.danger) {
  background: rgba(244, 244, 238, 0.05);
  color: var(--fg);
  border: 1px solid rgba(244, 244, 238, 0.14);
  padding: 0.6rem 1.3rem;
}
main button:not(.link):not(.danger):hover { border-color: rgba(114, 240, 207, 0.5); color: var(--green); }
button:disabled { opacity: 0.4; cursor: not-allowed; transform: none !important; }
button.link, a.link {
  background: none; border: 0; padding: 0;
  color: var(--green); font-size: 0.9rem; text-decoration: none;
  border-bottom: 1px solid rgba(114, 240, 207, 0.35);
  padding-bottom: 1px;
  transition: border-color 0.15s;
  cursor: pointer;
}
button.link:hover, a.link:hover { border-bottom-color: var(--green); }
button.danger, .danger {
  background: transparent !important;
  color: var(--red) !important;
  border: 1px solid rgba(228, 105, 95, 0.4) !important;
}
button.danger:hover { border-color: var(--red) !important; background: rgba(228, 105, 95, 0.08) !important; }

/* ── Forms ─────────────────────────────────────────────────────────── */
.form-section { max-width: 420px; margin: 4.5rem auto; padding: 0 1.25rem; }
.form-section h1 { font-family: var(--font-display); font-weight: 500; font-size: 2rem; letter-spacing: -0.01em; }
form label {
  display: block;
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted);
  margin: 1.25rem 0 0.45rem;
}
input[type="email"], input[type="password"], input[type="text"],
input[type="number"], input[type="range"], select, textarea {
  width: 100%;
  background: rgba(244, 244, 238, 0.035);
  border: 1px solid rgba(244, 244, 238, 0.13);
  border-radius: var(--radius);
  color: var(--white);
  font: inherit;
  font-size: 0.94rem;
  padding: 0.72rem 0.95rem;
  transition: border-color 0.15s, background 0.15s, box-shadow 0.15s;
  box-sizing: border-box;
}
input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: rgba(114, 240, 207, 0.55);
  background: rgba(114, 240, 207, 0.03);
  box-shadow: 0 0 0 3px rgba(114, 240, 207, 0.10);
}
input::placeholder, textarea::placeholder { color: rgba(143, 147, 156, 0.65); }
input[type="range"] { padding: 0.2rem 0; accent-color: var(--green); }
form button[type="submit"] { margin-top: 1.5rem; width: 100%; }
.form-aside { font-size: 0.84rem; color: var(--muted); margin-top: 1.5rem; text-align: center; }
.form-aside.small { font-size: 0.78rem; margin-top: 0.9rem; }
.form-aside a { color: var(--green); text-decoration: none; border-bottom: 1px solid rgba(114,240,207,0.3); }
.error { color: var(--red); font-size: 0.88rem; }

/* stacked forms (account page) */
.stacked-form { max-width: 460px; }
.danger-form { border: 1px solid rgba(228, 105, 95, 0.25); border-radius: var(--radius-lg); padding: 1.25rem; }
.danger-heading { color: var(--red) !important; }

/* ── Dashboard shell ───────────────────────────────────────────────── */
.dashboard { max-width: 1060px; margin: 0 auto; padding: 3rem clamp(1.25rem, 4vw, 2.5rem) 4rem; }
.tier-badge {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-size: 0.78rem; color: var(--muted);
  border: var(--hairline); border-radius: 999px;
  padding: 0.3rem 0.9rem; margin: 0 0 2rem;
  background: rgba(244, 244, 238, 0.025);
}
.tier-badge a { color: var(--green); }

/* quota */
.quota { margin: 1.5rem 0 2.5rem; }
.quota-label {
  display: flex; justify-content: space-between;
  font-size: 0.8rem; color: var(--muted); margin-bottom: 0.5rem;
  font-family: var(--font-mono);
}
.quota-bar {
  height: 6px; border-radius: 999px;
  background: rgba(244, 244, 238, 0.07); overflow: hidden;
}
.quota-fill {
  height: 100%; border-radius: 999px;
  background: linear-gradient(90deg, rgba(114,240,207,0.65), var(--green));
  box-shadow: 0 0 12px rgba(114, 240, 207, 0.35);
  transition: width 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}
.quota-fill.warn { background: linear-gradient(90deg, #e8b04b, #f0c060); }
.quota-fill.full { background: linear-gradient(90deg, #e4695f, #f07a70); }
.quota-warn { font-size: 0.82rem; color: #e8b04b; margin-top: 0.6rem; }
.quota-warn a { color: inherit; }

/* metrics */
.metrics { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 0.9rem; margin: 2rem 0 2.5rem; }
.metric {
  background: var(--card);
  border: var(--hairline);
  border-radius: var(--radius-lg);
  padding: 1.15rem 1.3rem;
  transition: border-color 0.2s, transform 0.2s;
}
.metric:hover { border-color: rgba(244, 244, 238, 0.2); transform: translateY(-2px); }
.metric .value {
  display: block;
  font-family: var(--font-display);
  font-size: 1.9rem; font-weight: 500; color: var(--white);
  letter-spacing: -0.01em;
}
.metric .label {
  display: block; font-size: 0.72rem; text-transform: uppercase;
  letter-spacing: 0.1em; color: var(--muted); margin-top: 0.25rem;
}

/* tables */
table.keys, table.keys-table, .keys {
  width: 100%; border-collapse: collapse; font-size: 0.88rem; margin: 1rem 0 2rem;
}
.keys th {
  text-align: left; font-size: 0.7rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.11em; color: var(--muted);
  padding: 0.6rem 0.85rem; border-bottom: 1px solid rgba(244, 244, 238, 0.16);
}
.keys td { padding: 0.75rem 0.85rem; border-bottom: var(--hairline); color: var(--fg); }
.keys tr:hover td { background: rgba(244, 244, 238, 0.02); }
.keys code { font-size: 0.8rem; }

/* alerts */
.alert {
  background: rgba(244, 244, 238, 0.03);
  border: var(--hairline);
  border-left: 3px solid rgba(244, 244, 238, 0.3);
  border-radius: var(--radius);
  padding: 1.05rem 1.25rem;
  margin: 1.25rem 0;
  font-size: 0.9rem;
  color: var(--fg);
}
.alert.success { border-left-color: var(--green); background: rgba(114, 240, 207, 0.045); }
.alert.error   { border-left-color: var(--red);   background: rgba(228, 105, 95, 0.05); }
.alert a { color: var(--green); }
.alert pre { margin-top: 0.7rem; }

/* inline forms */
.inline-form { display: flex; gap: 0.6rem; align-items: center; margin: 0.75rem 0 1.25rem; flex-wrap: wrap; }
.inline-form input { max-width: 300px; }
.inline-form button { margin-top: 0 !important; width: auto !important; }

.empty { color: var(--muted); font-size: 0.88rem; }

/* ── Tier / pricing cards ──────────────────────────────────────────── */
.tier-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1rem; margin: 1.5rem 0;
}
.tier {
  background: var(--card);
  border: var(--hairline);
  border-radius: var(--radius-lg);
  padding: 1.6rem 1.5rem;
  position: relative;
  transition: transform 0.22s, border-color 0.22s, box-shadow 0.22s;
}
.tier:hover { transform: translateY(-4px); border-color: rgba(244, 244, 238, 0.22); }
.tier.featured {
  border-color: rgba(114, 240, 207, 0.4);
  background: linear-gradient(180deg, rgba(114, 240, 207, 0.06), rgba(114, 240, 207, 0.015));
  box-shadow: var(--glow);
}
.tier h3 {
  font-size: 0.74rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.16em; color: var(--muted); margin: 0 0 1rem;
}
.tier .price {
  font-family: var(--font-display);
  font-size: 2.3rem; font-weight: 500; color: var(--white);
  margin: 0 0 1.1rem; letter-spacing: -0.02em;
}
.tier .price span { font-size: 0.9rem; color: var(--muted); font-family: var(--font-sans); }
.tier ul { list-style: none; padding: 0; margin: 0 0 1.4rem; }
.tier li {
  font-size: 0.86rem; color: var(--fg); padding: 0.38rem 0;
  border-bottom: 1px dashed rgba(244, 244, 238, 0.07);
}
.tier li::before { content: "—"; color: var(--green); margin-right: 0.55rem; }
.tier li:last-child { border-bottom: 0; }
.tier .empty { font-size: 0.8rem; color: var(--green); }

/* ── Packs ─────────────────────────────────────────────────────────── */
.pack-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1rem; margin: 1.5rem 0;
}
.pack-card {
  background: var(--card); border: var(--hairline); border-radius: var(--radius-lg);
  padding: 1.4rem; transition: transform 0.2s, border-color 0.2s;
}
.pack-card:hover { transform: translateY(-3px); border-color: rgba(114, 240, 207, 0.3); }
.pack-card h3 { margin: 0 0 0.35rem; font-size: 1rem; }
.pack-meta { font-size: 0.72rem; color: var(--muted); font-family: var(--font-mono); margin: 0 0 0.8rem; }
.pack-card > p { font-size: 0.86rem; color: var(--fg); }
.pack-tags { display: flex; flex-wrap: wrap; gap: 0.35rem; }
.pack-tag {
  font-size: 0.68rem; color: var(--muted);
  border: var(--hairline); border-radius: 999px; padding: 0.14rem 0.6rem;
}
.pack-source { font-size: 0.78rem; color: var(--muted); font-family: var(--font-mono); }
.pack-docs { margin-left: 0.8rem; font-size: 0.82rem; }
.installed-list li { margin: 0.3rem 0; }

/* ── Policy editor ─────────────────────────────────────────────────── */
.policy-form { max-width: 760px; }
.policy-editor {
  font-family: var(--font-mono); font-size: 0.82rem; line-height: 1.6;
  min-height: 320px; resize: vertical;
}
.policy-label { font-size: 0.72rem; }
.policy-actions { margin: 0.9rem 0 1.5rem; }
.policy-actions button { width: auto; margin-top: 0; }
.policy-help { font-size: 0.85rem; color: var(--muted); max-width: 640px; padding-left: 1.1rem; }
.policy-help li { margin: 0.45rem 0; }

/* ── Playground terminal ───────────────────────────────────────────── */
.playground { max-width: 860px; margin: 0 auto; padding: 3rem clamp(1.25rem, 4vw, 2rem) 4rem; }
.playground h1 { font-family: var(--font-display); font-weight: 500; font-size: 2.1rem; }
.term {
  background: #07090c !important;
  border: 1px solid rgba(244, 244, 238, 0.12) !important;
  border-radius: var(--radius-lg) !important;
  box-shadow: var(--shadow-lift), inset 0 1px 0 rgba(244,244,238,0.05);
  padding: 1.4rem !important;
}
.term-log { min-height: 15rem; }

/* ── Status page ───────────────────────────────────────────────────── */
.status { max-width: 860px; margin: 0 auto; padding: 3rem clamp(1.25rem, 4vw, 2rem) 4rem; }
.status h1 { font-family: var(--font-display); font-weight: 500; font-size: 2.1rem; }

/* ── Account page ──────────────────────────────────────────────────── */
.dashboard h1 { font-family: var(--font-display); font-weight: 500; letter-spacing: -0.01em; }

/* ── Hero / landing primitives (used by landing.html lx- classes too) ─ */
.hero {
  max-width: 900px; margin: 0 auto; text-align: center;
  padding: clamp(4.5rem, 12vh, 8rem) 1.5rem 3.5rem;
}
.hero h1 {
  font-family: var(--font-display);
  font-weight: 450;
  font-size: clamp(2.6rem, 6vw, 4.6rem);
  line-height: 1.06;
  letter-spacing: -0.02em;
  color: var(--white);
  margin: 0 0 1.4rem;
}
.lede { font-size: clamp(1rem, 1.6vw, 1.18rem); color: var(--muted); max-width: 560px; margin: 0 auto 2rem; }
.actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; margin: 1.8rem 0; }

.example, .mcp, .tiers {
  max-width: 1060px; margin: 0 auto;
  padding: 4.5rem clamp(1.25rem, 4vw, 2.5rem);
  border-top: var(--hairline);
}
.example h2, .mcp h2, .tiers h2 {
  font-family: var(--font-display); font-weight: 500;
  font-size: clamp(1.6rem, 3vw, 2.3rem); letter-spacing: -0.01em;
  margin: 0 0 1.6rem;
}
.tool-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 2rem; margin: 2rem 0; }
.tool-col h3 {
  font-size: 0.72rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.16em; color: var(--green); margin: 0 0 1rem;
}
.tool-col ul { list-style: none; padding: 0; margin: 0; }
.tool-col li { font-size: 0.85rem; color: var(--muted); padding: 0.42rem 0; border-bottom: 1px dashed rgba(244,244,238,0.06); }
.tool-col li:last-child { border-bottom: 0; }
.tool-link { color: var(--fg); text-decoration: none; }
.tool-link:hover { color: var(--green); }
.tool-col code { font-size: 0.78rem; }

/* ── Responsive ────────────────────────────────────────────────────── */
@media (max-width: 720px) {
  header { height: auto; padding-top: 0.8rem; padding-bottom: 0.8rem; flex-wrap: wrap; }
  .hero { padding-top: 3.5rem; }
  .inline-form input { max-width: 100%; }
}

/* ── Card catalogue — shared by /help, /help/mcp-tools, and /dashboard/packs ──
   One card language for every "pick a door" surface, so the docs index, the
   tool index and the pack catalogue read as one product. Modelled on the
   NodeXLoop template gallery: icon tile, title, one line, meta chips. ─────── */
.ov-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(255px, 1fr)); gap: 1rem; }
.ov-card { position: relative; display: flex; flex-direction: column; background: var(--card); border: var(--hairline); border-radius: var(--radius-lg); padding: 1.25rem 1.3rem; color: inherit; text-decoration: none; transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease; }
a.ov-card:hover, .ov-card.is-link:hover { border-color: rgba(244,244,238,.22); transform: translateY(-2px); box-shadow: 0 18px 40px -24px rgba(0,0,0,.85); }
.ov-card:target { border-color: rgba(114,240,207,.55); box-shadow: 0 0 0 3px rgba(114,240,207,.12); }
.ov-card-icon { width: 40px; height: 40px; border-radius: var(--radius); display: flex; align-items: center; justify-content: center; margin-bottom: .9rem; background: rgba(114,240,207,.10); color: var(--green); flex: none; }
.ov-card-icon svg { width: 20px; height: 20px; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.ov-card-icon.violet { background: rgba(179,164,239,.12); color: var(--violet); }
.ov-card-icon.red    { background: rgba(228,105,95,.12);  color: var(--red); }
.ov-card-icon.amber  { background: rgba(240,190,90,.12);  color: #f0be5a; }
.ov-card-icon.muted  { background: rgba(244,244,238,.06); color: var(--muted); }
.ov-card-title { font-size: 15px; font-weight: 600; color: var(--white); margin: 0 0 .35rem; line-height: 1.3; }
.ov-card-title code { font-family: var(--font-mono); font-size: .92em; background: none; padding: 0; color: inherit; }
.ov-card-desc { font-size: 13px; color: var(--muted); line-height: 1.5; margin: 0 0 .85rem; }
.ov-card-use { font-size: 12.5px; color: var(--fg); line-height: 1.45; margin: 0 0 .85rem; padding-left: .75rem; border-left: 2px solid rgba(114,240,207,.45); }
.ov-card-use b { display: block; color: var(--green); font-weight: 600; letter-spacing: .06em; font-size: .68rem; text-transform: uppercase; margin-bottom: .15rem; }
.ov-card-meta { display: flex; flex-wrap: wrap; gap: .45rem; align-items: center; font-size: 11px; color: var(--muted); margin-top: auto; }
.ov-card-actions { display: flex; gap: .6rem; align-items: center; margin-top: 1rem; }
.ov-card-actions form { margin: 0; }
.ov-chip { display: inline-flex; align-items: center; gap: .3rem; padding: .18rem .55rem; border-radius: 999px; border: 1px solid var(--border); background: var(--panel); font-size: 11px; letter-spacing: .04em; color: var(--muted); white-space: nowrap; }
.ov-chip.green  { color: var(--green);  border-color: rgba(114,240,207,.35); }
.ov-chip.violet { color: var(--violet); border-color: rgba(179,164,239,.35); }
.ov-chip.red    { color: var(--red);    border-color: rgba(228,105,95,.35); }
.ov-chip.amber  { color: #f0be5a;       border-color: rgba(240,190,90,.35); }
.ov-section { margin: 2.2rem 0 0; }
.ov-section > h2 { font-size: .7rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--green); margin: 0 0 .9rem; font-family: var(--font-sans); }
.ov-section > .ov-lede { color: var(--muted); font-size: .9rem; margin: -.4rem 0 1rem; max-width: 640px; line-height: 1.5; }
.ov-jump { display: flex; flex-wrap: wrap; gap: .4rem; margin: .5rem 0 1.5rem; }
.ov-jump a { font-family: var(--font-mono); font-size: 11.5px; color: var(--muted); text-decoration: none; padding: .2rem .5rem; border: 1px solid var(--border); border-radius: 6px; }
.ov-jump a:hover { color: var(--green); border-color: rgba(114,240,207,.35); }
.ov-strip { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1rem; border: var(--hairline); border-radius: var(--radius-lg); background: var(--card); padding: 1.1rem 1.3rem; }
.ov-strip > div > b { display: block; font-size: .68rem; letter-spacing: .16em; text-transform: uppercase; margin-bottom: .3rem; }
.ov-strip > div > span { font-size: 13px; color: var(--muted); line-height: 1.5; }
.ov-strip .blk b { color: var(--red); }
.ov-strip .ok  b { color: var(--green); }
.ov-line { font-size: 13px; color: var(--muted); margin: .6rem 0; line-height: 1.5; }
.ov-line a { color: var(--fg); }
.ov-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap; margin-bottom: 1.6rem; }
.ov-head h1 { font-family: var(--font-display); font-weight: 500; font-size: clamp(1.8rem, 3.2vw, 2.4rem); letter-spacing: -.01em; margin: 0 0 .35rem; }
.ov-head p { color: var(--muted); font-size: .95rem; margin: 0; max-width: 620px; line-height: 1.5; }
.ov-code { background: rgba(0,0,0,.35); border: var(--hairline); border-radius: var(--radius); padding: 12px 14px; overflow-x: auto; font-size: 12.5px; line-height: 1.5; margin: 0; }
.ov-code code { background: transparent; padding: 0; font-family: var(--font-mono); }

/* ── Help shell ──────────────────────────────────────────────────────────── */
.hp { max-width: 1100px; margin: 0 auto; padding: 2.5rem clamp(1.25rem, 4vw, 2.5rem) 4rem; }
.hp-docnav { display: flex; flex-wrap: wrap; gap: .35rem; margin-bottom: 1.8rem; padding-bottom: 1rem; border-bottom: var(--hairline); }
.hp-docnav a { font-size: 12.5px; color: var(--muted); text-decoration: none; padding: .3rem .7rem; border-radius: 999px; border: 1px solid transparent; }
.hp-docnav a:hover { color: var(--white); border-color: var(--border); }
.hp-docnav a.current { color: var(--green); border-color: rgba(114,240,207,.35); background: rgba(114,240,207,.06); }
.hp-article { max-width: 820px; }
.hp-article.hp-wide { max-width: none; }
.hp-article h1 { font-family: var(--font-display); font-weight: 500; font-size: clamp(1.8rem, 3.2vw, 2.4rem); letter-spacing: -.01em; margin: 0 0 .6rem; }
.hp-article h2 { font-size: 1.15rem; margin: 2rem 0 .6rem; }
.hp-article h3 { font-size: 1rem; margin: 1.5rem 0 .5rem; }
.hp-article h4 { font-size: .95rem; margin: 1.3rem 0 .4rem; font-family: var(--font-mono); color: var(--green); scroll-margin-top: 84px; }
.hp-article h4 code { background: transparent; padding: 0; color: inherit; }
.hp-article p, .hp-article li { line-height: 1.65; color: var(--fg); }
.hp-article code { font-family: var(--font-mono); font-size: .88em; background: rgba(244,244,238,.06); padding: 1px 6px; border-radius: 4px; }
.hp-article pre { background: rgba(0,0,0,.35); border: var(--hairline); border-radius: var(--radius); padding: 14px 16px; overflow-x: auto; font-size: 13px; line-height: 1.5; }
.hp-article pre code { background: transparent; padding: 0; }
.hp-article blockquote { border-left: 3px solid var(--green); margin: 18px 0; padding: 8px 16px; background: rgba(114,240,207,.06); border-radius: 0 8px 8px 0; }
.hp-article table { border-collapse: collapse; margin: 18px 0; width: 100%; font-size: 14px; }
.hp-article th, .hp-article td { border: var(--hairline); padding: 8px 12px; text-align: left; }
.hp-article a { color: var(--green); }
.ov-card-desc.clamp { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.ov-installed { display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; margin: 0 0 1.4rem; }
.ov-installed .ov-chip { padding-right: .3rem; }
.ov-installed .ov-chip form { display: inline; margin: 0 0 0 .2rem; }
.ov-installed .ov-chip button { background: none; border: 0; color: inherit; cursor: pointer; font: inherit; opacity: .6; padding: 0 .25rem; }
.ov-installed .ov-chip button:hover { opacity: 1; color: var(--red); }
.ov-btn { display: inline-flex; align-items: center; gap: .4rem; padding: .45rem .9rem; border-radius: 8px; border: 1px solid var(--border); background: var(--panel); color: var(--white); font: inherit; font-size: 13px; cursor: pointer; text-decoration: none; }
.ov-btn:hover { border-color: rgba(244,244,238,.28); }
.ov-btn.primary { background: var(--green); border-color: var(--green); color: var(--ink); font-weight: 600; }
.ov-btn.primary:hover { filter: brightness(1.05); }
.ov-btn[disabled] { opacity: .55; cursor: default; }
.ov-btn.link { border-color: transparent; background: none; color: var(--muted); padding-left: .3rem; padding-right: .3rem; }
.ov-btn.link:hover { color: var(--white); }
