@import "https://fonts.googleapis.com/css2?family=Fira+Code:wght@400;500;700&family=Inter:wght@300;400;500;600;700&family=Lora:ital,wght@0,400;0,600;0,700;1,400&family=Merriweather:ital,wght@0,300;0,400;0,700;1,300&family=Montserrat:wght@400;500;600;700;800&family=Open+Sans:wght@300;400;500;600;700&family=Outfit:wght@300;400;500;600;700;800&family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400&family=Poppins:wght@300;400;500;600;700;800&family=Roboto:wght@300;400;500;700&family=JetBrains+Mono:wght@400;500;700&family=Source+Code+Pro:wght@400;500;700&display=swap";:root{--bg-app:#0f172a;--bg-panel:#1e293b;--bg-input:#0f172a;--text-main:#f8fafc;--text-muted:#94a3b8;--border:#334155;--border-focus:#6366f1;--accent:#4f46e5;--accent-hover:#4338ca;--accent-light:#6366f126;--success:#10b981;--error:#ef4444;--shadow:0 10px 15px -3px #0000004d, 0 4px 6px -4px #0000004d;--font-system:"Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;--header-height:64px}*{box-sizing:border-box;margin:0;padding:0}body{font-family:var(--font-system);background-color:var(--bg-app);color:var(--text-main);height:100vh;overflow:hidden}.sr-only{clip:rect(0, 0, 0, 0);border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}::-webkit-scrollbar{width:8px;height:8px}::-webkit-scrollbar-track{background:var(--bg-app)}::-webkit-scrollbar-thumb{background:var(--border);border-radius:4px}::-webkit-scrollbar-thumb:hover{background:#475569}.app-workspace{flex-direction:column;height:100vh;display:flex}.app-header{height:var(--header-height);-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);border-bottom:1px solid var(--border);z-index:100;background:#1e293bcc;justify-content:space-between;align-items:center;padding:0 24px;display:flex}.header-logo{align-items:center;gap:10px;display:flex}.logo-icon{color:#818cf8}.header-logo h1{background:linear-gradient(90deg,#818cf8,#c084fc);-webkit-text-fill-color:transparent;letter-spacing:-.5px;-webkit-background-clip:text;font-size:18px;font-weight:700}.header-actions{align-items:center;gap:12px;display:flex}.workspace-main{flex:1;display:flex;position:relative;overflow:hidden}.workspace-left{background:var(--bg-app);flex-direction:row;display:flex;overflow:hidden}.workspace-resizer,.sidebar-resizer{background-color:var(--bg-panel);cursor:col-resize;z-index:50;flex-shrink:0;width:6px;transition:background-color .2s;position:relative}.workspace-resizer:hover,.workspace-resizer:active,.sidebar-resizer:hover,.sidebar-resizer:active{background-color:var(--border-focus)}.workspace-right{background:#0b0f19;flex-direction:column;flex:1;display:flex;position:relative;overflow:hidden}.app-select{box-sizing:border-box;background-color:var(--bg-input);height:34px;color:var(--text-main);border:1px solid var(--border);cursor:pointer;border-radius:6px;outline:none;align-items:center;padding:0 12px;font-size:14px;transition:all .2s;display:inline-flex}.app-select:focus{border-color:var(--border-focus)}.select-container{align-items:center;display:flex;position:relative}.select-icon{color:var(--text-muted);pointer-events:none;position:absolute;left:10px}.select-container .app-select{padding-left:32px}.action-btn{box-sizing:border-box;cursor:pointer;color:#fff;border:none;border-radius:6px;justify-content:center;align-items:center;gap:8px;height:34px;padding:0 16px;font-size:14px;font-weight:500;transition:all .2s;display:inline-flex}.primary-btn{background-color:var(--accent)}.primary-btn:hover{background-color:var(--accent-hover)}.primary-btn:disabled{opacity:.6;cursor:not-allowed}.secondary-btn{border:1px solid var(--border);color:var(--text-main);background-color:#0000}.secondary-btn:hover{border-color:var(--text-muted);background-color:#ffffff0d}.header-file-wrapper{align-items:center;gap:8px;height:34px;display:inline-flex}.file-label{color:var(--text-muted);white-space:nowrap;font-size:13px;font-weight:500}.header-file-input{box-sizing:border-box;background-color:var(--bg-input);height:34px;color:var(--text-main);border:1px solid var(--border);border-radius:6px;outline:none;width:150px;padding:0 12px;font-size:14px;transition:all .2s}.header-file-input:focus{border-color:var(--border-focus);background-color:var(--bg-panel)}.accent-btn{color:#a5b4fc;background-color:#6366f133;border:1px solid #6366f166}.accent-btn:hover{background-color:#6366f14d;border-color:#818cf8}.icon-only-btn{border:1px solid var(--border);color:var(--text-muted);background-color:#0000;justify-content:center;align-items:center;padding:7px;display:inline-flex}.icon-only-btn:hover{color:var(--text-main);background-color:#ffffff0d}.style-controls-container{border-right:1px solid var(--border);background-color:var(--bg-panel);flex-direction:column;flex-shrink:0;gap:16px;width:340px;padding:20px;display:flex;overflow-y:auto}.style-controls-header{border-bottom:1px solid var(--border);flex-shrink:0;justify-content:space-between;align-items:center;margin-bottom:12px;padding-bottom:12px;display:flex}.style-controls-title{color:var(--text-main);text-transform:uppercase;letter-spacing:.5px;align-items:center;gap:8px;font-size:13px;font-weight:600;display:flex}.style-controls-header-actions{align-items:center;gap:6px;display:flex}.hide-panel-btn,.reset-panel-btn{color:var(--text-muted);cursor:pointer;background:0 0;border:none;border-radius:4px;justify-content:center;align-items:center;padding:6px;transition:all .2s;display:flex}.hide-panel-btn:hover,.reset-panel-btn:hover{color:var(--text-main);background-color:#ffffff0d}.sidebar-toggle-handle{background-color:var(--bg-panel);border:1px solid var(--border);width:18px;height:50px;color:var(--text-muted);cursor:pointer;border-left:none;border-radius:0 6px 6px 0;justify-content:center;align-items:center;transition:all .2s;display:flex;box-shadow:2px 0 8px #00000040}.sidebar-toggle-handle:hover{color:var(--text-main);background-color:var(--bg-input);border-color:var(--border-focus);width:22px}.control-section{border-bottom:1px solid #ffffff0d;flex-direction:column;padding-bottom:14px;display:flex}.control-section:last-child{border-bottom:none;padding-bottom:0}.section-header-toggle{width:100%;color:var(--text-main);cursor:pointer;text-align:left;background:0 0;border:none;justify-content:space-between;align-items:center;padding:6px 0;display:flex}.section-title{text-transform:uppercase;color:#818cf8;letter-spacing:.5px;align-items:center;gap:8px;font-size:13px;font-weight:600;display:flex}.collapsible-content{margin-top:10px;animation:.2s cubic-bezier(.16,1,.3,1) slide-down}.template-dropdown{margin-top:4px}.sliders-stack{flex-direction:column;gap:12px;display:flex}.slider-item{flex-direction:column;gap:4px;display:flex}.slider-header{color:var(--text-muted);justify-content:space-between;font-size:11px;display:flex}.slider-value{color:var(--text-main);font-weight:600}.app-slider{-webkit-appearance:none;background:var(--bg-input);cursor:pointer;border-radius:2px;outline:none;width:100%;height:4px}.app-slider::-webkit-slider-thumb{appearance:none;cursor:pointer;background:#818cf8;border-radius:50%;width:12px;height:12px;transition:all .15s}.app-slider::-webkit-slider-thumb:hover{background:#a5b4fc;transform:scale(1.25)}.presets-list{grid-template-columns:1fr 1fr;gap:6px;display:grid}.preset-btn{background:var(--bg-input);border:1px solid var(--border);color:var(--text-muted);cursor:pointer;border-radius:6px;justify-content:space-between;align-items:center;padding:6px 8px;font-size:10.5px;transition:all .2s;display:flex;overflow:hidden}.preset-btn:hover{border-color:var(--border-focus);color:var(--text-main);background-color:#ffffff05}.preset-name{white-space:nowrap;text-overflow:ellipsis;max-width:82px;font-weight:500;overflow:hidden}.preset-dots{flex-shrink:0;gap:3px;display:flex}.preset-dot{border:1px solid #ffffff1a;border-radius:50%;width:6px;height:6px;display:inline-block}.element-tabs{background-color:var(--bg-input);border-radius:6px;grid-template-columns:repeat(3,1fr);gap:4px;margin-bottom:8px;padding:3px;display:grid}.tab-btn{color:var(--text-muted);cursor:pointer;text-align:center;background:0 0;border:none;border-radius:4px;padding:5px;font-size:10px;font-weight:500;transition:all .2s}.tab-btn.active{background-color:var(--bg-panel);color:var(--text-main);box-shadow:var(--shadow)}.tab-panel{background-color:var(--bg-input);border:1px solid var(--border);border-radius:6px;flex-direction:column;gap:12px;padding:12px;display:flex}.override-row{justify-content:space-between;align-items:center;gap:8px;display:flex}.vertical-row{flex-direction:column;align-items:flex-start;gap:5px}.override-label{color:var(--text-muted);align-items:center;gap:4px;font-size:11px;display:flex}.override-label-text{color:var(--text-muted);font-size:11px;font-weight:500}.color-picker-wrapper{align-items:center;gap:4px;display:flex}.color-swatch{-webkit-appearance:none;cursor:pointer;background:0 0;border:none;border-radius:4px;width:20px;height:20px}.color-swatch:disabled{opacity:.3;cursor:not-allowed}.color-swatch::-webkit-color-swatch-wrapper{padding:0}.color-swatch::-webkit-color-swatch{border:1px solid var(--border);border-radius:4px}.color-mode-select{width:78px;padding:3px 5px;font-size:11px}.color-input{background-color:var(--bg-panel);width:62px;color:var(--text-main);border:1px solid var(--border);border-radius:4px;outline:none;padding:3px 5px;font-family:monospace;font-size:11px}.font-family-select{width:140px;padding:3px 6px;font-size:11px}.segmented-control{background-color:var(--bg-panel);border:1px solid var(--border);border-radius:6px;width:100%;padding:2px;display:flex}.seg-btn{color:var(--text-muted);cursor:pointer;text-align:center;background:0 0;border:none;border-radius:4px;flex:1;padding:5px;font-size:10px;font-weight:500;transition:all .15s}.seg-btn:hover{color:var(--text-main)}.seg-btn.active{background-color:var(--accent);color:#fff;font-weight:600}.editor-container{background-color:var(--bg-app);flex-direction:column;flex:1;display:flex;overflow:hidden}.pane-header{background:var(--bg-panel);border-bottom:1px solid var(--border);color:#818cf8;align-items:center;gap:8px;height:48px;padding:0 16px;display:flex}.pane-header h2{color:var(--text-main);text-transform:capitalize;font-size:14px;font-weight:600}.editor-textarea-wrapper{flex:1;padding:16px;position:relative}.editor-textarea{color:#e2e8f0;resize:none;z-index:2;background:0 0;border:none;outline:none;width:100%;height:100%;padding:0;font-family:Fira Code,Consolas,Monaco,monospace;font-size:13px;line-height:1.6;position:relative;overflow-y:scroll}.editor-highlight-overlay{z-index:1;pointer-events:none;color:#0000;white-space:pre-wrap;word-wrap:break-word;background:0 0;border:none;outline:none;margin:0;padding:0;font-family:Fira Code,Consolas,Monaco,monospace;font-size:13px;line-height:1.6;position:absolute;inset:16px;overflow:hidden scroll}.editor-highlight-overlay::-webkit-scrollbar{width:8px}.editor-highlight-overlay::-webkit-scrollbar-thumb{background:0 0!important}.editor-highlight-overlay::-webkit-scrollbar-track{background:0 0!important}.search-highlight{color:#0000;background-color:#eab30859;border-radius:2px}.search-highlight-current{color:#0000;background-color:#f97316d9;border-radius:2px;box-shadow:0 0 0 1px #ff9800}.editor-footer{border-top:1px solid var(--border);background:var(--bg-panel);height:32px;color:var(--text-muted);justify-content:flex-end;align-items:center;gap:16px;padding:0 16px;font-size:11px;display:flex}.preview-container-wrapper{flex-direction:column;flex:1;display:flex;overflow:hidden}.preview-scroll-viewport{flex:1;justify-content:center;align-items:flex-start;padding:40px;display:flex;overflow:auto}#preview-container{box-sizing:border-box;text-align:left;width:210mm;min-height:297mm;color:var(--preview-global-color,var(--template-p-color,#1f2937));line-height:1.6;font-family:var(--preview-global-font,var(--preview-p-font,var(--font-system)));font-weight:var(--preview-global-weight,normal);font-style:var(--preview-global-style,normal);font-size:var(--preview-body-size,var(--template-body-size,15px));background:#fff;padding:20mm 18mm;position:relative;box-shadow:0 10px 30px #00000059}#preview-container h1{font-size:var(--preview-h1-size,var(--template-h1-size,28px));color:var(--preview-h1-color,var(--preview-global-color,var(--template-h1-color,#111827)));font-family:var(--preview-h1-font,var(--preview-global-font,var(--template-h1-font,inherit)));font-weight:var(--preview-h1-weight,var(--preview-global-weight,var(--template-h1-weight,bold)));font-style:var(--preview-h1-style,var(--preview-global-style,var(--template-h1-style,normal)));margin-bottom:.4em}#preview-container h2{font-size:var(--preview-h2-size,var(--template-h2-size,20px));color:var(--preview-h2-color,var(--preview-global-color,var(--template-h2-color,#1f2937)));font-family:var(--preview-h2-font,var(--preview-global-font,var(--template-h2-font,inherit)));font-weight:var(--preview-h2-weight,var(--preview-global-weight,var(--template-h2-weight,bold)));font-style:var(--preview-h2-style,var(--preview-global-style,var(--template-h2-style,normal)));margin-top:1em;margin-bottom:.5em}#preview-container h3{font-size:var(--preview-h3-size,var(--template-h3-size,16px));color:var(--preview-h3-color,var(--preview-global-color,var(--template-h3-color,#374151)));font-family:var(--preview-h3-font,var(--preview-global-font,var(--template-h3-font,inherit)));font-weight:var(--preview-h3-weight,var(--preview-global-weight,var(--template-h3-weight,bold)));font-style:var(--preview-h3-style,var(--preview-global-style,var(--template-h3-style,normal)));margin-bottom:.3em}#preview-container h4{font-size:var(--preview-h4-size,var(--template-h4-size,14px));color:var(--preview-h4-color,var(--preview-global-color,var(--template-h4-color,#4b5563)));font-family:var(--preview-h4-font,var(--preview-global-font,var(--template-h4-font,inherit)));font-weight:var(--preview-h4-weight,var(--preview-global-weight,var(--template-h4-weight,bold)));font-style:var(--preview-h4-style,var(--preview-global-style,var(--template-h4-style,normal)));margin-bottom:.3em}#preview-container h5{font-size:var(--preview-h5-size,var(--template-h5-size,13px));color:var(--preview-h5-color,var(--preview-global-color,var(--template-h5-color,#4b5563)));font-family:var(--preview-h5-font,var(--preview-global-font,var(--template-h5-font,inherit)));font-weight:var(--preview-h5-weight,var(--preview-global-weight,var(--template-h5-weight,bold)));font-style:var(--preview-h5-style,var(--preview-global-style,var(--template-h5-style,normal)));margin-bottom:.3em}#preview-container h6{font-size:var(--preview-h6-size,var(--template-h6-size,12px));color:var(--preview-h6-color,var(--preview-global-color,var(--template-h6-color,#4b5563)));font-family:var(--preview-h6-font,var(--preview-global-font,var(--template-h6-font,inherit)));font-weight:var(--preview-h6-weight,var(--preview-global-weight,var(--template-h6-weight,bold)));font-style:var(--preview-h6-style,var(--preview-global-style,var(--template-h6-style,normal)));margin-bottom:.3em}#preview-container p{font-size:var(--preview-body-size,var(--template-body-size,15px));color:var(--preview-p-color,var(--preview-global-color,var(--template-p-color,#4b5563)));font-family:var(--preview-p-font,var(--preview-global-font,var(--template-p-font,inherit)));font-weight:var(--preview-p-weight,var(--preview-global-weight,var(--template-p-weight,normal)));font-style:var(--preview-p-style,var(--preview-global-style,var(--template-p-style,normal)));margin-bottom:.6em}#preview-container strong{color:var(--preview-strong-color,var(--preview-global-color,var(--template-strong-color,inherit)));font-family:var(--preview-strong-font,var(--preview-global-font,var(--template-strong-font,inherit)));font-weight:var(--preview-strong-weight,var(--preview-global-weight,var(--template-strong-weight,bold)));font-style:var(--preview-strong-style,var(--preview-global-style,var(--template-strong-style,normal)))}#preview-container em{color:var(--preview-em-color,var(--preview-global-color,var(--template-em-color,inherit)));font-family:var(--preview-em-font,var(--preview-global-font,var(--template-em-font,inherit)));font-weight:var(--preview-em-weight,var(--preview-global-weight,var(--template-em-weight,normal)));font-style:var(--preview-em-style,var(--preview-global-style,var(--template-em-style,italic)))}#preview-container a{color:var(--preview-a-color,var(--preview-global-color,var(--accent,#6366f1)));font-family:var(--preview-a-font,var(--preview-global-font,var(--template-p-font,inherit)));font-weight:var(--preview-a-weight,var(--preview-global-weight,var(--template-strong-weight,normal)));font-style:var(--preview-a-style,var(--preview-global-style,var(--template-em-style,normal)));text-decoration:underline}#preview-container ul{margin-bottom:.8em;padding-left:20px}#preview-container li{font-size:var(--preview-body-size,var(--template-body-size,15px));color:var(--preview-p-color,var(--preview-global-color,var(--template-p-color,#4b5563)));font-family:var(--preview-p-font,var(--preview-global-font,var(--template-p-font,inherit)));font-weight:var(--preview-p-weight,var(--preview-global-weight,var(--template-p-weight,normal)));font-style:var(--preview-p-style,var(--preview-global-style,var(--template-p-style,normal)));margin-bottom:.3em}#preview-container hr{border:none;border-top:1px solid #e5e7eb;margin:1.2em 0}#preview-container code,#preview-container pre{background-color:#f3f4f6;border-radius:4px;padding:2px 4px;font-family:Fira Code,JetBrains Mono,Consolas,monospace;font-size:.9em}#preview-container pre{margin-bottom:.8em;padding:10px;overflow-x:auto}#preview-container[data-avoid-break=true] li,#preview-container[data-avoid-break=true] p,#preview-container[data-avoid-break=true] pre,#preview-container[data-avoid-break=true] h4,#preview-container[data-avoid-break=true] h5,#preview-container[data-avoid-break=true] h6,#preview-container[data-avoid-break=true].avoid-h1 .resume-header,#preview-container[data-avoid-break=true].avoid-h1 h1,#preview-container[data-avoid-break=true].avoid-h2 .resume-section,#preview-container[data-avoid-break=true].avoid-h2 h2,#preview-container[data-avoid-break=true].avoid-h3 .resume-item,#preview-container[data-avoid-break=true].avoid-h3 h3{page-break-inside:avoid!important;break-inside:avoid!important}#preview-container[data-avoid-break=false] .resume-header,#preview-container[data-avoid-break=false] .resume-section,#preview-container[data-avoid-break=false] .resume-item,#preview-container[data-avoid-break=false] li,#preview-container[data-avoid-break=false] p,#preview-container[data-avoid-break=false] pre,#preview-container[data-avoid-break=false] h1,#preview-container[data-avoid-break=false] h2,#preview-container[data-avoid-break=false] h3,#preview-container[data-avoid-break=false] h4,#preview-container[data-avoid-break=false] h5,#preview-container[data-avoid-break=false] h6{page-break-inside:auto!important;break-inside:auto!important}#preview-container h1,#preview-container h2,#preview-container h3{page-break-after:avoid!important;break-after:avoid!important}#preview-container.pdf-exporting{box-shadow:none!important;border:none!important;width:100%!important;max-width:100%!important;min-height:auto!important;margin:0!important;padding:0!important}#preview-container.template-classic{font-family:var(--preview-p-font,"Playfair Display", Georgia, serif);--template-h1-color:#111827;--template-h1-size:32px;--template-h1-weight:bold;--template-h2-color:#1f2937;--template-h2-size:20px;--template-h2-weight:bold;--template-h3-color:#374151;--template-h3-size:16px;--template-h3-weight:bold;--template-h4-size:14px;--template-h4-color:#4b5563;--template-h5-size:13px;--template-h5-color:#4b5563;--template-h6-size:12px;--template-h6-color:#4b5563;--template-p-color:#4b5563;--template-body-size:15px}#preview-container.template-classic .resume-header{text-align:center;margin-bottom:1.5em}#preview-container.template-classic .resume-header p{font-style:italic}#preview-container.template-classic .resume-section h2{text-transform:uppercase;letter-spacing:1px;border-bottom:1px solid #374151;margin-top:1.2em;margin-bottom:.6em;padding-bottom:4px}#preview-container.template-classic .resume-item h3{justify-content:space-between;display:flex}#preview-container.template-creative{font-family:var(--preview-p-font,"Poppins", "Montserrat", sans-serif);border-left:8px solid var(--preview-h1-color,#4f46e5);--template-h1-color:#4f46e5;--template-h1-size:36px;--template-h1-weight:800;--template-h2-color:#1f2937;--template-h2-size:18px;--template-h2-weight:600;--template-h3-color:#111827;--template-h3-size:15px;--template-h3-weight:bold;--template-h4-size:14px;--template-h4-color:#4b5563;--template-h5-size:13px;--template-h5-color:#4b5563;--template-h6-size:12px;--template-h6-color:#4b5563;--template-p-color:#4b5563;--template-body-size:14px}#preview-container.template-creative .resume-header{margin-bottom:2em}#preview-container.template-creative .resume-section h2{padding-left:12px;position:relative}#preview-container.template-creative .resume-section h2:before{content:"";background-color:var(--preview-h1-color,#4f46e5);border-radius:2px;width:4px;position:absolute;top:4px;bottom:4px;left:0}#preview-container.template-creative .resume-item{background-color:#f9fafb;border:1px solid #f3f4f6;border-radius:8px;margin-bottom:12px;padding:12px 16px}#preview-container.template-minimalist{font-family:var(--preview-p-font,"Inter", sans-serif);--template-h1-color:#1f2937;--template-h1-size:30px;--template-h1-weight:700;--template-h2-color:#4b5563;--template-h2-size:16px;--template-h2-weight:600;--template-h3-color:#1f2937;--template-h3-size:14px;--template-h3-weight:600;--template-h4-size:13px;--template-h4-color:#6b7280;--template-h5-size:12px;--template-h5-color:#6b7280;--template-h6-size:11px;--template-h6-color:#6b7280;--template-p-color:#4b5563;--template-body-size:14px}#preview-container.template-minimalist .resume-header{text-align:left;border-bottom:1px solid #e5e7eb;margin-bottom:1.5em;padding-bottom:15px}#preview-container.template-minimalist .resume-section h2{text-transform:uppercase;letter-spacing:1.5px;border-bottom:1px dashed #e5e7eb;margin-top:1.5em;margin-bottom:.8em;padding-bottom:2px}#preview-container.template-minimalist .resume-item{margin-bottom:.8em}#preview-container.template-developer{font-family:var(--preview-p-font,"Fira Code", monospace);--template-h1-color:#0d9488;--template-h1-size:28px;--template-h1-weight:bold;--template-h2-color:#0f766e;--template-h2-size:18px;--template-h2-weight:bold;--template-h3-color:#111827;--template-h3-size:15px;--template-h3-weight:bold;--template-h4-size:13px;--template-h4-color:#4b5563;--template-h5-size:12px;--template-h5-color:#4b5563;--template-h6-size:11px;--template-h6-color:#4b5563;--template-p-color:#374151;--template-body-size:13px}#preview-container.template-developer .resume-header{background-color:#f8fafc;border:1px solid #cbd5e1;border-radius:4px;margin-bottom:1.5em;padding:15px}#preview-container.template-developer .resume-section{border:1px solid #e2e8f0;border-radius:4px;margin-bottom:14px;padding:14px}#preview-container.template-developer .resume-section h2{color:var(--preview-h1-color,#0d9488);margin-top:0}#preview-container.template-academic{font-family:var(--preview-p-font,"Merriweather", serif);--template-h1-color:#111827;--template-h1-size:28px;--template-h1-weight:700;--template-h2-color:#111827;--template-h2-size:18px;--template-h2-weight:700;--template-h3-color:#374151;--template-h3-size:14px;--template-h3-weight:bold;--template-h4-size:13px;--template-h4-color:#4b5563;--template-h5-size:12px;--template-h5-color:#4b5563;--template-h6-size:11px;--template-h6-color:#4b5563;--template-p-color:#374151;--template-body-size:14px}#preview-container.template-academic .resume-header{text-align:center;margin-bottom:2em}#preview-container.template-academic .resume-section{margin-bottom:2em}#preview-container.template-academic .resume-section h2{border-bottom:1.5px solid #111827;margin-bottom:12px;padding-bottom:2px}#preview-container.template-academic .resume-item{margin-bottom:1.2em}#preview-container.template-compact{font-family:var(--preview-p-font,"Open Sans", sans-serif);--template-h1-color:#1e3a8a;--template-h1-size:24px;--template-h1-weight:bold;--template-h2-color:#2563eb;--template-h2-size:16px;--template-h2-weight:bold;--template-h3-color:#1f2937;--template-h3-size:13px;--template-h3-weight:bold;--template-h4-size:12px;--template-h4-color:#4b5563;--template-h5-size:11px;--template-h5-color:#4b5563;--template-h6-size:10px;--template-h6-color:#4b5563;--template-p-color:#374151;--template-body-size:12.5px;line-height:1.35;padding:10mm!important}#preview-container.template-compact .resume-header{text-align:center;margin-bottom:.8em}#preview-container.template-compact .resume-section{margin-bottom:.8em}#preview-container.template-compact .resume-section h2{border-bottom:1.5px solid #2563eb;margin-top:.6em;margin-bottom:.4em}#preview-container.template-compact .resume-item{margin-bottom:.4em}#preview-container.template-compact p,#preview-container.template-compact li{margin-bottom:.2em}#preview-container.template-editorial{font-family:var(--preview-p-font,"Playfair Display", serif);--template-h1-color:#0f172a;--template-h1-size:38px;--template-h1-weight:900;--template-h2-color:#1e293b;--template-h2-size:22px;--template-h2-weight:800;--template-h3-color:#334155;--template-h3-size:16px;--template-h3-weight:bold;--template-h4-size:14px;--template-h4-color:#475569;--template-h5-size:13px;--template-h5-color:#475569;--template-h6-size:12px;--template-h6-color:#475569;--template-p-color:#334155;--template-body-size:15px}#preview-container.template-editorial .resume-header{text-align:left;border-bottom:3px double #0f172a;margin-bottom:2em;padding-bottom:10px}#preview-container.template-editorial .resume-section h2{text-transform:uppercase;letter-spacing:2px;border-top:1px solid #0f172a;border-bottom:1px solid #0f172a;margin-top:1.5em;padding:4px 0}#preview-container.template-editorial .resume-item{border-left:2px solid #cbd5e1;margin-bottom:1.2em;padding-left:14px}#preview-container.template-modernist{font-family:var(--preview-p-font,"Outfit", "Inter", sans-serif);border-top:10px solid var(--preview-h1-color,#3b82f6);--template-h1-color:#1e3a8a;--template-h1-size:32px;--template-h1-weight:700;--template-h2-color:#2563eb;--template-h2-size:18px;--template-h2-weight:600;--template-h3-color:#1e293b;--template-h3-size:15px;--template-h3-weight:600;--template-h4-size:13px;--template-h4-color:#64748b;--template-h5-size:13px;--template-h5-color:#64748b;--template-h6-size:12px;--template-h6-color:#64748b;--template-p-color:#334155;--template-body-size:14px}#preview-container.template-modernist .resume-header{text-align:center;margin-bottom:2em;padding-top:15px}#preview-container.template-modernist .resume-section h2{text-transform:uppercase;letter-spacing:1px;border-bottom:1px solid #e2e8f0;margin-top:1.5em;padding-bottom:4px}#preview-container.template-modernist .resume-item{margin-bottom:1.2em}#preview-container.template-executive{font-family:var(--preview-p-font,"Lora", "Merriweather", serif);--template-h1-color:#fff;--template-h1-size:28px;--template-h1-weight:700;--template-h2-color:#1e3a8a;--template-h2-size:18px;--template-h2-weight:700;--template-h3-color:#1e293b;--template-h3-size:15px;--template-h3-weight:bold;--template-h4-size:13px;--template-h4-color:#475569;--template-h5-size:13px;--template-h5-color:#475569;--template-h6-size:12px;--template-h6-color:#475569;--template-p-color:#334155;--template-body-size:14px}#preview-container.template-executive .resume-header{background:var(--preview-h1-color,#1e3a8a);color:#fff;border-bottom:4px solid var(--preview-h2-color,#2563eb);margin:-20mm -18mm 2em;padding:30px}#preview-container.template-executive .resume-header h1{color:#fff!important}#preview-container.template-executive .resume-header p,#preview-container.template-executive .resume-header strong,#preview-container.template-executive .resume-header em,#preview-container.template-executive .resume-header a{color:#e2e8f0!important}#preview-container.template-executive .resume-section h2{border-bottom:2px solid var(--preview-h2-color,#1e3a8a);letter-spacing:.5px;margin-top:1.5em;padding-bottom:3px}#preview-container.template-executive .resume-item{margin-bottom:1em}#preview-container.template-tech{font-family:var(--preview-p-font,"JetBrains Mono", "Source Code Pro", monospace);--template-h1-color:#0f766e;--template-h1-size:26px;--template-h1-weight:700;--template-h2-color:#0f766e;--template-h2-size:16px;--template-h2-weight:600;--template-h3-color:#111827;--template-h3-size:14px;--template-h3-weight:bold;--template-h4-size:13px;--template-h4-color:#4b5563;--template-h5-size:13px;--template-h5-color:#4b5563;--template-h6-size:12px;--template-h6-color:#4b5563;--template-p-color:#1f2937;--template-body-size:13px}#preview-container.template-tech .resume-header{border-bottom:1px dashed var(--preview-h1-color,#0f766e);margin-bottom:1.8em;padding-bottom:12px}#preview-container.template-tech .resume-section h2{border-left:4px solid var(--preview-h1-color,#0f766e);text-transform:uppercase;background-color:#f0fdfa;margin-top:1.5em;padding:6px 12px}#preview-container.template-tech .resume-item{border-bottom:1px dashed #e5e7eb;margin-bottom:10px;padding-bottom:8px}#preview-container.template-vintage{font-family:var(--preview-p-font,"Merriweather", "Lora", serif);--template-h1-color:#451a03;--template-h1-size:30px;--template-h1-weight:700;--template-h2-color:#78350f;--template-h2-size:18px;--template-h2-weight:600;--template-h3-color:#1c1917;--template-h3-size:15px;--template-h3-weight:bold;--template-h4-size:13px;--template-h4-color:#44403c;--template-h5-size:13px;--template-h5-color:#44403c;--template-h6-size:12px;--template-h6-color:#44403c;--template-p-color:#292524;--template-body-size:14px}#preview-container.template-vintage .resume-header{text-align:center;border-bottom:1px solid #78350f;margin-bottom:2em;padding-bottom:15px}#preview-container.template-vintage .resume-section h2{text-align:center;margin-top:1.5em;font-style:italic}#preview-container.template-vintage .resume-section h2:after{content:" ❖ ";color:#78350f;margin-top:4px;font-size:10px;display:block}#preview-container.template-vintage .resume-item{margin-bottom:1.2em}#preview-container.template-grid{font-family:var(--preview-p-font,"Outfit", "Inter", sans-serif);--template-h1-color:#0f172a;--template-h1-size:34px;--template-h1-weight:800;--template-h2-color:#334155;--template-h2-size:16px;--template-h2-weight:700;--template-h3-color:#1e293b;--template-h3-size:14px;--template-h3-weight:bold;--template-h4-size:13px;--template-h4-color:#64748b;--template-h5-size:13px;--template-h5-color:#64748b;--template-h6-size:12px;--template-h6-color:#64748b;--template-p-color:#475569;--template-body-size:14px}#preview-container.template-grid .resume-header{border-bottom:2px solid #e2e8f0;grid-template-columns:1fr 1fr;align-items:center;margin-bottom:2.2em;padding-bottom:20px;display:grid}#preview-container.template-grid .resume-section h2{border-left:6px solid var(--preview-h1-color,#0f172a);text-transform:uppercase;margin-top:1.6em;padding-left:10px}#preview-container.template-grid .resume-item{grid-template-columns:1fr 2fr;gap:12px;margin-bottom:1.2em;display:grid}#preview-container.template-clean{font-family:var(--preview-p-font,"Inter", sans-serif);--template-h1-color:#111827;--template-h1-size:28px;--template-h1-weight:500;--template-h2-color:#374151;--template-h2-size:15px;--template-h2-weight:500;--template-h3-color:#111827;--template-h3-size:14px;--template-h3-weight:600;--template-h4-size:13px;--template-h4-color:#9ca3af;--template-h5-size:13px;--template-h5-color:#9ca3af;--template-h6-size:12px;--template-h6-color:#9ca3af;--template-p-color:#4b5563;--template-body-size:14px}#preview-container.template-clean .resume-header{margin-bottom:2.5em}#preview-container.template-clean .resume-section h2{border-bottom:1px solid #f3f4f6;margin-top:1.8em;padding-bottom:6px;font-weight:500}#preview-container.template-clean .resume-item{margin-bottom:1.4em}#preview-container.template-bold{font-family:var(--preview-p-font,"Outfit", "Montserrat", sans-serif);--template-h1-color:#111827;--template-h1-size:36px;--template-h1-weight:900;--template-h2-color:#fff;--template-h2-size:16px;--template-h2-weight:800;--template-h3-color:#111827;--template-h3-size:15px;--template-h3-weight:bold;--template-h4-size:13px;--template-h4-color:#4b5563;--template-h5-size:13px;--template-h5-color:#4b5563;--template-h6-size:12px;--template-h6-color:#4b5563;--template-p-color:#374151;--template-body-size:14px}#preview-container.template-bold .resume-header{border-bottom:5px solid var(--preview-h1-color,#111827);margin-bottom:2em;padding-bottom:16px}#preview-container.template-bold .resume-section h2{background-color:var(--preview-h1-color,#111827);color:#fff;text-transform:uppercase;letter-spacing:1px;margin-top:1.6em;padding:6px 12px}#preview-container.template-bold .resume-item{border-left:3px solid var(--preview-h1-color,#111827);margin-bottom:1.2em;padding-left:12px}#preview-container.template-stylish{font-family:var(--preview-p-font,"Poppins", "Inter", sans-serif);--template-h1-color:#7c3aed;--template-h1-size:34px;--template-h1-weight:700;--template-h2-color:#7c3aed;--template-h2-size:18px;--template-h2-weight:600;--template-h3-color:#1f2937;--template-h3-size:15px;--template-h3-weight:bold;--template-h4-size:13px;--template-h4-color:#6b7280;--template-h5-size:13px;--template-h5-color:#6b7280;--template-h6-size:12px;--template-h6-color:#6b7280;--template-p-color:#4b5563;--template-body-size:14px}#preview-container.template-stylish .resume-header{border-bottom:2px solid #ddd6fe;margin-bottom:2em;padding-bottom:15px}#preview-container.template-stylish .resume-section h2{margin-top:1.6em;display:inline-block;position:relative}#preview-container.template-stylish .resume-section h2:after{content:"";background-color:var(--preview-h2-color,#7c3aed);border-radius:2px;width:100%;height:3px;position:absolute;bottom:-4px;left:0}#preview-container.template-stylish .resume-item{margin-bottom:1.2em}#preview-container.template-hybrid{font-family:var(--preview-p-font,"Outfit", "Inter", sans-serif);--template-h1-color:#0f172a;--template-h1-size:32px;--template-h1-weight:800;--template-h2-color:#1e293b;--template-h2-size:18px;--template-h2-weight:700;--template-h3-color:#1e293b;--template-h3-size:14px;--template-h3-weight:bold;--template-h4-size:13px;--template-h4-color:#64748b;--template-h5-size:13px;--template-h5-color:#64748b;--template-h6-size:12px;--template-h6-color:#64748b;--template-p-color:#475569;--template-body-size:14px}#preview-container.template-hybrid .resume-header{border-bottom:1px solid #e2e8f0;margin-bottom:2em;padding-bottom:15px}#preview-container.template-hybrid .resume-section h2{border-bottom:1px dashed #cbd5e1;margin-top:1.6em;padding-bottom:4px}#preview-container.template-hybrid .resume-item{margin-bottom:1em}.modal-backdrop{-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);z-index:1000;background-color:#0f172ab3;justify-content:center;align-items:center;width:100vw;height:100vh;animation:.2s ease-out fade-in;display:flex;position:fixed;top:0;left:0}.modal-card{background:var(--bg-panel);border:1px solid var(--border);border-radius:12px;flex-direction:column;width:580px;max-width:90vw;animation:.2s cubic-bezier(.16,1,.3,1) scale-up;display:flex;overflow:hidden;box-shadow:0 25px 50px -12px #00000080}.modal-header{border-bottom:1px solid var(--border);justify-content:space-between;align-items:center;padding:18px 24px;display:flex}.modal-title-wrapper{color:#818cf8;align-items:center;gap:8px;display:flex}.modal-title-wrapper h2{color:var(--text-main);font-size:16px;font-weight:600}.close-btn{color:var(--text-muted);cursor:pointer;background:0 0;border:none;border-radius:50%;justify-content:center;align-items:center;padding:4px;transition:all .2s;display:flex}.close-btn:hover{color:var(--text-main);background-color:#ffffff0d}.modal-body{flex-direction:column;gap:24px;max-height:70vh;padding:24px;display:flex;overflow-y:auto}.modal-section{flex-direction:column;gap:12px;display:flex}.modal-section-title{text-transform:uppercase;color:var(--text-muted);letter-spacing:.5px;align-items:center;gap:8px;font-size:13px;font-weight:600;display:flex}.save-form{gap:10px;display:flex}.modal-input{background-color:var(--bg-input);color:var(--text-main);border:1px solid var(--border);border-radius:6px;outline:none;flex:1;padding:10px 14px;font-size:14px;transition:border-color .2s}.modal-input:focus{border-color:var(--border-focus)}.modal-error{color:var(--error);margin-top:4px;font-size:12px;font-weight:500}.empty-state{text-align:center;border:2px dashed var(--border);color:var(--text-muted);border-radius:8px;padding:30px;font-size:13px}.resumes-list{flex-direction:column;gap:8px;display:flex}.resume-slot-item{background-color:var(--bg-input);border:1px solid var(--border);cursor:pointer;border-radius:8px;justify-content:space-between;align-items:center;padding:12px 16px;transition:all .2s;display:flex}.resume-slot-item:hover{border-color:var(--border-focus);background-color:#6366f10d}.slot-info{flex-direction:column;gap:4px;display:flex}.slot-name{color:var(--text-main);font-size:14px;font-weight:600}.slot-meta{color:var(--text-muted);font-size:11px}.delete-slot-btn{color:var(--text-muted);cursor:pointer;background:0 0;border:none;border-radius:4px;padding:8px;transition:all .2s}.delete-slot-btn:hover{color:var(--error);background-color:#ef44441a}.save-slot-btn{color:var(--text-muted);cursor:pointer;background:0 0;border:none;border-radius:4px;margin-right:4px;padding:8px;transition:all .2s}.save-slot-btn:hover{color:var(--accent);background-color:var(--accent-light,#4f46e51a)}.page-break-tip{background:var(--bg-panel);border-top:1px solid var(--border);color:var(--text-muted);justify-content:space-between;align-items:center;gap:6px;height:36px;padding:8px 24px;font-size:12px;display:flex}.github-star-link{transition:color .15s,-webkit-text-decoration .15s,text-decoration .15s;color:var(--text-muted)!important}.github-star-link:hover{color:var(--text-muted)!important;text-decoration:underline!important}.app-toast{color:#fff;z-index:10000;border-radius:6px;padding:12px 20px;font-size:14px;font-weight:500;animation:.2s cubic-bezier(.16,1,.3,1) slide-up;position:fixed;bottom:24px;right:24px;box-shadow:0 10px 15px -3px #0000004d}.toast-success{background-color:var(--success)}.toast-error{background-color:var(--error)}.toast-info{background-color:var(--accent)}@keyframes fade-in{0%{opacity:0}to{opacity:1}}@keyframes scale-up{0%{opacity:0;transform:scale(.95)}to{opacity:1;transform:scale(1)}}@keyframes slide-up{0%{opacity:0;transform:translateY(20px)}to{opacity:1;transform:translateY(0)}}@keyframes slide-down{0%{opacity:0;transform:translateY(-8px)}to{opacity:1;transform:translateY(0)}}@media print{html,body{color:#000!important;-webkit-print-color-adjust:exact!important;print-color-adjust:exact!important;background:#fff!important;height:auto!important;margin:0!important;padding:0!important;overflow:visible!important}html,body,#preview-container,#preview-container *{-webkit-print-color-adjust:exact!important;print-color-adjust:exact!important}.app-header,.workspace-left,.workspace-resizer,.sidebar-toggle-handle,.page-break-tip,.app-toast,.modal-overlay,.pane-header,.low-res-barrier{display:none!important}.app-workspace,.workspace-main,.workspace-right,.preview-container-wrapper,.preview-scroll-viewport{background:#fff!important;width:100%!important;height:auto!important;min-height:0!important;margin:0!important;padding:0!important;display:block!important;overflow:visible!important}#preview-container{box-shadow:none!important;background:#fff!important;border:none!important;width:100%!important;max-width:100%!important;height:auto!important;min-height:0!important;margin:0!important;padding-top:0!important;padding-bottom:0!important;overflow:visible!important}#preview-container.template-creative{border-left:8px solid var(--preview-h1-color,#4f46e5)!important}#preview-container.template-modernist{border-top:10px solid var(--preview-h1-color,#3b82f6)!important}#preview-container.template-executive .resume-header{margin-top:0!important;margin-left:-18mm!important;margin-right:-18mm!important;padding-top:20mm!important}[data-avoid-break=true] li,[data-avoid-break=true] p,[data-avoid-break=true] h4,[data-avoid-break=true] h5,[data-avoid-break=true] h6,[data-avoid-break=true].avoid-h1 .resume-header,[data-avoid-break=true].avoid-h1 h1,[data-avoid-break=true].avoid-h2 .resume-section,[data-avoid-break=true].avoid-h2 h2,[data-avoid-break=true].avoid-h3 .resume-item,[data-avoid-break=true].avoid-h3 h3{page-break-inside:avoid!important;break-inside:avoid!important}[data-avoid-break=false] .resume-header,[data-avoid-break=false] .resume-section,[data-avoid-break=false] .resume-item,[data-avoid-break=false] li,[data-avoid-break=false] p,[data-avoid-break=false] h1,[data-avoid-break=false] h2,[data-avoid-break=false] h3,[data-avoid-break=false] h4,[data-avoid-break=false] h5,[data-avoid-break=false] h6{page-break-inside:auto!important;break-inside:auto!important}}.low-res-barrier{display:none}@media screen and (width<=1124px){.low-res-barrier{color:#f8fafc;z-index:999999;box-sizing:border-box;background-color:#0f172a;flex-direction:column;justify-content:center;align-items:center;width:100vw;height:100vh;padding:32px;font-family:Outfit,Inter,sans-serif;display:flex;position:fixed;top:0;left:0}.barrier-content{-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);text-align:center;background:#1e293bb3;border:1px solid #ffffff1a;border-radius:16px;flex-direction:column;align-items:center;max-width:500px;padding:40px;display:flex;box-shadow:0 20px 40px #00000080}.barrier-icon{color:#6366f1;margin-bottom:24px}.barrier-content h2{color:#fff;margin-bottom:16px;font-size:24px;font-weight:700}.barrier-content p{color:#cbd5e1;margin:0;font-size:15px;line-height:1.6}.app-workspace{display:none!important}}.editor-container{position:relative}.find-replace-widget{background-color:var(--bg-panel);border:1px solid var(--border);box-shadow:var(--shadow);z-index:100;font-family:var(--font-system);color:var(--text-main);-webkit-user-select:none;user-select:none;border-radius:6px;flex-direction:column;gap:6px;min-width:330px;max-width:460px;padding:8px 12px;font-size:13px;display:flex;position:absolute;top:12px;right:24px}.find-replace-row{align-items:center;gap:6px;display:flex}.find-replace-chevron-btn{color:var(--text-muted);cursor:pointer;background:0 0;border:none;border-radius:4px;justify-content:center;align-items:center;padding:3px;transition:background-color .15s,color .15s;display:flex}.find-replace-chevron-btn:hover{background-color:var(--border);color:var(--text-main)}.find-replace-chevron-btn.rotated svg{transform:rotate(-90deg)}.find-replace-chevron-btn svg{transition:transform .15s}.find-replace-input-wrapper{background-color:var(--bg-input);border:1px solid var(--border);border-radius:4px;flex:1;align-items:center;transition:border-color .2s;display:flex;position:relative}.find-replace-input-wrapper:focus-within{border-color:var(--border-focus)}.find-replace-input-wrapper.has-error{border-color:var(--error)}.find-replace-input{color:var(--text-main);background:0 0;border:none;outline:none;width:100%;height:24px;padding:4px 62px 4px 8px;font-size:13px}.find-replace-input::placeholder{color:var(--text-muted);opacity:.6}.find-replace-input-toggles{align-items:center;gap:2px;display:flex;position:absolute;right:4px}.find-replace-toggle-btn{color:var(--text-muted);cursor:pointer;font-size:11px;font-family:var(--font-system);background:0 0;border:1px solid #0000;border-radius:3px;justify-content:center;align-items:center;height:18px;padding:0 4px;font-weight:500;transition:background-color .15s,color .15s;display:flex}.find-replace-toggle-btn:hover{color:var(--text-main);background-color:#ffffff14}.find-replace-toggle-btn.active{background-color:var(--accent);border-color:var(--accent-hover);color:#fff}.find-replace-status{color:var(--text-muted);white-space:nowrap;text-align:center;min-width:45px;margin:0 4px;font-size:11px}.find-replace-action-btn{color:var(--text-main);cursor:pointer;background:0 0;border:none;border-radius:4px;justify-content:center;align-items:center;width:24px;height:24px;padding:4px;transition:background-color .15s,color .15s;display:flex}.find-replace-action-btn:hover{background-color:var(--border)}.find-replace-action-btn:disabled{color:var(--text-muted);opacity:.35;cursor:not-allowed}.find-replace-action-btn:disabled:hover{background-color:#0000}.find-replace-chevron-col{flex-shrink:0;justify-content:center;align-items:center;width:20px;display:flex}.find-replace-input-col{flex:1;align-items:center;display:flex}.find-replace-actions-col{flex-shrink:0;align-items:center;gap:4px;width:140px;display:flex}
