:root{color:#f4f4f5;font-synthesis:none;background:#101116;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}*{box-sizing:border-box}body{min-width:320px;margin:0}button,input,textarea,select{font:inherit}button{cursor:pointer;border:0}button:disabled{cursor:not-allowed;opacity:.35}button:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{outline-offset:2px;outline:2px solid #bba1f5}.app-shell{background:#101116;flex-direction:column;height:100dvh;min-height:620px;display:flex;overflow:hidden}.topbar{background:#101116;border-bottom:1px solid #2b2c34;flex:none;align-items:center;gap:28px;height:64px;padding:0 22px;display:flex}.brand{letter-spacing:-.04em;white-space:nowrap;flex:none;align-items:center;gap:11px;width:265px;font-size:17px;font-weight:740;display:flex}.brand-light{color:#b9b9c0;font-weight:450}.brand-mark{grid-template-rows:repeat(2,10px);grid-template-columns:repeat(2,10px);gap:3px;width:27px;height:27px;display:grid;transform:rotate(-9deg)}.brand-mark span{background:#a789ee;border-radius:2px}.brand-mark span:nth-child(2){opacity:.58}.brand-mark span:nth-child(3){opacity:.35}.project-title{align-items:center;gap:12px;min-width:0;display:flex}.project-title input{color:#f4f4f5;background:0 0;border:0;width:180px;min-width:0;padding:8px 0;font-size:14px;font-weight:570}.save-state{color:#91919c;white-space:nowrap;font-size:12px}.header-actions{align-items:center;gap:6px;margin-left:auto;display:flex}.icon-button{color:#a7a7b2;background:0 0;border-radius:7px;flex:none;justify-content:center;align-items:center;width:38px;height:38px;display:inline-flex}.icon-button:hover,.stage-tools button:hover{color:#fff;background:#262830}.action-separator{background:#33343d;width:1px;height:22px;margin:0 6px}.secondary-export{color:#e4e4eb;white-space:nowrap;background:#25262e;border-radius:6px;align-items:center;gap:6px;height:36px;padding:0 12px;font-size:12px;font-weight:600;display:inline-flex}.secondary-export:hover{background:#333540}.export-button{color:#17171c;white-space:nowrap;background:#f4f4f5;border-radius:6px;align-items:center;gap:8px;height:36px;padding:0 16px;font-size:13px;font-weight:670;display:flex}.export-button:hover{background:#dedee1}.workspace{flex:1;min-height:0;display:flex}.editor-panel{background:#15161b;border-right:1px solid #2a2b32;flex-direction:column;flex:none;width:322px;display:flex}.panel-tabs{border-bottom:1px solid #292a32;flex-wrap:wrap;gap:4px;padding:14px 14px 8px;display:flex}.panel-tabs button{color:#a5a5ae;background:0 0;border-radius:5px;align-items:center;gap:7px;height:34px;padding:0 9px;font-size:12px;display:flex}.panel-tabs button.active{color:#f4f4f5;background:#282930}.panel-tabs button:hover{color:#f4f4f5}.panel-tabs svg{stroke-width:1.7px}.panel-content{scrollbar-color:#474853 transparent;scrollbar-width:thin;min-height:0;padding:21px 20px 32px;overflow-y:auto}.panel-heading{justify-content:space-between;align-items:start;margin-bottom:22px;display:flex}.panel-heading h2{letter-spacing:-.03em;margin:0 0 5px;font-size:19px;font-weight:650}.panel-heading p{color:#9898a3;margin:0;font-size:12px;line-height:1.5}.control-stack{flex-direction:column;gap:19px;display:flex}.field{color:#d8d8df;flex-direction:column;gap:8px;font-size:13px;font-weight:530;display:flex}.field textarea,.field select,.field input[type=text]{color:#f4f4f5;background:#202128;border:1px solid #383943;border-radius:7px;outline:0;width:100%;padding:10px 12px;font-size:13px;line-height:1.45}.field textarea{resize:vertical;min-height:73px}.field select,.field input[type=text]{height:39px}.field textarea:focus,.field select:focus,.field input[type=text]:focus{border-color:#a789ee;outline:none}.field-head{justify-content:space-between;align-items:baseline;display:flex}.field-head strong{color:#a9a9b2;font-variant-numeric:tabular-nums;font-size:12px;font-weight:520}.range-field input{accent-color:#a789ee;width:100%;margin:2px 0 0}.segmented{background:#25262e;border-radius:7px;grid-template-columns:1fr 1fr;gap:3px;padding:3px;display:grid}.segmented-3{grid-template-columns:repeat(3,1fr)}.segmented-4{grid-template-columns:repeat(4,1fr)}.segmented button{color:#9f9faa;background:0 0;border-radius:5px;height:33px;font-size:12px}.segmented button.selected{color:#fff;background:#41424d}.preset-box{background:#1c1d24;border:1px solid #2c2e38;border-radius:8px;flex-direction:column;gap:12px;padding:12px;display:flex}.swatch-row{flex-wrap:wrap;gap:6px;display:flex}.swatch-chip{color:#dcdce3;background:#24262e;border:1px solid #333540;border-radius:6px;align-items:center;gap:6px;padding:5px 8px;font-size:11px;display:inline-flex}.swatch-chip:hover{background:#2e303a;border-color:#4f5262}.swatch-preview{border:1px solid #ffffff30;border-radius:4px;justify-content:center;align-items:center;width:14px;height:14px;display:inline-flex}.swatch-preview span{border-radius:2px;width:6px;height:6px}.contrast-pill{background:#202229;border:1px solid #30323c;border-radius:7px;justify-content:space-between;align-items:center;padding:9px 11px;font-size:12px;display:flex}.contrast-pill.good strong{color:#86efac}.contrast-pill.warn strong{color:#fca5a5}.info-note{color:#a3a3af;border-left:2px solid #765cae;padding:2px 0 2px 11px;font-size:12px;line-height:1.55}.field-error{color:#ef9b9b;margin:-10px 0 0;font-size:12px}.color-field{flex-direction:row;justify-content:space-between;align-items:center}.color-input{color:#a5a5b1;align-items:center;gap:8px;font-size:11px;font-weight:450;display:flex}.color-input input{cursor:pointer;background:0 0;border:1px solid #4d4e57;border-radius:5px;width:35px;height:31px;padding:0}.secondary-button{color:#e9e9ed;background:#303139;border-radius:6px;justify-content:center;align-items:center;gap:8px;height:39px;font-size:12px;font-weight:570;display:flex}.secondary-button:hover{background:#41424b}.toggle-row{color:#d8d8df;justify-content:space-between;align-items:center;min-height:36px;font-size:13px;display:flex}.toggle-row input{accent-color:#a789ee;width:18px;height:18px}.upload-area{color:#aaaab5;text-align:center;background:#24262d;border:1px dashed #4a4b56;border-radius:8px;flex-direction:column;justify-content:center;align-items:center;gap:7px;min-height:140px;display:flex}.upload-area strong{color:#e5e5eb;font-size:13px}.upload-area span{font-size:11px}.logo-preview{background:#24262d;border-radius:8px;justify-content:space-between;align-items:center;gap:10px;padding:14px;display:flex}.logo-preview img{object-fit:contain;background:#fff;max-width:130px;height:72px}.logo-preview button{color:#f2a0a0;background:0 0;font-size:12px}.stage-column{background:#101116;flex-direction:column;flex:1;min-width:0;min-height:0;display:flex}.stage-toolbar{flex:none;justify-content:space-between;align-items:center;height:52px;padding:0 18px;display:flex}.stage-left-tools{align-items:center;gap:8px;display:flex}.view-switch,.camera-switch{background:#25262c;border-radius:6px;align-items:center;gap:3px;padding:3px;display:flex}.view-switch button,.camera-switch button{color:#a2a2ad;background:0 0;border-radius:4px;min-width:56px;height:30px;font-size:12px}.camera-switch button{min-width:48px;padding:0 9px}.view-switch button.active,.camera-switch button.active{color:#fff;background:#41424b}.stage-tools{align-items:center;gap:6px;display:flex}.stage-tools button{color:#a8a8b2;background:0 0;border-radius:6px;justify-content:center;align-items:center;gap:7px;min-width:34px;height:34px;padding:0 7px;display:flex}.stage-tools button.tool-active{color:#c8b5fa;background:#332c47}.stage-tools .artwork-action{padding:0 10px;font-size:12px}.stage{background:#20232a;border-radius:10px;flex:1;min-height:0;margin:0 12px;position:relative;overflow:hidden}.stage canvas{display:block}.stage-caption{color:#e0e0e6;pointer-events:none;text-shadow:0 1px 4px #101116;justify-content:space-between;gap:12px;font-size:12px;display:flex;position:absolute;bottom:16px;left:18px;right:18px}.scan-mode .stage-caption,.light-stage .stage-caption{color:#3f3f46;text-shadow:none}.scan-overlay{background:#dddde1;justify-content:center;align-items:center;display:flex;position:absolute;inset:0}.scan-overlay.hidden{display:none}.scan-overlay canvas{object-fit:contain;width:min(70vh,58vw,540px);max-width:calc(100% - 32px);height:min(70vh,58vw,540px);max-height:calc(100% - 60px);box-shadow:0 12px 50px #0002}.stage-empty{color:#e8a7a7;justify-content:center;align-items:center;height:100%;font-size:14px;display:flex}.stage-fallback{text-align:center;color:#d4d4dc;flex-direction:column;gap:10px;padding:24px}.stage-canvas-wrap{width:100%;height:100%;position:relative}.stage-overlay-fallback{z-index:5;position:absolute;inset:0}.stage-fallback span{color:#9e9fa9;font-size:12px}.timeline{flex:none;align-items:center;gap:17px;height:92px;padding:0 24px;display:flex}.play-button{color:#111116;background:#f4f4f5;border-radius:50%;justify-content:center;align-items:center;width:42px;height:42px;display:flex}.play-button:hover{background:#dfdfe2}.timeline-main{flex:1;min-width:0}.timeline-labels{color:#a4a4ae;font-variant-numeric:tabular-nums;justify-content:space-between;align-items:center;margin-bottom:9px;font-size:12px;display:flex}.timeline-labels span:nth-child(2){color:#e2e2e7}.timeline-main input{accent-color:#a789ee;width:100%;margin:0}.timeline-style-select{color:#dcdce4;cursor:pointer;background:#202128;border:1px solid #32343e;border-radius:6px;height:32px;padding:0 10px;font-size:12px}.timeline-style-select:hover{border-color:#4b4e5e}.timeline-more{color:#a8a8b2;background:0 0;justify-content:center;align-items:center;width:32px;height:32px;display:flex}.statusbar{color:#9899a4;background:#15161b;border-top:1px solid #292a32;flex:none;align-items:center;gap:8px;height:31px;padding:0 19px;font-size:11px;display:flex}.status-dot{background:#8c8e97;border-radius:50%;width:6px;height:6px}.status-dot.good{background:#80bf89}.status-dot.bad{background:#e28b8b}.record-status{color:#f0c6c6;align-items:center;gap:6px;display:inline-flex}.record-dot{background:#e35d5d;border-radius:50%;width:6px;height:6px;animation:1.1s ease-out infinite record-pulse;box-shadow:0 0 #e35d5d80}@keyframes record-pulse{0%{box-shadow:0 0 #e35d5d80}70%{box-shadow:0 0 0 5px #e35d5d00}to{box-shadow:0 0 #e35d5d00}}.status-divider{background:#43444b;width:1px;height:13px;margin:0 6px}.status-right{margin-left:auto}.toast{color:#f4f4f5;z-index:50;background:#34353e;border:1px solid #52535d;border-radius:7px;align-items:center;gap:15px;max-width:min(420px,100vw - 38px);padding:13px 15px;font-size:12px;line-height:1.4;display:flex;position:fixed;bottom:48px;right:19px;box-shadow:0 12px 30px #0005}.toast button{color:#d4d4db;background:0 0;display:flex}.mobile-only,.mobile-tabs,.mobile-menu{display:none}.category-pills{flex-wrap:wrap;gap:5px;display:flex}.category-pills button{color:#a4a5b0;background:#202229;border:1px solid #2e303a;border-radius:999px;height:28px;padding:0 10px;font-size:11px;font-weight:540}.category-pills button:hover{color:#ececf2;background:#2a2c36}.category-pills button.selected{color:#fff;background:#362f4d;border-color:#a789ee}.morph-style-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:5px;display:grid}.morph-style-grid button{color:#aaabb6;background:#23252d;border:1px solid #323440;border-radius:6px;height:32px;padding:0 6px;font-size:11px;font-weight:540}.morph-style-grid button:hover{color:#f4f4f5;background:#2c2e38}.morph-style-grid button.selected{color:#fff;background:#362f4d;border-color:#a789ee}.model-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;display:grid}.model-card{color:#dedee5;background:#202229;border:1px solid #2c2e38;border-radius:8px;flex-direction:column;justify-content:center;align-items:center;gap:4px;min-width:0;min-height:108px;padding:8px 6px;transition:background .14s,border-color .14s,transform .14s;display:flex}.model-card:hover{background:#2a2c35;border-color:#46495a}.model-card.active{color:#fff;background:#2e2a3f;border-color:#a789ee}.model-card canvas{filter:drop-shadow(0 4px 8px #0005);width:74px;height:74px}.model-card strong{font-size:12px;font-weight:590}.model-summary-row{justify-content:space-between;align-items:center;gap:10px;display:flex}.model-summary{color:#e2e2e8;flex-direction:column;gap:3px;padding:0 1px;display:flex}.model-summary strong{font-size:13px;font-weight:620}.model-summary span{color:#9d9fa9;font-size:11px}.text-action{color:#bda4f7;white-space:nowrap;background:0 0;border-radius:4px;padding:4px 6px;font-size:11px;font-weight:550}.text-action:hover{background:#2b273a}@media (width<=900px){.brand{width:auto}.brand-light{display:none}.project-title{flex:1}.save-state{display:none}.editor-panel{width:280px}.panel-tabs{padding:10px 10px 7px}.panel-tabs button{padding:0 7px;font-size:11px}.panel-content{padding:18px 16px}.stage-tools .artwork-action{gap:0;font-size:0}}@media (width<=680px){.app-shell{min-height:0}.topbar{gap:13px;height:54px;padding:0 13px}.brand{gap:7px;font-size:15px}.brand-mark{margin-left:-3px;margin-right:-3px;transform:scale(.8)rotate(-9deg)}.project-title{min-width:0}.project-title input{text-overflow:ellipsis;width:100%;font-size:12px}.desktop-only{display:none!important}.mobile-only{display:flex}.export-button{height:34px;padding:0 10px;font-size:12px}.export-button span{display:none}.header-actions{gap:3px}.workspace{flex-direction:column;display:flex;position:relative}.stage-column{flex:1;order:0;height:auto;min-height:0}.editor-panel{display:none}.editor-panel.open{width:100%;height:min(44dvh,390px);box-shadow:none;background:#17181e;border:0;border-top:1px solid #30313a;border-radius:10px 10px 0 0;flex:none;order:1;display:flex;position:relative;bottom:auto;left:auto;right:auto}.panel-tabs{display:none}.panel-content{padding:14px 18px 30px}.panel-heading{margin-bottom:18px}.control-stack{gap:17px}.stage-toolbar{height:44px;padding:0 11px}.stage{border-radius:7px;margin:0 8px}.stage-caption{font-size:10px;bottom:9px;left:10px;right:10px}.scan-overlay canvas{width:min(62vh,80vw);height:min(62vh,80vw)}.timeline{gap:11px;height:70px;padding:0 13px}.play-button{width:38px;height:38px}.statusbar{height:25px;padding:0 12px}.status-right{display:none}.mobile-tabs{background:#15161b;border-top:1px solid #2a2b32;flex:none;justify-content:space-around;align-items:stretch;height:58px;display:flex}.mobile-tabs button{color:#9d9ea7;background:0 0;flex-direction:column;flex:1;justify-content:center;align-items:center;gap:3px;padding:4px 2px;font-size:9px;display:flex}.mobile-tabs button.active{color:#e8e8ef}.mobile-menu{z-index:60;background:#292a32;border:1px solid #44454f;border-radius:8px;flex-direction:column;min-width:195px;padding:6px;display:flex;position:absolute;top:52px;right:8px;box-shadow:0 12px 30px #0008}.mobile-menu button{text-align:left;color:#e8e8ed;background:0 0;height:38px;padding:0 10px;font-size:12px}.mobile-menu button:hover{background:#3a3b44}.toast{bottom:92px}}@media (prefers-reduced-motion:reduce){*,:before,:after{scroll-behavior:auto!important;transition-duration:.01ms!important;animation-duration:.01ms!important}}
