@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Bricolage+Grotesque:wght@500;600;700;800&display=swap');
:root {
  color-scheme: light;
  --paper:#f7f7f2; --card:#fff; --ink:#252b25; --muted:#626b61;
  --line:#e4e8e0; --green:#1c3d2e; --green-deep:#173528; --lime:#dbf49d;
  --side:#eef1e8; --radius:18px;
  font-family:'DM Sans',system-ui,sans-serif; color:var(--ink); background:var(--paper);
}
*,*::before,*::after{box-sizing:border-box}
body{margin:0;min-width:280px;line-height:1.45}
.sample-notice{display:flex;justify-content:space-between;align-items:center;gap:15px;padding:16px 20px;margin-bottom:20px;border-radius:12px;background:#ede7f5;border:1px solid #d9cce9;font-size:.85rem}.sample-notice p{color:var(--muted);margin-top:5px;font-size:.75rem}.sidebar a.nav{text-decoration:none}
@media(max-width:600px){.sample-notice{align-items:flex-start;flex-direction:column}}
.entry-page{min-height:100dvh;max-width:1000px;display:grid;align-content:center;gap:24px;padding:32px 20px}
.entry-page>.brand{justify-self:center;text-decoration:none;margin:0}
.entry-card{max-width:580px;justify-self:center;display:grid;justify-items:start;gap:22px;padding:clamp(24px,5vw,48px)}
.entry-card h1{font-size:clamp(2rem,5vw,3rem)}
.entry-card>p{color:var(--muted)}
a.primary,a.quiet{text-decoration:none}
.account-email{max-width:170px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:.75rem}
.workspace-rooms{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,260px),1fr));gap:20px}
.workspace-room{display:grid;justify-items:start;gap:16px;padding:24px}
.workspace-room p{color:var(--muted)}
.audio-warning{margin:12px 0;padding:16px;border:1px solid #e4d2a6;border-radius:12px;background:#fff9eb;color:#604a24}
.review-card .audio-warning{margin:4px 0 12px}
.audio-warning>p,.audio-recovery p{font-size:.8rem;margin-top:8px}
.audio-recovery{margin:14px 0;padding-top:12px;border-top:1px solid #e4d2a6}
.audio-warning .rubric-tools{flex-wrap:wrap}
.quality-checks{list-style:none;padding:0;margin:16px 0 0;display:grid;gap:12px;font-size:.8rem}
.quality-checks p{color:var(--muted);margin-top:4px}
.content-depth{padding:0 20px 20px;margin:20px 0}.content-depth .panel-heading{padding-inline:0}
.transcript-panel{margin-bottom:20px}.transcript-lines{list-style:none;padding:0 20px 20px;margin:0;display:grid;gap:16px}
.transcript-lines li{display:grid;grid-template-columns:auto minmax(0,1fr);gap:14px;align-items:start}.transcript-lines p{white-space:pre-wrap;overflow-wrap:anywhere;font-size:.9rem}
.delivery-check{margin:20px 0}.delivery-note{padding:0 20px 16px}.delivery-person{padding:20px;border-top:1px solid var(--line);display:grid;gap:10px;font-size:.85rem}.delivery-person h4{margin:8px 0 0}
@media(max-width:700px){.account-email{display:none}.top-actions{flex-wrap:wrap;justify-content:flex-end}}
button,input,textarea{font:inherit}
button{cursor:pointer}
button:disabled{cursor:default;opacity:.52}
button:focus-visible,input:focus-visible,textarea:focus-visible,summary:focus-visible,video:focus-visible{outline:3px solid #86b544;outline-offset:3px}
button:active:not(:disabled){transform:translateY(1px)}
button, label.file-button{border:0}
h1,h2,h3,p,ol{margin:0}
h1,h2,h3,.brand{font-family:'Bricolage Grotesque',system-ui,sans-serif}
h1{font-size:clamp(2rem,4vw,3.55rem);line-height:1.08;letter-spacing:-.065em;font-weight:800;overflow-wrap:anywhere}
h2{font-size:1.1rem;line-height:1.18;font-weight:800;letter-spacing:-.035em}
h3{font-size:1rem;line-height:1.35;letter-spacing:-.02em;font-weight:800;overflow-wrap:anywhere}
.shell{min-height:100dvh;display:grid;grid-template-columns:246px minmax(0,1fr)}
.sidebar{position:sticky;top:0;height:100dvh;display:flex;flex-direction:column;align-items:stretch;padding:27px 18px 19px;background:var(--side);border-right:1px solid #e1e6da;overflow:auto}
.brand{display:flex;align-items:center;gap:10px;color:#1d3c2e;background:none;text-align:left;font-size:1.48rem;letter-spacing:-.07em;font-weight:800;padding:0 7px;margin-bottom:37px;white-space:nowrap}
.logo{width:35px;height:35px;border-radius:11px;display:grid;place-items:center;color:var(--lime);background:var(--green)}
.wordmark{color:#365848}
.primary,.quiet,.icon-button,.text-button{display:inline-flex;align-items:center;justify-content:center;gap:8px;border-radius:10px;white-space:nowrap;min-height:42px;padding:0 14px;font-size:.88rem;font-weight:700}
.primary{background:var(--green);color:#fff}
.primary:hover:not(:disabled){background:#28513c}
.quiet{border:1px solid #dfe5da!important;background:#fff;color:#34483b}
.quiet:hover:not(:disabled),.icon-button:hover:not(:disabled){background:#f1f5ed}
.text-button{color:var(--green);background:transparent;text-decoration:underline}
.icon-button{min-width:38px;width:38px;min-height:38px;padding:0;background:transparent;color:#43564a}
.wide{width:100%}
.small{min-height:35px;padding:0 10px;font-size:.8rem}
.compact{min-height:38px}
.new-room{background:var(--green);justify-content:flex-start;min-height:46px;padding-inline:14px;margin-bottom:8px}
.new-room svg{color:var(--lime)}
.nav-label{margin:0 9px 8px;font-size:.64rem;font-weight:800;letter-spacing:.14em;color:#646f63}
.nav-spacer{margin-top:29px}
.nav{display:flex;align-items:center;gap:10px;min-height:42px;flex:none;min-width:0;width:100%;text-align:left;padding:0 9px;border-radius:9px;background:none;color:#435348;font-weight:650;font-size:.86rem}
.nav:hover{background:#e4eae0}
.nav.active{background:#dde9d7;color:#1c3d2e}
.nav span:nth-child(2){overflow:hidden;text-overflow:ellipsis;white-space:nowrap;min-width:0}
.nav svg{flex:none}
.nav-dot{width:7px;height:7px;background:#7fa64f;border-radius:50%;margin-left:auto;flex:none}
.current-room{background:#e3eadf}
.tiny-sheet{width:26px;height:26px;border-radius:7px;display:grid;place-items:center;background:#f8faf4;color:#638063;flex:none}
.side-bottom{margin-top:auto;padding-top:26px}
.side-bottom p{padding:10px 9px;color:#616c60;font-size:.75rem;line-height:1.55}
.top{min-height:72px;display:flex;justify-content:space-between;align-items:center;gap:8px;padding:12px clamp(20px,4.4vw,64px);border-bottom:1px solid #e7eae2;background:#fafaf6}
.breadcrumbs,.top-actions{display:flex;align-items:center;gap:9px;font-size:.88rem;color:#677266;min-width:0}
.breadcrumbs strong{font-weight:700;color:#39463b}
.menu,.scrim{display:none}
main{max-width:1400px;margin:0 auto;padding:32px clamp(20px,4.4vw,64px) 48px}
.hero{position:relative;isolation:isolate;display:grid;grid-template-columns:minmax(0,1fr) minmax(170px,226px);gap:24px;align-items:center;min-height:218px;padding:30px clamp(20px,4vw,38px);background:#1f402f;color:white;border-radius:22px;overflow:hidden}
.hero::after{content:"";position:absolute;z-index:-1;inset:0;background:repeating-radial-gradient(ellipse at 105% -34%,transparent 0 32px,#eafad619 33px 34px,transparent 35px 64px);opacity:.75;mask-image:linear-gradient(90deg,transparent 50%,#000 76%)}
.hero-label{display:inline-flex;align-items:center;gap:7px;font-size:.66rem;letter-spacing:.135em;font-weight:800;color:#cae89f;margin-bottom:12px}
.hero-copy p{color:#e0ecdc;margin-top:12px;font-size:.94rem}
.hero-progress{border:1px solid #ecf8de34;border-radius:15px;background:#f0ffe617;padding:17px;backdrop-filter:blur(3px)}
.progress-header{display:flex;align-items:center;justify-content:space-between;gap:8px;font-size:.79rem;color:#e6f3e1;white-space:nowrap}
.progress-header strong{color:white;font-size:1.3rem}
.progress-header em{font-size:.78rem;color:#c9dac7;font-weight:600;font-style:normal}
.progress-bar{height:7px;background:#e3f3e34b;border-radius:20px;margin:10px 0 12px}
.progress-bar>span{display:block;width:var(--progress);height:100%;border-radius:20px;background:var(--lime)}
.hero-meta{display:flex;align-items:center;gap:5px;color:#e4efdf;font-size:.74rem}
.content-grid{display:grid;grid-template-columns:minmax(0,1.64fr) minmax(250px,1fr);align-items:start;gap:21px;margin-top:21px}
.left-column{display:grid;gap:17px;min-width:0}
.panel{background:var(--card);border:1px solid var(--line);border-radius:var(--radius);box-shadow:0 2px 3px #43584005;min-width:0}
.panel-heading{padding:19px 19px 16px;display:flex;justify-content:space-between;align-items:center;gap:11px;min-width:0}
.panel-heading p,.player-info p{margin-top:4px;color:var(--muted);font-size:.81rem;overflow-wrap:anywhere}
.panel-icon{display:grid;place-items:center;width:37px;height:37px;background:#edf3e8;color:#3d674b;border-radius:11px;flex:none}
.panel-icon.violet{background:#f0eefb;color:#6657a3}
.count-chip{flex:none;background:#f2f4ef;color:#506451;font-size:.71rem;font-weight:700;border-radius:20px;padding:6px 9px;white-space:nowrap}
.presenters{padding:0 17px;list-style:none}
.presenter{display:flex;align-items:center;gap:9px;min-height:66px;border-top:1px solid #edf0eb;min-width:0}
.slot{color:#798478;font-size:.72rem;font-weight:700;min-width:18px}
.avatar{width:34px;height:34px;border-radius:10px;display:grid;place-items:center;font-size:.75rem;font-weight:800;flex:none;color:#416547;background:#e6f0df}
.avatar.c1{color:#69539a;background:#ece6fa}
.avatar.c2{color:#85572c;background:#f8eadc}
.avatar.c3{color:#3c6374;background:#e4f2f7}
.avatar.c4{color:#875778;background:#fae7f0}
.presenter-text{display:grid;gap:1px;min-width:0;margin-right:auto}
.presenter-text strong,.player-info strong{font-size:.89rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.presenter-text span{font-size:.74rem;color:var(--muted);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.clip-time{font-size:.75rem;color:#59665c;white-space:nowrap}
.tag{display:inline-flex;align-items:center;justify-content:center;flex:none;padding:4px 8px;border-radius:30px;font-size:.69rem;line-height:1.35;font-weight:800;white-space:nowrap}
.success{color:#27613d;background:#e7f4e7}
.warning{color:#7b4d16;background:#f9eedb}
.neutral{color:#545f55;background:#eef0ed}
.row-actions{display:flex;align-items:center;gap:2px}
.row-play{background:#f2f5f0}
.order-footer{background:#fafbf8;border-top:1px solid #edf0eb;display:flex;align-items:center;gap:8px;padding:12px 17px;color:#5d6c5d;font-size:.75rem;border-radius:0 0 var(--radius) var(--radius)}
.details-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px}
.card-title{display:flex;align-items:center;gap:10px;min-width:0}
.rubric-card,.review-card{display:flex;flex-direction:column;justify-content:space-between;padding:0 13px 13px}
.details-grid .panel-heading{padding:14px 0 11px;align-items:flex-start}
.details-grid .panel-heading h2{font-size:.98rem}
.details-grid .panel-heading p{font-size:.75rem}
.details-grid .tag{padding-inline:6px}
.playback{padding:0 15px 15px}
.playback .panel-heading{padding-inline:1px}
.video-zone{aspect-ratio:16/10;border-radius:12px;overflow:hidden;background:#192b24}
.video-zone video{display:block;width:100%;height:100%;background:#192b24;object-fit:contain}
.video-empty{height:100%;display:grid;align-content:center;justify-items:center;gap:10px;color:#c3d7c6;font-size:.85rem;background:repeating-linear-gradient(135deg,#1d3129 0 33px,#20362d 33px 34px)}
.player-info{display:flex;align-items:center;justify-content:space-between;gap:6px;padding:12px 0}
.skip-actions{display:flex;gap:3px}
.working{display:flex;align-items:center;gap:8px;padding:8px;color:#485f50;font-size:.77rem;overflow-wrap:anywhere}
.spinner{width:16px;height:16px;flex:none;border:2px solid #d3e5cb;border-top-color:#4a7452;border-radius:50%;display:inline-block;animation:spin 800ms linear infinite}
@keyframes spin{to{transform:rotate(360deg)}}
.report-title{display:flex;justify-content:space-between;align-items:end;gap:10px;margin:4px 0 23px}
.report-title h1{color:#203b2e}
.report-title .hero-label{color:#517d56}
.report-title p{margin-top:10px;color:#637064;font-size:.9rem}
.empty-report{padding:48px 20px;text-align:center;display:grid;gap:11px;justify-items:center}
.empty-report p{color:#617061;max-width:35em}
.empty-report button{margin-top:5px}
.report-summary{display:flex;flex-wrap:wrap;gap:14px;margin-bottom:18px}
.report-summary>div{min-width:122px;flex:1;display:grid;gap:6px;background:#e8f0e3;border-radius:12px;padding:12px;color:#294a35}
.report-summary span{font-size:.76rem}
.report-summary strong{font-size:1.65rem;line-height:1.12}
.report-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-items:start;gap:20px}
.report-list{padding:0 14px 14px}
.report-list .panel-heading{padding:15px 0}
.finding{border-top:1px solid var(--line);padding:12px 1px}
.finding header{display:flex;align-items:flex-start;justify-content:space-between;gap:8px}
.finding p{font-size:.85rem;color:#4f5f54;margin-top:7px;overflow-wrap:anywhere}
.finding .fix{padding:8px 9px;background:#f4f7f0;border-radius:8px}
.fix strong{color:#2e503a;margin-right:5px}
.finding-tags{display:flex;align-items:center;gap:3px}
.evidence{display:flex;align-items:flex-start;gap:6px;margin-top:8px;color:#5c6d61;font-size:.77rem}
.evidence-time{display:inline-flex;align-items:center;gap:3px;color:#22533a;background:#e5f4df;border-radius:6px;min-height:28px;white-space:nowrap;font-size:.74rem;font-weight:800}
.evidence span{padding-top:4px;overflow-wrap:anywhere}
dialog{width:min(580px,calc(100% - 26px));overflow:auto;max-height:calc(100dvh - 26px);border:1px solid #dfe7d9;border-radius:17px;padding:0;color:var(--ink);box-shadow:0 16px 70px #112c2260}
dialog::backdrop{background:#17271fb0}
.dialog-header{display:flex;align-items:start;justify-content:space-between;gap:8px;padding:16px 17px 12px;border-bottom:1px solid var(--line);color:#233e2e}
.dialog-header h2{font-size:1.3rem}
.dialog-header p{margin-top:4px;color:#617063;font-size:.87rem}
.dialog-body{display:grid;gap:11px;padding:16px 17px}
.dialog-body label:not(.drop):not(.file-button){display:grid;gap:5px;font-size:.85rem;font-weight:700;color:#34483a;min-width:0}
.dialog-body small,.help-text{color:var(--muted);font-size:.78rem;overflow-wrap:anywhere}
input:not([type=file]),textarea{width:100%;min-width:0;border-radius:9px;border:1px solid #d9e3d5;padding:9px;background:#fcfdfb;color:#243e2f;font-size:.91rem}
textarea{resize:vertical}
.dialog-actions{display:flex;justify-content:flex-end;flex-wrap:wrap;gap:7px;padding-top:3px}
.share-row{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:end;gap:8px}
.share-row strong{font-size:.87rem}
.share-row input{margin-top:3px;font-size:.74rem}
.upload-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}
.drop{position:relative;display:grid;justify-items:center;align-content:center;gap:4px;min-height:119px;border:1px dashed #bcd0b9;background:#f6faf4;border-radius:12px;color:#345344;text-align:center;overflow:hidden;cursor:pointer}
.drop>span:last-of-type{font-size:.73rem;color:#667964}
.drop:hover{background:#edf5eb}
.drop input[type=file],.file-button input[type=file]{position:absolute;inset:0;opacity:0;width:100%;cursor:pointer}
.camera-picker{display:none}
.file-button{position:relative;overflow:hidden;cursor:pointer}
.file-button:focus-within,.drop:focus-within{outline:3px solid #86b544;outline-offset:2px}
.rubric-tools{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.criteria-edit-list{display:grid;gap:9px}
.criterion-edit,.manual{display:grid;gap:6px;background:#f5f8f3;border:1px solid #e5ebe1;border-radius:10px;padding:9px;font-size:.88rem}
.criterion-name{display:grid;align-items:end;grid-template-columns:minmax(0,1fr) auto;gap:6px}
summary{cursor:pointer;font-size:.83rem;font-weight:700;color:#416450}
details textarea{margin-top:5px}
.manual form{display:grid;justify-items:start;gap:4px}
.camera-preview{width:100%;max-height:245px;background:#132c20;border-radius:11px;display:block;margin-bottom:8px}
.toasts{z-index:5;position:fixed;right:15px;bottom:max(15px,env(safe-area-inset-bottom));display:grid;gap:6px;max-width:min(500px,calc(100vw - 30px));pointer-events:none}
.toast{padding:11px 13px;border-radius:10px;background:#214a33;color:white;font-size:.87rem;box-shadow:0 5px 18px #1f392b34;overflow-wrap:anywhere}
.toast.error{background:#704123}
@media(max-width:1200px){
  .details-grid .panel-heading>.tag{display:none}
  .shell{grid-template-columns:215px minmax(0,1fr)}
  .details-grid .panel-icon{width:31px;height:31px}
}
@media(max-width:1000px){
  main{padding-inline:22px}
  .top{padding-inline:22px}
  .content-grid,.report-grid{grid-template-columns:minmax(0,1.47fr) minmax(228px,1fr);gap:13px}
  .details-grid{grid-template-columns:1fr;gap:11px}
  .details-grid .panel-heading>.tag{display:inline-flex}
  .presenters{padding-inline:10px}
  .panel-heading{padding-inline:11px}
  .presenter{gap:6px}
  .clip-time{display:none}
}
@media(max-width:760px){
  .shell{display:block}
  .sidebar{position:fixed;inset:0 auto 0 0;width:min(256px,80vw);z-index:4;transform:translateX(-100%);visibility:hidden;padding-top:max(22px,env(safe-area-inset-top))}
  .sidebar.is-open{transform:none;visibility:visible}
  .scrim{display:block;position:fixed;inset:0;z-index:3;background:#14271db0}
  .menu{display:inline-flex}
  .top{min-height:61px;padding:8px 12px 8px 6px}
  .breadcrumbs{gap:5px}
  .breadcrumbs>span,.breadcrumbs>svg{display:none}
  .top-actions{gap:3px}
  .compact{min-height:36px;padding-inline:7px;font-size:.76rem}
  main{padding:17px 13px 32px}
  .hero{min-height:auto;padding:20px;grid-template-columns:1fr;gap:16px}
  .hero::after{mask-image:linear-gradient(90deg,transparent 18%,#000 100%)}
  .hero-copy p{margin-top:7px;font-size:.86rem}
  .hero-progress{padding:8px 10px;max-width:320px}
  .progress-bar{margin:5px 0 7px}
  .content-grid,.report-grid{grid-template-columns:1fr;margin-top:13px;gap:13px}
  .left-column{gap:13px}
  .details-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
  .details-grid .panel-heading>.tag{display:none}
  .right-column{grid-row:auto}
  .clip-time{display:inline}
  .playback{padding-inline:12px}
  .report-title{margin-bottom:13px}
  .report-summary{gap:5px}
  .report-summary>div{min-width:81px;padding:8px}
}
@media(max-width:500px){
  .tag{font-size:.65rem;padding-inline:5px}
  .details-grid{grid-template-columns:1fr}
  .clip-time{display:none}
  .row-actions .icon-button{width:31px;min-width:31px;min-height:35px}
  .camera-picker{display:grid}
  .record{display:none}
}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;animation-duration:1ms!important}}

.join-room{margin-bottom:20px}
.model-note{color:var(--muted);font-size:.71rem;padding:0 1px 8px}

.review-error{padding:8px;color:#744318;background:#fcf1e5;border-radius:8px;font-size:.78rem;margin-bottom:8px;overflow-wrap:anywhere}
.teacher-card,.progress-card,.guidance{margin-bottom:14px}
.teacher-actions,.teacher-fields{display:flex;align-items:center;gap:8px}
.teacher-body{padding:0 16px 11px}
.teacher-note,.guidance p{color:#4c6252;font-size:.88rem;white-space:pre-wrap;overflow-wrap:anywhere}
.teacher-criteria{padding:0;margin:8px 0 0;list-style:none}
.teacher-criteria li{display:flex;justify-content:space-between;align-items:start;gap:8px;padding:8px 0;border-top:1px solid var(--line);font-size:.85rem;overflow-wrap:anywhere}
.teacher-criteria li p{color:var(--muted);margin-top:3px;white-space:pre-wrap}
.teacher-fields label{flex:1}
.teacher-edit select,.criterion-edit select{width:100%;font:inherit;border:1px solid #d9e3d5;border-radius:8px;padding:7px;color:#2f4937;background:#fff}
.dialog-body .check-label{display:flex!important;align-items:start;gap:6px}
.check-label input{accent-color:#2e5b40;margin-top:3px;flex:none}
.guidance{padding:12px 16px;font-size:.88rem}
.guidance p{margin-top:5px}
.table-scroll{overflow:auto;padding:0 12px 10px}
.progress-card table{width:100%;border-collapse:collapse;min-width:400px;text-align:left;font-size:.84rem}
.progress-card th,.progress-card td{padding:8px;border-bottom:1px solid var(--line);vertical-align:top}
.progress-card thead{background:#eef3eb;color:#4c6550}
.progress-card tbody tr:last-child>*{border-bottom:0}
.delta{font-size:.73rem;padding:4px 7px;border-radius:10px;background:#eef0ed;white-space:nowrap;font-weight:700}
.delta.good{background:#e5f4df;color:#235839}
.delta.attention{background:#f9eedb;color:#764c28}
@media(max-width:500px){.teacher-actions{flex-direction:column;align-items:flex-end}.progress-card table{min-width:340px;font-size:.75rem}.progress-card th,.progress-card td{padding:6px}}
.video-review-grid{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(280px,1fr);gap:20px;align-items:start}
.video-review-grid>div:first-child{position:sticky;top:18px}
.video-review-details{display:grid;gap:13px}
.video-chapters,.player-buttons,.report-actions,.roster-actions{display:flex;gap:7px;flex-wrap:wrap;align-items:center}
.video-chapters{padding:0 14px 14px}
.player-buttons{flex-wrap:nowrap}
.video-chapters .selected{background:#dcebd7;border-color:#a7c29f!important}
.video-commentary .evidence,.video-commentary .empty-video-note,.video-quality>.help-text{margin:0 14px 11px}
.video-note{border-top:1px solid var(--line);padding:10px 14px;color:#45594b;font-size:.84rem}
.video-note>div{display:flex;align-items:center;gap:8px}
.video-note .quiet{margin-left:auto}
.video-note p{margin-top:5px;white-space:pre-wrap;overflow-wrap:anywhere}
.roster-row{display:grid;gap:7px;padding:10px;border-radius:10px;background:#f2f6ef}
.roster-actions .check-label{margin-left:auto}
.dialog-body select{font:inherit;padding:8px;border:1px solid #d9e3d5;border-radius:8px;color:#2e4d3d;background:white}
.remove-recording{justify-self:start}
@media(max-width:760px){.video-review-grid{grid-template-columns:1fr;gap:12px}.video-review-grid>div:first-child{position:static}.report-actions{justify-content:flex-end}}
@media(max-width:410px){.video-review-grid .video-quality .panel-heading{flex-wrap:wrap}.report-actions .quiet{min-height:34px;padding-inline:7px}}
.auto-suggestion{margin-top:6px}
.auto-suggestion summary,.teacher-edit summary{cursor:pointer;color:#46654f;font-size:.8rem}
.teacher-edit details[open]>label{margin-top:5px}

.invite-draft{text-decoration:none}
.invite-draft:focus-visible{outline:3px solid #8fc2a2;outline-offset:2px}

.mail-state{width:100%;font-size:.76rem;color:#536553;overflow-wrap:anywhere}

.admin-email{max-width:700px}

/* Student-code entry and accessible school controls */
.entry-card .dialog-body{padding:12px 0;text-align:left;display:grid;gap:16px}.entry-card input{width:100%}.teacher-entry{margin:24px 0;text-align:left}.teacher-entry summary{cursor:pointer;font-weight:700}.teacher-entry .primary,.teacher-entry .quiet{margin:10px 8px 0 0}.form-error{color:#8b2424}.student-code{font:700 26px monospace;letter-spacing:.08em}.school-controls{display:flex;flex-wrap:wrap;gap:12px;margin-bottom:22px;padding:20px}.school-controls p{flex-basis:100%;margin:0}.caption-note{padding:0 24px}.admin-email + .admin-email{margin-top:24px}.check-label{display:flex;gap:10px;align-items:start}button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible,summary:focus-visible{outline:3px solid #74509a;outline-offset:3px}.app-skip{position:fixed;top:-100px;left:15px;z-index:9999;background:#fff;padding:15px;color:#193f31}.app-skip:focus{top:10px}.player-buttons{flex-wrap:wrap}body{scroll-behavior:auto}@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation-duration:.01ms!important;transition-duration:.01ms!important;scroll-behavior:auto!important}}

/* Shared deck and synchronized presentation */
.deck-card{margin:20px 0;padding-bottom:20px}.deck-card-actions{display:flex;gap:12px;padding:0 24px;flex-wrap:wrap}.deck-card>.help-text{padding:0 24px;margin:16px 0 0}.deck-viewer{overflow:hidden}.deck-stage{background:#183d30;padding:18px}.deck-stage img,.deck-import-stage img{width:100%;max-height:70vh;object-fit:contain;display:block}.deck-navigation{display:flex;justify-content:space-between;align-items:center;gap:14px;padding:18px 22px;flex-wrap:wrap}.deck-navigation p{margin:0}.deck-text{padding:8px 26px 26px}.slide-extracted{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.65}.deck-import-stage{margin-top:20px;background:#eef1e7;border-radius:14px;overflow:hidden}.deck-import-stage img{max-height:380px}.recording-range{display:flex;gap:15px;flex-wrap:wrap;padding:14px 0}.recording-range p{flex-basis:100%;margin:0}.recording-range label{flex:1;min-width:120px}.recording-range input{width:100%}#capture-preview{position:relative}#record-slide-canvas{display:block;width:100%;background:#183d30;border-radius:12px}.camera-inset{width:110px!important;max-height:80px;position:absolute;right:8px;top:8px;border:2px solid white;border-radius:8px}.playback-slides{margin:16px 16px 0;padding:12px;background:#f0f3ea;border-radius:12px}.playback-slides img{display:block;width:100%;max-height:300px;object-fit:contain}.playback-slides p{font-weight:650;margin:10px 0 4px}.playback-slides small{font-size:12px;line-height:1.5;color:#536452}.slide-report{padding:26px;margin:22px 0}.slide-finding{padding:24px 0;border-top:1px solid #e1e6dc}.slide-finding header{display:flex;justify-content:space-between;align-items:start;gap:15px;flex-wrap:wrap}.slide-finding header h3{margin:0}.slide-finding details{margin:14px 0}.slide-finding li{margin:10px 0}.slide-finding summary{cursor:pointer;font-weight:650}@media(max-width:700px){.deck-stage{padding:8px}.deck-navigation{padding:14px;gap:10px}.deck-text,.slide-report{padding:18px}.deck-navigation .quiet{padding:9px 12px}.recording-range{gap:12px}.camera-inset{width:80px!important;max-height:60px}}

#capture-preview .camera-inset{width:1px!important;height:1px;opacity:0;pointer-events:none}


/* Recording gets the window, with controls outside the slide and camera preview. */
dialog.recording-dialog{width:calc(100vw - 24px);max-width:none;height:calc(100dvh - 24px);max-height:none;margin:auto;overflow:hidden;border-radius:16px}
dialog.recording-dialog[open]{display:flex;flex-direction:column}
.recording-dialog .dialog-header{flex:none;align-items:center;padding:12px 20px}
.recording-dialog .dialog-header p{margin:2px 0 0}
.recording-dialog>.dialog-body{flex:1;min-height:0;display:flex;flex-direction:column;padding:0;gap:0;overflow:hidden}
.recording-dialog>.dialog-body>:not(#capture-preview){display:none!important}
.recording-dialog #capture-preview{display:flex;flex:1;min-height:0;flex-direction:column;overflow:hidden}
.capture-stage{flex:1;min-height:0;min-width:0;display:grid;grid-template-columns:minmax(0,1fr) minmax(220px,24%);gap:16px;padding:20px;background:#102b22;overflow:hidden}
.capture-slide{min-height:0;min-width:0;display:flex;justify-content:center;align-items:center;overflow:hidden;background:#18392e;border-radius:10px}
.capture-slide img{display:block;width:100%;height:100%;object-fit:contain;min-height:0}
.capture-camera{align-self:start;position:relative;min-width:0;max-height:100%;overflow:hidden;border-radius:10px;background:#18392e}
#capture-preview .capture-camera .camera-preview{width:100%;max-height:none;aspect-ratio:4/3;object-fit:contain;display:block;margin:0;border-radius:0}
.capture-camera>span{display:block;padding:9px 12px;font-size:.875rem;color:#fff}
.capture-stage.camera-only{grid-template-columns:1fr}
.camera-only .capture-camera{height:100%;width:100%;align-self:stretch}
#capture-preview .camera-only .camera-preview{height:100%;aspect-ratio:auto}
.camera-only .capture-camera>span{position:absolute;left:12px;bottom:12px;border-radius:6px;background:#102b22d9}
.recording-dialog #record-slide-canvas{position:absolute;width:1px;height:1px;opacity:0;pointer-events:none}
.capture-controls{flex:none;padding:12px 20px;background:#fff;border-top:1px solid var(--line);display:grid;gap:10px}
.capture-navigation{display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:14px;align-items:center}
#record-slide-label{white-space:nowrap;text-overflow:ellipsis;overflow:hidden;text-align:center;font-size:1rem}
.capture-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.capture-state{font-size:.95rem;color:var(--muted);margin-right:auto}
.capture-state.is-recording{font-weight:700;color:#9a2828}
.capture-state.is-recording::before{content:'';display:inline-block;width:9px;height:9px;margin-right:8px;border-radius:50%;background:currentColor}
.capture-controls .help-text{margin:0;font-size:.875rem;line-height:1.4}
.capture-controls button{min-height:44px;font-size:.95rem}
@media(max-width:700px){
 dialog.recording-dialog{width:100vw;height:100dvh;max-height:100dvh;border:0;border-radius:0}
 .recording-dialog .dialog-header{padding:10px 14px}
 .capture-stage{position:relative;display:flex;padding:8px}
 .capture-slide{flex:1}
 .with-slides .capture-camera{position:absolute;right:16px;top:16px;width:clamp(96px,25vw,150px);border:2px solid white;box-shadow:0 2px 12px #0005}
 .with-slides .capture-camera>span{display:none}
 .capture-controls{padding:10px 12px;gap:8px;padding-bottom:max(10px,env(safe-area-inset-bottom))}
 .capture-navigation{gap:8px}
 .capture-controls button{padding:9px 12px;font-size:.875rem}
 #record-slide-label{font-size:.875rem}
 .capture-state{font-size:.875rem;flex-basis:100%}
 .capture-actions{gap:8px}
 .capture-actions button{flex:1}
 .capture-controls .help-text{font-size:.8125rem}
}
@media(max-height:540px){
 .recording-dialog .dialog-header{padding:6px 14px}
 .recording-dialog .dialog-header p,.capture-controls .help-text{display:none}
 .capture-stage{padding:8px;gap:8px}
 .capture-controls{padding:8px 12px;gap:6px}
 .capture-state{flex-basis:auto}
 .capture-controls button{min-height:40px;padding:7px 12px}
}

@media(max-height:540px){.capture-camera>span{display:none}.with-slides .capture-camera{height:100%;align-self:stretch}#capture-preview .with-slides .camera-preview{height:100%;aspect-ratio:auto}}

/* Scrollable zoom keeps every edge of a portrait page accessible. */
.capture-slide{display:block;overflow:auto;overscroll-behavior:contain;scrollbar-gutter:stable;touch-action:pan-x pan-y}
.capture-slide-sheet{display:flex;align-items:center;justify-content:center;min-width:100%;min-height:100%;width:max-content;height:max-content}
.capture-slide-sheet #record-slide-preview{flex:none;max-width:none;max-height:none;width:auto;height:auto;object-fit:contain}
.capture-view-tools{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.capture-view-tools button[aria-pressed=true]{background:#dfebd9;border-color:#71886e;color:#193f31}
.capture-view-tools output{min-width:4ch;text-align:center;font-size:.875rem}
.capture-view-tools span{font-size:.875rem;color:var(--muted);margin-left:auto}
.capture-view-tools .quiet{min-height:40px;padding:7px 12px}
@media(min-width:1000px){.capture-controls{grid-template-columns:minmax(0,1fr) auto;gap:8px 20px}.capture-view-tools{grid-column:1/-1}.capture-controls>.help-text{grid-column:1/-1}.capture-actions{flex-wrap:nowrap}.capture-state{white-space:nowrap}.capture-navigation{gap:10px}.capture-controls{padding:10px 20px}}
@media(max-width:700px){.capture-view-tools{gap:6px}.capture-view-tools span{flex-basis:100%;font-size:.8125rem}.capture-view-tools .quiet{padding:7px 10px}.with-slides .capture-camera{pointer-events:none}}
@media(max-height:540px){.capture-view-tools span{display:none}.capture-view-tools .quiet{min-height:36px}.capture-controls{gap:6px}}

/* Administrator license records and adult quote inbox */
.billing-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin-bottom:25px}.billing-summary article{padding:22px;background:#eaf0e1;border:1px solid #c6d3be;border-radius:14px;display:grid;gap:10px}.billing-summary strong{font-size:25px}.billing-summary span{font-size:14px}.billing-panel{margin:24px 0}.billing-panel .panel-heading{align-items:start;gap:18px}.billing-request,.billing-license{margin:0 24px;padding:24px 0;border-top:1px solid #d8e2d1;display:grid;gap:12px}.billing-request header,.billing-license header{display:flex;justify-content:space-between;gap:14px;flex-wrap:wrap}.billing-request h3,.billing-license h3,.billing-request p,.billing-license p{margin:0}.billing-request label{display:grid;gap:6px;font-size:14px}.billing-request select{font:inherit;padding:10px;border:1px solid #becdb6;border-radius:8px;background:white}.billing-request .billing-message{white-space:pre-wrap}.billing-empty{padding:10px 24px 24px;font-size:15px;line-height:1.65}.billing-fields{display:grid;grid-template-columns:1fr 1fr;gap:15px}.billing-panel .dialog-body>p{font-size:15px;line-height:1.7}.billing-panel .dialog-body .help-text{font-size:14px}.billing-panel .dialog-body input{min-height:42px}@media(max-width:650px){.billing-summary{grid-template-columns:1fr}.billing-summary article{padding:16px}.billing-request,.billing-license{margin:0 16px}.billing-fields{grid-template-columns:1fr}}
/* Compact, readable consent controls in the admin AI form. */
#ai-settings-form .check-label{font-size:1rem;line-height:1.5;gap:12px}
#ai-settings-form input[type=checkbox]{width:20px;height:20px;min-width:20px;min-height:20px;padding:0;margin:2px 0 0;flex:0 0 20px}
#ai-settings-form>p{font-size:1rem;line-height:1.6}
#ai-settings-form .help-text{font-size:.875rem}
/* Form controls must not force consent labels outside their cards. */
.dialog-body .check-label input[type=checkbox],.org-form .check-label input[type=checkbox]{width:20px;height:20px;min-width:20px;min-height:20px;flex:0 0 20px;padding:0;margin:2px 0 0}
.check-label{max-width:100%;min-width:0;overflow-wrap:anywhere;line-height:1.55}
.panel,.panel-heading,.dialog-body,.org-form,.org-fields>*{min-width:0}
.dialog-body input,.dialog-body select,.dialog-body textarea,.org-form input,.org-form select,.org-form textarea{box-sizing:border-box;max-width:100%;min-width:0}
.org-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;margin:22px 0}
.org-panel{padding:26px;margin:22px 0;overflow-wrap:anywhere}.org-grid .org-panel{margin:0}.org-panel h2,.org-panel h3{margin:0 0 12px}.org-panel p{font-size:1rem;line-height:1.6}.org-panel .help-text{font-size:.875rem}.org-form{display:grid;gap:18px;margin-top:22px}.org-form label,.org-panel>label{display:grid;gap:8px;font-size:1rem;font-weight:650}.org-form input,.org-form select,.org-form textarea,.org-panel>label input{width:100%;padding:12px;border:1px solid #c6d3be;border-radius:9px;background:#fff;font:inherit;color:#193f31}.org-form select{appearance:none;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%23193f31' stroke-width='2'%3E%3Cpath d='m4 6 4 4 4-4'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 12px center;padding-right:38px}.org-form .check-label{display:flex;gap:12px;align-items:flex-start}.org-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.org-form fieldset{border:1px solid #c6d3be;border-radius:10px;display:grid;gap:12px;padding:18px;min-width:0}.org-approval{border-top:1px solid #c6d3be;padding-top:24px;margin-top:28px}.org-members article{display:flex;justify-content:space-between;align-items:start;gap:15px;padding:20px 0;border-bottom:1px solid #d8e2d1}.org-members p{margin:8px 0 0}.org-event{padding:16px 0;border-bottom:1px solid #d8e2d1}.organization-room{padding:22px;margin-bottom:22px}.organization-room .dialog-actions{justify-content:flex-start}.review-error p{margin:0 0 10px}.dialog-body select{width:100%;font:inherit;padding:12px 36px 12px 12px;white-space:normal}.dialog-actions{flex-wrap:wrap}
@media(max-width:700px){.org-grid,.org-fields{grid-template-columns:1fr}.org-panel{padding:18px}.org-members article{flex-direction:column}.org-form .dialog-actions>*{width:100%}.organization-room{padding:18px}.org-form label{font-size:1rem}}
/* Saved class rosters */
.class-list,.class-actions{display:flex;flex-wrap:wrap;align-items:center;gap:10px}.class-list{margin:0 0 22px}.class-counts{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:22px 0}.class-counts>div{background:#edf3e9;border-radius:14px;padding:18px;display:grid;gap:6px}.class-counts strong{font-size:1.8rem}.class-counts span{font-size:1rem}.class-students{margin:22px 0}.class-student{display:flex;justify-content:space-between;align-items:center;gap:18px;padding:18px 0;border-bottom:1px solid #e1e7dc;min-width:0}.class-student>div{min-width:0}.class-student p{margin:5px 0;overflow-wrap:anywhere}.class-student .class-actions{justify-content:flex-end;flex-shrink:0}.class-link{display:grid;gap:8px;margin-top:24px}.class-link input,.class-import-source{width:100%;max-width:100%;box-sizing:border-box}.import-preview{max-height:45vh;overflow:auto;margin:16px 0}.import-preview>div{display:grid;grid-template-columns:1fr 1.5fr;gap:14px;padding:10px 0;border-bottom:1px solid #e1e7dc;overflow-wrap:anywhere}.class-group-list{max-height:45vh;overflow:auto}.class-group-list .check-label{padding:8px 0}.class-group-list span{min-width:0;overflow-wrap:anywhere}.class-group-list small{display:block}.class-bulk-progress{font-size:1.05rem;line-height:1.6}.entry-card .check-label input[type=checkbox]{width:20px;min-width:20px;flex:0 0 20px}.class-import-source{min-height:180px}.class-link input{min-width:0}
@media(max-width:700px){.class-counts{grid-template-columns:repeat(2,minmax(0,1fr))}.class-student{align-items:flex-start;flex-direction:column}.class-student .class-actions{justify-content:flex-start;flex-shrink:1}.class-actions button{max-width:100%;white-space:normal}.import-preview>div{grid-template-columns:1fr;gap:4px}.org-panel .report-title{align-items:flex-start;flex-direction:column}}
/* Signed approval uploads and private review. */
.approval-documents{display:grid;gap:12px;margin:20px 0}.approval-documents article{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:16px 0;border-bottom:1px solid var(--line,#dde3d9)}.approval-documents article>div{min-width:0;overflow-wrap:anywhere}.approval-documents p{margin:6px 0}.approval-documents button{flex-shrink:0}.approval-digest{overflow-wrap:anywhere;font-family:monospace}.approval-review .org-form{margin:20px 0}.approval-review fieldset{min-width:0}.approval-upload{max-width:760px}.consent-student{padding:20px 0;border-bottom:1px solid #dde3d9;overflow-wrap:anywhere}.consent-student input{min-width:0;width:100%}.approval-pdf-controls{display:flex;gap:12px;flex-wrap:wrap;align-items:center;margin-bottom:16px}.approval-pdf-sheet{overflow:auto;background:#edf0e8;padding:16px}.approval-pdf-sheet canvas{display:block;width:100%;height:auto;background:white}.org-form .check-label{display:flex;align-items:flex-start;gap:10px;min-width:0;overflow-wrap:anywhere}.org-form .check-label input{width:20px;height:20px;min-width:20px;flex:0 0 20px;margin:2px 0}.approval-review .org-fields{grid-template-columns:repeat(2,minmax(0,1fr))}.approval-review input,.approval-review textarea{max-width:100%;min-width:0}
@media(max-width:640px){.approval-documents article{align-items:flex-start;flex-direction:column}.approval-review .org-fields{grid-template-columns:minmax(0,1fr)}.approval-pdf-sheet{padding:4px}.approval-documents button{max-width:100%;white-space:normal}}

.review-source{margin-top:14px;min-width:0}
.review-source-badge{display:inline-flex;align-items:center;gap:8px;max-width:100%;padding:7px 12px;border:1px solid #cbd5c8;border-radius:999px;background:#edf1e9;color:#244635;font-size:.875rem;font-weight:700;line-height:1.5;white-space:normal;overflow-wrap:anywhere}
.review-source-badge svg{flex:0 0 16px}
.review-source-paid{background:#e8e5fa;border-color:#c3b9e5;color:#45336d}
.review-source-free{background:#e8f2e7;border-color:#b8d0b5;color:#234e32}
.report-title .review-source p{margin:8px 0 0;font-size:.875rem;line-height:1.5;max-width:65ch;overflow-wrap:anywhere}

.delivery-strength,.delivery-priority,.delivery-drill{padding:18px;margin:16px 0;border:1px solid #d3ded2;border-radius:14px;min-width:0;overflow-wrap:anywhere}
.delivery-strength{background:#eef5eb}
.delivery-strength p:last-child,.delivery-priority p:last-child,.delivery-drill p:last-child{margin-bottom:0}
.delivery-priority h5,.delivery-drill h5{font-size:1.1rem;line-height:1.4;margin:0 0 12px;color:#1b3e2d}
.delivery-priority p,.delivery-drill p{line-height:1.6}
.delivery-drill{background:#f6f7f2}
.delivery-drill blockquote{border-left:3px solid #607d5b;margin:14px 0;padding:4px 0 4px 14px;white-space:normal;overflow-wrap:anywhere}
.delivery-measurements{margin:18px 0}
.delivery-measurements summary{cursor:pointer;font-weight:700;padding:12px 0}
.delivery-measurements summary:focus-visible{outline:2px solid #244e38;outline-offset:4px}
@media(max-width:640px){.delivery-strength,.delivery-priority,.delivery-drill{padding:14px}.delivery-drill .quiet{white-space:normal;max-width:100%}}

/* Summary-first feedback: readable cards on desktop and narrow screens. */
.feedback-overview,.presenter-feedback-card,.presenter-feedback-intro,.presenter-rubric{padding:28px;overflow-wrap:anywhere}
.feedback-overview{margin-bottom:28px}.feedback-overview>p{max-width:72ch;line-height:1.65;margin:12px 0 0}
.feedback-overview .hero-label,.presenter-feedback-card .hero-label,.presenter-feedback-intro .hero-label{color:#517d56;margin:0 0 10px}
.feedback-overview h2{font-size:1.25rem;line-height:1.3;margin:0}.feedback-overview>.help-text{margin-top:16px;font-size:.8rem;color:var(--muted)}
.feedback-status{display:flex;flex-wrap:wrap;gap:10px 24px;margin:20px 0;color:var(--muted,#606c63);font-size:.9rem}
.feedback-section-heading{margin:24px 0 16px}.feedback-section-heading h2{margin-bottom:6px}
.presenter-feedback-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,290px),1fr));gap:18px}
.presenter-feedback-card{display:flex;flex-direction:column;min-width:0;overflow-wrap:anywhere;gap:12px}
.presenter-feedback-card .hero-label{margin-bottom:0}.presenter-feedback-card>div{padding-top:4px}.presenter-feedback-card>button{width:100%;justify-content:center;min-height:46px;margin-top:auto}.presenter-feedback-card h3{font-size:1.6rem;margin:0}.presenter-feedback-card h4{margin:0 0 5px}.presenter-feedback-card p{margin:0;line-height:1.6}.presenter-feedback-card button{margin-top:auto;white-space:normal;text-align:center}
.feedback-breadcrumb{display:flex;flex-wrap:wrap;gap:12px;margin:0 0 20px}.presenter-feedback-intro{margin-bottom:20px}.presenter-feedback-intro h2{font-size:2rem;margin:0 0 12px}.presenter-feedback-intro>p{line-height:1.65;margin-bottom:16px}.presenter-rubric{margin:20px 0}.presenter-rubric summary{cursor:pointer;font-weight:650}.presenter-rubric details>section{margin-top:20px}.presenter-transcript{margin-top:20px}.presenter-transcript summary{cursor:pointer;font-weight:650}.presenter-transcript p{line-height:1.7;overflow-wrap:anywhere}
.delivery-measurements{margin-top:18px}.delivery-measurements>summary{cursor:pointer;padding:12px 0;font-weight:650}
@media(max-width:600px){.presenter-feedback-grid{grid-template-columns:minmax(0,1fr)}.feedback-status{flex-direction:column;gap:8px}.feedback-breadcrumb button{white-space:normal}.feedback-overview,.presenter-feedback-card,.presenter-feedback-intro,.presenter-rubric{padding:20px}}
