/* ─── Live Preview Editor (lpe) ─────────────────────────────────────────────── */
.lpe-container { display:flex;width:100%;height:100%;overflow:hidden;background:#F4F5F7; }
.lpe-editor { width:36%;min-width:300px;max-width:480px;display:flex;flex-direction:column;background:white;border-right:1.5px solid #E5E7EB;overflow:visible; }
.lpe-editor-header { padding:14px 20px;border-bottom:1.5px solid #E5E7EB;display:flex;justify-content:space-between;align-items:center;background:white;flex-shrink:0;gap:10px;flex-wrap:wrap; }
.lpe-editor-scroll { flex:1;overflow-y:auto;padding:24px 24px 48px; }
.lpe-back-btn { background:none;border:none;cursor:pointer;color:#6B7280;padding:6px 10px;border-radius:6px;font-size:13px;font-weight:600;display:flex;align-items:center;gap:6px;transition:background 0.15s; }
.lpe-back-btn:hover { background:#F3F4F6; }
.lpe-editor-title { font-size:16px;font-weight:700;color:#111827;margin:0; }
.lpe-ai-btn { background:linear-gradient(135deg,#6366F1,#8B5CF6);color:white;border:none;padding:7px 13px;border-radius:8px;font-weight:600;cursor:pointer;font-size:12.5px; }
.lpe-preview { flex:1;display:flex;flex-direction:column;overflow:hidden;background:#EAECF0; }
.lpe-preview-label { background:white;border-bottom:1.5px solid #E5E7EB;padding:12px 20px;font-size:13px;font-weight:700;color:#6B7280;flex-shrink:0;text-transform:uppercase;letter-spacing:0.5px; }
.lpe-preview-scroll { flex:1;overflow-y:auto;padding:20px 16px 40px;display:flex;justify-content:center;align-items:flex-start; }
.lpe-doc { background:white;width:100%;max-width:820px;font-family:'Plus Jakarta Sans',sans-serif;font-size:13.5px;color:#111;min-height:860px;border:none;box-shadow:0 1px 4px rgba(0,0,0,0.10); }
.lpe-doc-inner { padding:40px 48px 60px; }
.lpe-doc-titlerow { display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:22px; }
.lpe-doc-doctype { font-size:24px;font-weight:700;color:#111;line-height:1; }
.lpe-doc-company-right { font-size:20px;font-weight:600;color:#AAAAAA;text-align:right;line-height:1; }
.lpe-doc-metablock { margin-bottom:28px; }
.lpe-doc-metarow { display:flex;justify-content:space-between;gap:12px;font-size:13px;line-height:1.9;border-bottom:1px solid #F3F4F6;padding:1px 0; }
.lpe-doc-metalabel { color:#6B7280;flex-shrink:0;font-size:12px;text-transform:uppercase;letter-spacing:0.3px;font-weight:600; }
.lpe-doc-metaval { color:#111;font-weight:600;text-align:right; }
.lpe-doc-addrblock { display:grid;grid-template-columns:1fr 1fr;gap:0;margin-bottom:0;padding-bottom:24px;border-bottom:1px solid #E0E0E0; }
.lpe-doc-addr-company-name { font-size:13.5px;font-weight:700;color:#111;margin-bottom:3px; }
.lpe-doc-addr-label { font-size:13.5px;font-weight:700;color:#111;margin-bottom:3px; }
.lpe-doc-addr-line { font-size:13px;color:#333;line-height:1.65; }
.lpe-doc-summary-line { font-size:22px;font-weight:700;color:#111;margin:24px 0 6px;line-height:1.3; }
.lpe-doc-desc-note { font-size:13px;color:#555;margin-bottom:24px;font-style:italic; }
.lpe-doc-empty { text-align:center;padding:32px;color:#9CA3AF;font-size:13px;border:1.5px dashed #E5E7EB;border-radius:8px;margin:16px 0; }
.lpe-doc-items { width:100%;border-collapse:collapse;font-size:13.5px;margin-bottom:0; }
.lpe-doc-items thead tr { border-bottom:2px solid #111; }
.lpe-doc-items th { padding:8px 0;text-align:left;font-size:13px;font-weight:400;color:#555;border:none; }
.lpe-doc-items th.r,.lpe-doc-items td.r { text-align:right; }
.lpe-doc-items th.c,.lpe-doc-items td.c { text-align:right; }
.lpe-doc-items td { padding:11px 0;border-bottom:1px solid #EBEBEB;color:#111;vertical-align:top;border-top:none;border-left:none;border-right:none; }
.lpe-doc-items tr:last-child td { border-bottom:none; }
.lpe-doc-totalsblock { display:flex;justify-content:flex-end;padding-top:8px;border-top:1px solid #EBEBEB;margin-top:0; }
.lpe-doc-totals-inner { width:320px; }
.lpe-doc-trow { display:flex;justify-content:space-between;padding:5px 0;font-size:13.5px;color:#111;border-bottom:1px solid #EBEBEB; }
.lpe-doc-trow:last-child { border-bottom:none;font-weight:800;font-size:14px;padding-top:8px; }
.lpe-doc-trow.deduct { color:#333; }
.lpe-doc-footer-rule { border:none;border-top:1px solid #D0D0D0;margin:40px 0 0; }
.lpe-doc-footer-pg { text-align:right;font-size:12px;color:#AAA;padding:8px 0 0; }
#offerPreviewDoc, #invoicePreviewDoc { width:100%;max-width:820px; }

/* ─── Card ─────────────────────────────────────────────────────────────────── */
.card {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
}

/* ─── Buttons ──────────────────────────────────────────────────────────────── */
.btn {
  border: 1px solid var(--line, #E5E7EB);
  border-radius: 8px;
  background: var(--surface, #fff);
  padding: 8px 14px;
  cursor: pointer;
  font-size: 13px;
  font-weight: 500;
  font-family: inherit;
  color: #374151;
  transition: background .15s, border-color .15s;
  white-space: nowrap;
}
.btn:hover { background: #F9FAFB; }

.btn-primary {
  background: #1B4B8A !important;
  color: #fff !important;
  border-color: #1B4B8A !important;
}
.btn-primary:hover { background: #153d72 !important; }

.btn-danger {
  background: #FEF2F2 !important;
  color: #DC2626 !important;
  border-color: #FECACA !important;
}
.btn-danger:hover { background: #FEE2E2 !important; }

.btn-secondary {
  background: #fff !important;
  color: #374151 !important;
  border-color: #D1D5DB !important;
}
.btn-secondary:hover { background: #F9FAFB !important; }

.btn-icon {
  padding: 5px 10px;
  font-size: 12px;
}

.top-nav-btn.active,
.top-nav-item.active {
  background: #1b4b8a;
  color: #fff;
  border-color: #1b4b8a;
}

/* ─── Form elements ────────────────────────────────────────────────────────── */
.form-group {
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin-bottom: 12px;
}
.form-group label {
  font-size: 12px;
  font-weight: 600;
  color: #374151;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}
.form-group input,
.form-group select,
.form-group textarea {
  padding: 10px 12px;
  border: 1px solid #D1D5DB;
  border-radius: 8px;
  font-size: 14px;
  font-family: inherit;
  color: #111827;
  transition: border-color .15s;
  width: 100%;
  box-sizing: border-box;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #1B4B8A;
  box-shadow: 0 0 0 3px rgba(27,75,138,.1);
}

/* ─── Table ────────────────────────────────────────────────────────────────── */
.table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
  color: #374151;
}
.table thead tr {
  background: #F9FAFB;
  border-bottom: 1px solid #E5E7EB;
}
.table thead th {
  padding: 9px 14px;
  text-align: left;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #6B7280;
  white-space: nowrap;
}
.table tbody tr {
  border-bottom: 1px solid #F3F4F6;
  transition: background .1s;
}
.table tbody tr:last-child { border-bottom: none; }
.table tbody tr:hover { background: #F9FAFB; }
.table tbody td {
  padding: 10px 14px;
  vertical-align: middle;
}
.table-responsive {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

/* ─── Badge ─────────────────────────────────────────────────────────────────── */
.badge {
  display: inline-block;
  padding: 3px 9px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.02em;
  white-space: nowrap;
}
/* offer / invoice statuses */
.badge-draft     { background: #F3F4F6; color: #374151; }
.badge-sent      { background: #DBEAFE; color: #1D4ED8; }
.badge-signed    { background: #D1FAE5; color: #065F46; }
.badge-invoiced  { background: #EDE9FE; color: #5B21B6; }
.badge-paid      { background: #D1FAE5; color: #065F46; }
.badge-overdue   { background: #FEE2E2; color: #DC2626; }
.badge-cancelled { background: #F3F4F6; color: #9CA3AF; }
/* job statuses */
.badge-active    { background: #DCFCE7; color: #166534; }
.badge-planned   { background: #DBEAFE; color: #1D4ED8; }
.badge-done      { background: #F3F4F6; color: #374151; }
/* leave / shift */
.badge-approved  { background: #D1FAE5; color: #065F46; }
.badge-pending   { background: #FEF3C7; color: #92400E; }
.badge-rejected  { background: #FEE2E2; color: #DC2626; }

/* ─── Modal ────────────────────────────────────────────────────────────────── */
.modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(0, 0, 0, .45);
  align-items: center;
  justify-content: center;
  padding: 16px;
  overflow-y: auto;
}
.modal.active {
  display: flex;
}
.modal-content {
  background: #fff;
  border-radius: 14px;
  width: 100%;
  padding: 24px;
  box-shadow: 0 20px 60px rgba(0,0,0,.2);
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
}
.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 18px;
}
.modal-title {
  margin: 0;
  font-size: 18px;
  font-weight: 700;
  color: #111827;
  line-height: 1.3;
}
.modal-close {
  background: none;
  border: none;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  color: #9CA3AF;
  padding: 0 4px;
  flex-shrink: 0;
}
.modal-close:hover { color: #374151; }

/* ══════════════════════════════════════════════════════════════
   JOB DETAIL POPUP
   ══════════════════════════════════════════════════════════════ */

/* Backdrop */
.jdp-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 1200;
  background: rgba(17,24,39,0.44);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  align-items: center;
  justify-content: center;
  padding: 16px;
}
.jdp-backdrop.active { display: flex; }

/* Popup shell */
.jdp-shell {
  position: relative;
  width: 380px;
  min-width: 360px;
  max-width: 400px;
  max-height: 88vh;
  background: #FFFFFF;
  border: 1px solid #E5E7EB;
  border-radius: 16px;
  box-shadow: 0 18px 44px rgba(16,24,40,0.18), 0 4px 12px rgba(16,24,40,0.08);
  display: flex;
  flex-direction: column;
  overflow: hidden;

  /* Open animation */
  opacity: 0;
  transform: translateY(8px) scale(0.98);
  transition: opacity 140ms ease-out, transform 140ms ease-out;
}
.jdp-backdrop.active .jdp-shell {
  opacity: 1;
  transform: translateY(0) scale(1);
}
.jdp-backdrop.closing .jdp-shell {
  opacity: 0;
  transform: translateY(4px) scale(0.99);
  transition: opacity 110ms ease-in, transform 110ms ease-in;
}

/* Header */
.jdp-header {
  flex-shrink: 0;
  position: sticky;
  top: 0;
  z-index: 2;
  background: #fff;
  padding: 18px 20px 14px;
  border-bottom: 1px solid #F1F5F9;
  display: flex;
  align-items: flex-start;
  gap: 12px;
}
.jdp-header-left  { flex: 1; min-width: 0; }
.jdp-header-title {
  font-size: 20px;
  font-weight: 700;
  line-height: 1.25;
  color: #111827;
  margin: 0 0 4px;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}
.jdp-header-sub {
  font-size: 13px;
  font-weight: 500;
  color: #6B7280;
  margin: 0;
}
.jdp-status-badge {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 999px;
  margin-bottom: 6px;
}
.jdp-close {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  color: #9CA3AF;
  font-size: 14px;
  transition: background .12s, color .12s;
  margin-top: 2px;
}
.jdp-close:hover { background: #F3F4F6; color: #4B5563; }
.jdp-close:focus-visible { outline: 2px solid #93C5FD; }

/* Scrollable body */
.jdp-body {
  flex: 1;
  overflow-y: auto;
  padding: 4px 0;
}

/* Sections */
.jdp-section {
  padding: 14px 20px;
  border-bottom: 1px solid #F1F5F9;
}
.jdp-section:last-child { border-bottom: none; }
.jdp-section-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #9CA3AF;
  margin-bottom: 8px;
}

/* A – Completion */
.jdp-completion {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #F9FAFB;
  border: 1px solid #E5E7EB;
  border-radius: 10px;
  padding: 10px 12px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
  color: #374151;
  user-select: none;
  transition: background .12s;
}
.jdp-completion:hover { background: #F3F4F6; }
.jdp-completion input[type="checkbox"] {
  width: 16px; height: 16px;
  accent-color: #059669;
  cursor: pointer;
  flex-shrink: 0;
}
.jdp-completion.checked { color: #065F46; }

/* B – Details rows */
.jdp-detail-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 4px 0;
  font-size: 13px;
  color: #4B5563;
}
.jdp-detail-link {
  font-weight: 600;
  color: #1B4B8A;
  cursor: pointer;
  text-decoration: none;
}
.jdp-detail-link:hover { text-decoration: underline; }
.jdp-detail-note {
  font-size: 13px;
  color: #4B5563;
  line-height: 1.55;
  margin-top: 4px;
}

/* C – Team chips */
.jdp-team-row { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.jdp-chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  height: 30px;
  padding: 0 10px;
  background: #F3F4F6;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  color: #374151;
}
.jdp-chip-avatar {
  width: 18px; height: 18px;
  background: #D1D5DB;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
  color: #374151;
  flex-shrink: 0;
}
.jdp-chip-more {
  border: 1.5px dashed #D1D5DB;
  background: transparent;
  transition: background .12s, border-color .12s;
}
.jdp-chip-more:hover { background: #E5E7EB; border-color: #E5E7EB; }

/* D – Location */
.jdp-location {
  display: flex;
  align-items: flex-start;
  gap: 7px;
  font-size: 13px;
  color: #374151;
  line-height: 1.5;
}
.jdp-location svg { flex-shrink: 0; margin-top: 2px; }

/* E – Time grid */
.jdp-time-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.jdp-time-card {
  background: #F9FAFB;
  border: 1px solid #E5E7EB;
  border-radius: 10px;
  padding: 10px 12px;
}
.jdp-time-label  { font-size: 11px; font-weight: 700; text-transform: uppercase; color: #9CA3AF; letter-spacing: 0.04em; margin-bottom: 3px; }
.jdp-time-date   { font-size: 13px; font-weight: 600; color: #1F2937; }
.jdp-time-clock  { font-size: 13px; font-weight: 500; color: #4B5563; }

/* F – Line items */
.jdp-item-row {
  display: flex;
  align-items: center;
  padding: 9px 0;
  border-bottom: 1px solid #F1F5F9;
  font-size: 13px;
  color: #374151;
  gap: 8px;
}
.jdp-item-row:last-of-type { border-bottom: none; }
.jdp-item-qty   { font-weight: 600; color: #6B7280; min-width: 28px; flex-shrink: 0; }
.jdp-item-name  { flex: 1; font-weight: 500; }
.jdp-item-price { font-weight: 600; text-align: right; white-space: nowrap; }
.jdp-item-total-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 10px;
  border-top: 1px solid #E5E7EB;
  margin-top: 4px;
}
.jdp-item-total-label { font-size: 15px; font-weight: 700; color: #111827; }
.jdp-item-total-val   { font-size: 16px; font-weight: 800; color: #111827; }

/* Footer */
.jdp-footer {
  flex-shrink: 0;
  position: sticky;
  bottom: 0;
  background: #fff;
  border-top: 1px solid #E5E7EB;
  padding: 14px 20px;
  display: flex;
  gap: 10px;
  justify-content: flex-end;
}
.jdp-btn {
  height: 40px;
  padding: 0 18px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
  transition: background .12s, border-color .12s;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.jdp-btn:focus-visible { outline: 2px solid #93C5FD; }
.jdp-btn-secondary {
  background: #FFFFFF;
  border: 1.5px solid #D1D5DB;
  color: #374151;
}
.jdp-btn-secondary:hover { background: #F9FAFB; }
.jdp-btn-primary {
  background: #1B4B8A;
  border: 1.5px solid #1B4B8A;
  color: #fff;
}
.jdp-btn-primary:hover { background: #163D71; border-color: #163D71; }

/* Responsive */
@media (max-width: 600px) {
  .jdp-shell { width: 92vw; min-width: unset; max-width: 520px; max-height: 86vh; border-radius: 14px; }
}
@media (max-width: 360px) {
  .jdp-footer { flex-direction: column; }
  .jdp-btn    { width: 100%; justify-content: center; }
}

/* ─── Form helpers (återanvändbara i alla modaler) ──────────── */
.form-label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 6px;
}
.form-input,
.form-textarea {
  width: 100%;
  box-sizing: border-box;
  padding: 0 14px;
  border: 1.5px solid var(--line);
  border-radius: 8px;
  font-size: 14px;
  font-family: inherit;
  color: var(--text);
  outline: none;
  background: var(--surface);
  transition: border-color .15s, box-shadow .15s;
}
.form-input { height: 44px; }
.form-textarea {
  padding: 12px 14px;
  resize: vertical;
  line-height: 1.65;
}
.form-input:focus,
.form-textarea:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(27,75,138,0.1);
}

/* ─── Send-modal (faktura & offert) ─────────────────────────── */
.send-modal-wrap {
  max-width: 640px;
  overflow: hidden;
  border-radius: 14px;
}
.send-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px 16px;
  border-bottom: 1px solid var(--line);
}
.send-modal-subtitle {
  margin: 4px 0 0;
  font-size: 13px;
  color: var(--muted);
}
.send-modal-body {
  padding: 20px 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.send-modal-footer {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
  padding: 16px 24px;
  border-top: 1px solid var(--line);
  background: #FAFAFA;
}
.send-modal-email-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1.5px solid var(--line);
  border-radius: 8px;
  padding: 6px 12px;
  background: #FAFAFA;
  transition: border-color .15s, box-shadow .15s;
}
.send-modal-email-wrap:focus-within {
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(27,75,138,0.1);
}
.send-modal-email-input {
  flex: 1;
  border: none;
  background: transparent;
  font-size: 14px;
  font-weight: 600;
  color: var(--brand);
  outline: none;
  font-family: inherit;
}
.send-modal-attachment {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  border: 1.5px solid var(--line);
  border-radius: 8px;
  background: #FAFAFA;
}
.send-modal-attachment-icon {
  width: 36px;
  height: 36px;
  background: #FEE2E2;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.send-modal-attachment-info  { flex: 1; min-width: 0; }
.send-modal-attachment-name  { font-size: 13px; font-weight: 600; color: var(--text); }
.send-modal-attachment-meta  { font-size: 11px; color: var(--muted); margin-top: 2px; }
.send-modal-pdf-status       { display: flex; align-items: center; gap: 5px; flex-shrink: 0; }
.send-modal-pdf-dot          { width: 8px; height: 8px; border-radius: 50%; background: #D1D5DB; transition: background .3s; }
.send-modal-pdf-label        { font-size: 11px; color: var(--muted); font-weight: 500; }
.send-modal-copy-label {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  font-size: 13px;
  color: #374151;
  user-select: none;
}
.send-modal-copy-label input[type="checkbox"] {
  width: 15px;
  height: 15px;
  accent-color: var(--brand);
  cursor: pointer;
}

/* ══════════════════════════════════════════════════════════════
   MONTHLY CALENDAR
   ══════════════════════════════════════════════════════════════ */

/* Day-name header row */
.cal-header {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  background: #F9FAFB;
  border-bottom: 1.5px solid #E5E7EB;
}
.cal-header-cell {
  padding: 9px 0;
  text-align: center;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: #6B7280;
}
.cal-weekend-label { color: #9CA3AF; }

/* Week row */
.cal-week { border-bottom: 1px solid #E5E7EB; }
.cal-week-last { border-bottom: none; }

/* Date-number row inside each week */
.cal-dates-row {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
}
.cal-date-cell {
  padding: 7px 9px 5px;
  border-right: 1px solid #F3F4F6;
  min-height: 38px;
  cursor: pointer;
  transition: background .12s;
}
.cal-date-cell:last-child { border-right: none; }
.cal-date-cell:hover { background: #F0F5FF; }

/* Modifier states */
.cal-out            { background: #FAFAFA !important; cursor: default !important; }
.cal-out:hover      { background: #FAFAFA !important; }
.cal-weekend-day    { background: #FCFCFC; }
.cal-today          { background: #EFF6FF; }

/* Date number badge */
.cal-date-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  font-size: 13px;
  font-weight: 600;
  color: #374151;
  border-radius: 50%;
}
.cal-date-today {
  background: #1B4B8A;
  color: #fff;
  font-weight: 700;
}

/* Events layer — children are absolutely positioned */
.cal-events-layer {
  position: relative;
  overflow: hidden;
}
