        /* لازم width صريح (مش auto) عشان انتقال العرض للسايدبار (200px)
           يقدر يتحرّك بسلاسة — CSS مقدرش يعمل transition من auto */
        .app-container { width: 100%; }

        #top-controls {
            position: fixed;
            top: 18px;
            left: 18px;
            z-index: 999;
            display: flex;
            gap: 8px;
            /* نثبّت اتجاه مجموعة أزرار التحكم LTR عشان ماتقلبش وتتحرك الأزرار
               من مكانها لما نبدّل لغة الصفحة لـ RTL (عربي) */
            direction: ltr;
        }
        #lang-btn, #help-btn, #theme-btn {
            padding: 7px 16px;
            background: rgba(255, 255, 255, 0.08);
            border: 1px solid rgba(255, 255, 255, 0.2);
            border-radius: 20px;
            color: #e0e0ff;
            font-family: 'Tajawal', sans-serif;
            font-size: 0.82rem;
            font-weight: 500;
            cursor: pointer;
            backdrop-filter: blur(10px);
            -webkit-backdrop-filter: blur(10px);
            transition: background 0.3s, border-color 0.3s, color 0.3s, transform 0.2s;
            letter-spacing: 0.5px;
        }
        #lang-btn:hover, #help-btn:hover, #theme-btn:hover {
            background: rgba(0, 210, 255, 0.15);
            border-color: rgba(0, 210, 255, 0.5);
            color: #00d2ff;
            transform: translateY(-1px);
        }
        #help-btn { font-size: 1rem; padding: 7px 12px; }
        #theme-btn { font-size: 1rem; padding: 6px 11px; line-height: 1; }

        #help-panel {
            position: fixed;
            top: 66px;
            left: 18px;
            z-index: 999;
            width: 300px;
            max-width: calc(100vw - 36px);
            background: rgba(18, 20, 34, 0.96);
            border: 1px solid rgba(255, 255, 255, 0.15);
            border-radius: 12px;
            padding: 16px 18px;
            box-shadow: 0 8px 25px rgba(0, 0, 0, 0.45);
            color: #e0e0ff;
        }
        .help-panel-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
        .help-panel-header h3 { font-size: 1rem; color: #00d2ff; }
        #help-close-btn { background: none; border: none; color: #e0e0ff; font-size: 1.2rem; cursor: pointer; line-height: 1; }
        #help-list { padding-inline-start: 18px; font-size: 0.82rem; line-height: 1.8; color: #cfd0e6; }

        /* ══════════════════════════════════════
           وضع "الصفحة مفتوحة جوّه frame" — الشبكة
           بتتحول لسايدبار وبيفتح جنبها iframe.
           اللاي-أوت ده (سايدبار + iframe) ثابت LTR دايماً بغض
           النظر عن لغة الواجهة، عشان السايدبار يفضل شمال ثابت.
        ══════════════════════════════════════ */
        body.framed {
            flex-direction: row;
            align-items: stretch;
            justify-content: flex-start;
            overflow: visible;
            direction: ltr;
        }
        /* السايدبار (وضع الفريم): overlay مخفي على الشمال، بيظهر بمرور الماوس على
           الحافة (ديسكتوب) أو بالزر (موبايل). مش بياخد أي مساحة من الـ iframe. */
        body.framed .app-container {
            position: fixed;
            left: 0;
            top: 0;
            z-index: 1000;
            width: 190px;
            max-width: 190px;
            height: 100vh;
            overflow: hidden auto;
            padding: 20px 12px;
            text-align: center;
            display: flex;
            flex-direction: column;
            transform: translateX(-100%);
            transition: transform 0.38s cubic-bezier(0.4, 0, 0.2, 1);

            /* كارت واحد موحّد بيلمّ اللوجو + الأزرار + الشبكة + Sign Out */
            background: rgba(18, 20, 34, 0.92);
            backdrop-filter: blur(20px);
            -webkit-backdrop-filter: blur(20px);
            border: 1px solid rgba(255, 255, 255, 0.12);
            border-left: none;
            border-radius: 0 16px 16px 0;
            box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
        }
        body.framed.sidebar-open .app-container { transform: translateX(0); }

        /* حافة حسّاسة على الشمال تفتح السايدبار بمرور الماوس (ديسكتوب) */
        #sidebar-edge { display: none; }
        body.framed #sidebar-edge {
            display: block;
            position: fixed;
            left: 0;
            top: 0;
            width: 16px;
            height: 100vh;
            z-index: 998;
        }
        /* زر صغير للموبايل/اللمس لفتح وقفل السايدبار */
        #sidebar-handle { display: none; }
        body.framed #sidebar-handle {
            display: none;
            position: fixed;
            left: 0;
            top: 50%;
            transform: translateY(-50%);
            z-index: 1001;
            width: 26px;
            height: 54px;
            align-items: center;
            justify-content: center;
            border: 1px solid rgba(255, 255, 255, 0.2);
            border-left: none;
            border-radius: 0 12px 12px 0;
            background: rgba(18, 20, 34, 0.92);
            color: #e0e0ff;
            cursor: pointer;
            backdrop-filter: blur(10px);
            -webkit-backdrop-filter: blur(10px);
        }
        #sidebar-handle i { transition: transform 0.3s ease; }
        body.framed.sidebar-open #sidebar-handle i { transform: rotate(180deg); }

        /* على أجهزة اللمس (مفيش hover): نخفي الحافة ونظهر الزر */
        @media (hover: none) {
            body.framed #sidebar-edge { display: none; }
            body.framed #sidebar-handle { display: flex; }
        }
        /* العنوان الكبير والعنوان الفرعي والـ Welcome بيتلاشوا (fade) لما
           تفتح أي أيقونة، بدل ما يختفوا فجأة */
        .main-header h1, .subtitle, .welcome-msg {
            transition: opacity 0.25s ease, max-height 0.3s ease, margin 0.3s ease;
            opacity: 1;
            overflow: hidden;
        }
        body.framed .main-header { margin: 0 0 4px; }
        /* لازم .app-container.expanded جوه السيلكتور عشان تكسب معركة
           الـ specificity قدام main.css (.app-container.expanded .subtitle
           عندها 3 كلاسات — من غيرها الرول ده كان بيتغلب وميظهرش) */
        body.framed .app-container.expanded .main-header h1,
        body.framed .app-container.expanded .subtitle,
        body.framed .welcome-msg {
            opacity: 0;
            max-height: 0;
            width: 0;
            padding: 0;
            margin: 0;
            overflow: hidden;
        }
        /* اللوجو يتوسّط في السايدبار (بعد ما نص P-Zone بياخد عرض 0 وبيتلاشى) */
        body.framed .main-header { display: flex; justify-content: center; }
        body.framed .logo-wrapper { gap: 0; justify-content: center; width: 100%; }
        /* .app-container.expanded .logo-img عندها 3 كلاسات في main.css
           (بتحطّه 100px) — لازم نفس تكتيك الـ specificity هنا كمان */
        body.framed .app-container.expanded .logo-img { width: 40px; transition: width 0.35s ease; }

        /* الكارت الزجاجي والـ workspace بيمدّوا طول عشان الشبكة تملأ
           المساحة وSign Out يقعد ثابت تحت من غير scroll أبداً.
           (.app-container.expanded .glass-card في main.css بتحط padding:50px 40px
           بمواصفة 3 كلاسات — لازم نفس السيلكتور هنا عشان نكسب المعركة) */
        body.framed .app-container.expanded .glass-card {
            flex: 1;
            min-height: 0;
            display: flex;
            flex-direction: column;
            background: none;
            backdrop-filter: none;
            -webkit-backdrop-filter: none;
            border: none;
            box-shadow: none;
            padding: 0;
        }
        body.framed #workspace-section {
            flex: 1;
            min-height: 0;
        }

        /* Sign Out بيبقى أيقونة بس، وثابت في آخر السايدبار من تحت خالص */
        body.framed #logout-btn {
            width: auto;
            border-radius: 50%;
            padding: 10px;
            aspect-ratio: 1;
            margin-top: auto;
            flex-shrink: 0;
            align-self: center;
        }
        body.framed #logout-btn .btn-label { display: none; }

        /* شبكة الأيقونات بتتحوّل لقايمة رفيعة (أيقونة بس، من غير أسماء) */
        body.framed .grid-container {
            grid-template-columns: 1fr;
            gap: 4px;
            max-height: none;
            overflow: visible;
            flex-shrink: 0;
            padding: 0;
            margin: 0;
            direction: ltr;   /* الأيقونة شمال قبل الاسم (منيو LTR ثابت) */
        }
        body.framed .grid-item {
            flex-direction: row;
            align-items: center;
            justify-content: flex-start;
            gap: 12px;
            padding: 9px 14px;
            border-radius: 10px;
            transition: background 0.2s ease;
        }
        body.framed .grid-item:hover { background: rgba(255, 255, 255, 0.08); transform: none; }
        /* أيقونات الأدمن (مؤشرات/نشاط) والـpopover تختفي في وضع السايدبار */
        body.framed .ws-corner, body.framed .ws-pop { display: none !important; }
        /* الصفحة المفتوحة حاليًا: تمييز واضح في السايدبار */
        body.framed .grid-item.active {
            background: rgba(0, 210, 255, 0.14);
            box-shadow: inset 3px 0 0 #00d2ff;
        }
        body.framed .grid-item.active a,
        body.framed .grid-item.active .icon-box { color: #fff; }
        /* في السايدبار: أيقونة عادية صغيرة بدون الحلقة الزجاجية (الحلقة للهوم-جريد بس) */
        body.framed .grid-item .icon-box {
            font-size: 1.2rem; width: 28px; height: 28px; flex-shrink: 0;
            display: inline-flex; align-items: center; justify-content: center;
            background: none; border: none; border-radius: 0;
            backdrop-filter: none; -webkit-backdrop-filter: none; box-shadow: none;
        }
        body.framed .grid-item:hover .icon-box { background: none; border: none; box-shadow: none; transform: none; }
        /* الاسم بقى ظاهر جنب الأيقونة (منيو كامل) */
        body.framed .grid-item a,
        body.framed .grid-item span {
            display: inline-block;
            opacity: 1;
            width: auto;
            overflow: hidden;
            white-space: nowrap;
            text-overflow: ellipsis;
            font-size: 0.9rem;
            font-weight: 500;
            color: rgba(255, 255, 255, 0.92);
            text-decoration: none;
        }

        #frame-container {
            flex: 1;
            height: 100vh;
            overflow: hidden;
            display: flex;
            flex-direction: column;
            background: rgba(10, 10, 25, 0.5);
            direction: ltr;
            opacity: 0;
            transform: translateX(16px);
            transition: opacity 0.35s ease, transform 0.35s ease;
        }
        #frame-container.hidden { display: none; }
        #frame-container.visible { opacity: 1; transform: translateX(0); }
        #frame-topbar {
            padding: 10px 16px;
            display: flex;
            align-items: center;
            gap: 10px;
            position: relative;
        }
        /* لما #top-controls و #help-panel يتنقلوا هنا جنب زرار الرئيسية */
        #frame-topbar #top-controls {
            position: static;
            margin: 0;
        }
        #frame-topbar #help-panel {
            position: absolute;
            top: 54px;
            left: 16px;
            margin: 0;
        }
        #frame-close-btn {
            padding: 8px 18px;
            background: rgba(255, 255, 255, 0.08);
            border: 1px solid rgba(255, 255, 255, 0.2);
            border-radius: 20px;
            color: #e0e0ff;
            font-family: 'Tajawal', sans-serif;
            font-size: 0.85rem;
            cursor: pointer;
            display: flex;
            align-items: center;
            gap: 8px;
            transition: background 0.3s, border-color 0.3s, color 0.3s;
        }
        #frame-close-btn:hover {
            background: rgba(0, 210, 255, 0.15);
            border-color: rgba(0, 210, 255, 0.5);
            color: #00d2ff;
        }

        /* بادج "DB Connected/Offline" — ثابت في نفس المكان دايماً (أعلى الشمال)
           في كل الصفحات: اللوجين، الرئيسية، وأي صفحة مفتوحة جوّه الـ frame،
           عشان كده مش جزء من #frame-topbar وميتحركش مع فتح/قفل الفريم */
        #ce-status-badge {
            position: fixed;
            top: 10px;
            right: 18px;
            z-index: 999;
            display: flex;
            align-items: center;
            gap: 8px;
            padding: 11px 16px;
            background: rgba(16, 185, 129, 0.12);
            border: 1px solid rgba(16, 185, 129, 0.35);
            border-radius: 20px;
            backdrop-filter: blur(10px);
            -webkit-backdrop-filter: blur(10px);
        }
        #ce-status-badge .status-dot {
            width: 8px; height: 8px;
            border-radius: 50%;
            background: #10b981;
            animation: ce-badge-pulse 2s infinite;
        }
        #ce-status-badge span {
            font-size: 0.73rem;
            color: #10b981;
            font-weight: 600;
            letter-spacing: 1.5px;
            text-transform: uppercase;
            white-space: nowrap;
            font-family: 'Tajawal', sans-serif;
        }
        @keyframes ce-badge-pulse { 0%,100% { opacity: 1; } 50% { opacity: 0.35; } }
        #ce-status-badge.offline {
            background: rgba(239, 68, 68, 0.12);
            border-color: rgba(239, 68, 68, 0.35);
        }
        #ce-status-badge.offline .status-dot { background: #ef4444; }
        #ce-status-badge.offline span { color: #ef4444; }

        /* داخل تقرير مفتوح: الشِل كله viewport ثابت، فمفيش داعي لأي scroll للصفحة
           (كان بيظهر ~6px scrollbar من عنصر خلفية) */
        body.framed { overflow: hidden; }
        html:has(body.framed) { overflow: hidden; }

        /* داخل تقرير مفتوح (والموبايل): البادج يبقى نقطة نظيفة بتوهّج — بلا خلفية/حواف مقصوصة */
        body.framed #ce-status-badge {
            padding: 0; gap: 0; width: 16px; height: 16px; box-sizing: border-box;
            border-radius: 50%; background: transparent; border: none;
            backdrop-filter: none; -webkit-backdrop-filter: none;
            justify-content: center; align-items: center; top: 14px; right: 14px;
        }
        body.framed #ce-status-badge span { display: none; }
        body.framed #ce-status-badge .status-dot { width: 11px; height: 11px; box-shadow: 0 0 7px rgba(16, 185, 129, 0.85); }
        body.framed #ce-status-badge.offline .status-dot { box-shadow: 0 0 7px rgba(239, 68, 68, 0.85); }

        #content-frame {
            flex: 1;
            width: 100%;
            border: none;
            background: #fff;
            display: block;   /* يشيل فراغ الـ baseline بتاع الـ iframe (كان بيزوّد ~6px scroll) */
        }

        /* ══════════ موبايل: بادج الاتصال يبقى نقطة بتنوّر بس (من غير كلمة) ══════════ */
        @media (max-width: 600px) {
            #ce-status-badge {
                top: 14px;
                right: 14px;
                padding: 0;
                width: 16px;
                height: 16px;
                border-radius: 50%;
                justify-content: center;
                background: transparent;
                border: none;
                backdrop-filter: none;
                -webkit-backdrop-filter: none;
            }
            #ce-status-badge span { display: none; }
            #ce-status-badge .status-dot {
                width: 12px;
                height: 12px;
                box-shadow: 0 0 8px rgba(16, 185, 129, 0.85);
            }
            #ce-status-badge.offline .status-dot { box-shadow: 0 0 8px rgba(239, 68, 68, 0.85); }
        }

        /* ── فوتر رقم الإصدار (ظاهر على اللوجين/الرئيسية، مخفي وإحنا جوّه صفحة) ── */
        #app-version-bar {
            position: fixed;
            bottom: 10px;
            left: 0;
            right: 0;
            text-align: center;
            font-size: 0.72rem;
            letter-spacing: 0.5px;
            color: rgba(255, 255, 255, 0.5);
            font-family: 'Tajawal', sans-serif;
            pointer-events: none;
            z-index: 2;
        }
        body.framed #app-version-bar { display: none; }

        /* ══════════════ قائمة الحساب (أفاتار) ══════════════ */
        /* الأزرار الأصلية مخفية — منطقها بيتعاد استخدامه من القائمة */
        #help-btn, #lang-btn, #theme-btn { display: none !important; }
        .um-hidden { display: none !important; }

        #user-menu { position: relative; }
        #user-menu-btn {
            display: flex;
            align-items: center;
            gap: 6px;
            padding: 5px 12px 5px 7px;
            background: rgba(255, 255, 255, 0.08);
            border: 1px solid rgba(255, 255, 255, 0.2);
            border-radius: 22px;
            color: #e0e0ff;
            cursor: pointer;
            backdrop-filter: blur(10px);
            -webkit-backdrop-filter: blur(10px);
            transition: background 0.2s, border-color 0.2s;
        }
        #user-menu-btn:hover { background: rgba(0, 210, 255, 0.15); border-color: rgba(0, 210, 255, 0.5); }
        #user-menu-btn > .fa-circle-user { font-size: 1.45rem; }
        #user-menu-btn .um-caret { font-size: 0.7rem; opacity: 0.8; }

        #user-menu-dropdown {
            position: absolute;
            top: calc(100% + 8px);
            left: 0;
            width: 235px;
            z-index: 1200;
            direction: rtl;
            background: rgba(18, 20, 34, 0.98);
            border: 1px solid rgba(255, 255, 255, 0.14);
            border-radius: 12px;
            box-shadow: 0 14px 34px rgba(0, 0, 0, 0.55);
            padding: 6px;
            font-family: 'Tajawal', 'Tajawal', sans-serif;
        }
        #user-menu-dropdown.hidden { display: none; }
        .um-header {
            display: flex;
            align-items: center;
            gap: 10px;
            padding: 10px 12px;
            margin-bottom: 4px;
            border-bottom: 1px solid rgba(255, 255, 255, 0.08);
        }
        .um-header .um-big { font-size: 2rem; color: #00d2ff; }
        #um-name { font-size: 0.9rem; font-weight: 600; color: #fff; }
        #um-role { font-size: 0.72rem; color: #9aa0bf; text-transform: capitalize; margin-top: 2px; }
        .um-item {
            display: flex;
            align-items: center;
            gap: 10px;
            width: 100%;
            padding: 10px 12px;
            border: none;
            background: none;
            color: #dfe0ee;
            font-size: 0.85rem;
            font-family: inherit;
            cursor: pointer;
            border-radius: 8px;
            text-align: start;
        }
        .um-item:hover { background: rgba(255, 255, 255, 0.07); }
        .um-item > i { width: 18px; text-align: center; opacity: 0.85; }
        .um-item > span { flex: 1; }
        .um-item > b { font-size: 0.75rem; color: #00d2ff; font-weight: 600; }
        .um-danger { color: #ff8a8a; }
        .um-danger:hover { background: rgba(239, 68, 68, 0.12); }
        .um-sep { height: 1px; background: rgba(255, 255, 255, 0.08); margin: 4px 6px; }
        .um-lastlogin {
            padding: 4px 12px 10px;
            font-size: 0.72rem;
            color: #8b90ad;
            border-bottom: 1px solid rgba(255, 255, 255, 0.08);
            margin-bottom: 4px;
            line-height: 1.5;
        }
        #um-admin { color: #7ee0ff; text-decoration: none; }
        #um-admin:hover { background: rgba(0, 210, 255, 0.1); }

        /* مودال تغيير كلمة المرور: الإطار من pz-modal — رسائل الحالة بس هنا */
        #pw-msg { font-size: 0.78rem; min-height: 18px; margin: 2px 0 6px; text-align: center; }
        #pw-msg.ok { color: #16a34a; }
        #pw-msg.err { color: #dc2626; }

        /* ── شارة الإشعارات على الأفاتار + عدّاد داخل القائمة ── */
        #user-menu-btn { position: relative; }
        .um-badge {
            position: absolute; top: -6px; left: -6px; min-width: 18px; height: 18px;
            padding: 0 5px; border-radius: 9px; background: #ef4444; color: #fff;
            font-size: 0.68rem; font-weight: 700; line-height: 18px; text-align: center;
            box-shadow: 0 0 0 2px rgba(10,12,24,0.9);
        }
        .um-count {
            background: #ef4444; color: #fff; font-size: 0.68rem; font-weight: 700;
            min-width: 18px; height: 18px; line-height: 18px; text-align: center;
            border-radius: 9px; padding: 0 5px;
        }
        .um-count.hidden, .um-badge.hidden { display: none; }

        /* ── مودال قائمة الحساب العام ── */
        #acct-modal {
            position: fixed; inset: 0; z-index: 3000; display: flex;
            align-items: center; justify-content: center;
            background: rgba(4, 6, 15, 0.6); backdrop-filter: blur(3px);
        }
        #acct-modal.hidden { display: none; }
        .acct-card {
            width: 560px; max-width: calc(100vw - 32px); max-height: calc(100vh - 60px);
            display: flex; flex-direction: column;
            background: rgba(18, 20, 34, 0.99); border: 1px solid rgba(255,255,255,0.14);
            border-radius: 14px; box-shadow: 0 24px 60px rgba(0,0,0,0.55); color: #e6e8f5;
        }
        .acct-head {
            display: flex; align-items: center; justify-content: space-between;
            padding: 16px 20px; border-bottom: 1px solid rgba(255,255,255,0.08);
        }
        .acct-head h3 { font-size: 1.02rem; color: #fff; }
        #acct-close {
            background: none; border: none; color: #9aa0bd; font-size: 1.5rem;
            cursor: pointer; line-height: 1; padding: 0 4px;
        }
        #acct-close:hover { color: #fff; }
        #acct-body { padding: 16px 20px 20px; overflow: auto; }

        /* عناصر عامة داخل المودال */
        .acct-body-list { display: flex; flex-direction: column; gap: 8px; }
        /* عناوين أقسام الجرس (رسائل / تنبيهات) + زر مسح الرسائل */
        .acct-sec-title { font-size: 0.72rem; font-weight: 800; letter-spacing: 0.5px;
            text-transform: uppercase; color: #8b90ad; margin: 14px 2px 8px; }
        .acct-sec-title:first-child { margin-top: 2px; }
        .acct-clear-btn { margin-top: 8px; width: 100%; padding: 8px; border-radius: 8px;
            border: 1px solid rgba(255,255,255,0.12); background: rgba(255,255,255,0.05);
            color: #c7cce0; font-family: inherit; font-size: 0.78rem; cursor: pointer; transition: background .15s; }
        .acct-clear-btn:hover { background: rgba(239,68,68,0.16); border-color: rgba(239,68,68,0.5); color: #fff; }
        .acct-row {
            display: flex; align-items: center; gap: 12px; padding: 10px 12px;
            background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.07);
            border-radius: 10px; font-size: 0.84rem;
        }
        .acct-row .ar-icon { width: 20px; text-align: center; opacity: 0.85; font-size: 0.95rem; }
        .acct-row .ar-main { flex: 1; }
        .acct-row .ar-sub { font-size: 0.72rem; color: #8b90ad; margin-top: 2px; }
        .acct-row .ar-time { font-size: 0.72rem; color: #8b90ad; white-space: nowrap; }
        .acct-row.op-delete { border-inline-start: 3px solid #ef4444; }
        .acct-row.op-update { border-inline-start: 3px solid #f5b301; }
        .acct-row.op-insert { border-inline-start: 3px solid #34d399; }
        .acct-row.is-error { border-inline-start: 3px solid #ef4444; background: rgba(239,68,68,0.08); }
        .acct-row.is-current { border-color: #00d2ff; }
        .acct-badge-cur { font-size: 0.68rem; background: #00d2ff; color: #00131a; font-weight: 700;
            padding: 2px 8px; border-radius: 10px; }
        .acct-empty { text-align: center; color: #8b90ad; font-size: 0.85rem; padding: 26px 0; }
        .acct-more { margin-top: 12px; text-align: center; }
        .acct-more button {
            background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.18);
            color: #cfd0e6; border-radius: 20px; padding: 7px 20px; cursor: pointer;
            font-family: inherit; font-size: 0.8rem;
        }
        .acct-more button:hover { background: rgba(255,255,255,0.12); }

        /* نموذج الملف الشخصي */
        .acct-form label { display: block; font-size: 0.76rem; color: #9aa0bd; margin: 10px 0 4px; }
        .acct-form input {
            width: 100%; padding: 10px 12px; background: rgba(255,255,255,0.06);
            border: 1px solid rgba(255,255,255,0.18); border-radius: 8px; color: #fff;
            font-family: inherit; font-size: 0.85rem;
        }
        .acct-form input:focus { border-color: #00d2ff; outline: none; }
        .acct-form input:disabled { opacity: 0.6; cursor: not-allowed; }
        .acct-msg { font-size: 0.78rem; min-height: 18px; margin: 10px 0 2px; text-align: center; }
        .acct-msg.ok { color: #34d399; }
        .acct-msg.err { color: #ff8a8a; }
        .acct-actions { display: flex; gap: 10px; justify-content: flex-end; margin-top: 12px; }
        .acct-btn-outline, .acct-btn-primary {
            padding: 9px 20px; border-radius: 20px; cursor: pointer; font-family: inherit;
            font-size: 0.85rem; border: 1px solid transparent;
        }
        .acct-btn-outline { background: none; border-color: rgba(255,255,255,0.25); color: #cfd0e6; }
        .acct-btn-outline:hover { background: rgba(255,255,255,0.08); }
        .acct-btn-primary { background: #00d2ff; color: #00131a; font-weight: 600; }
        .acct-btn-primary:hover { filter: brightness(1.08); }

        /* عن النظام + الاختصارات */
        .acct-kv { display: flex; justify-content: space-between; padding: 9px 2px;
            border-bottom: 1px solid rgba(255,255,255,0.06); font-size: 0.85rem; }
        .acct-kv span:first-child { color: #9aa0bd; }
        .acct-kbd { display: flex; align-items: center; justify-content: space-between;
            padding: 9px 2px; border-bottom: 1px solid rgba(255,255,255,0.06); font-size: 0.85rem; }
        .acct-kbd kbd {
            background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.2);
            border-radius: 6px; padding: 2px 9px; font-family: monospace; font-size: 0.8rem; color: #fff;
        }
        .acct-danger-btn {
            background: rgba(239,68,68,0.15); border: 1px solid rgba(239,68,68,0.4); color: #ff8a8a;
            border-radius: 20px; padding: 8px 18px; cursor: pointer; font-family: inherit;
            font-size: 0.82rem; margin-top: 14px; width: 100%;
        }
        .acct-danger-btn:hover { background: rgba(239,68,68,0.25); }
