.agenda3-section {
  padding-top: 42px;
  background: linear-gradient(180deg, #f3f8ff 0%, #fff 280px);
}

.agenda3-shell {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 28px;
  align-items: start;
  letter-spacing: 0;
}

.agenda3-tabs {
  position: sticky;
  top: 84px;
  display: grid;
  gap: 8px;
  padding: 10px;
  border: 1px solid #cfe0f7;
  border-radius: 8px;
  background: linear-gradient(180deg, #fff, #f7fbff);
}

.agenda3-tab {
  min-height: 72px;
  display: grid;
  align-content: center;
  gap: 4px;
  padding: 10px 16px;
  border: 1px solid transparent;
  border-radius: 6px;
  color: #12325f;
  background: linear-gradient(135deg, #f8fbff, #eef6ff);
  cursor: pointer;
  font: inherit;
  text-align: left;
  transition: color var(--motion-fast), background var(--motion-fast), transform var(--motion-fast);
}

.agenda3-tab:hover {
  color: #082d69;
  background: linear-gradient(135deg, #fff, #e5f4ff);
  transform: translateY(-2px);
}

.agenda3-tab.active {
  color: #fff;
  background: linear-gradient(135deg, #0025ca 0%, #0093cd 100%);
}

.agenda3-tab-date {
  font-size: 18px;
  font-weight: 900;
  line-height: 1.25;
}

.agenda3-tab-weekday {
  font-size: 13px;
  line-height: 1.5;
}

.agenda3-content,
.agenda3-panel {
  min-width: 0;
}

.agenda3-panel[hidden],
.agenda3-details[hidden] {
  display: none;
}

.agenda3-panel.active {
  animation: agenda3PanelIn var(--motion-slow);
}

.agenda3-board {
  padding: clamp(28px, 4vw, 54px);
  background: #fff;
}

.agenda3-board-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 30px;
}

.agenda3-title {
  display: flex;
  align-items: center;
  gap: 14px;
}

.agenda3-title-icon {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  border-radius: 8px;
  color: #fff;
  background: linear-gradient(135deg, #0025ca 0%, #0093cd 100%);
}

.agenda3-title-icon::before {
  content: "";
  width: 22px;
  height: 22px;
  border: 2px solid currentColor;
  border-radius: 5px;
  background: linear-gradient(currentColor, currentColor) 50% 70% / 9px 2px no-repeat;
}

.agenda3-title h2 {
  margin: 0;
  color: #071947;
  font-size: 36px;
  line-height: 1.2;
  font-weight: 900;
}

.agenda3-date-pill {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 0 18px;
  border: 1px solid #e1ebf7;
  border-radius: 999px;
  color: #507199;
  background: #f8fbff;
  font-size: 15px;
  font-weight: 800;
  white-space: nowrap;
}

.agenda3-day-title {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 12px;
  margin: 0 0 18px;
  color: #071947;
  font-size: 28px;
  line-height: 1.25;
  font-weight: 900;
}

.agenda3-day-title span {
  color: #60718b;
  font-size: 16px;
  font-weight: 800;
}

.agenda3-timeline {
  display: grid;
  gap: 28px;
  margin: 0;
  padding: 0 0 0 72px;
  list-style: none;
  position: relative;
}

.agenda3-timeline::before {
  content: "";
  position: absolute;
  left: 28px;
  top: 18px;
  bottom: 18px;
  width: 3px;
  border-radius: 3px;
  background: linear-gradient(180deg, rgba(0, 147, 205, .18), rgba(0, 37, 202, .28), rgba(0, 147, 205, .16));
}

.agenda3-item {
  position: relative;
  min-width: 0;
}

.agenda3-item::before {
  content: "";
  position: absolute;
  left: -55px;
  top: 30px;
  width: 25px;
  height: 25px;
  border: 5px solid #e9f4ff;
  border-radius: 50%;
  background: linear-gradient(135deg, #0025ca 0%, #0093cd 100%);
  box-shadow: 0 0 0 2px rgba(0, 147, 205, .18);
}

.agenda3-card {
  width: 100%;
  min-height: 88px;
  position: relative;
  display: grid;
  grid-template-columns: max-content minmax(0, 1fr);
  align-items: center;
  gap: 18px;
  padding: 18px 24px;
  border: 1px solid #d9e8f8;
  border-radius: 8px;
  color: #14233b;
  background: #fff;
  font: inherit;
  text-align: left;
  overflow: hidden;
  transition: color var(--motion-fast), border-color var(--motion-fast), transform var(--motion), background var(--motion);
}

.agenda3-card--toggle {
  grid-template-columns: max-content minmax(0, 1fr) 20px;
  cursor: pointer;
}

.agenda3-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 0;
  background: linear-gradient(135deg, #0025ca 0%, #0093cd 100%);
  transition: opacity var(--motion);
}

.agenda3-card > * {
  position: relative;
  z-index: 2;
}

.agenda3-card > .agenda3-watermark {
  position: absolute;
  right: 22px;
  top: 50%;
  z-index: 1;
  width: 64px;
  height: 64px;
  opacity: 0;
  background: url("../image/ccss-watermark.png") center / contain no-repeat;
  transform: translateY(-50%) scale(.9);
  transition: opacity var(--motion), transform var(--motion);
  pointer-events: none;
}

.agenda3-time {
  min-height: 34px;
  display: inline-grid;
  grid-template-columns: 18px minmax(0, auto);
  align-items: center;
  gap: 8px;
  padding: 0 13px;
  border-radius: 999px;
  color: #2063b9;
  background: #eaf4ff;
  font-size: 16px;
  font-weight: 900;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.agenda3-topic {
  display: block;
  min-width: 0;
  color: #14233b;
  font-size: 18px;
  line-height: 1.5;
  overflow-wrap: anywhere;
}

.agenda3-topic strong {
  font-weight: 900;
}

.agenda3-card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 2px 12px;
  margin-top: 5px;
  color: #586e88;
  font-size: 13px;
  line-height: 1.6;
}

.agenda3-icon {
  width: 18px;
  height: 18px;
  position: relative;
  flex-shrink: 0;
  justify-self: center;
  color: #2063b9;
}

.agenda3-icon-clock {
  border: 2px solid currentColor;
  border-radius: 50%;
}

.agenda3-icon-clock::before,
.agenda3-icon-clock::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 2px;
  border-radius: 2px;
  background: currentColor;
  transform-origin: center top;
}

.agenda3-icon-clock::before {
  height: 5px;
  transform: translate(-50%, -1px);
}

.agenda3-icon-clock::after {
  height: 6px;
  transform: translate(-50%, -1px) rotate(120deg);
}

.agenda3-icon-location {
  width: 17px;
  height: 17px;
  border: 2px solid currentColor;
  border-radius: 50% 50% 50% 0;
  transform: translateY(-1px) rotate(-45deg);
}

.agenda3-icon-location::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: currentColor;
  transform: translate(-50%, -50%);
}

.agenda3-expand-icon {
  width: 10px;
  height: 10px;
  justify-self: center;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: translateY(-3px) rotate(45deg);
  transition: transform var(--motion-fast);
}

.agenda3-card[aria-expanded="true"] .agenda3-expand-icon {
  transform: translateY(3px) rotate(225deg);
}

.agenda3-card:hover,
.agenda3-card[aria-expanded="true"] {
  color: #fff;
  border-color: transparent;
}

.agenda3-card:hover {
  transform: translateY(-3px);
}

.agenda3-card:hover::before,
.agenda3-card[aria-expanded="true"]::before {
  opacity: 1;
}

.agenda3-card:hover .agenda3-watermark,
.agenda3-card[aria-expanded="true"] .agenda3-watermark {
  opacity: .16;
  transform: translateY(-50%) scale(1);
}

.agenda3-card:hover .agenda3-time,
.agenda3-card:hover .agenda3-topic,
.agenda3-card:hover .agenda3-icon,
.agenda3-card:hover .agenda3-card-meta,
.agenda3-card[aria-expanded="true"] .agenda3-time,
.agenda3-card[aria-expanded="true"] .agenda3-topic,
.agenda3-card[aria-expanded="true"] .agenda3-icon,
.agenda3-card[aria-expanded="true"] .agenda3-card-meta {
  color: #fff;
}

.agenda3-card:hover .agenda3-time,
.agenda3-card[aria-expanded="true"] .agenda3-time {
  background: rgba(255, 255, 255, .18);
}

.agenda3-details {
  display: grid;
  gap: 12px;
  margin-top: 14px;
}

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

.agenda3-detail {
  display: block;
  min-width: 0;
  padding: 18px;
  border: 1px solid #d9e8f8;
  border-radius: 8px;
  color: #14233b;
  background: #f8fbff;
  text-decoration: none;
  overflow-wrap: anywhere;
  transition: border-color var(--motion-fast), background-color var(--motion-fast);
}

a.agenda3-detail:hover {
  border-color: #7ba7dd;
  color: #14233b;
  background: #eef6ff;
}

.agenda3-detail-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 12px;
  margin-bottom: 10px;
  font-size: 13px;
  line-height: 1.6;
}

.agenda3-detail-time {
  color: #2063b9;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}

.agenda3-detail-venue {
  color: #526a85;
}

.agenda3-detail-title {
  display: block;
  font-size: 16px;
  font-weight: 800;
  line-height: 1.6;
}

.agenda3-detail-copy {
  display: block;
  margin-top: 7px;
  color: #526780;
  font-size: 14px;
  line-height: 1.8;
}

.agenda3-detail-copy > span {
  font-weight: 700;
}

.agenda3-detail--keynote {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr);
  gap: 12px;
}

.agenda3-detail-number {
  color: #2063b9;
  font-size: 22px;
  font-weight: 900;
  line-height: 1.4;
}

.agenda3-detail-body {
  min-width: 0;
}

.agenda3-tab:focus-visible,
.agenda3-card--toggle:focus-visible,
a.agenda3-detail:focus-visible {
  outline: 3px solid #007f86;
  outline-offset: 3px;
}

.agenda3-notice {
  margin: 24px 0 0;
  padding: 18px 24px;
  color: #1e40af;
  background: linear-gradient(135deg, #eef6ff 0%, #e7fbff 100%);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.7;
  text-align: center;
}

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

@media (max-width: 1080px) {
  .agenda3-shell {
    grid-template-columns: 180px minmax(0, 1fr);
    gap: 20px;
  }

  .agenda3-card {
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
  }

  .agenda3-card--toggle {
    grid-template-columns: minmax(0, 1fr) 20px;
  }

  .agenda3-time,
  .agenda3-topic {
    grid-column: 1;
  }

  .agenda3-time {
    width: fit-content;
  }

  .agenda3-expand-icon {
    grid-column: 2;
    grid-row: 1 / 3;
  }
}

@media (max-width: 980px) {
  .agenda3-shell {
    grid-template-columns: minmax(0, 1fr);
  }

  .agenda3-tabs {
    position: static;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    padding: 8px;
  }

  .agenda3-tab {
    min-height: 62px;
    text-align: center;
  }
}

@media (max-width: 720px) {
  .agenda3-section {
    padding-top: 30px;
  }

  .agenda3-shell {
    width: min(100% - 24px, var(--wrap));
    gap: 16px;
  }

  .agenda3-tabs {
    gap: 6px;
    padding: 6px;
  }

  .agenda3-tab {
    min-height: 60px;
    padding: 8px 4px;
  }

  .agenda3-tab-date {
    font-size: 15px;
  }

  .agenda3-board {
    padding: 22px 14px;
  }

  .agenda3-board-head {
    display: grid;
    gap: 14px;
    margin-bottom: 24px;
  }

  .agenda3-title h2 {
    font-size: 26px;
  }

  .agenda3-day-title {
    font-size: 24px;
  }

  .agenda3-date-pill {
    width: fit-content;
  }

  .agenda3-timeline {
    gap: 18px;
    padding-left: 36px;
  }

  .agenda3-timeline::before {
    left: 12px;
  }

  .agenda3-item::before {
    left: -32px;
    top: 28px;
    width: 20px;
    height: 20px;
    border-width: 4px;
  }

  .agenda3-card {
    gap: 12px;
    padding: 16px;
    color: #fff;
    border-color: transparent;
    background: linear-gradient(135deg, #0025ca 0%, #0093cd 100%);
  }

  .agenda3-card--toggle {
    grid-template-columns: minmax(0, 1fr) 12px;
  }

  .agenda3-time {
    grid-column: 1 / -1;
    color: #fff;
    background: rgba(255, 255, 255, .18);
    font-size: 14px;
  }

  .agenda3-topic {
    color: #fff;
    font-size: 17px;
  }

  .agenda3-icon-clock,
  .agenda3-card-meta {
    color: #fff;
  }

  .agenda3-expand-icon {
    grid-row: 2;
  }

  .agenda3-card > .agenda3-watermark,
  .agenda3-card:hover .agenda3-watermark,
  .agenda3-card[aria-expanded="true"] .agenda3-watermark {
    right: 14px;
    top: auto;
    bottom: 12px;
    width: 58px;
    height: 58px;
    opacity: .16;
    transform: none;
  }

  .agenda3-details--forums {
    grid-template-columns: minmax(0, 1fr);
  }

  .agenda3-detail {
    padding: 14px;
  }

  .agenda3-detail--keynote {
    grid-template-columns: minmax(0, 1fr);
    gap: 6px;
  }

  .agenda3-detail-number {
    font-size: 18px;
  }

  .agenda3-notice {
    padding: 14px;
    font-size: 13px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .agenda3-panel.active,
  .agenda3-tab,
  .agenda3-card,
  .agenda3-card::before,
  .agenda3-card > .agenda3-watermark,
  .agenda3-expand-icon,
  .agenda3-detail {
    animation: none;
    transition: none;
  }

  .agenda3-tab:hover,
  .agenda3-card:hover {
    transform: none;
  }
}

@media (hover: none) {
  .agenda3-tab:hover,
  .agenda3-card:hover {
    transform: none;
  }
}
