:root {
  --primary: #008b61;
  --deep: #063f35;
  --accent: #f5212a;
  --sky: #dff4fb;
  --gold: #d7a235;
  --paper: #fbfffd;
  --surface: #ffffff;
  --soft: #eef8f5;
  --text: #10231e;
  --muted: #5c6d68;
  --line: rgba(6, 63, 53, 0.14);
  --shadow: 0 24px 70px rgba(6, 63, 53, 0.14);
  color-scheme: light;
}

[data-theme="dark"] {
  --paper: #071411;
  --surface: #10231e;
  --soft: #162f29;
  --text: #effbf7;
  --muted: #b9d1c9;
  --line: rgba(239, 251, 247, 0.15);
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.34);
  color-scheme: dark;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: clip;
  background: var(--paper);
  color: var(--text);
  font-family: "Segoe UI", Arial, system-ui, sans-serif;
  letter-spacing: 0;
}

body.bn {
  font-family: "Nirmala UI", "Vrinda", "Segoe UI", Arial, sans-serif;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

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

button {
  cursor: pointer;
}

svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.container {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in srgb, var(--surface) 92%, transparent);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.top-contact {
  min-height: 36px;
  padding: 7px 24px;
  display: flex;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
  background: var(--deep);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
}

.main-nav {
  width: min(1180px, calc(100% - 32px));
  min-height: 76px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand img {
  width: clamp(180px, 20vw, 260px);
  border-radius: 4px;
}

.nav-links {
  display: flex;
  gap: 4px;
  align-items: center;
}

.nav-links a,
.mobile-menu a {
  padding: 10px 12px;
  border-radius: 8px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
}

.nav-links a:hover,
.nav-links a.active,
.mobile-menu a:hover {
  background: var(--soft);
  color: var(--text);
}

.nav-tools {
  display: flex;
  align-items: center;
  gap: 8px;
}

.text-tool,
.icon-tool,
.primary-btn,
.secondary-btn,
.danger-btn {
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px 14px;
  background: var(--surface);
  color: var(--text);
  font-weight: 800;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.icon-tool {
  width: 44px;
  padding: 0;
  display: grid;
  place-items: center;
}

.primary-btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  border-color: transparent;
  background: var(--primary);
  color: #fff;
  box-shadow: 0 16px 34px color-mix(in srgb, var(--primary) 30%, transparent);
}

.secondary-btn {
  display: inline-flex;
  align-items: center;
  border-color: color-mix(in srgb, var(--primary) 28%, var(--line));
}

.danger-btn {
  border-color: color-mix(in srgb, var(--accent) 42%, var(--line));
  color: var(--accent);
}

.text-tool:hover,
.icon-tool:hover,
.primary-btn:hover,
.secondary-btn:hover,
.danger-btn:hover {
  transform: translateY(-1px);
}

.mobile-only,
.mobile-menu {
  display: none;
}

.hero-pro {
  position: relative;
  overflow: hidden;
  min-height: calc(100vh - 112px);
  background: linear-gradient(110deg, var(--paper) 0%, #ffffff 44%, var(--sky) 44%, color-mix(in srgb, var(--sky) 60%, var(--paper)) 100%);
}

.home-hero {
  position: relative;
  overflow: hidden;
  min-height: calc(100vh - 112px);
  background:
    linear-gradient(110deg, var(--paper) 0%, #ffffff 44%, var(--sky) 44%, color-mix(in srgb, var(--sky) 60%, var(--paper)) 100%);
}

[data-theme="dark"] .home-hero {
  background: linear-gradient(110deg, var(--paper) 0%, #0d211c 44%, #12322e 44%, #10231e 100%);
}

.home-hero::after {
  content: "";
  position: absolute;
  inset: auto -10% -16% 35%;
  height: 260px;
  background: linear-gradient(90deg, var(--primary), color-mix(in srgb, var(--primary) 50%, var(--sky)));
  opacity: 0.16;
  transform: skewY(-8deg);
}

[data-theme="dark"] .hero-pro {
  background: linear-gradient(110deg, var(--paper) 0%, #0d211c 44%, #12322e 44%, #10231e 100%);
}

.hero-pro::after {
  content: "";
  position: absolute;
  inset: auto -10% -16% 35%;
  height: 260px;
  background: linear-gradient(90deg, var(--primary), color-mix(in srgb, var(--primary) 50%, var(--sky)));
  opacity: 0.16;
  transform: skewY(-8deg);
}

.hero-grid {
  position: relative;
  z-index: 1;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  min-height: calc(100vh - 112px);
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.72fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
  padding: clamp(44px, 6vw, 78px) 0;
}

.event-pill,
.kicker {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.hero-logos {
  width: fit-content;
  max-width: 100%;
  display: grid;
  grid-template-columns: repeat(4, auto);
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: color-mix(in srgb, var(--surface) 92%, transparent);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.05);
}

.hero-logos img {
  width: auto;
  max-width: 124px;
  height: 50px;
  object-fit: contain;
}

.event-pill {
  padding: 9px 13px;
  border: 1px solid color-mix(in srgb, var(--primary) 30%, var(--line));
  border-radius: 999px;
  background: color-mix(in srgb, var(--surface) 84%, transparent);
  color: var(--primary);
}

.event-pill::before,
.kicker::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
}

.hero-copy h1 {
  max-width: 780px;
  margin: 22px 0 18px;
  font-size: clamp(48px, 6.2vw, 92px);
  line-height: 0.96;
  letter-spacing: 0;
}

.hero-copy p,
.lede {
  color: var(--muted);
  font-size: clamp(17px, 2vw, 22px);
  line-height: 1.65;
  font-weight: 650;
}

.hero-note {
  max-width: 720px;
  font-size: 18px !important;
}

.hero-buttons {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 28px;
}

.countdown-panel {
  padding: clamp(20px, 3vw, 30px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: color-mix(in srgb, var(--surface) 88%, transparent);
  box-shadow: var(--shadow);
}

.orbital-card {
  display: grid;
  gap: 16px;
}

.countdown-panel img {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f7f7f7;
  margin-bottom: 18px;
}

.date-card {
  padding: 18px;
  border-left: 5px solid var(--accent);
  background: var(--soft);
  border-radius: 8px;
  display: grid;
  gap: 6px;
}

.date-card strong {
  font-size: 24px;
}

.date-card span {
  color: var(--muted);
  font-weight: 800;
}

.countdown {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-top: 16px;
}

.countdown div {
  min-height: 88px;
  padding: 12px 8px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: var(--deep);
  color: #fff;
  text-align: center;
}

.countdown strong {
  font-size: clamp(24px, 3vw, 34px);
}

.countdown span {
  color: color-mix(in srgb, #fff 78%, var(--sky));
  font-size: 12px;
  font-weight: 800;
}

.section {
  padding: clamp(66px, 8vw, 106px) 0;
}

.page-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(70px, 9vw, 126px) 0;
  background:
    linear-gradient(120deg, color-mix(in srgb, var(--sky) 72%, var(--paper)), var(--paper) 56%),
    var(--paper);
  border-bottom: 1px solid var(--line);
}

.page-hero::after {
  content: "";
  position: absolute;
  inset: auto -5% -55px 48%;
  height: 170px;
  background: var(--primary);
  opacity: 0.12;
  transform: skewY(-6deg);
}

.page-hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.38fr);
  gap: clamp(28px, 6vw, 76px);
  align-items: center;
}

.page-hero h1 {
  max-width: 820px;
  margin: 20px 0 16px;
  font-size: clamp(42px, 6vw, 82px);
  line-height: 0.98;
}

.page-hero p {
  max-width: 760px;
  color: var(--muted);
  font-size: clamp(18px, 2vw, 23px);
  line-height: 1.6;
  font-weight: 650;
}

.page-hero aside {
  display: grid;
  gap: 10px;
  padding: 24px;
  border: 1px solid var(--line);
  border-left: 5px solid var(--accent);
  border-radius: 8px;
  background: color-mix(in srgb, var(--surface) 90%, transparent);
  box-shadow: var(--shadow);
}

.page-hero aside strong {
  font-size: 25px;
}

.page-hero aside span {
  color: var(--muted);
  font-weight: 800;
}

.ribbon-section {
  padding-block: 26px;
  background: var(--deep);
}

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

.metric-strip article {
  min-height: 116px;
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.metric-strip strong {
  display: block;
  color: var(--gold);
  font-size: 42px;
}

.metric-strip span {
  font-weight: 800;
}

.split-showcase,
.story-grid,
.programme-board,
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(300px, 0.65fr);
  gap: clamp(24px, 5vw, 64px);
  align-items: start;
}

.sky-section {
  background: var(--soft);
  border-block: 1px solid var(--line);
}

.center-actions {
  display: flex;
  justify-content: center;
  margin-top: 28px;
}

.story-grid {
  grid-template-columns: minmax(0, 1.3fr) repeat(2, minmax(220px, 0.55fr));
}

.story-card,
.programme-aside,
.map-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: 0 12px 38px rgba(0, 0, 0, 0.04);
  padding: 24px;
}

.story-card.wide {
  grid-row: span 2;
}

.story-card b {
  display: block;
  margin-bottom: 12px;
  font-size: 22px;
}

.story-card span,
.map-card span {
  color: var(--muted);
  line-height: 1.6;
  font-weight: 650;
}

.programme-board {
  grid-template-columns: 290px minmax(0, 1fr);
}

.programme-aside {
  position: sticky;
  top: 118px;
  display: grid;
  gap: 12px;
  background: var(--deep);
  color: #fff;
}

.programme-aside article {
  padding: 14px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
}

.programme-aside span {
  display: block;
  color: color-mix(in srgb, #fff 76%, var(--sky));
  font-weight: 800;
}

.programme-aside strong {
  display: block;
  margin-top: 6px;
  color: var(--gold);
}

.panel-band {
  background: linear-gradient(135deg, var(--deep), color-mix(in srgb, var(--primary) 72%, #00251f));
  color: #fff;
}

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

.panel-theme-grid article {
  padding: 26px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
}

.panel-theme-grid h3 {
  margin: 0 0 12px;
  font-size: 26px;
}

.panel-theme-grid p {
  color: color-mix(in srgb, #fff 78%, var(--sky));
  line-height: 1.65;
  font-weight: 650;
}

.registration-stage {
  background: linear-gradient(135deg, var(--deep), color-mix(in srgb, var(--primary) 70%, #00251f));
  color: #fff;
}

.registration-stage .lede,
.registration-stage .kicker {
  color: #fff;
}

.contact-grid {
  grid-template-columns: 1fr 1fr 0.75fr;
}

.contact-grid article {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  padding: 24px;
  box-shadow: 0 12px 38px rgba(0, 0, 0, 0.04);
}

.contact-grid h2 {
  margin: 10px 0;
  font-size: clamp(28px, 3vw, 42px);
}

.intro-band,
.dates-band {
  background: var(--soft);
  border-block: 1px solid var(--line);
}

.two-col,
.register-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(300px, 0.65fr);
  gap: clamp(26px, 5vw, 72px);
  align-items: start;
}

.section-title {
  margin-bottom: 28px;
}

.section-title.center {
  max-width: 760px;
  margin-inline: auto;
  text-align: center;
}

.section-title h2,
.two-col h2,
.register-grid h2,
.custom-card h2 {
  max-width: 820px;
  margin: 10px 0 0;
  font-size: clamp(32px, 4vw, 58px);
  line-height: 1.02;
}

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

.feature-stack article,
.guest-card,
.person-card,
.date-grid article,
.register-form,
.custom-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: 0 12px 38px rgba(0, 0, 0, 0.04);
}

.feature-stack article {
  padding: 20px;
  display: grid;
  gap: 8px;
}

.feature-stack b {
  font-size: 20px;
}

.feature-stack span,
.guest-card p,
.person-card p,
.person-card span,
.custom-card p {
  color: var(--muted);
  line-height: 1.55;
  font-weight: 650;
}

.guest-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.guest-card {
  min-height: 230px;
  padding: 24px;
  position: relative;
  overflow: hidden;
}

.guest-card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 6px;
  background: linear-gradient(var(--accent), var(--primary));
}

.guest-card span {
  color: var(--accent);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.guest-card h3,
.person-card h3 {
  margin: 12px 0 8px;
  font-size: 22px;
  line-height: 1.25;
}

.schedule-section {
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--sky) 70%, transparent), transparent),
    var(--paper);
}

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

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

.timeline-item {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 16px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: color-mix(in srgb, var(--surface) 92%, transparent);
}

.timeline-index {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  font-weight: 900;
}

.timeline-body span {
  color: var(--accent);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.timeline-body h3 {
  margin: 8px 0 0;
  font-size: 18px;
  line-height: 1.35;
}

.panel-showcase {
  background: var(--surface);
}

.speaker-images {
  display: grid;
  gap: 18px;
  margin-bottom: 30px;
}

.speaker-images figure {
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--sky);
  box-shadow: var(--shadow);
}

.speaker-images h3 {
  margin: 0;
  padding: 16px 18px;
  background: var(--deep);
  color: #fff;
  font-size: clamp(18px, 2vw, 24px);
  line-height: 1.25;
}

.speaker-images img {
  width: 100%;
  height: auto;
}

.speaker-images figcaption {
  padding: 14px 18px;
  color: var(--deep);
  background: var(--sky);
  font-weight: 900;
}

[data-theme="dark"] .speaker-images figcaption {
  color: var(--text);
}

.people-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.person-card {
  padding: 20px;
  border-top: 4px solid var(--primary);
}

.person-photo {
  width: 86px;
  height: 86px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid color-mix(in srgb, var(--primary) 72%, #fff);
  background: var(--soft);
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.1);
}

.person-photo.placeholder {
  display: grid;
  place-items: center;
  color: #fff;
  background: linear-gradient(135deg, var(--primary), var(--deep));
  font-size: 24px;
  font-weight: 900;
}

.person-card h3 {
  font-size: 19px;
}

.person-card span {
  color: var(--primary);
}

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

.date-grid article {
  min-height: 138px;
  padding: 20px;
  display: grid;
  align-content: space-between;
}

.date-grid span {
  color: var(--muted);
  font-weight: 800;
}

.date-grid strong {
  color: var(--accent);
  font-size: 24px;
}

.register-section {
  background: linear-gradient(135deg, var(--deep), color-mix(in srgb, var(--primary) 72%, #00251f));
  color: #fff;
}

.register-section .kicker,
.register-section .lede {
  color: #fff;
}

.register-form {
  padding: 24px;
  display: grid;
  gap: 14px;
  color: var(--text);
}

label {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

input,
textarea,
select {
  width: 100%;
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 11px 12px;
  background: var(--paper);
  color: var(--text);
}

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

.form-status {
  margin: 0;
  color: var(--primary);
  font-weight: 800;
}

.custom-card {
  padding: 20px;
  display: grid;
  grid-template-columns: minmax(260px, 0.45fr) minmax(0, 1fr);
  gap: 24px;
  align-items: center;
}

.custom-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 8px;
}

.site-footer {
  background: var(--deep);
  color: #fff;
}

.footer-grid {
  padding: 56px 0 36px;
  display: grid;
  grid-template-columns: 1.2fr 0.7fr 0.8fr 1fr;
  gap: 28px;
}

.footer-logo {
  width: 250px;
  border-radius: 6px;
  margin-bottom: 16px;
  background: #fff;
}

.site-footer h3 {
  margin: 0 0 14px;
}

.site-footer p,
.site-footer a,
.site-footer span {
  display: block;
  margin: 0 0 9px;
  color: color-mix(in srgb, #fff 78%, var(--sky));
  line-height: 1.5;
  font-weight: 650;
}

.footer-bottom {
  padding: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  text-align: center;
  color: color-mix(in srgb, #fff 70%, var(--sky));
  font-size: 13px;
  font-weight: 800;
}

.login-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
  background: linear-gradient(135deg, var(--sky), var(--paper));
}

.login-card {
  width: min(430px, 100%);
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--shadow);
  display: grid;
  gap: 14px;
}

.login-card img {
  width: 240px;
}

.login-card h1,
.login-card p {
  margin: 0;
}

.admin-page {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  background: var(--paper);
}

.admin-side {
  position: sticky;
  top: 0;
  height: 100vh;
  padding: 18px;
  display: grid;
  align-content: start;
  gap: 10px;
  background: var(--deep);
  color: #fff;
}

.admin-side img {
  margin-bottom: 12px;
  border-radius: 6px;
  background: #fff;
}

.admin-side button,
.admin-side a {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  padding: 12px;
  background: transparent;
  color: #fff;
  text-align: left;
  font-weight: 900;
  text-transform: capitalize;
}

.admin-side button.active,
.admin-side button:hover,
.admin-side a:hover {
  background: var(--primary);
}

.admin-main {
  padding: clamp(20px, 4vw, 44px);
}

.admin-top,
.admin-panel-head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  margin-bottom: 18px;
}

.admin-top h1,
.admin-panel h2 {
  margin: 0;
}

.admin-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 18px;
}

.admin-cards article,
.admin-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.05);
}

.admin-cards article {
  padding: 22px;
}

.admin-cards strong {
  display: block;
  color: var(--primary);
  font-size: 42px;
}

.admin-cards span {
  color: var(--muted);
  font-weight: 800;
}

.admin-panel {
  padding: 20px;
}

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

.edit-list {
  display: grid;
  gap: 12px;
}

.edit-row,
.edit-card {
  display: grid;
  gap: 10px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--soft);
}

.panelist-editor {
  grid-template-columns: 150px repeat(2, minmax(0, 1fr)) minmax(0, 1fr) auto;
  align-items: start;
}

.admin-thumb {
  width: 112px;
  height: 112px;
  margin-bottom: 10px;
  border-radius: 8px;
  object-fit: cover;
  border: 1px solid var(--line);
  background: var(--paper);
}

.admin-thumb.placeholder {
  display: grid;
  place-items: center;
  color: var(--muted);
  font-weight: 900;
}

.edit-row {
  grid-template-columns: 150px 150px minmax(0, 1fr) auto;
  align-items: start;
}

.table-wrap {
  overflow-x: auto;
}

table {
  width: 100%;
  border-collapse: collapse;
}

th,
td {
  padding: 12px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

th {
  color: var(--muted);
  font-size: 12px;
  text-transform: uppercase;
}

/* Polished conference visual system */
.site-header {
  box-shadow: 0 10px 34px rgba(6, 63, 53, 0.06);
}

.top-contact span {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.top-contact span + span::before {
  content: "";
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--gold);
}

.nav-links a {
  position: relative;
  border-radius: 6px;
}

.nav-links a::after {
  content: "";
  position: absolute;
  right: 12px;
  bottom: 5px;
  left: 12px;
  height: 2px;
  background: var(--primary);
  transform: scaleX(0);
  transition: transform 180ms ease;
}

.nav-links a:hover::after,
.nav-links a.active::after {
  transform: scaleX(1);
}

.nav-links a[href="registration.html"] {
  color: var(--accent);
}

.home-hero {
  min-height: clamp(660px, calc(100vh - 142px), 800px);
  background:
    linear-gradient(116deg, var(--paper) 0%, #ffffff 48%, var(--sky) 48%, color-mix(in srgb, var(--sky) 62%, var(--paper)) 100%);
}

.home-hero::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 36%;
  height: 7px;
  background: linear-gradient(90deg, var(--gold), var(--accent));
}

[data-theme="dark"] .home-hero {
  background: linear-gradient(116deg, var(--paper) 0%, #0b1d18 48%, #123b34 48%, #0b2620 100%);
}

.hero-grid {
  min-height: clamp(660px, calc(100vh - 142px), 800px);
  padding-block: clamp(38px, 5vw, 64px);
}

.hero-copy h1 {
  max-width: 680px;
  font-size: clamp(48px, 5.6vw, 82px);
  line-height: 0.98;
}

.hero-copy > p:first-of-type {
  max-width: 720px;
  color: var(--primary);
}

.hero-note {
  max-width: 680px;
  font-size: 17px !important;
}

.hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 22px;
  margin-top: 26px;
}

.hero-proof span {
  padding-left: 11px;
  border-left: 3px solid var(--gold);
  color: var(--muted);
  font-size: 13px;
  font-weight: 850;
}

.countdown-panel {
  position: relative;
  overflow: hidden;
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: linear-gradient(145deg, var(--deep), color-mix(in srgb, var(--primary) 65%, #002a23));
  color: #fff;
  box-shadow: 0 32px 90px rgba(6, 63, 53, 0.28);
}

.countdown-panel::after {
  content: "2026";
  position: absolute;
  right: -8px;
  bottom: -30px;
  color: rgba(255, 255, 255, 0.055);
  font-size: 112px;
  font-weight: 950;
  line-height: 1;
}

.countdown-brand {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
}

.countdown-brand img {
  width: 210px;
  margin: 0;
  padding: 8px;
  border: 0;
  background: #fff;
}

.countdown-brand span {
  color: var(--gold);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.countdown-panel .date-card {
  position: relative;
  z-index: 1;
  border-left-color: var(--accent);
  background: rgba(255, 255, 255, 0.1);
}

.countdown-panel .date-card span {
  color: rgba(255, 255, 255, 0.78);
}

.countdown-panel .countdown {
  position: relative;
  z-index: 1;
}

.countdown-panel .countdown div {
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.09);
}

.countdown-panel .countdown div:last-child {
  background: var(--accent);
}

.panel-glimpse {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 14px;
  align-items: center;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.panel-glimpse img {
  width: 110px;
  height: 68px;
  margin: 0;
  border: 0;
  object-fit: cover;
  object-position: top;
}

.panel-glimpse span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #fff;
  font-weight: 850;
}

.ribbon-section {
  background: linear-gradient(90deg, var(--deep), color-mix(in srgb, var(--primary) 78%, #002a23));
}

.metric-strip {
  gap: 0;
}

.metric-strip article {
  min-height: 94px;
  border: 0;
  border-right: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 0;
  background: transparent;
}

.metric-strip article:last-child {
  border-right: 0;
}

.metric-strip strong {
  font-size: 38px;
}

.focus-section {
  background: var(--surface);
}

.split-showcase > div:first-child {
  padding-left: clamp(20px, 3vw, 38px);
  border-left: 6px solid var(--accent);
}

.split-showcase h2 {
  margin-block: 12px 18px;
  font-size: clamp(40px, 4.8vw, 68px);
  line-height: 1;
}

.text-link,
.contact-preview a,
.agenda-preview a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  color: var(--primary);
  font-weight: 900;
}

.page-hero {
  min-height: 600px;
  display: grid;
  align-items: center;
  padding: clamp(62px, 7vw, 94px) 0;
  background: linear-gradient(118deg, var(--paper), color-mix(in srgb, var(--sky) 76%, var(--paper)));
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 7px;
  background: var(--primary);
}

.page-hero::after {
  inset: auto -4% -75px 45%;
  height: 180px;
  opacity: 0.1;
}

.page-about {
  background: linear-gradient(118deg, var(--paper) 0 54%, color-mix(in srgb, var(--sky) 76%, var(--paper)) 54%);
}

.page-program {
  background: linear-gradient(118deg, var(--paper) 0 54%, color-mix(in srgb, var(--gold) 18%, var(--paper)) 54%);
}

.page-program::before {
  background: var(--gold);
}

.page-speakers {
  background: linear-gradient(118deg, var(--paper) 0 54%, color-mix(in srgb, var(--primary) 15%, var(--paper)) 54%);
}

.page-registration {
  background: linear-gradient(118deg, var(--paper) 0 54%, color-mix(in srgb, var(--accent) 10%, var(--paper)) 54%);
}

.page-registration::before {
  background: var(--accent);
}

.page-contact {
  background: linear-gradient(118deg, var(--paper) 0 54%, color-mix(in srgb, var(--sky) 70%, var(--paper)) 54%);
}

.page-hero-grid {
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.48fr);
}

.page-hero h1 {
  margin-block: 20px 18px;
  font-size: clamp(48px, 5.8vw, 78px);
}

.page-hero-copy > p {
  max-width: 730px;
}

.page-hero .page-hero-visual {
  min-height: 330px;
  display: grid;
  padding: 0;
  border: 0;
  border-radius: 8px;
  background: var(--deep);
  color: #fff;
  box-shadow: 0 34px 86px rgba(6, 63, 53, 0.24);
}

.about-preview {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  align-content: end;
  padding: 30px;
}

.about-preview strong {
  grid-column: 1 / -1;
  align-self: start;
  color: var(--gold);
  font-size: clamp(74px, 9vw, 118px) !important;
  line-height: 0.9;
}

.about-preview span {
  padding-top: 15px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff !important;
  font-size: 12px;
  text-transform: uppercase;
}

.agenda-preview {
  display: grid;
  align-content: center;
  padding: 26px;
}

.agenda-preview header {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding-bottom: 17px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.agenda-preview header span,
.agenda-preview header strong {
  color: #fff;
}

.agenda-preview > div {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.agenda-preview time {
  color: var(--gold);
  font-weight: 900;
}

.agenda-preview > div span {
  color: rgba(255, 255, 255, 0.82);
}

.agenda-preview a {
  color: #fff;
}

.speaker-preview {
  position: relative;
  overflow: hidden;
  min-height: 330px;
}

.speaker-preview img {
  position: absolute;
  width: 75%;
  border: 7px solid #fff;
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.25);
}

.speaker-preview img:first-child {
  top: 28px;
  left: 20px;
  transform: rotate(-3deg);
}

.speaker-preview img:nth-child(2) {
  right: 18px;
  bottom: 48px;
  transform: rotate(3deg);
}

.speaker-preview span {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  padding: 14px 18px;
  background: var(--accent);
  color: #fff !important;
  font-weight: 900;
  text-align: center;
}

.registration-preview,
.contact-preview {
  align-self: stretch;
  display: grid;
  align-content: center;
  padding: 30px;
}

.registration-preview > span,
.contact-preview > span {
  color: var(--gold) !important;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.registration-preview strong {
  margin-block: 8px;
  color: #fff;
  font-size: 96px !important;
  line-height: 0.9;
}

.registration-preview b {
  font-size: 25px;
}

.registration-preview p,
.contact-preview p {
  color: rgba(255, 255, 255, 0.75);
}

.contact-preview strong {
  margin-top: 12px;
  color: #fff;
  font-size: 30px !important;
}

.contact-preview a {
  color: #fff;
}

.story-card.wide {
  position: relative;
  overflow: hidden;
  border-top: 6px solid var(--primary);
}

.story-card.wide::after {
  content: "OSH";
  position: absolute;
  right: -8px;
  bottom: -30px;
  color: color-mix(in srgb, var(--primary) 7%, transparent);
  font-size: 130px;
  font-weight: 950;
}

.story-accent {
  border-left: 5px solid var(--gold);
}

.programme-board .timeline {
  grid-template-columns: 1fr;
  gap: 0;
  border-top: 1px solid var(--line);
}

.programme-board .timeline-item {
  grid-template-columns: 82px minmax(0, 1fr);
  gap: 22px;
  padding: 21px 6px;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  background: transparent;
  transition: padding 180ms ease, background 180ms ease;
}

.programme-board .timeline-item:hover {
  padding-inline: 14px;
  background: var(--soft);
}

.programme-board .timeline-index {
  background: var(--surface);
  color: var(--primary);
  border: 2px solid var(--primary);
}

.panel-theme-grid article > span {
  display: block;
  margin-bottom: 14px;
  color: var(--gold);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.speaker-images {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: stretch;
}

.speaker-images figure {
  display: grid;
  grid-template-rows: auto 1fr auto;
}

.speaker-images .panel-label {
  min-height: 138px;
  padding: 20px;
  background: var(--deep);
  color: #fff;
}

.speaker-images .panel-label span {
  color: var(--gold);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.speaker-images .panel-label h3 {
  padding: 0;
  margin-top: 9px;
  background: transparent;
}

.speaker-images img {
  height: 100%;
  min-height: 310px;
  object-fit: cover;
  object-position: top;
}

.person-card {
  position: relative;
  overflow: hidden;
  min-height: 250px;
  padding: 24px;
  border-top: 0;
}

.person-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 6px;
  background: linear-gradient(90deg, var(--primary), var(--gold), var(--accent));
}

.registration-points {
  display: grid;
  gap: 10px;
  margin-top: 28px;
}

.registration-points span {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 850;
}

.registration-points span::before {
  content: "";
  width: 9px;
  height: 9px;
  background: var(--gold);
  transform: rotate(45deg);
}

.register-form {
  border-top: 7px solid var(--accent);
  box-shadow: 0 28px 76px rgba(0, 0, 0, 0.22);
}

.contact-section {
  background: linear-gradient(180deg, var(--paper), var(--soft));
}

.contact-grid article {
  min-height: 330px;
  display: grid;
  align-content: start;
}

.contact-grid .contact-primary {
  border-top: 7px solid var(--accent);
}

.contact-number {
  display: block;
  width: fit-content;
  margin-bottom: 7px;
  color: var(--primary);
  font-size: 18px;
  font-weight: 900;
}

.map-card {
  background: var(--deep);
  color: #fff;
}

.map-card .map-index {
  margin-bottom: 50px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 900;
}

.map-card strong {
  margin-bottom: 16px;
  font-size: 22px;
  line-height: 1.25;
}

.map-card span:last-child {
  color: rgba(255, 255, 255, 0.72);
}

.custom-public-section.alt {
  background: var(--soft);
}

.custom-public-grid {
  display: grid;
  grid-template-columns: minmax(280px, 0.7fr) minmax(0, 1fr);
  gap: clamp(30px, 6vw, 80px);
  align-items: center;
}

.custom-public-grid > img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.custom-section-number {
  color: color-mix(in srgb, var(--primary) 20%, transparent);
  font-size: clamp(110px, 17vw, 220px);
  font-weight: 950;
  line-height: 0.8;
}

.custom-public-grid h2 {
  margin-block: 12px 16px;
  font-size: clamp(38px, 4.7vw, 64px);
  line-height: 1;
}

.conference-cta {
  position: relative;
  overflow: hidden;
  padding: 38px 0;
  background: var(--accent);
  color: #fff;
}

.conference-cta::after {
  content: "";
  position: absolute;
  top: -50px;
  right: 14%;
  width: 220px;
  height: 180px;
  border: 38px solid rgba(255, 255, 255, 0.1);
  transform: rotate(24deg);
}

.conference-cta-inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.conference-cta span {
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.conference-cta h2 {
  margin: 7px 0 0;
  font-size: clamp(28px, 3.2vw, 44px);
}

.cta-light {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 12px 18px;
  border-radius: 8px;
  background: #fff;
  color: var(--deep);
  font-weight: 900;
  white-space: nowrap;
}

.site-footer {
  background: #03382f;
}

.footer-grid {
  grid-template-columns: 1.35fr 0.6fr 0.9fr 0.95fr;
  padding-top: 64px;
}

.footer-mini-logos .hero-logos {
  grid-template-columns: repeat(var(--logo-columns, 4), minmax(0, 1fr));
  margin-top: 20px;
  padding: 7px;
  background: #fff;
}

.footer-mini-logos .hero-logos img {
  width: 100%;
  height: 32px;
}

.funding-note {
  padding-left: 12px;
  border-left: 3px solid var(--gold);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding-inline: 0;
}

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

.section-editor textarea,
.section-editor .section-admin-preview,
.section-editor .danger-btn {
  grid-column: 1 / -1;
}

.section-admin-preview {
  width: min(500px, 100%);
  max-height: 260px;
  object-fit: cover;
  border-radius: 8px;
}

@media (max-width: 980px) {
  .nav-links {
    display: none;
  }

  .mobile-only {
    display: grid;
  }

  .mobile-menu.open {
    display: grid;
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto 12px;
    padding: 8px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--surface);
  }

  .hero-grid,
  .page-hero-grid,
  .two-col,
  .register-grid,
  .custom-card,
  .footer-grid,
  .split-showcase,
  .story-grid,
  .programme-board,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .hero-pro,
  .home-hero,
  .hero-grid {
    min-height: auto;
  }

  .page-hero {
    min-height: auto;
  }

  .page-hero .page-hero-visual {
    width: min(640px, 100%);
  }

  .speaker-images,
  .custom-public-grid {
    grid-template-columns: 1fr;
  }

  .guest-grid,
  .people-grid,
  .timeline,
  .date-grid,
  .metric-strip,
  .timeline.compact,
  .panel-theme-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .programme-aside {
    position: static;
  }

  .admin-page {
    grid-template-columns: 1fr;
  }

  .admin-side {
    position: static;
    height: auto;
  }
}

@media (max-width: 680px) {
  .top-contact {
    display: none;
  }

  .main-nav,
  .hero-grid,
  .container {
    width: min(100% - 22px, 1180px);
  }

  .brand img {
    width: 150px;
  }

  .text-tool {
    padding-inline: 10px;
  }

  .hero-copy h1 {
    font-size: clamp(42px, 14vw, 60px);
  }

  .page-hero {
    padding-block: 46px;
  }

  .page-hero h1 {
    font-size: clamp(40px, 13vw, 58px);
  }

  .page-hero .page-hero-visual {
    min-height: 290px;
  }

  .countdown-panel {
    padding: 16px;
  }

  .countdown-brand {
    align-items: flex-start;
    flex-direction: column;
  }

  .countdown-brand img {
    width: 190px;
  }

  .panel-glimpse {
    grid-template-columns: 92px 1fr;
  }

  .panel-glimpse img {
    width: 92px;
  }

  .hero-logos {
    width: 100%;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 7px;
    padding: 8px;
  }

  .hero-logos img {
    max-width: 100%;
    height: 34px;
  }

  .countdown,
  .guest-grid,
  .people-grid,
  .timeline,
  .date-grid,
  .metric-strip,
  .timeline.compact,
  .panel-theme-grid,
  .admin-cards,
  .field-grid,
  .edit-row,
  .panelist-editor {
    grid-template-columns: 1fr;
  }

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

  .metric-strip article {
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  }

  .metric-strip article:last-child {
    border-bottom: 0;
  }

  .conference-cta-inner,
  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }

  .cta-light {
    white-space: normal;
  }

  .section-editor {
    grid-template-columns: 1fr;
  }

  .timeline-item {
    grid-template-columns: 56px minmax(0, 1fr);
  }

  .footer-grid {
    padding-top: 40px;
  }
}

/* Gallery, registration, and contact refinement */
.nav-links a[href="registration.html"] {
  color: var(--primary);
}

.page-gallery {
  background: linear-gradient(118deg, var(--paper) 0 54%, color-mix(in srgb, var(--gold) 16%, var(--sky)) 54%);
}

.page-gallery::before,
.page-registration::before {
  background: var(--gold);
}

.page-registration {
  background: linear-gradient(118deg, var(--paper) 0 54%, color-mix(in srgb, var(--primary) 11%, var(--sky)) 54%);
}

.gallery-preview {
  position: relative;
  min-height: 330px;
  overflow: hidden;
  background: #062f29;
}

.gallery-preview img {
  position: absolute;
  width: 58%;
  height: 58%;
  object-fit: cover;
  border: 5px solid #fff;
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.28);
}

.gallery-preview img:first-child {
  top: 24px;
  left: 22px;
  z-index: 1;
}

.gallery-preview img:nth-child(2) {
  top: 46px;
  right: 20px;
  z-index: 2;
}

.gallery-preview img:nth-child(3) {
  right: 68px;
  bottom: 40px;
  z-index: 3;
}

.gallery-preview span {
  position: absolute;
  z-index: 4;
  right: 0;
  bottom: 0;
  left: 0;
  padding: 14px 18px;
  background: var(--gold);
  color: #18231f !important;
  font-size: 13px;
  font-weight: 950;
  text-align: center;
  text-transform: uppercase;
}

.home-gallery {
  background: var(--paper);
}

.gallery-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 30px;
}

.gallery-heading > div:first-child {
  max-width: 780px;
}

.gallery-heading h2 {
  margin: 10px 0 0;
  font-size: clamp(36px, 4.8vw, 62px);
  line-height: 1.02;
}

.gallery-feature-grid {
  display: grid;
  grid-template-columns: 1.35fr 0.85fr 0.85fr;
  gap: 14px;
  min-height: 410px;
}

.gallery-mosaic {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-auto-rows: 78px;
  gap: 14px;
}

.gallery-card {
  position: relative;
  min-width: 0;
  min-height: 250px;
  overflow: hidden;
  padding: 0;
  border: 0;
  border-radius: 8px;
  background: var(--deep);
  color: #fff;
  text-align: left;
  box-shadow: 0 18px 52px rgba(6, 63, 53, 0.14);
}

.gallery-feature-grid .gallery-card:first-child {
  grid-row: span 2;
}

.gallery-mosaic .gallery-card:nth-child(5n + 1) {
  grid-column: span 7;
  grid-row: span 5;
}

.gallery-mosaic .gallery-card:nth-child(5n + 2),
.gallery-mosaic .gallery-card:nth-child(5n + 3) {
  grid-column: span 5;
  grid-row: span 3;
}

.gallery-mosaic .gallery-card:nth-child(5n + 4) {
  grid-column: span 5;
  grid-row: span 4;
}

.gallery-mosaic .gallery-card:nth-child(5n + 5) {
  grid-column: span 7;
  grid-row: span 4;
}

.gallery-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 420ms ease;
}

.gallery-card::after {
  content: "";
  position: absolute;
  inset: 35% 0 0;
  background: linear-gradient(transparent, rgba(3, 31, 26, 0.92));
}

.gallery-card > span {
  position: absolute;
  z-index: 2;
  right: 0;
  bottom: 0;
  left: 0;
  display: grid;
  gap: 5px;
  padding: 20px;
}

.gallery-card small {
  color: #f1c760;
  font-size: 11px;
  font-weight: 950;
  text-transform: uppercase;
}

.gallery-card strong {
  color: #fff;
  font-size: clamp(18px, 2vw, 25px);
  line-height: 1.15;
}

.gallery-card:hover img,
.gallery-card:focus-visible img {
  transform: scale(1.035);
}

.gallery-stat {
  flex: 0 0 150px;
  display: grid;
  padding-left: 22px;
  border-left: 4px solid var(--gold);
}

.gallery-stat strong {
  color: var(--primary);
  font-size: 58px;
  line-height: 1;
}

.gallery-stat span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.gallery-lightbox {
  position: fixed;
  z-index: 200;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(1, 18, 15, 0.92);
  backdrop-filter: blur(14px);
}

.gallery-lightbox figure {
  width: min(1040px, 100%);
  max-height: calc(100vh - 48px);
  margin: 0;
  display: grid;
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
}

.gallery-lightbox img {
  width: 100%;
  max-height: calc(100vh - 150px);
  object-fit: contain;
  background: #041f1a;
}

.gallery-lightbox figcaption {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 22px;
  color: #10231e;
}

.gallery-lightbox figcaption span {
  color: #61736d;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.gallery-close {
  position: fixed;
  z-index: 2;
  top: 18px;
  right: 18px;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  background: #fff;
  color: #063f35;
}

.no-scroll {
  overflow: hidden;
}

.registration-stage {
  background: linear-gradient(180deg, var(--paper), color-mix(in srgb, var(--sky) 36%, var(--soft)));
  color: var(--text);
}

.registration-stage .lede {
  color: var(--muted);
}

.registration-stage .kicker {
  color: var(--primary);
}

.registration-shell {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.72fr);
  gap: clamp(34px, 7vw, 92px);
  align-items: start;
}

.register-copy h2 {
  max-width: 720px;
  margin: 12px 0 18px;
  font-size: clamp(38px, 5vw, 66px);
  line-height: 1;
}

.registration-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin: 34px 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--line);
}

