/* Canvas follows the existing Locrian monochrome design system.
   Square controls, thin dividers, black/white surfaces; no accent gradients. */
.maker-page{width:100%!important;max-width:none!important;margin:0!important;padding:0!important}
.maker-page>#page-eyebrow,.maker-page>#page-title,.maker-page>#page-description{display:none!important}
.maker-page #page-content{width:100%;max-width:none;margin:0}
.maker-app{--maker-ink:#111;--maker-muted:#626262;--maker-line:#dedede;--maker-paper:#fff;--maker-ground:#ededed;display:flex;flex-direction:column;min-height:calc(100vh - 78px);font-family:var(--locrian-ui-font);color:var(--maker-ink);background:#fff}
.maker-app button,.maker-app input,.maker-app textarea,.maker-app select{font:inherit}
.maker-app button,.maker-app a,.maker-app input,.maker-app select,.maker-app textarea{border-radius:0!important}
.maker-app button{cursor:pointer}
.maker-app button:disabled{opacity:.35;cursor:default}
.maker-app :is(button,input,textarea,select,a):focus-visible{outline:2px solid #111;outline-offset:2px}
.maker-bar{background:#171717;color:#fff;display:flex;align-items:center;justify-content:space-between;gap:14px;min-height:68px;padding:11px clamp(16px,2.2vw,34px);border-bottom:1px solid #333}
.maker-bar-group{display:flex;gap:7px;align-items:center;flex-wrap:wrap;min-width:0}
.maker-title-group{flex:1 1 330px;gap:16px}
.maker-back-link{font-size:12px;color:#fff;text-decoration:none;white-space:nowrap}
.maker-back-link:hover{text-decoration:underline}
.maker-brand{display:flex;align-items:center;flex:none;border-right:1px solid #606060;padding-right:15px}
.maker-brand-image{display:block;width:116px;max-width:16vw;height:auto;object-fit:contain;filter:brightness(0) invert(1)}
.maker-bar input{width:min(250px,42vw);height:35px;min-width:110px;border:1px solid #595959;background:#181818;color:#fff;padding:0 10px;font-size:13px;font-weight:600}
.maker-bar button{height:36px;padding:7px 12px;border:1px solid #686868;background:transparent;color:#fff;font-size:11px;font-weight:650;white-space:nowrap;transition:background-color .16s,color .16s}
.maker-bar button:hover:not(:disabled){color:#111;background:#fff}
.maker-bar button.maker-primary{background:#fff;border-color:#fff;color:#111}
.maker-bar button.maker-primary:hover{background:#dcdcdc;border-color:#dcdcdc}
.maker-status{color:#bfbfbf;font-size:10px;white-space:nowrap}
.maker-command-bar{display:flex;align-items:center;gap:8px 13px;flex-wrap:wrap;position:relative;border-bottom:1px solid #d3d3d3;background:#fff;padding:9px clamp(14px,2vw,28px);min-height:66px}
.maker-command-bar>input[hidden]{display:none!important}
.maker-drawing-tools,.maker-command-bar .maker-insert-tools{display:flex;flex-direction:row;gap:2px;align-items:center;flex-wrap:nowrap;padding-right:12px;border-right:1px solid var(--maker-line)}
.maker-command-bar .maker-tool,.maker-toolbar-insert,.maker-toolbar-media,.maker-command-bar>#pdf-button,.maker-command-bar>button{border:1px solid transparent;background:#fff;color:#111;min-width:38px;height:40px;padding:5px 9px;font-size:21px;font-weight:450;white-space:nowrap;text-align:center;transition:background-color .13s,color .13s}
.maker-command-bar .maker-tool:hover:not(:disabled),.maker-toolbar-insert:hover:not(:disabled),.maker-command-bar>button:hover:not(:disabled){background:#ededed}
.maker-command-bar .maker-tool[aria-pressed=true]{background:#111;color:#fff;border-color:#111}
.maker-command-bar .maker-toolbar-insert{font-size:18px;font-weight:650}
.maker-command-bar .maker-toolbar-media,.maker-command-bar>button:not(.maker-tool){font-size:11px;font-weight:700;padding:5px 12px;min-width:0;border-color:#dedede}
.maker-command-bar .maker-toolbar-media{margin-left:2px}
.maker-tool-options{flex:1 0 100%;min-height:50px;display:flex;align-items:center;gap:12px 18px;flex-wrap:wrap;border-top:1px solid #e7e7e7;padding:10px 0 1px;background:#fff}
.maker-context-title{font-size:12px;white-space:nowrap;margin-right:4px}
.maker-context-hint{font-size:12px;color:#626262}
.maker-context-field,.maker-tone-group{display:flex;align-items:center;gap:8px;min-height:33px}
.maker-setting-label{font-size:11px;color:#626262;white-space:nowrap}
.maker-input,.maker-context-select,.maker-context-number{background:#fff;border:1px solid #cfcfcf;color:#111;min-height:32px;padding:6px 8px;font-size:12px}
.maker-input{width:100%;box-sizing:border-box}
.maker-context-select{width:145px}
.maker-context-number{width:62px;text-align:center}
.maker-format-group{display:flex;gap:0;border:1px solid #d1d1d1}
.maker-format-button,.maker-context-field>.maker-format-button{min-width:32px;height:32px;background:#fff;color:#111;border:1px solid #d1d1d1;padding:5px 10px;font-weight:700;font-size:12px}
.maker-format-group>.maker-format-button{border:0;border-right:1px solid #d1d1d1}
.maker-format-group>.maker-format-button:last-child{border-right:0}
.maker-format-button[aria-pressed=true]{background:#111;color:#fff}
.maker-format-button:hover:not(:disabled){background:#eaeaea;color:#111}
.maker-tone-swatches{display:flex;gap:5px}
.maker-tone-swatch{font-size:0;display:block;width:23px;height:23px;min-width:23px;padding:0;background:var(--maker-swatch);border:1px solid #9b9b9b;box-shadow:inset 0 0 0 1px #fff}
.maker-tone-swatch[aria-pressed=true]{outline:2px solid #111;outline-offset:2px}
.maker-context-opacity{width:100px;accent-color:#111}
.maker-opacity-wrap{display:flex;align-items:center;gap:7px}
.maker-opacity-value{min-width:36px;font-size:11px;font-variant-numeric:tabular-nums}
.maker-workspace{display:grid;grid-template-columns:180px minmax(0,1fr) 260px;flex:1;min-height:0;align-items:stretch}
.maker-page-rail{background:#fff;border-right:1px solid var(--maker-line);padding:18px 10px;min-width:0;display:flex;flex-direction:column;gap:15px}
.maker-rail-title{margin:0 6px;font-size:13px;font-weight:750}
.maker-pages{display:flex;flex-direction:column;align-items:stretch;gap:8px;overflow:auto;min-height:0;flex:1}
.maker-pages .maker-page-thumb{display:flex;flex-direction:column;align-items:flex-start;gap:8px;width:100%;padding:9px 12px 12px;border:1px solid transparent;background:#fff;color:#555;text-align:left;font-size:11px}
.maker-pages .maker-page-thumb:hover{border-color:#bcbcbc}
.maker-pages .maker-page-thumb[aria-current=page]{background:#f3f3f3;border-color:#111;color:#111;font-weight:700}
.maker-page-thumb-paper{display:block;width:min(100%,112px);aspect-ratio:794/1123;box-sizing:border-box;border:1px solid #c8c8c8;background:#fff;position:relative}
.maker-page-thumb-paper svg{display:block;width:100%;height:100%;pointer-events:none;user-select:none}
.maker-page-thumb-paper svg *{pointer-events:none}
.maker-page-thumb[aria-current=page] .maker-page-thumb-paper{border-color:#111}
.maker-page-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:5px;margin-top:12px}
.maker-page-actions button{padding:9px 5px;white-space:normal;line-height:1.35;font-size:10px;text-align:center;border:1px solid #d4d4d4;background:#fff;color:#111}
.maker-page-actions button:first-child{grid-column:1/-1;background:#111;color:#fff;border-color:#111;font-weight:700}
.maker-page-actions button:hover:not(:disabled){background:#111;color:#fff}
.maker-stage-frame{position:relative;min-width:0;min-height:0;background:var(--maker-ground)}
.maker-stage{height:100%;min-height:0;box-sizing:border-box;display:flex;flex-direction:column;align-items:center;gap:16px;padding:26px 66px 54px 28px;overflow:auto;scrollbar-color:#aaa transparent}
.maker-sheet{position:relative;width:min(100%,690px);aspect-ratio:794/1123;background:#fff;border:1px solid #d0d0d0;box-shadow:0 5px 16px #00000013;flex:none}
.maker-sheet svg{display:block;width:100%;height:100%;user-select:none;touch-action:none}
.maker-stage-dock{position:absolute;right:15px;top:22px;display:flex;flex-direction:column;align-items:stretch;gap:4px;padding:5px;background:#fff;border:1px solid #d0d0d0;box-shadow:0 2px 10px #00000010;z-index:3}
.maker-stage-dock button{min-width:37px;min-height:35px;padding:5px 8px;border:1px solid transparent;background:#fff;color:#111;font-size:12px;white-space:nowrap}
.maker-stage-dock button:hover:not(:disabled){background:#111;color:#fff}
.maker-stage-dock button:disabled{opacity:.3}
.maker-zoom-label{font-size:11px;text-align:center;padding:7px 0;border-top:1px solid #dedede;border-bottom:1px solid #dedede;font-variant-numeric:tabular-nums}
.maker-right-rail{background:#fff;border-left:1px solid var(--maker-line);display:flex;flex-direction:column;min-height:0;overflow:auto}
.maker-side{box-sizing:border-box;display:flex;flex-direction:column;gap:9px;padding:16px 13px;background:#fff;min-width:0}
.maker-side--tools{border-top:1px solid #ddd}
.maker-side--inspector{border:0;order:-1}
.maker-side h2{font-size:12px;font-weight:750;letter-spacing:.025em;margin:5px 0}
.maker-side p{font-size:11px;line-height:1.6;margin:0;color:#666}
.maker-side button{border:1px solid #d4d4d4;background:#fff;color:#111;padding:8px 9px;font-size:11px;text-align:left;transition:background-color .13s,color .13s}
.maker-side button:hover:not(:disabled){background:#111;color:#fff}
.maker-side button[aria-pressed=true]{background:#111;color:#fff}
.maker-side textarea.maker-input{min-height:84px;resize:vertical}
.maker-field{display:flex;flex-direction:column;gap:5px;font-size:11px;color:#666}
.maker-field-row{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
.maker-template-list{display:grid;grid-template-columns:1fr;gap:5px}
.maker-template-list .maker-template-choice{display:flex;flex-direction:column;gap:4px;align-items:stretch}
.maker-template-desc{font-size:10px;font-weight:400;line-height:1.4;color:#777}
.maker-template-choice:hover:not(:disabled) .maker-template-desc{color:#eee}
.maker-align-tools{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}
.maker-align-tools button{text-align:center}
.maker-insert-tools{display:flex;flex-direction:column;gap:6px}
.maker-cloud{display:flex;flex-direction:column;gap:7px;border-top:1px solid #ddd;padding-top:13px;min-width:0}
.maker-cloud[hidden],.maker-cloud button[hidden]{display:none!important}
.maker-cloud-actions{display:flex;flex-direction:column;gap:5px}
.maker-cloud-list{display:flex;flex-direction:column;gap:5px;max-height:210px;overflow:auto}
.maker-cloud-entry{border:1px solid #ddd;min-width:0}
.maker-cloud-row{display:flex;justify-content:space-between;align-items:center;gap:5px;min-width:0;padding:6px}
.maker-cloud-row span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:10px}
.maker-cloud-row button{flex:none;padding:5px}
.maker-cloud-confirm{display:flex;flex-wrap:wrap;gap:5px;border-top:1px solid #ddd;padding:6px}
.maker-cloud-confirm[hidden]{display:none!important}
.maker-cloud-confirm span{width:100%;font-size:11px}
.maker-check{display:flex;gap:7px;align-items:center;font-size:11px}
.maker-check input{accent-color:#111}
.maker-note{border-top:1px solid #e2e2e2;padding-top:10px;margin-top:5px}
.maker-side input[type=color]{height:34px;cursor:pointer}
.maker-side input[type=range]{accent-color:#111}
.maker-sheet.maker-grid-on{background-color:#fff;background-image:linear-gradient(90deg,rgba(0,0,0,.055) 1px,transparent 1px),linear-gradient(0deg,rgba(0,0,0,.055) 1px,transparent 1px);background-size:1.25945% 100%,100% .89047%}
.maker-sheet .maker-object{cursor:grab}
.maker-sheet .maker-object:active{cursor:grabbing}
.maker-sheet .maker-object .maker-selection{fill:none;stroke:none;pointer-events:none}
.maker-sheet .maker-object.selected .maker-selection{fill:none;stroke:#111;stroke-width:2;stroke-dasharray:5 3;pointer-events:none}
.maker-sheet svg[data-tool=select]{touch-action:pan-y}
.maker-sheet svg:not([data-tool=select]){touch-action:none;cursor:crosshair}
.maker-sheet svg .maker-object{touch-action:none}
.maker-sheet svg:not([data-tool=select]) .maker-object{cursor:crosshair}
.maker-sheet svg .maker-preview-object{pointer-events:none}
.maker-sheet svg .maker-selection-marquee{pointer-events:none;fill:rgba(0,0,0,.07);stroke:#111;stroke-width:1.5;stroke-dasharray:6 4}
.maker-sheet svg .maker-text-frame-preview{pointer-events:none;fill:rgba(0,0,0,.035);
 stroke:#111;stroke-width:1.5;stroke-dasharray:5 3}
.maker-sheet svg .maker-preview-object .maker-selection{display:none}
.maker-highlight-stroke{mix-blend-mode:multiply}
.maker-sheet svg[data-tool=eraser],.maker-sheet svg[data-tool=eraser] .maker-object{cursor:cell;touch-action:none}
.maker-resize-handle{fill:#fff;stroke:#111;stroke-width:3;cursor:nwse-resize;pointer-events:all}
.maker-sheet svg[data-tool=select] .maker-resize-handle{touch-action:none}
@media(max-width:1050px){.maker-workspace{grid-template-columns:142px minmax(0,1fr) 220px}.maker-page-rail{padding:13px 7px}.maker-stage{padding:22px 55px 38px 13px}.maker-bar{padding:10px 15px}.maker-command-bar{padding:9px 15px}}
@media(max-width:760px){.maker-workspace{grid-template-columns:112px minmax(0,1fr)}.maker-right-rail{grid-column:1/-1;border-left:0;border-top:1px solid #ddd;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));max-height:450px}.maker-side--tools{border-top:0;border-left:1px solid #ddd}.maker-side--inspector{order:0}.maker-stage{padding:20px 44px 40px 10px}.maker-stage-dock{right:4px;top:10px}.maker-page-actions{grid-template-columns:1fr}.maker-page-actions button:first-child{grid-column:auto}.maker-tool-options{gap:9px 12px}}
@media(max-width:520px){.maker-bar{align-items:flex-start;flex-direction:column}.maker-title-group{flex-basis:auto}.maker-bar input{width:210px}.maker-command-bar{overflow-x:auto;flex-wrap:wrap;gap:7px}.maker-drawing-tools{gap:0}.maker-command-bar .maker-tool{min-width:33px;font-size:17px;padding:4px}.maker-workspace{grid-template-columns:88px minmax(0,1fr)}.maker-right-rail{display:flex;max-height:380px}.maker-page-rail{padding:10px 5px}.maker-rail-title{font-size:11px}.maker-pages .maker-page-thumb{padding:5px;gap:3px}.maker-page-thumb-paper{max-height:105px}.maker-stage{padding:14px 40px 30px 5px}.maker-stage-dock button{min-width:30px;min-height:31px;padding:4px}.maker-tool-options{min-width:420px}}
@media print{
 @page{size:A4 portrait;margin:0}
 html,body{overflow:visible!important;background:white!important}
 .site-header,.site-footer,.skip,.maker-bar,.maker-command-bar,.maker-page-rail,.maker-right-rail,.maker-stage-dock,.maker-pages,#toast,.auth-dialog{display:none!important}
 #main,#page-view,#page-content,.maker-page,.maker-app,.maker-workspace,.maker-stage-frame,.maker-stage{display:block!important;padding:0!important;margin:0!important;width:100%!important;min-height:0!important;height:auto!important;overflow:visible!important;background:#fff!important}
 .maker-sheet{box-sizing:border-box;display:block;box-shadow:none;border:0;width:210mm!important;height:297mm!important;max-width:none!important;page-break-after:always;break-after:page;margin:0!important}
 .maker-sheet:last-child{break-after:auto;page-break-after:auto}
 .maker-sheet svg{width:100%;height:100%}
 .maker-object .maker-selection,.maker-resize-handle,.maker-selection-marquee{display:none!important}
 .maker-sheet.maker-grid-on{background-image:none!important}
}


/* Immersive Easel-like layout: Locrian's square black-and-white surface, no guidance callouts. */
body:has(.maker-page) .site-header,
body:has(.maker-page) .site-footer{display:none!important}
body:has(.maker-page) #main{width:100%!important;max-width:none!important;margin:0!important;padding:0!important}
.maker-app{--maker-ground:#f3f3f3;--maker-line:#e5e5e5;min-height:100dvh;height:100dvh;overflow:hidden;background:#fff}
.maker-bar{flex:none;min-height:48px;height:48px;padding:0 17px;gap:14px;background:#191919;border-bottom:1px solid #3a3a3a}
.maker-title-group{gap:12px;flex:1;flex-wrap:nowrap}
.maker-back-link{display:grid;place-items:center;width:27px;height:34px;flex:none}
.maker-back-link svg{width:20px;height:20px}
.maker-back-link:hover{background:#333;text-decoration:none}
.maker-brand{border-right:1px solid #4e4e4e;padding-right:12px}
.maker-bar input{width:min(290px,31vw);min-width:115px;padding:0 3px;border:0;border-bottom:1px solid transparent;background:transparent;font-size:15px;font-weight:750;height:33px}
.maker-bar input:hover,.maker-bar input:focus{border-bottom-color:#a4a4a4;outline:0}
.maker-status{font-size:10px;color:#ccc}
.maker-bar-group:last-child{gap:9px;flex-wrap:nowrap}
.maker-bar button.maker-primary{background:#fff;color:#111;border:1px solid #fff;font-size:11px}
.maker-command-bar{flex:none;display:flex;flex-wrap:wrap;align-items:flex-start;align-content:flex-start;min-height:49px;padding:0 13px;background:#303030;border:0;gap:0;z-index:10}
.maker-drawing-tools{display:flex;flex:0 0 100%;width:100%;height:49px;box-sizing:border-box;align-items:center;gap:3px;padding:4px 0;border:0;overflow:visible;flex-wrap:nowrap;min-width:0;position:relative;z-index:2}
.maker-drawing-tools .maker-tool,.maker-shape-trigger{display:grid;place-items:center;width:38px;height:39px;min-width:38px;min-height:39px;padding:6px;border:1px solid transparent;background:transparent;color:#fff;cursor:pointer;box-sizing:border-box}
.maker-drawing-tools .maker-tool svg,.maker-shape-trigger svg{display:block;width:21px;height:21px;flex:none}
.maker-drawing-tools .maker-tool:hover:not(:disabled),.maker-shape-trigger:hover{background:#4c4c4c;color:#fff}
.maker-drawing-tools .maker-tool[aria-pressed=true],.maker-drawing-tools .maker-tool[aria-pressed=true]:hover{background:#fff;color:#111;border-color:#fff}
.maker-shape-menu{display:block;position:relative;flex:none}
.maker-shape-trigger{list-style:none}
.maker-shape-trigger::-webkit-details-marker{display:none}
.maker-shape-menu[open] .maker-shape-trigger{background:#fff;color:#111}
.maker-shape-choices{position:absolute;z-index:25;left:0;top:45px;width:224px;padding:8px;display:grid;grid-template-columns:repeat(5,1fr);gap:2px;background:#fff;border:1px solid #ccc;box-shadow:0 8px 20px #0002}
.maker-shape-menu:not([open]) .maker-shape-choices{display:none}
.maker-shape-choices .maker-tool{color:#111;background:#fff;min-width:38px;width:38px}
.maker-shape-choices .maker-tool:hover:not(:disabled){background:#ededed;color:#111}
.maker-shape-choices .maker-tool[aria-pressed=true]{background:#111;color:#fff}
.maker-tool-options{position:relative;z-index:1;box-sizing:border-box;background:#fff;flex:0 0 100%;width:100%;height:auto;margin:0;padding:7px 12px;min-height:46px;gap:12px 18px;border-top:1px solid #e5e5e5}
.maker-tool-options[hidden]{display:none!important}
.maker-context-hint,.maker-template-desc,.maker-note{display:none!important}
.maker-workspace{position:relative;grid-template-columns:216px minmax(0,1fr);overflow:hidden;flex:1;min-height:0}
.maker-page-rail{padding:0;gap:0;background:#fff;border-right:1px solid #e0e0e0;min-height:0}
.maker-rail-title{flex:none;margin:0;padding:18px 20px;font-size:12px;font-weight:700;border-bottom:1px solid #eee;line-height:1.1}
.maker-pages{gap:0;padding-top:10px;flex:1;overflow:auto}
.maker-pages .maker-page-thumb{display:flex;position:relative;gap:7px;padding:12px 15px 12px 27px;flex-direction:row;align-items:flex-start;border:0;background:#fff;width:100%;color:#555;min-height:132px}
.maker-pages .maker-page-thumb:hover{background:#f5f5f5;border:0}
.maker-pages .maker-page-thumb[aria-current=page]{background:#f0f0f0;border:0;font-weight:700}
.maker-thumb-index{position:absolute;top:18px;left:12px;font-size:11px;font-variant-numeric:tabular-nums}
.maker-page-thumb-paper{width:100%;max-width:145px;aspect-ratio:794/1123;border:1px solid #aaa;box-shadow:0 1px 3px #00000012;background:#fff}
.maker-page-thumb[aria-current=page] .maker-page-thumb-paper{border:2px solid #111}
.maker-page-actions{position:relative;display:flex;gap:5px;align-items:center;justify-content:space-between;margin:0;padding:10px 12px;border-top:1px solid #e2e2e2;flex:none}
.maker-page-actions button:first-child{grid-column:auto}
.maker-page-actions>button:first-child{flex:1;background:#fff;color:#111;border:1px solid #111;font-size:12px;font-weight:650;padding:9px 8px;white-space:nowrap}
.maker-page-actions>button:first-child:hover{background:#111;color:#fff}
.maker-page-actions .maker-overview-toggle{flex:none;width:36px;height:36px;padding:7px;border:1px solid #ccc;background:#fff;display:grid;place-items:center}
.maker-page-actions .maker-overview-toggle[aria-pressed=true]{background:#111;color:#fff}
.maker-page-actions .maker-overview-toggle svg{width:19px;height:19px}
.maker-page-menu{position:relative;flex:none}
.maker-page-menu-trigger{width:36px;height:36px;border:1px solid #ccc;display:grid;place-items:center;cursor:pointer;list-style:none}
.maker-page-menu-trigger::-webkit-details-marker{display:none}
.maker-page-menu-trigger svg{width:20px;height:20px}
.maker-page-menu-choices{position:absolute;bottom:40px;right:0;z-index:25;width:190px;background:#fff;border:1px solid #dedede;box-shadow:0 5px 15px #0002;padding:5px;display:flex;flex-direction:column;gap:3px}
.maker-page-menu:not([open]) .maker-page-menu-choices{display:none}
.maker-page-menu-choices button{width:100%;border:1px solid transparent;background:#fff;color:#111;text-align:left;font-size:11px;padding:10px}
.maker-page-menu-choices button:hover:not(:disabled){background:#111;color:#fff}
.maker-stage-frame{background:#f3f3f3;min-width:0;overflow:hidden}
.maker-stage{display:flex;align-items:center;justify-content:flex-start;flex-direction:column;padding:32px 65px 50px 30px;gap:18px;overflow:auto}
.maker-sheet{box-shadow:0 1px 6px #00000016;border:1px solid #dadada;max-width:100%}
.maker-stage-dock{right:16px;top:23px;padding:0;background:transparent;box-shadow:none;border:0;gap:3px;width:40px}
.maker-stage-dock .maker-dock-button{display:grid;place-items:center;min-width:40px;min-height:37px;border:1px solid #ddd;background:#fff;box-shadow:0 1px 4px #00000010}
.maker-dock-button svg{width:20px;height:20px}
.maker-zoom-label{background:#fff;border:1px solid #ddd;padding:7px 0;font-size:10px}
/* Overview is a slide-out sibling of the page rail, not a stage mode. */
.maker-page-rail{position:relative;z-index:4}
.maker-page-overview-panel{position:absolute;left:100%;top:0;bottom:0;z-index:35;
 width:min(680px,calc(100vw - 245px));box-sizing:border-box;min-width:0;
 display:flex;flex-direction:column;background:#fff;border-right:1px solid #d4d4d4;
 box-shadow:10px 8px 25px #00000018;opacity:0;visibility:hidden;pointer-events:none;
 transform:translateX(-24px);
 transition:transform .26s cubic-bezier(.2,.82,.2,1),opacity .26s,visibility .26s}
.maker-page-overview-panel.is-open{opacity:1;visibility:visible;pointer-events:auto;transform:translateX(0)}
.maker-overview-head{display:flex;align-items:center;justify-content:space-between;flex:none;
 padding:13px 18px;border-bottom:1px solid #dedede;font-size:14px}
.maker-overview-close{display:grid;place-items:center;width:32px;height:32px;
 border:1px solid #ddd;background:#fff;color:#111;cursor:pointer}
.maker-overview-close svg{width:18px;height:18px}
.maker-overview-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(130px,1fr));
 gap:14px;padding:18px;align-content:start;overflow:auto;min-height:0}
.maker-overview-page{background:#fff;border:1px solid #ccc;padding:10px;cursor:pointer;
 text-align:left;display:flex;flex-direction:column;gap:7px}
.maker-overview-page:hover,.maker-overview-page[aria-current=page]{border-color:#111}
.maker-overview-page>svg{display:block;max-width:100%;width:100%;aspect-ratio:794/1123}
.maker-overview-page>span{font-size:11px;color:#555}
@media(max-width:900px){.maker-page-overview-panel{width:min(550px,calc(100vw - 180px))}}
@media(max-width:560px){
 .maker-page-overview-panel{width:calc(100vw - 110px)}
 .maker-overview-grid{grid-template-columns:repeat(auto-fill,minmax(92px,1fr));gap:8px;padding:10px}
}
@media(prefers-reduced-motion:reduce){.maker-page-overview-panel{transition:none!important}}
@media print{.maker-page-overview-panel{display:none!important}}
.maker-right-rail{position:absolute;right:67px;top:14px;bottom:14px;z-index:12;width:min(310px,calc(100vw - 285px));max-height:none;overflow:auto;border:1px solid #d6d6d6;box-shadow:0 6px 24px #00000018;background:#fff;display:flex;flex-direction:column}
.maker-right-rail[hidden]{display:none!important}
.maker-panel-head{display:flex;align-items:center;justify-content:space-between;gap:8px;position:sticky;top:0;background:#fff;z-index:2;padding:10px 13px;border-bottom:1px solid #ddd}
.maker-panel-title{font-size:13px}
.maker-panel-close{width:30px;height:30px;display:grid;place-items:center;border:1px solid #ddd;background:#fff}
.maker-panel-close svg{width:19px;height:19px}
.maker-right-rail[data-panel=inspector] .maker-side--tools,
.maker-right-rail[data-panel=tools] .maker-side--inspector{display:none!important}
.maker-side{padding:12px 13px;gap:8px}
.maker-side--tools{border:0}
.maker-side--inspector{order:0}
.maker-template-choice .maker-template-desc{display:none}
@media(max-width:900px){
 .maker-workspace{grid-template-columns:150px minmax(0,1fr)}
 .maker-page-thumb-paper{max-width:100px}
 .maker-pages .maker-page-thumb{min-height:112px;padding:9px 8px 10px 22px}
 .maker-page-rail .maker-rail-title{padding:15px 9px}
 .maker-stage{padding:20px 52px 30px 12px}
 .maker-right-rail{right:45px;width:min(310px,calc(100vw - 205px))}
 .maker-bar .maker-brand{display:flex}
 .maker-brand-image{width:95px;max-width:14vw}
 .maker-command-bar{overflow:visible;flex-wrap:wrap;min-height:49px}
 .maker-drawing-tools{flex:0 0 100%;width:100%;height:auto;min-height:49px;flex-wrap:wrap}
 .maker-tool-options{flex:0 0 100%;width:100%;min-width:0;flex-wrap:wrap}
}
@media(max-width:560px){
 .maker-app{height:100dvh;min-height:0}
 .maker-bar{padding:0 8px;gap:7px;flex-direction:row;align-items:center}
 .maker-title-group{flex:1;gap:6px;min-width:0}
 .maker-bar input{width:125px;min-width:60px;font-size:12px}
 .maker-brand{padding-right:7px}
 .maker-brand-image{width:68px;max-width:18vw}
 .maker-status{display:none}
 .maker-bar-group:last-child{flex:none}
 .maker-bar button.maker-primary{font-size:10px;padding:4px 6px}
 .maker-workspace{grid-template-columns:90px minmax(0,1fr)}
 .maker-rail-title{font-size:10px!important;padding:12px 5px!important}
 .maker-thumb-index{left:4px;top:12px}
 .maker-pages .maker-page-thumb{padding:9px 4px 9px 18px;min-height:95px}
 .maker-page-actions{flex-wrap:wrap;gap:4px;padding:5px}
 .maker-page-actions>button:first-child{flex:1 0 100%;font-size:10px}
 .maker-stage{padding:14px 38px 20px 6px}
 .maker-stage-dock{top:10px;right:2px;width:32px}
 .maker-stage-dock .maker-dock-button{min-width:30px;min-height:31px}
 .maker-right-rail{right:33px;width:min(280px,calc(100vw - 135px))}
 .maker-stage--overview{padding:12px 40px 12px 10px;grid-template-columns:repeat(auto-fill,minmax(90px,1fr))}
}
@media print{
 body:has(.maker-page) .site-header,body:has(.maker-page) .site-footer{display:none!important}
 .maker-app{height:auto!important;min-height:0!important;overflow:visible!important}
 .maker-stage{display:block!important;overflow:visible!important;padding:0!important}
 .maker-sheet{max-width:none!important}
 .maker-overview-page,.maker-panel-head,.maker-page-menu{display:none!important}
}


/* My Canvas library: TPT-like information architecture with Locrian square monochrome UI. */
body:has(.maker-page) .maker-app.maker-library{min-height:100dvh;height:100dvh;overflow-y:auto;overflow-x:hidden;background:#fff;display:flex;flex-direction:column}
.maker-library-header{width:100%;box-sizing:border-box;flex:none;min-height:56px;background:#191919;color:#fff;display:flex;align-items:center;gap:17px;padding:0 clamp(16px,3.5vw,48px)}
.maker-library-logo{font-size:21px;letter-spacing:.12em;font-weight:800;color:#fff;text-decoration:none;white-space:nowrap}
.maker-library-logo:hover{color:#fff;text-decoration:none}
.maker-library-brand{font-size:11px;letter-spacing:.16em;color:#bbb;border-left:1px solid #555;padding-left:17px}
.maker-library-top-actions{margin-left:auto;display:flex;gap:10px;align-items:center}
.maker-library-create{padding:11px 23px;border:1px solid #fff;background:#fff;color:#111;font-size:12px;font-weight:700;white-space:nowrap}
.maker-library-create:hover:not(:disabled){background:#111;color:#fff}
.maker-library-intro{background:#f6f5f2;border-bottom:1px solid #e8e7e5;flex:none}
.maker-library-intro-content{box-sizing:border-box;max-width:1320px;margin:auto;padding:35px 25px;display:flex;justify-content:space-between;align-items:center;gap:24px}
.maker-library-intro h1{font-size:29px;line-height:1.25;margin:0;font-weight:750;letter-spacing:-.055em}
.maker-library-intro input[type=search]{box-sizing:border-box;background:#fff;color:#111;border:1px solid #c9c9c9;width:min(420px,45vw);min-width:140px;padding:11px 16px;font-size:13px;outline-offset:2px}
.maker-library-main{width:100%;max-width:1320px;flex:1;box-sizing:border-box;padding:25px 25px 55px;margin:0 auto}
.maker-library-message{padding:12px 15px;margin:0 0 14px;border:1px solid #c6c6c6;font-size:12px;line-height:1.5}
.maker-library-message[hidden]{display:none!important}
.maker-library-error{border-color:#111;background:#f4f4f4}
.maker-library-columns,.maker-library-row{display:grid;grid-template-columns:minmax(0,1fr) 105px 155px 58px;align-items:center;gap:16px}
.maker-library-columns{padding:13px 16px;border-bottom:1px solid #bfbfbf;font-size:11px;letter-spacing:.015em;font-weight:750}
.maker-library-row{min-height:128px;padding:14px 16px;border-bottom:1px solid #dedede;box-sizing:border-box}
.maker-library-row:hover{background:#fafafa}
.maker-library-open{border:0!important;background:transparent!important;color:#111!important;text-align:left;min-width:0;width:100%;display:flex;align-items:center;gap:30px;padding:0!important;box-sizing:border-box}
.maker-library-open:hover strong{text-decoration:underline}
.maker-library-open strong{display:inline-block;font-size:15px;font-weight:750;min-width:0;overflow-wrap:anywhere}
.maker-library-open strong small{font-size:11px;font-weight:400;white-space:nowrap}
.maker-library-preview{width:105px;height:110px;display:grid;place-items:center;flex:none;background:#f5f5f5;border:1px solid #dfdfdf;overflow:hidden;box-sizing:border-box}
.maker-library-thumb-paper{width:72px;aspect-ratio:794 / 1123;background:#fff;box-shadow:0 0 2px #0002;border:1px solid #e5e5e5;box-sizing:border-box;overflow:hidden}
.maker-library-thumb-paper svg{display:block;width:100%;height:100%;pointer-events:none}
.maker-library-date,.maker-library-pages{font-size:12px;color:#555;font-variant-numeric:tabular-nums}
.maker-library-actions{text-align:right;position:relative;justify-self:end}
.maker-library-menu{position:relative}
.maker-library-menu summary{list-style:none;display:grid;place-items:center;width:32px;height:33px;font-size:23px;cursor:pointer;border:1px solid transparent;line-height:1}
.maker-library-menu summary::-webkit-details-marker{display:none}
.maker-library-menu summary:hover,.maker-library-menu[open] summary{background:#111;color:#fff}
.maker-library-confirm{position:absolute;right:0;top:36px;z-index:25;width:220px;background:#fff;border:1px solid #cfcfcf;box-shadow:0 4px 16px #0002;padding:12px;display:grid;grid-template-columns:1fr 1fr;gap:6px;text-align:left;box-sizing:border-box}
.maker-library-confirm p{grid-column:1/-1;font-size:12px;margin:0 0 6px}
.maker-library-confirm button{border:1px solid #c6c6c6;color:#111;background:#fff;padding:9px 6px;font-size:11px}
.maker-library-confirm button:hover{background:#111;color:#fff}
.maker-library-confirm .maker-library-delete{background:#111;color:#fff;border-color:#111}
.maker-library-confirm .maker-library-delete:hover{background:#444}
.maker-library-menu:not([open]) .maker-library-confirm{display:none}
.maker-library-empty{padding:65px 10px;text-align:center;font-size:14px;color:#777}
.maker-library-count{text-align:center;font-size:11px;color:#767676;padding:26px 0}
@media(max-width:750px){
 .maker-library-intro-content{padding:28px 17px;gap:14px}
 .maker-library-intro h1{font-size:23px}
 .maker-library-intro input[type=search]{width:44vw;min-width:120px}
 .maker-library-main{padding:16px 10px 35px}
 .maker-library-columns,.maker-library-row{grid-template-columns:minmax(0,1fr) 64px 38px;gap:8px}
 .maker-library-columns>span:nth-child(3),.maker-library-date{display:none}
 .maker-library-open{gap:10px}
 .maker-library-open strong{font-size:12px}
 .maker-library-open strong small{display:block}
 .maker-library-preview{width:62px;height:78px}
 .maker-library-thumb-paper{width:47px}
 .maker-library-row{min-height:94px;padding:9px}
 .maker-library-columns{padding:11px 9px}
 .maker-library-pages{font-size:10px}
}
@media(max-width:480px){
 .maker-library-header{padding:0 12px;gap:10px}
 .maker-library-logo{font-size:17px}
 .maker-library-brand{font-size:9px;padding-left:8px}
 .maker-library-create{padding:9px 10px;font-size:10px}
 .maker-library-intro-content{flex-direction:column;align-items:stretch;gap:16px}
 .maker-library-intro input[type=search]{width:100%}
}
@media print{.maker-library{display:none!important}}


/* Recover a previous device's unsynced draft without mutating the latest document. */
.maker-recovery-banner{display:flex;align-items:center;justify-content:space-between;gap:18px;
  background:#fff;color:#111;border-bottom:1px solid #111;padding:10px 20px;font-size:12px}
.maker-recovery-banner[hidden]{display:none!important}
.maker-recovery-banner button{flex:none;background:#111;color:#fff;border:1px solid #111;
  padding:8px 12px;font-size:11px}
.maker-recovery-banner button:hover:not(:disabled){background:#fff;color:#111}
@media(max-width:620px){.maker-recovery-banner{flex-wrap:wrap;padding:9px}
 .maker-recovery-banner button{width:100%}}
@media print{.maker-recovery-banner{display:none!important}}

.maker-cloud-list[hidden]{display:none!important}


/* Library reuses the existing signed-in site account controls. */
body:has(.maker-page) .maker-library-header.site-header{
 display:flex!important;position:relative!important;top:auto!important;z-index:310;
 width:100%;min-height:70px;height:auto;overflow:visible;
 border-bottom:1px solid #292929;background:#191919!important;
 color:#fff;backdrop-filter:none;box-shadow:none;
}
.maker-library-header .maker-library-logo{display:flex;align-items:center;width:135px;max-width:34vw}
.maker-library-header .maker-library-logo img{display:block;width:100%;height:auto;object-fit:contain;filter:brightness(0) invert(1)}
.maker-library-header .maker-library-top-actions{margin-left:auto;display:flex;align-items:center;gap:16px}
.maker-library-header .account-summary[hidden]{display:none!important}
.maker-library-header .market-account-menu{position:relative}
.maker-library-header .market-account-dropdown{color:#111;text-align:left}
.maker-library-header .market-account-profile{border-color:#eee;background:#fff}
.maker-library-header .maker-library-create{
 position:relative;isolation:isolate;overflow:hidden;min-height:42px;
 padding:0 20px;border:1px solid #fff!important;border-radius:0!important;
 background:#fff!important;color:#111!important;cursor:pointer;
 font-size:12px;font-weight:700;transform:none!important;
 transition:color .13s ease!important;
}
.maker-library-header .maker-library-create::before{
 content:""!important;display:block!important;opacity:1!important;
 position:absolute;inset:0;z-index:-1;background:#111!important;
 transform:scaleX(0)!important;transform-origin:left center!important;
 transition:transform .20s cubic-bezier(.2,.82,.2,1)!important;
}
.maker-library-header .maker-library-create:is(:hover,:focus-visible):not(:disabled){color:#fff!important}
.maker-library-header .maker-library-create:is(:hover,:focus-visible):not(:disabled)::before{transform:scaleX(1)!important}
.maker-library-header .maker-library-create span{position:relative;z-index:1;color:inherit}
.maker-library-header .maker-library-create:disabled{opacity:.55;cursor:wait}
.maker-library-intro .maker-library-categories{display:flex;align-items:baseline;gap:30px}
.maker-library-intro .maker-library-category{
 background:none!important;border:0!important;border-radius:0!important;padding:6px 0!important;
 font-size:25px;font-weight:750;letter-spacing:-.05em;color:#909090!important;
 position:relative;cursor:pointer;box-shadow:none!important;
}
.maker-library-intro .maker-library-category.is-active{color:#111!important}
.maker-library-intro .maker-library-category.is-active::after{content:"";position:absolute;bottom:-10px;left:0;right:0;height:2px;background:#111}
.maker-library-intro .maker-library-category:hover:not(.is-active){color:#333!important}
.maker-library-intro :is(input[type=search],.maker-library-category)[hidden],
.maker-library-main :is(.maker-library-table,.maker-library-responses,.maker-library-import)[hidden]{display:none!important}
.maker-library-responses{padding:45px 0}
.maker-library-import{display:block;margin:0 0 15px;padding:10px 13px;background:#fff;border:1px solid #111;color:#111;font-size:12px}
.maker-library-import:hover:not(:disabled){background:#111;color:#fff}
.maker-library-columns,.maker-library-row{grid-template-columns:minmax(0,1fr) 105px 155px 54px}
.maker-library-actions{align-self:end;justify-self:end}
.maker-library-menu summary{font-size:19px;font-weight:750;letter-spacing:1px;width:39px;height:35px;user-select:none}
.maker-library-popup{
 position:absolute;right:0;top:100%;min-width:155px;z-index:35;
 padding:5px;background:#fff;border:1px solid #d6d6d6;box-shadow:0 8px 20px #0002;
 display:grid;gap:2px;text-align:left;
}
.maker-library-popup button{display:block;width:100%;padding:11px 10px!important;
 background:transparent!important;border:0!important;border-radius:0!important;
 color:#111!important;font-size:12px;text-align:left;white-space:nowrap}
.maker-library-popup button:hover,.maker-library-popup button:focus-visible{background:#111!important;color:#fff!important}
.maker-library-menu:not([open]) .maker-library-popup{display:none!important}
@media(max-width:750px){
 .maker-library-columns,.maker-library-row{grid-template-columns:minmax(0,1fr) 54px minmax(70px,100px) 38px;gap:7px}
 .maker-library-columns>span:nth-child(3),.maker-library-date{display:block}
 .maker-library-date{font-size:10px}
 .maker-library-intro .maker-library-category{font-size:21px}
 .maker-library-intro .maker-library-categories{gap:17px}
}
@media(max-width:480px){
 .maker-library-header .maker-library-logo{width:92px}
 .maker-library-header .maker-library-top-actions{gap:8px}
 .maker-library-header .maker-library-create{padding:0 9px;min-height:37px;font-size:10px}
 .maker-library-brand{display:none}
 .maker-library-columns,.maker-library-row{grid-template-columns:minmax(0,1fr) 45px 74px 35px;gap:4px}
 .maker-library-row{padding:9px 5px}
 .maker-library-columns{padding:10px 5px}
 .maker-library-preview{width:45px;height:65px}
 .maker-library-thumb-paper{width:37px}
 .maker-library-open{gap:7px}
 .maker-library-open strong{font-size:11px}
 .maker-library-date{font-size:9px}
 .maker-library-pages{font-size:9px}
 .maker-library-intro .maker-library-category{font-size:19px}
}
@media(prefers-reduced-motion:reduce){
 .maker-library-header .maker-library-create,
 .maker-library-header .maker-library-create::before{transition:none!important}
}
@media print{body:has(.maker-page) .maker-library-header.site-header{display:none!important}}


/* Canvas editor: the save/revision state remains accessible to assistive tech,
   but is not presented as technical copy in the visible header. */
.maker-app:not(.maker-library) .maker-status{
 position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;
 border:0!important;overflow:hidden!important;clip:rect(0 0 0 0)!important;clip-path:inset(50%)!important;white-space:nowrap!important
}
/* Text may be edited directly from the contextual toolbar, including IME input. */
.maker-app .maker-tool-options .maker-text-content{
 box-sizing:border-box;min-height:42px;height:42px;max-height:120px;width:clamp(160px,22vw,320px);
 resize:vertical;background:#fff;border:1px solid #bbb;color:#111;
 padding:7px 9px;font-family:inherit;font-size:12px;line-height:1.45;outline-offset:2px
}
.maker-app .maker-tool-options .maker-context-field:has(.maker-text-content){flex:1 1 220px;max-width:380px;min-width:190px}
.maker-app .maker-tone-group{position:relative;align-items:center;flex:none}
.maker-app .maker-tone-palette{position:relative;display:block}
.maker-app .maker-tone-trigger{
 list-style:none;display:flex;align-items:center;justify-content:center;gap:8px;
 width:53px;height:33px;border:1px solid #c4c4c4;background:#fff;cursor:pointer;padding:4px 7px;
 box-sizing:border-box
}
.maker-app .maker-tone-trigger::-webkit-details-marker{display:none}
.maker-app .maker-tone-current{display:block;flex:none;width:20px;height:20px;border:1px solid #999;box-shadow:inset 0 0 0 1px #fff}
.maker-app .maker-tone-chevron{font-size:11px;line-height:1;color:#111}
.maker-app .maker-tone-palette[open] .maker-tone-trigger{border-color:#111}
.maker-app .maker-tone-swatches{
 position:absolute;z-index:60;top:calc(100% + 5px);left:0;display:grid;
 grid-template-columns:repeat(5,25px);gap:8px;width:max-content;
 padding:12px;background:#fff;border:1px solid #bcbcbc;box-shadow:0 8px 22px #00000026;
}
.maker-app .maker-tone-palette:not([open]) .maker-tone-swatches{display:none!important}
.maker-app .maker-tone-swatches .maker-tone-swatch{
 display:block!important;box-sizing:border-box!important;position:relative;
 width:25px!important;height:25px!important;min-width:25px!important;min-height:25px!important;
 padding:0!important;margin:0!important;font-size:0!important;line-height:0!important;
 border:1px solid #aaa!important;background:var(--maker-swatch)!important;color:transparent!important;
 box-shadow:inset 0 0 0 1px #ffffffaa!important;transform:none!important;
}
.maker-app .maker-tone-swatches .maker-tone-swatch[aria-pressed=true]{
 outline:2px solid #111!important;outline-offset:2px
}
.maker-app .maker-tone-swatches .maker-tone-swatch:focus-visible{
 outline:2px solid #111!important;outline-offset:3px
}
.maker-drawing-tools .maker-tool,.maker-drawing-tools .maker-shape-trigger{position:relative;overflow:visible}
.maker-app .maker-tool-tooltip{
 position:absolute;z-index:90;left:50%;top:calc(100% + 8px);transform:translateX(-50%);
 display:block!important;visibility:hidden;opacity:0;pointer-events:none;box-sizing:border-box;
 width:max-content;max-width:min(240px,80vw);white-space:nowrap;
 padding:7px 10px;border:1px solid #333;background:#191919;color:#fff;
 font-family:var(--locrian-ui-font);font-size:11px!important;
 font-weight:500!important;line-height:1.4!important;letter-spacing:normal;text-align:center;
 transition:opacity .12s ease
}
.maker-app :is(.maker-tool,.maker-shape-trigger):is(:hover,:focus-visible)>.maker-tool-tooltip{
 visibility:visible;opacity:1
}
.maker-app .maker-shape-choices .maker-tool-tooltip{top:calc(100% + 7px)}
/* Each sidebar row must expand with its A4 miniature instead of using
   the old 95/132px fixed minimum that clipped the next page. */
.maker-app .maker-pages{overflow-x:hidden;overflow-y:auto;min-height:0;align-items:stretch;scrollbar-gutter:stable}
.maker-app .maker-pages .maker-page-thumb{
 box-sizing:border-box;display:flex;flex:0 0 auto!important;height:auto!important;min-height:0!important;
 align-items:flex-start;gap:8px;overflow:visible
}
.maker-app .maker-page-thumb-paper{
 display:block;box-sizing:border-box;flex:0 0 auto!important;
 width:min(100%,145px);height:auto!important;aspect-ratio:794 / 1123;
 overflow:hidden;border:1px solid #aaa
}
.maker-app .maker-page-thumb[aria-current=page] .maker-page-thumb-paper{border:2px solid #111}
.maker-app .maker-page-thumb-paper svg{width:100%;height:100%;display:block}
@media(max-width:900px){
 .maker-app .maker-page-thumb-paper{width:min(100%,100px)}
}
@media(max-width:560px){
 .maker-app .maker-page-thumb-paper{width:min(100%,65px)}
 .maker-app .maker-tool-options .maker-context-field:has(.maker-text-content){min-width:160px;max-width:none}
 .maker-app .maker-tool-options .maker-text-content{width:100%;min-width:0}
}
@media print{
 .maker-app .maker-tool-tooltip,.maker-app .maker-tone-swatches{display:none!important}
}
@media(prefers-reduced-motion:reduce){.maker-app .maker-tool-tooltip{transition:none!important}}


/* Canvas z-order panel: only one of inspector, insertion tools or layers is visible. */
.maker-right-rail .maker-layer-panel{display:none}
.maker-right-rail[data-panel=layers] .maker-layer-panel{display:flex;flex-direction:column;min-height:0;flex:1}
.maker-right-rail[data-panel=layers] :is(.maker-side--tools,.maker-side--inspector){display:none!important}
.maker-layer-list{display:flex;flex-direction:column;min-height:0;overflow-y:auto;padding:7px;gap:2px;flex:1}
.maker-layer-row{display:flex;align-items:center;gap:9px;min-height:38px;border:1px solid transparent}
.maker-layer-row.is-selected{background:#f0f0f0;border-color:#bdbdbd}
.maker-layer-number{flex:none;width:22px;text-align:center;color:#777;font-size:10px}
.maker-layer-entry{flex:1;min-width:0;text-align:left;border:0!important;background:transparent!important;
 color:#111!important;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:11px}
.maker-layer-entry:is(:hover,:focus-visible){background:#dedede!important}
.maker-layer-controls{display:grid;grid-template-columns:1fr 1fr;gap:5px;padding:9px;border-top:1px solid #ddd}
.maker-layer-controls button{font-size:11px;padding:10px 4px;background:#fff;border:1px solid #bbb;color:#111}
.maker-layer-controls button:hover:not(:disabled){background:#111;color:#fff}
.maker-layer-controls button:disabled{opacity:.35;cursor:default}
.maker-layer-empty{padding:16px;font-size:12px;color:#777}
/* Context menu for the canvas surface (not the browser or the sidebar). */
.maker-page-context{position:fixed;z-index:720;width:180px;padding:5px;background:#fff;color:#111;
 border:1px solid #c8c8c8;box-shadow:0 12px 30px #0003}
.maker-page-context[hidden]{display:none!important}
.maker-page-context .maker-context-action{display:block;width:100%;height:38px;box-sizing:border-box;
 border:0;background:#fff;color:#111;font-size:12px;text-align:left;padding:0 12px}
.maker-page-context .maker-context-action:hover:not(:disabled){background:#111;color:#fff}
.maker-page-context .maker-context-action:disabled{color:#aaa;cursor:default}
.maker-page-context .maker-context-layers{position:relative;border-top:1px solid #eee}
.maker-page-context .maker-context-layers summary{font-size:12px;cursor:pointer;padding:12px;list-style:none}
.maker-page-context .maker-context-layers summary::-webkit-details-marker{display:none}
.maker-page-context .maker-context-layers summary:hover{background:#f0f0f0}
.maker-page-context .maker-context-layer-options{position:absolute;z-index:2;left:calc(100% + 5px);top:-5px;
 width:150px;padding:4px;background:#fff;border:1px solid #ccc;box-shadow:0 8px 20px #0003}
.maker-page-context .maker-context-layers:not([open]) .maker-context-layer-options{display:none}
.maker-page-context .maker-context-layers[open] .maker-context-layer-options{display:block}
/* Inline text editing is a positioned HTML control on top of the A4 SVG. */
.maker-sheet .maker-object.is-editing text{visibility:hidden}
.maker-sheet .maker-inline-text{position:absolute;z-index:8;box-sizing:border-box;overflow-wrap:anywhere;
 display:block;overflow:auto;margin:0;padding:0 3px;background:#ffffffed;
 border:1px dashed #111;border-radius:0!important;outline:1px solid #111;outline-offset:1px;
 min-height:24px;resize:none;white-space:pre-wrap;line-height:1.25;
 transform-origin:center center;user-select:text;touch-action:auto}
/* Large color dialog follows the supplied reference, within the monochrome
   Canvas shell. The color square and swatches are data, not brand accents. */
.maker-app .maker-color-dialog{
 position:fixed;inset:0;margin:auto;padding:0!important;
 width:min(940px,calc(100vw - 28px))!important;max-width:none!important;
 max-height:min(95dvh,920px);overflow:auto;box-sizing:border-box;
 background:#292929!important;color:#fff!important;border:1px solid #444!important;
 border-radius:0!important;box-shadow:0 20px 80px #0008;
 font-family:var(--locrian-ui-font)
}
.maker-app .maker-color-dialog::backdrop{background:rgba(0,0,0,.65)}
.maker-color-dialog-inner{padding:26px 35px 0;display:flex;flex-direction:column;gap:0}
.maker-color-dialog h2{font-size:23px!important;font-weight:650;margin:0 0 26px}
.maker-color-workspace{display:grid;grid-template-columns:minmax(200px,385px) 68px 30px minmax(150px,198px);gap:17px;align-items:start}
.maker-color-plane{display:block;position:relative;width:100%;aspect-ratio:1/1;min-height:0;cursor:crosshair;
 border:1px solid #aaa;border-radius:5px;
 background:linear-gradient(to top,#fff,transparent),linear-gradient(to right,#f00,#ff0,#0f0,#0ff,#00f,#f0f,#f00);
 touch-action:none}
.maker-color-marker{position:absolute;width:19px;height:19px;border:2px solid white;border-radius:50%;
 box-shadow:0 0 0 1px #333,0 1px 4px #0007;transform:translate(-50%,-50%);pointer-events:none}
.maker-color-preview{width:100%;height:100%;min-height:200px;border:2px solid #555;border-radius:4px;box-sizing:border-box}
.maker-color-value{width:25px;height:385px;writing-mode:vertical-lr;direction:rtl;
 appearance:slider-vertical;cursor:pointer;accent-color:#eee}
.maker-color-fields{display:flex;flex-direction:column;gap:16px;min-width:0}
.maker-color-fields :is(input,select){background:#363636;border:1px solid #414141;border-bottom:1px solid #888;
 height:49px;padding:0 13px;box-sizing:border-box;width:100%;min-width:0;
 color:#fff;font-family:inherit;font-size:16px}
.maker-color-fields input:focus,.maker-color-fields select:focus{outline:1px solid #fff}
.maker-color-channel{display:grid;grid-template-columns:minmax(0,1fr) 54px;gap:12px;align-items:center;margin-bottom:10px}
.maker-color-channel span{font-size:15px}
.maker-color-channel input{width:100%}
.maker-color-palettes{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(160px,1fr);
 gap:48px;padding:60px 0 53px}
.maker-color-palettes h3{font-size:17px;font-weight:500;margin:0 0 25px}
.maker-color-grid{display:grid;grid-template-columns:repeat(10,minmax(0,1fr));gap:12px}
.maker-color-swatch,.maker-color-custom-swatch{display:block;width:25px;height:25px;min-height:25px;
 padding:0!important;border:1px solid #ffffff55!important;border-radius:50%!important;cursor:pointer;
 box-shadow:none!important}
.maker-color-swatch:hover,.maker-color-custom-swatch:not(:disabled):hover{outline:2px solid white;outline-offset:2px}
.maker-color-custom-title{display:flex;align-items:start;justify-content:space-between;gap:5px}
.maker-color-add{display:grid;place-items:center;width:35px;height:35px;background:#383838;color:#fff;
 border:1px solid #555;font-size:28px;line-height:1;cursor:pointer}
.maker-color-custom-grid{display:grid;grid-template-columns:repeat(6,25px);gap:14px 20px}
.maker-color-custom-swatch:disabled{cursor:default;border:2px dashed #717171!important;background:transparent!important}
.maker-color-footer{position:sticky;bottom:0;display:grid;grid-template-columns:1fr 1fr;gap:14px;
 background:#242424;padding:24px 0;border-top:1px solid #3c3c3c;margin:0 -35px}
.maker-color-footer button{height:50px;border:1px solid #555;color:#fff;background:#343434;
 font-size:16px;font-family:inherit;cursor:pointer}
.maker-color-footer .maker-color-confirm{margin-left:35px;background:#eee;color:#111}
.maker-color-footer .maker-color-cancel{margin-right:35px}
.maker-color-footer button:hover{filter:brightness(1.15)}
/* Tighten the library document menu to the centerline of its row. */
.maker-library-row>.maker-library-actions{align-self:center!important;justify-self:center!important;
 display:flex;align-items:center;justify-content:center}
.maker-library-row .maker-library-menu summary{display:grid;place-items:center}
@media(max-width:800px){
 .maker-color-dialog-inner{padding:17px 18px 0}
 .maker-color-workspace{grid-template-columns:minmax(120px,1fr) 45px 22px minmax(135px,.65fr);gap:9px}
 .maker-color-value{height:min(45vw,300px);width:20px}
 .maker-color-preview{min-height:150px}
 .maker-color-plane{min-width:0}
 .maker-color-palettes{gap:20px;padding:32px 0}
 .maker-color-grid{grid-template-columns:repeat(8,minmax(0,1fr));gap:9px}
 .maker-color-footer{margin:0 -18px}
 .maker-color-footer .maker-color-confirm{margin-left:18px}
 .maker-color-footer .maker-color-cancel{margin-right:18px}
}
@media(max-width:520px){
 .maker-color-workspace{grid-template-columns:minmax(0,1fr) 28px;gap:10px}
 .maker-color-plane{grid-column:1}
 .maker-color-preview{display:none}
 .maker-color-value{grid-column:2;height:50vw}
 .maker-color-fields{grid-column:1/-1;display:grid;grid-template-columns:1fr 1fr;gap:6px}
 .maker-color-channels{grid-column:1/-1;display:grid;grid-template-columns:repeat(3,1fr);gap:6px}
 .maker-color-channel{display:flex;flex-direction:column;gap:2px}
 .maker-color-palettes{grid-template-columns:1fr;gap:23px}
 .maker-color-custom-grid{gap:12px}
 .maker-color-dialog h2{margin-bottom:14px}
}
@media print{.maker-page-context,.maker-color-dialog,.maker-inline-text,.maker-inline-shape-text,.maker-layer-panel{display:none!important}}

@media print{
 .maker-sheet .maker-object.is-editing text{visibility:visible!important}
}


/* Drag-select feedback: selected objects highlight during the gesture,
   then remain inside one non-interactive group boundary. */
.maker-sheet svg[data-tool=select]{touch-action:none;cursor:default}
.maker-sheet svg[data-tool=select] .maker-object,
.maker-sheet svg[data-tool=select] .maker-object .maker-hit,
.maker-sheet svg[data-tool=select] .maker-group-outline{cursor:default}
.maker-sheet svg[data-tool=select] .maker-object:not([data-element-type="line"]):not([data-element-type="arrow"]):hover .maker-selection,
.maker-sheet svg[data-tool=select] .maker-object.selected .maker-selection{
 stroke:#34bcd0;stroke-width:1.5;stroke-dasharray:none
}
.maker-sheet svg[data-tool=select] .maker-line-hit{pointer-events:stroke!important;cursor:default}
.maker-sheet svg.maker-multiple-selection .maker-object.selected .maker-selection{stroke:none!important}
.maker-sheet svg .maker-group-outline{pointer-events:all;fill:rgba(0,0,0,.001);cursor:grab;stroke:#111;
 stroke-width:1.8;stroke-dasharray:5 3;vector-effect:non-scaling-stroke}
.maker-sheet svg .maker-selection-marquee{fill:rgba(0,0,0,.045);stroke:#111;
 stroke-width:1.5;stroke-dasharray:5 3;vector-effect:non-scaling-stroke}
/* Text overlays the SVG glyph position instead of becoming a separate form
   box. No opaque fill, white padding, line wrapping, or resizing controls. */
.maker-app .maker-sheet textarea.maker-inline-text,
.maker-app .maker-sheet textarea.maker-inline-text:focus-visible{
 position:absolute!important;box-sizing:border-box!important;
 padding:0!important;margin:0!important;border:0!important;outline:0!important;
 background:transparent!important;box-shadow:none!important;
 border-radius:0!important;resize:none!important;overflow:hidden!important;
 white-space:pre!important;line-height:1.25!important;
 letter-spacing:normal!important;tab-size:4;
 caret-color:currentColor;z-index:8;
 transform-origin:center center;user-select:text;touch-action:manipulation;
}
@media print{.maker-sheet svg .maker-group-outline,.maker-sheet svg .maker-smart-guide{display:none!important}}


/* Transparent SVG text selection rectangles must be pointer targets even when
   the glyph itself has whitespace; object drags must not fall through to the
   blank-page marquee. Selection frames remain non-interactive. */
.maker-sheet svg[data-tool=select] .maker-object .maker-hit{pointer-events:all}


/* The actual contenteditable is a transparent, borderless worksheet overlay.
   Individual spans provide WYSIWYG styles and native selected-range painting. */
.maker-app .maker-sheet .maker-rich-text,
.maker-app .maker-sheet .maker-rich-text:focus{
  position:absolute!important;z-index:8!important;
  background:transparent!important;border:0!important;outline:0!important;
  box-shadow:none!important;margin:0!important;padding:0!important;
  box-sizing:border-box!important;overflow:visible!important;
  border-radius:0!important;resize:none!important;white-space:pre!important;
  line-height:1.25!important;user-select:text!important;
  caret-color:#111!important;cursor:text!important;
  transform-origin:center center!important;
}
.maker-sheet .maker-rich-text::selection,
.maker-sheet .maker-rich-text *::selection{background:rgba(70,90,125,.23)}
.maker-layer-group-label{font-size:10px;color:#444;background:#eee;padding:2px 4px;white-space:nowrap}
@media print{.maker-rich-text{display:none!important}}


/* Exact site-header avatar + dropdown DOM and animation rules are reused in
   the editor. Only neutralize the wrapper's page-header layout; do not repaint
   the profile/menu with an independently maintained Canvas theme. */
.maker-bar .maker-shared-account.site-header{
 position:relative!important;top:auto!important;z-index:auto!important;
 display:flex!important;align-items:center!important;flex:0 0 auto!important;
 width:auto!important;min-width:0!important;background:transparent!important;
 color:#111!important;border:0!important;padding:0!important;
 backdrop-filter:none!important;-webkit-backdrop-filter:none!important;
}
.maker-shared-account .account-summary[hidden]{display:none!important}
.maker-app .maker-shared-account.site-header .market-account-menu>.market-account-profile{
 border-radius:50%!important;
}
.maker-app .maker-shared-account.site-header .market-account-dropdown{
 background:linear-gradient(165deg,rgba(255,255,255,.985),rgba(248,247,244,.975))!important;
 border-radius:15px!important;
 box-shadow:0 18px 46px rgba(20,20,20,.095),0 4px 14px rgba(20,20,20,.045)!important;
 overflow:hidden!important;
}
.maker-app .maker-shared-account.site-header .market-account-dropdown :is(a,button){
 height:auto!important;min-height:43px!important;
 border-radius:9px!important;
}
.maker-app .maker-shared-account.site-header .market-account-dropdown .market-store-link{
 border-radius:9px!important;min-height:36px!important;height:36px!important
}
.maker-app .maker-shared-account.site-header .market-account-wallet .account-charge{
 border-radius:6px!important;min-height:28px!important;max-height:28px!important
}
.maker-pages .maker-page-thumb{cursor:grab;user-select:none}
.maker-pages .maker-page-thumb.is-dragging{opacity:1;cursor:grabbing;z-index:2;position:relative;pointer-events:auto}
.maker-pages .maker-page-thumb.is-drop-before{box-shadow:inset 0 3px #111}
.maker-pages .maker-page-thumb.is-drop-after{box-shadow:inset 0 -3px #111}
/* Live push-aside preview; release is interpolated by JS FLIP using the
   measured pre/post sort positions. Preserve reduced-motion preferences. */
.maker-pages.is-sorting .maker-page-thumb{
 transition:transform .22s cubic-bezier(.2,.82,.2,1),opacity .16s ease!important;
}
.maker-pages.is-sorting .maker-page-thumb.is-dragging{opacity:1;transition:none!important;will-change:transform}
@media(prefers-reduced-motion:reduce){
 .maker-pages.is-sorting .maker-page-thumb{transition:none!important}
}
.maker-sheet .maker-rich-text [data-rich-run]{font-synthesis:style}
.maker-format-button[aria-label="텍스트 기울임"]{font-style:italic}
@media(max-width:680px){.maker-bar .market-account-menu>.market-account-profile{
 width:36px!important;height:36px!important;min-width:36px!important;min-height:36px!important
}}

/* Rich-text current color and the pending swatch remain independently visible. */
.maker-color-comparison{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:0 0 10px}
.maker-color-comparison-item{display:flex;align-items:center;gap:7px;min-width:0;font-size:11px;color:#ededed}
.maker-color-comparison-swatch{display:block;flex:none;width:27px;height:21px;border:1px solid #858585;box-shadow:inset 0 0 0 1px #ffffff60}
.maker-tone-trigger{position:relative}
.maker-tone-current{box-shadow:inset 0 0 0 1px #ffffff80!important}
.maker-fill-tool{display:inline-grid;position:relative;place-items:center;width:34px;height:33px;
 border:1px solid #c9c9c9;background:#fff;color:#111;cursor:pointer}
.maker-fill-tool svg{height:19px;width:19px}
.maker-fill-tool[aria-pressed="true"]{color:#fff;background:#111;border-color:#111}
.maker-fill-tool:hover:not(:disabled){background:#ddd;color:#111}
.maker-fill-tool .maker-tool-tooltip{left:50%;top:calc(100% + 8px)}
.maker-sheet svg .maker-rotate-stem{stroke:#111;stroke-width:1.6;pointer-events:none}
.maker-sheet svg .maker-rotate-control{cursor:grab;pointer-events:all;touch-action:none}
.maker-sheet svg .maker-rotate-control:active{cursor:grabbing}
.maker-sheet svg .maker-rotate-hit{fill:#fff;stroke:#111;stroke-width:2.2;pointer-events:all}
.maker-sheet svg .maker-rotate-arrow{fill:none;stroke:#111;stroke-width:2.2;
 stroke-linecap:round;stroke-linejoin:round;pointer-events:none}
.maker-sheet svg .maker-rotate-angle{font-size:15px;font-family:var(--locrian-ui-font);fill:#111;
 font-weight:650;paint-order:stroke;stroke:#fff;stroke-width:4px;pointer-events:none}
.maker-sheet svg .maker-resize-handle{fill:transparent;stroke:none;stroke-width:0;
 pointer-events:all;touch-action:none}
.maker-sheet svg .maker-resize-hit{fill:transparent;stroke:none;opacity:0;
 pointer-events:all;touch-action:none}
.maker-sheet svg .maker-edge-handle{opacity:0}
.maker-sheet svg .maker-corner-hit[data-corner="nw"],
.maker-sheet svg .maker-corner-hit[data-corner="se"]{cursor:nwse-resize}
.maker-sheet svg .maker-corner-hit[data-corner="ne"],
.maker-sheet svg .maker-corner-hit[data-corner="sw"]{cursor:nesw-resize}
.maker-sheet svg .maker-edge-handle[data-edge="n"],
.maker-sheet svg .maker-edge-handle[data-edge="s"]{cursor:ns-resize}
.maker-sheet svg .maker-edge-handle[data-edge="e"],
.maker-sheet svg .maker-edge-handle[data-edge="w"]{cursor:ew-resize}
.maker-sheet svg .maker-line-endpoint{fill:#fff;stroke:#111;stroke-width:2;
 cursor:move;pointer-events:all;touch-action:none;opacity:.85}
.maker-sheet svg .maker-line-endpoint:hover{opacity:1;stroke-width:3}
/* Bézier path editing furniture: visible and directly draggable on screen,
   never included in print/PDF or instructor worksheet preview. */
.maker-sheet svg[data-tool=select] .maker-vector-control{
  cursor:crosshair;pointer-events:all;touch-action:none;
}
.maker-sheet svg[data-tool=select] .maker-vector-control:hover,
.maker-sheet svg[data-tool=select] .maker-vector-control:focus{
  stroke:#111;stroke-width:2.5;outline:none;
}
.maker-sheet svg[data-tool=select] .maker-vector-insert{
  cursor:copy;pointer-events:all;touch-action:none;opacity:.8;
}
.maker-sheet svg[data-tool=select] .maker-vector-insert:hover,
.maker-sheet svg[data-tool=select] .maker-vector-insert:focus{
  opacity:1;stroke-width:2.5;outline:none;
}

.maker-sheet svg .maker-smart-guide{stroke:#858585;stroke-width:1;
 fill:none;vector-effect:non-scaling-stroke;pointer-events:none;stroke-dasharray:4 4}
.maker-sheet svg .maker-guide-label{fill:#777;stroke:none;
 font:600 13px var(--locrian-ui-font);stroke-dasharray:none}
@media print{
 .maker-sheet svg .maker-rotate-control,.maker-sheet svg .maker-rotate-stem,
 .maker-sheet svg .maker-rotate-angle,.maker-sheet svg .maker-resize-handle,
 .maker-sheet svg .maker-line-endpoint,.maker-sheet svg .maker-smart-guide,
  .maker-sheet svg .maker-vector-guide,.maker-sheet svg .maker-vector-control,.maker-sheet svg .maker-vector-insert{display:none!important}
}


/* Canvas classroom routes. Share monochrome, square-corner Locrian surface. */
body:has(.maker-page) .maker-app.classroom-portal,
body:has(.maker-page) .maker-app.classroom-activity,
body:has(.maker-page) .maker-app.classroom-student{height:100dvh;min-height:0;display:flex;flex-direction:column;background:#fff;overflow:hidden;color:#111}
/* Teacher/student: a single sliding panel with edge-joined silhouette assets.
   Each original SVG stays at its natural ratio; only its container aligns to
   the shared seam, so the illustrations never stretch or overlap hit targets. */
.classroom-portal-main{flex:1;min-height:0;width:100%;max-width:1240px;margin:auto;padding:30px 25px;box-sizing:border-box;display:flex;align-items:center;justify-content:center;overflow:auto}
.classroom-role-grid{position:relative;isolation:isolate;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0;width:100%;margin:auto;border:0;background:#fff;overflow:hidden}
.classroom-role-grid::before{content:"";position:absolute;inset:0 auto 0 0;width:50%;height:100%;background:#111;z-index:0;pointer-events:none;opacity:0;transform:translateX(0);transition:transform .54s cubic-bezier(.22,1,.36,1),opacity .16s ease}
.classroom-role-grid[data-active-role]::before{opacity:1}
.classroom-role-grid[data-active-role="student"]::before{transform:translateX(100%)}
.classroom-role{position:relative;z-index:1;min-width:0;min-height:430px;border:0;border-radius:0;background:transparent;display:flex;align-items:center;justify-content:flex-end;flex-direction:column;padding:80px 0 0;box-sizing:border-box;text-align:center;color:#111;text-decoration:none;cursor:pointer}
.classroom-role:focus-visible{outline:2px solid #999;outline-offset:-4px}
.classroom-role-icon{position:relative;display:block;width:min(100%,410px);height:350px;border:0;background:transparent;flex:none}
/* No per-card centering: the SVG viewBox edges meet exactly on the shared baseline. */
.classroom-role[data-role="teacher"] .classroom-role-icon{align-self:flex-end}
.classroom-role[data-role="student"] .classroom-role-icon{align-self:flex-start}
.classroom-role-asset{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;object-position:center bottom;pointer-events:none;user-select:none}
.classroom-role-asset--black{opacity:1}
.classroom-role-asset--white{opacity:0;mix-blend-mode:difference}
.classroom-role-grid[data-active-role="teacher"] .classroom-role[data-role="teacher"] .classroom-role-asset--black,
.classroom-role-grid[data-active-role="student"] .classroom-role[data-role="student"] .classroom-role-asset--black{opacity:0}
.classroom-role-grid[data-active-role="teacher"] .classroom-role[data-role="teacher"] .classroom-role-asset--white,
.classroom-role-grid[data-active-role="student"] .classroom-role[data-role="student"] .classroom-role-asset--white{opacity:1}
.classroom-role strong{position:absolute;top:36px;left:50%;transform:translate(-50%,8px);opacity:0;pointer-events:none;white-space:nowrap;font-size:30px;font-weight:800;letter-spacing:-.06em;color:#fff;mix-blend-mode:difference;transition:opacity .2s ease,transform .32s ease}
.classroom-role-grid[data-active-role="teacher"] .classroom-role[data-role="teacher"] strong,
.classroom-role-grid[data-active-role="student"] .classroom-role[data-role="student"] strong{opacity:1;transform:translate(-50%,0)}
.classroom-activity-layout{flex:1;display:grid;grid-template-columns:minmax(310px,31%) minmax(0,1fr);min-height:0}
.classroom-activity-side{padding:25px 22px 60px;border-right:1px solid #dedede;overflow:auto;display:flex;flex-direction:column;align-items:stretch;gap:12px}
.classroom-activity-stage{overflow:auto;min-width:0;background:#f7f7f7;padding:18px clamp(15px,2vw,40px) 50px}
.classroom-label{display:flex;flex-direction:column;gap:7px;font-size:12px;font-weight:720}
.classroom-label input,.classroom-label select,.classroom-label textarea,.classroom-join-form input{font:inherit;font-size:14px;padding:12px 11px;border:1px solid #c9c9c9;background:#fff;color:#111;min-height:42px;box-sizing:border-box;width:100%;border-radius:0}
.classroom-label textarea{resize:vertical;min-height:100px}
.classroom-button{border:1px solid #cdcdcd;background:#fff;color:#111;text-decoration:none;display:inline-flex;align-items:center;justify-content:center;padding:10px 12px;min-height:39px;box-sizing:border-box;font-weight:690;font-size:12px;cursor:pointer;border-radius:0}
.classroom-button:hover:not(:disabled){background:#111;color:#fff;border-color:#111}
.classroom-button-primary{background:#111;color:#fff;border-color:#111}
.classroom-button-primary:hover:not(:disabled){background:#454545;color:#fff}
.classroom-button:disabled{opacity:.45;cursor:not-allowed}
.classroom-activity-controls{display:flex;align-items:center;flex-wrap:wrap;gap:6px;position:relative}
.classroom-activity-controls .classroom-button{flex:1;white-space:nowrap}
.classroom-more{flex:none;position:relative}
.classroom-more summary{border:1px solid #cfcfcf;list-style:none;display:grid;place-items:center;width:37px;height:39px;font-size:19px;cursor:pointer}
.classroom-more summary::-webkit-details-marker{display:none}
.classroom-more[open] summary{background:#111;color:#fff}
.classroom-more-options{position:absolute;top:42px;right:0;z-index:11;background:#fff;border:1px solid #d5d5d5;min-width:165px;box-shadow:0 4px 15px #0001}
.classroom-more:not([open]) .classroom-more-options{display:none}
.classroom-more-options button{border:0;background:#fff;color:#111;padding:12px 14px;text-align:left;width:100%;display:block;white-space:nowrap}
.classroom-more-options button:hover{background:#111;color:#fff}
.classroom-heading-row{display:flex;align-items:center;justify-content:space-between;gap:12px;padding-top:17px;border-top:1px solid #ddd;margin-top:8px}
.classroom-heading-row h2,.classroom-subsection-title{font-size:17px;font-weight:790;margin:0}
.classroom-create-panel{border:1px solid #ddd;padding:15px;display:flex;flex-direction:column;gap:12px}
.classroom-create-panel[hidden]{display:none}
.classroom-quiet{font-size:12px;color:#777;line-height:1.6;margin:6px 0}
.classroom-notice{padding:10px 12px;border:1px solid #c8c8c8;color:#111;background:#fff;font-size:12px;line-height:1.5;overflow-wrap:anywhere}
.classroom-notice[hidden]{display:none!important}
.classroom-notice.is-error{background:#f8f5f5;border-color:#987d7d}
.classroom-assignment-list{display:flex;flex-direction:column;gap:6px}
.classroom-assignment-item{border:1px solid #dadada;padding:12px;display:flex;flex-direction:column;gap:8px}
.classroom-assignment-item.is-selected{border-color:#111;background:#fafafa}
.classroom-assignment-open{padding:0;border:0;background:none;text-align:left;cursor:pointer;font-size:14px;font-weight:760;color:#111}
.classroom-assignment-item small{color:#777;font-size:10px}
.classroom-assignment-actions{display:flex;align-items:center;gap:6px}
.classroom-assignment-actions .classroom-button{min-height:30px;padding:5px 8px;font-size:11px}
.classroom-student-list{display:flex;flex-direction:column;gap:4px}
.classroom-student-item{padding:12px;border:1px solid #ddd;background:#fff;color:#111;text-align:left;font-size:12px;cursor:pointer}
.classroom-student-item:hover,.classroom-student-item.is-current{background:#111;color:#fff}
.classroom-grading{border-top:1px solid #e0e0e0;padding-top:14px;display:flex;flex-direction:column;gap:10px}
.classroom-grading[hidden]{display:none}
.classroom-grading h3{font-size:13px;margin:0}
.classroom-stage-head{max-width:750px;margin:auto;display:flex;justify-content:space-between;align-items:center;gap:12px;min-height:43px}
.classroom-stage-head h2{margin:0;font-size:14px;font-weight:740;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.classroom-stage-pager{max-width:50%;overflow:auto}
.classroom-pages{display:flex;flex-wrap:nowrap;gap:4px;padding:2px;overflow:auto}
.classroom-page-button{border:1px solid #d1d1d1;background:#fff;min-width:32px;height:32px;font-size:11px;cursor:pointer}
.classroom-page-button.is-current,.classroom-page-button:hover{background:#111;color:#fff;border-color:#111}
.classroom-stage-surface{display:flex;justify-content:center;align-items:flex-start;margin-top:14px}
.classroom-paper{position:relative;background:#fff;width:min(100%,710px);aspect-ratio:794 / 1123;border:1px solid #ddd;box-shadow:0 2px 16px #00000012;flex:none;box-sizing:border-box}
.classroom-paper .maker-library-thumb-paper.classroom-paper-base{position:absolute;inset:0;width:100%;height:100%;max-width:none;aspect-ratio:794 / 1123;border:0;margin:0;box-shadow:none;overflow:hidden}
.classroom-paper .classroom-paper-base>svg{display:block;width:100%;height:100%;pointer-events:none}
.classroom-overlay{position:absolute;inset:0;display:block;width:100%;height:100%;overflow:visible;touch-action:none}
.classroom-overlay.is-readonly{pointer-events:none}
.classroom-overlay g[data-answer-id]{cursor:crosshair}
.classroom-present .classroom-activity-layout{grid-template-columns:215px minmax(0,1fr)}
.classroom-present .classroom-activity-stage{display:flex;flex-direction:column;align-items:center}
.classroom-present .classroom-stage-head,.classroom-present .classroom-stage-surface{width:100%}
.classroom-present-next{max-width:710px;width:100%;margin:18px auto}
.classroom-student-main{flex:1;overflow:auto;background:#f7f7f7;padding:25px}
.classroom-join-panel{width:min(100%,480px);box-sizing:border-box;padding:40px;margin:7vh auto 40px;border:1px solid #ddd;background:#fff}
.classroom-join-panel h1{font-size:30px;letter-spacing:-.06em;margin:14px 0}
.classroom-join-panel p{font-size:13px;color:#777;line-height:1.6}
.classroom-join-form{display:flex;flex-direction:column;gap:18px;margin-top:30px}
.classroom-join-form .classroom-button{min-height:47px;font-size:14px}
.classroom-student-info{max-width:900px;margin:auto;display:flex;flex-direction:column;gap:10px}
.classroom-student-title{margin:0;font-size:21px;letter-spacing:-.04em}
.classroom-student-menu{background:#fff;border:1px solid #dedede;padding:12px;display:flex;flex-direction:column;gap:9px}
.classroom-student-tools{display:flex;gap:4px;flex-wrap:wrap}
.classroom-tool{padding:9px 14px;background:#fff;border:1px solid #ccc;cursor:pointer;font-size:12px}
.classroom-tool.is-selected,.classroom-tool:hover{background:#111;color:#fff;border-color:#111}
.classroom-tool:disabled{opacity:.45;cursor:not-allowed}
.classroom-text-input{box-sizing:border-box;width:100%;min-height:70px;border:1px solid #ccc;padding:10px;background:#fff;color:#111;font:inherit;font-size:13px;resize:vertical}
.classroom-text-input[hidden]{display:none}
.classroom-student-submit-row{display:flex;gap:8px;justify-content:flex-end;align-items:center}
.classroom-student-submit-row .classroom-button[hidden]{display:none}
.classroom-student-status{font-size:11px;color:#666}
.classroom-student-nav{max-width:900px;margin:16px auto 5px}
.classroom-student-view{display:flex;justify-content:center;align-items:flex-start}
.classroom-grade-result{font-size:14px;font-weight:800;color:#111;background:#fff;border:1px solid #111;padding:12px;margin:0}
@media(max-width:800px){
 .classroom-activity-layout{grid-template-columns:minmax(245px,38%) minmax(0,1fr)}
 .classroom-activity-side{padding:15px 12px;gap:10px}
 .classroom-activity-stage{padding:12px}
 .classroom-activity-controls .classroom-button{flex:1 0 36%;font-size:10px}
 .classroom-present .classroom-activity-layout{grid-template-columns:175px minmax(0,1fr)}
}
@media(max-width:620px){
 body:has(.maker-page) .maker-app.classroom-activity{overflow-y:auto;height:100dvh}
 .classroom-portal-main{padding:20px 18px;display:flex}
 .classroom-role-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
 .classroom-role-grid::before{width:50%;height:100%}
 .classroom-role-grid[data-active-role="student"]::before{transform:translateX(100%)}
 .classroom-role{min-height:275px;padding:58px 0 0}
 .classroom-role-icon{width:min(100%,245px);height:217px}
 .classroom-role strong{font-size:24px;top:20px}
 .classroom-activity-layout{display:flex;flex-direction:column;overflow:auto}
 .classroom-activity-side{flex:none;overflow:visible;border-right:0;border-bottom:1px solid #ddd}
 .classroom-activity-stage{overflow:visible;min-height:450px}
 .classroom-present .classroom-activity-layout{display:flex}
 .classroom-join-panel{padding:23px;margin:5vh auto 15px}
 .classroom-student-main{padding:15px 9px}
}
@media print{
 .classroom-activity-side,.classroom-student-menu,.classroom-student-nav,.classroom-portal-main{display:none!important}
 .classroom-activity-stage,.classroom-student-view{padding:0!important;background:#fff!important}
 .classroom-paper{width:794px!important;height:1123px!important;box-shadow:none!important;border:0!important}
}

.classroom-library-response-row{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.2fr) auto;align-items:center;gap:15px;border-bottom:1px solid #ddd;padding:16px 10px;box-sizing:border-box}
.classroom-library-response-row strong{font-size:14px;font-weight:750;overflow-wrap:anywhere}
.classroom-library-response-row span{font-size:12px;color:#666}
@media(max-width:650px){.classroom-library-response-row{grid-template-columns:1fr;gap:9px}}

/* Respect system motion settings for the role selector only. */
@media(prefers-reduced-motion:reduce){.classroom-role-grid::before{transition:none}}


/* Library, role selector and activity share one responsive monochrome header. */
.maker-library-header .maker-header-guest[hidden],
.maker-library-header .maker-header-guest [hidden]{display:none!important}
.maker-library-header .maker-header-guest .account-actions{display:flex;align-items:center;gap:8px}
.maker-library-header .maker-header-guest .account-actions button{color:#fff}
.maker-library-header .maker-header-guest .account-actions button:hover{color:#ddd}
body:has(.maker-page) .classroom-portal>.maker-library-header,
body:has(.maker-page) .classroom-activity>.maker-library-header,
body:has(.maker-page) .classroom-student>.maker-library-header{
  flex:none;
}
@media(max-width:480px){
 .maker-library-header .maker-header-guest .account-actions{gap:3px}
 .maker-library-header .maker-header-guest .account-actions button{font-size:10px;padding:5px 3px}
 .maker-library-header .maker-library-top-actions{gap:6px}
 .maker-library-header .maker-library-create{padding:0 7px;font-size:10px}
}

/* Canvas live classroom reuses the existing rectilinear black/white system. */
body:has(.maker-page) .maker-app.classroom-live{height:100dvh;min-height:0;display:flex;flex-direction:column;background:#fff;overflow:hidden;color:#111}
.classroom-live-layout{flex:1;min-height:0;display:grid;grid-template-columns:minmax(195px,235px) minmax(0,1fr) minmax(265px,315px)}
.classroom-live-tools{display:flex;flex-direction:column;gap:16px;overflow:auto;min-width:0;border-right:1px solid #ddd;padding:23px 17px}
.classroom-live-tools h1{margin:0;font-size:20px;letter-spacing:-.035em;line-height:1.4}
.classroom-live-role{font-size:11px;font-weight:700;letter-spacing:.03em}
.classroom-live-code{border:1px solid #111;padding:15px;display:flex;flex-direction:column;gap:10px}
.classroom-live-code-value{font-size:25px;letter-spacing:.14em;font-variant-numeric:tabular-nums}
.classroom-live-counter{font-size:12px;color:#777;margin:0}
.classroom-live-pages{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px}
.classroom-live-pages .classroom-page-button{min-width:0}
.classroom-live-stage{display:flex;flex-direction:column;min-width:0;overflow:auto;background:#f5f5f5;padding:18px 20px}
.classroom-live-stage-head{display:flex;justify-content:space-between;align-items:center;gap:14px;margin:0 auto 14px;width:min(100%,760px)}
.classroom-live-stage-head h2{font-size:14px;margin:0;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.classroom-live-controls{display:flex;align-items:center;gap:7px;flex:none}
.classroom-live-progress{font-size:12px;font-variant-numeric:tabular-nums}
.classroom-live-paper{margin:0 auto;display:flex;width:min(100%,760px);justify-content:center;align-items:flex-start;min-height:0}
.classroom-live-paper .classroom-paper{width:100%;max-width:100%;box-shadow:0 2px 18px #00000013}
.classroom-live-chat{display:flex;flex-direction:column;min-height:0;min-width:0;border-left:1px solid #ddd;background:#fff}
.classroom-live-chat-header{display:flex;justify-content:space-between;align-items:baseline;border-bottom:1px solid #ddd;padding:20px 15px 14px}
.classroom-live-chat-header h2{font-size:16px;margin:0}
.classroom-live-chat-log{display:flex;flex-direction:column;gap:10px;flex:1;min-height:0;overflow:auto;padding:15px}
.classroom-live-message{border:1px solid #dfdfdf;padding:10px 12px;font-size:13px;overflow-wrap:anywhere}
.classroom-live-message.is-teacher{border-left:3px solid #111}
.classroom-live-message-meta{display:flex;align-items:center;gap:12px;font-size:10px;color:#777}
.classroom-live-message-meta strong{font-size:12px;color:#111}
.classroom-live-message p{line-height:1.55;white-space:pre-wrap;margin:8px 0 0}
.classroom-live-chat-form{display:flex;border-top:1px solid #ddd;padding:13px;gap:7px}
.classroom-live-chat-form input{flex:1;min-width:0;border:1px solid #bbb;border-radius:0;padding:10px;background:#fff;color:#111;font:inherit;font-size:12px}
.classroom-live-chat-form .classroom-button{white-space:nowrap}
.classroom-live-tools>.classroom-button{margin-top:auto}
@media(max-width:1100px){
 .classroom-live-layout{grid-template-columns:minmax(165px,205px) minmax(0,1fr) minmax(215px,265px)}
 .classroom-live-stage{padding:12px}
 .classroom-live-chat-header{padding:12px}
}
@media(max-width:740px){
 body:has(.maker-page) .maker-app.classroom-live{height:auto;min-height:100dvh;overflow:visible}
 .classroom-live-layout{grid-template-columns:1fr;display:flex;flex-direction:column;overflow:visible}
 .classroom-live-tools{overflow:visible;border-right:0;border-bottom:1px solid #ddd;padding:15px}
 .classroom-live-pages{grid-template-columns:repeat(8,minmax(0,1fr))}
 .classroom-live-stage{overflow:visible;padding:10px}
 .classroom-live-stage-head{flex-wrap:wrap}
 .classroom-live-chat{border-left:0;border-top:1px solid #ddd;height:340px;flex:none}
}
@media print{.classroom-live-tools,.classroom-live-chat,.classroom-live-stage-head{display:none!important}}

.classroom-student-history{margin:35px auto 50px;max-width:900px}
.classroom-student-history h2{font-size:18px;font-weight:700;letter-spacing:-.04em}
.classroom-student-history-list{display:flex;flex-direction:column;gap:7px}
.classroom-student-history-item{background:#fff;border:1px solid #d6d6d6;padding:15px 18px;display:flex;gap:20px;justify-content:space-between;align-items:center}
.classroom-student-history-info{display:flex;flex-direction:column;gap:7px;min-width:0}
.classroom-student-history-info strong{font-size:15px}
.classroom-student-history-info small{font-size:12px;color:#666}
.classroom-student-history-info p{font-size:13px;margin:2px 0;white-space:pre-wrap;overflow-wrap:anywhere}
@media(max-width:560px){.classroom-student-history-item{padding:12px;align-items:flex-start;flex-direction:column}}

body:has(.maker-page) .classroom-student>.maker-library-header,
body:has(.maker-page) .classroom-live>.maker-library-header{flex:none;min-width:0}
.classroom-live-connection{font-size:11px;color:#555}
.classroom-student .classroom-join-panel{margin-top:22px}
.classroom-student>.maker-library-header .maker-library-create,
.classroom-live>.maker-library-header .maker-library-create{display:none!important}

.classroom-live-teacher-settings{border:1px solid #bdbdbd;padding:12px;display:flex;flex-direction:column;gap:6px}
.classroom-live-allow-label{display:flex;gap:9px;align-items:center;font-size:12px;font-weight:750;cursor:pointer}
.classroom-live-allow-label input{width:17px;height:17px;accent-color:#111;border-radius:0;cursor:pointer}
.classroom-live-teacher-settings .classroom-quiet{font-size:11px;margin:0;line-height:1.5}
.classroom-live-toolbar{display:flex;gap:5px;align-items:center;flex-wrap:wrap;margin:0 auto 13px;width:min(100%,760px)}
.classroom-live-toolbar .classroom-tool{border-radius:0;background:#fff;border:1px solid #bbb;padding:8px 10px;cursor:pointer}
.classroom-live-toolbar .classroom-tool.is-selected:not(:disabled){background:#111;color:#fff}
.classroom-live-toolbar .classroom-tool:disabled{opacity:.35;cursor:not-allowed}
.classroom-live-toolbar input{min-width:190px;flex:1;max-width:350px;min-height:34px;padding:8px;border:1px solid #bbb;border-radius:0}
.classroom-live-tools-note{font-size:11px;color:#6a6a6a}
.classroom-live-roster{border-bottom:1px solid #ddd;padding:11px 15px;flex:none}
.classroom-live-roster-title{font-size:11px;letter-spacing:.01em;color:#555;margin:0 0 8px}
.classroom-live-roster-list{display:flex;gap:6px;flex-wrap:wrap;max-height:102px;overflow:auto}
.classroom-live-person{display:inline-flex;gap:5px;align-items:center;border:1px solid #dedede;padding:4px 7px;font-size:11px;background:#fff;max-width:100%;overflow-wrap:anywhere}
.classroom-live-role-mark{width:17px;height:17px;flex:none;display:inline-flex;align-items:center;justify-content:center;border:1px solid #888;color:#111}
.classroom-live-role-mark svg{width:13px;height:13px;stroke:currentColor;stroke-width:1.5;fill:none;stroke-linecap:round;stroke-linejoin:round}
.classroom-live-role-mark.is-teacher{background:#111;color:#fff;border-color:#111}
.classroom-live-message-meta .classroom-live-role-mark{width:16px;height:16px}
.classroom-live-people-count{font-size:11px;font-weight:600;color:#666;white-space:nowrap}
@media(max-width:740px){.classroom-live-toolbar{padding:0 3px}.classroom-live-roster-list{max-height:90px}}

.classroom-live-teacher-settings[hidden]{display:none!important}
.classroom-live-toolbar input[hidden]{display:none!important}

/* Shared Canvas editor glyphs in the permissioned live toolbar. */
.classroom-live-toolbar .classroom-live-tool{display:inline-grid;place-items:center;flex:none;width:40px;height:38px;padding:0;border-radius:0;background:#fff;border:1px solid #bbb;color:#111;cursor:pointer}
.classroom-live-toolbar .classroom-live-tool svg{width:21px;height:21px}
.classroom-live-toolbar .classroom-live-tool.is-selected:not(:disabled){background:#111;color:#fff;border-color:#111}
.classroom-live-toolbar .classroom-live-tool:focus-visible{outline:2px solid #111;outline-offset:2px}
.classroom-live-tools>.classroom-live-close[hidden],.classroom-live-tools>a[hidden]{display:none!important}
.classroom-student-history-actions{display:flex;align-items:center;gap:7px;flex:none}
.classroom-student-history-actions>.classroom-student-dismiss{color:#444}
@media(max-width:560px){.classroom-student-history-actions{width:100%;justify-content:flex-end}}

/* The actual Canvas editor is mounted in presentation; no second worksheet renderer. */
.classroom-live-editor{display:flex;flex-direction:column;min-width:0;min-height:0;flex:1;height:100%;width:100%}
body:has(.maker-page) .classroom-live-editor>.maker-app{width:100%;height:100%;min-height:0;min-width:0;overflow:hidden}
.classroom-live-editor .maker-workspace{min-height:0;flex:1}
.classroom-live-editor .maker-stage-frame{min-width:0}
.classroom-live-editor .maker-bar{flex:none}
.classroom-live-editor .maker-page-rail{flex:none}
.classroom-live-editor .maker-cloud-panel[hidden],
.classroom-live-editor .maker-page-actions button[hidden],
.classroom-live-editor .maker-command-bar button[hidden]{display:none!important}
.classroom-live-stage:has(.classroom-live-editor){padding:0;display:flex;flex-direction:column;min-height:0;min-width:0;overflow:hidden}
.classroom-live-editor .maker-bar-group{min-width:0}
@media(max-width:740px){
 .classroom-live-editor{height:78dvh;min-height:540px}
 .classroom-live-stage:has(.classroom-live-editor){overflow:hidden;padding:0}
}

/* Conflict recovery is only exposed on a failed live-session write. */
.classroom-live-tools>.classroom-live-recovery[hidden]{display:none!important}
.classroom-live-tools>.classroom-live-recovery:not([hidden]){margin-top:0}

/* Use the main homepage menu timing SSOT (site-header.css variables)
   on the Canvas activity surface. Presentation assignment *titles* are
   plain text controls without fill animation; the presentation action button
   still animates. */
.classroom-activity-layout :is(button:not(.classroom-presentation-title),a.classroom-button,.classroom-more>summary){
 --classroom-fill-surface:#fff;
 --classroom-fill-foreground:#111;
 --classroom-fill-reveal:#111;
 --classroom-fill-hover-foreground:#fff;
 position:relative;isolation:isolate;overflow:hidden;
 border-radius:0;background:var(--classroom-fill-surface);color:var(--classroom-fill-foreground);
 transition:color var(--locrian-menu-text-duration) ease;
}
.classroom-activity-layout :is(button:not(.classroom-presentation-title),a.classroom-button,.classroom-more>summary)::before{
 content:"";position:absolute;inset:0;z-index:-1;pointer-events:none;
 background:var(--classroom-fill-reveal);
 transform:scaleX(0);transform-origin:left center;
 transition:transform var(--locrian-menu-fill-duration) var(--locrian-menu-fill-ease);
}
.classroom-activity-layout :is(button:not(.classroom-presentation-title),a.classroom-button,.classroom-more>summary):is(:hover,:focus-visible):not(:disabled){
 background:var(--classroom-fill-surface);
 color:var(--classroom-fill-hover-foreground);
}
.classroom-activity-layout :is(button:not(.classroom-presentation-title),a.classroom-button,.classroom-more>summary):is(:hover,:focus-visible):not(:disabled)::before{
 transform:scaleX(1);
}
/* Other primary/selected controls retain black with the established inverse
   fill. Only Edit and New Assignment fill to dark charcoal, keeping white text. */
.classroom-activity-layout :is(.classroom-button-primary,.classroom-page-button.is-current,.classroom-student-item.is-current,.classroom-more[open]>summary){
 --classroom-fill-surface:#111;
 --classroom-fill-foreground:#fff;
 --classroom-fill-reveal:#fff;
 --classroom-fill-hover-foreground:#111;
 border-color:#111;
}
.classroom-activity-layout :is(.classroom-activity-controls>a.classroom-button-primary,.classroom-heading-row>.classroom-button-primary){
 --classroom-fill-reveal:#292929;
 --classroom-fill-hover-foreground:#fff;
}
.classroom-activity-layout :is(button:not(.classroom-presentation-title),a.classroom-button,.classroom-more>summary):disabled::before{
 transform:scaleX(0);transition:none;
}
@media(prefers-reduced-motion:reduce){
 .classroom-activity-layout :is(button:not(.classroom-presentation-title),a.classroom-button,.classroom-more>summary),
 .classroom-activity-layout :is(button:not(.classroom-presentation-title),a.classroom-button,.classroom-more>summary)::before{transition:none}
}

/* Preserve a retry affordance when a live room temporarily rejects bootstrap. */
.classroom-live-tools>.classroom-live-reconnect[hidden]{display:none!important}

/* Shape text editing uses one overlay aligned to the real SVG bounds. */
.maker-app .maker-sheet textarea.maker-inline-shape-text,
.maker-app .maker-sheet textarea.maker-inline-shape-text:focus-visible{
 position:absolute;z-index:9;box-sizing:border-box;resize:none;
 padding:4px;line-height:1.3;text-align:center;white-space:pre-wrap;
 font-family:var(--locrian-ui-font);transform-origin:center center;
 border:1px solid #34bcd0;outline:0;background:rgba(255,255,255,.92);
 color:#111;box-shadow:0 1px 5px #00000011;overflow:auto;
}
.maker-sheet svg .maker-shape-label{pointer-events:none;user-select:none}
@media print{.maker-app .maker-sheet textarea.maker-inline-shape-text{display:none!important}}

/* Canvas dimensions are document-scoped; let elements occupy the surrounding pasteboard. */
.maker-app .maker-sheet{aspect-ratio:var(--maker-page-width,794) / var(--maker-page-height,1123)}
.maker-app .maker-sheet svg{overflow:visible}
.maker-app .maker-page-thumb-paper{aspect-ratio:var(--maker-page-width,794) / var(--maker-page-height,1123)}
.maker-app .maker-stage{padding:95px 140px 165px 140px;overflow:auto}
/* Restore the pre-October-24 selected text frame during inline editing. */
.maker-app .maker-sheet .maker-object.is-editing .maker-selection{
  display:block!important;stroke:#111!important;stroke-dasharray:5 3!important;
}
.maker-app .maker-sheet .maker-rich-text:focus{
  outline:1px dashed #777!important;outline-offset:2px!important;
}
.maker-size-dialog{border:1px solid #222;border-radius:0;max-width:min(460px,calc(100vw - 32px));padding:0;box-shadow:0 14px 55px #0003;color:#111}
.maker-size-dialog::backdrop{background:#0006}
.maker-size-form{padding:30px;display:grid;gap:18px;background:#fff}
.maker-size-form h2{margin:0;font-size:21px;font-weight:700}
.maker-size-form label{display:grid;gap:8px;font-size:13px;font-weight:600}
.maker-size-form :is(select,input){height:42px;border:1px solid #ccc;border-radius:0;padding:9px;background:#fff;color:#111;box-sizing:border-box;width:100%}
.maker-size-form :is(select,input):disabled{background:#f5f5f5;color:#555}
.maker-size-dimensions{display:grid;grid-template-columns:1fr 1fr;gap:14px}
.maker-size-message{margin:0;min-height:1em;color:#b22;font-size:12px}
.maker-size-actions{display:flex;gap:10px;justify-content:flex-end}
.maker-size-actions button{padding:11px 17px;background:#fff;border:1px solid #111;border-radius:0;cursor:pointer}
.maker-size-actions button:last-child{background:#111;color:#fff}
@media print{
 .maker-app .maker-sheet{overflow:hidden!important}
 .maker-app .maker-sheet svg{overflow:hidden!important}
}

/* Maru Buri font faces are centralized in the shared typography.css. */

/* Allow useful off-artboard room without crushing narrow/mobile workspaces. */
@media (max-width:900px){.maker-app .maker-stage{padding:52px 60px 80px 35px}}
@media (max-width:520px){.maker-app .maker-stage{padding:24px 30px 46px 16px}}

/* Canvas editor action placement and fine interaction feedback. */
.maker-title-group>.maker-dock-button{display:grid;place-items:center;flex:none;width:34px;min-width:34px;height:34px;padding:5px;border:1px solid #565656}
.maker-title-group>.maker-dock-button svg{width:19px;height:19px}
.maker-title-group>input[aria-label="학습자료 제목"]{width:clamp(105px,10vw,170px);max-width:170px;min-width:95px}
.maker-layer-row.is-background-element .maker-layer-entry::after{content:" · 배경";font-size:10px;color:#888}
.maker-layer-entry{touch-action:pan-y}
.maker-sheet svg .maker-rotate-control{cursor:ew-resize;filter:drop-shadow(0 1px 5px #0004)}
.maker-sheet svg .maker-rotate-control:active{cursor:ew-resize}
.maker-sheet svg .maker-rotate-hit{stroke:#333;stroke-width:1.4;fill:#fff}
.maker-sheet svg .maker-rotate-tooltip{pointer-events:none}
.maker-sheet svg .maker-rotate-angle-bg{fill:#111;stroke:#111;stroke-width:1}
.maker-sheet svg .maker-rotate-angle{font-size:15px;font-weight:650;font-family:var(--locrian-ui-font);fill:#fff;stroke:none;paint-order:normal;pointer-events:none}
.maker-sheet svg .maker-object-background .maker-selection{visibility:hidden}
/* Do not crop the role illustrations by a pixel: that exposed a thin
   black strip of the animated fill below the silhouettes. */
.classroom-create-presentation{border:1px solid #ddd;background:#fafafa;padding:12px;display:grid;gap:9px}
.classroom-create-presentation[hidden]{display:none!important}
.classroom-create-presentation p{margin:0;font-size:11px;color:#555;line-height:1.6}
.classroom-create-presentation .classroom-button{width:100%}

/* Classroom voice is opt-in and shares the existing chat/roster rail. */
.classroom-live-voice-bar{display:flex;align-items:center;gap:9px;flex-wrap:wrap;padding:11px 14px;border-bottom:1px solid #ddd}
.classroom-live-voice-toggle{flex:none;min-height:32px;white-space:nowrap}
.classroom-live-voice-toggle[aria-pressed=true]{background:#111;color:#fff}
.classroom-live-voice-bar .classroom-quiet{font-size:10px;line-height:1.4;flex:1}
.classroom-live-person{display:flex;align-items:center;gap:8px}
.classroom-live-speaker{margin-left:auto;font-size:12px;color:#777;white-space:nowrap}
.classroom-live-person.is-speaking .classroom-live-speaker{background:#111;color:#fff;padding:2px 5px;font-weight:700}
.classroom-live-speaker[hidden]{display:none!important}

/* A detail-row action must sit directly to the right of the canvas name. */
.classroom-activity-name-row{display:flex;align-items:flex-end;gap:8px;min-width:0;width:100%}
.classroom-activity-name-row>.classroom-label{flex:1 1 auto;min-width:0}
.classroom-activity-name-row>.classroom-button{flex:0 0 auto;min-width:68px;height:42px;min-height:42px;white-space:nowrap}
.classroom-activity-name-row input{min-width:0}

/* Live students share the page, not the surrounding teacher pasteboard.
   Keep normal out-of-page editing and other standalone canvases unchanged. */
.classroom-live[data-viewer-role="student"] .classroom-live-editor .maker-sheet{overflow:hidden!important}
.classroom-live[data-viewer-role="student"] .classroom-live-editor .maker-sheet svg{overflow:hidden!important}

/* Contextual eraser row: fixed Locrian dimensions, no inherited collapsed button. */
.maker-app .maker-tool-options.maker-eraser-options{
  min-height:48px;display:flex;flex-wrap:wrap;align-items:center;gap:12px;
  padding:7px 12px;overflow:visible;white-space:normal
}
.maker-app .maker-eraser-options .maker-clear-page{
  display:inline-flex;align-items:center;justify-content:center;
  min-width:146px;width:auto;height:32px;min-height:32px;
  box-sizing:border-box;padding:0 12px;margin:0;
  border:1px solid #b9b9b9;border-radius:0!important;
  background:#fff;color:#111;font:600 12px/1.2 Arial,'Malgun Gothic',sans-serif;
  white-space:nowrap;cursor:pointer
}
.maker-app .maker-eraser-options .maker-clear-page:hover:not(:disabled),
.maker-app .maker-eraser-options .maker-clear-page:focus-visible{background:#111;color:#fff;border-color:#111}

/* Visible handles sit over large transparent hit areas; neither decoration
   intercepts a pointer, so corner/side hit geometry remains stable. */
.maker-sheet svg .maker-handle-visual{
  fill:#fff;stroke:#333;stroke-width:1.5;opacity:1;
  pointer-events:none;vector-effect:non-scaling-stroke
}
.maker-sheet svg .maker-corner-visual{stroke-width:1.6}
.maker-sheet svg .maker-edge-visual{stroke-width:1.2}
.maker-sheet svg .maker-preview-object .maker-handle-visual{display:none!important}
.maker-sheet svg.maker-multiple-selection .maker-handle-visual{display:none!important}
@media print{.maker-sheet svg .maker-handle-visual{display:none!important}}

/* Accessible, scripted font preview: native select remains keyboard-operable
   and available to existing programmatic font formatting contracts. */
.maker-app .maker-tool-options .maker-font-picker{
  position:relative;display:flex;align-items:center;min-width:150px;width:168px;height:34px
}
.maker-app .maker-font-picker .maker-font-preview-trigger{
  display:flex;align-items:center;justify-content:space-between;gap:10px;
  width:100%;height:34px;min-height:34px;padding:5px 9px;
  border:1px solid #bababa;background:#fff;color:#111;font-size:13px;text-align:left
}
.maker-app .maker-font-picker .maker-font-preview-name{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.maker-app .maker-font-picker .maker-font-preview-chevron{font:12px var(--locrian-ui-font);color:#555}
.maker-app .maker-font-picker select.maker-context-select{
  position:absolute!important;left:0;top:0;width:1px!important;height:1px!important;
  min-height:1px!important;padding:0!important;border:0!important;
  opacity:0;pointer-events:none
}
.maker-app .maker-font-picker .maker-font-list{
  position:absolute;z-index:180;left:0;top:calc(100% + 4px);
  display:flex;flex-direction:column;gap:0;
  min-width:230px;max-height:min(370px,65dvh);overflow-y:auto;
  border:1px solid #aaa;background:#fff;box-shadow:0 8px 22px #0002;padding:4px
}
.maker-app .maker-font-picker .maker-font-list[hidden]{display:none!important}
.maker-app .maker-font-picker .maker-font-choice{
  display:block;flex:none;width:100%;min-height:36px;padding:7px 10px;
  border:0;background:#fff;color:#111;text-align:left;font-size:16px;
  white-space:nowrap;letter-spacing:normal
}
.maker-app .maker-font-picker .maker-font-choice:hover,
.maker-app .maker-font-picker .maker-font-choice:focus-visible{background:#efefef}

/* Restored full dark color picker: basic, recent, custom and advanced panels all open. */
.maker-color-recent-grid{display:grid;grid-template-columns:repeat(10,25px);gap:10px;max-width:100%}
.maker-color-recent-swatch{display:block;width:25px;height:25px;min-height:25px;padding:0!important;border:1px solid #ffffff55!important;background:transparent;cursor:pointer}
.maker-color-recent-swatch:hover{outline:2px solid #fff;outline-offset:2px}
.maker-color-dialog .maker-color-recent[hidden]{display:none!important}
.maker-format-button svg{display:block;width:22px;height:22px;flex:none}
.maker-format-button{display:inline-flex;align-items:center;justify-content:center;padding:4px!important}
/* No circular stroke around the rotate icon: its surface is defined by shadow. */
.maker-sheet svg .maker-rotate-hit{fill:#fff;stroke:none;filter:drop-shadow(0 1px 4px #0005)}
.maker-sheet svg .maker-rotate-control{filter:none}
.maker-sheet svg .maker-rotate-arrow{fill:#111;stroke:none;pointer-events:none}
@media(max-width:800px){.maker-color-recent-grid{grid-template-columns:repeat(8,25px)}}
@media(max-width:520px){.maker-color-recent-grid{grid-template-columns:repeat(6,25px)}}

/* Supplied Canvas badge is a separate destination beside the Locrian wordmark. */
.maker-library-header .maker-library-brand{display:inline-flex!important;align-items:center;justify-content:center;flex:0 0 auto;min-height:30px;padding-left:14px;text-decoration:none}
.maker-library-header .maker-library-brand img{display:block;width:auto;max-width:84px;max-height:21px;height:auto;object-fit:contain;filter:brightness(0) invert(1)}
.maker-library-header .maker-library-brand:focus-visible{outline:2px solid #fff;outline-offset:3px}
.maker-bar .maker-brand{gap:11px;flex-wrap:nowrap}
.maker-bar .maker-primary-logo,.maker-bar .maker-editor-page-brand{display:inline-flex;align-items:center;flex:0 0 auto;text-decoration:none}
.maker-bar .maker-editor-page-brand{border-left:1px solid #606060;padding-left:11px;min-height:28px}
.maker-bar .maker-editor-page-brand img{display:block;width:auto;max-width:82px;max-height:20px;height:auto;object-fit:contain;filter:brightness(0) invert(1)}
.maker-bar :is(.maker-primary-logo,.maker-editor-page-brand):focus-visible{outline:2px solid #fff;outline-offset:3px}
@media(max-width:600px){
  .maker-library-header .maker-library-logo{width:90px;max-width:90px}
  .maker-library-header .maker-library-brand{padding-left:8px!important;min-height:26px}
  .maker-library-header .maker-library-brand img{max-width:58px;max-height:17px}
  .maker-bar .maker-brand{gap:6px;padding-right:8px}
  .maker-bar .maker-brand-image{width:75px;max-width:75px}
  .maker-bar .maker-editor-page-brand{padding-left:7px}
  .maker-bar .maker-editor-page-brand img{max-width:54px;max-height:16px}
}

/* Canvas polish: scaling must not be constrained by a 100% flex-item cap. */
.maker-app .maker-stage{align-items:safe center}
.maker-app .maker-stage .maker-sheet{max-width:none}
/* Compact full-palette dialog; preserve all original swatches and controls. */
.maker-app .maker-color-dialog{width:min(680px,calc(100vw - 24px))!important;max-height:min(90dvh,760px)}
.maker-app .maker-color-dialog-inner{padding:15px 18px 0}
.maker-app .maker-color-dialog h2{font-size:17px!important;margin:0 0 12px}
.maker-app .maker-color-workspace{grid-template-columns:minmax(130px,1fr) 30px 20px minmax(132px,.7fr);gap:9px}
.maker-app .maker-color-plane{max-height:220px}
.maker-app .maker-color-preview{min-height:130px;max-height:220px}
.maker-app .maker-color-value{height:220px;width:20px}
.maker-app .maker-color-fields{gap:7px}
.maker-app .maker-color-fields :is(input,select){height:34px;padding:0 8px;font-size:12px}
.maker-app .maker-color-channel{gap:5px;margin-bottom:5px}
.maker-app .maker-color-channel span{font-size:11px}
.maker-app .maker-color-palettes{gap:12px;padding:16px 0 20px}
.maker-app .maker-color-palettes h3{font-size:12px;margin:0 0 10px}
.maker-app .maker-color-grid{gap:5px}
.maker-app .maker-color-swatch,.maker-app .maker-color-custom-swatch{width:17px;height:17px;min-height:17px}
.maker-app .maker-color-custom-grid{grid-template-columns:repeat(6,17px);gap:6px 11px}
.maker-app .maker-color-add{width:25px;height:25px;font-size:19px}
.maker-app .maker-color-footer{padding:10px 0;margin:0 -18px;gap:10px}
.maker-app .maker-color-footer button{height:37px;font-size:12px}
.maker-app .maker-color-footer .maker-color-confirm{margin-left:18px}
.maker-app .maker-color-footer .maker-color-cancel{margin-right:18px}
.maker-page-background-button{flex:none;min-width:56px;font-size:11px}
@media(max-width:680px){
 .maker-app .maker-color-workspace{grid-template-columns:minmax(0,1fr) 20px;gap:8px}
 .maker-app .maker-color-plane{grid-column:1}
 .maker-app .maker-color-value{grid-column:2;height:170px}
 .maker-app .maker-color-preview{display:none}
 .maker-app .maker-color-fields{grid-column:1/-1;display:flex;flex-direction:row;flex-wrap:wrap}
 .maker-app .maker-color-fields>input{flex:1 1 100px}
 .maker-app .maker-color-fields>select{flex:0 0 75px}
 .maker-app .maker-color-channels{flex:1 1 100%}
 .maker-app .maker-color-palettes{grid-template-columns:1fr}
}


/* §201 Canvas chrome uses the same deep-olive brand as Market.
   Paper sheets, colored student objects, PDF and print are untouched. */
@media screen{
 body:has(.maker-page) .maker-library-header,
 body:has(.maker-page) .maker-library-header.site-header,
 body:has(.maker-page) .maker-bar{
  background:var(--locrian-olive,#3D512F)!important;
  border-bottom-color:var(--locrian-olive-deep,#2C412B)!important;
  color:#fff!important
 }
 body:has(.maker-page) .maker-library-header .maker-library-create::before{
  background:var(--locrian-olive-deep,#2C412B)!important
 }
 body:has(.maker-page) .maker-library-header .maker-library-create{
  border-color:rgba(255,255,255,.8)!important
 }
 body:has(.maker-page) .maker-bar .maker-editor-page-brand,
 body:has(.maker-page) .maker-library-header .maker-library-brand{
  border-left-color:rgba(255,255,255,.42)!important
 }
}


/* Canvas vector workbench. UI only: the SVG geometry, upstream VectorCraft
   Rust/WASM computation, JSON schema, print and persistence are unchanged. */
@media screen{
 .maker-app .maker-tool-options.maker-vector-context-active{row-gap:10px}
 .maker-app .maker-vector-context{
  flex:1 1 100%;width:100%;min-width:0;display:flex;align-items:center;
  flex-wrap:wrap;gap:7px;padding:10px 11px;
  background:#fff;box-shadow:0 1px 2px rgba(31,41,51,.035);
  border:1px solid #d9e2ec;border-radius:12px
 }
 .maker-app .maker-vector-context-summary{display:flex;align-items:baseline;flex-wrap:wrap;gap:5px 10px;margin-right:auto;color:#1f2933}
 .maker-app .maker-vector-context-summary strong{font-size:12px;font-weight:600}
 .maker-app .maker-vector-context-summary span{font-size:11px;color:#6b7280}
 .maker-app .maker-vector-context-action{
  border:1px solid #d9e2ec;background:#fff;color:#1f2933;font-size:11px;
  font-weight:500;padding:7px 11px;min-height:34px;white-space:nowrap;
  border-radius:9px!important;transition:background .16s,border-color .16s,color .16s
 }
 .maker-app .maker-vector-context-action[aria-pressed="true"]{background:#61758a;border-color:#61758a;color:#fff}
 .maker-app .maker-vector-context-action:hover,
 .maker-app .maker-vector-context-action:focus-visible{background:#e3eaf5;border-color:#61758a;color:#1f2933}
 .maker-app .maker-vector-context-action[aria-pressed="true"]:is(:hover,:focus-visible){background:#526a81;border-color:#526a81;color:#fff}
 .maker-right-rail[data-panel="inspector"]:has(.maker-inspector-vector){
  width:min(360px,calc(100vw - 185px));background:#f8fbff;border-color:#d9e2ec
 }
 .maker-app .maker-inspector-vector{display:flex;flex-direction:column;gap:9px;padding:12px!important}
 .maker-app .maker-inspector-vector>h2{display:none}
 .maker-app .maker-vector-editor-header{display:grid;gap:4px;padding:4px 2px;color:#1f2933}
 .maker-app .maker-vector-editor-header strong{font-size:15px;font-weight:650}
 .maker-app .maker-vector-editor-header span{color:#6b7280;font-size:11px;line-height:1.5}
 .maker-app .maker-vector-tabs{
  display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:5px;
  position:sticky;top:40px;z-index:1;padding:5px 0 8px;background:#f8fbff
 }
 .maker-app .maker-vector-tab{
  min-width:0;min-height:34px;border:1px solid #d9e2ec;
  border-radius:8px!important;background:#e3eaf5;color:#1f2933;
  font-size:11px;font-weight:500;padding:7px 2px;
  transition:background-color .16s,color .16s,border-color .16s
 }
 .maker-app .maker-vector-tab[aria-pressed="true"]{background:#61758a;border-color:#61758a;color:#fff}
 .maker-app .maker-vector-tab:not([aria-pressed="true"]):hover{background:#d9e2ec}
 .maker-app .maker-vector-context-pathfinder{gap:6px 7px}
 .maker-app .maker-vector-context-pathfinder .maker-vector-context-summary{margin-right:clamp(4px,1.5vw,24px)}
 .maker-app .maker-vector-pathfinder-action{flex:0 0 auto}
 .maker-app .maker-vector-section{
  display:grid;gap:10px;background:#fff;border:1px solid #d9e2ec;
  border-radius:12px;padding:12px 11px;color:#1f2933
 }
 .maker-app .maker-vector-section[hidden]{display:none!important}
 .maker-app .maker-vector-section>h3{margin:0;font-size:12px;font-weight:650}
 .maker-app .maker-vector-section-content{display:flex;flex-direction:column;gap:9px;min-width:0}
 .maker-app .maker-vector-section-content>.maker-insert-tools{width:100%;min-width:0}
 .maker-app .maker-vector-section-content button{
  border-radius:8px!important;font-weight:500;white-space:normal
 }
 .maker-app .maker-vector-section-content .maker-field-row{min-width:0}
 .maker-app .maker-vector-section-content .maker-field{min-width:0}
 .maker-app .maker-vector-section-content .maker-field input{min-width:0;max-width:100%}
 .maker-app .maker-vector-section-content .maker-selection-count{color:#6b7280;font-size:11px;line-height:1.6}
}
@media screen and (max-width:760px){
 .maker-right-rail[data-panel="inspector"]:has(.maker-inspector-vector){
  width:min(360px,calc(100vw - 105px))
 }
 .maker-app .maker-vector-context{gap:6px}
 .maker-app .maker-vector-context-summary{flex:1 1 100%}
}
@media screen and (max-width:520px){
 .maker-right-rail[data-panel="inspector"]:has(.maker-inspector-vector){
  right:8px;width:calc(100vw - 100px)
 }
 .maker-app .maker-vector-tab{font-size:10px}
 .maker-app .maker-vector-context-action{flex:1 1 auto}
}

@media screen and (max-width:950px){
 .maker-app .maker-vector-context-pathfinder .maker-vector-context-summary{
  flex:1 1 100%;margin-right:0
 }
 .maker-app .maker-vector-context-pathfinder .maker-vector-pathfinder-action{
  flex:1 1 auto
 }
}
@media (prefers-reduced-motion:reduce){
 .maker-app .maker-vector-context-action,
 .maker-app .maker-vector-tab{transition:none}
}

/* Original upstream Document editor stays in the established Canvas shell.
 * Context controls never become a second floating vector editor. */
.maker-app .maker-native-format-tools{
  display:flex;align-items:center;gap:6px;flex-wrap:wrap;
  padding:4px 6px;border:1px solid #d9e2ec;border-radius:12px;
  background:#fff;
}
.maker-app .maker-native-path-group{
  display:flex;flex-direction:column;gap:6px;
  padding:10px;border:1px solid #d9e2ec;border-radius:12px;background:#fff;
  margin:8px 0;
}
.maker-app .maker-native-contour{
  display:flex;align-items:center;gap:5px;flex-wrap:wrap;
  padding:4px 0;
}
.maker-app .maker-native-contour .maker-input{max-width:64px;min-width:55px}
@media(max-width:760px){
  .maker-app .maker-native-format-tools{gap:4px;padding:4px}
  .maker-app .maker-native-format-tools button{font-size:11px;padding:6px}
}

/* Native source document: visual Bézier handles; original Rust owns geometry. */
.maker-app .maker-native-anchor-handle{
  cursor:grab;touch-action:none;vector-effect:non-scaling-stroke;
  transition:stroke-width 100ms ease,fill 100ms ease;
}
.maker-app .maker-native-anchor-handle:is(:hover,:focus-visible){
  stroke:#526a81;stroke-width:2.6;fill:#e3eaf5;
}
.maker-app .maker-native-anchor-handle:active{cursor:grabbing;fill:#cbd8e6}
.maker-app .maker-native-tangent-guide{
  vector-effect:non-scaling-stroke;stroke-linecap:round;
  opacity:.9;pointer-events:none;
}
.maker-app .maker-native-tangent-handle{
  cursor:crosshair;touch-action:none;
}
.maker-app .maker-native-tangent-handle:is(:hover,:focus-visible){
  fill:#d9e2ec;stroke:#526a81;
}
.maker-app .maker-native-selection-bounds{vector-effect:non-scaling-stroke}
@media(prefers-reduced-motion:reduce){
  .maker-app .maker-native-anchor-handle{transition:none}
}

/* Source-native VectorCraft Canvas workbench — layout replacement, not engine
   replacement. Scope only the normal editor; classroom/live keeps its layout. */
@media screen{
  .maker-app.maker-vectorcraft-layout{
    --vc-panel:#ffffff;--vc-ground:#eef2f7;--vc-edge:#d9e2ec;
    --vc-accent:#61758a;--vc-ink:#1f2933;
    background:var(--vc-panel);color:var(--vc-ink);
  }
  .maker-app.maker-vectorcraft-layout .maker-command-bar{
    flex:none;min-height:47px;align-items:center;gap:0 10px;
    padding:0 16px;background:var(--vc-panel);
    border-bottom:1px solid var(--vc-edge);z-index:8;
  }
  .maker-app.maker-vectorcraft-layout .maker-tool-options{
    flex:1 1 100%;width:100%;min-height:46px;padding:6px 0;
    border-top:0;background:transparent;row-gap:7px;
  }
  .maker-app.maker-vectorcraft-layout .maker-workspace{
    display:grid;grid-template-columns:58px 164px minmax(0,1fr);
    grid-template-rows:minmax(0,1fr);min-height:0;overflow:hidden;
  }
  .maker-app.maker-vectorcraft-layout .maker-workspace:has(>.maker-right-rail:not([hidden])){
    grid-template-columns:58px 164px minmax(0,1fr) minmax(260px,310px);
  }
  .maker-app.maker-vectorcraft-layout .maker-workspace>.maker-drawing-tools{
    grid-column:1;grid-row:1;display:flex;flex-direction:column;
    align-items:center;align-content:flex-start;justify-content:flex-start;
    flex:none;width:58px;height:100%;min-width:0;min-height:0;
    box-sizing:border-box;overflow-y:auto;overflow-x:visible;
    gap:6px;padding:11px 6px;background:#f8fbff;
    border:0;border-right:1px solid var(--vc-edge);
    z-index:6;scrollbar-width:thin;
  }
  .maker-app.maker-vectorcraft-layout .maker-drawing-tools .maker-tool,
  .maker-app.maker-vectorcraft-layout .maker-drawing-tools .maker-shape-trigger{
    display:grid;place-items:center;flex:none;width:42px;height:42px;
    min-width:42px;min-height:42px;box-sizing:border-box;
    border:1px solid transparent;border-radius:5px!important;
    background:transparent;color:var(--vc-ink);
  }
  .maker-app.maker-vectorcraft-layout .maker-drawing-tools .maker-tool[aria-pressed="true"],
  .maker-app.maker-vectorcraft-layout .maker-drawing-tools .maker-tool[aria-pressed="true"]:hover,
  .maker-app.maker-vectorcraft-layout .maker-shape-menu[open] .maker-shape-trigger{
    color:#fff;background:var(--vc-accent);border-color:var(--vc-accent);
  }
  .maker-app.maker-vectorcraft-layout .maker-drawing-tools .maker-tool:hover:not(:disabled),
  .maker-app.maker-vectorcraft-layout .maker-drawing-tools .maker-shape-trigger:hover{
    background:#e3eaf5;color:var(--vc-ink);border-color:#d9e2ec;
  }
  .maker-app.maker-vectorcraft-layout .maker-drawing-tools .maker-tool:focus-visible,
  .maker-app.maker-vectorcraft-layout .maker-drawing-tools .maker-shape-trigger:focus-visible{
    outline:2px solid var(--vc-accent);outline-offset:1px;
  }
  .maker-app.maker-vectorcraft-layout .maker-shape-menu{flex:none}
  .maker-app.maker-vectorcraft-layout .maker-shape-choices{
    position:fixed;left:56px;top:145px;width:222px;
    border-radius:9px!important;border:1px solid var(--vc-edge);
    box-shadow:0 9px 30px rgba(31,41,51,.16);
    z-index:200;
  }
  .maker-app.maker-vectorcraft-layout .maker-shape-choices .maker-tool{
    width:38px;min-width:38px;height:38px;min-height:38px;
    background:#fff;color:var(--vc-ink);
  }
  .maker-app.maker-vectorcraft-layout .maker-page-rail{
    grid-column:2;grid-row:1;position:relative;min-height:0;
    background:var(--vc-panel);border-right:1px solid var(--vc-edge);
  }
  .maker-app.maker-vectorcraft-layout .maker-native-tree-row{
    position:relative;display:flex;align-items:center;gap:4px;
    padding-left:calc(5px + min(var(--native-depth),12)*11px);
    min-height:36px;border-radius:5px;border:1px solid transparent;
  }
  .maker-app.maker-vectorcraft-layout .maker-native-tree-row.is-selected{
    background:#edf3ff;border-color:var(--vc-edge);
  }
  .maker-app.maker-vectorcraft-layout .maker-native-tree-row.is-hidden-node{opacity:.65}
  .maker-app.maker-vectorcraft-layout .maker-native-tree-toggle,
  .maker-app.maker-vectorcraft-layout .maker-native-tree-spacer{
    flex:none;display:grid;place-items:center;width:17px;height:26px;
    padding:0;background:transparent;border:0;color:#6b7280;
    font-size:14px;border-radius:4px!important;
  }
  .maker-app.maker-vectorcraft-layout .maker-native-tree-label{
    flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;
    white-space:nowrap;font-size:11px;color:var(--vc-ink);
  }
  .maker-app.maker-vectorcraft-layout .maker-native-tree-flags{
    flex:none;max-width:88px;overflow:hidden;text-overflow:ellipsis;
    white-space:nowrap;font-size:9px;color:#6b7280;
  }
  .maker-app.maker-vectorcraft-layout .maker-native-tree-row .maker-layer-entry{
    font-size:11px;min-height:32px;min-width:0;
  }
  .maker-app.maker-vectorcraft-layout .maker-native-artboard-controls{
    display:flex;flex-wrap:wrap;align-items:center;gap:6px;
    width:100%;padding:8px 9px;border-bottom:1px solid var(--vc-edge);
  }
  .maker-app.maker-vectorcraft-layout .maker-native-artboard-action{
    min-height:30px;border:1px solid var(--vc-edge);border-radius:5px!important;
    background:#fff;color:var(--vc-ink);font-size:11px;padding:5px 8px;
  }
  .maker-app.maker-vectorcraft-layout .maker-native-artboard-action:hover:not(:disabled){
    border-color:var(--vc-accent);color:var(--vc-accent);
  }
  .maker-app.maker-vectorcraft-layout .maker-native-artboard-name{
    min-width:0;width:100%;min-height:31px;border:1px solid var(--vc-edge);
    border-radius:5px!important;background:#fff;color:var(--vc-ink);
    font-size:11px;padding:5px 8px;
  }
  .maker-app.maker-vectorcraft-layout .maker-native-artboard-name:focus-visible{
    outline:2px solid var(--vc-accent);
  }
  .maker-app.maker-vectorcraft-layout .maker-native-artboard-entry{
    display:flex;align-items:center;justify-content:space-between;
    padding:11px 8px;gap:6px;min-width:0;min-height:44px;
    background:transparent;border:1px solid transparent;
    border-left:3px solid transparent;border-radius:0!important;
    font-size:11px;text-align:left;color:var(--vc-ink);
    overflow:hidden;text-overflow:ellipsis;
  }
  .maker-app.maker-vectorcraft-layout .maker-native-artboard-entry[aria-current="page"]{
    background:#edf3ff;border-left-color:var(--vc-accent);
  }
  .maker-app.maker-vectorcraft-layout .maker-native-artboard-index,
  .maker-app.maker-vectorcraft-layout .maker-native-artboard-lock{
    flex:none;color:#6b7280;font-size:9px;
  }
  .maker-app.maker-vectorcraft-layout .maker-native-artboard-note{
    font-size:10px;line-height:1.5;color:#6b7280;
  }
  .maker-app.maker-vectorcraft-layout .maker-native-artboard-bounds{
    vector-effect:non-scaling-stroke;
  }
  /* Native paths and lock flags come directly from upstream vc_list_paths.
     This panel must never mutate or invent a document layer hierarchy. */
  .maker-app.maker-vectorcraft-layout .maker-native-node-state{
    flex:none;border:1px solid var(--vc-edge);background:#fff;color:var(--vc-ink);
    border-radius:5px!important;min-width:31px;min-height:26px;
    padding:3px 5px;font-size:10px;font-weight:500;
  }
  .maker-app.maker-vectorcraft-layout .maker-native-node-state:is(:hover,:focus-visible){
    border-color:var(--vc-accent);color:var(--vc-accent);
  }
  .maker-app.maker-vectorcraft-layout .maker-native-node-state[aria-pressed="true"]{
    background:#edf3ff;
  }
  .maker-app.maker-vectorcraft-layout .maker-native-layer-summary{
    display:flex;flex-direction:column;gap:5px;padding:13px 14px;
    border-bottom:1px solid var(--vc-edge);
    font-size:12px;color:var(--vc-ink);
  }
  .maker-app.maker-vectorcraft-layout .maker-native-layer-note{
    font-size:10px;line-height:1.5;color:#6b7280;font-weight:400;
  }
  .maker-app.maker-vectorcraft-layout .maker-native-layer-list{
    padding:9px 7px;gap:4px;
  }
  .maker-app.maker-vectorcraft-layout .maker-native-layer-list .maker-layer-row{
    gap:5px;min-height:43px;border-radius:6px;
    border-color:transparent;
  }
  .maker-app.maker-vectorcraft-layout .maker-native-layer-list .maker-layer-row:is(:hover,.is-selected){
    background:#edf3ff;border-color:var(--vc-edge);
  }
  .maker-app.maker-vectorcraft-layout .maker-native-layer-list .maker-layer-entry{
    min-height:40px;color:var(--vc-ink)!important;
  }
  .maker-app.maker-vectorcraft-layout .maker-native-layer-list .maker-layer-entry:is(:hover,:focus-visible){
    background:transparent!important;
  }
  .maker-app.maker-vectorcraft-layout .maker-native-layer-lock{
    flex:none;font-size:10px;color:#6b7280;
  }
  .maker-app.maker-vectorcraft-layout .maker-native-layer-open{
    flex:none;min-height:27px;padding:4px 7px;font-size:10px;
    border:1px solid var(--vc-edge);background:#fff;color:var(--vc-ink);
    border-radius:5px!important;
  }
  .maker-app.maker-vectorcraft-layout .maker-native-layer-open:is(:hover,:focus-visible){
    border-color:var(--vc-accent);color:var(--vc-accent);
  }
  .maker-app.maker-vectorcraft-layout .maker-rail-title{
    padding:15px 13px;color:var(--vc-ink);
    font-size:12px;font-weight:600;
  }
  .maker-app.maker-vectorcraft-layout .maker-pages .maker-page-thumb{
    padding:9px 10px;min-height:0;gap:7px;
    background:transparent;border-left:3px solid transparent;
    color:#6b7280;border-radius:0!important;
  }
  .maker-app.maker-vectorcraft-layout .maker-pages .maker-page-thumb:hover{
    background:#f3f6fb;
  }
  .maker-app.maker-vectorcraft-layout .maker-pages .maker-page-thumb[aria-current="page"]{
    background:#edf3ff;border-left-color:var(--vc-accent);
    color:var(--vc-ink);
  }
  .maker-app.maker-vectorcraft-layout .maker-page-thumb-paper{
    max-width:115px;margin-inline:auto;
    border-radius:3px!important;box-shadow:0 2px 8px rgba(31,41,51,.08);
  }
  .maker-app.maker-vectorcraft-layout .maker-page-thumb[aria-current="page"] .maker-page-thumb-paper{
    border:2px solid var(--vc-accent);
  }
  .maker-app.maker-vectorcraft-layout .maker-page-actions{
    padding:9px;gap:5px;border-color:var(--vc-edge);
  }
  .maker-app.maker-vectorcraft-layout .maker-page-actions>button:first-child{
    border-color:var(--vc-accent);background:var(--vc-accent);
    color:#fff;border-radius:5px!important;
  }
  .maker-app.maker-vectorcraft-layout .maker-stage-frame{
    grid-column:3;grid-row:1;min-width:0;min-height:0;
    background:var(--vc-ground);
  }
  .maker-app.maker-vectorcraft-layout .maker-stage{
    align-items:safe center;justify-content:flex-start;
    padding:42px 65px 72px;overflow:auto;
  }
  .maker-app.maker-vectorcraft-layout .maker-sheet{
    background:#fff;border:1px solid #d9e2ec;
    box-shadow:0 10px 36px rgba(31,41,51,.10);
  }
  .maker-app.maker-vectorcraft-layout .maker-stage-dock{
    top:auto;bottom:17px;right:17px;width:auto;
    display:flex;flex-direction:row;gap:4px;
    background:#fff;border:1px solid var(--vc-edge);
    border-radius:8px!important;padding:5px;
    box-shadow:0 4px 18px rgba(31,41,51,.08);
  }
  .maker-app.maker-vectorcraft-layout .maker-stage-dock .maker-dock-button{
    min-width:35px;min-height:35px;border-radius:5px!important;box-shadow:none;
  }
  .maker-app.maker-vectorcraft-layout .maker-zoom-label{
    display:grid;place-items:center;min-width:42px;
    padding:6px;background:transparent;border:0;font-size:11px;
  }
  .maker-app.maker-vectorcraft-layout .maker-right-rail:not([hidden]){
    position:relative!important;grid-column:4;grid-row:1;
    inset:auto!important;right:auto!important;bottom:auto!important;
    top:auto!important;width:auto!important;max-height:none;
    min-width:0;height:100%;box-sizing:border-box;
    margin:0;border:0;border-left:1px solid var(--vc-edge);
    border-radius:0!important;box-shadow:none;
    background:#fff;
  }
  .maker-app.maker-vectorcraft-layout .maker-panel-head{
    padding:13px 15px;border-color:var(--vc-edge);
  }
  .maker-app.maker-vectorcraft-layout .maker-panel-close{
    border-radius:5px!important;
  }
  .maker-app.maker-vectorcraft-layout .maker-side--inspector{
    padding:13px!important;
  }
  .maker-app.maker-vectorcraft-layout .maker-page-overview-panel{
    width:min(610px,calc(100vw - 222px));
  }
}
@media screen and (max-width:1150px){
  .maker-app.maker-vectorcraft-layout .maker-workspace{grid-template-columns:54px 115px minmax(0,1fr)}
  .maker-app.maker-vectorcraft-layout .maker-workspace:has(>.maker-right-rail:not([hidden])){
    grid-template-columns:54px 115px minmax(0,1fr) 265px;
  }
  .maker-app.maker-vectorcraft-layout .maker-workspace>.maker-drawing-tools{
    width:54px;padding-inline:4px;
  }
  .maker-app.maker-vectorcraft-layout .maker-page-overview-panel{
    width:min(510px,calc(100vw - 170px));
  }
  .maker-app.maker-vectorcraft-layout .maker-stage{padding:30px 50px 66px}
}
@media screen and (max-width:760px){
  .maker-app.maker-vectorcraft-layout .maker-workspace,
  .maker-app.maker-vectorcraft-layout .maker-workspace:has(>.maker-right-rail:not([hidden])){
    grid-template-columns:52px 88px minmax(0,1fr)!important;
  }
  .maker-app.maker-vectorcraft-layout .maker-workspace>.maker-drawing-tools{
    width:52px;padding:8px 4px;gap:4px;
  }
  .maker-app.maker-vectorcraft-layout .maker-drawing-tools .maker-tool,
  .maker-app.maker-vectorcraft-layout .maker-drawing-tools .maker-shape-trigger{
    width:40px;height:40px;min-width:40px;min-height:40px;
  }
  .maker-app.maker-vectorcraft-layout .maker-page-rail{grid-column:2;min-width:0}
  .maker-app.maker-vectorcraft-layout .maker-rail-title{padding:12px 7px;font-size:10px}
  .maker-app.maker-vectorcraft-layout .maker-stage{padding:24px 23px 62px}
  .maker-app.maker-vectorcraft-layout .maker-right-rail:not([hidden]){
    position:absolute!important;z-index:20;grid-column:auto;
    right:8px!important;left:auto!important;top:8px!important;bottom:8px!important;
    width:min(320px,calc(100vw - 75px))!important;height:auto;
    border:1px solid var(--vc-edge);border-radius:10px!important;
    box-shadow:0 12px 30px rgba(31,41,51,.2);
  }
  .maker-app.maker-vectorcraft-layout .maker-page-overview-panel{
    width:calc(100vw - 140px);
  }
  .maker-app.maker-vectorcraft-layout .maker-shape-choices{
    left:51px;top:124px;width:210px;
  }
}
@media print{
  .maker-app.maker-vectorcraft-layout .maker-workspace>.maker-drawing-tools{display:none!important}
  .maker-app.maker-vectorcraft-layout .maker-workspace{display:block!important}
}
@media (prefers-reduced-motion:reduce){
  .maker-app.maker-vectorcraft-layout .maker-drawing-tools .maker-tool,
  .maker-app.maker-vectorcraft-layout .maker-shape-trigger{transition:none!important}
}


/* Source-first candidate: the ORIGINAL egui WebRunner is the sole vector
   editing UI. Locrian only owns outer navigation and trusted file transfer. */
.maker-app.maker-source-first-host{
  min-height:calc(100vh - 78px);background:#1e222b;color:#f4f5f8;
  display:flex;flex-direction:column;overflow:hidden
}
.maker-source-first-bar{
  display:flex;align-items:center;flex-wrap:wrap;gap:12px;min-height:58px;
  padding:10px 18px;background:#252a34;border-bottom:1px solid #414651;
  font-size:13px;color:#e6eaf0
}
.maker-source-first-bar a{color:#dce6f5;text-decoration:none}
.maker-source-first-bar a:hover{text-decoration:underline}
.maker-source-first-title{font-weight:650;letter-spacing:.035em}
.maker-source-first-warning{color:#b8c6d9;flex:1;min-width:180px}
.maker-app .maker-source-first-button{
  border:1px solid #59616e;background:#343c49;color:#fff;
  border-radius:6px!important;padding:8px 12px;min-height:35px
}
.maker-app .maker-source-first-button:hover{background:#47556a}
.maker-source-first-area{
  position:relative;flex:1;min-height:min(78vh,780px);
  background:#1e222b;overflow:hidden
}
.maker-source-first-area #vectorcraft_canvas{
  position:absolute;inset:0;width:100%;height:100%;display:block;
  touch-action:none;overscroll-behavior:contain
}
.maker-source-first-loading{
  position:absolute;inset:0;display:flex;align-items:center;justify-content:center;
  padding:24px;color:#c3cbd7;font-size:14px;pointer-events:none
}
.maker-source-first-loading.is-error{
  color:#e9b7b7;background:#242933;pointer-events:auto;text-align:center
}
@media(max-width:700px){
  .maker-source-first-bar{padding:9px 12px;gap:8px}
  .maker-source-first-warning{order:5;flex-basis:100%}
  .maker-source-first-area{min-height:65vh}
}


/* The Locrian cloud document picker is an account feature outside the original
   WebRunner surface. Vector editing chrome remains 100% upstream. */
.maker-source-first-cloud-status{font-size:11px;color:#bcc9d7}
.maker-source-first-cloud-dialog{
  width:min(520px,calc(100vw - 30px));max-height:min(76vh,740px);
  padding:0;border:1px solid #c9d2db;border-radius:12px;
  color:#253240;background:#fff;box-shadow:0 20px 70px #0004
}
.maker-source-first-cloud-dialog::backdrop{background:#10182080}
.maker-source-first-cloud-dialog-head{
  display:flex;align-items:center;justify-content:space-between;gap:16px;
  padding:16px 20px;border-bottom:1px solid #d9e2ec
}
.maker-source-first-cloud-dialog-head h2{margin:0;font-size:16px;font-weight:650}
.maker-source-first-cloud-dialog-head button{
  border:0;background:transparent;color:#536273;cursor:pointer;
  padding:8px 12px
}
.maker-source-first-cloud-list{display:flex;flex-direction:column;gap:8px;
  padding:16px 20px;max-height:60vh;overflow-y:auto}
.maker-source-first-cloud-entry{
  text-align:left;border:1px solid #d9e2ec;border-radius:9px;
  background:#f6f8fb;color:#263647;padding:12px 14px;cursor:pointer
}
.maker-source-first-cloud-entry:hover{border-color:#61758a;background:#edf3ff}
.maker-source-first-cloud-entry:focus-visible{outline:2px solid #61758a;outline-offset:2px}


/* Existing authenticated-classroom WebRTC sidecar outside upstream editor. */
.maker-source-first-voice-status{
  display:inline-flex;align-items:center;color:#c6d7e7;
  font-size:12px;line-height:1.5;max-width:270px
}
.maker-source-first-bar .classroom-live-voice-toggle{
  border:1px solid #61758a;background:#334355;color:#fff;
  border-radius:8px;padding:7px 11px;cursor:pointer
}
.maker-source-first-bar .classroom-live-voice-toggle[aria-pressed="true"]{
  background:#61758a;color:#fff
}
.maker-source-first-bar .classroom-live-voice-toggle:disabled{
  opacity:.55;cursor:not-allowed
}

/* Native classroom read-only status sits outside the upstream WebRunner. */
.maker-source-first-share-status{
  display:inline-flex;align-items:center;color:#c6d7e7;
  font-size:12px;line-height:1.5;max-width:320px
}
.maker-source-first-bar .maker-source-first-button:disabled{
  opacity:.55;cursor:not-allowed
}
.maker-source-first-bar .maker-source-first-button[hidden]{
  display:none!important
}


/* Source-first workbench: original Rust menu retained; Locrian brand, editable
   worksheet templates and native document operations remain separate UI. */
.maker-source-first-bar .maker-source-first-title{
  display:inline-flex;align-items:center;justify-content:center;
  width:48px;max-width:12vw;flex:0 0 auto;text-decoration:none;
}
.maker-source-first-bar .maker-source-first-title:hover{text-decoration:none}
.maker-source-first-logo{
  display:block;width:100%;height:auto;max-height:34px;object-fit:contain;
  /* Dark original symbol on dark workbench was nearly invisible. The same
     committed symbol remains intact; invert its pixels only in this header. */
  filter:brightness(0) invert(1);
}
.maker-source-first-workspace-tabs{
  display:inline-flex;align-items:center;gap:3px;padding:3px;
  border:1px solid #4f5b6c;border-radius:7px;background:#1f2933;
  flex:0 0 auto;
}
.maker-app .maker-source-first-workspace-tab{
  border:0;border-radius:5px;background:transparent;color:#d9e2ec;
  font:inherit;font-size:12px;font-weight:550;min-width:66px;
  padding:8px 11px;cursor:pointer;
}
.maker-app .maker-source-first-workspace-tab:hover,
.maker-app .maker-source-first-workspace-tab:focus-visible{
  background:#435569;color:#fff;
}
.maker-app .maker-source-first-workspace-tab[aria-selected="true"]{
  background:#61758a;color:#fff;
}
.maker-source-first-template-panel{
  position:absolute;z-index:12;top:14px;left:16px;
  width:min(350px,calc(100% - 32px));max-height:calc(100% - 28px);
  overflow-y:auto;box-sizing:border-box;padding:20px;
  border:1px solid #d9e2ec;border-radius:10px;background:#fff;
  color:#1f2933;box-shadow:0 16px 40px #0004;
}
.maker-source-first-template-panel[hidden]{display:none!important}
.maker-source-first-template-panel h2{
  margin:0 0 8px;font-size:18px;font-weight:650;color:#1f2933;
}
.maker-source-first-template-panel p{
  margin:0 0 15px;font-size:12px;line-height:1.55;color:#6b7280;
}
.maker-source-first-template-list{display:grid;gap:8px}
.maker-app .maker-source-first-template-choice{
  display:flex;flex-direction:column;text-align:left;gap:4px;
  padding:12px 14px;border:1px solid #d9e2ec;border-radius:7px;
  background:#f8fafc;color:#1f2933;cursor:pointer;
}
.maker-app .maker-source-first-template-choice:hover:not(:disabled),
.maker-app .maker-source-first-template-choice:focus-visible{
  border-color:#61758a;background:#edf3ff;outline:none;
}
.maker-app .maker-source-first-template-choice strong{
  font-size:13px;font-weight:600;
}
.maker-app .maker-source-first-template-choice span{
  font-size:11px;color:#6b7280;
}
.maker-app .maker-source-first-template-choice:disabled{
  opacity:.52;cursor:not-allowed;
}
.maker-source-first-template-panel .maker-source-first-template-status{
  margin:14px 0 0;min-height:17px;font-size:12px;color:#61758a;
}
@media(max-width:700px){
  .maker-source-first-bar .maker-source-first-title{width:32px}
  .maker-source-first-template-panel{left:8px;top:8px;width:min(350px,calc(100% - 16px))}
  .maker-app .maker-source-first-workspace-tab{min-width:55px;padding:7px 9px}
}

/* Native VectorCraft has its own menu bar and toolbox. Locrian's outer bar
   shows ONLY its brand and classroom status; file/template tools overlay the
   canvas without covering the native Rust File/Edit/Object/Type menu. */
.maker-app.maker-source-first-host{--locrian-steel:#61758a}
.maker-source-first-bar{min-height:48px;padding:7px 20px;background:#fff;border-bottom:1px solid #d9e2ec;color:#1f2933;gap:16px}
.maker-source-first-bar .maker-source-first-title{display:inline-flex;align-items:center;gap:13px;width:auto;max-width:none;min-width:0;flex-shrink:0}
.maker-source-first-bar .maker-source-first-title img{width:30px;max-height:29px;object-fit:contain;filter:none}
.maker-source-first-brand-divider{color:#aab8c6;font-size:23px;font-weight:300}
.maker-source-first-brand-word{color:#1f2933;letter-spacing:.1em;font-size:14px;font-weight:680}
.maker-source-first-brand-caption{color:#1f2933;letter-spacing:.12em;font-size:14px;font-weight:650}
.maker-source-first-bar .maker-source-first-warning{color:#61758a;min-width:0}
.maker-source-first-toolbox{
  position:absolute;right:14px;top:50px;z-index:11;
  display:flex;align-items:center;gap:7px;flex-wrap:wrap;
  max-width:min(480px,calc(100% - 68px));padding:7px 9px;
  border:1px solid #d9e2ec;border-radius:9px;background:rgba(255,255,255,.96);
  color:#1f2933;box-shadow:0 10px 28px #0002;
}
.maker-source-first-toolbox-title{font-size:12px;color:#6b7280;letter-spacing:.02em}
.maker-source-first-toolbox-menu{position:relative}
.maker-source-first-toolbox-menu>summary{list-style:none;cursor:pointer;padding:8px 12px;border:1px solid #d9e2ec;border-radius:6px;font-weight:550;font-size:12px}
.maker-source-first-toolbox-menu>summary::-webkit-details-marker{display:none}
.maker-source-first-toolbox-menu[open]>summary{background:#61758a;color:#fff;border-color:#61758a}
.maker-source-first-toolbox-actions{
  position:absolute;right:0;top:calc(100% + 10px);z-index:16;
  width:196px;display:grid;gap:6px;padding:10px;
  border:1px solid #d9e2ec;border-radius:9px;background:#fff;box-shadow:0 14px 36px #0003
}
.maker-app .maker-source-first-toolbox-actions .maker-source-first-button,
.maker-app .maker-source-first-toolbox-cloud .maker-source-first-button,
.maker-app .maker-source-first-toolbox-toggle{
  border:1px solid #d9e2ec;border-radius:6px!important;
  background:#fff;color:#1f2933;padding:8px 12px;min-height:34px;
  font-size:12px;font-weight:550;white-space:nowrap
}
.maker-app .maker-source-first-toolbox-actions .maker-source-first-button:hover:not(:disabled),
.maker-app .maker-source-first-toolbox-cloud .maker-source-first-button:hover:not(:disabled),
.maker-app .maker-source-first-toolbox-toggle:hover,
.maker-app .maker-source-first-toolbox-toggle[aria-expanded="true"]{
  border-color:#61758a;background:#61758a;color:#fff
}
.maker-source-first-toolbox-cloud{display:flex;align-items:center;gap:7px}
.maker-source-first-toolbox-cloud .maker-source-first-cloud-status{display:none}
.maker-source-first-template-panel{top:100px;left:auto;right:14px;z-index:15;max-height:calc(100% - 112px)}
.maker-source-first-template-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:10px}
.maker-source-first-template-panel .maker-source-first-template-head h2{margin:0}
.maker-app .maker-source-first-template-close{border:1px solid #d9e2ec;border-radius:6px!important;background:white;color:#1f2933;padding:7px 11px;font-size:12px}
.maker-app .maker-source-first-template-close:hover{background:#61758a;color:#fff}
@media(max-width:700px){
  .maker-source-first-bar .maker-source-first-title{width:auto;max-width:none}
  .maker-source-first-bar .maker-source-first-title img{width:25px}
  .maker-source-first-toolbox{right:8px;top:44px;max-width:calc(100% - 16px);gap:4px;padding:5px}
  .maker-source-first-toolbox-title{display:none}
  .maker-source-first-template-panel{right:8px;left:auto;top:95px;width:min(350px,calc(100% - 16px))}
}

.maker-source-first-prefs-status{
  font-size:11px;line-height:1.4;color:#6b7280;
  display:inline-flex;align-items:center;min-height:30px;
  white-space:normal;max-width:160px
}
.maker-source-first-toolbox .maker-source-first-prefs-status:empty{display:none}
.maker-source-first-bar .maker-source-first-voice-status,
.maker-source-first-bar .maker-source-first-share-status{color:#61758a}
.maker-app.maker-source-first-host .maker-source-first-template-panel{
  border-color:#d9e2ec;background:#fff;color:#1f2933
}

/* First-run native Rust loading artwork supplied by Locrian.
   The only filled bar is a <progress> fed by actual WASM stream bytes.
   Unmeasurable Rust setup never receives synthetic percentages. */
.maker-app.maker-source-first-host .maker-source-first-loading{
  z-index:20;display:flex;align-items:center;justify-content:center;
  padding:16px;background:#fff;color:#1f2933;pointer-events:none;
}
/* No intermediate loading page on fast cached native startups. A delayed
   startup or real error keeps the existing Locrian artwork and measured bar. */
.maker-app.maker-source-first-host .maker-source-first-loading.is-deferred:not(.is-error){
  display:none;
}
.maker-source-first-loading-visual{
  position:relative;display:block;width:min(960px,100%);
  aspect-ratio:16/9;max-height:100%;
}
.maker-source-first-loading-art{
  display:block;width:100%;height:100%;object-fit:contain;
}
.maker-source-first-loading-progress{
  position:absolute;left:34.0625%;top:59.222222%;
  width:31.875%;height:.888889%;min-height:2px;
  margin:0;border:0;border-radius:20px;overflow:hidden;
  appearance:none;-webkit-appearance:none;background:transparent;
}
.maker-source-first-loading-progress[hidden]{display:none}
.maker-source-first-loading-progress::-webkit-progress-bar{background:transparent}
.maker-source-first-loading-progress::-webkit-progress-value{background:#61758a;border-radius:20px}
.maker-source-first-loading-progress::-moz-progress-bar{background:#61758a;border-radius:20px}
.maker-source-first-loading-state{
  position:absolute;top:65%;left:8%;width:84%;margin:0;
  color:#1f2933;font-size:clamp(12px,1.6vw,15px);font-weight:500;
  line-height:1.45;text-align:center;
}
.maker-source-first-loading-measured{
  position:absolute;top:70%;left:8%;width:84%;margin:0;
  color:#6b7280;font-size:clamp(10px,1.2vw,12px);
  font-variant-numeric:tabular-nums;text-align:center;
}
.maker-app.maker-source-first-host .maker-source-first-loading.is-error{
  background:#fff;color:#1f2933;pointer-events:auto;
}
.maker-source-first-loading.is-error .maker-source-first-loading-state{
  color:#b54747;
}

/* Native-only VectorCraft classroom launcher reuses the existing Steel Blue
   toolbox; historical JSON Canvas drawing controls never appear here. */
.maker-source-first-toolbox-classrooms{
  display:flex;align-items:center;flex-wrap:wrap;gap:6px;padding-left:8px;
  border-left:1px solid #d9e2ec;min-width:0
}
.maker-source-first-toolbox-classrooms .maker-source-first-toolbox-title{white-space:nowrap}
.maker-source-first-toolbox-classrooms .maker-source-first-toolbox-actions{
  display:flex;gap:5px;align-items:center;flex-wrap:wrap
}
.maker-source-first-toolbox-classrooms .maker-source-first-share-status{
  font-size:12px;max-width:340px;overflow-wrap:anywhere;margin:0
}
.maker-source-first-toolbox-classrooms .maker-source-first-share-status:empty{display:none}
.maker-source-first-classroom-list-menu{position:relative}
.maker-source-first-classroom-list{
  position:absolute;top:calc(100% + 6px);right:0;z-index:40;
  display:grid;gap:6px;min-width:290px;max-width:min(440px,90vw);
  max-height:260px;overflow:auto;background:#fff;color:#1f2933;
  padding:12px;border:1px solid #d9e2ec;border-radius:8px;
  box-shadow:0 8px 30px rgba(31,41,51,.12)
}
.maker-source-first-classroom-row{display:flex;align-items:center;
  justify-content:space-between;gap:10px;font-size:12px;padding:5px 0;
  border-bottom:1px solid #d9e2ec}
.maker-source-first-classroom-row:last-child{border-bottom:none}
.maker-source-first-classroom-row>span{overflow-wrap:anywhere}
.maker-app .maker-source-first-classroom-row .maker-source-first-button{
  font-size:12px;text-decoration:none;white-space:nowrap;padding:5px 9px;
  color:#fff;background:#61758a;border-radius:5px
}
@media(max-width:720px){
 .maker-source-first-toolbox-classrooms{padding-left:0;border-left:0}
 .maker-source-first-classroom-list{left:0;right:auto;min-width:230px}
}


/* Default native Canvas: shared Locrian header, no floating learning-toolbox.
   The native egui panel itself is painted in WebGL and remains upstream-owned. */
.maker-app.maker-source-first-host{
  background:#fff;color:#1f2933;
}
.maker-app.maker-source-first-host .maker-source-first-bar{
  display:flex;align-items:center;min-height:62px;padding:9px clamp(14px,2vw,28px);
  gap:clamp(10px,1.6vw,22px);font-family:var(--locrian-ui-font);
  background:#fff;border-bottom:1px solid #d9e2ec;
}
.maker-source-first-bar .maker-source-first-title{
  display:flex;align-items:center;flex-shrink:0;gap:15px;
}
.maker-source-first-bar .maker-source-first-title a{
  display:inline-flex;align-items:center;min-height:40px;
  padding:3px 0;text-decoration:none;
}
.maker-source-first-bar .maker-source-first-title a:hover{opacity:.8;text-decoration:none}
.maker-source-first-bar .maker-source-first-home img{
  width:117px;height:auto;max-height:35px;object-fit:contain;
}
.maker-source-first-bar .maker-source-first-canvas-brand img{
  display:block;width:96px;height:auto;max-height:34px;object-fit:contain;
}
.maker-app.maker-source-first-host .maker-source-first-toolbox{
  display:flex;align-items:center;justify-content:flex-end;flex-wrap:wrap;
  gap:9px;position:static;top:auto;right:auto;z-index:auto;
  margin-left:auto;padding:0;min-width:0;max-width:none;
  border:0;border-radius:0;background:transparent;box-shadow:none;
}
.maker-app.maker-source-first-host .maker-source-first-toolbox-menu{
  position:relative;
}
.maker-app.maker-source-first-host .maker-source-first-toolbox-menu>summary,
.maker-app.maker-source-first-host .maker-source-first-toolbox-cloud .maker-source-first-button,
.maker-app.maker-source-first-host .maker-source-first-toolbox-toggle{
  display:inline-flex;align-items:center;justify-content:center;
  min-height:39px;padding:9px 16px;font-size:13px;font-weight:700;
  font-family:var(--locrian-ui-font);color:#1f2933;
  background:#fff;border:1px solid #d9e2ec;border-radius:8px!important;
  transition:background-color .16s ease,color .16s ease,border-color .16s ease;
}
.maker-app.maker-source-first-host .maker-source-first-toolbox-menu>summary:hover,
.maker-app.maker-source-first-host .maker-source-first-toolbox-cloud .maker-source-first-button:hover:not(:disabled),
.maker-app.maker-source-first-host .maker-source-first-toolbox-toggle:hover:not(:disabled){
  color:#1f2933;background:#e3eaf5;border-color:#d9e2ec;
}
.maker-app.maker-source-first-host .maker-source-first-toolbox-menu[open]>summary,
.maker-app.maker-source-first-host .maker-source-first-toolbox-toggle[aria-expanded="true"]{
  color:#fff;background:#61758a;border-color:#61758a;
}
.maker-app.maker-source-first-host .maker-source-first-toolbox-actions{
  position:absolute;top:calc(100% + 8px);right:0;z-index:17;
  min-width:205px;max-height:min(65vh,490px);overflow-y:auto;
  border:1px solid #d9e2ec;background:#fff;box-shadow:0 14px 34px #1f293322;
}
.maker-app.maker-source-first-host .maker-source-first-toolbox-actions .maker-source-first-button{
  min-height:39px;font-size:13px;font-weight:650;
  transition:background-color .16s ease,color .16s ease;
}
.maker-app.maker-source-first-host .maker-source-first-toolbox-actions .maker-source-first-button:hover:not(:disabled){
  background:#e3eaf5;color:#1f2933;border-color:#d9e2ec;
}
.maker-app.maker-source-first-host .maker-source-first-workspace-tab{
  padding:10px 15px;font-size:14px;font-weight:700;
  font-family:var(--locrian-ui-font);color:#1f2933;background:#fff;
}
.maker-app.maker-source-first-host .maker-source-first-workspace-tab:hover{
  background:#e3eaf5;color:#1f2933;
}
.maker-app.maker-source-first-host .maker-source-first-workspace-tab[aria-selected="true"]{
  background:#61758a;color:#fff;
}
/* Rust renders both side panels into one GPU canvas. Block their visibility
   and pointer access with a full-area gate until native file.new/open succeeds. */
.maker-app.maker-source-first-host .maker-source-first-entry-gate{
  position:absolute;inset:0;z-index:12;box-sizing:border-box;
  display:flex;align-items:center;justify-content:center;flex-direction:column;
  gap:15px;padding:35px;text-align:center;background:#fff;color:#1f2933;
  font-family:var(--locrian-ui-font);pointer-events:auto;
}
.maker-app.maker-source-first-host .maker-source-first-entry-gate h2{
  margin:0;font-size:clamp(19px,2.2vw,27px);font-weight:750;
}
.maker-app.maker-source-first-host .maker-source-first-entry-gate p{
  max-width:400px;margin:0 0 7px;color:#6b7280;font-size:14px;line-height:1.6;
}
.maker-app.maker-source-first-host .maker-source-first-entry-gate a{
  display:inline-flex;align-items:center;justify-content:center;
  padding:11px 18px;min-height:43px;border-radius:8px!important;
  text-decoration:none;font-weight:700;font-size:14px;
}
.maker-app.maker-source-first-host .maker-source-first-entry-action{
  color:#fff;background:#61758a;
}
.maker-app.maker-source-first-host .maker-source-first-entry-action:hover{
  background:#53697f;
}
.maker-app.maker-source-first-host .maker-source-first-entry-secondary{
  color:#1f2933;background:#e3eaf5;
}
.maker-app.maker-source-first-host .maker-source-first-entry-secondary:hover{
  background:#d9e2ec;
}
@media(max-width:820px){
  .maker-app.maker-source-first-host .maker-source-first-bar{gap:8px;flex-wrap:wrap}
  .maker-source-first-bar .maker-source-first-home img{width:92px}
  .maker-source-first-bar .maker-source-first-canvas-brand img{width:78px}
  .maker-app.maker-source-first-host .maker-source-first-toolbox{margin-left:0;flex:1 1 100%;justify-content:flex-start}
  .maker-app.maker-source-first-host .maker-source-first-toolbox-menu>summary,
  .maker-app.maker-source-first-host .maker-source-first-toolbox-cloud .maker-source-first-button,
  .maker-app.maker-source-first-host .maker-source-first-toolbox-toggle{font-size:12px;min-height:36px;padding:7px 11px}
}

/* Historical account-owned JSON worksheet files remain viewable, but the retired editor no longer opens. */
.classroom-legacy-readonly{max-width:330px;margin:10px 0 0;font-family:var(--locrian-ui-font);font-size:12px;line-height:1.6;font-weight:500;color:#6b7280}

/* The original Rust/egui file and classroom menus replace the duplicate
   HTML header buttons. The authenticated action handlers remain DOM-mounted
   but are never rendered as a second toolbar. */
.maker-app.maker-source-first-host .maker-source-first-toolbox[hidden]{
  display:none!important;
}
.maker-app.maker-source-first-host .maker-source-first-bar>.maker-source-first-button,
.maker-app.maker-source-first-host .maker-source-first-bar>.classroom-live-voice-toggle{
  display:none!important;
}
/* The only supplemental visible surface is the classroom list when requested
   from the original Rust '수업' menu; it is not an always-visible toolbar. */
.maker-app.maker-source-first-host .maker-source-first-area>
.maker-source-first-classroom-list-menu{
  display:none;position:absolute;z-index:35;top:12px;right:18px;
  min-width:min(340px,calc(100vw - 36px));max-width:min(460px,calc(100vw - 36px));
  padding:10px;border:1px solid #d9e2ec;border-radius:8px;
  background:#fff;box-shadow:0 12px 32px #1f293333;
}
.maker-app.maker-source-first-host .maker-source-first-area>
.maker-source-first-classroom-list-menu[open]{display:block}
.maker-app.maker-source-first-host .maker-source-first-area>
.maker-source-first-classroom-list-menu>summary{display:none}
.maker-app.maker-source-first-host .maker-source-first-area>
.maker-source-first-classroom-list-menu>.maker-source-first-classroom-list{
  position:static;display:grid;gap:6px;min-width:0;max-width:none;
  max-height:min(55vh,350px);overflow:auto;padding:5px;
  border:0;box-shadow:none;
}

/* Native Steel Blue chrome: text and entire editor panels are painted by the
   upstream egui Tokens override. The actual editable artboards stay white,
   and the distinct pasteboard is #E3EAF5 (never recolor document content). */
.maker-app.maker-source-first-host{position:relative;background:#e3eaf5;color:#fff}
.maker-app.maker-source-first-host .maker-source-first-bar{
  background:#61758a;color:#fff;border-bottom:1px solid #53697f;
}
.maker-app.maker-source-first-host .maker-source-first-bar
.maker-source-first-title img{
  filter:brightness(0) invert(1);
}
.maker-app.maker-source-first-host .maker-source-first-bar
.maker-source-first-warning,
.maker-app.maker-source-first-host .maker-source-first-bar
.maker-source-first-voice-status,
.maker-app.maker-source-first-host .maker-source-first-bar
.maker-source-first-share-status{color:#fff;font-weight:650}
.maker-app.maker-source-first-host .maker-source-first-area{
  background:#e3eaf5;
}
.maker-app.maker-source-first-host .maker-source-first-workspace-tab{
  font-weight:750;
}
.maker-library-native-thumb{
  display:grid;place-items:center;background:#fff;overflow:hidden;
}
.maker-library-native-thumb img{
  display:block;width:100%;height:100%;object-fit:contain;
}
.maker-library-thumb-placeholder{
  font-size:9px;line-height:1.4;text-align:center;color:#6b7280;
  padding:3px;overflow-wrap:anywhere;
}
/* A hidden original WebRunner is still connected and running underneath the
   library; opening another account-owned Canvas only swaps native documents. */
.maker-app.maker-source-first-host>.maker-source-first-library-overlay{
  position:absolute;inset:0;z-index:45;overflow-y:auto;
  box-sizing:border-box;min-height:0;height:100%;width:100%;
  background:#fff;color:#1f2933;
}
.maker-app.maker-source-first-host>.maker-source-first-library-overlay[hidden]{
  display:none!important;
}
.maker-source-first-library-overlay .maker-library-header{
  background:#61758a;color:#fff;
}
.maker-source-first-library-overlay .maker-library-header img{
  filter:brightness(0) invert(1);
}
.maker-app.maker-source-first-host .maker-source-first-library-return{
  position:sticky;top:10px;float:right;margin:10px 18px -56px 0;
  z-index:50;min-height:37px;padding:8px 17px;border-radius:7px;
  border:1px solid #d9e2ec;background:#61758a;color:#fff;
  font:700 13px var(--locrian-ui-font);cursor:pointer;
}
.maker-app.maker-source-first-host .maker-source-first-library-return:hover{
  background:#53697f;
}


/* Native VectorCraft stays inside its actual GPU canvas. The separate right
   presentation rail uses the existing authenticated classroom actions. */
.maker-app.maker-source-first-host .maker-source-first-workspace{
  display:grid;grid-template-columns:minmax(0,1fr) 292px;
  flex:1;min-height:0;min-width:0;overflow:hidden;background:#e3eaf5
}
.maker-app.maker-source-first-host .maker-source-first-workspace.is-sidebar-collapsed{
  grid-template-columns:minmax(0,1fr) 48px
}
.maker-app.maker-source-first-host .maker-source-first-workspace .maker-source-first-area{
  min-height:min(78vh,780px);min-width:0;background:#e3eaf5;
}
.maker-app.maker-source-first-host .maker-source-first-presentation{
  min-height:0;min-width:0;overflow-y:auto;
  background:#61758a;color:#fff;border-left:1px solid #53697f;
  font-family:var(--locrian-ui-font)
}
.maker-source-first-presentation-head{
  position:sticky;z-index:2;top:0;display:flex;align-items:center;
  justify-content:space-between;gap:8px;min-height:56px;
  box-sizing:border-box;padding:12px 15px;
  background:#61758a;border-bottom:1px solid #91a7bb;
}
.maker-source-first-presentation-head strong{font-size:15px;font-weight:750}
.maker-app .maker-source-first-presentation-toggle{
  flex:none;min-width:34px;min-height:32px;padding:6px 7px;
  border:1px solid #b8c8d8;border-radius:7px!important;
  background:#53697f;color:#fff;font:650 11px var(--locrian-ui-font);
  cursor:pointer
}
.maker-app .maker-source-first-presentation-toggle:hover,
.maker-app .maker-source-first-presentation-toggle:focus-visible{
  background:#455c73;outline:2px solid #fff;outline-offset:2px
}
.maker-source-first-presentation-content{
  display:flex;flex-direction:column;gap:15px;padding:17px 14px 22px
}
.maker-source-first-presentation-content[hidden]{display:none!important}
.maker-source-first-presentation-hint{
  margin:0;font-size:12px;font-weight:550;line-height:1.65;
  color:#fff;overflow-wrap:anywhere
}
.maker-source-first-presentation-actions{display:grid;gap:8px}
.maker-app .maker-source-first-presentation-action{
  display:block;width:100%;min-height:41px;text-align:left;
  background:#fff;color:#1f2933;border:1px solid #d9e2ec;
  border-radius:8px!important;padding:10px 13px;
  font:650 12px var(--locrian-ui-font);cursor:pointer;
  transition:background-color .15s ease,border-color .15s ease
}
.maker-app .maker-source-first-presentation-action:hover:not(:disabled),
.maker-app .maker-source-first-presentation-action:focus-visible:not(:disabled){
  background:#e3eaf5;border-color:#c4d2e1;outline:none
}
.maker-app .maker-source-first-presentation-action[hidden]{display:none!important}
.maker-app .maker-source-first-presentation-action:disabled{
  opacity:.55;cursor:not-allowed
}
.maker-source-first-workspace.is-sidebar-collapsed .maker-source-first-presentation-head{
  padding:8px 6px;justify-content:center
}
.maker-source-first-workspace.is-sidebar-collapsed .maker-source-first-presentation-head strong{
  display:none
}
/* Reuse the server-populated native room list inside the visible sidebar. */
.maker-app.maker-source-first-host .maker-source-first-presentation
.maker-source-first-classroom-list-menu{
  display:none;position:static;width:100%;box-sizing:border-box;
  padding:0;border:0;background:transparent;box-shadow:none
}
.maker-app.maker-source-first-host .maker-source-first-presentation
.maker-source-first-classroom-list-menu[open]{display:block}
.maker-app.maker-source-first-host .maker-source-first-presentation
.maker-source-first-classroom-list-menu>summary{display:none}
.maker-app.maker-source-first-host .maker-source-first-presentation
.maker-source-first-classroom-list{
  position:static;display:grid;box-sizing:border-box;
  width:100%;min-width:0;max-width:none;max-height:38vh;
  overflow-y:auto;padding:11px;border-radius:8px;
  background:#fff;color:#1f2933;border:1px solid #d9e2ec;
  box-shadow:none
}
@media(max-width:940px){
  .maker-app.maker-source-first-host .maker-source-first-workspace{
    grid-template-columns:minmax(0,1fr) 230px
  }
  .maker-source-first-presentation-content{padding:12px 10px}
}
@media(max-width:640px){
  .maker-app.maker-source-first-host .maker-source-first-workspace{
    grid-template-columns:minmax(0,1fr) 176px
  }
  .maker-app.maker-source-first-host .maker-source-first-workspace.is-sidebar-collapsed{
    grid-template-columns:minmax(0,1fr) 44px
  }
  .maker-source-first-presentation-head{padding:10px 6px}
  .maker-source-first-presentation-head strong{font-size:12px}
  .maker-app .maker-source-first-presentation-action{font-size:11px;padding:9px}
}


/* CLASS-01: top-level classes and separate presentation/assignment views. */
.maker-library-classbar{
  width:100%;max-width:1320px;box-sizing:border-box;margin:auto;
  padding:19px 25px 4px;display:flex;align-items:center;gap:9px;flex-wrap:wrap;
}
.maker-library-class-label{display:flex;align-items:center;gap:12px;
  font-size:13px;font-weight:750;color:#1f2933}
.maker-library-class-label select{
  min-width:200px;max-width:min(56vw,360px);min-height:40px;
  padding:8px 14px;border:1px solid #d9e2ec;border-radius:7px;
  background:#fff;color:#1f2933;font:650 13px var(--locrian-ui-font)
}
.maker-app .maker-library-class-action{
  min-height:39px;padding:8px 13px;border:1px solid #d9e2ec!important;
  border-radius:7px!important;background:#fff!important;color:#1f2933!important;
  font:650 12px var(--locrian-ui-font);cursor:pointer;transform:none!important
}
.maker-app .maker-library-class-action:hover:not(:disabled),
.maker-app .maker-library-class-action:focus-visible:not(:disabled){
  background:#e3eaf5!important;color:#1f2933!important
}
.maker-library-class-action:disabled{opacity:.4;cursor:not-allowed}
.maker-library-intro .maker-library-category,
.maker-source-first-library-overlay .maker-library-category{
  background:#fff0!important;background-image:none!important;
  color:#6b7280!important;-webkit-text-fill-color:currentColor!important;
  text-shadow:none!important;filter:none!important;opacity:1!important;
  mix-blend-mode:normal!important;
}
.maker-library-intro .maker-library-category.is-active,
.maker-source-first-library-overlay .maker-library-category.is-active{
  color:#1f2933!important;-webkit-text-fill-color:#1f2933!important;
}
.maker-library-intro .maker-library-category:is(:hover,:focus-visible):not(.is-active){
  color:#61758a!important;-webkit-text-fill-color:#61758a!important;
}
.maker-library-intro .maker-library-category::before,
.maker-source-first-library-overlay .maker-library-category::before{
  content:none!important;display:none!important;
}
.maker-library-intro :is(.maker-library-presentations,.maker-library-responses)[hidden],
.maker-library-main :is(.maker-library-presentations,.maker-library-responses)[hidden]{
  display:none!important;
}
.maker-library-presentations,.maker-library-responses{padding:28px 0}
.maker-library-class-dialog{
  width:min(460px,calc(100vw - 24px));border:1px solid #d9e2ec;
  border-radius:10px;padding:24px;background:#fff;color:#1f2933;
  box-shadow:0 18px 45px #1f293344
}
.maker-library-class-dialog::backdrop{background:#1f293366}
.maker-library-class-form{display:grid;gap:13px}
.maker-library-class-form h2{margin:0;font-size:20px;font-weight:750}
.maker-library-class-form input{box-sizing:border-box;width:100%;min-height:44px;
  border:1px solid #aebdcb;border-radius:7px;padding:10px 13px;color:#1f2933;
  background:#fff;font:500 14px var(--locrian-ui-font)}
.maker-library-class-error{color:#aa2935;font-size:12px;margin:0;min-height:1em}
.maker-library-class-actions{display:flex;gap:8px;justify-content:flex-end}
.maker-library-class-actions button{padding:9px 19px;border:1px solid #61758a;
  background:#fff;color:#1f2933;border-radius:6px;font-weight:700;cursor:pointer}
.maker-library-class-actions button:last-child{background:#61758a;color:#fff}
.maker-library-class-actions button:hover{filter:brightness(.94)}
/* Clip the role wipe to its SVG panel without the historical -2px bleed. */
.classroom-role-grid{clip-path:inset(0);overflow:clip!important}
.classroom-role-grid::before{inset:0 auto 0 0!important;height:100%!important;
  box-shadow:none!important;border:0!important;outline:0!important}
.classroom-role{overflow:clip;border:0!important;box-shadow:none!important}
.classroom-role-icon{overflow:clip}
.classroom-role-asset--white{mix-blend-mode:normal}
@media(max-width:640px){
  .maker-library-classbar{padding:13px 16px 0;gap:7px}
  .maker-library-class-label{width:100%;justify-content:space-between}
  .maker-library-class-label select{max-width:76vw;min-width:130px}
  .maker-library-intro .maker-library-categories{flex-wrap:wrap;row-gap:6px}
  .maker-library-intro .maker-library-category{font-size:17px!important}
}
@media(prefers-reduced-motion:reduce){
  .classroom-role-grid::before{transition:none!important}
}

/* Read-only responses occupy the full grid row; never crop student work. */
.maker-archive-response-detail{grid-column:1/-1;min-width:0;display:grid;gap:12px;
  padding:14px;background:#f8fafc;border:1px solid #d9e2ec;border-radius:7px}
.maker-archive-response-detail[hidden]{display:none!important}
.maker-archive-response-page{display:flex;flex-wrap:wrap;align-items:flex-start;
  gap:15px;padding-bottom:12px;border-bottom:1px solid #e3eaf5}
.maker-archive-response-page .maker-library-preview{width:120px;height:160px}

/* Host-only layout editor: native egui panels remain inside WebRunner. */
.maker-source-first-bar{position:relative}
.maker-source-first-layout{margin-left:auto;position:relative;flex:none;z-index:25;
  font-family:var(--locrian-ui-font)}
.maker-source-first-layout>summary{cursor:pointer;list-style:none;
  display:inline-flex;align-items:center;gap:8px;padding:7px 13px;
  border:1px solid #d9e2ec;border-radius:6px;color:#1f2933;background:#fff;
  font-size:12px;font-weight:700;user-select:none}
.maker-source-first-layout>summary::-webkit-details-marker{display:none}
.maker-source-first-layout>summary::after{content:"⌄";font-size:15px;line-height:1}
.maker-source-first-layout[open]>summary,
.maker-source-first-layout>summary:hover{background:#e3eaf5;border-color:#61758a}
.maker-source-first-layout>summary:focus-visible{outline:2px solid #61758a;outline-offset:2px}
.maker-source-first-layout-popover{position:absolute;right:0;top:calc(100% + 8px);
  width:min(340px,calc(100vw - 24px));max-height:min(72vh,650px);overflow:auto;
  box-sizing:border-box;padding:16px;background:#fff;color:#1f2933;
  border:1px solid #d9e2ec;border-radius:10px;box-shadow:0 12px 36px #1f29332b}
.maker-source-first-layout-heading{display:block;font-size:12px;font-weight:750;margin:3px 0 9px}
.maker-source-first-layout-hint{font-size:11px;line-height:1.5;color:#6b7280;margin:0 0 12px}
.maker-source-first-layout-presets{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;margin-bottom:14px}
.maker-app .maker-source-first-layout-action{min-height:36px;line-height:1.3;
  padding:8px 10px;border:1px solid #d9e2ec;border-radius:6px!important;
  background:#fff;color:#1f2933;font-size:11px;font-weight:650;text-align:center}
.maker-app .maker-source-first-layout-action:hover:not(:disabled){background:#e3eaf5;border-color:#61758a;color:#1f2933}
.maker-app .maker-source-first-layout-action:disabled{opacity:.45;cursor:default}
.maker-source-first-layout-fields{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:0 0 10px}
.maker-source-first-layout-fields label{display:grid;gap:5px;min-width:0;font-size:11px;font-weight:650}
.maker-app .maker-source-first-layout-fields select{width:100%;min-width:0;min-height:34px;
  padding:6px;border:1px solid #d9e2ec;border-radius:6px!important;
  background:#fff;color:#1f2933;font-size:11px}
.maker-source-first-layout-status{font-size:11px;line-height:1.4;color:#61758a;min-height:1.3em;margin:4px 0 0}
@media(max-width:700px){.maker-source-first-layout{margin-left:0}
  .maker-source-first-layout-popover{right:auto;left:0;max-height:65vh}}

/* Toolbar geometry controls: HTML only configures Rust, never replaces it. */
.maker-source-first-design-presets{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;margin-bottom:12px}
.maker-app .maker-source-first-design-preset{padding:8px 5px;min-height:34px;
  background:#fff;border:1px solid #d9e2ec;border-radius:6px!important;
  color:#1f2933;font-size:11px;font-weight:700}
.maker-app .maker-source-first-design-preset:hover:not(:disabled){background:#e3eaf5;border-color:#61758a}
.maker-app .maker-source-first-design-preset:disabled{opacity:.45;cursor:default}
.maker-source-first-design-fields{display:grid;gap:9px;margin-bottom:10px}
.maker-source-first-design-field{display:grid;gap:4px;font-size:11px;color:#1f2933}
.maker-source-first-design-field span{display:flex;justify-content:space-between;align-items:center;font-weight:650}
.maker-source-first-design-field output{font-variant-numeric:tabular-nums;color:#61758a;font-weight:700}
.maker-source-first-design-field input[type=range]{width:100%;margin:0;accent-color:#61758a}
.maker-source-first-design-status{min-height:1.3em;margin:3px 0 0;font-size:11px;line-height:1.4;color:#61758a}


/* Keep the actual original WebRunner in a sized, connected standby canvas.
   A hidden/display:none canvas would discard GPU dimensions and reinitialize. */
.maker-app.maker-native-library-session{
  position:relative;width:100%;height:100dvh;min-height:100dvh;
  display:block;overflow:hidden;background:#fff;isolation:isolate
}
.maker-app.maker-native-library-session>.maker-native-standby-editor{
  position:absolute;inset:0;z-index:1;min-height:100%;height:100%;
  width:100%;opacity:0;pointer-events:none;visibility:visible
}
.maker-app.maker-native-library-session>.maker-native-standby-library{
  position:absolute;inset:0;z-index:2;min-height:0;height:100%;width:100%;
  display:flex;flex-direction:column;overflow-y:auto;background:#fff;
}
.maker-app.maker-native-library-session>.maker-native-standby-library[hidden]{
  display:none!important
}
.maker-app.maker-native-library-session>.maker-native-standby-editor.is-active{
  opacity:1;z-index:3;pointer-events:auto
}


/* 2026-11-12 Canvas native v0.3: the actual LOCRIAN | CANVAS identity bar
   is white with dark logo and dark links, independent of GPU menu styling. */
.maker-app.maker-source-first-host .maker-source-first-bar{
  background:#fff;color:#1f2933;border-bottom-color:#d9e2ec;
}
.maker-app.maker-source-first-host .maker-source-first-bar a{
  color:#1f2933;
}
.maker-app.maker-source-first-host .maker-source-first-bar
.maker-source-first-title img{
  filter:brightness(0);
}
.maker-app.maker-source-first-host .maker-source-first-bar
.maker-source-first-warning,
.maker-app.maker-source-first-host .maker-source-first-bar
.maker-source-first-voice-status,
.maker-app.maker-source-first-host .maker-source-first-bar
.maker-source-first-share-status{
  color:#475569;font-weight:700;
}

/* Locrian generated screen UI font-size uplift; do not edit. */
@media screen {
.maker-back-link{font-size:calc(12px + 2pt)}
.maker-bar input{font-size:calc(13px + 2pt)}
.maker-bar input{font-weight:550}
.maker-bar button{font-size:calc(11px + 2pt)}
.maker-bar button{font-weight:600}
.maker-status{font-size:calc(10px + 2pt)}
.maker-command-bar .maker-tool,.maker-toolbar-insert,.maker-toolbar-media,.maker-command-bar>#pdf-button,.maker-command-bar>button{font-size:calc(21px + 2pt)}
.maker-command-bar .maker-tool,.maker-toolbar-insert,.maker-toolbar-media,.maker-command-bar>#pdf-button,.maker-command-bar>button{font-weight:400}
.maker-command-bar .maker-toolbar-insert{font-size:calc(18px + 2pt)}
.maker-command-bar .maker-toolbar-insert{font-weight:600}
.maker-command-bar .maker-toolbar-media,.maker-command-bar>button:not(.maker-tool){font-size:calc(11px + 2pt)}
.maker-command-bar .maker-toolbar-media,.maker-command-bar>button:not(.maker-tool){font-weight:650}
.maker-context-title{font-size:calc(12px + 2pt)}
.maker-context-hint{font-size:calc(12px + 2pt)}
.maker-setting-label{font-size:calc(11px + 2pt)}
.maker-input,.maker-context-select,.maker-context-number{font-size:calc(12px + 2pt)}
.maker-format-button,.maker-context-field>.maker-format-button{font-weight:650}
.maker-format-button,.maker-context-field>.maker-format-button{font-size:calc(12px + 2pt)}
.maker-opacity-value{font-size:calc(11px + 2pt)}
.maker-rail-title{font-size:calc(13px + 2pt)}
.maker-rail-title{font-weight:700}
.maker-pages .maker-page-thumb{font-size:calc(11px + 2pt)}
.maker-pages .maker-page-thumb[aria-current=page]{font-weight:650}
.maker-page-actions button{font-size:calc(10px + 2pt)}
.maker-page-actions button:first-child{font-weight:650}
.maker-stage-dock button{font-size:calc(12px + 2pt)}
.maker-zoom-label{font-size:calc(11px + 2pt)}
.maker-side h2{font-size:calc(12px + 2pt)}
.maker-side h2{font-weight:700}
.maker-side p{font-size:calc(11px + 2pt)}
.maker-side button{font-size:calc(11px + 2pt)}
.maker-field{font-size:calc(11px + 2pt)}
.maker-template-desc{font-size:calc(10px + 2pt)}
.maker-cloud-row span{font-size:calc(10px + 2pt)}
.maker-cloud-confirm span{font-size:calc(11px + 2pt)}
.maker-check{font-size:calc(11px + 2pt)}
@media(max-width:520px){.maker-command-bar .maker-tool{font-size:calc(17px + 2pt)}}
@media(max-width:520px){.maker-rail-title{font-size:calc(11px + 2pt)}}
.maker-bar input{font-size:calc(15px + 2pt)}
.maker-bar input{font-weight:700}
.maker-status{font-size:calc(10px + 2pt)}
.maker-bar button.maker-primary{font-size:calc(11px + 2pt)}
.maker-rail-title{font-size:calc(12px + 2pt)}
.maker-rail-title{font-weight:650}
.maker-pages .maker-page-thumb[aria-current=page]{font-weight:650}
.maker-thumb-index{font-size:calc(11px + 2pt)}
.maker-page-actions>button:first-child{font-size:calc(12px + 2pt)}
.maker-page-actions>button:first-child{font-weight:600}
.maker-page-menu-choices button{font-size:calc(11px + 2pt)}
.maker-zoom-label{font-size:calc(10px + 2pt)}
.maker-overview-head{font-size:calc(14px + 2pt)}
.maker-overview-page>span{font-size:calc(11px + 2pt)}
.maker-panel-title{font-size:calc(13px + 2pt)}
@media(max-width:560px){.maker-bar input{font-size:calc(12px + 2pt)}}
@media(max-width:560px){.maker-bar button.maker-primary{font-size:calc(10px + 2pt)}}
@media(max-width:560px){.maker-rail-title{font-size:calc(10px + 2pt)!important}}
@media(max-width:560px){.maker-page-actions>button:first-child{font-size:calc(10px + 2pt)}}
.maker-library-logo{font-size:calc(21px + 2pt)}
.maker-library-logo{font-weight:750}
.maker-library-brand{font-size:calc(11px + 2pt)}
.maker-library-create{font-size:calc(12px + 2pt)}
.maker-library-create{font-weight:650}
.maker-library-intro h1{font-size:calc(29px + 2pt)}
.maker-library-intro h1{font-weight:700}
.maker-library-intro input[type=search]{font-size:calc(13px + 2pt)}
.maker-library-message{font-size:calc(12px + 2pt)}
.maker-library-columns{font-size:calc(11px + 2pt)}
.maker-library-columns{font-weight:700}
.maker-library-open strong{font-size:calc(15px + 2pt)}
.maker-library-open strong{font-weight:700}
.maker-library-open strong small{font-size:calc(11px + 2pt)}
.maker-library-date,.maker-library-pages{font-size:calc(12px + 2pt)}
.maker-library-menu summary{font-size:calc(23px + 2pt)}
.maker-library-confirm p{font-size:calc(12px + 2pt)}
.maker-library-confirm button{font-size:calc(11px + 2pt)}
.maker-library-empty{font-size:calc(14px + 2pt)}
.maker-library-count{font-size:calc(11px + 2pt)}
@media(max-width:750px){.maker-library-intro h1{font-size:calc(23px + 2pt)}}
@media(max-width:750px){.maker-library-open strong{font-size:calc(12px + 2pt)}}
@media(max-width:750px){.maker-library-pages{font-size:calc(10px + 2pt)}}
@media(max-width:480px){.maker-library-logo{font-size:calc(17px + 2pt)}}
@media(max-width:480px){.maker-library-brand{font-size:calc(9px + 2pt)}}
@media(max-width:480px){.maker-library-create{font-size:calc(10px + 2pt)}}
.maker-recovery-banner{font-size:calc(12px + 2pt)}
.maker-recovery-banner button{font-size:calc(11px + 2pt)}
.maker-library-header .maker-library-create{font-size:calc(12px + 2pt)}
.maker-library-header .maker-library-create{font-weight:650}
.maker-library-intro .maker-library-category{font-size:calc(25px + 2pt)}
.maker-library-intro .maker-library-category{font-weight:700}
.maker-library-import{font-size:calc(12px + 2pt)}
.maker-library-menu summary{font-size:calc(19px + 2pt)}
.maker-library-menu summary{font-weight:700}
.maker-library-popup button{font-size:calc(12px + 2pt)}
@media(max-width:750px){.maker-library-date{font-size:calc(10px + 2pt)}}
@media(max-width:750px){.maker-library-intro .maker-library-category{font-size:calc(21px + 2pt)}}
@media(max-width:480px){.maker-library-header .maker-library-create{font-size:calc(10px + 2pt)}}
@media(max-width:480px){.maker-library-open strong{font-size:calc(11px + 2pt)}}
@media(max-width:480px){.maker-library-date{font-size:calc(9px + 2pt)}}
@media(max-width:480px){.maker-library-pages{font-size:calc(9px + 2pt)}}
@media(max-width:480px){.maker-library-intro .maker-library-category{font-size:calc(19px + 2pt)}}
.maker-app .maker-tool-options .maker-text-content{font-size:calc(12px + 2pt)}
.maker-app .maker-tone-chevron{font-size:calc(11px + 2pt)}
.maker-app .maker-tool-tooltip{font-size:calc(11px + 2pt)!important}
.maker-app .maker-tool-tooltip{font-weight:450!important}
.maker-layer-number{font-size:calc(10px + 2pt)}
.maker-layer-entry{font-size:calc(11px + 2pt)}
.maker-layer-controls button{font-size:calc(11px + 2pt)}
.maker-layer-empty{font-size:calc(12px + 2pt)}
.maker-page-context .maker-context-action{font-size:calc(12px + 2pt)}
.maker-page-context .maker-context-layers summary{font-size:calc(12px + 2pt)}
.maker-color-dialog h2{font-size:calc(23px + 2pt)!important}
.maker-color-dialog h2{font-weight:600}
.maker-color-fields :is(input,select){font-size:calc(16px + 2pt)}
.maker-color-channel span{font-size:calc(15px + 2pt)}
.maker-color-palettes h3{font-size:calc(17px + 2pt)}
.maker-color-palettes h3{font-weight:450}
.maker-color-add{font-size:calc(28px + 2pt)}
.maker-color-footer button{font-size:calc(16px + 2pt)}
.maker-layer-group-label{font-size:calc(10px + 2pt)}
.maker-color-comparison-item{font-size:calc(11px + 2pt)}
.classroom-role strong{font-size:calc(30px + 2pt)}
.classroom-role strong{font-weight:750}
.classroom-label{font-size:calc(12px + 2pt)}
.classroom-label{font-weight:670}
.classroom-label input,.classroom-label select,.classroom-label textarea,.classroom-join-form input{font-size:calc(14px + 2pt)}
.classroom-button{font-weight:640}
.classroom-button{font-size:calc(12px + 2pt)}
.classroom-more summary{font-size:calc(19px + 2pt)}
.classroom-heading-row h2,.classroom-subsection-title{font-size:calc(17px + 2pt)}
.classroom-heading-row h2,.classroom-subsection-title{font-weight:740}
.classroom-quiet{font-size:calc(12px + 2pt)}
.classroom-notice{font-size:calc(12px + 2pt)}
.classroom-assignment-open{font-size:calc(14px + 2pt)}
.classroom-assignment-open{font-weight:710}
.classroom-assignment-item small{font-size:calc(10px + 2pt)}
.classroom-assignment-actions .classroom-button{font-size:calc(11px + 2pt)}
.classroom-student-item{font-size:calc(12px + 2pt)}
.classroom-grading h3{font-size:calc(13px + 2pt)}
.classroom-stage-head h2{font-size:calc(14px + 2pt)}
.classroom-stage-head h2{font-weight:690}
.classroom-page-button{font-size:calc(11px + 2pt)}
.classroom-join-panel h1{font-size:calc(30px + 2pt)}
.classroom-join-panel p{font-size:calc(13px + 2pt)}
.classroom-join-form .classroom-button{font-size:calc(14px + 2pt)}
.classroom-student-title{font-size:calc(21px + 2pt)}
.classroom-tool{font-size:calc(12px + 2pt)}
.classroom-text-input{font-size:calc(13px + 2pt)}
.classroom-student-status{font-size:calc(11px + 2pt)}
.classroom-grade-result{font-size:calc(14px + 2pt)}
.classroom-grade-result{font-weight:750}
@media(max-width:800px){.classroom-activity-controls .classroom-button{font-size:calc(10px + 2pt)}}
@media(max-width:620px){.classroom-role strong{font-size:calc(24px + 2pt)}}
.classroom-library-response-row strong{font-size:calc(14px + 2pt)}
.classroom-library-response-row strong{font-weight:700}
.classroom-library-response-row span{font-size:calc(12px + 2pt)}
@media(max-width:480px){.maker-library-header .maker-header-guest .account-actions button{font-size:calc(10px + 2pt)}}
@media(max-width:480px){.maker-library-header .maker-library-create{font-size:calc(10px + 2pt)}}
.classroom-live-tools h1{font-size:calc(20px + 2pt)}
.classroom-live-role{font-size:calc(11px + 2pt)}
.classroom-live-role{font-weight:650}
.classroom-live-code-value{font-size:calc(25px + 2pt)}
.classroom-live-counter{font-size:calc(12px + 2pt)}
.classroom-live-stage-head h2{font-size:calc(14px + 2pt)}
.classroom-live-progress{font-size:calc(12px + 2pt)}
.classroom-live-chat-header h2{font-size:calc(16px + 2pt)}
.classroom-live-message{font-size:calc(13px + 2pt)}
.classroom-live-message-meta{font-size:calc(10px + 2pt)}
.classroom-live-message-meta strong{font-size:calc(12px + 2pt)}
.classroom-live-chat-form input{font-size:calc(12px + 2pt)}
.classroom-student-history h2{font-size:calc(18px + 2pt)}
.classroom-student-history h2{font-weight:650}
.classroom-student-history-info strong{font-size:calc(15px + 2pt)}
.classroom-student-history-info small{font-size:calc(12px + 2pt)}
.classroom-student-history-info p{font-size:calc(13px + 2pt)}
.classroom-live-connection{font-size:calc(11px + 2pt)}
.classroom-live-allow-label{font-size:calc(12px + 2pt)}
.classroom-live-allow-label{font-weight:700}
.classroom-live-teacher-settings .classroom-quiet{font-size:calc(11px + 2pt)}
.classroom-live-tools-note{font-size:calc(11px + 2pt)}
.classroom-live-roster-title{font-size:calc(11px + 2pt)}
.classroom-live-person{font-size:calc(11px + 2pt)}
.classroom-live-people-count{font-size:calc(11px + 2pt)}
.classroom-live-people-count{font-weight:550}
.maker-size-form h2{font-size:calc(21px + 2pt)}
.maker-size-form h2{font-weight:650}
.maker-size-form label{font-size:calc(13px + 2pt)}
.maker-size-form label{font-weight:550}
.maker-size-message{font-size:calc(12px + 2pt)}
.maker-layer-row.is-background-element .maker-layer-entry::after{font-size:calc(10px + 2pt)}
.classroom-create-presentation p{font-size:calc(11px + 2pt)}
.classroom-live-voice-bar .classroom-quiet{font-size:calc(10px + 2pt)}
.classroom-live-speaker{font-size:calc(12px + 2pt)}
.classroom-live-person.is-speaking .classroom-live-speaker{font-weight:650}
.maker-app .maker-font-picker .maker-font-choice{font-size:calc(16px + 2pt)}
.maker-app .maker-color-dialog h2{font-size:calc(17px + 2pt)!important}
.maker-app .maker-color-fields :is(input,select){font-size:calc(12px + 2pt)}
.maker-app .maker-color-channel span{font-size:calc(11px + 2pt)}
.maker-app .maker-color-palettes h3{font-size:calc(12px + 2pt)}
.maker-app .maker-color-add{font-size:calc(19px + 2pt)}
.maker-app .maker-color-footer button{font-size:calc(12px + 2pt)}
.maker-page-background-button{font-size:calc(11px + 2pt)}
@media screen{.maker-app .maker-vector-context-summary strong{font-size:calc(12px + 2pt)}}
@media screen{.maker-app .maker-vector-context-summary strong{font-weight:550}}
@media screen{.maker-app .maker-vector-context-summary span{font-size:calc(11px + 2pt)}}
@media screen{.maker-app .maker-vector-context-action{font-size:calc(11px + 2pt)}}
@media screen{.maker-app .maker-vector-context-action{font-weight:450}}
@media screen{.maker-app .maker-vector-editor-header strong{font-size:calc(15px + 2pt)}}
@media screen{.maker-app .maker-vector-editor-header strong{font-weight:600}}
@media screen{.maker-app .maker-vector-editor-header span{font-size:calc(11px + 2pt)}}
@media screen{.maker-app .maker-vector-tab{font-size:calc(11px + 2pt)}}
@media screen{.maker-app .maker-vector-tab{font-weight:450}}
@media screen{.maker-app .maker-vector-section>h3{font-size:calc(12px + 2pt)}}
@media screen{.maker-app .maker-vector-section>h3{font-weight:600}}
@media screen{.maker-app .maker-vector-section-content button{font-weight:450}}
@media screen{.maker-app .maker-vector-section-content .maker-selection-count{font-size:calc(11px + 2pt)}}
@media screen and (max-width:520px){.maker-app .maker-vector-tab{font-size:calc(10px + 2pt)}}
@media(max-width:760px){.maker-app .maker-native-format-tools button{font-size:calc(11px + 2pt)}}
@media screen{.maker-app.maker-vectorcraft-layout .maker-native-tree-toggle,
  .maker-app.maker-vectorcraft-layout .maker-native-tree-spacer{font-size:calc(14px + 2pt)}}
@media screen{.maker-app.maker-vectorcraft-layout .maker-native-tree-label{font-size:calc(11px + 2pt)}}
@media screen{.maker-app.maker-vectorcraft-layout .maker-native-tree-flags{font-size:calc(9px + 2pt)}}
@media screen{.maker-app.maker-vectorcraft-layout .maker-native-tree-row .maker-layer-entry{font-size:calc(11px + 2pt)}}
@media screen{.maker-app.maker-vectorcraft-layout .maker-native-artboard-action{font-size:calc(11px + 2pt)}}
@media screen{.maker-app.maker-vectorcraft-layout .maker-native-artboard-name{font-size:calc(11px + 2pt)}}
@media screen{.maker-app.maker-vectorcraft-layout .maker-native-artboard-entry{font-size:calc(11px + 2pt)}}
@media screen{.maker-app.maker-vectorcraft-layout .maker-native-artboard-index,
  .maker-app.maker-vectorcraft-layout .maker-native-artboard-lock{font-size:calc(9px + 2pt)}}
@media screen{.maker-app.maker-vectorcraft-layout .maker-native-artboard-note{font-size:calc(10px + 2pt)}}
@media screen{.maker-app.maker-vectorcraft-layout .maker-native-node-state{font-size:calc(10px + 2pt)}}
@media screen{.maker-app.maker-vectorcraft-layout .maker-native-node-state{font-weight:450}}
@media screen{.maker-app.maker-vectorcraft-layout .maker-native-layer-summary{font-size:calc(12px + 2pt)}}
@media screen{.maker-app.maker-vectorcraft-layout .maker-native-layer-note{font-size:calc(10px + 2pt)}}
@media screen{.maker-app.maker-vectorcraft-layout .maker-native-layer-lock{font-size:calc(10px + 2pt)}}
@media screen{.maker-app.maker-vectorcraft-layout .maker-native-layer-open{font-size:calc(10px + 2pt)}}
@media screen{.maker-app.maker-vectorcraft-layout .maker-rail-title{font-size:calc(12px + 2pt)}}
@media screen{.maker-app.maker-vectorcraft-layout .maker-rail-title{font-weight:550}}
@media screen{.maker-app.maker-vectorcraft-layout .maker-zoom-label{font-size:calc(11px + 2pt)}}
@media screen and (max-width:760px){.maker-app.maker-vectorcraft-layout .maker-rail-title{font-size:calc(10px + 2pt)}}
.maker-source-first-bar{font-size:calc(13px + 2pt)}
.maker-source-first-title{font-weight:600}
.maker-source-first-loading{font-size:calc(14px + 2pt)}
.maker-source-first-cloud-status{font-size:calc(11px + 2pt)}
.maker-source-first-cloud-dialog-head h2{font-size:calc(16px + 2pt)}
.maker-source-first-cloud-dialog-head h2{font-weight:600}
.maker-source-first-voice-status{font-size:calc(12px + 2pt)}
.maker-source-first-share-status{font-size:calc(12px + 2pt)}
.maker-app .maker-source-first-workspace-tab{font-size:calc(12px + 2pt)}
.maker-app .maker-source-first-workspace-tab{font-weight:500}
.maker-source-first-template-panel h2{font-size:calc(18px + 2pt)}
.maker-source-first-template-panel h2{font-weight:600}
.maker-source-first-template-panel p{font-size:calc(12px + 2pt)}
.maker-app .maker-source-first-template-choice strong{font-size:calc(13px + 2pt)}
.maker-app .maker-source-first-template-choice strong{font-weight:550}
.maker-app .maker-source-first-template-choice span{font-size:calc(11px + 2pt)}
.maker-source-first-template-panel .maker-source-first-template-status{font-size:calc(12px + 2pt)}
.maker-source-first-brand-divider{font-size:calc(23px + 2pt)}
.maker-source-first-brand-word{font-size:calc(14px + 2pt)}
.maker-source-first-brand-word{font-weight:630}
.maker-source-first-brand-caption{font-size:calc(14px + 2pt)}
.maker-source-first-brand-caption{font-weight:600}
.maker-source-first-toolbox-title{font-size:calc(12px + 2pt)}
.maker-source-first-toolbox-menu>summary{font-weight:500}
.maker-source-first-toolbox-menu>summary{font-size:calc(12px + 2pt)}
.maker-app .maker-source-first-toolbox-actions .maker-source-first-button,
.maker-app .maker-source-first-toolbox-cloud .maker-source-first-button,
.maker-app .maker-source-first-toolbox-toggle{font-size:calc(12px + 2pt)}
.maker-app .maker-source-first-toolbox-actions .maker-source-first-button,
.maker-app .maker-source-first-toolbox-cloud .maker-source-first-button,
.maker-app .maker-source-first-toolbox-toggle{font-weight:500}
.maker-app .maker-source-first-template-close{font-size:calc(12px + 2pt)}
.maker-source-first-prefs-status{font-size:calc(11px + 2pt)}
.maker-source-first-loading-state{font-size:calc(clamp(12px,1.6vw,15px) + 2pt)}
.maker-source-first-loading-state{font-weight:450}
.maker-source-first-loading-measured{font-size:calc(clamp(10px,1.2vw,12px) + 2pt)}
.maker-source-first-toolbox-classrooms .maker-source-first-share-status{font-size:calc(12px + 2pt)}
.maker-source-first-classroom-row{font-size:calc(12px + 2pt)}
.maker-app .maker-source-first-classroom-row .maker-source-first-button{font-size:calc(12px + 2pt)}
.maker-app.maker-source-first-host .maker-source-first-toolbox-menu>summary,
.maker-app.maker-source-first-host .maker-source-first-toolbox-cloud .maker-source-first-button,
.maker-app.maker-source-first-host .maker-source-first-toolbox-toggle{font-size:calc(13px + 2pt)}
.maker-app.maker-source-first-host .maker-source-first-toolbox-menu>summary,
.maker-app.maker-source-first-host .maker-source-first-toolbox-cloud .maker-source-first-button,
.maker-app.maker-source-first-host .maker-source-first-toolbox-toggle{font-weight:650}
.maker-app.maker-source-first-host .maker-source-first-toolbox-actions .maker-source-first-button{font-size:calc(13px + 2pt)}
.maker-app.maker-source-first-host .maker-source-first-toolbox-actions .maker-source-first-button{font-weight:600}
.maker-app.maker-source-first-host .maker-source-first-workspace-tab{font-size:calc(14px + 2pt)}
.maker-app.maker-source-first-host .maker-source-first-workspace-tab{font-weight:650}
.maker-app.maker-source-first-host .maker-source-first-entry-gate h2{font-size:calc(clamp(19px,2.2vw,27px) + 2pt)}
.maker-app.maker-source-first-host .maker-source-first-entry-gate h2{font-weight:700}
.maker-app.maker-source-first-host .maker-source-first-entry-gate p{font-size:calc(14px + 2pt)}
.maker-app.maker-source-first-host .maker-source-first-entry-gate a{font-weight:650}
.maker-app.maker-source-first-host .maker-source-first-entry-gate a{font-size:calc(14px + 2pt)}
@media(max-width:820px){.maker-app.maker-source-first-host .maker-source-first-toolbox-menu>summary,
  .maker-app.maker-source-first-host .maker-source-first-toolbox-cloud .maker-source-first-button,
  .maker-app.maker-source-first-host .maker-source-first-toolbox-toggle{font-size:calc(12px + 2pt)}}
.classroom-legacy-readonly{font-size:calc(12px + 2pt)}
.classroom-legacy-readonly{font-weight:450}
.maker-app.maker-source-first-host .maker-source-first-bar
.maker-source-first-warning,
.maker-app.maker-source-first-host .maker-source-first-bar
.maker-source-first-voice-status,
.maker-app.maker-source-first-host .maker-source-first-bar
.maker-source-first-share-status{font-weight:600}
.maker-app.maker-source-first-host .maker-source-first-workspace-tab{font-weight:700}
.maker-library-thumb-placeholder{font-size:calc(9px + 2pt)}
.maker-source-first-presentation-head strong{font-size:calc(15px + 2pt)}
.maker-source-first-presentation-head strong{font-weight:700}
.maker-source-first-presentation-hint{font-size:calc(12px + 2pt)}
.maker-source-first-presentation-hint{font-weight:500}
@media(max-width:640px){.maker-source-first-presentation-head strong{font-size:calc(12px + 2pt)}}
@media(max-width:640px){.maker-app .maker-source-first-presentation-action{font-size:calc(11px + 2pt)}}
.maker-library-class-label{font-size:calc(13px + 2pt)}
.maker-library-class-label{font-weight:700}
.maker-library-class-form h2{font-size:calc(20px + 2pt)}
.maker-library-class-form h2{font-weight:700}
.maker-library-class-error{font-size:calc(12px + 2pt)}
.maker-library-class-actions button{font-weight:650}
@media(max-width:640px){.maker-library-intro .maker-library-category{font-size:calc(17px + 2pt)!important}}
.maker-source-first-layout>summary{font-size:calc(12px + 2pt)}
.maker-source-first-layout>summary{font-weight:650}
.maker-source-first-layout>summary::after{font-size:calc(15px + 2pt)}
.maker-source-first-layout-heading{font-size:calc(12px + 2pt)}
.maker-source-first-layout-heading{font-weight:700}
.maker-source-first-layout-hint{font-size:calc(11px + 2pt)}
.maker-app .maker-source-first-layout-action{font-size:calc(11px + 2pt)}
.maker-app .maker-source-first-layout-action{font-weight:600}
.maker-source-first-layout-fields label{font-size:calc(11px + 2pt)}
.maker-source-first-layout-fields label{font-weight:600}
.maker-app .maker-source-first-layout-fields select{font-size:calc(11px + 2pt)}
.maker-source-first-layout-status{font-size:calc(11px + 2pt)}
.maker-app .maker-source-first-design-preset{font-size:calc(11px + 2pt)}
.maker-app .maker-source-first-design-preset{font-weight:650}
.maker-source-first-design-field{font-size:calc(11px + 2pt)}
.maker-source-first-design-field span{font-weight:600}
.maker-source-first-design-field output{font-weight:650}
.maker-source-first-design-status{font-size:calc(11px + 2pt)}
.maker-app.maker-source-first-host .maker-source-first-bar
.maker-source-first-warning,
.maker-app.maker-source-first-host .maker-source-first-bar
.maker-source-first-voice-status,
.maker-app.maker-source-first-host .maker-source-first-bar
.maker-source-first-share-status{font-weight:650}
}
