/* ==========================================================================
   styles.css — التصميم الكامل، مشترك بين index.html و404.html.
   أي تعديل هنا ينعكس على الصفحتين تلقائياً — هذا هو ما يبقيهما متطابقتين
   بصرياً بلا أي جهد إضافي مستقبلاً.
   ========================================================================== */


  :root{
    --navy-deep:#0B1E3E;
    --navy-mid:#132A52;
    --navy-line:rgba(212,169,74,0.18);
    --gold:#D4A94A;
    --gold-soft:#E9CB86;
    --ember:#C6491F;
    --paper:#F5F7FB;
    --ink:#EDF1FA;
    --ink-soft:#9FB0D6;
    --success:#2D8A4E;
    --card-gradient-end:#0F2344;
    --ripple-color:rgba(255,255,255,0.45);
    color-scheme: dark;
  }
  /* ================= الوضع النهاري =================
     نفس أسماء المتغيرات تُعاد تعريفها بقيم فاتحة، فيعاد تلوين كل مكوّن
     في الموقع تلقائياً دون لمس أي قاعدة CSS أخرى — لا حاجة لتكرار كل
     الأنماط لكل مكوّن. الذهبي والأحمر يبقيان كما هما للحفاظ على الهوية. */
  html[data-theme="light"]{
    --navy-deep:#F5F7FB;
    --navy-mid:#FFFFFF;
    --navy-line:rgba(11,30,62,0.12);
    --ink:#0B1E3E;
    --ink-soft:#57648A;
    --card-gradient-end:#FFFFFF;
    --ripple-color:rgba(11,30,62,0.12);
    color-scheme: light;
  }
  html, body{transition:background-color .35s ease, color .35s ease;}
  *{transition-property: background-color, border-color, color; transition-duration:.35s;}
  *{box-sizing:border-box; margin:0; padding:0;}
  html{scroll-behavior:smooth;}
  body{
    font-family:'IBM Plex Sans Arabic', sans-serif;
    background:var(--navy-deep);
    color:var(--ink);
    -webkit-font-smoothing:antialiased;
    overflow-x:hidden;
  }
  .selectable{-webkit-user-select:text !important; user-select:text !important;}
  .display{font-family:'Changa', sans-serif;}
  button, a, input{font-family:inherit;}
  button:focus-visible, a:focus-visible, input:focus-visible{outline:2px solid var(--gold); outline-offset:2px;}

  .ribbon{
    background:var(--navy-mid); border-bottom:1px solid var(--navy-line);
    padding:9px 16px; display:flex; align-items:center; justify-content:center; gap:8px;
    font-size:12.5px; color:var(--ink-soft);
  }
  .ribbon b{color:var(--gold-soft); font-weight:600;}
  .ribbon .dot{width:5px;height:5px;border-radius:50%;background:var(--ember); animation:pulse-dot 2s ease-in-out infinite;}
  @keyframes pulse-dot{0%,100%{opacity:1;}50%{opacity:0.3;}}

  /* ===== Nav: 3 elements only per design spec (brand, menu, one register button) ===== */
  nav{
    display:flex; align-items:center; justify-content:space-between;
    padding:14px 20px; max-width:560px; margin:0 auto;
    position:sticky; top:0; z-index:100;
    background:rgba(11,30,62,0.92); backdrop-filter:blur(12px);
    border-bottom:1px solid var(--navy-line);
  }
  .brand{display:flex; align-items:center; gap:10px;}
  .brand-logo{width:40px;height:40px;flex-shrink:0;object-fit:contain;}
  .brand-text{line-height:1.15;}
  .brand-text .name{font-family:'Changa'; font-weight:700; font-size:14px; color:var(--ink);}
  .brand-text .connector{font-size:9px;color:var(--ink-soft);opacity:0.75;margin:1px 0;}
  .brand-text .sub{font-size:14px; color:var(--gold-soft); font-weight:700; letter-spacing:.2px;}
  .nav-actions{display:flex; align-items:center; gap:10px;}
  .icon-btn{
    width:38px;height:38px; border-radius:10px;
    display:flex; align-items:center; justify-content:center;
    background:transparent; border:1px solid var(--navy-line);
    color:var(--ink-soft); cursor:pointer;
  }
  .icon-btn svg{width:18px;height:18px;}

  .btn-primary{
    background:linear-gradient(180deg, var(--gold-soft), var(--gold));
    color:var(--navy-deep); font-weight:700; font-size:13.5px;
    border:none; border-radius:10px; padding:10px 18px; cursor:pointer;
    box-shadow:0 10px 24px rgba(212,169,74,0.28), 0 2px 6px rgba(0,0,0,0.25);
    transition:transform .15s ease;
  }
  .btn-primary:active{transform:scale(0.96) translateY(1px);}
  .btn-ghost{
    background:rgba(237,241,250,0.03); border:1px solid rgba(237,241,250,0.28);
    color:var(--ink); font-weight:600; font-size:13.5px; border-radius:10px;
    padding:10px 18px; cursor:pointer; transition:transform .15s ease;
  }
  .btn-ghost:active{transform:scale(0.96) translateY(1px);}
  .btn-primary:disabled, .btn-ghost:disabled{opacity:0.5; cursor:not-allowed;}

  /* ===== Mobile menu (real off-canvas panel, not a repurposed desktop row) ===== */
  .menu-overlay{position:fixed; inset:0; background:rgba(6,12,26,0.6); opacity:0; pointer-events:none; transition:opacity .25s ease; z-index:140;}
  .menu-overlay.open{opacity:1; pointer-events:auto;}
  .menu-panel{
    position:fixed; top:0; bottom:0; right:0; width:78%; max-width:320px;
    background:var(--navy-mid); border-left:1px solid var(--navy-line);
    z-index:150; transform:translateX(100%); transition:transform .3s ease;
    padding:18px; display:flex; flex-direction:column; gap:4px; overflow-y:auto;
  }
  .menu-panel.open{transform:translateX(0);}
  .menu-panel a, .menu-panel button.menu-link{
    display:flex; align-items:center; gap:10px; color:var(--ink); text-decoration:none;
    font-size:14px; font-weight:600; padding:13px 10px; border-radius:10px;
    background:none; border:none; text-align:right; width:100%; cursor:pointer;
  }
  .menu-panel a:active, .menu-panel button.menu-link:active{background:rgba(237,241,250,0.06);}
  .menu-panel svg{width:18px;height:18px;color:var(--gold-soft);flex-shrink:0;}
  .menu-close{align-self:flex-start; margin-bottom:6px;}
  .menu-divider{height:1px;background:var(--navy-line);margin:10px 4px;}
  .menu-panel .menu-portal{color:var(--gold-soft);}

  /* ===== نبضة انتباه على زر القائمة — تختفي بمجرد أن يفتحها المستخدم هذه الزيارة ===== */
  .icon-btn.pulse-attn{position:relative;}
  .icon-btn.pulse-attn::after{
    content:''; position:absolute; inset:-4px; border-radius:12px;
    border:2px solid var(--gold); opacity:0; animation:menu-pulse 2.8s ease-out infinite;
  }
  @keyframes menu-pulse{
    0%{opacity:.9; transform:scale(0.85);}
    70%{opacity:0; transform:scale(1.25);}
    100%{opacity:0; transform:scale(1.25);}
  }
  @media (prefers-reduced-motion: reduce){ .icon-btn.pulse-attn::after{animation:none; display:none;} }

  /* ===== الجولة التعريفية — تظهر كل زيارة، توضّح أماكن الأقسام الرئيسية ===== */
  .tour-overlay{position:fixed; inset:0; background:rgba(6,12,26,0.68); opacity:0; pointer-events:none; transition:opacity .3s ease; z-index:300; display:flex; align-items:center; justify-content:center; padding:20px;}
  .tour-overlay.open{opacity:1; pointer-events:auto;}
  .tour-card{background:var(--navy-mid); border:1px solid var(--navy-line); border-top:2px solid var(--gold); border-radius:18px; padding:22px 20px 20px; max-width:360px; width:100%; transform:translateY(14px) scale(.97); opacity:0; transition:opacity .3s ease, transform .3s ease; max-height:85vh; overflow-y:auto;}
  .tour-overlay.open .tour-card{transform:translateY(0) scale(1); opacity:1;}
  .tour-hd{display:flex; align-items:flex-start; justify-content:space-between; gap:10px; margin-bottom:6px;}
  .tour-hd h3{font-family:'Changa'; font-weight:700; font-size:16px; color:var(--ink);}
  .tour-close{flex-shrink:0; width:36px;height:36px; border-radius:10px; background:var(--navy-deep); border:1px solid var(--navy-line); color:var(--ink); display:flex; align-items:center; justify-content:center; cursor:pointer;}
  .tour-close svg{width:18px;height:18px;}
  .tour-sub{font-size:12px; color:var(--ink-soft); margin-bottom:18px; line-height:1.6;}
  .tour-row{display:flex; align-items:flex-start; gap:12px; padding:12px 0; border-top:1px solid var(--navy-line);}
  .tour-row:first-of-type{border-top:none;}
  .tour-ic{flex-shrink:0; width:38px;height:38px; border-radius:10px; background:rgba(212,169,74,0.12); color:var(--gold-soft); display:flex; align-items:center; justify-content:center;}
  .tour-ic svg{width:19px;height:19px;}
  .tour-row h4{font-size:13px; font-weight:700; color:var(--ink); margin-bottom:3px;}
  .tour-row p{font-size:12px; color:var(--ink-soft); line-height:1.6;}
  .tour-card .btn-primary{width:100%; margin-top:16px; padding:13px; display:flex; align-items:center; justify-content:center;}

  .hero{position:relative; padding:52px 20px 36px; text-align:center; overflow:hidden; max-width:560px; margin:0 auto;}
  .torch-glow{
    position:absolute; top:-40px; left:50%; transform:translateX(-50%); width:520px; height:520px;
    background:radial-gradient(circle, rgba(212,169,74,0.35) 0%, rgba(212,169,74,0.10) 35%, rgba(212,169,74,0) 65%);
    filter:blur(10px); animation:pulse 6s ease-in-out infinite; pointer-events:none;
  }
  @keyframes pulse{0%,100%{opacity:0.75; transform:translateX(-50%) scale(1);}50%{opacity:1; transform:translateX(-50%) scale(1.06);}}
  .eyebrow{
    position:relative; z-index:1; display:inline-flex; align-items:center; gap:6px;
    background:var(--navy-mid); border:1px solid var(--navy-line); color:var(--gold-soft);
    font-size:12px; font-weight:600; padding:7px 14px; border-radius:999px; margin-bottom:22px;
  }
  h1{position:relative; z-index:1; font-family:'Changa'; font-weight:700; font-size:clamp(26px,7vw,34px); line-height:1.35; color:var(--ink); margin-bottom:10px;}
  h1 #heroTitleEm{color:var(--gold-soft);}
  .hero p.lead{position:relative; z-index:1; color:var(--ink-soft); font-size:14.5px; max-width:460px; margin:0 auto 26px; line-height:1.7;}
  .hero-actions{position:relative; z-index:1; display:flex; flex-direction:column; gap:12px; max-width:320px; margin:0 auto;}
  .hero-actions .btn-primary, .hero-actions .btn-ghost{padding:14px 20px; font-size:14.5px; display:flex; align-items:center; justify-content:center; gap:8px;}
  .hero-actions svg{width:17px;height:17px;}

  .stats{position:relative; z-index:1; display:grid; grid-template-columns:repeat(2,1fr); gap:12px; max-width:400px; margin:36px auto 0; padding:0 20px 44px;}
  .stat-card{
    background:linear-gradient(160deg, var(--navy-mid) 0%, var(--card-gradient-end) 100%); border:1px solid var(--navy-line);
    border-top:2px solid var(--gold); border-radius:12px; padding:16px 12px; text-align:center;
    box-shadow:0 10px 22px rgba(0,0,0,0.35);
  }
  .stat-card svg{width:20px;height:20px; color:var(--gold-soft); margin-bottom:8px;}
  .stat-num{font-family:'Changa'; font-weight:700; font-size:22px; color:var(--ink);}
  .stat-label{font-size:11.5px; color:var(--ink-soft); margin-top:2px;}

  .sec{padding:44px 20px; max-width:560px; margin:0 auto;}
  .sec-alt{background:var(--navy-mid); border-top:1px solid var(--navy-line); border-bottom:1px solid var(--navy-line);}
  .sec-alt-inner{padding:44px 20px; max-width:560px; margin:0 auto;}
  .sec-hd{text-align:center; margin-bottom:22px;}
  .sec-hd .tag{display:inline-block; background:var(--navy-deep); border:1px solid var(--navy-line); color:var(--gold-soft); font-size:11px; font-weight:600; padding:5px 12px; border-radius:999px; margin-bottom:10px;}
  .sec-hd h2{font-family:'Changa'; font-weight:700; font-size:clamp(20px,5vw,26px); color:var(--ink); margin-bottom:6px;}
  .sec-hd p{color:var(--ink-soft); font-size:13px; max-width:420px; margin:0 auto; line-height:1.6;}

  .steps-grid{display:flex; flex-direction:column; gap:14px;}
  .step-card{background:var(--navy-mid); border:1px solid var(--navy-line); border-radius:14px; padding:18px; position:relative; overflow:hidden;}
  .step-number{position:absolute; top:8px; left:14px; font-family:'Changa'; font-weight:800; font-size:40px; color:rgba(212,169,74,0.08); line-height:1;}
  .step-icon{width:34px;height:34px; border-radius:10px; background:var(--navy-deep); border:1px solid var(--navy-line); display:flex; align-items:center; justify-content:center; margin-bottom:12px; color:var(--gold-soft);}
  .step-icon svg{width:17px;height:17px;}
  .step-card h3{font-family:'Changa'; font-weight:700; font-size:14.5px; color:var(--gold-soft); margin-bottom:5px;}
  .step-card p{color:var(--ink-soft); font-size:12.5px; line-height:1.7;}

  .grade-tabs{display:flex; gap:8px; justify-content:center; flex-wrap:wrap; margin-bottom:18px;}
  .grade-tab{background:transparent; border:1px solid var(--navy-line); color:var(--ink-soft); padding:8px 16px; border-radius:999px; font-size:12.5px; font-weight:600; cursor:pointer;}
  .grade-tab.active{background:var(--gold); color:var(--navy-deep); border-color:var(--gold);}
  .grade-grid{display:grid; grid-template-columns:repeat(2,1fr); gap:10px;}
  .grade-card{background:var(--navy-mid); border:1px solid var(--navy-line); border-radius:12px; padding:14px; text-align:center; cursor:pointer; transition:border-color .2s;}
  .grade-card:active{border-color:var(--gold);}
  .grade-card .grade-num{font-family:'Changa'; font-weight:700; font-size:18px; color:var(--gold-soft);}
  .grade-card .grade-label{font-size:11.5px; color:var(--ink); margin-top:3px;}
  .grade-card .grade-stage{font-size:10.5px; color:var(--ink-soft); opacity:0.8; margin-top:4px;}
  #gradePickerWrap{transition:opacity .4s ease, transform .4s ease; opacity:1; transform:scale(1);}
  #gradePickerWrap.fading{opacity:0; transform:scale(0.96); pointer-events:none;}
  #gradePickerWrap.gone{display:none;}
  .grade-confirm{display:none; text-align:center; background:linear-gradient(160deg, var(--navy-mid) 0%, var(--card-gradient-end) 100%); border:1px solid var(--navy-line); border-top:2px solid var(--gold); border-radius:16px; padding:28px 22px 22px; opacity:0; transform:translateY(10px); transition:opacity .4s ease, transform .4s ease;}
  .grade-confirm.show{display:block;}
  .grade-confirm.in{opacity:1; transform:translateY(0);}
  .grade-confirm-num{width:52px;height:52px; margin:0 auto 10px; border-radius:14px; background:linear-gradient(135deg,var(--gold),var(--gold-soft)); color:var(--navy-deep); font-family:'Changa'; font-weight:700; font-size:22px; display:flex; align-items:center; justify-content:center;}
  .grade-confirm-label{font-size:11.5px; color:var(--ink-soft);}
  .grade-confirm-name{font-family:'Changa'; font-weight:700; font-size:19px; color:var(--ink); margin-top:3px;}
  .grade-confirm-back{background:none; border:none; color:var(--ink-soft); font-size:12px; text-decoration:underline; margin-top:14px; cursor:pointer; padding:6px;}

  .cards-2{display:grid; grid-template-columns:repeat(2,1fr); gap:10px;}
  .subject-card{background:var(--navy-mid); border:1px solid var(--navy-line); border-radius:12px; padding:16px; text-align:center;}
  .subject-icon{width:36px;height:36px; border-radius:10px; background:var(--navy-deep); border:1px solid var(--navy-line); display:flex; align-items:center; justify-content:center; margin:0 auto 10px; color:var(--gold-soft);}
  .subject-icon svg{width:18px;height:18px;}
  .subject-card h4{font-family:'Changa'; font-weight:600; font-size:13px; color:var(--ink); margin-bottom:3px;}
  .subject-card p{font-size:10.5px; color:var(--ink-soft);}

  .teacher-card{background:var(--navy-mid); border:1px solid var(--navy-line); border-radius:14px; padding:14px; text-align:center;}
  .teacher-avatar{width:48px;height:48px; border-radius:50%; background:linear-gradient(135deg,var(--gold),var(--gold-soft)); display:flex; align-items:center; justify-content:center; margin:0 auto 8px; font-family:'Changa'; font-weight:700; font-size:17px; color:var(--navy-deep);}
  .teacher-card h4{font-family:'Changa'; font-weight:600; font-size:13px; color:var(--ink);}
  .teacher-card p{font-size:11px; color:var(--ink-soft); margin-top:2px;}
  .subject-tag{display:inline-block; background:rgba(212,169,74,0.12); color:var(--gold-soft); font-size:10px; font-weight:600; padding:3px 10px; border-radius:999px; margin-top:7px;}

  .info-card{background:var(--navy-mid); border:1px solid var(--navy-line); border-top:2px solid var(--gold); border-radius:14px; padding:16px; margin-bottom:12px;}
  .info-card h4{display:flex; align-items:center; gap:8px; font-size:13.5px; font-weight:700; color:var(--ink); margin-bottom:6px;}
  .info-card h4 svg{width:16px;height:16px;color:var(--gold-soft); flex-shrink:0;}
  .info-card p{font-size:12.5px; color:var(--ink-soft); line-height:1.7;}
  .info-card.pending{border-top-color:var(--navy-line); opacity:0.85;}

  .contact-card{background:var(--navy-mid); border:1px solid var(--navy-line); border-radius:12px; padding:14px; display:flex; align-items:center; gap:12px; margin-bottom:10px;}
  .contact-icon{width:38px;height:38px; border-radius:10px; background:var(--navy-deep); border:1px solid var(--navy-line); display:flex; align-items:center; justify-content:center; flex-shrink:0; color:var(--gold-soft);}
  .contact-icon svg{width:17px;height:17px;}
  .contact-card h4{font-size:13px; font-weight:700; color:var(--ink); margin-bottom:2px;}
  .contact-card p{font-size:11px; color:var(--ink-soft);}
  .contact-card a{color:var(--gold-soft); text-decoration:none; font-size:11.5px; font-weight:600;}
  .contact-card .pending-tag{font-size:10px; color:var(--ink-soft); opacity:0.7;}

  .faq-essential-tag{font-size:10.5px; color:var(--gold-soft); font-weight:700; background:rgba(212,169,74,0.1); padding:2px 8px; border-radius:999px; display:inline-block; margin-bottom:8px;}
  .faq-cat-tabs{display:flex; gap:8px; flex-wrap:wrap; margin:20px 0 14px;}
  .faq-cat-tab{background:transparent; border:1px solid var(--navy-line); color:var(--ink-soft); padding:8px 15px; border-radius:999px; font-size:12.5px; font-weight:600; cursor:pointer;}
  .faq-cat-tab.active{background:var(--gold); color:var(--navy-deep); border-color:var(--gold);}
  .faq-item{background:var(--navy-mid); border:1px solid var(--navy-line); border-radius:12px; margin-bottom:9px; overflow:hidden;}
  .faq-q{padding:15px 16px; display:flex; align-items:center; justify-content:space-between; gap:10px; cursor:pointer; font-weight:600; font-size:13.5px; color:var(--ink);}
  .faq-q svg{width:15px;height:15px; color:var(--ink-soft); transition:transform .2s ease; flex-shrink:0;}
  .faq-item.open .faq-q svg{transform:rotate(180deg);}
  .faq-a{max-height:0; overflow:hidden; transition:max-height .3s ease; padding:0 16px; color:var(--ink-soft); font-size:12.5px; line-height:1.75;}
  .faq-item.open .faq-a{max-height:320px; padding:0 16px 16px;}

  footer{padding:32px 20px 26px; border-top:1px solid var(--navy-line); text-align:center; max-width:560px; margin:0 auto;}
  footer .footer-logo{font-family:'Changa'; font-weight:700; font-size:15px; color:var(--ink); margin-bottom:6px;}
  footer .footer-sub{font-size:11.5px; color:var(--ink-soft); margin-bottom:14px;}
  footer .footer-links{display:flex; justify-content:center; gap:16px; flex-wrap:wrap; margin-bottom:14px;}
  footer .footer-links a{color:var(--ink-soft); text-decoration:none; font-size:11.5px;}
  footer .footer-copy{font-size:10.5px; color:var(--ink-soft); opacity:0.65;}
  footer .footer-copy span{color:var(--gold-soft);}

  /* ===== Login sheet ===== */
  .sheet-overlay{position:fixed; inset:0; background:rgba(6,12,26,0.65); opacity:0; pointer-events:none; transition:opacity .25s ease; z-index:200;}
  .sheet-overlay.open{opacity:1; pointer-events:auto;}
  .sheet{position:fixed; left:0; right:0; bottom:0; background:var(--navy-mid); border-top:1px solid var(--navy-line); border-radius:20px 20px 0 0; padding:20px 20px 26px; z-index:201; transform:translateY(100%); transition:transform .3s ease; max-width:560px; margin:0 auto; max-height:88vh; overflow-y:auto;}
  .sheet.open{transform:translateY(0);}
  .sheet-handle{width:36px;height:4px;border-radius:99px;background:var(--navy-line); margin:0 auto 16px;}
  .sheet h3{font-family:'Changa'; font-size:16px; color:var(--ink); margin-bottom:6px;}
  .sheet p.hint{font-size:12px; color:var(--ink-soft); margin-bottom:16px; line-height:1.6;}
  .field{margin-bottom:14px;}
  .field label{display:block; font-size:11.5px; color:var(--ink-soft); margin-bottom:6px;}
  .field input{width:100%; background:rgba(237,241,250,0.04); border:1px solid var(--navy-line); border-radius:10px; padding:12px 14px; color:var(--ink); font-size:14px; direction:ltr; text-align:right;}
  .sheet-msg{font-size:12px; padding:10px 12px; border-radius:10px; margin-bottom:12px; display:none;}
  .sheet-msg.show{display:block;}
  .sheet-msg.info{background:rgba(212,169,74,0.1); color:var(--gold-soft);}
  .sheet-msg.error{background:rgba(198,73,31,0.12); color:#e8845c;}
  .child-list{display:flex; flex-direction:column; gap:10px; margin-bottom:8px;}
  .child-row{display:flex; align-items:center; justify-content:space-between; gap:10px; background:var(--navy-deep); border:1px solid var(--navy-line); border-radius:12px; padding:14px; cursor:pointer;}
  .child-row:active{border-color:var(--gold);}
  .child-row .nm{font-weight:700; font-size:13.5px; color:var(--ink);}
  .child-row svg{width:16px;height:16px; color:var(--gold-soft);}

  /* ===== Parent dashboard ===== */
  .dash{display:none; max-width:560px; margin:0 auto; padding:16px 20px 40px; min-height:60vh;}
  .dash.active{display:block;}
  .dash-header{display:flex; align-items:center; justify-content:space-between; margin-bottom:18px; padding-bottom:14px; border-bottom:1px solid var(--navy-line);}
  .dash-header h2{font-family:'Changa'; font-weight:700; font-size:19px; color:var(--ink);}
  .dash-header .btn-ghost{font-size:12px; padding:8px 13px; display:flex; align-items:center; gap:6px;}
  .dash-header .btn-ghost svg{width:14px;height:14px;}
  .child-switch{display:flex; gap:8px; margin-bottom:16px; flex-wrap:wrap;}
  .child-pill{background:var(--navy-mid); border:1px solid var(--navy-line); border-radius:999px; padding:8px 15px; font-size:12.5px; color:var(--ink-soft); cursor:pointer;}
  .child-pill.active{background:var(--gold); color:var(--navy-deep); border-color:var(--gold); font-weight:700;}
  .dash-card{background:var(--navy-mid); border:1px solid var(--navy-line); border-radius:14px; padding:18px; margin-bottom:14px;}
  .dash-card-hd{display:flex; align-items:center; justify-content:space-between; margin-bottom:12px;}
  .dash-card-hd h4{font-family:'Changa'; font-weight:600; font-size:14px; color:var(--gold-soft);}
  .badge{background:rgba(212,169,74,0.12); color:var(--gold-soft); font-size:9.5px; font-weight:600; padding:3px 9px; border-radius:999px;}
  .badge.pending{background:rgba(159,176,214,0.12); color:var(--ink-soft);}
  .info-row{display:flex; justify-content:space-between; align-items:center; padding:8px 0; border-bottom:1px solid rgba(237,241,250,0.06); font-size:12.5px;}
  .info-row:last-child{border-bottom:none;}
  .info-row .lb{color:var(--ink-soft);}
  .info-row .vl{font-weight:600; color:var(--ink);}
  .info-row .vl.muted{color:var(--ink-soft); font-weight:400; font-size:11.5px;}
  .dash-link{display:flex; align-items:center; justify-content:center; gap:7px; background:var(--navy-deep); border:1px solid var(--navy-line); color:var(--gold-soft); padding:11px 14px; border-radius:10px; font-size:12.5px; font-weight:700; text-decoration:none; margin-top:8px;}
  .dash-link svg{width:14px;height:14px;}
  .dash-link.disabled{color:var(--ink-soft); opacity:0.6; pointer-events:none;}
  .alert-row{background:var(--navy-deep); border:1px solid var(--navy-line); border-radius:10px; padding:11px 13px; margin-bottom:8px; display:flex; gap:9px; align-items:flex-start;}
  .alert-row .dot2{width:6px;height:6px;border-radius:50%;background:var(--gold); margin-top:6px; flex-shrink:0;}
  .alert-row p{font-size:12px; color:var(--ink-soft); line-height:1.6;}
  .empty-note{font-size:12px; color:var(--ink-soft); text-align:center; padding:10px 0;}

  .ripple{position:absolute; border-radius:50%; background:var(--ripple-color); transform:scale(0); animation:ripple-anim .55s ease-out; pointer-events:none;}
  @keyframes ripple-anim{to{transform:scale(2.6); opacity:0;}}
  .reveal{opacity:0; transform:translateY(16px); transition:opacity .6s ease, transform .6s ease;}
  .reveal.in-view{opacity:1; transform:translateY(0);}
  .public-site.hidden{display:none;}

  @media (prefers-reduced-motion: reduce){
    .reveal{opacity:1; transform:none; transition:none;}
    .ripple{animation:none; display:none;}
    .torch-glow{animation:none;}
  }
