* { box-sizing: border-box; }

:root {
  --black: #0C0F0A;
  --pink: #FE277E;
  --yellow: #FCFE19;
  --cyan: #47EAD0;
  --white: #FFFFFF;
  --tile-w: 164px;
  --tile-h: 114px;
  --tile-gap: 14px;
}

html, body {
  margin: 0;
  min-height: 100%;
  background: var(--white);
  color: var(--black);
  font-family: "Courier New", "Liberation Mono", monospace;
  image-rendering: pixelated;
}

body { overflow: auto; }
button, input { font: inherit; }
a { color: inherit; text-decoration: none; }
.hidden { display: none !important; }

.app-shell {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--yellow);
}

/* HEADER */
.topbar {
  background: var(--cyan);
  border-bottom: 3px solid var(--black);
  padding: 0;
  position: sticky;
  top: 0;
  z-index: 30;
}

.topbar-main {
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: stretch;
  gap: 0;
}

.brand {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 84px;
  background: var(--cyan);
  border-right: 3px solid var(--black);
}

.brand-badge,
.brand .baseline,
.legend,
.quick-actions,
.search-block,
#linksSourceHint,
#mapLinksSourceHint,
.panel-title,
.status-pill,
.tile-status,
.selection-card-status,
.selection-card-meta,
.tile-sub,
.tile-type,
#mapDetailContent .detail-desc,
.btnWorld,
.btnFrance,
.btnSpecial {
  display: none !important;
}

.brand h1 {
  margin: 0;
  font-size: 24px;
  line-height: 1;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.view-toggle {
  display: grid;
  grid-template-columns: repeat(3, 150px);
  padding: 0;
  border: 0;
  background: none;
}

.view-toggle button {
  min-height: 84px;
  border: 0;
  border-left: 3px solid var(--black);
  background: var(--cyan);
  color: var(--black);
  font-size: 18px;
  font-weight: 900;
  text-transform: uppercase;
  cursor: pointer;
  border-radius: 0;
  box-shadow: none;
}

.view-toggle button.active {
  background: var(--pink);
}

.app-footer {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  padding: 10px 24px;
  background: var(--black);
  border-top: 3px solid var(--cyan);
  color: var(--white);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.app-footer a {
  color: var(--cyan);
}

.app-footer a:hover {
  text-decoration: underline;
}

.app-footer-sep {
  color: #555;
}

/* LAYOUT */
.workspace {
  flex: 1;
  display: block;
  overflow: hidden;
  overflow: clip;
}

.app-shell.mode-places .workspace,
.app-shell.mode-types .workspace {
  padding: 10px;
  background: var(--yellow);
  overflow: visible;
}

.app-shell.mode-places .panel-column,
.app-shell.mode-types .panel-column {
  padding: 0;
}

@media (min-width: 900px) {
  .app-shell.mode-places,
  .app-shell.mode-types {
    height: 100vh;
  }

  .app-shell.mode-places .workspace,
  .app-shell.mode-types .workspace {
    flex: 1 1 auto;
    min-height: 0;
    overflow: hidden;
    overflow: clip;
  }

  .app-shell.mode-places .panel-column,
  .app-shell.mode-types .panel-column {
    height: 100%;
  }

  .app-shell.mode-places .list-panel,
  .app-shell.mode-types .list-panel {
    height: 100%;
    min-height: 0;
    display: flex;
    flex-direction: column;
  }

  .app-shell.mode-places .list-view,
  .app-shell.mode-types .list-view {
    flex: 1 1 auto;
    min-height: 0;
  }
}

.app-shell.mode-places .map-pane,
.app-shell.mode-types .map-pane { display: none; }
.app-shell.mode-map .panel-column { display: none; }

/* ≥900px : la vue Carte garde la liste des territoires ouverte à côté,
   pour éviter le va-et-vient entre les onglets Lieux et Carte */
@media (min-width: 900px) {
  .app-shell.mode-map {
    height: 100vh;
    --tile-w: 130px;
  }

  .app-shell.mode-map .workspace {
    display: flex;
    gap: 10px;
    padding: 10px;
    background: var(--yellow);
    flex: 1 1 auto;
    min-height: 0;
    overflow: hidden;
    overflow: clip;
  }

  .app-shell.mode-map .panel-column {
    display: block;
    flex: 0 0 360px;
    width: 360px;
    height: 100%;
    padding: 0;
  }

  .app-shell.mode-map .list-panel {
    height: 100%;
    min-height: 0;
    display: flex;
    flex-direction: column;
  }

  .app-shell.mode-map .list-view {
    flex: 1 1 auto;
    min-height: 0;
  }

  .app-shell.mode-map .list-main {
    overflow-y: auto;
    min-height: 0;
  }

  /* la carte a déjà son propre panneau de liens en overlay :
     on masque celui de la liste pour ne pas le dupliquer */
  .app-shell.mode-map .list-detail-panel {
    display: none;
  }

  .app-shell.mode-map .map-pane {
    flex: 1 1 auto;
    min-width: 0;
  }
}

.panel-column {
  padding: 14px;
}

.panel,
.list-panel,
.map-side-panel {
  background: var(--white);
  border: 3px solid var(--black);
  border-radius: 0;
  box-shadow: none;
}

.list-panel { padding: 16px; }

.list-view,
.list-main,
.list-block,
.grid-section {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.list-layout {
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: stretch;
}

.list-detail-panel {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 16px;
}

#detailContent.detail h3 {
  margin: 0 0 6px;
  font-size: 20px;
  font-weight: 900;
  text-transform: uppercase;
}

#detailContent .detail-desc {
  margin: 0;
  font-size: 13px;
  line-height: 1.5;
}

#detailContent.empty {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  opacity: 0.72;
}

