/* 1023px 이하 — 진료 안내 2 (원데이 보철 · 치아교정 · 수면진료 2지면)
   PC 좌표·고정 높이로 박힌 배치를 흐름으로 되돌린다. 문장·사진은 바꾸지 않는다. */
@media all and (max-width: 1023px) {

  /* ── 원데이 보철 ───────────────────────────── */

  /* 영상 칸 — 높이가 0 이라 영상이 사라진다 */
  #oneday #section02 .up .d-flex > div:has(> iframe) {
    width: 100% !important;
    flex: 0 0 100%;
    aspect-ratio: 16 / 9;
    height: auto !important;
  }
  #oneday #section02 .up .label {
    width: auto !important;
    max-width: 100%;
    height: auto !important;
    padding: 10px 20px !important;
    display: inline-flex !important;
  }
  #oneday #section02 .up .label h5 {
    white-space: normal !important;
  }

  /* 세렉 흰 상자 — 사진이 왼쪽으로 튀어나가 글을 덮는다 */
  #oneday #section03 .container div.whiteBox {
    height: auto !important;
    padding: 24px 16px !important;
    flex-direction: column !important;
    gap: 16px !important;
  }
  #oneday #section03 .container div.whiteBox > div {
    width: 100% !important;
  }
  #oneday #section03 .container div.whiteBox p {
    margin-bottom: 16px !important;
  }
  #oneday #section03 .container div.whiteBox > img {
    position: static !important;
    width: 100% !important;
    height: auto !important;
    max-width: 100% !important;
    object-fit: contain;
  }

  /* 장비 목록 — 왼쪽 목록 + 오른쪽 상세 2단을 위아래로 */
  #oneday #section08 .equipment-swiper-wrapper {
    flex-direction: column !important;
    height: auto !important;
    gap: 10px;
  }
  #oneday #section08 .custom-pagination {
    width: 100% !important;
    height: auto !important;
    padding-top: 0 !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  #oneday #section08 .custom-pagination::-webkit-scrollbar {
    display: none;
  }
  #oneday #section08 .custom-pagination .pagination-buttons-wrapper {
    display: flex !important;
    height: auto !important;
    width: max-content;
    max-width: none !important;
    gap: 6px;
    transform: none !important;
  }
  #oneday #section08 .pagination-btn {
    width: auto !important;
    flex: 0 0 auto;
    min-height: 44px !important;
    padding: 6px 14px !important;
    font-size: 14px !important;
    line-height: 1.3 !important;
    white-space: nowrap !important;
  }
  #oneday #section08 .scroll-down-btn,
  #oneday #section08 .scroll-up-btn {
    display: none !important;
  }
  #oneday #section08 .swiper {
    width: 100% !important;
    flex: 0 0 auto !important;
    height: 590px !important;
  }
  #oneday #section08 .equipment-detail {
    height: 100% !important;
    flex-direction: column !important;
    align-items: stretch !important;
    justify-content: flex-start !important;
    gap: 12px !important;
    padding: 16px !important;
    overflow-y: auto;
  }
  #oneday #section08 .equipment-detail > img {
    order: -1;
    width: 100% !important;
    height: 220px !important;
    max-width: 100% !important;
    object-fit: contain;
    flex: 0 0 auto;
  }
  #oneday #section08 .equipment-detail div {
    padding-left: 0 !important;
    width: 100% !important;
  }
  #oneday #section08 .equipment-detail div h6 {
    margin-bottom: 4px !important;
  }
  #oneday #section08 .equipment-detail h3 {
    margin-bottom: 10px !important;
  }
  #oneday #section08 .equipment-detail p {
    margin-bottom: 16px !important;
  }
  #oneday #section08 .equipment-detail button {
    width: 160px !important;
    height: 44px !important;
    max-width: 100%;
  }
  #oneday #section08 .equipment-detail button a {
    gap: 12px !important;
    font-size: 15px !important;
    line-height: 44px !important;
    white-space: nowrap;
  }

  /* ── 치아교정 ─────────────────────────────── */

  /* 비교 사진 — 2열 180px 이 작고 위아래가 비어 있다 */
  #ddc #section03 .container-xl .comparison-container {
    flex-direction: column !important;
    gap: 36px !important;
  }
  #ddc #section03 .container-xl .comparison-item {
    width: 100% !important;
  }
  #ddc #section03 .container-xl .comparison-item h3 {
    margin-bottom: 14px !important;
  }
  #ddc #section03 .container-xl .image-compare {
    height: auto !important;
    aspect-ratio: 707 / 347;
    touch-action: pan-y;
  }
  #ddc #section03 .container-xl .before-image img,
  #ddc #section03 .container-xl .after-image img {
    height: 100% !important;
  }
  /* 손잡이 — 부모(3px) 폭에 눌려 3px 로 줄어 있었다 */
  #ddc #section03 .container-xl .slider-button {
    max-width: none !important;
    width: 64px !important;
    height: 36px !important;
    top: auto !important;
    bottom: 4px;
    transform: translateX(-50%) !important;
    gap: 12px !important;
  }
  #ddc #section03 .container-xl .slider-button span {
    font-size: 13px !important;
  }
  #ddc #section03 .container-xl .labels {
    margin-top: 10px !important;
  }
  #ddc #section03 .container-xl .label-before,
  #ddc #section03 .container-xl .label-after {
    font-size: 18px !important;
  }

  /* 치료사례 잠금 덮개 — 사진 높이만 덮고 고지문은 줄바꿈해 보이게 */
  #ddc #section09 .tab-contents .tab-content .overlay {
    height: auto !important;
    bottom: 65px;
    padding: 8px 12px;
  }
  /* 좁은 높이에서 줄바꿈(wrap)이 켜져 고지문이 옆 칸으로 밀려 잘렸다 */
  #ddc #section09 .tab-contents .tab-content .overlay a {
    flex-wrap: nowrap !important;
    gap: 0 !important;
  }
  #ddc #section09 .tab-contents .tab-content .overlay img {
    width: auto !important;
    height: 28px !important;
    margin-bottom: 6px !important;
  }
  #ddc #section09 .tab-contents .tab-content .overlay h6 {
    font-size: 14px !important;
    line-height: 1.4 !important;
    margin-bottom: 4px !important;
    color: rgba(255, 255, 255, 0.85) !important;
  }
  #ddc #section09 .tab-contents .tab-content .overlay p {
    white-space: normal !important;
    font-size: 12px !important;
    line-height: 1.5 !important;
    text-align: center;
    word-break: keep-all;
    color: rgba(255, 255, 255, 0.85) !important;
  }
  #ddc #section09 .tab-contents .tab-content .textBox {
    width: 100% !important;
    height: auto !important;
    padding: 10px 12px;
  }
  #ddc #section09 .tab-contents .tab-content .textBox p {
    text-align: center;
    word-break: keep-all;
  }

  /* ── 수면진료 2지면 ───────────────────────── */

  /* 공포지수 상자 — 왼쪽 여백 0 · 오른쪽 칸이 끝에 붙는다 */
  #sleep #section01 .box {
    width: auto !important;
    height: auto !important;
    flex-direction: column !important;
    gap: 16px !important;
    margin-top: 32px !important;
    padding: 0 16px;
    text-align: center;
  }
  #sleep #section01 .box .text {
    width: 100% !important;
    height: auto !important;
  }
  #sleep #section01 .box .text h2 {
    font-size: 26px !important;
    line-height: 1.4 !important;
  }
  #sleep #section01 .point {
    justify-content: center;
    gap: 12px !important;
  }
  #sleep #section01 .point h1 {
    width: auto !important;
    font-size: 72px !important;
    line-height: 1 !important;
  }
  #sleep #section01 .point div {
    width: auto !important;
    height: auto !important;
    text-align: left;
  }
  #sleep #section01 .point h5 {
    font-size: 15px !important;
    line-height: 1.5 !important;
    white-space: nowrap;
  }
  #sleep #section01 .point h2 {
    font-size: 30px !important;
    line-height: 1.2 !important;
  }

  /* 아이콘 3개 — 199px 원 3줄이 섹션 밖으로 넘쳐 아래 표를 덮는다 */
  #sleep #section02 .container .tabs {
    height: auto !important;
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 24px !important;
    margin-top: 28px;
  }
  #sleep #section02 .container .tab-buttons {
    flex-wrap: nowrap !important;
    justify-content: space-between !important;
    gap: 8px !important;
  }
  #sleep #section02 .container .tab-button {
    flex: 1 1 0;
    min-width: 0;
    min-height: 44px;
  }
  #sleep #section02 .container .tab-button div {
    width: 84px !important;
    height: 84px !important;
    margin: 0 auto 8px !important;
  }
  #sleep #section02 .container .tab-button div img {
    width: 44px !important;
    height: auto !important;
  }
  #sleep #section02 .container .tab-button p {
    font-size: 14px !important;
    line-height: 1.4 !important;
    word-break: keep-all;
  }
  #sleep #section02 .container .tab-content h5 {
    margin-bottom: 12px !important;
  }

  /* 전신마취 vs 수면마취 표(그림) — 글자가 5px 로 줄어 못 읽는다. 옆으로 밀어 본다 */
  #sleep #section03 .container {
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch;
  }
  #sleep #section03 .container img {
    display: block;
    width: 720px !important;
    max-width: none !important;
    height: auto !important;
  }

  /* 적용 치료 원형 5개 — 한 줄에 둘씩 */
  #sleep #section05 .container ul {
    flex-wrap: wrap !important;
    justify-content: center !important;
    gap: 16px !important;
    margin-top: 32px !important;
    padding-left: 0;
  }
  #sleep #section05 .container ul li {
    width: calc(50% - 8px);
    max-width: 180px;
  }
  #sleep #section05 .container ul li img {
    width: 100% !important;
    height: auto !important;
  }

  /* 응급 대비 사진 — 고정 높이로 찌그러지지 않게 */
  #sleep #section06 .container .boxes img {
    width: 100% !important;
    height: auto !important;
    margin-bottom: 20px !important;
  }
  #sleep #section06 .container h4 {
    margin-bottom: 12px !important;
  }
  #sleep #section06 .container em {
    margin-bottom: 12px !important;
  }
  #sleep #section06 .container .horizonBox {
    flex-direction: column !important;
    gap: 16px !important;
    margin-top: 40px !important;
  }
  #sleep #section06 .container .horizonBox img {
    width: 100% !important;
    height: auto !important;
  }

  /* N²O 탭 — 4칸 높이 제각각 · 내용 칸 고정 높이로 글이 잘린다 */
  #sleep #section07 > div {
    padding-top: 56px !important;
    padding-bottom: 40px !important;
  }
  #sleep #section07 h2 span {
    font-size: 44px !important;
    margin-left: 10px !important;
  }
  #sleep #section07 .tabs {
    margin-top: 28px !important;
  }
  #sleep #section07 .tab-buttons {
    width: auto !important;
    display: grid !important;
    grid-template-columns: 1fr 1fr;
    gap: 6px;
    padding: 0 16px !important;
  }
  #sleep #section07 .tab-button {
    width: auto !important;
    height: auto !important;
    min-height: 52px;
    padding: 6px 8px;
    font-size: 14px !important;
    line-height: 1.35 !important;
    text-align: center;
    word-break: keep-all;
  }
  #sleep #section07 .tab-content-wrapper {
    height: auto !important;
    overflow: visible !important;
  }
  #sleep #section07 .tab-content .d-flex {
    flex-direction: column !important;
    align-items: stretch !important;
  }
  #sleep #section07 .tab-content .d-flex > div {
    padding-top: 16px !important;
  }
  #sleep #section07 .tab-content img {
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    margin-bottom: 12px !important;
  }
  #sleep #section07 .tab-content h6 img {
    width: auto !important;
    height: 1em !important;
    display: inline;
    margin: 0 !important;
  }
  #sleep #section07 .tab-content h3 {
    margin-bottom: 12px !important;
  }
}

