/* ==========================================================================
   Theo dõi chỉ tiêu 2026 – Phòng Văn hóa – Xã hội
   Giao diện dùng chung (đồng bộ với ảnh mẫu giao diện)
   ========================================================================== */

/* Phông chữ thư pháp hỗ trợ đầy đủ dấu tiếng Việt (offline) */
@font-face {
    font-family: "CharmVN";
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url("../fonts/charm-vietnamese-700.woff2") format("woff2");
    unicode-range: U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01A0-01A1,U+01AF-01B0,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1EA0-1EF9,U+20AB;
}
@font-face {
    font-family: "CharmVN";
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url("../fonts/charm-latin-ext-700.woff2") format("woff2");
    unicode-range: U+0100-02AF,U+0304,U+0308,U+0329,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20CF,U+2113,U+2C60-2C7F,U+A720-A7FF;
}
@font-face {
    font-family: "CharmVN";
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url("../fonts/charm-latin-700.woff2") format("woff2");
    unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}

:root {
    --navy-1: #0f4c97;
    --navy-2: #0a3470;
    --navy-3: #082a5b;
    --blue: #1a5fd6;
    --blue-dark: #134bb0;
    --blue-soft: #e8f0fd;
    --bg: #eef3fa;
    --card: #ffffff;
    --border: #e1e8f2;
    --text: #15263d;
    --muted: #64748b;

    /* Bảng màu trạng thái – dùng thống nhất mọi màn hình */
    --st-hoan-thanh: #22a447;
    --st-hoan-thanh-bg: #e7f7ec;
    --st-hoan-thanh-text: #15803d;
    --st-dung-tien-do: #1a73e8;
    --st-dung-tien-do-bg: #e6f0fd;
    --st-dung-tien-do-text: #1d4ed8;
    --st-nguy-co: #f5b301;
    --st-nguy-co-bg: #fff6dc;
    --st-nguy-co-text: #b45309;
    --st-qua-han: #e53935;
    --st-qua-han-bg: #fdeaea;
    --st-qua-han-text: #c62828;

    --radius: 12px;
    --shadow: 0 2px 10px rgba(16, 42, 84, 0.06);
    --sidebar-w: 236px;
}

html { font-size: 15px; }
body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font-family: "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
}
a { color: var(--blue); }
.text-muted { color: var(--muted) !important; }

/* ---------- Khung trang ---------- */
.app-shell { display: flex; min-height: 100vh; }

