/* ══════════════════════════════════════════════════════
   DezzyCode redesign (26.09.2026)
   Dark, technical, quiet. Pink as accent (changed from red with the homepage redesign).
   Loaded after styles.css; everything new is prefixed rd-.
   ══════════════════════════════════════════════════════ */

:root {
  --rd-bg: #080808;
  --rd-bg-2: #0e0e0f;
  --rd-panel: rgba(255, 255, 255, 0.025);
  --rd-line: rgba(255, 255, 255, 0.07);
  --rd-line-strong: rgba(255, 255, 255, 0.13);
  --rd-text: #e8e8ea;
  --rd-muted: #8e8e93;
  --rd-dim: #606066;
  --rd-red: #ff2e88;
  --rd-red-deep: #d81b72;
  --rd-red-soft: rgba(255, 46, 136, 0.14);
  --rd-green: #3ddc84;
  --rd-mono: 'JetBrains Mono', ui-monospace, monospace;
  --rd-display: 'Space Grotesk', 'Poppins', system-ui, sans-serif;
  --rd-ease: cubic-bezier(0.2, 0.8, 0.2, 1);
  --rd-max: 72rem;
}

/* ── Base / background ─────────────────────────────── */
.site--rd {
  background: var(--rd-bg);
  color: var(--rd-text);
}
.site--rd::before,
.site--rd::after { display: none; }

.rd-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
  background:
    radial-gradient(60rem 40rem at 85% -10%, rgba(255, 46, 136, 0.10), transparent 60%),
    radial-gradient(50rem 40rem at -10% 110%, rgba(255, 46, 136, 0.05), transparent 60%);
}
/* Dot grid, faded towards the edges */
.rd-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.09) 1px, transparent 1px);
  background-size: 28px 28px;
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 30%, #000 30%, transparent 80%);
          mask-image: radial-gradient(ellipse 80% 70% at 50% 30%, #000 30%, transparent 80%);
}
/* Cursor spotlight (position set by site.js) */
.rd-bg__spot {
  position: absolute;
  width: 44rem;
  height: 44rem;
  left: 0;
  top: 0;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 46, 136, 0.09), transparent 62%);
  transform: translate3d(var(--spot-x, 70vw), var(--spot-y, 20vh), 0) translate(-50%, -50%);
  transition: opacity 0.4s ease;
  opacity: 0;
}
.rd-bg.is-active .rd-bg__spot { opacity: 1; }

.site--rd .site-main { position: relative; z-index: 2; }
.site--rd [id] { scroll-margin-top: 4.5rem; }

/* ── Top bar (shared by every page) ─────────────────── */
.rd-nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 60;
  border-bottom: 1px solid transparent;
  transition: background 0.25s ease, border-color 0.25s ease;
}
.rd-nav.is-scrolled,
.rd-nav.is-open {
  background: rgba(8, 8, 8, 0.78);
  -webkit-backdrop-filter: blur(12px);
          backdrop-filter: blur(12px);
  border-bottom-color: var(--rd-line);
}
.rd-nav__inner {
  max-width: calc(var(--rd-max) + 3rem);
  height: 3.5rem;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  gap: 2rem;
}
.rd-nav__brand {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin-right: auto;
  font: 500 0.8rem/1 var(--rd-mono);
  letter-spacing: 0.02em;
  color: var(--rd-text);
  text-decoration: none;
}
.rd-nav__brand img { border-radius: 6px; }
.rd-nav__links { display: flex; gap: 1.75rem; }
.rd-nav__links a {
  font: 400 0.84rem/1 var(--rd-display);
  color: var(--rd-muted);
  text-decoration: none;
  transition: color 0.15s ease;
}
.rd-nav__links a:hover { color: var(--rd-text); }
.rd-nav__end { display: flex; align-items: center; gap: 1rem; }
.rd-nav__lang {
  display: inline-flex;
  align-items: center;
  height: 1.75rem;
  padding: 2px;
  border: 1px solid var(--rd-line-strong);
  border-radius: 0.5rem;
}
.rd-nav__lang-opt {
  display: inline-flex;
  align-items: center;
  height: 100%;
  padding: 0 0.5rem;
  border-radius: 0.35rem;
  font: 500 0.7rem/1 var(--rd-mono);
  letter-spacing: 0.06em;
  color: var(--rd-muted);
  text-decoration: none;
  transition: color 0.15s ease, background-color 0.15s ease;
}
a.rd-nav__lang-opt:hover { color: var(--rd-text); }
.rd-nav__lang-opt.is-active { color: var(--rd-text); background: rgba(255, 255, 255, 0.08); }
.rd-nav__lang-opt.is-active::before {
  content: "";
  width: 4px;
  height: 4px;
  margin-right: 0.35rem;
  border-radius: 50%;
  background: #ff2e88;
}

.rd-nav__menu-wrap { position: relative; }
.rd-nav__menu-wrap--mobile { display: none; }
.rd-nav__trigger {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  height: 2rem;
  padding: 0 0.35rem;
  border: 0;
  border-radius: 0.5rem;
  background: transparent;
  color: var(--rd-muted);
  font: 400 0.84rem/1 var(--rd-display);
  cursor: pointer;
  transition: color 0.15s ease, background 0.15s ease;
}
.rd-nav__trigger:hover,
.rd-nav__trigger[aria-expanded="true"] { color: var(--rd-text); background: rgba(255, 255, 255, 0.04); }
.rd-nav__trigger--user { position: relative; padding-left: 0.25rem; }
.rd-nav__avatar {
  width: 1.5rem;
  height: 1.5rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--rd-red-soft);
  color: #ff8a92;
  font: 600 0.6rem/1 var(--rd-mono);
  letter-spacing: 0.02em;
}
.rd-nav__dot {
  position: absolute;
  top: 0.2rem;
  left: 1.35rem;
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: var(--rd-red);
  box-shadow: 0 0 0 2px var(--rd-bg);
}
.rd-nav__chevron { font-size: 1rem; transition: transform 0.2s var(--rd-ease); }
.rd-nav__trigger[aria-expanded="true"] .rd-nav__chevron { transform: rotate(180deg); }
.rd-nav__bars { display: grid; gap: 5px; width: 1.1rem; padding: 0 0.1rem; }
.rd-nav__bars span { display: block; height: 1.5px; background: currentColor; border-radius: 1px; }

