/* ============ LIA One Flow — Design System v2 (glass premium) ============ */
:root {
  --bg-0: #04121f;
  --bg-1: #061a2d;
  --bg-2: #092033;
  --bg-3: #0e3448;
  --teal: #00afae;
  --cyan: #17d4cf;
  --green: #20c772;
  --mint: #79dea8;
  --text-1: #eef7fa;
  --text-2: #8daebb;
  --glass: rgba(255, 255, 255, 0.055);
  --glass-2: rgba(255, 255, 255, 0.1);
  --glass-3: rgba(255, 255, 255, 0.14);
  --glass-border: rgba(255, 255, 255, 0.09);
  --glass-highlight: inset 0 1px 0 rgba(255, 255, 255, 0.09);
  --danger: #ff6b6b;
  --warning: #ffb84d;
  --success: #20c772;
  --info: #17d4cf;
  --radius: 22px;
  --radius-sm: 14px;
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --font-body: 'Inter', system-ui, sans-serif;
  --font-display: 'Space Grotesk', 'Inter', sans-serif;
  --sidebar-w: 252px;
  --shadow-card: 0 18px 50px rgba(0, 0, 0, 0.35);
  --shadow-float: 0 28px 70px rgba(0, 0, 0, 0.5), 0 0 60px rgba(23, 212, 207, 0.12);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html, body, #root { height: 100%; }

body {
  font-family: var(--font-body);
  color: var(--text-1);
  background:
    radial-gradient(1200px 820px at 80% 6%, rgba(42, 108, 138, 0.55), transparent 60%),
    radial-gradient(1100px 950px at 38% 64%, rgba(24, 78, 106, 0.40), transparent 66%),
    linear-gradient(158deg, #1b4a60 0%, #123446 48%, #0a2233 100%);
  background-attachment: fixed;
  font-size: 14px;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 600; letter-spacing: -0.015em; }
a { color: var(--cyan); text-decoration: none; }
::selection { background: rgba(23, 212, 207, 0.35); }

::-webkit-scrollbar { width: 9px; height: 9px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.12); border-radius: 8px; }
::-webkit-scrollbar-thumb:hover { background: rgba(255,255,255,0.2); }

/* ============ LAYOUT ============ */
.app-shell { display: flex; min-height: 100vh; }

.sidebar {
  width: var(--sidebar-w);
  flex-shrink: 0;
  position: fixed;
  inset: 0 auto 0 0;
  padding: 22px 16px 18px;
  display: flex;
  flex-direction: column;
  gap: 3px;
  background: transparent;
  border-right: none;
  z-index: 40;
  overflow-y: auto;
}

.sidebar-brand {
  display: flex; align-items: center; gap: 11px;
  padding: 2px 8px 22px;
}
.sidebar-brand img {
  width: 40px; height: 40px; object-fit: contain;
  filter: drop-shadow(0 4px 14px rgba(23, 212, 207, 0.35));
}
.sidebar-brand .brand-name {
  font-family: var(--font-display);
  font-size: 16.5px; font-weight: 700; line-height: 1.15;
}
.sidebar-brand .brand-sub {
  font-size: 9px; color: var(--text-2); letter-spacing: 0.09em; text-transform: uppercase;
}

.nav-section {
  font-size: 10px; text-transform: uppercase; letter-spacing: 0.14em;
  color: rgba(141, 174, 187, 0.65); padding: 16px 12px 7px;
  font-weight: 600;
}

.nav-item {
  display: flex; align-items: center; gap: 11px;
  padding: 7px 10px;
  border-radius: 13px;
  color: var(--text-2);
  font-weight: 500;
  font-size: 13.5px;
  cursor: pointer;
  transition: background 160ms var(--ease-out), color 160ms var(--ease-out);
  border: 1px solid transparent;
}
.nav-item .icon-chip {
  display: grid; place-items: center;
  width: 30px; height: 30px;
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.05);
  transition: background 160ms, box-shadow 160ms;
  flex-shrink: 0;
}
.nav-item .icon-chip svg { width: 15.5px; height: 15.5px; }
.nav-item:hover { color: var(--text-1); background: rgba(255,255,255,0.04); }
.nav-item.active {
  background: linear-gradient(120deg, rgba(23, 212, 207, 0.14), rgba(255, 255, 255, 0.04) 70%);
  border-color: rgba(255, 255, 255, 0.07);
  color: var(--text-1);
  box-shadow: var(--glass-highlight);
}
.nav-item.active .icon-chip {
  background: linear-gradient(135deg, var(--teal), var(--green));
  box-shadow: 0 4px 14px rgba(0, 175, 174, 0.45);
}
.nav-item.active .icon-chip svg { color: #04222b; }

.main {
  flex: 1;
  margin-left: var(--sidebar-w);
  padding: 22px 32px 56px;
  min-width: 0;
}

/* ============ TOPBAR + HERO ============ */
.topbar {
  display: flex; align-items: center; gap: 12px;
  margin-bottom: 10px;
}
.topbar .spacer { flex: 1; }

.hero-title {
  font-size: clamp(38px, 5vw, 58px);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.05;
  margin: 4px 0 26px;
  background: linear-gradient(90deg, #ffffff 35%, rgba(238, 247, 250, 0.78) 55%, rgba(238, 247, 250, 0.22) 92%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.searchbox {
  display: flex; align-items: center; gap: 8px;
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: 14px;
  padding: 9px 14px;
  min-width: 230px;
  backdrop-filter: blur(18px);
  box-shadow: var(--glass-highlight);
}
.searchbox input {
  background: none; border: none; outline: none;
  color: var(--text-1); font-family: inherit; font-size: 13px; width: 100%;
}
.searchbox input::placeholder { color: var(--text-2); }
.searchbox svg { width: 15px; height: 15px; color: var(--text-2); }

.icon-btn {
  position: relative;
  display: grid; place-items: center;
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--glass);
  border: 1px solid var(--glass-border);
  color: var(--text-2);
  cursor: pointer;
  backdrop-filter: blur(18px);
  box-shadow: var(--glass-highlight);
  transition: transform 160ms var(--ease-out), background 150ms, color 150ms;
}
.icon-btn:hover { background: var(--glass-2); color: var(--text-1); }
.icon-btn:active { transform: scale(0.94); }
.icon-btn .dot {
  position: absolute; top: 9px; right: 10px;
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--danger);
  border: 1.5px solid var(--bg-1);
}

