/* ═══════════════════════════════════════════════════════════════
   Football Fundamentals – Træningsplanlægger
   ═══════════════════════════════════════════════════════════════ */

:root {
  --green-900: #1b5e20;
  --green-700: #2e7d32;
  --green-500: #4caf50;
  --green-100: #e8f5e9;
  --blue-700:  #1565c0;
  --blue-100:  #e3f2fd;
  --yellow:    #f9a825;
  --red-700:   #c62828;
  --red-100:   #ffebee;
  --gray-50:   #fafafa;
  --gray-100:  #f5f5f5;
  --gray-200:  #eeeeee;
  --gray-300:  #e0e0e0;
  --gray-400:  #bdbdbd;
  --gray-500:  #9e9e9e;
  --gray-700:  #616161;
  --gray-900:  #212121;
  --white:     #ffffff;
  --shadow-s:  0 1px 4px rgba(0,0,0,.12);
  --shadow-m:  0 4px 14px rgba(0,0,0,.15);
  --shadow-l:  0 8px 28px rgba(0,0,0,.22);
  --radius:    8px;
  --radius-lg: 14px;
  --header-h:  62px;
  --sidebar-w: 218px;
  --plan-w:    310px;
  --trans:     .18s ease;
}

/* ════════════════════════════════════════════════════════════════
   LOGIN OVERLAY
   ════════════════════════════════════════════════════════════════ */
