/* Тавантолгой ХК — сайтын стиль. Өнгө, зай, радиус ЗӨВХӨН tokens.css хувьсагчаар.
   Эх: design/*.dc.html inline стилийг класс болгон буулгасан; design-system/README дүрэм. */

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--surface-page);
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--brand); }
a:hover { color: var(--brand-hover); }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
h1, h2, h3, h4 { margin: 0; overflow-wrap: anywhere; }
p { margin: 0; }
.num { font-variant-numeric: tabular-nums; }
.muted { color: var(--ink-muted); }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: var(--space-4); top: -100px; background: var(--brand); color: var(--on-brand); padding: var(--space-3) var(--space-4); border-radius: var(--radius-sm); z-index: 10; }
.skip-link:focus { top: var(--space-4); color: var(--on-brand); }

/* ─── Хэмжээс ─────────────────────────────────────────────────────── */
.container { max-width: var(--content-max); margin: 0 auto; padding-left: var(--space-6); padding-right: var(--space-6); }
.g2, .g3, .g4 { display: grid; gap: var(--space-5); }
.g2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.g3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.g4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.split { display: flex; flex-wrap: wrap; gap: var(--space-7); }
.split__main { flex: 999 1 520px; min-width: 0; }
.split__aside { flex: 1 1 340px; min-width: 0; }
.split--reverse .split__aside { order: -1; }
.btn-row { display: flex; flex-wrap: wrap; gap: var(--space-3); }

/* ─── Хэсэг ───────────────────────────────────────────────────────── */
.section { padding-top: var(--space-9); }
.section--tight { padding-top: 72px; }
.section--last { padding-bottom: 96px; }
.section__head { display: flex; flex-wrap: wrap; gap: 20px 40px; align-items: flex-end; justify-content: space-between; margin-bottom: 40px; }
.section__intro { max-width: 62ch; }
.section__title { margin-bottom: 14px; }
.section__lead { color: var(--ink-muted); font-size: 19px; line-height: 30px; }
.section__head--inverse .section__title { color: var(--ink-inverse); }
.section__head--inverse .section__lead { color: var(--ink-inverse-muted); }
.prose { font-size: 19px; line-height: 30px; color: var(--ink-strong); margin-bottom: 18px; }
.link-more { font-weight: 600; font-size: 15px; display: inline-block; padding: 10px 0; min-height: 44px; }
.kicker { margin: 0 0 12px; font-size: 14px; line-height: 20px; letter-spacing: 0.08em; text-transform: uppercase; font-weight: 600; color: var(--brand); }
.kicker--inverse { color: var(--brand-soft); letter-spacing: 0.14em; }
.note { margin-top: var(--space-5); font-size: 13px; line-height: 20px; color: var(--ink-subtle); max-width: 70ch; }
.empty-state { background: var(--surface-sunken); border: 1px solid var(--border); border-radius: var(--radius-md); padding: var(--space-5) var(--space-6); color: var(--ink-muted); font-size: 15px; line-height: 23px; }

/* ─── Товч (components/Button) ────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; text-align: center;
  font: inherit; font-size: 15px; line-height: 20px; font-weight: 600; text-decoration: none;
  min-height: 46px; padding: 13px 24px; border-radius: var(--radius-sm); border: 1px solid transparent; cursor: pointer;
}
.btn--primary { background: var(--brand); color: var(--on-brand); border-color: var(--brand); }
.btn--primary:hover, .btn--primary:focus-visible { background: var(--brand-hover); border-color: var(--brand-hover); color: var(--on-brand); }
.btn--secondary { background: transparent; color: var(--brand); border-color: var(--brand); }
.btn--secondary:hover { color: var(--brand-hover); border-color: var(--brand-hover); }
.btn--ghost-inverse { background: transparent; color: var(--ink-inverse); border-color: var(--ink-inverse-faint); }
.btn--ghost-inverse:hover { color: var(--ink-inverse); border-color: var(--ink-inverse-muted); }
.btn--lg { padding: 16px 30px; }
.btn--block { display: flex; width: 100%; margin-bottom: 12px; }
.btn[aria-disabled="true"] { opacity: 0.55; cursor: not-allowed; }

/* ─── Utility bar ─────────────────────────────────────────────────── */
/* HANDOFF-2 §5: дээд мэдээллийн мөр surface-sunken — хуудасны цорын ганц бараан гадаргуу = хөл */
.utility { background: var(--surface-sunken); color: var(--ink-strong); font-size: 13px; line-height: 20px; border-bottom: 1px solid var(--border); }
.utility__inner { padding-top: 10px; padding-bottom: 10px; display: flex; flex-wrap: wrap; gap: 8px 28px; align-items: center; justify-content: space-between; }
.utility__meta { display: flex; flex-wrap: wrap; gap: 6px 20px; align-items: center; }
.utility__meta a { color: var(--ink-strong); text-decoration: none; }
.utility__sep { color: var(--breadcrumb-separator); }
.utility__right { display: flex; flex-wrap: wrap; gap: 8px 20px; align-items: center; }
.utility__quote { display: inline-flex; align-items: center; gap: 8px; color: var(--ink); text-decoration: none; }
.utility__quote-label { color: var(--ink-muted); }
.lang { display: flex; gap: 10px; }
.lang a { color: var(--ink-muted); text-decoration: none; padding: 6px 0; }
.lang a[aria-current="page"] { color: var(--ink); font-weight: 600; }
.delta { font-weight: 600; }
.delta--up { color: var(--positive); }
.delta--down { color: var(--negative); }
.delta--flat { color: var(--ink-muted); }