.avatar {
  width: 40px; height: 40px; border-radius: 50%;
  display: grid; place-items: center;
  background: linear-gradient(135deg, var(--teal), var(--green));
  font-weight: 700; font-size: 13.5px; color: #04222b;
  cursor: pointer;
  font-family: var(--font-display);
  border: 2px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 6px 18px rgba(0, 175, 174, 0.35);
}

/* ============ CARDS GLASS ============ */
.card {
  background: linear-gradient(160deg, rgba(9, 29, 44, 0.58), rgba(6, 21, 33, 0.46) 60%);
  border: 1px solid rgba(255, 255, 255, 0.055);
  border-radius: var(--radius);
  padding: 22px;
  backdrop-filter: blur(20px) saturate(125%);
  -webkit-backdrop-filter: blur(20px) saturate(125%);
  box-shadow: var(--shadow-card), var(--glass-highlight);
  transition: transform 220ms var(--ease-out), box-shadow 220ms var(--ease-out);
}
.card.lift:hover { transform: translateY(-3px); box-shadow: var(--shadow-float), var(--glass-highlight); }

.card-title {
  font-size: 15px; font-weight: 600; font-family: var(--font-display);
  display: flex; align-items: center; gap: 8px;
  margin-bottom: 14px;
}
.card-title svg { width: 16px; height: 16px; color: var(--cyan); }

.card.gradient {
  background: linear-gradient(135deg, rgba(0, 175, 174, 0.36), rgba(32, 199, 114, 0.24) 55%, rgba(23, 212, 207, 0.20));
  border-color: rgba(23, 212, 207, 0.35);
}

.stat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 14px; }
.stat-card { display: flex; flex-direction: column; gap: 6px; }
.stat-card .stat-label { color: var(--text-2); font-size: 12px; display: flex; align-items: center; gap: 7px; }
.stat-card .stat-label svg { width: 14px; height: 14px; }
.stat-card .stat-value { font-size: 27px; font-weight: 700; font-family: var(--font-display); }
.stat-card .stat-extra { font-size: 11.5px; color: var(--text-2); }

/* ============ HERO CARDS ROW (estilo referencia) ============ */
.hero-row {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr 1.05fr 1.05fr;
  gap: 18px;
  align-items: stretch;
  margin-bottom: 22px;
}

.hero-card {
  position: relative;
  border-radius: 24px;
  min-height: 250px;
  overflow: hidden;
  cursor: pointer;
  border: 1px solid rgba(255, 255, 255, 0.10);
  box-shadow: var(--shadow-card);
  display: flex;
  align-items: flex-end;
  transition: transform 240ms var(--ease-out), box-shadow 240ms var(--ease-out);
}
.hero-card:hover { transform: translateY(-4px) scale(1.012); box-shadow: var(--shadow-float); }
.hero-card .cover-icon {
  position: absolute; top: 18px; right: 16px;
  opacity: 0.22; color: #fff;
}
.hero-card .cover-icon svg { width: 74px; height: 74px; }
.hero-card .hero-card-body {
  position: relative;
  width: 100%;
  padding: 44px 18px 16px;
  background: linear-gradient(180deg, transparent, rgba(3, 14, 24, 0.82) 70%);
}
.hero-card .hero-card-title {
  font-family: var(--font-display);
  font-size: 17px; font-weight: 700;
  display: flex; align-items: center; gap: 7px;
}
.hero-card .hero-card-sub { font-size: 12px; color: rgba(238, 247, 250, 0.75); margin-top: 3px; }
.hero-card .hero-chip {
  position: absolute; top: 14px; left: 14px;
}

/* tarjeta destacada flotante (tipo "Full Body Burn") */
.hero-feature {
  position: relative;
  border-radius: 26px;
  padding: 24px 22px;
  background: linear-gradient(150deg, rgba(23, 212, 207, 0.85), rgba(0, 175, 174, 0.82) 45%, rgba(32, 199, 114, 0.78));
  border: 1px solid rgba(255, 255, 255, 0.35);
  box-shadow: var(--shadow-float);
  transform: rotate(2.5deg) translateY(-8px);
  z-index: 5;
  color: #03222b;
  display: flex; flex-direction: column;
  transition: transform 280ms var(--ease-out);
  overflow: hidden;
}
.hero-feature:hover { transform: rotate(0deg) translateY(-12px); }
.hero-feature::after {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(220px 140px at 85% 0%, rgba(255, 255, 255, 0.35), transparent 70%),
    repeating-linear-gradient(115deg, transparent 0 26px, rgba(255, 255, 255, 0.07) 26px 27px);
  pointer-events: none;
}
.hero-feature h3 {
  font-size: 19px; font-weight: 700; color: #03222b;
  display: flex; align-items: center; gap: 7px;
  position: relative; z-index: 1;
}
.hero-feature p {
  font-size: 12.5px; line-height: 1.55; margin-top: 8px;
  color: rgba(3, 34, 43, 0.85);
  position: relative; z-index: 1;
}
.hero-feature .feature-foot {
  margin-top: auto; padding-top: 16px;
  display: flex; align-items: center; justify-content: space-between;
  position: relative; z-index: 1;
}
.hero-feature .feature-rating { font-weight: 700; font-size: 13.5px; display: flex; gap: 5px; align-items: center; }
.btn-try {
  font-family: var(--font-display);
  background: #f4fbfd; color: #04222b;
  font-weight: 700; font-size: 13px;
  border: none; border-radius: 999px;
  padding: 10px 22px;
  cursor: pointer;
  box-shadow: 0 10px 26px rgba(3, 34, 43, 0.30);
  transition: transform 160ms var(--ease-out), box-shadow 160ms;
}
.btn-try:hover { box-shadow: 0 14px 32px rgba(3, 34, 43, 0.4); }
.btn-try:active { transform: scale(0.96); }

