/* ==========================================================================
   Apparka MX · Panel de administración — identidad v1.1 (Bosque + Lima + Marfil)

   Reglas de color (guía de identidad):
   - Bosque: barra lateral, encabezados y acciones principales.
   - Lima: SOLO selección y acento sobre bosque, siempre con texto bosque.
   - Estados operativos separados de la marca: siempre texto + ícono/forma, y
     el verde de "Disponible / Al corriente" es claro y vivo, no el bosque.
   ========================================================================== */

@font-face {
  font-family: 'Inter';
  src: url('./fonts/inter-latin-var.woff2') format('woff2');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'IBM Plex Mono';
  src: url('./fonts/ibm-plex-mono-latin-600.woff2') format('woff2');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

:root {
  /* Marca */
  --apk-forest: #173D35;
  --apk-forest-hover: #0F2B25;
  --apk-forest-soft: #24504A;
  --apk-forest-line: #3E5F57;
  --apk-lime: #D5E6A1;
  --apk-ivory: #F4F0E8;
  /* Neutros */
  --apk-ink: #18231F;
  --apk-muted: #52635B;
  --apk-faint: #7F8C86;
  --apk-border: #CDD5CC;
  --apk-line: #E7E4DC;
  --apk-surface: #FFFFFF;
  --apk-surface-hover: #FAF8F3;
  /* Estados operativos */
  --apk-ok: #12703C;
  --apk-ok-strong: #2FB36A;
  --apk-ok-bg: #E3F4EA;
  --apk-ok-line: #BFE3CB;
  --apk-warn: #6B4700;
  --apk-warn-strong: #E39A1B;
  --apk-warn-bg: #FBEFD5;
  --apk-warn-line: #E8CF95;
  --apk-danger: #A52B35;
  --apk-danger-strong: #C2333F;
  --apk-danger-bg: #FCE4E4;
  --apk-danger-line: #F0B9BE;

  --font-sans: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'IBM Plex Mono', ui-monospace, Menlo, monospace;
  --radius-sm: 8px;
  --radius-md: 10px;
  --radius-lg: 14px;
  --shadow-card: 0 1px 2px rgba(24, 35, 31, 0.06);
}

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

[hidden] { display: none !important; }

:focus-visible { outline: 3px solid var(--apk-forest); outline-offset: 2px; }
.sidebar :focus-visible { outline-color: var(--apk-lime); }

body {
  font-family: var(--font-sans);
  background-color: var(--apk-ivory);
  color: var(--apk-ink);
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

.app-view { display: flex; min-height: 100vh; }

.icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Barra lateral */
.sidebar {
  width: 248px;
  background: var(--apk-forest);
  color: var(--apk-ivory);
  display: flex;
  flex-direction: column;
  padding: 1.5rem 1rem;
  flex-shrink: 0;
  position: sticky;
  top: 0;
  height: 100vh;
}

.brand-box {
  padding: 0.25rem 0.5rem 1.5rem;
  border-bottom: 1px solid var(--apk-forest-line);
  margin-bottom: 1.25rem;
}

.brand-logo {
  display: block;
  height: 30px;
  width: auto;
}

.brand-sub {
  display: block;
  margin-top: 10px;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
  color: rgba(244, 240, 232, 0.65);
}

.city-pill {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--apk-forest-soft);
  border: 1px solid var(--apk-forest-line);
  padding: 8px 12px;
  border-radius: var(--radius-md);
  margin-bottom: 1.25rem;
  font-size: 0.8rem;
  color: rgba(244, 240, 232, 0.75);
}

.city-pill strong {
  color: var(--apk-ivory);
  font-weight: 700;
}

.nav-menu {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1;
}

.nav-item {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 10px 12px;
  border: none;
  background: none;
  border-radius: var(--radius-md);
  color: rgba(244, 240, 232, 0.78);
  font: inherit;
  font-size: 0.9rem;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}

.nav-item:hover {
  background: var(--apk-forest-soft);
  color: var(--apk-ivory);
}

/* Selección = lima con texto bosque */
.nav-item.active {
  background: var(--apk-lime);
  color: var(--apk-forest);
}

.sidebar-footer {
  padding-top: 1rem;
  border-top: 1px solid var(--apk-forest-line);
  font-size: 0.75rem;
  color: rgba(244, 240, 232, 0.6);
}

/* Área principal */
.main-wrapper {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-width: 0;
}

/* Encabezado */
.top-header {
  min-height: 68px;
  padding: 0.75rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border-bottom: 1px solid var(--apk-line);
  background: rgba(244, 240, 232, 0.92);
  backdrop-filter: blur(10px);
  position: sticky;
  top: 0;
  z-index: 50;
}

.header-search {
  position: relative;
  width: 320px;
  max-width: 100%;
}

.search-input {
  width: 100%;
  background: var(--apk-surface);
  border: 1px solid var(--apk-border);
  padding: 9px 14px 9px 38px;
  border-radius: var(--radius-md);
  color: var(--apk-ink);
  font: inherit;
  font-size: 0.875rem;
  outline: none;
  transition: border-color 0.15s;
}

.search-input::placeholder { color: var(--apk-faint); }

.search-input:focus {
  border-color: var(--apk-forest);
  box-shadow: 0 0 0 3px rgba(23, 61, 53, 0.12);
}

.search-icon {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--apk-faint);
  width: 16px;
  height: 16px;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

.realtime-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--apk-ok);
  background: var(--apk-ok-bg);
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid var(--apk-ok-line);
  white-space: nowrap;
}

