:root {
  --sleepdebt-v8-paper: #fff7e8;
  --sleepdebt-v8-panel: #f8efe2;
  --sleepdebt-v8-card: #fffdf7;
  --sleepdebt-v8-input: #fff8ed;
  --sleepdebt-v8-accent: #e2edd8;
  --sleepdebt-v8-muted-paper: #fbf0dc;
  --sleepdebt-v8-ink: #34281f;
  --sleepdebt-v8-muted: #574838;
  --sleepdebt-v8-line: #6b5745;
  --sleepdebt-v8-line-soft: rgba(107, 87, 69, .34);
  --sleepdebt-v8-mustard: #d2aa55;
  --sleepdebt-v8-red: #8e3a2d;
  --sleepdebt-v8-focus: #4f7d94;
  --sleepdebt-v8-shadow: rgba(72, 55, 40, .22) 4px 4px 0;
  --sleepdebt-v8-soft-shadow: rgba(72, 55, 40, .13) 2px 2px 0;
}

.sleepdebt-v8,
.sleepdebt-v8 *,
.sleepdebt-v8 *::before,
.sleepdebt-v8 *::after {
  box-sizing: border-box !important;
  min-width: 0 !important;
  writing-mode: horizontal-tb !important;
  text-orientation: mixed !important;
}


/* WordPress wpautop can inject <br> and empty <p> into raw tool HTML. Keep those nodes from becoming grid items. */
.sleepdebt-v8 br,
.sleepdebt-v8__presets > br,
.sleepdebt-v8__fields > br,
.sleepdebt-v8__days > br,
.sleepdebt-v8__daily-actions > br,
.sleepdebt-v8__actions > br {
  display: none !important;
}

.sleepdebt-v8__panel > p,
.sleepdebt-v8__form > p,
.sleepdebt-v8__workspace > p,
.sleepdebt-v8__daily-body > p:empty,
.sleepdebt-v8__result > p:empty,
.sleepdebt-v8__basis > p:empty {
  display: contents !important;
  margin: 0 !important;
  padding: 0 !important;
}

.sleepdebt-v8__section-head > p,
.sleepdebt-v8__section-head > br {
  display: none !important;
}

.sleepdebt-v8__section-head > span {
  grid-column: 1 !important;
  grid-row: 1 !important;
}

.sleepdebt-v8__section-head > div {
  grid-column: 2 !important;
  grid-row: 1 !important;
}

.sleepdebt-v8__fields > .sleepdebt-v8__field:nth-of-type(1) { grid-column: 1 !important; grid-row: 1 !important; }
.sleepdebt-v8__fields > .sleepdebt-v8__field:nth-of-type(2) { grid-column: 2 !important; grid-row: 1 !important; }
.sleepdebt-v8__fields > .sleepdebt-v8__field:nth-of-type(3) { grid-column: 3 !important; grid-row: 1 !important; }

@media (max-width: 760px) {
  .sleepdebt-v8__fields > .sleepdebt-v8__field:nth-of-type(1),
  .sleepdebt-v8__fields > .sleepdebt-v8__field:nth-of-type(2),
  .sleepdebt-v8__fields > .sleepdebt-v8__field:nth-of-type(3) {
    grid-column: 1 !important;
    grid-row: auto !important;
  }
}

.sleepdebt-v8 {
  position: relative;
  isolation: isolate;
  display: grid !important;
  gap: 14px !important;
  width: min(950px, calc(100vw - 32px)) !important;
  max-width: 950px !important;
  margin: 18px auto 0 !important;
  padding: 14px !important;
  color: var(--sleepdebt-v8-ink) !important;
  -webkit-text-fill-color: var(--sleepdebt-v8-ink) !important;
  background:
    linear-gradient(rgba(107, 87, 69, .045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(107, 87, 69, .04) 1px, transparent 1px),
    var(--sleepdebt-v8-paper) !important;
  background-size: 24px 24px, 24px 24px, auto !important;
  border: 2px solid var(--sleepdebt-v8-line) !important;
  border-radius: 0 !important;
  box-shadow: var(--sleepdebt-v8-shadow) !important;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans KR", "Apple SD Gothic Neo", "Malgun Gothic", sans-serif !important;
  line-height: 1.5 !important;
  overflow: hidden !important;
  word-break: keep-all !important;
}

.sleepdebt-v8 :is(h2, h3, p, label, span, strong, em, button, input, select, summary, li, dt, dd) {
  max-width: 100% !important;
  color: inherit !important;
  -webkit-text-fill-color: currentColor !important;
  text-align: inherit;
  word-break: keep-all !important;
  overflow-wrap: break-word !important;
}

.sleepdebt-v8 :is(h2, h3, p, ul, dl, dd) {
  margin: 0 !important;
}

.sleepdebt-v8__hero {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(150px, 190px) !important;
  gap: 12px !important;
  align-items: end !important;
  width: 100% !important;
  padding-bottom: 12px !important;
  border-bottom: 1px dashed var(--sleepdebt-v8-line-soft) !important;
}

.sleepdebt-v8__intro {
  display: grid !important;
  gap: 7px !important;
  width: 100% !important;
}

.sleepdebt-v8__kicker {
  display: inline-block !important;
  width: fit-content !important;
  max-width: 100% !important;
  padding: 5px 9px !important;
  color: var(--sleepdebt-v8-ink) !important;
  background: var(--sleepdebt-v8-accent) !important;
  border: 1px solid var(--sleepdebt-v8-line) !important;
  border-radius: 0 !important;
  box-shadow: var(--sleepdebt-v8-soft-shadow) !important;
  font-size: 12px !important;
  font-weight: 950 !important;
  line-height: 1.2 !important;
}

.sleepdebt-v8 h2 {
  color: var(--sleepdebt-v8-ink) !important;
  font-size: clamp(28px, 4vw, 38px) !important;
  font-weight: 950 !important;
  letter-spacing: -.035em !important;
  line-height: 1.08 !important;
}

.sleepdebt-v8__intro > p,
.sleepdebt-v8__section-head p,
.sleepdebt-v8__daily-body > p,
.sleepdebt-v8__result-head p,
.sleepdebt-v8__note {
  color: var(--sleepdebt-v8-muted) !important;
  -webkit-text-fill-color: var(--sleepdebt-v8-muted) !important;
  font-size: 13px !important;
  font-weight: 760 !important;
  line-height: 1.55 !important;
}

.sleepdebt-v8__status {
  display: grid !important;
  gap: 4px !important;
  align-content: center !important;
  justify-items: center !important;
  width: 100% !important;
  min-height: 76px !important;
  padding: 10px !important;
  color: var(--sleepdebt-v8-ink) !important;
  background: var(--sleepdebt-v8-card) !important;
  border: 1px solid var(--sleepdebt-v8-line) !important;
  border-radius: 0 !important;
  box-shadow: var(--sleepdebt-v8-soft-shadow) !important;
  text-align: center !important;
}

.sleepdebt-v8__status span,
.sleepdebt-v8__result-head span,
.sleepdebt-v8__stats dt {
  color: var(--sleepdebt-v8-muted) !important;
  -webkit-text-fill-color: var(--sleepdebt-v8-muted) !important;
  font-size: 12px !important;
  font-weight: 900 !important;
  line-height: 1.3 !important;
}

.sleepdebt-v8__status strong {
  font-size: 19px !important;
  font-weight: 950 !important;
  line-height: 1.2 !important;
}

.sleepdebt-v8__workspace {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 320px) !important;
  gap: 12px !important;
  align-items: start !important;
  width: 100% !important;
}

