.np-doctor-schedule,
.np-doctor-schedule * {
  box-sizing: border-box;
}

.np-doctor-schedule {
  --np-schedule-ink: #0f2d34;
  --np-schedule-muted: #5f7178;
  --np-schedule-line: rgba(8, 102, 98, .2);
  --np-schedule-green: #a9dd6f;
  --np-schedule-green-dark: #0b6f63;
  --np-schedule-red: #f4c2bc;
  --np-schedule-red-ink: #7b2e28;
  --np-schedule-gray: #edf1ee;
  --np-schedule-amber: #ffcf3f;
  width: 100%;
  margin: clamp(34px, 5vw, 64px) auto;
  scroll-margin-top: 132px;
  color: var(--np-schedule-ink);
  font-family: "Rubik", ui-sans-serif, system-ui, -apple-system, sans-serif;
}

.np-doctor-schedule__inner {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  overflow: clip;
  border: 1px solid var(--np-schedule-line);
  border-top: 6px solid var(--np-schedule-green-dark);
  border-radius: 8px;
  background: #fffdf8;
}

.np-doctor-schedule__head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, .38fr);
  gap: 24px;
  align-items: stretch;
  padding: 28px 30px 20px;
}

.np-doctor-schedule__title {
  min-width: 0;
}

.np-doctor-schedule__kicker {
  margin: 0 0 9px;
  color: #00736c;
  font-size: 12px;
  font-weight: 900;
  line-height: 1.25;
  text-transform: uppercase;
}

.np-doctor-schedule h2 {
  margin: 0;
  max-width: 760px;
  color: var(--np-schedule-ink);
  font-size: 46px;
  font-weight: 950;
  line-height: 1.02;
  letter-spacing: 0;
}

.np-doctor-schedule__title p {
  max-width: 800px;
  margin: 14px 0 0;
  color: #40555d;
  font-size: 17px;
  line-height: 1.58;
}

.np-doctor-schedule__call {
  display: grid;
  align-content: center;
  gap: 12px;
  min-width: 0;
  padding: 20px;
  border-left: 1px solid rgba(8, 102, 98, .2);
  background: rgba(236, 246, 243, .74);
}

.np-doctor-schedule__call span {
  color: #6b5b34;
  font-size: 14px;
  font-weight: 850;
}

.np-doctor-schedule__call a {
  display: inline-flex;
  width: fit-content;
  max-width: 100%;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  border-radius: 8px;
  background: #102f36;
  color: #fffdf8;
  font-size: 20px;
  font-weight: 950;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
}

.np-doctor-schedule__call a:hover,
.np-doctor-schedule__call a:focus-visible {
  background: #0b6f63;
  color: #fffdf8;
  outline: 2px solid rgba(11, 111, 99, .32);
  outline-offset: 3px;
  text-decoration: none;
}

.np-doctor-schedule__call p {
  margin: 0;
  color: #40555d;
  font-size: 14px;
  font-weight: 750;
  line-height: 1.45;
}

.np-doctor-schedule__notice {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  padding: 14px 30px;
  border-block: 1px solid var(--np-schedule-line);
  background: #fff3cd;
}

.np-doctor-schedule__notice p {
  margin: 0;
  color: #5a4312;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.45;
}

