/* Preparation: native information components within a consistent red surface. */
body.theme-dark #prepare { max-width: 760px; }
body.theme-dark #prepare .section-heading { margin-bottom: 18px; }
body.theme-dark #prepare .prepare-stack { display: grid; gap: 16px; }
body.theme-dark #prepare .prepare-panel {
  min-width: 0;
  margin: 0;
  padding: 0;
  overflow: hidden;
  border: 1px solid rgba(255,150,150,.18);
  border-radius: 16px;
  background: linear-gradient(115deg,#76242e,#58202a);
  box-shadow: 0 8px 24px rgba(0,0,0,.12);
}
body.theme-dark #prepare .prepare-card-header {
  position: relative;
  padding: 15px 16px;
  background: radial-gradient(ellipse at 10% 0,rgba(245,61,57,.22),transparent 75%),linear-gradient(110deg,#ab2633,#7e1b2a);
  border-bottom: 1px solid rgba(255,220,217,.12);
}
body.theme-dark #prepare h3 {
  color: #fff7f3;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: .025em;
  text-align: center;
}
body.theme-dark #prepare .prepare-caption { margin-top: 5px; color: #f0d6d8; font-size: 12px; line-height: 1.5; text-align: center; }
body.theme-dark #prepare .forecast-days {
  display: grid;
  grid-template-columns: repeat(5,minmax(0,1fr));
  gap: 5px;
  margin: 0;
  padding: 13px 12px 12px;
  list-style: none;
}
body.theme-dark #prepare .forecast-day {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 0;
  padding: 8px 0 9px;
  border-radius: 10px;
  line-height: 1.45;
  text-align: center;
}
body.theme-dark #prepare .course-day { background: rgba(255,241,230,.1); box-shadow: inset 0 1px 0 rgba(255,255,255,.18); }
body.theme-dark #prepare .forecast-day time { color: #fff4f2; font-size: 13px; white-space: nowrap; font-weight: 600; font-variant-numeric: tabular-nums; }
body.theme-dark #prepare .forecast-weekday { margin-top: 3px; color: #dcb8bf; font-size: 11px; }
body.theme-dark #prepare .forecast-icon { width: 34px; height: 30px; margin: 11px 0 5px; fill: none; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; filter: drop-shadow(0 3px 3px rgba(29,5,8,.15)); }
body.theme-dark #prepare .forecast-sun { fill: #ffca8b; stroke: #ffd3a1; }
body.theme-dark #prepare .forecast-rays { stroke: #ffd3a1; }
body.theme-dark #prepare .forecast-cloud { fill: #ffefeb; stroke: #fff7f3; }
body.theme-dark #prepare .forecast-condition { color: #edd0d4; font-size: 12px; }
body.theme-dark #prepare .forecast-temperature { display: flex; flex-direction: column; margin-top: 6px; font-variant-numeric: tabular-nums; }
body.theme-dark #prepare .forecast-temperature b { color: #fff9f4; font-size: 24px; font-weight: 600; line-height: 1.2; letter-spacing: -.04em; }
body.theme-dark #prepare .forecast-temperature small { margin-top: 3px; color: #dbb9c0; font-size: 12px; line-height: 1.4; }
body.theme-dark #prepare .clothing-panel { margin: 0; padding: 12px 16px 14px; background: rgba(29,8,13,.17); border-top: 1px solid rgba(255,255,255,.1); }
body.theme-dark #prepare .clothing-panel h3 { color: #f1dce0; font-size: 14px; font-weight: 550; letter-spacing: .04em; }
body.theme-dark #prepare .clothing-list { margin: 8px 0 0; }
body.theme-dark #prepare .clothing-list > div { display: grid; grid-template-columns: max-content 1fr; gap: 12px; padding: 5px 0; align-items: baseline; font-size: 13px; line-height: 1.6; }
body.theme-dark #prepare .clothing-list dt { color: #fff2ed; font-weight: 550; white-space: nowrap; }
body.theme-dark #prepare .clothing-list dd { margin: 0; color: #dfc1c7; }

