.davst{font-family:inherit;color:#292929}.davst-title{font-size:clamp(28px,3.4vw,38px)!important;font-weight:800!important;line-height:1.15!important;margin:0 0 18px!important}.davst-title-line{height:4px;width:150px;background:#b20e1b;transform:skewX(-25deg);margin-bottom:28px}.davst-toolbar{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin-bottom:12px}.davst-toolbar button{border:1px solid #bbb;background:white;color:#222;border-radius:5px;padding:9px 12px;cursor:pointer}.davst-toolbar button[aria-pressed=true]{background:#a80d19;color:#fff;border-color:#a80d19}.davst-toolbar label{display:flex;align-items:center;gap:7px}.davst-toolbar input{padding:8px;max-width:190px}.davst-stage{position:relative;height:min(70vh,720px);min-height:380px;overflow:hidden;background:#f4f5f8;border:1px solid #ddd;border-radius:10px;cursor:grab;touch-action:none}.davst-stage:active{cursor:grabbing}.davst-pan{position:absolute;left:0;top:0;transform-origin:0 0;will-change:transform}.davst-original img{display:block;width:1800px;height:auto;max-width:none;user-select:none}.davst-graph{position:relative;display:none;min-width:1200px;min-height:700px}.davst-lines{position:absolute;left:0;top:0;overflow:visible;pointer-events:none}.davst-lines path{stroke:#a60e1c;stroke-width:2;fill:none;opacity:.45;transition:opacity .2s,stroke-width .2s}.davst-lines path.active{opacity:1;stroke-width:4;stroke:#d01026}.davst-node{position:absolute;width:180px;min-height:70px;background:#fff;border:1px solid #ccc;border-left:4px solid #b20e1b;border-radius:7px;padding:10px;box-shadow:0 2px 10px #0001;cursor:pointer;text-align:left;color:#252525}.davst-node.active{outline:3px solid #b20e1b}.davst-node img{width:36px;height:36px;object-fit:cover;border-radius:50%;float:left;margin-right:8px}.davst-node strong{display:block;font-size:13px}.davst-node small{font-size:12px;color:#555}.davst-info{margin-top:12px;padding:10px 12px;background:#f5f5f5;border-radius:6px;font-size:14px}.davst-info a{color:#a80d19;text-decoration:underline}.davst-empty{padding:25px;max-width:540px;color:#444}@media(max-width:650px){.davst-toolbar input{max-width:135px}.davst-stage{height:62vh;min-height:350px}.davst-title{font-size:30px!important}}

.davst-pdf-frame{display:block;width:100%;height:min(78vh,850px);min-height:500px;border:1px solid #ddd;border-radius:8px}.davst-pdf-placeholder{padding:20px}

/* DAN-Farben nach DAV-BlackBelts-PDF: 1 rot, 2 orange, 3 blau, 4 grün, 5+ türkis. */
.davst-node{border:2px solid var(--davst-dan-color,#9ca3af);border-left-width:5px;min-height:94px;transition:box-shadow .18s,border-color .18s}
.davst-node.active{outline:2px solid var(--davst-dan-color,#9ca3af);outline-offset:2px;box-shadow:0 4px 18px #0002}
.davst-node small{display:inline-block;margin-top:5px;padding:2px 5px;border-radius:3px;border-left:4px solid var(--davst-dan-color,#9ca3af);background:#f5f6f7}
.davst-node img,.davst-avatar-placeholder{width:42px;height:42px;object-fit:cover;border-radius:50%;float:left;margin:0 9px 6px 0}
.davst-avatar-placeholder{display:flex;align-items:center;justify-content:center;background:#f0f1f2;color:#555;font-size:13px;font-weight:700;border:1px solid #d9d9d9}

/* 1.0.9: hierarchische Lehrlinien mit orthogonalen Verbindungen */
.davst-lines path.davst-secondary-link{stroke:#6b7280;stroke-dasharray:6 5;opacity:.55}
.davst-lines path.davst-secondary-link.active{stroke:#a60e1c;opacity:1}

/* Titel identisch zum DAV Vorstand & Funktionäre Plugin */
.davst{--dav-red:#ae1017;max-width:1200px;margin:0 auto;color:#171717;font-family:inherit}
.davst .davst-title{font-size:clamp(26px,3vw,38px)!important;font-weight:800!important;line-height:normal!important;margin:0 0 35px!important;padding:0 0 13px!important;position:relative}
.davst .davst-title::after{content:"";position:absolute;bottom:0;left:0;width:150px;height:4px;background:var(--dav-red);transform:skewX(-25deg)}
.davst .davst-title-line{display:none}
@media(max-width:580px){.davst .davst-title{margin-bottom:24px!important}}

/* 1.0.12: PDF bleibt innerhalb des sichtbaren Anzeigebereichs. */
.davst-stage .davst-pdf-frame{position:absolute;inset:0;width:100%;height:100%;min-height:0;z-index:3;border:0;border-radius:inherit;background:#fff}

.davst-pdf-pages{display:flex;flex-direction:column;align-items:stretch;width:max-content;gap:10px}.davst-pdf-canvas{display:block;width:auto;height:auto;max-width:none}.davst-pdf-loading{padding:20px;min-width:300px}.davst-pdf-loading a{color:#a80d19}

/* 1.0.14: scharfe PDF-Kacheln bei Zoom; Gesamtansicht bleibt speicherschonend. */
.davst-pdf-page{position:relative;flex:none;overflow:hidden}.davst-pdf-detail{position:absolute;inset:0;pointer-events:none}.davst-pdf-tile{position:absolute;display:block;max-width:none;pointer-events:none}

/* Hochaufloesende Original-PDF-Kacheln, 1:1 mit der PDF-Bildquelle. */
.davst-tile-layer{position:relative;display:block;max-width:none;overflow:hidden;background:#f5f6f8}
.davst-original .davst-tile-layer img.davst-hires-tile{position:absolute;display:block;max-width:none!important;min-width:0!important;height:auto;object-fit:fill;user-select:none;pointer-events:none}

.davst-independent-label{position:absolute;white-space:nowrap;font-weight:700;font-size:17px;color:#555;padding:12px 18px;border-top:3px solid #aa1723;background:#f6f6f6;border-radius:3px;z-index:1}
