.tb-picker,.tb-picker *{box-sizing:border-box}.tb-picker{max-width:var(--wp--style--global--content-size,680px);margin:clamp(18px,3vw,32px) auto 0;padding:0 16px;font:inherit;color:#192536}.tb-picker fieldset{min-width:0;margin:0;padding:14px 18px 16px;border:1px solid #c8d3e2;border-radius:14px;background:#f7f9fc}.tb-picker legend{padding:0 6px;font-size:1rem;font-weight:600}.tb-options{display:flex;flex-wrap:wrap;align-items:center;gap:8px 10px}.tb-options label{display:inline-flex;align-items:center;gap:8px;cursor:pointer;font-size:1rem;min-height:36px;padding:3px 10px;border-radius:8px}.tb-options label:has(:checked){background:#dfebff;color:#183d76}.tb-options input{width:18px;height:18px;margin:0;accent-color:#254e82}.tb-options button{font:inherit;font-size:.9rem;border:0;background:transparent;color:#254e82;text-decoration:underline;cursor:pointer;min-height:36px}.tb-picker:not(:has(:checked)) button{display:none}.tb-empty{display:none}.tb-country-group{margin:2rem 0}.tb-country-group h2{font-size:clamp(1.5rem,3vw,2rem)}.tb-country-group h3{font-size:1.15rem;margin:1.2em 0 .4em}.tb-country-group ul{padding-left:1.35em;margin:.45em 0 1.4em}.tb-country-group li{margin:.55em 0;line-height:1.45}body:has(.tb-picker :checked) .tb-country-group{display:none}body:has(.tb-picker :checked) .tb-empty{display:block}.tb-picker + .tb-empty{margin-inline:auto}body:has(#tb-country-ru:checked) .tb-country-group[data-country~="ru"]{display:block}body:has(#tb-country-ru:checked):has(.tb-country-group[data-country~="ru"]) .tb-empty{display:none}body:has(#tb-country-kz:checked) .tb-country-group[data-country~="kz"]{display:block}body:has(#tb-country-kz:checked):has(.tb-country-group[data-country~="kz"]) .tb-empty{display:none}body:has(#tb-country-by:checked) .tb-country-group[data-country~="by"]{display:block}body:has(#tb-country-by:checked):has(.tb-country-group[data-country~="by"]) .tb-empty{display:none}body:has(#tb-country-us:checked) .tb-country-group[data-country~="us"]{display:block}body:has(#tb-country-us:checked):has(.tb-country-group[data-country~="us"]) .tb-empty{display:none}

.tb-section-main{max-width:var(--wide);min-height:65vh;padding-top:clamp(26px,4vw,62px)}
.tb-picker{padding:0;max-width:100%;margin:0 0 18px}
.tb-picker fieldset{border:1px solid #d9e3fb;background:#f3f6ff;border-radius:16px;padding:5px 12px 9px}
.tb-picker legend{color:var(--ink);font-weight:700;padding:0 6px}
.tb-picker .tb-options{gap:4px 6px}
.tb-options label{background:white;border:1px solid #dae3f3;border-radius:40px;padding:3px 10px;font-size:14px;font-weight:600;line-height:1.3;min-height:32px;gap:6px}
.tb-options label:has(:checked){background:#e4ebff;border-color:#7c9af4;color:#233e96}
.tb-options input{accent-color:var(--accent)}
.tb-picker:not(:has(:checked)) .tb-clear{display:none}
.tb-clear{font-size:14px;color:var(--accent);text-decoration:underline}
.header-inner{min-height:86px;padding-block:12px}.brand{flex-shrink:0}.nav{flex-wrap:wrap;justify-content:flex-end;gap:5px 17px}
.tb-section-main .page-hero { padding: 0; margin: 0 0 10px; }
.tb-section-main .page-hero h1 { font-size: clamp(1.5rem, 2vw, 1.875rem); line-height: 1.2; letter-spacing: -.025em; margin: 0; }
.tb-section-main .page-hero .tb-section-subtitle { font-size: clamp(.75rem, 1vw, .9375rem); line-height: 1.4; font-weight: 500; margin: 4px 0 0; color: var(--muted); }
.tb-section-main .page-content{margin-left:0;width:100%;max-width:820px}.tb-section-main .page-content h2{font-family:inherit;margin-top:1.2em}.tb-section-main .page-content h3{font-family:inherit;font-size:18px}.tb-country-group{border-top:1px solid var(--line);padding-top:3px}
.tb-section-main .page-content > .tb-country-group:not(.tb-source-document) > h2 { font-size: 1.25rem; margin: 1rem 0 .5rem; }
.tb-section-main details{border-top:1px solid var(--line);padding:1em 0}.tb-section-main summary{cursor:pointer;font-weight:600}.tb-section-main details p{margin-top:1em}
.tb-footer-row{display:flex;align-items:center;flex-wrap:wrap;gap:20px 50px}.tb-footer-row p{margin:0}
@media(max-width:800px){.nav{justify-content:flex-start}.header-inner{min-height:64px}.tb-section-main{padding-top:24px}.tb-picker fieldset{padding:4px 8px 8px}.tb-options label{min-height:34px;padding-inline:8px}}

.tb-picker .tb-field-topic { background: #f0f8f6; border-color: #cee4dc; margin-bottom: 7px; }
.tb-field-topic .tb-options label { border-color: #d3e4de; }
.tb-field-topic .tb-options label:has(:checked) { background: #e1f1ec; color: #204d40; border-color: #94bfae; }
.tb-picker .tb-options input { width: 15.3px; height: 15.3px; }
#primary-navigation > a::before { scale: .85; transform-origin: left center; }
.tb-picker .tb-clear { display: inline-block; margin-top: 8px; }
.tb-section-main [hidden] { display: none !important; }
.tb-catalog, .tb-section-main .tb-knowledge:has(> .tb-guide-fold) { max-width: 900px; }
.tb-alpha-list { padding-inline-start: 1.25rem; list-style: disc outside; margin: .5rem 0 2rem; }
.tb-alpha-list li { padding-inline-start: .25rem; margin: .55em 0; line-height: 1.5; }
.tb-alpha-list li::marker { color: var(--accent, #315dea); }
.tb-alpha-list a:hover, .tb-alpha-list a:focus-visible { text-decoration: underline; }
body:has(#tb-country-uz:checked) .tb-country-group[data-country~="uz"],
body:has(#tb-country-ae:checked) .tb-country-group[data-country~="ae"] { display: block; }
body:has(#tb-country-uz:checked):has(.tb-country-group[data-country~="uz"]) .tb-empty,
body:has(#tb-country-ae:checked):has(.tb-country-group[data-country~="ae"]) .tb-empty { display: none; }

.tb-tag-cloud { margin: .55rem 0 .85rem; color: var(--ink, #192536); }
.tb-tag-bar, .tb-cloud-items, .tb-case-tags { display: flex; flex-wrap: wrap; align-items: baseline; gap: .4rem .5rem; }
.tb-cloud-items { gap: 2px 4px; }
.tb-tag-bar { align-items: center; margin-bottom: .2rem; }
.tb-tag-cloud .tb-tag-title { margin: 0; font-size: .8125rem; font-weight: 600; }
.tb-tag-cloud button, .tb-case-tags button { font-family: inherit; cursor: pointer; }
.tb-cloud-tag, .tb-case-tags button { background: #f5f7ff; color: #29479e; border: 1px solid #d9e2fa; border-radius: 1rem; padding: .18rem .62rem; line-height: 1.5; }
.tb-cloud-tag { padding: 1px 5px; font-size: .75rem; line-height: 1.35; }
.tb-cloud-tag small { font-size: .6875rem; color: #4c5f83; }
.tb-case-tags button { font-size: .875rem; }
.tb-cloud-tag:hover, .tb-case-tags button:hover { border-color: #7792da; }
.tb-cloud-tag[aria-pressed="true"] { background: #294bbb; border-color: #294bbb; color: white; }
.tb-cloud-tag[aria-pressed="true"] small { color: white; }
.tb-tag-reset { background: none; border: 0; color: #29479e; font-size: .9rem; text-decoration: underline; }
.tb-case-tags { border-top: 1px solid #e1e6ef; padding-top: .7rem; margin-top: .85rem; }
.tb-section-main .tb-life-question[data-tb-case] > summary {
  border-width: 2px;
}
.tb-life-question[data-tb-case][open]:has(~ [data-tb-case]:not([hidden])) > .tb-life-answer > .tb-case-tags {
  padding-bottom: 16px;
}
.tb-case-tags > span { font-size: .875rem; font-weight: 600; margin-right: .25rem; }

.tb-section-main .tb-knowledge { max-width: 54rem; margin: .9rem 0 1.45rem; }
.tb-section-main .tb-knowledge h2 { margin: 0 0 .35rem; font-size: 1.16rem; line-height: 1.4; letter-spacing: normal; }
.tb-section-main .tb-knowledge > p { margin: .25rem 0 .65rem; font-size: 1rem; line-height: 1.55; }
.tb-section-main .tb-knowledge details { margin: 0; padding: .15rem 0; border: 0; border-bottom: 1px solid var(--line,#dce2ed); }
.tb-section-main .tb-knowledge summary { padding: .48rem 2.5rem .48rem .4rem; text-align: left; font-size: 1rem; line-height: 1.4; }
.tb-knowledge ul { margin: .2rem 0 .7rem; padding-inline-start: 1.6rem; }
.tb-knowledge li { margin: .4rem 0; font-size: 1rem; line-height: 1.55; }
.tb-knowledge li::marker { content: "—  "; color: var(--accent,#315dea); }

.tb-section-main .page-hero .tb-section-intro {
  max-width: 52rem; font-size: 1rem; line-height: 1.55; margin: .4rem 0 1rem;
}
.tb-section-main :is(.tb-case-collection, .tb-guide-fold) {
  margin: .65rem 0 1.25rem; padding: 0; border: 0;
}
.tb-section-main :is(.tb-case-collection, .tb-guide-fold) > summary {
  display: flex; align-items: center; position: relative; box-sizing: border-box;
  min-height: 46px; padding: .65rem 3.1rem .65rem 1.1rem;
  background: #f3f6ff; color: var(--ink,#192536); border: 1px solid #d9e3fb;
  border-radius: 2rem; cursor: pointer; list-style: none;
}
:is(.tb-case-collection, .tb-guide-fold) > summary::-webkit-details-marker { display: none; }
.tb-section-main :is(.tb-case-collection, .tb-guide-fold) > summary > :is(h1,h2,h3) {
  margin: 0; font-family: inherit; font-size: 1.08rem; line-height: 1.4; font-weight: 600; letter-spacing: normal;
}
.tb-section-main :is(.tb-case-collection, .tb-guide-fold) > summary::after {
  content: "+"; position: absolute; right: .9rem; top: 50%; transform: translateY(-50%);
  width: 1.6rem; height: 1.6rem; display: grid; place-items: center;
  border-radius: 50%; background: #fff; color: var(--accent,#315dea); font-size: 1.15rem;
}
.tb-section-main :is(.tb-case-collection, .tb-guide-fold)[open] > summary::after { content: "−"; }
.tb-section-main :is(.tb-case-collection, .tb-guide-fold) > summary:is(:focus-visible,:hover) { border-color: var(--accent,#315dea); }
.tb-section-main .tb-case-collection .tb-life-question:not([open]) > summary::after { content: "+"; }
.tb-section-main .tb-guide-fold { margin: .55rem 0; }
.tb-section-main .tb-guide-fold > summary { background: #f4f1fb; border-color: #e0d9ef; }
.tb-section-main .tb-guide-opportunities > summary { background: #edf7f3; border-color: #cfe6db; }
.tb-guide-topics { padding: .2rem .6rem .5rem; }
.tb-guide-fold .tb-guide-topic:not([open]) > summary::after { content: "+"; }
.tb-guide-term {
  padding: 0; border: 0; background: none; color: inherit; font: inherit;
  text-decoration: underline dotted var(--accent, #315dea); text-underline-offset: .2em; cursor: help;
}
.tb-guide-term:focus-visible { outline: 2px solid var(--accent, #315dea); outline-offset: 2px; }
.tb-guide-definition {
  display: none; box-sizing: border-box; width: min(21rem, calc(100% - 2rem)); padding: .7rem .9rem;
  border: 1px solid #d9e3fb; border-radius: .6rem; background: white;
  color: var(--ink, #192536); font-size: .9rem; line-height: 1.45; box-shadow: 0 3px 14px #1925361a;
}
.tb-guide-definition:popover-open { display: block; }
@supports (top: anchor(bottom)) {
  .tb-guide-definition {
    position-anchor: auto; inset: auto; margin: 0;
    top: anchor(bottom); left: clamp(1rem, anchor(left), calc(100% - min(21rem, 100% - 2rem) - 1rem));
    position-try-fallbacks: flip-block;
  }
}
.tb-inline-term { text-decoration: underline dotted; text-underline-offset: .18em; }
.nav .tb-inline-term { text-decoration: none; }
.tb-glossary-page { max-width: 58rem; }
.tb-glossary-letters { display: grid; gap: .4rem; margin: 1rem 0; }
.tb-glossary-letter-row { display: flex; flex-wrap: wrap; gap: .25rem; }
.tb-glossary-letters { grid-template-columns: minmax(0, 1fr); }
.tb-glossary-letter-row[aria-label="Цифры и латиница"] {
  flex-wrap: nowrap;
  column-gap: .1875rem;
  min-width: 0;
  overflow-x: auto;
}
.tb-glossary-letter-row[aria-label="Цифры и латиница"] > a {
  box-sizing: border-box;
  flex: 0 1 2rem;
  min-width: 1.5rem;
}
.tb-glossary-letter-row[aria-label="Цифры и латиница"] > a:focus-visible {
  outline-offset: -2px;
}
.tb-glossary-letters a { display: inline-grid; place-items: center; min-width: 2rem; min-height: 2rem; border-radius: .5rem; background: #f3f6ff; color: var(--accent,#315dea); }
.tb-glossary-page section[id] { scroll-margin-top: 7rem; }
.tb-glossary-page section h2 { margin: 1.5rem 0 .5rem; font-size: 1.4rem; }
.tb-glossary-page dt { font-weight: 650; margin: .7rem 0 .15rem; }
.tb-glossary-page dd { margin: 0; line-height: 1.5; }
.tb-glossary-page dd small { display: block; color: var(--muted,#52617a); }
.home #main > .page-hero, .home #pamyatka details, .home #pamyatka .tb-guide-topics { border-block: 0; }
.home #pamyatka { border-bottom: 0; }
.tb-section-copy, .tb-credit-story { max-width: 54rem; }
.tb-section-main .tb-section-copy h2 { font-size: 1.18rem; margin: 1.25rem 0 .4rem; }
.tb-section-main .tb-section-copy h3 { font-size: 1.05rem; margin: 1rem 0 .3rem; }
.tb-section-main :is(.tb-section-copy,.tb-credit-story) p { font-size: 1rem; line-height: 1.55; margin: .55rem 0; color: var(--ink); }
.tb-section-main :is(.tb-section-copy,.tb-credit-story) a { text-decoration: underline; text-underline-offset: .14em; }

/* Keep email addresses in the surrounding text colour in every link state. */
a[href^="mailto:" i] {
  color: inherit !important;
  text-decoration: underline solid currentColor !important;
  text-underline-offset: .15em;
}
