/* Sadara Jamaah Portal — clarity-first UI for 40+ users. Public portal only. */
:root{--jm-green:#116b24;--jm-green2:#17852d;--jm-green-soft:#edf8ef;--jm-ink:#17221a;--jm-muted:#5c685f;--jm-line:#d8e2d8;--jm-bg:#f4f7f2;--jm-white:#fff;--jm-gold:#8a6515;--jm-warn:#9a5e00;--jm-danger:#a12d2d;--jm-shadow:0 14px 36px rgba(24,67,29,.08)}
html{scroll-padding-top:96px}body:not(.adminbody){font-size:17px;line-height:1.62;background:var(--jm-bg);color:var(--jm-ink)}body:not(.adminbody) .wrap{width:min(100% - 28px,1080px)}
body:not(.adminbody) .topbar{background:rgba(255,255,255,.98);border-color:var(--jm-line);box-shadow:0 4px 18px rgba(20,61,27,.04)}body:not(.adminbody) .topin{min-height:82px}body:not(.adminbody) .brand{gap:12px}body:not(.adminbody) .brand img{width:96px;height:54px}body:not(.adminbody) .brand b{font-size:16px;line-height:1.25}body:not(.adminbody) .brand small{font-size:12px;color:var(--jm-muted);margin-top:3px}
body:not(.adminbody) .btn{min-height:52px;padding:12px 19px;border-radius:14px;font-size:15px;font-weight:800;letter-spacing:0}body:not(.adminbody) .btn-primary{background:var(--jm-green2);box-shadow:0 9px 20px rgba(23,133,45,.18)}body:not(.adminbody) .btn-soft{background:var(--jm-green-soft);border-color:#cce4d0;color:#0d5d1d}body:not(.adminbody) .btn-ghost{border-color:var(--jm-line);color:#3e4b41}
.portal-hero{padding:28px 0 18px;background:linear-gradient(180deg,#f8fff8 0,#f4f7f2 100%)}.portal-welcome{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(280px,.8fr);gap:18px;align-items:stretch}.welcome-card{background:#fff;border:1px solid var(--jm-line);border-radius:24px;padding:26px;box-shadow:var(--jm-shadow)}.welcome-card .salam{font-size:14px;font-weight:800;color:var(--jm-green2);margin-bottom:4px}.welcome-card h1{font-size:clamp(30px,5vw,44px);line-height:1.14;letter-spacing:-.025em;margin:0 0 10px}.welcome-card p{font-size:17px;color:var(--jm-muted);margin:0;max-width:680px}.readiness-card{background:linear-gradient(145deg,#0d5d20,#17852d);color:#fff;border-radius:24px;padding:24px;display:flex;flex-direction:column;justify-content:center;box-shadow:0 18px 42px rgba(15,99,34,.16)}.readiness-label{font-size:14px;font-weight:750;color:#ddf5e1}.readiness-number{display:flex;align-items:baseline;gap:4px;margin:3px 0 8px}.readiness-number strong{font-size:46px;line-height:1}.readiness-number span{font-size:22px;font-weight:800}.readiness-card .progress{height:14px;background:rgba(255,255,255,.2)}.readiness-card .progressmeta{font-size:13px;margin-top:10px;display:block}.readiness-card .progressmeta b{display:block;color:#fff;font-size:15px}.readiness-card .progressmeta span{display:block;color:#d9f1de;margin-top:2px}
.portal-nav{display:flex;gap:8px;overflow:auto;padding:14px 0 2px;scrollbar-width:none}.portal-nav::-webkit-scrollbar{display:none}.portal-nav a{flex:0 0 auto;min-height:46px;display:inline-flex;align-items:center;padding:10px 15px;border:1px solid var(--jm-line);background:#fff;border-radius:13px;font-size:14px;font-weight:800;color:#3d4d40}.portal-nav a:first-child{background:var(--jm-green-soft);border-color:#c9dfcd;color:#0e5c1e}
body:not(.adminbody) .main{padding:16px 0 100px}.portal-stack{display:grid;gap:16px}.announce-modern{background:#fff7dc;border:1px solid #ead18a;border-left:6px solid #c8951c;border-radius:18px;padding:17px 18px}.announce-modern b{display:block;font-size:18px;color:#5c450d}.announce-modern span{display:block;color:#6e5a28;font-size:14px;margin-bottom:2px;font-weight:800}
.action-card{background:#fff;border:2px solid #b8d9bd;border-radius:24px;padding:24px;box-shadow:var(--jm-shadow);display:grid;grid-template-columns:58px minmax(0,1fr) auto;gap:17px;align-items:center}.action-icon{width:58px;height:58px;border-radius:18px;background:var(--jm-green-soft);display:grid;place-items:center;color:var(--jm-green);font-size:26px;font-weight:900}.action-copy .overline{font-size:13px;font-weight:900;color:var(--jm-green);text-transform:uppercase;letter-spacing:.04em}.action-copy h2{font-size:24px;line-height:1.25;margin:2px 0 5px}.action-copy p{font-size:16px;color:var(--jm-muted);margin:0}.action-buttons{display:flex;gap:8px;flex-wrap:wrap;justify-content:flex-end}
.status-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:12px}.status-card{background:#fff;border:1px solid var(--jm-line);border-radius:20px;padding:18px;min-height:138px;display:flex;flex-direction:column;justify-content:space-between}.status-card .status-icon{width:42px;height:42px;border-radius:13px;background:#f0f6ef;display:grid;place-items:center;font-size:20px}.status-card small{font-size:13px;color:var(--jm-muted);display:block;margin-top:12px}.status-card b{font-size:18px;line-height:1.3;display:block;margin-top:2px}.status-card em{font-size:13px;font-style:normal;color:var(--jm-green);font-weight:800;margin-top:7px}
body:not(.adminbody) .panel{border-radius:22px;border-color:var(--jm-line);padding:23px;box-shadow:var(--jm-shadow)}body:not(.adminbody) .panel h2{font-size:25px;line-height:1.25;margin:0 0 5px}body:not(.adminbody) .panel p{font-size:16px;color:var(--jm-muted)}body:not(.adminbody) .section-head{margin-bottom:18px;align-items:center}.section-heading-note{font-size:14px;color:var(--jm-muted);margin:0}.section-actions{display:flex;gap:8px;flex-wrap:wrap}
.summary-grid{gap:12px;margin-top:16px}.summary{padding:16px;border-radius:16px;background:#f8faf7;border-color:var(--jm-line)}.summary small{font-size:12px;color:var(--jm-muted);letter-spacing:0;text-transform:none}.summary b{font-size:16px;line-height:1.4;margin-top:4px}
.timeline{gap:10px}.step{grid-template-columns:48px minmax(0,1fr) auto;gap:14px;padding:14px;border-radius:16px}.stepnum{width:48px;height:48px;border-radius:15px;font-size:17px}.step b{font-size:16px}.step div>span{font-size:13px;color:var(--jm-muted);display:block;margin-top:2px}.badge{padding:7px 10px;border-radius:10px;font-size:12px;letter-spacing:0}.badge.ok{background:#e4f5e7;color:#0b641c}.badge.warn{background:#fff0cf;color:#7b4f00}.badge.info{background:#e8f1ff;color:#174d83}.badge.muted{background:#eef1ed;color:#5f6961}
.doclist,.manasik-list{gap:12px}.doc,.manasik{padding:17px;border-radius:17px;border-color:var(--jm-line)}.doc b,.manasik b{font-size:17px;line-height:1.35}.doc small,.manasik small{font-size:14px;color:var(--jm-muted);line-height:1.5;margin-top:5px}.note{font-size:14px;padding:12px 13px;border-radius:12px;background:#fff8e5;color:#604d1c}.schedule{font-size:14px;color:#48564b;gap:9px}.trip-grid{gap:11px}.trip{padding:16px;border-radius:16px;border-color:var(--jm-line);background:#f8faf7}.trip small{font-size:12px;text-transform:none;letter-spacing:0;color:var(--jm-muted)}.trip b{font-size:16px;line-height:1.4;margin-top:4px}
.contact{background:linear-gradient(145deg,#0d5d20,#17852d);padding:25px}.contact h2{color:#fff}.contact p{color:#e3f1e6!important;font-size:16px!important}.contact .eyebrow{font-size:13px!important}.contact .btn{background:#fff;color:#0d5d1d}
.help-strip{display:grid;grid-template-columns:1fr auto;gap:16px;align-items:center;background:#eff8ef;border:1px solid #cde4d0;border-radius:20px;padding:18px 20px}.help-strip b{font-size:18px}.help-strip span{display:block;font-size:14px;color:var(--jm-muted);margin-top:2px}
body:not(.adminbody) .mobilebar{grid-template-columns:1fr 1.25fr;gap:8px;padding:8px;border-radius:18px;border-color:var(--jm-line)}body:not(.adminbody) .mobilebar .btn{min-height:54px;font-size:14px}
/* Login */
.loginbody{font-size:17px;background:linear-gradient(180deg,#f8fff8,#eef4ec)}.loginbox{width:min(100%,500px);border-radius:26px;padding:28px;border-color:var(--jm-line)}.loginbrand img{width:136px;height:78px}.loginbox h1{font-size:32px;margin:10px 0 7px}.loginbox>p{font-size:16px;line-height:1.55;color:var(--jm-muted);margin-bottom:22px}.loginbox .field{gap:8px;margin-bottom:15px}.loginbox .field label{font-size:15px}.loginbox .field input{min-height:56px;border-radius:14px;padding:13px 14px;font-size:17px}.loginbox .btn{min-height:56px;font-size:16px}.loginbox .help{font-size:14px;line-height:1.55;margin-top:18px}.loginbox .error{font-size:14px;line-height:1.5;padding:13px}
/* Document Vault public page */
body:not(.adminbody) .docvault-hero{grid-template-columns:minmax(0,1fr) 310px;border-radius:24px;padding:25px}.docvault-hero h1{font-size:34px;line-height:1.2}.docvault-hero p{font-size:16px}.vault-safety span{font-size:14px}.vault-top b{font-size:18px}.vault-top small{font-size:14px}.vault-meta{font-size:13px;padding:11px 12px}.vault-upload label>span{font-size:14px}.vault-upload input[type=file]{font-size:14px;padding:13px}.history summary,.history-row{font-size:13px}.history-row small{font-size:12px}.vault-item{padding:18px;border-radius:18px}
@media(max-width:900px){.portal-welcome{grid-template-columns:1fr}.status-grid{grid-template-columns:1fr 1fr}.action-card{grid-template-columns:52px minmax(0,1fr)}.action-buttons{grid-column:1/-1;justify-content:flex-start}.docvault-hero{grid-template-columns:1fr!important}}
@media(max-width:620px){body:not(.adminbody){font-size:17px}.topin{min-height:72px!important}.brand img{width:84px!important}.brand b{font-size:15px!important}.topactions .btn-ghost{min-height:46px;padding:9px 12px;font-size:13px}.portal-hero{padding-top:18px}.welcome-card,.readiness-card{padding:20px;border-radius:20px}.welcome-card h1{font-size:30px}.welcome-card p{font-size:16px}.readiness-number strong{font-size:42px}.action-card{padding:19px;gap:13px;border-radius:20px}.action-icon{width:50px;height:50px}.action-copy h2{font-size:21px}.action-copy p{font-size:15px}.action-buttons{display:grid;grid-template-columns:1fr;width:100%}.status-grid{grid-template-columns:1fr 1fr;gap:9px}.status-card{min-height:128px;padding:15px}.status-card b{font-size:16px}.status-card small{font-size:12px}.panel{padding:19px!important}.panel h2{font-size:22px!important}.section-head{align-items:flex-start!important;flex-direction:column}.summary-grid{grid-template-columns:1fr 1fr}.step{grid-template-columns:46px minmax(0,1fr);align-items:start}.step>.badge{grid-column:2;justify-self:start}.doctop,.manasik-top{flex-direction:column}.trip-grid{grid-template-columns:1fr!important}.help-strip{grid-template-columns:1fr}.help-strip .btn{width:100%}.docvault-hero h1{font-size:28px}.vault-top{flex-direction:column}.vault-upload{flex-direction:column;align-items:stretch}}
@media(max-width:390px){.status-grid,.summary-grid{grid-template-columns:1fr}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}
