/* Suncrest Service-Tool – Stylesheet (kein Framework, keine Inline-Styles) */
/* Source Sans Pro (selbst gehostet) */
@font-face { font-family: "Source Sans Pro"; font-weight: 400; font-style: normal; font-display: swap; src: url("fonts/SourceSansPro-Regular.woff2") format("woff2"); }
@font-face { font-family: "Source Sans Pro"; font-weight: 600; font-style: normal; font-display: swap; src: url("fonts/SourceSansPro-Semibold.woff2") format("woff2"); }
@font-face { font-family: "Source Sans Pro"; font-weight: 700; font-style: normal; font-display: swap; src: url("fonts/SourceSansPro-Bold.woff2") format("woff2"); }

:root {
  --accent: #6ad61d;
  --accent-dark: #5bbf14;
  --accent-soft: #f0fbe6;
  --green-text: #2b7a0b;
  --dark: #111827;
  --dark-2: #f3f4f6;
  --bg: #fafafa;
  --card: #ffffff;
  --text: #1f2937;
  --heading: #111827;
  --muted: #6b7280;
  --line: #e5e7eb;
  --ok: #166534;   --ok-bg: #e3f6d5;
  --warn: #854d0e; --warn-bg: #fef3c7; --warn-solid: #facc15;
  --err: #b42318;  --err-bg: #fde8e6;
  --info: #1d5f9e; --info-bg: #e5f0fa;
  --radius: 6px;
  --touch: 46px;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font: 16px/1.5 "Source Sans Pro", "Segoe UI", "Helvetica Neue", Arial, sans-serif; color: var(--text); background: var(--bg); }
