:root,[data-theme=light]{--bg: #f2f2f7;--card: #ffffff;--raised: #e3e3e8;--text: #000000;--muted: #6c6c70;--line: #d1d1d6;--track: #d1d1d6;--stage: #e9e9ee;--bar: rgba(249, 249, 251, .82);--accent: #d63848;--accent-text: #c02848;--on-accent: #ffffff;color-scheme:light}[data-theme=dark]{--bg: #000000;--card: #1c1c1e;--raised: #2c2c2e;--text: #ffffff;--muted: #98989f;--line: #38383a;--track: #3a3a3c;--stage: #0b0b0c;--bar: rgba(22, 22, 24, .78);--accent: #d63848;--accent-text: #ff8a7a;--on-accent: #ffffff;color-scheme:dark}@media(prefers-color-scheme:dark){[data-theme=auto]{--bg: #000000;--card: #1c1c1e;--raised: #2c2c2e;--text: #ffffff;--muted: #98989f;--line: #38383a;--track: #3a3a3c;--stage: #0b0b0c;--bar: rgba(22, 22, 24, .78);--accent-text: #ff8a7a;color-scheme:dark}}*{box-sizing:border-box}html,body,#root{height:100%;margin:0}body{background:var(--bg);color:var(--text);font:15px/1.35 -apple-system,BlinkMacSystemFont,SF Pro Text,Inter,Helvetica Neue,sans-serif;letter-spacing:-.01em;-webkit-font-smoothing:antialiased;-webkit-tap-highlight-color:transparent}button{font:inherit;color:inherit;background:none;border:0;padding:0;cursor:pointer}button:disabled{opacity:.35;cursor:default}button:focus-visible,input:focus-visible{outline:2px solid var(--accent);outline-offset:2px}.app{height:100%;display:flex;flex-direction:column}.bar{display:flex;align-items:center;gap:12px;flex-shrink:0;background:var(--bar);backdrop-filter:blur(20px);-webkit-backdrop-filter:blur(20px)}.top{height:calc(52px + env(safe-area-inset-top));padding:env(safe-area-inset-top) 8px 0 16px;border-bottom:.5px solid var(--line)}.brand{font-size:17px;font-weight:600}.file{flex:1;min-width:0;font-size:13px;color:var(--muted);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.actions{display:flex}.icon{width:44px;height:44px;display:grid;place-items:center}.bottom{height:calc(64px + env(safe-area-inset-bottom));padding:0 16px env(safe-area-inset-bottom);border-top:.5px solid var(--line)}.text{height:44px;padding:0 8px;color:var(--accent-text);font-size:17px}.primary{margin-left:auto;height:44px;padding:0 22px;border-radius:22px;background:var(--accent);color:var(--on-accent);font-size:17px;font-weight:600}.workspace{flex:1;min-height:0;display:flex;flex-direction:column}.stage{position:relative;flex:0 0 42%;min-height:220px;display:grid;place-items:center;padding:12px 16px;background:var(--bg)}.photo{max-width:100%;max-height:100%;border-radius:14px;touch-action:none;user-select:none;-webkit-user-select:none;-webkit-touch-callout:none}.photo.hidden{display:none}.empty{display:flex;flex-direction:column;align-items:center;gap:6px;padding:28px 32px;border:1.5px dashed var(--line);border-radius:18px;color:var(--muted);text-align:center}.empty-title{color:var(--accent-text);font-size:17px;font-weight:600}.empty-sub{font-size:13px}.chip{position:absolute;left:28px;bottom:22px;padding:5px 10px;border-radius:14px;background:#0006;color:#fff;font-size:12px;font-weight:500;backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px);pointer-events:none}.error{position:absolute;bottom:8px;margin:0;color:var(--accent-text);font-size:13px}.inspector{flex:1;min-height:0;display:flex;flex-direction:column;background:var(--bg)}.segmented{display:flex;margin:4px 16px;padding:2px;border-radius:9px;background:var(--raised)}.seg{flex:1 1 0;min-width:0;height:32px;border-radius:7px;font-size:13px;font-weight:600}.seg.active{background:var(--card);box-shadow:0 3px 8px #0000001f,0 1px 1px #0000000a}.panel{flex:1;overflow-y:auto;padding:0 16px 24px;-webkit-overflow-scrolling:touch}.group h2{margin:16px 0 6px 16px;font-size:13px;font-weight:400;color:var(--muted)}.card{background:var(--card);border-radius:12px;padding:4px 16px}.card.list{padding:0;overflow:hidden}.row{width:100%;height:44px;padding:0 16px;display:flex;align-items:center;justify-content:space-between;text-align:left;font-size:16px}.row+.row{border-top:.5px solid var(--line)}.check{color:var(--accent-text);font-weight:600}.soon{margin:32px 16px;color:var(--muted)}.hint{margin:8px 16px 0;font-size:13px;color:var(--muted)}.segmented.inline{margin:16px 0 0}.swatch{display:inline-block;width:10px;height:10px;margin-right:8px;border-radius:50%;vertical-align:1px}.switch-row{display:flex;align-items:center;justify-content:space-between;min-height:44px;font-size:16px}.switch{-webkit-appearance:none;appearance:none;position:relative;width:51px;height:31px;margin:0;border-radius:16px;background:var(--raised);cursor:pointer;transition:background .2s}.switch:after{content:"";position:absolute;top:2px;left:2px;width:27px;height:27px;border-radius:50%;background:#fff;box-shadow:0 3px 8px #00000026,0 1px 1px #00000029;transition:transform .2s}.switch:checked{background:var(--accent)}.switch:checked:after{transform:translate(20px)}.slider{padding:8px 0 2px}.slider-head{display:flex;justify-content:space-between;align-items:baseline}.slider-head label{font-size:15px;user-select:none;-webkit-user-select:none}.value{font-size:15px;color:var(--muted);font-variant-numeric:tabular-nums}.value.changed{color:var(--accent-text)}input[type=range]{-webkit-appearance:none;appearance:none;width:100%;height:30px;margin:0;background:transparent}input[type=range]::-webkit-slider-runnable-track{height:4px;border-radius:2px;background:var(--track)}input[type=range]::-moz-range-track{height:4px;border-radius:2px;background:var(--track)}input[type=range]::-webkit-slider-thumb{-webkit-appearance:none;width:26px;height:26px;margin-top:-11px;border-radius:50%;background:#fff;box-shadow:0 .5px 4px #00000038,0 3px 8px #00000024}input[type=range]::-moz-range-thumb{width:26px;height:26px;border:0;border-radius:50%;background:#fff;box-shadow:0 .5px 4px #00000038,0 3px 8px #00000024}@media(min-width:900px){.workspace{flex-direction:row}.stage{flex:1;min-height:0;background:var(--stage);padding:24px}.photo{border-radius:16px;box-shadow:0 20px 50px #00000040}.inspector{flex:0 0 360px;border-left:.5px solid var(--line);padding-top:8px}}
