/* =========================================================================
   Diracor — Komponenten & Sektionen
   ========================================================================= */

/* ---- Navigation ---- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in oklch, var(--bg) 82%, transparent);
  backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s, background 0.3s;
}
.nav.scrolled { border-bottom-color: var(--line); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 11px; font-family: var(--font-display); font-weight: 700; font-size: 20px; letter-spacing: -0.02em; }
.brand .mark { width: 26px; height: 26px; display: inline-block; }
.nav-links { display: flex; align-items: center; gap: 30px; }
.nav-links a { font-size: 15px; color: var(--ink-2); font-weight: 500; transition: color 0.2s; }
.nav-links a:hover { color: var(--ink); }
.nav-cta { display: flex; align-items: center; gap: 14px; }
@media (max-width: 880px) { .nav-links { display: none; } }

/* ---- Hero ---- */
.hero { padding-top: clamp(48px, 8vh, 88px); padding-bottom: clamp(56px, 9vh, 104px); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.02fr 1.12fr; gap: clamp(28px, 4vw, 60px); align-items: center; }
@media (max-width: 940px) { .hero-grid { grid-template-columns: 1fr; gap: 36px; } }
.hero h1 { font-size: clamp(38px, 6vw, 68px); font-weight: 800; letter-spacing: -0.03em; }
.hero h1 .hl { color: var(--accent-strong); }
.hero .lead { font-size: clamp(18px, 2vw, 21px); margin-top: 24px; max-width: 46ch; }
.hero-cta { display: flex; gap: 14px; margin-top: 34px; flex-wrap: wrap; }
.hero-note { margin-top: 22px; display: flex; flex-wrap: wrap; gap: 10px 18px; align-items: center; }
.hero-note .mono { font-size: 12.5px; color: var(--ink-3); }

/* Org-chart visual frame */
.chart-frame {
  position: relative; background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-xl); padding: 18px; box-shadow: var(--shadow-lg);
}
.chart-frame::before {
  content: "ORGANIGRAMM · LIVE"; position: absolute; top: 16px; left: 22px;
  font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.16em; color: var(--ink-3);
}
html[data-lang="en"] .chart-frame::before { content: "ORG CHART · LIVE"; }
.chart-frame svg { width: 100%; height: auto; display: block; }

/* SVG org-chart node classes */
.node-box { fill: var(--surface); stroke: var(--line-2); stroke-width: 1.4; }
.node-ico { fill: var(--ink-3); }
.node-label { font-family: var(--font-body); font-size: 15px; font-weight: 600; fill: var(--ink); }
.node-sub { font-family: var(--font-mono); font-size: 10.5px; fill: var(--ink-3); letter-spacing: 0.02em; }

.n-human .node-box { stroke: var(--human); }
.n-human .node-ico { fill: var(--human); }
.n-agent .node-box { stroke: var(--agent); stroke-dasharray: 5 3.5; }
.n-agent .node-ico { fill: var(--agent); }
.n-anchor .node-box { fill: var(--accent-soft); stroke: var(--accent); stroke-width: 1.8; }
.n-anchor .node-ico { fill: var(--accent); }
.n-anchor .node-label { fill: var(--accent-strong); }
.n-unit .node-box { stroke: var(--line-2); }

.link { fill: none; stroke: var(--line-2); stroke-width: 1.6; }
.link.draw { stroke-dasharray: var(--len); stroke-dashoffset: var(--len); }

/* agent pulse ring */
.pulse { fill: none; stroke: var(--agent); stroke-width: 1.4; opacity: 0; transform-origin: center; transform-box: fill-box; }
.play .pulse { animation: pulsering 2.8s var(--ease) infinite; animation-delay: 1.6s; }
@keyframes pulsering { 0% { opacity: 0.5; transform: scale(0.8); } 70%,100% { opacity: 0; transform: scale(1.5); } }