/* ============ DONUT MULTICOLOR ============ */
.donut-wrap { position: relative; width: 168px; height: 168px; flex-shrink: 0; }
.donut {
  width: 100%; height: 100%;
  border-radius: 50%;
  mask: radial-gradient(farthest-side, transparent calc(100% - 15px), #000 calc(100% - 14px));
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 15px), #000 calc(100% - 14px));
}
.donut-center {
  position: absolute; inset: 15px;
  display: grid; place-items: center;
  text-align: center;
}
.donut-center .donut-value { font-size: 26px; font-weight: 700; font-family: var(--font-display); }
.donut-center .donut-label { font-size: 10.5px; color: var(--text-2); margin-top: 2px; }
.donut-chip {
  position: absolute; bottom: -8px; left: 50%; transform: translateX(-50%);
  background: rgba(5, 20, 32, 0.92);
  border: 1px solid var(--glass-border);
  border-radius: 999px;
  padding: 5px 13px;
  font-size: 11px; font-weight: 600;
  white-space: nowrap;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.4);
}

.legend { display: flex; flex-direction: column; gap: 13px; flex: 1; min-width: 0; }
.legend-item { display: flex; align-items: center; gap: 11px; }
.legend-dot {
  width: 11px; height: 11px; border-radius: 4px; flex-shrink: 0;
  box-shadow: 0 0 12px currentColor;
}
.legend-item .legend-name { font-size: 13px; font-weight: 600; }
.legend-item .legend-meta { font-size: 11px; color: var(--text-2); }

.banner-success {
  display: flex; align-items: center; gap: 9px;
  margin-top: 18px;
  background: rgba(32, 199, 114, 0.12);
  border: 1px solid rgba(32, 199, 114, 0.30);
  border-radius: 14px;
  padding: 11px 15px;
  font-size: 12.5px; font-weight: 600;
  color: var(--mint);
  box-shadow: var(--glass-highlight);
}
.banner-success.warn {
  background: rgba(255, 184, 77, 0.10);
  border-color: rgba(255, 184, 77, 0.30);
  color: var(--warning);
}
.banner-success svg { width: 16px; height: 16px; flex-shrink: 0; }

/* ============ CALENDARIO ============ */
.cal-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.cal-head .cal-month { font-family: var(--font-display); font-size: 15px; font-weight: 600; }
.cal-nav { display: flex; gap: 7px; }
.cal-nav button {
  width: 30px; height: 30px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--glass); border: 1px solid var(--glass-border);
  color: var(--text-2); cursor: pointer;
  transition: background 150ms, transform 150ms var(--ease-out);
}
.cal-nav button:hover { background: var(--glass-2); color: var(--text-1); }
.cal-nav button:active { transform: scale(0.92); }
.cal-nav svg { width: 14px; height: 14px; }

.week-strip { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; margin-bottom: 18px; }
.day-pill {
  display: flex; flex-direction: column; align-items: center; gap: 5px;
  padding: 9px 2px 10px;
  border-radius: 14px;
  border: 1px solid transparent;
  cursor: default;
}
.day-pill .dow { font-size: 10px; color: var(--text-2); text-transform: capitalize; }
.day-pill .dom { font-size: 14px; font-weight: 700; font-family: var(--font-display); }
.day-pill.today {
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.10), rgba(255, 255, 255, 0.04));
  border-color: rgba(23, 212, 207, 0.45);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.3), var(--glass-highlight);
}
.day-pill.today .dow { color: var(--cyan); }
.day-pill.has-event .dom::after {
  content: ''; display: block; margin: 3px auto 0;
  width: 4px; height: 4px; border-radius: 50%;
  background: var(--warning);
}