.login-overlay {
  position: fixed;
  inset: 0;
  background: linear-gradient(145deg, #1b5e20 0%, #2e7d32 55%, #1565c0 100%);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.login-overlay.hidden { display: none; }

.login-box {
  background: rgba(255,255,255,.97);
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(0,0,0,.35);
  padding: 48px 44px 36px;
  width: 100%;
  max-width: 380px;
  text-align: center;
  animation: loginIn .3s cubic-bezier(.34,1.56,.64,1);
}
@keyframes loginIn {
  from { transform: translateY(30px) scale(.95); opacity: 0; }
  to   { transform: translateY(0)    scale(1);   opacity: 1; }
}

.login-logo  { font-size: 64px; margin-bottom: 10px; }
.login-brand { font-size: 20px; font-weight: 800; color: #1b5e20; letter-spacing: .3px; }
.login-sub   { font-size: 12px; color: #888; text-transform: uppercase; letter-spacing: 1.2px; margin-top: 3px; margin-bottom: 36px; }

.login-form  { display: flex; flex-direction: column; gap: 12px; }
.login-label { font-size: 14px; font-weight: 700; color: #444; text-align: left; }

.login-input {
  width: 100%;
  padding: 14px 18px;
  border: 2px solid #e0e0e0;
  border-radius: 12px;
  font-size: 20px;
  letter-spacing: 4px;
  text-align: center;
  outline: none;
  transition: border-color .18s, box-shadow .18s;
  color: #212121;
}
.login-input:focus {
  border-color: #2e7d32;
  box-shadow: 0 0 0 3px rgba(46,125,50,.15);
}
.login-input.shake {
  animation: shake .4s ease;
  border-color: #c62828;
}
@keyframes shake {
  0%,100% { transform: translateX(0); }
  20%     { transform: translateX(-8px); }
  40%     { transform: translateX(8px); }
  60%     { transform: translateX(-5px); }
  80%     { transform: translateX(5px); }
}

.login-error {
  font-size: 13px;
  color: #c62828;
  font-weight: 600;
  display: none;
}
.login-error.visible { display: block; }

.login-btn {
  margin-top: 4px;
  padding: 14px;
  background: #2e7d32;
  color: #fff;
  border: none;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  transition: background .18s, transform .1s;
  letter-spacing: .4px;
}
.login-btn:hover  { background: #1b5e20; }
.login-btn:active { transform: scale(.97); }

.login-footer {
  margin-top: 28px;
  font-size: 11px;
  color: #bbb;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* ── Reset ────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 15px; }
body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: var(--gray-100);
  color: var(--gray-900);
  height: 100vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

/* ── Shared buttons ───────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 8px 14px;
  border: none;
  border-radius: var(--radius);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: filter var(--trans), transform var(--trans);
  white-space: nowrap;
}
.btn:hover  { filter: brightness(1.12); }
.btn:active { transform: scale(.96); }
.btn-green  { background: var(--green-700); color: var(--white); }
.btn-blue   { background: var(--blue-700);  color: var(--white); }
.btn-red    { background: var(--red-700);   color: var(--white); }
.btn-ghost  { background: rgba(255,255,255,.15); color: var(--white); }
.btn-sm     { padding: 6px 12px; font-size: 12px; }

.icon-btn {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 18px;
  color: var(--gray-500);
  width: 32px; height: 32px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  transition: background var(--trans), color var(--trans);
}
.icon-btn:hover { background: var(--gray-200); color: var(--gray-900); }
.icon-btn.light:hover { background: rgba(255,255,255,.18); color: var(--white); }

/* ════════════════════════════════════════════════════════════════
   HEADER
   ════════════════════════════════════════════════════════════════ */
.site-header {
  height: var(--header-h);
  background: var(--green-900);
  color: var(--white);
  position: sticky;
  top: 0;
  z-index: 200;
  box-shadow: var(--shadow-m);
  flex-shrink: 0;
}
.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 0 20px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: calc(var(--sidebar-w) - 20px);
}
.brand-ball  { font-size: 34px; line-height: 1; }
.brand-text  { display: flex; flex-direction: column; }
.brand-name  { font-size: 15px; font-weight: 700; letter-spacing: .4px; }
.brand-sub   { font-size: 11px; opacity: .65; text-transform: uppercase; letter-spacing: 1px; }

.search-wrap {
  flex: 1;
  max-width: 500px;
  position: relative;
}
.search-icon {
  position: absolute;
  left: 12px; top: 50%;
  transform: translateY(-50%);
  font-size: 15px;
  pointer-events: none;
  opacity: .7;
}
.search-wrap input {
  width: 100%;
  padding: 9px 16px 9px 36px;
  border: none;
  border-radius: 24px;
  font-size: 14px;
  background: rgba(255,255,255,.16);
  color: var(--white);
  outline: none;
  transition: background var(--trans);
}
.search-wrap input::placeholder { color: rgba(255,255,255,.55); }
.search-wrap input:focus         { background: rgba(255,255,255,.28); }

.plan-toggle-btn {
  margin-left: auto;
  background: var(--yellow);
  color: var(--gray-900);
  border: none;
  border-radius: 24px;
  padding: 9px 20px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: background var(--trans), transform var(--trans);
  white-space: nowrap;
}
.plan-toggle-btn:hover  { background: #fbc02d; transform: scale(1.03); }
.plan-toggle-btn:active { transform: scale(.97); }

.plan-badge {
  background: var(--green-900);
  color: var(--white);
  border-radius: 50%;
  width: 22px; height: 22px;
  display: flex; align-items: center; justify-content: center;
  font-size: 12px;
  font-weight: 700;
}

/* ════════════════════════════════════════════════════════════════
   LAYOUT
   ════════════════════════════════════════════════════════════════ */
.layout {
  display: flex;
  flex: 1;
  overflow: hidden;
}

/* ── Sidebar ──────────────────────────────────────────────────── */
.sidebar {
  width: var(--sidebar-w);
  background: var(--white);
  border-right: 1px solid var(--gray-300);
  padding: 14px 10px;
  overflow-y: auto;
  flex-shrink: 0;
}
.sidebar-label {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: var(--gray-500);
  font-weight: 700;
  padding: 0 10px 10px;
}
.cat-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  padding: 9px 12px;
  border: none;
  background: none;
  border-radius: var(--radius);
  cursor: pointer;
  font-size: 14px;
  color: var(--gray-700);
  text-align: left;
  transition: background var(--trans), color var(--trans);
  margin-bottom: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.cat-btn:hover  { background: var(--green-100); color: var(--green-700); }
.cat-btn.active { background: var(--green-700); color: var(--white); font-weight: 700; }

/* ── Sidebar age filter ───────────────────────────────────────── */
.sidebar-divider {
  margin: 14px 8px 10px;
  border-top: 1px solid var(--gray-200);
}
.age-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 4px;
  padding: 0 2px;
}
.age-btn {
  padding: 6px 4px;
  border: 1px solid var(--gray-300);
  background: var(--white);
  border-radius: var(--radius);
  cursor: pointer;
  font-size: 12px;
  font-weight: 600;
  color: var(--gray-700);
  text-align: center;
  transition: all var(--trans);
}
.age-btn:hover  { border-color: var(--yellow); background: #fff8e1; color: var(--gray-900); }
.age-btn.active { background: var(--yellow); border-color: var(--yellow); color: var(--gray-900); }

.age-note {
  font-size: 11px;
  color: var(--gray-500);
  padding: 6px 10px;
  background: #fff8e1;
  border-radius: var(--radius);
  margin: 6px 2px 0;
}

/* ── Card metadata icons ──────────────────────────────────────── */
.card-meta {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.meta-pill {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  font-size: 11px;
  color: var(--gray-700);
  background: var(--gray-100);
  border-radius: 10px;
  padding: 2px 7px;
}

/* ── Main content ─────────────────────────────────────────────── */
.content {
  flex: 1;
  overflow-y: auto;
  padding: 22px 24px;
  min-width: 0;
}
.content-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}
.content-header h1 {
  font-size: 21px;
  font-weight: 800;
  color: var(--green-900);
}
.ex-count {
  font-size: 13px;
  color: var(--gray-500);
  background: var(--gray-200);
  padding: 2px 10px;
  border-radius: 12px;
  font-weight: 600;
}

/* ── Exercise grid ────────────────────────────────────────────── */
.exercise-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  gap: 14px;
}

/* ── Exercise card ────────────────────────────────────────────── */
.exercise-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-s);
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: box-shadow var(--trans), transform var(--trans), border-color var(--trans);
  user-select: none;
}
.exercise-card:hover       { box-shadow: var(--shadow-m); transform: translateY(-2px); border-color: var(--green-500); }
.exercise-card.in-plan     { border-color: var(--green-700); background: var(--green-100); }

.card-name {
  font-size: 14px;
  font-weight: 700;
  line-height: 1.4;
  color: var(--gray-900);
  flex: 1;
}
.card-cats {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}
.cat-tag {
  font-size: 11px;
  padding: 2px 7px;
  border-radius: 10px;
  background: var(--green-100);
  color: var(--green-700);
  font-weight: 600;
}
.card-actions {
  display: flex;
  gap: 6px;
}
.btn-view {
  flex: 1;
  padding: 7px 6px;
  background: var(--blue-100);
  color: var(--blue-700);
  border: none;
  border-radius: var(--radius);
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: background var(--trans);
}
.btn-view:hover { background: #bbdefb; }

.btn-add {
  flex: 1;
  padding: 7px 6px;
  background: var(--green-700);
  color: var(--white);
  border: none;
  border-radius: var(--radius);
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: background var(--trans);
}
.btn-add:hover  { background: var(--green-900); }
.btn-add.added  { background: var(--gray-400); color: var(--white); cursor: default; }

/* ── Age active chip ──────────────────────────────────────────── */
.age-active-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--yellow);
  color: var(--gray-900);
  font-size: 13px;
  font-weight: 700;
  padding: 3px 12px;
  border-radius: 16px;
}

/* ── Empty state ──────────────────────────────────────────────── */
.empty-state {
  text-align: center;
  padding: 70px 20px;
  color: var(--gray-500);
}
.empty-icon { font-size: 52px; margin-bottom: 12px; }

/* ════════════════════════════════════════════════════════════════
   TRAINING PLAN PANEL
   ════════════════════════════════════════════════════════════════ */
.plan-panel {
  width: var(--plan-w);
  background: var(--white);
  border-left: 1px solid var(--gray-300);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  flex-shrink: 0;
  transition: width var(--trans), opacity var(--trans);
}
.plan-panel.hidden {
  width: 0;
  opacity: 0;
  pointer-events: none;
}

.plan-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  background: var(--green-900);
  color: var(--white);
  flex-shrink: 0;
}
.plan-header-title { font-size: 15px; font-weight: 700; }

.plan-name-input {
  width: 100%;
  padding: 10px 16px;
  border: none;
  border-bottom: 1px solid var(--gray-300);
  font-size: 14px;
  font-weight: 600;
  outline: none;
  background: var(--gray-50);
  color: var(--gray-900);
  flex-shrink: 0;
}
.plan-name-input:focus { background: var(--blue-100); }

.plan-notes {
  width: 100%;
  padding: 10px 16px;
  border: none;
  border-bottom: 1px solid var(--gray-300);
  font-size: 13px;
  font-family: inherit;
  outline: none;
  background: var(--gray-50);
  color: var(--gray-700);
  resize: vertical;
  min-height: 64px;
  max-height: 200px;
  line-height: 1.5;
  flex-shrink: 0;
}
.plan-notes:focus { background: #fffde7; border-bottom-color: var(--yellow); }
.plan-notes::placeholder { color: var(--gray-400); }

.plan-body {
  flex: 1;
  overflow-y: auto;
  padding: 10px;
  min-height: 0;
}
.plan-empty {
  text-align: center;
  padding: 36px 12px;
  color: var(--gray-500);
}
.plan-empty-icon { font-size: 36px; margin-bottom: 10px; }
.plan-hint       { font-size: 12px; margin-top: 8px; }

.plan-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.plan-item {
  background: var(--gray-100);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 9px 10px;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: background var(--trans);
}
.plan-item:hover          { background: var(--green-100); }
.plan-item[draggable=true] { cursor: grab; }
.plan-item.drag-over      { border: 2px dashed var(--green-500); background: var(--green-100); }

.plan-item-num {
  color: var(--green-700);
  font-weight: 800;
  font-size: 14px;
  min-width: 22px;
}
.plan-item-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.plan-item-name {
  font-size: 13px;
  line-height: 1.3;
  font-weight: 600;
}
.plan-item-meta {
  font-size: 11px;
  color: var(--gray-500);
}
.plan-item-btns {
  display: flex;
  gap: 2px;
}
.pib {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--gray-400);
  font-size: 13px;
  width: 26px; height: 26px;
  border-radius: 4px;
  display: flex; align-items: center; justify-content: center;
  transition: background var(--trans), color var(--trans);
}
.pib:hover         { background: var(--gray-300); color: var(--gray-900); }
.pib.remove:hover  { background: var(--red-100); color: var(--red-700); }

/* Plan footer */
.plan-footer {
  border-top: 1px solid var(--gray-300);
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex-shrink: 0;
}
.plan-summary {
  font-size: 13px;
  color: var(--gray-700);
  text-align: center;
  font-weight: 600;
}
.plan-actions {
  display: flex;
  gap: 6px;
}
.plan-actions .btn { flex: 1; justify-content: center; padding: 8px 6px; }
.plan-actions-row2 { margin-top: -4px; }
.btn-gray { background: var(--gray-500); color: var(--white); }

/* Saved plans */
.saved-section  { border-top: 1px solid var(--gray-200); padding-top: 8px; }
.saved-label    { font-size: 10px; text-transform: uppercase; letter-spacing: 1px; color: var(--gray-500); font-weight: 700; margin-bottom: 6px; }
.saved-item     { display: flex; align-items: center; gap: 6px; padding: 5px 6px; border-radius: var(--radius); transition: background var(--trans); }
.saved-item:hover { background: var(--gray-100); }
.saved-item-name {
  flex: 1;
  font-size: 13px;
  color: var(--blue-700);
  cursor: pointer;
  text-decoration: underline;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.saved-item-del {
  background: none; border: none; cursor: pointer;
  color: var(--gray-400); font-size: 13px;
  padding: 3px 5px; border-radius: 4px;
  transition: color var(--trans), background var(--trans);
}
.saved-item-del:hover { background: var(--red-100); color: var(--red-700); }
.no-saved { font-size: 12px; color: var(--gray-400); padding: 4px 0; }

/* ════════════════════════════════════════════════════════════════
   PDF MODAL
   ════════════════════════════════════════════════════════════════ */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.62);
  z-index: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  animation: fadeIn .15s ease;
}
.modal-backdrop[hidden] { display: none; }

@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

.modal {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-l);
  width: 100%;
  max-width: 920px;
  height: 86vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  animation: slideUp .18s ease;
}
@keyframes slideUp {
  from { transform: translateY(20px); opacity: 0; }
  to   { transform: translateY(0);    opacity: 1; }
}

