@font-face{font-family:Tajawal;font-style:normal;font-weight:400;font-display:swap;src:url('/fonts/tajawal-400-arabic.woff2') format('woff2');unicode-range:U+0600-06FF,U+0750-077F,U+08A0-08FF,U+FB50-FDFF,U+FE70-FEFF;}
@font-face{font-family:Tajawal;font-style:normal;font-weight:400;font-display:swap;src:url('/fonts/tajawal-400-latin.woff2') format('woff2');unicode-range:U+0000-00FF,U+2000-206F;}
@font-face{font-family:Tajawal;font-style:normal;font-weight:500;font-display:swap;src:url('/fonts/tajawal-500-arabic.woff2') format('woff2');unicode-range:U+0600-06FF,U+0750-077F,U+08A0-08FF,U+FB50-FDFF,U+FE70-FEFF;}
@font-face{font-family:Tajawal;font-style:normal;font-weight:500;font-display:swap;src:url('/fonts/tajawal-500-latin.woff2') format('woff2');unicode-range:U+0000-00FF,U+2000-206F;}
@font-face{font-family:Tajawal;font-style:normal;font-weight:700;font-display:swap;src:url('/fonts/tajawal-700-arabic.woff2') format('woff2');unicode-range:U+0600-06FF,U+0750-077F,U+08A0-08FF,U+FB50-FDFF,U+FE70-FEFF;}
@font-face{font-family:Tajawal;font-style:normal;font-weight:700;font-display:swap;src:url('/fonts/tajawal-700-latin.woff2') format('woff2');unicode-range:U+0000-00FF,U+2000-206F;}
@font-face{font-family:Tajawal;font-style:normal;font-weight:800;font-display:swap;src:url('/fonts/tajawal-800-arabic.woff2') format('woff2');unicode-range:U+0600-06FF,U+0750-077F,U+08A0-08FF,U+FB50-FDFF,U+FE70-FEFF;}
@font-face{font-family:Tajawal;font-style:normal;font-weight:800;font-display:swap;src:url('/fonts/tajawal-800-latin.woff2') format('woff2');unicode-range:U+0000-00FF,U+2000-206F;}
/* Shoghl 0.6 — one shared visual system for every page. */
:root{--blue:#0866d9;--blue-soft:#eaf2ff;--green:#218552;--green-soft:#eaf7ef;--ink:#202124;--muted:#65676b;--bg:#f0f2f5;--surface:#fff;--line:#e2e5e9;--control:#f0f2f5;--radius:12px;font-family:Tajawal,Arial,sans-serif;font-size:16px;line-height:1.6;color:var(--ink);background:var(--bg);-webkit-text-size-adjust:100%;text-size-adjust:100%}
*{box-sizing:border-box}html,body{height:100%;margin:0}body{display:flex;flex-direction:column;max-width:680px;margin:auto;overflow:hidden;font-size:15px;background:var(--bg)}
[hidden]{display:none!important}button,input,select,textarea{font:inherit;min-width:0}a{color:var(--blue);text-decoration:none}button,.button{display:inline-flex;justify-content:center;align-items:center;gap:6px;min-height:44px;padding:10px 14px;border:0;border-radius:8px;background:var(--blue);color:white;font-size:14px;font-weight:700;line-height:1.5;text-align:center;cursor:pointer}button:disabled{opacity:.55;cursor:default}button:hover:not(:disabled),.button:hover{filter:brightness(.97)}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,summary:focus-visible{outline:2px solid var(--blue);outline-offset:3px}
.secondary{background:var(--control);color:var(--ink)}.quiet{background:transparent;color:var(--muted)}.danger{background:#ffeded;color:#b42318}.full{width:100%}.muted{color:var(--muted);font-size:14px}.ui-icon{width:20px;height:20px;flex-shrink:0}h1,h2,h3,p{margin:0 0 12px;overflow-wrap:anywhere}h1,h2,h3{font-weight:700;line-height:1.45}h1{font-size:22px}h2{font-size:20px}h3{font-size:17px}small{font-size:12px}p{line-height:1.7}pre,blockquote{white-space:pre-wrap;overflow-wrap:anywhere}blockquote{margin:12px 0;padding:12px;background:var(--control);border-radius:8px}
/* Shell: clear brand, quiet utilities, four equal destinations. */
.top{flex:none;display:flex;align-items:center;justify-content:space-between;gap:8px;min-height:56px;padding:6px 16px;background:var(--surface);border-bottom:1px solid var(--line);z-index:5}.brand{display:flex;align-items:center}.wordmark{font-size:30px;font-weight:800;line-height:1;color:var(--blue)}.brand small,#account-top,.sidebar,.rightbar{display:none}.top-actions{display:flex;align-items:center;gap:6px}.circle{position:relative;flex:none;width:40px;height:40px;min-height:40px;padding:0;border-radius:50%;background:var(--control);color:var(--ink)}.circle svg{width:21px;height:21px}.language-toggle{flex:none;min-height:36px;padding:7px 10px;border-radius:18px;background:var(--blue-soft);color:var(--blue);font-size:12px;font-weight:700;line-height:1.5;white-space:nowrap}
#notification-count:not(:empty){position:absolute;top:-3px;right:-3px;min-width:18px;border:2px solid white;border-radius:12px;background:#d93025;color:white;font-size:10px;line-height:16px}
.layout{display:flex;flex:1;min-height:0;overflow:hidden;width:100%}#main{flex:1;min-width:0;min-height:0;overflow-y:auto;padding-bottom:16px;outline:0;scroll-padding:16px;-webkit-overflow-scrolling:touch}#main>h1{font-size:22px;padding:18px 16px 12px;margin:0;background:white;border-bottom:1px solid var(--line)}#main>p.muted{margin:12px 16px}#main>.full,#seekers-list>.full{width:calc(100% - 32px);margin:0 16px 12px}
.bottom{display:flex;flex:none;min-height:62px;padding:4px 8px;background:white;border-top:1px solid var(--line);z-index:5}.bottom a{position:relative;display:flex;flex:1;flex-direction:column;align-items:center;justify-content:center;gap:3px;min-width:0;min-height:54px;padding:4px;border-radius:8px;font-size:12px;font-weight:500;line-height:1.4;color:var(--muted)}.bottom .ui-icon{width:23px;height:23px}.bottom a.active{background:var(--blue-soft);color:var(--blue);font-weight:700}.bottom a.active:before{content:'';position:absolute;top:-5px;width:24px;height:3px;border-radius:0 0 3px 3px;background:var(--blue)}
/* Feed and visible filtering. */
.feed-header{padding:12px 12px 0}.tabs{display:flex;gap:4px;border-bottom:1px solid var(--line);background:white;margin:0 0 12px;padding:0 8px}.tabs button{flex:1;min-width:0;padding:10px 6px;border-radius:0;border-bottom:3px solid transparent;background:transparent;color:var(--muted);font-size:14px}.tabs button.active{color:var(--blue);border-bottom-color:var(--blue)}
.feed-tabs{padding:0;border:0;background:none;gap:8px;margin:0}.feed-tabs a{display:flex;flex:1;align-items:center;justify-content:center;gap:7px;min-width:0;min-height:46px;padding:10px 8px;border:1px solid var(--line);border-radius:10px;background:white;font-size:14px;font-weight:700;line-height:1.4}.feed-tabs .jobs-choice{color:var(--blue)}.feed-tabs .employees-choice{color:var(--green)}.feed-tabs .jobs-choice.active{background:var(--blue);border-color:var(--blue);color:white}.feed-tabs .employees-choice.active{background:var(--green);border-color:var(--green);color:white}
.card{min-width:0;margin:12px 12px 0;padding:16px;border:1px solid var(--line);border-radius:var(--radius);background:white;box-shadow:0 1px 2px #00000006}.card>p:last-child{margin-bottom:0}.composer{display:flex;align-items:center;gap:10px;padding:12px}.avatar{display:flex;flex:none;align-items:center;justify-content:center;width:40px;height:40px;border-radius:50%;background:var(--blue-soft);color:var(--blue);font-size:18px;font-weight:700}.compose-prompt{flex:1;min-width:0;justify-content:flex-start;text-align:start;border-radius:24px;background:var(--control);color:var(--muted);font-size:14px;font-weight:400;padding:10px 14px}.compose-add{flex:none;width:40px;height:44px;padding:0;border-radius:50%;background:transparent;color:var(--blue);font-size:27px}.preview-note{margin:8px 16px 0;font-size:11px;line-height:1.5;color:var(--muted)}
.filter-panel{margin:12px 12px 0;padding:8px 12px 12px;border:1px solid var(--line);border-radius:var(--radius);background:white}.filter-heading{display:flex;align-items:center;justify-content:space-between;gap:8px;min-height:36px;margin-bottom:6px}.filter-heading h2{margin:0;font-size:14px}.clear{font-size:12px;min-height:36px;padding:6px 0;color:var(--blue)}.search{margin:0 0 8px}.search input{border:0;border-radius:24px;background:var(--control);padding:10px 14px;font-size:14px}.filters{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:8px}.filters select{font-size:14px;min-height:42px;padding:8px;border-radius:8px;background:#f7f8fa}.filters select[name=profession]{grid-row:2;grid-column:1/-1}.worker-filters select[name=profession]{grid-row:auto;grid-column:auto}.results-label{display:flex;justify-content:space-between;gap:8px;margin:12px 16px 0;color:var(--muted);font-size:12px}.pagination{display:flex;margin:16px auto}
/* Posts read like a social feed; actions have equal touch targets. */
.post-head{display:flex;align-items:center;gap:10px;margin-bottom:12px}.company-info{flex:1;min-width:0}.company-name{display:block;min-height:24px;padding:0;background:none;color:var(--ink);font-size:15px;font-weight:700;text-align:start;overflow-wrap:anywhere}.company-name:hover{text-decoration:underline}.post-head small{display:block;margin-top:1px;font-size:12px;color:var(--muted)}.post-head .more{flex:none;width:36px;min-height:44px;padding:0;background:none;color:var(--muted);font-size:24px}.post-title{font-size:19px;margin:0 0 10px;line-height:1.5}.tags{display:flex;flex-wrap:wrap;gap:6px;margin:0 0 12px}.tag,.status{display:inline-flex;align-items:center;border-radius:6px;padding:4px 8px;background:var(--control);color:var(--muted);font-size:12px;line-height:1.5}.status{background:var(--blue-soft);color:var(--blue)}.available{background:var(--green-soft);color:#17643c}.excerpt{display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;color:var(--ink);font-size:15px;line-height:1.7;margin:0;white-space:pre-wrap}.details{min-height:40px;padding:6px 0;background:none;color:var(--blue);font-size:14px}.post-actions{display:flex;gap:6px;margin-top:4px;padding-top:10px;border-top:1px solid var(--line)}.post-actions button{flex:1;min-height:44px;padding:8px 5px;font-size:13px;line-height:1.4}.post-actions .apply{flex:1.25;background:var(--blue-soft);color:var(--blue)}.post-actions .secondary{background:transparent;color:var(--muted)}.post-actions .secondary.selected{color:var(--blue);background:var(--blue-soft)}.post-actions .ui-icon{width:18px;height:18px}.salary{padding:12px;background:var(--control);border-radius:8px;font-size:15px;font-weight:700;margin:12px 0}
/* Shared forms, guest accounts and profile sections. */
label{display:block;font-size:14px;font-weight:700;line-height:1.5;margin:16px 0 6px}input,select,textarea{display:block;width:100%;min-height:46px;padding:10px 12px;border:1px solid #ccd0d5;border-radius:8px;background:white;color:var(--ink);font-size:16px;line-height:1.5}input::placeholder,textarea::placeholder{color:var(--muted);opacity:1}textarea{min-height:112px;resize:vertical}input[type=checkbox]{flex:none;width:20px;height:20px;min-height:20px;accent-color:var(--blue)}.check{display:flex;align-items:flex-start;gap:10px;font-weight:400;line-height:1.7}.check input{margin-top:3px}.form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 12px}.form-actions{display:flex;flex-wrap:wrap;gap:10px;margin:20px 0 10px}.form-actions button{flex:1 1 110px;min-height:44px;font-size:14px;padding:10px 12px}form>button[type=submit],form>.full{margin-top:16px}.password-row{display:flex;gap:8px;align-items:stretch}.password-row input{flex:1;width:0;min-width:0}.password-row button{flex:none;min-width:58px;font-size:12px;padding:8px}.guest-card h2{font-size:19px;margin:0 0 10px}.guest-card p{font-size:15px;color:var(--muted);margin:0 0 20px}.guest-card button+button{margin-top:10px}.welcome-card{text-align:center;padding:24px 20px}.guest-avatar{display:flex;align-items:center;justify-content:center;width:64px;height:64px;margin:0 auto 16px;border-radius:50%;background:var(--blue-soft);color:var(--blue)}.guest-avatar svg{width:32px;height:32px}.guest-card .secondary{background:var(--blue-soft);color:var(--blue)}
.profile-cover{display:flex;justify-content:space-between;align-items:flex-end;gap:12px;min-height:100px;margin:-16px -16px 16px;padding:20px 16px 12px;background:var(--blue-soft);border-radius:12px 12px 0 0}.profile-avatar{display:flex;align-items:center;justify-content:center;flex:none;width:64px;height:64px;border:4px solid white;border-radius:50%;background:#d8e7fc;color:var(--blue);font-size:28px;font-weight:700}.profile-avatar svg{width:28px;height:28px}.company-cover{background:var(--green-soft)}.cv-section{border-top:1px solid var(--line);padding-top:16px;margin-top:16px}.cv-section h3{font-size:16px;margin-bottom:8px}.cv-section p{font-size:15px}.seeker-card h3{margin:0 0 6px}.seeker-card .form-actions button:last-child{background:var(--green)}
/* Dialog header is a separate row: title never competes with the language switch. */
dialog{width:calc(100% - 24px);max-width:500px;max-height:calc(100vh - 24px);max-height:calc(100dvh - 24px);padding:20px;border:1px solid var(--line);border-radius:16px;color:var(--ink);background:white;font:inherit;overflow-y:auto;box-shadow:0 12px 48px #00000026}dialog::backdrop{background:#1c24365c}.dialog-head{display:grid;grid-template-columns:minmax(0,1fr) 44px;align-items:center;gap:4px 8px;margin:0 0 16px;padding-bottom:12px;border-bottom:1px solid var(--line)}.dialog-head h2{grid-column:1;grid-row:1;margin:0;font-size:19px;line-height:1.5}.dialog-head #close-modal{grid-column:2;grid-row:1;width:36px;min-height:36px;height:36px;justify-self:end;padding:0;background:var(--control);border-radius:50%;font-size:25px;line-height:1;color:var(--muted)}.dialog-head .language-toggle{grid-column:1/-1;grid-row:2;justify-self:start;margin-top:4px;font-size:12px;min-height:32px;padding:6px 10px}#modal-body>p{font-size:14px;line-height:1.7}.modal-description{white-space:pre-wrap;overflow-wrap:anywhere;font-size:15px;line-height:1.8}.job-details .detail-title{font-size:22px;margin:0 0 16px}.job-details .notice{background:#fff7df;color:#75551a}.job-details .form-actions button{flex-basis:130px}#auth-form .form-actions{margin-top:20px;margin-bottom:10px}#auth-form>[data-action=browse-guest]{margin:0 0 8px;background:var(--blue-soft);color:var(--blue);font-size:14px}#auth-form>[data-action=forgot-password]{display:flex;margin:0 auto;font-size:13px;color:var(--blue)}
/* Status, notifications and messages use the same spacing scale. */
.empty{margin:12px;padding:24px 20px;border:1px solid var(--line);border-radius:var(--radius);background:white;text-align:center}.empty h2{font-size:18px;margin:0 0 8px}.empty p{font-size:14px;margin:0}.notice{margin:16px 0;padding:12px;border-radius:8px;background:var(--blue-soft);font-size:14px;line-height:1.7}.notice.error,.form-error{background:#ffeded;color:#b42318}.loading{padding:32px 16px;text-align:center;color:var(--muted)}.list-row{padding:16px 0;border-bottom:1px solid var(--line)}.list-row:last-child{border-bottom:0}.list-row p{white-space:pre-wrap;overflow-wrap:anywhere}.list-row .form-actions{margin-top:12px}.notification{display:flex;flex-direction:column;align-items:flex-start;width:100%;padding:14px;margin:8px 0;border:1px solid var(--line);background:white;color:var(--ink);text-align:start;font-size:14px}.notification.unseen{background:var(--blue-soft);border-inline-start:3px solid var(--blue)}.notification small{color:var(--muted)}#conversations{padding:12px}#conversations>.empty{margin:0 0 12px}.chat-item{display:flex;justify-content:flex-start;gap:12px;width:100%;padding:12px;margin:0 0 8px;background:white;border:1px solid var(--line);color:var(--ink);text-align:start}.messages{height:32vh;min-height:150px;overflow:auto;background:var(--bg);padding:12px;border-radius:10px}.bubble{width:fit-content;max-width:90%;padding:10px 12px;margin:0 0 10px;background:white;border:1px solid var(--line);border-radius:14px;overflow-wrap:anywhere}.bubble.mine{margin-inline-start:auto;background:var(--blue-soft);border-color:#d7e6fb}.bubble>span{white-space:pre-wrap;unicode-bidi:plaintext}.bubble small{display:block;font-size:11px;color:var(--muted);margin-top:4px}.evidence-choice{display:flex;align-items:center;gap:6px;font-size:11px;font-weight:400;margin:6px 0 0}.evidence-choice input{width:16px;height:16px;min-height:16px}.chat-tools{display:flex;flex-wrap:wrap;gap:6px;margin:12px 0}.chat-tools button{font-size:12px;padding:8px}#chat-sync{font-size:12px}#older-messages{margin-bottom:10px}details{margin:16px 0}summary{min-height:44px;padding:10px 0;cursor:pointer;font-weight:700}#toast{display:none;position:fixed;bottom:76px;left:50%;transform:translateX(-50%);max-width:calc(100% - 32px);padding:12px 16px;background:#202124;color:white;border-radius:10px;font-size:14px;z-index:20;box-shadow:0 4px 20px #0002}#toast.show{display:block}
html[dir=ltr] .modal-description,html[dir=ltr] .excerpt,html[dir=ltr] .post-title,html[dir=ltr] .detail-title{unicode-bidi:plaintext}
@media(max-width:380px){.top{padding-inline:12px}.top-actions{gap:4px}.wordmark{font-size:28px}.feed-tabs a{font-size:13px;gap:5px;padding:10px 6px}.feed-tabs .ui-icon{width:18px;height:18px}.post-actions button{font-size:12px}.post-actions .ui-icon{width:16px;height:16px}.welcome-card{padding:20px 16px}.guest-card h2{font-size:18px}.form-grid{grid-template-columns:minmax(0,1fr)}dialog{padding:16px}.dialog-head h2{font-size:18px}}
@media(min-width:680px){body{border-inline:1px solid var(--line)}.card,.filter-panel{margin-inline:20px}.feed-header{padding-inline:20px}.empty{margin-inline:20px}.welcome-card{padding:32px}.top{padding-inline:20px}}
@media(prefers-reduced-motion:no-preference){button,a{transition:background-color .12s,color .12s}}
/* 0.7: a mixed home feed; filters live on destination pages. */
.home-caption{margin:10px 16px 0;color:var(--muted);font-size:13px}.person-avatar{background:var(--green-soft);color:var(--green)}.person-post .post-head .available{flex:none;font-size:11px}.person-post .post-head strong{display:block;font-size:15px;font-weight:700}.person-post .apply{background:var(--green-soft);color:var(--green)}.person-post .tag{gap:4px}.post[data-action],.person-post[data-action]{cursor:pointer}.search-intro{display:flex;align-items:center;justify-content:space-between;gap:12px}.search-intro h1{font-size:18px;margin:0}.search-intro button{font-size:13px;max-width:65%}.share-options{display:grid;grid-template-columns:1fr 1fr;gap:10px}#share-url{font-size:13px}.person-post .post-title{font-size:18px}#mixed-posts>.full{width:calc(100% - 32px);margin:0 16px}
@media(max-width:350px){.person-post .post-head{gap:8px}.person-post .post-head .available{padding:4px 6px;font-size:10px}.search-intro{align-items:stretch;flex-direction:column;gap:8px}.search-intro button{max-width:100%}.person-post .post-actions button{font-size:12px}}
/* 0.7.1: search actions and post categories use consistent colour meanings. */
.feed-tabs .jobs-choice,.feed-tabs .jobs-choice.active{background:var(--blue);border-color:var(--blue);color:white}.feed-tabs .employees-choice,.feed-tabs .employees-choice.active{background:var(--green);border-color:var(--green);color:white}.feed-tabs a.active{box-shadow:0 0 0 2px white,0 0 0 3px currentColor}
.search-intro [data-action=edit-availability]{background:var(--blue);color:white}.search-intro [data-action=publish]{background:var(--green);color:white}
.post{border-inline-start:3px solid var(--green)}.person-post{border-inline-start:3px solid var(--blue)}.post-type{display:inline-block;font-size:11px;font-weight:700;border-radius:5px;padding:2px 6px}.vacancy-type{background:var(--green-soft);color:#17643c}.seeker-type{background:var(--blue-soft);color:var(--blue)}.post .avatar{background:var(--green-soft);color:var(--green)}.person-avatar{background:var(--blue-soft);color:var(--blue)}.person-post .apply{background:var(--blue-soft);color:var(--blue)}.person-post .available{background:var(--blue-soft);color:var(--blue)}
.review-toggle{min-height:36px;padding:6px 8px;font-size:11px;color:var(--muted);background:var(--control)}.review-banner{display:flex;flex:none;align-items:center;justify-content:space-between;gap:8px;padding:6px 12px;border-bottom:1px solid #ead39b;background:#fff6dc;color:#624500;font-size:11px;line-height:1.5}.review-banner>div{display:flex;gap:6px;flex:none}.review-banner button{min-height:32px;padding:4px 6px;border:1px solid #e4ce92;background:white;color:#624500;font-size:11px}.review-banner span{min-width:0}
@media(max-width:380px){.top-actions{gap:3px}.top:has(.review-toggle){padding-inline:10px}.review-toggle{padding:6px;font-size:10px}.post-type{font-size:10px}}
