/* ==========================================================================
   Club Baloncesto Cártama - Estilos de la Página de Calendario (Motor Completo)
   ========================================================================== */

:root {
  /* Paleta específica por equipo del CB Cártama */
  --c-minm: #0f8b8d;
  --c-minf: #6f9a1a;
  --c-infm: #1f78c8;
  --c-inff: #d4561c;
  --c-cadm: #b7791f;
  --c-junm: #7b4bc4;
  --c-senm: #3f4e5c;
  --c-senf: #b83280;
  --c-sm35: #8d5b3b;

  /* Estados y severidad */
  --cal-bad: #ef4444;
  --cal-bad-ink: #991b1b;
  --cal-bad-bg: rgba(239, 68, 68, 0.1);

  --cal-warn: #f59e0b;
  --cal-warn-ink: #92400e;
  --cal-warn-bg: rgba(245, 158, 11, 0.12);

  --cal-pend: #64748b;
  --cal-pend-ink: #334155;
  --cal-pend-bg: rgba(100, 116, 139, 0.12);

  --cal-win: #15803d;
  --cal-loss: #b91c1c;

  /* Cuadrícula de calendario mensual */
  --cal-month: var(--primary);
  --cal-wd: #f1f5f9;
  --cal-wdink: #334155;
  --cal-day: #ffffff;
  --cal-we: #f8fafc;
  --cal-out: #f8fafc;
  --cal-outink: #cbd5e1;
  --cal-past: #f8fafc;
  --cal-pastink: #94a3b8;
  --cal-line: #e2e8f0;
  --cal-hol: #fed7aa;
  --cal-holink: #9a3412;
  --cal-today: #fef08a;
  --cal-todayink: #1e293b;
  --cal-todayline: var(--primary);
}

.cal-page-body {
  background-color: #f8fafc;
  color: var(--dark);
}

.cal-wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.2rem;
}

/* --------------------------------------------------------------------------
   1. HERO BANNER COMPACTO Y ELEGANTE
   -------------------------------------------------------------------------- */
.cal-hero-section {
  background: linear-gradient(135deg, var(--primary) 0%, #064024 100%);
  color: var(--white);
  margin-top: 70px;
  padding: 2.2rem 1.2rem 2rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(10, 92, 54, 0.2);
}

.cal-hero-section::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: radial-gradient(circle at 80% 20%, rgba(251, 192, 45, 0.15) 0%, transparent 60%);
  pointer-events: none;
}

.cal-hero-badge {
  display: inline-block;
  background-color: var(--secondary);
  color: #1e293b;
  padding: 0.3rem 1rem;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  margin-bottom: 0.8rem;
}

.cal-hero-section h1 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  text-transform: uppercase;
  font-weight: 900;
  margin: 0 0 0.6rem;
  letter-spacing: -0.5px;
}

.cal-hero-section h1 span {
  color: var(--secondary);
}

.cal-hero-section p {
  font-size: 1.05rem;
  max-width: 640px;
  margin: 0 auto 1.4rem;
  opacity: 0.92;
  line-height: 1.5;
}