a { color: var(--green-text); text-decoration: underline; text-underline-offset: 2px; }
a:hover { color: var(--heading); }
h1, h2, h3 { color: var(--heading); font-weight: 700; }
h1 { font-size: 1.7rem; margin: 0 0 .6rem; line-height: 1.2; }
h2 { font-size: 1.25rem; margin: 0 0 .6rem; }
h3 { font-size: 1.05rem; margin: 1rem 0 .4rem; }
.container { max-width: 1240px; margin: 0 auto; padding: 16px; }
.muted { color: var(--muted); }
.muted-light { color: var(--muted); }
.nowrap { white-space: nowrap; }
.right { text-align: right; }
.center { text-align: center; }
[hidden] { display: none !important; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.mt { margin-top: 1rem; } .mb { margin-bottom: 1rem; }

/* Topbar (weiss, wie suncrest.ch) */
.topbar { background: #fff; color: var(--heading); position: sticky; top: 0; z-index: 50; border-bottom: 1px solid var(--line); }
.topbar-in { max-width: 1400px; margin: 0 auto; padding: 0 16px; display: flex; align-items: center; gap: 10px; min-height: 64px; flex-wrap: wrap; }
.brand { color: var(--heading); text-decoration: none; display: flex; align-items: center; gap: 12px; flex: none; }
.brand img { display: block; height: 22px; width: auto; }
.brand-sub { color: var(--muted); font-weight: 600; font-size: .95rem; padding-left: 12px; border-left: 1px solid var(--line); line-height: 1.2; white-space: nowrap; }
.mainnav { display: flex; align-items: center; gap: 0; flex: 1; flex-wrap: wrap; }
.mainnav a, .mainnav summary, .linklike { color: var(--heading); text-decoration: none; padding: 20px 8px 17px; font-size: .97rem; white-space: nowrap; border-bottom: 3px solid transparent; display: inline-block; cursor: pointer; list-style: none; background: none; border-top: 0; border-left: 0; border-right: 0; font: inherit; font-weight: 600; }
.mainnav summary::-webkit-details-marker { display: none; }
.mainnav a:hover, .mainnav summary:hover, .linklike:hover { background: var(--dark-2); color: var(--heading); }
.mainnav a.active, .dropdown.active > summary { border-bottom-color: var(--accent); }
.dropdown { position: relative; }
.dropdown-menu { position: absolute; top: 100%; left: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); min-width: 190px; padding: 6px; z-index: 60; box-shadow: 0 8px 24px rgba(17,24,39,.12); }
.dropdown-menu a { display: block; padding: 10px 12px; border-bottom: 0; border-radius: 4px; }
.dropdown-menu a.active { background: var(--accent-soft); }
.searchform { display: flex; gap: 6px; margin-left: auto; }
.searchform input[type=search] { width: 112px; min-height: 38px; padding: 6px 10px; }
.usermenu { display: flex; align-items: center; gap: 2px; font-size: .92rem; }
.usermenu a, .usermenu .linklike { padding: 10px 8px; font-weight: 400; text-decoration: none; border-bottom: 0; color: var(--text); }
.usermenu .muted-light { margin-right: 4px; }
@media (min-width: 901px) and (max-width: 1399px) { .usermenu .muted-light { display: none; } }
@media (min-width: 1180px) { .topbar-in { flex-wrap: nowrap; } .mainnav { flex-wrap: nowrap; } .searchform { flex: none; } .usermenu { flex: none; } }
.inline-form { display: inline; margin: 0; }
.navtoggle, .burger { display: none; }

/* Layout-Bausteine */
.page-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; flex-wrap: wrap; margin-bottom: 14px; }
.page-head h1 { margin: 0; }
.actions { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; margin-bottom: 16px; box-shadow: 0 1px 2px rgba(17,24,39,.04); }
.card > h2:first-child, .card > h3:first-child { margin-top: 0; }
.card-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 10px; flex-wrap: wrap; }
.card-head h2 { margin: 0; }
.center-card { max-width: 560px; margin: 40px auto; text-align: center; }
.grid { display: grid; gap: 16px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 14px; margin-bottom: 16px; }
.tile { background: var(--card); border: 1px solid var(--line); border-left: 4px solid var(--accent); border-radius: var(--radius); padding: 14px 16px; box-shadow: 0 1px 2px rgba(17,24,39,.04); display: block; color: inherit; text-decoration: none; }
a.tile:hover { border-color: var(--accent-dark); box-shadow: 0 2px 8px rgba(17,24,39,.08); }
.tile .num { font-size: 2rem; font-weight: 700; color: var(--heading); line-height: 1.1; }
.tile .lbl { color: var(--muted); font-size: .92rem; }
.tile .sub { font-size: .85rem; margin-top: 4px; }
.tile.tile-err { border-left-color: var(--err); } .tile.tile-ok { border-left-color: var(--ok); } .tile.tile-warn { border-left-color: var(--warn-solid); } .tile.tile-info { border-left-color: var(--info); }
dl.kv { display: grid; grid-template-columns: minmax(120px, 190px) 1fr; gap: 6px 14px; margin: 0; }
dl.kv dt { color: var(--muted); } dl.kv dd { margin: 0; word-break: break-word; }
.toolbar { display: flex; gap: 10px; flex-wrap: wrap; align-items: flex-end; margin-bottom: 14px; }
.toolbar .field { margin: 0; min-width: 150px; }
.toolbar .field.grow { flex: 1; min-width: 200px; }
.anchor-nav { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 14px; }
.anchor-nav a { padding: 8px 14px; border-radius: 999px; background: var(--card); border: 1px solid var(--line); text-decoration: none; color: var(--text); }
.anchor-nav a:hover { border-color: var(--accent-dark); background: var(--accent-soft); }

