/* WEBLUX design proposal - shared design system for capital.market.md and emitent-msi.market.md
   Option A = "Light":  white header, brand-blue navigation
   Option B = "Navy":   deep navy header, light grey page
   Same markup for both; only the tokens below change. */

:root {
  --brand: #0088d2;        /* sampled from the Capital Market logo */
  --brand-dark: #006aa8;
  --brand-soft: #e6f3fb;
  --ink: #14243a;
  --muted: #5d6c80;
  --line: #e1e8ef;
  --page: #ffffff;
  --card: #ffffff;
  --radius: 10px;
  --shadow: 0 1px 2px rgba(20, 36, 58, .06), 0 4px 14px rgba(20, 36, 58, .05);
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

  --top-bg: #f1f5f9;       /* utility bar */
  --top-ink: #44566c;
  --head-bg: #ffffff;
  --head-ink: var(--ink);
  --nav-bg: var(--brand);
  --nav-ink: #ffffff;
  --nav-hover: rgba(255, 255, 255, .16);
  --foot-bg: #0b2540;
  --foot-ink: #cfdbe8;
}

.opt-b {
  --page: #f3f6f9;
  --top-bg: #08192d;
  --top-ink: #a9bbcf;
  --head-bg: #0b2540;
  --head-ink: #ffffff;
  --nav-bg: #0b2540;
  --nav-ink: #dce8f4;
  --nav-hover: rgba(255, 255, 255, .10);
  --foot-bg: #08192d;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; font: 15px/1.55 var(--font); color: var(--ink); background: var(--page);
}
a { color: var(--brand-dark); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; height: auto; display: block; }
.wrap { width: min(1200px, 100% - 32px); margin-inline: auto; }

