/* ============================================================
   Next Eleven – Verwaltung › Einstellungen (19.11.2026, Tom: „clean, nichts hängt lose rum“)
   Gilt nur innerhalb von .set-page (admin-einstellungen.js). Andere Seiten der Verwaltung bleiben unberührt.
   Aufbau: Panel = Kopfzeile (Titel + ein Satz | Status + Hauptaktion) · Abschnitte (links Titel + Satz, rechts Inhalt) · Fußleiste (Hinweis | Speichern).
   Flächen in Anthrazit-Abstufungen statt Schwarz auf Schwarz, feine Linien, 8er-Raster. Gold = handeln/verbunden, Grau = Rest, Rot nur Fehler.
   Bewegung nur transform/opacity (Schalter, Pfeil), kein backdrop-filter.
   ============================================================ */

.set-page {
  --s-bg: #141414;        /* Panel: Anthrazit-Ton über dem schwarzen Grund */
  --s-head: #181818;      /* Kopfzeile */
  --s-raised: #1c1c1c;    /* Kacheln, Optionen, Parameter */
  --s-field: #0e0e0e;     /* Eingabefelder (dunkler als die Fläche) */
  --s-line: rgba(255,255,255,.08);
  --s-line-2: rgba(255,255,255,.16);
  --s-pad: 24px;
  --s-r: 16px;
  --s-chev: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23e8e2d6' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 6l4 4 4-4'/%3E%3C/svg%3E");
}

/* ---------- Panel ---------- */
.set-page .panel { background: var(--s-bg); border: 1px solid var(--s-line); border-radius: var(--s-r); }
.set-page .panel__head {
  align-items: center; gap: 12px 24px; padding: 18px var(--s-pad);
  background: var(--s-head); border-bottom: 1px solid var(--s-line); border-radius: var(--s-r) var(--s-r) 0 0;
}
.set-page .panel__title { display: flex; align-items: center; gap: 10px; margin: 0; font: 400 20px/1.1 var(--f-num); letter-spacing: .03em; text-transform: uppercase; color: var(--white); }
.set-panel__titles { flex: 1 1 320px; min-width: 0; display: grid; gap: 6px; }
.set-panel__meta { margin: 0; max-width: 72ch; color: var(--muted); font-size: var(--fs-body, 13.5px); line-height: 1.5; }
.set-panel__meta a, .set-sec__text a, .set-foot__hint a, .set-tile__sub a, .set-param--ro a { color: var(--sand); text-underline-offset: 3px; }
.set-panel__meta a:hover, .set-sec__text a:hover, .set-foot__hint a:hover, .set-tile__sub a:hover, .set-param--ro a:hover { color: var(--gold); }
.set-page code { font-size: var(--fs-sm, 12.5px); color: var(--sand); }
.set-panel__side { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 10px 12px; }
.set-count { padding: 5px 9px; border-radius: 999px; background: rgba(255,255,255,.06); font: 500 var(--fs-meta, 12px)/1 var(--f-text); letter-spacing: 0; color: var(--muted); }
.set-page .panel.gap-top, .set-page .set-google + .panel { margin-top: 24px; }
.set-pad { padding: var(--s-pad); }
.set-empty { padding: 8px var(--s-pad) 16px; }

/* ---------- Abschnitte ---------- */
.set-page .set-form--sec.form { display: block; padding: 0; gap: 0; background: none; border: 0; }
.set-sec { display: grid; grid-template-columns: minmax(200px, 260px) minmax(0, 1fr); gap: 12px 40px; padding: var(--s-pad); border-top: 1px solid var(--s-line); }
.set-panel__head + .set-sec, .set-form--sec > .set-sec:first-child, .set-acc__body > .set-sec:first-child { border-top: 0; }
.set-sec__head { min-width: 0; }
.set-sec__title { margin: 0; font: 600 var(--fs-md, 15px)/1.35 var(--f-text); color: var(--white); }
.set-sec__text { margin: 6px 0 0; max-width: 44ch; color: var(--muted); font-size: var(--fs-body, 13.5px); line-height: 1.55; }
.set-sec__body { min-width: 0; }