@media (min-width: 900px) {
  .list-layout {
    flex: 1 1 auto;
    min-height: 0;
    flex-direction: row;
    align-items: stretch;
  }

  .list-main {
    flex: 1 1 auto;
    min-width: 0;
    min-height: 0;
    overflow-y: auto;
    padding-right: 6px;
  }

  .list-detail-panel {
    flex: 0 0 clamp(360px, 34%, 480px);
    width: auto;
    min-height: 0;
    overflow-y: auto;
  }
}

.grid-group {
  width: 100%;
}

#entryGrid > .grid-group-title,
#entryGrid > .city-expand {
  grid-column: 1 / -1 !important;
  width: auto !important;
  min-width: 0 !important;
  max-width: none !important;
}

.city-expand {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 12px;
  border: 3px dashed var(--black);
  background: var(--white);
}

.list-block-header { margin-top: 4px; }

.list-block-header .eyebrow,
.grid-group-title {
  display: block !important;
  margin: 0;
  color: var(--black);
  font-size: 14px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* CATEGORY BUTTONS */
.category-tabs,
.list-row-categories {
  display: flex;
  flex-wrap: wrap;
  gap: var(--tile-gap);
}

/* LÉGENDE COULEUR (statut des tuiles / de la carte) */
.legend-inline {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

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

.status-legend {
  margin-top: 10px;
}

.swatch {
  display: inline-block;
  width: 16px;
  height: 16px;
  border: 2px solid var(--black);
  flex-shrink: 0;
}

.swatch-white { background: var(--white); }
.swatch-cyan { background: var(--cyan); }
.swatch-yellow { background: var(--yellow); }

.category-btn,
.category-pill {
  min-width: 120px;
  height: 54px;
  padding: 0 18px;
  border: 3px solid var(--black);
  border-radius: 0;
  background: var(--white);
  color: var(--black);
  font-size: 17px;
  font-weight: 900;
  cursor: pointer;
  box-shadow: none;
}

.category-btn.active,
.category-pill.active {
  background: var(--pink);
}

.list-mode-section.hidden {
  display: none !important;
}

.filters-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.filter-input,
.filter-select {
  height: 48px;
  padding: 0 12px;
  border: 3px solid var(--black);
  border-radius: 0;
  background: var(--white);
  color: var(--black);
  font-size: 16px;
  font-weight: 700;
  min-width: 160px;
}

.filter-input-small {
  min-width: 110px;
  width: 120px;
}

.search-input {
  width: 100%;
  min-width: 0;
}

.filter-input:focus,
.filter-select:focus {
  outline: 3px solid var(--pink);
}

.checkbox-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border: 3px solid var(--black);
  background: var(--white);
  font-weight: 900;
  text-transform: uppercase;
}

.checkbox-pill input {
  width: 18px;
  height: 18px;
}

.archive-results {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.archive-results-grid {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 12px;
  width: 100%;
}

.archive-type-group-block {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
}

.archive-type-group-title {
  margin: 0;
  font-size: 18px;
  font-weight: 900;
  text-transform: uppercase;
}

.archive-type-group-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: flex-start;
}

.archive-link-card {
  flex: 0 0 auto;
  width: 156px;
  height: 108px;
  min-width: 0;
  max-width: none;
  text-align: left;
}

.archive-link-meta {
  display: block;
  margin-top: 6px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
}

.muted {
  opacity: 0.72;
  font-size: 13px;
  text-transform: uppercase;
  font-weight: 700;
}

.links-empty {
  padding: 12px;
  border: 3px dashed var(--black);
  background: var(--white);
  font-weight: 900;
  text-transform: uppercase;
}

/* ROWS */
#entryGrid,
#cityGrid,
#linksPanel,
.selection-grid,
.entry-grid,
.tile-grid,
.city-grid,
.links-grid,
.list-row {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: wrap !important;
  gap: var(--tile-gap) !important;
  align-items: flex-start !important;
  justify-content: flex-start !important;
  width: 100% !important;
  max-width: 100% !important;
  overflow: visible !important;
}

/* très important : neutralise les wrappers injectés par le JS */
#entryGrid > .grid-group,
#cityGrid > .grid-group,
#linksPanel > .grid-group,
.selection-grid > .grid-group,
.entry-grid > .grid-group,
.city-grid > .grid-group,
.links-grid > .grid-group {
  display: contents !important;
}

#entryGrid > *,
#cityGrid > *,
#linksPanel > *,
.selection-grid > *,
.entry-grid > *,
.tile-grid > *,
.city-grid > *,
.links-grid > *,
.list-row > * {
  width: var(--tile-w) !important;
  min-width: var(--tile-w) !important;
  max-width: var(--tile-w) !important;
  flex: 0 0 var(--tile-w) !important;
}

/* colonne de droite : tuiles plus petites pour tenir plusieurs par ligne
   et réduire le défilement (au lieu d'une seule tuile par ligne) */
.list-detail-panel #linksPanel > *,
.list-detail-panel .archive-link-card {
  width: 138px !important;
  min-width: 138px !important;
  max-width: 138px !important;
  flex: 0 0 138px !important;
  height: 92px !important;
}

.list-detail-panel #linksPanel > .links-empty {
  width: 100% !important;
  min-width: 100% !important;
  max-width: 100% !important;
  flex: 1 1 100% !important;
  height: auto !important;
}