/* 태블릿 — 두 비교 사진은 나란히 둔다 */
@media all and (min-width: 600px) and (max-width: 1023px) {
  #oneday #section08 .swiper {
    height: 500px !important;
  }
  #oneday #section03 .container div.whiteBox > img {
    max-width: 520px !important;
    margin: 0 auto;
  }
  #ddc #section03 .container-xl .comparison-container {
    flex-direction: row !important;
    gap: 16px !important;
  }
  #ddc #section03 .container-xl .comparison-item {
    width: calc(50% - 8px) !important;
  }
  #sleep #section05 .container ul li {
    width: calc(33.33% - 11px);
  }
  #sleep #section07 .tab-buttons {
    grid-template-columns: repeat(4, 1fr);
  }
}

html body .mfc {
  display: none;
}

@media all and (max-width: 767px) {
  html body .mfc-hide {
    display: none !important;
  }
  html body :is(#sleep, #oneday, #ddc) :is(#section01, #section02, #section03, #section04, #section07) .mfc.mfc {
    display: block;
    width: 100%;
    margin: 20px 0;
    padding: 0;
    color: #333333;
    font-size: 15px;
    line-height: 1.65;
    letter-spacing: -0.02em;
    text-align: left;
    word-break: keep-all;
    overflow-wrap: break-word;
    box-sizing: border-box;
  }
  html body :is(#sleep, #oneday, #ddc) :is(#section01, #section02, #section03, #section04, #section07) .mfc.mfc *,
  html body :is(#sleep, #oneday, #ddc) :is(#section01, #section02, #section03, #section04, #section07) .mfc.mfc *::before,
  html body :is(#sleep, #oneday, #ddc) :is(#section01, #section02, #section03, #section04, #section07) .mfc.mfc *::after {
    box-sizing: border-box;
    word-break: keep-all;
    overflow-wrap: break-word;
    letter-spacing: -0.02em;
  }
  html body :is(#sleep, #oneday, #ddc) :is(#section01, #section02, #section03, #section04, #section07) .mfc.mfc p {
    margin: 0;
    font-size: 15px;
    line-height: 1.65;
  }
  html body :is(#sleep, #oneday, #ddc) :is(#section01, #section02, #section03, #section04, #section07) .mfc.mfc h4 {
    margin: 0;
    font-size: 17px;
    font-weight: 700;
    line-height: 1.4;
    letter-spacing: -0.02em;
    color: inherit;
  }
  html body :is(#sleep, #oneday, #ddc) :is(#section01, #section02, #section03, #section04, #section07) .mfc.mfc ul,
  html body :is(#sleep, #oneday, #ddc) :is(#section01, #section02, #section03, #section04, #section07) .mfc.mfc ol {
    margin: 0;
    padding: 0;
    list-style: none;
  }
  html body :is(#sleep, #oneday, #ddc) :is(#section01, #section02, #section03, #section04, #section07) .mfc.mfc img {
    display: block;
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    margin: 0 !important;
  }
  html body :is(#sleep, #oneday, #ddc) :is(#section01, #section02, #section03, #section04, #section07) .mfc.mfc .mfc-note {
    font-size: 13px;
    line-height: 1.5;
    color: #888888;
  }

  /* 수면 — 전신마취 vs 수면마취 */
  html body :is(#sleep, #oneday, #ddc) :is(#section01, #section02, #section03, #section04, #section07) .mfc.mfc .mfc-cmp-h {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }
  html body :is(#sleep, #oneday, #ddc) :is(#section01, #section02, #section03, #section04, #section07) .mfc.mfc .mfc-cmp-h p {
    padding: 10px 6px;
    text-align: center;
    font-size: 17px;
    font-weight: 700;
    color: #ffffff;
  }
  html body :is(#sleep, #oneday, #ddc) :is(#section01, #section02, #section03, #section04, #section07) .mfc.mfc .mfc-cmp-a p {
    background: #b7b7b7;
  }
  html body :is(#sleep, #oneday, #ddc) :is(#section01, #section02, #section03, #section04, #section07) .mfc.mfc .mfc-cmp-b p {
    background: #558ed5;
  }
  html body :is(#sleep, #oneday, #ddc) :is(#section01, #section02, #section03, #section04, #section07) .mfc.mfc .mfc-cmp-r {
    margin-top: 8px;
    border: 1px solid #dddddd;
    background: #ffffff;
  }
  html body :is(#sleep, #oneday, #ddc) :is(#section01, #section02, #section03, #section04, #section07) .mfc.mfc .mfc-cmp-r h4 {
    padding: 6px 8px;
    background: #f5f5f5;
    border-bottom: 1px solid #dddddd;
    text-align: center;
    font-size: 15px;
  }
  html body :is(#sleep, #oneday, #ddc) :is(#section01, #section02, #section03, #section04, #section07) .mfc.mfc .mfc-cmp-r > div {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
  html body :is(#sleep, #oneday, #ddc) :is(#section01, #section02, #section03, #section04, #section07) .mfc.mfc .mfc-cmp-r p {
    padding: 12px 8px;
    text-align: center;
  }
  html body :is(#sleep, #oneday, #ddc) :is(#section01, #section02, #section03, #section04, #section07) .mfc.mfc .mfc-cmp-r p.a {
    color: #777777;
    border-right: 1px solid #dddddd;
  }
  html body :is(#sleep, #oneday, #ddc) :is(#section01, #section02, #section03, #section04, #section07) .mfc.mfc .mfc-cmp-r p.b {
    color: #558ed5;
    font-weight: 700;
  }

  /* 수면 — 아산화질소 네 가지 장점 */
  html body :is(#sleep, #oneday, #ddc) :is(#section01, #section02, #section03, #section04, #section07) .mfc.mfc.mfc-tiles {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-top: 16px;
  }
  html body :is(#sleep, #oneday, #ddc) :is(#section01, #section02, #section03, #section04, #section07) .mfc.mfc.mfc-tiles li {
    padding: 16px 8px 14px;
    background: #f5f5f5;
    text-align: center;
  }
  html body :is(#sleep, #oneday, #ddc) :is(#section01, #section02, #section03, #section04, #section07) .mfc.mfc.mfc-tiles li img {
    width: 64px !important;
    height: 64px !important;
    margin: 0 auto 8px !important;
  }
  html body :is(#sleep, #oneday, #ddc) :is(#section01, #section02, #section03, #section04, #section07) .mfc.mfc.mfc-tiles li p {
    color: #444444;
  }
  html body :is(#sleep, #oneday, #ddc) :is(#section01, #section02, #section03, #section04, #section07) .mfc.mfc.mfc-tiles li strong {
    display: block;
    font-weight: 700;
    color: #333333;
  }

  /* 수면 — 사용의 한계 · 효과 대상자 */
  html body :is(#sleep, #oneday, #ddc) :is(#section01, #section02, #section03, #section04, #section07) .mfc.mfc.mfc-two {
    display: grid;
    gap: 12px;
  }
  html body :is(#sleep, #oneday, #ddc) :is(#section01, #section02, #section03, #section04, #section07) .mfc.mfc .mfc-box {
    padding: 20px 16px;
    background: #f5f5f5;
  }
  html body :is(#sleep, #oneday, #ddc) :is(#section01, #section02, #section03, #section04, #section07) .mfc.mfc .mfc-box h4 {
    margin-bottom: 12px;
    text-align: center;
    font-size: 18px;
  }
  html body :is(#sleep, #oneday, #ddc) :is(#section01, #section02, #section03, #section04, #section07) .mfc.mfc .mfc-box li {
    position: relative;
    padding-left: 14px;
    margin-top: 6px;
  }
  html body :is(#sleep, #oneday, #ddc) :is(#section01, #section02, #section03, #section04, #section07) .mfc.mfc .mfc-box li::before {
    content: "·";
    position: absolute;
    left: 2px;
  }
  html body :is(#sleep, #oneday, #ddc) :is(#section01, #section02, #section03, #section04, #section07) .mfc.mfc .mfc-ok li::before {
    content: "✓";
    left: 0;
    color: #558ed5;
    font-weight: 700;
  }
  html body :is(#sleep, #oneday, #ddc) :is(#section01, #section02, #section03, #section04, #section07) .mfc.mfc .mfc-ok li {
    padding-left: 18px;
  }

  /* 수면 — 주의사항 */
  html body :is(#sleep, #oneday, #ddc) :is(#section01, #section02, #section03, #section04, #section07) .mfc.mfc.mfc-steps li {
    display: flex;
    align-items: stretch;
    margin-top: 8px;
    background: #f5f5f5;
  }
  html body :is(#sleep, #oneday, #ddc) :is(#section01, #section02, #section03, #section04, #section07) .mfc.mfc.mfc-steps li:first-child {
    margin-top: 0;
  }
  html body :is(#sleep, #oneday, #ddc) :is(#section01, #section02, #section03, #section04, #section07) .mfc.mfc.mfc-steps li span {
    flex: 0 0 44px;
    padding-top: 12px;
    background: #558ed5;
    color: #ffffff;
    text-align: center;
    font-size: 17px;
    font-weight: 700;
    line-height: 1.4;
  }
  html body :is(#sleep, #oneday, #ddc) :is(#section01, #section02, #section03, #section04, #section07) .mfc.mfc.mfc-steps li p {
    padding: 12px 14px;
  }

  /* 원데이 — 치료 기간 비교 */
  html body :is(#sleep, #oneday, #ddc) :is(#section01, #section02, #section03, #section04, #section07) .mfc.mfc .mfc-tl-c {
    margin-top: 12px;
    padding: 16px 14px;
    background: #f5f5f5;
    border: 1px solid #e0e0e0;
  }
  html body :is(#sleep, #oneday, #ddc) :is(#section01, #section02, #section03, #section04, #section07) .mfc.mfc .mfc-tl-c:first-child {
    margin-top: 0;
  }
  html body :is(#sleep, #oneday, #ddc) :is(#section01, #section02, #section03, #section04, #section07) .mfc.mfc .mfc-tl-c h4 {
    margin-bottom: 10px;
  }
  html body :is(#sleep, #oneday, #ddc) :is(#section01, #section02, #section03, #section04, #section07) .mfc.mfc .mfc-tl-c .mfc-note {
    margin: -6px 0 10px;
  }
  html body :is(#sleep, #oneday, #ddc) :is(#section01, #section02, #section03, #section04, #section07) .mfc.mfc .mfc-tl-c li {
    display: grid;
    grid-template-columns: 92px 1fr;
    align-items: stretch;
    margin-top: 6px;
    background: #ffffff;
  }
  html body :is(#sleep, #oneday, #ddc) :is(#section01, #section02, #section03, #section04, #section07) .mfc.mfc .mfc-tl-c li b {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px 6px;
    background: #777777;
    color: #ffffff;
    font-size: 15px;
    font-weight: 700;
    text-align: center;
    line-height: 1.3;
  }
  html body :is(#sleep, #oneday, #ddc) :is(#section01, #section02, #section03, #section04, #section07) .mfc.mfc .mfc-tl-c li.end b {
    background: #222222;
  }
  html body :is(#sleep, #oneday, #ddc) :is(#section01, #section02, #section03, #section04, #section07) .mfc.mfc .mfc-tl-one li b {
    background: #558ed5;
  }
  html body :is(#sleep, #oneday, #ddc) :is(#section01, #section02, #section03, #section04, #section07) .mfc.mfc .mfc-tl-one li.end b {
    background: #0e405b;
  }
  html body :is(#sleep, #oneday, #ddc) :is(#section01, #section02, #section03, #section04, #section07) .mfc.mfc .mfc-tl-c li > p {
    display: flex;
    align-items: center;
    padding: 10px 12px;
    color: #555555;
  }
  html body :is(#sleep, #oneday, #ddc) :is(#section01, #section02, #section03, #section04, #section07) .mfc.mfc .mfc-tl-c li.end > p {
    color: #222222;
    font-weight: 700;
  }
  html body :is(#sleep, #oneday, #ddc) :is(#section01, #section02, #section03, #section04, #section07) .mfc.mfc .mfc-tl-c li > div {
    padding: 0 0 10px;
  }
  html body :is(#sleep, #oneday, #ddc) :is(#section01, #section02, #section03, #section04, #section07) .mfc.mfc .mfc-tl-c li > div img {
    margin-bottom: 8px !important;
  }
  html body :is(#sleep, #oneday, #ddc) :is(#section01, #section02, #section03, #section04, #section07) .mfc.mfc .mfc-tl-c li > div p {
    padding: 0 12px;
    color: #558ed5;
    font-weight: 700;
  }

  /* 원데이 — 구강 스캔 · 당일 제작 카드 */
  html body :is(#sleep, #oneday, #ddc) :is(#section01, #section02, #section03, #section04, #section07) .mfc.mfc.mfc-cards {
    display: grid;
    gap: 16px;
    margin-top: 20px;
  }
  html body :is(#sleep, #oneday, #ddc) :is(#section01, #section02, #section03, #section04, #section07) .mfc.mfc.mfc-cards figure {
    margin: 0;
    background: #f6f6f6;
    border: 1px solid #e5e5e5;
  }
  html body :is(#sleep, #oneday, #ddc) :is(#section01, #section02, #section03, #section04, #section07) .mfc.mfc.mfc-cards figcaption {
    padding: 4px 16px 20px;
    text-align: center;
  }
  html body :is(#sleep, #oneday, #ddc) :is(#section01, #section02, #section03, #section04, #section07) .mfc.mfc.mfc-cards figcaption h4 {
    margin-bottom: 8px;
    font-size: 17px;
  }
  html body :is(#sleep, #oneday, #ddc) :is(#section01, #section02, #section03, #section04, #section07) .mfc.mfc.mfc-cards figcaption p {
    color: #555555;
  }

  /* 원데이 — 외부 기공소와 원내 기공센터 */
  html body :is(#sleep, #oneday, #ddc) :is(#section01, #section02, #section03, #section04, #section07) .mfc.mfc .mfc-tl2-c {
    margin-top: 12px;
    padding: 16px 14px;
    background: #f5f5f5;
    border: 1px solid #e0e0e0;
  }
  html body :is(#sleep, #oneday, #ddc) :is(#section01, #section02, #section03, #section04, #section07) .mfc.mfc .mfc-tl2-c:first-child {
    margin-top: 0;
  }
  html body :is(#sleep, #oneday, #ddc) :is(#section01, #section02, #section03, #section04, #section07) .mfc.mfc .mfc-tl2-c h4 {
    margin: 0 auto 12px;
    padding: 6px 16px;
    max-width: 100%;
    width: fit-content;
    border-radius: 999px;
    background: #555555;
    color: #ffffff;
    text-align: center;
  }
  html body :is(#sleep, #oneday, #ddc) :is(#section01, #section02, #section03, #section04, #section07) .mfc.mfc .mfc-tl2-one h4 {
    background: #558ed5;
  }
  html body :is(#sleep, #oneday, #ddc) :is(#section01, #section02, #section03, #section04, #section07) .mfc.mfc .mfc-tl2-c ol {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }
  html body :is(#sleep, #oneday, #ddc) :is(#section01, #section02, #section03, #section04, #section07) .mfc.mfc .mfc-tl2-c li {
    padding: 10px 8px;
    background: #ffffff;
    border: 2px solid #d3d3d3;
    border-radius: 12px;
    text-align: center;
    line-height: 1.4;
  }
  html body :is(#sleep, #oneday, #ddc) :is(#section01, #section02, #section03, #section04, #section07) .mfc.mfc .mfc-tl2-c li b {
    display: block;
    font-size: 13px;
    font-weight: 400;
    color: #888888;
  }
  html body :is(#sleep, #oneday, #ddc) :is(#section01, #section02, #section03, #section04, #section07) .mfc.mfc .mfc-tl2-c li span {
    display: block;
    font-size: 15px;
    font-weight: 700;
    color: #333333;
  }
  html body :is(#sleep, #oneday, #ddc) :is(#section01, #section02, #section03, #section04, #section07) .mfc.mfc .mfc-tl2-c li.end {
    grid-column: 1 / -1;
    background: #333333;
    border-color: #333333;
  }
  html body :is(#sleep, #oneday, #ddc) :is(#section01, #section02, #section03, #section04, #section07) .mfc.mfc .mfc-tl2-c li.end b {
    color: #cccccc;
  }
  html body :is(#sleep, #oneday, #ddc) :is(#section01, #section02, #section03, #section04, #section07) .mfc.mfc .mfc-tl2-c li.end span {
    color: #ffffff;
  }
  html body :is(#sleep, #oneday, #ddc) :is(#section01, #section02, #section03, #section04, #section07) .mfc.mfc .mfc-flow {
    padding: 14px 16px;
    border-radius: 24px;
    background: #558ed5;
    color: #ffffff;
    text-align: center;
    font-weight: 700;
  }
  html body :is(#sleep, #oneday, #ddc) :is(#section01, #section02, #section03, #section04, #section07) .mfc.mfc .mfc-flow i {
    display: block;
    font-style: normal;
    font-weight: 400;
    opacity: 0.75;
  }
  html body :is(#sleep, #oneday, #ddc) :is(#section01, #section02, #section03, #section04, #section07) .mfc.mfc .mfc-sum {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-top: 14px;
  }
  html body :is(#sleep, #oneday, #ddc) :is(#section01, #section02, #section03, #section04, #section07) .mfc.mfc .mfc-sum img {
    flex: 0 0 96px;
    width: 96px !important;
  }
  html body :is(#sleep, #oneday, #ddc) :is(#section01, #section02, #section03, #section04, #section07) .mfc.mfc .mfc-sum p {
    font-size: 17px;
    font-weight: 700;
    line-height: 1.5;
  }
  html body :is(#sleep, #oneday, #ddc) :is(#section01, #section02, #section03, #section04, #section07) .mfc.mfc .mfc-sum em {
    font-style: normal;
    color: #558ed5;
  }

  /* 치아교정 — 일반 교정과 디지털 교정 */
  html body :is(#sleep, #oneday, #ddc) :is(#section01, #section02, #section03, #section04, #section07) .mfc.mfc.mfc-cmp2 {
    display: grid;
    gap: 16px;
  }
  html body :is(#sleep, #oneday, #ddc) :is(#section01, #section02, #section03, #section04, #section07) .mfc.mfc.mfc-cmp2 section {
    padding: 16px 14px 18px;
  }
  html body :is(#sleep, #oneday, #ddc) :is(#section01, #section02, #section03, #section04, #section07) .mfc.mfc .mfc-cmp2-a {
    background: #b7b7b7;
    color: #333333;
  }
  html body :is(#sleep, #oneday, #ddc) :is(#section01, #section02, #section03, #section04, #section07) .mfc.mfc .mfc-cmp2-b {
    background: #002357;
    color: #ffffff;
  }
  html body :is(#sleep, #oneday, #ddc) :is(#section01, #section02, #section03, #section04, #section07) .mfc.mfc.mfc-cmp2 h4 {
    margin-top: 14px;
    text-align: center;
  }
  html body :is(#sleep, #oneday, #ddc) :is(#section01, #section02, #section03, #section04, #section07) .mfc.mfc.mfc-cmp2 .sub {
    margin-top: 2px;
    text-align: center;
  }
  html body :is(#sleep, #oneday, #ddc) :is(#section01, #section02, #section03, #section04, #section07) .mfc.mfc.mfc-cmp2 ul {
    margin-top: 12px;
  }
  html body :is(#sleep, #oneday, #ddc) :is(#section01, #section02, #section03, #section04, #section07) .mfc.mfc.mfc-cmp2 li {
    margin-top: 8px;
    padding: 10px 16px;
    border-radius: 22px;
    background: #ffffff;
    color: #333333;
    line-height: 1.5;
  }
  html body :is(#sleep, #oneday, #ddc) :is(#section01, #section02, #section03, #section04, #section07) .mfc.mfc .mfc-cmp2-b li::before {
    content: "✓ ";
    color: #558ed5;
    font-weight: 700;
  }

  /* 치아교정 — 이런 치열을 가지고 계신가요 */
  html body :is(#sleep, #oneday, #ddc) :is(#section01, #section02, #section03, #section04, #section07) .mfc.mfc.mfc-cases {
    display: grid;
    gap: 16px;
  }
  html body :is(#sleep, #oneday, #ddc) :is(#section01, #section02, #section03, #section04, #section07) .mfc.mfc.mfc-cases article {
    overflow: hidden;
    border-radius: 14px;
    background: #eeeeee;
  }
  html body :is(#sleep, #oneday, #ddc) :is(#section01, #section02, #section03, #section04, #section07) .mfc.mfc.mfc-cases article > div {
    padding: 16px 16px 20px;
  }
  html body :is(#sleep, #oneday, #ddc) :is(#section01, #section02, #section03, #section04, #section07) .mfc.mfc.mfc-cases .tag {
    display: block;
  }
  html body :is(#sleep, #oneday, #ddc) :is(#section01, #section02, #section03, #section04, #section07) .mfc.mfc.mfc-cases .tag b {
    display: block;
    padding: 8px 14px;
    border-radius: 6px 6px 0 0;
    background: #003e64;
    color: #ffffff;
    font-size: 15px;
    font-weight: 700;
  }
  html body :is(#sleep, #oneday, #ddc) :is(#section01, #section02, #section03, #section04, #section07) .mfc.mfc.mfc-cases .tag span {
    display: block;
    padding: 8px 14px;
    border-radius: 0 0 6px 6px;
    background: #ffffff;
  }
  html body :is(#sleep, #oneday, #ddc) :is(#section01, #section02, #section03, #section04, #section07) .mfc.mfc.mfc-cases .sub {
    margin-top: 12px;
    color: #555555;
  }
  html body :is(#sleep, #oneday, #ddc) :is(#section01, #section02, #section03, #section04, #section07) .mfc.mfc.mfc-cases .res {
    margin-top: 6px;
    font-weight: 700;
    color: #333333;
  }
  html body :is(#sleep, #oneday, #ddc) :is(#section01, #section02, #section03, #section04, #section07) .mfc.mfc.mfc-cases .res em {
    display: inline !important;
    position: static !important;
    width: auto !important;
    height: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    background: none !important;
    font-style: normal;
    color: #558ed5;
  }

  html body #sleep #section07 .tab-content h3 img {
    width: 36px !important;
    height: 36px !important;
    max-width: 36px !important;
    margin: 0 8px 0 0 !important;
    display: inline-block;
    vertical-align: middle;
  }
}
