/*! tailwindcss v4.2.1 | MIT License | https://tailwindcss.com */@layer theme{:host,:root{--font-sans:ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji";--font-mono:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace;--spacing:.25rem;--default-font-family:var(--font-sans);--default-mono-font-family:var(--font-mono)}}@layer base{*,::backdrop,:after,:before{box-sizing:border-box;border:0 solid;margin:0;padding:0}::file-selector-button{box-sizing:border-box;border:0 solid;margin:0;padding:0}:host,html{-webkit-text-size-adjust:100%;tab-size:4;line-height:1.5;font-family:var(--default-font-family,ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji");font-feature-settings:var(--default-font-feature-settings,normal);font-variation-settings:var(--default-font-variation-settings,normal);-webkit-tap-highlight-color:transparent}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,pre,samp{font-family:var(--default-mono-font-family,ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace);font-feature-settings:var(--default-mono-font-feature-settings,normal);font-variation-settings:var(--default-mono-font-variation-settings,normal);font-size:1em}small{font-size:80%}sub,sup{vertical-align:baseline;font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}:-moz-focusring{outline:auto}progress{vertical-align:baseline}summary{display:list-item}menu,ol,ul{list-style:none}audio,canvas,embed,iframe,img,object,svg,video{vertical-align:middle;display:block}img,video{max-width:100%;height:auto}button,input,optgroup,select,textarea{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}::file-selector-button{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}:where(select:is([multiple],[size])) optgroup{font-weight:bolder}:where(select:is([multiple],[size])) optgroup option{padding-inline-start:20px}::file-selector-button{margin-inline-end:4px}::placeholder{opacity:1}@supports (not ((-webkit-appearance:-apple-pay-button))) or (contain-intrinsic-size:1px){::placeholder{color:currentColor}@supports (color:color-mix(in lab,red,red)){::placeholder{color:color-mix(in oklab,currentcolor 50%,transparent)}}}textarea{resize:vertical}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-date-and-time-value{min-height:1lh;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-datetime-edit{padding-block:0}::-webkit-datetime-edit-year-field{padding-block:0}::-webkit-datetime-edit-month-field{padding-block:0}::-webkit-datetime-edit-day-field{padding-block:0}::-webkit-datetime-edit-hour-field{padding-block:0}::-webkit-datetime-edit-minute-field{padding-block:0}::-webkit-datetime-edit-second-field{padding-block:0}::-webkit-datetime-edit-millisecond-field{padding-block:0}::-webkit-datetime-edit-meridiem-field{padding-block:0}::-webkit-calendar-picker-indicator{line-height:1}:-moz-ui-invalid{box-shadow:none}button,input:where([type=button],[type=reset],[type=submit]){appearance:button}::file-selector-button{appearance:button}::-webkit-inner-spin-button{height:auto}::-webkit-outer-spin-button{height:auto}[hidden]:where(:not([hidden=until-found])){display:none!important}}@layer components;@layer utilities{.sr-only{clip-path:inset(50%);white-space:nowrap;border-width:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.start{inset-inline-start:var(--spacing)}.table{display:table}}:root{--ink:#302923;--muted:#756d65;--line:#e6dfd5;--paper:#fffdf9;--panel:#f8f5f0;--accent:#b35d36;--accent-dark:#8d4325;--accent-soft:#f6e8df;--focus:#236fa1}*{box-sizing:border-box}body,html{min-height:100%}body{color:var(--ink);background:#eee9e1;margin:0;font-family:Microsoft JhengHei,PingFang TC,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}button,input,select,textarea{font:inherit}button{color:inherit}button:focus-visible,input:focus-visible,select:focus-visible,summary:focus-visible,textarea:focus-visible{outline:3px solid var(--focus)}@supports (color:color-mix(in lab,red,red)){button:focus-visible,input:focus-visible,select:focus-visible,summary:focus-visible,textarea:focus-visible{outline:3px solid color-mix(in srgb,var(--focus) 36%,transparent)}}button:focus-visible,input:focus-visible,select:focus-visible,summary:focus-visible,textarea:focus-visible{outline-offset:2px}.studio-shell{grid-template-rows:auto minmax(0,1fr);grid-template-columns:minmax(0,1fr);min-height:100vh;display:grid}.topbar{border-bottom:1px solid var(--line);z-index:5;background:#fffdf9f5;justify-content:space-between;align-items:center;gap:20px;min-height:68px;padding:12px 18px;display:flex;position:relative;box-shadow:0 1px 14px #3827190d}.brand{align-items:center;gap:11px;min-width:0;display:flex}.brand-mark{color:#613a20;background:#ffcf45;border-radius:12px;place-items:center;width:39px;height:39px;font-size:20px;display:grid;box-shadow:inset 0 -3px #7544191f}.brand h1{letter-spacing:.02em;margin:0;font-size:17px;line-height:1.15}.brand p{color:var(--muted);margin:4px 0 0;font-size:12px}.inline-actions,.row-actions,.top-actions{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.button{border:1px solid var(--line);cursor:pointer;background:#fff;border-radius:10px;min-height:38px;padding:8px 13px;font-size:13px;font-weight:700;transition:all .15s}.button:hover:not(:disabled){border-color:#c8bbae;transform:translateY(-1px);box-shadow:0 5px 14px #3d2b1d14}.button:disabled{cursor:wait;opacity:.58}.button.primary{color:#fff;background:var(--accent);border-color:var(--accent)}.button.primary:hover:not(:disabled){background:var(--accent-dark);border-color:var(--accent-dark)}.button.sync-button{color:#28613d;background:#eff9f2;border-color:#9bc4a9}.button.sync-button:hover:not(:disabled){background:#e1f3e7;border-color:#67a47c}.button.ghost{background:0 0}.button.danger{color:#a43a2b}.button.compact{min-height:32px;padding:5px 9px;font-size:12px}.workspace{grid-template-columns:238px minmax(470px,1fr) 340px;min-height:0;display:grid}.inspector,.roster{background:var(--paper);min-width:0;min-height:0;overflow:auto}.roster{border-right:1px solid var(--line)}.inspector{border-left:1px solid var(--line)}.panel-head{z-index:2;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);border-bottom:1px solid var(--line);background:#fffdf9f5;padding:17px 16px 13px;position:sticky;top:0}.panel-title-row{justify-content:space-between;align-items:center;gap:10px;display:flex}.panel-head h2,.section-title{letter-spacing:.04em;margin:0;font-size:14px}.helper,.panel-head p,.save-note{color:var(--muted);margin:6px 0 0;font-size:12px;line-height:1.55}.count-badge{text-align:center;background:var(--accent-soft);min-width:29px;color:var(--accent-dark);border-radius:999px;padding:3px 7px;font-size:12px;font-weight:800}.student-list{gap:5px;margin:0;padding:10px;list-style:none;display:grid}.student-item{text-align:left;cursor:pointer;background:0 0;border:1px solid #0000;border-radius:11px;grid-template-columns:27px minmax(0,1fr) 8px;align-items:center;gap:8px;width:100%;padding:9px;display:grid}.student-item:hover{background:#f7f2eb}.student-item.active{background:var(--accent-soft);border-color:#e9c7b6}.student-index{width:27px;height:27px;color:var(--muted);background:#f0ebe4;border-radius:8px;place-items:center;font-size:11px;font-weight:800;display:grid}.student-item.active .student-index{background:var(--accent);color:#fff}.student-name{white-space:nowrap;text-overflow:ellipsis;min-width:0;font-size:13px;font-weight:700;overflow:hidden}.status-dot{background:#d9d1c8;border-radius:50%;width:7px;height:7px}.status-dot.ready{background:#46a36c;box-shadow:0 0 0 3px #e0f3e6}.roster-footer{gap:8px;padding:4px 12px 18px;display:grid}.roster-footer .button{width:100%}.stage{background-color:#eae5dc;background-image:radial-gradient(#d3ccc2 .8px,#0000 .8px);background-size:17px 17px;min-width:0;min-height:0;padding:clamp(18px,3vw,42px);overflow:auto}.stage-inner{width:min(100%,1120px);margin:0 auto}.canvas-topline{justify-content:space-between;align-items:flex-start;gap:14px;min-height:34px;margin-bottom:10px;display:flex}.canvas-topline strong{font-size:13px;display:block}.canvas-topline span{color:var(--muted);margin-top:3px;font-size:11px;display:block}.canvas-frame{aspect-ratio:16/9;background:#fff;border-radius:12px;width:100%;position:relative;overflow:hidden;box-shadow:0 18px 50px #3326182b,0 0 0 1px #4b342214}.canvas-frame.dragging{box-shadow:0 18px 50px #3326182b,0 0 0 4px #b35d3647}.showcase-canvas{touch-action:none;width:100%;height:100%;display:block}.canvas-hint{color:var(--muted);justify-content:space-between;align-items:center;gap:12px;margin-top:12px;font-size:12px;display:flex}.shortcut{color:#5c544c;background:#fff;border:1px solid #d8d0c6;border-bottom-width:2px;border-radius:5px;padding:1px 5px;font-size:10px}.inspector-section{border-bottom:1px solid var(--line);padding:17px 16px}.inspector-section:last-child{border-bottom:0}.field{gap:7px;margin-top:14px;display:grid}.field:first-child{margin-top:0}.field label,.field-label{color:#5c534b;font-size:12px;font-weight:800}.batch-textarea,.field input[type=text],.field select,.field textarea{width:100%;color:var(--ink);resize:vertical;background:#fff;border:1px solid #d8d0c6;border-radius:9px;padding:9px 10px;font-size:13px;line-height:1.5}.batch-textarea:focus,.field input[type=text]:focus,.field select:focus,.field textarea:focus{border-color:var(--focus)}.field textarea{min-height:70px}.range-row{grid-template-columns:minmax(0,1fr) 48px;align-items:center;gap:10px;display:grid}input[type=range]{width:100%;accent-color:var(--accent)}.range-value{color:#665d55;text-align:center;background:#f2eee8;border-radius:7px;padding:4px 6px;font-size:11px;font-weight:800}.upload-box{background:#fcfaf7;border:1px dashed #cdbeb2;border-radius:11px;margin-top:12px;padding:13px}.upload-box strong{font-size:13px;display:block}.upload-name{white-space:nowrap;text-overflow:ellipsis;max-width:100%;color:var(--muted);margin:5px 0 11px;font-size:11px;display:block;overflow:hidden}details.advanced{padding:0}details.advanced summary{cursor:pointer;padding:17px 16px;font-size:13px;font-weight:800;list-style:none}details.advanced summary::-webkit-details-marker{display:none}details.advanced summary:after{content:"+";float:right;color:var(--muted)}details.advanced[open] summary:after{content:"−"}.advanced-body{padding:0 16px 18px}.color-row{grid-template-columns:1fr 42px;align-items:center;gap:10px;display:grid}input[type=color]{background:#fff;border:1px solid #d8d0c6;border-radius:8px;width:42px;height:32px;padding:2px}.dialog-backdrop{z-index:20;-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px);background:#271f1973;place-items:center;padding:20px;display:grid;position:fixed;inset:0}.dialog{background:var(--paper);border-radius:17px;width:min(680px,100%);max-height:min(720px,92vh);padding:23px;overflow:auto;box-shadow:0 24px 80px #251b144d}.dialog h2{margin:0;font-size:20px}.dialog p{color:var(--muted);font-size:13px;line-height:1.65}.batch-textarea{min-height:270px;margin:4px 0 15px;font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace}.batch-dialog{width:min(1180px,96vw);overflow:hidden}.batch-dialog-head{justify-content:space-between;align-items:flex-start;gap:24px;display:flex}.batch-dialog-head p{margin-bottom:12px}.batch-count{color:var(--accent-dark);background:#efe4d8;border-radius:999px;flex:none;padding:7px 11px;font-size:12px;font-weight:900}.batch-grid-wrap{background:#fff;border:1px solid #d8d0c6;border-radius:11px;max-height:min(510px,60vh);overflow:auto}.batch-grid{border-spacing:0;table-layout:fixed;width:100%;min-width:930px}.batch-grid td,.batch-grid th{border-bottom:1px solid #e4ddd5;border-right:1px solid #e4ddd5}.batch-grid thead th{z-index:2;color:#5d4b3d;text-align:left;background:#f4eee7;padding:9px 8px;font-size:12px;position:sticky;top:0}.batch-grid thead th:nth-child(2){width:150px}.batch-grid thead th:nth-child(3){width:210px}.batch-grid thead th:nth-child(4),.batch-grid thead th:nth-child(5){width:250px}.batch-grid textarea{resize:vertical;width:100%;min-height:58px;color:var(--ink);font:inherit;background:0 0;border:0;outline:0;padding:8px;font-size:12px;line-height:1.45;display:block}.batch-grid textarea:focus{box-shadow:inset 0 0 0 2px var(--focus);background:#fffdf9}.batch-row-number{width:42px;color:var(--muted);background:#faf7f2;padding:0 8px;font-size:11px;text-align:center!important}.batch-row-action{width:42px;text-align:center!important}.batch-row-action button{color:#a05c47;cursor:pointer;background:0 0;border:0;border-radius:7px;width:28px;height:28px;padding:0;font-size:20px}.batch-row-action button:hover{background:#f7e9e3}.batch-grid-tools{align-items:center;gap:8px;margin:12px 0 16px;display:flex}.batch-grid-tools span{color:var(--muted);text-align:right;margin-left:auto;font-size:11px}.gallery-backdrop{z-index:25}.gallery-dialog{width:min(1240px,96vw);max-height:94vh;overflow:hidden}.gallery-dialog-head{justify-content:space-between;align-items:flex-start;gap:24px;margin-bottom:14px;display:flex}.gallery-dialog-head p{max-width:820px;margin:5px 0 0}.gallery-grid{grid-template-columns:repeat(auto-fill,minmax(290px,1fr));gap:15px;max-height:calc(94vh - 120px);padding:2px 4px 4px 2px;display:grid;overflow:auto}.gallery-card{background:#fff;border:1px solid #d8d0c6;border-radius:14px;overflow:hidden;box-shadow:0 8px 24px #372a1f14}.gallery-card img{aspect-ratio:16/9;object-fit:contain;background:#f4eee7;width:100%;display:block}.gallery-card-body{justify-content:space-between;align-items:center;gap:12px;padding:12px;display:flex}.gallery-card-body strong{min-width:0;color:var(--ink);text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.gallery-card-actions{flex:none;gap:6px;display:flex}.sync-confirm-dialog{grid-template-rows:auto minmax(0,1fr) auto;display:grid}.sync-preview-grid{max-height:calc(94vh - 190px)}.sync-preview-copy{padding:12px}.sync-preview-copy strong{color:var(--ink);font-size:13px;display:block}.sync-preview-copy p{-webkit-line-clamp:3;white-space:pre-line;-webkit-box-orient:vertical;margin:5px 0 0;display:-webkit-box;overflow:hidden}.sync-confirm-actions{padding-top:15px}.dialog-actions{justify-content:flex-end;gap:9px;display:flex}.classroom-dialog{width:min(440px,100%)}.classroom-dialog-actions{margin-top:20px}.toast{z-index:30;color:#fff;background:#302923;border-radius:999px;max-width:calc(100vw - 28px);padding:10px 15px;font-size:12px;font-weight:700;position:fixed;bottom:24px;left:50%;transform:translate(-50%);box-shadow:0 12px 30px #251b143d}.sr-only{clip:rect(0,0,0,0);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}@media (width<=1120px){.workspace{grid-template-columns:210px minmax(440px,1fr) 310px}}@media (width<=900px){.workspace{flex-wrap:wrap;display:flex;overflow:visible}.roster{border-right:0;border-bottom:1px solid var(--line);order:1;width:100%;overflow:visible}.roster .panel-head{position:static}.student-list{padding-bottom:12px;display:flex;overflow-x:auto}.student-list li{flex:0 0 158px}.roster-footer{display:flex}.roster-footer .button{flex:1;width:auto}.stage{order:2;width:100%;min-height:auto}.inspector{border-left:0;border-top:1px solid var(--line);order:3;width:100%;overflow:visible}.inspector .panel-head{position:static}}@media (width<=620px){.dialog-backdrop{padding:8px}.batch-dialog{width:100%;max-height:96vh;padding:16px}.batch-dialog-head,.batch-grid-tools,.gallery-dialog-head{flex-direction:column;align-items:flex-start;gap:6px}.gallery-dialog{width:100%;max-height:96vh;padding:14px}.gallery-grid{grid-template-columns:1fr;max-height:calc(96vh - 150px)}.gallery-card-body{flex-direction:column;align-items:flex-start}.batch-grid-tools span{text-align:left;margin-left:0}.topbar{flex-direction:column;align-items:flex-start}.top-actions{grid-template-columns:1fr 1fr;width:100%;display:grid}.top-actions .button.primary{grid-column:1/-1}.stage{padding:16px 10px 22px}.canvas-frame{border-radius:7px}.canvas-hint{flex-direction:column;align-items:flex-start}}@media (prefers-reduced-motion:reduce){*,:after,:before{scroll-behavior:auto!important;transition:none!important}}.loading-screen{min-height:100vh;color:var(--muted);place-items:center;font-weight:800;display:grid}.classroom-head{gap:10px;display:grid}.classroom-select{width:100%;min-height:39px;color:var(--ink);background:#fff;border:1px solid #d8d0c6;border-radius:9px;padding:7px 9px;font-size:13px;font-weight:800}.course-setting{background:#fff7ef;border:1px solid #ead8c9;border-radius:10px;gap:5px;padding:9px;display:grid}.course-setting label{color:var(--accent-dark);font-size:11px;font-weight:900}.course-setting span{color:var(--muted);font-size:10px;line-height:1.45}.backup-actions,.classroom-actions{gap:6px;display:flex}.backup-actions>*,.classroom-actions>*{flex:1}.mini-action{color:#60574f;cursor:pointer;background:#f1ece5;border:0;border-radius:7px;min-height:28px;font-size:11px;font-weight:800}.mini-action:hover:not(:disabled){background:#e9dfd4}.mini-action:disabled{opacity:.4;cursor:not-allowed}.danger-text{color:#a43a2b}.student-list-head{color:var(--muted);justify-content:space-between;align-items:center;padding:13px 15px 2px;font-size:11px;display:flex}.student-list-head strong{color:var(--ink);font-size:12px}.canvas-toolbar{grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:13px;min-height:58px;margin-bottom:12px;display:grid}.mode-switch{background:#ffffffbf;border:1px solid #d8d0c6;border-radius:11px;padding:3px;display:inline-flex}.alignment-buttons button,.mode-switch button{min-height:31px;color:var(--muted);cursor:pointer;background:0 0;border:0;border-radius:8px;padding:5px 10px;font-size:11px;font-weight:800}.alignment-buttons button.active,.mode-switch button.active{background:var(--accent);color:#fff;box-shadow:0 3px 9px #85422338}.mode-description{min-width:0}.mode-description span,.mode-description strong{display:block}.mode-description strong{font-size:13px}.mode-description span,.student-progress{color:var(--muted);margin-top:3px;font-size:11px}.student-progress{white-space:nowrap}.editable-canvas{isolation:isolate;container-type:inline-size}.editable-canvas.dragging:after{content:"放開即可加入圖片";z-index:20;border:3px dashed var(--accent);color:var(--accent-dark);pointer-events:none;background:#fffaf4d6;border-radius:9px;place-items:center;font-size:clamp(14px,2.4vw,28px);font-weight:900;display:grid;position:absolute;inset:12px}.editable-layer{z-index:3;border:1px solid #0000;min-width:18px;min-height:18px;transition:border-color .12s,background .12s;position:absolute}.editable-layer.selected,.editable-layer:hover{background:#fff7f01a;border-color:#b35d36cc}.editable-layer.selected{box-shadow:0 0 0 2px #ffffffe0,0 0 0 4px #b35d3685}.canvas-text-editor{resize:none;letter-spacing:0;white-space:pre-wrap;word-break:break-all;background:0 0;border:0;outline:0;width:100%;height:100%;margin:0;padding:0;font-family:Microsoft JhengHei,PingFang TC,sans-serif;display:block;overflow:hidden}.canvas-text-editor:focus{background:#fffdf914}.layer-tag{z-index:7;background:var(--accent);color:#fff;white-space:nowrap;pointer-events:none;border-radius:999px;padding:2px 7px;font-size:9px;font-weight:800;position:absolute;top:2px;left:50%;transform:translate(-50%,-115%);box-shadow:0 3px 8px #492a1c2e}.layer-handle{z-index:8;background:var(--accent);color:#fff;cursor:grab;opacity:0;touch-action:none;border:2px solid #fff;border-radius:50%;place-items:center;width:clamp(18px,2.2cqw,28px);height:clamp(18px,2.2cqw,28px);padding:0;font-size:clamp(9px,1.1cqw,14px);display:grid;position:absolute;box-shadow:0 2px 7px #47291b47}.editable-layer.selected .layer-handle,.editable-layer:hover .layer-handle{opacity:1}.layer-handle:active{cursor:grabbing}.move-handle{top:0;left:0;transform:translate(-50%,-50%)}.resize-handle{cursor:nwse-resize;bottom:0;right:0;transform:translate(50%,50%)}.stretch-handle{border-radius:999px}.resize-left-handle,.resize-right-handle{cursor:ew-resize;width:clamp(12px,1.4cqw,18px);height:clamp(28px,3.2cqw,42px);top:50%}.resize-left-handle{left:0;transform:translate(-50%,-50%)}.resize-right-handle{right:0;transform:translate(50%,-50%)}.resize-bottom-handle,.resize-top-handle{cursor:ns-resize;width:clamp(28px,3.2cqw,42px);height:clamp(12px,1.4cqw,18px);left:50%}.resize-top-handle{top:0;transform:translate(-50%,-50%)}.resize-bottom-handle{bottom:0;transform:translate(-50%,50%)}.photo-editable-layer{cursor:pointer;touch-action:none;border:2px dashed #765d4975;place-items:center;display:grid;overflow:visible}.photo-editable-layer.has-image{cursor:move;border-style:solid;border-color:#0000}.photo-editable-layer.has-image.selected,.photo-editable-layer.has-image:hover{border-color:#b35d36cc}.paste-placeholder{color:#8d7767;text-align:center;pointer-events:none;place-items:center;gap:.45em;display:grid}.paste-placeholder strong{background:#fffc;border:1px solid #8d776773;border-bottom-width:3px;border-radius:.45em;padding:.28em .65em;font-size:clamp(10px,2cqw,26px)}.paste-placeholder span{font-size:clamp(8px,1.2cqw,16px);font-weight:800}.gesture-guide{gap:8px;margin-top:12px;display:grid}.gesture-guide>div{grid-template-columns:29px minmax(0,1fr);align-items:center;gap:8px;display:grid}.gesture-guide>div>span{background:var(--accent-soft);width:28px;height:28px;color:var(--accent-dark);border-radius:8px;place-items:center;font-weight:900;display:grid}.gesture-guide p{color:var(--muted);margin:0;font-size:11px}.gesture-guide strong{color:var(--ink);margin-right:4px}.paste-card{text-align:center;background:#fff8f2;border:1px dashed #d1b9aa;border-radius:12px;justify-items:center;gap:6px;margin:13px 0;padding:15px 12px;display:grid}.paste-card strong{font-size:13px}.paste-card p{color:var(--muted);margin:0;font-size:11px;line-height:1.5}.paste-keys{align-items:center;gap:5px;display:flex}.paste-keys kbd{color:var(--accent-dark);background:#fff;border:1px solid #d7c5b7;border-bottom-width:3px;border-radius:6px;padding:4px 8px;font-size:12px;font-weight:900}.paste-keys b{color:var(--muted);font-size:11px}.alignment-buttons{background:#f1ece5;border-radius:10px;grid-template-columns:repeat(3,1fr);gap:5px;padding:3px;display:grid}.position-readout{grid-template-columns:repeat(4,1fr);gap:6px;margin:12px 0;display:grid}.position-readout span{color:var(--muted);text-align:center;background:#f2eee8;border-radius:8px;gap:2px;padding:7px 6px;font-size:9px;display:grid}.position-readout b{color:var(--ink);font-size:11px}@media (width<=900px){.canvas-toolbar{grid-template-columns:1fr auto}.mode-description{grid-area:2/1/auto/-1}.student-progress{grid-area:1/2}}@media (width<=620px){.canvas-toolbar{padding-inline:2px}.mode-switch{width:100%}.mode-switch button{flex:1}.canvas-hint{font-size:11px}}