/* MAP */
.map-pane {
  position: relative;
  background: var(--white);
}

.map-toolbar {
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  gap: 0;
  padding: 0;
  background: var(--white);
  border-bottom: 3px solid var(--black);
}

.map-toolbar > div:first-child {
  padding: 16px 18px;
}

.map-toolbar p {
  margin: 4px 0 0;
  font-size: 13px;
}

.toolbar-actions {
  display: flex;
  align-items: center;
  padding: 16px 18px;
}

.map-toolbar h2 {
  margin: 0;
  font-size: 22px;
  font-weight: 900;
  text-transform: uppercase;
}

.map-surface,
#map {
  width: 100%;
  height: calc(100vh - 90px);
  min-height: 520px;
}

.leaflet-container { background: var(--cyan); }
.leaflet-tile-pane { display: none !important; }
.leaflet-interactive:focus { outline: none !important; }
svg path.leaflet-interactive:focus { outline: none !important; }
.leaflet-popup-content-wrapper,
.leaflet-popup-tip-container { display: none !important; }

.map-text-label,
.dept-label {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  color: var(--black) !important;
  font-family: "Courier New", "Liberation Mono", monospace !important;
  font-size: 11px !important;
  font-weight: 900 !important;
  text-transform: uppercase !important;
  white-space: nowrap;
  text-shadow:
    -1px -1px 0 var(--white),
     1px -1px 0 var(--white),
    -1px  1px 0 var(--white),
     1px  1px 0 var(--white);
}
.map-text-label span,
.dept-label span {
  display: inline-block;
  transform: translate(-50%, -50%);
}
.map-text-label:before,
.dept-label:before { display: none !important; }
.world-text-label { z-index: 300; }
.dept-text-label { z-index: 350; }
.pin-text-label {
  color: var(--black) !important;
  background: var(--white) !important;
  border: 2px solid var(--black) !important;
  padding: 2px 4px !important;
  border-radius: 0 !important;
  text-shadow: none !important;
}

.map-side-panel {
  position: absolute;
  top: 102px;
  right: 16px;
  z-index: 500;
  width: 360px;
  max-height: calc(100% - 118px);
  overflow: auto;
  padding: 16px;
  background: var(--white);
}

#mapDetailContent {
  margin-bottom: 14px;
  padding-bottom: 12px;
  border-bottom: 3px solid var(--black);
}

#mapDetailContent h3 {
  margin: 0;
  font-size: 20px;
  font-weight: 900;
}

