:root {
  --cw-accent: #e0efab;
  --cw-accent-ink: #243023;
  --cw-soft: #f2f4e9;
}
body[data-coach-accent="navy"] { --cw-accent:#c6daee; --cw-accent-ink:#102842; --cw-soft:#edf4fb; }
body[data-coach-accent="claret"] { --cw-accent:#f2cbd7; --cw-accent-ink:#462234; --cw-soft:#fbf0f4; }
body[data-coach-accent="purple"] { --cw-accent:#e1d4f4; --cw-accent-ink:#35244d; --cw-soft:#f5effb; }
body[data-coach-accent="teal"] { --cw-accent:#bceae1; --cw-accent-ink:#163a34; --cw-soft:#ebf8f5; }
body[data-coach-accent] .coach-page .btn.coach-primary,
body[data-coach-accent] .cw-priority .btn.coach-primary {
  background:var(--cw-accent); border-color:var(--cw-accent); color:var(--cw-accent-ink);
}
.cw-profile-preview img { width:40px; height:40px; object-fit:contain; }
.cw-priority { position:relative; isolation:isolate; overflow:hidden; display:grid; align-items:end;
  min-height:235px; border-radius:18px; background:#203a2d; color:white;
}
.cw-priority canvas { width:100%; height:100%; position:absolute; inset:0; z-index:-2; object-fit:cover; }
.cw-priority::after { content:""; position:absolute; inset:0; z-index:-1;
  background:linear-gradient(0deg,#101e18f5,#101e18cc 44%,#101e183c); }
.cw-priority-overlay { display:grid; gap:.45rem; padding:clamp(1rem,4vw,2rem); }
.cw-priority-overlay>span { color:#f1f6e7; font-size:.88rem; font-weight:750; }
.cw-priority-overlay h2 { font-size:clamp(1.6rem,4vw,2.45rem); color:white; overflow-wrap:anywhere; }
.cw-priority-overlay p { color:#eef3ec; margin-bottom:.35rem; }
.cw-priority .draft-status { margin:0; color:#eef3ec; }
.cw-priority .draft-status .btn { color:#eef3ec; }
.cw-priority-equipment { font-size:.91rem; overflow-wrap:anywhere; }
.cw-priority-equipment strong { margin-right:.45rem; }
.cw-priority-overlay>.action-row .btn { min-width:0; }
.cw-home-prep { grid-column:1/-1; min-width:0; }
.cw-columns { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:1.3rem; }
.cw-section { min-width:0; display:grid; gap:.75rem; align-content:start; padding:1rem;
  margin:0 0 1rem; border:1px solid #dee4d9; border-radius:16px; background:#fff; }
.cw-section h2,.cw-section.summary { overflow-wrap:anywhere; }
.cw-section > .btn { justify-self:start; }
.home-section-heading .cw-page-link.btn {
  flex:none;
  gap:6px;
  padding:6px 10px;
  border:1px solid #829674;
  border-radius:9px;
  background:#eaf1e2;
  color:#263d2b;
  font-weight:700;
  white-space:nowrap;
}
.home-section-heading .cw-page-link.btn:hover { background:#dfead4; }
.cw-page-link svg { flex:none; }
.cw-reminder { margin:1rem 0; padding:.8rem 1rem; background:var(--cw-soft); color:var(--cw-accent-ink);
  border-radius:12px; overflow-wrap:anywhere; }
.cw-reminder strong { margin-right:.5rem; }
.cw-line { display:flex; flex-wrap:wrap; justify-content:space-between; align-items:center; gap:.5rem;
  padding:.55rem 0; border-block-start:1px solid #e5e9e2; overflow-wrap:anywhere; }
.cw-line small,.cw-note-peek small,.cw-record small,.cw-form small { display:block; color:#4e5a51; }
.cw-note-peek,.cw-record { padding:.7rem 0; border-block-start:1px solid #e5e9e2; overflow-wrap:anywhere; }
.cw-record { display:grid; gap:.45rem; }
.cw-note-peek p { display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; white-space:pre-wrap; }
.cw-record p,.cw-line p { white-space:pre-wrap; }
.cw-settings { margin:1rem 0; }
.cw-form { display:grid; gap:.85rem; min-width:0; }
.cw-form fieldset { border:1px solid #dee4d9; border-radius:12px; display:grid; gap:.5rem; min-width:0; }
.cw-form legend { padding:0 .4rem; font-weight:750; }
.cw-form label { display:grid; gap:.2rem; font-weight:680; }
.cw-form input:not([type="checkbox"]):not([type="radio"]),.cw-form select,.cw-form textarea { width:100%; min-width:0;
  min-height:44px; border:1px solid #cdd7cb; border-radius:8px; padding:8px; background:#fff; color:#17271d; }
.cw-form textarea { min-height:100px; resize:vertical; }
.cw-form > .btn { justify-self:start; }
.cw-form .cw-check,.cw-day label { display:flex; align-items:center; gap:.6rem; min-height:44px; overflow-wrap:anywhere; }
.cw-form input:is([type="checkbox"],[type="radio"]) { flex:none; width:19px; height:19px; margin:0 3px; accent-color:#436454; }
.cw-form fieldset:is(.cw-slot-choices,.cw-custom-slot) { border:0; padding:0; margin:0; }
.cw-form .cw-slot-choices legend { padding:0; margin-bottom:.45rem; font-size:.9rem; }
.cw-form label.cw-slot-choice {
  display:flex; align-items:center; gap:.65rem; min-height:44px; padding:.65rem .75rem;
  border:1px solid #dee4d9; border-radius:10px; cursor:pointer;
}
.cw-slot-choice:has(input:checked) { background:var(--cw-soft); border-color:#7d9363; color:var(--cw-accent-ink); }
.cw-slot-choice small { margin-top:.15rem; }
.cw-form-pair { display:grid; gap:.5rem; grid-template-columns:repeat(2,minmax(0,1fr)); }
.cw-day { display:grid; grid-template-columns:minmax(0,1fr) minmax(105px,35%); align-items:center; gap:.5rem; }
.cw-equipment-row { display:grid; grid-template-columns:25px minmax(0,1fr) 64px auto; align-items:center; gap:.45rem; margin:.4rem 0; }
.cw-equipment-row .btn { padding-inline:.45rem; }
.cw-collection section { margin-top:.75rem; }
@media(max-width:650px) {
  .cw-columns,.cw-form-pair { grid-template-columns:1fr; gap:.8rem; }
  .cw-priority-overlay .btn { padding-inline:.55rem; }
  .cw-equipment-row { grid-template-columns:22px minmax(0,1fr) 54px auto; gap:.3rem; }
}
