*,:before,:after{box-sizing:border-box;margin:0;padding:0}:root{--bg:#f8f9fc;--surface:#fff;--surface-hover:#f1f3f9;--border:#e2e5f1;--border-hover:#c7cce0;--text-primary:#1a1a2e;--text-secondary:#5a5d7a;--text-muted:#8b8ea8;--accent:#2bbcb3;--accent-hover:#24a49c;--accent-light:#e8faf9;--accent-glow:#2bbcb326;--danger:#ef4444;--success:#22c55e;--radius:12px;--radius-sm:8px;--shadow-md:0 4px 16px #0000000f, 0 2px 4px #0000000a;--shadow-lg:0 12px 40px #00000014, 0 4px 12px #0000000a;--transition:.2s cubic-bezier(.4, 0, .2, 1)}html[data-theme=dark]{--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;--bg:#0f1117;--surface:#181b24;--surface-hover:#252936;--border:#2d3342;--border-hover:#3d4558;--text-primary:#ececf1;--text-secondary:#a1a7b3;--text-muted:#6b7289;--accent:#2bbcb3;--accent-hover:#34cec4;--accent-light:#2bbcb324;--accent-glow:#2bbcb338;--danger:#f87171;--success:#4ade80;--shadow-md:0 4px 24px #00000059;--shadow-lg:0 12px 48px #00000080}html{-webkit-font-smoothing:antialiased;font-size:16px}body{background:var(--bg);color:var(--text-primary);flex-direction:column;min-height:100vh;font-family:Inter,-apple-system,BlinkMacSystemFont,sans-serif;display:flex}.navbar{background:var(--surface);border-bottom:1px solid var(--border);z-index:100;justify-content:flex-start;align-items:center;gap:1rem;height:64px;padding:0 2rem;display:flex;position:sticky;top:0}.nav-brand{align-items:center;gap:10px;font-size:1.25rem;font-weight:700;display:flex}.nav-logo{object-fit:contain;width:32px;height:32px}.nav-actions{align-items:center;gap:.75rem;margin-left:auto;display:flex}.theme-settings-wrap{position:relative}.btn-theme-trigger{border-radius:var(--radius-sm);border:1px solid var(--border);background:var(--surface);color:var(--text-secondary);cursor:pointer;transition:background var(--transition), border-color var(--transition), color var(--transition);align-items:center;gap:8px;padding:8px 14px;font-family:inherit;font-size:.8125rem;font-weight:600;display:inline-flex}.btn-theme-trigger:hover{background:var(--surface-hover);color:var(--text-primary);border-color:var(--border-hover)}.theme-settings-panel{z-index:150;border-radius:var(--radius);background:var(--surface);border:1px solid var(--border);min-width:240px;box-shadow:var(--shadow-lg);padding:10px;animation:.2s fadeIn;position:absolute;top:calc(100% + 10px);right:0}.theme-settings-title{text-transform:uppercase;letter-spacing:.06em;color:var(--text-muted);padding:4px 8px 8px;font-size:.6875rem;font-weight:700}.theme-option{text-align:left;border-radius:var(--radius-sm);cursor:pointer;width:100%;color:var(--text-primary);transition:background var(--transition);background:0 0;border:none;align-items:flex-start;gap:12px;padding:10px;font-family:inherit;display:flex}.theme-option:hover{background:var(--surface-hover)}.theme-option.active{background:var(--accent-light);outline:1px solid #2bbcb359}.theme-option-icon{background:var(--bg);width:36px;height:36px;color:var(--accent);border-radius:8px;flex-shrink:0;justify-content:center;align-items:center;display:flex}.theme-option-label{font-size:.875rem;font-weight:600;display:block}.theme-option-desc{color:var(--text-muted);margin-top:2px;font-size:.75rem;display:block}html[data-theme=dark] .preview-frame{color:#1a1a2e;background:#f4f5f7}.container{flex:1;width:100%;max-width:1100px;margin:0 auto;padding:2rem 1.5rem 4rem}.step{animation:.4s fadeIn}@keyframes fadeIn{0%{opacity:0;transform:translateY(12px)}to{opacity:1;transform:translateY(0)}}.step-header{align-items:center;gap:14px;margin-bottom:1.5rem;display:flex}.step-badge{background:var(--accent);color:#fff;border-radius:50%;flex-shrink:0;justify-content:center;align-items:center;width:36px;height:36px;font-size:.875rem;font-weight:700;display:flex}.step-badge.done{background:var(--success)}.step-header h2{font-size:1.375rem;font-weight:700}.step-desc{color:var(--text-secondary);margin-top:2px;font-size:.875rem}.upload-zone{border:2px dashed var(--border);border-radius:var(--radius);text-align:center;cursor:pointer;transition:all var(--transition);background:var(--surface);padding:3rem 2rem}.upload-zone:hover,.upload-zone.dragover{border-color:var(--accent);background:var(--accent-light)}.upload-icon{color:var(--text-muted);margin-bottom:12px}.upload-text{margin-bottom:4px;font-size:1rem;font-weight:600}.upload-subtext{color:var(--text-muted);font-size:.8125rem}.file-card{background:var(--accent-light);border-radius:var(--radius-sm);border:1px solid #2bbcb333;align-items:center;gap:12px;margin-top:1rem;padding:12px 16px;display:flex}.file-name{font-size:.875rem;font-weight:600}.file-size{color:var(--text-muted);font-size:.75rem}.api-key-section{margin-top:1.5rem}.api-key-section label{color:var(--text-secondary);margin-bottom:6px;font-size:.8125rem;font-weight:600;display:block}.api-key-input{border:1px solid var(--border);border-radius:var(--radius-sm);background:var(--surface);width:100%;max-width:400px;color:var(--text-primary);outline:none;padding:10px 14px;font-family:inherit;font-size:.875rem}.api-key-input:focus{border-color:var(--accent);box-shadow:0 0 0 3px var(--accent-glow)}.btn-primary{background:var(--accent);color:#fff;border-radius:var(--radius-sm);cursor:pointer;transition:all var(--transition);border:none;align-items:center;gap:8px;padding:12px 24px;font-family:inherit;font-size:.9375rem;font-weight:600;display:inline-flex}.btn-primary:hover:not(:disabled){background:var(--accent-hover);transform:translateY(-1px)}.btn-primary:disabled{opacity:.5;cursor:not-allowed}.btn-secondary{background:var(--surface);color:var(--text-primary);border:1px solid var(--border);border-radius:var(--radius-sm);cursor:pointer;align-items:center;gap:8px;padding:10px 20px;font-family:inherit;font-size:.875rem;font-weight:600;display:inline-flex}.btn-secondary:hover{background:var(--surface-hover)}.btn-chat-toggle{border-color:var(--accent);color:var(--accent)}.btn-icon{border:1px solid var(--border);border-radius:var(--radius-sm);background:var(--surface);cursor:pointer;flex-shrink:0;justify-content:center;align-items:center;width:36px;height:36px;display:flex}.processing-card{text-align:center;background:var(--surface);border-radius:var(--radius);box-shadow:var(--shadow-md);padding:4rem 2rem}.processing-card h3{margin-bottom:6px;font-size:1.25rem;font-weight:700}.processing-card p{color:var(--text-secondary);margin-bottom:1.5rem;font-size:.875rem}.spinner{border:4px solid var(--border);border-top-color:var(--accent);border-radius:50%;width:48px;height:48px;margin:0 auto 1.5rem;animation:.8s linear infinite spin}@keyframes spin{to{transform:rotate(360deg)}}.progress-bar{background:var(--border);border-radius:3px;width:100%;max-width:300px;height:6px;margin:0 auto;overflow:hidden}.progress-fill{background:linear-gradient(90deg, var(--accent), #5ed5cd);border-radius:3px;height:100%;transition:width .5s}.result-actions{flex-wrap:wrap;gap:10px;margin-bottom:1.5rem;display:flex}.result-layout{align-items:flex-start;gap:1rem;display:flex}.btn-source-toggle{border-color:var(--accent);color:var(--accent)}.source-cv-panel{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);flex-direction:column;width:min(38vw,460px);max-height:78vh;display:flex;position:sticky;top:1rem;overflow:hidden}.source-cv-header{border-bottom:1px solid var(--border);justify-content:space-between;align-items:center;padding:.75rem 1rem;display:flex}.source-cv-text{white-space:pre-wrap;overflow-wrap:anywhere;font:.8125rem/1.55 var(--font-mono,monospace);color:var(--text-primary);margin:0;padding:1rem;overflow:auto}.preview-container{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);min-width:0;box-shadow:var(--shadow-md);flex:1;overflow:hidden}.preview-frame{max-height:80vh;padding:2.5rem;font-family:Poppins,sans-serif;font-size:10pt;line-height:1.5;overflow-y:auto}.chat-panel{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);width:360px;box-shadow:var(--shadow-md);flex-direction:column;flex-shrink:0;height:70vh;animation:.3s slideIn;display:flex}@keyframes slideIn{0%{opacity:0;transform:translate(20px)}to{opacity:1;transform:translate(0)}}.chat-header{border-bottom:1px solid var(--border);align-items:center;gap:10px;padding:14px 16px;display:flex}.chat-logo{object-fit:contain;width:28px;height:28px}.chat-title{font-size:.9375rem;font-weight:700}.chat-subtitle{color:var(--text-muted);font-size:.6875rem}.chat-messages{flex-direction:column;flex:1;gap:12px;padding:16px;display:flex;overflow-y:auto}.chat-bubble{border-radius:12px;max-width:85%;padding:10px 14px;font-size:.8125rem;line-height:1.5}.chat-msg-ai .chat-bubble{background:var(--surface-hover);border-bottom-left-radius:4px}.chat-msg-user .chat-bubble{background:var(--accent);color:#fff;border-bottom-right-radius:4px}.chat-msg-user{align-self:flex-end}.chat-typing{gap:4px;padding:4px 0;display:flex}.chat-typing span{background:var(--text-muted);border-radius:50%;width:6px;height:6px;animation:1.4s infinite bounce}.chat-typing span:nth-child(2){animation-delay:.2s}.chat-typing span:nth-child(3){animation-delay:.4s}@keyframes bounce{0%,80%,to{transform:translateY(0)}40%{transform:translateY(-6px)}}.chat-input-area{border-top:1px solid var(--border);gap:8px;padding:12px 16px;display:flex}.chat-input{border:1px solid var(--border);background:var(--bg);border-radius:20px;outline:none;flex:1;padding:10px 14px;font-family:inherit;font-size:.8125rem}.chat-input:focus{border-color:var(--accent)}.btn-send{background:var(--accent);color:#fff;cursor:pointer;border:none;border-radius:50%;justify-content:center;align-items:center;width:40px;height:40px;display:flex}.modal-overlay{z-index:200;justify-content:center;align-items:center;display:flex;position:fixed;inset:0}.modal-backdrop{-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);background:#0006;position:absolute;inset:0}.modal-content{background:var(--surface);border-radius:var(--radius);width:90%;max-width:800px;max-height:85vh;box-shadow:var(--shadow-lg);flex-direction:column;display:flex;position:relative}.modal-header{border-bottom:1px solid var(--border);justify-content:space-between;align-items:center;padding:1rem 1.5rem;display:flex}.modal-header h3{font-size:1rem;font-weight:700}.modal-footer{border-top:1px solid var(--border);justify-content:flex-end;gap:10px;padding:1rem 1.5rem;display:flex}.form-editor{flex-direction:column;flex:1;gap:1.25rem;padding:1.5rem;display:flex;overflow-y:auto}.form-section{border-bottom:1px solid var(--border);padding-bottom:1rem}.form-section:last-child{border-bottom:none}.form-section-title{text-transform:uppercase;letter-spacing:.5px;color:var(--accent);margin-bottom:.75rem;font-size:.75rem;font-weight:700}.form-row{gap:12px;margin-bottom:10px;display:flex}.form-row>*{flex:1}.form-field label{color:var(--text-secondary);text-transform:uppercase;letter-spacing:.3px;margin-bottom:4px;font-size:.6875rem;font-weight:600;display:block}.form-field input,.form-field textarea{border:1px solid var(--border);width:100%;color:var(--text-primary);background:var(--bg);border-radius:6px;outline:none;padding:8px 12px;font-family:inherit;font-size:.8125rem}.form-field input:focus,.form-field textarea:focus{border-color:var(--accent)}.form-field textarea{resize:vertical;min-height:60px;line-height:1.5}.form-field.is-missing input,.form-field.is-missing textarea{color:#3f3500;background:#fff9d9;border-color:#e6c75a}.form-field.is-suggested input,.form-field.is-suggested textarea{background:#facc1524;border-color:#d4a017}html[data-theme=dark] .form-field.is-suggested input,html[data-theme=dark] .form-field.is-suggested textarea{color:#3f3500;background:#fff8cf}.form-field-label-row{justify-content:space-between;align-items:center;gap:.5rem;margin-bottom:5px;display:flex}.form-field-label-row label{margin-bottom:0}.btn-verify-suggestion{color:#a16207;cursor:pointer;background:#fff8cf;border:1px solid #d4a017;border-radius:999px;padding:2px 8px;font-family:inherit;font-size:.625rem;font-weight:800}.btn-verify-suggestion:hover{background:#fef08a}.btn-verify-all{border-radius:var(--radius-sm);color:#854d0e;cursor:pointer;background:#fff8cf;border:1px solid #d4a017;padding:10px 16px;font-family:inherit;font-size:.875rem;font-weight:700}.btn-verify-all:hover{background:#fef08a}.form-section.is-missing-section{outline-offset:6px;border-radius:8px;outline:1px solid #e6c75a}.suggestion-banner,.unresolved-banner{border-radius:var(--radius-sm);color:var(--text-primary);margin:0 0 1rem;padding:.9rem 1rem}.suggestion-banner{background:#facc1524;border:1px solid #d4a017}.suggestion-banner-compact{justify-content:space-between;align-items:center;gap:1rem;display:flex}.suggestion-banner-compact .missing-banner-title{margin-bottom:.2rem}.suggestion-banner-copy{color:var(--text-secondary);font-size:.8125rem}.unresolved-banner{background:#ef444414;border:1px solid #ef444480}.missing-banner-title{margin-bottom:.5rem;font-size:.875rem;font-weight:700}.missing-banner-list{margin:0 0 .75rem;padding-left:1.2rem;font-size:.8125rem}.missing-banner-in-editor{margin-bottom:.25rem}.missing-jump{color:inherit;font:inherit;cursor:pointer;text-align:left;background:0 0;border:none;padding:0;text-decoration:underline}.job-block{background:var(--bg);border-radius:var(--radius-sm);border:1px solid var(--border);margin-bottom:.75rem;padding:1rem}.job-block-header{justify-content:space-between;align-items:center;margin-bottom:.75rem;display:flex}.job-block-title{font-size:.8125rem;font-weight:700}.btn-add{background:var(--accent-light);color:var(--accent);border:1px dashed var(--accent);cursor:pointer;border-radius:6px;justify-content:center;align-items:center;gap:4px;width:100%;margin-top:8px;padding:8px 16px;font-family:inherit;font-size:.8125rem;font-weight:600;display:inline-flex}.btn-add:hover{background:var(--accent);color:#fff;border-style:solid}.btn-remove{color:var(--danger);border:1px solid var(--danger);cursor:pointer;white-space:nowrap;background:0 0;border-radius:4px;padding:4px 10px;font-family:inherit;font-size:.6875rem;font-weight:600}.btn-remove:hover{background:var(--danger);color:#fff}.toast{color:#fff;border-radius:var(--radius-sm);box-shadow:var(--shadow-lg);z-index:300;background:#1e1e2e;align-items:center;gap:12px;padding:12px 20px;font-size:.875rem;animation:.3s slideUp;display:flex;position:fixed;bottom:2rem;left:50%;transform:translate(-50%)}.toast.error{background:var(--danger)}@keyframes slideUp{0%{opacity:0;transform:translate(-50%,12px)}to{opacity:1;transform:translate(-50%)}}.auth-container{background:var(--bg);justify-content:center;align-items:center;min-height:100vh;padding:2rem;display:flex}.auth-card{background:var(--surface);border-radius:var(--radius);width:100%;max-width:420px;box-shadow:var(--shadow-lg);padding:2.5rem}.auth-header{text-align:center;margin-bottom:2rem}.auth-header img{margin:0 auto 1rem}.auth-header h1{margin-bottom:4px;font-size:1.5rem;font-weight:700}.auth-header p{color:var(--text-secondary);font-size:.875rem}.auth-error{color:var(--danger);border-radius:var(--radius-sm);background:#fef2f2;border:1px solid #fecaca;padding:10px 14px;font-size:.8125rem}.auth-btn{justify-content:center;width:100%;margin-top:.5rem}.auth-switch{text-align:center;color:var(--text-secondary);margin-top:1.5rem;font-size:.8125rem}.auth-switch a{color:var(--accent);font-weight:600;text-decoration:none}.auth-switch a:hover{text-decoration:underline}.local-build-badge{border:1px solid var(--accent);color:var(--accent);letter-spacing:.08em;border-radius:999px;margin-bottom:.75rem;padding:.3rem .6rem;font-size:.6875rem;font-weight:800;display:inline-block}.form-group{flex-direction:column;gap:6px;display:flex}.form-group label{color:var(--text-secondary);font-size:.8125rem;font-weight:600}.form-group input{border:1px solid var(--border);border-radius:var(--radius-sm);background:var(--surface);color:var(--text-primary);outline:none;padding:10px 14px;font-family:inherit;font-size:.875rem}.form-group input:focus{border-color:var(--accent);box-shadow:0 0 0 3px var(--accent-glow)}.billing-container{max-width:600px;margin:0 auto;padding:2rem 1.5rem}.billing-card{background:var(--surface);border-radius:var(--radius);box-shadow:var(--shadow-md);text-align:center;padding:2rem}.billing-card h2{margin-bottom:.5rem;font-size:1.25rem;font-weight:700}.billing-card .price{color:var(--accent);margin:1rem 0;font-size:2.5rem;font-weight:700}.billing-card .price span{color:var(--text-secondary);font-size:1rem;font-weight:400}.billing-card .features{text-align:left;margin:1.5rem 0;list-style:none}.billing-card .features li{color:var(--text-secondary);border-bottom:1px solid var(--border);align-items:center;gap:8px;padding:8px 0;font-size:.875rem;display:flex}.billing-card .features li:before{content:"✓";color:var(--success);font-weight:700}.status-badge{text-transform:uppercase;border-radius:20px;padding:4px 12px;font-size:.75rem;font-weight:700;display:inline-block}.status-badge.active{color:#16a34a;background:#dcfce7}.status-badge.inactive{color:#d97706;background:#fef3c7}.status-badge.past-due{color:var(--danger);background:#fef2f2}.dashboard-layout{min-height:calc(100vh - 64px);display:flex}.sidebar{background:var(--surface);border-right:1px solid var(--border);flex-direction:column;flex-shrink:0;width:240px;padding:1.5rem 0;display:flex}.sidebar-nav{flex-direction:column;flex:1;gap:2px;display:flex}.sidebar-link{color:var(--text-secondary);transition:all var(--transition);cursor:pointer;text-align:left;background:0 0;border:none;align-items:center;gap:10px;width:100%;padding:10px 1.5rem;font-family:inherit;font-size:.875rem;font-weight:500;text-decoration:none;display:flex}.sidebar-link:hover{background:var(--surface-hover);color:var(--text-primary)}.sidebar-link.active{background:var(--accent-light);color:var(--accent);font-weight:600}.sidebar-user{border-top:1px solid var(--border);color:var(--text-muted);padding:1rem 1.5rem;font-size:.75rem}.sidebar-user .user-name{color:var(--text-primary);font-size:.8125rem;font-weight:600}.sidebar-user .user-org{color:var(--text-muted);margin-top:2px;font-size:.6875rem}.dashboard-content{flex:1;padding:2rem;overflow-y:auto}.nav-right{align-items:center;gap:12px;margin-left:auto;display:flex}.nav-user{color:var(--text-secondary);font-size:.8125rem;font-weight:600}.btn-logout{color:var(--text-secondary);border:1px solid var(--border);border-radius:var(--radius-sm);cursor:pointer;background:0 0;padding:6px 14px;font-family:inherit;font-size:.75rem;font-weight:600}.btn-logout:hover{background:var(--surface-hover);color:var(--danger);border-color:var(--danger)}.template-selector{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius-sm);align-items:center;gap:8px;padding:4px 8px;display:flex}.template-label{color:var(--text-secondary);white-space:nowrap;font-size:.8125rem;font-weight:600}.template-dropdown{color:var(--text-primary);background:var(--bg);border:1px solid var(--border);border-radius:var(--radius-sm);cursor:pointer;appearance:none;background-image:url("data:image/svg+xml,%3Csvg width='10' height='6' viewBox='0 0 10 6' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%23999' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");background-position:right 10px center;background-repeat:no-repeat;padding:6px 28px 6px 10px;font-family:inherit;font-size:.8125rem;font-weight:500}.template-dropdown:hover{border-color:var(--accent)}.template-dropdown:focus{border-color:var(--accent);box-shadow:0 0 0 2px var(--accent-light);outline:none}.cv-history-panel{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);box-shadow:var(--shadow-md);margin-top:2rem;padding:1.25rem 1.25rem 1rem}.cv-history-title{color:var(--text-primary);margin-bottom:.35rem;font-size:.9375rem;font-weight:700}.cv-history-hint{color:var(--text-muted);margin-bottom:1rem;font-size:.75rem;line-height:1.45}.cv-history-list{flex-direction:column;gap:.65rem;list-style:none;display:flex}.cv-history-row{background:var(--bg);border:1px solid var(--border);border-radius:var(--radius-sm);justify-content:space-between;align-items:flex-start;gap:1rem;padding:.75rem .85rem;display:flex}.cv-history-meta{flex:1;min-width:0}.cv-history-name{color:var(--text-primary);white-space:nowrap;text-overflow:ellipsis;font-size:.875rem;font-weight:600;overflow:hidden}.cv-history-sub{color:var(--text-secondary);flex-wrap:wrap;align-items:center;gap:.25rem;margin-top:.2rem;font-size:.75rem;display:flex}.cv-history-title-text{text-overflow:ellipsis;white-space:nowrap;max-width:100%;overflow:hidden}.cv-history-dot{color:var(--text-muted);-webkit-user-select:none;user-select:none}.cv-history-badge{text-transform:uppercase;letter-spacing:.04em;color:var(--accent);font-size:.6875rem;font-weight:700}.cv-history-file{color:var(--text-muted);text-overflow:ellipsis;white-space:nowrap;margin-top:.35rem;font-size:.6875rem;overflow:hidden}.cv-history-actions{flex-shrink:0;align-items:center;gap:.35rem;display:flex}.btn-sm{padding:6px 12px;font-size:.75rem}.cv-history-remove{color:var(--text-muted);background:0 0;border:none}.cv-history-remove:hover{color:var(--danger)}.bulk-list{flex-direction:column;gap:.6rem;margin-top:.25rem;list-style:none;display:flex}.bulk-row{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius-sm);box-shadow:var(--shadow-md);justify-content:space-between;align-items:flex-start;gap:1rem;padding:.85rem 1rem;display:flex}.bulk-meta{flex:1;min-width:0}.bulk-name{color:var(--text-primary);white-space:nowrap;text-overflow:ellipsis;font-size:.9375rem;font-weight:600;overflow:hidden}.bulk-sub{color:var(--text-secondary);flex-wrap:wrap;align-items:center;gap:.35rem;margin-top:.25rem;font-size:.75rem;display:flex}.bulk-status{text-transform:uppercase;letter-spacing:.04em;border-radius:999px;align-items:center;gap:6px;padding:2px 10px;font-size:.6875rem;font-weight:700;display:inline-flex}.bulk-status-pending{background:var(--surface-hover);color:var(--text-muted)}.bulk-status-uploading,.bulk-status-formatting{background:var(--accent-light);color:var(--accent)}.bulk-status-done{color:var(--success);background:#22c55e1f}.bulk-status-error{color:var(--danger);background:#ef44441f}.bulk-spinner{border:2px solid var(--accent-light);border-top-color:var(--accent);border-radius:50%;width:10px;height:10px;animation:.8s linear infinite spin}.bulk-error{color:var(--danger);background:#ef444414;border:1px solid #ef444433;border-radius:6px;margin-top:.4rem;padding:.4rem .6rem;font-size:.75rem}@media (max-width:768px){.bulk-row{flex-direction:column;align-items:stretch}.bulk-row .cv-history-actions{flex-wrap:wrap;justify-content:flex-end}}.auth-page{background:var(--bg);justify-content:center;align-items:center;min-height:100vh;padding:2rem 1rem;display:flex}.auth-card{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);width:100%;max-width:400px;box-shadow:var(--shadow-lg);padding:2rem}.auth-brand{text-align:center;margin-bottom:1.5rem}.auth-brand h1{margin-top:.75rem;font-size:1.35rem;font-weight:700}.auth-sub{color:var(--text-muted);margin-top:.25rem;font-size:.8125rem}.auth-form{flex-direction:column;gap:1rem;display:flex}.auth-label{color:var(--text-secondary);flex-direction:column;gap:.35rem;font-size:.8125rem;font-weight:600;display:flex}.auth-input{border:1px solid var(--border);border-radius:var(--radius-sm);background:var(--bg);color:var(--text-primary);padding:10px 12px;font-family:inherit;font-size:.9375rem}.auth-input:focus{border-color:var(--accent);box-shadow:0 0 0 2px var(--accent-light);outline:none}.auth-submit{justify-content:center;width:100%}.auth-error{border-radius:var(--radius-sm);color:var(--danger);background:#ef44441a;border:1px solid #ef444440;padding:10px 12px;font-size:.8125rem}.auth-success{border-radius:var(--radius-sm);color:var(--success);background:#22c55e1a;border:1px solid #22c55e40;padding:10px 12px;font-size:.8125rem}.auth-footer{text-align:center;color:var(--text-muted);margin-top:1.25rem;font-size:.8125rem}.auth-footer a{color:var(--accent);font-weight:600;text-decoration:none}.auth-footer a:hover{text-decoration:underline}.btn-google{border-radius:var(--radius-sm);border:1px solid var(--border);background:var(--surface);width:100%;color:var(--text-primary);cursor:pointer;transition:background var(--transition), border-color var(--transition), box-shadow var(--transition);justify-content:center;align-items:center;gap:10px;padding:11px 16px;font-family:inherit;font-size:.875rem;font-weight:600;display:inline-flex}.btn-google:hover:not(:disabled){background:var(--surface-hover);border-color:var(--border-hover);box-shadow:var(--shadow-md)}.btn-google:disabled{opacity:.65;cursor:not-allowed}.auth-divider{color:var(--text-muted);align-items:center;gap:12px;margin:1.25rem 0;font-size:.75rem;display:flex}.auth-divider:before,.auth-divider:after{content:"";background:var(--border);flex:1;height:1px}.auth-divider span{white-space:nowrap}.user-menu{flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:.5rem;display:flex}.user-menu-email{color:var(--text-secondary);text-overflow:ellipsis;white-space:nowrap;max-width:160px;font-size:.75rem;font-weight:500;overflow:hidden}.user-menu-out{justify-content:center;align-items:center;text-decoration:none;display:inline-flex}.user-menu-profile{color:var(--text-secondary);border-radius:var(--radius-sm);align-items:center;gap:.4rem;padding:.25rem .5rem;font-size:.8125rem;font-weight:500;text-decoration:none;transition:background .15s,color .15s;display:inline-flex}.user-menu-profile:hover{background:var(--surface-hover);color:var(--text-primary)}.user-menu-name{text-overflow:ellipsis;white-space:nowrap;max-width:140px;overflow:hidden}.user-menu-avatar,.user-menu-avatar-fallback{border-radius:50%;flex-shrink:0;width:28px;height:28px}.user-menu-avatar{object-fit:cover}.user-menu-avatar-fallback{background:var(--accent-muted);color:var(--accent);justify-content:center;align-items:center;font-size:.75rem;font-weight:600;display:inline-flex}.profile-cache-status{color:var(--success);margin:0 0 .75rem;font-size:.875rem}.profile-cache-password{border-top:1px solid var(--border);margin-top:1.25rem;padding-top:1.25rem}.profile-cache-password .profile-section-title{margin-bottom:.35rem;font-size:1rem}.profile-cache-password .profile-section-desc{margin-bottom:.75rem}.profile-page{max-width:720px;padding-top:1.5rem;padding-bottom:3rem}.profile-header-row{margin-bottom:1.25rem}.profile-muted{color:var(--text-muted);font-size:.875rem}.profile-card{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius-md);box-shadow:var(--shadow-sm);margin-bottom:1.5rem;padding:1.5rem}.profile-hero{align-items:center;gap:1rem;margin-bottom:1.25rem;display:flex}.profile-avatar-img,.profile-avatar-fallback{border-radius:50%;flex-shrink:0;width:72px;height:72px}.profile-avatar-img{object-fit:cover}.profile-avatar-fallback{background:var(--accent-muted);color:var(--accent);justify-content:center;align-items:center;font-size:1.75rem;font-weight:600;display:flex}.profile-hero-text h1{margin:0 0 .15rem;font-size:1.375rem;font-weight:600}.profile-username{color:var(--text-muted);margin:0;font-size:.875rem}.profile-email{color:var(--text-secondary);margin:.25rem 0 0;font-size:.8125rem}.profile-stats{background:var(--bg);border-radius:var(--radius-sm);border:1px solid var(--border);grid-template-columns:repeat(auto-fit,minmax(140px,1fr));gap:.75rem;margin-bottom:1.25rem;padding:1rem;display:grid}.profile-stat{flex-direction:column;gap:.2rem;display:flex}.profile-stat-label{text-transform:uppercase;letter-spacing:.04em;color:var(--text-muted);font-size:.6875rem}.profile-stat-value{color:var(--text-primary);font-size:.875rem;font-weight:500}.profile-edit{flex-wrap:wrap;align-items:flex-end;gap:.75rem;display:flex}.profile-edit .auth-label{flex:1;min-width:200px;margin:0}.profile-save-msg{color:var(--success);align-self:center;font-size:.8125rem}.profile-cv-section{margin-top:.5rem}.profile-section-title{margin:0 0 .35rem;font-size:1.125rem;font-weight:600}.profile-section-desc{color:var(--text-secondary);margin:0 0 1rem;font-size:.875rem}.profile-empty-cvs{text-align:center;background:var(--surface);border:1px dashed var(--border);border-radius:var(--radius-md);padding:2rem 1rem}.profile-empty-cvs p{color:var(--text-muted);margin:0 0 1rem}.cv-history-profile-link{margin-top:.75rem;font-size:.8125rem}.cv-history-profile-link a{color:var(--accent);text-decoration:none}.cv-history-profile-link a:hover{text-decoration:underline}.cv-history-panel-compact{margin-top:0}.footer{text-align:center;color:var(--text-muted);border-top:1px solid var(--border);padding:1.5rem;font-size:.75rem}@media (max-width:768px){.result-layout{flex-direction:column}.source-cv-panel{width:100%;max-height:45vh;position:static}.suggestion-banner-compact{flex-direction:column;align-items:stretch}.chat-panel{width:100%;height:50vh}.result-actions{flex-direction:column}.cv-history-row{flex-direction:column;align-items:stretch}.cv-history-actions{justify-content:flex-end}}
