@font-face{font-family:Inter Variable;font-style:normal;font-display:swap;font-weight:100 900;src:url(/assets/inter-cyrillic-ext-wght-normal-BOeWTOD4.woff2)format("woff2-variations");unicode-range:U+460-52F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F}@font-face{font-family:Inter Variable;font-style:normal;font-display:swap;font-weight:100 900;src:url(/assets/inter-cyrillic-wght-normal-DqGufNeO.woff2)format("woff2-variations");unicode-range:U+301,U+400-45F,U+490-491,U+4B0-4B1,U+2116}@font-face{font-family:Inter Variable;font-style:normal;font-display:swap;font-weight:100 900;src:url(/assets/inter-greek-ext-wght-normal-DlzME5K_.woff2)format("woff2-variations");unicode-range:U+1F??}@font-face{font-family:Inter Variable;font-style:normal;font-display:swap;font-weight:100 900;src:url(/assets/inter-greek-wght-normal-CkhJZR-_.woff2)format("woff2-variations");unicode-range:U+370-377,U+37A-37F,U+384-38A,U+38C,U+38E-3A1,U+3A3-3FF}@font-face{font-family:Inter Variable;font-style:normal;font-display:swap;font-weight:100 900;src:url(/assets/inter-vietnamese-wght-normal-CBcvBZtf.woff2)format("woff2-variations");unicode-range:U+102-103,U+110-111,U+128-129,U+168-169,U+1A0-1A1,U+1AF-1B0,U+300-301,U+303-304,U+308-309,U+323,U+329,U+1EA0-1EF9,U+20AB}@font-face{font-family:Inter Variable;font-style:normal;font-display:swap;font-weight:100 900;src:url(/assets/inter-latin-ext-wght-normal-DO1Apj_S.woff2)format("woff2-variations");unicode-range:U+100-2BA,U+2BD-2C5,U+2C7-2CC,U+2CE-2D7,U+2DD-2FF,U+304,U+308,U+329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Inter Variable;font-style:normal;font-display:swap;font-weight:100 900;src:url(/assets/inter-latin-wght-normal-Dx4kXJAl.woff2)format("woff2-variations");unicode-range:U+??,U+131,U+152-153,U+2BB-2BC,U+2C6,U+2DA,U+2DC,U+304,U+308,U+329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:Playfair Display Variable;font-style:normal;font-display:swap;font-weight:400 900;src:url(/assets/playfair-display-cyrillic-wght-normal-5WvUvBgz.woff2)format("woff2-variations");unicode-range:U+301,U+400-45F,U+490-491,U+4B0-4B1,U+2116}@font-face{font-family:Playfair Display Variable;font-style:normal;font-display:swap;font-weight:400 900;src:url(/assets/playfair-display-vietnamese-wght-normal-Cabi7G8-.woff2)format("woff2-variations");unicode-range:U+102-103,U+110-111,U+128-129,U+168-169,U+1A0-1A1,U+1AF-1B0,U+300-301,U+303-304,U+308-309,U+323,U+329,U+1EA0-1EF9,U+20AB}@font-face{font-family:Playfair Display Variable;font-style:normal;font-display:swap;font-weight:400 900;src:url(/assets/playfair-display-latin-ext-wght-normal-CT1r92Rl.woff2)format("woff2-variations");unicode-range:U+100-2BA,U+2BD-2C5,U+2C7-2CC,U+2CE-2D7,U+2DD-2FF,U+304,U+308,U+329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Playfair Display Variable;font-style:normal;font-display:swap;font-weight:400 900;src:url(/assets/playfair-display-latin-wght-normal-BOwq7MWX.woff2)format("woff2-variations");unicode-range:U+??,U+131,U+152-153,U+2BB-2BC,U+2C6,U+2DA,U+2DC,U+304,U+308,U+329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}:root{--bg:#faf9f7;--surface:#fff;--surface-warm:#f3f1ed;--surface-muted:#edebe8;--surface-hover:#e2dfd9;--text:#3d3832;--text-muted:#5a534b;--text-faint:#756f66;--text-ghost:#b0a99f;--accent:#2a9d8f;--accent-light:#d4edea;--accent-bg:#e8f5f3;--danger:#c4392a;--dark:#264653;--border:#dee2e6;--radius-sm:4px;--radius-md:8px;--radius-lg:10px;--radius-xl:16px;--font-heading:"Playfair Display Variable", Georgia, serif}*{box-sizing:border-box;margin:0;padding:0}html,body,#root{color:#1d3557;-webkit-user-select:none;user-select:none;background:#f8f9fa;width:100%;height:100%;font-family:Inter Variable,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,sans-serif;font-size:13px;overflow:hidden}.app{height:100%;display:flex}.config-panel{background:#fff;flex-direction:column;gap:6px;width:100%;height:100%;padding:12px;display:flex;overflow:hidden auto}.config-panel h2{font-family:var(--font-heading);color:var(--text);margin:0;font-size:22px;font-weight:800}.panel-header{justify-content:space-between;align-items:center;gap:8px;display:flex}.panel-header-actions{align-items:center;gap:4px;display:flex}.section-header{justify-content:space-between;align-items:center;gap:8px;margin:12px 0 6px;display:flex}.section-header h3{margin:0;padding:0}.icon-btn{cursor:pointer;color:#264653;background:#fff;border:1px solid #ced4da;border-radius:4px;flex-shrink:0;justify-content:center;align-items:center;width:28px;height:28px;display:flex}.icon-btn:hover{background:#e9ecef}.config-panel h3{font-family:var(--font-heading);color:var(--text);margin-top:12px;padding:6px 0 2px;font-size:16px;font-weight:800}.config-panel h3:first-of-type{margin-top:0}.config-panel.disabled{pointer-events:none;opacity:.5}.resize-handle{cursor:col-resize;background:#dee2e6;outline:none;width:4px;transition:background .15s}.resize-handle:hover,.resize-handle[data-separator=active]{background:#2a9d8f}.num-field{align-items:center;gap:6px;display:flex}.num-field span{color:#6c757d;flex-shrink:0;width:110px;font-size:12px}.num-field input{-webkit-user-select:text;user-select:text;appearance:textfield;background:#fff;border:1px solid #ced4da;border-radius:3px;width:100%;padding:6px 10px;font-family:monospace;font-size:12px}.num-field input::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}.num-field input::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}.num-field-suffix{color:#6c757d;flex-shrink:0;width:auto;font-size:12px}.num-field input:focus{border-color:#2a9d8f;outline:none;box-shadow:0 0 0 2px #2a9d8f26}.btn-row{gap:6px;display:flex}.btn-row .upload-btn{flex:1}.upload-btn{color:#fff;cursor:pointer;background:#264653;border:none;border-radius:4px;justify-content:center;align-items:center;gap:4px;width:100%;padding:6px;font-size:12px;display:inline-flex}.upload-btn:hover{background:#2a9d8f}.sub-label{color:#6c757d;font-size:12px}.waypoint-list{max-height:300px;overflow-y:auto}.waypoint-row{align-items:center;gap:4px;padding:2px 0;display:flex}.waypoint-row .num-field{flex:1;min-width:0}.waypoint-row .num-field span{flex-shrink:0;width:auto}.waypoint-row .num-field input{width:100%;min-width:0}.wp-idx{color:#fff;background:#264653;border-radius:50%;flex-shrink:0;justify-content:center;align-items:center;width:18px;height:18px;font-size:10px;font-weight:700;display:flex}.delete-btn{color:#e63946;cursor:pointer;background:0 0;border:none;border-radius:3px;flex-shrink:0;justify-content:center;align-items:center;width:20px;height:20px;font-size:16px;display:flex}.delete-btn:hover{background:#ffe3e3}.hint{color:#adb5bd;padding:4px 0;font-size:12px;font-style:italic}.override-list{flex-direction:column;gap:2px;display:flex}.override-row{align-items:center;gap:4px;display:flex}.override-row .num-field{flex:1;min-width:0}.override-toggle{color:#6c757d;cursor:pointer;flex:1;align-items:center;gap:6px;font-size:12px;display:flex}.override-toggle input[type=checkbox]{accent-color:#2a9d8f}.canvas-container{width:100%;height:100%;position:relative;overflow:hidden}.field-svg{cursor:crosshair;width:100%;height:100%;display:block}.field-svg.grabbing{cursor:grabbing}.canvas-help{color:#fff;pointer-events:none;white-space:nowrap;background:#264653d9;border-radius:4px;padding:4px 12px;font-size:11px;position:absolute;bottom:8px;left:50%;transform:translate(-50%)}.reset-view-btn{cursor:pointer;color:#264653;background:#ffffffe6;border:1px solid #ced4da;border-radius:4px;justify-content:center;align-items:center;width:28px;height:28px;display:flex;position:absolute;bottom:12px;left:12px;box-shadow:0 1px 4px #0003}.reset-view-btn:hover{background:#e9ecef}.playback-controls{background:#ffffffe6;border-radius:6px;align-items:center;gap:6px;padding:6px;display:flex;position:absolute;bottom:12px;right:12px;box-shadow:0 1px 4px #0003}.segment-nav{color:#495057;flex-shrink:0;align-items:center;gap:6px;width:100%;margin-top:36px;padding:8px 0;font-size:12px;display:flex}.segment-nav button{cursor:pointer;color:#264653;background:#fff;border:1px solid #ced4da;border-radius:4px;justify-content:center;align-items:center;width:28px;height:28px;font-size:16px;display:flex}.segment-nav button:hover:not(:disabled){background:#e9ecef}.segment-nav button:disabled{opacity:.3;cursor:default}.animation-bar{align-items:center;gap:6px;padding:6px 12px;display:flex}.anim-btn{cursor:pointer;color:#264653;background:#fff;border:1px solid #ced4da;border-radius:4px;flex-shrink:0;justify-content:center;align-items:center;width:28px;height:28px;font-size:14px;display:flex}.anim-btn:hover:not(:disabled){background:#e9ecef}.anim-btn:disabled{opacity:.3;cursor:default}.anim-scrubber{accent-color:#2a9d8f;flex:1;min-width:0;height:4px}.anim-time{color:#495057;text-align:right;flex-shrink:0;min-width:32px;font-family:monospace;font-size:11px}.menu-content{z-index:100;background:#fff;border:1px solid #dee2e6;border-radius:6px;min-width:160px;padding:4px;animation:.12s ease-out menu-fade;box-shadow:0 4px 12px #0000001f}@keyframes menu-fade{0%{opacity:0;transform:translateY(-4px)}to{opacity:1;transform:translateY(0)}}.menu-label{text-transform:uppercase;letter-spacing:.5px;color:#868e96;padding:4px 8px;font-size:10px;font-weight:600}.menu-item{color:#264653;cursor:pointer;border-radius:4px;outline:none;align-items:center;gap:6px;padding:6px 8px;font-size:12px;display:flex}.menu-item[data-highlighted]{background:#e9ecef}.menu-separator{background:#dee2e6;height:1px;margin:4px 0}.panel-footer{justify-content:space-between;align-items:center;display:flex}.help-link{color:#868e96;cursor:pointer;background:0 0;border:none;align-items:center;gap:4px;padding:6px 0;font-size:12px;display:flex}.help-link:hover{color:#2a9d8f}.peer-stack{flex-direction:row-reverse;align-items:center;display:flex}.peer-chip{background:#fff;border:2px solid #999;border-radius:50%;justify-content:center;align-items:center;width:26px;height:26px;margin-left:-8px;transition:transform .15s;display:flex;position:relative}.peer-chip:hover{z-index:1;transform:translateY(-2px)}.peer-chip:last-child{margin-left:0}.peer-overflow{color:#495057;border-color:#ced4da;font-size:10px;font-weight:600}.tooltip-content{color:#fff;background:#264653e6;border-radius:4px;padding:4px 8px;font-size:11px}.confirm-overlay{z-index:300;background:#0006;animation:.15s ease-out help-fade-in;position:fixed;inset:0}.confirm-content{z-index:301;background:#fff;border-radius:8px;width:min(360px,100vw - 48px);padding:20px 24px;animation:.15s ease-out help-slide-in;position:fixed;top:50%;left:50%;transform:translate(-50%,-50%);box-shadow:0 8px 30px #0003}.confirm-title{color:#264653;margin:0 0 8px;font-size:16px;font-weight:600}.confirm-desc{color:#666;margin:0 0 20px;font-size:13px;line-height:1.4}.confirm-actions{justify-content:flex-end;gap:8px;display:flex}.confirm-btn{cursor:pointer;color:#333;background:#fff;border:1px solid #ddd;border-radius:6px;padding:6px 16px;font-size:13px;font-weight:500}.confirm-btn:hover{background:#f5f5f5}.confirm-btn.danger{color:#fff;background:#e63946;border-color:#e63946}.confirm-btn.danger:hover{background:#d62839}.help-overlay{z-index:200;background:#0006;animation:.15s ease-out help-fade-in;position:fixed;inset:0}@keyframes help-fade-in{0%{opacity:0}to{opacity:1}}.help-content{z-index:201;background:#fff;border-radius:8px;flex-direction:column;width:min(640px,100vw - 48px);max-height:calc(100vh - 48px);animation:.15s ease-out help-slide-in;display:flex;position:fixed;top:50%;left:50%;transform:translate(-50%,-50%);box-shadow:0 8px 30px #0003}@keyframes help-slide-in{0%{opacity:0;transform:translate(-50%,-48%)}to{opacity:1;transform:translate(-50%,-50%)}}.help-header{border-bottom:1px solid #dee2e6;flex-shrink:0;justify-content:space-between;align-items:center;padding:12px 16px;display:flex}.sr-only{clip:rect(0, 0, 0, 0);border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.wizard-close-row{justify-content:flex-end;padding:16px 20px 0;display:flex}.wizard-topbar{align-items:center;gap:12px;padding:20px 28px;display:flex}.wizard-topbar-title{font-family:var(--font-heading);color:var(--text);flex:1;margin:0;font-size:20px;font-weight:400}.help-title{color:#264653;margin:0;font-size:15px;font-weight:600}.help-body{min-height:0;color:var(--text-muted);flex:1;padding:16px 32px 32px;font-size:13px;line-height:1.6;overflow-y:auto}.help-body>:first-child{margin-top:0}.help-body h2{font-family:var(--font-heading);color:var(--text);margin:28px 0 12px;font-size:20px;font-weight:800}.help-body h3{font-family:var(--font-heading);color:var(--text);margin:22px 0 10px;font-size:16px;font-weight:700}.help-body p{margin:14px 0}.help-body code{background:var(--surface-muted);border-radius:3px;padding:1px 4px;font-family:monospace;font-size:12px}.help-body pre{background:var(--surface-muted);border-radius:var(--radius-md);margin:12px 0;padding:8px 10px;overflow-x:auto}.help-body pre code{background:0 0;padding:0}.help-body ul,.help-body ol{list-style:revert;margin:10px 0;padding-left:24px}.help-body a{color:var(--accent);border-bottom:1px solid #0000;text-decoration:none;transition:border-color .15s}.help-body a:hover{border-bottom-color:var(--accent)}.help-body li{margin:6px 0}.help-body table{border-collapse:collapse;width:100%;margin:8px 0;font-size:12px}.help-body th,.help-body td{text-align:left;border:1px solid var(--border);padding:5px 8px}.help-body th{background:var(--surface-muted);color:var(--text);font-weight:600}.wizard-content{border-radius:var(--radius-xl);background:var(--bg);width:min(1200px,100vw - 48px);height:min(700px,100vh - 48px);overflow:hidden}.wizard-steps{gap:4px;display:flex}.wizard-step{color:var(--text-ghost);letter-spacing:.3px;flex:1;align-items:center;gap:8px;font-size:11px;display:flex}.wizard-step.active{color:var(--text);font-weight:600}.wizard-step.done{color:var(--accent)}.wizard-step-dot{background:var(--surface-muted);width:24px;height:24px;color:var(--text-faint);border:none;border-radius:50%;flex-shrink:0;justify-content:center;align-items:center;font-size:11px;font-weight:600;display:flex}.wizard-step.active .wizard-step-dot{background:var(--accent);color:#fff}.wizard-step.done .wizard-step-dot{background:var(--accent-light);color:var(--accent)}.wizard-split{flex-direction:row;flex:1;min-height:0;display:flex}.wizard-anim{background:var(--surface-warm);border-radius:0 0 0 var(--radius-xl);flex:1;justify-content:center;align-items:center;min-width:0;display:flex;overflow:hidden}.wizard-canvas{width:100%;height:100%;display:block}.wizard-main{flex-direction:column;flex:1;min-width:0;min-height:0;display:flex}.wizard-form{flex-direction:column;flex:1;gap:14px;min-width:0;min-height:0;padding:32px;display:flex;overflow-y:auto}.wizard-title-pinned{flex-shrink:0;padding:0 32px}.wizard-title{font-family:var(--font-heading);color:var(--text);margin:0 0 4px;font-size:36px;font-weight:800}.wizard-list{margin:0;padding-left:20px;list-style:outside}.wizard-list li{color:var(--text-muted);font-size:13.5px;line-height:1.7}.wizard-form p{color:var(--text-muted);margin:6px 0;font-size:13.5px;line-height:1.75}.wizard-form strong{color:var(--text)}.wizard-field{align-items:center;gap:10px;display:flex}.wizard-field label{width:130px;color:var(--text-faint);flex-shrink:0;font-size:12.5px}.wizard-field select{border-radius:var(--radius-md);background:var(--surface-muted);color:var(--text);appearance:none;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%238a837a' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");background-position:right 10px center;background-repeat:no-repeat;border:none;flex:1;padding:8px 32px 8px 12px;font-size:13px}.wizard-field select:focus{outline:none;box-shadow:0 0 0 2px #2a9d8f40}.wizard-checkbox{color:var(--text-faint);cursor:pointer;white-space:nowrap;flex-shrink:0;align-items:center;gap:6px;font-size:12.5px;display:flex}.wizard-checkbox input[type=checkbox]{accent-color:var(--accent)}.wizard-error{color:var(--danger)!important;font-size:12.5px!important}.wizard-copy-row{align-items:center;gap:8px;display:flex}.wizard-copy-btn{background:var(--surface-muted);width:auto;color:var(--text);border-radius:var(--radius-md);border:none;padding:7px 12px;font-size:12.5px}.wizard-copy-btn:hover{background:var(--surface-hover)}.wizard-result{background:var(--accent-bg);border-radius:var(--radius-lg);color:var(--dark);border:none;padding:12px 16px;font-family:monospace;font-size:13.5px}.wizard-footer{align-items:center;gap:10px;margin-top:auto;padding:16px 28px;display:flex}.wizard-footer .upload-btn{border-radius:var(--radius-lg);width:auto;padding:8px 20px;font-size:13px;font-weight:500}.wizard-footer .confirm-btn{border-radius:var(--radius-lg);background:var(--surface-muted);color:var(--text);border:none;padding:8px 18px;font-size:13px}.wizard-footer .confirm-btn:hover{background:var(--surface-hover)}.wizard-footer .upload-btn:disabled{opacity:.4;cursor:default}