/* Flash */
.flash { padding: 12px 16px; border-radius: var(--radius); margin-bottom: 14px; border: 1px solid; }
.flash-ok { background: var(--ok-bg); border-color: #b7e08f; color: #14532d; }
.flash-error { background: var(--err-bg); border-color: #f3b7b0; color: #7f1d12; }
.flash-info { background: var(--info-bg); border-color: #b5d3ee; color: #12426b; }
.sv-alarm ul { margin: 8px 0 0; padding-left: 18px; } .sv-alarm li { margin-bottom: 6px; }
.flash-warn { background: var(--warn-bg); border-color: #f0d98a; color: #6b3f06; }

/* Buttons */
.btn, button.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: var(--touch); padding: 8px 18px; border-radius: var(--radius); border: 1px solid #d1d5db; background: #fff; color: var(--heading); font: inherit; font-weight: 600; text-decoration: none; cursor: pointer; }
.btn:hover { border-color: #9ca3af; background: #f9fafb; color: var(--heading); }
.btn-primary, button.btn-primary { background: var(--accent); border-color: var(--accent); color: var(--heading); }
.btn-primary:hover, button.btn-primary:hover { background: var(--accent-dark); border-color: var(--accent-dark); color: var(--heading); }
.btn-dark, button.btn-dark { background: #333; border-color: #333; color: #fff; }
.btn-dark:hover { background: #111827; border-color: #111827; color: #fff; }
.btn-danger, button.btn-danger { background: #fff; border-color: var(--err); color: var(--err); }
.btn-danger:hover { background: var(--err); border-color: var(--err); color: #fff; }
.btn-small { min-height: 36px; padding: 4px 12px; font-size: .9rem; }
.btn-ghost, button.btn-ghost { background: transparent; }

/* Badges */
.badge { display: inline-block; padding: 2px 10px; border-radius: 999px; font-size: .8rem; font-weight: 600; white-space: nowrap; }
.badge-ok { background: var(--ok-bg); color: var(--ok); }
.badge-warn { background: var(--warn-bg); color: var(--warn); }
.badge-err { background: var(--err-bg); color: var(--err); }
.badge-info { background: var(--info-bg); color: var(--info); }
.badge-grey { background: #f3f4f6; color: #4b5563; }
.badge-dark { background: #374151; color: #fff; }

/* Formulare */
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 18px; }
.form-grid .full { grid-column: 1 / -1; }
.field { margin-bottom: 14px; display: flex; flex-direction: column; gap: 4px; }
.field label { font-weight: 600; font-size: .95rem; color: var(--heading); }
.req { color: var(--err); }
input[type=text], input[type=email], input[type=password], input[type=number], input[type=date], input[type=search], input[type=url], input[type=tel], input[type=file], select, textarea {
  width: 100%; min-height: var(--touch); padding: 8px 12px; font: inherit; color: inherit; background: #fff; border: 1px solid #d1d5db; border-radius: var(--radius); }
textarea { min-height: 96px; resize: vertical; }
input:focus, select:focus, textarea:focus, .btn:focus-visible, a:focus-visible, button:focus-visible { outline: 3px solid rgba(106,214,29,.55); outline-offset: 1px; border-color: var(--green-text); }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: var(--err); }
.error-text { color: var(--err); font-size: .88rem; }
.help { color: var(--muted); font-size: .85rem; }
.field-check .check { display: flex; align-items: center; gap: 10px; font-weight: 500; min-height: var(--touch); }
.check input { width: 24px; height: 24px; flex: none; }
fieldset { border: 1px solid var(--line); border-radius: var(--radius); padding: 12px 16px 4px; margin: 0 0 14px; }
legend { font-weight: 700; padding: 0 6px; }
.suggest { position: relative; }
.suggest-list { position: absolute; z-index: 40; left: 0; right: 0; top: 100%; background: #fff; border: 1px solid #d1d5db; border-radius: var(--radius); margin: 2px 0 0; padding: 4px; list-style: none; max-height: 260px; overflow: auto; box-shadow: 0 8px 20px rgba(0,0,0,.12); }
.suggest-list li { padding: 10px 12px; border-radius: 6px; cursor: pointer; }
.suggest-list li:hover, .suggest-list li.sel { background: var(--accent-soft); }

/* Tabellen */
.table-wrap { overflow-x: auto; }
table.table { width: 100%; border-collapse: collapse; background: var(--card); }
.table th, .table td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.table th { font-size: .82rem; text-transform: uppercase; letter-spacing: .03em; color: var(--muted); background: #f9fafb; white-space: nowrap; }
.table th a { color: inherit; text-decoration: none; }
.table tbody tr:hover { background: #f9fafb; }
.table .num { text-align: right; white-space: nowrap; }
.table tr.row-muted td { color: var(--muted); }
.table tr.group-row td { background: #374151; color: #fff; font-weight: 700; }
.pager { display: flex; gap: 6px; flex-wrap: wrap; margin: 12px 0 4px; }
.pager a, .pager .current { padding: 8px 14px; border-radius: var(--radius); border: 1px solid var(--line); background: #fff; text-decoration: none; min-height: 40px; display: inline-flex; align-items: center; }
.pager .current { background: var(--accent); border-color: var(--accent); color: var(--heading); font-weight: 700; }
.pager .gap { padding: 8px 4px; }
.pager-info { margin: 4px 0 0; font-size: .88rem; }
.empty { padding: 18px; text-align: center; color: var(--muted); }

/* Montagspruefung */
.progress { background: #e5e7eb; border-radius: 999px; height: 14px; overflow: hidden; }
.progress > span { display: block; height: 100%; background: var(--ok); }
.week-nav { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.week-nav .week-label { font-weight: 700; font-size: 1.1rem; }
.pr-row { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 12px 14px; margin-bottom: 10px; display: grid; grid-template-columns: minmax(200px, 1fr) minmax(380px, 2.6fr) 170px; gap: 10px 16px; align-items: center; }
.pr-row.st-ok { border-left: 5px solid var(--ok); } .pr-row.st-warnung { border-left: 5px solid var(--warn); }
.pr-row.st-stoerung { border-left: 5px solid var(--err); } .pr-row.st-offline { border-left: 5px solid #374151; }
.pr-row.saved-flash { background: var(--accent-soft); }
.pr-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.pr-chip { display: inline-flex; gap: 6px; align-items: center; padding: 4px 12px; border-radius: 999px; border: 1px solid var(--line); background: var(--card); color: inherit; text-decoration: none; font-size: .88rem; }
.pr-chip:hover { border-color: var(--accent-dark); }
.pr-chip.chip-ok { background: var(--ok-bg); color: var(--ok); } .pr-chip.chip-warn { background: var(--warn-bg); color: var(--warn); }
.pr-chip.chip-err, .pr-chip.chip-prob { background: var(--err-bg); color: var(--err); } .pr-chip.chip-off { background: #e5e7eb; color: #374151; }
.pr-chip.on { outline: 2px solid var(--accent-dark); outline-offset: 1px; font-weight: 600; }
.pr-info .t { font-weight: 700; } .pr-info .s { color: var(--muted); font-size: .9rem; }
.pr-buttons { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.pr-buttons button { min-height: 46px; border-radius: var(--radius); border: 2px solid #d1d5db; background: #fff; font: inherit; font-weight: 700; cursor: pointer; }
.pr-buttons button[value=ok] { color: var(--ok); } .pr-buttons button[value=warnung] { color: var(--warn); }
.pr-buttons button[value=stoerung] { color: var(--err); } .pr-buttons button[value=offline] { color: #374151; }
.pr-buttons button.on[value=ok] { background: var(--ok); border-color: var(--ok); color: #fff; }
.pr-buttons button.on[value=warnung] { background: var(--warn-solid); border-color: var(--warn-solid); color: var(--heading); }
.pr-buttons button.on[value=stoerung] { background: var(--err); border-color: var(--err); color: #fff; }
.pr-buttons button.on[value=offline] { background: #374151; border-color: #374151; color: #fff; }
.pr-extra { display: grid; grid-template-columns: 100px 1fr auto; gap: 6px; align-items: start; margin-top: 6px; }
.pr-extra input { min-height: 40px; }
.pr-extra textarea.pr-bem { box-sizing: border-box; width: 100%; min-height: 40px; resize: vertical; font: inherit; line-height: 1.35; padding: 8px 10px; border: 1px solid #d1d5db; border-radius: var(--radius); overflow: hidden; }
.pr-extra .btn { min-height: 40px; }
.pr-status-msg { font-size: .85rem; color: var(--muted); min-height: 1.2em; }
.pr-status-msg.pr-msg-err { color: var(--err); font-weight: 600; }
.group-title { background: #374151; color: #fff; padding: 8px 14px; border-radius: var(--radius); margin: 18px 0 10px; font-weight: 700; }

/* Suche */
.result-group { margin-bottom: 18px; }
.result-list { list-style: none; padding: 0; margin: 0; }
.result-list li { padding: 10px 0; border-bottom: 1px solid var(--line); }

/* Login */
body.bare { background: var(--bg); display: flex; min-height: 100vh; align-items: center; justify-content: center; }
.bare-wrap { width: 100%; max-width: 420px; margin: 16px; }
.bare-brand { text-align: center; margin-bottom: 20px; }
.bare-brand img { display: inline-block; height: 28px; width: auto; }
.bare-sub { text-align: center; color: var(--muted); font-weight: 600; margin: -10px 0 18px; }
.bare-box { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 24px; width: 100%; box-shadow: 0 2px 8px rgba(17,24,39,.06); }
.bare-box h1 { font-size: 1.5rem; }
.footer { text-align: center; color: var(--muted); font-size: .85rem; padding: 20px 0 30px; }
.logo-preview { max-width: 240px; max-height: 100px; border: 1px solid var(--line); padding: 6px; background: #fff; }
pre.log { background: #f3f4f6; padding: 10px; border-radius: 8px; overflow: auto; }

/* Mobile */
@media (max-width: 900px) {
  .grid-2, .grid-3, .form-grid { grid-template-columns: 1fr; }
  .pr-row { grid-template-columns: 1fr; }
  dl.kv { grid-template-columns: 1fr; gap: 0; } dl.kv dt { margin-top: 8px; font-size: .85rem; }
  .burger { display: flex; flex-direction: column; justify-content: center; gap: 5px; width: 46px; height: 46px; margin-left: auto; cursor: pointer; padding: 11px; }
  .burger span { display: block; height: 3px; background: var(--heading); border-radius: 2px; }
  .mainnav { display: none; flex-basis: 100%; flex-direction: column; align-items: stretch; padding-bottom: 12px; }
  .navtoggle:checked ~ .mainnav { display: flex; }
  .mainnav a, .mainnav summary, .linklike { padding: 13px 12px; width: 100%; text-align: left; border-bottom: 0; border-left: 3px solid transparent; }
  .mainnav a.active, .dropdown.active > summary { border-bottom-color: transparent; border-left-color: var(--accent); }
  .dropdown-menu { position: static; box-shadow: none; border: 0; border-left: 3px solid var(--line); border-radius: 0; margin-left: 12px; padding: 0; }
  .searchform { margin: 8px 0; } .searchform input { width: 100%; flex: 1; }
  .usermenu a, .usermenu .linklike { padding: 13px 12px; border-left: 3px solid transparent; width: auto; }
  .usermenu { flex-wrap: wrap; border-top: 1px solid var(--line); padding-top: 8px; }
  .usermenu .inline-form { margin: 0; padding: 0; display: inline-flex; }
  .usermenu .linklike { margin: 0; }
  .page-head .actions { width: 100%; }
  .toolbar .field { min-width: 45%; flex: 1; }
  h1 { font-size: 1.35rem; }

  /* Tabellen als Karten: <table class="table table-cards">, jedes <td data-label="Spalte"> */
  table.table-cards, .table-cards thead, .table-cards tbody, .table-cards tr, .table-cards td { display: block; width: 100%; }
  .table-cards thead { position: absolute; left: -9999px; }
  .table-cards tr { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: 10px; padding: 8px 12px; }
  .table-cards td { border: 0; padding: 5px 0; display: flex; justify-content: space-between; gap: 14px; text-align: right; word-break: break-word; }
  .table-cards td::before { content: attr(data-label); font-weight: 600; color: var(--muted); text-align: left; flex: none; max-width: 42%; }
  .table-cards td[data-label=""]::before, .table-cards td:not([data-label])::before { content: none; }
  .table-cards td.cell-title { font-weight: 700; font-size: 1.05rem; text-align: left; }
  .table-cards td.cell-actions { justify-content: flex-start; flex-wrap: wrap; }
  .table-cards td .btn { min-height: 42px; }
  .table-cards tr.group-row { background: #374151; color: #fff; }
  .table .num { text-align: right; }
  .table-wrap { overflow: visible; }
}
@media (min-width: 901px) { .table-cards td.cell-actions { white-space: nowrap; } }
@media print { .topbar, .footer, .actions, .toolbar { display: none; } body { background: #fff; } }

/* Fortschrittsbalken-Breiten (CSP: kein style-Attribut) */
.pct-0 { width: 0%; }
.pct-5 { width: 5%; }
.pct-10 { width: 10%; }
.pct-15 { width: 15%; }
.pct-20 { width: 20%; }
.pct-25 { width: 25%; }
.pct-30 { width: 30%; }
.pct-35 { width: 35%; }
.pct-40 { width: 40%; }
.pct-45 { width: 45%; }
.pct-50 { width: 50%; }
.pct-55 { width: 55%; }
.pct-60 { width: 60%; }
.pct-65 { width: 65%; }
.pct-70 { width: 70%; }
.pct-75 { width: 75%; }
.pct-80 { width: 80%; }
.pct-85 { width: 85%; }
.pct-90 { width: 90%; }
.pct-95 { width: 95%; }
.pct-100 { width: 100%; }
.card.narrow { max-width: 520px; }

@media (max-width: 900px) { .pr-extra { grid-template-columns: 90px 1fr; } .pr-extra textarea.pr-bem { grid-column: 1 / -1; grid-row: 2; } .pr-extra .btn { grid-column: 2; grid-row: 1; } }

/* Teil B: Servicefaelle / Rechnungen */
.status-flow { display: flex; flex-wrap: wrap; gap: 8px; }
.status-flow .inline-form { display: inline-block; }
.timeline { list-style: none; margin: 16px 0 0; padding: 0; border-left: 3px solid var(--line); }
.timeline li { position: relative; padding: 0 0 14px 16px; }
.timeline li::before { content: ""; position: absolute; left: -8px; top: 4px; width: 13px; height: 13px; border-radius: 50%; background: var(--accent-dark); border: 2px solid #fff; }
.timeline li.intern::before { background: var(--warn-solid); }
.timeline li.intern .tl-text { background: var(--warn-bg); border-radius: 6px; padding: 6px 10px; }
.tl-meta { font-size: .85rem; color: var(--muted); margin-bottom: 2px; }
dl.sums { max-width: 460px; margin-left: auto; margin-top: 14px; }
dl.sums dd { text-align: right; }
.re-pos-head, .re-pos { display: grid; grid-template-columns: minmax(180px, 1fr) 80px 70px 100px 80px 100px 110px 210px; gap: 8px; align-items: start; }
.re-pos-head { font-size: .8rem; text-transform: uppercase; color: var(--muted); font-weight: 700; padding: 6px 0; border-bottom: 2px solid var(--line); }
.re-pos-head .num, .re-pos .num { text-align: right; }
.re-pos-row { display: grid; grid-template-columns: minmax(0, 1fr) 90px; gap: 8px; align-items: start; border-bottom: 1px solid var(--line); padding: 8px 0; }
.re-pos-row.re-pos-headrow { padding: 0; border-bottom: 0; }
.re-pos-row.re-pos-new { border-bottom: 0; }
.re-pos .cell label { display: none; font-size: .8rem; color: var(--muted); font-weight: 600; }
.re-pos .cell.btn-cell, .re-pos .btns { display: flex; gap: 6px; }
/* Auftraege: zusaetzliche Spalte «Art.-Nr.» vor der Beschreibung (Kopfzeile und Zeilen teilen sich dieselbe Spaltenvorlage) */
.re-pos.au-pos { grid-template-columns: 95px minmax(150px, 1fr) 70px 64px 90px 70px 96px 96px 210px; }
.re-pos .betrag { padding-top: 10px; }
.re-pos input, .re-pos select { min-height: 40px; padding: 6px 8px; }
@media (max-width: 900px) {
  .re-pos-head { display: none; }
  .re-pos, .re-pos.au-pos { grid-template-columns: 1fr 1fr; }
  .re-pos .cell.wide, .re-pos .btns { grid-column: 1 / -1; }
  .re-pos .cell label { display: block; }
  .re-pos-row { grid-template-columns: 1fr; }
  .re-pos-headrow { display: none; }
  .re-pos-row .inline-form { justify-self: end; }
  dl.sums { max-width: none; }
}
.portal-daten { width: 100%; box-sizing: border-box; font-family: ui-monospace, Menlo, monospace; font-size: .85rem; }
