@font-face{font-family:"Montserrat";src:url("fonts/Montserrat.ttf") format("truetype");font-weight:700;font-style:normal;font-display:swap}
*{box-sizing:border-box}body{margin:0;background:#fafafa;color:#191919;font:16px/1.45 Inter,Arial,sans-serif}main{width:min(100%,1030px);margin:auto;padding:12px clamp(14px,4vw,40px) 100px}header{display:flex;align-items:center;gap:20px;margin-bottom:22px}button,input,a{font:inherit}button{color:inherit;background:none;border:0;cursor:pointer}#brand{font-size:clamp(43px,7vw,68px);font-weight:900;letter-spacing:-.09em;line-height:1;padding:0}.search{display:flex;align-items:center;gap:10px;border:1px solid #bbb;border-radius:28px;background:white;padding:8px 16px;font-size:23px}.search input{min-width:0;width:100%;border:0;background:none;font-size:16px}.rail{display:flex;gap:7px;overflow:auto;margin-top:16px}.rail button,nav button{flex:none;padding:8px 14px;border-radius:22px;background:#eee;font-size:14px;font-weight:600}.rail button[aria-pressed=true],nav button[aria-pressed=true]{background:#191919;color:white}h1{font-size:21px;letter-spacing:-.04em;margin:26px 0 12px}#cards{display:grid;gap:10px}.card{display:flex;gap:13px;align-items:center;background:white;border:1px solid #dadada;border-radius:15px;padding:9px;min-width:0}.art{width:clamp(78px,22vw,110px);height:105px;border-radius:9px;object-fit:cover;filter:none;background:#eee}.info{flex:1;min-width:0}.meta,small{font-size:12px;color:#545454}.open{display:block;font-size:17px;font-weight:700;text-align:left;line-height:1.2;padding:5px 0;letter-spacing:-.025em}.bookmark{font-size:23px;align-self:flex-start}.link{display:inline-block;background:#181818;color:white;text-decoration:none;padding:10px 15px;border-radius:22px}nav{position:fixed;bottom:14px;left:50%;transform:translateX(-50%);display:flex;gap:5px;background:white;border:1px solid #ccc;padding:5px;border-radius:35px;box-shadow:0 4px 14px #0001}dialog{max-width:min(460px,92vw);border:1px solid #bbb;padding:24px;border-radius:20px}dialog::backdrop{background:#0007}#close{float:right;font-size:25px}dialog img{width:100%;max-height:230px;object-fit:contain;filter:none}
@font-face{font-family:DM Sans;src:url('/cpd/dm-sans.woff2')}body,button,input{font-family:DM Sans,Arial,sans-serif}.when{display:flex;align-items:center;gap:8px;margin-top:13px}.when .rail{margin-top:0}.rail{scrollbar-width:thin}.rail button,:is(#free,#category-one){white-space:nowrap}:is(#free,#category-one){border:1px solid #888;border-radius:22px;padding:7px 14px;font-weight:700}:is(#free,#category-one)[aria-pressed=true]{background:#191919;color:white}#heading{position:absolute;clip-path:inset(50%)}#cards{margin-top:23px}.art{align-self:stretch;height:auto;min-height:109px;max-height:150px}.top,.actions{display:flex;align-items:center}.top{gap:5px;flex-wrap:wrap}.actions{margin-left:auto}.actions>*{display:grid;place-items:center;padding:0;width:28px;height:36px;color:inherit}.actions svg{width:18px;height:18px}.bookmark[aria-pressed=true] svg{fill:currentColor}.price{background:#e7e7e7;padding:2px 7px;border-radius:12px;font-size:12px;font-weight:750}.top small{font-weight:750}.open{font-size:16px}.meta{margin-top:3px}dialog::backdrop{backdrop-filter:blur(3px)}

/* App shell */
:root{color-scheme:light;--paper:#fcfcfb;--surface:#fff;--edge:#e4e4e2;--soft:#efefed;--fg:#171716;--muted:#696967}body{background:var(--paper);color:var(--fg)}
main{padding-bottom:calc(20px + env(safe-area-inset-bottom));max-width:960px}
header{display:grid;grid-template-columns:44px 1fr 44px;align-items:center;margin:0 0 12px}
#brand{justify-self:center;font-family:"Montserrat",sans-serif;font-size:24px;letter-spacing:normal;font-weight:700;color:#000}
#brand .brand-country{color:#707070;border-inline-start:1px solid #ccc;margin-inline-start:12px;padding-inline-start:12px}
.round{width:44px;height:44px;border:1px solid var(--edge);border-radius:50%;background:var(--surface);display:grid;place-items:center;font-size:19px}
.round svg,.search svg,nav svg{width:19px;height:19px}
#heading{position:static;clip-path:none;font-size:22px;font-weight:600;margin:25px 2px 12px}
#cards{margin-top:0;gap:9px}.card{border-radius:21px;background:var(--surface);border-color:var(--edge);padding:2px 12px 12px;gap:13px}.art{width:clamp(66px,17vw,90px);height:90px;min-height:0;align-self:center;border-radius:13px}.open{font-weight:600}.top small,.meta,small{color:var(--muted)}.price{background:var(--soft);color:var(--fg)}
.when{margin:0}.when .rail{scrollbar-width:none}.when button,:is(#free,#category-one),nav button{border:0;background:transparent;color:var(--muted);font-weight:550}.when button[aria-pressed=true],:is(#free,#category-one)[aria-pressed=true],nav button[aria-pressed=true]{background:var(--soft);color:var(--fg)}:is(#free,#category-one){border:1px solid var(--edge)}
main .search{margin-bottom:6px;width:100%;padding:10px 16px;border:1px solid var(--edge);background:var(--surface);box-shadow:0 4px 22px #0000000a}.search span{display:flex}.search input{text-align:center;padding-right:22px}.search:focus-within{outline:2px solid var(--muted)}nav{position:static;transform:none;justify-content:center;gap:16px;margin:4px auto 0;background:transparent;border:0;box-shadow:none}nav button{display:flex;align-items:center;gap:8px}

html[data-theme="dark"]{--paper:#151515;--surface:#202020;--edge:#383838;--soft:#343434;--fg:#fafafa;--muted:#bbb}

.card .open{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;line-clamp:2;overflow:hidden;padding:0;margin:5px 0;overflow-wrap:anywhere}

.list-header{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:6px;margin:8px 0 10px}.list-header #heading,.list-header nav{margin:0}.list-header nav{gap:2px}.list-header nav button{padding:8px;gap:4px}
#brand{grid-column:2}#find{grid-column:3}.setting-row{width:100%;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 14px;min-height:44px;border:1px solid var(--edge);background:var(--surface);color:var(--fg);border-radius:13px;text-align:left;font:inherit}.setting-row span,.setting-row select{color:var(--muted)}.setting-row svg{width:18px;height:18px}#filters{width:min(370px,92vw)}#filters .setting-row{margin-bottom:8px}#filters select{font:inherit;background:var(--surface);border:0;max-width:65%}:is(#free,#category-one){appearance:none;width:40px;height:24px;min-width:40px;padding:2px;background:var(--soft);border:1px solid var(--muted);border-radius:20px;cursor:pointer}:is(#free,#category-one)::before{display:block;content:'';border-radius:100%;width:18px;height:18px;background:var(--muted)}:is(#free,#category-one):checked{background:var(--fg)}:is(#free,#category-one):checked::before{transform:translateX(16px);background:var(--paper)}#find.active-filter{background:var(--fg);color:var(--paper)}#body dl{display:grid;grid-template-columns:auto 1fr;gap:10px}#body dd{text-align:right;margin:0}#body dt{color:var(--muted)}#body .art{width:100%;height:auto;max-height:200px;object-fit:contain}#body .link,#filters .link{display:block;width:100%;margin-top:16px;text-align:center}#course-title{padding-right:22px}
#active-filters:not(:empty){display:flex;gap:6px;margin-top:8px}#active-filters button{background:var(--soft);border-radius:20px;padding:6px 12px}.actions>*{width:44px;height:44px}.actions{flex-shrink:0}#cards>.link{justify-self:start}

html[data-theme="dark"] {color-scheme:dark}
dialog {background:var(--surface);color:var(--fg);border-color:var(--edge)}
.search input {color:var(--fg)}
.search input:focus {outline:none;box-shadow:none}
.link {background:var(--fg);color:var(--surface)}

html {background:var(--paper)}
body {min-height:100dvh}
.art {background:var(--soft)}
.search input::placeholder {color:var(--muted);opacity:1}
:focus-visible {outline:2px solid var(--fg);outline-offset:2px}
#appearance {width:min(360px,calc(100% - 32px));padding:20px;border-radius:24px}
.profile-head,.theme-row {display:flex;align-items:center;justify-content:space-between}
.profile-head h2 {margin:0;font-size:21px}
.profile-head .round {color:var(--muted);background:var(--soft);border:0}
.theme-row {position:relative;margin-top:16px;border-top:1px solid var(--edge);padding:18px 2px 2px;cursor:pointer}
.theme-row input {position:absolute;right:0;width:48px;height:32px;opacity:0}
.track {display:flex;align-items:center;width:46px;height:28px;padding:3px;background:var(--soft);border:1px solid var(--muted);border-radius:20px}
.track::after {content:'';width:20px;height:20px;background:var(--muted);border-radius:50%}
.theme-row input:checked + .track {background:var(--fg)}
.theme-row input:checked + .track::after {transform:translateX(18px);background:var(--paper)}
.theme-row input:focus-visible + .track {outline:2px solid var(--fg);outline-offset:3px}

html, body, dialog {
  overflow-x: clip;
  overscroll-behavior-x: none;
  touch-action: pan-y;
}

.course-layout {display:grid;gap:20px;align-items:start;grid-template-columns:minmax(0,1fr)}
#promotions {display:none}
.card.promoted-card {background:color-mix(in srgb,var(--surface) 40%,var(--soft))}
.promotion-label {color:var(--fg);font-weight:550}
@media(min-width:760px){
 main {width:min(100%,1200px);max-width:1200px}
 .course-layout:has(#promotions:not([hidden])) {grid-template-columns:minmax(0,2fr) minmax(0,1fr)}
 #promotions:not([hidden]) {display:block;position:sticky;top:16px}
 #placements {display:grid;gap:12px}
 .placement {display:flex;flex-direction:column;align-items:stretch;gap:8px;text-align:left;width:100%;padding:12px;border:1px solid var(--edge);border-radius:20px;background:var(--surface)}
 .placement-media {position:relative;width:100%;aspect-ratio:2/1;max-height:180px;overflow:hidden;border-radius:13px}
 .placement-media .art {position:absolute;inset:0;display:block;width:100%;height:100%;min-height:0;max-height:none;object-fit:cover}
}
.course-artwork {padding:0;display:grid;flex:none;border-radius:13px;transform:scale(1.14)}

#menu {
  width:fit-content;
  max-width:100%;
  margin-inline:auto;
  min-height:44px;
  padding:6px 14px;
  gap:8px;
  border:0;
  background:transparent;
  font-size:14px;
  color:var(--muted);
}
#menu #current-prof {color:var(--fg);font-weight:600}
#menu:hover, #menu:focus-visible {background:var(--soft)}

#menu[hidden] {display:none}
#profile-profession {max-width:65%;font:inherit;color:var(--fg);background:var(--paper)}




#profile-profession {min-height:44px;padding:4px 8px;border-radius:8px;background:var(--soft)}

#menu {display:block;font-family:inherit;font-size:16px}
#profile-profession {border:0;background:transparent;font-size:16px}

.detail-actions {display:flex;flex-wrap:wrap;gap:8px}
#body .detail-actions .link {flex:1 1 auto;width:auto}
#body .calendar {background:var(--soft);color:var(--fg)}
#theme-choice,#date-range input {font:inherit;color:var(--fg);background:var(--surface);border:0}

#find {grid-column:1}
#brand {grid-column:2}
#profile {grid-column:3}
#appearance, #organizer {max-height:calc(100dvh - 32px);overflow:auto}
#appearance:focus, #organizer:focus, #organizer-title:focus {outline:none}
:is(#appearance,#organizer) :is(button,a,select,input,textarea,summary):focus-visible {
  outline:2px solid var(--muted);outline-offset:2px;border-radius:10px
}
:is(#appearance,#organizer) .round:focus-visible {border-radius:50%}
#filters .profile-head {margin-bottom:12px}
#filters .profile-head .round:focus-visible {outline-color:var(--muted)}
#organizer {width:min(460px,calc(100% - 32px));padding:20px;border-radius:24px}
#organizer .profile-head {gap:12px}
#organizer-content {margin-top:16px}
.profile-section {border-top:1px solid var(--edge);margin-top:16px;padding-top:12px}
.profile-section h3 {margin:0 0 4px;font-size:14px;color:var(--muted)}
.profile-section > :is(button,a) {
  display:flex;align-items:center;gap:10px;
  width:100%;min-height:44px;padding:8px;border-radius:10px;
  text-align:left;text-decoration:none;color:var(--fg)
}
.profile-section > :is(button,a):hover {background:var(--soft)}
.profile-section svg {width:20px;height:20px;flex:none}
.profile-section a span {margin-inline-start:auto}
.profile-section a span,.event-editor label span {font-size:14px;color:var(--muted)}
.event-editor {display:grid;gap:12px}
.event-editor label {display:grid;gap:4px}
.event-editor :is(input,textarea) {
  min-width:0;width:100%;border:1px solid var(--edge);border-radius:10px;
  padding:9px 10px;background:var(--paper);color:var(--fg);font:inherit
}
.event-editor textarea {resize:vertical}
.organizer-events {list-style:none;margin:0;padding:0}
.organizer-events li {display:flex;flex-wrap:wrap;align-items:center;gap:8px;padding:8px 0;border-top:1px solid var(--edge)}
.organizer-events strong {flex:1 0 100%;overflow-wrap:anywhere}
.organizer-events button {min-height:44px;background:var(--soft);border-radius:10px;padding:6px 12px}
#organizer-content details {padding:12px 0;border-top:1px solid var(--edge)}
#organizer-content summary {cursor:pointer;font-weight:600}