.event-row {
  display: flex; align-items: center; gap: 13px;
  background: rgba(4, 16, 27, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 16px;
  padding: 11px 13px;
  margin-bottom: 10px;
  cursor: pointer;
  box-shadow: var(--glass-highlight);
  transition: transform 180ms var(--ease-out), background 150ms;
}
.event-row:hover { background: rgba(10, 30, 46, 0.7); transform: translateY(-1px); }
.event-thumb {
  width: 44px; height: 44px; border-radius: 12px; flex-shrink: 0;
  display: grid; place-items: center;
  color: rgba(255, 255, 255, 0.9);
}
.event-thumb svg { width: 20px; height: 20px; }
.event-row .event-title { font-size: 13.5px; font-weight: 700; font-family: var(--font-display); }
.event-row .event-meta { font-size: 11px; color: var(--text-2); margin-top: 2px; display: flex; gap: 10px; }

/* mini anillo de progreso (naranja, estilo referencia) */
.mini-ring { position: relative; width: 42px; height: 42px; flex-shrink: 0; }
.mini-ring .mini-val {
  position: absolute; inset: 0; display: grid; place-items: center;
  font-size: 9.5px; font-weight: 700;
}

/* ============ BADGES ============ */
.badge {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: 11px; font-weight: 600;
  padding: 3.5px 10px; border-radius: 999px;
  border: 1px solid transparent;
  white-space: nowrap;
  backdrop-filter: blur(8px);
}
.badge.info { background: rgba(23,212,207,0.13); color: var(--cyan); border-color: rgba(23,212,207,0.3); }
.badge.success { background: rgba(32,199,114,0.13); color: var(--mint); border-color: rgba(32,199,114,0.3); }
.badge.warning { background: rgba(255,184,77,0.13); color: var(--warning); border-color: rgba(255,184,77,0.3); }
.badge.danger { background: rgba(255,107,107,0.13); color: var(--danger); border-color: rgba(255,107,107,0.3); }
.badge.neutral { background: rgba(255,255,255,0.07); color: var(--text-2); border-color: var(--glass-border); }

/* ============ BOTONES ============ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: inherit; font-size: 13.5px; font-weight: 600;
  padding: 10px 18px;
  border-radius: 14px;
  border: 1px solid var(--glass-border);
  background: var(--glass);
  color: var(--text-1);
  cursor: pointer;
  backdrop-filter: blur(14px);
  box-shadow: var(--glass-highlight);
  transition: transform 160ms var(--ease-out), background 150ms, box-shadow 200ms;
}
.btn:hover { background: var(--glass-2); }
.btn:active { transform: scale(0.97); }
.btn:disabled { opacity: 0.5; cursor: not-allowed; }
.btn svg { width: 16px; height: 16px; }

.btn.primary {
  background: linear-gradient(135deg, var(--teal), var(--green));
  border: 1px solid rgba(255,255,255,0.25); color: #04222b;
  box-shadow: 0 10px 28px rgba(0, 175, 174, 0.35);
}
.btn.primary:hover { box-shadow: 0 14px 36px rgba(0, 175, 174, 0.5); }
.btn.danger { background: rgba(255,107,107,0.15); border-color: rgba(255,107,107,0.35); color: var(--danger); }
.btn.ghost { background: transparent; border-color: transparent; color: var(--text-2); box-shadow: none; }
.btn.ghost:hover { color: var(--text-1); background: var(--glass); }
.btn.sm { padding: 6px 13px; font-size: 12.5px; border-radius: 11px; }

/* ============ FORMULARIOS ============ */
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; }
.field label { font-size: 12px; font-weight: 600; color: var(--text-2); }
.field input, .field select, .field textarea {
  font-family: inherit; font-size: 13.5px;
  background: rgba(3, 13, 23, 0.6);
  border: 1px solid var(--glass-border);
  border-radius: 12px;
  color: var(--text-1);
  padding: 10px 13px;
  outline: none;
  transition: border-color 150ms, box-shadow 150ms;
}
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: rgba(23,212,207,0.55);
  box-shadow: 0 0 0 3px rgba(23, 212, 207, 0.12);
}
.field textarea { resize: vertical; min-height: 90px; }
.field select option { background: var(--bg-2); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-row-3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 14px; }

/* ============ TABLAS ============ */
.table-wrap { overflow-x: auto; }
table.data { width: 100%; border-collapse: collapse; font-size: 13px; }
table.data th {
  text-align: left; font-size: 11px; text-transform: uppercase; letter-spacing: 0.07em;
  color: var(--text-2); font-weight: 600;
  padding: 10px 14px;
  border-bottom: 1px solid var(--glass-border);
}
table.data td { padding: 13px 14px; border-bottom: 1px solid rgba(255,255,255,0.045); }
table.data tr { transition: background 130ms; }
table.data tbody tr:hover { background: rgba(255,255,255,0.04); }
table.data tbody tr.clickable { cursor: pointer; }

