:root {
  /* CORE KPI brand palette */
  --navy: #14213d;
  --core-blue: #1e4fff;
  --slate: #2c3a5e;
  --label: #8a93a2;
  --hairline: #e4e7eb;
  --mist: #f1f3f5;

  --bg: var(--mist);
  --panel: #ffffff;
  --panel-2: #eef1f5;
  --ink: var(--navy);
  --muted: var(--label);
  --line: var(--hairline);
  --primary: var(--navy);
  --primary-ink: #ffffff;
  --danger: #e5484d;
  --good: #1f9d55;
  --hot: #e5484d;
  --blue: var(--core-blue);
  --purple: #8b5cf6;
  --yellow: #d99a1b;
  --pink: #fb7185;
  --sale: #1f9d55;
  --shadow: 0 8px 30px rgba(20, 33, 61, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  background: var(--bg);
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

button,
input,
select,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
  transition: transform 0.12s ease, background 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
}

button:active {
  transform: scale(0.96);
}

.card, .stat-card, .quick-card {
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.record, .progress-row, .user-row {
  animation: fadeUp 0.25s ease-out both;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px;
  background: #fafafa;
  color: var(--ink);
  outline: none;
}

input:focus,
select:focus,
textarea:focus {
  border-color: #9ca3af;
  box-shadow: 0 0 0 3px rgba(20, 21, 26, 0.06);
}

textarea {
  min-height: 92px;
  resize: vertical;
}

h1,
h2,
h3,
h4,
p {
  margin: 0;
}

.screen {
  min-height: 100dvh;
  display: grid;
  place-items: center;
  padding: 24px;
}

.auth-card {
  width: min(390px, 100%);
  display: grid;
  gap: 18px;
}

.brand {
  display: grid;
  gap: 9px;
  text-align: center;
}

.brand small,
.eyebrow,
.section-title span,
label,
.muted {
  color: var(--muted);
}

.brand small,
.eyebrow {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.brand h1 {
  font-size: 36px;
  letter-spacing: 0;
}

.card,
.stat-card,
.quick-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: var(--shadow);
}

.card {
  padding: 16px;
}

.stack {
  display: grid;
  gap: 12px;
}

label {
  display: grid;
  gap: 7px;
  font-size: 12px;
  font-weight: 800;
}

.primary,
.secondary,
.ghost,
.danger {
  min-height: 42px;
  border: 1px solid transparent;
  border-radius: 8px;
  padding: 10px 14px;
  font-weight: 800;
}

.primary {
  background: var(--primary);
  color: var(--primary-ink);
}

.secondary,
.ghost {
  border-color: var(--line);
  background: var(--panel-2);
  color: var(--ink);
  overflow: hidden;
  isolation: isolate;
}

.quick-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0.18;
  background: var(--quick-bg, #ffffff);
}

.danger {
  background: rgba(239, 68, 68, 0.12);
  color: #fecaca;
  border-color: rgba(239, 68, 68, 0.35);
}

.error {
  min-height: 18px;
  color: #fca5a5;
  font-size: 13px;
  font-weight: 700;
  text-align: center;
}

.app {
  width: min(560px, 100%);
  min-height: 100dvh;
  margin: 0 auto;
  padding: 18px 14px 92px;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: flex-end;
  margin: -18px -14px 16px;
  padding: 18px 14px 14px;
  background: rgba(247, 248, 250, 0.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(20, 21, 26, 0.08);
}

.topbar h1 {
  font-size: 24px;
  line-height: 1.1;
}

.top-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.pill,
.clock-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 28px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 4px 9px;
  background: var(--panel);
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
  white-space: nowrap;
}

.clock-pill {
  color: var(--ink);
  background: linear-gradient(135deg, rgba(96, 165, 250, 0.28), rgba(34, 197, 94, 0.18));
  border-color: rgba(96, 165, 250, 0.45);
  font-variant-numeric: tabular-nums;
  font-size: 13px;
  min-height: 32px;
  padding: 5px 12px;
  box-shadow: 0 0 0 1px rgba(96, 165, 250, 0.15), 0 2px 10px rgba(0, 0, 0, 0.4);
}

.duration-presets {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.dur-chip {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 7px 14px;
  background: var(--panel-2);
  color: var(--ink);
  font-size: 12px;
  font-weight: 800;
}

.dur-chip.on {
  background: var(--primary);
  color: var(--primary-ink);
  border-color: var(--primary);
}

.countdown {
  font-variant-numeric: tabular-nums;
  font-weight: 800;
  white-space: nowrap;
}

.section {
  display: none;
}

.section.active {
  display: grid;
  gap: 14px;
  animation: fade 0.18s ease-out;
}

@keyframes fade {
  from {
    opacity: 0;
    transform: translateY(4px);
  }
}

.section-title {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: end;
}

.section-title h2 {
  font-size: 24px;
}

.grid-2,
.grid-3,
.grid-4 {
  display: grid;
  gap: 8px;
}

.grid-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.stat-card {
  padding: 12px;
  min-height: 75px;
}

.stat-card span {
  display: block;
  color: var(--muted);
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.stat-card strong {
  display: block;
  margin-top: 7px;
  font-size: 24px;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.stat-card em {
  display: block;
  margin-top: 5px;
  color: var(--muted);
  font-size: 11px;
  font-style: normal;
}

.quick-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.quick-card {
  position: relative;
  min-height: 108px;
  color: var(--ink);
  overflow: hidden;
  isolation: isolate;
}

.quick-hit {
  width: 100%;
  min-height: 108px;
  border: 0;
  padding: 14px;
  display: grid;
  align-content: space-between;
  gap: 10px;
  background: transparent;
  color: inherit;
  text-align: left;
}

.quick-hit b {
  font-size: 15px;
}

.quick-hit span {
  color: var(--muted);
  font-size: 12px;
}

.quick-hit .icon {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  font-weight: 900;
}

.quick-minus {
  position: absolute;
  top: 8px;
  right: 8px;
  z-index: 2;
  width: 30px;
  height: 30px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.42);
  color: #fff;
  font-size: 18px;
  font-weight: 900;
  line-height: 1;
}

.quick-card.sale {
  border-color: rgba(34, 197, 94, 0.55);
  --quick-bg: linear-gradient(135deg, #22c55e, #86efac);
}

.quick-card.hot {
  border-color: rgba(251, 146, 60, 0.55);
  --quick-bg: linear-gradient(135deg, #fb923c, #facc15);
}

.quick-card.blue {
  border-color: rgba(96, 165, 250, 0.55);
  --quick-bg: linear-gradient(135deg, #60a5fa, #a78bfa);
}

.quick-card.purple {
  border-color: rgba(167, 139, 250, 0.55);
  --quick-bg: linear-gradient(135deg, #8b5cf6, #ec4899);
}

.quick-card.red {
  border-color: rgba(248, 113, 113, 0.55);
  --quick-bg: linear-gradient(135deg, #ef4444, #fb923c);
}

.quick-card.yellow {
  border-color: rgba(250, 204, 21, 0.55);
  --quick-bg: linear-gradient(135deg, #facc15, #22c55e);
}

.progress-row,
.record,
.user-row {
  display: grid;
  gap: 8px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}

.progress-row:last-child,
.record:last-child,
.user-row:last-child {
  border-bottom: 0;
}

.row-head,
.record-top {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
}
.bottom-nav {
  display: flex;
  justify-content: space-between;
  gap: 4px;
  align-items: center;
}

.bar {
  height: 7px;
  border-radius: 999px;
  background: var(--panel-2);
  overflow: hidden;
}

.bar > span {
  display: block;
  height: 100%;
  width: 0;
  border-radius: inherit;
  background: var(--primary);
  transition: width 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.chart-grid {
  display: grid;
  gap: 10px;
}

.chart-row {
  display: grid;
  grid-template-columns: 92px 1fr 48px;
  align-items: center;
  gap: 10px;
  min-height: 30px;
  font-size: 12px;
}

.chart-row b {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.chart-row span:last-child {
  color: var(--muted);
  text-align: right;
  font-variant-numeric: tabular-nums;
}

.chart-fill {
  height: 10px;
  border-radius: 999px;
  background: var(--panel-2);
  overflow: hidden;
}

.chart-fill i {
  display: block;
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: var(--fill, linear-gradient(90deg, #f5f5f5, #8a8a8a));
  transition: width 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.mini-bars {
  display: flex;
  align-items: end;
  gap: 6px;
  height: 128px;
  padding-top: 8px;
}

.mini-bar {
  flex: 1;
  display: grid;
  align-content: end;
  gap: 6px;
  min-width: 0;
  color: var(--muted);
  text-align: center;
  font-size: 10px;
}

.mini-bar i {
  display: block;
  min-height: 4px;
  border-radius: 7px 7px 2px 2px;
  background: linear-gradient(180deg, #f5f5f5, #737373);
}

.insight-list {
  display: grid;
  gap: 10px;
}

.insight {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px;
  background: var(--panel-2);
}

.tabs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 4px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 4px;
  background: var(--panel);
}

.tabs button {
  min-height: 34px;
  border: 0;
  border-radius: 7px;
  background: transparent;
  color: var(--muted);
  font-weight: 900;
}

.tabs button.active {
  background: var(--primary);
  color: var(--primary-ink);
}

.form-grid {
  display: grid;
  gap: 12px;
}

.form-actions {
  display: flex;
  gap: 8px;
}

.form-actions > * {
  flex: 1;
}

.record small {
  color: var(--muted);
}

.record p {
  color: #d4d4d4;
  font-size: 13px;
  line-height: 1.4;
}

.log-record {
  position: relative;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px;
  overflow: hidden;
  background: var(--panel-2);
}

.log-record::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 0.24;
  background: var(--log-bg, linear-gradient(135deg, #525252, #171717));
}

.log-record > * {
  position: relative;
  z-index: 1;
}

.log-record.yellow {
  --log-bg: linear-gradient(135deg, #facc15, #22c55e);
}

.log-record.blue {
  --log-bg: linear-gradient(135deg, #60a5fa, #a78bfa);
}

.log-record.purple {
  --log-bg: linear-gradient(135deg, #8b5cf6, #ec4899);
}

.log-record.hot {
  --log-bg: linear-gradient(135deg, #fb923c, #facc15);
}

.log-record.red {
  --log-bg: linear-gradient(135deg, #ef4444, #fb923c);
}

.log-record.sale {
  --log-bg: linear-gradient(135deg, #22c55e, #86efac);
}

.log-actions {
  display: flex;
  gap: 8px;
  align-items: center;
}

.minus-btn {
  width: 30px;
  height: 30px;
  border: 1px solid rgba(239, 68, 68, 0.35);
  border-radius: 8px;
  background: rgba(239, 68, 68, 0.12);
  color: #fecaca;
  font-size: 18px;
  font-weight: 900;
  line-height: 1;
}

.empty {
  padding: 28px 12px;
  color: var(--muted);
  text-align: center;
  border: 1px dashed var(--line);
  border-radius: 8px;
}

.bottom-nav {
  position: fixed;
  left: 50%;
  bottom: 0;
  z-index: 20;
  width: min(560px, 100%);
  transform: translateX(-50%);
  padding: 8px 10px calc(8px + env(safe-area-inset-bottom));
  background: rgba(247, 248, 250, 0.94);
  backdrop-filter: blur(16px);
  border-top: 1px solid rgba(20, 21, 26, 0.08);
  overflow-x: auto;
}

.nav-btn {
  flex: 0 0 auto;
  min-width: 60px;
  min-height: 44px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--muted);
  display: grid;
  gap: 2px;
  place-items: center;
  font-size: 10.5px;
  font-weight: 800;
  white-space: nowrap;
  padding: 4px 10px;
  scroll-snap-align: start;
}

.bottom-nav {
  scroll-snap-type: x proximity;
}

.nav-btn.active {
  background: var(--panel-2);
  color: var(--ink);
}

.wide-actions {
  display: grid;
  gap: 8px;
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.badge-good {
  color: #16a34a;
}

.badge-hot, .badge-danger {
  color: #dc2626;
}

.badge-dmnh {
  color: #6b7280;
}

.badge-low {
  color: #2563eb;
}

.badge-medium {
  color: #ca8a04;
}

.badge-good, .badge-hot, .badge-danger, .badge-dmnh, .badge-low, .badge-medium {
  font-weight: 800;
  font-size: 12px;
}

@media (min-width: 760px) {
  .app {
    width: min(1120px, 100%);
    padding-left: 22px;
    padding-right: 22px;
  }

  .topbar {
    margin-left: -22px;
    margin-right: -22px;
    padding-left: 22px;
    padding-right: 22px;
  }

  .desktop-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 14px;
  }

  .quick-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .bottom-nav {
    width: min(1120px, 100%);
  }
}

.auth-links {
  display: grid;
  gap: 6px;
  margin-top: 4px;
}

.auth-links .ghost {
  font-size: 13px;
  min-height: 36px;
}

.pw-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

.pw-wrap input {
  padding-right: 42px;
}

.pw-eye {
  position: absolute;
  right: 4px;
  width: 32px;
  height: 32px;
  border-radius: 6px;
  background: transparent;
  font-size: 16px;
  opacity: 0.55;
}

.pw-eye.on {
  opacity: 1;
}

.copy-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.copy-row input {
  flex: 1;
  min-width: 60px;
  font-size: 11px;
  font-family: monospace;
  color: var(--muted);
}

.copy-row button {
  flex-shrink: 0;
}

.team-id-box {
  display: grid;
  gap: 7px;
}

.team-code-big {
  text-align: center;
  font-size: 34px;
  font-weight: 900;
  letter-spacing: 0.12em;
  padding: 14px;
  border-radius: 12px;
  background: var(--panel-2);
  border: 1.5px dashed var(--line);
}

.leaderboard {
  display: grid;
  gap: 0;
}

.leaderboard-row {
  display: grid;
  grid-template-columns: 40px 1fr 80px;
  gap: 12px;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
}

.leaderboard-row:last-child {
  border-bottom: 0;
}

.leaderboard-row .rank {
  font-weight: 600;
  color: var(--muted);
  text-align: center;
}

.leaderboard-row .name {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.leaderboard-row .value {
  text-align: right;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
}

.range-buttons {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.range-tabs {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.custom-range-row {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: 10px;
  align-items: end;
}

.custom-range-row .primary {
  min-height: 42px;
}

.funnel {
  display: grid;
  gap: 8px;
}

.funnel-step {
  display: grid;
  gap: 4px;
}

.funnel-step span {
  font-size: 11px;
  color: var(--muted);
}

.funnel-bar {
  height: 32px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  padding: 0 10px;
  font-size: 13px;
  font-weight: 700;
  color: var(--primary-ink);
  min-width: 40px;
}

.personal-goals-card {
  border-color: rgba(34, 197, 94, 0.3);
}

.stat-row-meta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  font-size: 12px;
  color: var(--muted);
  font-weight: 600;
}

.role-select {
  width: auto;
  min-width: 110px;
  padding: 6px 10px;
  font-size: 12px;
  font-weight: 700;
}

/* ════ Calendar Tab ════ */
.cal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.cal-header button {
  min-height: 34px;
  padding: 4px 14px;
  font-size: 18px;
}

.cal-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 4px;
}

.cal-weekdays {
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
  text-align: center;
  text-transform: uppercase;
}

.cal-cell {
  position: relative;
  aspect-ratio: 1;
  border: 1px solid transparent;
  border-radius: 8px;
  background: transparent;
  color: var(--ink);
  font-size: 13px;
  font-weight: 700;
  display: grid;
  place-items: center;
  transition: background 0.15s, transform 0.1s;
}

.cal-cell:not(.empty):hover { background: var(--panel-2); }
.cal-cell:active { transform: scale(0.92); }
.cal-cell.empty { visibility: hidden; }
.cal-cell.today { border-color: var(--ink); }
.cal-cell.selected { background: var(--primary); color: var(--primary-ink); }

.cal-dot {
  position: absolute;
  bottom: 4px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--hot);
}

.cal-cell.selected .cal-dot { background: var(--primary-ink); }

/* ════ Quick Log icon pop ════ */
.quick-hit .icon {
  font-size: 20px;
  background: rgba(255, 255, 255, 0.35);
}

/* ════ Alarm Banner ════ */
.alarm-banner {
  position: fixed;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 999;
  width: min(360px, calc(100% - 24px));
  display: grid;
  gap: 4px;
  padding: 14px 16px;
  border-radius: 12px;
  background: #14151a;
  color: #fff;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
  animation: alarmSlideIn 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.alarm-banner strong { font-size: 15px; }
.alarm-banner span { font-size: 13px; opacity: 0.85; }

.alarm-banner button {
  justify-self: start;
  margin-top: 6px;
  min-height: 30px;
  padding: 4px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
}

@keyframes alarmSlideIn {
  from { opacity: 0; transform: translateX(-50%) translateY(-16px); }
  to { opacity: 1; transform: translateX(-50%) translateY(0); }
}

/* ════ Onboarding ════ */
.onboarding-overlay {
  position: fixed;
  inset: 0;
  z-index: 500;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(20, 21, 26, 0.55);
  backdrop-filter: blur(4px);
  animation: fadeUp 0.25s ease-out;
}

.onboarding-card {
  width: min(360px, 100%);
  display: grid;
  gap: 14px;
  padding: 28px 24px;
  border-radius: 18px;
  background: var(--panel);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  text-align: center;
}

.onboarding-card h2 {
  font-size: 20px;
}

.onboarding-card p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}

.onboarding-dots {
  display: flex;
  justify-content: center;
  gap: 6px;
}

.onboarding-dots span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--line);
}

.onboarding-dots span.on {
  background: var(--ink);
}

/* ════ Calendar hourly groups ════ */
.cal-hour-label {
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  margin-top: 6px;
}

.cal-allday {
  display: grid;
  gap: 8px;
  margin-bottom: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}

/* ════ Calendar day timeline (Google-Calendar-style) ════ */
.cal-timeline {
  position: relative;
  margin-left: 52px;
  border-left: 1px solid var(--line);
}

.cal-tl-hour {
  position: absolute;
  left: -52px;
  right: 0;
  height: 0;
}

.cal-tl-hour-label {
  position: absolute;
  left: 0;
  top: -7px;
  width: 44px;
  font-size: 10px;
  font-weight: 800;
  color: var(--muted);
  text-align: right;
  padding-right: 6px;
}

.cal-tl-hour-line {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  border-top: 1px solid var(--line);
}

.cal-tl-blocks {
  position: relative;
}

.cal-tl-block {
  position: absolute;
  left: 6px;
  right: 6px;
  border-radius: 8px;
  border-left: 4px solid;
  background: var(--panel-2);
  padding: 5px 9px;
  overflow: hidden;
  display: grid;
  gap: 2px;
  align-content: start;
  box-shadow: 0 1px 4px rgba(20, 21, 26, 0.08);
}

.cal-tl-block strong {
  font-size: 12.5px;
  line-height: 1.2;
}

.cal-tl-block span {
  font-size: 11px;
  color: var(--muted);
  line-height: 1.2;
}

.cal-tl-block.conflict {
  border-left-color: #dc2626;
  box-shadow: 0 0 0 1.5px rgba(220, 38, 38, 0.4);
}

.cal-tl-block .badge-danger {
  font-size: 10px;
}

.record.conflict {
  border-left: 3px solid #dc2626;
  padding-left: 9px;
  margin-left: -1px;
}
