/* حاسبة التمويل /mortgage-calculator — طلب المالك 2026-12-02:
   الحاسبة كما هي، فقط الكحليّ (#052531) يصير أخضر أمتار (#173F3A)، وزرّ رجوع في الشريط،
   وعلى الجوال بأسلوب التطبيق: بلا شعار ولا ☰ (كصفحة البحث).
   الألوان مكتوبة inline داخل حزمة React، فالخلفية تُبدَّل هنا (من أوّل رسم) والباقي في amtar-calc-lux.js. */
html.amtar-calc main [style*="background: rgb(5, 37, 49)"],
html.amtar-calc main [style*="background-color: rgb(5, 37, 49)"]{background:#173F3A!important}
html.amtar-calc main [style*="rgb(184, 198, 204)"]{color:rgba(255,255,255,.78)!important}
html.amtar-calc main svg [stroke="#052531"]{stroke:#173F3A!important}
html.amtar-calc main svg [fill="#052531"]{fill:#173F3A!important}
html.amtar-calc .amtar-calc-hero{position:relative}
html.amtar-calc .amtar-calc-back{width:42px;height:42px;border-radius:50%;border:1px solid rgba(255,255,255,.3);background:transparent;color:#fff;display:grid;place-items:center;cursor:pointer;padding:0;margin:0 0 18px;transition:background-color .2s cubic-bezier(.4,0,.2,1)}
html.amtar-calc .amtar-calc-back:hover{background:rgba(255,255,255,.1)}
html.amtar-calc .amtar-calc-back:active{transform:scale(.94)}
html.amtar-calc .amtar-calc-back:focus-visible{outline:2px solid #fff;outline-offset:2px}
@media (max-width:1023px){
  html.amtar-calc .amtar-chrome-root,
  html.amtar-calc #root > div[class*="lg:hidden"][class*="fixed"][class*="top-0"]{display:none!important}
  html.amtar-calc body,html.amtar-calc body.has-amtar-chrome{padding-top:0!important}
  html.amtar-calc main{padding-top:0!important}
  html.amtar-calc main [style*="background: rgb(5, 37, 49)"],
  html.amtar-calc main .amtar-calc-hero{padding-top:calc(16px + env(safe-area-inset-top,0px))!important}
}
/* شريط شعارات البنوك (طلب المالك 2026-12-02): أصغر ومتجمّع في الوسط بدل الانتشار على عرض الشاشة */
html.amtar-calc main div.mt-8.gap-6:has(> div > img[src*="/banks/"]){justify-content:center;flex-wrap:wrap;gap:12px 28px;max-width:880px;margin-inline:auto}
html.amtar-calc main div.mt-8.gap-6:has(> div > img[src*="/banks/"]) > div{flex:0 0 auto}
html.amtar-calc main div.mt-8.gap-6 img[src*="/banks/"]{width:auto!important;max-width:64px;max-height:22px}
/* الفوتر (طلب المالك 2026-12-02): يُحذف من صفحة الحاسبة كلّه، والصفحة تنتهي بشعارات البنوك */
html.amtar-calc footer{display:none!important}
html.amtar-calc main{padding-bottom:48px}
/* شريط البنوك على الجوال: كان شريطاً يُسحب بشعاراتٍ كبيرة — صار شعاراتٍ صغيرة ملمومة في سطرين */
html.amtar-calc main div.md\:hidden.overflow-x-auto:has(img[src*="/banks/"]){overflow:visible;padding:16px 20px}
html.amtar-calc main div.md\:hidden.overflow-x-auto:has(img[src*="/banks/"]) > div{flex-wrap:wrap;justify-content:center;gap:14px 22px;width:100%}
html.amtar-calc main div.md\:hidden.overflow-x-auto:has(img[src*="/banks/"]) > div > div{width:auto!important;flex:0 0 auto}
html.amtar-calc main div.md\:hidden.overflow-x-auto img[src*="/banks/"]{width:auto!important;max-width:56px;max-height:20px}
