:root{--bg:#f7f7f4;--paper:#fff;--ink:#202622;--muted:#7a817b;--line:#e5e8e1;--orange:#f36b30;--soft:#fff0e8;--green:#258963;--shadow:0 8px 32px #27352d06;font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:var(--ink);background:var(--bg);font-size:15px}*{box-sizing:border-box}body{margin:0}button,input,textarea{font:inherit}button,a{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{opacity:.45;cursor:default}a{color:inherit}button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible{outline:3px solid #f36b3050;outline-offset:3px}button{border:0;background:none;color:inherit}svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}header{padding:26px 32px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line);background:var(--paper)}.brand{display:flex;gap:12px;align-items:center}.brand-mark{display:grid;place-items:center;width:40px;height:40px;background:var(--ink);color:white;border-radius:13px;font-size:21px;font-weight:650}.brand-name{font-weight:650;font-size:16px;letter-spacing:-.4px}.brand-sub{font-size:11px;color:var(--muted);letter-spacing:.12em;text-transform:uppercase;margin-top:4px}.status-pill{padding:8px 12px;border-radius:30px;background:#f2f4ef;font-size:12px;color:#5a655c;display:flex;align-items:center;gap:7px}.dot{height:6px;width:6px;border-radius:50%;background:var(--green)}main{max-width:1180px;margin:auto;padding:34px 28px 100px}.eyebrow{font-size:11px;font-weight:650;letter-spacing:.16em;color:var(--muted);text-transform:uppercase}h1{font-size:34px;letter-spacing:-1.4px;line-height:1.15;margin:12px 0 9px;font-weight:600}h2{font-size:23px;letter-spacing:-.65px;font-weight:600;margin:0}h3{font-size:17px;font-weight:600;margin:0}.subtitle{color:var(--muted);font-size:14px;line-height:1.6;margin:0}.home-intro{display:flex;justify-content:space-between;align-items:end;margin-bottom:28px}.model{display:inline-flex;align-items:center;gap:7px;padding:8px 11px;border:1px solid var(--line);border-radius:9px;font-size:11px;color:#667168}.hero{background:var(--paper);border:1px solid var(--line);border-radius:22px;box-shadow:var(--shadow);padding:26px;display:grid;grid-template-columns:1fr 250px;gap:28px;margin-bottom:30px}.hero-top{display:flex;gap:13px;align-items:center;margin-bottom:22px}.company-icon{display:grid;place-items:center;width:48px;height:48px;border-radius:14px;background:#eff3ec;color:#506544;font-weight:600;font-size:17px}.company-name{color:var(--muted);font-size:13px;margin-top:5px}.tag{display:inline-block;font-size:10px;color:#778372;background:#f1f4ed;padding:5px 8px;border-radius:6px;margin-left:8px;vertical-align:middle}.hero-stage{font-size:14px;line-height:1.5;color:#516054}.stage-dot{display:inline-flex;padding:7px;background:var(--soft);border-radius:8px;color:var(--orange);vertical-align:middle;margin-right:8px}.progress-area{border-left:1px solid var(--line);padding-left:28px;display:flex;flex-direction:column;justify-content:center}.progress-head{display:flex;justify-content:space-between;align-items:baseline;font-size:12px;color:var(--muted);margin-bottom:12px}.progress-number{color:var(--ink);font-size:27px;font-weight:500;letter-spacing:-1px}progress{appearance:none;border:none;height:6px;border-radius:10px;width:100%;overflow:hidden;background:#eeeee8}progress::-webkit-progress-bar{background:#eeeee8;border-radius:10px}progress::-webkit-progress-value{background:var(--orange);border-radius:10px}progress::-moz-progress-bar{background:var(--orange)}progress:not([value]){background:linear-gradient(90deg,#eee 0%,#ffb18b 40%,#eee 80%);background-size:200%;animation:waiting 1.8s linear infinite}@keyframes waiting{to{background-position:-200%}}.progress-note{font-size:11px;color:var(--muted);line-height:1.5;margin-top:10px}.button{display:inline-flex;gap:9px;align-items:center;justify-content:center;border-radius:10px;padding:11px 15px;font-weight:550;font-size:13px;min-height:42px;transition:background .2s}.button.primary{background:var(--orange);color:white}.button.primary:hover{background:#dd5c25}.button.secondary{background:var(--paper);border:1px solid var(--line)}.button.soft{background:var(--soft);color:#b94c1d}.button.dark{background:var(--ink);color:white}.button.small{padding:8px 11px;min-height:34px;font-size:12px}.button svg{width:16px;height:16px}.hero-actions{display:flex;gap:9px;margin-top:20px}.tabs{display:flex;gap:4px;background:#ecefe8;padding:4px;border-radius:13px;width:fit-content}.tab{font-size:13px;font-weight:550;padding:10px 19px;border-radius:10px;color:#7b8479;white-space:nowrap}.tab.active{background:var(--paper);color:var(--ink);box-shadow:0 1px 4px #2030260a}.count{font-size:11px;margin-left:7px;color:#8a9387}.list-heading{display:flex;justify-content:space-between;align-items:center;gap:15px;margin:0 0 18px}.search{position:relative;max-width:250px;width:100%}.search svg{position:absolute;left:12px;top:11px;color:#8c948b;width:16px}.search input{width:100%;border:1px solid var(--line);background:var(--paper);border-radius:10px;padding:10px 12px 10px 36px;font-size:12px}.swipe-views{display:flex;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:none}.swipe-views::-webkit-scrollbar{display:none}.list-view{flex:0 0 100%;width:100%;scroll-snap-align:start;padding:1px 2px 10px}.job-list{display:grid;gap:10px}.job-card{border:1px solid var(--line);background:var(--paper);border-radius:15px;padding:19px;display:flex;align-items:center;justify-content:space-between;gap:18px}.job-main{display:flex;gap:12px;align-items:center;min-width:0}.job-main .company-icon{width:40px;height:40px;font-size:13px;border-radius:11px;flex-shrink:0}.job-card h3{font-size:14px;line-height:1.4}.job-meta{font-size:12px;color:var(--muted);margin-top:5px}.job-state{font-size:11px;color:#8a9186;max-width:170px;line-height:1.5}.job-card.active-job{border-color:#ffb491;background:#fffcfa}.empty{border:1px dashed #d9dfd5;border-radius:17px;min-height:220px;display:grid;place-content:center;text-align:center;color:var(--muted);gap:10px;padding:25px}.empty-icon{width:42px;height:42px;border-radius:12px;background:#edf1e8;display:grid;place-items:center;margin:auto;color:#78846e}.empty h3{color:#65725e;font-size:14px}.empty p{font-size:12px;line-height:1.6;max-width:250px;margin:0}.back{display:flex;align-items:center;gap:8px;color:var(--muted);font-size:12px;margin-bottom:24px}.detail-title{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:24px}.detail-title h1{margin:5px 0 7px;font-size:29px}.score{display:flex;align-items:center;gap:10px;border:1px solid var(--line);background:var(--paper);padding:10px 14px;border-radius:15px;flex-shrink:0}.score-circle{display:grid;place-items:center;width:38px;height:38px;border:3px solid #44a075;border-radius:50%;font-weight:600}.score-label{font-size:10px;line-height:1.5;color:var(--muted)}.detail-layout{display:grid;grid-template-columns:1fr 275px;gap:20px}.workspace{min-width:0;background:var(--paper);border:1px solid var(--line);border-radius:20px;overflow:hidden}.workspace-tabs{display:flex;gap:5px;border-bottom:1px solid var(--line);padding:13px 17px}.workspace-tab{font-size:12px;padding:10px 13px;border-radius:9px;color:var(--muted);display:flex;gap:7px;align-items:center}.workspace-tab.active{background:var(--ink);color:white}.workspace-tab svg{width:15px;height:15px}.pane{padding:23px;min-height:380px}.sidebar{display:flex;flex-direction:column;gap:14px}.side-card{background:var(--paper);border:1px solid var(--line);border-radius:17px;padding:20px}.side-card h3{font-size:12px;margin-bottom:18px}.step-list{display:grid;gap:14px}.step-item{display:flex;gap:10px;font-size:12px;color:#99a093;align-items:center}.step-number{width:22px;height:22px;border-radius:50%;display:grid;place-items:center;background:#f0f3eb;font-size:10px}.step-item.done{color:#5c765b}.step-item.current{color:var(--orange);font-weight:600}.step-item.current .step-number{background:var(--soft)}.side-note{color:var(--muted);font-size:11px;line-height:1.7;margin:0}.conversation{display:grid;gap:22px}.bubble{max-width:100%;font-size:13px;line-height:1.8;white-space:pre-wrap;overflow-wrap:anywhere}.speaker{display:flex;align-items:center;gap:8px;font-size:10px;font-weight:650;letter-spacing:.04em;text-transform:uppercase;color:var(--muted);margin-bottom:8px}.speaker-avatar{width:23px;height:23px;display:grid;place-items:center;border-radius:7px;background:#f2f3ee;color:#6c7565}.assistant-message{background:#f7faf4;border:1px solid #e6ecdf;padding:17px;border-radius:14px}.assistant-message .speaker{color:#688455}.draft-label{font-size:9px;background:#e9f1e2;color:#668055;padding:4px 6px;border-radius:5px;margin-left:auto}.missing{font-size:12px;line-height:1.6;border-left:2px solid #efb086;padding:8px 12px;background:#fff8f2;border-radius:0 7px 7px 0;margin-top:14px;color:#936744}.draft-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:17px}.draft-feedback{margin-top:15px}.draft-feedback label{font-size:12px;color:var(--muted);display:block;margin-bottom:8px}textarea{width:100%;resize:none;border:1px solid var(--line);border-radius:10px;background:var(--paper);color:var(--ink);padding:12px;font-size:13px;line-height:1.6;min-height:85px}textarea:focus{border-color:#f9a781;outline:none;box-shadow:0 0 0 3px #fff0e8}.fact-consent{display:flex!important;gap:8px;align-items:start;font-size:10px!important;line-height:1.5;margin:10px 0 14px!important}.fact-consent input{margin-top:2px}.sent-label{font-size:11px;color:var(--green);margin-top:12px}.suggestions{margin:12px 0 0;padding-left:17px;font-size:11px;color:var(--muted);line-height:1.7}.editor-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:20px}.editor-note{font-size:12px;color:var(--muted);line-height:1.6;max-width:340px}.editor-field{border-bottom:1px solid var(--line);padding:17px 0}.editor-field:first-child{padding-top:0}.editor-field label{font-size:11px;font-weight:600;color:#727e6c;display:block;margin-bottom:10px;text-transform:uppercase;letter-spacing:.06em}.editor-field textarea{min-height:44px}.line-inputs{display:grid;gap:7px}.line-number{font-size:9px;color:#a5aea0;margin-bottom:3px}.editor-footer{position:sticky;bottom:0;background:var(--paper);padding:17px 0 0;display:flex;justify-content:space-between;gap:10px;align-items:center}.save-status{font-size:11px;color:var(--muted)}.document-preview{width:100%;height:660px;border:1px solid var(--line);border-radius:10px}.letter{white-space:pre-wrap;line-height:1.9;font-size:14px;border:1px solid var(--line);border-radius:12px;padding:23px}.letter-count{font-size:11px;color:var(--muted);margin-top:10px}.feedback-entry{margin-top:12px;padding:13px;background:#f6f8f3;border-radius:9px;font-size:12px;line-height:1.7}.feedback-entry strong{display:block;margin-bottom:6px}.loading{min-height:70vh;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:15px;color:var(--muted)}.loading p{font-size:13px}.error-screen{max-width:390px;margin:15vh auto;padding:30px;text-align:center}.error-screen p{color:var(--muted);line-height:1.7;font-size:13px}.demo-banner{font-size:11px;background:#fff2d8;border:1px solid #f7dfb5;border-radius:10px;padding:10px 14px;color:#997234;margin-bottom:20px}.muted{color:var(--muted)}#toast{position:fixed;bottom:24px;left:50%;transform:translateX(-50%);padding:13px 19px;background:#253026;color:white;font-size:12px;border-radius:12px;box-shadow:0 6px 20px #0002;z-index:99;opacity:0;pointer-events:none;max-width:90%;transition:opacity .2s}#toast.visible{opacity:1}.skeleton{padding:18px;background:linear-gradient(90deg,#f5f5ef,#e9eee2,#f5f5ef);background-size:200%;border-radius:12px;animation:waiting 2s linear infinite}
@media(max-width:760px){header{padding:17px 18px}main{padding:24px 17px 50px}.brand-mark{width:34px;height:34px;border-radius:10px;font-size:18px}.brand-name{font-size:14px}.brand-sub{font-size:9px}.status-pill{font-size:10px;padding:7px 9px}h1{font-size:29px}.home-intro{display:block}.model{margin-top:17px}.hero{padding:21px;grid-template-columns:1fr;gap:23px;border-radius:18px}.progress-area{border-left:0;border-top:1px solid var(--line);padding:18px 0 0}.progress-head{margin-bottom:10px}.hero-top{margin-bottom:17px}.hero-actions .button{flex:1}.list-heading{flex-direction:column;align-items:stretch;gap:13px}.tabs{width:100%;justify-content:space-between}.tab{padding:10px 11px;flex:1;font-size:12px}.count{margin-left:4px;font-size:10px}.search{max-width:none}.job-card{padding:16px;gap:9px}.job-state{display:none}.job-card h3{font-size:13px}.job-meta{font-size:11px}.job-card .button{font-size:0;padding:8px;min-height:32px}.job-card .button svg{width:17px;height:17px}.detail-title h1{font-size:24px}.detail-title{align-items:start}.score{padding:9px;gap:6px}.score-label{display:none}.score-circle{width:34px;height:34px;font-size:12px}.detail-layout{grid-template-columns:1fr}.sidebar{order:-1}.sidebar .side-card:not(:first-child){display:none}.sidebar .side-card{padding:16px}.sidebar .step-list,.sidebar h3{display:none}.workspace-tabs{padding:10px;justify-content:space-between}.workspace-tab{flex:1;justify-content:center;padding:10px 8px}.pane{padding:18px;min-height:380px}.editor-toolbar{display:block}.editor-toolbar .button{margin-top:12px}.editor-footer{flex-wrap:wrap}.editor-footer .button{flex:1}.editor-note{font-size:11px}.draft-actions .button{flex:1}.bubble{font-size:13px}.document-preview{height:570px}.letter{padding:17px;font-size:13px}}
@media(prefers-reduced-motion:reduce){*{animation:none!important;transition:none!important;scroll-behavior:auto!important}}

textarea{overflow:hidden;min-height:44px;line-height:1.65;overflow-wrap:anywhere}.editor-field textarea{min-height:44px}.editor-toolbar{align-items:flex-start;gap:15px}.editor-modes{display:flex;gap:4px;background:#f0f3ec;padding:4px;border-radius:11px;flex-shrink:0}.editor-modes button{padding:9px 12px;font-size:12px;border-radius:8px}.editor-modes .active{background:white;box-shadow:0 1px 5px #2233220b}.brief-editor,.section-fields{display:grid;gap:16px}.editor-field{margin:0}.editor-field label{display:block;font-size:12px;color:#64705f;margin-bottom:7px}.editor-section{border:1px solid var(--line);border-radius:12px;margin-bottom:12px}.editor-section>summary{padding:14px;cursor:pointer;font-size:13px;font-weight:550}.editor-section>summary span{float:right;color:var(--muted);font-size:11px}.section-fields{padding:0 14px 16px}.cv-assistant{margin-top:26px;border:1px solid #e2e9dd;background:#fafcf8;border-radius:15px;padding:18px}.assistant-heading{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:12px}.assistant-heading h3{font-size:14px;display:flex;align-items:center;gap:8px}.cv-assistant .editor-note{margin-bottom:20px}.note-grid{display:grid;gap:15px}.years-choice{display:block;font-size:12px;margin:18px 0;color:#64705f}.years-choice select{width:100%;border:1px solid var(--line);background:white;border-radius:9px;padding:11px;margin-top:7px;font:inherit;color:var(--ink)}.transfer-fields{margin:16px 0;font-size:12px}.transfer-fields summary{cursor:pointer}.scope-choice{display:flex;align-items:flex-start;gap:9px;margin-top:15px}.scope-choice input{margin-top:3px;flex-shrink:0}.scope-text{display:block;white-space:pre-wrap;font-size:11px;color:var(--muted);line-height:1.6;margin-top:6px;overflow-wrap:anywhere}.cv-proposal{margin-top:20px;border:1px solid #d5e3ce;border-radius:15px;padding:18px;background:#f5f9f2}.cv-proposal p{font-size:12px;line-height:1.6}.proposal-field{border-top:1px solid #dde6d6;padding:15px 0}.proposal-field h3{font-size:12px;margin-bottom:10px}.proposal-field details{font-size:11px;color:var(--muted);margin-bottom:10px}.proposal-text{white-space:pre-wrap;font-size:13px;line-height:1.7;overflow-wrap:anywhere}.editor-footer{flex-wrap:wrap}.editor-footer .progress-note{flex-basis:100%;margin:0}input[type=checkbox]{accent-color:var(--orange)}@media(max-width:650px){.editor-toolbar{flex-direction:column;align-items:stretch}.editor-modes{width:fit-content}.cv-assistant,.cv-proposal{padding:14px}.assistant-heading{flex-wrap:wrap}.editor-footer .button{flex:1}.editor-footer .save-status{flex-basis:100%}}

.vacancy-ideas{margin:20px 0 24px}.vacancy-ideas>h3{font-size:13px;line-height:1.5;margin-bottom:8px}.vacancy-idea{border:1px solid #e0e7da;background:white;border-radius:12px;padding:15px;margin-top:12px}.vacancy-idea h4{font-size:13px;line-height:1.5;margin:0 0 8px}.idea-reason{color:var(--muted);font-size:12px;line-height:1.65;margin:0 0 10px}.idea-proposal{font-size:13px;line-height:1.7;white-space:pre-wrap;margin:0 0 12px}.vacancy-idea details{font-size:11px;color:var(--muted);margin:8px 0 14px}.vacancy-idea summary{cursor:pointer}.vacancy-idea blockquote{line-height:1.6;margin:10px 0;padding-left:12px;border-left:2px solid var(--line)}

.quality-warning{padding:18px;border:1px solid #edc78b;border-radius:16px;background:#fff8eb;margin:18px 0}.quality-warning p{line-height:1.55;color:#715c3b;margin-bottom:0}

/* Visible from the first click; indeterminate motion never invents progress. */
.ai-spinner{display:inline-block;width:17px;height:17px;flex:0 0 17px;border:2px solid currentColor;border-right-color:transparent;border-radius:50%;animation:ai-spin .85s linear infinite;vertical-align:middle}.ai-activity{margin-top:14px;padding:15px;border:1px solid #dce7d5;border-radius:12px;background:#f0f6eb;color:#355333}.ai-activity-heading{display:flex;align-items:center;gap:10px;font-size:13px;line-height:1.5}.ai-activity-heading strong{flex:1;min-width:0}.ai-activity p{font-size:12px;line-height:1.6;color:#64705f;margin:8px 0 12px}.ai-dots{display:flex;gap:3px;flex-shrink:0}.ai-dots i{width:4px;height:4px;border-radius:50%;background:currentColor;animation:ai-pulse 1.2s ease-in-out infinite}.ai-dots i:nth-child(2){animation-delay:.15s}.ai-dots i:nth-child(3){animation-delay:.3s}.ai-activity-track{height:4px;background:#dce7d5;border-radius:4px;overflow:hidden}.ai-activity-track span{display:block;width:38%;height:100%;border-radius:4px;background:#688858;animation:ai-sweep 1.6s ease-in-out infinite}.button[aria-busy=true]{opacity:1;cursor:wait}.button.dark[aria-busy=true]{background:#355333}@keyframes ai-spin{to{transform:rotate(360deg)}}@keyframes ai-pulse{0%,80%,100%{opacity:.25;transform:translateY(0)}40%{opacity:1;transform:translateY(-3px)}}@keyframes ai-sweep{0%{transform:translateX(-105%)}100%{transform:translateX(365%)}}@media(prefers-reduced-motion:reduce){.ai-spinner,.ai-dots i,.ai-activity-track span{animation:none}.ai-activity-track span{width:100%;opacity:.55}}
.save-receipt{margin:20px 0;padding:18px;border:1px solid #cae5d7;border-radius:14px;background:#f4faf6}.save-receipt>strong{display:flex;align-items:center;gap:8px;color:var(--green);font-size:14px}.save-receipt p{font-size:13px;line-height:1.6;margin:9px 0}.save-receipt .progress-note{font-size:11px}.receipt-score strong{font-size:18px}.continue-reason{flex-basis:100%;margin:0}.editor-footer .button{white-space:normal}.ai-activity{scroll-margin-top:20px}button[aria-busy=true]{opacity:.8}

.pdf-actions{display:flex;gap:10px;flex-wrap:wrap;margin:16px 0}.pdf-pagination{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:14px 0;font-size:12px;color:var(--muted)}.pdf-page{display:block;width:100%;height:auto;border:1px solid var(--line);border-radius:10px;background:white}.pdf-viewer{min-width:0}.pdf-actions .button{flex:1}@media(max-width:760px){.pdf-actions .button{font-size:12px;padding:12px 10px}}

.stage-open{display:inline-flex;align-items:center;gap:6px;color:var(--orange);padding:8px 0;font-size:12px}.stage-open svg{width:14px;height:14px}.step-list button{text-align:left;width:100%}.stage-workspace h2{font-size:20px;margin-bottom:16px}.stage-picker{display:flex;overflow-x:auto;gap:8px;padding:0 0 12px;margin-bottom:18px;scroll-snap-type:x proximity}.stage-picker button{flex:0 0 150px;border:1px solid var(--line);border-radius:12px;padding:12px;text-align:left;font-size:12px;line-height:1.5;scroll-snap-align:start;color:var(--muted)}.stage-picker button span{display:block;font-weight:650;margin-bottom:5px}.stage-picker button.active{background:var(--soft);border-color:#ffba99;color:#b55227}.stage-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}.stage-heading h3{font-size:16px}.stage-badge{font-size:10px;border-radius:8px;padding:6px 9px;background:#eef1e9;color:var(--muted)}.stage-badge.awaiting_owner,.stage-badge.blocked{background:#fff0e3;color:#a25329}.stage-badge.done{color:#347c61;background:#edf7f1}.stage-detail>p,.document-review>p{font-size:13px;line-height:1.7;color:var(--muted);margin:14px 0}.document-review{border:1px solid #dce6d7;border-radius:14px;padding:20px;margin:20px 0;background:#f8fbf5}.document-review h3{font-size:16px}.document-review strong{display:flex;gap:8px}.document-review svg{width:17px;height:17px}.document-checks{list-style:none;display:grid;gap:10px;padding:0;margin:18px 0;font-size:12px;line-height:1.6}.check-pass{color:#38765c}.check-fail{color:#b05231}.review-approve{margin-top:18px;width:100%}.stage-history{border-top:1px solid var(--line);margin-top:24px;padding-top:16px;font-size:12px}.stage-history summary{cursor:pointer;color:var(--muted)}.stage-history ol{padding-left:18px;line-height:1.8}.stage-history li{padding:5px 0}.stage-history time{display:block;color:var(--muted);font-size:10px}.stage-image{display:block;width:100%;height:auto;border:1px solid var(--line);border-radius:10px;margin-top:14px}.application-stage{border:1px solid var(--line);border-radius:14px;padding:18px;margin-top:18px}.stage-screen{margin-top:20px}@media(max-width:760px){.workspace-tab{font-size:11px;padding:10px 5px;gap:4px}.document-review{padding:16px}.stage-picker button{flex-basis:140px}}

.form-answers{display:grid;gap:18px;margin:20px 0}.form-answers label{font-size:13px;line-height:1.6}.form-answers textarea,.form-answers select{display:block;width:100%;box-sizing:border-box;padding:12px;border:1px solid var(--line);border-radius:10px;background:white;color:var(--ink);font:inherit;margin-top:7px}.form-error{background:#fff2ed;color:#9d4027;padding:14px;border-radius:10px;font-size:13px;line-height:1.6}.application-stage>.button{margin:12px 0}

.remote-open{overflow:hidden}.remote-dialog{position:fixed;inset:0;z-index:200;background:#f7f7f4;display:flex;flex-direction:column;padding:12px;gap:10px;overflow:auto}.remote-head{display:flex;justify-content:space-between;align-items:center}.remote-head p{font-size:12px;color:var(--muted);margin:3px 0}.remote-head button{font-size:26px;padding:10px}.remote-notice{display:flex;gap:10px;font-size:12px;align-items:center;min-height:24px}.remote-tools,.remote-keyboard{display:flex;flex-wrap:wrap;gap:8px}.remote-tools button,.remote-keyboard button{padding:10px 12px;background:#fff;border:1px solid var(--line);border-radius:10px;min-height:44px}.remote-canvas{flex:1;min-height:300px;overflow:auto;border:1px solid var(--line);border-radius:14px;background:white}.remote-canvas img{display:block;max-width:none;width:100%;height:auto;touch-action:none;user-select:none}.remote-keyboard label{flex:1 0 100%;font-size:12px}.remote-keyboard input{display:block;width:100%;padding:12px;border:1px solid var(--line);border-radius:10px;margin-top:6px}.remote-help{font-size:11px;line-height:1.5;color:var(--muted);margin:0}.cv-upload-receipt{border:1px solid #d7e5ce;border-radius:12px;padding:14px;background:#f0f6eb;margin:12px 0}.cv-upload-receipt p{font-size:12px;overflow-wrap:anywhere;margin:6px 0}
.remote-spinner[hidden]{display:none}

/* Phone-sized native form, readable without zoom and with one clear Send. */
.remote-canvas{width:100%;max-width:390px;align-self:center;min-height:320px}.remote-check{padding:10px 12px;background:#edf5e8;border:1px solid #dce7d5;border-radius:12px;font-size:12px}.remote-check.has-errors{background:#fff1e9;border-color:#efcebd}.remote-check ul{padding-left:18px;line-height:1.5;margin:8px 0}.remote-check details{margin-top:8px}.remote-check details[open]{max-height:180px;overflow:auto}.remote-check summary,.remote-input-tools>summary{cursor:pointer;padding:6px 0}.remote-field{display:flex;flex-direction:column;gap:3px;padding:8px 0;border-top:1px solid #dce7d5;overflow-wrap:anywhere}.remote-field span{color:var(--muted)}.remote-field strong{font-weight:500}.remote-input-tools{font-size:12px}.remote-send>button,[data-remote-reopen]{width:100%;min-height:48px;border-radius:12px;background:var(--orange);color:white;font-weight:650}.remote-send button:disabled{background:#dfe3db;color:#74806e;cursor:default}.remote-send>div{font-size:12px;line-height:1.6;padding:12px;border:1px solid var(--line);border-radius:12px;background:white}.remote-send>div label{display:flex;align-items:flex-start;gap:8px;margin:12px 0}.remote-send>div button{min-height:44px;padding:10px;border-radius:10px;background:var(--orange);color:white;margin-right:8px}.remote-tools button{flex:1;padding:8px;font-size:12px}.remote-dialog [hidden]{display:none!important}

/* Main screen is a real field review; the live image is reserved for CAPTCHA. */
.remote-dialog:not(.captcha-mode) .remote-tools,.remote-dialog:not(.captcha-mode) .remote-canvas,.remote-dialog:not(.captcha-mode) .remote-input-tools,.remote-dialog:not(.captcha-mode) .remote-help{display:none}.remote-dialog [data-remote-summary]{flex:1;min-height:0;overflow:auto;padding-bottom:10px}.remote-tabs{display:flex;gap:8px}.remote-tabs button{min-height:40px;padding:10px 18px;border:1px solid var(--line);border-radius:10px;background:white}.phone-form-fields{display:grid;gap:16px;margin:20px 0}.phone-form-field{display:block;font-size:12px;line-height:1.6}.phone-form-field>span{display:block;color:var(--muted);margin-bottom:6px}.phone-form-field textarea,.phone-form-file{display:block;width:100%;box-sizing:border-box;padding:12px;border:1px solid var(--line);border-radius:10px;background:white;font:inherit;color:var(--ink);resize:none;white-space:pre-wrap;overflow-wrap:anywhere;min-height:44px}.phone-form-file{background:#eff5e9}.phone-form-field small{color:#a84a2a}.remote-readonly-note{font-size:11px;color:var(--muted);line-height:1.6}.remote-dialog.captcha-mode .remote-send,.remote-dialog.captcha-mode .remote-input-tools{display:none}.remote-dialog.captcha-mode .remote-canvas{display:flex;align-items:flex-start;justify-content:center;flex:1;min-height:0;max-width:none}.remote-dialog.captcha-mode .remote-canvas img{flex-shrink:0;object-fit:contain;touch-action:pan-x pan-y}.remote-dialog.captcha-mode .remote-tools{gap:5px}.remote-dialog.captcha-mode .remote-tools button{min-height:40px}.remote-dialog .remote-send{flex-shrink:0}.remote-dialog .remote-head,.remote-tabs,.remote-tools,.remote-help,.remote-notice{flex-shrink:0}
/* Immediate touch acknowledgement; transport state never hides a dropped input. */
.remote-canvas{position:relative}
.remote-tap{position:absolute;width:30px;height:30px;border:3px solid #fc6b29;border-radius:50%;pointer-events:none;transform:translate(-50%,-50%);animation:remote-tap .65s ease-out forwards;z-index:2}
@keyframes remote-tap{to{opacity:0;transform:translate(-50%,-50%) scale(1.8)}}
.remote-notice{flex-wrap:wrap}.remote-notice small{font-size:12px;opacity:.8}
.remote-offline .remote-notice{background:#fff1e7;color:#994312}
.remote-offline [data-remote-image]{opacity:.55}
@media(prefers-reduced-motion:reduce){.remote-tap{animation:none}}
.remote-native{font-size:12px;flex-shrink:0;border:1px solid var(--line);border-radius:10px;padding:6px 10px}.remote-native summary{cursor:pointer;padding:4px}.remote-native p{line-height:1.6;margin:8px 0}.remote-native button{min-height:42px;padding:8px 12px;background:white;border:1px solid var(--line);border-radius:8px;margin:3px}.remote-tap{animation-duration:1.4s;background:#fc6b2933;width:38px;height:38px}

/* The challenge is one fixed interaction surface: swipes are gestures, never viewport panning. */
.remote-dialog.captcha-mode{overflow:hidden;overscroll-behavior:none;height:100dvh;box-sizing:border-box;touch-action:none}.remote-dialog.captcha-mode .remote-canvas{overflow:hidden;overscroll-behavior:none;touch-action:none;align-items:center;justify-content:center}.remote-dialog.captcha-mode .remote-canvas img{touch-action:none!important;width:auto;max-width:100%;max-height:100%;height:auto;object-fit:contain}.remote-dialog.captcha-mode .remote-native,.remote-dialog.captcha-mode [data-remote-drag]{display:none}.remote-dialog.captcha-mode .remote-help{font-size:11px;margin:0}.remote-dialog.captcha-mode .remote-notice{min-height:32px}

.remote-dialog.captcha-mode .remote-tap{animation:none;opacity:1;background:#fc6b2933}

/* Zoom and arrows change only the image viewport; finger gestures still reach the challenge. */
.remote-dialog.captcha-zoomed .remote-canvas{display:block;overflow:auto;scrollbar-width:none}
.remote-dialog.captcha-zoomed .remote-canvas::-webkit-scrollbar{display:none}
.remote-dialog.captcha-zoomed .remote-canvas img{max-width:none;max-height:none}
.remote-tools [data-remote-scale]{display:flex;align-items:center;justify-content:center;min-width:42px;font-size:12px;font-variant-numeric:tabular-nums}
.remote-tools button:disabled{opacity:.45;cursor:default}

.remote-tabs{flex-wrap:wrap}.remote-tabs [data-remote-restart]{margin-left:auto;font-size:12px;color:#a2532a;background:#fff3ea}.remote-restarting .remote-canvas{pointer-events:none;opacity:.6}

.phone-form-field [data-remote-copy-field]{display:block;margin-top:6px;min-height:40px;padding:8px 12px;border:1px solid var(--line);border-radius:8px;background:white;color:var(--muted);font-size:12px}.remote-tabs [data-remote-native]{font-size:12px}
.phone-helper-setup,.phone-direct-setup,.phone-firefox-setup{margin:12px 0;padding:10px;background:white;border:1px solid var(--line);border-radius:10px}.phone-helper-setup ol,.phone-direct-setup ol,.phone-firefox-setup ol{padding-left:20px;line-height:1.7}.phone-helper-setup li,.phone-direct-setup li,.phone-firefox-setup li{margin:8px 0}.remote-native[open]{max-height:48dvh;overflow:auto}[data-phone-transfer-status]:not(:empty){padding:10px;border-radius:8px;background:#edf5e8;overflow-wrap:anywhere}

.phone-settings{margin-top:24px;color:var(--muted,#778078);font-size:14px;line-height:1.6}.phone-settings summary{cursor:pointer}.phone-settings a{color:var(--ink,#202622)}.feedback-entry>summary{cursor:pointer;font-weight:600}

.professional-contacts{margin-top:24px;padding-top:20px;border-top:1px solid var(--line)}.contact-card{padding:16px;margin-top:12px;border:1px solid var(--line);border-radius:12px;background:var(--paper)}.contact-card details{margin-top:12px}.contact-card .letter{font-size:13px}.contact-card>a.progress-note{display:block;margin-top:12px}

.failed-contacts{margin-bottom:24px}.failed-contacts>summary{cursor:pointer;font-weight:600;padding:10px 0}.failed-contacts h4{margin:20px 0 8px}.failed-contacts .contact-card>a{font-weight:600;color:var(--ink,#202622);overflow-wrap:anywhere}

/* Keep the actual vacancy list within reach on phones and detail screens. */
.workspace-navigation{position:sticky;top:0;z-index:10;display:flex;gap:8px;padding:10px max(20px,calc((100vw - 1124px)/2));background:var(--paper);border-bottom:1px solid var(--line)}.workspace-navigation button{display:flex;align-items:center;gap:8px;min-height:44px;padding:10px 16px;border-radius:12px;font-size:13px}.workspace-navigation button.active{background:var(--ink);color:white}.nav-company{max-width:150px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;opacity:.7;font-size:11px}.queue-current{display:flex;align-items:center;justify-content:space-between;gap:18px;border:1px solid var(--line);border-left:4px solid var(--orange);border-radius:14px;background:white;padding:18px;margin-bottom:20px}.queue-current h2{font-size:17px;margin-top:7px;line-height:1.4}.queue-current p{font-size:12px;color:var(--muted);line-height:1.5;margin:7px 0 0}.queue-current-actions{display:flex;gap:8px;flex-shrink:0}.queue-card-status{font-size:12px;line-height:1.5;margin-top:8px;color:var(--muted);overflow-wrap:anywhere}.job-card{align-items:center}.job-main{min-width:0}.job-main>div{min-width:0}.workspace-notices{margin-top:28px}.home-intro{margin-bottom:20px}.home-intro h1{font-size:28px;margin-top:8px}.swipe-views{align-items:start}.list-view{min-width:0}
@media(max-width:760px){.workspace-navigation{padding:8px 16px;gap:6px}.workspace-navigation button{flex:1;justify-content:center;padding:10px;font-size:12px}.nav-company{max-width:90px}.queue-current{align-items:stretch;flex-direction:column;gap:12px;padding:14px}.queue-current-actions .button{flex:1;font-size:12px;padding:10px}.queue-current h2{font-size:15px}.queue-card-status{font-size:11px;margin-top:6px}.job-card{align-items:start}.job-card .company-icon{width:36px;height:36px;min-width:36px;font-size:13px;border-radius:10px}.job-card .button{min-width:44px;min-height:44px}.home-intro h1{font-size:25px}.workspace-notices{margin-top:20px}header{padding-top:14px;padding-bottom:14px}.brand-sub{display:none}main{padding-top:18px}}

.draft-error{padding:16px;background:#fff4e9;border:1px solid #edd4b9;border-radius:12px;font-size:13px;line-height:1.6}.draft-error p{margin:8px 0}.draft-feedback label{display:block;margin-top:12px}.draft-feedback textarea{margin-top:6px}

.pending-jobs{margin:24px 0;padding:18px;border:1px solid #edc79e;border-radius:16px;background:#fff8ee}.pending-jobs h2{font-size:18px}.pending-jobs .job-card{margin-top:12px;background:white}.pending-jobs .job-card p{font-size:12px;line-height:1.5}

.runtime-summary{padding:16px 18px;margin-bottom:22px;border:1px solid var(--line);border-left:3px solid var(--green);border-radius:12px;background:var(--paper)}.runtime-summary p{font-size:13px;line-height:1.5;margin:7px 0;color:var(--muted)}.runtime-summary small{font-size:11px;color:var(--muted)}.runtime-summary[data-state="blocked"],.runtime-summary[data-state="paused"]{border-left-color:var(--orange)}.runtime-summary[data-state="offline"]{border-left-color:#bd3939}.status-pill[data-state="paused"] .dot,.status-pill[data-state="blocked"] .dot{background:var(--orange)}.status-pill[data-state="offline"] .dot{background:#bd3939}

@media(max-width:600px){.pending-jobs .job-card{align-items:stretch;flex-direction:column;gap:10px}.pending-jobs .job-card .button{font-size:12px;width:100%;white-space:normal;padding:10px 12px}}
