.coh-widget {
  --coh-accent: #111111;
  --coh-surface: #ffffff;
  --coh-muted: #f5f5f5;
  --coh-border: rgba(17, 17, 17, 0.12);
  width: min(100%, 1200px);
  margin: 0 auto;
  color: #111111;
}

.coh-title {
  margin: 0 0 10px;
  font-size: clamp(1.7rem, 2.6vw, 2.7rem);
  line-height: 1.1;
}

.coh-subtitle {
  margin: 0 0 22px;
  max-width: 70ch;
  font-size: clamp(0.98rem, 1.1vw, 1.06rem);
  line-height: 1.6;
  color: rgba(17, 17, 17, 0.75);
}

.coh-table-wrap {
  width: 100%;
  border: 1px solid var(--coh-border);
  border-radius: 22px;
  overflow: hidden;
  background: var(--coh-surface);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.06);
}

.coh-table {
  width: 100%;
  table-layout: fixed;
  border-collapse: collapse;
}

.coh-table th,
.coh-table td {
  padding: clamp(12px, 1.25vw, 18px);
  vertical-align: middle;
  text-align: center;
  border-bottom: 1px solid var(--coh-border);
  overflow-wrap: anywhere;
}

.coh-table thead th {
  background: var(--coh-muted);
}

.coh-table tbody tr:last-child th,
.coh-table tbody tr:last-child td {
  border-bottom: 0;
}

.coh-day-col,
.coh-day-name {
  width: clamp(110px, 12vw, 160px);
  font-weight: 700;
}

.coh-day-name {
  background: rgba(0, 0, 0, 0.018);
}

.coh-person-head {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.coh-person-photo {
  width: clamp(42px, 4.2vw, 64px);
  height: clamp(42px, 4.2vw, 64px);
  border-radius: 999px;
  overflow: hidden;
  background: #e9e9e9;
  flex: 0 0 auto;
}

.coh-person-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.coh-person-name {
  display: block;
  font-size: clamp(0.84rem, 0.95vw, 1rem);
  font-weight: 700;
  line-height: 1.25;
}

.coh-cell {
  font-size: clamp(0.84rem, 0.92vw, 0.98rem);
  line-height: 1.45;
}

.coh-mobile {
  display: none;
}

.coh-accordion {
  display: grid;
  gap: 12px;
}

.coh-acc-item {
  border: 1px solid var(--coh-border);
  border-radius: 18px;
  overflow: hidden;
  background: var(--coh-surface);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.04);
}

.coh-acc-trigger {
  width: 100%;
  border: 0;
  background: var(--coh-surface);
  color: inherit;
  padding: 14px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  cursor: pointer;
  text-align: left;
}

.coh-acc-head {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.coh-acc-icon {
  width: 12px;
  height: 12px;
  border-right: 2px solid var(--coh-accent);
  border-bottom: 2px solid var(--coh-accent);
  transform: rotate(45deg);
  transition: transform 0.24s ease;
  flex: 0 0 auto;
  margin-right: 4px;
}

.coh-acc-trigger.is-open .coh-acc-icon {
  transform: rotate(-135deg);
  margin-top: 8px;
}

.coh-acc-panel {
  background: var(--coh-muted);
}

.coh-acc-inner {
  padding: 6px 16px 16px;
}

.coh-mobile-row {
  display: grid;
  grid-template-columns: minmax(96px, 120px) 1fr;
  gap: 12px;
  align-items: start;
  padding: 12px 0;
  border-bottom: 1px solid var(--coh-border);
}

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

.coh-mobile-day {
  font-weight: 700;
}

.coh-mobile-time {
  line-height: 1.5;
  overflow-wrap: anywhere;
}

@media (max-width: 1024px) and (orientation: landscape) {
  .coh-table th,
  .coh-table td {
    padding: 10px 8px;
  }

  .coh-person-head {
    gap: 8px;
  }

  .coh-person-photo {
    width: 40px;
    height: 40px;
  }

  .coh-widget {
    width: 100%;
  }
}

@media (max-width: 820px) {
  .coh-desktop {
    display: none;
  }

  .coh-mobile {
    display: block;
  }
}
