:root {
    --bg: #f7f8f6;
    --text: #202420;
    --muted: #69716d;
    --panel: #ffffff;
    --line: rgba(32, 36, 32, .12);
    --green: #008d62;
    --green-dark: #00684a;
    --shadow: 0 18px 50px rgba(0, 0, 0, .08);
    --radius: 22px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: var(--text);
    background: var(--bg);
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button, input, textarea, select { font: inherit; }

.site-header {
    background: #fff;
    border-bottom: 1px solid var(--line);
    position: sticky;
    top: 0;
    z-index: 50;
}
.site-header-inner {
    width: min(1220px, calc(100% - 28px));
    margin: 0 auto;
    min-height: 104px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
}
.logo-link img { width: min(560px, 55vw); height: auto; }
.main-nav { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; justify-content: flex-end; }
.main-nav a, .main-nav button {
    border: 0;
    background: transparent;
    color: #0e3d31;
    padding: 10px 14px;
    border-radius: 999px;
    font-weight: 800;
    cursor: pointer;
}
.main-nav a:hover, .main-nav button:hover, .login-pill { background: rgba(0, 141, 98, .10); color: var(--green); }
.main-nav form { margin: 0; }

.flash-success {
    width: min(1220px, calc(100% - 28px));
    margin: 18px auto 0;
    padding: 15px 18px;
    border-radius: 16px;
    background: #e3fff2;
    color: #086642;
    font-weight: 800;
    border: 1px solid rgba(0, 141, 98, .18);
}

.home-page { width: min(1220px, calc(100% - 28px)); margin: 0 auto; padding: 34px 0 70px; }
.sdg-intro-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 26px;
    padding: clamp(24px, 4vw, 48px);
    box-shadow: var(--shadow);
}
.sdg-intro-card h1 {
    margin: 0 0 18px;
    color: var(--green);
    font-size: clamp(38px, 6vw, 76px);
    line-height: 1;
    letter-spacing: -.055em;
}
.sdg-intro-card p {
    margin: 12px 0;
    color: #404943;
    font-size: 18px;
    line-height: 1.85;
    text-align: justify;
}

.sdg-menu {
    margin: 28px 0;
    display: grid;
    grid-template-columns: repeat(17, minmax(56px, 1fr));
    gap: 7px;
}
.sdg-menu-item {
    min-height: 86px;
    border-radius: 3px;
    color: #fff;
    padding: 8px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow: hidden;
    position: relative;
    box-shadow: 0 9px 22px rgba(0, 0, 0, .12);
    transition: transform .16s ease, filter .16s ease;
}
.sdg-menu-item::after {
    content: "";
    position: absolute;
    right: -22px;
    bottom: -22px;
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .18);
}
.sdg-menu-item:hover { transform: translateY(-3px); }
.sdg-menu-item span { font-size: 24px; line-height: 1; font-weight: 950; letter-spacing: -.06em; }
.sdg-menu-item strong { position: relative; z-index: 1; font-size: 9.5px; line-height: 1.08; text-transform: uppercase; font-weight: 950; }

