/*
 * VoltEdge Component Library — page styles.
 * Self-contained tokens so component pages render correctly even if the
 * active theme is not VoltEdge. When the VoltEdge theme is active these values
 * align with its instrument-panel palette.
 */
.vecl-main {
  --vecl-bg: #ffffff;
  --vecl-ink: #1c2530;
  --vecl-muted: #5b6776;
  --vecl-panel: #ffffff;
  --vecl-panel-2: #f1f4f8;
  --vecl-line: #e2e8f0;
  --vecl-trace: #0d9488;
  --vecl-live: #d97706;
  --vecl-radius: 8px;
  --vecl-radius-lg: 14px;
  --vecl-mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  background: var(--vecl-bg);
  color: var(--vecl-ink);
  padding: 32px 0 64px;
}
.vecl-wrap { max-width: 1080px; margin: 0 auto; padding: 0 22px; }

.vecl-breadcrumb { font-family: var(--vecl-mono); font-size: .8rem; color: var(--vecl-muted); margin-bottom: 26px; }
.vecl-breadcrumb a { color: var(--vecl-muted); text-decoration: none; }
.vecl-breadcrumb a:hover { color: var(--vecl-trace); }
.vecl-breadcrumb .sep { opacity: .5; margin: 0 2px; }
.vecl-breadcrumb [aria-current] { color: var(--vecl-ink); }

.vecl-head { display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; padding-bottom: 36px; border-bottom: 1px solid var(--vecl-line); }
@media (max-width: 820px) { .vecl-head { grid-template-columns: 1fr; } }
.vecl-head .eyebrow { font-family: var(--vecl-mono); color: var(--vecl-trace); font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; margin: 0 0 8px; }
.vecl-head h1 { font-size: clamp(1.7rem, 3vw, 2.4rem); line-height: 1.15; margin: 0; }
.vecl-head .lead { color: var(--vecl-muted); font-size: 1.05rem; margin-top: 16px; }
.vecl-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }

.vecl-btn { display: inline-flex; align-items: center; gap: 8px; padding: 12px 22px; border-radius: var(--vecl-radius); font-weight: 600; cursor: pointer; border: 1px solid transparent; font-size: .96rem; text-decoration: none; }
.vecl-btn-primary { background: var(--vecl-trace); color: #ffffff; }
.vecl-btn-primary:hover { background: #0f766e; color: #ffffff; }
.vecl-btn-ghost { background: transparent; border-color: var(--vecl-line); color: var(--vecl-ink); }
.vecl-btn-ghost:hover { border-color: var(--vecl-trace); color: var(--vecl-trace); }

.vecl-img { border: 1px solid var(--vecl-line); border-radius: var(--vecl-radius-lg); overflow: hidden; margin-bottom: 16px; background: var(--vecl-panel); }
.vecl-img img { display: block; width: 100%; height: auto; }

.vecl-spec-panel { background: var(--vecl-panel); border: 1px solid var(--vecl-line); border-radius: var(--vecl-radius-lg); overflow: hidden; }
.vecl-spec-panel .head { background: var(--vecl-panel-2); padding: 12px 18px; font-family: var(--vecl-mono); font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; color: var(--vecl-trace); border-bottom: 1px solid var(--vecl-line); }
.vecl-spec-row { display: flex; justify-content: space-between; gap: 16px; padding: 11px 18px; border-bottom: 1px solid var(--vecl-line); font-size: .9rem; }
.vecl-spec-row:last-child { border-bottom: none; }
.vecl-spec-row .k { color: var(--vecl-muted); }
.vecl-spec-row .v { font-family: var(--vecl-mono); color: var(--vecl-ink); text-align: right; }

.vecl-body { padding-top: 32px; }
.vecl-prose { max-width: 72ch; }
.vecl-prose h2 { margin-top: 1.6em; font-size: 1.35rem; }
.vecl-prose p { color: var(--vecl-ink); line-height: 1.7; }
.vecl-prose table { width: 100%; border-collapse: collapse; margin: 1.2em 0; font-size: .9rem; }
.vecl-prose th, .vecl-prose td { border: 1px solid var(--vecl-line); padding: 9px 12px; text-align: left; }
.vecl-prose th { background: var(--vecl-panel-2); font-family: var(--vecl-mono); font-size: .78rem; text-transform: uppercase; letter-spacing: .05em; color: var(--vecl-trace); }
.vecl-prose td { font-family: var(--vecl-mono); font-size: .86rem; }

.vecl-anchors { background: var(--vecl-panel); border: 1px solid var(--vecl-line); border-left: 3px solid var(--vecl-live); border-radius: var(--vecl-radius); padding: 20px 22px; margin: 28px 0; }
.vecl-anchors .note { font-size: .82rem; color: var(--vecl-muted); font-style: italic; margin-top: 12px; }

.vecl-faq { margin: 18px 0 32px; }
.vecl-faq details { border: 1px solid var(--vecl-line); border-radius: var(--vecl-radius); margin-bottom: 10px; background: var(--vecl-panel); overflow: hidden; }
.vecl-faq summary { padding: 16px 18px; cursor: pointer; font-weight: 600; color: var(--vecl-ink); list-style: none; display: flex; justify-content: space-between; align-items: center; }
.vecl-faq summary::-webkit-details-marker { display: none; }
.vecl-faq summary::after { content: "+"; font-family: var(--vecl-mono); color: var(--vecl-trace); font-size: 1.3rem; }
.vecl-faq details[open] summary::after { content: "\2212"; }
.vecl-faq .ans { padding: 0 18px 18px; color: var(--vecl-muted); line-height: 1.65; }

.vecl-sources { margin: 0 0 1em 1.2em; }
.vecl-sources a { color: var(--vecl-trace); }

.vecl-related { margin-top: 40px; padding-top: 28px; border-top: 1px solid var(--vecl-line); }
.vecl-related h2 { font-size: 1.3rem; margin-bottom: 16px; }
.vecl-chips { display: flex; flex-wrap: wrap; gap: 10px; }
.vecl-chip { display: inline-flex; align-items: center; gap: 6px; background: var(--vecl-panel); border: 1px solid var(--vecl-line); border-radius: 100px; padding: 7px 15px; font-size: .86rem; font-family: var(--vecl-mono); color: var(--vecl-ink); text-decoration: none; transition: all .15s ease; }
.vecl-chip:hover { border-color: var(--vecl-trace); color: var(--vecl-trace); }
.vecl-chip-strong { background: var(--vecl-panel-2); border-color: var(--vecl-trace); color: var(--vecl-trace); }

@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }

/* Light-theme elevation: panels read as raised on a white page. */
.vecl-img,
.vecl-spec-panel,
.vecl-faq details { box-shadow: 0 1px 2px rgba(15,23,34,.04); }
.vecl-main { background: #ffffff; }

/* Product image placed directly under the H1 (full width of the main column). */
.vecl-img-hero { margin: 4px 0 18px; max-width: 460px; }
.vecl-img-hero img { width: 100%; height: auto; object-fit: contain; background: #fff; }
@media (max-width: 820px) { .vecl-img-hero { max-width: 100%; } }