.registration-facts article {
  min-height: 130px;
  display: grid;
  align-content: space-between;
  padding: 18px;
  background: var(--surface);
}

.registration-facts span,
.form-intro span {
  color: var(--primary);
  font-size: 11px;
  font-weight: 950;
  text-transform: uppercase;
}

.registration-facts strong {
  font-size: 16px;
  line-height: 1.3;
}

.form-column {
  overflow: hidden;
  border: 1px solid var(--line);
  border-top: 6px solid var(--gold);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: 0 26px 70px rgba(6, 63, 53, 0.15);
}

.form-intro {
  display: grid;
  gap: 5px;
  padding: 24px 24px 4px;
}

.form-intro strong {
  font-size: 25px;
}

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

.form-column .register-form {
  border: 0;
  box-shadow: none;
}

.page-registration {
  min-height: 720px;
  padding-block: clamp(34px, 4vw, 58px);
}

.page-registration .page-hero-grid {
  grid-template-columns: minmax(0, 0.86fr) minmax(500px, 0.9fr);
  gap: clamp(34px, 5vw, 68px);
  align-items: center;
}

.page-registration .page-hero-visual {
  min-height: 0;
  overflow: visible;
  background: transparent;
  box-shadow: none;
}

.page-registration .motion-field {
  display: none;
}