/* Actual checklist controls, with a separate priority group and persistent status. */
body.theme-dark #prepare .packing-header { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 6px; padding: 16px 12px; }
body.theme-dark #prepare .packing-header h3 { grid-column: 2; }
body.theme-dark #prepare #check-count { grid-column: 3; justify-self: end; padding: 4px 6px; border: 1px solid rgba(255,255,255,.12); border-radius: 6px; color: #f6e1e3; background: rgba(29,8,13,.16); font-size: 11px; font-weight: 400; line-height: 1.5; white-space: nowrap; letter-spacing: -.02em; }
body.theme-dark #prepare .progress-track { position: absolute; inset: auto 0 -1px; width: 100%; height: 2px; margin: 0; border-radius: 0; background: transparent; }
body.theme-dark #prepare #check-progress { height: 100%; background: #ffe5dc; }
body.theme-dark #prepare .checklist { margin: 0; }
body.theme-dark #prepare .packing-priorities { display: grid; gap: 8px; padding: 12px 12px 0; }
body.theme-dark #prepare .packing-basics { margin: 5px 16px 0; }
body.theme-dark #prepare .checklist label { display: flex; position: relative; align-items: center; gap: 11px; min-height: 64px; padding: 11px 0; border: 0; cursor: pointer; }
body.theme-dark #prepare .packing-priorities label { padding: 12px 10px; min-height: 66px; border: 1px solid rgba(255,232,228,.16); border-radius: 10px; background: rgba(255,234,225,.075); }
body.theme-dark #prepare .packing-basics label + label { border-top: 1px solid rgba(255,255,255,.12); }
body.theme-dark #prepare .checklist input { left: 0; width: 22px; height: 22px; }
body.theme-dark #prepare .packing-priorities input { left: 10px; }
body.theme-dark #prepare .custom-check { width: 21px; height: 21px; border: 1.4px solid #dbabb5; border-radius: 6px; background: rgba(35,6,13,.09); }
body.theme-dark #prepare .custom-check > .icon { width: 15px; height: 15px; }
body.theme-dark #prepare .checklist strong { color: #fff7f4; font-size: 15px; font-weight: 500; line-height: 1.55; }
body.theme-dark #prepare .packing-priorities strong { font-weight: 600; }
body.theme-dark #prepare .checklist small { margin-top: 3px; color: #d9b7bf; font-size: 12px; line-height: 1.5; }
body.theme-dark #prepare .essential-tag { display: inline-block; margin-left: 7px; padding: 1px 5px; border-radius: 4px; color: #841e2b; background: #fbe3d9; vertical-align: 1px; font-size: 10px; font-style: normal; font-weight: 600; line-height: 1.4; }
body.theme-dark #prepare .checklist input:checked + .custom-check { background: #ffece2; border-color: #ffece2; }
body.theme-dark #prepare .checklist input:checked + .custom-check > .icon { color: #8d2632; }
body.theme-dark #prepare .checklist input:focus-visible + .custom-check { outline-color: #ffece2; }
body.theme-dark #prepare .checklist input:checked ~ span:last-child strong { color: #d4b7be; text-decoration-color: #d4b7be; }
body.theme-dark #prepare .packing-priorities label:has(input:checked) { background: rgba(39,8,15,.13); border-color: rgba(255,232,228,.08); }
body.theme-dark #prepare #reset-checklist { display: block; margin: 0 auto 7px; min-height: 34px; font-size: 12px; color: #dfbec5; }

/* Quiet, aligned classroom reminders. */
body.theme-dark #prepare .class-note { display: grid; grid-template-columns: 22px minmax(0,1fr); gap: 12px; margin: 0 16px; padding: 15px 0; }
body.theme-dark #prepare .class-note + .class-note { border-top: 1px solid rgba(255,255,255,.12); }
body.theme-dark #prepare .class-note > span { display: block; width: 22px; height: 22px; margin-top: 1px; color: #f8d6cf; background: none; border-radius: 0; }
body.theme-dark #prepare .class-note > span .icon { width: 22px; height: 22px; stroke-width: 1.6; }
body.theme-dark #prepare .class-note h4 { color: #fff3f0; font-size: 15px; font-weight: 600; line-height: 1.55; }
body.theme-dark #prepare .class-note p { margin-top: 5px; color: #dfc1c7; font-size: 13px; line-height: 1.65; }
@media(max-width:370px) {
  body.theme-dark #prepare .forecast-days { padding-inline: 9px; gap: 2px; }
  body.theme-dark #prepare .forecast-day time { font-size: 12px; }
  body.theme-dark #prepare .forecast-temperature b { font-size: 22px; }
  body.theme-dark #prepare .clothing-panel { padding-inline: 12px; }
  body.theme-dark #prepare .clothing-list > div { gap: 9px; }
  body.theme-dark #prepare .packing-header { padding-inline: 8px; gap: 3px; }
  body.theme-dark #prepare .packing-priorities { padding-inline: 8px; }
  body.theme-dark #prepare .packing-priorities label { padding-inline: 8px; gap: 9px; }
  body.theme-dark #prepare .packing-priorities input { left: 8px; }
  body.theme-dark #prepare .packing-basics { margin-inline: 16px; }
  body.theme-dark #prepare .class-note { margin-inline: 13px; gap: 10px; }
}
@media(prefers-reduced-motion:no-preference) {
  body.theme-dark #prepare .custom-check,
  body.theme-dark #prepare .packing-priorities label { transition: background .15s,border-color .15s; }
}

