*{margin:0;padding:0;box-sizing:border-box;font-family:'Noto Sans Arabic','Noto Kufi Arabic',system-ui,sans-serif;-webkit-tap-highlight-color:transparent}
html,body{background:#E9ECF6}
body{direction:rtl;color:#12255C;min-height:100vh}
#app{max-width:480px;margin:0 auto;min-height:100vh;background:#F3F4FA;position:relative;padding-bottom:84px;box-shadow:0 0 40px rgba(15,40,120,.12)}
#app.owner{padding-bottom:30px}
a{color:inherit;text-decoration:none}
button{font:inherit;cursor:pointer;border:0;background:none;color:inherit}
.hdr{background:linear-gradient(160deg,#0B3EDF,#0A2A9E);padding:calc(env(safe-area-inset-top) + 14px) 18px 18px;border-radius:0 0 26px 26px;color:#fff}
.toprow{display:flex;align-items:center;justify-content:space-between;gap:8px}
.hdr-title{font-family:'Noto Kufi Arabic';font-weight:800;font-size:16.5px;text-align:center;flex:1}
.hdr-sub{text-align:center;color:rgba(255,255,255,.78);font-size:11.5px;font-weight:600;margin-top:4px}
.icobtn{width:38px;height:38px;border-radius:50%;background:rgba(255,255,255,.16);display:flex;align-items:center;justify-content:center;flex-shrink:0;color:#fff}
.icobtn svg{width:19px;height:19px}
.brand{display:flex;align-items:center;gap:9px}
.logo-badge{width:38px;height:38px;border-radius:50%;background:#fff;overflow:hidden;display:flex}
.logo-badge img{width:100%;height:100%;object-fit:cover}
.brandname{font-family:'Noto Kufi Arabic';font-weight:800;font-size:16px}
.screen{padding:14px 18px}
.card{background:#fff;border-radius:18px;box-shadow:0 5px 16px rgba(15,40,120,.07);padding:14px;margin-bottom:12px}
.bigbtn{display:flex;align-items:center;justify-content:center;gap:8px;width:100%;background:linear-gradient(135deg,#0B3EDF,#0A2A9E);color:#fff;font-family:'Noto Kufi Arabic';font-weight:800;font-size:16px;border-radius:14px;padding:14px;box-shadow:0 8px 16px rgba(11,62,223,.30)}
.bigbtn[disabled]{opacity:.55;box-shadow:none}
.sbtn{display:inline-flex;align-items:center;justify-content:center;background:linear-gradient(135deg,#0B3EDF,#0A2A9E);color:#fff;font-weight:800;font-size:12.5px;border-radius:10px;padding:9px 18px}
.ghost{display:flex;align-items:center;justify-content:center;gap:8px;width:100%;background:#E8EDFF;color:#0B3EDF;font-weight:800;font-size:14px;border-radius:14px;padding:12px}
.wabtn{display:flex;align-items:center;justify-content:center;gap:8px;background:linear-gradient(135deg,#25D366,#128C7E);color:#fff;font-family:'Noto Kufi Arabic';font-weight:800;font-size:15px;border-radius:14px;padding:14px;margin-bottom:10px}
.navbar{position:fixed;bottom:0;left:50%;transform:translateX(-50%);width:100%;max-width:480px;height:calc(66px + env(safe-area-inset-bottom));padding-bottom:env(safe-area-inset-bottom);background:#fff;border-top:1px solid #E6E9F4;display:flex;justify-content:space-around;align-items:center;z-index:5}
.navitem{display:flex;flex-direction:column;align-items:center;gap:3px;font-size:10.5px;font-weight:700;color:#9AA5C0;flex:1;padding:6px 0}
.navitem.active{color:#0B3EDF}
.navitem svg{width:22px;height:22px}
.chips{display:flex;gap:8px;overflow-x:auto;padding-bottom:6px;margin-bottom:8px;scrollbar-width:none}
.chips::-webkit-scrollbar{display:none}
.chip{display:inline-flex;align-items:center;gap:5px;background:#E8EDFF;color:#0B3EDF;font-weight:800;font-size:12px;border-radius:20px;padding:7px 14px;white-space:nowrap;flex-shrink:0}
.chip.on{background:#0B3EDF;color:#fff}
.search{display:flex;align-items:center;gap:10px;background:#fff;border-radius:16px;padding:10px 14px;box-shadow:0 5px 16px rgba(15,40,120,.07);margin-bottom:12px}
.search input{border:0;outline:0;flex:1;font-size:14px;background:none;color:#12255C}
.sec-title{font-family:'Noto Kufi Arabic';font-weight:800;font-size:15px;margin:14px 0 10px}
.muted{color:#6B7899;font-size:11.5px;font-weight:600;line-height:1.7}
.price{font-size:16px;font-weight:900;color:#0B3EDF}
.price-pending{font-size:11.5px;font-weight:800;color:#9A6B00;background:#FFF5DB;border-radius:8px;padding:4px 9px}
.tag{font-size:9.5px;background:#E5F6EC;color:#1D7A4A;border-radius:8px;padding:2px 7px;font-weight:800;margin-inline-start:4px}
.tag.warn{background:#FFF5DB;color:#9A6B00}
.flag{width:36px;height:26px;border-radius:5px;object-fit:cover;box-shadow:0 0 0 1px rgba(0,0,0,.08);flex-shrink:0;background:#E8EDFF}
.drow{display:flex;gap:11px;align-items:center}
.drow .info{flex:1;min-width:0}
.dname{font-weight:800;font-size:13.5px}
.region{background:#fff;border-radius:16px;margin-bottom:10px;box-shadow:0 5px 14px rgba(15,40,120,.06);overflow:hidden}
.region summary{padding:13px 14px;font-weight:800;font-size:14px;cursor:pointer;list-style:none;display:flex;justify-content:space-between}
.region summary::-webkit-details-marker{display:none}
.region .items{padding:0 12px 6px}
.region .item{display:flex;gap:10px;align-items:center;padding:10px 0;border-top:1px dashed #E4E8F4}
.hero{background:linear-gradient(120deg,#0B3EDF,#5B8CFF);border-radius:18px;padding:16px;color:#fff;position:relative;overflow:hidden;margin-bottom:12px;display:block}
.hero:before{content:"";position:absolute;top:-24px;left:-20px;width:110px;height:110px;border-radius:50%;background:rgba(255,255,255,.12)}
.hero h3{font-family:'Noto Kufi Arabic';font-weight:800;font-size:16px;position:relative}
.hero p{font-size:12px;opacity:.93;font-weight:600;margin-top:4px;line-height:1.7;position:relative}
.hero .cta{display:inline-block;margin-top:10px;background:#fff;color:#0B3EDF;font-weight:800;font-size:12.5px;border-radius:10px;padding:8px 16px;position:relative}
.squares{display:flex;gap:10px;margin-bottom:14px}
.sq{flex:1;aspect-ratio:1/1;max-width:96px;background:linear-gradient(150deg,#0B3EDF,#0A2A9E);border-radius:20px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;color:#fff;font-weight:800;font-size:11.5px;box-shadow:0 6px 14px rgba(11,62,223,.28)}
.sq svg{width:27px;height:27px}
.pricebox{background:rgba(255,255,255,.22);border-radius:14px;padding:12px 16px;display:flex;justify-content:space-between;align-items:center;margin-top:12px;position:relative}
.pricebox b{font-size:24px}
.pricebox span{font-size:12px;font-weight:800}
.dest-hero{background:linear-gradient(135deg,#17306E,#3A5590);border-radius:20px;padding:18px;color:#fff;margin-bottom:12px;position:relative;overflow:hidden}
.dest-hero:before{content:"";position:absolute;top:-30px;left:-30px;width:130px;height:130px;border-radius:50%;background:rgba(255,255,255,.1)}
.dest-hero h2{font-family:'Noto Kufi Arabic';font-weight:800;font-size:20px;position:relative}
.dest-hero p{font-size:12.5px;font-weight:600;margin-top:6px;opacity:.9;position:relative}
.note{background:#FFF8E6;border:1.5px solid #F3DFA2;color:#7A5900;border-radius:14px;padding:11px 14px;font-weight:700;font-size:12px;line-height:1.7;margin-bottom:12px}
.note.red{background:#FDECEC;border-color:#F4B8B8;color:#9A2020}
.note.green{background:#E9F8EF;border-color:#A8DDBD;color:#16643B}
ol.steps,ul.list{list-style:none}
ol.steps li,ul.list li{padding:8px 0;font-size:13.5px;font-weight:700;color:#3A4A70;display:flex;gap:10px;line-height:1.6}
ol.steps li b{color:#0B3EDF}
ul.list li:before{content:"•";color:#0B3EDF;font-weight:900}
label.f{display:block;margin-bottom:12px}
label.f span{display:block;font-size:11.5px;font-weight:800;color:#6B7899;margin-bottom:4px}
input.in,select.in,textarea.in{width:100%;background:#F5F7FD;border:1.5px solid #E2E7F5;border-radius:13px;padding:11px 14px;font-size:14px;font-weight:700;color:#12255C;outline:0}
input.in:focus,select.in:focus,textarea.in:focus{border-color:#0B3EDF;background:#fff}
input.ltr{direction:ltr;text-align:right}
.steps-bar{display:flex;gap:6px;margin-bottom:14px}
.steps-bar div{flex:1;text-align:center;font-size:10.5px;font-weight:800;color:#9AA5C0;border-top:4px solid #DCE2F2;padding-top:6px}
.steps-bar div.on{color:#0B3EDF;border-color:#0B3EDF}
.upl{border:2px dashed #BFCBEE;border-radius:14px;padding:12px;margin-bottom:10px;background:#fff}
.upl .t{font-weight:800;font-size:13px;display:flex;justify-content:space-between;gap:8px}
.upl .req{font-size:10px;background:#FDECEC;color:#B02A2A;border-radius:8px;padding:2px 7px}
.upl .req.opt{background:#EEF1FA;color:#6B7899}
.upl input[type=file]{margin-top:8px;font-size:12px;width:100%}
.upl .ok{color:#16643B;font-size:12px;font-weight:800;margin-top:6px}
.upl img{max-width:100%;max-height:110px;border-radius:10px;margin-top:8px}
.methods{display:flex;gap:8px;margin-bottom:12px}
.method{flex:1;background:#fff;border:2px solid #DCE2F2;border-radius:14px;padding:10px 4px;text-align:center;font-weight:800;font-size:12px;color:#4A5878}
.method.on{border-color:#0B3EDF;background:#EEF3FF;color:#0B3EDF}
.method .ic{font-size:20px;display:block;margin-bottom:4px}
.kv{display:flex;justify-content:space-between;align-items:center;gap:8px;padding:9px 0;border-bottom:1px dashed #E4E8F4;font-size:13px}
.kv:last-child{border-bottom:0}
.kv .k{color:#6B7899;font-weight:700;font-size:12px}
.kv .v{font-weight:800;direction:ltr;text-align:left;word-break:break-all}
.copy{background:#E8EDFF;color:#0B3EDF;border-radius:8px;padding:4px 10px;font-size:11px;font-weight:800;flex-shrink:0}
.badge{display:inline-block;border-radius:10px;padding:4px 12px;font-size:12px;font-weight:800}
.b-ok{background:#E5F6EC;color:#1D7A4A}
.b-wip{background:#FFF5DB;color:#9A6B00}
.b-no{background:#FDECEC;color:#B02A2A}
.seg{display:flex;gap:6px;margin:6px 0 12px}
.seg button{flex:1;padding:10px 4px;border-radius:12px;font-weight:800;font-size:12.5px;background:#EEF1FA;color:#4A5878;border:2px solid transparent}
.seg button.on.ok{background:#E5F6EC;color:#1D7A4A;border-color:#1D7A4A}
.seg button.on.wip{background:#FFF5DB;color:#9A6B00;border-color:#C48A00}
.seg button.on.no{background:#FDECEC;color:#B02A2A;border-color:#B02A2A}
.orow{display:flex;justify-content:space-between;align-items:center;gap:8px}
.statbox{display:flex;gap:8px;margin:10px 0}
.statbox div,.statbox a{flex:1;background:#F5F7FD;border-radius:12px;padding:10px 4px;text-align:center}
.statbox a{text-decoration:none}
.statbox b{display:block;font-size:20px;color:#0B3EDF}
.statbox span{font-size:10.5px;font-weight:800;color:#6B7899}
.rank{font-size:34px;font-weight:900;color:#0B3EDF}
#toast{position:fixed;bottom:90px;left:50%;transform:translateX(-50%);background:#12255C;color:#fff;padding:10px 18px;border-radius:12px;font-weight:700;font-size:13px;opacity:0;pointer-events:none;transition:.25s;z-index:20;max-width:90%;text-align:center}
#toast.show{opacity:1}
.spin{text-align:center;padding:30px;color:#6B7899;font-weight:700}
.tl{margin:6px 0}
.tl div{display:flex;gap:10px;align-items:center;padding:7px 0;font-size:13px;font-weight:700;color:#9AA5C0}
.tl div i{width:14px;height:14px;border-radius:50%;background:#DCE2F2;flex-shrink:0}
.tl div.done{color:#12255C}.tl div.done i{background:#1D7A4A}
.tl div.cur{color:#0B3EDF}.tl div.cur i{background:#0B3EDF}
.tl div.bad{color:#B02A2A}.tl div.bad i{background:#B02A2A}
.imgprev{max-width:100%;border-radius:12px;margin-top:8px}
.small{font-size:11px;color:#6B7899;font-weight:600;line-height:1.7}

.search svg{width:20px;height:20px;flex-shrink:0;color:#9AA5C0}
.tag{white-space:nowrap;display:inline-block}
bdi{unicode-bidi:isolate}

.hdr-pill{display:inline-block;background:rgba(255,255,255,.16);border:1px solid rgba(255,255,255,.3);border-radius:999px;padding:5px 12px;font-size:11px;font-weight:700;color:#fff;font-family:inherit;letter-spacing:0}
.hdr-sub{margin-top:8px}
#langbtn{position:fixed;top:8px;right:8px;z-index:99;background:#0B3EDF;color:#fff;border:0;border-radius:999px;padding:6px 12px;font-size:12px;font-weight:700;box-shadow:0 2px 8px rgba(11,62,223,.35);cursor:pointer;font-family:inherit}
.brandname-en{font-size:10.5px;font-weight:600;color:rgba(255,255,255,.72)}
html[dir=ltr] body{direction:ltr}
html[dir=ltr] .brandname-en{display:none}

/* ===== THEME A: Navy & Gold (rollback: delete everything from this marker to the end) ===== */
html,body{background:#0A1330}
#app{background:#F6F7FB;box-shadow:none}
.hdr{background:#071644;border-radius:0;border-bottom:4px solid #F5B301;padding-bottom:22px}
.icobtn{background:rgba(245,179,1,.18);color:#F5B301;border-radius:10px}
.card,.region{border-radius:10px;box-shadow:none;border:1px solid #D9DFF0}
.hero{background:#0B3EDF;border-radius:12px;border-inline-start:6px solid #F5B301}
.hero:before{display:none}
.hero .cta,.sbtn,.bigbtn{background:#F5B301;color:#071644;border-radius:8px;box-shadow:none;font-weight:900}
.bigbtn[disabled]{background:#D9DFF0;color:#8D9ACB}
.wabtn{border-radius:8px}
.sq{background:#071644;border-radius:12px;box-shadow:none;border-bottom:3px solid #F5B301;color:#fff}
.sq svg{color:#F5B301}
.navbar{background:#071644;border-top:0}
.navitem{color:#8D9ACB}.navitem.active{color:#F5B301}
.chip{border-radius:8px;background:#E3E8F8}.chip.on{background:#071644;color:#fff}
.price,.sec-title,.rank,.statbox b{color:#071644}
.ghost{background:#E3E8F8;border-radius:8px;color:#071644}
.search{border-radius:10px;box-shadow:none;border:1px solid #D9DFF0}
.dest-hero{background:#071644;border-radius:12px;border-inline-start:6px solid #F5B301}
.dest-hero:before{display:none}
input.in,select.in,textarea.in{border-radius:8px;background:#fff;border:1.5px solid #CBD3EA}
input.in:focus,select.in:focus,textarea.in:focus{border-color:#F5B301;background:#fff;box-shadow:0 0 0 3px rgba(245,179,1,.25)}
.upl{border-radius:8px;border-color:#B7C3E8}
.method{border-radius:8px}.method.on{border-color:#071644;background:#EEF1FA;color:#071644}
.steps-bar div.on{color:#071644;border-color:#F5B301}
ol.steps li b,ul.list li:before{color:#071644}
.copy{background:#E3E8F8;color:#071644;border-radius:6px}
.tl div.cur{color:#071644}.tl div.cur i{background:#F5B301}
.pricebox{border-radius:8px;background:rgba(255,255,255,.14)}
.statbox div,.statbox a{border-radius:8px;background:#EEF1FA}
.chip,.sbtn,.cta{letter-spacing:0}
#langbtn{background:#071644;color:#F5B301;border:1px solid #F5B301;box-shadow:none}
.seg button{border-radius:8px}

/* ===== THEME A compact sizing (phone). Rollback: delete from this marker to the end ===== */
.hdr{padding:calc(env(safe-area-inset-top) + 10px) 14px 12px;border-bottom-width:3px}
.hdr-title{font-size:15px}
.hdr-sub{font-size:10.5px;margin-top:5px}
.hdr-pill{padding:4px 10px;font-size:10.5px}
.brandname{font-size:14.5px}
.logo-badge{width:32px;height:32px}
.icobtn{width:34px;height:34px}.icobtn svg{width:17px;height:17px}
.screen{padding:10px 14px}
.card{padding:11px;margin-bottom:9px}
.screen a.card[style]{padding:9px 8px!important}
.screen a.card[style] img{max-height:24px!important;width:auto!important}
.screen a.card[style] svg{width:26px!important;height:26px!important}
.hero{padding:12px;margin-bottom:9px}.hero h3{font-size:14.5px}.hero p{font-size:11.5px;line-height:1.55}
.hero .cta{padding:6px 14px;font-size:12px;margin-top:8px}
.squares{gap:8px;margin-bottom:10px}
.sq{max-width:82px;aspect-ratio:1/.82;gap:5px;font-size:11px;border-radius:10px}.sq svg{width:22px;height:22px}
.sbtn{padding:7px 14px;font-size:12px}
.bigbtn{padding:11px;font-size:14.5px}
.ghost{padding:10px;font-size:13px}
.wabtn{padding:11px;font-size:14px}
input.in,select.in,textarea.in{padding:8px 12px;font-size:16px}
label.f{margin-bottom:9px}label.f span{font-size:11px;margin-bottom:3px}
.upl{padding:9px;margin-bottom:8px}
.statbox{gap:6px;margin:8px 0}.statbox div,.statbox a{padding:7px 2px}.statbox b{font-size:17px}.statbox span{font-size:10px}
.chip{padding:5px 12px;font-size:11.5px}
.chips{margin-bottom:6px}
.search{padding:8px 12px;margin-bottom:9px}
.sec-title{font-size:14px;margin:10px 0 8px}
.dname{font-size:13px}
.dest-hero{padding:13px;margin-bottom:9px}.dest-hero h2{font-size:17px}
.price{font-size:15px}
.kv{padding:7px 0}
.navbar{height:calc(56px + env(safe-area-inset-bottom))}
.navitem{font-size:10px;padding:4px 0;gap:2px}.navitem svg{width:20px;height:20px}
#app{padding-bottom:70px}
#langbtn{top:auto;bottom:calc(64px + env(safe-area-inset-bottom));right:8px;padding:4px 10px;font-size:11px;opacity:.92;background:#071644}
.hdr{padding-top:calc(env(safe-area-inset-top) + 24px)}
#langbtn{top:4px;bottom:auto;right:6px;padding:2px 9px;font-size:10px;opacity:1;line-height:1.5}

#langbtn{top:auto!important;bottom:64px!important;left:8px!important;right:auto!important;padding:3px 9px;font-size:10px;opacity:.92}
.tapbtn{display:inline-flex;align-items:center;gap:6px;background:#F5B301;color:#071644;font-weight:800;font-size:13px;padding:7px 16px;border-radius:999px;box-shadow:0 2px 0 #c28f00}
.squares{display:flex!important;justify-content:center!important;gap:10px!important;width:100%;margin-left:auto;margin-right:auto}
.squares .sq{flex:0 0 96px!important;width:96px!important;margin:0!important}

#langbtn{font-size:9.5px!important;padding:2px 8px!important;bottom:62px!important;left:6px!important;opacity:.85!important}
.squares{gap:8px!important;padding:0 4px}
.squares .sq{flex:1 1 0!important;width:auto!important;min-width:0!important;max-width:118px!important;padding:8px 4px!important}
.squares .sq span{font-size:11.5px!important;line-height:1.25!important;text-align:center;white-space:normal}
html[lang=en] body{font-size:14px}
html[lang=en] .dname{font-size:13px!important;line-height:1.35!important}
html[lang=en] .sbtn,html[lang=en] .cta{font-size:12.5px!important;line-height:1.3!important;padding:7px 12px!important}

/* DESKTOP layout (>=900px): same app, wider column */
@media (min-width:900px){body{background:#071644!important}#app{max-width:860px!important;box-shadow:0 0 60px rgba(0,0,0,.35)!important}.navbar{max-width:860px!important}.squares .sq{max-width:150px!important}.squares .sq span{font-size:13px!important}}