/* ---------- utility bar ---------- */
.topbar { background: var(--top-bg); color: var(--top-ink); font-size: 13px; }
.topbar .wrap { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 38px; }
.topbar ul { display: flex; flex-wrap: wrap; gap: 4px 18px; margin: 0; padding: 0; list-style: none; }
.topbar a { color: inherit; }
.lang { display: flex; gap: 4px; }
.lang a {
  color: inherit; padding: 2px 9px; border-radius: 6px; font-weight: 600; font-size: 12px;
  border: 1px solid transparent;
}
.lang a.on { background: var(--brand); color: #fff; }
.lang a:hover { border-color: currentColor; text-decoration: none; }

/* ---------- header ---------- */
.site-head { background: var(--head-bg); color: var(--head-ink); }
.site-head .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-block: 18px; }
.brand-logo { display: block; }
.opt-b .brand-logo.on-light { background: #fff; padding: 8px 14px; border-radius: 8px; }
.brand-logo img { height: 62px; width: auto; }
.tagline { font-size: 14px; color: var(--muted); max-width: 320px; text-align: right; }
.opt-b .tagline { color: #a9bbcf; }

/* ---------- navigation ---------- */
.nav { background: var(--nav-bg); }
.nav .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.nav ul { display: flex; flex-wrap: wrap; margin: 0; padding: 0; list-style: none; }
.nav li a {
  display: block; padding: 13px 11px; color: var(--nav-ink); font-weight: 600; font-size: 14px; white-space: nowrap;
  border-bottom: 3px solid transparent;
}
.nav li a:hover { background: var(--nav-hover); text-decoration: none; }
.nav li a.on { border-bottom-color: #fff; }
.opt-b .nav li a.on { border-bottom-color: var(--brand); color: #fff; }
.opt-b .nav { border-top: 1px solid rgba(255, 255, 255, .08); }
.search { position: relative; flex: none; }
.search input {
  width: 190px; border: 1px solid rgba(255, 255, 255, .28); background: rgba(255, 255, 255, .14); color: #fff;
  padding: 8px 40px 8px 16px; border-radius: 99px; font: inherit; font-size: 14px; transition: width .2s, background .2s;
  -webkit-appearance: none; appearance: none;
}
.search input::placeholder { color: rgba(255, 255, 255, .85); }
.search input:focus { width: 250px; background: #fff; color: var(--ink); border-color: #fff; outline: 3px solid rgba(255, 255, 255, .35); }
.search input:focus::placeholder { color: var(--muted); }
.search button {
  position: absolute; right: 4px; top: 50%; transform: translateY(-50%); width: 32px; height: 32px; border: 0; border-radius: 50%;
  background: transparent; color: #fff; cursor: pointer; display: grid; place-items: center; padding: 0;
}
.search input:focus + button { color: var(--brand-dark); }
.opt-b .search input { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .18); }
.opt-b .search input:focus { background: #fff; }
.burger, #nav-toggle { display: none; }

/* ---------- layout ---------- */
.layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 28px; padding-block: 28px 40px; }
.layout.three { grid-template-columns: minmax(0, 1fr) 300px 300px; }
.stack > * + * { margin-top: 24px; }

/* ---------- cards / blocks ---------- */
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.card > h2, .card > .card-title {
  margin: 0; padding: 13px 18px; font-size: 15px; font-weight: 700; letter-spacing: .01em;
  border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center;
}
.card > h2::before, .card > .card-title::before {
  content: ""; width: 4px; height: 16px; background: var(--brand); border-radius: 2px; margin-right: 10px; flex: none;
}
.card > h2 { justify-content: flex-start; }
.card .more { margin-left: auto; font-size: 13px; font-weight: 600; }
.card-body { padding: 16px 18px; }
.card > img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: center; background: #eef3f8; }

/* featured story */
.feature { display: grid; grid-template-columns: 1.1fr 1fr; }
.feature img { width: 100%; height: 100%; object-fit: cover; min-height: 220px; }
.feature .txt { padding: 22px 24px; }
.feature h1 { font-size: 22px; line-height: 1.25; margin: 6px 0 10px; }
.feature h1 a { color: var(--ink); }
.kicker { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--brand-dark); }
.date { color: var(--muted); font-size: 13px; }

/* story / issue grid */
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.tile { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.tile img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; background: #eef3f8; }
.tile .t { padding: 12px 14px 14px; font-weight: 600; line-height: 1.35; font-size: 14.5px; }
.tile .t small { display: block; font-weight: 400; color: var(--muted); margin-top: 3px; }

/* link lists */
.list { margin: 0; padding: 0; list-style: none; }
.list li { padding: 12px 18px; border-top: 1px solid var(--line); }
.list li:first-child { border-top: 0; }
.list .t { display: block; font-weight: 600; line-height: 1.35; }
.list .s { display: block; color: var(--muted); font-size: 13.5px; margin-top: 2px; }
.list .d { color: var(--muted); font-size: 12.5px; }
.pill {
  display: inline-block; font-size: 11.5px; font-weight: 700; padding: 1px 8px; border-radius: 99px;
  background: var(--brand-soft); color: var(--brand-dark); margin-left: 6px; vertical-align: 1px;
}
.pill.pdf { background: #fdeceb; color: #b3261e; }

/* tables */
table.data { width: 100%; border-collapse: collapse; font-size: 14px; }
table.data th { text-align: left; font-size: 12px; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); padding: 8px 18px; background: #f7f9fb; }
table.data td { padding: 8px 18px; border-top: 1px solid var(--line); }
table.data td:last-child, table.data th:last-child { text-align: right; font-variant-numeric: tabular-nums; }
table.data tr:hover td { background: #f7fbfe; }
.range { padding: 12px 18px 0; font-weight: 600; }

/* ---------- forms / buttons ---------- */
label { display: block; font-weight: 600; font-size: 13.5px; margin: 14px 0 5px; }
select, input[type=text], input[type=email], input[type=password] {
  width: 100%; padding: 10px 12px; font: inherit; border: 1px solid #cdd7e2; border-radius: 8px; background: #fff; color: var(--ink);
}
select:focus, input:focus { outline: 3px solid rgba(0, 136, 210, .25); border-color: var(--brand); }
.btn {
  display: inline-block; border: 0; border-radius: 8px; padding: 10px 20px; font: inherit; font-weight: 700;
  background: var(--brand); color: #fff; cursor: pointer;
}
.btn:hover { background: var(--brand-dark); text-decoration: none; }
.btn.ghost { background: transparent; color: var(--brand-dark); border: 1px solid var(--brand); }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }

/* ---------- emitent specifics ---------- */
.hero-band { background: var(--head-bg); color: var(--head-ink); }
.login { display: flex; gap: 8px; align-items: center; }
.login input { width: 150px; padding: 8px 10px; }
.login .btn { padding: 9px 16px; }
.intro p { margin: 0 0 12px; text-align: left; }
.intro ol { margin: 0 0 12px; padding-left: 20px; }
.callout { background: var(--brand-soft); border-left: 4px solid var(--brand); border-radius: 6px; padding: 12px 16px; font-size: 14px; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 24px; }
.stat { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 16px; box-shadow: var(--shadow); }
.stat b { display: block; font-size: 26px; line-height: 1.1; color: var(--brand-dark); }
.stat span { font-size: 13px; color: var(--muted); }

/* ---------- footer ---------- */
.foot { background: var(--foot-bg); color: var(--foot-ink); font-size: 14px; }
.foot .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 20px; padding-block: 26px; }
.foot a { color: #fff; }
.foot b { color: #fff; }

/* ---------- responsive ---------- */
@media (max-width: 1020px) {
  .layout, .layout.three { grid-template-columns: minmax(0, 1fr) 300px; }
  .layout.three > :nth-child(3) { grid-column: 1 / -1; }
}
@media (max-width: 760px) {
  .layout, .layout.three { grid-template-columns: 1fr; padding-block: 18px 28px; }
  .topbar ul { display: none; }
  .topbar .wrap { justify-content: flex-end; }
  .site-head .wrap { padding-block: 12px; flex-wrap: wrap; }
  .brand-logo img { height: 46px; }
  .tagline { display: none; }
  .login { width: 100%; }
  .login input { flex: 1; min-width: 0; }
  .burger {
    display: flex; align-items: center; gap: 10px; padding: 12px 0; color: var(--nav-ink); font-weight: 700; cursor: pointer; width: 100%; margin: 0;
  }
  .burger::before { content: "\2630"; font-size: 20px; }
  .nav .wrap { flex-direction: column; align-items: stretch; gap: 0; }
  .nav ul { display: none; flex-direction: column; border-top: 1px solid rgba(255, 255, 255, .18); }
  #nav-toggle:checked ~ ul { display: flex; }
  .nav li a { padding: 12px 4px; border-bottom: 0; }
  .nav .search { display: none; }
  #nav-toggle:checked ~ .search { display: block; margin: 4px 0 14px; }
  .nav .search input, .nav .search input:focus { width: 100%; }
  .feature { grid-template-columns: 1fr; }
  .feature img { min-height: 0; aspect-ratio: 16 / 9; }
  .feature h1 { font-size: 19px; }
  .grid3 { grid-template-columns: 1fr 1fr; }
  .grid3 > :first-child { grid-column: 1 / -1; }
  .grid3 > :first-child img { aspect-ratio: 16 / 9; }
  .stats { grid-template-columns: 1fr; }
  .row2 { grid-template-columns: 1fr; }
  .foot .wrap { flex-direction: column; }
}

/* ---------- capital: category + article ---------- */
.crumbs { font-size: 13px; color: var(--muted); padding: 16px 0 0; }
.crumbs a { color: var(--muted); }
.crumbs span { margin: 0 6px; }
.page-title { margin: 0; font-size: 28px; line-height: 1.2; }
.page-sub { margin: 6px 0 0; color: var(--muted); }
.sub-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0 0; padding: 0; list-style: none; }
.sub-tabs a { display: block; padding: 6px 14px; border-radius: 99px; border: 1px solid var(--line); background: var(--card); color: var(--ink); font-size: 13.5px; font-weight: 600; }
.sub-tabs a.on { background: var(--brand); border-color: var(--brand); color: #fff; }
.sub-tabs a:hover { text-decoration: none; border-color: var(--brand); }
.post { display: grid; grid-template-columns: 200px 1fr; gap: 20px; padding: 20px 22px; border-top: 1px solid var(--line); }
.post:first-child { border-top: 0; }
.post.noimg { grid-template-columns: 1fr; }
.post img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 8px; background: #eef3f8; }
.post h3 { margin: 2px 0 6px; font-size: 18px; line-height: 1.3; }
.post h3 a { color: var(--ink); }
.post h3 a:hover { color: var(--brand-dark); }
.post p { margin: 8px 0 10px; color: #33465c; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; list-style: none; }
.chips a, .chips span { display: inline-block; font-size: 12px; font-weight: 600; padding: 2px 10px; border-radius: 99px; background: var(--brand-soft); color: var(--brand-dark); }
.chips a:hover { text-decoration: none; background: var(--brand); color: #fff; }
.pager { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; padding: 18px; border-top: 1px solid var(--line); }
.pager a, .pager span { min-width: 38px; padding: 7px 12px; text-align: center; border: 1px solid var(--line); border-radius: 8px; background: #fff; font-weight: 600; font-size: 14px; color: var(--ink); }
.pager .on { background: var(--brand); border-color: var(--brand); color: #fff; }
.pager a:hover { text-decoration: none; border-color: var(--brand); }
.article { padding: 28px 34px 30px; }
.article h1 { font-size: 30px; line-height: 1.2; margin: 8px 0 12px; }
.article .meta { display: flex; flex-wrap: wrap; gap: 6px 16px; align-items: center; color: var(--muted); font-size: 13.5px; padding-bottom: 18px; border-bottom: 1px solid var(--line); margin-bottom: 22px; }
.article .lead { font-size: 18px; line-height: 1.55; color: #24364c; font-weight: 500; }
.article p { margin: 0 0 16px; font-size: 16.5px; line-height: 1.7; }
.article blockquote { margin: 22px 0; padding: 6px 0 6px 20px; border-left: 4px solid var(--brand); font-size: 17px; line-height: 1.65; color: #24364c; font-style: italic; }
.article .signature { color: var(--muted); font-size: 14px; margin-top: 22px; }
.article .hero-img { margin: 0 -34px 24px; }
.article .hero-img img { width: 100%; aspect-ratio: 16 / 7; object-fit: cover; }
.article .foot-row { margin-top: 26px; padding-top: 18px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 14px; justify-content: space-between; align-items: center; }
.issue-link { display: flex; gap: 14px; align-items: center; background: var(--brand-soft); border-radius: 8px; padding: 10px 14px; font-weight: 600; font-size: 14px; }
.issue-link img { width: 44px; border-radius: 4px; }
.related .list .t { font-size: 14.5px; }

/* ---------- emitent: results, admin, user ---------- */
.userbar { display: flex; align-items: center; gap: 12px; font-size: 14px; }
.userbar .who { text-align: right; line-height: 1.3; }
.userbar .who b { display: block; }
.userbar .who span { font-size: 12.5px; opacity: .75; }
.avatar { width: 38px; height: 38px; border-radius: 50%; background: var(--brand); color: #fff; display: grid; place-items: center; font-weight: 700; }
.userbar .btn { padding: 8px 14px; background: transparent; border: 1px solid rgba(128, 150, 175, .55); color: inherit; }
.userbar .btn:hover { background: var(--nav-hover); }
.subnav { background: var(--card); border-bottom: 1px solid var(--line); }
.subnav .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 4px; padding-block: 8px; }
.subnav a { display: inline-flex; align-items: center; gap: 7px; padding: 8px 14px; border-radius: 8px; font-weight: 600; font-size: 14px; color: var(--ink); }
.subnav a:hover { background: var(--brand-soft); text-decoration: none; }
.subnav a.on { background: var(--brand-soft); color: var(--brand-dark); }
.subnav a.add { background: var(--brand); color: #fff; margin-right: 6px; }
.subnav a.add:hover { background: var(--brand-dark); }
.subnav .sp { flex: 1; }
.subnav select { width: auto; min-width: 230px; padding: 8px 10px; }
.subnav .badge-admin { font-size: 11px; font-weight: 800; letter-spacing: .06em; background: #fff1d6; color: #8a5a00; padding: 3px 9px; border-radius: 99px; text-transform: uppercase; }
.ico { width: 16px; height: 16px; flex: none; }
.pagehead { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 12px; margin-bottom: 20px; }
.pagehead h1 { margin: 0; font-size: 26px; line-height: 1.2; }
.pagehead p { margin: 4px 0 0; color: var(--muted); }
.filters { display: grid; grid-template-columns: 1.4fr 1fr 150px 150px auto; gap: 12px; align-items: end; padding: 14px 18px 18px; }
.filters label { margin: 0 0 5px; }
.filters .btn { padding: 11px 22px; }
.chipbar { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; padding: 0 18px 16px; font-size: 13px; color: var(--muted); }
.chipbar .chip { background: var(--brand-soft); color: var(--brand-dark); border-radius: 99px; padding: 3px 10px; font-weight: 600; }
.chipbar .chip i { font-style: normal; opacity: .6; margin-left: 4px; }
.chipbar a { margin-left: auto; font-weight: 600; }
.tablewrap { overflow-x: auto; }
table.docs { width: 100%; border-collapse: collapse; font-size: 14px; }
table.docs th { text-align: left; font-size: 12px; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); padding: 10px 16px; background: #f7f9fb; white-space: nowrap; }
table.docs td { padding: 11px 16px; border-top: 1px solid var(--line); vertical-align: middle; }
table.docs tr:hover td { background: #f7fbfe; }
table.docs .num { font-variant-numeric: tabular-nums; white-space: nowrap; }
table.docs .org { font-weight: 600; }
table.docs .tr { text-align: right; white-space: nowrap; }
.st { display: inline-block; font-size: 12px; font-weight: 700; padding: 2px 10px; border-radius: 99px; white-space: nowrap; }
.st.ok { background: #e3f6ea; color: #17703a; }
.st.wait { background: #fff1d6; color: #8a5a00; }
.st.sign { background: #e6eefb; color: #1f4fb0; }
.st.no { background: #fdeceb; color: #b3261e; }
.act { display: inline-flex; gap: 4px; }
.act a { display: inline-grid; place-items: center; width: 32px; height: 32px; border-radius: 8px; border: 1px solid var(--line); color: var(--ink); background: #fff; }
.act a:hover { background: var(--brand-soft); border-color: var(--brand); text-decoration: none; }
.act a.del:hover { background: #fdeceb; border-color: #e5a29d; color: #b3261e; }
.pdfico { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 8px; background: #fdeceb; color: #b3261e; font-size: 11px; font-weight: 800; }
.pdfico:hover { text-decoration: none; background: #b3261e; color: #fff; }
.tfoot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 10px; padding: 12px 18px; border-top: 1px solid var(--line); font-size: 13.5px; color: var(--muted); }
.tfoot .pager { padding: 0; border: 0; }
.contract { display: flex; flex-wrap: wrap; gap: 20px 40px; align-items: center; padding: 16px 22px; border-radius: var(--radius); border: 1px solid #bfe3f7; background: var(--brand-soft); margin-bottom: 24px; }
.contract .c b { display: block; font-size: 20px; line-height: 1.2; }
.contract .c span { font-size: 12.5px; color: var(--muted); }
.contract .c.big b { font-size: 30px; color: var(--brand-dark); }
.contract .bar { flex: 1; min-width: 180px; }
.contract .bar i { display: block; height: 8px; border-radius: 99px; background: #fff; overflow: hidden; }
.contract .bar i::before { content: ""; display: block; height: 100%; width: 71%; background: var(--brand); border-radius: 99px; }
.contract .bar span { font-size: 12.5px; color: var(--muted); display: block; margin-top: 6px; }
.contract.warn { background: #fff6e0; border-color: #f0d28a; }
.contract.warn .c.big b { color: #8a5a00; }
.contract.warn .bar i::before { background: #e0a100; width: 93%; }
.kv { display: grid; grid-template-columns: 170px 1fr; gap: 9px 16px; margin: 0; padding: 18px 22px; font-size: 14.5px; }
.kv dt { color: var(--muted); font-weight: 600; font-size: 13.5px; }
.kv dd { margin: 0; }
.mini { margin: 0; padding: 14px 18px; display: grid; gap: 10px; }
.mini li { list-style: none; display: flex; justify-content: space-between; gap: 10px; font-size: 14px; }
.mini li span { color: var(--muted); }
.mini { padding-left: 18px; }
.note { margin: 0; padding: 0 18px 16px; font-size: 13px; color: var(--muted); }

@media (max-width: 1020px) {
  .filters { grid-template-columns: 1fr 1fr; }
  .filters .btn { width: 100%; }
}
@media (max-width: 760px) {
  .article { padding: 20px 18px 24px; }
  .article h1 { font-size: 23px; }
  .article .hero-img { margin: 0 -18px 18px; }
  .article .lead { font-size: 16.5px; }
  .article p { font-size: 16px; }
  .page-title { font-size: 23px; }
  .post { grid-template-columns: 1fr; padding: 16px 18px; gap: 12px; }
  .search { }
  .userbar .who { display: none; }
  .site-head .wrap .userbar { margin-left: auto; }
  .subnav select { width: 100%; }
  .filters { grid-template-columns: 1fr; }
  .kv { grid-template-columns: 1fr; gap: 2px 0; }
  .kv dt { margin-top: 8px; }
  .contract { gap: 14px 28px; padding: 14px 16px; }
  table.docs { font-size: 13.5px; }
  .tfoot { justify-content: center; text-align: center; }
  .pagehead h1 { font-size: 22px; }
}
.filters select, .filters input { height: 44px; }
.filters { align-items: end; }

.pagepad { padding-block: 24px 40px; }
.split { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 22px; align-items: start; }
.split > * { min-width: 0; }
.kv-stack { grid-template-columns: 1fr; gap: 2px 0; }
@media (max-width: 1020px) { .split { grid-template-columns: minmax(0, 1fr) 280px; } }
@media (max-width: 760px) { .split { grid-template-columns: 1fr; } .split .tablewrap table.docs { min-width: 560px; } }
@media (max-width: 760px) {
  table.docs thead { display: none; }
  table.docs, table.docs tbody, table.docs tr, table.docs td { display: block; width: 100%; }
  table.docs tr { display: grid; grid-template-columns: 1fr auto; gap: 6px 12px; padding: 12px 16px; border-top: 1px solid var(--line); }
  table.docs tr:first-child { border-top: 0; }
  table.docs td { border: 0; padding: 0; text-align: left; }
  table.docs td:nth-child(1) { grid-column: 1; grid-row: 1; color: var(--muted); font-size: 13px; }
  table.docs td:nth-child(3) { grid-column: 2; grid-row: 1; justify-self: end; }
  table.docs td:nth-child(2) { grid-column: 1 / -1; grid-row: 2; font-size: 14px; }
  table.docs td:nth-child(4) { grid-column: 1 / -1; grid-row: 3; justify-self: start; }
  table.docs td.tr { text-align: left; }
  table.docs .org { font-size: 13px; color: var(--muted); }
  table.docs tr:hover td { background: none; }
  .split .tablewrap table.docs { min-width: 0; }
}

/* Russian labels are longer: keep the capital menu on one line */
html[lang="ru"] .nav li a { padding-left: 8px; padding-right: 8px; font-size: 13.5px; }
html[lang="ru"] .nav .search input { width: 150px; }
html[lang="ru"] .nav .search input:focus { width: 220px; }
@media (max-width: 1020px) { html[lang="ru"] .nav li a { padding: 12px 4px; font-size: 14px; } }
@media (min-width: 1021px) and (max-width: 1180px) {
  html[lang="ru"] .nav .search input { width: 110px; }
  html[lang="ru"] .nav .search input:focus { width: 180px; }
  html[lang="ru"] .nav li a { padding-left: 6px; padding-right: 6px; font-size: 13px; }
}