/* ─── Толгой ──────────────────────────────────────────────────────── */
.header { background: var(--surface-page); border-bottom: 1px solid var(--border-subtle); }
.header__inner { padding-top: 18px; padding-bottom: 18px; display: flex; flex-wrap: wrap; gap: 16px var(--space-6); align-items: center; justify-content: space-between; }
.logo { display: inline-flex; align-items: center; flex-shrink: 0; }
.logo img { height: 52px; width: auto; }
.logo__text { font-family: var(--font-display); font-weight: 600; font-size: 23px; color: var(--ink); }
.nav { display: flex; flex-wrap: wrap; gap: 4px 26px; align-items: center; font-size: 15px; font-weight: 600; }
.nav a { color: var(--ink); text-decoration: none; padding: 12px 0; min-height: 44px; display: inline-flex; align-items: center; }
.nav a:hover { text-decoration: underline; color: var(--ink); }
.header__cta { flex-shrink: 0; padding: 14px 24px; }

/* ─── Hero: бүтэн өргөн зураг, зүүн талын градиент давхарга (хэрэглэгч 2026-10-16) ─── */
.hero { background: var(--surface-placeholder); position: relative; overflow: hidden; min-height: clamp(560px, 74vh, 760px); display: flex; align-items: center; }
.hero .hero__media { position: absolute; inset: 0; background: transparent; border: 0; border-radius: 0; color: var(--ink-inverse-ghost); min-height: 0; padding: 0; }
.hero__photo { position: absolute; inset: 0; display: block; }
.hero__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 68% 50%; display: block; }
/* Зургийн гол цэг (тохиргоо home.heroFocus): объект аль талд байна — дэлгэц нарийсахад тэр хэсэг үлдэнэ */
.hero__photo--left img { object-position: 32% 50%; }
.hero__photo--center img { object-position: 50% 50%; }
.hero__photo--right img { object-position: 68% 50%; }
/* Зөвхөн зүүн тал (бичвэрийн ард) — бүтэн зургийг хучсан жигд бараан давхарга БАЙХГҮЙ */
.hero__photo::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(20, 17, 15, 0.55) 0%, rgba(20, 17, 15, 0.3) 36%, rgba(20, 17, 15, 0) 60%); }
.hero__inner { position: relative; width: 100%; padding-top: 112px; padding-bottom: 96px; }
.hero__text { max-width: 640px; }
.hero .kicker--inverse { color: var(--hero-kicker); }
.hero__title { color: var(--on-brand); max-width: 15ch; margin-bottom: 24px; text-shadow: 0 1px 2px rgba(0, 0, 0, 0.25); }
.hero__lead { margin-bottom: 36px; font-size: 19px; line-height: 1.6; color: var(--ink-inverse); max-width: 46ch; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }
.btn--hero-light { background: rgba(255, 255, 255, 0.92); color: var(--ink); border-color: transparent; }
.btn--hero-light:hover, .btn--hero-light:focus-visible { background: var(--on-brand); color: var(--ink); }

/* ─── Байрлагч (зураг ороогүй) ────────────────────────────────────── */
.placeholder-box {
  background: var(--surface-placeholder); border: 1px solid var(--border); border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center; text-align: center;
  color: var(--ink-on-placeholder); font-size: 13px; letter-spacing: 0.06em; text-transform: uppercase; padding: var(--space-5); min-height: 170px;
}
.placeholder-box--tall { min-height: 340px; border-radius: 20px; background: var(--surface-placeholder-alt); }
.placeholder-box--wide { aspect-ratio: 16 / 10; border-radius: 20px; }

/* ─── Brand зурвас (DataPanel брэндийн хэлбэр) ────────────────────── */
/* ─── Brand зурвас: улаан дэвсгэр, цагаан тоо, тайлбар on-brand-caption — карт биш (хэрэглэгч 2026-10-16) ── */
.figures { background: var(--brand); color: var(--on-brand-soft); }
/* Багана тогтмол биш: тоо бүр өөрийн өргөнөөр, 80px зай, зүүн тийш жигдэрнэ; хооронд нь 1px босоо зураас (§5) */
.figures__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, max-content)); column-gap: 80px; row-gap: 24px; justify-content: start; padding-top: 40px; padding-bottom: 40px; }
.stat { position: relative; background: transparent; border: 0; border-radius: 0; padding: 0; }
.stat + .stat::before { content: ''; position: absolute; left: -40px; top: 6px; bottom: 6px; width: 1px; background: rgba(255, 255, 255, 0.18); }
@media (max-width: 767px) {
  .stat + .stat::before { display: none; }
}
.stat__value { color: var(--on-brand); }
.stat__unit { font-size: 24px; }
.stat__caption { margin-top: 6px; font-size: 14px; line-height: 20px; color: var(--on-brand-caption); }

/* ─── Карт ────────────────────────────────────────────────────────── */
.cards { align-items: stretch; }
.product-card, .news-card, .info-card {
  background: var(--surface-raised); border: 1px solid var(--border); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card); overflow: hidden; display: flex; flex-direction: column; min-width: 0;
}
.product-card__media, .news-card__media { border: 0; border-radius: 0; min-height: 170px; }
.product-card__body { padding: 26px; display: flex; flex-direction: column; gap: 18px; flex-grow: 1; }
.product-card__title a { color: var(--ink); text-decoration: none; }
.product-card__title a:hover { color: var(--brand); }
.product-card__summary { margin-top: 6px; color: var(--ink-muted); font-size: 15px; line-height: 23px; }
.product-card__cta { margin-top: auto; }
.availability { font-size: 14px; font-weight: 600; }
.availability--available { color: var(--positive); }
.availability--limited { color: var(--negative); }
.availability--unavailable { color: var(--ink-muted); }

