/* Adapters for live Django states absent from the standalone Forest mockup. */
.forest-public [hidden]{display:none!important}
.forest-public .v28-skip:not(:focus),.forest-public .sr-only,.forest-public .visually-hidden{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.forest-public .v28-skip:focus{position:fixed;top:8px;left:8px;z-index:9999;padding:12px;background:white}
.forest-public .r25-empty,.forest-empty{padding:32px;border:1px solid #d5dfd7;border-radius:14px;background:#fff}
.forest-public .r25-filter-submit{align-self:end}
.forest-public .k36-filter-row{flex-wrap:wrap}
.forest-public .k36-catalog-caption{display:flex;justify-content:space-between;margin:24px 0}
.forest-public .k36-filter-active{display:flex;gap:8px;flex-wrap:wrap;margin:16px 0}
.forest-public .k36-filter-active a{padding:7px 12px;border:1px solid #cad7ce;border-radius:30px;font-size:14px}
.forest-public .r25-pagination{display:flex;align-items:center;justify-content:center;gap:20px;margin-top:28px}
.forest-public .r55-teacher-photo{display:block;object-fit:cover;object-position:center top;width:100%;height:100%}
.forest-public .forest-teacher-initials{display:grid;place-items:center;height:100%;font-size:60px;background:#dce5dc;color:#20513f}
.forest-public .r48-profile-photo img{width:100%;height:100%;object-fit:cover;object-position:center top}
.forest-public .forest-course-teachers{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px;margin-top:24px}
.forest-public .forest-course-about{margin:0 0 40px;border-bottom:1px solid #d5dfd7;padding:20px 0}
.forest-public .forest-course-about summary{cursor:pointer;font-weight:500;font-size:18px}
.forest-public .forest-course-about p{margin-top:18px;max-width:850px;line-height:1.65}
.forest-public .group-toolbar{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:16px;flex-wrap:wrap}
.forest-public .format-switch{display:flex;gap:6px}
.forest-public .format-switch button{padding:9px 14px;border:1px solid #cad5c8;border-radius:9px;background:#fff;cursor:pointer}
.forest-public .format-switch button[aria-pressed=true]{background:#20543f;color:white}
.forest-public .timezone,.forest-public .group-seats{font-size:14px;color:#607367}
.forest-public .is-enhanced .group-fallback-action{display:none}
.forest-public .group-fallback-action{padding:14px}
.forest-public .k36-group-heading{align-items:center}
.forest-public .k36-group-heading>input{width:18px;height:18px;accent-color:#20543f;flex-shrink:0}
.forest-public .group-name{margin-right:auto}
.forest-public .purchase-terms,.forest-public .purchase-start,.forest-public .quantity-help{font-size:14px;line-height:1.55;margin:14px 0;color:#607367}
.forest-public .quantity-error{color:#a32922;font-size:14px;margin:12px 0}
.forest-public .k36-quantity-label{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px}
.forest-public .k36-quantity input{width:68px;text-align:center}
.forest-public .k36-quantity{display:inline-flex}
.forest-public .k36-purchase .btn-wide{width:100%;margin-top:16px}
.forest-public .forest-question{margin-top:24px;display:inline-flex}
.forest-public .forest-consent{display:flex!important;align-items:flex-start;gap:10px;font-size:14px;line-height:1.5}
.forest-public .forest-consent input{width:18px!important;min-height:18px!important;height:18px;flex-shrink:0;margin-top:3px}
.forest-public .forest-consent a{text-decoration:underline}
.forest-public .forest-documents{display:grid;gap:14px;margin-top:20px;font-size:15px}
.forest-public .forest-documents a{text-decoration:underline}
.forest-public .r25-footer-contact{display:flex;gap:18px;flex-wrap:wrap;color:#607367;font-size:14px;padding-top:16px}
.forest-public .r14-legal-links{display:flex;gap:18px;flex-wrap:wrap;margin-top:16px;font-size:14px}
.forest-public .r27-demo-dialog{border:1px solid #d5dfd7;border-radius:20px;padding:32px;width:min(600px,calc(100% - 32px));max-height:90vh;overflow:auto;background:#f8faf6;color:#234738}
.forest-public .r27-demo-dialog::backdrop{background:#102b2680}
.forest-public .r27-demo-dialog .dialog-top{display:flex;justify-content:space-between;gap:16px}
.forest-public .r27-demo-dialog .dialog-close{align-self:start;padding:5px 12px;font-size:26px;background:transparent;border:0;cursor:pointer}
.forest-public .r27-demo-dialog .order-details>div{display:grid;grid-template-columns:1fr 1.7fr;gap:18px;margin:14px 0}
.forest-public .r27-demo-dialog .order-details dt{color:#607367}
.forest-public .r27-demo-dialog .order-details dd{margin:0}
.forest-public .r27-demo-dialog .order-summary{display:flex;justify-content:space-between;gap:16px;padding:20px 0;border-top:1px solid #d5dfd7}
.forest-public .r27-demo-dialog .dialog-note,.forest-public .r27-demo-dialog .dialog-intro{margin:16px 0;font-size:15px}
.forest-public .back-to-selection{display:block;margin:16px 0 0;border:0;background:none;cursor:pointer}
.forest-public .r51-trial-page{padding-top:28px;padding-bottom:72px}
.forest-public .r51-trial-heading{margin:26px 0 30px}
.forest-public .r51-trial-heading p{max-width:800px;color:#607367;margin-top:18px}
.forest-public .r51-trial-filter{display:flex;gap:12px;align-items:center;flex-wrap:wrap;margin-bottom:30px}
.forest-public .r51-trial-filter select{padding:12px;border:1px solid #cad5c8;border-radius:8px;background:white}
.forest-public .r51-trial-empty{padding:24px;background:white;border:1px solid #d5dfd7;border-radius:14px;grid-column:1/-1}
.forest-public .r34-trial-grid{margin-top:24px}
.forest-public .r51-profile-about{display:grid;gap:24px;margin:36px 0;max-width:960px}
@media(max-width:760px){.forest-public .forest-course-teachers{grid-template-columns:1fr}.forest-public .k36-filter-direction{width:100%}.forest-public .k36-filter-direction .filter-chips{display:flex;gap:8px;flex-wrap:wrap}.forest-public .k36-control{flex:1}.forest-public .r25-filter-submit{width:100%}.forest-public .k36-group-heading{flex-wrap:wrap}.forest-public .group-seats{width:100%}.forest-public .r55-teacher-card{min-width:0}.forest-public .r27-demo-dialog{padding:22px}}

.forest-public .breadcrumbs{color:#607367!important}
.forest-public .breadcrumbs a{color:#315d4a!important}
.forest-public #home-courses .section-heading,.forest-public #home-reviews .section-heading{justify-content:center;text-align:center}
.forest-public .home-review-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}
.forest-public .k36-filter-row{margin-top:0}
.forest-public .forest-course-teachers .r55-teacher-card{display:grid;grid-template-columns:45% minmax(0,1fr);overflow:hidden;border:1px solid #dce4dc;border-radius:20px;background:white;min-height:300px}
.forest-public .forest-course-teachers .r55-teacher-media{min-height:300px;background:#d8ded9}
.forest-public .forest-course-teachers .r55-teacher-body{padding:24px;display:flex;flex-direction:column;gap:16px}
.forest-public .forest-course-teachers .r55-teacher-body p{font-size:15px;color:#607367}
.forest-public .forest-course-teachers .r55-teacher-cta{margin-top:auto;background:#1d4b3a;color:white;border-radius:9px;text-align:center;font-size:14px;padding:12px}
.forest-public .r34-contacts-grid>.r34-panel{margin-top:0}
@media(max-width:760px){.forest-public .home-review-grid{grid-template-columns:1fr}.forest-public .forest-course-teachers .r55-teacher-card{grid-template-columns:1fr}.forest-public .forest-course-teachers .r55-teacher-media{height:280px}.forest-public .forest-course-teachers .r55-teacher-photo{object-fit:contain}.forest-public .forest-course-teachers .r55-teacher-body{min-height:200px}}

.forest-public .k36-filter-button[aria-current=true]{background:#185345;color:white;border-color:#185345}

/* Live registration details have no equivalent standalone mock screen. */
.forest-public .r51-trial-detail{max-width:820px;border:1px solid #dce4df;border-radius:24px;padding:clamp(20px,5vw,40px);background:#fff;overflow-wrap:anywhere}
.forest-public .r51-trial-detail h1{font-size:clamp(1.8rem,4vw,3rem);line-height:1.15;margin:16px 0 24px}
.forest-public .r51-trial-detail p{margin:0 0 18px}
.forest-public .r51-trial-actions{display:flex;flex-wrap:wrap;gap:12px}
.forest-public .r51-trial-detail .btn{max-width:100%;white-space:normal;text-align:center}
.forest-public .r51-booking-notice{border-radius:16px;padding:20px;background:#edf4ef;margin:24px 0}

/* Live links use aria-current; the reference mock used aria-pressed buttons. */
.forest-public #catalog-courses .k36-filter-button[aria-current="true"],
.forest-public #catalog-courses .k36-filter-button[aria-current="true"]:is(:hover,:focus,:active){background:#185345;border-color:#185345;color:#fff}
.forest-public #catalog-courses .k36-filter-button:focus-visible{outline:3px solid #91b9aa;outline-offset:3px}
.forest-public .k36-group-choice input{width:18px;height:18px;accent-color:#185345;flex-shrink:0}
.forest-public .k36-group:focus-within{outline:3px solid #91b9aa;outline-offset:3px}
.forest-public .k36-group .teacher-dot{border-radius:50%;object-fit:cover;object-position:top;flex-shrink:0}
.forest-public .k36-group .group-seats:not(.visually-hidden){display:block;margin-top:12px}
.forest-public .r36-course-detail .k36-group-details,.forest-public .r36-course-detail .k36-group-teacher{font-size:14px!important}
.forest-public .r36-course-detail .k36-group-period{font-size:14px!important;line-height:1.5}
.forest-public .k36-purchase .quantity-label{display:block;margin-bottom:12px}
.forest-public .k36-purchase .quantity-control{display:grid;grid-template-columns:44px minmax(0,1fr) 44px;width:100%;height:46px;margin:0}
.forest-public .k36-purchase .quantity-control input{width:100%;height:44px}
.forest-public .k36-purchase .quantity-control button{width:44px;min-width:44px;height:44px;padding:0}
.forest-public .k36-purchase-schedule{font-size:14px;line-height:1.5;margin:8px 0 24px}
@media(max-width:560px){.forest-public .k36-group-heading{flex-wrap:nowrap}.forest-public .k36-group-choice{min-width:0}.forest-public .k36-group-bottom{gap:12px}.forest-public .k36-group-teacher{justify-content:flex-start}}

.forest-public .forest-teacher-course-list{display:grid;grid-template-columns:minmax(0,1fr);gap:24px;margin-top:28px}