/* staged growth */
.org-node { opacity: 0; transform: translateX(-10px) scale(0.96); transform-origin: left center; transform-box: fill-box; }
.play .org-node { animation: nodeIn 0.55s var(--ease) forwards; }
@keyframes nodeIn { to { opacity: 1; transform: none; } }
.play .link.draw { animation: drawline 0.6s var(--ease) forwards; }
@keyframes drawline { to { stroke-dashoffset: 0; } }

/* ---- generic node (HTML, for Menschen-Sektion legend) ---- */
.legend-row { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 26px; }
.legend-node {
  display: inline-flex; align-items: center; gap: 10px; padding: 9px 15px 9px 11px;
  border-radius: var(--r-md); background: var(--surface); border: 1.5px solid var(--line-2);
  font-size: 14.5px; font-weight: 600;
}
.legend-node .av { width: 18px; height: 18px; border-radius: 50%; }
.legend-node.human { border-color: var(--human); }
.legend-node.human .av { background: var(--human); }
.legend-node.agent { border-style: dashed; border-color: var(--agent); }
.legend-node.agent .av { background: var(--agent); }

/* ---- Layer / Schichten model ---- */
.layers { display: flex; flex-direction: column; gap: 9px; position: relative; }
.layer {
  display: grid; grid-template-columns: 52px 1fr auto; align-items: center; gap: 18px;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md);
  padding: 16px 20px; box-shadow: var(--shadow-sm);
  transition: transform 0.25s var(--ease), border-color 0.25s, box-shadow 0.25s;
}
.layer:hover { transform: translateX(6px); border-color: var(--accent-line); box-shadow: var(--shadow-md); }
.layer .lnum { font-family: var(--font-mono); font-size: 13px; color: var(--ink-3); font-weight: 500; }
.layer .ltitle { font-family: var(--font-display); font-weight: 600; font-size: 17px; }
.layer .ldesc { color: var(--ink-2); font-size: 14px; margin-top: 1px; }
.layer .lmeta { display: flex; gap: 8px; align-items: center; }
.layers-foot { display: flex; align-items: center; gap: 12px; margin-top: 18px; padding-left: 4px; }
.layers-foot .vline { width: 2px; height: 34px; background: linear-gradient(var(--accent), transparent); border-radius: 2px; }
.layers-foot .mono { font-size: 12px; color: var(--ink-3); }

/* ---- Feature columns ---- */
.cols { display: grid; gap: 22px; }
.cols-2 { grid-template-columns: 1fr 1fr; }
.cols-3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 860px) { .cols-2, .cols-3 { grid-template-columns: 1fr; } }
.split { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.split.rev { grid-template-columns: 1.1fr 1fr; }
@media (max-width: 940px) { .split, .split.rev { grid-template-columns: 1fr; gap: 36px; } }

.feat { display: flex; gap: 14px; align-items: flex-start; padding: 14px 0; border-top: 1px solid var(--line); }
.feat:first-child { border-top: none; }
.feat .fi { flex: none; width: 34px; height: 34px; border-radius: var(--r-sm); display: grid; place-items: center; background: var(--accent-soft); color: var(--accent-strong); }
.feat .fi svg { width: 18px; height: 18px; }
.feat h4 { font-size: 16.5px; font-weight: 600; }
.feat p { color: var(--ink-2); font-size: 14.5px; margin-top: 3px; }

/* ---- Chat mock ---- */
.chat {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-xl);
  box-shadow: var(--shadow-lg); overflow: hidden;
}
.chat-bar { display: flex; align-items: center; gap: 10px; padding: 14px 18px; border-bottom: 1px solid var(--line); background: var(--surface-2); }
.chat-bar .ttl { font-family: var(--font-display); font-weight: 600; font-size: 15px; }
.chat-bar .src { margin-left: auto; font-family: var(--font-mono); font-size: 11px; color: var(--ink-3); }
.chat-body { padding: 20px; display: flex; flex-direction: column; gap: 14px; }
.bubble { max-width: 80%; padding: 13px 16px; border-radius: 16px; font-size: 14.5px; line-height: 1.5; }
.bubble .who { font-size: 11px; font-family: var(--font-mono); letter-spacing: 0.04em; margin-bottom: 4px; opacity: 0.8; }
.bubble.human { align-self: flex-start; background: var(--human-soft); border: 1.5px solid color-mix(in oklch, var(--human) 40%, var(--line)); border-bottom-left-radius: 5px; }
.bubble.human .who { color: color-mix(in oklch, var(--human) 60%, var(--ink)); }
.bubble.agent { align-self: flex-end; background: var(--agent-soft); border: 1.5px dashed color-mix(in oklch, var(--agent) 50%, var(--line)); border-bottom-right-radius: 5px; }
.bubble.agent .who { color: color-mix(in oklch, var(--agent) 60%, var(--ink)); }
.bubble .men { color: var(--accent-strong); font-weight: 600; }
.chat-task { display: flex; align-items: center; gap: 11px; align-self: stretch; margin-top: 2px; padding: 11px 14px; border: 1px solid var(--accent-line); background: var(--accent-soft); border-radius: var(--r-md); font-size: 13.5px; }
.chat-task .tg { font-family: var(--font-mono); font-size: 11px; color: var(--accent-strong); }

