/* LC Carreiras — agrupamento visual por data e progresso diário */
.schedule-board>.lc-date-group-header{
  grid-column:1/-1;
  position:relative;
  margin:16px 0 2px;
  padding:20px 22px 18px;
  border:1px solid color-mix(in srgb,var(--lc-date-color) 34%,var(--line));
  border-left:8px solid var(--lc-date-color);
  border-radius:18px;
  background:linear-gradient(135deg,var(--lc-date-soft),rgba(255,255,255,.96) 52%);
  box-shadow:0 10px 28px rgba(20,41,71,.09);
  overflow:hidden;
}
.schedule-board>.lc-date-group-header::before{
  content:"";
  position:absolute;
  inset:0 0 auto;
  height:5px;
  background:var(--lc-date-color);
}
.lc-date-title-wrap{display:flex;align-items:flex-start;justify-content:space-between;gap:16px}
.lc-date-title{
  margin:0;
  color:#10243c;
  font-size:clamp(28px,4vw,42px);
  line-height:1;
  font-weight:1000;
  letter-spacing:-.035em;
  text-transform:uppercase;
}
.lc-date-weekday{
  margin-top:7px;
  color:var(--lc-date-color);
  font-size:14px;
  font-weight:950;
  letter-spacing:.08em;
  text-transform:uppercase;
}
.lc-date-mission-count{
  flex:0 0 auto;
  padding:8px 11px;
  border-radius:999px;
  background:var(--lc-date-color);
  color:#fff;
  font-size:11px;
  font-weight:950;
  box-shadow:0 5px 14px color-mix(in srgb,var(--lc-date-color) 28%,transparent);
}
.lc-date-daily-progress{margin-top:17px}
.lc-date-progress-copy{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:7px}
.lc-date-progress-copy span{color:#42566e;font-size:12px;font-weight:900;text-transform:uppercase;letter-spacing:.045em}
.lc-date-progress-copy strong{color:#10243c;font-size:18px;font-weight:1000}
.lc-date-progress-track{
  width:100%;
  height:12px;
  border-radius:999px;
  background:#dde5ee;
  overflow:hidden;
  box-shadow:inset 0 1px 2px rgba(15,23,42,.08);
}
.lc-date-progress-track i{display:block;height:100%;border-radius:inherit;transition:width .3s ease}
.lc-date-progress-meta{display:flex;flex-wrap:wrap;justify-content:space-between;gap:8px;margin-top:7px;color:#60738a;font-size:11px;font-weight:800}
.lc-date-progress-meta b{color:#14804f;font-weight:1000}
.schedule-board>.schedule-card{
  border-top:4px solid var(--lc-date-color,var(--line));
  box-shadow:0 6px 18px rgba(20,41,71,.06),0 -3px 0 var(--lc-date-soft,transparent);
}
.schedule-board>.schedule-card .schedule-date{
  font-size:13px;
  color:var(--lc-date-color,#53657a);
}
.lc-overall-progress{
  margin:16px 0 4px;
  padding:17px 19px;
  border:1px solid #e6d5a7;
  border-radius:16px;
  background:linear-gradient(135deg,#fffaf0,#fff);
  box-shadow:0 7px 20px rgba(20,41,71,.06);
}
.lc-overall-progress-head{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:11px}
.lc-overall-progress-head div{display:grid;gap:2px}
.lc-overall-progress-head small{color:#92701c;font-size:10px;font-weight:1000;letter-spacing:.11em}
.lc-overall-progress-head strong{color:#182b43;font-size:17px}
.lc-overall-progress-head>span{color:#9a741a;font-size:20px;font-weight:1000}
html[data-theme="dark"] .schedule-board>.lc-date-group-header{
  border-color:color-mix(in srgb,var(--lc-date-color) 42%,#314255);
  background:linear-gradient(135deg,var(--lc-date-dark),#111c29 58%);
  box-shadow:0 10px 28px rgba(0,0,0,.22);
}
html[data-theme="dark"] .lc-date-title,
html[data-theme="dark"] .lc-date-progress-copy strong{color:#f8fafc}
html[data-theme="dark"] .lc-date-progress-copy span{color:#c0cedd}
html[data-theme="dark"] .lc-date-progress-track{background:#2d4055}
html[data-theme="dark"] .lc-date-progress-meta{color:#aebed0}
html[data-theme="dark"] .lc-date-progress-meta b{color:#70d5a5}
html[data-theme="dark"] .lc-overall-progress{
  border-color:#554720;
  background:linear-gradient(135deg,#2b2515,#141b24 65%);
}
html[data-theme="dark"] .lc-overall-progress-head strong,
html[data-theme="dark"] .lc-overall-progress .lc-date-progress-copy strong{color:#f8fafc}
html[data-theme="dark"] .lc-overall-progress-head small,
html[data-theme="dark"] .lc-overall-progress-head>span{color:#e3bd54}
html[data-theme="dark"] .lc-overall-progress .lc-date-progress-copy span,
html[data-theme="dark"] .lc-overall-progress .lc-date-progress-meta{color:#bcc9d7}
@media(max-width:820px){
  .schedule-board>.lc-date-group-header{
    position:sticky;
    top:0;
    z-index:8;
    margin-top:14px;
    padding:17px 15px 14px;
    border-radius:15px;
    box-shadow:0 7px 20px rgba(15,23,42,.15);
  }
  .lc-date-title{font-size:clamp(25px,8vw,34px)}
  .lc-date-title-wrap{gap:10px}
  .lc-date-mission-count{padding:7px 9px;font-size:10px}
}
@media(max-width:520px){
  .lc-date-title-wrap{align-items:flex-start}
  .lc-date-title{font-size:28px}
  .lc-date-weekday{font-size:12px}
  .lc-date-progress-track{height:11px}
  .lc-overall-progress{padding:15px 14px}
}

/* Interação por data: cabeçalho clicável e missões expansíveis */
.schedule-board>.lc-date-group-header{
  cursor:pointer;
  user-select:none;
  transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease;
}
.schedule-board>.lc-date-group-header:hover{
  transform:translateY(-1px);
  box-shadow:0 14px 32px rgba(20,41,71,.13);
}
.schedule-board>.lc-date-group-header:focus-visible{
  outline:3px solid color-mix(in srgb,var(--lc-date-color) 45%,transparent);
  outline-offset:3px;
}
.lc-date-header-actions{
  display:flex;
  flex-direction:column;
  align-items:flex-end;
  gap:8px;
}
.lc-date-open-label{
  display:inline-flex;
  align-items:center;
  gap:6px;
  padding:7px 10px;
  border-radius:999px;
  background:color-mix(in srgb,var(--lc-date-color) 12%,transparent);
  color:var(--lc-date-color);
  font-size:11px;
  font-weight:950;
  white-space:nowrap;
}
.lc-date-open-label b{font-size:14px;line-height:1}
.schedule-board>.schedule-card.lc-date-collapsed-card{
  display:none!important;
}
.schedule-board>.lc-date-group-header.is-expanded{
  margin-bottom:10px;
  border-color:color-mix(in srgb,var(--lc-date-color) 52%,var(--line));
}
html[data-theme="dark"] .lc-date-open-label{
  background:color-mix(in srgb,var(--lc-date-color) 22%,#0f172a);
  color:#fff;
}
@media(max-width:520px){
  .lc-date-header-actions{gap:6px}
  .lc-date-open-label{font-size:10px;padding:6px 8px}
}