.map-links-stack,
#mapLinksPanel,
#linksPanel,
.links-list {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: var(--tile-gap) !important;
  width: 100%;
  padding: 0 !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}

.custom-marker {
  display: flex;
  align-items: center;
  justify-content: center;
  transform: translate(-9px, -9px);
}
.pixel-marker { background: transparent !important; border: 0 !important; }

.pixel-pin {
  position: relative;
  width: 18px;
  height: 18px;
  border: 2px solid var(--black);
  box-sizing: border-box;
  image-rendering: pixelated;
}
.pixel-pin::after {
  content: "";
  position: absolute;
  left: 6px;
  bottom: -6px;
  width: 4px;
  height: 6px;
  background: var(--black);
}
.pixel-pin-core {
  position: absolute;
  inset: 3px;
  display: block;
  background: var(--white);
}

.marker-pink { background: var(--pink); }
.marker-cyan { background: var(--cyan); }
.marker-yellow { background: var(--yellow); }
.marker-black { background: var(--black); }

.marker-pink .pixel-pin-core { background: var(--white); }
.marker-cyan .pixel-pin-core { background: var(--white); }
.marker-yellow .pixel-pin-core { background: var(--white); }
.marker-black .pixel-pin-core { background: var(--white); }

@media (max-width: 1180px) {
  :root {
    --tile-w: 148px;
    --tile-h: 108px;
  }


  .map-side-panel {
    position: static;
    width: auto;
    max-height: none;
    margin: 14px;
  }

  .map-surface,
  #map { height: 64vh; min-height: 420px; }
}

@media (max-width: 760px) {
  :root {
    --tile-w: 132px;
    --tile-h: 96px;
    --tile-gap: 10px;
  }

  .topbar-main { grid-template-columns: 1fr; }
  .brand { border-right: 0; border-bottom: 3px solid var(--black); }
  .view-toggle { grid-template-columns: 1fr 1fr 1fr; }
}
.selection-grid,
.entry-grid,
.tile-grid {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: wrap !important;
  align-items: flex-start;
  gap: 12px;
  width: 100%;
}

/* #entryGrid devient une vraie grille : une case sélectionnée peut insérer
   un bloc pleine largeur (ex : villes d'un département) juste après sa ligne.
   Cette règle doit rester la DERNIÈRE déclaration #entryGrid du fichier. */
#entryGrid {
  display: grid !important;
  grid-template-columns: repeat(auto-fill, var(--tile-w)) !important;
  justify-content: start !important;
  align-content: start !important;
  align-items: start !important;
  width: 100% !important;
  gap: var(--tile-gap) !important;
}
.selection-card,
.tile-card,
.territory-card {
  flex: 0 0 auto;
  width: 156px;
  height: 108px;
}

/* === COMPLETUDE DES CASES === */

/* état par défaut : vide / placeholder */
.selection-card.placeholder,
.tile-card.placeholder,
.territory-card.placeholder,
.city-card.placeholder,
.link-card-tile.placeholder {
  background: var(--white) !important;
  color: var(--black) !important;
  border: 3px solid var(--black) !important;
}

/* partiel */
.selection-card.partial,
.tile-card.partial,
.territory-card.partial,
.city-card.partial,
.link-card-tile.partial {
  background: var(--cyan) !important;
  color: var(--black) !important;
  border: 3px solid var(--black) !important;
}

/* complet / prêt */
.selection-card.ready,
.tile-card.ready,
.territory-card.ready,
.city-card.ready,
.link-card-tile.ready {
  background: var(--cyan) !important;
  color: var(--black) !important;
  border: 3px solid var(--black) !important;
}

/* sélection active prioritaire sur la complétude */
.selection-card.active,
.tile-card.active,
.territory-card.active,
.city-card.active,
.link-card-tile.active,
.category-btn.active,
.category-pill.active,
.view-toggle button.active {
  background: var(--pink) !important;
  color: var(--black) !important;
  border-color: var(--black) !important;
}

.map-side-panel.is-empty {
  display: none;
}


/* SURVOL DES CASES */
.selection-card,
.tile-card,
.territory-card,
.city-card,
.link-card-tile,
.archive-link-card,
.category-btn,
.category-pill,
.view-toggle button {
  transition: background-color 120ms ease, color 120ms ease, border-color 120ms ease, transform 120ms ease;
}

.selection-card:hover,
.tile-card:hover,
.territory-card:hover,
.city-card:hover,
.link-card-tile:hover,
.archive-link-card:hover,
.category-btn:hover,
.category-pill:hover,
.view-toggle button:hover {
  background: var(--yellow) !important;
  color: var(--black) !important;
  border-color: var(--black) !important;
}