.sleepdebt-v8__form,
.sleepdebt-v8__panel,
.sleepdebt-v8__daily,
.sleepdebt-v8__result,
.sleepdebt-v8__basis {
  width: 100% !important;
  max-width: 100% !important;
}

.sleepdebt-v8__form {
  display: grid !important;
  gap: 10px !important;
}

.sleepdebt-v8__panel,
.sleepdebt-v8__daily,
.sleepdebt-v8__result,
.sleepdebt-v8__basis {
  display: grid !important;
  justify-items: stretch !important;
  gap: 10px !important;
  padding: 12px !important;
  color: var(--sleepdebt-v8-ink) !important;
  background: rgba(255, 253, 247, .9) !important;
  border: 1px solid var(--sleepdebt-v8-line) !important;
  border-radius: 0 !important;
  box-shadow: var(--sleepdebt-v8-soft-shadow) !important;
}

.sleepdebt-v8__section-head {
  display: grid !important;
  grid-template-columns: 28px minmax(0, 1fr) !important;
  gap: 9px !important;
  align-items: start !important;
  justify-items: stretch !important;
  width: 100% !important;
  max-width: 100% !important;
}

.sleepdebt-v8__section-head > span {
  display: inline-grid !important;
  place-items: center !important;
  width: 28px !important;
  height: 28px !important;
  color: #241c15 !important;
  -webkit-text-fill-color: #241c15 !important;
  background: var(--sleepdebt-v8-mustard) !important;
  border: 1px solid var(--sleepdebt-v8-line) !important;
  border-radius: 0 !important;
  box-shadow: 1px 1px 0 rgba(72,55,40,.18) !important;
  font-size: 13px !important;
  font-weight: 950 !important;
  line-height: 1 !important;
}

.sleepdebt-v8__section-head > div {
  display: grid !important;
  gap: 3px !important;
  width: 100% !important;
  max-width: 100% !important;
}

.sleepdebt-v8 h3 {
  color: var(--sleepdebt-v8-ink) !important;
  font-size: 17px !important;
  font-weight: 950 !important;
  letter-spacing: -.015em !important;
  line-height: 1.25 !important;
}

.sleepdebt-v8__presets,
.sleepdebt-v8__fields,
.sleepdebt-v8__days,
.sleepdebt-v8__daily-actions,
.sleepdebt-v8__actions,
.sleepdebt-v8__stats {
  display: grid !important;
  width: 100% !important;
  max-width: 100% !important;
  gap: 8px !important;
  align-items: stretch !important;
  justify-items: stretch !important;
}

.sleepdebt-v8__presets {
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
}

.sleepdebt-v8 button,
.sleepdebt-v8 input,
.sleepdebt-v8 select {
  appearance: none !important;
  border-radius: 0 !important;
  font-family: inherit !important;
}

.sleepdebt-v8 button {
  cursor: pointer !important;
}

.sleepdebt-v8__preset {
  display: grid !important;
  place-items: center !important;
  gap: 3px !important;
  width: 100% !important;
  min-height: 44px !important;
  padding: 7px 6px !important;
  color: var(--sleepdebt-v8-ink) !important;
  -webkit-text-fill-color: var(--sleepdebt-v8-ink) !important;
  background: var(--sleepdebt-v8-card) !important;
  border: 1px solid var(--sleepdebt-v8-line) !important;
  border-radius: 0 !important;
  box-shadow: var(--sleepdebt-v8-soft-shadow) !important;
  font-size: 13px !important;
  font-weight: 950 !important;
  line-height: 1.1 !important;
  text-align: center !important;
}