.spec-list { margin: 0; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px 16px; font-size: 15px; line-height: 23px; border-top: 1px solid var(--border-subtle); padding-top: 18px; }
.spec-list dt { color: var(--ink-muted); }
.spec-list dd { margin: 0; font-weight: 600; text-align: right; overflow-wrap: anywhere; }
.spec-list--inverse { border-top-color: var(--border-inverse); }
.spec-list--inverse dt { color: var(--ink-inverse-dim); }
.spec-list--inverse dd { color: var(--ink-inverse); }
.spec-list--card { background: var(--surface-raised); border: 1px solid var(--border); border-radius: var(--radius-lg); box-shadow: var(--shadow-card); padding: 22px 24px; margin-bottom: 28px; font-size: 16px; gap: 14px 16px; }

.info-card { padding: 30px; }
.info-card__title { margin-bottom: 10px; font-family: var(--font-display); font-weight: 600; font-size: 23px; line-height: 29px; }
.info-card__body { margin-bottom: 18px; color: var(--ink-muted); font-size: 15px; line-height: 23px; }
.info-card .spec-list { margin-top: auto; }

.news-card__body { padding: 24px; }
.news-card__meta { margin-bottom: 10px; font-size: 13px; line-height: 20px; color: var(--ink-muted); display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.news-card__title { font-size: 19px; line-height: 1.35; font-weight: 600; }
.news-card__title a { color: var(--ink); text-decoration: none; }
.news-card__title a:hover { color: var(--brand); }
.tag { color: var(--on-brand); padding: 4px 10px; border-radius: var(--radius-full); font-weight: 600; font-size: 11px; letter-spacing: 0.04em; text-transform: uppercase; background: var(--brand); white-space: nowrap; }
.tag--tender { background: var(--tag-tender); }
.tag--community { background: var(--tag-community); }

/* ─── Самбар ──────────────────────────────────────────────────────── */
.panel { background: var(--surface-raised); border: 1px solid var(--border); border-radius: var(--radius-xl); box-shadow: var(--shadow-card); padding: var(--space-7); }
/* HANDOFF-2 §5: surface-inverse самбар байхгүй — цайвар, зүүн талдаа 6px brand зураас */
.panel--accent { border-left: 6px solid var(--brand); padding: 52px 52px 52px 46px; }
.panel--accent .section__head { margin-bottom: 40px; }
.panel--cta { display: flex; flex-wrap: wrap; gap: 28px var(--space-7); align-items: center; justify-content: space-between; padding: 48px 52px 48px 46px; }
.panel--cta h2 { color: var(--ink); margin-bottom: 10px; }
.panel--cta .section__lead { color: var(--ink-muted); font-size: 16px; line-height: 25px; max-width: 52ch; }
.panel .section__head { margin-bottom: 32px; }
.steps { margin: 0; padding: 36px 0 0; list-style: none; gap: 28px; border-top: 1px solid var(--border); }
.step__no { font-family: var(--font-display); font-size: 15px; color: var(--brand); font-weight: 600; margin-bottom: 10px; }
.step__title { margin-bottom: 6px; font-size: 17px; font-weight: 600; color: var(--ink); }
.step__body { font-size: 15px; line-height: 23px; color: var(--ink-muted); }

/* ─── Зурвас (surface-sunken) ─────────────────────────────────────── */
.band { background: var(--surface-sunken); margin-top: var(--space-9); border-top: 1px solid var(--border-subtle); border-bottom: 1px solid var(--border-subtle); padding: 80px 0; }

/* ─── Хувьцааны самбар (DataPanel бараан) ─────────────────────────── */
/* HANDOFF-2 §5: хувьцааны самбар цайвар карт */
.share-panel { background: var(--surface-raised); color: var(--ink); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 38px; box-shadow: var(--shadow-card); }
.share-panel .kicker { margin-bottom: 6px; }
.share-panel__price { display: flex; align-items: baseline; gap: 12px; margin-bottom: 4px; color: var(--ink); }
.share-panel__currency { font-size: 20px; color: var(--ink-muted); }
.share-panel__change { margin-bottom: 24px; font-size: 15px; }
.share-panel .spec-list { margin-bottom: 24px; padding-top: 20px; }
.share-panel__empty { margin: 12px 0 20px; font-size: 16px; line-height: 25px; color: var(--ink-muted); }
.share-panel__source { font-size: 13px; line-height: 20px; color: var(--ink-subtle); }
.share-panel__link { display: inline-block; margin-top: 18px; color: var(--brand); font-weight: 600; font-size: 15px; padding: 10px 0; }

/* ─── Жагсаалтууд ─────────────────────────────────────────────────── */
.doc-list, .job-list { margin: 0 0 28px; padding: 0; list-style: none; border-top: 1px solid var(--border-subtle); }
.doc-list__item, .job { border-bottom: 1px solid var(--border-subtle); padding: 20px 0; display: flex; flex-wrap: wrap; gap: 12px 24px; align-items: center; justify-content: space-between; }
.doc-list__title { font-weight: 600; font-size: 17px; }
.doc-list__meta { color: var(--ink-muted); font-size: 14px; white-space: nowrap; }
.job__title { font-weight: 600; font-size: 18px; text-decoration: none; }
.job__meta { margin-top: 4px; font-size: 14px; line-height: 20px; color: var(--ink-muted); }
.contact-list { margin: 0 0 var(--space-5); display: grid; grid-template-columns: minmax(0, auto) minmax(0, 1fr); gap: 14px 24px; font-size: 17px; }
.contact-list dt { color: var(--ink-muted); }
.contact-list dd { margin: 0; font-weight: 600; overflow-wrap: anywhere; }

/* ─── Хуудасны толгой, замын мөр ──────────────────────────────────── */
.page-head { padding-top: var(--space-5); padding-bottom: 40px; }
.page-head--compact { padding-bottom: var(--space-5); }
.page-title { margin: 20px 0 14px; }
.page-lead { font-size: 19px; line-height: 30px; color: var(--ink-strong); max-width: 68ch; margin-bottom: var(--space-5); }
.breadcrumb { font-size: 14px; line-height: 20px; color: var(--ink-muted); display: flex; flex-wrap: wrap; gap: 4px 8px; }
.breadcrumb a { text-decoration: none; }
.breadcrumb__sep { color: var(--breadcrumb-separator); }
.breadcrumb [aria-current="page"] { color: var(--ink); }

/* ─── Хүснэгт ─────────────────────────────────────────────────────── */
.tt-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.tt-scroll > table { min-width: 640px; }
.table-card { background: var(--surface-raised); border: 1px solid var(--border); border-radius: var(--radius-xl); box-shadow: var(--shadow-card); overflow: hidden; }
.spec-table { width: 100%; border-collapse: collapse; font-size: 16px; }
.spec-table caption { text-align: left; padding: 24px 28px 0; color: var(--ink-muted); font-size: 15px; }
.spec-table th, .spec-table td { padding: 16px 28px; border-bottom: 1px solid var(--border-subtle); text-align: left; }
.spec-table thead th { padding: 18px 28px; font-size: 14px; letter-spacing: 0.04em; text-transform: uppercase; color: var(--ink-muted); font-weight: 600; }
.spec-table tbody th { font-weight: 400; }
.spec-table .num-col { text-align: right; }
.spec-table tbody td.num { font-weight: 600; }

/* ─── Контент блок ────────────────────────────────────────────────── */
.blocks > * + * { margin-top: 18px; }
.blocks p { font-size: 17px; line-height: 1.6; color: var(--ink-strong); }
.blocks h2 { margin-top: 40px; }
.blocks ul { padding-left: 22px; font-size: 17px; line-height: 1.6; color: var(--ink-strong); }
.blocks li + li { margin-top: 8px; }
.blocks .note, .note { font-size: 15px; line-height: 23px; color: var(--ink-muted); background: var(--surface-sunken); border-left: 3px solid var(--brand-soft); padding: 14px 18px; border-radius: 0 var(--radius-sm) var(--radius-sm) 0; }
.contact-inline { font-size: 17px; line-height: 1.6; color: var(--ink-strong); }
.topic { margin-top: 64px; }
.topic h2 { margin-bottom: 14px; }

/* ─── Хэрэглээний чиглэл, FAQ (WEB-002) ───────────────────────────── */
.applications { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: var(--space-3) var(--space-5); }
.applications li { background: var(--surface-raised); border: 1px solid var(--border); border-radius: var(--radius-md); padding: 18px 22px; font-size: 17px; font-weight: 400; }
.faq { border-top: 1px solid var(--border-subtle); }
.faq__item { border-bottom: 1px solid var(--border-subtle); }
.faq__q { cursor: pointer; list-style: none; padding: 20px 44px 20px 0; font-size: 18px; font-weight: 600; line-height: 1.35; position: relative; min-height: 44px; }
.faq__q::-webkit-details-marker { display: none; }
.faq__q::after { content: '+'; position: absolute; right: 8px; top: 50%; transform: translateY(-50%); font-size: 24px; font-weight: 400; color: var(--brand); }
.faq__item[open] .faq__q::after { content: '−'; }
.faq__a { padding: 0 0 22px; font-size: 16px; line-height: 25px; color: var(--ink-strong); max-width: 72ch; }

/* ─── Алдааны хуудас ──────────────────────────────────────────────── */
.error-page { padding-top: 96px; padding-bottom: 128px; max-width: 760px; }
.error-page h1 { margin: 12px 0 18px; }
.error-page__ref { margin-top: var(--space-6); font-size: 14px; color: var(--ink-muted); }
.error-page code { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 13px; background: var(--surface-sunken); padding: 2px 6px; border-radius: 4px; overflow-wrap: anywhere; }

/* ─── Хөл ─────────────────────────────────────────────────────────── */
.footer { background: var(--surface-inverse); color: var(--ink-inverse-muted); padding: var(--space-8) 0 var(--space-6); font-size: 15px; }
.footer__grid { display: flex; flex-wrap: wrap; gap: var(--space-7); justify-content: space-between; margin-bottom: var(--space-7); }
.footer__brand { flex: 1 1 280px; min-width: 0; }
.footer__brand img { height: 56px; width: auto; margin-bottom: 20px; }
.footer__brand p { margin-bottom: 8px; }
.footer__brand a { color: var(--ink-inverse-muted); text-decoration: none; }
.footer__col { flex: 1 1 180px; min-width: 0; }
.footer__heading { margin-bottom: 16px; font-family: var(--font-sans); font-size: 13px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-inverse-subtle); font-weight: 600; }
.footer__col ul { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 12px; }
.footer__col a { color: var(--ink-inverse-body); text-decoration: none; }
.footer__col a:hover { text-decoration: underline; color: var(--ink-inverse); }
.footer__legal { border-top: 1px solid var(--border-inverse); padding-top: var(--space-5); display: flex; flex-wrap: wrap; gap: 12px 28px; justify-content: space-between; font-size: 14px; color: var(--ink-inverse-subtle); }
.footer__legal-links { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.footer__legal-links a { color: var(--ink-inverse-subtle); text-decoration: none; padding: 4px 0; }

/* ─── Утасны өргөн (README: 960 → 2 багана, 600 → 1 багана) ───────── */
@media (max-width: 960px) {
  .g4, .g3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero__title { font-size: 48px; line-height: 1.08; }
  .stat__value { font-size: 36px; line-height: 36px; }
  .hero__inner { padding-top: 96px; padding-bottom: 72px; }
}
@media (max-width: 600px) {
  .g4, .g3, .g2 { grid-template-columns: minmax(0, 1fr); }
  .container { padding-left: var(--space-4); padding-right: var(--space-4); }
  .hero__title { font-size: 38px; line-height: 1.1; }
  .section__title, .page-title, .t-display-lg { font-size: 30px; line-height: 36px; }
  .panel, .panel--dark, .panel--cta { padding: 28px 22px; }
  .share-panel { padding: 26px 22px; }
  .section { padding-top: 64px; }
  .band { margin-top: 64px; padding: 56px 0; }
  .split { gap: var(--space-6); }
  .split--reverse .split__aside { order: 0; }
  .header__cta { width: 100%; }
  .header__inner { gap: 12px var(--space-5); }
  .nav { gap: 0 20px; }
  .utility__inner { gap: 4px 20px; }
  .btn-row .btn, .hero__actions .btn { flex: 1 1 auto; }
  .contact-list { grid-template-columns: minmax(0, 1fr); gap: 4px; }
  .contact-list dd { margin-bottom: 14px; }
  .spec-table th, .spec-table td { padding: 12px 16px; }
  .spec-table caption { padding: 18px 16px 0; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}

/* ─── Захиалгын форм (RFQ, design/Order.dc.html) ───────────────────── */
.page-head--order { padding-bottom: 32px; }
.steps-nav { margin: 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 10px 8px; }
.steps-nav__item { display: inline-flex; align-items: center; font-size: 15px; font-weight: 600; text-decoration: none; padding: 11px 18px; border-radius: var(--radius-full); min-height: 44px; background: var(--surface-raised); color: var(--ink); border: 1px solid var(--border); }
.steps-nav__no { font-weight: 700; margin-right: 8px; }
.order-layout { display: flex; flex-wrap: wrap; gap: 36px; align-items: flex-start; padding-bottom: 96px; }
.order-layout--done { padding-top: 40px; }
.order-form { flex: 999 1 560px; min-width: 0; display: flex; flex-direction: column; gap: var(--space-5); }
.order-rail { flex: 1 1 320px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.order-fieldset { border: 1px solid var(--border); margin: 0; min-width: 0; }
/* Хэсгийн гарчиг картын дотор ердийн h2 (legend нь visually-hidden — a11y нэр); float/хүрээн дээрх legend-ээс татгалзав */
.order-legend { display: block; margin: 0 0 6px; padding: 0; font-family: var(--font-display); font-size: 23px; line-height: 29px; font-weight: 600; }
.order-fieldset__lead { margin: 6px 0 24px; font-size: 15px; line-height: 23px; }
.order-lines { display: flex; flex-direction: column; gap: 16px; margin-bottom: 18px; }
.order-line { border: 1px solid var(--border); border-radius: var(--radius-md); background: var(--on-brand); padding: 22px; }
.order-line__head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 16px; }
.order-line__no { font-weight: 600; font-size: 15px; color: var(--ink-muted); }
.linkbtn { font: inherit; font-size: 14px; font-weight: 600; background: none; border: 0; cursor: pointer; padding: 8px; min-height: 44px; color: var(--brand); }
.linkbtn--danger { color: var(--negative); }
.btn--ghost { background: var(--surface-raised); color: var(--ink); border-color: var(--border); }
.field { display: flex; flex-direction: column; min-width: 0; }
.field--wide { grid-column: 1 / -1; }
.field__label { margin-bottom: 7px; font-size: 14px; font-weight: 600; color: var(--ink-muted); }
.field__req { color: var(--negative); }
.field__hint { margin-top: 7px; font-size: 13px; line-height: 20px; color: var(--ink-subtle); }
.field__error { margin-top: 7px; font-size: 14px; line-height: 20px; color: var(--negative); font-weight: 700; }
.field--error .input { border-color: var(--negative); box-shadow: 0 0 0 1px var(--negative); }
.field--error > .field__label, .chips-fieldset.field--error > .field__label { color: var(--negative); font-weight: 700; }
/* GOV-006: алдаатай талбар руу (autofocus / жагсаалтын холбоос) очиход шошго нь харагдах зай үлдэнэ */
.order-form .input, .order-form input[type='radio'], .order-form input[type='checkbox'], .order-form .field__error { scroll-margin-top: 120px; scroll-margin-bottom: 80px; }
.form-alert a { color: var(--negative); font-weight: 700; }
.order-done__track { margin-top: 20px; }
.order-done__track-link { font-weight: 700; font-size: 18px; }
.input { font: inherit; width: 100%; box-sizing: border-box; min-height: 48px; padding: 12px 14px; border: 1px solid var(--border); border-radius: var(--radius-sm); background: var(--on-brand); color: var(--ink); }
textarea.input { resize: vertical; }
.input--file { padding: 11px 14px; border-style: dashed; }
.chips-fieldset { border: 0; padding: 0; margin: 18px 0 22px; min-width: 0; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { position: relative; display: inline-flex; align-items: center; min-height: 46px; padding: 13px 20px; border-radius: var(--radius-sm); border: 1px solid var(--border); background: var(--on-brand); font-size: 15px; font-weight: 600; cursor: pointer; }
.chip input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.chip:has(input:checked) { background: var(--brand); color: var(--on-brand); border-color: var(--brand); }
.chip:has(input:focus-visible) { outline: 2px solid var(--focus); outline-offset: 2px; }
.checks { display: flex; flex-direction: column; gap: 18px; margin-top: 18px; }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; line-height: 23px; cursor: pointer; }
.check input { margin: 4px 0 0; width: 20px; height: 20px; accent-color: var(--brand); flex-shrink: 0; }
.order-submit { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.order-submit .note { margin-top: 0; }
.form-alert { background: var(--surface-sunken); border-left: 3px solid var(--negative); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; padding: 14px 18px; font-size: 15px; line-height: 23px; }
.form-alert ul { margin: 8px 0 0; padding-left: 20px; }
/* honeypot: харагдахгүй боловч viewport дотор (clip) — хуудасны хэмжээс, гүйлгээнд нөлөөлөхгүй */
.hp { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
.order-summary { padding: 30px; }
.order-next { margin: 0; padding: 0 0 0 20px; display: flex; flex-direction: column; gap: 14px; font-size: 15px; color: var(--ink-strong); }
.help-card { background: var(--surface-sunken); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 26px; font-size: 15px; line-height: 23px; color: var(--ink-strong); }
.help-card__title { margin-bottom: 10px; font-size: 16px; font-weight: 600; }
.help-card a { font-weight: 600; }
.order-done { flex: 1 1 560px; max-width: 760px; }
.order-done h1 { margin: 6px 0 14px; }
.order-done .prose { margin-bottom: 20px; }
.kicker--positive { color: var(--positive); }
.inquiry-form .btn { margin-top: 8px; }
@media (max-width: 600px) {
  .order-line { padding: 16px; }
  .order-legend { font-size: 20px; }
}

/* ─── HR: зарын дэлгэрэнгүй, анкет (HR-001…006) ─── */
.job-detail { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 24px; align-items: start; }
.job-detail__meta { margin: 0 0 8px; font-size: 16px; }
.job-detail__body .section__title { font-size: 22px; line-height: 28px; margin: 28px 0 10px; }
.job-detail__body .section__title:first-child { margin-top: 0; }
.job-detail__body p, .job-detail__body li { font-size: 17px; line-height: 28px; }
.job-detail__body ul { margin: 0 0 16px; padding-left: 22px; }
.job-detail__site-req { margin-top: 24px; padding: 14px 16px; border-left: 3px solid var(--brand); background: var(--surface-sunken); font-size: 15px; line-height: 23px; }
.job-detail__cta { display: flex; justify-content: center; width: 100%; margin: 20px 0 12px; }
.job-facts { margin: 0; display: grid; gap: 10px; }
.job-facts__row { display: grid; grid-template-columns: 128px minmax(0, 1fr); gap: 8px; font-size: 15px; line-height: 22px; }
.job-facts dt { color: var(--ink-muted); }
.job-facts dd { margin: 0; }
.apply-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 24px; align-items: start; }
.apply-fieldset { border: 0; padding: 0; margin: 0 0 28px; min-width: 0; }
.apply-side__title { font-size: 20px; line-height: 26px; margin: 0 0 16px; }
.privacy-notice { padding: 20px 22px; border: 1px solid var(--border-subtle); border-radius: 14px; background: var(--surface-sunken); margin: 0 0 28px; }
.privacy-notice__title { font-size: 18px; line-height: 24px; margin: 0 0 12px; }
.privacy-notice__ver { font-size: 13px; color: var(--ink-muted); font-weight: 400; }
.privacy-notice__list { margin: 0; padding-left: 20px; display: grid; gap: 8px; font-size: 15px; line-height: 23px; }
.input--file { padding: 10px 12px; }
.done-panel p { font-size: 17px; line-height: 28px; }
.done-panel__ref { font-size: 20px; }
.status-steps { list-style: none; margin: 16px 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.status-steps__item { padding: 6px 12px; border-radius: 999px; border: 1px solid var(--border-subtle); font-size: 14px; line-height: 20px; color: var(--ink-muted); }
.status-steps__item--done { border-color: var(--brand); color: var(--brand); }
.status-steps__item--current { background: var(--brand); border-color: var(--brand); color: var(--on-brand); font-weight: 600; }
@media (max-width: 960px) {
  .job-detail, .apply-layout { grid-template-columns: 1fr; }
  .job-facts__row { grid-template-columns: 110px minmax(0, 1fr); }
}

/* ─── CMS: зураг блок (EDT-004) ─── */
.figure { margin: 0; }
.figure img { display: block; max-width: 100%; height: auto; border-radius: 12px; }
.figure figcaption { margin-top: 8px; font-size: 14px; line-height: 20px; color: var(--ink-muted); }
.figure--lead { margin-bottom: 24px; }
/* DCT-011/012: баталгаажуулах хуудас */
.verify { padding-top: 48px; padding-bottom: 64px; max-width: 760px; }
.verify__verdict { font-family: var(--font-display, 'Bitter', serif); font-size: 36px; margin: 8px 0 24px; }
.verify__verdict--ok { color: var(--ink); }
.verify__verdict--ok::before { content: "✓ "; }
.verify__verdict--bad { color: var(--brand); }
.verify__hash { font-size: 12px; word-break: break-all; }
.verify__drop { margin-top: 32px; padding: 24px; border: 2px dashed var(--border); border-radius: 20px; text-align: center; background: var(--surface-raised); }
.verify__drop.is-over { border-color: var(--brand); background: var(--surface-sunken); }
.verify-result { margin-top: 12px; font-weight: 600; word-break: break-all; }
.verify-result--ok { color: var(--ink); font-weight: 700; }
.verify-result--bad { color: var(--brand); }
.verify-result--busy { color: var(--ink-muted); }
/* EDT-004: видео блок — 16:9 хүрээ, iframe lazy */
.video__frame { position: relative; aspect-ratio: 16 / 9; border-radius: 12px; overflow: hidden; background: var(--surface-inverse); }
.video__frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.blocks .block-link { margin-top: 24px; }
.figure--cover img { width: 100%; border-radius: 20px; object-fit: cover; aspect-ratio: 4 / 3; }
/* Карт/маркийн зураг: зам + alt л хадгалагддаг → харьцаа энд */
.cover { overflow: hidden; }
.cover img { display: block; width: 100%; height: 100%; object-fit: cover; }
.product-card__media.cover, .news-card__media.cover { aspect-ratio: 16 / 9; min-height: 0; }
.cover--wide { border-radius: 20px; aspect-ratio: 16 / 10; }

/* ─── Худалдан авагчийн портал (HANDOFF-3 BUY/ORQ; design/portal-prototype.html) ─── */
.portal { padding-top: 36px; padding-bottom: 96px; }
.portal--narrow { max-width: 520px; }
.portal--medium { max-width: 820px; }
.portal .page-lead { margin: 0 0 24px; }
.portal-topbar { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; font-size: 15px; color: var(--ink-muted); padding: 10px 0; border-bottom: 1px solid var(--border); margin-bottom: 20px; }
.portal-topbar__who a { font-weight: 600; }
.portal-topbar__out { margin: 0; }
.portal-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; margin-bottom: 24px; }
.portal-form { display: flex; flex-direction: column; gap: 18px; }
.portal-form .g2, .portal-form .g3 { gap: 16px 20px; }
.portal-form .panel { display: flex; flex-direction: column; gap: 16px; }
.portal-center { text-align: center; margin-top: 20px; }
.portal-inline { margin: 12px 0 0; }
.portal .order-legend { margin: 0; }
.note--info, .note--pos, .note--ok, .note--warn, .note--err { margin: 0; padding: 18px 20px; border-radius: var(--radius-lg); font-size: 15px; line-height: 1.55; color: var(--ink); }
.note--info { background: var(--surface-sunken); }
.note--pos { background: var(--surface-raised); border: 1px solid var(--border); border-left: 6px solid var(--brand); }
.note--ok { background: var(--surface-raised); border: 1px solid var(--border); border-left: 6px solid var(--positive); }
.note--warn { background: var(--surface-sunken); border-left: 6px solid var(--brand-hover); }
.note--err { background: var(--surface-sunken); border-left: 6px solid var(--negative); color: var(--negative); }
.note--info strong, .note--pos strong, .note--ok strong, .note--warn strong, .note--err strong { display: block; margin-bottom: 4px; }
.note--info p, .note--pos p, .note--ok p, .note--warn p, .note--err p { margin: 0 0 8px; }
.note--info p:last-child, .note--pos p:last-child, .note--ok p:last-child, .note--warn p:last-child, .note--err p:last-child { margin-bottom: 0; }
.seg { display: inline-flex; background: var(--surface-sunken); border-radius: 999px; padding: 4px; gap: 4px; margin-bottom: 20px; }
.seg__item { padding: 10px 20px; border-radius: 999px; font-weight: 600; text-decoration: none; color: var(--ink); min-height: 44px; display: inline-flex; align-items: center; }
.seg__item--on { background: var(--surface-raised); box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08); }
.file-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 6px 16px; align-items: center; padding: 14px 16px; border: 1px dashed var(--border); border-radius: var(--radius-sm); background: var(--surface-raised); }
.file-row .field__label { margin: 0; font-weight: 500; }
.file-row .input--file { grid-column: 1 / -1; }
.file-row .field__hint, .file-row .field__error { grid-column: 1 / -1; margin: 0; }
.file-row--perm { background: var(--surface-sunken); border-style: solid; }
.file-row--done { border-style: solid; }
.file-row.field--error { border-color: var(--negative); }
.lock { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: var(--ink-muted); font-weight: 500; }
.pill { display: inline-block; font-size: 13px; font-weight: 600; padding: 4px 10px; border-radius: 999px; background: var(--surface-sunken); color: var(--ink-strong); white-space: nowrap; }
.pill--now { background: var(--surface-raised); border: 1px solid var(--brand); color: var(--brand); }
.pill--ok { background: var(--surface-raised); border: 1px solid var(--positive); color: var(--positive); }
.pill--warn { background: var(--surface-sunken); border: 1px solid var(--brand-hover); color: var(--brand-hover); }
.tbl { width: 100%; border-collapse: collapse; font-size: 15px; }
.tbl th, .tbl td { text-align: left; padding: 10px; border-bottom: 1px solid var(--border); vertical-align: middle; }
.tbl th { font-size: 13px; color: var(--ink-muted); font-weight: 600; text-transform: uppercase; letter-spacing: 0.04em; }
.tbl th.num, .tbl td.num { text-align: right; }
.tbl--inputs { min-width: 640px; }
.tbl--inputs .input { min-height: 40px; padding: 8px 10px; }
.tbl--inputs td.field--error .input { border-color: var(--negative); }
.tbl--inputs .field__error { margin-top: 4px; }
.panel--tight { padding: 24px; border-radius: var(--radius-lg); }
.btn--small { min-height: 38px; padding: 7px 14px; font-size: 14px; }
.steps-list { list-style: none; margin: 0; padding: 0; }
.steps-list__item { display: grid; grid-template-columns: 28px 1fr; gap: 0 14px; position: relative; padding-bottom: 18px; }
.steps-list__item::before { content: ''; position: absolute; left: 13px; top: 28px; bottom: 0; width: 2px; background: var(--border); }
.steps-list__item:last-child::before { display: none; }
.steps-list__dot { width: 28px; height: 28px; border-radius: 50%; border: 2px solid var(--border); background: var(--surface-raised); display: grid; place-items: center; font-size: 13px; font-weight: 700; color: var(--ink-muted); }
.steps-list__item--done .steps-list__dot { background: var(--positive); border-color: var(--positive); color: var(--on-brand); }
.steps-list__item--now .steps-list__dot { border-color: var(--brand); color: var(--brand); box-shadow: 0 0 0 4px rgba(110, 32, 25, 0.12); }
.steps-list__item--fix .steps-list__dot { border-color: var(--brand-hover); color: var(--brand-hover); }
.steps-list__label { font-weight: 600; }
/* CODE-PROMPT-3.1: хаагдсан хүсэлт — тайван, саармаг карт (portal-prototype «5б») */
.steps-list__item--end .steps-list__dot { background: var(--surface-sunken); border-color: var(--border); color: var(--ink-muted); }
.steps-list__item--end::before { display: none; }
.closed-card { background: var(--surface-raised); border: 1px solid var(--border); border-radius: var(--radius-xl); box-shadow: var(--shadow-card); padding: var(--space-6); }
.closed-card__title { font-family: var(--font-display); font-size: 24px; line-height: 1.2; font-weight: 600; color: var(--ink); margin: 0 0 6px; }
.closed-card__meta { font-size: 14px; color: var(--ink-muted); margin: 0 0 var(--space-4); }
.closed-card__reason { background: var(--surface-sunken); border-radius: var(--radius-sm); padding: 16px 18px; margin: 0 0 var(--space-4); }
.closed-card__reason-k { font-size: 13px; font-weight: 600; color: var(--ink-muted); margin-bottom: 4px; }
.closed-card__reason p { margin: 0; color: var(--ink-strong); }
.closed-card__contact { margin: 0 0 var(--space-4); color: var(--ink-strong); }
.closed-card__actions { display: flex; flex-wrap: wrap; gap: 12px 20px; align-items: center; }
.closed-card__link { font-size: 15px; font-weight: 500; color: var(--brand); text-decoration: underline; min-height: 44px; display: inline-flex; align-items: center; }
.closed-card__appeal { border-top: 1px solid var(--border); margin-top: var(--space-5); padding-top: var(--space-5); display: flex; flex-direction: column; gap: var(--space-3); }
.closed-card__appeal .field__hint { margin-top: 0; }
.closed-card__appeal .note { max-width: none; }
.closed-card__file { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.closed-card__file label:has(+ input:focus-visible) { outline: 2px solid var(--focus); outline-offset: 2px; }
@media (max-width: 640px) { .closed-card { padding: var(--space-5); } .closed-card__title { font-size: 21px; } }

.steps-list__sub { font-size: 13.5px; color: var(--ink-muted); }
.spec-list .total { border-top: 1px solid var(--border); padding-top: 12px; margin-top: 4px; font-size: 18px; }
.vehicles .section__head { margin-bottom: 12px; display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
@media (max-width: 640px) {
  .portal { padding-top: 20px; }
  .portal-head { align-items: flex-start; }
  .file-row { grid-template-columns: 1fr; }
  .split--status-first .split__aside { order: -1; }
  .tt-scroll > .tbl--stack { min-width: 0; }
  .tbl--stack thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  .tbl--stack, .tbl--stack tbody, .tbl--stack tr, .tbl--stack td { display: block; width: 100%; }
  .tbl--stack tr { padding: 12px 0; border-bottom: 1px solid var(--border); }
  .tbl--stack td { border: 0; padding: 3px 0; }
  .tbl--stack td.num { text-align: left; }
  .tbl--stack td:first-child { font-weight: 600; }
  .tt-scroll > .tbl--inputs.tbl--stack { min-width: 0; }
  .tbl--inputs.tbl--stack td[data-label]::before { content: attr(data-label); display: block; margin-bottom: 4px; }
  .tbl--stack td[data-label]::before { content: attr(data-label) " · "; font-size: 13px; color: var(--ink-muted); font-weight: 600; }
}
