/* ═══════════════════════════════════════════════════════════════════
   AMIAL-SITE-001 — نظام تصميم موقع أميال باي.

   **ملفٌّ واحدٌ محلّيّ، بلا شبكةٍ خارجيّة.** لا خطّ من Google ولا إطار من
   CDN: أوّلُ ما يراه الزائر لا يجوز أن يتوقّف على مضيفٍ في قارّةٍ أخرى،
   ولا أن يُسرّب زيارتَه إليه. والخطوط خطوطُ النظام — أسرع، وتعرض العربيّة
   بما اعتاده القارئ على جهازه.

   والألوان مأخوذةٌ حرفاً من `02_flutter_app/lib/theme/amial_colors.dart`
   كي لا يكون للمنصّة وجهان.
   ═══════════════════════════════════════════════════════════════════ */

:root {
    --navy:        #053391;
    --navy-dark:   #021F5C;
    --navy-light:  #1D4FB8;
    --gold:        #FECA1E;
    --gold-dark:   #CFA300;
    --gold-light:  #FFE680;
    --red:         #DC0A0B;

    --bg:          #F6F8FC;
    --surface:     #FFFFFF;
    --text:        #1A2433;
    --text-2:      #5F6B7C;
    --text-3:      #8B97A8;
    --border:      #E5E7EB;

    --r-sm: 8px;
    --r:    14px;
    --r-lg: 22px;

    --shadow:    0 6px 20px rgba(7, 34, 91, .07);
    --shadow-lg: 0 20px 56px rgba(3, 31, 92, .16);

    --wrap: 1140px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    margin: 0;
    font-family: system-ui, -apple-system, "Segoe UI", Tahoma, "Noto Naskh Arabic", sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.85;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; }
a { color: var(--navy); }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }

/* ── الرأس ──────────────────────────────────────────────────────── */

.site-head {
    background: rgba(255, 255, 255, .96);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 50;
}

.site-head .wrap {
    display: flex;
    align-items: center;
    gap: 14px;
    height: 76px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
    font-size: 18px;
    color: var(--navy);
    text-decoration: none;
    white-space: nowrap;
}

