/* =========================================================
   Mes Hôtels — feuille de style
   Palette reprise des maquettes : marine profond + violet
   ========================================================= */

:root {
  --ink:        #141b2e;
  --ink-2:      #1d2740;
  --ink-3:      #2a3654;
  --violet:     #6357e0;
  --violet-dk:  #4f43c9;
  --violet-lt:  #eeecff;
  --paper:      #ffffff;
  --wash:       #f4f6fb;
  --line:       #e4e8f2;
  --text:       #1a2036;
  --muted:      #6b7590;
  --good:       #17a34a;
  --bad:        #e11d48;
  --star:       #f5a524;
  --radius:     16px;
  --radius-sm:  10px;
  --shadow:     0 10px 34px rgba(18, 25, 45, .16);
  --shadow-sm:  0 2px 10px rgba(18, 25, 45, .10);
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }

/* L'attribut hidden doit toujours gagner sur le display d'une classe
   (.modal, .lightbox, .detail, .badge déclarent grid ou flex). */
[hidden] { display: none !important; }
html, body { height: 100%; }
body {
  margin: 0;
  font-family: var(--sans);
  color: var(--text);
  background: var(--wash);
  -webkit-text-size-adjust: 100%;
  overflow: hidden;
}
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
a { color: var(--violet); }
:focus-visible { outline: 3px solid var(--violet); outline-offset: 2px; border-radius: 6px; }

.app { display: flex; height: 100vh; height: 100dvh; }
.mobile-only { display: none; }

