/*
 * FleetTrack — Sistema de diseño compartido
 * Tema oscuro (default) + tema claro ([data-theme="light"] en <html>)
 *
 * Tokens:
 *   --bg / --panel / --panel2 / --elev   superficies (fondo → paneles → hover)
 *   --border / --border-strong           divisores
 *   --text / --accent2 / --muted         texto principal / secundario / atenuado
 *   --accent                             texto de alto énfasis (neutro)
 *   --brand / --brand-text               ámbar taxi: acciones principales y estado activo
 *   --online / --info / --warning / --danger   estados: libre / asignado / ocupado / alerta
 *   --*-rgb                              mismos colores en "r,g,b" para rgba() translúcidos
 */

@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Mono:wght@400;500;600&family=IBM+Plex+Sans:wght@400;500;600;700&display=swap');

/* ── TEMA OSCURO (default) ──────────────────────────────────── */
:root {
  --bg:            #0e1116;
  --panel:         #151a21;
  --panel2:        #1a2029;
  --elev:          #212833;
  --border:        #262e39;
  --border-strong: #35404e;

  --text:     #e7ebf0;
  --accent:   #f3f5f8;
  --accent2:  #aab4c1;
  --muted:    #7f8a99;

  --brand:      #f5b83d;
  --brand-text: #f5b83d;
  --brand-fg:   #1b1405;
  --online:     #3ecf8e;
  --info:       #5aa2ff;
  --warning:    #f39b4a;
  --danger:     #f16a6a;

  --fg-rgb:      231,235,240;
  --brand-rgb:   245,184,61;
  --online-rgb:  62,207,142;
  --info-rgb:    90,162,255;
  --warning-rgb: 243,155,74;
  --danger-rgb:  241,106,106;

  --shadow-sm: 0 1px 2px rgba(0,0,0,.35);
  --shadow:    0 10px 30px rgba(0,0,0,.45);

  --font-mono: 'IBM Plex Mono', ui-monospace, monospace;
  --font-sans: 'IBM Plex Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;

  --radius:    6px;
  --radius-md: 10px;
  --header-h:  54px;
  --left-w:    300px;
  --right-w:   300px;

  color-scheme: dark;
}

/* ── TEMA CLARO ─────────────────────────────────────────────── */
[data-theme="light"] {
  --bg:            #f3f5f8;
  --panel:         #ffffff;
  --panel2:        #f7f9fb;
  --elev:          #eef2f6;
  --border:        #e1e6ed;
  --border-strong: #c9d2dd;

  --text:     #16202c;
  --accent:   #0b1320;
  --accent2:  #465466;
  --muted:    #677487;

  --brand:      #f5b83d;
  --brand-text: #a06a00;
  --brand-fg:   #1b1405;
  --online:     #13905a;
  --info:       #2a6fd6;
  --warning:    #c7621a;
  --danger:     #cf3b3b;

  --fg-rgb:      22,32,44;
  --brand-rgb:   214,150,20;
  --online-rgb:  19,144,90;
  --info-rgb:    42,111,214;
  --warning-rgb: 199,98,26;
  --danger-rgb:  207,59,59;

  --shadow-sm: 0 1px 2px rgba(16,24,40,.06);
  --shadow:    0 12px 32px rgba(16,24,40,.12);

  color-scheme: light;
}

/* ── RESET ──────────────────────────────────────────────────── */
*, *::before, *::after {
  margin: 0; padding: 0;
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}
html, body { height: 100%; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 14px;
  line-height: 1.45;
  -webkit-font-smoothing: antialiased;
  transition: background .2s, color .2s;
}
button, input, select, textarea { font: inherit; color: inherit; }
a { color: inherit; }
:focus-visible { outline: 2px solid rgba(var(--brand-rgb), .7); outline-offset: 2px; }

/* ── SCROLLBAR ──────────────────────────────────────────────── */
::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--border-strong); border-radius: 8px; border: 2px solid transparent; background-clip: padding-box; }
::-webkit-scrollbar-thumb:hover { background: var(--muted); background-clip: padding-box; border: 2px solid transparent; }
* { scrollbar-width: thin; scrollbar-color: var(--border-strong) transparent; }

/* ── HEADER ─────────────────────────────────────────────────── */
header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 18px;
  height: var(--header-h);
  background: var(--panel);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 1000;
  flex-shrink: 0;
  gap: 14px;
}
.header-right { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }

/* ── LOGO ────────────────────────────────────────────────────── */
.logo {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 15px;
  font-weight: 700;
  font-family: var(--font-sans);
  letter-spacing: -.01em;
  color: var(--accent);
  text-decoration: none;
  flex-shrink: 0;
}
.logo span { color: var(--brand-text); }
.logo-icon, .logo-mark {
  width: 30px; height: 30px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 8px;
  background: var(--brand);
  color: var(--brand-fg);
  font-size: 16px;
  box-shadow: var(--shadow-sm);
}

/* ── NAVEGACIÓN (igual en todas las páginas) ─────────────────── */
.ft-nav { display: flex; align-items: center; gap: 2px; min-width: 0; overflow-x: auto; scrollbar-width: none; }
.ft-nav::-webkit-scrollbar { display: none; }
.ft-nav a {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 7px 11px;
  border-radius: var(--radius);
  font-size: 13px; font-weight: 500;
  color: var(--accent2);
  text-decoration: none;
  white-space: nowrap;
  transition: background .15s, color .15s;
}
.ft-nav a:hover { background: var(--elev); color: var(--text); }
.ft-nav a.active { background: rgba(var(--brand-rgb), .14); color: var(--brand-text); font-weight: 600; }
.ft-nav .nav-sep { width: 1px; height: 22px; background: var(--border); margin: 0 6px; flex-shrink: 0; }
.ft-nav a.nav-logout { color: var(--danger); }
.ft-nav a.nav-logout:hover { background: rgba(var(--danger-rgb), .1); }

/* ── THEME TOGGLE ────────────────────────────────────────────── */
.theme-toggle {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--accent2);
  width: 34px;
  height: 34px;
  border-radius: var(--radius);
  cursor: pointer;
  font-size: 15px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: border-color .15s, background .15s;
  flex-shrink: 0;
}
.theme-toggle:hover { border-color: var(--border-strong); background: var(--elev); }

/* ── USER MENU ───────────────────────────────────────────────── */
.user-menu { position: relative; }
.user-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 3px 10px 3px 3px;
  cursor: pointer;
  color: var(--text);
  transition: border-color .15s, background .15s;
}
.user-btn:hover { border-color: var(--border-strong); background: var(--elev); }
.user-avatar {
  width: 28px; height: 28px;
  border-radius: 50%;
  object-fit: cover;
  background: var(--elev);
}
.user-name {
  font-size: 13px;
  font-weight: 600;
  max-width: 110px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.role-badge {
  font-size: 10.5px;
  padding: 2px 7px;
  border-radius: 999px;
  font-weight: 600;
  letter-spacing: .02em;
  font-family: var(--font-sans);
}
.role-badge.admin     { background: rgba(var(--brand-rgb),.16);   color: var(--brand-text); }
.role-badge.operator  { background: rgba(var(--online-rgb),.14);  color: var(--online); }
.role-badge.supervisor{ background: rgba(var(--info-rgb),.14);    color: var(--info); }
.role-badge.readonly  { background: rgba(var(--fg-rgb),.07);       color: var(--muted); }

/* Dropdown */
.dropdown {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 6px;
  min-width: 230px;
  z-index: 2000;
  display: none;
  box-shadow: var(--shadow);
}
.dropdown.open { display: block; }
.dropdown-header {
  padding: 8px 10px 10px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 6px;
}
.dropdown-name  { font-size: 14px; font-weight: 600; }
.dropdown-email { font-size: 12px; color: var(--muted); margin-top: 2px; word-break: break-all; }
.dropdown-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  border-radius: var(--radius);
  font-size: 13.5px;
  cursor: pointer;
  color: var(--text);
  text-decoration: none;
  border: none;
  background: transparent;
  width: 100%;
  font-family: var(--font-sans);
  font-weight: 500;
  text-align: left;
  transition: background .1s;
}
.dropdown-item:hover { background: var(--elev); }
.dropdown-item.danger { color: var(--danger); }
.dropdown-item.danger:hover { background: rgba(var(--danger-rgb),.1); }
.dropdown-divider { border: none; border-top: 1px solid var(--border); margin: 6px 0; }