.rd-nav__menu {
  position: absolute;
  top: calc(100% + 0.6rem);
  right: 0;
  min-width: 14.5rem;
  padding: 0.35rem;
  border: 1px solid var(--rd-line-strong);
  border-radius: 0.75rem;
  background: #0e0e0f;
  box-shadow: 0 24px 60px -20px rgba(0, 0, 0, 0.8);
  animation: rd-menu-in 0.16s var(--rd-ease);
}
.rd-nav__menu[hidden] { display: none; }
@keyframes rd-menu-in { from { opacity: 0; transform: translateY(-4px); } }
.rd-nav__group + .rd-nav__group { margin-top: 0.35rem; padding-top: 0.35rem; border-top: 1px solid var(--rd-line); }
.rd-nav__group--sections { display: none; }
.rd-nav__group--sections + .rd-nav__group { margin-top: 0; padding-top: 0; border-top: 0; }
.rd-nav__label {
  margin: 0.45rem 0.6rem 0.3rem;
  font: 500 0.64rem/1 var(--rd-mono);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--rd-dim);
}
.rd-nav__item {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.5rem 0.6rem;
  border: 0;
  border-radius: 0.5rem;
  background: transparent;
  color: var(--rd-text);
  font: 400 0.85rem/1.2 var(--rd-display);
  text-align: left;
  text-decoration: none;
  cursor: pointer;
}
.rd-nav__item .material-symbols-outlined { font-size: 1.05rem; color: var(--rd-dim); }
.rd-nav__item:hover,
.rd-nav__item:focus-visible { background: rgba(255, 255, 255, 0.05); outline: none; }
.rd-nav__item:hover .material-symbols-outlined { color: var(--rd-muted); }
.rd-nav__item.is-current { color: #fff; }
.rd-nav__item.is-current .material-symbols-outlined { color: var(--rd-red); }
.rd-nav__item--quiet { color: var(--rd-muted); }
.rd-nav__item-label { flex: 1; }
.rd-nav__count {
  min-width: 1.3rem;
  padding: 0.15rem 0.35rem;
  border-radius: 999px;
  background: var(--rd-red-soft);
  color: #ff8a92;
  font: 500 0.66rem/1 var(--rd-mono);
  text-align: center;
}

@media (max-width: 760px) {
  .rd-nav__inner { padding: 0 1rem; gap: 0.75rem; }
  .rd-nav__links { display: none; }
  .rd-nav__menu-wrap--mobile { display: block; }
  .rd-nav__group--sections { display: block; }
  .rd-nav__group--sections + .rd-nav__group { margin-top: 0.35rem; padding-top: 0.35rem; border-top: 1px solid var(--rd-line); }
  .rd-nav__user { display: none; }
  .rd-nav__menu { position: fixed; top: 3.5rem; left: 0.75rem; right: 0.75rem; min-width: 0; }
}

/* ── Buttons ───────────────────────────────────────── */
.rd-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  height: 2.9rem;
  padding: 0 1.3rem;
  border-radius: 0.7rem;
  border: 1px solid transparent;
  font: 500 0.9rem/1 var(--rd-display);
  letter-spacing: 0.01em;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.2s var(--rd-ease), background 0.2s ease, border-color 0.2s ease, box-shadow 0.25s ease, color 0.2s ease;
}
.rd-btn .material-symbols-outlined { font-size: 1.05rem; }
.rd-btn:active { transform: translateY(1px) scale(0.98); }
.rd-btn--primary {
  background: var(--rd-red);
  color: #fff;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.08) inset, 0 8px 30px -8px rgba(255, 46, 136, 0.6);
}
.rd-btn--primary:hover {
  background: #ff4f9c;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.12) inset, 0 10px 40px -8px rgba(255, 46, 136, 0.8);
}
.rd-btn--ghost {
  background: rgba(255, 255, 255, 0.03);
  border-color: var(--rd-line-strong);
  color: var(--rd-text);
}
.rd-btn--ghost:hover { border-color: rgba(255, 255, 255, 0.28); background: rgba(255, 255, 255, 0.06); }
.rd-btn--sm { height: 2.4rem; padding: 0 0.95rem; font-size: 0.82rem; border-radius: 0.6rem; }

/* ── Hero ──────────────────────────────────────────── */
.rd-hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 7rem 1.5rem 2rem;
}
.rd-hero__inner {
  width: 100%;
  max-width: var(--rd-max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  gap: 3.5rem;
  align-items: center;
}
.rd-hero__title {
  margin: 0;
  font-family: var(--rd-display);
  font-weight: 700;
  font-size: clamp(2.7rem, 5.4vw, 5rem);
  line-height: 0.98;
  letter-spacing: -0.045em;
  color: #f5f5f6;
}
.rd-hero__lead {
  max-width: 34rem;
  margin: 1.6rem 0 0;
  font-size: 1.05rem;
  line-height: 1.7;
  color: #a9a9ae;
}
.rd-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2.2rem;
}