.modal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px;
  background: var(--green-900);
  color: var(--white);
  flex-shrink: 0;
}
.modal-title {
  font-size: 16px;
  font-weight: 700;
}
.modal-head-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.modal-body {
  flex: 1;
  overflow: hidden;
}
.modal-body iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}

/* ════════════════════════════════════════════════════════════════
   MENU BUTTON  (mobile only)
   ════════════════════════════════════════════════════════════════ */
.menu-btn {
  display: none;
  background: rgba(255,255,255,.16);
  border: none;
  color: var(--white);
  font-size: 20px;
  width: 36px; height: 36px;
  border-radius: var(--radius);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background var(--trans);
}
.menu-btn:hover { background: rgba(255,255,255,.28); }

/* Sidebar close row (only visible on mobile) */
.sidebar-close-row {
  display: none;
  justify-content: flex-end;
  padding: 8px 8px 0;
}

/* Mobile sidebar backdrop */
.sidebar-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.45);
  z-index: 349;
}
.sidebar-backdrop.visible { display: block; }

/* ════════════════════════════════════════════════════════════════
   PDF MOBILE FALLBACK LINK  (hidden on desktop, shown on mobile)
   ════════════════════════════════════════════════════════════════ */
.pdf-mobile-btn {
  display: none;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 14px;
  flex: 1;
  text-decoration: none;
  color: var(--green-700);
  background: var(--green-100);
  font-size: 20px;
  font-weight: 700;
  border-radius: var(--radius-lg);
  margin: 20px;
  padding: 40px 20px;
  text-align: center;
  border: 2px solid var(--green-500);
}
.pdf-mobile-btn span { font-size: 13px; color: var(--gray-500); font-weight: 400; }

