:root{font-family:var(--font-ui);color:var(--ui-text);background:var(--ui-bg);color-scheme:light;font-synthesis:none;font-weight:400;--ui-bg:#eef2f7;--ui-surface:#f9fcff;--ui-panel:#f1f5f9;--ui-raised:#fcfdff;--ui-input:#fcfdff;--ui-text:#20313a;--ui-secondary:#4d626b;--ui-muted:#60717a;--ui-line:#d9e2e9;--ui-line-strong:#b8c2ca;--ui-accent:#1422db;--ui-on-accent:#ffffff;--ui-accent-ink:#1422db;--ui-accent-soft:#e2e6fb;--ui-accent-border:#1422db;--ui-focus:#1422db;--ui-danger:#a34e31;--ui-danger-soft:#f0e9e8;--ui-on-danger:#ffffff;--ui-stage:#e9eff6;--ui-paper:#fafcff;--ui-grid:#e3eaef;--ui-axis:#718692;--ui-shadow:#1b2a5012;--ui-backdrop:#17244266;--paper:var(--ui-bg);--white:var(--ui-surface);--ink:var(--ui-text);--muted:var(--ui-muted);--line:var(--ui-line);--teal-soft:var(--ui-accent-soft);--coral:var(--ui-danger);--radius:10px}
*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{cursor:default;opacity:.35}button{color:inherit}a{color:inherit}button,input,select,textarea{outline:none}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #c98a67;outline-offset:3px}[hidden]{display:none!important}.icon{display:block;width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}.icon-sprite{position:absolute;width:0;height:0;overflow:hidden}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.muted{color:#9aa49c}.eyebrow{font-size:10px;font-weight:650;letter-spacing:1.8px;color:#748375}.button{min-height:43px;padding:10px 17px;border:1px solid transparent;border-radius:7px;display:inline-flex;align-items:center;justify-content:center;gap:9px;font-size:13px;font-weight:600;line-height:1.2;transition:background .15s,transform .15s,border-color .15s}.button:active:not(:disabled){transform:translateY(1px)}.primary{color:#fff;background:var(--ink)}.primary:hover:not(:disabled){background:#1d5148}.outline{border-color:#dce1d7;background:transparent}.outline:hover:not(:disabled){background:#f1f3ec;border-color:#c8d1c2}.compact{min-height:35px;padding:8px 11px;font-size:12px;gap:7px}.compact .icon{width:17px;height:17px}.full-width{width:100%}.icon-button{display:inline-flex;align-items:center;justify-content:center;width:36px;height:36px;padding:7px;border:1px solid transparent;border-radius:7px;background:transparent;flex-shrink:0}.icon-button:hover:not(:disabled){background:#ebeee6}.icon-button.small{width:30px;height:32px;padding:6px}.icon-button.small .icon{width:18px;height:18px}.quiet{color:#818c83}.brand{display:inline-flex;align-items:center;gap:11px;text-decoration:none;color:var(--ink);font-size:25px;font-weight:700;letter-spacing:-1.1px;white-space:nowrap}.brand-mark{width:41px;height:41px;background:var(--ink);border-radius:11px;display:grid;place-items:center;color:#f8f6eb}.brand-mark .icon{width:28px;height:28px;stroke-width:1.7}.brand-dot{color:var(--coral)}

.landing{min-height:100dvh;padding:0 6%;overflow:hidden;max-width:1800px;margin:auto}.landing-header{height:105px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #dfe4d9}.landing-tag{font-size:12px;color:#7a867b;letter-spacing:.3px}.welcome-layout{display:grid;grid-template-columns:.91fr 1.09fr;gap:5%;align-items:center;min-height:calc(100dvh - 169px);padding:44px 0 55px}.welcome-copy{padding-left:2px;position:relative}.welcome-copy .eyebrow{display:flex;align-items:center;gap:9px;font-size:11px;letter-spacing:1.15px;text-transform:uppercase}.small-star{font-size:21px;line-height:1;color:var(--coral)}.welcome-copy h1{font-size:clamp(42px,4.2vw,68px);font-weight:430;letter-spacing:-2.4px;line-height:1.06;margin:23px 0 19px;color:var(--ink)}.welcome-copy h1 em{font-family:var(--font-ui);font-style:normal;font-weight:400;font-size:1.035em;color:#647958}.welcome-description{font-size:14px;line-height:1.75;color:#7c867a;margin:0 0 28px}.create-form{max-width:360px}.form-heading{font-size:14px;font-weight:650;margin-bottom:17px;letter-spacing:-.1px}.create-form label,.stacked-field{display:flex;flex-direction:column;gap:7px;font-size:11px;font-weight:500;line-height:1.5;color:#6e7c70;margin-bottom:12px}.create-form input,.stacked-field input,.stacked-field select{width:100%;background:#fcfcf8;border:1px solid #dfe4d8;border-radius:6px;color:var(--ink);height:42px;padding:10px 12px;font-size:13px;font-weight:400}.create-form input::placeholder,input::placeholder,textarea::placeholder{color:#9ca496}.create-form input:hover{border-color:#c4cebc}.create-button{width:100%;justify-content:space-between;margin-top:5px;height:47px;padding:12px 16px}.form-footnote{display:flex;align-items:center;justify-content:center;gap:6px;color:#8b9388;font-size:10px;margin:13px 0 0}.form-footnote .icon{width:13px;height:13px}.form-error{font-size:12px;color:#b25141;line-height:1.5}.welcome-visual{position:relative;align-self:center;padding:30px 10px 20px 0;min-width:0;transform:translateY(3px)}.visual-corner{font-size:10px;letter-spacing:2.3px;color:#8b9587;text-align:right;margin:0 14px 24px 0}.demo-sheet{background:#fffefa;border:1px solid #dfe3d7;border-radius:3px;box-shadow:0 15px 45px #30412a09,7px 7px 0 #eceee4;transform:rotate(-2deg);padding:25px 24px 27px;position:relative}.demo-sheet-heading{display:flex;align-items:center;font-size:10px;color:#8e978a;gap:10px}.demo-page-number{font-family:var(--font-lesson);font-size:18px;color:#80906f}.demo-dot{height:5px;width:5px;border-radius:50%;background:#c2cbaa;margin-left:auto}.demo-title{font-family:var(--font-lesson);font-size:clamp(18px,1.9vw,28px);letter-spacing:-.3px;color:#4c6143;margin-top:21px}.math-illustration{display:block;width:100%;height:auto;margin-top:5px}.demo-formula{text-align:center;font-family:Georgia,"Times New Roman",serif;font-style:italic;font-size:clamp(27px,3vw,43px);color:#416144;margin:-7px 0 25px;letter-spacing:3px}.demo-formula sup{font-size:.55em}.demo-formula span{color:var(--coral);padding:0 7px}.demo-note{display:flex;align-items:center;gap:9px;font-size:10px;color:#9aa18e;letter-spacing:.2px}.note-line{width:24px;height:1px;background:#d1d9bd}.floating-pencil{position:absolute;left:-25px;top:155px;width:57px;height:57px;border-radius:13px;background:var(--ink);color:white;box-shadow:0 7px 12px #123b3518;display:grid;place-items:center;transform:rotate(10deg)}.floating-pencil .icon{width:27px;height:27px}.demo-cursor{position:absolute;right:19%;bottom:135px;color:var(--coral);transform:rotate(-4deg)}.demo-cursor .icon{width:27px;height:27px;fill:var(--coral);stroke:#fff;stroke-width:1.1}.demo-cursor span{display:block;margin:0 0 0 20px;background:var(--coral);border-radius:4px 5px 5px 5px;padding:5px 11px;color:#fff;font-size:11px;box-shadow:0 3px 9px #a0564320}.visual-bottom{display:flex;align-items:center;justify-content:space-between;margin:29px 10px 0;font-size:10px;color:#8c9686;letter-spacing:.3px}.visual-spark{font-size:37px;color:#c8d1b3;line-height:1}.landing-footer{height:64px;display:flex;justify-content:space-between;align-items:center;border-top:1px solid #dfe4d9;font-size:10px;color:#98a08f;letter-spacing:.25px}

.workspace{height:100dvh;min-height:480px;overflow:hidden;background:var(--paper);display:flex;flex-direction:column}.workspace-header{height:76px;flex:0 0 76px;padding:0 23px;display:flex;align-items:center;gap:22px;border-bottom:1px solid var(--line);background:#fdfdf9;z-index:20}.workspace-brand{font-size:23px;gap:9px}.workspace-brand .brand-mark{width:34px;height:34px;border-radius:9px}.workspace-brand .brand-mark .icon{width:24px;height:24px}.header-divider{width:1px;height:29px;background:var(--line)}.room-heading{min-width:100px;flex:1}.room-title-input{font-size:15px;font-weight:600;margin:0 0 7px;line-height:1;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;max-width:420px;letter-spacing:-.25px}.room-meta{display:flex;align-items:center;gap:8px;color:#8b958b;font-size:10px;white-space:nowrap}.role-badge{color:#71826e}.connection-status{display:inline-flex;gap:5px;align-items:center}.connection-status::before{content:"";width:5px;height:5px;border-radius:50%;background:#9cae7a}.connection-status.offline::before,.connection-status.is-offline::before,.connection-status.error::before{background:var(--coral)}.header-actions{display:flex;align-items:center;gap:6px}.header-actions .primary{padding:10px 13px;min-height:36px}.participants{display:flex;align-items:center;gap:4px;margin-right:10px}.participant,.participant-avatar{display:grid;place-items:center;width:29px;height:29px;border:2px solid #fdfdf9;border-radius:50%;background:#e5eada;color:#476142;font-size:10px;font-weight:600;box-shadow:0 0 0 1px #d9e1ce}.participant+.participant{margin-left:-8px}.workspace-body{display:flex;flex:1;min-height:0}.tool-rail{width:66px;flex:0 0 66px;background:#fdfdf9;border-right:1px solid var(--line);padding:13px 10px 9px;display:flex;flex-direction:column;align-items:center;gap:9px;overflow-y:auto;scrollbar-width:none;z-index:10}.tool-group{display:flex;flex-direction:column;align-items:center;gap:2px;width:100%;padding-bottom:9px;border-bottom:1px solid #edf0e8}.tool-group:last-of-type{border:0;padding-bottom:0}.tool-button{display:grid;place-items:center;width:40px;height:36px;flex-shrink:0;border:1px solid transparent;border-radius:7px;color:#6c7d6f;background:transparent;position:relative;transition:background .12s,color .12s}.tool-button .icon{width:21px;height:21px}.tool-button:hover{background:#edf1e6;color:var(--ink)}.tool-button.active,.tool-button.is-active,.tool-button[aria-pressed=true]{background:#e2e9d9;border-color:#d7e0cb;color:var(--ink)}.rail-bottom{margin-top:auto;padding-top:7px}.board-area{display:flex;flex-direction:column;flex:1;min-width:0;min-height:0}.properties-bar{height:55px;flex:0 0 55px;border-bottom:1px solid var(--line);display:flex;align-items:center;gap:14px;padding:0 17px;background:#fdfdf9;overflow-x:auto;overflow-y:hidden;scrollbar-width:none;white-space:nowrap}.history-actions{display:flex;gap:2px}.property-divider{display:block;flex-shrink:0;width:1px;height:19px;background:var(--line)}.color-swatches{display:flex;align-items:center;gap:6px}.color-swatch{width:19px;height:19px;border:3px solid #fdfdf9;border-radius:50%;padding:0;background:var(--swatch);box-shadow:0 0 0 1px transparent}.color-swatch:hover{box-shadow:0 0 0 1px #b0baaa}.color-swatch.active,.color-swatch.is-active{box-shadow:0 0 0 1px #829479}.custom-color{width:21px;height:21px;position:relative;display:grid;place-items:center;border:1px solid #dfe5d8;border-radius:50%;font-size:17px;color:#9aa58f;overflow:hidden}.custom-color input{position:absolute;inset:0;width:100%;height:100%;opacity:0;cursor:pointer}.field-caption{font-size:10px;color:#899381}.width-control{display:flex;align-items:center;gap:8px}.width-control input{width:56px;height:3px;accent-color:var(--ink)}.width-control output{font-size:10px;color:#687a60;min-width:10px}.fill-control{display:flex;align-items:center;gap:5px}.fill-control input[type=checkbox],.dashed-control input{appearance:none;width:12px;height:12px;background:#fff;border:1px solid #cbd4c1;border-radius:3px;cursor:pointer;margin:0}.fill-control input[type=checkbox]:checked,.dashed-control input:checked{background:var(--ink);border-color:var(--ink);box-shadow:inset 0 0 0 2px white}.fill-control input[type=color]{width:18px;height:18px;padding:0;border:0;background:transparent;cursor:pointer}.fill-control input[type=color]::-webkit-color-swatch-wrapper{padding:2px}.fill-control input[type=color]::-webkit-color-swatch{border:1px solid #c7d1bd;border-radius:2px}.dashed-control{display:flex;align-items:center;gap:5px}.dash-preview{display:block;width:19px;border-top:2px dashed #75866c}.object-actions{display:flex;gap:1px;margin-left:auto}.canvas-surround{position:relative;flex:1;min-height:0;background:#ebece4;overflow:hidden;background-image:radial-gradient(#bfc8b55c .65px,transparent .65px);background-size:13px 13px}.canvas-label{position:absolute;left:23px;top:12px;display:flex;align-items:center;gap:6px;font-size:10px;letter-spacing:1.65px;color:#9aa78f;pointer-events:none}.live-dot{width:4px;height:4px;border-radius:50%;background:#a1b585}.board-stage{position:absolute;inset:33px 24px 24px;background:#fff;box-shadow:0 2px 9px #45563d08,0 0 0 1px #dce1d1;border-radius:3px;overflow:hidden;isolation:isolate;touch-action:none}.board-stage canvas{display:block;touch-action:none}.remote-cursors{position:absolute;inset:0;pointer-events:none;overflow:hidden;z-index:4}.remote-cursor{position:absolute;left:0;top:0;pointer-events:none;color:var(--cursor-color,#cc785e);will-change:transform;transition:transform .08s linear}.remote-cursor::before{content:"";display:block;width:0;height:0;border-left:9px solid currentColor;border-top:16px solid transparent;transform:rotate(-20deg);transform-origin:0 0;filter:drop-shadow(1px 0 1px #fff)}.remote-cursor span{position:absolute;left:11px;top:13px;padding:3px 7px;background:var(--cursor-color,#cc785e);color:white;font-size:10px;border-radius:3px;white-space:nowrap}.remote-cursor.laser::before,.remote-cursor.is-laser::before{border:0;width:12px;height:12px;border-radius:50%;background:#e55e4c;box-shadow:0 0 0 5px #e55e4c25,0 0 14px #e55e4c80}.connection-notice{position:absolute;top:13px;left:50%;transform:translateX(-50%);padding:10px 16px;background:#fff5dd;color:#886635;border:1px solid #f0ddac;border-radius:6px;z-index:15;font-size:12px;max-width:90%;white-space:nowrap;box-shadow:0 3px 13px #5b502115}.readonly-notice{position:absolute;bottom:36px;left:50%;transform:translateX(-50%);display:flex;align-items:center;gap:7px;padding:10px 15px;background:#fdfdf8f0;box-shadow:0 4px 20px #173d2c10;border:1px solid #dfe6d5;border-radius:7px;font-size:11px;white-space:nowrap;z-index:5;color:#78826f;pointer-events:none}.readonly-notice .icon{width:14px;height:14px}.board-footer{height:64px;flex:0 0 64px;background:#fdfdf9;border-top:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;gap:15px;padding:0 17px}.page-navigation{display:flex;align-items:center;gap:13px;min-width:0}.pages-caption{font-size:10px;font-weight:650;letter-spacing:1.3px;color:#a0aa95}.pages-list{display:flex;align-items:center;gap:7px;min-width:0;max-width:450px;overflow-x:auto;scrollbar-width:none;padding:4px 1px}.page-button,.page-tab,.page-item{display:flex;align-items:center;justify-content:center;min-width:42px;height:37px;max-width:120px;padding:8px 11px;border:1px solid #e0e5d6;border-radius:5px;background:#fff;color:#8b9982;font-size:11px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;flex-shrink:0}.page-button.active,.page-tab.active,.page-item.active,.pages-list button[aria-current=true]{background:#edf1e6;border-color:#8b9e79;color:var(--ink);box-shadow:0 0 0 1px #edf1e6 inset}.add-page{color:#839475;width:29px;height:32px}.add-page .icon{width:17px;height:17px}.zoom-control{display:flex;align-items:center;gap:3px;flex-shrink:0}.zoom-control>span:not(.property-divider){font-size:10px;color:#7d8b72;min-width:39px;text-align:center}.zoom-control .property-divider{height:16px;margin:0 5px}

.side-panel{width:287px;flex:0 0 287px;min-height:0;background:#fdfdf9;border-left:1px solid var(--line);display:flex;flex-direction:column;z-index:15;transition:margin .2s}.side-panel.collapsed,.side-panel.is-collapsed{display:none}.panel-heading{padding:25px 22px 21px;display:flex;align-items:center;justify-content:space-between}.panel-heading .eyebrow{font-size:10px;letter-spacing:1.7px;color:#a2ac97}.panel-heading h2{font-family:var(--font-ui);font-size:27px;font-weight:400;letter-spacing:-.7px;color:#3c573c;margin:9px 0 0}.panel-decoration{font-size:40px;color:#b7c5a2;line-height:1}.panel-tabs{display:flex;border-bottom:1px solid var(--line);padding:0 21px;gap:17px}.panel-tab{position:relative;flex:1;min-height:37px;border:0;background:transparent;color:#9da78f;padding:0 0 13px;font-size:11px;font-weight:500;white-space:nowrap}.panel-tab.active,.panel-tab.is-active{color:var(--ink)}.panel-tab.active::after,.panel-tab.is-active::after{content:"";height:2px;background:#526c43;position:absolute;bottom:-1px;left:0;right:0;border-radius:1px}.panel-scroll{flex:1;min-height:0;overflow-y:auto;scrollbar-width:thin;scrollbar-color:#d5ddca transparent}.panel-section{padding:21px 21px 20px;border-bottom:1px solid #e8ecdf}.panel-section:last-child{border-bottom:0}.section-heading{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:15px}.section-heading h3{font-size:12px;font-weight:600;letter-spacing:-.1px;margin:0;color:#52684b}.section-heading .icon{width:16px;height:16px}.side-panel .stacked-field{font-size:10px;gap:6px;color:#98a28b;margin-bottom:11px}.side-panel .stacked-field input,.side-panel .stacked-field select{background:#f7f8f2;height:35px;font-size:11px;border-color:#e4e8dc;padding:7px 10px;border-radius:5px;color:#677a5c}.text-button{border:0;background:transparent;padding:3px 0;display:inline-flex;align-items:center;gap:5px;font-size:10px}.text-button .icon{width:12px;height:12px}.danger-text{color:#a88c7f}.danger-text:hover{color:#b95746}.property-fields{display:grid;grid-template-columns:1fr 1fr;gap:11px}.paired-actions{display:flex;gap:7px}.paired-actions .button{flex:1;font-size:10px;min-height:31px;color:#8c9b7d;border-color:#e5eadb;gap:5px}.paired-actions .icon{width:13px;height:13px}.timer-section{background:#f6f7ef}.timer-section .section-heading{margin-bottom:12px}.timer-display{display:block;font-family:var(--font-ui);font-size:40px;font-weight:300;font-variant-numeric:tabular-nums;letter-spacing:1px;text-align:center;color:#527047;margin:4px 0 15px}.timer-controls{display:flex;align-items:center;gap:7px}.timer-input{display:flex;align-items:center;border:1px solid #dfe6d4;border-radius:5px;background:#fff;flex:1;min-width:0;overflow:hidden;height:33px}.timer-input input{width:44px;min-width:0;padding:7px 0 7px 9px;border:0;background:transparent;font-size:11px;color:#647b57;-moz-appearance:textfield}.timer-input input::-webkit-inner-spin-button{appearance:none}.timer-input span{font-size:10px;color:#9aa58e;padding-right:10px}.timer-controls .icon-button{width:30px;height:31px;color:#8b9d7a}.timer-controls .icon-button .icon{width:16px;height:16px}.timer-controls .primary{background:#536d45;min-height:33px;font-size:10px;gap:6px;padding:8px 11px}.timer-controls .primary .icon{width:11px;height:11px;fill:currentColor}.switch-row{display:flex;align-items:center;gap:10px;position:relative;margin-top:17px;cursor:pointer}.switch-row>span:first-child{flex:1;display:flex;flex-direction:column;gap:5px}.switch-row strong{font-size:11px;font-weight:500;color:#748368}.switch-row small{font-size:10px;color:#a5ad99}.switch-row input{position:absolute;right:0;width:30px;height:20px;margin:0;opacity:0;cursor:pointer;z-index:1}.switch-track{width:29px;height:17px;background:#dfe5d7;border-radius:10px;position:relative;flex-shrink:0;transition:background .15s}.switch-track::before{content:"";position:absolute;top:3px;left:3px;width:11px;height:11px;background:#fff;border-radius:50%;box-shadow:0 1px 3px #49633c12;transition:transform .15s}.switch-row input:checked+.switch-track{background:#728d59}.switch-row input:checked+.switch-track::before{transform:translateX(12px)}.switch-row input:focus-visible+.switch-track{outline:3px solid #c98a67;outline-offset:3px}.panel-footnote{padding:14px 18px;display:flex;align-items:center;justify-content:center;gap:5px;border-top:1px solid #e9eddf;color:#a6b098;font-size:10px;white-space:nowrap}.panel-footnote .icon{width:11px;height:11px}.small-tag{background:#edf0e5;color:#95a285;font-size:10px;letter-spacing:.5px;padding:3px 5px;border-radius:3px}.formula-input{display:block;resize:vertical;min-height:66px;width:100%;font-family:Consolas,monospace;font-size:12px;padding:10px;line-height:1.6;color:#4a6742;background:#f6f8f0;border:1px solid #dfe6d3;border-radius:5px;margin-bottom:10px}.field-hint{font-size:10px;line-height:1.65;color:#a4ad99;margin:10px 0 0}.symbols-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:6px}.symbols-grid button{height:34px;border:1px solid #e4e9d9;border-radius:5px;background:#f8f9f3;color:#6f855e;font-family:Georgia,serif;font-size:19px}.symbols-grid button:hover{background:#e9efde;border-color:#ccd8bb}.graph-field{display:flex;align-items:center;border:1px solid #dfe6d3;border-radius:5px;background:#f6f8f0;padding:0 10px;margin-bottom:10px}.graph-field>span{font-family:Georgia,serif;font-style:italic;color:#7c906c;font-size:17px;padding-right:8px;white-space:nowrap}.graph-field input{width:100%;border:0;min-width:0;background:transparent;padding:10px 0;color:#4c6842;font-family:Consolas,monospace;font-size:12px}.geometry-tools{display:grid;grid-template-columns:1fr 1fr;gap:7px}.utility-card{border:1px solid #e3e8d9;background:#f8f9f3;color:#7b8f6a;border-radius:5px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;padding:12px 5px;font-size:10px;min-height:75px}.utility-card:hover{background:#edf2e3;border-color:#cbd8b9}.utility-card .icon{width:25px;height:25px}.utility-card.wide{grid-column:1/-1;flex-direction:row;min-height:41px;padding:8px;gap:9px}.utility-card.wide .icon{width:19px;height:19px}.template-list{display:flex;flex-direction:column;gap:6px}.template-list button{background:#f8f9f3;border:1px solid #e6ebdc;border-radius:5px;padding:8px 10px;display:flex;align-items:center;gap:10px;font-size:10px;color:#829174;text-align:left}.template-list button:hover{background:#edf2e3}.template-list button>.icon{width:13px;height:13px;margin-left:auto}.template-glyph{font-size:21px;color:#849e6a;font-family:Georgia,serif;width:24px;text-align:center;line-height:1}.fraction-glyph{font-size:24px}.section-description{font-size:10px;line-height:1.75;color:#9aa58c;margin:-3px 0 15px}.file-actions{display:flex;flex-direction:column;gap:7px}.file-action{display:flex;align-items:center;gap:9px;background:#f8f9f2;border:1px solid #e3e9d9;border-radius:6px;padding:11px 9px;text-align:left}.file-action:hover{background:#edf2e3}.file-action-icon{background:#e8efdd;color:#7d9764;display:grid;place-items:center;width:33px;height:35px;border-radius:5px;flex-shrink:0}.file-action-icon .icon{width:19px;height:19px}.file-action-icon.coral{background:#f6e9df;color:#c28b6a}.file-action>span:nth-child(2){display:flex;flex-direction:column;gap:4px;flex:1}.file-action strong{font-size:10px;font-weight:500;color:#6a805b}.file-action small{font-size:10px;color:#a5af99}.file-action>.icon{width:13px;height:13px;color:#a3b08f}.panel-section>.button+.button{margin-top:8px}.export-options{display:flex;gap:6px}.export-options .button{flex:1;min-width:0;padding:8px 7px;gap:5px;font-size:10px}.export-options .icon{width:13px;height:13px}.danger-outline{color:#af8671;border-color:#e9d9cb;background:transparent;font-size:10px}.danger-outline:hover{background:#fbf0e8;border-color:#dec1b0}

.app-dialog{width:min(480px,calc(100vw - 32px));padding:30px;border:1px solid #dfe4d5;border-radius:14px;background:#fdfdf8;color:var(--ink);box-shadow:0 30px 110px #16392c25;max-height:calc(100dvh - 40px);overflow-y:auto}.app-dialog::backdrop{background:#18372b55;backdrop-filter:blur(3px)}.dialog-header{display:flex;align-items:center;justify-content:space-between;margin-bottom:20px}.dialog-icon{background:#e9efdf;width:43px;height:43px;border-radius:10px;display:grid;place-items:center;color:#647d50}.dialog-icon .icon{width:25px;height:25px}.app-dialog h2{font-family:var(--font-ui);font-size:29px;font-weight:400;letter-spacing:-.7px;margin:0 0 13px;line-height:1.2}.app-dialog .eyebrow{font-size:10px;letter-spacing:1.3px;margin-bottom:12px}.dialog-description{font-size:12px;line-height:1.8;color:#8b9980;margin:0 0 24px}.app-dialog .stacked-field{color:#839474;font-size:11px}.app-dialog .stacked-field input{background:#f6f8f0}.share-url-row{display:flex;gap:8px}.share-url-row input{width:100%;min-width:0;border:1px solid #dce5d0;border-radius:6px;background:#f5f8ed;padding:11px;font-size:11px;color:#647a53}.share-url-row .button{font-size:11px;padding:10px 12px;gap:6px}.share-url-row .icon{width:16px;height:16px}.share-warning{background:#fbefdf;border:1px solid #ecd9ba;padding:12px;border-radius:6px;color:#a08355;font-size:11px;line-height:1.7;margin:17px 0 0}.dialog-actions{display:flex;justify-content:flex-end;gap:9px;margin-top:24px}.small-dialog{width:min(420px,calc(100vw - 32px))}.help-dialog{width:min(520px,calc(100vw - 32px))}.shortcut-grid{display:grid;grid-template-columns:1fr auto;align-items:center;gap:12px 10px;color:#819473;font-size:11px}.shortcut-grid>div{display:flex;gap:5px;align-items:center;justify-content:flex-end}kbd{font-family:inherit;font-size:10px;background:#f0f4e8;border:1px solid #dfe7d3;border-bottom-width:2px;border-radius:4px;display:inline-block;padding:4px 6px;color:#6e855b;white-space:nowrap}.shortcut-grid>kbd{justify-self:end}.help-tip{display:flex;align-items:flex-start;gap:8px;border-top:1px solid #e1e8d6;padding-top:18px;font-size:10px;line-height:1.8;color:#9aa78d;margin:21px 0 0}.help-tip .icon{width:15px;height:15px;flex-shrink:0;margin-top:2px}.toast-region{position:fixed;bottom:83px;left:50%;transform:translateX(-50%);display:flex;flex-direction:column;align-items:center;gap:8px;z-index:100;pointer-events:none}.toast{padding:12px 18px;max-width:min(540px,calc(100vw - 30px));background:#183e33;color:#f5f7eb;box-shadow:0 5px 22px #173b3026;border-radius:8px;font-size:12px;line-height:1.55;animation:toast-in .18s ease-out;pointer-events:auto}.toast.error{background:#9d5946}.toast.warning{background:#8c713b}.busy-overlay{position:fixed;inset:0;display:grid;place-items:center;background:#f6f5f0b8;backdrop-filter:blur(3px);z-index:90}.busy-card{display:flex;align-items:center;gap:14px;background:#fdfdf8;border:1px solid #dee6d0;border-radius:12px;padding:24px 30px;box-shadow:0 8px 40px #21483210;font-size:13px;color:#71885d}.busy-card p{margin:0}.loading-spinner{width:23px;height:23px;border:2px solid #dfe7d4;border-top-color:#66844c;border-radius:50%;animation:spin .8s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}@keyframes toast-in{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}

@media(min-width:1600px){.welcome-layout{gap:7%;grid-template-columns:1fr 1.1fr}.welcome-copy{padding-left:4%}.welcome-copy h1{font-size:72px}.create-form{max-width:390px}.demo-sheet{padding:32px}.side-panel{width:310px;flex-basis:310px}.panel-section{padding:22px 25px}.panel-heading{padding-left:25px;padding-right:25px}.panel-tabs{padding:0 25px}.board-stage{inset:37px 30px 28px}}@media(max-height:820px) and (min-width:901px){.landing-header{height:84px}.welcome-layout{min-height:calc(100dvh - 139px);padding:29px 0 35px}.welcome-copy h1{font-size:clamp(42px,4vw,60px);margin-top:19px;margin-bottom:14px}.welcome-description{margin-bottom:20px;font-size:13px}.welcome-copy .eyebrow{font-size:10px}.create-form label{margin-bottom:9px}.create-form input{height:37px;font-size:12px}.form-heading{margin-bottom:13px}.create-button{height:42px;min-height:42px}.form-footnote{font-size:10px}.landing-footer{height:55px}.demo-sheet{padding-top:20px;padding-bottom:21px}.demo-title{margin-top:15px}.demo-formula{margin-bottom:18px}.tool-rail{gap:6px;padding-top:9px}.tool-group{gap:1px;padding-bottom:6px}.tool-button{height:32px}.rail-bottom{padding-top:2px}.panel-heading{padding-top:20px;padding-bottom:17px}.panel-heading h2{font-size:25px}.panel-section{padding-top:17px;padding-bottom:17px}.section-heading{margin-bottom:12px}.side-panel .stacked-field{margin-bottom:9px}.timer-display{font-size:34px;margin-bottom:10px}.switch-row{margin-top:14px}}@media(max-width:1200px){.landing{padding:0 5%}.welcome-layout{gap:4%}.welcome-copy h1{font-size:clamp(40px,4.5vw,58px)}.welcome-copy .eyebrow{letter-spacing:.5px;font-size:10px}.visual-corner{font-size:10px;letter-spacing:1.6px}.demo-sheet{padding:22px 18px}.demo-title{font-size:22px}.demo-formula{font-size:33px}.side-panel{width:262px;flex-basis:262px}.panel-heading,.panel-section{padding-left:17px;padding-right:17px}.panel-tabs{padding:0 17px;gap:13px}.properties-bar{gap:10px;padding:0 11px}.width-control .field-caption{display:none}.color-swatches{gap:4px}.object-actions{gap:0}.workspace-header{padding:0 16px;gap:17px}.workspace-brand{font-size:21px}.participants{margin-right:6px}.header-actions{gap:3px}.room-title-input{max-width:300px}.pages-caption{display:none}.page-navigation{gap:8px}.board-footer{padding:0 12px}.board-stage{left:18px;right:18px}.tool-rail{width:58px;flex-basis:58px;padding-left:7px;padding-right:7px}.fill-control .field-caption{display:none}.dashed-control{display:none}.form-footnote{font-size:10px}}
@media(max-width:1000px){.workspace-header{height:69px;flex-basis:69px}.workspace-brand>span:last-child{display:none}.header-divider{display:none}.workspace-header{gap:12px}.header-actions .primary span{display:none}.header-actions .primary{width:36px;padding:8px}.room-meta{gap:6px}.side-panel{position:absolute;top:69px;right:0;bottom:0;width:280px;box-shadow:-8px 0 30px #27462c10}.workspace-body{position:relative}.side-panel{top:0}.board-stage{inset:32px 20px 20px}.properties-bar{gap:13px}.width-control .field-caption{display:inline}.fill-control .field-caption{display:inline}.dashed-control{display:flex}.object-actions{margin-left:auto}.board-footer{padding:0 18px}.board-area{padding-right:280px}.workspace.panel-collapsed .board-area{padding-right:0}.workspace:has(.side-panel[hidden]) .board-area,.workspace:has(.side-panel.collapsed) .board-area,.workspace:has(.side-panel.is-collapsed) .board-area{padding-right:0}.room-title-input{max-width:300px}.welcome-layout{grid-template-columns:1fr 1fr;gap:5%}.welcome-copy h1{font-size:44px;letter-spacing:-1.8px}.welcome-copy .eyebrow{font-size:10px}.welcome-description{font-size:12px}.demo-title{font-size:18px}.demo-sheet{padding:18px 13px}.demo-sheet-heading{font-size:10px;gap:7px}.demo-page-number{font-size:16px}.visual-corner{font-size:10px;letter-spacing:1.1px}.demo-formula{font-size:28px;letter-spacing:2px}.demo-note{font-size:10px;gap:6px}.visual-bottom{font-size:10px}.floating-pencil{width:45px;height:45px;left:-18px;top:140px}.floating-pencil .icon{width:23px;height:23px}.demo-cursor{bottom:112px;right:16%}.demo-cursor span{font-size:10px}.demo-cursor .icon{width:23px;height:23px}.landing-tag{font-size:10px}}
@media(max-width:760px){.landing{padding:0 6%}.landing-header{height:80px}.landing-header .brand{font-size:23px}.landing-header .brand-mark{width:36px;height:36px}.landing-tag{display:none}.welcome-layout{grid-template-columns:1fr;gap:35px;min-height:auto;padding:37px 0 40px}.welcome-copy{padding:0}.welcome-copy h1{font-size:clamp(44px,9vw,65px);line-height:1.05;letter-spacing:-1.8px;margin:19px 0 18px}.welcome-copy .eyebrow{font-size:10px;letter-spacing:.7px}.welcome-description{font-size:13px;margin-bottom:25px}.create-form{max-width:100%}.create-form input{height:43px;font-size:13px}.create-form label{margin-bottom:14px}.form-heading{margin-bottom:17px}.create-button{height:47px}.form-footnote{font-size:10px}.welcome-visual{max-width:540px;width:100%;margin:0 auto;padding:15px 7px 0 7px;transform:none}.visual-corner{font-size:10px;letter-spacing:1.3px;margin-bottom:20px}.demo-sheet{padding:23px 22px}.demo-title{font-size:23px}.demo-sheet-heading{font-size:10px}.demo-formula{font-size:37px;margin-bottom:22px}.demo-note{font-size:10px}.visual-bottom{margin-top:25px;font-size:10px}.floating-pencil{top:140px;left:-12px}.demo-cursor{bottom:125px}.landing-footer{height:auto;min-height:65px;gap:15px;align-items:flex-start;justify-content:space-between;padding:18px 0;font-size:10px;line-height:1.6}.landing-footer span:last-child{text-align:right;max-width:130px}.workspace{min-height:420px}.workspace-header{height:62px;flex-basis:62px;padding:0 12px;gap:10px}.workspace-brand .brand-mark{width:31px;height:31px;border-radius:8px}.workspace-brand .brand-mark .icon{width:22px;height:22px}.room-title-input{font-size:13px;margin-bottom:6px;max-width:45vw}.room-meta{font-size:10px;gap:4px}.meta-separator,#save-status{display:none}.header-actions{gap:1px}.header-actions .icon-button{width:31px;height:33px;padding:6px}.header-actions .icon{width:18px;height:18px}.header-actions .primary{width:31px;height:33px;min-height:33px;padding:6px}.participants{display:none}.header-actions .quiet{display:none}.workspace-body{display:grid;grid-template-columns:1fr;grid-template-rows:1fr 54px;position:relative}.tool-rail{grid-row:2;grid-column:1;width:100%;height:54px;flex:none;flex-direction:row;justify-content:center;gap:6px;padding:6px 10px calc(6px + env(safe-area-inset-bottom));border-right:0;border-top:1px solid var(--line);overflow-y:hidden;overflow-x:auto;align-items:center}.tool-group{width:auto;flex-direction:row;gap:2px;padding-bottom:0;padding-right:6px;border-bottom:0;border-right:1px solid #e6ebdc;flex-shrink:0}.tool-group:last-of-type{padding-right:0}.tool-button{width:31px;height:34px;border-radius:6px;flex:none}.tool-button .icon{width:19px;height:19px}.rail-bottom{margin-top:0;margin-left:0;padding-top:0}.board-area{grid-row:1;grid-column:1;padding-right:0!important}.side-panel{top:0;bottom:0;width:285px;max-width:92vw;border-top:0;box-shadow:-10px 0 45px #173f3120}.properties-bar{height:47px;flex-basis:47px;padding:0 10px;gap:10px}.width-control .field-caption,.fill-control .field-caption,.dashed-control{display:none}.width-control{gap:5px}.width-control input{width:43px}.color-swatches{gap:4px}.color-swatch{width:18px;height:18px}.object-actions{margin-left:auto}.object-actions #lock-object-btn{display:none}.property-divider{height:17px}.properties-bar .icon-button.small{width:28px;padding:5px}.canvas-label{font-size:10px;left:13px;top:10px;letter-spacing:1.3px}.board-stage{inset:28px 12px 13px;border-radius:2px}.board-footer{height:52px;flex-basis:52px;padding:0 10px;gap:8px}.pages-list{max-width:45vw;gap:5px}.page-button,.page-tab,.page-item{min-width:32px;height:29px;padding:5px 8px;font-size:10px;max-width:85px}.page-navigation{gap:3px}.zoom-control{gap:0}.zoom-control .icon-button.small{width:26px;height:30px}.zoom-control>span:not(.property-divider){font-size:10px;min-width:33px}.zoom-control .property-divider{margin:0 3px}.zoom-control .icon{width:16px;height:16px}.readonly-notice{bottom:23px;padding:8px 10px;font-size:10px;max-width:90%;white-space:normal;text-align:center;line-height:1.5}.connection-notice{font-size:10px;white-space:normal;text-align:center;line-height:1.5;width:85%}.toast-region{bottom:120px}.app-dialog{padding:25px}.app-dialog h2{font-size:26px}.share-url-row{flex-direction:column}.share-url-row .button{align-self:flex-end;min-height:37px}.share-url-row input{height:41px}.shortcut-grid{font-size:10px;gap:10px 6px}kbd{font-size:10px;padding:4px 5px}}
@media(max-width:470px){.tool-rail{justify-content:flex-start;gap:4px}.tool-group{gap:0;padding-right:4px}.tool-button{width:28px}.tool-button .icon{width:18px;height:18px}.rail-bottom{display:none}.properties-bar{gap:7px}.properties-bar .history-actions{gap:0}.color-swatch{width:17px;height:17px}.color-swatches{gap:3px}.custom-color{width:18px;height:18px}.width-control input{width:32px}.properties-bar .icon-button.small{width:25px;height:30px;padding:5px}.properties-bar .icon-button.small .icon{width:16px;height:16px}.fill-control{display:none}.object-actions #duplicate-btn{display:none}.properties-bar .property-divider{margin:0 1px}.room-title-input{max-width:44vw}.welcome-copy h1{font-size:43px}.welcome-copy .eyebrow{font-size:10px}.demo-title{font-size:20px}.demo-sheet{padding:20px 15px}.demo-formula{font-size:32px}.visual-corner{font-size:10px;letter-spacing:1px}.visual-bottom{font-size:10px;letter-spacing:0}.demo-cursor{bottom:108px}.landing-footer{font-size:10px}}
.room-title-input{display:block;width:min(100%,420px);padding:0;border:0;border-radius:3px;background:transparent;color:var(--ink);font-family:inherit;outline-offset:4px}.room-title-input:not([readonly]):hover{background:#f1f4e8}.room-title-input:focus{background:#f1f4e8}.form-error:empty{display:none}.page-thumb{display:flex;align-items:center;gap:8px;min-width:106px;max-width:180px;height:37px;padding:6px 11px;border:1px solid #e0e5d6;border-radius:5px;background:#fff;color:#8b9982;font-size:10px;white-space:nowrap;flex-shrink:0}.page-thumb>span:last-child{overflow:hidden;text-overflow:ellipsis}.page-thumb-number{display:grid;place-items:center;min-width:21px;height:23px;font-size:11px;color:#9aa78a;font-variant-numeric:tabular-nums;border-right:1px solid #e8ecdf;padding-right:8px}.page-thumb.is-active{background:#edf1e6;border-color:#8b9e79;color:var(--ink)}.page-thumb.is-active .page-thumb-number{color:#60794e;border-right-color:#d3dec6}.participant-avatar{background:color-mix(in srgb,var(--avatar-color,#91a77c) 15%,#fff);color:var(--avatar-color,#557344);border-color:#fdfdf9;box-shadow:0 0 0 1px color-mix(in srgb,var(--avatar-color,#91a77c) 30%,#fff)}.participant-avatar+.participant-avatar{margin-left:-8px}.icon-button.is-active{color:#315d3a;background:#e2ebd8;border-color:#c8d6b9}.toast.toast-error{background:#9d5946}.timer-display.is-finished{color:#be7458}.remote-cursor.is-laser span{background:#d8765d}.side-panel.is-collapsed{display:none}.call-panel{position:absolute;right:38px;bottom:37px;z-index:8;width:261px;max-height:calc(100% - 66px);overflow:auto;border:1px solid #dce4d1;border-radius:10px;background:#fdfdf9f5;box-shadow:0 5px 25px #20462914;backdrop-filter:blur(10px);scrollbar-width:thin;scrollbar-color:#d5ddca transparent}.call-heading{display:flex;align-items:center;gap:8px;padding:11px 11px 10px}.call-heading-icon{display:grid;place-items:center;width:29px;height:29px;background:#edf2e2;border:1px solid #e1e8d4;border-radius:7px;color:#7a9463;flex-shrink:0}.call-heading-icon .icon{width:17px;height:17px}.call-heading>div{min-width:0;flex:1}.call-heading strong{font-size:10px;font-weight:600;display:block;color:#607a4e;line-height:1.4}.call-heading #call-status{display:block;margin-top:3px;font-size:10px;color:#9ca98e;line-height:1.5;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.call-heading .icon-button.small{width:25px;height:27px;color:#98a68a;flex-shrink:0}.call-heading .icon-button.small .icon{width:15px;height:15px}.call-body{padding:0 10px 10px}.call-join{width:100%;min-height:33px;font-size:10px;color:#768e60;border-color:#dfe7d2;gap:7px;background:#f5f8ee}.call-join .icon{width:13px;height:13px}.call-footnote{color:#a6b096;font-size:10px;line-height:1.6;text-align:center;margin:8px 2px 0}.call-participants{display:grid;grid-template-columns:1fr 1fr;gap:6px;max-height:290px;overflow:auto;margin-bottom:9px}.call-participants:empty{display:none}.call-video-tile{position:relative;aspect-ratio:4/3;background:#193e32;border:1px solid #264b3c;border-radius:6px;overflow:hidden}.call-video-tile:only-child{grid-column:1/-1;aspect-ratio:16/9}.call-video-tile video{display:block;width:100%;height:100%;object-fit:contain;background:#183b31}.call-video-name{position:absolute;bottom:0;left:0;right:0;display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;padding:7px 6px 5px;font-size:10px;color:#eff5e7;background:linear-gradient(transparent,#102e26d9)}.call-video-tile.is-connecting .call-video-name::before{content:"";display:inline-block;width:4px;height:4px;background:#bbcf96;border-radius:50%;margin-right:4px;vertical-align:middle}.call-play{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);padding:7px 9px;white-space:nowrap;background:#f8fbf0;border:0;border-radius:5px;font-size:10px;color:#315b39}.call-controls{display:flex;align-items:center;justify-content:center;gap:7px}.call-controls:not(:has(button:not([hidden]))){display:none}.call-controls .icon-button{width:34px;height:31px;border:1px solid #e0e8d3;background:#f0f5e6;color:#718b5b;border-radius:6px;position:relative}.call-controls .icon-button .icon{width:16px;height:16px}.call-controls .icon-button.is-muted{background:#f7f2ec;color:#ba9b81;border-color:#ebded1}.call-controls .icon-button.is-muted::after{content:"";position:absolute;width:21px;height:1px;background:currentColor;transform:rotate(-45deg)}.call-controls .icon-button.is-active{background:#dbe9cf;border-color:#9db88a;color:#4f743b}.call-controls .call-leave{background:#faeee7;border-color:#eed8cb;color:#bb8062}.call-control-divider{width:1px;height:18px;background:#e5ebdb}.call-controls:not(:has(button:not([hidden]))) .call-control-divider{display:none}.call-panel.is-collapsed .call-body,.call-panel.collapsed .call-body{display:none}.call-panel.is-collapsed .call-heading .icon-button .icon,.call-panel.collapsed .call-heading .icon-button .icon{transform:rotate(180deg)}.call-panel.is-collapsed .call-heading,.call-panel.collapsed .call-heading{padding-bottom:11px}.call-panel:has(.call-video-tile) .call-footnote{display:none}
@media(max-width:1000px){.room-title-input{width:min(100%,300px)}.call-panel{right:31px;bottom:31px;width:238px}.call-heading strong{font-size:10px}.call-panel .call-heading #call-status{font-size:10px}}
@media(max-width:760px){.room-title-input{width:100%}.page-thumb{height:29px;min-width:65px;max-width:110px;padding:4px 7px;gap:5px;font-size:10px}.page-thumb-number{font-size:10px;min-width:17px;height:19px;padding-right:5px}.call-panel{right:21px;bottom:22px;width:222px;max-height:calc(100% - 50px)}.call-heading{padding:8px}.call-heading-icon{width:25px;height:25px}.call-body{padding:0 8px 8px}.call-heading #call-status{max-width:149px}.call-panel.is-collapsed .call-heading,.call-panel.collapsed .call-heading{padding-bottom:8px}.call-controls{gap:6px}.call-controls .icon-button{height:30px;width:33px}.call-join{font-size:10px;min-height:30px}.call-participants{max-height:190px}.call-footnote{font-size:10px;margin-top:6px}.call-video-name{font-size:10px}.call-control-divider{margin:0 2px}}
.call-heading strong{font-size:12px}.call-heading #call-status{font-size:10px}.call-join{font-size:12px;min-height:36px}.call-footnote{font-size:10px}.call-video-name{font-size:10px}.call-controls .icon-button{width:36px;height:36px}.call-play{font-size:10px}
@media(max-width:1000px){.call-heading strong{font-size:12px}.call-panel .call-heading #call-status{font-size:10px}}
@media(max-width:760px){.call-heading strong{font-size:12px}.call-panel .call-heading #call-status{font-size:10px}.call-join{font-size:11px;min-height:35px}.call-footnote{font-size:10px}.call-video-name{font-size:10px}.call-controls .icon-button{width:36px;height:36px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;animation-duration:.01ms!important;transition-duration:.01ms!important}}
/* Product readability and lesson library. Functional labels remain legible at normal zoom. */
:root{--muted:#5c6b60}.button{font-size:14px;min-height:44px}.compact{font-size:13px;min-height:40px}.icon-button{width:44px;height:44px}.icon-button.small{width:38px;height:38px}.tool-button{min-width:40px;min-height:40px}.tool-rail{overflow-y:auto}.eyebrow{font-size:11px;color:#596c5a}.welcome-description{font-size:16px;color:#52684f}.landing-tag,.form-footnote,.landing-footer{font-size:12px;color:#586a55}.create-form label,.stacked-field{font-size:13px;color:#52684f}.create-form input,.stacked-field input,.stacked-field select{height:46px;font-size:15px}.room-meta{font-size:12px;color:#586b59}.role-badge{color:#52664e}.room-title-input{font-size:17px}.section-header h3,.section-heading,.field-caption,.side-panel label,.sidebar-section h3{font-size:13px;color:#405d40}.side-panel input,.side-panel select,.side-panel textarea{font-size:14px;min-height:40px}.side-panel p,.field-hint,.hint,.panel-footer,.help-tip{font-size:12px;color:#586c54;line-height:1.6}.page-thumb{font-size:12px;min-height:40px}.page-thumb-number{font-size:12px}.call-panel{width:300px}.call-heading strong{font-size:13px}.call-heading #call-status{font-size:11px;color:#526b49}.call-join{font-size:13px;min-height:44px}.call-footnote{font-size:11px;color:#5f7258;line-height:1.55}.call-controls .icon-button{height:40px;width:40px}.call-video-name{font-size:11px}.call-play{font-size:12px;min-height:36px}.call-quality{margin:8px 0 0;font-size:12px;color:#477338}.call-quality.is-weak{color:#965333}.media-setting{display:flex;align-items:center;gap:12px;border:1px solid #dce3d5;border-radius:10px;padding:14px;margin:12px 0;cursor:pointer}.media-setting-icon{width:36px;color:#527247}.media-setting>span:nth-child(2){flex:1}.media-setting strong,.media-setting small{display:block}.media-setting strong{font-size:15px}.media-setting small{font-size:12px;color:#5a6c53;margin-top:4px}.media-setting input{width:22px;height:22px;accent-color:#123b35}.small-dialog .field-hint{font-size:12px;line-height:1.6;color:#5a6c53}.recent-lessons{border-top:1px solid var(--line);padding:35px 0 45px}.library-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:22px}.library-heading h2{font:400 34px Georgia,serif;margin:10px 0;color:var(--ink)}.library-actions{display:flex;gap:8px;flex-wrap:wrap}.recent-lessons-list{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;max-height:490px;overflow:auto;padding:3px}.lesson-card{position:relative;background:#fffefa;border:1px solid #dce3d5;border-radius:12px;transition:border-color .15s,box-shadow .15s}.lesson-card:hover{border-color:#8aa77a;box-shadow:0 6px 22px #163e3010}.lesson-card-link{display:flex;gap:13px;align-items:center;min-height:110px;padding:18px 52px 18px 17px;text-decoration:none;min-width:0;border-radius:12px}.lesson-card-icon{display:grid;place-items:center;flex-shrink:0;width:41px;height:45px;border:1px solid #d9e2cc;border-radius:9px;color:#557246;background:#edf2e5}.lesson-card-details{min-width:0;flex:1}.lesson-card-title{display:block;font-size:16px;color:#214a3f;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;line-height:1.5}.lesson-card-meta{display:block;font-size:12px;line-height:1.6;color:#65735b;margin-top:6px}.lesson-card-link>.icon{width:17px;color:#6b845b;flex-shrink:0}.lesson-card-forget{position:absolute;top:6px;right:5px;width:38px;height:38px;border:0;border-radius:7px;display:grid;place-items:center;background:transparent;color:#6a7d5f}.lesson-card-forget:hover{background:#f2e7dd;color:#99563e}.lesson-card-forget .icon{width:17px}.library-empty{display:flex;gap:18px;padding:28px;border:1px dashed #c7d4bb;border-radius:12px;background:#f0f3e9}.library-empty-icon{display:grid;place-items:center;width:45px;height:45px;border-radius:9px;background:#e2ead7;color:#617a50}.library-empty strong{font-size:17px}.library-empty p,.library-privacy-note,.library-status{font-size:13px;color:#596e50;line-height:1.65}.library-empty p{margin:7px 0 0}.library-privacy-note{margin:17px 3px 0;max-width:920px}.library-status{padding:12px 16px;background:#f0f2e7;border-radius:8px}.landing.has-lessons{display:flex;flex-direction:column}.landing.has-lessons .landing-header{order:0;flex-shrink:0}.landing.has-lessons .recent-lessons{order:1;border-top:0}.landing.has-lessons .welcome-layout{order:2;min-height:600px;border-top:1px solid var(--line)}.landing.has-lessons .landing-footer{order:3}.form-error{font-size:14px;line-height:1.6}.toast{font-size:14px;line-height:1.5;max-width:min(520px,90vw)}
@media(max-width:1050px){.recent-lessons-list{grid-template-columns:repeat(2,minmax(0,1fr))}.room-meta{font-size:11px}.workspace-header{gap:10px;padding:0 14px}.workspace-brand{font-size:20px}.room-title-input{font-size:16px}.call-panel{width:280px}.call-heading #call-status{font-size:11px}}
@media(max-width:760px){.library-heading{align-items:flex-start;flex-direction:column;gap:10px}.recent-lessons-list{grid-template-columns:1fr;max-height:450px}.library-heading h2{font-size:29px}.library-actions .button{font-size:12px;min-height:40px}.lesson-card-link{min-height:96px}.lesson-card-title{font-size:15px}.landing.has-lessons .welcome-layout{min-height:auto}.workspace-header .header-actions .icon-button,.home-button{min-width:34px;min-height:40px}.room-title-input{font-size:14px}.room-meta{font-size:10px}.tool-rail{overflow-y:hidden}.tool-button{min-width:34px;min-height:40px}.properties-bar .icon-button.small{min-width:30px;min-height:36px}.side-panel{width:min(320px,92vw)}.side-panel h3,.side-panel label{font-size:13px}.call-panel{width:min(280px,calc(100vw - 55px));right:20px}.call-heading strong{font-size:12px}.call-heading #call-status{font-size:11px}.call-join{font-size:12px;min-height:42px}.call-footnote{font-size:11px}.call-controls .icon-button{width:40px;height:40px}.call-video-name{font-size:11px}.page-thumb{font-size:11px;min-height:34px}.toast-region{bottom:120px}.library-privacy-note,.library-status{font-size:12px}.welcome-copy .eyebrow{font-size:10px;letter-spacing:1px}.landing-footer{font-size:11px}}

/* Product workspace: readable controls, clear hierarchy and quiet canvas. */
:root{--muted:#61705f;--line:#dfe4d9;--focus:#bd7958;--surface:#fdfdf9;--surface-soft:#f2f5ec;--text-secondary:#5b6e55;--text-quiet:#6b7c62}
button:disabled{opacity:.48;filter:saturate(.65)}
button:not(:disabled),a,input,select,textarea{transition:background-color .15s,border-color .15s,box-shadow .15s,color .15s}
button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid var(--focus);outline-offset:3px;box-shadow:0 0 0 5px #fcfbf4}
.button.primary{box-shadow:0 2px 3px #153b3410}.button.primary:hover:not(:disabled){background:#24564a;box-shadow:0 3px 9px #153b3420}
.button.outline:hover:not(:disabled),.icon-button:hover:not(:disabled),.tool-button:hover:not(:disabled){background:#e9efdf;border-color:#cedcc0}
.workspace-header{box-shadow:0 1px 0 #fff inset;gap:16px}.room-heading{min-width:0}.room-title-input{font-size:17px;font-weight:600;letter-spacing:-.3px;line-height:1.5;margin:0 0 3px;height:26px;max-width:100%}
.room-meta{font-size:11px;line-height:1.5;color:#61715a}.role-badge{font-weight:600;color:#4e6746}.connection-status{color:#64765b}.connection-status::before{width:6px;height:6px;background:#719c5b}
.connection-status.is-offline{color:#9e583d}.connection-status.is-offline::before{background:#b56b4f}
.header-actions{gap:4px}.header-actions .icon-button{width:38px;height:38px}.home-button{color:#55714b}.header-divider{margin-left:-4px}
.properties-bar{height:58px;flex-basis:58px;background:#fdfdf9;gap:13px;padding:0 17px}.field-caption{font-size:11px;color:#52694a}.width-control output{font-size:12px;font-weight:600;color:#4f6946}
.color-swatch{width:23px;height:23px;border-width:4px}.color-swatch.is-active{box-shadow:0 0 0 1.5px #527247}.color-swatches{gap:6px}.custom-color{width:24px;height:24px;color:#58734a;border-color:#cfdbbf}
.fill-control input[type=checkbox],.dashed-control input{width:15px;height:15px}.fill-control input[type=color]{width:21px;height:21px}.width-control input{height:4px}.properties-bar .icon-button.small{width:34px;height:36px}
.tool-rail{padding-top:15px;gap:10px;background:#fdfdf9}.tool-group{gap:3px;padding-bottom:10px}.tool-button{min-height:40px;width:40px;min-width:40px;color:#526d4a;border-radius:9px}.tool-button.is-active{color:#173f33;background:#e4edda;border-color:#c6d7b5;box-shadow:0 1px 2px #2543290b}.tool-button .icon{width:22px;height:22px}
.canvas-surround{background-color:#eceee7;background-image:radial-gradient(#aeba9c4f .7px,transparent .7px);background-size:16px 16px}.canvas-label{font-size:10px;letter-spacing:1.2px;color:#617455;top:12px}.board-stage{inset:34px 22px 22px;border-radius:5px;box-shadow:0 2px 5px #32482708,0 0 0 1px #d9dfd0}
.board-footer{height:68px;flex-basis:68px;gap:18px}.pages-caption{font-size:10px;letter-spacing:1.1px;color:#667c59}.page-thumb{height:40px;border-radius:7px;border-color:#dce4d1;background:#fff;font-size:12px;gap:9px;min-width:118px}.page-thumb.is-active{color:#264c37;background:#eaf1df;border-color:#8da979;box-shadow:0 0 0 1px #f6f9f1 inset}.page-thumb-number{font-size:12px;font-weight:600;color:#667e55;height:25px}.zoom-control>span:not(.property-divider){font-size:12px;font-weight:500;color:#59704c;min-width:44px}.zoom-control .icon-button.small{width:34px;height:36px}
.side-panel{width:302px;flex-basis:302px;background:#f9faf5}.panel-heading{background:#fdfdf9;padding:22px 21px 20px}.panel-heading .eyebrow{font-size:10px;color:#677b5a;letter-spacing:1.2px}.panel-heading h2{font-size:28px;color:#254a35;margin-top:8px}.panel-decoration{font-size:35px;color:#a0b884}.panel-tabs{gap:11px;padding:0 19px;background:#fdfdf9}.panel-tab{font-size:12px;min-height:43px;padding-bottom:13px;font-weight:500;color:#687e5b}.panel-tab.is-active{font-weight:600;color:#264b34}.panel-tab.is-active::after{background:#476c3c;height:3px;border-radius:3px 3px 0 0}
.panel-section{padding:21px;border-bottom-color:#e1e7d8}.section-heading{margin-bottom:14px}.section-heading h3{font-size:13px;font-weight:600;color:#355637}.section-heading .muted{color:#6c845d}.side-panel .stacked-field{font-size:12px;color:#5b724f;line-height:1.6;gap:6px}.side-panel .stacked-field input,.side-panel .stacked-field select{height:39px;font-size:13px;border-color:#dce5d0;background:#fff;color:#304f32;border-radius:7px}.property-fields{gap:10px}.paired-actions .button{font-size:12px;min-height:37px;color:#57734a;gap:6px}.paired-actions .icon{width:16px;height:16px}.danger-text{color:#9b674c;font-size:11px;min-height:28px}.text-button:hover{color:#a45136}.section-description,.field-hint{font-size:12px;line-height:1.65;color:#627657}.field-hint{font-size:11px}.small-tag{font-size:10px;color:#577446;background:#e8efdc;padding:4px 6px;letter-spacing:.2px}
.timer-section{background:#edf3e3}.timer-display{font-size:42px;color:#2e5735;font-weight:350;letter-spacing:1.5px}.timer-input{height:37px;background:#fff;border-color:#d0debf}.timer-input input{font-size:13px;width:48px}.timer-input span{font-size:11px;color:#58724a}.timer-controls .primary{min-height:37px;font-size:12px}.timer-controls .icon-button{height:37px;width:37px}.switch-row{min-height:42px}.switch-row strong{font-size:12px;color:#43603b}.switch-row small{font-size:11px;color:#667d59;line-height:1.5}.switch-track{width:34px;height:20px}.switch-track::before{width:14px;height:14px}.switch-row input{width:38px;height:30px}.switch-row input:checked+.switch-track::before{transform:translateX(14px)}.panel-footnote{font-size:10px;color:#627a53;background:#f9faf5;line-height:1.5;padding:13px 15px}.panel-footnote .icon{width:13px;height:13px}
.formula-input{font-size:13px;line-height:1.8;background:#fff;border-color:#d4e0c5;border-radius:7px;min-height:76px}.symbols-grid button{height:39px;font-size:22px;background:#fff;color:#3d6237;border-color:#dce5d1;border-radius:7px}.graph-field{background:#fff;border-radius:7px;border-color:#d6e2c8}.graph-field input{font-size:13px;min-height:41px}.utility-card{background:#fff;color:#4c703e;border-color:#dce5d1;font-size:12px;border-radius:7px;min-height:82px;gap:10px}.utility-card.wide{min-height:44px}.template-list button{background:#fff;border-color:#dce5d1;border-radius:7px;min-height:43px;font-size:12px;color:#4c6c40}.template-glyph{color:#668b4c;font-size:23px}.file-action{background:#fff;border-color:#dce5d1;min-height:67px;padding:12px 10px;border-radius:8px}.file-action strong{font-size:12px;color:#395d34}.file-action small{font-size:11px;color:#6b805b}.export-options .button,.danger-outline{font-size:12px}.export-options .icon{width:15px;height:15px}.export-options .button{padding:10px 8px}.danger-outline{border-color:#e0c7b5;color:#975d41;min-height:41px}
.selection-tools{background:#edf3e5}.arrange-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}.arrange-grid button{height:39px;border:1px solid #ceddc0;border-radius:7px;background:#fff;color:#476c3d;display:grid;place-items:center;font-size:25px}.arrange-grid button:hover{background:#dfeccc;border-color:#adc498}.arrange-grid button[data-arrange=horizontal] span{display:block;transform:rotate(90deg)}

/* Lesson library */
.recent-lessons{padding:38px 0 42px;border-color:#dce3d2}.library-heading{margin-bottom:21px;align-items:center}.library-heading .eyebrow{font-size:10px;letter-spacing:1.3px}.library-heading h2{font-size:36px;letter-spacing:-.9px;margin:8px 0 0}.library-search{display:flex;align-items:center;gap:11px;max-width:440px;height:46px;background:#fffefa;border:1px solid #d6e0c9;border-radius:9px;padding:0 13px;margin-bottom:24px;box-shadow:0 1px 2px #234d3410}.library-search:focus-within{border-color:#8cae72;box-shadow:0 0 0 3px #dce9cf}.library-search>.icon{width:19px;height:19px;color:#7b9567}.library-search input{height:100%;border:0;background:transparent;min-width:0;flex:1;font-size:14px;color:#244c35;outline:0;box-shadow:none}.library-search input:focus-visible{outline:0;box-shadow:none}.library-search kbd{font-size:12px;min-width:23px;text-align:center;padding:3px 5px;color:#7a9166;border-color:#dfe8d3;background:#f6f9f0}.library-search-empty{padding:24px;border:1px dashed #c8d7b9;border-radius:10px;background:#f3f7ed;color:#627a52;font-size:14px;line-height:1.7;margin:0 3px 17px}.recent-lessons-list{gap:15px;max-height:420px;padding:3px}.lesson-card{border-radius:12px;border-color:#d9e3cd;box-shadow:0 2px 4px #25472e04}.lesson-card:hover{box-shadow:0 8px 21px #25472e0c;border-color:#8daa77;transform:translateY(-1px)}.lesson-card-link{padding:21px 47px 21px 19px;min-height:117px;gap:14px}.lesson-card-icon{height:46px;width:42px;border-radius:10px;background:#eaf2df;border-color:#d8e5c9;color:#52753d}.lesson-card-title{font-size:16px;letter-spacing:-.2px;color:#224a35}.lesson-card-meta{font-size:12px;color:#657b57;line-height:1.65;margin-top:6px}.lesson-card-forget{width:37px;height:37px;color:#7d8f6c;top:5px;right:5px}.library-empty{padding:30px;background:#f0f5e7;border-color:#c5d7b4;gap:18px;align-items:center}.library-empty-icon{width:48px;height:48px;flex-shrink:0;border-radius:11px;background:#e2edD2;color:#5e7d47}.library-empty strong{font-size:17px;color:#345637}.library-empty p{font-size:13px;color:#657a59;max-width:620px;line-height:1.7}.library-privacy-note{font-size:12px;line-height:1.75;color:#697b5e}.library-actions .button{font-size:12px;min-height:41px;border-radius:8px}.landing.has-lessons .welcome-layout{min-height:0;padding:38px 0;display:block}.landing.has-lessons .welcome-visual{display:none}.landing.has-lessons .welcome-copy{display:grid;grid-template-columns:1fr 1fr;column-gap:8%;align-items:start;padding-left:0}.landing.has-lessons .welcome-copy>.eyebrow{grid-column:1;grid-row:1;margin-top:6px}.landing.has-lessons .welcome-copy h1{grid-column:1;grid-row:2;font-size:44px;line-height:1.13;margin:20px 0 18px}.landing.has-lessons .welcome-description{grid-column:1;grid-row:3;font-size:14px;margin:0}.landing.has-lessons .create-form{grid-column:2;grid-row:1/5;max-width:none;background:#fdfdf7;border:1px solid #dce5d1;border-radius:13px;padding:24px}.landing.has-lessons .form-heading{font-size:16px;margin-bottom:20px}.form-heading{font-size:16px}.create-form label{font-size:13px;color:#536d49}.create-form input{background:#fff;border-color:#d5dfc9;border-radius:8px}.create-button{border-radius:8px}.welcome-copy .eyebrow{color:#59714f}.landing-footer{color:#657a59}

/* Integrated lesson chat */
.chat-tab{display:flex;align-items:center;justify-content:center;gap:4px;position:relative}.chat-unread{min-width:17px;height:17px;border-radius:9px;display:grid;place-items:center;background:#c7795b;color:#fff;padding:0 4px;font-size:10px;line-height:1;font-weight:700}.panel-scroll:has(#chatPanel:not([hidden])){display:flex;flex-direction:column;overflow:hidden}.chat-panel{display:flex;flex-direction:column;flex:1;min-height:0;background:#f7f9f1}.chat-intro{padding:18px 19px 14px;background:#fdfdf9;border-bottom:1px solid #e0e8d5}.chat-intro .section-heading{margin:0}.chat-intro h3{font-size:14px}.chat-heading-actions{display:flex;gap:1px;margin-right:-7px}.chat-heading-actions .icon-button.small{width:31px;height:31px;color:#778e64}.chat-heading-actions .icon-button.small .icon{width:16px;height:16px}.chat-intro>p{font-size:11px;color:#6a7f5a;line-height:1.6;margin:6px 0 0}.chat-messages{flex:1;min-height:100px;overflow:auto;padding:16px 15px;scrollbar-width:thin;scrollbar-color:#c8d8b7 transparent;overscroll-behavior:contain}.chat-empty{display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;gap:12px;padding:45px 13px;color:#718b60;min-height:200px}.chat-empty>.icon{width:36px;height:36px;color:#92ac7a;stroke-width:1.3}.chat-empty strong{font-size:14px;font-weight:500;color:#537147}.chat-empty span{font-size:12px;line-height:1.8;max-width:220px;color:#6b835a}.chat-message{padding:11px 12px;border:1px solid #e0e8d5;background:#fff;border-radius:10px 10px 10px 3px;margin:0 0 13px;overflow-wrap:anywhere;box-shadow:0 1px 1px #3f602b03}.chat-message.is-own{background:#eaf2de;border-color:#d4e2c4;border-radius:10px 10px 3px 10px;margin-left:14px}.chat-message-header,.chat-meta{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:6px}.chat-author{font-size:11px;font-weight:650;color:#496c3a}.chat-time{font-size:10px;color:#718964;font-variant-numeric:tabular-nums}.chat-message-body,.chat-text{font-size:13px;color:#345536;line-height:1.7;white-space:pre-wrap;overflow-wrap:anywhere}.chat-message p{margin:0}.chat-message a{color:#345d8c;text-underline-offset:3px}.chat-status{margin:0;padding:9px 16px;color:#8e6049;background:#fbf1e6;font-size:11px;line-height:1.6;border-top:1px solid #eddcc6}.chat-status:empty{display:none}.chat-form{border-top:1px solid #dce5cf;background:#fdfdf9;padding:13px}.chat-form textarea{display:block;resize:none;width:100%;min-height:82px;max-height:140px;border:1px solid #d3dfc4;border-radius:8px;background:#fff;padding:11px 12px;font-size:13px;line-height:1.65;color:#315333}.chat-form textarea::placeholder{color:#7b916a}.chat-compose-footer{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-top:9px}.chat-compose-footer>span{font-size:10px;line-height:1.6;color:#6e855e}.chat-compose-footer .button{min-width:40px;min-height:38px;padding:8px}.chat-compose-footer .icon{width:18px;height:18px}

/* Keyboard command palette */
.command-dialog{padding:0;width:min(620px,calc(100vw - 32px));border:1px solid #cfdcc2;border-radius:15px;background:#fdfdf8;box-shadow:0 28px 100px #163b3433;overflow:hidden;color:#254b35;max-height:min(620px,calc(100dvh - 50px))}.command-dialog::backdrop{background:#15362960;backdrop-filter:blur(5px)}.command-search{display:flex;align-items:center;gap:13px;padding:21px 23px;border-bottom:1px solid #dde6d2}.command-search>.icon{color:#6f8a5c;width:23px;height:23px}.command-search input{flex:1;min-width:0;border:0;padding:0;background:transparent;color:#244e34;font-size:17px;line-height:1.5;outline:0!important;box-shadow:none!important}.command-search input::placeholder{color:#7c946a}.command-results{max-height:390px;overflow:auto;padding:9px;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#cbdcbb transparent}.command-option{width:100%;display:flex;align-items:center;gap:12px;text-align:left;border:1px solid transparent;border-radius:8px;padding:11px 13px;min-height:49px;color:#3b6038;background:transparent;font-size:14px}.command-option>.icon{width:20px;height:20px;color:#64874f}.command-option:hover,.command-option.is-selected{background:#eaf2de;border-color:#d8e7c8;color:#224c2d}.command-option.is-selected{box-shadow:inset 3px 0 #72965a}.command-category{font-size:11px;letter-spacing:.8px;text-transform:uppercase;font-weight:600;color:#758e64;padding:13px 14px 7px}.command-key{margin-left:auto;font-size:11px;font-family:inherit;background:#f6f9f0;border:1px solid #dae5ce;border-bottom-width:2px;padding:4px 7px;border-radius:5px;color:#718963;white-space:nowrap}.command-footer{border-top:1px solid #dfe8d3;display:flex;gap:13px;align-items:center;padding:13px 21px;color:#6e865c;font-size:11px;background:#f5f8ee;line-height:1.6}.command-footer kbd{font-size:10px}.command-dialog #commandEmpty{font-size:14px;line-height:1.8;text-align:center;color:#698359;margin:35px 22px}.command-dialog #commandHint{margin:0;font-size:11px;line-height:1.6}.command-toggle.is-active,.focus-toggle.is-active{color:#345c2f;background:#e3edd7;border-color:#bed3a8}

body.focus-mode .side-panel{display:none}body.focus-mode .board-area{padding-right:0!important}body.focus-mode .canvas-label,body.focus-mode #selection-tools{display:none}body.focus-mode .side-panel:has(#chatPanel:not([hidden])):not(.is-collapsed){display:flex}body.focus-mode .side-panel:has(#chatPanel:not([hidden])) .panel-heading,body.focus-mode .side-panel:has(#chatPanel:not([hidden])) .panel-tabs{display:none}body.focus-mode .board-stage{top:20px}

@media(max-height:820px) and (min-width:761px){.tool-rail{gap:6px;padding-top:8px}.tool-group{padding-bottom:6px;gap:1px}.tool-button{min-height:35px;height:35px}.panel-section{padding-top:18px;padding-bottom:18px}.panel-heading{padding-top:19px;padding-bottom:17px}}
@media(max-width:1200px){.workspace-header{gap:10px;padding:0 16px}.workspace-brand>span:last-child{display:none}.workspace-brand .brand-mark{width:35px;height:35px}.header-divider{display:none}.side-panel{width:285px;flex-basis:285px}.properties-bar{gap:10px;padding:0 12px}.color-swatches{gap:4px}.color-swatch{width:21px;height:21px}.field-caption{font-size:11px}.width-control input{width:45px}.header-actions{gap:2px}.room-title-input{font-size:16px}.recent-lessons-list{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:1000px){.board-area{padding-right:285px}.side-panel{width:285px}.panel-tabs{gap:9px;padding:0 16px}.panel-tab{font-size:11px}.properties-bar .width-control .field-caption,.properties-bar .fill-control .field-caption{display:none}.properties-bar .dashed-control{display:none}.board-footer{padding:0 12px;gap:8px}.page-thumb{min-width:95px;max-width:140px}.pages-list{max-width:260px}.call-panel{width:265px;right:32px;bottom:32px}.call-heading{gap:6px}.call-heading-icon{display:none}.call-heading .icon-button.small{width:32px;height:34px}.call-heading #call-status{font-size:11px}.call-controls{gap:9px}.call-footnote{font-size:11px}.panel-heading h2{font-size:26px}}
@media(max-width:760px){.workspace-header{height:64px;flex-basis:64px;padding:0 11px;gap:8px}.workspace-header .workspace-brand{display:none}.home-button{width:40px!important;min-width:40px!important;height:42px!important;min-height:42px!important}.workspace-header .header-actions .icon-button{width:38px;min-width:38px;height:42px;min-height:42px}.workspace-header .header-actions .focus-toggle{display:none}.header-actions .primary{width:38px;min-width:38px;height:42px;min-height:42px}.room-title-input{font-size:14px;max-width:100%;height:23px;line-height:1.5}.room-heading{min-width:0}.room-meta{font-size:10px;line-height:1.4}.header-actions{gap:1px}.workspace-body{grid-template-rows:1fr 60px}.tool-rail{height:60px;padding:7px 9px;justify-content:flex-start;gap:5px;overflow-x:auto;overflow-y:hidden;scrollbar-width:thin;scrollbar-color:#c6d7b7 #fdfdf9}.tool-button{width:43px;min-width:43px;height:43px;min-height:43px;border-radius:8px}.tool-button .icon{width:22px;height:22px}.tool-group{gap:1px;padding-right:6px;border-color:#dae5ce}.rail-bottom{display:none}.properties-bar{height:52px;flex-basis:52px;padding:0 10px;gap:9px}.properties-bar .icon-button.small{width:36px;min-width:36px;height:40px;min-height:40px}.properties-bar .object-actions{margin-left:0}.properties-bar .color-swatches{gap:4px}.properties-bar .color-swatch{width:22px;height:22px}.properties-bar .custom-color{width:24px;height:24px}.properties-bar .width-control input{width:39px}.properties-bar .width-control output{font-size:11px}.properties-bar .fill-control,.properties-bar .dashed-control{display:none}.board-footer{height:58px;flex-basis:58px;padding:0 10px;gap:8px}.board-footer .pages-list{max-width:43vw}.page-thumb{height:36px;min-width:80px;max-width:113px;font-size:10px;padding:6px 8px;gap:5px}.page-thumb-number{font-size:10px;height:23px;min-width:17px;padding-right:5px}.page-navigation{gap:4px}.add-page{width:36px;height:40px}.zoom-control .icon-button.small{width:30px;height:40px;min-width:30px;min-height:40px}.zoom-control>span:not(.property-divider){font-size:11px;min-width:36px}.zoom-control .property-divider{display:none}.canvas-label{font-size:10px;letter-spacing:.7px;top:10px;left:12px}.board-stage{inset:29px 11px 13px}.side-panel{width:min(330px,94vw);box-shadow:-10px 0 32px #173b3420}.panel-heading{padding:21px 20px 18px}.panel-tabs{padding:0 20px;gap:15px}.panel-tab{font-size:12px;min-height:45px}.panel-section{padding:21px}.panel-footnote{font-size:11px}.call-panel{width:min(268px,calc(100vw - 42px));right:20px;bottom:23px;max-height:calc(100% - 53px)}.call-heading{gap:7px;padding:10px}.call-heading #call-status{font-size:11px;max-width:none}.call-heading .icon-button.small{width:35px;height:37px}.call-heading strong{font-size:12px}.call-body{padding:0 10px 10px}.call-controls .icon-button{width:44px;height:44px}.call-controls{gap:9px}.call-join{min-height:43px;font-size:12px}.call-footnote{font-size:11px}.call-video-name{font-size:11px}.call-panel.is-collapsed .call-heading{padding:10px}.landing{padding:0 6%}.landing-header{height:80px}.welcome-copy h1{font-size:46px}.welcome-description{font-size:15px;line-height:1.75}.welcome-copy .eyebrow{font-size:10px;letter-spacing:.5px}.form-footnote{font-size:11px;line-height:1.7}.welcome-visual{padding-top:10px}.visual-corner,.demo-note,.visual-bottom{font-size:10px;letter-spacing:.2px}.demo-sheet-heading{font-size:10px}.demo-title{font-size:21px}.landing.has-lessons .welcome-copy{display:block}.landing.has-lessons .welcome-copy>.eyebrow,.landing.has-lessons .welcome-copy h1,.landing.has-lessons .welcome-description{display:none}.landing.has-lessons .welcome-layout{padding:25px 0}.landing.has-lessons .create-form{padding:22px}.library-heading{gap:16px}.library-heading h2{font-size:31px}.library-heading .eyebrow{font-size:10px}.library-actions{gap:7px;width:100%}.library-actions .button{flex:1;font-size:11px;min-height:42px;padding:9px 11px;white-space:nowrap}.library-search{max-width:none;height:47px;margin-bottom:19px}.library-search input{font-size:14px}.library-search kbd{display:none}.recent-lessons{padding:30px 0}.recent-lessons-list{grid-template-columns:1fr;gap:12px;max-height:405px}.lesson-card-link{min-height:106px;padding:18px 40px 18px 15px;gap:12px}.lesson-card-title{font-size:15px}.lesson-card-meta{font-size:11px}.lesson-card-forget{width:35px;height:35px}.library-empty{padding:23px;gap:14px;align-items:flex-start}.library-empty-icon{width:40px;height:40px}.library-empty strong{font-size:15px;line-height:1.5}.library-empty p{font-size:12px}.library-privacy-note{font-size:11px;line-height:1.8}.landing-footer{font-size:10px;gap:18px}.chat-form textarea{font-size:14px;min-height:89px}.chat-compose-footer .button{min-width:44px;min-height:44px}.chat-compose-footer>span{font-size:11px}.chat-message-body,.chat-text{font-size:14px}.chat-author{font-size:12px}.chat-time{font-size:11px}.command-dialog{width:calc(100vw - 22px);max-height:calc(100dvh - 26px);border-radius:12px}.command-search{padding:17px 16px;gap:10px}.command-search input{font-size:16px}.command-results{max-height:calc(100dvh - 180px)}.command-option{font-size:13px;min-height:50px;padding:11px}.command-category{font-size:10px}.command-footer{padding:12px 16px;font-size:10px;gap:9px}.command-key{font-size:10px;padding:3px 5px}.selection-tools .arrange-grid button{height:44px}.chat-heading-actions .icon-button.small{width:38px;height:38px}body.focus-mode .board-stage{top:14px}}
@media(pointer:coarse){.icon-button,.icon-button.small,.tool-button,.button,.compact,.panel-tab,.symbols-grid button,.arrange-grid button,.lesson-card-forget{min-width:44px;min-height:44px}.color-swatch{min-width:25px;min-height:25px}.switch-row{min-height:48px}.call-controls .icon-button{width:44px;height:44px}}
.command-dismiss{display:grid;place-items:center;min-width:41px;min-height:37px;border:1px solid #d8e3cb;background:#f4f8ec;border-radius:7px;color:#718960;font-size:12px;flex-shrink:0}.command-dismiss:hover{background:#e4efd5;color:#3e6531}.command-empty{padding:13px 0;font-size:14px;color:#627d51;line-height:1.8;text-align:center}.command-option{cursor:pointer}.command-option .command-category{display:block;padding:0;margin:0 0 4px;font-size:10px;letter-spacing:.5px;font-weight:500;color:#708b5d}.command-option strong{display:block;font-size:14px;line-height:1.5;font-weight:500}.chat-export{color:#5f8050;font-size:11px;min-height:28px;margin-top:7px}.chat-export .icon{width:13px;height:13px}.chat-message-meta{display:flex;flex-wrap:wrap;align-items:baseline;gap:5px;margin-bottom:7px;line-height:1.5}.chat-message-meta strong{font-size:11px;color:#3c6732;font-weight:650}.chat-message-role{font-size:10px;color:#6b855c}.chat-message-meta time{margin-left:auto;font-size:10px;color:#738d63;font-variant-numeric:tabular-nums}.chat-message-text{font-size:13px!important;line-height:1.75!important;color:#345936!important;white-space:pre-wrap;overflow-wrap:anywhere}
@media(max-width:760px){.command-dismiss{min-width:44px;min-height:40px}.chat-message-meta strong{font-size:12px}.chat-message-role,.chat-message-meta time{font-size:11px}.chat-message-text{font-size:14px!important}.chat-export{font-size:12px;min-height:35px}}
.lesson-card{min-width:0}.lesson-card-link{width:100%;min-width:0}.lesson-card-details{min-width:0;overflow:hidden}.recent-lessons-list{overflow-x:hidden}
@media(max-width:760px){.recent-lessons-list{grid-template-columns:minmax(0,1fr)}}

/* Pages and navigation share one footer; deleting a page stays a separate action. */
.board-footer .page-navigation{flex:1;min-width:0;gap:12px}
.board-footer .pages-list{flex:1 1 auto;min-width:60px;max-width:none;scroll-padding-inline:4px;overscroll-behavior-x:contain}
.page-actions{display:flex;align-items:center;gap:7px;flex-shrink:0}
.page-action-separator{width:1px;height:23px;background:#d9e2cf;margin:0 4px}
.delete-page-button{color:#99684f;border-color:transparent;border-radius:8px}
.delete-page-button:hover:not(:disabled){color:#984c32;background:#fbede2;border-color:#e3c6b3}
.delete-page-button:focus-visible{outline-color:#b97451}
.delete-page-button:disabled{color:#967f6e}
.zoom-control{gap:4px;flex-shrink:0}
.zoom-control .zoom-caption{font-size:10px!important;font-weight:500;letter-spacing:.5px;color:#657a57!important;min-width:0!important;margin-right:6px}
.zoom-control #zoom-label{display:inline-block;flex:0 0 8.5ch;width:8.5ch;min-width:8.5ch;text-align:center;white-space:nowrap;font-size:12px;font-weight:500;font-variant-numeric:tabular-nums;letter-spacing:0;color:#48633d}
.canvas-navigation-hint{letter-spacing:.2px;color:#6b805e;font-weight:400}
@media(max-width:1200px){.canvas-navigation-hint{display:none}.zoom-control .zoom-caption{display:none}}
@media(max-width:1000px){
  .board-footer{height:106px;flex:0 0 106px;display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:48px 48px;gap:0;padding:5px 12px;align-items:center}
  .board-footer .page-navigation{width:100%;min-width:0;height:48px;gap:10px}
  .board-footer .pages-list{max-width:none;min-width:60px}
  .page-actions .icon-button{width:40px;height:42px;min-width:40px;min-height:42px}
  .board-footer .zoom-control{justify-self:end;height:48px;gap:5px}
  .board-footer .zoom-control .zoom-caption{display:inline;font-size:10px!important;margin-right:6px}
  .zoom-control .icon-button.small{width:40px;height:42px;min-width:40px;min-height:42px}
  .zoom-control #zoom-label{font-size:12px}
  .zoom-control .property-divider{display:block;height:20px;margin:0 5px}
}
@media(max-width:760px){
  .board-footer{padding-inline:10px}
  .page-actions{gap:5px}.page-action-separator{margin-inline:5px}
  .page-actions .icon-button,.board-footer .zoom-control .icon-button.small{width:44px;min-width:44px;height:44px;min-height:44px}
  .board-footer .page-navigation{gap:8px}
  .board-footer .page-thumb{height:40px;min-height:40px}
  .board-footer .zoom-control{gap:4px}
  .board-footer .zoom-control .zoom-caption{font-size:11px!important;letter-spacing:.2px}
  .canvas-label{font-size:10px;letter-spacing:.65px}
}

/* Personal appearance: token values are applied before the first stylesheet. */
html[data-appearance]{background:var(--ui-bg);color:var(--ui-text)}
html.appearance-applying *,html.appearance-applying *::before,html.appearance-applying *::after{transition:none!important}
html[data-appearance] body{background:var(--ui-bg);color:var(--ui-text)}
html[data-appearance] :is(.landing,.workspace){background:var(--ui-bg);color:var(--ui-text)}
html[data-appearance] :is(.workspace-header,.tool-rail,.properties-bar,.board-footer,.panel-heading,.panel-tabs,.chat-intro,.chat-form,.app-dialog,.command-dialog,.busy-card){background:var(--ui-surface);color:var(--ui-text);border-color:var(--ui-line)}
html[data-appearance] :is(.side-panel,.panel-footnote,.chat-panel,.command-footer){background:var(--ui-panel);color:var(--ui-secondary);border-color:var(--ui-line)}
html[data-appearance] :is(.header-divider,.property-divider,.page-action-separator){background:var(--ui-line)}
html[data-appearance] :is(.landing-header,.landing-footer,.panel-section,.tool-group,.panel-footnote,.media-setting,.command-search,.command-footer){border-color:var(--ui-line)}
html[data-appearance] :is(.brand,.room-title-input,.panel-heading h2,.section-heading h3,.side-panel h3,.form-heading,.library-heading h2,.app-dialog h2,.chat-intro h3){color:var(--ui-text)}
html[data-appearance] :is(.brand-mark,.button.primary,.button.create-button,.timer-controls .primary){background:var(--ui-accent);color:var(--ui-on-accent);border-color:var(--ui-accent-border)}
html[data-appearance] :is(.button.primary,.button.create-button,.timer-controls .primary):hover:not(:disabled){background:var(--ui-accent);filter:brightness(.96);color:var(--ui-on-accent);box-shadow:0 3px 12px var(--ui-shadow)}
html[data-appearance] :is(.brand-dot,.welcome-copy h1 em,.small-star,.home-button){color:var(--ui-accent-ink)}
html[data-appearance] :is(.welcome-copy h1,.library-empty strong,.lesson-card-title,.chat-empty strong,.file-action strong,.switch-row strong,.media-setting strong,.command-option strong){color:var(--ui-text)}
html[data-appearance] :is(.eyebrow,.landing-tag,.welcome-description,.form-footnote,.landing-footer,.room-meta,.role-badge,.connection-status,.panel-heading .eyebrow,.field-caption,.stacked-field,.section-description,.field-hint,.panel-footnote,.panel-footnote .icon,.switch-row small,.timer-input span,.file-action small,.library-privacy-note,.library-empty p,.lesson-card-meta,.dialog-description,.help-tip,.chat-intro p,.chat-empty span,.chat-compose-footer>span,.chat-time,.chat-message-role,.chat-message-meta time,.media-setting small,.quiet){color:var(--ui-secondary)}
html[data-appearance] :is(.side-panel .stacked-field,.side-panel label,.side-panel p,.side-panel .section-description,.side-panel .field-hint,.side-panel .switch-row strong,.side-panel .switch-row small){color:var(--ui-secondary)}
html[data-appearance] :is(.stacked-field input,.stacked-field select,.create-form input,.side-panel .stacked-field input,.side-panel .stacked-field select,.formula-input,.graph-field,.share-url-row input,.chat-form textarea,.library-search,.timer-input){background:var(--ui-input);color:var(--ui-text);border-color:var(--ui-line-strong)}
html[data-appearance] :is(input,textarea)::placeholder{color:var(--ui-muted);opacity:1}
html[data-appearance] :is(.graph-field input,.graph-field>span,.timer-input input,.library-search input){color:var(--ui-text)}
html[data-appearance] .room-title-input{background:transparent;color:var(--ui-text)}
html[data-appearance] .room-title-input:not([readonly]):hover,html[data-appearance] .room-title-input:focus{background:var(--ui-accent-soft)}
html[data-appearance] :is(.button.outline,.paired-actions .button,.icon-button,.tool-button,.text-button,.call-join){color:var(--ui-accent-ink)}
html[data-appearance] :is(.button.outline,.paired-actions .button,.call-join){border-color:var(--ui-line-strong);background:transparent}
html[data-appearance] :is(.button.outline,.icon-button,.tool-button,.text-button,.call-join):hover:not(:disabled){background:var(--ui-accent-soft);color:var(--ui-accent-ink);border-color:var(--ui-line-strong)}
html[data-appearance] :is(.tool-button.is-active,.tool-button[aria-pressed=true],.icon-button.is-active,.focus-toggle.is-active){background:var(--ui-accent-soft);border-color:var(--ui-accent-ink);color:var(--ui-accent-ink)}
html[data-appearance] .canvas-surround{background-color:var(--ui-stage);background-image:none}
html[data-appearance] .board-stage{background:var(--ui-paper);box-shadow:0 2px 7px var(--ui-shadow),0 0 0 1px var(--ui-line)}
html[data-appearance] :is(.canvas-label,.canvas-navigation-hint,.pages-caption,.zoom-control .zoom-caption){color:var(--ui-secondary)!important}
html[data-appearance] #zoom-label{color:var(--ui-text)}
html[data-appearance] .page-thumb{background:var(--ui-input);color:var(--ui-secondary);border-color:var(--ui-line)}
html[data-appearance] :is(.page-thumb-number,.page-thumb .page-thumb-number){color:var(--ui-muted);border-color:var(--ui-line)}
html[data-appearance] .page-thumb.is-active{background:var(--ui-accent-soft);color:var(--ui-accent-ink);border-color:var(--ui-accent-ink);box-shadow:none}
html[data-appearance] .page-thumb.is-active .page-thumb-number{color:var(--ui-accent-ink);border-color:var(--ui-line-strong)}
html[data-appearance] .panel-tab{color:var(--ui-secondary)}
html[data-appearance] .panel-tab.is-active{color:var(--ui-accent-ink)}
html[data-appearance] .panel-tab.is-active::after{background:var(--ui-accent-ink)}
html[data-appearance] :is(.dialog-icon,.file-action-icon,.small-tag,.lesson-card-icon,.library-empty-icon,.call-heading-icon){background:var(--ui-accent-soft);color:var(--ui-accent-ink);border-color:var(--ui-line)}
html[data-appearance] :is(.panel-decoration,.muted){color:var(--ui-muted)}
html[data-appearance] :is(.timer-section,.selection-tools,.library-empty,.library-status){background:var(--ui-panel);border-color:var(--ui-line)}
html[data-appearance] .timer-display{color:var(--ui-text)}
html[data-appearance] .connection-status::before{background:var(--ui-accent-ink)}
html[data-appearance] .connection-status:is(.offline,.is-offline,.error)::before{background:var(--ui-danger)}
html[data-appearance] :is(.symbols-grid button,.utility-card,.template-list button,.file-action,.arrange-grid button,.lesson-card){background:var(--ui-input);color:var(--ui-accent-ink);border-color:var(--ui-line)}
html[data-appearance] :is(.symbols-grid button,.utility-card,.template-list button,.file-action,.arrange-grid button,.lesson-card):hover:not(:disabled){background:var(--ui-accent-soft);border-color:var(--ui-line-strong)}
html[data-appearance] .template-glyph{color:var(--ui-accent-ink)}
html[data-appearance] .switch-track{background:var(--ui-line-strong);border:1px solid var(--ui-line-strong)}
html[data-appearance] .switch-row input:checked+.switch-track{background:var(--ui-accent);border-color:var(--ui-accent-border)}
html[data-appearance] .switch-row input:checked+.switch-track::before{background:var(--ui-on-accent)}
html[data-appearance] :is(input[type=range],input[type=checkbox]){accent-color:var(--ui-accent-ink)}
html[data-appearance] .color-swatch{border-color:var(--ui-surface)}
html[data-appearance] .color-swatch.is-active{box-shadow:0 0 0 1.5px var(--ui-accent-ink)}
html[data-appearance] .custom-color{color:var(--ui-text);border-color:var(--ui-line-strong)}
html[data-appearance] :is(.delete-page-button,.danger-text,.danger-outline,.form-error,.lesson-card-forget:hover){color:var(--ui-danger)}
html[data-appearance] :is(.delete-page-button,.danger-outline):hover:not(:disabled){background:var(--ui-danger-soft);border-color:var(--ui-danger);color:var(--ui-danger)}
html[data-appearance] .danger-outline{border-color:var(--ui-danger)}
html[data-appearance] .landing.has-lessons .create-form{background:var(--ui-surface);border-color:var(--ui-line)}
html[data-appearance] :is(.library-search>.icon,.library-search-empty,.lesson-card-link>.icon,.lesson-card-forget){color:var(--ui-accent-ink)}
html[data-appearance] .library-search-empty{background:var(--ui-panel);border-color:var(--ui-line-strong)}
html[data-appearance] .lesson-card-forget:hover{background:var(--ui-danger-soft)}
html[data-appearance] .call-panel{background:var(--ui-surface);border-color:var(--ui-line);box-shadow:0 5px 25px var(--ui-shadow)}
html[data-appearance] .call-heading strong{color:var(--ui-text)}
html[data-appearance] .call-heading #call-status,html[data-appearance] .call-footnote{color:var(--ui-secondary)}
html[data-appearance] .call-controls .icon-button{background:var(--ui-panel);border-color:var(--ui-line);color:var(--ui-accent-ink)}
html[data-appearance] .call-controls .icon-button.is-muted{background:var(--ui-panel);color:var(--ui-muted);border-color:var(--ui-line-strong)}
html[data-appearance] .call-controls .call-leave{background:var(--ui-danger-soft);color:var(--ui-danger);border-color:var(--ui-line)}
html[data-appearance] .chat-message{background:var(--ui-raised);border-color:var(--ui-line);color:var(--ui-text)}
html[data-appearance] .chat-message.is-own{background:var(--ui-accent-soft);border-color:var(--ui-line-strong)}
html[data-appearance] :is(.chat-author,.chat-message-meta strong,.chat-empty>.icon){color:var(--ui-accent-ink)}
html[data-appearance] :is(.chat-message-text,.chat-message-body,.chat-text){color:var(--ui-text)!important}
html[data-appearance] .chat-status{background:var(--ui-panel);color:var(--ui-secondary);border-color:var(--ui-line)}
html[data-appearance] :is(.command-search input,.command-option strong){color:var(--ui-text)}
html[data-appearance] :is(.command-option,.command-category,.command-option .command-category,.command-empty,.command-dialog #commandEmpty){color:var(--ui-secondary)}
html[data-appearance] :is(.command-option:hover,.command-option.is-selected){background:var(--ui-accent-soft);color:var(--ui-accent-ink);border-color:var(--ui-line-strong)}
html[data-appearance] .command-option.is-selected{box-shadow:inset 3px 0 var(--ui-accent-ink)}
html[data-appearance] :is(.command-key,.command-dismiss,kbd){background:var(--ui-panel);color:var(--ui-secondary);border-color:var(--ui-line-strong)}
html[data-appearance] :is(.app-dialog,.command-dialog)::backdrop{background:var(--ui-backdrop)}
html[data-appearance] :is(button,a,input,select,textarea):focus-visible{outline-color:var(--ui-focus);box-shadow:0 0 0 5px var(--ui-surface)}
html[data-appearance] .library-search:focus-within{border-color:var(--ui-focus);box-shadow:0 0 0 3px var(--ui-accent-soft)}
html[data-appearance] .toast:not(.toast-error){background:var(--ui-accent);color:var(--ui-on-accent);border:1px solid var(--ui-accent-border)}
html[data-appearance] .toast-error{background:var(--ui-danger);color:var(--ui-on-danger)}
html[data-appearance] .busy-overlay{background:var(--ui-backdrop)}

/* The personal settings dialog is available to every participant. */
.landing-header-actions{display:flex;align-items:center;gap:22px}
.appearance-dialog{width:min(740px,calc(100vw - 32px));padding:27px 29px;overflow-y:auto;overscroll-behavior:contain}
.appearance-dialog .dialog-header{margin-bottom:16px}.appearance-dialog h2{font-size:31px}.appearance-dialog>.dialog-description{max-width:590px;font-size:13px;margin-bottom:21px;line-height:1.75}
.appearance-presets{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:11px;margin:0 0 24px}
.appearance-preset{position:relative;display:flex;flex-direction:column;padding:6px;text-align:left;border:1px solid var(--ui-line);border-radius:11px;background:var(--ui-input);min-width:0;overflow:hidden}
.appearance-preset:hover{border-color:var(--ui-line-strong);background:var(--ui-panel)}
.appearance-preset[aria-checked=true]{border-color:var(--ui-accent-ink);box-shadow:0 0 0 1px var(--ui-accent-ink);background:var(--ui-accent-soft)}
.appearance-preview{position:relative;display:block;overflow:hidden;height:77px;width:100%;border-radius:6px;background:var(--preview-shell);border:1px solid #0000000c}
.appearance-preview::before{content:"";position:absolute;top:0;left:0;right:0;height:12px;border-bottom:1px solid #00000010;background:var(--preview-shell)}
.appearance-preview::after{content:"";position:absolute;left:7px;top:4px;width:4px;height:4px;border-radius:50%;background:var(--preview-accent);box-shadow:8px 0 0 var(--preview-accent);opacity:.65}
.appearance-preview-rail{position:absolute;left:0;top:12px;bottom:0;width:18px;background:var(--preview-shell);border-right:1px solid #0000000b}
.appearance-preview-rail::before{content:"";position:absolute;left:6px;top:10px;width:6px;height:6px;border:1px solid var(--preview-accent);border-radius:2px;box-shadow:0 13px 0 -1px var(--preview-accent),0 26px 0 -1px var(--preview-accent)}
.appearance-preview-sheet{position:absolute;left:25px;right:9px;top:19px;bottom:8px;background:var(--preview-paper);border-radius:3px;box-shadow:0 1px 3px #0000000b;background-image:linear-gradient(#8297aa13 1px,transparent 1px),linear-gradient(90deg,#8297aa13 1px,transparent 1px);background-size:9px 9px}
.appearance-preview-sheet i{position:absolute;left:15px;top:12px;width:36%;height:4px;background:var(--preview-accent);opacity:.7;border-radius:1px}
.appearance-preview-sheet b{position:absolute;right:16px;bottom:9px;width:24px;height:19px;border:1.5px solid var(--preview-accent);border-radius:50%;opacity:.75}
.appearance-preset-copy{display:block;padding:10px 7px 7px;min-height:69px}.appearance-preset-copy strong{display:block;font-size:12px;font-weight:600;line-height:1.55;color:var(--ui-text)}.appearance-preset-copy small{display:block;font-size:10px;line-height:1.6;color:var(--ui-secondary);margin-top:3px;max-width:170px}
.appearance-selected{position:absolute;right:13px;top:13px;display:none;place-items:center;border-radius:50%;width:19px;height:19px;background:var(--ui-accent);color:var(--ui-on-accent);border:1px solid var(--ui-accent-border);box-shadow:0 1px 4px #00000016}.appearance-selected .icon{width:12px;height:12px;stroke-width:2.5}.appearance-preset[aria-checked=true] .appearance-selected{display:grid}
.appearance-custom{padding:19px 20px;border:1px solid var(--ui-line);border-radius:11px;background:var(--ui-panel);margin-bottom:20px}
.appearance-accent-field{display:flex;align-items:center;justify-content:space-between;gap:20px;cursor:pointer}.appearance-accent-field>span:first-child{min-width:0}.appearance-accent-field strong{display:block;font-size:13px;font-weight:600;color:var(--ui-text);line-height:1.5}.appearance-accent-field small{display:block;font-size:11px;line-height:1.6;color:var(--ui-secondary);margin-top:4px}
.appearance-color-input{display:flex;align-items:center;gap:11px;flex-shrink:0}.appearance-color-input input[type=color]{width:48px;height:42px;padding:4px;border:1px solid var(--ui-line-strong);border-radius:8px;background:var(--ui-input);cursor:pointer}.appearance-color-input input[type=color]::-webkit-color-swatch-wrapper{padding:0}.appearance-color-input input[type=color]::-webkit-color-swatch{border:1px solid #00000020;border-radius:4px}.appearance-color-input output{font-family:Consolas,monospace;font-size:12px;color:var(--ui-secondary);width:57px}
.appearance-warmth-field{margin-top:22px;padding-top:19px;border-top:1px solid var(--ui-line)}.appearance-warmth-heading{display:flex;align-items:center;justify-content:space-between;gap:14px}.appearance-warmth-heading label{font-size:13px;font-weight:600;color:var(--ui-text)}.appearance-warmth-heading output{font-size:11px;line-height:1.6;color:var(--ui-secondary);white-space:nowrap}.appearance-warmth-field input{display:block;width:100%;height:25px;margin:12px 0 3px;background:transparent;cursor:pointer;accent-color:var(--ui-accent-ink)}.appearance-temperature-labels{display:flex;justify-content:space-between;font-size:10px;color:var(--ui-secondary)}
.appearance-dialog-footer{display:flex;align-items:center;justify-content:space-between;gap:18px}.appearance-save-status{display:block;font-size:12px;font-weight:500;line-height:1.6;color:var(--ui-text)}.appearance-dialog-footer p{font-size:10px;color:var(--ui-secondary);line-height:1.65;margin:5px 0 0}.appearance-dialog-footer>.button{flex-shrink:0}
@media(max-width:1050px){.workspace-header .header-actions .appearance-toggle{width:36px;height:38px}.workspace-header{gap:8px}.participants{margin-right:3px}}
@media(max-width:760px){
 .workspace-header .header-actions .appearance-toggle{width:36px;min-width:36px;height:42px;min-height:42px}.workspace-header .header-actions{gap:0}.workspace-header{gap:5px;padding-inline:9px}.room-title-input{font-size:13px}.home-button{width:36px!important;min-width:36px!important}.landing-header-actions{gap:10px}.appearance-dialog{width:calc(100vw - 22px);padding:21px 18px;max-height:calc(100dvh - 24px);border-radius:12px}.appearance-dialog .dialog-header{margin-bottom:17px}.appearance-dialog h2{font-size:26px;line-height:1.25}.appearance-dialog>.dialog-description{font-size:12px;margin-bottom:19px}.appearance-dialog>.eyebrow{font-size:10px;line-height:1.6;letter-spacing:1px}.appearance-presets{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;margin-bottom:18px}.appearance-preview{height:67px}.appearance-preset-copy{padding:9px 5px 5px;min-height:76px}.appearance-preset-copy strong{font-size:11px;line-height:1.6}.appearance-preset-copy small{font-size:10px;line-height:1.55}.appearance-selected{right:11px;top:11px}.appearance-custom{padding:16px 14px}.appearance-accent-field{gap:12px;align-items:flex-start}.appearance-accent-field strong{font-size:12px}.appearance-accent-field small{font-size:10px}.appearance-color-input{gap:7px;flex-direction:column;align-items:center}.appearance-color-input input[type=color]{width:49px;height:44px}.appearance-color-input output{font-size:10px;text-align:center;width:auto}.appearance-warmth-heading{align-items:flex-start;gap:10px}.appearance-warmth-heading label{font-size:12px;line-height:1.6}.appearance-warmth-heading output{font-size:10px}.appearance-warmth-field input{height:32px;margin-top:12px}.appearance-dialog-footer{align-items:flex-start;gap:14px}.appearance-save-status{font-size:11px}.appearance-dialog-footer p{font-size:10px}.appearance-dialog-footer .button{font-size:11px;min-height:42px;padding:10px}.appearance-dialog-footer .button .icon{width:15px;height:15px}
}
html[data-appearance^="strict-"] :is(.button,.icon-button,.tool-button,.page-thumb,.appearance-preset,.appearance-custom,.call-panel,.lesson-card,.formula-input,.graph-field,.chat-form textarea,.stacked-field input,.stacked-field select,.create-form input){border-radius:5px}
html[data-appearance^="strict-"] :is(.app-dialog,.command-dialog,.landing.has-lessons .create-form,.library-empty){border-radius:7px}
html[data-appearance^="strict-"] :is(.panel-heading h2,.app-dialog h2,.library-heading h2){font-family:var(--font-ui);font-weight:600;letter-spacing:-.6px}
html[data-appearance^="strict-"] .welcome-copy h1 em{font-family:inherit;font-style:normal;font-weight:450}
html[data-appearance^="strict-"] .board-stage{border-radius:2px}
html[data-appearance]:not([data-appearance^="strict-"]) :is(.button,.icon-button,.tool-button,.page-thumb,.formula-input,.graph-field,.chat-form textarea,.stacked-field input,.stacked-field select,.create-form input){border-radius:10px}
html[data-appearance]:not([data-appearance^="strict-"]) :is(.app-dialog,.command-dialog,.call-panel,.lesson-card,.appearance-custom,.library-empty){border-radius:14px}
.appearance-preset[data-appearance-preset^="strict-"] :is(.appearance-preview,.appearance-preview-sheet){border-radius:2px}

/* A personal floating call window; drag events never reach the drawing canvas. */
.call-heading{cursor:grab;touch-action:none;user-select:none;position:sticky;top:0;z-index:2;background:var(--ui-surface,#fdfdf9);border-radius:inherit}
.call-heading :is(button,a,input,select){touch-action:manipulation;cursor:pointer}
.call-heading:focus-visible{outline:2px solid var(--ui-focus,#2e5c42);outline-offset:-3px}
.call-drag-grip{font-size:17px;line-height:1;flex:0 0 8px;color:var(--ui-muted,#647d59);opacity:.8}
.call-panel.is-floating{position:fixed;inset:auto;z-index:40;margin:0;transform:none;box-sizing:border-box}
.call-panel.is-dragging{box-shadow:0 12px 36px #00000024}
.call-panel.is-dragging .call-heading{cursor:grabbing}
.call-panel .call-controls{gap:6px;flex-wrap:wrap}
.call-mic-level{display:inline-flex;align-items:center;justify-content:center;gap:2px;flex:0 0 24px;width:24px;height:32px;margin-left:-3px;color:var(--ui-accent-ink,#2e7d55);border-radius:5px}
.call-mic-level>span{display:block;flex:0 0 3px;width:3px;background:currentColor;opacity:.18;border-radius:2px;transition:opacity .10s}
.call-mic-level>span:nth-child(1){height:6px}.call-mic-level>span:nth-child(2){height:11px}.call-mic-level>span:nth-child(3){height:17px}.call-mic-level>span:nth-child(4){height:23px}
.call-mic-level>span.is-lit{opacity:1}
.call-mic-level[data-state="muted"],.call-mic-level[data-state="unavailable"]{color:var(--ui-muted,#647d59)}
.call-mic-level[data-state="unavailable"]{outline:1px dashed var(--ui-line-strong,#b5bfaf);outline-offset:-1px}
.call-controls:has(.call-mic-level[data-state="speaking"]) #call-mic-btn{box-shadow:0 0 0 2px var(--ui-accent-ink,#2e7d55);border-color:var(--ui-accent-ink,#2e7d55)}
@media(prefers-reduced-motion:reduce){.call-mic-level>span{transition:none}}
/* Selection values describe the actual objects; mixed values stay explicit. */
[data-mixed="true"]{outline:1px dashed var(--ui-accent-ink,var(--ink));outline-offset:3px}
.selection-state-hint{margin:12px 0 0;line-height:1.6;color:var(--text-secondary)}
.pending-session-notice{position:absolute;z-index:8;top:46px;left:32px;right:32px;max-width:760px;margin:0 auto;padding:12px 16px;border:1px solid var(--ui-accent-border,var(--line));border-radius:var(--radius-sm,8px);background:var(--surface);color:var(--ink);font-size:12px;line-height:1.6;box-shadow:0 4px 16px #152d2012}
@media(max-width:760px){.pending-session-notice{top:38px;left:16px;right:16px;padding:10px 12px;font-size:11px}}
/* Universal lesson workspace: essentials first, full tools in one optional panel. */
.universal-workspace{min-height:440px}
.universal-workspace .workspace-header{height:72px;flex-basis:72px;padding:0 20px;gap:14px;box-shadow:none}
.universal-workspace .workspace-header>.header-divider{display:none}
.universal-workspace .room-heading{min-width:0;flex:1}
.universal-workspace .room-title-input{width:100%;max-width:520px;font-size:17px}
.universal-workspace .room-meta{gap:8px;overflow:hidden}
.universal-workspace #save-status{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.universal-workspace .header-actions{display:flex;align-items:center;gap:9px;flex-shrink:0}
.universal-workspace .header-actions .button{min-height:42px;font-size:12px;gap:7px;padding:9px 13px;white-space:nowrap}
.universal-workspace .header-actions .icon-button{width:40px;min-width:40px;height:42px}
.universal-workspace .call-toggle[data-call-active="true"]{background:var(--ui-accent-soft);border-color:var(--ui-accent-ink);color:var(--ui-accent-ink)}
.universal-workspace .workspace-body{position:relative;display:grid;grid-template-columns:minmax(0,1fr) 320px;grid-template-rows:minmax(0,1fr);min-height:0;gap:0}
.universal-workspace.panel-collapsed .workspace-body{grid-template-columns:minmax(0,1fr) 0}
/* Tools and their settings share one row; the canvas starts directly below it. */
.universal-workspace .board-toolbar{display:flex;flex-wrap:wrap;align-items:center;gap:4px 14px;min-width:0;padding:7px 12px;background:var(--ui-surface);border-bottom:1px solid var(--ui-line);container:board-toolbar / inline-size}
.universal-workspace .tool-rail.basic-tools{width:auto;height:auto;min-height:0;flex:0 0 auto;display:flex;flex-direction:row;align-items:center;justify-content:flex-start;gap:4px;padding:0;border:0;overflow:visible}
.universal-workspace .basic-tools .tool-button{display:inline-flex;flex-direction:row;align-items:center;justify-content:center;gap:7px;width:auto;min-width:0;height:44px;min-height:44px;padding:8px 10px;border-radius:9px;font-size:12px;font-weight:550;line-height:1.3}
.universal-workspace .basic-tools .tool-button .icon{width:22px;height:22px;flex-shrink:0}
.universal-workspace .board-area{grid-row:1;grid-column:1;display:flex;flex-direction:column;padding:0!important;min-width:0;min-height:0}
.universal-workspace .properties-bar{display:flex;align-items:center;gap:12px;min-width:0;height:auto;min-height:44px;flex:1 1 270px;padding:0 0 0 12px;border:0;border-left:1px solid var(--ui-line);overflow-x:auto;overflow-y:hidden}
.universal-workspace .properties-bar .history-actions{display:flex;gap:2px;flex:0 0 auto}
.universal-workspace .properties-bar .icon-button.small{height:44px;min-height:44px;width:36px;min-width:36px}
.basic-color-control,.basic-text-control{display:flex;flex-shrink:0;align-items:center;gap:8px;font-size:11px;font-weight:500;white-space:nowrap;color:var(--ui-secondary)}
.basic-color-control input[type=color]{width:30px;height:30px;min-height:30px;padding:3px;border:1px solid var(--ui-line-strong);border-radius:7px;background:var(--ui-input);cursor:pointer}
.basic-color-control input[type=color]::-webkit-color-swatch-wrapper{padding:0}.basic-color-control input[type=color]::-webkit-color-swatch{border:0;border-radius:3px}
.basic-text-control select{font:inherit;min-height:32px;max-width:77px;padding:4px 7px;border:1px solid var(--ui-line-strong);border-radius:6px;background:var(--ui-input);color:var(--ui-text)}
.universal-workspace .properties-bar .width-control{display:flex;align-items:center;gap:7px;flex-shrink:0}
.universal-workspace .properties-bar .width-control .field-caption{display:inline;font-size:11px}
.universal-workspace .properties-bar .width-control input{width:70px;min-width:45px;height:28px}
.basic-tool-hint{font-size:11px;line-height:1.5;color:var(--ui-secondary);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.universal-workspace .canvas-surround{min-height:0;background:var(--ui-paper)}
.universal-workspace .board-stage{inset:0;border:0;border-radius:0!important;box-shadow:none!important}
.universal-workspace .board-footer{display:flex;align-items:center;justify-content:flex-start;gap:18px;height:56px;flex:0 0 56px;padding:0 14px;grid-template:none;border-top:1px solid var(--ui-line)}
.universal-workspace .advanced-toggle{display:inline-flex;align-items:center;gap:8px;font-size:12px;font-weight:600;min-height:40px;white-space:nowrap;border-color:var(--ui-accent-ink)}
.universal-workspace .advanced-toggle[aria-expanded="true"]{background:var(--ui-accent-soft)}
.basic-page-label,.basic-navigation-hint{font-size:11px;color:var(--ui-secondary);white-space:nowrap}.basic-navigation-hint{margin-left:auto}
.advanced-unread{display:inline-grid;place-items:center;min-width:19px;height:19px;border-radius:50%;padding:0 4px;background:var(--ui-accent);color:var(--ui-on-accent);font-size:10px}
.universal-workspace .side-panel{grid-row:1;grid-column:2;position:static;width:320px;min-width:0;max-width:none;flex:none;box-shadow:none;border-left:1px solid var(--ui-line);z-index:25;overflow:hidden}
.universal-workspace .side-panel.is-collapsed{display:none}
.universal-workspace .side-panel .panel-heading{display:flex;align-items:center;gap:8px;padding:16px 14px;flex-shrink:0}
.universal-workspace .side-panel .panel-heading>div{flex:1;min-width:0}
.universal-workspace .side-panel .panel-heading .eyebrow{font-size:8px;letter-spacing:.7px;line-height:1.5}
.universal-workspace .side-panel .panel-heading h2{font-size:21px;line-height:1.4;margin-top:4px;letter-spacing:-.5px}
.universal-workspace .side-panel .panel-decoration{display:none}
.universal-workspace .side-panel .children-theme-mascot{flex:0 0 42px;width:42px;height:44px;min-width:42px;padding:3px}
.universal-workspace #advanced-close{width:36px;min-width:36px;height:40px;flex-shrink:0}
.universal-workspace .side-panel .panel-tabs{padding:0 13px;gap:10px}
.universal-workspace .side-panel .panel-tab{font-size:11px;min-width:0;min-height:40px}
.universal-workspace .side-panel .panel-section{padding:20px 17px}
.advanced-tools{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
.universal-workspace .advanced-tools .tool-button{display:flex;align-items:center;justify-content:flex-start;gap:7px;width:100%;height:44px;min-height:44px;padding:8px;font-size:10px;font-weight:500}
.universal-workspace .advanced-tools .tool-button .icon{width:20px;height:20px;flex-shrink:0}
.advanced-pages .page-navigation{display:flex;flex-direction:column;align-items:stretch;gap:12px;height:auto;width:100%}
.advanced-pages .pages-caption{display:none}
.advanced-pages .pages-list{display:flex;flex-direction:column;width:100%;max-width:none;min-width:0;max-height:180px;overflow-y:auto;overflow-x:hidden;gap:7px}
.universal-workspace .advanced-pages .page-thumb{width:100%;max-width:none;min-height:40px;font-size:12px}
.advanced-pages .page-actions{display:flex;justify-content:flex-start;gap:8px}
.advanced-pages .page-actions .icon-button{width:44px;height:40px;min-height:40px}
.advanced-pages .zoom-control{display:flex;flex-wrap:wrap;justify-content:flex-start;gap:6px;height:auto;margin-top:18px}
.advanced-pages .zoom-control .zoom-caption{display:inline;font-size:10px}.advanced-pages .zoom-control .icon-button{width:34px;min-width:34px;height:38px}
.advanced-style .color-swatches{display:flex;flex-wrap:wrap;gap:10px;margin:0 0 16px}
.advanced-style .color-swatch{width:27px;height:27px}
.advanced-fill{display:flex;align-items:center;justify-content:space-between;gap:15px;flex-wrap:wrap;margin-bottom:18px}
.advanced-fill .fill-control,.advanced-fill .dashed-control{display:flex;align-items:center;gap:8px;font-size:12px}.advanced-fill .field-caption{display:inline}
.advanced-style .object-actions{display:flex;gap:10px;margin:0}.advanced-style .object-actions .icon-button{width:42px;height:42px}
.advanced-utilities>.button{margin-top:8px;justify-content:flex-start;font-size:11px;text-align:left}.advanced-utilities .participants{display:flex;flex-wrap:wrap;gap:7px;margin-bottom:12px}
.universal-demo-caption{font-family:var(--font-ui);font-size:22px;font-weight:500;letter-spacing:-.5px}
@media(max-width:1000px){
 .universal-workspace .workspace-body,.universal-workspace.panel-collapsed .workspace-body{grid-template-columns:minmax(0,1fr);grid-template-rows:minmax(0,1fr)}
 .universal-workspace .side-panel{position:absolute;right:0;top:0;bottom:56px;width:min(340px,96vw);max-width:100%;box-shadow:-8px 0 30px var(--ui-shadow)}
 .universal-workspace .board-area{grid-column:1;grid-row:1;padding:0!important}
 .universal-workspace .basic-navigation-hint{display:none}
}
@media(max-width:760px){
 .universal-workspace .workspace-header{display:grid;grid-template-columns:34px minmax(0,1fr);grid-template-rows:auto auto;align-items:center;height:auto;flex:0 0 auto;min-height:100px;padding:7px 10px;gap:4px 8px}
 .universal-workspace #home-btn{grid-row:1;grid-column:1;min-width:34px!important;width:34px!important;height:38px!important;min-height:38px!important}
 .universal-workspace .room-heading{grid-row:1;grid-column:2}.universal-workspace .room-title-input{font-size:14px;height:22px;margin-bottom:2px}
 .universal-workspace .room-meta{font-size:9px;gap:6px}.universal-workspace .role-badge{display:none}
 .universal-workspace .header-actions{grid-row:2;grid-column:1/3;justify-content:flex-end;gap:5px;width:100%;min-width:0}
 .universal-workspace .header-actions .button{width:auto;min-width:0;min-height:38px;height:38px;font-size:11px;padding:8px 10px;gap:5px}
 .universal-workspace .header-actions .button>span{display:inline}.universal-workspace .header-actions .button .icon{width:17px;height:17px}
 .universal-workspace .header-actions .icon-button{min-width:36px;width:36px;height:38px;min-height:38px}







 .basic-color-control,.basic-text-control{font-size:10px;gap:6px}.basic-color-control input[type=color]{width:27px;height:28px;min-height:28px}.basic-tool-hint{font-size:10px}
 .universal-workspace .board-footer{height:54px;flex-basis:54px;padding:0 9px;gap:10px}
 .universal-workspace .advanced-toggle{font-size:11px;min-height:40px;padding:9px 11px;gap:6px}.universal-workspace .advanced-toggle .icon{width:16px;height:16px}
 .basic-page-label{font-size:10px;margin-left:auto}
 .universal-workspace .side-panel{bottom:54px;width:min(340px,100vw);max-width:100vw}
 .universal-workspace .side-panel .panel-heading{padding:12px}.universal-workspace .side-panel .panel-tabs{padding:0 12px;gap:10px}
 .universal-workspace .board-stage{inset:0}
}
/* Subject workspace: a dependable left panel and quick lesson controls. */
.subject-workspace #leave-btn{display:inline-flex}
.subject-workspace .workspace-body{grid-template-columns:320px minmax(0,1fr)}
.subject-workspace.panel-collapsed .workspace-body{grid-template-columns:0 minmax(0,1fr)}
.subject-workspace .board-area{grid-column:2}
.subject-workspace .side-panel{grid-column:1;border-left:0;border-right:1px solid var(--ui-line)}
.subject-workspace .side-panel .panel-heading{padding:10px 14px}
.subject-workspace .side-panel .panel-heading .eyebrow{font-size:8px}
.subject-workspace .side-panel .panel-heading h2{font-size:19px;margin-top:2px}
.subject-controls{display:flex;align-items:center;gap:10px;padding:10px 14px;background:var(--ui-surface);border-bottom:1px solid var(--ui-line);flex-shrink:0}
.subject-controls label{font-size:11px;line-height:1.5;font-weight:600;color:var(--ui-secondary);flex:0 0 64px}
.subject-controls select{width:100%;min-width:0;min-height:38px;border:1px solid var(--ui-line-strong);border-radius:7px;background:var(--ui-input);color:var(--ui-text);font:500 12px var(--font-ui);padding:7px}
.subject-controls select:disabled{opacity:1;color:var(--ui-secondary);cursor:default}
.subject-workspace .side-panel .timer-section{display:grid;grid-template-columns:1fr auto;align-items:center;gap:6px 10px;padding:8px 14px;background:var(--ui-accent-soft);flex-shrink:0}
.subject-workspace .timer-section .section-heading{margin:0;justify-content:flex-start;gap:8px}
.subject-workspace .timer-section .section-heading h3{font-size:12px}
.subject-workspace .timer-section .section-heading .icon{width:14px;height:14px}
.subject-workspace .timer-display{font-size:24px;font-weight:600;letter-spacing:.3px;margin:0;line-height:1.25;text-align:right;color:var(--ui-text)}
.subject-workspace .timer-display.is-finished{color:var(--ui-accent-ink)}
.subject-workspace .timer-controls{grid-column:1/-1;gap:8px}
.subject-workspace .timer-input{height:34px;flex:0 0 78px}
.subject-workspace .timer-input input{width:48px;font-size:12px}
.subject-workspace .timer-controls .primary{flex:1;min-height:34px;padding:6px 8px;font-size:11px}
.subject-workspace .timer-controls .icon-button{width:36px;height:34px;min-height:34px;background:var(--ui-surface);border:1px solid var(--ui-line-strong);border-radius:6px;color:var(--ui-text)}
.quick-call-tools{display:grid;grid-template-columns:minmax(0,1fr) 38px;gap:4px 8px;padding:8px 14px;background:var(--ui-surface);border-bottom:1px solid var(--ui-line);flex-shrink:0}
.quick-call-tools .button{min-height:35px;justify-content:flex-start;gap:8px;padding:7px 10px;font-size:11px}
.quick-call-tools .button .icon{width:17px;height:17px}
.quick-call-tools .icon-button{width:38px;height:35px;min-height:35px;border:1px solid var(--ui-line-strong);border-radius:7px;background:var(--ui-input);color:var(--ui-text)}
.quick-call-tools #quick-mic-hint{grid-column:1/-1;font-size:10px;line-height:1.45;color:var(--ui-secondary)}
.quick-mic-state{margin-left:auto;font-size:10px;color:inherit}
#quick-mic-btn.is-active{background:var(--ui-accent-soft);color:var(--ui-accent-ink);border-color:var(--ui-accent-ink)}
.subject-workspace .side-panel .panel-tabs{gap:10px;padding:0 13px;flex-shrink:0}
.subject-workspace .side-panel .panel-tab{font-size:10px;min-height:42px;padding:5px 0;flex:0 1 auto}
.subject-workspace #lessonTab{flex:1}
.subject-workspace .subject-intro{padding:16px 17px;background:var(--ui-surface)}
.subject-intro .section-heading{margin-bottom:7px}.subject-intro .section-description{margin:0;font-size:12px;line-height:1.6}
.subject-intro .text-button{font-size:11px;margin-top:10px;min-height:32px;color:var(--ui-accent-ink);text-decoration:underline;text-underline-offset:3px}
.subject-templates{display:flex;flex-direction:column;gap:10px;margin-top:12px}
.subject-template{display:flex;flex-direction:column;align-items:flex-start;text-align:left;gap:7px;padding:13px;border:1px solid var(--ui-line-strong);border-radius:9px;background:var(--ui-input);color:var(--ui-text);font-family:var(--font-ui);line-height:1.5;min-width:0;width:100%}
.subject-template strong{font-size:13px;font-weight:600}.subject-template>span{font-size:11px;color:var(--ui-secondary)}.subject-template small{font-size:10px;font-weight:600;color:var(--ui-accent-ink)}
.subject-template:hover:not(:disabled){border-color:var(--ui-accent-ink);background:var(--ui-accent-soft)}
.subject-template:disabled{opacity:1;cursor:default;background:var(--ui-surface)}
.subject-workspace :is(.subject-template,.subject-controls select,.quick-call-tools button):focus-visible{outline:3px solid var(--ui-focus);outline-offset:2px}
@media(max-width:1000px){
 .subject-workspace .workspace-body,.subject-workspace.panel-collapsed .workspace-body{grid-template-columns:minmax(0,1fr)}
 .subject-workspace .board-area{grid-column:1}
 .subject-workspace .side-panel{left:0;right:auto;box-shadow:8px 0 30px var(--ui-shadow)}
}
@media(max-width:760px){
 .subject-workspace .side-panel .panel-heading{padding:8px 12px}
 .subject-workspace .side-panel .panel-heading h2{font-size:18px}
 .subject-controls{padding:8px 12px}.quick-call-tools{padding:7px 12px}
 .subject-workspace .side-panel .timer-section{padding:7px 12px}
 .subject-workspace .side-panel .panel-footnote{padding:8px;font-size:9px}
}
@media(max-height:600px){
 .subject-workspace .side-panel{overflow-y:auto;overscroll-behavior:contain}
 .subject-workspace .side-panel .panel-scroll{flex:0 0 auto;overflow:visible}
 .subject-workspace .side-panel .chat-panel{min-height:360px}.subject-workspace .side-panel .chat-messages{max-height:220px}
}

/* Respond to the board width, including the open lesson panel. */
@container board-toolbar (max-width:820px){
 .universal-workspace .tool-rail.basic-tools{gap:3px}
 .universal-workspace .basic-tools .tool-button{width:44px;min-width:44px;padding:8px;gap:0}
 .universal-workspace .basic-tools .tool-button>span{display:none}
 .universal-workspace .properties-bar{gap:9px}
}
@container board-toolbar (max-width:560px){
 .universal-workspace .tool-rail.basic-tools{width:100%;justify-content:space-between}
 .universal-workspace .basic-tools .tool-button{flex:1 1 0;width:auto;min-width:0;max-width:none;height:50px;min-height:50px;padding:4px 2px;flex-direction:column;gap:3px;font-size:10px}
 .universal-workspace .basic-tools .tool-button>span{display:inline}
 .universal-workspace .basic-tools .tool-button .icon{width:21px;height:21px}
 .universal-workspace .properties-bar{flex:1 1 100%;min-height:40px;gap:8px;padding:0;border-left:0}
 .universal-workspace .properties-bar .history-actions{gap:0}
 .universal-workspace .properties-bar .icon-button.small{height:40px;min-height:40px;width:34px;min-width:34px}
 .universal-workspace .properties-bar .width-control{gap:5px}
 .universal-workspace .properties-bar .width-control .field-caption{font-size:10px}
 .universal-workspace .properties-bar .width-control input{width:45px}
}

/* One lesson header: room, drawing controls and collaboration share the space. */
.universal-workspace .workspace-header{display:grid;grid-template-columns:36px minmax(120px,180px) minmax(0,1fr) auto;grid-template-areas:"home room tools actions";align-items:center;gap:10px;height:auto;min-height:60px;flex:0 0 auto;padding:7px 12px}
.universal-workspace #home-btn{grid-area:home;width:36px!important;min-width:36px!important;height:42px!important;min-height:42px!important}
.universal-workspace .room-heading{grid-area:room;width:100%;min-width:0}
.universal-workspace .room-title-input{font-size:14px;height:23px;line-height:1.5;max-width:100%;margin-bottom:2px}
.universal-workspace .room-meta{font-size:9px;gap:5px;line-height:1.5}
.universal-workspace .room-meta .connection-status{flex-shrink:0}
.universal-workspace .room-meta .role-badge{flex-shrink:0}
.universal-workspace .workspace-header>.board-toolbar{grid-area:tools;min-width:0;width:100%;padding:0;border:0;gap:4px 14px}
.universal-workspace .header-actions{grid-area:actions;width:auto;justify-content:flex-end;gap:5px;min-width:0}
.universal-workspace .header-actions .button{width:auto;min-width:0;min-height:40px;height:40px;font-size:11px;padding:8px 10px;gap:6px}
.universal-workspace .header-actions .button>span{display:inline}
.universal-workspace .header-actions .icon-button{width:36px;min-width:36px;height:40px;min-height:40px}
@media(max-width:1180px){
 .universal-workspace .workspace-header{grid-template-columns:36px minmax(0,1fr) auto;grid-template-areas:"home room actions" "tools tools tools";gap:5px 10px;padding:6px 12px}
 .universal-workspace .room-title-input{max-width:100%}
}
@media(max-width:600px){
 .universal-workspace .workspace-header{grid-template-columns:34px minmax(0,1fr) auto;gap:4px 6px;min-height:0;padding:6px 8px}
 .universal-workspace #home-btn{width:34px!important;min-width:34px!important;height:40px!important;min-height:40px!important}
 .universal-workspace .room-title-input{font-size:12px;height:21px;margin-bottom:1px}
 .universal-workspace .room-meta{font-size:8px;gap:4px}
 .universal-workspace .room-meta .role-badge,.universal-workspace .room-meta .meta-separator{display:none}
 .universal-workspace .header-actions{gap:2px}
 .universal-workspace .header-actions .button,.universal-workspace .header-actions .icon-button{width:34px;min-width:34px;height:40px;min-height:40px;padding:0}
 .universal-workspace .header-actions .button>span{display:none}
 .universal-workspace .header-actions .button .icon{width:18px;height:18px}
}
/* Student workspace: no lesson sidebar; collaboration stays within easy reach. */
.universal-workspace[data-lesson-role="student"] .workspace-body{grid-template-columns:minmax(0,1fr)}
.universal-workspace[data-lesson-role="student"] .board-area{grid-column:1}
.universal-workspace[data-lesson-role="student"] #side-panel,.universal-workspace[data-lesson-role="student"] #panel-toggle{display:none!important}
.lesson-presence{display:flex;align-items:center;gap:10px;padding:8px 16px;flex:0 0 auto;min-width:0;background:var(--ui-surface);border-bottom:1px solid var(--ui-line);color:var(--ui-text)}
.lesson-presence-dot{width:10px;height:10px;flex:0 0 10px;border-radius:50%;border:2px solid var(--ui-accent-ink);background:var(--ui-accent-soft)}
.lesson-presence[data-presence-state="present"] .lesson-presence-dot{background:var(--ui-accent-ink)}
.lesson-presence[data-presence-state="offline"] .lesson-presence-dot{background:var(--ui-danger);border-color:var(--ui-danger)}
.universal-workspace #focus-student-btn>span{white-space:nowrap}
.universal-workspace #focus-student-btn:disabled{opacity:.45;cursor:default}
@container board-toolbar (max-width:560px){
 .universal-workspace[data-lesson-role="teacher"] .tool-rail.basic-tools{flex-wrap:wrap;row-gap:4px}
 .universal-workspace[data-lesson-role="teacher"] #focus-student-btn{flex:1 0 100%;height:34px;min-height:34px;flex-direction:row;gap:6px;font-size:11px;border:1px solid var(--ui-line)}
 .universal-workspace[data-lesson-role="teacher"] #focus-student-btn .icon{width:18px;height:18px}
}
.lesson-presence-copy{display:flex;align-items:baseline;flex-wrap:wrap;gap:3px 12px;min-width:0;line-height:1.5}
.lesson-presence-copy strong{font-size:12px;font-weight:600;overflow-wrap:anywhere}
.lesson-presence-copy>span{font-size:11px;color:var(--ui-secondary);overflow-wrap:anywhere}
.student-timer{display:flex;align-items:center;gap:6px;flex-shrink:0;margin-left:auto;font-size:12px;font-variant-numeric:tabular-nums;color:var(--ui-secondary);white-space:nowrap}
.student-timer .icon{width:15px;height:15px}.student-timer.is-finished{color:var(--ui-danger)}
#student-call-controls{display:inline-flex;align-items:center;min-width:0}
#student-call-controls .quick-call-tools{display:flex;align-items:center;padding:0;gap:4px;border:0;background:transparent}
#student-call-controls #quick-mic-hint{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
#student-call-controls #quick-mic-btn{gap:6px}
#student-call-controls .quick-mic-state{margin:0}
.student-resource-actions{display:flex;align-items:center;gap:8px;flex-shrink:0}
.universal-workspace .student-resource-actions .button{min-height:40px;font-size:12px;padding:8px 11px;gap:6px;white-space:nowrap}
.student-resources-dialog{width:min(580px,calc(100vw - 24px));height:min(700px,calc(100dvh - 24px));max-height:calc(100dvh - 24px);padding:0;overflow:hidden;border:1px solid var(--ui-line);background:var(--ui-surface);color:var(--ui-text)}
.student-resources-dialog[open],.student-resources-dialog.is-open{display:flex;flex-direction:column}
.student-resources-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px 16px;flex-shrink:0}
.student-resources-heading h2{font-size:21px;line-height:1.4;margin:0;letter-spacing:-.4px}
.student-resources-heading .icon-button{width:40px;height:40px;min-height:40px;flex-shrink:0}
.student-resource-tabs{display:flex;gap:20px;padding:0 18px;border-bottom:1px solid var(--ui-line);flex-shrink:0}
.student-resource-tabs .panel-tab{min-height:40px;padding:7px 0;font-size:13px}
.student-resources-content{flex:1;min-height:0;overflow-y:auto;overscroll-behavior:contain}
.student-resources-content:has(#chatPanel:not([hidden])){display:flex;overflow:hidden}
.student-resources-content #chatPanel{width:100%;min-height:0}
.student-resources-content .chat-intro{flex-shrink:0}
.student-resources-content .chat-form{flex-shrink:0}
.student-resources-content .chat-messages{min-height:40px}
.student-resources-content .panel-section{padding:20px}
.student-resources-content .chat-intro h3{font-size:14px}
@media(max-width:600px){
 .lesson-presence{gap:8px;padding:7px 10px;align-items:flex-start}
 .lesson-presence-dot{margin-top:4px}.lesson-presence-copy{display:flex;flex-direction:column;align-items:flex-start;gap:2px;flex:1}
 .lesson-presence-copy strong{font-size:11px}.lesson-presence-copy>span{font-size:10px}
 .student-timer{font-size:11px;margin-top:2px;gap:4px}.student-timer .icon{width:13px;height:13px}
 #student-call-controls .quick-call-tools{gap:2px}
 .universal-workspace .student-resource-actions .button{font-size:11px;min-height:40px;padding:8px;gap:5px}
 .student-resource-actions{gap:6px}
 .student-resources-dialog{width:calc(100vw - 16px);max-height:calc(100dvh - 16px);height:min(700px,calc(100dvh - 16px));border-radius:11px}
 .student-resources-heading{padding:10px 12px}.student-resources-heading h2{font-size:18px}
 .student-resources-content .chat-intro{padding:12px}
 .student-resources-content .chat-empty{padding:25px 12px;min-height:120px}
 .student-resources-content .chat-form{padding:10px}
}
@media(max-height:500px){
 .student-resources-dialog{overflow-y:auto}.student-resources-content,.student-resources-content:has(#chatPanel:not([hidden])){flex:0 0 auto;min-height:300px;overflow:visible}
 .student-resources-content #chatPanel{min-height:300px}.student-resources-content .chat-messages{max-height:160px}
}
