/*
 * ==========================================================================
 * هيكل الصفحات ذات الترويسة الزرقاء - الفروع والتقارير
 * ==========================================================================
 *
 * ⚠ ورقة مشتركة بين صفحتين.
 *
 * ترويسة متدرجة وبطاقة عائمة فوقها، وبطاقات وشارات وأزرار ونوافذ سفلية
 * واحدة في الصفحتين - فتغيير شكل أحدها يغير الأخرى معا.
 *
 * ⚠ وتعرف المتغيرات القديمة (--surface وأخواتها) أيضا.
 *
 * فشريط التنقل السفلي ولوحة الدردشة يقرآنها من الصفحة المضيفة، وبلاها
 * يفقدان ألوانهما.
 */

:root {
    --warning: #F39A22; --primary-2: #5b93ee; --surface-2: #192545;
    --bg-1: #0a0f1c; --surface: #131d33; --border: #23304f;
    --text: #eef2f8; --text-dim: #8892ab; --primary: #3978E8; --success: #20A866; --danger: #D94343;

    --fx-bg: #0a0f1c; --fx-sf: #131d33; --fx-sf2: #192545; --fx-bd: #23304f;
    --fx-tx: #eef2f8; --fx-dm: #9aa4bc; --fx-ac: #7aa8f7;
    --fx-tint: rgba(91,147,238,.18);
    --fx-hero1: #14245a; --fx-hero2: #2a55b4;
    --fx-shadow: 0 14px 30px -16px rgba(0,0,0,.75);
    --fx-okt: #52d695; --fx-okb: rgba(32,168,102,.20);
    --fx-nt: #ff8585;  --fx-nb: rgba(217,67,67,.18);
    --fx-wt: #f6b45a;  --fx-wb: rgba(243,154,34,.20);
}

html[data-theme="light"] {
    --surface-2: #F4F7FC;
    --bg-1: #F4F7FC; --surface: #ffffff; --border: #e2e8f5;
    --text: #172033; --text-dim: #697386; --primary: #3978E8; --success: #20A866; --danger: #D94343;

    --fx-bg: #F4F7FC; --fx-sf: #ffffff; --fx-sf2: #F4F7FC; --fx-bd: #e2e8f5;
    --fx-tx: #172033; --fx-dm: #697386; --fx-ac: #2f68d6;
    --fx-tint: rgba(57,120,232,.12);
    --fx-hero1: #2a5bc0; --fx-hero2: #4d88f2;
    --fx-shadow: 0 14px 30px -16px rgba(23,32,51,.30);
    --fx-okt: #14804b; --fx-okb: rgba(32,168,102,.14);
    --fx-nt: #c23030;  --fx-nb: rgba(217,67,67,.10);
    --fx-wt: #955500;  --fx-wb: rgba(243,154,34,.18);
}

* { box-sizing: border-box; }

html { background: var(--fx-bg); -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }

body {
    margin: 0;
    min-height: 100vh;
    background: var(--fx-bg);
    color: var(--fx-tx);
    font-family: 'Tajawal', 'Cairo', 'TajawalFallback', 'Segoe UI', Tahoma, 'Noto Sans Arabic', Arial, sans-serif;
    -webkit-tap-highlight-color: transparent;
}

button, input, select { font-family: inherit; }
button { cursor: pointer; }
svg { display: block; }
a { color: inherit; }

.fx-wrap { max-width: 460px; margin: 0 auto; padding-bottom: 12px; }

/* ───────────── الترويسة ───────────── */

.fx-hero {
    position: relative;
    overflow: hidden;
    min-height: 150px;
    padding: calc(env(safe-area-inset-top, 0px) + 18px) 20px 0;
    background: linear-gradient(160deg, var(--fx-hero1), var(--fx-hero2));
    border-radius: 0 0 34px 34px;
    color: #fff;
}

.fx-hero::before,
.fx-hero::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}

.fx-hero::before { top: -70px; inset-inline-start: -60px; width: 210px; height: 210px; background: rgba(255,255,255,.07); }
.fx-hero::after  { bottom: -60px; inset-inline-end: -70px; width: 190px; height: 190px; background: rgba(255,255,255,.05); }

.fx-hero-row { position: relative; z-index: 1; display: flex; align-items: center; gap: 12px; }

.fx-hero-t { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 5px; }

