:root {
  --accent: #000000;
  --accent-soft: #e4e4e4;
  --ink: #1f2124;
  --ink-2: #5b6066;
  --line: #dcdcd8;
  --bg: #f4f4f1;
  --panel: #ffffff;
  --chip: #f0f0ec;
  --radius: 10px;
  --panel-w: 420px;
  /* Hausschrift Foundry Sans: wird nur genutzt, wenn sie auf dem Gerät installiert ist (Desktop-Lizenz erlaubt kein Einbetten). Mit Web-Lizenz: @font-face + fonts/ ergänzen. */
  font-family: "Foundry Sans", "FoundrySans-Normal", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; background: var(--bg); color: var(--ink); }
body { display: flex; flex-direction: column; overflow: hidden; }
button { font: inherit; color: inherit; cursor: pointer; }

/* ---------- Kopfzeile ---------- */
.topbar {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 10px 16px; background: #fff; border-bottom: 1px solid var(--line);
  flex-wrap: wrap;
}
.brand { display: flex; align-items: center; gap: 12px; color: inherit; text-decoration: none; }
a.btn { color: inherit; text-decoration: none; display: inline-flex; align-items: center; }
[hidden] { display: none !important; }
.opts { display: flex; flex-wrap: wrap; border: 1px solid var(--line); border-radius: 8px; padding: 0 4px; }
.toggle.off { opacity: .35; cursor: not-allowed; }
.toggle.off input { pointer-events: none; }

