/* Classroom Critters 0.3 — a quiet board with one control corner. */
[hidden]{display:none!important}#soundValue,#animalNotice{display:none!important}
.corner-start{left:auto;top:auto;right:18px;bottom:18px;z-index:51}.corner-start .app-mark{width:46px;height:46px;border-radius:15px;display:grid;place-items:center}.app-mark svg{width:25px;height:25px;color:#385540}
.corner-start .floating-menu{top:auto;bottom:58px;left:auto;right:0;width:310px;max-height:calc(100dvh - 100px);overflow:auto;padding:20px;gap:10px}.menu-brand{display:flex;align-items:center;gap:12px;margin-bottom:9px}.menu-brand .brand-wordmark{font-size:18px}.menu-brand .brand-wordmark strong{font-size:26px}.menu-brand img{flex:none}.floating-menu .button{min-height:42px;justify-content:flex-start;font-size:15px}.floating-menu #classSelect{font-size:16px;min-height:42px}
.corner-level{top:auto;bottom:18px;right:77px;z-index:50}.level-dot{width:46px;height:46px}.corner-level .floating-menu{top:auto;bottom:58px;right:0;width:285px}
.bottom-controls{left:auto;right:135px;bottom:18px;gap:9px;align-items:center;width:auto;z-index:40}.page-switch{max-width:270px;min-width:0;padding:5px;gap:1px;border-radius:15px;min-height:46px}.page-switch #pageButton{max-width:170px;min-width:70px;font-size:14px}.page-switch .icon-button{width:31px;height:31px}.view-controls{border-radius:15px;min-height:46px;padding:5px;gap:2px}.view-controls .icon-button{width:33px;height:33px}#teacherButton{display:none!important}
.toolbar{position:fixed;left:auto;right:18px;bottom:83px;transform:none;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));width:460px;max-width:calc(100vw - 36px);height:auto;max-height:calc(100dvh - 110px);overflow:auto;border-radius:20px;padding:13px;gap:6px;z-index:60;background:#fbfaf3;border:1px solid #e1e6d8;box-shadow:0 10px 35px #253d2428}.tool{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;padding:13px 4px;min-width:0;min-height:77px;border-radius:12px}.tool:hover{background:#e8eedf}.tool span{display:block!important;font-size:14px;line-height:1.1;color:#304533}.tool svg{width:27px;height:27px}
.sound-control{left:auto;right:18px;bottom:82px;transform:none;width:310px;height:55px}.sound-label{font-size:13px}.sound-control .phase-button{font-size:13px}.focus-toggle{left:auto;right:22px;bottom:148px}body.demo-mode .bottom-controls,body.demo-mode .corner-start,body.demo-mode .corner-level{bottom:66px}body.demo-mode .sound-control{bottom:130px}body.demo-mode .focus-toggle{bottom:196px}
.widget-body.direct-body{display:flex;align-items:stretch;gap:14px;cursor:grab}.direct-text{outline:0;width:100%;min-width:0;min-height:1.2em;white-space:pre-wrap;overflow-wrap:anywhere;cursor:text;user-select:text;align-self:stretch}.direct-text:empty:before{content:attr(data-placeholder);color:#819079;pointer-events:none}.widget.locked .direct-text{cursor:default}.widget-welcome .direct-text{align-self:center;text-align:center}.widget-goal{background:#fcfbf4f5;border-radius:16px}.widget-goal .widget-body{padding:10px 18px;align-items:center;gap:14px}.widget-goal .direct-text{white-space:nowrap;overflow:hidden;overflow-wrap:normal;align-self:center;line-height:1.2;font-weight:550}.goal-flag{flex:none;background:none;width:38px;height:38px;color:#5c865b;display:grid;place-items:center}.goal-flag svg{width:33px;height:33px;fill:#dfe9c9}.widget-goal .direct-text:empty:before{font-size:20px}
.widget-symbol .widget-body{padding:10px;display:block}.social-widget{width:100%;height:100%;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;background:none;padding:0}.social-widget .social-picture{width:100%;height:calc(100% - 34px);max-height:180px}.social-widget strong{font-size:clamp(16px,1.45vw,27px);font-weight:600;line-height:1.15;white-space:nowrap}.social-choices{display:grid;grid-template-columns:repeat(3,1fr);gap:13px}.social-choice{background:#f3f4ea;border:1px solid #dfe4d4;border-radius:17px;padding:12px;display:flex;flex-direction:column;align-items:center;gap:10px;font-size:16px}.social-choice:hover{background:#e9efdf;border-color:#8ba17f}.social-picture{width:150px;height:115px;max-width:100%}
.library-tabs,.library-filter{display:flex;gap:10px;align-items:center;flex-wrap:wrap;margin-bottom:18px}.library-filter select{padding:11px 29px 11px 13px;background:#f1f3e7;border:1px solid #d9e0ce;border-radius:10px;min-width:155px;font-size:15px}.library-filter .button{margin-left:auto}.board-library{display:flex;flex-direction:column;gap:10px}.library-card{border:1px solid #dce3d3;border-radius:15px;background:#fafbf4;display:flex;align-items:center;gap:15px;padding:12px 14px}.board-open{display:flex;flex-direction:column;text-align:left;gap:5px;padding:3px;background:none;flex:1;min-width:0}.board-open strong{font-size:17px;overflow-wrap:anywhere}.board-open span{font-size:14px;color:#76846e}.library-actions{display:flex;gap:4px}.library-actions button{width:35px;height:36px;display:grid;place-items:center;border-radius:9px;background:#eaf0e2}.library-actions button:hover{background:#dce8d1}.library-actions svg{width:19px;height:19px}.template-library{display:grid;grid-template-columns:repeat(2,1fr);gap:14px}.template-card{display:flex;flex-direction:column;align-items:flex-start;gap:12px;border:1px solid #dbe3d2;border-radius:16px;padding:22px;background:#f5f7ee}.template-card svg{width:30px;height:30px;color:#66855d}.template-card strong{font-size:19px}.template-card span{font-size:14px;color:#77876d}
.art-body{display:flex!important;flex-direction:column!important;padding:16px!important;gap:8px;overflow:visible!important}.widget-art{background:transparent;border:0;box-shadow:none}.painting-space{min-height:0;flex:1;display:flex;align-items:center;justify-content:center;width:100%;position:relative}.painting-frame{flex:none;box-sizing:border-box;border:12px solid #ad8d65;border-image:none;background:#eddfbc;box-shadow:inset 0 0 0 2px #6b563c,0 4px 15px #1f271e30;outline:2px solid #725e42;padding:3px}.painting-frame img{display:block;width:100%;height:100%;object-fit:contain;user-select:none}.painting-placeholder{width:100%;height:100%;min-height:90px;background:#f4efdee9;border:11px solid #b29a77;outline:2px solid #806e55;box-shadow:inset 0 0 0 3px #dacbad;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:9px;color:#64755c}.painting-placeholder span{display:grid;place-items:center;border-radius:50%;width:52px;height:52px;background:#fffdf1}.painting-placeholder svg{width:28px;height:28px}.painting-placeholder small{font-size:17px}
.art-controls{display:flex;justify-content:center;gap:7px;flex:none;height:38px}.art-controls button{width:38px;height:38px;border-radius:12px;background:#fcfaf0ee;color:#49613d;display:grid;place-items:center;box-shadow:0 2px 8px #30482a12}.art-controls svg{width:22px;height:22px}.art-caption{display:flex;flex-direction:column;gap:4px;text-align:center;line-height:1.25;flex:none;color:#2e4331;background:#fffdf4f5;border-radius:10px;padding:8px 12px;max-height:130px;overflow:auto}.art-caption strong{font-size:19px}.art-caption span{font-size:14px;white-space:pre-line}
.art-search{display:flex;gap:10px;margin-bottom:20px}.art-search input{min-width:0;flex:1;font-size:16px;padding:13px;border:1px solid #d1dbc8;border-radius:11px}.art-import-row{display:flex;gap:15px;align-items:center;margin-top:20px}.art-import-row small{font-size:13px;line-height:1.5;color:#75846b}.art-results{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.art-results button{padding:10px;border-radius:12px;background:#f2f4eb;display:flex;flex-direction:column;align-items:flex-start;text-align:left;gap:5px;overflow:hidden}.art-results img{width:100%;height:130px;object-fit:contain;background:#e8e8dc}.art-results strong{font-size:15px}.art-results span,.art-results small{font-size:13px;line-height:1.3}.easel-menu{position:absolute;right:0;bottom:54px;width:230px;border:1px solid #d8dfce;box-shadow:0 8px 30px #21341b25;border-radius:16px;background:#fffdf4;padding:8px;z-index:30}.easel-menu button{display:flex;gap:10px;align-items:center;width:100%;padding:12px 10px;border-radius:10px;background:none;font-size:15px}.easel-menu button:hover{background:#e8eedc}.easel-menu svg{width:22px;height:22px;flex:none}
#artFocus{position:fixed;inset:0;background:#000;z-index:80;display:flex;align-items:center;justify-content:center;padding:22px 30px;color:#f8f8ed}.focus-art{width:min(88vw,1500px);height:calc(100dvh - 44px);display:flex;flex-direction:column;align-items:center;gap:12px;position:relative}.focus-art .painting-space{min-height:0;flex:1;width:100%}.focus-art .art-caption{max-width:85%;color:#fcfaf0;background:#151713}.focus-art .art-controls{height:42px}.focus-art .art-controls button{height:42px;width:42px}.focus-art .easel-menu{right:0;bottom:60px;color:#31482f}
.art-conversation{position:fixed;z-index:35;width:min(390px,90vw);right:18px;top:70px;max-height:calc(100dvh - 90px);overflow:auto;background:#fffdf2;color:#344c33;border-radius:18px;box-shadow:0 8px 30px #1b301b30;padding:32px 16px 16px;cursor:default}.art-conversation .conversation-close{position:absolute;right:7px;top:6px;width:26px;height:26px;background:none}.conversation-close svg{width:20px}.conversation-item{position:relative;margin-bottom:12px}.conversation-item label{display:flex;flex-direction:column;gap:8px}.conversation-item label>span{display:flex;align-items:center;gap:9px;font-size:17px;font-weight:600}.conversation-item label>span svg{width:26px;height:26px}.conversation-item textarea{width:100%;min-height:65px;resize:vertical;border:1px solid #d6dfce;background:#f8faf2;border-radius:15px;padding:12px;font:16px/1.35 'Segoe UI',sans-serif}.tip-button{position:absolute;right:2px;top:-3px;width:31px;height:31px;border-radius:50%;background:#f0e6bd;color:#7a774b}.tip-button svg{width:21px;height:21px}.tip-bubble{border-radius:16px 16px 3px 16px;padding:14px;background:#e9f0dd;font-size:16px;line-height:1.45}#artFocus>.art-conversation{right:24px;top:24px;background:#fffff0fa;max-height:calc(100dvh - 48px)}
@media(max-width:1000px){.bottom-controls{right:125px;gap:5px}.page-switch #pageButton{max-width:115px;font-size:13px}.view-controls{gap:0;padding:4px}.corner-start{right:12px}.corner-level{right:68px}.social-choices{grid-template-columns:repeat(2,1fr)}.library-card{flex-wrap:wrap}.art-conversation{right:12px;top:65px;max-height:65vh}.art-results{grid-template-columns:repeat(2,1fr)}.social-widget strong{font-size:16px}.widget-goal .widget-body{padding:8px 12px}.goal-flag{width:28px}.goal-flag svg{width:25px}}