.fx-hero-t h1 {
    margin: 0;
    font-size: 23px;
    font-weight: 800;
    color: #fff;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.fx-hero-s {
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: 13px;
    font-weight: 700;
    color: rgba(255,255,255,.82);
    min-height: 18px;
}

.fx-glass {
    flex: 0 0 auto;
    width: 40px;
    height: 40px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    color: #fff;
    background: rgba(255,255,255,.16);
    border: 1px solid rgba(255,255,255,.28);
    text-decoration: none;
}

.fx-glass svg { width: 20px; height: 20px; }
.fx-glass.spin svg { animation: fx-rot .9s linear infinite; }

@keyframes fx-rot { to { transform: rotate(360deg); } }

.fx-spin {
    width: 12px; height: 12px; border-radius: 50%;
    border: 2px solid rgba(255,255,255,.35); border-top-color: #fff;
    animation: fx-rot .8s linear infinite;
}

.fx-spin[hidden] { display: none; }
.fx-empty[hidden] { display: none; }

/* ───────────── البطاقات ───────────── */

.fx-card {
    margin: 14px 16px 0;
    padding: 16px;
    background: var(--fx-sf);
    border: 1px solid var(--fx-bd);
    border-radius: 26px;
    box-shadow: var(--fx-shadow);
}

.fx-float { position: relative; z-index: 2; margin-top: -34px; }

.fx-row { display: flex; align-items: center; gap: 12px; }
.fx-grow { flex: 1; min-width: 0; }

.fx-tile {
    flex: 0 0 auto;
    width: 44px; height: 44px;
    border-radius: 15px;
    display: flex; align-items: center; justify-content: center;
    color: var(--fx-ac);
    background: var(--fx-tint);
}

.fx-tile svg { width: 22px; height: 22px; }
.fx-tile.sm { width: 38px; height: 38px; border-radius: 13px; }
.fx-tile.sm svg { width: 19px; height: 19px; }
.fx-tile.ok  { color: var(--fx-okt); background: var(--fx-okb); }
.fx-tile.bad { color: var(--fx-nt);  background: var(--fx-nb); }
.fx-tile.wr  { color: var(--fx-wt);  background: var(--fx-wb); }
.fx-tile.dm  { color: var(--fx-dm);  background: var(--fx-sf2); }

.fx-t1 { font-size: 16px; font-weight: 800; color: var(--fx-tx); }
.fx-t2 { font-size: 12px; font-weight: 800; color: var(--fx-dm); }

.fx-pill {
    flex: 0 0 auto;
    display: inline-flex; align-items: center; gap: 5px;
    height: 26px; padding: 0 11px;
    border-radius: 999px;
    font-size: 11.5px; font-weight: 800;
    white-space: nowrap;
    color: var(--fx-ac); background: var(--fx-tint);
}

.fx-pill svg { width: 13px; height: 13px; }
.fx-pill.ok  { color: var(--fx-okt); background: var(--fx-okb); }
.fx-pill.bad { color: var(--fx-nt);  background: var(--fx-nb); }
.fx-pill.wr  { color: var(--fx-wt);  background: var(--fx-wb); }
.fx-pill.dm  { color: var(--fx-dm);  background: var(--fx-sf2); }

/* ───────────── خلايا الأرقام ───────────── */

.fx-strip {
    display: flex;
    margin-top: 12px;
    border-radius: 18px;
    background: var(--fx-sf2);
    border: 1px solid var(--fx-bd);
    overflow: hidden;
}

.fx-strip > div {
    flex: 1; min-width: 0;
    padding: 11px 4px 10px;
    display: flex; flex-direction: column; align-items: center; gap: 4px;
}

.fx-strip > div + div { border-inline-start: 1px solid var(--fx-bd); }

.fx-strip b { font-size: 18px; font-weight: 800; line-height: 1; color: var(--fx-tx); }
.fx-strip b.ac { color: var(--fx-ac); }
.fx-strip b.wr { color: var(--fx-wt); }
.fx-strip b.ok { color: var(--fx-okt); }
.fx-strip small { font-size: 11.5px; font-weight: 800; color: var(--fx-dm); white-space: nowrap; }

.fx-gone { font-style: normal; font-size: 10.5px; font-weight: 800; color: var(--fx-wt); margin-inline-start: 3px; }

.fx-tiles { display: flex; gap: 8px; margin-top: 12px; }

