/* Shared split panel + sheet header (home + menu pages) */

.oh-iot-panel {
  position: relative;
  height: 100dvh;
  min-height: 100dvh;
  background: #0a0a0a;
  color: #f7f7f7;
}

body.sheet.journey .journey-block {
  scroll-margin-top: 0;
}

body.sheet.journey .journey-block > .oh-iot-panel {
  scroll-margin-top: 0;
}

body.sheet.journey .journey-more {
  background: #f7f7f7;
}

body.sheet.journey .journey-lead {
  background: #0a0a0a;
  color: #f7f7f7;
  padding: clamp(72px, 12vh, 120px) clamp(24px, 6vw, 80px) clamp(48px, 8vh, 88px);
}

body.sheet.journey .journey-lead-inner {
  width: min(720px, 100%);
  display: flex;
  flex-direction: column;
  gap: clamp(12px, 2vh, 20px);
  font-family: Pretendard, "Segoe UI", sans-serif;
}

body.sheet.journey .journey-lead .sch-explain-title {
  margin: 0;
  font-size: clamp(1.6rem, 3vw, 2.35rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.03em;
  word-break: keep-all;
}

body.sheet.journey .journey-lead .sch-explain-lead {
  margin: 0;
  max-width: 36em;
  font-size: clamp(14px, 1.35vw, 16px);
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.72);
  word-break: keep-all;
}

body.sheet.journey .journey-lead .sch-steps {
  list-style: none;
  margin: 4px 0 0;
  padding: 0;
  display: grid;
  gap: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

body.sheet.journey .journey-lead .sch-steps li {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 12px;
  align-items: baseline;
  padding: clamp(8px, 1.2vh, 12px) 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

body.sheet.journey .journey-lead .sch-steps span {
  font-size: clamp(13px, 1.25vw, 15px);
  font-weight: 600;
  letter-spacing: -0.01em;
}

body.sheet.journey .journey-lead .sch-steps em {
  font-style: normal;
  font-size: clamp(12px, 1.1vw, 14px);
  color: rgba(255, 255, 255, 0.55);
}

.oh-iot-panel .sch-panel {
  display: grid;
  grid-template-columns: 1.12fr 0.88fr;
  align-items: stretch;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: #0a0a0a;
}

.oh-iot-panel .sch-photo {
  margin: 0;
  position: relative;
  height: 100%;
  min-height: 0;
  overflow: hidden;
  background: #cfcbc6;
}

.oh-iot-panel .sch-photo img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 28%;
}

.oh-iot-panel .sch-explain {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: clamp(12px, 2vh, 20px);
  min-width: 0;
  height: 100%;
  padding: clamp(28px, 5vh, 56px) clamp(28px, 4vw, 56px);
  color: rgba(255, 255, 255, 0.92);
  font-family: Pretendard, "Segoe UI", sans-serif;
  background: #0a0a0a;
  border-left: 1px solid rgba(255, 255, 255, 0.12);
  box-sizing: border-box;
  overflow: auto;
}

.oh-iot-panel .sch-explain-kicker {
  margin: 0;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
}

.oh-iot-panel .sch-explain-title {
  margin: 0;
  font-size: clamp(1.6rem, 3vw, 2.35rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.03em;
  word-break: keep-all;
}

.oh-iot-panel .sch-explain-lead {
  margin: 0;
  max-width: 36em;
  font-size: clamp(14px, 1.35vw, 16px);
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.72);
  word-break: keep-all;
}

.oh-iot-panel .sch-steps {
  list-style: none;
  margin: 4px 0 0;
  padding: 0;
  display: grid;
  gap: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.oh-iot-panel .sch-steps li {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 12px;
  align-items: baseline;
  padding: clamp(8px, 1.2vh, 12px) 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.oh-iot-panel .sch-steps span {
  font-size: clamp(13px, 1.25vw, 15px);
  font-weight: 600;
  letter-spacing: -0.01em;
}

.oh-iot-panel .sch-steps em {
  font-style: normal;
  font-size: clamp(12px, 1.1vw, 14px);
  color: rgba(255, 255, 255, 0.55);
}

.oh-iot-panel .sch-waves {
  display: grid;
  gap: 8px;
  margin-top: 4px;
  padding-top: clamp(12px, 2vh, 18px);
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.oh-iot-panel .sch-waves-title {
  margin: 0 0 4px;
  font-size: clamp(13px, 1.25vw, 15px);
  font-weight: 600;
  color: rgba(255, 255, 255, 0.88);
}

.oh-iot-panel .sch-wave-row {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 14px;
  align-items: center;
}

.oh-iot-panel .sch-wave-row span {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.7);
  font-variant-numeric: tabular-nums;
}

.oh-iot-panel .sch-wave-row svg {
  display: block;
  width: 100%;
  max-width: 280px;
  height: 24px;
  overflow: visible;
}

.oh-iot-panel .sch-wave {
  fill: none;
  stroke: rgba(255, 255, 255, 0.92);
  stroke-width: 1.4;
  stroke-linecap: square;
  stroke-linejoin: miter;
}

@media (max-width: 760px) {
  .oh-iot-panel .sch-panel {
    grid-template-columns: 1fr;
    grid-template-rows: 42% 58%;
  }

  .oh-iot-panel .sch-photo {
    min-height: 0;
    max-height: none;
  }

  .oh-iot-panel .sch-explain {
    border-left: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.14);
    padding: 20px 18px 18px;
    justify-content: flex-start;
  }
}

/* Sheet pages: always-visible header matching home nav */
body.sheet header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid #dedede;
}

body.sheet .bar {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 16px;
  max-width: none;
  padding: 22px 28px;
}

body.sheet .logo {
  justify-self: start;
  z-index: 1;
}

body.sheet .logo-name {
  font-family: Pretendard, sans-serif;
  font-size: 28px;
  line-height: 28px;
  height: 28px;
  letter-spacing: -0.06em;
  color: #121212 !important;
}

body.sheet header .logo-mark {
  height: 28px;
  filter: none !important;
}

body.sheet .oh-top-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: clamp(18px, 2.4vw, 32px);
  justify-self: center;
  grid-column: 2;
  width: max-content;
  margin: 0 auto;
}

body.sheet .oh-top-nav > a {
  border: 0;
  background: transparent;
  padding: 0;
  margin: 0;
  color: #121212 !important;
  font-family: Pretendard, "Segoe UI", sans-serif;
  font-size: 1.05rem;
  font-weight: 650;
  line-height: 1.2;
  letter-spacing: -0.03em;
  text-decoration: none;
  white-space: nowrap;
}

body.sheet .oh-top-nav > a[aria-current="page"] {
  text-decoration: underline;
  text-underline-offset: 6px;
}

body.sheet .bar-tools {
  display: none;
  justify-self: end;
  align-items: center;
  gap: 22px;
}

body.sheet .mega-toggle {
  border: 0;
  background: transparent;
  padding: 0;
  margin: 0;
  color: #121212 !important;
  font-family: Pretendard, "Segoe UI", sans-serif;
  font-size: 1.05rem;
  font-weight: 650;
  line-height: 1.2;
  letter-spacing: -0.03em;
  text-transform: none;
  cursor: pointer;
}

body.sheet main {
  padding-top: 0;
}

body.sheet .oh-iot-panel {
  margin: 0;
}

@media (max-width: 860px) {
  body.sheet .bar {
    grid-template-columns: 1fr auto;
  }

  body.sheet .oh-top-nav {
    display: none;
  }

  body.sheet .bar-tools {
    display: flex;
  }
}