/* Terminal */
.rd-term {
  position: relative;
  border: 1px solid var(--rd-line-strong);
  border-radius: 1rem;
  background: linear-gradient(180deg, rgba(22, 22, 23, 0.92), rgba(12, 12, 12, 0.94));
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, 0.4),
    0 40px 100px -30px rgba(0, 0, 0, 0.9),
    0 0 120px -40px rgba(255, 46, 136, 0.35);
  -webkit-backdrop-filter: blur(12px);
          backdrop-filter: blur(12px);
  overflow: hidden;
  font-family: var(--rd-mono);
  font-size: 0.82rem;
}
.rd-term::before {
  content: '';
  position: absolute;
  inset: 0 0 auto;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 46, 136, 0.7), transparent);
}
.rd-term__bar {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--rd-line);
  background: rgba(255, 255, 255, 0.02);
}
.rd-term__dots { display: inline-flex; gap: 0.4rem; }
.rd-term__dots span { width: 0.62rem; height: 0.62rem; border-radius: 50%; background: #2c2c2f; }
.rd-term__dots span:first-child { background: var(--rd-red); }
.rd-term__title { flex: 1; text-align: center; font-size: 0.72rem; color: var(--rd-dim); }
.rd-term__state {
  font-size: 0.66rem;
  color: var(--rd-green);
  border: 1px solid rgba(61, 220, 132, 0.25);
  border-radius: 999px;
  padding: 0.12rem 0.5rem;
}
.rd-term__body {
  height: 19rem;
  overflow-y: auto;
  padding: 1rem 1.15rem 0.4rem;
  line-height: 1.7;
  color: #c8c8cc;
  scrollbar-width: thin;
  scrollbar-color: #2c2c2f transparent;
}
.rd-term__line { margin: 0; white-space: pre-wrap; word-break: break-word; }
.rd-term__line--cmd { color: #fff; }
.rd-term__line--cmd::before { content: '❯ '; color: var(--rd-red); }
.rd-term__line--muted { color: var(--rd-dim); }
.rd-term__line--ok { color: var(--rd-green); }
.rd-term__line--err { color: #ff6b75; }
.rd-term__line a { color: var(--rd-text); text-decoration: underline; text-decoration-color: rgba(255, 46, 136, 0.6); text-underline-offset: 3px; }
.rd-term__line a:hover { color: #fff; text-decoration-color: var(--rd-red); }
.rd-term__key { display: inline-block; min-width: 6.5rem; color: var(--rd-red); }
.rd-term__caret {
  display: inline-block;
  width: 0.55em;
  height: 1.1em;
  margin-left: 1px;
  vertical-align: text-bottom;
  background: var(--rd-red);
  animation: rd-blink 1s steps(1) infinite;
}
@keyframes rd-blink { 50% { opacity: 0; } }

/* Stack marquee */

/* ── Sections ─────────────────────────────────────── */
.rd-section {
  position: relative;
  max-width: var(--rd-max);
  margin: 0 auto;
  padding: 7rem 1.5rem 0;
}
.rd-head { max-width: 40rem; margin-bottom: 3rem; }
.rd-head__tag {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  margin: 0 0 1.1rem;
  font: 0.72rem var(--rd-mono);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--rd-muted);
}
.rd-head__tag span {
  color: var(--rd-red);
  padding-right: 0.7rem;
  border-right: 1px solid var(--rd-line-strong);
}
.rd-head__title {
  margin: 0;
  font: 700 clamp(2.2rem, 4.4vw, 3.4rem)/1.02 var(--rd-display);
  letter-spacing: -0.04em;
  color: #f5f5f6;
}
.rd-head__title em { font-style: normal; color: var(--rd-dim); }
.rd-head__lead { margin: 1.1rem 0 0; font-size: 1rem; line-height: 1.7; color: var(--rd-muted); }

/* Spotlight border used by services, projects and contact */
[data-spot] { position: relative; }
[data-spot]::after {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: radial-gradient(22rem circle at var(--mx, 50%) var(--my, 50%), rgba(255, 46, 136, 0.75), transparent 45%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}
[data-spot]:hover::after { opacity: 1; }

/* Services */
.rd-services {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.rd-service {
  display: grid;
  grid-template-columns: auto minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 1.75rem;
  align-items: center;
  padding: 1.6rem 1.75rem;
  border: 1px solid var(--rd-line);
  border-radius: 1rem;
  background: var(--rd-panel);
  transition: background 0.3s ease, transform 0.3s var(--rd-ease);
}
.rd-service:hover { background: rgba(255, 255, 255, 0.04); }
.rd-service__icon {
  display: grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  border-radius: 0.8rem;
  background: var(--rd-red-soft);
  color: var(--rd-red);
  font-size: 1.4rem;
}
.rd-service__desc { margin: 0.45rem 0 0; font-size: 0.92rem; line-height: 1.6; color: var(--rd-muted); }

/* Steps */
.rd-step { position: relative; padding-top: 2.4rem; }
.rd-step::before {
  content: '';
  position: absolute;
  top: calc(1.1rem - 5px);
  left: 0;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--rd-bg);
  border: 2px solid var(--rd-red);
}

/* Projects */
.rd-projects {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}
.rd-project {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--rd-line);
  border-radius: 1rem;
  background: var(--rd-panel);
  overflow: hidden;
  transition: transform 0.35s var(--rd-ease), background 0.3s ease;
}
.rd-project:hover { transform: translateY(-4px); background: rgba(255, 255, 255, 0.04); }
.rd-project__bar {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.7rem 0.95rem;
  border-bottom: 1px solid var(--rd-line);
}
.rd-project__url { font: 0.7rem var(--rd-mono); color: var(--rd-dim); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rd-project__body { flex: 1; padding: 1.6rem 1.4rem 1rem; }
.rd-project__icon {
  display: block;
  width: 4rem;
  height: 4rem;
  border-radius: 1rem;
  box-shadow: 0 16px 40px -14px rgba(255, 46, 136, 0.55);
  transition: transform 0.4s var(--rd-ease);
}
.rd-project:hover .rd-project__icon { transform: rotate(-6deg) scale(1.06); }
.rd-project__title { margin: 1.3rem 0 0; font: 600 1.2rem/1.25 var(--rd-display); color: #fff; letter-spacing: -0.02em; }
.rd-project__desc { margin: 0.55rem 0 0; font-size: 0.88rem; line-height: 1.6; color: var(--rd-muted); }
.rd-project__actions { display: flex; gap: 0.5rem; padding: 0 1.4rem 1.4rem; }
.rd-project__actions .rd-btn--primary { margin-left: auto; }

/* Explorer (logged in) keeps its styles, only spacing */

/* Contact */
.rd-contact__box {
  padding: clamp(2rem, 5vw, 4rem);
  border: 1px solid var(--rd-line);
  border-radius: 1.4rem;
  background:
    radial-gradient(40rem 20rem at 100% 0%, rgba(255, 46, 136, 0.14), transparent 60%),
    var(--rd-panel);
  overflow: hidden;
}

/* Footer, reviews band */

/* ── Reveal on scroll (classes set by site.js) ─────── */
.rd-reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.8s var(--rd-ease), transform 0.8s var(--rd-ease); }
.rd-reveal.is-in { opacity: 1; transform: none; }
.rd-hero__copy > * { animation: rd-rise 0.9s var(--rd-ease) both; }
.rd-hero__copy > *:nth-child(2) { animation-delay: 0.06s; }
.rd-hero__copy > *:nth-child(3) { animation-delay: 0.12s; }
.rd-hero__copy > *:nth-child(4) { animation-delay: 0.2s; }
.rd-hero__copy > *:nth-child(5) { animation-delay: 0.28s; }
.rd-term { animation: rd-rise 1s 0.25s var(--rd-ease) both; }
@keyframes rd-rise { from { opacity: 0; transform: translateY(18px); } }

/* ── Responsive ────────────────────────────────────── */
@media (max-width: 960px) {
  .rd-hero__inner { grid-template-columns: 1fr; gap: 3rem; }
  .rd-service { grid-template-columns: auto minmax(0, 1fr); }
  .rd-projects { grid-template-columns: 1fr; }
  .rd-step { padding: 0 0 0 2.2rem; }
  .rd-step::before { top: 0.35rem; left: 0; }
}
@media (max-width: 640px) {
  .rd-hero { padding: 5.5rem 1rem 1.5rem; min-height: auto; }
  .rd-section { padding: 5rem 1rem 0; }
  .rd-service { padding: 1.25rem; gap: 1rem; }
  .rd-term__body { height: 15rem; }
  .rd-hero__actions .rd-btn { flex: 1 1 auto; justify-content: center; }
}

@media (prefers-reduced-motion: reduce) {
  .rd-term__caret { animation: none; }
  .rd-hero__copy > *, .rd-term { animation: none; }
  .rd-reveal { opacity: 1; transform: none; transition: none; }
}

/* ── Subpages (admin, legal, status) ──────────────────
   They keep their own layout; the shared top bar and
   background come from here. */
.rd-page > main {
  position: relative;
  z-index: 2;
  margin-top: 4.5rem;
}
.rd-page .admin-page-shell,
.rd-page .apps-admin-shell,
.rd-page .restart-shell,
.rd-page .logs-page-shell {
  width: 100%;
  max-width: calc(var(--rd-max) + 3rem);
  margin-left: auto;
  margin-right: auto;
  padding: 0 1.5rem 5rem;
  box-sizing: border-box;
}

/* Page heads read like the section heads on the start page:
   no box, mono tag with a red prefix, big title. */
.rd-page .dashboard-hero {
  background: none;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  overflow: visible;
  padding: 2rem 0 2.25rem;
  margin-bottom: 0.5rem;
  border-bottom: 1px solid var(--rd-line);
}
.rd-page .dashboard-hero::before,
.rd-page .dashboard-hero::after { display: none; }
.rd-page .dashboard-hero-pretitle {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  margin: 0 0 1.1rem;
  font: 0.72rem var(--rd-mono);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--rd-muted);
}
.rd-page .dashboard-hero-pretitle span {
  color: var(--rd-red);
  padding-right: 0.7rem;
  border-right: 1px solid var(--rd-line-strong);
}
.rd-page .dashboard-hero-title {
  font: 700 clamp(2.2rem, 4.4vw, 3.4rem)/1.02 var(--rd-display);
  letter-spacing: -0.04em;
  color: #f5f5f6;
}
.rd-page .dashboard-hero-lead { font-size: 0.95rem; color: var(--rd-muted); }

/* Controls: same shapes as the start page */
.rd-page .dashboard-btn { border-radius: 0.6rem; }
.rd-page .dashboard-admin-search { border-radius: 0.6rem; }
.rd-page .dashboard-admin-stat {
  background: transparent;
  border-radius: 0.6rem;
}
.site--rd .dashboard-btn--primary,
.site--rd .dashboard-admin-submit {
  background: var(--rd-red);
  border-color: transparent;
  color: #fff;
}

@media (max-width: 640px) {
  .rd-page .admin-page-shell,
  .rd-page .apps-admin-shell,
  .rd-page .restart-shell,
  .rd-page .logs-page-shell { padding: 0 1rem 4rem; }
  .rd-page .dashboard-hero { padding-top: 1.25rem; }
}

/* Legal pages: one readable column, no window chrome */
.rd-legal { max-width: 46rem; margin-left: auto; margin-right: auto; padding: 2.5rem 1.5rem 6rem; }
.rd-legal .subpage-content { display: flex; flex-direction: column; gap: 2.25rem; }
.rd-legal .rd-head__title { margin-bottom: 0.75rem; }
.rd-legal .subpage-content p,
.rd-legal .subpage-content li { color: var(--rd-muted); line-height: 1.75; }
.rd-legal .subpage-content h2 { font: 600 1.1rem/1.3 var(--rd-display); color: var(--rd-text); }
.rd-legal .subpage-content a:not(.rd-btn) { color: var(--rd-text); text-decoration-color: rgba(255, 46, 136, 0.6); }
.rd-legal .subpage-content a:not(.rd-btn):hover { text-decoration-color: var(--rd-red); }
.rd-legal .subpage-content a.rd-btn { color: var(--rd-text); text-decoration: none; }
.rd-legal__links { display: flex; flex-wrap: wrap; gap: 0.75rem; padding-top: 1.75rem; border-top: 1px solid var(--rd-line); }
@media (max-width: 640px) { .rd-legal { padding: 1.5rem 1rem 4rem; } }

/* Status pages (account disabled, verification results) */
.rd-status {
  max-width: 40rem;
  margin-left: auto;
  margin-right: auto;
  padding: 6rem 1.5rem;
  min-height: calc(100svh - 4.5rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
}
.rd-status .rd-head__title { margin-bottom: 0.25rem; }
.rd-status .rd-head__lead { margin-bottom: 2rem; }
.rd-status__note {
  display: flex;
  gap: 0.75rem;
  margin: 1.25rem 0 2rem;
  padding: 1rem 1.1rem;
  border: 1px solid var(--rd-line);
  border-left: 2px solid var(--rd-muted);
  border-radius: 0.6rem;
  background: var(--rd-panel);
  color: var(--rd-text);
  line-height: 1.6;
}
.rd-status__note .material-symbols-outlined { font-size: 1.2rem; color: var(--rd-muted); }
.rd-status__note--success { border-left-color: var(--rd-green); }
.rd-status__note--success .material-symbols-outlined { color: var(--rd-green); }
.rd-status__note--warning { border-left-color: #f2cc60; }
.rd-status__note--warning .material-symbols-outlined { color: #f2cc60; }
.rd-status__note--error { border-left-color: var(--rd-red); }
.rd-status__note--error .material-symbols-outlined { color: var(--rd-red); }
@media (max-width: 640px) { .rd-status { padding: 3rem 1rem; } }

/* QR welcome page */
.rd-hero__title--welcome { font-size: clamp(2.4rem, 4.6vw, 4.2rem); }
.rd-hero__copy .rd-head__tag { margin-bottom: 1.4rem; }
.rd-service__desc--solo { margin: 0; color: var(--rd-text); font-size: 1rem; }
[data-scan-line] { transition: opacity 0.3s ease; }
.rd-welcome-footer {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  padding: 5rem 1.5rem 2.5rem;
  font: 0.75rem var(--rd-mono);
}
.rd-welcome-footer a { color: var(--rd-dim); text-decoration: none; }
.rd-welcome-footer a:hover { color: var(--rd-text); }
.rd-term__body[data-scan-log] { height: auto; min-height: 12rem; }

/* ══════════════════════════════════════════════════════
   Shared components (27.09.2026)
   Dialogs, forms, buttons, panels and toasts on every page
   use the start page's language: flat dark surfaces, thin
   lines, mono labels, red only for the main action.
   ══════════════════════════════════════════════════════ */

/* ── Dialog backdrop ── */
.site--rd .modal-overlay {
  background: rgba(5, 5, 5, 0.78);
  -webkit-backdrop-filter: blur(6px);
          backdrop-filter: blur(6px);
}

/* ── Dialog shells ── */
.site--rd .logs-modal-dialog {
  background: #0e0e0f;
  border: 1px solid var(--rd-line-strong);
  border-radius: 1rem;
  box-shadow: 0 40px 100px -30px rgba(0, 0, 0, 0.9);
  color: var(--rd-text);
}

/* ── Dialog heads ── */
.site--rd .dashboard-admin-surface__eyebrow,
.site--rd .apps-admin-eyebrow,
.site--rd .restart-eyebrow {
  font: 500 0.66rem/1.2 var(--rd-mono);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--rd-muted);
}
.site--rd .logs-modal-title {
  font: 700 1.6rem/1.1 var(--rd-display);
  letter-spacing: -0.035em;
  color: #f5f5f6;
}

/* One close button for every dialog */
.site--rd .logs-modal-close {
  width: 2rem;
  height: 2rem;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  border: 1px solid var(--rd-line);
  border-radius: 0.5rem;
  background: transparent;
  color: var(--rd-muted);
  cursor: pointer;
  transition: color 0.15s ease, border-color 0.15s ease, background 0.15s ease;
}
.site--rd .logs-modal-close:hover {
  color: var(--rd-text);
  border-color: var(--rd-line-strong);
  background: rgba(255, 255, 255, 0.04);
}

/* ── Chips and small tags ── */

/* ── Form labels ── */
.site--rd .dashboard-admin-form__label,
.site--rd .apps-admin-label,
.site--rd .restart-label {
  font: 500 0.66rem/1.2 var(--rd-mono);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--rd-muted);
}
.site--rd .dashboard-admin-form { display: flex; flex-direction: column; gap: 0.9rem; margin-top: 1rem; }
.site--rd .dashboard-admin-form__label { display: block; margin-bottom: 0.45rem; }
.site--rd .dashboard-admin-form__actions { margin-top: 0.4rem; }

/* ── Inputs ── */
.site--rd .dashboard-admin-form__field,
.site--rd .apps-admin-input,
.site--rd .apps-admin-textarea,
.site--rd .apps-admin-select,
.site--rd .restart-input,
.site--rd .restart-textarea,
.site--rd .restart-select,
.site--rd .dashboard-admin-search {
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid var(--rd-line-strong);
  border-radius: 0.6rem;
  color: var(--rd-text);
  font-family: var(--rd-display);
  box-shadow: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.site--rd .dashboard-admin-form__field:focus,
.site--rd .apps-admin-input:focus,
.site--rd .apps-admin-textarea:focus,
.site--rd .apps-admin-select:focus,
.site--rd .restart-input:focus,
.site--rd .restart-textarea:focus,
.site--rd .restart-select:focus,
.site--rd .dashboard-admin-search:focus-within {
  outline: none;
  border-color: rgba(41, 224, 255, 0.65);
  box-shadow: 0 0 0 3px rgba(41, 224, 255, 0.14);
  background: rgba(255, 255, 255, 0.035);
}
.site--rd select option { background: #0e0e0f; }
.site--rd input[type="checkbox"] { accent-color: var(--rd-red); }

/* ── Buttons: same shapes as .rd-btn ── */
.site--rd .dashboard-btn,
.site--rd .dashboard-admin-submit,
.site--rd .dashboard-admin-cancel {
  border-radius: 0.6rem;
  font-family: var(--rd-display);
  font-weight: 500;
  letter-spacing: 0.01em;
  box-shadow: none;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s var(--rd-ease);
}
.site--rd .dashboard-btn:active,
.site--rd .dashboard-admin-submit:active { transform: translateY(1px) scale(0.98); }
.site--rd .dashboard-btn--primary,
.site--rd .dashboard-admin-submit {
  background: var(--rd-red);
  border: 1px solid transparent;
  color: #fff;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.08) inset, 0 8px 24px -10px rgba(255, 46, 136, 0.6);
}
.site--rd .dashboard-btn--primary:hover,
.site--rd .dashboard-admin-submit:hover { background: #ff4f9c; border-color: transparent; color: #fff; }
.site--rd .dashboard-btn--ghost,
.site--rd .dashboard-admin-cancel,
.site--rd .dashboard-admin-toggle {
  border-radius: 0.6rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--rd-line-strong);
  color: var(--rd-text);
}
.site--rd .dashboard-btn--ghost:hover,
.site--rd .dashboard-admin-cancel:hover,
.site--rd .dashboard-admin-toggle:hover { border-color: rgba(255, 255, 255, 0.28); background: rgba(255, 255, 255, 0.06); }

/* ── Panels and cards ── */
.site--rd .dashboard-admin-surface,
.site--rd .apps-admin-card,
.site--rd .restart-card,
.site--rd .logs-command-center,
.site--rd .logs-detail__body,
.site--rd .logs-detail__context,
.site--rd .logs-note-card,
.site--rd .admin-page-note {
  background: rgba(255, 255, 255, 0.018);
  border: 1px solid var(--rd-line);
  border-radius: 0.9rem;
  box-shadow: none;
}
.site--rd .dashboard-admin-surface__head { background: transparent; border-color: var(--rd-line); }
.site--rd .apps-admin-item,
.site--rd .logs-entry,
.site--rd .logs-legend-item,
.site--rd .restart-preview__box,
.site--rd .logs-detail__meta-item,
.site--rd .logs-mini-list__item {
  background: rgba(255, 255, 255, 0.015);
  border-color: var(--rd-line);
  border-radius: 0.7rem;
}
.site--rd .apps-admin-item:hover,
.site--rd .apps-admin-item.is-active,
.site--rd .logs-entry.is-selected {
  border-color: rgba(255, 46, 136, 0.45);
  background: rgba(255, 46, 136, 0.05);
}

/* ── Feedback and toasts ── */
.site--rd .dashboard-toast {
  background: #0e0e0f;
  border: 1px solid var(--rd-line-strong);
  border-radius: 0.75rem;
  box-shadow: 0 20px 50px -20px rgba(0, 0, 0, 0.9);
}
.site--rd .dashboard-toast--error { border-left: 2px solid var(--rd-red); }
.site--rd .dashboard-toast--success { border-left: 2px solid var(--rd-green); }
.site--rd .form-feedback { border-radius: 0.6rem; }

/* Filter chips and selects (logs, apps) */
.site--rd .dashboard-chip {
  border: 1px solid var(--rd-line);
  border-radius: 0.5rem;
  background: transparent;
  font: 500 0.72rem/1 var(--rd-mono);
  letter-spacing: 0.04em;
  color: var(--rd-muted);
}
.site--rd .dashboard-chip:hover { color: var(--rd-text); border-color: var(--rd-line-strong); }
.site--rd .dashboard-chip.is-active,
.site--rd .dashboard-chip[aria-pressed="true"] {
  color: #fff;
  border-color: rgba(255, 46, 136, 0.55);
  background: rgba(255, 46, 136, 0.1);
}
.site--rd .logs-filter-button {
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid var(--rd-line-strong);
  border-radius: 0.6rem;
}
.site--rd .logs-filter-menu {
  background: #0e0e0f;
  border: 1px solid var(--rd-line-strong);
  border-radius: 0.75rem;
}
.site--rd .apps-admin-check,
.site--rd .apps-admin-rolebox { border-radius: 0.6rem; border-color: var(--rd-line); background: rgba(255, 255, 255, 0.015); }
.site--rd .logs-title-icon { border-radius: 0.6rem; }
.site--rd .dashboard-admin-stat { border-color: var(--rd-line); }

/* ══════════════════════════════════════════════════════
   Hierarchy pass (27.09.2026)
   One type scale for every page and dialog:
     page title   → .rd-head__title / .dashboard-hero-title
     block title  → 1.15rem, 600   (panels, subsections)
     item title   → 0.95rem, 600   (cards, list rows)
     body         → 0.9rem muted   (notes, descriptions)
     label / tag  → 0.68rem mono uppercase
   Colour: pink is the brand accent (homepage); red only for errors. Green/red stay for status only.
   ══════════════════════════════════════════════════════ */

/* Subsection header (e.g. project explorer under "Projekte") */

/* Block titles and body text inside panels */
.site--rd .dashboard-admin-surface__title,
.site--rd .apps-admin-title,
.site--rd .restart-title,
.site--rd .logs-hero-insights-toggle__title {
  font: 600 1.15rem/1.25 var(--rd-display);
  letter-spacing: -0.015em;
  color: #f5f5f6;
}
.site--rd .dashboard-admin-surface__eyebrow { margin-bottom: 0.3rem; }
.site--rd .dashboard-admin-surface__hint { font: 0.68rem var(--rd-mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--rd-dim); }
.site--rd .admin-page-note,
.site--rd .admin-page-note p:not(.dashboard-admin-surface__eyebrow) { font-size: 0.9rem; line-height: 1.65; color: var(--rd-muted); }
.site--rd .dashboard-admin-user-card__name { font: 600 0.95rem/1.3 var(--rd-display); color: var(--rd-text); }

/* Stat tiles: label small mono, value clearly larger */
.site--rd .dashboard-admin-stat { min-width: 6rem; padding: 0.7rem 0.9rem; }
.site--rd .dashboard-admin-stat__label { font: 0.64rem var(--rd-mono); letter-spacing: 0.1em; text-transform: uppercase; color: var(--rd-dim); }
.site--rd .dashboard-admin-stat__value { font: 700 1.5rem/1.1 var(--rd-display); color: #f5f5f6; }

/* Buttons: one size everywhere, red only for the main action */
.site--rd .dashboard-btn,
.site--rd .dashboard-admin-toggle,
.site--rd .dashboard-admin-submit,
.site--rd .dashboard-admin-cancel,
.site--rd .logs-filter-button {
  min-height: 2.6rem;
  font: 500 0.875rem/1 var(--rd-display);
}
.site--rd .logs-filter-button__label { font-family: var(--rd-display); letter-spacing: 0; }

/* Logs header: same layout as the other admin pages */
.rd-page .logs-page-hero { padding: 2rem 0 2.25rem; }
.site--rd .logs-hero-layout { display: flex; flex-direction: column; align-items: flex-start; gap: 1.5rem; }
.site--rd .logs-hero-stats { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.site--rd .logs-hero-insights { margin-top: 1.5rem; }
.site--rd .logs-hero-insights-toggle__meta { font: 0.68rem var(--rd-mono); letter-spacing: 0.1em; text-transform: uppercase; color: var(--rd-dim); }

/* Role tag: neutral instead of blue */
.site--rd .dashboard-admin-user-card__role {
  color: var(--rd-text);
  background: rgba(255, 255, 255, 0.05);
  border-color: var(--rd-line-strong);
}

/* Access dialog: no cyan/green, links in text colour, icons neutral */

/* Project explorer: flat panel, no macOS chrome, red instead of blue */

/* Form fields: one text size */
.site--rd .dashboard-admin-form__field,
.site--rd .apps-admin-input,
.site--rd .apps-admin-textarea,
.site--rd .apps-admin-select,
.site--rd .restart-input,
.site--rd .restart-textarea,
.site--rd .restart-select { font-size: 0.925rem; }

/* ══════════════════════════════════════════════════════
   Dialog component (27.09.2026)
   Flat like the start page: one surface, no inner panels.
   Groups are separated by space and a hairline.
   ══════════════════════════════════════════════════════ */
.rd-dialog {
  position: relative;
  width: 100%;
  max-width: 30rem;
  max-height: calc(100vh - 2rem);
  overflow-y: auto;
  padding: 2rem;
  background: var(--rd-bg-2);
  border: 1px solid var(--rd-line);
  border-radius: 1rem;
  box-shadow: 0 40px 120px -40px rgba(0, 0, 0, 0.95);
  color: var(--rd-text);
  animation: rdDialogIn 0.25s var(--rd-ease);
}
@keyframes rdDialogIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.rd-dialog--sm { max-width: 24rem; }
.rd-dialog--lg { max-width: 36rem; }

.rd-dialog__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 1.5rem; }
.rd-dialog__tag {
  margin: 0 0 0.75rem;
  font: 0.7rem var(--rd-mono);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--rd-red);
}
.rd-dialog__title {
  margin: 0;
  font: 700 1.6rem/1.1 var(--rd-display);
  letter-spacing: -0.03em;
  color: #f5f5f6;
}
.rd-dialog__lead { margin: 0.6rem 0 0; font-size: 0.92rem; line-height: 1.6; color: var(--rd-muted); }
.rd-dialog__close {
  flex: none;
  display: inline-grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  margin: -0.25rem -0.5rem 0 0;
  border: 0;
  border-radius: 0.5rem;
  background: transparent;
  color: var(--rd-dim);
  cursor: pointer;
  transition: color 0.15s ease, background 0.15s ease;
}
.rd-dialog__close:hover { color: var(--rd-text); background: rgba(255, 255, 255, 0.05); }
.rd-dialog__close .material-symbols-outlined { font-size: 1.2rem; }

.rd-dialog__body { display: flex; flex-direction: column; margin-top: 1.75rem; }
.rd-dialog__group { display: flex; flex-direction: column; gap: 1rem; }
.rd-dialog__group + .rd-dialog__group { margin-top: 1.5rem; padding-top: 1.5rem; border-top: 1px solid var(--rd-line); }
.rd-dialog__group-title {
  margin: 0;
  font: 600 0.95rem/1.3 var(--rd-display);
  color: var(--rd-text);
}
.rd-dialog__group-title span { margin-left: 0.4rem; font-weight: 400; color: var(--rd-dim); }
.rd-dialog__foot { display: flex; justify-content: flex-end; gap: 0.6rem; margin-top: 2rem; }

.rd-dialog__feedback {
  margin-top: 1.25rem;
  padding: 0.7rem 0.9rem;
  border-left: 2px solid var(--rd-line-strong);
  background: rgba(255, 255, 255, 0.03);
  border-radius: 0 0.5rem 0.5rem 0;
  font-size: 0.875rem;
  line-height: 1.5;
  color: var(--rd-text);
}
.rd-dialog__feedback.is-error { border-left-color: var(--rd-red); }
.rd-dialog__feedback.is-success { border-left-color: var(--rd-green); }

/* Fields */
.rd-field { display: flex; flex-direction: column; gap: 0.45rem; min-width: 0; }
.rd-field__label { font-size: 0.82rem; color: var(--rd-muted); }
.rd-field__hint { margin: 0; font-size: 0.78rem; line-height: 1.5; color: var(--rd-dim); }
.rd-field__input {
  width: 100%;
  height: 2.75rem;
  padding: 0 0.9rem;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid var(--rd-line-strong);
  border-radius: 0.6rem;
  font: 400 0.925rem var(--rd-display);
  color: var(--rd-text);
  transition: border-color 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}
textarea.rd-field__input { height: auto; min-height: 7rem; padding: 0.75rem 0.9rem; line-height: 1.55; resize: vertical; }
.rd-field__input::placeholder { color: var(--rd-dim); }
.rd-field__input:hover { border-color: rgba(255, 255, 255, 0.22); }
.rd-field__input:focus {
  outline: none;
  border-color: rgba(41, 224, 255, 0.6);
  background: rgba(255, 255, 255, 0.04);
  box-shadow: 0 0 0 3px rgba(41, 224, 255, 0.12);
}
.rd-field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem; }

@media (max-width: 560px) {
  .rd-dialog { padding: 1.5rem 1.25rem; border-radius: 0.9rem; }
  .rd-dialog__title { font-size: 1.4rem; }
  .rd-field-row { grid-template-columns: 1fr; }
  .rd-dialog__foot { flex-direction: column-reverse; }
  .rd-dialog__foot .rd-btn { justify-content: center; width: 100%; }
}

/* Dialog extras */
.rd-dialog__foot--stack { flex-direction: column; align-items: stretch; gap: 0.9rem; }
.rd-dialog__foot--stack .rd-btn { justify-content: center; }
.rd-dialog__link {
  padding: 0;
  border: 0;
  background: none;
  font: 400 0.84rem var(--rd-display);
  color: var(--rd-muted);
  text-decoration: underline;
  text-decoration-color: var(--rd-line-strong);
  text-underline-offset: 3px;
  cursor: pointer;
}
.rd-dialog__link:hover { color: var(--rd-text); text-decoration-color: currentColor; }
.rd-dialog__text { margin: 0; font-size: 0.92rem; line-height: 1.7; color: var(--rd-muted); white-space: pre-line; }
.rd-field__hint a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
.rd-field__hint a:hover { color: var(--rd-text); }
.rd-field__req { color: var(--rd-red); }
select.rd-field__input {
  appearance: none;
  padding-right: 2.5rem;
  background-image: linear-gradient(45deg, transparent 50%, #8e8e93 50%), linear-gradient(135deg, #8e8e93 50%, transparent 50%);
  background-position: calc(100% - 1.15rem) 50%, calc(100% - 0.8rem) 50%;
  background-size: 0.35rem 0.35rem;
  background-repeat: no-repeat;
}
.rd-field__input[aria-invalid="true"] { border-color: rgba(229, 32, 46, 0.6); }
.rd-dialog .field-error { margin: 0; font-size: 0.78rem; color: #ff6b75; }
.rd-dialog .form-feedback {
  padding: 0.7rem 0.9rem;
  margin-bottom: 1.25rem;
  border: 0;
  border-left: 2px solid var(--rd-line-strong);
  border-radius: 0 0.5rem 0.5rem 0;
  background: rgba(255, 255, 255, 0.03);
  font-size: 0.875rem;
  color: var(--rd-text);
}
.rd-dialog .form-feedback--error { border-left-color: var(--rd-red); }
.rd-dialog .form-feedback--success { border-left-color: var(--rd-green); }

.rd-check { display: flex; align-items: flex-start; gap: 0.7rem; font-size: 0.84rem; line-height: 1.55; color: var(--rd-muted); cursor: pointer; }
.rd-check input { flex: none; width: 1rem; height: 1rem; margin-top: 0.2rem; accent-color: var(--rd-red); }
.rd-check a { color: var(--rd-text); text-underline-offset: 2px; }

/* Access list */
.rd-svc-list { margin: 0; padding: 0; list-style: none; gap: 0; }
.rd-svc { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 0.9rem 0; }
.rd-svc + .rd-svc { border-top: 1px solid var(--rd-line); }
.rd-svc:first-child { padding-top: 0; }
.rd-svc__info { min-width: 0; }
.rd-svc__name { margin: 0; font: 600 0.95rem/1.3 var(--rd-display); color: var(--rd-text); }
.rd-svc__url { display: inline-block; margin-top: 0.2rem; font: 0.78rem var(--rd-mono); color: var(--rd-muted); text-decoration: none; overflow-wrap: anywhere; }
.rd-svc__url:hover { color: var(--rd-text); }
.rd-svc__actions { display: flex; gap: 0.5rem; flex: none; }
.rd-apps { margin: 0; display: flex; flex-direction: column; gap: 0.9rem; }
.rd-apps__row { display: grid; grid-template-columns: 6.5rem 1fr; column-gap: 1rem; row-gap: 0.2rem; }
.rd-apps dt { grid-row: span 2; font: 500 0.88rem var(--rd-display); color: var(--rd-text); }
.rd-apps dd { margin: 0; font-size: 0.85rem; line-height: 1.55; color: var(--rd-muted); }

/* Contact status */

@media (max-width: 560px) {
  .rd-svc { flex-direction: column; align-items: stretch; }
  .rd-svc__actions .rd-btn { flex: 1; justify-content: center; }
  .rd-apps__row { grid-template-columns: 1fr; }
  .rd-apps dt { grid-row: auto; }
}
.rd-dialog__head > div { flex: 1; min-width: 0; }
.site--rd .logs-modal-dialog.rd-dialog { width: min(52rem, 100%); max-width: 52rem; padding: 2rem; background: var(--rd-bg-2); border-color: var(--rd-line); }
.site--rd .logs-modal-dialog .logs-detail { margin-top: 1.5rem; }