.selection-card.active:hover,
.tile-card.active:hover,
.territory-card.active:hover,
.city-card.active:hover,
.link-card-tile.active:hover,
.category-btn.active:hover,
.category-pill.active:hover,
.view-toggle button.active:hover {
  background: var(--pink) !important;
}

/* Archive types grouped by row (category title + inline cards) */
#archiveTypeGrid {
  display: flex !important;
  flex-direction: column !important;
  flex-wrap: nowrap !important;
  gap: 18px !important;
  align-items: stretch !important;
}

#archiveTypeGrid > .archive-type-group-block {
  width: 100% !important;
  min-width: 100% !important;
  max-width: 100% !important;
  flex: 0 0 100% !important;
}

#archiveTypeGrid .archive-type-group-grid {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: wrap !important;
  gap: 12px !important;
  align-items: flex-start !important;
  justify-content: flex-start !important;
}

#archiveTypeGrid .archive-type-group-grid > * {
  width: var(--tile-w) !important;
  min-width: var(--tile-w) !important;
  max-width: var(--tile-w) !important;
  flex: 0 0 var(--tile-w) !important;
}

/* ── Bouton Proposer un lien ────────────────────────────────────────────── */
.btn-propose {
  min-height: 84px;
  border: 0;
  border-left: 3px solid var(--black);
  background: var(--yellow);
  color: var(--black);
  font-size: 18px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0;
  cursor: pointer;
  white-space: nowrap;
  padding: 0 24px;
  border-radius: 0;
  box-shadow: none;
}
.btn-propose:hover { background: var(--cyan); }

/* ── Bouton Signaler (sur les cartes de lien) ───────────────────────────── */
.link-card-tile { position: relative; }

.link-report-btn {
  position: absolute;
  top: 4px;
  right: 4px;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  line-height: 1;
  padding: 0;
  background: var(--white);
  color: var(--black);
  border: 2px solid var(--black);
  cursor: pointer;
  transition: color .15s, background-color .15s, border-color .15s;
  z-index: 2;
}
.link-report-btn:hover,
.link-report-btn:focus-visible {
  color: var(--white);
  background: var(--pink);
  border-color: var(--pink);
}

/* ── Modale ─────────────────────────────────────────────────────────────── */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(12,15,10,.7);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}
.modal-overlay.hidden { display: none; }

.modal-box {
  background: var(--white);
  border: 2px solid var(--black);
  max-width: 480px;
  width: 100%;
  padding: 28px 28px 24px;
  position: relative;
  font-family: "Courier New", monospace;
}

.modal-close {
  position: absolute;
  top: 10px;
  right: 12px;
  background: none;
  border: none;
  font-size: 16px;
  cursor: pointer;
  color: var(--black);
  line-height: 1;
}
.modal-close:hover { color: var(--pink); }

.modal-title {
  margin: 0 0 12px;
  font-size: 16px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .1em;
}

.modal-desc {
  font-size: 12px;
  margin: 0 0 12px;
  word-break: break-all;
  color: #444;
}
.modal-desc code {
  background: #f0f0f0;
  padding: 1px 4px;
}

.modal-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 16px;
}
.modal-form label {
  display: flex;
  flex-direction: column;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .07em;
  gap: 4px;
}
.required { color: var(--pink); }

.modal-input,
.modal-textarea {
  font: inherit;
  border: 1.5px solid var(--black);
  padding: 6px 8px;
  font-size: 13px;
  background: var(--white);
  color: var(--black);
  width: 100%;
  text-transform: none;
  letter-spacing: 0;
  font-weight: 400;
}
.modal-input:focus,
.modal-textarea:focus {
  outline: 2px solid var(--cyan);
  outline-offset: 1px;
}
.modal-textarea { resize: vertical; }

.modal-actions {
  display: flex;
  gap: 8px;
  margin-top: 16px;
}

.modal-btn {
  border: 1.5px solid var(--black);
  background: var(--white);
  padding: 7px 16px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  cursor: pointer;
}
.modal-btn:hover { background: #eee; }
.modal-btn:disabled { opacity: .5; cursor: default; }

.modal-btn-primary {
  background: var(--black);
  color: var(--white);
}
.modal-btn-primary:hover:not(:disabled) { background: var(--pink); border-color: var(--pink); }

.modal-status {
  margin: 10px 0 0;
  font-size: 12px;
  min-height: 18px;
}
