:root{--site-brand:#69745e;--theme-fg:#263f30;--theme-border:#364c3830;--theme-panel:#f5f6ed;--drawer-card:#fff;--drawer-outline:#e4e8de}
.editorial-brand{display:flex;flex-shrink:0;background:var(--site-brand);mask:url('/dosto-mark.webp') center/contain no-repeat}
.editorial-brand img{display:block;width:44px;height:auto;opacity:0}
.theme-toggle{display:grid;place-items:center;width:40px;height:40px;flex:none;padding:0;border:1px solid var(--theme-border);border-radius:50%;background:transparent;color:var(--theme-fg);cursor:pointer}
.theme-toggle svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.theme-toggle:focus-visible,#mobile-navigation a:focus-visible{outline:2px solid var(--site-brand);outline-offset:3px}
.theme-toggle .theme-sun,html[data-theme=dark] .theme-toggle .theme-moon{display:none}
html[data-theme=dark] .theme-toggle .theme-sun{display:block}
.menu-badge{display:none}
.menu-mint{--tile:#d9f7e8;--tile-ink:#12794f}
.menu-lilac{--tile:#ede2ff;--tile-ink:#713ccd}
.menu-amber{--tile:#ffedcb;--tile-ink:#9d5008}
.menu-rose{--tile:#ffe0ec;--tile-ink:#b92666}
.menu-lime{--tile:#e7f3c6;--tile-ink:#54690d}
.menu-sky{--tile:#dcefff;--tile-ink:#1263b0}
@media(min-width:761px){header .theme-toggle{margin-inline:12px 0;order:5}}
@media(max-width:760px){
 header .theme-toggle{width:36px;height:36px;margin-inline:4px 9px}
 body header #mobile-navigation[open]{width:min(91vw,370px);background:var(--theme-panel);color:var(--theme-fg);padding:22px 18px max(20px,env(safe-area-inset-bottom))}
 body header #mobile-navigation nav{gap:9px!important;margin:17px 0 22px}
 body header #mobile-navigation nav a{display:flex;align-items:center;gap:13px;padding:10px 12px;background:var(--drawer-card);border:1px solid var(--drawer-outline)!important;border-radius:16px;font-size:16px!important;letter-spacing:0;min-height:60px}
 body header #mobile-navigation nav a:hover,body header #mobile-navigation nav a[aria-current=page]{background:var(--theme-panel);border-color:var(--site-brand)!important}
 .menu-badge{display:grid;place-items:center;flex:0 0 37px;width:37px;height:37px;border-radius:11px;background:var(--tile);color:var(--tile-ink)}
 .menu-badge svg{width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:1.65;stroke-linecap:round;stroke-linejoin:round}
}
html[data-theme=dark]{color-scheme:dark;--site-brand:#abb99d;--theme-fg:#edf1e8;--theme-border:#84947966;--theme-panel:#202920;--drawer-card:#2a352b;--drawer-outline:#435142;--ink:#eef2ea;--green:#a9bd9c;--sage:#b0c2a3;--paper:#171e18;--cream:#171e18;--muted:#bbc5b7;--rule:#465445;--line:#465445;--brand-green:#abb99d;--title-color:#edf1e8;background:#171e18}
html[data-theme=dark] body{background:#171e18;color:#edf1e8}
html[data-theme=dark] body header{background:var(--theme-panel)!important;color:var(--theme-fg)!important;border-color:var(--theme-border)}
html[data-theme=dark] header nav a{color:var(--theme-fg)!important}
html[data-theme=dark] .language-options{background:#263225;color:#edf1e8;border-color:#4b5e47}
html[data-theme=dark] .language-options button{color:#edf1e8}
html[data-theme=dark] .language-options button:hover,html[data-theme=dark] .language-options button[aria-pressed=true]{background:#3c5038;color:#fff}
html[data-theme=dark] .mobile-toggle,html[data-theme=dark] #mobile-navigation .drawer-social{color:#e6efe1}
html[data-theme=dark] :is(.about,.manifesto,.franchise,.contact,.learning,.application,.app-footer-strip,.review-feature,.topic,.soft,.notice,.floating-note,dialog,#contactDialog,form){background:#242f25;color:#edf1e8;border-color:#465445}
html[data-theme=dark] :is(footer,.app-footer,.hero){background:#171e18;color:#edf1e8;border-color:#465445}
html[data-theme=dark] .hero{background:transparent}
html[data-theme=dark] .hero-art canvas{opacity:.32}
html[data-theme=dark] .hero-art:after{background:radial-gradient(ellipse at 50% 43%,#171e18ed 0%,#171e1899 54%,#171e1833 100%)}
html[data-theme=dark] :is(.body-copy,.hero .body-copy,.hero .eyebrow,.lead,.dek,.intro,.prose p,.contents a,.article-sources,.back-link,.reading,.journal figcaption,.journal h1 em,.editorial h1 em,.photo-caption,.quiet,.small,.floating-note p,.feature-copy>p,.feature-intro>p,.detail-label,.app-footer-strip p,.app-footer-strip a,.app-announcement>a,.manifesto-bottom p,.manifesto-bottom .micro,article section p){color:#c4d0bd;background-image:none;-webkit-text-fill-color:currentColor}
html[data-theme=dark] :is(.color-word,.manifesto .tone.active){color:#edf1e8!important;animation:none}
html[data-theme=dark] :is(.contact-phone,.application a.phone){color:#d2e0ca!important;animation:none}
html[data-theme=dark] :is(.button,.pill):not(.store-badge){background:#c8d9be;color:#1b281b;border-color:#c8d9be}
html[data-theme=dark] :is(input,textarea){background:#1b241b;color:#eef2ea;border-color:#6a7e63}
html[data-theme=dark] .topic-links a{background:#2b392a;color:#edf1e8;border-color:#63775c}
html[data-theme=dark] .topic-links a:is(:hover,[aria-current]){background:#c8d9be;color:#1b281b}

/* Shared application strip and language markers */
.franchise-preheader{position:relative;z-index:81;display:flex;justify-content:center;align-items:center;min-height:34px;background:#e3eadb;color:#294333;font:600 12px/1.3 system-ui,sans-serif;text-align:center}
.franchise-preheader a{display:inline-flex;align-items:center;gap:9px;min-height:34px;padding:4px 16px;color:inherit;text-decoration:none}
.franchise-preheader a:hover{text-decoration:underline}
.franchise-preheader a:focus-visible{outline:2px solid currentColor;outline-offset:-2px}
header .language-picker summary,header .language-options button{display:flex;align-items:center;gap:6px}
.language-flag{display:block;flex:none;width:18px;height:18px;border-radius:50%;object-fit:cover;box-shadow:0 0 0 1px #1112}
html[data-theme=dark]{--paper:#303b32;--cream:#303b32;--theme-panel:#354239;--drawer-card:#415046;--drawer-outline:#637468;--theme-border:#a4b7a48c;--rule:#596a5d;--line:#596a5d;background:#303b32}
html[data-theme=dark] body,html[data-theme=dark] :is(footer,.app-footer){background:#303b32}
html[data-theme=dark] :is(.about,.manifesto,.franchise,.contact,.learning,.application,.app-footer-strip,.review-feature,.topic,.soft,.notice,.floating-note,dialog,#contactDialog,form){background:#39483d}
html[data-theme=dark] .hero-art:after{background:radial-gradient(ellipse at 50% 43%,#303b32ef 0%,#303b32b8 54%,#303b325c 100%)}
html[data-theme=dark] .home-page #baslangic :is(h1,h1 span,.color-word,.eyebrow,.body-copy,.hero-base,.hero-base span,.motion-toggle,.link,.app-announcement>a){color:#fff!important;-webkit-text-fill-color:#fff!important;text-shadow:none}
html[data-theme=dark] .franchise-preheader{background:#495d4b;color:#fff}
@media(max-width:760px){header .language-picker summary{gap:5px}.language-flag{width:16px;height:16px}}

/* White, inset settings-style navigation sheet in both site themes. */
@media(max-width:760px){
 body header #mobile-navigation[open]{width:100%;padding:18px 16px max(24px,env(safe-area-inset-bottom));background:#fff;color:#111;color-scheme:light;--theme-fg:#111}
 body header #mobile-navigation .drawer-head{display:grid;grid-template-columns:44px minmax(0,1fr) 44px;gap:14px;align-items:center;padding:8px 3px 0;border:0}
 #mobile-navigation .drawer-title{text-align:center;font:650 18px/1.3 system-ui,sans-serif;letter-spacing:-.025em}
 #mobile-navigation .drawer-brand{display:block;width:44px;height:44px;object-fit:contain;border-radius:12px}
 #mobile-navigation .drawer-head button{display:grid;place-items:center;padding:0;border:1px solid #111;border-radius:50%;color:#111;box-shadow:0 8px 22px #00000010}
 #mobile-navigation .drawer-head button svg{width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round}
 body header #mobile-navigation nav{gap:28px!important;margin:34px 0 28px}
 #mobile-navigation .drawer-group{border:1px solid #e1e1e1;border-radius:26px;overflow:hidden;background:#fff}
 body header #mobile-navigation nav .drawer-group a,body header #mobile-navigation nav.nav-links .drawer-group a{position:relative;display:flex;align-items:center;gap:14px;background:#fff;color:#111!important;border:0!important;border-radius:0;font:400 17px/1.25 system-ui,sans-serif!important;letter-spacing:-.02em;min-height:55px;padding:10px 22px}
 body header #mobile-navigation nav .drawer-group a:hover,body header #mobile-navigation nav .drawer-group a:focus-visible{background:#f5f5f5;color:#111!important}
 body header #mobile-navigation nav .drawer-group a+a{background-image:linear-gradient(#ddd,#ddd);background-size:calc(100% - 58px) 1px;background-repeat:no-repeat;background-position:right top}
 body header #mobile-navigation nav .drawer-group a::after{content:'';display:block!important;position:static;flex:none;margin-inline-start:auto;width:7px;height:7px;border-right:2px solid #969696;border-top:2px solid #969696;transform:rotate(45deg);background:none}
 html[dir=rtl] body header #mobile-navigation nav .drawer-group a::after{transform:rotate(-135deg)}
 #mobile-navigation .menu-badge{width:22px;height:22px;flex:0 0 22px;border-radius:6px; background:var(--tile);color:var(--tile-ink)}
 #mobile-navigation .menu-badge svg{width:17px;height:17px}
 #mobile-navigation .drawer-bottom{margin-top:auto;display:grid;justify-items:start;gap:12px;padding:8px 5px 0}
 #mobile-navigation .drawer-copyright{margin:0;color:#666;font:400 12px/1.6 system-ui,sans-serif}
 #mobile-navigation .drawer-copyright span{display:block}
 body header #mobile-navigation .drawer-social,html[data-theme=dark] body header #mobile-navigation .drawer-social{margin:0;color:#111;border:1px solid #ddd;background:white;padding:11px 15px;border-radius:16px;gap:28px}
 body header #mobile-navigation .drawer-social:hover{background:#f5f5f5;color:#111}
}

#mobile-navigation .drawer-brand{filter:url(#dosto-neon-key);border-radius:0}
#mobile-navigation .drawer-stores{display:flex;align-items:center;gap:11px;padding:0 5px 18px}
#mobile-navigation .drawer-stores :is(a,button){display:grid;place-items:center;width:44px;height:44px;padding:0;border:0;border-radius:8px;background:transparent;color:#181818}
#mobile-navigation .drawer-stores svg{width:25px;height:25px;flex:none}
#mobile-navigation .drawer-stores button[aria-disabled=true]{cursor:default}

/* Keep the invisible SVG filter out of the close button's hit area. */
#mobile-navigation .drawer-icon-defs{position:absolute;width:0;height:0;overflow:hidden;pointer-events:none}
#mobile-navigation .drawer-close{position:relative;z-index:1;min-width:44px;min-height:44px;touch-action:manipulation;cursor:pointer}
#mobile-navigation .drawer-close svg{pointer-events:none}
