/* Ruhige, helle Oberfläche: Grau wie im Logo, Orange nur als sparsamer Akzent. */
:root {
  --bg: #F8F8F9; --card: #FFFFFF; --soft: #F2F3F4; --line: #E6E7EA; --btn-line: #D3D6DA; --field: #868C94;
  --text: #34383E; --muted: #5E646C;
  --sel: #E9EBEE; --sel-line: #6B7179;
  --accent: #F28A2E; --accent-soft: #FDF1E4; --accent-line: #B9742F; --accent-text: #7A430F;
  --ok-soft: #E8F2EA; --ok-line: #5B8A68; --ok-text: #2F5A3C;
  --nok-soft: #FBEBE6; --nok-line: #B8654E; --nok-text: #8A3620;
  --warn-soft: #FFEBD3; --focus: #B9742F;
  --radius: 10px;
}
* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; }
body {
  font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; font-size: 16px; color: var(--text);
  background: var(--bg); -webkit-text-size-adjust: 100%; -webkit-tap-highlight-color: transparent; overscroll-behavior: none;
}
#app { min-height: 100%; display: flex; flex-direction: column; }
button, input, select, textarea { font-family: inherit; font-size: 16px; color: var(--text); }
button { cursor: pointer; touch-action: manipulation; -webkit-user-select: none; user-select: none; }
button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, a:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
h1 { font-size: 22px; font-weight: 600; margin: 0 0 4px; }
h2 { font-size: 18px; font-weight: 600; margin: 22px 0 10px; }
.muted { color: var(--muted); }
.small { font-size: 13px; }

/* Kopfzeile */
.topbar { flex: none; min-height: 56px; background: var(--card); border-bottom: 1px solid var(--line); display: flex; align-items: center; gap: 12px; padding: 6px 20px; padding-top: max(6px, env(safe-area-inset-top)); }
.brand { display: flex; align-items: center; background: none; border: 0; padding: 0; min-height: 44px; }
.brand b { font-size: 17px; font-weight: 600; }
.topright { display: flex; align-items: center; gap: 4px; flex-wrap: wrap; justify-content: flex-end; margin-left: auto; }
.toplogo { display: block; height: 30px; width: auto; flex: none; margin-left: 8px; }
.whoami { font-size: 13px; color: var(--text); text-align: right; line-height: 1.25; margin-right: 8px; }
.whoami small { color: var(--muted); display: block; }
.tbtn { min-height: 44px; min-width: 44px; padding: 0 12px; border-radius: 8px; border: 1px solid transparent; background: transparent; color: var(--muted); font-weight: 500; font-size: 14px; }
.tbtn.on { background: var(--sel); color: var(--text); font-weight: 600; }
.langs { display: flex; gap: 2px; }

