:root{font-family:system-ui,Avenir,Helvetica,Arial,sans-serif;line-height:1.5;font-weight:400;color-scheme:light dark;color:#ffffffde;background-color:#242424;font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}a{font-weight:500;color:#646cff;text-decoration:inherit}a:hover{color:#535bf2}body{margin:0;display:flex;place-items:center;min-width:320px;min-height:100vh}h1{font-size:3.2em;line-height:1.1}button{border-radius:8px;border:1px solid transparent;padding:.6em 1.2em;font-size:1em;font-weight:500;font-family:inherit;background-color:#1a1a1a;cursor:pointer;transition:border-color .25s}button:hover{border-color:#646cff}button:focus,button:focus-visible{outline:4px auto -webkit-focus-ring-color}@media (prefers-color-scheme: light){:root{color:#213547;background-color:#fff}a:hover{color:#747bff}button{background-color:#f9f9f9}}.app{max-width:1200px;margin:0 auto;padding:2rem}.app-header{text-align:center;margin-bottom:3rem}.app-header h1{color:#646cff;font-size:2.5rem;margin-bottom:.5rem}.app-header p{color:#888;font-size:1.1rem}.input-mode-toggle{display:flex;margin-bottom:1rem;border-radius:8px;overflow:hidden;box-shadow:0 2px 4px #0000001a}.toggle-button{padding:.75rem 1.5rem;background-color:#f8f9fa;color:#666;border:1px solid #dee2e6;cursor:pointer;font-weight:500;transition:background-color .3s ease;flex:1;text-align:center}.toggle-button:first-child{border-right:none}.toggle-button.active{background-color:#646cff;color:#fff;border-color:#646cff}.toggle-button:hover:not(.active){background-color:#e9ecef}.resume-form{display:grid;grid-template-columns:1fr 1fr;gap:2rem;margin-bottom:2rem;width:100%;overflow:hidden}.form-group{display:flex;flex-direction:column;width:100%;max-width:100%;min-width:0;box-sizing:border-box}.form-group label{font-weight:600;margin-bottom:.5rem;color:#333}.form-textarea{width:100%;padding:1rem;border:2px solid #e0e0e0;border-radius:8px;font-family:Segoe UI,Tahoma,Geneva,Verdana,sans-serif;font-size:14px;line-height:1.5;resize:vertical;transition:border-color .3s ease;box-sizing:border-box;max-width:100%}.form-textarea:focus{outline:none;border-color:#646cff}.file-input{width:100%;padding:1rem;border:2px dashed #e0e0e0;border-radius:8px;background-color:#fafafa;cursor:pointer;transition:border-color .3s ease;font-size:14px}.file-input:hover{border-color:#646cff;background-color:#f8f9ff}.file-input:focus{outline:none;border-color:#646cff}.file-drop-zone{position:relative;border:2px dashed #e0e0e0;border-radius:8px;background-color:#fafafa;transition:all .3s ease;cursor:pointer}.file-drop-zone:hover,.file-drop-zone.drag-over{border-color:#646cff;background-color:#f8f9ff}.file-drop-zone input[type=file]{position:absolute;width:100%;height:100%;opacity:0;cursor:pointer}.file-drop-content{padding:2rem;text-align:center;pointer-events:none}.file-drop-content p{margin:.5rem 0;color:#666}.file-drop-hint{font-size:12px;color:#999}.uploaded-file-status{margin-top:1rem}.uploaded-file-info{margin-top:.5rem;color:#28a745;font-size:14px;font-weight:500}.extracted-text-preview{margin-top:1rem;padding:1rem;background-color:#f8f9fa;border-radius:6px;border:1px solid #e9ecef}.extracted-text-preview h4{margin:0 0 .5rem;color:#333;font-size:14px}.text-preview{font-size:12px;color:#666;line-height:1.4;max-height:100px;overflow-y:auto;white-space:pre-wrap;word-break:break-word}.job-input-mode-toggle{display:flex;margin-bottom:2rem;border-radius:8px;overflow:hidden;box-shadow:0 2px 4px #0000001a}.job-toggle-button{padding:.75rem 1.5rem;background-color:#f8f9fa;color:#666;border:1px solid #dee2e6;cursor:pointer;font-weight:500;transition:background-color .3s ease;flex:1;text-align:center}.job-toggle-button:first-child{border-right:none}.job-toggle-button.active{background-color:#646cff;color:#fff;border-color:#646cff}.job-toggle-button:hover:not(.active){background-color:#e9ecef}.url-input-section{display:flex;flex-direction:column;gap:1rem}.url-input-row{display:flex;gap:.5rem}.url-input{flex:1;padding:.75rem;border:2px solid #e0e0e0;border-radius:6px;font-size:14px;transition:border-color .3s ease}.url-input:focus{outline:none;border-color:#646cff}.url-input:disabled{background-color:#f5f5f5;cursor:not-allowed}.extract-button{padding:.75rem 1.5rem;background-color:#28a745;color:#fff;border:none;border-radius:6px;font-size:14px;font-weight:600;cursor:pointer;transition:background-color .3s ease;white-space:nowrap}.extract-button:hover:not(:disabled){background-color:#218838}.extract-button:disabled{background-color:#ccc;cursor:not-allowed}.extracted-job-info{padding:1rem;background-color:#f8f9fa;border:1px solid #e9ecef;border-radius:6px}.extracted-job-info h4{margin:0 0 .5rem;color:#333;font-size:14px}.extracted-job-info p{margin:.25rem 0;font-size:13px;color:#666}.url-extraction-hint{margin:.75rem 0;padding:.75rem 1rem;background-color:#fff3cd;border:1px solid #ffeaa7;border-radius:6px;animation:slideIn .3s ease-out}.hint-content{display:flex;align-items:center;gap:.5rem}.hint-icon{font-size:16px;flex-shrink:0}.hint-text{font-size:14px;color:#856404;line-height:1.4}@keyframes slideIn{0%{opacity:0;transform:translateY(-10px)}to{opacity:1;transform:translateY(0)}}.button-group{grid-column:1 / -1;display:flex;gap:1rem;justify-content:center;flex-wrap:wrap}.submit-button{padding:1rem 2rem;background-color:#646cff;color:#fff;border:none;border-radius:8px;font-size:1.1rem;font-weight:600;cursor:pointer;transition:background-color .3s ease}.download-button{padding:1rem 2rem;background-color:#28a745;color:#fff;border:none;border-radius:8px;font-size:1.1rem;font-weight:600;cursor:pointer;transition:background-color .3s ease}.submit-button:hover:not(:disabled){background-color:#535bf2}.submit-button:disabled{background-color:#ccc;cursor:not-allowed}.download-button:hover:not(:disabled){background-color:#218838}.download-button:disabled{background-color:#ccc;cursor:not-allowed}.error-message{background-color:#fee;border:1px solid #fcc;color:#c33;padding:1rem;border-radius:8px;margin-bottom:2rem}.suggestions{margin-top:2rem;padding:2rem;background-color:#f8f9fa;border-radius:12px;border:1px solid #e9ecef}.suggestions h2{color:#333;margin-bottom:1rem;font-size:1.5rem}.suggestions-content{background-color:#fff;padding:1.5rem;border-radius:8px;border:1px solid #dee2e6;margin-bottom:2rem}.suggestions-content:last-child{margin-bottom:0}.suggestions-content.cover-letter{background-color:#f8fffa;border-color:#28a745}.suggestions-content.application-questions{background-color:#fff8f0;border-color:#fd7e14}.suggestions-top-grid{display:grid;grid-template-columns:1fr 1fr;gap:2rem;margin-bottom:2rem}.suggestions-left,.suggestions-right{min-width:0}.suggestions-left .suggestions-content,.suggestions-right .suggestions-content{margin-bottom:0}.application-questions-section{margin-top:2rem}.application-questions-section h2{color:#333;margin-bottom:1rem;font-size:1.5rem}.application-questions-section .suggestions-content{margin-bottom:0}.suggestions-content pre{white-space:pre-wrap;word-wrap:break-word;font-family:Segoe UI,Tahoma,Geneva,Verdana,sans-serif;font-size:14px;line-height:1.6;margin:0;color:#333}@media (max-width: 768px){.resume-form,.suggestions-top-grid{grid-template-columns:1fr;gap:1.5rem}.app{padding:1rem}.app-header h1{font-size:2rem}}