/* V95: compact spacing and centered copy, with accessible controls on the left. */
body.theme-dark #prepare .clothing-panel { padding-block: 10px 11px; }
body.theme-dark #prepare .clothing-list { margin-top: 6px; }
body.theme-dark #prepare .clothing-list > div {
  display: flex;
  justify-content: center;
  gap: 9px;
  padding: 3px 0;
  text-align: center;
  line-height: 1.5;
}
body.theme-dark #prepare .clothing-list dt { flex-shrink: 0; }
body.theme-dark #prepare .clothing-list dd { text-align: center; }
body.theme-dark #prepare .packing-header { padding-block: 13px; }
body.theme-dark #prepare .packing-priorities { gap: 6px; padding-top: 10px; }
body.theme-dark #prepare .packing-basics { margin-top: 4px; }
body.theme-dark #prepare .checklist label {
  display: block;
  min-height: 54px;
  padding: 7px 28px;
  text-align: center;
}
body.theme-dark #prepare .packing-priorities label { min-height: 54px; padding: 7px 32px; }
body.theme-dark #prepare .checklist label > span:last-child { display: block; min-width: 0; text-align: center; }
body.theme-dark #prepare .custom-check { position: absolute; top: 50%; left: 0; transform: translateY(-50%); }
body.theme-dark #prepare .packing-priorities .custom-check { left: 10px; }
body.theme-dark #prepare .checklist strong { line-height: 1.4; }
body.theme-dark #prepare .checklist small { margin-top: 2px; line-height: 1.4; }
body.theme-dark #prepare #reset-checklist { min-height: 30px; margin-bottom: 5px; }
body.theme-dark #prepare .class-notes .prepare-card-header { padding-block: 13px; }
body.theme-dark #prepare .class-note { display: block; padding-block: 9px; text-align: center; }
body.theme-dark #prepare .class-note h4 { display: flex; align-items: center; justify-content: center; gap: 7px; line-height: 1.4; }
body.theme-dark #prepare .class-note-icon { display: inline-flex; flex: 0 0 18px; width: 18px; height: 18px; color: #f8d6cf; }
body.theme-dark #prepare .class-note-icon .icon { width: 18px; height: 18px; stroke-width: 1.6; }
body.theme-dark #prepare .class-note p { margin-top: 3px; line-height: 1.5; text-align: center; }
@media(max-width:370px) {
  body.theme-dark #prepare .packing-priorities label { padding-inline: 30px; }
  body.theme-dark #prepare .packing-priorities .custom-check { left: 8px; }
  body.theme-dark #prepare .clothing-list > div { gap: 8px; }
}

/* V96: restore left-aligned checklist and classroom copy; keep compact spacing. */
body.theme-dark #prepare .checklist label { padding-inline: 32px 0; text-align: left; }
body.theme-dark #prepare .packing-priorities label { padding-inline: 42px 10px; }
body.theme-dark #prepare .checklist label > span:last-child { text-align: left; }
body.theme-dark #prepare .class-note { position: relative; padding-left: 30px; text-align: left; }
body.theme-dark #prepare .class-note h4 { justify-content: flex-start; text-align: left; }
body.theme-dark #prepare .class-note-icon { position: absolute; left: 0; top: 11px; }
body.theme-dark #prepare .class-note p { text-align: left; }
@media(max-width:370px) {
  body.theme-dark #prepare .packing-priorities label { padding-inline: 38px 8px; }
}

/* V97: left-align clothing advice and compact the entire weather component. */
body.theme-dark #prepare .forecast-panel .prepare-card-header { padding-block: 11px; }
body.theme-dark #prepare .prepare-caption { margin-top: 3px; line-height: 1.4; }
body.theme-dark #prepare .forecast-days { padding-block: 9px; }
body.theme-dark #prepare .forecast-day { padding-block: 6px; }
body.theme-dark #prepare .forecast-weekday { margin-top: 2px; }
body.theme-dark #prepare .forecast-icon { margin-block: 7px 3px; }
body.theme-dark #prepare .forecast-temperature { margin-top: 3px; }
body.theme-dark #prepare .forecast-temperature small { margin-top: 1px; }
body.theme-dark #prepare .clothing-panel { padding-block: 8px 9px; }
body.theme-dark #prepare .clothing-list { margin-top: 4px; }
body.theme-dark #prepare .clothing-list > div {
  display: grid;
  grid-template-columns: max-content minmax(0,1fr);
  justify-content: normal;
  gap: 10px;
  padding-block: 2px;
  line-height: 1.45;
  text-align: left;
}
body.theme-dark #prepare .clothing-list dd { text-align: left; }
@media(max-width:370px) {
  body.theme-dark #prepare .clothing-list > div { gap: 8px; }
}