.cal-hero-cta {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.cal-hero-section .status {
  width: 100%;
  color: #fef08a;
  font-weight: 700;
  font-size: 0.85rem;
  min-height: 1.2em;
  margin-top: 4px;
}

/* --------------------------------------------------------------------------
   2. BARRA DE PESTAÑAS (TABSBAR) RESPONSIVA
   -------------------------------------------------------------------------- */
.tabsbar {
  position: sticky;
  top: 70px;
  z-index: 50;
  background: #084327;
  border-bottom: 2px solid rgba(251, 192, 45, 0.3);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

.tabs {
  display: flex;
  gap: 4px;
  overflow-x: auto;
  white-space: nowrap;
  padding: 4px 0;
  -webkit-overflow-scrolling: touch;
}

.tab {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  border: 0;
  background: transparent;
  cursor: pointer;
  color: rgba(255, 255, 255, 0.85);
  font-family: var(--font-primary);
  font-weight: 700;
  font-size: 0.92rem;
  border-radius: 8px;
  transition: all var(--transition);
}

.tab:hover {
  color: var(--white);
  background-color: rgba(255, 255, 255, 0.1);
}

.tab i {
  font-size: 0.92rem;
  opacity: 0.85;
}

.tab[aria-selected="true"] {
  color: #1e293b;
  background-color: var(--secondary);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

.tab[aria-selected="true"] i {
  opacity: 1;
}

.tab .n {
  min-width: 20px;
  padding: 2px 6px;
  border-radius: 99px;
  background: #ef4444;
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 800;
  text-align: center;
}

.tab[aria-selected="true"] .n {
  background: #1e293b;
  color: var(--secondary);
}

/* --------------------------------------------------------------------------
   3. SELECTOR DE EQUIPOS (CHIPS)
   -------------------------------------------------------------------------- */
.picker {
  padding: 1.5rem 0 1rem;
}

.picker-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.picker-head h2 {
  margin: 0 auto 0 0;
  font-size: 0.95rem;
  font-weight: 800;
  color: #475569;
  text-transform: uppercase;
  letter-spacing: 0.8px;
}

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

.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 38px;
  padding: 5px 12px 5px 8px;
  border-radius: 99px;
  border: 1.5px solid #cbd5e1;
  background: var(--white);
  color: #475569;
  cursor: pointer;
  font-family: var(--font-primary);
  font-size: 0.86rem;
  font-weight: 600;
  transition: all var(--transition);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}

.chip:hover {
  border-color: var(--tc);
  color: var(--dark);
}

.chip .dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 2px solid var(--tc);
  background: transparent;
  flex: none;
}

.chip small {
  font-size: 0.75rem;
  background: #f1f5f9;
  padding: 2px 6px;
  border-radius: 50px;
  font-weight: 700;
  color: #64748b;
}

.chip.on {
  border-color: var(--tc);
  background: color-mix(in srgb, var(--tc) 12%, var(--white));
  color: #0f172a;
  font-weight: 700;
}

.chip.on .dot {
  background: var(--tc);
}

.chip.on small {
  background: color-mix(in srgb, var(--tc) 25%, var(--white));
  color: #0f172a;
}

.btn.small {
  min-height: 32px;
  padding: 4px 12px;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: none;
  border-radius: 8px;
  border: 1.5px solid #cbd5e1;
  background: var(--white);
  cursor: pointer;
  transition: all var(--transition);
}

.btn.small:hover {
  border-color: var(--primary);
  color: var(--primary);
}

/* --------------------------------------------------------------------------
   4. ÁREA DE VISTAS Y CONTENEDOR PRINCIPAL
   -------------------------------------------------------------------------- */
#view {
  padding: 0.8rem 0 3rem;
  min-height: 45vh;
}

.sum {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 1rem;
  align-items: center;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: 99px;
  font-weight: 700;
  font-size: 0.82rem;
  border: 1px solid #cbd5e1;
  background: var(--white);
  color: #334155;
  box-shadow: 0 1px 2px rgba(0,0,0,0.04);
}

.pill.bad {
  color: var(--cal-bad-ink);
  background: var(--cal-bad-bg);
  border-color: rgba(239, 68, 68, 0.3);
}

.pill.ok {
  color: var(--cal-win);
  border-color: rgba(21, 128, 61, 0.3);
  background: rgba(21, 128, 61, 0.08);
}

.push {
  margin-left: auto;
}

/* Leyendas */
.legend {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  margin: 10px 0 14px;
  font-size: 0.82rem;
  color: #64748b;
  align-items: center;
}

.legend.teams {
  background: var(--white);
  padding: 10px 14px;
  border-radius: 10px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 1px 3px rgba(0,0,0,0.03);
}

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

.sw {
  width: 14px;
  height: 12px;
  border-radius: 3px;
  background: var(--white);
  display: inline-block;
  border: 1px solid #cbd5e1;
}

.sw.today {
  background: var(--cal-today);
  border-color: #ca8a04;
}

.sw.hol {
  background: var(--cal-hol);
  border-color: #ea580c;
}

/* --------------------------------------------------------------------------
   5. CUADRÍCULA DE MESES (VISTA CALENDARIO MES A MES)
   -------------------------------------------------------------------------- */
.cal-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  align-items: start;
}

@media (max-width: 1080px) {
  .cal-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 680px) {
  .cal-grid {
    grid-template-columns: 1fr;
  }
}

.mon {
  background: var(--white);
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.04);
}

