.workshop-catalog{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,300px),1fr));gap:20px;margin-top:24px}.workshop-card{border:1px solid var(--line,#56616a);border-radius:16px;padding:22px;background:var(--surface,#1d2228);margin-bottom:16px}.workshop-card h3,.workshop-card h4{margin-top:0}.workshop-card button{margin:6px 8px 0 0}.workshop-teacher{font-weight:650;color:var(--accent,#ff8b40)}.workshop-actions{display:flex;flex-wrap:wrap;gap:10px;align-items:end;margin:16px 0}.workshop-actions label{min-width:120px;flex:1}.workshop-form{display:grid;gap:18px;max-width:820px}.workshop-form label,.workshop-dialog label,.workshop-message-form label{display:grid;gap:8px;margin:14px 0;font-size:1rem}.workshop-form textarea,.workshop-dialog textarea,.workshop-message-form textarea{min-height:120px;width:100%;resize:vertical;font:inherit}.workshop-form input[type=checkbox],.workshop-dialog input[type=checkbox]{width:24px;height:24px;min-height:24px}.workshop-dialog{width:min(700px,calc(100vw - 32px))}.workshop-dialog button{margin:6px}.workshop-prose{white-space:pre-wrap}.workshop-error{color:#ff9b9b;border-inline-start:3px solid #d54444;padding:12px;font-size:1rem}.workshop-messages{max-height:52vh;overflow:auto;border:1px solid var(--line,#555);border-radius:12px;padding:16px;margin:20px 0}.workshop-messages article{padding:12px 0;border-bottom:1px solid var(--line,#555)}.workshop-messages small{display:block;font-size:.9rem;opacity:.8;margin:4px 0}.workshop-messages p{white-space:pre-wrap;margin:8px 0}.workshop-message-form{max-width:850px}.workshop-classroom{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(300px,1fr);gap:18px;align-items:start}.workshop-board-area{min-width:0}.workshop-board-area svg{width:100%;height:auto;touch-action:manipulation;user-select:none}.workshop-jitsi{height:65vh;min-height:350px;max-height:760px;border-radius:12px;overflow:hidden;background:#111}.workshop-record-status{font-weight:600;color:#ff9e5c;min-height:30px;font-size:1rem}.workshop-recording-notice{padding:14px 18px;border:1px solid #b17b39;border-radius:10px;font-size:1rem}.workshop-replay{width:100%;max-height:75vh;background:#111;border-radius:12px}.workshop-abstract{width:100%;max-width:1000px;height:auto;margin:22px 0;border-radius:14px}body[data-studio-module=workshops] main{max-width:1600px}.workshop-actions a{display:inline-flex;min-height:44px;padding:10px 16px;align-items:center;border:1px solid var(--line,#666);border-radius:9px;text-decoration:none;color:inherit}
@media(max-width:1000px){.workshop-classroom{grid-template-columns:1fr}.workshop-jitsi{height:45vh;min-height:280px}.workshop-board-area{order:2}.workshop-video-area{order:1}}@media(prefers-color-scheme:light){html[data-theme=light] .workshop-error{color:#9c2630}}html[data-theme=light] .workshop-card{background:#fff;color:#183e34}html[data-theme=light] .workshop-record-status{color:#9a4415}
.workshop-translation{border:1px solid var(--line,#5c6571);border-radius:12px;padding:16px;margin-top:18px}.workshop-translation h3{margin-top:0}.workshop-translation .workshop-actions{align-items:center}.workshop-translation label{display:grid;gap:8px;font-size:1rem;flex-basis:100%}.workshop-translation input[type=checkbox]{width:24px;height:24px;min-height:24px}.workshop-live-captions{max-height:300px;overflow:auto;overscroll-behavior:contain;font-size:1rem}.workshop-live-captions article{border-top:1px solid var(--line,#555);padding:12px 0}.workshop-live-captions p{margin:6px 0;white-space:pre-wrap}.workshop-live-captions strong{color:var(--accent,#ff8b40)}
.workshop-teacher-avatar{display:grid;place-items:center;width:64px;height:64px;border-radius:50%;background:#213f32;color:#ffb164;font-size:1.3rem;font-weight:750;margin-bottom:18px}.workshop-card .hint{margin:12px 0}
.workshop-person-photo{display:block;width:100%;height:220px;object-fit:cover;object-position:center 30%;border-radius:12px;background:#243c32;margin-bottom:16px}.workshop-profile-photo{display:block;width:160px;height:160px;border-radius:16px;object-fit:cover;margin-bottom:16px}.workshop-photo-missing{font-size:1rem;color:inherit;object-fit:contain}.workshop-conversation{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(280px,1fr);gap:24px}.workshop-chat-panel,.workshop-agenda-panel{min-width:0}.workshop-chat-panel .workshop-messages{min-height:200px;max-height:46vh;margin-top:12px}.workshop-chat-panel .workshop-message-form textarea{min-height:90px}.workshop-messages .workshop-message-own{background:#597b611c;padding:12px;border-radius:10px}.workshop-time-offer,.workshop-session-card{padding:18px;border:1px solid var(--line,#59606a);border-radius:12px;margin:12px 0}.workshop-time-offer h4,.workshop-session-card h4{margin-top:0}.workshop-time-offer button,.workshop-session-card button{display:block;width:100%;margin-top:12px}.workshop-terms{margin:24px 0;padding-top:16px;border-top:1px solid var(--line,#59606a)}.workshop-terms summary{cursor:pointer;font-size:1rem;font-weight:650}.workshop-terms button{margin-top:12px}@media(max-width:850px){.workshop-conversation{grid-template-columns:1fr}.workshop-agenda-panel{order:0}.workshop-chat-panel{order:1}.workshop-person-photo{height:200px}}
.workshop-teachers-list{grid-template-columns:1fr}.workshop-teacher-card{display:grid;grid-template-columns:160px minmax(0,1fr);gap:24px;align-items:start}.workshop-teacher-card .workshop-person-photo{width:100%;height:auto;aspect-ratio:1/1;object-fit:cover;margin:0}.workshop-teacher-content{min-width:0}.workshop-teacher-content h3{margin:0 0 12px;font-size:1.4rem;overflow-wrap:anywhere}.workshop-teacher-content p{margin:0 0 18px;overflow-wrap:anywhere}.workshop-teacher-content button{margin:0;min-height:44px;max-width:100%;min-width:0;white-space:normal}@media(max-width:540px){.workshop-teacher-card{grid-template-columns:96px minmax(0,1fr);gap:16px;padding:16px}.workshop-teacher-content h3{font-size:1.2rem}}

/* The classroom occupies the viewport, independently of the catalogue shell. */
body.workshop-class-open{overflow:hidden}
.workshop-class-root{position:fixed!important;inset:0;z-index:10000;box-sizing:border-box;width:100vw;height:100dvh;max-width:none!important;margin:0!important;padding:12px 18px;background:var(--surface,#171a20);color:var(--text,#f0f2f4);display:flex;flex-direction:column;overflow:hidden}
.workshop-class-root>.section-head{flex:none;margin:0 0 6px;display:flex;align-items:center;justify-content:space-between;gap:16px}
.workshop-class-root>.section-head h2{margin:0;font-size:1.25rem}
.workshop-class-root>.workshop-recording-notice{flex:none;font-size:.875rem;margin:0 0 10px;padding:6px 10px}
.workshop-class-root .workshop-classroom{flex:1;min-height:0;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:18px;align-items:stretch}
.workshop-class-root .workshop-board-area,.workshop-class-root .workshop-video-area{min-width:0;min-height:0;overflow:auto;overscroll-behavior:contain}
.workshop-class-root .workshop-board-area{order:0}
.workshop-class-root .workshop-video-area{order:0;display:flex;flex-direction:column}
.workshop-board-stage{position:relative;width:100%;aspect-ratio:1190/630}
.workshop-board-stage>svg{display:block;width:100%;height:100%}
.workshop-board-stage>.workshop-ink{position:absolute;inset:0;pointer-events:none;overflow:hidden}
.workshop-board-stage>.workshop-ink.is-writing{pointer-events:auto;touch-action:none;cursor:crosshair}
.workshop-class-root .workshop-jitsi{height:52dvh;min-height:240px;max-height:none;flex:none}
.workshop-class-root .workshop-actions{margin:10px 0;gap:8px}
.workshop-class-root .workshop-actions label{margin:0;min-width:90px}
.workshop-class-root .workshop-actions button{min-height:44px}
.workshop-class-root .workshop-translation{margin:0 0 12px}
.workshop-class-root .workshop-record-status{margin:6px 0;min-height:0}
.workshop-ink-tools{padding:10px;border:1px solid var(--line,#555);border-radius:10px}
@media(max-width:700px){.workshop-class-root{padding:8px}.workshop-class-root .workshop-classroom{grid-template-columns:1fr;overflow:auto;display:block}.workshop-class-root .workshop-board-area,.workshop-class-root .workshop-video-area{overflow:visible}.workshop-class-root .workshop-jitsi{height:45dvh}.workshop-class-root>.workshop-recording-notice{font-size:.875rem}.workshop-class-root .workshop-video-area{margin-top:16px}}
