/* QR მენიუ — design system v3 (engineering-grade, Evolt-inspired)
   Neutral greys, one teal accent, hairline rails, chamfered primary buttons.
   Headlines in Mtavruli (Georgian capitals), labels in Geist Mono, body in Geist + Noto Sans Georgian. */
@font-face { font-family: "Nino Mtavruli"; src: url(/fonts/nino-mtavruli-400.woff2) format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Nino Mtavruli"; src: url(/fonts/nino-mtavruli-700.woff2) format("woff2"); font-weight: 700; font-display: swap; }

:root {
  --bg: #F7F7F7;
  --fg: #171717;
  --mute: #757575;
  --stroke: #D1D1D1;
  --accent: #0F766E;
  --accent-2: #0B5E58;
  --accent-soft: #E7F1F1;
  --accent-line: #B5D5D2;
  --spark: #C2FA1F;

  /* legacy names used across pages, mapped onto the new palette */
  --ink: #171717;
  --ink-2: #2B2B2B;
  --ink-3: #0F766E;
  --ink-soft: #E7F1F1;
  --sage: #EEF4F3;
  --paper: #F7F7F7;
  --paper-2: #EFEFEF;
  --surface: #FFFFFF;
  --brass: #0F766E;
  --brass-2: #0B5E58;
  --brass-soft: #E7F1F1;
  --champagne: #8FD9CF;
  --line: #E3E3E3;
  --line-2: #D1D1D1;
  --on-dark: #E8E8E8;
  --on-dark-mute: #A3A3A3;
  --wine: #B42335;
  --wine-soft: #FBE9EB;
  --ok: #15803D;
  --ok-soft: #E6F4EA;
  --warn: #A16207;
  --warn-soft: #FDF4DF;
  --g-dark: radial-gradient(60% 80% at 90% 0%, rgba(15, 118, 110, .35), transparent 60%), #171717;

  --f-sans: "Geist", "Noto Sans Georgian", system-ui, sans-serif;
  --f-serif: "Nino Mtavruli", "Geist", "Noto Sans Georgian", sans-serif; /* display = capitals */
  --f-num: "Geist", "Noto Sans Georgian", system-ui, sans-serif;
  --f-mono: "Geist Mono", "Nino Mtavruli", ui-monospace, monospace;
  --f-mark: "Geist Mono", "Nino Mtavruli", ui-monospace, monospace;

  --wrap: 1280px;
  --gut: clamp(16px, 3.4vw, 48px);
  --r-xs: 2px; --r-sm: 4px; --r: 6px; --r-lg: 8px;
  --cut: 14px;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --sh-1: 0 1px 0 rgba(0, 0, 0, .03);
  --sh-2: 0 12px 32px -18px rgba(0, 0, 0, .22);
  --sh-3: 0 30px 70px -30px rgba(0, 0, 0, .35);
  --z-head: 30; --z-side: 40; --z-modal: 100; --z-toast: 200;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 90px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; } }