.mon h3 {
  margin: 0;
  padding: 8px 10px;
  background: var(--primary);
  color: #ffffff;
  text-align: center;
  font-size: 0.88rem;
  font-weight: 800;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.wdays, .days {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
}

.wdays span {
  padding: 5px 0;
  background: #f1f5f9;
  color: #475569;
  text-align: center;
  font-weight: 800;
  font-size: 0.76rem;
  border-bottom: 1px solid #e2e8f0;
}

.d {
  position: relative;
  min-height: 52px;
  margin: 0;
  padding: 3px 1px;
  border: 0;
  border-top: 1px solid #f1f5f9;
  border-left: 1px solid #f1f5f9;
  background: #ffffff;
  color: #1e293b;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 2px;
  font-family: inherit;
  font-size: 0.82rem;
}

.d:nth-child(7n+1) {
  border-left: 0;
}

.d.we {
  background: #f8fafc;
}

.d.out {
  background: #f8fafc;
  color: #cbd5e1;
}

.d.hol {
  background: var(--cal-hol);
  color: var(--cal-holink);
  font-weight: 800;
}

.d.past {
  background: #f8fafc;
  color: #94a3b8;
}

.d.past .n {
  text-decoration: line-through;
}

.d.today {
  background: var(--cal-today);
  color: var(--cal-todayink);
  font-weight: 800;
  outline: 2px solid var(--primary);
  outline-offset: -2px;
  z-index: 1;
}

.d.has {
  cursor: pointer;
  transition: all 0.15s ease;
}

.d.has:hover, .d.has:focus-visible {
  box-shadow: inset 0 0 0 2px var(--primary);
  background-color: #ecfdf5;
}

.balls {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2px;
  max-width: 100%;
  padding-top: 2px;
}

.ball {
  width: 13px;
  height: 13px;
  flex: none;
}

.ball circle {
  fill: var(--tc);
  stroke: rgba(0, 0, 0, 0.35);
  stroke-width: 1;
}

.ball path {
  fill: none;
  stroke: rgba(0, 0, 0, 0.35);
  stroke-width: 0.8;
}

.d.past .ball {
  opacity: 0.55;
}

/* --------------------------------------------------------------------------
   6. VISTA FIN DE SEMANA Y TIMELINE
   -------------------------------------------------------------------------- */
.wk-nav {
  display: flex;
  gap: 8px;
  align-items: center;
  margin-bottom: 1rem;
}

.wk-nav select {
  flex: 1 1 auto;
  min-width: 0;
  min-height: 38px;
  padding: 4px 10px;
  border-radius: 8px;
  border: 1.5px solid #cbd5e1;
  background: var(--white);
  font-family: inherit;
  font-size: 0.9rem;
  font-weight: 600;
  color: #1e293b;
}

.wk-title {
  margin: 1rem 0 0.6rem;
  font-size: 1.25rem;
  font-weight: 900;
  color: var(--primary);
  text-transform: uppercase;
}

.rests-box {
  margin: 12px 0 16px;
  padding: 10px 14px;
  border-radius: 8px;
  background: #f1f5f9;
  border-left: 4px solid #64748b;
  font-size: 0.88rem;
  color: #334155;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
  align-items: center;
}

.rests-box strong {
  color: #0f172a;
}

.rest-tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: var(--white);
  padding: 2px 8px;
  border-radius: 99px;
  font-size: 0.8rem;
  font-weight: 600;
  border: 1px solid #cbd5e1;
}

.rest-tag i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--tc);
}

.tl-scroll {
  overflow-x: auto;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  background: var(--white);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.04);
}

.tl {
  display: grid;
}

.tl-corner {
  border-bottom: 1px solid #e2e8f0;
  background: #f8fafc;
}

.tl-head {
  padding: 8px 10px;
  border-bottom: 1px solid #e2e8f0;
  border-left: 1px solid #e2e8f0;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 6px;
  background: #f8fafc;
}

.tl-head .dn {
  font-weight: 900;
  font-size: 1rem;
  color: var(--dark);
  text-transform: capitalize;
}

.tl-head .dd {
  font-weight: 900;
  font-size: 1rem;
  color: var(--primary);
}

.tl-head .dm {
  font-size: 0.8rem;
  color: #64748b;
  text-transform: capitalize;
}

.tl-head.today {
  background: #fef9c3;
}

