@import url("https://fonts.googleapis.com/css2?family=Cairo:wght@400;500;600;700&display=swap");:root{--bg:#F8FAFC;--surface:#FFFFFF;--wash:#F1F5F9;--ink:#0F172A;--ink-secondary:#334155;--muted:#64748B;--line:#E2E8F0;--line-strong:#CBD5E1;--brand:#0D9488;--brand-hover:#0F766E;--brand-soft:#F0FDFA;--brand-navy:#0F172A;--brand-navy-card:#1E293B;--good:#16A34A;--good-soft:#DCFCE7;--warn:#D97706;--warn-soft:#FEF3C7;--bad:#DC2626;--bad-soft:#FEE2E2;--info:#2563EB;--info-soft:#DBEAFE;--trust:#059669;--trust-soft:#ECFDF5;--radius-sm:6px;--radius-md:10px;--radius-lg:14px;--radius-full:9999px;--shadow-sm:0 1px 3px rgba(15,23,42,0.05);--shadow-md:0 4px 6px -1px rgba(15,23,42,0.07),0 2px 4px -2px rgba(15,23,42,0.04);--shadow-lg:0 10px 15px -3px rgba(15,23,42,0.08)}*{box-sizing:border-box;margin:0;padding:0}html{scroll-behavior:smooth}body{margin:0;background:var(--bg);color:var(--ink);font:15px/1.55 Inter,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,sans-serif;min-height:100vh}[dir=rtl],body[dir=rtl],html[lang=ar] body{font-family:Cairo,Tajawal,-apple-system,BlinkMacSystemFont,Segoe UI,Tahoma,sans-serif;line-height:1.7}h1,h2,h3,h4,h5,h6{overflow-wrap:anywhere;word-break:normal}button,input,select,textarea{font:inherit}button{cursor:pointer;transition:all .15s ease}button:disabled{cursor:not-allowed;opacity:.55}a{color:inherit}h1,h2,h3,h4,p{margin-top:0}h1,h2{line-height:1.25;letter-spacing:-.025em;color:var(--brand-navy)}a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid var(--brand);outline-offset:2px}input,select,textarea{border:1px solid var(--line);border-radius:var(--radius-sm);background:var(--surface);color:var(--ink);min-height:44px;padding:10px 14px;width:100%;transition:border-color .15s ease}input:focus,select:focus,textarea:focus{border-color:var(--brand)}input::placeholder,textarea::placeholder{color:var(--muted);opacity:.8}textarea{resize:vertical}input[type=checkbox]{width:18px;height:18px;min-height:0;accent-color:var(--brand);cursor:pointer}label{font-size:14px;font-weight:600;color:var(--ink-secondary);display:flex;flex-direction:column;gap:6px}label:has(input[type=checkbox]){flex-direction:row;align-items:center;gap:8px;cursor:pointer}.site-shell{min-height:100vh;display:flex;flex-direction:column;background:var(--bg)}.topbar{height:68px;justify-content:space-between;padding:0 clamp(16px,3.5vw,48px);background:var(--surface);border-bottom:1px solid var(--line);position:sticky;top:0;z-index:100}.brand,.topbar{display:flex;align-items:center}.brand{gap:10px;letter-spacing:-.03em;color:var(--brand-navy)}.brand,.brand-mark{font-size:19px;font-weight:800}.brand-mark{width:36px;height:36px;border-radius:9px;background:linear-gradient(135deg,var(--brand),#0284C7);color:white;display:grid;place-items:center}.brand-mark span{color:#5EEAD4}.top-actions{display:flex;align-items:center;gap:12px}.account-email{font-size:13px;font-weight:500;color:var(--muted);max-width:220px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.icon-button,.language,.quiet-button,.text-button{border:0;background:transparent;color:var(--brand);font-weight:650;padding:8px 12px;border-radius:var(--radius-sm)}.icon-button:hover,.language:hover,.quiet-button:hover,.text-button:hover{background:var(--brand-soft)}.primary-button,.secondary-button{min-height:44px;border-radius:var(--radius-sm);padding:10px 18px;font-weight:700;font-size:14px;white-space:nowrap;display:inline-flex;align-items:center;justify-content:center;gap:8px}.primary-button{background:var(--brand);color:white;border:1px solid var(--brand)}.primary-button:hover:not(:disabled){background:var(--brand-hover);border-color:var(--brand-hover)}.secondary-button{background:var(--surface);color:var(--brand);border:1px solid var(--line)}.secondary-button:hover:not(:disabled){background:var(--brand-soft);border-color:var(--brand)}.booting{max-width:600px;margin:15vh auto;padding:24px;text-align:center;color:var(--muted)}.loading-line{height:6px;border-radius:var(--radius-full);background:linear-gradient(90deg,var(--brand-soft),var(--brand),var(--brand-soft));width:180px;margin:0 auto 16px;animation:pulse 1.5s ease-in-out infinite}.auth-layout{min-height:calc(100vh - 68px);display:grid;grid-template-columns:minmax(360px,1fr) minmax(400px,1fr)}.auth-story{background:linear-gradient(145deg,#0B1120,#0F172A 50%,#134E4A);color:white;display:flex;align-items:center;justify-content:center;padding:clamp(32px,6vw,80px)}.story-inner{max-width:520px}.story-symbol{display:block;font-size:64px;line-height:1;margin-bottom:36px;color:#2DD4BF}.auth-story h1{font-size:clamp(32px,4vw,56px);color:white;margin-bottom:20px}.auth-story p{font-size:17px;line-height:1.6;color:#94A3B8}.story-steps{margin-top:50px;border-top:1px solid #1e293b;display:grid}.story-steps span{padding:16px 0;border-bottom:1px solid #1e293b;display:flex;align-items:center;gap:20px;color:#94A3B8;font-size:13px}.story-steps b{font-size:15px;color:white}.auth-panel{display:flex;align-items:center;justify-content:center;padding:40px 30px;background:var(--surface)}.auth-form-wrap{width:min(100%,400px)}.auth-form-wrap h2{font-size:30px;margin-bottom:8px}.subtle{color:var(--muted);font-size:14px}.section-overline{font-size:11px;font-weight:800;letter-spacing:.12em;color:var(--brand);text-transform:uppercase}.form-stack{display:grid;gap:16px;margin-top:28px}.auth-links{display:flex;gap:8px;flex-wrap:wrap;margin-top:22px}.alert{border-radius:var(--radius-sm);padding:12px 16px;font-size:14px;font-weight:500;line-height:1.5}.alert.error{color:var(--bad);background:var(--bad-soft);border:1px solid rgba(220,38,38,.2)}.alert.success{color:var(--good);background:var(--good-soft);border:1px solid rgba(22,163,74,.2)}.alert.warning{color:var(--warn);background:var(--warn-soft);border:1px solid rgba(217,119,6,.2);margin-bottom:18px}.app-layout{min-height:calc(100vh - 68px);display:grid;grid-template-columns:260px minmax(0,1fr)}.sidebar{border-inline-end:1px solid var(--line);background:var(--surface);padding:28px 16px;display:flex;flex-direction:column}.sidebar-intro{padding:0 12px 28px;display:grid;gap:4px}.sidebar-intro strong{font-size:17px;color:var(--brand-navy)}.sidebar-caption{font-size:11px;font-weight:750;letter-spacing:.1em;color:var(--muted)}.sidebar nav{display:grid;gap:4px}.nav-item{border:0;background:transparent;text-align:start;width:100%;padding:11px 14px;border-radius:var(--radius-sm);display:flex;align-items:center;gap:12px;color:var(--muted);font-weight:600;font-size:14px}.nav-item span{font-size:16px;width:20px;color:var(--muted)}.nav-item:hover{background:var(--wash);color:var(--ink)}.nav-item.active{background:var(--brand-soft)}.nav-item.active,.nav-item.active span{color:var(--brand)}.sidebar-foot{margin-top:auto;padding:20px 12px 0;color:var(--muted);font-size:12px;border-top:1px solid var(--line);display:flex;align-items:center;gap:8px}.tiny-dot{width:8px;height:8px;background:var(--good);border-radius:50%}.workspace{width:min(100%,1160px);padding:clamp(24px,4vw,56px) clamp(16px,4.5vw,64px) 100px}.page-heading{margin-bottom:32px;max-width:800px}.page-heading h1{font-size:34px;margin:10px 0}.page-heading p{font-size:16px;color:var(--muted)}.journey-progress{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));border-top:1px solid var(--line);margin-top:36px}.journey-progress>div{padding:24px 20px 24px 0;border-bottom:1px solid var(--line);display:flex;flex-direction:column;align-items:flex-start;gap:8px}.journey-progress>div+div{padding-inline-start:24px;border-inline-start:1px solid var(--line)}.progress-label{font-size:12px;color:var(--brand);font-weight:800}.journey-progress strong{font-size:18px}.status{border-radius:var(--radius-full);padding:3px 10px;font-size:12px;font-weight:700}.status.good{color:var(--good);background:var(--good-soft)}.status.pending{color:var(--warn);background:var(--warn-soft)}.journey-progress button{margin-top:12px;padding:0;background:none;border:0;color:var(--brand);font-weight:700;font-size:14px;display:inline-flex;align-items:center;gap:4px}.journey-progress button:hover{text-decoration:underline}.editorial-note{margin-top:36px;display:flex;align-items:flex-start;gap:14px;max-width:760px;background:var(--brand-soft);border:1px solid #ccfbf1;padding:16px 20px;border-radius:var(--radius-md);color:#0F766E;font-size:14px}.editorial-note p{margin:0}.note-icon{border:1.5px solid;border-radius:50%;width:20px;height:20px;flex:none;display:grid;place-items:center;font-weight:800;font-size:12px}.content-form{max-width:900px}.form-section{padding:24px 0 28px;border-top:1px solid var(--line)}.facts-section h2,.form-section h2,.review-start h2{font-size:20px;margin-bottom:16px}.section-header{display:flex;align-items:flex-start;justify-content:space-between;gap:16px}.section-header p,.section-header span{font-size:13px;color:var(--muted)}.choice-row{display:flex;gap:10px;flex-wrap:wrap}.choice{font-size:14px;font-weight:600;border:1px solid var(--line);border-radius:var(--radius-sm);padding:9px 14px;background:var(--surface);min-height:44px;cursor:pointer}.choice:has(input:checked){border-color:var(--brand);background:var(--brand-soft);color:var(--brand)}.eligibility-list,.location-list{display:grid;gap:10px;margin-bottom:14px}.location-row{display:grid;grid-template-columns:minmax(110px,150px) minmax(160px,1fr) auto;align-items:end;gap:10px}.two-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;max-width:640px;margin-top:22px}.eligibility-row{display:grid;grid-template-columns:65px minmax(150px,1fr) minmax(150px,1fr);gap:14px;align-items:end;padding:16px;background:var(--surface);border:1px solid var(--line);border-radius:var(--radius-md)}.form-footer{justify-content:space-between;gap:12px;padding-top:24px;border-top:1px solid var(--line);color:var(--muted);font-size:13px}.form-footer,.upload-panel{display:flex;align-items:center}.upload-panel{border:1.5px dashed var(--brand);background:var(--surface);border-radius:var(--radius-md);padding:28px;gap:20px;max-width:860px}.file-drop{display:flex;flex-direction:row;align-items:center;gap:16px;flex:1 1;cursor:pointer}.file-drop strong{font-size:15px;color:var(--ink);flex:1 1}.file-drop input{position:absolute;width:1px;height:1px;opacity:0}.upload-glyph{width:48px;height:48px;background:var(--brand-soft);color:var(--brand);display:grid;place-items:center;border-radius:var(--radius-sm);font-size:24px}.document-strip{margin-top:24px;display:flex;justify-content:space-between;align-items:center;gap:20px;border-bottom:1px solid var(--line);padding:16px 0}.document-strip strong{font-size:16px}.empty-state{margin-top:24px;padding:56px 24px;background:var(--surface);border:1px solid var(--line);border-radius:var(--radius-md);display:flex;align-items:center;justify-content:center;flex-direction:column;text-align:center;color:var(--muted)}.empty-state h2{font-size:20px;color:var(--ink);margin-bottom:14px;max-width:40ch}.empty-symbol{font-size:36px;color:var(--brand);margin-bottom:12px}.review-start{padding:28px 0;max-width:640px}.facts-section{margin-top:24px;max-width:960px}.facts-list{display:grid;gap:10px;margin:20px 0}.fact-item{min-width:0}.fact-row{display:grid;grid-template-columns:160px minmax(130px,1fr) 170px 36px;gap:10px;align-items:center}.fact-evidence{margin:6px 40px 8px 0;padding:8px 12px;border-inline-start:2px solid var(--brand);background:var(--wash);color:var(--muted);font-size:12px;overflow-wrap:anywhere}.fact-evidence strong{display:block;color:var(--ink);margin-bottom:2px}.match-toolbar{justify-content:space-between;gap:16px;padding:16px 0;border-top:1px solid var(--line);border-bottom:1px solid var(--line);margin-bottom:24px}.inline-choice,.match-toolbar{display:flex;align-items:center}.inline-choice{gap:8px;font-size:14px}.toolbar-actions{display:flex;gap:10px}.result-count{display:flex;justify-content:space-between;font-weight:700;margin-bottom:16px}.job-list{display:grid;gap:16px}.job-card{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius-md);padding:24px;box-shadow:var(--shadow-sm);transition:all .2s ease}.job-card:hover{border-color:var(--brand);box-shadow:var(--shadow-md)}.job-topline{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:8px;color:var(--muted);font-size:13px;font-weight:600}.job-card h2{font-size:22px;margin:8px 0 12px;overflow-wrap:anywhere;word-break:break-word}.job-meta{display:flex;gap:8px;flex-wrap:wrap;color:var(--muted);font-size:12px}.job-meta span{background:var(--wash);padding:4px 8px;border-radius:var(--radius-sm)}.job-assessment{display:grid;grid-template-columns:1fr 1fr;gap:24px;border-top:1px solid var(--line);margin-top:20px;padding-top:18px}.job-assessment>div+div{border-inline-start:1px solid var(--line);padding-inline-start:24px}.assessment-label{font-size:11px;letter-spacing:.08em;font-weight:800;text-transform:uppercase;color:var(--muted);display:block;margin-bottom:6px}.job-assessment strong{font-size:14px}.decision{display:inline-block;border-radius:var(--radius-sm);padding:3px 8px;font-size:12px;font-weight:700}.decision.match{background:var(--good-soft);color:var(--good)}.decision.needs_info{background:var(--warn-soft);color:var(--warn)}.decision.no_match{background:var(--bad-soft);color:var(--bad)}.job-footer{border-top:1px solid var(--line);padding-top:16px;margin-top:16px;display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:10px;font-size:13px;color:var(--muted)}.job-footer a{color:var(--brand);font-weight:700;text-decoration:none}.pagination{display:flex;align-items:center;justify-content:center;gap:16px;margin-top:28px}.match-skeleton{display:grid;gap:14px}.match-skeleton div{height:130px;background:var(--wash);border-radius:var(--radius-md);animation:pulse 1.5s ease-in-out infinite}@keyframes pulse{50%{opacity:.5}}.submitted-warning{max-width:900px;overflow-wrap:anywhere}.submitted-form{max-width:900px;display:grid;gap:16px;margin:24px 0 36px;background:var(--surface);border:1px solid var(--line);padding:20px;border-radius:var(--radius-md)}.submitted-form textarea{min-height:120px}.submitted-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.submitted-list,.submitted-result{border-top:1px solid var(--line);padding-top:24px;margin-top:28px;max-width:940px}.submitted-items{display:grid;gap:10px}.submitted-item{border:1px solid var(--line);border-radius:var(--radius-md);background:var(--surface);padding:16px;display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:16px;overflow-wrap:anywhere}.submitted-item>div{min-width:0}.submitted-result{border:1px solid var(--line);border-radius:var(--radius-md);background:var(--surface);padding:24px;margin-bottom:36px;overflow-wrap:anywhere}.submitted-result summary{cursor:pointer;color:var(--brand);font-weight:650;margin-bottom:8px}.submitted-text{white-space:pre-wrap;background:var(--wash);border-radius:var(--radius-sm);padding:12px}.submitted-assessment{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:28px;border-top:1px solid var(--line);margin-top:20px;padding-top:16px}.mobile-nav-bar{display:none;position:fixed;bottom:0;left:0;right:0;height:60px;background:var(--surface);border-top:1px solid var(--line);z-index:999;align-items:center;justify-content:space-around;padding:0 4px;box-shadow:0 -2px 10px rgba(0,0,0,.04)}.mob-tab-btn{background:transparent;border:0;color:var(--muted);display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;font-size:11px;font-weight:600;min-width:48px;min-height:48px;padding:4px;border-radius:var(--radius-sm)}.mob-tab-btn span.glyph{font-size:16px}.mob-tab-btn.active{color:var(--brand)}.sheet-backdrop{position:fixed;inset:0;background:rgba(15,23,42,.5);-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);z-index:1000;display:flex;align-items:flex-end;animation:fadeIn .15s ease-out}.sheet-drawer{background:var(--surface);width:100%;max-height:85vh;border-top-left-radius:20px;border-top-right-radius:20px;padding:20px 24px 32px;box-shadow:var(--shadow-lg);overflow-y:auto;animation:slideUp .2s cubic-bezier(.16,1,.3,1)}.sheet-handle{width:40px;height:4px;background:var(--line-strong);border-radius:2px;margin:0 auto 16px}.sheet-title{font-size:17px;font-weight:750;margin-bottom:14px;color:var(--brand-navy)}.sheet-grid{display:grid;grid-template-columns:1fr;gap:8px}.sheet-item{border:1px solid var(--line);background:var(--surface);border-radius:var(--radius-md);padding:12px 16px;display:flex;align-items:center;gap:14px;font-size:14px;font-weight:650;color:var(--ink);text-align:start;min-height:48px}.sheet-item:hover{background:var(--wash);border-color:var(--brand)}@keyframes fadeIn{0%{opacity:0}to{opacity:1}}@keyframes slideUp{0%{transform:translateY(100%)}to{transform:translateY(0)}}@media (max-width:1000px){.app-layout{grid-template-columns:210px minmax(0,1fr)}.workspace{padding-inline:28px}}@media (max-width:760px){.topbar{height:60px;padding-inline:16px}.account-email{display:none}.auth-layout{display:block}.auth-story{min-height:180px;padding:24px}.story-symbol{font-size:32px;margin-bottom:12px}.auth-story h1{font-size:26px}.story-steps{display:none}.app-layout{display:block}.sidebar{display:none}.workspace{padding:0 16px 85px}.mobile-nav-bar{display:flex}.journey-progress{display:block}.journey-progress>div,.journey-progress>div+div{border-inline-start:0;padding:16px 0}.location-row{grid-template-columns:110px minmax(100px,1fr)}.location-row button{grid-column:1/-1}.two-fields{grid-template-columns:1fr}.eligibility-row{grid-template-columns:1fr 1fr}.upload-panel{display:block}.upload-panel .primary-button{margin-top:16px;width:100%}.fact-row{grid-template-columns:1fr 1fr 35px}.fact-row input[aria-label]{grid-column:1/3;grid-row:2}.fact-row .uncertain{grid-column:1/3;grid-row:3}.job-assessment{grid-template-columns:1fr;gap:14px}.job-assessment>div+div{border-inline-start:0;border-top:1px solid var(--line);padding-inline-start:0;padding-top:14px}.submitted-assessment,.submitted-grid{grid-template-columns:1fr}}@media (max-width:420px){body{font-size:14px}.workspace{padding-inline:12px}.topbar{height:auto;min-height:56px;padding:6px 8px}.top-actions,.topbar{flex-wrap:wrap;gap:4px}.top-actions a,.top-actions button{padding-inline:5px!important;font-size:11px}.submitted-form,.submitted-item,.submitted-result{padding:12px}.action-pair{flex-wrap:wrap}.job-card{padding:14px}.applicant-profile-root{padding:16px 12px!important}}