/* Stable Solutions 2.0 — components added on top of the Alma design system:
   forms, alerts, login, company portal, staff workspace, report verification,
   partner logos. Same language as Alma: 2px radius, hairlines, Fustat/Zain. */

/* ---------- alerts ---------- */
.stb-alert{display:flex;align-items:center;flex-wrap:wrap;gap:10px;margin:0 0 18px;padding:13px 16px;border:1px solid var(--stb-line);border-inline-start:3px solid var(--stb-accent);border-radius:2px;background:#fff;color:var(--stb-ink);font-size:16px;line-height:1.6}
.stb-alert svg{flex:0 0 auto;width:18px;height:18px}
.stb-alert a{color:var(--stb-primary);text-decoration:underline;font-weight:600}
.stb-alert--ok{border-color:#b6e0c2;border-inline-start-color:#16a34a;background:#f0faf3;color:#0a5a22}
.stb-alert--error,.stb-alert--err{border-color:#f5c6c2;border-inline-start-color:#dc2626;background:#fdf1f0;color:#8f1f1f}
.stb-alert--info{background:#f3f9fd}

/* ---------- forms ---------- */
.stb-hp{position:absolute!important;left:-9999px;width:1px;height:1px;overflow:hidden}
.stb-form__grid{display:grid;grid-template-columns:1fr 1fr;gap:16px 18px;margin-bottom:22px}
.stb-field{display:flex;flex-direction:column;gap:7px;min-width:0}
.stb-field--full{grid-column:1/-1}
.stb-field__label{font-family:var(--stb-heading);font-weight:600;font-size:14.5px;color:var(--stb-primary)}
.stb-field__label b{color:var(--stb-accent)}
.stb-form input[type=text],.stb-form input[type=email],.stb-form input[type=tel],.stb-form input[type=number],.stb-form select,.stb-form textarea,
.stb-auth form input[type=text],.stb-auth form input[type=password],.stb-auth form input[type=email],
.stb-ws-search input[type=search],
.stb-verify input{width:100%;min-height:48px;padding:10px 14px;border:1px solid #cfd8e1;border-radius:2px;background:#fbfcfd;color:var(--stb-ink);font:500 16px/1.4 var(--stb-body);transition:border-color .2s,box-shadow .2s,background-color .2s}
.stb-form textarea{min-height:130px;resize:vertical}
.stb-form input:focus,.stb-form select:focus,.stb-form textarea:focus,.stb-auth form input:focus,.stb-ws-search input:focus,.stb-verify input:focus{outline:0;border-color:var(--stb-accent);background:#fff;box-shadow:0 0 0 3px rgba(40,163,220,.14)}
.stb-checks{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
.stb-check{display:flex;align-items:center;gap:10px;padding:10px 12px;border:1px solid #dde5ec;border-radius:2px;background:#fbfcfd;cursor:pointer;font-size:15.5px;line-height:1.35;transition:border-color .2s,background-color .2s}
.stb-check input{flex:0 0 auto;width:17px;height:17px;accent-color:var(--stb-accent)}
.stb-check:hover,.stb-check:has(input:checked){border-color:var(--stb-accent);background:#f1f8fc}
.stb-form .stb-btn{min-height:50px;padding-inline:30px;cursor:pointer}
.stb-form .stb-btn svg{width:16px;height:16px}

/* contact form section */
.stb-formsec{padding:88px 0;background:#fff;direction:rtl;border-top:1px solid var(--stb-line)}
.stb-formsec__grid{display:grid;grid-template-columns:.8fr 1.2fr;gap:70px;align-items:start}
.stb-formsec__intro{position:sticky;top:120px}
.stb-formsec__intro h2,.stb-auth__side h2,.stb-report__card h2{margin:0 0 14px;font:600 clamp(28px,3vw,42px)/1.18 var(--stb-heading);color:var(--stb-primary);letter-spacing:-.02em}
.stb-formsec__intro p,.stb-auth__side p{color:var(--stb-muted);font-size:18px;line-height:1.8;margin:0 0 22px}
.stb-formsec__points{list-style:none;margin:0;padding:0;display:grid;gap:11px}
.stb-formsec__points li{display:flex;align-items:flex-start;gap:10px;font-size:16.5px;line-height:1.5;color:var(--stb-ink)}
.stb-formsec__points svg{flex:0 0 auto;width:18px;height:18px;margin-top:3px;color:var(--stb-accent)}
.stb-formsec__form{background:var(--stb-paper);border:1px solid var(--stb-line);padding:34px}
.quote-layout .stb-formsec__points{margin-top:28px}

/* ---------- auth (login / portal guest / staff guest) ---------- */
.stb-auth{padding:72px 0 90px;background:var(--stb-paper);direction:rtl}
.stb-auth__signed{justify-content:space-between;margin-bottom:28px}
.stb-auth__signed .stb-btn{min-height:40px;padding:0 18px}
.stb-auth__tabs{display:none;margin:0 0 18px;border:1px solid var(--stb-line);background:#fff}
.stb-auth__tabs a{flex:1 1 0;display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:50px;font:600 15px/1 var(--stb-heading);color:var(--stb-muted)}
.stb-auth__tabs a.is-active{background:var(--stb-primary);color:#fff}
.stb-auth__grid{display:grid;grid-template-columns:1fr 1fr;gap:22px;align-items:stretch}
.stb-auth__grid--one{grid-template-columns:minmax(0,560px);justify-content:center}
.stb-auth__card{position:relative;background:#fff;border:1px solid var(--stb-line);padding:34px 32px 28px;display:flex;flex-direction:column}
.stb-auth__card::before{content:"";position:absolute;inset:0 0 auto 0;height:3px;background:var(--stb-accent);transform:scaleX(0);transform-origin:right;transition:transform .5s var(--a-ease)}
.stb-auth__card.is-active::before,.stb-auth__card:hover::before{transform:scaleX(1)}
.stb-auth__card header{display:flex;align-items:center;gap:16px;margin-bottom:16px}
.stb-auth__card header .eyebrow{margin:0 0 2px;font-size:12px;letter-spacing:.16em}
.stb-auth__card h2{margin:0;font:600 26px/1.2 var(--stb-heading);color:var(--stb-primary)}
.stb-auth__card>p{margin:0 0 20px;color:var(--stb-muted);font-size:16.5px;line-height:1.7}
.stb-auth__ico{flex:0 0 auto;display:grid;place-items:center;width:54px;height:54px;border:1px solid var(--stb-line);background:#f1f8fc;color:var(--stb-accent)}
.stb-auth__ico svg{width:26px;height:26px;stroke-width:1.5;fill:none;stroke:currentColor}
.stb-auth form p{margin:0 0 14px}
.stb-auth form label{display:block;margin-bottom:6px;font:600 14.5px var(--stb-heading);color:var(--stb-primary)}
.stb-auth form .login-remember label{display:inline-flex;align-items:center;gap:8px;font-weight:500;color:var(--stb-ink)}
.stb-auth form .login-remember input{width:17px;height:17px;accent-color:var(--stb-accent)}
.stb-auth form .login-submit{margin:18px 0 0}
.stb-auth form input[type=submit]{width:100%;min-height:50px;border:1px solid var(--stb-primary);border-radius:2px;background:var(--stb-primary);color:#fff;font:600 16px/1 var(--stb-heading);cursor:pointer;transition:background-color .25s,border-color .25s,box-shadow .25s}
.stb-auth form input[type=submit]:hover{background:var(--stb-accent);border-color:var(--stb-accent);box-shadow:0 8px 20px rgba(2,27,49,.16)}
.stb-auth__note{margin:auto 0 0!important;padding-top:16px;border-top:1px solid #edf1f4;font-size:15px;color:var(--stb-muted)}
.stb-auth__note a{color:var(--stb-primary);font-weight:600;text-decoration:underline}
.stb-auth__side{padding:34px 32px;border:1px solid var(--stb-line);background:var(--stb-primary);color:#fff}
.stb-auth__side h2{color:#fff}.stb-auth__side p,.stb-auth__side .stb-auth__note{color:rgba(255,255,255,.75)}
.stb-auth__side .stb-formsec__points li{color:#fff}.stb-auth__side .stb-auth__note{border-top-color:rgba(255,255,255,.14);margin-top:26px!important}
.stb-auth__side .stb-auth__note a{color:#fff}
.stb-auth__verify{display:grid;grid-template-columns:1fr 1.1fr;gap:34px;align-items:center;margin-top:22px;padding:30px 32px;background:var(--stb-primary);color:#fff}
.stb-auth__verify .eyebrow{color:#6ec1e7;margin-bottom:6px}
.stb-auth__verify h3{margin:0 0 6px;font:600 24px/1.25 var(--stb-heading)}
.stb-auth__verify p{margin:0;color:rgba(255,255,255,.72);font-size:16px}

/* ---------- verify form ---------- */
.stb-verify{display:flex;align-items:stretch;gap:0;position:relative}
.stb-verify__ico{position:absolute;inset-inline-start:14px;top:50%;transform:translateY(-50%);color:var(--stb-accent);pointer-events:none}
.stb-verify__ico svg{width:20px;height:20px}
.stb-verify input{min-height:54px;padding-inline-start:44px;font-family:var(--stb-heading);letter-spacing:.06em;border-inline-end:0}
.stb-verify .stb-btn{flex:0 0 auto;min-height:54px;padding-inline:26px;border-radius:0 2px 2px 0;cursor:pointer}
.stb-auth__verify .stb-verify input{background:#fff;border-color:#fff}

/* ---------- report verification page ---------- */
.stb-report{padding:72px 0 90px;background:var(--stb-paper);direction:rtl}
.stb-report__grid{display:grid;grid-template-columns:1.35fr .65fr;gap:22px;align-items:start}
.stb-report__main{display:grid;gap:22px}
.stb-report__card{background:#fff;border:1px solid var(--stb-line);padding:38px 36px}
.stb-report__card>p{color:var(--stb-muted);font-size:17px;margin:0 0 22px}
.stb-report__side{display:grid;gap:22px}
.stb-report__tile{background:#fff;border:1px solid var(--stb-line);padding:28px}
.stb-report__tile h3{margin:14px 0 8px;font:600 22px/1.2 var(--stb-heading);color:var(--stb-primary)}
.stb-report__tile p{margin:0 0 18px;color:var(--stb-muted);font-size:16px}
.stb-report__tile .stb-btn{width:100%}
.stb-report__tile:first-child{background:var(--stb-primary);border-color:var(--stb-primary)}
.stb-report__tile:first-child h3{color:#fff}.stb-report__tile:first-child p{color:rgba(255,255,255,.74)}

/* ---------- header login icon + drawer account ---------- */
.stb-header__login.is-in{color:#6ec1e7}
.stb-drawer__account{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:0 0 12px}
.stb-drawer__account a{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:46px;border:1px solid rgba(255,255,255,.2);border-radius:2px;color:#fff;font:600 14px/1 var(--stb-heading)}
.stb-drawer__account svg{width:17px;height:17px}

/* ---------- partner logos (trusted strip) ---------- */
.stb-trusted--logos{padding:58px 0;overflow:hidden}
.stb-trusted-marquee{position:relative;overflow:hidden;mask-image:linear-gradient(90deg,transparent,#000 10%,#000 90%,transparent);-webkit-mask-image:linear-gradient(90deg,transparent,#000 10%,#000 90%,transparent)}
.stb-trusted-marquee__track{display:flex;align-items:center;gap:18px;width:max-content;animation:stb-marquee 38s linear infinite;direction:ltr}
.stb-trusted-marquee:hover .stb-trusted-marquee__track{animation-play-state:paused}
.stb-trusted-logo{display:grid;place-items:center;flex:0 0 auto;width:170px;height:88px;padding:14px 20px;background:#fff;border-radius:2px}
.stb-trusted-logo img{max-width:100%;max-height:58px;width:auto;height:auto;object-fit:contain;filter:grayscale(1);opacity:.85;transition:filter .3s,opacity .3s}
.stb-trusted-logo:hover img{filter:none;opacity:1}
.stb-about-partners{background:var(--stb-primary)}

/* ---------- staff workspace + company portal shell ---------- */
.stb-ws{background:var(--stb-paper);direction:rtl;min-height:70vh}
.stb-ws__hero{position:relative;isolation:isolate;overflow:hidden;background:#031422;color:#fff;padding:140px 0 0}
.stb-ws__hero::before{content:"";position:absolute;inset:0;z-index:-2;background:radial-gradient(120% 150% at 92% 0%,rgba(40,163,220,.26) 0%,rgba(3,20,34,0) 55%)}
.stb-ws__hero-inner{display:flex;align-items:flex-end;justify-content:space-between;gap:28px;flex-wrap:wrap;padding-bottom:30px}
.stb-ws__hello h1{margin:0 0 6px;font:700 clamp(28px,3.4vw,46px)/1.15 var(--stb-heading);color:#fff}
.stb-ws__hello p{margin:0;color:rgba(255,255,255,.7);font-size:16.5px}
.stb-ws__cta{display:flex;flex-wrap:wrap;gap:10px}
.stb-ws__cta svg{width:17px;height:17px}
.stb-ws__tabs{display:flex;align-items:stretch;gap:2px;overflow-x:auto;scrollbar-width:none;border-top:1px solid rgba(255,255,255,.12)}
.stb-ws__tabs::-webkit-scrollbar{display:none}
.stb-ws__tabs a{position:relative;display:inline-flex;align-items:center;gap:8px;flex:0 0 auto;min-height:56px;padding:0 18px;color:rgba(255,255,255,.72);font:600 15px/1 var(--stb-heading);transition:color .2s,background-color .2s}
.stb-ws__tabs a::after{content:"";position:absolute;inset:auto 0 0 0;height:3px;background:var(--stb-accent);transform:scaleX(0);transition:transform .35s var(--a-ease)}
.stb-ws__tabs a:hover{color:#fff;background:rgba(255,255,255,.05)}
.stb-ws__tabs a.is-active{color:#fff}.stb-ws__tabs a.is-active::after{transform:scaleX(1)}
.stb-ws__tabs a b{display:grid;place-items:center;min-width:22px;height:22px;padding:0 6px;border-radius:11px;background:#f59e0b;color:#1a1300;font-size:12px}
.stb-ws__tabs svg{width:17px;height:17px}
.stb-ws__tabs .stb-ws__logout{margin-inline-start:auto;color:rgba(255,255,255,.55)}
.stb-ws__body{padding:34px 0 90px}
.stb-ws-search{position:relative;display:flex;gap:0;margin-bottom:22px;background:#fff;border:1px solid var(--stb-line);padding:8px}
.stb-ws-search__ico{position:absolute;inset-inline-start:24px;top:50%;transform:translateY(-50%);color:var(--stb-accent)}
.stb-ws-search input[type=search]{border:0!important;background:transparent!important;box-shadow:none!important;padding-inline-start:44px;min-height:52px;font-size:17px}
.stb-ws-search .stb-btn{min-height:52px;padding-inline:30px;cursor:pointer}
.stb-ws-stats{list-style:none;margin:0 0 22px;padding:0;display:grid;grid-template-columns:repeat(auto-fit,minmax(170px,1fr));gap:12px}
.stb-ws-stats li,.stb-ws-stats a{display:grid;gap:4px;align-content:start}
.stb-ws-stats li{position:relative;background:#fff;border:1px solid var(--stb-line);padding:20px 22px}
.stb-ws-stats a{color:inherit}
.stb-ws-stats__ico{display:grid;place-items:center;width:40px;height:40px;margin-bottom:8px;background:#f1f8fc;color:var(--stb-accent)}
.stb-ws-stats strong{font:600 36px/1 var(--stb-heading);color:var(--stb-primary)}
.stb-ws-stats span:last-child{color:var(--stb-muted);font-size:15px}
.stb-ws-grid{display:grid;grid-template-columns:1fr 300px;gap:22px;align-items:start}
.stb-ws-box{background:#fff;border:1px solid var(--stb-line);padding:26px 26px 22px;min-width:0}
.stb-ws-box__head{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap;margin:0 0 18px;padding-bottom:14px;border-bottom:1px solid #edf1f4}
.stb-ws-box__head h2{margin:0;font:600 22px/1.2 var(--stb-heading);color:var(--stb-primary)}
.stb-ws-box__head h2 small{display:inline-grid;place-items:center;min-width:30px;height:26px;margin-inline-start:8px;padding:0 8px;background:#f1f8fc;color:var(--stb-accent);font-size:14px;vertical-align:middle}
.stb-ws-box__head a{display:inline-flex;align-items:center;gap:7px;color:var(--stb-primary);font:600 14.5px var(--stb-heading);border-bottom:1px solid var(--stb-accent);padding-bottom:3px}
.stb-ws-box__head svg{width:16px;height:16px}
.stb-ws-hint{margin:-4px 0 18px;color:var(--stb-muted);font-size:15.5px}
.stb-ws-empty{margin:0;padding:34px 0;text-align:center;color:var(--stb-muted)}
.stb-ws-links{list-style:none;margin:0;padding:0;display:grid;gap:8px}
.stb-ws-links a{display:flex;align-items:center;gap:12px;padding:12px 14px;border:1px solid #e6edf2;color:var(--stb-primary);font:600 15px/1.2 var(--stb-heading);transition:border-color .2s,background-color .2s}
.stb-ws-links a:hover{border-color:var(--stb-accent);background:#f6fbfe}
.stb-ws-links svg{flex:0 0 auto;width:19px;height:19px;color:var(--stb-accent);fill:none;stroke:currentColor;stroke-width:1.6}
.stb-ws-links small{margin-inline-start:auto;color:var(--stb-muted);font:500 12px var(--stb-body)}
.stb-ws-table-wrap{overflow-x:auto}
.stb-ws-table{width:100%;border-collapse:collapse;font-size:15.5px}
.stb-ws-table th{padding:10px 12px;text-align:right;background:var(--stb-paper);color:var(--stb-muted);font:600 13.5px var(--stb-heading);white-space:nowrap;border-bottom:1px solid var(--stb-line)}
.stb-ws-table td{padding:13px 12px;border-bottom:1px solid #edf1f4;vertical-align:middle}
.stb-ws-table tr:hover td{background:#fafcfd}
.stb-ws-table td strong{display:block;color:var(--stb-primary);font-family:var(--stb-heading);font-weight:600}
.stb-ws-table td small{display:block;color:var(--stb-muted);font-size:13px}
.stb-ws-table code{font:600 13px/1 ui-monospace,Menlo,monospace;color:var(--stb-primary);background:#f1f5f8;padding:4px 7px}
.stb-ws-actions{white-space:nowrap}
.stb-ws-actions,.stb-ws-wf{display:flex;flex-wrap:wrap;gap:6px;justify-content:flex-end}
.stb-ws-act{display:inline-flex;align-items:center;gap:6px;min-height:34px;padding:0 11px;border:1px solid #d6e1ea;border-radius:2px;background:#fff;color:var(--stb-primary);font:600 13px/1 var(--stb-heading);transition:border-color .2s,background-color .2s,color .2s}
.stb-ws-act svg{width:15px;height:15px}
.stb-ws-act:hover{border-color:var(--stb-accent);color:var(--stb-accent)}
.stb-ws-act.is-primary{background:var(--stb-primary);border-color:var(--stb-primary);color:#fff}
.stb-ws-act.is-primary:hover{background:var(--stb-accent);border-color:var(--stb-accent);color:#fff}
.stb-ws-badge{display:inline-flex;align-items:center;gap:6px;padding:5px 10px;border:1px solid currentColor;border-radius:2px;font:600 12.5px/1 var(--stb-heading);white-space:nowrap}
.stb-ws-badge::before{content:"";width:6px;height:6px;border-radius:50%;background:currentColor}
.stb-ws-badge--draft{color:#64748b}.stb-ws-badge--review{color:#b45309}.stb-ws-badge--approved{color:#15803d}.stb-ws-badge--rejected{color:#b91c1c}
.stb-ws-filters{display:grid;grid-template-columns:2fr 1.2fr 1fr 1fr 1fr auto;gap:10px;align-items:end;margin:0 0 20px}
.stb-ws-f{display:flex;flex-direction:column;gap:6px;min-width:0}
.stb-ws-f>span{font:600 13px var(--stb-heading);color:var(--stb-muted)}
.stb-ws-f input,.stb-ws-f select{min-height:46px!important}
.stb-ws-f--btns{flex-direction:row;align-items:center;gap:12px}
.stb-ws-f--btns .stb-btn{min-height:46px;cursor:pointer}
.stb-ws-reset{color:var(--stb-muted);font-size:14.5px;text-decoration:underline}
.stb-ws-pager{display:flex;flex-wrap:wrap;gap:6px;justify-content:center;margin-top:22px}
.stb-ws-pager a,.stb-ws-pager span{display:grid;place-items:center;min-width:40px;height:40px;padding:0 8px;border:1px solid var(--stb-line);background:#fff;color:var(--stb-primary);font:600 14px var(--stb-heading)}
.stb-ws-pager a.is-current{background:var(--stb-primary);border-color:var(--stb-primary);color:#fff}
.stb-ws-pager span{border:0;background:none}

/* plugin front-end report form inside the workspace */
.stb-ws-new .medr-fe{max-width:none!important;font-family:var(--stb-body)!important}
.stb-ws .medr-fe .medr-card{border:1px solid var(--stb-line)!important;border-top:3px solid var(--stb-accent)!important;border-radius:2px!important;box-shadow:none!important;padding:24px!important}
.stb-ws .medr-fe h3{font-family:var(--stb-heading)!important;color:var(--stb-primary)!important}
.stb-ws .medr-fe .grp-title{border-radius:0!important;background:var(--stb-primary)!important;font-family:var(--stb-heading)}
.stb-ws .medr-fe input,.stb-ws .medr-fe select,.stb-ws .medr-fe textarea{border-radius:2px!important;min-height:46px;font-family:var(--stb-body)!important;font-size:16px!important}
.stb-ws .medr-fe label{font-family:var(--stb-heading)!important;font-weight:600!important;color:var(--stb-primary)!important}
.stb-ws .medr-fe button.go{border-radius:2px!important;background:var(--stb-primary)!important;font-family:var(--stb-heading)!important;min-height:50px}
.stb-ws .medr-fe button.go:hover{background:var(--stb-accent)!important}
.stb-ws .medr-fe .att-add{border-radius:2px!important}
.stb-ws .medr-fe .medr-fe-msg{border-radius:2px!important}

/* company portal (plugin shortcode) inside the theme */
.stb-portal-body .medr-portal{font-family:var(--stb-body)!important;max-width:none!important;margin:0!important}
.stb-portal-body .medr-portal [class*="medr-cp-card"]{border-radius:2px!important;border-color:var(--stb-line)!important;box-shadow:none!important}
.stb-portal-body .medr-portal h1,.stb-portal-body .medr-portal h2,.stb-portal-body .medr-portal h3{font-family:var(--stb-heading)!important;color:var(--stb-primary)}
.stb-portal-body .medr-portal input,.stb-portal-body .medr-portal select,.stb-portal-body .medr-portal button,.stb-portal-body .medr-portal .button{border-radius:2px!important;font-family:var(--stb-heading)}
.stb-portal-body .medr-portal table{font-size:15px}

/* ---------- responsive ---------- */
@media (max-width:1024px){
  .stb-ws-grid,.stb-report__grid{grid-template-columns:1fr}
  .stb-ws-filters{grid-template-columns:1fr 1fr}
  .stb-ws-f--q,.stb-ws-f--btns{grid-column:1/-1}
  .stb-formsec__grid{grid-template-columns:1fr;gap:34px}
  .stb-formsec__intro{position:static}
}
@media (max-width:760px){
  .stb-form__grid{grid-template-columns:1fr}
  .stb-checks{grid-template-columns:1fr}
  .stb-formsec{padding:56px 0}
  .stb-formsec__form{padding:20px 16px}
  .stb-auth,.stb-report{padding:40px 0 60px}
  .stb-auth__tabs{display:flex}
  .stb-auth__grid{grid-template-columns:1fr}
  .stb-auth__grid[data-auth] .stb-auth__card:not(.is-active){display:none}
  .stb-auth__card,.stb-auth__side{padding:24px 18px 20px}
  .stb-auth__card h2{font-size:22px}
  .stb-auth__verify{grid-template-columns:1fr;gap:18px;padding:24px 18px;text-align:center}
  .stb-verify .stb-btn{padding-inline:18px}
  .stb-report__card{padding:26px 18px}
  .stb-ws__hero{padding-top:112px;text-align:center}
  .stb-ws__hero-inner{flex-direction:column;align-items:stretch;padding-bottom:22px}
  .stb-ws__cta{justify-content:center}
  .stb-ws__cta a{flex:1 1 0}
  .stb-ws__tabs a{padding:0 13px;min-height:52px;font-size:14px}
  .stb-ws__body{padding:22px 0 60px}
  .stb-ws-stats{grid-template-columns:1fr 1fr}
  .stb-ws-stats li{padding:16px}
  .stb-ws-stats strong{font-size:28px}
  .stb-ws-box{padding:18px 14px}
  .stb-ws-search .stb-btn{padding-inline:16px}
  .stb-ws-table thead{display:none}
  .stb-ws-table,.stb-ws-table tbody,.stb-ws-table tr,.stb-ws-table td{display:block;width:100%}
  .stb-ws-table tr{padding:12px 0;border-bottom:1px solid var(--stb-line)}
  .stb-ws-table td{padding:4px 0;border:0;display:flex;justify-content:space-between;gap:12px;text-align:left}
  .stb-ws-table td::before{content:attr(data-label);color:var(--stb-muted);font:600 13px var(--stb-heading);text-align:right}
  .stb-ws-table td:first-child{display:block;text-align:right}.stb-ws-table td:first-child::before{content:none}
  .stb-ws-actions{justify-content:flex-start;padding-top:8px!important}
  .stb-ws-filters{grid-template-columns:1fr}
  .stb-trusted-logo{width:130px;height:70px;padding:10px 14px}
  .stb-drawer__account{grid-template-columns:1fr}
}

/* Company portal: replace plugin's placeholder glyph (logo fallback) with a clean building icon */
.medr-cp .ic,[class*="medr-cp"] > .ic{font-size:0!important;line-height:0;display:inline-flex;align-items:center;justify-content:center}
.medr-cp .ic::before,[class*="medr-cp"] > .ic::before{content:"";width:26px;height:26px;background:currentColor;-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 21h18M5 21V5a2 2 0 0 1 2-2h7a2 2 0 0 1 2 2v16M16 9h2a2 2 0 0 1 2 2v10M9 7h2M9 11h2M9 15h2'/%3E%3C/svg%3E") center/contain no-repeat;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 21h18M5 21V5a2 2 0 0 1 2-2h7a2 2 0 0 1 2 2v16M16 9h2a2 2 0 0 1 2 2v10M9 7h2M9 11h2M9 15h2'/%3E%3C/svg%3E") center/contain no-repeat}

/* Header: verify-report pill + login button (2.1) */
.stb-header__verify{display:inline-flex;align-items:center;gap:8px;height:42px;padding:0 16px;border:1px solid rgba(255,255,255,.28);border-radius:999px;color:#fff;font:600 14px/1 var(--stb-heading);white-space:nowrap;transition:background-color .2s,border-color .2s,color .2s}
.stb-header__verify:hover{background:var(--stb-accent);border-color:var(--stb-accent);color:#fff}
.stb-header__verify svg{width:17px;height:17px;flex:0 0 auto}
.stb-header__cta svg{width:15px!important;height:15px!important}
.stb-header__cta.is-in{background:transparent!important;border-color:var(--a-gold,#28a3dc)!important;color:#fff!important}
.stb-header__cta.is-in:hover{background:var(--a-gold,#28a3dc)!important}
@media (max-width:1100px){.stb-header__verify{width:40px;height:40px;padding:0;justify-content:center}.stb-header__verify span{display:none}}
@media (max-width:760px){.stb-header__verify{width:38px;height:38px}}
/* Footer: simple icon socials (2.1) */
.stb-ft__socials a svg{width:18px;height:18px}
.stb-ft__socials a{width:40px;height:40px}

/* Home — «بوابة النظام» (2.1) */
.stb-sys{position:relative;overflow:hidden;padding:110px 0 100px;background:#021b31;color:#fff;isolation:isolate}
.stb-sys__bg{position:absolute;inset:0;z-index:-1;background:radial-gradient(900px 480px at 85% 0%,rgba(40,163,220,.22),transparent 60%),radial-gradient(700px 420px at 0% 100%,rgba(0,150,214,.16),transparent 60%)}
.stb-sys__bg .stb-phero__grid{opacity:.5}
.stb-sys__head{max-width:720px;margin:0 0 46px}
.stb-sys__head .eyebrow{color:#6ec1e7}
.stb-sys__head h2{margin:10px 0 14px;color:#fff;font:700 clamp(30px,4vw,50px)/1.15 var(--stb-heading)}
.stb-sys__head h2 em{font-style:normal;color:#6ec1e7}
.stb-sys__head p{margin:0;color:rgba(255,255,255,.74);font-size:18px;line-height:1.8}
.stb-sys__grid{display:grid;grid-template-columns:1.25fr 1fr 1fr;gap:18px}
.stb-sys__card{position:relative;display:flex;flex-direction:column;align-items:flex-start;gap:12px;min-height:330px;padding:34px 30px 30px;border:1px solid rgba(255,255,255,.14);border-radius:2px;background:linear-gradient(180deg,rgba(255,255,255,.07),rgba(255,255,255,.02));backdrop-filter:blur(6px);transition:border-color .3s,transform .3s,background-color .3s}
.stb-sys__card:hover{border-color:rgba(110,193,231,.6);transform:translateY(-4px)}
.stb-sys__card--verify{background:linear-gradient(160deg,rgba(40,163,220,.22),rgba(255,255,255,.03))}
.stb-sys__tag{position:absolute;top:18px;left:20px;color:rgba(255,255,255,.38);font:600 11px/1 var(--stb-heading);letter-spacing:.14em}
.stb-sys__ico{display:grid;place-items:center;width:56px;height:56px;border-radius:50%;background:rgba(110,193,231,.14);color:#6ec1e7}
.stb-sys__ico svg{width:26px;height:26px}
.stb-sys__card h3{margin:6px 0 0;color:#fff;font:700 23px/1.3 var(--stb-heading)}
.stb-sys__card p{margin:0;color:rgba(255,255,255,.7);font-size:16px;line-height:1.75}
.stb-sys__btn{margin-top:auto}
.stb-sys__card .stb-verify{width:100%;margin-top:auto}
.stb-sys__card .stb-verify input{background:rgba(255,255,255,.96)}
.stb-sys__more{display:inline-flex;align-items:center;gap:6px;color:#6ec1e7;font:600 14px/1 var(--stb-heading)}
.stb-sys__more svg{width:14px;height:14px}
.stb-sys__more:hover{color:#fff}
.stb-sys__points{display:flex;flex-wrap:wrap;gap:10px 26px;margin:36px 0 0;padding:26px 0 0;border-top:1px solid rgba(255,255,255,.12);list-style:none}
.stb-sys__points li{display:inline-flex;align-items:center;gap:8px;color:rgba(255,255,255,.82);font:600 15px/1.4 var(--stb-heading)}
.stb-sys__points svg{width:16px;height:16px;color:#6ec1e7}
@media (max-width:1024px){.stb-sys__grid{grid-template-columns:1fr 1fr}.stb-sys__card--verify{grid-column:1/-1;min-height:0}}
@media (max-width:680px){.stb-sys{padding:74px 0 70px}.stb-sys__grid{grid-template-columns:1fr}.stb-sys__card{min-height:0;padding:30px 22px 24px}.stb-sys__head{margin-bottom:30px}.stb-sys__head p{font-size:16px}.stb-sys__points{gap:10px 18px}}
/* Home CTA contrast on the blue band */
.v5-cta h2 em{color:#021b31}
.v5-cta .stb-btn,.v5-cta .stb-btn span{color:#fff!important}
.v5-cta .stb-btn:hover{background:#fff!important;border-color:#fff!important}
.v5-cta .stb-btn:hover span,.v5-cta .stb-btn:hover{color:#021b31!important}