.ev-tbd {
  flex: 1 0 100%;
  text-align: left;
  margin-top: 4px;
  padding: 5px 8px;
  border-radius: 6px;
  border: 1px dashed var(--cal-pend);
  background: var(--cal-pend-bg);
  color: #1e293b;
  font-size: 0.78rem;
  line-height: 1.3;
  cursor: pointer;
  border-left: 4px solid var(--tc);
}

.tl-axis {
  position: relative;
  background: #f8fafc;
}

.tl-axis span {
  position: absolute;
  right: 6px;
  transform: translateY(-50%);
  font-size: 0.72rem;
  color: #64748b;
  font-variant-numeric: tabular-nums;
  font-weight: 700;
}

.tl-col {
  position: relative;
  border-left: 1px solid #e2e8f0;
}

.ev {
  position: absolute;
  z-index: 1;
  display: block;
  padding: 4px 6px;
  border: 0;
  border-left: 4px solid var(--tc);
  border-radius: 6px;
  background: color-mix(in srgb, var(--tc) 15%, #ffffff);
  color: #0f172a;
  text-align: left;
  cursor: pointer;
  overflow: hidden;
  font-size: 0.76rem;
  line-height: 1.25;
  box-shadow: 0 1px 2px rgba(0,0,0,0.08);
}

.ev b {
  display: block;
  font-size: 0.8rem;
  font-weight: 800;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ev .r {
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-size: 0.74rem;
}

.ev .h {
  display: block;
  margin-top: 1px;
  font-variant-numeric: tabular-nums;
  color: #475569;
  font-weight: 700;
  font-size: 0.72rem;
}

/* --------------------------------------------------------------------------
   7. LISTADO DE PARTIDOS EN FILAS (CARDS)
   -------------------------------------------------------------------------- */
.day-h {
  margin: 1.5rem 0 0.6rem;
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--primary);
  text-transform: capitalize;
}

.list {
  list-style: none;
  margin: 0;
  padding: 0;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  overflow: hidden;
  background: var(--white);
  box-shadow: 0 1px 3px rgba(0,0,0,0.03);
}

.row {
  display: grid;
  grid-template-columns: 80px minmax(0, 1fr);
  grid-template-areas: "when what" "when meta";
  gap: 4px 10px;
  padding: 12px 14px;
  border-left: 5px solid var(--tc);
  border-bottom: 1px solid #f1f5f9;
  transition: background 0.15s ease;
}

.row:hover {
  background-color: #f8fafc;
}

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

.row.past {
  opacity: 0.75;
}

.row.flash {
  outline: 3px solid var(--primary);
  outline-offset: -3px;
}

.row.rest {
  background: transparent;
  color: #64748b;
  grid-template-areas: "when what";
}

.when {
  grid-area: when;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.when .wd {
  font-size: 0.78rem;
  font-weight: 700;
  color: #64748b;
}

.when .t {
  font-weight: 900;
  font-size: 1.25rem;
  font-variant-numeric: tabular-nums;
  color: #0f172a;
}

.when .tbd {
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--cal-pend-ink);
}

.what {
  grid-area: what;
  min-width: 0;
}

.what .ttl {
  font-weight: 800;
  font-size: 0.98rem;
  line-height: 1.3;
  color: #0f172a;
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-right: 6px;
  font-size: 0.8rem;
  font-weight: 700;
  color: #64748b;
}

.tag i {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--tc);
}

.venue {
  margin-top: 3px;
  font-size: 0.85rem;
  color: #475569;
}

.venue .muted {
  margin-left: 4px;
}

.meta {
  grid-area: meta;
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  align-items: center;
}

.b {
  display: inline-flex;
  align-items: center;
  padding: 2px 8px;
  border-radius: 99px;
  font-size: 0.74rem;
  font-weight: 700;
  line-height: 1.4;
  border: 1px solid #cbd5e1;
  background: var(--white);
  color: #1e293b;
  white-space: nowrap;
}

.b.home {
  background: rgba(10, 92, 54, 0.1);
  border-color: var(--primary);
  color: var(--primary);
}

.b.win {
  color: var(--cal-win);
  border-color: rgba(21, 128, 61, 0.4);
  background: rgba(21, 128, 61, 0.08);
}

.b.loss {
  color: var(--cal-loss);
  border-color: rgba(185, 28, 28, 0.4);
  background: rgba(185, 28, 28, 0.08);
}

