/* Scoped to the installed app; ordinary website visits keep their existing UI. */
.app-topbar,.app-bottom-nav,.app-dashboard{display:none}
html.waraq-app{scroll-padding-top:86px;scroll-padding-bottom:90px;background:#f6f7f2}
.waraq-app body{padding-top:72px;padding-bottom:calc(86px + env(safe-area-inset-bottom,0px));background:#f6f7f2;color:#163c35}
.waraq-app body>.header,.waraq-app body>.member-header{display:none!important}
.waraq-app .app-topbar{display:flex;position:fixed;inset:0 0 auto;z-index:70;height:72px;align-items:center;justify-content:space-between;gap:12px;padding:8px 20px;background:#fffdf8;border-bottom:1px solid #e4e9df;box-sizing:border-box}
.app-wordmark{display:flex;align-items:center}.app-wordmark img{width:132px;height:44px;object-fit:contain}
.app-language{display:flex;align-items:center;gap:7px;padding:9px 12px;border:1px solid #e1e7dc;border-radius:30px;font-size:13px;color:#163c35;text-decoration:none;background:white}
.app-language svg{width:18px;height:18px}
.waraq-app .app-bottom-nav{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));position:fixed;inset:auto 0 0;z-index:75;padding:9px 8px calc(10px + env(safe-area-inset-bottom,0px));background:#fffdf8;border-top:1px solid #dde5d7;box-shadow:0 -5px 28px #163c3509}
.app-bottom-nav a{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;min-height:52px;color:#69796d;text-decoration:none;font-size:11px;font-weight:600;border-radius:14px}
.app-bottom-nav svg{width:22px;height:22px;padding:4px 15px;border-radius:20px;box-sizing:content-box}
.app-bottom-nav a[aria-current]{color:#153e32}.app-bottom-nav a[aria-current] svg{background:#e4eddb}
.app-topbar a:focus-visible,.app-bottom-nav a:focus-visible,.app-dashboard a:focus-visible{outline:3px solid #ae873a;outline-offset:3px}
.waraq-app body[data-page-kind=home] main{max-width:960px;padding:0 18px}
.waraq-app body[data-page-kind=home] .catalog-hero,.waraq-app body[data-page-kind=home] .pro-services,.waraq-app body[data-page-kind=home] .how,.waraq-app body[data-page-kind=home] .privacy-strip{display:none!important}
.waraq-app .app-dashboard{display:block;padding:26px 0 24px;max-width:680px;margin:auto}
.app-eyebrow{font-size:10px;letter-spacing:1.6px;color:#6d806c;margin:0 0 12px;font-weight:700}
.app-dashboard h1{font-size:32px;line-height:1.25;letter-spacing:-.8px;font-weight:800;margin:0 0 10px;color:#153e32}
[dir=rtl] .app-dashboard h1{letter-spacing:0}
.app-welcome{color:#73806d;font-size:14px;margin:0 0 25px}
.app-primary-action{display:flex;align-items:center;gap:16px;background:#123e32;color:#fffdf8;border-radius:20px;padding:23px 20px;text-decoration:none;box-shadow:0 9px 20px #163c3514}
.app-primary-action>svg{width:34px;height:34px;color:#d0dcb9;flex-shrink:0}.app-primary-action span{display:grid;gap:5px;flex:1}.app-primary-action strong{font-size:19px}.app-primary-action small{font-size:12px;color:#c9d8c6}.app-primary-action b{font-size:23px}
.app-quick-actions{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:11px;margin:15px 0 22px}
.app-quick-actions a{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;min-height:94px;padding:10px 5px;border:1px solid #e2e8dc;background:#fffdf8;border-radius:17px;text-decoration:none;color:#294c3c;font-size:12px;font-weight:600;box-sizing:border-box}
.app-quick-actions svg{width:25px;height:25px}
.app-pro-shortcut{display:flex;align-items:center;gap:13px;padding:16px;background:#eceede;border:1px solid #dde1ca;border-radius:16px;text-decoration:none;color:#3c5137}
.app-pro-shortcut>svg{width:26px;height:26px;color:#8b743b}.app-pro-shortcut>span:first-of-type{display:grid;gap:5px;flex:1}.app-pro-shortcut strong{font-size:14px}.app-pro-shortcut small{font-size:11px;color:#778068}
.waraq-app .catalog-tools{padding-top:10px!important;scroll-margin-top:85px}.waraq-app .catalog-tools .section-heading{gap:14px}.waraq-app .catalog-tools h2{font-size:22px!important}
.waraq-app .member-main{padding-top:24px}.waraq-app .member-intro{margin-top:0}
.waraq-app .support-whatsapp{bottom:calc(92px + env(safe-area-inset-bottom,0px))}
.waraq-app #analytics-consent{bottom:calc(92px + env(safe-area-inset-bottom,0px));max-height:65dvh;overflow:auto}
.waraq-app footer{margin-bottom:12px}
@media(min-width:760px){.waraq-app .app-topbar{padding-inline:max(20px,calc((100% - 900px)/2))}.waraq-app .app-bottom-nav{padding-inline:max(8px,calc((100% - 680px)/2))}}
