/* WasilPro feature styles — public, auth, transfers and deposits */
.am-ic{width:17px;height:17px;vertical-align:-3px;margin-inline-end:.3rem;stroke:currentColor;fill:none;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
dd.num,dt.num,.row>.num,.row>.mono,dd.mono{direction:inherit;unicode-bidi:isolate}

.auth-card{background:#fff;border-radius:20px;box-shadow:0 24px 70px rgba(0,0,0,.4);padding:2.2rem 2rem;width:100%;max-width:420px;position:relative;overflow:hidden}
.auth-card::before{content:"";position:absolute;top:0;inset-inline:0;height:5px;background:linear-gradient(90deg,var(--am-gold-400),var(--am-emerald-600),var(--am-gold-400))}
.auth-logo{display:flex;flex-direction:column;align-items:center;margin-bottom:1.4rem}
.auth-logo img{width:76px;height:76px;margin-bottom:.6rem;filter:drop-shadow(0 4px 10px rgba(11,36,71,.25))}
.auth-logo .t1{font-size:1.5rem;font-weight:800;color:var(--am-emerald-900)}
.auth-logo .t2{color:var(--am-gold-600);font-weight:700;font-size:.82rem;letter-spacing:.4px}
.auth-card h2{font-size:1.05rem;text-align:center;margin-bottom:1.3rem;color:var(--am-muted);font-weight:700}
.auth-alt{text-align:center;margin-top:1.1rem;font-size:.85rem}
.auth-foot{text-align:center;color:rgba(255,255,255,.55);font-size:.78rem;margin-top:1.2rem}

/* ---------- صفحة الهبوط ---------- */
.lp{background:#fff;color:var(--am-ink)}
.lp-nav{position:fixed;top:0;inset-inline:0;z-index:1050;background:rgba(6,26,51,.75);backdrop-filter:blur(14px);border-bottom:1px solid rgba(43,217,143,.15)}
.lp-nav .in{max-width:1180px;margin:auto;display:flex;align-items:center;gap:1rem;padding:.75rem 1.2rem}
.lp-nav .brand{display:flex;align-items:center;gap:.55rem;color:#fff;font-weight:800;font-size:1.2rem}
.lp-nav .brand img{width:36px;height:36px}
.lp-nav .links{display:flex;gap:1.4rem;margin-inline-start:auto;align-items:center}
.lp-nav .links a{color:rgba(255,255,255,.8);font-weight:600;font-size:.92rem}
.lp-nav .links a:hover{color:var(--am-gold-300)}
.lp-hero{background:radial-gradient(1000px 500px at 85% 0%,rgba(43,217,143,.16),transparent 55%),linear-gradient(155deg,var(--am-emerald-950) 0%,var(--am-emerald-900) 50%,var(--am-emerald-800) 100%);color:#fff;padding:8.5rem 1.2rem 5.5rem;position:relative;overflow:hidden}
.lp-hero .in{max-width:1180px;margin:auto;display:grid;grid-template-columns:1.05fr .95fr;gap:3rem;align-items:center}
@media(max-width:900px){.lp-hero .in{grid-template-columns:1fr}}
.lp-hero h1{font-size:2.7rem;font-weight:800;color:#fff;line-height:1.3;margin-bottom:1rem}
.lp-hero h1 em{font-style:normal;color:var(--am-gold-300)}
.lp-hero p.lead{color:rgba(255,255,255,.82);font-size:1.12rem;line-height:1.9;margin-bottom:1.8rem}
.lp-hero .cta{display:flex;gap:.9rem;flex-wrap:wrap}
.lp-hero .art img{width:100%;border-radius:22px;box-shadow:0 30px 80px rgba(0,0,0,.5);border:1px solid rgba(43,217,143,.25)}
.lp-badges{display:flex;gap:1.6rem;margin-top:2.2rem;flex-wrap:wrap}
.lp-badges .b{display:flex;align-items:center;gap:.5rem;color:rgba(255,255,255,.75);font-size:.86rem;font-weight:600}
.lp-badges .b svg{width:20px;height:20px;stroke:var(--am-gold-300)}
.lp-sec{padding:4.5rem 1.2rem}
.lp-sec .in{max-width:1180px;margin:auto}
.lp-sec .kicker{color:var(--am-gold-600);font-weight:800;font-size:.85rem;letter-spacing:1px;text-align:center;display:block;margin-bottom:.4rem}
.lp-sec h2{text-align:center;font-size:1.9rem;margin-bottom:.7rem}
.lp-sec .sub{text-align:center;color:var(--am-muted);max-width:640px;margin:0 auto 2.6rem;line-height:1.9}
.lp-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:1.3rem}
@media(min-width:992px){.lp-grid{grid-template-columns:repeat(3,1fr)}}
.lp-feat{background:#fff;border:1px solid var(--am-line);border-radius:16px;padding:1.6rem 1.4rem;box-shadow:var(--am-shadow);transition:.22s}
.lp-feat:hover{transform:translateY(-4px);box-shadow:var(--am-shadow-lg);border-color:var(--am-gold-400)}
.lp-feat .ic{width:48px;height:48px;border-radius:13px;background:linear-gradient(135deg,var(--am-emerald-800),var(--am-emerald-600));display:flex;align-items:center;justify-content:center;margin-bottom:1rem}
.lp-feat .ic svg{width:24px;height:24px;stroke:var(--am-gold-300)}
.lp-feat h3{font-size:1.05rem;margin-bottom:.45rem}
.lp-feat p{color:var(--am-muted);font-size:.9rem;line-height:1.8;margin:0}
.lp-steps{counter-reset:st;display:grid;grid-template-columns:repeat(auto-fit,minmax(230px,1fr));gap:1.3rem}
.lp-step{position:relative;background:linear-gradient(160deg,#fff,#F7FAF8);border:1px solid var(--am-line);border-radius:16px;padding:1.7rem 1.4rem 1.4rem}
.lp-step::before{counter-increment:st;content:counter(st);position:absolute;top:-16px;inset-inline-start:1.2rem;width:34px;height:34px;border-radius:50%;background:linear-gradient(135deg,var(--am-gold-400),var(--am-gold-600));color:var(--am-emerald-950);font-weight:800;display:flex;align-items:center;justify-content:center;box-shadow:0 4px 10px rgba(43,217,143,.4)}
.lp-step h3{font-size:1rem;margin:.4rem 0 .4rem}
.lp-step p{color:var(--am-muted);font-size:.88rem;line-height:1.8;margin:0}
.lp-dark{background:linear-gradient(155deg,var(--am-emerald-950),var(--am-emerald-900));color:#fff}
.lp-dark h2{color:#fff}
.lp-dark .sub{color:rgba(255,255,255,.7)}
.lp-stats{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:1.2rem;text-align:center}
.lp-stats .s b{display:block;font-size:2rem;font-weight:800;color:var(--am-gold-300)}
.lp-stats .s span{color:rgba(255,255,255,.7);font-size:.9rem;font-weight:600}
.lp-foot{background:var(--am-emerald-950);color:rgba(255,255,255,.65);padding:2.6rem 1.2rem 1.6rem}
.lp-foot .in{max-width:1180px;margin:auto}
.lp-foot .top{display:flex;justify-content:space-between;gap:2rem;flex-wrap:wrap;padding-bottom:1.6rem;border-bottom:1px solid rgba(255,255,255,.09)}
.lp-foot .brand{display:flex;align-items:center;gap:.55rem;color:#fff;font-weight:800;font-size:1.15rem}
.lp-foot .brand img{width:34px;height:34px}
.lp-foot a{color:rgba(255,255,255,.65)}.lp-foot a:hover{color:var(--am-gold-300)}
.lp-foot .copy{text-align:center;padding-top:1.3rem;font-size:.82rem}

/* ---------- تتبع الحوالة ---------- */
.track-tl{position:relative;padding-inline-start:1.6rem}
.track-tl::before{content:"";position:absolute;inset-inline-start:7px;top:6px;bottom:6px;width:2px;background:var(--am-line)}
.track-tl .ev{position:relative;padding-bottom:1.3rem}
.track-tl .ev::before{content:"";position:absolute;inset-inline-start:-1.6rem;top:5px;width:16px;height:16px;border-radius:50%;background:#fff;border:3px solid var(--am-line)}
.track-tl .ev.done::before{border-color:var(--am-emerald-600);background:var(--am-emerald-600)}
.track-tl .ev.now::before{border-color:var(--am-gold-500);background:var(--am-gold-400);box-shadow:0 0 0 5px rgba(43,217,143,.2)}
.track-tl .ev .t{font-weight:800;color:var(--am-emerald-900);font-size:.95rem}
.track-tl .ev .d{color:var(--am-muted);font-size:.82rem}

/* ---------- متفرقات ---------- */
.alert{border-radius:12px;border:none;font-weight:600}
.alert-success{background:var(--am-ok-bg);color:var(--am-ok)}
.alert-danger{background:var(--am-danger-bg);color:var(--am-danger)}
.alert-warning{background:var(--am-warn-bg);color:var(--am-warn)}
.alert-info{background:var(--am-info-bg);color:var(--am-info)}
.empty-state{text-align:center;padding:3rem 1rem;color:var(--am-muted)}
.empty-state svg{width:64px;height:64px;stroke:var(--am-line);margin-bottom:1rem}
.badge-soft{background:var(--am-emerald-900);color:#fff;border-radius:8px;padding:.15em .55em;font-size:.75rem;font-weight:700}
.pagination .page-link{border-radius:8px;margin-inline:2px;color:var(--am-emerald-800);border-color:var(--am-line)}
.pagination .active .page-link{background:var(--am-emerald-800);border-color:var(--am-emerald-800)}
.text-muted{color:var(--am-muted)!important}
.fw-bold{font-weight:700!important}

/* ---------- طباعة الإيصال ---------- */
@media print{
  body{background:#fff}
  .sidebar,.topbar,.am-topnav,.no-print{display:none!important}
  .shell{margin:0}.content{padding:0}
  .card{box-shadow:none;border:1px solid #ccc}
}
@media(max-width:768px){

  .lp-hero h1{font-size:1.9rem}
  .content{padding:1rem}
}

/* ---------- شارات تذاكر الدعم ---------- */
.pill-OPEN,.pill-PENDING{background:var(--am-warn-bg);color:var(--am-warn)}
.pill-ANSWERED,.pill-COMPLETED{background:var(--am-ok-bg);color:var(--am-ok)}

/* ---------- واصل v4.2: صفحات الدخول (تقسيم شاشة) ---------- */
.auth-body{margin:0;background:var(--am-bg)}

.auth-brand{position:relative;overflow:hidden;color:#fff;background:radial-gradient(900px 500px at 15% 0%,rgba(43,217,143,.18),transparent 60%),linear-gradient(160deg,#061A33 0%,#0B2447 55%,#0E2D5A 100%);display:flex;flex-direction:column;justify-content:space-between;padding:3rem 3.2rem 1.5rem}

.auth-brand h1{color:#fff;font-size:2.1rem;line-height:1.35;margin:0 0 .8rem}
.auth-brand h1 em{font-style:normal;color:#2BD98F}
.auth-brand p{color:rgba(255,255,255,.78);font-size:1rem;line-height:1.8;margin-bottom:1.6rem}

.auth-main{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:2.5rem 1.2rem}
.auth-card{background:#fff;border-radius:22px;box-shadow:0 18px 50px rgba(11,36,71,.12);padding:2.2rem 2rem;width:100%;max-width:440px;position:relative;overflow:hidden}
.auth-card::before{background:linear-gradient(90deg,#2BD98F,#1B4B8F)}
.auth-logo{flex-direction:row;justify-content:flex-start;gap:.8rem;margin-bottom:1.6rem}
.auth-logo img{width:56px;height:56px;margin:0;border-radius:15px}
.auth-logo .t1{font-size:1.35rem;line-height:1.1}.auth-logo .t2{color:#17A96B}
.auth-card h2{text-align:start;color:var(--am-emerald-900);font-size:1.25rem;font-weight:800;margin-bottom:1rem}
.auth-card .form-label{font-weight:700;font-size:.9rem}
.auth-note{color:var(--am-muted);font-size:.83rem;margin:1rem 0 0;line-height:1.7}
.auth-alt{margin-top:.8rem}
.auth-foot{color:var(--am-muted);margin-top:1.4rem}
.otp-wrap{direction:ltr}
.otp{font-size:2rem;letter-spacing:.55em;text-align:center;font-weight:800;padding:.55rem 0 .55rem .55em;font-family:ui-monospace,Menlo,Consolas,monospace;border-width:2px}
.otp:focus{border-color:#2BD98F;box-shadow:0 0 0 .25rem rgba(43,217,143,.25)}
.setup-steps{padding-inline-start:1.2rem;margin:0;display:grid;gap:.7rem;font-size:.92rem}
.setup-steps li::marker{color:#17A96B;font-weight:800}
.qr-box{background:#fff;border:2px solid var(--am-line);border-radius:16px;padding:.6rem;width:max-content;margin:.7rem auto}
.qr-box svg{display:block}
.setup-steps details summary{cursor:pointer;color:var(--am-emerald-700);font-weight:700}
@media(max-width:991.98px){

 .auth-brand{padding:1.6rem 1.4rem;min-height:0;justify-content:flex-start}
 .auth-brand h1{font-size:1.4rem}.auth-brand p,.ab-points,.ab-art,.ab-foot{display:none}

 .auth-main{padding:1.2rem 1rem 2rem;margin-top:-1rem}
 .auth-card{padding:1.6rem 1.3rem;border-radius:18px}
}

/* ---------- واصل v4.2.1: صفحات الدخول — مقاس مضغوط ---------- */
.auth-body{font-size:14px}

.auth-brand{padding:2rem 2.2rem 1rem}

.auth-brand h1{font-size:1.45rem;margin-bottom:.5rem}
.auth-brand p{font-size:.86rem;line-height:1.7;margin-bottom:1.1rem}

.auth-main{padding:1.5rem 1rem}
.auth-card{max-width:360px;padding:1.4rem 1.4rem 1.2rem;border-radius:16px;box-shadow:0 10px 30px rgba(11,36,71,.1)}
.auth-logo{gap:.6rem;margin-bottom:1rem}
.auth-logo img{width:40px;height:40px;border-radius:11px}
.auth-logo .t1{font-size:1.1rem}.auth-logo .t2{font-size:.74rem}
.auth-card h2{font-size:1.02rem;margin-bottom:.7rem}
.auth-card .form-label{font-size:.82rem;margin-bottom:.25rem}
.auth-card .form-control{padding:.5rem .8rem;font-size:.92rem}
.auth-card .btn-lg{padding:.55rem;font-size:.95rem}
.auth-card .mb-3{margin-bottom:.75rem!important}
.auth-note{font-size:.76rem;margin-top:.7rem}
.auth-alt{font-size:.8rem;margin-top:.5rem}
.auth-foot{font-size:.72rem;margin-top:1rem}
.otp{font-size:1.5rem;padding:.4rem 0 .4rem .55em}
.setup-steps{font-size:.84rem;gap:.45rem}
.qr-box{padding:.4rem;margin:.5rem auto}.qr-box svg{width:150px;height:150px}
@media(max-width:991.98px){

 .auth-brand{padding:1rem 1.2rem .9rem}

 .auth-brand h1{font-size:1.05rem;margin:0}
 .auth-main{padding:1rem .9rem 1.5rem;margin-top:-.6rem}
 .auth-card{padding:1.2rem 1.1rem;border-radius:14px}
}

/* ---------- واصل v4.3: نموذج الحوالة ---------- */
.tf-nets{display:flex;gap:.6rem;flex-wrap:wrap}
.tf-net{display:flex;flex-direction:column;align-items:center;padding:.5rem 1.1rem;border:2px solid var(--am-line);border-radius:12px;background:#fff;color:var(--am-ink);text-decoration:none;min-width:130px}
.tf-net small{color:var(--am-muted);font-size:.72rem}.tf-net.on{border-color:#2BD98F;background:#F0FBF6;color:var(--am-emerald-900)}
.tf-step{background:#fff;border:1px solid var(--am-line);border-radius:var(--am-radius);padding:1.1rem 1.2rem;margin-bottom:.9rem;box-shadow:var(--am-shadow)}
.tf-step header{display:flex;align-items:center;gap:.7rem;margin-bottom:.9rem}
.tf-step header .n{flex:none;width:32px;height:32px;border-radius:50%;background:var(--am-emerald-900);color:#2BD98F;font-weight:800;display:grid;place-items:center;font-size:.95rem}
.tf-step header b{display:block;font-size:1rem;color:var(--am-emerald-900)}.tf-step header small{color:var(--am-muted);font-size:.78rem}
.tf-step .form-label{font-size:.82rem;font-weight:700;margin-bottom:.25rem;color:var(--am-muted)}
.req{color:var(--am-danger)}
.tf-amounts{display:flex;gap:.8rem;align-items:flex-end}
.tf-amt{flex:1}.tf-amt label{font-size:.82rem;font-weight:700;color:var(--am-muted);margin-bottom:.25rem;display:block}
.tf-amt .in{position:relative}.tf-amt .in input{font-size:1.45rem;font-weight:800;padding:.55rem 3.4rem .55rem .9rem;height:auto;border-width:2px;text-align:left;direction:ltr}
.tf-amt .in .cu{position:absolute;inset-inline-start:.8rem;top:50%;transform:translateY(-50%);font-weight:800;color:var(--am-muted);font-size:.85rem;pointer-events:none}
.tf-amt .in input:focus{border-color:#2BD98F;box-shadow:0 0 0 .2rem rgba(43,217,143,.2)}
.tf-swap{flex:none;width:36px;height:36px;border-radius:50%;background:#F0FBF6;display:grid;place-items:center;margin-bottom:.6rem}
.tf-swap svg{width:18px;height:18px;fill:none;stroke:#17A96B;stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round}
.tf-hint{margin:.7rem 0 0;font-size:.8rem;color:var(--am-muted)}.tf-hint b{color:var(--am-emerald-900)}
.tf-namecheck{font-size:.74rem;margin-top:.3rem;min-height:1.1rem;display:flex;gap:.9rem;flex-wrap:wrap;color:var(--am-muted)}
.tf-namecheck.ok b{color:var(--am-emerald-900)}.tf-namecheck.bad{color:var(--am-danger);font-weight:700}
.tf-go{padding:.8rem;font-size:1.05rem;box-shadow:0 8px 24px rgba(20,65,122,.25)}.tf-go .ar{display:inline-block;margin-inline-start:.4rem;transition:transform .2s}.tf-go:hover .ar{transform:translateX(-4px)}
.tf-summary{position:sticky;top:1rem;background:linear-gradient(160deg,#0B2447,#0E2D5A);color:#fff;border-radius:18px;padding:1.2rem 1.25rem;box-shadow:0 14px 34px rgba(11,36,71,.3)}
.tf-summary .rate{border-bottom:1px solid rgba(255,255,255,.12);padding-bottom:.75rem;margin-bottom:.75rem}
.tf-summary .rate small,.tf-summary .big small{display:block;color:rgba(255,255,255,.65);font-size:.76rem;font-weight:700}
.tf-summary .rate b{font-size:1.25rem;color:#6EE7B7;display:block;margin-top:.15rem}
.tf-summary .big b{display:block;font-size:2rem;line-height:1.1;color:#2BD98F;margin:.15rem 0 .8rem}
.tf-summary dl{display:grid;grid-template-columns:1fr auto;gap:.35rem .6rem;margin:0;font-size:.86rem}
.tf-summary dt{color:rgba(255,255,255,.75);font-weight:600}.tf-summary dt small{font-size:.7rem}.tf-summary dd{margin:0;font-weight:700;text-align:left}
.tf-summary .tot{border-top:1px solid rgba(255,255,255,.15);padding-top:.45rem;margin-top:.15rem;font-size:.98rem;color:#fff}
.tf-summary .bal{display:flex;justify-content:space-between;font-size:.82rem;margin-top:.8rem;color:rgba(255,255,255,.8)}.tf-summary .bal b{color:#fff}
.tf-summary .bal.after{margin-top:.25rem}.tf-summary .neg{color:#FF8A8A!important}
@media(max-width:991.98px){.tf-summary{position:static;margin-top:.2rem}.tf-summary .big b{font-size:1.6rem}}
@media(max-width:575.98px){.tf-amounts{flex-direction:column;align-items:stretch}.tf-swap{transform:rotate(90deg);margin:-.2rem auto}.tf-amt .in input{font-size:1.25rem}}
.tf-summary dd.num{direction:ltr}
.tf-mini{position:sticky;top:66px;z-index:5;display:flex;justify-content:space-between;align-items:center;gap:.6rem;background:#0B2447;color:#fff;border-radius:12px;padding:.55rem .9rem;margin-bottom:.8rem;font-size:.78rem;box-shadow:0 8px 20px rgba(11,36,71,.3)}
.tf-mini>b{color:#2BD98F;font-size:1rem}.tf-mini b{color:#6EE7B7}

.dep-track{display:grid;grid-template-columns:repeat(3,1fr);gap:.5rem;background:#fff;border:1px solid var(--am-line);border-radius:14px;padding:.8rem}
.dep-track>div{display:flex;align-items:center;gap:.5rem;font-size:.84rem;color:var(--am-muted);font-weight:700}
.dep-track i{font-style:normal;width:28px;height:28px;border-radius:50%;border:2px solid var(--am-line);display:grid;place-items:center;font-size:.8rem;flex:none}
.dep-track .done{color:var(--am-emerald-900)}.dep-track .done i{background:#2BD98F;border-color:#2BD98F;color:#0B2447}
.dep-track .now{color:#B45309}.dep-track .now i{border-color:#F59E0B;color:#B45309;animation:pulse 1.4s infinite}
@keyframes pulse{0%,100%{box-shadow:0 0 0 0 rgba(245,158,11,.35)}50%{box-shadow:0 0 0 6px rgba(245,158,11,0)}}
.dep-instr{background:linear-gradient(160deg,#0B2447,#0E2D5A);color:#fff;border-radius:16px;padding:1.1rem 1.2rem;box-shadow:0 12px 30px rgba(11,36,71,.25)}
.dep-instr h2{color:#6EE7B7;font-size:1rem;margin:0 0 .7rem}
.dep-instr .lines{display:grid;gap:.4rem;margin-bottom:.8rem}.dep-instr .ln{display:flex;justify-content:space-between;gap:.6rem;background:rgba(255,255,255,.07);border-radius:10px;padding:.5rem .7rem;font-size:.88rem}
.dep-instr .ln span{color:rgba(255,255,255,.7)}.dep-instr .ln b{color:#fff;direction:ltr;unicode-bidi:isolate;text-align:left}.dep-instr .ln.full{display:block;color:rgba(255,255,255,.85)}
.dep-instr .ref{font-size:.88rem;background:rgba(43,217,143,.14);border:1px dashed rgba(43,217,143,.6);border-radius:10px;padding:.55rem .7rem;margin-bottom:.5rem}.dep-instr .ref b{color:#2BD98F;font-size:1.05rem}
.cp{cursor:copy;position:relative}.cp.copied::after{content:"✓ نُسخ";position:absolute;inset-inline-end:0;top:-1.4rem;background:#2BD98F;color:#0B2447;font-size:.7rem;padding:.1rem .4rem;border-radius:6px}
@media(max-width:575.98px){.dep-track{grid-template-columns:1fr;gap:.35rem}}

.rate-ref{display:flex;gap:1.2rem;align-items:center;flex-wrap:wrap;background:#F0FBF6;border:1px solid #BFF0DA;border-radius:12px;padding:.7rem .9rem;margin-bottom:.8rem}
.rate-ref>div:first-child{flex:none;text-align:center;min-width:180px}.rate-ref small{display:block;color:var(--am-muted);font-size:.72rem}.rate-ref .rv b{display:block;font-size:1.6rem;color:var(--am-emerald-900);line-height:1.2}

/* ---------- واصل v5.0: المساعد الذكي ---------- */
.as-score{display:flex;gap:1rem;align-items:center;background:linear-gradient(160deg,#0B2447,#0E2D5A);color:#fff;border-radius:16px;padding:1rem 1.1rem;box-shadow:0 12px 30px rgba(11,36,71,.25)}
.as-score .ring{flex:none;width:84px;height:84px;border-radius:50%;display:grid;place-items:center;border:6px solid #2BD98F;line-height:1}.as-score .ring b{font-size:1.7rem}.as-score .ring small{font-size:.65rem;opacity:.7}
.as-score.warn .ring{border-color:#F59E0B}.as-score.bad .ring{border-color:#EF4444}
.as-score .t{font-weight:800;font-size:1rem}.as-score .s{font-size:.76rem;color:rgba(255,255,255,.7)}
.as-kpis{display:grid;grid-template-columns:repeat(2,1fr);gap:.5rem}.as-kpis>div{background:#F5F7F5;border-radius:10px;padding:.5rem .65rem}.as-kpis small{display:block;font-size:.68rem;color:var(--am-muted)}.as-kpis b{font-size:1.15rem;color:var(--am-emerald-900)}.as-kpis span{font-size:.72rem;color:var(--am-muted);margin-inline-start:.3rem}
.as-item{display:flex;gap:.7rem;align-items:center;padding:.6rem .2rem;border-bottom:1px solid var(--am-line)}.as-item:last-child{border-bottom:0}
.as-item .dot{flex:none;width:10px;height:10px;border-radius:50%;background:#94A3B8}.as-item.critical .dot{background:#EF4444;box-shadow:0 0 0 4px rgba(239,68,68,.15)}.as-item.warning .dot{background:#F59E0B}.as-item.info .dot{background:#3B82F6}.as-item.ok .dot{background:#2BD98F}
.as-item>div{flex:1}.as-item b{display:block;font-size:.92rem}.as-item small{color:var(--am-muted);font-size:.76rem}

/* ===== v5.5 — layout fixes ===== */
.btn{white-space:nowrap}
form.d-flex>.btn,.d-flex>form>.btn,.input-group>.btn{flex-shrink:0}
.settings-tabs{gap:.35rem;background:#fff;border:1px solid var(--line,#e6ebf1);border-radius:14px;padding:.4rem}
.settings-tabs .nav-link{border-radius:10px;font-weight:700;color:var(--am-emerald-900,#0E2D5A);padding:.5rem .95rem}
.settings-tabs .nav-link.active{background:var(--am-emerald-900,#0E2D5A);color:#fff}
@media (max-width:767.98px){.settings-tabs{flex-wrap:nowrap;overflow-x:auto;scrollbar-width:none}.settings-tabs::-webkit-scrollbar{display:none}.settings-tabs .nav-link{white-space:nowrap;font-size:.85rem;padding:.45rem .7rem}}