/* ---- Strategy chain + Kanban ---- */
.goalchain { display: flex; flex-direction: column; gap: 8px; }
.goalstep { position: relative; padding: 13px 18px; border-radius: var(--r-md); border: 1px solid var(--line); background: var(--surface); box-shadow: var(--shadow-sm); }
.goalstep .gk { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.12em; color: var(--ink-3); text-transform: uppercase; }
.goalstep .gv { font-weight: 600; font-size: 15.5px; font-family: var(--font-display); }
.goalstep.is-accent { border-color: var(--accent); background: var(--accent-soft); }
.goalstep.is-accent .gv { color: var(--accent-strong); }
.goalchain .thread { width: 2px; height: 10px; background: var(--accent); margin-left: 26px; }

.kanban { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
@media (max-width: 620px) { .kanban { grid-template-columns: repeat(2, 1fr); } }
.kcol { background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--r-md); padding: 11px; min-height: 130px; }
.kcol .kh { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.06em; color: var(--ink-3); text-transform: uppercase; margin-bottom: 10px; display: flex; justify-content: space-between; }
.kcard { background: var(--surface); border: 1px solid var(--line-2); border-radius: var(--r-sm); padding: 10px 11px; font-size: 13px; box-shadow: var(--shadow-sm); margin-bottom: 8px; }
.kcard .kt { font-weight: 600; }
.kcard .kmeta { display: flex; align-items: center; gap: 6px; margin-top: 7px; font-family: var(--font-mono); font-size: 10.5px; color: var(--ink-3); }
.kcard .stat { width: 8px; height: 8px; border-radius: 50%; }
.kcard.blocked { border-left: 3px solid var(--block); }
.kcard.blocked .stat { background: var(--block); }
.kcard.doing { border-left: 3px solid var(--active); }
.kcard.doing .stat { background: var(--active); animation: blink 1.8s ease-in-out infinite; }
.kcard.done { border-left: 3px solid var(--done); opacity: 0.82; }
.kcard.done .stat { background: var(--done); }
@keyframes blink { 0%,100% { opacity: 1; } 50% { opacity: 0.35; } }

