/* Modul modellierung – nur CSS-Variablen aus style.css verwenden (Dark Mode) */
.mtab td { vertical-align: top; }
.mtop { margin-top: .35rem; }
.mbegr { white-space: pre-line; font-size: .9rem; }
.mchip { font-family: var(--mono); font-size: .8rem; padding: .15rem .5rem; margin: 0 .25rem .3rem 0; border-radius: 3px; gap: .3rem; }
.mchip.st-vorgeschlagen { border-color: var(--warn); background: var(--warn-soft); color: var(--warn); }
.mchip.st-bestaetigt { border-color: var(--ok); background: var(--ok-soft); color: var(--ok); }
.mchip.st-abgelehnt { border-color: var(--bad); background: var(--bad-soft); color: var(--bad); text-decoration: line-through; }
.mchip.sel { outline: 2px solid var(--focus); outline-offset: 1px; }
.mchip .pill { font-size: .68rem; padding: 0 .35rem; }

.cstat { display: grid; gap: .25rem; margin-top: .3rem; min-width: 12rem; }
.cmass { margin-bottom: .6rem; }
.cselect { width: auto; min-width: 12rem; }
.cdlg { align-items: start; }
.cbtns { display: grid; grid-template-columns: repeat(4, 1fr); gap: .5rem; margin-bottom: .4rem; }
.cbtn { justify-content: center; padding: .6rem .4rem; font-weight: 600; }
.cbtn kbd { font-family: var(--mono); font-size: .75rem; border: 1px solid var(--line); border-radius: 4px; padding: 0 .3rem; background: var(--panel-2); color: var(--muted); }
.cbtn.sel.st-ja { background: var(--ok-soft); border-color: var(--ok); color: var(--ok); }
.cbtn.sel.st-teilweise { background: var(--warn-soft); border-color: var(--warn); color: var(--warn); }
.cbtn.sel.st-nein { background: var(--bad-soft); border-color: var(--bad); color: var(--bad); }
.cbtn.sel.st-entbehrlich { background: var(--brand-soft); border-color: var(--brand); color: var(--brand); }
.cact { margin-top: .8rem; }
mark.mv { background: var(--brand-soft); color: var(--brand); font-weight: 700; padding: 0 .15rem; border-radius: 3px; }
@media (max-width: 700px) { .cbtns { grid-template-columns: repeat(2, 1fr); } }

/* Auswahl Absicherung / Profil */
.ausw { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem 1rem; }
.ausw-l { font-weight: 600; font-size: .85rem; color: var(--muted); }
.ausw-seg { display: inline-flex; }
.ausw-seg button { border-radius: 0; margin-left: -1px; padding: .35rem .9rem; }
.ausw-seg button:first-child { border-radius: 6px 0 0 6px; margin-left: 0; }
.ausw-seg button:last-child { border-radius: 0 6px 6px 0; }
.ausw-seg button.on { background: var(--brand-soft); border-color: var(--brand); color: var(--text); font-weight: 700; }
.ausw-p { margin: 0; }
.mchip.aus { border-style: dashed; opacity: .7; }
.maus { font-family: var(--font, inherit); font-size: .65rem; margin-left: .3rem; color: var(--muted); }
.mgr { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; align-items: center; padding: .4rem 0; border-top: 1px solid var(--line); margin-top: .4rem; }
.mgr-b { display: flex; gap: .4rem; flex-wrap: wrap; }
@media print { .ausw-seg button:not(.on), .ausw-p input { display: none; } }