/* ════════════════════════════════════════════════════════════════
   MOBILE  (≤ 700 px)
   ════════════════════════════════════════════════════════════════ */
@media (max-width: 700px) {
  /* Menu button visible */
  .menu-btn { display: flex; }

  /* Sidebar: slide-in overlay from left */
  .sidebar {
    position: fixed !important;
    inset: 0 !important;
    width: 280px !important;
    z-index: 350;
    transform: translateX(-100%);
    transition: transform .25s ease, box-shadow .25s ease !important;
    overflow-y: auto;
    box-shadow: none;
  }
  .sidebar.open {
    transform: translateX(0);
    box-shadow: var(--shadow-l);
  }
  .sidebar-close-row { display: flex; }

  /* Tighter header */
  .header-inner { padding: 0 12px; gap: 8px; }
  .brand { min-width: 0; }
  .brand-ball { font-size: 26px; }
  .brand-name { font-size: 13px; }
  .brand-sub  { display: none; }

  /* Plan panel: full-screen overlay instead of side column */
  .plan-panel {
    position: fixed !important;
    inset: 0 !important;
    width: 100% !important;
    z-index: 400;
    transition: none !important;
    overflow-y: auto;
  }
  .plan-panel.hidden {
    display: none !important;
    width: 100% !important;
    opacity: 1 !important;
    pointer-events: auto !important;
  }

  /* PDF modal: full-screen, hide iframe, show open-link instead */
  .modal-backdrop { padding: 0; }
  .modal { height: 100dvh; max-width: 100%; border-radius: 0; }
  #pdfFrame { display: none !important; }
  .pdf-mobile-btn { display: flex !important; }
}