.badge-pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--apk-ok-strong);
  box-shadow: 0 0 0 3px rgba(47, 179, 106, 0.25);
}

.realtime-badge.is-connecting,
.realtime-badge.is-offline {
  color: var(--apk-warn);
  background: var(--apk-warn-bg);
  border-color: var(--apk-warn-line);
}

.realtime-badge.is-connecting .badge-pulse,
.realtime-badge.is-offline .badge-pulse {
  background: var(--apk-warn-strong);
  box-shadow: 0 0 0 3px rgba(227, 154, 27, 0.25);
}

.btn-primary {
  background: var(--apk-forest);
  color: var(--apk-ivory);
  border: none;
  padding: 10px 16px;
  border-radius: var(--radius-md);
  font: inherit;
  font-size: 0.875rem;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  transition: background 0.15s;
}

.btn-primary:hover { background: var(--apk-forest-hover); }

/* Cuerpo */
.content-body {
  padding: 2rem;
  flex: 1;
}

/* KPIs */
.kpi-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-bottom: 2rem;
}

.kpi-card {
  background: var(--apk-surface);
  border: 1px solid var(--apk-line);
  border-radius: var(--radius-lg);
  padding: 1.25rem 1.375rem;
  box-shadow: var(--shadow-card);
}

.kpi-title {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--apk-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 8px;
}

.kpi-value {
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--apk-forest);
  font-variant-numeric: tabular-nums;
  margin-bottom: 4px;
}

.kpi-subtext {
  font-size: 0.8rem;
  color: var(--apk-muted);
  font-weight: 500;
}

/* Encabezados de sección */
.section-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 6px 16px;
  margin-bottom: 1rem;
}

.section-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.125rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--apk-ink);
}

.section-title .icon { color: var(--apk-forest); }

.section-note {
  font-size: 0.85rem;
  color: var(--apk-muted);
}

