/* device-locator (T50) · kit «dlx» — «бумага и картография» (паспорт design/PASSPORT-AND-DIRECTION.md §7).
   Stand first: values here are the source for the template port. Light theme by default; html.dark overrides.
   Only primitives live here — every page composes its own recipe of sections (no shared page renderer). */

.dlx{
  --canvas:#F7F9FC; --surface:#FFFFFF; --surface-2:#F1F4F9; --edge:#E0E4EC; --edge-2:#C8CED8;
  --ink:#0F172A; --muted:#526072; --faint:#5F6B7D;
  --accent:#0EA5A4; --accent-ink:#0E7C7B; --accent-rgb:14,165,164;
  --danger:#C92A2A; --danger-soft:#FFF1F1;
  --r-s:6px; --r-m:12px; --r-l:18px; --r-xl:24px;
  --shadow:0 1px 2px rgba(15,23,42,.05),0 10px 28px -14px rgba(15,23,42,.18);
  --shadow-lift:0 2px 4px rgba(15,23,42,.06),0 22px 44px -22px rgba(15,23,42,.28);
  --mono:ui-monospace,SFMono-Regular,Menlo,monospace;
  color:var(--ink); background:var(--canvas); font-size:16px; line-height:1.6;
}
/* unit accents (passport §5) */
.dlx[data-unit="brand"]{--accent:#0EA5A4;--accent-ink:#0E7C7B;--accent-rgb:14,165,164}
.dlx[data-unit="android"]{--accent:#1F9D55;--accent-ink:#0F6B36;--accent-rgb:31,157,85}
.dlx[data-unit="iphone"]{--accent:#3B5BDB;--accent-ink:#2F4AC0;--accent-rgb:59,91,219}
.dlx[data-unit="india"]{--accent:#E8590C;--accent-ink:#9A3C08;--accent-rgb:232,89,12}
.dlx[data-unit="account"]{--accent:#5F3DC4;--accent-ink:#4C2FA0;--accent-rgb:95,61,196}
.dlx[data-unit="safety"]{--accent:#C2255C;--accent-ink:#9C1C4A;--accent-rgb:194,37,92}
.dlx[data-unit="lost"]{--accent:#D9480F;--accent-ink:#A8380B;--accent-rgb:217,72,15}
html.dark .dlx{--canvas:#0B0F14;--surface:#121821;--surface-2:#17202B;--edge:rgba(255,255,255,.09);--edge-2:rgba(255,255,255,.16);
  --ink:#EEF2F7;--muted:#A3AFBF;--faint:#7C8798;--danger-soft:rgba(201,42,42,.14);
  --shadow:0 1px 2px rgba(0,0,0,.4),0 14px 32px -18px rgba(0,0,0,.7);--shadow-lift:0 2px 4px rgba(0,0,0,.5),0 24px 48px -24px rgba(0,0,0,.8)}
html.dark .dlx[data-unit="lost"]{--accent:#FF8A4C;--accent-ink:#FFB088}
html.dark .dlx[data-unit="brand"]{--accent:#2DD4BF;--accent-ink:#5EEAD4}
html.dark .dlx[data-unit="india"]{--accent:#FF9E6B;--accent-ink:#FFB088}
html.dark .dlx[data-unit="android"]{--accent:#4ADE80;--accent-ink:#86EFAC}
html.dark .dlx[data-unit="iphone"]{--accent:#7C9BFF;--accent-ink:#A5B8FF}
html.dark .dlx[data-unit="account"]{--accent:#A78BFA;--accent-ink:#C4B5FD}
html.dark .dlx[data-unit="safety"]{--accent:#F472B6;--accent-ink:#F9A8D4}

.dlx *{box-sizing:border-box}
.dlx a{color:var(--accent-ink);text-underline-offset:3px}
.dlx-wrap{max-width:1180px;margin:0 auto;padding:0 24px}
@media (max-width:640px){.dlx-wrap{padding:0 16px}}

/* type */
.dlx-eyebrow{display:inline-flex;align-items:center;gap:8px;font:500 12px/1.2 var(--mono);color:var(--accent-ink);text-transform:lowercase;letter-spacing:.01em;margin:0 0 14px}
.dlx-eyebrow::before{content:"";width:6px;height:6px;border-radius:50%;background:var(--accent)}
.dlx-h1{font-size:clamp(28px,3.6vw,40px);font-weight:500;line-height:1.12;letter-spacing:-.015em;margin:0 0 16px;max-width:20ch}
.dlx-lead{font-size:16px;color:var(--muted);max-width:62ch;margin:0}
.dlx-h2{font-size:clamp(22px,2.4vw,28px);font-weight:500;line-height:1.2;letter-spacing:-.01em;margin:0 0 12px}
.dlx-h2 .q,.dlx-q{color:var(--faint)}
.dlx-h3{font-size:17px;font-weight:600;line-height:1.3;margin:0 0 6px}
.dlx-p{margin:0 0 12px;color:var(--ink)}
.dlx-small{font-size:13px;color:var(--muted)}
.dlx-mono{font-family:var(--mono)}

/* meta row */
.dlx-meta{display:flex;flex-wrap:wrap;gap:8px 18px;list-style:none;margin:18px 0 0;padding:0;font-size:13px;color:var(--muted)}
.dlx-meta li{display:inline-flex;align-items:center;gap:6px}
.dlx-meta svg{width:15px;height:15px;stroke:var(--accent-ink);fill:none;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}

/* chips — live entities inside text */
.dlx-chip{display:inline-flex;align-items:center;gap:6px;padding:1px 9px 1px 4px;border:1px solid var(--edge);border-radius:999px;background:var(--surface);font-size:.92em;white-space:nowrap;vertical-align:baseline;color:var(--ink);text-decoration:none}
.dlx-chip i{width:18px;height:18px;border-radius:50%;display:inline-grid;place-items:center;background:rgba(var(--accent-rgb),.12);color:var(--accent-ink);font:600 10px/1 var(--mono);font-style:normal}
a.dlx-chip:hover{border-color:var(--accent)}

/* surfaces */
.dlx-card{background:var(--surface);border:1px solid var(--edge);border-radius:var(--r-m);box-shadow:var(--shadow);padding:20px}
.dlx-card--flat{box-shadow:none}
.dlx-src{display:inline-block;font:500 11px/1 var(--mono);color:var(--faint);border:1px solid var(--edge);border-radius:999px;padding:3px 7px;margin-left:6px;vertical-align:middle}

/* callout — annotation card that points at a part of a scene */
.dlx-callout{position:absolute;background:var(--surface);border:1px solid var(--edge);border-radius:10px;box-shadow:var(--shadow-lift);padding:10px 12px;font-size:12.5px;line-height:1.4;max-width:220px;color:var(--ink)}
.dlx-callout b{display:block;font-size:13px;margin-bottom:2px}
.dlx-callout::after{content:"";position:absolute;width:28px;height:1px;background:var(--edge-2);top:22px}
.dlx-callout--r::after{left:-28px}.dlx-callout--l::after{right:-28px}

/* device frame + screen primitives (scenes: role=img, contents aria-hidden, no form controls) */
.dlx-phone{width:220px;border-radius:32px;background:#0F172A;padding:9px;box-shadow:var(--shadow-lift)}
.dlx-phone__screen{border-radius:24px;overflow:hidden;background:#F8FAFC;min-height:380px;position:relative;font-size:12px;color:#0F172A}
html.dark .dlx-phone{background:#000;box-shadow:0 0 0 1px rgba(255,255,255,.08),var(--shadow-lift)}
.dlx-statusbar{display:flex;justify-content:space-between;padding:10px 16px 4px;font:600 11px/1 ui-sans-serif,system-ui}
.dlx-map{position:absolute;inset:0;background:
  linear-gradient(0deg,rgba(255,255,255,.0),rgba(255,255,255,0)),
  repeating-linear-gradient(0deg,transparent 0 38px,rgba(15,23,42,.06) 38px 39px),
  repeating-linear-gradient(90deg,transparent 0 46px,rgba(15,23,42,.06) 46px 47px),
  linear-gradient(135deg,#E7F0E9 0%,#EEF3F8 55%,#E3EEF8 100%)}
.dlx-map__road{position:absolute;height:10px;background:#FFFFFF;border-radius:5px;box-shadow:0 0 0 1px rgba(15,23,42,.06)}
.dlx-pin{position:absolute;width:16px;height:16px;border-radius:50%;background:var(--accent);box-shadow:0 0 0 6px rgba(var(--accent-rgb),.18),0 0 0 22px rgba(var(--accent-rgb),.08)}

/* route — vertical line that ties a sequence of sections (route pages only) */
.dlx-route{position:relative;padding-left:56px}
.dlx-route::before{content:"";position:absolute;left:19px;top:8px;bottom:8px;width:2px;background:repeating-linear-gradient(180deg,rgba(var(--accent-rgb),.45) 0 6px,transparent 6px 12px)}
.dlx-route__stop{position:relative;padding:0 0 56px}
.dlx-route__stop:last-child{padding-bottom:0}
.dlx-route__node{position:absolute;left:-56px;top:0;width:40px;height:40px;border-radius:50%;background:var(--surface);border:2px solid var(--accent);display:grid;place-items:center;font:600 12px/1 var(--mono);color:var(--accent-ink);box-shadow:var(--shadow)}
.dlx-route__time{font:500 12px/1 var(--mono);color:var(--accent-ink);margin:10px 0 6px;display:block}

/* band — one full-width call to act, per page at most */
.dlx-band{background:var(--accent-ink);color:#fff;border-radius:var(--r-xl);padding:36px 40px;display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:20px}
.dlx-band h2{color:#fff;margin:0;font-size:clamp(22px,2.6vw,30px);font-weight:500;line-height:1.15}
.dlx-band .q{color:rgba(255,255,255,.9)}
.dlx-band__links{display:flex;flex-wrap:wrap;gap:10px}
.dlx-btn{display:inline-flex;align-items:center;gap:8px;border-radius:999px;padding:11px 18px;font-weight:600;font-size:15px;text-decoration:none;border:1px solid transparent;line-height:1}
.dlx-btn--light{background:#fff;color:var(--accent-ink)}
.dlx-btn--ghost{border-color:rgba(255,255,255,.6);color:#fff}
.dlx-btn--accent{background:var(--accent-ink);color:#fff}
.dlx-btn--outline{border-color:var(--edge-2);color:var(--ink);background:var(--surface)}
.dlx-btn svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
@media (max-width:640px){.dlx-band{padding:26px 20px;border-radius:var(--r-l)}}

/* before / after */
.dlx-ba{display:grid;grid-template-columns:1fr 1fr;gap:0;border:1px solid var(--edge);border-radius:var(--r-l);overflow:hidden;background:var(--surface)}
.dlx-ba > div{padding:22px}
.dlx-ba > div + div{border-left:1px solid var(--edge)}
.dlx-ba__tag{font:600 11px/1 var(--mono);text-transform:lowercase;letter-spacing:.02em;display:inline-block;padding:4px 8px;border-radius:999px;margin-bottom:10px}
.dlx-ba__tag--keep{background:rgba(var(--accent-rgb),.12);color:var(--accent-ink)}
.dlx-ba__tag--final{background:var(--danger-soft);color:var(--danger)}
@media (max-width:720px){.dlx-ba{grid-template-columns:1fr}.dlx-ba > div + div{border-left:0;border-top:1px solid var(--edge)}}

/* faq — centered head, 700px column, chevron */
.dlx-faq{max-width:760px;margin:0 auto}
.dlx-faq__head{text-align:center;margin-bottom:22px}
.dlx-faq details{border-bottom:1px solid var(--edge);padding:18px 4px}
.dlx-faq summary{list-style:none;cursor:pointer;font-weight:500;font-size:17px;display:flex;justify-content:space-between;gap:16px}
.dlx-faq summary::-webkit-details-marker{display:none}
.dlx-faq summary::after{content:"";width:9px;height:9px;border-right:2px solid var(--faint);border-bottom:2px solid var(--faint);transform:rotate(45deg);margin-top:6px;flex:none;transition:transform .2s}
.dlx-faq details[open] summary::after{transform:rotate(-135deg)}
.dlx-faq details p{margin:10px 0 0;color:var(--muted)}

/* next — two cards of different weight, accent corner of the target unit */
.dlx-next{display:grid;grid-template-columns:1.4fr 1fr;gap:16px}
.dlx-next a{position:relative;display:block;overflow:hidden;background:var(--surface);border:1px solid var(--edge);border-radius:var(--r-l);padding:24px 24px 24px 24px;text-decoration:none;color:var(--ink);box-shadow:var(--shadow);min-height:130px}
.dlx-next a::before{content:"";position:absolute;right:-40px;top:-40px;width:120px;height:120px;border-radius:50%;background:rgba(var(--to,var(--accent-rgb)),.16)}
.dlx-next b{display:block;font-size:18px;font-weight:500;margin:6px 0 6px;max-width:26ch}
.dlx-next span{font-size:14px;color:var(--muted)}
@media (max-width:720px){.dlx-next{grid-template-columns:1fr}}

/* sources line */
.dlx-sources{font-size:13px;color:var(--muted);border-top:1px solid var(--edge);padding-top:18px;margin-top:8px}
.dlx-sources a{color:var(--muted)}

/* section rhythm */
.dlx-sec{padding:72px 0}
.dlx-sec--tight{padding:40px 0}
@media (max-width:640px){.dlx-sec{padding:48px 0}}
.dlx-sec__head{display:flex;flex-wrap:wrap;align-items:baseline;justify-content:space-between;gap:8px 24px;margin-bottom:28px}
.dlx-sec__head .dlx-h2{margin:0}

/* reduced motion + reveal */
@media (prefers-reduced-motion:no-preference){
  .dlx-reveal{animation:dlx-in .7s cubic-bezier(.215,.61,.355,1) both}
  @keyframes dlx-in{from{opacity:0;transform:translateY(10px)}to{opacity:1;transform:none}}
}

/* lists inside prose */
.dlx-list{margin:0 0 12px;padding-left:20px;list-style:disc}
.dlx-list li{margin:0 0 6px}
.dlx-list li::marker{color:var(--accent)}
.dlx-p{max-width:68ch}
/* buttons are links too: keep their own colours over `.dlx a` */
.dlx a.dlx-btn{text-decoration:none}
.dlx a.dlx-btn--accent{color:#fff}
.dlx a.dlx-btn--light{color:var(--accent-ink)}
.dlx a.dlx-btn--ghost{color:#fff}
.dlx a.dlx-btn--outline{color:var(--ink)}
.dlx .dlx-next a{color:var(--ink)}

/* sources — collapsible list, columns */
details.dlx-sources{border-top:1px solid var(--edge);padding-top:16px;margin-top:20px}
details.dlx-sources summary{cursor:pointer;list-style:none;font-size:13.5px;color:var(--muted)}
details.dlx-sources summary::-webkit-details-marker{display:none}
details.dlx-sources summary::before{content:"+";display:inline-grid;place-items:center;width:18px;height:18px;border:1px solid var(--edge-2);border-radius:50%;margin-right:8px;font-size:12px;color:var(--faint)}
details.dlx-sources[open] summary::before{content:"–"}
details.dlx-sources ol{columns:2;column-gap:32px;margin:14px 0 0;padding-left:20px;font-size:13px;color:var(--muted)}
details.dlx-sources li{break-inside:avoid;margin:0 0 6px}
details.dlx-sources a{color:var(--muted)}
@media (max-width:720px){details.dlx-sources ol{columns:1}}
/* next — illustration cell */
.dlx-next__ic{display:inline-grid;place-items:center;min-width:44px;height:44px;padding:0 10px;border-radius:12px;background:rgba(var(--to,var(--accent-rgb)),.12);color:rgb(var(--to,var(--accent-rgb)));font:600 15px/1 var(--mono);margin-bottom:12px}
.dlx-next a::after{content:"";position:absolute;right:22px;bottom:22px;width:10px;height:10px;border-top:2px solid var(--faint);border-right:2px solid var(--faint);transform:rotate(45deg)}
.dlx-next a:hover::after{border-color:var(--ink)}

/* ===== map-and-phone language (Walrus 05.11: «как шапка главной — карта, вид телефона, тени дают красоту») =====
   Values come from the theme itself (style.css :root --PhoneGraphic-shadow / --bgCurrentlocation and the home cards),
   so guides speak the same visual language as the home hero. Raster maps are theme assets with dark pairs. */
.dlx{--img:/themes/t50/images;
  --map-raster:url('/themes/t50/images/Current-location-light.webp');
  --map-raster-2:url('/themes/t50/images/hero/Determining-current-location.webp');
  --map-screen:url('/themes/t50/images/gps_phone_tracking.webp');
  --phone-bezel:#fff;
  --phone-shadow:0 50px 100px -20px rgba(50,50,93,.25),0 30px 60px -30px rgba(0,0,0,.3),inset 0 -2px 6px 0 rgba(10,37,64,.35);
  --card-shadow:0 0 0 1px rgba(0,0,0,.02),0 1px 1px .5px rgba(0,0,0,.02),0 3px 3px 1.5px rgba(0,0,0,.02),0 6px 6px -3px rgba(0,0,0,.02),0 12px 12px -6px rgba(0,0,0,.02),0 24px 24px -12px rgba(0,0,0,.02),0 18px 40px -18px rgba(15,23,42,.18)}
html.dark .dlx{--map-raster:url('/themes/t50/images/Current-location-dark.webp');
  --map-raster-2:url('/themes/t50/images/hero/Determining-current-location-dark.webp');
  --map-screen:url('/themes/t50/images/gps_phone_tracking_dark.webp');
  --phone-bezel:#000;--phone-shadow:0 50px 100px -20px rgba(0,0,0,.7),0 30px 60px -30px rgba(0,0,0,.3),inset 0 -2px 6px 0 #0EA5A4;
  --card-shadow:0 0 0 1px rgba(255,255,255,.06),0 18px 40px -18px rgba(0,0,0,.6)}

/* phone: light bezel + the theme's layered shadow; screen = real raster map */
.dlx-phone{width:240px;border-radius:40px;background:var(--phone-bezel);padding:10px;box-shadow:var(--phone-shadow)}
.dlx-phone__screen{border-radius:31px;overflow:hidden;min-height:440px;position:relative;font-size:12px;color:#0F172A;background:#EEF2F5 var(--map-screen) center top/cover no-repeat}
html.dark .dlx-phone__screen{color:#F1F5F9;background-color:#0E1116}
.dlx-phone__screen--plain{background-image:none}
.dlx-statusbar{position:relative;z-index:2;display:flex;justify-content:space-between;padding:12px 20px 6px;font:600 12px/1 ui-sans-serif,system-ui;background:linear-gradient(180deg,rgba(255,255,255,.92),rgba(255,255,255,0))}
html.dark .dlx-statusbar{background:linear-gradient(180deg,rgba(14,17,22,.92),rgba(14,17,22,0))}
.dlx-sheet{position:absolute;left:10px;right:10px;bottom:10px;z-index:2;background:rgba(255,255,255,.86);backdrop-filter:blur(14px);border-radius:22px;padding:14px 16px;box-shadow:var(--card-shadow)}
html.dark .dlx-sheet{background:rgba(24,24,27,.72)}
.dlx-sheet small{display:block;font-size:11px;color:#64748B}
.dlx-sheet b{display:block;font-size:15px;margin:2px 0 8px}
.dlx-sheet dl{display:grid;grid-template-columns:1fr auto;gap:6px 10px;margin:0;font-size:12px}
.dlx-sheet dt{color:#64748B}.dlx-sheet dd{margin:0;font-weight:600;text-align:right}
.dlx-pin{position:absolute;z-index:1;width:16px;height:16px;border-radius:50%;background:#16A34A;border:3px solid #fff;box-shadow:0 0 0 14px rgba(22,163,74,.16),0 0 0 34px rgba(22,163,74,.10)}
.dlx-pin--accent{background:var(--accent);box-shadow:0 0 0 14px rgba(var(--accent-rgb),.16),0 0 0 34px rgba(var(--accent-rgb),.09)}

/* map band / card — raster map with a soft fade into the canvas */
.dlx-mapband{position:relative;border-radius:var(--r-xl);overflow:hidden;background:var(--map-raster) center/cover no-repeat;box-shadow:var(--card-shadow)}
.dlx-mapband::after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,var(--canvas) 0%,rgba(247,249,252,.55) 38%,rgba(247,249,252,0) 70%);pointer-events:none}
html.dark .dlx-mapband::after{background:linear-gradient(90deg,var(--canvas) 0%,rgba(11,15,20,.6) 38%,rgba(11,15,20,0) 70%)}
.dlx-mapband--clear::after{display:none}

/* location card — the home hero's floating card */
.dlx-loc{display:flex;align-items:center;gap:12px;background:var(--surface);border-radius:16px;padding:14px 16px;box-shadow:var(--card-shadow);min-width:0}
.dlx-loc__ic{flex:none;width:22px;height:22px;border-radius:50%;display:grid;place-items:center;background:#16A34A;color:#fff}
.dlx-loc__ic svg{width:12px;height:12px;stroke:currentColor;fill:none;stroke-width:3;stroke-linecap:round;stroke-linejoin:round}
.dlx-loc__ic--warn{background:#F59F00}.dlx-loc__ic--stop{background:var(--danger)}.dlx-loc__ic--wait{background:#94A3B8}
.dlx-loc b{display:block;font-size:14.5px;font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.dlx-loc span{display:block;font-size:13px;color:var(--muted)}

/* halo — the teal blur behind the home scenes, in the unit colour */
.dlx-halo{position:absolute;z-index:0;width:420px;height:420px;border-radius:50%;background:rgba(var(--accent-rgb),.28);filter:blur(110px);pointer-events:none}
.dlx-scene{position:relative;isolation:isolate}
.dlx-scene > *:not(.dlx-halo){position:relative;z-index:1}

/* ===== hero stage — the home hero composition for guides (Walrus 05.11 «а hero»):
   soft unit-coloured wash, a large raster map panel bleeding to the right edge, a white phone with the theme shadow over it,
   one floating card. Each page fills the phone screen and the card with its own mechanism (no copy of the home screen). */
.dlx-hero{position:relative;overflow:hidden;padding:84px 0 56px;background:
  radial-gradient(55% 70% at 78% 8%,rgba(var(--accent-rgb),.20),rgba(var(--accent-rgb),0) 70%),
  radial-gradient(40% 60% at 10% 0%,rgba(14,165,164,.10),rgba(14,165,164,0) 70%),var(--canvas)}
.dlx-hero__grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.05fr);gap:32px;align-items:center}
.dlx-hero__copy{position:relative;z-index:2}
.dlx-hero__stage{position:relative;min-height:560px}
.dlx-hero__map{position:absolute;left:28%;right:calc(-1 * (100vw - 100%) / 2 - 24px);top:6px;bottom:40px;border-radius:24px 0 0 24px;background:var(--map-raster-2) center/cover no-repeat;box-shadow:var(--card-shadow)}
.dlx-hero__map::after{content:"";position:absolute;inset:0;border-radius:inherit;background:radial-gradient(circle at 18% 36%,rgba(var(--accent-rgb),.22),rgba(var(--accent-rgb),0) 34%)}
.dlx-hero__phone{position:absolute;left:4%;top:0;z-index:2}
.dlx-hero__phone .dlx-phone{width:260px}
.dlx-hero__phone .dlx-phone__screen{min-height:520px}
.dlx-hero__card{position:absolute;z-index:3}
@media (max-width:960px){
  .dlx-hero{padding:64px 0 36px}
  .dlx-hero__grid{grid-template-columns:1fr}
  .dlx-hero__stage{min-height:480px}
  .dlx-hero__map{left:18%;right:-16px;border-radius:20px 0 0 20px}
  .dlx-hero__phone{left:0}
  .dlx-hero__phone .dlx-phone{width:220px}.dlx-hero__phone .dlx-phone__screen{min-height:440px}
}
/* phone screen list (the page's own mechanism inside the phone) */
.dlx-screenlist{list-style:none;margin:0;padding:0;font-size:12px}
.dlx-screenlist li{display:flex;align-items:center;gap:8px;padding:6px 0;border-top:1px solid rgba(15,23,42,.06)}
.dlx-screenlist li:first-child{border-top:0}
.dlx-screenlist i{width:16px;height:16px;border-radius:50%;flex:none;border:2px solid #CBD5E1;font-style:normal}
.dlx-screenlist .on i{background:#16A34A;border-color:#16A34A}
.dlx-screenlist .now i{border-color:var(--accent);box-shadow:0 0 0 3px rgba(var(--accent-rgb),.2)}
.dlx-screenlist time{margin-left:auto;font:500 11px/1 var(--mono);color:#64748B}
html.dark .dlx-screenlist li{border-color:rgba(255,255,255,.08)}

/* Walrus 05.11: «красноватый фон не подходит» — large surfaces (hero wash, halos, map glow) stay brand teal like the home hero;
   the unit accent is only for small marks (eyebrow, pins, step nodes, buttons). */
.dlx{--brand-rgb:14,165,164}
.dlx-hero{background:
  radial-gradient(55% 70% at 78% 8%,rgba(var(--brand-rgb),.20),rgba(var(--brand-rgb),0) 70%),
  radial-gradient(40% 60% at 10% 0%,rgba(var(--brand-rgb),.10),rgba(var(--brand-rgb),0) 70%),var(--canvas)}
.dlx-hero__map::after{background:radial-gradient(circle at 18% 36%,rgba(var(--brand-rgb),.22),rgba(var(--brand-rgb),0) 34%)}
.dlx-halo{background:rgba(var(--brand-rgb),.26)}

/* home funnel inside guide heroes (Walrus 05.11 «воронку оставить в hero») */
.dlx-funnel{margin-top:22px;max-width:560px}
.dlx-funnel p{font-size:15px}

/* contrast probe 05.11 (AA): the home funnel copied into guide heroes — consent link and its tag row were
   teal #0EA5A4 / grey #9C9C9D on white (2.3 / 2.1). Light theme only; dark measured separately. */
html:not(.dark) .dlx .dlx-hero a.text-blue-600{color:#0A5C5B!important;text-decoration:underline}
html:not(.dark) .dlx .dlx-hero .HeroDownloadInfo_sub__uJ70w{color:#475467!important;opacity:1}

/* Codex 05.11 #24: the kit's own visible focus (live classes use focus:outline-none) */
.dlx a:focus-visible,.dlx button:focus-visible,.dlx summary:focus-visible,.dlx input:focus-visible{outline:2px solid var(--accent-ink);outline-offset:2px;border-radius:6px}
/* 05.11 Walrus «на первом экране куча текста»: hero = one short line + the page's mechanism as a picture;
   the full lead moves into .dlx-short right under the hero (same text, same facts, not lost). */
.dlx-lead--short{font-size:18px;line-height:1.45;color:var(--ink);max-width:36ch}
.dlx-fork{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:18px 0 10px;max-width:520px}
.dlx .dlx-fork__opt{display:flex;flex-direction:column;gap:3px;background:var(--surface);border-radius:16px;padding:14px 16px;box-shadow:var(--card-shadow);color:var(--ink);text-decoration:none;position:relative}
.dlx-fork__opt small{font:500 11px/1.2 var(--mono);color:var(--muted);text-transform:lowercase}
.dlx-fork__opt b{font-size:16px;font-weight:600}
.dlx-fork__opt span{font-size:13px;color:var(--muted)}
.dlx-fork__opt .dlx-src{display:inline;margin-left:0}
.dlx-fork__opt--accent{outline:2px solid rgba(var(--accent-rgb),.5)}
.dlx-fork__opt--accent b{color:var(--accent-ink)}
.dlx-then{display:flex;flex-wrap:wrap;align-items:center;gap:6px 8px;margin:0 0 6px;font-size:13px;color:var(--muted);max-width:520px}
.dlx-then i{font:500 11px/1 var(--mono);font-style:normal;color:var(--muted)}
.dlx-then span{background:var(--surface-2);border-radius:999px;padding:5px 10px}
.dlx-then .dlx-then__stop{background:rgba(180,35,24,.08);color:#9B1C13}
.dlx-rid{display:flex;flex-wrap:wrap;align-items:center;gap:6px 10px;margin:16px 0 6px;background:var(--surface);border-radius:14px;padding:10px 14px;box-shadow:var(--card-shadow);font-size:14px;max-width:580px}
.dlx-rid__n{font:600 12px/1 var(--mono);color:var(--accent-ink);background:rgba(var(--accent-rgb),.1);border-radius:8px;padding:6px 8px}
.dlx-short{padding-top:48px!important;padding-bottom:8px!important}
@media (max-width:620px){
  .dlx-lead--short{font-size:17px}
  .dlx-fork{grid-template-columns:1fr 1fr;gap:8px}
  .dlx .dlx-fork__opt{padding:12px}
  .dlx-fork__opt b{font-size:15px}
}

.dlx-fork__src{display:flex;gap:4px;margin-top:4px}

/* home «Reading a location» on a phone (Walrus 05.11): the six status cards float OVER the lower part of the phone, alternating
   left/right, each a little deeper (scale + shadow + overlap) — a stack in front of the screen, not a list under it */
@media (max-width:767px){.dlx-loc-states .absolute.top-\[91px\]{top:20%!important;left:0!important;right:0!important;transform:none!important;width:100%!important;z-index:30!important}
.dlx-loc-states{width:100%!important;max-width:100vw}
.dlx-loc-states .w-\[471px\]{width:100%!important;padding:0 10px!important;gap:0!important}
.dlx-loc-states .flex-nowrap.gap-5.w-full{flex-direction:column!important;gap:0!important;align-items:stretch!important}
.dlx-loc-states .h-\[79px\]{width:74%!important;height:auto!important;margin-top:-20px;transform:none!important}
.dlx-loc-states .h-\[79px\],.dlx-loc-states .h-\[79px\] > .absolute{opacity:1!important}
.dlx-loc-states .flex-nowrap.gap-5.w-full:nth-of-type(3) > .h-\[79px\]:nth-child(2){z-index:7}
.dlx-loc-states .h-\[79px\] *{transform:none!important;opacity:1!important;filter:none!important}
.dlx-loc-states .h-\[79px\] > .absolute{position:relative!important}
.dlx-loc-states .flex-nowrap.gap-5.w-full > .h-\[79px\]:nth-child(1){align-self:flex-start;transform:scale(.94)!important;z-index:1}
.dlx-loc-states .flex-nowrap.gap-5.w-full > .h-\[79px\]:nth-child(2){align-self:flex-end;z-index:2}
.dlx-loc-states .flex-nowrap.gap-5.w-full:nth-of-type(2) > .h-\[79px\]:nth-child(1){transform:scale(.97)!important;z-index:3}
.dlx-loc-states .flex-nowrap.gap-5.w-full:nth-of-type(2) > .h-\[79px\]:nth-child(2){z-index:6}
.dlx-loc-states .h-\[79px\] > .absolute > div{box-shadow:0 14px 30px -16px rgba(15,23,42,.38)}
}

/* 05.11 Walrus (v3): the page's choice cards sit UNDER the number form; on a phone the first screen also shows a slice of the
   scene — the map and the phone with its map — so the hero reads as a product, not a page of text. One order for every guide. */
@media (max-width:620px){
  .dlx-hero__grid{display:flex;flex-direction:column;gap:12px;align-items:stretch}
  .dlx-hero__copy{display:contents}
  .dlx-hero__copy .dlx-eyebrow{order:1;align-self:flex-start}
  .dlx-hero__copy .dlx-h1{order:2}
  .dlx-hero__copy .dlx-lead{order:3}
  .dlx-hero__stage{order:4;min-height:0!important;height:240px;margin:2px -16px 0;overflow:hidden}
  .dlx-hero__copy .dlx-funnel{order:5}
  .dlx-hero__copy .dlx-fork{order:6}
  .dlx-hero__copy .dlx-then{order:7}
  .dlx-hero__copy .dlx-meta{order:8}
  .dlx-hero__map{left:30%;right:0;top:0;bottom:0;border-radius:0}
  .dlx-hero__phone{left:18px;top:16px}
  .dlx-hero__phone .dlx-phone{width:176px}
  .dlx-hero__phone .dlx-phone__screen{min-height:400px}
  .dlx-hero__card{left:auto!important;right:12px!important;bottom:14px!important;top:auto!important;width:min(232px,58%)!important;font-size:12px}
  .dlx-hero__card .dlx-src{display:none}
}
.dlx-rid--card{margin:0;max-width:none}

/* home «About this site» — who does what, as a route on the map (05.11) */
.dlx-about{padding:88px 0 40px;background:transparent}
.dlx-about__head{text-align:center;max-width:720px;margin:0 auto 36px}
.dlx-about__head .dlx-eyebrow{justify-content:center}
.dlx-flow{list-style:none;margin:0;padding:28px;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px;position:relative;border-radius:28px;overflow:hidden;
  background:var(--map-raster) center/cover no-repeat;box-shadow:var(--card-shadow)}
.dlx-flow::before{content:"";position:absolute;inset:0;background:rgba(247,249,252,.72)}
html.dark .dlx-flow::before{background:rgba(11,15,20,.74)}
.dlx-flow::after{content:"";position:absolute;left:12%;right:12%;top:62px;border-top:2px dashed rgba(var(--accent-rgb),.55)}
.dlx-flow__node{position:relative;z-index:1;display:flex;flex-direction:column;gap:4px;background:var(--surface);border-radius:18px;padding:18px;box-shadow:var(--card-shadow)}
.dlx-flow__node b{font-size:16px;font-weight:600}
.dlx-flow__node span:not(.dlx-flow__ic){font-size:13.5px;color:var(--muted)}
.dlx-flow__ic{display:grid;place-items:center;width:44px;height:44px;border-radius:14px;background:var(--surface-2);margin-bottom:8px}
.dlx-flow__ic svg{width:24px;height:24px;stroke:var(--ink);fill:none;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
.dlx-flow__ic img{width:26px;height:26px}
.dlx-flow__node--tool{outline:2px solid rgba(var(--accent-rgb),.55)}
.dlx-flow__node--tool .dlx-flow__ic{background:rgba(var(--accent-rgb),.12)}
.dlx-flow__node--tool .dlx-flow__ic svg{stroke:var(--accent-ink)}
.dlx-flow__not{margin-top:6px;align-self:flex-start;font:500 11px/1.3 var(--mono);font-style:normal;color:#9B1C13;background:rgba(180,35,24,.08);border-radius:999px;padding:4px 9px}
.dlx-about__grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin-top:20px}
.dlx-about__card{background:var(--surface);border-radius:18px;padding:18px;box-shadow:var(--card-shadow);display:flex;flex-direction:column;gap:6px}
.dlx-about__card h3{margin:0;font-size:15.5px;font-weight:600}
.dlx-about__card p{margin:0;font-size:13.5px;color:var(--muted);flex:1}
.dlx .dlx-about__card a{font-size:13.5px;font-weight:600;color:var(--ink);text-decoration:none;margin-top:4px}
.dlx-about__ic svg{width:22px;height:22px;stroke:var(--muted);fill:none;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
@media (max-width:980px){.dlx-flow,.dlx-about__grid{grid-template-columns:1fr 1fr}.dlx-flow::after{display:none}}
@media (max-width:620px){.dlx-flow{grid-template-columns:1fr;padding:16px;gap:10px}.dlx-about__grid{grid-template-columns:1fr}.dlx-about{padding:56px 0 24px}
  .dlx-flow__node{flex-direction:row;flex-wrap:wrap;align-items:center;column-gap:12px}.dlx-flow__ic{margin:0}.dlx-flow__node b{flex:1}.dlx-flow__node span:not(.dlx-flow__ic),.dlx-flow__not{flex-basis:100%}}

/* home hero phone · finder bottom sheet (05.11) — the old caption block was transparent over a washed map */
.dlh-sheet{position:absolute;left:8px;right:8px;bottom:8px;z-index:6;background:rgba(255,255,255,.94);backdrop-filter:blur(14px);border-radius:24px;padding:10px 12px 10px;
  box-shadow:0 18px 40px -18px rgba(15,23,42,.35),0 0 0 1px rgba(15,23,42,.05);font-family:inherit;color:#0F172A;display:flex;flex-direction:column;gap:8px}
html.dark .dlh-sheet{background:rgba(24,24,27,.9);color:#F4F4F5;box-shadow:0 18px 40px -18px rgba(0,0,0,.6),0 0 0 1px rgba(255,255,255,.06)}
.dlh-sheet__grab{align-self:center;width:34px;height:4px;border-radius:99px;background:rgba(100,116,139,.35)}
.dlh-sheet__dev{display:flex;align-items:center;gap:9px}
.dlh-sheet__ic{display:grid;place-items:center;width:30px;height:30px;border-radius:10px;background:rgba(14,165,164,.12)}
.dlh-sheet svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.dlh-sheet__ic svg{stroke:#0E7C7B}
html.dark .dlh-sheet__ic svg{stroke:#5EEAD4}
.dlh-sheet__who{flex:1;min-width:0;display:flex;flex-direction:column;line-height:1.2}
.dlh-sheet__who b{font-size:13px;font-weight:600}
.dlh-sheet__who small,.dlh-sheet__area small{font-size:10.5px;color:#64748B}
html.dark .dlh-sheet__who small,html.dark .dlh-sheet__area small{color:#A1A1AA}
.dlh-sheet__time{font:600 10px/1 ui-monospace,SFMono-Regular,Menlo,monospace;color:#0E7C7B;background:rgba(14,165,164,.1);border-radius:999px;padding:5px 7px;white-space:nowrap}
html.dark .dlh-sheet__time{color:#5EEAD4}
.dlh-sheet__area{display:flex;align-items:center;gap:8px;background:rgba(241,245,249,.9);border-radius:14px;padding:8px 10px}
html.dark .dlh-sheet__area{background:rgba(39,39,42,.9)}
.dlh-sheet__area span{display:flex;flex-direction:column;line-height:1.25}
.dlh-sheet__area b{font-size:14px;font-weight:600}
.dlh-sheet__acts{display:grid;grid-template-columns:repeat(3,1fr);gap:6px}
.dlh-sheet__acts span{display:flex;flex-direction:column;align-items:center;gap:4px;font-size:10px;font-weight:600;border-radius:12px;padding:7px 2px;background:rgba(241,245,249,.9);color:#0F172A}
html.dark .dlh-sheet__acts span{background:rgba(39,39,42,.9);color:#F4F4F5}
.dlh-sheet__acts .dlh-sheet__stop{color:#9B1C13;background:rgba(180,35,24,.08)}
html.dark .dlh-sheet__acts .dlh-sheet__stop{color:#FCA5A5;background:rgba(248,113,113,.12)}
.dlh-sheet__cap{font-size:9.5px;color:#64748B;text-align:center}
html.dark .dlh-sheet__cap{color:#A1A1AA}

/* home · «Not sure where to start?» band + plans heading + partner card (05.11) */
.dlx-cta{max-width:1180px;margin:40px auto 0;padding:0 24px;background:none}
.dlx-cta__in{position:relative;display:flex;align-items:center;gap:18px 22px;flex-wrap:wrap;border-radius:24px;padding:22px 26px;overflow:hidden;box-shadow:var(--card-shadow);
  background:linear-gradient(90deg,var(--surface) 0%,var(--surface) 46%,rgba(255,255,255,.55) 100%),var(--map-raster) 70% 50%/cover no-repeat}
html.dark .dlx-cta__in{background:linear-gradient(90deg,var(--surface) 0%,var(--surface) 46%,rgba(17,24,33,.6) 100%),var(--map-raster) 70% 50%/cover no-repeat}
.dlx-cta__ic{display:grid;place-items:center;width:46px;height:46px;border-radius:14px;background:rgba(var(--accent-rgb),.12);flex:none}
.dlx-cta__ic svg{width:24px;height:24px;fill:none;stroke:var(--accent-ink);stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.dlx-cta__txt{flex:1 1 300px;min-width:0}
.dlx-cta__txt b{display:block;font-size:19px;font-weight:600;color:var(--ink)}
.dlx-cta__txt p{margin:4px 0 0;font-size:14px;color:var(--muted);max-width:52ch}
.dlx-cta__chips{display:flex;flex-wrap:wrap;gap:8px}
.dlx .dlx-cta__chips a{background:var(--surface);border-radius:999px;padding:8px 14px;font-size:13.5px;font-weight:500;color:var(--ink);text-decoration:none;box-shadow:var(--card-shadow)}
.dlx .dlx-cta__chips a:hover{outline:2px solid rgba(var(--accent-rgb),.45)}
.dlx-cta__go{flex:none}
@media (max-width:760px){.dlx-cta{padding:0 16px}.dlx-cta__in{padding:18px}.dlx-cta__go{width:100%;justify-content:center}}
.dlx-plans-head{text-align:center;background:none;padding:0 16px}
.dlx-plans-head .dlx-eyebrow{justify-content:center}
.dlx-plans-head .dlx-p{margin:8px auto 0;max-width:60ch}
.dlx-partner{padding:28px 0 0;background:none}
.dlx-partner__card{display:flex;align-items:center;gap:18px;flex-wrap:wrap;background:var(--surface);border-radius:22px;padding:22px 26px;box-shadow:var(--card-shadow);max-width:1100px;margin:0 auto}
.dlx-partner__ic{display:grid;place-items:center;width:46px;height:46px;border-radius:14px;background:var(--surface-2);flex:none}
.dlx-partner__ic svg{width:24px;height:24px;fill:none;stroke:var(--ink);stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
.dlx-partner__txt{flex:1 1 320px}
.dlx-partner__txt h3{margin:0;font-size:18px;font-weight:600}
.dlx-partner__txt p{margin:4px 0 0;font-size:14px;color:var(--muted)}

/* home · eight hints as verdict cards (05.11) */
.dlx-hints{background:none}
.dlx-hints ul{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:1fr 1fr;gap:12px;max-width:760px}
@media (max-width:640px){.dlx-hints ul{grid-template-columns:1fr}}
.dlx .dlx-hint{display:grid;grid-template-columns:38px 1fr;gap:4px 12px;background:var(--surface);border-radius:16px;padding:14px;box-shadow:var(--card-shadow);text-decoration:none;color:var(--ink);height:100%;box-sizing:border-box}
.dlx .dlx-hint:hover{outline:2px solid rgba(var(--accent-rgb),.4)}
.dlx-hint__ic{grid-row:span 2;display:grid;place-items:center;width:38px;height:38px;border-radius:12px;background:var(--surface-2)}
.dlx-hint__ic svg{width:20px;height:20px;fill:none;stroke:var(--ink);stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
.dlx-hint__top{display:flex;flex-wrap:wrap;align-items:center;gap:4px 8px}
.dlx-hint__top b{font-size:14.5px;font-weight:600}
.dlx-hint__v{font:500 10.5px/1.2 var(--mono);font-style:normal;border-radius:999px;padding:3px 8px;text-transform:lowercase}
.dlx-hint__v--ok{color:#11603A;background:rgba(31,157,85,.12)}
.dlx-hint__v--info{color:var(--accent-ink);background:rgba(var(--accent-rgb),.1)}
.dlx-hint__v--warn{color:#8A4B00;background:rgba(245,158,11,.14)}
.dlx-hint__v--stop{color:#9B1C13;background:rgba(180,35,24,.08)}
html.dark .dlx-hint__v--ok{color:#86EFAC}html.dark .dlx-hint__v--warn{color:#FCD34D}html.dark .dlx-hint__v--stop{color:#FCA5A5}
.dlx-hint__p{font-size:13px;color:var(--muted);line-height:1.45}

/* home · finder states joined with the hints (05.11) */
.dlx-explain{margin:24px auto 0;max-width:1180px;padding:0 24px}
.dlx-explain ul{max-width:none;grid-template-columns:repeat(4,minmax(0,1fr))}
@media (max-width:980px){.dlx-explain ul{grid-template-columns:1fr 1fr}}
@media (max-width:640px){.dlx-explain{padding:0 16px}.dlx-explain ul{grid-template-columns:1fr}}
.dlx-hint__ic--ok svg{stroke:#157A41}.dlx-hint__ic--info svg{stroke:var(--accent-ink)}.dlx-hint__ic--warn svg{stroke:#8A4B00}.dlx-hint__ic--stop svg{stroke:#9B1C13}
/* home · FAQ (05.11) */
.dlx-hfaq{padding:56px 0 24px;background:none}
.dlx-hfaq__grid{display:grid;grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr);gap:28px 48px;align-items:start}
@media (max-width:900px){.dlx-hfaq__grid{grid-template-columns:1fr}.dlx-hfaq{padding:40px 0 12px}}
.dlx-hfaq__side .dlx-h2{margin:6px 0 8px}
.dlx .dlx-hfaq__help{display:flex;flex-direction:column;gap:4px;margin-top:18px;background:var(--surface);border-radius:18px;padding:16px 18px;box-shadow:var(--card-shadow);text-decoration:none;color:var(--ink)}
.dlx-hfaq__help span{font-size:13.5px;color:var(--muted)}
.dlx-hfaq__list{display:flex;flex-direction:column;gap:10px}
.dlx-hfaq__q{background:var(--surface);border-radius:16px;box-shadow:var(--card-shadow)}
.dlx-hfaq__q summary{display:flex;align-items:center;gap:14px;padding:16px 18px;cursor:pointer;list-style:none;font-weight:600;font-size:15.5px;color:var(--ink)}
.dlx-hfaq__q summary::-webkit-details-marker{display:none}
.dlx-hfaq__q summary::after{content:"+";margin-left:auto;font-weight:400;font-size:20px;color:var(--muted)}
.dlx-hfaq__q[open] summary::after{content:"–"}
.dlx-hfaq__q summary i{font:600 12px/1 var(--mono);font-style:normal;color:var(--accent-ink);background:rgba(var(--accent-rgb),.1);border-radius:8px;padding:6px 7px}
.dlx-hfaq__a{padding:0 18px 16px 62px;font-size:14.5px;color:var(--muted)}
.dlx-hfaq__a p{margin:0}
@media (max-width:640px){.dlx-hfaq__a{padding-left:18px}}
/* the hints block follows the finder states directly — one block, not two sections */
.map-hero > section:has(.dlx-hints){margin-top:14px!important}

/* home · finder states = one segmented control; hints = one grouped list (05.11: no twelve identical cards) */
.dlx-states{max-width:1180px;margin:22px auto 0;padding:0 24px;background:none}
.dlx-states__box{background:var(--surface);border-radius:22px;box-shadow:var(--card-shadow);padding:10px}
.dlx-states__r{position:absolute;opacity:0;pointer-events:none}
.dlx-states__tabs{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px;background:var(--surface-2);border-radius:16px;padding:5px}
.dlx-states__tab{display:flex;align-items:center;justify-content:center;gap:8px;padding:10px 8px;border-radius:12px;cursor:pointer;font-size:14px;color:var(--muted);transition:background .15s,color .15s}
.dlx-states__tab b{font-weight:600}
.dlx-states__ic svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;display:block}
#dlx-st0:checked ~ .dlx-states__tabs label[for="dlx-st0"],#dlx-st1:checked ~ .dlx-states__tabs label[for="dlx-st1"],
#dlx-st2:checked ~ .dlx-states__tabs label[for="dlx-st2"],#dlx-st3:checked ~ .dlx-states__tabs label[for="dlx-st3"]{background:var(--surface);color:var(--ink);box-shadow:0 2px 8px -3px rgba(15,23,42,.25)}
#dlx-st0:focus-visible ~ .dlx-states__tabs label[for="dlx-st0"],#dlx-st1:focus-visible ~ .dlx-states__tabs label[for="dlx-st1"],
#dlx-st2:focus-visible ~ .dlx-states__tabs label[for="dlx-st2"],#dlx-st3:focus-visible ~ .dlx-states__tabs label[for="dlx-st3"]{outline:2px solid var(--accent-ink);outline-offset:2px}
.dlx-states__tab--ok .dlx-states__ic{color:#157A41}.dlx-states__tab--info .dlx-states__ic{color:var(--accent-ink)}.dlx-states__tab--warn .dlx-states__ic{color:#8A4B00}.dlx-states__tab--stop .dlx-states__ic{color:#9B1C13}
.dlx-states__panel{display:none;padding:16px 14px 8px}
#dlx-st0:checked ~ .dlx-states__panel--0,#dlx-st1:checked ~ .dlx-states__panel--1,#dlx-st2:checked ~ .dlx-states__panel--2,#dlx-st3:checked ~ .dlx-states__panel--3{display:block}
.dlx-states__ptitle{display:flex;align-items:center;gap:8px;margin-bottom:6px}
.dlx-states__ptitle b{font-size:16px;font-weight:600}
.dlx-states__panel p{margin:0;font-size:14.5px;color:var(--muted);max-width:70ch}
@media (max-width:640px){.dlx-states{padding:0 16px}.dlx-states__tabs{grid-template-columns:1fr 1fr}.dlx-states__tab{justify-content:flex-start}}
.dlx-hints--list ul{gap:0;background:var(--surface);border-radius:22px;box-shadow:var(--card-shadow);padding:6px 10px;column-gap:20px}
.dlx-hints--list .dlx-hint{box-shadow:none;border-radius:0;background:none;padding:14px 6px;grid-template-columns:38px 1fr 14px;border-bottom:1px solid var(--edge)}
.dlx-hints--list li:nth-last-child(-n+2) .dlx-hint{border-bottom:0}
@media (max-width:640px){.dlx-hints--list li:nth-last-child(2) .dlx-hint{border-bottom:1px solid var(--edge)}}
.dlx-hints--list .dlx-hint:hover{outline:0;background:var(--surface-2);border-radius:12px}
.dlx-hints--list .dlx-hint__ic{grid-row:span 2}
.dlx-hint__go{grid-row:1 / span 2;grid-column:3;align-self:center;font-size:20px;color:var(--faint)}

/* mobile menu — white full-screen sheet (05.11) */
.dlm{position:fixed;inset:0;z-index:80;background:none}
.dlm-backdrop{position:absolute;inset:0;background:rgba(15,23,42,.25)}
.dlm-sheet{position:absolute;inset:0;background:#fff;display:flex;flex-direction:column}
html.dark .dlm-sheet{background:#0B0F14}
.dlm-top{display:flex;align-items:center;justify-content:space-between;padding:14px 16px;border-bottom:1px solid var(--edge)}
.dlx .dlm-logo{display:flex;align-items:center;gap:10px;font-size:19px;font-weight:600;color:var(--ink);text-decoration:none}
.dlm-close{display:grid;place-items:center;width:40px;height:40px;border-radius:12px;border:0;background:var(--surface-2);color:var(--ink);cursor:pointer}
.dlm-close svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round}
.dlm-body{flex:1;overflow-y:auto;padding:6px 16px 16px}
.dlm-k{font:500 12px/1 var(--mono);color:var(--faint);text-transform:lowercase;margin:18px 2px 10px}
.dlm-tiles{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.dlx .dlm-tile{display:flex;flex-direction:column;gap:10px;padding:14px;border-radius:16px;background:var(--surface);box-shadow:var(--card-shadow);color:var(--ink);text-decoration:none;font-size:14.5px;font-weight:600;line-height:1.25;min-height:92px}
.dlm-tile__ic{display:grid;place-items:center;width:36px;height:36px;border-radius:11px}
.dlm-tile__ic svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.dlm-tile--lost .dlm-tile__ic{background:rgba(217,72,15,.1);color:#A8380B}
.dlm-tile--india .dlm-tile__ic{background:rgba(232,89,12,.1);color:#9A3C08}
.dlm-tile--account .dlm-tile__ic{background:rgba(95,61,196,.1);color:#4C2FA0}
.dlm-tile--safety .dlm-tile__ic{background:rgba(194,37,92,.1);color:#9C1C4A}
html.dark .dlm-tile__ic{filter:brightness(1.6)}
.dlm-seg{display:grid;grid-template-columns:1fr 1fr;gap:6px;background:var(--surface-2);border-radius:14px;padding:5px}
.dlx .dlm-seg a{display:flex;align-items:center;justify-content:center;gap:8px;padding:11px;border-radius:10px;background:var(--surface);box-shadow:0 2px 8px -3px rgba(15,23,42,.2);color:var(--ink);text-decoration:none;font-weight:600;font-size:14.5px}
.dlm-seg svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.7}
.dlm-rows{list-style:none;margin:16px 0 0;padding:4px 14px;background:var(--surface);border-radius:16px;box-shadow:var(--card-shadow)}
.dlm-rows li + li{border-top:1px solid var(--edge)}
.dlx .dlm-rows a{display:flex;align-items:center;justify-content:space-between;padding:14px 2px;color:var(--ink);text-decoration:none;font-size:15px;font-weight:500}
.dlm-rows i{font-style:normal;font-size:20px;color:var(--faint)}
.dlm-note{margin:14px 2px 0;font-size:12.5px;color:var(--faint)}
.dlm-foot{display:grid;grid-template-columns:1fr 1fr;gap:10px;padding:12px 16px calc(12px + env(safe-area-inset-bottom));border-top:1px solid var(--edge);background:inherit}
.dlm-foot .dlx-btn{justify-content:center;width:100%}
/* dark theme: accent-ink is a LIGHT tint there, so text on accent buttons/bands must be dark (05.11, menu Sign Up was white on #5EEAD4) */
html.dark .dlx .dlx-btn--accent,html.dark .dlx a.dlx-btn--accent{color:#06201E}
html.dark .dlx-band{color:#06201E}

/* ===== mobile pass 05.11 (Walrus «воздух, выравнивания, удобство»), measured at 375 by mobaudit ===== */
@media (max-width:640px){
  /* router: six tall cards (~2100px) → one swipe row, next card peeks so the gesture is obvious */
  .dlx-home-router .hr{padding:36px 0 8px}
  .dlx-home-router .hr-grid{display:flex;overflow-x:auto;scroll-snap-type:x mandatory;gap:12px;margin:0 -16px;padding:4px 16px 14px;scrollbar-width:none}
  .dlx-home-router .hr-grid::-webkit-scrollbar{display:none}
  .dlx-home-router .hr-card{flex:0 0 82%;scroll-snap-align:start}
  .dlx-home-router .hr-pic{height:132px}
  .dlx-home-router .hr-body{padding:14px 16px 16px}
  /* section rhythm: 120-170px empty bands → 32-48px */
  section:has(.dlx-plans-head){margin-top:32px!important}
  section:has(.dlx-plans-head) > div{padding-top:0!important}
  .dlx-cta{margin-top:20px}
  .dlx-partner{padding-top:16px}
  .dlx-about{padding:36px 0 12px}
  .dlx-hfaq{padding:24px 0 4px}
  .dlx.dlf{margin-top:40px}
  /* readable small type */
  .dlh-sheet__who small,.dlh-sheet__area small{font-size:11px}
  .dlh-sheet__acts span{font-size:11px}
  .dlh-sheet__cap{font-size:10.5px}
  .dlx-hint__v{font-size:11.5px}
  /* tap targets ≥ 40px */
  .dlf-col ul{gap:0}
  .dlx .dlf-col a{display:inline-flex;align-items:center;min-height:40px}
  .dlf-col small{margin:-8px 0 4px}
  .dlx .dlf-sup,.dlx .dlx-about__card a{min-height:40px;display:inline-flex;align-items:center}
  .dlx-home-router .dlx-sec__head .dlx-small{display:inline-flex;align-items:center;min-height:40px}
  .dlf-bottom nav a{display:inline-flex;align-items:center;min-height:40px}
}
/* burger: 24×32 hit area → 44×44 (all widths below lg) */
@media (max-width:1023px){header#page-header button.lg\:hidden{min-width:44px;min-height:44px;display:inline-flex;align-items:center;justify-content:center}}
@media (max-width:640px){
  .map-hero > section:has(.dlx-hints){padding-bottom:16px!important}
  section.pb-10.lg\:pb-20:has(.glide){padding-bottom:8px!important}
  .dlx.dlf .dlf-main{padding:32px 0 24px}
  .dlx .dlf-lang summary{min-height:40px}
  .dlx .dlf-lang li a{min-height:40px;box-sizing:border-box}
}
@media (max-width:640px){
  /* router strip: first card keeps the 16px gutter */
  .dlx-home-router .hr-grid{margin:0;padding:4px 0 14px;scroll-padding-left:0}
  /* «Reading a location»: phone centred in the stage, less empty air above it */
  .dlx-loc-states .left-\[86px\]{left:50%!important;transform:translate(-50%,-50%)!important}
  .dlx-loc-states{aspect-ratio:.86/1!important}
}
@media (max-width:640px){.dlx-loc-states{margin-top:-64px}}
/* guides · mobile pass 05.11 (mobaudit at 375) */
@media (max-width:640px){
  .dlx-route{padding-left:42px}
  .dlx-route__node{left:-42px;width:32px;height:32px}
  .dlx-route__stop{padding-bottom:36px;min-width:0}
  .lpA-row{grid-template-columns:minmax(0,1fr)!important;gap:14px!important}
  .lpA-scene{padding:4px 0!important;min-height:0!important;max-width:100%}
  .lpA-scene .dlx-phone{width:214px}
  .lpA-scene .dlx-phone__screen{min-height:360px}
  .lpA-scene > div[aria-hidden]{max-width:100%}
  .lpA-scene .dlx-loc{max-width:100%;box-sizing:border-box}
  /* FAQ / sources: rows are tap targets */
  .dlx-faq details > summary{min-height:44px;display:flex;align-items:center;padding-top:8px;padding-bottom:8px}
  .dlx-sources summary{min-height:44px;display:flex;align-items:center}
  .dlx-sources li a{display:inline-block;padding:6px 0}
}

/* dark: text sitting ON an accent fill (band, accent button) is dark; the band's own white/outline parts follow (review #3) */
html.dark .dlx-band h2,html.dark .dlx-band .q,html.dark .dlx-band p{color:#06201E}
html.dark .dlx-band .dlx-btn--ghost,html.dark .dlx-band a.dlx-btn--ghost{color:#06201E;border-color:rgba(6,32,30,.45)}
html.dark .dlx-band .dlx-btn--accent,html.dark .dlx-band a.dlx-btn--accent{background:#06201E;color:#fff}
.dlx-loc-states .h-\[79px\] p.ml-1{white-space:normal}

@media (max-width:620px){.dlx-loc > span:last-child{min-width:0}.dlx-loc b{white-space:normal}}