/* ── WS BADGE / MODO ─────────────────────────────────────────── */
.ws-badge, .mode-badge {
  display: inline-flex; align-items: center; gap: 6px;
  height: 30px;
  padding: 0 11px;
  font-size: 12px; font-weight: 600;
  font-family: var(--font-sans);
  border: 1px solid; border-radius: 999px;
  white-space: nowrap;
}
.ws-badge.connected    { background: rgba(var(--online-rgb),.1);  border-color: rgba(var(--online-rgb),.3);  color: var(--online); }
.ws-badge.disconnected { background: rgba(var(--danger-rgb),.1);  border-color: rgba(var(--danger-rgb),.3);  color: var(--danger); }
.ws-badge.connecting   { background: rgba(var(--warning-rgb),.1); border-color: rgba(var(--warning-rgb),.3); color: var(--warning);}
.mode-badge { cursor: pointer; transition: filter .15s; }
.mode-badge:hover { filter: brightness(1.1); }
.mode-badge.auto   { background: rgba(var(--online-rgb),.1);  border-color: rgba(var(--online-rgb),.3);  color: var(--online); }
.mode-badge.manual { background: rgba(var(--warning-rgb),.1); border-color: rgba(var(--warning-rgb),.3); color: var(--warning);}

/* ── LAYOUT CONTENT (páginas no-mapa) ───────────────────────── */
.content {
  max-width: 1080px;
  margin: 0 auto;
  padding: 32px 24px 48px;
}
.page-title {
  font-size: 24px;
  font-weight: 700;
  font-family: var(--font-sans);
  letter-spacing: -.02em;
  color: var(--accent);
  margin-bottom: 4px;
}
.page-sub { font-size: 14px; color: var(--muted); margin-bottom: 24px; }

/* ── TABS ────────────────────────────────────────────────────── */
.tabs {
  display: flex;
  gap: 4px;
  margin-bottom: 20px;
  border-bottom: 1px solid var(--border);
  overflow-x: auto;
}
.tab {
  padding: 10px 14px;
  font-size: 13.5px;
  font-weight: 600;
  font-family: var(--font-sans);
  cursor: pointer;
  background: transparent;
  border: none;
  color: var(--muted);
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  white-space: nowrap;
  transition: color .15s, border-color .15s;
}
.tab:hover  { color: var(--text); }
.tab.active { color: var(--text); border-bottom-color: var(--brand); }

/* ── SECTION / CARD ──────────────────────────────────────────── */
.section {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-bottom: 18px;
  box-shadow: var(--shadow-sm);
}
.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: 48px;
  padding: 0 16px;
  border-bottom: 1px solid var(--border);
  flex-shrink: 0;
}
.section-title {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--accent2);
  font-family: var(--font-sans);
}
.section-sub {
  font-size: 13px;
  color: var(--muted);
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
  line-height: 1.6;
}

/* ── TABLA ───────────────────────────────────────────────────── */
.ft-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13.5px;
}
.ft-table th {
  text-align: left;
  padding: 10px 16px;
  font-size: 11.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--muted);
  font-family: var(--font-sans);
  border-bottom: 1px solid var(--border);
  background: var(--panel2);
  white-space: nowrap;
}
.ft-table td {
  padding: 11px 16px;
  border-bottom: 1px solid var(--border);
  color: var(--text);
  vertical-align: middle;
}
.ft-table tr:last-child td { border-bottom: none; }
.ft-table tbody tr:hover td { background: rgba(var(--fg-rgb),.03); }
.mono, .ft-table td.mono { font-family: var(--font-mono); }

/* ── FORM ────────────────────────────────────────────────────── */
.field-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--accent2);
  font-family: var(--font-sans);
  margin-bottom: 6px;
  display: block;
}
.field-input {
  width: 100%;
  background: var(--panel);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  padding: 9px 12px;
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 14px;
  outline: none;
  transition: border-color .15s, box-shadow .15s;
}
.field-input:hover { border-color: var(--muted); }
.field-input:focus { border-color: var(--brand); box-shadow: 0 0 0 3px rgba(var(--brand-rgb), .18); }
.field-input::placeholder { color: var(--muted); opacity: .8; }
select.field-input { cursor: pointer; }
textarea.field-input { resize: vertical; line-height: 1.5; }

