:root{font-family:Inter,"Helvetica Neue",Arial,sans-serif;font-synthesis:none;color-scheme:light;--bg:#f6f7f9;--surface:#fff;--inset:#f3f4f7;--text:#24272e;--muted:#858b97;--line:#e5e8ee;--accent:#325ef0;--accent-ink:#fff;--green:#396d49;background:var(--bg);color:var(--text)}
:root[data-theme=dark]{color-scheme:dark;--bg:#111318;--surface:#1b1e26;--inset:#242833;--text:#e6e9f0;--muted:#94a0b3;--line:#303541;--accent:#7b9aff;--accent-ink:#111318;--green:#a6cdaa}
*{box-sizing:border-box}html,body{margin:0;height:100%;overflow:hidden}button,input,select{font:inherit;color:inherit}button{cursor:pointer;border:0;background:none}button:disabled{opacity:.45;cursor:wait}a{color:inherit;text-decoration:none}button,input,select{outline-offset:4px}button:focus-visible,input:focus-visible,select:focus-visible,a:focus-visible{outline:2px solid var(--accent)}[hidden]{display:none!important}svg{fill:none;stroke:currentColor;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round}button{transition:background .2s,transform .2s}button:active{transform:translateY(1px)}
.shell{max-width:1440px;margin:auto;height:100dvh;padding:0 48px;display:flex;flex-direction:column}.masthead{height:88px;flex-shrink:0;display:flex;align-items:center;border-bottom:1px solid var(--line);gap:36px}.brand{font-size:32px;font-weight:750;letter-spacing:-2px;display:flex;align-items:center;gap:10px}.brand-symbol{font-size:35px;color:var(--accent);font-weight:400;letter-spacing:0}.brand-dot{font-size:10px;align-self:flex-start;margin:7px 0 0 -7px;letter-spacing:0}.edition{font-family:monospace;font-size:9px;letter-spacing:1.6px;color:var(--muted)}.header-actions{margin-left:auto;display:flex;align-items:center;gap:20px}.local{font-size:11px;display:flex;align-items:center;gap:8px}.local i,.live-label i{width:5px;height:5px;background:var(--green);border-radius:50%}.icon-button{width:32px;height:32px;display:grid;place-items:center;color:var(--muted);border-radius:50%}.icon-button:hover{background:var(--inset);color:var(--text)}.theme-toggle{border:1px solid var(--line)}.theme-toggle svg{width:15px}.sun,[data-theme=dark] .moon{display:none}[data-theme=dark] .sun{display:block}
main{flex:1;min-height:0;display:flex;flex-direction:column;padding:32px 0 24px}.intro{display:flex;justify-content:space-between;align-items:flex-end;margin-bottom:30px;flex-shrink:0}h1{font-size:clamp(27.225px,3.465vw,48.2625px);font-weight:550;letter-spacing:-4px;line-height:.97;margin:0}h1>span{color:var(--accent)}.intro-note{position:relative;padding-left:48px;padding-bottom:4px;margin-right:8px}.note-mark{position:absolute;left:0;top:0;color:var(--accent);font-size:36px;font-weight:300}.intro-note p{font-size:17px;line-height:1.25;letter-spacing:-.4px;margin:0 0 10px}.note-detail{font-size:10px;color:var(--muted)}
.studio{display:grid;grid-template-columns:270px minmax(0,1fr);border:1px solid var(--line);border-radius:18px;background:var(--surface);flex:1;min-height:0;overflow:hidden}.settings-panel{border-right:1px solid var(--line);display:flex;flex-direction:column;padding:22px;gap:22px;min-height:0}.section-heading{display:flex;align-items:center;gap:10px;flex-shrink:0}.section-index{font-family:monospace;color:var(--muted);font-size:10px}.section-heading h2{font-size:12px;letter-spacing:-.1px;font-weight:550;margin:0}.section-heading>span:last-child{margin-left:auto;font-size:15px;color:var(--muted)}.setting-group{display:flex;flex-direction:column;gap:16px}.toolbar-field{display:flex;flex-direction:column;gap:9px;font-size:11px}.toolbar-field>span{color:var(--muted)}select{appearance:none;background:var(--inset) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12'%3E%3Cpath d='m3 4 3 3 3-3' fill='none' stroke='%2383857d' stroke-width='1.3'/%3E%3C/svg%3E") no-repeat right 12px center;border:1px solid var(--line);border-radius:7px;padding:11px 32px 11px 12px;font-size:12px;cursor:pointer}.control-label{font-size:11px;display:flex;justify-content:space-between;color:var(--muted)}.control-label span{font-size:9px;opacity:.8}.target-row{gap:10px;padding-top:20px;border-top:1px solid var(--line)}.targets{display:grid;grid-template-columns:repeat(4,1fr);gap:3px;background:var(--inset);padding:3px;border-radius:7px;border:1px solid var(--line)}.targets button{padding:8px 0;font-size:10px;border-radius:4px;white-space:nowrap}.targets button.selected{background:var(--text);color:var(--bg)}.targets button:first-child{font-size:17px;line-height:12px}.custom-target{display:flex;border:1px solid var(--line);border-radius:7px;overflow:hidden}.custom-target input{width:100%;min-width:0;border:0;background:transparent;padding:11px 12px;font-size:11px;appearance:textfield}.custom-target input::-webkit-inner-spin-button{appearance:none}.custom-target select{border:0;border-left:1px solid var(--line);border-radius:0;font-size:10px;padding:8px 26px 8px 10px;background-position:right 8px center}.resize-switch{display:flex;align-items:center;gap:8px;font-size:10px;cursor:pointer;position:relative;margin-top:3px}.resize-switch input{position:absolute;opacity:0;width:28px;height:16px}.switch-track{width:28px;height:16px;border-radius:20px;background:var(--line);position:relative}.switch-track:after{content:"";position:absolute;left:3px;top:3px;width:10px;height:10px;border-radius:50%;background:var(--surface);transition:transform .2s}.resize-switch input:checked+.switch-track{background:var(--accent)}.resize-switch input:checked+.switch-track:after{transform:translateX(12px)}.resize-switch input:focus-visible+.switch-track{outline:2px solid var(--accent);outline-offset:3px}.settings-note{display:flex;gap:10px;margin-top:auto;padding-top:10px}.settings-note svg{width:20px;align-self:flex-start;color:var(--muted)}.settings-note p{font-size:10px;line-height:1.6;margin:0}.settings-note span{font-size:9px;color:var(--muted)}.lossless{font-size:11px;color:var(--green)}
.canvas-panel{padding:22px;display:flex;flex-direction:column;min-height:0;min-width:0;gap:14px}.section-heading .live-label{font-family:monospace;font-size:8px;letter-spacing:1px;display:flex;align-items:center;gap:8px}.drop-panel{flex:1;min-height:0;display:flex;flex-direction:column;border:1px dashed var(--line);border-radius:10px;background:radial-gradient(var(--line) .7px,transparent .7px) 0 0/14px 14px;transition:background .2s,border-color .2s;overflow:hidden}.drop{display:flex;flex:1;min-height:100px;flex-direction:column;align-items:center;justify-content:center;position:relative;width:100%;padding:20px;color:var(--text)}.drop:hover{background:#325ef004}.drop.dragging{background:#325ef012}.drop-panel:has(.dragging){border-color:var(--accent);box-shadow:inset 0 0 0 1px var(--accent)}.sculpture{position:relative;width:130px;height:108px;perspective:600px;margin-bottom:18px;transition:transform .5s}.drop:hover .sculpture{transform:translateY(-5px) rotate(-3deg)}.art-card{position:absolute;width:78px;height:88px;border-radius:9px;border:1px solid #fff8;box-shadow:2px 10px 18px #182a5820;top:5px;left:25px}.card-back{background:#a6b5ff;transform:translate(-22px,0) rotate(-18deg)}.card-middle{background:#6582f5;transform:translate(0,0) rotate(-4deg)}.card-front{display:grid;place-items:center;background:linear-gradient(145deg,#fff,#e9edff);color:#325ef0;transform:translate(20px,7px) rotate(13deg)}.card-front svg{width:54px;stroke-width:1.4}.art-stamp{position:absolute;bottom:0;right:0;display:grid;place-items:center;width:35px;height:35px;background:#325ef0;color:#fff;border-radius:50%;box-shadow:0 2px 0 #182d9b;font-size:22px}.drop-title{font-size:21px;letter-spacing:-.7px;font-weight:550}.drop-sub{font-size:11px;color:var(--muted);margin-top:9px}.drop-sub>span{color:var(--text);text-decoration:underline;text-underline-offset:3px}.drop-types{display:flex;gap:14px;margin-top:22px;font:9px monospace;color:var(--muted)}.workspace-bottom{display:flex;justify-content:space-between;font-size:9px;color:var(--muted);flex-shrink:0}.workspace-bottom>span:last-child{font:8px monospace;letter-spacing:.7px}.has-files .drop{flex:0 0 58px;min-height:58px;padding:10px;border-bottom:1px dashed var(--line)}.has-files .sculpture,.has-files .drop-types{display:none}.has-files .drop-title{font-size:12px;letter-spacing:0}.has-files .drop-sub{font-size:9px;margin-top:4px}.batch{min-height:0;flex:1;display:flex;flex-direction:column;padding:12px 16px;background:var(--surface)}.batch-heading{display:flex;justify-content:space-between;align-items:center;flex-shrink:0;margin-bottom:6px;font-size:10px}.total{margin-left:10px;color:var(--muted)}.text-button{font-size:9px;color:var(--muted);padding:5px 0}.files{list-style:none;margin:0;padding:0;overflow-y:auto;max-height:252px;scrollbar-gutter:stable;min-height:0}.file{display:flex;align-items:center;gap:10px;height:63px;border-bottom:1px solid var(--line)}.file:last-child{border-bottom:0}.thumb{width:36px;height:36px;object-fit:cover;border-radius:5px;background:var(--inset)}.file-info{flex:1;min-width:0}.filename{font-size:11px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.file-meta{display:flex;align-items:center;gap:5px;font-size:9px;color:var(--muted);margin-top:6px}.file-size{color:var(--text)}.file-badge{font:9px monospace;padding:5px 6px;border:1px solid var(--line);border-radius:5px;color:var(--green);white-space:nowrap}.file-badge.error{color:#ae713c}.row-actions{display:flex;gap:2px}.row-actions .icon-button{width:26px;height:26px;font-size:18px}.row-actions svg{width:15px}.spinner{width:9px;height:9px;border:1.5px solid var(--line);border-top-color:var(--accent);border-radius:50%;animation:spin .7s linear infinite}.working .thumb{opacity:.5}.working .file-meta{color:var(--accent)}
#batch-actions{flex-shrink:0}.action-bar{display:flex;flex-direction:column;gap:10px}.savings-summary{display:flex;align-items:center;gap:10px;background:var(--inset);padding:12px;border-radius:8px;animation:appear .35s ease}.savings-icon{width:30px;height:30px;display:grid;place-items:center;color:var(--accent);font-size:24px}.savings-summary>span:nth-child(2){display:flex;flex-direction:column;gap:3px}.savings-summary strong{font-size:13px;font-weight:550;font-variant-numeric:tabular-nums}.savings-caption{font-size:9px;color:var(--muted)}.savings-percent{margin-left:auto;font:10px monospace;color:var(--green)}.processing-summary{font:10px monospace;color:var(--accent);padding:8px 0;text-align:center}.primary{display:flex;align-items:center;justify-content:space-between;width:100%;padding:15px 18px;border-radius:8px;background:var(--accent);color:var(--accent-ink);font-size:12px;font-weight:550}.primary>span{font-size:20px;line-height:14px}.primary:hover{filter:brightness(1.08)}.notice{margin:0;font-size:10px;color:#ad6a35;line-height:1.5}.actions{display:flex}footer{height:48px;flex-shrink:0;display:flex;align-items:center;justify-content:space-between;border-top:1px solid var(--line);font-size:9px;color:var(--muted)}footer>span:last-child{color:var(--text)}footer span span{margin-left:12px;color:var(--accent);font-size:15px}
#preview{box-sizing:border-box;border:1px solid var(--line);background:var(--surface);color:var(--text);border-radius:14px;padding:18px;max-width:calc(100vw - 32px);max-height:calc(100dvh - 32px);overflow:hidden;box-shadow:0 30px 100px #0003}#preview[open]{display:flex;flex-direction:column}#preview::backdrop{background:#151b2880;backdrop-filter:blur(12px)}.preview-heading{display:flex;align-items:center;justify-content:space-between;height:34px;flex:0 0 34px;margin-bottom:8px}.preview-kicker{font:8px monospace;letter-spacing:1.4px;color:var(--muted)}.compare{position:relative;flex:none;min-height:0;width:100%;overflow:hidden;cursor:ew-resize;touch-action:none;user-select:none;border-radius:5px;background:repeating-conic-gradient(var(--inset) 0% 25%,var(--surface) 0% 50%) 0/16px 16px}.compare img{position:absolute;inset:0;display:block;width:100%;height:100%;object-fit:contain;object-position:center;pointer-events:none;max-width:none}#after-layer{position:absolute;inset:0;width:100%;height:100%;clip-path:inset(0 0 0 50%);pointer-events:none}#divider{position:absolute;left:50%;top:0;bottom:0;width:1px;background:#fff;transform:translateX(-50%);pointer-events:none;z-index:2;box-shadow:0 0 3px #0006}.divider-handle{position:absolute;left:50%;top:50%;display:flex;align-items:center;justify-content:center;gap:3px;width:26px;height:26px;border-radius:50%;background:#fff;color:#20221f;font-size:18px;transform:translate(-50%,-50%) scale(.85);opacity:0;transition:opacity .15s,transform .15s;box-shadow:0 2px 10px #0003}.divider-handle>span{height:12px;width:1px;background:#ddd}.handle-near .divider-handle,.handle-dragging .divider-handle,.compare:has(.comparison-input:focus-visible) .divider-handle{opacity:1;transform:translate(-50%,-50%) scale(1)}.comparison-input{position:absolute;width:1px;height:1px;opacity:0;margin:-1px;pointer-events:none}.compare:has(.comparison-input:focus-visible) .divider-handle{outline:2px solid var(--accent);outline-offset:3px}.comparison-labels{position:absolute;inset:12px 12px auto;z-index:4;display:flex;justify-content:space-between;pointer-events:none}.comparison-tag{padding:6px 10px;border-radius:30px;background:#222a32bb;color:#fff;border:1px solid #ffffff25;backdrop-filter:blur(10px);font-size:9px;font-weight:550}.after-tag{background:#325ef0dd}.after-tag>span{margin-left:5px}
@keyframes spin{to{transform:rotate(360deg)}}@keyframes appear{from{opacity:0;transform:translateY(4px)}to{opacity:1;transform:translateY(0)}}
@media(max-height:850px){.masthead{height:70px}main{padding:24px 0 18px}.intro{margin-bottom:24px}h1{font-size:35.8875px}.settings-panel,.canvas-panel{padding:18px}.settings-panel{gap:18px}.sculpture{transform:scale(.85);margin-bottom:7px}.drop-title{font-size:18px}.drop-types{margin-top:16px}.setting-group{gap:12px}.target-row{gap:9px;padding-top:14px}}
@media(max-height:700px){.masthead{height:56px}main{padding:16px 0}.intro{margin-bottom:16px}h1{font-size:27.225px;letter-spacing:-2.5px}.intro-note p{font-size:14px}.settings-panel,.canvas-panel{padding:14px}.settings-panel{gap:12px}.toolbar-field{gap:6px}select{padding-top:8px;padding-bottom:8px}.settings-note{display:none}.sculpture{height:80px;transform:scale(.7);margin-bottom:0}.drop{padding:10px}.drop-types{margin-top:12px}.studio{grid-template-columns:240px minmax(0,1fr)}.canvas-panel{gap:10px}.savings-summary{padding:8px}.primary{padding:12px 16px}footer{height:36px}}
@media(max-width:900px){.shell{padding:0 24px}.edition{display:none}.studio{grid-template-columns:220px minmax(0,1fr)}.settings-panel{padding:16px}.canvas-panel{padding:16px}.intro-note{margin-right:0}.workspace-bottom>span:last-child{display:none}.drop-sub{font-size:10px}.file-badge{font-size:8px}.row-actions{gap:0}}
@media(max-width:600px){.shell{padding:0 16px}.masthead{height:58px}.brand{font-size:27px}.brand-symbol{font-size:29px}.local{font-size:9px}.header-actions{gap:12px}main{padding:16px 0 12px}.intro{margin-bottom:18px}h1{font-size:24.75px;letter-spacing:-2px}.intro-note{padding-left:0;padding-bottom:0}.note-mark,.note-detail{display:none}.intro-note p{font-size:11px;margin:0;line-height:1.5}.studio{display:flex;flex-direction:column;border-radius:12px}.settings-panel{display:grid;grid-template-columns:1fr 1fr;padding:12px;gap:12px;border-right:0;border-bottom:1px solid var(--line);flex-shrink:0}.settings-panel>.section-heading,.settings-note{display:none}.toolbar{gap:9px}.toolbar-field{gap:5px;font-size:9px}select{padding:8px 25px 8px 9px;font-size:10px}.target-row{border:0;padding:0;gap:7px}.control-label{font-size:9px}.control-label>span{display:none}.targets button{font-size:8px;padding:7px 0}.custom-target input{padding:8px;font-size:9px}.custom-target select{font-size:9px}.resize-switch{font-size:9px;margin:0}.canvas-panel{padding:12px;flex:1;gap:10px}.section-heading h2{font-size:10px}.section-heading .live-label{font-size:7px}.drop{min-height:80px}.sculpture{transform:scale(.65);height:78px;margin:0}.drop-title{font-size:15px}.drop-sub{font-size:9px;margin-top:7px}.drop-types{font-size:8px;margin-top:13px;gap:12px}.workspace-bottom{font-size:8px}.batch{padding:8px 10px}.has-files .drop{height:44px;min-height:44px;flex-basis:44px}.files{max-height:208px}.file{height:52px;gap:8px}.thumb{width:29px;height:29px}.filename{font-size:10px}.file-meta{font-size:8px}.file-badge{padding:4px}.row-actions .icon-button{width:23px}.savings-summary{padding:8px}.savings-summary strong{font-size:11px}.savings-caption{font-size:8px}.savings-percent{font-size:9px}.primary{padding:12px}.action-bar{gap:8px}footer{height:34px;font-size:8px}footer span span{margin-left:6px}.comparison-labels{inset:8px 8px auto}.comparison-tag{font-size:8px;padding:5px 8px}}
@media(max-width:600px) and (max-height:700px){.intro{margin-bottom:12px}h1{font-size:19.8px}.intro-note{display:none}.masthead{height:48px}.settings-panel{padding:9px}.canvas-panel{padding:9px;gap:7px}.sculpture{display:none}.drop-types{margin-top:10px}.drop{min-height:65px}.has-files .drop-sub{display:none}.has-files .drop{min-height:30px;flex-basis:30px}.workspace-bottom{display:none}.savings-caption{display:none}footer{height:28px}.file{height:48px}.files{max-height:192px}}
@media(hover:none){.divider-handle{opacity:1;transform:translate(-50%,-50%) scale(1)}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}

/* Original Syby mark. */
.brand{gap:10px;font-size:27px;font-weight:750;letter-spacing:-1.4px}
.brand-mark{display:grid;place-items:center;width:29px;height:29px;border-radius:9px;background:#325ef0;color:#fff;font-size:24px;font-weight:500;letter-spacing:0}
.brand-period{color:var(--accent);margin-left:-10px}

/* Understated, consistent section markers. */
.section-index{display:inline-flex;align-items:center;justify-content:center;width:24px;height:24px;flex:0 0 24px;border:1px solid var(--line);border-radius:7px;background:var(--inset);color:var(--accent);font-size:9px;font-weight:600;font-variant-numeric:tabular-nums;letter-spacing:0}
.section-heading{gap:9px}

.preview-heading{justify-content:flex-end}

.primary{justify-content:center;gap:9px}.primary .download-icon{width:17px;height:17px;flex:0 0 17px;stroke-width:1.7}
/* More legible file details and larger row actions. */
.file{height:76px;gap:13px}
.files{max-height:304px}
.thumb{width:46px;height:46px;border-radius:7px}
.filename{font-size:13px;font-weight:550}
.file-meta{font-size:11px;gap:7px;margin-top:7px}
.file-badge{font-size:11px;padding:6px 8px}
.row-actions{gap:5px}
.row-actions .icon-button{width:36px;height:36px;font-size:22px}
.row-actions svg{width:20px;height:20px}
@media(max-width:600px){.file{height:68px;gap:10px}.files{max-height:272px}.thumb{width:38px;height:38px}.filename{font-size:12px}.file-meta{font-size:10px;gap:5px}.file-badge{font-size:10px;padding:5px}.row-actions{gap:2px}.row-actions .icon-button{width:32px;height:32px;font-size:21px}.row-actions svg{width:18px;height:18px}}
.format-badge{display:inline-flex;align-items:center;padding:3px 5px;border-radius:4px;background:var(--inset);border:1px solid var(--line);color:var(--muted);font-size:9px;line-height:1;font-weight:600;letter-spacing:.2px}
.format-badge.output-format{background:#325ef012;border-color:#325ef025;color:var(--accent)}
[data-theme=dark] .format-badge.output-format{background:#7b9aff15;border-color:#7b9aff25}
@media(max-width:600px){.format-badge{font-size:8px;padding:3px 4px}.file-meta{gap:4px;flex-wrap:wrap}}
