/* Interactive: Bộ tiêu chí thôn đạt chuẩn nông thôn mới hiện đại - Hà Tĩnh 2026-2030 */

:root {
    --red: #C21807;
    --green: #15803D;
    --green-dark: #064E2B;
    --green-deep: #04301B;
    --green-soft: #F0FDF4;
    --leaf: #22C55E;
    --gold: #F59E0B;
    --gold-light: #FCD34D;
    --ink: #0F172A;
    --ink-2: #1E293B;
    --ink-3: #334155;
    --muted: #64748B;
    --line: #E2E8F0;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 18px; }
body {
    margin: 0; font-family: 'Roboto', sans-serif; color: var(--ink-2);
    background-color: #fff;
    background-image: radial-gradient(#dcefe0 1.4px, transparent 1.4px);
    background-size: 24px 24px;
    -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility; overflow-x: hidden;
}
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: #F1F5F9; }
::-webkit-scrollbar-thumb { background: var(--green); border-radius: 4px; }
::selection { background: var(--green); color: #fff; }
h1, h2, h3, h4, p { margin: 0; }
button { font-family: inherit; }
.longform-header {
    position: sticky; top: 0; z-index: 500; background: #fff;
    display: flex; align-items: center; justify-content: space-between;
    padding: 0 20px; height: 52px; border-bottom: 1px solid #e8eaed;
    box-shadow: 0 2px 8px rgba(0,0,0,0.07);
}
.longform-header::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
    background: linear-gradient(90deg, #8C1104 0%, #C21807 50%, #F59E0B 100%);
}
.longform-header h2 { margin: 0; padding: 0; font-size: inherit; font-weight: inherit; line-height: 1; }
.longform-header .logo { width: 180px; height: 24px; background: url(https://cdn.baohatinh.vn/assets/web/styles/img/logo.svg) 0 0 no-repeat; display: block; text-indent: -999em; }
.longform-header .headline { font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: #1a1a1a; text-decoration: none; transition: color .2s; }
.longform-header .headline:hover { color: var(--red); }
.lf-share-btn { display: inline-flex; align-items: center; gap: 5px; padding: 5px 14px; background: #1877f2; color: #fff; font-size: 12px; font-weight: 600; border-radius: 4px; text-decoration: none; transition: background .2s; line-height: 1.4; }
.lf-share-btn:hover { background: #1565d8; }
.lf-share-btn i { font-size: 11px; }
.read-progress { position: absolute; left: 0; bottom: -1px; height: 2px; width: 0; background: linear-gradient(90deg, var(--green), var(--gold)); }
.hero {
    position: relative; overflow: hidden; color: #fff;
    background:
        radial-gradient(ellipse at 85% 10%, rgba(252,211,77,.32) 0%, transparent 45%),
        radial-gradient(ellipse at 10% 90%, rgba(34,197,94,.22) 0%, transparent 50%),
        linear-gradient(170deg, #03291A 0%, #064E2B 50%, #0B6B3A 100%);
}
.hero-grid {
    position: absolute; inset: 0;
    background-image: linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
    background-size: 40px 40px;
    mask-image: linear-gradient(180deg, #000 0%, transparent 80%);
    -webkit-mask-image: linear-gradient(180deg, #000 0%, transparent 80%);
}
.hero-fields { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: 190px; pointer-events: none; }
.hero-inner { position: relative; z-index: 2; max-width: 1160px; margin: 0 auto; padding: 72px 20px 40px; display: grid; grid-template-columns: 1.3fr .85fr; gap: 48px; align-items: center; }
.hero-chip { display: inline-flex; align-items: center; gap: 8px; flex-wrap: wrap; padding: 6px 16px; border-radius: 999px; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.22); font-size: .7rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--gold-light); line-height: 1.5; }
.hero h1 { margin-top: 22px; font-weight: 900; line-height: 1.18; }
.hero h1 .t-small { display: block; font-size: clamp(1rem, 2.1vw, 1.4rem); font-weight: 700; color: #DCFCE7; line-height: 1.45; text-transform: uppercase; letter-spacing: .04em; }
.hero h1 .t-big { display: block; margin-top: 12px; font-size: clamp(2rem, 5.2vw, 3.5rem); text-transform: uppercase; letter-spacing: -.01em; }
.hero h1 .t-big em { font-style: normal; background: linear-gradient(90deg, #FDE68A, #F59E0B); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.hero h1 .t-sub { display: block; margin-top: 12px; font-size: clamp(.95rem, 1.9vw, 1.25rem); font-weight: 700; color: #BBF7D0; }
.gold-line { display: block; width: 64px; height: 3px; margin: 26px 0; background: linear-gradient(90deg, #FDE68A 0%, #F59E0B 60%, transparent 100%); border-radius: 2px; }
.hero-sapo { font-size: .92rem; line-height: 1.85; font-weight: 300; color: #DCFCE7; max-width: 640px; }
.hero-sapo strong { color: #fff; font-weight: 700; }
.hero-nav { margin-top: 34px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; max-width: 660px; }
.nav-btn { display: flex; align-items: center; gap: 9px; padding: 11px 14px; border-radius: 14px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.2); color: #fff; text-decoration: none; font-size: .68rem; font-weight: 600; line-height: 1.35; backdrop-filter: blur(4px); transition: all .25s ease; }
.nav-btn i { color: var(--gold-light); width: 16px; text-align: center; }
.nav-btn:hover { background: #fff; color: var(--green-dark); }
.nav-btn:hover i { color: var(--green); }
.hero-card { position: relative; padding: 26px; border-radius: 28px; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.16); backdrop-filter: blur(8px); box-shadow: 0 30px 60px -20px rgba(0,0,0,.45); }
.hero-card .big { display: flex; align-items: flex-end; gap: 18px; }
.hero-card .big div b { display: block; font-size: 4rem; font-weight: 900; line-height: .9; font-variant-numeric: tabular-nums; }
.hero-card .big div span { display: block; margin-top: 8px; font-size: .6rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--gold-light); }
.hero-card .big .sep { width: 1px; align-self: stretch; background: rgba(255,255,255,.18); }
.hero-icons { margin-top: 22px; display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; }
.hero-icons a { aspect-ratio: 1; border-radius: 14px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.12); color: #fff; text-decoration: none; font-size: .9rem; transition: all .25s; opacity: 0; transform: scale(.6); }
.hero-icons a.on { opacity: 1; transform: none; }
.hero-icons a small { font-size: .6rem; font-weight: 800; color: #BBF7D0; }
.hero-icons a:hover { background: #fff; color: var(--green-dark); }
.hero-icons a:hover small { color: var(--green); }
.hero-card .eff { margin-top: 18px; padding-top: 16px; border-top: 1px solid rgba(255,255,255,.14); display: flex; align-items: center; gap: 12px; font-size: .74rem; color: #DCFCE7; line-height: 1.5; }
.hero-card .eff i { color: var(--gold-light); font-size: 1.1rem; }
.hero-card .eff b { color: #fff; }
.hero-stats { position: relative; z-index: 2; max-width: 1160px; margin: 0 auto; padding: 10px 20px 120px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.hstat { padding: 18px 20px; border-radius: 18px; background: rgba(0,0,0,.2); border: 1px solid rgba(255,255,255,.12); backdrop-filter: blur(4px); }
.hstat .v { font-size: 1.8rem; font-weight: 900; line-height: 1; color: #fff; font-variant-numeric: tabular-nums; }
.hstat .v small { font-size: .78rem; font-weight: 700; color: var(--gold-light); margin-left: 2px; }
.hstat .k { margin-top: 8px; font-size: .72rem; line-height: 1.45; color: #DCFCE7; }
main { max-width: 1160px; margin: 0 auto; padding: 0 20px; }
section.blk { padding: 76px 0; scroll-margin-top: 60px; }
.section-sep { height: 1px; background: linear-gradient(90deg, transparent, var(--line) 20%, var(--line) 80%, transparent); }
.sec-head { display: flex; align-items: center; gap: 16px; margin-bottom: 30px; }
.section-badge { width: 3rem; height: 3rem; flex-shrink: 0; border-radius: .875rem; display: flex; align-items: center; justify-content: center; color: #fff; font-weight: 900; font-size: 1.05rem; background: linear-gradient(135deg, #16A34A 0%, #064E2B 100%); box-shadow: 0 4px 14px rgba(21,128,61,.38), inset 0 1px 0 rgba(255,255,255,.18); position: relative; overflow: hidden; }
.section-badge::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 50%; background: rgba(255,255,255,.08); }
.section-kicker { display: block; font-size: .64rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); margin-bottom: 3px; }
.sec-title { font-size: clamp(1.1rem, 2.4vw, 1.45rem); font-weight: 900; text-transform: uppercase; color: var(--ink); line-height: 1.4; letter-spacing: .01em; }
.lead { font-size: .9rem; line-height: 1.85; color: var(--ink-3); max-width: 880px; margin-bottom: 30px; }
.lead strong { color: var(--ink); }
.card { background: #fff; border: 1px solid var(--line); border-radius: 22px; box-shadow: 0 10px 30px -5px rgba(21,128,61,.08), 0 4px 12px -2px rgba(21,128,61,.03); }
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s cubic-bezier(.16,1,.3,1), transform .8s cubic-bezier(.16,1,.3,1); }
.js .reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
    .js .reveal { opacity: 1; transform: none; transition: none; }
    .hs-pulse, .sun-rays, .cloud { animation: none !important; }
}
.shift { display: grid; grid-template-columns: 1fr auto 1fr; overflow: hidden; }
.shift-col { padding: 28px 30px; }
.shift-col.old { background: #F8FAFC; }
.shift-col .tag { display: inline-flex; align-items: center; gap: 6px; font-size: .58rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; padding: 4px 11px; border-radius: 999px; }
.shift-col.old .tag { background: #E2E8F0; color: #475569; }
.shift-col.new .tag { background: var(--green-soft); color: var(--green); border: 1px solid #BBF7D0; }
.shift-col .nm { margin-top: 14px; font-size: clamp(1.05rem, 2.2vw, 1.4rem); font-weight: 900; line-height: 1.3; }
.shift-col.old .nm { color: #94A3B8; }
.shift-col.new .nm { color: var(--ink); }
.shift-col.new .nm em { font-style: normal; color: var(--green); position: relative; }
.shift-col.new .nm em::after { content: ''; position: absolute; left: 0; right: 0; bottom: -2px; height: 7px; background: var(--gold-light); opacity: .5; border-radius: 3px; z-index: -1; }
.shift-col .meta { margin-top: 12px; font-size: .78rem; line-height: 1.7; color: var(--muted); }
.shift-col .meta b { color: var(--ink-3); }
.shift-arrow { display: flex; align-items: center; justify-content: center; padding: 0 6px; background: linear-gradient(90deg, #F8FAFC 50%, #fff 50%); }
.shift-arrow span { width: 52px; height: 52px; border-radius: 50%; background: linear-gradient(135deg, #16A34A, #064E2B); color: #fff; display: flex; align-items: center; justify-content: center; box-shadow: 0 8px 22px -4px rgba(21,128,61,.45); }
.info3 { margin-top: 22px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.info { padding: 22px; border-radius: 20px; background: #fff; border: 1px solid var(--line); }
.info .ico { width: 44px; height: 44px; border-radius: 13px; background: var(--green-soft); color: var(--green); display: flex; align-items: center; justify-content: center; font-size: 1rem; margin-bottom: 14px; }
.info h3 { font-size: .9rem; font-weight: 800; color: var(--ink); }
.info ul { margin: 10px 0 0; padding: 0; list-style: none; }
.info li { position: relative; padding: 7px 0 7px 16px; font-size: .78rem; line-height: 1.65; color: var(--ink-3); border-top: 1px dashed var(--line); }
.info li::before { content: ''; position: absolute; left: 2px; top: 16px; width: 6px; height: 6px; border-radius: 50%; background: var(--leaf); }
.village { display: grid; grid-template-columns: 1.45fr 1fr; gap: 0; overflow: hidden; }
.map { position: relative; background: #E0F2FE; }
.map svg { display: block; width: 100%; height: auto; }
.hs {
    position: absolute; transform: translate(-50%, -50%); z-index: 3;
    width: 36px; height: 36px; border-radius: 50%; border: 3px solid #fff;
    background: var(--c); color: #fff; font-weight: 900; font-size: .7rem; cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 6px 16px -4px rgba(0,0,0,.45); transition: transform .25s;
}
.hs:hover { transform: translate(-50%, -50%) scale(1.15); }
.hs.is-active { transform: translate(-50%, -50%) scale(1.25); box-shadow: 0 0 0 5px rgba(255,255,255,.65), 0 10px 22px -4px rgba(0,0,0,.5); }
.hs-pulse { position: absolute; inset: -3px; border-radius: 50%; border: 2px solid var(--c); animation: hs-pulse 2.2s ease-out infinite; pointer-events: none; }
@keyframes hs-pulse { 0% { transform: scale(1); opacity: .9; } 100% { transform: scale(2.1); opacity: 0; } }
.map-hint { position: absolute; left: 14px; top: 14px; z-index: 3; display: inline-flex; gap: 8px; align-items: center; padding: 7px 12px; border-radius: 999px; background: rgba(255,255,255,.92); font-size: .66rem; font-weight: 700; color: var(--ink-3); box-shadow: 0 4px 12px rgba(0,0,0,.1); }
.map-hint i { color: var(--green); }
.map-chips { display: grid; grid-template-columns: repeat(10, 1fr); gap: 6px; padding: 12px; background: #fff; border-top: 1px solid var(--line); }
.mchip { height: 34px; border-radius: 10px; border: 1.5px solid var(--line); background: #fff; color: var(--muted); font-size: .7rem; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: all .2s; }
.mchip:hover { border-color: var(--c); color: var(--c); }
.mchip.is-active { background: var(--c); border-color: var(--c); color: #fff; }
.panel { padding: 26px 26px 22px; border-left: 1px solid var(--line); display: flex; flex-direction: column; max-height: 680px; }
.panel-head { display: flex; gap: 14px; align-items: center; }
.panel-head .ico { width: 54px; height: 54px; flex-shrink: 0; border-radius: 16px; background: var(--c); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 1.3rem; box-shadow: 0 10px 20px -8px var(--c); }
.panel-head .k { font-size: .66rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--c); }
.panel-head h3 { margin-top: 3px; font-size: 1.15rem; font-weight: 900; color: var(--ink); line-height: 1.35; }
.panel-nav { margin-left: auto; display: flex; gap: 6px; }
.panel-nav button { width: 32px; height: 32px; border-radius: 10px; border: 1px solid var(--line); background: #fff; color: var(--muted); cursor: pointer; font-size: .62rem; }
.panel-nav button:hover { color: var(--c); border-color: var(--c); }
.panel-body { margin-top: 18px; overflow-y: auto; padding-right: 4px; flex: 1; }
.panel-body.fade { animation: fadeIn .4s ease; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.it { padding: 13px 0; border-top: 1px dashed var(--line); }
.it:first-child { border-top: 0; padding-top: 0; }
.it-row { display: flex; gap: 12px; align-items: flex-start; }
.it .code { flex-shrink: 0; font-size: .68rem; font-weight: 900; color: var(--c); background: var(--cs); padding: 3px 7px; border-radius: 6px; margin-top: 2px; font-variant-numeric: tabular-nums; }
.it .tx { flex: 1; font-size: .8rem; line-height: 1.7; color: var(--ink-3); }
.it .tg { flex-shrink: 0; font-size: .72rem; font-weight: 900; color: #fff; background: var(--c); padding: 4px 9px; border-radius: 8px; white-space: nowrap; margin-top: 1px; }
.it .sub { margin: 8px 0 0 44px; padding: 0; list-style: none; }
.it .sub li { position: relative; padding: 7px 0 7px 14px; font-size: .74rem; line-height: 1.65; color: var(--ink-3); }
.it .sub li::before { content: ''; position: absolute; left: 0; top: 17px; width: 6px; height: 2px; background: var(--c); }
.it .sub li .yrs { display: flex; gap: 4px; margin-top: 6px; flex-wrap: wrap; }
.it .sub li .yrs span { font-size: .62rem; font-weight: 700; padding: 3px 6px; border-radius: 6px; background: var(--cs); color: var(--c); }
.it .note { margin: 8px 0 0 44px; font-size: .7rem; line-height: 1.6; color: #92400E; background: #FFFBEB; border: 1px solid #FDE68A; padding: 6px 10px; border-radius: 8px; }
.mods { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.mod { position: relative; overflow: hidden; padding: 22px 20px 20px; border-radius: 22px; background: #fff; border: 1px solid var(--line); cursor: pointer; text-align: left; font-family: inherit; color: inherit; transition: transform .35s cubic-bezier(.16,1,.3,1), box-shadow .35s; }
.mod:hover { transform: translateY(-4px); box-shadow: 0 18px 34px -14px rgba(15,23,42,.2); }
.mod::after { content: ''; position: absolute; right: -30px; top: -30px; width: 110px; height: 110px; border-radius: 50%; background: var(--cs); }
.mod > * { position: relative; z-index: 1; }
.mod .ico { width: 46px; height: 46px; border-radius: 14px; background: var(--c); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 1.05rem; box-shadow: 0 8px 18px -8px var(--c); }
.mod h3 { margin-top: 14px; font-size: .92rem; font-weight: 900; color: var(--ink); line-height: 1.4; }
.mod p { margin-top: 8px; font-size: .76rem; line-height: 1.7; color: var(--ink-3); }
.mod .ref { margin-top: 10px; display: inline-flex; align-items: center; gap: 6px; font-size: .66rem; font-weight: 800; color: var(--c); }
.nums { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.num { padding: 20px 18px 16px; border-radius: 20px; background: #fff; border: 1px solid var(--line); cursor: pointer; text-align: left; font-family: inherit; color: inherit; transition: all .3s; position: relative; overflow: hidden; }
.num::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--c); }
.num:hover { border-color: var(--c); box-shadow: 0 14px 28px -14px var(--c); }
.num .v { font-size: 2.3rem; font-weight: 900; line-height: 1; color: var(--c); font-variant-numeric: tabular-nums; white-space: nowrap; }
.num .v small { font-size: .9rem; font-weight: 800; }
.num .v .op { font-size: 1.1rem; margin-right: 2px; }
.num .l { margin-top: 10px; font-size: .78rem; line-height: 1.55; color: var(--ink-3); }
.num .c { margin-top: 12px; font-size: .62rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); display: flex; gap: 6px; align-items: center; }
.num .c i { color: var(--c); }
.road { padding: 30px; }
.yr-row { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; justify-content: space-between; margin-bottom: 26px; }
.yr-row .k { font-size: .64rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--green); }
.yr-row .t { margin-top: 3px; font-size: 1rem; font-weight: 900; color: var(--ink); }
.yr-btns { display: flex; gap: 6px; background: #F1F5F9; padding: 5px; border-radius: 14px; }
.yr-btn { border: 0; background: none; padding: 9px 15px; border-radius: 10px; font-size: .7rem; font-weight: 800; color: var(--muted); cursor: pointer; transition: all .2s; font-variant-numeric: tabular-nums; }
.yr-btn.is-active { background: #fff; color: var(--green); box-shadow: 0 4px 12px rgba(15,23,42,.1); }
.yr-play { border: 0; width: 40px; height: 40px; border-radius: 12px; background: var(--green); color: #fff; cursor: pointer; }
.gauges { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.gauge { padding: 22px 20px; border-radius: 20px; background: #FBFCFE; border: 1px solid #F1F5F9; }
.gauge .top { display: flex; gap: 12px; align-items: center; }
.gauge .top .ico { width: 40px; height: 40px; border-radius: 12px; background: var(--cs); color: var(--c); display: flex; align-items: center; justify-content: center; }
.gauge .top b { font-size: .84rem; font-weight: 800; color: var(--ink); line-height: 1.4; }
.gauge .top span { display: block; font-size: .64rem; color: var(--muted); font-weight: 600; }
.gauge .val { margin-top: 18px; font-size: 2.6rem; font-weight: 900; color: var(--c); line-height: 1; font-variant-numeric: tabular-nums; }
.gauge .val small { font-size: 1rem; }
.gauge .val .op { font-size: 1.3rem; margin-right: 3px; }
.gauge .bar { margin-top: 14px; height: 10px; border-radius: 5px; background: #E2E8F0; overflow: hidden; }
.gauge .bar i { display: block; height: 100%; border-radius: 5px; background: linear-gradient(90deg, var(--cs2), var(--c)); transition: width .7s cubic-bezier(.16,1,.3,1); }
.gauge .cols { margin-top: 18px; display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; align-items: end; height: 86px; }
.gauge .cols div { display: flex; flex-direction: column; align-items: center; justify-content: flex-end; height: 100%; gap: 4px; cursor: pointer; }
.gauge .cols div i { width: 100%; border-radius: 6px 6px 3px 3px; background: #E2E8F0; transition: background .3s; display: block; }
.gauge .cols div.on i { background: var(--c); }
.gauge .cols div span { font-size: .6rem; font-weight: 700; color: var(--muted); }
.gauge .cols div.on span { color: var(--c); }
.gauge .scope { margin-top: 12px; font-size: .7rem; color: var(--muted); line-height: 1.55; }
.road-note { margin-top: 18px; display: flex; gap: 10px; padding: 14px 18px; border-radius: 14px; background: #EFF6FF; border: 1px solid #BFDBFE; font-size: .76rem; line-height: 1.65; color: #1E3A8A; }
.road-note i { color: #2563EB; margin-top: 3px; }
.assess { display: grid; grid-template-columns: 330px 1fr; gap: 26px; align-items: start; }
.assess-side { position: sticky; top: 74px; padding: 24px 22px; }
.score { text-align: center; }
.score .ring { position: relative; width: 190px; margin: 0 auto; }
.score .ring svg { width: 100%; height: auto; display: block; transform: rotate(-90deg); }
.score .ring .ctr { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.score .ring .ctr b { font-size: 3rem; font-weight: 900; color: var(--ink); line-height: 1; font-variant-numeric: tabular-nums; }
.score .ring .ctr b small { font-size: 1.1rem; color: #94A3B8; }
.score .ring .ctr > span { margin-top: 6px; font-size: .64rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--green); }
.score-msg { margin-top: 14px; font-size: .8rem; line-height: 1.6; color: var(--ink-3); min-height: 3.2em; }
.score-msg b { color: var(--green); }
.crit-dots { margin-top: 16px; display: grid; grid-template-columns: repeat(5, 1fr); gap: 7px; }
.cdot { aspect-ratio: 1; border-radius: 12px; border: 1.5px dashed #CBD5E1; background: #fff; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; color: #94A3B8; font-size: .9rem; cursor: pointer; transition: all .3s; padding: 0; }
.cdot small { font-size: .6rem; font-weight: 800; }
.cdot.ok { background: var(--c); border: 1.5px solid var(--c); color: #fff; }
.cdot.ok small { color: #fff; }
.opts { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 9px; }
.opts .lb { font-size: .64rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.tog { display: flex; gap: 10px; align-items: flex-start; font-size: .74rem; line-height: 1.5; color: var(--ink-3); cursor: pointer; }
.tog input { position: absolute; opacity: 0; pointer-events: none; }
.tog .sw { flex-shrink: 0; width: 34px; height: 20px; border-radius: 999px; background: #CBD5E1; position: relative; transition: background .2s; margin-top: 1px; }
.tog .sw::after { content: ''; position: absolute; left: 2px; top: 2px; width: 16px; height: 16px; border-radius: 50%; background: #fff; transition: transform .2s; box-shadow: 0 1px 3px rgba(0,0,0,.2); }
.tog input:checked + .sw { background: var(--gold); }
.tog input:checked + .sw::after { transform: translateX(14px); }
.tog input:focus-visible + .sw { outline: 3px solid #FDE68A; outline-offset: 2px; }
.side-actions { margin-top: 16px; display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; }
.btn-sm { display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border-radius: 10px; border: 1px solid var(--line); background: #fff; color: var(--ink-3); font-size: .7rem; font-weight: 700; cursor: pointer; transition: all .2s; }
.btn-sm:hover { border-color: #BBF7D0; color: var(--green); }
.btn-sm.primary { background: var(--green); border-color: var(--green); color: #fff; }
.btn-sm.primary:hover { background: var(--green-dark); color: #fff; }
.groups { display: flex; flex-direction: column; gap: 12px; }
.grp { overflow: hidden; border-radius: 18px; border: 1px solid var(--line); background: #fff; scroll-margin-top: 70px; transition: box-shadow .3s; }
.grp.flash { box-shadow: 0 0 0 3px var(--c); }
.grp-head { width: 100%; display: flex; align-items: center; gap: 14px; padding: 15px 18px; background: none; border: 0; cursor: pointer; text-align: left; color: inherit; }
.grp-head .rn { width: 40px; height: 40px; flex-shrink: 0; border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: .9rem; color: #fff; background: var(--c); }
.grp-head .tt { flex: 1; }
.grp-head .tt b { display: block; font-size: .9rem; font-weight: 800; color: var(--ink); line-height: 1.4; }
.grp-head .tt span { display: block; margin-top: 2px; font-size: .66rem; color: var(--muted); }
.grp-head .st { font-size: .7rem; font-weight: 800; padding: 5px 10px; border-radius: 999px; white-space: nowrap; background: #F1F5F9; color: var(--muted); font-variant-numeric: tabular-nums; }
.grp.done .grp-head .st { background: var(--c); color: #fff; }
.grp-head .chev { color: #94A3B8; transition: transform .3s; font-size: .7rem; }
.grp.open .grp-head .chev { transform: rotate(180deg); }
.grp-body { display: none; padding: 0 18px 16px; }
.grp.open .grp-body { display: block; }
.crit { position: relative; display: flex; gap: 12px; align-items: flex-start; padding: 12px 14px; margin-top: 8px; border-radius: 14px; border: 1px solid #F1F5F9; background: #FBFCFE; cursor: pointer; transition: background .25s, border-color .25s, opacity .25s; }
.crit:hover { border-color: var(--cs2); }
.crit input { position: absolute; opacity: 0; pointer-events: none; }
.crit .box { width: 24px; height: 24px; flex-shrink: 0; border-radius: 8px; border: 2px solid #CBD5E1; background: #fff; display: flex; align-items: center; justify-content: center; color: #fff; font-size: .62rem; margin-top: 1px; transition: all .2s; }
.crit input:checked + .box { background: var(--c); border-color: var(--c); }
.crit input:focus-visible + .box { outline: 3px solid var(--cs2); outline-offset: 2px; }
.crit .box i { opacity: 0; transform: scale(.4); transition: all .2s; }
.crit input:checked + .box i { opacity: 1; transform: none; }
.crit .tx { flex: 1; font-size: .82rem; line-height: 1.65; color: var(--ink-3); }
.crit .tx .no { font-weight: 900; color: var(--c); margin-right: 4px; }
.crit .tg { flex-shrink: 0; font-size: .7rem; font-weight: 900; color: var(--c); background: var(--cs); padding: 3px 8px; border-radius: 7px; white-space: nowrap; }
.crit:has(input:checked) { background: var(--cs); border-color: var(--cs2); }
.crit.na { opacity: .45; cursor: not-allowed; }
.crit.na .tx::after { content: 'Không xét'; margin-left: 8px; font-size: .6rem; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; padding: 2px 7px; border-radius: 6px; background: #FEF3C7; color: #92400E; }
.assess-note { margin-top: 16px; display: flex; gap: 10px; padding: 14px 18px; border-radius: 14px; background: #FFFBEB; border: 1px solid #FDE68A; font-size: .76rem; line-height: 1.65; color: #92400E; }
.assess-note i { color: var(--gold); margin-top: 3px; }
.timeline { display: grid; grid-template-columns: repeat(4, 1fr); position: relative; margin-bottom: 26px; }
.timeline::before { content: ''; position: absolute; left: 10%; right: 10%; top: 27px; height: 3px; background: linear-gradient(90deg, #E2E8F0, var(--green), var(--gold)); border-radius: 2px; }
.tl { position: relative; text-align: center; padding: 0 12px; }
.tl .dot { width: 56px; height: 56px; margin: 0 auto; border-radius: 50%; background: #fff; border: 3px solid var(--line); display: flex; align-items: center; justify-content: center; color: var(--muted); font-size: 1rem; position: relative; z-index: 1; }
.tl.on .dot { border-color: var(--green); color: var(--green); }
.tl.hot .dot { background: var(--green); border-color: var(--green); color: #fff; box-shadow: 0 0 0 8px rgba(21,128,61,.12); }
.tl .d { margin-top: 14px; font-size: 1.12rem; font-weight: 900; color: var(--ink); }
.tl.hot .d { color: var(--green); }
.tl .e { margin-top: 6px; font-size: .76rem; line-height: 1.6; color: var(--ink-3); }
.duty { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.duty .item { padding: 22px; border-radius: 20px; background: #fff; border: 1px solid var(--line); display: flex; gap: 14px; }
.duty .item .ico { width: 42px; height: 42px; flex-shrink: 0; border-radius: 12px; background: var(--green-soft); color: var(--green); display: flex; align-items: center; justify-content: center; }
.duty .item b { display: block; font-size: .88rem; font-weight: 800; color: var(--ink); line-height: 1.45; }
.duty .item p { margin-top: 6px; font-size: .76rem; line-height: 1.7; color: var(--ink-3); }
.sign { margin-top: 26px; padding: 22px 26px; display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; border-radius: 20px; background: var(--green-soft); border: 1px solid #BBF7D0; }
.sign .l { font-size: .8rem; color: var(--ink-3); line-height: 1.7; max-width: 720px; }
.sign .l b { color: var(--ink); }
.sign .r { text-align: right; }
.sign .r .k { font-size: .62rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--green); }
.sign .r .n { margin-top: 4px; font-size: 1.05rem; font-weight: 900; color: var(--ink); }

footer { background: #fff; border-top: 1px solid var(--line); padding: 56px 20px 135px; position: relative; color: var(--muted); }
footer::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: linear-gradient(90deg, #064E2B, #16A34A, #F59E0B); }
footer .in { max-width: 1160px; margin: 0 auto; }
footer .cr { text-align: center; font-size: .72rem; margin-bottom: 4px; }
footer .row { margin-top: 22px; padding-top: 22px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; gap: 14px; flex-wrap: wrap; font-size: .62rem; font-weight: 500; }
.top-btn { display: inline-flex; align-items: center; gap: 8px; padding: 8px 16px; border-radius: 12px; border: 1px solid var(--line); background: #fff; color: var(--ink-3); font-size: .62rem; font-weight: 700; cursor: pointer; transition: all .2s; }
.top-btn:hover { color: var(--green); border-color: #BBF7D0; }
.top-btn i { color: var(--green); }
.sun-rays { transform-origin: 880px 82px; animation: spin 60s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.cloud { animation: drift 40s linear infinite alternate; }
.cloud.c2 { animation-duration: 55s; }
@keyframes drift { from { transform: translateX(-30px); } to { transform: translateX(40px); } }
.sig { animation: sig 2.4s ease-out infinite; transform-origin: 330px 108px; }
.sig.s2 { animation-delay: .6s; }
@keyframes sig { 0% { opacity: 0; transform: scale(.6); } 40% { opacity: 1; } 100% { opacity: 0; transform: scale(1.3); } }
@media (max-width: 1024px) {
    .hero-inner { grid-template-columns: 1fr; gap: 36px; padding-top: 56px; }
    .hero-card { max-width: 480px; width: 100%; }
    .hero-stats { grid-template-columns: 1fr 1fr; }
    .village { grid-template-columns: 1fr; }
    .panel { border-left: 0; border-top: 1px solid var(--line); max-height: none; }
    .panel-body { overflow: visible; }
    .mods, .nums { grid-template-columns: 1fr 1fr; }
    .assess { grid-template-columns: 1fr; }
    .assess-side { position: relative; top: 0; }
    .gauges { grid-template-columns: 1fr; }
    .timeline { grid-template-columns: 1fr 1fr; gap: 24px 0; }
    .timeline::before { display: none; }
}
@media (max-width: 760px) {
    html { font-size: 17px; }
    .hero-nav { grid-template-columns: 1fr 1fr; }
    section.blk { padding: 56px 0; }
    .shift { grid-template-columns: 1fr; }
    .shift-arrow { padding: 0; height: 0; position: relative; background: none; z-index: 2; }
    .shift-arrow span { position: absolute; left: 50%; top: 0; transform: translate(-50%, -50%) rotate(90deg); width: 44px; height: 44px; }
    .shift-col { padding: 24px 22px; }
    .info3, .duty { grid-template-columns: 1fr; }
    .hs { width: 26px; height: 26px; font-size: .56rem; border-width: 2px; }
    .map-hint { display: none; }
    .map-chips { grid-template-columns: repeat(5, 1fr); }
    .panel { padding: 22px 18px; }
    .panel-head { gap: 12px; }
    .panel-head .ico { width: 44px; height: 44px; font-size: 1.1rem; }
    .panel-head h3 { font-size: .9rem; }
    .panel-nav { flex-direction: column; }
    .mods { grid-template-columns: 1fr; }
    .road { padding: 22px 18px; }
    .yr-btn { padding: 8px 10px; }
    .grp-head { padding: 14px; gap: 12px; }
    .grp-head .chev { display: none; }
    .grp-body { padding: 0 12px 14px; }
    .crit { flex-wrap: wrap; }
    .crit .tg { margin-left: 36px; }
    .timeline { grid-template-columns: 1fr; gap: 20px; }
    .tl { display: grid; grid-template-columns: 56px 1fr; gap: 0 16px; text-align: left; padding: 0; }
    .tl .dot { margin: 0; grid-row: span 2; }
    .tl .d { margin-top: 6px; }
    .sign .r { text-align: left; }
}
@media (max-width: 640px) {
    .longform-header { padding: 0 12px; }
    .longform-header .logo { width: 130px; background-size: contain; }
    .longform-header .headline { display: none; }
    .hero-inner { padding: 44px 16px 30px; }
    .hero-stats { padding: 0 16px 90px; gap: 10px; }
    .hstat { padding: 14px; }
    .hstat .v { font-size: 1.45rem; }
    .hero-card .big div b { font-size: 3.2rem; }
    main { padding: 0 16px; }
    .nums { grid-template-columns: 1fr 1fr; gap: 10px; }
    .num { padding: 16px 14px 14px; }
    .num .v { font-size: 1.6rem; }
    .it .sub, .it .note { margin-left: 0; }
}