body { margin: 0; background: var(--bg); color: var(--fg); font: 400 16px/1.6 var(--f-sans); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: clip; }
img { max-width: 100%; display: block; }
[hidden] { display: none !important; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
::selection { background: var(--accent); color: #fff; }
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 300; background: var(--fg); color: #fff; padding: 10px 16px; text-decoration: none; }
.skip:focus { top: 12px; }

/* ---------- type ---------- */
h1, h2, h3, h4 { font-family: var(--f-serif); font-weight: 400; color: var(--fg); margin: 0; line-height: 1.2; text-transform: uppercase; letter-spacing: .005em; text-wrap: balance; }
h1 { font-size: clamp(30px, 3.5vw, 50px); line-height: 1.18; }
h2 { font-size: clamp(24px, 2.5vw, 36px); line-height: 1.22; }
h3 { font-size: 18px; line-height: 1.35; }
h4 { font-size: 16px; }
.second { display: block; color: var(--mute); }
p { margin: 0; text-wrap: pretty; }
.lead { font-size: 17px; line-height: 1.65; color: #4A4A4A; max-width: 56ch; }
.lead b, .hl { color: var(--accent); font-weight: 600; }
.mute { color: var(--mute); }
.sm { font-size: 14px; }
.xs { font-size: 12.5px; }
.num { font-family: var(--f-num); font-variant-numeric: tabular-nums; font-weight: 500; letter-spacing: -.02em; }
.mono { font-family: var(--f-mono); }
.mark { font: 400 12px/1.4 var(--f-mark); letter-spacing: .04em; color: var(--mute); text-transform: uppercase; }
.mark.ink { color: var(--mute); }
/* "/LABEL" marker with the little stacked-squares glyph */
.marker { display: inline-flex; align-items: center; gap: 10px; font: 400 12.5px/1 var(--f-mark); letter-spacing: .05em; color: var(--mute); text-transform: uppercase; justify-self: start; }
.marker::before { content: ""; width: 12px; height: 12px; flex: none; background:
  linear-gradient(var(--accent), var(--accent)) 0 0 / 5px 12px no-repeat,
  linear-gradient(var(--accent-line), var(--accent-line)) 7px 5px / 5px 7px no-repeat; }
.marker > span:first-child::before { content: "/"; }
.marker > span + span { color: var(--fg); }
.marker > span + span::before { content: "·"; margin-right: 10px; color: var(--stroke); }

/* ---------- layout ---------- */
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gut); }
.stack { display: grid; gap: 16px; align-content: start; }
.row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.between { justify-content: space-between; }
.grow { flex: 1; }
.gridlines { display: none; }
main, header, footer, section { position: relative; }

/* corner brackets — wrap any element with .brk */
.brk { position: relative; }
.brk::before, .brk::after { content: ""; position: absolute; width: 7px; height: 7px; border: 1px solid var(--fg); pointer-events: none; }
.brk::before { left: -4px; top: -4px; border-right: 0; border-bottom: 0; }
.brk::after { right: -4px; bottom: -4px; border-left: 0; border-top: 0; }

/* ---------- header ---------- */
.top { position: sticky; top: 0; z-index: var(--z-head); background: rgba(247, 247, 247, .86); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--stroke); }
.top-in { display: flex; align-items: center; gap: 24px; height: 64px; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gut); }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--fg); background: none; border: 0; padding: 0; }
.logo svg { flex: none; }
.logo b { font: 600 16px/1 var(--f-mono); letter-spacing: .14em; text-transform: uppercase; white-space: nowrap; }
.nav { display: flex; gap: 4px; margin-inline: auto; }
.nav a { color: var(--mute); text-decoration: none; font: 400 13px/1 var(--f-mark); letter-spacing: .05em; text-transform: uppercase; padding: 10px 12px; transition: color .2s; }
.nav a:hover { color: var(--fg); }
.top-r { display: flex; gap: 8px; align-items: center; }
.burger { display: none; background: none; border: 1px solid var(--stroke); color: var(--fg); width: 42px; height: 42px; }
@media (max-width: 920px) {
  .top-in { position: relative; }
  .nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--bg); flex-direction: column; padding: 8px var(--gut) 16px; border-bottom: 1px solid var(--stroke); }
  .nav.open { display: flex; }
  .nav a { padding: 14px 0; border-bottom: 1px solid var(--line); }
  .burger { display: inline-grid; place-items: center; margin-left: auto; }
  .top-r .ghost-l { display: none; }
}
@media (max-width: 420px) { .top-in { gap: 10px; } .top-r .btn { padding: 0 12px; } }

/* ---------- buttons: chamfered primary, outlined secondary ---------- */
.btn { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 44px; padding: 0 20px; border: 1px solid var(--stroke); border-radius: 0; background: var(--surface); color: var(--fg); font: 500 14.5px/1 var(--f-sans); text-decoration: none; white-space: nowrap;
  transition: background .25s var(--ease), color .25s, border-color .25s, transform .2s var(--ease); }
