/* /physiotherapie/starke-praxis/ – STARKE Termine (Tagesansicht) und STARKE Praxis (Dialoge Patient, Dokumentation), Fälle, Listen, Einrichtung.
   Farben und Aufbau nach marketing/pvs-referenzen/pvs_starke.md. */
.sx-pvs_starke { padding-bottom: 44px; }
.pss-hero { max-width: 1060px; margin: 0 auto; }

/* ---------- Fensterrahmen ---------- */
.pss-win, .pss-dlg { position: relative; overflow: hidden; text-align: left; color: #000; font-family: Tahoma, "MS Sans Serif", Verdana, Arial, sans-serif; font-size: 11.5px; line-height: 1.3; }
.pss-title { display: flex; align-items: center; gap: 7px; white-space: nowrap; }
.pss-title b { font-weight: 400; min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.pss-title em { display: flex; margin-left: auto; }
.pss-title em i { position: relative; }
.pss-title em i::before, .pss-title em i::after { content: ""; position: absolute; }

/* Windows 10: STARKE Termine */
.pss-win.st { border: 1px solid #707070; background: #fff; font-family: "Segoe UI", Tahoma, Arial, sans-serif; box-shadow: 0 30px 60px -30px rgba(20,30,60,.5), 0 8px 18px -12px rgba(20,30,60,.3); }
.pss-title.w10 { height: 28px; padding-left: 8px; background: #fff; font-size: 12px; }
.w10 .pss-ico { flex: 0 0 auto; width: 14px; height: 14px; border-radius: 2px; background: linear-gradient(135deg, #2f9a57 0 50%, #2f6fb5 50%); }
.w10 em { height: 100%; }
.w10 em i { width: 40px; height: 100%; }
.w10 em i::before { left: 15px; top: 14px; width: 10px; height: 1px; background: #222; }
.w10 em i:nth-child(2)::before { top: 9px; height: 10px; background: none; border: 1px solid #222; box-sizing: border-box; }
.w10 em i:nth-child(3)::before, .w10 em i:nth-child(3)::after { left: 14px; width: 13px; transform: rotate(45deg); }
.w10 em i:nth-child(3)::after { top: 14px; height: 1px; background: #222; transform: rotate(-45deg); }
.pss-menu { display: flex; align-items: center; gap: 13px; height: 20px; padding: 0 8px; background: #fff; white-space: nowrap; }

/* Windows 7: STARKE Praxis und ihre Dialoge */
.pss-dlg, .pss-win.sp { padding: 0 6px 6px; border: 1px solid #47586e; border-radius: 6px 6px 2px 2px; background: linear-gradient(180deg, #b7cde5 0, #9db8d4 26px); box-shadow: inset 0 0 0 1px rgba(255,255,255,.55), 0 22px 40px -22px rgba(20,30,60,.6), 0 4px 12px -8px rgba(20,30,60,.35); }
.pss-title.w7 { height: 25px; padding-left: 1px; font-size: 12px; text-shadow: 0 0 6px #fff, 0 0 3px #fff; }
.w7 .pss-ico { flex: 0 0 auto; width: 13px; height: 13px; border: 1px solid #6b7c93; background: linear-gradient(180deg, #fff 0 4px, #dfe6ef 4px); box-sizing: border-box; }
.w7 em { align-self: flex-start; height: 17px; border: 1px solid #56667c; border-top: none; border-radius: 0 0 4px 4px; overflow: hidden; box-shadow: 0 0 0 1px rgba(255,255,255,.45); }
.w7 em i { width: 24px; background: linear-gradient(180deg, rgba(255,255,255,.65), rgba(255,255,255,.2) 50%, rgba(160,185,212,.4) 50%); border-right: 1px solid #56667c; }
.w7 em i::before { left: 8px; top: 9px; width: 8px; height: 2px; background: #fff; box-shadow: 0 0 0 1px #4a586b; }
.w7 em i:nth-child(2)::before { left: 8px; top: 4px; width: 8px; height: 7px; background: none; border: 2px solid #fff; box-sizing: border-box; }
.w7 em i:nth-child(3) { width: 40px; border-right: none; background: linear-gradient(180deg, #eeb3a8, #d4695a 48%, #c23b28 52%, #d9654f); }
.w7 em i:nth-child(3)::before, .w7 em i:nth-child(3)::after { left: 13px; top: 7px; width: 13px; height: 2px; background: #fff; box-shadow: 0 0 0 1px rgba(90,20,10,.55); transform: rotate(45deg); }
.w7 em i:nth-child(3)::after { box-shadow: none; transform: rotate(-45deg); }
.pss-in { border: 1px solid #6c7f97; background: #f0f0f0; }

/* ---------- STARKE Termine ---------- */
.st .pss-tool { display: flex; align-items: center; gap: 2px; height: 27px; padding: 0 6px; background: #f2f2f2; border-top: 1px solid #e3e3e3; border-bottom: 1px solid #cfcfcf; white-space: nowrap; }
.st .pss-tool span { display: flex; align-items: center; gap: 4px; padding: 2px 6px 3px 4px; }
.st .pss-tool svg { width: 14px; height: 14px; fill: none; stroke: #3d3d3d; stroke-width: 1.2; stroke-linejoin: round; stroke-linecap: round; }
.st .pss-tool .aus { color: #a3a3a3; }
.st .pss-tool .aus svg { stroke: #b5b5b5; }
.st .pss-tool .hilfe { font-weight: 700; color: #2f6fb5; padding: 2px 6px; }
.st .pss-tool .heute { margin-left: auto; padding: 1px 12px 2px; border: 1px solid #adadad; background: #e1e1e1; }
.pss-nav { display: flex; align-items: center; height: 24px; padding: 0 8px; background: #808080; color: #fff; font-size: 13px; font-weight: 700; white-space: nowrap; }
.pss-body { display: flex; background: #f0f0f0; }

/* Schnellzugriffsleiste: große farbige Symbole mit Beschriftung darunter */
.pss-schnell { flex: 0 0 104px; display: flex; flex-direction: column; background: #f0f0f0; border-right: 1px solid #a0a0a0; overflow: hidden; }
.pss-schnell b, .pss-ordner b { display: flex; align-items: center; height: 19px; padding: 0 5px; background: #e3e3e3; border-bottom: 1px solid #c4c4c4; font-size: 10.5px; font-weight: 400; white-space: nowrap; letter-spacing: -.01em; }
.pss-schnell span { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 8px 0 6px; font-size: 11px; }
.pss-schnell svg { width: 27px; height: 27px; fill: var(--f); }
.pss-schnell svg .w { fill: none; stroke: #fff; stroke-width: 1.6; stroke-linecap: round; }
.pss-schnell svg .s { fill: none; stroke: var(--f); stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }

/* Ordnerliste: Baum */
.pss-ordner { flex: 0 0 136px; display: flex; flex-direction: column; background: #fff; border-right: 1px solid #a0a0a0; font-size: 11px; }
.pss-ordner b { justify-content: space-between; margin-bottom: 3px; }
.pss-ordner b i { position: relative; width: 11px; height: 11px; }
.pss-ordner b i::before, .pss-ordner b i::after { content: ""; position: absolute; left: 0; top: 5px; width: 11px; height: 1.4px; background: #333; transform: rotate(45deg); }
.pss-ordner b i::after { transform: rotate(-45deg); }
.pss-ordner span { position: relative; display: flex; align-items: center; gap: 5px; height: 18px; padding-left: 37px; white-space: nowrap; }
.pss-ordner span > i { flex: 0 0 auto; width: 10px; height: 10px; border-radius: 1px; background: var(--f); box-shadow: inset 0 3px 0 rgba(255,255,255,.45); }
.pss-ordner span::before { content: ""; position: absolute; left: 12px; top: -9px; width: 20px; height: 18px; border-left: 1px dotted #9a9a9a; border-bottom: 1px dotted #9a9a9a; box-sizing: border-box; }
.pss-ordner span.w { padding-left: 21px; }
.pss-ordner span.w::before { left: 7px; top: 4px; width: 9px; height: 9px; border: 1px solid #8a8a8a; background: linear-gradient(#333, #333) 50% 50% / 5px 1px no-repeat, #fff; }
.pss-ordner span.zu::before { background: linear-gradient(#333, #333) 50% 50% / 5px 1px no-repeat, linear-gradient(#333, #333) 50% 50% / 1px 5px no-repeat, #fff; }
.pss-ordner span.on { font-weight: 700; }

/* Rechte Leiste: zwei Monatskalender, Reiter, Patientenliste */
.pss-aufg { flex: 0 0 236px; display: flex; flex-direction: column; min-width: 0; border-left: 1px solid #a0a0a0; background: #f0f0f0; font-size: 10.5px; }
.pss-monate { display: flex; background: #fff; border-bottom: 1px solid #c4c4c4; }
.pss-monat { flex: 1; min-width: 0; padding: 3px 3px 4px; }
.pss-monat b { display: block; padding-bottom: 2px; font-size: 10.5px; font-weight: 700; text-align: center; }
.pss-mt { display: grid; grid-template-columns: repeat(8, 1fr); text-align: center; font-size: 9px; }
.pss-mt i { font-style: normal; line-height: 12.5px; font-variant-numeric: tabular-nums; }
.pss-mt i.k { border-bottom: 1px solid #b5b5b5; color: #333; }
.pss-mt i.kw { color: #9a9a9a; font-size: 8px; border-right: 1px solid #c9c9c9; }
.pss-mt i.on { box-shadow: inset 0 0 0 1px #d11a1a; }
.pss-areg { display: flex; padding: 5px 3px 0; border-bottom: 1px solid #adadad; }
.pss-areg span { padding: 2px 3px; font-size: 10px; border: 1px solid transparent; border-bottom: none; white-space: nowrap; }
.pss-areg span.on { margin-bottom: -1px; background: #fff; border-color: #adadad; }
.pss-aneu { display: flex; justify-content: space-between; padding: 5px; background: #fff; }
.pss-aneu span, .pss-aneu u { padding: 1px 12px 2px; border: 1px solid #adadad; background: #e1e1e1; text-decoration: none; }
.pss-ahin { display: flex; align-items: center; height: 17px; padding: 0 6px; background: #fff; border-top: 1px solid #e3e3e3; }
.pss-ahin .k-grau { height: 5px; background: #dcdcdc; }
.pss-avo { flex: 1; background: #fff; }
.pss-avo div { display: grid; grid-template-columns: 52px minmax(0, 1fr) 66px; align-items: center; height: 18px; border-bottom: 1px solid #ececec; white-space: nowrap; }
.pss-avo div.k { background: #f0f0f0; border-top: 1px solid #c4c4c4; border-bottom: 1px solid #c4c4c4; }
.pss-avo span { padding: 0 5px; overflow: hidden; }
.pss-avo div.k span + span { border-left: 1px solid #c4c4c4; }
.pss-avo .k-grau { height: 5px; padding: 0; background: #d9d9d9; }
.k-flow .pss-avo .p[data-at] { opacity: 1; transition: background .25s, color .25s; }
.pss-avo .p.on { background: #3d7fa0; color: #fff; }
.pss-avo .p.on .k-grau { background: rgba(255,255,255,.55); }
.pss-satz { display: flex; align-items: center; gap: 5px; height: 22px; padding: 0 6px; border-top: 1px solid #c4c4c4; }
.pss-satz .a { position: relative; width: 0; height: 0; border: 4px solid transparent; border-left: none; border-right: 5px solid #444; }
.pss-satz .a.r { border-right: none; border-left: 5px solid #444; }
.pss-satz .a.e::after { content: ""; position: absolute; left: -2px; top: -4px; width: 1.5px; height: 8px; background: #444; }
.pss-satz .a.r.e::after { left: auto; right: -2px; }
.pss-nr { min-width: 8px; justify-items: center; }

/* Tagesansicht: eine Spalte je Mitarbeiter, Linien alle 15 Minuten */
.pss-grid { --zw: 46px; --kh: 40px; --h: 24px; --t: calc(var(--h) * 4 / 3); --sp: calc((100% - var(--zw)) / 3); position: relative; flex: 1; min-width: 0; background: #fff; }
.pss-grid::after { content: ""; position: absolute; z-index: 2; left: var(--zw); right: 0; top: var(--kh); bottom: 0; pointer-events: none;
  background: repeating-linear-gradient(180deg, #1c1c1c 0 1px, transparent 1px calc(var(--h) * 4)), repeating-linear-gradient(180deg, transparent 0 calc(var(--h) - 1px), rgba(110,108,50,.3) calc(var(--h) - 1px) var(--h)); }
.pss-kopf { display: grid; grid-template-columns: var(--zw) repeat(3, 1fr); height: var(--kh); box-sizing: border-box; border-bottom: 8px solid #808080; background: #fff; }
.pss-kopf span { display: flex; flex-direction: column; align-items: center; justify-content: center; min-width: 0; border-left: 1px solid #b5b5b5; line-height: 1.2; white-space: nowrap; }
.pss-kopf span:first-child { flex-direction: row; gap: 5px; border-left: none; }
.pss-kopf small { font-size: 10px; }
.pss-kopf b { display: flex; align-items: center; gap: 6px; font-size: 11.5px; font-weight: 400; }
.pss-kopf s { display: none; text-decoration: none; }
.pss-kopf u { text-decoration: none; }
.pss-kopf em { padding: 0 6px 1px; background: #c8322b; color: #fff; font-style: normal; font-size: 10px; font-weight: 700; }
.pss-pf { width: 0; height: 0; border: 6px solid transparent; border-left: none; border-right: 9px solid #2e9a2e; }
.pss-pf.r { border-right: none; border-left: 9px solid #2e9a2e; }
.pss-raster { position: relative; display: grid; grid-template-columns: var(--zw) repeat(3, 1fr); height: calc(var(--h) * 16); background: #f5f5dd; }
.pss-raster > i { border-left: 1px solid #77754a; }
.pss-z { display: grid; grid-auto-rows: calc(var(--h) * 4); background: #fff; }
.pss-z time { display: block; padding: 1px 4px 0 0; text-align: right; border-top: 1px solid #1c1c1c; color: #000; white-space: nowrap;
  background: linear-gradient(#444, #444) 100% var(--h) / 11px 1px no-repeat, linear-gradient(#444, #444) 100% calc(var(--h) * 2) / 11px 1px no-repeat, linear-gradient(#444, #444) 100% calc(var(--h) * 3) / 11px 1px no-repeat; }
.pss-z time b, .pss-q time b { font-family: Georgia, "Times New Roman", Times, serif; font-size: 20px; font-weight: 700; line-height: 1; }
.pss-z sup, .pss-q sup { margin-left: 1px; font-size: 10px; vertical-align: 7px; line-height: 0; }
.pss-zo { position: absolute; z-index: 1; left: calc(var(--zw) + var(--c) * var(--sp) + 1px); top: calc(var(--kh) + var(--s) * var(--t)); width: calc(var(--sp) - 1px); height: calc(var(--n) * var(--t)); }
.pss-zo.ol { background: #bdb76b; }
.pss-zo.pa { background: #fed701; }
.k-flow .pss-zo.aus[data-at] { transition: opacity .6s; }

.pss-ev { position: absolute; z-index: 3; left: calc(var(--zw) + var(--c) * var(--sp) + 2px); top: calc(var(--kh) + var(--s) * var(--t) + 1px); width: calc(var(--sp) - 3px); height: calc(var(--n) * var(--t) - 1px); box-sizing: border-box;
  display: grid; grid-template-columns: minmax(0, 1fr) auto; align-content: start; gap: 0 4px; padding: 1px 4px 0 8px; border: 1px solid #8c8c8c; background: #fff; color: #000; font-size: 11px; line-height: 14px; white-space: nowrap; }
.pss-ev::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--st, #1a1a7a); }
.pss-ev.mld { background: #ffefd5; }
.pss-ev b, .pss-ev em { display: flex; align-items: center; gap: 3px; min-width: 0; font-weight: 400; font-style: normal; overflow: hidden; }
.pss-ev em { grid-column: 1 / -1; }
.pss-ev b i { flex: 0 0 auto; width: 9px; font-style: normal; font-size: 11px; line-height: 14px; text-align: center; }
.pss-ev b i.w { color: #c2185b; }
.pss-ev b i.m { color: #1a5fb4; }
.pss-ev small { font-size: 10px; }
.pss-ser { flex: 0 0 auto; width: 9px; height: 9px; fill: none; stroke: #2e7d32; stroke-width: 1.3; stroke-linecap: round; stroke-linejoin: round; }
.pss-ev .k-grau { flex: 0 0 auto; width: 46px; height: 5px; background: #cfcfcf; }
.pss-ev em .k-grau { width: 32px; }
.pss-ev.mld .k-grau { background: #dcc9a6; }
.pss-mv b, .pss-mv em { font-weight: 700; }

/* Termine, die wandern */
.k-flow .pss-mv[data-at] { z-index: 4; opacity: 1; transition: left .9s cubic-bezier(.3,.7,.2,1), box-shadow .3s; }
.k-flow .pss-mv.on { left: calc(var(--zw) + var(--z, var(--c)) * var(--sp) + 2px); box-shadow: 0 0 0 2px #4f46e5, 0 10px 18px -8px rgba(30,30,90,.55); }
.pss-ok { position: absolute; right: 4px; top: 4px; display: grid; place-items: center; width: 17px; height: 17px; border-radius: 50%; background: #1a9b59; color: #fff; transform: scale(.3); }
.pss-ok.on { transform: none; transition: opacity .2s, transform .45s cubic-bezier(.3,1.6,.5,1); }
.pss-ok svg, .pss-ruf svg { width: 11px; height: 11px; fill: none; stroke: currentColor; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.pss-ev .pss-ok { top: auto; right: 2px; bottom: 2px; width: 14px; height: 14px; }
.pss-ev .pss-ok svg { width: 9px; height: 9px; }

/* Anruf von Praxishub */
.pss-call { display: flex; align-items: center; gap: 12px; width: 268px; max-width: 100%; box-sizing: border-box; padding: 11px 13px; border-radius: 18px; background: #14161b; color: #fff; text-align: left; font-family: var(--sans); box-shadow: 0 24px 44px -18px rgba(20,22,27,.7); }
.pss-hero > .pss-call { position: absolute; z-index: 6; left: -18px; bottom: -22px; transform: translateY(14px) scale(.96); }
.pss-hero > .pss-call.on { transform: none; }
.pss-call-av { position: relative; flex: 0 0 auto; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: #fff; }
.pss-call-av i { position: absolute; inset: -4px; border-radius: 50%; border: 2px solid rgba(255,255,255,.35); animation: pssRing 1.6s ease-out infinite; }
@keyframes pssRing { from { transform: scale(.86); opacity: 1; } to { transform: scale(1.22); opacity: 0; } }
.pss-call-t { flex: 1; min-width: 0; }
.pss-call-t .k-sw { display: block; }
.pss-ruf { display: grid; gap: 1px; flex: 1; min-width: 0; }
.pss-ruf b { font-size: 14.5px; font-weight: 600; line-height: 1.25; white-space: nowrap; }
.pss-ruf small { display: flex; align-items: center; gap: 6px; font-size: 12.5px; color: #b9bdc8; white-space: nowrap; }
.pss-ruf.ok small { color: #6fe0a4; font-weight: 600; }
.pss-ruf.ok svg { width: 13px; height: 13px; }
.pss-call-tel { flex: 0 0 auto; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: #34c759; }
.pss-call-tel svg { width: 16px; height: 16px; fill: #fff; stroke: none; }
.pss-welle { display: inline-flex; align-items: center; gap: 2px; height: 12px; }
.pss-welle i { width: 2px; height: 100%; border-radius: 1px; background: currentColor; animation: pssWelle 1s ease-in-out infinite; }
.pss-welle i:nth-child(2) { animation-delay: -.3s; }
.pss-welle i:nth-child(3) { animation-delay: -.6s; }
.pss-welle i:nth-child(4) { animation-delay: -.15s; }
@keyframes pssWelle { 0%, 100% { transform: scaleY(.35); } 50% { transform: scaleY(1); } }

/* ---------- STARKE Praxis: Dialoge „Patient …“ und „Dokumentation“ ---------- */
.pss-reg { display: flex; flex-wrap: wrap; padding: 8px 7px 0; }
.pss-reg.r1 { flex-wrap: wrap-reverse; }
.pss-reg span { position: relative; margin: 0 -1px -1px 0; padding: 2px 6px 3px; border: 1px solid #adadad; background: #f0f0f0; white-space: nowrap; }
.pss-reg span.on { z-index: 1; margin: -2px -3px -1px -2px; padding: 4px 8px 3px; border-bottom-color: #f0f0f0; }
.pss-reg > i { flex: 0 0 100%; height: 0; }
.pss-blatt { display: grid; grid-template-columns: minmax(0, 1fr); gap: 6px; margin: 0 7px; padding: 13px 12px 12px; border: 1px solid #adadad; background: #f0f0f0; }
.pss-f { display: flex; align-items: center; gap: 0; }
.pss-f > span:first-child { flex: 0 0 var(--lb, 84px); white-space: nowrap; }
.pss-f > i, .pss-notiz > i { position: relative; flex: 1; display: flex; align-items: center; min-width: 0; min-height: 21px; box-sizing: border-box; padding: 1px 5px; border: 1px solid; border-color: #7a7a7a #c9c9c9 #c9c9c9 #7a7a7a; background: #fff; font-style: normal; white-space: nowrap; }
.pss-f > i + *, .pss-f > span.pss-opt + i { margin-left: 14px; }
.pss-f > span.pss-opt + i { margin-left: 8px; }
.pss-f .re, .pss-kn .re { margin-left: auto !important; }
.allgemein .pss-f > i { flex: 0 0 150px; }
.allgemein .pss-f > i.wahl { flex: 0 0 92px; }
.sonstiges { --lb: 122px; }
.pss-f.kurz > i { flex: 0 0 76px; }
.pss-f .k-grau { height: 6px; background: #d5d5d5; }
/* Auswahlfeld, Drehfeld, Knopf mit drei Punkten */
.pss-f.wahl > span:first-child + i, .pss-f.dreh > span:first-child + i, i.wahl { padding-right: 20px; }
.pss-f.wahl > span:first-child + i::after, .pss-f.dreh > span:first-child + i::after, i.wahl::after { content: ""; position: absolute; right: 1px; top: 1px; bottom: 1px; width: 15px; border: 1px solid #adadad; box-sizing: border-box;
  background: linear-gradient(45deg, transparent 50%, #333 50%) calc(50% - 2px) 55% / 4px 4px no-repeat, linear-gradient(315deg, transparent 50%, #333 50%) calc(50% + 2px) 55% / 4px 4px no-repeat, #e1e1e1; }
.pss-f.dreh > span:first-child + i::after { background: linear-gradient(#adadad, #adadad) 0 50% / 100% 1px no-repeat, #e1e1e1; }
.pss-f.punkte > i { margin-right: 26px; }
.pss-f.punkte > i::after { content: "…"; position: absolute; right: -27px; top: -1px; bottom: -1px; width: 21px; display: grid; place-items: center; border: 1px solid #adadad; background: #e1e1e1; box-sizing: border-box; }
.pss-cb { display: inline-flex; align-items: center; gap: 5px; white-space: nowrap; }
.pss-cb i { position: relative; width: 11px; height: 11px; border: 1px solid; border-color: #7a7a7a #c9c9c9 #c9c9c9 #7a7a7a; background: #fff; }
.pss-cb.an i::after { content: ""; position: absolute; left: 3px; top: 0; width: 3px; height: 7px; border-right: 2px solid #000; border-bottom: 2px solid #000; transform: rotate(45deg); }
.pss-notiz { margin-top: -2px; }
.pss-notiz > i { flex-direction: column; align-items: flex-start; justify-content: flex-start; gap: 2px; min-height: 68px; padding: 5px 6px; white-space: normal; font-size: 12.5px; }
.pss-notiz b { display: block; font-weight: 400; }
.pss-notiz b:first-of-type { font-weight: 700; color: #b3261e; }
.pss-kn { display: flex; align-items: center; gap: 12px; margin-top: 2px; }
.pss-kn > span:not(.pss-cb), .pss-fuss span, .pss-tool.sp span { padding: 2px 9px 3px; border: 1px solid #adadad; background: #e1e1e1; white-space: nowrap; }
.pss-kn .fokus { border-color: #000; box-shadow: inset 0 0 0 1px #e1e1e1, inset 0 0 0 2px #7a7a7a; outline: 1px dotted #000; outline-offset: -5px; }
.pss-fuss { display: flex; gap: 6px; padding: 8px 7px; }
.pss-fuss span { min-width: 62px; box-sizing: border-box; text-align: center; }
.pss-fuss span:first-child { margin-right: auto; }
.pss-fuss u { text-decoration: underline; }
.pss-ring { position: absolute; inset: -4px; border: 2px solid #4f46e5; border-radius: 3px; pointer-events: none; box-shadow: 0 8px 16px -8px rgba(30,30,90,.5); }
.pss-f .pss-ok, .pss-notiz .pss-ok { right: -9px; top: -9px; }
.pss-wert { font-variant-numeric: tabular-nums; }
.pss-wert .k-sw:last-child { font-weight: 700; }
.k-flow .pss-les[data-at] { opacity: 1; transition: background .4s, box-shadow .4s; }
.pss-f > i.pss-les.on { background: #eef0fd; box-shadow: 0 0 0 2px #b9bdf3; }

/* Dokumentation: Liste, die neue Zeile ist markiert wie in Windows */
.pss-dk, .pss-dr { display: grid; grid-template-columns: 70px 15px minmax(0, 1fr) auto; align-items: center; gap: 0 7px; padding: 0 8px; }
.pss-dk { grid-template-columns: 70px minmax(0, 1fr) 92px; height: 20px; margin: 7px 7px 0; border: 1px solid #7a7a7a; border-bottom-color: #d5d5d5; border-right-color: #c9c9c9; background: linear-gradient(180deg, #fff, #f0f0f0); }
.pss-dk span + span { padding-left: 7px; border-left: 1px solid #d5d5d5; }
.pss-dl { margin: 0 7px 7px; padding: 1px 0 10px; border: 1px solid; border-color: transparent #c9c9c9 #c9c9c9 #7a7a7a; background: #fff; }
.pss-dr { position: relative; height: 23px; font-size: 12px; }
.pss-dr b { font-weight: 400; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pss-dr span { font-variant-numeric: tabular-nums; }
.pss-dr em { display: flex; align-items: center; min-width: 84px; font-style: normal; white-space: nowrap; }
.pss-dr em svg { width: 12px; height: 12px; margin-right: 3px; fill: none; stroke: #1a9b59; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.pss-dr .k-grau { height: 6px; background: #dcdcdc; }
.pss-fi { position: relative; width: 13px; height: 16px; border: 1px solid #8a8a8a; background: #fff; box-sizing: border-box; }
.pss-fi::after { content: ""; position: absolute; left: -3px; bottom: 2px; width: 11px; height: 6px; background: #c8322b; }
.pss-fi.jpg::after { background: #2e7fd0; }
.k-flow .pss-dr.neu[data-at] { transform: translateX(-14px); transition: opacity .35s, transform .45s, background .3s, color .3s; }
.k-flow .pss-dr.neu[data-at].on { transform: none; }
.pss-dr.neu.on { background: #0078d7; color: #fff; }
.pss-dr.neu.on em svg { stroke: #fff; }
.pss-dr.neu.on:has(~ .neu.on) { background: none; color: inherit; }
.pss-dr.neu.on:has(~ .neu.on) em svg { stroke: #1a9b59; }
.pss-dr.neu .pss-ok { top: 3px; right: -9px; box-shadow: 0 0 0 1.5px #fff; }
.pss-st .k-sw { gap: 0; }

/* ---------- Fälle ---------- */
.pss-sec .sec-head { margin-bottom: 36px; }
.pss-ft { display: flex; justify-content: center; gap: 6px; width: fit-content; margin: 0 auto 22px; padding: 5px; border-radius: 99px; background: var(--paper-2); border: 1px solid var(--hair); }
.pss-ft button { padding: 9px 18px; border: none; border-radius: 99px; background: none; font: inherit; font-size: 15px; font-weight: 600; color: var(--ink-2); cursor: pointer; }
.pss-ft button[aria-selected="true"] { background: #fff; color: var(--ink); box-shadow: 0 0 0 1px var(--hair), 0 6px 14px -8px rgba(20,22,27,.35); }
.pss-fs { display: none; }
.pss-fall { display: none; }
.pss-faelle[data-fall="bogen"] .pss-fall[data-k="bogen"], .pss-faelle[data-fall="wa"] .pss-fall[data-k="wa"],
.pss-faelle[data-fall="aus"] .pss-fall[data-k="aus"], .pss-faelle[data-fall="tel"] .pss-fall[data-k="tel"] { display: block; }
.pss-fb { display: grid; grid-template-columns: minmax(0, 300px) 64px minmax(0, 500px); justify-content: center; align-items: center; min-height: 520px; box-sizing: border-box; padding: 40px; border-radius: 26px; border: 1px solid var(--hair); background: var(--paper-2); }
.pss-zw { display: grid; min-width: 0; }
.pss-zw .doku.klein { z-index: 2; width: 80%; margin: 9px -22px 0 auto; }
.pss-pfeil { position: relative; height: 0; margin: 0 12px; border-top: 2px dashed #c4bfae; }
.pss-pfeil i { position: absolute; right: -2px; top: -6px; width: 8px; height: 8px; border-top: 2px solid #a8a392; border-right: 2px solid #a8a392; transform: rotate(45deg); }
.pss-q { position: relative; box-sizing: border-box; width: 100%; border-radius: 18px; background: #fff; text-align: left; color: var(--ink); font-family: var(--sans); box-shadow: 0 0 0 1px var(--hair), 0 22px 36px -22px rgba(20,22,27,.45); }
.k-flow .pss-q[data-at] { transform: translateY(12px); }
.k-flow .pss-q[data-at].on { transform: none; }
.pss-q p { margin: 0; }
.pss-q.bogen { padding: 18px 18px 16px; }
.pss-q.bogen > b { display: flex; align-items: center; gap: 8px; padding-bottom: 8px; font-size: 16px; font-weight: 700; letter-spacing: -.01em; }
.pss-q.bogen .r { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 9px 0; border-top: 1px solid var(--hair); font-size: 14.5px; }
.pss-q.bogen .r em { padding: 2px 10px; border-radius: 99px; background: var(--accent-soft); color: var(--accent-deep); font-style: normal; font-size: 13px; font-weight: 600; }
.pss-q.bogen .u { display: flex; align-items: flex-end; justify-content: space-between; gap: 8px; margin-top: 4px; padding: 8px 0 6px; border-top: 1px solid var(--hair); border-bottom: 1.5px solid var(--ink); }
.pss-q.bogen .u svg { width: 112px; height: 28px; fill: none; stroke: #1c2a6b; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.pss-q.bogen .u small { font-size: 12px; color: var(--ink-3); }
.pss-q.bogen p, .pss-q.aus p { display: flex; align-items: center; gap: 6px; margin-top: 12px; font-size: 14px; font-weight: 600; color: #15824a; }
.pss-q.bogen p svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.pss-q.wa { overflow: hidden; }
.pss-q.wa .h { display: flex; align-items: center; gap: 9px; padding: 10px 14px; background: #f6f6f6; border-bottom: 1px solid #e4e4e4; font-size: 14.5px; }
.pss-q.wa .h i { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 1px var(--hair); }
.pss-q.wa .c { display: flex; padding: 14px 12px 16px; background: #efeae2; }
.pss-q.wa .m { margin-left: auto; width: 216px; max-width: 100%; padding: 4px 4px 5px; border-radius: 10px 10px 2px 10px; background: #d9fdd3; box-shadow: 0 1px 1px rgba(11,20,26,.13); }
.k-flow .pss-q.wa .m[data-at] { transform: translateY(10px) scale(.96); transform-origin: 100% 100%; }
.k-flow .pss-q.wa .m[data-at].on { transform: none; }
.pss-q.wa .m p { padding: 6px 5px 0; font-size: 14.5px; line-height: 1.3; color: #111b21; }
.pss-q.wa .m small { display: flex; align-items: center; justify-content: flex-end; gap: 3px; padding: 0 4px; font-size: 11px; color: #667781; }
.pss-q .kw-tick { width: 16px; height: 10px; fill: none; stroke: #53bdeb; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
/* Foto einer Heilmittelverordnung: rosa Formular, leicht schräg auf dem Tisch */
.pss-m13 { position: relative; display: block; height: 132px; border-radius: 7px; background: #8d8779; overflow: hidden; }
.pss-m13::before { content: ""; position: absolute; left: 18px; right: 14px; top: 12px; height: 132px; background: #fff6f6; border: 1px solid #e79aa6; transform: rotate(-3deg); box-shadow: 0 6px 14px rgba(0,0,0,.3); }
.pss-m13 i { position: absolute; z-index: 1; border: 1px solid #e79aa6; transform: rotate(-3deg); }
.pss-m13 i:nth-child(1) { left: 26px; top: 22px; width: 96px; height: 34px; }
.pss-m13 i:nth-child(2) { left: 128px; top: 17px; width: 54px; height: 15px; background: #fbd9de; }
.pss-m13 i:nth-child(3) { left: 129px; top: 37px; width: 54px; height: 15px; }
.pss-m13 i:nth-child(4) { left: 28px; top: 64px; width: 156px; height: 20px; background: repeating-linear-gradient(90deg, #6b7280 0 34px, transparent 34px 42px) 6px 8px / 100% 3px no-repeat; }
.pss-m13 i:nth-child(5) { left: 30px; top: 91px; width: 156px; height: 40px; background: repeating-linear-gradient(90deg, #6b7280 0 52px, transparent 52px 60px) 6px 9px / 70% 3px no-repeat; }
.pss-q.aus { padding: 16px; }
.pss-q.aus .t { display: grid; grid-template-columns: 46px 1fr; align-items: stretch; border: 1px solid #77754a; background: #f5f5dd; font-family: "Segoe UI", Tahoma, Arial, sans-serif; }
.pss-q.aus time { display: block; background: #fff; border-right: 1px solid #77754a; padding: 5px 4px 0 0; text-align: right; color: #000; white-space: nowrap; }
.pss-q .pss-ev { position: relative; left: auto; top: auto; width: auto; height: 36px; margin: 3px 3px 12px; font-size: 12px; line-height: 15px; }
.pss-q.aus p { color: #b3261e; }
.pss-q.tel { background: none; box-shadow: none; }
.pss-q.tel .pss-call { width: 100%; }
.pss-q.tel p { margin-top: 12px; padding: 13px 16px; border-radius: 4px 18px 18px 18px; background: #fff; font-size: 15.5px; line-height: 1.4; box-shadow: 0 0 0 1px var(--hair), 0 16px 28px -20px rgba(20,22,27,.45); }

/* ---------- Übersicht: Kartei und Listen ---------- */
.pss-akte { display: grid; grid-template-columns: minmax(0, 1fr) 320px; align-items: center; gap: 44px; }
.sp .pss-menu { background: #f0f0f0; }
.pss-tool.sp { display: flex; align-items: center; gap: 4px; height: 31px; padding: 0 7px; background: #f0f0f0; border-top: 1px solid #fff; border-bottom: 1px solid #a0a0a0; }
.pss-tool.sp span { display: flex; align-items: center; gap: 5px; margin-right: 3px; }
.pss-tool.sp span i { width: 11px; height: 11px; border-radius: 50%; background: #9a9a9a; box-shadow: 0 7px 0 -2px #9a9a9a; margin-bottom: 4px; }
.pss-tool.sp > i { flex: 0 0 auto; width: 1px; height: 20px; margin: 0 3px; background: #c2c2c2; box-shadow: 1px 0 0 #fff; }
.pss-tool.sp > i.g { width: 21px; height: 21px; margin: 0; border: 1px solid #c9c9c9; background: #dedede; box-shadow: none; box-sizing: border-box; }
.pss-mdi { position: relative; display: flex; flex-direction: column; padding: 16px 18px 20px; background: #ababab; }
.pss-mdi > .pss-dlg:first-child { width: 70%; }
.pss-mdi > .doku { z-index: 2; width: 72%; margin: 10px 0 0 auto; }
.pss-listen { display: grid; gap: 30px; }
.pss-listen h3 { display: flex; align-items: center; gap: 10px; margin: 0 0 8px; font-family: var(--sans); font-size: 17px; font-weight: 700; letter-spacing: -.01em; color: var(--ink); }
.pss-listen h3 i { flex: 0 0 auto; display: grid; place-items: center; width: 18px; height: 18px; box-sizing: border-box; border-radius: 3px; background: #eef0fd; border: 2px solid #b9bdf3; }
.pss-listen .e h3 i { border: none; border-radius: 50%; background: #1a9b59; }
.pss-listen h3 svg { width: 11px; height: 11px; fill: none; stroke: #fff; stroke-width: 2.8; stroke-linecap: round; stroke-linejoin: round; }
.pss-listen ul { margin: 0; padding: 0; list-style: none; }
.pss-listen li { padding: 7px 0; border-top: 1px solid var(--hair); font-size: 15.5px; line-height: 1.35; color: var(--ink-2); }

/* ---------- Einrichtung ---------- */
.pss-ein { display: grid; grid-template-columns: repeat(3, 1fr); margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--hair); }
.pss-ein li { display: flex; flex-direction: column; gap: 16px; padding: 28px 32px 6px 0; font-size: 18px; line-height: 1.5; color: var(--ink); }
.pss-ein li + li { padding-left: 32px; border-left: 1px solid var(--hair); }
.pss-ein i { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--accent-soft); }
.pss-ein svg { width: 22px; height: 22px; fill: none; stroke: var(--accent); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }

@media (max-width: 1100px) {
  .pss-ordner { display: none; }
  .pss-akte { grid-template-columns: minmax(0, 1fr) 280px; gap: 30px; }
  .pss-fb { grid-template-columns: minmax(0, 280px) 40px minmax(0, 460px); padding: 32px 24px; }
}
@media (max-width: 900px) {
  .pss-aufg { display: none; }
  .pss-hero > .pss-call { left: 50%; margin-left: -134px; bottom: -58px; }
  .sx-pvs_starke { padding-bottom: 84px; }
  .pss-ft { display: none; }
  .pss-fs { display: block; max-width: 520px; margin: 0 auto 12px; }
  .pss-fs select { width: 100%; height: 52px; padding: 0 44px 0 16px; border-radius: 14px; border: 1px solid var(--hair); background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2314161B' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") no-repeat right 14px center / 20px; font: inherit; font-size: 17px; font-weight: 600; color: var(--ink); appearance: none; -webkit-appearance: none; }
  .pss-fb { grid-template-columns: minmax(0, 1fr); justify-items: center; align-content: start; gap: 0; max-width: 520px; min-height: 0; margin: 0 auto; padding: 16px 10px 22px; border-radius: 20px; }
  .pss-qw { width: 100%; max-width: 300px; }
  .pss-zw { width: 100%; }
  .pss-pfeil { width: 0; height: 26px; margin: 8px 0 12px; border-top: none; border-left: 2px dashed #c4bfae; }
  .pss-pfeil i { right: auto; left: -6px; top: auto; bottom: -2px; transform: rotate(135deg); }
  .pss-zw .doku.klein { width: 92%; margin: 8px 0 0 auto; }
  .pss-akte { grid-template-columns: minmax(0, 1fr); gap: 26px; max-width: 520px; margin: 0 auto; }
  .sp .pss-menu { gap: 10px; }
  .sp .pss-menu span:nth-child(n+6) { display: none; }
  .pss-tool.sp > i:nth-child(n+10) { display: none; }
  .pss-mdi { padding: 8px 6px 12px; }
  .pss-mdi > .pss-dlg:first-child { width: auto; margin-right: 10px; }
  .pss-mdi > .doku { width: auto; margin: 8px 0 0 16px; }
  .pss-listen { grid-template-columns: 1fr 1fr; gap: 16px; align-items: start; }
  .pss-listen h3 { font-size: 15px; gap: 7px; white-space: nowrap; }
  .pss-listen li { font-size: 14px; padding: 6px 0; }
}
@media (max-width: 720px) {
  .sx-pvs_starke { padding-bottom: 82px; }
  .pss-schnell { display: none; }
  .st .pss-tool span:nth-child(n+4):not(.heute) { display: none; }
  .pss-grid { --zw: 36px; --h: 25px; }
  .pss-z time { padding-right: 2px; }
  .pss-z time b { font-size: 17px; }
  .pss-z sup { font-size: 9px; vertical-align: 6px; }
  .pss-z time { background-size: 8px 1px, 8px 1px, 8px 1px; }
  .pss-kopf u { display: none; }
  .pss-kopf s { display: inline; }
  .pss-kopf b { gap: 4px; }
  .pss-kopf em { padding: 0 4px 1px; }
  .pss-ev { padding: 1px 3px 0 6px; gap: 0 2px; }
  .pss-ev b { gap: 2px; }
  .pss-hero > .pss-call { bottom: -66px; }

  .pss-sec .sec-head { margin-bottom: 22px; }
  .pss-reg { padding: 7px 5px 0; font-size: 11px; }
  .pss-reg span { padding: 2px 4px 3px; }
  .pss-reg span.on { padding: 4px 6px 3px; }
  .pss-blatt { margin: 0 5px; padding: 11px 8px 10px; }
  .pss-f > span:first-child { flex-basis: var(--lbm, 78px); }
  .sonstiges { --lbm: 116px; }
  .allgemein .pss-f > i { flex: 0 0 116px; }
  .pss-opt { display: none !important; }
  .pss-kn { gap: 8px; }
  .pss-kn > span:not(.pss-cb) { padding: 2px 6px 3px; }
  .pss-fuss { gap: 4px; padding: 7px 5px; font-size: 11px; }
  .pss-fuss span { min-width: 0; padding: 2px 6px 3px; }
  .pss-dr { grid-template-columns: 15px minmax(0, 1fr) auto; gap: 0 6px; padding: 0 6px; }
  .pss-dk { grid-template-columns: minmax(0, 1fr) 92px; margin: 5px 5px 0; padding: 0 6px; }
  .pss-dl { margin: 0 5px 5px; }
  .pss-dk span:first-child, .pss-dr > span { display: none; }
  .pss-dk span:nth-child(2) { padding-left: 0; border-left: none; }
  .pss-dr em { min-width: 86px; }
  .w7 em i { width: 20px; }
  .w7 em i::before { left: 6px; }
  .w7 em i:nth-child(2)::before { left: 6px; }
  .w7 em i:nth-child(3) { width: 32px; }
  .w7 em i:nth-child(3)::before, .w7 em i:nth-child(3)::after { left: 9px; }
  .pss-ein { grid-template-columns: 1fr; border-top: none; }
  .pss-ein li, .pss-ein li + li { flex-direction: row; align-items: center; gap: 14px; padding: 14px 0; border-left: none; border-top: 1px solid var(--hair); font-size: 16.5px; line-height: 1.4; }
  .pss-ein i { flex: 0 0 auto; width: 40px; height: 40px; }
}
