@font-face {
  font-family: Inter;
  src: url("/assets/fonts/inter-cyrillic.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  unicode-range: U+400-45F,U+490-491,U+4B0-4B1,U+2116;
}

@font-face {
  font-family: Inter;
  src: url("/assets/fonts/inter-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  unicode-range: U+0-FF,U+131,U+152-153,U+2BB-2BC,U+2C6,U+2DA,U+2DC,U+300-304,U+308,U+329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}

/* Shared financial portal layout */
:root {
  color-scheme:light;
  --ink:#111d2a;
  --muted:#506175;
  --subtle:#5c6d7e;
  --line:#dce4ec;
  --soft-line:#e7ecf1;
  --ground:#f4f6f8;
  --paper:#fff;
  --blue:#006abd;
  --action:#006dca;
  --action-hover:#005bae;
  --tint:#e7f3ff;
  --radius:20px;
  --shadow:0 2px 5px #22395509;
  --pad:clamp(20px,2.5vw,36px);
}
* { box-sizing:border-box; }
html { scroll-padding-top:18px; }
body { margin:0; color:var(--ink); background:var(--ground); font:400 16px/1.5 Inter,Arial,sans-serif; -webkit-font-smoothing:antialiased; }
h1,h2,h3,h4,p,dl,dd,ul,ol,figure { margin:0; }
h1,h2,h3,h4 { text-wrap:pretty; }
h1 { font-size:clamp(34px,3.7vw,54px); font-weight:720; line-height:1.06; letter-spacing:-.052em; }
h2,.section-heading { font-size:clamp(24px,2.3vw,34px); font-weight:700; line-height:1.16; letter-spacing:-.04em; }
h3 { font-size:20px; line-height:1.25; letter-spacing:-.025em; }
a { color:var(--blue); text-decoration:none; }
a:hover { text-decoration:underline; text-underline-offset:3px; }
button,input,select,textarea { font:inherit; color:inherit; }
button { cursor:pointer; }
button:disabled { opacity:.55; cursor:not-allowed; }
button,summary,a,input,select { touch-action:manipulation; }
button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,summary:focus-visible,[tabindex="0"]:focus-visible { outline:3px solid var(--focus); outline-offset:3px; }
[hidden] { display:none !important; }
.shell { width:min(1248px,calc(100% - 80px)); margin-inline:auto; }
main.shell { min-height:50vh; padding-bottom:58px; }
.icon { flex:none; vertical-align:middle; }
.skip { position:absolute; top:-100px; left:12px; z-index:50; padding:8px 18px; background:var(--paper); border-radius:8px; }
.skip:focus { top:8px; }
.sr-only { position:absolute; width:1px; height:1px; padding:0; margin:-1px; clip:rect(0,0,0,0); overflow:hidden; white-space:nowrap; border:0; }
.small,.meta-note,.as-label { font-size:14px; color:var(--muted); }
main a,main button { transition:background-color .15s,color .15s,border-color .15s,box-shadow .15s; }
.btn,.pill-link,.compare-toggle,.head-compare,.menu-toggle,.head-search-mobile,.head-sources {
  display:inline-flex; align-items:center; justify-content:center; gap:8px; min-height:42px; border:0; border-radius:12px;
  padding:9px 16px; font-size:14px; line-height:1.25; font-weight:600; cursor:pointer;
}
.btn,.pill-link { background:var(--surface-soft); color:var(--ink); }
.btn:hover,.pill-link:hover { text-decoration:none; background:var(--surface-hover); }
.btn.primary { color:#fff; background:var(--action); }
.btn.primary:hover { background:var(--action-hover); }
.btn.secondary,.compare-toggle { background:var(--tint); color:var(--blue); }
.btn.secondary:hover,.compare-toggle:hover { background:var(--tint-hover); text-decoration:none; }
.compare-toggle[aria-pressed="true"] { background:var(--tint-hover); color:var(--link-strong); }
.text-button { background:none; border:0; padding:4px 0; color:var(--blue); font-size:14px; font-weight:600; }
.text-button:hover { text-decoration:underline; }
.search-field,.select { display:flex; align-items:center; border:1px solid var(--line-strong); min-height:46px; border-radius:11px; background:var(--paper); font-size:15px; }
.select { width:100%; padding:8px 32px 8px 12px; cursor:pointer; }
.search-field { gap:9px; padding:0 13px; color:var(--muted); }
.search-field:focus-within,.mast-search:focus-within { outline:2px solid var(--action); outline-offset:1px; }
.search-field input,.mast-search input { background:transparent; border:0; outline:0; min-width:0; width:100%; min-height:44px; color:var(--ink); }
.search-field input:focus-visible,.mast-search input:focus-visible { outline:0; }
input::placeholder { color:var(--subtle); opacity:1; }
.brand { display:inline-flex; align-items:center; flex-shrink:0; width:216px; max-width:100%; }
.brand:hover { text-decoration:none; }
.brand-logo { display:block; width:100%; height:auto; }
.brand-logo-light, :root[data-theme="light"] .brand-logo-dark { display:none; }
:root[data-theme="light"] .brand-logo-light { display:block; }
.top { position:relative; z-index:10; }
.top-panel { position:relative; background:var(--paper); border-bottom:1px solid var(--line); }
.head-inner { height:68px; display:flex; align-items:center; gap:clamp(18px,3.4vw,52px); }
.head-inner .brand { width:232px; }
.mast-search { display:flex; align-items:center; gap:6px; padding:0 10px; max-width:375px; flex:1; height:39px; background:var(--surface-soft); border-radius:11px; }
.mast-search button { width:29px; height:36px; display:grid; place-items:center; background:none; border:0; color:var(--muted); padding:0; }
.mast-search input { min-height:34px; font-size:14px; }
.mast-search kbd { display:grid; place-items:center; border:1px solid var(--line); border-radius:5px; min-width:20px; height:20px; color:var(--muted); font:500 12px Inter,Arial,sans-serif; }
.head-actions { display:flex; gap:15px; margin-left:auto; align-items:center; }
.head-compare { background:var(--tint); color:var(--blue); min-height:38px; padding:8px 13px; }
.head-sources { color:var(--muted); padding:7px 0; font-weight:550; min-height:38px; background:none; }
.head-compare:hover,.head-sources:hover,.head-search-mobile:hover { text-decoration:none; color:var(--blue); }
.head-compare:hover { background:var(--tint-hover); }
.head-compare,.head-search-mobile,.menu-toggle {
  transition:background-color .18s ease,color .18s ease;
}
.head-compare b,.filter-toggle b { display:inline-grid; place-items:center; min-width:19px; height:19px; padding-inline:4px; border-radius:8px; background:var(--action); font-size:11px; color:white; }
.menu-toggle,.head-search-mobile { display:none; color:var(--ink); padding:0; background:none; }
.theme-toggle {
  display:grid; place-items:center; flex:none; width:42px; height:40px; padding:0;
  border:1px solid var(--line); border-radius:12px; background:var(--surface-soft); color:var(--ink);
  transition:background-color .18s ease,color .18s ease,border-color .18s ease;
}
.theme-toggle:hover,.nav-trigger:hover,.menu-toggle:hover,.head-search-mobile:hover {
  background:var(--surface-hover); color:var(--blue);
}
.theme-toggle>span {
  grid-area:1/1; display:grid; place-items:center; transition:opacity .18s ease,transform .18s ease;
}
.theme-toggle[aria-checked="true"] .theme-moon,.theme-toggle[aria-checked="false"] .theme-sun {
  opacity:0; transform:rotate(-24deg) scale(.78);
}
.nav-band { border-top:1px solid var(--soft-line); }
.main-nav { display:flex; align-items:stretch; gap:clamp(12px,1.5vw,26px); min-height:46px; }
.main-nav a {
  display:flex; align-items:center; position:relative; color:var(--ink); font-size:14px;
  font-weight:580; white-space:nowrap; transition:background-color .16s ease,color .16s ease;
}
.nav-group { position:relative; display:flex; align-items:stretch; }
.main-nav a:hover,.main-nav .active { color:var(--blue); text-decoration:none; }
.main-nav .active::after { position:absolute; content:""; bottom:-1px; height:3px; border-radius:3px 3px 0 0; background:#0d8bff; left:0; right:0; }
.nav-trigger {
  display:none; place-items:center; flex:none; align-self:center; width:24px; height:28px; margin-left:2px;
  padding:0; border:0; border-radius:7px; background:transparent; color:var(--muted);
  transition:background-color .16s ease,color .16s ease;
}
.nav-trigger .icon { transition:transform .2s ease; }
.nav-trigger[aria-expanded="true"] .icon { transform:rotate(180deg); }
.nav-flyout { display:none; }
@media (min-width:1001px) {
  .js .nav-trigger { display:grid; }
  .js .nav-flyout {
    display:block; position:absolute; z-index:1; top:100%; left:-12px; min-width:238px;
    padding-top:8px; opacity:0; visibility:hidden; pointer-events:none; transform:translateY(-6px);
    transition:opacity .17s ease,transform .2s ease,visibility 0s linear .2s;
  }
  .js .nav-group.open .nav-flyout {
    opacity:1; visibility:visible; pointer-events:auto; transform:translateY(0); transition-delay:0s;
  }
  .nav-flyout-links {
    display:grid; gap:2px; padding:8px; background:var(--paper); border:1px solid var(--line);
    border-radius:14px; box-shadow:var(--header-shadow);
  }
  .main-nav .nav-flyout a {
    justify-content:space-between; gap:18px; padding:9px 10px; border-radius:8px; min-height:35px;
  }
  .main-nav .nav-flyout a:hover,.main-nav .nav-flyout a:focus-visible { background:var(--surface-accent); }
  .nav-flyout .icon { color:var(--muted); }
}
@media (min-width:651px) and (max-width:1000px) {
  .main-nav { overflow-x:auto; scrollbar-width:thin; }
}
.crumbs { display:flex; align-items:center; flex-wrap:wrap; gap:5px 9px; padding:19px 0 16px; font-size:12px; line-height:1.4; color:var(--muted); }
.crumbs a { color:var(--muted); }
.crumbs [aria-hidden] { color:var(--muted); }
.crumbs [aria-current] { overflow-wrap:anywhere; }
.footer { background:var(--paper); border-top:1px solid var(--line); }
.foot-inner { display:grid; grid-template-columns:1.4fr 1fr 1fr 1fr; gap:32px; padding-block:38px 45px; }
.foot-inner p { margin-top:12px; color:var(--muted); font-size:14px; }
.foot-inner nav { display:flex; flex-direction:column; align-items:start; gap:8px; }
.foot-inner nav strong { margin-bottom:4px; font-size:15px; }
.foot-inner nav a { font-size:14px; color:var(--muted); }
.snack { position:fixed; bottom:22px; left:50%; translate:-50% 12px; z-index:12; opacity:0; pointer-events:none; background:#142538; color:white; border-radius:12px; padding:11px 18px; font-size:14px; transition:opacity .15s,translate .15s; max-width:calc(100% - 30px); }
.snack.shown { opacity:1; translate:-50% 0; }

/* Navigation tiles and illustrations */
.topic-art { display:block; flex:none; aspect-ratio:1; width:100px; background:url('/assets/topic-art.webp') no-repeat; background-size:300% 300%; }
.art-oplata { background-position:0 0; } .art-karty { background-position:50% 0; } .art-sravneniya { background-position:100% 0; }
.art-poezdki { background-position:0 50%; } .art-esim { background-position:50% 50%; } .art-biznes { background-position:100% 50%; }
.art-guides { background-position:0 100%; } .art-spravka { background-position:50% 100%; } .art-faily { background-position:100% 100%; }
.tone-oplata { --wash:#f1eeff; --pale:#e6e0ff; } .tone-karty { --wash:#eaf3ff; --pale:#d5e9ff; }
.tone-sravneniya { --wash:#e6f6fa; --pale:#d2eff7; } .tone-poezdki { --wash:#e7f6ef; --pale:#d5efdf; }
.tone-esim { --wash:#f3edfb; --pale:#e9dcfa; } .tone-biznes { --wash:#edf1f9; --pale:#dae5f7; }
.tone-guides { --wash:#fff2e6; --pale:#ffe6cb; } .tone-spravka { --wash:#e8f6f2; --pale:#d5f0e8; }
.tone-faily { --wash:#edf3fb; --pale:#d9e7f7; }
.hero,.hub-hero { position:relative; display:flex; align-items:center; isolation:isolate; overflow:hidden; border:1px solid var(--line); border-radius:24px; background:var(--surface-accent); }
.home-hero { min-height:302px; margin:24px 0 14px; background:linear-gradient(110deg,var(--hero-start),var(--hero-end)); }
.hero-body,.hub-copy { position:relative; z-index:1; padding:clamp(24px,3.3vw,48px); width:63%; }
.hero h1,.hub-hero h1 { font-size:clamp(38px,4.3vw,62px); line-height:1.015; letter-spacing:-.06em; color:var(--ink); }
.home-hero h1 { font-size:clamp(36px,3.7vw,56px); text-wrap:balance; }
.hero p,.hub-copy>p { max-width:520px; margin-top:14px; font-size:clamp(15px,1.2vw,18px); line-height:1.48; color:var(--muted); }
.hero-actions { display:flex; gap:9px; flex-wrap:wrap; margin-top:21px; }
.hero-actions .btn { min-height:44px; }
.hero-secondary { background:var(--paper); color:var(--blue); }
.hero-secondary:hover { background:var(--paper); }
.hero-illustration { position:absolute; right:2.5%; width:43%; height:98%; object-fit:contain; }
.hub-hero { min-height:269px; background:linear-gradient(112deg,var(--hero-start),var(--hero-end)); }
.hub-copy { width:70%; }
.hub-illustration { position:absolute; right:2%; top:3%; width:34%; height:95%; object-fit:contain; }
.hub-copy>p { max-width:540px; }
.shortcut-grid { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:12px; }
.shortcut { background:var(--paper); color:var(--ink); min-height:82px; border:1px solid var(--soft-line); border-radius:16px; padding:10px 15px 10px 10px; display:flex; align-items:center; gap:9px; font-size:15px; font-weight:650; line-height:1.21; }
.shortcut .topic-art { width:58px; }
.shortcut>.icon { margin-left:auto; color:var(--muted); }
.shortcut:hover,.topic-entry:hover,.guide-feature:hover,.entry:hover { box-shadow:0 5px 16px #1e3b5910; border-color:var(--line-accent); text-decoration:none; }
.portal-section,.block,.collection-band,.home-faq { margin-top:clamp(28px,3.3vw,47px); }
.section-head,.catalog-sort,.filter-line { display:flex; align-items:center; justify-content:space-between; gap:12px; }
.section-head { margin-bottom:17px; }
.section-head>a { display:inline-flex; gap:7px; align-items:center; font-weight:600; font-size:14px; }
.section-head p,.topic-heading p,.page-intro p,.lead { margin-top:9px; color:var(--muted); }
.catalog-date,.reader-date { display:inline-flex; align-items:center; gap:6px; color:var(--muted); font-size:13px; }
.material-search { display:flex; align-items:stretch; gap:8px; }
.material-search .search-field { min-width:0; flex:1; }
.material-search select { width:auto; max-width:172px; }
.hub-copy .material-search { margin-top:23px; background:var(--paper); border-radius:14px; border:1px solid var(--line); padding:4px; gap:2px; max-width:640px; box-shadow:0 2px 8px #2c527610; }
.hub-copy .search-field { border:0; min-height:40px; }
.hub-copy .search-field input { min-height:40px; }
.hub-copy .select { border:0; border-left:1px solid var(--line); min-height:38px; align-self:center; border-radius:0; font-size:14px; }
.hub-copy .btn { padding-inline:20px; min-height:42px; border-radius:10px; }
.topic-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:14px; }
.topic-entry { position:relative; overflow:hidden; display:flex; align-items:center; border-radius:18px; padding:20px; min-height:146px; color:var(--ink); background:linear-gradient(118deg,var(--wash),color-mix(in srgb,var(--wash) 72%,var(--paper))); border:1px solid color-mix(in srgb,var(--pale) 80%,var(--line)); }
.topic-entry .topic-copy { width:calc(100% - 84px); position:relative; z-index:1; }
.topic-entry h3 { font-size:clamp(17px,1.45vw,21px); font-weight:680; }
.topic-entry p { font-size:13px; line-height:1.36; margin-top:7px; color:var(--muted); }
.topic-entry small { display:block; margin-top:10px; font-size:12px; font-weight:580; color:var(--muted); }
.topic-entry .topic-art { position:absolute; width:clamp(76px,7.3vw,108px); right:8px; bottom:13px; transition:transform .18s ease; }
.topic-entry:hover .topic-art,.shortcut:hover .topic-art { transform:translateY(-2px) rotate(-3deg); }
.guide-features,.entry-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:14px; }
.guide-feature,.entry,.panel,.source-document,.filter-box,.offer,.topic-side,.helper-panel { background:var(--paper); border:1px solid var(--line); border-radius:var(--radius); }
.guide-feature { color:var(--ink); padding:20px; display:grid; grid-template-columns:60px minmax(0,1fr) auto; align-items:center; gap:12px; }
.guide-feature .topic-art { width:60px; }
.guide-feature h3 { font-size:17px; line-height:1.35; }
.guide-feature>.icon { color:var(--blue); }
.entry { padding:22px; display:block; color:var(--ink); }
.entry h3,.entry h2 { font-size:19px; margin:12px 0 5px; }
.entry p,.dir-row small { color:var(--muted); font-size:14px; line-height:1.45; }
.icon-tile { height:42px; width:42px; display:grid; place-items:center; border-radius:13px; color:var(--blue); background:var(--tint); }
.tile-1 { background:var(--positive-bg); color:var(--positive); } .tile-2 { background:var(--violet-bg); color:var(--violet); } .tile-3 { background:var(--warning-bg); color:var(--warning); }
.home-search-band { display:flex; align-items:center; gap:22px; justify-content:space-between; padding:26px 30px; border-radius:var(--radius); background:var(--surface-accent); }
.home-search-band p { color:var(--muted); margin-top:5px; }
.home-search-band form { width:min(490px,52%); }

.card-art {
  display: block;
  flex: none;
  container-type: inline-size;
  isolation: isolate;
  position: relative;
  aspect-ratio: 1.59;
  border-radius: 9px;
  overflow: hidden;
  color: white;
  background: var(--art);
  box-shadow: inset 0 0 0 1px #ffffff29,0 4px 9px #1a253220;
}

.art-orbit {
  position: absolute;
  z-index: -1;
  inset: -22% -60% -85% 11%;
  border-radius: 50%;
  transform: rotate(-29deg);
  background: repeating-radial-gradient(ellipse at 63% 50%,transparent 0 5px,var(--stripe) 5.4px 6.2px,transparent 6.6px 9px);
  opacity: .85;
}

.art-name {
  position: absolute;
  left: 10%;
  top: 13%;
  width: 85%;
  overflow-wrap: anywhere;
  font-weight: 720;
  font-size: clamp(8px,11cqw,16px);
  line-height: 1.07;
  letter-spacing: -.036em;
}

.art-chip {
  position: absolute;
  left: 11%;
  top: 55%;
  width: 14%;
  height: 18%;
  background: linear-gradient(130deg,#ffedb1,#c5aa62 57%,#e1d59d);
  border: 1px solid #24242425;
  border-radius: 23%;
}

.art-chip:after,.art-chip:before,.art-chip i {
  content: "";
  position: absolute;
  background: #786f5477;
}

.art-chip:before {
  width: 100%;
  top: 45%;
  height: 1px;
}

.art-chip:after {
  height: 100%;
  left: 37%;
  width: 1px;
}

.art-chip i {
  width: 1px;
  height: 100%;
  left: 67%;
}

.art-stripes {
  position: absolute;
  bottom: 13%;
  right: 10%;
  display: flex;
}

.art-stripes i,.art-stripes b {
  display: block;
  width: 10cqw;
  height: 10cqw;
  border-radius: 50%;
  background: #fff;
  opacity: .75;
}

.art-stripes b {
  margin-left: -4cqw;
  opacity: .36;
}

.art-sea {
  --art: linear-gradient(125deg,#082e44,#126775 50%,#279a98);
  --stripe: #a5ffef7a;
}

.art-iris {
  --art: linear-gradient(130deg,#32306c,#6354c7 60%,#9b87ed);
  --stripe: #e5e1ff80;
}

.art-violet {
  --art: linear-gradient(130deg,#24204e,#5034a2 50%,#7c43c8);
  --stripe: #f1bcff70;
}

.art-sun {
  --art: linear-gradient(125deg,#7e3c18,#ba6024 55%,#d99637);
  --stripe: #ffe3a480;
}

.art-mint {
  --art: linear-gradient(120deg,#16372f,#437c6a,#739f80);
  --stripe: #e3ffe378;
}

.art-rose {
  --art: linear-gradient(120deg,#842258,#c44d74,#de887d);
  --stripe: #ffddda88;
}

.art-graphite {
  --art: linear-gradient(130deg,#132336,#2f4052,#52667b);
  --stripe: #bddeeb69;
}

.art-midnight { --art:linear-gradient(118deg,#101e42 4%,#173768 63%,#494175 88%,#a9425b); --stripe:#a1c2ff69; }
.art-carbon { --art:linear-gradient(117deg,#13161c 4%,#2b313a 64%,#575f68); --stripe:#bec9d765; }
.art-sky { --art:linear-gradient(123deg,#2846ac,#4664d6 56%,#668cef); --stripe:#d7e9ff8a; }
.art-ruby { --art:linear-gradient(122deg,#771f34,#b1293d 60%,#e16462); --stripe:#ffd2ba7a; }
.art-azure { --art:linear-gradient(120deg,#193b70,#2169ab 57%,#46a3d4); --stripe:#c3efff9a; }
.art-ocean { --art:linear-gradient(115deg,#0e4264,#07678c 58%,#2b9ab8); --stripe:#d2fbff9c; }
.finish-ribbon .art-orbit {
  inset:-65% -72% -100% 11%;
  transform:rotate(-39deg);
  background:repeating-radial-gradient(ellipse at 82% 39%,transparent 0 7%,var(--stripe) 7.3% 7.9%,transparent 8.1% 10%);
}
.finish-folds .art-orbit {
  inset:0 -12% 0 26%;
  border-radius:0;
  transform:skewX(-24deg);
  background:repeating-linear-gradient(104deg,transparent 0 12%,var(--stripe) 12.3% 12.8%,#ffffff0b 13% 24%);
}
.finish-tide .art-orbit {
  inset:20% -65% -110% -26%;
  transform:rotate(-8deg);
  background:repeating-radial-gradient(ellipse at 75% 25%,transparent 0 5%,var(--stripe) 5.2% 5.8%,transparent 6% 8%);
}

.art-xl {
  width: min(100%,335px);
  border-radius: 17px;
  container-type: inline-size;
}

.art-xl .art-name {
  font-size: clamp(8px,10.5cqw,32px);
}

.art-xl .art-chip { min-height:0; }
.art-xl .art-stripes i,.art-xl .art-stripes b {
  width: clamp(7px,8cqw,24px);
  height: clamp(7px,8cqw,24px);
}

.art-xl .art-stripes b {
  margin-left: -3cqw;
}

/* Comparison catalogue, forms and reference pages */
.catalog-controls { display:flex; align-items:center; gap:12px; justify-content:space-between; background:var(--paper); padding:11px 13px; border:1px solid var(--line); border-radius:16px; }
.quick-tabs { display:flex; gap:6px; flex-wrap:wrap; }
.quick-tabs button { display:inline-flex; align-items:center; gap:6px; min-height:38px; padding:8px 13px; border-radius:10px; border:0; background:var(--surface-soft); color:var(--ink); font-weight:570; font-size:14px; white-space:nowrap; }
.quick-tabs button:hover { background:var(--surface-hover); }
.quick-tabs button[aria-pressed="true"] { color:var(--on-selected); background:var(--selected); }
.filter-toggle { flex:none; min-height:38px; }
.filter-box { margin-top:10px; padding:20px 23px; }
.js .filter-box:not(.is-open) { display:none; }
.filter-line h3 { font-size:19px; }
.filter-fields { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:16px; margin-top:12px; }
.field { display:grid; gap:6px; min-width:0; }
.field>span:first-child,.filter-group legend,.compare-picks label { font-size:13px; font-weight:600; }
.filter-group { margin:14px 0 0; padding:0; border:0; display:flex; flex-wrap:wrap; gap:7px 18px; }
.filter-group legend { margin-bottom:5px; padding:0; }
.check-line { display:flex; align-items:center; gap:7px; font-size:14px; cursor:pointer; min-height:30px; }
.check-line input { accent-color:var(--action); width:17px; height:17px; margin:0; }
.catalog-sort { margin:13px 2px 10px; color:var(--muted); font-size:14px; }
.catalog-sort b { font-variant-numeric:tabular-nums; color:var(--ink); }
.sort-line { display:flex; align-items:center; gap:5px; color:var(--muted); }
.sort-line .select { min-height:34px; width:auto; background:transparent; border:0; font-size:14px; padding:3px; }
.offers { display:grid; gap:10px; }
.offer { display:grid; grid-template-columns:118px minmax(155px,1.12fr) minmax(310px,1.5fr) 128px; align-items:center; gap:clamp(15px,2vw,30px); padding:20px 24px; min-height:133px; box-shadow:var(--shadow); }
.offer:hover { border-color:var(--line-accent); }
.offer .card-art { width:100%; max-width:130px; }
.offer-provider { font-size:13px; color:var(--muted); font-weight:560; overflow-wrap:anywhere; }
.offer h3 { font-size:clamp(17px,1.55vw,22px); margin:3px 0; }
.offer h3 a { color:var(--ink); }
.offer h3 a:hover { color:var(--blue); }
.offer-network,.format-label,.tag { display:inline-flex; align-items:center; padding:3px 8px; color:var(--muted); background:var(--surface-soft); border-radius:6px; font-size:11px; line-height:1.4; font-weight:580; }
.offer-network { margin-top:4px; }
.facts-strip { display:grid; grid-template-columns:1fr 1fr .9fr; gap:10px; }
.facts-strip dt { color:var(--muted); font-size:12px; margin-bottom:3px; }
.facts-strip dd { font-weight:650; font-size:16px; line-height:1.26; font-variant-numeric:tabular-nums; overflow-wrap:anywhere; }
.price-note { display:block; color:var(--muted); font-size:11px; font-weight:500; margin-top:3px; }
.offer-actions { display:flex; gap:4px; flex-direction:column; align-items:stretch; }
.offer-actions .compare-toggle { color:var(--muted); padding:6px 3px; min-height:32px; font-size:12px; background:transparent; }
.offer-actions .compare-toggle:is(:hover,[aria-pressed="true"]) { color:var(--blue); background:var(--tint); }
.more { margin:15px auto 0; display:flex; width:100%; border:1px solid var(--line); min-height:44px; background:var(--paper); color:var(--blue); }
.empty { background:var(--paper); border:1px solid var(--line); border-radius:16px; text-align:center; padding:27px; margin:14px 0; }
.empty strong { font-size:19px; } .empty p { color:var(--muted); margin:5px 0 13px; }
.qa { background:var(--paper); border:1px solid var(--line); border-radius:var(--radius); overflow:hidden; margin-top:15px; }
.qa details { padding:0 22px; } .qa details+details { border-top:1px solid var(--soft-line); }
.qa summary { display:flex; align-items:center; justify-content:space-between; gap:16px; min-height:62px; cursor:pointer; font-weight:610; padding:12px 0; }
.qa summary::-webkit-details-marker,.material-contents>summary::-webkit-details-marker { display:none; }
.qa details[open] summary .icon,.material-contents[open]>summary .icon { transform:rotate(180deg); }
.qa details p { margin:0 0 18px; color:var(--muted); max-width:82ch; }

.page-intro { margin:8px 0 23px; max-width:930px; }
.page-intro p,.lead { max-width:76ch; line-height:1.55; }
.view-landing:not([data-zone="home"],[data-zone="materialy"]) .page-intro { position:relative; isolation:isolate; overflow:hidden; background:linear-gradient(110deg,var(--hero-start),var(--hero-end)); border:1px solid var(--line); border-radius:22px; max-width:none; padding:32px max(17%,140px) 32px var(--pad); }
.view-landing .page-intro::after { content:""; position:absolute; z-index:-1; right:4%; top:50%; transform:translateY(-50%); width:100px; height:100px; background:url('/assets/topic-art.webp') no-repeat; background-size:300% 300%; background-position:var(--directory-art,50% 0); }
[data-zone="podborki"] { --directory-art:50% 0; } [data-zone="servisy"] { --directory-art:0 0; } [data-zone="guides"] { --directory-art:0 100%; }
[data-zone="sravnenie"] { --directory-art:100% 0; } [data-zone="esim"] { --directory-art:50% 50%; } [data-zone="poezdki"] { --directory-art:0 50%; }
[data-zone="platezhnye-agenty"] { --directory-art:100% 50%; } [data-zone="data"] { --directory-art:100% 100%; }
[data-zone="metodika"],[data-zone="biblioteka"] { --directory-art:50% 100%; }
.panel,.helper-panel { padding:var(--pad); }
.panel h2,.helper-panel h2 { font-size:clamp(21px,1.9vw,27px); }
.panel h3 { font-size:19px; }
.panel p+p { margin-top:9px; }
.detail-hero { background:linear-gradient(115deg,var(--hero-start),var(--hero-end)); border:1px solid var(--line); border-radius:23px; padding:clamp(24px,4vw,48px); display:grid; grid-template-columns:minmax(0,1fr) minmax(170px,28%); align-items:center; gap:32px; }
.detail-head .overline { display:block; font-size:14px; font-weight:650; color:var(--blue); margin-bottom:6px; letter-spacing:normal; line-height:1.4; }
.detail-head h1 { font-size:clamp(34px,3.5vw,53px); }
.detail-hero>.art-xl { max-width:300px; width:100%; justify-self:center; transform:rotate(-6deg); }
.detail-actions { display:flex; flex-wrap:wrap; gap:9px; margin-top:19px; }
.detail-actions .btn { background:var(--paper); }
.detail-grid { display:grid; grid-template-columns:minmax(0,1.75fr) minmax(240px,1fr); gap:18px; margin:20px 0; align-items:start; }
.specs,.prose table { width:100%; border-collapse:collapse; line-height:1.42; font-variant-numeric:tabular-nums; }
.specs { margin-top:12px; }
.specs :is(td,th),.prose :is(td,th) { padding:12px 14px; vertical-align:top; border-bottom:1px solid var(--soft-line); text-align:left; }
.specs thead th,.prose thead th { background:var(--table-head); color:var(--link-strong); font-weight:650; }
.specs tbody th { width:43%; color:var(--muted); font-size:14px; font-weight:530; }
.specs td { font-weight:550; }
.specs caption,.prose caption { text-align:left; color:var(--muted); font-size:13px; padding:3px 0 12px; }
.specs tr:last-child>* { border-bottom:0; }
.source-list { list-style:none; padding:0; margin:12px 0; }
.source-list li+li { margin-top:8px; }
.ref-num,.evidence-link { color:var(--blue); font-size:12px; }
.evidence-link { white-space:nowrap; }
.pillset,.related-links,.data-actions { display:flex; align-items:center; flex-wrap:wrap; gap:8px; margin-top:13px; }
.tag,.pill-link,.related-links a { border-radius:8px; }
.tag { font-size:13px; padding:6px 10px; } .tag.linked { color:var(--blue); }
.related-links a { background:var(--surface-accent); color:var(--blue); font-size:14px; padding:8px 12px; }
.page-stack>*+*,.source-records>*+* { margin-top:12px; }
.table-scroll,.article-table { display:block; max-width:100%; overflow-x:auto; }
.comparison { min-width:555px; margin:18px 0 0; }
.comparison th,.comparison td { min-width:145px; }
.comparison tbody th { width:auto; }
.comparison th:first-child { position:sticky; left:0; z-index:1; background:var(--surface-soft); }
.comparison tbody tr:nth-child(even)>td { background:var(--surface-raised); }
.compare-picks { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:12px; }
.compare-picks label .select { margin-top:6px; }
#compare-result>p { padding-top:17px; color:var(--muted); }
.archive-bar { display:flex; align-items:center; gap:9px; flex-wrap:wrap; margin:18px 0; }
.archive-bar .search-field { flex:1; min-width:min(260px,100%); }
.archive-bar .select { width:auto; max-width:100%; }
.list-wrap,.directory-groups,.source-records { display:grid; gap:8px; }
.dir-row { display:flex; align-items:center; justify-content:space-between; gap:14px; color:var(--ink); border:1px solid var(--line); background:var(--paper); border-radius:13px; padding:13px 17px; }
.dir-row:hover { text-decoration:none; border-color:var(--line-accent); }
.dir-row>span { min-width:0; }
.dir-row>span small,.dir-row .row-title { display:block; }
.dir-row b { font-size:15px; font-weight:640; overflow-wrap:anywhere; }
.dir-row .row-title { font-size:15px; line-height:1.4; }
.directory-groups { gap:17px; }
.library-group { background:var(--paper); padding:20px 22px; border:1px solid var(--line); border-radius:var(--radius); }
.library-group h2 { margin-bottom:8px; font-size:22px; }
.library-group h2 small,.count,.filter-count { display:inline-block; border-radius:7px; background:var(--surface-soft); color:var(--muted); padding:3px 7px; font-size:12px; font-weight:600; vertical-align:middle; }
.library-group .list-wrap { gap:0; }
.library-group .dir-row { border:0; border-top:1px solid var(--soft-line); border-radius:0; padding:11px 0; }
.library-group .dir-row:hover { background:var(--surface-raised); }
.source-document { overflow-wrap:anywhere; }
.source-document h2 { margin:5px 0 12px; }
.source-document[id] { scroll-margin-top:18px; }
.source-document:target { border-color:var(--line-accent); box-shadow:0 0 0 2px var(--line-accent); }
.original,.topics,.vertical-guide,.org-cards { margin:12px 0; }
.source-document .original,.directory-page-nav { display:flex; flex-wrap:wrap; align-items:center; gap:9px 16px; }
.source-host { color:var(--muted); font-size:13px; }
.method-stats { display:grid; grid-template-columns:repeat(auto-fit,minmax(135px,1fr)); gap:10px; margin:16px 0; }
.method-stats div { background:var(--paper); border:1px solid var(--line); border-radius:17px; padding:17px; }
.method-stats dd { font-size:30px; font-weight:700; letter-spacing:-.045em; }
.method-stats dt { color:var(--muted); font-size:13px; }
.data-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
.data-grid h2 { font-size:22px; }
.data-grid p { margin-top:9px; color:var(--muted); }
.helper-panel { margin:16px 0; }
.topic-teasers { padding-left:20px; margin:15px 0; } .topic-teasers li+li { margin-top:7px; }
.material-facts,.service-matches { min-width:490px; }
.vertical-guide a { display:inline-flex; align-items:center; gap:8px; }

/* Reading and the full-text directory */
.article-shell:not(.material-article),.guide-shell { max-width:900px; margin-inline:auto; }
.article-head { padding:11px 0 23px; }
.article-head h1 { max-width:25ch; }
.article-head>p { color:var(--muted); margin-top:12px; }
.article-note,.inline-source { color:var(--muted); font-size:14px; margin-top:10px; }
.material-head { border-radius:22px; padding:clamp(22px,3vw,39px); background:linear-gradient(100deg,var(--paper),var(--surface-accent)); border:1px solid var(--line); margin-bottom:16px; }
.reader-meta { display:flex; align-items:center; flex-wrap:wrap; gap:8px 17px; margin-bottom:15px; }
.article-section-link { display:inline-flex; align-items:center; gap:6px; font-size:13px; font-weight:600; background:var(--tint); padding:6px 10px; border-radius:8px; }
.material-head h1 { max-width:34ch; font-size:clamp(34px,3.2vw,49px); line-height:1.12; overflow-wrap:anywhere; }
.reader-columns { max-width:920px; margin-inline:auto; }
.reader-columns.has-rail { max-width:none; display:grid; grid-template-columns:minmax(0,1fr) minmax(244px,27%); grid-template-areas:"main rail"; gap:18px; align-items:start; }
.reader-main,.directory-main { min-width:0; }
.reader-main { grid-area:main; }
.reader-rail { grid-area:rail; display:grid; align-content:start; gap:10px; position:sticky; top:16px; max-height:calc(100vh - 28px); overflow:auto; scrollbar-width:thin; }
.material-contents { border:1px solid var(--line); border-radius:15px; background:var(--paper); min-width:0; }
.material-contents>summary { cursor:pointer; display:flex; align-items:center; justify-content:space-between; gap:12px; padding:14px 17px; list-style:none; color:var(--ink); font-weight:650; line-height:1.35; }
.material-contents>summary .icon { color:var(--subtle); }
.material-contents :is(ul,ol) { margin:0 14px 15px 16px; padding:0; list-style:none; }
.material-contents li { font-size:13px; line-height:1.45; overflow-wrap:anywhere; }
.material-contents li+li { margin-top:4px; }
.reader-toc ol { border-left:2px solid var(--line); padding-left:12px; max-height:39vh; overflow:auto; scrollbar-width:thin; }
.reader-toc a,.official-materials a { display:block; padding:4px 0; }
.reader-toc a { color:var(--muted); }
.reader-toc a[aria-current="location"] { color:var(--blue); font-weight:650; }
.material-addresses { margin-top:13px; }
.material-addresses li { overflow-wrap:anywhere; padding:3px; }
.material-addresses li:target { background:var(--tint); }
.official-materials ul { max-height:35vh; overflow:auto; }
.prose { font-size:16px; line-height:1.64; overflow-wrap:anywhere; }
.prose :where(p,ul,ol,dl,blockquote,figure,pre)+:where(p,ul,ol,dl,blockquote,figure,pre) { margin-top:.75em; }
.prose :is(ul,ol) { padding-left:1.4em; margin-block:.7em; }
.prose li+li { margin-top:.28em; }
.prose h2,.prose h3,.prose h4,.prose h5 { margin:1.5em 0 .5em; color:var(--ink); line-height:1.24; }
.prose h2 { font-size:clamp(22px,2vw,29px); letter-spacing:-.038em; }
.prose h3 { font-size:clamp(18px,1.65vw,22px); }
.prose h2:first-child,.prose h3:first-child { margin-top:0; }
.prose details { border:1px solid var(--line); background:var(--surface-raised); margin:10px 0; padding:11px 14px; border-radius:12px; }
.prose summary { font-weight:600; color:var(--link-strong); cursor:pointer; }
.prose details[open]>summary { margin-bottom:8px; }
.prose details details { background:var(--paper); }
.prose blockquote { margin:16px 0; border-left:3px solid var(--line-accent); padding:10px 16px; background:var(--surface-accent); border-radius:0 8px 8px 0; }
.prose pre { max-width:100%; padding:14px; border-radius:10px; font-size:13px; line-height:1.5; white-space:pre-wrap; overflow-wrap:anywhere; background:var(--surface-soft); }
.prose img { max-width:100%; height:auto; vertical-align:middle; }
.prose figure img { max-height:550px; width:auto; border-radius:12px; }
.prose figcaption { font-size:13px; color:var(--muted); }
.material-text { padding:clamp(20px,3vw,40px); min-width:0; }
.material-text :is(p,li,dd) { max-width:83ch; }
.material-text .native-trail { margin:0 0 20px; color:var(--muted); font-size:13px; line-height:1.55; }
.native-trail a { color:var(--muted); text-decoration:underline; text-decoration-color:#c9d5df; text-underline-offset:3px; }
.native-trail a:hover { color:var(--blue); }
.material-text #part-service-title:has(img) { margin-bottom:9px; }
.material-text #part-service-title + p { margin-bottom:12px; font-size:1.055em; }
.material-text ul:has(>li>img:first-child+span+b) { padding:0; margin:.55em 0 1.2em; border:1px solid var(--line); border-radius:13px; overflow:hidden; list-style:none; }
.material-text ul:has(>li>img:first-child+span+b)>li { max-width:none; display:flex; align-items:center; flex-wrap:wrap; gap:5px 9px; margin:0; padding:9px 13px; background:var(--surface-raised); }
.material-text ul:has(>li>img:first-child+span+b)>li+li { border-top:1px solid var(--line); }
.material-text ul:has(>li>img:first-child+span+b)>li>b { margin-left:auto; }
.material-text :is(section,article)+:is(section,article) { margin-top:26px; }
.material-text h2[id],.material-text h3[id] { scroll-margin:16px; }
.material-text div>span+span,.material-text li>span+b,.material-text div>a+span,.material-text s+b { margin-left:.3em; }
.material-text dl { display:grid; gap:3px; padding:12px 14px; margin:.8em 0; border:1px solid var(--soft-line); border-radius:12px; background:var(--surface-raised); }
.material-text dl>div:has(dt):has(dd) { display:flex; flex-wrap:wrap; justify-content:space-between; gap:5px 12px; padding:4px 0; }
.material-text dt { color:var(--muted); } .material-text dd { font-weight:570; }
.article-table { margin:15px 0; border:1px solid var(--line); border-radius:12px; }
.article-table table { margin:0; width:max-content; min-width:100%; max-width:none; font-size:14px; }
.article-table td,.article-table th { min-width:85px; max-width:370px; }
.article-table tr:nth-child(even)>td { background:var(--surface-raised); }
.article-table caption { padding:10px 14px; background:var(--surface-raised); }
.article-end { margin:20px 0 3px; }
.topic-heading { display:flex; align-items:center; justify-content:space-between; gap:16px; padding:25px var(--pad); background:var(--wash); border:1px solid var(--pale); border-radius:22px; margin:0 0 18px; }
.topic-heading .topic-art { width:88px; }
.topic-heading h1 { font-size:clamp(32px,3vw,46px); }
.directory-layout { display:grid; grid-template-columns:minmax(0,1fr) minmax(220px,25%); gap:18px; align-items:start; }
.topic-side { padding:19px; position:sticky; top:16px; }
.topic-side h2 { font-size:19px; margin-bottom:10px; }
.topic-side nav { display:grid; gap:2px; }
.topic-side a { display:flex; align-items:center; gap:9px; padding:9px 10px; border-radius:8px; color:var(--muted); font-size:14px; }
.topic-side a[aria-current],.topic-side a:hover { background:var(--tint); color:var(--blue); text-decoration:none; }
.material-list { list-style:none; border:1px solid var(--line); padding:0; margin:13px 0; border-radius:17px; background:var(--paper); overflow:hidden; }
.material-list li+li { border-top:1px solid var(--soft-line); }
.material-list a { display:block; color:var(--ink); position:relative; padding:18px 46px 18px 22px; }
.material-list a:hover { background:var(--surface-accent); text-decoration:none; }
.material-list h3 { font-size:18px; font-weight:650; line-height:1.35; }
.material-list p { margin-top:4px; color:var(--muted); font-size:14px; display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; }
.material-list small { font-size:12px; font-weight:600; color:var(--blue); display:block; margin-bottom:3px; }
.material-list a>.icon { position:absolute; right:19px; top:50%; transform:translateY(-50%); color:var(--muted); }
.pages { display:flex; flex-wrap:wrap; align-items:center; gap:5px; margin-top:16px; }
.pages a,.pages span { display:grid; place-items:center; min-width:36px; min-height:36px; border:1px solid var(--line); color:var(--blue); background:var(--paper); border-radius:9px; font-weight:600; font-size:13px; }
.pages span { background:var(--action); color:white; border-color:var(--action); }
#material-results { margin:22px 0; }
#material-status { padding:3px; font-size:15px; color:var(--muted); }

/* Adaptive layouts */
@media (min-width:1500px) {
  .home-hero { min-height:322px; }
  .hub-hero { min-height:290px; }
}
@media (max-width:1100px) {
  .shell { width:calc(100% - 48px); }
  .head-inner { gap:24px; }
  .head-actions { gap:14px; }
  .main-nav { gap:22px; }
  .main-nav a { font-size:13px; }
  .offer { grid-template-columns:97px minmax(128px,1fr) minmax(256px,1.4fr) 110px; padding:17px; gap:15px; }
  .topic-entry { padding:16px; min-height:144px; }
  .topic-entry .topic-copy { width:calc(100% - 70px); }
  .topic-entry .topic-art { width:78px; right:4px; }
  .hub-copy { width:70%; }
  .guide-feature { padding:15px; gap:7px; grid-template-columns:42px minmax(0,1fr) auto; }
  .guide-feature .topic-art { width:42px; }
  .shortcut { font-size:14px; }
  .shortcut .topic-art { width:46px; }
}
@media (max-width:850px) {
  .shell { width:calc(100% - 36px); }
  .head-sources { display:none; }
  .head-inner { height:60px; }
  .main-nav { gap:19px; min-height:43px; overflow-x:auto; scrollbar-width:thin; }
  .home-hero { min-height:245px; }
  .hero-body,.hub-copy { padding:26px; }
  .hero-illustration { width:38%; right:1%; }
  .shortcut-grid { grid-template-columns:repeat(2,minmax(0,1fr)); gap:9px; }
  .shortcut { min-height:61px; }
  .hub-hero { min-height:230px; }
  .hub-copy { width:75%; }
  .hub-illustration { width:28%; right:.5%; height:84%; top:3%; }
  .hub-copy .select { max-width:139px; }
  .topic-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .topic-entry .topic-copy { width:calc(100% - 76px); }
  .topic-entry .topic-art { width:86px; right:7px; }
  .topic-entry { min-height:133px; }
  .catalog-controls { align-items:flex-start; }
  .quick-tabs { gap:5px; }
  .quick-tabs button { padding:7px 10px; font-size:13px; }
  .offer { grid-template-columns:88px minmax(140px,1fr) 115px; grid-template-areas:"art name action" "art facts action"; row-gap:6px; }
  .offer>.card-art { grid-area:art; }
  .offer-body { grid-area:name; }
  .offer-actions { grid-area:action; }
  .offer .facts-strip { grid-area:facts; max-width:400px; }
  .offer-network { display:none; }
  .facts-strip dd { font-size:15px; }
  .guide-features { grid-template-columns:1fr; gap:7px; }
  .guide-feature { min-height:68px; grid-template-columns:48px minmax(0,1fr) 20px; }
  .guide-feature .topic-art { width:48px; }
  .reader-columns.has-rail { grid-template-columns:minmax(0,1fr) 212px; gap:12px; }
  .directory-layout { grid-template-columns:minmax(0,1fr) 185px; gap:12px; }
  .topic-side { padding:13px; }
  .topic-side a { padding:8px 5px; }
  .detail-grid { grid-template-columns:minmax(0,1.5fr) minmax(190px,1fr); }
  .compare-picks { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .foot-inner { gap:20px; }
}
@media (max-width:650px) {
  :root { --pad:18px; --radius:15px; }
  .shell { width:calc(100% - 28px); }
  main.shell { padding-bottom:34px; }
  .js .top { position:sticky; top:0; }
  .head-inner { height:56px; gap:8px; }
  .brand { width:clamp(146px,42vw,174px); }
  .head-inner .brand { width:clamp(164px,46vw,188px); }
  .mast-search { display:none; }
  .head-actions { gap:1px; }
  .head-compare,.head-search-mobile,.menu-toggle,.theme-toggle { min-width:36px; height:38px; min-height:38px; border-radius:10px; }
  .head-compare,.head-search-mobile,.menu-toggle { display:inline-flex; }
  .theme-toggle { width:36px; }
  .menu-toggle { position:relative; }
  .menu-toggle>span {
    position:absolute; inset:0; display:grid; place-items:center; pointer-events:none;
    transition:opacity .18s ease,transform .18s ease;
  }
  .menu-toggle[aria-expanded="false"] .menu-icon-close,.menu-toggle[aria-expanded="true"] .menu-icon-open {
    opacity:0; transform:rotate(-20deg) scale(.8);
  }
  .head-compare { position:relative; padding:0; background:transparent; color:var(--ink); }
  .head-compare>span { display:none; }
  .head-compare b { position:absolute; top:1px; right:1px; min-width:15px; height:15px; font-size:10px; }
  .nav-band { border:0; }
  .js .nav-band {
    position:absolute; inset:100% 0 auto; background:var(--paper); border-bottom:1px solid var(--line);
    border-radius:0 0 15px 15px; box-shadow:var(--header-shadow);
    max-height:calc(100dvh - 58px); overflow:auto;
    opacity:0; visibility:hidden; pointer-events:none; transform:translateY(-6px);
    transition:opacity .18s ease,transform .21s ease,visibility 0s linear .21s;
  }
  .js .nav-band.open {
    opacity:1; visibility:visible; pointer-events:auto; transform:translateY(0); transition-delay:0s;
  }
  .main-nav { min-height:0; display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:3px 7px; padding:10px 0 13px; overflow:visible; }
  .nav-group>a { width:100%; }
  .main-nav a { font-size:14px; padding:11px 10px; border-radius:8px; white-space:normal; }
  .main-nav a:hover { background:var(--surface-accent); }
  .main-nav .active { background:var(--tint); }
  .main-nav .active::after { display:none; }
  html { scroll-padding-top:66px; }
  .crumbs { font-size:11px; padding:11px 0; gap:3px 6px; }
  .hero,.hub-hero { border-radius:17px; }
  .home-hero { min-height:208px; margin:13px 0 10px; }
  .hero-body { padding:21px 17px; width:100%; }
  .hero h1,.hub-hero h1 { font-size:clamp(30px,7.5vw,43px); }
  .hero p,.hub-copy>p { font-size:14px; line-height:1.45; margin-top:9px; }
  .home-hero h1 { font-size:clamp(28px,7.2vw,40px); max-width:95%; }
  .home-hero p { max-width:38ch; }
  .hero-illustration { width:26%; height:78px; right:0; bottom:3px; opacity:.28; }
  .hero-actions { gap:6px; margin-top:14px; }
  .hero-actions .btn { min-height:37px; padding:7px 11px; font-size:12px; }
  .hero-actions .btn .icon { width:14px; }
  .shortcut { padding:7px 8px; gap:6px; border-radius:12px; min-height:53px; }
  .shortcut .topic-art { width:36px; }
  .shortcut>.icon { width:12px; }
  .hub-hero { min-height:0; display:block; }
  .hub-copy { width:100%; padding:20px 17px 15px; }
  .hub-copy h1,.hub-copy>p { max-width:71%; }
  .hub-illustration { width:30%; top:8px; right:2px; height:104px; }
  .hub-copy .material-search { margin-top:18px; position:relative; z-index:1; flex-wrap:wrap; background:none; border:0; box-shadow:none; padding:0; gap:6px; }
  .hub-copy .material-search .search-field { flex:1 1 100%; border:1px solid var(--line); border-radius:10px; }
  .hub-copy .select { flex:1; width:auto; max-width:none; min-height:39px; border-radius:10px; border:1px solid var(--line); }
  .hub-copy .btn { min-height:39px; padding-inline:20px; }
  .portal-section,.block,.collection-band,.home-faq { margin-top:24px; }
  .section-head { margin-bottom:12px; }
  .section-head>a { font-size:12px; }
  h2,.section-heading { font-size:24px; }
  .section-head p { font-size:13px; margin-top:4px; }
  .topic-grid { gap:8px; }
  .topic-entry { align-items:flex-start; min-height:125px; padding:13px 12px; border-radius:14px; }
  .topic-entry h3 { font-size:16px; line-height:1.2; }
  .topic-entry p { display:none; }
  .topic-entry .topic-copy { width:100%; }
  .topic-entry small { margin-top:7px; font-size:11px; }
  .topic-entry .topic-art { width:59px; right:4px; bottom:1px; }
  .guide-feature h3 { font-size:15px; }
  .catalog-date { font-size:11px; }
  .catalog-date .icon { display:none; }
  .catalog-controls { display:grid; gap:6px; padding:8px; border-radius:12px; }
  .quick-tabs { flex-wrap:nowrap; min-width:0; overflow:auto; scrollbar-width:thin; padding-bottom:2px; }
  .quick-tabs button { min-height:35px; }
  .filter-toggle { justify-self:start; padding:7px 10px; min-height:35px; }
  .filter-box { padding:14px; }
  .filter-fields { grid-template-columns:1fr; gap:10px; }
  .filter-group { display:grid; }
  .catalog-sort { margin:7px 1px; font-size:13px; }
  .sort-line .select { font-size:13px; }
  .offer { grid-template-columns:74px minmax(0,1fr); grid-template-areas:"art name" "facts facts" "action action"; gap:12px; padding:15px; min-height:0; }
  .offer .facts-strip { max-width:none; padding-top:11px; border-top:1px solid var(--soft-line); }
  .facts-strip dt { font-size:11px; }
  .offer h3 { font-size:18px; }
  .offer-provider { font-size:12px; }
  .offer-actions { flex-direction:row; align-items:center; gap:8px; }
  .offer-actions .btn { flex:1; min-height:38px; }
  .offer-actions .compare-toggle { padding-inline:8px; min-height:38px; }
  .entry-grid:not(.topic-grid),.data-grid { grid-template-columns:1fr; gap:9px; }
  .entry { padding:16px; display:grid; grid-template-columns:39px minmax(0,1fr); column-gap:12px; }
  .entry>.icon-tile { grid-row:1/3; width:39px; height:39px; }
  .entry h3,.entry h2 { margin:0 0 3px; font-size:17px; }
  .entry p { grid-column:2; }
  .home-search-band { display:block; padding:18px; }
  .home-search-band form { width:100%; margin-top:12px; }
  .home-search-band p { font-size:14px; }
  .qa details { padding:0 15px; }
  .qa summary { font-size:15px; min-height:54px; }
  .page-intro { margin:6px 0 15px; }
  .view-landing:not([data-zone="home"],[data-zone="materialy"]) .page-intro { padding:21px 18px; border-radius:16px; }
  .view-landing .page-intro::after { width:50px; height:50px; right:11px; top:17px; transform:none; }
  .view-landing .page-intro h1 { padding-right:48px; }
  .page-intro h1 { font-size:31px; }
  .page-intro p,.lead,.topic-heading p { font-size:14px; }
  .detail-hero { grid-template-columns:minmax(0,1fr); position:relative; padding:21px 17px; gap:8px; }
  .detail-head { position:relative; z-index:1; }
  .detail-head .overline { max-width:70%; }
  .detail-head h1 { max-width:74%; font-size:30px; }
  .detail-hero>.art-xl { position:absolute; right:12px; top:23px; width:21%; border-radius:clamp(7px,1.8vw,13px); }
  .detail-grid { grid-template-columns:1fr; gap:11px; }
  .specs th,.specs td,.prose th,.prose td { padding:9px 10px; font-size:13px; }
  .panel h2,.helper-panel h2 { font-size:21px; }
  .archive-bar { gap:6px; }
  .archive-bar .search-field { flex-basis:100%; }
  .library-group { padding:15px; }
  .dir-row { padding:11px; }
  .reader-columns.has-rail,.directory-layout { display:flex; flex-direction:column; gap:12px; }
  .reader-rail,.reader-main,.directory-main { width:100%; min-width:0; }
  .reader-rail { position:static; max-height:none; overflow:visible; gap:6px; }
  .reader-rail .btn { justify-self:start; min-height:35px; font-size:13px; padding:6px 10px; }
  .material-head { border-radius:15px; padding:18px 15px; margin-bottom:10px; }
  .material-head h1 { font-size:clamp(28px,6.5vw,38px); }
  .reader-meta { gap:6px 10px; margin-bottom:10px; }
  .reader-date,.article-section-link { font-size:11px; }
  .article-section-link { padding:5px 8px; }
  .material-contents { border-radius:11px; }
  .material-contents>summary { padding:10px 13px; font-size:14px; }
  .reader-toc ol { max-height:40vh; }
  .material-text { padding:17px 15px; font-size:15px; line-height:1.62; }
  .material-text h2[id],.material-text h3[id],.source-document[id] { scroll-margin:70px; }
  .material-text :is(section,article)+:is(section,article) { margin-top:17px; }
  .material-text dl { padding:9px; }
  .material-list a { padding:13px 35px 13px 14px; }
  .material-list h3 { font-size:16px; }
  .material-list p { font-size:13px; }
  .material-list a>.icon { right:10px; }
  .topic-side { position:static; width:100%; }
  .topic-side nav { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .topic-heading { padding:16px; border-radius:14px; }
  .topic-heading .topic-art { width:55px; }
  .topic-heading h1 { font-size:28px; }
  .foot-inner { grid-template-columns:1fr 1fr; padding:25px 0; gap:20px 16px; }
  .foot-inner p,.foot-inner nav a { font-size:13px; }
  .foot-inner nav { gap:6px; }
}
@media (max-width:365px) {
  .shell { width:calc(100% - 20px); }
  .head-inner { gap:4px; }
  .head-inner .brand { width:min(168px,calc(100vw - 164px)); }
  .head-compare,.head-search-mobile,.menu-toggle,.theme-toggle { min-width:34px; }
  .theme-toggle { width:34px; }
  .hero-actions .btn { padding-inline:8px; }
  .shortcut { font-size:12px; }
  .hub-illustration { width:23%; }
  .hub-copy h1,.hub-copy>p { max-width:78%; }
  .topic-entry { min-height:122px; }
  .catalog-date { max-width:82px; text-align:right; }
  .guide-feature { padding:11px; }
  .facts-strip dd { font-size:14px; }
  .compare-picks { gap:7px; }
}
@media (prefers-reduced-motion:reduce) {
  *,*::before,*::after { scroll-behavior:auto !important; transition:none !important; }
}
@media print {
  .top,.footer,.quick-tabs,.hero-actions,.reader-rail,.snack,.head-actions,.catalog-controls,.filter-box,.menu-toggle { display:none !important; }
  .shell { width:100%; }
  .reader-columns.has-rail { display:block; }
  body { background:white; }
}