.btn:hover { border-color: var(--fg); }
.btn:active { transform: translateY(1px); }
.btn.pri, .btn.brass { border: 0; color: #fff; background: var(--fg); clip-path: polygon(var(--cut) 0, 100% 0, 100% calc(100% - var(--cut)), calc(100% - var(--cut)) 100%, 0 100%, 0 var(--cut)); padding: 0 24px; }
.btn.pri:hover { background: var(--accent); }
.btn.brass { background: var(--accent); }
.btn.brass:hover { background: var(--accent-2); }
.btn.ghost { background: transparent; border-color: transparent; }
.btn.ghost:hover { background: rgba(0, 0, 0, .04); }
.btn.on-dark { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .3); }
.btn.on-dark:hover { border-color: #fff; }
.btn.danger { color: var(--wine); }
.btn.danger:hover { border-color: var(--wine); background: var(--wine-soft); }
.btn.sm { min-height: 38px; padding: 0 14px; font-size: 13.5px; --cut: 10px; }
.btn.xs { min-height: 32px; padding: 0 11px; font-size: 13px; --cut: 8px; }
.btn.lg { min-height: 52px; padding: 0 28px; font-size: 15px; --cut: 16px; }
.btn.block { width: 100%; }
.btn:disabled { opacity: .45; cursor: not-allowed; }
.btn svg { flex: none; }
.link { color: var(--accent); text-decoration: none; font-weight: 600; background: none; border: 0; padding: 0; cursor: pointer; background-image: linear-gradient(currentColor, currentColor); background-size: 100% 1px; background-position: 0 100%; background-repeat: no-repeat; transition: background-size .3s var(--ease); }
.link:hover { background-size: 0 1px; }

/* ---------- forms ---------- */
.fld { display: grid; gap: 7px; }
.fld > span, .fld > label { font: 400 12px/1.3 var(--f-mark); letter-spacing: .04em; text-transform: uppercase; color: var(--mute); }
.fld small { color: var(--mute); font-size: 12.5px; text-transform: none; letter-spacing: 0; font-family: var(--f-sans); }
.inp, .fld input:not([type=checkbox]):not([type=radio]):not([type=color]):not([type=range]), .fld select, .fld textarea {
  width: 100%; min-height: 46px; padding: 11px 13px; border: 1px solid var(--stroke); border-radius: 0; background: var(--surface); color: var(--fg); font: 400 15px/1.4 var(--f-sans); transition: border-color .2s, box-shadow .2s; }
.fld textarea { min-height: 92px; resize: vertical; line-height: 1.55; }
.inp:focus, .fld input:focus, .fld select:focus, .fld textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.fld input:disabled, .fld select:disabled { background: var(--paper-2); color: var(--mute); }
.fld.err input, .fld.err select, .fld.err textarea { border-color: var(--wine); }
.fld .msg { color: var(--wine); font-size: 13px; font-weight: 500; text-transform: none; letter-spacing: 0; font-family: var(--f-sans); }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; cursor: pointer; }
.check input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--accent); flex: none; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 640px) { .grid2 { grid-template-columns: 1fr; } }
.seg { display: inline-flex; border: 1px solid var(--stroke); background: var(--surface); padding: 3px; gap: 2px; flex-wrap: wrap; }
.seg button { border: 0; background: transparent; padding: 8px 14px; font: 400 12.5px/1 var(--f-mark); letter-spacing: .04em; text-transform: uppercase; color: var(--mute); display: inline-flex; gap: 6px; align-items: center; transition: background .2s, color .2s; }
.seg button:hover { color: var(--fg); }
.seg button[aria-pressed="true"] { background: var(--fg); color: #fff; }
.seg .off { font-size: 11px; color: var(--accent); background: var(--accent-soft); padding: 2px 5px; }
.seg button[aria-pressed="true"] .off { background: var(--accent); color: #fff; }
.switch { position: relative; width: 42px; height: 24px; flex: none; }
.switch input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; z-index: 1; }
.switch i { position: absolute; inset: 0; background: var(--stroke); transition: background .2s; }
.switch i::after { content: ""; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; background: #fff; transition: transform .25s var(--ease); }
.switch input:checked + i { background: var(--accent); }
.switch input:checked + i::after { transform: translateX(18px); }
.switch input:focus-visible + i { outline: 2px solid var(--accent); outline-offset: 2px; }
.switch input:disabled + i { opacity: .45; }

/* ---------- surfaces ---------- */
.card { background: var(--surface); border: 1px solid var(--stroke); padding: 24px; }
.frame { border: 1px solid var(--stroke); background: var(--surface); }
.frame > .frame-in { background: var(--surface); }
.pill { display: inline-flex; align-items: center; gap: 6px; padding: 4px 8px; font: 400 11.5px/1.2 var(--f-mark); letter-spacing: .04em; text-transform: uppercase; background: var(--paper-2); color: var(--fg); white-space: nowrap; }
.pill.ok { background: var(--ok-soft); color: var(--ok); }
.pill.warn { background: var(--warn-soft); color: var(--warn); }
.pill.bad { background: var(--wine-soft); color: var(--wine); }
.pill.brass { background: var(--accent-soft); color: var(--accent); }
.rule { height: 1px; background: var(--stroke); border: 0; margin: 0; }

/* ---------- toast ---------- */
#toast { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); background: var(--fg); color: #fff; padding: 13px 18px; font-size: 14px; z-index: var(--z-toast); max-width: calc(100vw - 32px); border-left: 3px solid var(--accent); animation: toastIn .35s var(--ease); }
@keyframes toastIn { from { opacity: 0; transform: translate(-50%, 12px); } }
/* phones: notifications drop in from the top, clear of thumbs and bottom bars */
@keyframes toastDown { from { opacity: 0; transform: translate(-50%, -16px); } }
@media (max-width: 640px) { #toast { top: calc(12px + env(safe-area-inset-top)); bottom: auto; width: max-content; animation-name: toastDown; } }

/* ---------- modal: sheet on phones, dialog on desktop ---------- */
.modal-bg { position: fixed; inset: 0; background: rgba(23, 23, 23, .45); backdrop-filter: blur(4px); z-index: var(--z-modal); display: grid; place-items: center; padding: 16px; overflow-y: auto; animation: fade .2s ease-out; }
.modal { background: var(--surface); border: 1px solid var(--stroke); width: min(560px, 100%); max-height: calc(100vh - 32px); overflow-y: auto; box-shadow: var(--sh-3); animation: pop .35s var(--ease); }
.modal.wide { width: min(780px, 100%); }
@keyframes fade { from { opacity: 0; } }
@keyframes pop { from { opacity: 0; transform: translateY(16px); } }
.modal-h { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 18px 22px; border-bottom: 1px solid var(--stroke); position: sticky; top: 0; background: var(--surface); z-index: 1; }
.modal-h h3 { font-size: 17px; }
.modal-b { padding: 22px; display: grid; gap: 18px; }
.modal-f { padding: 14px 22px; border-top: 1px solid var(--stroke); display: flex; gap: 10px; justify-content: flex-end; flex-wrap: wrap; position: sticky; bottom: 0; background: var(--surface); }
.x-btn { width: 36px; height: 36px; border: 1px solid var(--stroke); background: var(--surface); display: grid; place-items: center; transition: border-color .2s; flex: none; }
.x-btn:hover { border-color: var(--fg); }
@keyframes up { from { transform: translateY(40px); opacity: .5; } }
@media (max-width: 640px) {
  .modal-bg { place-items: end center; padding: 0; }
  .modal, .modal.wide { width: 100%; max-height: 94vh; border: 0; animation: up .35s var(--ease); }
  .modal-f { flex-wrap: nowrap; } .modal-f .btn { flex: 1; }
}

/* ---------- footer ---------- */
.foot { border-top: 1px solid var(--stroke); color: var(--mute); }
.foot-in { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); max-width: var(--wrap); margin-inline: auto; border-inline: 1px solid var(--stroke); }
.foot-in > * { padding: 48px var(--gut) 40px; }
.foot-in > * + * { border-left: 1px solid var(--stroke); }
.foot .wordmark { font: 600 clamp(28px, 4vw, 44px)/1 var(--f-mono); letter-spacing: .18em; color: var(--fg); text-transform: uppercase; }
.foot b { color: var(--fg); font: 400 12px/1 var(--f-mark); letter-spacing: .05em; text-transform: uppercase; display: block; margin-bottom: 16px; }
.foot a { display: block; color: var(--mute); text-decoration: none; padding: 5px 0; font-size: 14.5px; transition: color .2s; }
.foot a:hover { color: var(--fg); }
.foot-b { border-top: 1px solid var(--stroke); }
.foot-b > div { max-width: var(--wrap); margin-inline: auto; border-inline: 1px solid var(--stroke); padding: 18px var(--gut); display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font: 400 12px/1.4 var(--f-mark); letter-spacing: .04em; text-transform: uppercase; }
@media (max-width: 820px) { .foot-in { grid-template-columns: 1fr 1fr; } .foot-in > :nth-child(3) { border-left: 0; } .foot-in > :nth-child(n+3) { border-top: 1px solid var(--stroke); } .foot-in > :first-child { grid-column: 1 / -1; border-bottom: 1px solid var(--stroke); } .foot-in > :nth-child(2) { border-left: 0; } }
@media (max-width: 520px) { .foot-in { grid-template-columns: 1fr; } .foot-in > * + * { border-left: 0; border-top: 1px solid var(--stroke); } }

/* ---------- table ---------- */
.tbl-wrap { overflow-x: auto; }
table.t { width: 100%; border-collapse: collapse; font-size: 14.5px; }
table.t th { text-align: left; font: 400 11.5px/1.2 var(--f-mark); letter-spacing: .05em; text-transform: uppercase; color: var(--mute); padding: 10px 14px; border-bottom: 1px solid var(--stroke); white-space: nowrap; }
table.t td { padding: 14px; border-bottom: 1px solid var(--line); vertical-align: middle; }
table.t tbody tr { transition: background .15s; }
table.t tbody tr:hover { background: #FAFAFA; }
table.t tr:last-child td { border-bottom: 0; }

.empty { text-align: center; padding: 48px 16px; color: var(--mute); display: grid; gap: 12px; justify-items: center; }
.empty h3 { font-size: 18px; }
.spin { width: 22px; height: 22px; border: 2px solid var(--stroke); border-top-color: var(--fg); border-radius: 50%; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.skel { background: linear-gradient(90deg, #EDEDED 0%, #F7F7F7 50%, #EDEDED 100%); background-size: 200% 100%; animation: shimmer 1.4s ease-in-out infinite; }
@keyframes shimmer { to { background-position: -200% 0; } }

/* ---------- motion primitives (shared) ---------- */
@keyframes item-in { from { opacity: 0; transform: translateX(-48px); } to { opacity: 1; transform: none; } }
@keyframes visual-in { from { opacity: 0; transform: translateX(48px); } to { opacity: 1; transform: none; } }
@keyframes rise-in { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: none; } }
@keyframes mask-up { from { -webkit-mask-position: center bottom; mask-position: center bottom; } to { -webkit-mask-position: center top; mask-position: center top; } }
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes blink { 50% { opacity: 0; } }
.anim-item { opacity: 0; animation: item-in .9s var(--ease) forwards; animation-delay: calc(var(--i, 0) * 90ms + 120ms); }
.anim-visual { opacity: 0; animation: visual-in 1s var(--ease) .35s forwards; }
/* scroll reveal: element wipes in top-to-bottom through a gradient mask while lifting (JS adds .in, then .done) */
.reveal { opacity: 0; transform: translateY(24px); }
.reveal.in { opacity: 1; transform: none; transition: opacity .7s var(--ease), transform .9s var(--ease);
  -webkit-mask-image: linear-gradient(to bottom, #000 40%, transparent 60%); mask-image: linear-gradient(to bottom, #000 40%, transparent 60%);
  -webkit-mask-size: 100% 250%; mask-size: 100% 250%; animation: mask-up 1.1s var(--ease) both; }
.reveal.done { -webkit-mask-image: none; mask-image: none; animation: none; }
@media (prefers-reduced-motion: reduce) { .reveal, .anim-item, .anim-visual { opacity: 1 !important; transform: none !important; -webkit-mask-image: none !important; mask-image: none !important; animation: none !important; } }
.foot-b a.credit { display: inline; padding: 0; color: var(--fg); text-transform: none; letter-spacing: 0; font-family: var(--f-sans); font-weight: 600; border-bottom: 1px solid var(--accent); }
.foot-b a.credit:hover { color: var(--accent); }

.brand { display: block; flex: none; }
.foot a.logo { padding: 0; }

/* ---------- v3.1 refinements: texture, light and finish ---------- */
:root {
  --sh-2: 0 1px 2px rgba(10, 40, 37, .04), 0 14px 34px -18px rgba(10, 40, 37, .26);
  --sh-3: 0 2px 6px rgba(10, 40, 37, .05), 0 34px 80px -32px rgba(10, 40, 37, .42);
}
/* paper grain over the whole page: breaks digital flatness without adding colour */
body::after { content: ""; position: fixed; inset: 0; z-index: 1000; pointer-events: none; opacity: .045; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
/* primary buttons: a slow light sweep on hover */
.btn.pri, .btn.brass { overflow: hidden; isolation: isolate; }
.btn.pri::after, .btn.brass::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(105deg, transparent 30%, rgba(255, 255, 255, .22) 48%, transparent 66%); transform: translateX(-110%); transition: transform .9s var(--ease); pointer-events: none; }
.btn.pri:hover::after, .btn.brass:hover::after { transform: translateX(110%); }
.btn.pri:not(:hover) { background: linear-gradient(180deg, #2A2A2A, var(--fg)); }
@media (prefers-reduced-motion: reduce) { .btn.pri::after, .btn.brass::after { display: none; } }

/* ---------- v3.3 readability: darker secondary text, sturdier small headings ---------- */
:root { --mute: #565656; --stroke: #CACACA; }
.lead { color: #2F2F2F; }
.mark, .marker { color: #3E3E3E; }
.marker { font-size: 13px; }
h3, h4 { font-weight: 700; letter-spacing: .01em; }
.mute, .sm.mute, .xs.mute { color: var(--mute); }

/* ---------- v3.4 text: secondary text close to body text, labels in a heavier cut ---------- */
:root { --mute: #3D3D3D; }
.marker, .mark { font-weight: 700; }
h1, h2 { font-weight: 700; }

/* ---------- v3.5 small labels: readable Georgian, real contrast ----------
   Mono caps turned Georgian into thin capitals at 11px on pale tints. Every small label now uses
   the text face at 600, a deeper ink and a tint strong enough to read as a surface. */
.pill, .lock-tag, .seg .off {
  font: 600 12.5px/1.25 var(--f-sans); letter-spacing: 0; text-transform: none;
  padding: 5px 10px; border: 1px solid transparent;
}
.pill { background: #ECECEC; color: #1F1F1F; border-color: #DADADA; }
.pill.ok { background: #DDF1E3; color: #0F5A2B; border-color: #B5DEC1; }
.pill.warn { background: #FBEBC8; color: #6E4304; border-color: #EFD28E; }
.pill.bad { background: #F8DADD; color: #8A1626; border-color: #EDB3BB; }
.pill.brass, .lock-tag { background: #D3EBE7; color: #08443F; border-color: #A9D3CD; }
.seg .off { background: #D3EBE7; color: #08443F; padding: 2px 7px; }
.seg button { font: 600 13px/1 var(--f-sans); letter-spacing: 0; text-transform: none; color: #3A3A3A; }

/* ---------- v3.6 labels and navigation: no more thin Georgian capitals ----------
   The mono-caps label style rendered Georgian as hairline Mtavruli in grey. Labels, navigation,
   field names, table heads and footer headings now use the text face, semi-bold, near-black,
   in normal Georgian letters. (Wordmarks, code and URLs keep their monospace.) */
.nav a, .mark, .marker, .fld > span, .fld > label, .foot b, table.t th,
.side-rest small, .kpi small, .mtabs button.mt, .langtabs button, .preview-col .xs, .kcol-h {
  font-family: var(--f-sans); font-weight: 600; letter-spacing: .01em; text-transform: none;
}
.nav a { font-size: 14.5px; color: #262626; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--fg); }
.mark, .marker { font-size: 14px; color: #1F1F1F; }
.fld > span, .fld > label { font-size: 13.5px; color: #262626; }
.foot b { font-size: 14px; color: var(--fg); }
table.t th { font-size: 13px; color: #2E2E2E; }
.side-rest small, .kpi small { font-size: 12.5px; color: #3A3A3A; }
.mtabs button.mt, .kcol-h { font-size: 14px; }
.preview-col .xs { font-size: 12.5px; color: #2E2E2E; }
.foot a { color: #2E2E2E; }
.foot-b > div { font-family: var(--f-sans); font-weight: 500; font-size: 13px; letter-spacing: 0; text-transform: none; color: #2E2E2E; }