.hero-registration-shell {
  overflow: hidden;
  border: 1px solid var(--line);
  border-top: 6px solid var(--gold);
  border-radius: 8px;
  background: var(--surface);
  color: var(--text);
  box-shadow: 0 28px 82px rgba(6, 63, 53, 0.2);
}

.hero-form-intro {
  display: grid;
  gap: 5px;
  padding: 19px 22px 3px;
}

.hero-form-intro span {
  color: var(--primary) !important;
  font-size: 11px;
  font-weight: 950;
  text-transform: uppercase;
}

.hero-form-intro strong {
  color: var(--text);
  font-size: 23px !important;
}

.hero-form-intro small {
  color: var(--muted);
  line-height: 1.4;
}

.hero-registration-shell .hero-register-form {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 11px 12px;
  padding: 16px 22px 20px;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.hero-register-form .deadline-notice,
.hero-register-form .primary-btn,
.hero-register-form .form-status {
  grid-column: 1 / -1;
}

.hero-register-form .deadline-notice {
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 2px 16px;
  padding: 11px 13px;
}

.hero-register-form .deadline-notice strong {
  grid-row: 1 / 3;
  grid-column: 2;
  font-size: 13px;
  text-align: right;
}

.hero-register-form .deadline-notice small {
  grid-column: 1;
  display: none;
}

.hero-register-form label {
  gap: 5px;
  font-size: 10px;
}

.hero-register-form input,
.hero-register-form select {
  min-height: 40px;
  padding: 8px 10px;
}

.hero-register-form .primary-btn {
  min-height: 44px;
  margin-top: 2px;
}

.registration-overview-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(460px, 1fr);
  gap: clamp(36px, 7vw, 90px);
  align-items: center;
}

