:root{font-family:'Segoe UI',Arial,sans-serif;color:#153047;background:#f4f7fb;font-size:15px;--line:#cad8e4;--blue:#286b97;--surface:#fff}*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit;color:inherit}button,.button{border:1px solid var(--line);border-radius:9px;background:white;padding:10px 15px;cursor:pointer;text-decoration:none;display:inline-flex;align-items:center;justify-content:center;gap:7px}button:hover,.button:hover{border-color:#5d8aac;background:#edf5fc}button:disabled{opacity:.5;cursor:default}.primary{background:var(--blue);color:white;border-color:var(--blue)}.primary:hover{background:#205779;color:white}.quiet{border:0;background:transparent;padding:7px}.danger{color:#b6314b}.ai-trigger{background:#f5dce2;color:#9d2943}input,select,textarea{background:#f7faff;border:1px solid var(--line);border-radius:8px;padding:10px;min-width:0}label{display:grid;gap:6px}textarea{resize:vertical;line-height:1.5}h1,h2,h3,p{margin:0}p{line-height:1.6}h1{font-size:clamp(34px,4vw,56px);line-height:1.12;letter-spacing:-1.3px}h2{font-size:28px;letter-spacing:-.5px}h3{font-size:18px}a{color:var(--blue)}:focus-visible{outline:3px solid #6da9cf;outline-offset:3px}.brand{display:flex;align-items:center;gap:10px;font-size:24px;font-weight:700;text-decoration:none;color:#153047}.brand img{width:40px;height:40px}.landing-nav{max-width:1280px;margin:auto;display:flex;align-items:center;justify-content:space-between;padding:24px}.nav-actions{display:flex;gap:18px;align-items:center}.hero{max-width:1280px;margin:35px auto 70px;padding:0 24px;display:grid;grid-template-columns:1.05fr 1fr;gap:55px;align-items:center}.hero-copy{display:grid;gap:24px}.hero-copy p{font-size:19px;color:#486073;max-width:550px}.hero-copy .meta{font-size:14px;color:#426b7a}.cta{display:flex;gap:12px;flex-wrap:wrap}.hero-scene{background:#e1ecf4;padding:18px;border-radius:20px;box-shadow:0 18px 45px #224b7015;transform:rotate(1deg)}.scene-bar{display:flex;align-items:center;justify-content:space-between;margin:0 0 12px;font-size:13px}.scene-content{display:grid;grid-template-columns:32% 1fr;gap:12px}.scene-faces{display:grid;gap:8px}.scene-faces img{width:100%;height:115px;object-fit:cover;border-radius:9px}.scene-board{background:white;border-radius:10px;padding:25px 15px;display:grid;align-content:center;gap:14px}.scene-board strong{font-size:23px}.scene-board span{color:#5f7a8c}.section{max-width:1232px;margin:70px auto;padding:0 24px}.section-intro{max-width:730px;margin-bottom:28px;display:grid;gap:14px}.features{display:grid;grid-template-columns:repeat(3,1fr);gap:30px}.feature{border-top:3px solid #76a7c4;padding-top:20px;display:grid;gap:12px}.feature p,.fine{font-size:14px;color:#607587}.pricing{display:grid;grid-template-columns:repeat(4,1fr);gap:16px}.plan{border:1px solid var(--line);border-radius:14px;padding:25px 20px;display:grid;gap:16px;background:white}.plan:nth-child(2){border-color:#5590b3}.price{font-size:38px;font-weight:650;letter-spacing:-1px}.plan p{font-size:14px}.compare{display:grid;grid-template-columns:1fr 1fr;gap:20px}.comparison{padding:26px;border-radius:14px;background:#e4eef6}.comparison p{margin:10px 0}.register{display:grid;grid-template-columns:1fr 1fr;gap:55px;padding:40px;background:#e1ecf4;border-radius:18px}.signup{display:grid;gap:14px}.providers{display:flex;gap:10px}.footer{border-top:1px solid var(--line);padding:24px;display:flex;justify-content:space-between;gap:15px;font-size:13px}.page-shell{max-width:1800px;margin:18px auto;border:1px solid var(--line);border-radius:20px;overflow:hidden}.header{display:flex;align-items:center;justify-content:space-between;padding:20px 25px;background:#d9e6f1}.header-right{display:flex;gap:18px;align-items:center}.clock{font-size:25px;font-weight:650}.clock small{display:block;font-size:12px;font-weight:400}.avatar{border:1px solid var(--line);border-radius:50%;width:40px;height:40px;padding:0}.main-nav{padding:8px 12px;display:flex;gap:8px;background:#e3ebf3;border-block:1px solid var(--line)}.main-nav button{flex:1;background:#d2e3f0;white-space:nowrap}.main-nav .selected{color:#bf2945;font-weight:650}.main-nav .logout{flex:0;background:#fff0f3;color:#bf2945}.demo-note{padding:7px 25px;font-size:12px;color:#657a8c;display:flex;justify-content:space-between;background:#edf3f8}main.workspace{padding:24px}.page-title{display:flex;justify-content:space-between;gap:15px;align-items:center;margin-bottom:22px}.page-title h1,.call-title h1{font-size:25px;letter-spacing:-.4px}.links{display:flex;gap:10px;justify-content:flex-end;flex-wrap:wrap;margin-bottom:22px}.linkbox{display:flex;gap:12px;align-items:center;background:#e9f1f8;border:1px solid #cfdeeb;border-radius:9px;padding:9px 12px;font-size:13px}.linkbox span{display:grid;gap:4px}.linkbox a{max-width:220px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}table{width:100%;border-collapse:collapse;background:#fff;border:1px solid var(--line)}th{text-align:left;background:#bdd3e3;font-weight:600}th,td{padding:13px 18px;border-bottom:1px solid #dfe7ef}td:last-child{text-align:right}td strong{font-weight:600}.table-wrap{overflow:auto;border-radius:12px}.calendar{display:grid;grid-template-columns:repeat(7,1fr);border-top:1px solid var(--line);border-left:1px solid var(--line);border-radius:10px;overflow:hidden}.day{min-height:155px;border-right:1px solid var(--line);border-bottom:1px solid var(--line);padding:10px;background:#fff}.day-title{display:flex;justify-content:space-between;font-size:13px;margin-bottom:12px}.today{background:#dcecf7;border-radius:5px;padding:3px}.lesson-card{display:block;text-align:left;width:100%;background:#eaf2f8;border:0;border-left:3px solid #74a0bc;border-radius:5px;font-size:12px;padding:7px;margin-top:6px}.lesson-card span{display:block;margin-top:3px}.settings-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}.settings-card{padding:25px;background:white;border:1px solid var(--line);border-radius:12px;display:grid;gap:18px;align-content:start}.call-head{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:14px}.call-title{display:flex;align-items:center;gap:20px}.capture{display:flex;gap:6px;flex-wrap:wrap;justify-content:flex-end}.call-layout{display:flex;gap:14px;align-items:stretch;min-width:0}.call-main{flex:1;min-width:0;display:flex;flex-direction:column}.video-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;min-width:0;flex:1}.video-grid.count-1{grid-template-columns:1fr;max-width:900px;width:100%;margin:auto}.tile{position:relative;min-height:180px;aspect-ratio:16/10;border-radius:13px;overflow:hidden;background:#dce8f2}.tile img,.tile video{width:100%;height:100%;object-fit:cover;display:block}.tile .name{position:absolute;left:10px;bottom:10px;background:#172d47bd;color:white;border-radius:5px;padding:6px 9px;font-size:12px}.tile .dots{position:absolute;top:10px;right:10px;border-radius:50%;width:34px;height:34px;padding:0}.tile.speaking{outline:2px solid #33a885;outline-offset:-2px}.tiles-rail{width:28%;max-width:350px;display:grid;gap:10px;align-content:start;flex-shrink:0}.tiles-rail .tile{aspect-ratio:16/11;min-height:100px}.teaching-stage{display:flex;gap:12px;flex:1;min-height:450px;max-height:68vh}.board{flex:1;min-width:0;background:white;border:1px solid var(--line);border-radius:12px;overflow:hidden;display:flex;flex-direction:column}.boardbar{display:flex;gap:6px;align-items:center;padding:8px;background:#f4f8fc;flex-wrap:wrap;border-bottom:1px solid var(--line)}.boardbar button{padding:6px 10px}.board-editor{padding:24px;font-size:24px;flex:1;overflow:auto;line-height:1.6;min-height:250px;outline:0}.board-editor:empty:before{content:attr(data-placeholder);color:#9aabb8}.board-editor img{max-width:100%;resize:both}.side{width:365px;max-width:35%;background:white;border:1px solid var(--line);border-radius:13px;display:flex;flex-direction:column;max-height:68vh;min-height:350px;overflow:hidden;flex-shrink:0}.side-title{padding:14px 16px;display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid var(--line)}.side-body{padding:14px;overflow:auto;flex:1;min-height:0}.modes{display:flex;gap:7px;padding:12px;flex-wrap:wrap}.modes button{flex:1;font-size:13px;padding:8px}.modes .selected{background:#e2eff9;border-color:#5995bd}.ai-options{padding:0 12px 12px;display:flex;gap:7px;flex-wrap:wrap}.ai-options select{width:90px}.ai-result{white-space:pre-wrap;line-height:1.6}.side-form{display:flex;align-items:flex-end;gap:8px;padding:12px;border-top:1px solid var(--line)}.side-form textarea{width:100%;min-height:110px}.side-form.has-results textarea{min-height:48px;height:48px}.message{padding:10px;background:#edf4fa;border-radius:8px;margin-bottom:10px;white-space:pre-wrap}.controls{display:flex;justify-content:center;gap:8px;flex-wrap:wrap;padding:14px 0 0;margin-top:14px;border-top:1px solid var(--line)}.control{display:grid;gap:4px;justify-items:center;font-size:10px}.control button{height:42px;min-width:46px;padding:8px;font-size:20px}.control .leave{background:#b73551;color:white;min-width:65px}.layout-picker{display:flex;gap:12px;align-items:center;font-size:13px;margin-bottom:14px}.layout-picker select{padding:6px}.call-shell:fullscreen{background:#f4f7fb;padding:20px;overflow:auto}.call-shell:fullscreen .tile{max-height:38vh}.call-shell:fullscreen .count-1 .tile{max-height:75vh}.call-shell:fullscreen .capture{visibility:hidden}.call-shell:fullscreen .side{max-height:78vh}.modal-form{display:grid;gap:14px}dialog{border:1px solid var(--line);border-radius:16px;padding:28px;width:min(600px,94vw);color:#153047;box-shadow:0 20px 100px #1237}dialog::backdrop{background:#102d4666}.dialog-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:20px}.form-row{display:flex;gap:12px}.form-row>*{flex:1}#notice{position:fixed;bottom:24px;left:50%;transform:translateX(-50%);max-width:90%;padding:15px 24px;background:#173b58;color:white;border-radius:12px;z-index:20}.link-exit{max-width:600px;margin:15vh auto;padding:30px;display:grid;justify-items:start;gap:20px}.video-slot{background:#e4eef6;border-radius:14px;min-height:260px;display:grid;place-items:center;padding:30px;text-align:center}.video-slot video{width:100%;max-height:500px}.waiting{position:fixed;right:30px;top:180px;width:350px;padding:25px;background:#fff;box-shadow:0 20px 70px #20394a33;border:1px solid var(--line);border-radius:14px;z-index:5}.waiting h3{margin-bottom:18px}.waiting p{margin:15px 0}.muted{color:#677e91}.hidden,[hidden]{display:none!important}@media(max-width:1000px){.hero{gap:25px}.pricing{grid-template-columns:repeat(2,1fr)}.settings-grid{grid-template-columns:1fr 1fr}.side{width:320px;max-width:38%}.call-title{gap:10px;flex-wrap:wrap}.tile{min-height:135px}}@media(max-width:700px){.hero,.register,.compare{grid-template-columns:1fr}.hero{margin-top:15px}.landing-nav{padding:15px}.nav-actions>a:not(.button){display:none}.features{grid-template-columns:1fr}.section{margin-block:45px}.pricing{grid-template-columns:1fr 1fr}.register{padding:25px;gap:25px}.header{padding:12px}.clock{font-size:20px}.header-right{gap:8px}.page-shell{margin:0;border-radius:0}.main-nav{overflow:auto}.main-nav button{font-size:12px;padding:10px}.demo-note{padding:6px 12px;gap:10px}main.workspace{padding:12px}.page-title,.call-head{align-items:flex-start;flex-direction:column}.capture{align-self:flex-end}.call-layout{flex-wrap:wrap}.side{width:100%;max-width:100%;max-height:500px}.call-title h1{font-size:21px}.settings-grid{grid-template-columns:1fr}.calendar{grid-template-columns:repeat(7,minmax(120px,1fr));min-width:840px}.day{min-height:120px}.tile{aspect-ratio:4/5;min-height:140px}.tiles-rail{width:30%}.teaching-stage{min-height:360px;max-height:55vh}.board-editor{padding:12px;font-size:20px}.layout-picker{flex-wrap:wrap}.footer{flex-direction:column}.form-row{flex-wrap:wrap}}@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important}}

/* Fit the demonstration gallery inside the viewport, including group layouts. */
.video-grid{height:clamp(280px,calc(100dvh - 360px),700px);flex:none;grid-auto-rows:minmax(0,1fr)}
.video-grid .tile{aspect-ratio:auto;min-height:0;height:100%}
.video-grid.count-1{height:clamp(300px,calc(100dvh - 340px),740px)}
.video-grid.count-3,.video-grid.count-4{grid-template-rows:repeat(2,minmax(0,1fr))}
.video-grid.count-5{grid-template-rows:repeat(3,minmax(0,1fr))}
.call-shell:fullscreen .video-grid{height:calc(100dvh - 210px)}
.call-shell:fullscreen .video-grid .tile{max-height:none}
.ai-options input{width:58px}.ai-options label{display:flex;align-items:center;gap:6px}
@media(max-width:700px){.video-grid{height:clamp(260px,calc(100dvh - 450px),500px)}.video-grid .tile{aspect-ratio:auto;min-height:0}.hero-scene{transform:none}.main-nav .logout{position:sticky;right:0}.scene-faces img{height:100px}}

.layout-picker label{display:flex;align-items:center;gap:8px}.layout-picker #people{width:65px}
.video-grid,.video-grid.count-1{height:clamp(240px,calc(100dvh - 430px),650px)}
.tile img{object-position:center 25%}
.call-shell:fullscreen .video-grid{height:calc(100dvh - 235px)}
@media(max-width:700px){.video-grid,.video-grid.count-1{height:clamp(260px,calc(100dvh - 430px),500px)}}

/* Webcam contact sheet: individual fictional callers, no studio portraits. */
.tile{isolation:isolate;container-type:size}
.tile::before{content:"";position:absolute;inset:-20px;background-image:url(/static/portraits/webcam-grid.png);background-size:200% 200%;background-position:var(--webcam-position);filter:blur(18px) brightness(.65);z-index:-1}
.webcam-photo{position:absolute;top:0;left:50%;transform:translateX(-50%);width:min(100cqw,100cqh);height:min(100cqw,100cqh);background-image:url(/static/portraits/webcam-grid.png);background-size:200% 200%;background-position:var(--webcam-position)}
.portrait-0{--webcam-position:0% 0%}.portrait-1{--webcam-position:100% 0%}.portrait-2{--webcam-position:0% 100%}.portrait-3{--webcam-position:100% 100%}.portrait-4{--webcam-position:0% 100%}
.scene-photo{width:100%;height:115px;border-radius:9px;background-image:url(/static/portraits/webcam-grid.png);background-size:200% 200%;background-position:var(--webcam-position)}
.video-grid:is(.count-3,.count-4,.count-5){grid-template-columns:repeat(var(--gallery-columns,2),var(--gallery-edge,240px));grid-template-rows:repeat(var(--gallery-rows,2),var(--gallery-edge,240px));height:var(--gallery-height,490px)!important;justify-content:center;align-content:start;flex:none}
.video-grid:is(.count-3,.count-4,.count-5) .tile{width:100%;height:100%;min-height:0;grid-row:auto!important;grid-column:auto}
.video-grid:is(.count-3,.count-4,.count-5) .tile:last-child:nth-child(odd){justify-self:center}
.tiles-rail{min-height:0;grid-auto-rows:minmax(0,1fr);align-content:stretch;overflow:hidden}.tiles-rail .tile{min-height:0;aspect-ratio:auto}
.tile .name,.tile .dots{z-index:2}

/* One coherent entry area: sign-in and walkthrough share a baseline. */
.demo-access{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(0,1fr);gap:0;border:1px solid var(--line);border-radius:18px;background:#fff;overflow:hidden}
.demo-entry,.demo-walkthrough{padding:32px;min-width:0;scroll-margin-top:24px}
.demo-entry{background:#eaf2f8}.demo-walkthrough{border-left:1px solid var(--line)}
.demo-access h2,.walkthrough-content h2{font-size:27px;line-height:1.2;margin:0 0 12px;letter-spacing:-.5px}
.access-intro{max-width:46ch;line-height:1.55;margin:0 0 22px;color:#4b6579}
.demo-entry .signup{display:grid;gap:14px}.signup-fields{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.3fr);gap:12px}
.demo-entry label{display:grid;gap:7px;font-size:14px}.demo-entry input{width:100%;min-width:0;height:46px;background:#fff}
.demo-entry .signup>button{justify-self:start;min-height:46px;padding-inline:22px}.providers:empty{display:none}
.demo-privacy{margin-top:20px;font-size:13px;color:#61788a}.demo-privacy summary{cursor:pointer;line-height:1.5}.demo-privacy p{line-height:1.6;max-width:64ch;margin-bottom:0}
.walkthrough-content{display:grid;align-content:start;gap:10px}.walkthrough-empty{display:flex;align-items:center;gap:18px;margin-top:8px;padding:22px 0;border-block:1px solid #dce5ed;min-height:130px}
.walkthrough-empty svg{width:48px;height:48px;flex-shrink:0;color:#39799f}.walkthrough-empty h3{font-size:17px;margin:0 0 8px;line-height:1.4}.walkthrough-empty p{font-size:14px;color:#61788a;line-height:1.6;max-width:35ch;margin:0}
.walkthrough-content .video-slot{padding:0;min-height:0;background:#102d46;overflow:hidden;border-radius:10px}.walkthrough-content video{display:block;width:100%;aspect-ratio:16/9;max-height:400px}
@media(max-width:760px){.demo-access{grid-template-columns:1fr}.demo-entry,.demo-walkthrough{padding:24px}.demo-walkthrough{border-left:0;border-top:1px solid var(--line)}.demo-access h2,.walkthrough-content h2{font-size:24px}.signup-fields{grid-template-columns:1fr}.demo-entry .signup>button{width:100%}.walkthrough-empty{padding:18px 0;min-height:0}.walkthrough-empty svg{width:38px;height:38px}}

.section.demo-access{padding:0;width:calc(100% - 48px);max-width:1184px}@media(max-width:760px){.section.demo-access{width:calc(100% - 24px)}}
/* OP Live: a teaching product with clear ownership and costs. */
.landing-nav{max-width:1280px;padding-block:18px;gap:24px}.nav-actions{align-items:center;gap:22px}.nav-actions>a:not(.button){text-decoration:none;font-size:14px;font-weight:600;color:#48677d}.nav-actions>a:hover{color:#185b82}
.language-switch{display:inline-flex;align-items:center;border:1px solid #c5d5e1;border-radius:9px;padding:3px;background:#edf3f7;flex-shrink:0;gap:2px}.language-switch button{border:0;background:transparent;padding:7px 9px;border-radius:6px;font-size:12px;font-weight:700;line-height:1.2;color:#536e82}.language-switch button.active{background:#fff;color:#175e84;box-shadow:0 1px 4px #1530471c}.language-switch button:focus-visible{outline:2px solid #286b97;outline-offset:1px}
.hero{max-width:1280px;grid-template-columns:1fr 1fr;align-items:center;gap:52px;margin:22px auto 40px;padding:24px}.hero h1{font-size:clamp(34px,3.4vw,52px);letter-spacing:-1.7px;line-height:1.08;max-width:15ch}.hero-copy>p{font-size:17px;line-height:1.65;max-width:49ch}.hero-copy .meta{font-size:12px;line-height:1.6;margin-top:18px}.hero-video{background:#fff;border:1px solid #d5e1e9;padding:16px;border-radius:16px;box-shadow:0 14px 40px #193b5410;min-width:0}.hero-video .walkthrough-content h2{font-size:16px;letter-spacing:0;margin:0}.hero-video .walkthrough-content{gap:12px}
.walkthrough-content iframe{border:0;display:block;width:100%;aspect-ratio:16/9;background:#0d273b}.walkthrough-content .video-slot{padding:0;min-height:0}
.setup-offer{display:flex;gap:17px;align-items:center;margin:21px 0}.setup-offer>strong{font-size:42px;letter-spacing:-1.8px;line-height:1;color:#1d6d91}.setup-offer>div{display:grid;gap:5px;max-width:40ch}.setup-offer b{font-size:14px;line-height:1.4}.setup-offer span{font-size:12px;line-height:1.5;color:#617789}
.section{margin-block:42px}.features{gap:18px}.feature{background:#fff;border:1px solid #d9e3eb;border-radius:14px;padding:28px 30px;box-shadow:none;min-width:0;display:flex;flex-direction:column;gap:12px}.feature h3{font-size:21px;line-height:1.25;letter-spacing:-.35px;margin:0;max-width:26ch}.feature p{font-size:16px;line-height:1.65;margin:0;color:#527086;max-width:47ch}.section-intro h2{font-size:28px;line-height:1.2;letter-spacing:-.7px}.section-intro p{line-height:1.65}.plan{background:#fff;box-shadow:none}.plan .price{font-size:38px}.plan h3{font-size:17px}
.main-nav{background:#c6d7e5;border-block:1px solid #b5cadb}.main-nav button{background:#e4edf5;border-color:#b5cbdc}.main-nav button.selected{background:#f5f9fc;border-color:#9bb7cd;color:#bd2946}.header{background:#d9e7f1}
.about-overview{max-width:1500px;margin:auto}.about-top{display:grid;grid-template-columns:1.04fr 1fr;gap:36px;align-items:start}.about-pitch h1{font-size:clamp(27px,2.2vw,36px);line-height:1.12;letter-spacing:-1px;margin:0 0 10px}.about-intro{font-size:15px;line-height:1.6;max-width:57ch;color:#527086;margin:0}.about-pitch .setup-offer{margin:16px 0}.ownership-benefits{padding:0;margin:0;list-style:none;display:grid;gap:11px}.ownership-benefits li{display:flex;gap:10px;align-items:flex-start}.ownership-benefits svg{width:20px;height:20px;flex-shrink:0;color:#25816c;margin-top:1px}.ownership-benefits strong{font-size:14px}.ownership-benefits p{font-size:13px;color:#60788b;line-height:1.4;margin:3px 0 0;max-width:65ch}.about-video{min-width:0}.about-video .walkthrough-content{gap:10px}.about-video h2{font-size:17px;margin:0;letter-spacing:0}.about-video .video-slot{border:1px solid #c7d7e3}
.about-plans{display:grid;grid-template-columns:210px 1fr;gap:22px;align-items:center;margin:22px 0 18px;padding-top:18px;border-top:1px solid #cbd9e4}.plans-caption h2{font-size:18px;line-height:1.3;margin:0 0 6px}.plans-caption p{font-size:12px;color:#617789;line-height:1.5;margin:0}.compact-plans{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));border:1px solid #c9d9e5;border-radius:10px;background:#fff;overflow:hidden}.compact-plans article{padding:13px 17px;border-right:1px solid #dce6ee;display:grid;gap:5px}.compact-plans article:last-child{border:0}.compact-plans h3{font-size:13px;font-weight:600;margin:0}.compact-plans strong{font-size:27px;letter-spacing:-.7px;color:#1d668a}.compact-plans span{font-size:11px;color:#60778a}
.ongoing-costs{display:grid;grid-template-columns:210px 1fr;gap:22px;padding:17px 20px;background:#e4edf4;border-radius:10px;border-left:3px solid #5185a4;align-items:start}.ongoing-costs h2{font-size:23px;letter-spacing:-.4px;margin:0;line-height:1.3}.ongoing-costs p{font-size:14px;line-height:1.5;margin:0}.ongoing-costs .fine{font-size:12px;line-height:1.5;margin-top:6px;color:#607587}.ongoing-costs a{font-size:12px;color:#306b8d;white-space:nowrap}
@media(min-width:1500px){.about-top{grid-template-columns:1.15fr .85fr}.about-video{max-width:600px;justify-self:end;width:100%}}
@media(max-width:950px){.hero{gap:24px}.hero h1{font-size:36px}.about-top{gap:24px}.about-plans{grid-template-columns:1fr}.plans-caption{display:flex;gap:12px;align-items:center}.plans-caption h2{margin:0}.ongoing-costs{grid-template-columns:170px 1fr;gap:14px}}
@media(max-width:700px){.hero{grid-template-columns:1fr;padding:18px;margin:8px auto 24px}.hero h1{font-size:38px;max-width:18ch}.hero-video{padding:12px}.hero-copy>p{font-size:16px}.setup-offer{gap:12px}.setup-offer>strong{font-size:38px}.setup-offer b{font-size:13px}.setup-offer span{font-size:11px}.landing-nav{gap:10px;padding:14px 18px}.brand{font-size:21px;gap:8px}.brand img{width:34px;height:34px}.nav-actions{gap:8px}.language-switch button{padding:7px}.nav-actions>.button{padding:9px 11px;font-size:13px}.section{margin-block:30px}.about-top{grid-template-columns:1fr}.about-pitch h1{font-size:29px}.about-video{width:100%}.compact-plans{grid-template-columns:1fr 1fr}.compact-plans article:nth-child(2){border-right:0}.compact-plans article:nth-child(-n+2){border-bottom:1px solid #dce6ee}.about-plans{margin-top:20px}.plans-caption{display:block}.plans-caption p{margin-top:6px}.ongoing-costs{grid-template-columns:1fr;gap:10px;padding:16px}.ongoing-costs h2{font-size:23px}}
/* Keep the offer, team pricing and ongoing costs in one desktop view. */
@media(min-width:951px){main.workspace:has(.about-overview){padding:18px 24px}.about-top{gap:28px}.about-video{max-width:480px;justify-self:end;width:100%}.about-video iframe,.about-video video{height:clamp(175px,27dvh,250px);aspect-ratio:auto}.about-pitch h1{font-size:30px}.about-intro{font-size:14px;line-height:1.45}.about-pitch .setup-offer{margin:13px 0}.about-pitch .setup-offer>strong{font-size:38px}.ownership-benefits{gap:8px}.ownership-benefits p{font-size:12px;line-height:1.35}.about-plans{margin:17px 0 14px;padding-top:14px}.compact-plans article{padding:10px 15px}.compact-plans strong{font-size:24px}.ongoing-costs{padding:13px 17px}.ongoing-costs p{font-size:13px}.ongoing-costs .fine{font-size:11px;margin-top:4px}}
.header{padding:12px 24px}.header .clock{font-size:26px}.header .header-right{gap:18px}@media(max-width:700px){.header{padding:12px}.header .clock{font-size:20px}.header .header-right{gap:8px}.header .language-switch button{padding:6px}}
@media(min-width:951px){.about-plans{margin-top:12px;margin-bottom:12px}.ownership-benefits{gap:7px}}
.problem-intro{display:grid;grid-template-columns:1fr 1fr;gap:40px;align-items:start;border-bottom:1px solid #d6e2eb;padding-bottom:26px;margin-bottom:30px}.problem-intro h2{font-size:26px;letter-spacing:-.6px;line-height:1.25;margin:0;max-width:24ch}.problem-intro p{font-size:15px;line-height:1.7;color:#567084;margin:0;max-width:60ch}
.installation-services{margin:18px 0;padding:14px 0;border-block:1px solid #d6e2eb}.installation-services h2{font-size:18px;margin:0 0 12px;letter-spacing:-.3px}.installation-services>div{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:24px}.installation-services h3{font-size:13px;margin:0 0 5px;color:#1c6388}.installation-services p{font-size:12px;line-height:1.45;color:#61788b;margin:0;max-width:36ch}.service-section .installation-services{border:0;padding:24px;background:#fff;border-radius:12px;margin:0}.service-section .installation-services h2{font-size:25px;margin-bottom:20px}.service-section .installation-services h3{font-size:16px}.service-section .installation-services p{font-size:14px}
.plan-contact{font-size:12px;font-weight:650;text-decoration:none;color:#21698e;justify-self:start;padding:5px 0}.plan-contact:hover{text-decoration:underline}.plan-contact:focus-visible{outline:2px solid #286b97;outline-offset:3px}.about-plans{border:0;padding-top:0}.compact-plans article{gap:4px}.plans-caption p{max-width:28ch}
@media(min-width:951px){.about-top{grid-template-columns:1fr 1fr}.about-intro{max-width:65ch}.about-pitch h1{font-size:28px}.about-pitch .setup-offer{margin:11px 0}.ownership-benefits{gap:6px}.ownership-benefits p{font-size:11px}.about-video{max-width:440px}.about-video iframe,.about-video video{height:clamp(165px,24dvh,220px)}.about-overview .installation-services{margin:12px 0;padding:10px 0}.about-overview .installation-services h2{font-size:16px;margin-bottom:8px}.about-overview .installation-services p{font-size:11px}.about-overview .installation-services h3{font-size:12px}.about-plans{margin:12px 0}.compact-plans article{padding:8px 15px}.compact-plans strong{font-size:22px}.ongoing-costs{padding:10px 17px}.ongoing-costs h2{font-size:22px}}
@media(max-width:700px){.problem-intro{grid-template-columns:1fr;gap:14px}.problem-intro h2{font-size:24px;max-width:none}.installation-services>div{grid-template-columns:1fr 1fr;gap:18px}.installation-services{margin-block:20px}.installation-services h2{font-size:21px}.service-section .installation-services{padding:20px}.service-section .installation-services h3{font-size:14px}.service-section .installation-services p{font-size:12px}.compact-plans article{padding:13px}.plan-contact{font-size:13px;padding-top:8px}}
@media(min-width:951px){.about-pitch .setup-offer>div{max-width:none}.about-overview .installation-services p{max-width:none}}

/* Teacher Live product wordmark */
.brand-live{color:#bc354a;white-space:nowrap}.live-signal{font-size:.55em;vertical-align:middle;display:inline-block;margin-left:3px}.brand>span{white-space:nowrap}
@media(max-width:700px){.header{flex-wrap:wrap;gap:10px}.header .header-right{width:100%;justify-content:space-between}.header .clock{font-size:20px}.header .clock small{max-width:170px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}}

@media(max-width:700px){.features .feature{padding:23px 24px;gap:10px}.feature h3{font-size:20px}.feature p{font-size:15px}}
.next-step{display:grid;grid-template-columns:1fr auto;gap:24px;align-items:center;padding:22px 26px;margin:22px 0;background:#e5f0f4;border:1px solid #c7dbe4;border-radius:14px}.next-step h2{margin:0 0 8px;font-size:24px;letter-spacing:-.5px}.next-step p{margin:0;max-width:90ch;line-height:1.6;font-size:15px;color:#425e73}.next-actions{display:grid;gap:9px}.next-actions .button{text-align:center;white-space:nowrap}.hosted-workspace{padding:20px;display:flex;flex-direction:column;min-height:calc(100dvh - 100px)}.hosted-heading{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-bottom:18px}.hosted-heading h1{font-size:23px;margin:0}.hosted-heading>div{display:flex;gap:8px}.hosted-layout{display:flex;gap:16px;flex:1;min-height:0}.hosted-main{flex:1;min-width:0;display:flex;flex-direction:column;gap:12px}.hosted-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.hosted-tile{position:relative;aspect-ratio:4/3;background:#dfE8f0;border-radius:14px;overflow:hidden;min-width:0}.hosted-tile:only-child{max-width:850px;width:100%;justify-self:center;grid-column:1/-1;aspect-ratio:16/9}.hosted-tile video{width:100%;height:100%;object-fit:cover;position:absolute;inset:0}.hosted-tile .name{z-index:2}.hosted-avatar{display:grid;place-items:center;height:100%;font-size:54px;color:#54718e}.hosted-controls{flex-wrap:wrap;gap:10px;margin-top:16px}.hosted-layout>.side{width:360px;flex:0 0 360px;max-height:70dvh}.hosted-main.with-board{display:grid;grid-template-columns:minmax(180px,27%) 1fr;align-items:start}.with-board .hosted-grid{grid-template-columns:1fr}.with-board .hosted-tile{aspect-ratio:4/3}.with-board .board{height:67dvh;min-width:0;display:flex;flex-direction:column}.with-board .board-editor{flex:1;min-height:0;overflow:auto}.hosted-shell:fullscreen{background:var(--bg);overflow:auto}.hosted-shell #hosted-share video{width:100%;max-height:60dvh;object-fit:contain;background:#132c3c}.hosted-layout:has(#hosted-share:not([hidden])) .hosted-grid{max-height:180px;max-width:500px}.hosted-layout:has(#hosted-share:not([hidden])) .hosted-tile{aspect-ratio:16/9}.hosted-layout .boardbar{flex-wrap:wrap}#hosted-audio{display:none}@media(max-width:800px){.next-step{grid-template-columns:1fr;padding:20px}.next-actions{display:flex;flex-wrap:wrap}.hosted-layout{flex-wrap:wrap}.hosted-layout>.side{flex:1 1 100%;width:100%;height:65dvh}.hosted-main.with-board{grid-template-columns:1fr}.with-board .hosted-grid{grid-template-columns:repeat(2,1fr)}.hosted-heading{flex-wrap:wrap}.hosted-workspace{padding:12px}.hosted-controls button{font-size:13px;padding:10px}.next-step h2{font-size:22px}}

@media(min-width:801px){.hosted-main:has(#hosted-share:not([hidden])){display:grid;grid-template-columns:minmax(220px,27%) 1fr;align-items:start}.hosted-layout:has(#hosted-share:not([hidden])) .hosted-grid{max-height:none;max-width:none;grid-template-columns:1fr}.hosted-layout:has(#hosted-share:not([hidden])) .hosted-tile{aspect-ratio:4/3}.hosted-main:has(#hosted-share:not([hidden]))>.board{display:none}}

/* Equal local toolbar spacing; self view never changes published media. */
.call-main,.hosted-main{min-width:0}
.call-main>.controls,.hosted-controls{display:flex!important;flex-wrap:wrap!important;justify-content:center;align-items:flex-start;gap:10px!important;box-sizing:border-box;width:100%;max-width:100%;min-width:0;padding:10px 0}
.call-main>.controls>.control{flex:0 1 64px;min-width:0;max-width:100%;margin:0;gap:4px}
.call-main>.controls>.control span{white-space:normal;line-height:1.15;text-align:center}
.call-main>.controls>.control:has(.leave),.hosted-controls>.leave{margin-inline-start:16px}
.hosted-controls>button{max-width:100%;white-space:normal}
.hosted-workspace .hosted-controls{width:100%}

.hosted-main>.hosted-controls{grid-column:1/-1}

.ai-help{font-size:12px;color:#526b80;line-height:1.45;padding:0 12px 10px}
.ai-side .ai-compact{display:grid;grid-template-columns:52px minmax(75px,1fr) auto;gap:5px;align-items:center;flex-shrink:0}
.ai-side .ai-compact select{width:100%;padding:7px 4px;font-size:12px}
.ai-side .ai-compact label{display:flex;align-items:center;gap:4px;font-size:12px;white-space:nowrap}
.ai-side .ai-compact input{width:40px;padding:7px 4px}
.ai-kind-radios{display:flex;gap:6px;border:0;margin:0;padding:0 12px 10px;flex-shrink:0;min-width:0}
.ai-kind-radios legend{position:absolute;width:1px;height:1px;clip-path:inset(50%);overflow:hidden}
.ai-kind-radios label{flex:1;display:flex;gap:4px;align-items:center;justify-content:center;font-size:12px;padding:6px 4px;border:1px solid #cad8e4;border-radius:7px;cursor:pointer}
.ai-kind-radios input{accent-color:#286b97;padding:0;margin:0;width:14px;height:14px}
.ai-kind-radios label:has(:checked){background:#e2edf8;border-color:#78a5d0;color:#245d91}
.ai-side .ai-kind-radios label:has(input:checked),.ai-side .ai-kind-radios label:has(input:checked)>span{color:#173f63}
.call-layout:has(>.side) .video-grid.count-1{max-width:none;margin:0}
.hosted-grid{justify-content:start}

.person-options{position:absolute;top:7px;right:7px;z-index:5;font-size:13px}
.person-options summary{list-style:none;display:grid;place-items:center;width:28px;height:28px;border-radius:5px;background:transparent;color:white;cursor:pointer;font-size:21px;filter:drop-shadow(0 1px 2px #0009)}
.person-options summary::-webkit-details-marker{display:none}
.person-options summary:hover,.person-options[open] summary{background:#14283c45}
.person-options summary:focus-visible{outline:2px solid #76b9ea;outline-offset:2px}
.person-options>div{position:absolute;right:0;top:30px;min-width:100px;padding:4px;background:white;border:1px solid #cedce6;border-radius:7px;box-shadow:0 3px 12px #10233a24}
.person-options>div button{display:block;width:100%;padding:7px 10px;border:0;background:transparent;text-align:left;font-size:13px;color:#17324d}
.person-options>div button:hover{background:#e2edf8}.person-options .is-danger{color:#17324d}
.demo-mic-muted{position:absolute;bottom:35px;left:10px;color:white;background:#20344999;border-radius:4px;padding:3px 5px;font-size:11px}

.call-main>.controls,.hosted-controls{gap:5px!important}
.call-main>.controls>.control{flex:0 0 55px;width:55px;break-inside:avoid}
.call-main>.controls>.control:has(.leave){margin-inline-start:25.5px;flex-basis:65px}
.hosted-controls>.leave{margin-inline-start:21px}
.call-head>.capture,.hosted-heading>div{display:flex;flex-wrap:nowrap;gap:5px;max-width:100%;min-width:0;flex-shrink:0}
.call-head>.capture>button,.hosted-heading>div>button{flex:1;min-width:0;white-space:normal;padding:7px 5px;font-size:11px;min-height:42px}
.call-head>.capture>.ai-trigger,.hosted-heading>div>.ai-trigger{flex:0 0 85px}
.call-layout:has(>.side) .video-grid.count-1{margin-inline:auto}

/* Concrete offer with a visible teaching workspace. */
.hero{grid-template-columns:minmax(0,1fr) minmax(0,1.05fr);gap:36px;align-items:center;padding-block:30px;margin-block:12px 32px}
.hero h1{font-size:clamp(32px,3.1vw,49px);line-height:1.1;max-width:21ch;letter-spacing:-1.3px}
.hero-copy>.hero-audience{font-size:15px;font-weight:600;color:#325973;margin-bottom:13px}
.hero-copy>p{font-size:17px;line-height:1.55;color:#334e63;margin-top:18px}
.hero-copy>.hero-cost,.hero-copy>.hero-demo-note{font-size:13px;line-height:1.5;color:#425b70;margin-top:10px}
.hero-copy>.hero-proof{font-size:14px;font-weight:600;color:#214761;margin-top:18px}
.setup-promise{display:block;font-size:17px;line-height:1.45;margin-top:15px}
.hero .setup-offer{margin:20px 0 0;padding:0;background:none;border:0}.hero .setup-offer span{font-size:13px;color:#3c566b}.hero .setup-offer b{font-size:15px}
.product-preview{margin:0;padding:12px;border:1px solid #c2d4e2;border-radius:16px;background:#e5eef6;box-shadow:0 14px 34px #183d5712;overflow:hidden}
.product-preview img{display:block;width:100%;height:auto;border-radius:8px;border:1px solid #d0dce6}.product-preview figcaption{font-size:14px;line-height:1.5;margin:13px 4px;color:#2d4c63}
.preview-watch{display:flex;align-items:center;gap:9px;color:#246b96;text-decoration:none;font-weight:600;padding:0 4px 4px}.preview-watch span{display:grid;place-items:center;width:32px;height:32px;border:1px solid #96b4ca;border-radius:50%;font-size:12px}
.licence-comparison{display:grid;grid-template-columns:200px 1fr;gap:12px 26px;border-block:1px solid #cad8e4;padding-block:22px}.licence-comparison h2{font-size:22px}.licence-comparison p{font-size:15px;line-height:1.6}.licence-comparison small{grid-column:2;color:#475f72;line-height:1.5;font-size:13px}.licence-comparison a{color:#236b97}
.landing-questions{max-width:980px}.landing-questions h2{margin-bottom:18px}.landing-questions details{padding:16px 0;border-bottom:1px solid #cad8e4}.landing-questions summary{font-size:17px;font-weight:600;cursor:pointer}.landing-questions p{margin-top:10px;line-height:1.6;color:#3e566b;max-width:75ch}.video-context{font-size:13px;line-height:1.5;color:#425b70;margin-bottom:12px}
.call-head>.capture>button,.hosted-heading>div>button{overflow-wrap:anywhere}
@media(max-width:800px){.hero{grid-template-columns:1fr;gap:24px;padding:20px 0}.hero h1{max-width:25ch}.licence-comparison{grid-template-columns:1fr}.licence-comparison small{grid-column:1}.hero-copy>.hero-audience{font-size:14px}.hero .cta{gap:8px}.hero .cta .button{padding:11px 12px;font-size:14px}}

.hero-copy{display:block}.hero-copy>p{max-width:60ch}.hero-copy>.hero-audience{margin-top:0}.hero-copy>.cta{margin-top:18px}.hero .setup-offer{min-height:0}.hero .setup-offer>div{max-width:none}.hero .setup-offer>strong{font-size:44px}.hero-copy>.hero-proof{margin-top:14px}.hero-copy>.hero-demo-note{font-size:12px;line-height:1.45}


@media(max-width:700px){.hero{width:auto;margin-inline:18px;padding:18px 0}.landing-nav{flex-wrap:wrap}.landing-nav .nav-actions{flex-wrap:wrap;max-width:100%}.product-preview{padding:8px}.hero .setup-offer{gap:12px}}

/* Focused first screen: one promise, one price, two actions. */
.hero.hero-focused{max-width:1320px;grid-template-columns:minmax(0,.9fr) minmax(0,1.25fr);gap:44px;padding:58px 28px 76px;margin:0 auto;min-height:610px}
.hero-focused .hero-copy h1{font-size:clamp(36px,3.8vw,54px);line-height:1.09;letter-spacing:-1.8px;max-width:none;font-weight:650}
.hero-focused .hero-copy>.hero-benefit{font-size:18px;line-height:1.6;color:#425b70;max-width:39ch;margin:24px 0 0}
.hero-focused .hero-copy>.hero-price{display:flex;align-items:center;gap:14px;margin:26px 0 0;max-width:none;color:#153047}
.hero-price strong{font-size:30px;letter-spacing:-.8px;line-height:1.15}.hero-price span{font-size:13px;line-height:1.5;color:#425b70}
.hero-focused .hero-copy>.cta{margin-top:26px;gap:10px}.hero-focused .cta .button{padding:12px 18px;font-size:15px;min-height:46px}
.hero-focused .product-preview{padding:10px;background:#e5eef6;border-radius:13px;transform:none;box-shadow:0 18px 45px #17394e14}
.hero-focused .product-preview img{border-radius:6px}
@media(max-width:950px){.hero.hero-focused{gap:25px;padding:40px 24px 56px;min-height:560px}.hero-focused .hero-copy h1{font-size:38px}.hero-focused .hero-copy>.hero-benefit{font-size:16px}.hero-focused .cta .button{padding:11px 13px;font-size:14px}}
@media(max-width:700px){.hero.hero-focused{grid-template-columns:1fr;gap:30px;min-height:0;padding:30px 0 42px;margin-inline:20px}.hero-focused .hero-copy h1{font-size:clamp(31px,8.5vw,40px);letter-spacing:-1px;line-height:1.12}.hero-focused .hero-copy>.hero-benefit{font-size:16px;margin-top:18px;max-width:40ch}.hero-focused .hero-copy>.hero-price{margin-top:20px}.hero-focused .hero-copy>.cta{margin-top:22px;flex-wrap:wrap}.hero-focused .product-preview{padding:6px}.hero-focused .cta .button{font-size:14px;padding:12px 13px}}

.hero-focused .hero-copy>.hero-custom{font-size:18px;line-height:1.6;color:#425b70;margin-top:14px;max-width:39ch}.hero-focused .product-preview figcaption{font-size:13px;line-height:1.4;color:#334e63;padding:10px 6px 3px;text-align:center}
@media(max-width:950px){.hero-focused .hero-copy>.hero-custom{font-size:16px}}

.capture-status.is-recording{color:#b73551;font-weight:600;white-space:nowrap}.capture-status.is-recording::before{content:"";display:inline-block;width:6px;height:6px;border-radius:50%;background:currentColor;margin-right:5px;vertical-align:middle}

/* Classroom controls and whiteboard use the same compact visual vocabulary as LIVE. */
.call-head>.capture{align-self:center;align-items:center;gap:6px;justify-content:flex-end}
.call-head>.capture:has([data-act="capture-pause"]){width:auto;max-width:100%;flex:0 0 auto}
.call-head>.capture>[data-act="capture-pause"],.call-head>.capture>[data-act="capture-stop"]{flex:0 0 auto;min-height:36px;padding:7px 10px;white-space:nowrap;font-size:13px;overflow-wrap:normal}
.call-head>.capture>.capture-status{display:inline-flex;align-items:center;align-self:center;line-height:1.2;font-size:13px;margin:0 3px}
.call-head>.capture>.ai-trigger{flex:0 0 auto;min-height:36px;padding:7px 10px;font-size:13px;white-space:nowrap}
.boardbar{gap:5px;padding:8px;flex-wrap:wrap;align-items:center;row-gap:7px}.boardbar :is(button,select){min-height:32px;height:32px;padding:4px 8px;border-radius:5px;font-size:13px;white-space:nowrap}.boardbar .selected{background:#d9e8f7;border-color:#385b83}.board-modes,.board-format,.board-palette,.board-zoom,.board-end{display:flex;gap:4px;align-items:center}.board-size{display:flex;flex-direction:row;gap:4px;align-items:center;font-size:12px}.board-size select{width:62px}.board-palette button{width:19px;min-height:19px;height:19px;padding:0;border-radius:50%;border:1px solid #8d99a7;background:var(--swatch)}.board-palette button[aria-pressed=true]{outline:2px solid #385b83;outline-offset:2px}.board-end{margin-left:auto}.board-zoom button{padding:4px 7px}.board-zoom button:nth-child(2){min-width:48px}
.demo-board-scroll{overflow:auto;min-height:0;flex:1;background:white}.demo-board-sheet{position:relative;min-height:100%;background:white}.demo-board-sheet .board-editor{min-height:450px;overflow:visible;position:relative;padding:24px;font-size:20px;line-height:1.5}.board-editor img[alt="Whiteboard drawing"]{position:absolute;inset:0;width:100%;height:100%;pointer-events:none;object-fit:fill}#demo-board-drawing{position:absolute;inset:0;width:100%;height:100%;touch-action:none;cursor:crosshair}
.hero-focused .product-preview{padding:20px}.hero-focused .product-preview img{background:#f4f7fb}.hero-focused .product-preview figcaption{padding-top:14px}
@media(max-width:700px){.hero-focused .product-preview{padding:12px}.boardbar{gap:5px}.demo-board-sheet .board-editor{padding:16px}}

.board-format button:nth-child(1){font-weight:700}.board-format button:nth-child(2){font-style:italic}.board-format button:nth-child(3){text-decoration:underline}.board-format button:nth-child(4){text-decoration:line-through}

.plan{align-content:start;grid-template-rows:auto auto auto auto 1fr auto auto;gap:12px}.plan .plan-share{color:#286b97;font-weight:600}.plan-note{margin-top:18px;font-size:14px;color:#425b70;max-width:85ch}.ai-benefits{margin-top:40px}.ai-benefits>div{display:grid;grid-template-columns:1fr 1fr;gap:40px;margin-top:22px}.ai-benefits article{border-top:2px solid #76a7c4;padding-top:18px}.ai-benefits p{margin-top:10px;color:#425b70;max-width:65ch}.board-palette button{background-color:var(--swatch)!important}
@media(max-width:700px){.ai-benefits>div{grid-template-columns:1fr;gap:24px}.plan{grid-template-rows:none}}

.board-palette button:nth-child(1){background-color:#000000!important}.board-palette button:nth-child(2){background-color:#2860a0!important}.board-palette button:nth-child(3){background-color:#237650!important}.board-palette button:nth-child(4){background-color:#bd2948!important}.board-palette button:nth-child(5){background-color:#ed7d12!important}.board-palette button:nth-child(6){background-color:#d44591!important}

/* Distinct, full-width chapters in the existing Teacher Live palette. */
.landing-band{padding:72px 0}.landing-band>.section{margin:0 auto}.band-tools{background:#e4eef7}.band-ai{background:#fff}.band-setup{background:#edf3f8}.band-pricing{background:#f4f7fb}.band-next{background:#e4eef7}.band-heading{max-width:780px;margin-bottom:38px}.band-heading h2,.landing-band h2,.comparison-inner>h2{font-size:32px;line-height:1.2;letter-spacing:-.7px}.band-heading p{font-size:18px;color:#425b70;margin-top:16px}.band-tools .feature{border-top-color:#82a8c0}.band-tools .features{gap:38px}.band-tools .feature p{font-size:16px}.band-ai .ai-benefits{margin-top:0}.band-ai .ai-benefits>div{margin-top:32px;gap:50px}.band-ai .ai-benefits p{font-size:16px}.band-setup .installation-services{margin-top:0}.setup-intro{font-size:18px;color:#425b70;margin-bottom:20px}.band-pricing .ongoing-costs{margin-top:32px}.band-next .next-step{margin:0 0 38px}.band-next .faq-section{margin:0}
.comparison-band{background:#183d56;padding:72px 0;color:#fff}.comparison-inner.section{margin:0 auto;max-width:1100px}.comparison-inner>h2{margin-bottom:32px}.platform-comparison{display:grid;grid-template-columns:1fr 1fr;gap:22px}.comparison-platform{background:#fff;color:#153047;border-radius:12px;overflow:hidden;border:1px solid #c7d8e5}.comparison-platform header{padding:24px 26px;background:#eaf0f5;min-height:110px}.comparison-platform.teacher header{background:#d9ecf8}.comparison-platform h3{font-size:25px;letter-spacing:-.3px}.comparison-platform header p{font-size:14px;color:#425b70;margin-top:8px}.comparison-platform ul{list-style:none;margin:0;padding:6px 26px 18px}.comparison-platform li{display:flex;gap:13px;align-items:center;min-height:60px;padding:10px 0;border-bottom:1px solid #e0e8ef;line-height:1.4;font-size:16px}.comparison-platform li:last-child{border-bottom:0}.comparison-mark{display:inline-flex;align-items:center;justify-content:center;font-size:20px;font-weight:700;width:27px;height:27px;flex:0 0 27px;border-radius:50%}.comparison-mark.yes{color:#246b56;background:#e2f1eb}.comparison-mark.no{color:#975165;background:#f7e9ed}.comparison-note{font-size:13px;line-height:1.6;color:#d1dfeb;max-width:85ch;margin-top:24px}.comparison-note a{color:#fff;text-underline-offset:3px}
@media(max-width:700px){.landing-band,.comparison-band{padding:44px 0}.band-heading h2,.landing-band h2,.comparison-inner>h2{font-size:27px}.band-tools .features{gap:26px}.band-heading{margin-bottom:28px}.band-heading p,.setup-intro{font-size:16px}.platform-comparison{gap:10px}.comparison-platform header{padding:16px 12px;min-height:112px}.comparison-platform h3{font-size:19px}.comparison-platform header p{font-size:12px}.comparison-platform ul{padding:0 11px 10px}.comparison-platform li{font-size:12px;gap:7px;min-height:84px}.comparison-mark{font-size:17px;width:20px;height:20px;flex-basis:20px}.comparison-note{font-size:12px}.band-ai .ai-benefits>div{gap:26px}}

.band-next .landing-questions.section{margin:0;max-width:none;padding:0}

.band-pricing .ongoing-costs{grid-template-columns:minmax(280px,1fr) minmax(0,2.4fr);gap:28px}.band-pricing .ongoing-costs h2{font-size:26px;line-height:1.2}
@media(max-width:700px){.band-pricing .ongoing-costs{grid-template-columns:1fr;gap:14px}}

.comparison-platform.teacher{border:2px solid #74b8de;background:#f3f9fd}.comparison-platform.teacher header{background:#286b97;color:white}.comparison-platform.teacher h3{font-size:30px;font-weight:750}.comparison-platform.teacher header p{color:#fff;font-weight:600;max-width:35ch}.comparison-platform header{min-height:138px;display:flex;flex-direction:column;justify-content:center}.comparison-platform.zoom{background:#f7f9fb;border-color:#c8d4de}.comparison-platform.zoom h3{font-size:24px;font-weight:600;color:#4a6072}.comparison-platform.zoom header p{color:#7a4654;font-weight:600}.comparison-platform li{min-height:76px}.comparison-platform.teacher li{font-weight:500}.comparison-platform.teacher .comparison-mark.yes{background:#d6eee3;color:#1d684f}
@media(max-width:700px){.comparison-platform header{min-height:155px}.comparison-platform.teacher h3{font-size:23px}.comparison-platform.zoom h3{font-size:19px}.comparison-platform li{min-height:112px}.comparison-platform.teacher header p{font-size:12px}}

.comparison-platform.zoom{border-width:2px}.comparison-platform header{height:146px;min-height:146px}
@media(max-width:700px){.comparison-platform header{height:155px;min-height:155px}}

/* A shared feature set before package-specific seats and prices. */
.band-pricing .section-intro,.about-plans .plans-caption{margin-bottom:16px}
.package-capacity{font-size:clamp(20px,2.1vw,26px);font-weight:650;line-height:1.3;max-width:100%;margin-bottom:12px;color:#153047}
.package-same{font-size:16px;color:#425b70;margin-bottom:18px}
.package-features{list-style:none;padding:0;margin:0 0 30px;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px 24px}
.package-features li{display:flex;align-items:baseline;gap:10px;font-size:15px;line-height:1.45}
.package-features li::before{content:'✓';color:#237650;font-weight:700}
.plan .plan-setup{font-size:14px;color:#294d67;font-weight:600;line-height:1.45}
@media(max-width:700px){.package-features{grid-template-columns:1fr;gap:10px;margin-bottom:24px}.package-capacity{font-size:21px}}

.translation-entry{margin-bottom:8px}.translation-row{display:flex;align-items:center;border:1px solid var(--line);border-radius:7px;background:var(--surface)}.translation-row button{border:0;background:transparent;padding:7px 9px;min-height:32px;color:#17324d}.translation-row button:first-child{flex:1;display:flex;justify-content:flex-start;min-width:0;text-align:left}.translation-row button:first-child span:last-child{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.translation-entry>.ai-result{padding-top:10px}

/* Fill the simulated camera frame in both landscape and portrait layouts. */
.webcam-photo{top:50%;left:50%;transform:translate(-50%,-50%);width:max(100cqw,100cqh);height:max(100cqw,100cqh)}

/* Complete interface screenshots, never cropped; navigation remains readable on enlargement. */
.product-preview.hero-carousel{padding:12px;margin:0;min-width:0;background:#e4eef7;border:1px solid #c5d9e8;border-radius:18px}
.hero-carousel .carousel-stage{position:relative;display:block;width:100%;padding:0;aspect-ratio:16/10;background:#f4f7fb;overflow:hidden;border:1px solid #cad8e4;border-radius:10px;cursor:zoom-in}
.hero-carousel .carousel-stage img{display:block;width:100%;height:100%;object-fit:contain;border:0;border-radius:0}
.carousel-expand{position:absolute;right:10px;bottom:10px;background:#fffE;border-radius:6px;padding:2px 7px;color:#153047;font-size:22px}
.hero-carousel figcaption{padding:10px 0 0}.carousel-controls{display:flex;align-items:center;gap:10px}.carousel-controls>button{width:36px;height:36px;min-height:36px;padding:0;font-size:25px;border-radius:50%;flex-shrink:0}.carousel-caption{flex:1;text-align:center;font-size:14px;font-weight:600;color:#153047}.carousel-caption small{display:block;font-size:11px;font-weight:400;color:#486073;margin-top:2px}.carousel-dots{display:flex;justify-content:center;gap:4px;margin-top:4px}.carousel-dots button{padding:0;min-height:24px;width:24px;border:0;background:transparent}.carousel-dots button::after{content:'';width:6px;height:6px;border-radius:50%;background:#9fb8cb}.carousel-dots button[aria-current=true]::after{background:#286b97;width:18px;border-radius:5px}
.hero-lightbox{max-width:96vw;width:1500px;max-height:96dvh;padding:40px 12px 12px;background:#f4f7fb;border:1px solid #b7cddd;border-radius:12px}.hero-lightbox::backdrop{background:#102638D9}.hero-lightbox img{display:block;width:100%;max-height:calc(96dvh - 65px);object-fit:contain}.hero-lightbox form{position:absolute;right:8px;top:5px}.hero-lightbox form button{padding:0;width:30px;height:30px;font-size:22px}

/* Near-square camera frames preserve complete faces; compact demo setup in header. */
.call-head>.layout-picker{margin:0;justify-content:center;flex-wrap:wrap;gap:8px;flex:1}.call-head>.layout-picker button{font-size:12px;padding:8px}.call-title{flex-wrap:wrap;gap:10px}.video-grid.count-2{flex:0 0 auto;align-items:start;justify-content:center;grid-template-columns:repeat(2,minmax(0, min(50% - 5px, 58dvh)))}.video-grid.count-2>.tile{aspect-ratio:1;max-height:none}.webcam-photo{width:min(100cqw,100cqh);height:min(100cqw,100cqh)}.tiles-rail .tile{aspect-ratio:1}.call-shell:fullscreen .count-2 .tile{max-height:none}.call-shell:fullscreen .count-2{grid-template-columns:repeat(2,minmax(0,min(50% - 5px,76dvh)))}
@media(max-width:1000px){.call-head{flex-wrap:wrap}.call-head>.layout-picker{order:3;flex-basis:100%;justify-content:flex-start}.video-grid.count-2{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:700px){.call-head>.layout-picker{order:0}.video-grid.count-2>.tile{min-height:0}}
.video-grid.count-2>.tile{width:100%;height:auto;justify-self:stretch;aspect-ratio:1}.call-shell .video-grid.count-2{column-gap:10px}
.call-shell .video-grid.count-2{height:auto;min-height:0;grid-auto-rows:auto}.call-shell .video-grid.count-2>.tile{height:auto;min-height:0}

@media(min-width:801px){
.call-shell:fullscreen:has(.side) .call-layout:not(:has(.teaching-stage)){min-height:calc(100dvh - 115px)}
.call-shell:fullscreen:has(.side) .call-main:not(:has(.teaching-stage)){justify-content:center}
.call-shell:fullscreen:has(.side) .call-main:not(:has(.teaching-stage))>.video-grid{margin-block:auto;align-items:center}
.call-shell:fullscreen:has(.side) .capture>button{flex:0 0 auto;width:auto}
}

@media(min-width:801px){.hosted-shell:fullscreen .hosted-workspace{height:100dvh;min-height:0}.hosted-shell:fullscreen .header{display:none}.hosted-shell:fullscreen .hosted-main:not(.with-board):not(:has(#hosted-share:not([hidden]))){justify-content:center}}
@media(max-width:800px){.hosted-main.with-board{display:flex;flex-direction:column}.hosted-main.with-board>.hosted-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.hosted-main.with-board .hosted-tile{height:110px;min-height:0;aspect-ratio:auto}.hosted-main.with-board>.board{height:clamp(240px,45dvh,440px);min-height:240px}}
.hosted-clocks{display:flex;gap:8px;flex-wrap:wrap}.hosted-time{display:grid;gap:1px;padding:4px 8px;border-radius:8px;background:var(--soft,#e5edf4)}.hosted-time small{font-size:10px}.hosted-time time{font-size:14px;font-variant-numeric:tabular-nums;white-space:nowrap}#hosted-transcription-controls{display:inline-flex;gap:5px;align-items:center;flex-wrap:wrap}#hosted-transcription-controls small{font-size:11px;flex-basis:100%;text-align:right}#hosted-saved-lessons h2{margin:22px 0 12px}@media(max-width:700px){.hosted-clocks{flex-wrap:nowrap;max-width:100%;overflow-x:auto}.hosted-time{flex:none;padding:3px 5px}.hosted-time time{font-size:12px}#hosted-transcription-controls{justify-content:flex-end}#hosted-transcription-controls small{max-width:200px}}
.auth-dialog{width:min(440px,calc(100vw - 32px));max-width:440px;padding:26px;box-sizing:border-box;border:1px solid #c8dbe8;border-radius:18px;max-height:calc(100dvh - 32px);overflow:auto;background:#fff;color:#15354b}
.auth-dialog::backdrop,.video-dialog::backdrop{background:rgba(12,31,46,.55)}.auth-dialog .dialog-head{align-items:center;margin-bottom:20px;gap:16px}.auth-dialog .dialog-head h3{font-size:26px;line-height:1.2;margin:0}.auth-dialog .dialog-head button{min-width:36px;padding:6px}
.auth-tabs{display:flex;border-bottom:1px solid #c8dbe8;margin-bottom:20px;gap:22px}.auth-tabs button{flex:1;border:0;border-radius:0;padding:10px 0;background:transparent;color:#536f83;font-size:16px}.auth-tabs button[aria-selected=true]{border-bottom:3px solid #286f98;color:#15354b;font-weight:700}
.auth-google{display:flex;justify-content:center;align-items:center;gap:12px;min-height:46px;width:100%;box-sizing:border-box;background:#fff;color:#15354b;text-decoration:none}.google-g{font-weight:750;color:#286f98;font-size:20px}.auth-divider{display:flex;align-items:center;gap:12px;margin:18px 0;color:#536f83;font-size:13px}.auth-divider:before,.auth-divider:after{content:'';height:1px;background:#d8e4ec;flex:1}
.auth-dialog .modal-form{gap:14px;margin:0}.auth-dialog label{display:grid;gap:6px;font-size:14px}.auth-dialog input{width:100%;min-height:44px;box-sizing:border-box;font-size:16px;background:#fff;color:#15354b}.auth-dialog .primary{min-height:46px;width:100%;font-size:16px}.auth-note{font-size:13px;color:#536f83;line-height:1.5;margin:0}.auth-text{border:0;background:transparent;color:#286f98;padding:7px 0;text-align:center;min-height:36px}.auth-error{color:#a6213c;font-size:14px;margin:0;line-height:1.45}.auth-sent{line-height:1.6}.auth-address{display:block;overflow-wrap:anywhere;margin:14px 0 22px}.auth-dialog .cta{justify-content:flex-end}
.video-dialog{width:min(960px,calc(100vw - 28px));max-width:960px;border:1px solid #c8dbe8;border-radius:16px;padding:20px;box-sizing:border-box}.video-dialog .walkthrough-content h2,.video-dialog .video-context{display:none}.video-dialog .video-slot{aspect-ratio:16/9}.video-dialog .video-slot iframe,.video-dialog .video-slot video{width:100%;height:100%}.video-dialog .dialog-head{margin-bottom:12px}
@media(max-width:480px){.auth-dialog{padding:20px}.auth-dialog .dialog-head h3{font-size:24px}.auth-tabs{margin-bottom:16px}.auth-dialog .modal-form{gap:12px}}
/* The signed-in overview has its own layout, independent of the landing page. */
/* Compact cabinet overview keeps all plans and meeting actions together. */
.cabinet-overview{--cabinet-ink:#15354b;--cabinet-muted:#435f73;--cabinet-line:#cadae6;--cabinet-paper:#fff;--cabinet-wash:#e4eff6;max-width:1400px;margin-inline:auto;padding:0;display:grid;gap:22px;color:var(--cabinet-ink);font-size:15px;line-height:1.45}
.cabinet-overview :is(h1,h2,h3,p){margin:0}
.cabinet-overview h1{font-size:clamp(25px,2.2vw,34px);line-height:1.15;letter-spacing:-.025em}
.cabinet-overview h2{font-size:24px;line-height:1.2}
.cabinet-overview h3{font-size:17px;line-height:1.3}
.cabinet-overview p{color:var(--cabinet-muted);font-size:15px;line-height:1.45}
.cabinet-welcome{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:22px 26px;background:var(--cabinet-wash);border-radius:14px}
.cabinet-welcome>div:first-child{min-width:0;flex:1}
.cabinet-welcome p{margin-top:8px;max-width:65ch}
.cabinet-actions{display:flex;flex-wrap:wrap;gap:10px;flex-shrink:0}
.cabinet-actions :is(button,a){min-height:40px;font-size:14px;padding:9px 13px;white-space:nowrap}
.cabinet-plans>header{display:flex;align-items:end;justify-content:space-between;flex-wrap:wrap;gap:10px 20px;margin-bottom:14px}
.cabinet-plans h2+p{margin-top:6px}
.cabinet-capacity{white-space:nowrap}
.cabinet-plan-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}
.cabinet-plan{display:grid;align-content:start;gap:8px;padding:18px 20px;border:1px solid var(--cabinet-line);border-radius:12px;background:var(--cabinet-paper);overflow-wrap:anywhere}
.cabinet-price{display:block;font-size:34px;line-height:1.15;letter-spacing:-.025em}
.cabinet-overview .cabinet-cost{margin-top:12px;font-size:14px}
.cabinet-contact{border-top:1px solid var(--cabinet-line);padding-top:16px;display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:12px}
.cabinet-contact h2{font-size:22px}
@media(min-width:1101px){main.workspace:has(.cabinet-overview){padding:20px 24px}}
@media(max-width:1100px){.cabinet-welcome{align-items:flex-start;flex-direction:column;gap:14px}.cabinet-overview{gap:18px}}
@media(max-width:900px){.cabinet-plan-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:480px){.cabinet-plan-grid{grid-template-columns:minmax(0,1fr)}.cabinet-plan{padding:16px}.cabinet-welcome{padding:18px}.cabinet-actions{width:100%}.cabinet-actions>*{width:100%;text-align:center}}

/* Give four callers a two-by-two gallery on phones. */
@media(max-width:800px),(max-width:950px) and (max-height:500px){
 .call-main .video-grid:has(>.tile:nth-child(4):last-child),
 .hosted-main:not(.with-board)>.hosted-grid:has(>.hosted-tile:nth-child(4):last-child){
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
 }
 .call-main .video-grid:has(>.tile:nth-child(4):last-child)>.tile,
 .hosted-main:not(.with-board)>.hosted-grid:has(>.hosted-tile:nth-child(4):last-child)>.hosted-tile{
  aspect-ratio:1!important;
  min-height:0!important;
 }
}

.language-switch a {padding:7px 9px;border-radius:6px;font-size:12px;font-weight:700;line-height:1.2;color:#536e82;text-decoration:none}
.language-switch a.active {background:#fff;color:#175e84;box-shadow:0 1px 4px #1530471c}
.language-switch a:focus-visible {outline:2px solid #286b97;outline-offset:1px}
.seo-guides ul {display:flex;flex-wrap:wrap;gap:.65rem 2rem;padding-left:1.25rem}
.seo-guide {max-width:48rem;margin-inline:auto;line-height:1.65}
.seo-guide h1 {font-size:clamp(1.8rem,5vw,3rem);line-height:1.14}
.seo-guide article section {margin-block:2rem}

@media(max-width:800px),(max-width:950px) and (max-height:500px){
 .hosted-controls {position:relative!important;bottom:auto!important}
}

/* Classroom framing matches the 16:9 LIVE stage for one or two cameras. */
.call-main>.video-grid:is(.count-1,.count-2),
.hosted-main:not(.with-board)>.hosted-grid:has(>.hosted-tile:only-child,>.hosted-tile:nth-child(2):last-child){
 width:100%;height:auto;min-height:0;max-width:none;gap:10px;
 grid-auto-rows:auto;align-items:center;justify-content:center;margin-inline:auto;
}
.call-main>.video-grid.count-1,
.hosted-main:not(.with-board)>.hosted-grid:has(>.hosted-tile:only-child){
 width:min(100%,900px,calc(63dvh * 16 / 9));
 grid-template-columns:minmax(0,1fr);
}
.call-main>.video-grid.count-2,
.hosted-main:not(.with-board)>.hosted-grid:has(>.hosted-tile:nth-child(2):last-child){
 grid-template-columns:repeat(2,minmax(0,1fr));
}
.call-main>.video-grid:is(.count-1,.count-2)>.tile,
.hosted-main:not(.with-board)>.hosted-grid:has(>.hosted-tile:only-child,>.hosted-tile:nth-child(2):last-child)>.hosted-tile{
 width:100%;height:auto;min-height:0;max-height:none;aspect-ratio:16/9;
}
.tile:has(#local-camera)::before {content:none}
#local-camera,.hosted-tile video {object-fit:contain;background:#182330}
#local-camera[hidden] {display:none}
.camera-empty {position:absolute;inset:0;display:grid;place-items:center;padding:1rem;text-align:center;background:#233448;color:#fff}
.tile:has(#local-camera:not([hidden]))>.camera-empty {display:none}
.call-main>.controls button img {display:block;width:21px;height:21px;margin:auto}
.call-main>.controls button.leave img {filter:brightness(0) invert(1)}
.peer-clock[hidden] {display:none}
.peer-clock {border-radius:10px;background:#e8f4fb;padding:4px 10px}

/* Allocate the camera stage independently from the toolbar and side panels. */
.call-main > .video-grid .webcam-photo,
.teaching-stage > .tiles-rail .webcam-photo {
 width:min(100cqw,100cqh);height:min(100cqw,100cqh);
}
.call-main > .video-grid > .tile,
.teaching-stage > .tiles-rail > .tile {min-width:0;min-height:0}

@media (min-width:801px) and (min-height:501px), (min-width:951px) {
 .call-shell .call-main > .video-grid {
  width:100%;max-width:none;height:var(--demo-stage-height,420px)!important;
  flex:none;align-content:center;align-items:center;
 }
 .call-shell .call-main > .video-grid.count-1 {
  --solo-height:min(var(--demo-stage-height,420px),570px);
  height:var(--solo-height)!important;
  grid-template-columns:minmax(0,min(100%,calc(var(--solo-height) * 16 / 9)));
 }
 .call-shell .call-main > .video-grid.count-2 {
  grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:minmax(0,1fr);
 }
 .call-shell .call-main > .video-grid.count-2 > .tile {
  max-height:100%;width:min(100%,calc(var(--demo-stage-height,420px) * 16 / 9));
  grid-row:auto;justify-self:center;
 }
 .call-shell .call-main > .video-grid.count-2[data-layout="balanced"] {
  width:var(--pair-width,100%);
 }
 .call-shell .call-main > .video-grid[data-layout]:not([data-layout="balanced"]) {
  grid-template-columns:var(--focus-main) repeat(var(--focus-columns),var(--focus-thumb));
  grid-template-rows:repeat(var(--focus-rows),var(--focus-thumb));
 }
 .call-shell .call-main > .video-grid[data-layout]:not([data-layout="balanced"]) > .tile {
  grid-column:auto;grid-row:auto!important;aspect-ratio:1;max-height:none;width:100%;height:100%;
 }
 .call-shell .call-main > .video-grid[data-layout]:not([data-layout="balanced"]) > .layout-primary {
  grid-column:1;grid-row:1 / -1!important;
  height:min(var(--demo-stage-height),calc(var(--focus-main) / 1.5));aspect-ratio:3/2;
 }
 .call-shell .call-main > .teaching-stage {
  height:var(--demo-stage-height,420px);min-height:0;max-height:none;flex:none;
 }
 .call-shell .teaching-stage {
  justify-content:center;gap:14px;
 }
 .call-shell .teaching-stage > .tiles-rail {
  --rail-rows:1;
  --rail-columns:2;
  display:grid;grid-template-columns:repeat(var(--rail-columns),var(--rail-edge));
  grid-auto-rows:var(--rail-edge);align-content:start;
  width:max-content;max-width:42%;min-width:0;overflow:visible;
  --rail-edge:min(230px,calc((100cqw * .42 - 10px) / 2),calc((var(--demo-stage-height,420px) - 10px * (var(--rail-rows) - 1)) / var(--rail-rows)));
 }
 .call-shell .teaching-stage {container-type:inline-size}
 .call-shell .teaching-stage > .tiles-rail:not(:has(>.tile:nth-child(3))) {--rail-columns:1}
 .call-shell .teaching-stage > .tiles-rail:has(>.tile:nth-child(2):last-child) {--rail-rows:2}
 .call-shell .teaching-stage > .tiles-rail:has(>.tile:nth-child(3)) {--rail-rows:2}
 .call-shell .teaching-stage > .tiles-rail:has(>.tile:nth-child(5)) {--rail-rows:3}
 .call-shell .teaching-stage > .tiles-rail > .tile {
  width:100%;height:100%;min-height:0;max-height:none;aspect-ratio:1;
 }
 .call-shell .teaching-stage > .board {flex:1 1 0;min-width:0;max-width:920px}

}

.settings-language {display:flex;align-items:center;flex-wrap:wrap;gap:10px 16px;margin-top:16px}
.settings-card .links {justify-content:flex-start;margin:0}
.links .linkbox button,.links > button {align-self:center;min-height:34px;padding:6px 11px;font-size:13px}

.calendar-heading .calendar-tools,.calendar-modes,.calendar-navigation {
 display:flex;align-items:center;gap:8px;
}
.calendar-navigation strong {text-align:center}
.calendar-modes button[aria-pressed="true"] {border-color:#236689;background:#e8f2fb;color:#173f63;font-weight:700}
.calendar-heading .calendar-tools {flex-wrap:wrap}

.call-shell .call-main > .controls {
 width:100%;margin-inline:auto;flex-wrap:nowrap!important;
 justify-content:safe center;overflow-x:auto;
}
.call-shell .call-main > .controls > .control {flex-shrink:0}


/* Keep the entire camera frame visible at every tile aspect ratio. */
.call-main .tile #local-camera {object-fit:contain;object-position:center}
.call-main .tile.camera-wide #local-camera {
 position:absolute;inset:0 auto 0 50%;translate:-50% 0;
 width:min(100%,calc(100cqh * var(--camera-ratio)));height:100%;
 object-fit:cover;object-position:center;
}
.call-main :is(.video-grid,.tiles-rail) .webcam-photo {
 width:min(100cqw,100cqh);height:min(100cqw,100cqh);
}

.history-heading {flex-wrap:wrap;gap:12px 20px}
.history-heading > .links {margin:0 0 0 auto}
@media(max-width:800px) {
 .history-heading > .links {margin:0;justify-content:flex-start}
}


/* The board and compact camera gallery share a centred teaching area. */
.teaching-stage .demo-board-sheet .board-editor {text-align:center}
.call-shell :is(.video-grid,.tiles-rail)[data-count="5"] .tile .name {
 font-size:11px;line-height:1.15;padding:4px 6px;bottom:6px;left:6px;
 max-width:calc(100% - 12px);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;
}
@media (min-width:801px) and (min-height:501px), (min-width:951px) {
 .call-shell .teaching-stage > .board {max-width:800px}
 .call-shell .teaching-stage > .tiles-rail:has(>.portrait-0):not([data-count="1"]) {
  --guest-rows:1;
  --rail-edge:min(150px,calc((100cqw * .42 - 10px) / 2),calc((var(--demo-stage-height) - 10px * var(--guest-rows)) / (var(--guest-rows) + 1.35)));
  grid-template-columns:repeat(2,var(--rail-edge));
  grid-template-rows:calc(var(--rail-edge) * 1.35);
 }
 .call-shell .teaching-stage > .tiles-rail:has(>.portrait-0):is([data-count="4"],[data-count="5"]) {--guest-rows:2}
 .call-shell .teaching-stage > .tiles-rail:has(>.portrait-0):not([data-count="1"]) > .portrait-0 {
  grid-column:1 / -1;aspect-ratio:auto;
 }
}


@media (min-width:801px) and (min-height:501px), (min-width:951px) {
 .call-shell:fullscreen .call-layout {min-height:0}
 .call-shell:fullscreen .call-main > .video-grid {margin-block:0}
 .call-shell:fullscreen .teaching-stage {justify-content:stretch}
 .call-shell:fullscreen .teaching-stage > .board {max-width:none}
 .call-shell:fullscreen .teaching-stage > .tiles-rail {
  max-width:45%;
  --rail-edge:min(calc((100cqw * .45 - 10px) / 2),calc((var(--demo-stage-height) - 10px * (var(--rail-rows) - 1)) / var(--rail-rows)));
 }
 .call-shell:fullscreen .teaching-stage > .tiles-rail:has(>.portrait-0):not([data-count="1"]) {
  --rail-edge:min(calc((100cqw * .45 - 10px) / 2),calc((var(--demo-stage-height) - 10px * var(--guest-rows)) / (var(--guest-rows) + 1.35)));
 }
 .call-shell:fullscreen .teaching-stage > .tiles-rail[data-count="2"]:has(>.portrait-0) > .tile:not(.portrait-0) {
  grid-column:1 / -1;width:calc(var(--rail-edge) * 1.1);justify-self:center;
  height:auto;
 }
 .call-shell:fullscreen .teaching-stage > .tiles-rail[data-count="2"]:has(>.portrait-0) {
  --rail-edge:min(calc((100cqw * .45 - 10px) / 2),calc((var(--demo-stage-height) - 10px) / 2.45));
  grid-auto-rows:calc(var(--rail-edge) * 1.1);
 }
}

/* Shared room entry stays beside page titles throughout the cabinet. */
.room-entry{background:#b83250;border-color:#b83250;color:#fff;font-weight:600}
.room-entry:hover{background:#9f2944;border-color:#9f2944;color:#fff}
.room-heading,.history-heading{flex-wrap:wrap;align-items:center;gap:12px 20px}
:is(.room-heading,.history-heading)>.links{margin:0 0 0 auto;align-items:center}
:is(.room-heading,.history-heading)>.links .linkbox{padding:8px 10px;gap:10px}
:is(.room-heading,.history-heading)>.links button{padding:8px 12px;min-height:36px}
.calendar-heading{justify-content:flex-end}
@media(max-width:800px){:is(.room-heading,.history-heading)>.links{margin:0;justify-content:flex-start}}

/* Put the invitation beside the demo, and explain the purchase before the limits. */
.cabinet-overview{gap:18px}
.cabinet-welcome{display:grid;grid-template-columns:1fr 1fr;align-items:start;gap:28px;padding:20px 24px}
.cabinet-welcome h1{font-size:clamp(25px,2vw,30px)}
.cabinet-welcome h2{font-size:22px;line-height:1.25}
.cabinet-welcome p{font-size:14px;margin-top:8px;max-width:62ch}
.cabinet-welcome .cabinet-actions{margin-top:14px}
.cabinet-meet{border-left:1px solid #c4d7e4;padding-left:28px}
.cabinet-plans>header{margin-bottom:10px}
.cabinet-included{display:grid;grid-template-columns:250px 1fr;align-items:center;gap:18px;padding:12px 16px;margin-bottom:12px;border-left:3px solid #286b97;background:#eaf2f8;border-radius:0 8px 8px 0}
.cabinet-included h3{font-size:16px}
.cabinet-included p{font-size:14px;line-height:1.45;max-width:95ch}
.cabinet-plan{padding:16px 18px;gap:6px}
.cabinet-plan p{font-size:14px}
.cabinet-price{font-size:32px}
.cabinet-plan-limits{display:grid;gap:5px;margin-top:6px;padding-top:10px;border-top:1px solid #e1e9ef}
.cabinet-overview .cabinet-cost{margin-top:10px}
@media(max-width:1000px){.cabinet-welcome{grid-template-columns:1fr;gap:20px}.cabinet-meet{padding-left:0;border-left:0;padding-top:18px;border-top:1px solid #c4d7e4}.cabinet-included{grid-template-columns:1fr;gap:6px}}
@media(max-width:480px){.cabinet-welcome{padding:18px}.cabinet-included{padding:12px}.cabinet-welcome .cabinet-actions{gap:8px}}

@media(min-width:1001px){
 .cabinet-overview{max-width:1460px;gap:14px}
 .cabinet-welcome{padding:14px 20px;gap:24px}
 .cabinet-welcome h1{font-size:28px}
 .cabinet-welcome h2{font-size:20px}
 .cabinet-welcome p{font-size:13px;line-height:1.4;margin-top:6px}
 .cabinet-welcome .cabinet-actions{margin-top:10px}
 .cabinet-welcome .cabinet-actions :is(button,a){min-height:36px;padding:8px 12px;font-size:13px}
 .cabinet-meet{padding-left:24px}
 .cabinet-plans>header h2{font-size:22px}
 .cabinet-included{grid-template-columns:300px 1fr;padding:10px 14px;gap:14px;margin-bottom:10px}
 .cabinet-included h3{font-size:15px}
 .cabinet-included p{font-size:13px;line-height:1.4}
 .cabinet-plan{padding:14px 16px;gap:4px}
 .cabinet-plan h3{font-size:16px}
 .cabinet-price{font-size:30px}
 .cabinet-plan p{font-size:13px;line-height:1.4}
 .cabinet-plan-limits{margin-top:4px;padding-top:8px;gap:4px}
 .cabinet-overview .cabinet-cost{font-size:13px;margin-top:8px}
}

@media(min-width:1001px){main.workspace:has(.cabinet-overview){padding:16px 24px}}

@media(min-width:1001px){.page-shell:has(.cabinet-overview){margin-block:10px}}