/* Layout */
.page { flex: 1; padding: 24px; width: 100%; max-width: 1040px; margin: 0 auto; }
.center-page { flex: 1; display: flex; align-items: center; justify-content: center; padding: 24px; }
.panel { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.login-box { width: 100%; max-width: 400px; }
.login-box .brand-big { margin-bottom: 4px; font-size: 13px; color: var(--muted); }
.login-box .brand-big b { font-weight: 600; }
.login-box h1 { margin-bottom: 16px; }
.stack { display: flex; flex-direction: column; gap: 14px; }
.row { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.spacer { flex: 1; }

/* Felder und Knöpfe */
label.f { display: flex; flex-direction: column; gap: 6px; font-size: 14px; font-weight: 500; color: var(--muted); }
label.f .hint { font-weight: 400; font-size: 12px; }
.inp, select.inp, textarea.inp { min-height: 44px; width: 100%; border: 1px solid var(--field); border-radius: 8px; padding: 8px 12px; background: var(--card); }
textarea.inp { min-height: 96px; resize: vertical; line-height: 1.35; }
.inp:disabled, .inp[readonly] { background: var(--soft); color: var(--muted); }
.btn { min-height: 44px; padding: 0 18px; border-radius: 8px; border: 1px solid var(--btn-line); background: var(--card); color: var(--text); font-weight: 500; display: inline-flex; align-items: center; justify-content: center; gap: 8px; text-decoration: none; }
.btn.pri { background: var(--accent-soft); border-color: var(--accent-line); color: var(--accent-text); font-weight: 600; }
.btn.dark { background: var(--sel); border-color: var(--sel-line); }
.btn.danger { border-color: var(--nok-line); color: var(--nok-text); }
.btn:disabled { opacity: .45; cursor: default; }
.btn.pri:disabled { background: var(--soft); border-color: var(--btn-line); color: var(--muted); opacity: 1; }
.btn.sm { min-height: 44px; padding: 0 14px; font-size: 14px; }
.msg { padding: 12px 14px; border-radius: 8px; background: var(--accent-soft); border: 1px solid var(--accent-line); font-size: 14px; }
.msg.ok { background: var(--soft); border-color: var(--btn-line); }

/* Startseite */
.tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 16px; }
.tile { text-align: left; background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 20px; min-height: 140px; display: flex; flex-direction: column; gap: 16px; justify-content: space-between; }
.tile:active { border-color: var(--accent-line); }
.tile .ttl { font-size: 18px; font-weight: 600; }
.ico { width: 40px; height: 40px; border-radius: 10px; background: var(--accent-soft); color: var(--accent-text); display: flex; align-items: center; justify-content: center; font-size: 22px; font-weight: 500; }
.ico.alt { background: var(--sel); color: var(--text); }
.typecard .ico { font-size: 15px; font-weight: 600; }
.badge-n { display: inline-block; background: var(--accent-soft); color: var(--accent-text); border-radius: 12px; padding: 2px 10px; font-size: 13px; font-weight: 600; }

/* Karten und Listen */
.cards2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); }
.typecard { text-align: left; padding: 20px; display: flex; flex-direction: column; gap: 8px; min-height: 130px; }
.typecard .ttl { font-size: 18px; font-weight: 600; }
.tabs { display: flex; gap: 8px; margin: 14px 0; flex-wrap: wrap; }
.tab { min-height: 44px; padding: 0 18px; border-radius: 22px; border: 1px solid var(--btn-line); background: var(--card); font-weight: 500; }
.tab.on { background: var(--sel); border-color: var(--sel-line); font-weight: 600; }
.filters { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 14px; }
.filters .inp { width: auto; min-width: 220px; flex: 1; }
.plist { display: flex; flex-direction: column; gap: 8px; }
.pitem { text-align: left; width: 100%; padding: 12px 16px; display: grid; grid-template-columns: 1fr auto; gap: 4px 12px; align-items: center; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); min-height: 68px; }
.pitem:active { border-color: var(--accent-line); }
.pitem .t1 { font-weight: 600; font-size: 16px; }
.pitem .t2 { color: var(--muted); font-size: 14px; }
.pill { display: inline-flex; align-items: center; height: 26px; padding: 0 10px; border-radius: 13px; font-size: 13px; font-weight: 500; white-space: nowrap; border: 1px solid transparent; }
.pill.draft { background: var(--sel); }
.pill.submitted { background: var(--accent-soft); color: var(--accent-text); }
.pill.approved { background: var(--ok-soft); color: var(--ok-text); }
.pill.frozen { background: var(--soft); border-color: var(--sel-line); }
.pill.returned { background: var(--card); border-color: var(--accent-line); color: var(--accent-text); margin-left: 6px; }
.pill.type { background: var(--card); border-color: var(--btn-line); margin-right: 8px; }