.registration-overview .registration-facts {
  margin-top: 0;
}

.registration-steps {
  background: var(--deep);
  color: #fff;
}

.registration-steps .kicker {
  color: var(--gold);
}

.step-grid,
.arrival-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.step-grid article {
  min-height: 230px;
  padding: 26px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
}

.step-grid span,
.arrival-grid > article > span {
  color: var(--gold);
  font-size: 13px;
  font-weight: 950;
}

.step-grid h3,
.arrival-grid h3 {
  margin: 50px 0 10px;
  font-size: 24px;
}

.step-grid p {
  color: rgba(255, 255, 255, 0.72);
}

.contact-section {
  background: var(--paper);
}

.contact-lead {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 34px;
}

.contact-lead > div {
  max-width: 760px;
}

.contact-lead h2 {
  margin: 10px 0 14px;
  font-size: clamp(38px, 5vw, 64px);
  line-height: 1;
}

.desk-status {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
}

.desk-status i {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--primary);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--primary) 16%, transparent);
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(310px, 0.7fr);
  gap: 16px;
}

.venue-panel {
  min-height: 520px;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.venue-map-visual {
  position: relative;
  min-height: 360px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 12px;
  overflow: hidden;
  background-color: #dcefeb;
  background-image: linear-gradient(rgba(6, 63, 53, 0.08) 1px, transparent 1px), linear-gradient(90deg, rgba(6, 63, 53, 0.08) 1px, transparent 1px);
  background-size: 34px 34px;
  color: var(--deep);
}

.venue-map-visual::before,
.venue-map-visual::after {
  content: "";
  position: absolute;
  width: 130%;
  height: 42px;
  background: rgba(255, 255, 255, 0.7);
  transform: rotate(-22deg);
}

.venue-map-visual::after {
  transform: rotate(36deg);
}

.venue-map-visual > * {
  position: relative;
  z-index: 1;
}

.venue-map-visual span,
.venue-map-visual small {
  font-weight: 950;
  letter-spacing: 0;
}

.venue-map-visual b {
  width: 68px;
  height: 68px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  box-shadow: 0 16px 40px rgba(6, 63, 53, 0.24);
}

.venue-map-visual b svg {
  width: 34px;
  height: 34px;
}

.venue-copy {
  display: grid;
  align-content: center;
  justify-items: start;
  padding: clamp(26px, 4vw, 48px);
}

.venue-copy h3 {
  margin: 12px 0;
  font-size: clamp(28px, 3vw, 40px);
  line-height: 1.08;
}

.venue-copy p {
  color: var(--muted);
  line-height: 1.6;
}

.contact-directory {
  display: grid;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--deep);
  color: #fff;
  overflow: hidden;
}

