:root { font-family: system-ui, sans-serif; color: #193a32; background: #f4f6f2; }
* { box-sizing: border-box; }
body { margin: 0; }
main { width: min(100% - 40px, 520px); margin: 12vh auto 40px; }
.brand { font-size: .8rem; font-weight: 800; letter-spacing: .16em; color: #42715d; }
h1 { font-size: clamp(2rem, 7vw, 3rem); line-height: 1.12; letter-spacing: -.04em; }
p { line-height: 1.65; }
section { margin-top: 32px; padding: 28px; background: white; border: 1px solid #dbe4da; border-radius: 20px; }
h2 { margin-top: 0; font-size: 1.3rem; }
button { width: 100%; padding: 16px; border: 0; border-radius: 10px; font: inherit; font-weight: 600; }
button:disabled { background: #e7ece6; color: #52624f; cursor: not-allowed; }
[hidden] { display: none !important; }
label { display: block; font-weight: 600; margin: 18px 0 8px; }
input, select { width: 100%; padding: 14px; font: inherit; border: 1px solid #9aaa9b; border-radius: 10px; }
button { margin-top: 22px; background: #245a46; color: white; cursor: pointer; }
button:hover:enabled { background: #173e30; }
input:focus-visible, select:focus-visible, button:focus-visible { outline: 3px solid #609982; outline-offset: 3px; }
main { width: min(100% - 40px, 720px); margin-top: 6vh; }
.class-card { border-top: 1px solid #dbe4da; padding: 20px 0; }
.class-card h3 { margin: 0 0 12px; font-size: 1.3rem; }
.class-card p { margin: 6px 0; }
.class-card strong { display: inline-block; margin-top: 10px; color: #245a46; }

#class-filters { margin: 24px 0 12px; padding: 0 16px 16px; border-radius: 12px; background: #f0f5ef; }
#class-type { background: white; color: #193a32; }

.class-with-photo { display: grid; grid-template-columns: minmax(0, 1fr) 200px; gap: 24px; align-items: start; }
.class-details { min-width: 0; overflow-wrap: anywhere; }
.instructor-portrait { position: relative; width: 200px; aspect-ratio: 1; border-radius: 16px; overflow: hidden; background: #e7eee5; }
.instructor-portrait img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.photo-fallback { display: grid; place-items: center; height: 100%; padding: 16px; text-align: center; color: #52624f; }
@media (max-width: 560px) {
  section { padding: 20px; }
  .class-with-photo { grid-template-columns: minmax(0, 1fr) 112px; gap: 14px; }
  .instructor-portrait { width: 112px; border-radius: 12px; }
}
.attendees { margin-top: 20px; border: 1px solid #dbe4da; border-radius: 12px; padding: 14px; background: #f8faf6; }
.attendees summary { cursor: pointer; font-weight: 650; padding: 4px 0; }
.attendees summary:focus-visible { outline: 3px solid #609982; outline-offset: 3px; }
.attendees ul { padding-left: 22px; margin-bottom: 0; }
.attendees li { padding: 5px 0; overflow-wrap: anywhere; }
.attendees button { margin-top: 14px; padding: 12px; }