/* Wizard */
/* Im Protokoll bleiben Kopf, Schritte und die Knöpfe stehen, nur der Inhalt rollt. */
#app:has(.wiz) { height: 100vh; height: 100dvh; }
.wiz { flex: 1; display: flex; min-height: 0; }
.rail { position: relative; min-height: 0; width: 230px; flex: none; background: var(--card); border-right: 1px solid var(--line); padding: 14px 10px; display: flex; flex-direction: column; gap: 4px; overflow: auto; }
.rail .job { padding: 4px 8px 12px; }
.rail .job .a { font-size: 12px; color: var(--muted); }
.rail .job .b { font-size: 17px; font-weight: 600; }
.step { display: flex; align-items: center; gap: 12px; width: 100%; text-align: left; border: 0; background: transparent; min-height: 52px; border-radius: 8px; padding: 6px 12px; }
.step.cur { background: var(--soft); box-shadow: inset 3px 0 0 var(--accent); }
.step .bd { flex: none; width: 28px; height: 28px; border-radius: 14px; border: 1px solid var(--btn-line); color: var(--muted); display: inline-flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 600; }
.step .bd.fin { background: var(--ok-soft); border-color: var(--ok-line); color: var(--ok-text); }
.step .nm { display: flex; flex-direction: column; gap: 1px; font-weight: 500; font-size: 15px; }
.step.cur .nm { font-weight: 600; }
.step .nm small { font-weight: 400; color: var(--muted); font-size: 12px; }
.wmain { flex: 1; min-width: 0; min-height: 0; display: flex; flex-direction: column; }
.wbar { flex: none; display: flex; align-items: center; gap: 10px; padding: 8px 20px; background: var(--card); border-bottom: 1px solid var(--line); flex-wrap: nowrap; }
.wbar .btn { white-space: nowrap; flex: none; }
.wbar .txt-kurz { display: none; }
.savestate { white-space: nowrap; font-size: 13px; color: var(--muted); min-width: 0; text-align: right; }
.wbar .ttl { font-weight: 600; font-size: 16px; margin-right: auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.savestate.err { color: var(--nok-text); font-weight: 600; }
.wbody { flex: 1; min-height: 0; overflow: auto; padding: 20px 24px 40px; overscroll-behavior: contain; }
.wfoot { flex: none; min-height: 64px; background: var(--card); border-top: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; padding: 8px 24px; padding-bottom: max(8px, env(safe-area-inset-bottom)); gap: 12px; }
.stitle { font-size: 20px; font-weight: 600; margin: 0 0 16px; }
.grid { display: grid; gap: 16px 22px; }
.grid.c1 { grid-template-columns: minmax(0, 1fr); }
.grid.c2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid.c3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.span2 { grid-column: span 2; }
.block { margin-bottom: 20px; }
.blabel { font-size: 14px; font-weight: 600; margin-bottom: 8px; }
.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chip { min-height: 44px; padding: 0 16px; border-radius: 22px; border: 1px solid var(--btn-line); background: var(--card); font-weight: 500; }
.chip.on { background: var(--sel); border-color: var(--sel-line); box-shadow: inset 0 0 0 1px var(--sel-line); font-weight: 600; }
.item { display: flex; align-items: center; gap: 14px; padding: 8px 14px; margin-bottom: 8px; flex-wrap: wrap; }
.item .no { width: 24px; flex: none; color: var(--muted); font-size: 13px; }
.item .tx { flex: 1; min-width: 240px; }
.item .tx .m { font-weight: 500; font-size: 15px; }
.item .tx .s { color: var(--muted); font-size: 13px; margin-top: 2px; }
.item .extra { flex-basis: 100%; padding-left: 38px; }
.segs { display: flex; gap: 6px; flex: none; }
.seg { min-width: 60px; min-height: 44px; border: 1px solid var(--btn-line); background: var(--card); color: var(--muted); border-radius: 8px; font-weight: 500; font-size: 14px; padding: 0 10px; }
.seg.ok { background: var(--ok-soft); border-color: var(--ok-line); color: var(--ok-text); box-shadow: inset 0 0 0 1px var(--ok-line); font-weight: 700; }
.seg.nok { background: var(--nok-soft); border-color: var(--nok-line); color: var(--nok-text); box-shadow: inset 0 0 0 1px var(--nok-line); font-weight: 700; }
.seg.na { background: var(--sel); border-color: var(--sel-line); color: var(--text); box-shadow: inset 0 0 0 1px var(--sel-line); font-weight: 700; }
.seg.wide { min-width: 106px; }
.chk { min-width: 60px; min-height: 44px; border: 1px solid var(--btn-line); background: var(--card); border-radius: 8px; font-weight: 500; }
.chk.on { background: var(--sel); border-color: var(--sel-line); box-shadow: inset 0 0 0 1px var(--sel-line); font-weight: 700; }
.readonly-mode .seg, .readonly-mode .chip, .readonly-mode .chk, .readonly-mode .rowbtn { pointer-events: none; opacity: .75; }

/* Messwerte-Karten */
.rcard { padding: 14px 16px; margin-bottom: 12px; }
.rcard .rhead { display: grid; grid-template-columns: 90px minmax(0, 1fr) auto; gap: 12px; align-items: end; margin-bottom: 12px; }
.rcard .rgrid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px 12px; }
.rcard .rgrid .gl { grid-column: 1 / -1; font-size: 12px; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; margin-top: 4px; }
.rcard .inp.warn { background: var(--warn-soft); border-color: var(--accent-line); }
.rowbtns { display: flex; gap: 8px; }