.contact-directory > div {
  position: relative;
  padding: 24px 24px 24px 72px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.contact-directory > div:last-child {
  border-bottom: 0;
}

.contact-directory p {
  margin: 0 0 9px;
  color: rgba(255, 255, 255, 0.63);
  font-size: 12px;
  font-weight: 850;
  text-transform: uppercase;
}

.contact-icon {
  position: absolute;
  top: 24px;
  left: 24px;
  color: var(--gold);
}

.contact-directory .contact-number,
.contact-email {
  color: #fff;
  font-size: 17px;
  font-weight: 900;
}

.contact-email {
  overflow-wrap: anywhere;
}

.arrival-section {
  background: var(--soft);
}

.arrival-grid article {
  min-height: 230px;
  padding: 24px;
  border-top: 4px solid var(--primary);
  background: var(--surface);
  box-shadow: 0 14px 42px rgba(6, 63, 53, 0.08);
}

.arrival-grid p {
  color: var(--muted);
  line-height: 1.6;
}

.conference-cta {
  border-top: 5px solid var(--gold);
  background: #075447;
}

.conference-cta::after {
  border-color: rgba(215, 162, 53, 0.25);
}

.logo-manager {
  display: grid;
  gap: 22px;
}

.logo-manager .admin-panel-head,
.logo-manager .logo-group-heading {
  margin-bottom: 0;
}

.logo-manager-count {
  min-width: 112px;
  padding: 12px 16px;
  border: 1px solid color-mix(in srgb, var(--primary) 28%, var(--line));
  border-radius: 8px;
  background: var(--soft);
  text-align: right;
}

.logo-manager-count strong,
.logo-manager-count span {
  display: block;
}

.logo-manager-count strong {
  color: var(--primary);
  font-size: 30px;
  line-height: 1;
}

.logo-manager-count span {
  margin-top: 5px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.logo-preview-band {
  min-width: 0;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(90deg, color-mix(in srgb, var(--primary) 8%, var(--surface)), transparent),
    var(--surface);
}

.logo-preview-band > span {
  display: block;
  margin-bottom: 10px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.logo-preview-band .supplied-logos {
  margin: 0;
}

.logo-group-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.logo-group-title {
  margin: 0;
  font-size: 18px;
}

.logo-group-title span {
  margin-left: 7px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.fixed-logo-admin-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.fixed-logo-admin-card {
  min-width: 0;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 6px 10px;
  align-items: center;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--soft);
}

.fixed-logo-admin-card > div {
  grid-column: 1 / -1;
  height: 62px;
  display: grid;
  place-items: center;
  padding: 7px;
  border-radius: 5px;
  background: #fff;
}

.fixed-logo-admin-card > div.ilo-logo {
  background: #174b84;
}

.fixed-logo-admin-card img {
  max-width: 100%;
  height: 46px;
  object-fit: contain;
}

.fixed-logo-admin-card > span,
.fixed-logo-admin-card small {
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.fixed-logo-admin-card strong {
  min-width: 0;
  overflow: hidden;
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.optional-logo-admin-grid {
  display: grid;
  gap: 12px;
}

.optional-logo-editor {
  grid-template-columns: 180px minmax(0, 1fr) auto;
  align-items: start;
  background: var(--surface);
}

.optional-logo-admin-media {
  display: grid;
  gap: 8px;
}

.optional-logo-admin-media > img,
.optional-logo-admin-media > .admin-thumb {
  width: 100%;
  height: 92px;
  margin: 0;
  object-fit: contain;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
}

.optional-logo-admin-media > .admin-thumb {
  justify-content: center;
}

.logo-upload {
  min-height: 38px;
  display: grid;
  place-items: center;
  padding: 8px 10px;
  border: 1px solid color-mix(in srgb, var(--primary) 32%, var(--line));
  border-radius: 6px;
  color: var(--primary);
  cursor: pointer;
  font-size: 12px;
  font-weight: 900;
  text-align: center;
}

.logo-upload input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.optional-logo-fields {
  min-width: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.optional-logo-fields label:last-child {
  grid-column: 1 / -1;
}

.optional-logo-fields textarea {
  min-height: 58px;
}

.logo-order-actions {
  width: 112px;
  display: grid;
  grid-template-columns: repeat(2, 44px);
  gap: 8px;
  justify-content: end;
}

.logo-order-actions > span,
.logo-order-actions .danger-btn {
  grid-column: 1 / -1;
}

.logo-order-actions > span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
  text-align: right;
  text-transform: uppercase;
}

.logo-order-actions .danger-btn {
  width: 100%;
}

.empty-logo-state {
  min-height: 150px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 7px;
  padding: 28px;
  border: 1px dashed color-mix(in srgb, var(--primary) 30%, var(--line));
  border-radius: 8px;
  color: var(--muted);
  text-align: center;
}

.empty-logo-state svg {
  width: 28px;
  height: 28px;
  color: var(--primary);
}

.empty-logo-state strong {
  color: var(--text);
}

.gallery-editor {
  grid-template-columns: minmax(220px, 0.7fr) repeat(2, minmax(0, 1fr));
  align-items: start;
}

.gallery-admin-media {
  grid-row: span 3;
}

.gallery-admin-media img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  margin-bottom: 12px;
  border-radius: 8px;
}

.gallery-editor textarea,
.gallery-editor .danger-btn {
  grid-column: 2 / -1;
}

@media (max-width: 980px) {
  .gallery-feature-grid {
    grid-template-columns: 1.2fr 0.8fr;
  }

  .gallery-feature-grid .gallery-card:last-child {
    grid-column: 1 / -1;
  }

  .registration-shell,
  .contact-layout,
  .gallery-editor,
  .optional-logo-editor {
    grid-template-columns: 1fr;
  }

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

  .logo-order-actions {
    width: auto;
    grid-template-columns: auto 44px 44px auto;
    justify-content: start;
  }

  .logo-order-actions > span,
  .logo-order-actions .danger-btn {
    grid-column: auto;
  }

  .logo-order-actions > span {
    align-self: center;
    text-align: left;
  }

  .gallery-admin-media,
  .gallery-editor textarea,
  .gallery-editor .danger-btn {
    grid-column: auto;
    grid-row: auto;
  }

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

  .contact-directory > div {
    border-right: 1px solid rgba(255, 255, 255, 0.14);
    border-bottom: 0;
  }
}

@media (max-width: 680px) {
  .gallery-heading,
  .contact-lead {
    align-items: flex-start;
    flex-direction: column;
  }

  .gallery-stat {
    flex-basis: auto;
  }

  .gallery-feature-grid,
  .step-grid,
  .arrival-grid,
  .registration-facts,
  .contact-directory,
  .venue-panel {
    grid-template-columns: 1fr;
  }

  .gallery-feature-grid {
    min-height: 0;
  }

  .gallery-feature-grid .gallery-card,
  .gallery-feature-grid .gallery-card:first-child,
  .gallery-feature-grid .gallery-card:last-child {
    min-height: 280px;
    grid-column: auto;
    grid-row: auto;
  }

  .gallery-mosaic {
    grid-template-columns: 1fr;
    grid-auto-rows: auto;
  }

  .gallery-mosaic .gallery-card:nth-child(n) {
    min-height: 310px;
    grid-column: auto;
    grid-row: auto;
  }

  .gallery-lightbox {
    padding: 12px;
  }

  .gallery-lightbox figcaption {
    align-items: flex-start;
    flex-direction: column;
  }

  .contact-directory > div {
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  }

  .venue-map-visual {
    min-height: 300px;
  }
}

/* Database-backed conference modules */
.main-nav {
  width: min(1420px, calc(100% - 32px));
}

.brand img {
  width: clamp(140px, 13vw, 180px);
}

.nav-links {
  gap: 0;
}

.nav-links a {
  padding-inline: 8px;
  font-size: 12.5px;
}

.supplied-logos {
  width: min(100%, calc(var(--logo-columns, 4) * 132px));
  grid-template-columns: repeat(var(--logo-columns, 4), minmax(72px, 1fr));
  gap: 8px;
  padding: 8px;
}

.supplied-logos > span {
  width: 100%;
  min-width: 72px;
  height: 58px;
  display: grid;
  place-items: center;
  padding: 5px 8px;
  border: 1px solid color-mix(in srgb, var(--line) 84%, transparent);
  border-radius: 5px;
  background: #fff;
}

.supplied-logos .ilo-logo {
  background: #174b84;
}

.supplied-logos .optional-logo a {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
}

.supplied-logos img,
.footer-mini-logos .supplied-logos img {
  width: auto;
  max-width: 118px;
  height: 46px;
  object-fit: contain;
}

.footer-mini-logos .supplied-logos > span {
  min-width: 0;
  height: 46px;
  padding: 4px;
}

.footer-mini-logos .supplied-logos img {
  max-width: 100%;
  height: 34px;
}

.page-participants {
  background: linear-gradient(118deg, var(--paper) 0 54%, color-mix(in srgb, var(--primary) 13%, var(--sky)) 54%);
}

.page-participants::before {
  background: var(--primary);
}

.page-abstracts {
  background: linear-gradient(118deg, var(--paper) 0 54%, color-mix(in srgb, var(--gold) 18%, var(--paper)) 54%);
}

.page-abstracts::before {
  background: var(--gold);
}

.page-papers {
  background: linear-gradient(118deg, var(--paper) 0 54%, color-mix(in srgb, #2b7aa6 15%, var(--sky)) 54%);
}

.page-papers::before {
  background: #2b7aa6;
}

.directory-preview,
.submission-preview,
.papers-preview {
  align-self: stretch;
  display: grid;
  align-content: center;
  padding: 34px;
}

.directory-preview > span,
.submission-preview > span,
.papers-preview > span {
  color: var(--gold) !important;
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
}

.directory-preview strong,
.submission-preview strong,
.papers-preview strong {
  margin: 8px 0;
  color: #fff;
  font-size: clamp(76px, 9vw, 110px) !important;
  line-height: 0.9;
}

.directory-preview p,
.papers-preview p {
  color: rgba(255, 255, 255, 0.74);
  line-height: 1.55;
}

.directory-preview a,
.papers-preview a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #fff;
  font-weight: 900;
}

.submission-preview > div {
  display: grid;
  gap: 8px;
}

.submission-preview b {
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  color: #fff;
}

.participants-section,
.papers-section {
  background: linear-gradient(180deg, var(--paper), var(--soft));
}

.directory-heading,
.papers-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 34px;
  margin-bottom: 30px;
}

.directory-heading > div:first-child,
.papers-heading > div:first-child {
  max-width: 790px;
}

.directory-heading h2,
.papers-heading h2 {
  margin: 10px 0 15px;
  font-size: clamp(38px, 5vw, 66px);
  line-height: 1;
}

.directory-total,
.paper-total {
  flex: 0 0 160px;
  display: grid;
  padding-left: 22px;
  border-left: 4px solid var(--gold);
}

.directory-total strong,
.paper-total strong {
  color: var(--primary);
  font-size: 58px;
  line-height: 1;
}

.directory-total span,
.paper-total span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.directory-toolbar {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 22px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.directory-toolbar label {
  width: min(500px, 100%);
}

.directory-toolbar span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

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

.participant-card {
  min-height: 190px;
  display: grid;
  grid-template-columns: 82px 1fr;
  gap: 20px;
  align-items: start;
  padding: 24px;
  border: 1px solid var(--line);
  border-top: 4px solid var(--primary);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: 0 14px 42px rgba(6, 63, 53, 0.07);
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.participant-card:hover {
  transform: translateY(-4px);
  border-color: color-mix(in srgb, var(--primary) 45%, var(--line));
  box-shadow: 0 22px 54px rgba(6, 63, 53, 0.13);
}

.participant-avatar {
  width: 82px;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--deep);
  color: var(--gold);
  font-size: 24px;
  font-weight: 950;
}

.participant-card span {
  color: var(--primary);
  font-size: 11px;
  font-weight: 950;
  text-transform: uppercase;
}

.participant-card h3 {
  margin: 7px 0;
  font-size: 23px;
}

.participant-card p,
.participant-card strong {
  display: block;
  margin: 0 0 7px;
  color: var(--muted);
  line-height: 1.45;
}

.participant-card[hidden] {
  display: none;
}

.abstract-section {
  background: linear-gradient(180deg, var(--paper), color-mix(in srgb, var(--gold) 8%, var(--soft)));
}

.abstract-layout {
  display: grid;
  grid-template-columns: minmax(310px, 0.72fr) minmax(0, 1.15fr);
  gap: clamp(28px, 6vw, 78px);
  align-items: start;
}

.submission-guidance {
  position: sticky;
  top: 140px;
}

.submission-guidance h2 {
  margin: 12px 0 16px;
  font-size: clamp(36px, 4.4vw, 58px);
  line-height: 1;
}

.submission-guidance > p {
  color: var(--muted);
  line-height: 1.7;
}

.guidance-list {
  display: grid;
  gap: 1px;
  margin-top: 28px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--line);
}

.guidance-list article {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 14px;
  padding: 18px;
  background: var(--surface);
}

.guidance-list article > span {
  color: var(--gold);
  font-weight: 950;
}

.guidance-list p {
  margin: 5px 0 0;
  color: var(--muted);
  line-height: 1.45;
}

.submission-note {
  display: grid;
  gap: 7px;
  margin-top: 20px;
  padding: 20px;
  border-left: 4px solid var(--gold);
  background: var(--deep);
  color: #fff;
}

.submission-note span {
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.5;
}

.abstract-form {
  display: grid;
  gap: 18px;
  padding: clamp(24px, 4vw, 42px);
  border: 1px solid var(--line);
  border-top: 6px solid var(--gold);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: 0 26px 70px rgba(6, 63, 53, 0.13);
}

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

.form-section-label {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}

.form-section-label span {
  color: var(--gold);
  font-weight: 950;
}

.abstract-form label small {
  justify-self: end;
  color: var(--muted);
  font-weight: 700;
  text-transform: none;
}

.submission-consent {
  grid-template-columns: 22px 1fr;
  align-items: start;
  color: var(--muted);
  line-height: 1.5;
  text-transform: none;
}

.submission-consent input {
  min-height: 0;
  margin-top: 3px;
}

.paper-list {
  display: grid;
  gap: 16px;
}

.paper-card {
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: 0 14px 42px rgba(6, 63, 53, 0.07);
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.paper-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 24px 58px rgba(6, 63, 53, 0.13);
}

.paper-code {
  display: grid;
  align-content: space-between;
  padding: 26px;
  background: var(--deep);
  color: #fff;
}

.paper-code span {
  color: var(--gold);
  font-size: 24px;
  font-weight: 950;
}

.paper-code small {
  color: rgba(255, 255, 255, 0.68);
  font-weight: 800;
  text-transform: uppercase;
}

.paper-content {
  padding: 28px;
}

.paper-content h3 {
  margin: 0 0 9px;
  font-size: clamp(25px, 3vw, 36px);
  line-height: 1.12;
}

.paper-authors {
  color: var(--primary);
  font-weight: 850;
}

.paper-content details {
  margin: 20px 0;
  padding-block: 14px;
  border-block: 1px solid var(--line);
}

.paper-content summary {
  cursor: pointer;
  font-weight: 900;
}

.paper-content details p {
  color: var(--muted);
  line-height: 1.7;
}

.paper-download {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--primary);
  font-weight: 950;
}

.deadline-notice {
  display: grid;
  gap: 4px;
  padding: 16px;
  border-left: 4px solid var(--gold);
  background: color-mix(in srgb, var(--gold) 12%, var(--paper));
}

.deadline-notice span,
.deadline-notice small {
  color: var(--muted);
  font-size: 11px;
  font-weight: 850;
  text-transform: uppercase;
}

.deadline-notice.closed {
  border-color: var(--accent);
  background: color-mix(in srgb, var(--accent) 8%, var(--paper));
}

.form-status.success {
  color: var(--primary);
}

.form-status.error,
.api-error {
  color: var(--accent);
}

.api-error,
.empty-state,
.loading-state {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  font-weight: 800;
}

.admin-system-status {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 11px;
  font-weight: 850;
  text-transform: uppercase;
}

.admin-system-status i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #61d69b;
  box-shadow: 0 0 0 4px rgba(97, 214, 155, 0.13);
}

.admin-top > div > span {
  color: var(--primary);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

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

.admin-activity {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}

.admin-activity > div {
  display: grid;
  gap: 4px;
}

.admin-activity span,
.admin-activity time {
  color: var(--muted);
  font-size: 12px;
}

.admin-activity em {
  color: var(--primary);
  font-size: 12px;
  font-style: normal;
  font-weight: 900;
}

.danger-btn.compact {
  min-height: 34px;
  padding: 7px 9px;
  font-size: 11px;
}

.abstract-admin-list,
.published-admin-list {
  display: grid;
  gap: 14px;
}

.abstract-admin-card {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
}

.abstract-admin-card header,
.abstract-admin-card footer,
.published-admin-list article {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
}

.abstract-admin-card header span {
  color: var(--primary);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.abstract-admin-card h3 {
  margin: 6px 0 0;
  font-size: 23px;
}

.abstract-admin-card > p {
  color: var(--muted);
  line-height: 1.65;
}

.abstract-admin-card footer {
  padding-top: 14px;
  border-top: 1px solid var(--line);
  flex-wrap: wrap;
}

.abstract-admin-card footer span,
.abstract-admin-card footer small {
  color: var(--muted);
}

.admin-papers-layout {
  display: grid;
  grid-template-columns: minmax(320px, 0.7fr) minmax(0, 1.2fr);
  gap: 18px;
  align-items: start;
}

.paper-publish-form {
  position: sticky;
  top: 20px;
  display: grid;
  gap: 14px;
}

.paper-publish-form h2 {
  margin: 6px 0 0;
}

.published-admin-list article {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
}

.published-admin-list article > div:last-child {
  display: flex;
  gap: 8px;
}

.published-admin-list span {
  color: var(--primary);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.published-admin-list h3 {
  margin: 7px 0;
}

.published-admin-list p {
  margin: 0;
  color: var(--muted);
}

@keyframes gentle-rise {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes soft-enter {
  from { opacity: 0; transform: translateX(-12px); }
  to { opacity: 1; transform: translateX(0); }
}

/* Conference motion system */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.kinetic-word {
  display: inline-block;
  opacity: 0;
  transform: translateY(30px) rotate(1.2deg);
  animation: kinetic-word-in 760ms var(--word-delay, 0ms) cubic-bezier(0.2, 0.78, 0.22, 1) forwards;
  will-change: transform, opacity;
}

@keyframes kinetic-word-in {
  0% { opacity: 0; transform: translateY(30px) rotate(1.2deg); }
  62% { opacity: 1; transform: translateY(-3px) rotate(0); }
  100% { opacity: 1; transform: translateY(0) rotate(0); }
}

.motion-field {
  position: absolute;
  z-index: 0;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.motion-field::before {
  content: "";
  position: absolute;
  top: -35%;
  bottom: -35%;
  left: -22%;
  width: 34%;
  border-right: 1px solid rgba(255, 255, 255, 0.2);
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.08), transparent);
  transform: skewX(-17deg);
  animation: signal-scan 7s linear infinite;
}

.motion-field span {
  position: absolute;
  display: block;
  background: rgba(255, 255, 255, 0.13);
}

.motion-field span:nth-child(1) { top: 18%; right: 0; width: 62%; height: 1px; }
.motion-field span:nth-child(2) { top: 0; right: 21%; width: 1px; height: 52%; }
.motion-field span:nth-child(3) { right: 10%; bottom: 24%; width: 42%; height: 1px; }
.motion-field span:nth-child(4) { right: 46%; bottom: 0; width: 1px; height: 36%; }

.motion-field i {
  position: absolute;
  width: 7px;
  height: 7px;
  border: 1px solid var(--gold);
  background: var(--deep);
  box-shadow: 0 0 0 5px rgba(239, 183, 51, 0.1);
  animation: signal-node 2.8s ease-in-out infinite;
}

.motion-field i:nth-of-type(1) { top: calc(18% - 3px); right: 20%; }
.motion-field i:nth-of-type(2) { right: calc(10% - 3px); bottom: calc(24% - 3px); animation-delay: 0.8s; }
.motion-field i:nth-of-type(3) { right: calc(46% - 3px); bottom: 14%; animation-delay: 1.6s; }

@keyframes signal-scan {
  from { transform: translateX(-40%) skewX(-17deg); }
  to { transform: translateX(420%) skewX(-17deg); }
}

@keyframes signal-node {
  0%, 100% { opacity: 0.45; transform: scale(0.8); }
  50% { opacity: 1; transform: scale(1.15); }
}

.countdown-panel {
  transform: perspective(1100px) rotateX(var(--tilt-x, 0deg)) rotateY(var(--tilt-y, 0deg));
  transform-style: preserve-3d;
  transition: transform 260ms ease, box-shadow 260ms ease;
}

.countdown-panel:hover {
  box-shadow: 0 38px 104px rgba(6, 63, 53, 0.35);
}

.countdown-panel > :not(.motion-field) {
  position: relative;
  z-index: 1;
}

.page-hero-visual > :not(.motion-field) {
  position: relative;
  z-index: 1;
}

.impact-flow {
  display: grid;
  grid-template-columns: auto 1fr auto 1fr auto;
  gap: 9px;
  align-items: center;
  margin: 17px 0 2px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.impact-flow i {
  position: relative;
  height: 1px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.2);
}

.impact-flow i::after {
  content: "";
  position: absolute;
  top: -1px;
  left: -9px;
  width: 9px;
  height: 3px;
  background: var(--gold);
  animation: flow-signal 2.4s ease-in-out infinite;
}

.impact-flow i:nth-of-type(2)::after { animation-delay: 1.2s; }

@keyframes flow-signal {
  0% { left: -9px; opacity: 0; }
  18%, 82% { opacity: 1; }
  100% { left: 100%; opacity: 0; }
}

.motion-ticker {
  position: relative;
  z-index: 2;
  overflow: hidden;
  border-block: 1px solid color-mix(in srgb, var(--gold) 45%, var(--deep));
  background: var(--deep);
  color: #fff;
}

.motion-ticker-track {
  width: max-content;
  display: flex;
  align-items: center;
  min-height: 50px;
  animation: ticker-travel 28s linear infinite;
  will-change: transform;
}

.motion-ticker:hover .motion-ticker-track { animation-play-state: paused; }

.motion-ticker-track span {
  display: inline-flex;
  align-items: center;
  gap: 22px;
  min-width: max-content;
  padding-inline: 26px;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.motion-ticker-track span::after {
  content: "";
  width: 9px;
  height: 9px;
  border: 2px solid var(--gold);
  transform: rotate(45deg);
}

@keyframes ticker-travel {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.motion-ready [data-motion="reveal"] {
  opacity: 0;
  transform: translateY(34px);
  clip-path: inset(0 0 12% 0);
  transition:
    opacity 720ms var(--motion-delay, 0ms) cubic-bezier(0.2, 0.75, 0.22, 1),
    transform 720ms var(--motion-delay, 0ms) cubic-bezier(0.2, 0.75, 0.22, 1),
    clip-path 720ms var(--motion-delay, 0ms) cubic-bezier(0.2, 0.75, 0.22, 1);
  will-change: transform, opacity;
}

.motion-ready [data-motion="reveal"][data-motion-direction="right"] {
  transform: translateY(24px);
  clip-path: inset(0 0 0 8%);
}

.motion-ready [data-motion="reveal"][data-motion-direction="left"] {
  transform: translateY(24px);
  clip-path: inset(0 8% 0 0);
}

.motion-ready [data-motion="reveal"].motion-in {
  opacity: 1;
  transform: translate3d(0, 0, 0);
  clip-path: inset(0);
}

.motion-ready .reveal-item {
  animation: none;
}

.motion-heading {
  position: relative;
  padding-bottom: 17px;
}

.motion-heading::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: min(96px, 28%);
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--gold), var(--accent));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 760ms 200ms cubic-bezier(0.2, 0.75, 0.22, 1);
}

.center .motion-heading::after,
.motion-heading.center::after {
  right: 0;
  margin-inline: auto;
  transform-origin: center;
}

.motion-in .motion-heading::after,
.motion-heading.motion-in::after,
.motion-ready .section-title.motion-in .motion-heading::after {
  transform: scaleX(1);
}

.tick-change {
  animation: countdown-tick 480ms cubic-bezier(0.18, 0.78, 0.24, 1);
}

@keyframes countdown-tick {
  0% { opacity: 0; transform: translateY(-10px) scale(0.92); }
  65% { opacity: 1; transform: translateY(2px) scale(1.05); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}

.panel-glimpse img {
  animation: panel-breathe 7s ease-in-out infinite alternate;
}

@keyframes panel-breathe {
  from { transform: scale(1); object-position: 50% 8%; }
  to { transform: scale(1.05); object-position: 50% 25%; }
}

.feature-stack article,
.registration-facts article,
.step-grid article,
.arrival-grid article {
  position: relative;
  overflow: hidden;
}

.feature-stack article::after,
.registration-facts article::after,
.step-grid article::after,
.arrival-grid article::after {
  content: "";
  position: absolute;
  right: 100%;
  bottom: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--gold), var(--accent));
  transition: right 480ms ease;
}

.feature-stack article:hover::after,
.registration-facts article:hover::after,
.step-grid article:hover::after,
.arrival-grid article:hover::after {
  right: 0;
}

.page-hero-copy > *,
.hero-copy > * {
  animation: soft-enter 520ms ease both;
}

.page-hero-copy > *:nth-child(2),
.hero-copy > *:nth-child(2) { animation-delay: 60ms; }
.page-hero-copy > *:nth-child(3),
.hero-copy > *:nth-child(3) { animation-delay: 110ms; }
.page-hero-copy > *:nth-child(4),
.hero-copy > *:nth-child(4) { animation-delay: 160ms; }
.page-hero-visual { animation: gentle-rise 620ms 130ms ease both; }
.reveal-item { animation: gentle-rise 520ms var(--reveal-delay, 0ms) ease both; }

@media (max-width: 1180px) {
  .nav-links {
    display: none;
  }

  .mobile-only {
    display: grid;
  }

  .mobile-menu.open {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto 12px;
    padding: 8px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--surface);
  }
}

@media (max-width: 980px) {
  .abstract-layout,
  .admin-papers-layout {
    grid-template-columns: 1fr;
  }

  .page-registration .page-hero-grid,
  .registration-overview-grid {
    grid-template-columns: 1fr;
  }

  .page-registration .page-hero-visual {
    width: 100%;
  }

  .submission-guidance,
  .paper-publish-form {
    position: static;
  }

  .participant-grid,
  .admin-dashboard-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  .supplied-logos {
    width: 100%;
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .supplied-logos[data-logo-count="5"],
  .supplied-logos[data-logo-count="6"] {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .supplied-logos > span {
    min-width: 0;
    height: 50px;
    padding: 4px;
  }

  .supplied-logos img {
    max-width: 100%;
    height: 38px;
  }

  .logo-manager .admin-panel-head,
  .logo-group-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .logo-manager-count {
    width: 100%;
    text-align: left;
  }

  .fixed-logo-admin-grid,
  .optional-logo-fields {
    grid-template-columns: 1fr;
  }

  .optional-logo-fields label:last-child {
    grid-column: auto;
  }

  .logo-order-actions {
    grid-template-columns: 1fr 44px 44px;
  }

  .logo-order-actions .danger-btn {
    grid-column: 1 / -1;
  }

  .directory-heading,
  .papers-heading,
  .directory-toolbar {
    align-items: flex-start;
    flex-direction: column;
  }

  .directory-total,
  .paper-total {
    flex-basis: auto;
  }

  .participant-card {
    grid-template-columns: 64px minmax(0, 1fr);
    padding: 18px;
  }

  .participant-avatar {
    width: 64px;
  }

  .abstract-field-grid,
  .mobile-menu.open {
    grid-template-columns: 1fr;
  }

  .hero-registration-shell .hero-register-form {
    grid-template-columns: 1fr;
    padding-inline: 18px;
  }

  .hero-register-form .deadline-notice strong {
    grid-row: auto;
    grid-column: 1;
    text-align: left;
  }

  .paper-card {
    grid-template-columns: 1fr;
  }

  .paper-code {
    min-height: 110px;
  }

  .abstract-admin-card header,
  .abstract-admin-card footer,
  .published-admin-list article,
  .published-admin-list article > div:last-child {
    flex-direction: column;
  }
}

.admin-top-actions,
.page-editor-selectors,
.visual-field-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.content-sync {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 7px 11px;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--muted);
  background: var(--surface);
  font-size: 13px;
  font-weight: 800;
}

.content-sync[data-status="saving"] { color: var(--gold); }
.content-sync[data-status="saved"] { color: var(--primary); }
.content-sync[data-status="error"] { color: var(--accent); }

.page-editor-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 24px;
  margin-bottom: 18px;
}

.page-editor-toolbar p,
.core-content-panel p,
.visual-fields-panel p {
  margin: 4px 0 0;
  color: var(--muted);
}

.page-editor-selectors {
  flex: 0 0 min(430px, 45%);
}

.page-editor-selectors label {
  flex: 1;
}

.core-content-panel {
  margin-bottom: 18px;
}

.visual-editor-layout {
  display: grid;
  grid-template-columns: minmax(420px, 1fr) minmax(430px, 0.92fr);
  gap: 18px;
  align-items: start;
}

.visual-fields-panel,
.visual-preview-panel {
  min-width: 0;
}

.visual-preview-panel {
  position: sticky;
  top: 20px;
}

.visual-preview-panel iframe {
  display: block;
  width: 100%;
  height: min(760px, calc(100vh - 150px));
  min-height: 560px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
}

.visual-fields {
  display: grid;
  gap: 10px;
}

.visual-field-group {
  border: 1px solid var(--line);
  border-radius: 7px;
  background: var(--soft);
  overflow: hidden;
}

.visual-field-group > summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 13px 14px;
  cursor: pointer;
  color: var(--deep);
  font-weight: 900;
  text-transform: capitalize;
}

.visual-field-group > summary strong {
  color: var(--primary);
  font-size: 12px;
  white-space: nowrap;
}

.visual-field-group > div {
  display: grid;
  gap: 1px;
  border-top: 1px solid var(--line);
  background: var(--line);
}

.visual-field-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: end;
  padding: 13px;
  background: var(--surface);
}