/* Tablas */
.table-card {
  background: var(--apk-surface);
  border: 1px solid var(--apk-line);
  border-radius: var(--radius-lg);
  overflow-x: auto;
  box-shadow: var(--shadow-card);
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.data-table th {
  background: #FAF8F3;
  padding: 12px 18px;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--apk-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  border-bottom: 1px solid var(--apk-line);
  white-space: nowrap;
}

.data-table td {
  padding: 14px 18px;
  font-size: 0.875rem;
  border-bottom: 1px solid var(--apk-line);
  vertical-align: middle;
}

.data-table tbody tr:last-child td { border-bottom: none; }

.data-table tbody tr:hover td { background: var(--apk-surface-hover); }

.parking-cell {
  display: flex;
  flex-direction: column;
}

.parking-name-text {
  font-weight: 700;
  color: var(--apk-ink);
  margin-bottom: 2px;
}

.parking-address-text {
  font-size: 0.78rem;
  color: var(--apk-muted);
}

.money {
  font-family: var(--font-mono);
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

/* Barra de aforo */
.progress-container { width: 150px; }

.progress-bar-bg {
  height: 6px;
  background: var(--apk-line);
  border-radius: 999px;
  overflow: hidden;
  margin-bottom: 5px;
}

.progress-bar-fill {
  height: 100%;
  background: var(--apk-ok-strong);
  border-radius: 999px;
  transition: width 0.3s ease;
}

.progress-bar-fill.is-warn { background: var(--apk-warn-strong); }
.progress-bar-fill.is-full { background: var(--apk-danger-strong); }

.progress-text {
  font-size: 0.78rem;
  color: var(--apk-muted);
}

.progress-text strong { color: var(--apk-ink); }

/* Etiquetas de estado: color + forma (punto lleno / ícono) + texto */
.status-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
  white-space: nowrap;
}

.status-tag .icon { width: 13px; height: 13px; stroke-width: 2.5; }

.status-tag.tone-ok {
  background: var(--apk-ok-bg);
  color: var(--apk-ok);
  border: 1px solid var(--apk-ok-line);
}

.status-tag.tone-danger {
  background: var(--apk-danger-bg);
  color: var(--apk-danger);
  border: 1px solid var(--apk-danger-line);
}

.status-tag.tone-warn {
  background: var(--apk-warn-bg);
  color: var(--apk-warn);
  border: 1px solid var(--apk-warn-line);
}

/* "En prueba": neutro de marca, no se confunde con estados operativos */
.status-tag.tone-info {
  background: var(--apk-ivory);
  color: var(--apk-forest);
  border: 1px dashed var(--apk-forest-line);
}

.status-tag.tone-muted {
  background: #EEF0EC;
  color: var(--apk-muted);
  border: 1px solid var(--apk-border);
}

/* Botones de la tabla */
.action-btn-group {
  display: flex;
  gap: 6px;
}

.btn-sm {
  background: var(--apk-surface);
  border: 1px solid var(--apk-border);
  color: var(--apk-ink);
  padding: 6px 10px;
  border-radius: var(--radius-sm);
  font: inherit;
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.15s, border-color 0.15s, color 0.15s;
}

.btn-sm:hover {
  background: var(--apk-ivory);
  border-color: var(--apk-forest);
}

.btn-sm.danger {
  color: var(--apk-danger);
}

.btn-sm.danger:hover {
  background: var(--apk-danger-bg);
  border-color: var(--apk-danger-line);
}

/* Pestañas */
.tab-panel { display: none; }
.tab-panel.active { display: block; }

/* Mapa */
.map-card { padding: 1.25rem; }

.map-frame {
  display: block;
  width: 100%;
  height: 480px;
  border: 1px solid var(--apk-line);
  border-radius: var(--radius-md);
}

.map-caption {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 1rem;
  font-size: 0.85rem;
  color: var(--apk-muted);
}

.map-caption .icon { color: var(--apk-forest); width: 16px; height: 16px; }

/* Configuración */
.settings-card { padding: 1.5rem; display: grid; gap: 1rem; }

/* Modal */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 43, 37, 0.55);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  z-index: 100;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s;
}

.modal-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.modal-dialog {
  background: var(--apk-surface);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  max-width: 520px;
  width: 100%;
  max-height: calc(100vh - 2rem);
  overflow-y: auto;
  box-shadow: 0 20px 50px rgba(15, 43, 37, 0.25);
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.25rem;
}

.modal-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--apk-ink);
}

.modal-close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: none;
  border: none;
  border-radius: var(--radius-sm);
  color: var(--apk-muted);
  cursor: pointer;
}

