:root{--panel-w: 84px;--top-h: 0px;--accent: #0a84ff}*{margin:0;padding:0;box-sizing:border-box}body,html{width:100%;height:100%;overflow:hidden;background-color:#fff;font-family:Inter,system-ui,Avenir,Helvetica,Arial,sans-serif;touch-action:none;user-select:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none}#canvas{position:fixed;top:var(--top-h);left:0;width:100vw;height:calc(100vh - var(--top-h));display:block;cursor:crosshair;background-color:transparent;touch-action:none}#fade{position:fixed;top:var(--top-h);left:0;width:100vw;height:calc(100vh - var(--top-h));pointer-events:none;opacity:0}#canvas:active{cursor:grabbing}#canvas.drawing{cursor:crosshair}#canvas.panning{cursor:grabbing}.top-bar{position:fixed;top:0;left:0;right:0;height:30px;background:#000000e6;z-index:1000;display:flex;align-items:center;padding:0 10px;font-family:Courier New,monospace;font-size:11px;color:#fff;pointer-events:none}.top-bar>*{pointer-events:auto}.progress-overlay{position:fixed;inset:0;background:#000c;z-index:2000;display:flex;align-items:center;justify-content:center}.progress-content{background:#1e1e1ef2;padding:30px 40px;border-radius:8px;min-width:300px;box-shadow:0 4px 20px #00000080}.progress-bar-container{width:100%;height:8px;background:#ffffff1a;border-radius:4px;overflow:hidden;margin-bottom:12px}.progress-bar{height:100%;background:linear-gradient(90deg,#4a9eff,#6bb6ff);border-radius:4px;transition:width .2s ease;width:0%}.progress-message{color:#fff;font-size:14px;text-align:center;font-family:Courier New,monospace}.tb-item{margin-right:18px;white-space:nowrap}.tb-fps{margin-left:auto;margin-right:0}.top-bar:not(.dev){display:none}body.dev{--top-h: 30px}.pp-danger:hover{background:#a33}.sp-switch{display:flex;flex-direction:column;align-items:center;gap:4px;cursor:pointer}.sp-switch input{position:absolute;opacity:0;pointer-events:none}.sp-switch-track{position:relative;width:34px;height:20px;border-radius:10px;background:#444;transition:background .15s}.sp-switch-track:after{content:"";position:absolute;top:2px;left:2px;width:28px;height:28px;border-radius:50%;background:#fff;transition:transform .15s}.sp-switch input:checked+.sp-switch-track{background:var(--accent)}.sp-switch input:checked+.sp-switch-track:after{transform:translate(14px)}.side-panel{position:fixed;top:calc(var(--top-h) + (100vh - var(--top-h)) / 2);transform:translateY(-50%);left:0;max-height:calc(100vh - var(--top-h));box-sizing:border-box;width:var(--panel-w);background:#000000e6;border-radius:0 12px 12px 0;z-index:1000;display:flex;flex-direction:column;align-items:center;gap:8px;padding:10px 0;overflow-y:auto;color:#fff;font-family:Courier New,monospace;font-size:11px}.sp-group{display:flex;flex-direction:column;align-items:center;gap:6px}.side-panel>*{flex-shrink:0}.sp-grid{display:grid;grid-template-columns:repeat(2,28px);gap:4px;justify-items:center}.sp-grid .sp-btn{width:28px;height:28px}.sp-sep{width:60px;height:1px;background:#444;flex-shrink:0}.checker{background-color:#fff;background-image:conic-gradient(#bbb 25%,#fff 0 50%,#bbb 0 75%,#fff 0);background-size:8px 8px}.sp-swatch{position:relative;width:24px;height:24px;border-radius:50%;border:1px solid #555;cursor:pointer;flex-shrink:0;overflow:hidden;padding:0}.sp-swatch:after{content:"";position:absolute;inset:0;background:var(--swatch)}.sp-colors{display:grid;grid-template-columns:repeat(2,28px);gap:4px;justify-items:center}.sp-swatch.ring-dark{border:2px solid #000;box-shadow:0 0 0 1px #fff}.sp-swatch.ring-light{border:2px solid #fff;box-shadow:0 0 0 1px #000}.sp-btn{width:36px;height:32px;border:none;border-radius:4px;background:#333;color:#fff;cursor:pointer;display:flex;align-items:center;justify-content:center;flex-shrink:0;font:inherit}.sp-btn:hover{background:#555}.sp-btn:disabled{opacity:.35;cursor:default;background:#333}.sp-btn.active{background:var(--accent)}.sp-btn svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}.sp-size-value{color:#fff;font-size:11px;text-align:center}.size-flyout{align-items:center;gap:10px;padding:10px 16px;max-width:calc(100vw - 24px);box-sizing:border-box}.size-flyout .st-range{appearance:none;-webkit-appearance:none;width:min(220px,calc(100vw - 150px));height:44px;margin:0;background:transparent;cursor:pointer;touch-action:none}.size-flyout .st-range::-webkit-slider-runnable-track{height:8px;border-radius:4px;background:#555}.size-flyout .st-range::-webkit-slider-thumb{appearance:none;-webkit-appearance:none;width:44px;height:44px;margin-top:-18px;border:none;border-radius:50%;background:radial-gradient(circle,var(--accent) calc(var(--brush-thumb-size, 18px) / 2 - 2px),#fff calc(var(--brush-thumb-size, 18px) / 2 - 1.5px),#fff calc(var(--brush-thumb-size, 18px) / 2),transparent calc(var(--brush-thumb-size, 18px) / 2 + .5px))}.size-flyout .st-range::-moz-range-track{height:8px;border-radius:4px;background:#555}.size-flyout .st-range::-moz-range-thumb{box-sizing:border-box;width:44px;height:44px;border:none;border-radius:50%;background:radial-gradient(circle,var(--accent) calc(var(--brush-thumb-size, 18px) / 2 - 2px),#fff calc(var(--brush-thumb-size, 18px) / 2 - 1.5px),#fff calc(var(--brush-thumb-size, 18px) / 2),transparent calc(var(--brush-thumb-size, 18px) / 2 + .5px))}.size-flyout .st-range:focus-visible{outline:2px solid var(--accent);outline-offset:3px;border-radius:6px}.sp-layer{display:flex;gap:2px}.sp-layer .sp-btn{width:28px;height:26px}.sp-layer-eye.off{opacity:.3}.sp-layer-eye svg{width:14px;height:14px}.color-popover{position:fixed;z-index:1500;background:#1f1f1ffa;border:1px solid rgba(255,255,255,.07);border-radius:14px;box-shadow:0 12px 40px #0000008c;padding:14px;display:flex;flex-direction:column;gap:14px;touch-action:none}.color-popover[hidden]{display:none}.cp-row{display:flex;gap:10px}.cp-sv{position:relative;width:180px;height:180px;border-radius:4px;background-image:linear-gradient(to top,#000,transparent),linear-gradient(to right,#fff,transparent);cursor:crosshair}.cp-knob{position:absolute;width:14px;height:14px;margin:-7px 0 0 -7px;border:2px solid #fff;border-radius:50%;box-shadow:0 0 2px #000;pointer-events:none}.cp-hue{position:relative;width:20px;height:180px;border-radius:4px;background:linear-gradient(to bottom,red,#ff0,#0f0,#0ff,#00f,#f0f,red);cursor:ns-resize}.cp-alpha{position:relative;height:20px;border-radius:4px;cursor:ew-resize}.cp-alpha-fill{position:absolute;inset:0;border-radius:4px;background:linear-gradient(to right,transparent,var(--solid, #fff))}.cp-bar-knob{position:absolute;left:-2px;right:-2px;height:6px;margin-top:-3px;border:2px solid #fff;border-radius:3px;box-shadow:0 0 2px #000;pointer-events:none}.cp-bar-knob-h{inset:-2px auto;width:6px;height:auto;margin:0 0 0 -3px}.cp-hex{background:#111;color:#fff;border:1px solid #444;border-radius:4px;padding:4px 6px;font-family:Courier New,monospace;font-size:13px;user-select:text;-webkit-user-select:text}.places-popover{position:fixed;z-index:1500;width:264px;background:#1f1f1ffa;border:1px solid rgba(255,255,255,.07);border-radius:14px;box-shadow:0 12px 40px #0000008c;padding:12px;display:flex;flex-direction:column;gap:12px;overflow-y:auto;color:#fff;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,sans-serif;font-size:14px}.places-popover[hidden]{display:none}.pp-list{display:flex;flex-direction:column;gap:2px}.pp-row{display:flex;align-items:center;gap:4px;padding-right:4px;border-radius:8px;min-height:38px}.pp-row:hover{background:#2c2c2c}.pp-canvas{font-weight:600}.pp-canvas.current{background:#2a3550}.pp-bookmark,.pp-portal{padding-left:18px}.pp-bookmark .pp-name:before{content:"★ ";color:#ffd60a}.pp-name{flex:1;min-width:0;text-align:left;background:none;border:none;color:inherit;font:inherit;padding:8px 10px;cursor:pointer;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.pp-icon{width:28px;height:28px;flex-shrink:0;border:none;border-radius:6px;background:none;color:#999;cursor:pointer;display:flex;align-items:center;justify-content:center;opacity:0}.pp-row:hover .pp-icon,.pp-row.current .pp-icon{opacity:1}@media (hover: none){.pp-icon{opacity:1}}.pp-icon:hover{background:#444;color:#fff}.pp-icon.danger:hover{background:#a33}.pp-icon svg{width:14px;height:14px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}.pp-input{flex:1;min-width:0;margin:2px 4px;background:#111;color:#fff;border:1px solid var(--accent);border-radius:6px;padding:7px 9px;font:inherit;user-select:text;-webkit-user-select:text}.pp-actions{display:flex;gap:8px}.pp-text{flex:1;background:#2c2c2c;border:none;border-radius:8px;color:#fff;font:inherit;padding:9px 10px;cursor:pointer}.pp-text:hover{background:#555}.pp-key{flex-shrink:0;min-width:16px;padding:1px 4px;border:1px solid #555;border-radius:3px;color:#aaa;font-size:10px;text-align:center}.pp-portal .pp-name:before{content:"⧉ ";color:var(--accent)}.pp-title{padding:0 10px;margin-bottom:-6px;color:#8a8a8a;font-size:12px}.settings-popover{width:min(304px,calc(100vw - 100px));box-sizing:border-box;padding:14px;gap:12px}.st-header,.st-footer{display:flex;align-items:center;justify-content:space-between}.st-header h2{margin:0;font-size:18px;font-weight:600;letter-spacing:-.3px}.st-close{width:28px;height:28px;border:none;border-radius:8px;background:transparent;color:#999;font:inherit;font-size:24px;cursor:pointer}.st-close:hover{background:#333;color:#fff}.st-section{display:flex;flex-direction:column;gap:10px;padding-top:10px;border-top:1px solid #ffffff12}.st-section h3{margin:0;color:#999;font-size:11px;font-weight:600;letter-spacing:.8px;text-transform:uppercase}.settings-popover .st-toggle{min-height:24px;gap:12px}.settings-popover .sp-switch-track{flex-shrink:0}.settings-popover .sp-switch-track:after{width:16px;height:16px}.settings-popover .sp-switch input:focus-visible+.sp-switch-track,.settings-popover :is(button,select,summary,input[type=range]):focus-visible{outline:2px solid var(--accent);outline-offset:3px}.settings-popover .pp-text{font-size:12px;font-weight:500}.settings-popover #sync-now{flex:none}.settings-popover #sync-row{gap:12px}.settings-popover #sync-now{margin-left:auto}.settings-popover .pp-text:disabled{opacity:.45;cursor:default;background:#2c2c2c}.st-reset{border-top:1px solid #ffffff12;padding-top:12px}.st-reset summary{display:flex;align-items:center;justify-content:space-between;cursor:pointer;list-style:none;min-height:28px}.st-reset summary::-webkit-details-marker{display:none}.st-chevron{font-size:22px;color:#888;transition:transform .15s}.st-reset[open] .st-chevron{transform:rotate(90deg)}.st-reset-content{display:flex;flex-direction:column;gap:8px;padding-top:10px}.st-hint{margin:0;font-size:11px;line-height:1.5;color:#999}.settings-popover .pp-danger{color:#ff9b96;background:#ff625710;text-align:left}.settings-popover .pp-danger:hover{background:#ff625725}.st-developer{font-size:11px;color:#888}.st-developer summary{cursor:pointer}.st-developer button{margin-top:10px;width:100%}.st-footer{color:#777;font-size:11px}.st-row{display:flex;flex-direction:column;gap:10px}.st-label{color:#ddd}.st-actions{display:flex;gap:6px}.st-range{width:100%;accent-color:var(--accent)}.st-line,.st-toggle{display:flex;flex-direction:row;align-items:center;justify-content:space-between}.st-value{color:#8a8a8a;font-variant-numeric:tabular-nums}.shapes-flyout{position:fixed;z-index:1500;display:flex;gap:4px;padding:6px;background:#1f1f1ffa;border:1px solid rgba(255,255,255,.07);border-radius:10px;box-shadow:0 12px 40px #0000008c}.shapes-flyout[hidden]{display:none}.shapes-flyout .sp-btn{width:28px;height:28px}.st-select{background:#2c2c2c;color:#fff;border:none;border-radius:8px;padding:6px 8px;font:inherit;cursor:pointer}body[data-panel=right] .side-panel{left:auto;right:0;border-radius:12px 0 0 12px}body[data-panel=top] .side-panel,body[data-panel=bottom] .side-panel{top:var(--top-h);left:50%;transform:translate(-50%);width:auto;max-width:100vw;max-height:none;flex-direction:row;padding:0 10px;height:84px;overflow-x:auto;overflow-y:hidden;border-radius:0 0 12px 12px}body[data-panel=bottom] .side-panel{top:auto;bottom:0;border-radius:12px 12px 0 0}body[data-panel=top] .sp-grid,body[data-panel=top] .sp-colors,body[data-panel=bottom] .sp-grid,body[data-panel=bottom] .sp-colors{grid-template-columns:none;grid-template-rows:repeat(2,28px);grid-auto-flow:column;grid-auto-columns:28px;align-items:center}body[data-panel=top] .sp-sep,body[data-panel=bottom] .sp-sep{width:1px;height:60px}#account-btn.signed-in svg{stroke:var(--accent)}.account-flyout{width:232px;gap:8px}.account-title{color:#ddd;padding:0 2px 4px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.account-flyout .pp-text,.nick-dialog .pp-text{flex:none;text-align:left}.account-email-form{display:flex;flex-direction:column;gap:8px}.account-flyout .account-send,.login-gate .account-send{text-align:center}.account-send:disabled{opacity:.4;cursor:default}.account-note{color:#bbb;font-size:13px;line-height:1.4;overflow-wrap:anywhere}.nick-dialog .st-actions .pp-text{flex:1;text-align:center}.nick-dialog .pp-text:disabled{opacity:.4;cursor:default}.nick-save:not(:disabled){background:var(--accent)}.nick-backdrop{position:fixed;inset:0;z-index:2000;display:flex;align-items:center;justify-content:center;padding:16px;background:#00000073}.login-gate{background:#000000b3}.nick-backdrop[hidden]{display:none}.nick-dialog{position:static;width:min(340px,100%);padding:18px}.nick-hint{color:#8a8a8a;font-size:13px;line-height:1.4}.nick-field{display:flex;align-items:center;background:#2c2c2c;border-radius:8px;padding:0 10px}.nick-prefix{color:#8a8a8a;white-space:nowrap}.nick-input{flex:1;min-width:0;background:none;border:none;outline:none;color:#fff;font:inherit;padding:9px 0}.nick-error{min-height:1.2em;color:#ff7b72;font-size:13px}.st-status{color:#ddd;font-size:13px}.st-status[data-state=offline]{color:#888}.st-status[data-state=error]{color:#ff6b6b}.st-row[hidden],.st-line[hidden]{display:none}.readonly-badge{position:fixed;top:calc(var(--top-h) + 8px);left:50%;transform:translate(-50%);z-index:1500;padding:3px 10px;border-radius:10px;background:#282828e6;border:1px solid #555;color:#ddd;font-size:12px;pointer-events:none}.readonly-badge[hidden],.toast[hidden]{display:none}body.read-only #brush-pencil,body.read-only #brush-marker,body.read-only #tool-eraser,body.read-only #tool-lasso,body.read-only #tool-button,body.read-only #selection-bar,body.read-only #shape-line,body.read-only #tool-portal,body.read-only #image-btn,body.read-only #clear-storage-btn,body.read-only #dots-bench{opacity:.3;pointer-events:none}.toast{position:fixed;bottom:24px;left:50%;transform:translate(-50%);z-index:2100;padding:8px 14px;border-radius:6px;background:#282828f2;border:1px solid #555;color:#eee;font-size:13px}.pp-role{margin-right:4px}.pp-share{display:flex;flex-direction:column;gap:6px;margin:2px 0 6px 12px;padding:6px;border-left:2px solid var(--accent)}.pp-members{display:flex;flex-direction:column;gap:4px;color:#aaa;font-size:12px}.pp-member{display:flex;align-items:center;gap:4px}.pp-member-nick{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;color:#ddd}.pp-member-add .pp-input{margin:0}body.embed{--top-h: 0px}body.embed #top-bar,body.embed #side-panel,body.embed .readonly-badge,body.embed .toast,body.embed .places-popover,body.embed .color-popover,body.embed .shapes-flyout{display:none!important}body.embed #canvas{cursor:grab}.embed-message{position:fixed;inset:0;display:flex;align-items:center;justify-content:center;color:#aaa;font:14px -apple-system,BlinkMacSystemFont,Segoe UI,Roboto,sans-serif;pointer-events:none}.embed-link{position:fixed;right:8px;bottom:8px;padding:4px 8px;border-radius:6px;background:#0000008c;color:#ddd;font:12px -apple-system,BlinkMacSystemFont,Segoe UI,Roboto,sans-serif;text-decoration:none}.embed-link:hover{color:#fff;background:#000000bf}.embed-panel{left:50%;bottom:16px;transform:translate(-50%);width:320px;max-width:calc(100vw - 32px);gap:8px}.embed-head{display:flex;align-items:center;justify-content:space-between}.embed-row{display:flex;align-items:center;gap:8px}.embed-row .st-label{flex:1}.embed-size{width:72px}.embed-code{width:100%;box-sizing:border-box;resize:vertical;background:#ffffff0f;color:#ddd;border:1px solid rgba(255,255,255,.1);border-radius:8px;padding:6px;font:11px ui-monospace,Menlo,monospace}.embed-warn{display:flex;flex-direction:column;gap:6px;color:#f0b46a;font-size:12px}.embed-hint{color:#888;font-size:12px}.button-dialog .st-select{width:100%}.button-bookmark-row[hidden],.button-dialog .nick-field[hidden]{display:none}.selection-bar{position:fixed;z-index:1500;display:flex;gap:6px;padding:6px;transform:translate(-50%)}.selection-bar[hidden]{display:none}.selection-bar .pp-text{flex:none;white-space:nowrap}.toolbar-popover{width:max-content;min-width:0}#insert-popover{display:flex;flex-direction:column;gap:4px;max-width:calc(100vw - 24px)}#insert-popover[hidden]{display:none}#insert-popover .sp-btn{width:100%;height:auto;min-height:52px;display:flex;align-items:center;justify-content:flex-start;gap:12px;padding:8px 12px;text-align:left}#insert-popover .sp-btn svg{flex-shrink:0}.insert-copy{display:flex;flex-direction:column;gap:3px}.insert-title{font-size:13px}.insert-description{font-size:11px;opacity:.65}#layers-popover #layers{flex-direction:column}#layers-popover .sp-layer{gap:4px}#layers-popover .sp-layer .sp-btn{height:36px;font-size:13px}#layers-popover .sp-layer .sp-layer-select{display:flex;align-items:center;justify-content:center;width:36px;padding:5px}#layers-popover .sp-layer-select svg{width:24px;height:26px;flex-shrink:0}#layers-popover .sp-layer .sp-layer-eye{width:36px}#layers-popover .sp-layer-eye svg{width:18px;height:18px}body.one-column-menu{--panel-w: 44px}body.one-column-menu #side-panel .sp-grid{grid-template-columns:28px;grid-auto-flow:row}body.one-column-menu #side-panel .sp-sep{width:28px}body.one-column-menu #side-panel .sp-colors{grid-template-columns:28px;grid-auto-flow:row}body.one-column-menu #side-panel .sp-swatch{width:28px;height:28px}body.one-column-menu #side-panel .sp-swatch:nth-child(n+4){display:none}#home-btn{display:flex;align-items:center;gap:8px}#home-btn svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:2}body[data-panel=left] .side-panel{transition:translate .18s ease}body[data-panel=left].panel-collapsed .side-panel{translate:-100% 0;pointer-events:none}.panel-reveal-edge{display:none;position:fixed;inset:0 auto 0 0;width:24px;z-index:1001;touch-action:none}body[data-panel=left].panel-collapsed:not(.embed) .panel-reveal-edge{display:block}@media (prefers-reduced-motion: reduce){body[data-panel=left] .side-panel{transition:none}}.panel-dock-preview{position:fixed;z-index:999;border:2px dashed var(--accent);background:#0a84ff18;border-radius:12px;pointer-events:none}body.panel-dragging .side-panel{opacity:.85;cursor:grabbing;box-shadow:0 0 0 2px var(--accent),0 12px 40px #0008;transition:none;translate:none}body.panel-dragging .side-panel *{cursor:grabbing}.side-panel{touch-action:none;-webkit-touch-callout:none}.side-panel:focus-visible{outline:2px solid var(--accent);outline-offset:-2px}.st-account-line{gap:12px}.st-account-line .pp-text{flex:none}.st-account-email{min-width:0;overflow-wrap:anywhere;font-size:12px;color:#ddd}.reset-dialog{margin:auto;width:min(400px,calc(100vw - 32px));max-height:calc(100dvh - 32px);overflow:auto;padding:24px;border:1px solid #ffffff20;border-radius:16px;color:#eee;background:#222;box-shadow:0 20px 80px #0008;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}.reset-dialog::backdrop{background:#0009}.reset-dialog h2{font-size:19px;margin-bottom:14px}.reset-dialog p{font-size:13px;line-height:1.6;margin-bottom:16px}.reset-dialog .reset-backup{width:100%;margin-bottom:12px}.reset-dialog .reset-yes{background:#ad3936}.reset-dialog button:disabled{opacity:.5;cursor:default}.reset-dialog button:focus-visible{outline:2px solid var(--accent);outline-offset:3px}.st-info-label{position:relative;display:flex;align-items:center;gap:6px}.st-info{border:none;background:transparent;color:#999;font:inherit;font-size:16px;min-width:28px;min-height:28px;cursor:help}.st-tooltip{position:absolute;left:0;top:100%;z-index:1;width:min(252px,calc(100vw - 136px));padding:12px;border:1px solid #ffffff24;border-radius:10px;background:#333;box-shadow:0 8px 24px #0008;color:#eee;font-size:12px;line-height:1.6;visibility:hidden}.st-info-label:has(.st-info:hover) .st-tooltip,.st-info-label:focus-within .st-tooltip,.st-tooltip:hover{visibility:visible}.pp-object-section{display:flex;flex-direction:column;gap:10px;border-top:1px solid #ffffff14;padding-top:12px}.pp-empty{padding:8px 10px;color:#8a8a8a;font-size:12px}@media (min-width: 768px) and (min-height: 600px),(min-width: 1024px) and (pointer: fine){#places-popover{width:340px;padding:16px;gap:16px;font-size:16px}.settings-popover{width:320px;padding:16px;gap:12px;font-size:15px}#places-popover .pp-name{min-height:48px;padding:12px}#places-popover .pp-icon{width:44px;height:44px}:is(#places-popover,.settings-popover) .pp-text{min-height:44px;font-size:14px}.settings-popover :is(.st-toggle,summary){min-height:44px}.settings-popover .st-close{width:44px;height:44px}.settings-popover .st-select{min-height:44px}#places-popover :is(.pp-title,.pp-empty){font-size:13px}}@media (min-width: 768px) and (min-height: 600px),(min-width: 1024px) and (pointer: fine){.color-popover{box-sizing:border-box;width:340px;padding:16px;gap:14px}.color-popover .cp-row{flex:1;min-height:0}.color-popover .cp-sv{flex:1;width:auto;height:auto;min-height:0}.color-popover .cp-hue{width:28px;height:auto}.color-popover .cp-alpha{height:28px;flex-shrink:0}.color-popover .cp-hex{box-sizing:border-box;height:40px;flex-shrink:0;font-size:15px}body:is([data-panel=top],[data-panel=bottom]) .color-popover .cp-row{min-height:260px}}@media (min-width: 768px) and (min-height: 600px),(min-width: 1024px) and (pointer: fine){body{--panel-w: 112px}body.one-column-menu{--panel-w: 64px}#side-panel{gap:10px;padding:12px 0}#side-panel :is(.sp-grid,.sp-colors){grid-template-columns:repeat(2,44px);gap:6px}#side-panel .sp-btn{width:44px;height:44px;border-radius:6px}#side-panel .sp-btn svg{width:22px;height:22px}#side-panel .sp-swatch{width:36px;height:36px}#side-panel .sp-sep{width:94px}body.one-column-menu #side-panel :is(.sp-grid,.sp-colors){grid-template-columns:44px}body.one-column-menu #side-panel .sp-sep{width:44px}body:is([data-panel=top],[data-panel=bottom]) #side-panel{height:112px;padding:0 12px}body:is([data-panel=top],[data-panel=bottom]) #side-panel :is(.sp-grid,.sp-colors){grid-template-columns:none;grid-template-rows:repeat(2,44px);grid-auto-columns:44px}body:is([data-panel=top],[data-panel=bottom]) #side-panel .sp-sep{width:1px;height:94px}}