/* ============ MODAL ============ */
.modal-overlay {
  position: fixed; inset: 0; z-index: 100;
  background: rgba(2, 10, 18, 0.6);
  backdrop-filter: blur(10px);
  display: grid; place-items: center;
  padding: 24px;
}
.modal {
  width: 100%; max-width: 620px; max-height: 88vh; overflow-y: auto;
  background: linear-gradient(165deg, rgba(16, 52, 74, 0.85), rgba(7, 26, 42, 0.92));
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 26px;
  padding: 28px;
  backdrop-filter: blur(38px) saturate(150%);
  box-shadow: var(--shadow-float), var(--glass-highlight);
  animation: modal-in 220ms var(--ease-out);
}
@keyframes modal-in {
  from { opacity: 0; transform: scale(0.96) translateY(10px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}
.modal h3 { font-size: 18px; margin-bottom: 18px; }
.modal .modal-actions { display: flex; justify-content: flex-end; gap: 10px; margin-top: 20px; }

/* ============ PROGRESS ============ */
.progress-bar {
  height: 7px; border-radius: 999px;
  background: rgba(255,255,255,0.08);
  overflow: hidden;
}
.progress-bar > div {
  height: 100%; border-radius: 999px;
  background: linear-gradient(90deg, var(--teal), var(--green));
  box-shadow: 0 0 12px rgba(0, 175, 174, 0.5);
  transition: width 500ms var(--ease-out);
}

/* ============ TABS ============ */
.tabs {
  display: flex; gap: 4px; flex-wrap: wrap;
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  padding: 5px;
  margin-bottom: 20px;
  width: fit-content;
  backdrop-filter: blur(18px);
  box-shadow: var(--glass-highlight);
}
.tabs button {
  font-family: inherit; font-size: 13px; font-weight: 600;
  background: none; border: none; color: var(--text-2);
  padding: 8px 16px; border-radius: 11px; cursor: pointer;
  transition: background 150ms, color 150ms;
}
.tabs button:hover { color: var(--text-1); }
.tabs button.active {
  background: linear-gradient(135deg, rgba(0,175,174,0.35), rgba(32,199,114,0.25));
  color: var(--text-1);
  box-shadow: var(--glass-highlight);
}

/* ============ LOGIN ============ */
.login-page {
  min-height: 100vh;
  display: grid; place-items: center;
  padding: 24px;
}
.login-card {
  width: 100%; max-width: 410px;
  background: linear-gradient(160deg, rgba(255,255,255,0.09), rgba(255,255,255,0.035));
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 30px;
  padding: 44px 38px;
  backdrop-filter: blur(38px) saturate(150%);
  box-shadow: var(--shadow-float), var(--glass-highlight);
  text-align: center;
  animation: modal-in 320ms var(--ease-out);
}
.login-card img.logo {
  width: 80px; height: 80px; object-fit: contain; margin-bottom: 14px;
  filter: drop-shadow(0 8px 24px rgba(23, 212, 207, 0.4));
}
.login-card h1 { font-size: 24px; margin-bottom: 4px; }
.login-card .descriptor {
  color: var(--text-2); font-size: 12.5px; margin-bottom: 30px;
  letter-spacing: 0.02em;
}
.login-card .descriptor .accent { color: var(--mint); }
.login-card form { text-align: left; }

/* ============ MISC ============ */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.dashboard-grid { display: grid; grid-template-columns: 2fr 1fr; gap: 18px; align-items: start; }
.split-2 { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 18px; align-items: start; }
.col { display: flex; flex-direction: column; gap: 18px; min-width: 0; }
.row { display: flex; align-items: center; gap: 10px; }
.muted { color: var(--text-2); }
.small { font-size: 12px; }
.empty-state { text-align: center; padding: 48px 20px; color: var(--text-2); }
.empty-state svg { width: 38px; height: 38px; margin-bottom: 12px; opacity: 0.5; }

.list-item {
  display: flex; align-items: center; gap: 12px;
  padding: 11px 4px;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.list-item:last-child { border-bottom: none; }

.quick-action {
  display: flex; flex-direction: column; align-items: flex-start; gap: 10px;
  padding: 16px;
  border-radius: 16px;
  background: var(--glass);
  border: 1px solid var(--glass-border);
  cursor: pointer;
  color: var(--text-1);
  font-family: inherit; font-size: 13px; font-weight: 600;
  box-shadow: var(--glass-highlight);
  transition: transform 180ms var(--ease-out), background 150ms, border-color 150ms, box-shadow 200ms;
  text-align: left;
  backdrop-filter: blur(14px);
}
.quick-action:hover {
  background: var(--glass-2); border-color: rgba(23,212,207,0.35);
  transform: translateY(-2px);
  box-shadow: 0 14px 34px rgba(0,0,0,0.35), var(--glass-highlight);
}
.quick-action:active { transform: scale(0.97); }
.quick-action svg { width: 20px; height: 20px; color: var(--cyan); }

.ai-disclaimer {
  display: flex; align-items: flex-start; gap: 9px;
  font-size: 12px; color: var(--warning);
  background: rgba(255,184,77,0.08);
  border: 1px solid rgba(255,184,77,0.25);
  border-radius: 12px;
  padding: 10px 13px;
}
.ai-disclaimer svg { width: 15px; height: 15px; flex-shrink: 0; margin-top: 1px; }

.ai-output {
  background: rgba(3, 13, 23, 0.6);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  padding: 18px;
  font-size: 13.5px;
  line-height: 1.65;
  white-space: pre-wrap;
  max-height: 480px;
  overflow-y: auto;
}

.map-placeholder {
  position: relative;
  border-radius: var(--radius);
  border: 1px dashed rgba(23,212,207,0.3);
  background:
    linear-gradient(rgba(23,212,207,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(23,212,207,0.04) 1px, transparent 1px),
    radial-gradient(600px 300px at 60% 40%, rgba(32,199,114,0.07), transparent);
  background-size: 28px 28px, 28px 28px, 100% 100%;
  min-height: 300px;
  display: grid; place-items: center;
  color: var(--text-2);
  text-align: center;
}

.toast-stack { position: fixed; bottom: 22px; right: 22px; z-index: 200; display: flex; flex-direction: column; gap: 10px; }
.toast {
  background: linear-gradient(165deg, rgba(16,52,74,0.92), rgba(7,26,42,0.95));
  border: 1px solid rgba(255,255,255,0.12);
  border-left: 3px solid var(--cyan);
  border-radius: 15px;
  padding: 13px 18px;
  font-size: 13px;
  backdrop-filter: blur(24px);
  box-shadow: 0 14px 44px rgba(0,0,0,0.45);
  animation: toast-in 250ms var(--ease-out);
  max-width: 380px;
}
.toast.error { border-left-color: var(--danger); }
@keyframes toast-in {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

.page-enter { animation: page-in 300ms var(--ease-out); }
@keyframes page-in {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 1280px) {
  .hero-row { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 1100px) {
  .dashboard-grid, .split-2 { grid-template-columns: 1fr; }
  .grid-3 { grid-template-columns: 1fr; }
  .grid-2 { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
  .sidebar { display: none; }
  .main { margin-left: 0; }
  .form-row, .form-row-3 { grid-template-columns: 1fr; }
  .hero-row { grid-template-columns: 1fr; }
  .hero-feature { transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}


/* ===== SERVER DATA FDV exact LIA-theme adaptation ===== */
html, body, #app { min-height: 100%; }
body { overflow-x: hidden; }
svg { width: 1em; height: 1em; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
button { font: inherit; }
.sidebar { width: var(--sidebar-w); }
.sidebar-brand .brand-mark {
  width: 40px; height: 40px; display: grid; place-items: center; flex-shrink: 0;
  background: linear-gradient(135deg, #f7fffe 0%, #f7fffe 58%, rgba(23, 212, 207, .95) 58%);
  color: #04313b; border-radius: 0; font-family: var(--font-display); font-weight: 800;
  box-shadow: 0 4px 14px rgba(23, 212, 207, 0.35);
}
.nav { display: block; }
.nav-item { width: 100%; border: 1px solid transparent; background: transparent; text-align: left; margin: 0; text-decoration: none; }
.nav-item svg { width: 15.5px; height: 15.5px; }
.sidebar-spacer { flex: 1; }
.logout { margin-top: auto; }
.main { min-height: 100vh; }
.topbar { min-height: 40px; }
.project-select {
  width: 235px; display: flex; align-items: center; gap: 8px;
  background: var(--glass); border: 1px solid var(--glass-border); border-radius: 14px;
  padding: 6px 10px; backdrop-filter: blur(18px); box-shadow: var(--glass-highlight);
}
.project-select span { color: var(--text-2); font-size: 10px; text-transform: uppercase; letter-spacing: .08em; font-weight: 700; }
.project-select select { flex: 1; min-width: 0; background: transparent; border: 0; color: var(--text-1); outline: none; font-size: 12.5px; }
.project-select option { background: var(--bg-2); }
.page-enter { animation: page-in 260ms var(--ease-out); }
@keyframes page-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
.hero-title { margin-top: 2px; }
.hero-row { grid-template-columns: 1.05fr .95fr 1.05fr 1.05fr; }
.hero-card { min-height: 250px; }
.hero-card .cover-icon svg { width: 74px; height: 74px; }
.hero-feature svg { width: 18px; height: 18px; stroke-width: 2.2; }
.split-2 { display: grid; grid-template-columns: 1.1fr .9fr; gap: 18px; align-items: stretch; }
.row { display: flex; align-items: center; gap: 12px; }
.row.between { justify-content: space-between; margin-bottom: 18px; }
.progress-body { gap: 28px; align-items: center; }
.calendar-card { min-height: 396px; }
.event-thumb.tone-0 { background: linear-gradient(135deg, #029ba8, #087b89); }
.event-thumb.tone-1 { background: linear-gradient(135deg, #1e9d66, #0c704a); }
.event-thumb.tone-2 { background: linear-gradient(135deg, #038ea0, #005f73); }
.mini-ring { border-radius: 50%; display: grid; place-items: center; }
.mini-ring::after { content: ''; position: absolute; inset: 5px; border-radius: 50%; background: rgba(5,20,32,.92); }
.mini-ring .mini-val { z-index: 1; }
.lower-row { margin-top: 18px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.quick-action {
  display: flex; align-items: center; gap: 9px; min-height: 58px; padding: 14px;
  background: rgba(255,255,255,.055); color: var(--text-1); border: 1px solid var(--glass-border);
  border-radius: 16px; cursor: pointer; box-shadow: var(--glass-highlight);
  transition: transform 160ms var(--ease-out), background 150ms;
}
.quick-action:hover { background: rgba(255,255,255,.09); transform: translateY(-1px); }
.quick-action:active, .nav-item:active, .icon-btn:active { transform: scale(.97); }
.quick-action svg { width: 17px; height: 17px; color: var(--cyan); }
.server-map { background: transparent; border: 0; box-shadow: none; padding: 0; max-height: none; overflow: visible; }
.server-map .panel-head { margin-bottom: 10px; }
.server-map .search { display: none; }
.server-map details { margin: 6px 0; }
.server-map summary { color: var(--text-1); cursor: pointer; font-weight: 700; font-family: var(--font-display); }
.server-map button { display: block; width: 100%; margin: 5px 0; text-align: left; border: 1px solid var(--glass-border); background: rgba(4,16,27,.45); color: var(--text-2); border-radius: 12px; padding: 8px 10px; }
.panel, .main-panel, .row-card, .risk, .kpi { background: linear-gradient(160deg, rgba(9,29,44,.58), rgba(6,21,33,.46) 60%); border: 1px solid rgba(255,255,255,.055); border-radius: var(--radius); box-shadow: var(--shadow-card), var(--glass-highlight); backdrop-filter: blur(20px) saturate(125%); }
.panel { padding: 22px; margin-bottom: 18px; }
.kpi-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 14px; margin-bottom: 18px; }
.kpi { padding: 18px; }
.kpi span { color: var(--text-2); font-size: 12px; }
.kpi strong { display: block; font-family: var(--font-display); font-size: 28px; margin-top: 6px; }
.data-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.data-table th { text-align: left; font-size: 11px; text-transform: uppercase; letter-spacing: .07em; color: var(--text-2); font-weight: 600; padding: 10px 14px; border-bottom: 1px solid var(--glass-border); }
.data-table td { padding: 13px 14px; border-bottom: 1px solid rgba(255,255,255,.045); vertical-align: top; }
.data-table tbody tr:hover { background: rgba(255,255,255,.04); }
.link { background: transparent; border: 0; color: var(--cyan); font-weight: 700; padding: 0; }
.summary-grid, .file-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 14px; }
.summary-grid article, .file-grid article { padding: 15px; border-radius: 16px; border: 1px solid var(--glass-border); background: rgba(4,16,27,.45); }
.summary-grid span, .file-grid span { display: block; color: var(--text-2); font-size: 11px; margin-bottom: 6px; }
.docs-layout, .db-layout { display: grid; grid-template-columns: 270px minmax(0, 1fr); gap: 18px; }
.doc-list, .table-list { display: grid; gap: 8px; align-content: start; max-height: 520px; overflow: auto; }
.doc-list button, .table-list button { text-align: left; color: var(--text-1); background: rgba(4,16,27,.55); border: 1px solid var(--glass-border); border-radius: 14px; padding: 10px 12px; }
.doc-preview { min-height: 420px; max-height: 620px; overflow: auto; white-space: pre-wrap; background: rgba(4,16,27,.58); border: 1px solid var(--glass-border); border-radius: 18px; padding: 18px; }
.sql-console { display: grid; gap: 12px; margin-bottom: 18px; }
.sql-console textarea { min-height: 170px; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; background: rgba(4,16,27,.58); border: 1px solid var(--glass-border); border-radius: 16px; color: var(--text-1); padding: 14px; }
.erd { position: relative; height: 420px; border: 1px solid var(--glass-border); border-radius: 22px; overflow: hidden; margin-bottom: 18px; background: rgba(4,16,27,.35); }
.erd svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.erd line { stroke: rgba(23,212,207,.45); stroke-width: 2; }
.erd article { position: absolute; transform: translate(-50%, -50%); min-width: 176px; padding: 13px; background: rgba(5,20,32,.92); border: 1px solid rgba(23,212,207,.35); border-radius: 16px; text-align: center; }
.login-shell { min-height: 100vh; display: grid; place-items: center; padding: 24px; }
.login-panel { width: 100%; max-width: 410px; background: linear-gradient(160deg, rgba(255,255,255,.09), rgba(255,255,255,.035)); border: 1px solid rgba(255,255,255,.13); border-radius: 30px; padding: 44px 38px; backdrop-filter: blur(38px) saturate(150%); box-shadow: var(--shadow-float), var(--glass-highlight); }
.login-panel h1 { font-size: 28px; margin-bottom: 8px; }
.form-grid { display: grid; gap: 14px; margin-top: 24px; }
.form-grid label { display: grid; gap: 6px; color: var(--text-2); font-size: 12px; font-weight: 600; }
.form-grid input { background: rgba(3,13,23,.6); border: 1px solid var(--glass-border); border-radius: 12px; color: var(--text-1); padding: 11px 13px; outline: none; }
.primary { background: linear-gradient(135deg, var(--teal), var(--green)); border: 1px solid rgba(255,255,255,.25); color: #04222b; box-shadow: 0 10px 28px rgba(0,175,174,.35); border-radius: 14px; padding: 11px 18px; font-weight: 800; }
.alert, .empty { padding: 13px 15px; border-radius: 14px; border: 1px solid var(--glass-border); background: rgba(4,16,27,.5); color: var(--text-2); }
.alert.error { border-color: rgba(255,107,107,.35); color: var(--danger); }
.risk { padding: 15px; margin-bottom: 10px; display: grid; gap: 4px; }
.dependency-map article { display: grid; grid-template-columns: 1fr 70px 1fr; align-items: center; gap: 12px; padding: 10px 0; }
.dependency-map span { height: 1px; background: rgba(23,212,207,.35); }
@media (max-width: 1180px) { .hero-row { grid-template-columns: 1fr 1fr; } .split-2 { grid-template-columns: 1fr; } .kpi-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 860px) { .sidebar { position: static; width: 100%; } .app-shell { display: block; } .main { margin-left: 0; padding: 18px; } .hero-row, .grid-3, .summary-grid, .docs-layout, .db-layout, .file-grid, .kpi-grid { grid-template-columns: 1fr; } .hero-feature { transform: none; } .project-select { width: 100%; } }

/* ===== Modelo de Datos — FDV Holding style ===== */
.dm-shell {
  margin: -28px -32px -56px;
  min-height: calc(100vh - 0px);
  background:
    linear-gradient(rgba(23,212,207,.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(23,212,207,.045) 1px, transparent 1px),
    rgba(1, 19, 23, .36);
  background-size: 42px 42px;
  border-top: 1px solid rgba(255,255,255,.08);
}
.dm-titlebar {
  height: 54px; display: flex; align-items: center; justify-content: space-between;
  padding: 0 14px; background: rgba(9, 48, 56, .72); border-bottom: 1px solid rgba(255,255,255,.11);
}
.dm-title { font: 700 21px var(--font-display); display: flex; align-items: center; gap: 10px; }
.dm-title span { width: 10px; height: 10px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 18px var(--cyan); }
.dm-company, .dm-project { display: flex; align-items: center; gap: 10px; }
.dm-company span, .dm-project span { color: #8fd3df; text-transform: uppercase; letter-spacing: .12em; font-size: 11px; font-weight: 800; }
.dm-company select, .dm-project select {
  min-width: 205px; background: rgba(1,15,19,.82); border: 1px solid rgba(125,219,232,.18);
  color: #fff; border-radius: 8px; padding: 11px 14px; font-weight: 700;
}
.dm-toolbar {
  height: 94px; display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 22px 18px 14px; border-bottom: 1px solid rgba(255,255,255,.08);
}
.dm-tabs { display: inline-flex; gap: 0; padding: 4px; border: 1px solid rgba(23,212,207,.18); border-radius: 8px; background: rgba(2,31,37,.68); }
.dm-tabs button { border: 0; background: transparent; color: #88d7e8; min-width: 84px; padding: 10px 18px; border-radius: 6px; font-weight: 800; }
.dm-tabs button.active { background: rgba(0,175,174,.35); color: #12fff2; box-shadow: inset 0 1px rgba(255,255,255,.08); }
.dm-content { display: grid; grid-template-columns: minmax(0, 1fr) 300px; min-height: calc(100vh - 148px); }
.dm-main { padding: 16px 14px; min-width: 0; background: rgba(8, 56, 62, .55); border-right: 1px solid rgba(23,212,207,.17); }
.dm-data-panel { background: rgba(0, 18, 21, .88); padding: 16px 12px; overflow: auto; max-height: calc(100vh - 148px); }
.dm-data-panel h3 { font: 800 14px var(--font-display); margin: 0 0 16px; }
.dm-search { width: 100%; background: rgba(1,15,19,.88); border: 1px solid rgba(125,219,232,.18); border-radius: 8px; color: var(--text-1); padding: 12px; margin-bottom: 18px; }
.dm-tree details { margin: 0 0 7px; }
.dm-tree summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 8px; color: #00f3e6; font-weight: 900; font-size: 11px; text-transform: uppercase; }
.dm-tree summary::-webkit-details-marker { display: none; }
.dm-tree summary b { margin-left: auto; min-width: 22px; height: 22px; display: grid; place-items: center; border-radius: 999px; color: #a7d5dc; background: rgba(255,255,255,.06); }
.dm-group-label { color: #a7d5dc; font-size: 11px; font-weight: 800; margin: 12px 0 8px 18px; }
.dm-table-node { margin-left: 18px; }
.dm-table-node > summary { color: #59d9df; text-transform: none; font-size: 12px; padding: 8px; border-radius: 0; }
.dm-table-node.active > summary { background: rgba(0,175,174,.15); color: #04fff3; }
.dm-table-icon { opacity: .7; }
.dm-table-node i { margin-left: auto; color: #9ec7d0; font-style: normal; }
.dm-columns { display: grid; gap: 3px; padding: 2px 0 8px 22px; }
.dm-column { display: grid; grid-template-columns: 20px 1fr auto; align-items: center; gap: 6px; border: 0; background: transparent; color: #94c3cc; padding: 3px 2px; text-align: left; font-size: 11px; }
.dm-column.pk span, .dm-column.fk em { color: var(--warning); }
.dm-column small { color: #0fc8c7; }
.dm-table-view { min-height: 72vh; background: rgba(15, 67, 73, .72); overflow: hidden; }
.dm-table-head { height: 74px; display: flex; justify-content: space-between; align-items: center; padding: 16px 18px; background: rgba(17, 64, 70, .82); border-bottom: 1px solid rgba(255,255,255,.08); }
.dm-table-head h2 { display: inline; margin-left: 12px; font-size: 18px; }
.dm-table-head p { margin: 5px 0 0 42px; color: #8ad2da; font-size: 12px; }
.dm-table-glyph { color: #00b9b4; font-size: 22px; vertical-align: middle; }
.dm-pager { display: flex; align-items: center; gap: 8px; color: #8ad2da; font-size: 12px; }
.dm-pager button { background: rgba(255,255,255,.04); border: 0; border-radius: 8px; color: #7a98a2; padding: 10px 16px; font-weight: 800; }
.dm-records { overflow: auto; max-height: calc(100vh - 242px); }
.dm-record-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.dm-record-table th { color: #9bb9c2; text-align: left; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; padding: 13px 18px; background: rgba(4,26,31,.42); }
.dm-record-table td { padding: 13px 18px; color: #c8fbff; border-top: 1px solid rgba(255,255,255,.055); white-space: nowrap; }
.dm-record-table tr:nth-child(even) td { background: rgba(255,255,255,.015); }
.dm-col-badge { display: inline-grid; place-items: center; min-width: 21px; height: 16px; border-radius: 3px; margin-right: 8px; font-size: 9px; }
.dm-col-badge.pk { background: rgba(23,128,205,.35); color: #9ed8ff; }
.dm-col-badge.fk { background: rgba(255,184,77,.22); color: var(--warning); }
.dm-empty { padding: 18px; color: var(--danger); border: 1px solid rgba(255,107,107,.35); background: rgba(4,16,27,.6); }
.dm-empty.inner { color: #8ad2da; border-color: rgba(125,219,232,.16); }
.dm-filterbar { min-height: 98px; display: flex; align-items: flex-start; gap: 28px; padding: 14px 18px; background: rgba(17,64,70,.82); color: #8ad2da; }
.dm-filterbar label { display: flex; align-items: center; gap: 8px; color: #8ad2da; font-size: 10px; text-transform: uppercase; font-weight: 900; }
.dm-filterbar select { min-width: 190px; background: rgba(1,15,19,.88); border: 1px solid rgba(125,219,232,.18); border-radius: 8px; color: #fff; padding: 11px; }
.dm-filterbar button { align-self: center; background: rgba(255,255,255,.05); border: 0; border-radius: 8px; color: #b7e5ed; padding: 10px 18px; font-weight: 800; }
.dm-erd { position: relative; min-height: 650px; overflow: auto; background: rgba(0,13,16,.72); }
.dm-erd svg { position: absolute; inset: 0; width: 1200px; height: 720px; }
.dm-erd path { fill: none; stroke: rgba(37,116,202,.52); stroke-width: 1.6; }
.dm-erd-card { position: absolute; width: 205px; background: rgba(9,61,66,.92); border: 1px solid rgba(23,212,207,.25); border-radius: 8px; overflow: hidden; box-shadow: 0 14px 34px rgba(0,0,0,.28); }
.dm-erd-card h4 { padding: 10px 13px; margin: 0; color: #dffcff; font-size: 12px; background: rgba(0,0,0,.12); }
.dm-erd-card div { display: flex; justify-content: space-between; gap: 8px; padding: 5px 12px; color: #8cd7df; font-size: 11px; }
.dm-erd-card small { color: #19c9c6; }
.dm-sql-view { min-height: 72vh; padding: 18px; background: rgba(15,67,73,.72); }
.dm-project.inline { margin-bottom: 14px; justify-content: flex-start; }
.dm-sql-console { background: rgba(3,50,57,.7); border: 1px solid rgba(23,212,207,.1); border-radius: 8px; padding: 18px; }
.dm-sql-console textarea { width: 100%; min-height: 128px; resize: vertical; background: rgba(0,12,15,.9); border: 0; border-radius: 7px; color: #a9faff; padding: 16px; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }
.dm-run { margin-top: 14px; min-width: 200px; background: linear-gradient(135deg, #16d6c4, #22c982); border: 0; border-radius: 8px; color: #001d20; padding: 14px 26px; font-weight: 900; }
.dm-run small { color: rgba(255,255,255,.35); margin-left: 14px; font-family: ui-monospace, monospace; }
@media (max-width: 1100px) { .dm-content { grid-template-columns: 1fr; } .dm-data-panel { max-height: none; } .dm-toolbar { height: auto; flex-direction: column; align-items: stretch; } .dm-shell { margin: 0; } }