.np-doctor-schedule__legend {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

.np-doctor-schedule__legend span {
  display: inline-flex;
  min-height: 30px;
  align-items: center;
  gap: 7px;
  padding: 5px 10px;
  border: 1px solid rgba(8, 102, 98, .16);
  border-radius: 8px;
  background: #fffdf8;
  color: #263b42;
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
}

.np-doctor-schedule__legend i {
  display: inline-block;
  width: 12px;
  height: 12px;
  border-radius: 3px;
}

.np-doctor-schedule__legend .is-hours {
  background: var(--np-schedule-green);
}

.np-doctor-schedule__legend .is-none {
  background: var(--np-schedule-red);
}

.np-doctor-schedule__legend .is-confirm {
  background: var(--np-schedule-gray);
}

.np-doctor-schedule__table-wrap {
  padding: 20px 30px 30px;
}

.np-doctor-schedule__table {
  width: 100%;
  table-layout: fixed;
  border-collapse: separate;
  border-spacing: 0;
  overflow: hidden;
  border: 1px solid rgba(8, 102, 98, .18);
  border-radius: 8px;
  background: #fffdf8;
}

.np-doctor-schedule__table caption {
  height: 1px;
  overflow: hidden;
  clip: rect(1px, 1px, 1px, 1px);
  position: absolute;
  width: 1px;
}

.np-doctor-schedule__table th,
.np-doctor-schedule__table td {
  min-width: 0;
  border: 0;
  border-right: 1px solid rgba(8, 102, 98, .12);
  border-bottom: 1px solid rgba(8, 102, 98, .12);
  text-align: left;
  vertical-align: middle;
}

.np-doctor-schedule__table tr > *:last-child {
  border-right: 0;
}

.np-doctor-schedule__table tbody tr:last-child > * {
  border-bottom: 0;
}

.np-doctor-schedule__table thead th {
  padding: 10px 4px 8px;
  background: var(--np-schedule-amber);
  color: #132f36;
  text-align: center;
}

.np-doctor-schedule__table .np-doctor-schedule__doctor-head {
  width: 158px;
  padding: 12px 14px;
  text-align: left;
}

.np-doctor-schedule__day-num,
.np-doctor-schedule__day-week {
  display: block;
}

.np-doctor-schedule__day-num {
  font-size: 13px;
  font-weight: 950;
  line-height: 1;
}

.np-doctor-schedule__day-week {
  margin-top: 6px;
  font-size: 10px;
  font-weight: 750;
  line-height: 1;
}

.np-doctor-schedule__table tbody th {
  width: 158px;
  padding: 12px 14px;
  background: rgba(250, 252, 247, .96);
}

.np-doctor-schedule__table tbody th a {
  display: block;
  color: #064f49;
  font-size: 13px;
  font-weight: 850;
  line-height: 1.2;
  text-decoration: none;
}

.np-doctor-schedule__table tbody th a:hover,
.np-doctor-schedule__table tbody th a:focus-visible {
  color: #0b6f63;
  outline-offset: 3px;
  text-decoration: underline;
}

.np-doctor-schedule__table tbody th span {
  display: block;
  margin-top: 5px;
  color: var(--np-schedule-muted);
  font-size: 10px;
  font-weight: 650;
  line-height: 1.25;
}

.np-doctor-schedule__cell {
  height: 48px;
  padding: 6px 3px;
  text-align: center;
}

.np-doctor-schedule__cell--hours {
  background: var(--np-schedule-green);
  color: #183a22;
}

.np-doctor-schedule__cell--none {
  background: var(--np-schedule-red);
  color: var(--np-schedule-red-ink);
}

.np-doctor-schedule__cell--confirm {
  background: var(--np-schedule-gray);
  color: #40555d;
}

.np-doctor-schedule__cell-label,
.np-doctor-schedule__cell-time {
  display: block;
}

.np-doctor-schedule__cell-label {
  font-size: 0;
  line-height: 0;
}

.np-doctor-schedule__cell-time {
  font-size: 10.5px;
  font-weight: 850;
  line-height: 1.08;
  white-space: nowrap;
}

.np-doctor-schedule__cell-time--range {
  display: grid;
  gap: 1px;
  justify-items: center;
}

.np-doctor-schedule__cell-time--range span {
  display: block;
}

.np-doctor-schedule__cell--hours .np-doctor-schedule__cell-time--range {
  margin: 0 auto;
}

.np-doctor-schedule__cell--confirm .np-doctor-schedule__cell-time {
  font-size: 18px;
  line-height: 1;
}

.np-doctor-schedule__mobile {
  display: none;
}

@media (max-width: 1080px) {
  .np-doctor-schedule__inner {
    width: min(1180px, calc(100% - 32px));
  }

  .np-doctor-schedule__head {
    grid-template-columns: minmax(0, 1fr) minmax(260px, .42fr);
    gap: 18px;
    padding-inline: 22px;
  }

  .np-doctor-schedule h2 {
    font-size: 38px;
  }

  .np-doctor-schedule__notice {
    grid-template-columns: 1fr;
    padding-inline: 22px;
  }

  .np-doctor-schedule__legend {
    justify-content: flex-start;
  }

  .np-doctor-schedule__table-wrap {
    padding-inline: 22px;
  }

  .np-doctor-schedule__table .np-doctor-schedule__doctor-head,
  .np-doctor-schedule__table tbody th {
    width: 142px;
    padding-inline: 10px;
  }

  .np-doctor-schedule__cell-time {
    font-size: 9.5px;
  }
}

@media (max-width: 760px) {
  .np-doctor-schedule {
    margin-block: 28px 36px;
  }

  .np-doctor-schedule__inner {
    width: min(100% - 20px, 1180px);
    border-radius: 8px;
  }

  .np-doctor-schedule__head {
    grid-template-columns: 1fr;
    padding: 22px 16px 16px;
  }

  .np-doctor-schedule h2 {
    font-size: 30px;
    line-height: 1.05;
  }

  .np-doctor-schedule__title p {
    font-size: 15px;
    line-height: 1.55;
  }

  .np-doctor-schedule__call {
    padding: 15px;
    border-left: 0;
    border-top: 1px solid rgba(8, 102, 98, .2);
  }

  .np-doctor-schedule__call a {
    width: 100%;
    min-height: 48px;
    font-size: 18px;
  }

  .np-doctor-schedule__notice {
    padding: 13px 16px;
  }

  .np-doctor-schedule__legend {
    gap: 6px;
  }

  .np-doctor-schedule__legend span {
    white-space: normal;
  }

  .np-doctor-schedule__table-wrap {
    display: none;
  }

  .np-doctor-schedule__mobile {
    display: block;
    padding: 16px;
  }

  .np-doctor-schedule__tabs {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
    margin: 0 0 14px;
  }

  .np-doctor-schedule__tab {
    min-width: 0;
    min-height: 42px;
    padding: 0 12px;
    border: 1px solid rgba(8, 102, 98, .22);
    border-radius: 8px;
    background: #fffdf8;
    color: #14333a;
    font: inherit;
    font-size: 14px;
    font-weight: 850;
    text-align: left;
    cursor: pointer;
  }

  .np-doctor-schedule__tab:hover,
  .np-doctor-schedule__tab:focus-visible,
  .np-doctor-schedule__tab.is-active {
    border-color: #0b6f63;
    background: #0b6f63;
    color: #fffdf8;
    outline: none;
  }

  .np-doctor-schedule--js .np-doctor-schedule__week {
    display: none;
  }

  .np-doctor-schedule--js .np-doctor-schedule__week.is-active {
    display: block;
  }

  .np-doctor-schedule__week {
    min-width: 0;
    margin-top: 16px;
  }

  .np-doctor-schedule__week h3 {
    margin: 0 0 10px;
    color: var(--np-schedule-ink);
    font-size: 20px;
    line-height: 1.15;
  }

  .np-doctor-schedule__mobile-list {
    display: grid;
    gap: 12px;
  }

  .np-doctor-schedule__mobile-card {
    min-width: 0;
    overflow: hidden;
    border: 1px solid rgba(8, 102, 98, .16);
    border-radius: 8px;
    background: #fffdf8;
  }

  .np-doctor-schedule__mobile-card header {
    display: grid;
    gap: 3px;
    padding: 12px;
    border-bottom: 1px solid rgba(8, 102, 98, .12);
    background: rgba(236, 246, 243, .72);
  }

  .np-doctor-schedule__mobile-card header a {
    color: #064f49;
    font-size: 17px;
    font-weight: 900;
    line-height: 1.18;
    text-decoration: none;
  }

  .np-doctor-schedule__mobile-card header span {
    color: var(--np-schedule-muted);
    font-size: 13px;
    font-weight: 650;
    line-height: 1.28;
  }

  .np-doctor-schedule__mobile-days {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 0;
  }

  .np-doctor-schedule__mobile-day {
    display: grid;
    min-width: 0;
    min-height: 86px;
    align-content: start;
    gap: 4px;
    padding: 8px 3px;
    border-right: 1px solid rgba(8, 102, 98, .12);
    text-align: center;
  }

  .np-doctor-schedule__mobile-day:last-child {
    border-right: 0;
  }

  .np-doctor-schedule__mobile-day time {
    display: block;
    color: rgba(15, 45, 52, .78);
    font-size: 13px;
    font-weight: 900;
    line-height: 1;
  }

  .np-doctor-schedule__mobile-day time span {
    display: block;
    margin-top: 4px;
    font-size: 10px;
    font-weight: 750;
  }

  .np-doctor-schedule__mobile-day strong {
    display: block;
    min-width: 0;
    color: currentColor;
    font-size: 11px;
    font-weight: 900;
    line-height: 1.08;
    white-space: nowrap;
  }

  .np-doctor-schedule__mobile-time-range span {
    display: block;
  }

  .np-doctor-schedule__mobile-day small {
    display: block;
    color: currentColor;
    font-size: 0;
    line-height: 0;
  }
}

@media (max-width: 370px) {
  .np-doctor-schedule__mobile {
    padding-inline: 12px;
  }

  .np-doctor-schedule__mobile-day {
    min-height: 82px;
    padding-inline: 2px;
  }

  .np-doctor-schedule__mobile-day strong {
    font-size: 10px;
  }

  .np-doctor-schedule h2 {
    font-size: 28px;
  }
}