.visual-field-row > label > span {
  display: block;
  margin-bottom: 6px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.35;
}

.visual-field-row textarea {
  min-height: 88px;
  resize: vertical;
}

.visual-upload {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 7px 10px;
  border: 1px solid var(--primary);
  border-radius: 6px;
  color: var(--primary);
  background: transparent;
  cursor: pointer;
  font-size: 12px;
  font-weight: 900;
  white-space: nowrap;
}

.visual-upload input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

@media (max-width: 1380px) {
  .visual-editor-layout {
    grid-template-columns: 1fr;
  }

  .visual-preview-panel {
    position: static;
  }

  .visual-preview-panel iframe {
    height: 700px;
  }
}

@media (max-width: 760px) {
  .admin-top,
  .admin-top-actions,
  .page-editor-toolbar,
  .page-editor-selectors,
  .visual-field-row,
  .visual-field-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .page-editor-toolbar {
    display: flex;
  }

  .page-editor-selectors {
    flex-basis: auto;
    width: 100%;
  }

  .visual-field-row {
    display: grid;
    grid-template-columns: 1fr;
  }

  .visual-preview-panel iframe {
    min-height: 520px;
  }
}

/* Livestream */
.page-livestream .page-hero-visual {
  background: #071f1c;
}

.live-preview {
  position: relative;
  z-index: 1;
  min-height: 310px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 14px;
  padding: 34px;
  color: #fff;
}