.logo-image { width: 43px; height: 43px; border-radius: 11px; object-fit: cover; box-shadow: 0 3px 10px rgba(254, 202, 30, .3); }
.logo-copy { display: grid; line-height: 1.05; }
.logo-copy strong { font-size: 18px; letter-spacing: -.2px; }
.logo-copy small { direction: ltr; text-align: right; color: #6e7e99; font-size: 8px; font-weight: 800; letter-spacing: 1.35px; margin-top: 4px; }

.nav { display: flex; gap: 4px; margin-inline-start: auto; align-items: center; }

.nav a {
    color: var(--text-2);
    text-decoration: none;
    font-size: 14.5px;
    font-weight: 600;
    padding: 9px 11px;
    border-radius: var(--r-sm);
    white-space: nowrap;
}

.nav a:hover { color: var(--navy); background: #eef2fb; }
.nav a[aria-current="page"] { color: var(--navy); background: #eef2fb; }

.nav-toggle {
    display: none;
    margin-inline-start: auto;
    background: none;
    border: 1px solid var(--border);
    border-radius: var(--r-sm);
    padding: 7px 11px;
    font-size: 18px;
    cursor: pointer;
    color: var(--navy);
}

/* ── الأزرار ────────────────────────────────────────────────────── */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 22px;
    border-radius: 11px;
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
    border: 1.5px solid transparent;
    cursor: pointer;
    font-family: inherit;
    transition: transform .12s, box-shadow .12s, background .12s;
}

.btn:hover { transform: translateY(-1px); }

.btn-primary  { background: var(--navy); color: #fff; box-shadow: 0 6px 18px rgba(5,51,145,.22); }
.btn-primary:hover { background: var(--navy-light); }

.btn-gold     { background: var(--gold); color: #17204a; box-shadow: 0 6px 18px rgba(254,202,30,.35); }
.btn-gold:hover { background: var(--gold-light); }

.btn-ghost    { background: transparent; color: var(--navy); border-color: #c9d5f0; }
.btn-ghost:hover { background: #eef2fb; }

.btn-block { display: flex; width: 100%; }
.btn-lg { padding: 15px 30px; font-size: 16.5px; }

/* ── الواجهة الرئيسة ────────────────────────────────────────────── */

.hero {
    background:
        radial-gradient(1100px 460px at 88% -12%, rgba(254,202,30,.20), transparent 62%),
        linear-gradient(160deg, var(--navy) 0%, var(--navy-dark) 100%);
    color: #fff;
    overflow: hidden;
    padding: 64px 0 72px;
}

.hero-grid { display: grid; grid-template-columns: minmax(0, 1.02fr) minmax(340px, .88fr); gap: clamp(36px, 6vw, 96px); align-items: center; }
.hero-copy { position: relative; z-index: 1; }

.hero h1 {
    font-size: clamp(37px, 5vw, 62px);
    line-height: 1.17;
    margin: 0 0 20px;
    font-weight: 850;
    letter-spacing: -.8px;
}
.hero h1 em { color: var(--gold); font-style: normal; }

.hero .lede {
    font-size: clamp(16px, 2.1vw, 19px);
    color: #cfe0ff;
    max-width: 590px;
    margin: 0 0 32px;
}

.hero .cta { display: flex; gap: 12px; flex-wrap: wrap; }

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,.1);
    border: 1px solid rgba(255,255,255,.18);
    color: #eaf1ff;
    font-size: 13px;
    font-weight: 700;
    padding: 5px 13px;
    border-radius: 999px;
    margin-bottom: 18px;
}
.eyebrow span { width: 7px; height: 7px; background: var(--gold); border-radius: 50%; box-shadow: 0 0 0 4px rgba(254,202,30,.16); }
.btn-hero-secondary { color: #fff; background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.26); }
.btn-hero-secondary:hover { background: rgba(255,255,255,.16); color: #fff; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 12px 20px; margin-top: 28px; color: #c8d8f7; font-size: 12.5px; font-weight: 650; }
.hero-trust span { display: flex; align-items: center; gap: 6px; }
.hero-trust span::before { content: "✓"; color: var(--gold); font-weight: 900; }

.product-frame { position: relative; background: #fff; color: var(--text); border: 1px solid rgba(255,255,255,.64); border-radius: 22px; padding: 18px; box-shadow: 0 26px 60px rgba(0,0,0,.25); transform: rotate(-1.5deg); }
.product-frame::after { content: ""; position: absolute; z-index: -1; width: 92%; height: 92%; inset: 18px auto auto 22px; border: 1px solid rgba(254,202,30,.55); border-radius: 22px; transform: rotate(5deg); }
.product-topbar { display: flex; align-items: center; justify-content: space-between; font-size: 12px; color: var(--text-2); padding-bottom: 16px; }
.product-brand { display: flex; align-items: center; gap: 7px; color: var(--navy); font-weight: 800; font-size: 14px; }
.product-brand i { width: 21px; height: 21px; border-radius: 7px; background: var(--gold); display: inline-block; position: relative; }
.product-brand i::after { content:""; position: absolute; inset: 5px; border: 2px solid var(--navy); border-radius: 3px; }
.product-status { color: #16734a; background: #e9f8ef; border-radius: 999px; padding: 4px 9px; font-weight: 700; }
.product-balance { border-radius: 17px; color: #fff; background: linear-gradient(145deg, #0b47ae, var(--navy-dark)); padding: 20px; display: grid; gap: 4px; }
.product-balance span { color: #c8d9ff; font-size: 12px; }
.product-balance strong { font-size: 28px; line-height: 1.3; letter-spacing: -.5px; }
.product-balance strong small { font-size: 14px; font-weight: 600; }
.product-balance .balance-note { color: #aac5fb; font-size: 10.5px; }
.product-actions { display: grid; grid-template-columns: repeat(3, 1fr); gap: 7px; margin: 14px 0; }
.product-actions span { border: 1px solid var(--border); border-radius: 11px; padding: 9px 4px; display: grid; justify-items: center; gap: 2px; color: #5c6b84; font-size: 10px; font-weight: 700; }
.product-actions b { color: var(--navy); font-size: 16px; line-height: 1; }
.product-activity { border-top: 1px solid var(--border); padding-top: 13px; }
.activity-head { display: flex; justify-content: space-between; font-size: 11px; margin-bottom: 8px; }
.activity-head strong { color: var(--text); } .activity-head span { color: var(--navy); font-weight: 700; }
.activity-row { display: grid; grid-template-columns: 30px 1fr auto; align-items: center; gap: 8px; padding: 9px 0; }
.activity-row > span { display: grid; gap: 1px; } .activity-row b { font-size: 11px; } .activity-row small { color: var(--text-3); font-size: 9px; }
.activity-row > strong { font-size: 11px; color: #3a465b; direction: ltr; } .activity-row > strong.positive { color: #14754a; }
.activity-icon { width: 28px; height: 28px; border-radius: 9px; display: grid; place-items: center; font-size: 14px; font-style: normal; font-weight: 900; }
.activity-icon.transfer { background: #e5efff; color: #1260c2; } .activity-icon.payment { background: #fff4ce; color: #a06a00; }
.product-safe { display: flex; align-items: center; gap: 6px; border-top: 1px solid var(--border); padding-top: 12px; color: #61708a; font-size: 10.5px; }
.product-safe span { width: 16px; height: 16px; border-radius: 50%; display: grid; place-items: center; background: #e9f8ef; color: #187449; font-weight: 900; }

/* ── الأقسام ────────────────────────────────────────────────────── */

.section { padding: 88px 0; }
.section.alt { background: var(--surface); }

.section-head { text-align: center; max-width: 660px; margin: 0 auto 40px; }
.section-head h2 { font-size: clamp(26px, 3.4vw, 38px); line-height: 1.3; margin: 0 0 12px; font-weight: 850; letter-spacing: -.4px; }
.section-head p  { color: var(--text-2); margin: 0; font-size: 16px; }
.section-kicker { display: block; margin-bottom: 10px; color: var(--navy-light); font-size: 12px; font-weight: 800; letter-spacing: .4px; }

.grid { display: grid; gap: 18px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--r);
    padding: 24px;
    box-shadow: var(--shadow);
}

.audience-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.audience-card { display: block; position: relative; overflow: hidden; min-height: 285px; padding: 28px; color: var(--text); text-decoration: none; background: #fff; border: 1px solid #e6eaf1; border-radius: 18px; box-shadow: var(--shadow); transition: transform .18s, box-shadow .18s, border-color .18s; }
.audience-card::after { content:""; position:absolute; width: 160px; height: 160px; border-radius: 50%; left: -70px; bottom: -75px; opacity: .75; }
.audience-card.personal::after { background: #e1ebff; } .audience-card.business::after { background: #fff2c3; } .audience-card.exchange::after { background: #dcefe6; }
.audience-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: #ccd8ef; }
.audience-icon { width: 52px; height: 52px; display: grid; place-items: center; border-radius: 15px; margin-bottom: 24px; }
.personal .audience-icon { background:#e5efff; color:#0751b0; } .business .audience-icon { background:#fff3ce; color:#9e6900; } .exchange .audience-icon { background:#e7f5ec; color:#18704a; }
.audience-icon svg, .feature-icon svg { width: 25px; height: 25px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.audience-label { display: block; color: var(--text-3); font-size: 12px; font-weight: 700; margin-bottom: 5px; }
.audience-card h3 { margin: 0 0 9px; font-size: 22px; font-weight: 800; } .audience-card p { margin: 0; color: var(--text-2); line-height: 1.85; font-size: 14.6px; }
.audience-card .go { position: absolute; z-index: 1; right: 28px; bottom: 24px; color: var(--navy); font-size: 13px; font-weight: 800; } .audience-card .go b { display:inline-block; margin-inline-start:4px; transition: transform .18s; } .audience-card:hover .go b { transform: translateX(-4px); }

.feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.feature-card { padding: 8px 8px 4px; }
.feature-icon { color: var(--navy); width: 47px; height: 47px; display: grid; place-items: center; border-radius: 14px; background: #e9effa; margin-bottom: 18px; }
.feature-card h3 { margin: 0 0 8px; font-size: 17px; font-weight: 800; } .feature-card p { color: var(--text-2); margin:0; font-size: 14px; line-height:1.8; }

.section.alt .card { background: var(--bg); }

.card .ico {
    width: 46px; height: 46px;
    display: grid; place-items: center;
    background: #eef2fb;
    border-radius: 12px;
    font-size: 22px;
    margin-bottom: 14px;
}

.card h3 { margin: 0 0 7px; font-size: 17.5px; font-weight: 700; }
.card p  { margin: 0; color: var(--text-2); font-size: 14.8px; }

/* بطاقة جمهور (رابط كامل) */
.audience {
    display: block;
    text-decoration: none;
    color: inherit;
    transition: box-shadow .15s, transform .15s, border-color .15s;
}
.audience:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-2px);
    border-color: #c9d5f0;
}
.audience .go { display: block; margin-top: 14px; color: var(--navy); font-weight: 700; font-size: 14px; }

/* ── قائمة مزايا ────────────────────────────────────────────────── */

.ticks { list-style: none; padding: 0; margin: 0; }
.ticks li {
    padding-inline-start: 30px;
    position: relative;
    margin-bottom: 11px;
    color: var(--text-2);
    font-size: 15.4px;
}
.ticks li::before {
    content: "✓";
    position: absolute;
    inset-inline-start: 0;
    top: 1px;
    width: 21px; height: 21px;
    display: grid; place-items: center;
    background: #e7f6ec;
    color: #157347;
    border-radius: 50%;
    font-size: 12px;
    font-weight: 700;
}

.system-section { background: linear-gradient(180deg, #f7f9fd 0%, #eef3fb 100%); }
.system-grid { display:grid; grid-template-columns: 1fr .92fr; gap: clamp(34px, 7vw, 100px); align-items:center; }
.system-copy h2 { font-size:clamp(28px,3.7vw,42px); line-height:1.3; margin:0 0 16px; letter-spacing:-.5px; } .system-copy > p { margin:0 0 23px; color:var(--text-2); font-size:16px; }
.operation-panel { padding: 26px; background:#fff; border:1px solid #e1e7f1; border-radius:20px; box-shadow:var(--shadow-lg); }
.operation-title { display:flex; align-items:center; justify-content:space-between; padding-bottom:21px; border-bottom:1px solid var(--border); font-size:15px; font-weight:800; }
.operation-title i { padding:4px 9px; color:#14754a; background:#e9f8ef; border-radius:999px; font-size:10px; font-style:normal; }
.operation-flow { display:flex; align-items:center; justify-content:space-between; gap:7px; padding:24px 0; }
.flow-node { flex:1; min-width:0; padding:9px 4px; text-align:center; color:#5e6e87; background:#f3f6fb; border-radius:9px; font-size:11px; font-weight:700; } .flow-node.active { color:#fff; background:var(--navy); } .operation-flow > b { width:14px; height:1px; background:#c9d5e7; }
.operation-line { display:grid; grid-template-columns: 1fr auto 9px; align-items:center; gap:10px; padding:13px 0; border-top:1px solid #eef1f5; color:#56657b; font-size:12px; } .operation-line strong { color:#15704a; font-size:10.5px; } .operation-line i { width:8px; height:8px; display:block; border-radius:50%; background:#32b36b; }

/* ── أرقام ──────────────────────────────────────────────────────── */

.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; text-align: center; }
.stat b { display: block; font-size: 30px; color: var(--navy); font-weight: 800; line-height: 1.3; }
.stat span { color: var(--text-2); font-size: 14px; }

/* ── الأسئلة ────────────────────────────────────────────────────── */

.qa {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--r);
    padding: 4px 20px;
    margin-bottom: 12px;
}
.qa summary {
    cursor: pointer;
    font-weight: 700;
    padding: 16px 0;
    font-size: 16px;
    list-style: none;
}
.qa summary::-webkit-details-marker { display: none; }
.qa summary::before { content: "＋"; color: var(--navy); margin-inline-end: 10px; font-weight: 700; }
.qa[open] summary::before { content: "－"; }
.qa p { margin: 0 0 18px; color: var(--text-2); font-size: 15px; }

/* ── نداء أخير ──────────────────────────────────────────────────── */

.cta-band {
    background: linear-gradient(160deg, var(--navy) 0%, var(--navy-dark) 100%);
    color: #fff;
    border-radius: var(--r-lg);
    padding: 46px 34px;
    text-align: center;
}
.cta-band > span { display:block; color:var(--gold); font-size:12px; font-weight:800; margin-bottom:10px; }
.cta-band h2 { margin: 0 0 10px; font-size: clamp(22px, 3.2vw, 29px); font-weight: 800; }
.cta-band p  { color: #cfe0ff; margin: 0 0 24px; }
.cta-band .cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ── الذيل ──────────────────────────────────────────────────────── */

.site-foot {
    background: var(--navy-dark);
    color: #b9c6e6;
    padding: 48px 0 26px;
    margin-top: 66px;
    font-size: 14.5px;
}
.site-foot .cols { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 30px; }
.site-foot h4 { color: #fff; font-size: 15px; margin: 0 0 12px; font-weight: 700; }
.site-foot a  { color: #b9c6e6; text-decoration: none; display: block; margin-bottom: 8px; }
.site-foot a:hover { color: var(--gold); }
.footer-brand { display:flex; align-items:center; gap:10px; color:#fff; font-weight:800; font-size:19px; margin-bottom:12px; }
.footer-brand img { width:40px; height:40px; border-radius:10px; object-fit:cover; }
.footer-brand span { display:grid; line-height:1.1; } .footer-brand small { direction:ltr; color:#8da2cf; font-size:8px; letter-spacing:1.2px; margin-top:4px; }
.site-foot .note  { color: #7f90b8; font-size: 13.5px; line-height: 1.9; }
.site-foot .bar {
    border-top: 1px solid rgba(255,255,255,.12);
    margin-top: 34px; padding-top: 18px;
    display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap;
    color: #7f90b8; font-size: 13.5px;
}

/* ── صفحة داخليّة ───────────────────────────────────────────────── */

.page-head {
    background: linear-gradient(160deg, var(--navy) 0%, var(--navy-dark) 100%);
    color: #fff;
    padding: 54px 0;
}
.page-head h1 { margin: 0 0 8px; font-size: clamp(25px, 4vw, 36px); font-weight: 800; }
.page-head p  { margin: 0; color: #cfe0ff; max-width: 640px; }

.prose { max-width: 780px; }
.prose h2 { font-size: 21px; margin: 34px 0 10px; font-weight: 800; }
.prose h3 { font-size: 17.5px; margin: 24px 0 8px; font-weight: 700; }
.prose p, .prose li { color: var(--text-2); font-size: 15.6px; }
.prose ul { padding-inline-start: 22px; }

/* ── الدخول ─────────────────────────────────────────────────────── */

.auth-page {
    min-height: 100vh;
    display: grid;
    place-items: center;
    padding: 30px 20px;
    background:
        radial-gradient(900px 420px at 82% -14%, rgba(254,202,30,.18), transparent 60%),
        linear-gradient(160deg, var(--navy) 0%, var(--navy-dark) 100%);
}

.auth-card {
    background: var(--surface);
    border-radius: var(--r-lg);
    padding: 34px 30px;
    width: 100%;
    max-width: 430px;
    box-shadow: 0 22px 60px rgba(0,0,0,.28);
}
.auth-card .logo { justify-content: center; font-size: 23px; margin-bottom: 4px; }
.auth-card .sub { text-align: center; color: var(--text-2); font-size: 14.5px; margin-bottom: 24px; }

.field { margin-bottom: 16px; }
.field label { display: block; font-size: 14px; font-weight: 700; margin-bottom: 6px; }
.field .hint { color: var(--text-3); font-size: 12.8px; margin-top: 5px; }

.input {
    width: 100%;
    padding: 12px 14px;
    border: 1.5px solid var(--border);
    border-radius: 11px;
    font-size: 15.5px;
    font-family: inherit;
    background: #fff;
    color: var(--text);
}
.input:focus { outline: none; border-color: var(--navy-light); box-shadow: 0 0 0 3px rgba(29,79,184,.14); }

.alert {
    border-radius: 11px;
    padding: 12px 14px;
    font-size: 14.4px;
    margin-bottom: 16px;
    line-height: 1.85;
}
.alert-error { background: #fdeaea; border-inline-start: 4px solid var(--red); color: #8a1010; }
.alert-info  { background: #eef2fb; border-inline-start: 4px solid var(--navy); color: #1c2f63; }

.captcha-row { display: flex; gap: 10px; align-items: center; }
.captcha-row img { border-radius: 8px; border: 1px solid var(--border); }

.check { display: flex; align-items: center; gap: 8px; font-size: 14.2px; color: var(--text-2); margin-bottom: 20px; }

.auth-foot { text-align: center; margin-top: 22px; font-size: 13.6px; color: var(--text-3); line-height: 2; }
.auth-foot a { color: var(--navy); font-weight: 600; }

/* ── استجابة الشاشات ────────────────────────────────────────────── */

@media (max-width: 900px) {
    .grid-4 { grid-template-columns: repeat(2, 1fr); }
    .grid-3 { grid-template-columns: repeat(2, 1fr); }
    .hero-grid, .system-grid { grid-template-columns: 1fr; }
    .product-frame { max-width: 460px; width: 100%; margin: 8px auto 0; }
    .feature-grid { grid-template-columns: repeat(2, 1fr); gap: 26px 18px; }
    .site-foot .cols { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
    .nav-toggle { display: block; }
    .nav {
        display: none;
        position: absolute;
        inset-inline: 12px;
        top: 70px;
        background: #fff;
        border: 1px solid var(--border);
        border-radius: var(--r);
        box-shadow: var(--shadow-lg);
        flex-direction: column;
        align-items: stretch;
        padding: 10px;
        gap: 2px;
    }
    .nav.open { display: flex; }
    .nav a { padding: 11px 12px; }
    .nav .btn { margin-top: 6px; }

    .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
    .audience-grid, .feature-grid { grid-template-columns: 1fr; }
    .stats { grid-template-columns: 1fr; }
    .site-foot .cols { grid-template-columns: 1fr; }
    .hero { padding: 54px 0 62px; }
    .hero h1 { font-size: clamp(35px, 11vw, 48px); }
    .hero-trust { display:grid; gap:8px; }
    .product-frame { transform:none; margin-top:18px; }
    .product-frame::after { display:none; }
    .section { padding: 64px 0; }
    .cta-band { padding: 36px 22px; }
}

/* ── بوّابات صفحة الدخول: إخبارٌ لا اختيار ─────────────────────── */

.portals {
    margin-top: 24px;
    border-top: 1px solid var(--border);
    padding-top: 18px;
}
.portals-t {
    font-size: 12.5px;
    color: var(--text-3);
    font-weight: 700;
    margin-bottom: 12px;
}
.portal {
    display: flex;
    gap: 11px;
    align-items: flex-start;
    padding: 9px 11px;
    border-radius: 10px;
    background: #f7f9fd;
    margin-bottom: 7px;
}
.portal span { font-size: 18px; line-height: 1.5; }
a.portal {
    text-decoration: none;
    color: inherit;
    transition: background .13s, transform .13s;
}
a.portal:hover { background: #eef2fb; transform: translateX(-2px); }
.portal em {
    margin-inline-start: auto;
    align-self: center;
    font-style: normal;
    color: var(--navy);
    font-weight: 700;
}
.portal b { display: block; font-size: 14px; color: var(--text); }
.portal small { display: block; font-size: 12.3px; color: var(--text-3); direction: ltr; text-align: start; }
.portal.muted { background: transparent; border: 1px dashed var(--border); }

/* بابُ الإدارة في الترويسة — ظاهرٌ لا بارز: جمهورُه موظّفو أميال باي. */
.nav-admin {
    font-size: 13.5px !important;
    color: var(--text-3) !important;
    border: 1px solid var(--border);
}
.nav-admin:hover { color: var(--navy) !important; border-color: #c9d5f0; }
