:root{
  --bg:#f7f8fb;
  --card:#ffffff;
  --muted:#6b7280;
  --accent:#2563eb;
  --border:#e6e9ef;
}
*{box-sizing:border-box;font-family:Inter, system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial}
body{margin:0;background:var(--bg);color:#0f172a}
.app-header{background:transparent;color:#fff;margin:0;padding:0;height:60px;display:flex;align-items:center;justify-content:center}
.app-header .header-inner{max-width:956px;width:100%;margin: ;padding: 0;box-sizing:border-box;display:flex;align-items:center;justify-content:center;height:60px;background:#91B0F4;border-bottom-left-radius:8px;border-bottom-right-radius:8px;background-image:url('doppik.png');background-repeat:no-repeat;background-position:0px center;background-size:50px 50px}
.app-label{color:#fff;font-weight:700;font-size:14px;line-height:1;margin:0;text-align:center}
.container{max-width:1000px;margin:28px auto;padding:18px}
.top{background:var(--card);border:1px solid var(--border);border-radius:8px;padding:12px 16px;margin-bottom:18px}
.controls{display:flex;gap:12px;align-items:end;flex-wrap:wrap}
.field{display:flex;flex-direction:column;gap:6px}
.label-text{font-size:12px;color:var(--muted)}
input[type="text"],input[type="number"]{padding:10px 12px;border:1px solid var(--border);border-radius:6px;background:#fff;width:160px}
button{background:var(--accent);color:#fff;border:none;padding:10px 16px;border-radius:8px;cursor:pointer}
button[disabled]{opacity:0.5;cursor:not-allowed}
.secondary{background:#fff;color:var(--muted);border:1px solid var(--border)}
.tcontainer{display:flex;gap:18px}
.tcontainer .col{flex:1;display:flex;flex-direction:column;gap:12px}
.tcontainer .col.left{align-items:flex-start}
.tcontainer .col.right{align-items:flex-end}
.taccount{background:var(--card);border:1px solid var(--border);border-radius:6px;padding:8px;width:400px}
.taccount table{width:100%;border-collapse:collapse}
.acct-title{text-align:left;padding:8px 6px 10px 6px;font-weight:600;border-bottom:1px solid var(--border)}
.taccount th{padding:6px;text-align:left;border-top:0}
.taccount td{padding:6px;text-align:right;border-top:0}
.taccount th.side{width:50%;text-align:right;color:var(--muted);font-weight:600}

/* vertical separator between Soll and Haben (2nd column) */
.taccount th:nth-child(2),
.taccount td:nth-child(2){
  border-left:1px solid var(--border);
  padding-left:12px;
}

.taccount th:nth-child(1),
.taccount td:nth-child(1){
  padding-right:12px;
}
.sum-row td{font-weight:700;border-top:1px solid var(--border)}
.empty{color:var(--muted);padding:18px}

.saldo-row td{font-weight:700;border-top:1px dashed var(--border);color:var(--accent);}

/* Footer */
.site-footer{background:transparent;margin-top:18px}
.site-footer .footer-inner{max-width:1000px;margin:0 auto;padding:12px 18px;display:flex;justify-content:space-between;align-items:center;color:var(--muted);font-size:13px}
.site-footer a{color:var(--muted);text-decoration:underline}

.site-footer .footer-notice{max-width:1000px;margin:0 auto;padding:8px 18px 0;color:var(--muted);font-size:13px}
.site-footer .footer-notice p{margin:0}

.impressum{max-width:800px;margin:28px auto;padding:18px;background:var(--card);border:1px solid var(--border);border-radius:8px}
.impressum h1{margin-top:0}
