/* Ausgabenbelege – Ergänzungen zum KranTeam-Design */
.nav-zahl:not(:empty) { margin-left: auto; background: var(--yellow); color: var(--ink); font-size: 11.5px; font-weight: 700; min-width: 24px; height: 20px; padding: 0 7px;
  display: inline-flex; align-items: center; justify-content: center; clip-path: polygon(4px 0, 100% 0, calc(100% - 4px) 100%, 0 100%); }
.kpi .wert small { font-size: 13px; font-weight: 500; color: var(--ink-2); margin-left: 6px; }
.kpi.akzent::after { background: #fdf0e3; }
table.liste td.nr { white-space: nowrap; font-variant-numeric: tabular-nums; color: var(--ink-2); font-size: 12.5px; }
table.liste td .klein { display: block; color: var(--ink-2); font-size: 12px; max-width: 260px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
table.liste tr.neu td:first-child { box-shadow: inset 4px 0 0 var(--blue); }
table.liste tr.rf td:first-child { box-shadow: inset 4px 0 0 var(--warn); }
.monat { height: 32px; border: 1px solid #cfd4da; padding: 0 10px; background: #fff; border-radius: 0; }
.werkzeug .rechts { margin-left: auto; display: flex; gap: 10px; align-items: center; }
.pdfrahmen { width: 100%; height: calc(100vh - 300px); min-height: 640px; border: 0; display: block; background: #e9ebee; }
.angaben { width: 100%; border-collapse: collapse; font-size: 13px; }
.angaben td { padding: 7px 0; border-top: 1px solid var(--line); vertical-align: top; }
.angaben tr:first-child td { border-top: 0; }
.angaben td:first-child { color: var(--ink-2); width: 42%; padding-right: 10px; }
.statusknoepfe { display: grid; gap: 8px; margin-top: 14px; }
.statusknoepfe .btn { width: 100%; box-sizing: border-box; height: auto; min-height: 40px; white-space: normal; line-height: 1.3; padding-top: 9px; padding-bottom: 9px; flex-direction: column; gap: 2px; text-align: center; }
.statusknoepfe .btn small { font-weight: 500; font-size: 12.5px; opacity: .85; }
.verlauf { list-style: none; margin: 0; padding: 0; font-size: 13px; }
.verlauf li { padding: 8px 0; border-top: 1px solid var(--line); }
.verlauf li:first-child { border-top: 0; }
.verlauf small { display: block; color: var(--ink-3); font-size: 11.5px; }
.rueckfrage-text { background: #fdf3e8; border-left: 4px solid var(--warn); padding: 10px 12px; margin-top: 12px; font-size: 13px; }
.dateiname-box { background: #f6f7f8; border: 1px solid var(--line); padding: 10px 12px; font-size: 12.5px; word-break: break-word; margin-top: 12px; }
.dateiname-box b { display: block; font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 3px; }
.handy-link { font-size: 18px; font-weight: 600; background: #f6f7f8; border: 1px solid var(--line); padding: 14px 16px; word-break: break-all; margin: 6px 0 14px; }
.anleitung { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.anleitung ol { margin: 8px 0 0; padding-left: 20px; line-height: 1.7; }
.check-zeile { display: flex; align-items: center; gap: 8px; font-weight: 500; }
.check-zeile input { width: 18px; height: 18px; accent-color: var(--blue); }
td.cb, th.cb { width: 42px; text-align: center; }
td.cb input, th.cb input { width: 17px; height: 17px; accent-color: var(--blue); }
@media (max-width: 1250px) { .anleitung { grid-template-columns: 1fr; } }
.card-body.flach { overflow-x: auto; }
.freigabe-info { background: #e5f3e9; border-left: 4px solid var(--ok); padding: 9px 12px; font-size: 13px; margin-bottom: 4px; }
.sigpad { position: relative; border: 1px solid #cfd4da; background: #fff; }
.sigpad canvas { display: block; width: 100%; height: auto; aspect-ratio: 1400 / 420; touch-action: none; cursor: crosshair; }
.sigpad .sigleer { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; color: var(--ink-3); pointer-events: none; text-align: center; padding: 20px; }
.sigzeige { min-height: 90px; display: flex; align-items: center; }
.sigzeige img { max-height: 120px; max-width: 420px; border-bottom: 1px solid var(--line); }
.modal.bearb { max-width: 1280px; }
.bearb-raster { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 24px; align-items: start; }
.bearb-vorschau { position: sticky; top: 0; background: #f4f5f7; border: 1px solid var(--line); padding: 10px; max-height: calc(100vh - 220px); overflow: auto; }
.bearb-vorschau img { display: block; width: 100%; background: #fff; border: 1px solid var(--line); margin-bottom: 10px; }
.bfotos { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 10px; }
.bfoto { position: relative; width: 130px; height: 170px; border: 1px solid var(--line); background: #f4f5f7; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.bfoto img { max-width: 100%; max-height: 100%; }
.bfoto .nummer { position: absolute; left: 6px; top: 6px; }
.bfoto-k { position: absolute; right: 4px; bottom: 4px; display: flex; gap: 4px; }
.bfoto.neu { border: 2px dashed #cfd4da; flex-direction: column; gap: 4px; cursor: pointer; color: var(--ink-2); text-align: center; padding: 8px; }
.bfoto.neu:hover { border-color: var(--blue); background: var(--blue-soft); }
.bfoto.neu small { font-size: 11px; }
@media (max-width: 1250px) { .bearb-raster { grid-template-columns: 1fr; } .bearb-vorschau { position: static; max-height: none; } }
.us-karten { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px; }
.us-karte { border: 1px solid var(--line); background: #fff; display: flex; flex-direction: column; }
.us-karte.haupt { border-color: var(--blue); box-shadow: inset 0 0 0 1px var(--blue); }
.us-bild { height: 130px; display: flex; align-items: center; justify-content: center; padding: 10px; background: repeating-conic-gradient(#f4f5f7 0% 25%, #fff 0% 50%) 50% / 16px 16px; border-bottom: 1px solid var(--line); }
.us-bild img { max-width: 100%; max-height: 100%; }
.us-info { padding: 10px 12px 4px; display: flex; flex-direction: column; } .us-info span { font-size: 12px; color: var(--ink-2); }
.us-k { padding: 6px 12px 12px; display: flex; gap: 8px; align-items: center; justify-content: space-between; }
.fg-vorschau { display: flex; align-items: center; gap: 14px; border: 1px solid var(--line); padding: 10px 12px; margin-top: 8px; }
.fg-vorschau img { max-height: 70px; max-width: 220px; } .fg-vorschau span { font-size: 12.5px; color: var(--ink-2); }
/* Vorschläge beim Tippen (30.11.2026) */
.vorschlag { position: absolute; left: 0; right: 0; top: 100%; z-index: 50; background: #fff; border: 1px solid #cfd4da; border-top: 0; box-shadow: 0 8px 18px rgba(0,0,0,.14); }
.vorschlag[hidden] { display: none; }
.vorschlag button { display: block; width: 100%; text-align: left; background: none; border: 0; border-top: 1px solid #eef0f2; padding: 8px 12px; font: inherit; font-size: 14px; cursor: pointer; }
.vorschlag button:first-child { border-top: 0; }
.vorschlag button small { display: block; font-size: 12px; color: #6b7178; }
.vorschlag button:hover { background: #eef3fb; }
/* Ausgaben nach Kategorie (30.11.2026) */
.kat-karte { margin-bottom: 16px; }
.kat-kopf { display: flex; gap: 10px; align-items: center; width: 100%; background: none; border: 0; padding: 14px 20px; font: inherit; text-align: left; cursor: pointer; }
.kat-kopf .muted { margin-left: auto; }
.kat-tabelle tr.aktiv td { background: #eef3fb; font-weight: 600; }
.balken { height: 10px; background: #eef0f2; } .balken i { display: block; height: 100%; background: #0257af; }
/* Beleg im Büro erfassen (01.12.2026) */
.ablage-zone { border: 2px dashed #b9c3cf; background: #fafbfc; padding: 16px 20px; margin: 0 0 16px; text-align: center; color: #4a5563; font-size: 14px; transition: background .15s, border-color .15s; }
.ablage-zone.aktiv { border-color: #0257af; background: #eef3fb; color: #0257af; }
.ablage-zone .link { font-weight: 700; }
.fuer-box { background: #f4f6f8; padding: 10px 12px 2px; margin-bottom: 12px; }
/* Erstatten an (01.12.2026) */
.erst { display: block; font-size: 11.5px; color: #b45309; text-transform: uppercase; letter-spacing: .04em; font-weight: 600; }
.erst.fertig { color: #2f7d32; }
.erst-name { display: block; font-weight: 600; }
.erst-uebersicht { display: flex; flex-wrap: wrap; gap: 8px 18px; align-items: baseline; padding: 12px 20px; background: #fff8e6; border-bottom: 1px solid #f0e0b0; font-size: 14px; }
.erst-person { white-space: nowrap; }
.btn.zurueck { background: #f1f3f5; color: #4a5563; font-weight: 500; height: auto; min-height: 38px; white-space: normal; line-height: 1.3; padding-top: 8px; padding-bottom: 8px; margin-top: 6px; }
.btn.zurueck:hover:not(:disabled) { background: #e4e7eb; }
.statusknoepfe { margin-bottom: 18px; }
.statusknoepfe .btn { position: relative; }
.personen-chips { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin: -6px 0 12px; grid-column: 1 / -1; font-size: 13px; }
.personen-chips .chip { font-size: 13px; padding: 4px 10px; }
/* Großansicht Beleg (01.12.2026) */
.gross-ansicht { position: fixed; inset: 0; z-index: 1000; background: rgba(20,22,26,.94); display: flex; flex-direction: column; }
.ga-leiste { display: flex; align-items: center; gap: 8px; padding: 10px 16px; color: #fff; }
.ga-leiste .ga-zahl { font-weight: 700; margin-right: auto; } .ga-leiste .ga-tipp { color: #9aa3ad; font-size: 12.5px; margin-right: 12px; }
.ga-flaeche { flex: 1; overflow: auto; display: flex; align-items: center; justify-content: center; padding: 10px 70px 24px; cursor: zoom-out; }
.ga-flaeche.zoom { display: block; cursor: grab; } .ga-flaeche.zoom img { margin: 0 auto; display: block; cursor: zoom-out; }
.ga-flaeche img { background: #fff; box-shadow: 0 6px 30px rgba(0,0,0,.5); cursor: zoom-in; max-width: none; }
.ga-flaeche img.fit { max-width: 100%; max-height: calc(100vh - 100px); }
.ga-pfeil { position: absolute; top: 50%; transform: translateY(-50%); width: 52px; height: 80px; border: 0; background: rgba(255,255,255,.12); color: #fff; font-size: 44px; cursor: pointer; }
.ga-pfeil:hover { background: rgba(255,255,255,.25); } .ga-pfeil.links { left: 10px; } .ga-pfeil.rechts { right: 10px; } .ga-pfeil[hidden] { display: none; }
/* Monatskachel zum Durchblättern (01.12.2026) */
.kpi-monat .lbl { display: flex; align-items: center; gap: 4px; }
.kpi-pfeil { border: 0; background: #eef0f2; width: 26px; height: 24px; font-size: 18px; line-height: 1; cursor: pointer; color: var(--ink); }
.kpi-pfeil:hover:not(:disabled) { background: #dfe3e7; } .kpi-pfeil:disabled { opacity: .35; cursor: default; }
.kpi-titel { border: 0; background: none; font: inherit; letter-spacing: inherit; text-transform: inherit; color: inherit; cursor: pointer; padding: 0 4px; }
.kpi-titel:hover, .kpi-jahr:hover { color: #0257af; text-decoration: underline; }
.kpi-jahr { border: 0; background: none; padding: 0; margin-top: 4px; font: inherit; font-size: 12.5px; color: var(--ink-2); cursor: pointer; text-align: left; }
/* Ladestrom (01.12.2026) */
.laden-summe { grid-column: span 2; align-self: end; background: #2b2d30; color: #fff; padding: 10px 14px; border-left: 5px solid #f6e500; font-size: 14px; }
.laden-summe b { color: #f6e500; font-size: 17px; }
.laden-vorschlag { display: flex; flex-wrap: wrap; gap: 6px; align-content: flex-start; padding-top: 22px; }
.vs-chip { display: inline-flex; align-items: stretch; padding: 0; gap: 0; }
.vs-chip button { background: none; border: 0; font: inherit; color: inherit; cursor: pointer; padding: 6px 10px; }
.vs-chip button small { color: #777; font-weight: 400; margin-left: 4px; }
.vs-chip .vs-weg { padding: 6px 9px; border-left: 1px solid rgba(0,0,0,.12); color: #999; }
.vs-chip .vs-weg:hover { color: #c00; }
.link-knopf { background: none; border: 0; color: #0257af; cursor: pointer; font: inherit; font-size: 13px; text-decoration: underline; padding: 6px 4px; }
.laden-liste { display: grid; gap: 6px; margin-bottom: 14px; max-width: 640px; }
.laden-person { display: flex; align-items: center; gap: 10px; background: #f4f5f7; border-left: 4px solid #f6e500; padding: 8px 10px; }
.laden-person .blitz { color: #d9a400; } .laden-person small { color: #777; } .laden-person .weg { margin-left: auto; }
.laden-neu { display: flex; gap: 10px; align-items: flex-end; max-width: 640px; } .laden-neu .feld { flex: 1; margin: 0; }
.laden-vorschlag { padding-top: 12px; }
.laden-neu { max-width: 860px; } .laden-neu .feld:first-child { flex: 1; } .laden-neu .feld:nth-child(2) { flex: 1.2; }
.laden-namefeld { flex: 0 1 260px; padding: 6px 8px; font: inherit; border: 1px solid #bbb; }
.mini-btn { padding: 6px 14px; font-size: 13px; margin-left: auto; }
.laden-liste { max-width: 860px; }
.laden-person [data-name] { margin-left: auto; } .laden-person .weg { margin-left: 6px; }