.live-preview > strong {
  font-size: clamp(44px, 6vw, 82px);
  line-height: 0.95;
}

.live-preview > p {
  max-width: 470px;
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 18px;
}

.live-preview > div {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.live-preview > div span {
  padding: 7px 10px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: rgba(255, 255, 255, 0.84);
  font-size: 12px;
  text-transform: uppercase;
}

.stream-section {
  background: var(--bg);
}

.stream-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 32px;
  margin-bottom: 28px;
}

.stream-heading h2 {
  max-width: 820px;
  margin: 8px 0 12px;
}

.stream-heading .lede {
  max-width: 780px;
  margin: 0;
}

.stream-signal {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  width: max-content;
  padding: 9px 12px;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--deep);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.stream-signal i {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--gold);
}

.stream-signal.is-live {
  border-color: rgba(245, 33, 42, 0.35);
  color: var(--accent);
}

.stream-signal.is-live i {
  background: var(--accent);
  animation: stream-pulse 1.45s ease-out infinite;
}

@keyframes stream-pulse {
  0% { box-shadow: 0 0 0 0 rgba(245, 33, 42, 0.42); }
  70% { box-shadow: 0 0 0 9px rgba(245, 33, 42, 0); }
  100% { box-shadow: 0 0 0 0 rgba(245, 33, 42, 0); }
}