.b.today {
  background: var(--secondary);
  border-color: #ca8a04;
  color: #1e293b;
}

.map {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--primary);
  text-decoration: underline;
  margin-left: 6px;
}

@media (min-width: 720px) {
  .row {
    grid-template-columns: 95px minmax(0, 1fr) auto;
    grid-template-areas: "when what meta";
    align-items: center;
  }
  .row.rest {
    grid-template-columns: 95px minmax(0, 1fr);
    grid-template-areas: "when what";
  }
  .meta {
    justify-content: flex-end;
    max-width: 320px;
  }
}

/* --------------------------------------------------------------------------
   8. VISTA POR EQUIPO
   -------------------------------------------------------------------------- */
.team {
  margin-bottom: 1.8rem;
}

.team-h {
  border-left: 5px solid var(--tc);
  padding: 2px 0 2px 12px;
  margin-bottom: 10px;
}

.team-h h3 {
  margin: 0;
  font-size: 1.2rem;
  font-weight: 900;
  color: var(--dark);
}

.team-h p {
  margin: 3px 0 0;
  font-size: 0.85rem;
  color: #64748b;
}

/* --------------------------------------------------------------------------
   9. VISTA COINCIDENCIAS Y PANELES
   -------------------------------------------------------------------------- */
.panel {
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  background: var(--white);
  padding: 1.2rem;
  margin-bottom: 1rem;
  box-shadow: 0 1px 3px rgba(0,0,0,0.03);
}

.panel h3.ph {
  margin-top: 0;
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--primary);
}

.panel .opts {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.panel details {
  margin-top: 12px;
}

.panel summary {
  cursor: pointer;
  font-weight: 700;
  color: var(--primary);
}

.pairs {
  display: grid;
  gap: 10px;
}

.pair {
  border: 1px solid #e2e8f0;
  border-left: 5px solid #f59e0b;
  border-radius: 10px;
  background: var(--white);
  padding: 12px 14px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.03);
}

.pair.bad {
  border-left-color: #ef4444;
}

.pair-h {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 10px;
  align-items: center;
  margin-bottom: 8px;
}

.grp {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin: 1.5rem 0 0.6rem;
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--primary);
}

.link {
  border: 0;
  background: none;
  padding: 2px 0;
  color: var(--primary);
  font-weight: 700;
  font-size: 0.85rem;
  text-decoration: underline;
  cursor: pointer;
}

.coin-note {
  margin: 0 0 10px;
  padding: 8px 12px;
  border-radius: 6px;
  border-left: 4px solid #ef4444;
  background: rgba(239, 68, 68, 0.08);
  color: #991b1b;
  font-weight: 700;
  font-size: 0.85rem;
}

.empty {
  padding: 2.5rem 1.2rem;
  border: 2px dashed #cbd5e1;
  border-radius: 10px;
  text-align: center;
  color: #64748b;
  background: var(--white);
}

.empty b {
  display: block;
  font-size: 1.05rem;
  color: var(--dark);
  margin-bottom: 4px;
}

/* --------------------------------------------------------------------------
   10. MODAL DIALOG
   -------------------------------------------------------------------------- */
#dlg {
  border: 0;
  border-radius: 14px;
  padding: 1.2rem;
  max-width: 560px;
  width: 90%;
  box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.25);
  background: var(--white);
}

#dlg::backdrop {
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(2px);
}

.dlg-h {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
  border-bottom: 1px solid #e2e8f0;
  padding-bottom: 0.6rem;
}

.dlg-h h3 {
  margin: 0;
  font-size: 1.1rem;
  color: var(--primary);
  font-weight: 800;
}

.table-wrap {
  overflow-x: auto;
  margin: 10px 0;
}

table.cols {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.82rem;
}

table.cols th, table.cols td {
  padding: 6px 10px;
  border: 1px solid #e2e8f0;
  text-align: left;
}

table.cols th {
  background: #f1f5f9;
  font-weight: 700;
}

.added {
  list-style: none;
  padding: 0;
  margin: 10px 0;
}

.added li {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 0;
  border-bottom: 1px solid #f1f5f9;
}

.cal-note-box {
  padding: 1.2rem 0 2rem;
  font-size: 0.82rem;
  color: #64748b;
  line-height: 1.55;
}

.cal-note-box p {
  margin: 0 0 4px;
}
