.platform-page { padding-block: clamp(26px, 5vw, 66px); }
.platform-page h1 { font-size: clamp(32px, 5vw, 55px); letter-spacing: -.05em; margin: 7px 0 18px; overflow-wrap: anywhere; }
.platform-page h2 { font-size: 21px; }
.platform-nav, .record-actions { display: flex; gap: 7px; flex-wrap: wrap; align-items: center; }
.platform-nav { margin-bottom: 16px; }
.platform-nav [aria-current] { color: white; background: var(--brand); }
.platform-box { min-width: 0; background: white; border: 1px solid var(--line); border-radius: 14px; padding: clamp(13px, 2.5vw, 23px); overflow-wrap: anywhere; }
.platform-box > h2 { margin-bottom: 10px; }
.platform-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); gap: 12px; margin: 12px 0 20px; }
.platform-box p, .platform-muted { color: var(--muted); }
.manage-grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); align-items: start; gap: 15px; }
.record-row { display: flex; align-items: center; flex-wrap: wrap; justify-content: space-between; gap: 6px; padding: 10px 0; border-top: 1px solid var(--line); }
.record-row p { font-size: 13px; }
.record-actions .site-button { min-height: 38px; padding: 5px 9px; }
.platform-form { display: grid; gap: 10px; margin-top: 10px; }
.platform-form label { display: grid; gap: 4px; font-weight: 700; font-size: 13px; min-width: 0; }
.platform-form :is(input,select,textarea) { width: 100%; min-width: 0; min-height: 42px; padding: 8px; border: 1px solid #decee3; border-radius: 8px; font: inherit; color: var(--ink); background: #fdfaff; }
.platform-form fieldset { margin: 0; min-width: 0; border: 1px solid var(--line); border-radius: 8px; }
.platform-form .radio-line { display: flex; align-items: center; }
.platform-form input[type=radio] { width: 18px; min-height: 24px; padding: 0; }
.platform-message { padding: 10px 13px; margin: 10px 0; background: #e9f4eb; border-radius: 8px; color: #194726; }
.platform-message.error { background: #fff0ef; color: #862c30; }
.platform-message ul { margin: 0; padding-left: 17px; }
.student-course { display: grid; align-content: start; justify-items: start; gap: 8px; }
.lesson-stack { display: grid; gap: 12px; margin-bottom: 16px; }
.chapter { margin: 14px 0 0; }
.chapter h3 { margin-bottom: 7px; }
.lesson { margin-top: 7px; padding: 10px; border: 1px solid var(--line); border-radius: 8px; }
.lesson summary { cursor: pointer; }
.lesson summary span { color: var(--muted); font-size: 12px; margin-left: 5px; }
.lesson p { margin-top: 6px; }
.lesson video { display: block; width: min(100%, 760px); margin-top: 9px; }
.prewrap { white-space: pre-wrap; overflow-wrap: anywhere; }
.certificate { text-align: center; border: 4px double var(--brand); margin-bottom: 16px; padding-block: 35px; }
.certificate img { margin-inline: auto; }
.certificate h3 { margin: 8px 0 12px; }
.certificate-code { font-size: 12px; }
.course-thumbnail { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -1; }
.platform-banners { display: grid; gap: 8px; padding-top: 20px; }
.platform-banners .platform-box { background: #f2e6f8; }
.slide-image { width: 100%; max-height: 380px; object-fit: cover; border-radius: 8px; margin-bottom: 10px; }
.testimonial { margin: 0; }
.testimonial blockquote { margin: 0 0 8px; }
.testimonial figcaption { font-weight: 750; }
.contact-hero { padding-block: clamp(32px, 5vw, 68px); background: radial-gradient(ellipse at right, #efdaf8, transparent 65%), #f7eff9; border-bottom: 1px solid var(--line); }
.contact-hero h1 { font-size: clamp(40px, 6vw, 73px); letter-spacing: -.06em; margin: 12px 0 16px; }
.contact-hero h1 em { color: var(--brand); font-style: normal; }
.contact-hero p { max-width: 56ch; color: var(--muted); }
.contact-main { padding-block: clamp(25px, 4vw, 52px); }
.contact-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.contact-cards article { display: flex; flex-direction: column; align-items: flex-start; gap: 7px; }
.contact-cards h2 { font-size: 21px; }
.contact-cards p { font-size: 14px; margin-bottom: 9px; }
.contact-cards .course-link { overflow-wrap: anywhere; }
.contact-updates { display: grid; gap: 12px; margin-top: 20px; }
.contact-location { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); margin-top: 24px; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; background: white; }
.location-copy { padding: clamp(19px, 3vw, 39px); }
.location-copy h2 { font-size: clamp(29px, 3.5vw, 43px); letter-spacing: -.05em; margin: 10px 0; }
.location-copy p { color: var(--muted); }
.location-copy address { font-style: normal; margin-block: 19px; line-height: 1.8; }
.location-map { width: 100%; height: 100%; min-height: 370px; border: 0; background: #eee5f2; }
@media (max-width: 760px) {
    .contact-cards, .contact-location { grid-template-columns: 1fr; }
    .location-map { min-height: 310px; }
}
@media (max-width: 700px) { .manage-grid { grid-template-columns: 1fr; } }
@media print {
    body:has(.certificate) :is(.site-header, .site-footer, .skip-link, [data-print]) { display: none; }
}