.sleepdebt-v8__preset span {
  color: var(--sleepdebt-v8-muted) !important;
  -webkit-text-fill-color: var(--sleepdebt-v8-muted) !important;
  font-size: 11px !important;
  font-weight: 850 !important;
}

.sleepdebt-v8__preset.is-active {
  background: var(--sleepdebt-v8-accent) !important;
  box-shadow: inset 2px 2px 0 rgba(72,55,40,.13) !important;
}

.sleepdebt-v8__fields {
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
}

.sleepdebt-v8__field,
.sleepdebt-v8__select,
.sleepdebt-v8__day {
  display: grid !important;
  gap: 5px !important;
  align-content: start !important;
  width: 100% !important;
  max-width: 100% !important;
  height: auto !important;
  min-height: 0 !important;
  padding: 10px !important;
  color: var(--sleepdebt-v8-ink) !important;
  background: var(--sleepdebt-v8-muted-paper) !important;
  border: 1px solid var(--sleepdebt-v8-line-soft) !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

.sleepdebt-v8__field span,
.sleepdebt-v8__select > span,
.sleepdebt-v8__day span {
  color: var(--sleepdebt-v8-muted) !important;
  -webkit-text-fill-color: var(--sleepdebt-v8-muted) !important;
  font-size: 12px !important;
  font-weight: 900 !important;
  line-height: 1.3 !important;
}

.sleepdebt-v8__field input,
.sleepdebt-v8__select select,
.sleepdebt-v8__day input {
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  height: 40px !important;
  min-height: 40px !important;
  margin: 0 !important;
  padding: 8px 10px !important;
  color: var(--sleepdebt-v8-ink) !important;
  -webkit-text-fill-color: var(--sleepdebt-v8-ink) !important;
  background: var(--sleepdebt-v8-card) !important;
  border: 1px solid var(--sleepdebt-v8-line) !important;
  border-radius: 0 !important;
  box-shadow: inset 2px 2px 0 rgba(72,55,40,.1) !important;
  font-size: 15px !important;
  font-weight: 950 !important;
  line-height: 1.2 !important;
}

.sleepdebt-v8__field em,
.sleepdebt-v8__day em {
  justify-self: end !important;
  color: var(--sleepdebt-v8-muted) !important;
  -webkit-text-fill-color: var(--sleepdebt-v8-muted) !important;
  font-size: 12px !important;
  font-style: normal !important;
  font-weight: 850 !important;
  line-height: 1.3 !important;
}

.sleepdebt-v8__select select {
  cursor: pointer !important;
}

.sleepdebt-v8__daily summary,
.sleepdebt-v8__basis summary {
  cursor: pointer !important;
  color: var(--sleepdebt-v8-ink) !important;
  -webkit-text-fill-color: var(--sleepdebt-v8-ink) !important;
  font-size: 14px !important;
  font-weight: 950 !important;
  line-height: 1.35 !important;
}

.sleepdebt-v8__daily-body {
  display: grid !important;
  gap: 9px !important;
  width: 100% !important;
  margin-top: 8px !important;
}

.sleepdebt-v8__days {
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
}

.sleepdebt-v8__daily-actions,
.sleepdebt-v8__actions {
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
}

.sleepdebt-v8__primary,
.sleepdebt-v8__secondary,
.sleepdebt-v8__mini {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100% !important;
  min-height: 40px !important;
  padding: 9px 12px !important;
  border: 2px solid var(--sleepdebt-v8-line) !important;
  border-radius: 0 !important;
  box-shadow: var(--sleepdebt-v8-soft-shadow) !important;
  font-size: 14px !important;
  font-weight: 950 !important;
  line-height: 1.2 !important;
  text-align: center !important;
}

.sleepdebt-v8__primary {
  color: #241c15 !important;
  -webkit-text-fill-color: #241c15 !important;
  background: var(--sleepdebt-v8-mustard) !important;
}

.sleepdebt-v8__secondary,
.sleepdebt-v8__mini {
  color: var(--sleepdebt-v8-ink) !important;
  -webkit-text-fill-color: var(--sleepdebt-v8-ink) !important;
  background: #f3dfd3 !important;
}

.sleepdebt-v8__error {
  padding: 9px 10px !important;
  color: #fff8ed !important;
  -webkit-text-fill-color: #fff8ed !important;
  background: var(--sleepdebt-v8-red) !important;
  border: 1px solid var(--sleepdebt-v8-line) !important;
  font-size: 13px !important;
  font-weight: 850 !important;
}

.sleepdebt-v8__result {
  position: sticky !important;
  top: 14px !important;
  background:
    linear-gradient(rgba(47, 78, 46, .035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(47, 78, 46, .03) 1px, transparent 1px),
    #eef5e5 !important;
  background-size: 22px 22px, 22px 22px, auto !important;
}

.sleepdebt-v8__result-head {
  display: grid !important;
  gap: 5px !important;
}

.sleepdebt-v8__result-head strong {
  color: #7a412f !important;
  -webkit-text-fill-color: #7a412f !important;
  font-size: clamp(38px, 6vw, 54px) !important;
  font-weight: 950 !important;
  letter-spacing: -.045em !important;
  line-height: 1 !important;
}

.sleepdebt-v8__meter {
  width: 100% !important;
  height: 12px !important;
  background: var(--sleepdebt-v8-card) !important;
  border: 1px solid var(--sleepdebt-v8-line) !important;
  overflow: hidden !important;
}

.sleepdebt-v8__meter span {
  display: block !important;
  width: 0;
  height: 100% !important;
  background: linear-gradient(90deg, #d2aa55, #9b5a3e) !important;
  transition: width .2s ease !important;
}

.sleepdebt-v8__stats {
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
}

.sleepdebt-v8__stats div {
  display: grid !important;
  gap: 4px !important;
  padding: 9px !important;
  background: rgba(255, 253, 247, .84) !important;
  border: 1px solid var(--sleepdebt-v8-line-soft) !important;
}

.sleepdebt-v8__stats dd {
  color: var(--sleepdebt-v8-ink) !important;
  -webkit-text-fill-color: var(--sleepdebt-v8-ink) !important;
  font-size: 17px !important;
  font-weight: 950 !important;
  line-height: 1.2 !important;
}

.sleepdebt-v8__note {
  padding: 9px 10px !important;
  background: rgba(255, 253, 247, .72) !important;
  border: 1px dashed var(--sleepdebt-v8-line-soft) !important;
}

.sleepdebt-v8__basis ul {
  display: grid !important;
  gap: 8px !important;
  padding: 0 !important;
  list-style: none !important;
}

.sleepdebt-v8__basis li {
  position: relative !important;
  display: flex !important;
  align-items: flex-start !important;
  gap: 9px !important;
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
  color: var(--sleepdebt-v8-muted) !important;
  -webkit-text-fill-color: var(--sleepdebt-v8-muted) !important;
  font-size: 13px !important;
  font-weight: 760 !important;
  line-height: 1.55 !important;
}

.sleepdebt-v8__basis li::before {
  content: "" !important;
  flex: 0 0 auto !important;
  display: inline-block !important;
  width: 8px !important;
  height: 8px !important;
  margin-top: .46em !important;
  background: var(--sleepdebt-v8-mustard) !important;
  border: 1px solid var(--sleepdebt-v8-line) !important;
  box-shadow: 1px 1px 0 rgba(72,55,40,.18) !important;
}

.sleepdebt-v8__li-text {
  display: block !important;
  min-width: 0 !important;
}

.sleepdebt-v8 :is(button, input, select, summary):focus-visible {
  outline: 3px solid var(--sleepdebt-v8-focus) !important;
  outline-offset: 2px !important;
}

.sleepdebt-v8 button:hover {
  transform: translate(-1px, -1px) !important;
}

.sleepdebt-v8.is-none .sleepdebt-v8__result-head strong { color: #3c6f49 !important; -webkit-text-fill-color: #3c6f49 !important; }
.sleepdebt-v8.is-high .sleepdebt-v8__result-head strong,
.sleepdebt-v8.is-risk .sleepdebt-v8__result-head strong { color: #8e3a2d !important; -webkit-text-fill-color: #8e3a2d !important; }

body[data-scheme="dark"] .sleepdebt-v8,
body[data-scheme="inverse"] .sleepdebt-v8 {
  --sleepdebt-v8-paper: #2b2119;
  --sleepdebt-v8-panel: #2b2119;
  --sleepdebt-v8-card: #33271d;
  --sleepdebt-v8-input: #241c15;
  --sleepdebt-v8-accent: #344a32;
  --sleepdebt-v8-muted-paper: #2f241b;
  --sleepdebt-v8-ink: #f2e4cf;
  --sleepdebt-v8-muted: #f0dfc5;
  --sleepdebt-v8-line: #a98b6b;
  --sleepdebt-v8-line-soft: rgba(169, 139, 107, .46);
  --sleepdebt-v8-shadow: rgba(0,0,0,.32) 4px 4px 0;
  --sleepdebt-v8-soft-shadow: rgba(0,0,0,.2) 2px 2px 0;
  color: var(--sleepdebt-v8-ink) !important;
  -webkit-text-fill-color: var(--sleepdebt-v8-ink) !important;
  background:
    linear-gradient(rgba(229, 196, 139, .055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(229, 196, 139, .045) 1px, transparent 1px),
    var(--sleepdebt-v8-paper) !important;
}

body[data-scheme="dark"] .sleepdebt-v8__panel,
body[data-scheme="dark"] .sleepdebt-v8__daily,
body[data-scheme="dark"] .sleepdebt-v8__basis,
body[data-scheme="dark"] .sleepdebt-v8__status,
body[data-scheme="inverse"] .sleepdebt-v8__panel,
body[data-scheme="inverse"] .sleepdebt-v8__daily,
body[data-scheme="inverse"] .sleepdebt-v8__basis,
body[data-scheme="inverse"] .sleepdebt-v8__status {
  background: rgba(51, 39, 29, .92) !important;
}

body[data-scheme="dark"] .sleepdebt-v8__field,
body[data-scheme="dark"] .sleepdebt-v8__select,
body[data-scheme="dark"] .sleepdebt-v8__day,
body[data-scheme="inverse"] .sleepdebt-v8__field,
body[data-scheme="inverse"] .sleepdebt-v8__select,
body[data-scheme="inverse"] .sleepdebt-v8__day {
  background: #2b2119 !important;
}

body[data-scheme="dark"] .sleepdebt-v8__field input,
body[data-scheme="dark"] .sleepdebt-v8__select select,
body[data-scheme="dark"] .sleepdebt-v8__day input,
body[data-scheme="inverse"] .sleepdebt-v8__field input,
body[data-scheme="inverse"] .sleepdebt-v8__select select,
body[data-scheme="inverse"] .sleepdebt-v8__day input {
  color: var(--sleepdebt-v8-ink) !important;
  -webkit-text-fill-color: var(--sleepdebt-v8-ink) !important;
  background: #241c15 !important;
  border-color: var(--sleepdebt-v8-line) !important;
}

body[data-scheme="dark"] .sleepdebt-v8__result,
body[data-scheme="inverse"] .sleepdebt-v8__result {
  background:
    linear-gradient(rgba(210, 170, 85, .055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(210, 170, 85, .045) 1px, transparent 1px),
    #283422 !important;
}

body[data-scheme="dark"] .sleepdebt-v8__stats div,
body[data-scheme="dark"] .sleepdebt-v8__note,
body[data-scheme="inverse"] .sleepdebt-v8__stats div,
body[data-scheme="inverse"] .sleepdebt-v8__note {
  background: rgba(36, 28, 21, .72) !important;
}

body[data-scheme="dark"] .sleepdebt-v8__result-head strong,
body[data-scheme="inverse"] .sleepdebt-v8__result-head strong {
  color: #f1c879 !important;
  -webkit-text-fill-color: #f1c879 !important;
}

body[data-scheme="dark"] .sleepdebt-v8__secondary,
body[data-scheme="dark"] .sleepdebt-v8__mini,
body[data-scheme="inverse"] .sleepdebt-v8__secondary,
body[data-scheme="inverse"] .sleepdebt-v8__mini {
  color: #f2e4cf !important;
  -webkit-text-fill-color: #f2e4cf !important;
  background: #4a2d24 !important;
}

@media (max-width: 860px) {
  .sleepdebt-v8__workspace {
    grid-template-columns: 1fr !important;
  }

  .sleepdebt-v8__result {
    position: relative !important;
    top: auto !important;
  }
}

@media (max-width: 760px) {
  .sleepdebt-v8__hero,
  .sleepdebt-v8__fields,
  .sleepdebt-v8__stats,
  .sleepdebt-v8__daily-actions,
  .sleepdebt-v8__actions {
    grid-template-columns: 1fr !important;
  }

  .sleepdebt-v8__presets,
  .sleepdebt-v8__days {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 640px) {
  .sleepdebt-v8 {
    width: min(100%, calc(100vw - 20px)) !important;
    margin-top: 12px !important;
    padding: 10px !important;
    border-width: 1px !important;
    box-shadow: 3px 3px 0 rgba(72,55,40,.18) !important;
  }

  .sleepdebt-v8__panel,
  .sleepdebt-v8__daily,
  .sleepdebt-v8__result,
  .sleepdebt-v8__basis {
    padding: 10px !important;
  }

  .sleepdebt-v8__section-head {
    grid-template-columns: 24px minmax(0, 1fr) !important;
    gap: 8px !important;
  }

  .sleepdebt-v8__section-head > span {
    width: 24px !important;
    height: 24px !important;
    font-size: 12px !important;
  }

  .sleepdebt-v8 h2 {
    font-size: 28px !important;
  }

  .sleepdebt-v8__result-head strong {
    font-size: 38px !important;
  }
}


/* Phase 2 article/ad styles preserved from v5; tool UI rebuilt as v6 above. */
body.postid-1375 {
  --sleep-article-page: #f9f1e7;
  --sleep-article-panel: #f8efe2;
  --sleep-article-card: #fff8ed;
  --sleep-article-accent-paper: #e2edd8;
  --sleep-article-text: #34281f;
  --sleep-article-muted: #574838;
  --sleep-article-line: #6b5745;
  --sleep-article-line-soft: rgba(107, 87, 69, .34);
  --sleep-article-mustard: #d2aa55;
  --sleep-article-mustard-soft: rgba(210, 170, 85, .24);
  --sleep-article-focus: #4f7d94;
  --sleep-article-shadow: rgba(82, 65, 50, .22);
  --sleep-article-soft-shadow: rgba(82, 65, 50, .13);
}

body.postid-1375[data-scheme="dark"],
body.postid-1375[data-scheme="inverse"] {
  --sleep-article-page: #201811;
  --sleep-article-panel: #33271d;
  --sleep-article-card: #2b2119;
  --sleep-article-accent-paper: #344a32;
  --sleep-article-text: #f2e4cf;
  --sleep-article-muted: #f0dfc5;
  --sleep-article-line: #a98b6b;
  --sleep-article-line-soft: rgba(169, 139, 107, .46);
  --sleep-article-mustard: #d2aa55;
  --sleep-article-mustard-soft: rgba(210, 170, 85, .22);
  --sleep-article-focus: #d2aa55;
  --sleep-article-shadow: rgba(0, 0, 0, .32);
  --sleep-article-soft-shadow: rgba(0, 0, 0, .2);
}

body.postid-1375 .roberin-ad-slot,
body.postid-1375 .entry-content .roberin-ad-slot,
body.postid-1375 .roberin-ad-slot ins.adsbygoogle,
body.postid-1375 .roberin-qa-ad-placeholder {
  box-sizing: border-box !important;
  max-width: 100% !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding: 0 !important;
  color: inherit !important;
  -webkit-text-fill-color: currentColor !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}

body.postid-1375 .sleep-debt-calculator-container + .roberin-ad-slot--after-tool,
body.postid-1375 .sleep-debt-calculator-container + .roberin-qa-ad-placeholder {
  margin-top: 24px !important;
  margin-bottom: 0 !important;
}

body.postid-1375 .roberin-ad-slot--after-tool + article.roberin-article-body.sleep-debt-article,
body.postid-1375 .roberin-qa-ad-placeholder + article.roberin-article-body.sleep-debt-article,
body.postid-1375 .roberin-ad-slot--after-tool + .sleep-debt-article,
body.postid-1375 .roberin-qa-ad-placeholder + .sleep-debt-article {
  margin-top: 24px !important;
}

body.postid-1375 article.roberin-article-body.sleep-debt-article,
body.postid-1375 .entry-content article.roberin-article-body.sleep-debt-article,
body.postid-1375 .sleep-debt-article {
  position: relative;
  z-index: 0;
  display: grid !important;
  gap: 18px !important;
  box-sizing: border-box !important;
  width: min(980px, calc(100vw - 32px)) !important;
  max-width: 980px !important;
  min-width: 0 !important;
  margin: clamp(24px, 4vw, 42px) auto !important;
  padding: clamp(16px, 3vw, 28px) !important;
  color: var(--sleep-article-text) !important;
  -webkit-text-fill-color: var(--sleep-article-text) !important;
  background:
    linear-gradient(rgba(107, 87, 69, .045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(107, 87, 69, .04) 1px, transparent 1px),
    var(--sleep-article-panel) !important;
  background-size: 28px 28px, 28px 28px, auto !important;
  border: 2px solid var(--sleep-article-line) !important;
  border-radius: 0 !important;
  box-shadow: 5px 5px 0 var(--sleep-article-shadow) !important;
  overflow: hidden !important;
  font-family: "Noto Sans KR", "Apple SD Gothic Neo", "Malgun Gothic", -apple-system, BlinkMacSystemFont, sans-serif !important;
  line-height: 1.72 !important;
  word-break: keep-all !important;
}

body.postid-1375 .roberin-ad-slot--after-tool + article.roberin-article-body.sleep-debt-article,
body.postid-1375 .roberin-ad-slot--after-tool + .sleep-debt-article,
body.postid-1375 .roberin-qa-ad-placeholder + article.roberin-article-body.sleep-debt-article,
body.postid-1375 .roberin-qa-ad-placeholder + .sleep-debt-article {
  margin-top: 24px !important;
}

body.postid-1375 .sleep-debt-article,
body.postid-1375 .sleep-debt-article *,
body.postid-1375 .sleep-debt-article *::before,
body.postid-1375 .sleep-debt-article *::after {
  box-sizing: border-box !important;
  min-width: 0 !important;
}

body.postid-1375 .sleep-debt-article :is(p, li, td, th, summary, span, strong, code, h2, h3) {
  color: inherit !important;
  -webkit-text-fill-color: currentColor !important;
}

body.postid-1375 .sleep-debt-article .sleep-article__hero,
body.postid-1375 .sleep-debt-article .sleep-article__section {
  display: grid !important;
  gap: 13px !important;
  min-width: 0 !important;
  margin: 0 !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}

body.postid-1375 .sleep-debt-article .sleep-article__hero {
  padding: 0 0 22px !important;
  border-bottom: 1px dashed var(--sleep-article-line-soft) !important;
}

body.postid-1375 .sleep-debt-article .sleep-article__section + .sleep-article__section {
  margin-top: 6px !important;
  padding-top: 22px !important;
  border-top: 1px dashed var(--sleep-article-line-soft) !important;
}

body.postid-1375 .sleep-debt-article .sleep-article__kicker {
  display: inline-flex !important;
  align-items: center !important;
  width: fit-content !important;
  max-width: 100% !important;
  min-height: 26px !important;
  margin: 0 !important;
  padding: 5px 9px !important;
  color: var(--sleep-article-text) !important;
  -webkit-text-fill-color: var(--sleep-article-text) !important;
  background: var(--sleep-article-accent-paper) !important;
  border: 1px solid var(--sleep-article-line) !important;
  border-radius: 0 !important;
  box-shadow: 2px 2px 0 var(--sleep-article-soft-shadow) !important;
  font-size: 12px !important;
  font-weight: 950 !important;
  line-height: 1.2 !important;
  letter-spacing: .01em !important;
}

body.postid-1375 .sleep-debt-article h2,
body.postid-1375 .sleep-debt-article h3 {
  margin: 0 !important;
  padding: 0 !important;
  color: var(--sleep-article-text) !important;
  -webkit-text-fill-color: var(--sleep-article-text) !important;
  background: transparent !important;
  border: 0 !important;
  border-left: 0 !important;
  border-left-width: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  text-shadow: none !important;
  letter-spacing: -.02em !important;
  word-break: keep-all !important;
}

body.postid-1375 .sleep-debt-article h2 {
  font-size: clamp(25px, 3vw, 30px) !important;
  font-weight: 950 !important;
  line-height: 1.18 !important;
}

body.postid-1375 .sleep-debt-article h3 {
  font-size: 19px !important;
  font-weight: 900 !important;
  line-height: 1.3 !important;
}

body.postid-1375 .sleep-debt-article p,
body.postid-1375 .sleep-debt-article li,
body.postid-1375 .sleep-debt-article summary {
  margin: 0 !important;
  color: var(--sleep-article-muted) !important;
  -webkit-text-fill-color: var(--sleep-article-muted) !important;
  font-size: 15px !important;
  font-weight: 680 !important;
  line-height: 1.72 !important;
  overflow-wrap: anywhere !important;
}

body.postid-1375 .sleep-debt-article strong {
  color: var(--sleep-article-text) !important;
  -webkit-text-fill-color: var(--sleep-article-text) !important;
  font-weight: 920 !important;
}

body.postid-1375 .sleep-debt-article a {
  color: var(--sleep-article-text) !important;
  -webkit-text-fill-color: var(--sleep-article-text) !important;
  text-decoration: underline !important;
  text-decoration-thickness: 1px !important;
  text-underline-offset: 3px !important;
}

body.postid-1375 .sleep-debt-article .sleep-article__nav {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 8px !important;
  margin: 0 !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}

body.postid-1375 .sleep-debt-article .sleep-article__nav a {
  display: inline-flex !important;
  align-items: center !important;
  min-height: 34px !important;
  padding: 6px 10px !important;
  color: var(--sleep-article-text) !important;
  -webkit-text-fill-color: var(--sleep-article-text) !important;
  text-decoration: none !important;
  background: var(--sleep-article-card) !important;
  border: 1px solid var(--sleep-article-line) !important;
  border-radius: 0 !important;
  font-size: 13px !important;
  font-weight: 900 !important;
}

body.postid-1375 .sleep-debt-article .sleep-article__nav a:hover,
body.postid-1375 .sleep-debt-article .sleep-article__nav a:focus-visible {
  background: var(--sleep-article-mustard-soft) !important;
  outline: 2px solid var(--sleep-article-focus) !important;
  outline-offset: 2px !important;
}

body.postid-1375 .sleep-debt-article .sleep-article__grid,
body.postid-1375 .sleep-debt-article .sleep-article__process-grid,
body.postid-1375 .sleep-debt-article .sleep-article__use-grid {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 10px !important;
  min-width: 0 !important;
}

body.postid-1375 .sleep-debt-article .sleep-article__use-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
}

body.postid-1375 .sleep-debt-article .sleep-article__card,
body.postid-1375 .sleep-debt-article .sleep-article__process,
body.postid-1375 .sleep-debt-article .sleep-article__use,
body.postid-1375 .sleep-debt-article .sleep-article__notice,
body.postid-1375 .sleep-debt-article details {
  display: grid !important;
  gap: 7px !important;
  min-width: 0 !important;
  padding: 12px !important;
  color: var(--sleep-article-muted) !important;
  -webkit-text-fill-color: var(--sleep-article-muted) !important;
  background: var(--sleep-article-card) !important;
  border: 1px solid var(--sleep-article-line) !important;
  border-radius: 0 !important;
  box-shadow: 3px 3px 0 var(--sleep-article-soft-shadow) !important;
}

body.postid-1375 .sleep-debt-article .sleep-article__notice {
  background: rgba(239, 225, 188, .64) !important;
  border-style: dashed !important;
}

body.postid-1375 .sleep-debt-article .sleep-article__process {
  background: rgba(226, 237, 216, .70) !important;
}

body.postid-1375 .sleep-debt-article .sleep-article__use span,
body.postid-1375 .sleep-debt-article .sleep-article__process span {
  color: var(--sleep-article-muted) !important;
  -webkit-text-fill-color: var(--sleep-article-muted) !important;
  font-size: 12px !important;
  font-weight: 900 !important;
  line-height: 1.4 !important;
}

body.postid-1375 .sleep-debt-article code {
  display: block !important;
  width: fit-content !important;
  max-width: 100% !important;
  padding: 5px 8px !important;
  color: var(--sleep-article-text) !important;
  -webkit-text-fill-color: var(--sleep-article-text) !important;
  background: var(--sleep-article-card) !important;
  border: 1px solid var(--sleep-article-line-soft) !important;
  border-radius: 0 !important;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace !important;
  font-size: .92em !important;
  font-weight: 780 !important;
  line-height: 1.48 !important;
  white-space: normal !important;
  overflow-wrap: anywhere !important;
}

body.postid-1375 .sleep-debt-article :is(ul, ol) {
  display: grid !important;
  gap: 8px !important;
  margin: 0 !important;
  padding-left: 0 !important;
  list-style: none !important;
}

body.postid-1375 .sleep-debt-article ol,
body.postid-1375 .sleep-debt-article ol.sleep-article__steps {
  counter-reset: sleep-article-step !important;
}

body.postid-1375 .sleep-debt-article :is(ul, ol) > li {
  position: relative !important;
  display: flex !important;
  align-items: center !important;
  gap: 9px !important;
  min-width: 0 !important;
  min-height: 28px !important;
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
  overflow-wrap: anywhere !important;
}

body.postid-1375 .sleep-debt-article :is(ul, ol) > li::before {
  position: static !important;
  inset: auto !important;
  top: auto !important;
  right: auto !important;
  bottom: auto !important;
  left: auto !important;
  transform: none !important;
  flex: 0 0 auto !important;
  align-self: center !important;
  box-sizing: border-box !important;
  color: var(--sleep-article-text) !important;
  -webkit-text-fill-color: var(--sleep-article-text) !important;
  border-radius: 0 !important;
}

body.postid-1375 .sleep-debt-article ul > li::before {
  content: "" !important;
  display: inline-block !important;
  width: 9px !important;
  height: 9px !important;
  background: var(--sleep-article-mustard) !important;
  border: 1px solid var(--sleep-article-line) !important;
  box-shadow: 1px 1px 0 rgba(82, 65, 50, .22) !important;
  line-height: 1 !important;
}

body.postid-1375 .sleep-debt-article ol > li,
body.postid-1375 .sleep-debt-article ol.sleep-article__steps > li {
  counter-increment: sleep-article-step !important;
}

body.postid-1375 .sleep-debt-article ol > li::before,
body.postid-1375 .sleep-debt-article ol.sleep-article__steps > li::before {
  content: counter(sleep-article-step) !important;
  display: inline-grid !important;
  place-items: center !important;
  width: 20px !important;
  height: 20px !important;
  background: var(--sleep-article-mustard-soft) !important;
  border: 1px solid var(--sleep-article-line) !important;
  box-shadow: 1px 1px 0 rgba(82, 65, 50, .22) !important;
  font-size: 11px !important;
  font-weight: 920 !important;
  line-height: 1 !important;
}

body.postid-1375 .sleep-debt-article .sleep-article__li-text {
  display: block !important;
  min-width: 0 !important;
  align-self: center !important;
}

body.postid-1375 .sleep-debt-article details {
  margin: 0 !important;
}

body.postid-1375 .sleep-debt-article summary {
  cursor: pointer !important;
  color: var(--sleep-article-text) !important;
  -webkit-text-fill-color: var(--sleep-article-text) !important;
  font-weight: 950 !important;
  line-height: 1.45 !important;
}

body.postid-1375 .sleep-debt-article details[open] summary {
  margin-bottom: 8px !important;
}

body.postid-1375[data-scheme="dark"] .entry-content article.roberin-article-body.sleep-debt-article,
body.postid-1375[data-scheme="inverse"] .entry-content article.roberin-article-body.sleep-debt-article,
body.postid-1375[data-scheme="dark"] .sleep-debt-article,
body.postid-1375[data-scheme="inverse"] .sleep-debt-article {
  color: #f2e4cf !important;
  -webkit-text-fill-color: #f2e4cf !important;
  background-image:
    linear-gradient(rgba(169, 139, 107, .075) 1px, transparent 1px),
    linear-gradient(90deg, rgba(169, 139, 107, .06) 1px, transparent 1px) !important;
  background-color: #33271d !important;
  border-color: #a98b6b !important;
}

body.postid-1375[data-scheme="dark"] .sleep-debt-article :is(h2, h3, strong, summary),
body.postid-1375[data-scheme="inverse"] .sleep-debt-article :is(h2, h3, strong, summary) {
  color: #f2e4cf !important;
  -webkit-text-fill-color: #f2e4cf !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}

body.postid-1375[data-scheme="dark"] .sleep-debt-article :is(p, li, span),
body.postid-1375[data-scheme="inverse"] .sleep-debt-article :is(p, li, span) {
  color: #f0dfc5 !important;
  -webkit-text-fill-color: #f0dfc5 !important;
}

body.postid-1375[data-scheme="dark"] .sleep-debt-article .sleep-article__card,
body.postid-1375[data-scheme="dark"] .sleep-debt-article .sleep-article__process,
body.postid-1375[data-scheme="dark"] .sleep-debt-article .sleep-article__use,
body.postid-1375[data-scheme="dark"] .sleep-debt-article .sleep-article__notice,
body.postid-1375[data-scheme="dark"] .sleep-debt-article details,
body.postid-1375[data-scheme="dark"] .sleep-debt-article .sleep-article__nav a,
body.postid-1375[data-scheme="inverse"] .sleep-debt-article .sleep-article__card,
body.postid-1375[data-scheme="inverse"] .sleep-debt-article .sleep-article__process,
body.postid-1375[data-scheme="inverse"] .sleep-debt-article .sleep-article__use,
body.postid-1375[data-scheme="inverse"] .sleep-debt-article .sleep-article__notice,
body.postid-1375[data-scheme="inverse"] .sleep-debt-article details,
body.postid-1375[data-scheme="inverse"] .sleep-debt-article .sleep-article__nav a {
  background-color: #33271d !important;
  border-color: rgba(169, 139, 107, .72) !important;
  box-shadow: 3px 3px 0 rgba(32, 24, 17, .52) !important;
}

body.postid-1375[data-scheme="dark"] .sleep-debt-article .sleep-article__notice,
body.postid-1375[data-scheme="dark"] .sleep-debt-article .sleep-article__process,
body.postid-1375[data-scheme="inverse"] .sleep-debt-article .sleep-article__notice,
body.postid-1375[data-scheme="inverse"] .sleep-debt-article .sleep-article__process {
  background-color: rgba(36, 28, 21, .56) !important;
}

body.postid-1375[data-scheme="dark"] .sleep-debt-article code,
body.postid-1375[data-scheme="inverse"] .sleep-debt-article code {
  color: #f2e4cf !important;
  -webkit-text-fill-color: #f2e4cf !important;
  background: #241c15 !important;
  border-color: rgba(169, 139, 107, .56) !important;
}

body.postid-1375[data-scheme="dark"] .sleep-debt-article :is(ul, ol) > li::before,
body.postid-1375[data-scheme="inverse"] .sleep-debt-article :is(ul, ol) > li::before {
  border-color: #a98b6b !important;
}

body.postid-1375 .sleep-debt-article + .roberin-ad-slot--bottom,
body.postid-1375 .sleep-debt-article + .roberin-qa-ad-placeholder {
  margin-top: 24px !important;
}

@media (max-width: 920px) {
  body.postid-1375 .sleep-debt-article .sleep-article__use-grid {
    grid-template-columns: 1fr !important;
  }
}

@media (max-width: 640px) {
  body.postid-1375 .entry-content article.roberin-article-body.sleep-debt-article,
  body.postid-1375 .sleep-debt-article {
    width: calc(100vw - 24px) !important;
    max-width: calc(100vw - 24px) !important;
    padding: 12px !important;
    box-shadow: 4px 4px 0 rgba(82, 65, 50, .16) !important;
  }

  body.postid-1375 .sleep-debt-article .sleep-article__grid,
  body.postid-1375 .sleep-debt-article .sleep-article__process-grid,
  body.postid-1375 .sleep-debt-article .sleep-article__use-grid {
    grid-template-columns: 1fr !important;
  }

  body.postid-1375 .sleep-debt-article h3 {
    font-size: 18px !important;
  }
}

@media (max-width: 370px) {
  body.postid-1375 .sleep-debt-article h2 {
    font-size: 25.2px !important;
  }
}
