/* AL SULTAN identity, edition 01. Shared by storefront, account and service guides. */
@font-face{font-family:'Sultan Arabic';src:url('/assets/brand/fonts/plex-arabic-400.woff2') format('woff2');font-weight:400;font-style:normal;font-display:swap}
@font-face{font-family:'Sultan Arabic';src:url('/assets/brand/fonts/plex-arabic-500.woff2') format('woff2');font-weight:500;font-style:normal;font-display:swap}
@font-face{font-family:'Sultan Arabic';src:url('/assets/brand/fonts/plex-arabic-600.woff2') format('woff2');font-weight:600;font-style:normal;font-display:swap}
@font-face{font-family:'Sultan Arabic';src:url('/assets/brand/fonts/plex-arabic-700.woff2') format('woff2');font-weight:700;font-style:normal;font-display:swap}
@font-face{font-family:'Sultan Latin';src:url('/assets/brand/fonts/manrope-variable.woff2') format('woff2');font-weight:200 800;font-style:normal;font-display:swap}
:root,html:root[data-theme=light]{
 --brand-green:#073c32;--brand-ivory:#faf9f3;--brand-gold:#b69b60;--brand-sage:#e7ede3;--brand-forest:#34584b;
 --brand-font-body:'Sultan Arabic','IBM Plex Sans Arabic',sans-serif;--brand-font-latin:'Sultan Latin','Sultan Arabic',sans-serif;
 --font:var(--brand-font-body);--green:#073c32;--dark:#073c32;--ink:#173d32;--muted:#50685b;--border:#d7ded1;--line:#d7ded1;--stroke:#d7ded1;
 --bg:#faf9f3;--wash:#e7ede3;--white:#fff;--text:#173d32;--text-muted:#50685b;--action:#073c32;
 --surface:#fff;--surface-muted:#eff2e9;--surface-soft:#eff2e9;--surface-raised:#fff;--focus:#806b3d;--accent:#806b3d;
 --radius:18px;--control-radius:12px;--shadow-soft:0 8px 28px #073c3207;
 --glass-pane:#fff;--glass-chrome:rgba(250,249,243,.96);--glass-input:#fff;--glass-edge:#d7ded1;--glass-shadow:0 8px 28px #073c3207;--glass-blur:none;--glass-scene:#faf9f3;
 --reading-ink:#173d32;--reading-muted:#50685b;--reading-surface:#fff;--reading-bg:#faf9f3;--reading-stroke:#d7ded1;
}
html:root[data-theme=dark]{
 --brand-green:#073c32;--brand-ivory:#faf9f3;--brand-gold:#c6af77;--brand-sage:#233d31;--brand-forest:#b7c9bc;
 --brand-font-body:'Sultan Arabic','IBM Plex Sans Arabic',sans-serif;--brand-font-latin:'Sultan Latin','Sultan Arabic',sans-serif;
 --font:var(--brand-font-body);--green:#073c32;--dark:#073c32;--ink:#f0f2e8;--muted:#b7c9bc;--border:#3a5043;--line:#3a5043;--stroke:#3a5043;
 --bg:#101e19;--wash:#23382d;--white:#182b22;--text:#f0f2e8;--text-muted:#b7c9bc;--action:#d2e5cf;
 --surface:#182b22;--surface-muted:#21382c;--surface-soft:#21382c;--surface-raised:#243d30;--focus:#d6bd83;--accent:#d6bd83;
 --glass-pane:#182b22;--glass-chrome:rgba(16,30,25,.96);--glass-input:#14251c;--glass-edge:#3a5043;--glass-shadow:0 8px 28px #0002;--glass-blur:none;--glass-scene:#101e19;
 --reading-ink:#f0f2e8;--reading-muted:#b7c9bc;--reading-surface:#182b22;--reading-bg:#101e19;--reading-stroke:#3a5043;
}
html:root[lang=en],html:root[lang=fil],html:root[lang=ru]{--font:var(--brand-font-latin)}
html:root[lang=bn],html:root[lang=ne],html:root[lang=hi]{--font:system-ui,'Sultan Latin',sans-serif}
html:root[data-theme] body{font-family:var(--font);background:var(--bg);background-attachment:scroll;color:var(--ink);-webkit-font-smoothing:antialiased}
body :is(button,input,textarea,select){font-family:var(--font)}
html[dir=rtl] :is(h1,h2,h3,h4){letter-spacing:normal}
:is(bdi,[dir=ltr],input[type=email],input[type=tel]){unicode-bidi:isolate}
:where(button,a,input,select,textarea,summary):focus-visible{outline:3px solid var(--focus)!important;outline-offset:4px!important}
html:root[data-theme] :is(input,select,textarea){background:var(--glass-input)!important;border-color:var(--border)!important;color:var(--ink);box-shadow:none}
html:root[data-theme] :is(input,select,textarea):focus{border-color:var(--focus)!important;box-shadow:0 0 0 3px #b69b6020}
html:root[data-theme] .preferences-bar{color:var(--ink);border-color:var(--border)}
html:root[data-theme] .preferences-controls :is(label,button){background:var(--surface-soft)!important;border-color:var(--border);color:var(--ink);border-radius:12px;box-shadow:none}
html:root[data-theme] .preferences-controls select{background:transparent!important;border:0!important;color:inherit}
/* Calm, readable surfaces replace the old green/burgundy glass scene. */
html:root[data-theme] :is(.panel,.stat,.service-card,.package-card,.plan-form,.passport,.plan-card,.people-card,.work-card,.place-card,.subscription-card,.materials-card,.location-card,.welcome-panel,.calendar-panel,.day-panel,.calendar-day-panel,.attention-strip button,.attention-filter,.policy-grid article,.auth,.dialog),html:root[data-theme] #modal{
 background:var(--surface)!important;border-color:var(--border);color:var(--ink);box-shadow:var(--shadow-soft);backdrop-filter:none;-webkit-backdrop-filter:none;border-radius:18px;
}
html:root[data-theme] :is(.panel-heading,.day-panel-head,.month-weekdays,.passport-footer){background:var(--surface-soft)!important;border-color:var(--border);color:var(--ink)}
html:root[data-theme] :is(.header,.app-header,.sidebar,.mobile-nav,.public-dock),html:root[data-theme] body>header:not(.header){background:var(--glass-chrome)!important;border-color:var(--border);backdrop-filter:blur(16px);-webkit-backdrop-filter:blur(16px);box-shadow:0 2px 18px #073c3204}
html:root[data-theme] .sidebar{background:var(--surface)!important;backdrop-filter:none;-webkit-backdrop-filter:none}
.sidebar .brand{padding:3px 10px 28px}.sidebar .brand img{width:151px;margin-inline:auto}
.sidebar-label{color:var(--muted);font-size:12px;letter-spacing:0}
html:root[data-theme] .sidebar nav button{color:var(--muted);border:1px solid transparent;font-weight:500}
html:root[data-theme] .sidebar nav button.active{background:var(--brand-green);color:var(--brand-ivory);box-shadow:none;border-color:var(--brand-green)}
html:root[data-theme] .sidebar nav button:hover:not(.active){background:var(--surface-soft);color:var(--ink);border-color:var(--border)}
html:root[data-theme] :is(.btn:not(.light):not(.burgundy),.button:not(.outline):not(.gold),.reading-button){background:var(--brand-green);color:#faf9f3;background-image:none;box-shadow:none;border-color:transparent;font-weight:500}
html:root[data-theme] :is(.btn:not(.light):not(.burgundy),.button:not(.outline):not(.gold),.reading-button):hover{background:#185447;color:#faf9f3}
html:root[data-theme] :is(.btn.light,.button.outline,.soft-button,.date-chip){background:var(--surface)!important;color:var(--action);border-color:var(--border);box-shadow:none}
html:root[data-theme] :is(.text-action,.soft-link,.card-link,.data-table button.link){color:var(--action)}
html:root[data-theme] :is(.stat-icon,.brand-dot,.avatar,.team-avatar){background:var(--surface-soft);color:var(--action)}
html:root[data-theme] .eyebrow{color:var(--accent)}
html:root[data-theme] :is(.tabs,.view-switch,.passport-tabs){background:var(--surface-soft)}
html:root[data-theme] :is(.tabs .active,.view-switch .active){background:var(--brand-green);color:#faf9f3;box-shadow:none}
html:root[data-theme] :is(.month-day,.order-item,.detail-grid>div){background:var(--surface);border-color:var(--border)}
html:root[data-theme] .month-day.selected{background:var(--surface-soft)!important;outline:2px solid var(--focus);outline-offset:-2px}
html:root[data-theme] :is(.data-table th,.schedule-overview>div,.schedule-overview>p){background:var(--surface-soft)!important;color:var(--muted);border-color:var(--border);box-shadow:none}
html:root[data-theme] :is(.data-table th,.data-table td,.team-row,.timeline-item,.app-footer){border-color:var(--border)}
html:root[data-theme] .app-footer{color:var(--muted)}
/* The account entry is part of the same identity, without changing authentication. */
html:root[data-theme] body:has(>.auth){background:var(--bg) url('/assets/brand/patterns/architectural-lines.svg') no-repeat left -80px bottom -130px;background-size:min(52vw,520px)}
html:root[data-theme] .auth{width:min(100%,510px);border-top:3px solid var(--brand-gold);padding:34px;border-radius:22px;box-shadow:0 16px 60px #073c320b}
.auth>a[href="/"]{display:block;max-width:180px;margin-block:8px 24px}.auth>a[href="/"] img{width:180px;height:auto;margin:0}
.auth h1{font-weight:500;font-size:clamp(26px,4vw,32px);line-height:1.45;letter-spacing:0}.auth p{line-height:1.8}
.auth .btn{min-height:50px;border-radius:12px}.auth footer{background:none;color:var(--muted);padding-top:20px}
html:root[data-theme] :is(.auth input,.auth select){border-radius:12px;min-height:50px}
html:root[data-theme] .auth .auth-links{font-size:14px}
html:root[data-theme=dark] :is(.auth img,.sidebar .brand img,.reading-nav img,body>header>a>img){content:url('/assets/brand/logo-ivory.svg');background:none;padding:0;border-radius:0;filter:none}
/* SEO and policy pages share the same type, navigation and colour system. */
html:root[data-theme] .reading-page{font-family:var(--font);--reading-ink:var(--ink);--reading-muted:var(--muted);--reading-surface:var(--surface);--reading-bg:var(--bg);--reading-stroke:var(--border)}
html:root[data-theme] .reading-page header{background:var(--glass-chrome)!important}
.reading-page h1{font-weight:500;letter-spacing:0}.reading-page h2{font-weight:500}
html:root[data-theme] .reading-kicker{color:var(--accent)!important}
.reading-nav img{width:148px;max-width:148px;height:auto}
html:root[data-theme] .reading-cards>a{border-color:var(--border);border-radius:18px;box-shadow:none}
html:root[data-theme] .reading-cta{background:var(--surface-soft);border-color:var(--border);border-inline-start:3px solid var(--brand-gold);box-shadow:none}
html:root[data-theme] .reading-page footer{color:var(--muted);background:var(--surface-soft);border-color:var(--border)}
html:root[data-theme] :is(.analytics-consent-panel,.install-app-dialog){border-color:var(--border);font-family:var(--font)}
@media(max-width:700px){.auth>a[href="/"]{max-width:160px}.auth>a[href="/"] img{width:160px}html:root[data-theme] .auth{padding:25px 22px;border-radius:18px}.reading-nav img{width:118px;max-width:118px}.sidebar .brand img{width:151px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*::before,*::after{scroll-behavior:auto!important;animation-duration:.01ms!important;transition-duration:.01ms!important}}
@media(prefers-reduced-transparency:reduce),(prefers-contrast:more){html:root[data-theme]{--glass-chrome:var(--surface)}html:root[data-theme] :is(.header,.app-header,.sidebar,.mobile-nav,.public-dock),html:root[data-theme] body>header:not(.header){backdrop-filter:none;-webkit-backdrop-filter:none}}

/* The language selector is a compact header control, not a booking field. */
.store-body .preferences-controls select{min-height:34px;padding:0 20px 0 0;font-size:12px}
html[dir=ltr] .store-body .preferences-controls select{padding:0 0 0 20px}

html:root[data-theme] .preferences-controls select{min-height:0!important;height:auto!important;padding-block:0!important}