/* ---------------------------------------------------- rail (navigation) */
.rail {
  width: 250px; flex: 0 0 250px;
  background: var(--ink); color: #eef1f8;
  display: flex; flex-direction: column;
  padding: 18px 14px;
  z-index: 1200;
  overflow-y: auto;
  scrollbar-width: thin;
}
.rail-top { display: flex; align-items: center; justify-content: space-between; }
.brand { font-size: 20px; font-weight: 700; letter-spacing: -.2px; padding: 4px 8px 14px; }
.rail-close { display: none; background: none; border: 0; color: #93a0bd; font-size: 18px; }
.btn-add { margin-bottom: 18px; }
.nav { display: flex; flex-direction: column; gap: 4px; }
.nav-item {
  display: flex; align-items: center; gap: 12px;
  background: none; border: 0; color: #c3cbe0;
  padding: 11px 12px; border-radius: var(--radius-sm);
  text-align: left; font-size: 15px;
}
.nav-item span { font-size: 16px; width: 20px; text-align: center; }
.nav-item:hover { background: var(--ink-2); color: #fff; }
.nav-item.is-active { background: var(--ink-3); color: #fff; font-weight: 600; }
.caret { font-style: normal; margin-left: auto; font-size: 11px; opacity: .6; }

/* liste des hôtels intégrée au menu */
.rail-list { margin: 4px 0 10px; max-height: 44vh; overflow-y: auto; scrollbar-width: thin; }
.rail-list.is-collapsed { display: none; }
.rail-list .empty { color: #8e9ab8; padding: 12px 8px; font-size: 12.5px; }
.rail-list .empty strong { color: #c3cbe0; font-size: 13px; }
.rcard {
  display: flex; gap: 9px; padding: 7px; border-radius: 10px;
  background: var(--ink-2); margin-bottom: 6px; cursor: pointer; text-align: left;
}
.rcard:hover { background: var(--ink-3); }
.rcard.is-sel { background: var(--ink-3); box-shadow: inset 0 0 0 1.5px var(--violet); }
.rcard .thumb {
  width: 50px; height: 44px; flex: 0 0 50px; border-radius: 7px; object-fit: cover;
  background: var(--ink-3); display: grid; place-items: center; font-size: 17px; color: #7b87a5;
}
.rcard .meta { flex: 1; min-width: 0; }
.rcard .name {
  color: #eef1f8; font-size: 13px; font-weight: 600;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.rcard .sub2 { color: #93a0bd; font-size: 11.5px; margin: 1px 0 3px; }
.rcard .sub2 b { color: #b5adff; }
.rvotes { display: flex; align-items: center; gap: 6px; }
.vote {
  background: none; border: 0; padding: 0; line-height: 1; font-size: 14px;
  opacity: .35; filter: grayscale(1);
}
.vote:hover { opacity: .8; filter: none; }
.vote.on { opacity: 1; filter: none; }
.rvotes .stars { margin-left: auto; font-size: 10.5px; opacity: .75; }

.hcard .rvotes { margin-top: 4px; }
.hcard .vote { font-size: 15px; }

.rail-foot { margin-top: auto; border-top: 1px solid var(--ink-3); padding-top: 14px; font-size: 14px; }
.rail-foot .who { display: flex; align-items: center; gap: 10px; color: #c3cbe0; margin-bottom: 10px; }
.rail-foot .avatar {
  width: 32px; height: 32px; border-radius: 50%;
  background: var(--ink-3); display: grid; place-items: center; font-size: 15px;
}
.rail-foot .role { font-size: 12px; color: #8e9ab8; }

/* ---------------------------------------------------- scène */
.stage { position: relative; flex: 1; min-width: 0; }
#map { position: absolute; inset: 0; background: #dfe6f0; }

.topbar {
  position: absolute; top: 14px; left: 16px; right: 16px;
  z-index: 800; display: flex; gap: 10px; align-items: center;
  pointer-events: none;
}
.topbar > * { pointer-events: auto; }
.searchbox {
  flex: 1; max-width: 520px; display: flex; align-items: center; gap: 8px;
  background: var(--paper); border-radius: 999px; padding: 0 16px; height: 46px;
  box-shadow: var(--shadow-sm);
}
.searchbox input { flex: 1; border: 0; background: none; outline: none; font-size: 15px; }
.chip {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--paper); border: 0; border-radius: 999px;
  height: 46px; padding: 0 18px; font-size: 14px; font-weight: 600;
  box-shadow: var(--shadow-sm);
}
.chip .badge {
  background: var(--violet); color: #fff; border-radius: 999px;
  min-width: 20px; height: 20px; font-size: 12px; display: grid; place-items: center; padding: 0 5px;
}
.icon-btn {
  background: var(--paper); border: 0; width: 46px; height: 46px;
  border-radius: 50%; box-shadow: var(--shadow-sm); font-size: 17px;
  display: grid; place-items: center;
}

/* ---------------------------------------------------- panneau gauche */
.panel {
  position: absolute; left: 16px; top: 74px; width: 370px;
  max-height: calc(100% - 96px);
  background: var(--paper); border-radius: var(--radius);
  box-shadow: var(--shadow); z-index: 700;
  display: flex; flex-direction: column; overflow: hidden;
}
.panel.is-collapsed .panel-body { display: none; }
.panel-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 16px; border-bottom: 1px solid var(--line);
}
.panel-head h2 { margin: 0; font-size: 15px; font-weight: 700; }
.panel-head .icon-btn { width: 30px; height: 30px; box-shadow: none; background: var(--wash); font-size: 13px; }
.panel-body { overflow-y: auto; padding: 12px; -webkit-overflow-scrolling: touch; }

/* ---------------------------------------------------- carte hôtel (liste) */
.hcard {
  display: flex; gap: 12px; padding: 10px; border-radius: 12px;
  background: var(--paper); border: 1px solid var(--line);
  margin-bottom: 8px; text-align: left; width: 100%;
}
.hcard:hover { border-color: #c9d2e6; background: #fbfcff; }
.hcard.is-sel { border-color: var(--violet); box-shadow: 0 0 0 2px var(--violet-lt); }
.hcard .thumb {
  width: 76px; height: 62px; flex: 0 0 76px; border-radius: 8px;
  object-fit: cover; background: var(--wash);
  display: grid; place-items: center; font-size: 22px; color: #aab3c8;
}
.hcard .meta { flex: 1; min-width: 0; }
.hcard .line1 { display: flex; align-items: center; gap: 6px; }
.hcard .name { font-weight: 650; font-size: 14.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hcard .city { font-size: 12.5px; color: var(--muted); margin: 2px 0 4px; }
.hcard .line3 { display: flex; align-items: center; gap: 8px; font-size: 13px; }
.hcard .price { font-weight: 700; color: var(--violet); }
.stars { color: var(--star); font-size: 12.5px; letter-spacing: 1px; }
.verdict { font-size: 20px; line-height: 1; }
.verdict.small { font-size: 15px; }
.pill {
  font-size: 11px; font-weight: 700; padding: 3px 8px; border-radius: 999px;
  background: var(--wash); color: var(--muted);
}
.pill.good { background: #e8f8ee; color: var(--good); }
.pill.bad  { background: #fdeaef; color: var(--bad); }

.empty { text-align: center; color: var(--muted); padding: 26px 12px; font-size: 14px; }
.empty strong { display: block; color: var(--text); margin-bottom: 6px; font-size: 15px; }

/* ---------------------------------------------------- fiche détail */
.detail {
  position: absolute; right: 16px; top: 74px; width: 420px;
  max-height: calc(100% - 96px);
  background: var(--paper); border-radius: var(--radius);
  box-shadow: var(--shadow); z-index: 750;
  display: flex; flex-direction: column; overflow: hidden;
}
.detail-head { display: flex; align-items: flex-start; gap: 8px; padding: 16px 16px 8px; }
.detail-head h2 { margin: 0; font-size: 21px; font-weight: 700; letter-spacing: -.3px; flex: 1; }
.detail-head .icon-btn { width: 32px; height: 32px; box-shadow: none; background: var(--wash); }
.detail-body { overflow-y: auto; padding: 0 16px 16px; }
.sub { display: flex; align-items: center; gap: 10px; font-size: 13.5px; color: var(--muted); padding: 0 16px 10px; }

.hero { position: relative; border-radius: 12px; overflow: hidden; background: var(--wash); }
.hero img { display: block; width: 100%; aspect-ratio: 16/10; object-fit: cover; }
.hero .count {
  position: absolute; right: 10px; bottom: 10px; background: rgba(0,0,0,.6);
  color: #fff; font-size: 12px; padding: 4px 9px; border-radius: 999px;
}
.hero .noimg { aspect-ratio: 16/10; display: grid; place-items: center; color: #a7b0c6; font-size: 34px; }
.thumbrow { display: flex; gap: 8px; margin-top: 8px; overflow-x: auto; padding-bottom: 4px; }
.thumbrow img {
  width: 82px; height: 62px; flex: 0 0 82px; object-fit: cover;
  border-radius: 8px; border: 2px solid transparent;
}
.thumbrow img.is-main { border-color: var(--violet); }

.cats { display: flex; gap: 6px; margin: 12px 0 10px; overflow-x: auto; }
.cat {
  border: 1px solid var(--line); background: var(--paper); color: var(--muted);
  border-radius: 999px; padding: 6px 12px; font-size: 12.5px; white-space: nowrap;
}
.cat.is-active { background: var(--violet); border-color: var(--violet); color: #fff; font-weight: 600; }

.actions { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin: 14px 0; }
.actions.actions-3 { grid-template-columns: repeat(3, 1fr); }

/* bloc d'évaluation, accessible à tous les visiteurs */
.avis-vote {
  display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
  background: var(--wash); border-radius: 12px; padding: 10px 12px; margin-bottom: 12px;
}
.avis-label { font-size: 12.5px; font-weight: 600; color: var(--muted); margin-right: auto; }
.avis-btn {
  border: 1px solid var(--line); background: var(--paper); border-radius: 999px;
  padding: 7px 13px; font-size: 13px; font-weight: 600; color: var(--muted);
}
.avis-btn:hover { border-color: #c2cade; }
.avis-btn.up.on   { background: #e8f8ee; border-color: var(--good); color: #0f7a38; }
.avis-btn.down.on { background: #fdeaef; border-color: var(--bad);  color: #b3123c; }
.action {
  background: var(--wash); border: 0; border-radius: 12px; padding: 11px 4px;
  display: flex; flex-direction: column; align-items: center; gap: 5px;
  font-size: 11.5px; color: var(--muted); font-weight: 600;
}
.action span { font-size: 18px; }
.action:hover { background: var(--violet-lt); color: var(--violet-dk); }
.action.is-on { background: var(--violet-lt); color: var(--violet-dk); }

.verdict-banner {
  display: flex; align-items: center; gap: 12px; padding: 12px 14px;
  border-radius: 12px; margin: 4px 0 12px; font-weight: 700;
}
.verdict-banner .big { font-size: 44px; line-height: 1; }
.verdict-banner.good { background: #e8f8ee; color: #0f7a38; }
.verdict-banner.bad  { background: #fdeaef; color: #b3123c; }
.verdict-banner .hint { font-weight: 500; font-size: 12.5px; opacity: .8; display: block; }

.tabs { display: flex; gap: 18px; border-bottom: 1px solid var(--line); margin: 4px 0 12px; }
.tabs button {
  background: none; border: 0; padding: 9px 2px; font-size: 14px; color: var(--muted);
  border-bottom: 2px solid transparent; margin-bottom: -1px;
}
.tabs button.is-active { color: var(--violet); border-color: var(--violet); font-weight: 650; }

.rows { display: grid; gap: 9px; }
.row { display: flex; gap: 10px; font-size: 13.5px; align-items: flex-start; }
.row .k { color: var(--muted); width: 22px; flex: 0 0 22px; }
.row .v { flex: 1; min-width: 0; word-break: break-word; }
.note-block { background: var(--wash); border-radius: 12px; padding: 12px; font-size: 13.5px; white-space: pre-wrap; }

.gal { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.gal figure { margin: 0; position: relative; }
.gal img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 8px; display: block; }
.gal figcaption { font-size: 11px; color: var(--muted); margin-top: 3px; line-height: 1.3; }
.gal .tools { position: absolute; top: 4px; right: 4px; display: flex; gap: 3px; }
.gal .tools button {
  border: 0; background: rgba(20,27,46,.78); color: #fff; width: 24px; height: 24px;
  border-radius: 6px; font-size: 11px; display: grid; place-items: center;
}
.gal .tools button.on { background: var(--violet); }

.comment { border-top: 1px solid var(--line); padding: 11px 0; font-size: 13.5px; }
.comment:first-child { border-top: 0; }
.comment .who { display: flex; align-items: center; gap: 8px; margin-bottom: 4px; }
.comment .who strong { font-size: 13.5px; }
.comment .when { color: var(--muted); font-size: 11.5px; margin-left: auto; }

/* ---------------------------------------------------- itinéraire */
.route-modes { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-bottom: 12px; }
.mode {
  border: 1px solid var(--line); background: var(--paper); border-radius: 12px;
  padding: 10px 4px; display: flex; flex-direction: column; align-items: center; gap: 4px;
  font-size: 11px; color: var(--muted);
}
.mode span { font-size: 19px; }
.mode.is-active { background: var(--violet); border-color: var(--violet); color: #fff; }
.mode b { font-size: 11.5px; }
.route-summary { background: var(--wash); border-radius: 12px; padding: 12px 14px; margin-bottom: 12px; }
.route-summary .big { font-size: 20px; font-weight: 700; }
.route-summary .sm { font-size: 12.5px; color: var(--muted); }

/* ---------------------------------------------------- statistiques */
.stat-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 14px; }
.stat {
  background: var(--wash); border-radius: 12px; padding: 12px;
}
.stat .n { font-size: 22px; font-weight: 700; letter-spacing: -.5px; }
.stat .l { font-size: 12px; color: var(--muted); }
.bars { display: grid; gap: 7px; }
.bar { display: flex; align-items: center; gap: 8px; font-size: 12.5px; }
.bar .lab { width: 92px; flex: 0 0 92px; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bar .track { flex: 1; height: 9px; background: var(--wash); border-radius: 999px; overflow: hidden; }
.bar .fill { height: 100%; background: var(--violet); border-radius: 999px; }
.bar .val { width: 26px; text-align: right; font-weight: 650; }

/* ---------------------------------------------------- formulaires */
.field { margin-bottom: 12px; }
.field > label { display: block; font-size: 12.5px; font-weight: 600; color: var(--muted); margin-bottom: 5px; }
.field input[type=text], .field input[type=number], .field input[type=date],
.field input[type=url], .field input[type=tel], .field input[type=password],
.field select, .field textarea {
  width: 100%; padding: 10px 12px; border: 1px solid var(--line);
  border-radius: var(--radius-sm); background: var(--paper); outline: none;
}
.field textarea { min-height: 84px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--violet); }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.hint { font-size: 12px; color: var(--muted); margin-top: 4px; }
.check { display: flex; align-items: center; gap: 9px; font-size: 14px; margin-bottom: 10px; }
.check input { width: 18px; height: 18px; accent-color: var(--violet); }

.btn {
  border: 0; border-radius: var(--radius-sm); padding: 11px 16px;
  font-size: 14.5px; font-weight: 650; background: var(--wash); color: var(--text);
}
.btn-primary { background: var(--violet); color: #fff; width: 100%; }
.btn-primary:hover { background: var(--violet-dk); }
.btn-ghost { background: var(--wash); }
.btn-danger { background: #fdeaef; color: var(--bad); }
.btn-row { display: flex; gap: 8px; }
.btn-row .btn { flex: 1; }
.btn-sm { padding: 8px 12px; font-size: 13px; }

.dropzone {
  border: 2px dashed #cbd3e6; border-radius: 12px; padding: 18px; text-align: center;
  color: var(--muted); font-size: 13px; background: var(--wash);
}
.dropzone.is-over { border-color: var(--violet); background: var(--violet-lt); color: var(--violet-dk); }
.previews { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin-top: 8px; }
.previews figure { margin: 0; position: relative; }
.previews img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 8px; }
.previews button {
  position: absolute; top: 3px; right: 3px; border: 0; background: rgba(20,27,46,.8);
  color: #fff; width: 22px; height: 22px; border-radius: 6px; font-size: 11px;
}

/* ---------------------------------------------------- marqueurs */
.pin {
  display: flex; align-items: center; gap: 3px;
  background: var(--violet); color: #fff; font-size: 12px; font-weight: 700;
  padding: 4px 8px; border-radius: 999px; white-space: nowrap;
  box-shadow: 0 2px 8px rgba(18,25,45,.35); border: 2px solid #fff;
  transform: translateY(-2px);
}
.pin.good { background: var(--good); }
.pin.bad  { background: var(--bad); }
.pin.is-sel { outline: 3px solid rgba(99,87,224,.35); }
.pin .fav { font-style: normal; font-size: 10px; }
.me-dot {
  width: 16px; height: 16px; border-radius: 50%; background: #2d7ff9;
  border: 3px solid #fff; box-shadow: 0 0 0 4px rgba(45,127,249,.25);
}
.leaflet-container { font-family: var(--sans); }

/* ---------------------------------------------------- modale */
.modal { position: fixed; inset: 0; z-index: 2000; display: grid; place-items: center; padding: 16px; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(15,20,35,.55); }
.modal-card {
  position: relative; background: var(--paper); border-radius: var(--radius);
  width: min(620px, 100%); max-height: 90vh; display: flex; flex-direction: column;
  box-shadow: var(--shadow); overflow: hidden;
}
.modal-head { display: flex; align-items: center; justify-content: space-between; padding: 16px; border-bottom: 1px solid var(--line); }
.modal-head h2 { margin: 0; font-size: 17px; }
.modal-head .icon-btn { width: 32px; height: 32px; box-shadow: none; background: var(--wash); }
.modal-body { padding: 16px; overflow-y: auto; }
.modal-foot { padding: 12px 16px; border-top: 1px solid var(--line); display: flex; gap: 8px; }
.modal-foot .btn { flex: 1; }
.modal-foot:empty { display: none; }

/* ---------------------------------------------------- visionneuse */
.lightbox {
  position: fixed; inset: 0; z-index: 2200; background: rgba(8,11,20,.94);
  display: grid; place-items: center; grid-template-columns: 64px 1fr 64px;
}
.lb-figure { margin: 0; grid-column: 2; text-align: center; max-height: 100%; }
.lb-figure img {
  max-width: 100%; max-height: 78vh; border-radius: 8px; cursor: zoom-in;
  transition: transform .18s ease;
}
.lb-figure img.zoom { cursor: zoom-out; transform: scale(1.9); }
.lb-figure figcaption { color: #dbe1f0; font-size: 13.5px; margin-top: 12px; }
.lb-nav { background: none; border: 0; color: #fff; font-size: 46px; opacity: .75; }
.lb-nav:hover { opacity: 1; }
.lb-prev { grid-column: 1; }
.lb-next { grid-column: 3; }
.lb-close { position: absolute; top: 14px; right: 16px; background: none; border: 0; color: #fff; font-size: 24px; }

/* ---------------------------------------------------- toasts */
.toasts { position: fixed; bottom: 20px; left: 50%; transform: translateX(-50%); z-index: 2400; display: grid; gap: 8px; }
.toast {
  background: var(--ink); color: #fff; padding: 11px 18px; border-radius: 999px;
  font-size: 13.5px; box-shadow: var(--shadow); animation: pop .2s ease;
}
.toast.err { background: var(--bad); }
.toast.ok  { background: var(--good); }
@keyframes pop { from { opacity: 0; transform: translateY(8px); } }

/* ---------------------------------------------------- mobile */
@media (max-width: 900px) {
  #btnMenu { display: grid; }
  .rail {
    position: fixed; inset: 0 auto 0 0; width: 264px;
    transform: translateX(-100%); transition: transform .22s ease;
  }
  .rail.is-open { transform: none; }
  .rail-close { display: block; }
  .topbar { top: 10px; left: 10px; right: 10px; }
  .searchbox, .chip, .icon-btn { height: 42px; }
  .chip { padding: 0 14px; }

  .panel {
    left: 0; right: 0; width: auto; top: auto; bottom: 62px;
    border-radius: 18px 18px 0 0; max-height: 58vh;
  }
  .panel.is-collapsed { max-height: none; }
  .detail {
    left: 0; right: 0; top: 0; bottom: 0; width: auto;
    max-height: none; border-radius: 0; z-index: 1300;
  }
  .actions { grid-template-columns: repeat(4, 1fr); }
  .tabbar {
    position: absolute; bottom: 0; left: 0; right: 0; height: 62px;
    background: var(--paper); border-top: 1px solid var(--line);
    display: flex; align-items: center; z-index: 900;
    padding-bottom: env(safe-area-inset-bottom);
  }
  .tab {
    flex: 1; background: none; border: 0; color: var(--muted);
    display: flex; flex-direction: column; align-items: center; gap: 3px; font-size: 10.5px;
  }
  .tab span { font-size: 17px; }
  .tab.is-active { color: var(--violet); font-weight: 650; }
  .tab-add {
    background: var(--violet); color: #fff; width: 50px; height: 50px; flex: 0 0 50px;
    border-radius: 50%; font-size: 26px; box-shadow: var(--shadow-sm); margin: 0 6px;
  }
  .lightbox { grid-template-columns: 44px 1fr 44px; }
  .lb-nav { font-size: 34px; }
  .grid2 { grid-template-columns: 1fr; }
  .modal-card { max-height: 94vh; }
}

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

/* ---------------------------------------------------- impression (export PDF) */
.print-area { display: none; }
@media print {
  body { overflow: visible; background: #fff; }
  .app, .modal, .lightbox, .toasts { display: none !important; }
  .print-area { display: block; padding: 0; }
  .print-area h1 { font-size: 20px; margin: 0 0 4px; }
  .print-area .meta { color: #666; font-size: 11px; margin-bottom: 16px; }
  .print-area table { width: 100%; border-collapse: collapse; font-size: 10.5px; }
  .print-area th, .print-area td { border: 1px solid #ccc; padding: 5px 6px; text-align: left; vertical-align: top; }
  .print-area th { background: #f0f2f7; }
  .print-area tr { page-break-inside: avoid; }
}
