/* PODIUM 2.0 — selected-date treatment B, 2026-10-14.
   UI-only stylesheet. Preserves original data, schedule, work roster and record state. */

/* Today is a date reference; selection is an independent, stronger state. */
html.podium-v14 .p14-day.today:not(.chosen) {
  box-shadow:0 0 0 1px rgba(3,138,109,.55)!important;
}

html.podium-v14 button.p14-day.chosen {
  position:relative!important;
  z-index:5!important;
  opacity:1!important;
  background:#d7f8ec!important;
  color:#123e33!important;
  border:3px solid #078669!important;
  border-top:4px solid #046f55!important;
  outline:2px solid rgba(5,134,103,.95)!important;
  outline-offset:0!important;
  box-shadow:inset 0 0 0 1px #fff,0 7px 15px rgba(0,109,79,.20)!important;
  transform:scale(1.015);
}

html.podium-v14 .p14-day.chosen .p14-day-top b {
  color:#064a37!important;
  font-weight:950!important;
}
html.podium-v14 .p14-day.chosen .p14-session {
  color:#075441!important;
  font-weight:900!important;
}
html.podium-v14 .p14-day.chosen .p14-shift {
  border:1px solid rgba(5,100,78,.15);
}

/* Add a visible selection badge without confusing it with the completed check. */
html.podium-v14 button.p14-day.chosen::after {
  content:"선택";
  position:absolute;
  right:3px;
  top:4px;
  z-index:8;
  border:1px solid #fff;
  border-radius:7px;
  background:#006f55;
  color:#fff;
  padding:3px 4px;
  font-size:10px;
  line-height:1;
  font-weight:950;
  box-shadow:0 2px 5px rgba(0,70,51,.18);
  pointer-events:none;
}
/* Only empty completion circles are replaced by the "selected" badge. */
html.podium-v14 button.p14-day.chosen:not(:has(.p14-check.yes, .p14-check.maybe)) .p14-check {
  visibility:hidden!important;
}
/* When the day is already completed, retain ✓ and place "selected" lower. */
html.podium-v14 button.p14-day.chosen:has(.p14-check.yes, .p14-check.maybe)::after {
  top:auto;
  right:auto;
  bottom:2px;
  left:3px;
}
/* Keep the separate Today label distinguishable from Selected. */
html.podium-v14 button.p14-day.chosen .p14-today-flag {
  background:#295b8a!important;
  color:#fff!important;
  font-weight:900!important;
  z-index:7!important;
}
html.podium-v14 button.p14-day.chosen:focus-visible {
  outline:3px solid #174e9b!important;
  outline-offset:1px!important;
}
html.podium-v14 .p14-detail-wrap {
  border:2px solid #12a481!important;
  box-shadow:0 7px 22px rgba(0,122,94,.10)!important;
}
html.podium-v14 .p14-detail-heading .p14-overline {
  color:#066e56!important;
}

@media(max-width:430px) {
  html.podium-v14 button.p14-day.chosen::after {
    font-size:9px;
    padding:2px 3px;
    border-radius:5px;
    right:2px;
    top:3px;
  }
  html.podium-v14 button.p14-day.chosen:has(.p14-check.yes, .p14-check.maybe)::after {
    top:auto;
    right:auto;
    left:2px;
    bottom:2px;
  }
}
@media(prefers-reduced-motion:reduce) {
  html.podium-v14 button.p14-day.chosen {transform:none!important}
}
