/* Mein Bereich 2.0 – shared state surfaces, never brown. */
.mb-dialog { box-sizing:border-box; width:min(38rem,calc(100vw - 2rem)); max-height:85dvh; padding:24px; border:1px solid var(--line); border-radius:18px; background:var(--surface); color:var(--text); overflow:auto; }
.mb-dialog::backdrop { background:rgb(10 18 35 / 55%); }
.mb-dialog > form + form { margin-top:12px; }
.mb-dialog .mb-qr { display:grid; justify-items:center; gap:16px; margin:16px 0; }
.mb-dialog .mb-qr img { max-width:100%; height:auto; }
.mb-settings-card { padding:16px; border:1px solid var(--line); border-radius:14px; background:var(--surface); margin-top:16px; }
.mb-settings-card > summary { cursor:pointer; color:var(--ink); font-weight:600; min-height:44px; padding:10px 12px; border-radius:9px; background:var(--surface-2); box-sizing:border-box; }
.mb-settings-card[open] > summary { margin-bottom:16px; }
.mb-settings-card > label { display:grid; gap:8px; margin:12px 0; }
.mb-danger-action { color:var(--danger-text, #bd1239) !important; }
.mb-connections .mb-connection-list { display:grid; gap:16px; margin:20px 0; }
.mb-connection-card { padding:20px; background:var(--surface); border:1px solid var(--line); border-radius:16px; min-width:0; }
.mb-connection-heading { display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:12px; margin-bottom:16px; }
.mb-connection-heading h3 { margin:0; font-size:22px; }
.mb-connection-status { display:inline-flex; align-items:center; gap:8px; padding:9px 14px; border:1px solid; border-radius:10px; font-size:16px; font-weight:700; }
.mb-connection-status.is-connected { color:var(--ok-text); background:var(--ok-tint); border-color:var(--ok-tint-line); }
.mb-connection-status.is-disconnected { color:var(--muted); background:var(--pause-tint); border-color:var(--line); }
.mb-connection-card summary,.mb-reminder-settings summary,.mb-channel-info summary { cursor:pointer; min-height:44px; padding:10px 0; color:var(--link); font-weight:600; }
.mb-connection-card details[open] { margin-top:12px; border-top:1px solid var(--line); }
.mb-connection-required { padding:16px; border:1px solid var(--warning-tint-line); border-radius:12px; background:var(--warning-tint); color:var(--warning-text); }
.mb-connection-note,.mb-connection-availability { font-size:15px; color:var(--muted); }
.mb-reminder-settings { border-top:1px solid var(--line); margin-top:20px; padding-top:12px; }
.mb-account { display:grid; gap:28px; }
.mb-account .profile-section-head { margin:0; }
.mb-account .account-card { padding:12px; margin:0; min-height:0; }
.mb-account .mb-account-plan { gap:12px; }
.mb-account .mb-account-editors .profile-card { margin:0; padding:16px 20px; }
.mb-account .mb-account-editors summary { display:grid; grid-template-columns:180px minmax(0,1fr) auto; gap:16px; align-items:center; }
.mb-account .mb-account-editors summary strong { font-weight:500; overflow-wrap:anywhere; }
.mb-account .mb-account-editors summary span:last-child { color:var(--link); text-decoration:underline; }
.mb-account .mb-delete { margin-top:12px; }
@media(max-width:650px) { .mb-account .mb-account-editors summary { grid-template-columns:minmax(0,1fr) auto; gap:8px; } .mb-account .mb-account-editors summary strong { grid-column:1; grid-row:2; } .mb-account .mb-account-editors summary span:last-child { grid-column:2; grid-row:1 / 3; } }
.mb-qr { margin:20px 0; max-width:360px; }
.mb-qr img { display:block; width:246px; max-width:100%; height:auto; background:#fff; }
.mb-qr figcaption { font-size:15px; margin-top:12px; overflow-wrap:anywhere; }
.mb-shell { display:grid; grid-template-columns:230px minmax(0,1fr); gap:32px; font-size:18px; line-height:1.55; }
.mb-content { min-width:0; display:grid; gap:24px; }
.mb-sidebar { align-self:start; position:sticky; top:24px; }
.mb-sidebar nav,.mb-dialog nav { display:grid; gap:8px; margin-top:20px; }
.mb-sidebar a,.mb-dialog a { display:block; padding:12px; border-radius:12px; text-decoration:none; color:var(--text); }
.mb-sidebar a[aria-current] { background:var(--primary-soft); color:var(--primary-text); font-weight:700; }
.mb-bottom { display:none; }
.mb-dialog { background:var(--surface); color:var(--ink); border:1px solid var(--line); border-radius:20px; max-width:calc(100% - 32px); }
.mb-dialog::backdrop { background:#10182c99; }
.mb-person { display:grid; gap:24px; }
.mb-today { display:flex; gap:24px; align-items:flex-start; padding:32px; border:1px solid var(--tint-line); border-radius:24px; background:var(--tint-bg); }
.mb-today h2 { font-size:32px; line-height:1.25; margin:16px 0; }
.mb-today small { display:block; margin-top:20px; }
.mb-status-symbol { flex-shrink:0; display:grid; place-items:center; width:72px; height:72px; font-size:32px; background:var(--surface); border-radius:46% 54% 42% 58% / 55% 45% 55% 45%; box-shadow:0 6px 16px #18233f10; }
.mb-today--bestaetigt { background:var(--ok-tint); border-color:var(--ok-tint-line); }
.mb-today--ueberfaellig,.mb-today--quittiert { background:var(--warning-tint); border-color:var(--warning-tint-line); }
.mb-today--versandfehler,.mb-today--kontaktkette { background:var(--danger-tint); border-color:var(--danger-tint-line); }
.mb-today--pausiert { background:var(--pause-tint); border-color:var(--pause-tint-line); }
.mb-today-grid { display:grid; grid-template-columns:minmax(0,1.5fr) minmax(0,1fr); gap:24px; }
.mb-today-grid aside { display:grid; align-content:start; gap:20px; min-width:0; }
.mb-steps { list-style:none; margin:0; padding:0; }
.mb-step { display:grid; grid-template-columns:70px minmax(0,1fr); gap:16px; padding:18px 0; border-bottom:1px solid var(--line); }
.mb-step p { margin:4px 0; }
.mb-step--skipped { color:var(--muted); }
.mb-step--done,.mb-step--ack { color:var(--ok-text); }
.mb-step--failed { color:var(--danger-text); }
.mb-step--sim { color:var(--sim-text); }
.mb-setup { border:1px solid var(--tint-line); background:var(--tint-bg); padding:20px; border-radius:20px; }
.mb-simulation,.mb-pause-banner { padding:16px 20px; margin-bottom:20px; border-radius:12px; background:var(--pause-tint); border:1px solid var(--pause-tint-line); }
.mb-simulation { background:var(--sim-soft); color:var(--sim-text); border:1px dashed var(--sim-line); }
.mb-time-row { display:flex; justify-content:space-between; align-items:center; gap:20px; padding:16px 0; border-bottom:1px solid var(--line); }
.mb-time-row small { display:block; color:var(--muted); }
.mb-time-row input { flex:0 0 130px; width:130px; }
.mb-save { position:sticky; bottom:12px; display:flex; justify-content:space-between; flex-wrap:wrap; align-items:center; gap:12px; background:var(--surface); border:1px solid var(--line); padding:16px; border-radius:12px; margin:20px 0; }
.mb-content :is(button,.lz-btn) { min-height:44px; white-space:normal; }
.mb-content .lz-btn--primary { min-height:52px; }
.mb-content :focus-visible,.mb-bottom :focus-visible { outline:3px solid var(--focus); outline-offset:3px; }
.mb-pause { border-top:1px solid var(--line); margin-top:24px; padding-top:20px; }
.mb-delete { margin-top:40px; border-color:var(--danger-line); }
.mb-channel-cards { display:grid; grid-template-columns:repeat(auto-fit,minmax(min(100%,200px),1fr)); gap:16px; }
.mb-channel-cards article { display:grid; grid-template-rows:subgrid; grid-row:span 3; padding:20px; border:1px solid var(--line); border-radius:16px; }
.mb-channel-cards p { margin:0; }
.mb-wizard nav { display:flex; flex-wrap:wrap; gap:10px; margin-bottom:20px; }
.mb-wizard nav a { padding:8px; border:1px solid var(--line); border-radius:8px; }
.mb-wizard nav a[aria-current] { background:var(--primary-soft); font-weight:700; }
.mb-contact-facts { display:grid; grid-template-columns:120px minmax(0,1fr); gap:6px 16px; margin:20px 0; }
.mb-contact-facts dd { margin:0; }
.mb-shell label { font-size:16px; }
.mb-shell label small { font-size:14px; }
.mb-today { --state-text:var(--primary-text); --state-dot:var(--primary); --state-line:var(--tint-line); --state-soft:var(--primary-soft); }
.mb-today--bestaetigt { --state-text:var(--ok-text); --state-dot:var(--ok-dot); --state-line:var(--ok-tint-line); --state-soft:var(--ok-soft); }
.mb-today--ueberfaellig,.mb-today--quittiert { --state-text:var(--warning-text); --state-dot:var(--warning-dot); --state-line:var(--warning-tint-line); --state-soft:var(--warning-soft); }
.mb-today--versandfehler,.mb-today--kontaktkette { --state-text:var(--danger-text); --state-dot:var(--danger-dot); --state-line:var(--danger-tint-line); --state-soft:var(--danger-soft); }
.mb-today--pausiert { --state-text:var(--muted); --state-dot:var(--neutral-dot); --state-line:var(--pause-tint-line); --state-soft:var(--pause-tint); }
.mb-today .lz-pill { color:var(--state-text); background:var(--surface); border:1.5px solid var(--state-line); }
.mb-today .lz-pill::before { content:""; width:9px; height:9px; border-radius:50%; background:var(--state-dot); display:inline-block; margin-right:6px; }
.mb-status-symbol { color:var(--state-text); box-shadow:0 0 0 5px var(--state-soft),0 6px 16px #18233f14; }
.mb-status-symbol svg { width:30px; height:30px; }
.mb-next-action { background:var(--surface); border:1px solid var(--state-line); border-radius:10px; padding:12px 16px; }
.mb-content input,.mb-content select { max-width:100%; min-width:0; }
.mb-content p,.mb-content dd { overflow-wrap:anywhere; }
.mb-account-plan { display:grid; gap:16px; background:var(--tint-bg); border:1px solid var(--tint-line); border-radius:18px; padding:20px; }
.mb-account-plan .account-card { background:transparent; min-width:0; flex-wrap:wrap; }
.mb-account-plan .account-icon,.mb-content .retention-note { color:var(--primary-text); background:var(--primary-soft); }
.mb-account-plan .account-card { border:0; box-shadow:none; }
.mb-account-plan .account-card h2 { font-size:22px; }
.mb-account-plan .inline-form label { flex:1 1 160px; }
.mb-account-plan .inline-form button { flex:0 0 auto; }
[hidden] { display:none!important; }
.mb-account-plan .inline-form { display:flex; flex-wrap:wrap; gap:12px; align-items:end; max-width:100%; }
.mb-account-editors { display:grid; gap:12px; }
.mb-account-editors summary { cursor:pointer; padding:12px 0; min-height:44px; overflow-wrap:anywhere; }
.mb-access-counts { display:grid; grid-template-columns:repeat(auto-fit,minmax(140px,1fr)); gap:12px; }
.mb-access-counts dd { margin:8px 0 0; font-size:24px; font-weight:700; }
.mb-access-search { display:flex; flex-wrap:wrap; align-items:end; gap:16px; margin:24px 0; }
.mb-access-table { overflow-x:auto; max-width:100%; }
.mb-access-table table { min-width:800px; width:100%; border-collapse:collapse; }
.mb-access-table th,.mb-access-table td { padding:16px; border-bottom:1px solid var(--line); text-align:left; }
.mb-access-table [scope=rowgroup] { background:var(--tint-bg); }
:where(a,button,input,select,textarea,summary):focus-visible { outline:3px solid var(--focus); outline-offset:3px; }
@media(prefers-reduced-motion:reduce) { *,*::before,*::after { scroll-behavior:auto!important; animation:none!important; transition:none!important; } }
@media(max-width:1000px) { .mb-shell { grid-template-columns:190px minmax(0,1fr); gap:20px; } .mb-today-grid { grid-template-columns:minmax(0,1fr); } }
@media(max-width:760px) { .mb-shell { grid-template-columns:minmax(0,1fr); padding-bottom:80px; } .mb-sidebar { display:none; } .mb-bottom { position:fixed; z-index:40; bottom:0; left:0; right:0; display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); background:var(--surface); border-top:1px solid var(--line); padding:8px 8px max(8px,env(safe-area-inset-bottom)); } .mb-bottom a,.mb-bottom button { display:grid; place-items:center; padding:10px 2px; min-height:44px; font-size:15px; color:var(--text); background:none; border:0; text-decoration:none; } .mb-bottom [aria-current] { color:var(--primary-text); background:var(--primary-soft); border-radius:10px; } .mb-today { padding:24px 18px; gap:14px; flex-direction:column; } .mb-today h2 { font-size:26px; } .mb-time-row { flex-wrap:wrap; } .mb-save { bottom:76px; } }/* Design 21.10.2026: „Anmeldung merken“ als Zeile wie die aufklappbaren Kontozeilen */
.mb-account .mb-account-editors .mb-account-link { display:grid; grid-template-columns:180px minmax(0,1fr) auto; gap:16px; align-items:center; min-height:44px; color:var(--text); text-decoration:none; }
.mb-account .mb-account-editors .mb-account-link strong { font-weight:500; overflow-wrap:anywhere; }
.mb-account .mb-account-editors .mb-account-link span:last-child { color:var(--link); text-decoration:underline; }
.mb-account .mb-account-editors .mb-account-link:focus-visible { outline:3px solid var(--primary); outline-offset:2px; }
@media(max-width:650px) { .mb-account .mb-account-editors .mb-account-link { grid-template-columns:minmax(0,1fr) auto; gap:8px; } .mb-account .mb-account-editors .mb-account-link strong { grid-column:1; grid-row:2; } .mb-account .mb-account-editors .mb-account-link span:last-child { grid-column:2; grid-row:1 / span 2; } }

.mb-account .mb-account-editors summary span:last-child,
.mb-account .mb-account-editors .mb-account-link span:last-child { display:inline-flex; align-items:center; justify-content:center; min-height:36px; padding:4px 12px; border:1px solid var(--line); border-radius:9px; background:var(--surface); color:var(--ink); text-decoration:none; font-size:14px; font-weight:600; }
.mb-pause.mb-settings-card { padding:16px; }

#login-memory fieldset { border:0; padding:0; margin:16px 0; display:grid; gap:10px; }
#login-memory legend { font-weight:600; margin-bottom:12px; }
#login-memory .lz-check { padding:12px; margin:0; border:1px solid var(--line); border-radius:10px; min-height:44px; }
#login-memory .lz-check:has(input:checked) { background:var(--primary-soft); border-color:var(--primary); }