/* ---------- Startseite & Variantenwahl ---------- */
.page { flex: 1; overflow-y: auto; }
.page-inner { max-width: 1040px; margin: 0 auto; padding: 32px 16px 48px; }
.page h1 { font-size: 28px; font-weight: 600; margin: 0 0 8px; letter-spacing: -.01em; }
.page .lead { color: var(--ink-2); margin: 0 0 24px; font-size: 15.5px; line-height: 1.5; max-width: 640px; }
.page .back { display: inline-block; text-decoration: none; margin-bottom: 18px; font-size: 14px; }
.tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
.tiles.variants { grid-template-columns: repeat(3, 1fr); }
.tile {
  display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: 12px;
  overflow: hidden; text-decoration: none; color: inherit; transition: border-color .15s, box-shadow .15s;
}
.tile:hover { border-color: #000; box-shadow: 0 4px 16px rgba(0,0,0,.08); }
.tile .art { background: #fafaf8; border-bottom: 1px solid var(--line); padding: 18px; display: grid; place-items: center; }
.tile .art svg { width: 100%; height: auto; max-height: 190px; }
.tile .cap { padding: 12px 16px 14px; }
.tile .cap b { font-size: 18px; display: block; letter-spacing: .02em; }
.tile .cap span { font-size: 13.5px; color: var(--ink-2); }
.mount-choice { display: flex; align-items: center; gap: 12px; margin: 0 0 20px; flex-wrap: wrap; font-size: 14px; color: var(--ink-2); }

/* Montageablauf-Liste */
.phase-title { font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: var(--ink-2); margin: 18px 0 8px; }
.phase-title:first-of-type { margin-top: 4px; }
.step-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 4px; }
.step-item {
  display: flex; gap: 12px; align-items: center; padding: 8px 10px; border: 1px solid transparent;
  border-radius: 8px; background: none; text-align: left; width: 100%; font-size: 14px;
}
.step-item:hover { border-color: var(--line); background: #fafafa; }
.step-item .num {
  flex-shrink: 0; width: 26px; height: 26px; border-radius: 50%; border: 1.5px solid #000;
  display: grid; place-items: center; font-size: 12px; font-weight: 700;
}
.step-item .opt { margin-left: auto; font-size: 11px; color: var(--ink-2); border: 1px solid var(--line); border-radius: 10px; padding: 1px 7px; white-space: nowrap; }
.config-line { font-size: 13px; color: var(--ink-2); margin: 0 0 6px; }
.logo { height: 20px; width: auto; display: block; }
.divider { width: 1px; height: 22px; background: var(--line); }
.product { font-weight: 600; letter-spacing: .04em; }
.product small { font-weight: 400; color: var(--ink-2); margin-left: 6px; letter-spacing: 0; }
.controls { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }

.seg { display: inline-flex; background: var(--chip); border-radius: 8px; padding: 3px; }
.seg button { border: 0; background: transparent; padding: 6px 12px; border-radius: 6px; font-size: 14px; }
.seg button.active { background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.12); font-weight: 600; }

.toggle { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; padding: 6px 8px; cursor: pointer; }
.toggle input { accent-color: var(--accent); width: 16px; height: 16px; }

.btn { border: 1px solid var(--line); background: #fff; border-radius: 8px; padding: 7px 12px; font-size: 14px; }
.btn:hover { border-color: #bdbdb8; }
.btn.primary { background: var(--accent); border-color: var(--accent); color: #fff; font-weight: 600; }
.btn.primary:hover { background: #333; border-color: #333; }
.btn.icon { width: 36px; height: 36px; padding: 0; font-size: 18px; line-height: 1; }
.btn:disabled { opacity: .4; cursor: default; }

/* ---------- Layout ---------- */
.layout { flex: 1; display: flex; min-height: 0; }
.stage { position: relative; flex: 1; min-width: 0; }
#c { display: block; width: 100%; height: 100%; touch-action: none; }
#hotspots { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.hint {
  position: absolute; left: 50%; bottom: 14px; transform: translateX(-50%);
  background: rgba(255,255,255,.92); border: 1px solid var(--line); border-radius: 20px;
  padding: 6px 14px; font-size: 12.5px; color: var(--ink-2); white-space: nowrap; pointer-events: none;
  transition: opacity .4s;
}

/* ---------- Hotspots ---------- */
/* Minimalistisch: kleiner Punkt + kleiner Buchstabe; die Klickfläche ist größer als der sichtbare Punkt */
.hs {
  position: absolute; left: 0; top: 0; pointer-events: auto;
  width: 24px; height: 24px; margin: -12px 0 0 -12px; padding: 0;
  background: none; border: 0; transition: opacity .2s;
}
.hs::before {
  content: ""; position: absolute; left: 50%; top: 50%; width: 8px; height: 8px; margin: -4px 0 0 -4px;
  border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 2px #fff;
  transition: transform .15s;
}
.hs .lbl {
  position: absolute; left: 17px; top: 50%; transform: translateY(-50%);
  font-size: 10.5px; font-weight: 600; color: var(--accent); letter-spacing: .02em;
  text-shadow: 0 0 3px #fff, 0 0 3px #fff, 0 0 3px #fff; white-space: nowrap; pointer-events: none;
}
.hs:hover { z-index: 5; }
.hs:hover::before { transform: scale(1.5); }
.hs.dim { opacity: .3; }
.hs.active { z-index: 6; }
.hs.active::before { transform: scale(1.4); box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--accent); }
.hs.optional::before { background: #7a7d82; }
.hs.optional .lbl { color: #5b6066; }

/* ---------- Seitenpanel ---------- */
.panel {
  width: var(--panel-w); flex-shrink: 0; background: var(--panel); border-left: 1px solid var(--line);
  display: flex; flex-direction: column; min-height: 0;
}
.sheet-handle { display: none; }
#panelBody { flex: 1; overflow-y: auto; display: flex; flex-direction: column; }

.tabs { display: flex; border-bottom: 1px solid var(--line); position: sticky; top: 0; background: #fff; z-index: 2; }
.tabs button { flex: 1; border: 0; background: none; padding: 13px 6px; font-size: 14px; color: var(--ink-2); border-bottom: 2px solid transparent; }
.tabs button.active { color: var(--ink); font-weight: 600; border-bottom-color: var(--accent); }

.pad { padding: 16px; }
.intro { font-size: 14px; color: var(--ink-2); margin: 0 0 12px; line-height: 1.45; }

.point-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.point {
  display: flex; gap: 12px; align-items: center; padding: 10px; border: 1px solid var(--line);
  border-radius: var(--radius); background: #fff; text-align: left; width: 100%;
}
.point:hover { border-color: var(--accent); background: #fafafa; }
.point.na { opacity: .55; }
.point .t { font-weight: 600; font-size: 14px; }
.point .s { font-size: 12.5px; color: var(--ink-2); margin-top: 2px; }
.point .pg { margin-left: auto; font-size: 12px; color: var(--ink-2); white-space: nowrap; }
.group-title { font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: var(--ink-2); margin: 16px 0 8px; }
.group-title:first-child { margin-top: 0; }

.badge {
  flex-shrink: 0; width: 30px; height: 30px; border-radius: 6px; background: var(--accent); color: #fff;
  font-weight: 700; display: grid; place-items: center; font-size: 14px;
}
.badge.lg { width: 40px; height: 40px; font-size: 18px; }
.badge.grey { background: #7a7d82; }

/* Detail */
.detail-head { padding: 14px 16px 12px; border-bottom: 1px solid var(--line); position: sticky; top: 0; background: #fff; z-index: 2; }
.back { border: 0; background: none; color: var(--ink-2); padding: 0; font-size: 13px; margin-bottom: 10px; }
.back:hover { color: var(--accent); }
.detail-title { display: flex; gap: 12px; align-items: center; }
.detail-title h2 { font-size: 17px; margin: 0; line-height: 1.25; }
.detail-title .meta { font-size: 12.5px; color: var(--ink-2); margin-top: 3px; }
.progress { height: 4px; background: var(--chip); border-radius: 2px; margin-top: 12px; overflow: hidden; }
.progress > div { height: 100%; background: var(--accent); transition: width .3s; }

.section { padding: 14px 16px 4px; }
.section h3 { font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: var(--ink-2); margin: 0 0 10px; font-weight: 600; }
.section h4 { font-size: 14px; margin: 14px 0 6px; }

/* Benötigte Teile: kleine Profilansicht (Seite 4–7) + Name + Artikelnummer */
.parts { display: flex; flex-direction: column; gap: 6px; }
.part-row {
  display: flex; align-items: center; gap: 12px; padding: 4px 10px 4px 4px; border-radius: 8px;
  background: #fff; border: 1px solid var(--line); text-align: left; width: 100%;
}
.part-row:hover { border-color: var(--accent); }
.part-row img { width: 150px; height: 70px; object-fit: contain; flex-shrink: 0; background: #fff; border-radius: 4px; }
.part-row .txt { flex: 1; min-width: 0; font-size: 13.5px; font-weight: 600; line-height: 1.3; }
.part-row small { display: block; color: var(--ink-2); font-size: 12px; font-weight: 400; font-family: ui-monospace, Menlo, monospace; }
.part-row .n { color: var(--accent); font-weight: 700; font-size: 12px; border: 1.5px solid var(--accent); border-radius: 4px; min-width: 24px; height: 22px; display: grid; place-items: center; padding: 0 4px; flex-shrink: 0; }

.steps { list-style: none; counter-reset: s; margin: 0; padding: 0; }
.steps li { counter-increment: s; position: relative; padding: 0 0 12px 38px; font-size: 14.5px; line-height: 1.5; }
.steps li::before {
  content: counter(s); position: absolute; left: 0; top: 0; width: 26px; height: 26px; border-radius: 50%;
  border: 2px solid var(--accent); color: var(--accent); font-weight: 700; font-size: 13px; display: grid; place-items: center;
}
.steps li:not(:last-child)::after { content: ""; position: absolute; left: 12px; top: 30px; bottom: 4px; width: 2px; background: var(--accent-soft); }
.steps b { color: var(--accent); }
.steps li { padding-bottom: 18px; }
.ws-figs { display: grid; grid-template-columns: 1fr; gap: 8px; margin-top: 10px; }
.ws-fig { padding: 10px; border: 1px solid var(--line); border-radius: 8px; background: #fff; cursor: zoom-in; display: grid; place-items: center; width: 100%; }
.ws-fig:hover { border-color: #000; }
.ws-fig > img { display: block; width: 100%; height: auto; max-height: 520px; object-fit: contain; }
.ws-cap { font-size: 12px; color: var(--ink-2); margin-top: 6px; }

.note { background: #f4f4f4; border-left: 3px solid #000; padding: 10px 12px; border-radius: 6px; font-size: 13.5px; line-height: 1.45; margin-bottom: 8px; }
.note.derived { background: #fff; border: 1px dashed #9a9a9a; border-left: 3px solid #9a9a9a; }

.figure { margin: 0 0 10px; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #fff; cursor: zoom-in; }
.figure img { display: block; width: 100%; height: auto; }
.figure figcaption { font-size: 12px; color: var(--ink-2); padding: 6px 10px; border-top: 1px solid var(--line); }

.tbl { width: 100%; border-collapse: collapse; font-size: 12.5px; margin: 4px 0; }
.tbl th, .tbl td { border: 1px solid var(--line); padding: 5px 6px; text-align: center; }
.tbl thead th { background: var(--chip); font-weight: 600; }
.tbl tbody th { text-align: left; font-weight: 500; background: #fafaf8; }
.small { font-size: 12px; color: var(--ink-2); line-height: 1.45; }

.guide-nav {
  position: sticky; bottom: 0; margin-top: auto; display: flex; gap: 8px; padding: 12px 16px;
  background: #fff; border-top: 1px solid var(--line);
}
.guide-nav .btn { flex: 1; padding: 10px; }

.parts-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.parts-grid button { border: 1px solid var(--line); border-radius: 8px; background: #fff; padding: 0; overflow: hidden; }
.parts-grid button:hover { border-color: var(--accent); }
.parts-grid img { width: 100%; display: block; }

.general { font-size: 14px; line-height: 1.5; }
.general h4 { margin: 16px 0 6px; font-size: 14px; }
.general h4:first-child { margin-top: 0; }
.general ul, .general ol { padding-left: 20px; margin: 0; }
.general li { margin-bottom: 4px; }

/* Lightbox */
.lightbox { position: fixed; inset: 0; background: rgba(20,20,20,.85); display: grid; place-items: center; z-index: 50; padding: 16px; }
.lightbox[hidden] { display: none; }

.lightbox .close { position: absolute; top: 14px; right: 14px; }

/* ---------- Mobil / Tablet hochkant ---------- */
@media (max-width: 860px) {
  .product small { display: none; }
  .topbar { padding: 8px 12px; }
  .layout { flex-direction: column; }
  .stage { flex: 1 1 auto; min-height: 0; }
  .panel {
    width: 100%; height: 46vh; border-left: 0; border-top: 1px solid var(--line);
    border-radius: 14px 14px 0 0; box-shadow: 0 -4px 16px rgba(0,0,0,.08); transition: height .25s;
  }
  .panel.collapsed { height: 64px; }
  .panel.expanded { height: 78vh; }
  .sheet-handle {
    display: flex; align-items: center; gap: 8px; padding: 6px 10px; flex-shrink: 0; cursor: grab;
    border-bottom: 1px solid var(--line); touch-action: none; user-select: none; background: #fff; border-radius: 14px 14px 0 0;
  }
  .sheet-handle:active { cursor: grabbing; }
  .sh-mid { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 4px; }
  .grip { width: 54px; height: 5px; background: #9a9a95; border-radius: 3px; }
  .sh-label { font-size: 11.5px; color: var(--ink-2); }
  .sh-btn { width: 38px; height: 30px; border: 1px solid var(--line); border-radius: 8px; background: #fff; font-size: 12px; color: #111; }
  .sh-btn:disabled { opacity: .3; }
  .hint { font-size: 11px; white-space: normal; text-align: center; width: calc(100% - 32px); bottom: 8px; }
  .hs { width: 32px; height: 32px; margin: -16px 0 0 -16px; }
  .hs .lbl { left: 21px; }
}
@media (max-width: 860px) {
  .tiles.variants { grid-template-columns: repeat(2, 1fr); }
  .page h1 { font-size: 22px; }
  .tile .art { padding: 10px; }
}
@media (max-width: 860px) {
  /* Kopfzeile kompakt: Optionen als wischbare Zeile */
  .topbar { gap: 8px; }
  .controls { width: 100%; flex-wrap: nowrap; }
  .opts { flex-wrap: nowrap; overflow-x: auto; flex: 1; min-width: 0; scrollbar-width: none; }
  .opts::-webkit-scrollbar { display: none; }
  .toggle { white-space: nowrap; font-size: 13px; padding: 6px; }
  #variantLink { display: none; }
  #guideBtn { flex: 0 0 auto; padding: 7px 10px; }
}
@media (max-width: 520px) {
  #guideBtn { font-size: 0; width: 36px; height: 36px; padding: 0; }
  #guideBtn::before { content: "▶"; font-size: 14px; }
  .tiles.variants { grid-template-columns: 1fr 1fr; gap: 10px; }
  .tile .cap { padding: 8px 10px 10px; }
  .tile .cap b { font-size: 16px; }
  .tile .cap span { font-size: 12px; }
}

/* ---------- Zeichnungen mit eigener Beschriftung ---------- */
.f-box { position: relative; margin: 0 auto; }
.f-box > img { display: block; width: 100%; height: 100%; }
.f-box svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.f-box line { stroke: #111; stroke-width: 1.6; vector-effect: non-scaling-stroke; }
.f-dot { position: absolute; width: 9px; height: 9px; margin: -4.5px 0 0 -4.5px; border-radius: 50%; background: #111; box-shadow: 0 0 0 2px #fff, 0 0 0 3px rgba(0,0,0,.25); }
.f-lbl {
  position: absolute; transform: translate(-50%, -50%); min-width: 26px; height: 26px; padding: 0 6px;
  border-radius: 13px; background: #111; border: 2px solid #fff; color: #fff;
  font-size: 13.5px; font-weight: 700; line-height: 22px; text-align: center; white-space: nowrap;
  box-shadow: 0 1px 5px rgba(0,0,0,.35); cursor: help; letter-spacing: .01em;
}
.f-lbl.word { border-radius: 6px; font-weight: 600; font-size: 12.5px; }
.f-note {
  position: absolute; transform-origin: 0 0; font-size: 11px; color: #333; white-space: nowrap;
  background: rgba(255,255,255,.88); padding: 1px 5px; border-radius: 3px; letter-spacing: .01em;
}
.f-mark {
  position: absolute; transform: translate(-50%, -50%); width: 22px; height: 22px; border-radius: 50%;
  display: grid; place-items: center; font-size: 12px; font-weight: 700; line-height: 1;
}
.f-mark.wrong { background: #111; color: #fff; }
.f-mark.right { background: #fff; color: #111; border: 1.5px solid #111; }
.f-notes { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 4px; }
.f-notes li { position: relative; padding-left: 22px; font-size: 12.5px; line-height: 1.4; color: #333; text-align: left; }
.f-notes li::before {
  content: "i"; position: absolute; left: 0; top: 1px; width: 15px; height: 15px; border-radius: 50%;
  border: 1.2px solid #333; font-size: 10px; font-weight: 700; display: grid; place-items: center; font-style: normal;
}
.lb-inner { background: #fff; border-radius: 8px; padding: 20px 24px; width: min(1100px, 100%); max-height: 100%; overflow: auto; }
.lb-inner > img { display: block; max-width: 100%; max-height: 82vh; margin: 0 auto; }
.lb-inner .f-lbl { min-width: 32px; height: 32px; font-size: 16px; line-height: 28px; border-radius: 16px; }
.lb-inner .f-dot { width: 11px; height: 11px; margin: -5.5px 0 0 -5.5px; }
.lb-inner .f-note { font-size: 13px; }

/* Abbildungen nebeneinander, klein, mit Hinweis, Spalten-Raster */
.ws-figs.row { display: grid; gap: 8px; align-items: stretch; }
.ws-figs.row > div { min-width: 0; display: flex; }
.ws-figs.row .ws-fig { height: 100%; }
.ws-fig.sm { max-width: 340px; margin: 0 auto; }
.ws-info { display: block; margin-top: 8px; font-size: 12px; line-height: 1.4; color: var(--ink-2); text-align: left; border-top: 1px solid var(--line); padding-top: 6px; }
.ws-info::before { content: "i"; display: inline-grid; place-items: center; width: 14px; height: 14px; border: 1.2px solid var(--ink-2); border-radius: 50%; font-size: 9px; font-weight: 700; margin-right: 6px; vertical-align: 1px; }
.ws-cols { display: grid; gap: 6px; cursor: default; }
.ws-col { display: flex; flex-direction: column; align-items: center; justify-content: space-between; gap: 10px; min-width: 0; }
.ws-sub { border: 0; background: none; padding: 0; cursor: zoom-in; width: 100%; display: grid; place-items: center; }

/* Sprache */
.start-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.lang-switch { display: inline-flex; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; flex-shrink: 0; margin-left: auto; }
.topbar .controls:not([hidden]) + .lang-switch { margin-left: 0; }
.lang-switch button { border: 0; background: #fff; padding: 6px 9px; font-size: 12.5px; font-weight: 600; color: var(--ink-2); }
.lang-switch button.active { background: #111; color: #fff; }
@media (max-width: 860px) {
  /* Sprache rechts in der Zeile mit dem Logo, Bedienleiste darunter */
  .topbar .brand { order: 1; }
  .topbar .lang-switch { order: 2; margin-left: auto; }
  .topbar .controls { order: 3; }
}
@media (min-width: 861px) {
  .topbar { flex-wrap: nowrap; }
  .topbar .controls { margin-left: auto; min-width: 0; }
  .topbar .lang-switch { margin-left: 4px; }
}
.product { white-space: nowrap; }
.wordmark { font-weight: 800; letter-spacing: .14em; font-size: 17px; }

/* ---------- Marke CRL (FALLBROOK): CI-Blau aus dem CRL-Logo ---------- */
html[data-brand="crl"] {
  --accent: #00b1eb;        /* CRL-Blau */
  --accent-soft: #c4ebfa;
  --accent-text: #007fab;   /* dunkleres CRL-Blau für Text auf Weiß (lesbar) */
}
html[data-brand="crl"] .logo { height: 22px; }
html[data-brand="crl"] .tile:hover,
html[data-brand="crl"] .ws-fig:hover { border-color: var(--accent); box-shadow: 0 4px 16px rgba(0,177,235,.15); }
html[data-brand="crl"] .step-item .num { border-color: var(--accent); color: var(--ink); }
html[data-brand="crl"] .note { border-left-color: var(--accent); background: #eef9fe; }
html[data-brand="crl"] .lang-switch button.active { background: var(--accent); }
html[data-brand="crl"] .back:hover { color: var(--accent-text); }
/* Zahlen schwarz, nur der Kreis bzw. Rahmen in CRL-Blau */
html[data-brand="crl"] .hs .lbl,
html[data-brand="crl"] .part-row .n,
html[data-brand="crl"] .steps li::before,
html[data-brand="crl"] .steps b { color: var(--ink); }
html[data-brand="crl"] .badge:not(.grey) { background: #fff; color: var(--ink); border: 2px solid var(--accent); }
html[data-brand="crl"] .f-lbl,
html[data-brand="crl"] .f-dot { background: var(--accent); }
html[data-brand="crl"] .f-box line { stroke: var(--accent-text); }

/* Hilfsmittel im Hinweis (z. B. Glasreiniger, Vinylroller) */
.note-tools { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.note-tool { display: flex; align-items: center; gap: 8px; background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 4px 10px 4px 4px; text-align: left; }
.note-tool:hover { border-color: var(--accent); }
.note-tool img { width: 48px; height: 48px; object-fit: contain; flex-shrink: 0; }
.note-tool b { display: block; font-size: 13px; }
.note-tool small { display: block; font-size: 12px; color: var(--ink-2); font-family: ui-monospace, Menlo, monospace; }
/* Überschriften in Zeichnungen (z. B. A12, B12 bei den Hammerkopfmuttern) */
.f-note.head { font-size: 15px; font-weight: 700; color: #111; background: none; }
.part-row .opt-tag { font-style: normal; font-weight: 500; font-size: 11px; color: var(--ink-2); border: 1px solid var(--line); border-radius: 10px; padding: 0 6px; margin-left: 4px; white-space: nowrap; }
.part-row .no-img { width: 150px; height: 70px; flex-shrink: 0; border-radius: 4px; background: var(--chip); }
