/* Gemeinsame, bewusst begrenzte Muster. Keine Dokument-/Drucktypografie. */
.ph-ui-hilfe{display:inline-flex;position:relative;vertical-align:middle;margin-left:6px;text-transform:none;letter-spacing:normal;font:400 14px/1.5 system-ui,sans-serif}
.ph-ui-info{display:inline-grid;place-items:center;width:24px;height:24px;min-width:24px;padding:0;border:1px solid #8b9ba8;border-radius:50%;background:#fff;color:#385065;font:600 13px/1 system-ui,sans-serif;cursor:pointer}
.ph-ui-info[aria-expanded=true]{background:#edf5fd;border-color:#2c6aaf;color:#205e9e}
.ph-ui-hilfetext{position:absolute;z-index:1000;top:calc(100% + 6px);left:0;transform:translateX(var(--ph-hilfe-x,0px));width:280px;max-width:calc(100vw - 24px);padding:12px;background:#fff;color:#243b4a;border:1px solid #b7c6d1;border-radius:8px;box-shadow:0 4px 16px #0c1f2d26;text-align:left;white-space:normal}
.ph-ui-hilfetext[hidden],.ph-ui-form [hidden],.ph-ui-surface [hidden]{display:none!important}
.ph-ui-action{display:inline-flex;align-items:center;justify-content:center;min-height:38px;padding:8px 14px;border:1px solid #b7c6d1;border-radius:6px;background:white;color:#294960;font:600 14px/1.4 system-ui,sans-serif;text-decoration:none;cursor:pointer;white-space:normal;text-align:center}
.ph-ui-action--primary{background:#245f9d;color:white;border-color:#245f9d}
.ph-ui-action:disabled{opacity:.5;cursor:default}
.ph-ui-action:hover:not(:disabled){filter:brightness(.95)}
.ph-ui-action:focus-visible,.ph-ui-info:focus-visible{outline:2px solid #2c6aaf;outline-offset:3px}
.ph-ui-leer{padding:28px 16px;text-align:center;background:#f5f8fa;border-radius:8px;margin:16px 0}
.ph-ui-leer h3{margin:0 0 14px;font:600 18px/1.4 system-ui,sans-serif;text-transform:none;letter-spacing:normal}
.ph-ui-form .os-feld>label,.ph-ui-form .os-form-abschnitt,.ph-ui-surface>h2{font-family:system-ui,sans-serif;text-transform:none;letter-spacing:normal}
.ph-ui-form .os-feld>label{font-size:14px;line-height:1.5;color:#385065}
.ph-ui-form .os-feld>small{font-size:13px;line-height:1.5}
@media print{.ph-ui-hilfe{display:none}}

.ph-ui-form .os-feld:has(>.ph-ui-hilfe)>label{display:inline-block}
.ph-ui-form .os-abschnitt{font-size:15px;text-transform:none;letter-spacing:normal}

.os-feld:has(>.ph-ui-hilfe){position:relative}
.os-feld>.ph-ui-hilfe{position:absolute;right:0;top:0;margin:0}
.os-feld:has(>.ph-ui-hilfe)>label{padding-right:30px}

/* Sichtbare Einfachauswahl nur dort, wo das Feld sie ausdrücklich anfordert. */
.ph-ui-direktwahl{display:flex;flex-wrap:wrap;gap:8px}
.os-feld .ph-ui-wahl{display:flex;align-items:center;gap:8px;flex:1 1 150px;padding:10px 12px;border:1px solid #b7c6d1;border-radius:6px;background:#fff;color:#294960;font:500 14px/1.4 system-ui,sans-serif;text-transform:none;letter-spacing:normal;cursor:pointer}
.os-feld .ph-ui-wahl input[type=radio]{width:16px;min-width:16px;height:16px;margin:0;padding:0;accent-color:#245f9d}
.ph-ui-wahl:has(input:checked){border-color:#245f9d;background:#edf5fd;color:#174b83}
.ph-ui-wahl:focus-within{outline:2px solid #2c6aaf;outline-offset:2px}
.os-feld select[hidden]{display:none!important}
.ph-ui-position-entfernen{margin-left:auto}

.ph-ui-bestaetigung{box-sizing:border-box;width:min(520px,calc(100vw - 32px));padding:24px;border:1px solid #b7c6d1;border-radius:12px;color:#183345;background:white;font:16px/1.5 system-ui,sans-serif;box-shadow:0 16px 60px #0003}
.ph-ui-bestaetigung::backdrop{background:#0c1f2d77}
.ph-ui-bestaetigung h2{margin:0 0 12px;font-size:20px}
.ph-ui-bestaetigung footer{display:flex;flex-wrap:wrap;gap:10px;margin-top:24px}
.ph-ui-bestaetigung button{padding:10px 14px;border:1px solid #8da6bb;border-radius:6px;background:white;color:#183345;font:600 14px system-ui;cursor:pointer}
.ph-ui-bestaetigung button:focus-visible{outline:3px solid #245f9d;outline-offset:3px}
.ph-ui-bestaetigung [data-bestaetigen]{background:#245f9d;color:white;border-color:#245f9d}
