/* مُستخرَج من dashboard-parent.html (كتلة <style> رقم 3) — منقولٌ حرفيّاً، وموضعُ وسمِه في الصفحة هو موضعُ الكتلة نفسُه (ترتيبُ التتالي كما كان). */
#dashIntroBanner{display:none;background:linear-gradient(135deg,#ecfdf5,#d1fae5);border:1px solid #6ee7b7;border-radius:18px;padding:18px 20px;margin:14px 0;color:#064e3b;box-shadow:0 8px 24px rgba(16,185,129,.10)}
#dashIntroBanner .intro-row{display:flex;align-items:flex-start;gap:14px;justify-content:space-between;flex-wrap:wrap}
#dashIntroBanner .intro-icon{flex:0 0 auto;width:42px;height:42px;border-radius:50%;background:#0f766e;color:#fff;display:flex;align-items:center;justify-content:center}
#dashIntroBanner .intro-icon svg{width:22px;height:22px}
#dashIntroBanner .intro-body{flex:1;min-width:220px}
#dashIntroBanner .intro-title{font-weight:900;font-size:16px;margin-bottom:4px;color:#064e3b}
#dashIntroBanner .intro-text{font-size:14px;line-height:1.7;color:#065f46}
#dashIntroBanner .intro-actions{display:flex;gap:8px;align-items:center;flex-wrap:wrap}
#dashIntroBanner .intro-setup{background:#0f766e;color:#fff;border:0;border-radius:12px;padding:9px 14px;font-weight:800;cursor:pointer;font-family:inherit;font-size:13px}
#dashIntroBanner .intro-dismiss{background:transparent;color:#065f46;border:0;border-radius:10px;padding:8px 12px;font-weight:700;cursor:pointer;font-family:inherit;font-size:13px;text-decoration:underline}
#avatarModal{position:fixed;inset:0;background:rgba(0,0,0,.55);display:none;align-items:center;justify-content:center;z-index:9998;padding:16px}
#avatarModal .av-card{background:#fff;border-radius:24px;padding:24px;max-width:380px;width:100%;text-align:center;color:#0f172a}
#avatarModal h3{font-size:18px;font-weight:900;margin-bottom:6px;color:#064e3b}
#avatarModal p{font-size:13px;color:#475569;margin-bottom:18px;line-height:1.7}
#avatarModal .av-preview{width:120px;height:120px;border-radius:50%;background:#0f766e;color:#fff;display:inline-flex;align-items:center;justify-content:center;font-size:48px;font-weight:900;overflow:hidden;margin-bottom:18px;box-shadow:0 6px 20px rgba(16,185,129,.25)}
#avatarModal .av-preview img{width:100%;height:100%;object-fit:cover}
#avatarModal .av-actions{display:flex;flex-direction:column;gap:8px}
#avatarModal .av-actions button{border:0;padding:12px 18px;border-radius:14px;font-weight:800;cursor:pointer;font-family:inherit;font-size:14px}
#avatarModal .av-primary{background:#0f766e;color:#fff}
#avatarModal .av-danger{background:#fef2f2;color:#b91c1c;border:1px solid #fecaca}
#avatarModal .av-cancel{background:#f1f5f9;color:#475569}
.soft-btn.avatar-btn{display:inline-flex;align-items:center;gap:6px}
.soft-btn.avatar-btn svg{width:14px;height:14px}
/* ── بطاقة/زر «جهّز جهاز الطفل» على بطاقات الأبناء ── */
/* كرت «شاشة الطفل» المستقل — لون كهرماني بارز يلفت انتباه ولي الأمر */
.device-card{margin-top:12px;background:linear-gradient(135deg,#fffdf5,#fef6e0);border:1.5px solid #f5c451;border-radius:16px;padding:12px;text-align:center}
.device-cta{width:100%;display:inline-flex;align-items:center;justify-content:center;gap:9px;
  background:linear-gradient(135deg,#f59e0b,#f97316);color:#fff;border:0;border-radius:14px;
  padding:15px 16px;font-family:inherit;font-weight:900;font-size:16px;cursor:pointer;
  box-shadow:0 8px 18px rgba(245,158,11,.32);transition:transform .12s ease,box-shadow .12s ease}
.device-cta:hover{transform:translateY(-1px);box-shadow:0 10px 22px rgba(245,158,11,.4)}
.device-cta:active{transform:translateY(0)}
.device-cta svg{width:19px;height:19px;flex:0 0 auto}
.device-hint{margin:9px 4px 2px;font-size:12px;line-height:1.6;color:#92400e;font-weight:600}
/* ── نافذة «جهّز جهاز الطفل» — نفس أسلوب avatarModal ── */
#deviceSetupModal{position:fixed;inset:0;background:rgba(0,0,0,.55);display:none;align-items:center;justify-content:center;z-index:9998;padding:16px}
#deviceSetupModal.open{display:flex}
#deviceSetupModal .ds-card{background:#fff;border-radius:24px;padding:24px;max-width:440px;width:100%;color:#0f172a;max-height:90vh;overflow:auto}
#deviceSetupModal .ds-head{display:flex;align-items:center;gap:12px;margin-bottom:6px}
#deviceSetupModal .ds-icon{flex:0 0 auto;width:44px;height:44px;border-radius:14px;background:#0f766e;color:#fff;display:flex;align-items:center;justify-content:center}
#deviceSetupModal .ds-icon svg{width:24px;height:24px}
#deviceSetupModal h3{font-size:19px;font-weight:900;color:#064e3b}
#deviceSetupModal .ds-sub{font-size:13px;color:#475569;margin:8px 0 16px;line-height:1.7}
#deviceSetupModal .ds-steps{list-style:none;padding:0;margin:0 0 16px;display:flex;flex-direction:column;gap:12px}
#deviceSetupModal .ds-step{display:flex;gap:12px;align-items:flex-start}
#deviceSetupModal .ds-num{flex:0 0 auto;width:28px;height:28px;border-radius:50%;background:#d1fae5;color:#047857;font-weight:900;font-size:14px;display:flex;align-items:center;justify-content:center}
#deviceSetupModal .ds-step-body{flex:1;font-size:14px;line-height:1.7;color:#0f172a}
#deviceSetupModal .ds-step-body b{color:#064e3b}
#deviceSetupModal .ds-note{display:flex;gap:8px;align-items:flex-start;background:#fffbeb;border:1px solid #fcd34d;border-radius:12px;padding:10px 12px;font-size:12.5px;line-height:1.6;color:#92400e;margin-bottom:16px}
#deviceSetupModal .ds-note svg{flex:0 0 auto;width:16px;height:16px;margin-top:2px}
#deviceSetupModal .ds-actions{display:flex;flex-direction:column;gap:8px}
#deviceSetupModal .ds-actions button{border:0;padding:12px 18px;border-radius:14px;font-weight:800;cursor:pointer;font-family:inherit;font-size:14px}
#deviceSetupModal .ds-primary{background:#0f766e;color:#fff;display:inline-flex;align-items:center;justify-content:center;gap:8px}
#deviceSetupModal .ds-primary svg{width:16px;height:16px}
#deviceSetupModal .ds-cancel{background:#f1f5f9;color:#475569}
