





































































.admin-nav-groups { display: flex; gap: var(--sp-xs); flex-wrap: wrap; justify-content: flex-end; }
.admin-nav-row { flex: 0 0 100%; }
.admin-nav-items { display: flex; gap: var(--sp-xs); flex-wrap: wrap; justify-content: flex-start; }
.admin-nav-group {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 0.5em 1.05em; min-height: 44px;
  border-radius: 99px; border: 1px solid var(--line-2);
  background: none; color: var(--muted);
  font-size: var(--fs-small); font-weight: 700;
  text-decoration: none;
  transition: background 0.12s, color 0.12s, border-color 0.12s;
}
.admin-nav-group:hover {
  border-color: var(--cyan); color: var(--text);
  background: rgba(56, 225, 255, 0.08);
}
.admin-nav-group--active,
.admin-nav-group--active:hover {
  color: var(--bg); background: var(--cyan); border-color: var(--cyan);
}
.admin-nav-item {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 0.35em 0.85em; min-height: 36px;
  border-radius: 99px; border: 1px solid transparent;
  background: none; color: var(--muted);
  font-size: var(--fs-small); font-weight: 600;
  text-decoration: none;
  transition: background 0.12s, color 0.12s, border-color 0.12s;
}
.admin-nav-item:hover { color: var(--text); border-color: var(--line-2); }
.admin-nav-item--active,
.admin-nav-item--active:hover {
  color: var(--cyan); border-color: var(--cyan);
  background: rgba(56, 225, 255, 0.08);
}
.admin-nav-item--ext::after { content: "\2197"; font-size: 0.85em; opacity: 0.7; }


.admin-nav-sub { display: flex; gap: var(--sp-xs); flex-wrap: wrap; align-items: center; margin: var(--sp-l) 0 0; }
.admin-nav-sub-lbl {
  font-size: var(--fs-caption); text-transform: uppercase; letter-spacing: .08em;
  color: var(--muted); margin-right: 6px;
}



.admin-dash-header.dash-header { align-items: flex-start; }



.perf-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 1.4em;
  align-items: flex-end;
  margin: .2em 0 .4em;
}
.perf-fgroup {
  display: flex;
  flex-direction: column;
  gap: .35em;
}
.perf-flabel {



  font-size: var(--fs-caption);
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--muted);
}
.perf-seg {
  display: inline-flex;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  overflow: hidden;
}
.perf-seg a {
  padding: .34em .9em;
  font-size: .85em;
  color: var(--text-dim);
  text-decoration: none;
  border-right: 1px solid var(--line-2);
  transition: background .15s, color .15s;
}
.perf-seg a:last-child { border-right: none; }
.perf-seg a:hover {
  background: rgba(56, 225, 255, .06);
  color: var(--cyan);
}
.perf-seg a.active {
  background: var(--cyan);
  color: var(--text-on-accent);
  font-weight: 600;
}

.admin-nav-sub + .perf-filters { margin-top: .7em; }

.perf-viewer-chip {
  display: inline-flex; align-items: center; gap: 6px; align-self: flex-end;
  padding: .34em .9em; border-radius: 999px;
  border: 1px solid var(--cyan); color: var(--cyan);
  font-size: .85em; text-decoration: none;
}
.perf-viewer-chip b { font-weight: 700; }
.perf-viewer-chip-x { color: var(--muted); }
.perf-viewer-chip:hover .perf-viewer-chip-x { color: var(--cyan); }




.bs-track {
  width: 54px;
  height: 5px;
  border-radius: 999px;
  background: var(--line-2);
  overflow: hidden;
}
.bs-fill {
  height: 100%;
  background: var(--text-dim);
  border-radius: 999px;
}