/* ---- Control plane / sidecar ---- */
.runtime { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 14px; }
@media (max-width: 720px) { .runtime { grid-template-columns: 1fr; } }
.rt-block { border: 1.6px solid var(--line-2); border-radius: var(--r-lg); padding: 22px; background: var(--surface); box-shadow: var(--shadow-md); position: relative; }
.rt-block.control { border-color: var(--accent); background: var(--accent-soft); }
.rt-block .rk { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-3); }
.rt-block .rt-t { font-family: var(--font-display); font-weight: 700; font-size: 19px; margin-top: 6px; }
.rt-block.control .rt-t { color: var(--accent-strong); }
.rt-block .rt-d { font-size: 13.5px; color: var(--ink-2); margin-top: 6px; }
.rt-wires { display: flex; flex-direction: column; gap: 7px; padding: 8px 6px; }
.rt-wire { font-family: var(--font-mono); font-size: 11px; color: var(--ink-3); display: flex; align-items: center; gap: 7px; white-space: nowrap; }
.rt-wire .ln { flex: 1; height: 1px; background: repeating-linear-gradient(90deg, var(--line-2) 0 5px, transparent 5px 9px); }
.rt-wire .ar { color: var(--accent); }
@media (max-width: 720px) { .rt-wire .ln { min-width: 40px; } }
.heart { display: inline-flex; align-items: center; gap: 7px; margin-top: 14px; font-family: var(--font-mono); font-size: 11.5px; color: var(--accent-strong); }
.heart .hb { width: 9px; height: 9px; border-radius: 50%; background: var(--accent); animation: blink 1.4s ease-in-out infinite; }

/* ---- Governance gate + Budget gauge ---- */
.govgate { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.gate-flow { display: flex; align-items: center; gap: 10px; font-size: 13px; font-family: var(--font-mono); color: var(--ink-2); }
.gate-pill { padding: 6px 12px; border-radius: var(--r-pill); border: 1px solid var(--line-2); background: var(--surface); }
.gate-pill.warn { background: var(--warn-soft); border-color: color-mix(in oklch, var(--warn) 45%, var(--line)); color: color-mix(in oklch, var(--warn) 40%, var(--ink)); }
.gate-pill.ok { background: var(--done-soft); border-color: color-mix(in oklch, var(--done) 40%, var(--line)); color: color-mix(in oklch, var(--done) 55%, var(--ink)); }
.gauge-wrap { text-align: center; }
.gauge-val { font-family: var(--font-mono); font-weight: 600; font-size: 15px; margin-top: 4px; }
.gauge-val .lim { color: var(--ink-3); }
.bars { display: flex; flex-direction: column; gap: 9px; }
.bar-row { display: grid; grid-template-columns: 96px 1fr 56px; gap: 10px; align-items: center; font-size: 13px; }
.bar-row .bn { font-weight: 500; }
.bar-track { height: 8px; background: var(--bg-2); border-radius: 4px; overflow: hidden; border: 1px solid var(--line); }
.bar-fill { height: 100%; border-radius: 4px; background: var(--accent); }
.bar-row .bv { font-family: var(--font-mono); font-size: 12px; color: var(--ink-3); text-align: right; }
.audit { margin-top: 18px; border-top: 1px dashed var(--line-2); padding-top: 14px; display: flex; flex-direction: column; gap: 7px; }
.audit .ev { display: flex; gap: 10px; font-family: var(--font-mono); font-size: 11.5px; color: var(--ink-3); }
.audit .ev .tm { color: var(--ink-2); }

/* ---- Plans ---- */
.plans { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
@media (max-width: 860px) { .plans { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .plans { grid-template-columns: 1fr; } }
.plan { border: 1px solid var(--line); background: var(--surface); border-radius: var(--r-lg); padding: 22px; box-shadow: var(--shadow-sm); position: relative; transition: transform 0.25s var(--ease), box-shadow 0.25s, border-color 0.25s; }
.plan:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.plan.feature { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent), var(--shadow-md); }
.plan .pn { font-family: var(--font-display); font-weight: 700; font-size: 19px; }
.plan .pp { font-family: var(--font-mono); font-size: 13px; color: var(--ink-3); margin-top: 4px; }
.plan .pu { font-size: 34px; font-weight: 800; font-family: var(--font-display); margin-top: 16px; letter-spacing: -0.03em; }
.plan .pu small { font-size: 14px; font-weight: 500; color: var(--ink-3); font-family: var(--font-body); }
.plan .pmeta { font-size: 13px; color: var(--ink-2); margin-top: 4px; }
.plan .units { display: flex; gap: 4px; margin-top: 16px; flex-wrap: wrap; }
.plan .u { width: 12px; height: 12px; border-radius: 3px; background: var(--line-2); }
.plan .u.on { background: var(--accent); }
.plan .more { font-family: var(--font-mono); font-size: 11px; color: var(--ink-3); align-self: center; }

/* ---- Vision / Ausblick ghost tiles ---- */
.ghosts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 860px) { .ghosts { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .ghosts { grid-template-columns: 1fr; } }
.ghost {
  border: 1.5px dashed var(--line-2); border-radius: var(--r-lg); padding: 22px;
  background: color-mix(in oklch, var(--surface) 50%, transparent); opacity: 0.74;
  transition: opacity 0.3s, border-color 0.3s, transform 0.3s var(--ease);
}
.ghost:hover { opacity: 1; border-color: var(--accent-line); transform: translateY(-3px); }
.ghost--arbeit { border-style: solid; opacity: 0.9; background: color-mix(in oklch, var(--surface) 80%, transparent); }
.ghost .gtag { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-3); }
.ghost h4 { font-size: 18px; margin-top: 10px; }
.ghost p { font-size: 14px; color: var(--ink-2); margin-top: 6px; }

/* ---- CTA band ---- */
.ctaband { background: var(--accent); color: var(--on-accent); border-radius: var(--r-xl); padding: clamp(40px, 7vw, 76px); text-align: center; box-shadow: var(--shadow-lg); position: relative; overflow: hidden; }
.ctaband h2 { color: var(--on-accent); font-size: clamp(28px, 4vw, 46px); }
.ctaband p { color: color-mix(in oklch, var(--on-accent) 82%, var(--accent)); max-width: 52ch; margin: 16px auto 0; font-size: 18px; }
.ctaband .btn--primary { background: var(--on-accent); color: var(--accent-strong); margin-top: 30px; }
.ctaband .btn--primary:hover { background: color-mix(in oklch, var(--on-accent) 90%, var(--ink)); }

/* ---- Demo request / contact form ---- */
.demo-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(36px, 5vw, 72px); align-items: start; }
@media (max-width: 940px) { .demo-grid { grid-template-columns: 1fr; gap: 40px; } }
.demo-points { list-style: none; margin: 28px 0 0; padding: 0; display: flex; flex-direction: column; gap: 16px; }
.demo-points li { display: flex; gap: 13px; align-items: flex-start; color: var(--ink-2); font-size: 16px; line-height: 1.5; }
.demo-points .ck { flex: 0 0 22px; width: 22px; height: 22px; border-radius: 50%; background: var(--accent-soft); color: var(--accent-strong); display: grid; place-items: center; font-size: 12px; margin-top: 1px; }
.demo-points b { color: var(--ink); font-weight: 600; }
.demo-contact { margin-top: 30px; padding-top: 22px; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 7px; }
.demo-contact a { color: var(--accent-strong); font-weight: 500; }
.demo-contact .mono { color: var(--ink-3); font-size: 13px; }

