/* Die Pflegeakte (web/pflege/akte.js, 16.11.2026) — dieselbe Oberfläche am
   iPad und im Büro. Große Ziele für Finger, nichts unter 44 px. */
.paKopf { display: flex; flex-direction: column; gap: 2px; margin-bottom: 10px; }
.paKopf b { font-size: 1.15rem; }
.paReiter { display: flex; gap: 8px; overflow-x: auto; padding: 4px 0 10px; scrollbar-width: none; }
.paReiter::-webkit-scrollbar { display: none; }
.paReiterKnopf { flex: 0 0 auto; min-height: 44px; padding: 8px 16px; border-radius: 999px; border: 1px solid var(--ln); background: var(--card); color: inherit; font: inherit; font-size: .92rem; cursor: pointer; }
.paReiterKnopf.aktiv { background: var(--a); border-color: var(--a); color: #fff; font-weight: 600; }
.paInhalt { display: flex; flex-direction: column; gap: 12px; }
.paInhalt .btn { width: auto; align-self: flex-start; }
.paKacheln { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
.paKachel { display: flex; flex-direction: column; gap: 4px; text-align: left; padding: 14px; border-radius: 14px; border: 1px solid var(--ln); background: var(--card); color: inherit; font: inherit; cursor: pointer; min-height: 92px; }
.paKachel b { font-size: 1.35rem; line-height: 1.1; }
.paKachel.warn { border-color: var(--amber, #d97706); background: var(--amber-soft, #fff7e6); }
.paKachel:disabled { opacity: .6; cursor: default; }
.paKachelTitel { font-size: .78rem; color: var(--tx2); font-weight: 600; }
.paBanner { text-align: left; border-left: 5px solid var(--amber, #d97706); font: inherit; font-weight: 600; cursor: pointer; color: inherit; }
.paHinweis { border-left: 5px solid var(--amber, #d97706); }
.paFormular { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 10px 12px; align-items: end; }
.paFormular > b, .paFormular .breit, .paFormular > .muted { grid-column: 1 / -1; }
.paFeld { display: flex; flex-direction: column; gap: 4px; font-size: .8rem; color: var(--tx2); font-weight: 600; }
.paFeld.breit { grid-column: 1 / -1; }
.paHaken { display: flex; align-items: center; gap: 8px; min-height: 44px; font-size: .95rem; }
.paHaken input { width: 22px; height: 22px; }
.paKnoepfe { display: flex; gap: 8px; flex-wrap: wrap; }
.paListe { display: flex; flex-direction: column; gap: 10px; }
.paEintrag { display: flex; flex-direction: column; gap: 6px; border-left: 5px solid var(--ln); }
.paEintrag.ungelesen { border-left-color: var(--amber, #d97706); }
.paEintrag.wichtig { background: var(--amber-soft, #fff7e6); }
.paKopfzeile { display: flex; gap: 8px; align-items: baseline; flex-wrap: wrap; }
.paOffen { font-weight: 600; }
.paZeile { display: flex; gap: 10px; align-items: baseline; padding: 8px 0; border-bottom: 1px solid var(--ln); flex-wrap: wrap; }
.paZeile:last-child { border-bottom: 0; }
.paZeile .grow { flex: 1 1 220px; }
.paZeile.berichtigt, tr.berichtigt { text-decoration: line-through; opacity: .6; }
button.paZeile { width: 100%; background: none; border: 0; border-bottom: 1px solid var(--ln); font: inherit; color: inherit; text-align: left; cursor: pointer; min-height: 44px; }
.paPill { display: inline-block; padding: 2px 10px; border-radius: 999px; background: var(--pale, #eef0f3); font-size: .78rem; white-space: nowrap; }
.paPill.ok { background: #DDF3E0; color: #1F6B2E; }
.paPill.warn, .paPill.stufe-hoch, .paPill.stufe-sehr_hoch { background: #F8DADA; color: #8C1D1D; }
.paPill.stufe-mittel { background: #FCEBCB; color: #7A4B00; }
.paPill.stufe-gering { background: #EAF2D6; color: #45601A; }
.paPill.stufe-kein { background: #DDF3E0; color: #1F6B2E; }
.paZitat { font-style: italic; border-left: 3px solid var(--a); padding: 4px 0 4px 12px; margin: 6px 0; }
.paThemenfeld { margin-top: 8px; }
.paRollbar { overflow-x: auto; }
.paMatrix, .paTabelle { border-collapse: collapse; width: 100%; font-size: .88rem; margin-top: 8px; }
.paMatrix th, .paMatrix td, .paTabelle th, .paTabelle td { border-bottom: 1px solid var(--ln); padding: 8px 6px; text-align: left; white-space: nowrap; }
.paMatrix td:first-child { white-space: normal; min-width: 130px; }
.paMatrix input[type=checkbox] { width: 22px; height: 22px; }
.paTabelle tr.abweichung td:last-child { color: #8C1D1D; font-weight: 600; white-space: normal; min-width: 220px; }
.paItem { display: flex; flex-direction: column; gap: 6px; padding: 8px 0; border-bottom: 1px solid var(--ln); }
.paOptionen { display: flex; flex-wrap: wrap; gap: 8px; }
.paOption { display: flex; align-items: center; gap: 6px; min-height: 44px; padding: 6px 12px; border: 1px solid var(--ln); border-radius: 12px; background: var(--card); cursor: pointer; font-size: .9rem; }
.paOption:has(input:checked) { border-color: var(--a); background: var(--a-soft, #e9f3e7); font-weight: 600; }
.paOption input { width: 18px; height: 18px; }
.paKoerperKarte { display: flex; gap: 24px; justify-content: center; flex-wrap: wrap; }
.paKoerper { position: relative; width: 130px; }
.paKoerper.waehlbar { cursor: crosshair; outline: 2px dashed var(--a); outline-offset: 6px; border-radius: 10px; }
.paKoerperTitel { text-align: center; font-size: .78rem; color: var(--tx2); margin-bottom: 4px; }
.paFigur { width: 100%; display: block; fill: var(--pale, #e6e9ee); stroke: var(--tx2); stroke-width: 1; }
.paWundpunkt { position: absolute; width: 16px; height: 16px; margin: 18px 0 0 -8px; transform: translateY(-8px); border-radius: 50%; background: #C9302C; border: 2px solid #fff; box-shadow: 0 0 0 1px #8C1D1D; pointer-events: none; }
.paWundpunkt.heil { background: #3E7C36; box-shadow: 0 0 0 1px #1F6B2E; }
.paWundpunkt.neu { background: var(--amber, #d97706); }
.paFotos { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 6px; }
.paFoto { width: 110px; height: 110px; object-fit: cover; border-radius: 10px; border: 1px solid var(--ln); background: var(--pale, #eef0f3); }
.paVersteckt { display: none; }
.paBefund { margin-top: 8px; padding-top: 10px; border-top: 1px solid var(--ln); }
.paWerte { display: grid; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 8px; margin-top: 8px; }
.paWert { display: flex; flex-direction: column; gap: 2px; padding: 8px 10px; border-radius: 10px; background: var(--pale, #f4f5f7); }
.paWert .muted { font-size: .74rem; }
.paAmpel { display: inline-block; width: 12px; height: 12px; border-radius: 50%; margin-right: 8px; }
.paAmpel[data-ampel="rot"] { background: #C9302C; } .paAmpel[data-ampel="gelb"] { background: #E0A100; } .paAmpel[data-ampel="gruen"] { background: #3E7C36; }

/* Leistungsnachweis: Unterschriftsfeld und Tabelle (web/pflege/nachweis.js) */
.lnFeld { width: 100%; max-width: 600px; aspect-ratio: 3 / 1; background: #fff; border: 2px dashed var(--ln, #cbd5e1); border-radius: 12px; touch-action: none; display: block; }
.lnFormular { display: flex; flex-direction: column; gap: 10px; }
.lnLabel { display: flex; flex-direction: column; gap: 4px; font-size: .85rem; font-weight: 600; max-width: 600px; }
.lnTabelleRahmen { overflow-x: auto; margin: 10px 0; }
.lnTabelle tfoot td { font-weight: 700; }
.lnBild { max-width: 300px; width: 100%; background: #fff; border-radius: 8px; }
.lnHinweis { font-size: .8rem; }
.lnNachweis h3 { margin: 14px 0 4px; }

/* Handzeichen im Leistungsnachweis (db/081) */
.lnHz{font-weight:700;}
.lnHz.offen{color:var(--warn,#b45309);font-weight:600;}
.abzKarte .abzZeile{display:flex;flex-wrap:wrap;gap:8px;align-items:center;padding:10px 0;border-top:1px solid var(--ln);}
.abzKarte .abzZeile:first-of-type{border-top:0;}
.abzKarte .abzZeile .grow{min-width:180px;}

/* Der Pflege-Assistent (web/pflege/assistent.js, stand.js, start.js — db/109).
   Am Bett mit einer Hand zu bedienen: große Flächen, das Mikrofon am größten. */
.asRahmen { display: flex; flex-direction: column; gap: 12px; }
.asKarte { display: flex; flex-direction: column; gap: 8px; background: var(--card); border: 1px solid var(--ln); border-radius: 16px; padding: 14px 16px; color: inherit; font: inherit; text-align: left; }
.asKarte[hidden] { display: none; }
.asKarte ul, .asKarte ol { margin: 4px 0 0; padding-left: 20px; display: flex; flex-direction: column; gap: 6px; }
.asKopf { display: flex; flex-direction: column; gap: 10px; }
.asKopf b { font-size: 1.15rem; }
.asKopfzeile { display: flex; gap: 8px; align-items: baseline; justify-content: space-between; flex-wrap: wrap; }
.asKnoepfe { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.asKnoepfe .btn, .asKarte > .btn, .asPunkt > .btn, .asVorschlag .btn { width: auto; min-height: 48px; padding: 11px 16px; }
.asKnoepfe .field { flex: 1 1 200px; min-height: 48px; }
.asRuf { background: var(--red, #A93B2C); color: #fff; }
.asWarn, .asBanner { border-left: 5px solid var(--amber, #d97706); }
.asBanner { font-weight: 700; cursor: pointer; background: var(--amber-soft, #fff7e6); min-height: 56px; }
.asBannerRuhig { border-left: 5px solid var(--a); }
.asBlock { display: flex; flex-direction: column; gap: 10px; }
.asPunkt { display: flex; flex-direction: column; gap: 8px; background: var(--card); border: 1px solid var(--ln); border-left: 5px solid var(--amber, #d97706); border-radius: 14px; padding: 12px 14px; }
.asPunkt[data-stand="rueckfrage"] { background: var(--amber-soft, #fff7e6); }
.asAbfrage { border-left-color: var(--a); }
.asAbfrage[data-ueberfaellig="ja"] { border-left-color: var(--red, #A93B2C); }
.asFrage { font-weight: 700; font-size: 1.02rem; }
.asVerlaufListe { display: flex; flex-direction: column; gap: 10px; }
.asNachricht { align-self: flex-end; max-width: 88%; background: var(--a-soft, #EAF4E7); border-radius: 16px 16px 4px 16px; padding: 10px 14px; display: flex; flex-direction: column; gap: 4px; }
.asNachricht.wartet { opacity: .75; border: 1px dashed var(--tx2); align-self: stretch; max-width: none; }
.asAntwort { align-self: flex-start; max-width: 94%; width: 100%; background: var(--card); border: 1px solid var(--ln); border-radius: 16px 16px 16px 4px; padding: 12px 14px; display: flex; flex-direction: column; gap: 8px; }
.asVorschlag { display: flex; flex-direction: column; gap: 8px; border: 1px solid var(--ln); border-radius: 12px; padding: 10px 12px; background: var(--pale, #F5F8F2); }
.asVorschlag[data-stand="eingetragen"] { border-color: var(--a); }
.asVorschlag[data-stand="verworfen"] { opacity: .7; }
.asErledigt { color: var(--a); font-weight: 600; font-size: .9rem; }
.asEingabe { position: sticky; bottom: 0; display: flex; gap: 10px; align-items: flex-end; background: var(--pale, #F5F8F2); padding: 10px 0 6px; }
.asEingabeFeld { flex: 1 1 auto; display: flex; flex-direction: column; gap: 4px; }
.asEingabe .btn { width: auto; min-height: 56px; padding: 0 20px; }
.asMikro { flex: 0 0 auto; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; width: 96px; height: 96px; border-radius: 50%; border: 0; background: var(--a); color: #fff; font: inherit; font-weight: 700; cursor: pointer; }
.asMikro .asMikroBild { font-size: 2rem; line-height: 1; }
.asMikro .asMikroText { font-size: .78rem; }
.asMikro.aktiv { background: var(--red, #A93B2C); }
.asMikro:disabled { opacity: .5; cursor: default; }
.asMikroStart { width: auto; height: auto; min-height: 64px; border-radius: 18px; flex-direction: row; gap: 10px; padding: 10px 22px; }
.asMikroStart .asMikroText { font-size: 1.05rem; }
.asStart { border: 2px solid var(--a); }
.asStartKlient { display: flex; flex-direction: column; gap: 8px; padding: 10px 0; border-top: 1px solid var(--ln); }
.asStartZahlen { display: flex; gap: 6px; flex-wrap: wrap; }
.asAbschnitt { display: flex; flex-direction: column; gap: 4px; padding-top: 8px; border-top: 1px solid var(--ln); }
.asAbschnitt ul { margin: 0; padding-left: 20px; }
.asStamm { background: var(--pale, #F5F8F2); border-radius: 12px; padding: 10px 12px; border-top: 0; }
.asZeile { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; width: 100%; min-height: 44px; align-items: center; background: none; border: 0; border-top: 1px solid var(--ln); font: inherit; color: inherit; text-align: left; cursor: pointer; padding: 6px 0; }
.asLink { background: none; border: 0; color: var(--a); font: inherit; font-weight: 600; cursor: pointer; min-height: 32px; }
.asUeber { color: var(--red, #A93B2C); font-weight: 600; }
.asAendern { background: var(--card); border-radius: 10px; padding: 8px; }
.asFrageZeile { display: flex; gap: 8px; flex-wrap: wrap; }
.asFrageZeile .field { flex: 1 1 260px; }
.asFrageZeile .btn { width: auto; padding: 11px 20px; }
.asBelege li { padding: 4px 0; }
.asZusammenfassung { border-left: 3px solid var(--a); padding-left: 12px; }
.asArchivZeile { display: flex; gap: 12px; align-items: flex-start; padding: 10px 0; border-top: 1px solid var(--ln); }
.asArchivZeile:first-child { border-top: 0; }
.asArchivZeile.berichtigt .grow > div:first-child { text-decoration: line-through; opacity: .7; }
.asArchivZeile .grow { flex: 1 1 auto; display: flex; flex-direction: column; gap: 4px; min-width: 0; overflow-wrap: anywhere; }
.asArchivZeit { flex: 0 0 48px; font-variant-numeric: tabular-nums; font-weight: 700; }
.asArchivWer { flex: 0 0 auto; }
.asArchivKarte { font-size: .9rem; color: var(--tx2); }
.asGrenzen { display: flex; gap: 6px; flex-wrap: wrap; align-items: center; }
.psSpalten { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 12px; }
.psEinstellungen { display: flex; flex-direction: column; gap: 14px; }
.psEinstellungen details { border-top: 1px solid var(--ln); padding-top: 10px; display: flex; flex-direction: column; gap: 8px; }
.psEinstellungen summary { cursor: pointer; font-weight: 600; min-height: 32px; }
.psEinstellungen .karte { display: flex; flex-direction: column; gap: 10px; }
.psEinstellungen label.paHaken, .asKarte label.paHaken { flex-direction: row; align-items: center; font-weight: 400; }