/* Felder: ruhiger, gleiche Höhe, abgerundet */
.set-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 24px; }
.set-fields--1 { grid-template-columns: minmax(0, 480px); }
.set-fields .field--full { grid-column: 1 / -1; }
.set-page .set-sec .field { margin: 0; min-width: 0; }
.set-page .set-sec .field label { margin-bottom: 8px; }
.set-page .set-sec .field input, .set-page .set-sec .field select, .set-page .set-sec .field textarea {
  min-height: 46px; font-size: var(--fs-md, 15px); background-color: var(--s-field); border-color: rgba(255,255,255,.14); border-radius: 10px;
}
.set-page .set-sec .field textarea { min-height: 104px; }
.set-page .set-sec .field__hint { margin-top: 8px; font-size: var(--fs-sm, 12.5px); color: var(--muted); }
.set-field--narrow { max-width: 320px; }
.set-row { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 16px; }
.set-row > .set-tile { flex: 1 1 220px; max-width: 340px; }
.set-row > .set-field--narrow { flex: 0 1 200px; }
.set-note { margin: 12px 0 0; color: var(--muted); font-size: var(--fs-sm, 13px); line-height: 1.5; }
.set-note--lead { margin: 0; color: var(--sand); font-size: var(--fs-md, 15px); }
.set-state { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 12px; min-height: 32px; margin: 0; color: var(--muted); font-size: var(--fs-body, 13.5px); }

/* ---------- Fußleiste: Hinweis links, Aktion rechtsbündig ---------- */
.set-foot {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 12px 24px;
  padding: 16px var(--s-pad); background: rgba(255,255,255,.02); border-top: 1px solid var(--s-line); border-radius: 0 0 var(--s-r) var(--s-r);
}
.set-foot__hint { flex: 1 1 280px; margin: 0; color: var(--muted); font-size: var(--fs-sm, 13px); line-height: 1.5; }
.set-foot__acts { display: flex; flex-wrap: wrap; gap: 10px; margin-left: auto; }

/* ---------- Buttons: Gold = Hauptaktion, Umriss = Nebenaktion, Trennen = Umriss mit Rot nur beim Drüberfahren ---------- */
.admin-body .set-page .btn.btn { --b-h: 40px; --b-fs: 13.5px; --b-pad: 18px; --b-padr: 18px; }
.admin-body .set-page .btn--xs.btn--xs { --b-h: 36px; --b-fs: 13px; --b-pad: 14px; --b-padr: 14px; }
.admin-body .set-page .btn:not(.btn--gold) {
  --b-bg: rgba(255,255,255,.04); --b-bg-h: rgba(255,255,255,.09);
  --b-fg: var(--white); --b-fg-h: var(--white);
  --b-sh: inset 0 0 0 1px rgba(255,255,255,.2); --b-sh-h: inset 0 0 0 1px rgba(255,255,255,.45); --b-sh-a: var(--b-sh-h);
  white-space: nowrap;
}
.admin-body .set-page .btn[data-action="gm-disconnect"] { --b-fg-h: var(--warn); --b-bg-h: rgba(255,154,142,.06); --b-sh-h: inset 0 0 0 1px rgba(255,154,142,.7); }
.set-page .btn:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }

/* ---------- Status-Tags mit Punkt ---------- */
.set-page .chip {
  min-height: 26px; padding: 0 10px; gap: 7px; border-radius: 999px;
  font: 500 var(--fs-meta, 12px)/1 var(--f-text); font-stretch: 100%; letter-spacing: .01em; text-transform: none;
  color: var(--sand); background: rgba(255,255,255,.03); border: 1px solid var(--s-line-2);
}
.set-page :is(.chip--ok, .chip--gold, .chip--muted, .chip--problem)::before { content: ""; flex: none; width: 7px; height: 7px; border-radius: 50%; background: var(--dim); }
.set-page :is(.chip--ok, .chip--gold) { color: var(--white); background: rgba(212,175,55,.08); border-color: rgba(212,175,55,.45); }
.set-page :is(.chip--ok, .chip--gold)::before { background: var(--gold); box-shadow: 0 0 0 3px rgba(212,175,55,.18); }
.set-page .chip--muted { color: var(--muted); }
.set-page .chip--problem { color: var(--warn); background: rgba(255,154,142,.06); border-color: rgba(255,154,142,.45); }
.set-page .chip--problem::before { background: var(--warn); }