.demo-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(28px, 3.4vw, 40px); box-shadow: var(--shadow-md); }
.dc-eyebrow { display: block; font-size: 11.5px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent-strong); }
.dc-lead { color: var(--ink-2); font-size: 16px; line-height: 1.55; margin-top: 12px; }
.dc-mail {
  display: flex; align-items: center; gap: 15px; margin-top: 24px; padding: 18px 20px;
  border: 1.5px solid var(--accent-line); border-radius: var(--r-md);
  background: var(--accent-soft); text-decoration: none;
  transition: border-color 0.2s var(--ease), background 0.2s var(--ease), transform 0.2s var(--ease);
}
.dc-mail:hover { border-color: var(--accent); background: color-mix(in oklch, var(--accent) 14%, var(--surface)); transform: translateY(-2px); }
.dc-mail-ic { flex: 0 0 40px; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--surface); border: 1px solid var(--accent-line); color: var(--accent-strong); }
.dc-mail-ic svg { width: 21px; height: 21px; }
.dc-mail-txt { display: flex; flex-direction: column; gap: 3px; min-width: 0; flex: 1; }
.dc-mail-addr { font-family: var(--font-display); font-weight: 600; font-size: clamp(17px, 1.9vw, 20px); color: var(--ink); letter-spacing: -0.015em; }
.dc-mail-hint { font-family: var(--font-mono); font-size: 11.5px; color: var(--ink-3); }
.dc-mail .arr { color: var(--accent-strong); font-size: 19px; transition: transform 0.2s var(--ease); }
.dc-mail:hover .arr { transform: translateX(4px); }
.dc-alt { margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px; font-size: 14px; }
.dc-alt .mono { color: var(--ink-3); font-size: 12.5px; }
.dc-alt a { color: var(--ink-2); text-decoration: underline; text-underline-offset: 2px; }
.dc-alt a:hover { color: var(--accent-strong); }

