:root { --bg:#0b0c10; --card:#16181d; --text:#e5e7eb; --muted:#9ca3af; --accent:#60a5fa; --danger:#ef4444; }
* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, Cantarell, Noto Sans, sans-serif;
  background: var(--bg);
  color: var(--text);
  display: flex;             /* ⬅️ wichtig */
  min-height: 100vh;
}

.container {
  margin-left: 280px;   /* gleiche Breite wie .nav */
  padding: 2rem;
  flex: 1;
  max-width: none;      /* volle Breite */
}

/* ===== NAVIGATION ===== */

/* Hauptnavigation */
.nav {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: stretch;
  width: 280px;
  min-height: 100vh;
  height: 100vh;
  overflow-y: auto;
  overflow-x: hidden;
  background: linear-gradient(180deg, #0f1116 0%, #111318 100%);
  border-right: 1px solid #2a2f3a;
  position: fixed;
  top: 0;
  left: 0;
  padding: 0;
  z-index: 100;
  transition: transform 0.25s ease;
  box-shadow: 2px 0 10px rgba(0, 0, 0, 0.2);
}

/* Scrollbar für Navigation */
.nav::-webkit-scrollbar {
  width: 6px;
}

.nav::-webkit-scrollbar-track {
  background: transparent;
}

.nav::-webkit-scrollbar-thumb {
  background: #2a2f3a;
  border-radius: 3px;
}

.nav::-webkit-scrollbar-thumb:hover {
  background: #3a3f4a;
}

/* Brand/Logo Bereich */
.nav-brand {
  padding: 1.5rem 1rem;
  text-align: center;
  border-bottom: 1px solid #2a2f3a;
  background: rgba(96, 165, 250, 0.05);
}

.nav-logo-img {
  width: 120px;
  height: auto;
  margin: 0 auto 1rem;
  display: block;
  object-fit: contain;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

.nav-brand-text {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.nav-title {
  margin: 0;
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.02em;
}

.nav-tagline {
  font-size: 0.75rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 500;
}

/* Navigation Links Container */
.nav-links {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding: 1rem 0.75rem;
  flex: 1;
}

/* Navigation Links */
.nav-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--text);
  text-decoration: none;
  padding: 0.875rem 1rem;
  border-radius: 0.5rem;
  font-size: 0.95rem;
  font-weight: 500;
  transition: all 0.2s ease;
  position: relative;
  background: transparent;
}

.nav-link:hover {
  background: rgba(96, 165, 250, 0.1);
  color: var(--accent);
  transform: translateX(4px);
}

.nav-link.active {
  background: rgba(96, 165, 250, 0.15);
  color: var(--accent);
  border-left: 3px solid var(--accent);
  padding-left: calc(1rem - 3px);
  font-weight: 600;
}

.nav-link-icon {
  font-size: 1.25rem;
  width: 24px;
  text-align: center;
  flex-shrink: 0;
}

.nav-link-text {
  flex: 1;
}

.nav-link-arrow {
  font-size: 0.7rem;
  color: var(--muted);
  transition: transform 0.2s ease;
  flex-shrink: 0;
}

.dropdown:hover .nav-link-arrow,
.dropdown:focus-within .nav-link-arrow {
  transform: rotate(180deg);
  color: var(--accent);
}

.nav-link-sub {
  display: block;
  padding: 0.625rem 1rem 0.625rem 2.75rem;
  color: var(--muted);
  text-decoration: none;
  font-size: 0.875rem;
  border-radius: 0.375rem;
  transition: all 0.2s ease;
  position: relative;
}

.nav-link-sub:hover {
  background: rgba(96, 165, 250, 0.1);
  color: var(--accent);
  padding-left: 3rem;
}

.nav-link-sub.active {
  background: rgba(96, 165, 250, 0.15);
  color: var(--accent);
  font-weight: 600;
}

.nav-link-sub.active::before {
  content: '';
  position: absolute;
  left: 1.5rem;
  top: 50%;
  transform: translateY(-50%);
  width: 4px;
  height: 4px;
  background: var(--accent);
  border-radius: 50%;
}

.nav .inline {
  display: inline;
}

/* Navigation Top-Bereich */
.nav-top {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  width: 100%;
  flex: 1;
  padding: 0 0 0.5rem 0;
  overflow-y: auto;
}

/* Navigation Bottom-Bereich */
.nav-bottom {
  margin-top: auto;
  width: 100%;
  padding: 1rem 0.75rem;
  border-top: 1px solid #2a2f3a;
  background: #0f1116;
}

/* Login-Link (wenn nicht eingeloggt) */
.nav-bottom > a {
  width: 100%;
  padding: 0.75rem 1rem;
  background: var(--accent);
  color: #fff;
  border: none;
  border-radius: 0.5rem;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  text-align: center;
  text-decoration: none;
  display: block;
}

.nav-bottom > a:hover {
  background: #3b82f6;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

/* Profil-Bereich */
.nav-profile {
  position: relative;
  width: 100%;
}

.nav-profile-trigger {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.625rem;
  border-radius: 0.5rem;
  cursor: pointer;
  transition: all 0.2s ease;
  user-select: none;
  width: 100%;
}

.nav-profile-trigger:hover {
  background: rgba(96, 165, 250, 0.08);
}

.nav-profile-trigger[aria-expanded="true"] {
  background: rgba(96, 165, 250, 0.12);
}

.nav-profile-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), #3b82f6);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-weight: 600;
  color: #fff;
  font-size: 0.875rem;
  box-shadow: 0 2px 8px rgba(59, 130, 246, 0.2);
}

