.surgery-prep-page {
  background: #f8fafc;
  color: #1f2937;
  font-family: "Noto Sans TC", "Inter", sans-serif;
}

.surgery-prep-container {
  margin: 0 auto;
  max-width: 940px;
  padding: 0 18px;
}

.surgery-prep-hero {
  background: linear-gradient(135deg, #16324f, #1f6f8b);
  color: #fff;
  padding: 36px 0 34px;
}

.surgery-prep-logo {
  align-items: center;
  background: rgba(255, 255, 255, 0.92);
  border-radius: 10px;
  display: inline-flex;
  margin-bottom: 22px;
  max-width: 260px;
  min-height: 62px;
  padding: 10px 14px;
}

.surgery-prep-logo img {
  display: block;
  height: auto;
  max-height: 52px;
  max-width: 220px;
  width: auto;
}

.surgery-prep-logo span {
  color: #16324f;
  font-weight: 900;
}

.surgery-prep-eyebrow {
  color: #d4a94e;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  margin: 0 0 10px;
  text-transform: uppercase;
}

.surgery-prep-hero h1 {
  font-size: clamp(2.2rem, 10vw, 4rem);
  line-height: 1.15;
  margin: 0;
}

.surgery-prep-subtitle,
.surgery-prep-intro {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.08rem;
  line-height: 1.8;
  margin: 16px 0 0;
}

.surgery-prep-intro {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 10px;
  padding: 16px;
}

.surgery-prep-progress {
  background: #fff;
  border-bottom: 1px solid #d9e1e8;
  padding: 24px 0;
  position: sticky;
  top: 0;
  z-index: 20;
}

.admin-bar .surgery-prep-progress {
  top: 46px;
}

.surgery-prep-progress__header {
  align-items: end;
  display: flex;
  gap: 18px;
  justify-content: space-between;
}

.surgery-prep-progress h2 {
  color: #16324f;
  font-size: 1.35rem;
  line-height: 1.35;
  margin: 0;
}

.surgery-prep-progress__header strong {
  color: #2aa6a4;
  font-size: 2rem;
  font-weight: 900;
}

.surgery-prep-progress__bar {
  background: #e2e8f0;
  border-radius: 999px;
  height: 12px;
  margin: 18px 0;
  overflow: hidden;
}

.surgery-prep-progress__bar span {
  background: linear-gradient(90deg, #2aa6a4, #d4a94e);
  border-radius: inherit;
  display: block;
  height: 100%;
  transition: width 0.25s ease;
  width: 0;
}

.surgery-prep-progress__grid {
  display: grid;
  gap: 10px;
  grid-template-columns: 1fr;
}

.surgery-prep-progress__grid article {
  background: #f1f7f8;
  border: 1px solid #d9e1e8;
  border-radius: 10px;
  display: flex;
  justify-content: space-between;
  padding: 12px 14px;
}

.surgery-prep-progress__grid span {
  color: #4c5b66;
  font-weight: 800;
}

.surgery-prep-progress__grid strong {
  color: #16324f;
  font-weight: 900;
}

.surgery-prep-content {
  display: grid;
  gap: 22px;
  padding-bottom: 54px;
  padding-top: 28px;
}

.surgery-prep-section,
.surgery-prep-warning,
.surgery-prep-cta,
.surgery-prep-disclaimer {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.06);
  padding: 22px;
}

.surgery-prep-section__heading span {
  color: #2aa6a4;
  display: block;
  font-weight: 900;
  margin-bottom: 8px;
}

.surgery-prep-section h2,
.surgery-prep-warning h2,
.surgery-prep-cta h2 {
  color: #16324f;
  font-size: clamp(1.45rem, 6vw, 2rem);
  line-height: 1.35;
  margin: 0;
}

.surgery-prep-section__heading p,
.surgery-prep-cta p,
.surgery-prep-disclaimer p {
  color: #4c5b66;
  font-size: 1rem;
  line-height: 1.8;
  margin: 10px 0 0;
}

.surgery-prep-checklist {
  display: grid;
  gap: 12px;
  list-style: none;
  margin: 20px 0 0;
  padding: 0;
}

.surgery-prep-item {
  align-items: flex-start;
  background: #f8fafc;
  border: 1px solid #d9e1e8;
  border-radius: 10px;
  display: grid;
  gap: 12px;
  grid-template-columns: 32px 1fr;
  padding: 15px;
}

.surgery-prep-item input {
  accent-color: #2aa6a4;
  height: 26px;
  margin: 2px 0 0;
  width: 26px;
}

.surgery-prep-item label {
  color: #334155;
  cursor: pointer;
  font-size: 1.04rem;
  font-weight: 700;
  line-height: 1.65;
}

.surgery-prep-item.is-complete {
  background: #edf8f7;
  border-color: rgba(42, 166, 164, 0.55);
}

.surgery-prep-item.is-complete label {
  color: #60707a;
  text-decoration: line-through;
  text-decoration-thickness: 2px;
}

.is-surgery-prep-page .wr-floating-whatsapp,
.is-surgery-prep-page .wr-mobile-cta {
  display: none;
}

.surgery-prep-warning {
  background: #fff8e8;
  border-color: rgba(212, 169, 78, 0.55);
  border-left: 5px solid #d4a94e;
  box-shadow: none;
}

.surgery-prep-warning ul {
  color: #4c5b66;
  line-height: 1.8;
  margin: 16px 0 0;
  padding-left: 1.25rem;
}

.surgery-prep-warning li + li {
  margin-top: 8px;
}

.surgery-prep-cta {
  background: #16324f;
  color: #fff;
}

.surgery-prep-cta h2,
.surgery-prep-cta p {
  color: #fff;
}

.surgery-prep-cta__actions {
  display: grid;
  gap: 12px;
  margin-top: 20px;
}

.surgery-prep-cta__actions a,
.surgery-prep-print,
.surgery-prep-reset {
  align-items: center;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  display: inline-flex;
  font: inherit;
  font-weight: 900;
  justify-content: center;
  min-height: 52px;
  padding: 14px 20px;
  text-align: center;
  text-decoration: none;
}

.surgery-prep-cta__actions a:first-child {
  background: #2aa6a4;
  color: #fff;
}

.surgery-prep-cta__actions a:nth-child(2) {
  background: #fff;
  color: #16324f;
}

.surgery-prep-print {
  background: #d4a94e;
  color: #16324f;
}

.surgery-prep-reset {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.42);
  color: #fff;
  margin-top: 14px;
  width: 100%;
}

.surgery-prep-disclaimer {
  background: #eef4f7;
  box-shadow: none;
}

.surgery-prep-disclaimer strong {
  color: #16324f;
  display: block;
  font-weight: 900;
  margin-bottom: 8px;
}

@media (min-width: 720px) {
  .surgery-prep-container {
    padding: 0 24px;
  }

  .surgery-prep-hero {
    padding: 56px 0 50px;
  }

  .surgery-prep-progress__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .surgery-prep-cta__actions {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media print {
  .wr-header,
  .wr-footer,
  .wr-floating-whatsapp,
  .wr-mobile-cta,
  .surgery-prep-cta,
  .surgery-prep-reset {
    display: none !important;
  }

  .surgery-prep-page {
    background: #fff;
  }

  .surgery-prep-progress {
    position: static;
  }

  .surgery-prep-section,
  .surgery-prep-warning,
  .surgery-prep-disclaimer {
    box-shadow: none;
    break-inside: avoid;
  }
}
