:root{--ink:#2c3e50;--navy:#304358;--accent:#ef6743;--accent-dark:#db5634;--base:#f5f6f7;--surface:#fff;--line:#e5e9ed;--muted:#84919d;--muted-dark:#697887;--soft:#eef1f3;--check:#f0f2f4;--shadow:0 2px 12px rgba(36,54,70,.035)}
*{box-sizing:border-box}html{font-family:Inter,-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,Arial,sans-serif;color:var(--ink);background:var(--base);-webkit-font-smoothing:antialiased}body{margin:0}button,input{font:inherit}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.5}a{color:inherit}svg{fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.icons{position:absolute;width:0;height:0;overflow:hidden}.icon{width:17px;height:17px;flex:none}.sr-only{position:absolute!important;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}.hidden{display:none!important}.truncate{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.topbar{height:74px;background:var(--surface);border-bottom:1px solid var(--line)}.topbar-inner{max-width:1440px;height:100%;margin:0 auto;padding:0 42px;display:flex;align-items:center;justify-content:space-between}.brand{display:flex;align-items:center;gap:11px}.brand-symbol{position:relative;border-radius:8px;background:var(--navy);color:#fff;font-size:21px;font-weight:800;letter-spacing:-.08em;width:35px;height:35px;line-height:35px;text-align:center;padding-right:3px}.brand-dot{position:absolute;width:7px;height:7px;background:var(--accent);border-radius:2px;right:5px;bottom:5px}.brand-type{font-size:27px;font-weight:750;letter-spacing:-1.6px;color:#293a49}.brand-period{color:var(--accent)}.brand-tag{font-size:10px;font-weight:700;letter-spacing:.11em;color:#95a2ad;border-left:1px solid var(--line);padding-left:11px;margin-left:2px;line-height:25px}.top-actions{display:flex;gap:24px;align-items:center}.local-label{display:flex;align-items:center;gap:8px;color:#82919c;font-size:12px;font-weight:550}.local-label .icon{width:14px;height:14px}.container{max-width:1440px;margin:auto;padding:38px 42px 52px}.intro{display:flex;align-items:flex-end;justify-content:space-between;margin-bottom:30px}.eyebrow{color:var(--accent);font-size:10px;font-weight:800;letter-spacing:.19em;margin:0 0 12px}h1{font-size:31px;line-height:1.2;letter-spacing:-.85px;font-weight:720;margin:0 0 10px}h2,h3,p{margin-top:0}.intro-description{color:#7e8c98;font-size:14px;margin:0}.intro-step{color:var(--navy);font-size:29px;letter-spacing:-1.4px;font-weight:700;text-align:right}.intro-step span{color:#c8d1d7;padding:0 5px}.intro-step small{display:block;color:#a0aab4;font-size:9px;font-weight:800;letter-spacing:.16em;margin-top:4px}.workspace{display:grid;grid-template-columns:258px minmax(350px,1fr) 310px;background:var(--surface);border:1px solid var(--line);border-radius:9px;box-shadow:var(--shadow);min-height:638px;overflow:hidden}.left-panel,.settings-panel{padding:25px 21px}.left-panel{border-right:1px solid var(--line);display:flex;flex-direction:column}.settings-panel{border-left:1px solid var(--line);overflow-y:auto;max-height:748px}.panel-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:23px}.panel-heading h2{font-size:15px;letter-spacing:-.25px;margin:0;font-weight:700}.section-index{font-size:11px;color:#b5bec5;font-weight:650}.source-upload{border:1.5px dashed #d5dce2;background:#f9fafb;border-radius:6px;padding:22px 12px 18px;text-align:center;display:flex;flex-direction:column;align-items:center;gap:9px;min-height:215px;transition:border-color .1s,background .1s;outline:none}.source-upload:hover,.source-upload:focus-visible,.source-upload.dragover{border-color:var(--accent);background:#fff8f5}.upload-mark{width:39px;height:39px;border-radius:8px;background:#f1f3f4;color:#506474;display:flex;align-items:center;justify-content:center;margin-bottom:2px}.upload-mark .icon{width:19px;height:19px}.source-upload strong{font-size:13px;font-weight:700}.source-upload>span:not(.upload-mark):not(.upload-pick){font-size:11px;line-height:1.5;color:#8b98a3}.upload-pick{background:#fff;border:1px solid #d6dde3;color:#405467;padding:8px 12px;border-radius:5px;font-size:11px;font-weight:700;margin:2px 0 4px}.source-upload small{font-size:9px;color:#a8b2ba;letter-spacing:.02em}.file-info{display:flex;align-items:center;gap:9px;margin-top:13px;background:#f6f8f9;border:1px solid var(--line);border-radius:6px;padding:10px}.file-icon{width:30px;height:30px;border-radius:5px;background:#e9eef1;color:#667b8d;display:flex;align-items:center;justify-content:center}.file-info-text{flex:1;min-width:0}.file-info-text strong{font-size:11px;font-weight:650;display:block;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.file-info-text span{font-size:10px;display:block;color:var(--muted);margin-top:3px}.icon-button{color:#8494a2;border:0;background:transparent;padding:4px;display:inline-flex;align-items:center;justify-content:center}.icon-button:hover{color:var(--accent)}.aside-rule{height:1px;background:var(--line);margin:24px 0}.aside-section-head h3{font-size:13px;font-weight:700;margin-bottom:5px}.aside-section-head p{font-size:11px;color:#96a1aa;margin:0 0 16px}.button{border-radius:5px;display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:11px 14px;font-size:12px;font-weight:700;border:1px solid transparent;white-space:nowrap;line-height:1.15;transition:background .12s,border-color .12s}.button-primary{background:var(--accent);color:white;border-color:var(--accent)}.button-primary:not(:disabled):hover{background:var(--accent-dark);border-color:var(--accent-dark)}.button-outline{background:#fff;color:#43596b;border-color:#dbe2e7}.button-outline:not(:disabled):hover{background:#f5f7f8;border-color:#bdcbd5}.button-subtle{background:#f4f6f7;color:#556879;border:1px solid #eff1f3}.button-subtle:hover{background:#e8ecef}.button-link{background:transparent;color:#647a8b}.button-link:not(:disabled):hover{color:var(--accent);background:#fafafa}.button-wide{width:100%}.button.small{font-size:11px;padding:9px 12px}.button .icon{width:15px;height:15px}.audio-detail{margin-top:12px;padding:10px;border:1px solid var(--line);border-radius:5px;background:#fafbfc}.audio-file-line{display:flex;align-items:center;justify-content:space-between;font-size:11px;font-weight:600;gap:7px}.audio-file-line .truncate{flex:1}.audio-detail audio{width:100%;height:36px;margin:7px 0 0}.split-tiny{display:flex;justify-content:space-between;font-size:10px;color:#97a3ad}.aside-note{margin-top:auto;padding-top:25px;display:flex;align-items:flex-start;gap:10px;color:#95a1ac}.aside-note .icon{width:14px;height:14px;margin-top:2px}.aside-note p{font-size:10.5px;line-height:1.6;margin:0}.preview-panel{display:flex;flex-direction:column;min-width:0;background:#fdfdfd}.preview-toolbar{height:65px;flex:none;display:flex;align-items:center;justify-content:space-between;padding:0 27px;border-bottom:1px solid var(--line)}.panel-title{display:flex;align-items:center;gap:9px;color:#82929f;font-size:10px;font-weight:800;letter-spacing:.105em}.status-circle{width:7px;height:7px;background:#94b9a6;border-radius:50%}.canvas-size{color:#a8b2ba;letter-spacing:.07em;font-size:10px;font-weight:650}.preview-surface{flex:1;display:flex;align-items:center;justify-content:center;padding:35px 24px;background:#fcfdfd;min-height:515px}.preview-canvas-wrap{position:relative;width:min(100%,512px);aspect-ratio:1;overflow:hidden;border-radius:5px;outline:1px solid #e3e6e9;background-color:white;background-image:linear-gradient(45deg,var(--check) 25%,transparent 25%),linear-gradient(-45deg,var(--check) 25%,transparent 25%),linear-gradient(45deg,transparent 75%,var(--check) 75%),linear-gradient(-45deg,transparent 75%,var(--check) 75%);background-size:28px 28px;background-position:0 0,0 14px,14px -14px,-14px 0}.preview-canvas-wrap.dragging{cursor:grabbing}.preview-canvas-wrap.pick-mode{cursor:crosshair}#preview-canvas{display:block;width:100%;height:100%;touch-action:none;cursor:grab}.empty-preview{position:absolute;inset:0;background:#f9fafb;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:26px}.empty-preview h2{font-size:18px;font-weight:700;letter-spacing:-.3px;margin:0 0 9px}.empty-preview p{font-size:12px;line-height:1.7;color:#95a2ae;margin-bottom:18px}.empty-illustration{position:relative;width:118px;height:119px;margin-bottom:27px}.empty-square{position:absolute;border:2px solid #d9e1e7;border-radius:9px;width:79px;height:79px;transform:rotate(-12deg);left:18px;top:25px;background:#fff}.empty-square.two{transform:rotate(11deg);background:#edf1f4;left:27px;top:17px}.empty-square.three{transform:none;background:#f5f6f7;left:19px;top:21px;overflow:hidden}.empty-square.three:before{content:"";position:absolute;width:58px;height:51px;background:#c4d2dd;transform:rotate(42deg);top:48px;left:7px;border-radius:7px}.empty-circle{position:absolute;width:17px;height:17px;border-radius:50%;background:#e9a18c;top:39px;left:37px}.preview-bottom{display:flex;justify-content:space-between;align-items:center;border-top:1px solid var(--line);height:60px;gap:12px;padding:0 23px}.preview-tip{display:flex;align-items:center;gap:8px;font-size:11px;color:#99a5af}.preview-tip .icon{color:#97a6b2;width:14px;height:14px}.settings-heading{margin-bottom:20px}.settings-section{padding:4px 0 23px;margin-bottom:18px;border-bottom:1px solid var(--line)}.settings-section:last-child{border-bottom:0;margin-bottom:0}.section-label{display:flex;justify-content:space-between;align-items:center;margin-bottom:20px}.section-label h3{font-size:12px;font-weight:750;margin:0}.section-label span{font-size:10px;color:#b0bac2}.field-label{font-size:11px;color:#7b8b98;display:block;margin-bottom:9px}.segmented{display:grid;grid-template-columns:1fr 1fr;background:#f2f4f6;padding:3px;border-radius:6px;gap:3px;margin-bottom:19px}.segmented button{border:0;border-radius:4px;background:transparent;padding:9px 5px;font-size:11px;color:#91a0ab;font-weight:650}.segmented button.active{background:white;color:#3c5064;box-shadow:0 1px 3px #273e5615}.slider-header{display:flex;justify-content:space-between;margin:14px 0 11px;font-size:11px;align-items:center}.slider-header label{color:#667886}.slider-header output{font-weight:700;font-size:11px;color:#3a4d5f;font-variant-numeric:tabular-nums}input[type=range]{display:block;width:100%;height:5px;margin:0 0 5px;appearance:none;background:#e4e9ed;border-radius:999px;accent-color:var(--accent)}input[type=range]::-webkit-slider-thumb{appearance:none;width:14px;height:14px;background:#fff;border:3px solid var(--accent);border-radius:50%;box-shadow:0 1px 2px #0001;cursor:pointer}input[type=range]::-moz-range-thumb{width:10px;height:10px;background:#fff;border:3px solid var(--accent);border-radius:50%;cursor:pointer}.text-action{border:0;background:none;padding:0;color:#728899;font-size:11px;font-weight:650;text-decoration:underline;text-underline-offset:2px;margin-top:15px}.text-action:hover{color:var(--accent)}.toggle-row{display:flex;align-items:center;gap:10px;justify-content:space-between;cursor:pointer}.toggle-row strong{font-size:11px;font-weight:650;display:block}.toggle-row small{display:block;color:#a1acb5;font-size:10px;margin-top:4px}.toggle-row input{position:absolute;opacity:0;width:1px;height:1px}.switch{width:33px;height:19px;flex:none;border-radius:20px;background:#d4dce2;position:relative}.switch:after{content:"";position:absolute;width:13px;height:13px;background:white;left:3px;top:3px;border-radius:50%;box-shadow:0 1px 2px #0002;transition:transform .11s}.toggle-row input:checked+.switch{background:var(--accent)}.toggle-row input:checked+.switch:after{transform:translateX(14px)}.toggle-row input:focus-visible+.switch{outline:3px solid #ebaf9c}.color-key-tools{margin-top:15px}.color-row{display:flex;align-items:center;gap:9px;flex-wrap:wrap}.color-row label{font-size:11px;color:#728393;flex:1}.color-row input{width:29px;height:29px;border:1px solid #d8dfe4;border-radius:5px;padding:2px;background:#fff}.field-note{font-size:10px;color:#a4afb7;line-height:1.55;margin:10px 0 0}.quiet-description{font-size:10.5px;line-height:1.65;color:#9aabb5}.motion-disabled input{opacity:.45}.motion-disabled .slider-header{opacity:.6}.export-panel{position:relative;display:flex;align-items:center;justify-content:space-between;gap:30px;padding:26px 30px;margin-top:19px;background:#fff;border:1px solid var(--line);border-radius:9px;box-shadow:var(--shadow);flex-wrap:wrap}.export-kicker{color:var(--accent);font-size:10px;font-weight:800;letter-spacing:.13em;margin-bottom:8px}.export-headline{font-size:16px;font-weight:750;letter-spacing:-.3px}.export-left p{font-size:11px;line-height:1.6;color:#94a1ad;margin:7px 0 0;max-width:580px}.export-actions{display:flex;align-items:center;gap:9px;margin-left:auto}.button-build{min-width:154px}.export-status{display:flex;align-items:center;gap:10px;margin-top:9px;font-size:11px;color:#85939d}.output-badge{background:#eaf3ed;color:#4b8566;padding:4px 8px;font-size:10px;font-weight:750;border-radius:4px}.output-badge.warn{background:#fff1e6;color:#b77b43}.progress-wrap{width:100%;border-top:1px solid var(--line);padding-top:16px}.progress-bar{height:5px;background:#e8ebef;border-radius:5px;overflow:hidden}.progress-bar span{display:block;height:100%;width:0;background:var(--accent);transition:width .12s}.progress-note{display:flex;justify-content:space-between;align-items:center;margin-top:4px;font-size:11px;color:#8998a6}.progress-note .text-action{margin:0}.footnote{display:flex;justify-content:space-between;align-items:flex-start;gap:40px;margin:25px 6px 0;color:#92a0ac}.footnote strong{color:#758797;font-size:11px}.footnote p{margin:5px 0 0;max-width:860px;font-size:11px;line-height:1.7}.footnote a{white-space:nowrap;text-decoration:none;font-size:11px;color:#7c8e9d;font-weight:650}.footnote a:hover{color:var(--accent)}.toast{position:fixed;bottom:28px;left:50%;transform:translateX(-50%);z-index:100;max-width:min(520px,calc(100vw - 30px));padding:13px 18px;background:#304358;color:#fff;box-shadow:0 8px 28px #26384d38;border-radius:6px;font-size:12px;line-height:1.6}.toast.error{background:#9e463a}button:focus-visible,.source-upload:focus-visible{outline:3px solid #efa98c;outline-offset:2px}
@media(max-width:1160px){.container{padding:30px 26px}.topbar-inner{padding:0 26px}.workspace{grid-template-columns:228px minmax(300px,1fr) 276px}.left-panel,.settings-panel{padding:21px 16px}.preview-surface{padding:22px 16px;min-height:430px}.preview-toolbar{height:58px}.settings-panel{max-height:750px}}
@media(max-width:930px){.workspace{grid-template-columns:220px minmax(300px,1fr)}.settings-panel{grid-column:1/-1;border-left:0;border-top:1px solid var(--line);max-height:none;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 30px}.settings-heading{grid-column:1/-1}.settings-section{margin-bottom:10px}.preview-surface{min-height:480px}.intro-step{display:none}}
@media(max-width:620px){.topbar{height:64px}.topbar-inner{padding:0 18px}.brand-tag,.local-label{display:none}.container{padding:24px 14px 32px}h1{font-size:25px}.intro-description{font-size:12px;line-height:1.65}.intro{margin-bottom:23px}.workspace{display:flex;flex-direction:column}.left-panel{border-right:0;border-bottom:1px solid var(--line)}.source-upload{min-height:165px;padding:17px}.aside-rule{margin:18px 0}.aside-note{margin-top:16px;padding-top:6px}.preview-surface{min-height:0;padding:16px}.preview-canvas-wrap{max-width:430px}.preview-toolbar{height:53px;padding:0 18px}.preview-bottom{padding:0 15px}.preview-tip{font-size:10px}.settings-panel{display:block;padding:22px}.settings-section{padding-bottom:17px}.export-panel{padding:21px 17px;gap:19px}.export-actions{width:100%;display:grid;grid-template-columns:1fr 1fr;margin:0}.export-actions .button-build{grid-column:1/-1;grid-row:1;min-width:0}.footnote{margin:20px 2px 0;display:block}.footnote a{display:inline-block;margin-top:14px}}