/* ── BOTONES ─────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  height: 36px;
  padding: 0 15px;
  font-family: var(--font-sans);
  font-size: 13.5px;
  font-weight: 600;
  cursor: pointer;
  border-radius: var(--radius);
  border: 1px solid transparent;
  transition: background .15s, border-color .15s, color .15s, filter .15s;
  white-space: nowrap;
  text-decoration: none;
  line-height: 1;
}
.btn:disabled { opacity: .5; cursor: not-allowed; }

.btn-primary { background: var(--brand); border-color: var(--brand); color: var(--brand-fg); }
.btn-primary:hover { filter: brightness(1.06); }
.btn-ghost { background: transparent; border-color: var(--border-strong); color: var(--text); }
.btn-ghost:hover { background: var(--elev); }
.btn-danger { background: rgba(var(--danger-rgb),.1); border-color: rgba(var(--danger-rgb),.35); color: var(--danger); }
.btn-danger:hover { background: rgba(var(--danger-rgb),.18); }
.btn-success { background: rgba(var(--online-rgb),.1); border-color: rgba(var(--online-rgb),.35); color: var(--online); }
.btn-success:hover { background: rgba(var(--online-rgb),.18); }

.btn-sm { height: 30px; padding: 0 11px; font-size: 12.5px; }
.btn-icon {
  width: 34px; height: 34px;
  padding: 0;
  font-size: 14px;
}
.btn-sm.btn-icon { width: 30px; height: 30px; }

/* ── BADGE / PILL ────────────────────────────────────────────── */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 9px;
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 600;
  font-family: var(--font-sans);
  white-space: nowrap;
}
.badge-dot { width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.badge-online  { background: rgba(var(--online-rgb),.13);  color: var(--online); }
.badge-warning { background: rgba(var(--warning-rgb),.13); color: var(--warning); }
.badge-danger  { background: rgba(var(--danger-rgb),.13);  color: var(--danger); }
.badge-muted   { background: rgba(var(--fg-rgb),.07);      color: var(--muted); }
.badge-info    { background: rgba(var(--info-rgb),.13);    color: var(--info); }
.badge-brand   { background: rgba(var(--brand-rgb),.16);   color: var(--brand-text); }

/* ── STAT CARD ───────────────────────────────────────────────── */
.stat-card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 16px 18px;
  text-align: left;
  box-shadow: var(--shadow-sm);
}
.stat-val {
  font-size: 28px;
  font-weight: 700;
  font-family: var(--font-sans);
  letter-spacing: -.02em;
  line-height: 1.1;
  color: var(--accent);
  margin-bottom: 2px;
  font-variant-numeric: tabular-nums;
}
.stat-lbl {
  font-size: 12.5px;
  font-weight: 500;
  color: var(--muted);
  font-family: var(--font-sans);
}

/* ── HEADER STATS ────────────────────────────────────────────── */
.header-stats {
  display: flex;
  align-items: center;
  gap: 6px;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}
.hstat {
  display: flex; align-items: baseline; gap: 6px;
  padding: 6px 12px;
  border-radius: var(--radius);
  background: var(--panel2);
  border: 1px solid var(--border);
}
.hstat-val {
  font-size: 16px;
  font-weight: 700;
  font-family: var(--font-sans);
  font-variant-numeric: tabular-nums;
  line-height: 1;
  color: var(--accent);
}
.hstat-lbl {
  font-size: 12px;
  font-weight: 500;
  color: var(--muted);
  line-height: 1;
}

/* ── CITY SELECTOR / SELECT COMPACTO ─────────────────────────── */
.city-select, .select-sm {
  height: 34px;
  background: var(--panel);
  border: 1px solid var(--border);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 500;
  padding: 0 10px;
  border-radius: var(--radius);
  cursor: pointer;
  max-width: 170px;
  outline: none;
}
.city-select:hover, .select-sm:hover { border-color: var(--border-strong); }

/* ── MODALES (compartidos) ───────────────────────────────────── */
.modal-overlay {
  position: fixed; inset: 0;
  background: rgba(8,11,16,.55);
  backdrop-filter: blur(3px);
  z-index: 1500;
  display: none; align-items: center; justify-content: center;
  padding: 20px;
}
.modal-overlay.open { display: flex; }
.modal {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 22px;
  width: 100%; max-width: 440px;
  box-shadow: var(--shadow);
  max-height: calc(100vh - 40px);
  overflow-y: auto;
}
.modal-title { font-size: 17px; font-weight: 700; color: var(--accent); margin-bottom: 14px; letter-spacing: -.01em; }
.modal-sub { font-size: 13.5px; color: var(--muted); line-height: 1.6; }
.modal-actions { display: flex; gap: 8px; justify-content: flex-end; margin-top: 20px; }