/* ════════════════════════════════════════════════════════════════
   PRINT STYLES
   ════════════════════════════════════════════════════════════════ */
.print-area { display: none; }

@media print {
  body > *:not(.print-area) { display: none !important; }
  .print-area { display: block !important; }

  .print-header {
    display: flex;
    align-items: center;
    gap: 14px;
    padding-bottom: 16px;
    border-bottom: 3px solid #2e7d32;
    margin-bottom: 22px;
  }
  .print-logo     { font-size: 40px; }
  .print-h-title  { font-size: 22px; font-weight: 800; color: #1b5e20; }
  .print-h-date   { font-size: 13px; color: #666; margin-top: 3px; }
  .print-h-count  { font-size: 13px; color: #888; }

  .print-item {
    display: flex;
    gap: 14px;
    padding: 11px 0;
    border-bottom: 1px solid #eee;
    page-break-inside: avoid;
  }
  .print-num  { font-size: 18px; font-weight: 800; color: #2e7d32; min-width: 28px; }
  .print-name { font-size: 16px; font-weight: 700; }
  .print-cats { font-size: 12px; color: #888; margin-top: 3px; }

  .print-meta {
    font-size: 12px;
    color: #555;
    margin-top: 2px;
  }
  .print-footer {
    margin-top: 24px;
    text-align: center;
    font-size: 11px;
    color: #bbb;
    border-top: 1px solid #eee;
    padding-top: 10px;
  }
  .print-item-body { flex: 1; }
}
