/* HYUNWOO V31.76
   Home-only refresh based on the approved compact mockup.
   Settings and shortcut markup/styles intentionally remain owned by V31.72. */

html body.study-home-active:not(.daily-learning-active) #appRoot .study-hero-card {
  margin-top: 8px !important;
  margin-bottom: 13px !important;
  border-radius: 24px !important;
  border: 1px solid #e0e7ef !important;
  background: #ffffff !important;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.055) !important;
  overflow: hidden !important;
}

html body.study-home-active:not(.daily-learning-active) #appRoot .study-hero-card .card-inner {
  padding: 12px !important;
  background: #ffffff !important;
}

html body.study-home-active:not(.daily-learning-active) #appRoot .daily-hero {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) !important;
  gap: 0 !important;
  min-height: 0 !important;
  padding: 0 !important;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

html body.study-home-active:not(.daily-learning-active) #appRoot .daily-hero::before {
  display: none !important;
  content: none !important;
}

html body.study-home-active:not(.daily-learning-active) #appRoot .daily-hero-top {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 12px !important;
}

html body.study-home-active:not(.daily-learning-active) #appRoot .daily-icon.daily-icon-ox-text {
  width: 34px !important;
  height: 34px !important;
  min-width: 34px !important;
  min-height: 34px !important;
  display: grid !important;
  place-items: center !important;
  border: 0 !important;
  border-radius: 13px !important;
  background: #f1f5f9 !important;
  color: #111a2d !important;
  font-size: 13px !important;
  line-height: 1 !important;
  font-weight: 950 !important;
  letter-spacing: -0.08em !important;
  box-shadow: none !important;
}

html body.study-home-active:not(.daily-learning-active) #appRoot .daily-date {
  position: static !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 25px !important;
  padding: 0 9px !important;
  border: 1px solid #e0e7ef !important;
  border-radius: 999px !important;
  background: #f7f9fc !important;
  color: #6c7a90 !important;
  font-size: 10px !important;
  line-height: 1 !important;
  font-weight: 800 !important;
  white-space: nowrap !important;
}

html body.study-home-active:not(.daily-learning-active) #appRoot .daily-hero-copy {
  min-width: 0 !important;
}

html body.study-home-active:not(.daily-learning-active) #appRoot .daily-title {
  margin: 6px 0 0 !important;
  color: #111a2d !important;
  font-size: 22px !important;
  line-height: 1.18 !important;
  font-weight: 950 !important;
  letter-spacing: -0.055em !important;
}

html body.study-home-active:not(.daily-learning-active) #appRoot .daily-desc {
  margin: 1px 0 0 !important;
  color: #344158 !important;
  font-size: 12px !important;
  line-height: 1.35 !important;
  font-weight: 750 !important;
  letter-spacing: -0.025em !important;
}

html body.study-home-active #appRoot .daily-hero-runtime-meta {
  display: none !important;
}

html body.study-home-active:not(.daily-learning-active) #appRoot .daily-progress-block {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) auto !important;
  align-items: center !important;
  column-gap: 12px !important;
  row-gap: 5px !important;
  margin-top: 9px !important;
}

html body.study-home-active:not(.daily-learning-active) #appRoot .daily-progress-track {
  grid-column: 1 / -1 !important;
  width: 100% !important;
  height: 6px !important;
  overflow: hidden !important;
  border-radius: 999px !important;
  background: #f1f5f9 !important;
}

html body.study-home-active:not(.daily-learning-active) #appRoot .daily-progress-track i {
  display: block !important;
  width: calc(var(--progress, 0) * 1%) !important;
  max-width: 100% !important;
  height: 100% !important;
  border-radius: inherit !important;
  background: #0f9f92 !important;
  transition: width 0.28s cubic-bezier(.22, 1, .36, 1) !important;
}

html body.study-home-active:not(.daily-learning-active) #appRoot #dailyCircleMain,
html body.study-home-active:not(.daily-learning-active) #appRoot #dailyCircleSub {
  display: block !important;
  margin: 0 !important;
  color: #6c7a90 !important;
  font-size: 10px !important;
  line-height: 1.2 !important;
  font-weight: 800 !important;
  letter-spacing: -0.02em !important;
  white-space: nowrap !important;
}

html body.study-home-active:not(.daily-learning-active) #appRoot #dailyCircleMain {
  justify-self: start !important;
}

html body.study-home-active:not(.daily-learning-active) #appRoot #dailyCircleSub {
  justify-self: end !important;
}

html body.study-home-active:not(.daily-learning-active) #appRoot .study-hero-card .ox-action-btn {
  width: 100% !important;
  min-height: 36px !important;
  margin: 8px 0 0 !important;
  padding: 0 16px !important;
  border: 1px solid #111a2d !important;
  border-radius: 12px !important;
  background: #111a2d !important;
  color: #ffffff !important;
  font-size: 14px !important;
  line-height: 1 !important;
  font-weight: 900 !important;
  letter-spacing: -0.03em !important;
  box-shadow: none !important;
}

html body.study-home-active:not(.daily-learning-active) #appRoot .study-hero-card .ox-action-btn:disabled {
  opacity: 0.48 !important;
}

