@font-face{font-family:interfaceFont;src:url(../media/comic_mono_regular-s.p.1dd-5lxmg_jmc.ttf)format("truetype");font-display:swap;font-weight:400;font-style:normal}@font-face{font-family:interfaceFont Fallback;src:local(Arial);ascent-override:66.65%;descent-override:26.58%;line-gap-override:0.0%;size-adjust:119.42%}.interfacefont_8921b940-module__4We9Qa__className{font-family:interfaceFont,interfaceFont Fallback,ui-monospace,SFMono-Regular,Consolas,monospace;font-style:normal;font-weight:400}.interfacefont_8921b940-module__4We9Qa__variable{--font-ui:"interfaceFont", "interfaceFont Fallback", ui-monospace, SFMono-Regular, Consolas, monospace}
@font-face{font-family:Comic Mono;src:url(/fonts/comic-mono-regular.ttf)format("truetype");font-weight:400;font-style:normal;font-display:swap}:root{--page:#f7f7f5;--canvas:#f7f7f5;--surface:#ffffffe0;--surface-solid:#fff;--surface-muted:#eeeeeb;--surface-soft:#f1f1ee;--ink:#1d1d1f;--ink-soft:#555559;--muted:#74746f;--faint:#9a9a96;--accent:#d1aa05;--accent-ink:#211b00;--color-2:#111;--danger:#a63f3f;--shadow-soft:0 10px 30px #19191914;--shadow-menu:0 18px 50px #19191921;--font-mono:"SFMono-Regular", Consolas, "Liberation Mono", monospace;color:var(--ink);background:var(--page);font-family:var(--font-ui);font-synthesis:none;text-rendering:optimizelegibility}html[data-theme=dark]{--page:#151619;--canvas:#1a1b1e;--surface:#27282ce0;--surface-solid:#27282c;--surface-muted:#34353a;--surface-soft:#303136;--ink:#f2f2ef;--ink-soft:#c1c1bc;--muted:#a4a49e;--faint:#777873;--accent:#d1aa05;--accent-ink:#211b00;--danger:#ff9b9b;--shadow-soft:0 12px 34px #00000047;--shadow-menu:0 22px 60px #0000006b}@media (prefers-color-scheme:dark){html:not([data-theme]){--page:#151619;--canvas:#1a1b1e;--surface:#27282ce0;--surface-solid:#27282c;--surface-muted:#34353a;--surface-soft:#303136;--ink:#f2f2ef;--ink-soft:#c1c1bc;--muted:#a4a49e;--faint:#777873;--accent:#d1aa05;--accent-ink:#211b00;--danger:#ff9b9b;--shadow-soft:0 12px 34px #00000047;--shadow-menu:0 22px 60px #0000006b}}*{box-sizing:border-box;font-weight:400!important}:before,:after{font-weight:400!important}html{background:var(--page);scroll-behavior:smooth;min-width:320px}body{min-height:100svh;color:var(--ink);background:var(--page);margin:0}a{color:inherit;text-decoration:none}button,input,textarea,select{font:inherit}button{border:0}button:focus-visible,input:focus-visible,a:focus-visible{outline:3px solid color-mix(in srgb, var(--accent) 28%, transparent);outline-offset:3px}.brand-dot,.brand-mark{background:var(--accent);border-radius:50%;width:9px;height:9px}.primary-action:active{transform:scale(.98)}.primary-action{min-height:50px;color:var(--page);background:var(--ink);border-radius:15px;justify-content:center;align-items:center;padding:0 21px;font-size:14px;font-weight:650;transition:transform .14s,opacity .14s;display:inline-flex;box-shadow:0 14px 30px #19191924}.primary-action:hover{opacity:.86}.editor-shell{--control-bar-size:42px;background:var(--canvas);position:fixed;inset:0;overflow:hidden}#canvas{background:var(--canvas);touch-action:none;-webkit-user-select:none;user-select:none;width:100%;height:100%;display:block;position:absolute;inset:0}.topbar{z-index:20;pointer-events:none;justify-content:space-between;align-items:center;display:flex;position:fixed;top:18px;left:20px;right:20px}.document-chip,.actions,.toolbar-shell,.zoom-control{pointer-events:auto;background:var(--surface);box-shadow:var(--shadow-soft);-webkit-backdrop-filter:blur(18px)}.document-chip{min-width:0;height:var(--control-bar-size);border-radius:14px;align-items:center;padding:4px 10px;display:flex}.document-name-wrap{min-width:0;padding-right:2px;display:grid}.home-mark{border-radius:9px;flex:none;place-items:center;width:28px;height:32px;display:grid}.home-mark:hover{background:var(--surface-muted)}.document-title{width:min(220px,25vw);min-width:90px;height:20px;color:var(--ink);letter-spacing:-.015em;text-overflow:ellipsis;background:0 0;border:0;border-radius:9px;outline:0;padding:0 7px;font-size:13px;font-weight:630}.document-title:hover,.document-title:focus{background:var(--surface-muted)}.actions{min-height:var(--control-bar-size);border-radius:14px;gap:4px;padding:4px;display:flex}.icon-button,.tool-button,.zoom-control button,.fill-toggle,.auto-ink{color:var(--ink-soft);cursor:pointer;background:0 0;place-items:center;padding:0;transition:background .12s,color .12s,transform .12s;display:grid}.icon-button{border-radius:10px;width:34px;height:34px}.icon-button:hover:not(:disabled),.icon-button.active,.zoom-control button:hover,.fill-toggle:hover:not(:disabled),.auto-ink:hover:not(:disabled){color:var(--ink);background:var(--surface-muted)}.icon-button:active:not(:disabled),.tool-button:active,.zoom-control button:active,.fill-toggle:active:not(:disabled),.auto-ink:active:not(:disabled){transform:scale(.94)}.icon-button:disabled,.menu-item:disabled,.switch:disabled,.fill-toggle:disabled,.auto-ink:disabled,.color-trigger:disabled,.saved-color-bar button:disabled,.fill-color-bar button:disabled{opacity:.3;cursor:default}.editor-shell svg,.canvas-text-editor+svg{fill:none;stroke:currentColor;stroke-width:1.7px;stroke-linecap:round;stroke-linejoin:round;width:19px;height:19px;overflow:visible}.editor-shell svg circle[r="1"]{fill:currentColor;stroke:none}.menu-wrap{position:relative}.menu-list{display:grid}.menu-item{width:100%;min-height:38px;color:var(--ink-soft);cursor:pointer;text-align:left;background:0 0;border-radius:9px;align-items:center;gap:10px;padding:0 10px;font-size:13px;display:flex}.menu-item:hover:not(:disabled){color:var(--ink);background:var(--surface-muted)}.menu-item svg{width:17px;height:17px}.menu-item.danger{color:var(--danger)}.menu-separator{background:color-mix(in srgb, var(--ink) 9%, transparent);height:1px;margin:5px 8px}.preference-section{padding:10px}.preference-section+.preference-section{box-shadow:inset 0 1px color-mix(in srgb, var(--ink) 8%, transparent);margin-top:2px}.preference-heading,.preference-row,.range-row{align-items:center;display:flex}.preference-heading{min-height:24px;color:var(--ink);justify-content:space-between;margin-bottom:8px;font-size:12px;font-weight:680}.preference-heading small,.preference-row small{color:var(--faint);font-size:11px;font-weight:500}.preference-row{justify-content:space-between;gap:18px;min-height:48px}.preference-row>div{color:var(--ink-soft);gap:3px;font-size:13px;display:grid}.segmented-control{background:var(--surface-soft);border-radius:11px;grid-template-columns:repeat(3,1fr);gap:2px;padding:3px;display:grid}.segmented-control button{min-height:31px;color:var(--muted);cursor:pointer;background:0 0;border-radius:8px;font-size:12px;font-weight:620}.segmented-control button.active{color:var(--ink);background:var(--surface-solid);box-shadow:0 4px 14px #00000014}.switch{background:color-mix(in srgb, var(--ink) 16%, transparent);cursor:pointer;border-radius:999px;flex:none;width:34px;height:20px;padding:2px;transition:background .14s;position:relative}.switch span{background:var(--surface-solid);border-radius:50%;width:16px;height:16px;transition:transform .14s;display:block;box-shadow:0 2px 7px #0000002e}.switch.on{background:var(--accent)}.switch.on span{transform:translate(14px)}.range-row{min-height:42px;color:var(--ink-soft);grid-template-columns:88px minmax(0,1fr) 42px;gap:10px;font-size:12px;display:grid}.range-row.prominent{min-height:52px}.range-row input{width:100%;accent-color:var(--accent)}.range-row output{color:var(--faint);font-variant-numeric:tabular-nums;text-align:right}.layer-actions{grid-template-columns:repeat(4,1fr);gap:4px;display:grid}.layer-actions button{min-height:32px;color:var(--ink-soft);background:var(--surface-soft);cursor:pointer;border-radius:8px;font-size:11px;font-weight:620}.layer-actions button:hover{color:var(--ink);background:var(--surface-muted)}.toolbar-shell{z-index:15;min-height:var(--control-bar-size);border-radius:16px;align-items:center;gap:10px;max-width:calc(100vw - 32px);padding:2px;display:flex;position:fixed;bottom:22px;left:50%;transform:translate(-50%)}.tool-group,.style-group,.fill-controls{align-items:center;display:flex}.tool-group{gap:2px}.tool-button{isolation:isolate;border-radius:11px;flex:none;width:38px;height:38px;position:relative}.tool-button:before{z-index:0;content:"";pointer-events:none;background:0 0;border-radius:10px;transition:background .12s;position:absolute;inset:2px}.tool-button>svg{z-index:1;position:relative}.tool-button:hover{color:var(--ink);background:0 0}.tool-button:hover:before{background:var(--surface-muted)}.tool-button.active,.tool-button.active:hover{color:var(--page);background:0 0}.tool-button.active:before,.tool-button.active:hover:before{background:var(--ink)}.style-group{gap:5px;padding-left:4px}.auto-ink{border-radius:8px;width:25px;height:30px;font-size:11px;font-weight:720}.fill-controls{gap:2px;margin-left:2px}.fill-toggle{border-radius:9px;width:34px;height:34px}.fill-toggle.active{color:var(--accent);background:color-mix(in srgb, var(--accent) 13%, transparent)}.zoom-control{z-index:15;height:var(--control-bar-size);border-radius:13px;align-items:center;gap:2px;padding:5px;display:flex;position:fixed;bottom:22px;left:auto;right:20px}.zoom-control button{border-radius:9px;width:32px;height:32px}.zoom-control button:nth-child(2){width:54px;color:var(--ink-soft);font-variant-numeric:tabular-nums;font-size:12px;font-weight:600}.canvas-hint{z-index:8;color:var(--faint);pointer-events:none;font-size:11px;font-weight:580;position:fixed;bottom:25px;right:20px}.empty-state{z-index:2;color:var(--faint);pointer-events:none;flex-direction:column;align-items:center;gap:7px;transition:opacity .18s;display:flex;position:fixed;top:50%;left:50%;transform:translate(-50%,-50%)}.empty-state span{color:var(--muted);font-size:14px;font-weight:600}.empty-state small{font-size:12px}.empty-state.hidden{opacity:0}.toast{z-index:50;color:var(--page);background:var(--ink);box-shadow:var(--shadow-menu);opacity:0;pointer-events:none;border-radius:10px;padding:9px 13px;font-size:12px;font-weight:600;transition:opacity .14s,transform .14s;position:fixed;top:22px;left:50%;transform:translate(-50%,-8px)}.toast.visible{opacity:1;transform:translate(-50%)}.canvas-text-editor{z-index:60;resize:none;min-height:42px;color:var(--ink);background:color-mix(in srgb, var(--surface-solid) 96%, transparent);box-shadow:var(--shadow-menu);border:0;border-radius:9px;outline:0;padding:7px 9px;line-height:1.25;position:fixed;overflow:hidden}.modal-heading{justify-content:space-between;align-items:flex-start;gap:20px;margin-bottom:22px;display:flex}.modal-kicker{color:var(--faint);letter-spacing:.04em;text-transform:uppercase;font-size:11px;font-weight:650}.modal-heading h2{letter-spacing:-.035em;margin:4px 0 0;font-size:24px}.shortcut-grid{grid-template-columns:1fr 1fr;gap:6px 20px;display:grid}.shortcut-grid>div{min-height:38px;color:var(--muted);justify-content:space-between;align-items:center;gap:14px;font-size:12px;display:flex}kbd{color:var(--ink-soft);background:var(--surface-soft);white-space:nowrap;border-radius:7px;padding:5px 7px;font-family:inherit;font-size:11px;font-weight:650}@media (max-width:820px){.toolbar-shell{scrollbar-width:none;justify-content:flex-start;max-width:none;left:16px;right:16px;overflow-x:auto;transform:none}.toolbar-shell::-webkit-scrollbar{display:none}.zoom-control,.canvas-hint,.empty-state small{display:none}}@media (max-width:560px){.topbar{top:12px;left:12px;right:12px}.document-chip{padding:3px 5px 3px 8px}.document-title{width:min(150px,31vw)}.actions>.icon-button:nth-child(2){display:none}.icon-button{width:34px;height:34px}.toolbar-shell{bottom:12px;left:12px;right:12px}.shortcut-grid{grid-template-columns:1fr}}@media (prefers-reduced-motion:reduce){*,:before,:after{scroll-behavior:auto!important;transition-duration:.001ms!important}}.not-found{align-content:center;place-items:start;width:min(720px,100% - 40px);min-height:100svh;margin:0 auto;display:grid}.not-found h1{letter-spacing:-.065em;margin:0;font-size:clamp(48px,9vw,92px)}.not-found p{max-width:480px;color:var(--muted);line-height:1.6}.sync-status{min-height:12px;color:var(--faint);align-items:center;gap:4px;padding-left:7px;font-size:9px;font-weight:620;line-height:1;display:flex}.sync-status svg{width:11px;height:11px}.sync-status.error{color:var(--danger)}.sync-status.saving,.sync-status.loading{color:var(--muted)}.toolbar-divider{background:color-mix(in srgb, var(--ink) 9%, transparent);width:1px;height:24px}.saved-color-bar,.fill-color-bar{align-items:center;gap:3px;display:flex}.saved-color-bar button,.fill-color-bar button,.preset-colors button,.saved-color-edit{cursor:pointer;border-radius:50%;width:18px;height:18px;padding:0;transition:transform .12s;box-shadow:inset 0 0 0 1.5px #ffffff7a,0 0 0 1px #14141414}.saved-color-bar button:hover:not(:disabled),.fill-color-bar button:hover:not(:disabled),.preset-colors button:hover,.saved-color-edit:hover{transform:scale(1.12)}.color-picker-root{flex:none;position:relative}.color-trigger{cursor:pointer;background:0 0;border-radius:10px;place-items:center;width:34px;height:38px;padding:0;display:grid}.color-trigger.compact{width:31px;height:31px}.color-trigger:hover:not(:disabled),.color-trigger[aria-expanded=true]{background:var(--surface-muted)}.color-trigger>span{border-radius:50%;width:18px;height:18px;box-shadow:inset 0 0 0 2px #fff9,0 0 0 1px #1414141f}.color-trigger.compact>span{width:16px;height:16px}.saturation-field{cursor:crosshair;touch-action:none;background-image:linear-gradient(#0000,#000),linear-gradient(90deg,#fff,#0000);border-radius:12px;height:150px;position:relative;overflow:hidden}.saturation-thumb{border:2px solid #fff;border-radius:50%;width:14px;height:14px;position:absolute;transform:translate(-50%,-50%);box-shadow:0 1px 5px #00000059}.hue-slider{cursor:pointer;touch-action:none;background:linear-gradient(90deg,red,#ff0,#0f0,#0ff,#00f,#f0f,red);border-radius:999px;height:15px;margin:10px 2px;position:relative}.hue-thumb{border:2px solid #fff;border-radius:50%;width:14px;height:14px;position:absolute;top:50%;transform:translate(-50%,-50%);box-shadow:0 1px 5px #00000059}.color-value-row{grid-template-columns:28px minmax(0,1fr) 32px;align-items:center;gap:7px;display:grid}.color-preview{border-radius:9px;width:27px;height:27px;box-shadow:inset 0 0 0 1px #14141414}.color-value-row label{background:var(--surface-soft);height:33px;color:var(--faint);border-radius:9px;align-items:center;padding:0 9px;font-size:12px;display:flex}.color-value-row input{width:100%;color:var(--ink);font-family:var(--font-mono);text-transform:uppercase;background:0 0;border:0;outline:0;font-size:12px}.save-color-button{width:32px;height:32px;color:var(--ink-soft);background:var(--surface-soft);cursor:pointer;border-radius:9px;place-items:center;padding:0;display:grid}.save-color-button:hover{color:var(--ink);background:var(--surface-muted)}.save-color-button svg{width:16px;height:16px}.preset-colors{justify-content:space-between;padding-top:11px;display:flex}.preset-colors button.active{box-shadow:0 0 0 2px var(--surface-solid), 0 0 0 4px var(--accent)}.saved-colors-panel{box-shadow:inset 0 1px color-mix(in srgb, var(--ink) 8%, transparent);margin-top:11px;padding-top:10px}.saved-colors-panel>span{color:var(--faint);text-transform:uppercase;letter-spacing:.05em;margin-bottom:8px;font-size:10px;font-weight:650;display:block}.saved-colors-panel>div{flex-wrap:wrap;gap:6px;display:flex}.custom-slider{cursor:pointer;touch-action:none;height:22px;position:relative}.custom-slider-track,.custom-slider-fill{border-radius:999px;height:3px;position:absolute;top:50%;left:0;transform:translateY(-50%)}.custom-slider-track{background:color-mix(in srgb, var(--ink) 13%, transparent);width:100%}.custom-slider-fill{background:var(--accent)}.custom-slider-thumb{background:var(--surface-solid);width:14px;height:14px;box-shadow:0 1px 5px #0000003d, 0 0 0 1px color-mix(in srgb, var(--ink) 8%, transparent);border-radius:50%;position:absolute;top:50%;transform:translate(-50%,-50%)}.custom-slider:focus-visible{outline:3px solid color-mix(in srgb, var(--accent) 25%, transparent);outline-offset:3px;border-radius:8px}.custom-range-row{grid-template-columns:76px minmax(90px,1fr) 48px;margin-top:3px}.style-trigger{height:34px;color:var(--ink-soft);background:var(--surface-soft);cursor:pointer;border-radius:10px;align-items:center;gap:6px;padding:0 8px;display:flex}.style-trigger>span{background:currentColor;border-radius:99px;width:14px;min-height:1px;max-height:6px}.style-trigger svg{width:15px;height:15px}.style-trigger:hover,.style-trigger.active{color:var(--ink);background:var(--surface-muted)}.panel-content .segmented-control{margin-bottom:8px}.style-section{box-shadow:inset 0 1px color-mix(in srgb, var(--ink) 8%, transparent);margin-top:12px;padding-top:11px}.style-color-row{min-height:38px;color:var(--ink-soft);justify-content:space-between;align-items:center;font-size:12px;display:flex}.text-style-section .segmented-control{margin-top:7px}.preference-subrow{min-height:46px;color:var(--ink-soft);justify-content:space-between;align-items:center;font-size:13px;display:flex}.preference-subrow select{min-width:122px;height:32px;color:var(--ink);background:var(--surface-soft);cursor:pointer;border:0;border-radius:9px;outline:0;padding:0 28px 0 10px}.canvas-color-actions{align-items:center;gap:4px;display:flex}.auto-canvas{height:30px;color:var(--muted);background:var(--surface-soft);cursor:pointer;border-radius:8px;padding:0 9px;font-size:11px;font-weight:620}.auto-canvas.active{color:var(--accent-ink);background:var(--accent)}.format-grid{grid-template-columns:repeat(5,1fr);gap:6px;display:grid}.format-grid button{min-height:70px;color:var(--muted);background:var(--surface-soft);cursor:pointer;text-align:left;border-radius:12px;gap:4px;padding:11px 8px;display:grid}.format-grid button strong{color:var(--ink-soft);font-size:13px}.format-grid button span{font-size:10px;line-height:1.3}.format-grid button.active{color:var(--ink-soft);background:color-mix(in srgb, var(--accent) 13%, var(--surface-soft));box-shadow:inset 0 0 0 1px color-mix(in srgb, var(--accent) 35%, transparent)}.format-grid button.active strong{color:var(--accent)}.export-options{background:var(--surface-soft);border-radius:14px;margin-top:16px;padding:4px 12px}.export-option-row{justify-content:space-between;align-items:center;gap:20px;min-height:54px;display:flex}.export-option-row+.export-option-row,.export-options>.range-row+.export-option-row{box-shadow:inset 0 1px color-mix(in srgb, var(--ink) 7%, transparent)}.export-option-row>div{color:var(--ink-soft);gap:3px;font-size:13px;display:grid}.export-option-row small{color:var(--faint);font-size:10px}.export-options .custom-range-row{grid-template-columns:76px minmax(120px,1fr) 54px;min-height:49px}.export-options .segmented-control{min-width:180px}.project-export-note{color:var(--muted);background:var(--surface-soft);border-radius:13px;margin:18px 0 0;padding:15px;font-size:12px;line-height:1.55}.project-export-note code{color:var(--ink)}.export-submit{width:100%;min-height:46px;color:var(--accent-ink);background:var(--accent);cursor:pointer;border-radius:13px;justify-content:center;align-items:center;gap:8px;margin-top:16px;font-size:13px;font-weight:680;display:flex}.export-submit svg{width:17px;height:17px}.canvas-text-editor{z-index:70;outline:2px solid var(--accent);resize:none;background:color-mix(in srgb, var(--surface-solid) 92%, transparent);white-space:pre-wrap;border:0;border-radius:8px;min-width:120px;min-height:42px;padding:7px 9px;position:fixed;overflow:hidden;box-shadow:0 8px 28px #0000001f}@media (max-width:820px){.format-grid{grid-template-columns:repeat(3,1fr)}}@media (max-width:620px){.topbar{top:10px;left:10px;right:10px}.document-chip{max-width:54vw}.document-title{width:34vw}.sync-status{display:none}.toolbar-shell{gap:5px;bottom:12px}.tool-button{width:36px}.saved-color-bar,.fill-color-bar,.toolbar-divider{display:none}.zoom-control{left:auto;right:10px;bottom:calc(var(--control-bar-size) + 24px)}.format-grid{grid-template-columns:repeat(2,1fr)}.export-option-row{flex-direction:column;align-items:flex-start;gap:8px;padding:10px 0}.export-options .segmented-control{width:100%}.shortcut-grid{grid-template-columns:1fr}}.confirm-icon{width:42px;height:42px;color:var(--ink-soft);background:var(--surface-muted);border-radius:14px;place-items:center;margin:0 auto 14px;display:grid}.confirm-icon svg{width:19px;height:19px}.confirm-content{text-align:center}.confirm-content h2{letter-spacing:-.03em;margin:0;font-size:20px}.confirm-content p{max-width:310px;color:var(--ink-soft);margin:9px auto 22px;font-size:13px;line-height:1.55}.confirm-actions{grid-template-columns:1fr 1fr;gap:8px;display:grid}.confirm-actions button{min-height:42px;color:var(--ink);background:var(--surface-muted);cursor:pointer;border-radius:12px;font-size:13px;font-weight:670}.confirm-actions button.primary{color:var(--accent-ink);background:var(--accent)}.confirm-actions button.danger{color:#fff;background:#d94747}.saved-color-item{place-items:center;display:inline-grid;position:relative}.saved-color-remove{width:16px;height:16px;color:var(--ink);background:var(--surface-solid);cursor:pointer;opacity:0;border-radius:999px;place-items:center;font-size:12px;line-height:1;transition:opacity .12s,transform .12s;display:grid;position:absolute;top:-6px;right:-6px;transform:scale(.85);box-shadow:0 2px 8px #00000029}.saved-color-item:hover .saved-color-remove,.saved-color-remove:focus-visible{opacity:1;transform:scale(1)}.select-menu-root{min-width:150px;position:relative}.select-menu-trigger{width:100%;min-height:34px;color:var(--ink);background:var(--surface-muted);cursor:pointer;text-align:left;border-radius:10px;justify-content:space-between;align-items:center;gap:12px;padding:0 10px 0 12px;font-size:12px;font-weight:650;display:flex}.select-menu-trigger svg{width:15px;height:15px;transition:transform .14s}.select-menu-trigger.open svg{transform:rotate(180deg)}.select-menu-list>button{width:100%;min-height:44px;color:var(--ink-soft);cursor:pointer;text-align:left;background:0 0;border-radius:9px;justify-content:space-between;align-items:center;gap:12px;padding:7px 9px;display:flex}.select-menu-list>button:hover,.select-menu-list>button.selected{color:var(--ink);background:var(--surface-muted)}.select-menu-list>button span{gap:2px;display:grid}.select-menu-list strong{font-size:12px;font-weight:670}.select-menu-list small{color:var(--faint);font-size:10px}.select-menu-list svg{width:15px;height:15px;color:var(--accent)}html{scrollbar-gutter:stable}body{overflow-x:hidden}:is(html:has(.editor-shell),body:has(.editor-shell)){scrollbar-gutter:auto;overflow:hidden}.document-chip{max-width:min(520px,100vw - 250px)}.document-name-wrap{width:auto;max-width:100%}.document-title{width:var(--title-chars,12ch);field-sizing:content;min-width:12ch;max-width:min(42ch,40vw)}.topbar,.toolbar-shell,.zoom-control,.empty-state,.canvas-hint{transition:opacity .15s,visibility 0s linear .15s}.editor-shell.controls-hidden .topbar,.editor-shell.controls-hidden .toolbar-shell,.editor-shell.controls-hidden .zoom-control,.editor-shell.controls-hidden .empty-state,.editor-shell.controls-hidden .canvas-hint{visibility:hidden;opacity:0;pointer-events:none}@media (hover:hover){.editor-shell.controls-auto-hide:not(.controls-hidden) :is(.topbar,.toolbar-shell,.zoom-control){opacity:0}.editor-shell.controls-auto-hide:not(.controls-hidden) :is(.topbar,.toolbar-shell,.zoom-control):is(:hover,:focus-within){opacity:1}}@media (min-width:901px) and (hover:hover){.editor-shell:not(.control-layout-floating).controls-auto-hide:not(.controls-hidden) :is(.topbar,.toolbar-shell){opacity:1}.editor-shell:not(.control-layout-floating).controls-auto-hide:not(.controls-hidden) .editor-bars{opacity:0}.editor-shell:not(.control-layout-floating).controls-auto-hide:not(.controls-hidden) .editor-bars:is(:hover,:focus-within){opacity:1}}.controls-reveal{z-index:30;top:max(12px, env(safe-area-inset-top));left:max(12px, env(safe-area-inset-left));width:38px;height:38px;color:var(--ink-soft);background:var(--surface);box-shadow:var(--shadow-soft);-webkit-backdrop-filter:blur(18px);cursor:pointer;border-radius:12px;place-items:center;padding:0;display:none;position:fixed}.controls-reveal svg{width:19px;height:19px}@media (pointer:coarse){.editor-shell.controls-hidden .controls-reveal{display:grid}}.panel-content .segmented-control,.preference-subrow,.preference-row,.range-row{min-width:0;max-width:100%}.segmented-control button,.preference-row>div,.preference-subrow>*{min-width:0}.project-redirect{color:var(--muted);background:var(--page);justify-content:center;align-items:center;gap:10px;font-size:12px;font-weight:620;display:flex;position:fixed;inset:0}.project-redirect-spinner{border:2px solid color-mix(in srgb, var(--ink) 16%, transparent);border-top-color:var(--ink);border-radius:999px;width:16px;height:16px;animation:.7s linear infinite project-redirect-spin}@keyframes project-redirect-spin{to{transform:rotate(360deg)}}@media (max-width:820px){.document-chip{max-width:min(58vw,420px)}.document-title{max-width:min(34ch,36vw)}}@media (max-width:620px){.document-chip{max-width:calc(100vw - 180px)}.document-title{width:var(--title-chars,12ch);min-width:9ch;max-width:28vw}}@media (prefers-reduced-motion:reduce){.topbar,.toolbar-shell,.zoom-control,.empty-state,.canvas-hint{transition:none}}.editor-shell.controls-pending .topbar,.editor-shell.controls-pending .toolbar-shell,.editor-shell.controls-pending .zoom-control,.editor-shell.controls-pending .empty-state,.editor-shell.controls-pending .canvas-hint{visibility:hidden;opacity:0;pointer-events:none}.sync-status{width:70px;min-width:70px}.canvas-loading{z-index:25;color:var(--ink-soft);background:var(--canvas);justify-content:center;align-items:center;gap:9px;font-size:12px;display:flex;position:fixed;inset:0}.canvas-loading span{border:2px solid color-mix(in srgb, var(--ink) 16%, transparent);border-top-color:var(--ink-soft);border-radius:50%;width:14px;height:14px;animation:.7s linear infinite canvas-loading-spin}@keyframes canvas-loading-spin{to{transform:rotate(360deg)}}@media (prefers-reduced-motion:reduce){.canvas-loading span{transition:none;animation:none}}.editor-bars{display:contents}.side-document-control{display:none}.control-layout-row{margin-top:4px}.control-layout-row .select-menu-root{min-width:146px}@media (min-width:901px){.editor-shell:not(.control-layout-floating) .editor-bars{z-index:20;pointer-events:auto;background:var(--surface);box-shadow:var(--shadow-soft);-webkit-backdrop-filter:blur(18px);transition:opacity .15s,visibility 0s linear .15s;position:fixed}.editor-shell:not(.control-layout-floating) :is(.document-chip,.actions,.toolbar-shell){box-shadow:none;-webkit-backdrop-filter:none;background:0 0}.editor-shell:not(.control-layout-floating).controls-hidden .editor-bars,.editor-shell:not(.control-layout-floating).controls-pending .editor-bars{visibility:hidden;opacity:0;pointer-events:none}.control-layout-top .editor-bars,.control-layout-bottom .editor-bars{height:var(--control-bar-size);min-height:var(--control-bar-size);border-radius:17px;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);grid-template-areas:"document tools actions";align-items:center;gap:8px;padding:0;display:grid;left:12px;right:12px}.control-layout-top .editor-bars{top:12px}.control-layout-bottom .editor-bars{bottom:12px}.control-layout-top .topbar,.control-layout-bottom .topbar{display:contents}.control-layout-top .document-chip,.control-layout-bottom .document-chip{grid-area:document;justify-self:start;max-width:100%}.control-layout-top .actions,.control-layout-bottom .actions{grid-area:actions;justify-self:end}.control-layout-top .toolbar-shell,.control-layout-bottom .toolbar-shell{grid-area:tools;max-width:none;padding:2px;position:static;transform:none}.control-layout-bottom .zoom-control{bottom:calc(var(--control-bar-size) + 24px)}.control-layout-top .toast{top:calc(var(--control-bar-size) + 24px)}.control-layout-left .editor-bars,.control-layout-right .editor-bars{width:var(--control-bar-size);border-radius:17px;flex-direction:column;gap:6px;padding:2px;display:flex;top:12px;bottom:12px}.control-layout-left .editor-bars{left:12px}.control-layout-right .editor-bars{right:12px}.control-layout-left .topbar,.control-layout-right .topbar{pointer-events:auto;flex-direction:column;justify-content:flex-start;align-items:stretch;gap:6px;display:flex;position:static}.control-layout-left .document-chip,.control-layout-right .document-chip{display:none}.control-layout-left .side-document-control,.control-layout-right .side-document-control{place-items:center;width:100%;display:grid;position:relative}.side-document-button{width:34px;height:34px;color:var(--ink-soft);cursor:pointer;background:0 0;border-radius:11px;place-items:center;padding:0;display:grid;position:relative}.side-document-button:hover,.side-document-button.active{color:var(--ink);background:var(--surface-muted)}.side-document-button svg{width:18px;height:18px}.side-document-indicator{border:1px solid var(--surface-solid);background:var(--faint);border-radius:50%;width:6px;height:6px;position:absolute;bottom:5px;right:5px}.side-document-indicator.saved,.side-document-indicator.saving,.side-document-indicator.loading{background:var(--accent)}.side-document-indicator.error{background:var(--danger)}.side-document-content{gap:8px;display:grid}.side-document-label{color:var(--faint);font-size:11px}.side-document-content .document-title{background:var(--surface-muted);width:100%;min-width:0;max-width:none}.side-document-content .sync-status{width:auto;min-width:0;padding-left:2px}.control-layout-left .actions,.control-layout-right .actions{flex-direction:column;align-items:center;gap:2px;width:100%;padding:0;display:flex}.control-layout-left .actions .menu-wrap,.control-layout-right .actions .menu-wrap{place-items:center;width:100%;display:grid}.control-layout-left .actions .icon-button,.control-layout-right .actions .icon-button{width:34px}.control-layout-left .toolbar-shell,.control-layout-right .toolbar-shell{overscroll-behavior:contain;scrollbar-width:none;flex-direction:column;flex:1;justify-content:flex-start;align-items:center;gap:8px;width:100%;max-width:none;min-height:0;padding:0;display:flex;position:static;overflow-y:auto;transform:none}.control-layout-left .toolbar-shell::-webkit-scrollbar{display:none}.control-layout-right .toolbar-shell::-webkit-scrollbar{display:none}.control-layout-left .tool-group,.control-layout-right .tool-group{flex-direction:column;align-items:center;gap:2px;display:flex}.control-layout-left .tool-button,.control-layout-right .tool-button{width:38px}.control-layout-left .style-group,.control-layout-right .style-group{flex-direction:column;justify-content:center;align-items:center;padding-left:0}.control-layout-left .fill-controls,.control-layout-right .fill-controls{flex-direction:column;margin-left:0}.control-layout-left .style-trigger,.control-layout-right .style-trigger{flex-direction:column;justify-content:center;gap:3px;width:34px;height:34px;padding:0}.control-layout-left .toolbar-shell>.style-group>.color-picker-root>.color-trigger,.control-layout-right .toolbar-shell>.style-group>.color-picker-root>.color-trigger,.control-layout-left .auto-ink,.control-layout-right .auto-ink{width:34px;height:34px}.control-layout-left .saved-color-bar,.control-layout-right .saved-color-bar,.control-layout-left .fill-color-bar,.control-layout-right .fill-color-bar{flex-direction:column}.control-layout-left .toolbar-divider,.control-layout-right .toolbar-divider{width:24px;height:1px}.control-layout-left .focus-mode-button,.control-layout-right .focus-mode-button{width:38px;height:38px}.control-layout-right .zoom-control{right:calc(var(--control-bar-size) + 24px);left:auto}.control-layout-floating.controls-edge-attached .topbar{top:0;left:0;right:0}.control-layout-floating.controls-edge-attached .document-chip{border-radius:0 0 14px}.control-layout-floating.controls-edge-attached .actions{border-radius:0 0 0 14px}.control-layout-floating.controls-edge-attached .toolbar-shell{border-radius:16px 16px 0 0;bottom:0}.control-layout-top.controls-edge-attached .editor-bars{border-radius:0 0 17px 17px;top:0;left:0;right:0}.control-layout-bottom.controls-edge-attached .editor-bars{border-radius:17px 0 0;bottom:0;left:0;right:0}.control-layout-left.controls-edge-attached .editor-bars{border-radius:0 17px 17px 0;top:0;bottom:0;left:0}.control-layout-right.controls-edge-attached .editor-bars{border-radius:17px 0 0;top:0;bottom:0;right:0}.control-layout-top.controls-edge-attached .toast{top:calc(var(--control-bar-size) + 12px)}.control-layout-bottom.controls-edge-attached .zoom-control{bottom:var(--control-bar-size)}.editor-shell.controls-edge-attached .zoom-control{border-radius:13px 0 0}.control-layout-floating.controls-edge-attached .zoom-control,.control-layout-top.controls-edge-attached .zoom-control,.control-layout-left.controls-edge-attached .zoom-control{bottom:0;left:auto;right:0}.control-layout-bottom.controls-edge-attached .zoom-control{left:auto;right:0}.control-layout-right.controls-edge-attached .zoom-control{bottom:0;right:var(--control-bar-size);left:auto}}.control-tooltip{z-index:1000;width:max-content;max-width:180px;color:var(--page);background:var(--ink);pointer-events:none;white-space:nowrap;border-radius:7px;padding:6px 8px;font-size:11px;position:fixed}.control-tooltip[data-placement=bottom]{transform:translate(-50%)}.control-tooltip[data-placement=top]{transform:translate(-50%,-100%)}.control-tooltip[data-placement=right]{transform:translateY(-50%)}.control-tooltip[data-placement=left]{transform:translate(-100%,-50%)}@media (min-width:901px) and (max-width:1120px){.control-layout-top .sync-status,.control-layout-bottom .sync-status,.control-layout-top .saved-color-bar,.control-layout-bottom .saved-color-bar,.control-layout-top .fill-color-bar,.control-layout-bottom .fill-color-bar{display:none}.control-layout-top .document-title,.control-layout-bottom .document-title{max-width:120px}}@media (max-width:900px){.editor-shell.controls-edge-attached .topbar{top:0;left:0;right:0}.editor-shell.controls-edge-attached .document-chip{border-radius:0 0 14px}.editor-shell.controls-edge-attached .actions{border-radius:0 0 0 14px}.editor-shell.controls-edge-attached .toolbar-shell{border-radius:16px 16px 0 0;width:auto;max-width:none;bottom:0;left:0;right:0;transform:none}.editor-shell.controls-edge-attached .zoom-control{bottom:var(--control-bar-size);border-radius:13px 0 0;left:auto;right:0}}@media (prefers-reduced-motion:reduce){.editor-shell:not(.control-layout-floating) .editor-bars{transition:none}}
