/* AstraSuwayda R14.4 — coherent marketplace UI, not a decorative card patch.
   Keep existing semantic IDs and JS results; accessible responsive RTL. */
@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Sans+Arabic:wght@400;500;600;700&display=swap');
:root{--r14-ink:#172b42;--r14-muted:#617187;--r14-primary:#087b81;--r14-dark:#10263d;--r14-line:#e1e8ec;--r14-bg:#f7f9fa;--r14-surface:#fff;--r14-shadow:0 13px 38px rgba(20,42,57,.055);font-family:'IBM Plex Sans Arabic','Noto Sans Arabic','Cairo',Tahoma,system-ui,sans-serif}
html{scroll-behavior:smooth;overflow-x:clip}body{background:var(--r14-bg)!important;color:var(--r14-ink)!important;overflow-x:clip;font-family:inherit!important}*{box-sizing:border-box}button,input,textarea,select{font-family:inherit!important}a,button{transition:color .15s ease,background .15s ease,border-color .15s ease,transform .15s ease}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid rgba(8,123,129,.35);outline-offset:3px}a:where(:hover){color:var(--r14-primary)}
.shell{width:min(1180px,calc(100% - 48px))!important;max-width:1180px!important;margin-inline:auto!important}
.topbar{position:sticky!important;top:0;z-index:100;backdrop-filter:blur(16px);background:rgba(255,255,255,.96)!important;border-bottom:1px solid var(--r14-line)!important;box-shadow:none!important}
.topbar-inner{min-height:76px!important;gap:24px!important}.topbar .brand{display:flex!important;align-items:center!important;gap:12px!important;min-width:0}.topbar .brand img{width:49px!important;height:49px!important;object-fit:contain!important;border-radius:12px!important}.topbar .brand strong{color:var(--r14-dark)!important;font-size:17px!important;line-height:1.2!important;letter-spacing:-.02em}.topbar .brand span{color:var(--r14-muted)!important;font-size:11px!important}.topbar .nav{align-items:center!important;display:flex;gap:16px!important;margin-inline-start:auto!important;min-width:0}.topbar .nav a{font-size:13px!important;color:#42546a!important;font-weight:600!important;text-decoration:none!important;white-space:nowrap;padding:9px 5px!important}.topbar .nav a:hover{color:var(--r14-primary)!important}.topbar .nav .nav-provider,.r14-strip-button{display:inline-flex!important;align-items:center;gap:12px!important;border-radius:9px!important;background:var(--r14-dark)!important;color:#fff!important;padding:11px 17px!important;font-weight:700!important;border:1px solid var(--r14-dark)!important}.topbar .nav .nav-provider:hover,.r14-strip-button:hover{background:#1a415f!important;transform:translateY(-1px)}.r14-nav-toggle{display:none;border:1px solid var(--r14-line);background:#fff;border-radius:9px;padding:7px 12px;font-size:21px;color:var(--r14-dark)}
.hero{background:#f4f7f8!important;color:var(--r14-dark)!important;border:0!important;padding:78px 0 85px!important;position:relative;overflow:hidden}.hero:before{content:"";position:absolute;left:-18%;top:-55%;width:62%;height:150%;background:radial-gradient(circle,rgba(8,123,129,.07),transparent 62%);pointer-events:none}.hero-layout{align-items:center!important;gap:6vw!important;grid-template-columns:minmax(0,1.3fr) minmax(280px,.8fr)!important}.hero-copy{position:relative}.hero-pill{display:inline-flex!important;background:#e7f0ef!important;color:#14777a!important;border:1px solid #d4e4e2!important;box-shadow:none!important;border-radius:6px!important;letter-spacing:0!important;font-weight:700!important;font-size:12px!important;padding:8px 14px!important}.hero h1{font-size:clamp(33px,4.5vw,57px)!important;font-weight:700!important;line-height:1.35!important;letter-spacing:-.035em!important;margin:19px 0 15px!important;color:var(--r14-dark)!important;max-width:760px}.hero h1 em{font-style:normal!important;color:var(--r14-primary)!important}.hero-copy>p{color:#53667a!important;font-size:16px!important;line-height:2.1!important;max-width:640px!important}.hero .searchbar{background:#fff!important;border:1px solid #d5e2e6!important;box-shadow:0 15px 30px rgba(19,45,60,.055)!important;border-radius:12px!important;padding:7px!important;display:flex!important;gap:5px!important;max-width:710px!important}.hero .searchbar input{border:0!important;background:transparent!important;padding:13px 16px!important;min-width:0!important;flex:1!important;outline:0!important;color:var(--r14-ink)!important;box-shadow:none!important;font-size:14px!important}.hero .searchbar button{border-radius:8px!important;background:var(--r14-primary)!important;color:#fff!important;padding:12px 29px!important;font-size:13px!important;white-space:nowrap!important}.chips{display:flex!important;gap:8px!important;flex-wrap:wrap!important;margin-top:18px!important}.chips button{border:1px solid #dbe4e9!important;background:transparent!important;color:#46627a!important;border-radius:6px!important;padding:7px 12px!important;font-size:12px!important;box-shadow:none!important}.chips button:hover{border-color:var(--r14-primary)!important;color:var(--r14-primary)!important}.hero-panel{background:#fff!important;border:1px solid var(--r14-line)!important;border-radius:15px!important;box-shadow:var(--r14-shadow)!important;padding:27px!important;color:var(--r14-ink)!important;transform:none!important}.hero-panel-title{font-size:15px!important;font-weight:700!important;color:var(--r14-dark)!important;display:flex;gap:9px;align-items:center}.r14-live-dot{height:7px;width:7px;border-radius:50%;background:#128c83;display:inline-block}.hero-panel .stats{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:0!important;margin:23px 0!important;padding-block:21px!important;border-block:1px solid var(--r14-line)!important}.stats>div{background:transparent!important;border:0!important;border-radius:0!important;box-shadow:none!important;text-align:center!important;padding:3px 7px!important}.stats>div+div{border-inline-start:1px solid var(--r14-line)!important}.stats strong{color:var(--r14-dark)!important;font-size:26px!important;font-weight:700!important}.stats span{color:var(--r14-muted)!important;font-size:11px!important}.verified-note{background:none!important;border:0!important;color:var(--r14-muted)!important;padding:0!important;line-height:1.9!important;font-size:12px!important}.r14-panel-cta{display:block!important;padding:15px 0 0!important;margin-top:14px!important;border-top:1px solid var(--r14-line)!important;color:var(--r14-dark)!important;font-size:12px;text-decoration:none}.r14-panel-cta strong{color:var(--r14-primary)!important;margin-inline-start:6px}
.section{padding:63px 0!important}.section.soft{background:#fff!important}.section-head{margin-bottom:22px!important}.section-head h2,.assistant h2{color:var(--r14-dark)!important;font-weight:700!important;letter-spacing:-.025em!important;font-size:clamp(23px,2.7vw,31px)!important}.section-head span:first-child,.assistant-badge{color:var(--r14-primary)!important;font-size:12px!important;font-weight:700!important;letter-spacing:0!important}.section-head p,.assistant-copy p{color:var(--r14-muted)!important;line-height:2!important;font-size:14px!important}.truth-badge{color:#55707c!important;background:#edf5f4!important;border:1px solid #dbeae7!important;font-size:11px!important;border-radius:5px!important;padding:7px 11px!important}.rail{gap:16px!important;scroll-snap-type:x proximity;overscroll-behavior-inline:contain}.card{min-width:260px!important;max-width:350px!important;background:#fff!important;border:1px solid var(--r14-line)!important;border-radius:12px!important;box-shadow:0 4px 16px rgba(13,37,56,.035)!important;overflow:hidden!important;transform:none!important}.card:hover{box-shadow:0 12px 29px rgba(10,39,50,.09)!important;transform:translateY(-2px)!important;border-color:#bdcfda!important}.card-head,.card-body{background:transparent!important}.card-name{color:var(--r14-dark)!important;font-weight:700!important;font-size:16px!important}.card-type,.card-desc,.meta{color:var(--r14-muted)!important;font-size:12px!important;line-height:1.9!important}.card-footer{border-top:1px solid var(--r14-line)!important}.card-footer a{color:var(--r14-primary)!important;font-weight:700!important}.card-open{background:#e9f6ef!important;color:#216c4d!important}.rating{color:#476176!important}.categories{gap:12px!important}.categories>*{border:1px solid var(--r14-line)!important;border-radius:11px!important;background:#fff!important;box-shadow:none!important}.categories>*:hover{border-color:#a5cbd0!important}.empty{background:transparent!important;border:1px dashed #d5e1e5!important;color:#738292!important;border-radius:11px!important}
.assistant{background:var(--r14-dark)!important;color:#fff!important;padding:65px 0!important;overflow:hidden}.assistant-layout{align-items:center!important;gap:40px!important}.assistant h2{color:#fff!important}.assistant-copy p{color:#b7c7d4!important}.assistant-badge{color:#78d3cc!important}.assistant-box{background:#fff!important;border:0!important;border-radius:13px!important;box-shadow:0 15px 38px rgba(0,0,0,.16)!important;padding:25px!important;color:var(--r14-ink)!important}.assistant-box label{color:var(--r14-dark)!important;font-size:14px!important;font-weight:700!important}.assistant-row{display:flex;gap:8px!important}.assistant-row input{min-width:0!important;border:1px solid var(--r14-line)!important;border-radius:7px!important;background:#fff!important;padding:13px!important}.assistant-row button{border-radius:7px!important;background:var(--r14-primary)!important;color:#fff!important;white-space:nowrap!important;padding:12px 16px!important}.assistant-status{color:var(--r14-muted)!important}
.r14-provider-strip{background:#e9f2f1;border-top:1px solid #dbe7e6;padding:48px 0}.r14-provider-strip-inner{display:flex;align-items:center;justify-content:space-between;gap:30px}.r14-provider-strip h2{font-size:27px;margin:6px 0;color:var(--r14-dark);font-weight:700}.r14-provider-strip p{margin:0;max-width:700px;color:#5d7082;line-height:1.9;font-size:13px}.r14-overline{color:var(--r14-primary);font-size:12px;font-weight:700}.r14-strip-button{white-space:nowrap;text-decoration:none!important;font-size:13px}footer{background:#fff!important;border-top:1px solid var(--r14-line)!important;color:var(--r14-muted)!important}footer .brand strong{color:var(--r14-dark)!important}footer a{color:var(--r14-primary)}
/* Provider wizard & admin: same design language as public site. */
body:has(#wizard),body:has(#list){background:var(--r14-bg)!important}body:has(#wizard) .top,body:has(#list) .top{box-shadow:none!important;min-height:75px;background:#fff;border-bottom:1px solid var(--r14-line)}.r14-brand-logo{height:45px;width:45px;object-fit:contain;border-radius:11px}.intro{text-align:right!important;max-width:1120px!important}.intro h1{font-size:clamp(27px,3.4vw,40px)!important;color:var(--r14-dark)!important;line-height:1.5!important;font-weight:700!important}.intro p{color:var(--r14-muted)!important}.steps,.panel{border:1px solid var(--r14-line)!important;border-radius:13px!important;box-shadow:var(--r14-shadow)!important}.steps{background:#fff!important}.step{border-radius:8px!important}.step.active{background:#e6f2f1!important;color:var(--r14-primary)!important}.step.active span{background:var(--r14-primary)!important}.privacy{background:#f2f7f6!important;border:1px solid #e0ecea!important;border-radius:8px!important}.progress div{background:var(--r14-primary)!important}.page legend{color:var(--r14-dark)!important;font-weight:700!important}.primary{background:var(--r14-primary)!important;border-color:var(--r14-primary)!important}.secondary{border:1px solid var(--r14-line)!important;color:var(--r14-ink)!important;background:#fff!important}.tile{border:1px solid var(--r14-line)!important;background:#fff!important;border-radius:9px!important}.tile:has(input:checked){border-color:var(--r14-primary)!important;background:#f0f8f7!important}.notice{background:#eef6f4!important;border-color:#d7e9e6!important;color:#315d5d!important}.message{background:#eef3f6!important;border:1px solid var(--r14-line)}.review-item{border-radius:9px!important;background:#f7f9fa!important;border:1px solid var(--r14-line)!important}.r14-auth-mode{display:flex;gap:8px;margin:20px 0 8px}.r14-auth-mode button{padding:9px 15px;border:1px solid var(--r14-line);background:#fff;border-radius:7px;color:var(--r14-muted)}.r14-auth-mode .r14-auth-active{background:var(--r14-dark);color:#fff;border-color:var(--r14-dark)}.r14-auth-actions{justify-content:flex-start!important;flex-wrap:wrap!important}.r14-verify-panel{background:#f4f8fa;padding:22px;border:1px solid var(--r14-line);border-radius:10px;margin:16px 0}.r14-verify-panel strong{color:var(--r14-dark)}
@media(max-width:900px){.topbar-inner{min-height:65px!important;display:flex!important;align-items:center!important}.r14-nav-toggle{display:block!important;margin-inline-start:auto}.topbar .nav{display:none!important;position:absolute!important;top:100%;inset-inline:0;background:#fff;border-top:1px solid var(--r14-line);box-shadow:0 18px 28px rgba(21,42,61,.13);padding:18px!important;gap:2px!important;flex-direction:column!important;align-items:stretch!important;max-height:76vh;overflow-y:auto}.topbar .nav.r14-nav-open{display:flex!important}.topbar .nav a{padding:12px!important;width:100%;white-space:normal!important}.topbar .nav .nav-provider{justify-content:center}.hero{padding:45px 0!important}.hero-layout{grid-template-columns:1fr!important;gap:22px!important}.hero h1{font-size:clamp(30px,7vw,45px)!important}.assistant-layout{grid-template-columns:1fr!important}.r14-provider-strip-inner{flex-direction:column;align-items:stretch}.r14-strip-button{width:fit-content}}
@media(max-width:600px){.shell{width:calc(100% - 30px)!important}.hero{padding:33px 0 38px!important}.hero h1{font-size:31px!important;margin:15px 0 11px!important}.hero-copy>p{font-size:13px!important;line-height:1.95!important}.hero .searchbar button{padding:10px 16px!important}.hero .searchbar input{font-size:12px!important;padding:10px!important}.hero-panel{padding:18px!important}.stats strong{font-size:20px!important}.section{padding:42px 0!important}.section-head{align-items:flex-start!important;gap:8px!important}.section-head h2{font-size:23px!important}.assistant{padding:42px 0!important}.assistant-box{padding:17px!important}.assistant-row{flex-direction:column}.assistant-row button{width:100%}.card{min-width:255px!important}.r14-provider-strip h2{font-size:22px}.r14-strip-button{width:100%;justify-content:center}.topbar .brand span{font-size:10px!important}.topbar .brand img{width:42px!important;height:42px!important}body:has(#wizard) main{padding:24px 14px 40px!important}.panel{padding:17px!important}body:has(#wizard) .top{padding:10px 15px!important}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;animation:none!important;transition:none!important}}

.r14-prior-apps{display:grid;gap:9px;margin:18px 0}.r14-prior-apps .review-item{display:flex;gap:12px;align-items:center;justify-content:space-between;flex-wrap:wrap;font-size:12px}.r14-admin-detail{display:grid;gap:9px;padding:14px 0}.r14-admin-detail a{overflow-wrap:anywhere}.r14-admin-detail .actions{flex-wrap:wrap}
/* Self-sufficient layout defaults if older marketplace CSS is unavailable. */
.topbar-inner{display:flex;align-items:center;justify-content:space-between}.topbar .brand{text-decoration:none}.hero-layout{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(280px,.8fr)}.hero .searchbar{display:flex}.hero-panel .stats{display:grid}.section-head{display:flex;justify-content:space-between;align-items:center;gap:20px}.section-head h2{margin:7px 0}.rail{display:flex;overflow-x:auto;padding:6px 3px 17px;scrollbar-width:thin}.rail>*{flex:0 0 310px}.categories{display:grid;grid-template-columns:repeat(auto-fit,minmax(165px,1fr))}.categories>*{padding:18px}.card{display:flex;flex-direction:column}.card-head,.card-body{padding:16px}.card-footer{display:flex;justify-content:space-between;align-items:center;gap:15px;margin-top:15px;padding-top:13px}.assistant-layout{display:grid;grid-template-columns:minmax(0,.82fr) minmax(0,1fr)}.assistant-row{display:flex;gap:7px}.assistant-row input{flex:1}.assistant-box form,.assistant-box input,.hero .searchbar input{min-width:0}.footer{display:flex;justify-content:space-between;align-items:center;gap:12px;padding-block:28px}.footer .brand{display:flex;align-items:center;gap:12px}.footer img{width:47px;height:47px;object-fit:contain}.footer strong,.footer .brand span{display:block}.card-desc{margin:12px 0;line-height:1.85}
@media(max-width:900px){.assistant-layout{grid-template-columns:1fr}.topbar .nav{z-index:200}}
@media(max-width:600px){.footer{flex-direction:column;align-items:flex-start}.categories{grid-template-columns:repeat(2,minmax(0,1fr))}.section-head{align-items:start}}
/* Final viewport overrides must follow the layout fallback above. */
@media(max-width:900px){.hero-layout,.assistant-layout{grid-template-columns:minmax(0,1fr)!important}.hero-copy,.hero-panel,.assistant-box,.assistant-copy{min-width:0!important}.hero .searchbar,.assistant-row{max-width:100%!important}}
@media(max-width:600px){.hero h1,.assistant h2,.assistant-copy p,.hero-copy>p{overflow-wrap:anywhere}.section-head h2{max-width:100%}.hero-panel .stats>div{min-width:0;padding:0 3px!important}.hero-panel .stats span{font-size:10px!important}.hero .searchbar input{width:100%!important}.topbar .brand strong{font-size:15px!important}.topbar .brand span{display:block!important}}
/* High-contrast form controls and status language. */
body:has(#wizard) .help,body:has(#list) .help{color:#536679!important}body:has(#wizard) .message{color:#42566b!important}body:has(#wizard) label:not(.checkbox):not(.tile),body:has(#list) label{color:#244158!important}body:has(#wizard) .step:not(.active){color:#516779!important}body:has(#wizard) input:not([type=radio]):not([type=checkbox]),body:has(#wizard) textarea,body:has(#wizard) select{color:#213c54!important;border:1px solid #cad9df!important;background:#fff!important}body:has(#wizard) input::placeholder{color:#7c8e9c!important}