.fx-m {
    flex: 1 1 0; min-width: 0;
    padding: 11px 4px 10px;
    border-radius: 17px;
    background: var(--fx-sf2);
    border: 1px solid var(--fx-bd);
    display: flex; flex-direction: column; align-items: center; gap: 3px;
}

.fx-m small { font-size: 11.5px; font-weight: 800; white-space: nowrap; color: var(--fx-ac); }
.fx-m small.ok { color: var(--fx-okt); }
.fx-m small.wr { color: var(--fx-wt); }
.fx-m b { max-width: 100%; font-size: 16px; font-weight: 800; white-space: nowrap; color: var(--fx-tx); direction: ltr; }

.fx-bar { margin-top: 12px; }

.fx-bar-l {
    display: flex; justify-content: space-between; gap: 8px;
    margin-bottom: 6px;
    font-size: 11.5px; font-weight: 800; color: var(--fx-dm);
}

.fx-track {
    height: 8px; border-radius: 99px;
    background: var(--fx-sf2); border: 1px solid var(--fx-bd);
    overflow: hidden;
}

.fx-track i {
    display: block; height: 100%;
    border-radius: 99px;
    background: linear-gradient(90deg, #5b93ee, #3978E8);
}

.fx-track.ok i { background: linear-gradient(90deg, #34c585, #14804b); }

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

.fx-acts { display: flex; gap: 8px; margin-top: 14px; }

.fx-btn {
    flex: 1 1 0; min-width: 0;
    height: 48px;
    padding: 0 12px;
    border: 0;
    border-radius: 16px;
    display: flex; align-items: center; justify-content: center; gap: 8px;
    font-size: 14px; font-weight: 800;
    white-space: nowrap;
    text-decoration: none;
    color: var(--fx-tx);
    background: var(--fx-sf);
    border: 1.5px solid var(--fx-bd);
}

.fx-btn svg { width: 18px; height: 18px; flex: 0 0 auto; }
.fx-btn.w15 { flex-grow: 1.5; }
.fx-btn.w17 { flex-grow: 1.7; }
.fx-btn.sm { height: 44px; border-radius: 14px; }

.fx-btn.p { color: #fff; border-color: transparent; background: linear-gradient(135deg, #5b93ee, #3978E8); box-shadow: 0 12px 22px -12px rgba(57,120,232,.9); }
.fx-btn.g { color: #fff; border-color: transparent; background: linear-gradient(135deg, #34c585, #14804b); box-shadow: 0 12px 22px -12px rgba(20,128,75,.85); }
.fx-btn.d { color: #fff; border-color: transparent; background: linear-gradient(135deg, #e25b5b, #c23030); box-shadow: 0 12px 22px -12px rgba(194,48,48,.85); }
.fx-btn.t { color: var(--fx-ac); border-color: transparent; background: var(--fx-tint); }
.fx-btn.od { color: var(--fx-nt); border-color: transparent; background: var(--fx-nb); }
.fx-btn[disabled] { opacity: .55; pointer-events: none; }

/*
 * ⚠ أزرار البطاقات المتجاورة (تسجيل دفعة | كشف الحساب، تسجيل دفعة | تصفير الحساب).
 *
 * الكلمة الثانية أعرض من الزرار فتطلع منه. فالخط والأيقونة والحشو أصغر،
 * والزران بنفس العرض، وتحت 340 تختفي الأيقونة. ولا يمس أزرار النوافذ (.fx-sheet).
 */
.fx-card .fx-acts .fx-btn { padding: 0 8px; gap: 5px; font-size: 12.5px; }
.fx-card .fx-acts .fx-btn svg { width: 15px; height: 15px; }
.fx-card .fx-acts .fx-btn.w15, .fx-card .fx-acts .fx-btn.w17 { flex-grow: 1; }

@media (max-width: 380px) {
    .fx-card .fx-acts .fx-btn { padding: 0 6px; font-size: 12px; }
}

@media (max-width: 340px) {
    .fx-card .fx-acts .fx-btn svg { display: none; }
}

.fx-ico-btn {
    flex: 0 0 44px; width: 44px; height: 44px;
    border-radius: 14px;
    display: flex; align-items: center; justify-content: center;
    padding: 0;
    color: var(--fx-dm);
    background: var(--fx-sf);
    border: 1.5px solid var(--fx-bd);
}

.fx-ico-btn svg { width: 20px; height: 20px; }

/* ───────────── بحث ومرشحات وعناوين ───────────── */

.fx-search {
    margin: 16px 16px 0;
    display: flex; align-items: center; gap: 10px;
    height: 52px; padding: 0 16px;
    background: var(--fx-sf);
    border: 1px solid var(--fx-bd);
    border-radius: 18px;
    box-shadow: var(--fx-shadow);
    color: var(--fx-dm);
}

.fx-search svg { width: 20px; height: 20px; flex: 0 0 auto; }

.fx-search input {
    flex: 1; min-width: 0;
    border: 0; outline: 0; background: transparent;
    font-size: 14px; font-weight: 700;
    color: var(--fx-tx);
}

.fx-search input::placeholder { color: var(--fx-dm); }

.fx-chips {
    display: flex; gap: 8px;
    margin: 14px 16px 0;
    overflow-x: auto;
    scrollbar-width: none;
}

.fx-chips::-webkit-scrollbar { display: none; }

.fx-chip {
    flex: 0 0 auto;
    height: 38px; padding: 0 14px;
    display: inline-flex; align-items: center; gap: 8px;
    border-radius: 999px;
    border: 1px solid var(--fx-bd);
    background: var(--fx-sf);
    font-size: 13px; font-weight: 800;
    color: var(--fx-dm);
}

.fx-chip u {
    text-decoration: none;
    min-width: 20px; height: 20px; padding: 0 6px;
    display: inline-flex; align-items: center; justify-content: center;
    border-radius: 99px;
    font-size: 11px;
    background: var(--fx-sf2); color: var(--fx-dm);
}

.fx-chip.on { color: #fff; border-color: transparent; background: var(--fx-ac); }
.fx-chip.on u { color: var(--fx-ac); background: #fff; }

.fx-sec {
    display: flex; align-items: center; gap: 8px;
    margin: 24px 22px 0;
    font-size: 13.5px; font-weight: 800; color: var(--fx-dm);
}

.fx-sec svg { width: 17px; height: 17px; flex: 0 0 auto; }
.fx-sec span { flex: 1; }
.fx-sec small { font-size: 12px; font-weight: 800; }

.fx-list { margin: 10px 16px 0; padding: 2px 16px; background: var(--fx-sf); border: 1px solid var(--fx-bd); border-radius: 26px; box-shadow: var(--fx-shadow); }
.fx-list > .fx-li { display: flex; align-items: center; gap: 12px; padding: 12px 0; }
.fx-list > .fx-li + .fx-li { border-top: 1px solid var(--fx-bd); }

.fx-li-t { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.fx-li-t b { font-size: 13.5px; font-weight: 800; }
.fx-li-t small { font-size: 11.5px; font-weight: 700; color: var(--fx-dm); }

.fx-amt { font-size: 16px; font-weight: 800; direction: ltr; }
.fx-amt.ok { color: var(--fx-okt); }
.fx-amt.bad { color: var(--fx-nt); }

.fx-empty {
    margin: 14px 16px 0;
    padding: 26px 18px;
    display: flex; flex-direction: column; align-items: center; gap: 12px;
    text-align: center;
    background: var(--fx-sf);
    border: 1px solid var(--fx-bd);
    border-radius: 26px;
    box-shadow: var(--fx-shadow);
}

.fx-empty .fx-tile { width: 64px; height: 64px; border-radius: 22px; }
.fx-empty .fx-tile svg { width: 30px; height: 30px; }
.fx-empty b { font-size: 16px; font-weight: 800; }
.fx-empty .fx-btn { width: 100%; flex: none; }

/* ───────────── شريط الحالة ───────────── */

/* ⚠ شريط حالة رفيع موحد: ايقونة · عنوان + سطر قصير · زر. ألوانه فاتحة هادئة (ازرق افتراضي · اخضر ok · اصفر wr · احمر bad) */
.fx-toast {
    --tb: #cfdcf7; --tg: #eef3ff; --tt: #2a52b0; --ti: #3978e8;
    position: relative;
    margin: 12px 16px 0;
    padding: 8px 14px;
    min-height: 56px; box-sizing: border-box;
    display: flex; align-items: center; gap: 12px;
    overflow: hidden;
    background: var(--tg);
    border: 1px solid var(--tb);
    border-radius: 14px;
    box-shadow: none;
    color: var(--tt);
}
.fx-toast.ok  { --tb: #bfe8d1; --tg: #e9f8f0; --tt: #12794a; --ti: #20a866; }
.fx-toast.wr  { --tb: #f1e3b9; --tg: #fff8e6; --tt: #8a6410; --ti: #d9a21b; }
.fx-toast.bad { --tb: #f3cfd6; --tg: #fff0f2; --tt: #9b2f3f; --ti: #d94a5c; }
html:not([data-theme="light"]) .fx-toast { --tb: rgba(57, 120, 232, .34); --tg: rgba(57, 120, 232, .14); --tt: #b5cdfb; }
html:not([data-theme="light"]) .fx-toast.ok  { --tb: rgba(32, 168, 102, .34); --tg: rgba(32, 168, 102, .13); --tt: #86e2b3; }
html:not([data-theme="light"]) .fx-toast.wr  { --tb: rgba(217, 162, 27, .32); --tg: rgba(217, 162, 27, .12); --tt: #f4d98a; }
html:not([data-theme="light"]) .fx-toast.bad { --tb: rgba(217, 74, 92, .34); --tg: rgba(217, 74, 92, .13); --tt: #ffb3bf; }
.fx-toast .fx-tile { flex: 0 0 36px; width: 36px; height: 36px; border-radius: 11px; box-sizing: border-box; color: var(--ti); background: #fff; border: 1px solid var(--tb); }
.fx-toast .fx-tile svg { width: 20px; height: 20px; }
html:not([data-theme="light"]) .fx-toast .fx-tile { background: rgba(255, 255, 255, .08); }

.fx-toast-t { flex: 1; min-width: 0; display: flex; flex-direction: row; flex-wrap: wrap; align-items: center; gap: 2px 10px; }
.fx-toast-t b { font-size: 14px; font-weight: 800; line-height: 1.55; }
.fx-toast-t small { font-size: 12.5px; font-weight: 600; line-height: 1.6; color: inherit; opacity: .85; }
.fx-toast[hidden] { display: none; }

.fx-undo {
    flex: 0 0 auto;
    display: inline-flex; align-items: center; gap: 7px;
    height: 38px; padding: 0 15px;
    border-radius: 11px;
    font-size: 13px; font-weight: 800;
    color: var(--tt, var(--fx-ac)); background: #fff; border: 1px solid var(--tb, transparent);
}
html:not([data-theme="light"]) .fx-undo { background: rgba(255, 255, 255, .08); }

.fx-undo svg { width: 16px; height: 16px; }
.fx-undo[disabled] { opacity: .55; }

/* ───────────── النوافذ السفلية ───────────── */

.fx-modal { position: fixed; inset: 0; z-index: 1000; display: none; }
.fx-modal.on { display: block; }

.fx-back { position: absolute; inset: 0; background: rgba(8,13,26,.58); }

.fx-sheet {
    position: absolute; left: 0; right: 0; bottom: 0;
    max-width: 460px; margin: 0 auto;
    max-height: 92vh; overflow-y: auto;
    padding: 10px 18px calc(24px + env(safe-area-inset-bottom, 0px));
    background: var(--fx-sf);
    border-top: 1px solid var(--fx-bd);
    border-radius: 30px 30px 0 0;
    box-shadow: 0 -24px 50px -20px rgba(0,0,0,.5);
    animation: fx-up .22s ease-out;
}

@keyframes fx-up { from { transform: translateY(40px); opacity: .4; } to { transform: none; opacity: 1; } }

.fx-grip { display: block; width: 44px; height: 5px; border-radius: 99px; background: var(--fx-bd); margin: 0 auto 14px; }

.fx-sh-head { display: flex; align-items: center; gap: 12px; }
.fx-sh-head h3 { margin: 0; font-size: 18px; font-weight: 800; }
.fx-sh-head small { display: block; margin-top: 2px; font-size: 12.5px; font-weight: 700; color: var(--fx-dm); }

.fx-x {
    flex: 0 0 auto; width: 38px; height: 38px;
    border: 0; border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    color: var(--fx-dm); background: var(--fx-sf2);
}

.fx-x svg { width: 18px; height: 18px; }

.fx-fl { display: flex; flex-direction: column; gap: 6px; margin-top: 12px; }
.fx-fl label { font-size: 12px; font-weight: 800; color: var(--fx-dm); }

.fx-in {
    height: 50px; padding: 0 14px;
    display: flex; align-items: center; gap: 8px;
    border-radius: 15px;
    border: 1.5px solid var(--fx-bd);
    background: var(--fx-sf2);
}

.fx-in input, .fx-in select {
    flex: 1; min-width: 0;
    border: 0; outline: 0; background: transparent;
    font-size: 15px; font-weight: 700;
    color: var(--fx-tx);
}

.fx-in select { flex: 0 0 auto; max-width: 104px; padding-inline-end: 8px; margin-inline-end: 8px; border-inline-end: 1px solid var(--fx-bd); font-size: 14px; }
.fx-in .sfx { flex: 0 0 auto; font-size: 13px; font-weight: 800; color: var(--fx-dm); }
.fx-in.err { border-color: var(--fx-nt); }

.fx-in input::placeholder { color: var(--fx-dm); font-weight: 700; }

.fx-er {
    display: none;
    align-items: center; gap: 6px;
    font-size: 12.5px; font-weight: 800; color: var(--fx-nt);
}

.fx-er svg { width: 15px; height: 15px; flex: 0 0 auto; }
.fx-er.on { display: flex; }

.fx-facts {
    margin-top: 14px; padding: 0 14px;
    border-radius: 18px;
    background: var(--fx-sf2);
    border: 1px solid var(--fx-bd);
}

.fx-fact { display: flex; align-items: center; gap: 8px; min-height: 46px; }
.fx-fact + .fx-fact { border-top: 1px solid var(--fx-bd); }
.fx-fact svg { width: 16px; height: 16px; color: var(--fx-dm); flex: 0 0 auto; }
.fx-fact span { flex: 1; font-size: 13.5px; font-weight: 800; color: var(--fx-dm); }
.fx-fact b { font-size: 15.5px; font-weight: 800; }
.fx-fact b.ok { color: var(--fx-okt); }
.fx-fact b.wr { color: var(--fx-wt); }
.fx-fact b.ac { color: var(--fx-ac); }

.fx-choices { display: flex; flex-direction: column; gap: 10px; margin-top: 14px; }

.fx-choice {
    display: flex; align-items: center; gap: 12px;
    width: 100%;
    padding: 14px;
    text-align: start;
    border-radius: 18px;
    border: 1.5px solid var(--fx-bd);
    background: var(--fx-sf2);
    color: var(--fx-tx);
}

.fx-choice .rg {
    flex: 0 0 auto; width: 24px; height: 24px;
    border-radius: 50%;
    border: 2px solid var(--fx-bd);
    display: flex; align-items: center; justify-content: center;
    color: #fff;
}

.fx-choice .rg svg { width: 14px; height: 14px; opacity: 0; }
.fx-choice b { flex: 1; font-size: 14.5px; font-weight: 800; }
.fx-choice em { font-style: normal; font-size: 15px; font-weight: 800; direction: ltr; color: var(--fx-okt); }
.fx-choice.on { border-color: var(--fx-ac); background: var(--fx-tint); }
.fx-choice.on .rg { background: var(--fx-ac); border-color: var(--fx-ac); }
.fx-choice.on .rg svg { opacity: 1; }

.fx-menu { display: flex; flex-direction: column; gap: 4px; margin-top: 10px; }

.fx-menu button {
    display: flex; align-items: center; gap: 12px;
    height: 54px; padding: 0 12px;
    border: 0; border-radius: 16px;
    background: transparent;
    font-size: 15px; font-weight: 800;
    color: var(--fx-tx);
    text-align: start;
}

.fx-menu button svg { width: 20px; height: 20px; color: var(--fx-dm); }
.fx-menu button.bad { color: var(--fx-nt); }
.fx-menu button.bad svg { color: var(--fx-nt); }
.fx-menu button:active { background: var(--fx-sf2); }

.fx-msg {
    display: none;
    margin: 14px 16px 0;
    padding: 11px 14px;
    border-radius: 14px;
    font-size: 12.5px; font-weight: 800;
    color: var(--fx-nt); background: var(--fx-nb);
}

.fx-msg.on { display: block; }

.fx-ltr { direction: ltr; unicode-bidi: isolate; }

@media (max-width: 359px) {
    .fx-hero-t h1 { font-size: 20px; }
    .fx-btn { font-size: 13px; padding: 0 8px; }
    .fx-strip b { font-size: 16px; }
}
