/* SSO – ruhiges, schnelles Design. Keine Webfonts, keine externen Dateien. */
:root {
  --bg: #f6f5f2; --card: #ffffff; --ink: #1c1c1a; --muted: #6b6963; --line: #e3e1db;
  --accent: #1f4fd8; --accent-ink: #ffffff; --accent-soft: #e8eefc;
  --ok: #17803d; --ok-soft: #e4f4e8; --warn: #9a5b00; --warn-soft: #fbf0dc; --bad: #b42318; --bad-soft: #fdecea;
  --radius: 12px; --shadow: 0 1px 2px rgba(0,0,0,.04), 0 8px 24px rgba(0,0,0,.06);
  --focus: 0 0 0 3px rgba(31,79,216,.35);
  --chart-n: #1f4fd8; --chart-a: #b42318;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #141413; --card: #1e1e1c; --ink: #eeece6; --muted: #a29f97; --line: #34332f;
    --accent: #7c9cff; --accent-ink: #0d1430; --accent-soft: #1f2744;
    --ok: #5fd08a; --ok-soft: #173322; --warn: #f0b45c; --warn-soft: #3a2b12; --bad: #ff8a7f; --bad-soft: #3d1a17;
    --shadow: none; --focus: 0 0 0 3px rgba(124,156,255,.45);
    --chart-n: #5f82f0; --chart-a: #e8604f;
  }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; min-height: 100vh; display: flex; flex-direction: column;
  background: var(--bg); color: var(--ink);
  font: 16px/1.5 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
a { color: var(--accent); }
code { font: 13px/1.4 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; background: var(--accent-soft); padding: 1px 5px; border-radius: 5px; word-break: break-all; }
h1 { font-size: 24px; line-height: 1.25; margin: 0 0 8px; letter-spacing: -0.01em; }
h2 { font-size: 17px; margin: 0 0 8px; }
.shell { flex: 1; display: flex; justify-content: center; align-items: flex-start; padding: 48px 16px 24px; }
.card { width: 100%; max-width: 420px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 28px; display: flex; flex-direction: column; gap: 14px; }
.card--center { margin: 0 auto; }
.lead { margin: 0; color: var(--muted); }
.lead strong { color: var(--ink); }
.hint { margin: 4px 0 0; font-size: 13px; color: var(--muted); }
.muted { color: var(--muted); font-size: 14px; }
.stack { display: flex; flex-direction: column; gap: 10px; margin: 0; }
label { font-weight: 600; font-size: 14px; }
input[type=email], input[type=text], input[type=search], input[type=date], input[type=password], input:not([type]), select {
  width: 100%; font: inherit; color: var(--ink); background: var(--card);
  border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px; min-height: 48px;
}
input:focus-visible, select:focus-visible, button:focus-visible, a:focus-visible, summary:focus-visible { outline: none; box-shadow: var(--focus); border-color: var(--accent); }
.code { font: 600 26px/1 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; letter-spacing: .3em; text-align: center; }
.check { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; cursor: pointer; }
.check input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--accent); flex: none; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; width: 100%; min-height: 48px; padding: 12px 18px;
  font: 600 16px/1.2 inherit; font-family: inherit; border-radius: 10px; border: 1px solid transparent; cursor: pointer; text-decoration: none; }