/* ── TOAST ───────────────────────────────────────────────────── */
.toast {
  position: fixed;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%) translateY(16px);
  background: var(--accent);
  border: 1px solid transparent;
  color: var(--bg);
  padding: 10px 18px;
  border-radius: 999px;
  font-size: 13.5px;
  font-weight: 600;
  font-family: var(--font-sans);
  opacity: 0;
  transition: opacity .2s, transform .2s;
  z-index: 9999;
  pointer-events: none;
  white-space: nowrap;
  max-width: calc(100vw - 32px);
  overflow: hidden; text-overflow: ellipsis;
  box-shadow: var(--shadow);
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }
.toast.error { background: var(--danger); color: #fff; }

/* ── EMPTY STATE ─────────────────────────────────────────────── */
.empty {
  text-align: center;
  padding: 44px 20px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}
.empty-icon { font-size: 30px; margin-bottom: 8px; opacity: .6; }

/* ── PÁNICO ──────────────────────────────────────────────────── */
.panic-overlay {
  position: fixed; inset: 0;
  background: rgba(220,40,40,.12);
  z-index: 800;
  pointer-events: none;
  animation: panicBg 1.2s ease-in-out infinite;
  display: none;
}
@keyframes panicBg { 0%,100%{opacity:0} 50%{opacity:1} }

.panic-banner {
  position: fixed;
  top: calc(var(--header-h) + 12px); left: 50%;
  transform: translateX(-50%);
  z-index: 900;
  background: #2a0d0f;
  color: #ffb4b4;
  border: 1px solid #a33a3a;
  border-radius: var(--radius-md);
  padding: 12px 16px;
  display: none;
  align-items: center;
  gap: 14px;
  animation: panicPulse 1s ease-in-out infinite;
  box-shadow: 0 10px 30px rgba(200,40,40,.35);
}
@keyframes panicPulse { 0%,100%{border-color:#7a2525} 50%{border-color:#ff5b5b} }

.panic-title {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .02em;
  font-family: var(--font-sans);
  text-transform: uppercase;
}
.panic-sub { font-size: 12.5px; opacity: .8; font-family: var(--font-mono); }
.panic-btn {
  background: rgba(255,91,91,.15);
  border: 1px solid #a33a3a;
  color: #ffd0d0;
  height: 32px;
  padding: 0 12px;
  border-radius: var(--radius);
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}
.panic-btn:hover { background: rgba(255,91,91,.28); }

/* ── BACK BUTTON (compat) ────────────────────────────────────── */
.btn-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text);
  height: 32px;
  padding: 0 12px;
  border-radius: var(--radius);
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  text-decoration: none;
  transition: border-color .15s, background .15s;
}
.btn-back:hover { border-color: var(--border-strong); background: var(--elev); }

/* ── LEAFLET (controles y popups acordes al tema) ────────────── */
.leaflet-container { background: var(--bg); font-family: var(--font-sans); }
.leaflet-bar { border: 1px solid var(--border) !important; border-radius: var(--radius) !important; box-shadow: var(--shadow-sm) !important; overflow: hidden; }
.leaflet-bar a, .leaflet-bar a:hover { background: var(--panel) !important; color: var(--text) !important; border-bottom-color: var(--border) !important; }
.leaflet-bar a:hover { background: var(--elev) !important; }
.leaflet-popup-content-wrapper { background: var(--panel); color: var(--text); border: 1px solid var(--border); border-radius: var(--radius-md); box-shadow: var(--shadow); }
.leaflet-popup-tip { background: var(--panel); }
.leaflet-popup-content { font-size: 13px; line-height: 1.5; margin: 12px 14px; }
.leaflet-container a.leaflet-popup-close-button { color: var(--muted); }
/* Mapa base oscuro sin cambiar de proveedor: se invierten los tiles en modo oscuro */
:root:not([data-theme="light"]) .ft-dark-tiles .leaflet-tile-pane {
  filter: invert(1) hue-rotate(180deg) brightness(.92) contrast(.9) saturate(.55);
}

/* ── RESPONSIVE ──────────────────────────────────────────────── */
@media (max-width: 1180px) {
  .header-stats { display: none; }
}
@media (max-width: 720px) {
  :root { --header-h: 52px; }
  header { padding: 0 12px; }
  .content { padding: 20px 14px 40px; }
  .page-title { font-size: 21px; }
  .user-name { display: none; }
  .ft-nav a { padding: 7px 9px; font-size: 12.5px; }
  .ft-nav a .nav-txt { display: none; }
  .ft-table th:nth-child(n+4),
  .ft-table td:nth-child(n+4) { display: none; }
}
