
:root { color-scheme:light; --paper:#fff; --surface:#fff; --ink:#202a2d; --text:#354047; --muted:#7d868c; --line:#e9edec; --coral:#f88171; --serif:var(--ui); --ui:-apple-system,BlinkMacSystemFont,'Segoe UI','PingFang SC','Hiragino Sans GB',sans-serif; --header-height:88px; --dock-space:105px; }
* { box-sizing:border-box; } [hidden] { display:none !important; }
body { margin:0; height:100dvh; overflow:hidden; background:var(--paper); color:var(--text); font:14px/1.6 var(--ui); -webkit-font-smoothing:antialiased; }
button,input,select { font:inherit; } button,a,input,select { -webkit-tap-highlight-color:transparent; }
button { border:0; background:none; color:inherit; cursor:pointer; } button:disabled { opacity:.3; cursor:not-allowed; } a { color:inherit; text-decoration:none; }
button,a,input,select,summary,canvas { outline-offset:5px; } :focus-visible { outline:2px solid #dc7769; } ::selection { background:#ffe3dc; }
svg { width:22px; height:22px; fill:none; stroke:currentColor; stroke-width:1.6; stroke-linecap:round; stroke-linejoin:round; flex-shrink:0; }
h1,h2,h3,p { margin:0; } .sr-only { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip-path:inset(50%); white-space:nowrap; }
.skip-link { position:fixed; z-index:20; left:20px; top:-60px; padding:12px 20px; background:var(--ink); color:#fff; border-radius:8px; } .skip-link:focus { top:12px; }
.app-header { height:calc(var(--header-height) + env(safe-area-inset-top)); padding:env(safe-area-inset-top) max(36px,env(safe-area-inset-right)) 0 max(36px,env(safe-area-inset-left)); display:flex; align-items:center; justify-content:space-between; gap:24px; }
.world-heading { display:flex; align-items:center; gap:26px; min-width:0; } .wordmark { display:flex; align-items:center; gap:17px; color:#131b20; flex-shrink:0; }
.wordmark>span { font-size:34px; font-weight:650; letter-spacing:-2px; line-height:1; } .wordmark .brand-landscape { width:74px; height:28px; stroke-width:1.5; }
.world-title { display:flex; flex-direction:column; border-inline-start:1px solid #dfe4e3; padding-inline-start:24px; line-height:1.55; min-width:0; }
.world-title strong { font-size:14px; font-weight:570; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; } .world-title>span { font-size:11px; color:var(--muted); margin-top:3px; }
.header-actions { display:flex; align-items:center; gap:9px; flex-shrink:0; }
.text-button,.primary-button { display:inline-flex; align-items:center; justify-content:center; gap:8px; min-height:44px; padding:8px 12px; border-radius:10px; white-space:nowrap; font-size:12px; }
.primary-button { background:var(--ink); color:white; } .icon-button { display:inline-flex; align-items:center; justify-content:center; width:40px; height:40px; border-radius:10px; padding:0; color:var(--muted); flex-shrink:0; font-size:24px; }
.save-status { font-size:11px; color:#63726a; padding-inline-end:17px; margin-inline-end:6px; border-inline-end:1px solid var(--line); white-space:nowrap; }
.save-status::before { content:''; display:inline-block; width:7px; height:7px; margin-inline-end:8px; border-radius:50%; background:#6bbb99; }
.save-status[data-state=error] { color:#a76645; } .save-status[data-state=error]::before { background:currentColor; }
.workspace { height:calc(100dvh - var(--header-height) - env(safe-area-inset-top)); width:100%; } .drawing-paper { position:relative; width:100%; height:100%; }
.canvas-surface { position:absolute; inset:0 0 calc(var(--dock-space) + env(safe-area-inset-bottom)); overflow:hidden; }
#canvas { display:block; width:100%; height:100%; touch-action:none; cursor:crosshair; } #canvas:focus-visible { outline-offset:-5px; }
.lesson-intro { position:absolute; z-index:1; left:50%; top:23%; width:min(400px,calc(100% - 38px)); transform:translateX(-50%); text-align:center; pointer-events:none; }
.lesson-intro h2 { font-weight:560; font-size:clamp(24px,2.6vw,36px); letter-spacing:-.6px; line-height:1.35; color:#29343c; }
.lesson-intro p { margin-top:12px; font-size:14px; color:#7a838c; line-height:1.7; }
.empty-hint { position:absolute; top:30%; left:50%; transform:translateX(-50%); width:90%; pointer-events:none; text-align:center; }
.empty-hint h2 { font-size:clamp(24px,3vw,36px); font-weight:450; letter-spacing:.5px; } .empty-hint p { margin-top:12px; font-size:13px; color:var(--muted); }
.trace-bookmark { position:absolute; z-index:3; top:22%; left:0; width:84px; height:140px; padding:15px 11px 13px; background:#fffffff5; border:1px solid #d7dddd; border-left:0; border-radius:0 5px 12px 0; transition:transform .2s,box-shadow .2s; }
.trace-bookmark::before { content:''; position:absolute; right:-1px; top:-1px; width:21px; height:21px; background:linear-gradient(45deg,#f4f6f5 48%,#d7dddd 49%,#d7dddd 51%,white 52%); border-radius:0 0 0 4px; }
.trace-bookmark>svg { width:50px; height:70px; stroke:#283238; stroke-width:1.7; }
.coral-cheek { fill:var(--coral); stroke:none; } .trace-bookmark>span { display:flex; align-items:center; justify-content:space-between; gap:4px; margin-top:5px; font-size:11px; } .trace-bookmark>span>span:last-child { font-size:20px; }
.trace-bookmark[aria-expanded=true] { visibility:hidden; }
.trace-panel { position:absolute; z-index:4; left:16px; top:9%; width:258px; max-height:calc(100% - 125px); overflow:auto; padding:22px; border:1px solid #e0e5e2; border-radius:5px 5px 18px 5px; background:#fffffff7; box-shadow:6px 12px 38px #2a453a09; backdrop-filter:blur(14px); animation:open-book .2s ease-out; }
.trace-panel header { display:flex; justify-content:space-between; gap:6px; align-items:flex-start; margin-bottom:14px; } .trace-panel h2 { font-size:16px; font-weight:550; margin-top:3px; } .trace-panel .icon-button { width:28px; height:32px; margin-inline-end:-9px; }
.trace-choices { display:grid; gap:7px; } .trace-choices button { display:flex; align-items:center; gap:10px; width:100%; padding:8px 10px; border-radius:8px; border:1px solid transparent; text-align:start; font-size:13px; }
.trace-choices canvas { width:76px; height:68px; } .trace-choices button:hover { background:#fff6f2; border-color:#fae6df; } .trace-panel>p { font-size:11px; color:var(--muted); margin:18px 0 10px; } .trace-restart { color:#b96859; padding:6px 0; min-height:40px; text-align:start; font-size:12px; }
.canvas-topbar { position:absolute; z-index:2; top:3px; left:100px; right:100px; pointer-events:none; display:flex; justify-content:center; }
.feedback { display:flex; align-items:center; gap:12px; padding:8px 12px; border-radius:10px; background:#ffffffbd; }
.canvas-status { display:flex; align-items:center; gap:7px; color:var(--muted); font-size:11px; text-align:center; } .status-dot { width:5px; height:5px; border-radius:50%; background:#a2b8a8; flex-shrink:0; }
.canvas-status[data-state=thinking] .status-dot { animation:breathe 1.5s ease-in-out infinite; } .canvas-status[data-state=error] { color:#ad7354; } .canvas-status[data-state=alive] .status-dot { background:var(--coral); }
body:not(.has-drawing) .feedback,body.is-tracing .feedback { visibility:hidden; }
.retry-button { pointer-events:auto; color:var(--ink); text-decoration:underline; text-underline-offset:3px; min-height:36px; white-space:nowrap; font-size:11px; }
.dock-area { position:absolute; z-index:2; bottom:calc(24px + env(safe-area-inset-bottom)); left:50%; transform:translateX(-50%); }
.paper-tools { position:relative; display:flex; align-items:end; justify-content:center; gap:14px; padding:0 16px; }
.paper-tools::before { content:''; position:absolute; left:0; right:0; bottom:20px; height:1px; background:#8e999e; transform:rotate(-.2deg); opacity:.65; pointer-events:none; }
.tool { position:relative; min-width:48px; min-height:64px; display:inline-flex; flex-direction:column; align-items:center; justify-content:flex-end; gap:13px; padding:4px 7px 0; color:#39464e; font-size:10px; white-space:nowrap; }
.tool svg { width:24px; height:24px; transition:transform .2s; } .tool span { line-height:16px; } .tool.selected::before { content:''; position:absolute; width:36px; height:11px; border-radius:50%; background:#ffd3c8; bottom:22px; z-index:-1; transform:rotate(-5deg); }
.tool.selected { color:#17242c; } .pen-tool svg { width:30px; height:49px; margin-bottom:-6px; transform:rotate(9deg); } .pen-tool.selected svg { transform:translateY(-3px) rotate(9deg); }
.ink-dots { display:flex; gap:5px; align-items:center; justify-content:center; height:26px; } .ink-dots i { display:block; width:5px; height:5px; border-radius:50%; background:currentColor; } .ink-dots i:nth-child(2) { width:9px; height:9px; outline:2px solid #ffcfc4; outline-offset:3px; } .ink-dots i:nth-child(3) { width:12px; height:12px; }
.tool-divider { width:1px; height:28px; background:#dce1e0; margin:0 0 26px; }
.canvas-caption { position:absolute; bottom:calc(34px + env(safe-area-inset-bottom)); left:max(36px,env(safe-area-inset-left)); color:#7a838b; font-size:12px; pointer-events:none; }
.playback-area { position:absolute; z-index:2; bottom:calc(26px + env(safe-area-inset-bottom)); right:max(36px,env(safe-area-inset-right)); }
.playback-tool { gap:5px; min-height:64px; font-size:11px; padding:0; } .playback-tool svg { width:34px; height:34px; stroke-width:1.2; } .free-draw { min-height:44px; font-size:12px; color:#65727a; }
.play-mark { display:none; } .playback-tool[aria-pressed=true] .pause-mark { display:none; } .playback-tool[aria-pressed=true] .play-mark { display:block; }
.lesson-followup { position:absolute; top:30%; left:50%; transform:translateX(-50%); text-align:center; padding:10px 18px; border-radius:12px; background:#ffffffd9; font-size:15px; color:#57665e; }
.lesson-followup>div { display:flex; gap:20px; justify-content:center; margin-top:8px; } .lesson-followup button { font-size:12px; color:#a95f50; min-height:40px; text-decoration:underline; text-underline-offset:5px; }
.eyebrow { font-size: 10px; color: #879777; letter-spacing: 1.2px; }
.inspiration-sheet { width: 480px; }
.brush-sheet { width: 400px; }
.brush-choices { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.brush-choices button { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 22px 8px 16px; border: 1px solid var(--line); border-radius: 14px; }
.brush-choices button.selected { border-color: #aebe9e; background: #eff4e8; color: var(--ink); }
.brush-preview { width: 34px; height: 24px; border-top: var(--stroke) solid currentColor; border-radius: 50%; transform: rotate(-15deg); }
.brush-choices strong { font-size: 14px; font-weight: 500; }
.brush-choices small { font-size: 10px; color: var(--muted); }
.gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 18px; }
.doodle-card { background: #edf1e5; border: 1px solid #e0e7d6; border-radius: 13px; padding: 5px 12px 9px; text-align: start; min-width: 0; transition: background .2s, transform .2s, border-color .2s; }
.doodle-card:nth-child(2) { background: #f0eee7; border-color: #e7e3d9; }
.doodle-card:nth-child(3) { background: #efeee3; border-color: #e5e3d2; }
.doodle-card:nth-child(4) { background: #eaf0ec; border-color: #dce5dd; }
.doodle-card canvas { width: 100%; aspect-ratio: 1; display: block; }
.doodle-card > span { display: flex; align-items: center; justify-content: space-between; font-size: 11px; color: #607351; }
.doodle-card > span > span[aria-hidden] { color: #8b9b7a; }
.gallery-note { color: #84907b; font-size: 10px; margin-top: 10px; }
.steps { list-style: none; margin: 16px 0 0; padding: 0; display: grid; gap: 16px; }
.steps li { display: flex; align-items: start; gap: 11px; }
.steps li > span { flex: 0 0 23px; height: 23px; display: grid; place-items: center; border: 1px solid #dbe4d1; border-radius: 50%; font: 12px Georgia, serif; color: #69825c; background: #eef3e8; }
.steps strong { font-size: 12px; font-weight: 500; }
.steps p { color: var(--muted); font-size: 11px; line-height: 1.8; margin-top: 2px; }
.sheet { border: 1px solid var(--line); border-radius: 22px; background: var(--surface); color: var(--text); padding: 28px; max-height: calc(100svh - 48px); max-width: calc(100vw - 32px); overflow: auto; box-shadow: 0 24px 100px #26321e1c; }
.sheet::backdrop { background: #27312336; backdrop-filter: blur(5px); }
.sheet[open] { animation: appear .2s ease-out; }
.sheet-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; margin-bottom: 20px; }
.sheet-header h2 { font: 500 24px/1.7 var(--serif); color: var(--ink); }
.sheet-header p { font-size: 13px; color: var(--muted); margin-top: 4px; }
.sheet-header .icon-button { margin: -4px -10px 0 0; }
.sheet-note { font-size: 11px; color: var(--muted); text-align: center; margin-top: 18px; }
.save-sheet { width: 440px; }
.file-actions { padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.file-actions button { width: 100%; display: flex; align-items: center; gap: 12px; padding: 12px 8px; min-height: 48px; border-radius: 10px; text-align: start; }
.file-actions svg { width: 20px; height: 20px; color: #829078; }
.file-actions button > span:last-child { margin-inline-start: auto; font-size: 12px; color: var(--muted); }
.file-label { display: flex; flex-direction: column; }
.file-label strong { font-size: 14px; font-weight: 500; }
.file-label small { font-size: 11px; color: var(--muted); margin-top: 4px; }
.guide-sheet { width: 480px; }
.guide-sheet .steps { gap: 22px; }
.guide-sheet .steps strong { font-size: 14px; }
.guide-sheet .steps p { font-size: 12px; }
.shortcut-list { display: flex; gap: 10px 20px; flex-wrap: wrap; padding-block: 20px; margin-top: 12px; border-bottom: 1px solid var(--line); }
.shortcut-list > span { font-size: 11px; color: var(--muted); }
kbd { padding: 2px 4px; border: 1px solid var(--line); border-radius: 4px; margin-inline-start: 5px; background: var(--paper); font: 10px var(--ui); }
.help-note a { text-decoration:underline; text-underline-offset:3px; }
.help-note { font-size: 11px; color: var(--muted); line-height: 1.9; margin-top: 16px; }
.guide-start { width: 100%; margin-top: 20px; }


.toast { position:fixed; z-index:10; bottom:calc(var(--dock-space) + 16px + env(safe-area-inset-bottom)); left:50%; transform:translateX(-50%); display:flex; align-items:center; gap:16px; width:max-content; max-width:calc(100vw - 24px); padding:9px 12px 9px 18px; background:#34413b; color:white; border-radius:12px; box-shadow:0 6px 24px #23342416; font-size:12px; }
.toast button { min-height:36px; flex-shrink:0; color:#ffd2c6; padding:4px; } #toast-close { font-size:20px; width:28px; color:#d7ded9; }
.noscript { position:fixed; bottom:16px; left:16px; right:16px; text-align:center; background:white; padding:16px; border:1px solid var(--line); border-radius:12px; }
.sheet-header>div,.file-label { min-width:0; } .sheet h2,.sheet p,.file-label strong,.file-label small { overflow-wrap:anywhere; }
@media(hover:hover) { .icon-button:hover,.text-button:hover,.file-actions button:hover:not(:disabled) { background:#f2f5f3; } .primary-button:hover:not(:disabled) { background:#45574b; } .tool:hover:not(:disabled) svg { transform:translateY(-3px); } .trace-bookmark:hover { transform:translateX(3px); box-shadow:2px 4px 18px #3348310b; } }
@media(max-width:1100px) { .canvas-caption { font-size:10px; left:24px; bottom:17px; } .save-status { display:none; } .brand-landscape { display:none; } .paper-tools { gap:10px; } }
@media(max-width:700px) { :root { --header-height:74px; --dock-space:136px; } .app-header { padding-inline:20px 12px; gap:8px; } .world-heading { gap:13px; } .wordmark>span { font-size:28px; } .world-title { padding-inline-start:13px; } .world-title strong { max-width:120px; font-size:11px; } .world-title>span { font-size:9px; } .header-actions { gap:0; } .header-actions .text-button { width:36px; padding:7px; } .header-actions .text-button>span { display:none; } .header-actions .icon-button { width:32px; }
 .trace-bookmark { width:61px; height:109px; top:18%; padding:15px 7px 6px; } .trace-bookmark>svg { width:38px; height:50px; } .trace-bookmark>span { font-size:9px; gap:3px; } .trace-panel { top:4%; left:10px; width:230px; padding:18px; max-height:calc(100% - 140px); }
 .lesson-intro { left:50%; transform:translateX(-50%); text-align:center; width:calc(100% - 38px); max-width:380px; } .lesson-intro h2 { font-size:26px; } .lesson-intro p { font-size:12px; margin-top:9px; } .lesson-followup { width:80%; font-size:13px; }
 .dock-area { bottom:calc(36px + env(safe-area-inset-bottom)); } .paper-tools { gap:8px; padding:0 8px; } .tool { min-width:43px; padding-inline:5px; } .tool-divider { margin-inline:0; } .canvas-caption { left:20px; bottom:calc(12px + env(safe-area-inset-bottom)); font-size:10px; }
 .playback-area { right:20px; bottom:calc(111px + env(safe-area-inset-bottom)); } .free-draw { font-size:11px; } .playback-tool { min-height:44px; } .playback-tool svg { width:28px; height:28px; } .playback-tool span { display:none; }
 .canvas-topbar { left:20px; right:20px; top:0; } .canvas-status { font-size:10px; } .sheet { padding:22px; border-radius:18px; }
}
@media(max-width:380px) { .world-title strong { max-width:91px; } .world-title>span { display:none; } .world-heading { gap:10px; } .world-title { padding-inline-start:10px; } .app-header { padding-inline:14px 8px; } }
@media(max-height:570px) and (min-aspect-ratio:3/2) { :root { --header-height:58px; --dock-space:80px; } .dock-area { bottom:12px; } .tool { min-height:53px; gap:8px; } .pen-tool svg { height:37px; } .lesson-intro h2 { font-size:23px; } .lesson-intro p { font-size:11px; margin-top:5px; } .trace-bookmark { top:14%; width:60px; height:100px; } .trace-bookmark>svg { height:43px; } .trace-panel { top:0; max-height:calc(100% - 84px); } .trace-choices canvas { width:55px; height:45px; } .playback-area { bottom:18px; } .canvas-caption { bottom:10px; } }
html[dir=rtl] .history-tool svg { transform:scaleX(-1); } html[dir=rtl] .lesson-intro { text-align:start; } html:lang(ar),html:lang(hi) { letter-spacing:normal; }
@keyframes breathe { 50% { opacity:.3; } } @keyframes appear { from { opacity:0; transform:translateY(8px); } to { opacity:1; transform:translateY(0); } } @keyframes open-book { from { opacity:0; transform:translateX(-12px); } to { opacity:1; transform:translateX(0); } }
@media(prefers-reduced-motion:reduce) { *,*::before,*::after { animation:none!important; transition:none!important; } }

.view-controls { position:absolute; z-index:2; left:max(36px,env(safe-area-inset-left)); bottom:calc(63px + env(safe-area-inset-bottom)); display:flex; align-items:center; gap:2px; padding:0 3px; border:1px solid #e7ece9; border-radius:9px; background:#ffffffed; color:#6b7972; }
.view-controls button { min-width:36px; height:34px; padding:0 5px; font-size:18px; border-radius:6px; }
.view-controls #zoom-reset { min-width:52px; font-size:11px; font-variant-numeric:tabular-nums; }
.view-controls button:hover:not(:disabled) { background:#eff4f0; color:#263a2f; }
@media(max-width:1100px) { .view-controls { left:24px; bottom:47px; } }
@media(max-width:700px) { .view-controls { left:20px; bottom:calc(111px + env(safe-area-inset-bottom)); } .view-controls button { height:36px; } .paper-tools { gap:6px; padding-inline:5px; } }
@media(max-height:570px) and (min-aspect-ratio:3/2) { .view-controls { left:18px; bottom:35px; } }
/* Scene controls share the paper's quiet, neutral material palette. */
.canvas-switch{background:none;border:0;text-align:start;display:grid;gap:5px;padding:0 18px;border-inline-start:1px solid #eceeed;cursor:pointer;max-width:250px;color:inherit}.canvas-switch strong{font-size:14px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.canvas-switch span{font-size:11px;color:#929b98}
.creation-actions{position:absolute;top:28px;left:30px;display:flex;gap:8px;z-index:5}.creation-actions button{border:1px solid #e4e9e5;border-radius:24px;padding:10px 17px;background:#ffffffed;color:#44514b;box-shadow:0 3px 10px #273b2c04;cursor:pointer}.creation-actions button:first-child{background:#eef4ee}
.object-toolbar{position:absolute;top:80px;left:50%;transform:translateX(-50%);display:flex;align-items:center;gap:3px;padding:7px;background:#ffffffef;border:1px solid #e4e9e5;border-radius:15px;box-shadow:0 6px 24px #26372b0d;z-index:6;max-width:calc(100% - 30px)}.object-toolbar[hidden]{display:none}.object-toolbar button{border:0;border-radius:8px;background:none;white-space:nowrap;padding:8px;color:#526058;cursor:pointer}.object-toolbar button:hover{background:#eef4ee}.object-toolbar select{border:0;background:transparent;max-width:130px;font:inherit;font-size:12px;color:#536057}.object-toolbar button:disabled{opacity:.35}.object-toolbar button[hidden]{display:none}
.material-tabs{display:flex;gap:5px;flex-wrap:wrap;margin-bottom:20px}.material-tabs button{border:0;background:#f4f6f3;border-radius:20px;padding:8px 13px;cursor:pointer;color:#6a756e}.material-tabs button[aria-selected=true]{background:#dfeadc;color:#355143}.material-card{position:relative}.material-card>.doodle-card{width:100%}.material-card>.material-delete{position:absolute;right:7px;top:7px;border:0;background:#fff;border-radius:14px;min-width:42px;height:28px;padding:0 10px;font:inherit;font-size:12px;white-space:nowrap;cursor:pointer}.doodle-card img{width:100%;height:150px;object-fit:contain}.gallery[hidden]{display:none}#upload-image{margin-top:22px;width:100%}#material-grid:empty{min-height:160px}
.canvas-row{display:flex;gap:6px;align-items:center;padding:10px 0;border-bottom:1px solid #edf0eb}.canvas-row>button{border:0;border-radius:8px;background:transparent;padding:9px;cursor:pointer;color:#64726b}.canvas-row>button:first-child{flex:1;text-align:start;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#2d4438}.canvas-row.current>button:first-child{background:#edf3e9}.canvas-trash{margin-top:24px;color:#829086;font-size:13px}.canvas-trash summary{cursor:pointer}#add-canvas{width:100%;margin-top:20px}.name-sheet{max-width:380px}#name-input{width:100%;padding:13px;border:1px solid #dce5dd;border-radius:10px;margin:4px 0 20px;font:inherit}.name-sheet .primary-button{width:100%}.canvas-surface.drag-over{outline:2px dashed #91ae90;outline-offset:-15px}.save-status[data-state=error]{color:#b05845}.canvas-topbar{pointer-events:none}.canvas-topbar button{pointer-events:auto}
@media(max-width:700px){.canvas-switch{padding-inline:10px;max-width:160px}.canvas-switch strong{font-size:12px}.creation-actions{top:14px;left:15px}.creation-actions button{padding:8px 11px;font-size:12px}.object-toolbar{top:57px;gap:0;flex-wrap:wrap;width:max-content;justify-content:center}.object-toolbar button{padding:6px;font-size:11px}.object-toolbar select{max-width:95px}.canvas-topbar{top:16px;right:15px;left:auto;max-width:45%;font-size:10px}.canvas-status{font-size:10px}.paper-tools{gap:0;padding-inline:7px}.paper-tools .tool{min-width:37px;padding-inline:4px}.width-tool{display:none}.dock-area{bottom:82px}.view-controls{bottom:24px}.playback-area{bottom:25px}.canvas-caption{display:none}.trace-bookmark{top:130px}}
@media(max-width:1100px){.save-status[data-state=error]{display:block;position:fixed;top:calc(var(--header-height) + 54px);right:14px;z-index:12;background:#fff3ed;border:1px solid #edd5c8;border-radius:10px;padding:7px 10px;font-size:11px;max-width:calc(100vw - 28px);white-space:normal}}

.element-count{align-self:center;color:#809087;font-size:12px;font-variant-numeric:tabular-nums;white-space:nowrap;padding-inline:4px;pointer-events:none}.element-count[data-full=true]{color:#a05b45}.material-capacity{font-size:13px;line-height:1.6;color:#7b867f;margin:0 0 16px}.creation-actions button:disabled,.doodle-card:disabled,#upload-image:disabled,[data-lesson]:disabled{opacity:.45;cursor:not-allowed}
@media(max-width:700px){.creation-actions{flex-wrap:wrap;max-width:52%;row-gap:5px}.element-count{flex-basis:100%;font-size:11px}.object-toolbar{top:85px}}

.material-error{color:#a05b45}.material-error[hidden]{display:none}

.ink-dots[data-brush-width] i{outline:none}.ink-dots[data-brush-width="2.5"] i:nth-child(1),.ink-dots[data-brush-width="4.5"] i:nth-child(2),.ink-dots[data-brush-width="8"] i:nth-child(3){outline:2px solid #ffcfc4;outline-offset:3px}
