@font-face{font-family:Maxeville;src:url('./fonts/Maxeville-Tekst.woff2') format('woff2');font-weight:400;font-display:swap}
:root{color-scheme:dark;--bg:#08090b;--card:#18191d;--text:#f0f1f3;--muted:#9699a3;--line:#ffffff13;--track:#34363d}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--text);font:13px Maxeville,Arial,sans-serif}button,input,select,textarea{font:inherit;color:inherit}button,select,input[type=range],summary{cursor:pointer}button{display:inline-flex;align-items:center;justify-content:center;gap:8px;border:1px solid var(--line);border-radius:6px;background:var(--card);padding:9px 12px;transition:background .15s,border-color .15s}button:hover{background:#27292f;border-color:#ffffff35}button:disabled{opacity:.3;cursor:default}button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,summary:focus-visible{outline:2px solid #a6bbff;outline-offset:3px}[hidden]{display:none!important}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}svg{flex-shrink:0}.icon-button{width:32px;height:32px;padding:6px;background:transparent;border-color:transparent}.icon-button:hover{background:var(--card)}.app-header{height:64px;display:flex;align-items:center;gap:24px;padding:0 24px;border-bottom:1px solid var(--line);position:relative;z-index:3;background:#0b0c0e}.brand{font-size:24px;letter-spacing:-1px;text-decoration:none;color:inherit;white-space:nowrap}.head-note{font-size:12px;color:var(--muted)}.actions{margin-left:auto;display:flex;align-items:center;gap:6px}.actions .primary{background:var(--text);color:#111;border-color:var(--text)}.actions .primary:hover{background:white}.toolbar-divider{width:1px;height:20px;background:var(--line);margin:0 6px}
main{position:relative;height:calc(100dvh - 64px);min-height:480px}.inspector{position:absolute;z-index:2;top:20px;left:20px;width:320px;max-height:calc(100% - 40px);display:flex;flex-direction:column;overflow:hidden;background:#101115;border:1px solid #ffffff18;border-radius:12px;box-shadow:0 8px 36px #0005}.inspector-head{display:flex;align-items:center;justify-content:space-between;padding:10px 12px 8px 18px;font-size:12px;flex-shrink:0}.inspector-head>span{font-weight:400;color:#c5c7ce}.inspector-content{min-height:0;display:flex;flex-direction:column}.inspector-tabs{display:grid;grid-template-columns:repeat(3,1fr);padding:3px 10px 10px;gap:4px;flex-shrink:0;border-bottom:1px solid var(--line)}.inspector-tabs button{font-size:11px;background:transparent;border-color:transparent;padding:10px 4px;color:var(--muted);gap:6px}.inspector-tabs svg{width:15px;height:15px}.inspector-tabs button[aria-selected=true]{background:#25272e;color:var(--text)}.inspector-scroll{min-height:0;overflow:auto;padding:0 18px;scrollbar-width:thin;scrollbar-color:#454750 transparent}.control-section{margin:0;padding:20px 0;border-bottom:1px solid var(--line)}.control-section:last-child{border-bottom:0}h2{font-weight:400;font-size:12px;margin:0 0 16px;color:#dadce2}label{display:block;font-size:11px;margin-bottom:8px;color:#c7cad2}.section-title{display:flex;align-items:center;justify-content:space-between;margin-bottom:8px}.section-title label{margin:0}.micro-label{font-size:8px;letter-spacing:.09em;color:#777b85}textarea,input[type=text],select{width:100%;min-width:0;min-height:36px;padding:8px 10px;border:1px solid #ffffff17;border-radius:6px;background:#191b20}textarea{height:100px;min-height:80px;max-height:190px;resize:vertical;font-size:23px;line-height:1.3;display:block}select{font-size:11px;padding:9px 8px}.field-pair{display:grid;grid-template-columns:1fr 1fr;gap:10px}.spaced-label{margin-top:16px}.hint{font-size:10px;line-height:1.5;color:var(--muted);margin:8px 0 0}.text-tools{display:flex;align-items:center;gap:2px;margin-top:7px}.text-tools .icon-button{width:29px;height:29px}.text-tools svg{width:15px;height:15px}.text-tool-label{font-size:9px;color:var(--muted);margin-left:auto}.alignment-settings{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:16px}.alignment-settings label{margin:0}.seg{display:flex;padding:3px;gap:3px;background:#191b20;border-radius:6px}.seg button{width:39px;height:29px;padding:6px;border:0;background:transparent;color:var(--muted)}.seg svg{width:16px;height:16px}.seg button.active{background:#3b3e48;color:white}.preset-button{display:flex;width:100%;margin-top:10px;font-size:10px;background:transparent;text-align:left;justify-content:space-between;padding:9px 10px;border-style:dashed;color:#b5b9c5}.matrix-note{display:flex;gap:7px;align-items:baseline;margin-top:10px;color:#737884}.matrix-badge{font-size:9px;letter-spacing:.04em;white-space:nowrap}.matrix-note p{font-size:9px;margin:0;line-height:1.5}.slider-label{display:flex;justify-content:space-between;gap:12px;margin:18px 0 10px}.slider-label output{font-size:10px;color:var(--muted);font-variant-numeric:tabular-nums;white-space:nowrap}input[type=range]{appearance:none;display:block;width:100%;height:3px;background:var(--track);margin:14px 0 16px;border-radius:3px}input[type=range]::-webkit-slider-thumb{appearance:none;width:12px;height:12px;border:2px solid #101115;border-radius:50%;background:#eff1f5;box-shadow:0 0 0 1px #eff1f544}input[type=range]::-moz-range-thumb{width:10px;height:10px;border:2px solid #101115;border-radius:50%;background:#eff1f5}.range-ends{display:flex;justify-content:space-between;color:#7c818e;font-size:9px;margin-top:-6px}.star-total{font-size:10px;color:#7e8390;margin:12px 0 0;font-variant-numeric:tabular-nums}.subtle-button{padding:0;margin:10px 0 0;border:0;background:none;color:#a6abb9;font-size:10px;text-decoration:underline;text-underline-offset:3px}.subtle-button:hover{background:none;color:white}summary{list-style:none;display:flex;justify-content:space-between;align-items:center;font-size:12px;color:#dadce2}summary::-webkit-details-marker{display:none}summary::after{content:'+';font:16px Arial;color:#8c919d}details[open]>summary::after{content:'−'}.detail-content{padding-top:2px}.optional{color:var(--muted);float:right}.palette{display:flex;gap:12px;flex-wrap:wrap;margin:8px 0 18px}.palette button{width:34px;height:34px;border-radius:50%;border:4px solid #101115;padding:0;box-shadow:0 0 0 1px #ffffff30}.palette button.active{box-shadow:0 0 0 2px var(--text)}.colors{display:flex;align-items:center;justify-content:space-between;gap:4px}.colors>span{display:flex;align-items:center;gap:5px;font-size:9px;flex-wrap:wrap}.colors b{font-weight:400;color:var(--muted)}.colors button{border:0;background:transparent;padding:4px;font-size:18px}.color-chip{display:inline-block;width:10px;height:10px;border:1px solid #ffffff40;border-radius:2px}.view-actions{display:flex;gap:6px;margin-top:14px}.view-actions button{flex:1;font-size:10px;padding:9px 5px}#view-save{background:#f0f1f3;color:#111}#view-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-top:16px}.view-card{display:block;padding:8px;text-align:left}.view-card.active{border-color:var(--text);background:#24262d}.view-card img{display:block;width:100%;height:105px;object-fit:contain;background:#08090b;margin-bottom:9px}.view-card strong{display:block;font-size:10px;font-weight:400;overflow-wrap:anywhere}.view-card small{display:block;font-size:9px;margin-top:5px;color:var(--muted)}.storage-note{margin-top:16px}
.workspace{height:100%;min-height:0;min-width:0;background:#070809;display:flex;flex-direction:column;padding:20px 24px 16px 374px;transition:padding .18s}.workspace-top,.workspace-bottom{display:flex;align-items:center;justify-content:space-between;gap:12px;font-size:10px;color:#777c88;flex-shrink:0}.workspace-top{height:32px}.canvas-label{display:flex;align-items:center;gap:16px;letter-spacing:.07em;font-size:9px}.canvas-label #dimensions{letter-spacing:0;color:#565c68}.art-area{position:relative;flex:1;min-height:0}#poster{position:absolute;inset:18px 12px}#poster svg{width:100%;height:100%;display:block;filter:drop-shadow(0 8px 24px #0006)}.workspace-bottom{min-height:26px}.workspace-bottom button{border:0;background:transparent;padding:5px;font-size:10px;color:var(--muted)}.wheel-hint{text-align:center;font-size:9px;color:#666c78}.inspector-collapsed .inspector{width:156px}.inspector-collapsed .inspector-content{display:none}.inspector-collapsed .workspace{padding-left:24px}.editor-focused .inspector{display:none}.editor-focused .workspace{padding-left:24px}#focus-mode[aria-pressed=true]{background:#27292f;color:white}#toast{position:fixed;left:50%;bottom:24px;transform:translate(-50%,20px);background:var(--text);color:#111;padding:12px 18px;border-radius:8px;opacity:0;pointer-events:none;transition:.2s;z-index:10;font-size:12px}#toast.show{opacity:1;transform:translate(-50%,0)}
@media(max-width:1050px){.head-note{display:none}.workspace{padding-right:16px}.wheel-hint{display:none}.workspace-bottom{flex-wrap:wrap}}@media(max-width:720px){.app-header{height:56px;position:sticky;top:0;padding:0 12px;gap:8px}.brand{font-size:21px}.actions{gap:2px}.actions button{padding:8px;font-size:10px}.actions .icon-button{width:29px;height:29px}.actions svg{width:15px;height:15px}.toolbar-divider{margin:0 3px}main{height:auto;min-height:0;display:flex;flex-direction:column}.workspace{order:-1;height:62dvh;min-height:390px;padding:10px 12px 12px}.workspace-top{height:28px}.workspace-bottom{font-size:9px}.workspace-bottom button{font-size:9px}.canvas-label{font-size:8px;gap:10px}#poster{inset:12px 0}.inspector{position:relative;top:auto;left:auto;width:calc(100% - 24px);max-width:480px;max-height:none;margin:0 auto 20px;border-radius:10px}.inspector-head{padding:8px 12px 5px 18px}.inspector-scroll{overflow:visible}.inspector-tabs{position:sticky;top:56px;background:#101115;z-index:2}.inspector-collapsed .inspector{width:calc(100% - 24px)}.inspector-collapsed .workspace,.editor-focused .workspace{padding-left:12px}.editor-focused .workspace{height:calc(100dvh - 56px)}.text-tools .icon-button{width:34px;height:34px}.palette button{width:38px;height:38px}}
@media(prefers-reduced-motion:reduce){*{transition:none!important}}

/* Comfortable reading and touch targets without adding poster controls. */
label,.field-pair select,select{font-size:12px}.hint,.matrix-note p,.matrix-badge,.star-total,.preset-button,.subtle-button,.slider-label output{font-size:11px}.matrix-note{align-items:flex-start}.matrix-badge{font-size:10px}.text-tool-label{font-size:10px}.inspector-tabs button{font-size:12px}.colors>span,.view-actions button,.view-card strong,.view-card small{font-size:11px}.mobile-actions{display:none}
@media(max-width:720px){
body{padding-bottom:calc(86px + env(safe-area-inset-bottom))}.app-header{height:56px}.actions #svg,.actions #png,.toolbar-divider{display:none}.actions .icon-button{width:44px;height:44px}.actions svg{width:18px;height:18px}.workspace{height:48dvh;min-height:280px;padding:8px 12px 10px}.workspace-top{height:28px}.workspace-bottom{min-height:22px}.workspace-bottom #reset{min-height:36px;padding:5px 8px}.workspace-bottom #save-status{font-size:10px}.canvas-label{font-size:10px}#poster{inset:8px 0}.inspector{width:calc(100% - 20px);margin-bottom:12px}.inspector-head{min-height:48px;padding:4px 10px 4px 16px}.inspector-head>span{font-size:13px}.inspector-head .icon-button{width:44px;height:44px}.inspector-tabs{gap:4px;padding:4px 8px 8px}.inspector-tabs button{height:44px;font-size:12px}.inspector-tabs svg{width:17px;height:17px}.inspector-scroll{padding:0 16px}.control-section{padding:18px 0}.text-tools .icon-button{width:44px;height:44px}.text-tools svg{width:18px;height:18px}.seg button{width:44px;height:40px}.seg svg{width:18px;height:18px}textarea{height:96px;font-size:24px}select,input[type=text]{min-height:44px;font-size:13px}.hint{font-size:11px}.preset-button{min-height:44px;font-size:12px}.subtle-button{min-height:44px}.view-actions button{min-height:44px;font-size:12px}input[type=range]{height:4px;margin:20px 0}input[type=range]::-webkit-slider-thumb{width:20px;height:20px}input[type=range]::-moz-range-thumb{width:16px;height:16px}.range-ends{font-size:10px}.palette button{width:44px;height:44px}.colors button{width:44px;height:44px}.mobile-actions{display:flex;gap:10px;position:fixed;z-index:5;bottom:0;left:0;right:0;background:#111216f5;border-top:1px solid #ffffff1a;padding:12px 12px calc(12px + env(safe-area-inset-bottom));backdrop-filter:blur(16px)}.mobile-actions button{flex:1;min-height:46px;font-size:13px;gap:8px;background:#24262c;border-color:#ffffff20}.mobile-actions button.primary{background:#f0f1f3;color:#111;border-color:#f0f1f3}#toast{bottom:calc(92px + env(safe-area-inset-bottom));max-width:calc(100% - 24px);width:max-content;text-align:center}.editor-focused .workspace{height:calc(100dvh - 142px - env(safe-area-inset-bottom))}.inspector-collapsed .inspector{width:calc(100% - 20px)}
}
@media(max-width:720px){.inspector{overflow:visible}.inspector-tabs{border-radius:8px 8px 0 0;box-shadow:0 4px 12px #0002}.inspector-head{border-radius:10px 10px 0 0}}

/* ByFel: the site's neutral palette, square navigation and frosted surfaces. */
:root{--bg:#000;--card:#121212;--text:#eee;--muted:#a3a3a3;--line:#ffffff1f;--track:#3a3a3a}body{-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility}.app-header{background:#000;border-color:#ffffff1f}.brand-lockup{display:flex;align-items:center;gap:12px;white-space:nowrap}.brand{font-size:24px;letter-spacing:-.04em}.brand-slash{color:#626262;font-size:19px}.project-brand{font-size:20px;color:#eee;text-decoration:none;letter-spacing:-.02em}.head-note{color:#828282}.workspace{background:#000}.inspector{background:rgba(32,32,32,.85);border-color:#ffffff1f;border-radius:2px;backdrop-filter:blur(40px) saturate(120%);-webkit-backdrop-filter:blur(40px) saturate(120%);box-shadow:0 8px 40px #0006}.inspector-head>span{color:#eee}.inspector-tabs{border-color:#ffffff1f}.inspector-tabs button{border-radius:1px;color:#aaa}.inspector-tabs button[aria-selected=true]{background:#383838;color:#eee}.inspector-scroll{scrollbar-color:#555 transparent}button,textarea,input[type=text],select,.seg,.colors,.view-card,#toast{border-radius:2px}button:hover{background:#303030}button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,summary:focus-visible{outline-color:#eee}textarea,input[type=text],select{background:#121212;border-color:#ffffff26}.seg{background:#121212}.seg button.active{background:#383838}.preset-button{border-color:#ffffff2b;color:#ccc}.hint,.slider-label output{color:#aaa}.micro-label,.matrix-note,.star-total{color:#999}.actions .primary,#view-save{background:#eee;color:#000}.text-tool-label{color:#aaa}.workspace-top,.workspace-bottom{color:#828282}.canvas-label #dimensions,.wheel-hint{color:#828282}.editor-focused #focus-mode{background:#232323}.view-card.active{background:#383838}.view-card img{background:#000}.mobile-actions{border-color:#ffffff1f;border-radius:0;background:rgba(32,32,32,.85);backdrop-filter:blur(40px) saturate(120%);-webkit-backdrop-filter:blur(40px) saturate(120%)}.mobile-actions button{background:#232323;border-color:#ffffff26;border-radius:1px}.mobile-actions button.primary{background:#eee;border-color:#eee}.colors b{color:#aaa}
@media(max-width:720px){.inspector,.inspector-head,.inspector-tabs{border-radius:2px}.inspector-tabs{background:#202020}.brand-lockup{gap:9px}.brand{font-size:23px}.project-brand{font-size:18px}.brand-slash{font-size:17px}}
@supports not ((backdrop-filter:blur(1px)) or (-webkit-backdrop-filter:blur(1px))){.inspector,.mobile-actions{background:#202020}}

.layout-controls{margin-top:20px}.layout-choices{display:grid;grid-template-columns:repeat(3,1fr);gap:6px}.layout-choices button{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;padding:12px 4px;min-height:94px;background:#121212;color:#aaa;font-size:11px}.layout-choices button[aria-pressed=true]{background:#383838;color:#eee;border-color:#aaa}.layout-choices svg{width:30px;height:36px;fill:none;stroke:currentColor;stroke-width:1}.layout-choices svg path{stroke-width:4}.layout-choices button:disabled{opacity:.35}.field-pair:has(>div[hidden]){grid-template-columns:1fr}[hidden]{display:none!important}

.symbol-tools{display:flex;gap:4px;flex-wrap:wrap;margin-top:8px}.symbol-tools button{flex:1;min-width:28px;min-height:36px;padding:4px;font:18px Arial;background:#121212}.symbol-tools button:hover{background:#383838}@media(max-width:720px){.symbol-tools button{min-height:44px}}

/* Three compact sections; all other controls stay outside the inspector. */
.simple-inspector{width:320px;max-height:calc(100% - 40px)}.simple-inspector .inspector-scroll{padding:0 18px}.simple-section{padding:18px 0;border-top:1px solid var(--line)}.simple-section h2{display:flex;align-items:center;gap:10px;font-size:13px;margin:0 0 14px;color:#eee}.simple-section h2 span{color:#777;font-size:10px}.simple-section label{font-size:11px;color:#aaa;margin-bottom:7px}.simple-pair{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:12px}.simple-section textarea{height:100px;max-height:160px;font-size:22px}.simple-section select{font-size:11px;min-height:38px}.simple-note{font-size:10px;color:#8d8d8d;line-height:1.5;margin:8px 0 0}.simple-section .slider-label{margin:14px 0 8px}.simple-section input[type=range]{margin:12px 0 18px}.simple-section input[type=range]:last-child{margin-bottom:4px}.simple-inspector .inspector-head{min-height:48px}#versions-dialog{width:min(460px,calc(100% - 32px));max-height:85dvh;background:#202020;color:#eee;border:1px solid #444;border-radius:2px;padding:20px;overflow:auto}#versions-dialog::backdrop{background:#0008;backdrop-filter:blur(6px)}.versions-head{display:flex;align-items:center;justify-content:space-between;gap:20px}.versions-head h2{font-size:16px;margin:0}#versions-close{min-width:40px;min-height:40px;background:transparent}#versions-dialog #panel-save{display:block}#versions-dialog #views-section{border:0}#versions-dialog #views-section>h2{display:none}
@media(max-width:720px){.simple-inspector{width:calc(100% - 20px);max-height:none}.simple-section{padding:18px 0}.simple-section select{min-height:44px;font-size:12px}.simple-section label{font-size:12px}.simple-section h2{font-size:14px}.simple-note{font-size:11px}.simple-inspector .inspector-scroll{padding:0 16px}.simple-section input[type=range]{margin:20px 0}.simple-section input[type=range]:last-child{margin-bottom:8px}#versions-open{min-height:44px}}
/* Phone editor: canvas first, three compact tools within thumb reach. */
.mobile-editor-tabs{display:none}.axis-ends{display:flex;justify-content:space-between;font-size:10px;color:#888;margin-top:-8px;margin-bottom:16px}.simple-section input[type=range]{touch-action:pan-y}.simple-section input[type=range]::-webkit-slider-thumb{width:18px;height:18px;border:3px solid #202020;background:#eee;box-shadow:0 0 0 1px #888}.simple-section input[type=range]::-moz-range-thumb{width:14px;height:14px;border:3px solid #202020;background:#eee}#poster{cursor:text}#canvas-empty{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;color:#777;font-size:20px;pointer-events:none;gap:8px}#canvas-empty small{font-size:12px;color:#999}.simple-section h2{letter-spacing:-.02em}
@media(max-width:720px){
 :root{--editor-height:260px;--header-height:54px;--actions-height:76px}
 body{height:100dvh;overflow:hidden;padding:0;background:#000}
 body[data-editor-pane=message]{--editor-height:248px}body[data-editor-pane=composition]{--editor-height:252px}
 .app-header{height:var(--header-height);min-height:var(--header-height);padding:0 14px;border:0;position:relative;background:#000}
 .head-note,.actions #svg,.actions #png,.actions #redo,.actions .toolbar-divider{display:none}.actions{margin-left:auto;gap:5px}.actions #versions-open{border:0;background:transparent;font-size:11px;padding:8px;min-height:40px}.brand{font-size:22px}.project-brand{font-size:17px}
 main{height:calc(100dvh - var(--header-height));min-height:0;display:block;position:relative}
 .workspace{height:calc(100dvh - var(--header-height) - var(--editor-height) - var(--actions-height) - env(safe-area-inset-bottom));min-height:100px;padding:0 14px;background:#000}
 .workspace-top{height:20px;font-size:8px}.canvas-label{font-size:8px}.canvas-label #dimensions{font-size:8px}.workspace-top #focus-mode{display:none}.workspace-bottom{display:none}
 .art-area{height:100%;min-height:0}#poster{inset:8px 0}#poster svg{filter:none}.editor-focused .workspace{height:calc(100dvh - var(--header-height) - var(--actions-height));padding:0 12px}
 .simple-inspector{position:fixed;left:0;right:0;bottom:calc(var(--actions-height) + env(safe-area-inset-bottom));width:100%;height:var(--editor-height);max-width:none;max-height:none;margin:0;border:0;border-top:1px solid #ffffff1a;border-radius:18px 18px 0 0;background:#161616;box-shadow:none;backdrop-filter:none;overflow:hidden}
 .simple-inspector .inspector-head{display:none}.simple-inspector .inspector-content{display:flex;flex-direction:column;height:100%}
 .mobile-editor-tabs{display:flex;align-items:center;justify-content:center;gap:6px;padding:8px 14px 0;height:48px;flex-shrink:0}
 .mobile-editor-tabs button{flex:1;display:flex;align-items:center;justify-content:center;gap:7px;min-height:36px;padding:6px 8px;border:0;border-radius:30px;background:transparent;color:#8d8d8d;font-size:12px}
 .mobile-editor-tabs button span{font-size:17px}.mobile-editor-tabs button[aria-pressed=true]{background:#303030;color:#fff}
 .simple-inspector .inspector-scroll{padding:0 20px 12px;overflow-y:auto;flex:1;min-height:0}
 .simple-section{display:none;padding:12px 0 0;border:0}.simple-section h2{display:none}
 body[data-editor-pane=message] .simple-section[aria-labelledby=message-heading],body[data-editor-pane=type] .simple-section[aria-labelledby=stars-heading],body[data-editor-pane=composition] .simple-section[aria-labelledby=composition-heading]{display:block}
 .simple-section label{font-size:11px;margin-bottom:5px}.simple-section textarea{height:74px;min-height:64px;max-height:90px;font-size:24px;line-height:1.1;border:0;background:#242424;border-radius:8px;padding:10px}
 .simple-note{display:none}.simple-pair{margin-top:10px;gap:10px}.simple-section select{height:40px;min-height:40px;font-size:12px;border-radius:7px;background:#242424;border:0;padding:8px 10px}
 .simple-section .slider-label{margin:4px 0 4px;font-size:12px;color:#ddd}.simple-section .slider-label output{color:#999;font-size:11px}
 .simple-section input[type=range]{height:4px;margin:14px 0 12px;background:#3a3a3a}.simple-section input[type=range]::-webkit-slider-thumb{width:24px;height:24px;border:4px solid #161616;box-shadow:0 0 0 1px #7e7e7e}.simple-section input[type=range]::-moz-range-thumb{width:18px;height:18px;border:4px solid #161616}
 .axis-ends{font-size:9px;margin:0 0 12px}.simple-section #fit-label{font-size:11px;color:#aaa}.simple-section #fit-control{margin:12px 0 4px;height:3px}
 .mobile-actions{height:calc(var(--actions-height) + env(safe-area-inset-bottom));padding:12px 16px calc(12px + env(safe-area-inset-bottom));background:#161616;border:0;backdrop-filter:none;gap:10px}
 .mobile-actions button{min-height:46px;border-radius:25px;border:0;background:#303030;color:#eee;font-size:12px}.mobile-actions button.primary{background:#eee;color:#000}.mobile-actions svg{width:17px;height:17px}
 #toast{bottom:calc(var(--editor-height) + var(--actions-height) + 10px);border-radius:9px;font-size:11px}
 #canvas-empty{font-size:16px}#canvas-empty small{font-size:10px}
}
@media(max-width:720px) and (max-height:600px){:root{--editor-height:224px;--actions-height:60px}.axis-ends{margin-bottom:8px}.simple-section input[type=range]{margin:10px 0}.mobile-actions{padding-top:7px;padding-bottom:7px}.mobile-actions button{min-height:40px}}
.round-switch{display:flex;align-items:center;justify-content:space-between;width:100%;min-height:38px;padding:8px 0;border:0;background:transparent;color:#aaa;font-size:11px}.round-switch:hover{background:transparent}.round-switch i{position:relative;width:36px;height:21px;border-radius:20px;background:#414141;transition:background .15s}.round-switch i::after{content:'';position:absolute;top:3px;left:3px;width:15px;height:15px;border-radius:50%;background:#aaa;transition:transform .15s}.round-switch[aria-checked=true] i{background:#eee}.round-switch[aria-checked=true] i::after{background:#111;transform:translateX(15px)}
@media(max-width:720px){.round-switch{min-height:44px;font-size:12px;padding:4px 0;color:#ddd}.round-switch i{width:40px;height:24px}.round-switch i::after{width:18px;height:18px}.round-switch[aria-checked=true] i::after{transform:translateX(16px)}}
@media(max-width:720px){body.keyboard-open .workspace{visibility:hidden}body.keyboard-open .simple-inspector{top:54px;bottom:auto;height:220px;border-radius:0}body.keyboard-open .mobile-actions{visibility:hidden}}
.compose-modes{display:flex;gap:4px;padding:4px;background:#121212;border-radius:6px}.compose-modes button{flex:1;min-height:38px;padding:8px;border:0;background:transparent;color:#888;font-size:12px}.compose-modes button[aria-pressed=true]{background:#383838;color:#eee}.align-icons{display:flex;flex:1;gap:4px}.align-icons button{flex:1;height:36px;padding:8px;border:0;background:#242424;color:#999}.align-icons button[aria-pressed=true]{background:#444;color:#fff}.align-icons svg{display:block;width:18px;height:18px;margin:auto;fill:none;stroke:currentColor;stroke-width:1.6}#free-align{display:flex;gap:10px;margin-top:10px}
@media(max-width:720px){body[data-editor-pane=composition]{--editor-height:292px}.compose-modes{border-radius:10px;background:#242424}.compose-modes button{min-height:40px;border-radius:7px}.align-icons button{height:40px;border-radius:6px}.align-icons svg{width:19px;height:19px}.simple-section input:disabled{opacity:.35}}
@media(max-width:720px){#free-align{gap:6px}.align-icons{gap:0;border-radius:6px;overflow:hidden}.align-icons button{height:44px;min-height:44px;border-radius:0}}
@media(max-width:720px){body[data-editor-pane=composition]{--editor-height:248px}}
