/* Shared base for all company sites. Theme files override the custom properties only.
   No web fonts and no third-party resources (RK-P7): the system font stack is used. */
:root {
  --brand: #1f5f99;
  --brand-ink: #ffffff;
  --accent: #2e8540;
  --bg: #ffffff;
  --bg-soft: #f4f6f8;
  --ink: #1b1f24;
  --muted: #5b6672;
  --line: #d9dee4;
  --focus: #ffbf47;
  --radius: 10px;
  --wrap: 1120px;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Noto Sans", "Helvetica Neue", Arial, sans-serif;
  --head-font: var(--font);
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
body { margin: 0; font: 400 1.0625rem/1.6 var(--font); color: var(--ink); background: var(--bg); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--brand); text-underline-offset: 0.15em; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
h1, h2, h3 { font-family: var(--head-font); line-height: 1.25; margin: 1.6em 0 0.6em; }
h1 { font-size: clamp(1.6rem, 1.1rem + 2.2vw, 2.4rem); margin-top: 0.8em; }
h2 { font-size: clamp(1.3rem, 1.05rem + 1vw, 1.7rem); }
h3 { font-size: 1.15rem; }
p, ul, ol { margin: 0 0 1em; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 16px; }
.muted { color: var(--muted); }
.nowrap { white-space: nowrap; }

.skip { position: absolute; left: -9999px; top: 0; background: var(--focus); color: #000; padding: 8px 12px; z-index: 10; }
.skip:focus { left: 8px; }
.dev-banner { background: #b3261e; color: #fff; text-align: center; font-size: 0.875rem; padding: 4px 16px; }

/* Header and navigation: without JS the menu is always visible; site.js turns it into a
   toggle on narrow screens. */
.site-header { background: var(--brand); color: var(--brand-ink); position: sticky; top: 0; z-index: 5; box-shadow: 0 1px 0 rgba(0,0,0,.08); }
.bar { display: flex; align-items: center; gap: 16px; min-height: 64px; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: 10px; color: inherit; text-decoration: none; font-weight: 700; font-size: 1.15rem; letter-spacing: .02em; }
.brand img { width: auto; height: 40px; }
#site-nav { margin-left: auto; display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.nav, .langs { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px; }
.nav a, .langs a { display: block; padding: 8px 12px; border-radius: 6px; color: inherit; text-decoration: none; transition: background-color .15s; }
.nav a:hover, .langs a:hover { background: rgba(255,255,255,.16); }
.nav a[aria-current], .langs a[aria-current] { background: rgba(255,255,255,.24); font-weight: 600; }
.langs a { font-size: .9rem; text-transform: uppercase; }
.menu-btn { margin-left: auto; font: inherit; color: inherit; background: transparent; border: 1px solid rgba(255,255,255,.6); border-radius: 6px; padding: 6px 14px; cursor: pointer; }
@media (max-width: 860px) {
  .js .menu-btn { display: block; }
  .js #site-nav { display: none; width: 100%; padding-bottom: 12px; flex-direction: column; align-items: stretch; }
  .js #site-nav.open { display: flex; }
  .js .nav { flex-direction: column; }
}
/* Desktop: a menu item never breaks inside, the row wraps between items (zt en, 2026-10-24). */
@media (min-width: 861px) { .menu-btn { display: none !important; } .nav a { white-space: nowrap; } }
/* Language switch on multilingual sites: smaller than the menu, set apart from it, lightly outlined
   buttons (as on rdsoft, 2026-10-25). Colours follow the header text colour (currentColor). */
.langs { gap: 4px; }
.langs a { font-size: .72rem; letter-spacing: .08em; padding: 4px 8px; border-radius: 4px; opacity: .8; box-shadow: inset 0 0 0 1px color-mix(in srgb, currentColor 20%, transparent); }
.langs a:hover { opacity: 1; background: color-mix(in srgb, currentColor 8%, transparent); }
.langs a[aria-current] { opacity: 1; background: transparent; font-weight: 600; box-shadow: inset 0 0 0 1px color-mix(in srgb, currentColor 60%, transparent); }
@media (min-width: 861px) {
  #site-nav { gap: 28px; }
  .langs { padding-left: 18px; border-left: 1px solid color-mix(in srgb, currentColor 22%, transparent); }
}
@media (max-width: 860px) { .js .langs { margin-top: 8px; padding: 10px 12px 0; border-top: 1px solid color-mix(in srgb, currentColor 18%, transparent); } }

main { padding-bottom: 48px; }
.lead { font-size: 1.2rem; color: var(--muted); max-width: 46em; }

.hero { margin: 24px 0 28px; border-radius: var(--radius); overflow: hidden; position: relative; background: linear-gradient(120deg, var(--brand), var(--accent)); color: #fff; }
.hero-text { padding: clamp(24px, 4vw, 48px); }
.hero .lead { color: rgba(255,255,255,.92); margin: 0; }
.hero.has-img { color: var(--ink); background: var(--bg-soft); }
.hero.has-img .lead { color: var(--muted); }
.hero.has-img .hero-img { width: 100%; max-height: 460px; object-fit: cover; }
.hero h1 { margin: 0 0 .3em; }

.slider { position: relative; margin: 24px 0; border-radius: var(--radius); overflow: hidden; background: var(--bg-soft); }
.slides { list-style: none; margin: 0; padding: 0; display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.slides::-webkit-scrollbar { display: none; }
.slide { flex: 0 0 100%; scroll-snap-align: start; }
.slide img { width: 100%; aspect-ratio: 16 / 9; max-height: 520px; object-fit: cover; }
.slider-nav button { position: absolute; top: 50%; transform: translateY(-50%); width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgba(0,0,0,.45); color: #fff; font-size: 1.6rem; line-height: 1; cursor: pointer; }
.slider-nav .prev { left: 12px; } .slider-nav .next { right: 12px; }

.figure { margin: 24px 0; }
.figure img { border-radius: var(--radius); }
.figure figcaption { color: var(--muted); font-size: .9rem; margin-top: 6px; }
.figure.small { max-width: 320px; }
@media (min-width: 700px) { .figure.float { float: right; margin: 0 0 16px 24px; max-width: 40%; } }
main::after { content: ""; display: block; clear: both; }

.table-wrap { overflow-x: auto; margin: 16px 0 24px; }
table { border-collapse: collapse; width: 100%; font-size: .975rem; }
caption { text-align: left; font-weight: 600; padding: 0 0 8px; }
th, td { text-align: left; vertical-align: top; padding: 10px 12px; border-bottom: 1px solid var(--line); }
thead th { background: var(--bg-soft); font-weight: 600; }
tbody tr:hover { background: #fafbfc; }

.contacts { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); margin: 16px 0 24px; }
.contact { border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 18px; }
.contact h3 { margin: 0 0 8px; font-size: 1.05rem; }
.contact ul { list-style: none; margin: 0; padding: 0; }
.contact li { margin: 4px 0; }
.c-label { color: var(--muted); }

.cards { list-style: none; margin: 16px 0 24px; padding: 0; display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }
/* cols: fixed number of columns on wide screens (pharmex products 4 × 3, 2026-10-24). */
@media (min-width: 861px) { .cards.c4 { grid-template-columns: repeat(4, 1fr); } .cards.c3 { grid-template-columns: repeat(3, 1fr); } }
.card { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #fff; }
.card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.card h3 { margin: 12px 16px 6px; font-size: 1.05rem; }
.card p { margin: 0 16px 16px; color: var(--muted); }

.gallery { list-style: none; padding: 0; margin: 16px 0 24px; display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); }
.gallery img { border-radius: 8px; aspect-ratio: 1; object-fit: cover; width: 100%; }

/* Expandable cards (details block). */
.xcards { display: grid; gap: 12px; margin: 16px 0 24px; }
.xcard { border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.xcard > summary { list-style: none; cursor: pointer; padding: 14px 52px 14px 18px; position: relative; display: flex; flex-direction: column; gap: 2px; }
.xcard > summary::-webkit-details-marker { display: none; }
.xcard > summary::after { content: "+"; position: absolute; right: 18px; top: 50%; transform: translateY(-50%); font-size: 1.6rem; line-height: 1; color: var(--brand); }
.xcard[open] > summary::after { content: "\2212"; }
.xcard > summary:hover { background: var(--bg-soft); }
.xcard > summary:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }
.xc-title { font-weight: 700; font-size: 1.1rem; }
.xc-sub { color: var(--muted); }
.xc-rows { margin: 0; padding: 4px 18px 16px; border-top: 1px solid var(--line); }
.xc-rows > div { padding-top: 12px; }
.xc-rows dt { font-weight: 600; }
.xc-rows dd { margin: 4px 0 0; }
.xc-rows dd p { margin: 0; }
.xc-rows dd ul { margin: 6px 0 0; }
.notice { border-left: 4px solid var(--accent); background: var(--bg-soft); padding: 16px 20px; border-radius: 0 var(--radius) var(--radius) 0; margin: 24px 0; }
.notice h2 { margin-top: 0; font-size: 1.2rem; }
.notice p:last-child { margin-bottom: 0; }

.pv-frame { display: block; width: 100%; min-height: 900px; border: 0; margin: 16px 0 24px; }
.file { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
.file .ext { font-size: .72rem; font-weight: 700; border: 1px solid currentColor; border-radius: 4px; padding: 0 4px; }
.file-list { padding-left: 1.1em; }
.file-list li { margin: 6px 0; }
.docs td.files { white-space: nowrap; }
.links li { margin: 6px 0; }

.video { margin: 24px 0; }
.video-play { position: relative; display: block; width: 100%; padding: 0; border: 0; background: #000; color: #fff; cursor: pointer; border-radius: var(--radius); overflow: hidden; aspect-ratio: 16 / 9; }
.video-play img { width: 100%; height: 100%; object-fit: cover; opacity: .7; }
.play-label { position: absolute; inset: auto 0 0 0; padding: 14px 18px; background: rgba(0,0,0,.6); font-size: 1.05rem; text-align: left; }
.video iframe { width: 100%; aspect-ratio: 16 / 9; border: 0; border-radius: var(--radius); }
.video figcaption { color: var(--muted); font-size: .85rem; margin-top: 6px; }

.site-footer { background: var(--bg-soft); border-top: 1px solid var(--line); color: var(--muted); font-size: .95rem; padding: 24px 0; }
.site-footer p { margin: 0 0 6px; }

@media print { .site-header, .site-footer, .dev-banner, .slider-nav { display: none; } }

/* Catalogue and body map (ZT-4, PX-4, ZN-P3). */
.cat-controls { display: flex; flex-wrap: wrap; gap: 12px 20px; align-items: flex-end; margin: 16px 0; padding: 16px; background: var(--bg-soft); border-radius: var(--radius); }
.cat-controls label { display: flex; flex-direction: column; gap: 4px; font-size: .9rem; color: var(--muted); }
.cat-controls input, .cat-controls select { font: inherit; color: var(--ink); padding: 8px 10px; border: 1px solid var(--line); border-radius: 6px; min-width: 200px; background: #fff; }
.cat-count { margin: 0 0 0 auto; }
.cat-item[hidden] { display: none; }
.card-noimg { aspect-ratio: 4 / 3; background: var(--bg-soft); }
.bodymap { display: grid; gap: 24px; grid-template-columns: minmax(180px, 280px) 1fr; align-items: start; margin: 16px 0 32px; }
@media (max-width: 640px) { .bodymap { grid-template-columns: 1fr; } .bodymap svg { max-width: 220px; margin: 0 auto; } }
.bodymap svg { width: 100%; height: auto; }
.bodymap .zone polygon { fill: var(--accent); fill-opacity: 0; stroke: none; transition: fill-opacity .15s; cursor: pointer; }
.bodymap .zone:hover polygon, .bodymap .zone:focus polygon, .bodymap .zone.active polygon { fill-opacity: .35; }
.bodymap-legend { margin: 0; padding-left: 1.2em; }
.bodymap-legend li { margin: 6px 0; }
.bodymap-legend a.active { font-weight: 700; }
.cat-list { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
.cat-list .card h3 { font-size: 1rem; }

/* RD-SOFT (redesign 2026-10-24): the look of the solution cards — dark navy hero with a grid,
   indigo accent, flat white cards, small-caps labels, monospace tags. ClimaCerto pages use the
   teal variant (.sol-teal). System fonts only, no external resources (RK-P7). */
:root {
  --brand: #121728; --accent: #3C53A8; --bg: #EEF0F5; --bg-soft: #F6F7FB; --line: #D2D6E2; --ink: #141A2A; --muted: #5A6281; --radius: 4px;
  --sol-accent: #3C53A8; --sol-cool: #6E86C8; --sol-warm: #B9682C; --sol-ok: #2C8A5F; --sol-partial: #AD831B; --sol-no: #BE3F3F;
  --sol-card: #FFFFFF; --sol-tagbg: #E3E7F4; --sol-tagtext: #2F4293;
  --sol-hero: #121728; --sol-grid: rgba(110,134,200,.07); --sol-hb: #262D47; --sol-ht: #DEE2F0; --sol-hm: #8A93B5; --sol-hs: #1A2033;
  --sol-htagbg: #212944; --sol-htag: #93A6E6;
  --mono: "Courier New", Consolas, ui-monospace, monospace;
}
.sol-teal {
  --sol-accent: #0E8EAF; --sol-cool: #40B9D8; --sol-warm: #E8834A; --sol-ok: #2E9E6E; --sol-partial: #C08A18; --sol-no: #C94040;
  --sol-tagbg: #DFF0F6; --sol-tagtext: #0E6E8A; --line: #C5D8E0;
  --sol-hero: #0B1D27; --sol-grid: rgba(28,175,212,.07); --sol-hb: #1E3B50; --sol-ht: #D8EBF3; --sol-hm: #7FA9BD; --sol-hs: #122030;
  --sol-htagbg: #0D2A3A; --sol-htag: #4DC4E8;
}
body.site-rdsoft { overflow-x: clip; }
.site-rdsoft .brand img { height: 60px; }
.site-rdsoft .site-header { box-shadow: 0 1px 0 #262D47; }
/* Language switch: geometry in base.css (2026-10-25), colours of the dark header here. */
.site-rdsoft .langs a { color: #8A93B5; opacity: 1; box-shadow: inset 0 0 0 1px #262D47; }
.site-rdsoft .langs a:hover { color: #fff; background: transparent; }
.site-rdsoft .langs a[aria-current] { color: #fff; box-shadow: inset 0 0 0 1px #4A5580; }
@media (min-width: 861px) { .site-rdsoft #site-nav { gap: 32px; } .site-rdsoft .langs { border-left-color: #2E3655; } }
.site-rdsoft main a { color: var(--sol-accent); }
.site-rdsoft main > h1:first-child { margin-top: 1em; }
.site-rdsoft code { font-family: var(--mono); font-size: .92em; }

/* Icons: colours are tokens from the content (gen/lib/solution.mjs). */
.s-accent { stroke: var(--sol-accent); } .s-cool { stroke: var(--sol-cool); } .s-warm { stroke: var(--sol-warm); } .s-ok { stroke: var(--sol-ok); }
.s-muted { stroke: var(--muted); } .s-tag { stroke: var(--sol-htag); } .s-white { stroke: #fff; } .s-card { stroke: var(--sol-card); }
.f-accent { fill: var(--sol-accent); } .f-cool { fill: var(--sol-cool); } .f-warm { fill: var(--sol-warm); } .f-ok { fill: var(--sol-ok); }
.f-muted { fill: var(--muted); } .f-tag { fill: var(--sol-htag); } .f-white { fill: #fff; } .f-card { fill: var(--sol-card); }
.sol-icon { width: 32px; height: 32px; flex-shrink: 0; }
.sol-mark { width: 36px; height: 36px; flex-shrink: 0; }

/* Hero: full width under the header. */
.sol-hero {
  width: 100vw; margin: 0 calc(50% - 50vw) 8px; padding: 52px 16px 48px; color: var(--sol-ht);
  background-color: var(--sol-hero);
  background-image: linear-gradient(var(--sol-grid) 1px, transparent 1px), linear-gradient(90deg, var(--sol-grid) 1px, transparent 1px);
  background-size: 32px 32px;
}
.sol-inner { max-width: calc(var(--wrap) - 32px); margin: 0 auto; }
.sol-top { display: flex; align-items: center; gap: 14px; margin-bottom: 36px; flex-wrap: wrap; }
.sol-brand { font-size: .8rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; }
.sol-tag { margin-left: auto; font-family: var(--mono); font-size: .7rem; letter-spacing: .06em; color: var(--sol-htag); background: var(--sol-htagbg); border: 1px solid rgba(147,166,230,.2); padding: 3px 10px; border-radius: 2px; }
.sol-h1 { font-size: clamp(1.65rem, 1rem + 3vw, 2.6rem); font-weight: 700; letter-spacing: -.03em; line-height: 1.15; color: #fff; margin: 0 0 14px; max-width: 22em; text-wrap: balance; }
.sol-h1 em { font-style: normal; color: var(--sol-cool); }
.sol-sub { color: var(--sol-hm); max-width: 40em; margin: 0 0 36px; font-size: 1rem; }
.sol-sub strong { color: var(--sol-ht); }
.site-rdsoft .sol-sub a { color: var(--sol-htag); }
.sol-cta { display: flex; gap: 12px; flex-wrap: wrap; margin: -12px 0 36px; }
.site-rdsoft .sol-cta a { display: inline-block; padding: 10px 18px; border-radius: 4px; border: 1px solid var(--sol-htag); color: #fff; text-decoration: none; font-weight: 600; }
.site-rdsoft .sol-cta a:first-child { background: var(--sol-accent); border-color: var(--sol-accent); }
.site-rdsoft .sol-cta a:hover { filter: brightness(1.15); }

.sol-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; padding: 14px 18px; background: rgba(0,0,0,.22); border: 1px solid var(--sol-hb); border-radius: 4px; margin-bottom: 28px; }
.sol-gate { display: inline-flex; align-items: baseline; gap: 6px; }
.sol-gl, .sol-barnote { font-size: .64rem; letter-spacing: .1em; text-transform: uppercase; color: var(--sol-hm); }
.sol-gv { font-family: var(--mono); font-weight: 700; font-size: .95rem; font-variant-numeric: tabular-nums; }
.sol-sep { width: 1px; height: 20px; background: var(--sol-hb); }
.sol-barnote { margin-left: auto; }
.t-ok { color: var(--sol-ok); } .t-cool { color: var(--sol-cool); } .t-warm { color: var(--sol-warm); } .t-tag { color: var(--sol-htag); } .t-accent { color: var(--sol-htag); }
.sol-hero .t-ok { color: #3BAD78; }

.sol-stats { list-style: none; margin: 0 0 36px; padding: 0; display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 1px; background: var(--sol-hb); border: 1px solid var(--sol-hb); border-radius: 4px; overflow: hidden; }
.sol-stats li { background: var(--sol-hs); padding: 18px; display: flex; flex-direction: column; gap: 6px; }
.sol-sv { font-family: var(--mono); font-size: 1.75rem; font-weight: 700; letter-spacing: -.02em; line-height: 1; color: #fff; font-variant-numeric: tabular-nums; }
.sol-sv.small { font-size: 1.15rem; padding-top: 6px; font-family: var(--font); }
.sol-sl { font-size: .66rem; letter-spacing: .1em; text-transform: uppercase; color: var(--sol-hm); font-weight: 500; }

.sol-funcs { display: grid; grid-template-columns: 1fr 1fr; gap: 0 40px; margin-bottom: 32px; }
.sol-ft { grid-column: 1 / -1; font-size: .66rem; letter-spacing: .14em; text-transform: uppercase; color: var(--sol-hm); font-weight: 600; padding-bottom: 10px; border-bottom: 1px solid var(--sol-hb); margin: 0 0 14px; }
.sol-bullets { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 7px; }
/* Not flex: a flex item would split inline content (<code>) into columns. */
.sol-bullets li { position: relative; padding-left: 14px; font-size: .9rem; }
.sol-bullets li::before { content: ""; position: absolute; left: 0; top: .62em; width: 4px; height: 4px; border-radius: 50%; background: var(--sol-htag); }
.sol-hero .sol-bullets + .sol-bullets { margin-top: 0; }
.sol-tags { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.sol-tags li, .sol-card-tags span { font-family: var(--mono); font-size: .7rem; letter-spacing: .05em; color: var(--sol-htag); background: var(--sol-htagbg); border: 1px solid rgba(147,166,230,.18); padding: 4px 10px; border-radius: 2px; }

/* Sections on the light background. */
.sol-sec { margin: 48px 0; }
.sol-eyebrow { font-size: .66rem; letter-spacing: .16em; text-transform: uppercase; font-weight: 600; color: var(--sol-accent); margin: 0 0 8px; }
.sol-title { font-size: 1.65rem; font-weight: 700; letter-spacing: -.03em; margin: 0; text-wrap: balance; }
.sol-desc { margin: 10px 0 0; color: var(--muted); max-width: 40em; }
.sol-grid { list-style: none; padding: 0; margin: 28px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.sol-grid.c4 { grid-template-columns: repeat(4, 1fr); }
.sol-fcard { background: var(--sol-card); border: 1px solid var(--line); border-radius: 4px; padding: 22px 20px; display: flex; flex-direction: column; gap: 10px; }
.sol-fcard h3 { margin: 0; font-size: .95rem; font-weight: 700; letter-spacing: -.01em; }
.sol-fcard p { margin: 0; font-size: .87rem; color: var(--muted); }
.sol-fcard .sol-bullets li { font-size: .87rem; color: var(--muted); }
.sol-fcard .sol-bullets li::before { background: var(--sol-accent); }
.sol-hl { margin-top: auto !important; padding-top: 10px; border-top: 1px solid var(--line); font-family: var(--mono); font-size: .76rem !important; color: var(--sol-accent) !important; }
.sol-grid.c4 .sol-fcard { padding: 14px 16px; }

.sol-table { border: 1px solid var(--line); border-radius: 4px; margin-top: 28px; background: var(--sol-card); }
.sol-table table { min-width: 720px; font-size: .88rem; }
.sol-table thead th { font-size: .66rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); background: var(--bg-soft); white-space: nowrap; }
.sol-table thead th.ours { color: var(--sol-accent); background: var(--sol-tagbg); }
.sol-table tbody th { font-weight: 400; color: var(--muted); min-width: 13em; }
.sol-table td.ours { background: color-mix(in srgb, var(--sol-tagbg) 50%, transparent); }
.sol-table tbody tr:hover { background: transparent; }
.sol-table .mk { font-weight: 700; }
.m-ok .mk { color: var(--sol-ok); } .m-no .mk { color: var(--sol-no); } .m-partial { color: var(--sol-partial); font-size: .82rem; } .m-na { color: var(--muted); font-size: .82rem; }
.sol-tnote { font-size: .8rem; color: var(--muted); margin-top: 12px; }
.sol-note { margin: 28px 0; padding: 16px 20px; background: var(--bg-soft); border-left: 3px solid var(--sol-accent); border-radius: 0 4px 4px 0; font-size: .9rem; color: var(--muted); }
.sol-note p { margin: 0; } .sol-note strong { color: var(--ink); }

/* Solution catalogue cards. */
.sol-cards { list-style: none; padding: 0; margin: 28px 0 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 16px; }
.sol-card { display: flex; }
.site-rdsoft .sol-card-link { flex: 1; display: flex; flex-direction: column; gap: 8px; padding: 22px 20px; background: var(--sol-card); border: 1px solid var(--line); border-radius: 4px; color: var(--ink); text-decoration: none; transition: border-color .15s, box-shadow .15s; }
.site-rdsoft .sol-card-link:hover { border-color: var(--sol-accent); box-shadow: 0 2px 12px rgba(20,26,42,.08); }
.sol-card .sol-mark { background: var(--sol-hero); border-radius: 4px; padding: 6px; width: 44px; height: 44px; margin-bottom: 6px; }
.sol-card-kicker { font-size: .66rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 600; color: var(--sol-accent); }
.sol-card-name { font-size: 1.1rem; font-weight: 700; letter-spacing: -.01em; }
.sol-card-text { font-size: .9rem; color: var(--muted); }
.sol-card-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 4px; }
.sol-card-tags span { color: var(--sol-tagtext); background: var(--sol-tagbg); border-color: transparent; }
.sol-card-more { margin-top: auto; padding-top: 10px; font-weight: 600; color: var(--sol-accent); font-size: .9rem; }

@media (max-width: 860px) {
  .sol-stats { grid-auto-flow: row; grid-template-columns: repeat(2, 1fr); }
  .sol-stats li:last-child:nth-child(odd) { grid-column: span 2; }
  .sol-funcs { grid-template-columns: 1fr; gap: 7px; }
  .sol-ft { grid-column: 1; }
  .sol-grid, .sol-grid.c4 { grid-template-columns: 1fr 1fr; }
  .sol-barnote { display: none; }
}
@media (max-width: 540px) {
  .sol-hero { padding: 36px 16px 40px; }
  .sol-grid, .sol-grid.c4 { grid-template-columns: 1fr; }
  .sol-sep { display: none; }
  .sol-tag { margin-left: 0; }
}