html body.study-home-active #appRoot .home-storage-label {
  margin-top: 16px !important;
  margin-bottom: 7px !important;
}

html body.study-home-active #appRoot .home-storage-view-all {
  display: inline-grid !important;
  place-items: center !important;
  min-height: 32px !important;
  margin: -10px -4px !important;
  padding: 10px 4px !important;
  border: 0 !important;
  background: transparent !important;
  color: #6c7a90 !important;
  font-size: 12px !important;
  line-height: 1 !important;
  font-weight: 800 !important;
  box-shadow: none !important;
}

html body.study-home-active #appRoot .study-storage-card.storage-hub {
  margin-bottom: 12px !important;
  border: 1px solid #e0e7ef !important;
  border-radius: 18px !important;
  background: #ffffff !important;
  box-shadow: none !important;
  overflow: hidden !important;
}

html body.study-home-active #appRoot .study-storage-card.storage-hub > .card-inner {
  padding: 0 !important;
  background: #ffffff !important;
}

html body.study-home-active #appRoot .storage-hub-grid {
  display: block !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
}

html body.study-home-active #appRoot .storage-hub-item {
  width: 100% !important;
  min-width: 0 !important;
  min-height: 52px !important;
  margin: 0 !important;
  padding: 5px 10px !important;
  display: grid !important;
  grid-template-columns: 32px minmax(0, 1fr) auto 16px !important;
  align-items: center !important;
  gap: 9px !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: #ffffff !important;
  color: #111a2d !important;
  text-align: left !important;
  box-shadow: none !important;
}

html body.study-home-active #appRoot .storage-hub-item + .storage-hub-item {
  border-top: 1px solid #e0e7ef !important;
}

html body.study-home-active #appRoot .storage-hub-item.is-open {
  background: #f8fafc !important;
}

html body.study-home-active #appRoot .storage-hub-item:focus-visible {
  position: relative !important;
  z-index: 1 !important;
  outline: 2px solid #0f9f92 !important;
  outline-offset: -2px !important;
}

html body.study-home-active #appRoot .storage-hub-icon {
  width: 32px !important;
  height: 32px !important;
  display: grid !important;
  place-items: center !important;
  border: 1px solid #e0e7ef !important;
  border-radius: 11px !important;
  background: #f7f9fc !important;
  color: #6c7a90 !important;
}

html body.study-home-active #appRoot .storage-hub-icon svg {
  width: 17px !important;
  height: 17px !important;
  display: block !important;
}

html body.study-home-active #appRoot .storage-hub-copy {
  display: block !important;
  min-width: 0 !important;
}

html body.study-home-active #appRoot .storage-hub-title {
  display: block !important;
  margin: 0 !important;
  color: #111a2d !important;
  font-size: 14px !important;
  line-height: 1.25 !important;
  font-weight: 900 !important;
  letter-spacing: -0.035em !important;
  text-align: left !important;
}

html body.study-home-active #appRoot .storage-hub-title span,
html body.study-home-active #appRoot .storage-hub-title span:last-child {
  display: inline !important;
  margin: 0 !important;
  opacity: 1 !important;
  color: #111a2d !important;
  font-size: inherit !important;
  font-weight: inherit !important;
}

html body.study-home-active #appRoot .storage-hub-stat {
  display: block !important;
  min-width: 0 !important;
  margin-top: 3px !important;
  color: #6c7a90 !important;
  font-size: 11px !important;
  line-height: 1.25 !important;
  font-weight: 700 !important;
  text-align: left !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}

html body.study-home-active #appRoot .storage-hub-count {
  min-width: 22px !important;
  height: 22px !important;
  padding: 0 6px !important;
  display: inline-grid !important;
  place-items: center !important;
  border-radius: 999px !important;
  background: #f1f5f9 !important;
  color: #344158 !important;
  font-size: 11px !important;
  line-height: 1 !important;
  font-weight: 900 !important;
}

html body.study-home-active #appRoot .storage-hub-chevron {
  width: 16px !important;
  height: 16px !important;
  display: block !important;
  color: #9aa7b8 !important;
  transition: transform 0.18s ease !important;
}

html body.study-home-active #appRoot .storage-hub-item.is-open .storage-hub-chevron {
  transform: rotate(90deg) !important;
}

html body.study-home-active #appRoot .study-storage-card .wrong-panel:not(.hidden),
html body.study-home-active #appRoot .study-storage-card .bookmark-panel:not(.hidden) {
  padding: 12px 14px 14px !important;
  border-top: 1px solid #e0e7ef !important;
}

@media (min-width: 721px) {
  html body.study-home-active:not(.daily-learning-active) #appRoot .study-hero-card .card-inner {
    padding: 16px !important;
  }

  html body.study-home-active:not(.daily-learning-active) #appRoot .daily-icon.daily-icon-ox-text {
    width: 40px !important;
    height: 40px !important;
    min-width: 40px !important;
    min-height: 40px !important;
  }

  html body.study-home-active:not(.daily-learning-active) #appRoot .daily-title {
    font-size: 24px !important;
  }

  html body.study-home-active #appRoot .storage-hub-item {
    min-height: 60px !important;
  }
}
