/**
 * Session Detail Page Styles - 2026 UI Standard
 * Designed with full enclosure cards, modern typography, and robust responsive layout.
 */

/* Badges Bar */
.session-detail-badges {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}
.session-detail-code {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--red, #bd202b);
  color: #fff;
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 0.05em;
  padding: 5px 14px;
  border-radius: 6px;
  line-height: 1.2;
  box-shadow: 0 1px 3px rgba(189, 32, 43, 0.25);
}
.session-detail-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 30px;
  padding: 0 12px;
  border: 1px solid var(--line, #cdddeb);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--blue, #0b3f6a);
  background: #fff;
  border-radius: 6px;
  line-height: 1;
}
.session-detail-pill i {
  font-size: 11px;
}
.session-detail-pill--muted {
  color: var(--muted, #52647a);
  font-weight: 700;
}
.session-detail-count {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 30px;
  padding: 0 12px;
  border: 1px solid var(--line, #cdddeb);
  font-size: 11px;
  font-weight: 800;
  color: var(--ink, #08243d);
  background: #fff;
  border-radius: 6px;
  line-height: 1;
}
.session-detail-count i {
  color: var(--blue, #0b3f6a);
  font-size: 11px;
}

/* Key Metadata Highlight Cards (3-column on tablet/desktop) */
.session-meta-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-top: 24px;
  max-width: 900px;
}
@media (min-width: 640px) {
  .session-meta-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
.session-meta-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  background: #fff;
  border: 1px solid var(--line, #cdddeb);
  border-radius: 10px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.session-meta-card:hover {
  border-color: var(--blue, #0b3f6a);
  box-shadow: 0 4px 12px rgba(11, 63, 106, 0.08);
}
.session-meta-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}
.session-meta-icon--blue {
  background: #edf5fa;
  color: var(--blue, #0b3f6a);
}
.session-meta-icon--red {
  background: #fdf2f2;
  color: var(--red, #bd202b);
}
.session-meta-info {
  min-width: 0;
  flex: 1;
}
.session-meta-label {
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted, #52647a);
}
.session-meta-val {
  font-size: 15px;
  font-weight: 900;
  color: var(--ink, #08243d);
  margin-top: 2px;
  line-height: 1.25;
}

/* Quick Action Links */
.session-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 26px;
}
.session-actions .btn {
  gap: 8px;
}

/* Session Purpose Box */
.session-purpose-section {
  padding: 24px 0;
  background: #fff;
  border-bottom: 1px solid var(--line, #cdddeb);
}
.session-purpose-card {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 18px 22px;
  background: #f8fbfe;
  border: 1px solid var(--line, #cdddeb);
  border-radius: 10px;
}
.session-purpose-icon {
  width: 38px;
  height: 38px;
  border-radius: 8px;
  background: #e1eef7;
  color: var(--blue, #0b3f6a);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  flex-shrink: 0;
  margin-top: 2px;
}
.session-purpose-body {
  min-width: 0;
  flex: 1;
}
.session-purpose-title {
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--blue, #0b3f6a);
}
.session-purpose-text {
  font-size: 15px;
  color: var(--ink, #08243d);
  margin-top: 6px;
  line-height: 1.6;
}

/* Two-column Main Grid (360px Sidebar + 1fr Content) */
.session-content-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  align-items: start;
}
@media (min-width: 1024px) {
  .session-content-grid {
    grid-template-columns: 360px 1fr;
    gap: 32px;
  }
}

/* Enclosed White Boxes */
.session-sidebar {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.session-box {
  background: #fff;
  border: 1px solid var(--line, #cdddeb);
  border-radius: 10px;
  padding: 24px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03);
}
.session-box--soft {
  background: #f8fbfe;
}

/* Chairs Section */
.session-chairs-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 14px;
  margin-bottom: 16px;
  border-bottom: 1px solid var(--line, #cdddeb);
}
.session-chairs-title-group {
  display: flex;
  align-items: center;
  gap: 10px;
}
.session-chairs-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: #edf5fa;
  color: var(--blue, #0b3f6a);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  flex-shrink: 0;
}
.session-chairs-subtitle {
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted, #52647a);
}
.session-chairs-heading {
  font-size: 18px;
  font-weight: 900;
  color: var(--ink, #08243d);
  line-height: 1.2;
}
.session-chairs-counter {
  font-size: 11px;
  font-weight: 800;
  color: var(--blue, #0b3f6a);
  background: #edf5fa;
  padding: 2px 8px;
  border-radius: 4px;
}

.chair-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.chair-item {
  margin: 0;
  padding: 0;
}
.chair-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border: 1px solid var(--line2, #e4edf5);
  border-radius: 8px;
  background: #fcfdfe;
  transition: border-color 0.2s, background 0.2s;
  text-decoration: none;
}
.chair-card:hover {
  border-color: var(--blue, #0b3f6a);
  background: #f7fbff;
}
.chair-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--blue, #0b3f6a);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 16px;
  flex-shrink: 0;
  overflow: hidden;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}
.chair-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.chair-avatar--fallback {
  background: #f1f5f9;
  color: #64748b;
  border: 1px solid #cbd5e1;
  font-size: 15px;
}
.chair-info {
  min-width: 0;
  flex: 1;
}
.chair-name {
  font-size: 14px;
  font-weight: 900;
  color: var(--ink, #08243d);
  line-height: 1.3;
}
.chair-card:hover .chair-name {
  color: var(--red, #bd202b);
}
.chair-unit {
  font-size: 12px;
  color: var(--muted, #52647a);
  margin-top: 2px;
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.chair-link-hint {
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--blue, #0b3f6a);
  margin-top: 4px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.chair-card:hover .chair-link-hint {
  color: var(--red, #bd202b);
}

/* Session Meta Summary List (<dl>) */
.session-summary-title {
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ink, #08243d);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.session-summary-title i {
  color: var(--blue, #0b3f6a);
}
.session-summary-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 0;
  padding: 0;
}
.session-summary-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line, #cdddeb);
  font-size: 13px;
}
.session-summary-row:last-child {
  border-bottom: none;
  padding-bottom: 0;
}
.session-summary-label {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--muted, #52647a);
  font-weight: 600;
}
.session-summary-label i {
  width: 16px;
  text-align: center;
  font-size: 12px;
  color: var(--blue, #0b3f6a);
}
.session-summary-val {
  font-weight: 800;
  color: var(--ink, #08243d);
  text-align: right;
  margin: 0;
}
.session-summary-val--code {
  color: var(--red, #bd202b);
  font-family: ui-monospace, SFMono-Regular, monospace;
  font-size: 14px;
}

/* Presentations (Talks) Container */
.session-talks-container {
  background: #fff;
  border: 1px solid var(--line, #cdddeb);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03);
}
.session-talks-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  background: #f8fbfe;
  border-bottom: 1px solid var(--line, #cdddeb);
}
.session-talks-title-group {
  display: flex;
  align-items: center;
  gap: 10px;
}
.session-talks-heading {
  font-size: 20px;
  font-weight: 900;
  color: var(--ink, #08243d);
  line-height: 1.2;
}
.session-talks-count {
  font-size: 12px;
  font-weight: 800;
  color: var(--red, #bd202b);
  background: #fdf2f2;
  border: 1px solid #fce3e3;
  padding: 2px 8px;
  border-radius: 4px;
}
.session-talks-sub {
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--muted, #52647a);
  margin-top: 4px;
}
.session-talks-code-badge {
  background: var(--red, #bd202b);
  color: #fff;
  font-size: 13px;
  font-weight: 900;
  padding: 4px 12px;
  border-radius: 5px;
  line-height: 1.2;
}

.talk-list {
  margin: 0;
  padding: 0;
  list-style: none;
}
.talk-item {
  padding: 22px 24px;
  border-bottom: 1px solid var(--line2, #e4edf5);
  transition: background 0.15s;
}
.talk-item:last-child {
  border-bottom: none;
}
.talk-item:hover {
  background: rgba(248, 251, 254, 0.7);
}
.talk-item-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 8px;
}
.talk-item-badges {
  display: flex;
  align-items: center;
  gap: 8px;
}
.talk-time-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  color: var(--red, #bd202b);
  background: #fdf2f2;
  border: 1px solid #fce3e3;
  padding: 3px 10px;
  border-radius: 6px;
  letter-spacing: 0.03em;
}
.talk-task-badge {
  font-size: 11px;
  font-weight: 700;
  color: var(--muted, #52647a);
  background: #eef3f6;
  padding: 3px 8px;
  border-radius: 4px;
}
.talk-code-badge {
  font-size: 11px;
  font-family: ui-monospace, SFMono-Regular, monospace;
  font-weight: 700;
  color: var(--muted, #52647a);
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  padding: 2px 8px;
  border-radius: 4px;
}
.talk-title {
  font-size: 17px;
  font-weight: 900;
  color: var(--ink, #08243d);
  line-height: 1.45;
  margin: 6px 0 0;
}
.talk-item-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid #f1f5f9;
}
.talk-speaker-group {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
}
.talk-speaker-label {
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--muted, #52647a);
}
.talk-speaker-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 900;
  color: var(--blue, #0b3f6a);
  text-decoration: none;
  transition: color 0.15s;
}
.talk-speaker-link:hover {
  color: var(--red, #bd202b);
}
.talk-speaker-link i {
  font-size: 12px;
}
.talk-profile-hint {
  font-size: 11px;
  font-weight: normal;
  color: var(--muted, #52647a);
}
.talk-speaker-link:hover .talk-profile-hint {
  color: var(--red, #bd202b);
}
.talk-speaker-plain {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 900;
  color: var(--ink, #08243d);
}
.talk-speaker-plain i {
  color: #94a3b8;
  font-size: 12px;
}
