/* Holtkott Immobilien – Gestaltung im Stil der Holtkott Immobilien Toolbox */
:root {
  --navy: #102b46; --navy2: #1e527b; --bg: #f4f7fb; --card: #ffffff; --ink: #15263a; --muted: #64758b; --line: #e1e8f0;
  --blue: #3578b8; --pale: #edf5fc; --green: #16805d; --red: #c14d4d; --amber: #9a6a0b;
  color-scheme: light;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; color: var(--ink); letter-spacing: .005em;
  background: var(--bg);
  font: 15px/1.45 system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: #2864a0; text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3 { margin: 0; }
.muted { color: var(--muted); }
.small { font-size: 12px; }
.hidden { display: none !important; }
.num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.positive { color: var(--green); }
.negative, td.neg { color: var(--red); }
.warn { color: var(--amber); }

/* ───── Rahmen: Seitenleiste links, Inhalt rechts ───── */
.shell { display: grid; grid-template-columns: 248px minmax(0, 1fr); min-height: 100vh; }
.side {
  position: sticky; top: 0; height: 100vh; overflow-y: auto; background: #fbfcfd; border-right: 1px solid var(--line);
  display: flex; flex-direction: column; gap: 4px; padding: calc(18px + env(safe-area-inset-top)) 14px 14px;
}
.brand { display: flex; align-items: center; gap: 10px; padding: 2px 8px 14px; color: var(--ink); }
.brand img { width: 30px; height: 30px; border-radius: 8px; }
.brand b { display: block; font-size: 16px; letter-spacing: -.02em; }
.brand small { color: var(--muted); font-size: 11px; }
.nav-group { font-size: 10px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: #8a98a8; padding: 12px 10px 4px; }
.nav a { display: flex; align-items: center; gap: 11px; padding: 9px 10px; border-radius: 9px; color: #2b3b4d; font-weight: 600; font-size: 14.5px; }
.nav a:hover { background: #eef2f6; text-decoration: none; }
.nav a.active { background: var(--navy); color: #fff; }
.nav a .cnt { margin-left: auto; background: #e9eef4; color: var(--muted); border-radius: 999px; font-size: 11px; padding: 1px 7px; font-weight: 700; }
.nav a.active .cnt { background: rgba(255,255,255,.2); color: #fff; }
.nav a .cnt.warn { background: #fde7c4; color: #7a5200; }
.nav svg, .tabbar svg { width: 19px; height: 19px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linejoin: round; stroke-linecap: round; }
.side-foot { margin-top: auto; border-top: 1px solid var(--line); padding: 12px 8px 0; display: flex; align-items: center; gap: 10px; font-size: 13px; }
.side-foot .avatar { width: 30px; height: 30px; font-size: 13px; }
.side-foot .grow b { display: block; font-size: 13px; }
.mode-pill { display: inline-block; font-size: 10px; font-weight: 800; padding: 2px 7px; border-radius: 999px; background: #fff1d6; color: #7a5200; }
.mode-pill.cloud { background: #e7f6ee; color: #16784c; }
.icon-btn.out { margin-left: auto; font-size: 13px; color: var(--muted); }
main { padding: 26px 32px 44px; max-width: 1360px; width: 100%; outline: none; }
footer { padding: 0 32px calc(24px + env(safe-area-inset-bottom)); color: var(--muted); font-size: 12px; }
.tabbar { display: none; }
.btn:focus-visible, .nav a:focus-visible { outline: 2px solid #3c80bd; outline-offset: 2px; }

/* ───── Dashboard-Einleitung ───── */
.dashboard-intro {
  display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin: 5px 0 19px; padding: 21px 23px;
  border: 1px solid #dce7f2; border-radius: 17px; background: linear-gradient(110deg, #fff 0%, #f4f9fe 72%, #eaf3fb 100%); box-shadow: 0 5px 18px rgba(26, 55, 83, .035);
}
.dashboard-intro h2 { font-size: 23px; letter-spacing: -.035em; margin: 4px 0 5px; }
.dashboard-intro p { margin: 0; color: var(--muted); font-size: 14px; }
.eyebrow { font-size: 10px; letter-spacing: .15em; font-weight: 800; color: var(--blue); }
.intro-chip { display: flex; align-items: center; gap: 9px; padding: 10px 13px; border-radius: 999px; border: 1px solid #d6e5f3; background: #fff; color: #315a7c; font-size: 12px; font-weight: 700; white-space: nowrap; }
.live-dot { width: 8px; height: 8px; background: #20a477; border-radius: 50%; box-shadow: 0 0 0 4px rgba(32, 164, 119, .12); }
.section-title { font-size: 15px; margin: 22px 0 10px; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; font-size: 11px; font-weight: 800; }

/* ───── Karten und Kennzahlen ───── */
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 14px; }
.card, .panel { background: var(--card); border: 1px solid #e0e7ef; border-radius: 15px; box-shadow: 0 4px 16px rgba(25, 49, 75, .035); min-width: 0; }
.card { padding: 16px; transition: box-shadow .18s ease, border-color .18s ease; }
.card:hover { box-shadow: 0 8px 22px rgba(25, 49, 75, .075); border-color: #ceddeb; }
.kpi { position: relative; overflow: hidden; padding: 18px 17px; }
.kpi::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: linear-gradient(180deg, #4c91c9, #1f557e); opacity: .8; }
.k-label { font-size: 11px; letter-spacing: .035em; text-transform: uppercase; font-weight: 750; color: #6a7b90; }
.k-value { font-size: 25px; line-height: 1.2; font-weight: 760; letter-spacing: -.035em; margin-top: 7px; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.k-note { font-size: 12px; color: var(--muted); margin-top: 5px; line-height: 1.45; }

.panel { padding: 19px; margin-top: 16px; }
.panel-head, .view-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 13px; }
.panel h2 { font-size: 17px; letter-spacing: -.02em; display: flex; align-items: center; gap: 9px; }
.panel h2::before { content: ""; width: 4px; height: 18px; border-radius: 4px; background: #347bb7; display: inline-block; flex: none; }
.view-head { margin: 4px 0 16px; align-items: flex-end; }
.view-head h2 { font-size: 23px; letter-spacing: -.035em; }
.view-head p { margin: 4px 0 0; }
.back { display: inline-block; margin-bottom: 8px; font-size: 13px; font-weight: 600; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.two-col > .panel { margin-top: 16px; }

.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 14px; }
.cards .card { display: flex; flex-direction: column; gap: 4px; color: inherit; }
a.card:hover { text-decoration: none; border-color: #9fc0de; }
.obj-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 8px; }
.obj-top strong { font-size: 16px; }
.obj-stats { display: flex; justify-content: space-between; gap: 8px; margin-top: auto; padding-top: 10px; border-top: 1px solid var(--line); font-size: 13px; }

.item { border: 1px solid #e0e8f0; border-radius: 13px; background: #fff; padding: 15px; margin: 10px 0; box-shadow: 0 2px 7px rgba(24, 45, 66, .025); }
.item-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 8px; flex-wrap: wrap; }
.item-head strong { font-size: 16px; }
.item-results { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 9px; margin-top: 12px; }
.mini { background: linear-gradient(145deg, #f5f8fc, #eef4fa); border: 1px solid #e5edf5; border-radius: 8px; padding: 10px; }
.mini .k-label { font-size: 10px; }
.mini .v { font-weight: 750; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; margin-top: 3px; }

.pill { display: inline-block; border-radius: 999px; padding: 3px 8px; font-size: 10px; font-weight: 750; background: #edf0f4; color: #596579; white-space: nowrap; vertical-align: middle; }
.pill.ok { background: #e7f6ee; color: #16784c; }
.pill.info { background: var(--pale); color: #2864a0; }
.pill.warn { background: #fff1d6; color: #7a5200; }
.pill.inactive { background: #edf0f4; color: #596579; }
.chip { display: inline-block; border-radius: 999px; padding: 2px 7px; font-size: 10px; font-weight: 750; background: #fff1d6; color: #7a5200; margin: 1px 2px 1px 0; white-space: nowrap; }
.chip.ok { background: #e7f6ee; color: #16784c; }
.who { font-size: 11px; color: var(--muted); }

.notice { padding: 11px 12px; border-radius: 11px; background: #fff7e3; border: 1px solid #f0d28c; color: #684900; font-size: 13px; margin-top: 12px; line-height: 1.55; }
.notice.info { background: var(--pale); border-color: #cfe1f2; color: #285a8c; }
.demo-note { margin: -6px 0 16px; }
.hinweise { margin: 0; padding-left: 18px; font-size: 13px; color: var(--ink); }
.hinweise li { margin: 4px 0; }
.empty { padding: 24px 12px; text-align: center; color: var(--muted); }

/* Fristen */
.loan-layout { display: grid; grid-template-columns: minmax(0, 2.2fr) minmax(250px, 1fr); gap: 16px; align-items: start; }
.loan-layout > .panel { margin-top: 16px; }
.expiry-panel { background: linear-gradient(155deg, #fff, #f5f9fd); }
.panel .loan-layout .expiry-panel { margin-top: 0; }
.reminder { display: block; border: 1px solid var(--line); border-radius: 10px; padding: 11px; margin: 9px 0; background: #fff; color: inherit; }
a.reminder:hover { text-decoration: none; border-color: #9fc0de; }
.reminder strong { display: block; font-size: 13px; }
.reminder .due { font-weight: 750; margin: 4px 0; }
.reminder.warning { border-color: #efcf8b; background: #fff9e9; }
.reminder.urgent { border-color: #e8b1ae; background: #fff4f3; }

/* Listen */
.list { list-style: none; margin: 0; padding: 0; }
.list li + li { border-top: 1px solid var(--line); }
.row-link { display: flex; align-items: center; gap: 12px; padding: 11px 4px; color: inherit; }
a.row-link:hover { background: #f8fafc; text-decoration: none; }
.grow { flex: 1; min-width: 0; }
.avatar { width: 34px; height: 34px; border-radius: 50%; background: var(--pale); color: #2864a0; display: grid; place-items: center; font-weight: 750; flex: none; }
.facts { margin: 0; display: grid; gap: 8px; }
.facts div { display: grid; grid-template-columns: minmax(120px, 38%) 1fr; gap: 12px; }
.facts dt { color: var(--muted); font-size: 13px; }
.facts dd { margin: 0; overflow-wrap: anywhere; }

/* Diagramme */
.chartbox { width: 100%; overflow: hidden; border-radius: 10px; }
.chartbox svg { width: 100%; height: auto; display: block; overflow: visible; }
.chart-legend { display: flex; gap: 14px; flex-wrap: wrap; font-size: 12px; color: var(--muted); margin: 5px 0 0; }
.dot { display: inline-block; width: 9px; height: 9px; border-radius: 50%; margin-right: 5px; }

/* Tabellen */
.table-wrap { overflow-x: auto; }
table { border-collapse: collapse; width: 100%; font-size: 13px; font-variant-numeric: tabular-nums; }
th, td { text-align: left; padding: 11px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { color: var(--muted); background: #f8fafc; letter-spacing: .025em; text-transform: uppercase; font-size: 10px; white-space: nowrap; }
th.num { text-align: right; }
tbody tr[data-href] { cursor: pointer; }
tbody tr:hover td { background: #fafcfe; }
tr.total td { font-weight: 760; border-top: 2px solid var(--line); background: #f8fafc; }
.cf-wide table { min-width: 1100px; }
.cf-wide td:first-child { min-width: 200px; }
.loan-summary table { min-width: 980px; }
.loan-summary td:first-child { min-width: 160px; }
.row-actions { text-align: right; white-space: nowrap; }

/* Bedienelemente */
.toolbar { display: flex; gap: 10px; margin-bottom: 14px; flex-wrap: wrap; align-items: center; }
.toolbar input[type=search] { flex: 1; min-width: 200px; }
.toolbar select { width: auto; }
.seg { display: inline-flex; background: #e9eff6; border-radius: 10px; padding: 4px; }
.seg a { padding: 7px 12px; border-radius: 8px; color: var(--muted); font-weight: 650; font-size: 13px; }
.seg a.on { background: #fff; color: var(--ink); box-shadow: 0 1px 3px rgba(20, 40, 60, .12); }
.seg a:hover { text-decoration: none; }
.actions { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.btn {
  border: 1px solid var(--line); background: #fff; color: var(--ink); border-radius: 9px; padding: 9px 12px; font: inherit; font-weight: 650; cursor: pointer;
  display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; min-height: 40px; transition: transform .15s ease, box-shadow .15s ease;
}
.btn:hover { transform: translateY(-1px); box-shadow: 0 4px 10px rgba(24, 49, 74, .08); text-decoration: none; }
.btn.primary { background: linear-gradient(135deg, #153b5c, #286a98); border-color: #1d527b; color: #fff; }
.btn.danger { color: var(--red); }
.btn.sm { padding: 5px 9px; min-height: 32px; font-size: 13px; }
.btn.wide { width: 100%; justify-content: center; margin-top: 8px; }
.btn:disabled { opacity: .6; cursor: progress; transform: none; }
.icon-btn { background: none; border: 0; font-size: 1.1rem; cursor: pointer; color: var(--muted); padding: 6px; }

.fields { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 11px; }
.field label, .lbl { display: block; color: var(--muted); font-size: 12px; margin-bottom: 5px; font-weight: 600; }
input, select, textarea {
  width: 100%; min-height: 41px; border: 1px solid #d3dde8; border-radius: 9px; background: #fff; color: var(--ink); padding: 9px 10px; font: inherit;
  transition: border-color .15s ease, box-shadow .15s ease;
}
input:focus, select:focus, textarea:focus { outline: 0; border-color: #72a4d0; box-shadow: 0 0 0 3px rgba(53, 120, 184, .13); }
input:disabled { background: #f4f6f9; color: var(--muted); }
input[type=checkbox] { width: 18px; height: 18px; min-height: 0; accent-color: #245d86; }
.check { display: flex; align-items: center; gap: 8px; padding: 4px 0; }
.multi { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 2px 12px; max-height: 210px; overflow: auto; border: 1px solid var(--line); border-radius: 10px; padding: 6px 10px; }
.anteile { border: 1px solid var(--line); border-radius: 10px; max-height: 230px; overflow: auto; padding: 4px 10px; }
.anteil-row { display: grid; grid-template-columns: 1fr 86px 16px; gap: 8px; align-items: center; padding: 6px 0; border-bottom: 1px solid #edf1f5; font-size: 14px; }
.anteil-row:last-child { border-bottom: 0; }
.anteil-row input { min-height: 34px; text-align: right; }
.anteil-row em { font-style: normal; color: var(--muted); }
.cf-filter { min-width: 210px; }
.inline-row { display: flex; gap: 8px; flex-wrap: wrap; align-items: end; margin: 14px 0 6px; }
.inline-row .field { flex: 1 1 220px; }
.form-err { color: var(--red); background: #fff4f3; border: 1px solid #e8b1ae; padding: 8px 12px; border-radius: 8px; margin: 0; grid-column: 1 / -1; }
.form-err[hidden] { display: none; }
details.subpanel { margin-top: 12px; border-top: 1px solid var(--line); padding-top: 10px; }
details.subpanel > summary { cursor: pointer; display: flex; gap: 10px; align-items: baseline; list-style: none; padding: 4px 0; }
details.subpanel > summary::-webkit-details-marker { display: none; }
details.subpanel > summary::before { content: "▸"; color: var(--muted); transition: transform .15s; }
details.subpanel[open] > summary::before { transform: rotate(90deg); }
details.subpanel .row-link { padding: 9px 0; }

/* Dialog */
dialog { border: 0; padding: 0; border-radius: 16px; width: min(720px, calc(100vw - 32px)); max-height: calc(100dvh - 48px); background: #fff; color: var(--ink); box-shadow: 0 20px 60px rgba(10, 30, 50, .28); }
dialog::backdrop { background: rgba(10, 25, 40, .45); }
.dlg-form { display: flex; flex-direction: column; max-height: calc(100dvh - 48px); }
.dlg-head { display: flex; justify-content: space-between; align-items: center; padding: 16px 20px; color: #fff; background: linear-gradient(118deg, #0c2137, #1e527b); }
.dlg-head h2 { font-size: 17px; }
.dlg-head .icon-btn { color: #d6e2ee; }
.dlg-body { padding: 18px 20px; overflow: auto; display: grid; grid-template-columns: 1fr 1fr; gap: 14px 16px; }
.field.full { grid-column: 1 / -1; }
.field small { display: block; margin-top: 3px; font-size: 11px; }
.dlg-foot { display: flex; gap: 8px; padding: 14px 20px; border-top: 1px solid var(--line); background: #f8fafc; }
.spacer { flex: 1; }

#toasts { position: fixed; left: 50%; bottom: calc(24px + env(safe-area-inset-bottom)); transform: translateX(-50%); display: flex; flex-direction: column; gap: 8px; z-index: 50; width: max-content; max-width: calc(100vw - 32px); }
.toast { background: var(--navy); color: #fff; padding: 10px 16px; border-radius: 10px; box-shadow: 0 6px 20px rgba(0, 0, 0, .2); font-weight: 600; }
.toast-err { background: var(--red); }

/* Anmeldung */
.login { display: grid; place-items: center; padding: 40px 16px; }
.login-card { width: min(420px, 100%); margin: 0; }
.login-card h2 { font-size: 20px; margin-bottom: 8px; }
.login-card form { display: grid; gap: 10px; margin-top: 12px; }
.role-pick { display: grid; gap: 8px; margin-top: 14px; }
.role-pick .btn { justify-content: center; }

/* ───── Tablet ───── */
@media (max-width: 900px) {
  .loan-layout, .two-col { grid-template-columns: 1fr; }
  .two-col { gap: 0; }
}

/* ───── Handy ───── */
@media (max-width: 650px) {
  .shell { display: block; }
  .side { display: none; }
  main { padding: calc(14px + env(safe-area-inset-top)) 12px calc(88px + env(safe-area-inset-bottom)); }
  footer { display: none; }
  .tabbar {
    display: grid; grid-template-columns: repeat(5, 1fr); position: fixed; inset: auto 0 0 0; z-index: 20; background: #fff;
    border-top: 1px solid var(--line); padding: 6px 4px calc(6px + env(safe-area-inset-bottom));
  }
  .tabbar a { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 4px 0; color: var(--muted); font-size: 10.5px; font-weight: 700; position: relative; }
  .tabbar a.active { color: var(--navy); }
  .tabbar a:hover { text-decoration: none; }
  .tabbar .dot-cnt { position: absolute; top: 0; left: calc(50% + 6px); background: #c14d4d; color: #fff; font-size: 9px; border-radius: 999px; padding: 0 5px; }
  .mobile-head { display: flex; }
  #toasts { bottom: calc(84px + env(safe-area-inset-bottom)); }
  .dashboard-intro { padding: 17px; }
  .dashboard-intro h2, .view-head h2 { font-size: 20px; }
  .intro-chip { font-size: 11px; }
  .grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .kpi { padding: 13px 12px 13px 14px; }
  .k-label { font-size: 10px; }
  .k-value { font-size: 18px; }
  .k-note { font-size: 11px; }
  .panel { padding: 14px; }
  .cards { grid-template-columns: 1fr; }
  .facts div { grid-template-columns: 1fr; gap: 0; }
  .item-results { grid-template-columns: 1fr 1fr; }
  .fields { grid-template-columns: 1fr 1fr; }
  .dlg-body { grid-template-columns: 1fr; }
  dialog { width: 100vw; max-width: 100vw; max-height: 100dvh; height: 100dvh; margin: 0; border-radius: 0; }
  .dlg-form { max-height: 100dvh; height: 100%; }
  .dlg-head { padding-top: calc(16px + env(safe-area-inset-top)); }
  .dlg-body { flex: 1; }
  .dlg-foot { padding-bottom: calc(14px + env(safe-area-inset-bottom)); }
  input, select, textarea { font-size: 16px; } /* verhindert Zoom auf dem iPhone */

  /* Tabellen werden zu Karten */
  table.stack { min-width: 0 !important; }
  table.stack thead { display: none; }
  table.stack, table.stack tbody, table.stack tr, table.stack td { display: block; width: 100%; }
  table.stack tr { padding: 10px 2px; border-bottom: 1px solid var(--line); }
  table.stack tbody tr:last-child { border-bottom: 0; }
  table.stack td { border: 0; padding: 2px 0; display: flex; justify-content: space-between; gap: 12px; text-align: right; background: none !important; }
  table.stack td::before { content: attr(data-l); color: var(--muted); font-size: 12px; text-align: left; flex: none; }
  table.stack td:first-child { display: block; text-align: left; padding-bottom: 6px; }
  table.stack td:first-child::before { content: none; }
  table.stack td.row-actions { justify-content: flex-start; padding-top: 6px; }
  table.stack td.row-actions::before, table.stack td.row-actions:empty, table.stack td:empty { display: none; }
  table.stack tr.total { background: #f8fafc; border-radius: 8px; padding: 10px; }
  table.stack tr.total td:not(:first-child)::before { content: none; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; } }

/* ───── Dashboard ───── */
.mobile-head { display: none; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.mobile-head b { font-size: 18px; }
.dash-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; flex-wrap: wrap; margin-bottom: 18px; }
.dash-head h1 { font-size: 26px; letter-spacing: -.035em; }
.dash-head p { margin: 4px 0 0; color: var(--muted); }
.todo-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 12px; }
a.todo { display: flex; gap: 12px; align-items: flex-start; background: #fff; border: 1px solid var(--line); border-left: 4px solid #9fb0c2; border-radius: 12px; padding: 13px 14px; color: inherit; }
a.todo:hover { text-decoration: none; border-color: #9fc0de; }
a.todo.rot { border-left-color: #c14d4d; } a.todo.gelb { border-left-color: #e3a32b; } a.todo.blau { border-left-color: #3578b8; } a.todo.gruen { border-left-color: #24845d; }
.todo .zahl { font-size: 24px; font-weight: 800; min-width: 34px; line-height: 1.1; font-variant-numeric: tabular-nums; }
.todo b { display: block; font-size: 14px; }
.todo span { color: var(--muted); font-size: 12.5px; }
.ring-card { display: flex; align-items: center; gap: 16px; }
.ring { width: 74px; height: 74px; flex: none; }
.ring circle { fill: none; stroke-width: 8; }
.ring .bg { stroke: #e9eef4; } .ring .fg { stroke: var(--navy); stroke-linecap: round; transform: rotate(-90deg); transform-origin: 50% 50%; }
.ring .fg.ok { stroke: #24845d; }
.ring-card .k-value { margin-top: 0; }
.kpi-link { display: block; margin-top: 8px; font-size: 12.5px; font-weight: 600; }
.flow-table td.num b { font-size: 15px; }
.dash-two { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(260px, 1fr); gap: 16px; align-items: start; }
.dash-two > .panel { margin-top: 16px; }
@media (max-width: 1000px) { .dash-two { grid-template-columns: 1fr; gap: 0; } }
@media (max-width: 650px) { .dash-head h1 { font-size: 21px; } .todo-grid { grid-template-columns: 1fr; } .ring { width: 58px; height: 58px; } }
@media (max-width: 650px) { .mobile-head { display: flex; } }
.search-box { display: flex; align-items: center; gap: 9px; margin: 0 2px 6px; padding: 9px 10px; border: 1px solid var(--line); border-radius: 10px; background: #fff; color: var(--muted); font-size: 14px; }
.search-box:hover, .search-box.on { border-color: #9fc0de; color: var(--ink); text-decoration: none; }
.search-box svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 2; }
.search-box kbd { margin-left: auto; font: inherit; font-size: 11px; background: #f0f3f7; border-radius: 5px; padding: 1px 6px; }
.obj-wahl { margin: 0 2px 8px; }
.obj-wahl label { display: block; font-size: 10px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: #8a98a8; padding: 4px 8px; }
.obj-wahl .row { display: flex; gap: 4px; }
.obj-wahl select { flex: 1; min-height: 38px; font-weight: 650; font-size: 13.5px; padding: 6px 8px; }
.obj-wahl.aktiv select { border-color: var(--navy); background: #eef3f9; }
.obj-wahl button { border: 1px solid var(--line); background: #fff; border-radius: 9px; width: 30px; cursor: pointer; color: var(--muted); }
.obj-banner { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; background: #eef3f9; border: 1px solid #cfdcec; border-radius: 10px; padding: 8px 12px; margin-bottom: 14px; font-size: 13.5px; }
.obj-banner b { color: var(--navy); }
.obj-banner a { margin-left: auto; font-weight: 600; }
a.sort { color: inherit; text-decoration: none; display: inline-flex; gap: 4px; align-items: center; }
a.sort span { opacity: .45; font-size: 11px; }
a.sort.on { color: var(--navy); } a.sort.on span { opacity: 1; }
tr.gruppe td { background: #f1f5f9; font-weight: 750; font-size: 12.5px; color: var(--navy); }
.chips { display: flex; gap: 6px; flex-wrap: wrap; }
.chip-f { border: 1px solid var(--line); background: #fff; border-radius: 999px; padding: 6px 12px; font-size: 13px; font-weight: 650; color: var(--muted); }
.chip-f.on { background: var(--navy); border-color: var(--navy); color: #fff; }
.chip-f:hover { text-decoration: none; border-color: #9fc0de; }
.filterbar { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-bottom: 12px; }
.filterbar select, .filterbar input[type=month] { width: auto; min-height: 36px; padding: 5px 9px; }
.filterbar input[type=search] { flex: 1; min-width: 180px; min-height: 36px; }
.mobile-obj { display: none; }
@media (max-width: 650px) { .mobile-obj { display: block; margin-bottom: 12px; } }
.kacheln { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 10px; }
.kachel input { position: absolute; opacity: 0; }
.kachel span { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 16px 8px; border: 1.5px solid var(--line); border-radius: 12px; cursor: pointer; font-weight: 650; text-align: center; }
.kachel i { font-style: normal; font-size: 22px; }
.kachel input:checked + span { border-color: var(--navy); background: #eef3f9; color: var(--navy); }
.kachel input:focus-visible + span { outline: 2px solid #3c80bd; }
.dlg-abschnitt { grid-column: 1 / -1; font-size: 13px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin: 10px 0 -4px; border-top: 1px solid var(--line); padding-top: 14px; }
/* Objektseite: Einheitenliste links, Inhalt rechts */
.obj-layout { display: grid; grid-template-columns: 290px minmax(0, 1fr); gap: 18px; align-items: start; }
.obj-side { position: sticky; top: 16px; max-height: calc(100vh - 32px); overflow-y: auto; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 12px; }
.obj-side-head { display: block; border: 1.5px solid var(--navy); border-radius: 12px; padding: 10px 12px; margin-bottom: 10px; color: inherit; }
.obj-side-head:hover { text-decoration: none; background: #f6f9fc; }
.obj-side-head b { display: block; font-size: 15px; } .obj-side-head span { font-size: 12px; color: var(--muted); }
.obj-side .btn.wide { margin: 0 0 6px; }
.obj-side-gruppe { font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin: 14px 4px 6px; }
.obj-side-gruppe .cnt { background: #eef2f6; border-radius: 999px; padding: 1px 7px; margin-left: 4px; }
a.einheit-karte { display: block; border: 1px solid var(--line); border-radius: 10px; padding: 9px 10px; margin-bottom: 6px; color: inherit; background: #fff; }
a.einheit-karte:hover { text-decoration: none; border-color: #9fc0de; }
a.einheit-karte.on { border-color: var(--navy); background: #eef3f9; }
.ek-top { display: flex; justify-content: space-between; gap: 8px; align-items: flex-start; }
.ek-top b { font-size: 13.5px; }
.obj-kopf { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; align-items: flex-end; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 16px 18px; margin-bottom: 14px; }
.obj-kopf h2 { font-size: 22px; letter-spacing: -.03em; }
.obj-kopf .chips { margin-top: 8px; }
@media (max-width: 1100px) { .obj-layout { grid-template-columns: 1fr; } .obj-side { position: static; max-height: 300px; } }
@media print {
  .side, .tabbar, .obj-side, .actions, .toolbar, .mobile-head, .mobile-obj, footer, .btn { display: none !important; }
  .shell { display: block; } main { padding: 0; } .obj-layout { display: block; }
  .panel, .card { box-shadow: none; break-inside: avoid; }
}

/* ═════════ Holtkott Real Estate – Erscheinungsbild wie die Website ═════════
   Schwarz für Schrift und Hauptknöpfe, Warmbraun (#40352b) als Akzent, warmes Hellgrau als Fläche. */
:root {
  --navy: #1a1a1a; --navy2: #40352b; --bg: #f3f2f0; --card: #ffffff; --ink: #1a1a1a; --muted: #6b645c; --line: #e3dfd9;
  --blue: #40352b; --pale: #f1ede7; --green: #2f6b4f; --red: #b3261e; --amber: #8a5a00;
  --braun: #40352b; --braun-hell: #f1ede7; --alarm: #b3261e; --alarm-hell: #fdecea;
}
body { background: var(--bg); font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif; color: var(--ink); }
a { color: var(--ink); text-decoration: underline; text-decoration-color: #c9c2b8; text-underline-offset: 2px; }
a:hover { text-decoration-color: var(--ink); }
a.btn, a.row-link, a.card, a.todo, a.einheit-karte, a.reminder, a.obj-side-head, a.brand, a.tab, .nav a, .tabbar a, .seg a, a.chip-f, a.sort, a.search-box, a.kpi-link { text-decoration: none; }

/* Wortmarke */
.brand { gap: 0; padding: 4px 8px 16px; }
.brand img { display: none; }
.brand b { font-size: 19px; font-weight: 500; letter-spacing: .28em; }
.brand small { display: block; font-size: 9.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin-top: 3px; }
.side { background: #fff; }
.nav a { color: #2a2a2a; font-weight: 500; }
.nav a:hover { background: var(--braun-hell); }
.nav a.active { background: var(--ink); color: #fff; }
.nav-group, .obj-wahl label, .k-label, .eyebrow, .section-title, .obj-side-gruppe { letter-spacing: .16em; color: #8a8178; }
.obj-wahl.aktiv select { border-color: var(--ink); background: var(--braun-hell); }

/* Überschriften wie auf der Website: ruhig, nicht fett */
.dash-head h1, .view-head h2, .obj-kopf h2, .login-card h2 { font-weight: 500; letter-spacing: -.02em; }
.panel h2 { font-weight: 600; }
.panel h2::before { background: var(--braun); }
.kpi::before { background: var(--braun); opacity: .9; }
.k-value { font-weight: 600; }

/* Knöpfe: schwarz mit weißer Schrift, wenig Rundung */
.btn { border-radius: 6px; font-weight: 500; }
.btn:hover { transform: none; box-shadow: none; border-color: #bdb5aa; }
.btn.primary { background: var(--ink); border-color: var(--ink); color: #fff; }
.btn.primary:hover { background: #333; }
.chip-f.on, .seg a.on { background: var(--ink); color: #fff; border-color: var(--ink); }
.seg { background: #e9e6e1; }
.seg a.on { box-shadow: none; }
.dlg-head { background: var(--ink); }
.toast { background: var(--ink); }
.dashboard-intro { background: #fff; border-color: var(--line); }
.intro-chip { color: var(--ink); border-color: var(--line); }
.obj-side-head { border-color: var(--ink); }
a.einheit-karte.on { border-color: var(--ink); background: var(--braun-hell); }
.ring .fg { stroke: var(--braun); }
.kachel input:checked + span { border-color: var(--ink); background: var(--braun-hell); color: var(--ink); }
.avatar { background: var(--braun-hell); color: var(--braun); }
.pill.info { background: #ece8e2; color: #4a3f35; }
.obj-banner { background: var(--braun-hell); border-color: #ddd3c6; }
.obj-banner b { color: var(--ink); }
.notice.info { background: #f6f3ee; border-color: #e4dccf; color: #4a3f35; }
input:focus, select:focus, textarea:focus { border-color: #8a7a68; box-shadow: 0 0 0 3px rgba(64, 53, 43, .12); }
a.sort.on { color: var(--ink); }
tr.gruppe td { background: #ebe6df !important; color: var(--ink); border-top: 2px solid #d3cbc0; }

/* ───── Tabellen: klare Zeilen und Spalten ───── */
.table-wrap { border: 1px solid var(--line); border-radius: 10px; background: #fff; }
section.card > .table-wrap, .panel .table-wrap { border: 1px solid var(--line); }
table { min-width: 760px; }
th { background: #f4f2ef; color: #5b5249; font-size: 10.5px; letter-spacing: .08em; border-bottom: 1px solid #d6d0c7; }
th, td { padding: 10px 12px; }
td { border-bottom: 1px solid #ebe7e1; vertical-align: middle; }
th + th, td + td { border-left: 1px solid #f0ece6; }
tbody tr:nth-child(even) td { background: #faf9f7; }
tbody tr:hover td { background: #f3eee7; }
td:first-child { min-width: 190px; }
td b { font-weight: 600; }
.who { line-height: 1.35; }
tr.total td { background: #f1ede7 !important; border-top: 2px solid #d6d0c7; }
/* Namen in Listen einzeilig mit … statt wirr untereinander */
.einheit-karte .who { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ek-top b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.list .row-link .grow b { overflow-wrap: anywhere; }
.flow-table, .cf-wide table, .loan-summary table { min-width: 0; }
.flow-table td:first-child { min-width: 220px; }

/* ───── Rückstände / Nachzahlungen deutlich markieren ───── */
.pill.alarm, .chip.alarm { background: var(--alarm-hell); color: var(--alarm); }
.pill.alarm::before, .alarm-txt::before, .k-value.negative::before, td.alarm::before {
  content: "!"; display: inline-grid; place-items: center; width: 15px; height: 15px; border-radius: 50%;
  background: var(--alarm); color: #fff; font-size: 10px; font-weight: 800; margin-right: 5px; vertical-align: 1px; line-height: 1;
}
.k-value.negative::before { width: 20px; height: 20px; font-size: 13px; vertical-align: 4px; }
.k-value.negative, td.alarm, .alarm-txt { color: var(--alarm); font-weight: 650; }
td.alarm { background: #fff7f6 !important; }
.positive, .k-value.positive { color: var(--green); }
a.todo.rot { border-left-color: var(--alarm); }
a.todo.gruen { border-left-color: var(--green); }
a.todo.blau, a.todo.gelb { border-left-color: var(--braun); }
@media (max-width: 650px) { table.stack td:first-child { min-width: 0; } th + th, td + td { border-left: 0; } }
/* Zellen einzeilig, damit Namen und Objekte nicht zerfasern; lange Texte (Verwendungszweck, Notizen) dürfen umbrechen */
@media (min-width: 651px) {
  .table-wrap td, .table-wrap td b, .table-wrap td a { white-space: nowrap; }
  .table-wrap td .who { white-space: nowrap; }
  .table-wrap td .small, .table-wrap td.wrap, .table-wrap td[data-l="Zweck"] .small, .table-wrap td[data-l="Grund"] .who { white-space: normal; min-width: 240px; display: inline-block; }
  .table-wrap td:first-child { position: sticky; left: 0; z-index: 1; background: #fff; box-shadow: 1px 0 0 #ebe7e1; }
  .table-wrap tbody tr:nth-child(even) td:first-child { background: #faf9f7; }
  .table-wrap tr.gruppe td:first-child, .table-wrap tr.total td:first-child { background: inherit; }
  .table-wrap thead th:first-child { position: sticky; left: 0; z-index: 2; }
}

/* ───── Suchfeld mit Chips (z. B. Mieter im Vertrag) ───── */
.suchwahl { position: relative; }
.sw-feld { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; border: 1px solid var(--line); border-radius: 10px; padding: 6px 8px; background: #fff; min-height: 46px; }
.sw-feld:focus-within { border-color: var(--braun); box-shadow: 0 0 0 3px rgba(64, 53, 43, .12); }
.sw-chips { display: contents; }
.sw-chip { display: inline-flex; align-items: center; gap: 6px; background: #f3f2f0; border: 1px solid #e3dfd9; border-radius: 999px; padding: 4px 6px 4px 11px; font-size: 13.5px; font-weight: 600; }
.sw-chip.neu { background: #f6efe7; border-color: #dcc9b5; }
.sw-chip em { font-style: normal; font-size: 11px; color: var(--braun); text-transform: uppercase; letter-spacing: .05em; }
.sw-chip button { border: 0; background: transparent; cursor: pointer; color: var(--muted); font-size: 12px; padding: 2px 5px; border-radius: 50%; }
.sw-chip button:hover { background: #e3dfd9; color: var(--text); }
.sw-input { flex: 1; min-width: 160px; border: 0 !important; box-shadow: none !important; min-height: 32px; padding: 2px 4px; }
.sw-liste { position: absolute; left: 0; right: 0; top: calc(100% - 2px); z-index: 30; background: #fff; border: 1px solid var(--line); border-radius: 10px; box-shadow: 0 12px 30px rgba(0, 0, 0, .12); max-height: 260px; overflow: auto; }
.sw-opt { padding: 8px 12px; cursor: pointer; border-bottom: 1px solid #f0ede9; }
.sw-opt:last-child { border-bottom: 0; }
.sw-opt.on, .sw-opt:hover { background: #f3f2f0; }
.sw-opt b { display: block; font-size: 14px; }
.sw-opt small { color: var(--muted); font-size: 12px; }
.sw-leer { padding: 10px 12px; color: var(--muted); font-size: 13.5px; }
.sw-vorschlag { margin-top: 8px; font-size: 13px; color: var(--muted); display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.sw-vorschlag[hidden], .sw-neu[hidden], .sw-neu-btn[hidden], .sw-liste[hidden] { display: none; }
.sw-neu-btn { margin-top: 8px; }
.sw-neu { margin-top: 10px; border: 1px dashed #cfc6bb; border-radius: 10px; padding: 12px; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; background: #faf9f7; }
.sw-neu label span { display: block; font-size: 12.5px; font-weight: 650; color: var(--muted); margin-bottom: 4px; }
.sw-neu-aktionen { grid-column: 1 / -1; display: flex; gap: 8px; }
@media (max-width: 650px) { .sw-neu { grid-template-columns: 1fr; } }

/* ───── Demnächst (Zeitleiste) ───── */
.dn-liste { display: flex; flex-direction: column; }
.dn-zeile { display: grid; grid-template-columns: 56px 1fr auto; gap: 14px; align-items: center; padding: 10px 6px 10px 0; border-bottom: 1px solid #eeeae5; color: inherit; border-left: 3px solid transparent; padding-left: 10px; }
.dn-zeile:last-child { border-bottom: 0; }
.dn-zeile:hover { background: #faf9f7; text-decoration: none; }
.dn-zeile.bald { border-left-color: var(--braun); }
.dn-zeile.mittel { border-left-color: #b9ada0; }
.dn-zeile.spaeter { border-left-color: #e3dfd9; }
.dn-datum { text-align: center; line-height: 1.1; }
.dn-datum b { display: block; font-size: 20px; }
.dn-datum small { font-size: 11px; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; }
.dn-text b { display: block; font-size: 14px; }
.dn-text span { font-size: 12.5px; color: var(--muted); }
.dn-rechts { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; white-space: nowrap; }
.dn-tage { font-size: 12px; font-weight: 700; color: var(--muted); }
.dn-zeile.bald .dn-tage { color: var(--braun); }
.dn-typ { font-size: 10.5px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; padding: 2px 8px; border-radius: 999px; background: #f3f2f0; color: #6b6259; }
.dn-typ.t-leerstand { background: #fbeceb; color: var(--alarm); }
.dn-typ.t-miete { background: #e9f3ec; color: #24704b; }
.dn-typ.t-darlehen { background: #ece9f5; color: #4b3f8a; }
.dn-mehr summary { cursor: pointer; font-weight: 700; font-size: 13px; padding: 10px 0 4px; color: var(--braun); }
.dn-legende { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; margin-top: 10px; }
.dn-punkt { display: inline-block; width: 10px; height: 10px; border-radius: 2px; margin-left: 8px; }
.dn-punkt.bald { background: var(--braun); } .dn-punkt.mittel { background: #b9ada0; } .dn-punkt.spaeter { background: #e3dfd9; }
@media (max-width: 650px) { .dn-zeile { grid-template-columns: 46px 1fr; } .dn-rechts { grid-column: 2; flex-direction: row; align-items: center; } }

/* ───── Export-Leiste über Tabellen ───── */
.tbl-export { display: flex; justify-content: flex-end; gap: 6px; margin: -4px 0 6px; }
.tbl-export .btn { min-height: 28px; padding: 3px 10px; font-size: 12px; color: var(--muted); }
.tbl-export .btn:hover { color: var(--text); }
@media print { .tbl-export { display: none; } }

/* ───── Bank & Konten ───── */
.konto-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(440px, 1fr)); gap: 16px; }
.konto-karte { margin: 0; border-top: 3px solid #24704b; }
.konto-karte.mit-luecke { border-top-color: var(--alarm); }
.konto-kopf { display: flex; justify-content: space-between; gap: 12px; align-items: flex-start; }
.konto-kopf h2 { margin: 0 0 3px; font-size: 17px; }
.konto-zahlen { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin: 14px 0 12px; }
.konto-zahlen div { background: #f7f6f4; border-radius: 10px; padding: 9px 10px; min-width: 0; }
.konto-zahlen span { display: block; font-size: 11px; font-weight: 750; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); }
.konto-zahlen b { display: block; font-size: 16px; margin: 3px 0 1px; white-space: nowrap; }
.konto-zahlen b.neg { color: var(--alarm); } .konto-zahlen b.warn { color: var(--braun); }
.konto-zahlen small { font-size: 11.5px; color: var(--muted); }
.streifen { display: grid; grid-template-columns: repeat(12, 1fr); gap: 3px; margin-bottom: 10px; }
.streifen span { text-align: center; font-size: 10px; color: var(--muted); }
.streifen i { display: block; height: 10px; border-radius: 3px; margin-bottom: 3px; background: #e3dfd9; }
.streifen .st-ok i { background: #3f8f63; } .streifen .st-fehlt i { background: var(--alarm); }
.streifen .st-fehlt { color: var(--alarm); font-weight: 700; }
.streifen .st-laufend i { background: repeating-linear-gradient(45deg, #e3dfd9, #e3dfd9 3px, #f3f2f0 3px, #f3f2f0 6px); }
.streifen .st-vorher i { background: #f3f2f0; }
.luecken { list-style: none; margin: 0 0 10px; padding: 0; }
.luecken li { color: var(--alarm); font-size: 13.5px; font-weight: 600; padding: 3px 0 3px 24px; position: relative; }
.luecken li::before { content: '!'; position: absolute; left: 0; top: 3px; width: 16px; height: 16px; border-radius: 50%; background: var(--alarm); color: #fff; font-size: 11px; font-weight: 800; display: grid; place-items: center; }
.lueckenlos { color: #24704b; font-weight: 650; font-size: 13.5px; margin: 0 0 10px; }
.konto-links { display: flex; gap: 6px; }
.umsatz-tabelle .monat-zeile td { background: #efece8 !important; border-top: 2px solid #d9d3cb; padding-top: 9px; padding-bottom: 9px; }
.umsatz-tabelle td.pos, .umsatz-tabelle .pos { color: #24704b; }
.umsatz-tabelle td.neg, .umsatz-tabelle .neg { color: var(--alarm); }
.field[hidden] { display: none; }
@media (max-width: 650px) { .konto-grid { grid-template-columns: 1fr; } .konto-zahlen { grid-template-columns: 1fr 1fr; } }
.auto-verbuchen { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin: 0 0 12px; }

/* ───── Nachrichten & Schreiben ───── */
.brief-layout { display: grid; grid-template-columns: minmax(340px, 460px) 1fr; gap: 16px; align-items: start; }
.brief-form { margin: 0; }
.brief-form .field { margin-bottom: 12px; }
.brief-form textarea { font-family: inherit; line-height: 1.45; }
.two-mini { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.brief-g { min-height: 40px; display: flex; align-items: center; gap: 6px; font-size: 13.5px; }
.brief-warn { color: var(--alarm); font-weight: 650; font-size: 13px; margin: 0 0 10px; }
.brief-warn[hidden] { display: none; }
.brief-aktionen { flex-wrap: wrap; }
.brief-vorschau-box { margin: 0; position: sticky; top: 12px; }
.brief-vorschau { width: 100%; height: 78vh; min-height: 560px; border: 1px solid var(--line); border-radius: 8px; background: #e9e6e2; }
.bk-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 12px 0; }
.bk-grid h3 { font-size: 13px; margin: 0 0 8px; }
.bk-bild { border: 1px dashed #cfc6bb; border-radius: 10px; min-height: 120px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; padding: 8px; margin-bottom: 8px; background: #faf9f7; }
.bk-bild img { max-width: 100%; max-height: 260px; box-shadow: 0 2px 10px rgba(0,0,0,.12); background: #fff; }
.obj-top > span { display: flex; gap: 6px; }
@media (max-width: 1000px) { .brief-layout { grid-template-columns: 1fr; } .brief-vorschau { height: 70vh; } }
@media (max-width: 650px) { .bk-grid, .two-mini { grid-template-columns: 1fr; } }