.stream-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(300px, 0.7fr);
  gap: 30px;
  align-items: start;
}

.stream-player-shell {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 6px;
  background: #06110f;
  box-shadow: 0 24px 60px rgba(6, 63, 53, 0.16);
}

.stream-player-shell iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.stream-provider {
  position: absolute;
  right: 12px;
  bottom: 12px;
  padding: 6px 9px;
  background: rgba(0, 0, 0, 0.76);
  color: rgba(255, 255, 255, 0.8);
  font-size: 11px;
}

.stream-placeholder {
  width: min(620px, calc(100% - 40px));
  min-height: 100%;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 13px;
  padding: 36px;
  text-align: center;
  color: #fff;
}

.stream-placeholder > strong {
  font-size: clamp(24px, 3vw, 42px);
  line-height: 1.08;
}

.stream-placeholder > p {
  max-width: 520px;
  margin: 0;
  color: rgba(255, 255, 255, 0.68);
}

.stream-placeholder .stream-signal {
  border-color: rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.82);
}

.stream-play-mark {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--accent);
}

.stream-play-mark svg {
  width: 25px;
  fill: none;
  stroke: #fff;
  stroke-width: 2;
}

.stream-details {
  padding: 8px 0 8px 28px;
  border-left: 1px solid var(--line);
}

.stream-details h3 {
  margin: 8px 0 22px;
  font-size: 28px;
}

.stream-details > p {
  color: var(--muted);
}

.stream-facts {
  margin-bottom: 22px;
  border-top: 1px solid var(--line);
}

.stream-facts article {
  display: grid;
  gap: 5px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}

.stream-facts span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.stream-facts strong {
  color: var(--text);
  font-size: 14px;
}

.stream-admin-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(360px, 0.8fr);
  gap: 20px;
}

.stream-admin-fields {
  margin-top: 24px;
}

.stream-admin-notes {
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.stream-admin-notes span,
.stream-admin-notes strong {
  display: block;
}

.stream-admin-notes span {
  margin-bottom: 5px;
  color: var(--primary);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.stream-admin-notes p {
  margin-bottom: 0;
  color: var(--muted);
}

.stream-admin-preview .stream-player-shell {
  margin-top: 20px;
}

@media (max-width: 1080px) {
  .stream-layout,
  .stream-admin-layout {
    grid-template-columns: 1fr;
  }

  .stream-details {
    padding: 8px 0 0;
    border-top: 1px solid var(--line);
    border-left: 0;
  }
}

@media (max-width: 680px) {
  .stream-heading {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .live-preview {
    min-height: 260px;
    padding: 24px;
  }

  .stream-placeholder {
    width: 100%;
    padding: 20px;
  }

  .stream-placeholder > p {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