.btn[disabled] { opacity: .6; cursor: progress; }
.btn--primary { background: var(--accent); color: var(--accent-ink); }
.btn--primary:hover { filter: brightness(1.06); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn--ghost:hover { background: var(--accent-soft); }
.btn--danger { background: var(--bad); color: #fff; }
.btn--sm { width: auto; min-height: 40px; padding: 8px 14px; font-size: 14px; }
.link { background: none; border: 0; padding: 0; font: inherit; font-size: 14px; color: var(--accent); cursor: pointer; text-decoration: underline; text-underline-offset: 2px; }
.link[disabled] { color: var(--muted); cursor: default; text-decoration: none; }
.link--danger { color: var(--bad); }
.row { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.row--split { justify-content: space-between; }
.row--form > input, .row--form > select { flex: 1 1 180px; width: auto; }
.row form { margin: 0; }
.msg { margin: 0; padding: 10px 12px; border-radius: 10px; font-size: 14px; }
.msg--ok { background: var(--ok-soft); color: var(--ok); }
.msg--error { background: var(--bad-soft); color: var(--bad); }
.or { display: flex; align-items: center; gap: 12px; color: var(--muted); font-size: 13px; }
.or::before, .or::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.appbadge { display: flex; align-items: center; gap: 12px; padding-bottom: 14px; border-bottom: 1px solid var(--line); font-size: 15px; }
.appbadge img { border-radius: 10px; object-fit: contain; }
.appinitial { width: 40px; height: 40px; border-radius: 10px; background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; font-weight: 700; font-size: 18px; flex: none; }
.appinitial--sm { width: 32px; height: 32px; font-size: 15px; }
.bigcode { font: 700 40px/1 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; letter-spacing: .12em; text-align: center; margin: 8px 0; }
.facts { margin: 0; padding-left: 18px; color: var(--muted); font-size: 14px; }
.icon-hero { color: var(--accent); }
.foot { text-align: center; color: var(--muted); font-size: 13px; padding: 16px; }
.foot a { color: var(--muted); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
details > summary { list-style: none; cursor: pointer; display: inline-block; margin: 4px 0; }
details > summary::-webkit-details-marker { display: none; }
details[open] > summary { margin-bottom: 10px; }

/* Konto-Center */
.page { width: 100%; max-width: 680px; display: flex; flex-direction: column; gap: 16px; }
.pagehead { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; flex-wrap: wrap; }
.pagehead p { margin: 0; }
.panel { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; display: flex; flex-direction: column; gap: 12px; }
.panel > p { margin: 0; }
.panelhead { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.list { list-style: none; margin: 0; padding: 0; }
.item { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 10px 0; border-top: 1px solid var(--line); }
.item:first-child { border-top: 0; }
.item > div { display: flex; flex-direction: column; }
.item-title { font-weight: 600; text-decoration: none; }
.tag { font-size: 12px; font-weight: 600; background: var(--accent-soft); color: var(--accent); border-radius: 99px; padding: 2px 8px; margin-left: 6px; }

/* Verwaltung */
body.admin .shell { display: block; }
.topbar { display: flex; align-items: center; gap: 20px; padding: 12px 24px; border-bottom: 1px solid var(--line); background: var(--card); flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: 8px; font-weight: 700; color: var(--ink); text-decoration: none; }
.topbar nav { display: flex; gap: 4px; flex: 1; }
.topbar nav a { color: var(--muted); text-decoration: none; padding: 6px 10px; border-radius: 8px; font-size: 15px; }
.topbar nav a[aria-current] { color: var(--ink); background: var(--accent-soft); }
.topbar .me { font-size: 14px; color: var(--muted); }
.wide { width: 100%; max-width: 1080px; margin: 0 auto; padding: 24px 16px 48px; display: flex; flex-direction: column; gap: 16px; }
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; }
.stats > div { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 16px; display: flex; flex-direction: column; }
.num { font-size: 26px; font-weight: 700; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 12px; }
.appcard { display: flex; flex-direction: column; gap: 8px; padding: 14px; border: 1px solid var(--line); border-radius: 10px; text-decoration: none; color: var(--ink); }
.appcard:hover { border-color: var(--accent); }
.appcard-head { display: flex; gap: 10px; align-items: center; }
.appcard-head > span:last-child { display: flex; flex-direction: column; }
.state { display: inline-block; width: fit-content; font-size: 12px; font-weight: 600; border-radius: 99px; padding: 3px 10px; }
.state--ok { background: var(--ok-soft); color: var(--ok); }
.state--warn { background: var(--warn-soft); color: var(--warn); }
.state--off { background: var(--bad-soft); color: var(--bad); }
.state--idle { background: var(--accent-soft); color: var(--muted); }
.banner { display: block; padding: 12px 16px; border-radius: 10px; background: var(--warn-soft); color: var(--warn); text-decoration: none; }
.table { width: 100%; border-collapse: collapse; font-size: 14px; }
.table th { text-align: left; color: var(--muted); font-weight: 600; padding: 8px 8px 8px 0; border-bottom: 1px solid var(--line); }
.table td { padding: 10px 8px 10px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.table tr.alarm td { color: var(--bad); }
.form { display: flex; flex-direction: column; gap: 12px; max-width: 520px; }
.form label:not(.check) { display: flex; flex-direction: column; gap: 6px; }
fieldset { border: 0; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; }
legend { font-weight: 600; font-size: 14px; margin-bottom: 6px; }
.steps { margin: 0; padding-left: 20px; display: flex; flex-direction: column; gap: 6px; }
@media (max-width: 640px) {
  .table thead { display: none; }
  .table tr { display: block; border-bottom: 1px solid var(--line); padding: 8px 0; }
  .table td { display: block; border: 0; padding: 2px 0; }
  .shell { padding-top: 24px; }
}

/* Einrichtungs-Assistent */
.setup .panel label { margin-top: 4px; }
.setup .panel { gap: 8px; }
.stepno { display: inline-grid; place-items: center; width: 24px; height: 24px; border-radius: 99px; background: var(--accent); color: var(--accent-ink); font-size: 13px; margin-right: 6px; vertical-align: 1px; }
.checks { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 4px; font-size: 14px; }
.checks .ok span { color: var(--ok); font-weight: 700; }
.checks .bad { color: var(--bad); }
.cols { display: grid; grid-template-columns: 1fr 96px; gap: 10px; }
.cols label { display: block; margin-bottom: 6px; }
.result { font-size: 14px; }
.result.ok { color: var(--ok); }
.result.bad { color: var(--bad); }
.result.warn { color: var(--warn); }

/* Freigabe eines Passkeys von einem anderen Gerät */
.request { border: 1px solid var(--accent); background: var(--accent-soft); border-radius: 12px; padding: 14px 16px; margin: 12px 0; }
.request p { margin: 0 0 8px; }
.request .row { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; }
[data-pk-request] { display: block; margin-top: 10px; background: none; border: 0; padding: 0; cursor: pointer; font: inherit; }
.recover-link { display: block; margin-top: 8px; }
.recover-dl { display: grid; grid-template-columns: auto 1fr; gap: 4px 12px; margin: 8px 0; }
.recover-dl dt { color: var(--muted, #888); }
.recover-dl dd { margin: 0; overflow-wrap: anywhere; }
.recover-dl code { user-select: all; }

/* Protokoll: Filter, Kennzahlen, Verlauf */
.filters { display: flex; flex-wrap: wrap; gap: 10px; align-items: flex-end; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 16px; }
.filters label { display: flex; flex-direction: column; gap: 4px; font-size: 13px; color: var(--muted); font-weight: 600; flex: 1 1 150px; min-width: 0; }
.filters select, .filters input { min-height: 40px; padding: 8px 10px; font-size: 14px; }
.filters-search { flex: 2 1 200px !important; }
.filters-custom { display: flex; gap: 10px; flex: 2 1 280px; }
.filters-custom[hidden] { display: none; }
.filters .btn { flex: none; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.chip { display: inline-flex; gap: 6px; align-items: center; font-size: 13px; padding: 4px 10px; border-radius: 99px; background: var(--accent-soft); color: var(--ink); text-decoration: none; border: 1px solid transparent; }
.chip:hover { border-color: var(--accent); }
.chip span { color: var(--muted); font-size: 15px; line-height: 1; }
.stats--log { grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); }
.tile { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 16px; display: flex; flex-direction: column; color: var(--ink); text-decoration: none; }
a.tile:hover { border-color: var(--accent); }
.tile--active { border-color: var(--accent); box-shadow: inset 0 0 0 1px var(--accent); }
.tile--alarm .num::before { content: "⚠ "; font-size: 18px; vertical-align: 3px; color: var(--bad); }
.legend { display: flex; gap: 14px; font-size: 13px; color: var(--muted); }
.legend span { display: inline-flex; align-items: center; gap: 6px; }
.sw { width: 10px; height: 10px; border-radius: 3px; display: inline-block; }
.sw--n { background: var(--chart-n); } .sw--a { background: var(--chart-a); }
.chart { display: grid; grid-template-columns: auto 1fr; grid-template-rows: 180px auto; column-gap: 8px; row-gap: 4px; }
.chart-y { display: flex; flex-direction: column; justify-content: space-between; font-size: 12px; color: var(--muted); text-align: right; font-variant-numeric: tabular-nums; }
.chart-y span { transform: translateY(-50%); } .chart-y span:first-child { transform: none; } .chart-y span:last-child { transform: none; }
.chart-plot { display: flex; align-items: stretch; gap: 2px; border-bottom: 1px solid var(--line);
  background: linear-gradient(to bottom, var(--line) 1px, transparent 1px) 0 0 / 100% 50%; }
.bar { flex: 1 1 0; min-width: 2px; display: flex; flex-direction: column-reverse; gap: 2px; position: relative; border-radius: 4px 4px 0 0; }
.bar:hover, .bar:focus-visible { background: var(--accent-soft); box-shadow: none; }
.bar-n { background: var(--chart-n); border-radius: 0; flex: none; }
.bar-a { background: var(--chart-a); border-radius: 4px 4px 0 0; flex: none; }
.bar-n:last-child { border-radius: 4px 4px 0 0; }
.bar[data-tip]:hover::after, .bar[data-tip]:focus-visible::after { content: attr(data-tip); position: absolute; bottom: calc(100% + 6px); left: 50%; transform: translateX(-50%);
  white-space: nowrap; background: var(--ink); color: var(--bg); font-size: 12px; padding: 4px 8px; border-radius: 6px; z-index: 5; pointer-events: none; }
.bar:first-child[data-tip]:hover::after { left: 0; transform: none; } .bar:last-child[data-tip]:hover::after { left: auto; right: 0; transform: none; }
.chart-x { grid-column: 2; display: flex; justify-content: space-between; font-size: 12px; color: var(--muted); }
.h1{height:1%}.h2{height:2%}.h3{height:3%}.h4{height:4%}.h5{height:5%}.h6{height:6%}.h7{height:7%}.h8{height:8%}.h9{height:9%}.h10{height:10%}.h11{height:11%}.h12{height:12%}.h13{height:13%}.h14{height:14%}.h15{height:15%}.h16{height:16%}.h17{height:17%}.h18{height:18%}.h19{height:19%}.h20{height:20%}.h21{height:21%}.h22{height:22%}.h23{height:23%}.h24{height:24%}.h25{height:25%}.h26{height:26%}.h27{height:27%}.h28{height:28%}.h29{height:29%}.h30{height:30%}.h31{height:31%}.h32{height:32%}.h33{height:33%}.h34{height:34%}.h35{height:35%}.h36{height:36%}.h37{height:37%}.h38{height:38%}.h39{height:39%}.h40{height:40%}.h41{height:41%}.h42{height:42%}.h43{height:43%}.h44{height:44%}.h45{height:45%}.h46{height:46%}.h47{height:47%}.h48{height:48%}.h49{height:49%}.h50{height:50%}.h51{height:51%}.h52{height:52%}.h53{height:53%}.h54{height:54%}.h55{height:55%}.h56{height:56%}.h57{height:57%}.h58{height:58%}.h59{height:59%}.h60{height:60%}.h61{height:61%}.h62{height:62%}.h63{height:63%}.h64{height:64%}.h65{height:65%}.h66{height:66%}.h67{height:67%}.h68{height:68%}.h69{height:69%}.h70{height:70%}.h71{height:71%}.h72{height:72%}.h73{height:73%}.h74{height:74%}.h75{height:75%}.h76{height:76%}.h77{height:77%}.h78{height:78%}.h79{height:79%}.h80{height:80%}.h81{height:81%}.h82{height:82%}.h83{height:83%}.h84{height:84%}.h85{height:85%}.h86{height:86%}.h87{height:87%}.h88{height:88%}.h89{height:89%}.h90{height:90%}.h91{height:91%}.h92{height:92%}.h93{height:93%}.h94{height:94%}.h95{height:95%}.h96{height:96%}.h97{height:97%}.h98{height:98%}.h99{height:99%}.h100{height:100%}
.toplists { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 16px; }
.toplist { list-style: none; margin: 0; padding: 0; font-size: 14px; }
.toplist li { display: flex; justify-content: space-between; gap: 10px; padding: 6px 0; border-top: 1px solid var(--line); }
.toplist li:first-child { border-top: 0; }
.toplist a { color: var(--ink); text-decoration: none; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.toplist a:hover { color: var(--accent); text-decoration: underline; }
.toplist a.is-alarm { color: var(--bad); }
.toplist li > span { color: var(--muted); font-variant-numeric: tabular-nums; flex: none; }
.warn-count { color: var(--bad); }
.cell-link { color: inherit; text-decoration: none; }
.cell-link:hover { color: var(--accent); text-decoration: underline; }
.table tr.alarm .cell-link:hover { color: var(--bad); }
.table--compact td, .table--compact th { padding: 4px 8px 4px 0; }
.pager { display: flex; gap: 10px; justify-content: center; }

/* Zugriffs-Matrix */
.access-help { display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: 13px; color: var(--muted); }
.access-help > span { display: inline-flex; gap: 6px; align-items: center; }
.acc-pill { display: inline-block; font-size: 11px; font-weight: 600; border-radius: 99px; padding: 1px 8px; white-space: nowrap; }
.acc-pill--open { background: var(--ok-soft); color: var(--ok); }
.acc-pill--invite { background: var(--warn-soft); color: var(--warn); }
.acc-pill--off { background: var(--bad-soft); color: var(--bad); }
.matrix-wrap { overflow-x: auto; margin: 0 -20px; padding: 0 20px; }
.matrix { border-collapse: separate; border-spacing: 0; font-size: 14px; min-width: 100%; }
.matrix th, .matrix td { border-bottom: 1px solid var(--line); padding: 8px 10px; text-align: center; vertical-align: top; }
.matrix thead th { font-weight: 600; vertical-align: bottom; min-width: 110px; }
.matrix thead th a { color: var(--ink); text-decoration: none; display: block; margin-bottom: 4px; }
.matrix thead th a:hover { color: var(--accent); text-decoration: underline; }
.matrix .matrix-person { text-align: left; position: sticky; left: 0; background: var(--card); z-index: 2; min-width: 200px; max-width: 260px; font-weight: 400; }
.matrix tbody .matrix-person a { font-weight: 600; color: var(--ink); text-decoration: none; display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.matrix tbody .matrix-person a:hover { color: var(--accent); text-decoration: underline; }
.matrix tbody .matrix-person .muted { display: block; font-size: 12px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.matrix tr.is-off .matrix-person a, .matrix th.is-off a { color: var(--muted); text-decoration: line-through; }
.matrix tbody tr:target td, .matrix tbody tr:target th { background: var(--accent-soft); }
.cell { position: relative; }
.cell--on:not(.cell--open) { background: var(--ok-soft); }
.cell--expired { background: var(--warn-soft); }
.cell-inner { display: flex; align-items: center; justify-content: center; gap: 6px; }
.cell-inner form { margin: 0; display: flex; align-items: center; gap: 4px; }
.cell-check { display: inline-flex; cursor: pointer; padding: 6px; margin: -6px; }
.cell-check input { width: 20px; height: 20px; accent-color: var(--ok); cursor: pointer; margin: 0; }
.cell-open { color: var(--ok); font-weight: 700; width: 20px; display: inline-block; }
.cell-roles { display: block; font-size: 11px; color: var(--accent); font-weight: 600; margin-top: 2px; }
.cell-exp { display: block; font-size: 11px; color: var(--muted); }
.cell-exp--past { color: var(--warn); font-weight: 600; }
.cell-more { position: static; }
.cell-more > summary { margin: 0; padding: 0 6px; border-radius: 6px; color: var(--muted); font-weight: 700; line-height: 1.4; }
.cell-more > summary:hover { background: var(--accent-soft); color: var(--ink); }
.cell-more[open] > summary { margin: 0; background: var(--accent-soft); color: var(--ink); }
.cell-pop { position: absolute; top: calc(100% - 4px); left: 50%; transform: translateX(-50%); z-index: 10; width: 240px; text-align: left;
  background: var(--card); border: 1px solid var(--line); border-radius: 10px; box-shadow: 0 8px 24px rgba(0,0,0,.14); padding: 12px;
  display: flex; flex-direction: column; gap: 8px; }
.cell-pop label { display: flex; flex-direction: column; gap: 4px; font-size: 13px; }
.cell-pop input { min-height: 38px; padding: 6px 10px; font-size: 14px; }
.cell-pop .muted { font-size: 12px; }
.matrix td:last-child .cell-pop { left: auto; right: 4px; transform: none; }
.cell-inner form.cell-pop { align-items: stretch; gap: 8px; }
@media (max-width: 640px) {
  .matrix .matrix-person { min-width: 140px; max-width: 160px; }
  .matrix thead th { min-width: 96px; }
  .matrix-wrap { margin: 0 -20px; }
}

/* ── Version (1.3) ───────────────────────────────────────── */
.verbadge { font: 600 12px/1.4 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; color: var(--accent); background: var(--accent-soft); border-radius: 99px; padding: 2px 8px; margin-left: -12px; }
.vertext { font: 12px ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; opacity: .8; }

/* ── Umgebungen P / Q / T (1.3) ─────────────────────────── */
.envchips { display: inline-flex; gap: 4px; flex-wrap: wrap; }
.envchip { display: inline-block; min-width: 22px; text-align: center; font: 700 11px/1.6 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; border-radius: 6px; padding: 0 6px; border: 1px solid var(--line); color: var(--muted); }
.envchip--on.envchip--p { background: var(--ok-soft); color: var(--ok); border-color: transparent; }
.envchip--on.envchip--q { background: var(--warn-soft); color: var(--warn); border-color: transparent; }
.envchip--on.envchip--t { background: var(--accent-soft); color: var(--accent); border-color: transparent; }
.envchip--open { border-style: dashed; }
a.envchip { text-decoration: none; }
.appcard .envchips { margin-top: 2px; }
.envtable td:first-child { width: 1%; white-space: nowrap; }
.envtable .actions { display: flex; gap: 12px; flex-wrap: wrap; }
.envtable form { display: inline; }
.hint { font-size: 14px; color: var(--muted); margin: 8px 0 0; }
[data-new-only][hidden] { display: none; }
.envswitch { display: inline-flex; gap: 6px; align-items: center; }
.envswitch select { font-size: 13px; padding: 2px 6px; width: auto; min-width: 0; }
