.coach { --coach-ink: #18312f; --coach-muted: #526b67; --coach-line: #d2ded9; --coach-surface: #f5f8f6; color: var(--coach-ink); max-width: 920px; margin: 0 auto; line-height: 1.55; }
.coach h1 { font-size: clamp(1.7rem, 5vw, 2.2rem); font-weight: 750; line-height: 1.2; margin: .4rem 0 .7rem; overflow-wrap: anywhere; }
.coach h2 { font-size: 1.1rem; font-weight: 700; margin: 0 0 .8rem; }
.coach p { margin: .5rem 0 1rem; }
.coach a { color: #086657; text-decoration: underline; text-underline-offset: 3px; }
.coach-navigation { display: flex; flex-wrap: wrap; gap: .5rem 1.2rem; font-size: .9rem; margin-bottom: 1.5rem; }
.coach-navigation a { padding: .5rem 0; }
.coach-eyebrow { color: var(--coach-muted); font-size: .85rem; font-weight: 650; }
.coach-description, .coach-muted { color: var(--coach-muted); }
.coach-heading { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.coach-panel { background: var(--coach-surface); border: 1px solid var(--coach-line); border-radius: 16px; padding: 1.25rem; margin: 1rem 0; min-width: 0; }
.coach-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.coach-grid .coach-panel { margin-top: 0; }
.coach label { display: block; font-weight: 600; font-size: .9rem; margin-top: .9rem; }
.coach input:not([type=checkbox]):not([type=submit]):not([type=hidden]), .coach select { display: block; width: 100%; min-width: 0; min-height: 48px; border: 1px solid #9bb4ac; border-radius: 8px; background: white; color: #18312f; font-size: 1rem; padding: .65rem .75rem; margin: .35rem 0 .65rem; box-sizing: border-box; }
.coach :focus-visible { outline: 3px solid #0c8e79; outline-offset: 3px; }
.coach .coach-button { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; background: #09634f; color: white; padding: .7rem 1.05rem; border-radius: 9px; font-weight: 650; font-size: 1rem; text-decoration: none; cursor: pointer; border: 1px solid transparent; text-align: center; }
.coach .coach-secondary { color: var(--coach-ink); background: transparent; border-color: var(--coach-line); }
.coach .coach-button:disabled { opacity: .6; cursor: wait; }
.coach-actions, .coach-inline { display: flex; align-items: center; flex-wrap: wrap; gap: .8rem; }
.coach-inline input[type=search] { flex: 1; width: auto !important; }
.coach-form-page { max-width: 660px; }
.coach summary { cursor: pointer; font-weight: 650; padding: .4rem 0; }
.coach-errors { border: 1px solid #c3443b; background: #fff3f0; color: #82291f; padding: 1rem; border-radius: 10px; margin: 1rem 0; }
.coach-errors ul { list-style: disc; padding-left: 1.25rem; }
.coach-checkbox { display: flex !important; align-items: start; gap: .75rem; padding: .5rem 0; }
.coach-checkbox input { width: 22px; height: 22px; flex-shrink: 0; margin-top: .15rem; }
.coach-students { display: grid; gap: .65rem; padding: 0; list-style: none; margin: 1rem 0; }
.coach .coach-student-link { display: flex; flex-direction: column; gap: .25rem; background: var(--coach-surface); border: 1px solid var(--coach-line); padding: 1rem 1.2rem; border-radius: 12px; text-decoration: none; overflow-wrap: anywhere; }
.coach-student-link span, .coach-list span { font-size: .9rem; color: var(--coach-muted); }
.coach-list { list-style: none; padding: 0; }
.coach-list li { display: flex; justify-content: space-between; flex-wrap: wrap; gap: .5rem; padding: .75rem 0; border-bottom: 1px solid var(--coach-line); }
.coach-contact-card { display: flex; flex-direction: column; padding: .5rem 0 .9rem; overflow-wrap: anywhere; }
.coach [hidden] { display: none !important; }
.coach-layout > button[data-action="theme#toggle"] { position: static; display: flex; margin: 1rem auto; }
.dark .coach { --coach-ink: #e3eee9; --coach-muted: #a9c2b8; --coach-line: #37534a; --coach-surface: #162c25; }
.dark .coach a:not(.coach-button) { color: #86dfbc; }
.coach-date-picker .coach-inline input { flex: 1; width: auto !important; }
.coach-day-heading { margin-top: 1.5rem !important; }
.coach-class-slot { display: flex; justify-content: space-between; align-items: center; gap: .75rem; margin: 0; flex-wrap: wrap; }
.coach-class-slot p { margin-bottom: 0; }
.coach-status-label { position: absolute; width: 1px; height: 1px; margin: -1px !important; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.coach-app-icon { border-radius: 18px; margin-bottom: 1.2rem; }
.coach-install-link { margin-top: 2rem; font-size: .9rem; }
.coach-install-steps { list-style: decimal; padding-left: 1.3rem; }
.coach-install-steps li { padding-left: .2rem; margin: .65rem 0; }
.coach-layout { padding-top: env(safe-area-inset-top); padding-bottom: env(safe-area-inset-bottom); padding-left: env(safe-area-inset-left); padding-right: env(safe-area-inset-right); }
.coach-audit { padding: 0; list-style: none; }
.coach-audit > li { border-bottom: 1px solid var(--coach-line); padding: .75rem 0; }
.coach-audit p { font-size: .85rem; margin: .3rem 0; }
@media (max-width: 560px) { .coach-grid { grid-template-columns: 1fr; gap: 0; } .coach-panel { padding: 1rem; } .coach-heading > .coach-button, .coach-actions > .coach-button { width: 100%; } }