.app-sidebar {
    width: var(--sidebar-w);
    flex-shrink: 0;
    background: linear-gradient(180deg, #0d366d 0%, #092854 240px, #092854 100%);
    color: #fff;
    display: flex;
    flex-direction: column;
    position: sticky;
    top: 0;
    height: 100vh;
    overflow-y: auto;
}
.app-brand {
    text-align: center;
    padding: 1.35rem 1rem 1.05rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    color: #fff;
    text-decoration: none;
    display: block;
}
.app-brand img { width: 62px; height: 62px; margin-bottom: 0.6rem; }
.app-brand .brand-title {
    font-weight: 800;
    font-size: 0.95rem;
    line-height: 1.3;
    letter-spacing: 0.2px;
    text-transform: uppercase;
}
.app-brand .brand-sub { font-size: 0.78rem; opacity: 0.85; font-weight: 600; text-transform: uppercase; }

.app-nav { padding: 0.85rem 0.75rem 0.5rem; flex: 0 0 auto; }
.app-nav .nav-link {
    display: flex;
    align-items: center;
    gap: 0.78rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
    font-size: 0.94rem;
    padding: 0.68rem 0.95rem;
    border-radius: 10px;
    margin-bottom: 0.28rem;
    transition: background-color .15s, color .15s, box-shadow .15s;
}
.app-nav .nav-link i { font-size: 1.12rem; width: 1.3rem; text-align: center; flex-shrink: 0; }
.app-nav .nav-link:hover { background: rgba(255, 255, 255, 0.1); color: #fff; }
.app-nav .nav-link.active {
    background: #1677ff;
    color: #fff;
    font-weight: 600;
    box-shadow: 0 4px 14px rgba(22, 119, 255, 0.45);
}

/* Cảnh quan đồng cỏ và khẩu hiệu chân menu */
.sidebar-scenic {
    margin-top: auto;
    position: relative;
    height: clamp(235px, 37vh, 325px);
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    background: #071e40 url('../img/sidebar-meadow.jpg') center 45% / cover no-repeat;
    overflow: hidden;
    user-select: none;
}
.sidebar-scenic::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        #092854 0%,
        rgba(9, 40, 84, 0.9) 15%,
        rgba(9, 40, 84, 0.28) 35%,
        rgba(9, 40, 84, 0) 48%,
        rgba(7, 30, 64, 0) 62%,
        rgba(7, 30, 64, 0.86) 81%,
        #071e40 94%,
        #071e40 100%
    );
    pointer-events: none;
}
.sidebar-slogan {
    position: relative;
    z-index: 1;
    text-align: center;
    padding: 0.75rem 0.9rem 1.25rem;
}
.sidebar-slogan-text {
    font-family: "CharmVN", "Segoe UI", "Times New Roman", serif;
    font-style: normal;
    font-weight: 700;
    font-size: 1.06rem;
    line-height: 1.38;
    color: rgba(255, 255, 255, 0.96);
    text-shadow: 0 2px 8px rgba(4, 18, 42, 0.78);
}
.sidebar-slogan-curve {
    display: block;
    width: 156px;
    height: 12px;
    margin: 0.22rem auto 0;
}
.app-user {
    padding: 0.9rem 1rem 1.1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.85rem;
}
.app-user .avatar {
    width: 36px; height: 36px; border-radius: 50%;
    background: rgba(255, 255, 255, 0.18);
    display: inline-flex; align-items: center; justify-content: center;
    font-weight: 700;
}
.app-user .btn-link-light {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    font-size: 0.83rem;
    background: none; border: 0; padding: 0;
}
.app-user .btn-link-light:hover { color: #fff; text-decoration: underline; }

.app-main { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; }
.app-userbar {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    padding: 0.85rem 1.75rem 0;
}
.app-content { padding: 0.85rem 1.75rem 2rem; flex: 1; }

/* Nút avatar & menu tài khoản góc trên bên phải (mọi vai trò) */
.user-pill-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 999px;
    padding: 0.3rem 0.85rem 0.3rem 0.35rem;
    color: var(--text);
    font-weight: 600;
    font-size: 0.9rem;
    box-shadow: var(--shadow);
    transition: box-shadow .15s, border-color .15s;
}
.user-pill-btn:hover,
.user-pill-btn[aria-expanded="true"] {
    border-color: #c6d5eb;
    box-shadow: 0 4px 14px rgba(10, 52, 112, 0.12);
}
.user-pill-btn::after,
.user-pill-mobile::after {
    display: none;
}
.user-pill-caret { font-size: 0.75rem; color: var(--muted); }
.user-pill-mobile {
    display: inline-flex;
    align-items: center;
    background: none;
    border: 0;
    padding: 0;
}
.user-avatar-circle {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: var(--navy-2);
    color: #fff;
    font-weight: 700;
    font-size: 0.82rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.user-avatar-light {
    background: rgba(255, 255, 255, 0.22);
    border: 1px solid rgba(255, 255, 255, 0.35);
}
.user-dropdown-menu {
    min-width: 225px;
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 0.35rem 0;
    box-shadow: 0 12px 32px rgba(10, 52, 112, 0.15);
}
.user-dropdown-menu .dropdown-item {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
    font-weight: 500;
    display: flex;
    align-items: center;
}
.user-dropdown-menu .dropdown-item i { font-size: 1rem; width: 1.25rem; }

/* Thanh trên điện thoại */
.app-topbar {
    display: none;
    background: linear-gradient(90deg, var(--navy-2), var(--navy-1));
    color: #fff;
    padding: 0.6rem 0.9rem;
    align-items: center;
    gap: 0.6rem;
    position: sticky; top: 0; z-index: 1030;
}
.app-topbar img { width: 34px; height: 34px; }
.app-topbar .title { font-weight: 800; font-size: 0.8rem; line-height: 1.2; text-transform: uppercase; flex: 1; }
.app-topbar .btn-menu { color: #fff; font-size: 1.6rem; background: none; border: 0; padding: 0 0.2rem; }
.offcanvas.app-offcanvas {
    width: 270px;
    background: linear-gradient(180deg, #0d366d 0%, #092854 180px, #092854 100%);
    color: #fff;
}

/* ---------- Tiêu đề trang ---------- */
.page-head {
    display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
    gap: 0.75rem; margin-bottom: 1.1rem;
}
.page-title {
    font-size: 1.55rem; font-weight: 800; margin: 0; color: var(--text);
    display: flex; align-items: center; gap: 0.6rem;
}
.page-title i { color: var(--blue); }
.page-sub { color: var(--muted); font-size: 0.92rem; margin-top: 0.25rem; display: flex; align-items: center; gap: 0.4rem; }

/* ---------- Thẻ (card) ---------- */
.card {
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    background: var(--card);
}
.card-header {
    background: #fff;
    border-bottom: 1px solid var(--border);
    font-weight: 700;
    padding: 0.85rem 1.1rem;
    border-radius: var(--radius) var(--radius) 0 0 !important;
}
.card-title-icon { display: flex; align-items: center; gap: 0.5rem; font-weight: 700; margin: 0; font-size: 1rem; }
.card-title-icon i { color: var(--blue); }

/* ---------- Thẻ KPI ---------- */
.kpi-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0.9rem; margin-bottom: 1.1rem; }
.kpi-card {
    display: flex; align-items: center; gap: 0.85rem;
    padding: 1rem 1.1rem;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    background: #fff;
    box-shadow: var(--shadow);
    text-decoration: none; color: var(--text);
    transition: transform .12s, box-shadow .12s, outline-color .12s;
    outline: 2px solid transparent;
}
.kpi-card:hover { transform: translateY(-2px); box-shadow: 0 8px 18px rgba(16, 42, 84, 0.1); color: var(--text); }
.kpi-card.active { outline-color: var(--blue); }
.kpi-icon {
    width: 46px; height: 46px; border-radius: 50%;
    display: inline-flex; align-items: center; justify-content: center;
    font-size: 1.35rem; color: #fff; flex-shrink: 0;
}
.kpi-label { font-size: 0.88rem; font-weight: 600; color: #334155; }
.kpi-value { font-size: 2rem; font-weight: 800; line-height: 1.05; }

.kpi-tong { background: #f3f6fb; }
.kpi-tong .kpi-icon { background: #9aaec8; }
.kpi-tong .kpi-value { color: var(--navy-2); }
.kpi-hoan_thanh { background: var(--st-hoan-thanh-bg); }
.kpi-hoan_thanh .kpi-icon { background: var(--st-hoan-thanh); }
.kpi-hoan_thanh .kpi-value { color: var(--st-hoan-thanh-text); }
.kpi-dung_tien_do { background: var(--st-dung-tien-do-bg); }
.kpi-dung_tien_do .kpi-icon { background: var(--st-dung-tien-do); }
.kpi-dung_tien_do .kpi-value { color: var(--st-dung-tien-do-text); }
.kpi-nguy_co { background: var(--st-nguy-co-bg); }
.kpi-nguy_co .kpi-icon { background: var(--st-nguy-co); }
.kpi-nguy_co .kpi-value { color: var(--st-nguy-co-text); }
.kpi-qua_han { background: var(--st-qua-han-bg); }
.kpi-qua_han .kpi-icon { background: var(--st-qua-han); }
.kpi-qua_han .kpi-value { color: var(--st-qua-han-text); }

/* ---------- Nhãn trạng thái ---------- */
.badge-st {
    display: inline-block;
    padding: 0.32rem 0.75rem;
    border-radius: 999px;
    font-weight: 700;
    font-size: 0.8rem;
    white-space: nowrap;
    border: 1px solid transparent;
}
.badge-st-hoan_thanh { background: var(--st-hoan-thanh-bg); color: var(--st-hoan-thanh-text); border-color: #bfe7cb; }
.badge-st-dung_tien_do { background: var(--st-dung-tien-do-bg); color: var(--st-dung-tien-do-text); border-color: #c4dafb; }
.badge-st-nguy_co { background: var(--st-nguy-co-bg); color: var(--st-nguy-co-text); border-color: #fbe2a1; }
.badge-st-qua_han { background: var(--st-qua-han-bg); color: var(--st-qua-han-text); border-color: #f6c3c3; }

.dot { display: inline-block; width: 10px; height: 10px; border-radius: 50%; margin-right: 0.4rem; }
.dot-hoan_thanh { background: var(--st-hoan-thanh); }
.dot-dung_tien_do { background: var(--st-dung-tien-do); }
.dot-nguy_co { background: var(--st-nguy-co); }
.dot-qua_han { background: var(--st-qua-han); }

/* ---------- Thanh tiến độ ---------- */
.progress-st { height: 8px; border-radius: 999px; background: #e7edf5; overflow: hidden; min-width: 70px; }
.progress-st > span { display: block; height: 100%; border-radius: 999px; }
.bar-hoan_thanh { background: var(--st-hoan-thanh); }
.bar-dung_tien_do { background: var(--st-dung-tien-do); }
.bar-nguy_co { background: var(--st-nguy-co); }
.bar-qua_han { background: var(--st-qua-han); }
.pct-cell { display: flex; align-items: center; gap: 0.5rem; min-width: 130px; }
.pct-cell .pct { font-weight: 700; min-width: 46px; text-align: right; font-size: 0.88rem; }

/* ---------- Bảng ---------- */
.table { margin-bottom: 0; }
.table > :not(caption) > * > * { vertical-align: middle; padding: 0.7rem 0.75rem; }
.table thead th {
    background: #f5f8fc;
    color: #334155;
    font-weight: 700;
    font-size: 0.85rem;
    border-bottom: 1px solid var(--border);
    white-space: nowrap;
}
.table tbody tr.row-link { cursor: pointer; }
.table tbody tr.row-link:hover > td { background: #f5f9ff; }
.table tbody tr.row-qua_han > td { background: #fff5f5; }
.table tbody tr.row-qua_han:hover > td { background: #ffecec; }
.ma-ct { font-weight: 700; color: var(--navy-2); white-space: nowrap; }

/* ---------- Biểu đồ ---------- */
.chart-box { position: relative; height: 270px; }
.chart-box-sm { position: relative; height: 230px; }
.donut-center {
    position: absolute; inset: 0;
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    pointer-events: none;
}
.donut-center .num { font-size: 2rem; font-weight: 800; color: var(--navy-2); line-height: 1; }
.donut-center .lbl { font-size: 0.85rem; font-weight: 600; color: var(--muted); }
.legend-list { list-style: none; padding: 0; margin: 0; }
.legend-list li {
    display: flex; align-items: center; justify-content: space-between;
    padding: 0.35rem 0.5rem; border-radius: 8px; cursor: pointer; font-size: 0.9rem;
}
.legend-list li:hover { background: #f3f7fc; }
.legend-list .val { font-weight: 700; }

/* ---------- Nút ---------- */
.btn { border-radius: 9px; font-weight: 600; }
.btn-primary { background: var(--blue); border-color: var(--blue); }
.btn-primary:hover, .btn-primary:focus { background: var(--blue-dark); border-color: var(--blue-dark); }
.btn-outline-primary { color: var(--blue); border-color: var(--blue); }
.btn-outline-primary:hover { background: var(--blue); border-color: var(--blue); }
.btn-icon { width: 36px; height: 36px; padding: 0; display: inline-flex; align-items: center; justify-content: center; }
.btn-lg-action { padding: 0.65rem 1.6rem; font-size: 1rem; }

/* ---------- Biểu mẫu ---------- */
.form-label { font-weight: 600; color: #334155; margin-bottom: 0.35rem; }
.form-control, .form-select { border-radius: 9px; border-color: #d3dce8; padding: 0.55rem 0.8rem; }
.form-control:focus, .form-select:focus { border-color: var(--blue); box-shadow: 0 0 0 0.2rem rgba(26, 95, 214, 0.15); }
.form-text { color: var(--muted); }
.req { color: var(--st-qua-han); }
.invalid-feedback { font-weight: 500; }

/* Hộp thông tin chỉ tiêu */
.info-box {
    background: var(--blue-soft);
    border: 1px solid #cfe0fb;
    border-radius: 10px;
    padding: 0.9rem 1.1rem;
}
.info-box .info-title { font-weight: 700; color: var(--navy-2); font-size: 1.02rem; }
.info-box .info-meta { color: #334155; font-size: 0.9rem; margin-top: 0.25rem; }

/* Dòng thời gian lịch sử */
.timeline { list-style: none; padding: 0; margin: 0; position: relative; }
.timeline li { position: relative; padding: 0 0 1rem 1.6rem; }
.timeline li::before {
    content: ""; position: absolute; left: 6px; top: 6px; bottom: -6px;
    width: 2px; background: #d6e1ef;
}
.timeline li:last-child::before { display: none; }
.timeline li::after {
    content: ""; position: absolute; left: 0; top: 3px;
    width: 14px; height: 14px; border-radius: 50%;
    background: #fff; border: 3px solid #9fb3cc;
}
.timeline li.first::after { border-color: var(--blue); }
.timeline li.y-kien::after { border-color: #7c3aed; }
.timeline .t-date { font-weight: 700; font-size: 0.9rem; }
.timeline .t-body { font-size: 0.88rem; color: #334155; }
.timeline .t-by { font-size: 0.8rem; color: var(--muted); }

/* Ý kiến chỉ đạo */
.y-kien-item { border-left: 4px solid #7c3aed; background: #f6f3ff; border-radius: 8px; padding: 0.7rem 0.9rem; margin-bottom: 0.7rem; }

/* Việc của tôi */
.flag { font-size: 0.78rem; font-weight: 700; border-radius: 6px; padding: 0.15rem 0.5rem; display: inline-block; margin-top: 0.25rem; }
.flag-chua { background: #fff1e6; color: #c2410c; }
.flag-han { background: var(--st-qua-han-bg); color: var(--st-qua-han-text); }

/* Danh sách thẻ trên điện thoại */
.m-card-list { display: none; }
.m-card {
    background: #fff; border: 1px solid var(--border); border-radius: 12px;
    padding: 0.85rem 0.95rem; margin-bottom: 0.65rem; box-shadow: var(--shadow);
    display: block; color: var(--text); text-decoration: none;
}
.m-card .m-title { font-weight: 700; font-size: 0.95rem; }
.m-card .m-meta { font-size: 0.82rem; color: var(--muted); }

/* Phân trang */
.pagination { margin: 0; }
.page-link { border-radius: 8px !important; margin: 0 2px; color: var(--blue); }
.page-item.active .page-link { background: var(--blue); border-color: var(--blue); }

/* Thông báo */
.alert { border-radius: 10px; border: 0; }

/* ---------- Trang đăng nhập ---------- */
.login-page {
    min-height: 100vh;
    background: radial-gradient(circle at 20% 20%, #dbe8fb 0, transparent 45%),
                linear-gradient(160deg, #eaf2fd 0%, #d6e4f7 100%);
    display: flex; align-items: center; justify-content: center;
    padding: 1.5rem;
}
.login-card {
    width: 100%; max-width: 960px;
    background: #fff; border-radius: 18px; overflow: hidden;
    box-shadow: 0 20px 50px rgba(10, 52, 112, 0.18);
    display: grid; grid-template-columns: 1.1fr 1fr;
}
.login-visual {
    background-color: #2f6fc4;
    background-size: cover; background-position: center;
    min-height: 480px; position: relative;
}
.login-visual .overlay {
    position: absolute; left: 0; right: 0; bottom: 0;
    padding: 1.4rem 1.6rem;
    background: linear-gradient(0deg, rgba(8, 42, 91, 0.85), rgba(8, 42, 91, 0));
    color: #fff;
}
.login-visual .overlay .slogan { font-style: italic; font-weight: 600; }
.login-form { padding: 2.4rem 2.5rem; display: flex; flex-direction: column; justify-content: center; }
.login-form .logo { width: 64px; height: 64px; display: block; margin: 0 auto 0.75rem; }
.login-form h1 {
    font-size: 1.25rem; font-weight: 800; color: var(--navy-2);
    text-align: center; text-transform: uppercase; line-height: 1.35; margin-bottom: 0.3rem;
}
.login-form .sub { text-align: center; font-weight: 700; color: #334155; margin-bottom: 1.4rem; }
.login-form .input-group-text { background: #fff; border-color: #d3dce8; color: #64748b; }
.login-form .form-control { border-left: 0; }
.login-form .btn-toggle-pw { border: 1px solid #d3dce8; border-left: 0; background: #fff; color: #64748b; }
.login-foot { text-align: center; font-size: 0.82rem; color: var(--muted); margin-top: 1.4rem; }

/* ---------- Toàn màn hình (trình chiếu giao ban) ---------- */
body.is-fullscreen .app-sidebar,
body.is-fullscreen .app-topbar,
body.is-fullscreen .app-userbar { display: none !important; }
body.is-fullscreen .app-content { padding: 1rem 1.25rem; }
body.is-fullscreen { font-size: 1.05rem; }

/* ---------- Đáp ứng (responsive) ---------- */
@media (max-width: 1399.98px) {
    .kpi-value { font-size: 1.7rem; }
}
@media (max-width: 1199.98px) {
    .kpi-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 991.98px) {
    .app-sidebar { display: none; }
    .app-topbar { display: flex; }
    .app-userbar { display: none; }
    .app-content { padding: 1rem; }
    .login-card { grid-template-columns: 1fr; max-width: 460px; }
    .login-visual { min-height: 180px; }
    .login-form { padding: 1.8rem 1.5rem; }
}
@media (max-width: 767.98px) {
    html { font-size: 14.5px; }
    .kpi-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.6rem; }
    .kpi-grid .kpi-card:first-child { grid-column: span 2; }
    .kpi-card { padding: 0.75rem 0.85rem; }
    .kpi-icon { width: 38px; height: 38px; font-size: 1.1rem; }
    .kpi-value { font-size: 1.55rem; }
    .page-title { font-size: 1.3rem; }
    .table-desktop { display: none; }
    .m-card-list { display: block; }
    .chart-box { height: 240px; }
}

/* ---------- In / lưu PDF ---------- */
@media print {
    @page { size: A4 landscape; margin: 10mm; }
    body { background: #fff; font-size: 11pt; }
    .app-sidebar, .app-topbar, .app-userbar, .no-print, .btn, .alert, .pagination, form.filter-bar { display: none !important; }
    .app-content { padding: 0; }
    .card { box-shadow: none; border-color: #ccc; break-inside: avoid; }
    .kpi-grid { grid-template-columns: repeat(5, 1fr); }
    .kpi-card { box-shadow: none; }
    .table-desktop { display: block !important; }
    .m-card-list { display: none !important; }
    .print-only { display: block !important; }
    a { color: inherit; text-decoration: none; }
    .table tbody tr.row-qua_han > td, .progress-st > span, .kpi-card, .badge-st, .kpi-icon {
        -webkit-print-color-adjust: exact; print-color-adjust: exact;
    }
}
.print-only { display: none; }
