/* ============================================================
   EcuaChemLab — Estilos del Sistema
   Paleta basada en el sitio oficial ecuachemlab.com.ec
   Colores principales extraídos de la web real:
     Azul principal:  #1f9fde
     Azul oscuro:     #1a6fa0
     Teal:            #2c8fb6
     Fondo claro:     #f0f7fd
     Texto oscuro:    #273234
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=DM+Serif+Display:ital@0;1&family=DM+Sans:opsz,wght@9..40,300;9..40,400;9..40,500;9..40,600&display=swap');

:root {
  /* ── Paleta ECL oficial ── */
  --ecl-blue:       #1f9fde;     /* azul principal del sitio */
  --ecl-blue-dark:  #1a6fa0;     /* azul oscuro para hover/activos */
  --ecl-blue-deep:  #0d4f72;     /* azul muy oscuro para textos importantes */
  --ecl-teal:       #2c8fb6;     /* teal secundario */
  --ecl-teal-light: #53b5e2;     /* teal claro */
  --ecl-dark:       #273234;     /* casi negro, para barras oscuras */

  /* ── UI ── */
  --white:     #ffffff;
  --bg:        #f0f7fd;          /* fondo azul muy claro (como el sitio) */
  --bg-card:   #ffffff;
  --gray-1:    #eef4f9;
  --gray-2:    #ccdde8;
  --gray-3:    #8aafc4;
  --gray-4:    #4a6a80;
  --text:      #1e3040;
  --text-soft: #5b88a7;

  --success:   #16a34a;
  --error:     #dc2626;
  --gold:      #f5a623;
  --gold-light:#ffd166;

  --shadow-soft: 0 2px 16px rgba(31,159,222,0.10);
  --shadow-med:  0 6px 32px rgba(31,159,222,0.16);
  --shadow-hard: 0 16px 60px rgba(13,79,114,0.22);
  --radius:    12px;
  --radius-sm:  8px;
}

*, *::before, *::after { margin:0; padding:0; box-sizing:border-box; }
html { scroll-behavior:smooth; }
body {
  font-family:'DM Sans', sans-serif;
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
}

/* ── HEADER ─────────────────────────────────────────────── */
.site-header {
  background: var(--white);
  border-bottom: 3px solid var(--ecl-blue);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 12px rgba(31,159,222,0.12);
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 10px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.logo-block {
  display: flex;
  align-items: center;
  gap: 0;
  text-decoration: none;
  flex-shrink: 0;
}

/* Logo sobre fondo BLANCO — sin wrapper oscuro, se ve bien */
.site-logo {
  height: 52px;
  width: auto;
  display: block;
  transition: opacity 0.2s;
}

.logo-block:hover .site-logo { opacity: 0.85; }

.logo-ruc {
  font-size: 0.68rem;
  color: var(--gray-3);
  letter-spacing: 0.05em;
  font-weight: 400;
  font-family: 'DM Sans', sans-serif;
  white-space: nowrap;
  margin-left: 10px;
  padding-left: 10px;
  border-left: 1px solid var(--gray-2);
}

/* NAV buttons en header blanco */
.header-nav { display:flex; gap:6px; flex-wrap:wrap; align-items:center; }

.nav-btn {
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  font-family: 'DM Sans', sans-serif;
  font-size: .85rem;
  font-weight: 500;
  cursor: pointer;
  border: none;
  transition: all .2s;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}

.nav-btn.ghost {
  background: transparent;
  color: var(--ecl-blue-dark);
  border: 1.5px solid var(--gray-2);
}

.nav-btn.ghost:hover, .nav-btn.ghost.active {
  background: var(--gray-1);
  border-color: var(--ecl-blue);
  color: var(--ecl-blue);
}

.nav-btn.primary {
  background: var(--ecl-blue);
  color: var(--white);
  border: 1.5px solid var(--ecl-blue);
}

.nav-btn.primary:hover {
  background: var(--ecl-blue-dark);
  border-color: var(--ecl-blue-dark);
  transform: translateY(-1px);
  box-shadow: 0 3px 10px rgba(31,159,222,0.30);
}

/* Admin header con fondo azul oscuro */
.admin-body .site-header {
  background: var(--ecl-dark);
  border-bottom: 3px solid var(--ecl-blue);
}

.admin-body .site-logo { height: 44px; }

.admin-body .logo-ruc {
  color: rgba(255,255,255,0.4);
  border-left-color: rgba(255,255,255,0.15);
}

.admin-body .nav-btn.ghost {
  color: rgba(255,255,255,0.80);
  border-color: rgba(255,255,255,0.2);
}

.admin-body .nav-btn.ghost:hover {
  background: rgba(255,255,255,0.10);
  border-color: var(--ecl-blue);
  color: white;
}

/* ── LOGO LOGIN PAGES ────────────────────────────────────── */
/* En cards blancos, el logo con fondo negro necesita wrapper */
.logo-login-wrap {
  background: var(--ecl-dark);
  border-radius: 10px;
  padding: 12px 22px 8px;
  display: inline-block;
  margin-bottom: 14px;
  box-shadow: 0 4px 16px rgba(0,0,0,.2);
}

.logo-login-wrap img {
  height: 56px;
  width: auto;
  display: block;
}

/* ── HERO ────────────────────────────────────────────────── */
.hero {
  background: linear-gradient(135deg, var(--ecl-blue-deep) 0%, var(--ecl-blue) 60%, var(--ecl-teal) 100%);
  padding: 56px 32px 72px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 700px 400px at 80% 50%, rgba(255,255,255,0.07) 0%, transparent 70%);
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0; right: 0;
  height: 40px;
  background: var(--bg);
  clip-path: ellipse(55% 100% at 50% 100%);
}

.hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.30);
  color: white;
  font-size: .75rem;
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 100px;
  margin-bottom: 18px;
}

.hero h2 {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  color: var(--white);
  line-height: 1.2;
  margin-bottom: 12px;
}

.hero h2 em { font-style: italic; color: rgba(255,255,255,0.85); }

.hero p {
  color: rgba(255,255,255,0.75);
  font-size: 1rem;
  font-weight: 300;
  max-width: 480px;
  line-height: 1.65;
  margin-bottom: 28px;
}

.hero-stats { display: flex; gap: 32px; flex-wrap: wrap; }

.stat { display: flex; flex-direction: column; gap: 2px; }
.stat-num {
  font-family: 'DM Serif Display', serif;
  font-size: 1.8rem;
  color: var(--white);
  line-height: 1;
}
.stat-label {
  font-size: .73rem;
  color: rgba(255,255,255,0.55);
  text-transform: uppercase;
  letter-spacing: .06em;
}

/* ── MAIN ────────────────────────────────────────────────── */
.main-container { max-width:1200px; margin:0 auto; padding:36px 32px 72px; }

/* ── ALERTS ──────────────────────────────────────────────── */
.alert { padding:12px 16px; border-radius:var(--radius-sm); margin-bottom:20px; font-size:.87rem; }
.alert-success { background:#f0fdf4; border:1px solid #86efac; color:#166534; }
.alert-error   { background:#fef2f2; border:1px solid #fca5a5; color:#dc2626; }
.alert-info    { background:#eff6ff; border:1px solid #93c5fd; color:#1d4ed8; }

/* ── SEARCH ──────────────────────────────────────────────── */
.search-block {
  background: var(--white);
  border-radius: var(--radius);
  padding: 24px 28px;
  margin-bottom: 20px;
  box-shadow: var(--shadow-soft);
  border: 1px solid var(--gray-2);
}

.search-title {
  font-family: 'DM Serif Display', serif;
  font-size: 1.05rem;
  color: var(--ecl-blue-deep);
  margin-bottom: 12px;
}

.search-form { width:100%; }
.search-row  { display:flex; gap:10px; flex-wrap:wrap; }

.search-input-wrap { flex:1; min-width:220px; position:relative; }
.search-input-wrap .icon {
  position:absolute; left:12px; top:50%;
  transform:translateY(-50%); color:var(--gray-3); pointer-events:none;
}

input[type="text"], input[type="search"] {
  width:100%; padding:10px 12px 10px 38px;
  border:1.5px solid var(--gray-2); border-radius:var(--radius-sm);
  font-family:'DM Sans',sans-serif; font-size:.9rem; color:var(--text);
  background:var(--gray-1); transition:all .2s; outline:none;
}

input:focus {
  border-color:var(--ecl-blue);
  background:var(--white);
  box-shadow:0 0 0 3px rgba(31,159,222,0.12);
}

/* ── BUTTONS ─────────────────────────────────────────────── */
.btn {
  padding:10px 18px; border-radius:var(--radius-sm);
  font-family:'DM Sans',sans-serif; font-size:.87rem; font-weight:500;
  cursor:pointer; border:none; transition:all .2s;
  display:inline-flex; align-items:center; gap:6px;
  text-decoration:none; white-space:nowrap;
}

.btn-primary {
  background:var(--ecl-blue-deep); color:var(--white);
}
.btn-primary:hover {
  background:var(--ecl-blue); transform:translateY(-1px);
  box-shadow:0 4px 14px rgba(31,159,222,0.25);
}

.btn-teal { background:var(--ecl-blue); color:var(--white); }
.btn-teal:hover {
  background:var(--ecl-blue-dark); transform:translateY(-1px);
  box-shadow:0 4px 14px rgba(31,159,222,0.25);
}

.btn-gold { background:var(--gold); color:var(--ecl-dark); }
.btn-gold:hover { background:var(--gold-light); transform:translateY(-1px); }

.btn-outline {
  background:transparent; color:var(--ecl-blue-deep);
  border:1.5px solid var(--gray-2);
}
.btn-outline:hover {
  border-color:var(--ecl-blue); background:var(--gray-1); color:var(--ecl-blue);
}

.btn-danger {
  background:transparent; color:var(--error);
  border:1.5px solid #fca5a5;
}
.btn-danger:hover { background:var(--error); color:var(--white); border-color:var(--error); }

.btn-sm { padding:6px 12px; font-size:.79rem; border-radius:6px; }

/* ── FILTER TABS ─────────────────────────────────────────── */
.filter-tabs  { display:flex; gap:8px; margin-bottom:18px; flex-wrap:wrap; }
.filter-tab {
  padding:6px 14px; border-radius:100px; font-size:.8rem; font-weight:500;
  cursor:pointer; border:1.5px solid var(--gray-2); background:var(--white);
  color:var(--gray-4); transition:all .18s; text-decoration:none;
}
.filter-tab:hover { border-color:var(--ecl-blue); color:var(--ecl-blue); }
.filter-tab.active {
  background:var(--ecl-blue); border-color:var(--ecl-blue); color:var(--white);
}

/* ── RESULTS HEADER ──────────────────────────────────────── */
.results-header {
  display:flex; align-items:center; justify-content:space-between; margin-bottom:14px;
}
.results-count { font-size:.83rem; color:var(--gray-4); font-weight:500; }

/* ── REPORTS GRID ────────────────────────────────────────── */
.reports-grid { display:grid; grid-template-columns:repeat(auto-fill,minmax(280px,1fr)); gap:18px; }

/* ── REPORT CARD ─────────────────────────────────────────── */
.report-card {
  background:var(--white); border-radius:var(--radius);
  overflow:hidden; box-shadow:var(--shadow-soft);
  border:1px solid var(--gray-2);
  transition:all .25s; animation:fadeInUp .3s ease both;
}
.report-card:hover { transform:translateY(-3px); box-shadow:var(--shadow-med); border-color:var(--ecl-blue); }

.card-header {
  background:linear-gradient(135deg, var(--ecl-blue-deep) 0%, var(--ecl-blue) 100%);
  padding:16px 18px; display:flex; align-items:flex-start;
  justify-content:space-between; gap:12px;
}
.card-code {
  display:inline-flex; align-items:center;
  background:rgba(255,255,255,0.18); color:var(--white);
  font-size:.71rem; font-weight:600; letter-spacing:.06em;
  padding:4px 10px; border-radius:100px;
}
.card-qr {
  width:52px; height:52px; border-radius:6px; overflow:hidden;
  background:white; padding:3px; flex-shrink:0;
  cursor:pointer; transition:transform .2s;
}
.card-qr:hover { transform:scale(1.08); }
.card-qr img { width:100%; height:100%; object-fit:contain; display:block; }
.card-qr-placeholder {
  width:52px; height:52px; background:rgba(255,255,255,0.12);
  border-radius:6px; display:flex; align-items:center; justify-content:center;
  font-size:1.6rem; opacity:.5;
}
.card-body { padding:16px 18px; }
.card-cliente { font-weight:600; font-size:.92rem; color:var(--ecl-blue-deep); margin-bottom:4px; }
.card-filename {
  font-size:.76rem; color:var(--gray-3); font-family:monospace;
  background:var(--gray-1); padding:2px 7px; border-radius:4px;
  display:inline-block; margin-bottom:10px; word-break:break-all;
}
.card-meta { display:flex; flex-wrap:wrap; gap:5px; margin-bottom:12px; }
.meta-chip {
  display:inline-flex; align-items:center; gap:3px;
  font-size:.73rem; color:var(--gray-4); background:var(--gray-1);
  padding:2px 8px; border-radius:100px;
}
.card-actions { display:flex; gap:7px; flex-wrap:wrap; }

/* ── EMPTY STATE ─────────────────────────────────────────── */
.empty-state { text-align:center; padding:72px 40px; color:var(--gray-3); }
.empty-state .icon { font-size:3rem; margin-bottom:14px; opacity:.35; display:block; }
.empty-state h3 { font-family:'DM Serif Display',serif; font-size:1.2rem; color:var(--gray-4); margin-bottom:6px; }

/* ── PAGINATION ──────────────────────────────────────────── */
.paginacion { display:flex; gap:6px; flex-wrap:wrap; align-items:center; }
.page-btn {
  padding:6px 12px; border-radius:6px; border:1.5px solid var(--gray-2);
  background:var(--white); color:var(--ecl-blue-deep); font-size:.82rem;
  text-decoration:none; transition:all .15s;
}
.page-btn:hover { border-color:var(--ecl-blue); color:var(--ecl-blue); }
.page-btn.active { background:var(--ecl-blue); border-color:var(--ecl-blue); color:var(--white); }

/* ── ADMIN STATS ─────────────────────────────────────────── */
.stats-grid { display:grid; grid-template-columns:repeat(auto-fill,minmax(175px,1fr)); gap:14px; margin-bottom:28px; }
.stat-card {
  background:var(--white); border-radius:var(--radius); padding:18px 20px;
  box-shadow:var(--shadow-soft); border:1px solid var(--gray-2);
  display:flex; flex-direction:column; gap:5px;
  border-top:3px solid var(--ecl-blue);
}
.stat-icon { font-size:1.4rem; }
.stat-val { font-family:'DM Serif Display',serif; font-size:1.9rem; color:var(--ecl-blue-deep); line-height:1; }
.stat-lbl { font-size:.76rem; color:var(--gray-3); text-transform:uppercase; letter-spacing:.05em; }

/* ── UPLOAD PANEL ────────────────────────────────────────── */
.upload-panel {
  background:var(--white); border-radius:var(--radius); padding:28px 32px;
  box-shadow:var(--shadow-soft); margin-bottom:24px;
  border:1px solid var(--gray-2);
}
.panel-title {
  font-family:'DM Serif Display',serif; font-size:1.15rem;
  color:var(--ecl-blue-deep); margin-bottom:5px;
}
.panel-subtitle { font-size:.83rem; color:var(--gray-3); margin-bottom:20px; }
.panel-subtitle code { background:var(--gray-1); padding:1px 6px; border-radius:4px; font-family:monospace; color:var(--ecl-blue-deep); }

.upload-zone {
  border:2px dashed var(--gray-2); border-radius:var(--radius);
  padding:44px 24px; text-align:center; cursor:pointer;
  transition:all .2s; background:var(--gray-1); position:relative; overflow:hidden;
}
.upload-zone:hover { border-color:var(--ecl-blue); background:rgba(31,159,222,0.04); }
.upload-zone form {
  position:absolute; inset:0; display:flex;
  align-items:center; justify-content:center; flex-direction:column; gap:8px;
}
.upload-zone input[type="file"] {
  position:absolute; inset:0; opacity:0; cursor:pointer; width:100%; height:100%; z-index:2;
}
.upload-icon { font-size:2.2rem; display:block; opacity:.4; pointer-events:none; }
.upload-zone h3 { font-size:.95rem; font-weight:600; color:var(--ecl-blue-deep); pointer-events:none; }
.upload-zone p  { font-size:.81rem; color:var(--gray-3); pointer-events:none; }

/* ── PROGRESS ────────────────────────────────────────────── */
.progress-item {
  background:var(--gray-1); border-radius:8px; padding:12px 16px;
  margin-bottom:8px; border-left:3px solid var(--ecl-blue);
}
.progress-item.done  { border-left-color:var(--success); }
.progress-item.error { border-left-color:var(--error); }
.progress-header { display:flex; align-items:center; justify-content:space-between; margin-bottom:7px; }
.progress-name   { font-size:.83rem; font-weight:500; color:var(--ecl-blue-deep); }
.progress-status { font-size:.77rem; font-weight:600; }
.progress-status.processing { color:var(--ecl-blue); }
.progress-status.done       { color:var(--success); }
.progress-status.error      { color:var(--error); }
.progress-bar-wrap { height:4px; background:var(--gray-2); border-radius:2px; overflow:hidden; }
.progress-bar {
  height:100%; background:var(--ecl-blue); border-radius:2px;
  transition:width .4s ease; width:0%;
}
.progress-bar.done  { background:var(--success); }
.progress-bar.error { background:var(--error); }
.progress-extracted { margin-top:7px; font-size:.77rem; color:var(--gray-4); display:flex; gap:12px; flex-wrap:wrap; }

/* ── ADMIN TABLE ─────────────────────────────────────────── */
.admin-table-wrap {
  background:var(--white); border-radius:var(--radius);
  box-shadow:var(--shadow-soft); overflow:hidden;
  border:1px solid var(--gray-2);
}
.table-header {
  padding:16px 22px; border-bottom:1px solid var(--gray-1);
  display:flex; align-items:center; justify-content:space-between;
  gap:12px; flex-wrap:wrap;
}
.search-inline { display:flex; gap:8px; align-items:center; }
.table-responsive { overflow-x:auto; }

table { width:100%; border-collapse:collapse; }
thead th {
  padding:10px 16px; text-align:left; font-size:.72rem; font-weight:700;
  color:var(--gray-3); text-transform:uppercase; letter-spacing:.07em;
  background:var(--gray-1); border-bottom:1px solid var(--gray-2); white-space:nowrap;
}
tbody tr { transition:background .15s; }
tbody tr:hover { background:rgba(31,159,222,0.04); }
tbody td {
  padding:11px 16px; font-size:.85rem;
  border-bottom:1px solid var(--gray-1); vertical-align:middle;
}
tbody tr:last-child td { border-bottom:none; }
.td-id      { color:var(--gray-3); font-size:.77rem; }
.td-code    { font-family:monospace; font-weight:700; color:var(--ecl-blue); font-size:.81rem; }
.td-cliente { font-weight:500; color:var(--ecl-blue-deep); }
.td-file    { font-family:monospace; font-size:.77rem; color:var(--gray-3); max-width:200px; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.text-center { text-align:center; }

/* ── MODAL ───────────────────────────────────────────────── */
.modal-overlay {
  position:fixed; inset:0; background:rgba(13,79,114,0.65);
  backdrop-filter:blur(4px); display:flex; align-items:center;
  justify-content:center; z-index:1000; padding:20px;
  opacity:0; pointer-events:none; transition:opacity .25s;
}
.modal-overlay.open { opacity:1; pointer-events:all; }
.modal {
  background:var(--white); border-radius:16px; width:100%; max-width:460px;
  padding:32px; box-shadow:0 24px 80px rgba(0,0,0,.25);
  transform:scale(.94) translateY(14px); transition:transform .25s;
}
.modal-overlay.open .modal { transform:scale(1) translateY(0); }
.modal-header { display:flex; align-items:flex-start; justify-content:space-between; margin-bottom:20px; }
.modal-title  { font-family:'DM Serif Display',serif; font-size:1.2rem; color:var(--ecl-blue-deep); }
.modal-close  {
  background:var(--gray-1); border:none; width:30px; height:30px;
  border-radius:50%; cursor:pointer; font-size:.9rem; color:var(--gray-4);
  display:flex; align-items:center; justify-content:center; transition:background .15s;
}
.modal-close:hover { background:var(--gray-2); }
.modal-qr-block  { display:flex; flex-direction:column; align-items:center; gap:18px; margin-bottom:20px; }
.modal-qr-frame  {
  background:var(--white); border:3px solid var(--ecl-blue-deep);
  border-radius:12px; padding:14px; width:200px; height:200px;
  display:flex; align-items:center; justify-content:center;
}
.modal-qr-frame img { width:100%; height:100%; object-fit:contain; }
.modal-info {
  width:100%; background:var(--gray-1); border-radius:var(--radius-sm);
  padding:13px; font-size:.81rem; line-height:1.9; color:var(--gray-4);
}
.modal-info .info-row { display:flex; gap:8px; }
.modal-info .info-label { min-width:80px; color:var(--gray-3); }
.modal-info strong { color:var(--ecl-blue-deep); font-weight:600; }
.modal-actions { display:flex; gap:10px; flex-wrap:wrap; }

/* ── SECTION HEADING ─────────────────────────────────────── */
.section-heading { display:flex; align-items:center; gap:10px; margin-bottom:22px; }
.section-heading h2 { font-family:'DM Serif Display',serif; font-size:1.45rem; color:var(--ecl-blue-deep); }
.section-heading p  { font-size:.83rem; color:var(--gray-3); margin-top:2px; }

/* ── BADGE ───────────────────────────────────────────────── */
.badge { display:inline-flex; align-items:center; padding:2px 8px; border-radius:100px; font-size:.71rem; font-weight:600; letter-spacing:.03em; }
.badge-teal     { background:rgba(31,159,222,0.12); color:var(--ecl-blue); }
.badge-navy     { background:rgba(13,79,114,0.10);  color:var(--ecl-blue-deep); }
.badge-gold     { background:rgba(245,166,35,0.15); color:#b07800; }
.badge-activo   { background:rgba(22,163,74,0.12);  color:#166534; }
.badge-inactivo { background:rgba(220,38,38,0.10);  color:#dc2626; }
.badge-bloq     { background:rgba(234,179,8,0.12);  color:#b45309; }

/* ── ANIMATIONS ──────────────────────────────────────────── */
@keyframes fadeInUp {
  from { opacity:0; transform:translateY(12px); }
  to   { opacity:1; transform:translateY(0); }
}
.report-card:nth-child(1) { animation-delay:.04s }
.report-card:nth-child(2) { animation-delay:.08s }
.report-card:nth-child(3) { animation-delay:.12s }
.report-card:nth-child(4) { animation-delay:.16s }
.report-card:nth-child(5) { animation-delay:.20s }
.report-card:nth-child(6) { animation-delay:.24s }

/* ── RESPONSIVE ──────────────────────────────────────────── */
@media (max-width:768px) {
  .header-inner  { padding:8px 16px; flex-wrap:wrap; gap:8px; }
  .site-logo     { height:40px; }
  .logo-ruc      { display:none; }
  .hero          { padding:36px 16px 56px; }
  .main-container{ padding:20px 16px 56px; }
  .reports-grid  { grid-template-columns:1fr; }
  .stats-grid    { grid-template-columns:repeat(2,1fr); }
  .modal         { padding:20px; }
  .search-row    { flex-direction:column; }
  .table-header  { flex-direction:column; align-items:flex-start; }
  .admin-body .site-logo { height:36px; }
}
