/* /physiotherapie/theorg/ – Anbindungsseite THEORG. Präfix pvth- */
.sx-pvs_theorg, .pvth-faelle, .pvth-akte-s, .pvth-start { --modul: #da9820; --linie: #f3dcae; --w-ink5: #6b6b6b; --w-rast: #c6c7cb; --gruen: #1a9b59; --rh: 18px; --zw: 38px; --aw: 126px; --iw: 192px; }
.pvth-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

/* ---------- Fenster: weiße Titelleiste, farbiges Kopfband je Modul, Werkzeugzeilen, rechts die Aktionsleiste ---------- */
.pvth-win { position: relative; border: 1px solid #8a8a8a; background: #fff; box-shadow: 0 34px 70px -36px rgba(19,23,34,.5), 0 2px 6px rgba(19,23,34,.08); color: #000; font: 400 11px/1.45 Verdana, Tahoma, "DejaVu Sans", "Segoe UI", sans-serif; text-align: left; }
.pvth-win.pk { --modul: #507eb2; --linie: #dbe6f2; }
.pvth-win.rk { --modul: #519999; --linie: #d5e9e9; }
.pvth-win u { text-decoration: none; }
.pvth-win .k-grau { font-size: 10px; line-height: 7px; height: 7px; border-radius: 0; background: #e3e4e8; }
.pvth-title { display: flex; align-items: center; gap: 7px; height: 28px; padding: 0 0 0 8px; background: #fff; white-space: nowrap; font-family: "Segoe UI", Tahoma, sans-serif; font-size: 12px; }
.pvth-title span { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.pvth-app { flex: 0 0 auto; display: grid; place-items: center; width: 15px; height: 15px; background: #d22630; color: #fff; font: 700 11px/1 Arial, sans-serif; font-style: normal; }
.pvth-title em { display: flex; margin-left: auto; height: 100%; }
.pvth-title em i { position: relative; width: 40px; height: 100%; }
.pvth-title em i::before { content: ""; position: absolute; left: 15px; top: 14px; width: 10px; height: 1px; background: #000; }
.pvth-title em i:nth-child(2)::before { top: 9px; height: 9px; background: none; border: 1px solid #000; }
.pvth-title em i:last-child::before, .pvth-title em i:last-child::after { content: ""; position: absolute; left: 14px; top: 14px; width: 12px; height: 1px; border: 0; background: #000; transform: rotate(45deg); }
.pvth-title em i:last-child::after { transform: rotate(-45deg); }
.pvth-band { display: flex; align-items: center; gap: 9px; height: 34px; padding: 0 8px 0 10px; background: var(--modul); color: #fff; white-space: nowrap; }
.pvth-logo { font: 300 19px/1 "Segoe UI Light", "Segoe UI", "Helvetica Neue", Arial, sans-serif; letter-spacing: .05em; }
.pvth-band > b { font: 700 14px/1 "Segoe UI", Tahoma, Arial, sans-serif; }
.pvth-bn { flex: 1; min-width: 0; display: flex; flex-flow: row-reverse wrap; align-items: center; gap: 0 13px; height: 34px; overflow: hidden; }
.pvth-bn > span { height: 34px; }
.pvth-win.klein .pvth-rund i:nth-child(n+4) { display: none; }
.pvth-win.woche .pvth-t.neu img { display: none; }
.pvth-bn > span { flex: 0 0 auto; display: flex; align-items: center; gap: 4px; }
.pvth-bn u { text-decoration: underline; }
.pvth-bn kbd, .pvth-akt kbd { margin-left: 4px; font: inherit; opacity: .75; }
.pvth-li { flex: 0 0 auto; width: 10px; height: 10px; border: 1px solid currentColor; border-radius: 2px; opacity: .85; }
.pvth-bn > span:nth-child(2n) .pvth-li, .pvth-akt span:nth-of-type(3n) .pvth-li { border-radius: 50%; }
.pvth-akt span:nth-of-type(4n+1) .pvth-li { height: 7px; border-width: 1px 0; border-radius: 0; }
.pvth-rund { flex: 0 0 auto; display: flex; gap: 4px; margin-left: 4px; }
.pvth-rund i { width: 18px; height: 18px; border: 1px solid #fff; border-radius: 50%; background: radial-gradient(circle, #fff 0 2px, transparent 2.5px); }
.pvth-body { display: grid; grid-template-columns: minmax(0, 1fr) var(--aw); }
.pvth-win.klein .pvth-body { grid-template-columns: minmax(0, 1fr); }
.pvth-main { min-width: 0; }

/* Werkzeugzeilen */
.pvth-z1, .pvth-z2, .pvth-z3 { display: flex; align-items: center; gap: 8px; height: 23px; padding: 0 8px; background: #fafafa; border-bottom: 1px solid #e6e6e6; white-space: nowrap; overflow: hidden; }
.pvth-z1 > b { font-weight: 700; }
.pvth-z1.pk { justify-content: flex-end; gap: 5px; }
.pvth-z1.pk .pvth-um { margin: 0 6px 0 0; }
.pvth-dd { position: relative; padding: 0 20px 0 6px; height: 17px; display: inline-flex; align-items: center; border: 1px solid #c9c9c9; background: #fff; }
.pvth-dd::after { content: ""; position: absolute; right: 6px; top: 6px; border: 4px solid transparent; border-top-color: #555; border-bottom: 0; }
.pvth-um { display: flex; gap: 4px; margin-left: auto; }
.pvth-um i { padding: 0 7px; height: 17px; display: inline-flex; align-items: center; font-style: normal; border: 1px solid transparent; }
.pvth-um i.on { background: #cce4f7; border-color: #0b408d; color: #0b408d; }
.pvth-z2 > b { font-weight: 700; font-variant-numeric: tabular-nums; }
.pvth-z2 > b + b { margin-left: 4px; }
.pvth-pf { flex: 0 0 auto; position: relative; width: 9px; height: 10px; }
.pvth-pf::before, .pvth-pf.ll::after, .pvth-pf.rr::after { content: ""; position: absolute; left: 1px; top: 1px; border: 4px solid transparent; border-right: 6px solid #444; border-left: 0; }
.pvth-pf.r::before, .pvth-pf.rr::before, .pvth-pf.rr::after { border-right: 0; border-left: 6px solid #444; }
.pvth-pf.ll::after, .pvth-pf.rr::after { left: -4px; }
.pvth-pf.ll, .pvth-pf.rr { margin-left: 4px; }
.pvth-th { display: inline-flex; align-items: center; gap: 6px; margin-left: 16px; }
.pvth-z2r { display: flex; gap: 12px; margin-left: auto; color: #333; }
.pvth-z3 { height: 20px; background: #fff; color: #333; }

/* Aktionsleiste rechts */
.pvth-akt { position: relative; background: #f3f3f3; border-left: 1px solid #dcdcdc; }
.pvth-akt > div { position: absolute; inset: 0; overflow: hidden; padding-top: 2px; }
.pvth-akt span { position: relative; display: flex; align-items: center; gap: 7px; height: 19px; padding: 0 8px; white-space: nowrap; color: #222; }
.pvth-akt b { display: flex; align-items: center; height: 18px; margin: 3px 0 2px; padding: 0 8px; background: #eee; border: solid #d0d0d0; border-width: 1px 0; font-weight: 400; color: #666; }
.pvth-akt .pvth-li { color: #555; }
.pvth-hl { position: absolute; inset: 0 2px; background: #cce4f7; box-shadow: inset 0 0 0 1px #0b408d; z-index: -1; }
.pvth-akt span { z-index: 0; }

/* ---------- Terminplan ---------- */
.pvth-tpb { display: grid; grid-template-columns: var(--iw) minmax(0, 1fr); border-top: 1px solid #e0e0e0; }
.pvth-info { position: relative; border-right: 1px solid #d6d6d6; background: #fff; }
.pvth-info > div { position: absolute; inset: 0; overflow: hidden; }
.pvth-it { display: flex; height: 22px; align-items: flex-end; padding: 0 3px; border-bottom: 1px solid #cfcfcf; background: #fafafa; white-space: nowrap; font-size: 10px; }
.pvth-it > * { padding: 2px 4px; border: 1px solid transparent; border-bottom: 0; font-weight: 400; }
.pvth-it > b { background: #fff; border-color: #cfcfcf; margin-bottom: -1px; font-weight: 700; }
.pvth-tf > b { display: flex; align-items: center; height: 18px; padding: 0 6px; background: #da9820; color: #fff; font-weight: 700; position: relative; }
.pvth-tf > b::after { content: ""; position: absolute; right: 7px; top: 7px; border: 4px solid transparent; border-bottom: 5px solid #fff; border-top: 0; }
.pvth-tf > div { padding: 4px 6px 6px; }
.pvth-tf p { margin: 0; min-height: 16px; display: flex; align-items: center; gap: 5px; white-space: nowrap; }
.pvth-tf p > span.mh { display: contents; }
.pvth-ln { color: #2237ff; font-weight: 700; text-decoration: underline !important; }
.pvth-tf.sym > div { display: flex; align-items: center; gap: 7px; height: 26px; padding: 0 6px; }
.pvth-s { position: relative; flex: 0 0 auto; width: 15px; height: 15px; border-radius: 50%; }
.pvth-s.x { background: #d22630 linear-gradient(45deg, transparent 44%, #fff 44% 56%, transparent 56%), linear-gradient(-45deg, transparent 44%, #fff 44% 56%, transparent 56%); background-blend-mode: normal; }
.pvth-s.uhr { border: 1.5px solid #555; background: linear-gradient(#555, #555) no-repeat 5.5px 2.5px / 1.5px 4.5px, linear-gradient(#555, #555) no-repeat 5.5px 5.5px / 4px 1.5px; }
.pvth-s.e { border-radius: 2px; background: #3c9960; }
.pvth-s.e::before { content: "E"; position: absolute; inset: 0; display: grid; place-items: center; color: #fff; font: 700 10px/1 Arial, sans-serif; }
.pvth-e16 { margin-left: -3px; font-weight: 700; font-variant-numeric: tabular-nums; }
.pvth-s.euro { background: #d27529; }
.pvth-s.euro::before { content: "€"; position: absolute; inset: 0; display: grid; place-items: center; color: #fff; font: 700 10px/1 Arial, sans-serif; }
.pvth-tf.term > div { padding: 3px 0 5px; }
.pvth-tf.term p { padding: 0 6px; font-size: 10px; }
.pvth-tf.term p.pvth-tz { font-size: 10.5px; background: #f1f1f1; gap: 7px; font-variant-numeric: tabular-nums; }
.pvth-tf.term p.pvth-tz + p.pvth-tz { background: #fff; }
.pvth-alle { margin-top: 3px !important; }
.k-flow .pvth-tz[data-at] { transform: translateX(-8px); }
.k-flow .pvth-tz[data-at].on { transform: none; }

.pvth-rast { min-width: 0; }
.pvth-an { display: flex; align-items: flex-end; gap: 1px; height: 23px; padding: 0 3px; background: #fafafa; border-bottom: 1px solid #cfcfcf; white-space: nowrap; overflow: hidden; font-size: 10px; }
.pvth-an span { flex: 0 0 auto; display: flex; align-items: center; gap: 4px; height: 19px; padding: 0 6px; border: 1px solid transparent; border-bottom: 0; }
.pvth-an span.on { background: #fff; border-color: #cfcfcf; font-weight: 700; }
.pvth-kal { width: 9px; height: 9px; border: 1px solid #666; border-top-width: 3px; background: #fff; }
.pvth-plan { display: grid; grid-template-columns: var(--zw) repeat(var(--n), minmax(0, 1fr)); background: #fff; }
.pvth-ph { display: flex; align-items: center; height: 18px; padding: 0 4px; background: #f0f0f0; border-left: 1px solid var(--w-rast); border-bottom: 1px solid var(--w-rast); font-size: 10px; white-space: nowrap; overflow: hidden; }
.pvth-ph.z { border-left: 0; }
.pvth-ph.sel { background: #0078d7; color: #fff; }
.pvth-zs { background: #fdfdfd; }
.pvth-zs time { display: flex; align-items: center; justify-content: flex-end; height: var(--rh); padding-right: 4px; border-bottom: 1px solid var(--w-rast); font-size: 10px; font-variant-numeric: tabular-nums; color: #222; }
.pvth-zs time.sel { background: #0072d5; color: #fff; }
.pvth-col { position: relative; height: calc(var(--rows) * var(--rh)); border-left: 1px solid var(--w-rast); background: repeating-linear-gradient(180deg, transparent 0 calc(var(--rh) - 1px), var(--w-rast) calc(var(--rh) - 1px) var(--rh)); }

/* Termin: Symbolfeld links, Name und Heilmittelkürzel rechts */
.pvth-t { --feld: #fff9c4; position: absolute; left: 0; right: 0; top: calc(var(--r) * var(--rh)); height: calc(var(--s) * var(--rh) - 1px); display: flex; background: #fff; overflow: hidden; }
.pvth-t.or { --feld: #ffb74d; }
.pvth-t.mag { --feld: #cc669a; }
.pvth-t.bl { --feld: #9fb5d5; }
.pvth-t.rot { --feld: #d22630; }
.pvth-sy { flex: 0 0 28%; max-width: 34px; padding: 0 0 0 3px; background: var(--feld); font: 400 11px/15px Arial, sans-serif; font-style: normal; color: #333; }
.pvth-t.mag .pvth-sy, .pvth-t.rot .pvth-sy { color: #fff; }
.pvth-tx { flex: 1; min-width: 0; display: flex; flex-direction: column; justify-content: center; gap: 4px; padding: 0 4px; white-space: nowrap; }
.pvth-tx small { font-size: 10px; line-height: 1; color: #222; }
.pvth-tx b { font-weight: 700; font-size: 10.5px; line-height: 1.1; }
.pvth-t.grp .pvth-tx { gap: 0; justify-content: space-around; }
.pvth-t.grp em { display: flex; align-items: center; gap: 5px; font-style: normal; min-width: 0; }
.pvth-t.grp .k-grau { flex: 0 1 auto; min-width: 0; }
.pvth-t.sperre { background: #bdbdbd; }
.pvth-t.sperre .pvth-tx { justify-content: flex-start; padding-top: 3px; font-size: 10px; }
.pvth-t.ende { background: #bebdc1; }
.pvth-t.mark { background: #0072d5; color: #fff; }
.pvth-t.mark small { color: #fff; }
.pvth-t.mark s { opacity: .75; }
.pvth-t.frei { background: #fafbfc; box-shadow: inset 0 0 0 1.5px #9aa5b5; outline: 0; }
.pvth-t.neu { background: #dff3e6; box-shadow: inset 0 0 0 2px var(--gruen); overflow: visible; z-index: 2; }
.pvth-t.neu .pvth-sy { box-shadow: inset 2px 0 0 var(--gruen), inset 0 2px 0 var(--gruen), inset 0 -2px 0 var(--gruen); }
.pvth-t.neu img { position: absolute; right: 4px; top: 50%; width: 17px; height: 17px; margin-top: -8.5px; padding: 2px; border-radius: 5px; background: #fff; box-shadow: 0 0 0 1px rgba(26,155,89,.35); }
.k-flow .pvth-t.neu[data-at] { transform: translateY(-34px) scale(1.12); transition: transform .6s cubic-bezier(.3,1.45,.5,1), opacity .18s linear; }
.k-flow .pvth-t.neu[data-at].on { transform: none; animation: pvthGlow 1.5s ease-out both; }
@keyframes pvthGlow { 0% { box-shadow: inset 0 0 0 2px var(--gruen), 0 0 0 0 rgba(26,155,89,.55); } 100% { box-shadow: inset 0 0 0 2px var(--gruen), 0 0 0 16px rgba(26,155,89,0); } }
.k-flow .pvth-t.weg[data-at] { transition: opacity .4s, transform .4s; }
.k-flow .pvth-t.weg[data-at]:not(.on) { transform: scale(.94); }

/* ---------- schwebende Karte: Anruf oder Nachricht ---------- */
.pvth-ruf { display: flex; align-items: center; gap: 11px; min-width: 236px; padding: 10px 18px 10px 10px; border-radius: 16px; background: #fff; box-shadow: 0 0 0 1px rgba(19,23,34,.07), 0 22px 44px -18px rgba(19,23,34,.5); color: #131722; font-family: var(--sans); text-align: left; }
.pvth-ruf > span { display: flex; flex-direction: column; min-width: 0; line-height: 1.25; }
.pvth-ruf b { font-size: 15px; font-weight: 600; white-space: nowrap; }
.pvth-ruf .k-swap, .pvth-ruf > span > span { font-size: 13px; color: #687184; white-space: nowrap; }
.pvth-ruf .k-sw:last-child { color: var(--gruen); font-weight: 600; }
.pvth-ruf-i { position: relative; flex: 0 0 auto; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--accent-soft); color: var(--accent); }
.pvth-ruf-i.wa { background: #e3f7ea; color: #1faa55; }
.pvth-ruf-i.rot { background: #fde8e6; color: #c5352b; }
.pvth-ruf-i > svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.pvth-ruf-i.wa > svg { width: 21px; height: 21px; fill: currentColor; stroke: none; }
.pvth-ring { position: absolute; inset: -3px; border-radius: 50%; border: 2px solid var(--accent); }
.k-flow .pvth-ring[data-at].on { animation: pvthRing 1.1s ease-out infinite; }
@keyframes pvthRing { from { transform: scale(.9); opacity: .9; } to { transform: scale(1.6); opacity: 0; } }
.pvth-ok { position: absolute; inset: 0; display: grid; place-items: center; border-radius: 50%; background: var(--gruen); color: #fff; }
.pvth-ok svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.k-flow .pvth-ok[data-at] { transform: scale(.5); }
.k-flow .pvth-ok[data-at].on { transform: none; }
.k-flow .pvth-ruf[data-at] { transform: translateY(-10px) scale(.96); }
.k-flow .pvth-ruf[data-at].on { transform: none; }
.pvth-ruf.pvth-msg { align-items: flex-start; max-width: 270px; }
.pvth-ruf.pvth-msg > span > span { white-space: normal; color: #131722; }
/* Foto der Verordnung (rosa Vordruck) */
.pvth-vo { position: relative; display: block; width: 74px; height: 98px; margin-top: 8px; border-radius: 4px; background: #fff7f6; box-shadow: 0 0 0 1px #e3b4ae, 0 6px 12px -6px rgba(19,23,34,.4); transform: rotate(-2deg); }
.pvth-vo::before { content: ""; position: absolute; left: 6px; right: 6px; top: 7px; height: 24px; border: 1px solid #e59a92; background: linear-gradient(180deg, transparent 7px, #e59a92 7px 8px, transparent 8px 15px, #e59a92 15px 16px, transparent 16px); }
.pvth-vo::after { content: ""; position: absolute; left: 6px; right: 6px; top: 37px; bottom: 8px; border: 1px solid #e59a92; background: repeating-linear-gradient(180deg, transparent 0 9px, #e59a92 9px 10px); }
.pvth-vo u { position: absolute; left: 11px; height: 3px; border-radius: 1px; background: #3b4252; opacity: .75; }
.pvth-vo u:nth-child(1) { top: 13px; width: 30px; }
.pvth-vo u:nth-child(2) { top: 50px; width: 40px; }
.pvth-vo u:nth-child(3) { top: 60px; width: 22px; }

/* ---------- Kopf ---------- */
.pvth-hero { position: relative; max-width: 1000px; margin: 0 auto; }
.pvth-hero > .pvth-ruf { position: absolute; z-index: 5; right: -22px; top: -26px; }
.pvth-hero .pvth-win { border-bottom: 0; }

/* ---------- Abschnitt 1: Umschalter ---------- */
.pvth-tabs { display: flex; justify-content: center; gap: 4px; width: fit-content; max-width: 100%; margin: 34px auto 0; padding: 5px; border-radius: 999px; background: var(--paper-2); border: 1px solid var(--hair); }
.pvth-tabs button { padding: 10px 17px; border-radius: 999px; font: inherit; font-size: 15px; font-weight: 600; color: var(--ink-2); white-space: nowrap; background: none; border: 0; cursor: pointer; transition: background .2s, color .2s, box-shadow .2s; }
.pvth-tabs button:hover { color: var(--ink); }
.pvth-tabs button.on { background: #fff; color: var(--ink); box-shadow: 0 6px 18px -10px rgba(20,22,27,.35); }
.pvth-pick { display: none; }
.pvth-panel { margin-top: 28px; }
.pvth-fall { display: none; }
.pvth-fall.on { display: block; }
.pvth-fall-g { padding: 48px 40px 52px; border-radius: 28px; border: 1px solid var(--hair); background: linear-gradient(180deg, #F6F4EE, #EFECE4); }
.pvth-fall > p { max-width: 620px; margin: 26px auto 0; font-size: 19px; line-height: 1.5; color: var(--ink); text-align: center; text-wrap: balance; }.pvth-fall-b { position: relative; left: -104px; max-width: 800px; margin: 0 auto; }
.pvth-fall-b.solo { left: 0; max-width: 900px; }
.pvth-fall-b > .pvth-ruf { position: absolute; z-index: 5; right: -204px; top: 196px; }
.pvth-fall.absage .pvth-fall-b > .pvth-ruf { top: 250px; }
.pvth-fall-b.akte { max-width: 700px; left: -140px; }
.pvth-fall-b.akte > .pvth-ruf { right: -232px; top: 150px; }
.pvth-fall.vo .pvth-fall-b.akte > .pvth-ruf { top: 96px; }

/* ---------- Patientenkartei und Rezeptekartei ---------- */
.pvth-nz { display: flex; align-items: center; gap: 9px; height: 30px; padding: 0 9px; background: #f0f0f0; border-bottom: 1px solid #dedede; white-space: nowrap; overflow: hidden; }
.pvth-nz > b { font: 700 15px/1 "Segoe UI", Tahoma, Arial, sans-serif; }
.pvth-nz > span + span { padding-left: 9px; border-left: 1px solid #bdbdbd; line-height: 1.2; }
.pvth-gelb { flex: 0 0 auto; width: 13px; height: 13px; margin-left: auto; border-radius: 50%; background: #f2c618; box-shadow: inset 0 0 0 1px rgba(0,0,0,.15); }
.pvth-ib { display: inline-flex; align-items: center; gap: 5px; margin-left: auto; border: 0 !important; }
.pvth-ib i { width: 9px; height: 9px; border-radius: 50%; background: #3c9960; }
.pvth-rt { display: flex; flex-wrap: wrap; gap: 1px 2px; padding: 5px 6px 0; background: #fff; border-bottom: 1px solid #cfcfcf; font-size: 10.5px; }
.pvth-rt span { display: flex; align-items: center; gap: 4px; height: 21px; padding: 0 7px; border: 1px solid transparent; border-bottom: 0; white-space: nowrap; color: #333; }
.pvth-rt span.on { border-color: #cfcfcf; background: #fff; margin-bottom: -1px; height: 22px; font-weight: 700; color: #000; box-shadow: inset 0 2px 0 var(--modul); }
.pvth-ri { width: 9px; height: 9px; border: 1px solid var(--modul); border-radius: 2px; }
.pvth-stk { display: grid; }
.pvth-stk > * { grid-area: 1 / 1; min-width: 0; }
.k-flow .pvth-stk > [data-at] { transition: opacity .3s; }
.k-flow .pvth-stk > [data-at]:not(.on) { visibility: hidden; }
.pvth-kb { padding: 10px 12px 14px; min-height: 150px; background: #fff; }
.pvth-win.rk .pvth-kb { background: #f9f9f6; display: grid; gap: 12px; min-height: 0; }
.pvth-zwei { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0 22px; }
.pvth-zwei > div { display: grid; gap: 12px; align-content: start; min-width: 0; }
.pvth-ab { position: relative; min-width: 0; }
.pvth-abt { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; margin-bottom: 4px; padding-bottom: 2px; border-bottom: 2px solid var(--linie); box-shadow: 0 1px 0 var(--modul); white-space: nowrap; }
.pvth-abt b { font-weight: 700; font-size: 11.5px; }
.pvth-abt .pvth-ln { font-size: 10px; font-weight: 400; }
.pvth-f { display: grid; grid-template-columns: 116px minmax(0, 1fr); align-items: center; gap: 6px; min-height: 19px; }
.pvth-f > span:first-child { color: #777; font-size: 10px; white-space: nowrap; }
.pvth-fw { display: flex; align-items: center; min-height: 19px; font-weight: 700; white-space: nowrap; overflow: hidden; }
.pvth-fw .k-swap, .pvth-telw .k-sw { width: 100%; }
.pvth-nw { display: flex; align-items: center; gap: 6px; width: 100%; height: 19px; padding: 0 4px 0 7px; background: #dff3e6; box-shadow: inset 3px 0 0 var(--gruen); font-weight: 700; font-variant-numeric: tabular-nums; }
.pvth-nw img, .pvth-dok img, .pvth-hw img { flex: 0 0 auto; width: 15px; height: 15px; margin-left: auto; padding: 1.5px; border-radius: 4px; background: #fff; box-shadow: 0 0 0 1px rgba(26,155,89,.35); }
/* Merkmale */
.pvth-hw { display: flex; align-items: center; gap: 7px; min-height: 25px; padding: 3px 6px; margin-top: 3px; background: #dff3e6; box-shadow: inset 3px 0 0 var(--gruen); font-weight: 700; }
.pvth-hw.cave { background: #fde8e6; box-shadow: inset 3px 0 0 #c5352b; color: #9c1c13; }
.pvth-hw > b { flex: 0 0 auto; padding: 1px 5px; background: #c5352b; color: #fff; font-size: 10px; letter-spacing: .04em; }
.pvth-hw > span { min-width: 0; }
/* E-Akte */
.pvth-dok { display: flex; align-items: center; gap: 8px; height: 27px; padding: 0 6px; border-bottom: 1px solid #ececec; white-space: nowrap; }
.pvth-dok:last-child { border-bottom: 0; }
.pvth-dn { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.pvth-dok time { flex: 0 0 auto; color: var(--w-ink5); font-variant-numeric: tabular-nums; }
.pvth-dok.neu { background: #dff3e6; box-shadow: inset 3px 0 0 var(--gruen); font-weight: 700; }
.pvth-dok.neu time { color: #1d5b3a; font-weight: 400; }
.pvth-dok img { margin-left: 0; }
.pvth-fi { position: relative; flex: 0 0 auto; width: 13px; height: 16px; border: 1px solid #8b95a3; background: #fff linear-gradient(180deg, transparent 8px, #d5463c 8px 13px, transparent 13px); }
.pvth-fi::before { content: ""; position: absolute; right: -1px; top: -1px; border: 3px solid; border-color: #fff #fff #8b95a3 #8b95a3; }
.pvth-fi.bild { background: #fff linear-gradient(180deg, transparent 6px, #4a90c4 6px 13px, transparent 13px); }
.pvth-st { flex: 0 0 auto; padding: 1px 7px; font-style: normal; font-size: 10.5px; font-weight: 700; background: #fde9a9; color: #6b4a00; }
.pvth-st.ok { background: var(--gruen); color: #fff; }
.pvth-stw { flex: 0 0 auto; justify-items: end; }
.k-flow .pvth-dok.neu[data-at], .k-flow .pvth-hw[data-at] { transform: translateX(-14px); }
.k-flow .pvth-dok.neu[data-at].on, .k-flow .pvth-hw[data-at].on { transform: none; animation: pvthGlowZ 1.4s ease-out both; }
@keyframes pvthGlowZ { 0% { box-shadow: inset 3px 0 0 var(--gruen), 0 0 0 0 rgba(26,155,89,.55); } 100% { box-shadow: inset 3px 0 0 var(--gruen), 0 0 0 14px rgba(26,155,89,0); } }
.k-flow .pvth-hw.cave[data-at].on { animation-name: pvthGlowRot; }
@keyframes pvthGlowRot { 0% { box-shadow: inset 3px 0 0 #c5352b, 0 0 0 0 rgba(197,53,43,.5); } 100% { box-shadow: inset 3px 0 0 #c5352b, 0 0 0 14px rgba(197,53,43,0); } }
/* Behandlungen in der Rezeptekartei */
.pvth-bh { display: grid; grid-template-columns: 46px 36px minmax(0, 1fr) 56px; gap: 4px; align-items: center; min-height: 20px; font-weight: 700; white-space: nowrap; }
.pvth-bh.h { font-weight: 400; font-size: 10px; color: #777; }
/* Rahmen, der zeigt, was Praxishub gerade liest */
.pvth-lies { position: absolute; inset: -5px -6px; border: 2px solid var(--accent); pointer-events: none; }
.k-flow .pvth-lies[data-at].on { animation: pvthLies 1s ease-out infinite; }
@keyframes pvthLies { 0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--accent) 45%, transparent); } 100% { box-shadow: 0 0 0 10px transparent; } }

/* ---------- Abschnitt 2: Karteien und Listen ---------- */
.pvth-akte-w { margin-top: 44px; padding: 48px 40px; border-radius: 28px; border: 1px solid var(--hair); background: linear-gradient(180deg, #F6F4EE, #EFECE4); }
.pvth-akte { display: grid; grid-template-columns: minmax(0, 1fr) 292px; gap: 18px; align-items: start; max-width: 1010px; margin: 0 auto; }
.pvth-akte .pvth-win.pk .pvth-kb { min-height: 214px; }
.pvth-spn { display: grid; grid-template-columns: 1fr 1.15fr; gap: 20px 56px; max-width: 820px; margin: 36px auto 0; }
.pvth-sp { --farbe: var(--accent); min-width: 0; }
.pvth-sp.traegt { --farbe: var(--gruen); }
.pvth-sp h3 { margin: 0 0 12px; font-size: 18px; font-weight: 600; letter-spacing: -.01em; color: var(--ink); }
.pvth-sp ul { list-style: none; margin: 0; padding: 0; }
.pvth-sp li { position: relative; padding: 7px 0 7px 22px; border-top: 1px solid var(--hair); font-size: 16px; line-height: 1.35; color: var(--ink); }
.pvth-sp li::before { content: ""; position: absolute; left: 2px; top: 13px; width: 9px; height: 9px; border-radius: 50%; border: 2px solid var(--farbe); }
.pvth-sp.traegt li::before { background: var(--farbe); }

/* ---------- Abschnitt 3: Einrichtung ---------- */
.pvth-start { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; max-width: 900px; margin: 44px auto 0; padding: 0; }
.pvth-start li { position: relative; display: flex; flex-direction: column; min-width: 0; }
.pvth-st-g { display: grid; place-items: center; height: 132px; border-radius: 20px; background: var(--paper-2); border: 1px solid var(--hair); }
.pvth-st-p { position: relative; z-index: 1; display: grid; place-items: center; width: 28px; height: 28px; margin: 18px 0 0; border-radius: 50%; background: var(--ink); color: #fff; font-style: normal; font-size: 13.5px; font-weight: 600; box-shadow: 0 0 0 5px var(--paper); }
.pvth-start li:not(:last-child)::after { content: ""; position: absolute; left: 28px; right: -28px; top: 163px; height: 2px; background: var(--hair); }
.pvth-start p { margin: 12px 0 0; font-size: 17px; line-height: 1.4; color: var(--ink); text-wrap: balance; }
.pvth-g-pc { display: flex; align-items: center; gap: 0; }
.pvth-g-pc i { position: relative; width: 62px; height: 44px; border: 2.5px solid #2d3748; border-radius: 5px; background: linear-gradient(180deg, #da9820 0 8px, transparent 8px), repeating-linear-gradient(90deg, #fff9c4 0 4px, #fff 4px 12px, #c6c7cb 12px 13px); }
.pvth-g-pc i::after { content: ""; position: absolute; left: 50%; bottom: -10px; width: 26px; height: 3px; margin-left: -13px; border-radius: 2px; background: #2d3748; box-shadow: 0 -4px 0 -0.5px #2d3748; }
.pvth-g-pc u { width: 44px; height: 2px; background: repeating-linear-gradient(90deg, var(--accent) 0 6px, transparent 6px 12px); background-size: 12px 2px; animation: pvthLauf2 .7s linear infinite; }
@keyframes pvthLauf2 { to { background-position: 12px 0; } }
.pvth-g-pc img { width: 40px; height: 40px; padding: 7px; border-radius: 12px; background: #fff; box-shadow: 0 0 0 1px var(--hair), 0 10px 18px -10px rgba(19,23,34,.35); }
.pvth-g-regeln { display: grid; gap: 7px; width: min(190px, 78%); padding: 12px 12px; border-radius: 12px; background: #fff; box-shadow: 0 0 0 1px var(--hair), 0 12px 22px -14px rgba(19,23,34,.35); }
.pvth-g-regeln > span { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.pvth-g-regeln .k-grau { flex: 0 1 auto; font-size: 11px; line-height: 8px; min-width: 0; overflow: hidden; }
.pvth-g-regeln .k-toggle { flex: 0 0 auto; transform: scale(.8); transform-origin: 100% 50%; }
.pvth-g-uhr { display: flex; align-items: center; gap: 12px; }
.pvth-g-uhr svg { width: 58px; height: 58px; fill: #fff; stroke: #2d3748; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.pvth-g-uhr svg .z { fill: var(--accent-soft); stroke: none; }
.pvth-g-uhr svg path:last-child { fill: none; }
.pvth-g-uhr b { font-size: 22px; font-weight: 600; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
@media (max-width: 1100px) {
  .pvth-hero > .pvth-ruf { right: -10px; }
  .pvth-fall-b, .pvth-fall-b.akte { left: -50px; }
  .pvth-fall-b { max-width: 720px; --iw: 150px; }
  .pvth-fall-b > .pvth-ruf { right: -110px; }
  .pvth-fall-b.akte > .pvth-ruf { right: -130px; }
  .pvth-tabs button { padding: 9px 12px; font-size: 14px; }
  .pvth-akte-w { padding: 40px 24px; }
  .pvth-akte { grid-template-columns: minmax(0, 1fr); max-width: 700px; }
  .pvth-akte .pvth-win.rk { width: 300px; justify-self: end; margin-top: -30px; }
}

@media (max-width: 880px) {
  .sx-pvs_theorg, .pvth-faelle, .pvth-akte-s, .pvth-start { --rh: 19px; --zw: 34px; --aw: 104px; }
  .pvth-win { font-size: 10.5px; font-family: Tahoma, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; }
  .pvth-tf p { gap: 0; }
  .pvth-tf p.pvth-tz { gap: 6px; }
  .pvth-tz span:last-child { display: none; }
  .pvth-tx b { font-size: 10.5px; }
  .pvth-title em i { width: 30px; }
  .pvth-title em i::before { left: 10px; }
  .pvth-title em i:last-child::before, .pvth-title em i:last-child::after { left: 9px; }
  .pvth-band { gap: 7px; padding: 0 6px 0 8px; }
  .pvth-logo { font-size: 17px; }
  .pvth-band > b { font-size: 13px; }
  .pvth-bn { gap: 9px; }
  .pvth-bn > span:not(:first-child) { display: none; }
  .pvth-rund i:nth-child(n+3) { display: none; }
  .pvth-rund i { width: 16px; height: 16px; }
  .pvth-z1, .pvth-z2, .pvth-z3 { padding: 0 6px; gap: 6px; }
  .pvth-dd, .pvth-um i:not(.on), .pvth-z2r { display: none; }
  .pvth-um i { padding: 0 5px; }
  .pvth-th { margin-left: auto; gap: 4px; }
  .pvth-z2 { gap: 4px; }
  .pvth-pf.ll, .pvth-pf.rr { display: none; }
  .pvth-akt span { height: 20px; gap: 5px; padding: 0 5px; }
  .pvth-akt b { padding: 0 5px; }
  .pvth-akt kbd { margin-left: 3px; }
  .pvth-win.pk .pvth-body, .pvth-win.woche .pvth-body { grid-template-columns: minmax(0, 1fr); }
  .pvth-win.pk .pvth-akt, .pvth-win.woche .pvth-akt { display: none; }
  .mh { display: none !important; }

  .pvth-tpb { grid-template-columns: minmax(0, 1fr); }
  .pvth-info { order: 2; border-right: 0; border-top: 1px solid var(--w-rast); }
  .pvth-info > div { position: static; }
  .pvth-info.mweg, .pvth-info .pvth-it, .pvth-info .pvth-tf:not(.term) { display: none; }
  .pvth-tf.term > div { display: grid; grid-template-columns: auto minmax(0, 1fr); padding: 3px 0 5px; }
  .pvth-tf.term p:not(.pvth-tz):not(.pvth-alle) { grid-column: 1; }
  .pvth-tf.term p.pvth-tz { grid-column: 2; background: none !important; font-size: 10.5px; }
  .pvth-tf.term p:nth-child(1) { grid-row: 1; } .pvth-tf.term p:nth-child(2) { grid-row: 1; }
  .pvth-tf.term p:nth-child(3) { grid-row: 2; } .pvth-tf.term p:nth-child(4) { grid-row: 2; }
  .pvth-tf.term p:nth-child(5) { grid-row: 3; } .pvth-tf.term p:nth-child(6) { grid-row: 3; } .pvth-tf.term p:nth-child(7) { grid-row: 4; }
  .pvth-alle { grid-column: 1 / -1; grid-row: 5; }
  .pvth-an span:not(.m) { display: none; }
  .pvth-plan { --n: var(--nm) !important; }
  .pvth-ph { font-size: 10px; }
  .pvth-sy { flex-basis: 22px; }
  .pvth-t.neu img { display: none; }
  .pvth-win.woche .pvth-t.neu img { display: none; }
  .k-flow .pvth-t.neu[data-at] { transform: translateY(-28px) scale(1.14); }

  .pvth-hero > .pvth-ruf { position: relative; right: auto; top: auto; width: fit-content; margin: 0 4px -14px auto; }
  .pvth-ruf { min-width: 0; padding: 8px 16px 8px 8px; gap: 9px; border-radius: 14px; }
  .pvth-ruf b { font-size: 14.5px; }
  .pvth-ruf-i { width: 36px; height: 36px; }

  .pvth-tabs { display: none; }
  .pvth-pick { display: block; position: relative; margin: 22px 0 0; }
  .pvth-pick select { width: 100%; height: 52px; padding: 0 44px 0 18px; border-radius: 14px; border: 1px solid var(--hair); background: #fff; font: inherit; font-size: 16.5px; font-weight: 600; color: var(--ink); -webkit-appearance: none; appearance: none; }
  .pvth-pick::after { content: ""; position: absolute; right: 20px; top: 50%; width: 9px; height: 9px; margin-top: -7px; border-right: 2px solid var(--ink-2); border-bottom: 2px solid var(--ink-2); transform: rotate(45deg); pointer-events: none; }
  .pvth-panel { margin-top: 14px; }
  .pvth-fall-g { padding: 20px 12px 22px; border-radius: 22px; }
  .pvth-fall > p { margin-top: 18px; font-size: 17px; text-align: left; }
  .pvth-fall-b, .pvth-fall-b.akte, .pvth-fall-b.solo { left: 0; max-width: none; display: flex; flex-direction: column; }
  .pvth-fall.absage .pvth-fall-b { padding-bottom: 44px; }
  .pvth-fall.absage .pvth-fall-b > .pvth-ruf { position: absolute; right: 0; top: auto; bottom: 0; margin: 0; }
  .pvth-fall.absage .pvth-fall-b > .pvth-ruf.pvth-msg { bottom: -4px; }
  .pvth-fall-b.akte > .pvth-ruf, .pvth-fall.vo .pvth-fall-b.akte > .pvth-ruf { order: -1; position: relative; right: auto; top: auto; align-self: flex-end; margin: 0 4px -12px 0; }

  .pvth-nz { gap: 7px; padding: 0 7px; }
  .pvth-nz > b { font-size: 14px; }
  .pvth-nz > span + span { padding-left: 7px; }
  .pvth-rt { padding: 4px 4px 0; }
  .pvth-rt span { padding: 0 5px; }
  .pvth-kb { padding: 10px 9px 12px; min-height: 132px; }
  .pvth-zwei { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .pvth-f { grid-template-columns: 108px minmax(0, 1fr); }
  .pvth-dok { gap: 6px; padding: 0 5px; }
  .pvth-dok time { display: none; }
  .pvth-vo { width: 62px; height: 82px; }
  .pvth-vo::after { top: 35px; }

  .pvth-akte-w { margin-top: 26px; padding: 18px 12px 20px; border-radius: 22px; }
  .pvth-akte { gap: 12px; }
  .pvth-akte .pvth-win.rk { width: auto; justify-self: stretch; margin-top: 0; }
  .pvth-akte .pvth-win.pk .pvth-kb { min-height: 0; }
  .pvth-spn { grid-template-columns: 1fr; gap: 26px; margin-top: 26px; }
  .pvth-sp h3 { font-size: 17px; margin-bottom: 10px; }
  .pvth-sp li { font-size: 15.5px; padding: 6px 0 6px 22px; }
  .pvth-sp li::before { top: 12px; }

  .pvth-start { gap: 10px; margin-top: 26px; }
  .pvth-st-g { height: 92px; border-radius: 16px; }
  .pvth-st-p { width: 24px; height: 24px; margin-top: 12px; font-size: 12.5px; box-shadow: 0 0 0 4px var(--paper); }
  .pvth-start li:not(:last-child)::after { left: 24px; right: -10px; top: 115px; }
  .pvth-start p { margin-top: 9px; font-size: 14.5px; line-height: 1.35; text-wrap: wrap; }
  .pvth-g-pc i { width: 40px; height: 30px; border-width: 2px; }
  .pvth-g-pc i::after { width: 18px; margin-left: -9px; bottom: -8px; }
  .pvth-g-pc u { width: 14px; }
  .pvth-g-pc img { width: 30px; height: 30px; padding: 5px; border-radius: 9px; }
  .pvth-g-regeln { width: 76%; min-width: 0; padding: 7px 8px; gap: 4px; border-radius: 10px; }
  .pvth-g-regeln > span { min-width: 0; }
  .pvth-g-regeln .k-grau { font-size: 7px; }
  .pvth-st-g { min-width: 0; overflow: hidden; }
  .pvth-g-regeln .k-toggle { transform: none; zoom: .55; }
  .pvth-g-uhr { gap: 6px; }
  .pvth-g-uhr svg { width: 38px; height: 38px; }
  .pvth-g-uhr b { font-size: 15px; }
}

@media (prefers-reduced-motion: reduce) {
  .pvth-g-pc u { animation: none; }
}