/* ---------- Kacheln (Kennzahlen, Status) ---------- */
.set-tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 12px; }
.set-tiles--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.set-tiles--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.set-tile { display: grid; align-content: start; gap: 8px; min-width: 0; padding: 16px 18px; background: var(--s-raised); border: 1px solid var(--s-line); border-radius: 12px; }
.set-tile__k { font: 600 var(--fs-meta, 11px)/1.2 var(--f-text); font-stretch: 125%; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.set-tile__v { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; min-height: 26px; color: var(--white); font-size: var(--fs-md, 15px); font-weight: 500; line-height: 1.35; overflow-wrap: anywhere; }
.set-tile__v--num { font: 400 34px/1 var(--f-num); letter-spacing: .01em; }
.set-tile__sub { color: var(--muted); font-size: var(--fs-sm, 12.5px); line-height: 1.45; }

/* ---------- Zuständigkeiten ---------- */
.set-who { display: flex; align-items: center; gap: 14px; max-width: 480px; padding: 14px 16px; background: var(--s-raised); border: 1px solid var(--s-line); border-radius: 12px; }
.set-who__av { flex: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--gold); color: var(--black); font: 400 17px/1 var(--f-num); letter-spacing: .04em; }
.set-who__av.is-empty { background: var(--anthracite); color: var(--muted); }
.set-who__name { display: block; color: var(--white); font: 600 var(--fs-lg, 16px)/1.3 var(--f-text); }
.set-who__sub { display: block; color: var(--muted); font-size: var(--fs-sm, 13px); }
.set-except__h { margin: 20px 0 8px; font: 600 var(--fs-meta, 11px)/1.2 var(--f-text); font-stretch: 125%; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.set-except { max-width: 480px; margin: 0; padding: 0; list-style: none; border: 1px solid var(--s-line); border-radius: 12px; }
.set-except li { display: flex; justify-content: space-between; gap: 16px; padding: 10px 16px; color: var(--sand); font-size: var(--fs-body, 14px); }
.set-except li + li { border-top: 1px solid var(--s-line); }
.set-except b { color: var(--white); font-weight: 600; }

/* ---------- Aufklappbar (ganze Zeile klickbar, Pfeil rechts) ---------- */
.set-acc { border-top: 1px solid var(--s-line); }
.set-acc > summary {
  display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; padding: 14px var(--s-pad);
  cursor: pointer; list-style: none;
}
.set-acc > summary::-webkit-details-marker { display: none; }
.set-acc__txt { display: grid; gap: 2px; min-width: 0; }
.set-acc__t { color: var(--white); font: 600 var(--fs-md, 15px)/1.35 var(--f-text); }
.set-acc__s { color: var(--muted); font-size: var(--fs-sm, 13px); }
.set-acc__i {
  flex: none; width: 32px; height: 32px; border-radius: 50%; border: 1px solid var(--s-line-2);
  background: var(--s-chev) center / 16px no-repeat; transition: transform .35s var(--ease), border-color .3s;
}
.set-acc[open] > summary .set-acc__i { transform: rotate(180deg); }
.set-acc > summary:hover .set-acc__t { color: var(--gold); }
.set-acc > summary:hover .set-acc__i { border-color: rgba(212,175,55,.6); }
.set-acc > summary:focus-visible { outline: 2px solid var(--gold); outline-offset: -2px; }
.set-acc[open] > summary { border-bottom: 1px solid var(--s-line); }
.set-acc .set-form--sec .table-wrap { border-radius: 0; }

/* ---------- Automatisierungen ---------- */
.set-autos { margin: 0; padding: 0; list-style: none; }
.set-auto { display: grid; grid-template-columns: 44px minmax(0, 1fr) auto; gap: 4px 16px; align-items: start; padding: 18px var(--s-pad); border-top: 1px solid var(--s-line); }
.set-auto:first-child { border-top: 0; }
.set-auto__main { min-width: 0; }
.set-auto__title { margin: 0; color: var(--white); font: 600 var(--fs-md, 15px)/1.35 var(--f-text); }
.set-auto__fixed { margin-left: 8px; padding: 3px 8px; border-radius: 999px; background: rgba(255,255,255,.06); color: var(--muted); font: 500 var(--fs-meta, 11.5px)/1 var(--f-text); vertical-align: 2px; }
.set-auto__rule { margin: 4px 0 0; color: var(--muted); font-size: var(--fs-body, 13.5px); line-height: 1.5; }
.set-auto__rule span { color: var(--sand); }
.set-auto:is(.is-off, :has(.set-switch input:not(:checked))) :is(.set-auto__title, .set-auto__rule span) { color: var(--muted); }
.set-auto__params {
  display: flex; flex-wrap: wrap; align-items: center; gap: 10px 24px; width: fit-content; max-width: 100%; margin-top: 12px; padding: 10px 14px;
  background: var(--s-raised); border: 1px solid var(--s-line); border-radius: 10px;
}
.set-param { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; margin: 0; color: var(--muted); font-size: var(--fs-body, 13.5px); }
.set-param .cell-input, .set-param .nf-wrap { width: 96px; min-width: 0; }
.set-page .set-param .cell-input { min-height: 38px; background: var(--s-field); border-color: rgba(255,255,255,.14); border-radius: 8px; }
.set-param .nf-wrap--time { width: 120px; }
.set-param--ro b { color: var(--sand); font-weight: 500; }
.set-to { padding: 0; border: 0; }
.set-to legend { float: left; margin-right: 6px; padding: 0; }
.set-to label { display: inline-flex; align-items: center; gap: 8px; min-height: 32px; color: var(--sand); cursor: pointer; }
.set-to input { width: 18px; height: 18px; margin: 0; accent-color: var(--gold); }
.set-later { margin-top: 2px; padding: 5px 10px; border-radius: 999px; background: rgba(255,255,255,.04); color: var(--muted); font-size: var(--fs-meta, 12px); line-height: 1.2; white-space: nowrap; }

/* ---------- Schalter (Checkbox als Switch) ---------- */
.set-switch { display: inline-flex; align-items: center; gap: 10px; min-height: 32px; color: var(--sand); font-size: var(--fs-body, 14px); cursor: pointer; }
.set-switch input {
  -webkit-appearance: none; appearance: none; position: relative; flex: none; width: 40px; height: 24px; margin: 0; padding: 0;
  border-radius: 999px; background: var(--anthracite); box-shadow: inset 0 0 0 1px rgba(255,255,255,.12); cursor: pointer; transition: background-color .3s var(--ease);
}
.set-switch input::after {
  content: ""; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: var(--sand);
  transition: transform .3s var(--ease);
}
.set-switch input:checked { background: var(--gold); box-shadow: none; }
.set-switch input:checked::after { transform: translateX(16px); background: var(--black); }
.set-switch input:disabled { opacity: .55; cursor: not-allowed; }
.set-switch input:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
.set-switch--row { font-size: var(--fs-md, 15px); color: var(--white); }

/* ---------- Zahlarten als Optionen ---------- */
.set-opts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.set-opt {
  display: flex; align-items: center; gap: 10px; min-height: 48px; padding: 10px 14px; border: 1px solid var(--s-line-2); border-radius: 10px;
  background: var(--s-raised); color: var(--sand); font-size: var(--fs-body, 14px); cursor: pointer; transition: border-color .3s var(--ease);
}
.set-opt input { flex: none; width: 18px; height: 18px; margin: 0; accent-color: var(--gold); }
.set-opt:has(input:checked) { border-color: rgba(212,175,55,.6); background: rgba(212,175,55,.06); color: var(--white); }

/* ---------- Systemstatus: Dienste ---------- */
.set-svc { margin: 0; padding: 0; list-style: none; }
.set-svc li { display: flex; align-items: center; justify-content: space-between; gap: 12px 24px; padding: 16px var(--s-pad); border-top: 1px solid var(--s-line); }
.set-svc li:first-child { border-top: 0; }
.set-svc__txt { display: grid; gap: 3px; min-width: 0; }
.set-svc__name { color: var(--white); font: 600 var(--fs-md, 15px)/1.35 var(--f-text); }
.set-svc__sub { color: var(--muted); font-size: var(--fs-sm, 13px); line-height: 1.5; }
.set-svc__st { flex: none; }

/* ---------- Tabellen (Zuständigkeiten, Quellen, Funnels) ---------- */
.set-page .set-table th { padding: 12px 16px; border-bottom-color: var(--s-line); }
.set-page .set-table td { padding: 12px 16px; border-bottom-color: var(--s-line); }
.set-page .set-table :is(th, td):first-child { padding-left: var(--s-pad); }
.set-page .set-table :is(th, td):last-child { padding-right: var(--s-pad); }
.set-page .set-table tbody tr:last-child td { border-bottom: 0; }
.set-page .set-table tr.is-off td:not(:last-child) { opacity: .6; }
.set-page .set-table .acts { display: flex; justify-content: flex-end; gap: 8px; }
.set-page .set-table .mini-select--plain {
  min-height: 40px; padding: 0 32px 0 12px; border-radius: 8px; background-color: var(--s-field); border-color: rgba(255,255,255,.14);
  font: 400 var(--fs-body, 14px)/1.3 var(--f-text); letter-spacing: 0; text-transform: none; color: var(--white);
}

/* ---------- Unterpunkte von Technik ---------- */
.set-subnav { margin-bottom: 16px; }
.set-subnav .seg button { min-height: 36px; padding: 0 16px; font-size: var(--fs-sm, 13px); }

/* ---------- E-Mail-Agent (Feinheiten im neuen Raster) ---------- */
.set-page .ag-form .ag-sec { display: none; }
.set-page .ag-card, .set-page .ag-cat { background: var(--s-raised); border-color: var(--s-line-2); }
.set-page .ag-card:has(input:checked), .set-page .ag-cat:has(input:checked) { background: rgba(212,175,55,.06); border-color: rgba(212,175,55,.6); }
.set-page .ag-words { min-height: 104px; }

/* ---------- Google-Karte (Markup in admin-gmail.js, A.googleCard) ---------- */
.set-pad > .set-note { max-width: 90ch; margin-top: 16px; }
.set-tile--problem { border-color: rgba(255,154,142,.45); background: rgba(255,154,142,.05); }
.set-tile--problem .set-tile__k { color: var(--warn); }
.set-page .gm-err { color: var(--warn); }
.set-list { border: 1px solid var(--s-line); border-radius: 12px; overflow: hidden; }
.set-list__head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 16px; padding: 10px 10px 10px 16px; background: var(--s-raised); color: var(--muted); font-size: var(--fs-sm, 13px); }
.set-list .gm-cals { margin: 0; padding: 0; list-style: none; }
.set-list .gm-cals li { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; min-height: 52px; padding: 10px 16px; border-top: 1px solid var(--s-line); color: var(--white); font-size: var(--fs-md, 14.5px); }
.set-list .gm-cals .cell-sub { margin-left: auto; color: var(--muted); font-size: var(--fs-sm, 13px); }
.gm-mode.form { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; padding: 0; background: none; border: 0; }
.gm-mode__opts { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.gm-mode .set-actions { justify-content: flex-end; }
.gm-tpls { display: grid; gap: 12px; }
.set-page .gm-tpl { display: grid; gap: 16px; margin: 0; padding: 16px; border: 1px solid var(--s-line); border-radius: 12px; background: var(--s-raised); }
.set-page .gm-tpl legend { float: left; width: 100%; margin: 0; padding: 0; color: var(--white); font: 600 var(--fs-body, 14px)/1.3 var(--f-text); letter-spacing: 0; text-transform: none; }
.set-page .gm-tpl .field { margin: 0; }
.set-page .gm-tpl textarea { min-height: 150px; }
.set-switch--row span { line-height: 1.45; }

/* ---------- Tablet ---------- */
@media (max-width: 1100px) {
  .set-sec { grid-template-columns: 1fr; gap: 16px; }
  .set-sec__text { max-width: 72ch; }
  .set-opts, .set-tiles--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ---------- Handy (≤ 767 px): alles gestapelt, Buttons volle Breite, mind. 44 px ---------- */
@media (max-width: 767px) {
  .set-page { --s-pad: 16px; --s-r: 14px; }
  .set-page .panel__head { padding: 16px var(--s-pad); }
  .set-page .panel__title { font-size: 18px; }
  .set-panel__titles { flex-basis: 100%; }
  .set-panel__side { width: 100%; justify-content: flex-start; }
  .set-panel__side .btn { flex: 1 1 auto; }
  .admin-body .set-page .btn.btn, .admin-body .set-page .btn--xs.btn--xs { --b-h: 44px; }
  .set-fields, .set-fields--1, .set-tiles--3 { grid-template-columns: minmax(0, 1fr); }
  .set-tiles--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .set-tile__v--num { font-size: 30px; }
  .set-foot { flex-direction: column; align-items: stretch; }
  .set-foot__hint { flex-basis: auto; }
  .set-foot__acts { width: 100%; margin-left: 0; }
  .set-foot__acts .btn { flex: 1 1 auto; }
  .set-row > .set-tile, .set-row > .set-field--narrow, .set-row > .btn { flex: 1 1 100%; max-width: none; }
  .set-field--narrow { max-width: none; }
  .set-auto { grid-template-columns: 48px minmax(0, 1fr); padding: 16px var(--s-pad); }
  .set-later { grid-column: 2; justify-self: start; white-space: normal; }
  .set-auto__params { width: 100%; }
  .set-switch { min-height: 44px; }
  .set-to label { min-height: 44px; }
  .set-svc li { flex-wrap: wrap; }
  .set-subnav .seg button { min-height: 44px; }
  .set-acc > summary { padding: 14px var(--s-pad); }
  .set-page .set-table :is(th, td):first-child, .set-page .set-table :is(th, td):last-child { padding-left: 0; padding-right: 0; }
  .set-page .table--cards tr { padding: 16px var(--s-pad); }
  .set-page .set-table .acts { justify-content: stretch; }
  .set-page .set-table .acts .btn { flex: 1 1 auto; }
  .set-page .set-table .mini-select--plain { min-height: 44px; }
  /* Google-Karte gestapelt */
  .gm-mode__opts { grid-template-columns: minmax(0, 1fr); }
  .gm-mode .set-actions .btn, .set-list__head .btn { flex: 1 1 auto; }
  .set-list .gm-cals .cell-sub { margin-left: 0; }
  .set-switch--row { align-items: flex-start; }
  .set-switch--row input { margin-top: 2px; }
}

@media (prefers-reduced-motion: reduce) {
  .set-switch input, .set-switch input::after, .set-acc__i, .set-opt { transition: none; }
}

/* Handy: Uhrzeit-Feld der Automatisierungen mit 44 px hohem Ziel */
@media (max-width: 767px) {
  .set-page .set-param .cell-input { min-height: 44px; }
  .set-param .nf-wrap .cell-input ~ .nf-wrap__btn { width: 40px; height: 40px; }
}

/* Mail-Kategorien (Technik › Mail-Kategorien, 20.11.2026): feste Reihenfolge, Stichwort-Felder, Ausprobieren */
.gm-rules .set-sec__text .cat-dot { margin-right: 6px; }
.gm-rules-fixed { margin: 0; padding-left: 20px; color: var(--text-2, #d9d3c7); font-size: var(--fs-body, 14px); line-height: 1.6; }
.gm-rules-fixed li + li { margin-top: 4px; }
.gm-rule-order { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 4px 6px; color: var(--muted); }
.gm-rule-chip { display: inline-flex; align-items: center; color: var(--text-2, #d9d3c7); white-space: nowrap; }
.gm-rule-chip .cat-dot { margin-right: 5px; }
.gm-rules textarea { min-height: 0; font-size: var(--fs-body, 14px); line-height: 1.5; }
.gm-try__out { margin: 0; padding: 10px 12px; border: 1px solid var(--border, #232323); border-radius: var(--r-md, 8px); color: var(--text-2, #d9d3c7); font-size: var(--fs-body, 14px); }
.gm-try__out b { color: var(--text, #f4f1ea); }
.gm-try__why { color: var(--muted); }
