:root{--page:#f3f6f4;--surface:#fff;--surface-soft:#edf3f0;--surface-blue:#edf5f9;--text:#17201d;--muted:#61706a;--line:#d7dfdb;--line-strong:#bcc8c2;--green:#176a4c;--green-hover:#10563d;--green-soft:#e2f2ea;--blue:#245f88;--amber:#8b5b0b;--amber-soft:#fbf1dc;--red:#a33b3b;--red-soft:#fbeaea;--shadow:0 14px 34px #1d332a14;--radius:8px}.account-controls{grid-template-columns:minmax(0,1fr) auto;gap:8px;margin-top:-8px;display:grid}.account-identity,.history-nav{color:var(--text);font:inherit;cursor:pointer;text-align:left;background:0 0;border:0;align-items:center;gap:8px;min-width:0;padding:7px 0;display:flex}.account-identity span{text-overflow:ellipsis;white-space:nowrap;font-size:13px;overflow:hidden}.account-identity svg,.history-nav svg{color:var(--green);flex-shrink:0}.history-nav{color:var(--blue);grid-column:1/-1;font-size:13px}.history-nav[aria-pressed=true]{font-weight:700}.account-controls>.field-error{grid-column:1/-1}.account-controls>.secondary-button{grid-column:1/-1;justify-content:center}.save-history-bar{border-bottom:1px solid var(--line);flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;margin-bottom:26px;padding-bottom:20px;display:flex}.save-history-bar>div{flex:230px;min-width:0}.save-history-bar strong{font-size:14px}.save-history-bar p{color:var(--muted);margin:4px 0 0;font-size:12px}.save-history-bar .field-error{color:var(--red);flex-basis:100%}.account-dialog{border:1px solid var(--line);width:min(440px,100% - 32px);max-height:calc(100dvh - 40px);color:var(--text);background:var(--surface);box-shadow:var(--shadow);border-radius:8px;padding:24px;overflow-y:auto}.account-dialog::backdrop{background:#111e1766}.dialog-heading{justify-content:space-between;align-items:center;gap:16px;margin-bottom:20px;display:flex}.dialog-heading h2{margin:0;font-size:20px}.account-modes{background:var(--surface-soft);border-radius:6px;grid-template-columns:1fr 1fr;gap:4px;margin-bottom:20px;padding:4px;display:grid}.account-modes button{cursor:pointer;min-height:36px;color:var(--muted);background:0 0;border:0;border-radius:4px}.account-modes button[aria-pressed=true]{background:var(--surface);color:var(--green);font-weight:700}.account-form{flex-direction:column;gap:10px;display:flex}.account-form input,.account-form select{border:1px solid var(--line-strong);background:var(--surface);width:100%;min-width:0;min-height:44px;color:var(--text);font:inherit;border-radius:5px;padding:9px 12px}.account-form label{margin-top:4px;font-size:13px;font-weight:600}.account-form .primary-button{margin-top:8px}.text-button{min-height:38px;color:var(--blue);cursor:pointer;background:0 0;border:0;justify-content:center;align-items:center;padding:5px 8px;font-size:13px;text-decoration:none;display:inline-flex}.account-message{background:var(--green-soft);color:var(--green);margin:0;padding:10px 12px;font-size:13px}.account-email{color:var(--muted);overflow-wrap:anywhere}.history-workspace{max-width:1100px;margin:0 auto}.history-heading{flex-wrap:wrap;align-items:center;gap:12px;margin-bottom:24px;display:flex}.history-heading>div{flex:1;min-width:150px}.history-heading h1{margin:0;font-size:24px}.history-heading .eyebrow{margin-bottom:4px}.history-list{border-top:1px solid var(--line);margin:0;padding:0;list-style:none}.history-list li{border-bottom:1px solid var(--line);align-items:center;gap:16px;padding:18px 0;display:flex}.history-record{cursor:pointer;text-align:left;min-width:0;color:var(--text);background:0 0;border:0;flex:1;padding:4px}.history-record strong,.history-record span,.history-record time{overflow-wrap:anywhere;display:block}.history-record strong{margin-bottom:4px;font-size:15px}.history-record:hover strong{color:var(--green)}.history-record span,.history-record time{color:var(--muted);font-size:12px}.history-score{width:60px;color:var(--green);font-variant-numeric:tabular-nums;flex-direction:column;flex:0 0 60px;justify-content:center;align-items:center;font-size:25px;font-weight:700;display:flex}.history-score span{color:var(--muted);font-size:11px;font-weight:400}.history-empty{min-height:280px;color:var(--muted);text-align:center;flex-direction:column;justify-content:center;align-items:center;gap:16px;display:flex}.history-empty h2{font-size:17px;font-weight:500}.history-pagination{color:var(--muted);justify-content:flex-end;align-items:center;gap:12px;margin-top:20px;font-size:13px;display:flex}.reset-page{background:var(--surface);place-items:center;min-height:100dvh;padding:24px;display:grid}.reset-form{width:min(100%,380px)}.reset-form h1{margin-top:16px;font-size:24px}.reset-form>.text-button{margin-top:12px}button:disabled{cursor:not-allowed}@media (max-width:640px){.history-list li{gap:8px}.history-score{flex-basis:44px;width:44px;font-size:22px}.history-heading .secondary-button{font-size:12px}}*{box-sizing:border-box}html,body{min-height:100%}body{background:var(--page);color:var(--text);letter-spacing:0;margin:0;font-family:Inter,PingFang SC,Microsoft YaHei,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;font-size:15px;line-height:1.6}button,input,textarea{font:inherit;letter-spacing:0}button,label[for]{-webkit-tap-highlight-color:transparent}button:focus-visible,input:focus-visible,textarea:focus-visible,label[for]:focus-visible,summary:focus-visible{outline-offset:2px;outline:3px solid #245f8847}h1,h2,h3,p{margin-top:0}.app-shell{grid-template-columns:360px minmax(0,1fr);min-height:100vh;display:grid}.input-sidebar{border-right:1px solid var(--line);background:var(--surface);flex-direction:column;gap:24px;min-width:0;height:100vh;padding:26px 24px 22px;display:flex;position:sticky;top:0;overflow-y:auto}.brand-row{border-bottom:1px solid var(--line);align-items:center;gap:11px;padding-bottom:21px;display:flex}.brand-mark{background:var(--green);color:#fff;border-radius:8px;flex:0 0 38px;justify-content:center;align-items:center;width:38px;height:38px;display:inline-flex}.brand-row strong,.brand-row span{display:block}.brand-row strong{font-size:16px}.brand-row div>span{color:var(--muted);font-size:12px}.input-section{min-width:0}.input-label-row{justify-content:space-between;align-items:center;gap:12px;margin-bottom:9px;display:flex}.input-label-row label{font-weight:700}.input-label-row span{color:var(--muted);font-variant-numeric:tabular-nums;font-size:12px}.visually-hidden{clip:rect(0, 0, 0, 0);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.upload-dropzone{border-radius:var(--radius);background:var(--green-soft);text-align:center;cursor:pointer;border:1px dashed #76a28e;flex-direction:column;justify-content:center;align-items:center;gap:7px;min-height:142px;padding:18px;transition:border-color .16s,background-color .16s;display:flex}.upload-dropzone:hover{border-color:var(--green);background:#d9eee4}.upload-dropzone>span:last-child{color:var(--muted);font-size:12px}.upload-icon{background:var(--surface);width:38px;height:38px;color:var(--green);border-radius:50%;justify-content:center;align-items:center;display:inline-flex}.file-state{border:1px solid var(--line);border-radius:var(--radius);background:var(--surface-soft);grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:11px;min-height:82px;padding:14px;display:grid}.file-state>svg{color:var(--green)}.file-state-error{background:var(--red-soft);border-color:#e2bcbc}.file-state-error>svg{color:var(--red)}.file-details,.file-state div{min-width:0}.file-details strong,.file-state div>strong,.file-details span,.file-state div>span{display:block}.file-details strong,.file-state div>strong{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.file-details span,.file-state div>span{color:var(--muted);font-size:12px}.file-success{align-items:center;gap:4px;color:var(--green)!important;display:flex!important}.icon-button{width:36px;height:36px;color:var(--muted);cursor:pointer;background:0 0;border:0;border-radius:7px;justify-content:center;align-items:center;padding:0;display:inline-flex}.icon-button:hover{background:var(--surface);color:var(--red)}.replace-button{color:var(--green);cursor:pointer;align-items:center;gap:6px;margin-top:8px;font-size:13px;font-weight:650;display:inline-flex}.job-section{flex-direction:column;flex:1;min-height:220px;display:flex}.job-section textarea{resize:vertical;border:1px solid var(--line-strong);border-radius:var(--radius);background:var(--surface);width:100%;min-height:240px;color:var(--text);flex:1;padding:12px 13px;line-height:1.65}.job-section textarea::placeholder{color:#8a9690}.job-section textarea:focus{border-color:var(--green)}.counter-error{color:var(--red)!important}.field-error{color:var(--red);align-items:flex-start;gap:6px;margin:8px 0 0;font-size:12px;line-height:1.45;display:flex}.field-error svg{flex:none;margin-top:1px}.sidebar-actions{border-top:1px solid var(--line);padding-top:18px}.ready-status{color:var(--green);align-items:center;gap:5px;margin-bottom:8px;font-size:12px;font-weight:650;display:flex}.primary-button,.secondary-button{cursor:pointer;border-radius:7px;justify-content:center;align-items:center;gap:8px;font-weight:700;transition:background-color .16s,border-color .16s,color .16s;display:inline-flex}.primary-button{border:1px solid var(--green);background:var(--green);color:#fff;width:100%;min-height:46px;padding:0 18px}.primary-button:hover:not(:disabled){border-color:var(--green-hover);background:var(--green-hover)}.primary-button:disabled{color:#7f8c86;cursor:not-allowed;background:#dfe5e2;border-color:#c6cfca}.secondary-button{border:1px solid var(--line-strong);background:var(--surface);min-height:38px;color:var(--text);padding:0 13px}.secondary-button:hover{border-color:var(--green);color:var(--green)}.privacy-note{color:var(--muted);align-items:flex-start;gap:7px;margin:10px 0 0;font-size:12px;line-height:1.45;display:flex}.privacy-note svg{flex:none;margin-top:1px}.workspace-main{min-width:0;padding:34px clamp(28px,4vw,64px) 52px}.empty-workspace,.loading-workspace{text-align:center;flex-direction:column;justify-content:center;align-items:center;min-height:calc(100vh - 86px);display:flex}.empty-workspace>h1,.loading-workspace>h1{margin-bottom:8px;font-size:24px;line-height:1.3}.empty-workspace>p:not(.eyebrow),.loading-workspace>p{max-width:500px;color:var(--muted)}.empty-visual{border:1px solid var(--line);border-radius:var(--radius);background:var(--surface);width:220px;height:132px;box-shadow:var(--shadow);flex-direction:column;justify-content:center;align-items:flex-start;gap:10px;margin-bottom:24px;padding:24px;display:flex}.empty-visual-icon{background:var(--green-soft);width:50px;height:50px;color:var(--green);border-radius:50%;justify-content:center;align-self:flex-end;align-items:center;margin-top:-38px;display:inline-flex}.visual-line{background:#dce5e1;border-radius:4px;width:70%;height:8px}.visual-line-long{width:90%}.visual-line-short{width:48%}.privacy-summary{background:var(--green-soft);color:var(--green);border-radius:999px;align-items:center;gap:7px;margin-top:8px;padding:7px 10px;font-size:12px;font-weight:650;display:inline-flex}.error-banner{border-radius:var(--radius);background:var(--red-soft);width:min(560px,100%);color:var(--red);text-align:left;border:1px solid #e2bcbc;gap:11px;margin-bottom:28px;padding:14px 16px;display:flex}.error-banner svg{flex:none;margin-top:2px}.error-banner p{margin:2px 0 0}.loading-orbit{border:1px solid var(--line);border-top-color:var(--green);background:var(--surface);width:70px;height:70px;color:var(--green);border-radius:50%;justify-content:center;align-items:center;margin-bottom:22px;animation:1.4s linear infinite orbit;display:inline-flex}.loading-lines{gap:10px;width:min(480px,80%);margin-top:22px;display:grid}.loading-lines span{background:#dfe6e2;border-radius:5px;height:10px;animation:1.3s ease-in-out infinite alternate pulse}.loading-lines span:nth-child(2){width:82%}.loading-lines span:nth-child(3){width:62%}.results-workspace{width:min(1120px,100%);margin:0 auto}.results-header{justify-content:space-between;align-items:center;gap:20px;margin-bottom:20px;display:flex}.results-header h1{margin-bottom:2px;font-size:26px;line-height:1.3}.results-subtitle{color:var(--muted);margin-bottom:0;font-size:13px}.eyebrow{color:var(--blue);text-transform:uppercase;margin-bottom:5px;font-size:12px;font-weight:800}.success-text{color:var(--green)}.result-tabs{border-bottom:1px solid var(--line);gap:4px;padding-bottom:10px;display:flex}.result-tab{min-height:40px;color:var(--muted);cursor:pointer;background:0 0;border:0;border-radius:6px;padding:0 13px;font-weight:700}.result-tab:hover{background:var(--surface-soft);color:var(--text)}.result-tab[aria-selected=true]{background:var(--green-soft);color:var(--green)}.result-panel{padding-top:24px}.result-panel[hidden]{display:none}.overview-grid{grid-template-columns:minmax(0,1.25fr) minmax(240px,.75fr);gap:18px;display:grid}.score-card{border:1px solid var(--line);border-radius:var(--radius);background:var(--surface);box-shadow:var(--shadow);grid-row:span 2;align-items:center;gap:22px;padding:24px;display:flex}.score-card h2{margin-bottom:7px;font-size:19px}.score-card p:last-child{color:var(--muted);margin-bottom:0}.score-gauge{--score:0deg;background:conic-gradient(var(--green) var(--score), #dfe8e3 0);border-radius:50%;flex:0 0 108px;place-items:center;width:108px;height:108px;display:grid}.score-gauge-inner{background:var(--surface);border-radius:50%;flex-direction:column;justify-content:center;align-items:center;width:84px;height:84px;display:flex}.score-gauge strong{font-variant-numeric:tabular-nums;font-size:30px;line-height:1}.score-gauge span{color:var(--muted);margin-top:5px;font-size:11px}.insight-section{border:1px solid var(--line);border-radius:var(--radius);background:var(--surface);padding:18px 20px}.section-heading{color:var(--green);align-items:center;gap:8px;display:flex}.section-heading h2{color:var(--text);margin:0;font-size:16px}.warning-heading{color:var(--amber)}.check-list,.gap-list{margin:11px 0 0;padding-left:20px}.check-list li,.gap-list li{margin:5px 0}.check-list li::marker{color:var(--green)}.gap-list li::marker{color:var(--amber)}.keyword-section{border-top:1px solid var(--line);margin-top:18px;padding:18px 0 0}.keyword-list{flex-wrap:wrap;gap:8px;margin-top:12px;display:flex}.keyword-list span{background:var(--surface-blue);color:var(--blue);border-radius:6px;padding:5px 9px;font-size:12px;font-weight:700}.panel-intro{align-items:flex-start;gap:11px;margin-bottom:18px;display:flex}.panel-intro>svg{color:var(--green);flex:none;margin-top:3px}.panel-intro h2{margin-bottom:2px;font-size:19px}.panel-intro p{color:var(--muted);margin-bottom:0}.suggestion-list{border-top:1px solid var(--line)}.suggestion-item{border-bottom:1px solid var(--line);padding:20px 0}.suggestion-item h3{margin:8px 0 5px;font-size:17px}.suggestion-meta{color:var(--muted);align-items:center;gap:8px;font-size:12px;display:flex}.priority-tag{border-radius:5px;padding:3px 7px;font-weight:800;display:inline-flex}.priority-high{background:var(--red-soft);color:var(--red)}.priority-medium{background:var(--amber-soft);color:var(--amber)}.priority-low{background:var(--surface-blue);color:var(--blue)}.suggestion-copy{margin-bottom:6px}.suggestion-reason{color:var(--muted);margin-bottom:0;font-size:13px}.cover-letter{border:1px solid var(--line);border-radius:var(--radius);background:var(--surface);max-width:780px;box-shadow:var(--shadow);white-space:pre-wrap;padding:28px;line-height:1.85}.interview-list{gap:10px;display:grid}.interview-item{border:1px solid var(--line);border-radius:var(--radius);background:var(--surface)}.interview-item summary{cursor:pointer;grid-template-columns:30px minmax(0,1fr);align-items:center;gap:10px;min-height:56px;padding:10px 15px;list-style:none;display:grid}.interview-item summary::-webkit-details-marker{display:none}.interview-item summary>span{background:var(--green-soft);width:30px;height:30px;color:var(--green);border-radius:50%;justify-content:center;align-items:center;font-size:12px;font-weight:800;display:inline-flex}.answer-copy{border-left:3px solid var(--green);background:var(--surface-soft);margin:0 15px 15px 55px;padding:14px 16px}.answer-copy p:last-child{margin-bottom:0}.answer-label{color:var(--green);align-items:center;gap:5px;margin-bottom:5px;font-size:12px;font-weight:800;display:flex}.spin{animation:.9s linear infinite spin}@keyframes spin{to{transform:rotate(360deg)}}@keyframes orbit{to{transform:rotate(360deg)}}@keyframes pulse{0%{opacity:.55}to{opacity:1}}@media (prefers-reduced-motion:reduce){*,:before,:after{scroll-behavior:auto!important;transition-duration:.01ms!important;animation-duration:.01ms!important;animation-iteration-count:1!important}}@media (max-width:900px){.app-shell{display:block}.input-sidebar{border-right:0;border-bottom:1px solid var(--line);gap:20px;height:auto;padding:20px;position:static;overflow-y:visible}.job-section textarea{min-height:180px}.workspace-main{padding:28px 20px 44px}.empty-workspace,.loading-workspace{min-height:520px}}@media (max-width:640px){body{font-size:14px}.input-sidebar,.workspace-main{padding-left:16px;padding-right:16px}.results-header{flex-direction:column;align-items:stretch}.results-header .secondary-button{align-self:flex-start}.result-tabs{grid-template-columns:repeat(2,minmax(0,1fr));display:grid}.overview-grid{grid-template-columns:1fr}.score-card{grid-row:auto;align-items:flex-start;padding:18px}.score-gauge{flex-basis:90px;width:90px;height:90px}.score-gauge-inner{width:68px;height:68px}.score-gauge strong{font-size:25px}.cover-letter{padding:20px}.answer-copy{margin-left:15px}}