.sdg-goal-list { display: grid; gap: 22px; }
.sdg-goal-block {
    display: grid;
    grid-template-columns: 210px minmax(0, 1fr);
    gap: 24px;
    align-items: stretch;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 26px;
    padding: 18px;
    box-shadow: 0 10px 32px rgba(0, 0, 0, .06);
}
.goal-color-card {
    min-height: 210px;
    color: #fff;
    border-radius: 18px;
    padding: 22px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow: hidden;
    position: relative;
}
.goal-color-card::after {
    content: "";
    position: absolute;
    right: -48px;
    bottom: -48px;
    width: 140px;
    height: 140px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .17);
}
.goal-color-card span { font-size: 68px; line-height: .9; font-weight: 950; letter-spacing: -.08em; }
.goal-color-card strong { position: relative; z-index: 1; font-size: 16px; line-height: 1.15; text-transform: uppercase; }
.goal-text-card { padding: 8px 8px 8px 0; }
.goal-main-title { display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; }
.goal-main-title h2 { margin: 0; font-size: clamp(26px, 4vw, 42px); line-height: 1.08; letter-spacing: -.04em; }
.goal-main-title em { flex: 0 0 auto; color: var(--green); font-style: normal; font-weight: 900; margin-top: 8px; }
.goal-text-card > p { color: #46504b; font-size: 16px; line-height: 1.75; margin: 16px 0; }
.goal-news-list {
    margin-top: 18px;
    border-top: 1px solid var(--line);
    padding-top: 15px;
    display: grid;
    gap: 10px;
}
.goal-news-list h3 { margin: 0 0 4px; color: var(--green); font-size: 18px; }
.goal-news-link {
    display: block;
    padding: 14px 16px;
    border-radius: 16px;
    background: #f7faf8;
    border: 1px solid rgba(0, 141, 98, .11);
}
.goal-news-link:hover { border-color: rgba(0, 141, 98, .34); background: #eef8f3; }
.goal-news-link span { display: block; color: var(--muted); font-size: 12px; font-weight: 900; text-transform: uppercase; letter-spacing: .06em; }
.goal-news-link strong { display: block; margin-top: 4px; font-size: 17px; }
.goal-news-link small { display: block; margin-top: 6px; color: var(--muted); line-height: 1.55; }

.kicker, .eyebrow {
    display: inline-flex;
    width: max-content;
    max-width: 100%;
    padding: 8px 13px;
    border-radius: 999px;
    background: rgba(0,141,98,.11);
    color: var(--green);
    font-weight: 900;
    font-size: 12px;
    letter-spacing: .1em;
    text-transform: uppercase;
}
.kicker.green { color: var(--green); background: rgba(0,141,98,.11); }

.goal-page-head { color: #fff; margin-bottom: 34px; }
.goal-page-inner { width: min(1220px, calc(100% - 28px)); margin: 0 auto; padding: 46px 0 52px; }
.goal-page-title { display: flex; align-items: center; gap: 22px; margin-top: 18px; }
.goal-page-title > span {
    flex: 0 0 auto;
    width: 110px;
    height: 110px;
    display: grid;
    place-items: center;
    border-radius: 18px;
    background: rgba(255,255,255,.18);
    font-size: 54px;
    font-weight: 950;
}
.goal-page-title h1 { margin: 0; font-size: clamp(36px, 6vw, 70px); line-height: 1; letter-spacing: -.055em; }
.goal-page-title p { margin: 10px 0 0; font-size: 20px; font-weight: 800; color: rgba(255,255,255,.85); }
.goal-page-desc { max-width: 900px; line-height: 1.8; color: rgba(255,255,255,.9); font-size: 18px; }
.back-link { display: inline-flex; align-items: center; gap: 8px; color: var(--green); font-weight: 900; margin-bottom: 16px; }
.goal-page-head .back-link { color: #fff; background: rgba(255,255,255,.16); padding: 10px 14px; border-radius: 999px; }

.article-list-head, .article-detail, .admin-head, .auth-layout, .setup-layout, .empty-state, .table-card, .form-card {
    width: min(1220px, calc(100% - 28px));
    margin-left: auto;
    margin-right: auto;
}
.article-list-head { margin-bottom: 22px; }
.article-list-head h2 { margin: 10px 0 0; font-size: clamp(30px, 5vw, 56px); line-height: 1.05; letter-spacing: -.05em; }
.article-grid { width: min(1220px, calc(100% - 28px)); margin: 0 auto 70px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.article-card { background: #fff; border: 1px solid var(--line); border-radius: 24px; overflow: hidden; box-shadow: 0 12px 40px rgba(0,0,0,.06); transition: transform .16s ease, box-shadow .16s ease; }
.article-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.article-card img { width: 100%; height: 210px; object-fit: cover; }
.article-placeholder { height: 210px; color: #fff; display: grid; place-items: center; }
.article-placeholder span { font-size: 64px; font-weight: 950; }
.article-card-body { padding: 20px; }
.article-meta { color: var(--muted); font-size: 13px; font-weight: 800; }
.article-card h3 { margin: 8px 0 8px; font-size: 22px; line-height: 1.2; }
.article-card p { margin: 0; color: var(--muted); line-height: 1.6; }

.article-detail { margin-top: 34px; margin-bottom: 70px; }
.article-title-block, .content-html, .gallery, .form-card, .table-card, .empty-state {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 26px;
    padding: clamp(22px, 4vw, 38px);
    box-shadow: 0 12px 42px rgba(0,0,0,.06);
}
.article-title-block h1 { margin: 14px 0; font-size: clamp(34px, 6vw, 68px); line-height: 1.04; letter-spacing: -.055em; }
.lead { font-size: 19px; color: #46504b; line-height: 1.7; }
.content-html { margin-top: 22px; color: #29302b; line-height: 1.85; font-size: 17px; }
.content-html h2, .content-html h3 { line-height: 1.25; }
.article-cover { width: 100%; max-height: 520px; object-fit: cover; border-radius: 24px; margin-top: 22px; box-shadow: var(--shadow); }
.gallery { margin-top: 22px; }
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.gallery figure { margin: 0; }
.gallery img { width: 100%; height: 220px; object-fit: cover; border-radius: 18px; }
.gallery figcaption { color: var(--muted); margin-top: 8px; font-size: 14px; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border-radius: 999px; padding: 12px 18px; border: 0; cursor: pointer; font-weight: 900; }
.btn-primary { background: var(--green); color: #fff; }
.btn-primary:hover { background: var(--green-dark); }
.btn-secondary { background: #eef8f4; color: var(--green); }
.full { width: 100%; margin-top: 22px; }

.admin-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 22px; margin-top: 34px; margin-bottom: 22px; }
.admin-head h1 { margin: 10px 0 6px; font-size: clamp(34px, 6vw, 64px); line-height: 1; letter-spacing: -.055em; }
.admin-head p { color: var(--muted); margin: 0; }
.table-card { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; }
th, td { text-align: left; padding: 14px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { color: var(--muted); font-size: 13px; text-transform: uppercase; letter-spacing: .08em; }
td small { display: block; color: var(--muted); margin-top: 5px; }
.row-actions { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.row-actions a, .row-actions button { border: 0; border-radius: 999px; padding: 8px 11px; background: #eef8f4; color: var(--green); font-weight: 900; cursor: pointer; }
.badge { display: inline-flex; padding: 6px 10px; border-radius: 999px; font-weight: 900; font-size: 12px; }
.badge.on { background: #e4fff2; color: #087148; }
.badge.off { background: #fff1e8; color: #a45411; }

.form-card { margin-top: 24px; margin-bottom: 70px; }
.form-card label, .auth-card label, .setup-card label { display: block; margin: 16px 0 7px; font-weight: 900; }
input[type="text"], input[type="password"], input[type="file"], textarea, select {
    width: 100%;
    border: 1px solid rgba(15,43,36,.16);
    border-radius: 16px;
    padding: 13px 14px;
    background: #fff;
    color: var(--text);
    outline: none;
}
textarea { resize: vertical; }
input:focus, textarea:focus, select:focus { border-color: var(--green); box-shadow: 0 0 0 4px rgba(0,141,98,.10); }
.validation { color: #c73636; font-weight: 800; margin-top: 6px; }
.editor-help { margin: 6px 0 12px; color: var(--muted); font-size: 14px; line-height: 1.5; }
.switch-row { display: flex !important; align-items: center; gap: 10px; }
.switch-row input { width: auto; }
.form-actions { display: flex; gap: 12px; margin-top: 22px; align-items: center; flex-wrap: wrap; }
.form-card.wide { max-width: 1220px; }
.current-cover { width: min(1220px, calc(100% - 28px)); margin: 0 auto 20px; background: #fff; border: 1px solid var(--line); border-radius: 24px; padding: 16px; box-shadow: 0 14px 44px rgba(0,0,0,.05); }
.current-cover span { display: block; margin-bottom: 10px; color: var(--muted); font-weight: 900; }
.current-cover img { max-height: 260px; border-radius: 16px; object-fit: cover; }

.auth-layout, .setup-layout { display: grid; grid-template-columns: 1fr 430px; gap: 28px; align-items: start; margin-top: 40px; margin-bottom: 70px; }
.auth-intro, .setup-intro { padding: 38px; border-radius: 30px; color: #fff; background: linear-gradient(135deg, var(--green), #005c43); min-height: 360px; }
.auth-intro p, .setup-intro p { color: rgba(255,255,255,.84); line-height: 1.7; }
.auth-card, .setup-card { background: #fff; border: 1px solid var(--line); border-radius: 26px; padding: 28px; box-shadow: var(--shadow); }
.auth-intro .eyebrow { color: #fff; background: rgba(255,255,255,.18); }
.login-hint { margin-top: 24px; padding: 16px 18px; border-radius: 20px; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.2); }
.login-hint strong, .login-hint span { display: block; }
.login-hint span { margin-top: 5px; font-size: 24px; font-weight: 950; }
.check-list { margin: 22px 0 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.check-list li { padding: 10px 12px; border-radius: 14px; background: rgba(255,255,255,.13); }

.empty-state { text-align: center; margin-top: 34px; margin-bottom: 70px; }
.empty-state h2 { margin-top: 0; font-size: 34px; }

.footer { border-top: 1px solid var(--line); background: #fff; }
.footer-inner { width: min(1220px, calc(100% - 28px)); margin: 0 auto; padding: 28px 0; display: grid; grid-template-columns: 300px 1fr auto; align-items: center; gap: 22px; }
.footer img { width: 290px; }
.footer strong, .footer span { display: block; }
.footer span { color: var(--muted); margin-top: 4px; }
.footer a { color: var(--green); font-weight: 900; }

.sdg-1 { background: #e5243b; }
.sdg-2 { background: #dda63a; }
.sdg-3 { background: #4c9f38; }
.sdg-4 { background: #c5192d; }
.sdg-5 { background: #ff3a21; }
.sdg-6 { background: #26bde2; }
.sdg-7 { background: #fcc30b; color: #2b2600; }
.sdg-8 { background: #a21942; }
.sdg-9 { background: #fd6925; }
.sdg-10 { background: #dd1367; }
.sdg-11 { background: #fd9d24; }
.sdg-12 { background: #bf8b2e; }
.sdg-13 { background: #3f7e44; }
.sdg-14 { background: #0a97d9; }
.sdg-15 { background: #56c02b; }
.sdg-16 { background: #00689d; }
.sdg-17 { background: #19486a; }
.sdg-7 .sdg-menu-item, .sdg-7 .sdg-name, .sdg-7 .sdg-number, .goal-color-card.sdg-7, .article-placeholder.sdg-7 { color: #2b2600; }

@media (max-width: 1120px) {
    .sdg-menu { grid-template-columns: repeat(9, 1fr); }
    .article-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
    .site-header-inner, .admin-head { align-items: flex-start; flex-direction: column; }
    .auth-layout, .setup-layout { grid-template-columns: 1fr; }
    .sdg-goal-block { grid-template-columns: 1fr; }
    .goal-color-card { min-height: 150px; }
    .goal-main-title { flex-direction: column; gap: 4px; }
    .footer-inner { grid-template-columns: 1fr; }
    .main-nav { justify-content: flex-start; }
}
@media (max-width: 620px) {
    .site-header-inner { min-height: 80px; }
    .logo-link img { width: 100%; max-width: 420px; }
    .sdg-menu { grid-template-columns: repeat(4, 1fr); }
    .article-grid, .gallery-grid { grid-template-columns: 1fr; }
    .goal-page-title { flex-direction: column; align-items: flex-start; }
    .goal-page-title > span { width: 92px; height: 92px; font-size: 44px; }
    table, thead, tbody, tr, td, th { display: block; }
    thead { display: none; }
    td { border-bottom: 0; padding: 9px 0; }
    tr { border-bottom: 1px solid var(--line); padding: 12px 0; }
}

/* V5: chỉ hiện 5 bài ngoài trang chủ, bài có ảnh lấy trực tiếp từ SQL Server */
.goal-news-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
}
.goal-news-head h3 { margin: 0; }
.goal-news-head span { color: var(--muted); font-size: 13px; font-weight: 900; }
.goal-news-items { display: grid; gap: 10px; }
.goal-news-link { position: relative; min-height: 92px; }
.goal-news-link.has-thumb { padding-left: 126px; }
.goal-news-thumb {
    position: absolute;
    left: 14px;
    top: 14px;
    width: 94px;
    height: calc(100% - 28px);
    min-height: 64px;
    object-fit: cover;
    border-radius: 12px;
    background: #eef3ef;
}
.goal-news-more {
    display: flex;
    justify-content: flex-end;
    padding-top: 4px;
}
.footer-inner { grid-template-columns: 300px 1fr; }
@media (max-width: 620px) {
    .goal-news-link.has-thumb { padding-left: 16px; padding-top: 112px; }
    .goal-news-thumb { width: calc(100% - 28px); height: 84px; }
}

/* V6: ảnh import đúng vị trí từ HTML gốc */
.content-html .legacy-figure {
    margin: 22px auto;
    text-align: center;
}
.content-html .legacy-figure img,
.content-html img {
    max-width: 100%;
    height: auto;
    border-radius: 18px;
    box-shadow: 0 14px 34px rgba(10, 40, 24, .12);
}
.content-html .legacy-figure figcaption {
    margin-top: 8px;
    color: #667085;
    font-size: .94rem;
    line-height: 1.45;
}
.content-html table {
    max-width: 100%;
    border-collapse: collapse;
}
.content-html table img {
    max-width: 100%;
}

/* V9: ảnh bài viết lấy đúng từ HTML gốc, nhúng base64 trong ContentHtml và hiển thị cân đối 100% */
.article-cover,
.content-html .legacy-figure img,
.content-html img {
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    object-fit: contain;
    display: block;
    margin-left: auto;
    margin-right: auto;
}
.content-html .legacy-figure {
    width: 100%;
    margin: 24px auto;
}
.content-html p {
    margin: 0 0 14px;
}
.content-html ul,
.content-html ol {
    padding-left: 24px;
    margin: 14px 0;
}
.content-html li {
    margin-bottom: 8px;
}
.content-html table {
    width: 100% !important;
    max-width: 100% !important;
    overflow-wrap: anywhere;
}
.content-html iframe,
.content-html video {
    width: 100%;
    max-width: 100%;
    aspect-ratio: 16/9;
    height: auto;
}

/* V14: admin nhập HTML/base64 trực tiếp */
.code-textarea {
    font-family: Consolas, "Courier New", monospace;
    font-size: 14px;
    line-height: 1.55;
    white-space: pre;
}
.html-editor {
    min-height: 460px;
}
.cover-preview {
    margin: 12px 0 18px;
    padding: 14px;
    border: 1px dashed rgba(0, 141, 98, .32);
    border-radius: 18px;
    background: #f5fbf8;
}
.cover-preview span {
    display: block;
    margin-bottom: 10px;
    color: var(--muted);
    font-weight: 900;
}
.cover-preview img {
    width: 100%;
    max-height: 360px;
    object-fit: contain;
    border-radius: 14px;
    background: #fff;
}
.content-html figure,
.content-html p:has(img) {
    max-width: 100%;
}
.content-html img {
    border-radius: 16px;
}

/* V15: Trang Chính sách Phát triển Bền vững - giao diện gần giống trang policy của VLU */
.policy-hero {
    position: relative;
    min-height: 420px;
    display: grid;
    align-items: end;
    overflow: hidden;
    background:
        linear-gradient(120deg, rgba(0, 74, 54, .94), rgba(0, 141, 98, .78)),
        radial-gradient(circle at 80% 10%, rgba(255,255,255,.18), transparent 34%),
        linear-gradient(135deg, #073b2f, #0a8d62 55%, #0f513f);
}
.policy-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(0,0,0,.35), transparent 60%),
        repeating-linear-gradient(115deg, rgba(255,255,255,.055) 0 2px, transparent 2px 20px);
    opacity: .9;
}
.policy-hero-overlay {
    position: absolute;
    right: -120px;
    bottom: -160px;
    width: 520px;
    height: 520px;
    border-radius: 999px;
    border: 80px solid rgba(255,255,255,.12);
}
.policy-hero-inner {
    position: relative;
    z-index: 1;
    width: min(1220px, calc(100% - 28px));
    margin: 0 auto;
    padding: 72px 0 58px;
    color: #fff;
}
.policy-breadcrumb {
    display: inline-flex;
    padding: 9px 14px;
    border-radius: 999px;
    background: rgba(255,255,255,.16);
    color: rgba(255,255,255,.86);
    font-weight: 900;
    font-size: 13px;
    margin-bottom: 18px;
}
.policy-hero h1 {
    max-width: 920px;
    margin: 0;
    font-size: clamp(42px, 7vw, 82px);
    line-height: .98;
    letter-spacing: -.06em;
}
.policy-hero p {
    max-width: 940px;
    margin: 20px 0 0;
    color: rgba(255,255,255,.88);
    font-size: 19px;
    line-height: 1.75;
}
.policy-page {
    width: min(1220px, calc(100% - 28px));
    margin: 34px auto 80px;
    display: grid;
    grid-template-columns: 318px minmax(0, 1fr);
    gap: 28px;
    align-items: start;
}
.policy-sidebar {
    position: sticky;
    top: 126px;
    display: grid;
    gap: 18px;
}
.policy-sidebar-card,
.policy-sidebar-note,
.policy-title-card,
.policy-html,
.policy-pdf-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 28px;
    box-shadow: 0 14px 44px rgba(0,0,0,.06);
}
.policy-sidebar-card { padding: 24px; }
.policy-sidebar-card h2 {
    margin: 0 0 18px;
    color: var(--green);
    font-size: 30px;
    line-height: 1;
    letter-spacing: -.04em;
}
.policy-nav-list { display: grid; gap: 10px; }
.policy-nav-list a {
    display: block;
    padding: 15px 16px;
    border-radius: 18px;
    background: #f7faf8;
    border: 1px solid rgba(0,141,98,.10);
}
.policy-nav-list a:hover,
.policy-nav-list a.active {
    background: #e8f8f1;
    border-color: rgba(0,141,98,.32);
    color: var(--green);
}
.policy-nav-list span {
    display: block;
    font-size: 12px;
    color: var(--muted);
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .06em;
}
.policy-nav-list strong {
    display: block;
    margin-top: 6px;
    line-height: 1.35;
}
.policy-sidebar-note {
    padding: 22px;
    background: linear-gradient(135deg, #0a8d62, #064434);
    color: #fff;
}
.policy-sidebar-note span {
    display: inline-flex;
    padding: 7px 11px;
    border-radius: 999px;
    background: rgba(255,255,255,.18);
    font-weight: 950;
    letter-spacing: .08em;
}
.policy-sidebar-note p {
    margin: 14px 0 0;
    color: rgba(255,255,255,.87);
    line-height: 1.65;
    font-weight: 700;
}
.policy-content { display: grid; gap: 22px; }
.policy-title-card { padding: clamp(24px, 4vw, 38px); }
.policy-title-card h2 {
    margin: 15px 0 0;
    font-size: clamp(32px, 5vw, 58px);
    line-height: 1.05;
    letter-spacing: -.055em;
}
.policy-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 24px;
}
.policy-html { padding: clamp(22px, 4vw, 42px); }
.policy-html h2,
.policy-html h3 {
    color: #063f31;
    letter-spacing: -.035em;
}
.policy-html h2 {
    margin: 0 0 18px;
    font-size: clamp(28px, 4vw, 44px);
    line-height: 1.08;
}
.policy-html h3 {
    margin: 28px 0 10px;
    font-size: 24px;
}
.policy-html p {
    color: #3c4742;
    line-height: 1.86;
    text-align: justify;
}
.policy-summary-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    margin: 22px 0 30px;
}
.policy-summary-box {
    padding: 18px;
    border-radius: 20px;
    background: #f3faf7;
    border: 1px solid rgba(0,141,98,.14);
}
.policy-summary-box span {
    display: block;
    color: var(--green);
    font-size: 26px;
    font-weight: 950;
    letter-spacing: -.05em;
}
.policy-summary-box strong {
    display: block;
    margin-top: 5px;
    line-height: 1.35;
}
.policy-pillars { counter-reset: policy-pillar; display: grid; gap: 15px; margin-top: 18px; }
.policy-pillar {
    counter-increment: policy-pillar;
    position: relative;
    padding: 20px 20px 20px 86px;
    border-radius: 22px;
    border: 1px solid rgba(0,141,98,.12);
    background: linear-gradient(180deg, #ffffff, #f7fbf8);
}
.policy-pillar::before {
    content: counter(policy-pillar, decimal-leading-zero);
    position: absolute;
    left: 20px;
    top: 20px;
    width: 46px;
    height: 46px;
    display: grid;
    place-items: center;
    border-radius: 16px;
    background: var(--green);
    color: #fff;
    font-weight: 950;
}
.policy-pillar h3 { margin-top: 0; }
.policy-pillar ul { margin-bottom: 0; }
.policy-pillar li { line-height: 1.65; }
.policy-pdf-card { padding: clamp(18px, 3vw, 28px); }
.policy-pdf-head {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    align-items: flex-end;
    margin-bottom: 18px;
}
.policy-pdf-head h2 {
    margin: 12px 0 0;
    font-size: clamp(26px, 4vw, 40px);
    line-height: 1.1;
    letter-spacing: -.045em;
}
.policy-pdf-frame {
    width: 100%;
    height: 820px;
    border: 1px solid var(--line);
    border-radius: 20px;
    background: #f3f5f4;
}
@media (max-width: 980px) {
    .policy-page { grid-template-columns: 1fr; }
    .policy-sidebar { position: static; }
    .policy-summary-grid { grid-template-columns: 1fr; }
}
@media (max-width: 620px) {
    .policy-hero { min-height: 360px; }
    .policy-pillar { padding-left: 20px; padding-top: 82px; }
    .policy-pdf-head { flex-direction: column; align-items: flex-start; }
    .policy-pdf-frame { height: 620px; }
}

/* V15.1 - Policy page: không hiện PDF, chia từng chính sách và nút xem thêm */
.policy-hero-v151 {
    min-height: 460px;
    background:
        radial-gradient(circle at 82% 18%, rgba(255,255,255,.20), transparent 30%),
        radial-gradient(circle at 18% 80%, rgba(255,255,255,.12), transparent 34%),
        linear-gradient(118deg, #003f32 0%, #007c5d 52%, #03a56f 100%);
}
.policy-hero-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 18px;
    padding: 9px 14px;
    border-radius: 999px;
    background: rgba(255,255,255,.18);
    border: 1px solid rgba(255,255,255,.25);
    color: #fff;
    font-size: 13px;
    font-weight: 950;
    letter-spacing: .07em;
    text-transform: uppercase;
}
.policy-page-v151 {
    grid-template-columns: 300px minmax(0, 1fr);
    margin-top: -42px;
    position: relative;
    z-index: 2;
}
.policy-content-v151 { gap: 18px; }
.policy-title-card-v151 {
    border: 0;
    background:
        linear-gradient(135deg, rgba(255,255,255,.98), rgba(243,250,247,.98)),
        radial-gradient(circle at 94% 6%, rgba(0,141,98,.12), transparent 28%);
}
.policy-title-card-v151 h2 { max-width: 820px; }
.policy-title-lead {
    max-width: 850px;
    color: #44514d;
    font-size: 17px;
    line-height: 1.8;
    margin: 18px 0 0;
}
.policy-info-note p { margin: 10px 0 0; }
.policy-toc-card { border: 0; }
.policy-toc-list {
    display: grid;
    gap: 9px;
}
.policy-toc-list a {
    display: block;
    padding: 12px 14px;
    border-radius: 15px;
    color: #14483b;
    background: #f5faf7;
    border: 1px solid rgba(0,141,98,.12);
    font-size: 14px;
    font-weight: 850;
    line-height: 1.35;
}
.policy-toc-list a:hover {
    background: #e7f8f0;
    transform: translateX(3px);
}
.policy-html-v151 {
    padding: 0;
    background: transparent;
    border: 0;
    box-shadow: none;
    display: grid;
    gap: 18px;
}
.policy-document-intro,
.policy-overview-strip,
.policy-smart-card,
.policy-implementation-card {
    background: #fff;
    border: 1px solid rgba(0,141,98,.13);
    border-radius: 30px;
    box-shadow: 0 16px 46px rgba(0,0,0,.055);
}
.policy-document-intro {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 245px;
    gap: 24px;
    padding: clamp(24px, 4vw, 42px);
    background:
        linear-gradient(135deg, #ffffff 0%, #f4fbf7 100%),
        radial-gradient(circle at 95% 0%, rgba(0,141,98,.16), transparent 28%);
}
.policy-intro-text h2 {
    margin: 8px 0 14px;
    font-size: clamp(30px, 4vw, 48px);
    line-height: 1.08;
    letter-spacing: -.045em;
    color: #053f32;
}
.policy-intro-stat {
    display: grid;
    gap: 12px;
    align-self: stretch;
}
.policy-intro-stat div {
    border-radius: 22px;
    padding: 18px;
    background: linear-gradient(135deg, #008d62, #04513d);
    color: #fff;
}
.policy-intro-stat strong {
    display: block;
    font-size: 30px;
    line-height: 1;
    letter-spacing: -.05em;
}
.policy-intro-stat span {
    display: block;
    margin-top: 7px;
    color: rgba(255,255,255,.82);
    font-weight: 800;
    line-height: 1.35;
}
.policy-section-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #008d62;
    font-size: 12px;
    font-weight: 950;
    text-transform: uppercase;
    letter-spacing: .08em;
}
.policy-overview-strip {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    overflow: hidden;
    padding: 8px;
    gap: 8px;
}
.policy-overview-strip a {
    min-height: 116px;
    padding: 16px;
    border-radius: 22px;
    background: #f6fbf8;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    color: #0a4135;
    border: 1px solid transparent;
}
.policy-overview-strip a:hover {
    background: #e9f8f1;
    border-color: rgba(0,141,98,.22);
    transform: translateY(-2px);
}
.policy-overview-strip span {
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    border-radius: 14px;
    background: #008d62;
    color: #fff;
    font-weight: 950;
}
.policy-overview-strip strong {
    display: block;
    margin-top: 18px;
    line-height: 1.28;
}
.policy-policy-list {
    display: grid;
    gap: 18px;
}
.policy-smart-card {
    padding: clamp(22px, 4vw, 36px);
    scroll-margin-top: 110px;
    position: relative;
    overflow: hidden;
}
.policy-smart-card::after {
    content: "";
    position: absolute;
    right: -70px;
    top: -70px;
    width: 190px;
    height: 190px;
    border-radius: 999px;
    background: rgba(0,141,98,.06);
    pointer-events: none;
}
.policy-smart-card-head {
    display: grid;
    grid-template-columns: 64px minmax(0, 1fr);
    gap: 18px;
    align-items: start;
    position: relative;
    z-index: 1;
}
.policy-smart-number {
    width: 58px;
    height: 58px;
    border-radius: 19px;
    background: linear-gradient(135deg, #008d62, #004738);
    color: #fff;
    display: grid;
    place-items: center;
    font-size: 21px;
    font-weight: 950;
    box-shadow: 0 12px 28px rgba(0,141,98,.25);
}
.policy-smart-card h2 {
    margin: 8px 0 0;
    font-size: clamp(27px, 3.5vw, 42px);
    line-height: 1.15;
    color: #064335;
    letter-spacing: -.045em;
}
.policy-smart-card p,
.policy-document-intro p,
.policy-implementation-card p {
    color: #46524e;
    line-height: 1.82;
    text-align: left;
}
.policy-chip-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 20px 0 0;
}
.policy-chip-row span {
    display: inline-flex;
    align-items: center;
    padding: 9px 13px;
    border-radius: 999px;
    background: #edf8f2;
    color: #07513f;
    border: 1px solid rgba(0,141,98,.14);
    font-weight: 850;
    font-size: 13px;
}
.policy-detail-box {
    margin-top: 24px;
    border-top: 1px solid rgba(0,141,98,.14);
    padding-top: 18px;
}
.policy-detail-box summary {
    width: fit-content;
    list-style: none;
    cursor: pointer;
    user-select: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 18px;
    border-radius: 999px;
    background: linear-gradient(135deg, #008d62, #004f3d);
    color: #fff;
    font-weight: 950;
    box-shadow: 0 10px 26px rgba(0,141,98,.24);
}
.policy-detail-box summary::-webkit-details-marker { display: none; }
.policy-detail-box summary::after {
    content: "+";
    width: 24px;
    height: 24px;
    display: grid;
    place-items: center;
    border-radius: 999px;
    background: rgba(255,255,255,.18);
    font-size: 18px;
    line-height: 1;
}
.policy-detail-box[open] summary::after { content: "-"; }
.policy-subpolicy-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin-top: 18px;
}
.policy-subpolicy-grid.two-col { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.policy-subpolicy-grid section {
    padding: 18px;
    border-radius: 22px;
    background: #f8fbf9;
    border: 1px solid rgba(0,141,98,.12);
}
.policy-subpolicy-grid h3 {
    margin: 0 0 10px;
    color: #063f31;
    font-size: 19px;
    line-height: 1.32;
    letter-spacing: -.02em;
}
.policy-subpolicy-grid p {
    margin: 0 0 10px;
    font-size: 15px;
    line-height: 1.72;
}
.policy-subpolicy-grid ul {
    margin: 0;
    padding-left: 19px;
}
.policy-subpolicy-grid li {
    margin: 8px 0;
    line-height: 1.62;
    color: #3f4b47;
}
.policy-implementation-card {
    padding: clamp(24px, 4vw, 42px);
    scroll-margin-top: 110px;
    background: linear-gradient(135deg, #063f31, #008d62);
    color: #fff;
    border: 0;
}
.policy-implementation-card .policy-section-kicker,
.policy-implementation-card h2,
.policy-implementation-card p {
    color: #fff;
}
.policy-implementation-card h2 {
    margin: 10px 0 12px;
    font-size: clamp(30px, 4vw, 46px);
    line-height: 1.08;
    letter-spacing: -.045em;
}
.policy-implementation-card p {
    max-width: 920px;
    color: rgba(255,255,255,.86);
}
@media (max-width: 1120px) {
    .policy-overview-strip { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 980px) {
    .policy-page-v151 { grid-template-columns: 1fr; margin-top: 24px; }
    .policy-document-intro { grid-template-columns: 1fr; }
    .policy-intro-stat { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 720px) {
    .policy-overview-strip { grid-template-columns: 1fr; }
    .policy-subpolicy-grid,
    .policy-subpolicy-grid.two-col { grid-template-columns: 1fr; }
    .policy-smart-card-head { grid-template-columns: 1fr; }
    .policy-intro-stat { grid-template-columns: 1fr; }
}


/* V15.2 - Chính sách trình bày theo toàn văn chính sách */
.policy-hero-v152 {
    min-height: 360px;
    background-image: linear-gradient(120deg, rgba(0, 75, 62, .94), rgba(0, 145, 107, .78)), url('/images/logo.png');
    background-size: cover, 420px;
    background-position: center, right 8% center;
    background-repeat: no-repeat;
}
.policy-page-v152 {
    display: grid;
    grid-template-columns: minmax(230px, 300px) minmax(0, 1fr);
    gap: 26px;
    width: min(1240px, calc(100% - 36px));
    margin: -70px auto 70px;
    position: relative;
    z-index: 3;
}
.policy-content-v152 { display: block; }
.policy-html-v152 {
    padding: 0;
    background: transparent;
    border: 0;
    box-shadow: none;
}
.policy-pdf-document,
.policy-main-card {
    background: rgba(255, 255, 255, .98);
    border: 1px solid rgba(0, 105, 82, .14);
    border-radius: 26px;
    box-shadow: 0 26px 70px rgba(7, 60, 48, .10);
    padding: clamp(24px, 4vw, 46px);
    margin-bottom: 22px;
    color: #183d35;
}
.policy-official-heading {
    text-align: center;
    border-bottom: 1px solid rgba(0, 105, 82, .14);
    padding-bottom: 24px;
    margin-bottom: 26px;
}
.policy-office-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    align-items: start;
    font-weight: 700;
    color: #173c35;
    margin-bottom: 26px;
    line-height: 1.55;
}
.policy-official-heading h2 {
    font-size: clamp(26px, 4vw, 42px);
    line-height: 1.18;
    letter-spacing: .02em;
    color: #004b3e;
    margin: 0;
}
.policy-official-heading h3 {
    font-size: clamp(20px, 3vw, 30px);
    color: #004b3e;
    margin: 8px 0 12px;
    text-transform: uppercase;
}
.policy-official-heading p {
    margin: 0;
    color: #52645f;
    font-style: italic;
}
.policy-pdf-document h2,
.policy-main-card h2 {
    color: #004b3e;
    font-size: clamp(24px, 3vw, 34px);
    line-height: 1.25;
    margin: 0 0 16px;
    font-weight: 800;
}
.policy-pdf-document p,
.policy-main-card p,
.policy-subpolicy-block p {
    color: #2f4742;
    font-size: 18px;
    line-height: 1.9;
    text-align: justify;
    margin: 0 0 16px;
}
.policy-exact-more {
    margin-top: 26px;
    border-radius: 22px;
    border: 1px solid rgba(0, 137, 102, .18);
    background: linear-gradient(180deg, rgba(241, 251, 247, .95), rgba(255, 255, 255, .98));
    overflow: hidden;
}
.policy-exact-more summary {
    cursor: pointer;
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 18px 22px;
    font-weight: 800;
    color: #fff;
    background: linear-gradient(135deg, #007a5a, #00a875);
    border-radius: 20px;
    margin: 12px;
    box-shadow: 0 12px 28px rgba(0, 137, 102, .25);
}
.policy-exact-more summary::-webkit-details-marker { display: none; }
.policy-exact-more summary::after {
    content: "+";
    width: 28px;
    height: 28px;
    display: inline-grid;
    place-items: center;
    border-radius: 999px;
    background: rgba(255,255,255,.18);
    font-size: 20px;
}
.policy-exact-more[open] summary::after { content: "-"; }
.policy-subpolicy-block {
    padding: clamp(18px, 3vw, 34px);
    border-top: 1px solid rgba(0, 105, 82, .12);
}
.policy-subpolicy-block h3 {
    color: #0a5648;
    font-size: clamp(20px, 2.5vw, 27px);
    line-height: 1.35;
    margin: 28px 0 14px;
    font-weight: 800;
    font-style: italic;
}
.policy-subpolicy-block h3:first-child { margin-top: 0; }
.policy-subpolicy-block h4 {
    margin: 20px 0 8px;
    color: #173c35;
    font-size: 19px;
    font-weight: 800;
}
.policy-subpolicy-block ul {
    margin: 0 0 18px 0;
    padding: 0;
    list-style: none;
}
.policy-subpolicy-block li {
    position: relative;
    padding-left: 24px;
    margin: 9px 0;
    color: #2f4742;
    font-size: 17px;
    line-height: 1.8;
    text-align: justify;
}
.policy-subpolicy-block li::before {
    content: "-";
    position: absolute;
    left: 0;
    top: 0;
    color: #006b54;
    font-weight: 800;
}
.policy-conclusion { margin-bottom: 0; }
.policy-signature {
    margin-top: 30px;
    margin-left: auto;
    width: min(340px, 100%);
    text-align: center;
    color: #183d35;
}
.policy-signature strong,
.policy-signature span { display: block; }
.policy-signature strong { margin-bottom: 52px; font-size: 18px; }
.policy-signature span { font-weight: 800; }
@media (max-width: 980px) {
    .policy-page-v152 { grid-template-columns: 1fr; margin-top: 24px; }
    .policy-sidebar { position: static; }
}
@media (max-width: 640px) {
    .policy-hero-v152 { min-height: 300px; background-size: cover, 260px; }
    .policy-office-row { grid-template-columns: 1fr; }
    .policy-pdf-document p,
    .policy-main-card p,
    .policy-subpolicy-block p,
    .policy-subpolicy-block li { font-size: 16px; line-height: 1.75; }
}

/* V15.3 - Tin tức + admin chọn nhiều mục tiêu */
.home-news-section {
    margin: 34px 0 34px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 30px;
    padding: clamp(22px, 4vw, 38px);
    box-shadow: 0 18px 56px rgba(0,0,0,.065);
}
.home-news-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 22px;
}
.home-news-head h2,
.news-page-hero h1 {
    margin: 10px 0 8px;
    color: var(--green);
    font-size: clamp(34px, 5vw, 64px);
    line-height: 1;
    letter-spacing: -.055em;
}
.home-news-head p,
.news-page-hero p {
    margin: 0;
    color: #4b5651;
    line-height: 1.7;
    max-width: 760px;
}
.home-news-grid,
.news-page-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}
.home-news-card {
    display: grid;
    grid-template-rows: 220px minmax(0, 1fr);
    background: #fff;
    border: 1px solid rgba(0,141,98,.13);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 12px 36px rgba(0,0,0,.055);
    transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease;
}
.home-news-card:hover {
    transform: translateY(-4px);
    border-color: rgba(0,141,98,.32);
    box-shadow: 0 22px 60px rgba(0,0,0,.10);
}
.home-news-image {
    position: relative;
    overflow: hidden;
    background: #eef5f1;
}
.home-news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .25s ease;
}
.home-news-card:hover .home-news-image img { transform: scale(1.04); }
.home-news-body {
    padding: 18px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.news-date {
    color: var(--muted);
    font-size: 13px;
    font-weight: 900;
}
.home-news-card h3 {
    margin: 0;
    color: #123d33;
    font-size: 22px;
    line-height: 1.22;
    letter-spacing: -.025em;
}
.home-news-card p {
    margin: 0;
    color: #5b6762;
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.goal-badge-list {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    align-items: center;
}
.goal-badge {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 6px 9px;
    border-radius: 999px;
    color: #fff;
    font-size: 12px;
    font-weight: 900;
    line-height: 1.1;
}
.goal-badge.muted { background: #edf2ef; color: #365149; }
.goal-badge-list.small .goal-badge { font-size: 11px; padding: 5px 8px; }
.goal-badge-list.compact { margin-top: 10px; }
.article-goal-tags { margin: 0 0 16px; }
.news-placeholder {
    width: 100%;
    height: 100%;
    display: grid;
    place-items: center;
    color: #fff;
    font-size: 76px;
    font-weight: 950;
    letter-spacing: -.08em;
}
.empty-news-card {
    border: 1px dashed rgba(0,141,98,.25);
    border-radius: 22px;
    padding: 28px;
    background: #f5fbf8;
}
.empty-news-card h3 { margin: 0 0 8px; color: var(--green); }
.empty-news-card p { margin: 0; color: var(--muted); }
.news-page-hero {
    width: min(1220px, calc(100% - 28px));
    margin: 34px auto 22px;
    padding: clamp(24px, 4vw, 44px);
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 30px;
    box-shadow: var(--shadow);
}
.news-page-grid {
    width: min(1220px, calc(100% - 28px));
    margin: 0 auto 70px;
}
.news-page-card { grid-template-rows: 250px minmax(0,1fr); }
.article-back-row {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    align-items: center;
}

.goal-check-dropdown {
    position: relative;
    z-index: 20;
}
.goal-check-toggle {
    width: 100%;
    border: 1px solid rgba(15,43,36,.16);
    border-radius: 16px;
    padding: 13px 14px;
    background: #fff;
    color: var(--text);
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-weight: 800;
    text-align: left;
}
.goal-check-toggle:focus {
    border-color: var(--green);
    box-shadow: 0 0 0 4px rgba(0,141,98,.10);
    outline: none;
}
.goal-check-panel {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: calc(100% + 8px);
    background: #fff;
    border: 1px solid rgba(0,141,98,.18);
    border-radius: 20px;
    box-shadow: 0 24px 70px rgba(0,0,0,.14);
    padding: 12px;
    max-height: 520px;
    overflow: auto;
}
.goal-check-dropdown.open .goal-check-panel { display: block; }
.goal-check-tools {
    display: flex;
    gap: 8px;
    margin-bottom: 10px;
    position: sticky;
    top: -12px;
    background: #fff;
    padding: 0 0 10px;
    z-index: 2;
}
.goal-check-tools button {
    border: 0;
    border-radius: 999px;
    padding: 8px 12px;
    background: #eef8f4;
    color: var(--green);
    font-weight: 900;
    cursor: pointer;
}
.goal-check-list-admin {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 9px;
}
.goal-check-item {
    display: grid !important;
    grid-template-columns: auto 42px minmax(0,1fr);
    gap: 10px;
    align-items: flex-start;
    margin: 0 !important;
    padding: 12px;
    border: 1px solid rgba(15,43,36,.10);
    border-left-width: 5px;
    border-radius: 16px;
    background: #fbfdfc;
    cursor: pointer;
}
.goal-check-item:hover { background: #f1faf5; }
.goal-check-item input { width: auto; margin-top: 8px; }
.goal-check-number {
    width: 38px;
    height: 38px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    color: #fff;
    font-weight: 950;
}
.goal-check-item strong { display: block; color: #173d35; line-height: 1.25; }
.goal-check-item small {
    display: block;
    color: var(--muted);
    font-size: 12px;
    line-height: 1.45;
    margin-top: 4px;
}
.admin-article-cell {
    display: grid;
    grid-template-columns: 86px minmax(0,1fr);
    gap: 12px;
    align-items: start;
}
.admin-article-cell img,
.admin-article-noimg {
    width: 86px;
    height: 60px;
    border-radius: 12px;
    object-fit: cover;
    background: #eef5f1;
}
.admin-article-noimg {
    display: grid;
    place-items: center;
    color: var(--muted);
    font-size: 11px;
    font-weight: 900;
}
.admin-actions { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; justify-content: flex-end; }

.sdg-border-1 { border-left-color: #e5243b; }
.sdg-border-2 { border-left-color: #dda63a; }
.sdg-border-3 { border-left-color: #4c9f38; }
.sdg-border-4 { border-left-color: #c5192d; }
.sdg-border-5 { border-left-color: #ff3a21; }
.sdg-border-6 { border-left-color: #26bde2; }
.sdg-border-7 { border-left-color: #fcc30b; }
.sdg-border-8 { border-left-color: #a21942; }
.sdg-border-9 { border-left-color: #fd6925; }
.sdg-border-10 { border-left-color: #dd1367; }
.sdg-border-11 { border-left-color: #fd9d24; }
.sdg-border-12 { border-left-color: #bf8b2e; }
.sdg-border-13 { border-left-color: #3f7e44; }
.sdg-border-14 { border-left-color: #0a97d9; }
.sdg-border-15 { border-left-color: #56c02b; }
.sdg-border-16 { border-left-color: #00689d; }
.sdg-border-17 { border-left-color: #19486a; }

@media (max-width: 980px) {
    .home-news-head { align-items: flex-start; flex-direction: column; }
    .home-news-grid,
    .news-page-grid { grid-template-columns: repeat(2, 1fr); }
    .goal-check-list-admin { grid-template-columns: 1fr; }
}
@media (max-width: 620px) {
    .home-news-grid,
    .news-page-grid { grid-template-columns: 1fr; }
    .home-news-card { grid-template-rows: 210px minmax(0, 1fr); }
    .admin-article-cell { grid-template-columns: 1fr; }
}

/* V15.4 - tối ưu cảm giác mượt khi danh sách nhiều ảnh/bài viết */
.home-news-card,
.article-card,
.policy-section,
.goal-card,
.table-card,
.content-html figure,
.gallery figure {
    content-visibility: auto;
    contain-intrinsic-size: 1px 420px;
}

.home-news-image img,
.article-card > img,
.admin-article-cell img,
.gallery img,
.content-html img,
.article-cover {
    display: block;
    image-rendering: auto;
    backface-visibility: hidden;
}

.content-html img[src^="data:image/"] {
    max-width: 100%;
    height: auto;
}


/* V15.5 - sửa menu mục lục chính sách: click không lệch, hover/active rõ tiêu đề */
.policy-pdf-document[id],
.policy-main-card[id] {
    scroll-margin-top: 138px;
}
.policy-toc-card {
    max-height: calc(100vh - 150px);
    overflow: auto;
    scrollbar-width: thin;
}
.policy-toc-list a {
    position: relative;
    display: grid;
    gap: 4px;
    min-height: 56px;
    padding: 13px 15px 13px 18px;
    border-radius: 17px;
    color: #143f35;
    background: rgba(247, 252, 249, .96);
    border: 1px solid rgba(0, 141, 98, .16);
    box-shadow: 0 8px 22px rgba(0, 65, 49, .035);
    transition: transform .18s ease, background .18s ease, color .18s ease, border-color .18s ease, box-shadow .18s ease;
}
.policy-toc-list a::before {
    content: "";
    position: absolute;
    left: 0;
    top: 12px;
    bottom: 12px;
    width: 4px;
    border-radius: 999px;
    background: transparent;
    transition: background .18s ease, top .18s ease, bottom .18s ease;
}
.policy-toc-list a span {
    display: block;
    font-size: 13px;
    font-weight: 950;
    line-height: 1.2;
}
.policy-toc-list a strong {
    display: block;
    color: #587069;
    font-size: 12.5px;
    font-weight: 750;
    line-height: 1.35;
}
.policy-toc-list a:hover,
.policy-toc-list a.active,
.policy-toc-list a[aria-current="true"] {
    background: linear-gradient(135deg, #008d62, #006b52);
    border-color: rgba(0, 141, 98, .72);
    color: #fff;
    box-shadow: 0 16px 34px rgba(0, 105, 82, .22);
    transform: translateX(7px);
}
.policy-toc-list a:hover::before,
.policy-toc-list a.active::before,
.policy-toc-list a[aria-current="true"]::before {
    top: 8px;
    bottom: 8px;
    background: #ffffff;
}
.policy-toc-list a:hover strong,
.policy-toc-list a.active strong,
.policy-toc-list a[aria-current="true"] strong {
    color: rgba(255, 255, 255, .88);
}
.policy-pdf-document:target,
.policy-main-card:target,
.policy-pdf-document.policy-section-focus,
.policy-main-card.policy-section-focus {
    border-color: rgba(0, 141, 98, .38);
    box-shadow: 0 28px 78px rgba(0, 105, 82, .18);
}
@media (max-width: 980px) {
    .policy-pdf-document[id],
    .policy-main-card[id] { scroll-margin-top: 122px; }
    .policy-toc-card { max-height: none; overflow: visible; }
    .policy-toc-list a:hover,
    .policy-toc-list a.active,
    .policy-toc-list a[aria-current="true"] { transform: none; }
}

/* V15.6 - tinh chỉnh phần đầu trang Chính sách: kéo khối lên trên, giảm cỡ chữ, giữ khung */
.policy-hero-v152 {
    min-height: 330px;
    background-size: cover, 360px;
    background-position: center, right 5% center;
}
.policy-hero-v152 .policy-hero-inner {
    padding: 48px 0 34px;
}
.policy-hero-v152 .policy-breadcrumb {
    margin-bottom: 12px;
    font-size: 12px;
    padding: 8px 13px;
}
.policy-hero-v152 .policy-hero-kicker {
    margin-bottom: 12px;
    font-size: 12px;
    padding: 8px 13px;
}
.policy-hero-v152 h1 {
    max-width: 820px;
    font-size: clamp(30px, 5vw, 66px);
    line-height: 1.02;
    letter-spacing: -.045em;
}
.policy-page-v152 {
    margin: -92px auto 70px;
}
.policy-sidebar-card h2 {
    font-size: clamp(24px, 2vw, 34px);
    margin-bottom: 14px;
}
.policy-toc-list a {
    min-height: 56px;
    padding: 12px 15px 12px 18px;
}
.policy-toc-list a span {
    font-size: 12px;
}
.policy-toc-list a strong {
    font-size: 11.25px;
    line-height: 1.3;
}
@media (max-width: 980px) {
    .policy-hero-v152 { min-height: 290px; background-size: cover, 230px; }
    .policy-hero-v152 .policy-hero-inner { padding: 42px 0 24px; }
    .policy-page-v152 { margin: -54px auto 56px; }
}


/* V15.7 - sửa lỗi phần Chính sách bị đè khung và không hiện header văn bản hành chính */
.policy-hero-v152 {
    min-height: 370px;
    background-size: cover, 340px;
    background-position: center, right 5% center;
}
.policy-hero-v152 .policy-hero-inner {
    padding: 50px 0 88px;
}
.policy-hero-v152 h1 {
    max-width: 780px;
    font-size: clamp(28px, 4.4vw, 58px);
    line-height: 1.02;
    letter-spacing: -.04em;
}
.policy-page-v152 {
    margin: -58px auto 70px;
}
.policy-official-heading {
    display: none !important;
}
@media (max-width: 980px) {
    .policy-hero-v152 {
        min-height: 330px;
        background-size: cover, 220px;
    }
    .policy-hero-v152 .policy-hero-inner {
        padding: 38px 0 74px;
    }
    .policy-page-v152 {
        margin: -42px auto 56px;
    }
}


/* V15.8 - Trang chủ chỉ hiện 6 tin, click tiêu đề/Xem tất cả ra toàn bộ tin tức */
.home-news-title-link {
    display: inline-block;
    color: inherit;
    text-decoration: none;
}
.home-news-title-link h2 {
    margin-bottom: 0;
}
.home-news-title-link:hover h2 {
    color: #008d62;
}

/* V15.13 - 3 giao diện kiểu cũ V15.8 nâng cấp + fix chọn giao diện trên IIS */
.home-classic-shell {
    --classic-green: #008d62;
    --classic-dark: #073d31;
    --classic-soft: #f2fbf6;
}
.classic-intro-upgrade {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at 88% 16%, rgba(0,141,98,.13), transparent 26%),
        linear-gradient(135deg, #ffffff 0%, #f7fffb 58%, #eefaf4 100%);
}
.classic-intro-upgrade::after {
    content: "SDGs";
    position: absolute;
    right: 32px;
    bottom: -20px;
    color: rgba(0,141,98,.06);
    font-size: clamp(80px, 14vw, 190px);
    font-weight: 950;
    letter-spacing: -.08em;
    pointer-events: none;
}
.classic-hero-card {
    display: grid;
    grid-template-columns: minmax(0, 1.12fr) minmax(320px, .88fr);
    gap: 28px;
    align-items: stretch;
    background: #fff;
    border: 1px solid rgba(0,141,98,.14);
    border-radius: 32px;
    padding: clamp(24px, 4vw, 48px);
    box-shadow: 0 24px 70px rgba(0, 65, 49, .095);
    overflow: hidden;
    position: relative;
}
.classic-hero-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 82% 22%, rgba(0,141,98,.12), transparent 25%);
    pointer-events: none;
}
.classic-hero-copy,
.classic-hero-feature,
.classic-pro-panel { position: relative; z-index: 1; }
.classic-hero-copy h1 {
    margin: 12px 0 16px;
    color: #052f28;
    font-size: clamp(40px, 6vw, 78px);
    line-height: .98;
    letter-spacing: -.06em;
}
.classic-hero-copy p {
    color: #4c5c55;
    font-size: 18px;
    line-height: 1.85;
    margin: 0 0 22px;
    text-align: justify;
}
.classic-hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.classic-hero-feature a {
    height: 100%;
    min-height: 330px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    overflow: hidden;
    border-radius: 28px;
    background: #e9f6ef;
    position: relative;
    padding: 24px;
    color: #fff;
    text-decoration: none;
}
.classic-hero-feature a::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 32%, rgba(0,0,0,.72));
}
.classic-hero-feature img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .25s ease;
}
.classic-hero-feature a:hover img { transform: scale(1.04); }
.classic-hero-feature span,
.classic-hero-feature strong {
    position: relative;
    z-index: 1;
}
.classic-hero-feature span {
    font-size: 12px;
    font-weight: 950;
    text-transform: uppercase;
    color: #caffea;
}
.classic-hero-feature strong {
    margin-top: 8px;
    font-size: clamp(22px, 3vw, 36px);
    line-height: 1.08;
    letter-spacing: -.035em;
}
.classic-pro-panel {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 14px 18px;
    align-content: center;
    background: linear-gradient(145deg, #063b30, #008d62);
    color: #fff;
    border-radius: 28px;
    padding: clamp(24px, 4vw, 40px);
    box-shadow: 0 24px 54px rgba(0, 105, 82, .2);
}
.classic-pro-panel b {
    color: #fff;
    font-size: clamp(34px, 5vw, 68px);
    line-height: .9;
    letter-spacing: -.06em;
}
.classic-pro-panel span {
    align-self: center;
    color: rgba(255,255,255,.86);
    font-weight: 850;
    line-height: 1.35;
}
.classic-stat-strip {
    margin: 24px 0;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
}
.classic-stat-strip a {
    display: flex;
    align-items: center;
    gap: 14px;
    text-decoration: none;
    background: linear-gradient(135deg, #073d31, #008d62);
    color: #fff;
    border-radius: 22px;
    padding: 18px 20px;
    box-shadow: 0 16px 42px rgba(0, 105, 82, .16);
}
.classic-stat-strip strong {
    font-size: clamp(22px, 3vw, 42px);
    line-height: .9;
    letter-spacing: -.05em;
}
.classic-stat-strip span {
    font-size: 13px;
    line-height: 1.25;
    font-weight: 850;
    color: rgba(255,255,255,.86);
}
.classic-sdg-menu {
    padding: 16px;
    background: rgba(255,255,255,.92);
    border: 1px solid rgba(0,141,98,.13);
    border-radius: 26px;
    box-shadow: 0 18px 56px rgba(0,0,0,.055);
}
.classic-news-section {
    position: relative;
    overflow: hidden;
}
.classic-news-section::before {
    content: "";
    position: absolute;
    width: 240px;
    height: 240px;
    right: -110px;
    top: -110px;
    border-radius: 999px;
    background: rgba(0,141,98,.08);
    pointer-events: none;
}
.classic-news-grid .home-news-card {
    border-radius: 22px;
}
.classic-editorial-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(320px, .92fr);
    gap: 18px;
}
.classic-lead-news {
    display: grid;
    grid-template-rows: 360px minmax(0, auto);
    background: #fff;
    border: 1px solid rgba(0,141,98,.13);
    border-radius: 26px;
    overflow: hidden;
    text-decoration: none;
    box-shadow: 0 18px 46px rgba(0,0,0,.07);
}
.classic-lead-news h3 {
    font-size: clamp(28px, 4vw, 48px);
}
.classic-side-news {
    display: grid;
    gap: 12px;
}
.classic-side-news a {
    display: grid;
    grid-template-columns: 124px minmax(0, 1fr);
    gap: 14px;
    align-items: center;
    text-decoration: none;
    color: #123d33;
    background: #f8fdfa;
    border: 1px solid rgba(0,141,98,.13);
    border-radius: 20px;
    padding: 10px;
    transition: transform .16s ease, box-shadow .16s ease;
}
.classic-side-news a:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 34px rgba(0,0,0,.08);
}
.classic-side-news img {
    width: 124px;
    height: 82px;
    object-fit: cover;
    border-radius: 14px;
    grid-row: span 2;
}
.classic-side-news span {
    color: #008d62;
    font-size: 11px;
    text-transform: uppercase;
    font-weight: 950;
}
.classic-side-news strong {
    font-size: 18px;
    line-height: 1.22;
    letter-spacing: -.02em;
}
.home-theme-classicpro .sdg-intro-card,
.home-theme-classicpro .home-news-section,
.home-theme-classicpro .sdg-goal-block,
.home-theme-classicpro .classic-sdg-menu {
    border-radius: 18px;
}
.home-theme-classicpro .classic-stat-strip a {
    border-radius: 16px;
    background: #fff;
    color: #073d31;
    border: 1px solid rgba(0,141,98,.14);
    box-shadow: 0 12px 34px rgba(0,0,0,.055);
}
.home-theme-classicpro .classic-stat-strip span { color: #52635b; }
.home-theme-classicpro .classic-stat-strip strong { color: #008d62; }
.home-theme-classicnews .classic-stat-strip { margin-top: 18px; }
.home-theme-classicnews .classic-sdg-menu { grid-template-columns: repeat(17, minmax(52px, 1fr)); }
.theme-admin-page { width: min(1180px, calc(100% - 28px)); margin: 0 auto 70px; }
.theme-choice-grid.classic-only {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}
.theme-choice-card {
    display: grid;
    gap: 14px;
    cursor: pointer;
    background: #fff;
    border: 1px solid rgba(0,141,98,.16);
    border-radius: 24px;
    padding: 14px;
    box-shadow: 0 16px 44px rgba(0,0,0,.06);
    transition: transform .16s ease, border-color .16s ease, box-shadow .16s ease;
}
.theme-choice-card:hover,
.theme-choice-card.selected {
    transform: translateY(-3px);
    border-color: rgba(0,141,98,.55);
    box-shadow: 0 24px 60px rgba(0,105,82,.14);
}
.theme-choice-card input { position: absolute; opacity: 0; pointer-events: none; }
.theme-choice-preview {
    height: 180px;
    border-radius: 18px;
    background: linear-gradient(135deg, #fff, #eefaf5);
    border: 1px solid rgba(0,141,98,.12);
    position: relative;
    overflow: hidden;
    display: block;
}
.theme-choice-preview::before {
    content: "";
    position: absolute;
    left: 16px;
    top: 18px;
    width: 42%;
    height: 18px;
    border-radius: 999px;
    background: #008d62;
    box-shadow: 0 34px 0 #173d34, 0 68px 0 rgba(0,141,98,.2);
}
.theme-choice-preview i {
    position: absolute;
    right: 16px;
    top: 22px;
    width: 34%;
    height: 72px;
    border-radius: 20px;
    background: rgba(0,141,98,.16);
}
.theme-choice-preview b,
.theme-choice-preview em,
.theme-choice-preview strong {
    position: absolute;
    bottom: 16px;
    height: 42px;
    border-radius: 12px;
    background: #fff;
    border: 1px solid rgba(0,141,98,.12);
}
.theme-choice-preview b { left: 16px; width: 25%; }
.theme-choice-preview em { left: 34%; width: 25%; }
.theme-choice-preview strong { right: 16px; width: 34%; }
.theme-preview-classicnews::before { width: 55%; background: #064437; box-shadow: 0 34px 0 #008d62, 0 68px 0 rgba(0,141,98,.16); }
.theme-preview-classicnews i { height: 120px; top: 38px; background: linear-gradient(135deg, #0a8d62, #063b30); }
.theme-preview-classicpro { background: linear-gradient(135deg, #f8fffb, #fff); }
.theme-preview-classicpro::before { width: 48%; background: #073d31; box-shadow: 0 34px 0 rgba(0,141,98,.9), 0 68px 0 rgba(0,141,98,.16); }
.theme-preview-classicpro b,
.theme-preview-classicpro em,
.theme-preview-classicpro strong { border-radius: 6px; }
.theme-choice-content strong {
    display: block;
    color: #073d31;
    font-size: 18px;
    line-height: 1.25;
}
.theme-choice-content small {
    display: block;
    margin-top: 6px;
    color: #5b6762;
    line-height: 1.55;
}
.theme-admin-actions { display: flex; gap: 12px; margin-top: 22px; }
.alert.warning {
    background: #fff7e6;
    border: 1px solid #ffd48a;
    color: #7a4b00;
}
@media (max-width: 1100px) {
    .classic-hero-card,
    .classic-editorial-grid { grid-template-columns: 1fr; }
    .theme-choice-grid.classic-only { grid-template-columns: 1fr; }
}
@media (max-width: 980px) {
    .classic-stat-strip { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 720px) {
    .classic-stat-strip { grid-template-columns: 1fr; }
    .classic-side-news a { grid-template-columns: 96px minmax(0, 1fr); }
    .classic-side-news img { width: 96px; height: 72px; }
    .classic-hero-copy h1 { font-size: 42px; }
}

/* Admin V15.14: trình soạn thảo nội dung Pro */
.btn-danger {
    background: #ef4444;
    color: #fff;
}
.btn-danger:hover {
    background: #dc2626;
}
.pro-editor {
    margin-top: 10px;
    border: 1px solid rgba(16, 42, 67, .12);
    border-radius: 24px;
    background: linear-gradient(180deg, #ffffff, #f7fbff);
    box-shadow: 0 18px 46px rgba(16, 42, 67, .08);
    overflow: hidden;
}
.pro-editor-toolbar {
    position: sticky;
    top: 0;
    z-index: 5;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 12px;
    background: rgba(255,255,255,.96);
    border-bottom: 1px solid rgba(16, 42, 67, .10);
    backdrop-filter: blur(8px);
}
.pro-editor-toolbar button {
    border: 1px solid rgba(21, 94, 145, .18);
    border-radius: 999px;
    padding: 9px 12px;
    background: #fff;
    color: #102a43;
    font-weight: 900;
    cursor: pointer;
    box-shadow: 0 8px 20px rgba(16,42,67,.06);
}
.pro-editor-toolbar button:hover {
    transform: translateY(-1px);
    border-color: rgba(4,168,115,.38);
    color: #047857;
    background: #f0fff8;
}
.pro-editor .html-editor {
    width: 100%;
    min-height: 560px;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    background: #fff;
}
.pro-editor-preview {
    margin: 14px;
    padding: 28px;
    border: 1px dashed rgba(21, 94, 145, .22);
    border-radius: 22px;
    background: #fff;
    box-shadow: inset 0 0 0 1px rgba(255,255,255,.7);
}
.pro-editor-preview::before {
    content: "Xem trước nội dung";
    display: inline-flex;
    margin-bottom: 18px;
    padding: 7px 12px;
    border-radius: 999px;
    background: #eafaf2;
    color: #047857;
    font-weight: 950;
    font-size: 13px;
}
.pro-editor-preview img {
    max-width: 100%;
    height: auto;
    border-radius: 18px;
    display: block;
    margin: 18px auto;
}
.pro-editor-preview p {
    text-align: justify;
    line-height: 1.85;
}
.content-html .sdg-highlight,
.pro-editor-preview .sdg-highlight {
    margin: 28px 0;
    padding: 28px 32px;
    border-radius: 26px;
    color: #fff;
    background: linear-gradient(135deg, #102a43, #155e91 48%, #04a873);
    box-shadow: 0 20px 48px rgba(16,42,67,.18);
}
.content-html .sdg-highlight h2,
.pro-editor-preview .sdg-highlight h2 {
    margin-top: 0;
    color: #fff;
}
.content-html .article-stat-grid,
.pro-editor-preview .article-stat-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    margin: 26px 0;
}
.content-html .article-stat-grid > div,
.pro-editor-preview .article-stat-grid > div {
    padding: 22px;
    border-radius: 22px;
    background: linear-gradient(180deg, #fff, #f7fbff);
    border: 1px solid rgba(21,94,145,.12);
    box-shadow: 0 12px 28px rgba(16,42,67,.08);
}
.content-html .article-stat-grid b,
.pro-editor-preview .article-stat-grid b {
    display: block;
    color: #04a873;
    font-size: 26px;
    line-height: 1;
    margin-bottom: 8px;
}
.content-html .article-stat-grid span,
.pro-editor-preview .article-stat-grid span {
    display: block;
    color: #425466;
    font-weight: 800;
}
@media (max-width: 760px) {
    .pro-editor-toolbar { position: static; }
    .content-html .article-stat-grid,
    .pro-editor-preview .article-stat-grid { grid-template-columns: 1fr; }
}

/* V15.16 - multi-author admin permissions */
.flash-warning{width:min(1180px,calc(100% - 32px));margin:16px auto;padding:14px 18px;border-radius:16px;background:#fff8e6;border:1px solid #f5cf72;color:#6a4a00;font-weight:700;box-shadow:0 10px 30px rgba(106,74,0,.08)}
.author-pill{display:inline-flex;align-items:center;max-width:180px;padding:6px 10px;border-radius:999px;background:#eef3f8;color:#3e566d;font-size:12px;font-weight:800;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.author-pill.mine{background:#e8fff5;color:#087753;border:1px solid #b9ecd8}
.ownership-note{display:block;margin-top:5px;color:#0b8f64;font-weight:800;font-size:11px}
.permission-summary{width:min(1180px,calc(100% - 32px));margin:0 auto 18px;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.permission-summary>div{display:flex;flex-direction:column;gap:5px;padding:18px 20px;border-radius:20px;background:linear-gradient(145deg,#fff,#f7fafc);border:1px solid rgba(27,53,75,.1);box-shadow:0 14px 34px rgba(18,48,72,.07)}
.permission-summary strong{font-size:17px}.permission-summary span{color:#647382;font-size:13px;line-height:1.55}
.role-badge{display:inline-flex;padding:6px 10px;border-radius:999px;font-size:12px;font-weight:900}.role-badge.admin{background:#e9f0ff;color:#3157b7}.role-badge.editor{background:#e9fff6;color:#087753}
.protected-account{font-size:12px;font-weight:800;color:#71808f;white-space:nowrap}
.account-form{max-width:620px}.account-form label{font-weight:800;margin-top:4px}.account-form input{width:100%;box-sizing:border-box}
.permission-callout{display:flex;flex-direction:column;gap:5px;margin:8px 0 4px;padding:16px;border-radius:16px;background:#eefaf6;border:1px solid #cbeade;color:#245a49}.permission-callout span{font-size:13px;line-height:1.5;color:#547568}
.user-table-card td,.user-table-card th{vertical-align:middle}
@media(max-width:780px){.permission-summary{grid-template-columns:1fr}.user-table-card{overflow-x:auto}.author-pill{max-width:130px}}
.access-denied-card{width:min(720px,calc(100% - 32px));margin:70px auto;padding:42px;border-radius:28px;background:#fff;border:1px solid rgba(23,52,75,.11);box-shadow:0 24px 70px rgba(23,52,75,.12);text-align:center}.access-denied-card h1{margin:10px 0 12px;font-size:clamp(28px,5vw,42px);letter-spacing:-.035em}.access-denied-card p{max-width:590px;margin:0 auto 24px;color:#627383;line-height:1.7}.access-denied-icon{font-size:44px;margin-bottom:8px}.access-denied-actions{display:flex;gap:10px;justify-content:center;flex-wrap:wrap}
