.assembly-library { --a-ink:#2c182d; --a-muted:#5e4759; --a-line:#e2d5dd; --a-accent:#6a2c5f; color:var(--a-ink); padding-bottom:clamp(35px,6vw,80px); }
.assembly-crumb { display:flex; gap:9px; align-items:center; min-height:42px; margin-block:12px; font-size:13px; font-weight:650; color:var(--a-muted); }
.assembly-crumb a { text-decoration:underline; text-underline-offset:3px; }
.assembly-intro { display:grid; grid-template-columns:minmax(0,1.8fr) minmax(0,1fr); align-items:center; gap:18px; background:radial-gradient(ellipse at 98% 20%,#65335f,#40233e 40%,#2c182c 82%); color:#fff9f5; border-radius:20px; padding:clamp(24px,4vw,55px); }
.assembly-intro h1 { font-size:clamp(42px,5.25vw,82px); line-height:.97; letter-spacing:-.043em; overflow-wrap:anywhere; hyphens:auto; margin:12px 0 15px; }
.as-cap { display:flex; align-items:center; gap:8px; padding:0; color:#f3cce9; font-size:12px; font-weight:800; letter-spacing:.12em; text-transform:uppercase; }
.as-cap i { width:8px; height:8px; background:#eebbe5; border-radius:9px; flex:none; }
.as-lead { color:#f4e3ef; font-size:clamp(16px,1.5vw,20px); line-height:1.45; max-width:42ch; }
.as-trace { width:100%; max-height:172px; stroke:#e7afd7; stroke-width:1.3; stroke-linecap:round; }
.as-trace .as-dashed { stroke-dasharray:3 5; opacity:.65; }
.as-library-body { margin-top:clamp(26px,4vw,50px); }
.assembly-library .as-section-label { font:800 13px/1.35 var(--bodyfont,system-ui); letter-spacing:.12em; text-transform:uppercase; padding-bottom:12px; color:var(--a-muted); }
.as-manual { display:grid; grid-template-columns:minmax(0,1.04fr) minmax(0,.96fr); align-items:stretch; border:1px solid var(--a-line); border-radius:17px; overflow:hidden; background:#fffdfa; }
.as-details { padding:clamp(20px,3.8vw,48px); }
.as-family { color:var(--a-accent); letter-spacing:.09em; }
.as-family .ico { width:17px; height:17px; flex:none; }
.as-details h3 { font-size:clamp(30px,3.4vw,49px); line-height:1.05; letter-spacing:-.028em; margin:8px 0; hyphens:auto; }
.as-variant { display:inline-block; padding:4px 8px; border-radius:5px; background:#f0e2ec; color:#623050; font-weight:800; font-size:13px; line-height:1.45; }
.as-match { font-size:16px; max-width:46ch; color:var(--a-muted); line-height:1.46; margin:12px 0 14px; }
.as-file, .as-languages, .as-language-note { font-size:13px; font-weight:700; color:var(--a-muted); }
.as-file { font-variant-numeric:tabular-nums; margin-bottom:5px; }
.as-languages { display:flex; flex-wrap:wrap; align-items:center; gap:5px; }
.as-languages strong { margin-right:3px; }
.as-languages span { border:1px solid var(--a-line); padding:2px 6px; border-radius:4px; background:#fff; }
.as-language-note { font-weight:550; margin-top:6px; }
.as-actions { display:flex; flex-wrap:wrap; gap:8px; margin-top:19px; }
.assembly-library .as-actions .button { min-height:46px; gap:8px; padding:8px 12px; border-radius:8px; font-size:14px; font-weight:800; border:1px solid #6a2c5f; white-space:normal; }
.as-actions .ico { height:17px; width:17px; flex:none; }
.assembly-library .as-actions .as-pdf { background:#68345e; color:#fff; }
.assembly-library .as-pdf:hover { background:#492344; color:#fff; }
.assembly-library .as-actions .as-download { background:#fffdfb; color:#623050; }
.assembly-library .as-download:hover { background:#f0e2ec; }
.assembly-library a:focus-visible { outline:2px solid #7d3b73; outline-offset:3px; }
.as-document { display:grid; background:repeating-linear-gradient(45deg,#f3ebf2 0 12px,#f6eff5 12px 24px); align-content:center; justify-items:center; padding:clamp(19px,3vw,42px); min-width:0; margin:0; }
.as-document img { display:block; width:100%; height:auto; border:1px solid #d5c6d1; box-shadow:0 12px 27px #3b223426; border-radius:3px; }
.as-document figcaption { font-size:12px; font-weight:650; color:var(--a-muted); margin:9px 0 0; letter-spacing:0; text-transform:none; }
.as-help { display:flex; justify-content:space-between; align-items:center; gap:16px 27px; padding:clamp(16px,3vw,32px); margin-top:clamp(18px,3vw,32px); border-radius:14px; background:#f4eae7; }
.as-help h2 { font-size:clamp(23px,2.4vw,33px); letter-spacing:-.02em; }
.as-help p { color:var(--a-muted); margin-top:7px; max-width:52ch; }
.as-help .line-link { align-self:center; min-height:44px; flex:none; }
@media (max-width:730px) {
  .assembly-intro { grid-template-columns:minmax(0,1fr); gap:8px; }
  .assembly-intro h1 { font-size:clamp(33px,10.3vw,58px); margin:8px 0 11px; }
  html[lang=de] .assembly-intro h1 { font-size:clamp(25px,8.35vw,44px); }
  .as-trace { width:140px; max-height:64px; margin-top:4px; }
  .as-manual { grid-template-columns:minmax(0,1fr); }
  .as-document { display:none; }
  .as-help { align-items:start; flex-direction:column; gap:5px; }
  .as-help .line-link { align-self:start; }
}
@media (max-width:360px) { .assembly-intro { padding:19px; } .as-details { padding:16px; } }

/* Shared document stage for the PDF cover and the official video still. */
.as-manual + .as-manual { margin-top:14px; }
.as-library-body[id] { scroll-margin-top:106px; }
.as-manual .as-document > img, .as-video-preview { width:100%; max-width:415px; aspect-ratio:900/637; }
.as-manual .as-document > img { object-fit:contain; background:#fff; }
.as-video-preview { display:block; position:relative; border-radius:3px; box-shadow:0 12px 27px #3b223426; }
.as-video-preview img { width:100%; height:100%; object-fit:cover; }
.as-play { position:absolute; right:10px; bottom:10px; width:49px; height:49px; border-radius:50%; display:grid; place-items:center; background:#54294f; border:1px solid #fff9f5; color:#fff9f5; pointer-events:none; }
.as-video-preview:hover .as-play, .as-video-preview:focus-visible .as-play { background:#3a1836; }
@media (max-width:730px) {
  .as-manual .as-document { display:grid; border-top:1px solid var(--a-line); padding:15px 20px; }
  .as-manual .as-document > img, .as-video-preview { max-width:360px; }
  .assembly-intro .as-trace { display:none; }
}