.modal-close:hover { background: var(--apk-ivory); color: var(--apk-ink); }

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 12px;
}

.form-group { margin-bottom: 1rem; }
.form-group.full { grid-column: span 2; }

.form-label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--apk-muted);
}

.form-control {
  width: 100%;
  background: var(--apk-surface);
  border: 1px solid var(--apk-border);
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  color: var(--apk-ink);
  font: inherit;
  font-size: 0.875rem;
  outline: none;
}

.form-control[readonly] {
  background: var(--apk-ivory);
  color: var(--apk-muted);
  max-width: 340px;
}

.form-control:focus {
  border-color: var(--apk-forest);
  box-shadow: 0 0 0 3px rgba(23, 61, 53, 0.12);
}

.btn-block {
  width: 100%;
  justify-content: center;
  margin-top: 0.5rem;
  padding: 12px;
}

/* Acceso */
.boot-view,
.login-view {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  background: var(--apk-forest);
}

.boot-view img { height: 36px; opacity: 0.9; }

.login-card {
  width: 100%;
  max-width: 380px;
  background: var(--apk-surface);
  border-radius: var(--radius-lg);
  padding: 2rem 1.75rem 1.75rem;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.25);
}

.login-card .form-control { margin-bottom: 1rem; }

.login-logo {
  display: block;
  height: 30px;
  margin-bottom: 1.5rem;
}

.login-title { font-size: 1.25rem; font-weight: 700; color: var(--apk-ink); }
.login-sub { font-size: 0.875rem; color: var(--apk-muted); margin: 4px 0 1.5rem; }

.login-error,
.form-error {
  background: var(--apk-danger-bg);
  color: var(--apk-danger);
  border: 1px solid var(--apk-danger-line);
  border-radius: var(--radius-sm);
  padding: 10px 12px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

/* Pie de la barra lateral */
.sidebar-footer { display: flex; flex-direction: column; gap: 8px; }

.sidebar-user {
  font-size: 0.78rem;
  color: rgba(244, 240, 232, 0.75);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.sidebar-logout {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: none;
  border: 1px solid var(--apk-forest-line);
  color: var(--apk-ivory);
  border-radius: var(--radius-sm);
  padding: 8px 10px;
  font: inherit;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
}

.sidebar-logout:hover { background: var(--apk-forest-soft); }
.sidebar-logout .icon { width: 16px; height: 16px; }

/* Aviso de error de carga */
.banner {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border-radius: var(--radius-md);
  margin-bottom: 1.25rem;
  font-size: 0.875rem;
  font-weight: 600;
}

.banner span { flex: 1; }

.banner-danger {
  background: var(--apk-danger-bg);
  color: var(--apk-danger);
  border: 1px solid var(--apk-danger-line);
}

/* Tablas: estados auxiliares */
.empty-cell {
  text-align: center;
  color: var(--apk-muted);
  padding: 2rem 1rem !important;
}

.muted { color: var(--apk-muted); }
.text-warn { color: var(--apk-warn); font-weight: 600; }

.progress-container.is-stale .progress-bar-fill { background: #9AA6A0; }
.progress-container.is-stale .progress-text { color: var(--apk-faint); }

.period-cell { display: flex; flex-direction: column; gap: 2px; font-size: 0.85rem; }
.period-rel { display: inline-flex; align-items: center; gap: 4px; font-size: 0.78rem; color: var(--apk-muted); }
.period-rel .icon { width: 13px; height: 13px; }
.period-cell.is-overdue .period-rel { color: var(--apk-warn); font-weight: 600; }

.btn-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 8px;
}

.btn-icon .icon { width: 16px; height: 16px; }

.section-gap { margin-top: 2rem; }

/* Botones adicionales */
.btn-secondary {
  background: var(--apk-surface);
  color: var(--apk-ink);
  border: 1px solid var(--apk-border);
  padding: 10px 16px;
  border-radius: var(--radius-md);
  font: inherit;
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
}

.btn-secondary:hover { background: var(--apk-ivory); }

.btn-primary.btn-danger { background: var(--apk-danger); }
.btn-primary.btn-danger:hover { background: #8A222B; }
.btn-primary:disabled { opacity: 0.6; cursor: wait; }

/* Modales extra */
.modal-wide { max-width: 640px; }

.modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 1.25rem;
}

.confirm-body {
  font-size: 0.925rem;
  line-height: 1.5;
  color: var(--apk-ink);
  margin-bottom: 1rem;
}

.optional { font-weight: 400; color: var(--apk-faint); }

.form-hint {
  font-size: 0.8rem;
  color: var(--apk-muted);
  margin: 6px 0 1rem;
}

.form-hint.is-error { color: var(--apk-danger); font-weight: 600; }

.pick-map {
  height: 240px;
  border: 1px solid var(--apk-border);
  border-radius: var(--radius-sm);
  cursor: crosshair;
}

/* Historial */
.history-list { list-style: none; display: flex; flex-direction: column; }

.history-item {
  padding: 12px 0;
  border-bottom: 1px solid var(--apk-line);
}

.history-item:last-child { border-bottom: none; }

.history-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 0.9rem;
}

.history-meta { font-size: 0.8rem; color: var(--apk-muted); margin-top: 2px; }

.history-note {
  margin-top: 6px;
  font-size: 0.85rem;
  background: var(--apk-ivory);
  border-radius: var(--radius-sm);
  padding: 6px 10px;
}

.history-empty { color: var(--apk-muted); padding: 1rem 0; font-size: 0.9rem; }

/* Mapa */
.map-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  font-size: 0.8rem;
  color: var(--apk-muted);
}