.admin-health-grid {


  align-items: stretch;
}
.admin-health-pill {

  align-items: flex-start;
  text-align: left;
  min-width: 14em;
  max-width: 22em;
  gap: 0.25em;
  padding: 0.7em 1em;
}
.admin-health-state {
  font-size: 1.1em;
  letter-spacing: 0.02em;
}
.admin-health-state--mini {
  font-size: 0.95em;
  font-weight: 500;
}
.admin-health-detail {
  font-size: 0.8em;
  color: var(--muted);
  line-height: 1.35;
}
.health-state--ok .admin-health-state {
  color: var(--green, #5eff8a);
}
.health-state--warn .admin-health-state {
  color: var(--yellow, #ffd84a);
}
.health-state--error .admin-health-state {
  color: var(--red, #ff4d6e);
}
.health-state--ok    { border-left: 3px solid var(--green, #5eff8a); }
.health-state--warn  { border-left: 3px solid var(--yellow, #ffd84a); }
.health-state--error { border-left: 3px solid var(--red, #ff4d6e); }







.admin-badge {
  font-size: var(--fs-caption);
  padding: .12em .6em;
  border-radius: 999px;
  border: 1px solid var(--line-2);
  letter-spacing: .02em;
  white-space: nowrap;
}
.admin-badge--ok   { color: var(--green); border-color: var(--green); }
.admin-badge--warn { color: var(--yellow); border-color: var(--yellow); }
.admin-badge--bad  { color: var(--red); border-color: var(--red); }







.expand-link {
  font-size: .82em;
  color: var(--cyan);
}








.activity-chart { margin: 0 0 1.4em; }
.activity-chart:last-of-type { margin-bottom: 1em; }
.activity-chart-head {
  display: flex; justify-content: space-between; align-items: baseline;
  margin-bottom: 0.4em;
}
.activity-chart-title { font-size: 0.85em; color: var(--text-dim); font-weight: 600; }
.activity-chart-peak  { font-size: 0.75em; color: var(--muted); }

.activity-bars {
  display: flex;
  align-items: flex-end;
  gap: 3px;
  height: 120px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 1px;
}
.activity-bars--months { height: 100px; }


:where(.admin) .bar-slot {
  flex: 1;
  min-width: 4px;
  height: 100%;
  display: flex;
  align-items: flex-end;
  position: relative;
}
:where(.admin) .bar {
  width: 100%;
  background: rgba(56, 225, 255, 0.55);
  border-radius: 2px 2px 0 0;
  transition: background 0.15s ease;
  min-height: 2px;
}
.bar-slot:hover .bar { background: var(--cyan); }


:where(.admin) .bar--current {
  background: var(--cyan);
  box-shadow: 0 0 8px rgba(56, 225, 255, 0.6);
}


:where(.admin) .bar-slot--nodata {
  background: repeating-linear-gradient(
    -45deg,
    transparent, transparent 3px,
    rgba(28, 39, 66, 0.9) 3px, rgba(28, 39, 66, 0.9) 5px
  );
  border-radius: 2px;
}


.activity-xlabels {
  display: flex;
  gap: 3px;
  margin-top: 0.3em;
}
.activity-xlabels span {
  flex: 1;
  min-width: 4px;




  font-size: var(--fs-micro);
  color: var(--muted);
  text-align: center;
  white-space: nowrap;
  overflow: visible;
}


@media (max-width: 600px) {
  .activity-bars { gap: 2px; }
  .activity-xlabels { gap: 2px; }
}










.adm-heute .panel { padding: 1em 1.2em; margin: 0.9em 0 0; }
.adm-heute .panel-title {
  display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap;
  margin: 0 0 0.5em; font-size: 1em;
}
.adm-heute .panel-title-sub { margin-left: 0; }
.adm-heute .hexa-totals { margin: 0.3em 0 0; }
.adm-heute-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0.9em; margin-top: 0.9em; }
.adm-heute-grid .panel { margin: 0; }
@media (max-width: 1080px) { .adm-heute-grid { grid-template-columns: 1fr; } }
.adm-heute-link { color: var(--cyan); font-size: 0.8em; font-weight: 600; text-decoration: none; }
.adm-heute .panel-title .adm-heute-link { margin-left: auto; }
.adm-heute-empty { margin: 0; padding: 0.4em 0; color: var(--muted); font-size: 0.88em; }



.adm-heute-ampel {
  margin-top: 0.9em; padding: 0.7em 1em;
  border: 1px solid var(--line); border-left: 3px solid var(--green); border-radius: 6px; background: var(--panel);
}
.adm-heute-ampel--warn { border-left-color: var(--yellow); }
.adm-heute-ampel--error { border-left-color: var(--red); }
.adm-heute-sum { display: block; list-style: none; cursor: pointer; }
.adm-heute-sum::-webkit-details-marker { display: none; }
.adm-heute-row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.adm-heute-sys { margin-right: 4px; font-weight: 700; }
.adm-heute-pill {
  display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px;
  border: 1px solid var(--line-2); border-radius: 999px; color: var(--text-dim); font-size: 0.84em;
}
.adm-heute-pill b { font-weight: 700; }
.adm-heute-pill--ok b { color: var(--green); }
.adm-heute-pill--warn b { color: var(--yellow); }
.adm-heute-pill--error b { color: var(--red); }
.adm-heute-at { margin-left: auto; color: var(--muted); font-size: 0.78em; }
.adm-heute-more { color: var(--cyan); font-weight: 600; }
.adm-heute-caret { display: inline-block; }
.adm-heute-details[open] .adm-heute-caret { transform: rotate(180deg); }
.adm-heute-line { display: block; margin-top: 0.45em; font-size: 0.84em; }
.adm-heute-line--error { color: var(--red); }
.adm-heute-line--warn { color: var(--yellow); }
.adm-heute-detailbody .panel { margin-top: 0.8em; }


.adm-task {
  display: flex; align-items: center; gap: 12px; padding: 0.42em 0;
  border-bottom: 1px solid var(--line); color: var(--text); text-decoration: none;
}
.adm-task:last-child { border-bottom: 0; }
.adm-task-n {
  min-width: 2.2em; text-align: right; color: var(--yellow);
  font-size: 1.25em; font-weight: 700; font-variant-numeric: tabular-nums;
}
.adm-task-l { flex: 1; }
.adm-task-l small { display: block; color: var(--muted); font-size: 0.82em; }
.adm-task-go { color: var(--cyan); font-size: 0.86em; white-space: nowrap; }
.adm-task:hover .adm-task-go { color: var(--text); }
.adm-task--zero { opacity: 0.5; }
.adm-task--zero .adm-task-n { color: var(--muted); }


.adm-sw { display: flex; align-items: center; gap: 12px; padding: 0.42em 0; border-bottom: 1px solid var(--line); }
.adm-sw:last-child { border-bottom: 0; }
.adm-sw-l { flex: 1; }
.adm-sw-link { margin-left: 8px; }
.adm-sw-st { max-width: 62%; font-weight: 700; text-align: right; }
.adm-sw-st small { display: block; color: var(--muted); font-size: 0.8em; font-weight: 500; }
.adm-sw-st--warn { color: var(--yellow); }
.adm-sw-st--off { color: var(--muted); }
.adm-sw-st--neutral { color: var(--cyan); }


.adm-inc { display: flex; align-items: baseline; gap: 10px; padding: 0.34em 0; border-bottom: 1px solid var(--line); font-size: 0.9em; }
.adm-inc:last-child { border-bottom: 0; }
.adm-inc-t { min-width: 7.5em; color: var(--muted); font-variant-numeric: tabular-nums; }
.adm-inc-r { flex: 1; }
.adm-inc-g { color: var(--text-dim); }
.adm-inc-go { color: var(--cyan); text-decoration: none; white-space: nowrap; }
.adm-workers { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 0.4em; }
.adm-wk { flex: 1 1 90px; padding: 6px 10px; border: 1px solid var(--line); border-radius: 4px; }
.adm-wk-nm { color: var(--muted); font-size: var(--fs-caption); letter-spacing: 0.05em; text-transform: uppercase; }
.adm-wk-v { font-weight: 700; }
.adm-wk-bar { height: 5px; margin-top: 4px; overflow: hidden; border-radius: 3px; background: var(--line); }
.adm-wk-bar i { display: block; height: 100%; background: var(--text-dim); }
.adm-wk--hot .adm-wk-bar i { background: var(--yellow); }











.adm-filter-row { display: flex; gap: var(--sp-s); flex-wrap: wrap; margin-top: 0.8em; }
.adm-filter-chip {
  display: inline-flex; align-items: center;
  padding: 0.35em 0.85em; border-radius: 999px;
  border: 1px solid var(--line-2); color: var(--muted);
  font-size: 0.82em; text-decoration: none;
}
.adm-filter-chip:hover { border-color: var(--cyan); color: var(--text); }
.adm-filter-chip--on, .adm-filter-chip--on:hover { border-color: var(--cyan); color: var(--cyan); }


.adm-akte-search { position: relative; display: flex; align-items: center; margin-top: 6px; }
.adm-akte-search-ic { position: absolute; left: 10px; color: var(--muted); font-size: 0.9em; pointer-events: none; }
.adm-akte-search input {
  width: 230px; height: 34px; padding: 0 10px 0 30px;
  border: 1px solid var(--line-2); border-radius: 999px;
  background: var(--bg-2); color: var(--text);
  font: inherit; font-size: 0.88em;
  -webkit-appearance: none; appearance: none;
}
.adm-akte-search input:focus { outline: none; border-color: var(--cyan); }


.adm-row-link { cursor: pointer; }
.adm-row-link:hover td { background: var(--cyan-a10); }
.adm-list-hint { margin-top: 0.9em; }


.adm-akte-head {
  display: flex; gap: 16px; align-items: flex-start; flex-wrap: wrap;
  margin-bottom: 1em; padding: 1em 1.2em;
  border: 1px solid var(--line); border-radius: 6px; background: var(--panel);
}
.adm-akte-who { flex: 1 1 300px; }
.adm-akte-nm { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font-size: 1.3em; font-weight: 700; }
.adm-akte-login { color: var(--muted); font-size: 0.9em; }
.adm-akte-kv { display: grid; grid-template-columns: auto 1fr; gap: 3px 12px; margin: 8px 0 0; font-size: 0.86em; }
.adm-akte-kv dt { color: var(--muted); }
.adm-akte-kv dd { margin: 0; color: var(--text); }
.adm-akte-jump { display: flex; gap: 6px; flex-wrap: wrap; align-self: flex-end; }
.adm-akte-jump a {
  padding: 3px 10px; border: 1px solid var(--line-2); border-radius: 999px;
  color: var(--cyan); font-size: 0.82em; text-decoration: none;
}
.adm-akte-jump a.adm-akte-jump--hold { border-color: var(--red); color: var(--red); }


.adm-prov { display: inline-flex; gap: 4px; }
.adm-prov span {
  padding: 1px 6px; border: 1px solid var(--line-2); border-radius: 4px;
  color: var(--text-dim); font-size: 0.72em; font-weight: 700;
}


.adm-akte-title { display: flex; align-items: baseline; flex-wrap: wrap; }
.adm-akte-more { margin-left: auto; color: var(--cyan); font-size: 0.8em; font-weight: 600; text-decoration: none; }
.adm-hold { border-left: 3px solid var(--red); }


.adm-akte-form { margin-top: 0.8em; padding: 0.4em 0.8em; border: 1px dashed var(--line-2); border-radius: 6px; }
.adm-akte-form summary { color: var(--cyan); font-size: 0.88em; font-weight: 600; cursor: pointer; }
.adm-akte-form .perf-filters { margin-top: 0.6em; }


.adm-days { display: flex; gap: 3px; align-items: flex-end; height: 38px; }
.adm-days i { flex: 1; min-width: 6px; border-radius: 2px 2px 0 0; background: var(--cyan-a55); }
.adm-days .adm-days-zero { background: var(--line); }

































.admin-cancel-actions { display: flex; gap: .4em; flex-wrap: nowrap; }






.admin-cancel-actions .pu-limit-form button { padding: 0.3em 0.5em; white-space: nowrap; }


















.adm-filter-form input[type="text"],
.adm-filter-form input[type="date"],
.adm-filter-form textarea {
  min-height: 44px;
  background: var(--bg);
  border: 1px solid var(--line-2);
  color: var(--text);
  border-radius: 8px;
  padding: 0.4em 0.6em;
  font-size: 0.9em;
  font-family: inherit;
}
.adm-filter-form input[type="text"] { width: 220px; }
.adm-filter-form input[type="date"] { width: 155px; }
.adm-filter-form textarea { width: 320px; max-width: 100%; resize: vertical; }
.adm-filter-form button[type="submit"] {
  min-height: 44px;
  background: transparent;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  color: var(--text-dim);
  padding: 0.3em 1.3em;
  font: inherit;
  font-size: 0.9em;
  cursor: pointer;
}
.adm-filter-form button[type="submit"]:hover { border-color: var(--cyan); color: var(--cyan); }







.adm-tile-warn .stat-num { color: var(--yellow); }


















.adm-kpi-row {
  gap: 0.6em;
}
.adm-kpi-row .stat-pill {
  flex: 1 1 150px;
  min-width: 0;
  gap: 0.2em;
}




.adm-table-scroll { overflow-x: auto; }



.adm-sum-row td { border-top: 1px solid var(--line-2); font-weight: 700; }
.adm-dabei-share { display: inline-flex; align-items: center; gap: .5em; }
.adm-dabei-share .bs-track { width: 90px; }
.adm-dabei-share .bs-fill { display: block; }
.adm-dabei-share .bs-num { color: var(--text-dim); font-variant-numeric: tabular-nums; }
.adm-geld { display: grid; grid-template-columns: repeat(3, 1fr); gap: .8em; margin-top: .6em; }
.adm-geld .stat-pill { align-items: flex-start; gap: .25em; padding: .8em 1em; }
.adm-geld .stat-label { text-align: left; text-transform: none; letter-spacing: 0; font-size: .86em; color: var(--text-dim); }
.adm-geld .stat-label b { color: var(--text); font-weight: 600; }
.adm-geld .adm-geld-win { font-size: .74em; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.adm-geld .stat-label.adm-geld-note { color: var(--muted); }
@media (max-width: 1080px) { .adm-geld { grid-template-columns: 1fr; } }



.adm-koh-scroll { border: 1px solid var(--line); border-radius: 6px; margin-top: .6em; }
.adm-koh { border-collapse: collapse; width: 100%; font-size: .86em; }
.adm-koh th, .adm-koh td { padding: 6px 8px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.adm-koh th { font-size: .7em; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); font-weight: 600; text-align: left; }
.adm-koh th.num, .adm-koh td.num { text-align: right; }
.adm-koh td.num { font-variant-numeric: tabular-nums; }
.adm-koh th.adm-koh-w, .adm-koh td.adm-koh-w { text-align: center; min-width: 58px; }
.adm-koh td.adm-koh-mix { color: var(--text-dim); font-size: .9em; }
.adm-koh td.adm-koh-w { font-variant-numeric: tabular-nums; color: var(--text); background: rgba(56, 225, 255, calc(var(--heat, 0) * .55)); }
.adm-koh td.adm-koh-w.adm-koh-none { background: none; color: var(--muted); }
.adm-koh td.adm-koh-w.adm-koh-future { background: none; }
.adm-koh tr.adm-koh-old td { color: var(--muted); }
.adm-koh-legend { display: flex; align-items: center; gap: 8px; font-size: .78em; color: var(--muted); margin-top: .6em; flex-wrap: wrap; }
.adm-koh-sw {
  display: inline-block; width: 46px; height: 10px; border-radius: 3px; border: 1px solid var(--line-2);
  background: linear-gradient(90deg, rgba(56, 225, 255, 0), rgba(56, 225, 255, .55));
}
.adm-koh-more { display: inline-block; margin-top: .5em; text-decoration: none; }
.adm-koh-more + .panel-hint { margin-top: .8em; }

.adm-koh-source-form { display: flex; gap: .4em; align-items: center; }
.adm-koh-source-form select,
.adm-koh-source-form button {
  background: var(--bg); color: var(--text-dim); border: 1px solid var(--line-2); border-radius: 999px;
  padding: .34em .9em; font: inherit; font-size: .85em; cursor: pointer;
}
.adm-koh-source-form button:hover { border-color: var(--cyan); color: var(--cyan); }



.adm-koh .adm-koh-mix { display: none; }


.adm-nowrap { white-space: nowrap; }



.adm-copy-btn {
  background: transparent;
  border: 1px dashed var(--line-2);
  color: var(--text-dim);
  border-radius: 4px;
  padding: 0.15em 0.5em;
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  font-size: 0.82em;
  cursor: pointer;
}
.adm-copy-btn:hover { border-color: var(--cyan); color: var(--cyan); }
.adm-copy-btn.ok { border-color: var(--green); border-style: solid; color: var(--green); }




.adm-pager {
  display: flex;
  align-items: center;
  gap: 1em;
  margin: 1em 0 0;
}
.adm-pager-btn {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0.4em 1.1em;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  color: var(--text-dim);
  text-decoration: none;
}
.adm-pager-btn:hover { border-color: var(--cyan); color: var(--cyan); }
.adm-pager-btn--disabled { opacity: 0.4; pointer-events: none; }
.adm-pager-info { color: var(--muted); font-size: 0.9em; }










.queue-gate-btn {
  display: inline-flex;
  align-items: center;
  padding: 0.45em 1.1em;
  border: 1px solid var(--line-2);
  border-radius: 4px;
  background: transparent;
  color: var(--text);
  font-family: inherit;
  font-size: 0.95em;
  cursor: pointer;
  transition: border-color 0.15s, color 0.15s, box-shadow 0.15s;
  white-space: nowrap;
}
.queue-gate-btn:hover:not(:disabled) {
  border-color: var(--cyan);
  color: var(--cyan);
  box-shadow: 0 0 10px rgba(56, 225, 255, 0.25);
}

.queue-gate-btn--active {
  border-color: var(--green, #5eff8a);
  color: var(--green, #5eff8a);
  background: rgba(94, 255, 138, 0.08);
  opacity: 0.85;
}

.queue-gate-btn--close:hover:not(:disabled) {
  border-color: var(--red, #ff4d6e);
  color: var(--red, #ff4d6e);
  box-shadow: 0 0 10px rgba(255, 77, 110, 0.25);
}
.queue-gate-btn--close.queue-gate-btn--active {
  border-color: var(--red, #ff4d6e);
  color: var(--red, #ff4d6e);
  background: rgba(255, 77, 110, 0.08);
}


.queue-gate-btn--go:hover:not(:disabled) {
  border-color: var(--green, #5eff8a);
  color: var(--green, #5eff8a);
  box-shadow: 0 0 10px rgba(94, 255, 138, 0.25);
}




.hdh-form { margin-top: 1rem; display: grid; gap: 0.8rem; }
.hdh-row { display: grid; gap: 0.35rem; }
.hdh-label {
  font-size: var(--fs-caption);
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.07em;
}
.hdh-chips { display: flex; gap: 0.45rem; flex-wrap: wrap; align-items: center; }
.hdh-chip {
  border: 1px solid var(--line-2);
  background: transparent;
  color: var(--text-dim);
  border-radius: 999px;
  padding: 0.28em 0.8em;
  font-size: 0.88em;
  font-family: inherit;
  cursor: pointer;
  transition: border-color 0.15s, color 0.15s;
}
.hdh-chip:hover { border-color: var(--cyan); color: var(--cyan); }
.hdh-chip.is-on { border-color: var(--cyan); color: var(--cyan); background: rgba(56, 225, 255, 0.08); }
.hdh-hours { width: 5.2rem; }
.hdh-hours-unit { font-size: 0.85em; color: var(--muted); }
.hdh-msg-wrap { display: flex; gap: 0.6rem; align-items: center; flex-wrap: wrap; }
.hdh-msg-input { flex: 1; min-width: 0; max-width: 34rem; }
.hdh-msg-count {
  font-size: 0.78em;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
  min-width: 3.6em;
  text-align: right;
}
.hdh-msg-count.is-max { color: var(--yellow); }
.hdh-preview { font-size: 0.86em; color: var(--text-dim); }
.hdh-preview b { color: var(--text); }
.hdh-msg-quote {
  margin: 0.7rem 0 0;
  padding: 0.55em 0.9em;
  border-left: 3px solid var(--magenta);
  background: rgba(255, 69, 181, 0.06);
  border-radius: 0 4px 4px 0;
  font-size: 0.95em;
}
.hdh-msg-quote.is-default { color: var(--text-dim); font-style: italic; }
.hdh-admin-actions { display: flex; gap: 0.75rem; align-items: center; flex-wrap: wrap; margin-top: 0.9rem; }

.adm-hint { font-size: 0.8em; color: var(--text-dim); margin-top: 0.5em; }
.adm-hint .hl { color: var(--magenta); font-weight: 600; }

.eff-line { margin-top: 0.9em; font-size: 0.9em; color: var(--text-dim); }
.eff-line b { color: var(--text); font-size: 1.1em; }





















:where(.admin) .val-ok  { color: var(--green); }
:where(.admin) .val-warn { color: var(--yellow); }
:where(.admin) .val-bad  { color: var(--red); }


:where(.admin) .bullet {
  display: inline-block;
  width: .55em;
  height: .55em;
  border-radius: 999px;
  margin-right: .45em;
  vertical-align: middle;
}
:where(.admin) .b-ok   { background: var(--green); }
:where(.admin) .b-warn { background: var(--yellow); }
:where(.admin) .b-bad  { background: var(--red); }


:where(.admin) .mode-badge {







  font-size: var(--fs-caption);
  padding: .12em .5em;
  border-radius: 999px;
  border: 1px solid var(--line-2);
  letter-spacing: .04em;
}
:where(.admin) .mode-lite { color: var(--text-dim); }
:where(.admin) .mode-full { color: var(--magenta); border-color: rgba(255, 69, 181, .4); }


:where(.admin) .mode-sampled { color: var(--yellow); border-color: rgba(255, 216, 74, .4); }


:where(.admin) .dev-ic {
  margin-right: .5em;
  opacity: .75;
  font-size: .85em;
}





:where(.admin) .row-expanded {
  background: rgba(56, 225, 255, .06);
}
.row-expanded td { border-bottom-color: transparent; }


:where(.admin) .detail-cell {
  background: var(--bg-2);
  padding: 1em 1.1em !important;
}
:where(.admin) .detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2em;
}



@media (max-width: 768px) {
  :where(.admin) .detail-grid { grid-template-columns: 1fr; }
}
.detail-block h4 {
  margin: 0 0 .5em;
  color: var(--cyan);
  font-size: .85em;
  text-transform: uppercase;
  letter-spacing: .06em;
}
:where(.admin) .kv {
  display: flex;
  justify-content: space-between;
  padding: .22em 0;
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  font-size: .85em;
  border-bottom: 1px dotted var(--line);
}
.kv .k { color: var(--muted); }


.phase-bar-wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  column-gap: .6em;
  row-gap: .28em;
  padding: .34em 0;
  font-family: ui-monospace, monospace;
  font-size: .82em;
}
.phase-bar-wrap + .phase-bar-wrap {
  border-top: 1px solid var(--line);
}
.phase-name {
  order: 1;
  flex: 1 1 auto;
  min-width: 0;
  color: var(--text-dim);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.phase-val {
  order: 2;
  flex: 0 0 auto;
  color: var(--muted);
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
.phase-track {
  order: 3;
  flex: 0 0 100%;
  height: .5em;
  background: var(--line);
  border-radius: 999px;
  overflow: hidden;
}
.phase-fill {
  height: 100%;
  background: var(--cyan);
  border-radius: 999px;
}





:where(.admin) .stat-pill.vg { border-color: rgba(56, 225, 255, .28); }
:where(.admin) .stat-pill.hg { border-color: var(--line-2); }
:where(.admin) .pill-tag {
  font-size: .75em;
  letter-spacing: .1em;
}
:where(.admin) .pill-tag.vg { color: var(--cyan); }
:where(.admin) .pill-tag.hg { color: var(--text-dim); }





.bg-share {
  display: inline-flex;
  align-items: center;
  gap: .5em;
  justify-content: flex-end;
}
.bg-share .bs-num {
  color: var(--text-dim);
  font-variant-numeric: tabular-nums;
}


:where(.admin) .detail-block.full {
  grid-column: 1 / -1;
}


:where(.admin) .fgbg {
  width: 100%;
  font-size: .85em;
}
.fgbg th,
.fgbg td {
  padding: .35em .5em;
  border-bottom: 1px solid var(--line);
}
.fgbg td.num,
.fgbg th.num {
  text-align: right;
  font-variant-numeric: tabular-nums;
}
.fgbg .row-vg td:first-child { color: var(--cyan); }
.fgbg .row-hg td:first-child { color: var(--text-dim); }


:where(.admin) .tag-dot {
  display: inline-block;
  width: .5em;
  height: .5em;
  border-radius: 999px;
  margin-right: .45em;
  vertical-align: middle;
}
:where(.admin) .tag-dot.vg { background: var(--cyan); }
:where(.admin) .tag-dot.hg { background: var(--text-dim); }






:where(.admin) .sw-matrix-scroll { overflow-x: auto; }

:where(.admin) table.sw-matrix {
  border-collapse: collapse;
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  font-variant-numeric: tabular-nums;
  font-size: 0.85em;
  width: 100%;
}


table.sw-matrix thead th {
  color: var(--muted);
  font-size: 0.88em;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 500;
  padding: 0.45em 0.5em;
  border-bottom: 1px solid var(--line);
  text-align: center;
  white-space: nowrap;
  vertical-align: bottom;
}
table.sw-matrix thead th.sw-matrix-corner { text-align: left; }
:where(.admin) .sw-matrix-wlabel {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25em;
}
table.sw-matrix thead th.sw-matrix-unknown-col,
table.sw-matrix tbody tr.sw-matrix-unknown-row > th {
  color: var(--muted);
  font-style: italic;
}


table.sw-matrix tbody th {
  color: var(--text);
  font-weight: 600;
  text-align: left;
  white-space: nowrap;
  padding: 0.3em 0.8em 0.3em 0.2em;
  border-bottom: 1px solid var(--line);
  font-size: 0.92em;
}
:where(.admin) .sw-matrix-slot-sub {
  color: var(--muted);
  font-weight: 400;





  font-size: var(--fs-caption);
  margin-left: 0.3em;
}


table.sw-matrix td {
  padding: 0.3em 0.4em;
  border-bottom: 1px solid var(--line);
  text-align: center;
  vertical-align: middle;
  min-width: 62px;
}
:where(.admin) td.sw-matrix-empty { color: var(--line-2); }
:where(.admin) .sw-matrix-picks {
  font-weight: 700;
  font-size: 1.05em;
  color: var(--text);
  display: block;
}
:where(.admin) .sw-matrix-out {





  font-size: var(--fs-caption);
  color: var(--text-dim);
  display: block;
  margin-top: 1px;
  white-space: nowrap;
}
:where(.admin) .sw-matrix-nodata { color: var(--muted); }


table.sw-matrix th.sw-matrix-sigma,
table.sw-matrix td.sw-matrix-sigma { color: var(--text-dim); }
table.sw-matrix .sw-matrix-sigma-sep {
  border-left: 2px solid var(--line-2);
}


table.sw-matrix tfoot th,
table.sw-matrix tfoot td {
  border-top: 2px solid var(--line-2);
  padding: 0.4em 0.5em;
  color: var(--text-dim);
  text-align: center;
}
table.sw-matrix tfoot th {
  text-align: left;
  color: var(--muted);
  text-transform: uppercase;
  font-size: 0.88em;
  letter-spacing: 0.05em;
}









.adm-statusframe {
  margin-top: 1em; border: 1px solid var(--line); border-radius: 6px;
  overflow: hidden; background: var(--bg);
}
.adm-statusframe-bar {
  display: flex; align-items: center; flex-wrap: wrap; gap: 10px;
  padding: 8px 12px; border-bottom: 1px solid var(--line);
  font-size: 0.84em; color: var(--muted);
}
.adm-statusframe-time { color: var(--text); }
.adm-statusframe-time--stale { color: var(--yellow); }

.adm-statusframe-actions { display: flex; align-items: center; gap: 12px; margin-left: auto; }
.adm-statusframe-actions a { color: var(--cyan); text-decoration: none; }
.adm-statusframe-reload {
  display: inline-flex; align-items: center; min-height: 36px; padding: .35em .95em;
  border: 1px solid var(--cyan); border-radius: 999px;
  font-size: var(--fs-small); font-weight: 600;
}
.adm-statusframe-frame { display: block; width: 100%; min-height: 480px; height: 70vh; border: 0; }
.adm-statusframe-empty { padding: 0.4em 14px 0.6em; color: var(--muted); line-height: 1.6; }

















.perf-cap-groups {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin: 10px 0 16px;
}
.perf-cap-group-title {
  font-size: var(--fs-caption);
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: .04em;
  margin: 0 0 6px;
  font-weight: 600;
}
.perf-cap-group .hexa-totals { margin: 0; }




.perf-cap-heatmap-wrap {
  overflow-x: auto;
}
table.perf-cap-heatmap {
  border-collapse: collapse;
  font-size: .72rem;
  width: 100%;
}
table.perf-cap-heatmap th,
table.perf-cap-heatmap td {
  padding: 0;
  text-align: center;
}
table.perf-cap-heatmap th {
  color: var(--muted);
  font-weight: 600;
  font-size: .68rem;
  padding-bottom: 3px;
}
table.perf-cap-heatmap td.perf-cap-daylabel {
  color: var(--text-dim);
  text-align: right;
  padding-right: 8px;
  white-space: nowrap;
  font-size: .74rem;
}
table.perf-cap-heatmap td.perf-cap-cell {
  width: 22px;
  height: 20px;
  border: 1px solid var(--bg);
  color: var(--text-dim);
}
table.perf-cap-heatmap td.perf-cap-cell.perf-cap-cell-empty {
  color: transparent;
}













.rb-fresh {
  margin-left: auto;
  color: var(--muted);
  font-size: var(--fs-caption);
  font-weight: 400;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.rb-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 6px var(--green);
}
.rb-dot--stale {
  background: var(--muted);
  box-shadow: none;
}

.rb-queue {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 14px;
  align-items: center;
  padding: 8px 12px;
  margin-bottom: 12px;
  border: 1px solid var(--red-a42);
  background: var(--red-a12);
  border-radius: 8px;
  color: var(--red-light);
  font-size: .93rem;
}
.rb-queue strong { color: var(--red); }

.rb-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 10px;
}




.rb-card {
  display: block;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px 12px;
  background: var(--bg-2);
  text-decoration: none;
  color: inherit;
}
.rb-card:hover,
.rb-card:focus-visible {
  border-color: var(--cyan-a55);
}
.rb-card--full { border-color: var(--red-a42); }
.rb-card-head {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}
.rb-card-name { font-weight: 600; }
.rb-card-rooms { color: var(--muted); font-size: var(--fs-caption); }
.rb-card-foot { font-size: var(--fs-caption); color: var(--muted); margin-top: 6px; }





.rb-card-chips { margin-left: auto; display: flex; align-items: center; gap: 6px; }
.rb-card-chips .rb-chip { margin-left: 0; }


.rb-chip {
  margin-left: auto;
  font-size: var(--fs-caption);
  padding: 1px 8px;
  border-radius: 999px;
  border: 1px solid var(--line-2);
  color: var(--text-dim);
}
.rb-chip--free  { color: var(--green); border-color: var(--green); }
.rb-chip--full  { color: var(--red); border-color: var(--red-a42); background: var(--red-a12); }
.rb-chip--stream { color: var(--cyan); border-color: var(--cyan-a55); margin-right: 4px; }
.rb-chip--warn   { color: var(--red-light); border-color: var(--red-a42); }
.rb-chip--override { color: var(--cyan); border-color: var(--cyan-a55); }
.rb-chip--wait      { color: var(--red-light); border-color: var(--red-a42); }

.rb-chip--slow      { color: var(--orange); border-color: var(--orange); }

.rb-meter { margin: 6px 0; }
.rb-meter-label {
  display: flex;
  justify-content: space-between;
  font-size: var(--fs-caption);
  color: var(--text-dim);
  margin-bottom: 3px;
}
.rb-meter-label b { color: var(--text); font-variant-numeric: tabular-nums; font-weight: 600; }

.rb-meter-hint { font-size: var(--fs-caption); color: var(--muted); margin-top: 3px; }
.rb-meter-track {
  position: relative;
  height: 8px;
  border-radius: 4px;
  background: var(--line);
  overflow: visible;
}
.rb-meter-fill {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  border-radius: 4px;
  transition: width .22s;
}
.rb-meter-fill--reserved {
  background: repeating-linear-gradient(135deg, var(--cyan-a55) 0 4px, transparent 4px 8px);
  border: 1px solid var(--cyan-a55);
}
.rb-meter-fill--measured { background: var(--cyan); }
.rb-meter-fill--over { background: var(--red); }
.rb-meter-fill--reserved.rb-meter-fill--over {
  background: repeating-linear-gradient(135deg, var(--red-a42) 0 4px, transparent 4px 8px);
  border-color: var(--red-a42);
}
.rb-mark {
  position: absolute;
  top: -3px;
  bottom: -3px;
  width: 2px;
  background: var(--text-dim);
  opacity: .7;
}
.rb-mark--cap { background: var(--red-light); }

.rb-sub {
  font-size: var(--fs-caption);
  margin: 16px 0 6px;
  color: var(--text-dim);
  font-weight: 600;
}
.rb-scroll { overflow-x: auto; }








.rb-scroll table th,
.rb-scroll table td {
  white-space: nowrap;
}
tr.rb-grp td {
  color: var(--text-dim);
  font-size: var(--fs-caption);
  padding-top: 10px;
  border-bottom: none;
}




@media (max-width: 600px) {
  .rb-grid { grid-template-columns: 1fr; }
  .rb-hide-m { display: none; }
}









.rb-crumb { color: var(--muted); font-size: var(--fs-caption); margin-bottom: 6px; }
.rb-crumb a { color: var(--cyan); }




.rb-head-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 10px;
  margin-bottom: 16px;
}
.rb-head-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 10px 12px;
}
.rb-head-card small {
  display: block;
  color: var(--muted);
  font-size: 11px;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.rb-head-card b { font-size: 18px; font-variant-numeric: tabular-nums; }
.rb-head-card span { color: var(--muted); font-size: 12px; }


.rb-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  font-size: var(--fs-caption);
  color: var(--muted);
  margin-bottom: 8px;
  align-items: center;
}
.rb-sw { display: inline-block; width: 22px; height: 8px; border-radius: 3px; vertical-align: middle; margin-right: 6px; }
.rb-sw--res  { background: repeating-linear-gradient(135deg, var(--cyan-a55) 0 4px, transparent 4px 8px); border: 1px solid var(--cyan-a55); }
.rb-sw--mea  { background: var(--cyan); height: 3px; }
.rb-sw--soll { border-top: 2px dashed var(--muted); height: 0; }
.rb-sw--full { border-top: 2px dashed var(--red-light); height: 0; }
.rb-sw--vollz { background: var(--red-a12); border: 1px solid var(--red-a42); }


.rb-chart-wrap { position: relative; }
.rb-chart-wrap svg { display: block; width: 100%; height: auto; }
.rb-tip {
  position: absolute;
  pointer-events: none;
  background: var(--bg-2);
  border: 1px solid var(--line-2);
  border-radius: 8px;
  padding: 8px 10px;
  font-size: 12px;
  min-width: 210px;
  display: none;
  box-shadow: var(--card-shadow);
}
.rb-tip b { color: var(--text); font-variant-numeric: tabular-nums; }
.rb-tip-row { display: flex; justify-content: space-between; gap: 10px; color: var(--muted); }








.rb-plc-row { cursor: pointer; }
.rb-plc-row.is-active { background: rgba(255, 179, 71, 0.12); }








.adm-cp-head .adm-cp-server { margin: 0.2em 0 0.5em; }
.adm-cp-head .adm-cp-server b { color: var(--cyan); font-weight: 700; }
.adm-cp-season { margin: 0 0 0.9em; padding: 1em 1.2em; }
.adm-cp-season--current { border-color: var(--cyan); border-left-width: 3px; }
.adm-cp-season--past:not([open]) { opacity: 0.72; }
.adm-cp-title { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; margin: 0; font-size: 1.05em; font-weight: 700; }
summary.adm-cp-title { cursor: pointer; }
summary.adm-cp-title::before { content: "\25B8"; color: var(--muted); }
.adm-cp-season[open] > summary.adm-cp-title::before { content: "\25BE"; }
.adm-cp-range { color: var(--text-dim); font-size: 0.9em; font-weight: 500; font-variant-numeric: tabular-nums; }
.adm-cp-state {
  margin-left: auto; padding: 1px 10px; border: 1px solid var(--line-2); border-radius: 999px;
  color: var(--muted); font-size: 0.78em; font-weight: 600;
}
.adm-cp-state--current { color: var(--cyan); border-color: var(--cyan); }
.adm-cp-state--upcoming { color: var(--yellow); border-color: var(--yellow-a42); }
.adm-cp-rows { margin: 0.7em 0 0; padding: 0; list-style: none; }
.adm-cp-row { display: flex; align-items: baseline; gap: 14px; padding: 0.45em 0; border-top: 1px solid var(--line); }
.adm-cp-type { flex: 0 0 9.5em; color: var(--muted); font-size: 0.82em; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; }
.adm-cp-type small { display: block; color: var(--text-dim); font-size: 1em; font-weight: 500; letter-spacing: 0; text-transform: none; }
.adm-cp-names { display: flex; flex-wrap: wrap; gap: 6px 8px; min-width: 0; }
.adm-cp-name { padding: 1px 9px; border: 1px solid var(--line-2); border-radius: 999px; font-size: 0.9em; }
.adm-cp-empty { margin: 0.6em 0 0; color: var(--muted); font-style: italic; }
.adm-cp-note { margin: 0.6em 0 0; color: var(--muted); font-size: 0.85em; }
.adm-cp-preview { margin-top: 0.8em; }
.adm-cp-preview > summary { color: var(--cyan); font-weight: 600; cursor: pointer; }
.adm-cp-preview .adm-cp-note { margin-bottom: 0.6em; }
.adm-cp-preview .adm-cp-frame {
  position: static; display: flex; justify-content: center; padding: 20px;
  border: 1px dashed var(--line-2); border-radius: 10px;
}

.adm-cp-reel { margin: 0.7em 0 0.9em; padding-bottom: 0.7em; border-bottom: 1px solid var(--line); }
.adm-cp-reel-title { margin: 0; color: var(--muted); font-size: 0.82em; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; }
.adm-cp-reel-form { flex-direction: column; align-items: stretch; gap: 0.7em; margin-top: 0.6em; }
.adm-cp-reel-line { display: flex; align-items: center; gap: 10px; }
.adm-filter-form .adm-cp-reel-line input[type="text"] { width: min(100%, 460px); min-width: 0; }
.adm-cp-reel-err { margin: 0; font-size: 0.85em; }
.adm-cp-reel-actions { flex-direction: row; align-items: center; gap: 12px; }
.adm-cp-reel-list { margin: 0.5em 0 0; padding: 0; list-style: none; }
.adm-cp-reel-url { color: var(--text-dim); word-break: break-all; }
@media (max-width: 600px) {
  .adm-cp-row { flex-direction: column; gap: 4px; }
  .adm-cp-type { flex-basis: auto; }
}