.nav-profile-initials {
  line-height: 1;
}

.nav-profile-info {
  display: flex;
  flex-direction: column;
  gap: 0.125rem;
  flex: 1;
  min-width: 0;
}

.nav-profile-name {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.nav-profile-email {
  font-size: 0.75rem;
  color: var(--muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.nav-profile-menu {
  position: absolute;
  bottom: calc(100% + 0.5rem);
  left: 0;
  right: 0;
  background: var(--card);
  border: 1px solid #2a2f3a;
  border-radius: 0.5rem;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 1000;
  overflow: hidden;
  min-width: 200px;
}

.nav-profile-menu-open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav-profile-menu-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  color: var(--text);
  text-decoration: none;
  transition: background 0.15s ease;
  border: none;
  background: transparent;
  width: 100%;
  text-align: left;
  font-size: 0.9rem;
  cursor: pointer;
  position: relative;
}

.nav-profile-menu-item:first-child {
  border-radius: 0.5rem 0.5rem 0 0;
}

.nav-profile-menu-item:hover {
  background: rgba(96, 165, 250, 0.1);
}

.nav-profile-menu-item-logout {
  border-top: 1px solid #2a2f3a;
  color: var(--danger);
  border-radius: 0 0 0.5rem 0.5rem;
}

.nav-profile-menu-item-logout:hover {
  background: rgba(239, 68, 68, 0.1);
  color: #ef4444;
}

.nav-profile-menu-button {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  width: 100%;
  padding: 0;
  border: none;
  background: transparent;
  color: inherit;
  font-size: inherit;
  cursor: pointer;
  text-align: left;
}

.nav-profile-menu-icon {
  width: 18px;
  height: 18px;
  text-align: center;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.7;
}

.nav-profile-menu-item:hover .nav-profile-menu-icon {
  opacity: 1;
}

/* Tenant-Auswahl in Navigation */
.nav-tenant-selector {
  width: calc(100% - 1.5rem);
  max-width: 100%;
  padding: 0 0.75rem;
  margin: 0 0.75rem 0.5rem;
  box-sizing: border-box;
}

.nav-tenant-select {
  width: 100%;
  max-width: 100%;
  padding: 0.625rem 0.75rem;
  background: var(--card);
  border: 1px solid #2a2f3a;
  border-radius: 0.5rem;
  color: var(--text);
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%239ca3af' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  padding-right: 2.5rem;
  box-sizing: border-box;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.nav-tenant-select:hover {
  border-color: var(--accent);
  background-color: #1a1d25;
}

.nav-tenant-select:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(96, 165, 250, 0.1);
}

.nav-tenant-name {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: calc(100% - 1.5rem);
  max-width: 100%;
  padding: 0.875rem 1rem;
  text-align: center;
  color: var(--accent);
  font-weight: 600;
  font-size: 0.875rem;
  margin: 0.75rem;
  background: rgba(96, 165, 250, 0.1);
  border: 1px solid rgba(96, 165, 250, 0.2);
  border-radius: 0.5rem;
  box-shadow: 0 2px 8px rgba(96, 165, 250, 0.1);
  box-sizing: border-box;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.nav-tenant-name span:last-child {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.nav-tenant-icon {
  font-size: 1.1rem;
  flex-shrink: 0;
}

/* Dropdown Menü */
.nav .dropdown {
  position: relative;
  width: 100%;
}

.nav .dropdown .trigger {
  display: flex;
  width: 100%;
}

.nav .dropdown .menu {
  display: none;
  position: absolute;
  top: calc(100% + 0.25rem);
  left: 0;
  right: 0;
  margin: 0 0.75rem;
  min-width: calc(100% - 1.5rem);
  background: #1a1d25;
  border: 1px solid #2a2f3a;
  border-radius: 0.5rem;
  padding: 0.5rem;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
  z-index: 1000;
  animation: fadeInDown 0.2s ease;
  backdrop-filter: blur(10px);
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.nav .dropdown:hover .menu,
.nav .dropdown:focus-within .menu {
  display: block;
}

.nav .dropdown .menu a {
  display: block;
  padding: 0.625rem 0.75rem;
  border-radius: 0.375rem;
  white-space: nowrap;
  margin: 0.125rem 0;
  font-size: 0.875rem;
}

.nav .dropdown .menu a:hover {
  background: #252932;
  color: var(--accent);
}


/* Grid */
/* Page Header */
.page-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid #2a2f3a;
}

.page-header-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.view-toggle-group {
  display: inline-flex;
  align-items: center;
  background: #0f1116;
  border-radius: 999px;
  padding: 2px;
  border: 1px solid #2a2f3a;
}

.view-toggle-btn {
  border: none;
  background: transparent;
  color: var(--muted);
  padding: 0.3rem 0.9rem;
  border-radius: 999px;
  font-size: 0.85rem;
  cursor: pointer;
  white-space: nowrap;
}

.view-toggle-btn.is-active {
  background: var(--accent);
  color: #fff;
}

.page-header h1 {
  margin: 0 0 0.5rem 0;
  font-size: 2rem;
  font-weight: 700;
  color: var(--text);
}

.page-subtitle {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
  border: none;
  padding: 0.75rem 1.5rem;
  border-radius: 0.5rem;
  font-weight: 500;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  transition: background 0.2s ease, transform 0.2s ease;
}

.btn-primary:hover {
  background: #4a9eff;
  transform: translateY(-1px);
}

.media-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.5rem;
  align-items: stretch;
}

@media (max-width: 768px) {
  .media-grid {
    grid-template-columns: 1fr;
  }
  
  .page-header {
    flex-direction: column;
    gap: 1rem;
  }

  .page-header-actions {
    width: 100%;
    flex-direction: column-reverse;
    align-items: stretch;
  }
  .page-header-actions .btn-primary {
    width: 100%;
    justify-content: center;
  }
  .view-toggle-group {
    justify-content: center;
  }
  
  .page-header .btn-primary {
    width: 100%;
    justify-content: center;
  }
}

/* Card */
.media-card {
  background: var(--card);
  border: 1px solid #2a2f3a;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  height: 100%;
}

.media-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
  border-color: var(--accent);
}

/* Thumbnail */
.media-thumb {
  aspect-ratio: 16/9;
  background: linear-gradient(135deg, #0f1116 0%, #1a1d24 100%);
  border-bottom: 1px solid #2a2f3a;
  flex-shrink: 0;
  position: relative;
  overflow: hidden;
}

.media-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}

.media-card:hover .media-thumb img {
  transform: scale(1.05);
}

.media-thumb-fallback {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
  color: var(--muted);
}

.media-thumb-video {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
  color: var(--accent);
  background: linear-gradient(135deg, rgba(96, 165, 250, 0.1) 0%, rgba(96, 165, 250, 0.05) 100%);
}

.media-thumb-overlay {
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  z-index: 1;
}

.media-type-badge {
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(8px);
  padding: 0.25rem 0.5rem;
  border-radius: 0.35rem;
  font-size: 0.75rem;
  color: var(--text);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Inhaltsteil */
.media-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 1.25rem;
  gap: 1rem;
}

/* Titel */
.media-title {
  margin: 0;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
  line-height: 1.4;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

/* Media Meta */
.media-meta {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.media-meta-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
}

.media-meta-icon {
  font-size: 1rem;
  opacity: 0.7;
}

/* Status Row */
.media-status-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.badge-success {
  background: rgba(34, 197, 94, 0.15);
  color: #22c55e;
  border: 1px solid rgba(34, 197, 94, 0.3);
  padding: 0.25rem 0.75rem;
  border-radius: 0.35rem;
  font-size: 0.875rem;
  font-weight: 500;
}

.badge-muted {
  background: rgba(156, 163, 175, 0.15);
  color: var(--muted);
  border: 1px solid rgba(156, 163, 175, 0.3);
  padding: 0.25rem 0.75rem;
  border-radius: 0.35rem;
  font-size: 0.875rem;
  font-weight: 500;
}

/* Schedule */
.media-schedule {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding: 0.75rem;
  background: rgba(96, 165, 250, 0.05);
  border: 1px solid rgba(96, 165, 250, 0.1);
  border-radius: 0.5rem;
}

.media-schedule-item {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.media-schedule-label {
  font-size: 0.75rem;
  color: var(--muted);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.media-schedule-value {
  font-size: 0.9rem;
  color: var(--text);
  font-weight: 500;
}

.media-days {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.day-chip {
  background: rgba(96, 165, 250, 0.15);
  color: var(--accent);
  padding: 0.25rem 0.5rem;
  border-radius: 0.35rem;
  font-size: 0.75rem;
  font-weight: 500;
  border: 1px solid rgba(96, 165, 250, 0.2);
}

/* Actions */
.media-actions {
  display: flex;
  gap: 0.5rem;
  margin-top: auto;
  padding-top: 0.75rem;
  border-top: 1px solid #2a2f3a;
}

.media-actions .btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.btn-small {
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
}

/* Empty State */
.empty-state {
  text-align: center;
  padding: 4rem 2rem;
  background: var(--card);
  border: 1px solid #2a2f3a;
  border-radius: 1rem;
  margin-top: 2rem;
}

.empty-state-icon {
  font-size: 4rem;
  margin-bottom: 1rem;
  opacity: 0.5;
}

.empty-state h2 {
  margin: 0 0 0.5rem 0;
  color: var(--text);
  font-size: 1.5rem;
}

.empty-state p {
  margin: 0 0 1.5rem 0;
  color: var(--muted);
}

/* Chips (alte Styles für Kompatibilität) */
.chips {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.chip {
  display: inline-block;
  background: rgba(96, 165, 250, 0.15);
  color: var(--accent);
  padding: 0.25rem 0.5rem;
  border-radius: 0.35rem;
  font-size: 0.75rem;
  font-weight: 500;
}

.chip.time {
  background: rgba(34, 197, 94, 0.15);
  color: #22c55e;
}

.dot {
  color: var(--muted);
  margin: 0 0.25rem;
}
  font-size: 1rem;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Meta & Badges */
.media-meta { display: flex; align-items: center; gap: .5rem; font-size: .9rem; }
.media-meta .muted { color: var(--muted); }
.media-meta .dot { color: #2a2f3a; }

/* Badges */
.badge {
  display: inline-flex; align-items: center; gap:.4rem;
  padding: .15rem .5rem; border-radius: .5rem; font-size: .8rem; text-transform: uppercase; letter-spacing:.04em;
  border: 1px solid #2a2f3a; color: var(--muted); background: #0f1116;
}
.badge.ok { color:#10b981; border-color:#065f46; background: rgba(16,185,129,.08); }
.badge.muted { color:#9ca3af; }

/* Chips (Tage, Zeiten) */
.chips { display: flex; flex-wrap: wrap; gap: .6rem; padding-top: 10px; padding-bottom: 10px; }
.chip {
  border: 1px solid #2a2f3a; background:#0f1116; color: var(--text);
  padding: .25rem .5rem; border-radius: .45rem; font-size: .85rem;
}
.chip.time { border-color:#1f3b59; background: rgba(96,165,250,.08); }

/* Actions */
.media-actions {
  margin-top: .2rem;
  display: flex; gap: .5rem; justify-content: flex-end;
}
.btn.ghost {
  background: transparent; color: var(--text);
  border: 1px solid #2a2f3a;
}
.btn.ghost:hover { background:#1f232b; }


/* ------ Mobile Burger / Off-canvas ------ */
.burger {
  position: fixed;
  top: .75rem;
  left: .75rem;
  z-index: 110;                 /* über Nav */
  width: 42px; height: 42px;
  display: none;                /* nur mobil zeigen */
  align-items: center; justify-content: center;
  border: 1px solid #2a2f3a;
  border-radius: .6rem;
  background: #111318;
  color: var(--text);
  cursor: pointer;
}

/* Burger Icon - Drei Striche */
.burger .bar,
.burger .bar::before,
.burger .bar::after {
  content: "";
  display: block;
  width: 22px;
  height: 2.5px;
  background: var(--text);
  position: relative;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1),
              opacity 0.3s ease;
  border-radius: 2px;
}

.burger .bar::before {
  position: absolute;
  top: -7px;
}

.burger .bar::after {
  position: absolute;
  top: 7px;
}

/* Screen Reader Only */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

/* Overlay zum Schließen */
.nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(2px);
  display: none;
  z-index: 90;
  cursor: pointer;
}

.card { background: var(--card); padding: 1rem; border-radius: .8rem; margin: 1rem 0; box-shadow: 0 4px 14px rgba(0,0,0,.25); }
h1,h2 { margin: .2rem 0 1rem; }
.btn, button { background: var(--accent); color:#0b0c10; border:0; padding:.5rem .9rem; border-radius:.6rem; cursor:pointer; font-weight:600; }
button.danger { background: var(--danger); color:#fff; }
input[type="text"], input[type="number"], input[type="file"], input[type="email"], input[type="password"], input[type="time"], input[type="date"] {
  background:#0f1116; color:var(--text); border:1px solid #2a2f3a; border-radius:.5rem; padding:.5rem;
}
label { display:block; margin:.3rem 0; }
table { width:100%; border-collapse: collapse; }
th, td { padding:.5rem; border-bottom:1px solid #2a2f3a; text-align:left; }
tr {height: 60px;}
code { background:#0f1116; padding:.1rem .35rem; border:1px solid #2a2f3a; border-radius:.35rem; }
.stack1 { display: flex; flex-wrap: wrap;}
.stack1 label { margin-right: 1rem; margin-bottom: .5rem; }

.stack-time {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.title-row {
  display: flex;
  flex-direction: row;
  gap: .4rem;
  margin-bottom: 1.5rem;
}


/* Mobile: Sidebar off-canvas */
@media (max-width: 900px) {
  .burger { 
    display: flex; 
  }

  .nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 300px;
    max-width: 85vw;
    height: 100vh;
    height: 100dvh; /* Dynamic viewport height für mobile Browser */
    transform: translateX(-100%);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 100;
    box-shadow: 2px 0 10px rgba(0, 0, 0, 0.3);
  }

  .container {
    margin-left: 0;
    padding: 1rem;
    padding-top: 4.5rem; /* Platz für Burger */
  }

  body.nav-open .nav {
    transform: translateX(0);
  }

  body.nav-open .nav-overlay {
    display: block;
    animation: fadeIn 0.3s ease;
  }

  @keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
  }

  body.nav-open .burger .bar {
    transform: rotate(45deg);
  }

  body.nav-open .burger .bar::before {
    transform: rotate(90deg);
    top: 0;
  }

  body.nav-open .burger .bar::after {
    opacity: 0;
  }

  /* Mobile Navigation Anpassungen */
  .nav-top {
    padding: 0.75rem 0;
  }

  .nav a {
    margin: 0.125rem 0.5rem;
    padding: 0.875rem 1rem;
  }

  .nav-tenant-selector {
    padding: 0 0.5rem;
  }

  .nav-bottom {
    padding: 0.875rem 0.5rem;
  }
  
  .nav-profile-info {
    display: none;
  }
  
  .nav-profile-avatar {
    width: 38px;
    height: 38px;
    font-size: 0.8rem;
  }
  
  .nav-profile-trigger {
    padding: 0.5rem;
    justify-content: center;
  }
}

@media (max-width: 600px) {
  .nav-profile-menu {
    left: 0.5rem;
    right: 0.5rem;
    bottom: calc(100% + 0.375rem);
  }
  
  .nav-bottom {
    padding: 0.75rem 0.5rem;
  }
}

/* Vorschau */
/* Vorschau bleibt */
.preview-card {
  display:grid;
  grid-template-columns: minmax(200px,40%) 1fr;
  gap:1rem;
  align-items:center;
}

@media (max-width:900px){.preview-card{grid-template-columns:1fr;}}
.preview-media {
  background:#0f1116;border:1px solid #222;border-radius:.8rem;overflow:hidden;
  aspect-ratio:16/9;display:grid;place-items:center;
}
.preview-media img,.preview-media video{width:100%;height:100%;object-fit:cover;}
.preview-fallback{display:flex;align-items:center;gap:.8rem;color:var(--muted);padding:1rem;}

/* Checkbox-Grid für Bildschirme */
.device-grid {
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
  gap:.8rem;
  margin-top:.6rem;
}
.device-item {
  background:#0f1116;
  border:1px solid #2a2f3a;
  border-radius:.6rem;
  padding:.7rem .9rem;
  display:flex;
  align-items:center;
  gap:.7rem;
  cursor:pointer;
  transition:border .15s ease, background .15s ease;
}
.device-item:hover { background:#1a1d25; border-color:#3b82f6; }
.device-item input[type=checkbox] {
  accent-color:#3b82f6;
  width:1.1rem; height:1.1rem;
}
.device-info strong{display:block;font-size:.95rem;}
.device-info small{color:var(--muted);font-size:.8rem;}

/* ===== ADMIN BEREICH ===== */

/* Admin Grid für Übersicht */
.admin-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.admin-card {
  display: block;
  padding: 2rem;
  background: var(--card);
  border-radius: 0.75rem;
  text-decoration: none;
  color: var(--text);
  border: 1px solid #2a2f3a;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.admin-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent);
  box-shadow: 0 8px 20px rgba(96, 165, 250, 0.15);
}

.admin-card h2 {
  margin: 0 0 0.5rem 0;
  color: var(--accent);
  font-size: 1.25rem;
}

.admin-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.admin-card-icon {
  margin-top: 1rem;
  font-size: 2rem;
  color: var(--accent);
  opacity: 0.8;
}

/* Admin Header mit Button */
.admin-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
  flex-wrap: wrap;
  gap: 1rem;
}

.admin-header h1 {
  margin: 0;
}

/* Tabellen im Admin-Bereich */
.admin-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--card);
}

.admin-table thead {
  background: #0f1116;
  border-bottom: 2px solid #2a2f3a;
}

.admin-table th {
  padding: 1rem 0.75rem;
  text-align: left;
  font-weight: 600;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--muted);
  border-bottom: 2px solid #2a2f3a;
}

.admin-table td {
  padding: 0.75rem;
  border-bottom: 1px solid #2a2f3a;
  vertical-align: middle;
}

.admin-table tbody tr {
  transition: background 0.15s ease;
}

.admin-table tbody tr:hover {
  background: #1a1d25;
}

.admin-table tbody tr:last-child td {
  border-bottom: none;
}

/* Admin Modal */
.admin-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.7);
  z-index: 1000;
  align-items: center;
  justify-content: center;
  overflow-y: auto;
  padding: 2rem 0;
}

.admin-modal.active {
  display: flex;
}

.admin-modal-content {
  background: var(--card);
  padding: 2rem;
  border-radius: 0.75rem;
  max-width: 600px;
  width: 90%;
  border: 1px solid #2a2f3a;
  margin: auto;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}

.admin-modal-content h2 {
  margin-top: 0;
  margin-bottom: 1.5rem;
  color: var(--text);
}

/* Formular-Felder im Modal */
.admin-form-group {
  margin-bottom: 1rem;
}

.admin-form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
  color: var(--text);
}

.admin-form-group input,
.admin-form-group select,
.admin-form-group textarea {
  width: 100%;
  padding: 0.5rem;
  background: var(--bg);
  border: 1px solid #2a2f3a;
  border-radius: 0.5rem;
  color: var(--text);
  font-size: 0.95rem;
  transition: border-color 0.2s ease;
}

.admin-form-group input:focus,
.admin-form-group select:focus,
.admin-form-group textarea:focus {
  outline: none;
  border-color: var(--accent);
}

.admin-form-group input[type="checkbox"] {
  width: auto;
  margin-right: 0.5rem;
}

.admin-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1rem;
}

@media (max-width: 600px) {
  .admin-form-grid {
    grid-template-columns: 1fr;
  }
}

/* Modal Actions */
.admin-modal-actions {
  display: flex;
  gap: 0.5rem;
  justify-content: flex-end;
  margin-top: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid #2a2f3a;
}

/* Button Varianten */
.btn-secondary {
  background: var(--muted);
  color: #fff;
}

.btn-secondary:hover {
  background: #6b7280;
}

.btn-small {
  padding: 0.25rem 0.75rem;
  font-size: 0.875rem;
}

/* Suchfeld */
.admin-search {
  padding: 0.5rem;
  background: var(--bg);
  border: 1px solid #2a2f3a;
  border-radius: 0.5rem;
  color: var(--text);
  min-width: 250px;
  transition: border-color 0.2s ease;
}

.admin-search:focus {
  outline: none;
  border-color: var(--accent);
}

/* Empty State */
.admin-empty {
  text-align: center;
  padding: 3rem 2rem;
  color: var(--muted);
}

.admin-empty-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
  opacity: 0.5;
}

/* Action Buttons in Tabellen */
.admin-actions {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

/* Code in Tabellen (für UUIDs) */
.admin-table code {
  font-size: 0.75rem;
  background: #0f1116;
  padding: 0.2rem 0.4rem;
  border: 1px solid #2a2f3a;
  border-radius: 0.35rem;
  font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;
}

/* Responsive Admin Tabellen */
@media (max-width: 900px) {
  .admin-table {
    font-size: 0.875rem;
  }
  
  .admin-table th,
  .admin-table td {
    padding: 0.5rem 0.4rem;
  }
  
  .admin-actions {
    flex-direction: column;
  }
  
  .admin-actions .btn {
    width: 100%;
  }
}

/* Mobile: Tabellen als Cards */
@media (max-width: 768px) {
  /* Verstecke normale Tabelle auf mobilen Geräten */
  .admin-table {
    display: none;
  }
  
  /* Zeige Card-Version */
  .admin-table-mobile {
    display: block;
  }
  
  .admin-card-item {
    background: var(--card);
    border: 1px solid #2a2f3a;
    border-radius: 0.75rem;
    padding: 1rem;
    margin-bottom: 1rem;
  }
  
  .admin-card-item-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 0.75rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid #2a2f3a;
  }
  
  .admin-card-item-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text);
    margin: 0;
  }
  
  .admin-card-item-id {
    font-size: 0.75rem;
    color: var(--muted);
    font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;
  }
  
  .admin-card-item-row {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem 0;
    border-bottom: 1px solid #1a1d25;
  }
  
  .admin-card-item-row:last-child {
    border-bottom: none;
  }
  
  .admin-card-item-label {
    font-weight: 500;
    color: var(--muted);
    font-size: 0.875rem;
    min-width: 100px;
  }
  
  .admin-card-item-value {
    color: var(--text);
    text-align: right;
    flex: 1;
    word-break: break-word;
  }
  
  .admin-card-item-actions {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #2a2f3a;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
  }
  
  .admin-card-item-actions .btn {
    width: 100%;
    text-align: center;
  }
  
  /* Admin Header auf mobilen Geräten */
  .admin-header {
    flex-direction: column;
    align-items: stretch;
  }
  
  .admin-header h1 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
  }
  
  .admin-header .btn {
    width: 100%;
  }
  
  /* Modal auf mobilen Geräten */
  .admin-modal {
    padding: 0;
    align-items: flex-end;
    -webkit-overflow-scrolling: touch;
  }
  
  .admin-modal-content {
    width: 100%;
    max-width: 100%;
    border-radius: 1rem 1rem 0 0;
    max-height: 90vh;
    overflow-y: auto;
    margin: 0;
    padding: 1.5rem;
    -webkit-overflow-scrolling: touch;
  }
  
  .admin-modal-content h2 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
  }
  
  /* Verhindere Body-Scroll wenn Modal offen ist */
  body.modal-open {
    overflow: hidden;
    position: fixed;
    width: 100%;
  }
  
  /* Container Padding auf mobilen Geräten reduzieren */
  .container {
    padding: 1rem;
  }
  
  /* Card Padding auf mobilen Geräten reduzieren */
  .card {
    padding: 1rem;
    margin: 0.5rem 0;
  }
  
  /* Suchfeld auf mobilen Geräten */
  .admin-search {
    width: 100%;
    min-width: auto;
  }
  
  /* Admin Grid auf mobilen Geräten */
  .admin-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  /* Admin Card auf mobilen Geräten */
  .admin-card {
    padding: 1.5rem;
  }
  
  .admin-card h2 {
    font-size: 1.1rem;
  }
  
  .admin-card-icon {
    font-size: 1.5rem;
  }
}

/* Desktop: Zeige normale Tabelle, verstecke Card-Version */
@media (min-width: 769px) {
  .admin-table-mobile {
    display: none;
  }
  
  /* Admin Header auf Desktop nebeneinander */
  .admin-header {
    flex-direction: row;
    align-items: center;
  }
}

/* ===== DASHBOARD ===== */
.dashboard-header {
  margin-bottom: 2rem;
}

.dashboard-header h1 {
  margin: 0 0 0.5rem 0;
}

.dashboard-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.stat-card {
  background: var(--card);
  border: 1px solid #2a2f3a;
  border-radius: 0.75rem;
  padding: 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.stat-card:hover {
  transform: translateY(-2px);
  border-color: var(--accent);
}

.stat-icon {
  font-size: 2.5rem;
  opacity: 0.8;
}

.stat-content h3 {
  margin: 0;
  font-size: 2rem;
  color: var(--accent);
}

.stat-content p {
  margin: 0.25rem 0 0 0;
  font-weight: 600;
}

.stat-detail {
  display: block;
  margin-top: 0.25rem;
  color: var(--muted);
  font-size: 0.875rem;
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

.device-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.device-list-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem;
  background: #0f1116;
  border: 1px solid #2a2f3a;
  border-radius: 0.5rem;
  gap: 1rem;
}

.device-list-info {
  flex: 1;
}

.device-list-info strong {
  display: block;
  margin-bottom: 0.25rem;
}

.device-list-status {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.25rem;
}

.media-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.media-list-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.75rem;
  background: #0f1116;
  border: 1px solid #2a2f3a;
  border-radius: 0.5rem;
}

.media-list-preview {
  width: 80px;
  height: 60px;
  flex-shrink: 0;
  border-radius: 0.4rem;
  overflow: hidden;
  background: #0b0c10;
  display: flex;
  align-items: center;
  justify-content: center;
}

.media-list-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.media-list-placeholder {
  font-size: 2rem;
  opacity: 0.5;
}

.media-list-info {
  flex: 1;
}

.media-list-info strong {
  display: block;
  margin-bottom: 0.25rem;
}

.quick-actions {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1rem;
}

.quick-action-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  padding: 1.5rem;
  background: var(--card);
  border: 1px solid #2a2f3a;
  border-radius: 0.75rem;
  text-decoration: none;
  color: var(--text);
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.quick-action-btn:hover {
  transform: translateY(-2px);
  border-color: var(--accent);
}

.quick-action-icon {
  font-size: 2rem;
}

/* Gerätespezifische Zeiten */
.device-time-card {
  padding: 1rem;
  background: #0f1116;
  border: 1px solid #2a2f3a;
  border-radius: 0.5rem;
  margin-bottom: 1rem;
}

.device-time-card:last-child {
  margin-bottom: 0;
}

/* Preview Section */
.preview-section {
  margin-bottom: 2rem;
}

.section-title {
  margin: 0 0 0.75rem 0;
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.section-description {
  margin: 0 0 1.5rem 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.5;
}

.preview-media {
  background: linear-gradient(135deg, #0f1116 0%, #1a1d24 100%);
  border: 1px solid #2a2f3a;
  border-radius: 0.75rem;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 300px;
  max-height: 500px;
}

.preview-media img,
.preview-media video {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  display: block;
}

.preview-fallback {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding: 2rem;
  color: var(--muted);
  text-align: center;
}

.preview-fallback svg {
  opacity: 0.5;
}

/* Form Styles */
.form-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

@media (max-width: 768px) {
  .form-grid {
    grid-template-columns: 1fr;
  }
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.form-label {
  font-weight: 600;
  color: var(--text);
  font-size: 0.95rem;
}

.form-input {
  padding: 0.75rem;
  background: var(--bg);
  border: 1px solid #2a2f3a;
  border-radius: 0.5rem;
  color: var(--text);
  font-size: 0.95rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  width: 100%;
}

.form-input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(96, 165, 250, 0.1);
}

.form-hint {
  display: block;
  margin-top: 0.5rem;
  color: var(--muted);
  font-size: 0.875rem;
}

/* Days Checkbox Group */
.days-checkbox-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.day-checkbox-label {
  display: flex;
  align-items: center;
  cursor: pointer;
  user-select: none;
}

.day-checkbox {
  width: 18px;
  height: 18px;
  margin: 0;
  margin-right: 0.5rem;
  cursor: pointer;
  accent-color: var(--accent);
}

.day-checkbox-text {
  font-size: 0.9rem;
  color: var(--text);
  padding: 0.5rem 0.75rem;
  background: rgba(96, 165, 250, 0.1);
  border: 1px solid rgba(96, 165, 250, 0.2);
  border-radius: 0.4rem;
  transition: all 0.2s ease;
}

.day-checkbox:checked + .day-checkbox-text {
  background: rgba(96, 165, 250, 0.2);
  border-color: var(--accent);
  color: var(--accent);
  font-weight: 500;
}

/* Device Checkbox Grid */
.device-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 1rem;
  margin-bottom: 1rem;
}

@media (max-width: 768px) {
  .device-grid {
    grid-template-columns: 1fr;
  }
}

.device-checkbox-item {
  display: block;
  cursor: pointer;
}

.device-checkbox-item input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.device-checkbox-content {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  background: var(--bg);
  border: 2px solid #2a2f3a;
  border-radius: 0.75rem;
  transition: all 0.2s ease;
}

.device-checkbox-item:hover .device-checkbox-content {
  border-color: var(--accent);
  background: rgba(96, 165, 250, 0.05);
}

.device-checkbox-item-checked .device-checkbox-content {
  border-color: var(--accent);
  background: rgba(96, 165, 250, 0.1);
}

.device-checkbox-icon {
  font-size: 1.5rem;
  flex-shrink: 0;
}

.device-checkbox-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.device-checkbox-info strong {
  color: var(--text);
  font-size: 0.95rem;
}

.device-checkbox-indicator {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #2a2f3a;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.2s ease;
}

.device-checkbox-item-checked .device-checkbox-indicator {
  background: var(--accent);
}

.checkmark {
  color: #fff;
  font-size: 0.875rem;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.device-checkbox-item-checked .checkmark {
  opacity: 1;
}

/* Device Time Cards */
.device-times-container {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.device-time-card {
  padding: 1.25rem;
  background: rgba(96, 165, 250, 0.05);
  border: 1px solid rgba(96, 165, 250, 0.2);
  border-radius: 0.75rem;
}

.device-time-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid rgba(96, 165, 250, 0.1);
}

.device-time-title {
  margin: 0;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.device-time-icon {
  font-size: 1.25rem;
}

.device-time-location {
  font-size: 0.875rem;
}

/* Form Actions */
.form-actions {
  margin-top: 2rem;
}

.form-actions-buttons {
  display: flex;
  gap: 1rem;
  justify-content: flex-end;
}

@media (max-width: 768px) {
  .form-actions-buttons {
    flex-direction: column;
  }
  
  .form-actions-buttons .btn {
    width: 100%;
    justify-content: center;
  }
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: 0.5rem;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s ease;
  font-size: 0.95rem;
}

.btn-secondary {
  background: #2a2f3a;
  color: var(--text);
}

.btn-secondary:hover {
  background: #3a3f4a;
}

.btn-danger {
  background: #dc2626;
  color: #fff;
}

.btn-danger:hover {
  background: #b91c1c;
  transform: translateY(-1px);
}

/* Danger Section */
.danger-section {
  margin-top: 2rem;
  border-color: rgba(220, 38, 38, 0.3);
  background: rgba(220, 38, 38, 0.05);
}

@media (max-width: 768px) {
  .dashboard-stats {
    grid-template-columns: 1fr;
  }
  
  .device-list-item,
  .media-list-item {
    flex-direction: column;
    align-items: stretch;
  }
  
  .device-list-status {
    align-items: flex-start;
  }
  
  .quick-actions {
    grid-template-columns: 1fr;
  }
}
