:root{color-scheme:dark;--bg:#111414;--panel:#191d1d;--panel2:#202525;--line:#303737;--text:#eef1ec;--muted:#9ba7a2;--accent:#c9f568;--ink:#192014;--danger:#ffaaa0;font-family:Inter,"Pretendard","Segoe UI","Malgun Gothic",sans-serif;font-size:16px}
*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--text)}button,input,textarea,select{font:inherit}button,a,input,textarea,select{outline-offset:4px}button{cursor:pointer;border:1px solid var(--line);background:var(--panel2);color:var(--text);border-radius:7px;padding:11px 16px;font-size:.875rem;font-weight:600;transition:background .15s,border-color .15s}button:hover{background:#2d3532;border-color:#68756b}button:disabled{opacity:.38;cursor:not-allowed}a{color:var(--accent);text-decoration:none}a:hover{text-decoration:underline}[hidden]{display:none!important}h1,h2,h3,p{margin-top:0}h1{font-size:2rem;letter-spacing:-1.2px;line-height:1.35}h2{font-size:1.35rem;letter-spacing:-.5px}h3{font-size:1rem}p{line-height:1.7;color:var(--muted)}small{font-size:.75rem;color:var(--muted);font-weight:400}label{display:block;font-size:.875rem;line-height:1.5;color:#bdc7c1}input:not([type=checkbox]):not([type=radio]),textarea,select{display:block;width:100%;padding:12px;margin-top:8px;border:1px solid var(--line);border-radius:6px;background:#131818;color:var(--text)}input:focus,textarea:focus{border-color:var(--accent)}textarea{resize:vertical;min-height:102px;line-height:1.6}input[type=checkbox],input[type=radio]{accent-color:var(--accent);width:17px;height:17px;vertical-align:middle}input::placeholder,textarea::placeholder{color:#74817b}button.primary{background:var(--accent);color:var(--ink);border-color:var(--accent);font-weight:750}button.primary:hover{background:#d9ff88}.secondary{background:transparent}.quiet{border-color:transparent;background:transparent;color:var(--muted)}.wide{width:100%}.eyebrow{font-size:.75rem;letter-spacing:2px;color:var(--accent);font-weight:650}.brand-mark{display:grid;place-items:center;width:38px;height:40px;background:var(--accent);color:var(--ink);font-size:26px;font-weight:900;border-radius:9px;flex:none}.brand{display:flex;align-items:center;gap:10px;color:var(--text);font-size:26px;font-weight:750;letter-spacing:-1px}.brand:hover{text-decoration:none}.brand small{display:block;font-size:9px;letter-spacing:1px;margin-top:1px}.workspace{display:grid;grid-template-columns:224px 1fr;min-height:100vh}.sidebar{background:#171b1b;border-right:1px solid var(--line);padding:30px 20px;display:flex;flex-direction:column;position:sticky;top:0;height:100vh}.new-project{margin:36px 0 28px;text-align:left;background:#252e26;color:#e1f6c3;border-color:#3d4a35}.side-label{font-size:.7rem;letter-spacing:1.7px;color:var(--muted);display:flex;justify-content:space-between;padding:0 7px}.side-label span{letter-spacing:0}.sidebar nav{flex:1;overflow:auto;margin-top:14px}.project-item{border:0;width:100%;text-align:left;background:transparent;color:var(--muted);padding:13px 10px;margin-bottom:4px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.project-item.active{color:var(--text);background:#29322c;border-left:2px solid var(--accent);border-radius:0 6px 6px 0}.project-item::before{content:'◇';margin-right:9px;color:#91a88d}.sidebar-bottom{border-top:1px solid var(--line);padding-top:18px}.sidebar-bottom #account-label{font-size:.875rem;font-weight:600;margin:0 10px 12px}.settings-link{width:100%;text-align:left;background:transparent;border:0;padding:10px}.settings-link span{display:block;font-size:.75rem;margin:7px 0 0 21px;color:var(--muted)}.sidebar-bottom .quiet{font-size:.75rem}.main{padding:0 38px;min-width:0;max-width:1800px;width:100%;margin:auto}.topbar{min-height:80px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line);gap:18px}.breadcrumbs{font-size:.875rem;color:var(--muted);display:flex;gap:14px}.breadcrumbs strong{color:#d9e0da;font-weight:500}.top-meta{display:flex;align-items:center;gap:16px;font-size:.75rem;color:var(--muted)}.mode-badge{background:transparent;padding:8px 12px;font-size:.75rem;font-weight:500}.page-heading{display:flex;align-items:center;justify-content:space-between;margin:34px 0 28px}.page-heading h1{margin:9px 0 0}.page-heading p{font-size:.875rem;margin:0;text-align:right}.steps{display:grid;grid-template-columns:repeat(4,1fr);border:1px solid var(--line);border-radius:10px;overflow:hidden;margin-bottom:28px}.steps button{border:0;border-right:1px solid var(--line);border-radius:0;padding:19px 18px;display:flex;gap:14px;text-align:left;align-items:center;background:#181d1c}.steps button:last-child{border-right:0}.steps button>span{font-size:.8rem;color:#7e8d83}.steps button>div{line-height:1.5}.steps small{display:block;font-size:.7rem}.steps b{font-size:.7rem;margin-left:auto;color:var(--muted);white-space:nowrap}.steps button.active{background:#263023;box-shadow:inset 0 -2px var(--accent)}.steps button.active>span{color:var(--accent)}.view-layout{display:grid;grid-template-columns:280px minmax(0,1fr);gap:24px}.section-heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:15px;gap:12px}.section-heading h2{font-size:1rem;margin:0}.section-heading small{font-size:.75rem}.reference-panel{border:1px solid var(--line);border-radius:9px;background:var(--panel);padding:18px}.upload-box{display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:270px;width:100%;border:1px dashed #52634a;background:#1d261c;border-radius:6px;text-align:center;padding:25px;gap:15px}.upload-box:hover{background:#253021;border-color:var(--accent)}.upload-symbol{font-size:32px;color:var(--accent);font-weight:300}.upload-box strong{font-size:.875rem;line-height:1.6}.upload-box small{line-height:1.7}.reference-img{width:100%;height:270px;object-fit:contain;border-radius:6px;background:#e0e3df;cursor:zoom-in}.reference-actions{display:flex;justify-content:space-between;margin-top:10px}.reference-actions button,.reference-actions a{padding:7px;font-size:.75rem}.notes-label{margin-top:22px}.reference-panel textarea{font-size:.8rem}.help{font-size:.75rem;line-height:1.65;margin:9px 0 0}.generated-area{min-width:0}.view-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.view-card{border:1px solid var(--line);background:var(--panel);border-radius:8px;overflow:hidden;min-width:0}.view-card header{display:flex;justify-content:space-between;padding:13px 12px;align-items:center;font-size:.8rem}.view-card header small{font-size:.65rem;letter-spacing:1px}.view-image{aspect-ratio:2/3;background:#161b19;position:relative;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:12px;background-image:linear-gradient(#ffffff03 1px,transparent 1px),linear-gradient(90deg,#ffffff03 1px,transparent 1px);background-size:26px 26px}.view-image::before,.view-image::after{content:'';position:absolute;background:#6d806830;pointer-events:none}.view-image::before{width:26px;height:1px}.view-image::after{width:1px;height:26px}.view-image:has(img)::before,.view-image:has(img)::after{display:none}.view-image img{width:100%;height:100%;position:absolute;object-fit:contain;background:#daddd7;cursor:zoom-in}.empty-view{margin-top:74px;font-size:.7rem;color:#74816f;letter-spacing:1px}.view-card footer{padding:8px;display:flex;gap:3px;justify-content:center;flex-wrap:wrap}.view-card footer button,.view-card footer a{font-size:.7rem;padding:6px;border-color:transparent;white-space:nowrap}.view-card footer a{display:inline-flex;align-items:center}.view-status{height:24px;margin:12px 0;color:var(--accent);font-size:.8rem}.review-row{padding:16px 18px;border:1px solid var(--line);border-radius:7px;display:flex;align-items:center;gap:14px;background:var(--panel);margin-top:4px}.check{display:flex;align-items:center;gap:9px;font-size:.8rem;line-height:1.6}.review-row button{margin-left:auto;white-space:nowrap}.generate-row{border-top:1px solid var(--line);margin-top:22px;padding-top:20px;display:flex;align-items:center;justify-content:space-between;gap:18px}.generate-row p{font-size:.8rem;margin:0}.generate-row button{min-width:168px}.workspace-footer{margin-top:35px;padding:20px 0;border-top:1px solid var(--line);display:flex;justify-content:space-between;color:#77857c;font-size:.65rem;letter-spacing:1px}.workspace-footer b{font-weight:400;margin-left:8px}.workspace-footer i{font-style:normal;padding:0 10px}.notice{border:1px solid #46553a;border-radius:6px;background:#242e20;padding:14px;color:#c6d7b9;font-size:.8rem;line-height:1.7;margin:14px 0}.error-notice{border-color:#65433c;background:#312420;color:#ffd1c6}.error-text{color:var(--danger);font-size:.8rem;min-height:18px;margin:12px 0 0}.model-layout{display:grid;grid-template-columns:300px minmax(0,1fr);gap:24px}.control-panel{padding:22px;border:1px solid var(--line);background:var(--panel);border-radius:9px}.control-panel label{margin:18px 0}.control-panel h2{margin:0 0 8px}.control-panel p{font-size:.8rem}.face-fields{display:grid;grid-template-columns:1fr 1fr;gap:10px}.face-fields label{margin:0;font-size:.75rem}.face-fields input{padding:10px}.face-choice{display:flex;gap:6px;align-items:center}.face-choice input[type=number]{min-width:0}.job-list{display:flex;flex-direction:column;gap:9px;margin-top:18px}.job{padding:16px;border:1px solid var(--line);border-radius:7px;background:var(--panel)}.job.selected{border-color:#8da05f}.job-top{display:flex;align-items:center;justify-content:space-between;gap:12px}.job-top strong{font-size:.9rem}.job-top small{font-size:.75rem}.job-status{font-size:.75rem;color:var(--muted)}.job-status.success{color:var(--accent)}.job-status.failed,.job-status.unknown{color:var(--danger)}.job progress{width:100%;height:5px;margin:14px 0 7px;accent-color:var(--accent)}.job-actions{display:flex;gap:6px;flex-wrap:wrap;margin-top:12px}.job-actions button,.job-actions a{font-size:.75rem;padding:7px 10px}.job-actions a{display:inline-flex;align-items:center;border:1px solid var(--line);border-radius:6px}.job-id{font-family:monospace;overflow-wrap:anywhere;font-size:.7rem;margin-top:10px;color:#8e9a92}.job-error{font-size:.8rem;margin:8px 0;color:var(--danger)}.viewer{height:380px;position:relative;border:1px solid var(--line);border-radius:9px;overflow:hidden;background:#151b18}.viewer canvas{display:block;width:100%;height:100%}.viewer-caption{position:absolute;top:15px;left:18px;font-size:.7rem;letter-spacing:1px;color:var(--muted);z-index:1;pointer-events:none}.viewer-empty{height:100%;display:grid;place-content:center;text-align:center;color:#91a38b;font-size:.9rem;line-height:1.8;padding:28px}.viewer-empty b{font-size:36px;font-weight:300;color:#596b51;margin-bottom:15px}.viewer-empty p{font-size:.8rem;max-width:320px;margin:8px 0}.viewer-tip{position:absolute;bottom:14px;right:18px;font-size:.7rem;color:#a8b2a8;pointer-events:none}.empty-jobs{text-align:center;border:1px dashed var(--line);border-radius:7px;padding:24px;color:var(--muted);font-size:.8rem}.uv-layout{display:grid;grid-template-columns:1fr 1fr;gap:24px}.uv-panel{border:1px solid var(--line);border-radius:9px;background:var(--panel);padding:26px}.uv-panel h2{margin:14px 0}.uv-panel p{font-size:.875rem}.uv-panel .tag{display:inline-block;font-size:.7rem;padding:6px 8px;border:1px solid #536441;border-radius:4px;color:var(--accent)}.uv-panel .tag.pending{border-color:#7b6241;color:#e6c185}.uv-panel ol{padding-left:20px;color:#b3bfb4;font-size:.875rem;line-height:2}.uv-panel a{font-size:.875rem}.auth-screen{min-height:100vh;padding:40px 6vw;position:relative;background:radial-gradient(ellipse at 80% 40%,#26372150,transparent 55%),var(--bg)}.auth-brand{display:flex;gap:12px;align-items:center;font-size:29px;font-weight:700}.auth-brand small{display:block;font-size:10px;letter-spacing:1.5px}.auth-card{max-width:440px;margin:50px auto}.auth-card h1{font-size:2.8rem;line-height:1.24;margin:18px 0}.auth-card>p{font-size:.875rem}.auth-tabs{display:flex;border-bottom:1px solid var(--line);margin:30px 0 22px}.auth-tabs button{border:0;border-radius:0;background:transparent;color:var(--muted);padding:12px 18px}.auth-tabs button.active{color:var(--accent);box-shadow:inset 0 -2px var(--accent)}.auth-card label{margin:16px 0}.auth-card .primary{margin-top:10px;display:flex;justify-content:space-between;padding:15px}.auth-pipeline{display:flex;justify-content:space-between;border-top:1px solid var(--line);padding-top:22px;margin-top:24px;font-size:.75rem;color:var(--muted)}.auth-foot{font-size:.65rem;color:#62725f;letter-spacing:2px}.auth-card form .notice{font-size:.75rem}dialog{background:#1b211e;color:var(--text);border:1px solid #46513e;border-radius:13px;padding:0;width:min(560px,94vw);max-height:90vh;box-shadow:0 30px 150px #0009}dialog::backdrop{background:#050907bf;backdrop-filter:blur(5px)}.dialog-body{padding:28px}.dialog-heading{display:flex;align-items:flex-start;justify-content:space-between;margin-bottom:20px}.dialog-heading h2{margin:9px 0 0}.dialog-body>p{font-size:.875rem}.dialog-body>label,#personal-fields>label{margin:18px 0}.icon-button{background:transparent;border:0;padding:0 6px;font-size:26px;line-height:1}.dialog-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:24px}.radio-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:20px 0}.radio-grid label{border:1px solid var(--line);padding:14px;border-radius:7px;cursor:pointer}.radio-grid label:has(input:checked){border-color:var(--accent);background:#283320}.radio-grid strong{margin-left:5px;font-size:.875rem}.radio-grid small{display:block;margin-top:8px}.image-dialog{width:auto;max-width:94vw;padding:20px;text-align:center}.image-dialog>button{position:absolute;right:20px;top:20px;background:#151b18c9;border-radius:5px}.image-dialog img{max-height:80vh;max-width:84vw;display:block}.toast{position:fixed;bottom:24px;left:50%;transform:translateX(-50%);z-index:100;background:#d6f9ad;color:#182112;border:1px solid #95b574;border-radius:9px;padding:14px 22px;font-size:.875rem;box-shadow:0 8px 40px #0005;max-width:90vw}.toast.error{background:#f8d0c6;color:#502b23;border-color:#d4a398}output{display:block;word-break:break-all;margin-top:12px;font-family:monospace;font-size:.9rem;color:var(--accent)}.loading-ring{height:24px;width:24px;border:2px solid #596b51;border-top-color:var(--accent);border-radius:50%;animation:spin 1s linear infinite}.view-image .loading-ring{margin-top:60px}@keyframes spin{to{transform:rotate(360deg)}}
@media(min-width:1600px){.main{padding:0 60px}.view-layout{grid-template-columns:310px 1fr}.view-grid{gap:16px}}
@media(max-width:1250px){.workspace{grid-template-columns:190px 1fr}.sidebar{padding:24px 14px}.main{padding:0 24px}.view-layout{grid-template-columns:240px 1fr;gap:18px}.view-grid{grid-template-columns:repeat(2,1fr)}.view-image{aspect-ratio:3/4}.steps button{padding:15px 12px;gap:9px}.steps small{font-size:.65rem}.steps b{display:none}.brand small{font-size:8px}.reference-img{height:255px}}
@media(max-width:850px){.workspace{display:block}.sidebar{position:static;height:auto;border-right:0;border-bottom:1px solid var(--line);display:grid;grid-template-columns:1fr auto;gap:12px;padding:18px 20px}.sidebar .brand{font-size:22px}.sidebar .brand small{font-size:8px}.sidebar .new-project{margin:0}.sidebar .side-label{display:none}.sidebar nav{grid-column:1/-1;margin:0;display:flex;overflow:auto;max-height:55px;gap:7px}.project-item{width:auto;max-width:200px;margin:0;flex:none}.sidebar-bottom{grid-column:1/-1;border:0;display:flex;align-items:center;padding:0;justify-content:space-between}.sidebar-bottom #account-label{margin:0}.settings-link{width:auto}.settings-link span{display:none}.topbar{min-height:64px}.page-heading{margin:25px 0}.page-heading p{display:none}.page-heading h1{font-size:1.6rem}.steps{margin-bottom:22px}.steps button{justify-content:center;padding:13px 7px;gap:7px;font-size:.8rem}.steps small{display:none}.steps span{font-size:.7rem}.view-layout{grid-template-columns:220px 1fr}.model-layout{grid-template-columns:240px 1fr}.viewer{height:330px}.uv-layout{grid-template-columns:1fr}.review-row{flex-wrap:wrap}.review-row button{margin-left:0}.generate-row{align-items:stretch;flex-direction:column}.generate-row button{width:100%}}
@media(max-width:600px){.main{padding:0 16px}.top-meta #usage{display:none}.breadcrumbs{gap:8px;min-width:0}.breadcrumbs strong{max-width:160px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.steps button{gap:4px;flex-direction:column;padding:11px 4px}.steps button div{font-size:.75rem}.view-layout,.model-layout{display:flex;flex-direction:column}.reference-panel{display:grid;grid-template-columns:1fr 1fr;gap:12px}.reference-panel>.section-heading{grid-column:1/-1;margin:0}.reference-panel .upload-box{min-height:170px;padding:16px;gap:6px}.reference-img{height:190px}.reference-actions{grid-column:1}.notes-label{grid-column:2;grid-row:2/4;margin:0}.reference-panel textarea{min-height:153px}.reference-panel>.help{grid-column:1/-1;margin:0}.view-grid{gap:9px}.view-image{aspect-ratio:2/3}.view-card footer{padding:6px 3px}.view-card footer button{padding:6px 4px}.control-panel{padding:18px}.viewer{height:360px}.auth-screen{padding:25px 24px}.auth-card{margin:38px auto}.auth-card h1{font-size:2.4rem}.auth-foot{display:none}.workspace-footer{gap:10px;font-size:.6rem}.workspace-footer b{display:none}.dialog-body{padding:22px}.radio-grid label{padding:11px}.radio-grid small{font-size:.7rem}}
@media(prefers-reduced-motion:reduce){*{transition:none!important;animation-duration:2s!important}}
body{word-break:keep-all}.reference-actions{gap:4px}.reference-actions button,.reference-actions a{white-space:nowrap;padding:7px 2px}
.reference-preview{position:relative;min-width:0}.remove-reference{position:absolute;top:8px;right:8px;z-index:2;width:34px;height:34px;padding:7px;background:#19201ee8;border:1px solid #637268;border-radius:6px}.remove-reference svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.remove-reference:hover{background:#63392e;border-color:#ffaaa0;color:#ffe6dd}.reference-panel.drag-over{outline:2px solid var(--accent);outline-offset:3px;background:#293822}.notes-optional{display:block;margin-top:9px;line-height:1.6;color:#b6c9a7}.notes-label>small:first-child{color:var(--muted)}

.concept-image{display:block;width:100%;max-height:620px;object-fit:contain;background:#eee;border-radius:12px;margin-bottom:12px}

.steps{grid-template-columns:repeat(6,minmax(0,1fr))}.steps button{min-width:0;gap:8px;padding:17px 10px}.steps small{font-size:.6rem}.motion-viewer{height:540px}.motion-buttons{display:flex;flex-wrap:wrap;gap:8px;margin:14px 0}.motion-buttons button{flex:1}.motion-transport{display:flex;align-items:center;flex-wrap:wrap;gap:12px;padding:15px 0}.motion-transport label{margin:0;font-size:.8rem}.motion-transport select{padding:8px}.motion-transport input[type=range]{flex:1;min-width:140px}.motion-transport span{font-size:.75rem;white-space:nowrap}.motion-drop{border:1px dashed #637268;padding:18px 12px;border-radius:8px;margin:20px 0}.motion-drop button{width:100%}#motion-candidate{border:1px solid var(--accent);padding:14px;border-radius:8px;overflow-wrap:anywhere}#motion-candidate strong{font-size:.8rem}.control-panel hr{border:0;border-top:1px solid var(--line);margin:22px 0}.motion-layout .job strong{overflow-wrap:anywhere}.motion-layout .job a{display:inline-block;padding:8px;font-size:.8rem}.auth-pipeline{flex-wrap:wrap;gap:10px}@media(max-width:1100px){.steps{grid-template-columns:repeat(3,minmax(0,1fr))}.steps button:nth-child(-n+3){border-bottom:1px solid var(--line)}.motion-viewer{height:430px}}@media(max-width:600px){.motion-viewer{height:400px}.motion-transport{gap:8px}}

.job-top strong{min-width:0;overflow-wrap:anywhere}.job-top .job-status{flex-shrink:0}

.job > .job-id{margin-top:14px;text-align:right;font-size:.65rem;line-height:1.5;overflow-wrap:anywhere}