/* Abschluss */
.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-bottom: 16px; }
.stat { padding: 14px 18px; }
.stat .a { font-size: 13px; font-weight: 500; color: var(--muted); }
.stat .b { font-size: 22px; font-weight: 600; margin-top: 4px; }
.stat .c { font-size: 13px; color: var(--muted); margin-top: 2px; }
.blockers { padding: 14px 18px; border-color: var(--accent-line); background: var(--accent-soft); margin-bottom: 16px; }
.blockers ul { margin: 6px 0 0; padding-left: 20px; }
.sigprev { height: 96px; display: flex; align-items: center; justify-content: center; border: 1px dashed var(--field); border-radius: 10px; background: var(--card); }
.sigprev img { max-height: 84px; max-width: 100%; }
.history { margin: 8px 0 0; padding: 0; list-style: none; }
.history li { padding: 8px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.history li small { color: var(--muted); }
.actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 14px; }

/* Unterschriftenfeld */
.sigwrap { width: 100%; border: 1px solid var(--field); border-radius: 10px; background: #fff; background-image: linear-gradient(transparent calc(100% - 40px), var(--btn-line) calc(100% - 40px), var(--btn-line) calc(100% - 39px), transparent calc(100% - 39px)); }
.sigpad { width: 100%; display: block; touch-action: none; cursor: crosshair; }

/* Benutzerverwaltung */
.utable { width: 100%; border-collapse: collapse; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.utable th, .utable td { padding: 8px 12px; text-align: left; border-bottom: 1px solid var(--line); font-size: 14px; vertical-align: middle; }
.utable th { background: var(--soft); color: var(--muted); font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .04em; }
.utable select { min-height: 44px; border: 1px solid var(--field); border-radius: 8px; padding: 0 8px; background: var(--card); }
.utable .inactive td { opacity: .55; }
.uwrap { overflow-x: auto; }

/* Dialog und Hinweis */
.modal-bg { position: fixed; inset: 0; background: rgba(52, 56, 62, .35); display: flex; align-items: center; justify-content: center; padding: 20px; z-index: 50; }
.modal { background: var(--card); border-radius: 14px; padding: 22px; max-width: 520px; width: 100%; max-height: 90vh; max-height: 90dvh; overflow: auto; box-shadow: 0 12px 40px rgba(52, 56, 62, .18); }
.modal h3 { margin: 0 0 10px; font-size: 18px; font-weight: 600; }
.modal .actions { justify-content: flex-end; }
#toast { position: fixed; left: 50%; top: 68px; transform: translateX(-50%); background: var(--text); color: #fff; padding: 10px 18px; border-radius: 10px; font-weight: 500; opacity: 0; pointer-events: none; transition: opacity .2s; z-index: 60; max-width: 90vw; }
#toast.show { opacity: 1; }

/* Hochformat und kleinere Tablets */
@media (max-width: 960px) {
  .wiz { flex-direction: column; }
  .rail { width: 100%; flex-direction: row; overflow-x: auto; padding: 8px; gap: 6px; border-right: 0; border-bottom: 1px solid var(--line); }
  .rail .job { display: none; }
  .step { width: auto; flex: none; min-height: 48px; }
  .step.cur { box-shadow: inset 0 -3px 0 var(--accent); }
  .step .nm small { display: none; }
  .tiles { grid-template-columns: 1fr; }
  .tile { min-height: 120px; }
  .cards2 { grid-template-columns: 1fr; }
  .grid.c3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rcard .rgrid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .stats { grid-template-columns: 1fr; }
  .wbody { padding: 18px 16px 40px; }
}
@media (max-width: 900px) {
  .topbar .whoami { display: none; }
}

/* Tablet hochformat und Telefon quer: Speicherstand unter den Titel, damit beides Platz hat. */
@media (min-width: 641px) and (max-width: 960px) {
  .wbar { display: grid; grid-template-columns: auto auto minmax(0, 1fr) auto auto; grid-template-areas: "zurueck art titel zeigen laden" "zurueck art stand zeigen laden"; align-content: center; gap: 0 8px; }
  .wbar .zurueck { grid-area: zurueck; }
  .wbar .pill { grid-area: art; align-self: center; }
  .wbar .ttl { grid-area: titel; align-self: center; margin: 0; }
  .wbar .savestate { grid-area: stand; text-align: left; white-space: normal; }
  .wbar .pdf-zeigen { grid-area: zeigen; }
  .wbar .pdf-laden { grid-area: laden; }
}
@media (min-width: 641px) and (max-width: 760px) {
  .topbar { gap: 8px; }
  .topbar .tbtn { font-size: 13px; padding: 0 4px; }
  .topright, .langs { gap: 0; }
  .toplogo { height: 26px; margin-left: 0; }
  .wbar .btn { padding: 0 8px; }
  .wbar .pill { padding-left: 6px; padding-right: 6px; font-size: 11px; }
}

/* Telefon */
@media (max-width: 640px) {
  .grid.c2, .grid.c3 { grid-template-columns: 1fr; }
  .span2 { grid-column: auto; }
  .rcard .rgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rcard .rhead { grid-template-columns: 80px minmax(0, 1fr); }
  .rcard .rhead .rowbtns { grid-column: 1 / -1; }
  .page { padding: 16px 12px; }
  .center-page { padding: 16px 12px; }
  .topbar { flex-wrap: wrap; row-gap: 0; padding-top: max(4px, env(safe-area-inset-top)); padding-bottom: 4px; }
  .toplogo { order: 2; margin-left: auto; height: 26px; }
  .topright { order: 3; width: 100%; flex-wrap: nowrap; justify-content: space-between; margin-left: 0; overflow-x: auto; }
  .tbtn { padding: 0 8px; }
  .rail { padding-top: 4px; padding-bottom: 4px; }
  .step { min-height: 46px; gap: 8px; padding: 4px 10px; }
  .step .bd { width: 24px; height: 24px; }
  .wbar { display: grid; grid-template-columns: auto minmax(0, 1fr) auto auto; grid-template-areas: "zurueck titel zeigen laden" "zurueck stand zeigen laden"; align-content: center; gap: 0 6px; padding-top: 6px; padding-bottom: 6px; }
  .wbar .btn { padding: 0 10px; min-width: 44px; }
  .wbar .zurueck { grid-area: zurueck; }
  .wbar .pill { display: none; }
  .wbar .ttl { grid-area: titel; align-self: center; margin: 0; font-size: 15px; }
  .wbar .savestate { grid-area: stand; text-align: left; white-space: normal; font-size: 12px; }
  .wbar .pdf-zeigen { grid-area: zeigen; }
  .wbar .pdf-laden { grid-area: laden; }
  .wbar .txt-lang { display: none; }
  .wbar .txt-kurz { display: inline; }
  .wbody { padding-top: 14px; }
  .wfoot { min-height: 56px; padding-top: 6px; }
  .item { padding: 10px 12px; }
  .item .tx { min-width: 200px; }
  .item .extra { padding-left: 0; }
}
@media (max-width: 360px) {
  .topbar .tbtn { font-size: 12px; padding: 0 2px; }
  .topright, .langs { gap: 0; }
}

/* Telefon im Querformat: wenig Höhe, darum rollt die ganze Seite und nur die Knöpfe bleiben unten stehen. */
@media (max-height: 499px) {
  #app:has(.wiz) { height: auto; }
  .wbody { overflow: visible; }
  .wfoot { position: sticky; bottom: 0; min-height: 56px; }
}

/* Aussparung und Ränder bei iPhone und Android */
.topbar, .wbar, .wfoot { padding-left: max(12px, env(safe-area-inset-left)); padding-right: max(12px, env(safe-area-inset-right)); }
@media (min-width: 641px) {
  .topbar, .wbar { padding-left: max(20px, env(safe-area-inset-left)); padding-right: max(20px, env(safe-area-inset-right)); }
  .wfoot { padding-left: max(24px, env(safe-area-inset-left)); padding-right: max(24px, env(safe-area-inset-right)); }
}
@media (orientation: landscape) {
  .rail { padding-left: max(10px, env(safe-area-inset-left)); }
}

/* Mauszeiger-Effekte nur mit Maus, sonst bleiben sie auf dem Touchscreen hängen. */
@media (hover: hover) {
  .tbtn:hover { background: var(--soft); }
  .btn:hover:not(:disabled):not(.pri) { background: var(--soft); }
  .tile:hover { border-color: var(--btn-line); }
}

/* Vorkonfiguration: Objekt, Wohnungen, Legende */
.vorlage > summary { cursor: pointer; min-height: 44px; display: flex; align-items: center; }
.vorlage section h2 { font-size: 16px; margin-top: 18px; }
.witem { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px 16px; align-items: center; padding: 10px 14px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); }
.wmain-btn { text-align: left; background: none; border: 0; padding: 4px 0; min-height: 44px; }
.wmain-btn .t1 { font-weight: 600; font-size: 16px; }
.wmain-btn .t2 { color: var(--muted); font-size: 14px; }
.wright { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; justify-content: flex-end; }
.ltable { min-width: 560px; }
.ltable td { padding: 4px 6px; }
.ltable .inp { min-height: 44px; width: 100%; }
.ltable .ops { white-space: nowrap; width: 1%; }
.ltable td.c-ort { min-width: 240px; }
.ltable .inp::placeholder { color: transparent; }
.btn.icon { min-width: 44px; padding: 0 10px; }
@media (max-width: 640px) {
  .witem { grid-template-columns: minmax(0, 1fr); }
  .wright { justify-content: flex-start; }
  /* Legende am Handy: jede Zeile als Karte, Bezeichnung über die ganze Breite */
  .ltable { min-width: 0; border: 0; background: none; }
  .ltable thead { display: none; }
  .ltable tr { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; padding: 10px; margin-bottom: 10px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); }
  .ltable td { padding: 0; border: 0; }
  .ltable td.c-ort, .ltable td.ops { grid-column: 1 / -1; min-width: 0; }
  .ltable .inp::placeholder { color: var(--muted); }
}
