/* Lohi BW Steuerrad — Oberflaeche fuer Anmeldung, Uebersicht und Import.
   Layout nach dem LOEWI-AI-Thema (wie status-loewi.steuersoft.de):
   kuehles Hellgrau mit Gelb-Glow, weisse Schatten-Karten, gelbe Pill-Wortmarke,
   Gelb-Gradient-Buttons. Keine externen Schriften/CDNs (CSP default-src self). */
:root {
  --bg: #f1f3f6;
  --card: #ffffff;
  --line: #d7dce3;
  --text: #2f3238;
  --muted: #666f7b;
  --yellow: #ffe100;
  --ok: #138a45;
  --warn: #b45309;
  --fehler: #c43d3d;
  --blau: #0a1e3d;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
body {
  font-family: "Segoe UI", system-ui, -apple-system, sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 12% 8%, rgba(255, 225, 0, 0.2), transparent 32%),
    linear-gradient(180deg, #f7f8fa 0%, var(--bg) 100%);
  min-height: 100vh;
  line-height: 1.5;
}

.wrap { max-width: 1180px; margin: 0 auto; padding: 28px 20px 64px; }

.card {
  background: var(--card);
  border-radius: 16px;
  box-shadow: 0 2px 14px rgba(47, 50, 56, 0.08);
  padding: 22px 24px;
  margin-bottom: 20px;
}

/* --- Wortmarke ---------------------------------------------------------- */
.wordmark { font-size: 24px; font-weight: 700; letter-spacing: -0.02em; }
.wm-pill {
  background: var(--yellow);
  border-radius: 999px;
  padding: 2px 14px;
  margin-right: 8px;
}
.wm-rest { color: var(--blau); }

.hero { display: flex; align-items: center; gap: 18px; margin-bottom: 22px; }
.hero-mascot { width: 92px; height: auto; }
.hero h1 { font-size: 22px; font-weight: 650; margin-bottom: 2px; }
.hero .unterzeile { color: var(--muted); font-size: 14px; }

h2 { font-size: 17px; font-weight: 650; margin-bottom: 12px; }
p { margin-bottom: 10px; }
.muted { color: var(--muted); font-size: 14px; }

/* --- Bedienelemente ----------------------------------------------------- */
.btn {
  border: 0;
  border-radius: 10px;
  padding: 10px 18px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  background: #eef1f5;
  color: var(--text);
}
.btn:hover { background: #e4e8ee; }
.btn:disabled { opacity: 0.55; cursor: not-allowed; }
.btn.primaer {
  background: linear-gradient(180deg, #ffea2e, #f7d900);
  color: #2f3238;
}
.btn.primaer:hover { background: linear-gradient(180deg, #ffee55, #ffe100); }

.eingabe {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 11px 13px;
  font-size: 15px;
  font-family: inherit;
  margin-bottom: 12px;
  background: #fff;
  color: var(--text);
}
.eingabe:focus { outline: 2px solid var(--yellow); outline-offset: 1px; }

/* --- Anmeldung ---------------------------------------------------------- */
.login-wrap {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.login-card { max-width: 460px; width: 100%; text-align: center; }
.login-card .hero-mascot { width: 108px; margin: 0 auto 10px; display: block; }
.login-card h1 { font-size: 20px; font-weight: 650; margin: 14px 0 8px; }
.login-card .eingabe { text-align: center; }
.login-card .btn { width: 100%; }
.login-fehler, .login-ok {
  border-radius: 10px;
  padding: 10px 12px;
  margin-bottom: 12px;
  font-size: 14px;
  text-align: left;
}
.login-fehler { background: #fdeaea; color: var(--fehler); }
.login-ok { background: #e8f6ed; color: var(--ok); }

/* --- Kopfzeile der angemeldeten Ansicht --------------------------------- */
.kopf {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 22px;
}
.kopf-wer { color: var(--muted); font-size: 14px; }

/* --- Tabellen ----------------------------------------------------------- */
table { width: 100%; border-collapse: collapse; font-size: 14px; }
th, td { text-align: left; padding: 9px 10px; border-bottom: 1px solid var(--line); }
th { font-weight: 600; color: var(--muted); font-size: 13px; }
tr:last-child td { border-bottom: 0; }

.pill {
  display: inline-block;
  border-radius: 999px;
  padding: 2px 10px;
  font-size: 12px;
  font-weight: 600;
}
.pill.entwurf { background: #eef1f5; color: var(--muted); }
.pill.berechnet { background: #fff5cc; color: #8a6d00; }
.pill.veroeffentlicht { background: #e8f6ed; color: var(--ok); }

.leer { color: var(--muted); font-size: 14px; padding: 18px 0; }