.map-legend span { display: inline-flex; align-items: center; gap: 6px; }

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  display: inline-block;
  border: 2px solid;
}

.dot-ok { background: #2FB36A; border-color: #12703C; }
.dot-stale { background: #9AA6A0; border-color: #52635B; }
.dot-hidden { background: #C2333F; border-color: #A52B35; }

.leaflet-container { font-family: var(--font-sans); }
.leaflet-popup-content { font-size: 0.85rem; line-height: 1.45; color: var(--apk-ink); }

/* Notificación */
.toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  transform: translateX(-50%);
  max-width: min(560px, calc(100vw - 32px));
  padding: 12px 16px;
  border-radius: var(--radius-md);
  font-size: 0.875rem;
  font-weight: 600;
  box-shadow: 0 10px 30px rgba(15, 43, 37, 0.25);
  z-index: 200;
  background: var(--apk-forest);
  color: var(--apk-ivory);
}

.toast.tone-warn { background: var(--apk-warn-bg); color: var(--apk-warn); border: 1px solid var(--apk-warn-line); }
.toast.tone-danger { background: var(--apk-danger); color: #fff; }

/* Responsivo */
@media (max-width: 1100px) {
  .kpi-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 820px) {
  .app-view { flex-direction: column; }

  .sidebar {
    width: 100%;
    height: auto;
    position: static;
    padding: 1rem;
  }

  .brand-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 0 1rem;
    margin-bottom: 1rem;
  }

  .brand-sub { margin-top: 0; }

  .nav-menu {
    display: grid;
    grid-template-columns: repeat(4, auto);
    justify-content: start;
    gap: 6px;
  }

  .nav-item { white-space: nowrap; }
  .sidebar-footer { display: none; }
  .header-right .btn-primary { padding: 9px 12px; }

  .top-header { padding: 0.75rem 1rem; flex-wrap: wrap; }
  .header-search { width: 100%; }
  .header-right { width: 100%; justify-content: space-between; }
  .content-body { padding: 1.25rem 1rem; }
}

@media (max-width: 520px) {
  .kpi-grid { grid-template-columns: 1fr; }
  .nav-menu { grid-template-columns: 1fr 1fr; }
  .nav-item { font-size: 0.85rem; padding: 9px 10px; }
  .form-grid { grid-template-columns: 1fr; }
  .form-group.full { grid-column: auto; }
  .map-frame { height: 360px; }
}