/* ---- Footer ---- */
.footer { padding-block: 54px; border-top: 1px solid var(--line); }
.foot-grid { display: flex; justify-content: space-between; gap: 30px; flex-wrap: wrap; align-items: flex-start; }
.foot-grid .mono { font-size: 12px; color: var(--ink-3); max-width: 40ch; line-height: 1.6; }
.foot-links { display: flex; gap: 26px; flex-wrap: wrap; }
.foot-links a { font-size: 14px; color: var(--ink-2); }
.foot-links a:hover { color: var(--accent-strong); }

/* ---- Tweaks mount safety ---- */
#tweaks-root:empty { display: none; }

/* ---- Orbit-Rad (zweiringig: Live-Kern + Plattform-Orbit) ---- */
.wheel-wrap { max-width: 660px; margin: 0 auto; }
.wheel-wrap svg { width: 100%; height: auto; display: block; overflow: visible; }
.seg { transform-origin: 300px 300px; transform-box: view-box; opacity: 0; transform: scale(0.86) rotate(-5deg); }
.spin .seg { animation: segIn 0.6s var(--ease) forwards; animation-delay: calc(var(--si) * 0.06s + 0.1s); }
@keyframes segIn { to { opacity: 1; transform: none; } }
.seg-fill { transition: filter 0.25s var(--ease); }
.seg:hover .seg-fill { filter: brightness(1.06) saturate(1.05); }
.seg-soon { transition: filter 0.25s var(--ease), stroke-width 0.25s; }
.seg:hover .seg-soon { stroke-width: 2; filter: none; }
.wheel-icon { fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.wheel-tag { font-family: var(--font-mono); font-size: 8px; font-weight: 500; letter-spacing: 0.1em; }
.wheel-name { font-family: var(--font-display); font-weight: 600; font-size: 12px; letter-spacing: -0.015em; }
.wheel-ilabel { font-family: var(--font-body); font-weight: 600; font-size: 11px; letter-spacing: -0.02em; }
.wheel-center { fill: var(--surface); stroke: var(--line-2); stroke-width: 1.4; }
.wheel-center-t { font-family: var(--font-display); font-weight: 700; font-size: 23px; fill: var(--ink); letter-spacing: -0.02em; }
.wheel-center-s { font-family: var(--font-mono); font-size: 9.5px; fill: var(--ink-3); letter-spacing: 0; }
@media (max-width: 560px) { .wheel-name, .wheel-ilabel { font-size: 15px; } .wheel-tag { font-size: 10px; } }

/* ---- Orbit-Rad: Explore-Layout (Rad + Detail-Panel) ---- */
.orbit-explore {
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.95fr);
  gap: clamp(24px, 4vw, 56px); align-items: center; max-width: 1040px; margin: 0 auto;
}
.orbit-explore .wheel-wrap { max-width: 560px; margin: 0; }
.seg-i { cursor: pointer; }
.seg-i:focus-visible { outline: none; }
.seg-i:focus-visible .seg-fill { stroke: var(--accent); stroke-width: 2.6; }
.wheel-wrap svg.has-active .seg-i:not(.is-active) { filter: opacity(0.34) saturate(0.7); transition: filter 0.3s var(--ease); }
.seg-i.is-active .seg-fill { filter: brightness(1.05) saturate(1.06); }
.seg-i.is-active .seg-soon { stroke-width: 2.4; filter: none; }

