:root {
  --red: #b3191f; --red-d: #8f1117; --red-l: #fdeeee;
  --gold: #e3a700; --gold-l: #fff7dc; --gold-t: #7a5800;
  --green: #2d6a35; --green-d: #1e4c25; --green-l: #ecf4e6;
  --blue: #1d5fa8; --blue-l: #e8f0fa;
  --ink: #1c2024; --muted: #5d646d; --line: #e6e1d6; --paper: #f8f5ef;
  --r: 12px;
  --sh: 0 1px 2px rgba(30, 25, 15, .05), 0 6px 18px rgba(30, 25, 15, .07);
  --font: "Be Vietnam Pro", "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;
  --bar: 42px;
}
* { box-sizing: border-box; }
html { color-scheme: light; -webkit-text-size-adjust: 100%; }
html.framed, html.nobar { --bar: 0px; }
body { margin: 0; font-family: var(--font); font-size: 16px; line-height: 1.55; color: var(--ink); background: var(--paper); }
svg { display: block; }
a { color: inherit; }
button { font: inherit; color: inherit; }
h1, h2, h3, h4 { line-height: 1.25; margin: 0; }
p { margin: 0; }
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 16px; }
.ic { width: 20px; height: 20px; flex: none; }
.ic.sm { width: 16px; height: 16px; }
.muted { color: var(--muted); }
.small { font-size: 13.5px; }
.art { overflow: hidden; background: #eee; }
.art svg { width: 100%; height: 100%; }

/* ---------- Nút & ô nhập ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 1px solid transparent; border-radius: 10px; padding: 10px 16px; font-weight: 600; font-size: 15px; cursor: pointer; text-decoration: none; line-height: 1.2; transition: filter .15s, background .15s; white-space: nowrap; }
.btn:hover { filter: brightness(.94); }
.btn.red { background: var(--red); color: #fff; }
.btn.green { background: var(--green); color: #fff; }
.btn.gold { background: var(--gold); color: #2a1f00; }
.btn.blue { background: var(--blue); color: #fff; }
.btn.ghost { background: #fff; border-color: #d9d3c6; color: var(--ink); }
.btn.lg { padding: 14px 22px; font-size: 16px; }
.btn.sm { padding: 7px 12px; font-size: 14px; }
.btn.block { width: 100%; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field > label, .lbl { font-weight: 600; font-size: 14px; }
.input { width: 100%; font: inherit; font-size: 15px; padding: 11px 12px; border: 1px solid #d6d0c3; border-radius: 10px; background: #fff; color: var(--ink); }
.input:focus { outline: 2px solid rgba(29, 95, 168, .35); outline-offset: 1px; border-color: var(--blue); }
textarea.input { min-height: 110px; resize: vertical; }
.check { display: flex; gap: 8px; align-items: flex-start; font-size: 14px; }
.check input { margin-top: 3px; }

/* ---------- Thanh demo ---------- */
.demobar { position: sticky; top: 0; z-index: 60; background: #15171a; color: #cfd4da; font-size: 13px; height: var(--bar); }
.demobar .in { display: flex; align-items: center; gap: 10px; height: 100%; padding: 0 12px; }
.demobar .tag { background: var(--gold); color: #1a1400; font-weight: 800; letter-spacing: .04em; padding: 3px 8px; border-radius: 4px; font-size: 11px; flex: none; }
.demobar .note { flex: none; opacity: .7; }
.demobar nav { display: flex; gap: 2px; overflow-x: auto; margin-left: auto; scrollbar-width: none; }
.demobar nav::-webkit-scrollbar { display: none; }
.demobar nav a { color: #c3c9d0; text-decoration: none; padding: 7px 11px; border-radius: 7px; white-space: nowrap; font-weight: 500; }
.demobar nav a:hover { background: #23272c; color: #fff; }
.demobar nav a.on { background: #343a42; color: #fff; }

/* ---------- Cổng MTTQ ---------- */
.gov-top { position: relative; overflow: hidden; background: linear-gradient(180deg, #c01c22 0%, #a5141a 100%); color: #fff; border-bottom: 3px solid var(--gold); }
.gov-top .drum { position: absolute; right: -70px; top: 50%; width: 380px; height: 380px; transform: translateY(-50%); opacity: .12; pointer-events: none; }
.gov-top .drum svg { width: 100%; height: 100%; }
.gov-brand { display: flex; align-items: center; gap: 16px; padding-top: 18px; padding-bottom: 18px; position: relative; }
.emblem { width: 68px; height: 68px; flex: none; display: block; }
.emblem svg { width: 100%; height: 100%; }
.gov-sup { font-size: 13px; font-weight: 600; letter-spacing: .05em; }
.gov-name { font-size: 30px; font-weight: 800; color: #ffdf7e; letter-spacing: .02em; line-height: 1.15; }
.gov-sub { font-size: 13px; opacity: .9; margin-top: 2px; }
.gov-tools { margin-left: auto; display: flex; flex-direction: column; align-items: flex-end; gap: 8px; }
.gov-search { display: flex; background: #fff; border-radius: 8px; overflow: hidden; width: 290px; }
.gov-search input { border: 0; padding: 9px 12px; font: inherit; font-size: 14px; flex: 1; min-width: 0; outline: none; color: var(--ink); }
.gov-search button { border: 0; background: var(--gold); padding: 0 12px; cursor: pointer; color: #3a2a00; display: grid; place-items: center; }
.gov-hot { font-size: 13px; display: flex; gap: 6px; align-items: center; opacity: .95; }
.gov-nav { background: #fff; border-bottom: 1px solid var(--line); position: sticky; top: var(--bar); z-index: 40; box-shadow: 0 2px 6px rgba(0, 0, 0, .04); }
.gov-nav .wrap { display: flex; overflow-x: auto; scrollbar-width: none; }
.gov-nav .wrap::-webkit-scrollbar { display: none; }
.gov-nav a { padding: 13px 14px; text-decoration: none; font-weight: 600; font-size: 15px; white-space: nowrap; border-bottom: 3px solid transparent; color: #2b2f33; }
.gov-nav a:hover { color: var(--red); }
.gov-nav a.on { color: var(--red); border-bottom-color: var(--red); }
.gov-nav a.ext { margin-left: auto; color: var(--green); }
.ticker { background: var(--gold-l); border-bottom: 1px solid #efe0a6; font-size: 14px; }
.ticker .wrap { display: flex; align-items: center; gap: 12px; height: 40px; }
.ticker b { background: var(--red); color: #fff; padding: 3px 10px; border-radius: 4px; font-size: 12px; flex: none; text-transform: uppercase; letter-spacing: .04em; }
.ticker .mask { overflow: hidden; flex: 1; }
.ticker .run { display: inline-block; white-space: nowrap; animation: run 60s linear infinite; }
.ticker .run a { text-decoration: none; margin-right: 44px; }
.ticker .run a:hover { color: var(--red); }
@keyframes run { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .ticker .run { animation: none; } }

.gh { display: flex; align-items: flex-end; justify-content: space-between; border-bottom: 2px solid var(--red); margin-bottom: 16px; gap: 10px; }
.gh h2 { background: var(--red); color: #fff; font-size: 15px; font-weight: 700; text-transform: uppercase; letter-spacing: .03em; padding: 8px 16px 7px; border-radius: 6px 6px 0 0; }
.gh a { font-size: 14px; color: var(--red); text-decoration: none; font-weight: 600; padding-bottom: 6px; white-space: nowrap; }
.g-sec { padding-top: 30px; }
.kick { display: inline-block; font-size: 12px; font-weight: 700; color: var(--red); text-transform: uppercase; letter-spacing: .05em; }
time, .date { font-size: 13px; color: var(--muted); }

.g-hero { display: grid; grid-template-columns: 1.6fr 1fr; gap: 22px; padding-top: 22px; }
.g-feature { display: block; text-decoration: none; background: #fff; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.g-feature .art { aspect-ratio: 16 / 8; }
.g-feature .cap { padding: 16px 20px 20px; }
.g-feature h2 { font-size: 23px; margin: 6px 0 8px; }
.g-feature:hover h2 { color: var(--red); }
.g-feature p { color: #3c4248; }
.nitem { display: grid; grid-template-columns: 112px 1fr; gap: 12px; padding: 11px 0; border-bottom: 1px dashed var(--line); text-decoration: none; }
.nitem:last-child { border-bottom: 0; }
.nitem .art { aspect-ratio: 4 / 3; border-radius: 8px; }
.nitem h3 { font-size: 15px; font-weight: 600; margin-bottom: 4px; }
.nitem:hover h3 { color: var(--red); }
.org { font-size: 12px; font-weight: 700; color: var(--red); }

.quick { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; padding-top: 22px; }
.qbtn { display: flex; gap: 14px; align-items: center; padding: 16px; background: #fff; border: 1px solid var(--line); border-radius: var(--r); text-decoration: none; box-shadow: var(--sh); transition: transform .15s; }
.qbtn:hover { transform: translateY(-2px); }
.qi { width: 50px; height: 50px; border-radius: 12px; display: grid; place-items: center; flex: none; }
.qi .ic { width: 26px; height: 26px; }
.qbtn b { display: block; font-size: 16px; line-height: 1.3; }
.qbtn span { font-size: 13px; color: var(--muted); }
.qi.red { background: var(--red-l); color: var(--red); }
.qi.gold { background: var(--gold-l); color: #9a6b00; }
.qi.green { background: var(--green-l); color: var(--green); }
.qi.blue { background: var(--blue-l); color: var(--blue); }

.two { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.pill { display: inline-flex; align-items: center; gap: 5px; font-size: 12px; font-weight: 700; padding: 3px 9px; border-radius: 999px; white-space: nowrap; }
.st0 { background: #eef1f5; color: #44505e; }
.st1 { background: #fff3d6; color: #8a5b00; }
.st2 { background: #e6effa; color: #1d5fa8; }
.st3 { background: #e5f3e6; color: #22672b; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 14px; }
.stat { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; }
.stat b { font-size: 22px; display: block; line-height: 1.2; font-variant-numeric: tabular-nums; }
.stat span { font-size: 12.5px; color: var(--muted); }
.ritem { padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px; background: #fff; margin-bottom: 10px; }
.ritem summary { list-style: none; cursor: pointer; }
.ritem summary::-webkit-details-marker { display: none; }
.ritem .top { display: flex; gap: 10px; justify-content: space-between; align-items: flex-start; }
.ritem h4 { font-size: 15px; font-weight: 600; }
.meta { font-size: 13px; color: var(--muted); display: flex; flex-wrap: wrap; gap: 2px 12px; margin-top: 3px; }
.timeline { list-style: none; margin: 12px 0 0; padding: 0 0 0 16px; border-left: 2px solid var(--line); }
.timeline li { position: relative; padding: 0 0 10px 8px; font-size: 14px; }
.timeline li::before { content: ""; position: absolute; left: -25px; top: 5px; width: 12px; height: 12px; border-radius: 50%; background: #fff; border: 2px solid var(--green); }
.timeline li b { font-variant-numeric: tabular-nums; margin-right: 6px; }
.answer { background: #f3f8f0; border-left: 3px solid var(--green); padding: 10px 12px; border-radius: 0 8px 8px 0; font-size: 14px; margin-top: 8px; }

.fund-box { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 16px 18px; }
.fund-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 14px; }
.fund-row div span { font-size: 12.5px; color: var(--muted); display: block; }
.fund-row div b { font-size: 18px; font-variant-numeric: tabular-nums; }
.progress { height: 10px; background: #efe9dc; border-radius: 99px; overflow: hidden; }
.progress i { display: block; height: 100%; background: linear-gradient(90deg, #e3a700, #f2c94c); border-radius: 99px; }
.camp { padding: 12px 0; border-top: 1px dashed var(--line); }
.camp h4 { font-size: 15px; margin-bottom: 6px; }
.camp .nums { display: flex; justify-content: space-between; font-size: 13px; color: var(--muted); margin-top: 6px; gap: 8px; }
.camp .nums b { color: var(--ink); }

.tabs { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 16px; }
.tab { border: 1px solid var(--line); background: #fff; border-radius: 999px; padding: 7px 14px; font-weight: 600; font-size: 14px; cursor: pointer; color: var(--ink); }
.tab.on { background: var(--red); border-color: var(--red); color: #fff; }
.mk .tab.on { background: var(--green); border-color: var(--green); }

.ncards { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 16px; }
.ncard { background: #fff; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; text-decoration: none; display: flex; flex-direction: column; }
.ncard .art { aspect-ratio: 16 / 9; }
.ncard .b { padding: 12px 14px 16px; }
.ncard h3 { font-size: 16px; font-weight: 700; margin: 4px 0 6px; }
.ncard:hover h3 { color: var(--red); }
.ncard p { font-size: 14px; color: #474d54; }
.deeds { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.deed { background: #fff; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; display: grid; grid-template-columns: 120px 1fr; text-decoration: none; }
.deed .art { height: 100%; min-height: 150px; }
.deed .b { padding: 14px; }
.deed h3 { font-size: 15px; margin: 2px 0 6px; }
.deed p { font-size: 13.5px; color: #474d54; }
.deed .who { font-size: 13px; font-weight: 700; color: var(--red); }
.strip { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.callout { display: flex; gap: 18px; align-items: center; background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--gold); border-radius: var(--r); padding: 18px 20px; }
.callout h3 { font-size: 18px; margin-bottom: 4px; }
.callout .btn { margin-left: auto; }

.gov-foot { background: #7d1015; color: #f2d6d6; margin-top: 44px; font-size: 14px; }
.gov-foot .cols { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 26px; padding-top: 28px; padding-bottom: 24px; }
.gov-foot b { color: #fff; }
.gov-foot h4 { color: #ffdf7e; font-size: 14px; margin-bottom: 8px; text-transform: uppercase; letter-spacing: .04em; }
.gov-foot a { text-decoration: none; display: block; padding: 2px 0; }
.gov-foot a:hover { color: #fff; }
.gov-foot .bottom { border-top: 1px solid rgba(255, 255, 255, .15); padding: 12px 16px; text-align: center; font-size: 12.5px; opacity: .85; }

.page-h { padding: 22px 0 6px; }
.page-h h1 { font-size: 28px; font-weight: 800; }
.page-h p { color: var(--muted); margin-top: 4px; max-width: 760px; }
.crumb { font-size: 13px; color: var(--muted); padding-top: 18px; }
.crumb a { text-decoration: none; }
.crumb a:hover { color: var(--red); }
.article { display: grid; grid-template-columns: 1fr 320px; gap: 30px; padding-top: 8px; }
.article h1 { font-size: 30px; margin: 8px 0 10px; font-weight: 800; }
.article .lead { font-weight: 600; font-size: 17px; margin: 14px 0; }
.article .body p { margin: 0 0 14px; font-size: 17px; line-height: 1.75; }
.article .art { aspect-ratio: 16 / 8; border-radius: 12px; margin: 12px 0 4px; }
.cap-note { font-size: 13px; color: var(--muted); font-style: italic; }
.share { display: flex; gap: 8px; margin-top: 18px; flex-wrap: wrap; }

.pa-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 24px; padding-top: 18px; align-items: start; }
.panel { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 20px; }
.panel > h2 { font-size: 20px; margin-bottom: 4px; }
.form { display: grid; gap: 14px; margin-top: 14px; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.upload { border: 1.5px dashed #cfc7b6; border-radius: 10px; padding: 14px; text-align: center; color: var(--muted); cursor: pointer; background: #fcfaf6; font-size: 14px; display: flex; gap: 8px; align-items: center; justify-content: center; }
.upload.done { border-color: var(--green); color: var(--green); background: var(--green-l); }
.lookup { display: flex; gap: 8px; margin: 12px 0 16px; }

.tblwrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 10px; background: #fff; }
.tbl { width: 100%; border-collapse: collapse; font-size: 14px; }
.tbl th { text-align: left; font-weight: 700; background: #f6f2ea; padding: 10px 12px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.tbl td { padding: 10px 12px; border-bottom: 1px solid #efeae0; vertical-align: top; }
.tbl tr:last-child td { border-bottom: 0; }
.tbl .num { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.donate { display: grid; grid-template-columns: auto 1fr; gap: 18px; align-items: center; }
.donate .qrbox { padding: 10px; border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.kv { display: grid; grid-template-columns: 130px 1fr; gap: 6px 12px; font-size: 14px; margin: 0; }
.kv dt { color: var(--muted); }
.kv dd { margin: 0; font-weight: 600; }

.xom-tools { display: flex; gap: 10px; margin: 6px 0 16px; flex-wrap: wrap; align-items: center; }
.xom-tools .input { max-width: 340px; }
.xom-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 12px; }
.xom { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px; display: flex; gap: 12px; align-items: center; }
.xom .n { width: 46px; height: 46px; border-radius: 10px; background: var(--red-l); color: var(--red); font-weight: 800; display: grid; place-items: center; flex: none; font-size: 15px; line-height: 1.05; text-align: center; }
.xom .n small { display: block; font-size: 9.5px; font-weight: 700; letter-spacing: .04em; }
.xom b { display: block; font-size: 15px; }
.xom span { font-size: 13px; color: var(--muted); }
.xom .z { margin-left: auto; }

.poll { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 18px 20px; margin-bottom: 16px; }
.poll h3 { font-size: 18px; margin: 4px 0 2px; }
.opt { display: block; width: 100%; text-align: left; border: 1px solid var(--line); border-radius: 10px; padding: 11px 12px; background: #fff; cursor: pointer; margin-top: 8px; position: relative; overflow: hidden; font-size: 15px; }
.opt:disabled { cursor: default; }
.opt .bar { position: absolute; inset: 0 auto 0 0; background: var(--red-l); transition: width .6s; }
.opt .t { position: relative; display: flex; justify-content: space-between; gap: 10px; }
.opt .t b { font-variant-numeric: tabular-nums; }
.opt.mine { border-color: var(--red); }
.opt.mine .bar { background: #f8d5d5; }

/* Trợ lý hỏi đáp */
.chat-fab { position: fixed; right: 18px; bottom: 18px; z-index: 80; background: var(--red); color: #fff; border: 0; border-radius: 999px; padding: 13px 18px; display: flex; gap: 8px; align-items: center; font-weight: 700; box-shadow: 0 8px 24px rgba(179, 25, 31, .35); cursor: pointer; }
.chat { position: fixed; right: 18px; bottom: 18px; z-index: 81; width: 370px; max-width: calc(100vw - 24px); height: 540px; max-height: calc(100vh - 70px); background: #fff; border-radius: 16px; box-shadow: 0 20px 50px rgba(0, 0, 0, .25); display: flex; flex-direction: column; overflow: hidden; }
.chat header { background: var(--red); color: #fff; padding: 12px 14px; display: flex; align-items: center; gap: 10px; }
.chat header b { display: block; font-size: 15px; }
.chat header span { font-size: 12px; opacity: .85; }
.chat header button { margin-left: auto; background: none; border: 0; color: #fff; cursor: pointer; padding: 4px; }
.chat .msgs { flex: 1; overflow-y: auto; padding: 14px; display: flex; flex-direction: column; gap: 10px; background: #faf8f4; }
.bub { max-width: 86%; padding: 9px 12px; border-radius: 14px; font-size: 14px; line-height: 1.5; }
.bub.bot { background: #fff; border: 1px solid var(--line); align-self: flex-start; border-bottom-left-radius: 4px; }
.bub.me { background: var(--red); color: #fff; align-self: flex-end; border-bottom-right-radius: 4px; }
.bub a { color: var(--red); font-weight: 700; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; padding: 10px 12px; border-top: 1px solid var(--line); }
.chip { border: 1px solid #ecc9c9; background: #fff; color: var(--red-d); border-radius: 999px; padding: 5px 10px; font-size: 13px; cursor: pointer; }
.chat form { display: flex; gap: 8px; padding: 10px 12px; border-top: 1px solid var(--line); }
.chat form .input { padding: 9px 12px; }
.ai-note { font-size: 11.5px; color: var(--muted); text-align: center; padding: 0 12px 8px; }

/* ---------- Chợ OCOP ---------- */
.mk-top { background: #fff; border-bottom: 1px solid var(--line); }
.mk-top .wrap { display: flex; align-items: center; gap: 22px; min-height: 76px; }
.mk-logo { display: flex; align-items: center; gap: 10px; text-decoration: none; flex: none; }
.mk-logo .lg { width: 46px; height: 46px; }
.mk-logo .lg svg { width: 100%; height: 100%; }
.mk-logo small { display: block; font-size: 11px; font-weight: 700; letter-spacing: .14em; color: var(--gold-t); text-transform: uppercase; }
.mk-logo b { display: block; font-size: 22px; color: var(--green-d); line-height: 1.1; font-weight: 800; }
.mk-search { flex: 1; display: flex; border: 2px solid var(--green); border-radius: 12px; overflow: hidden; max-width: 560px; background: #fff; }
.mk-search input { flex: 1; border: 0; padding: 11px 14px; font: inherit; font-size: 15px; outline: none; min-width: 0; }
.mk-search button { border: 0; background: var(--green); color: #fff; padding: 0 18px; cursor: pointer; display: grid; place-items: center; }
.mk-actions { display: flex; gap: 8px; margin-left: auto; align-items: center; }
.cartbtn { position: relative; }
.cartbtn .n { position: absolute; top: -7px; right: -7px; background: var(--red); color: #fff; font-size: 11px; font-weight: 800; min-width: 21px; height: 21px; border-radius: 99px; display: grid; place-items: center; padding: 0 5px; border: 2px solid #fff; }
.mk-nav { background: var(--green); }
.mk-nav .wrap { display: flex; gap: 2px; overflow-x: auto; scrollbar-width: none; }
.mk-nav .wrap::-webkit-scrollbar { display: none; }
.mk-nav a { color: #e3f0dd; text-decoration: none; padding: 11px 14px; font-weight: 600; font-size: 15px; white-space: nowrap; }
.mk-nav a.on, .mk-nav a:hover { color: #fff; background: rgba(255, 255, 255, .13); }
.mk-nav a.alt { margin-left: auto; color: #ffe08a; }

.mk-hero { background: #fbf4e4; border-bottom: 1px solid var(--line); }
.mk-hero .wrap { display: grid; grid-template-columns: 1fr 1.05fr; gap: 34px; align-items: center; padding-top: 40px; padding-bottom: 44px; }
.mk-hero .eyebrow { color: var(--green); }
.mk-hero h1 { font-size: 42px; line-height: 1.12; color: #1e3a20; font-weight: 800; letter-spacing: -.01em; margin-top: 8px; }
.mk-hero p.lead { font-size: 17px; margin: 14px 0 22px; color: #3d4a38; max-width: 520px; }
.mk-hero .pic { border-radius: 20px; overflow: hidden; aspect-ratio: 16 / 10; box-shadow: var(--sh); border: 1px solid #efe3c7; }
.mk-hero .pic svg { width: 100%; height: 100%; }
.hero-meta { display: flex; gap: 26px; margin-top: 26px; flex-wrap: wrap; }
.hero-meta b { display: block; font-size: 24px; color: var(--green-d); font-variant-numeric: tabular-nums; }
.hero-meta span { font-size: 13px; color: #4b5845; }
.eyebrow { font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--red); }

.mh { display: flex; align-items: flex-end; justify-content: space-between; margin: 36px 0 14px; gap: 12px; }
.mh h2 { font-size: 24px; font-weight: 800; color: #1e3a20; }
.mh p { color: var(--muted); font-size: 14px; margin-top: 2px; }
.mh a { color: var(--green); font-weight: 700; text-decoration: none; white-space: nowrap; }
.cats { display: grid; grid-template-columns: repeat(7, 1fr); gap: 12px; }
.cat { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 8px 8px 10px; text-align: center; text-decoration: none; transition: border-color .15s; }
.cat:hover { border-color: var(--green); }
.cat .art { aspect-ratio: 1; border-radius: 10px; margin-bottom: 8px; }
.cat b { font-size: 13.5px; font-weight: 600; display: block; line-height: 1.3; }

.pgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(205px, 1fr)); gap: 16px; }
.pcard { position: relative; background: #fff; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; display: flex; flex-direction: column; text-decoration: none; transition: box-shadow .2s, transform .2s; }
.pcard:hover { box-shadow: var(--sh); transform: translateY(-2px); }
.pcard .art { aspect-ratio: 4 / 3; }
.pcard .b { padding: 11px 13px 13px; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.pcard h3 { font-size: 15px; font-weight: 700; line-height: 1.35; }
.pcard .seller { font-size: 12.5px; color: var(--muted); }
.pcard .rate { font-size: 12.5px; color: var(--muted); display: flex; align-items: center; gap: 4px; }
.pcard .row { margin-top: auto; padding-top: 6px; }
.star { color: #e3a700; }
.price { color: var(--red); font-weight: 800; font-size: 17px; font-variant-numeric: tabular-nums; }
.unit { font-size: 12.5px; color: var(--muted); font-weight: 500; }
.ocop { position: absolute; top: 10px; left: 10px; background: #fffdf5; border: 1px solid #ecd28a; color: #7a5600; font-weight: 800; font-size: 11.5px; border-radius: 999px; padding: 3px 9px; letter-spacing: .02em; }
.ocop.t { border-color: #cfe0c6; color: var(--green-d); background: #fbfdf9; }
.ocop.inline { position: static; display: inline-block; }

.trust { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.trust div { display: flex; gap: 12px; align-items: flex-start; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 14px; font-size: 13.5px; color: var(--muted); }
.trust .ic { color: var(--green); width: 26px; height: 26px; }
.trust b { display: block; font-size: 14.5px; color: var(--ink); }
.sellers { display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 14px; }
.scard { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 16px; text-decoration: none; display: flex; flex-direction: column; gap: 10px; }
.scard:hover { border-color: var(--green); }
.scard .hd { display: flex; gap: 12px; align-items: center; }
.ava { width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center; color: #fff; font-weight: 800; flex: none; font-size: 16px; }
.scard b { display: block; font-size: 15px; line-height: 1.3; }
.scard span { font-size: 13px; color: var(--muted); }
.scard p { font-size: 13.5px; color: #474d54; }
.exp { display: grid; grid-template-columns: 1.2fr 1fr; background: #fff; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; text-decoration: none; }
.exp .art { min-height: 240px; }
.exp .b { padding: 24px; display: flex; flex-direction: column; gap: 10px; justify-content: center; }
.exp h3 { font-size: 22px; }

.filters { display: grid; grid-template-columns: 250px 1fr; gap: 24px; padding-top: 18px; align-items: start; }
.fbox { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 16px; position: sticky; top: calc(var(--bar) + 12px); }
.fbox h4 { font-size: 13px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin: 14px 0 8px; }
.fbox h4:first-child { margin-top: 0; }
.fbox .tabs { margin-bottom: 0; gap: 6px; }
.fbox .tab { font-size: 13px; padding: 6px 11px; }
.listbar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; gap: 10px; flex-wrap: wrap; }
.listbar select { width: auto; padding: 8px 10px; }
.empty { text-align: center; padding: 40px 16px; color: var(--muted); background: #fff; border: 1px dashed var(--line); border-radius: 14px; }

.pd { display: grid; grid-template-columns: 1fr 1fr; gap: 34px; padding-top: 14px; }
.gal .art { aspect-ratio: 4 / 3; border-radius: 16px; border: 1px solid var(--line); }
.thumbs { display: flex; gap: 8px; margin-top: 10px; }
.thumbs .art { width: 84px; aspect-ratio: 4 / 3; border-radius: 8px; border: 1px solid var(--line); }
.thumbs .art.dim { opacity: .55; }
.pd h1 { font-size: 30px; font-weight: 800; margin: 10px 0 6px; }
.pd .rate { display: flex; gap: 14px; font-size: 14px; color: var(--muted); flex-wrap: wrap; }
.pd .pr { font-size: 32px; font-weight: 800; color: var(--red); margin: 14px 0 4px; font-variant-numeric: tabular-nums; }
.pd .pr small { font-size: 15px; color: var(--muted); font-weight: 500; }
.qty { display: inline-flex; border: 1px solid #d9d3c6; border-radius: 10px; overflow: hidden; background: #fff; }
.qty button { border: 0; background: #f5f2ec; width: 42px; height: 44px; cursor: pointer; display: grid; place-items: center; }
.qty input { width: 54px; border: 0; text-align: center; font: inherit; font-weight: 700; font-size: 16px; }
.buyrow { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; margin: 18px 0; }
.contact { display: flex; gap: 8px; flex-wrap: wrap; }
.seller-box { display: flex; gap: 12px; align-items: center; padding: 14px; border: 1px solid var(--line); border-radius: 12px; background: #fff; margin-top: 18px; text-decoration: none; }
.seller-box:hover { border-color: var(--green); }
.seller-box .grow { flex: 1; min-width: 0; }
.pd-sec { margin-top: 34px; }
.pd-sec > h2 { font-size: 21px; margin-bottom: 12px; font-weight: 800; }
.pd-sec .desc { font-size: 16px; line-height: 1.7; max-width: 760px; }
.trace { display: grid; grid-template-columns: 220px 1fr; gap: 24px; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 20px; }
.trace .qrcol { text-align: center; font-size: 13px; color: var(--muted); }
.trace .qrcol svg { margin: 0 auto 8px; border: 1px solid var(--line); border-radius: 8px; }
.lot { font-family: ui-monospace, Consolas, monospace; font-weight: 700; color: var(--ink); }
.reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.rv { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 14px; font-size: 14px; }
.rv b { display: block; }

.cart-grid { display: grid; grid-template-columns: 1fr 380px; gap: 24px; padding-top: 14px; align-items: start; }
.cgroup { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 6px 16px 10px; margin-bottom: 14px; }
.cgroup .gh2 { display: flex; gap: 10px; align-items: center; padding: 10px 0; border-bottom: 1px solid #efeae0; font-weight: 700; }
.cgroup .gh2 .ava { width: 32px; height: 32px; border-radius: 8px; font-size: 12px; }
.citem { display: grid; grid-template-columns: 84px 1fr auto; gap: 14px; align-items: center; padding: 12px 0; border-bottom: 1px solid #efeae0; }
.citem:last-child { border-bottom: 0; }
.citem .art { border-radius: 8px; aspect-ratio: 4 / 3; }
.citem h4 { font-size: 15px; }
.citem .qty button { width: 34px; height: 34px; }
.citem .qty input { width: 40px; font-size: 14px; }
.citem .right { text-align: right; display: flex; flex-direction: column; gap: 6px; align-items: flex-end; }
.linkbtn { background: none; border: 0; color: var(--muted); font-size: 13px; cursor: pointer; text-decoration: underline; padding: 0; }
.sumbox { position: sticky; top: calc(var(--bar) + 12px); }
.sumline { display: flex; justify-content: space-between; font-size: 15px; padding: 5px 0; }
.sumline.total { font-size: 19px; font-weight: 800; border-top: 1px solid var(--line); margin-top: 6px; padding-top: 10px; }
.sumline.total span:last-child { color: var(--red); }
.radio { display: flex; gap: 10px; align-items: flex-start; border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; cursor: pointer; margin-top: 8px; font-size: 14px; }
.radio input { margin-top: 4px; }
.radio b { display: block; font-size: 14.5px; }
.radio:has(input:checked) { border-color: var(--green); background: var(--green-l); }
.done-box { max-width: 760px; margin: 26px auto 0; }
.paylist { display: grid; gap: 12px; margin-top: 16px; }
.payrow { display: grid; grid-template-columns: 120px 1fr; gap: 16px; align-items: center; border: 1px solid var(--line); border-radius: 12px; padding: 12px; background: #fff; }

.season-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 14px; background: #fff; }
.season { width: 100%; border-collapse: collapse; font-size: 13.5px; min-width: 760px; }
.season th, .season td { padding: 9px 4px; border-bottom: 1px solid #efeae0; text-align: center; }
.season th { font-weight: 700; background: #f6f2ea; }
.season td:first-child, .season th:first-child { text-align: left; padding-left: 14px; white-space: nowrap; }
.season td:first-child a { text-decoration: none; font-weight: 600; }
.season td.c span { display: block; height: 18px; border-radius: 4px; margin: 0 2px; }
.season td.c.on span { background: #cfe6c1; }
.season td.c.pk span { background: #6ea95a; }
.season .now { background: var(--gold-l); }
.legend { display: flex; gap: 16px; font-size: 13px; color: var(--muted); margin-top: 10px; flex-wrap: wrap; }
.legend i { display: inline-block; width: 18px; height: 12px; border-radius: 3px; vertical-align: -1px; margin-right: 6px; }

.steps { counter-reset: s; display: grid; gap: 18px; }
.step { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 18px 20px; }
.step h3 { font-size: 17px; display: flex; gap: 10px; align-items: center; margin-bottom: 12px; }
.step h3::before { counter-increment: s; content: counter(s); width: 28px; height: 28px; border-radius: 50%; background: var(--green); color: #fff; display: grid; place-items: center; font-size: 14px; flex: none; }
.side-note { background: var(--green-l); border: 1px solid #cfe2c4; border-radius: 14px; padding: 18px; font-size: 14.5px; }
.side-note h3 { font-size: 16px; margin-bottom: 8px; }
.side-note ul { margin: 0; padding-left: 18px; display: grid; gap: 6px; }

.mk-foot { background: #1e3a20; color: #cfdcc9; margin-top: 46px; font-size: 14px; }
.mk-foot .cols { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 24px; padding-top: 30px; padding-bottom: 24px; }
.mk-foot h4 { color: #fff; font-size: 14px; margin-bottom: 8px; }
.mk-foot a { text-decoration: none; display: block; padding: 2px 0; }
.mk-foot a:hover { color: #fff; }
.mk-foot .bottom { border-top: 1px solid rgba(255, 255, 255, .12); padding: 12px 16px; text-align: center; font-size: 12.5px; opacity: .8; }

/* ---------- Modal, toast ---------- */
.modal-bg { position: fixed; inset: 0; background: rgba(15, 15, 15, .45); display: grid; place-items: center; z-index: 100; padding: 16px; }
.modal { background: #fff; border-radius: 16px; max-width: 480px; width: 100%; padding: 26px 24px 22px; box-shadow: 0 20px 50px rgba(0, 0, 0, .25); text-align: center; max-height: calc(100vh - 32px); overflow-y: auto; }
.modal h3 { font-size: 20px; margin-bottom: 6px; }
.modal p { color: #474d54; font-size: 15px; }
.modal .acts { display: flex; gap: 10px; justify-content: center; margin-top: 18px; flex-wrap: wrap; }
.big-ic { width: 58px; height: 58px; border-radius: 50%; background: var(--green-l); color: var(--green); display: grid; place-items: center; margin: 0 auto 12px; }
.big-ic .ic { width: 30px; height: 30px; }
.code { font-family: ui-monospace, Consolas, monospace; font-size: 20px; font-weight: 700; letter-spacing: .04em; background: #f4f1ea; padding: 8px 14px; border-radius: 8px; display: inline-block; margin: 10px 0 6px; }
.modal .qrbox { display: inline-block; padding: 10px; border: 1px solid var(--line); border-radius: 12px; margin: 10px 0; }
.toast { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%) translateY(20px); background: #1d2125; color: #fff; padding: 11px 18px; border-radius: 10px; font-size: 14px; opacity: 0; transition: .25s; z-index: 120; pointer-events: none; max-width: calc(100vw - 32px); text-align: center; }
.toast.on { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ---------- Quản trị ---------- */
.adm { display: grid; grid-template-columns: 240px 1fr; min-height: calc(100vh - var(--bar)); background: #f3f4f6; }
.adm-side { background: #1b2430; color: #c9d1db; padding: 18px 12px; display: flex; flex-direction: column; gap: 2px; }
.adm-side .brand { display: flex; gap: 10px; align-items: center; padding: 4px 8px 18px; color: #fff; font-weight: 700; font-size: 15px; line-height: 1.3; }
.adm-side .brand .emblem { width: 36px; height: 36px; }
.adm-side button { display: flex; gap: 10px; align-items: center; padding: 10px 12px; border-radius: 8px; color: #c9d1db; background: none; border: 0; font-size: 14.5px; cursor: pointer; text-align: left; white-space: nowrap; }
.adm-side button:hover { background: #253142; color: #fff; }
.adm-side button.on { background: #2f3d50; color: #fff; }
.adm-side .who { margin-top: auto; padding: 12px; font-size: 13px; border-top: 1px solid #2c3746; }
.adm-side .who b { display: block; color: #fff; }
.adm-main { padding: 22px 26px 40px; min-width: 0; }
.adm-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; gap: 12px; flex-wrap: wrap; }
.adm-head h1 { font-size: 24px; }
.adm-head p { color: #5b6472; font-size: 14px; }
.kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.kpi { background: #fff; border-radius: 12px; padding: 16px; border: 1px solid #e5e7eb; }
.kpi span { font-size: 13px; color: #5b6472; }
.kpi b { display: block; font-size: 28px; margin: 4px 0 2px; font-variant-numeric: tabular-nums; }
.kpi small { font-size: 12.5px; color: #16803c; font-weight: 600; }
.box { background: #fff; border-radius: 12px; border: 1px solid #e5e7eb; padding: 16px 18px; }
.box > h3 { font-size: 16px; margin-bottom: 12px; display: flex; justify-content: space-between; gap: 8px; align-items: baseline; }
.box > h3 small { font-weight: 500; color: #5b6472; font-size: 12.5px; }
.adm-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 16px; margin-top: 16px; }
.chart { width: 100%; height: auto; }
.hbar { display: grid; grid-template-columns: 150px 1fr 34px; gap: 10px; align-items: center; font-size: 13.5px; margin-bottom: 9px; }
.hbar .tr { height: 12px; background: #eef0f3; border-radius: 99px; overflow: hidden; }
.hbar .tr i { display: block; height: 100%; background: var(--red); border-radius: 99px; }
.hbar b { text-align: right; font-variant-numeric: tabular-nums; }
.todo { display: grid; gap: 8px; }
.todo div { display: flex; gap: 10px; align-items: center; padding: 10px 12px; border: 1px solid #eceef1; border-radius: 10px; font-size: 14px; }
.todo .ic { color: var(--red); }
.todo button { margin-left: auto; }
.adm .tbl th { background: #f7f8fa; }
.adm select.input { padding: 6px 8px; font-size: 13.5px; width: auto; }
.ans { display: flex; gap: 6px; margin-top: 8px; }
.ans .input { padding: 7px 10px; font-size: 13.5px; }
.pend { display: grid; gap: 10px; }
.pend > div { display: flex; gap: 12px; align-items: center; background: #fff; border: 1px solid #e5e7eb; border-radius: 12px; padding: 12px 14px; flex-wrap: wrap; }
.pend b { display: block; }
.pend .grow { flex: 1; min-width: 200px; }
.ai-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 16px; }
.ai-out { white-space: pre-wrap; font-size: 14.5px; line-height: 1.65; background: #fbfaf7; border: 1px solid #ece7dc; border-radius: 10px; padding: 14px; min-height: 120px; }
.ai-out + .ai-out { margin-top: 12px; }
.ai-lbl { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: #5b6472; margin: 14px 0 6px; }
.badge-sim { display: inline-block; font-size: 11.5px; font-weight: 700; color: #7a5600; background: var(--gold-l); border: 1px solid #f0dc9c; border-radius: 6px; padding: 2px 8px; }

/* ---------- Trên điện thoại ---------- */
.ph-page { background: #eef0ee; min-height: calc(100vh - var(--bar)); padding: 30px 0 50px; }
.ph-head { text-align: center; max-width: 720px; margin: 0 auto 26px; }
.ph-head h1 { font-size: 28px; font-weight: 800; }
.ph-head p { color: var(--muted); margin-top: 6px; }
.phones { display: flex; gap: 46px; justify-content: center; flex-wrap: wrap; }
.phone-wrap { margin: 0; }
.phone { width: 360px; height: 720px; border-radius: 46px; background: #121416; padding: 12px; box-shadow: 0 30px 60px rgba(0, 0, 0, .25), inset 0 0 0 2px #2a2d31; }
.phone .scr { width: 100%; height: 100%; border-radius: 35px; overflow: hidden; background: #fff; display: flex; flex-direction: column; }
.zbar { height: 54px; flex: none; background: #fff; border-bottom: 1px solid #e8e8e8; display: flex; align-items: flex-end; padding: 0 12px 8px; gap: 10px; font-size: 15px; }
.zbar b { flex: 1; text-align: center; font-weight: 700; padding-left: 70px; }
.zb-cap { display: flex; border: 1px solid #ddd; border-radius: 99px; overflow: hidden; font-size: 13px; }
.zb-cap i { font-style: normal; padding: 3px 10px; }
.zb-cap i + i { border-left: 1px solid #ddd; }
.phone iframe { flex: 1; width: 100%; border: 0; }
.phone-wrap figcaption { text-align: center; margin-top: 16px; font-weight: 700; }
.phone-wrap figcaption span { display: block; font-weight: 400; color: var(--muted); font-size: 14px; }

/* ---------- Tổng quan đề xuất ---------- */
.ov-hero { background: #fbf6ec; border-bottom: 1px solid var(--line); }
.ov-hero .wrap { padding-top: 50px; padding-bottom: 48px; display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; }
.ov-hero h1 { font-size: 54px; font-weight: 800; letter-spacing: -.015em; margin: 10px 0 14px; color: #1b1e21; line-height: 1.05; }
.ov-hero .lead { font-size: 18px; color: #3d434a; max-width: 600px; }
.ov-hero .acts { display: flex; gap: 10px; margin-top: 24px; flex-wrap: wrap; }
.ov-hero .pic { border-radius: 20px; overflow: hidden; aspect-ratio: 5 / 4; border: 1px solid #efe3c7; box-shadow: var(--sh); }
.ov-hero .pic svg { width: 100%; height: 100%; }
.facts { margin-top: 26px; font-size: 14.5px; color: var(--muted); border-top: 1px solid var(--line); padding-top: 14px; display: flex; flex-wrap: wrap; gap: 6px 22px; }
.facts b { color: var(--ink); }
.ov-sec { padding-top: 50px; }
.ov-sec > h2 { font-size: 28px; font-weight: 800; margin-bottom: 6px; }
.ov-sec > .sub { color: var(--muted); margin-bottom: 22px; max-width: 760px; }
.probs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.prob { background: #fff; border: 1px solid var(--line); border-top: 3px solid var(--red); border-radius: 4px 4px 12px 12px; padding: 16px 18px; }
.prob h3 { font-size: 17px; margin-bottom: 6px; }
.prob p { font-size: 14.5px; color: #474d54; }
.mods { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.mod { background: #fff; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; display: flex; flex-direction: column; }
.mod .art { aspect-ratio: 16 / 7; }
.mod .b { padding: 20px 22px 22px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.mod h3 { font-size: 22px; }
.mod ul { margin: 0 0 6px; padding-left: 20px; display: grid; gap: 5px; font-size: 15px; }
.mod .btn { align-self: flex-start; margin-top: auto; }
.shared { margin-top: 16px; background: #fff; border: 1px dashed #d9d3c6; border-radius: 14px; padding: 14px 18px; font-size: 15px; display: flex; gap: 10px 22px; flex-wrap: wrap; align-items: center; }
.shared b { font-size: 14px; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); }
.shared a { text-decoration: none; font-weight: 600; }
.shared a:hover { color: var(--red); }
.arch { display: grid; grid-template-columns: 1fr 22px 1fr 22px 1.15fr 22px 1fr; gap: 6px; align-items: stretch; }
.arch .col { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 14px; }
.arch .col.core { background: #fff8f7; border-color: #efcfcf; }
.arch h4 { font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; }
.arch .node { border: 1px solid #ebe5d9; border-radius: 10px; padding: 8px 11px; margin-bottom: 8px; font-size: 14px; font-weight: 600; background: #fcfaf6; }
.arch .core .node { background: #fff; border-color: #f0d6d6; }
.arch .node small { display: block; font-weight: 400; color: var(--muted); font-size: 12.5px; }
.arch .arrow { display: grid; place-items: center; color: #b9b1a2; }
.phases { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.phase { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 18px 20px; display: flex; flex-direction: column; }
.phase .when { font-size: 13px; font-weight: 700; color: var(--red); }
.phase h3 { font-size: 19px; margin: 4px 0 10px; }
.phase ul { margin: 0; padding-left: 18px; display: grid; gap: 5px; font-size: 14.5px; }
.phase .goal { margin-top: auto; font-size: 13.5px; background: var(--gold-l); padding: 8px 10px; border-radius: 8px; }
.phase ul + .goal { margin-top: 14px; }
.roles { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.role { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 18px 20px; }
.role h3 { font-size: 17px; margin-bottom: 10px; }
.role ul { margin: 0; padding-left: 18px; display: grid; gap: 6px; font-size: 14.5px; }
.princ { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.princ div { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; font-size: 14px; color: #474d54; }
.princ b { display: block; color: var(--ink); font-size: 15px; margin-bottom: 4px; }
.kpi-list { background: #fff; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.kpi-list div { display: grid; grid-template-columns: 1fr 200px; gap: 16px; padding: 12px 18px; border-bottom: 1px solid #efeae0; font-size: 15px; }
.kpi-list div:last-child { border-bottom: 0; }
.kpi-list b { text-align: right; color: var(--red); }
.ask { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 18px 22px; }
.ask ol { margin: 0; padding-left: 20px; display: grid; gap: 7px; font-size: 15px; }
.ov-foot { margin-top: 50px; padding: 22px 0 30px; border-top: 1px solid var(--line); color: var(--muted); font-size: 13.5px; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .arch { grid-template-columns: 1fr 1fr; }
  .arch .arrow { display: none; }
  .princ { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 980px) {
  .g-hero, .two, .pa-grid, .article, .pd, .cart-grid, .adm-grid, .ov-hero .wrap, .mods, .mk-hero .wrap, .exp, .ai-grid, .filters { grid-template-columns: 1fr; }
  .quick { grid-template-columns: 1fr 1fr; }
  .cats { grid-template-columns: repeat(4, 1fr); }
  .strip { grid-template-columns: repeat(3, 1fr); }
  .trust, .kpis { grid-template-columns: 1fr 1fr; }
  .phases, .probs, .deeds, .reviews { grid-template-columns: 1fr; }
  .adm { grid-template-columns: 1fr; }
  .adm-side { flex-direction: row; overflow-x: auto; padding: 8px; }
  .adm-side .brand, .adm-side .who { display: none; }
  .gov-tools { display: none; }
  .fbox { position: static; }
  .sumbox { position: static; }
  .mk-foot .cols { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .demobar .note { display: none; }
  .gov-name { font-size: 22px; }
  .gov-sup { font-size: 10.5px; }
  .gov-sub { font-size: 12px; }
  .emblem { width: 50px; height: 50px; }
  .gov-brand { gap: 12px; padding-top: 12px; padding-bottom: 12px; }
  .gov-nav a { padding: 11px 11px; font-size: 14px; }
  .gov-nav a.ext { margin-left: 0; }
  .g-feature h2 { font-size: 19px; }
  .nitem { grid-template-columns: 96px 1fr; }
  .quick { gap: 10px; }
  .qbtn { flex-direction: column; align-items: flex-start; gap: 8px; padding: 14px; }
  .qbtn b { font-size: 15px; }
  .stats, .fund-row { grid-template-columns: 1fr 1fr 1fr; gap: 6px; }
  .stat b { font-size: 18px; }
  .fund-row div b { font-size: 15px; }
  .row2 { grid-template-columns: 1fr; }
  .deed { grid-template-columns: 100px 1fr; }
  .strip { grid-template-columns: 1fr 1fr; }
  .callout { flex-direction: column; align-items: flex-start; }
  .callout .btn { margin-left: 0; }
  .gov-foot .cols, .mk-foot .cols { grid-template-columns: 1fr; }
  .article h1 { font-size: 24px; }
  .mk-top .wrap { flex-wrap: wrap; min-height: 0; padding-top: 10px; padding-bottom: 10px; gap: 10px; }
  .mk-logo b { font-size: 19px; }
  .mk-logo .lg { width: 40px; height: 40px; }
  .mk-search { order: 3; flex-basis: 100%; max-width: none; }
  .mk-actions .hide-s { display: none; }
  .mk-nav a.alt { margin-left: 0; }
  .mk-hero .wrap { padding-top: 22px; padding-bottom: 28px; gap: 20px; }
  .mk-hero h1 { font-size: 29px; }
  .mk-hero p.lead { font-size: 15.5px; }
  .hero-meta { gap: 18px; }
  .hero-meta b { font-size: 20px; }
  .cats { grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .cat b { font-size: 12.5px; }
  .pgrid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .pcard h3 { font-size: 14px; }
  .price { font-size: 15.5px; }
  .ocop { font-size: 10.5px; padding: 2px 7px; top: 8px; left: 8px; }
  .trust { grid-template-columns: 1fr; }
  .mh h2 { font-size: 20px; }
  .pd h1 { font-size: 24px; }
  .pd .pr { font-size: 26px; }
  .trace { grid-template-columns: 1fr; }
  .kv { grid-template-columns: 110px 1fr; }
  .citem { grid-template-columns: 64px 1fr; }
  .citem .right { grid-column: 2; align-items: flex-start; flex-direction: row; justify-content: space-between; width: 100%; }
  .payrow { grid-template-columns: 1fr; justify-items: center; text-align: center; }
  .donate { grid-template-columns: 1fr; justify-items: center; }
  .kpis { grid-template-columns: 1fr 1fr; }
  .hbar { grid-template-columns: 110px 1fr 30px; }
  .adm-main { padding: 16px; }
  .ov-hero h1 { font-size: 38px; }
  .ov-hero .wrap { padding-top: 30px; padding-bottom: 30px; }
  .arch, .princ, .roles { grid-template-columns: 1fr; }
  .kpi-list div { grid-template-columns: 1fr; gap: 2px; }
  .kpi-list b { text-align: left; }
  .phone { width: 330px; height: 660px; }
}
