/* One saved preference is shared by the public site and the administration area. */
.brand-logo-dark,[data-theme-sun]{display:none!important}
.theme-toggle{display:inline-grid;place-items:center;flex:0 0 auto;width:42px;height:42px;border:1px solid #dce7df;border-radius:11px;background:#f4f8f4;color:#246653;line-height:1;transition:background .2s,border-color .2s,transform .2s}
.theme-toggle:hover{background:#e8f2eb;transform:translateY(-1px)}
.theme-toggle .bi-icon{width:19px;height:19px;display:block}
.theme-toggle:focus-visible{outline:3px solid #d3ae69;outline-offset:3px}
.login-language{align-items:center;gap:9px}
.login-language .theme-toggle{width:36px;height:36px}
.admin-notifications{position:relative;flex:0 0 auto}
.admin-notifications>summary{position:relative;list-style:none;display:grid;place-items:center;width:42px;height:42px;border:1px solid #dce8df;border-radius:11px;background:#fff;color:#246653;cursor:pointer}
.admin-notifications>summary::-webkit-details-marker{display:none}
.admin-notifications>summary .bi-icon{width:20px;height:20px}
.admin-notification-count{position:absolute;inset-block-start:-7px;inset-inline-end:-8px;display:grid;place-items:center;min-width:21px;height:21px;padding:0 4px;border-radius:15px;background:#a55032;color:#fff;font:700 11px Inter,Cairo,sans-serif}
.admin-notification-count[hidden]{display:none}
.admin-notification-panel{position:absolute;inset-block-start:calc(100% + 8px);inset-inline-end:0;z-index:70;width:min(390px,calc(100vw - 28px));max-height:min(520px,75vh);overflow:auto;border:1px solid #dce8df;border-radius:14px;background:#fff;color:#193e38;box-shadow:0 20px 46px #102d2340}
.admin-notification-heading{position:sticky;top:0;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:15px 16px;background:#f6faf6;border-bottom:1px solid #e2eae2}
.admin-notification-heading strong{font-size:15px}
.admin-notification-heading button{border:0;background:transparent;color:#216a52;font-size:11px;font-weight:700;padding:5px;white-space:nowrap}
.admin-notifications ul{list-style:none;margin:0;padding:0}
.admin-notifications li{border-bottom:1px solid #e8eee8}
.admin-notifications li:last-child{border-bottom:0}
.admin-notifications li a{display:grid;gap:3px;padding:12px 16px;font-size:12px;line-height:1.5}
.admin-notifications li a:hover,.admin-notifications li a:focus-visible{background:#eef6ef}
.admin-notifications li.is-unread{border-inline-start:3px solid #318b69;background:#f3faf4}
.admin-notifications li time{color:#60796b;font-size:10px}
.admin-notifications-empty{padding:22px 16px;color:#5f7768;font-size:12px}
html[data-theme=dark]{color-scheme:dark;--ink:#edf6f0;--body:#c0d3c9;--teal:#9acdc3;--olive:#b2c894;--pale:#142d28;--line:#36564c}
html[data-theme=dark] .brand-logo-light{display:none!important}
html[data-theme=dark] .brand-logo-dark,html[data-theme=dark] [data-theme-sun]{display:block!important}
html[data-theme=dark] [data-theme-moon]{display:none!important}
html[data-theme=dark] body{background:#10221e;color:#edf6f0}
html[data-theme=dark] p,html[data-theme=dark] .muted{color:#c0d3c9}
html[data-theme=dark] .theme-toggle{background:#214239;border-color:#486b5d;color:#e9f4eb}
html[data-theme=dark] .theme-toggle:hover{background:#2b5848}
html[data-theme=dark] .header{background:#152c27f2;border-color:#34554a}
html[data-theme=dark] .header nav.open{background:#152c27;border-color:#34554a}
html[data-theme=dark] .header nav a:hover,html[data-theme=dark] .header nav a[aria-current],html[data-theme=dark] .eyebrow,html[data-theme=dark] .text-link{color:#a4ddc9}
html[data-theme=dark] .language,html[data-theme=dark] .header-phone{border-color:#46685a}
html[data-theme=dark] .header-phone{background:#1c4035;color:#eaf5ef}
html[data-theme=dark] .header-phone small,html[data-theme=dark] .phone-icon{color:#bfe2cf}
html[data-theme=dark] .hero h1,html[data-theme=dark] h1,html[data-theme=dark] h2,html[data-theme=dark] h3{color:#edf6f0}
html[data-theme=dark] .hero h1 em{color:#a3dac8}
html[data-theme=dark] .hero-carousel .hero-slide{background:linear-gradient(125deg,#1b3a30,#234137 68%,#1a362f)}
html[data-theme=dark] .hero-carousel .hero-copy{color:#edf6f0}
html[data-theme=dark] .hero-carousel .hero-slide h1,html[data-theme=dark] .hero-carousel .hero-slide .hero-headline{color:#edf6f0}
html[data-theme=dark] .hero-carousel .hero-slide h1 em{color:#a8dac3}
html[data-theme=dark] .hero-carousel .hero-slide .hero-copy>p{color:#d1e3d5}
html[data-theme=dark] .hero-carousel .hero-actions .text-link{background:#31584a;border-color:#5f8c72;color:#edf6f0}
html[data-theme=dark] .hero-carousel-arrow,html[data-theme=dark] .hero-carousel-dots button{background:#234b3c;border-color:#6e9b7d;color:#edf6f0}
html[data-theme=dark] .hero-stage,html[data-theme=dark] .hero-facts>.fact-card,html[data-theme=dark] .service-card,html[data-theme=dark] .branch-card,html[data-theme=dark] .article-card,html[data-theme=dark] .testimonial-card,html[data-theme=dark] .aside-panel,html[data-theme=dark] .admin-card,html[data-theme=dark] .metric{background:#1a352e;border-color:#365a4b;box-shadow:none;color:#edf6f0}
html[data-theme=dark] .hero-facts>.fact-card:nth-child(2n),html[data-theme=dark] .branch-card:nth-child(2n){background:#203d36}
html[data-theme=dark] .branch-grid>.branch-card,html[data-theme=dark] .branch-grid>.branch-card:nth-child(3n+2),html[data-theme=dark] .branch-grid>.branch-card:nth-child(3n+3),html[data-theme=dark] .branch-grid>.branch-card:nth-child(4n+2),html[data-theme=dark] .branch-grid>.branch-card:nth-child(4n+3),html[data-theme=dark] .branch-grid>.branch-card:nth-child(4n+4){background:#1c382f;border-color:#456656;color:#edf6f0;box-shadow:none}
html[data-theme=dark] .branch-grid>.branch-card:nth-child(even){background:#244339}
html[data-theme=dark] .branch-grid>.branch-card>p,html[data-theme=dark] .branch-grid>.branch-card .branch-hours p{color:#c7dace}
html[data-theme=dark] .branch-grid>.branch-card .branch-card-footer,html[data-theme=dark] .branch-grid>.branch-card .branch-index{color:#b4e3c7}
html[data-theme=dark] .hero-facts strong,html[data-theme=dark] .hero-facts .fact-title,html[data-theme=dark] .service-card h3,html[data-theme=dark] .branch-card h3,html[data-theme=dark] .article-card h2{color:#edf6f0}
html[data-theme=dark] .fact-icon,html[data-theme=dark] .branch-location-icon,html[data-theme=dark] .round-icon{background:#315d4d;color:#d5f1df}
html[data-theme=dark] .service-card p,html[data-theme=dark] .branch-card p,html[data-theme=dark] .article-card p,html[data-theme=dark] .hero-facts span{color:#b9cfc2}
html[data-theme=dark] .card-footer,html[data-theme=dark] .branch-card-footer,html[data-theme=dark] .branch-hours,html[data-theme=dark] .testimonial-card-footer{border-color:#426356}
html[data-theme=dark] .branches-section,html[data-theme=dark] .home-care,html[data-theme=dark] .faq-section,html[data-theme=dark] .about-section,html[data-theme=dark] .reviews-section{background:#142c27}
html[data-theme=dark] .steps-section,html[data-theme=dark] footer{background:#0b1b18}
html[data-theme=dark] .steps-section h2,html[data-theme=dark] footer h3{color:#edf6f0}
html[data-theme=dark] .home-care-panel,html[data-theme=dark] .booking-intro,html[data-theme=dark] .booking-panel,html[data-theme=dark] .contact-panel{background:#1d3931;border-color:#385b4c}
html[data-theme=dark] .booking-panel .request-form{background:#172f29}
html[data-theme=dark] .contact-phone,html[data-theme=dark] .request-tabs,html[data-theme=dark] .notice{background:#244438;border-color:#426655;color:#edf6f0}
html[data-theme=dark] .contact-phone strong,html[data-theme=dark] .contact-phone span{color:#edf6f0}
html[data-theme=dark] .request-tab:not([aria-selected=true]):hover{background:#315e4c}
html[data-theme=dark] input,html[data-theme=dark] textarea,html[data-theme=dark] select{background:#142d28;border-color:#557369;color:#edf6f0}
html[data-theme=dark] input::placeholder,html[data-theme=dark] textarea::placeholder{color:#afc8bb}
html[data-theme=dark] input:focus,html[data-theme=dark] textarea:focus,html[data-theme=dark] select:focus{border-color:#9acdc3;box-shadow:0 0 0 3px #8fc5b733}
html[data-theme=dark] .checkbox,html[data-theme=dark] .form-fine,html[data-theme=dark] .appointment-explanation{color:#c4d7ca}
html[data-theme=dark] .detail-hero,html[data-theme=dark] .blog-index,html[data-theme=dark] .career-hero{background:#142c27}
html[data-theme=dark] .detail-hero p,html[data-theme=dark] .breadcrumbs{color:#c5d8ce}
html[data-theme=dark] .prose,html[data-theme=dark] .rich-content{color:#d8e8dd}
html[data-theme=dark] .prose p,html[data-theme=dark] .rich-content p{color:#c5d8ce}
html[data-theme=dark] .faq-section details,html[data-theme=dark] .section-heading{border-color:#36564c}
html[data-theme=dark] .notice.error{background:#492d2a;border-color:#98685e;color:#ffe7e0}
html[data-theme=dark] .notice.success{background:#1c4835;border-color:#47795b;color:#e5f7e9}
html[data-theme=dark] .back-to-top{background:#234638;border-color:#4f7864;color:#e4f5e8}
html[data-theme=dark] .social-links>a{border-color:#7fa28c}
html[data-theme=dark] footer p,html[data-theme=dark] footer a,html[data-theme=dark] .footer-bottom{color:#c4d7ca}

/* Administration: dark surfaces keep the existing brand sidebar distinct. */
html[data-theme=dark] .admin-body{background:#10221e;color:#edf6f0}
html[data-theme=dark] .admin-sidebar{background:linear-gradient(165deg,#0a1e19,#102e25);box-shadow:inset -1px 0 #416450}
html[data-theme=dark] .admin-main,html[data-theme=dark] .admin-content{background:#10221e}
html[data-theme=dark] .admin-topbar{background:#172f29;border-color:#395b4d;box-shadow:0 4px 20px #050f0d33}
html[data-theme=dark] .admin-topbar h1,html[data-theme=dark] .admin-card h2,html[data-theme=dark] .admin-form-section-title h2,html[data-theme=dark] .admin-profile-panel h2{color:#edf6f0}
html[data-theme=dark] .admin-heading .eyebrow,html[data-theme=dark] .admin-card-heading,html[data-theme=dark] .admin-dashboard-columns .text-link{color:#acdcca}
html[data-theme=dark] .admin-card,html[data-theme=dark] .metric,html[data-theme=dark] .admin-language-panel,html[data-theme=dark] .role-preview-group,html[data-theme=dark] .network-setting,html[data-theme=dark] .admin-body fieldset{background:#1a352e;border:1px solid #365a4b;box-shadow:none}
html[data-theme=dark] .metric strong,html[data-theme=dark] .metric span{color:#edf6f0}
html[data-theme=dark] .admin-body th{background:#274a3d;color:#e7f4eb}
html[data-theme=dark] .admin-body td{background:#1a352e;color:#d6e8dc;border-color:#426356}
html[data-theme=dark] .admin-body tr:hover td{background:#24483b}
html[data-theme=dark] .admin-body table a,html[data-theme=dark] .admin-body .text-link{color:#a9e1c4}
html[data-theme=dark] .admin-body .badge,html[data-theme=dark] .admin-body .admin-status-preview,html[data-theme=dark] .admin-body .admin-status-review{background:#2d5543;color:#edf7e9;border-color:#547863}
html[data-theme=dark] .admin-locale,html[data-theme=dark] .admin-sidebar-toggle,html[data-theme=dark] .admin-user-menu summary,html[data-theme=dark] .admin-user-panel,html[data-theme=dark] .admin-editor-tabs button,html[data-theme=dark] .admin-profile-tabs button{background:#213f35;border-color:#4a6d5a;color:#edf6f0}
html[data-theme=dark] .admin-notifications>summary,html[data-theme=dark] .admin-notification-panel,html[data-theme=dark] .admin-notification-heading{background:#213f35;border-color:#4a6d5a;color:#edf6f0}
html[data-theme=dark] .admin-notification-heading{background:#23483a}
html[data-theme=dark] .admin-notification-heading button{color:#b9ebce}
html[data-theme=dark] .admin-notifications li{border-color:#3a5d4a}
html[data-theme=dark] .admin-notifications li.is-unread{background:#28523d;border-inline-start-color:#a8d9a9}
html[data-theme=dark] .admin-notifications li a:hover,html[data-theme=dark] .admin-notifications li a:focus-visible{background:#305842}
html[data-theme=dark] .admin-notifications li time,html[data-theme=dark] .admin-notifications-empty{color:#bdd5c3}
html[data-theme=dark] .admin-user-panel,html[data-theme=dark] .admin-user-identity{background:#213f35}
html[data-theme=dark] .admin-user-identity,html[data-theme=dark] .admin-user-panel form,html[data-theme=dark] .admin-editor-tabs,html[data-theme=dark] .admin-profile-tabs{border-color:#426356}
html[data-theme=dark] .admin-user-identity span,html[data-theme=dark] .admin-user-identity small,html[data-theme=dark] .admin-user-name small,html[data-theme=dark] .admin-profile-form label small{color:#c0d3c9}
html[data-theme=dark] .admin-user-panel .admin-user-links a,html[data-theme=dark] .admin-body fieldset legend{color:#d7ecdb}
html[data-theme=dark] .admin-user-panel .admin-user-links a:hover,html[data-theme=dark] .admin-user-panel .admin-user-links a:focus-visible{background:#2e5b48}
html[data-theme=dark] .admin-profile-form input[type=file],html[data-theme=dark] .admin-image-picker img{background:#18332b;border-color:#426356}
html[data-theme=dark] .admin-editor-tabs button[aria-selected=true],html[data-theme=dark] .admin-profile-tabs button[aria-selected=true]{color:#b7ebcf;border-color:#7cc6a2}
html[data-theme=dark] .admin-preview-notice{background:#1e4134;border-color:#3a6951;color:#d4ead9}
html[data-theme=dark] .analytics-metrics .metric{background:linear-gradient(145deg,#1b3c31,#24493b)}
html[data-theme=dark] .analytics-bar small,html[data-theme=dark] .analytics-note{color:#c0d3c9}
html[data-theme=dark] .login-shell{background:#0f211d}
html[data-theme=dark] .login-card{background:#1b362e;border-color:#496b59;color:#edf6f0}
html[data-theme=dark] .login-card h1,html[data-theme=dark] .login-card p{color:#edf6f0}
html[data-theme=dark] .login-card .admin-logo{background:#f5f8f4;border-radius:9px;padding:7px}
html[data-theme=dark] .login-secondary-link,html[data-theme=dark] .login-language a{color:#b8e8ce}
html[data-theme=dark] .secret{background:#153126;border-color:#4a6e56;color:#e9f5eb}
html[data-theme=dark] .admin-nav-link.is-active{background:#d8eee1;color:#194e3b}

@media(max-width:850px){.theme-toggle{width:36px;height:36px}.theme-toggle .bi-icon{width:17px;height:17px}}
@media(max-width:460px){.admin-notifications>summary{width:35px;height:35px}.admin-top-actions{gap:5px}.admin-heading h1{font-size:15px}.header .theme-toggle{width:34px;height:34px}}
@media(prefers-reduced-motion:reduce){.theme-toggle{transition:none}.theme-toggle:hover{transform:none}}

.branch-map-fallback{min-height:365px;padding:30px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:18px;text-align:center;background:radial-gradient(circle at 50% 30%,#e1eee5 0,#edf3eb 48%,#e3ece3 100%)}
.branch-map-fallback>.bi-icon{width:52px;height:52px;padding:14px;border-radius:50%;box-sizing:content-box;background:#d7e9dd;color:#1d6955}
.branch-map-fallback p{margin:0;max-width:34ch;font-size:15px;line-height:1.8;color:#245047}
.branch-map-fallback .button{font-size:13px}
html[data-theme=dark] .branch-map-fallback{background:radial-gradient(circle at 50% 30%,#2a5141 0,#1b3930 55%,#19342d 100%)}
html[data-theme=dark] .branch-map-fallback>.bi-icon{background:#37654e;color:#d6f3e1}
html[data-theme=dark] .branch-map-fallback p{color:#edf6f0}
.branch-map-details{border-top:1px solid var(--line)}
.branch-map-details summary{cursor:pointer;padding:13px 24px;font-size:13px;font-weight:700;color:var(--green)}
.branch-map-details summary:hover,.branch-map-details summary:focus-visible{background:#e6eee6}
html[data-theme=dark] .branch-map-details summary{color:#c9ecd5}
html[data-theme=dark] .branch-map-details summary:hover,html[data-theme=dark] .branch-map-details summary:focus-visible{background:#294d3d}

/* The four editorial figures share one deliberate component in both themes. */
.hero-facts>.fact-card,.hero-facts>.fact-card:nth-child(2n){position:relative;min-height:162px;padding:22px 18px;border:1px solid #d7e5dc;border-radius:17px;background:#f9fbf8;box-shadow:0 8px 24px #193e3810;gap:4px}
.hero-facts>.fact-card:before{content:"";position:absolute;top:0;inset-inline:26px;height:3px;border-radius:0 0 5px 5px;background:linear-gradient(90deg,#5a9f77,#64bdb2)}
.hero-facts>.fact-card .fact-icon,.hero-facts>.fact-card:nth-child(2n) .fact-icon{width:42px;height:42px;margin-bottom:8px;border-radius:13px;background:#e5f2eb;color:#246653}
.hero-facts>.fact-card .fact-icon svg{width:19px;height:19px}
.hero-facts>.fact-card strong,.hero-facts>.fact-card:nth-child(2n) strong{font:750 clamp(32px,3vw,40px)/1.15 Inter,Cairo,sans-serif;letter-spacing:-1px;color:#173e35}
.hero-facts>.fact-card .fact-title,.hero-facts>.fact-card:nth-child(2n) .fact-title{font-size:13px;font-weight:700;line-height:1.6;color:#35564a}
@media(max-width:800px){.hero-facts>.fact-card,.hero-facts>.fact-card:nth-child(2n){min-height:142px;padding:17px 10px}.hero-facts>.fact-card .fact-icon{width:35px;height:35px;margin-bottom:5px}.hero-facts>.fact-card strong{font-size:30px}.hero-facts>.fact-card .fact-title{font-size:11px}}
