/* OrgFam – globale Styles (MudBlazor liefert das Grundlayout) */
html, body { font-family: Roboto, "Segoe UI", Arial, sans-serif; }
a.brand { display: inline-flex; align-items: center; gap: .5rem; color: inherit; text-decoration: none; font-weight: 600; font-size: 1.1rem; margin-left: .25rem; }
.family-name { opacity: .85; }
.swatch { display: inline-block; width: 12px; height: 12px; border-radius: 50%; vertical-align: middle; margin-right: 4px; flex-shrink: 0; }
.muted { color: #6b7678; font-size: .85rem; }
.amount-neg { color: #c62828; } .amount-pos { color: #2e7d32; }
.num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.clickable { cursor: pointer; }
.inspect-banner { background: #b71c1c; color: #fff; padding: .35rem 1rem; text-align: center; font-size: .9rem; }

/* Kalender */
.cal-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); border-top: 1px solid #e0e0e0; border-left: 1px solid #e0e0e0; }
.cal-head { font-size: .75rem; font-weight: 600; text-align: center; padding: .3rem 0; background: #f5f7f7; border-right: 1px solid #e0e0e0; border-bottom: 1px solid #e0e0e0; }
.cal-day { min-height: 96px; border-right: 1px solid #e0e0e0; border-bottom: 1px solid #e0e0e0; padding: 2px; overflow: hidden; cursor: pointer; }
.cal-day.other { background: #fafafa; color: #9e9e9e; }
.cal-day.today { background: #e0f2f1; }
.cal-day .dnum { font-size: .75rem; font-weight: 600; padding: 0 2px; }
.cal-ev { font-size: .72rem; line-height: 1.25; border-radius: 3px; padding: 1px 3px; margin: 1px 0; color: #fff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; cursor: pointer; }
.cal-ev.allday { opacity: .9; }
.cal-ev.special { color: #333; background: #fff3e0 !important; border-left: 3px solid; }
.cal-more { font-size: .7rem; color: #00796b; padding-left: 2px; }
.agenda-day { font-weight: 600; margin-top: .8rem; padding: .2rem 0; border-bottom: 1px solid #e0e0e0; }
.agenda-item { display: flex; gap: .6rem; padding: .45rem .2rem; align-items: flex-start; cursor: pointer; border-radius: 6px; }
.agenda-item:hover { background: #f1f8f7; }
.agenda-time { width: 92px; flex-shrink: 0; font-size: .85rem; color: #555; }
.agenda-bar { width: 4px; align-self: stretch; border-radius: 2px; flex-shrink: 0; }
@media (max-width: 700px) {
  .cal-day { min-height: 58px; }
  .cal-ev { font-size: 0; height: 6px; padding: 0; margin: 1px; }
  .cal-ev.special { height: 6px; }
  .cal-more { display: none; }
}

/* Konto-Seiten (statisch gerendert) */
.acc-shell { min-height: 100vh; background: linear-gradient(160deg, #e0f2f1, #f5f7f7 60%); display: flex; flex-direction: column; align-items: center; padding: 1rem; }
.acc-head { width: 100%; max-width: 460px; display: flex; justify-content: space-between; align-items: center; padding: .5rem 0 1rem; }
.acc-head a { display: inline-flex; align-items: center; gap: .5rem; color: #00695c; font-weight: 600; font-size: 1.25rem; text-decoration: none; }
.acc-lang a { font-size: .85rem; margin-left: .5rem; color: #777; } .acc-lang a.active { color: #00695c; font-weight: 700; }
.acc-card { width: 100%; max-width: 460px; background: #fff; border-radius: 12px; padding: 1.5rem 1.5rem 2rem; box-shadow: 0 2px 12px rgba(0,0,0,.08); box-sizing: border-box; }
.acc-card h1 { font-size: 1.4rem; margin: 0 0 1rem; }
.acc-card label { display: block; font-size: .9rem; margin: .8rem 0 .25rem; color: #444; }
.acc-card input:not([type=checkbox]):not([type=hidden]) { width: 100%; padding: .7rem .75rem; border: 1px solid #ccc; border-radius: 6px; font-size: 1rem; box-sizing: border-box; }
.acc-card .btn { margin-top: 1.2rem; width: 100%; background: #00796b; color: #fff; border: 0; border-radius: 6px; padding: .8rem; font-size: 1rem; cursor: pointer; }
.acc-card .err { background: #fdecea; color: #b71c1c; border-radius: 6px; padding: .6rem .8rem; margin: .5rem 0; font-size: .9rem; }
.acc-card .ok { background: #e8f5e9; color: #1b5e20; border-radius: 6px; padding: .6rem .8rem; margin: .5rem 0; font-size: .9rem; }
.acc-card .muted { color: #777; font-size: .85rem; }
.acc-card .qr { display: block; margin: 1rem auto; width: 200px; height: 200px; }
.acc-card code { word-break: break-all; }
.acc-foot { padding: 1rem; font-size: .85rem; color: #777; }
.validation-message { color: #b71c1c; font-size: .85rem; }
.of-input { width: 100%; padding: .6rem .7rem; border: 1px solid #bbb; border-radius: 6px; font-size: 1rem; box-sizing: border-box; }
h1:focus { outline: none; }
