﻿/* Final shared UI layer: one set of tokens across public, customer and technician pages. */
:root{--ui-ink:#12355b;--ui-muted:#708194;--ui-line:#e1e8ef;--ui-surface:#fff;--ui-soft:#f5f8fb;--ui-radius:20px;--ui-control-radius:13px;--ui-space:18px}
body{color:var(--ui-ink);background:#fff;line-height:1.8}
.page>.container,.public-main{max-width:1120px}
.card,.request-card,.stat,.technician-choice-card,.catalog-service-card{border:1px solid var(--ui-line);border-radius:var(--ui-radius);background:var(--ui-surface);box-shadow:0 3px 14px #12355b03}
.card{padding:var(--ui-space)}
.section-head{margin:24px 0 14px}
.section-head h2,.card-title{color:var(--ui-ink);font-size:1.1rem;font-weight:700;line-height:1.6}
.muted,.card-subtitle{color:var(--ui-muted)}
.btn{border-radius:var(--ui-control-radius);min-height:48px;font-weight:600;font-size:.85rem;box-shadow:none;letter-spacing:0}
.btn-primary,.btn-gold{background:var(--ui-ink);border-color:var(--ui-ink);color:#fff}
.btn-primary:hover,.btn-gold:hover{background:#214b78;border-color:#214b78;color:#fff}
.btn-outline,.btn-light,.btn-light-mobile{background:#fff;border:1px solid var(--ui-line);color:var(--ui-ink)}
.btn-outline:hover,.btn-light:hover,.btn-light-mobile:hover{background:var(--ui-soft);border-color:#bfcedd;color:var(--ui-ink)}
.form-group{margin-bottom:18px}
.form-label{font-size:.8rem;font-weight:600;color:var(--ui-ink);line-height:1.7;margin-bottom:7px}
.form-control{min-height:48px;border:1px solid #d8e2ec;border-radius:var(--ui-control-radius);background:#fff;color:var(--ui-ink);font-size:16px;padding:11px 14px;box-shadow:none}
.form-control:focus{border-color:#7898bd;outline:0;box-shadow:0 0 0 3px #12355b0b}
textarea.form-control{min-height:120px;line-height:1.8}
.form-control::placeholder{color:#8a9bad}
.request-service-pair{background:var(--ui-soft);border:1px solid var(--ui-line);border-radius:16px;padding:16px}
.request-service-pair .form-group:last-child{margin-bottom:0}
.empty{background:#fafcfe;border:1px dashed #cfdbe6;border-radius:16px;padding:24px 16px;font-size:.82rem;color:var(--ui-muted);text-align:center}
.kp-page-hero,.card.kp-page-hero,.section-head.kp-page-hero{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:20px;margin:0 0 16px;border:1px solid var(--ui-line);border-radius:22px;background:#fff;box-shadow:none}
.kp-page-hero>div:first-child{flex:1;min-width:0}
.kp-page-hero h1,.khadoom-requests-intro h1,.technician-dashboard-hero .card-title{font-size:1.45rem;font-weight:800;line-height:1.6;margin:0 0 6px;color:var(--ui-ink)}
.kp-page-hero p,.khadoom-requests-intro .khadoom-page-intro p{font-size:.8rem;line-height:1.85;color:var(--ui-muted);margin:0;max-width:520px}
.kp-page-hero .khadoom-page-helper,.khadoom-requests-intro .khadoom-page-helper,.technician-dashboard-hero .khadoom-page-helper{width:115px;height:172px;flex:none;background:transparent}
.khadoom-requests-intro{padding:20px;margin-bottom:16px;border-radius:22px;border-color:var(--ui-line);box-shadow:none}
.khadoom-requests-intro>.btn{margin-top:12px;min-height:44px}
.customer-home-hero.khadoom-customer-welcome{background:#fff;border:1px solid var(--ui-line);border-radius:22px;padding:20px;grid-template-columns:minmax(0,1fr) 135px;gap:16px;box-shadow:none}
.customer-home-hero.khadoom-customer-welcome:after{display:none}
.customer-home-hero.khadoom-customer-welcome .khadoom-welcome-art{width:135px;height:172px}
.customer-home-hero.khadoom-customer-welcome h1{font-size:1.55rem;line-height:1.6;margin:4px 0 8px}
.customer-home-hero.khadoom-customer-welcome p{font-size:.8rem;line-height:1.85;color:var(--ui-muted)}
.customer-home-hero.khadoom-customer-welcome .home-eyebrow{font-size:.7rem;color:var(--ui-muted)!important}
.customer-home-hero .customer-home-actions{grid-column:1 / -1;gap:10px;margin-top:0}
.customer-home-hero .customer-home-actions .btn{min-height:48px;font-size:.82rem;border-radius:13px}
.customer-home-hero .customer-home-actions .btn-gold{background:var(--ui-ink);border-color:var(--ui-ink);color:#fff}
.customer-home-hero .customer-home-actions .btn-light-mobile{background:#fff;color:var(--ui-ink);border-color:var(--ui-line)}
.home-service-card{border-color:var(--ui-line);border-radius:20px;box-shadow:none;background:#fff}
.home-service-content h3,.catalog-service-copy>strong{font-size:.95rem;font-weight:700;line-height:1.7;color:var(--ui-ink)}
.home-service-content p,.catalog-service-copy>small{font-size:.68rem;color:var(--ui-muted);line-height:1.8}
.catalog-hero{display:flex;align-items:center;gap:18px;padding:20px;border:1px solid var(--ui-line);border-radius:22px;background:#fff;color:var(--ui-ink);box-shadow:none;min-height:172px}
.catalog-hero:before,.catalog-hero:after{display:none}
.catalog-hero h1{font-size:1.45rem;line-height:1.65;color:var(--ui-ink);margin:4px 0 6px}
.catalog-hero p,.catalog-hero .home-eyebrow{color:var(--ui-muted);font-size:.8rem}
.catalog-hero .catalog-hero-icon{width:92px;height:92px;border-radius:20px;background:#f5f8fb;border:1px solid var(--ui-line);box-shadow:none;flex:none}
.catalog-toolbar{margin-bottom:16px}
.catalog-back{color:var(--ui-ink)}
.catalog-back-icon,.catalog-service-arrow{border-color:var(--ui-line);color:var(--ui-ink);background:#fff}
.catalog-services-list .catalog-service-card{padding:18px;gap:14px;margin:0;box-shadow:none}
.catalog-service-card:hover,.home-service-card:hover{border-color:#b8c9da}
.catalog-service-copy .catalog-service-cta{color:#8d682e;font-size:.74rem;font-weight:600}
.catalog-section-head,.home-section-head{margin:24px 0 14px}
.request-status-filter .request-filter-button,.technician-search-filters .btn-light{min-height:48px;border-radius:13px;font-size:.82rem;border-color:var(--ui-line);background-color:var(--ui-soft);color:var(--ui-ink)}
.site-footer{color:var(--ui-muted);border-color:var(--ui-line)}
.request-service-details{padding:0}
.request-service-details>summary{font-size:1rem;padding:17px 18px}
.request-collapse-content{padding:18px}
/* The native select remains the submitted value; this is its accessible visual picker. */
.ui-native-select{position:absolute!important;width:1px!important;height:1px!important;opacity:0!important;padding:0!important;margin:0!important;border:0!important;overflow:hidden!important;clip-path:inset(50%)}
.ui-select-wrap{position:relative;min-width:0}
.ui-select-button{display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%;min-height:48px;text-align:start;direction:rtl;background:#fff;border:1px solid #d8e2ec;border-radius:13px;padding:11px 14px;color:var(--ui-ink);font:inherit;font-size:.88rem;line-height:1.65;cursor:pointer}
.ui-select-button:after{content:'';width:7px;height:7px;border-right:1.5px solid #708194;border-bottom:1.5px solid #708194;transform:rotate(45deg);flex:none;margin:0 3px 4px}
.ui-select-button:disabled{background:#f5f7fa;color:#8c9bab;cursor:not-allowed}
.ui-select-button:focus-visible{outline:2px solid #7898bd;outline-offset:2px}
.ui-picker{width:min(480px,calc(100% - 24px));max-height:80dvh;border:1px solid var(--ui-line);border-radius:22px;background:#fff;color:var(--ui-ink);padding:0;box-shadow:0 20px 70px #12355b26;box-sizing:border-box}
.ui-picker::backdrop{background:#102a4666;backdrop-filter:blur(3px)}
.ui-picker-head{display:flex;align-items:center;justify-content:space-between;padding:16px 18px;border-bottom:1px solid var(--ui-line);gap:12px}
.ui-picker-head h2{font-size:1rem;line-height:1.6;margin:0}
.ui-picker-close{width:36px;height:36px;border:0;border-radius:12px;background:var(--ui-soft);color:var(--ui-ink);font-size:1.3rem;cursor:pointer}
.ui-picker-search{padding:12px 16px}
.ui-picker-list{padding:8px 12px 14px;max-height:50dvh;overflow:auto;overscroll-behavior:contain}
.ui-picker-option{display:flex;align-items:center;justify-content:space-between;gap:14px;width:100%;min-height:46px;text-align:start;padding:10px 12px;margin:3px 0;border:1px solid transparent;border-radius:12px;background:#fff;color:var(--ui-ink);font:inherit;font-size:.85rem;line-height:1.7;cursor:pointer}
.ui-picker-option[aria-selected=true]{background:#edf3fb;border-color:#d6e3f4;font-weight:600}
.ui-picker-option[aria-selected=true]:after{content:'✓';color:#456d9b}
.ui-picker-option:hover,.ui-picker-option:focus-visible{background:#f0f5fb;outline:0;border-color:#cbdced}
.ui-picker-option:disabled{color:#9ba8b5;cursor:not-allowed}
.ui-picker-empty{padding:14px;color:var(--ui-muted);text-align:center}
@media(max-width:380px){:root{--ui-space:16px}.kp-page-hero,.card.kp-page-hero,.section-head.kp-page-hero,.khadoom-requests-intro{padding:16px;gap:12px}.kp-page-hero .khadoom-page-helper,.khadoom-requests-intro .khadoom-page-helper{width:100px;height:150px}.kp-page-hero h1,.khadoom-requests-intro h1{font-size:1.3rem}.customer-home-hero.khadoom-customer-welcome{padding:16px;grid-template-columns:minmax(0,1fr) 112px}.customer-home-hero.khadoom-customer-welcome .khadoom-welcome-art{width:112px;height:150px}.customer-home-hero.khadoom-customer-welcome h1{font-size:1.4rem}.catalog-hero{padding:16px;gap:12px}.catalog-hero h1{font-size:1.25rem}.catalog-hero .catalog-hero-icon{width:76px;height:76px}}
@media(min-width:760px){.kp-page-hero,.card.kp-page-hero,.section-head.kp-page-hero,.khadoom-requests-intro{padding:24px}.customer-home-hero.khadoom-customer-welcome{padding:24px}.ui-picker{max-height:75vh}}

.app-shell .catalog-brand{display:none}.app-shell .catalog-toolbar{padding:0;margin:0 0 16px}.technician-dashboard-hero.kp-page-hero{display:block}
.ui-picker [hidden]{display:none!important}
/* Floating mobile header, shared by the website and Appilix. */
@media(max-width:979px){
  .app-header-clean{
    width:calc(100% - 20px);margin:8px auto 0;
    top:calc(8px + env(safe-area-inset-top,0px));
    padding-top:0;border:1px solid #294354;border-radius:20px;
    box-sizing:border-box;box-shadow:0 5px 16px #12355b16;
  }
  .app-header-clean .topbar-row{width:calc(100% - 24px);max-width:none;gap:8px}
}
@media(max-width:380px){
  .app-header-clean .header-account-actions{gap:5px}
  .app-header-clean .header-account-actions .user-name{max-width:72px}
}
.registration-password-field .form-control{border:0;border-radius:0;box-shadow:none;background:transparent}
.khadoom-page-intro h1{font-size:1.45rem;line-height:1.6;color:var(--ui-ink);font-weight:800}
.khadoom-page-intro p{font-size:.8rem;line-height:1.85;color:var(--ui-muted)}
.khadoom-page-intro .khadoom-page-helper{width:115px;height:172px}
.work-gov-trigger{min-height:48px;border:1px solid #d8e2ec;border-radius:13px;background:#fff;color:var(--ui-ink);box-shadow:none}
.work-gov-panel{border:1px solid var(--ui-line);border-radius:16px;box-shadow:0 12px 28px #12355b12}
@media(max-width:380px){.khadoom-page-intro .khadoom-page-helper{width:100px;height:150px}.khadoom-page-intro h1{font-size:1.3rem}}
.catalog-page .catalog-hero{background:#fff;border:1px solid var(--ui-line);border-radius:22px;box-shadow:none;padding:20px;min-height:172px;color:var(--ui-ink)}
.catalog-page .catalog-hero:before,.catalog-page .catalog-hero:after{display:none}
.catalog-page .catalog-hero h1{color:var(--ui-ink);font-size:1.45rem;line-height:1.65;margin:4px 0 6px}
.catalog-page .catalog-hero p,.catalog-page .catalog-hero .home-eyebrow{color:var(--ui-muted);font-size:.8rem;line-height:1.8}
.catalog-page .catalog-hero-icon{width:92px;height:92px;border:1px solid var(--ui-line);border-radius:20px;background:var(--ui-soft);box-shadow:none}
.catalog-page .catalog-service-card-v20{border-color:var(--ui-line);border-radius:20px;box-shadow:none;padding:18px;gap:14px}
@media(max-width:380px){.catalog-page .catalog-hero{padding:16px;gap:12px}.catalog-page .catalog-hero h1{font-size:1.25rem}.catalog-page .catalog-hero-icon{width:76px;height:76px}}

/* One public header for home, login and both registration pages. */
.public-brand-header{width:min(1180px,calc(100% - 32px));margin:0 auto;min-height:66px;padding:8px 14px;box-sizing:border-box;border-radius:0 0 18px 18px;box-shadow:0 6px 18px #12355b04}
.public-brand-header .home-license{flex:1;font-size:.7rem;text-align:start}
.public-brand-header .theme-toggle{flex-shrink:0}
.public-header-back{display:inline-flex;align-items:center;gap:8px;margin-inline-end:auto;min-height:44px;padding:8px 12px;border:1px solid var(--ui-line);border-radius:13px;background:var(--ui-soft);color:var(--ui-ink);text-decoration:none;font-size:.8rem;font-weight:600;box-sizing:border-box}
.public-header-back:hover{filter:brightness(.97)}
.public-header-back:focus-visible{outline:2px solid #7199c7;outline-offset:3px}
@media(max-width:380px){.public-brand-header{width:calc(100% - 20px);padding:8px 10px;gap:8px}.public-brand-header .home-license{font-size:.63rem}}

/* Premium account pages: independent introduction and form section cards. */
.auth-brand-header{display:grid;grid-template-columns:44px minmax(0,1fr) 44px;align-items:center;min-height:76px;max-width:1100px;gap:12px}
.auth-brand-header .public-header-back{grid-column:1;grid-row:1;width:44px;height:44px;padding:0;margin:0;justify-content:center}
.auth-brand-header .public-header-back span{display:none}
.auth-brand-header .home-animated-logo{grid-column:2;grid-row:1;justify-self:center;width:64px;height:58px}
.auth-brand-header .theme-toggle{grid-column:3;grid-row:1;justify-self:end;width:44px;height:44px;margin:0}
.premium-auth{width:min(660px,calc(100% - 32px));padding:20px 0 40px}
.premium-auth .card{border:1px solid var(--ui-line);border-radius:22px;padding:24px;box-shadow:0 4px 18px #12355b04;background:var(--ui-surface)}
.premium-auth .auth-flow{background:transparent;border:0;box-shadow:none;padding:0}
.premium-auth .auth-intro{display:flex;align-items:center;gap:18px;margin:0 0 16px;min-height:150px}
.premium-auth .auth-intro>div:first-child{flex:1;min-width:0}
.premium-auth .auth-intro .card-title{font-size:1.45rem;line-height:1.5;margin:0 0 8px;font-weight:800}
.premium-auth .auth-intro p{font-size:.8rem;line-height:1.8;margin:0;color:var(--ui-muted)}
.premium-auth .auth-intro .khadoom-page-helper{width:80px;height:120px;flex-shrink:0}
.premium-auth .auth-form-card,.premium-auth .registration-section{margin:0 0 16px;padding:24px;border:1px solid var(--ui-line)}
.premium-auth .auth-form-sections{margin:0}
.premium-auth .form-group{margin-bottom:20px}
.premium-auth .grid{gap:0 18px}
.premium-auth .registration-section-title{margin:0 0 20px;padding:0;border:0}
.premium-auth .auth-section-heading{font-size:1.05rem;margin:0 0 20px;color:var(--ui-ink)}
.premium-auth .registration-section .form-group:last-child{margin-bottom:0}
.premium-auth .auth-form-card.two-col-actions{margin-top:16px}
@media(max-width:600px){.premium-auth .grid-2{grid-template-columns:minmax(0,1fr)}.premium-auth .card{padding:20px}.premium-auth .auth-intro{gap:14px}.premium-auth .auth-intro .card-title{font-size:1.3rem}}
@media(max-width:380px){.premium-auth{width:calc(100% - 24px)}.premium-auth .card{padding:16px}.premium-auth .auth-intro .khadoom-page-helper{width:66px;height:100px}.premium-auth .auth-intro .card-title{font-size:1.15rem}}

/* Calm RTL consent row, aligned to the first text line. */
.public-shell .terms-consent-row{display:flex;align-items:flex-start;justify-content:flex-start;gap:10px;padding:12px 0;margin:4px 0 18px;border:0;border-radius:0;background:transparent;box-shadow:none;direction:rtl;text-align:right;line-height:1.8}
.public-shell .terms-consent-row>span:last-child{flex:1;min-width:0;font-size:.8rem;font-weight:400;line-height:1.8}
.public-shell .terms-consent-row input[type=checkbox]{flex:0 0 20px;width:20px;height:20px;margin:2px 0 0;transform:none}
.public-shell .terms-consent-link{font-weight:600;margin:0;padding:0;text-decoration-color:currentColor!important;text-decoration-thickness:1px!important;text-underline-offset:3px}
.public-shell .terms-consent-link:after{content:none}
.public-shell .khadoom-page-intro .khadoom-page-helper{width:120px;height:180px}
.premium-auth .auth-intro .khadoom-page-helper{width:100px;height:150px}
.public-shell .premium-home .home-hero.khadoom-welcome .home-hero-brand{width:160px;height:195px}
.public-shell .premium-home .home-hero.khadoom-welcome{grid-template-columns:minmax(0,1fr) 160px}
@media(max-width:600px){.premium-auth .auth-intro .khadoom-page-helper{width:96px;height:144px}}
@media(max-width:380px){.premium-auth .auth-intro .khadoom-page-helper{width:82px;height:123px}.public-shell .premium-home .home-hero.khadoom-welcome{grid-template-columns:minmax(0,1fr) 130px}.public-shell .premium-home .home-hero.khadoom-welcome .home-hero-brand{width:130px;height:175px}}

/* Keep the homepage introduction cohesive, with trust information near the CTA. */
.public-shell .premium-home .home-trust-note{grid-column:1 / -1;grid-row:4;display:flex;align-items:center;justify-content:center;gap:6px;margin:0;padding:2px 0 0;color:#647b70;font-size:.68rem;line-height:1.6;text-align:center;max-width:none}
.home-trust-note svg{flex-shrink:0}
.public-shell .premium-home .home-hero.khadoom-welcome{row-gap:12px;padding:20px;border-radius:24px}
.public-shell .premium-home .home-hero.khadoom-welcome .home-hero-intro{padding:0;min-height:0}
.public-shell .premium-home .home-hero.khadoom-welcome .home-hero-actions{margin:0}
.public-brand-header.auth-brand-header{min-height:68px;box-shadow:none;border-bottom:1px solid var(--ui-line)}
.public-brand-header.auth-brand-header .home-animated-logo{width:60px;height:52px}
.public-brand-header.auth-brand-header .home-animated-logo img{animation:none;transform:none}
html[data-theme=dark] .public-shell .premium-home .home-trust-note{color:#aecabc}
@media(max-width:380px){.public-shell .premium-home .home-hero.khadoom-welcome{padding:16px;row-gap:10px}}

/* A single welcome surface with a compact introduction and grouped actions. */
.public-shell .premium-home .home-hero.khadoom-welcome{grid-template-columns:minmax(0,1fr) 118px;gap:16px 12px;padding:24px 20px;border-radius:24px;box-shadow:none}
.public-shell .premium-home .home-hero.khadoom-welcome .home-hero-copy{grid-column:1;grid-row:1;align-self:center}
.public-shell .premium-home .home-hero.khadoom-welcome .home-hero-brand{grid-column:2;grid-row:1;width:118px;height:165px;align-self:center}
.public-shell .premium-home .home-hero.khadoom-welcome h1{font-size:1.9rem;line-height:1.35;margin:0 0 10px;letter-spacing:normal}
.public-shell .premium-home .home-hero.khadoom-welcome h1 .home-greeting{font-size:.85rem;margin:0 0 5px;color:var(--ui-muted);font-weight:500}
.public-shell .premium-home .home-hero.khadoom-welcome p{font-size:.8rem;line-height:1.85}
.public-shell .premium-home .home-hero.khadoom-welcome .home-hero-actions{grid-column:1 / -1;grid-row:2;margin:2px 0 0}
.public-shell .premium-home .home-hero.khadoom-welcome .home-registration-actions{grid-column:1 / -1;grid-row:3;margin:0;gap:10px}
.public-shell .premium-home .home-hero.khadoom-welcome .home-registration-actions .btn{min-height:48px;padding:8px 6px;font-size:.72rem;gap:6px;border-radius:13px;box-shadow:none}
.public-shell .premium-home .home-registration-actions .registration-choice-icon{width:24px;height:24px;border-radius:8px}
.public-shell .premium-home .home-hero.khadoom-welcome .home-trust-note{grid-row:4;font-size:.65rem;line-height:1.6;padding:0;color:var(--ui-muted)}
@media(min-width:760px){.public-shell .premium-home .home-hero.khadoom-welcome{max-width:none;width:100%;justify-self:stretch;box-sizing:border-box;padding:28px;grid-template-columns:minmax(0,1fr) 150px}.public-shell .premium-home .home-hero.khadoom-welcome .home-hero-brand{width:150px;height:195px}}
@media(max-width:380px){.public-shell .premium-home .home-hero.khadoom-welcome{padding:18px 16px;grid-template-columns:minmax(0,1fr) 100px;gap:14px 10px}.public-shell .premium-home .home-hero.khadoom-welcome .home-hero-brand{width:100px;height:150px}.public-shell .premium-home .home-hero.khadoom-welcome h1{font-size:1.65rem}.public-shell .premium-home .home-hero.khadoom-welcome .home-registration-actions .btn{font-size:.66rem}}

.public-header-services{grid-column:1;grid-row:1;display:flex;align-items:center;justify-content:center;width:44px;height:44px;box-sizing:border-box;border:1px solid var(--ui-line);border-radius:13px;background:var(--ui-soft);color:var(--ui-ink);text-decoration:none}
.public-header-services:focus-visible{outline:2px solid #7199c7;outline-offset:3px}
.public-shell .premium-home .home-hero.khadoom-welcome .home-trust-note{grid-row:1;justify-content:flex-start;text-align:right;padding-bottom:4px}
.public-shell .premium-home .home-hero.khadoom-welcome .home-hero-copy,.public-shell .premium-home .home-hero.khadoom-welcome .home-hero-brand{grid-row:2}
.public-shell .premium-home .home-hero.khadoom-welcome .home-hero-actions{grid-row:3}
.public-shell .premium-home .home-hero.khadoom-welcome .home-registration-actions{grid-row:4}
.public-shell #services{scroll-margin-top:90px}

/* Highlight licensing without reserving an extra strip of empty space. */
.public-shell .premium-home .home-hero.khadoom-welcome .home-trust-note{justify-self:start;width:fit-content;max-width:100%;box-sizing:border-box;gap:7px;padding:7px 11px;margin:0;border:1px solid #e8c878;border-radius:11px;background:#fff2cf;color:#12355b;font-size:.72rem;font-weight:600;line-height:1.5;text-align:right}
.public-shell .premium-home .home-hero.khadoom-welcome .home-trust-note svg{width:17px;height:17px}
.public-shell .premium-home .home-hero.khadoom-welcome{row-gap:12px}
.public-shell .premium-home .home-hero.khadoom-welcome .home-hero-copy{padding:0;margin:0}
.public-shell .premium-home .home-hero.khadoom-welcome .home-hero-brand{height:145px}
.public-shell .premium-home .home-hero.khadoom-welcome .home-hero-actions{margin:0}
html[data-theme=dark] .public-shell .premium-home .home-hero.khadoom-welcome .home-trust-note{background:#3c3423;color:#ffe3a1;border-color:#8b7448}
@media(min-width:760px){.public-shell .premium-home .home-hero.khadoom-welcome .home-hero-brand{height:175px}}
@media(max-width:380px){.public-shell .premium-home .home-hero.khadoom-welcome{row-gap:10px}.public-shell .premium-home .home-hero.khadoom-welcome .home-trust-note{font-size:.67rem;padding:6px 9px}.public-shell .premium-home .home-hero.khadoom-welcome .home-hero-brand{height:135px}}

/* Shared floating navy public header. */
.public-brand-header.auth-brand-header{width:min(1100px,calc(100% - 20px));min-height:72px;margin:8px auto 0;top:calc(8px + env(safe-area-inset-top,0px));padding:8px 12px;box-sizing:border-box;background:#172f43;border:1px solid #294354;border-radius:20px;box-shadow:0 5px 16px #12355b16}
.public-brand-header.auth-brand-header .home-animated-logo{display:grid;place-items:center;width:58px;height:54px;padding:4px;box-sizing:border-box;background:#fff;border:1px solid #e1e8ef;border-radius:14px}
.public-brand-header.auth-brand-header .home-animated-logo img{width:100%;height:100%;object-fit:contain}
.public-brand-header.auth-brand-header .theme-toggle{background:#f4f7fb;color:#12355b;border-color:#dce5ef;border-radius:12px}
.public-brand-header.auth-brand-header .public-header-back,.public-brand-header.auth-brand-header .public-header-services{background:#ffffff12;color:#fff;border-color:#ffffff20;border-radius:13px}
.public-brand-header.auth-brand-header a:focus-visible,.public-brand-header.auth-brand-header button:focus-visible{outline:2px solid #fff;outline-offset:3px}
html[data-theme=dark] .public-brand-header.auth-brand-header{background:#172f43!important;border-color:#294354!important;box-shadow:0 5px 16px #0002}
html[data-theme=dark] .public-brand-header.auth-brand-header .theme-toggle{background:#263b50;color:#dce8f7;border-color:#3a5067}

/* Homepage only: brand right, utility controls grouped left. */
.public-brand-header.auth-brand-header.homepage-brand-header{grid-template-columns:minmax(0,1fr) 44px 44px;column-gap:8px}
.public-brand-header.auth-brand-header.homepage-brand-header .home-animated-logo{grid-column:1;grid-row:1;justify-self:start}
.public-brand-header.auth-brand-header.homepage-brand-header .public-header-services{grid-column:2;grid-row:1}
.public-brand-header.auth-brand-header.homepage-brand-header .theme-toggle{grid-column:3;grid-row:1}
.public-brand-header.auth-brand-header.homepage-brand-header .home-animated-logo img{animation:homepage-logo-float 5s ease-in-out infinite;transform-origin:50% 65%}
@keyframes homepage-logo-float{0%,100%{transform:translateY(0) rotate(0)}35%{transform:translateY(-2px) rotate(-3deg)}65%{transform:translateY(-1px) rotate(3deg)}}
@media(prefers-reduced-motion:reduce){.public-brand-header.auth-brand-header.homepage-brand-header .home-animated-logo img{animation:none;transform:none}}

/* Light public header with restrained blue controls. */
.public-brand-header.auth-brand-header{background:#f5f8fc;border-color:#dfe8f2;box-shadow:0 4px 14px #12355b08}
.public-brand-header.auth-brand-header .home-animated-logo{background:transparent;border-color:transparent}
.public-brand-header.auth-brand-header .public-header-back,.public-brand-header.auth-brand-header .public-header-services{background:#fff;color:#12355b;border-color:#dce5ef}
.public-brand-header.auth-brand-header .theme-toggle{background:#fff;color:#12355b;border-color:#dce5ef}
.public-brand-header.auth-brand-header a:focus-visible,.public-brand-header.auth-brand-header button:focus-visible{outline-color:#527ba9}
html[data-theme=dark] .public-brand-header.auth-brand-header{background:#182431!important;border-color:#304152!important;box-shadow:none}
html[data-theme=dark] .public-brand-header.auth-brand-header .public-header-back,html[data-theme=dark] .public-brand-header.auth-brand-header .public-header-services{background:#263b50;color:#dce8f7;border-color:#3a5067}
html[data-theme=dark] .public-brand-header.auth-brand-header .home-animated-logo{background:#fff;border-color:#dfe8f2}

.public-brand-header.auth-brand-header .home-animated-logo,.public-brand-header.auth-brand-header .home-animated-logo img{background:transparent!important;border-color:transparent}
html[data-theme=dark] .public-brand-header.auth-brand-header .home-animated-logo{background:transparent!important}

/* Raised transparent brand: the artwork lifts above the public header edge. */
.public-brand-header.auth-brand-header{margin-top:22px;overflow:visible}
.public-brand-header.auth-brand-header .home-animated-logo{width:80px;height:72px;padding:2px;position:relative;align-self:center;margin-top:-22px;margin-bottom:-6px;z-index:1;filter:drop-shadow(0 5px 4px #12355b18);transition:filter .2s ease}
.public-brand-header.auth-brand-header .home-animated-logo img{object-fit:contain}
.public-brand-header.auth-brand-header .home-animated-logo:hover{filter:drop-shadow(0 7px 5px #12355b24)}
@media(max-width:380px){.public-brand-header.auth-brand-header .home-animated-logo{width:74px;height:68px;margin-top:-20px}}

/* Offset the artwork itself; negative grid margins alone keep it centered inside. */
.public-brand-header.auth-brand-header{margin-top:28px;top:calc(28px + env(safe-area-inset-top,0px));height:72px;min-height:72px;grid-template-rows:54px}
.public-brand-header.auth-brand-header .home-animated-logo{width:84px;height:76px;margin:0;top:-23px;align-self:center;overflow:visible}
@media(max-width:380px){.public-brand-header.auth-brand-header .home-animated-logo{width:78px;height:72px;margin:0;top:-22px}}

/* Make the transparent brand visibly project above the header surface. */
.public-brand-header.auth-brand-header{margin-top:42px;top:calc(42px + env(safe-area-inset-top,0px))}
.public-brand-header.auth-brand-header .home-animated-logo{width:96px;height:88px;top:-28px;filter:drop-shadow(0 2px 1px #fff9) drop-shadow(0 8px 5px #12355b30);isolation:isolate}
.public-brand-header.auth-brand-header .home-animated-logo:before{content:'';position:absolute;z-index:-1;pointer-events:none;width:62px;height:9px;left:50%;bottom:-2px;transform:translateX(-50%);border-radius:50%;background:#12355b24;filter:blur(5px)}
.public-brand-header.auth-brand-header .home-animated-logo:hover{filter:drop-shadow(0 2px 1px #fff9) drop-shadow(0 9px 6px #12355b38)}
@media(max-width:380px){.public-brand-header.auth-brand-header .home-animated-logo{width:90px;height:82px;top:-26px}}

/* Center the brand vertically within the header, retaining its larger presence. */
.public-brand-header.auth-brand-header{margin-top:10px;top:calc(10px + env(safe-area-inset-top,0px));height:80px;min-height:80px;grid-template-rows:62px}
.public-brand-header.auth-brand-header .home-animated-logo{width:84px;height:70px;top:0;margin:0;align-self:center;filter:drop-shadow(0 3px 3px #12355b20)}
.public-brand-header.auth-brand-header .home-animated-logo:before{content:none}
@media(max-width:380px){.public-brand-header.auth-brand-header .home-animated-logo{width:78px;height:66px;top:0;margin:0}}

/* Restrained depth: crisp artwork with one subtle shadow. */
.public-brand-header.auth-brand-header{perspective:none}
.public-brand-header.auth-brand-header .home-animated-logo,
.public-brand-header.auth-brand-header .home-animated-logo:hover{transform:none;transform-style:flat;filter:none;transition:none}
.public-brand-header.auth-brand-header .home-animated-logo:before{content:none}
.public-brand-header.auth-brand-header .home-animated-logo img,
.public-brand-header.auth-brand-header.homepage-brand-header .home-animated-logo img,
.public-brand-header.auth-brand-header .home-animated-logo:hover img,
.public-brand-header.auth-brand-header .home-animated-logo:active img{transform:none;animation:none;transition:none;filter:drop-shadow(0 2px 1.5px #12355b20)}

/* Keep the welcome mascot inside its grid row, clear of the login action. */
.public-shell .premium-home .home-hero.khadoom-welcome .home-hero-brand{display:block;height:auto;min-height:0;overflow:visible;background:transparent;box-sizing:border-box}
.public-shell .premium-home .home-hero.khadoom-welcome .home-hero-brand .khadoom-artwork{display:block;width:100%;height:auto;max-height:none;object-fit:contain;position:static;transform:none}
.public-shell .premium-home .home-hero.khadoom-welcome .home-hero-actions{margin-top:12px}

/* Shared contact footer: clear touch targets and a restrained legal row. */
.site-footer{padding:28px 0 22px;text-align:center;border-top:1px solid var(--ui-line);margin-top:28px}
.footer-brand-name{display:flex;align-items:center;justify-content:center;gap:3px;font-size:1.15rem;font-weight:750;color:var(--ui-ink);line-height:1.5}
.footer-brand-dot{color:#be8b28;font-size:1.35rem}
.site-footer .footer-tagline{margin:5px 0 20px;color:var(--ui-muted);font-size:.76rem;line-height:1.8}
.site-footer .support-links{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;width:100%;max-width:620px;margin:0 auto 18px}
.site-footer .support-links a{min-width:0;min-height:86px;box-sizing:border-box;padding:13px 16px;border:1px solid var(--ui-line);border-radius:16px;background:var(--ui-surface);color:var(--ui-ink);text-decoration:none;gap:6px;transition:background .15s,border-color .15s}
.site-footer .support-link-label{font-weight:650;font-size:.8rem;gap:8px}
.site-footer .support-link-label svg{width:20px;height:20px}
.site-footer .support-links a>span[dir=ltr]{font-size:.75rem;line-height:1.6;overflow-wrap:anywhere;color:var(--ui-muted)}
.site-footer .support-links a[href^="https://wa.me"]{border-color:#c9e6d7;background:#f3faf6}
.site-footer .support-links a[href^="https://wa.me"] .support-link-label{color:#167347}
.site-footer .support-links a:hover{background:var(--ui-soft);border-color:#8ba8bf}
.site-footer .support-links a:focus-visible{outline:2px solid #527ba9;outline-offset:3px}
.site-footer .footer-policy-links{display:flex;align-items:center;justify-content:center;gap:12px;flex-wrap:wrap;font-size:.7rem;color:var(--ui-muted)}
.site-footer .footer-policy-links a{display:inline-flex;align-items:center;min-height:36px;color:var(--ui-muted);text-decoration:none}
.site-footer .footer-policy-links a:hover{text-decoration:underline}
html[data-theme=dark] .site-footer .support-links a[href^="https://wa.me"]{background:#17352c;border-color:#2e5946}
html[data-theme=dark] .site-footer .support-links a[href^="https://wa.me"] .support-link-label{color:#8cdeb1}
@media(max-width:520px){.site-footer .support-links{grid-template-columns:minmax(0,1fr);gap:9px;max-width:400px}.site-footer .support-links a{flex-direction:row;justify-content:space-between;gap:10px;min-height:60px;padding:12px 14px}.site-footer .support-link-label{font-size:.75rem}.site-footer .support-links a>span[dir=ltr]{font-size:.71rem}.site-footer{padding-top:24px}}
@media(max-width:340px){.site-footer .support-links a{flex-direction:column;align-items:center;gap:5px}}
/* Mobile headers retain their space in the document when sliding out of view. */
@media(max-width:979px){
  .public-shell > .public-brand-header.auth-brand-header,
  .app-shell > .topbar.app-header-clean{
    position:sticky;
    top:calc(10px + env(safe-area-inset-top,0px));
    margin-top:calc(10px + env(safe-area-inset-top,0px));
    margin-bottom:16px;
    transition:transform .2s ease;
  }
  .public-shell > .public-brand-header.auth-brand-header.mobile-header-hidden,
  .app-shell > .topbar.app-header-clean.mobile-header-hidden{
    transform:translateY(calc(-100% - 24px - env(safe-area-inset-top,0px)));
    pointer-events:none;
  }
}
@media(prefers-reduced-motion:reduce){
  .public-shell > .public-brand-header.auth-brand-header,
  .app-shell > .topbar.app-header-clean{transition:none}
}

/* Compact services header: back action shares the row with logo and theme. */
.public-brand-header.auth-brand-header.services-brand-header{grid-template-columns:minmax(105px,1fr) 84px minmax(44px,1fr);gap:8px}
.public-brand-header.auth-brand-header.services-brand-header .public-header-back{width:auto;gap:5px;padding:6px;font-size:.72rem;white-space:nowrap;justify-self:start}
.public-brand-header.auth-brand-header.services-brand-header .public-header-back span{display:inline}

/* Clearly labelled catalog back action on small screens. */
.public-brand-header.auth-brand-header.services-brand-header .public-header-back{display:inline-flex!important;align-items:center;justify-content:center;min-width:96px;min-height:46px;padding:8px 12px;gap:8px;background:#12355b!important;color:#fff!important;border:1px solid #12355b!important;border-radius:13px;font-size:.82rem;font-weight:700;box-sizing:border-box}
.public-brand-header.auth-brand-header.services-brand-header .public-header-back span{display:inline!important;color:inherit}
.public-brand-header.auth-brand-header.services-brand-header .public-header-back span[aria-hidden]{font-size:1.35rem;line-height:1}
.public-brand-header.auth-brand-header.services-brand-header .public-header-back:focus-visible{outline:3px solid #d39b32;outline-offset:3px}
html[data-theme=dark] .public-brand-header.auth-brand-header.services-brand-header .public-header-back{background:#c4dcf5!important;color:#102d4c!important;border-color:#c4dcf5!important}

.kp-about-link{border:0;background:none;color:inherit;font:inherit;padding:4px;cursor:pointer;text-decoration:underline;text-underline-offset:4px}
.kp-about-dialog{width:min(520px,calc(100% - 32px));max-height:85vh;overflow:auto;box-sizing:border-box;padding:24px;border:1px solid var(--ui-line);border-radius:22px;background:var(--ui-surface,#fff);color:var(--ui-ink,#12355b);line-height:1.9}
.kp-about-dialog::backdrop{background:#0b2136b8}
.kp-about-heading{display:flex;align-items:center;justify-content:space-between;gap:12px}.kp-about-heading h2{margin:0;font-size:1.3rem}.kp-about-heading button{font-size:1.5rem;min-width:44px;min-height:44px}
.kp-about-license{border-inline-start:3px solid #c99b46;padding:12px 16px;background:var(--ui-soft,#f5f8fb);border-radius:10px}.kp-about-license p{margin:0}
.kp-about-contact{display:grid;gap:12px;margin-bottom:20px}.kp-about-contact a{display:flex;flex-wrap:wrap;justify-content:space-between;gap:6px;color:inherit;overflow-wrap:anywhere}
html[data-theme=dark] .kp-about-dialog{background:#182431;color:#e4edf8}html[data-theme=dark] .kp-about-license{background:#263b50}

/* Remove the empty licensing row from the welcome card. */
.public-shell .premium-home .home-hero.khadoom-welcome .home-hero-copy,.public-shell .premium-home .home-hero.khadoom-welcome .home-hero-brand{grid-row:1}
.public-shell .premium-home .home-hero.khadoom-welcome .home-hero-actions{grid-row:2;margin-top:0}
.public-shell .premium-home .home-hero.khadoom-welcome .home-registration-actions{grid-row:3}
.site-footer{padding:18px 0 14px;margin-top:20px}.site-footer .footer-tagline{margin:4px 0 10px}.site-footer .footer-policy-links{gap:8px;font-size:.74rem}.site-footer .kp-about-link{min-height:36px;padding:4px 2px;text-decoration:none;color:var(--ui-ink)}
.kp-about-dialog{padding:22px;border-radius:20px;box-shadow:0 20px 70px #071b3933}.kp-about-heading{padding-bottom:14px;border-bottom:1px solid var(--ui-line);margin-bottom:16px}
.kp-about-heading .kp-dialog-close{display:inline-flex;align-items:center;justify-content:center;flex:0 0 40px;width:40px;min-width:40px;height:40px;min-height:40px;padding:0;border:0;border-radius:50%;background:#eef3f8;color:#24445f;cursor:pointer}.kp-dialog-close:hover{background:#dfe9f3}.kp-dialog-close:focus-visible{outline:3px solid #d39b32;outline-offset:3px}
#kpContactDialog .support-links{display:grid;gap:10px;margin:18px 0 0}#kpContactDialog .support-links a{display:flex;flex-direction:column;align-items:flex-start;gap:6px;padding:14px 16px;border:1px solid var(--ui-line);border-radius:14px;background:var(--ui-soft);color:inherit;text-decoration:none}#kpContactDialog .support-links a[href^="https://wa.me"]{border-color:#b4dac9;background:#f3faf6}#kpContactDialog .support-link-label{display:flex;align-items:center;gap:8px;font-weight:600}#kpContactDialog .support-links a>span[dir]{font-size:.9rem;align-self:flex-end}
html[data-theme=dark] .kp-dialog-close{background:#30465a;color:#e4edf8}html[data-theme=dark] #kpContactDialog .support-links a{background:#243747}html[data-theme=dark] #kpContactDialog .support-links a[href^="https://wa.me"]{background:#203e36;border-color:#427363}