/* Detail-Panel */
.orbit-panel {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-lg); box-shadow: var(--shadow-sm);
  padding: 30px; min-height: 320px; display: flex; align-items: center;
}
.op-empty { text-align: center; margin: 0 auto; max-width: 30ch; color: var(--ink-3); }
.op-empty-mark { display: inline-flex; width: 46px; height: 46px; color: var(--accent); margin-bottom: 14px; }
.op-empty-mark svg { width: 100%; height: 100%; stroke-linecap: round; stroke-linejoin: round; }
.op-empty-t { font-family: var(--font-display); font-weight: 600; font-size: 19px; color: var(--ink); letter-spacing: -0.01em; }
.op-empty-d { font-size: 14.5px; line-height: 1.5; margin-top: 8px; }

.op-card { width: 100%; animation: opIn 0.34s var(--ease); }
@keyframes opIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.op-badge {
  display: inline-flex; align-items: center; font-family: var(--font-mono); font-size: 11px;
  font-weight: 500; letter-spacing: 0.12em; padding: 4px 10px; border-radius: var(--r-pill);
  border: 1px solid color-mix(in oklch, var(--c) 45%, var(--line)); color: var(--c);
  background: color-mix(in oklch, var(--c) 11%, var(--surface));
}
.op-title { font-family: var(--font-display); font-size: clamp(22px, 2.4vw, 27px); letter-spacing: -0.02em; margin-top: 16px; }
.op-desc { color: var(--ink-2); font-size: 15.5px; line-height: 1.58; margin-top: 12px; }
.op-bul { list-style: none; margin: 20px 0 0; padding: 0; display: flex; flex-direction: column; gap: 9px; }
.op-bul li { position: relative; padding-left: 22px; font-size: 14.5px; color: var(--ink); }
.op-bul li::before {
  content: ""; position: absolute; left: 2px; top: 7px; width: 8px; height: 8px;
  border-radius: 2px; background: var(--c);
}
.op-foot { display: flex; align-items: center; gap: 8px; margin-top: 22px; padding-top: 16px;
  border-top: 1px solid var(--line); font-size: 11.5px; letter-spacing: 0.06em; color: var(--ink-3); }
.op-foot-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--c); }

@media (max-width: 860px) {
  .orbit-explore { grid-template-columns: 1fr; gap: 28px; }
  .orbit-explore .wheel-wrap { max-width: 520px; margin: 0 auto; }
  .orbit-panel { min-height: 0; }
}

/* ---- SDD Spec-Panel ---- */
.spec { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow-md); overflow: hidden; }
.spec-bar { display: flex; align-items: center; gap: 9px; padding: 12px 16px; border-bottom: 1px solid var(--line); background: var(--surface-2); }
.spec-bar .fn { font-family: var(--font-mono); font-size: 12px; color: var(--ink-2); }
.spec-bar .badge { margin-left: auto; font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.1em; color: var(--accent-strong); background: var(--accent-soft); border: 1px solid var(--accent-line); border-radius: var(--r-pill); padding: 3px 9px; }
.spec-body { padding: 18px 20px; font-family: var(--font-mono); font-size: 13px; line-height: 1.85; overflow-x: auto; }
.spec-body .ln { white-space: pre; }
.spec-body .k { color: var(--accent-strong); }
.spec-body .s { color: color-mix(in oklch, var(--done) 64%, var(--ink)); }
.spec-body .c { color: var(--ink-3); }
.spec-body .ind { color: var(--ink-2); }
.derive { display: flex; flex-direction: column; gap: 10px; margin-top: 22px; }
.derive .dr { display: flex; align-items: center; gap: 12px; }
.derive .dr .ar { color: var(--accent); font-family: var(--font-mono); }
.derive .dr .chip { font-size: 13.5px; }
